diditui 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/diditui.d.ts +11 -0
- package/dist/diditui.js +2 -0
- package/dist/diditui.umd.cjs +16 -16
- package/package.json +1 -1
package/dist/diditui.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { ClassProp } from 'class-variance-authority/types';
|
|
2
|
+
import { ClassValue } from 'clsx';
|
|
2
3
|
import { ComponentProps } from 'react';
|
|
3
4
|
import { Config } from 'tailwindcss';
|
|
4
5
|
import { default as default_2 } from 'react';
|
|
@@ -33,6 +34,8 @@ declare const cardStyles: (props?: ({
|
|
|
33
34
|
shadow?: boolean | null | undefined;
|
|
34
35
|
} & ClassProp) | undefined) => string;
|
|
35
36
|
|
|
37
|
+
export declare function cn(...classes: ClassValue[]): string;
|
|
38
|
+
|
|
36
39
|
export declare const didituiConfig: Config;
|
|
37
40
|
|
|
38
41
|
/**
|
|
@@ -72,6 +75,14 @@ export declare type IconType = 'settings' | 'info' | 'arrowRight' | 'scan' | 'wa
|
|
|
72
75
|
*/
|
|
73
76
|
declare type InheritableElementProps<C extends default_2.ElementType, Props = {}> = ExtendableProps<PropsOf<C>, Props>;
|
|
74
77
|
|
|
78
|
+
export declare const MediaQuery: {
|
|
79
|
+
SM: number;
|
|
80
|
+
MD: number;
|
|
81
|
+
LG: number;
|
|
82
|
+
XL: number;
|
|
83
|
+
XXL: number;
|
|
84
|
+
};
|
|
85
|
+
|
|
75
86
|
export declare function Modal({ children, contentLabel, overlayClassName, className, onRequestClose, ...props }: Props): JSX_2.Element;
|
|
76
87
|
|
|
77
88
|
/**
|
package/dist/diditui.js
CHANGED
|
@@ -7803,11 +7803,13 @@ export {
|
|
|
7803
7803
|
al as Card,
|
|
7804
7804
|
Ot as Icon,
|
|
7805
7805
|
Ba as IconButton,
|
|
7806
|
+
ft as MediaQuery,
|
|
7806
7807
|
il as Modal,
|
|
7807
7808
|
ol as QrCode,
|
|
7808
7809
|
Ia as Spinner,
|
|
7809
7810
|
rr as Text,
|
|
7810
7811
|
sl as UserCard,
|
|
7812
|
+
ge as cn,
|
|
7811
7813
|
pl as didituiConfig,
|
|
7812
7814
|
Na as svgOptions,
|
|
7813
7815
|
ul as useLgMediaQuery,
|
package/dist/diditui.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
1
|
+
(function(oe,ae){typeof exports=="object"&&typeof module<"u"?ae(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],ae):(oe=typeof globalThis<"u"?globalThis:oe||self,ae(oe.diditui={},oe.React,oe.ReactDOM))})(this,function(oe,ae,Qn){"use strict";function Xn(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 M=Xn(ae);function Cr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Zn(e){if(e.__esModule)return e;var t=e.default;if(typeof t=="function"){var r=function n(){return this instanceof n?Reflect.construct(t,arguments,this.constructor):t.apply(this,arguments)};r.prototype=t.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(e).forEach(function(n){var o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(r,n,o.get?o:{enumerable:!0,get:function(){return e[n]}})}),r}var It={exports:{}},ot={};/**
|
|
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 _r;function eo(){if(_r)return
|
|
9
|
+
*/var _r;function eo(){if(_r)return ot;_r=1;var e=ae,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,u){var f,m={},p=null,h=null;u!==void 0&&(p=""+u),l.key!==void 0&&(p=""+l.key),l.ref!==void 0&&(h=l.ref);for(f in l)n.call(l,f)&&!a.hasOwnProperty(f)&&(m[f]=l[f]);if(i&&i.defaultProps)for(f in l=i.defaultProps,l)m[f]===void 0&&(m[f]=l[f]);return{$$typeof:t,type:i,key:p,ref:h,props:m,_owner:o.current}}return ot.Fragment=r,ot.jsx=s,ot.jsxs=s,ot}var at={};/**
|
|
10
10
|
* @license React
|
|
11
11
|
* react-jsx-runtime.development.js
|
|
12
12
|
*
|
|
@@ -14,27 +14,27 @@
|
|
|
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 Sr;function to(){return Sr||(Sr=1,process.env.NODE_ENV!=="production"&&function(){var e=
|
|
17
|
+
*/var Sr;function to(){return Sr||(Sr=1,process.env.NODE_ENV!=="production"&&function(){var e=ae,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"),u=Symbol.for("react.suspense"),f=Symbol.for("react.suspense_list"),m=Symbol.for("react.memo"),p=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),T=Symbol.iterator,y="@@iterator";function C(c){if(c===null||typeof c!="object")return null;var x=T&&c[T]||c[y];return typeof x=="function"?x:null}var b=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(c){{for(var x=arguments.length,R=new Array(x>1?x-1:0),F=1;F<x;F++)R[F-1]=arguments[F];S("error",c,R)}}function S(c,x,R){{var F=b.ReactDebugCurrentFrame,ee=F.getStackAddendum();ee!==""&&(x+="%s",R=R.concat([ee]));var ne=R.map(function(G){return String(G)});ne.unshift("Warning: "+x),Function.prototype.apply.call(console[c],console,ne)}}var E=!1,g=!1,$=!1,te=!1,le=!1,se;se=Symbol.for("react.module.reference");function ce(c){return!!(typeof c=="string"||typeof c=="function"||c===n||c===a||le||c===o||c===u||c===f||te||c===h||E||g||$||typeof c=="object"&&c!==null&&(c.$$typeof===p||c.$$typeof===m||c.$$typeof===s||c.$$typeof===i||c.$$typeof===l||c.$$typeof===se||c.getModuleId!==void 0))}function de(c,x,R){var F=c.displayName;if(F)return F;var ee=x.displayName||x.name||"";return ee!==""?R+"("+ee+")":R}function U(c){return c.displayName||"Context"}function Q(c){if(c==null)return null;if(typeof c.tag=="number"&&w("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 n:return"Fragment";case r:return"Portal";case a:return"Profiler";case o:return"StrictMode";case u:return"Suspense";case f:return"SuspenseList"}if(typeof c=="object")switch(c.$$typeof){case i:var x=c;return U(x)+".Consumer";case s:var R=c;return U(R._context)+".Provider";case l:return de(c,c.render,"ForwardRef");case m:var F=c.displayName||null;return F!==null?F:Q(c.type)||"Memo";case p:{var ee=c,ne=ee._payload,G=ee._init;try{return Q(G(ne))}catch{return null}}}return null}var k=Object.assign,A=0,W,d,P,re,v,_,N;function L(){}L.__reactDisabledLog=!0;function I(){{if(A===0){W=console.log,d=console.info,P=console.warn,re=console.error,v=console.group,_=console.groupCollapsed,N=console.groupEnd;var c={configurable:!0,enumerable:!0,value:L,writable:!0};Object.defineProperties(console,{info:c,log:c,warn:c,error:c,group:c,groupCollapsed:c,groupEnd:c})}A++}}function q(){{if(A--,A===0){var c={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:k({},c,{value:W}),info:k({},c,{value:d}),warn:k({},c,{value:P}),error:k({},c,{value:re}),group:k({},c,{value:v}),groupCollapsed:k({},c,{value:_}),groupEnd:k({},c,{value:N})})}A<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var j=b.ReactCurrentDispatcher,B;function H(c,x,R){{if(B===void 0)try{throw Error()}catch(ee){var F=ee.stack.trim().match(/\n( *(at )?)/);B=F&&F[1]||""}return`
|
|
18
18
|
`+B+c}}var J=!1,V;{var me=typeof WeakMap=="function"?WeakMap:Map;V=new me}function O(c,x){if(!c||J)return"";{var R=V.get(c);if(R!==void 0)return R}var F;J=!0;var ee=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var ne;ne=j.current,j.current=null,I();try{if(x){var G=function(){throw Error()};if(Object.defineProperty(G.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(G,[])}catch(ve){F=ve}Reflect.construct(c,[],G)}else{try{G.call()}catch(ve){F=ve}c.call(G.prototype)}}else{try{throw Error()}catch(ve){F=ve}c()}}catch(ve){if(ve&&F&&typeof ve.stack=="string"){for(var Y=ve.stack.split(`
|
|
19
|
-
`),
|
|
20
|
-
`),ue=Y.length-1,fe=
|
|
21
|
-
`+Y[ue].replace(" at new "," at ");return c.displayName&&xe.includes("<anonymous>")&&(xe=xe.replace("<anonymous>",c.displayName)),typeof c=="function"&&V.set(c,xe),xe}while(ue>=1&&fe>=0);break}}}finally{J=!1,j.current=ne,q(),Error.prepareStackTrace=ee}var
|
|
19
|
+
`),he=F.stack.split(`
|
|
20
|
+
`),ue=Y.length-1,fe=he.length-1;ue>=1&&fe>=0&&Y[ue]!==he[fe];)fe--;for(;ue>=1&&fe>=0;ue--,fe--)if(Y[ue]!==he[fe]){if(ue!==1||fe!==1)do if(ue--,fe--,fe<0||Y[ue]!==he[fe]){var xe=`
|
|
21
|
+
`+Y[ue].replace(" at new "," at ");return c.displayName&&xe.includes("<anonymous>")&&(xe=xe.replace("<anonymous>",c.displayName)),typeof c=="function"&&V.set(c,xe),xe}while(ue>=1&&fe>=0);break}}}finally{J=!1,j.current=ne,q(),Error.prepareStackTrace=ee}var nt=c?c.displayName||c.name:"",We=nt?H(nt):"";return typeof c=="function"&&V.set(c,We),We}function we(c,x,R){return O(c,!1)}function tt(c){var x=c.prototype;return!!(x&&x.isReactComponent)}function Ue(c,x,R){if(c==null)return"";if(typeof c=="function")return O(c,tt(c));if(typeof c=="string")return H(c);switch(c){case u:return H("Suspense");case f:return H("SuspenseList")}if(typeof c=="object")switch(c.$$typeof){case l:return we(c.render);case m:return Ue(c.type,x,R);case p:{var F=c,ee=F._payload,ne=F._init;try{return Ue(ne(ee),x,R)}catch{}}}return""}var ht=Object.prototype.hasOwnProperty,jn={},Bn=b.ReactDebugCurrentFrame;function Lt(c){if(c){var x=c._owner,R=Ue(c.type,c._source,x?x.type:null);Bn.setExtraStackFrame(R)}else Bn.setExtraStackFrame(null)}function Is(c,x,R,F,ee){{var ne=Function.call.bind(ht);for(var G in c)if(ne(c,G)){var Y=void 0;try{if(typeof c[G]!="function"){var he=Error((F||"React class")+": "+R+" type `"+G+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[G]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw he.name="Invariant Violation",he}Y=c[G](x,G,F,R,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ue){Y=ue}Y&&!(Y instanceof Error)&&(Lt(ee),w("%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).",F||"React class",R,G,typeof Y),Lt(null)),Y instanceof Error&&!(Y.message in jn)&&(jn[Y.message]=!0,Lt(ee),w("Failed %s type: %s",R,Y.message),Lt(null))}}}var Fs=Array.isArray;function vr(c){return Fs(c)}function Ds(c){{var x=typeof Symbol=="function"&&Symbol.toStringTag,R=x&&c[Symbol.toStringTag]||c.constructor.name||"Object";return R}}function js(c){try{return zn(c),!1}catch{return!0}}function zn(c){return""+c}function Un(c){if(js(c))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Ds(c)),zn(c)}var vt=b.ReactCurrentOwner,Bs={key:!0,ref:!0,__self:!0,__source:!0},Wn,$n,yr;yr={};function zs(c){if(ht.call(c,"ref")){var x=Object.getOwnPropertyDescriptor(c,"ref").get;if(x&&x.isReactWarning)return!1}return c.ref!==void 0}function Us(c){if(ht.call(c,"key")){var x=Object.getOwnPropertyDescriptor(c,"key").get;if(x&&x.isReactWarning)return!1}return c.key!==void 0}function Ws(c,x){if(typeof c.ref=="string"&&vt.current&&x&&vt.current.stateNode!==x){var R=Q(vt.current.type);yr[R]||(w('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',Q(vt.current.type),c.ref),yr[R]=!0)}}function $s(c,x){{var R=function(){Wn||(Wn=!0,w("%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)",x))};R.isReactWarning=!0,Object.defineProperty(c,"key",{get:R,configurable:!0})}}function Hs(c,x){{var R=function(){$n||($n=!0,w("%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)",x))};R.isReactWarning=!0,Object.defineProperty(c,"ref",{get:R,configurable:!0})}}var Vs=function(c,x,R,F,ee,ne,G){var Y={$$typeof:t,type:c,key:x,ref:R,props:G,_owner:ne};return Y._store={},Object.defineProperty(Y._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Y,"_self",{configurable:!1,enumerable:!1,writable:!1,value:F}),Object.defineProperty(Y,"_source",{configurable:!1,enumerable:!1,writable:!1,value:ee}),Object.freeze&&(Object.freeze(Y.props),Object.freeze(Y)),Y};function qs(c,x,R,F,ee){{var ne,G={},Y=null,he=null;R!==void 0&&(Un(R),Y=""+R),Us(x)&&(Un(x.key),Y=""+x.key),zs(x)&&(he=x.ref,Ws(x,ee));for(ne in x)ht.call(x,ne)&&!Bs.hasOwnProperty(ne)&&(G[ne]=x[ne]);if(c&&c.defaultProps){var ue=c.defaultProps;for(ne in ue)G[ne]===void 0&&(G[ne]=ue[ne])}if(Y||he){var fe=typeof c=="function"?c.displayName||c.name||"Unknown":c;Y&&$s(G,fe),he&&Hs(G,fe)}return Vs(c,Y,he,ee,F,vt.current,G)}}var br=b.ReactCurrentOwner,Hn=b.ReactDebugCurrentFrame;function rt(c){if(c){var x=c._owner,R=Ue(c.type,c._source,x?x.type:null);Hn.setExtraStackFrame(R)}else Hn.setExtraStackFrame(null)}var wr;wr=!1;function xr(c){return typeof c=="object"&&c!==null&&c.$$typeof===t}function Vn(){{if(br.current){var c=Q(br.current.type);if(c)return`
|
|
22
22
|
|
|
23
23
|
Check the render method of \``+c+"`."}return""}}function Ys(c){return""}var qn={};function Ks(c){{var x=Vn();if(!x){var R=typeof c=="string"?c:c.displayName||c.name;R&&(x=`
|
|
24
24
|
|
|
25
|
-
Check the top-level render call using <`+R+">.")}return x}}function Yn(c,x){{if(!c._store||c._store.validated||c.key!=null)return;c._store.validated=!0;var R=Ks(x);if(qn[R])return;qn[R]=!0;var F="";c&&c._owner&&c._owner!==br.current&&(F=" It was passed a child from "+Q(c._owner.type)+"."),
|
|
25
|
+
Check the top-level render call using <`+R+">.")}return x}}function Yn(c,x){{if(!c._store||c._store.validated||c.key!=null)return;c._store.validated=!0;var R=Ks(x);if(qn[R])return;qn[R]=!0;var F="";c&&c._owner&&c._owner!==br.current&&(F=" It was passed a child from "+Q(c._owner.type)+"."),rt(c),w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',R,F),rt(null)}}function Kn(c,x){{if(typeof c!="object")return;if(vr(c))for(var R=0;R<c.length;R++){var F=c[R];xr(F)&&Yn(F,x)}else if(xr(c))c._store&&(c._store.validated=!0);else if(c){var ee=C(c);if(typeof ee=="function"&&ee!==c.entries)for(var ne=ee.call(c),G;!(G=ne.next()).done;)xr(G.value)&&Yn(G.value,x)}}}function Gs(c){{var x=c.type;if(x==null||typeof x=="string")return;var R;if(typeof x=="function")R=x.propTypes;else if(typeof x=="object"&&(x.$$typeof===l||x.$$typeof===m))R=x.propTypes;else return;if(R){var F=Q(x);Is(R,c.props,"prop",F,c)}else if(x.PropTypes!==void 0&&!wr){wr=!0;var ee=Q(x);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",ee||"Unknown")}typeof x.getDefaultProps=="function"&&!x.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Js(c){{for(var x=Object.keys(c.props),R=0;R<x.length;R++){var F=x[R];if(F!=="children"&&F!=="key"){rt(c),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",F),rt(null);break}}c.ref!==null&&(rt(c),w("Invalid attribute `ref` supplied to `React.Fragment`."),rt(null))}}var Gn={};function Jn(c,x,R,F,ee,ne){{var G=ce(c);if(!G){var Y="";(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(Y+=" 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 he=Ys();he?Y+=he:Y+=Vn();var ue;c===null?ue="null":vr(c)?ue="array":c!==void 0&&c.$$typeof===t?(ue="<"+(Q(c.type)||"Unknown")+" />",Y=" Did you accidentally export a JSX literal instead of a component?"):ue=typeof c,w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",ue,Y)}var fe=qs(c,x,R,ee,ne);if(fe==null)return fe;if(G){var xe=x.children;if(xe!==void 0)if(F)if(vr(xe)){for(var nt=0;nt<xe.length;nt++)Kn(xe[nt],c);Object.freeze&&Object.freeze(xe)}else w("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 Kn(xe,c)}if(ht.call(x,"key")){var We=Q(c),ve=Object.keys(x).filter(function(rl){return rl!=="key"}),Er=ve.length>0?"{key: someKey, "+ve.join(": ..., ")+": ...}":"{key: someKey}";if(!Gn[We+Er]){var tl=ve.length>0?"{"+ve.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
|
|
26
26
|
let props = %s;
|
|
27
27
|
<%s {...props} />
|
|
28
28
|
React keys must be passed directly to JSX without using spread:
|
|
29
29
|
let props = %s;
|
|
30
|
-
<%s key={someKey} {...props} />`,Er,We,tl,We),Gn[We+Er]=!0}}return c===n?Js(fe):Gs(fe),fe}}function Qs(c,x,R){return Jn(c,x,R,!0)}function Xs(c,x,R){return Jn(c,x,R,!1)}var Zs=Xs,el=Qs;ot.Fragment=n,ot.jsx=Zs,ot.jsxs=el}()),ot}process.env.NODE_ENV==="production"?It.exports=eo():It.exports=to();var K=It.exports;function Tr(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=Tr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Ft(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Tr(e))&&(n&&(n+=" "),n+=t);return n}const Dt="-";function ro(e){const t=oo(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;function o(s){const i=s.split(Dt);return i[0]===""&&i.length!==1&&i.shift(),Or(i,t)||no(s)}function a(s,i){const l=r[s]||[];return i&&n[s]?[...l,...n[s]]:l}return{getClassGroupId:o,getConflictingClassGroupIds:a}}function Or(e,t){var s;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?Or(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const a=e.join(Dt);return(s=t.validators.find(({validator:i})=>i(a)))==null?void 0:s.classGroupId}const Rr=/^\[(.+)\]$/;function no(e){if(Rr.test(e)){const t=Rr.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function oo(e){const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return io(Object.entries(e.classGroups),r).forEach(([a,s])=>{jt(s,n,a,t)}),n}function jt(e,t,r,n){e.forEach(o=>{if(typeof o=="string"){const a=o===""?t:Mr(t,o);a.classGroupId=r;return}if(typeof o=="function"){if(ao(o)){jt(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([a,s])=>{jt(s,Mr(t,a),r,n)})})}function Mr(e,t){let r=e;return t.split(Dt).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function ao(e){return e.isThemeGetter}function io(e,t){return t?e.map(([r,n])=>{const o=n.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([s,i])=>[t+s,i])):a);return[r,o]}):e}function so(e){if(e<1)return{get:()=>{},set:()=>{}};let 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(a){let s=r.get(a);if(s!==void 0)return s;if((s=n.get(a))!==void 0)return o(a,s),s},set(a,s){r.has(a)?r.set(a,s):o(a,s)}}}const kr="!";function lo(e){const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,o=t[0],a=t.length;function s(i){const l=[];let u=0,f=0,m;for(let C=0;C<i.length;C++){let b=i[C];if(u===0){if(b===o&&(n||i.slice(C,C+a)===t)){l.push(i.slice(f,C)),f=C+a;continue}if(b==="/"){m=C;continue}}b==="["?u++:b==="]"&&u--}const p=l.length===0?i:i.substring(f),h=p.startsWith(kr),T=h?p.substring(1):p,y=m&&m>f?m-f:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:T,maybePostfixModifierPosition:y}}return r?function(l){return r({className:l,parseClassName:s})}:s}function co(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t}function uo(e){return{cache:so(e.cacheSize),parseClassName:lo(e),...ro(e)}}const fo=/\s+/;function po(e,t){const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,a=new Set;return e.trim().split(fo).map(s=>{const{modifiers:i,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:f}=r(s);let m=!!f,p=n(m?u.substring(0,f):u);if(!p){if(!m)return{isTailwindClass:!1,originalClassName:s};if(p=n(u),!p)return{isTailwindClass:!1,originalClassName:s};m=!1}const h=co(i).join(":");return{isTailwindClass:!0,modifierId:l?h+kr:h,classGroupId:p,originalClassName:s,hasPostfixModifier:m}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:i,classGroupId:l,hasPostfixModifier:u}=s,f=i+l;return a.has(f)?!1:(a.add(f),o(l,u).forEach(m=>a.add(i+m)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function mo(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Pr(t))&&(n&&(n+=" "),n+=r);return n}function Pr(e){if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Pr(e[n]))&&(r&&(r+=" "),r+=t);return r}function go(e,...t){let r,n,o,a=s;function s(l){const u=t.reduce((f,m)=>m(f),e());return r=uo(u),n=r.cache.get,o=r.cache.set,a=i,i(l)}function i(l){const u=n(l);if(u)return u;const f=po(l,r);return o(l,f),f}return function(){return a(mo.apply(null,arguments))}}function ae(e){const t=r=>r[e]||[];return t.isThemeGetter=!0,t}const Ar=/^\[(?:([a-z-]+):)?(.+)\]$/i,ho=/^\d+\/\d+$/,vo=new Set(["px","full","screen"]),yo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,bo=/\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$/,wo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,xo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Eo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Oe(e){return Le(e)||vo.has(e)||ho.test(e)}function Me(e){return $e(e,"length",ko)}function Le(e){return!!e&&!Number.isNaN(Number(e))}function yt(e){return $e(e,"number",Le)}function at(e){return!!e&&Number.isInteger(Number(e))}function Co(e){return e.endsWith("%")&&Le(e.slice(0,-1))}function z(e){return Ar.test(e)}function ke(e){return yo.test(e)}const _o=new Set(["length","size","percentage"]);function So(e){return $e(e,_o,Nr)}function To(e){return $e(e,"position",Nr)}const Oo=new Set(["image","url"]);function Ro(e){return $e(e,Oo,Ao)}function Mo(e){return $e(e,"",Po)}function it(){return!0}function $e(e,t,r){const n=Ar.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1}function ko(e){return bo.test(e)&&!wo.test(e)}function Nr(){return!1}function Po(e){return xo.test(e)}function Ao(e){return Eo.test(e)}function No(){const 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"),u=ae("grayscale"),f=ae("hueRotate"),m=ae("invert"),p=ae("gap"),h=ae("gradientColorStops"),T=ae("gradientColorStopPositions"),y=ae("inset"),C=ae("margin"),b=ae("opacity"),w=ae("padding"),S=ae("saturate"),E=ae("scale"),g=ae("sepia"),$=ae("skew"),te=ae("space"),le=ae("translate"),se=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",z,t],U=()=>[z,t],Q=()=>["",Oe,Me],k=()=>["auto",Le,z],A=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],d=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",z],v=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>[Le,yt],N=()=>[Le,z];return{cacheSize:500,separator:":",theme:{colors:[it],spacing:[Oe,Me],blur:["none","",ke,z],brightness:_(),borderColor:[e],borderRadius:["none","","full",ke,z],borderSpacing:U(),borderWidth:Q(),contrast:_(),grayscale:re(),hueRotate:N(),invert:re(),gap:U(),gradientColorStops:[e],gradientColorStopPositions:[Co,Me],inset:de(),margin:de(),opacity:_(),padding:U(),saturate:_(),scale:_(),sepia:re(),skew:N(),space:U(),translate:U()},classGroups:{aspect:[{aspect:["auto","square","video",z]}],container:["container"],columns:[{columns:[ke]}],"break-after":[{"break-after":v()}],"break-before":[{"break-before":v()}],"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","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...A(),z]}],overflow:[{overflow:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-y":[{"overflow-y":ce()}],overscroll:[{overscroll:se()}],"overscroll-x":[{"overscroll-x":se()}],"overscroll-y":[{"overscroll-y":se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",at,z]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",z]}],grow:[{grow:re()}],shrink:[{shrink:re()}],order:[{order:["first","last","none",at,z]}],"grid-cols":[{"grid-cols":[it]}],"col-start-end":[{col:["auto",{span:["full",at,z]},z]}],"col-start":[{"col-start":k()}],"col-end":[{"col-end":k()}],"grid-rows":[{"grid-rows":[it]}],"row-start-end":[{row:["auto",{span:[at,z]},z]}],"row-start":[{"row-start":k()}],"row-end":[{"row-end":k()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",z]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",z]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",z,t]}],"min-w":[{"min-w":[z,t,"min","max","fit"]}],"max-w":[{"max-w":[z,t,"none","full","min","max","fit","prose",{screen:[ke]},ke]}],h:[{h:[z,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[z,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[z,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[z,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ke,Me]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yt]}],"font-family":[{font:[it]}],"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",z]}],"line-clamp":[{"line-clamp":["none",Le,yt]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Oe,z]}],"list-image":[{"list-image":["none",z]}],"list-style-type":[{list:["none","disc","decimal",z]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Oe,Me]}],"underline-offset":[{"underline-offset":["auto",Oe,z]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",z]}],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",z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...A(),To]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",So]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ro]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[T]}],"gradient-via-pos":[{via:[T]}],"gradient-to-pos":[{to:[T]}],"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":[b]}],"border-style":[{border:[...W(),"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":[b]}],"divide-style":[{divide:W()}],"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:["",...W()]}],"outline-offset":[{"outline-offset":[Oe,z]}],"outline-w":[{outline:[Oe,Me]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[Oe,Me]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ke,Mo]}],"shadow-color":[{shadow:[it]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...d(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":d()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",ke,z]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[m]}],saturate:[{saturate:[S]}],sepia:[{sepia:[g]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[g]}],"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",z]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",z]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",z]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[at,z]}],"translate-x":[{"translate-x":[le]}],"translate-y":[{"translate-y":[le]}],"skew-x":[{"skew-x":[$]}],"skew-y":[{"skew-y":[$]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",z]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",z]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"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","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",z]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Oe,Me,yt]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},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"],size:["w","h"],"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"],"line-clamp":["display","overflow"],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"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const Lo=go(No),st={SM:640,MD:768,LG:1024,XL:1280,XXL:1536};function he(...e){return Lo(Ft(e))}function Lr(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=Lr(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Io(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Lr(e))&&(n&&(n+=" "),n+=t);return n}const Ir=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Fr=Io,He=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return Fr(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:a}=t,s=Object.keys(o).map(u=>{const f=r==null?void 0:r[u],m=a==null?void 0:a[u];if(f===null)return null;const p=Ir(f)||Ir(m);return o[u][p]}),i=r&&Object.entries(r).reduce((u,f)=>{let[m,p]=f;return p===void 0||(u[m]=p),u},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((u,f)=>{let{class:m,className:p,...h}=f;return Object.entries(h).every(T=>{let[y,C]=T;return Array.isArray(C)?C.includes({...a,...i}[y]):{...a,...i}[y]===C})?[...u,m,p]:u},[]);return Fr(e,s,l,r==null?void 0:r.class,r==null?void 0:r.className)},Fo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:18,viewBox:"0 0 20 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M17.5005 6.2V4C17.5005 2.34315 16.1573 1 14.5005 1H12.6255M17.5005 11.8V14C17.5005 15.6569 16.1573 17 14.5005 17H12.6255M7.37549 17H5.50049C3.84363 17 2.50049 15.6569 2.50049 14V11.8M2.50049 6.2V4C2.50049 2.34315 3.84363 1 5.50049 1H7.37549",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}),M.createElement("path",{d:"M18.3332 9L1.6665 9",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Do=oe.forwardRef(Fo),jo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M2.25 6.83252V11.16C2.25 12.75 2.25 12.75 3.75 13.7625L7.875 16.1475C8.4975 16.5075 9.51 16.5075 10.125 16.1475L14.25 13.7625C15.75 12.75 15.75 12.75 15.75 11.1675V6.83252C15.75 5.25002 15.75 5.25002 14.25 4.23752L10.125 1.85252C9.51 1.49252 8.4975 1.49252 7.875 1.85252L3.75 4.23752C2.25 5.25002 2.25 5.25002 2.25 6.83252Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M9 11.25C10.2426 11.25 11.25 10.2426 11.25 9C11.25 7.75736 10.2426 6.75 9 6.75C7.75736 6.75 6.75 7.75736 6.75 9C6.75 10.2426 7.75736 11.25 9 11.25Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bo=oe.forwardRef(jo),zo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M9 1.5C4.875 1.5 1.5 4.875 1.5 9C1.5 13.125 4.875 16.5 9 16.5C13.125 16.5 16.5 13.125 16.5 9C16.5 4.875 13.125 1.5 9 1.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M9 12V8.25",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M9.00391 6H8.99717",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Uo=oe.forwardRef(zo),Wo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 14 14",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M8.41797 3.45898L11.9588 6.99982L8.41797 10.5407",stroke:"currentColor",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M2.04102 7H11.8585",stroke:"currentColor",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),$o=oe.forwardRef(Wo),Ho=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M9 16.5C13.125 16.5 16.5 13.125 16.5 9C16.5 4.875 13.125 1.5 9 1.5C4.875 1.5 1.5 4.875 1.5 9C1.5 13.125 4.875 16.5 9 16.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M9 6V9.75",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M8.99609 12H9.00283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Vo=oe.forwardRef(Ho),qo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M4 9.49361L7.49358 12.9872L14.48 6",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Yo=oe.forwardRef(qo),Ko=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M12 9.675V12.825C12 15.45 10.95 16.5 8.325 16.5H5.175C2.55 16.5 1.5 15.45 1.5 12.825V9.675C1.5 7.05 2.55 6 5.175 6H8.325C10.95 6 12 7.05 12 9.675Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M16.5 5.175V8.325C16.5 10.95 15.45 12 12.825 12H12V9.675C12 7.05 10.95 6 8.325 6H6V5.175C6 2.55 7.05 1.5 9.675 1.5H12.825C15.45 1.5 16.5 2.55 16.5 5.175Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Go=oe.forwardRef(Ko),Jo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M5.88889 9.11111H12.1111M11.3333 6H12.8889C14.6071 6 16 7.39289 16 9.11111C16 10.8293 14.6071 12.2222 12.8889 12.2222H11.3333M6.66667 6H5.11111C3.39289 6 2 7.39289 2 9.11111C2 10.8293 3.39289 12.2222 5.11111 12.2222H6.66667",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Qo=oe.forwardRef(Jo),Xo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M7.86762 1.67254L4.12512 3.08254C3.26262 3.40504 2.55762 4.42504 2.55762 5.34004V10.9125C2.55762 11.7975 3.14262 12.96 3.85512 13.4925L7.08012 15.9C8.13762 16.695 9.87762 16.695 10.9351 15.9L14.1601 13.4925C14.8726 12.96 15.4576 11.7975 15.4576 10.9125V5.34004C15.4576 4.41754 14.7526 3.39754 13.8901 3.07504L10.1476 1.67254C9.51012 1.44004 8.49012 1.44004 7.86762 1.67254Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M9 9.375C9.82843 9.375 10.5 8.70343 10.5 7.875C10.5 7.04657 9.82843 6.375 9 6.375C8.17157 6.375 7.5 7.04657 7.5 7.875C7.5 8.70343 8.17157 9.375 9 9.375Z",stroke:"currentColor",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M9 9.375V11.625",stroke:"currentColor",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Zo=oe.forwardRef(Xo),ea=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:50,height:50,viewBox:"0 0 50 50",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("rect",{x:-12207e-8,width:49.9153,height:49.9153,rx:12.8814,fill:"url(#paint0_radial_9531_26789)"}),M.createElement("path",{d:"M24.957 39.0466C19.3679 39.0466 14.8934 34.5958 14.8934 29.1638V20.7515C14.8934 15.3195 19.3679 10.8687 24.957 10.8687C30.5461 10.8687 35.0206 15.3195 35.0206 20.7515V29.1638C35.0206 34.5958 30.5461 39.0466 24.957 39.0466Z",fill:"url(#paint1_radial_9531_26789)",stroke:"#FEFEFE",strokeWidth:4.02542,strokeMiterlimit:10}),M.createElement("defs",null,M.createElement("radialGradient",{id:"paint0_radial_9531_26789",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(24.9575 -18.4686) rotate(90) scale(127.533 122.759)"},M.createElement("stop",{offset:.239,stopColor:"#2667FF"}),M.createElement("stop",{offset:.511954,stopColor:"#3F8EFC"}),M.createElement("stop",{offset:.565599,stopColor:"#87BFFF"})),M.createElement("radialGradient",{id:"paint1_radial_9531_26789",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(24.957 -3.05929) rotate(90) scale(82.2797 59.3993)"},M.createElement("stop",{offset:.239,stopColor:"#2667FF"}),M.createElement("stop",{offset:.511954,stopColor:"#3F8EFC"}),M.createElement("stop",{offset:.565599,stopColor:"#87BFFF"})))),ta=oe.forwardRef(ea),ra=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:53,height:69,viewBox:"0 0 53 69",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M26.4616 65.3167C13.822 65.3167 3.75771 55.4158 3.75771 43.401V25.5988C3.75771 13.5839 13.822 3.68301 26.4616 3.68301C39.1012 3.68301 49.1655 13.5839 49.1655 25.5988V43.401C49.1655 55.4158 39.1012 65.3167 26.4616 65.3167Z",stroke:"url(#paint0_angular_9569_22742)",strokeWidth:6.51543,strokeMiterlimit:10}),M.createElement("defs",null,M.createElement("radialGradient",{id:"paint0_angular_9569_22742",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(25.601 33.8045) scale(53.7878 67.9534)"},M.createElement("stop",{offset:.0628132,stopColor:"#3B28CC"}),M.createElement("stop",{offset:.201513,stopColor:"#87BFFF"}),M.createElement("stop",{offset:.393774,stopColor:"#ADD7F6"}),M.createElement("stop",{offset:.574577,stopColor:"#3F8EFC"}),M.createElement("stop",{offset:.831624,stopColor:"#2667FF"})))),na=oe.forwardRef(ra),oa=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M5 5L15 15M5 15L15 5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),aa=oe.forwardRef(oa),Dr={scan:Do,settings:Bo,info:Uo,arrowRight:$o,warning:Vo,check:Yo,copy:Go,connect:Qo,passKey:Zo,didit:ta,close:aa,diditLogo:na},ia=He(["flex items-center justify-center"],{variants:{size:{xs:"size-[14px]",sm:"size-4",md:"size-5",lg:"size-6",xl:"size-12"}},defaultVariants:{size:"md"}});function lt({type:e="scan",size:t,className:r,...n}){const o=Dr[e];return K.jsx("span",{className:he(ia({size:t,className:r})),...n,children:K.jsx(o,{className:"size-full text-current"})})}const sa=He(["flex items-center justify-center animate-spin"],{variants:{variant:{default:"",primary:"",soft:"",accent:""},size:{xs:"size-[14px]",sm:"size-4",md:"size-5",lg:"size-6",xl:"size-12"}},defaultVariants:{variant:"default",size:"md"}});function jr({size:e,variant:t="default",className:r,...n}){const o=Ft({"stroke-foreground/20":t==="default","stroke-primary/20":t==="primary","stroke-soft/30":t==="soft","stroke-accent/30":t==="accent"}),a=Ft({"stroke-foreground":t==="default","stroke-primary":t==="primary","stroke-soft":t==="soft","stroke-accent":t==="accent"});return K.jsx("span",{className:he(sa({size:e,className:r})),...n,children:K.jsxs("svg",{className:"size-full",xmlns:"http://www.w3.org/2000/svg",width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",children:[K.jsx("path",{d:"M52 28C52 31.1517 51.3792 34.2726 50.1731 37.1844C48.967 40.0962 47.1992 42.742 44.9706 44.9706C42.742 47.1992 40.0962 48.967 37.1844 50.1731C34.2726 51.3792 31.1517 52 28 52C24.8483 52 21.7274 51.3792 18.8156 50.1731C15.9038 48.967 13.258 47.1992 11.0294 44.9706C8.80083 42.742 7.033 40.0962 5.82689 37.1844C4.62078 34.2726 4 31.1517 4 28C4 24.8483 4.62078 21.7274 5.82689 18.8156C7.03301 15.9038 8.80083 13.258 11.0294 11.0294C13.258 8.80083 15.9038 7.033 18.8156 5.82689C21.7274 4.62078 24.8483 4 28 4C31.1517 4 34.2726 4.62078 37.1844 5.82689C40.0962 7.03301 42.742 8.80083 44.9706 11.0294C47.1992 13.258 48.967 15.9038 50.1731 18.8156C51.3792 21.7274 52 24.8483 52 28L52 28Z",className:o,strokeWidth:"8"}),K.jsx("path",{d:"M52 28C52 33.0683 50.3955 38.0065 47.4164 42.1068C44.4373 46.2072 40.2366 49.2592 35.4164 50.8254C30.5962 52.3915 25.4038 52.3915 20.5836 50.8254C15.7633 49.2592 11.5627 46.2072 8.58359 42.1068",className:a,strokeWidth:"8",strokeLinecap:"round"})]})})}function la({size:e="md",variant:t="default",icon:r,isLoading:n=!1,disabled:o,className:a,children:s,...i}){const l=he(["relative w-full min-w-52 flex items-center rounded-full","transition-all duration-300 hover:opacity-70",{"px-2 py-4":e==="md","px-3 py-5":e==="lg","bg-transparent border border-foreground text-foreground":t==="default","bg-primary border border-primary text-background":t==="primary","":t==="soft","pointer-events-none":n||o,"bg-surface-lo text-surface-mdlo border-surface-lo":o},a]),u=he(["absolute right-2 p-[7px] rounded-full z-10",{"right-2":e==="md","right-3":e==="lg","text-foreground":t==="default","bg-background text-primary":t==="primary","bg-transparent text-surface-mdlo":o}]),f=t==="primary"?"xs":"sm";return K.jsxs("button",{className:l,...i,children:[K.jsx("span",{className:"text-sm font-medium leading-[90%] tracking-tight w-full text-center z-20 text-inherit",children:s}),r&&!n&&K.jsx("div",{className:u,children:K.jsx(lt,{type:r,size:o?"sm":f})}),n&&K.jsx("div",{className:u,children:K.jsx(jr,{size:"xs",variant:t})})]})}const ca=He("w-full font-inter text-foreground capitalize",{variants:{variant:{H1:"text-[52px] font-medium leading-[95%] tracking-tighter",H2:"text-[42px] font-medium leading-[95%] tracking-tighter",H3:"text-[32px] font-medium leading-[105%] tracking-tighter",H4:"text-2xl font-medium leading-[110%] tracking-tight",H5:"text-[15px] font-semibold leading-[95%] tracking-tight",H6:"text-sm font-medium leading-[90%] tracking-tight",P1:"text-[15px] font-normal leading-[140%] tracking-tight",P2:"text-[13px] font-normal leading-[140%] tracking-tight",P3:"text-xs font-normal leading-[150%] tracking-tight",Label1:"text-[13px] font-normal leading-[90%] tracking-tight",Label2:"text-xs font-normal leading-[90%] tracking-tight",Label3:"text-[11px] font-normal leading-[140%] tracking-tight",Label4:"text-[10px] font-normal leading-[140%] tracking-tight",StyledLabel:"uppercase text-[8px] font-medium leading-[125.5%] tracking-widest"},align:{left:"text-left",center:"text-center",right:"text-right"},italic:{true:"italic"},underline:{true:"underline underline-offset-2"}},defaultVariants:{variant:"H1",align:"left",italic:!1,underline:!1}}),bt=oe.forwardRef(({as:e,variant:t,align:r,italic:n,underline:o,className:a,...s},i)=>{const l=e||"span";return K.jsx(l,{ref:i,className:he(ca({variant:t,italic:n,underline:o,align:r,className:a})),...s})}),ua=He(["bg-surface-lo","rounded-full","flex items-center justify-center"],{variants:{size:{xs:"p-[8px]",sm:"p-[11px]",md:"p-4",lg:"p-5"}},defaultVariants:{size:"sm"}});function Br({icon:e="scan",label:t,size:r,className:n,...o}){const a=he(["flex flex-col items-center justify-center gap-[6px]","opacity-70 hover:opacity-100","transition-opacity duration-300","text-surface-hi"],n);return K.jsxs("button",{className:a,...o,children:[K.jsx("div",{className:he(ua({size:r})),children:K.jsx(lt,{className:"text-inherit",type:e,size:r})}),t&&K.jsx(bt,{className:"text-inherit",variant:"P3",children:t})]})}var ct={},fa=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},zr={},ye={};let Bt;const da=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];ye.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17},ye.getSymbolTotalCodewords=function(t){return da[t]},ye.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t},ye.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Bt=t},ye.isKanjiModeEnabled=function(){return typeof Bt<"u"},ye.toSJIS=function(t){return Bt(t)};var wt={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},e.from=function(n,o){if(e.isValid(n))return n;try{return t(n)}catch{return o}}})(wt);function Ur(){this.buffer=[],this.length=0}Ur.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let r=0;r<t;r++)this.putBit((e>>>t-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var pa=Ur;function ut(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}ut.prototype.set=function(e,t,r,n){const o=e*this.size+t;this.data[o]=r,n&&(this.reservedBit[o]=!0)},ut.prototype.get=function(e,t){return this.data[e*this.size+t]},ut.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},ut.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var ma=ut,Wr={};(function(e){const t=ye.getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const o=Math.floor(n/7)+2,a=t(n),s=a===145?26:Math.ceil((a-13)/(2*o-2))*2,i=[a-7];for(let l=1;l<o-1;l++)i[l]=i[l-1]-s;return i.push(6),i.reverse()},e.getPositions=function(n){const o=[],a=e.getRowColCoords(n),s=a.length;for(let i=0;i<s;i++)for(let l=0;l<s;l++)i===0&&l===0||i===0&&l===s-1||i===s-1&&l===0||o.push([a[i],a[l]]);return o}})(Wr);var $r={};const ga=ye.getSymbolSize,Hr=7;$r.getPositions=function(t){const r=ga(t);return[[0,0],[r-Hr,0],[0,r-Hr]]};var Vr={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const a=o.size;let s=0,i=0,l=0,u=null,f=null;for(let m=0;m<a;m++){i=l=0,u=f=null;for(let p=0;p<a;p++){let h=o.get(m,p);h===u?i++:(i>=5&&(s+=t.N1+(i-5)),u=h,i=1),h=o.get(p,m),h===f?l++:(l>=5&&(s+=t.N1+(l-5)),f=h,l=1)}i>=5&&(s+=t.N1+(i-5)),l>=5&&(s+=t.N1+(l-5))}return s},e.getPenaltyN2=function(o){const a=o.size;let s=0;for(let i=0;i<a-1;i++)for(let l=0;l<a-1;l++){const u=o.get(i,l)+o.get(i,l+1)+o.get(i+1,l)+o.get(i+1,l+1);(u===4||u===0)&&s++}return s*t.N2},e.getPenaltyN3=function(o){const a=o.size;let s=0,i=0,l=0;for(let u=0;u<a;u++){i=l=0;for(let f=0;f<a;f++)i=i<<1&2047|o.get(u,f),f>=10&&(i===1488||i===93)&&s++,l=l<<1&2047|o.get(f,u),f>=10&&(l===1488||l===93)&&s++}return s*t.N3},e.getPenaltyN4=function(o){let a=0;const s=o.data.length;for(let l=0;l<s;l++)a+=o.data[l];return Math.abs(Math.ceil(a*100/s/5)-10)*t.N4};function r(n,o,a){switch(n){case e.Patterns.PATTERN000:return(o+a)%2===0;case e.Patterns.PATTERN001:return o%2===0;case e.Patterns.PATTERN010:return a%3===0;case e.Patterns.PATTERN011:return(o+a)%3===0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(a/3))%2===0;case e.Patterns.PATTERN101:return o*a%2+o*a%3===0;case e.Patterns.PATTERN110:return(o*a%2+o*a%3)%2===0;case e.Patterns.PATTERN111:return(o*a%3+(o+a)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(o,a){const s=a.size;for(let i=0;i<s;i++)for(let l=0;l<s;l++)a.isReserved(l,i)||a.xor(l,i,r(o,l,i))},e.getBestMask=function(o,a){const s=Object.keys(e.Patterns).length;let i=0,l=1/0;for(let u=0;u<s;u++){a(u),e.applyMask(u,o);const f=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(u,o),f<l&&(l=f,i=u)}return i}})(Vr);var xt={};const Pe=wt,Et=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Ct=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];xt.getBlocksCount=function(t,r){switch(r){case Pe.L:return Et[(t-1)*4+0];case Pe.M:return Et[(t-1)*4+1];case Pe.Q:return Et[(t-1)*4+2];case Pe.H:return Et[(t-1)*4+3];default:return}},xt.getTotalCodewordsCount=function(t,r){switch(r){case Pe.L:return Ct[(t-1)*4+0];case Pe.M:return Ct[(t-1)*4+1];case Pe.Q:return Ct[(t-1)*4+2];case Pe.H:return Ct[(t-1)*4+3];default:return}};var qr={},_t={};const ft=new Uint8Array(512),St=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)ft[r]=t,St[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)ft[r]=ft[r-255]})(),_t.log=function(t){if(t<1)throw new Error("log("+t+")");return St[t]},_t.exp=function(t){return ft[t]},_t.mul=function(t,r){return t===0||r===0?0:ft[St[t]+St[r]]},function(e){const t=_t;e.mul=function(n,o){const a=new Uint8Array(n.length+o.length-1);for(let s=0;s<n.length;s++)for(let i=0;i<o.length;i++)a[s+i]^=t.mul(n[s],o[i]);return a},e.mod=function(n,o){let a=new Uint8Array(n);for(;a.length-o.length>=0;){const s=a[0];for(let l=0;l<o.length;l++)a[l]^=t.mul(o[l],s);let i=0;for(;i<a.length&&a[i]===0;)i++;a=a.slice(i)}return a},e.generateECPolynomial=function(n){let o=new Uint8Array([1]);for(let a=0;a<n;a++)o=e.mul(o,new Uint8Array([1,t.exp(a)]));return o}}(qr);const Yr=qr;function zt(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}zt.prototype.initialize=function(t){this.degree=t,this.genPoly=Yr.generateECPolynomial(this.degree)},zt.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(t.length+this.degree);r.set(t);const n=Yr.mod(r,this.genPoly),o=this.degree-n.length;if(o>0){const a=new Uint8Array(this.degree);return a.set(n,o),a}return n};var ha=zt,Kr={},Ae={},Ut={};Ut.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var Te={};const Gr="[0-9]+",va="[A-Z $%*+\\-./:]+";let dt="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";dt=dt.replace(/u/g,"\\u");const ya="(?:(?![A-Z0-9 $%*+\\-./:]|"+dt+`)(?:.|[\r
|
|
31
|
-
]))+`;Te.KANJI=new RegExp(dt,"g"),Te.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Te.BYTE=new RegExp(ya,"g"),Te.NUMERIC=new RegExp(Gr,"g"),Te.ALPHANUMERIC=new RegExp(va,"g");const ba=new RegExp("^"+dt+"$"),wa=new RegExp("^"+Gr+"$"),xa=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Te.testKanji=function(t){return ba.test(t)},Te.testNumeric=function(t){return wa.test(t)},Te.testAlphanumeric=function(t){return xa.test(t)},function(e){const t=Ut,r=Te;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(a,s){if(!a.ccBits)throw new Error("Invalid mode: "+a);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?a.ccBits[0]:s<27?a.ccBits[1]:a.ccBits[2]},e.getBestModeForData=function(a){return r.testNumeric(a)?e.NUMERIC:r.testAlphanumeric(a)?e.ALPHANUMERIC:r.testKanji(a)?e.KANJI:e.BYTE},e.toString=function(a){if(a&&a.id)return a.id;throw new Error("Invalid mode")},e.isValid=function(a){return a&&a.bit&&a.ccBits};function n(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(a,s){if(e.isValid(a))return a;try{return n(a)}catch{return s}}}(Ae),function(e){const t=ye,r=xt,n=wt,o=Ae,a=Ut,s=7973,i=t.getBCHDigit(s);function l(p,h,T){for(let y=1;y<=40;y++)if(h<=e.getCapacity(y,T,p))return y}function u(p,h){return o.getCharCountIndicator(p,h)+4}function f(p,h){let T=0;return p.forEach(function(y){const C=u(y.mode,h);T+=C+y.getBitsLength()}),T}function m(p,h){for(let T=1;T<=40;T++)if(f(p,T)<=e.getCapacity(T,h,o.MIXED))return T}e.from=function(h,T){return a.isValid(h)?parseInt(h,10):T},e.getCapacity=function(h,T,y){if(!a.isValid(h))throw new Error("Invalid QR Code version");typeof y>"u"&&(y=o.BYTE);const C=t.getSymbolTotalCodewords(h),b=r.getTotalCodewordsCount(h,T),w=(C-b)*8;if(y===o.MIXED)return w;const S=w-u(y,h);switch(y){case o.NUMERIC:return Math.floor(S/10*3);case o.ALPHANUMERIC:return Math.floor(S/11*2);case o.KANJI:return Math.floor(S/13);case o.BYTE:default:return Math.floor(S/8)}},e.getBestVersionForData=function(h,T){let y;const C=n.from(T,n.M);if(Array.isArray(h)){if(h.length>1)return m(h,C);if(h.length===0)return 1;y=h[0]}else y=h;return l(y.mode,y.getLength(),C)},e.getEncodedBits=function(h){if(!a.isValid(h)||h<7)throw new Error("Invalid QR Code version");let T=h<<12;for(;t.getBCHDigit(T)-i>=0;)T^=s<<t.getBCHDigit(T)-i;return h<<12|T}}(Kr);var Jr={};const Wt=ye,Qr=1335,Ea=21522,Xr=Wt.getBCHDigit(Qr);Jr.getEncodedBits=function(t,r){const n=t.bit<<3|r;let o=n<<10;for(;Wt.getBCHDigit(o)-Xr>=0;)o^=Qr<<Wt.getBCHDigit(o)-Xr;return(n<<10|o)^Ea};var Zr={};const Ca=Ae;function
|
|
32
|
-
Make sure your charset is UTF-8`);r=(r>>>8&255)*192+(r&255),e.put(r,13)}};var Na=
|
|
30
|
+
<%s key={someKey} {...props} />`,Er,We,tl,We),Gn[We+Er]=!0}}return c===n?Js(fe):Gs(fe),fe}}function Qs(c,x,R){return Jn(c,x,R,!0)}function Xs(c,x,R){return Jn(c,x,R,!1)}var Zs=Xs,el=Qs;at.Fragment=n,at.jsx=Zs,at.jsxs=el}()),at}process.env.NODE_ENV==="production"?It.exports=eo():It.exports=to();var K=It.exports;function Tr(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=Tr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Ft(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=Tr(e))&&(n&&(n+=" "),n+=t);return n}const Dt="-";function ro(e){const t=oo(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;function o(s){const i=s.split(Dt);return i[0]===""&&i.length!==1&&i.shift(),Or(i,t)||no(s)}function a(s,i){const l=r[s]||[];return i&&n[s]?[...l,...n[s]]:l}return{getClassGroupId:o,getConflictingClassGroupIds:a}}function Or(e,t){var s;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?Or(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const a=e.join(Dt);return(s=t.validators.find(({validator:i})=>i(a)))==null?void 0:s.classGroupId}const Rr=/^\[(.+)\]$/;function no(e){if(Rr.test(e)){const t=Rr.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function oo(e){const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return io(Object.entries(e.classGroups),r).forEach(([a,s])=>{jt(s,n,a,t)}),n}function jt(e,t,r,n){e.forEach(o=>{if(typeof o=="string"){const a=o===""?t:Mr(t,o);a.classGroupId=r;return}if(typeof o=="function"){if(ao(o)){jt(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([a,s])=>{jt(s,Mr(t,a),r,n)})})}function Mr(e,t){let r=e;return t.split(Dt).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r}function ao(e){return e.isThemeGetter}function io(e,t){return t?e.map(([r,n])=>{const o=n.map(a=>typeof a=="string"?t+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(([s,i])=>[t+s,i])):a);return[r,o]}):e}function so(e){if(e<1)return{get:()=>{},set:()=>{}};let 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(a){let s=r.get(a);if(s!==void 0)return s;if((s=n.get(a))!==void 0)return o(a,s),s},set(a,s){r.has(a)?r.set(a,s):o(a,s)}}}const kr="!";function lo(e){const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,o=t[0],a=t.length;function s(i){const l=[];let u=0,f=0,m;for(let C=0;C<i.length;C++){let b=i[C];if(u===0){if(b===o&&(n||i.slice(C,C+a)===t)){l.push(i.slice(f,C)),f=C+a;continue}if(b==="/"){m=C;continue}}b==="["?u++:b==="]"&&u--}const p=l.length===0?i:i.substring(f),h=p.startsWith(kr),T=h?p.substring(1):p,y=m&&m>f?m-f:void 0;return{modifiers:l,hasImportantModifier:h,baseClassName:T,maybePostfixModifierPosition:y}}return r?function(l){return r({className:l,parseClassName:s})}:s}function co(e){if(e.length<=1)return e;const t=[];let r=[];return e.forEach(n=>{n[0]==="["?(t.push(...r.sort(),n),r=[]):r.push(n)}),t.push(...r.sort()),t}function uo(e){return{cache:so(e.cacheSize),parseClassName:lo(e),...ro(e)}}const fo=/\s+/;function po(e,t){const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,a=new Set;return e.trim().split(fo).map(s=>{const{modifiers:i,hasImportantModifier:l,baseClassName:u,maybePostfixModifierPosition:f}=r(s);let m=!!f,p=n(m?u.substring(0,f):u);if(!p){if(!m)return{isTailwindClass:!1,originalClassName:s};if(p=n(u),!p)return{isTailwindClass:!1,originalClassName:s};m=!1}const h=co(i).join(":");return{isTailwindClass:!0,modifierId:l?h+kr:h,classGroupId:p,originalClassName:s,hasPostfixModifier:m}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;const{modifierId:i,classGroupId:l,hasPostfixModifier:u}=s,f=i+l;return a.has(f)?!1:(a.add(f),o(l,u).forEach(m=>a.add(i+m)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function mo(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=Pr(t))&&(n&&(n+=" "),n+=r);return n}function Pr(e){if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=Pr(e[n]))&&(r&&(r+=" "),r+=t);return r}function go(e,...t){let r,n,o,a=s;function s(l){const u=t.reduce((f,m)=>m(f),e());return r=uo(u),n=r.cache.get,o=r.cache.set,a=i,i(l)}function i(l){const u=n(l);if(u)return u;const f=po(l,r);return o(l,f),f}return function(){return a(mo.apply(null,arguments))}}function ie(e){const t=r=>r[e]||[];return t.isThemeGetter=!0,t}const Ar=/^\[(?:([a-z-]+):)?(.+)\]$/i,ho=/^\d+\/\d+$/,vo=new Set(["px","full","screen"]),yo=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,bo=/\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$/,wo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,xo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Eo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function Oe(e){return Le(e)||vo.has(e)||ho.test(e)}function Me(e){return $e(e,"length",ko)}function Le(e){return!!e&&!Number.isNaN(Number(e))}function yt(e){return $e(e,"number",Le)}function it(e){return!!e&&Number.isInteger(Number(e))}function Co(e){return e.endsWith("%")&&Le(e.slice(0,-1))}function z(e){return Ar.test(e)}function ke(e){return yo.test(e)}const _o=new Set(["length","size","percentage"]);function So(e){return $e(e,_o,Nr)}function To(e){return $e(e,"position",Nr)}const Oo=new Set(["image","url"]);function Ro(e){return $e(e,Oo,Ao)}function Mo(e){return $e(e,"",Po)}function st(){return!0}function $e(e,t,r){const n=Ar.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1}function ko(e){return bo.test(e)&&!wo.test(e)}function Nr(){return!1}function Po(e){return xo.test(e)}function Ao(e){return Eo.test(e)}function No(){const e=ie("colors"),t=ie("spacing"),r=ie("blur"),n=ie("brightness"),o=ie("borderColor"),a=ie("borderRadius"),s=ie("borderSpacing"),i=ie("borderWidth"),l=ie("contrast"),u=ie("grayscale"),f=ie("hueRotate"),m=ie("invert"),p=ie("gap"),h=ie("gradientColorStops"),T=ie("gradientColorStopPositions"),y=ie("inset"),C=ie("margin"),b=ie("opacity"),w=ie("padding"),S=ie("saturate"),E=ie("scale"),g=ie("sepia"),$=ie("skew"),te=ie("space"),le=ie("translate"),se=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",z,t],U=()=>[z,t],Q=()=>["",Oe,Me],k=()=>["auto",Le,z],A=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],W=()=>["solid","dashed","dotted","double","none"],d=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",z],v=()=>["auto","avoid","all","avoid-page","page","left","right","column"],_=()=>[Le,yt],N=()=>[Le,z];return{cacheSize:500,separator:":",theme:{colors:[st],spacing:[Oe,Me],blur:["none","",ke,z],brightness:_(),borderColor:[e],borderRadius:["none","","full",ke,z],borderSpacing:U(),borderWidth:Q(),contrast:_(),grayscale:re(),hueRotate:N(),invert:re(),gap:U(),gradientColorStops:[e],gradientColorStopPositions:[Co,Me],inset:de(),margin:de(),opacity:_(),padding:U(),saturate:_(),scale:_(),sepia:re(),skew:N(),space:U(),translate:U()},classGroups:{aspect:[{aspect:["auto","square","video",z]}],container:["container"],columns:[{columns:[ke]}],"break-after":[{"break-after":v()}],"break-before":[{"break-before":v()}],"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","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...A(),z]}],overflow:[{overflow:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-y":[{"overflow-y":ce()}],overscroll:[{overscroll:se()}],"overscroll-x":[{"overscroll-x":se()}],"overscroll-y":[{"overscroll-y":se()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[y]}],"inset-x":[{"inset-x":[y]}],"inset-y":[{"inset-y":[y]}],start:[{start:[y]}],end:[{end:[y]}],top:[{top:[y]}],right:[{right:[y]}],bottom:[{bottom:[y]}],left:[{left:[y]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",it,z]}],basis:[{basis:de()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",z]}],grow:[{grow:re()}],shrink:[{shrink:re()}],order:[{order:["first","last","none",it,z]}],"grid-cols":[{"grid-cols":[st]}],"col-start-end":[{col:["auto",{span:["full",it,z]},z]}],"col-start":[{"col-start":k()}],"col-end":[{"col-end":k()}],"grid-rows":[{"grid-rows":[st]}],"row-start-end":[{row:["auto",{span:[it,z]},z]}],"row-start":[{"row-start":k()}],"row-end":[{"row-end":k()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",z]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",z]}],gap:[{gap:[p]}],"gap-x":[{"gap-x":[p]}],"gap-y":[{"gap-y":[p]}],"justify-content":[{justify:["normal",...P()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...P(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...P(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[C]}],mx:[{mx:[C]}],my:[{my:[C]}],ms:[{ms:[C]}],me:[{me:[C]}],mt:[{mt:[C]}],mr:[{mr:[C]}],mb:[{mb:[C]}],ml:[{ml:[C]}],"space-x":[{"space-x":[te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",z,t]}],"min-w":[{"min-w":[z,t,"min","max","fit"]}],"max-w":[{"max-w":[z,t,"none","full","min","max","fit","prose",{screen:[ke]},ke]}],h:[{h:[z,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[z,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[z,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[z,t,"auto","min","max","fit"]}],"font-size":[{text:["base",ke,Me]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",yt]}],"font-family":[{font:[st]}],"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",z]}],"line-clamp":[{"line-clamp":["none",Le,yt]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Oe,z]}],"list-image":[{"list-image":["none",z]}],"list-style-type":[{list:["none","disc","decimal",z]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[b]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[b]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Oe,Me]}],"underline-offset":[{"underline-offset":["auto",Oe,z]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",z]}],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",z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[b]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...A(),To]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",So]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Ro]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[T]}],"gradient-via-pos":[{via:[T]}],"gradient-to-pos":[{to:[T]}],"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":[b]}],"border-style":[{border:[...W(),"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":[b]}],"divide-style":[{divide:W()}],"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:["",...W()]}],"outline-offset":[{"outline-offset":[Oe,z]}],"outline-w":[{outline:[Oe,Me]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[b]}],"ring-offset-w":[{"ring-offset":[Oe,Me]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",ke,Mo]}],"shadow-color":[{shadow:[st]}],opacity:[{opacity:[b]}],"mix-blend":[{"mix-blend":[...d(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":d()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[n]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",ke,z]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[m]}],saturate:[{saturate:[S]}],sepia:[{sepia:[g]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[n]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[u]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[m]}],"backdrop-opacity":[{"backdrop-opacity":[b]}],"backdrop-saturate":[{"backdrop-saturate":[S]}],"backdrop-sepia":[{"backdrop-sepia":[g]}],"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",z]}],duration:[{duration:N()}],ease:[{ease:["linear","in","out","in-out",z]}],delay:[{delay:N()}],animate:[{animate:["none","spin","ping","pulse","bounce",z]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[it,z]}],"translate-x":[{"translate-x":[le]}],"translate-y":[{"translate-y":[le]}],"skew-x":[{"skew-x":[$]}],"skew-y":[{"skew-y":[$]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",z]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],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",z]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"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","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",z]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Oe,Me,yt]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},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"],size:["w","h"],"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"],"line-clamp":["display","overflow"],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"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}const Lo=go(No),He={SM:640,MD:768,LG:1024,XL:1280,XXL:1536};function ge(...e){return Lo(Ft(e))}function Lr(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=Lr(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function Io(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=Lr(e))&&(n&&(n+=" "),n+=t);return n}const Ir=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Fr=Io,Ve=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return Fr(e,r==null?void 0:r.class,r==null?void 0:r.className);const{variants:o,defaultVariants:a}=t,s=Object.keys(o).map(u=>{const f=r==null?void 0:r[u],m=a==null?void 0:a[u];if(f===null)return null;const p=Ir(f)||Ir(m);return o[u][p]}),i=r&&Object.entries(r).reduce((u,f)=>{let[m,p]=f;return p===void 0||(u[m]=p),u},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((u,f)=>{let{class:m,className:p,...h}=f;return Object.entries(h).every(T=>{let[y,C]=T;return Array.isArray(C)?C.includes({...a,...i}[y]):{...a,...i}[y]===C})?[...u,m,p]:u},[]);return Fr(e,s,l,r==null?void 0:r.class,r==null?void 0:r.className)},Fo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:18,viewBox:"0 0 20 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M17.5005 6.2V4C17.5005 2.34315 16.1573 1 14.5005 1H12.6255M17.5005 11.8V14C17.5005 15.6569 16.1573 17 14.5005 17H12.6255M7.37549 17H5.50049C3.84363 17 2.50049 15.6569 2.50049 14V11.8M2.50049 6.2V4C2.50049 2.34315 3.84363 1 5.50049 1H7.37549",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}),M.createElement("path",{d:"M18.3332 9L1.6665 9",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Do=ae.forwardRef(Fo),jo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M2.25 6.83252V11.16C2.25 12.75 2.25 12.75 3.75 13.7625L7.875 16.1475C8.4975 16.5075 9.51 16.5075 10.125 16.1475L14.25 13.7625C15.75 12.75 15.75 12.75 15.75 11.1675V6.83252C15.75 5.25002 15.75 5.25002 14.25 4.23752L10.125 1.85252C9.51 1.49252 8.4975 1.49252 7.875 1.85252L3.75 4.23752C2.25 5.25002 2.25 5.25002 2.25 6.83252Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M9 11.25C10.2426 11.25 11.25 10.2426 11.25 9C11.25 7.75736 10.2426 6.75 9 6.75C7.75736 6.75 6.75 7.75736 6.75 9C6.75 10.2426 7.75736 11.25 9 11.25Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Bo=ae.forwardRef(jo),zo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M9 1.5C4.875 1.5 1.5 4.875 1.5 9C1.5 13.125 4.875 16.5 9 16.5C13.125 16.5 16.5 13.125 16.5 9C16.5 4.875 13.125 1.5 9 1.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M9 12V8.25",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M9.00391 6H8.99717",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Uo=ae.forwardRef(zo),Wo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 14 14",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M8.41797 3.45898L11.9588 6.99982L8.41797 10.5407",stroke:"currentColor",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M2.04102 7H11.8585",stroke:"currentColor",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),$o=ae.forwardRef(Wo),Ho=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M9 16.5C13.125 16.5 16.5 13.125 16.5 9C16.5 4.875 13.125 1.5 9 1.5C4.875 1.5 1.5 4.875 1.5 9C1.5 13.125 4.875 16.5 9 16.5Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M9 6V9.75",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M8.99609 12H9.00283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Vo=ae.forwardRef(Ho),qo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M4 9.49361L7.49358 12.9872L14.48 6",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Yo=ae.forwardRef(qo),Ko=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M12 9.675V12.825C12 15.45 10.95 16.5 8.325 16.5H5.175C2.55 16.5 1.5 15.45 1.5 12.825V9.675C1.5 7.05 2.55 6 5.175 6H8.325C10.95 6 12 7.05 12 9.675Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M16.5 5.175V8.325C16.5 10.95 15.45 12 12.825 12H12V9.675C12 7.05 10.95 6 8.325 6H6V5.175C6 2.55 7.05 1.5 9.675 1.5H12.825C15.45 1.5 16.5 2.55 16.5 5.175Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Go=ae.forwardRef(Ko),Jo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M5.88889 9.11111H12.1111M11.3333 6H12.8889C14.6071 6 16 7.39289 16 9.11111C16 10.8293 14.6071 12.2222 12.8889 12.2222H11.3333M6.66667 6H5.11111C3.39289 6 2 7.39289 2 9.11111C2 10.8293 3.39289 12.2222 5.11111 12.2222H6.66667",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Qo=ae.forwardRef(Jo),Xo=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:18,height:18,viewBox:"0 0 18 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M7.86762 1.67254L4.12512 3.08254C3.26262 3.40504 2.55762 4.42504 2.55762 5.34004V10.9125C2.55762 11.7975 3.14262 12.96 3.85512 13.4925L7.08012 15.9C8.13762 16.695 9.87762 16.695 10.9351 15.9L14.1601 13.4925C14.8726 12.96 15.4576 11.7975 15.4576 10.9125V5.34004C15.4576 4.41754 14.7526 3.39754 13.8901 3.07504L10.1476 1.67254C9.51012 1.44004 8.49012 1.44004 7.86762 1.67254Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M9 9.375C9.82843 9.375 10.5 8.70343 10.5 7.875C10.5 7.04657 9.82843 6.375 9 6.375C8.17157 6.375 7.5 7.04657 7.5 7.875C7.5 8.70343 8.17157 9.375 9 9.375Z",stroke:"currentColor",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),M.createElement("path",{d:"M9 9.375V11.625",stroke:"currentColor",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Zo=ae.forwardRef(Xo),ea=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:50,height:50,viewBox:"0 0 50 50",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("rect",{x:-12207e-8,width:49.9153,height:49.9153,rx:12.8814,fill:"url(#paint0_radial_9531_26789)"}),M.createElement("path",{d:"M24.957 39.0466C19.3679 39.0466 14.8934 34.5958 14.8934 29.1638V20.7515C14.8934 15.3195 19.3679 10.8687 24.957 10.8687C30.5461 10.8687 35.0206 15.3195 35.0206 20.7515V29.1638C35.0206 34.5958 30.5461 39.0466 24.957 39.0466Z",fill:"url(#paint1_radial_9531_26789)",stroke:"#FEFEFE",strokeWidth:4.02542,strokeMiterlimit:10}),M.createElement("defs",null,M.createElement("radialGradient",{id:"paint0_radial_9531_26789",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(24.9575 -18.4686) rotate(90) scale(127.533 122.759)"},M.createElement("stop",{offset:.239,stopColor:"#2667FF"}),M.createElement("stop",{offset:.511954,stopColor:"#3F8EFC"}),M.createElement("stop",{offset:.565599,stopColor:"#87BFFF"})),M.createElement("radialGradient",{id:"paint1_radial_9531_26789",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(24.957 -3.05929) rotate(90) scale(82.2797 59.3993)"},M.createElement("stop",{offset:.239,stopColor:"#2667FF"}),M.createElement("stop",{offset:.511954,stopColor:"#3F8EFC"}),M.createElement("stop",{offset:.565599,stopColor:"#87BFFF"})))),ta=ae.forwardRef(ea),ra=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:53,height:69,viewBox:"0 0 53 69",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M26.4616 65.3167C13.822 65.3167 3.75771 55.4158 3.75771 43.401V25.5988C3.75771 13.5839 13.822 3.68301 26.4616 3.68301C39.1012 3.68301 49.1655 13.5839 49.1655 25.5988V43.401C49.1655 55.4158 39.1012 65.3167 26.4616 65.3167Z",stroke:"url(#paint0_angular_9569_22742)",strokeWidth:6.51543,strokeMiterlimit:10}),M.createElement("defs",null,M.createElement("radialGradient",{id:"paint0_angular_9569_22742",cx:0,cy:0,r:1,gradientUnits:"userSpaceOnUse",gradientTransform:"translate(25.601 33.8045) scale(53.7878 67.9534)"},M.createElement("stop",{offset:.0628132,stopColor:"#3B28CC"}),M.createElement("stop",{offset:.201513,stopColor:"#87BFFF"}),M.createElement("stop",{offset:.393774,stopColor:"#ADD7F6"}),M.createElement("stop",{offset:.574577,stopColor:"#3F8EFC"}),M.createElement("stop",{offset:.831624,stopColor:"#2667FF"})))),na=ae.forwardRef(ra),oa=({title:e,titleId:t,...r},n)=>M.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20",fill:"none",ref:n,"aria-labelledby":t,...r},e?M.createElement("title",{id:t},e):null,M.createElement("path",{d:"M5 5L15 15M5 15L15 5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),aa=ae.forwardRef(oa),Dr={scan:Do,settings:Bo,info:Uo,arrowRight:$o,warning:Vo,check:Yo,copy:Go,connect:Qo,passKey:Zo,didit:ta,close:aa,diditLogo:na},ia=Ve(["flex items-center justify-center"],{variants:{size:{xs:"size-[14px]",sm:"size-4",md:"size-5",lg:"size-6",xl:"size-12"}},defaultVariants:{size:"md"}});function lt({type:e="scan",size:t,className:r,...n}){const o=Dr[e];return K.jsx("span",{className:ge(ia({size:t,className:r})),...n,children:K.jsx(o,{className:"size-full text-current"})})}const sa=Ve(["flex items-center justify-center animate-spin"],{variants:{variant:{default:"",primary:"",soft:"",accent:""},size:{xs:"size-[14px]",sm:"size-4",md:"size-5",lg:"size-6",xl:"size-12"}},defaultVariants:{variant:"default",size:"md"}});function jr({size:e,variant:t="default",className:r,...n}){const o=Ft({"stroke-foreground/20":t==="default","stroke-primary/20":t==="primary","stroke-soft/30":t==="soft","stroke-accent/30":t==="accent"}),a=Ft({"stroke-foreground":t==="default","stroke-primary":t==="primary","stroke-soft":t==="soft","stroke-accent":t==="accent"});return K.jsx("span",{className:ge(sa({size:e,className:r})),...n,children:K.jsxs("svg",{className:"size-full",xmlns:"http://www.w3.org/2000/svg",width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",children:[K.jsx("path",{d:"M52 28C52 31.1517 51.3792 34.2726 50.1731 37.1844C48.967 40.0962 47.1992 42.742 44.9706 44.9706C42.742 47.1992 40.0962 48.967 37.1844 50.1731C34.2726 51.3792 31.1517 52 28 52C24.8483 52 21.7274 51.3792 18.8156 50.1731C15.9038 48.967 13.258 47.1992 11.0294 44.9706C8.80083 42.742 7.033 40.0962 5.82689 37.1844C4.62078 34.2726 4 31.1517 4 28C4 24.8483 4.62078 21.7274 5.82689 18.8156C7.03301 15.9038 8.80083 13.258 11.0294 11.0294C13.258 8.80083 15.9038 7.033 18.8156 5.82689C21.7274 4.62078 24.8483 4 28 4C31.1517 4 34.2726 4.62078 37.1844 5.82689C40.0962 7.03301 42.742 8.80083 44.9706 11.0294C47.1992 13.258 48.967 15.9038 50.1731 18.8156C51.3792 21.7274 52 24.8483 52 28L52 28Z",className:o,strokeWidth:"8"}),K.jsx("path",{d:"M52 28C52 33.0683 50.3955 38.0065 47.4164 42.1068C44.4373 46.2072 40.2366 49.2592 35.4164 50.8254C30.5962 52.3915 25.4038 52.3915 20.5836 50.8254C15.7633 49.2592 11.5627 46.2072 8.58359 42.1068",className:a,strokeWidth:"8",strokeLinecap:"round"})]})})}function la({size:e="md",variant:t="default",icon:r,isLoading:n=!1,disabled:o,className:a,children:s,...i}){const l=ge(["relative w-full min-w-52 flex items-center rounded-full","transition-all duration-300 hover:opacity-70",{"px-2 py-4":e==="md","px-3 py-5":e==="lg","bg-transparent border border-foreground text-foreground":t==="default","bg-primary border border-primary text-background":t==="primary","":t==="soft","pointer-events-none":n||o,"bg-surface-lo text-surface-mdlo border-surface-lo":o},a]),u=ge(["absolute right-2 p-[7px] rounded-full z-10",{"right-2":e==="md","right-3":e==="lg","text-foreground":t==="default","bg-background text-primary":t==="primary","bg-transparent text-surface-mdlo":o}]),f=t==="primary"?"xs":"sm";return K.jsxs("button",{className:l,...i,children:[K.jsx("span",{className:"text-sm font-medium leading-[90%] tracking-tight w-full text-center z-20 text-inherit",children:s}),r&&!n&&K.jsx("div",{className:u,children:K.jsx(lt,{type:r,size:o?"sm":f})}),n&&K.jsx("div",{className:u,children:K.jsx(jr,{size:"xs",variant:t})})]})}const ca=Ve("w-full font-inter text-foreground capitalize",{variants:{variant:{H1:"text-[52px] font-medium leading-[95%] tracking-tighter",H2:"text-[42px] font-medium leading-[95%] tracking-tighter",H3:"text-[32px] font-medium leading-[105%] tracking-tighter",H4:"text-2xl font-medium leading-[110%] tracking-tight",H5:"text-[15px] font-semibold leading-[95%] tracking-tight",H6:"text-sm font-medium leading-[90%] tracking-tight",P1:"text-[15px] font-normal leading-[140%] tracking-tight",P2:"text-[13px] font-normal leading-[140%] tracking-tight",P3:"text-xs font-normal leading-[150%] tracking-tight",Label1:"text-[13px] font-normal leading-[90%] tracking-tight",Label2:"text-xs font-normal leading-[90%] tracking-tight",Label3:"text-[11px] font-normal leading-[140%] tracking-tight",Label4:"text-[10px] font-normal leading-[140%] tracking-tight",StyledLabel:"uppercase text-[8px] font-medium leading-[125.5%] tracking-widest"},align:{left:"text-left",center:"text-center",right:"text-right"},italic:{true:"italic"},underline:{true:"underline underline-offset-2"}},defaultVariants:{variant:"H1",align:"left",italic:!1,underline:!1}}),bt=ae.forwardRef(({as:e,variant:t,align:r,italic:n,underline:o,className:a,...s},i)=>{const l=e||"span";return K.jsx(l,{ref:i,className:ge(ca({variant:t,italic:n,underline:o,align:r,className:a})),...s})}),ua=Ve(["bg-surface-lo","rounded-full","flex items-center justify-center"],{variants:{size:{xs:"p-[8px]",sm:"p-[11px]",md:"p-4",lg:"p-5"}},defaultVariants:{size:"sm"}});function Br({icon:e="scan",label:t,size:r,className:n,...o}){const a=ge(["flex flex-col items-center justify-center gap-[6px]","opacity-70 hover:opacity-100","transition-opacity duration-300","text-surface-hi"],n);return K.jsxs("button",{className:a,...o,children:[K.jsx("div",{className:ge(ua({size:r})),children:K.jsx(lt,{className:"text-inherit",type:e,size:r})}),t&&K.jsx(bt,{className:"text-inherit",variant:"P3",children:t})]})}var ct={},fa=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},zr={},ye={};let Bt;const da=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];ye.getSymbolSize=function(t){if(!t)throw new Error('"version" cannot be null or undefined');if(t<1||t>40)throw new Error('"version" should be in range from 1 to 40');return t*4+17},ye.getSymbolTotalCodewords=function(t){return da[t]},ye.getBCHDigit=function(e){let t=0;for(;e!==0;)t++,e>>>=1;return t},ye.setToSJISFunction=function(t){if(typeof t!="function")throw new Error('"toSJISFunc" is not a valid function.');Bt=t},ye.isKanjiModeEnabled=function(){return typeof Bt<"u"},ye.toSJIS=function(t){return Bt(t)};var wt={};(function(e){e.L={bit:1},e.M={bit:0},e.Q={bit:3},e.H={bit:2};function t(r){if(typeof r!="string")throw new Error("Param is not a string");switch(r.toLowerCase()){case"l":case"low":return e.L;case"m":case"medium":return e.M;case"q":case"quartile":return e.Q;case"h":case"high":return e.H;default:throw new Error("Unknown EC Level: "+r)}}e.isValid=function(n){return n&&typeof n.bit<"u"&&n.bit>=0&&n.bit<4},e.from=function(n,o){if(e.isValid(n))return n;try{return t(n)}catch{return o}}})(wt);function Ur(){this.buffer=[],this.length=0}Ur.prototype={get:function(e){const t=Math.floor(e/8);return(this.buffer[t]>>>7-e%8&1)===1},put:function(e,t){for(let r=0;r<t;r++)this.putBit((e>>>t-r-1&1)===1)},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var pa=Ur;function ut(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}ut.prototype.set=function(e,t,r,n){const o=e*this.size+t;this.data[o]=r,n&&(this.reservedBit[o]=!0)},ut.prototype.get=function(e,t){return this.data[e*this.size+t]},ut.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},ut.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var ma=ut,Wr={};(function(e){const t=ye.getSymbolSize;e.getRowColCoords=function(n){if(n===1)return[];const o=Math.floor(n/7)+2,a=t(n),s=a===145?26:Math.ceil((a-13)/(2*o-2))*2,i=[a-7];for(let l=1;l<o-1;l++)i[l]=i[l-1]-s;return i.push(6),i.reverse()},e.getPositions=function(n){const o=[],a=e.getRowColCoords(n),s=a.length;for(let i=0;i<s;i++)for(let l=0;l<s;l++)i===0&&l===0||i===0&&l===s-1||i===s-1&&l===0||o.push([a[i],a[l]]);return o}})(Wr);var $r={};const ga=ye.getSymbolSize,Hr=7;$r.getPositions=function(t){const r=ga(t);return[[0,0],[r-Hr,0],[0,r-Hr]]};var Vr={};(function(e){e.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const t={N1:3,N2:3,N3:40,N4:10};e.isValid=function(o){return o!=null&&o!==""&&!isNaN(o)&&o>=0&&o<=7},e.from=function(o){return e.isValid(o)?parseInt(o,10):void 0},e.getPenaltyN1=function(o){const a=o.size;let s=0,i=0,l=0,u=null,f=null;for(let m=0;m<a;m++){i=l=0,u=f=null;for(let p=0;p<a;p++){let h=o.get(m,p);h===u?i++:(i>=5&&(s+=t.N1+(i-5)),u=h,i=1),h=o.get(p,m),h===f?l++:(l>=5&&(s+=t.N1+(l-5)),f=h,l=1)}i>=5&&(s+=t.N1+(i-5)),l>=5&&(s+=t.N1+(l-5))}return s},e.getPenaltyN2=function(o){const a=o.size;let s=0;for(let i=0;i<a-1;i++)for(let l=0;l<a-1;l++){const u=o.get(i,l)+o.get(i,l+1)+o.get(i+1,l)+o.get(i+1,l+1);(u===4||u===0)&&s++}return s*t.N2},e.getPenaltyN3=function(o){const a=o.size;let s=0,i=0,l=0;for(let u=0;u<a;u++){i=l=0;for(let f=0;f<a;f++)i=i<<1&2047|o.get(u,f),f>=10&&(i===1488||i===93)&&s++,l=l<<1&2047|o.get(f,u),f>=10&&(l===1488||l===93)&&s++}return s*t.N3},e.getPenaltyN4=function(o){let a=0;const s=o.data.length;for(let l=0;l<s;l++)a+=o.data[l];return Math.abs(Math.ceil(a*100/s/5)-10)*t.N4};function r(n,o,a){switch(n){case e.Patterns.PATTERN000:return(o+a)%2===0;case e.Patterns.PATTERN001:return o%2===0;case e.Patterns.PATTERN010:return a%3===0;case e.Patterns.PATTERN011:return(o+a)%3===0;case e.Patterns.PATTERN100:return(Math.floor(o/2)+Math.floor(a/3))%2===0;case e.Patterns.PATTERN101:return o*a%2+o*a%3===0;case e.Patterns.PATTERN110:return(o*a%2+o*a%3)%2===0;case e.Patterns.PATTERN111:return(o*a%3+(o+a)%2)%2===0;default:throw new Error("bad maskPattern:"+n)}}e.applyMask=function(o,a){const s=a.size;for(let i=0;i<s;i++)for(let l=0;l<s;l++)a.isReserved(l,i)||a.xor(l,i,r(o,l,i))},e.getBestMask=function(o,a){const s=Object.keys(e.Patterns).length;let i=0,l=1/0;for(let u=0;u<s;u++){a(u),e.applyMask(u,o);const f=e.getPenaltyN1(o)+e.getPenaltyN2(o)+e.getPenaltyN3(o)+e.getPenaltyN4(o);e.applyMask(u,o),f<l&&(l=f,i=u)}return i}})(Vr);var xt={};const Pe=wt,Et=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],Ct=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];xt.getBlocksCount=function(t,r){switch(r){case Pe.L:return Et[(t-1)*4+0];case Pe.M:return Et[(t-1)*4+1];case Pe.Q:return Et[(t-1)*4+2];case Pe.H:return Et[(t-1)*4+3];default:return}},xt.getTotalCodewordsCount=function(t,r){switch(r){case Pe.L:return Ct[(t-1)*4+0];case Pe.M:return Ct[(t-1)*4+1];case Pe.Q:return Ct[(t-1)*4+2];case Pe.H:return Ct[(t-1)*4+3];default:return}};var qr={},_t={};const ft=new Uint8Array(512),St=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)ft[r]=t,St[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)ft[r]=ft[r-255]})(),_t.log=function(t){if(t<1)throw new Error("log("+t+")");return St[t]},_t.exp=function(t){return ft[t]},_t.mul=function(t,r){return t===0||r===0?0:ft[St[t]+St[r]]},function(e){const t=_t;e.mul=function(n,o){const a=new Uint8Array(n.length+o.length-1);for(let s=0;s<n.length;s++)for(let i=0;i<o.length;i++)a[s+i]^=t.mul(n[s],o[i]);return a},e.mod=function(n,o){let a=new Uint8Array(n);for(;a.length-o.length>=0;){const s=a[0];for(let l=0;l<o.length;l++)a[l]^=t.mul(o[l],s);let i=0;for(;i<a.length&&a[i]===0;)i++;a=a.slice(i)}return a},e.generateECPolynomial=function(n){let o=new Uint8Array([1]);for(let a=0;a<n;a++)o=e.mul(o,new Uint8Array([1,t.exp(a)]));return o}}(qr);const Yr=qr;function zt(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}zt.prototype.initialize=function(t){this.degree=t,this.genPoly=Yr.generateECPolynomial(this.degree)},zt.prototype.encode=function(t){if(!this.genPoly)throw new Error("Encoder not initialized");const r=new Uint8Array(t.length+this.degree);r.set(t);const n=Yr.mod(r,this.genPoly),o=this.degree-n.length;if(o>0){const a=new Uint8Array(this.degree);return a.set(n,o),a}return n};var ha=zt,Kr={},Ae={},Ut={};Ut.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var Te={};const Gr="[0-9]+",va="[A-Z $%*+\\-./:]+";let dt="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";dt=dt.replace(/u/g,"\\u");const ya="(?:(?![A-Z0-9 $%*+\\-./:]|"+dt+`)(?:.|[\r
|
|
31
|
+
]))+`;Te.KANJI=new RegExp(dt,"g"),Te.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),Te.BYTE=new RegExp(ya,"g"),Te.NUMERIC=new RegExp(Gr,"g"),Te.ALPHANUMERIC=new RegExp(va,"g");const ba=new RegExp("^"+dt+"$"),wa=new RegExp("^"+Gr+"$"),xa=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Te.testKanji=function(t){return ba.test(t)},Te.testNumeric=function(t){return wa.test(t)},Te.testAlphanumeric=function(t){return xa.test(t)},function(e){const t=Ut,r=Te;e.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},e.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},e.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},e.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},e.MIXED={bit:-1},e.getCharCountIndicator=function(a,s){if(!a.ccBits)throw new Error("Invalid mode: "+a);if(!t.isValid(s))throw new Error("Invalid version: "+s);return s>=1&&s<10?a.ccBits[0]:s<27?a.ccBits[1]:a.ccBits[2]},e.getBestModeForData=function(a){return r.testNumeric(a)?e.NUMERIC:r.testAlphanumeric(a)?e.ALPHANUMERIC:r.testKanji(a)?e.KANJI:e.BYTE},e.toString=function(a){if(a&&a.id)return a.id;throw new Error("Invalid mode")},e.isValid=function(a){return a&&a.bit&&a.ccBits};function n(o){if(typeof o!="string")throw new Error("Param is not a string");switch(o.toLowerCase()){case"numeric":return e.NUMERIC;case"alphanumeric":return e.ALPHANUMERIC;case"kanji":return e.KANJI;case"byte":return e.BYTE;default:throw new Error("Unknown mode: "+o)}}e.from=function(a,s){if(e.isValid(a))return a;try{return n(a)}catch{return s}}}(Ae),function(e){const t=ye,r=xt,n=wt,o=Ae,a=Ut,s=7973,i=t.getBCHDigit(s);function l(p,h,T){for(let y=1;y<=40;y++)if(h<=e.getCapacity(y,T,p))return y}function u(p,h){return o.getCharCountIndicator(p,h)+4}function f(p,h){let T=0;return p.forEach(function(y){const C=u(y.mode,h);T+=C+y.getBitsLength()}),T}function m(p,h){for(let T=1;T<=40;T++)if(f(p,T)<=e.getCapacity(T,h,o.MIXED))return T}e.from=function(h,T){return a.isValid(h)?parseInt(h,10):T},e.getCapacity=function(h,T,y){if(!a.isValid(h))throw new Error("Invalid QR Code version");typeof y>"u"&&(y=o.BYTE);const C=t.getSymbolTotalCodewords(h),b=r.getTotalCodewordsCount(h,T),w=(C-b)*8;if(y===o.MIXED)return w;const S=w-u(y,h);switch(y){case o.NUMERIC:return Math.floor(S/10*3);case o.ALPHANUMERIC:return Math.floor(S/11*2);case o.KANJI:return Math.floor(S/13);case o.BYTE:default:return Math.floor(S/8)}},e.getBestVersionForData=function(h,T){let y;const C=n.from(T,n.M);if(Array.isArray(h)){if(h.length>1)return m(h,C);if(h.length===0)return 1;y=h[0]}else y=h;return l(y.mode,y.getLength(),C)},e.getEncodedBits=function(h){if(!a.isValid(h)||h<7)throw new Error("Invalid QR Code version");let T=h<<12;for(;t.getBCHDigit(T)-i>=0;)T^=s<<t.getBCHDigit(T)-i;return h<<12|T}}(Kr);var Jr={};const Wt=ye,Qr=1335,Ea=21522,Xr=Wt.getBCHDigit(Qr);Jr.getEncodedBits=function(t,r){const n=t.bit<<3|r;let o=n<<10;for(;Wt.getBCHDigit(o)-Xr>=0;)o^=Qr<<Wt.getBCHDigit(o)-Xr;return(n<<10|o)^Ea};var Zr={};const Ca=Ae;function qe(e){this.mode=Ca.NUMERIC,this.data=e.toString()}qe.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)},qe.prototype.getLength=function(){return this.data.length},qe.prototype.getBitsLength=function(){return qe.getBitsLength(this.data.length)},qe.prototype.write=function(t){let r,n,o;for(r=0;r+3<=this.data.length;r+=3)n=this.data.substr(r,3),o=parseInt(n,10),t.put(o,10);const a=this.data.length-r;a>0&&(n=this.data.substr(r),o=parseInt(n,10),t.put(o,a*3+1))};var _a=qe;const Sa=Ae,$t=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function Ye(e){this.mode=Sa.ALPHANUMERIC,this.data=e}Ye.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)},Ye.prototype.getLength=function(){return this.data.length},Ye.prototype.getBitsLength=function(){return Ye.getBitsLength(this.data.length)},Ye.prototype.write=function(t){let r;for(r=0;r+2<=this.data.length;r+=2){let n=$t.indexOf(this.data[r])*45;n+=$t.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put($t.indexOf(this.data[r]),6)};var Ta=Ye,Oa=function(t){for(var r=[],n=t.length,o=0;o<n;o++){var a=t.charCodeAt(o);if(a>=55296&&a<=56319&&n>o+1){var s=t.charCodeAt(o+1);s>=56320&&s<=57343&&(a=(a-55296)*1024+s-56320+65536,o+=1)}if(a<128){r.push(a);continue}if(a<2048){r.push(a>>6|192),r.push(a&63|128);continue}if(a<55296||a>=57344&&a<65536){r.push(a>>12|224),r.push(a>>6&63|128),r.push(a&63|128);continue}if(a>=65536&&a<=1114111){r.push(a>>18|240),r.push(a>>12&63|128),r.push(a>>6&63|128),r.push(a&63|128);continue}r.push(239,191,189)}return new Uint8Array(r).buffer};const Ra=Oa,Ma=Ae;function Ke(e){this.mode=Ma.BYTE,typeof e=="string"&&(e=Ra(e)),this.data=new Uint8Array(e)}Ke.getBitsLength=function(t){return t*8},Ke.prototype.getLength=function(){return this.data.length},Ke.prototype.getBitsLength=function(){return Ke.getBitsLength(this.data.length)},Ke.prototype.write=function(e){for(let t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)};var ka=Ke;const Pa=Ae,Aa=ye;function Ge(e){this.mode=Pa.KANJI,this.data=e}Ge.getBitsLength=function(t){return t*13},Ge.prototype.getLength=function(){return this.data.length},Ge.prototype.getBitsLength=function(){return Ge.getBitsLength(this.data.length)},Ge.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let r=Aa.toSJIS(this.data[t]);if(r>=33088&&r<=40956)r-=33088;else if(r>=57408&&r<=60351)r-=49472;else throw new Error("Invalid SJIS character: "+this.data[t]+`
|
|
32
|
+
Make sure your charset is UTF-8`);r=(r>>>8&255)*192+(r&255),e.put(r,13)}};var Na=Ge,en={exports:{}};(function(e){var t={single_source_shortest_paths:function(r,n,o){var a={},s={};s[n]=0;var i=t.PriorityQueue.make();i.push(n,0);for(var l,u,f,m,p,h,T,y,C;!i.empty();){l=i.pop(),u=l.value,m=l.cost,p=r[u]||{};for(f in p)p.hasOwnProperty(f)&&(h=p[f],T=m+h,y=s[f],C=typeof s[f]>"u",(C||y>T)&&(s[f]=T,i.push(f,T),a[f]=u))}if(typeof o<"u"&&typeof s[o]>"u"){var b=["Could not find a path from ",n," to ",o,"."].join("");throw new Error(b)}return a},extract_shortest_path_from_predecessor_list:function(r,n){for(var o=[],a=n;a;)o.push(a),r[a],a=r[a];return o.reverse(),o},find_path:function(r,n,o){var a=t.single_source_shortest_paths(r,n,o);return t.extract_shortest_path_from_predecessor_list(a,o)},PriorityQueue:{make:function(r){var n=t.PriorityQueue,o={},a;r=r||{};for(a in n)n.hasOwnProperty(a)&&(o[a]=n[a]);return o.queue=[],o.sorter=r.sorter||n.default_sorter,o},default_sorter:function(r,n){return r.cost-n.cost},push:function(r,n){var o={value:r,cost:n};this.queue.push(o),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return this.queue.length===0}}};e.exports=t})(en);var La=en.exports;(function(e){const t=Ae,r=_a,n=Ta,o=ka,a=Na,s=Te,i=ye,l=La;function u(b){return unescape(encodeURIComponent(b)).length}function f(b,w,S){const E=[];let g;for(;(g=b.exec(S))!==null;)E.push({data:g[0],index:g.index,mode:w,length:g[0].length});return E}function m(b){const w=f(s.NUMERIC,t.NUMERIC,b),S=f(s.ALPHANUMERIC,t.ALPHANUMERIC,b);let E,g;return i.isKanjiModeEnabled()?(E=f(s.BYTE,t.BYTE,b),g=f(s.KANJI,t.KANJI,b)):(E=f(s.BYTE_KANJI,t.BYTE,b),g=[]),w.concat(S,E,g).sort(function(te,le){return te.index-le.index}).map(function(te){return{data:te.data,mode:te.mode,length:te.length}})}function p(b,w){switch(w){case t.NUMERIC:return r.getBitsLength(b);case t.ALPHANUMERIC:return n.getBitsLength(b);case t.KANJI:return a.getBitsLength(b);case t.BYTE:return o.getBitsLength(b)}}function h(b){return b.reduce(function(w,S){const E=w.length-1>=0?w[w.length-1]:null;return E&&E.mode===S.mode?(w[w.length-1].data+=S.data,w):(w.push(S),w)},[])}function T(b){const w=[];for(let S=0;S<b.length;S++){const E=b[S];switch(E.mode){case t.NUMERIC:w.push([E,{data:E.data,mode:t.ALPHANUMERIC,length:E.length},{data:E.data,mode:t.BYTE,length:E.length}]);break;case t.ALPHANUMERIC:w.push([E,{data:E.data,mode:t.BYTE,length:E.length}]);break;case t.KANJI:w.push([E,{data:E.data,mode:t.BYTE,length:u(E.data)}]);break;case t.BYTE:w.push([{data:E.data,mode:t.BYTE,length:u(E.data)}])}}return w}function y(b,w){const S={},E={start:{}};let g=["start"];for(let $=0;$<b.length;$++){const te=b[$],le=[];for(let se=0;se<te.length;se++){const ce=te[se],de=""+$+se;le.push(de),S[de]={node:ce,lastCount:0},E[de]={};for(let U=0;U<g.length;U++){const Q=g[U];S[Q]&&S[Q].node.mode===ce.mode?(E[Q][de]=p(S[Q].lastCount+ce.length,ce.mode)-p(S[Q].lastCount,ce.mode),S[Q].lastCount+=ce.length):(S[Q]&&(S[Q].lastCount=ce.length),E[Q][de]=p(ce.length,ce.mode)+4+t.getCharCountIndicator(ce.mode,w))}}g=le}for(let $=0;$<g.length;$++)E[g[$]].end=0;return{map:E,table:S}}function C(b,w){let S;const E=t.getBestModeForData(b);if(S=t.from(w,E),S!==t.BYTE&&S.bit<E.bit)throw new Error('"'+b+'" cannot be encoded with mode '+t.toString(S)+`.
|
|
33
33
|
Suggested mode is: `+t.toString(E));switch(S===t.KANJI&&!i.isKanjiModeEnabled()&&(S=t.BYTE),S){case t.NUMERIC:return new r(b);case t.ALPHANUMERIC:return new n(b);case t.KANJI:return new a(b);case t.BYTE:return new o(b)}}e.fromArray=function(w){return w.reduce(function(S,E){return typeof E=="string"?S.push(C(E,null)):E.data&&S.push(C(E.data,E.mode)),S},[])},e.fromString=function(w,S){const E=m(w,i.isKanjiModeEnabled()),g=T(E),$=y(g,S),te=l.find_path($.map,"start","end"),le=[];for(let se=1;se<te.length-1;se++)le.push($.table[te[se]].node);return e.fromArray(h(le))},e.rawSplit=function(w){return e.fromArray(m(w,i.isKanjiModeEnabled()))}})(Zr);const Tt=ye,Ht=wt,Ia=pa,Fa=ma,Da=Wr,ja=$r,Vt=Vr,qt=xt,Ba=ha,Ot=Kr,za=Jr,Ua=Ae,Yt=Zr;function Wa(e,t){const r=e.size,n=ja.getPositions(t);for(let o=0;o<n.length;o++){const a=n[o][0],s=n[o][1];for(let i=-1;i<=7;i++)if(!(a+i<=-1||r<=a+i))for(let l=-1;l<=7;l++)s+l<=-1||r<=s+l||(i>=0&&i<=6&&(l===0||l===6)||l>=0&&l<=6&&(i===0||i===6)||i>=2&&i<=4&&l>=2&&l<=4?e.set(a+i,s+l,!0,!0):e.set(a+i,s+l,!1,!0))}}function $a(e){const t=e.size;for(let r=8;r<t-8;r++){const n=r%2===0;e.set(r,6,n,!0),e.set(6,r,n,!0)}}function Ha(e,t){const r=Da.getPositions(t);for(let n=0;n<r.length;n++){const o=r[n][0],a=r[n][1];for(let s=-2;s<=2;s++)for(let i=-2;i<=2;i++)s===-2||s===2||i===-2||i===2||s===0&&i===0?e.set(o+s,a+i,!0,!0):e.set(o+s,a+i,!1,!0)}}function Va(e,t){const r=e.size,n=Ot.getEncodedBits(t);let o,a,s;for(let i=0;i<18;i++)o=Math.floor(i/3),a=i%3+r-8-3,s=(n>>i&1)===1,e.set(o,a,s,!0),e.set(a,o,s,!0)}function Kt(e,t,r){const n=e.size,o=za.getEncodedBits(t,r);let a,s;for(a=0;a<15;a++)s=(o>>a&1)===1,a<6?e.set(a,8,s,!0):a<8?e.set(a+1,8,s,!0):e.set(n-15+a,8,s,!0),a<8?e.set(8,n-a-1,s,!0):a<9?e.set(8,15-a-1+1,s,!0):e.set(8,15-a-1,s,!0);e.set(n-8,8,1,!0)}function qa(e,t){const r=e.size;let n=-1,o=r-1,a=7,s=0;for(let i=r-1;i>0;i-=2)for(i===6&&i--;;){for(let l=0;l<2;l++)if(!e.isReserved(o,i-l)){let u=!1;s<t.length&&(u=(t[s]>>>a&1)===1),e.set(o,i-l,u),a--,a===-1&&(s++,a=7)}if(o+=n,o<0||r<=o){o-=n,n=-n;break}}}function Ya(e,t,r){const n=new Ia;r.forEach(function(l){n.put(l.mode.bit,4),n.put(l.getLength(),Ua.getCharCountIndicator(l.mode,e)),l.write(n)});const o=Tt.getSymbolTotalCodewords(e),a=qt.getTotalCodewordsCount(e,t),s=(o-a)*8;for(n.getLengthInBits()+4<=s&&n.put(0,4);n.getLengthInBits()%8!==0;)n.putBit(0);const i=(s-n.getLengthInBits())/8;for(let l=0;l<i;l++)n.put(l%2?17:236,8);return Ka(n,e,t)}function Ka(e,t,r){const n=Tt.getSymbolTotalCodewords(t),o=qt.getTotalCodewordsCount(t,r),a=n-o,s=qt.getBlocksCount(t,r),i=n%s,l=s-i,u=Math.floor(n/s),f=Math.floor(a/s),m=f+1,p=u-f,h=new Ba(p);let T=0;const y=new Array(s),C=new Array(s);let b=0;const w=new Uint8Array(e.buffer);for(let te=0;te<s;te++){const le=te<l?f:m;y[te]=w.slice(T,T+le),C[te]=h.encode(y[te]),T+=le,b=Math.max(b,le)}const S=new Uint8Array(n);let E=0,g,$;for(g=0;g<b;g++)for($=0;$<s;$++)g<y[$].length&&(S[E++]=y[$][g]);for(g=0;g<p;g++)for($=0;$<s;$++)S[E++]=C[$][g];return S}function Ga(e,t,r,n){let o;if(Array.isArray(e))o=Yt.fromArray(e);else if(typeof e=="string"){let u=t;if(!u){const f=Yt.rawSplit(e);u=Ot.getBestVersionForData(f,r)}o=Yt.fromString(e,u||40)}else throw new Error("Invalid data");const a=Ot.getBestVersionForData(o,r);if(!a)throw new Error("The amount of data is too big to be stored in a QR Code");if(!t)t=a;else if(t<a)throw new Error(`
|
|
34
34
|
The chosen QR Code version cannot contain this amount of data.
|
|
35
35
|
Minimum version required to store current data is: `+a+`.
|
|
36
36
|
`);const s=Ya(t,r,o),i=Tt.getSymbolSize(t),l=new Fa(i);return Wa(l,t),$a(l),Ha(l,t),Kt(l,r,0),t>=7&&Va(l,t),qa(l,s),isNaN(n)&&(n=Vt.getBestMask(l,Kt.bind(null,l,r))),Vt.applyMask(n,l),Kt(l,r,n),{modules:l,version:t,errorCorrectionLevel:r,maskPattern:n,segments:o}}zr.create=function(t,r){if(typeof t>"u"||t==="")throw new Error("No input text");let n=Ht.M,o,a;return typeof r<"u"&&(n=Ht.from(r.errorCorrectionLevel,Ht.M),o=Ot.from(r.version),a=Vt.from(r.maskPattern),r.toSJISFunc&&Tt.setToSJISFunction(r.toSJISFunc)),Ga(t,o,n,a)};var tn={},Gt={};(function(e){function t(r){if(typeof r=="number"&&(r=r.toString()),typeof r!="string")throw new Error("Color should be defined as hex string");let n=r.slice().replace("#","").split("");if(n.length<3||n.length===5||n.length>8)throw new Error("Invalid hex color: "+r);(n.length===3||n.length===4)&&(n=Array.prototype.concat.apply([],n.map(function(a){return[a,a]}))),n.length===6&&n.push("F","F");const o=parseInt(n.join(""),16);return{r:o>>24&255,g:o>>16&255,b:o>>8&255,a:o&255,hex:"#"+n.slice(0,6).join("")}}e.getOptions=function(n){n||(n={}),n.color||(n.color={});const o=typeof n.margin>"u"||n.margin===null||n.margin<0?4:n.margin,a=n.width&&n.width>=21?n.width:void 0,s=n.scale||4;return{width:a,scale:a?4:s,margin:o,color:{dark:t(n.color.dark||"#000000ff"),light:t(n.color.light||"#ffffffff")},type:n.type,rendererOpts:n.rendererOpts||{}}},e.getScale=function(n,o){return o.width&&o.width>=n+o.margin*2?o.width/(n+o.margin*2):o.scale},e.getImageWidth=function(n,o){const a=e.getScale(n,o);return Math.floor((n+o.margin*2)*a)},e.qrToImageData=function(n,o,a){const s=o.modules.size,i=o.modules.data,l=e.getScale(s,a),u=Math.floor((s+a.margin*2)*l),f=a.margin*l,m=[a.color.light,a.color.dark];for(let p=0;p<u;p++)for(let h=0;h<u;h++){let T=(p*u+h)*4,y=a.color.light;if(p>=f&&h>=f&&p<u-f&&h<u-f){const C=Math.floor((p-f)/l),b=Math.floor((h-f)/l);y=m[i[C*s+b]?1:0]}n[T++]=y.r,n[T++]=y.g,n[T++]=y.b,n[T]=y.a}}})(Gt),function(e){const t=Gt;function r(o,a,s){o.clearRect(0,0,a.width,a.height),a.style||(a.style={}),a.height=s,a.width=s,a.style.height=s+"px",a.style.width=s+"px"}function n(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}e.render=function(a,s,i){let l=i,u=s;typeof l>"u"&&(!s||!s.getContext)&&(l=s,s=void 0),s||(u=n()),l=t.getOptions(l);const f=t.getImageWidth(a.modules.size,l),m=u.getContext("2d"),p=m.createImageData(f,f);return t.qrToImageData(p.data,a,l),r(m,u,f),m.putImageData(p,0,0),u},e.renderToDataURL=function(a,s,i){let l=i;typeof l>"u"&&(!s||!s.getContext)&&(l=s,s=void 0),l||(l={});const u=e.render(a,s,l),f=l.type||"image/png",m=l.rendererOpts||{};return u.toDataURL(f,m.quality)}}(tn);var rn={};const Ja=Gt;function nn(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function Jt(e,t,r){let n=e+t;return typeof r<"u"&&(n+=" "+r),n}function Qa(e,t,r){let n="",o=0,a=!1,s=0;for(let i=0;i<e.length;i++){const l=Math.floor(i%t),u=Math.floor(i/t);!l&&!a&&(a=!0),e[i]?(s++,i>0&&l>0&&e[i-1]||(n+=a?Jt("M",l+r,.5+u+r):Jt("m",o,0),o=0,a=!1),l+1<t&&e[i+1]||(n+=Jt("h",s),s=0)):o++}return n}rn.render=function(t,r,n){const o=Ja.getOptions(r),a=t.modules.size,s=t.modules.data,i=a+o.margin*2,l=o.color.light.a?"<path "+nn(o.color.light,"fill")+' d="M0 0h'+i+"v"+i+'H0z"/>':"",u="<path "+nn(o.color.dark,"stroke")+' d="'+Qa(s,a,o.margin)+'"/>',f='viewBox="0 0 '+i+" "+i+'"',p='<svg xmlns="http://www.w3.org/2000/svg" '+(o.width?'width="'+o.width+'" height="'+o.width+'" ':"")+f+' shape-rendering="crispEdges">'+l+u+`</svg>
|
|
37
|
-
`;return typeof n=="function"&&n(null,p),p};const Xa=fa,Qt=zr,on=tn,Za=rn;function Xt(e,t,r,n,o){const a=[].slice.call(arguments,1),s=a.length,i=typeof a[s-1]=="function";if(!i&&!Xa())throw new Error("Callback required as last argument");if(i){if(s<2)throw new Error("Too few arguments provided");s===2?(o=r,r=t,t=n=void 0):s===3&&(t.getContext&&typeof o>"u"?(o=n,n=void 0):(o=n,n=r,r=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(r=t,t=n=void 0):s===2&&!t.getContext&&(n=r,r=t,t=void 0),new Promise(function(l,u){try{const f=Qt.create(r,n);l(e(f,t,n))}catch(f){u(f)}})}try{const l=Qt.create(r,n);o(null,e(l,t,n))}catch(l){o(l)}}ct.create=Qt.create,ct.toCanvas=Xt.bind(null,on.render),ct.toDataURL=Xt.bind(null,on.renderToDataURL),ct.toString=Xt.bind(null,function(e,t,r){return Za.render(e,r)});const ei=.1,an=2.5,Re=7;function Zt(e,t,r){return e===t?!1:(e-t<0?t-e:e-t)<=r+ei}function ti(e,t){const r=Array.prototype.slice.call(ct.create(e,{errorCorrectionLevel:t}).modules.data,0),n=Math.sqrt(r.length);return r.reduce((o,a,s)=>(s%n===0?o.push([a]):o[o.length-1].push(a))&&o,[])}const ri={generate(e,t,r,n="#141414"){const o="transparent",s=ti(e,"Q"),i=t/s.length,l=[{x:0,y:0},{x:1,y:0},{x:0,y:1}],u=[];l.forEach(({x:y,y:C})=>{const b=(s.length-Re)*i*y,w=(s.length-Re)*i*C,S=.3;for(let E=0;E<l.length;E+=1){const g=i*(Re-E*2);u.push(K.jsx("rect",{fill:E===2?n:o,width:E===0?g-5:g,rx:E===0?(g-5)*S:g*S,ry:E===0?(g-5)*S:g*S,stroke:n,strokeWidth:E===0?5:0,height:E===0?g-5:g,x:E===0?w+i*E+5/2:w+i*E,y:E===0?b+i*E+5/2:b+i*E}))}});const f=Math.floor((r+25)/i),m=s.length/2-f/2,p=s.length/2+f/2-1,h=[];s.forEach((y,C)=>{y.forEach((b,w)=>{if(s[C][w]&&!(C<Re&&w<Re||C>s.length-(Re+1)&&w<Re||C<Re&&w>s.length-(Re+1))&&!(C>m&&C<p&&w>m&&w<p)){const S=C*i+i/2,E=w*i+i/2;h.push([S,E])}})});const T={};return h.forEach(([y,C])=>{var b;T[y]?(b=T[y])==null||b.push(C):T[y]=[C]}),Object.entries(T).map(([y,C])=>{const b=C.filter(w=>C.every(S=>!Zt(w,S,i)));return[Number(y),b]}).forEach(([y,C])=>{C.forEach(b=>{u.push(K.jsx("circle",{cx:y,cy:b,fill:n,r:i/an}))})}),Object.entries(T).filter(([y,C])=>C.length>1).map(([y,C])=>{const b=C.filter(w=>C.some(S=>Zt(w,S,i)));return[Number(y),b]}).map(([y,C])=>{C.sort((w,S)=>w<S?-1:1);const b=[];for(const w of C){const S=b.find(E=>E.some(g=>Zt(w,g,i)));S?S.push(w):b.push([w])}return[y,b.map(w=>[w[0],w[w.length-1]])]}).forEach(([y,C])=>{C.forEach(([b,w])=>{u.push(K.jsx("line",{x1:y,x2:y,y1:b,y2:w,stroke:n,strokeWidth:i/(an/2),strokeLinecap:"round"}))})}),u}},ni={sm:120,md:200,lg:256};function oi({uri:e,size:t="md",color:r,iconName:n="didit",className:o,...a}){const s=typeof t=="number"?t:ni[t],i=
|
|
37
|
+
`;return typeof n=="function"&&n(null,p),p};const Xa=fa,Qt=zr,on=tn,Za=rn;function Xt(e,t,r,n,o){const a=[].slice.call(arguments,1),s=a.length,i=typeof a[s-1]=="function";if(!i&&!Xa())throw new Error("Callback required as last argument");if(i){if(s<2)throw new Error("Too few arguments provided");s===2?(o=r,r=t,t=n=void 0):s===3&&(t.getContext&&typeof o>"u"?(o=n,n=void 0):(o=n,n=r,r=t,t=void 0))}else{if(s<1)throw new Error("Too few arguments provided");return s===1?(r=t,t=n=void 0):s===2&&!t.getContext&&(n=r,r=t,t=void 0),new Promise(function(l,u){try{const f=Qt.create(r,n);l(e(f,t,n))}catch(f){u(f)}})}try{const l=Qt.create(r,n);o(null,e(l,t,n))}catch(l){o(l)}}ct.create=Qt.create,ct.toCanvas=Xt.bind(null,on.render),ct.toDataURL=Xt.bind(null,on.renderToDataURL),ct.toString=Xt.bind(null,function(e,t,r){return Za.render(e,r)});const ei=.1,an=2.5,Re=7;function Zt(e,t,r){return e===t?!1:(e-t<0?t-e:e-t)<=r+ei}function ti(e,t){const r=Array.prototype.slice.call(ct.create(e,{errorCorrectionLevel:t}).modules.data,0),n=Math.sqrt(r.length);return r.reduce((o,a,s)=>(s%n===0?o.push([a]):o[o.length-1].push(a))&&o,[])}const ri={generate(e,t,r,n="#141414"){const o="transparent",s=ti(e,"Q"),i=t/s.length,l=[{x:0,y:0},{x:1,y:0},{x:0,y:1}],u=[];l.forEach(({x:y,y:C})=>{const b=(s.length-Re)*i*y,w=(s.length-Re)*i*C,S=.3;for(let E=0;E<l.length;E+=1){const g=i*(Re-E*2);u.push(K.jsx("rect",{fill:E===2?n:o,width:E===0?g-5:g,rx:E===0?(g-5)*S:g*S,ry:E===0?(g-5)*S:g*S,stroke:n,strokeWidth:E===0?5:0,height:E===0?g-5:g,x:E===0?w+i*E+5/2:w+i*E,y:E===0?b+i*E+5/2:b+i*E}))}});const f=Math.floor((r+25)/i),m=s.length/2-f/2,p=s.length/2+f/2-1,h=[];s.forEach((y,C)=>{y.forEach((b,w)=>{if(s[C][w]&&!(C<Re&&w<Re||C>s.length-(Re+1)&&w<Re||C<Re&&w>s.length-(Re+1))&&!(C>m&&C<p&&w>m&&w<p)){const S=C*i+i/2,E=w*i+i/2;h.push([S,E])}})});const T={};return h.forEach(([y,C])=>{var b;T[y]?(b=T[y])==null||b.push(C):T[y]=[C]}),Object.entries(T).map(([y,C])=>{const b=C.filter(w=>C.every(S=>!Zt(w,S,i)));return[Number(y),b]}).forEach(([y,C])=>{C.forEach(b=>{u.push(K.jsx("circle",{cx:y,cy:b,fill:n,r:i/an}))})}),Object.entries(T).filter(([y,C])=>C.length>1).map(([y,C])=>{const b=C.filter(w=>C.some(S=>Zt(w,S,i)));return[Number(y),b]}).map(([y,C])=>{C.sort((w,S)=>w<S?-1:1);const b=[];for(const w of C){const S=b.find(E=>E.some(g=>Zt(w,g,i)));S?S.push(w):b.push([w])}return[y,b.map(w=>[w[0],w[w.length-1]])]}).forEach(([y,C])=>{C.forEach(([b,w])=>{u.push(K.jsx("line",{x1:y,x2:y,y1:b,y2:w,stroke:n,strokeWidth:i/(an/2),strokeLinecap:"round"}))})}),u}},ni={sm:120,md:200,lg:256};function oi({uri:e,size:t="md",color:r,iconName:n="didit",className:o,...a}){const s=typeof t=="number"?t:ni[t],i=ae.useMemo(()=>ri.generate(e,s,s/4,r),[e,s,r]),l=ge(["size-fit","flex items-center justify-center","relative overflow-hidden aspect-square"],o),u=ge(["size-full absolute top-1/2 left-1/2","transform -translate-x-1/2 -translate-y-1/2 scale-[0.25]","text-primary rounded-3xl overflow-hidden"]);return K.jsxs("div",{className:l,...a,children:[K.jsx(lt,{type:n,className:u}),K.jsx("svg",{width:s,height:s,children:i})]})}const ai=Ve(["w-full rounded-[32px] overflow-hidden bg-background"],{variants:{padding:{none:"p-0",sm:"p-4",md:"p-6",lg:"p-8"},shadow:{true:"shadow-card"}},defaultVariants:{padding:"md",shadow:!1}});function ii({className:e,padding:t,shadow:r,children:n,...o}){return K.jsx("div",{className:ge(ai({shadow:r,padding:t,className:e})),...o,children:n})}var er={exports:{}},Ie={},tr={exports:{}},Rt={exports:{}},X={};/** @license React v16.13.1
|
|
38
38
|
* react-is.production.min.js
|
|
39
39
|
*
|
|
40
40
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
@@ -48,7 +48,7 @@ Minimum version required to store current data is: `+a+`.
|
|
|
48
48
|
*
|
|
49
49
|
* This source code is licensed under the MIT license found in the
|
|
50
50
|
* LICENSE file in the root directory of this source tree.
|
|
51
|
-
*/var ln;function li(){return ln||(ln=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,T=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function S(O){return typeof O=="string"||typeof O=="function"||O===n||O===u||O===a||O===o||O===m||O===p||typeof O=="object"&&O!==null&&(O.$$typeof===T||O.$$typeof===h||O.$$typeof===s||O.$$typeof===i||O.$$typeof===f||O.$$typeof===C||O.$$typeof===b||O.$$typeof===w||O.$$typeof===y)}function E(O){if(typeof O=="object"&&O!==null){var we=O.$$typeof;switch(we){case t:var
|
|
51
|
+
*/var ln;function li(){return ln||(ln=1,process.env.NODE_ENV!=="production"&&function(){var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,o=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,s=e?Symbol.for("react.provider"):60109,i=e?Symbol.for("react.context"):60110,l=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,f=e?Symbol.for("react.forward_ref"):60112,m=e?Symbol.for("react.suspense"):60113,p=e?Symbol.for("react.suspense_list"):60120,h=e?Symbol.for("react.memo"):60115,T=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,C=e?Symbol.for("react.fundamental"):60117,b=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function S(O){return typeof O=="string"||typeof O=="function"||O===n||O===u||O===a||O===o||O===m||O===p||typeof O=="object"&&O!==null&&(O.$$typeof===T||O.$$typeof===h||O.$$typeof===s||O.$$typeof===i||O.$$typeof===f||O.$$typeof===C||O.$$typeof===b||O.$$typeof===w||O.$$typeof===y)}function E(O){if(typeof O=="object"&&O!==null){var we=O.$$typeof;switch(we){case t:var tt=O.type;switch(tt){case l:case u:case n:case a:case o:case m:return tt;default:var Ue=tt&&tt.$$typeof;switch(Ue){case i:case f:case T:case h:case s:return Ue;default:return we}}case r:return we}}}var g=l,$=u,te=i,le=s,se=t,ce=f,de=n,U=T,Q=h,k=r,A=a,W=o,d=m,P=!1;function re(O){return P||(P=!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.")),v(O)||E(O)===l}function v(O){return E(O)===u}function _(O){return E(O)===i}function N(O){return E(O)===s}function L(O){return typeof O=="object"&&O!==null&&O.$$typeof===t}function I(O){return E(O)===f}function q(O){return E(O)===n}function j(O){return E(O)===T}function B(O){return E(O)===h}function H(O){return E(O)===r}function J(O){return E(O)===a}function V(O){return E(O)===o}function me(O){return E(O)===m}Z.AsyncMode=g,Z.ConcurrentMode=$,Z.ContextConsumer=te,Z.ContextProvider=le,Z.Element=se,Z.ForwardRef=ce,Z.Fragment=de,Z.Lazy=U,Z.Memo=Q,Z.Portal=k,Z.Profiler=A,Z.StrictMode=W,Z.Suspense=d,Z.isAsyncMode=re,Z.isConcurrentMode=v,Z.isContextConsumer=_,Z.isContextProvider=N,Z.isElement=L,Z.isForwardRef=I,Z.isFragment=q,Z.isLazy=j,Z.isMemo=B,Z.isPortal=H,Z.isProfiler=J,Z.isStrictMode=V,Z.isSuspense=me,Z.isValidElementType=S,Z.typeOf=E}()),Z}var cn;function un(){return cn||(cn=1,process.env.NODE_ENV==="production"?Rt.exports=si():Rt.exports=li()),Rt.exports}/*
|
|
52
52
|
object-assign
|
|
53
53
|
(c) Sindre Sorhus
|
|
54
54
|
@license MIT
|
|
@@ -63,11 +63,11 @@ Valid keys: `+JSON.stringify(Object.keys(v),null," "));var O=me(B,V,I,q,j+"."+V
|
|
|
63
63
|
* http://jquery.org/license
|
|
64
64
|
*
|
|
65
65
|
* http://api.jqueryui.com/category/ui-core/
|
|
66
|
-
*/var r="none",n="contents",o=/input|select|textarea|button|object|iframe/;function a(m,p){return p.getPropertyValue("overflow")!=="visible"||m.scrollWidth<=0&&m.scrollHeight<=0}function s(m){var p=m.offsetWidth<=0&&m.offsetHeight<=0;if(p&&!m.innerHTML)return!0;try{var h=window.getComputedStyle(m),T=h.getPropertyValue("display");return p?T!==n&&a(m,h):T===r}catch{return console.warn("Failed to inspect element style"),!1}}function i(m){for(var p=m,h=m.getRootNode&&m.getRootNode();p&&p!==document.body;){if(h&&p===h&&(p=h.host.parentNode),s(p))return!1;p=p.parentNode}return!0}function l(m,p){var h=m.nodeName.toLowerCase(),T=o.test(h)&&!m.disabled||h==="a"&&m.href||p;return T&&i(m)}function u(m){var p=m.getAttribute("tabindex");p===null&&(p=void 0);var h=isNaN(p);return(h||p>=0)&&l(m,!h)}function f(m){var p=[].slice.call(m.querySelectorAll("*"),0).reduce(function(h,T){return h.concat(T.shadowRoot?f(T.shadowRoot):[T])},[]);return p.filter(u)}e.exports=t.default})(ur,ur.exports);var bn=ur.exports;Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.resetState=yi,Ee.log=bi,Ee.handleBlur=pt,Ee.handleFocus=mt,Ee.markForFocusLater=wi,Ee.returnFocus=xi,Ee.popWithoutFocus=Ei,Ee.setupScopedFocus=Ci,Ee.teardownScopedFocus=_i;var gi=bn,hi=vi(gi);function vi(e){return e&&e.__esModule?e:{default:e}}var Fe=[],
|
|
66
|
+
*/var r="none",n="contents",o=/input|select|textarea|button|object|iframe/;function a(m,p){return p.getPropertyValue("overflow")!=="visible"||m.scrollWidth<=0&&m.scrollHeight<=0}function s(m){var p=m.offsetWidth<=0&&m.offsetHeight<=0;if(p&&!m.innerHTML)return!0;try{var h=window.getComputedStyle(m),T=h.getPropertyValue("display");return p?T!==n&&a(m,h):T===r}catch{return console.warn("Failed to inspect element style"),!1}}function i(m){for(var p=m,h=m.getRootNode&&m.getRootNode();p&&p!==document.body;){if(h&&p===h&&(p=h.host.parentNode),s(p))return!1;p=p.parentNode}return!0}function l(m,p){var h=m.nodeName.toLowerCase(),T=o.test(h)&&!m.disabled||h==="a"&&m.href||p;return T&&i(m)}function u(m){var p=m.getAttribute("tabindex");p===null&&(p=void 0);var h=isNaN(p);return(h||p>=0)&&l(m,!h)}function f(m){var p=[].slice.call(m.querySelectorAll("*"),0).reduce(function(h,T){return h.concat(T.shadowRoot?f(T.shadowRoot):[T])},[]);return p.filter(u)}e.exports=t.default})(ur,ur.exports);var bn=ur.exports;Object.defineProperty(Ee,"__esModule",{value:!0}),Ee.resetState=yi,Ee.log=bi,Ee.handleBlur=pt,Ee.handleFocus=mt,Ee.markForFocusLater=wi,Ee.returnFocus=xi,Ee.popWithoutFocus=Ei,Ee.setupScopedFocus=Ci,Ee.teardownScopedFocus=_i;var gi=bn,hi=vi(gi);function vi(e){return e&&e.__esModule?e:{default:e}}var Fe=[],Je=null,fr=!1;function yi(){Fe=[]}function bi(){process.env.NODE_ENV!=="production"&&(console.log("focusManager ----------"),Fe.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))}function pt(){fr=!0}function mt(){if(fr){if(fr=!1,!Je)return;setTimeout(function(){if(!Je.contains(document.activeElement)){var e=(0,hi.default)(Je)[0]||Je;e.focus()}},0)}}function wi(){Fe.push(document.activeElement)}function xi(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{Fe.length!==0&&(t=Fe.pop(),t.focus({preventScroll:e}));return}catch{console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}}function Ei(){Fe.length>0&&Fe.pop()}function Ci(e){Je=e,window.addEventListener?(window.addEventListener("blur",pt,!1),document.addEventListener("focus",mt,!0)):(window.attachEvent("onBlur",pt),document.attachEvent("onFocus",mt))}function _i(){Je=null,window.addEventListener?(window.removeEventListener("blur",pt),document.removeEventListener("focus",mt)):(window.detachEvent("onBlur",pt),document.detachEvent("onFocus",mt))}var dr={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=s;var r=bn,n=o(r);function o(i){return i&&i.__esModule?i:{default:i}}function a(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:document;return i.activeElement.shadowRoot?a(i.activeElement.shadowRoot):i.activeElement}function s(i,l){var u=(0,n.default)(i);if(!u.length){l.preventDefault();return}var f=void 0,m=l.shiftKey,p=u[0],h=u[u.length-1],T=a();if(i===T){if(!m)return;f=h}if(h===T&&!m&&(f=p),p===T&&m&&(f=h),f){l.preventDefault(),f.focus();return}var y=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),C=y!=null&&y[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(C){var b=u.indexOf(T);if(b>-1&&(b+=m?-1:1),f=u[b],typeof f>"u"){l.preventDefault(),f=m?h:p,f.focus();return}l.preventDefault(),f.focus()}}e.exports=t.default})(dr,dr.exports);var Si=dr.exports,Ce={},Ti=process.env.NODE_ENV!=="production",wn=function(){};if(Ti){var Oi=function(t,r){var n=arguments.length;r=new Array(n>1?n-1:0);for(var o=1;o<n;o++)r[o-1]=arguments[o];var a=0,s="Warning: "+t.replace(/%s/g,function(){return r[a++]});typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}};wn=function(e,t,r){var n=arguments.length;r=new Array(n>2?n-2:0);for(var o=2;o<n;o++)r[o-2]=arguments[o];if(t===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");e||Oi.apply(null,[t].concat(r))}}var Ri=wn,_e={},xn={exports:{}};/*!
|
|
67
67
|
Copyright (c) 2015 Jed Watson.
|
|
68
68
|
Based on code that is Copyright 2013-2015, Facebook, Inc.
|
|
69
69
|
All rights reserved.
|
|
70
|
-
*/(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),r={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=r:window.ExecutionEnvironment=r})()})(xn);var Mi=xn.exports;Object.defineProperty(_e,"__esModule",{value:!0}),_e.canUseDOM=_e.SafeNodeList=_e.SafeHTMLCollection=void 0;var ki=Mi,Pi=Ai(ki);function Ai(e){return e&&e.__esModule?e:{default:e}}var Mt=Pi.default,Ni=Mt.canUseDOM?window.HTMLElement:{};_e.SafeHTMLCollection=Mt.canUseDOM?window.HTMLCollection:{},_e.SafeNodeList=Mt.canUseDOM?window.NodeList:{},_e.canUseDOM=Mt.canUseDOM,_e.default=Ni,Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.resetState=ji,Ce.log=Bi,Ce.assertNodeList=En,Ce.setElement=zi,Ce.validateElement=pr,Ce.hide=Ui,Ce.show=Wi,Ce.documentNotReadyOrSSRTesting=$i;var Li=Ri,Ii=Di(Li),Fi=_e;function Di(e){return e&&e.__esModule?e:{default:e}}var be=null;function ji(){be&&(be.removeAttribute?be.removeAttribute("aria-hidden"):be.length!=null?be.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(be).forEach(function(e){return e.removeAttribute("aria-hidden")})),be=null}function Bi(){if(process.env.NODE_ENV!=="production"){var e=be||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}}function En(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function zi(e){var t=e;if(typeof t=="string"&&Fi.canUseDOM){var r=document.querySelectorAll(t);En(r,t),t=r}return be=t||be,be}function pr(e){var t=e||be;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,Ii.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function Ui(e){var t=!0,r=!1,n=void 0;try{for(var o=pr(e)[Symbol.iterator](),a;!(t=(a=o.next()).done);t=!0){var s=a.value;s.setAttribute("aria-hidden","true")}}catch(i){r=!0,n=i}finally{try{!t&&o.return&&o.return()}finally{if(r)throw n}}}function Wi(e){var t=!0,r=!1,n=void 0;try{for(var o=pr(e)[Symbol.iterator](),a;!(t=(a=o.next()).done);t=!0){var s=a.value;s.removeAttribute("aria-hidden")}}catch(i){r=!0,n=i}finally{try{!t&&o.return&&o.return()}finally{if(r)throw n}}}function $i(){be=null}var
|
|
70
|
+
*/(function(e){(function(){var t=!!(typeof window<"u"&&window.document&&window.document.createElement),r={canUseDOM:t,canUseWorkers:typeof Worker<"u",canUseEventListeners:t&&!!(window.addEventListener||window.attachEvent),canUseViewport:t&&!!window.screen};e.exports?e.exports=r:window.ExecutionEnvironment=r})()})(xn);var Mi=xn.exports;Object.defineProperty(_e,"__esModule",{value:!0}),_e.canUseDOM=_e.SafeNodeList=_e.SafeHTMLCollection=void 0;var ki=Mi,Pi=Ai(ki);function Ai(e){return e&&e.__esModule?e:{default:e}}var Mt=Pi.default,Ni=Mt.canUseDOM?window.HTMLElement:{};_e.SafeHTMLCollection=Mt.canUseDOM?window.HTMLCollection:{},_e.SafeNodeList=Mt.canUseDOM?window.NodeList:{},_e.canUseDOM=Mt.canUseDOM,_e.default=Ni,Object.defineProperty(Ce,"__esModule",{value:!0}),Ce.resetState=ji,Ce.log=Bi,Ce.assertNodeList=En,Ce.setElement=zi,Ce.validateElement=pr,Ce.hide=Ui,Ce.show=Wi,Ce.documentNotReadyOrSSRTesting=$i;var Li=Ri,Ii=Di(Li),Fi=_e;function Di(e){return e&&e.__esModule?e:{default:e}}var be=null;function ji(){be&&(be.removeAttribute?be.removeAttribute("aria-hidden"):be.length!=null?be.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(be).forEach(function(e){return e.removeAttribute("aria-hidden")})),be=null}function Bi(){if(process.env.NODE_ENV!=="production"){var e=be||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}}function En(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function zi(e){var t=e;if(typeof t=="string"&&Fi.canUseDOM){var r=document.querySelectorAll(t);En(r,t),t=r}return be=t||be,be}function pr(e){var t=e||be;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,Ii.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}function Ui(e){var t=!0,r=!1,n=void 0;try{for(var o=pr(e)[Symbol.iterator](),a;!(t=(a=o.next()).done);t=!0){var s=a.value;s.setAttribute("aria-hidden","true")}}catch(i){r=!0,n=i}finally{try{!t&&o.return&&o.return()}finally{if(r)throw n}}}function Wi(e){var t=!0,r=!1,n=void 0;try{for(var o=pr(e)[Symbol.iterator](),a;!(t=(a=o.next()).done);t=!0){var s=a.value;s.removeAttribute("aria-hidden")}}catch(i){r=!0,n=i}finally{try{!t&&o.return&&o.return()}finally{if(r)throw n}}}function $i(){be=null}var Qe={};Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.resetState=Hi,Qe.log=Vi;var De={},je={};function Cn(e,t){e.classList.remove(t)}function Hi(){var e=document.getElementsByTagName("html")[0];for(var t in De)Cn(e,De[t]);var r=document.body;for(var n in je)Cn(r,je[n]);De={},je={}}function Vi(){if(process.env.NODE_ENV!=="production"){var e=document.getElementsByTagName("html")[0].className,t=`Show tracked classes:
|
|
71
71
|
|
|
72
72
|
`;t+="<html /> ("+e+`):
|
|
73
73
|
`;for(var r in De)t+=" "+r+" "+De[r]+`
|
|
@@ -76,7 +76,7 @@ Valid keys: `+JSON.stringify(Object.keys(v),null," "));var O=me(B,V,I,q,j+"."+V
|
|
|
76
76
|
doc.body (`+e+`):
|
|
77
77
|
`;for(var n in je)t+=" "+n+" "+je[n]+`
|
|
78
78
|
`;t+=`
|
|
79
|
-
`,console.log(t)}}var qi=function(t,r){return t[r]||(t[r]=0),t[r]+=1,r},Yi=function(t,r){return t[r]&&(t[r]-=1),r},Ki=function(t,r,n){n.forEach(function(o){qi(r,o),t.add(o)})},Gi=function(t,r,n){n.forEach(function(o){Yi(r,o),r[o]===0&&t.remove(o)})};Je.add=function(t,r){return Ki(t.classList,t.nodeName.toLowerCase()=="html"?De:je,r.split(" "))},Je.remove=function(t,r){return Gi(t.classList,t.nodeName.toLowerCase()=="html"?De:je,r.split(" "))};var Qe={};Object.defineProperty(Qe,"__esModule",{value:!0}),Qe.log=Qi,Qe.resetState=Xi;function Ji(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var _n=function e(){var t=this;Ji(this,e),this.register=function(r){if(t.openInstances.indexOf(r)!==-1){process.env.NODE_ENV!=="production"&&console.warn("React-Modal: Cannot register modal instance that's already open");return}t.openInstances.push(r),t.emit("register")},this.deregister=function(r){var n=t.openInstances.indexOf(r);if(n===-1){process.env.NODE_ENV!=="production"&&console.warn("React-Modal: Unable to deregister "+r+" as it was never registered");return}t.openInstances.splice(n,1),t.emit("deregister")},this.subscribe=function(r){t.subscribers.push(r)},this.emit=function(r){t.subscribers.forEach(function(n){return n(r,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},kt=new _n;function Qi(){console.log("portalOpenInstances ----------"),console.log(kt.openInstances.length),kt.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function Xi(){kt=new _n}Qe.default=kt;var mr={};Object.defineProperty(mr,"__esModule",{value:!0}),mr.resetState=rs,mr.log=ns;var Zi=Qe,es=ts(Zi);function ts(e){return e&&e.__esModule?e:{default:e}}var pe=void 0,Se=void 0,Be=[];function rs(){for(var e=[pe,Se],t=0;t<e.length;t++){var r=e[t];r&&r.parentNode&&r.parentNode.removeChild(r)}pe=Se=null,Be=[]}function ns(){console.log("bodyTrap ----------"),console.log(Be.length);for(var e=[pe,Se],t=0;t<e.length;t++){var r=e[t],n=r||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")}function Sn(){if(Be.length===0){process.env.NODE_ENV!=="production"&&console.warn("React-Modal: Open instances > 0 expected");return}Be[Be.length-1].focusContent()}function os(e,t){!pe&&!Se&&(pe=document.createElement("div"),pe.setAttribute("data-react-modal-body-trap",""),pe.style.position="absolute",pe.style.opacity="0",pe.setAttribute("tabindex","0"),pe.addEventListener("focus",Sn),Se=pe.cloneNode(),Se.addEventListener("focus",Sn)),Be=t,Be.length>0?(document.body.firstChild!==pe&&document.body.insertBefore(pe,document.body.firstChild),document.body.lastChild!==Se&&document.body.appendChild(Se)):(pe.parentElement&&pe.parentElement.removeChild(pe),Se.parentElement&&Se.parentElement.removeChild(Se))}es.default.subscribe(os),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(k){for(var A=1;A<arguments.length;A++){var W=arguments[A];for(var d in W)Object.prototype.hasOwnProperty.call(W,d)&&(k[d]=W[d])}return k},n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},o=function(){function k(A,W){for(var d=0;d<W.length;d++){var P=W[d];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(A,P.key,P)}}return function(A,W,d){return W&&k(A.prototype,W),d&&k(A,d),A}}(),a=oe,s=yn,i=g(s),l=Ee,u=E(l),f=Si,m=g(f),p=Ce,h=E(p),T=Je,y=E(T),C=_e,b=g(C),w=Qe,S=g(w);function E(k){if(k&&k.__esModule)return k;var A={};if(k!=null)for(var W in k)Object.prototype.hasOwnProperty.call(k,W)&&(A[W]=k[W]);return A.default=k,A}function g(k){return k&&k.__esModule?k:{default:k}}function $(k,A){if(!(k instanceof A))throw new TypeError("Cannot call a class as a function")}function te(k,A){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:k}function le(k,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);k.prototype=Object.create(A&&A.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(k,A):k.__proto__=A)}var se={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},ce=function(A){return A.code==="Tab"||A.keyCode===9},de=function(A){return A.code==="Escape"||A.keyCode===27},U=0,Q=function(k){le(A,k);function A(W){$(this,A);var d=te(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,W));return d.setOverlayRef=function(P){d.overlay=P,d.props.overlayRef&&d.props.overlayRef(P)},d.setContentRef=function(P){d.content=P,d.props.contentRef&&d.props.contentRef(P)},d.afterClose=function(){var P=d.props,re=P.appElement,v=P.ariaHideApp,_=P.htmlOpenClassName,N=P.bodyOpenClassName,L=P.parentSelector,I=L&&L().ownerDocument||document;N&&y.remove(I.body,N),_&&y.remove(I.getElementsByTagName("html")[0],_),v&&U>0&&(U-=1,U===0&&h.show(re)),d.props.shouldFocusAfterRender&&(d.props.shouldReturnFocusAfterClose?(u.returnFocus(d.props.preventScroll),u.teardownScopedFocus()):u.popWithoutFocus()),d.props.onAfterClose&&d.props.onAfterClose(),S.default.deregister(d)},d.open=function(){d.beforeOpen(),d.state.afterOpen&&d.state.beforeClose?(clearTimeout(d.closeTimer),d.setState({beforeClose:!1})):(d.props.shouldFocusAfterRender&&(u.setupScopedFocus(d.node),u.markForFocusLater()),d.setState({isOpen:!0},function(){d.openAnimationFrame=requestAnimationFrame(function(){d.setState({afterOpen:!0}),d.props.isOpen&&d.props.onAfterOpen&&d.props.onAfterOpen({overlayEl:d.overlay,contentEl:d.content})})}))},d.close=function(){d.props.closeTimeoutMS>0?d.closeWithTimeout():d.closeWithoutTimeout()},d.focusContent=function(){return d.content&&!d.contentHasFocus()&&d.content.focus({preventScroll:!0})},d.closeWithTimeout=function(){var P=Date.now()+d.props.closeTimeoutMS;d.setState({beforeClose:!0,closesAt:P},function(){d.closeTimer=setTimeout(d.closeWithoutTimeout,d.state.closesAt-Date.now())})},d.closeWithoutTimeout=function(){d.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},d.afterClose)},d.handleKeyDown=function(P){ce(P)&&(0,m.default)(d.content,P),d.props.shouldCloseOnEsc&&de(P)&&(P.stopPropagation(),d.requestClose(P))},d.handleOverlayOnClick=function(P){d.shouldClose===null&&(d.shouldClose=!0),d.shouldClose&&d.props.shouldCloseOnOverlayClick&&(d.ownerHandlesClose()?d.requestClose(P):d.focusContent()),d.shouldClose=null},d.handleContentOnMouseUp=function(){d.shouldClose=!1},d.handleOverlayOnMouseDown=function(P){!d.props.shouldCloseOnOverlayClick&&P.target==d.overlay&&P.preventDefault()},d.handleContentOnClick=function(){d.shouldClose=!1},d.handleContentOnMouseDown=function(){d.shouldClose=!1},d.requestClose=function(P){return d.ownerHandlesClose()&&d.props.onRequestClose(P)},d.ownerHandlesClose=function(){return d.props.onRequestClose},d.shouldBeClosed=function(){return!d.state.isOpen&&!d.state.beforeClose},d.contentHasFocus=function(){return document.activeElement===d.content||d.content.contains(document.activeElement)},d.buildClassName=function(P,re){var v=(typeof re>"u"?"undefined":n(re))==="object"?re:{base:se[P],afterOpen:se[P]+"--after-open",beforeClose:se[P]+"--before-close"},_=v.base;return d.state.afterOpen&&(_=_+" "+v.afterOpen),d.state.beforeClose&&(_=_+" "+v.beforeClose),typeof re=="string"&&re?_+" "+re:_},d.attributesFromObject=function(P,re){return Object.keys(re).reduce(function(v,_){return v[P+"-"+_]=re[_],v},{})},d.state={afterOpen:!1,beforeClose:!1},d.shouldClose=null,d.moveFromContentToOverlay=null,d}return o(A,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(d,P){process.env.NODE_ENV!=="production"&&(d.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),d.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!d.isOpen?this.open():!this.props.isOpen&&d.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!P.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var d=this.props,P=d.appElement,re=d.ariaHideApp,v=d.htmlOpenClassName,_=d.bodyOpenClassName,N=d.parentSelector,L=N&&N().ownerDocument||document;_&&y.add(L.body,_),v&&y.add(L.getElementsByTagName("html")[0],v),re&&(U+=1,h.hide(P)),S.default.register(this)}},{key:"render",value:function(){var d=this.props,P=d.id,re=d.className,v=d.overlayClassName,_=d.defaultStyles,N=d.children,L=re?{}:_.content,I=v?{}:_.overlay;if(this.shouldBeClosed())return null;var q={ref:this.setOverlayRef,className:this.buildClassName("overlay",v),style:r({},I,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},j=r({id:P,ref:this.setContentRef,style:r({},L,this.props.style.content),className:this.buildClassName("content",re),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),B=this.props.contentElement(j,N);return this.props.overlayElement(q,B)}}]),A}(a.Component);Q.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},Q.propTypes={isOpen:i.default.bool.isRequired,defaultStyles:i.default.shape({content:i.default.object,overlay:i.default.object}),style:i.default.shape({content:i.default.object,overlay:i.default.object}),className:i.default.oneOfType([i.default.string,i.default.object]),overlayClassName:i.default.oneOfType([i.default.string,i.default.object]),parentSelector:i.default.func,bodyOpenClassName:i.default.string,htmlOpenClassName:i.default.string,ariaHideApp:i.default.bool,appElement:i.default.oneOfType([i.default.instanceOf(b.default),i.default.instanceOf(C.SafeHTMLCollection),i.default.instanceOf(C.SafeNodeList),i.default.arrayOf(i.default.instanceOf(b.default))]),onAfterOpen:i.default.func,onAfterClose:i.default.func,onRequestClose:i.default.func,closeTimeoutMS:i.default.number,shouldFocusAfterRender:i.default.bool,shouldCloseOnOverlayClick:i.default.bool,shouldReturnFocusAfterClose:i.default.bool,preventScroll:i.default.bool,role:i.default.string,contentLabel:i.default.string,aria:i.default.object,data:i.default.object,children:i.default.node,shouldCloseOnEsc:i.default.bool,overlayRef:i.default.func,contentRef:i.default.func,id:i.default.string,overlayElement:i.default.func,contentElement:i.default.func,testId:i.default.string},t.default=Q,e.exports=t.default}(cr,cr.exports);var as=cr.exports;function Tn(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function On(e){function t(r){var n=this.constructor.getDerivedStateFromProps(e,r);return n??null}this.setState(t.bind(this))}function Rn(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}Tn.__suppressDeprecationWarning=!0,On.__suppressDeprecationWarning=!0,Rn.__suppressDeprecationWarning=!0;function is(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var r=null,n=null,o=null;if(typeof t.componentWillMount=="function"?r="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(r="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?n="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(n="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?o="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),r!==null||n!==null||o!==null){var a=e.displayName||e.name,s=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
79
|
+
`,console.log(t)}}var qi=function(t,r){return t[r]||(t[r]=0),t[r]+=1,r},Yi=function(t,r){return t[r]&&(t[r]-=1),r},Ki=function(t,r,n){n.forEach(function(o){qi(r,o),t.add(o)})},Gi=function(t,r,n){n.forEach(function(o){Yi(r,o),r[o]===0&&t.remove(o)})};Qe.add=function(t,r){return Ki(t.classList,t.nodeName.toLowerCase()=="html"?De:je,r.split(" "))},Qe.remove=function(t,r){return Gi(t.classList,t.nodeName.toLowerCase()=="html"?De:je,r.split(" "))};var Xe={};Object.defineProperty(Xe,"__esModule",{value:!0}),Xe.log=Qi,Xe.resetState=Xi;function Ji(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var _n=function e(){var t=this;Ji(this,e),this.register=function(r){if(t.openInstances.indexOf(r)!==-1){process.env.NODE_ENV!=="production"&&console.warn("React-Modal: Cannot register modal instance that's already open");return}t.openInstances.push(r),t.emit("register")},this.deregister=function(r){var n=t.openInstances.indexOf(r);if(n===-1){process.env.NODE_ENV!=="production"&&console.warn("React-Modal: Unable to deregister "+r+" as it was never registered");return}t.openInstances.splice(n,1),t.emit("deregister")},this.subscribe=function(r){t.subscribers.push(r)},this.emit=function(r){t.subscribers.forEach(function(n){return n(r,t.openInstances.slice())})},this.openInstances=[],this.subscribers=[]},kt=new _n;function Qi(){console.log("portalOpenInstances ----------"),console.log(kt.openInstances.length),kt.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function Xi(){kt=new _n}Xe.default=kt;var mr={};Object.defineProperty(mr,"__esModule",{value:!0}),mr.resetState=rs,mr.log=ns;var Zi=Xe,es=ts(Zi);function ts(e){return e&&e.__esModule?e:{default:e}}var pe=void 0,Se=void 0,Be=[];function rs(){for(var e=[pe,Se],t=0;t<e.length;t++){var r=e[t];r&&r.parentNode&&r.parentNode.removeChild(r)}pe=Se=null,Be=[]}function ns(){console.log("bodyTrap ----------"),console.log(Be.length);for(var e=[pe,Se],t=0;t<e.length;t++){var r=e[t],n=r||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")}function Sn(){if(Be.length===0){process.env.NODE_ENV!=="production"&&console.warn("React-Modal: Open instances > 0 expected");return}Be[Be.length-1].focusContent()}function os(e,t){!pe&&!Se&&(pe=document.createElement("div"),pe.setAttribute("data-react-modal-body-trap",""),pe.style.position="absolute",pe.style.opacity="0",pe.setAttribute("tabindex","0"),pe.addEventListener("focus",Sn),Se=pe.cloneNode(),Se.addEventListener("focus",Sn)),Be=t,Be.length>0?(document.body.firstChild!==pe&&document.body.insertBefore(pe,document.body.firstChild),document.body.lastChild!==Se&&document.body.appendChild(Se)):(pe.parentElement&&pe.parentElement.removeChild(pe),Se.parentElement&&Se.parentElement.removeChild(Se))}es.default.subscribe(os),function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(k){for(var A=1;A<arguments.length;A++){var W=arguments[A];for(var d in W)Object.prototype.hasOwnProperty.call(W,d)&&(k[d]=W[d])}return k},n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(k){return typeof k}:function(k){return k&&typeof Symbol=="function"&&k.constructor===Symbol&&k!==Symbol.prototype?"symbol":typeof k},o=function(){function k(A,W){for(var d=0;d<W.length;d++){var P=W[d];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(A,P.key,P)}}return function(A,W,d){return W&&k(A.prototype,W),d&&k(A,d),A}}(),a=ae,s=yn,i=g(s),l=Ee,u=E(l),f=Si,m=g(f),p=Ce,h=E(p),T=Qe,y=E(T),C=_e,b=g(C),w=Xe,S=g(w);function E(k){if(k&&k.__esModule)return k;var A={};if(k!=null)for(var W in k)Object.prototype.hasOwnProperty.call(k,W)&&(A[W]=k[W]);return A.default=k,A}function g(k){return k&&k.__esModule?k:{default:k}}function $(k,A){if(!(k instanceof A))throw new TypeError("Cannot call a class as a function")}function te(k,A){if(!k)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return A&&(typeof A=="object"||typeof A=="function")?A:k}function le(k,A){if(typeof A!="function"&&A!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof A);k.prototype=Object.create(A&&A.prototype,{constructor:{value:k,enumerable:!1,writable:!0,configurable:!0}}),A&&(Object.setPrototypeOf?Object.setPrototypeOf(k,A):k.__proto__=A)}var se={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},ce=function(A){return A.code==="Tab"||A.keyCode===9},de=function(A){return A.code==="Escape"||A.keyCode===27},U=0,Q=function(k){le(A,k);function A(W){$(this,A);var d=te(this,(A.__proto__||Object.getPrototypeOf(A)).call(this,W));return d.setOverlayRef=function(P){d.overlay=P,d.props.overlayRef&&d.props.overlayRef(P)},d.setContentRef=function(P){d.content=P,d.props.contentRef&&d.props.contentRef(P)},d.afterClose=function(){var P=d.props,re=P.appElement,v=P.ariaHideApp,_=P.htmlOpenClassName,N=P.bodyOpenClassName,L=P.parentSelector,I=L&&L().ownerDocument||document;N&&y.remove(I.body,N),_&&y.remove(I.getElementsByTagName("html")[0],_),v&&U>0&&(U-=1,U===0&&h.show(re)),d.props.shouldFocusAfterRender&&(d.props.shouldReturnFocusAfterClose?(u.returnFocus(d.props.preventScroll),u.teardownScopedFocus()):u.popWithoutFocus()),d.props.onAfterClose&&d.props.onAfterClose(),S.default.deregister(d)},d.open=function(){d.beforeOpen(),d.state.afterOpen&&d.state.beforeClose?(clearTimeout(d.closeTimer),d.setState({beforeClose:!1})):(d.props.shouldFocusAfterRender&&(u.setupScopedFocus(d.node),u.markForFocusLater()),d.setState({isOpen:!0},function(){d.openAnimationFrame=requestAnimationFrame(function(){d.setState({afterOpen:!0}),d.props.isOpen&&d.props.onAfterOpen&&d.props.onAfterOpen({overlayEl:d.overlay,contentEl:d.content})})}))},d.close=function(){d.props.closeTimeoutMS>0?d.closeWithTimeout():d.closeWithoutTimeout()},d.focusContent=function(){return d.content&&!d.contentHasFocus()&&d.content.focus({preventScroll:!0})},d.closeWithTimeout=function(){var P=Date.now()+d.props.closeTimeoutMS;d.setState({beforeClose:!0,closesAt:P},function(){d.closeTimer=setTimeout(d.closeWithoutTimeout,d.state.closesAt-Date.now())})},d.closeWithoutTimeout=function(){d.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},d.afterClose)},d.handleKeyDown=function(P){ce(P)&&(0,m.default)(d.content,P),d.props.shouldCloseOnEsc&&de(P)&&(P.stopPropagation(),d.requestClose(P))},d.handleOverlayOnClick=function(P){d.shouldClose===null&&(d.shouldClose=!0),d.shouldClose&&d.props.shouldCloseOnOverlayClick&&(d.ownerHandlesClose()?d.requestClose(P):d.focusContent()),d.shouldClose=null},d.handleContentOnMouseUp=function(){d.shouldClose=!1},d.handleOverlayOnMouseDown=function(P){!d.props.shouldCloseOnOverlayClick&&P.target==d.overlay&&P.preventDefault()},d.handleContentOnClick=function(){d.shouldClose=!1},d.handleContentOnMouseDown=function(){d.shouldClose=!1},d.requestClose=function(P){return d.ownerHandlesClose()&&d.props.onRequestClose(P)},d.ownerHandlesClose=function(){return d.props.onRequestClose},d.shouldBeClosed=function(){return!d.state.isOpen&&!d.state.beforeClose},d.contentHasFocus=function(){return document.activeElement===d.content||d.content.contains(document.activeElement)},d.buildClassName=function(P,re){var v=(typeof re>"u"?"undefined":n(re))==="object"?re:{base:se[P],afterOpen:se[P]+"--after-open",beforeClose:se[P]+"--before-close"},_=v.base;return d.state.afterOpen&&(_=_+" "+v.afterOpen),d.state.beforeClose&&(_=_+" "+v.beforeClose),typeof re=="string"&&re?_+" "+re:_},d.attributesFromObject=function(P,re){return Object.keys(re).reduce(function(v,_){return v[P+"-"+_]=re[_],v},{})},d.state={afterOpen:!1,beforeClose:!1},d.shouldClose=null,d.moveFromContentToOverlay=null,d}return o(A,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(d,P){process.env.NODE_ENV!=="production"&&(d.bodyOpenClassName!==this.props.bodyOpenClassName&&console.warn('React-Modal: "bodyOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.'),d.htmlOpenClassName!==this.props.htmlOpenClassName&&console.warn('React-Modal: "htmlOpenClassName" prop has been modified. This may cause unexpected behavior when multiple modals are open.')),this.props.isOpen&&!d.isOpen?this.open():!this.props.isOpen&&d.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!P.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var d=this.props,P=d.appElement,re=d.ariaHideApp,v=d.htmlOpenClassName,_=d.bodyOpenClassName,N=d.parentSelector,L=N&&N().ownerDocument||document;_&&y.add(L.body,_),v&&y.add(L.getElementsByTagName("html")[0],v),re&&(U+=1,h.hide(P)),S.default.register(this)}},{key:"render",value:function(){var d=this.props,P=d.id,re=d.className,v=d.overlayClassName,_=d.defaultStyles,N=d.children,L=re?{}:_.content,I=v?{}:_.overlay;if(this.shouldBeClosed())return null;var q={ref:this.setOverlayRef,className:this.buildClassName("overlay",v),style:r({},I,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},j=r({id:P,ref:this.setContentRef,style:r({},L,this.props.style.content),className:this.buildClassName("content",re),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),B=this.props.contentElement(j,N);return this.props.overlayElement(q,B)}}]),A}(a.Component);Q.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},Q.propTypes={isOpen:i.default.bool.isRequired,defaultStyles:i.default.shape({content:i.default.object,overlay:i.default.object}),style:i.default.shape({content:i.default.object,overlay:i.default.object}),className:i.default.oneOfType([i.default.string,i.default.object]),overlayClassName:i.default.oneOfType([i.default.string,i.default.object]),parentSelector:i.default.func,bodyOpenClassName:i.default.string,htmlOpenClassName:i.default.string,ariaHideApp:i.default.bool,appElement:i.default.oneOfType([i.default.instanceOf(b.default),i.default.instanceOf(C.SafeHTMLCollection),i.default.instanceOf(C.SafeNodeList),i.default.arrayOf(i.default.instanceOf(b.default))]),onAfterOpen:i.default.func,onAfterClose:i.default.func,onRequestClose:i.default.func,closeTimeoutMS:i.default.number,shouldFocusAfterRender:i.default.bool,shouldCloseOnOverlayClick:i.default.bool,shouldReturnFocusAfterClose:i.default.bool,preventScroll:i.default.bool,role:i.default.string,contentLabel:i.default.string,aria:i.default.object,data:i.default.object,children:i.default.node,shouldCloseOnEsc:i.default.bool,overlayRef:i.default.func,contentRef:i.default.func,id:i.default.string,overlayElement:i.default.func,contentElement:i.default.func,testId:i.default.string},t.default=Q,e.exports=t.default}(cr,cr.exports);var as=cr.exports;function Tn(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function On(e){function t(r){var n=this.constructor.getDerivedStateFromProps(e,r);return n??null}this.setState(t.bind(this))}function Rn(e,t){try{var r=this.props,n=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(r,n)}finally{this.props=r,this.state=n}}Tn.__suppressDeprecationWarning=!0,On.__suppressDeprecationWarning=!0,Rn.__suppressDeprecationWarning=!0;function is(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if(typeof e.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function")return e;var r=null,n=null,o=null;if(typeof t.componentWillMount=="function"?r="componentWillMount":typeof t.UNSAFE_componentWillMount=="function"&&(r="UNSAFE_componentWillMount"),typeof t.componentWillReceiveProps=="function"?n="componentWillReceiveProps":typeof t.UNSAFE_componentWillReceiveProps=="function"&&(n="UNSAFE_componentWillReceiveProps"),typeof t.componentWillUpdate=="function"?o="componentWillUpdate":typeof t.UNSAFE_componentWillUpdate=="function"&&(o="UNSAFE_componentWillUpdate"),r!==null||n!==null||o!==null){var a=e.displayName||e.name,s=typeof e.getDerivedStateFromProps=="function"?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error(`Unsafe legacy lifecycles will not be called for components using new component APIs.
|
|
80
80
|
|
|
81
81
|
`+a+" uses "+s+" but also contains the following legacy lifecycles:"+(r!==null?`
|
|
82
82
|
`+r:"")+(n!==null?`
|
|
@@ -84,4 +84,4 @@ doc.body (`+e+`):
|
|
|
84
84
|
`+o:"")+`
|
|
85
85
|
|
|
86
86
|
The above lifecycles should be removed. Learn more about this warning here:
|
|
87
|
-
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=Tn,t.componentWillReceiveProps=On),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Rn;var i=t.componentDidUpdate;t.componentDidUpdate=function(u,f,m){var p=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:m;i.call(this,u,f,p)}}return e}const ss=Zn(Object.freeze(Object.defineProperty({__proto__:null,polyfill:is},Symbol.toStringTag,{value:"Module"})));Object.defineProperty(Ie,"__esModule",{value:!0}),Ie.bodyOpenClassName=Ie.portalClassName=void 0;var Mn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ls=function(){function e(t,r){for(var n=0;n<r.length;n++){var o=r[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),kn=oe,Pt=gt(kn),cs=Qn,At=gt(cs),us=yn,D=gt(us),fs=as,Pn=gt(fs),ds=Ce,ps=gs(ds),Ne=_e,An=gt(Ne),ms=ss;function gs(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function gt(e){return e&&e.__esModule?e:{default:e}}function hs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function vs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var ys=Ie.portalClassName="ReactModalPortal",bs=Ie.bodyOpenClassName="ReactModal__Body--open",ze=Ne.canUseDOM&&At.default.createPortal!==void 0,gr=function(t){return document.createElement(t)},Ln=function(){return ze?At.default.createPortal:At.default.unstable_renderSubtreeIntoContainer};function Nt(e){return e()}var Xe=function(e){vs(t,e);function t(){var r,n,o,a;hs(this,t);for(var s=arguments.length,i=Array(s),l=0;l<s;l++)i[l]=arguments[l];return a=(n=(o=Nn(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(i))),o),o.removePortal=function(){!ze&&At.default.unmountComponentAtNode(o.node);var u=Nt(o.props.parentSelector);u&&u.contains(o.node)?u.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(u){o.portal=u},o.renderPortal=function(u){var f=Ln(),m=f(o,Pt.default.createElement(Pn.default,Mn({defaultStyles:t.defaultStyles},u)),o.node);o.portalRef(m)},n),Nn(o,a)}return ls(t,[{key:"componentDidMount",value:function(){if(Ne.canUseDOM){ze||(this.node=gr("div")),this.node.className=this.props.portalClassName;var n=Nt(this.props.parentSelector);n.appendChild(this.node),!ze&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(n){var o=Nt(n.parentSelector),a=Nt(this.props.parentSelector);return{prevParent:o,nextParent:a}}},{key:"componentDidUpdate",value:function(n,o,a){if(Ne.canUseDOM){var s=this.props,i=s.isOpen,l=s.portalClassName;n.portalClassName!==l&&(this.node.className=l);var u=a.prevParent,f=a.nextParent;f!==u&&(u.removeChild(this.node),f.appendChild(this.node)),!(!n.isOpen&&!i)&&!ze&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!Ne.canUseDOM||!this.node||!this.portal)){var n=this.portal.state,o=Date.now(),a=n.isOpen&&this.props.closeTimeoutMS&&(n.closesAt||o+this.props.closeTimeoutMS);a?(n.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,a-o)):this.removePortal()}}},{key:"render",value:function(){if(!Ne.canUseDOM||!ze)return null;!this.node&&ze&&(this.node=gr("div"));var n=Ln();return n(Pt.default.createElement(Pn.default,Mn({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(n){ps.setElement(n)}}]),t}(kn.Component);Xe.propTypes={isOpen:D.default.bool.isRequired,style:D.default.shape({content:D.default.object,overlay:D.default.object}),portalClassName:D.default.string,bodyOpenClassName:D.default.string,htmlOpenClassName:D.default.string,className:D.default.oneOfType([D.default.string,D.default.shape({base:D.default.string.isRequired,afterOpen:D.default.string.isRequired,beforeClose:D.default.string.isRequired})]),overlayClassName:D.default.oneOfType([D.default.string,D.default.shape({base:D.default.string.isRequired,afterOpen:D.default.string.isRequired,beforeClose:D.default.string.isRequired})]),appElement:D.default.oneOfType([D.default.instanceOf(An.default),D.default.instanceOf(Ne.SafeHTMLCollection),D.default.instanceOf(Ne.SafeNodeList),D.default.arrayOf(D.default.instanceOf(An.default))]),onAfterOpen:D.default.func,onRequestClose:D.default.func,closeTimeoutMS:D.default.number,ariaHideApp:D.default.bool,shouldFocusAfterRender:D.default.bool,shouldCloseOnOverlayClick:D.default.bool,shouldReturnFocusAfterClose:D.default.bool,preventScroll:D.default.bool,parentSelector:D.default.func,aria:D.default.object,data:D.default.object,role:D.default.string,contentLabel:D.default.string,shouldCloseOnEsc:D.default.bool,overlayRef:D.default.func,contentRef:D.default.func,id:D.default.string,overlayElement:D.default.func,contentElement:D.default.func},Xe.defaultProps={isOpen:!1,portalClassName:ys,bodyOpenClassName:bs,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(t,r){return Pt.default.createElement("div",t,r)},contentElement:function(t,r){return Pt.default.createElement("div",t,r)}},Xe.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,ms.polyfill)(Xe),process.env.NODE_ENV!=="production"&&(Xe.setCreateHTMLElement=function(e){return gr=e}),Ie.default=Xe,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Ie,n=o(r);function o(a){return a&&a.__esModule?a:{default:a}}t.default=n.default,e.exports=t.default}(er,er.exports);var ws=er.exports;const xs=Cr(ws);function Es({children:e,contentLabel:t="modal",overlayClassName:r,className:n,onRequestClose:o,...a}){const s=he(["fixed right-0 left-0 bottom-0 z-[1000] h-screen overflow-y-auto","overflow-x-hidden md:inset-0 md:h-full bg-foreground/5 backdrop-blur-md",r]),i=he(["font-inter size-full flex items-end justify-center md:items-center overflow-visible"]),l=he(["relative w-full min-w-[300px] max-h-[90vh] overflow-hidden p-6 rounded-t-[32px]","bg-background animate-slide-in shadow-card opacity-0","md:rounded-[32px] md:w-fit",n]);return K.jsx(xs,{closeTimeoutMS:300,className:i,"data-testid":"modalxxxx",overlayClassName:s,contentLabel:t,onRequestClose:o,...a,children:K.jsxs("div",{className:l,children:[K.jsx(Br,{className:"ml-auto",icon:"close",size:"xs",onClick:o}),e]})})}const Cs=He(["flex items-center gap-3"],{variants:{size:{xs:"",sm:"",md:"",lg:""}},defaultVariants:{size:"sm"}});function _s({name:e,label:t,avatar:r,size:n,className:o,...a}){return K.jsxs("div",{className:he(Cs({size:n,className:o})),...a,children:[K.jsx("div",{className:"w-[36px] h-[36px] rounded-full overflow-hidden",children:r?K.jsx("img",{src:r,alt:"avatar",className:"size-full object-cover"}):K.jsx(lt,{type:"didit",className:"size-full object-cover"})}),K.jsxs("div",{className:"flex flex-col gap-1",children:[K.jsx(bt,{className:"text-foreground",as:"h6",variant:"H6",children:e}),t&&K.jsx(bt,{className:"text-surface-md",as:"span",variant:"Label3",children:t})]})]})}const Ss=typeof window<"u"?oe.useLayoutEffect:oe.useEffect,Ts=typeof window>"u";function Ze(e,{defaultValue:t=!1,initializeWithValue:r=!0}={}){function n(i){return Ts?t:window.matchMedia(i).matches}const[o,a]=oe.useState(()=>r?n(e):t);function s(){a(n(e))}return Ss(()=>{const i=window.matchMedia(e);return s(),i.addListener?i.addListener(s):i.addEventListener("change",s),()=>{i.removeListener?i.removeListener(s):i.removeEventListener("change",s)}},[e]),o}function Os(){return Ze(`(min-width: ${st.SM}px)`)}function Rs(){return Ze(`(min-width: ${st.MD}px)`)}function Ms(){return Ze(`(min-width: ${st.LG}px)`)}function ks(){return Ze(`(min-width: ${st.XL}px)`)}function Ps(){return Ze(`(min-width: ${st.XXL}px)`)}var In={},Fn={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:function(){return t}});function t(r){return Array.isArray(r)?r.map(n=>t(n)):typeof r=="object"&&r!==null?Object.fromEntries(Object.entries(r).map(([n,o])=>[n,t(o)])):r}})(Fn);var As={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:e})=>e("colors"),colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>({none:"none",...e("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:e})=>({...e("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({...e("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:e})=>({...e("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});const t=Fn,r=n(As);function n(a){return a&&a.__esModule?a:{default:a}}const o=(0,t.cloneDeep)(r.default.theme)})(In);let hr=In;var Ns=(hr.__esModule?hr:{default:hr}).default;const Dn=Cr(Ns),Ls={content:["./src/**/*.{js,ts,jsx,tsx}"],theme:{fontFamily:{inter:["--font-inter",...Dn.fontFamily.sans]},colors:{transparent:"transparent",current:"currentColor",inherit:"inherit",primary:"rgb(var(--color-primary) / <alpha-value>) /* #2667FF */",soft:"rgb(var(--color-soft) / <alpha-value>) /* #F9F7F9 */",accent:"rgb(var(--color-accent) / <alpha-value>) /* #ECF677 */",background:"rgb(var(--color-background) / <alpha-value>) /* #FEFEFE */",foreground:"rgb(var(--color-foreground) / <alpha-value>) /* #1A1A1A */","surface-hi":"rgb(var(--color-surface-hi) / <alpha-value>) /* #4B5058 */","surface-md":"rgb(var(--color-surface-md) / <alpha-value>) /* #9DA1A1 */","surface-mdlo":"rgb(var(--color-surface-mdlo) / <alpha-value>) /* #C4C7C7 */","surface-lo":"rgb(var(--color-surface-lo) / <alpha-value>) /* #F4F4F6 */","surface-ulo":"rgb(var(--color-surface-ulo) / <alpha-value>) /* #F8F8F8 */",error:"rgb(var(--color-error) / <alpha-value>) /* #FF4141 */",success:"rgb(var(--color-success) / <alpha-value>) /* #41D97F */"},boxShadow:{card:"0px 16.057px 61.177px 0px rgba(0, 0, 0, 0.03), 0px 9.675px 36.862px 0px rgba(0, 0, 0, 0.02), 0px 5.388px 20.527px 0px rgba(0, 0, 0, 0.02), 0px 2.317px 8.829px 0px rgba(0, 0, 0, 0.01);"},keyframes:{"slide-in":{"0%":{opacity:"0",transform:"translateY(-100%)"},"100%":{opacity:"1",transform:"translateY(0)"}}},animation:{"slide-in":"slide-in .20s ease-in-out forwards",...Dn.animation},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"}},plugins:[],diditContent:"./node_modules/diditui/dist/**/*.{js,ts,jsx,tsx}"};ie.Button=la,ie.Card=ii,ie.Icon=lt,ie.IconButton=Br,ie.Modal=Es,ie.QrCode=oi,ie.Spinner=jr,ie.Text=bt,ie.UserCard=_s,ie.didituiConfig=Ls,ie.svgOptions=Dr,ie.useLgMediaQuery=Ms,ie.useMdMediaQuery=Rs,ie.useMediaQuery=Ze,ie.useSmMediaQuery=Os,ie.useXlMediaQuery=ks,ie.useXxlMediaQuery=Ps,Object.defineProperty(ie,Symbol.toStringTag,{value:"Module"})});
|
|
87
|
+
https://fb.me/react-async-component-lifecycle-hooks`)}if(typeof e.getDerivedStateFromProps=="function"&&(t.componentWillMount=Tn,t.componentWillReceiveProps=On),typeof t.getSnapshotBeforeUpdate=="function"){if(typeof t.componentDidUpdate!="function")throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=Rn;var i=t.componentDidUpdate;t.componentDidUpdate=function(u,f,m){var p=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:m;i.call(this,u,f,p)}}return e}const ss=Zn(Object.freeze(Object.defineProperty({__proto__:null,polyfill:is},Symbol.toStringTag,{value:"Module"})));Object.defineProperty(Ie,"__esModule",{value:!0}),Ie.bodyOpenClassName=Ie.portalClassName=void 0;var Mn=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ls=function(){function e(t,r){for(var n=0;n<r.length;n++){var o=r[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(t,r,n){return r&&e(t.prototype,r),n&&e(t,n),t}}(),kn=ae,Pt=gt(kn),cs=Qn,At=gt(cs),us=yn,D=gt(us),fs=as,Pn=gt(fs),ds=Ce,ps=gs(ds),Ne=_e,An=gt(Ne),ms=ss;function gs(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function gt(e){return e&&e.__esModule?e:{default:e}}function hs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nn(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t&&(typeof t=="object"||typeof t=="function")?t:e}function vs(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var ys=Ie.portalClassName="ReactModalPortal",bs=Ie.bodyOpenClassName="ReactModal__Body--open",ze=Ne.canUseDOM&&At.default.createPortal!==void 0,gr=function(t){return document.createElement(t)},Ln=function(){return ze?At.default.createPortal:At.default.unstable_renderSubtreeIntoContainer};function Nt(e){return e()}var Ze=function(e){vs(t,e);function t(){var r,n,o,a;hs(this,t);for(var s=arguments.length,i=Array(s),l=0;l<s;l++)i[l]=arguments[l];return a=(n=(o=Nn(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(i))),o),o.removePortal=function(){!ze&&At.default.unmountComponentAtNode(o.node);var u=Nt(o.props.parentSelector);u&&u.contains(o.node)?u.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(u){o.portal=u},o.renderPortal=function(u){var f=Ln(),m=f(o,Pt.default.createElement(Pn.default,Mn({defaultStyles:t.defaultStyles},u)),o.node);o.portalRef(m)},n),Nn(o,a)}return ls(t,[{key:"componentDidMount",value:function(){if(Ne.canUseDOM){ze||(this.node=gr("div")),this.node.className=this.props.portalClassName;var n=Nt(this.props.parentSelector);n.appendChild(this.node),!ze&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(n){var o=Nt(n.parentSelector),a=Nt(this.props.parentSelector);return{prevParent:o,nextParent:a}}},{key:"componentDidUpdate",value:function(n,o,a){if(Ne.canUseDOM){var s=this.props,i=s.isOpen,l=s.portalClassName;n.portalClassName!==l&&(this.node.className=l);var u=a.prevParent,f=a.nextParent;f!==u&&(u.removeChild(this.node),f.appendChild(this.node)),!(!n.isOpen&&!i)&&!ze&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!Ne.canUseDOM||!this.node||!this.portal)){var n=this.portal.state,o=Date.now(),a=n.isOpen&&this.props.closeTimeoutMS&&(n.closesAt||o+this.props.closeTimeoutMS);a?(n.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,a-o)):this.removePortal()}}},{key:"render",value:function(){if(!Ne.canUseDOM||!ze)return null;!this.node&&ze&&(this.node=gr("div"));var n=Ln();return n(Pt.default.createElement(Pn.default,Mn({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(n){ps.setElement(n)}}]),t}(kn.Component);Ze.propTypes={isOpen:D.default.bool.isRequired,style:D.default.shape({content:D.default.object,overlay:D.default.object}),portalClassName:D.default.string,bodyOpenClassName:D.default.string,htmlOpenClassName:D.default.string,className:D.default.oneOfType([D.default.string,D.default.shape({base:D.default.string.isRequired,afterOpen:D.default.string.isRequired,beforeClose:D.default.string.isRequired})]),overlayClassName:D.default.oneOfType([D.default.string,D.default.shape({base:D.default.string.isRequired,afterOpen:D.default.string.isRequired,beforeClose:D.default.string.isRequired})]),appElement:D.default.oneOfType([D.default.instanceOf(An.default),D.default.instanceOf(Ne.SafeHTMLCollection),D.default.instanceOf(Ne.SafeNodeList),D.default.arrayOf(D.default.instanceOf(An.default))]),onAfterOpen:D.default.func,onRequestClose:D.default.func,closeTimeoutMS:D.default.number,ariaHideApp:D.default.bool,shouldFocusAfterRender:D.default.bool,shouldCloseOnOverlayClick:D.default.bool,shouldReturnFocusAfterClose:D.default.bool,preventScroll:D.default.bool,parentSelector:D.default.func,aria:D.default.object,data:D.default.object,role:D.default.string,contentLabel:D.default.string,shouldCloseOnEsc:D.default.bool,overlayRef:D.default.func,contentRef:D.default.func,id:D.default.string,overlayElement:D.default.func,contentElement:D.default.func},Ze.defaultProps={isOpen:!1,portalClassName:ys,bodyOpenClassName:bs,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(t,r){return Pt.default.createElement("div",t,r)},contentElement:function(t,r){return Pt.default.createElement("div",t,r)}},Ze.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,ms.polyfill)(Ze),process.env.NODE_ENV!=="production"&&(Ze.setCreateHTMLElement=function(e){return gr=e}),Ie.default=Ze,function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Ie,n=o(r);function o(a){return a&&a.__esModule?a:{default:a}}t.default=n.default,e.exports=t.default}(er,er.exports);var ws=er.exports;const xs=Cr(ws);function Es({children:e,contentLabel:t="modal",overlayClassName:r,className:n,onRequestClose:o,...a}){const s=ge(["fixed right-0 left-0 bottom-0 z-[1000] h-screen overflow-y-auto","overflow-x-hidden md:inset-0 md:h-full bg-foreground/5 backdrop-blur-md",r]),i=ge(["font-inter size-full flex items-end justify-center md:items-center overflow-visible"]),l=ge(["relative w-full min-w-[300px] max-h-[90vh] overflow-hidden p-6 rounded-t-[32px]","bg-background animate-slide-in shadow-card opacity-0","md:rounded-[32px] md:w-fit",n]);return K.jsx(xs,{closeTimeoutMS:300,className:i,"data-testid":"modalxxxx",overlayClassName:s,contentLabel:t,onRequestClose:o,...a,children:K.jsxs("div",{className:l,children:[K.jsx(Br,{className:"ml-auto",icon:"close",size:"xs",onClick:o}),e]})})}const Cs=Ve(["flex items-center gap-3"],{variants:{size:{xs:"",sm:"",md:"",lg:""}},defaultVariants:{size:"sm"}});function _s({name:e,label:t,avatar:r,size:n,className:o,...a}){return K.jsxs("div",{className:ge(Cs({size:n,className:o})),...a,children:[K.jsx("div",{className:"w-[36px] h-[36px] rounded-full overflow-hidden",children:r?K.jsx("img",{src:r,alt:"avatar",className:"size-full object-cover"}):K.jsx(lt,{type:"didit",className:"size-full object-cover"})}),K.jsxs("div",{className:"flex flex-col gap-1",children:[K.jsx(bt,{className:"text-foreground",as:"h6",variant:"H6",children:e}),t&&K.jsx(bt,{className:"text-surface-md",as:"span",variant:"Label3",children:t})]})]})}const Ss=typeof window<"u"?ae.useLayoutEffect:ae.useEffect,Ts=typeof window>"u";function et(e,{defaultValue:t=!1,initializeWithValue:r=!0}={}){function n(i){return Ts?t:window.matchMedia(i).matches}const[o,a]=ae.useState(()=>r?n(e):t);function s(){a(n(e))}return Ss(()=>{const i=window.matchMedia(e);return s(),i.addListener?i.addListener(s):i.addEventListener("change",s),()=>{i.removeListener?i.removeListener(s):i.removeEventListener("change",s)}},[e]),o}function Os(){return et(`(min-width: ${He.SM}px)`)}function Rs(){return et(`(min-width: ${He.MD}px)`)}function Ms(){return et(`(min-width: ${He.LG}px)`)}function ks(){return et(`(min-width: ${He.XL}px)`)}function Ps(){return et(`(min-width: ${He.XXL}px)`)}var In={},Fn={};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"cloneDeep",{enumerable:!0,get:function(){return t}});function t(r){return Array.isArray(r)?r.map(n=>t(n)):typeof r=="object"&&r!==null?Object.fromEntries(Object.entries(r).map(([n,o])=>[n,t(o)])):r}})(Fn);var As={content:[],presets:[],darkMode:"media",theme:{accentColor:({theme:e})=>({...e("colors"),auto:"auto"}),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite",bounce:"bounce 1s infinite"},aria:{busy:'busy="true"',checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:({theme:e})=>e("blur"),backdropBrightness:({theme:e})=>e("brightness"),backdropContrast:({theme:e})=>e("contrast"),backdropGrayscale:({theme:e})=>e("grayscale"),backdropHueRotate:({theme:e})=>e("hueRotate"),backdropInvert:({theme:e})=>e("invert"),backdropOpacity:({theme:e})=>e("opacity"),backdropSaturate:({theme:e})=>e("saturate"),backdropSepia:({theme:e})=>e("sepia"),backgroundColor:({theme:e})=>e("colors"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:({theme:e})=>e("opacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:({theme:e})=>({...e("colors"),DEFAULT:e("colors.gray.200","currentColor")}),borderOpacity:({theme:e})=>e("opacity"),borderRadius:{none:"0px",sm:"0.125rem",DEFAULT:"0.25rem",md:"0.375rem",lg:"0.5rem",xl:"0.75rem","2xl":"1rem","3xl":"1.5rem",full:"9999px"},borderSpacing:({theme:e})=>({...e("spacing")}),borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:({theme:e})=>e("colors"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:({theme:e})=>e("colors"),colors:({colors:e})=>({inherit:e.inherit,current:e.current,transparent:e.transparent,black:e.black,white:e.white,slate:e.slate,gray:e.gray,zinc:e.zinc,neutral:e.neutral,stone:e.stone,red:e.red,orange:e.orange,amber:e.amber,yellow:e.yellow,lime:e.lime,green:e.green,emerald:e.emerald,teal:e.teal,cyan:e.cyan,sky:e.sky,blue:e.blue,indigo:e.indigo,violet:e.violet,purple:e.purple,fuchsia:e.fuchsia,pink:e.pink,rose:e.rose}),columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:({theme:e})=>e("borderColor"),divideOpacity:({theme:e})=>e("borderOpacity"),divideWidth:({theme:e})=>e("borderWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:({theme:e})=>({none:"none",...e("colors")}),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"}),flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:{sans:["ui-sans-serif","system-ui","sans-serif",'"Apple Color Emoji"','"Segoe UI Emoji"','"Segoe UI Symbol"','"Noto Color Emoji"'],serif:["ui-serif","Georgia","Cambria",'"Times New Roman"',"Times","serif"],mono:["ui-monospace","SFMono-Regular","Menlo","Monaco","Consolas",'"Liberation Mono"','"Courier New"',"monospace"]},fontSize:{xs:["0.75rem",{lineHeight:"1rem"}],sm:["0.875rem",{lineHeight:"1.25rem"}],base:["1rem",{lineHeight:"1.5rem"}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}],"7xl":["4.5rem",{lineHeight:"1"}],"8xl":["6rem",{lineHeight:"1"}],"9xl":["8rem",{lineHeight:"1"}]},fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:({theme:e})=>e("spacing"),gradientColorStops:({theme:e})=>e("colors"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridTemplateColumns:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",subgrid:"subgrid",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},height:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:({theme:e})=>({auto:"auto",...e("spacing")}),lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:({theme:e})=>({...e("spacing"),none:"none",full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),maxWidth:({theme:e,breakpoints:t})=>({...e("spacing"),none:"none",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...t(e("screens"))}),minHeight:({theme:e})=>({...e("spacing"),full:"100%",screen:"100vh",svh:"100svh",lvh:"100lvh",dvh:"100dvh",min:"min-content",max:"max-content",fit:"fit-content"}),minWidth:({theme:e})=>({...e("spacing"),full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",15:"0.15",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:({theme:e})=>e("colors"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:({theme:e})=>e("spacing"),placeholderColor:({theme:e})=>e("colors"),placeholderOpacity:({theme:e})=>e("opacity"),ringColor:({theme:e})=>({DEFAULT:e("colors.blue.500","#3b82f6"),...e("colors")}),ringOffsetColor:({theme:e})=>e("colors"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:({theme:e})=>({DEFAULT:"0.5",...e("opacity")}),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"},scrollMargin:({theme:e})=>({...e("spacing")}),scrollPadding:({theme:e})=>e("spacing"),sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:({theme:e})=>({...e("spacing")}),spacing:{px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",14:"3.5rem",16:"4rem",20:"5rem",24:"6rem",28:"7rem",32:"8rem",36:"9rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"},stroke:({theme:e})=>({none:"none",...e("colors")}),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{},textColor:({theme:e})=>e("colors"),textDecorationColor:({theme:e})=>e("colors"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:({theme:e})=>({...e("spacing")}),textOpacity:({theme:e})=>e("opacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:({theme:e})=>({...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"}),size:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",min:"min-content",max:"max-content",fit:"fit-content"}),width:({theme:e})=>({auto:"auto",...e("spacing"),"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",svw:"100svw",lvw:"100lvw",dvw:"100dvw",min:"min-content",max:"max-content",fit:"fit-content"}),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:{auto:"auto",0:"0",10:"10",20:"20",30:"30",40:"40",50:"50"}},plugins:[]};(function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"default",{enumerable:!0,get:function(){return o}});const t=Fn,r=n(As);function n(a){return a&&a.__esModule?a:{default:a}}const o=(0,t.cloneDeep)(r.default.theme)})(In);let hr=In;var Ns=(hr.__esModule?hr:{default:hr}).default;const Dn=Cr(Ns),Ls={content:["./src/**/*.{js,ts,jsx,tsx}"],theme:{fontFamily:{inter:["--font-inter",...Dn.fontFamily.sans]},colors:{transparent:"transparent",current:"currentColor",inherit:"inherit",primary:"rgb(var(--color-primary) / <alpha-value>) /* #2667FF */",soft:"rgb(var(--color-soft) / <alpha-value>) /* #F9F7F9 */",accent:"rgb(var(--color-accent) / <alpha-value>) /* #ECF677 */",background:"rgb(var(--color-background) / <alpha-value>) /* #FEFEFE */",foreground:"rgb(var(--color-foreground) / <alpha-value>) /* #1A1A1A */","surface-hi":"rgb(var(--color-surface-hi) / <alpha-value>) /* #4B5058 */","surface-md":"rgb(var(--color-surface-md) / <alpha-value>) /* #9DA1A1 */","surface-mdlo":"rgb(var(--color-surface-mdlo) / <alpha-value>) /* #C4C7C7 */","surface-lo":"rgb(var(--color-surface-lo) / <alpha-value>) /* #F4F4F6 */","surface-ulo":"rgb(var(--color-surface-ulo) / <alpha-value>) /* #F8F8F8 */",error:"rgb(var(--color-error) / <alpha-value>) /* #FF4141 */",success:"rgb(var(--color-success) / <alpha-value>) /* #41D97F */"},boxShadow:{card:"0px 16.057px 61.177px 0px rgba(0, 0, 0, 0.03), 0px 9.675px 36.862px 0px rgba(0, 0, 0, 0.02), 0px 5.388px 20.527px 0px rgba(0, 0, 0, 0.02), 0px 2.317px 8.829px 0px rgba(0, 0, 0, 0.01);"},keyframes:{"slide-in":{"0%":{opacity:"0",transform:"translateY(-100%)"},"100%":{opacity:"1",transform:"translateY(0)"}}},animation:{"slide-in":"slide-in .20s ease-in-out forwards",...Dn.animation},screens:{sm:"640px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1536px"}},plugins:[],diditContent:"./node_modules/diditui/dist/**/*.{js,ts,jsx,tsx}"};oe.Button=la,oe.Card=ii,oe.Icon=lt,oe.IconButton=Br,oe.MediaQuery=He,oe.Modal=Es,oe.QrCode=oi,oe.Spinner=jr,oe.Text=bt,oe.UserCard=_s,oe.cn=ge,oe.didituiConfig=Ls,oe.svgOptions=Dr,oe.useLgMediaQuery=Ms,oe.useMdMediaQuery=Rs,oe.useMediaQuery=et,oe.useSmMediaQuery=Os,oe.useXlMediaQuery=ks,oe.useXxlMediaQuery=Ps,Object.defineProperty(oe,Symbol.toStringTag,{value:"Module"})});
|