diditui 0.0.13 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,4 +1,13 @@
1
- # React + TypeScript + Vite
1
+ # Didit V3 ui libary
2
+
3
+ This libary will be used by all didit web apps:
4
+ - [x] didit verification
5
+ - [ ] application console
6
+ - [ ] didit web app
7
+
8
+
9
+
10
+ ## React + TypeScript + Vite
2
11
 
3
12
  This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
4
13
 
@@ -0,0 +1 @@
1
+ "use strict";function n(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function c(e){if(e.__esModule)return e;var u=e.default;if(typeof u=="function"){var t=function r(){return this instanceof r?Reflect.construct(u,arguments,this.constructor):u.apply(this,arguments)};t.prototype=u.prototype}else t={};return Object.defineProperty(t,"__esModule",{value:!0}),Object.keys(e).forEach(function(r){var o=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,o.get?o:{enumerable:!0,get:function(){return e[r]}})}),t}exports.getAugmentedNamespace=c;exports.getDefaultExportFromCjs=n;
@@ -0,0 +1,26 @@
1
+ function n(e) {
2
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3
+ }
4
+ function c(e) {
5
+ if (e.__esModule) return e;
6
+ var o = e.default;
7
+ if (typeof o == "function") {
8
+ var t = function r() {
9
+ return this instanceof r ? Reflect.construct(o, arguments, this.constructor) : o.apply(this, arguments);
10
+ };
11
+ t.prototype = o.prototype;
12
+ } else t = {};
13
+ return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
14
+ var u = Object.getOwnPropertyDescriptor(e, r);
15
+ Object.defineProperty(t, r, u.get ? u : {
16
+ enumerable: !0,
17
+ get: function() {
18
+ return e[r];
19
+ }
20
+ });
21
+ }), t;
22
+ }
23
+ export {
24
+ n as a,
25
+ c as g
26
+ };
@@ -0,0 +1,87 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const G=require("react"),sn=require("./_commonjsHelpers-6jR-N8xe.cjs"),go=require("react-dom");function mo(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 p=mo(G);var Qt={exports:{}},st={};/**
2
+ * @license React
3
+ * react-jsx-runtime.production.min.js
4
+ *
5
+ * Copyright (c) Facebook, Inc. and its affiliates.
6
+ *
7
+ * This source code is licensed under the MIT license found in the
8
+ * LICENSE file in the root directory of this source tree.
9
+ */var Ar;function vo(){if(Ar)return st;Ar=1;var e=G,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,g={},h=null,y=null;u!==void 0&&(h=""+u),l.key!==void 0&&(h=""+l.key),l.ref!==void 0&&(y=l.ref);for(f in l)n.call(l,f)&&!a.hasOwnProperty(f)&&(g[f]=l[f]);if(i&&i.defaultProps)for(f in l=i.defaultProps,l)g[f]===void 0&&(g[f]=l[f]);return{$$typeof:t,type:i,key:h,ref:y,props:g,_owner:o.current}}return st.Fragment=r,st.jsx=s,st.jsxs=s,st}var lt={};/**
10
+ * @license React
11
+ * react-jsx-runtime.development.js
12
+ *
13
+ * Copyright (c) Facebook, Inc. and its affiliates.
14
+ *
15
+ * This source code is licensed under the MIT license found in the
16
+ * LICENSE file in the root directory of this source tree.
17
+ */var jr;function yo(){return jr||(jr=1,process.env.NODE_ENV!=="production"&&function(){var e=G,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"),g=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),y=Symbol.for("react.offscreen"),R=Symbol.iterator,v="@@iterator";function x(c){if(c===null||typeof c!="object")return null;var _=R&&c[R]||c[v];return typeof _=="function"?_:null}var C=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function w(c){{for(var _=arguments.length,k=new Array(_>1?_-1:0),B=1;B<_;B++)k[B-1]=arguments[B];T("error",c,k)}}function T(c,_,k){{var B=C.ReactDebugCurrentFrame,X=B.getStackAddendum();X!==""&&(_+="%s",k=k.concat([X]));var oe=k.map(function(K){return String(K)});oe.unshift("Warning: "+_),Function.prototype.apply.call(console[c],console,oe)}}var E=!1,m=!1,W=!1,re=!1,le=!1,ie;ie=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||re||c===y||E||m||W||typeof c=="object"&&c!==null&&(c.$$typeof===h||c.$$typeof===g||c.$$typeof===s||c.$$typeof===i||c.$$typeof===l||c.$$typeof===ie||c.getModuleId!==void 0))}function de(c,_,k){var B=c.displayName;if(B)return B;var X=_.displayName||_.name||"";return X!==""?k+"("+X+")":k}function $(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 _=c;return $(_)+".Consumer";case s:var k=c;return $(k._context)+".Provider";case l:return de(c,c.render,"ForwardRef");case g:var B=c.displayName||null;return B!==null?B:Q(c.type)||"Memo";case h:{var X=c,oe=X._payload,K=X._init;try{return Q(K(oe))}catch{return null}}}return null}var O=Object.assign,L=0,H,d,P,ne,b,S,I;function A(){}A.__reactDisabledLog=!0;function j(){{if(L===0){H=console.log,d=console.info,P=console.warn,ne=console.error,b=console.group,S=console.groupCollapsed,I=console.groupEnd;var c={configurable:!0,enumerable:!0,value:A,writable:!0};Object.defineProperties(console,{info:c,log:c,warn:c,error:c,group:c,groupCollapsed:c,groupEnd:c})}L++}}function Y(){{if(L--,L===0){var c={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:O({},c,{value:H}),info:O({},c,{value:d}),warn:O({},c,{value:P}),error:O({},c,{value:ne}),group:O({},c,{value:b}),groupCollapsed:O({},c,{value:S}),groupEnd:O({},c,{value:I})})}L<0&&w("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var D=C.ReactCurrentDispatcher,V;function z(c,_,k){{if(V===void 0)try{throw Error()}catch(X){var B=X.stack.trim().match(/\n( *(at )?)/);V=B&&B[1]||""}return`
18
+ `+V+c}}var J=!1,q;{var pe=typeof WeakMap=="function"?WeakMap:Map;q=new pe}function M(c,_){if(!c||J)return"";{var k=q.get(c);if(k!==void 0)return k}var B;J=!0;var X=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var oe;oe=D.current,D.current=null,j();try{if(_){var K=function(){throw Error()};if(Object.defineProperty(K.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(K,[])}catch(me){B=me}Reflect.construct(c,[],K)}else{try{K.call()}catch(me){B=me}c.call(K.prototype)}}else{try{throw Error()}catch(me){B=me}c()}}catch(me){if(me&&B&&typeof me.stack=="string"){for(var Z=me.stack.split(`
19
+ `),ge=B.stack.split(`
20
+ `),ue=Z.length-1,fe=ge.length-1;ue>=1&&fe>=0&&Z[ue]!==ge[fe];)fe--;for(;ue>=1&&fe>=0;ue--,fe--)if(Z[ue]!==ge[fe]){if(ue!==1||fe!==1)do if(ue--,fe--,fe<0||Z[ue]!==ge[fe]){var Ce=`
21
+ `+Z[ue].replace(" at new "," at ");return c.displayName&&Ce.includes("<anonymous>")&&(Ce=Ce.replace("<anonymous>",c.displayName)),typeof c=="function"&&q.set(c,Ce),Ce}while(ue>=1&&fe>=0);break}}}finally{J=!1,D.current=oe,Y(),Error.prepareStackTrace=X}var qe=c?c.displayName||c.name:"",Be=qe?z(qe):"";return typeof c=="function"&&q.set(c,Be),Be}function be(c,_,k){return M(c,!1)}function We(c){var _=c.prototype;return!!(_&&_.isReactComponent)}function Ie(c,_,k){if(c==null)return"";if(typeof c=="function")return M(c,We(c));if(typeof c=="string")return z(c);switch(c){case u:return z("Suspense");case f:return z("SuspenseList")}if(typeof c=="object")switch(c.$$typeof){case l:return be(c.render);case g:return Ie(c.type,_,k);case h:{var B=c,X=B._payload,oe=B._init;try{return Ie(oe(X),_,k)}catch{}}}return""}var at=Object.prototype.hasOwnProperty,wr={},Er=C.ReactDebugCurrentFrame;function yt(c){if(c){var _=c._owner,k=Ie(c.type,c._source,_?_.type:null);Er.setExtraStackFrame(k)}else Er.setExtraStackFrame(null)}function qn(c,_,k,B,X){{var oe=Function.call.bind(at);for(var K in c)if(oe(c,K)){var Z=void 0;try{if(typeof c[K]!="function"){var ge=Error((B||"React class")+": "+k+" type `"+K+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof c[K]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw ge.name="Invariant Violation",ge}Z=c[K](_,K,B,k,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(ue){Z=ue}Z&&!(Z instanceof Error)&&(yt(X),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).",B||"React class",k,K,typeof Z),yt(null)),Z instanceof Error&&!(Z.message in wr)&&(wr[Z.message]=!0,yt(X),w("Failed %s type: %s",k,Z.message),yt(null))}}}var Yn=Array.isArray;function Nt(c){return Yn(c)}function Zn(c){{var _=typeof Symbol=="function"&&Symbol.toStringTag,k=_&&c[Symbol.toStringTag]||c.constructor.name||"Object";return k}}function Gn(c){try{return xr(c),!1}catch{return!0}}function xr(c){return""+c}function _r(c){if(Gn(c))return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Zn(c)),xr(c)}var it=C.ReactCurrentOwner,Kn={key:!0,ref:!0,__self:!0,__source:!0},Sr,Rr,At;At={};function Jn(c){if(at.call(c,"ref")){var _=Object.getOwnPropertyDescriptor(c,"ref").get;if(_&&_.isReactWarning)return!1}return c.ref!==void 0}function Qn(c){if(at.call(c,"key")){var _=Object.getOwnPropertyDescriptor(c,"key").get;if(_&&_.isReactWarning)return!1}return c.key!==void 0}function Xn(c,_){if(typeof c.ref=="string"&&it.current&&_&&it.current.stateNode!==_){var k=Q(it.current.type);At[k]||(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(it.current.type),c.ref),At[k]=!0)}}function eo(c,_){{var k=function(){Sr||(Sr=!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)",_))};k.isReactWarning=!0,Object.defineProperty(c,"key",{get:k,configurable:!0})}}function to(c,_){{var k=function(){Rr||(Rr=!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)",_))};k.isReactWarning=!0,Object.defineProperty(c,"ref",{get:k,configurable:!0})}}var ro=function(c,_,k,B,X,oe,K){var Z={$$typeof:t,type:c,key:_,ref:k,props:K,_owner:oe};return Z._store={},Object.defineProperty(Z._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Z,"_self",{configurable:!1,enumerable:!1,writable:!1,value:B}),Object.defineProperty(Z,"_source",{configurable:!1,enumerable:!1,writable:!1,value:X}),Object.freeze&&(Object.freeze(Z.props),Object.freeze(Z)),Z};function no(c,_,k,B,X){{var oe,K={},Z=null,ge=null;k!==void 0&&(_r(k),Z=""+k),Qn(_)&&(_r(_.key),Z=""+_.key),Jn(_)&&(ge=_.ref,Xn(_,X));for(oe in _)at.call(_,oe)&&!Kn.hasOwnProperty(oe)&&(K[oe]=_[oe]);if(c&&c.defaultProps){var ue=c.defaultProps;for(oe in ue)K[oe]===void 0&&(K[oe]=ue[oe])}if(Z||ge){var fe=typeof c=="function"?c.displayName||c.name||"Unknown":c;Z&&eo(K,fe),ge&&to(K,fe)}return ro(c,Z,ge,X,B,it.current,K)}}var jt=C.ReactCurrentOwner,Tr=C.ReactDebugCurrentFrame;function ze(c){if(c){var _=c._owner,k=Ie(c.type,c._source,_?_.type:null);Tr.setExtraStackFrame(k)}else Tr.setExtraStackFrame(null)}var It;It=!1;function Bt(c){return typeof c=="object"&&c!==null&&c.$$typeof===t}function Mr(){{if(jt.current){var c=Q(jt.current.type);if(c)return`
22
+
23
+ Check the render method of \``+c+"`."}return""}}function oo(c){return""}var kr={};function ao(c){{var _=Mr();if(!_){var k=typeof c=="string"?c:c.displayName||c.name;k&&(_=`
24
+
25
+ Check the top-level render call using <`+k+">.")}return _}}function Or(c,_){{if(!c._store||c._store.validated||c.key!=null)return;c._store.validated=!0;var k=ao(_);if(kr[k])return;kr[k]=!0;var B="";c&&c._owner&&c._owner!==jt.current&&(B=" It was passed a child from "+Q(c._owner.type)+"."),ze(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.',k,B),ze(null)}}function Pr(c,_){{if(typeof c!="object")return;if(Nt(c))for(var k=0;k<c.length;k++){var B=c[k];Bt(B)&&Or(B,_)}else if(Bt(c))c._store&&(c._store.validated=!0);else if(c){var X=x(c);if(typeof X=="function"&&X!==c.entries)for(var oe=X.call(c),K;!(K=oe.next()).done;)Bt(K.value)&&Or(K.value,_)}}}function io(c){{var _=c.type;if(_==null||typeof _=="string")return;var k;if(typeof _=="function")k=_.propTypes;else if(typeof _=="object"&&(_.$$typeof===l||_.$$typeof===g))k=_.propTypes;else return;if(k){var B=Q(_);qn(k,c.props,"prop",B,c)}else if(_.PropTypes!==void 0&&!It){It=!0;var X=Q(_);w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",X||"Unknown")}typeof _.getDefaultProps=="function"&&!_.getDefaultProps.isReactClassApproved&&w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function so(c){{for(var _=Object.keys(c.props),k=0;k<_.length;k++){var B=_[k];if(B!=="children"&&B!=="key"){ze(c),w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",B),ze(null);break}}c.ref!==null&&(ze(c),w("Invalid attribute `ref` supplied to `React.Fragment`."),ze(null))}}var Lr={};function Nr(c,_,k,B,X,oe){{var K=ce(c);if(!K){var Z="";(c===void 0||typeof c=="object"&&c!==null&&Object.keys(c).length===0)&&(Z+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var ge=oo();ge?Z+=ge:Z+=Mr();var ue;c===null?ue="null":Nt(c)?ue="array":c!==void 0&&c.$$typeof===t?(ue="<"+(Q(c.type)||"Unknown")+" />",Z=" 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,Z)}var fe=no(c,_,k,X,oe);if(fe==null)return fe;if(K){var Ce=_.children;if(Ce!==void 0)if(B)if(Nt(Ce)){for(var qe=0;qe<Ce.length;qe++)Pr(Ce[qe],c);Object.freeze&&Object.freeze(Ce)}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 Pr(Ce,c)}if(at.call(_,"key")){var Be=Q(c),me=Object.keys(_).filter(function(ho){return ho!=="key"}),Ft=me.length>0?"{key: someKey, "+me.join(": ..., ")+": ...}":"{key: someKey}";if(!Lr[Be+Ft]){var po=me.length>0?"{"+me.join(": ..., ")+": ...}":"{}";w(`A props object containing a "key" prop is being spread into JSX:
26
+ let props = %s;
27
+ <%s {...props} />
28
+ React keys must be passed directly to JSX without using spread:
29
+ let props = %s;
30
+ <%s key={someKey} {...props} />`,Ft,Be,po,Be),Lr[Be+Ft]=!0}}return c===n?so(fe):io(fe),fe}}function lo(c,_,k){return Nr(c,_,k,!0)}function co(c,_,k){return Nr(c,_,k,!1)}var uo=co,fo=lo;lt.Fragment=n,lt.jsx=uo,lt.jsxs=fo}()),lt}process.env.NODE_ENV==="production"?Qt.exports=vo():Qt.exports=yo();var N=Qt.exports;function ln(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=ln(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function Xt(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=ln(e))&&(n&&(n+=" "),n+=t);return n}const dr="-",bo=e=>{const t=wo(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:s=>{const i=s.split(dr);return i[0]===""&&i.length!==1&&i.shift(),cn(i,t)||Co(s)},getConflictingClassGroupIds:(s,i)=>{const l=r[s]||[];return i&&n[s]?[...l,...n[s]]:l}}},cn=(e,t)=>{var s;if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?cn(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const a=e.join(dr);return(s=t.validators.find(({validator:i})=>i(a)))==null?void 0:s.classGroupId},Ir=/^\[(.+)\]$/,Co=e=>{if(Ir.test(e)){const t=Ir.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},wo=e=>{const{theme:t,prefix:r}=e,n={nextPart:new Map,validators:[]};return xo(Object.entries(e.classGroups),r).forEach(([a,s])=>{er(s,n,a,t)}),n},er=(e,t,r,n)=>{e.forEach(o=>{if(typeof o=="string"){const a=o===""?t:Br(t,o);a.classGroupId=r;return}if(typeof o=="function"){if(Eo(o)){er(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([a,s])=>{er(s,Br(t,a),r,n)})})},Br=(e,t)=>{let r=e;return t.split(dr).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},Eo=e=>e.isThemeGetter,xo=(e,t)=>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,_o=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const 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)}}},un="!",So=e=>{const{separator:t,experimentalParseClassName:r}=e,n=t.length===1,o=t[0],a=t.length,s=i=>{const l=[];let u=0,f=0,g;for(let x=0;x<i.length;x++){let C=i[x];if(u===0){if(C===o&&(n||i.slice(x,x+a)===t)){l.push(i.slice(f,x)),f=x+a;continue}if(C==="/"){g=x;continue}}C==="["?u++:C==="]"&&u--}const h=l.length===0?i:i.substring(f),y=h.startsWith(un),R=y?h.substring(1):h,v=g&&g>f?g-f:void 0;return{modifiers:l,hasImportantModifier:y,baseClassName:R,maybePostfixModifierPosition:v}};return r?i=>r({className:i,parseClassName:s}):s},Ro=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},To=e=>({cache:_o(e.cacheSize),parseClassName:So(e),...bo(e)}),Mo=/\s+/,ko=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o}=t,a=[],s=e.trim().split(Mo);let i="";for(let l=s.length-1;l>=0;l-=1){const u=s[l],{modifiers:f,hasImportantModifier:g,baseClassName:h,maybePostfixModifierPosition:y}=r(u);let R=!!y,v=n(R?h.substring(0,y):h);if(!v){if(!R){i=u+(i.length>0?" "+i:i);continue}if(v=n(h),!v){i=u+(i.length>0?" "+i:i);continue}R=!1}const x=Ro(f).join(":"),C=g?x+un:x,w=C+v;if(a.includes(w))continue;a.push(w);const T=o(v,R);for(let E=0;E<T.length;++E){const m=T[E];a.push(C+m)}i=u+(i.length>0?" "+i:i)}return i};function Oo(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=fn(t))&&(n&&(n+=" "),n+=r);return n}const fn=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=fn(e[n]))&&(r&&(r+=" "),r+=t);return r};function Po(e,...t){let r,n,o,a=s;function s(l){const u=t.reduce((f,g)=>g(f),e());return r=To(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=ko(l,r);return o(l,f),f}return function(){return a(Oo.apply(null,arguments))}}const ae=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},dn=/^\[(?:([a-z-]+):)?(.+)\]$/i,Lo=/^\d+\/\d+$/,No=new Set(["px","full","screen"]),Ao=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,jo=/\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$/,Io=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Bo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Fo=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Te=e=>Ze(e)||No.has(e)||Lo.test(e),ke=e=>Xe(e,"length",qo),Ze=e=>!!e&&!Number.isNaN(Number(e)),Dt=e=>Xe(e,"number",Ze),ct=e=>!!e&&Number.isInteger(Number(e)),Do=e=>e.endsWith("%")&&Ze(e.slice(0,-1)),U=e=>dn.test(e),Oe=e=>Ao.test(e),Vo=new Set(["length","size","percentage"]),Uo=e=>Xe(e,Vo,pn),$o=e=>Xe(e,"position",pn),Ho=new Set(["image","url"]),Wo=e=>Xe(e,Ho,Zo),zo=e=>Xe(e,"",Yo),ut=()=>!0,Xe=(e,t,r)=>{const n=dn.exec(e);return n?n[1]?typeof t=="string"?n[1]===t:t.has(n[1]):r(n[2]):!1},qo=e=>jo.test(e)&&!Io.test(e),pn=()=>!1,Yo=e=>Bo.test(e),Zo=e=>Fo.test(e),Go=()=>{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"),g=ae("invert"),h=ae("gap"),y=ae("gradientColorStops"),R=ae("gradientColorStopPositions"),v=ae("inset"),x=ae("margin"),C=ae("opacity"),w=ae("padding"),T=ae("saturate"),E=ae("scale"),m=ae("sepia"),W=ae("skew"),re=ae("space"),le=ae("translate"),ie=()=>["auto","contain","none"],ce=()=>["auto","hidden","clip","visible","scroll"],de=()=>["auto",U,t],$=()=>[U,t],Q=()=>["",Te,ke],O=()=>["auto",Ze,U],L=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],H=()=>["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"],ne=()=>["","0",U],b=()=>["auto","avoid","all","avoid-page","page","left","right","column"],S=()=>[Ze,U];return{cacheSize:500,separator:":",theme:{colors:[ut],spacing:[Te,ke],blur:["none","",Oe,U],brightness:S(),borderColor:[e],borderRadius:["none","","full",Oe,U],borderSpacing:$(),borderWidth:Q(),contrast:S(),grayscale:ne(),hueRotate:S(),invert:ne(),gap:$(),gradientColorStops:[e],gradientColorStopPositions:[Do,ke],inset:de(),margin:de(),opacity:S(),padding:$(),saturate:S(),scale:S(),sepia:ne(),skew:S(),space:$(),translate:$()},classGroups:{aspect:[{aspect:["auto","square","video",U]}],container:["container"],columns:[{columns:[Oe]}],"break-after":[{"break-after":b()}],"break-before":[{"break-before":b()}],"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:[...L(),U]}],overflow:[{overflow:ce()}],"overflow-x":[{"overflow-x":ce()}],"overflow-y":[{"overflow-y":ce()}],overscroll:[{overscroll:ie()}],"overscroll-x":[{"overscroll-x":ie()}],"overscroll-y":[{"overscroll-y":ie()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[v]}],"inset-x":[{"inset-x":[v]}],"inset-y":[{"inset-y":[v]}],start:[{start:[v]}],end:[{end:[v]}],top:[{top:[v]}],right:[{right:[v]}],bottom:[{bottom:[v]}],left:[{left:[v]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ct,U]}],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",U]}],grow:[{grow:ne()}],shrink:[{shrink:ne()}],order:[{order:["first","last","none",ct,U]}],"grid-cols":[{"grid-cols":[ut]}],"col-start-end":[{col:["auto",{span:["full",ct,U]},U]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[ut]}],"row-start-end":[{row:["auto",{span:[ct,U]},U]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",U]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",U]}],gap:[{gap:[h]}],"gap-x":[{"gap-x":[h]}],"gap-y":[{"gap-y":[h]}],"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:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[re]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[re]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",U,t]}],"min-w":[{"min-w":[U,t,"min","max","fit"]}],"max-w":[{"max-w":[U,t,"none","full","min","max","fit","prose",{screen:[Oe]},Oe]}],h:[{h:[U,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[U,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[U,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[U,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Oe,ke]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Dt]}],"font-family":[{font:[ut]}],"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",U]}],"line-clamp":[{"line-clamp":["none",Ze,Dt]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",Te,U]}],"list-image":[{"list-image":["none",U]}],"list-style-type":[{list:["none","disc","decimal",U]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[C]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[C]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...H(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",Te,ke]}],"underline-offset":[{"underline-offset":["auto",Te,U]}],"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:$()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",U]}],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",U]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[C]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...L(),$o]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Uo]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Wo]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[R]}],"gradient-via-pos":[{via:[R]}],"gradient-to-pos":[{to:[R]}],"gradient-from":[{from:[y]}],"gradient-via":[{via:[y]}],"gradient-to":[{to:[y]}],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":[C]}],"border-style":[{border:[...H(),"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":[C]}],"divide-style":[{divide:H()}],"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:["",...H()]}],"outline-offset":[{"outline-offset":[Te,U]}],"outline-w":[{outline:[Te,ke]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:Q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[C]}],"ring-offset-w":[{"ring-offset":[Te,ke]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Oe,zo]}],"shadow-color":[{shadow:[ut]}],opacity:[{opacity:[C]}],"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",Oe,U]}],grayscale:[{grayscale:[u]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[g]}],saturate:[{saturate:[T]}],sepia:[{sepia:[m]}],"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":[g]}],"backdrop-opacity":[{"backdrop-opacity":[C]}],"backdrop-saturate":[{"backdrop-saturate":[T]}],"backdrop-sepia":[{"backdrop-sepia":[m]}],"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",U]}],duration:[{duration:S()}],ease:[{ease:["linear","in","out","in-out",U]}],delay:[{delay:S()}],animate:[{animate:["none","spin","ping","pulse","bounce",U]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[E]}],"scale-x":[{"scale-x":[E]}],"scale-y":[{"scale-y":[E]}],rotate:[{rotate:[ct,U]}],"translate-x":[{"translate-x":[le]}],"translate-y":[{"translate-y":[le]}],"skew-x":[{"skew-x":[W]}],"skew-y":[{"skew-y":[W]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",U]}],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",U]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":$()}],"scroll-mx":[{"scroll-mx":$()}],"scroll-my":[{"scroll-my":$()}],"scroll-ms":[{"scroll-ms":$()}],"scroll-me":[{"scroll-me":$()}],"scroll-mt":[{"scroll-mt":$()}],"scroll-mr":[{"scroll-mr":$()}],"scroll-mb":[{"scroll-mb":$()}],"scroll-ml":[{"scroll-ml":$()}],"scroll-p":[{"scroll-p":$()}],"scroll-px":[{"scroll-px":$()}],"scroll-py":[{"scroll-py":$()}],"scroll-ps":[{"scroll-ps":$()}],"scroll-pe":[{"scroll-pe":$()}],"scroll-pt":[{"scroll-pt":$()}],"scroll-pr":[{"scroll-pr":$()}],"scroll-pb":[{"scroll-pb":$()}],"scroll-pl":[{"scroll-pl":$()}],"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",U]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[Te,ke,Dt]}],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"]}}},Ko=Po(Go),Jo=640,Qo=768,Xo=1024,ea=1280,ta=1536,et={SM:Jo,MD:Qo,LG:Xo,XL:ea,XXL:ta};function se(...e){return Ko(Xt(e))}function hn(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=hn(e[t]))&&(n&&(n+=" "),n+=r);else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function ra(){for(var e,t,r=0,n="";r<arguments.length;)(e=arguments[r++])&&(t=hn(e))&&(n&&(n+=" "),n+=t);return n}const Fr=e=>typeof e=="boolean"?"".concat(e):e===0?"0":e,Dr=ra,Ae=(e,t)=>r=>{var n;if((t==null?void 0:t.variants)==null)return Dr(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],g=a==null?void 0:a[u];if(f===null)return null;const h=Fr(f)||Fr(g);return o[u][h]}),i=r&&Object.entries(r).reduce((u,f)=>{let[g,h]=f;return h===void 0||(u[g]=h),u},{}),l=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((u,f)=>{let{class:g,className:h,...y}=f;return Object.entries(y).every(R=>{let[v,x]=R;return Array.isArray(x)?x.includes({...a,...i}[v]):{...a,...i}[v]===x})?[...u,g,h]:u},[]);return Dr(e,s,l,r==null?void 0:r.class,r==null?void 0:r.className)},na=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.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"}),p.createElement("path",{d:"M18.3332 9L1.6665 9",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),oa=G.forwardRef(na),aa=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.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"}),p.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"})),ia=G.forwardRef(aa),sa=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.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"}),p.createElement("path",{d:"M9 12V8.25",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M9.00391 6H8.99717",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),la=G.forwardRef(sa),ca=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.createElement("path",{d:"M8.41797 3.45898L11.9588 6.99982L8.41797 10.5407",stroke:"currentColor",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M2.04102 7H11.8585",stroke:"currentColor",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),ua=G.forwardRef(ca),fa=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.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"}),p.createElement("path",{d:"M9 6V9.75",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M8.99609 12H9.00283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),da=G.forwardRef(fa),pa=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.createElement("path",{d:"M4 9.49361L7.49358 12.9872L14.48 6",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ha=G.forwardRef(pa),ga=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.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"}),p.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"})),ma=G.forwardRef(ga),va=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.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"})),ya=G.forwardRef(va),ba=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.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"}),p.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"}),p.createElement("path",{d:"M9 9.375V11.625",stroke:"currentColor",strokeWidth:1.5,strokeMiterlimit:10,strokeLinecap:"round",strokeLinejoin:"round"})),Ca=G.forwardRef(ba),wa=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.createElement("rect",{x:-12207e-8,width:49.9153,height:49.9153,rx:12.8814,fill:"url(#paint0_radial_9531_26789)"}),p.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}),p.createElement("defs",null,p.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)"},p.createElement("stop",{offset:.239,stopColor:"#2667FF"}),p.createElement("stop",{offset:.511954,stopColor:"#3F8EFC"}),p.createElement("stop",{offset:.565599,stopColor:"#87BFFF"})),p.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)"},p.createElement("stop",{offset:.239,stopColor:"#2667FF"}),p.createElement("stop",{offset:.511954,stopColor:"#3F8EFC"}),p.createElement("stop",{offset:.565599,stopColor:"#87BFFF"})))),Ea=G.forwardRef(wa),xa=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.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}),p.createElement("defs",null,p.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)"},p.createElement("stop",{offset:.0628132,stopColor:"#3B28CC"}),p.createElement("stop",{offset:.201513,stopColor:"#87BFFF"}),p.createElement("stop",{offset:.393774,stopColor:"#ADD7F6"}),p.createElement("stop",{offset:.574577,stopColor:"#3F8EFC"}),p.createElement("stop",{offset:.831624,stopColor:"#2667FF"})))),_a=G.forwardRef(xa),Sa=({title:e,titleId:t,...r},n)=>p.createElement("svg",{width:43,height:15,viewBox:"0 0 43 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n,"aria-labelledby":t,...r},e?p.createElement("title",{id:t},e):null,p.createElement("g",{id:"Group"},p.createElement("g",{id:"Group_2"},p.createElement("path",{id:"Vector",d:"M14.4907 12.864V2.1416H18.2675C19.4247 2.1416 20.3387 2.3881 21.1308 2.8811C21.9229 3.3741 22.4708 3.99006 22.8364 4.79161C23.202 5.59259 23.3848 6.5171 23.3848 7.5031C23.3848 8.61263 23.202 9.53657 22.7754 10.3375C22.3489 11.1385 21.7401 11.7551 20.948 12.186C20.1559 12.6175 19.2424 12.864 18.2066 12.864H14.4907ZM21.6792 7.50253C21.6792 6.76303 21.5573 6.08502 21.2527 5.53053C21.0089 4.97605 20.5824 4.48306 20.0949 4.17508C19.6075 3.86709 18.9372 3.68208 18.2066 3.68208H16.1354V11.385H18.2066C18.9378 11.385 19.6075 11.2 20.0949 10.892C20.5824 10.522 21.0084 10.091 21.2527 9.47452C21.5573 8.92004 21.6792 8.24202 21.6792 7.50253Z",fill:"currentColor"}),p.createElement("path",{id:"Vector_2",d:"M25.8214 1.83398H24.1768V3.49799H25.8214V1.83398Z",fill:"currentColor"}),p.createElement("path",{id:"Vector_3",d:"M25.8214 4.97656H24.1768V12.8645H25.8214V4.97656Z",fill:"currentColor"}),p.createElement("path",{id:"Vector_4",d:"M26.5528 8.98193C26.5528 8.24243 26.6747 7.56441 26.9793 6.94845C27.284 6.33249 27.7106 5.83949 28.1975 5.46946C28.6849 5.09942 29.3546 4.91498 30.0249 4.91498C30.6342 4.91498 31.1821 5.09999 31.6695 5.40798C32.157 5.71596 32.5226 6.08599 32.7658 6.57899V1.89551H34.4104V11.0154C34.4104 11.2004 34.4714 11.3234 34.5323 11.4469C34.5932 11.5084 34.7151 11.5704 34.8979 11.5704V12.9259C34.5932 12.9874 34.3495 12.9874 34.1667 12.9874C33.862 12.9874 33.6183 12.9259 33.3746 12.7409C33.1308 12.5559 33.0699 12.3714 33.009 12.0629V11.4469C32.7043 11.9399 32.2778 12.3094 31.7909 12.6179C31.3034 12.8644 30.7555 13.0494 30.2071 13.0494C29.6587 13.0494 29.1713 12.9259 28.7453 12.7415C28.3188 12.5564 27.8922 12.2485 27.5881 11.879C27.2835 11.509 26.9788 11.078 26.796 10.585C26.6741 10.0305 26.5522 9.53754 26.5522 8.98306L26.5528 8.98193ZM32.8273 10.0915V8.05798C32.7054 7.75 32.5226 7.44202 32.2789 7.19495C32.0352 6.94845 31.7914 6.76343 31.4867 6.57899C31.1821 6.45602 30.8774 6.33249 30.5727 6.33249C30.2071 6.33249 29.9025 6.39397 29.5984 6.57899C29.2937 6.70252 29.05 6.94902 28.8672 7.19495C28.6844 7.44145 28.5016 7.74943 28.3797 8.05798C28.2578 8.36596 28.1969 8.736 28.1969 9.04398C28.1969 9.41401 28.2578 9.72199 28.3797 10.03C28.5016 10.338 28.6844 10.6459 28.8672 10.8924C29.1109 11.1389 29.3546 11.3239 29.6593 11.4469C29.964 11.5704 30.2686 11.6319 30.6342 11.6319C30.878 11.6319 31.0608 11.5704 31.3045 11.5084C31.5482 11.4469 31.731 11.3234 31.9748 11.2004C32.1576 11.0769 32.3404 10.8924 32.5232 10.7074C32.6451 10.4609 32.7669 10.2759 32.8279 10.0915H32.8273Z",fill:"currentColor"}),p.createElement("path",{id:"Vector_5",d:"M37.4562 1.83398H35.8115V3.49799H37.4562V1.83398Z",fill:"currentColor"}),p.createElement("path",{id:"Vector_6",d:"M37.4562 4.97656H35.8115V12.864H37.4562V4.97656Z",fill:"currentColor"}),p.createElement("path",{id:"Vector_7",d:"M43.0001 12.4944C42.8782 12.5558 42.6954 12.6179 42.4517 12.7409C42.2689 12.8023 42.0251 12.8644 41.7205 12.9259C41.4767 12.9873 41.1721 12.9874 40.9283 12.9874C40.5627 12.9874 40.2581 12.9259 40.0143 12.8023C39.7097 12.6788 39.4659 12.4944 39.3441 12.2479C39.1613 12.0014 39.1003 11.6319 39.1003 11.2004V6.2704H38.0645V4.97642H39.1003V1.83398H40.745V4.97642H42.4506V6.2704H40.745V10.6453C40.745 10.8918 40.8668 11.1383 40.9887 11.2613C41.1715 11.3848 41.3543 11.4463 41.5371 11.4463C41.7808 11.4463 41.9636 11.3848 42.2074 11.3228C42.4511 11.2613 42.573 11.1998 42.6948 11.1378L42.9995 12.4932L43.0001 12.4944Z",fill:"currentColor"})),p.createElement("g",{id:"Clip path group"},p.createElement("mask",{id:"mask0_10911_16778",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:0,y:0,width:12,height:15},p.createElement("g",{id:"clippath"},p.createElement("path",{id:"Vector_8",d:"M5.65999 15C2.53939 15 0.000488281 12.4382 0.000488281 9.28954V5.71046C0.000488281 2.56177 2.53939 0 5.65999 0C8.78058 0 11.3195 2.56177 11.3195 5.71046V9.28954C11.333 10.7936 10.7553 12.2208 9.69233 13.303C8.61753 14.3971 7.18558 15 5.65999 15ZM5.65999 1.35091C3.27737 1.35091 1.33934 3.30639 1.33934 5.71046V9.28954C1.33934 11.6936 3.27737 13.6491 5.65999 13.6491C6.82562 13.6491 7.91961 13.1885 8.74109 12.3523C9.55071 11.528 9.99079 10.4429 9.98063 9.2958V5.71103C9.98063 3.30696 8.04261 1.35147 5.65999 1.35147V1.35091Z",fill:"white"}))),p.createElement("g",{mask:"url(#mask0_10911_16778)"},p.createElement("g",{id:"Group_3"},p.createElement("rect",{id:"Rectangle",x:-1.87793,y:-.0722656,width:15.0642,height:15.1429,fill:"currentColor"})))))),Ra=G.forwardRef(Sa),Ta=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.createElement("path",{d:"M5 5L15 15M5 15L15 5",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Ma=G.forwardRef(Ta),ka=({title:e,titleId:t,...r},n)=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:19,height:18,viewBox:"0 0 19 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?p.createElement("title",{id:t},e):null,p.createElement("g",{clipPath:"url(#clip0_9531_28044)"},p.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.12 3C6.72341 3.00012 6.33389 3.0989 5.99092 3.28633C5.64795 3.47376 5.36371 3.74318 5.167 4.06729L3.67225 6.52941H2.8C2.72044 6.52941 2.64413 6.55916 2.58787 6.61211C2.53161 6.66506 2.5 6.73688 2.5 6.81176V7.14706C2.49985 7.27311 2.54452 7.39558 2.62688 7.49497C2.70924 7.59436 2.82457 7.66496 2.9545 7.69553L2.9725 7.69906C2.65933 8.31083 2.54032 8.99464 2.62975 9.66847L3.1735 13.7633C3.21884 14.1048 3.39517 14.4189 3.66932 14.6467C3.94348 14.8744 4.29658 15.0001 4.66225 15H4.75C5.14783 15 5.52936 14.8513 5.81066 14.5865C6.09196 14.3217 6.25 13.9627 6.25 13.5882H13.75C13.75 13.9627 13.908 14.3217 14.1893 14.5865C14.4706 14.8513 14.8522 15 15.25 15H15.3377C15.7034 15.0001 16.0565 14.8744 16.3307 14.6467C16.6048 14.4189 16.7812 14.1048 16.8265 13.7633L17.3702 9.66918C17.4597 8.99534 17.3407 8.31153 17.0275 7.69976L17.0455 7.69553C17.1754 7.66496 17.2908 7.59436 17.3731 7.49497C17.4555 7.39558 17.5001 7.27311 17.5 7.14706V6.81176C17.5 6.73688 17.4684 6.66506 17.4121 6.61211C17.3559 6.55916 17.2796 6.52941 17.2 6.52941H16.3277L14.833 4.06729C14.6363 3.74318 14.352 3.47376 14.0091 3.28633C13.6661 3.0989 13.2766 3.00012 12.88 3H7.12075H7.12ZM14.8165 6.88518L13.531 4.76753C13.4654 4.65939 13.3705 4.56951 13.256 4.50703C13.1416 4.44455 13.0116 4.41168 12.8792 4.41176H7.12075C6.98842 4.41168 6.85843 4.44455 6.74396 4.50703C6.6295 4.56951 6.53463 4.65939 6.469 4.76753L5.1835 6.88518C5.11836 6.99251 5.0843 7.11407 5.08475 7.23768C5.08519 7.36129 5.12012 7.48263 5.18603 7.58955C5.25194 7.69647 5.34653 7.78522 5.46033 7.84693C5.57414 7.90864 5.70316 7.94114 5.8345 7.94118H14.1655C14.2968 7.94114 14.4259 7.90864 14.5397 7.84693C14.6535 7.78522 14.7481 7.69647 14.814 7.58955C14.8799 7.48263 14.9148 7.36129 14.9153 7.23768C14.9157 7.11407 14.8816 6.99251 14.8165 6.88518ZM4.75 10.7922V10.2981C4.74996 10.237 4.76681 10.1769 4.79888 10.1237C4.83096 10.0705 4.87716 10.0261 4.93296 9.99477C4.98877 9.96346 5.05226 9.94633 5.11721 9.94506C5.18217 9.94379 5.24636 9.95842 5.3035 9.98753L7.36 11.0322C7.63975 11.1748 7.5235 11.5751 7.2055 11.5631L5.47 11.4974C5.27659 11.4901 5.09367 11.4127 4.95948 11.2815C4.82529 11.1502 4.75023 10.9751 4.75 10.7929V10.7922ZM15.25 10.2981V10.7922C15.2502 10.9747 15.1753 11.1501 15.041 11.2816C14.9068 11.4132 14.7237 11.4908 14.53 11.4981L12.7945 11.5631C12.4765 11.5751 12.3595 11.1748 12.64 11.0322L14.6965 9.98753C14.7536 9.95842 14.8178 9.94379 14.8828 9.94506C14.9477 9.94633 15.0112 9.96346 15.067 9.99477C15.1228 10.0261 15.169 10.0705 15.2011 10.1237C15.2332 10.1769 15.25 10.237 15.25 10.2981Z",fill:"currentColor"})),p.createElement("defs",null,p.createElement("clipPath",{id:"clip0_9531_28044"},p.createElement("rect",{width:18,height:18,fill:"white",transform:"translate(0.5)"})))),Oa=G.forwardRef(ka),Pa=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.createElement("path",{d:"M15.5002 2.5H4.50016C2.47433 2.5 0.833496 3.98333 0.833496 5.80833V14.1917C0.833496 16.0167 2.47433 17.5 4.50016 17.5H15.5002C17.526 17.5 19.1668 16.0167 19.1668 14.1917V5.80833C19.1668 3.98333 17.526 2.5 15.5002 2.5ZM6.79183 5.975C7.956 5.975 8.90933 6.84167 8.90933 7.9C8.90933 8.95833 7.956 9.825 6.79183 9.825C5.62766 9.825 4.67433 8.95833 4.67433 7.9C4.67433 6.84167 5.62766 5.975 6.79183 5.975ZM10.3393 13.8833C10.2568 13.9667 10.1285 14.0167 10.0002 14.0167H3.5835C3.45516 14.0167 3.32683 13.9667 3.24433 13.8833C3.16183 13.8 3.116 13.6833 3.12516 13.5667C3.281 12.1667 4.50933 11.0583 6.04933 10.925C6.53516 10.8833 7.03933 10.8833 7.52516 10.925C9.06516 11.0583 10.3027 12.1667 10.4493 13.5667C10.4677 13.6833 10.4218 13.8 10.3393 13.8833ZM16.4168 13.9583H14.5835C14.2077 13.9583 13.896 13.675 13.896 13.3333C13.896 12.9917 14.2077 12.7083 14.5835 12.7083H16.4168C16.7927 12.7083 17.1043 12.9917 17.1043 13.3333C17.1043 13.675 16.7927 13.9583 16.4168 13.9583ZM16.4168 10.625H12.7502C12.3743 10.625 12.0627 10.3417 12.0627 10C12.0627 9.65833 12.3743 9.375 12.7502 9.375H16.4168C16.7927 9.375 17.1043 9.65833 17.1043 10C17.1043 10.3417 16.7927 10.625 16.4168 10.625ZM16.4168 7.29167H11.8335C11.4577 7.29167 11.146 7.00833 11.146 6.66667C11.146 6.325 11.4577 6.04167 11.8335 6.04167H16.4168C16.7927 6.04167 17.1043 6.325 17.1043 6.66667C17.1043 7.00833 16.7927 7.29167 16.4168 7.29167Z",fill:"currentColor"})),La=G.forwardRef(Pa),Na=({title:e,titleId:t,...r},n)=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",width:19,height:18,viewBox:"0 0 19 18",fill:"none",ref:n,"aria-labelledby":t,...r},e?p.createElement("title",{id:t},e):null,p.createElement("path",{d:"M14 1.5C14.3978 1.5 14.7794 1.65804 15.0607 1.93934C15.342 2.22064 15.5 2.60218 15.5 3V15.75C15.5 16.1478 15.342 16.5294 15.0607 16.8107C14.7794 17.092 14.3978 17.25 14 17.25H5C4.60218 17.25 4.22064 17.092 3.93934 16.8107C3.65804 16.5294 3.5 16.1478 3.5 15.75V3C3.5 2.60218 3.65804 2.22064 3.93934 1.93934C4.22064 1.65804 4.60218 1.5 5 1.5H14ZM11 12H8C7.80884 12.0002 7.62498 12.0734 7.48597 12.2046C7.34697 12.3359 7.26332 12.5152 7.25212 12.706C7.24092 12.8969 7.30301 13.0848 7.4257 13.2314C7.54839 13.378 7.72243 13.4722 7.91225 13.4948L8 13.5H11C11.1912 13.4998 11.375 13.4266 11.514 13.2954C11.653 13.1641 11.7367 12.9848 11.7479 12.794C11.7591 12.6031 11.697 12.4152 11.5743 12.2686C11.4516 12.122 11.2776 12.0278 11.0877 12.0052L11 12ZM9.5 4.5C8.70435 4.5 7.94129 4.81607 7.37868 5.37868C6.81607 5.94129 6.5 6.70435 6.5 7.5C6.5 8.29565 6.81607 9.05871 7.37868 9.62132C7.94129 10.1839 8.70435 10.5 9.5 10.5C10.2956 10.5 11.0587 10.1839 11.6213 9.62132C12.1839 9.05871 12.5 8.29565 12.5 7.5C12.5 6.70435 12.1839 5.94129 11.6213 5.37868C11.0587 4.81607 10.2956 4.5 9.5 4.5ZM9.5 6C9.89782 6 10.2794 6.15804 10.5607 6.43934C10.842 6.72064 11 7.10218 11 7.5C11 7.89782 10.842 8.27936 10.5607 8.56066C10.2794 8.84196 9.89782 9 9.5 9C9.10218 9 8.72064 8.84196 8.43934 8.56066C8.15804 8.27936 8 7.89782 8 7.5C8 7.10218 8.15804 6.72064 8.43934 6.43934C8.72064 6.15804 9.10218 6 9.5 6Z",fill:"currentColor"})),Aa=G.forwardRef(Na),ja=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.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"}),p.createElement("path",{d:"M6.87744 11.1226L11.1224 6.87756",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M11.1224 11.1226L6.87744 6.87756",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Ia=G.forwardRef(ja),Ba=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.createElement("path",{d:"M9 1.5C4.8675 1.5 1.5 4.8675 1.5 9C1.5 13.1325 4.8675 16.5 9 16.5C13.1325 16.5 16.5 13.1325 16.5 9C16.5 4.8675 13.1325 1.5 9 1.5ZM11.52 10.725C11.7375 10.9425 11.7375 11.3025 11.52 11.52C11.4075 11.6325 11.265 11.685 11.1225 11.685C10.98 11.685 10.8375 11.6325 10.725 11.52L9 9.795L7.275 11.52C7.1625 11.6325 7.02 11.685 6.8775 11.685C6.735 11.685 6.5925 11.6325 6.48 11.52C6.2625 11.3025 6.2625 10.9425 6.48 10.725L8.205 9L6.48 7.275C6.2625 7.0575 6.2625 6.6975 6.48 6.48C6.6975 6.2625 7.0575 6.2625 7.275 6.48L9 8.205L10.725 6.48C10.9425 6.2625 11.3025 6.2625 11.52 6.48C11.7375 6.6975 11.7375 7.0575 11.52 7.275L9.795 9L11.52 10.725Z",fill:"currentColor"})),Fa=G.forwardRef(Ba),Da=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.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"}),p.createElement("path",{d:"M5.8125 8.99994L7.935 11.1224L12.1875 6.87744",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Va=G.forwardRef(Da),Ua=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.createElement("path",{d:"M9 1.50012C4.8675 1.50012 1.5 4.86762 1.5 9.00012C1.5 13.1326 4.8675 16.5001 9 16.5001C13.1325 16.5001 16.5 13.1326 16.5 9.00012C16.5 4.86762 13.1325 1.50012 9 1.50012ZM12.585 7.27512L8.3325 11.5276C8.2275 11.6326 8.085 11.6926 7.935 11.6926C7.785 11.6926 7.6425 11.6326 7.5375 11.5276L5.415 9.40512C5.1975 9.18762 5.1975 8.82762 5.415 8.61012C5.6325 8.39262 5.9925 8.39262 6.21 8.61012L7.935 10.3351L11.79 6.48012C12.0075 6.26262 12.3675 6.26262 12.585 6.48012C12.8025 6.69762 12.8025 7.05012 12.585 7.27512Z",fill:"currentColor"})),$a=G.forwardRef(Ua),Ha=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.createElement("path",{d:"M14.642 4.87726C13.9961 3.9858 13.1479 3.26022 12.1672 2.76006C11.1865 2.2599 10.1012 1.99942 9.00033 2C5.39828 2 2.43607 4.73124 2.06903 8.23638L2 8.89613L3.32082 9.03485L3.38918 8.37444C3.5128 7.20615 3.99801 6.10558 4.77712 5.22628C5.55623 4.34698 6.59038 3.7328 7.73529 3.46943C8.88019 3.20606 10.0788 3.30663 11.1638 3.75711C12.2488 4.2076 13.1661 4.98552 13.7878 5.98236H11.3234V7.30982H15.9695V2.66373H14.642V4.87726ZM14.6798 8.90343L14.6108 9.56384C14.487 10.7319 14.0018 11.8323 13.2227 12.7114C12.4436 13.5905 11.4096 14.2046 10.2649 14.4679C9.12015 14.7313 7.92176 14.6308 6.83686 14.1805C5.75196 13.7302 4.83465 12.9525 4.21287 11.9559H6.67729V10.6285H2.0312V15.2745H3.35865V13.061C4.00459 13.9525 4.85272 14.6781 5.83342 15.1782C6.81412 15.6784 7.89945 15.9389 9.00033 15.9383C12.6017 15.9383 15.5646 13.207 15.931 9.70189L16 9.04215L14.6798 8.90343Z",fill:"currentColor"})),Wa=G.forwardRef(Ha),za=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.createElement("path",{d:"M11.25 14.25L6 9L11.25 3.75",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),qa=G.forwardRef(za),Ya=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.createElement("path",{d:"M11.6849 8.99994C11.6849 10.4849 10.4849 11.6849 8.99994 11.6849C7.51494 11.6849 6.31494 10.4849 6.31494 8.99994C6.31494 7.51494 7.51494 6.31494 8.99994 6.31494C10.4849 6.31494 11.6849 7.51494 11.6849 8.99994Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"}),p.createElement("path",{d:"M8.99988 15.2025C11.6474 15.2025 14.1149 13.6425 15.8324 10.9425C16.5074 9.88504 16.5074 8.10754 15.8324 7.05004C14.1149 4.35004 11.6474 2.79004 8.99988 2.79004C6.35238 2.79004 3.88488 4.35004 2.16738 7.05004C1.49238 8.10754 1.49238 9.88504 2.16738 10.9425C3.88488 13.6425 6.35238 15.2025 8.99988 15.2025Z",stroke:"currentColor",strokeWidth:1.125,strokeLinecap:"round",strokeLinejoin:"round"})),Za=G.forwardRef(Ya),Ga=({title:e,titleId:t,...r},n)=>p.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?p.createElement("title",{id:t},e):null,p.createElement("path",{d:"M7.10244 11.4599C6.95994 11.4599 6.81744 11.4074 6.70494 11.2949C6.08994 10.6799 5.75244 9.86244 5.75244 8.99994C5.75244 7.20744 7.20744 5.75244 8.99994 5.75244C9.86244 5.75244 10.6799 6.08994 11.2949 6.70494C11.3999 6.80994 11.4599 6.95244 11.4599 7.10244C11.4599 7.25244 11.3999 7.39494 11.2949 7.49994L7.49994 11.2949C7.38744 11.4074 7.24494 11.4599 7.10244 11.4599ZM8.99994 6.87744C7.82994 6.87744 6.87744 7.82994 6.87744 8.99994C6.87744 9.37494 6.97494 9.73494 7.15494 10.0499L10.0499 7.15494C9.73494 6.97494 9.37494 6.87744 8.99994 6.87744Z",fill:"currentColor"}),p.createElement("path",{d:"M4.19988 13.8825C4.07238 13.8825 3.93738 13.8375 3.83238 13.7475C3.02988 13.065 2.30988 12.225 1.69488 11.25C0.899883 10.0125 0.899883 7.99499 1.69488 6.74999C3.52488 3.88499 6.18738 2.23499 8.99988 2.23499C10.6499 2.23499 12.2774 2.80499 13.7024 3.87749C13.9499 4.06499 14.0024 4.41749 13.8149 4.66499C13.6274 4.91249 13.2749 4.96499 13.0274 4.77749C11.7974 3.84749 10.4024 3.35999 8.99988 3.35999C6.57738 3.35999 4.25988 4.81499 2.63988 7.35749C2.07738 8.23499 2.07738 9.76499 2.63988 10.6425C3.20238 11.52 3.84738 12.2775 4.55988 12.8925C4.79238 13.095 4.82238 13.4475 4.61988 13.6875C4.51488 13.815 4.35738 13.8825 4.19988 13.8825Z",fill:"currentColor"}),p.createElement("path",{d:"M8.99992 15.765C8.00242 15.765 7.02742 15.5625 6.08992 15.165C5.80492 15.045 5.66992 14.715 5.78992 14.43C5.90992 14.145 6.23992 14.01 6.52492 14.13C7.31992 14.4675 8.15242 14.64 8.99242 14.64C11.4149 14.64 13.7324 13.185 15.3524 10.6425C15.9149 9.765 15.9149 8.235 15.3524 7.3575C15.1199 6.99 14.8649 6.6375 14.5949 6.3075C14.3999 6.0675 14.4374 5.715 14.6774 5.5125C14.9174 5.3175 15.2699 5.3475 15.4724 5.595C15.7649 5.955 16.0499 6.345 16.3049 6.75C17.0999 7.9875 17.0999 10.005 16.3049 11.25C14.4749 14.115 11.8124 15.765 8.99992 15.765Z",fill:"currentColor"}),p.createElement("path",{d:"M9.51768 12.2025C9.25518 12.2025 9.01518 12.015 8.96268 11.745C8.90268 11.4375 9.10518 11.145 9.41268 11.0925C10.2377 10.9425 10.9277 10.2525 11.0777 9.42751C11.1377 9.12001 11.4302 8.92501 11.7377 8.97751C12.0452 9.03751 12.2477 9.33001 12.1877 9.63751C11.9477 10.935 10.9127 11.9625 9.62268 12.2025C9.58518 12.195 9.55518 12.2025 9.51768 12.2025Z",fill:"currentColor"}),p.createElement("path",{d:"M1.50008 17.0625C1.35758 17.0625 1.21508 17.01 1.10258 16.8975C0.885078 16.68 0.885078 16.32 1.10258 16.1025L6.70508 10.5C6.92258 10.2825 7.28258 10.2825 7.50008 10.5C7.71758 10.7175 7.71758 11.0775 7.50008 11.295L1.89758 16.8975C1.78508 17.01 1.64258 17.0625 1.50008 17.0625Z",fill:"currentColor"}),p.createElement("path",{d:"M10.8975 7.66496C10.755 7.66496 10.6125 7.61246 10.5 7.49996C10.2825 7.28246 10.2825 6.92246 10.5 6.70496L16.1025 1.10246C16.32 0.884956 16.68 0.884956 16.8975 1.10246C17.115 1.31996 17.115 1.67996 16.8975 1.89746L11.295 7.49996C11.1825 7.61246 11.04 7.66496 10.8975 7.66496Z",fill:"currentColor"})),Ka=G.forwardRef(Ga),gn={scan:oa,settings:ia,info:la,arrowRight:ua,warning:da,check:ha,copy:ma,connect:ya,passKey:Ca,didit:Ea,close:Ma,diditLogo:_a,diditNameLogo:Ra,idCard:La,car:Oa,passport:Aa,closeCircle:Ia,checkCircle:Va,closeCircleBold:Fa,checkCircleBold:$a,refresh:Wa,chevronLeft:qa,eye:Za,eyeSlash:Ka},Ja=Ae(["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 Ne({type:e="scan",size:t,className:r,...n}){const o=gn[e]||null;return N.jsx("span",{className:se(Ja({size:t,className:r})),...n,children:N.jsx(o,{className:"size-full text-current"})})}const Qa=Ae(["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 mn({size:e,variant:t="default",className:r,...n}){const o=Xt({"stroke-foreground/20":t==="default","stroke-primary/20":t==="primary","stroke-soft/30":t==="soft","stroke-accent/30":t==="accent"}),a=Xt({"stroke-foreground":t==="default","stroke-primary":t==="primary","stroke-soft":t==="soft","stroke-accent":t==="accent"});return N.jsx("span",{className:se(Qa({size:e,className:r})),...n,children:N.jsxs("svg",{className:"size-full",xmlns:"http://www.w3.org/2000/svg",width:"56",height:"56",viewBox:"0 0 56 56",fill:"none",children:[N.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"}),N.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"})]})})}const Xa=Ae(["group relative w-full min-w-52 flex items-center rounded-full overflow-hidden","transition-all duration-300"],{variants:{variant:{default:"bg-transparent border border-foreground text-foreground",white:"bg-transparent border border-background text-background",primary:"bg-primary border border-primary text-background",soft:"bg-soft border border-soft text-primary"},size:{md:"px-2 py-4",lg:"px-3 py-5"},disabled:{true:"pointer-events-none bg-surface-lo text-surface-mdlo border-surface-lo"},isLoading:{true:"pointer-events-none"},animate:{true:"",false:"hover:opacity-70"}},compoundVariants:[{animate:!0,variant:"primary",className:"hover:text-primary"}],defaultVariants:{size:"md",variant:"default",disabled:!1,isLoading:!1,animate:!1}});function ei({size:e="md",variant:t="default",icon:r,isLoading:n=!1,animate:o=!1,disabled:a,className:s,children:i,...l}){const u=se(["absolute right-2 p-[7px] rounded-full z-20 flex justify-end items-center","transition-color duration-300",{"right-2":e==="md","right-3":e==="lg","text-foreground":t==="default","bg-background text-primary":t==="primary","bg-transparent text-surface-mdlo":a}]),f=se(["hidden absolute right-2 size-7","bg-background rounded-full z-10 transition-all duration-300","group-hover:w-[calc(100%-4px)] group-hover:right-[2px] group-hover:h-[calc(100%-4px)]",{"right-2":e==="md","right-3":e==="lg","text-foreground":t==="default","bg-background text-primary":t==="primary","bg-transparent text-surface-mdlo":a,block:o}]),g=t==="primary"?"xs":"sm";return N.jsxs("button",{className:se(Xa({variant:t,size:e,isLoading:n,disabled:a,animate:o,className:s})),...l,children:[N.jsx("span",{className:"text-sm font-medium leading-[90%] tracking-tight w-full text-center z-30 text-inherit",children:i}),r&&!n&&N.jsx("div",{className:u,children:N.jsx(Ne,{type:r,size:a?"sm":g})}),n&&N.jsx("div",{className:u,children:N.jsx(mn,{size:"xs",variant:t==="white"?"soft":t})}),N.jsx("div",{className:f})]})}const ti=Ae("font-inter",{variants:{variant:{H1:"text-[42px] md:text-[52px] font-medium leading-[95%] tracking-tighter",H2:"text-[32px] md:text-[42px] font-medium leading-[95%] tracking-tighter",H3:"text-[28px] md:text-[32px] font-medium leading-[105%] tracking-tighter",H4:"text-2xl font-medium leading-[110%] tracking-tight",H5:"text-base font-semibold leading-[95%] tracking-tight",H6:"text-sm font-medium leading-[90%] tracking-tight",P1:"text-base font-normal leading-[140%] tracking-tight",P2:"text-sm font-normal leading-[140%] tracking-tight",P3:"text-xs font-normal leading-[150%] tracking-tight",Label1:"text-sm 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-[10px] 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}}),Ee=G.forwardRef(({as:e,variant:t,align:r,italic:n,underline:o,className:a,...s},i)=>{const l=e||"span";return N.jsx(l,{ref:i,className:se(ti({variant:t,italic:n,underline:o,align:r,className:a})),...s})}),ri=Ae(["flex items-center justify-center","rounded-full border"],{variants:{variant:{default:"bg-surface-ulo text-surface-hi",primary:"bg-primary/10 text-primary"},size:{xs:"p-[8px]",sm:"p-[11px]",md:"p-4",lg:"p-5"},withBorder:{true:"border-surface-lo",false:"border-transparent"}},compoundVariants:[{variant:"primary",withBorder:!0,className:"border-primary/20"}],defaultVariants:{withBorder:!1,size:"sm",variant:"default"}});function vn({icon:e="scan",label:t,size:r,variant:n,withBorder:o,className:a,...s}){const i=se(["flex flex-col items-center justify-center gap-[6px] text-surface-hi","opacity-70 hover:opacity-100 transition-opacity duration-300","disabled:opacity-50 disabled:hover:opacity-50"],a,{"text-primary":n==="primary"});return N.jsxs("button",{className:i,...s,children:[N.jsx("div",{className:se(ri({size:r,variant:n,withBorder:o})),children:N.jsx(Ne,{className:"text-inherit",type:e,size:r})}),t&&N.jsx(Ee,{className:"text-inherit",variant:"P3",children:t})]})}var gt={},ni=function(){return typeof Promise=="function"&&Promise.prototype&&Promise.prototype.then},yn={},ye={};let pr;const oi=[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 oi[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.');pr=t};ye.isKanjiModeEnabled=function(){return typeof pr<"u"};ye.toSJIS=function(t){return pr(t)};var Mt={};(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}}})(Mt);function bn(){this.buffer=[],this.length=0}bn.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 ai=bn;function mt(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)}mt.prototype.set=function(e,t,r,n){const o=e*this.size+t;this.data[o]=r,n&&(this.reservedBit[o]=!0)};mt.prototype.get=function(e,t){return this.data[e*this.size+t]};mt.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r};mt.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]};var ii=mt,Cn={};(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}})(Cn);var wn={};const si=ye.getSymbolSize,Vr=7;wn.getPositions=function(t){const r=si(t);return[[0,0],[r-Vr,0],[0,r-Vr]]};var En={};(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 g=0;g<a;g++){i=l=0,u=f=null;for(let h=0;h<a;h++){let y=o.get(g,h);y===u?i++:(i>=5&&(s+=t.N1+(i-5)),u=y,i=1),y=o.get(h,g),y===f?l++:(l>=5&&(s+=t.N1+(l-5)),f=y,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}})(En);var kt={};const Pe=Mt,bt=[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];kt.getBlocksCount=function(t,r){switch(r){case Pe.L:return bt[(t-1)*4+0];case Pe.M:return bt[(t-1)*4+1];case Pe.Q:return bt[(t-1)*4+2];case Pe.H:return bt[(t-1)*4+3];default:return}};kt.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 xn={},Ot={};const ft=new Uint8Array(512),xt=new Uint8Array(256);(function(){let t=1;for(let r=0;r<255;r++)ft[r]=t,xt[t]=r,t<<=1,t&256&&(t^=285);for(let r=255;r<512;r++)ft[r]=ft[r-255]})();Ot.log=function(t){if(t<1)throw new Error("log("+t+")");return xt[t]};Ot.exp=function(t){return ft[t]};Ot.mul=function(t,r){return t===0||r===0?0:ft[xt[t]+xt[r]]};(function(e){const t=Ot;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}})(xn);const _n=xn;function hr(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}hr.prototype.initialize=function(t){this.degree=t,this.genPoly=_n.generateECPolynomial(this.degree)};hr.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=_n.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 li=hr,Sn={},je={},gr={};gr.isValid=function(t){return!isNaN(t)&&t>=1&&t<=40};var Re={};const Rn="[0-9]+",ci="[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 ui="(?:(?![A-Z0-9 $%*+\\-./:]|"+dt+`)(?:.|[\r
31
+ ]))+`;Re.KANJI=new RegExp(dt,"g");Re.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g");Re.BYTE=new RegExp(ui,"g");Re.NUMERIC=new RegExp(Rn,"g");Re.ALPHANUMERIC=new RegExp(ci,"g");const fi=new RegExp("^"+dt+"$"),di=new RegExp("^"+Rn+"$"),pi=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");Re.testKanji=function(t){return fi.test(t)};Re.testNumeric=function(t){return di.test(t)};Re.testAlphanumeric=function(t){return pi.test(t)};(function(e){const t=gr,r=Re;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}}})(je);(function(e){const t=ye,r=kt,n=Mt,o=je,a=gr,s=7973,i=t.getBCHDigit(s);function l(h,y,R){for(let v=1;v<=40;v++)if(y<=e.getCapacity(v,R,h))return v}function u(h,y){return o.getCharCountIndicator(h,y)+4}function f(h,y){let R=0;return h.forEach(function(v){const x=u(v.mode,y);R+=x+v.getBitsLength()}),R}function g(h,y){for(let R=1;R<=40;R++)if(f(h,R)<=e.getCapacity(R,y,o.MIXED))return R}e.from=function(y,R){return a.isValid(y)?parseInt(y,10):R},e.getCapacity=function(y,R,v){if(!a.isValid(y))throw new Error("Invalid QR Code version");typeof v>"u"&&(v=o.BYTE);const x=t.getSymbolTotalCodewords(y),C=r.getTotalCodewordsCount(y,R),w=(x-C)*8;if(v===o.MIXED)return w;const T=w-u(v,y);switch(v){case o.NUMERIC:return Math.floor(T/10*3);case o.ALPHANUMERIC:return Math.floor(T/11*2);case o.KANJI:return Math.floor(T/13);case o.BYTE:default:return Math.floor(T/8)}},e.getBestVersionForData=function(y,R){let v;const x=n.from(R,n.M);if(Array.isArray(y)){if(y.length>1)return g(y,x);if(y.length===0)return 1;v=y[0]}else v=y;return l(v.mode,v.getLength(),x)},e.getEncodedBits=function(y){if(!a.isValid(y)||y<7)throw new Error("Invalid QR Code version");let R=y<<12;for(;t.getBCHDigit(R)-i>=0;)R^=s<<t.getBCHDigit(R)-i;return y<<12|R}})(Sn);var Tn={};const tr=ye,Mn=1335,hi=21522,Ur=tr.getBCHDigit(Mn);Tn.getEncodedBits=function(t,r){const n=t.bit<<3|r;let o=n<<10;for(;tr.getBCHDigit(o)-Ur>=0;)o^=Mn<<tr.getBCHDigit(o)-Ur;return(n<<10|o)^hi};var kn={};const gi=je;function Ge(e){this.mode=gi.NUMERIC,this.data=e.toString()}Ge.getBitsLength=function(t){return 10*Math.floor(t/3)+(t%3?t%3*3+1:0)};Ge.prototype.getLength=function(){return this.data.length};Ge.prototype.getBitsLength=function(){return Ge.getBitsLength(this.data.length)};Ge.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 mi=Ge;const vi=je,Vt=["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 Ke(e){this.mode=vi.ALPHANUMERIC,this.data=e}Ke.getBitsLength=function(t){return 11*Math.floor(t/2)+6*(t%2)};Ke.prototype.getLength=function(){return this.data.length};Ke.prototype.getBitsLength=function(){return Ke.getBitsLength(this.data.length)};Ke.prototype.write=function(t){let r;for(r=0;r+2<=this.data.length;r+=2){let n=Vt.indexOf(this.data[r])*45;n+=Vt.indexOf(this.data[r+1]),t.put(n,11)}this.data.length%2&&t.put(Vt.indexOf(this.data[r]),6)};var yi=Ke;const bi=je;function Je(e){this.mode=bi.BYTE,typeof e=="string"?this.data=new TextEncoder().encode(e):this.data=new Uint8Array(e)}Je.getBitsLength=function(t){return t*8};Je.prototype.getLength=function(){return this.data.length};Je.prototype.getBitsLength=function(){return Je.getBitsLength(this.data.length)};Je.prototype.write=function(e){for(let t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)};var Ci=Je;const wi=je,Ei=ye;function Qe(e){this.mode=wi.KANJI,this.data=e}Qe.getBitsLength=function(t){return t*13};Qe.prototype.getLength=function(){return this.data.length};Qe.prototype.getBitsLength=function(){return Qe.getBitsLength(this.data.length)};Qe.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let r=Ei.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 xi=Qe,On={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,g,h,y,R,v,x;!i.empty();){l=i.pop(),u=l.value,g=l.cost,h=r[u]||{};for(f in h)h.hasOwnProperty(f)&&(y=h[f],R=g+y,v=s[f],x=typeof s[f]>"u",(x||v>R)&&(s[f]=R,i.push(f,R),a[f]=u))}if(typeof o<"u"&&typeof s[o]>"u"){var C=["Could not find a path from ",n," to ",o,"."].join("");throw new Error(C)}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})(On);var _i=On.exports;(function(e){const t=je,r=mi,n=yi,o=Ci,a=xi,s=Re,i=ye,l=_i;function u(C){return unescape(encodeURIComponent(C)).length}function f(C,w,T){const E=[];let m;for(;(m=C.exec(T))!==null;)E.push({data:m[0],index:m.index,mode:w,length:m[0].length});return E}function g(C){const w=f(s.NUMERIC,t.NUMERIC,C),T=f(s.ALPHANUMERIC,t.ALPHANUMERIC,C);let E,m;return i.isKanjiModeEnabled()?(E=f(s.BYTE,t.BYTE,C),m=f(s.KANJI,t.KANJI,C)):(E=f(s.BYTE_KANJI,t.BYTE,C),m=[]),w.concat(T,E,m).sort(function(re,le){return re.index-le.index}).map(function(re){return{data:re.data,mode:re.mode,length:re.length}})}function h(C,w){switch(w){case t.NUMERIC:return r.getBitsLength(C);case t.ALPHANUMERIC:return n.getBitsLength(C);case t.KANJI:return a.getBitsLength(C);case t.BYTE:return o.getBitsLength(C)}}function y(C){return C.reduce(function(w,T){const E=w.length-1>=0?w[w.length-1]:null;return E&&E.mode===T.mode?(w[w.length-1].data+=T.data,w):(w.push(T),w)},[])}function R(C){const w=[];for(let T=0;T<C.length;T++){const E=C[T];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 v(C,w){const T={},E={start:{}};let m=["start"];for(let W=0;W<C.length;W++){const re=C[W],le=[];for(let ie=0;ie<re.length;ie++){const ce=re[ie],de=""+W+ie;le.push(de),T[de]={node:ce,lastCount:0},E[de]={};for(let $=0;$<m.length;$++){const Q=m[$];T[Q]&&T[Q].node.mode===ce.mode?(E[Q][de]=h(T[Q].lastCount+ce.length,ce.mode)-h(T[Q].lastCount,ce.mode),T[Q].lastCount+=ce.length):(T[Q]&&(T[Q].lastCount=ce.length),E[Q][de]=h(ce.length,ce.mode)+4+t.getCharCountIndicator(ce.mode,w))}}m=le}for(let W=0;W<m.length;W++)E[m[W]].end=0;return{map:E,table:T}}function x(C,w){let T;const E=t.getBestModeForData(C);if(T=t.from(w,E),T!==t.BYTE&&T.bit<E.bit)throw new Error('"'+C+'" cannot be encoded with mode '+t.toString(T)+`.
33
+ Suggested mode is: `+t.toString(E));switch(T===t.KANJI&&!i.isKanjiModeEnabled()&&(T=t.BYTE),T){case t.NUMERIC:return new r(C);case t.ALPHANUMERIC:return new n(C);case t.KANJI:return new a(C);case t.BYTE:return new o(C)}}e.fromArray=function(w){return w.reduce(function(T,E){return typeof E=="string"?T.push(x(E,null)):E.data&&T.push(x(E.data,E.mode)),T},[])},e.fromString=function(w,T){const E=g(w,i.isKanjiModeEnabled()),m=R(E),W=v(m,T),re=l.find_path(W.map,"start","end"),le=[];for(let ie=1;ie<re.length-1;ie++)le.push(W.table[re[ie]].node);return e.fromArray(y(le))},e.rawSplit=function(w){return e.fromArray(g(w,i.isKanjiModeEnabled()))}})(kn);const Pt=ye,Ut=Mt,Si=ai,Ri=ii,Ti=Cn,Mi=wn,rr=En,nr=kt,ki=li,_t=Sn,Oi=Tn,Pi=je,$t=kn;function Li(e,t){const r=e.size,n=Mi.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 Ni(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 Ai(e,t){const r=Ti.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 ji(e,t){const r=e.size,n=_t.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 Ht(e,t,r){const n=e.size,o=Oi.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 Ii(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 Bi(e,t,r){const n=new Si;r.forEach(function(l){n.put(l.mode.bit,4),n.put(l.getLength(),Pi.getCharCountIndicator(l.mode,e)),l.write(n)});const o=Pt.getSymbolTotalCodewords(e),a=nr.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 Fi(n,e,t)}function Fi(e,t,r){const n=Pt.getSymbolTotalCodewords(t),o=nr.getTotalCodewordsCount(t,r),a=n-o,s=nr.getBlocksCount(t,r),i=n%s,l=s-i,u=Math.floor(n/s),f=Math.floor(a/s),g=f+1,h=u-f,y=new ki(h);let R=0;const v=new Array(s),x=new Array(s);let C=0;const w=new Uint8Array(e.buffer);for(let re=0;re<s;re++){const le=re<l?f:g;v[re]=w.slice(R,R+le),x[re]=y.encode(v[re]),R+=le,C=Math.max(C,le)}const T=new Uint8Array(n);let E=0,m,W;for(m=0;m<C;m++)for(W=0;W<s;W++)m<v[W].length&&(T[E++]=v[W][m]);for(m=0;m<h;m++)for(W=0;W<s;W++)T[E++]=x[W][m];return T}function Di(e,t,r,n){let o;if(Array.isArray(e))o=$t.fromArray(e);else if(typeof e=="string"){let u=t;if(!u){const f=$t.rawSplit(e);u=_t.getBestVersionForData(f,r)}o=$t.fromString(e,u||40)}else throw new Error("Invalid data");const a=_t.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
+ The chosen QR Code version cannot contain this amount of data.
35
+ Minimum version required to store current data is: `+a+`.
36
+ `);const s=Bi(t,r,o),i=Pt.getSymbolSize(t),l=new Ri(i);return Li(l,t),Ni(l),Ai(l,t),Ht(l,r,0),t>=7&&ji(l,t),Ii(l,s),isNaN(n)&&(n=rr.getBestMask(l,Ht.bind(null,l,r))),rr.applyMask(n,l),Ht(l,r,n),{modules:l,version:t,errorCorrectionLevel:r,maskPattern:n,segments:o}}yn.create=function(t,r){if(typeof t>"u"||t==="")throw new Error("No input text");let n=Ut.M,o,a;return typeof r<"u"&&(n=Ut.from(r.errorCorrectionLevel,Ut.M),o=_t.from(r.version),a=rr.from(r.maskPattern),r.toSJISFunc&&Pt.setToSJISFunction(r.toSJISFunc)),Di(t,o,n,a)};var Pn={},mr={};(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,g=[a.color.light,a.color.dark];for(let h=0;h<u;h++)for(let y=0;y<u;y++){let R=(h*u+y)*4,v=a.color.light;if(h>=f&&y>=f&&h<u-f&&y<u-f){const x=Math.floor((h-f)/l),C=Math.floor((y-f)/l);v=g[i[x*s+C]?1:0]}n[R++]=v.r,n[R++]=v.g,n[R++]=v.b,n[R]=v.a}}})(mr);(function(e){const t=mr;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),g=u.getContext("2d"),h=g.createImageData(f,f);return t.qrToImageData(h.data,a,l),r(g,u,f),g.putImageData(h,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",g=l.rendererOpts||{};return u.toDataURL(f,g.quality)}})(Pn);var Ln={};const Vi=mr;function $r(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function Wt(e,t,r){let n=e+t;return typeof r<"u"&&(n+=" "+r),n}function Ui(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?Wt("M",l+r,.5+u+r):Wt("m",o,0),o=0,a=!1),l+1<t&&e[i+1]||(n+=Wt("h",s),s=0)):o++}return n}Ln.render=function(t,r,n){const o=Vi.getOptions(r),a=t.modules.size,s=t.modules.data,i=a+o.margin*2,l=o.color.light.a?"<path "+$r(o.color.light,"fill")+' d="M0 0h'+i+"v"+i+'H0z"/>':"",u="<path "+$r(o.color.dark,"stroke")+' d="'+Ui(s,a,o.margin)+'"/>',f='viewBox="0 0 '+i+" "+i+'"',h='<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,h),h};const $i=ni,or=yn,Nn=Pn,Hi=Ln;function vr(e,t,r,n,o){const a=[].slice.call(arguments,1),s=a.length,i=typeof a[s-1]=="function";if(!i&&!$i())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=or.create(r,n);l(e(f,t,n))}catch(f){u(f)}})}try{const l=or.create(r,n);o(null,e(l,t,n))}catch(l){o(l)}}gt.create=or.create;gt.toCanvas=vr.bind(null,Nn.render);gt.toDataURL=vr.bind(null,Nn.renderToDataURL);gt.toString=vr.bind(null,function(e,t,r){return Hi.render(e,r)});const Wi=.1,Hr=2.5,Me=7;function zt(e,t,r){return e===t?!1:(e-t<0?t-e:e-t)<=r+Wi}function zi(e,t){const r=Array.prototype.slice.call(gt.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 qi={generate(e,t,r,n="#141414"){const o="transparent",s=zi(e,"Q"),i=t/s.length,l=[{x:0,y:0},{x:1,y:0},{x:0,y:1}],u=[];l.forEach(({x:v,y:x})=>{const C=(s.length-Me)*i*v,w=(s.length-Me)*i*x,T=.3;for(let E=0;E<l.length;E+=1){const m=i*(Me-E*2);u.push(N.jsx("rect",{fill:E===2?n:o,width:E===0?m-5:m,rx:E===0?(m-5)*T:m*T,ry:E===0?(m-5)*T:m*T,stroke:n,strokeWidth:E===0?5:0,height:E===0?m-5:m,x:E===0?w+i*E+5/2:w+i*E,y:E===0?C+i*E+5/2:C+i*E},`${v}-${x}-${E}`))}});const f=Math.floor((r+25)/i),g=s.length/2-f/2,h=s.length/2+f/2-1,y=[];s.forEach((v,x)=>{v.forEach((C,w)=>{if(s[x][w]&&!(x<Me&&w<Me||x>s.length-(Me+1)&&w<Me||x<Me&&w>s.length-(Me+1))&&!(x>g&&x<h&&w>g&&w<h)){const T=x*i+i/2,E=w*i+i/2;y.push([T,E])}})});const R={};return y.forEach(([v,x])=>{var C;R[v]?(C=R[v])==null||C.push(x):R[v]=[x]}),Object.entries(R).map(([v,x])=>{const C=x.filter(w=>x.every(T=>!zt(w,T,i)));return[Number(v),C]}).forEach(([v,x])=>{x.forEach(C=>{u.push(N.jsx("circle",{cx:v,cy:C,fill:n,r:i/Hr}))})}),Object.entries(R).filter(([v,x])=>x.length>1).map(([v,x])=>{const C=x.filter(w=>x.some(T=>zt(w,T,i)));return[Number(v),C]}).map(([v,x])=>{x.sort((w,T)=>w<T?-1:1);const C=[];for(const w of x){const T=C.find(E=>E.some(m=>zt(w,m,i)));T?T.push(w):C.push([w])}return[v,C.map(w=>[w[0],w[w.length-1]])]}).forEach(([v,x])=>{x.forEach(([C,w])=>{u.push(N.jsx("line",{x1:v,x2:v,y1:C,y2:w,stroke:n,strokeWidth:i/(Hr/2),strokeLinecap:"round"},`${v}-${C}-${w}`))})}),u}},Yi={sm:120,md:200,lg:256,xl:320};function Zi({uri:e,size:t="md",color:r,iconName:n="didit",className:o,...a}){const s=typeof t=="number"?t:Yi[t],i=G.useMemo(()=>qi.generate(e,s,s/4,r),[e,s,r]),l=se(["size-fit","flex items-center justify-center","relative overflow-hidden aspect-square"],o),u=se(["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 N.jsxs("div",{className:l,...a,children:[N.jsx(Ne,{type:n,className:u}),N.jsx("svg",{width:s,height:s,children:i})]})}const Gi=Ae(["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 Ki({className:e,padding:t,shadow:r,children:n,...o}){return N.jsx("div",{className:se(Gi({shadow:r,padding:t,className:e})),...o,children:n})}var ar={exports:{}},$e={},ir={exports:{}},wt={exports:{}},ee={};/** @license React v16.13.1
38
+ * react-is.production.min.js
39
+ *
40
+ * Copyright (c) Facebook, Inc. and its affiliates.
41
+ *
42
+ * This source code is licensed under the MIT license found in the
43
+ * LICENSE file in the root directory of this source tree.
44
+ */var Wr;function Ji(){if(Wr)return ee;Wr=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,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,g=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,R=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function T(m){if(typeof m=="object"&&m!==null){var W=m.$$typeof;switch(W){case t:switch(m=m.type,m){case l:case u:case n:case a:case o:case g:return m;default:switch(m=m&&m.$$typeof,m){case i:case f:case R:case y:case s:return m;default:return W}}case r:return W}}}function E(m){return T(m)===u}return ee.AsyncMode=l,ee.ConcurrentMode=u,ee.ContextConsumer=i,ee.ContextProvider=s,ee.Element=t,ee.ForwardRef=f,ee.Fragment=n,ee.Lazy=R,ee.Memo=y,ee.Portal=r,ee.Profiler=a,ee.StrictMode=o,ee.Suspense=g,ee.isAsyncMode=function(m){return E(m)||T(m)===l},ee.isConcurrentMode=E,ee.isContextConsumer=function(m){return T(m)===i},ee.isContextProvider=function(m){return T(m)===s},ee.isElement=function(m){return typeof m=="object"&&m!==null&&m.$$typeof===t},ee.isForwardRef=function(m){return T(m)===f},ee.isFragment=function(m){return T(m)===n},ee.isLazy=function(m){return T(m)===R},ee.isMemo=function(m){return T(m)===y},ee.isPortal=function(m){return T(m)===r},ee.isProfiler=function(m){return T(m)===a},ee.isStrictMode=function(m){return T(m)===o},ee.isSuspense=function(m){return T(m)===g},ee.isValidElementType=function(m){return typeof m=="string"||typeof m=="function"||m===n||m===u||m===a||m===o||m===g||m===h||typeof m=="object"&&m!==null&&(m.$$typeof===R||m.$$typeof===y||m.$$typeof===s||m.$$typeof===i||m.$$typeof===f||m.$$typeof===x||m.$$typeof===C||m.$$typeof===w||m.$$typeof===v)},ee.typeOf=T,ee}var te={};/** @license React v16.13.1
45
+ * react-is.development.js
46
+ *
47
+ * Copyright (c) Facebook, Inc. and its affiliates.
48
+ *
49
+ * This source code is licensed under the MIT license found in the
50
+ * LICENSE file in the root directory of this source tree.
51
+ */var zr;function Qi(){return zr||(zr=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,g=e?Symbol.for("react.suspense"):60113,h=e?Symbol.for("react.suspense_list"):60120,y=e?Symbol.for("react.memo"):60115,R=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,x=e?Symbol.for("react.fundamental"):60117,C=e?Symbol.for("react.responder"):60118,w=e?Symbol.for("react.scope"):60119;function T(M){return typeof M=="string"||typeof M=="function"||M===n||M===u||M===a||M===o||M===g||M===h||typeof M=="object"&&M!==null&&(M.$$typeof===R||M.$$typeof===y||M.$$typeof===s||M.$$typeof===i||M.$$typeof===f||M.$$typeof===x||M.$$typeof===C||M.$$typeof===w||M.$$typeof===v)}function E(M){if(typeof M=="object"&&M!==null){var be=M.$$typeof;switch(be){case t:var We=M.type;switch(We){case l:case u:case n:case a:case o:case g:return We;default:var Ie=We&&We.$$typeof;switch(Ie){case i:case f:case R:case y:case s:return Ie;default:return be}}case r:return be}}}var m=l,W=u,re=i,le=s,ie=t,ce=f,de=n,$=R,Q=y,O=r,L=a,H=o,d=g,P=!1;function ne(M){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.")),b(M)||E(M)===l}function b(M){return E(M)===u}function S(M){return E(M)===i}function I(M){return E(M)===s}function A(M){return typeof M=="object"&&M!==null&&M.$$typeof===t}function j(M){return E(M)===f}function Y(M){return E(M)===n}function D(M){return E(M)===R}function V(M){return E(M)===y}function z(M){return E(M)===r}function J(M){return E(M)===a}function q(M){return E(M)===o}function pe(M){return E(M)===g}te.AsyncMode=m,te.ConcurrentMode=W,te.ContextConsumer=re,te.ContextProvider=le,te.Element=ie,te.ForwardRef=ce,te.Fragment=de,te.Lazy=$,te.Memo=Q,te.Portal=O,te.Profiler=L,te.StrictMode=H,te.Suspense=d,te.isAsyncMode=ne,te.isConcurrentMode=b,te.isContextConsumer=S,te.isContextProvider=I,te.isElement=A,te.isForwardRef=j,te.isFragment=Y,te.isLazy=D,te.isMemo=V,te.isPortal=z,te.isProfiler=J,te.isStrictMode=q,te.isSuspense=pe,te.isValidElementType=T,te.typeOf=E}()),te}var qr;function An(){return qr||(qr=1,process.env.NODE_ENV==="production"?wt.exports=Ji():wt.exports=Qi()),wt.exports}/*
52
+ object-assign
53
+ (c) Sindre Sorhus
54
+ @license MIT
55
+ */var qt,Yr;function Xi(){if(Yr)return qt;Yr=1;var e=Object.getOwnPropertySymbols,t=Object.prototype.hasOwnProperty,r=Object.prototype.propertyIsEnumerable;function n(a){if(a==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(a)}function o(){try{if(!Object.assign)return!1;var a=new String("abc");if(a[5]="de",Object.getOwnPropertyNames(a)[0]==="5")return!1;for(var s={},i=0;i<10;i++)s["_"+String.fromCharCode(i)]=i;var l=Object.getOwnPropertyNames(s).map(function(f){return s[f]});if(l.join("")!=="0123456789")return!1;var u={};return"abcdefghijklmnopqrst".split("").forEach(function(f){u[f]=f}),Object.keys(Object.assign({},u)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}return qt=o()?Object.assign:function(a,s){for(var i,l=n(a),u,f=1;f<arguments.length;f++){i=Object(arguments[f]);for(var g in i)t.call(i,g)&&(l[g]=i[g]);if(e){u=e(i);for(var h=0;h<u.length;h++)r.call(i,u[h])&&(l[u[h]]=i[u[h]])}}return l},qt}var Yt,Zr;function yr(){if(Zr)return Yt;Zr=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return Yt=e,Yt}var Zt,Gr;function jn(){return Gr||(Gr=1,Zt=Function.call.bind(Object.prototype.hasOwnProperty)),Zt}var Gt,Kr;function es(){if(Kr)return Gt;Kr=1;var e=function(){};if(process.env.NODE_ENV!=="production"){var t=yr(),r={},n=jn();e=function(a){var s="Warning: "+a;typeof console<"u"&&console.error(s);try{throw new Error(s)}catch{}}}function o(a,s,i,l,u){if(process.env.NODE_ENV!=="production"){for(var f in a)if(n(a,f)){var g;try{if(typeof a[f]!="function"){var h=Error((l||"React class")+": "+i+" type `"+f+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof a[f]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw h.name="Invariant Violation",h}g=a[f](s,f,l,i,null,t)}catch(R){g=R}if(g&&!(g instanceof Error)&&e((l||"React class")+": type specification of "+i+" `"+f+"` is invalid; the type checker function must return `null` or an `Error` but returned a "+typeof g+". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."),g instanceof Error&&!(g.message in r)){r[g.message]=!0;var y=u?u():"";e("Failed "+i+" type: "+g.message+(y??""))}}}}return o.resetWarningCache=function(){process.env.NODE_ENV!=="production"&&(r={})},Gt=o,Gt}var Kt,Jr;function ts(){if(Jr)return Kt;Jr=1;var e=An(),t=Xi(),r=yr(),n=jn(),o=es(),a=function(){};process.env.NODE_ENV!=="production"&&(a=function(i){var l="Warning: "+i;typeof console<"u"&&console.error(l);try{throw new Error(l)}catch{}});function s(){return null}return Kt=function(i,l){var u=typeof Symbol=="function"&&Symbol.iterator,f="@@iterator";function g(b){var S=b&&(u&&b[u]||b[f]);if(typeof S=="function")return S}var h="<<anonymous>>",y={array:C("array"),bigint:C("bigint"),bool:C("boolean"),func:C("function"),number:C("number"),object:C("object"),string:C("string"),symbol:C("symbol"),any:w(),arrayOf:T,element:E(),elementType:m(),instanceOf:W,node:ce(),objectOf:le,oneOf:re,oneOfType:ie,shape:$,exact:Q};function R(b,S){return b===S?b!==0||1/b===1/S:b!==b&&S!==S}function v(b,S){this.message=b,this.data=S&&typeof S=="object"?S:{},this.stack=""}v.prototype=Error.prototype;function x(b){if(process.env.NODE_ENV!=="production")var S={},I=0;function A(Y,D,V,z,J,q,pe){if(z=z||h,q=q||V,pe!==r){if(l){var M=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types");throw M.name="Invariant Violation",M}else if(process.env.NODE_ENV!=="production"&&typeof console<"u"){var be=z+":"+V;!S[be]&&I<3&&(a("You are manually calling a React.PropTypes validation function for the `"+q+"` prop on `"+z+"`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."),S[be]=!0,I++)}}return D[V]==null?Y?D[V]===null?new v("The "+J+" `"+q+"` is marked as required "+("in `"+z+"`, but its value is `null`.")):new v("The "+J+" `"+q+"` is marked as required in "+("`"+z+"`, but its value is `undefined`.")):null:b(D,V,z,J,q)}var j=A.bind(null,!1);return j.isRequired=A.bind(null,!0),j}function C(b){function S(I,A,j,Y,D,V){var z=I[A],J=H(z);if(J!==b){var q=d(z);return new v("Invalid "+Y+" `"+D+"` of type "+("`"+q+"` supplied to `"+j+"`, expected ")+("`"+b+"`."),{expectedType:b})}return null}return x(S)}function w(){return x(s)}function T(b){function S(I,A,j,Y,D){if(typeof b!="function")return new v("Property `"+D+"` of component `"+j+"` has invalid PropType notation inside arrayOf.");var V=I[A];if(!Array.isArray(V)){var z=H(V);return new v("Invalid "+Y+" `"+D+"` of type "+("`"+z+"` supplied to `"+j+"`, expected an array."))}for(var J=0;J<V.length;J++){var q=b(V,J,j,Y,D+"["+J+"]",r);if(q instanceof Error)return q}return null}return x(S)}function E(){function b(S,I,A,j,Y){var D=S[I];if(!i(D)){var V=H(D);return new v("Invalid "+j+" `"+Y+"` of type "+("`"+V+"` supplied to `"+A+"`, expected a single ReactElement."))}return null}return x(b)}function m(){function b(S,I,A,j,Y){var D=S[I];if(!e.isValidElementType(D)){var V=H(D);return new v("Invalid "+j+" `"+Y+"` of type "+("`"+V+"` supplied to `"+A+"`, expected a single ReactElement type."))}return null}return x(b)}function W(b){function S(I,A,j,Y,D){if(!(I[A]instanceof b)){var V=b.name||h,z=ne(I[A]);return new v("Invalid "+Y+" `"+D+"` of type "+("`"+z+"` supplied to `"+j+"`, expected ")+("instance of `"+V+"`."))}return null}return x(S)}function re(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&(arguments.length>1?a("Invalid arguments supplied to oneOf, expected an array, got "+arguments.length+" arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."):a("Invalid argument supplied to oneOf, expected an array.")),s;function S(I,A,j,Y,D){for(var V=I[A],z=0;z<b.length;z++)if(R(V,b[z]))return null;var J=JSON.stringify(b,function(pe,M){var be=d(M);return be==="symbol"?String(M):M});return new v("Invalid "+Y+" `"+D+"` of value `"+String(V)+"` "+("supplied to `"+j+"`, expected one of "+J+"."))}return x(S)}function le(b){function S(I,A,j,Y,D){if(typeof b!="function")return new v("Property `"+D+"` of component `"+j+"` has invalid PropType notation inside objectOf.");var V=I[A],z=H(V);if(z!=="object")return new v("Invalid "+Y+" `"+D+"` of type "+("`"+z+"` supplied to `"+j+"`, expected an object."));for(var J in V)if(n(V,J)){var q=b(V,J,j,Y,D+"."+J,r);if(q instanceof Error)return q}return null}return x(S)}function ie(b){if(!Array.isArray(b))return process.env.NODE_ENV!=="production"&&a("Invalid argument supplied to oneOfType, expected an instance of array."),s;for(var S=0;S<b.length;S++){var I=b[S];if(typeof I!="function")return a("Invalid argument supplied to oneOfType. Expected an array of check functions, but received "+P(I)+" at index "+S+"."),s}function A(j,Y,D,V,z){for(var J=[],q=0;q<b.length;q++){var pe=b[q],M=pe(j,Y,D,V,z,r);if(M==null)return null;M.data&&n(M.data,"expectedType")&&J.push(M.data.expectedType)}var be=J.length>0?", expected one of type ["+J.join(", ")+"]":"";return new v("Invalid "+V+" `"+z+"` supplied to "+("`"+D+"`"+be+"."))}return x(A)}function ce(){function b(S,I,A,j,Y){return O(S[I])?null:new v("Invalid "+j+" `"+Y+"` supplied to "+("`"+A+"`, expected a ReactNode."))}return x(b)}function de(b,S,I,A,j){return new v((b||"React class")+": "+S+" type `"+I+"."+A+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+j+"`.")}function $(b){function S(I,A,j,Y,D){var V=I[A],z=H(V);if(z!=="object")return new v("Invalid "+Y+" `"+D+"` of type `"+z+"` "+("supplied to `"+j+"`, expected `object`."));for(var J in b){var q=b[J];if(typeof q!="function")return de(j,Y,D,J,d(q));var pe=q(V,J,j,Y,D+"."+J,r);if(pe)return pe}return null}return x(S)}function Q(b){function S(I,A,j,Y,D){var V=I[A],z=H(V);if(z!=="object")return new v("Invalid "+Y+" `"+D+"` of type `"+z+"` "+("supplied to `"+j+"`, expected `object`."));var J=t({},I[A],b);for(var q in J){var pe=b[q];if(n(b,q)&&typeof pe!="function")return de(j,Y,D,q,d(pe));if(!pe)return new v("Invalid "+Y+" `"+D+"` key `"+q+"` supplied to `"+j+"`.\nBad object: "+JSON.stringify(I[A],null," ")+`
56
+ Valid keys: `+JSON.stringify(Object.keys(b),null," "));var M=pe(V,q,j,Y,D+"."+q,r);if(M)return M}return null}return x(S)}function O(b){switch(typeof b){case"number":case"string":case"undefined":return!0;case"boolean":return!b;case"object":if(Array.isArray(b))return b.every(O);if(b===null||i(b))return!0;var S=g(b);if(S){var I=S.call(b),A;if(S!==b.entries){for(;!(A=I.next()).done;)if(!O(A.value))return!1}else for(;!(A=I.next()).done;){var j=A.value;if(j&&!O(j[1]))return!1}}else return!1;return!0;default:return!1}}function L(b,S){return b==="symbol"?!0:S?S["@@toStringTag"]==="Symbol"||typeof Symbol=="function"&&S instanceof Symbol:!1}function H(b){var S=typeof b;return Array.isArray(b)?"array":b instanceof RegExp?"object":L(S,b)?"symbol":S}function d(b){if(typeof b>"u"||b===null)return""+b;var S=H(b);if(S==="object"){if(b instanceof Date)return"date";if(b instanceof RegExp)return"regexp"}return S}function P(b){var S=d(b);switch(S){case"array":case"object":return"an "+S;case"boolean":case"date":case"regexp":return"a "+S;default:return S}}function ne(b){return!b.constructor||!b.constructor.name?h:b.constructor.name}return y.checkPropTypes=o,y.resetWarningCache=o.resetWarningCache,y.PropTypes=y,y},Kt}var Jt,Qr;function rs(){if(Qr)return Jt;Qr=1;var e=yr();function t(){}function r(){}return r.resetWarningCache=t,Jt=function(){function n(s,i,l,u,f,g){if(g!==e){var h=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw h.name="Invariant Violation",h}}n.isRequired=n;function o(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},Jt}if(process.env.NODE_ENV!=="production"){var ns=An(),os=!0;ir.exports=ts()(ns.isElement,os)}else ir.exports=rs()();var In=ir.exports,sr={exports:{}},_e={},lr={exports:{}};(function(e,t){Object.defineProperty(t,"__esModule",{value:!0}),t.default=f;/*!
57
+ * Adapted from jQuery UI core
58
+ *
59
+ * http://jqueryui.com
60
+ *
61
+ * Copyright 2014 jQuery Foundation and other contributors
62
+ * Released under the MIT license.
63
+ * http://jquery.org/license
64
+ *
65
+ * http://api.jqueryui.com/category/ui-core/
66
+ */var r="none",n="contents",o=/input|select|textarea|button|object|iframe/;function a(g,h){return h.getPropertyValue("overflow")!=="visible"||g.scrollWidth<=0&&g.scrollHeight<=0}function s(g){var h=g.offsetWidth<=0&&g.offsetHeight<=0;if(h&&!g.innerHTML)return!0;try{var y=window.getComputedStyle(g),R=y.getPropertyValue("display");return h?R!==n&&a(g,y):R===r}catch{return console.warn("Failed to inspect element style"),!1}}function i(g){for(var h=g,y=g.getRootNode&&g.getRootNode();h&&h!==document.body;){if(y&&h===y&&(h=y.host.parentNode),s(h))return!1;h=h.parentNode}return!0}function l(g,h){var y=g.nodeName.toLowerCase(),R=o.test(y)&&!g.disabled||y==="a"&&g.href||h;return R&&i(g)}function u(g){var h=g.getAttribute("tabindex");h===null&&(h=void 0);var y=isNaN(h);return(y||h>=0)&&l(g,!y)}function f(g){var h=[].slice.call(g.querySelectorAll("*"),0).reduce(function(y,R){return y.concat(R.shadowRoot?f(R.shadowRoot):[R])},[]);return h.filter(u)}e.exports=t.default})(lr,lr.exports);var Bn=lr.exports;Object.defineProperty(_e,"__esModule",{value:!0});_e.resetState=ls;_e.log=cs;_e.handleBlur=pt;_e.handleFocus=ht;_e.markForFocusLater=us;_e.returnFocus=fs;_e.popWithoutFocus=ds;_e.setupScopedFocus=ps;_e.teardownScopedFocus=hs;var as=Bn,is=ss(as);function ss(e){return e&&e.__esModule?e:{default:e}}var He=[],Ye=null,cr=!1;function ls(){He=[]}function cs(){process.env.NODE_ENV!=="production"&&(console.log("focusManager ----------"),He.forEach(function(e){var t=e||{};console.log(t.nodeName,t.className,t.id)}),console.log("end focusManager ----------"))}function pt(){cr=!0}function ht(){if(cr){if(cr=!1,!Ye)return;setTimeout(function(){if(!Ye.contains(document.activeElement)){var e=(0,is.default)(Ye)[0]||Ye;e.focus()}},0)}}function us(){He.push(document.activeElement)}function fs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!1,t=null;try{He.length!==0&&(t=He.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 ds(){He.length>0&&He.pop()}function ps(e){Ye=e,window.addEventListener?(window.addEventListener("blur",pt,!1),document.addEventListener("focus",ht,!0)):(window.attachEvent("onBlur",pt),document.attachEvent("onFocus",ht))}function hs(){Ye=null,window.addEventListener?(window.removeEventListener("blur",pt),document.removeEventListener("focus",ht)):(window.detachEvent("onBlur",pt),document.detachEvent("onFocus",ht))}var ur={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,g=l.shiftKey,h=u[0],y=u[u.length-1],R=a();if(i===R){if(!g)return;f=y}if(y===R&&!g&&(f=h),h===R&&g&&(f=y),f){l.preventDefault(),f.focus();return}var v=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent),x=v!=null&&v[1]!="Chrome"&&/\biPod\b|\biPad\b/g.exec(navigator.userAgent)==null;if(x){var C=u.indexOf(R);if(C>-1&&(C+=g?-1:1),f=u[C],typeof f>"u"){l.preventDefault(),f=g?y:h,f.focus();return}l.preventDefault(),f.focus()}}e.exports=t.default})(ur,ur.exports);var gs=ur.exports,Se={},ms=process.env.NODE_ENV!=="production",Fn=function(){};if(ms){var vs=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{}};Fn=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||vs.apply(null,[t].concat(r))}}var ys=Fn,xe={},Dn={exports:{}};/*!
67
+ Copyright (c) 2015 Jed Watson.
68
+ Based on code that is Copyright 2013-2015, Facebook, Inc.
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})()})(Dn);var bs=Dn.exports;Object.defineProperty(xe,"__esModule",{value:!0});xe.canUseDOM=xe.SafeNodeList=xe.SafeHTMLCollection=void 0;var Cs=bs,ws=Es(Cs);function Es(e){return e&&e.__esModule?e:{default:e}}var Lt=ws.default,xs=Lt.canUseDOM?window.HTMLElement:{};xe.SafeHTMLCollection=Lt.canUseDOM?window.HTMLCollection:{};xe.SafeNodeList=Lt.canUseDOM?window.NodeList:{};xe.canUseDOM=Lt.canUseDOM;xe.default=xs;Object.defineProperty(Se,"__esModule",{value:!0});Se.resetState=Ms;Se.log=ks;Se.assertNodeList=Vn;Se.setElement=Os;Se.validateElement=br;Se.hide=Ps;Se.show=Ls;Se.documentNotReadyOrSSRTesting=Ns;var _s=ys,Ss=Ts(_s),Rs=xe;function Ts(e){return e&&e.__esModule?e:{default:e}}var ve=null;function Ms(){ve&&(ve.removeAttribute?ve.removeAttribute("aria-hidden"):ve.length!=null?ve.forEach(function(e){return e.removeAttribute("aria-hidden")}):document.querySelectorAll(ve).forEach(function(e){return e.removeAttribute("aria-hidden")})),ve=null}function ks(){if(process.env.NODE_ENV!=="production"){var e=ve||{};console.log("ariaAppHider ----------"),console.log(e.nodeName,e.className,e.id),console.log("end ariaAppHider ----------")}}function Vn(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function Os(e){var t=e;if(typeof t=="string"&&Rs.canUseDOM){var r=document.querySelectorAll(t);Vn(r,t),t=r}return ve=t||ve,ve}function br(e){var t=e||ve;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,Ss.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 Ps(e){var t=!0,r=!1,n=void 0;try{for(var o=br(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 Ls(e){var t=!0,r=!1,n=void 0;try{for(var o=br(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 Ns(){ve=null}var tt={};Object.defineProperty(tt,"__esModule",{value:!0});tt.resetState=As;tt.log=js;var De={},Ve={};function Xr(e,t){e.classList.remove(t)}function As(){var e=document.getElementsByTagName("html")[0];for(var t in De)Xr(e,De[t]);var r=document.body;for(var n in Ve)Xr(r,Ve[n]);De={},Ve={}}function js(){if(process.env.NODE_ENV!=="production"){var e=document.getElementsByTagName("html")[0].className,t=`Show tracked classes:
71
+
72
+ `;t+="<html /> ("+e+`):
73
+ `;for(var r in De)t+=" "+r+" "+De[r]+`
74
+ `;e=document.body.className,t+=`
75
+
76
+ doc.body (`+e+`):
77
+ `;for(var n in Ve)t+=" "+n+" "+Ve[n]+`
78
+ `;t+=`
79
+ `,console.log(t)}}var Is=function(t,r){return t[r]||(t[r]=0),t[r]+=1,r},Bs=function(t,r){return t[r]&&(t[r]-=1),r},Fs=function(t,r,n){n.forEach(function(o){Is(r,o),t.add(o)})},Ds=function(t,r,n){n.forEach(function(o){Bs(r,o),r[o]===0&&t.remove(o)})};tt.add=function(t,r){return Fs(t.classList,t.nodeName.toLowerCase()=="html"?De:Ve,r.split(" "))};tt.remove=function(t,r){return Ds(t.classList,t.nodeName.toLowerCase()=="html"?De:Ve,r.split(" "))};var rt={};Object.defineProperty(rt,"__esModule",{value:!0});rt.log=Us;rt.resetState=$s;function Vs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Un=function e(){var t=this;Vs(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=[]},St=new Un;function Us(){console.log("portalOpenInstances ----------"),console.log(St.openInstances.length),St.openInstances.forEach(function(e){return console.log(e)}),console.log("end portalOpenInstances ----------")}function $s(){St=new Un}rt.default=St;var Cr={};Object.defineProperty(Cr,"__esModule",{value:!0});Cr.resetState=qs;Cr.log=Ys;var Hs=rt,Ws=zs(Hs);function zs(e){return e&&e.__esModule?e:{default:e}}var he=void 0,we=void 0,Ue=[];function qs(){for(var e=[he,we],t=0;t<e.length;t++){var r=e[t];r&&r.parentNode&&r.parentNode.removeChild(r)}he=we=null,Ue=[]}function Ys(){console.log("bodyTrap ----------"),console.log(Ue.length);for(var e=[he,we],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 en(){if(Ue.length===0){process.env.NODE_ENV!=="production"&&console.warn("React-Modal: Open instances > 0 expected");return}Ue[Ue.length-1].focusContent()}function Zs(e,t){!he&&!we&&(he=document.createElement("div"),he.setAttribute("data-react-modal-body-trap",""),he.style.position="absolute",he.style.opacity="0",he.setAttribute("tabindex","0"),he.addEventListener("focus",en),we=he.cloneNode(),we.addEventListener("focus",en)),Ue=t,Ue.length>0?(document.body.firstChild!==he&&document.body.insertBefore(he,document.body.firstChild),document.body.lastChild!==we&&document.body.appendChild(we)):(he.parentElement&&he.parentElement.removeChild(he),we.parentElement&&we.parentElement.removeChild(we))}Ws.default.subscribe(Zs);(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||function(O){for(var L=1;L<arguments.length;L++){var H=arguments[L];for(var d in H)Object.prototype.hasOwnProperty.call(H,d)&&(O[d]=H[d])}return O},n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(O){return typeof O}:function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},o=function(){function O(L,H){for(var d=0;d<H.length;d++){var P=H[d];P.enumerable=P.enumerable||!1,P.configurable=!0,"value"in P&&(P.writable=!0),Object.defineProperty(L,P.key,P)}}return function(L,H,d){return H&&O(L.prototype,H),d&&O(L,d),L}}(),a=G,s=In,i=m(s),l=_e,u=E(l),f=gs,g=m(f),h=Se,y=E(h),R=tt,v=E(R),x=xe,C=m(x),w=rt,T=m(w);function E(O){if(O&&O.__esModule)return O;var L={};if(O!=null)for(var H in O)Object.prototype.hasOwnProperty.call(O,H)&&(L[H]=O[H]);return L.default=O,L}function m(O){return O&&O.__esModule?O:{default:O}}function W(O,L){if(!(O instanceof L))throw new TypeError("Cannot call a class as a function")}function re(O,L){if(!O)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return L&&(typeof L=="object"||typeof L=="function")?L:O}function le(O,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof L);O.prototype=Object.create(L&&L.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),L&&(Object.setPrototypeOf?Object.setPrototypeOf(O,L):O.__proto__=L)}var ie={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},ce=function(L){return L.code==="Tab"||L.keyCode===9},de=function(L){return L.code==="Escape"||L.keyCode===27},$=0,Q=function(O){le(L,O);function L(H){W(this,L);var d=re(this,(L.__proto__||Object.getPrototypeOf(L)).call(this,H));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,ne=P.appElement,b=P.ariaHideApp,S=P.htmlOpenClassName,I=P.bodyOpenClassName,A=P.parentSelector,j=A&&A().ownerDocument||document;I&&v.remove(j.body,I),S&&v.remove(j.getElementsByTagName("html")[0],S),b&&$>0&&($-=1,$===0&&y.show(ne)),d.props.shouldFocusAfterRender&&(d.props.shouldReturnFocusAfterClose?(u.returnFocus(d.props.preventScroll),u.teardownScopedFocus()):u.popWithoutFocus()),d.props.onAfterClose&&d.props.onAfterClose(),T.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,g.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,ne){var b=(typeof ne>"u"?"undefined":n(ne))==="object"?ne:{base:ie[P],afterOpen:ie[P]+"--after-open",beforeClose:ie[P]+"--before-close"},S=b.base;return d.state.afterOpen&&(S=S+" "+b.afterOpen),d.state.beforeClose&&(S=S+" "+b.beforeClose),typeof ne=="string"&&ne?S+" "+ne:S},d.attributesFromObject=function(P,ne){return Object.keys(ne).reduce(function(b,S){return b[P+"-"+S]=ne[S],b},{})},d.state={afterOpen:!1,beforeClose:!1},d.shouldClose=null,d.moveFromContentToOverlay=null,d}return o(L,[{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,ne=d.ariaHideApp,b=d.htmlOpenClassName,S=d.bodyOpenClassName,I=d.parentSelector,A=I&&I().ownerDocument||document;S&&v.add(A.body,S),b&&v.add(A.getElementsByTagName("html")[0],b),ne&&($+=1,y.hide(P)),T.default.register(this)}},{key:"render",value:function(){var d=this.props,P=d.id,ne=d.className,b=d.overlayClassName,S=d.defaultStyles,I=d.children,A=ne?{}:S.content,j=b?{}:S.overlay;if(this.shouldBeClosed())return null;var Y={ref:this.setOverlayRef,className:this.buildClassName("overlay",b),style:r({},j,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},D=r({id:P,ref:this.setContentRef,style:r({},A,this.props.style.content),className:this.buildClassName("content",ne),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}),V=this.props.contentElement(D,I);return this.props.overlayElement(Y,V)}}]),L}(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(C.default),i.default.instanceOf(x.SafeHTMLCollection),i.default.instanceOf(x.SafeNodeList),i.default.arrayOf(i.default.instanceOf(C.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})(sr,sr.exports);var Gs=sr.exports;function $n(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);e!=null&&this.setState(e)}function Hn(e){function t(r){var n=this.constructor.getDerivedStateFromProps(e,r);return n??null}this.setState(t.bind(this))}function Wn(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}}$n.__suppressDeprecationWarning=!0;Hn.__suppressDeprecationWarning=!0;Wn.__suppressDeprecationWarning=!0;function Ks(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
+
81
+ `+a+" uses "+s+" but also contains the following legacy lifecycles:"+(r!==null?`
82
+ `+r:"")+(n!==null?`
83
+ `+n:"")+(o!==null?`
84
+ `+o:"")+`
85
+
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=$n,t.componentWillReceiveProps=Hn),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=Wn;var i=t.componentDidUpdate;t.componentDidUpdate=function(u,f,g){var h=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:g;i.call(this,u,f,h)}}return e}const Js=Object.freeze(Object.defineProperty({__proto__:null,polyfill:Ks},Symbol.toStringTag,{value:"Module"})),Qs=sn.getAugmentedNamespace(Js);Object.defineProperty($e,"__esModule",{value:!0});$e.bodyOpenClassName=$e.portalClassName=void 0;var tn=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},Xs=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}}(),zn=G,Rt=vt(zn),el=go,Tt=vt(el),tl=In,F=vt(tl),rl=Gs,rn=vt(rl),nl=Se,ol=il(nl),Le=xe,nn=vt(Le),al=Qs;function il(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 vt(e){return e&&e.__esModule?e:{default:e}}function sl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function on(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 ll(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 cl=$e.portalClassName="ReactModalPortal",ul=$e.bodyOpenClassName="ReactModal__Body--open",Fe=Le.canUseDOM&&Tt.default.createPortal!==void 0,fr=function(t){return document.createElement(t)},an=function(){return Fe?Tt.default.createPortal:Tt.default.unstable_renderSubtreeIntoContainer};function Et(e){return e()}var nt=function(e){ll(t,e);function t(){var r,n,o,a;sl(this,t);for(var s=arguments.length,i=Array(s),l=0;l<s;l++)i[l]=arguments[l];return a=(n=(o=on(this,(r=t.__proto__||Object.getPrototypeOf(t)).call.apply(r,[this].concat(i))),o),o.removePortal=function(){!Fe&&Tt.default.unmountComponentAtNode(o.node);var u=Et(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=an(),g=f(o,Rt.default.createElement(rn.default,tn({defaultStyles:t.defaultStyles},u)),o.node);o.portalRef(g)},n),on(o,a)}return Xs(t,[{key:"componentDidMount",value:function(){if(Le.canUseDOM){Fe||(this.node=fr("div")),this.node.className=this.props.portalClassName;var n=Et(this.props.parentSelector);n.appendChild(this.node),!Fe&&this.renderPortal(this.props)}}},{key:"getSnapshotBeforeUpdate",value:function(n){var o=Et(n.parentSelector),a=Et(this.props.parentSelector);return{prevParent:o,nextParent:a}}},{key:"componentDidUpdate",value:function(n,o,a){if(Le.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)&&!Fe&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(!(!Le.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(!Le.canUseDOM||!Fe)return null;!this.node&&Fe&&(this.node=fr("div"));var n=an();return n(Rt.default.createElement(rn.default,tn({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)}}],[{key:"setAppElement",value:function(n){ol.setElement(n)}}]),t}(zn.Component);nt.propTypes={isOpen:F.default.bool.isRequired,style:F.default.shape({content:F.default.object,overlay:F.default.object}),portalClassName:F.default.string,bodyOpenClassName:F.default.string,htmlOpenClassName:F.default.string,className:F.default.oneOfType([F.default.string,F.default.shape({base:F.default.string.isRequired,afterOpen:F.default.string.isRequired,beforeClose:F.default.string.isRequired})]),overlayClassName:F.default.oneOfType([F.default.string,F.default.shape({base:F.default.string.isRequired,afterOpen:F.default.string.isRequired,beforeClose:F.default.string.isRequired})]),appElement:F.default.oneOfType([F.default.instanceOf(nn.default),F.default.instanceOf(Le.SafeHTMLCollection),F.default.instanceOf(Le.SafeNodeList),F.default.arrayOf(F.default.instanceOf(nn.default))]),onAfterOpen:F.default.func,onRequestClose:F.default.func,closeTimeoutMS:F.default.number,ariaHideApp:F.default.bool,shouldFocusAfterRender:F.default.bool,shouldCloseOnOverlayClick:F.default.bool,shouldReturnFocusAfterClose:F.default.bool,preventScroll:F.default.bool,parentSelector:F.default.func,aria:F.default.object,data:F.default.object,role:F.default.string,contentLabel:F.default.string,shouldCloseOnEsc:F.default.bool,overlayRef:F.default.func,contentRef:F.default.func,id:F.default.string,overlayElement:F.default.func,contentElement:F.default.func};nt.defaultProps={isOpen:!1,portalClassName:cl,bodyOpenClassName:ul,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 Rt.default.createElement("div",t,r)},contentElement:function(t,r){return Rt.default.createElement("div",t,r)}};nt.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,al.polyfill)(nt);process.env.NODE_ENV!=="production"&&(nt.setCreateHTMLElement=function(e){return fr=e});$e.default=nt;(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=$e,n=o(r);function o(a){return a&&a.__esModule?a:{default:a}}t.default=n.default,e.exports=t.default})(ar,ar.exports);var fl=ar.exports;const dl=sn.getDefaultExportFromCjs(fl);function pl({children:e,contentLabel:t="modal",overlayClassName:r,className:n,withBorder:o=!1,onRequestClose:a,...s}){const i=se(["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]),l=se(["font-inter size-full flex items-end justify-center md:items-center overflow-visible"]),u=se(["relative max-h-[90%] overflow-hidden rounded-t-[32px]","bg-background animate-slide-in shadow-card opacity-0 pt-6","md:rounded-[32px] md:max-w-[90%]",{"border border-surface-lo":o},n]);return N.jsx(dl,{closeTimeoutMS:300,className:l,overlayClassName:i,contentLabel:t,onRequestClose:a,...s,children:N.jsxs("div",{className:u,children:[N.jsx(vn,{className:"absolute right-6 top-6",icon:"close",size:"xs",onClick:a}),e]})})}function hl({name:e,label:t,avatar:r,radius:n="full",className:o,...a}){const s=se("w-[36px] h-[36px] overflow-hidden",{"rounded-none":n==="none","rounded-full":n==="full","rounded-md":n==="md","rounded-sm":n==="sm"});return N.jsxs("div",{className:se("flex items-center gap-3",o),...a,children:[N.jsx("div",{className:s,children:r?N.jsx("img",{src:r,alt:"avatar",className:"size-full object-cover"}):N.jsx(Ne,{type:"didit",className:"size-full object-cover"})}),N.jsxs("div",{className:"flex flex-col gap-1",children:[N.jsx(Ee,{className:"text-foreground",as:"h6",variant:"H6",children:e}),t&&N.jsx(Ee,{className:"text-surface-md",as:"span",variant:"Label3",children:t})]})]})}function gl({label:e,placeholder:t,value:r,icon:n,disabled:o,className:a,error:s,onValueChange:i=()=>{},...l}){const u=se(["w-full min-h-[68px] bg-surface-lo pt-[20px] pl-[20px] pr-[24px]","rounded-3xl placeholder:text-sm placeholder:font-normal border-transparent","placeholder:leading-[140%] placeholder:tracking-tight","placeholder:text-surface-mdlo text-sm font-normal leading-[140%] tracking-tight","focus:ring-0 focus:bg-transparent focus:border-foreground",a],{"opacity-80":o,"border-error focus:border-error bg-error/5":s}),f=se(["flex justify-center align-items-center absolute right-[24px] top-[26px]","z-20 hover:opacity-80"],{hidden:!r});return N.jsxs("div",{className:"flex flex-col w-full relative",children:[N.jsx(Ee,{variant:"StyledLabel",as:"label",className:"absolute left-[22px] top-[12px] text-surface-md",children:e}),n&&N.jsx(Ne,{type:n,className:""}),N.jsx("input",{className:u,value:r,type:"email",onChange:g=>i(g.target.value),placeholder:t,disabled:o,...l}),N.jsx("button",{className:f,onClick:()=>i(""),children:N.jsx(Ee,{variant:"StyledLabel",as:"span",className:"text-[9px] text-surface-md m-0",children:"CLEAR"})}),N.jsx(Ee,{variant:"P3",as:"span",className:"text-error mt-1 pl-1",children:s})]})}const ml=Ae(["border border-foreground","rounded-3xl","p-2","bg-transparent","flex items-center justify-center"],{variants:{variant:{primary:"bg-primary/10 border-primary/20 text-primary",accent:"bg-accent/10 border-accent/20 text-accent",success:"bg-success/10 border-success/20 text-success",warning:"bg-warning/10 border-warning/20 text-warning",error:"bg-error/10 border-error/20 text-error"}},defaultVariants:{variant:"primary"}});function vl({label:e,variant:t,className:r,...n}){return N.jsx("div",{className:se(ml({variant:t,className:r})),...n,children:N.jsx(Ee,{className:"text-inherit",variant:"StyledLabel",as:"span",children:e})})}const yl=Ae(["flex items-center justify-center gap-3 group","bg-surface-ulo py-2 px-3 rounded-3xl text-surface-md"],{variants:{isSecret:{true:"backdrop-blur-md"}},defaultVariants:{isSecret:!1}});function bl({label:e,value:t,isSecret:r,className:n,...o}){const[a,s]=G.useState(r),i=se("text-inherit group-hover:text-foreground truncate",{blur:a});return N.jsxs("div",{className:se(yl({isSecret:r,className:n})),...o,children:[e&&N.jsx(Ee,{className:"text-inherit",variant:"StyledLabel",as:"span",children:e}),N.jsx(Ee,{className:i,variant:"P3",as:"p",children:t}),r&&N.jsx("button",{onClick:()=>s(l=>!l),children:N.jsx(Ne,{className:"text-inherit group-hover:text-foreground",type:a?"eye":"eyeSlash",size:"sm"})}),N.jsx("button",{onClick:()=>navigator.clipboard.writeText(t),children:N.jsx(Ne,{className:"text-inherit group-hover:text-foreground",type:"copy",size:"sm"})})]})}function Cl({onToggle:e=()=>{},label:t,checked:r,className:n,...o}){const a=se(["inline-flex items-center gap-4 cursor-pointer"],n);return N.jsxs("label",{className:a,children:[N.jsx("input",{type:"checkbox",checked:r,onChange:s=>e(s.currentTarget.checked),className:"sr-only peer",...o}),N.jsx("div",{className:"relative w-11 h-6 bg-surface-lo peer-focus:outline-none rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full peer-checked:after:border-background after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-background after:border-background after:border after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-primary"}),t&&N.jsx(Ee,{as:"span",variant:"P3",className:"text-inheret",children:t})]})}const wl=typeof window<"u"?G.useLayoutEffect:G.useEffect,El=typeof window>"u";function ot(e,{defaultValue:t=!1,initializeWithValue:r=!0}={}){function n(i){return El?t:window.matchMedia(i).matches}const[o,a]=G.useState(()=>r?n(e):t);function s(){a(n(e))}return wl(()=>{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 xl(e={}){return ot(`(min-width: ${et.SM}px)`,e)}function _l(e={}){return ot(`(min-width: ${et.MD}px)`,e)}function Sl(e={}){return ot(`(min-width: ${et.LG}px)`,e)}function Rl(e={}){return ot(`(min-width: ${et.XL}px)`,e)}function Tl(e={}){return ot(`(min-width: ${et.XXL}px)`,e)}exports.Button=ei;exports.Card=Ki;exports.CopyValue=bl;exports.Icon=Ne;exports.IconButton=vn;exports.Input=gl;exports.MediaQuery=et;exports.Modal=pl;exports.QrCode=Zi;exports.Spinner=mn;exports.StatusLabel=vl;exports.Text=Ee;exports.Toggle=Cl;exports.UserCard=hl;exports.cn=se;exports.svgOptions=gn;exports.useLgMediaQuery=Sl;exports.useMdMediaQuery=_l;exports.useMediaQuery=ot;exports.useSmMediaQuery=xl;exports.useXlMediaQuery=Rl;exports.useXxlMediaQuery=Tl;