@service_laboratory/auth 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- (function(ce,E){typeof exports=="object"&&typeof module<"u"?E(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],E):(ce=typeof globalThis<"u"?globalThis:ce||self,E(ce.autn={},ce.react))})(this,(function(ce,E){"use strict";function qr(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=qr(E);var De={exports:{}},we={};/**
1
+ (function(te,O){typeof exports=="object"&&typeof module<"u"?O(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],O):(te=typeof globalThis<"u"?globalThis:te||self,O(te.autn={},te.react))})(this,(function(te,O){"use strict";function sr(e){const r=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const t in e)if(t!=="default"){const o=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(r,t,o.get?o:{enumerable:!0,get:()=>e[t]})}}return r.default=e,Object.freeze(r)}const S=sr(O);var we={exports:{}},ye={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var vt;function Xr(){if(vt)return we;vt=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function t(o,s,l){var f=null;if(l!==void 0&&(f=""+l),s.key!==void 0&&(f=""+s.key),"key"in s){l={};for(var m in s)m!=="key"&&(l[m]=s[m])}else l=s;return s=l.ref,{$$typeof:e,type:o,key:f,ref:s!==void 0?s:null,props:l}}return we.Fragment=r,we.jsx=t,we.jsxs=t,we}var xe={};/**
9
+ */var Je;function ar(){if(Je)return ye;Je=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function t(o,n,s){var d=null;if(s!==void 0&&(d=""+s),n.key!==void 0&&(d=""+n.key),"key"in n){s={};for(var f in n)f!=="key"&&(s[f]=n[f])}else s=n;return n=s.ref,{$$typeof:e,type:o,key:d,ref:n!==void 0?n:null,props:s}}return ye.Fragment=r,ye.jsx=t,ye.jsxs=t,ye}var be={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,12 +14,12 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var bt;function Jr(){return bt||(bt=1,process.env.NODE_ENV!=="production"&&(function(){function e(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===le?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case y:return"Fragment";case N:return"Profiler";case O:return"StrictMode";case z:return"Suspense";case D:return"SuspenseList";case W:return"Activity"}if(typeof u=="object")switch(typeof u.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),u.$$typeof){case g:return"Portal";case C:return(u.displayName||"Context")+".Provider";case V:return(u._context.displayName||"Context")+".Consumer";case T:var h=u.render;return u=u.displayName,u||(u=h.displayName||h.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case M:return h=u.displayName||null,h!==null?h:e(u.type)||"Memo";case _:h=u._payload,u=u._init;try{return e(u(h))}catch{}}return null}function r(u){return""+u}function t(u){try{r(u);var h=!1}catch{h=!0}if(h){h=console;var x=h.error,k=typeof Symbol=="function"&&Symbol.toStringTag&&u[Symbol.toStringTag]||u.constructor.name||"Object";return x.call(h,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",k),r(u)}}function o(u){if(u===y)return"<>";if(typeof u=="object"&&u!==null&&u.$$typeof===_)return"<...>";try{var h=e(u);return h?"<"+h+">":"<...>"}catch{return"<...>"}}function s(){var u=ee.A;return u===null?null:u.getOwner()}function l(){return Error("react-stack-top-frame")}function f(u){if(ne.call(u,"key")){var h=Object.getOwnPropertyDescriptor(u,"key").get;if(h&&h.isReactWarning)return!1}return u.key!==void 0}function m(u,h){function x(){re||(re=!0,console.error("%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://react.dev/link/special-props)",h))}x.isReactWarning=!0,Object.defineProperty(u,"key",{get:x,configurable:!0})}function c(){var u=e(this.type);return X[u]||(X[u]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),u=this.props.ref,u!==void 0?u:null}function i(u,h,x,k,j,L,F,P){return x=L.ref,u={$$typeof:d,type:u,key:h,props:L,_owner:j},(x!==void 0?x:null)!==null?Object.defineProperty(u,"ref",{enumerable:!1,get:c}):Object.defineProperty(u,"ref",{enumerable:!1,value:null}),u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(u,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(u,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:F}),Object.defineProperty(u,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:P}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u}function p(u,h,x,k,j,L,F,P){var R=h.children;if(R!==void 0)if(k)if(ve(R)){for(k=0;k<R.length;k++)a(R[k]);Object.freeze&&Object.freeze(R)}else console.error("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 a(R);if(ne.call(h,"key")){R=e(u);var $=Object.keys(h).filter(function(ie){return ie!=="key"});k=0<$.length?"{key: someKey, "+$.join(": ..., ")+": ...}":"{key: someKey}",fe[R+k]||($=0<$.length?"{"+$.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
17
+ */var Ze;function ir(){return Ze||(Ze=1,process.env.NODE_ENV!=="production"&&(function(){function e(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===ge?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case v:return"Fragment";case D:return"Profiler";case N:return"StrictMode";case U:return"Suspense";case $:return"SuspenseList";case Y:return"Activity"}if(typeof a=="object")switch(typeof a.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),a.$$typeof){case b:return"Portal";case P:return(a.displayName||"Context")+".Provider";case G:return(a._context.displayName||"Context")+".Consumer";case z:var g=a.render;return a=a.displayName,a||(a=g.displayName||g.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case X:return g=a.displayName||null,g!==null?g:e(a.type)||"Memo";case _:g=a._payload,a=a._init;try{return e(a(g))}catch{}}return null}function r(a){return""+a}function t(a){try{r(a);var g=!1}catch{g=!0}if(g){g=console;var w=g.error,k=typeof Symbol=="function"&&Symbol.toStringTag&&a[Symbol.toStringTag]||a.constructor.name||"Object";return w.call(g,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",k),r(a)}}function o(a){if(a===v)return"<>";if(typeof a=="object"&&a!==null&&a.$$typeof===_)return"<...>";try{var g=e(a);return g?"<"+g+">":"<...>"}catch{return"<...>"}}function n(){var a=Z.A;return a===null?null:a.getOwner()}function s(){return Error("react-stack-top-frame")}function d(a){if(Q.call(a,"key")){var g=Object.getOwnPropertyDescriptor(a,"key").get;if(g&&g.isReactWarning)return!1}return a.key!==void 0}function f(a,g){function w(){K||(K=!0,console.error("%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://react.dev/link/special-props)",g))}w.isReactWarning=!0,Object.defineProperty(a,"key",{get:w,configurable:!0})}function u(){var a=e(this.type);return H[a]||(H[a]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),a=this.props.ref,a!==void 0?a:null}function l(a,g,w,k,j,T,ee,A){return w=T.ref,a={$$typeof:p,type:a,key:g,props:T,_owner:j},(w!==void 0?w:null)!==null?Object.defineProperty(a,"ref",{enumerable:!1,get:u}):Object.defineProperty(a,"ref",{enumerable:!1,value:null}),a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(a,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(a,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ee}),Object.defineProperty(a,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a}function m(a,g,w,k,j,T,ee,A){var R=g.children;if(R!==void 0)if(k)if(he(R)){for(k=0;k<R.length;k++)c(R[k]);Object.freeze&&Object.freeze(R)}else console.error("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 c(R);if(Q.call(g,"key")){R=e(a);var V=Object.keys(g).filter(function(ue){return ue!=="key"});k=0<V.length?"{key: someKey, "+V.join(": ..., ")+": ...}":"{key: someKey}",se[R+k]||(V=0<V.length?"{"+V.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
18
18
  let props = %s;
19
19
  <%s {...props} />
20
20
  React keys must be passed directly to JSX without using spread:
21
21
  let props = %s;
22
- <%s key={someKey} {...props} />`,k,R,$,R),fe[R+k]=!0)}if(R=null,x!==void 0&&(t(x),R=""+x),f(h)&&(t(h.key),R=""+h.key),"key"in h){x={};for(var J in h)J!=="key"&&(x[J]=h[J])}else x=h;return R&&m(x,typeof u=="function"?u.displayName||u.name||"Unknown":u),i(u,R,L,j,s(),x,F,P)}function a(u){typeof u=="object"&&u!==null&&u.$$typeof===d&&u._store&&(u._store.validated=1)}var n=E,d=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),V=Symbol.for("react.consumer"),C=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),le=Symbol.for("react.client.reference"),ee=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=Object.prototype.hasOwnProperty,ve=Array.isArray,oe=console.createTask?console.createTask:function(){return null};n={react_stack_bottom_frame:function(u){return u()}};var re,X={},te=n.react_stack_bottom_frame.bind(n,l)(),w=oe(o(l)),fe={};xe.Fragment=y,xe.jsx=function(u,h,x,k,j){var L=1e4>ee.recentlyCreatedOwnerStacks++;return p(u,h,x,!1,k,j,L?Error("react-stack-top-frame"):te,L?oe(o(u)):w)},xe.jsxs=function(u,h,x,k,j){var L=1e4>ee.recentlyCreatedOwnerStacks++;return p(u,h,x,!0,k,j,L?Error("react-stack-top-frame"):te,L?oe(o(u)):w)}})()),xe}var _t;function Zr(){return _t||(_t=1,process.env.NODE_ENV==="production"?De.exports=Xr():De.exports=Jr()),De.exports}var I=Zr(),Ye={exports:{}},Ee={};/**
22
+ <%s key={someKey} {...props} />`,k,R,V,R),se[R+k]=!0)}if(R=null,w!==void 0&&(t(w),R=""+w),d(g)&&(t(g.key),R=""+g.key),"key"in g){w={};for(var q in g)q!=="key"&&(w[q]=g[q])}else w=g;return R&&f(w,typeof a=="function"?a.displayName||a.name||"Unknown":a),l(a,R,T,j,n(),w,ee,A)}function c(a){typeof a=="object"&&a!==null&&a.$$typeof===p&&a._store&&(a._store.validated=1)}var i=O,p=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),G=Symbol.for("react.consumer"),P=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),Y=Symbol.for("react.activity"),ge=Symbol.for("react.client.reference"),Z=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=Object.prototype.hasOwnProperty,he=Array.isArray,J=console.createTask?console.createTask:function(){return null};i={react_stack_bottom_frame:function(a){return a()}};var K,H={},W=i.react_stack_bottom_frame.bind(i,s)(),x=J(o(s)),se={};be.Fragment=v,be.jsx=function(a,g,w,k,j){var T=1e4>Z.recentlyCreatedOwnerStacks++;return m(a,g,w,!1,k,j,T?Error("react-stack-top-frame"):W,T?J(o(a)):x)},be.jsxs=function(a,g,w,k,j){var T=1e4>Z.recentlyCreatedOwnerStacks++;return m(a,g,w,!0,k,j,T?Error("react-stack-top-frame"):W,T?J(o(a)):x)}})()),be}var Qe;function lr(){return Qe||(Qe=1,process.env.NODE_ENV==="production"?we.exports=ar():we.exports=ir()),we.exports}var C=lr(),De={exports:{}},ve={};/**
23
23
  * @license React
24
24
  * react-jsx-runtime.production.js
25
25
  *
@@ -27,7 +27,7 @@ React keys must be passed directly to JSX without using spread:
27
27
  *
28
28
  * This source code is licensed under the MIT license found in the
29
29
  * LICENSE file in the root directory of this source tree.
30
- */var Ot;function Qr(){if(Ot)return Ee;Ot=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function t(o,s,l){var f=null;if(l!==void 0&&(f=""+l),s.key!==void 0&&(f=""+s.key),"key"in s){l={};for(var m in s)m!=="key"&&(l[m]=s[m])}else l=s;return s=l.ref,{$$typeof:e,type:o,key:f,ref:s!==void 0?s:null,props:l}}return Ee.Fragment=r,Ee.jsx=t,Ee.jsxs=t,Ee}var Ae={};/**
30
+ */var et;function cr(){if(et)return ve;et=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.fragment");function t(o,n,s){var d=null;if(s!==void 0&&(d=""+s),n.key!==void 0&&(d=""+n.key),"key"in n){s={};for(var f in n)f!=="key"&&(s[f]=n[f])}else s=n;return n=s.ref,{$$typeof:e,type:o,key:d,ref:n!==void 0?n:null,props:s}}return ve.Fragment=r,ve.jsx=t,ve.jsxs=t,ve}var ke={};/**
31
31
  * @license React
32
32
  * react-jsx-runtime.development.js
33
33
  *
@@ -35,12 +35,12 @@ React keys must be passed directly to JSX without using spread:
35
35
  *
36
36
  * This source code is licensed under the MIT license found in the
37
37
  * LICENSE file in the root directory of this source tree.
38
- */var St;function en(){return St||(St=1,process.env.NODE_ENV!=="production"&&(function(){function e(u){if(u==null)return null;if(typeof u=="function")return u.$$typeof===le?null:u.displayName||u.name||null;if(typeof u=="string")return u;switch(u){case y:return"Fragment";case N:return"Profiler";case O:return"StrictMode";case z:return"Suspense";case D:return"SuspenseList";case W:return"Activity"}if(typeof u=="object")switch(typeof u.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),u.$$typeof){case g:return"Portal";case C:return(u.displayName||"Context")+".Provider";case V:return(u._context.displayName||"Context")+".Consumer";case T:var h=u.render;return u=u.displayName,u||(u=h.displayName||h.name||"",u=u!==""?"ForwardRef("+u+")":"ForwardRef"),u;case M:return h=u.displayName||null,h!==null?h:e(u.type)||"Memo";case _:h=u._payload,u=u._init;try{return e(u(h))}catch{}}return null}function r(u){return""+u}function t(u){try{r(u);var h=!1}catch{h=!0}if(h){h=console;var x=h.error,k=typeof Symbol=="function"&&Symbol.toStringTag&&u[Symbol.toStringTag]||u.constructor.name||"Object";return x.call(h,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",k),r(u)}}function o(u){if(u===y)return"<>";if(typeof u=="object"&&u!==null&&u.$$typeof===_)return"<...>";try{var h=e(u);return h?"<"+h+">":"<...>"}catch{return"<...>"}}function s(){var u=ee.A;return u===null?null:u.getOwner()}function l(){return Error("react-stack-top-frame")}function f(u){if(ne.call(u,"key")){var h=Object.getOwnPropertyDescriptor(u,"key").get;if(h&&h.isReactWarning)return!1}return u.key!==void 0}function m(u,h){function x(){re||(re=!0,console.error("%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://react.dev/link/special-props)",h))}x.isReactWarning=!0,Object.defineProperty(u,"key",{get:x,configurable:!0})}function c(){var u=e(this.type);return X[u]||(X[u]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),u=this.props.ref,u!==void 0?u:null}function i(u,h,x,k,j,L,F,P){return x=L.ref,u={$$typeof:d,type:u,key:h,props:L,_owner:j},(x!==void 0?x:null)!==null?Object.defineProperty(u,"ref",{enumerable:!1,get:c}):Object.defineProperty(u,"ref",{enumerable:!1,value:null}),u._store={},Object.defineProperty(u._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(u,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(u,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:F}),Object.defineProperty(u,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:P}),Object.freeze&&(Object.freeze(u.props),Object.freeze(u)),u}function p(u,h,x,k,j,L,F,P){var R=h.children;if(R!==void 0)if(k)if(ve(R)){for(k=0;k<R.length;k++)a(R[k]);Object.freeze&&Object.freeze(R)}else console.error("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 a(R);if(ne.call(h,"key")){R=e(u);var $=Object.keys(h).filter(function(ie){return ie!=="key"});k=0<$.length?"{key: someKey, "+$.join(": ..., ")+": ...}":"{key: someKey}",fe[R+k]||($=0<$.length?"{"+$.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
38
+ */var tt;function ur(){return tt||(tt=1,process.env.NODE_ENV!=="production"&&(function(){function e(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===ge?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case v:return"Fragment";case D:return"Profiler";case N:return"StrictMode";case U:return"Suspense";case $:return"SuspenseList";case Y:return"Activity"}if(typeof a=="object")switch(typeof a.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),a.$$typeof){case b:return"Portal";case P:return(a.displayName||"Context")+".Provider";case G:return(a._context.displayName||"Context")+".Consumer";case z:var g=a.render;return a=a.displayName,a||(a=g.displayName||g.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case X:return g=a.displayName||null,g!==null?g:e(a.type)||"Memo";case _:g=a._payload,a=a._init;try{return e(a(g))}catch{}}return null}function r(a){return""+a}function t(a){try{r(a);var g=!1}catch{g=!0}if(g){g=console;var w=g.error,k=typeof Symbol=="function"&&Symbol.toStringTag&&a[Symbol.toStringTag]||a.constructor.name||"Object";return w.call(g,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",k),r(a)}}function o(a){if(a===v)return"<>";if(typeof a=="object"&&a!==null&&a.$$typeof===_)return"<...>";try{var g=e(a);return g?"<"+g+">":"<...>"}catch{return"<...>"}}function n(){var a=Z.A;return a===null?null:a.getOwner()}function s(){return Error("react-stack-top-frame")}function d(a){if(Q.call(a,"key")){var g=Object.getOwnPropertyDescriptor(a,"key").get;if(g&&g.isReactWarning)return!1}return a.key!==void 0}function f(a,g){function w(){K||(K=!0,console.error("%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://react.dev/link/special-props)",g))}w.isReactWarning=!0,Object.defineProperty(a,"key",{get:w,configurable:!0})}function u(){var a=e(this.type);return H[a]||(H[a]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),a=this.props.ref,a!==void 0?a:null}function l(a,g,w,k,j,T,ee,A){return w=T.ref,a={$$typeof:p,type:a,key:g,props:T,_owner:j},(w!==void 0?w:null)!==null?Object.defineProperty(a,"ref",{enumerable:!1,get:u}):Object.defineProperty(a,"ref",{enumerable:!1,value:null}),a._store={},Object.defineProperty(a._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(a,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(a,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:ee}),Object.defineProperty(a,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:A}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a}function m(a,g,w,k,j,T,ee,A){var R=g.children;if(R!==void 0)if(k)if(he(R)){for(k=0;k<R.length;k++)c(R[k]);Object.freeze&&Object.freeze(R)}else console.error("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 c(R);if(Q.call(g,"key")){R=e(a);var V=Object.keys(g).filter(function(ue){return ue!=="key"});k=0<V.length?"{key: someKey, "+V.join(": ..., ")+": ...}":"{key: someKey}",se[R+k]||(V=0<V.length?"{"+V.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
39
39
  let props = %s;
40
40
  <%s {...props} />
41
41
  React keys must be passed directly to JSX without using spread:
42
42
  let props = %s;
43
- <%s key={someKey} {...props} />`,k,R,$,R),fe[R+k]=!0)}if(R=null,x!==void 0&&(t(x),R=""+x),f(h)&&(t(h.key),R=""+h.key),"key"in h){x={};for(var J in h)J!=="key"&&(x[J]=h[J])}else x=h;return R&&m(x,typeof u=="function"?u.displayName||u.name||"Unknown":u),i(u,R,L,j,s(),x,F,P)}function a(u){typeof u=="object"&&u!==null&&u.$$typeof===d&&u._store&&(u._store.validated=1)}var n=E,d=Symbol.for("react.transitional.element"),g=Symbol.for("react.portal"),y=Symbol.for("react.fragment"),O=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),V=Symbol.for("react.consumer"),C=Symbol.for("react.context"),T=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),D=Symbol.for("react.suspense_list"),M=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),le=Symbol.for("react.client.reference"),ee=n.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,ne=Object.prototype.hasOwnProperty,ve=Array.isArray,oe=console.createTask?console.createTask:function(){return null};n={react_stack_bottom_frame:function(u){return u()}};var re,X={},te=n.react_stack_bottom_frame.bind(n,l)(),w=oe(o(l)),fe={};Ae.Fragment=y,Ae.jsx=function(u,h,x,k,j){var L=1e4>ee.recentlyCreatedOwnerStacks++;return p(u,h,x,!1,k,j,L?Error("react-stack-top-frame"):te,L?oe(o(u)):w)},Ae.jsxs=function(u,h,x,k,j){var L=1e4>ee.recentlyCreatedOwnerStacks++;return p(u,h,x,!0,k,j,L?Error("react-stack-top-frame"):te,L?oe(o(u)):w)}})()),Ae}var wt;function tn(){return wt||(wt=1,process.env.NODE_ENV==="production"?Ye.exports=Qr():Ye.exports=en()),Ye.exports}var G=tn();function rn(e,r=[]){let t=[];function o(l,f){const m=S.createContext(f),c=t.length;t=[...t,f];const i=a=>{const{scope:n,children:d,...g}=a,y=n?.[e]?.[c]||m,O=S.useMemo(()=>g,Object.values(g));return G.jsx(y.Provider,{value:O,children:d})};i.displayName=l+"Provider";function p(a,n){const d=n?.[e]?.[c]||m,g=S.useContext(d);if(g)return g;if(f!==void 0)return f;throw new Error(`\`${a}\` must be used within \`${l}\``)}return[i,p]}const s=()=>{const l=t.map(f=>S.createContext(f));return function(f){const m=f?.[e]||l;return S.useMemo(()=>({[`__scope${e}`]:{...f,[e]:m}}),[f,m])}};return s.scopeName=e,[o,nn(s,...r)]}function nn(...e){const r=e[0];if(e.length===1)return r;const t=()=>{const o=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(s){const l=o.reduce((f,{useScope:m,scopeName:c})=>{const i=m(s)[`__scope${c}`];return{...f,...i}},{});return S.useMemo(()=>({[`__scope${r.scopeName}`]:l}),[l])}};return t.scopeName=r.scopeName,t}function on(e){const r=S.useRef(e);return S.useEffect(()=>{r.current=e}),S.useMemo(()=>(...t)=>r.current?.(...t),[])}var qe=globalThis?.document?S.useLayoutEffect:()=>{},Ce={exports:{}},B={};/**
43
+ <%s key={someKey} {...props} />`,k,R,V,R),se[R+k]=!0)}if(R=null,w!==void 0&&(t(w),R=""+w),d(g)&&(t(g.key),R=""+g.key),"key"in g){w={};for(var q in g)q!=="key"&&(w[q]=g[q])}else w=g;return R&&f(w,typeof a=="function"?a.displayName||a.name||"Unknown":a),l(a,R,T,j,n(),w,ee,A)}function c(a){typeof a=="object"&&a!==null&&a.$$typeof===p&&a._store&&(a._store.validated=1)}var i=O,p=Symbol.for("react.transitional.element"),b=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),N=Symbol.for("react.strict_mode"),D=Symbol.for("react.profiler"),G=Symbol.for("react.consumer"),P=Symbol.for("react.context"),z=Symbol.for("react.forward_ref"),U=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),_=Symbol.for("react.lazy"),Y=Symbol.for("react.activity"),ge=Symbol.for("react.client.reference"),Z=i.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Q=Object.prototype.hasOwnProperty,he=Array.isArray,J=console.createTask?console.createTask:function(){return null};i={react_stack_bottom_frame:function(a){return a()}};var K,H={},W=i.react_stack_bottom_frame.bind(i,s)(),x=J(o(s)),se={};ke.Fragment=v,ke.jsx=function(a,g,w,k,j){var T=1e4>Z.recentlyCreatedOwnerStacks++;return m(a,g,w,!1,k,j,T?Error("react-stack-top-frame"):W,T?J(o(a)):x)},ke.jsxs=function(a,g,w,k,j){var T=1e4>Z.recentlyCreatedOwnerStacks++;return m(a,g,w,!0,k,j,T?Error("react-stack-top-frame"):W,T?J(o(a)):x)}})()),ke}var rt;function dr(){return rt||(rt=1,process.env.NODE_ENV==="production"?De.exports=cr():De.exports=ur()),De.exports}var L=dr();function fr(e,r=[]){let t=[];function o(s,d){const f=S.createContext(d),u=t.length;t=[...t,d];const l=c=>{const{scope:i,children:p,...b}=c,v=i?.[e]?.[u]||f,N=S.useMemo(()=>b,Object.values(b));return L.jsx(v.Provider,{value:N,children:p})};l.displayName=s+"Provider";function m(c,i){const p=i?.[e]?.[u]||f,b=S.useContext(p);if(b)return b;if(d!==void 0)return d;throw new Error(`\`${c}\` must be used within \`${s}\``)}return[l,m]}const n=()=>{const s=t.map(d=>S.createContext(d));return function(d){const f=d?.[e]||s;return S.useMemo(()=>({[`__scope${e}`]:{...d,[e]:f}}),[d,f])}};return n.scopeName=e,[o,pr(n,...r)]}function pr(...e){const r=e[0];if(e.length===1)return r;const t=()=>{const o=e.map(n=>({useScope:n(),scopeName:n.scopeName}));return function(n){const s=o.reduce((d,{useScope:f,scopeName:u})=>{const l=f(n)[`__scope${u}`];return{...d,...l}},{});return S.useMemo(()=>({[`__scope${r.scopeName}`]:s}),[s])}};return t.scopeName=r.scopeName,t}function mr(e){const r=S.useRef(e);return S.useEffect(()=>{r.current=e}),S.useMemo(()=>(...t)=>r.current?.(...t),[])}var Pe=globalThis?.document?S.useLayoutEffect:()=>{},Oe={exports:{}},I={};/**
44
44
  * @license React
45
45
  * react-dom.production.js
46
46
  *
@@ -48,7 +48,7 @@ React keys must be passed directly to JSX without using spread:
48
48
  *
49
49
  * This source code is licensed under the MIT license found in the
50
50
  * LICENSE file in the root directory of this source tree.
51
- */var xt;function sn(){if(xt)return B;xt=1;var e=E;function r(c){var i="https://react.dev/errors/"+c;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)i+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+c+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function t(){}var o={d:{f:t,r:function(){throw Error(r(522))},D:t,C:t,L:t,m:t,X:t,S:t,M:t},p:0,findDOMNode:null},s=Symbol.for("react.portal");function l(c,i,p){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:a==null?null:""+a,children:c,containerInfo:i,implementation:p}}var f=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(c,i){if(c==="font")return"";if(typeof i=="string")return i==="use-credentials"?i:""}return B.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,B.createPortal=function(c,i){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)throw Error(r(299));return l(c,i,null,p)},B.flushSync=function(c){var i=f.T,p=o.p;try{if(f.T=null,o.p=2,c)return c()}finally{f.T=i,o.p=p,o.d.f()}},B.preconnect=function(c,i){typeof c=="string"&&(i?(i=i.crossOrigin,i=typeof i=="string"?i==="use-credentials"?i:"":void 0):i=null,o.d.C(c,i))},B.prefetchDNS=function(c){typeof c=="string"&&o.d.D(c)},B.preinit=function(c,i){if(typeof c=="string"&&i&&typeof i.as=="string"){var p=i.as,a=m(p,i.crossOrigin),n=typeof i.integrity=="string"?i.integrity:void 0,d=typeof i.fetchPriority=="string"?i.fetchPriority:void 0;p==="style"?o.d.S(c,typeof i.precedence=="string"?i.precedence:void 0,{crossOrigin:a,integrity:n,fetchPriority:d}):p==="script"&&o.d.X(c,{crossOrigin:a,integrity:n,fetchPriority:d,nonce:typeof i.nonce=="string"?i.nonce:void 0})}},B.preinitModule=function(c,i){if(typeof c=="string")if(typeof i=="object"&&i!==null){if(i.as==null||i.as==="script"){var p=m(i.as,i.crossOrigin);o.d.M(c,{crossOrigin:p,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0})}}else i==null&&o.d.M(c)},B.preload=function(c,i){if(typeof c=="string"&&typeof i=="object"&&i!==null&&typeof i.as=="string"){var p=i.as,a=m(p,i.crossOrigin);o.d.L(c,p,{crossOrigin:a,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0,type:typeof i.type=="string"?i.type:void 0,fetchPriority:typeof i.fetchPriority=="string"?i.fetchPriority:void 0,referrerPolicy:typeof i.referrerPolicy=="string"?i.referrerPolicy:void 0,imageSrcSet:typeof i.imageSrcSet=="string"?i.imageSrcSet:void 0,imageSizes:typeof i.imageSizes=="string"?i.imageSizes:void 0,media:typeof i.media=="string"?i.media:void 0})}},B.preloadModule=function(c,i){if(typeof c=="string")if(i){var p=m(i.as,i.crossOrigin);o.d.m(c,{as:typeof i.as=="string"&&i.as!=="script"?i.as:void 0,crossOrigin:p,integrity:typeof i.integrity=="string"?i.integrity:void 0})}else o.d.m(c)},B.requestFormReset=function(c){o.d.r(c)},B.unstable_batchedUpdates=function(c,i){return c(i)},B.useFormState=function(c,i,p){return f.H.useFormState(c,i,p)},B.useFormStatus=function(){return f.H.useHostTransitionStatus()},B.version="19.1.1",B}var Z={};/**
51
+ */var ot;function gr(){if(ot)return I;ot=1;var e=O;function r(u){var l="https://react.dev/errors/"+u;if(1<arguments.length){l+="?args[]="+encodeURIComponent(arguments[1]);for(var m=2;m<arguments.length;m++)l+="&args[]="+encodeURIComponent(arguments[m])}return"Minified React error #"+u+"; visit "+l+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function t(){}var o={d:{f:t,r:function(){throw Error(r(522))},D:t,C:t,L:t,m:t,X:t,S:t,M:t},p:0,findDOMNode:null},n=Symbol.for("react.portal");function s(u,l,m){var c=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:n,key:c==null?null:""+c,children:u,containerInfo:l,implementation:m}}var d=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function f(u,l){if(u==="font")return"";if(typeof l=="string")return l==="use-credentials"?l:""}return I.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,I.createPortal=function(u,l){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)throw Error(r(299));return s(u,l,null,m)},I.flushSync=function(u){var l=d.T,m=o.p;try{if(d.T=null,o.p=2,u)return u()}finally{d.T=l,o.p=m,o.d.f()}},I.preconnect=function(u,l){typeof u=="string"&&(l?(l=l.crossOrigin,l=typeof l=="string"?l==="use-credentials"?l:"":void 0):l=null,o.d.C(u,l))},I.prefetchDNS=function(u){typeof u=="string"&&o.d.D(u)},I.preinit=function(u,l){if(typeof u=="string"&&l&&typeof l.as=="string"){var m=l.as,c=f(m,l.crossOrigin),i=typeof l.integrity=="string"?l.integrity:void 0,p=typeof l.fetchPriority=="string"?l.fetchPriority:void 0;m==="style"?o.d.S(u,typeof l.precedence=="string"?l.precedence:void 0,{crossOrigin:c,integrity:i,fetchPriority:p}):m==="script"&&o.d.X(u,{crossOrigin:c,integrity:i,fetchPriority:p,nonce:typeof l.nonce=="string"?l.nonce:void 0})}},I.preinitModule=function(u,l){if(typeof u=="string")if(typeof l=="object"&&l!==null){if(l.as==null||l.as==="script"){var m=f(l.as,l.crossOrigin);o.d.M(u,{crossOrigin:m,integrity:typeof l.integrity=="string"?l.integrity:void 0,nonce:typeof l.nonce=="string"?l.nonce:void 0})}}else l==null&&o.d.M(u)},I.preload=function(u,l){if(typeof u=="string"&&typeof l=="object"&&l!==null&&typeof l.as=="string"){var m=l.as,c=f(m,l.crossOrigin);o.d.L(u,m,{crossOrigin:c,integrity:typeof l.integrity=="string"?l.integrity:void 0,nonce:typeof l.nonce=="string"?l.nonce:void 0,type:typeof l.type=="string"?l.type:void 0,fetchPriority:typeof l.fetchPriority=="string"?l.fetchPriority:void 0,referrerPolicy:typeof l.referrerPolicy=="string"?l.referrerPolicy:void 0,imageSrcSet:typeof l.imageSrcSet=="string"?l.imageSrcSet:void 0,imageSizes:typeof l.imageSizes=="string"?l.imageSizes:void 0,media:typeof l.media=="string"?l.media:void 0})}},I.preloadModule=function(u,l){if(typeof u=="string")if(l){var m=f(l.as,l.crossOrigin);o.d.m(u,{as:typeof l.as=="string"&&l.as!=="script"?l.as:void 0,crossOrigin:m,integrity:typeof l.integrity=="string"?l.integrity:void 0})}else o.d.m(u)},I.requestFormReset=function(u){o.d.r(u)},I.unstable_batchedUpdates=function(u,l){return u(l)},I.useFormState=function(u,l,m){return d.H.useFormState(u,l,m)},I.useFormStatus=function(){return d.H.useHostTransitionStatus()},I.version="19.1.1",I}var F={};/**
52
52
  * @license React
53
53
  * react-dom.development.js
54
54
  *
@@ -56,11 +56,11 @@ React keys must be passed directly to JSX without using spread:
56
56
  *
57
57
  * This source code is licensed under the MIT license found in the
58
58
  * LICENSE file in the root directory of this source tree.
59
- */var Et;function an(){return Et||(Et=1,process.env.NODE_ENV!=="production"&&(function(){function e(){}function r(a){return""+a}function t(a,n,d){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{r(g);var y=!1}catch{y=!0}return y&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&g[Symbol.toStringTag]||g.constructor.name||"Object"),r(g)),{$$typeof:i,key:g==null?null:""+g,children:a,containerInfo:n,implementation:d}}function o(a,n){if(a==="font")return"";if(typeof n=="string")return n==="use-credentials"?n:""}function s(a){return a===null?"`null`":a===void 0?"`undefined`":a===""?"an empty string":'something with type "'+typeof a+'"'}function l(a){return a===null?"`null`":a===void 0?"`undefined`":a===""?"an empty string":typeof a=="string"?JSON.stringify(a):typeof a=="number"?"`"+a+"`":'something with type "'+typeof a+'"'}function f(){var a=p.H;return a===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
59
+ */var nt;function hr(){return nt||(nt=1,process.env.NODE_ENV!=="production"&&(function(){function e(){}function r(c){return""+c}function t(c,i,p){var b=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{r(b);var v=!1}catch{v=!0}return v&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&b[Symbol.toStringTag]||b.constructor.name||"Object"),r(b)),{$$typeof:l,key:b==null?null:""+b,children:c,containerInfo:i,implementation:p}}function o(c,i){if(c==="font")return"";if(typeof i=="string")return i==="use-credentials"?i:""}function n(c){return c===null?"`null`":c===void 0?"`undefined`":c===""?"an empty string":'something with type "'+typeof c+'"'}function s(c){return c===null?"`null`":c===void 0?"`undefined`":c===""?"an empty string":typeof c=="string"?JSON.stringify(c):typeof c=="number"?"`"+c+"`":'something with type "'+typeof c+'"'}function d(){var c=m.H;return c===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
60
60
  1. You might have mismatching versions of React and the renderer (such as React DOM)
61
61
  2. You might be breaking the Rules of Hooks
62
62
  3. You might have more than one copy of React in the same app
63
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),a}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var m=E,c={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},i=Symbol.for("react.portal"),p=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),Z.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,Z.createPortal=function(a,n){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)throw Error("Target container is not a DOM element.");return t(a,n,null,d)},Z.flushSync=function(a){var n=p.T,d=c.p;try{if(p.T=null,c.p=2,a)return a()}finally{p.T=n,c.p=d,c.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},Z.preconnect=function(a,n){typeof a=="string"&&a?n!=null&&typeof n!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",l(n)):n!=null&&typeof n.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",s(n.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",s(a)),typeof a=="string"&&(n?(n=n.crossOrigin,n=typeof n=="string"?n==="use-credentials"?n:"":void 0):n=null,c.d.C(a,n))},Z.prefetchDNS=function(a){if(typeof a!="string"||!a)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",s(a));else if(1<arguments.length){var n=arguments[1];typeof n=="object"&&n.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",l(n)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",l(n))}typeof a=="string"&&c.d.D(a)},Z.preinit=function(a,n){if(typeof a=="string"&&a?n==null||typeof n!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",l(n)):n.as!=="style"&&n.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',l(n.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",s(a)),typeof a=="string"&&n&&typeof n.as=="string"){var d=n.as,g=o(d,n.crossOrigin),y=typeof n.integrity=="string"?n.integrity:void 0,O=typeof n.fetchPriority=="string"?n.fetchPriority:void 0;d==="style"?c.d.S(a,typeof n.precedence=="string"?n.precedence:void 0,{crossOrigin:g,integrity:y,fetchPriority:O}):d==="script"&&c.d.X(a,{crossOrigin:g,integrity:y,fetchPriority:O,nonce:typeof n.nonce=="string"?n.nonce:void 0})}},Z.preinitModule=function(a,n){var d="";if(typeof a=="string"&&a||(d+=" The `href` argument encountered was "+s(a)+"."),n!==void 0&&typeof n!="object"?d+=" The `options` argument encountered was "+s(n)+".":n&&"as"in n&&n.as!=="script"&&(d+=" The `as` option encountered was "+l(n.as)+"."),d)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",d);else switch(d=n&&typeof n.as=="string"?n.as:"script",d){case"script":break;default:d=l(d),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',d,a)}typeof a=="string"&&(typeof n=="object"&&n!==null?(n.as==null||n.as==="script")&&(d=o(n.as,n.crossOrigin),c.d.M(a,{crossOrigin:d,integrity:typeof n.integrity=="string"?n.integrity:void 0,nonce:typeof n.nonce=="string"?n.nonce:void 0})):n==null&&c.d.M(a))},Z.preload=function(a,n){var d="";if(typeof a=="string"&&a||(d+=" The `href` argument encountered was "+s(a)+"."),n==null||typeof n!="object"?d+=" The `options` argument encountered was "+s(n)+".":typeof n.as=="string"&&n.as||(d+=" The `as` option encountered was "+s(n.as)+"."),d&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',d),typeof a=="string"&&typeof n=="object"&&n!==null&&typeof n.as=="string"){d=n.as;var g=o(d,n.crossOrigin);c.d.L(a,d,{crossOrigin:g,integrity:typeof n.integrity=="string"?n.integrity:void 0,nonce:typeof n.nonce=="string"?n.nonce:void 0,type:typeof n.type=="string"?n.type:void 0,fetchPriority:typeof n.fetchPriority=="string"?n.fetchPriority:void 0,referrerPolicy:typeof n.referrerPolicy=="string"?n.referrerPolicy:void 0,imageSrcSet:typeof n.imageSrcSet=="string"?n.imageSrcSet:void 0,imageSizes:typeof n.imageSizes=="string"?n.imageSizes:void 0,media:typeof n.media=="string"?n.media:void 0})}},Z.preloadModule=function(a,n){var d="";typeof a=="string"&&a||(d+=" The `href` argument encountered was "+s(a)+"."),n!==void 0&&typeof n!="object"?d+=" The `options` argument encountered was "+s(n)+".":n&&"as"in n&&typeof n.as!="string"&&(d+=" The `as` option encountered was "+s(n.as)+"."),d&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',d),typeof a=="string"&&(n?(d=o(n.as,n.crossOrigin),c.d.m(a,{as:typeof n.as=="string"&&n.as!=="script"?n.as:void 0,crossOrigin:d,integrity:typeof n.integrity=="string"?n.integrity:void 0})):c.d.m(a))},Z.requestFormReset=function(a){c.d.r(a)},Z.unstable_batchedUpdates=function(a,n){return a(n)},Z.useFormState=function(a,n,d){return f().useFormState(a,n,d)},Z.useFormStatus=function(){return f().useHostTransitionStatus()},Z.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Z}var kt;function ln(){if(kt)return Ce.exports;kt=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}}return process.env.NODE_ENV==="production"?(e(),Ce.exports=sn()):Ce.exports=an(),Ce.exports}ln();function Tt(e,r){if(typeof e=="function")return e(r);e!=null&&(e.current=r)}function cn(...e){return r=>{let t=!1;const o=e.map(s=>{const l=Tt(s,r);return!t&&typeof l=="function"&&(t=!0),l});if(t)return()=>{for(let s=0;s<o.length;s++){const l=o[s];typeof l=="function"?l():Tt(e[s],null)}}}}function Rt(e){const r=un(e),t=S.forwardRef((o,s)=>{const{children:l,...f}=o,m=S.Children.toArray(l),c=m.find(fn);if(c){const i=c.props.children,p=m.map(a=>a===c?S.Children.count(i)>1?S.Children.only(null):S.isValidElement(i)?i.props.children:null:a);return G.jsx(r,{...f,ref:s,children:S.isValidElement(i)?S.cloneElement(i,void 0,p):null})}return G.jsx(r,{...f,ref:s,children:l})});return t.displayName=`${e}.Slot`,t}var Nt=Rt("Slot");function un(e){const r=S.forwardRef((t,o)=>{const{children:s,...l}=t;if(S.isValidElement(s)){const f=mn(s),m=pn(l,s.props);return s.type!==S.Fragment&&(m.ref=o?cn(o,f):f),S.cloneElement(s,m)}return S.Children.count(s)>1?S.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}var dn=Symbol("radix.slottable");function fn(e){return S.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===dn}function pn(e,r){const t={...r};for(const o in r){const s=e[o],l=r[o];/^on[A-Z]/.test(o)?s&&l?t[o]=(...f)=>{const m=l(...f);return s(...f),m}:s&&(t[o]=s):o==="style"?t[o]={...s,...l}:o==="className"&&(t[o]=[s,l].filter(Boolean).join(" "))}return{...e,...t}}function mn(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=Object.getOwnPropertyDescriptor(e,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}var gn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],je=gn.reduce((e,r)=>{const t=Rt(`Primitive.${r}`),o=S.forwardRef((s,l)=>{const{asChild:f,...m}=s,c=f?t:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),G.jsx(c,{...m,ref:l})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{}),Xe={exports:{}},Je={};/**
63
+ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),c}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var f=O,u={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},l=Symbol.for("react.portal"),m=f.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),F.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=u,F.createPortal=function(c,i){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)throw Error("Target container is not a DOM element.");return t(c,i,null,p)},F.flushSync=function(c){var i=m.T,p=u.p;try{if(m.T=null,u.p=2,c)return c()}finally{m.T=i,u.p=p,u.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},F.preconnect=function(c,i){typeof c=="string"&&c?i!=null&&typeof i!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",s(i)):i!=null&&typeof i.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",n(i.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",n(c)),typeof c=="string"&&(i?(i=i.crossOrigin,i=typeof i=="string"?i==="use-credentials"?i:"":void 0):i=null,u.d.C(c,i))},F.prefetchDNS=function(c){if(typeof c!="string"||!c)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",n(c));else if(1<arguments.length){var i=arguments[1];typeof i=="object"&&i.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",s(i)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",s(i))}typeof c=="string"&&u.d.D(c)},F.preinit=function(c,i){if(typeof c=="string"&&c?i==null||typeof i!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",s(i)):i.as!=="style"&&i.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',s(i.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",n(c)),typeof c=="string"&&i&&typeof i.as=="string"){var p=i.as,b=o(p,i.crossOrigin),v=typeof i.integrity=="string"?i.integrity:void 0,N=typeof i.fetchPriority=="string"?i.fetchPriority:void 0;p==="style"?u.d.S(c,typeof i.precedence=="string"?i.precedence:void 0,{crossOrigin:b,integrity:v,fetchPriority:N}):p==="script"&&u.d.X(c,{crossOrigin:b,integrity:v,fetchPriority:N,nonce:typeof i.nonce=="string"?i.nonce:void 0})}},F.preinitModule=function(c,i){var p="";if(typeof c=="string"&&c||(p+=" The `href` argument encountered was "+n(c)+"."),i!==void 0&&typeof i!="object"?p+=" The `options` argument encountered was "+n(i)+".":i&&"as"in i&&i.as!=="script"&&(p+=" The `as` option encountered was "+s(i.as)+"."),p)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",p);else switch(p=i&&typeof i.as=="string"?i.as:"script",p){case"script":break;default:p=s(p),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',p,c)}typeof c=="string"&&(typeof i=="object"&&i!==null?(i.as==null||i.as==="script")&&(p=o(i.as,i.crossOrigin),u.d.M(c,{crossOrigin:p,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0})):i==null&&u.d.M(c))},F.preload=function(c,i){var p="";if(typeof c=="string"&&c||(p+=" The `href` argument encountered was "+n(c)+"."),i==null||typeof i!="object"?p+=" The `options` argument encountered was "+n(i)+".":typeof i.as=="string"&&i.as||(p+=" The `as` option encountered was "+n(i.as)+"."),p&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',p),typeof c=="string"&&typeof i=="object"&&i!==null&&typeof i.as=="string"){p=i.as;var b=o(p,i.crossOrigin);u.d.L(c,p,{crossOrigin:b,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0,type:typeof i.type=="string"?i.type:void 0,fetchPriority:typeof i.fetchPriority=="string"?i.fetchPriority:void 0,referrerPolicy:typeof i.referrerPolicy=="string"?i.referrerPolicy:void 0,imageSrcSet:typeof i.imageSrcSet=="string"?i.imageSrcSet:void 0,imageSizes:typeof i.imageSizes=="string"?i.imageSizes:void 0,media:typeof i.media=="string"?i.media:void 0})}},F.preloadModule=function(c,i){var p="";typeof c=="string"&&c||(p+=" The `href` argument encountered was "+n(c)+"."),i!==void 0&&typeof i!="object"?p+=" The `options` argument encountered was "+n(i)+".":i&&"as"in i&&typeof i.as!="string"&&(p+=" The `as` option encountered was "+n(i.as)+"."),p&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',p),typeof c=="string"&&(i?(p=o(i.as,i.crossOrigin),u.d.m(c,{as:typeof i.as=="string"&&i.as!=="script"?i.as:void 0,crossOrigin:p,integrity:typeof i.integrity=="string"?i.integrity:void 0})):u.d.m(c))},F.requestFormReset=function(c){u.d.r(c)},F.unstable_batchedUpdates=function(c,i){return c(i)},F.useFormState=function(c,i,p){return d().useFormState(c,i,p)},F.useFormStatus=function(){return d().useHostTransitionStatus()},F.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),F}var st;function yr(){if(st)return Oe.exports;st=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}}return process.env.NODE_ENV==="production"?(e(),Oe.exports=gr()):Oe.exports=hr(),Oe.exports}yr();function at(e,r){if(typeof e=="function")return e(r);e!=null&&(e.current=r)}function br(...e){return r=>{let t=!1;const o=e.map(n=>{const s=at(n,r);return!t&&typeof s=="function"&&(t=!0),s});if(t)return()=>{for(let n=0;n<o.length;n++){const s=o[n];typeof s=="function"?s():at(e[n],null)}}}}function it(e){const r=vr(e),t=S.forwardRef((o,n)=>{const{children:s,...d}=o,f=S.Children.toArray(s),u=f.find(_r);if(u){const l=u.props.children,m=f.map(c=>c===u?S.Children.count(l)>1?S.Children.only(null):S.isValidElement(l)?l.props.children:null:c);return L.jsx(r,{...d,ref:n,children:S.isValidElement(l)?S.cloneElement(l,void 0,m):null})}return L.jsx(r,{...d,ref:n,children:s})});return t.displayName=`${e}.Slot`,t}var lt=it("Slot");function vr(e){const r=S.forwardRef((t,o)=>{const{children:n,...s}=t;if(S.isValidElement(n)){const d=kr(n),f=wr(s,n.props);return n.type!==S.Fragment&&(f.ref=o?br(o,d):d),S.cloneElement(n,f)}return S.Children.count(n)>1?S.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}var xr=Symbol("radix.slottable");function _r(e){return S.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===xr}function wr(e,r){const t={...r};for(const o in r){const n=e[o],s=r[o];/^on[A-Z]/.test(o)?n&&s?t[o]=(...d)=>{const f=s(...d);return n(...d),f}:n&&(t[o]=n):o==="style"?t[o]={...n,...s}:o==="className"&&(t[o]=[n,s].filter(Boolean).join(" "))}return{...e,...t}}function kr(e){let r=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning;return t?e.ref:(r=Object.getOwnPropertyDescriptor(e,"ref")?.get,t=r&&"isReactWarning"in r&&r.isReactWarning,t?e.props.ref:e.props.ref||e.ref)}var Or=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],Se=Or.reduce((e,r)=>{const t=it(`Primitive.${r}`),o=S.forwardRef((n,s)=>{const{asChild:d,...f}=n,u=d?t:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),L.jsx(u,{...f,ref:s})});return o.displayName=`Primitive.${r}`,{...e,[r]:o}},{}),Le={exports:{}},Me={};/**
64
64
  * @license React
65
65
  * use-sync-external-store-shim.production.js
66
66
  *
@@ -68,7 +68,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
68
68
  *
69
69
  * This source code is licensed under the MIT license found in the
70
70
  * LICENSE file in the root directory of this source tree.
71
- */var Dt;function yn(){if(Dt)return Je;Dt=1;var e=E;function r(a,n){return a===n&&(a!==0||1/a===1/n)||a!==a&&n!==n}var t=typeof Object.is=="function"?Object.is:r,o=e.useState,s=e.useEffect,l=e.useLayoutEffect,f=e.useDebugValue;function m(a,n){var d=n(),g=o({inst:{value:d,getSnapshot:n}}),y=g[0].inst,O=g[1];return l(function(){y.value=d,y.getSnapshot=n,c(y)&&O({inst:y})},[a,d,n]),s(function(){return c(y)&&O({inst:y}),a(function(){c(y)&&O({inst:y})})},[a]),f(d),d}function c(a){var n=a.getSnapshot;a=a.value;try{var d=n();return!t(a,d)}catch{return!0}}function i(a,n){return n()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?i:m;return Je.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,Je}var At={};/**
71
+ */var ct;function Sr(){if(ct)return Me;ct=1;var e=O;function r(c,i){return c===i&&(c!==0||1/c===1/i)||c!==c&&i!==i}var t=typeof Object.is=="function"?Object.is:r,o=e.useState,n=e.useEffect,s=e.useLayoutEffect,d=e.useDebugValue;function f(c,i){var p=i(),b=o({inst:{value:p,getSnapshot:i}}),v=b[0].inst,N=b[1];return s(function(){v.value=p,v.getSnapshot=i,u(v)&&N({inst:v})},[c,p,i]),n(function(){return u(v)&&N({inst:v}),c(function(){u(v)&&N({inst:v})})},[c]),d(p),p}function u(c){var i=c.getSnapshot;c=c.value;try{var p=i();return!t(c,p)}catch{return!0}}function l(c,i){return i()}var m=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?l:f;return Me.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:m,Me}var ut={};/**
72
72
  * @license React
73
73
  * use-sync-external-store-shim.development.js
74
74
  *
@@ -76,86 +76,34 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
76
76
  *
77
77
  * This source code is licensed under the MIT license found in the
78
78
  * LICENSE file in the root directory of this source tree.
79
- */var Ct;function hn(){return Ct||(Ct=1,process.env.NODE_ENV!=="production"&&(function(){function e(d,g){return d===g&&(d!==0||1/d===1/g)||d!==d&&g!==g}function r(d,g){p||s.startTransition===void 0||(p=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var y=g();if(!a){var O=g();l(y,O)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),a=!0)}O=f({inst:{value:y,getSnapshot:g}});var N=O[0].inst,V=O[1];return c(function(){N.value=y,N.getSnapshot=g,t(N)&&V({inst:N})},[d,y,g]),m(function(){return t(N)&&V({inst:N}),d(function(){t(N)&&V({inst:N})})},[d]),i(y),y}function t(d){var g=d.getSnapshot;d=d.value;try{var y=g();return!l(d,y)}catch{return!0}}function o(d,g){return g()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=E,l=typeof Object.is=="function"?Object.is:e,f=s.useState,m=s.useEffect,c=s.useLayoutEffect,i=s.useDebugValue,p=!1,a=!1,n=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?o:r;At.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:n,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),At}var jt;function vn(){return jt||(jt=1,process.env.NODE_ENV==="production"?Xe.exports=yn():Xe.exports=hn()),Xe.exports}var bn=vn();function _n(){return bn.useSyncExternalStore(On,()=>!0,()=>!1)}function On(){return()=>{}}var Ze="Avatar",[Sn,Rs]=rn(Ze),[wn,Lt]=Sn(Ze),xn=S.forwardRef((e,r)=>{const{__scopeAvatar:t,...o}=e,[s,l]=S.useState("idle");return G.jsx(wn,{scope:t,imageLoadingStatus:s,onImageLoadingStatusChange:l,children:G.jsx(je.span,{...o,ref:r})})});xn.displayName=Ze;var Pt="AvatarImage",En=S.forwardRef((e,r)=>{const{__scopeAvatar:t,src:o,onLoadingStatusChange:s=()=>{},...l}=e,f=Lt(Pt,t),m=Tn(o,l),c=on(i=>{s(i),f.onImageLoadingStatusChange(i)});return qe(()=>{m!=="idle"&&c(m)},[m,c]),m==="loaded"?G.jsx(je.img,{...l,ref:r,src:o}):null});En.displayName=Pt;var Mt="AvatarFallback",kn=S.forwardRef((e,r)=>{const{__scopeAvatar:t,delayMs:o,...s}=e,l=Lt(Mt,t),[f,m]=S.useState(o===void 0);return S.useEffect(()=>{if(o!==void 0){const c=window.setTimeout(()=>m(!0),o);return()=>window.clearTimeout(c)}},[o]),f&&l.imageLoadingStatus!=="loaded"?G.jsx(je.span,{...s,ref:r}):null});kn.displayName=Mt;function Vt(e,r){return e?r?(e.src!==r&&(e.src=r),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function Tn(e,{referrerPolicy:r,crossOrigin:t}){const o=_n(),s=S.useRef(null),l=o?(s.current||(s.current=new window.Image),s.current):null,[f,m]=S.useState(()=>Vt(l,e));return qe(()=>{m(Vt(l,e))},[l,e]),qe(()=>{const c=a=>()=>{m(a)};if(!l)return;const i=c("loaded"),p=c("error");return l.addEventListener("load",i),l.addEventListener("error",p),r&&(l.referrerPolicy=r),typeof t=="string"&&(l.crossOrigin=t),()=>{l.removeEventListener("load",i),l.removeEventListener("error",p)}},[l,t,r]),f}function It(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(r=0;r<s;r++)e[r]&&(t=It(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function zt(){for(var e,r,t=0,o="",s=arguments.length;t<s;t++)(e=arguments[t])&&(r=It(e))&&(o&&(o+=" "),o+=r);return o}const Qe="-",Rn=e=>{const r=Dn(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:s=>{const l=s.split(Qe);return l[0]===""&&l.length!==1&&l.shift(),Ut(l,r)||Nn(s)},getConflictingClassGroupIds:(s,l)=>{const f=t[s]||[];return l&&o[s]?[...f,...o[s]]:f}}},Ut=(e,r)=>{if(e.length===0)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),s=o?Ut(e.slice(1),o):void 0;if(s)return s;if(r.validators.length===0)return;const l=e.join(Qe);return r.validators.find(({validator:f})=>f(l))?.classGroupId},$t=/^\[(.+)\]$/,Nn=e=>{if($t.test(e)){const r=$t.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Dn=e=>{const{theme:r,classGroups:t}=e,o={nextPart:new Map,validators:[]};for(const s in t)et(t[s],o,s,r);return o},et=(e,r,t,o)=>{e.forEach(s=>{if(typeof s=="string"){const l=s===""?r:Gt(r,s);l.classGroupId=t;return}if(typeof s=="function"){if(An(s)){et(s(o),r,t,o);return}r.validators.push({validator:s,classGroupId:t});return}Object.entries(s).forEach(([l,f])=>{et(f,Gt(r,l),t,o)})})},Gt=(e,r)=>{let t=e;return r.split(Qe).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},An=e=>e.isThemeGetter,Cn=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;const s=(l,f)=>{t.set(l,f),r++,r>e&&(r=0,o=t,t=new Map)};return{get(l){let f=t.get(l);if(f!==void 0)return f;if((f=o.get(l))!==void 0)return s(l,f),f},set(l,f){t.has(l)?t.set(l,f):s(l,f)}}},tt="!",rt=":",jn=rt.length,Ln=e=>{const{prefix:r,experimentalParseClassName:t}=e;let o=s=>{const l=[];let f=0,m=0,c=0,i;for(let g=0;g<s.length;g++){let y=s[g];if(f===0&&m===0){if(y===rt){l.push(s.slice(c,g)),c=g+jn;continue}if(y==="/"){i=g;continue}}y==="["?f++:y==="]"?f--:y==="("?m++:y===")"&&m--}const p=l.length===0?s:s.substring(c),a=Pn(p),n=a!==p,d=i&&i>c?i-c:void 0;return{modifiers:l,hasImportantModifier:n,baseClassName:a,maybePostfixModifierPosition:d}};if(r){const s=r+rt,l=o;o=f=>f.startsWith(s)?l(f.substring(s.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:f,maybePostfixModifierPosition:void 0}}if(t){const s=o;o=l=>t({className:l,parseClassName:s})}return o},Pn=e=>e.endsWith(tt)?e.substring(0,e.length-1):e.startsWith(tt)?e.substring(1):e,Mn=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(t=>[t,!0]));return t=>{if(t.length<=1)return t;const o=[];let s=[];return t.forEach(l=>{l[0]==="["||r[l]?(o.push(...s.sort(),l),s=[]):s.push(l)}),o.push(...s.sort()),o}},Vn=e=>({cache:Cn(e.cacheSize),parseClassName:Ln(e),sortModifiers:Mn(e),...Rn(e)}),In=/\s+/,zn=(e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:s,sortModifiers:l}=r,f=[],m=e.trim().split(In);let c="";for(let i=m.length-1;i>=0;i-=1){const p=m[i],{isExternal:a,modifiers:n,hasImportantModifier:d,baseClassName:g,maybePostfixModifierPosition:y}=t(p);if(a){c=p+(c.length>0?" "+c:c);continue}let O=!!y,N=o(O?g.substring(0,y):g);if(!N){if(!O){c=p+(c.length>0?" "+c:c);continue}if(N=o(g),!N){c=p+(c.length>0?" "+c:c);continue}O=!1}const V=l(n).join(":"),C=d?V+tt:V,T=C+N;if(f.includes(T))continue;f.push(T);const z=s(N,O);for(let D=0;D<z.length;++D){const M=z[D];f.push(C+M)}c=p+(c.length>0?" "+c:c)}return c};function Un(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Ft(r))&&(o&&(o+=" "),o+=t);return o}const Ft=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=Ft(e[o]))&&(t&&(t+=" "),t+=r);return t};function $n(e,...r){let t,o,s,l=f;function f(c){const i=r.reduce((p,a)=>a(p),e());return t=Vn(i),o=t.cache.get,s=t.cache.set,l=m,m(c)}function m(c){const i=o(c);if(i)return i;const p=zn(c,t);return s(c,p),p}return function(){return l(Un.apply(null,arguments))}}const H=e=>{const r=t=>t[e]||[];return r.isThemeGetter=!0,r},Ht=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Wt=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Gn=/^\d+\/\d+$/,Fn=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Hn=/\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$/,Wn=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Kn=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Bn=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,be=e=>Gn.test(e),A=e=>!!e&&!Number.isNaN(Number(e)),pe=e=>!!e&&Number.isInteger(Number(e)),nt=e=>e.endsWith("%")&&A(e.slice(0,-1)),ue=e=>Fn.test(e),Yn=()=>!0,qn=e=>Hn.test(e)&&!Wn.test(e),Kt=()=>!1,Xn=e=>Kn.test(e),Jn=e=>Bn.test(e),Zn=e=>!v(e)&&!b(e),Qn=e=>_e(e,Jt,Kt),v=e=>Ht.test(e),me=e=>_e(e,Zt,qn),ot=e=>_e(e,oo,A),Bt=e=>_e(e,qt,Kt),eo=e=>_e(e,Xt,Jn),Le=e=>_e(e,Qt,Xn),b=e=>Wt.test(e),ke=e=>Oe(e,Zt),to=e=>Oe(e,so),Yt=e=>Oe(e,qt),ro=e=>Oe(e,Jt),no=e=>Oe(e,Xt),Pe=e=>Oe(e,Qt,!0),_e=(e,r,t)=>{const o=Ht.exec(e);return o?o[1]?r(o[1]):t(o[2]):!1},Oe=(e,r,t=!1)=>{const o=Wt.exec(e);return o?o[1]?r(o[1]):t:!1},qt=e=>e==="position"||e==="percentage",Xt=e=>e==="image"||e==="url",Jt=e=>e==="length"||e==="size"||e==="bg-size",Zt=e=>e==="length",oo=e=>e==="number",so=e=>e==="family-name",Qt=e=>e==="shadow",io=()=>{const e=H("color"),r=H("font"),t=H("text"),o=H("font-weight"),s=H("tracking"),l=H("leading"),f=H("breakpoint"),m=H("container"),c=H("spacing"),i=H("radius"),p=H("shadow"),a=H("inset-shadow"),n=H("text-shadow"),d=H("drop-shadow"),g=H("blur"),y=H("perspective"),O=H("aspect"),N=H("ease"),V=H("animate"),C=()=>["auto","avoid","all","avoid-page","page","left","right","column"],T=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],z=()=>[...T(),b,v],D=()=>["auto","hidden","clip","visible","scroll"],M=()=>["auto","contain","none"],_=()=>[b,v,c],W=()=>[be,"full","auto",..._()],le=()=>[pe,"none","subgrid",b,v],ee=()=>["auto",{span:["full",pe,b,v]},pe,b,v],ne=()=>[pe,"auto",b,v],ve=()=>["auto","min","max","fr",b,v],oe=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],re=()=>["start","end","center","stretch","center-safe","end-safe"],X=()=>["auto",..._()],te=()=>[be,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",..._()],w=()=>[e,b,v],fe=()=>[...T(),Yt,Bt,{position:[b,v]}],u=()=>["no-repeat",{repeat:["","x","y","space","round"]}],h=()=>["auto","cover","contain",ro,Qn,{size:[b,v]}],x=()=>[nt,ke,me],k=()=>["","none","full",i,b,v],j=()=>["",A,ke,me],L=()=>["solid","dashed","dotted","double"],F=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],P=()=>[A,nt,Yt,Bt],R=()=>["","none",g,b,v],$=()=>["none",A,b,v],J=()=>["none",A,b,v],ie=()=>[A,b,v],se=()=>[be,"full",..._()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[ue],breakpoint:[ue],color:[Yn],container:[ue],"drop-shadow":[ue],ease:["in","out","in-out"],font:[Zn],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[ue],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[ue],shadow:[ue],spacing:["px",A],text:[ue],"text-shadow":[ue],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",be,v,b,O]}],container:["container"],columns:[{columns:[A,v,b,m]}],"break-after":[{"break-after":C()}],"break-before":[{"break-before":C()}],"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"],sr:["sr-only","not-sr-only"],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:z()}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:M()}],"overscroll-x":[{"overscroll-x":M()}],"overscroll-y":[{"overscroll-y":M()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:W()}],"inset-x":[{"inset-x":W()}],"inset-y":[{"inset-y":W()}],start:[{start:W()}],end:[{end:W()}],top:[{top:W()}],right:[{right:W()}],bottom:[{bottom:W()}],left:[{left:W()}],visibility:["visible","invisible","collapse"],z:[{z:[pe,"auto",b,v]}],basis:[{basis:[be,"full","auto",m,..._()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[A,be,"auto","initial","none",v]}],grow:[{grow:["",A,b,v]}],shrink:[{shrink:["",A,b,v]}],order:[{order:[pe,"first","last","none",b,v]}],"grid-cols":[{"grid-cols":le()}],"col-start-end":[{col:ee()}],"col-start":[{"col-start":ne()}],"col-end":[{"col-end":ne()}],"grid-rows":[{"grid-rows":le()}],"row-start-end":[{row:ee()}],"row-start":[{"row-start":ne()}],"row-end":[{"row-end":ne()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ve()}],"auto-rows":[{"auto-rows":ve()}],gap:[{gap:_()}],"gap-x":[{"gap-x":_()}],"gap-y":[{"gap-y":_()}],"justify-content":[{justify:[...oe(),"normal"]}],"justify-items":[{"justify-items":[...re(),"normal"]}],"justify-self":[{"justify-self":["auto",...re()]}],"align-content":[{content:["normal",...oe()]}],"align-items":[{items:[...re(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...re(),{baseline:["","last"]}]}],"place-content":[{"place-content":oe()}],"place-items":[{"place-items":[...re(),"baseline"]}],"place-self":[{"place-self":["auto",...re()]}],p:[{p:_()}],px:[{px:_()}],py:[{py:_()}],ps:[{ps:_()}],pe:[{pe:_()}],pt:[{pt:_()}],pr:[{pr:_()}],pb:[{pb:_()}],pl:[{pl:_()}],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":_()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":_()}],"space-y-reverse":["space-y-reverse"],size:[{size:te()}],w:[{w:[m,"screen",...te()]}],"min-w":[{"min-w":[m,"screen","none",...te()]}],"max-w":[{"max-w":[m,"screen","none","prose",{screen:[f]},...te()]}],h:[{h:["screen","lh",...te()]}],"min-h":[{"min-h":["screen","lh","none",...te()]}],"max-h":[{"max-h":["screen","lh",...te()]}],"font-size":[{text:["base",t,ke,me]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,b,ot]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",nt,v]}],"font-family":[{font:[to,v,r]}],"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-fractions"],tracking:[{tracking:[s,b,v]}],"line-clamp":[{"line-clamp":[A,"none",b,ot]}],leading:[{leading:[l,..._()]}],"list-image":[{"list-image":["none",b,v]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",b,v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:w()}],"text-color":[{text:w()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...L(),"wavy"]}],"text-decoration-thickness":[{decoration:[A,"from-font","auto",b,me]}],"text-decoration-color":[{decoration:w()}],"underline-offset":[{"underline-offset":[A,"auto",b,v]}],"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",b,v]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",b,v]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:fe()}],"bg-repeat":[{bg:u()}],"bg-size":[{bg:h()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},pe,b,v],radial:["",b,v],conic:[pe,b,v]},no,eo]}],"bg-color":[{bg:w()}],"gradient-from-pos":[{from:x()}],"gradient-via-pos":[{via:x()}],"gradient-to-pos":[{to:x()}],"gradient-from":[{from:w()}],"gradient-via":[{via:w()}],"gradient-to":[{to:w()}],rounded:[{rounded:k()}],"rounded-s":[{"rounded-s":k()}],"rounded-e":[{"rounded-e":k()}],"rounded-t":[{"rounded-t":k()}],"rounded-r":[{"rounded-r":k()}],"rounded-b":[{"rounded-b":k()}],"rounded-l":[{"rounded-l":k()}],"rounded-ss":[{"rounded-ss":k()}],"rounded-se":[{"rounded-se":k()}],"rounded-ee":[{"rounded-ee":k()}],"rounded-es":[{"rounded-es":k()}],"rounded-tl":[{"rounded-tl":k()}],"rounded-tr":[{"rounded-tr":k()}],"rounded-br":[{"rounded-br":k()}],"rounded-bl":[{"rounded-bl":k()}],"border-w":[{border:j()}],"border-w-x":[{"border-x":j()}],"border-w-y":[{"border-y":j()}],"border-w-s":[{"border-s":j()}],"border-w-e":[{"border-e":j()}],"border-w-t":[{"border-t":j()}],"border-w-r":[{"border-r":j()}],"border-w-b":[{"border-b":j()}],"border-w-l":[{"border-l":j()}],"divide-x":[{"divide-x":j()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":j()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...L(),"hidden","none"]}],"divide-style":[{divide:[...L(),"hidden","none"]}],"border-color":[{border:w()}],"border-color-x":[{"border-x":w()}],"border-color-y":[{"border-y":w()}],"border-color-s":[{"border-s":w()}],"border-color-e":[{"border-e":w()}],"border-color-t":[{"border-t":w()}],"border-color-r":[{"border-r":w()}],"border-color-b":[{"border-b":w()}],"border-color-l":[{"border-l":w()}],"divide-color":[{divide:w()}],"outline-style":[{outline:[...L(),"none","hidden"]}],"outline-offset":[{"outline-offset":[A,b,v]}],"outline-w":[{outline:["",A,ke,me]}],"outline-color":[{outline:w()}],shadow:[{shadow:["","none",p,Pe,Le]}],"shadow-color":[{shadow:w()}],"inset-shadow":[{"inset-shadow":["none",a,Pe,Le]}],"inset-shadow-color":[{"inset-shadow":w()}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:w()}],"ring-offset-w":[{"ring-offset":[A,me]}],"ring-offset-color":[{"ring-offset":w()}],"inset-ring-w":[{"inset-ring":j()}],"inset-ring-color":[{"inset-ring":w()}],"text-shadow":[{"text-shadow":["none",n,Pe,Le]}],"text-shadow-color":[{"text-shadow":w()}],opacity:[{opacity:[A,b,v]}],"mix-blend":[{"mix-blend":[...F(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":F()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[A]}],"mask-image-linear-from-pos":[{"mask-linear-from":P()}],"mask-image-linear-to-pos":[{"mask-linear-to":P()}],"mask-image-linear-from-color":[{"mask-linear-from":w()}],"mask-image-linear-to-color":[{"mask-linear-to":w()}],"mask-image-t-from-pos":[{"mask-t-from":P()}],"mask-image-t-to-pos":[{"mask-t-to":P()}],"mask-image-t-from-color":[{"mask-t-from":w()}],"mask-image-t-to-color":[{"mask-t-to":w()}],"mask-image-r-from-pos":[{"mask-r-from":P()}],"mask-image-r-to-pos":[{"mask-r-to":P()}],"mask-image-r-from-color":[{"mask-r-from":w()}],"mask-image-r-to-color":[{"mask-r-to":w()}],"mask-image-b-from-pos":[{"mask-b-from":P()}],"mask-image-b-to-pos":[{"mask-b-to":P()}],"mask-image-b-from-color":[{"mask-b-from":w()}],"mask-image-b-to-color":[{"mask-b-to":w()}],"mask-image-l-from-pos":[{"mask-l-from":P()}],"mask-image-l-to-pos":[{"mask-l-to":P()}],"mask-image-l-from-color":[{"mask-l-from":w()}],"mask-image-l-to-color":[{"mask-l-to":w()}],"mask-image-x-from-pos":[{"mask-x-from":P()}],"mask-image-x-to-pos":[{"mask-x-to":P()}],"mask-image-x-from-color":[{"mask-x-from":w()}],"mask-image-x-to-color":[{"mask-x-to":w()}],"mask-image-y-from-pos":[{"mask-y-from":P()}],"mask-image-y-to-pos":[{"mask-y-to":P()}],"mask-image-y-from-color":[{"mask-y-from":w()}],"mask-image-y-to-color":[{"mask-y-to":w()}],"mask-image-radial":[{"mask-radial":[b,v]}],"mask-image-radial-from-pos":[{"mask-radial-from":P()}],"mask-image-radial-to-pos":[{"mask-radial-to":P()}],"mask-image-radial-from-color":[{"mask-radial-from":w()}],"mask-image-radial-to-color":[{"mask-radial-to":w()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":T()}],"mask-image-conic-pos":[{"mask-conic":[A]}],"mask-image-conic-from-pos":[{"mask-conic-from":P()}],"mask-image-conic-to-pos":[{"mask-conic-to":P()}],"mask-image-conic-from-color":[{"mask-conic-from":w()}],"mask-image-conic-to-color":[{"mask-conic-to":w()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:fe()}],"mask-repeat":[{mask:u()}],"mask-size":[{mask:h()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",b,v]}],filter:[{filter:["","none",b,v]}],blur:[{blur:R()}],brightness:[{brightness:[A,b,v]}],contrast:[{contrast:[A,b,v]}],"drop-shadow":[{"drop-shadow":["","none",d,Pe,Le]}],"drop-shadow-color":[{"drop-shadow":w()}],grayscale:[{grayscale:["",A,b,v]}],"hue-rotate":[{"hue-rotate":[A,b,v]}],invert:[{invert:["",A,b,v]}],saturate:[{saturate:[A,b,v]}],sepia:[{sepia:["",A,b,v]}],"backdrop-filter":[{"backdrop-filter":["","none",b,v]}],"backdrop-blur":[{"backdrop-blur":R()}],"backdrop-brightness":[{"backdrop-brightness":[A,b,v]}],"backdrop-contrast":[{"backdrop-contrast":[A,b,v]}],"backdrop-grayscale":[{"backdrop-grayscale":["",A,b,v]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[A,b,v]}],"backdrop-invert":[{"backdrop-invert":["",A,b,v]}],"backdrop-opacity":[{"backdrop-opacity":[A,b,v]}],"backdrop-saturate":[{"backdrop-saturate":[A,b,v]}],"backdrop-sepia":[{"backdrop-sepia":["",A,b,v]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":_()}],"border-spacing-x":[{"border-spacing-x":_()}],"border-spacing-y":[{"border-spacing-y":_()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",b,v]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[A,"initial",b,v]}],ease:[{ease:["linear","initial",N,b,v]}],delay:[{delay:[A,b,v]}],animate:[{animate:["none",V,b,v]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[y,b,v]}],"perspective-origin":[{"perspective-origin":z()}],rotate:[{rotate:$()}],"rotate-x":[{"rotate-x":$()}],"rotate-y":[{"rotate-y":$()}],"rotate-z":[{"rotate-z":$()}],scale:[{scale:J()}],"scale-x":[{"scale-x":J()}],"scale-y":[{"scale-y":J()}],"scale-z":[{"scale-z":J()}],"scale-3d":["scale-3d"],skew:[{skew:ie()}],"skew-x":[{"skew-x":ie()}],"skew-y":[{"skew-y":ie()}],transform:[{transform:[b,v,"","none","gpu","cpu"]}],"transform-origin":[{origin:z()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],accent:[{accent:w()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:w()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",b,v]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],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",b,v]}],fill:[{fill:["none",...w()]}],"stroke-w":[{stroke:[A,ke,me,ot]}],stroke:[{stroke:["none",...w()]}],"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-x","border-w-y","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-x","border-color-y","border-color-s","border-color-e","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},ao=$n(io);function de(...e){return ao(zt(e))}const er=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,tr=zt,lo=((e,r)=>t=>{var o;if(r?.variants==null)return tr(e,t?.class,t?.className);const{variants:s,defaultVariants:l}=r,f=Object.keys(s).map(i=>{const p=t?.[i],a=l?.[i];if(p===null)return null;const n=er(p)||er(a);return s[i][n]}),m=t&&Object.entries(t).reduce((i,p)=>{let[a,n]=p;return n===void 0||(i[a]=n),i},{}),c=r==null||(o=r.compoundVariants)===null||o===void 0?void 0:o.reduce((i,p)=>{let{class:a,className:n,...d}=p;return Object.entries(d).every(g=>{let[y,O]=g;return Array.isArray(O)?O.includes({...l,...m}[y]):{...l,...m}[y]===O})?[...i,a,n]:i},[]);return tr(e,f,c,t?.class,t?.className)})("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function co({className:e,variant:r,size:t,asChild:o=!1,...s}){const l=o?Nt:"button";return G.jsx(l,{"data-slot":"button",className:de(lo({variant:r,size:t,className:e})),...s})}function uo({className:e,...r}){return G.jsx("div",{"data-slot":"card",className:de("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...r})}function fo({className:e,...r}){return G.jsx("div",{"data-slot":"card-header",className:de("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...r})}function po({className:e,...r}){return G.jsx("div",{"data-slot":"card-title",className:de("leading-none font-semibold",e),...r})}function mo({className:e,...r}){return G.jsx("div",{"data-slot":"card-description",className:de("text-muted-foreground text-sm",e),...r})}function go({className:e,...r}){return G.jsx("div",{"data-slot":"card-content",className:de("px-6",e),...r})}var yo="Label",rr=S.forwardRef((e,r)=>G.jsx(je.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));rr.displayName=yo;var ho=rr,vo=e=>e.type==="checkbox",Te=e=>e instanceof Date,st=e=>e==null;const nr=e=>typeof e=="object";var ge=e=>!st(e)&&!Array.isArray(e)&&nr(e)&&!Te(e),bo=e=>ge(e)&&e.target?vo(e.target)?e.target.checked:e.target.value:e,_o=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Oo=(e,r)=>e.has(_o(r)),So=e=>{const r=e.constructor&&e.constructor.prototype;return ge(r)&&r.hasOwnProperty("isPrototypeOf")},wo=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function or(e){let r;const t=Array.isArray(e),o=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)r=new Date(e);else if(!(wo&&(e instanceof Blob||o))&&(t||ge(e)))if(r=t?[]:Object.create(Object.getPrototypeOf(e)),!t&&!So(e))r=e;else for(const s in e)e.hasOwnProperty(s)&&(r[s]=or(e[s]));else return e;return r}var sr=e=>/^\w*$/.test(e),it=e=>e===void 0,xo=e=>Array.isArray(e)?e.filter(Boolean):[],ir=e=>xo(e.replace(/["|']|\]/g,"").split(/\.|\[/)),Q=(e,r,t)=>{if(!r||!ge(e))return t;const o=(sr(r)?[r]:ir(r)).reduce((s,l)=>st(s)?s:s[l],e);return it(o)||o===e?it(e[r])?t:e[r]:o},at=e=>typeof e=="boolean",ar=(e,r,t)=>{let o=-1;const s=sr(r)?[r]:ir(r),l=s.length,f=l-1;for(;++o<l;){const m=s[o];let c=t;if(o!==f){const i=e[m];c=ge(i)||Array.isArray(i)?i:isNaN(+s[o+1])?{}:[]}if(m==="__proto__"||m==="constructor"||m==="prototype")return;e[m]=c,e=e[m]}};const lr={BLUR:"blur",CHANGE:"change"},cr={all:"all"},lt=E.createContext(null);lt.displayName="HookFormContext";const Me=()=>E.useContext(lt),Eo=e=>{const{children:r,...t}=e;return E.createElement(lt.Provider,{value:t},r)};var ko=(e,r,t,o=!0)=>{const s={defaultValues:r._defaultValues};for(const l in e)Object.defineProperty(s,l,{get:()=>{const f=l;return r._proxyFormState[f]!==cr.all&&(r._proxyFormState[f]=!o||cr.all),t&&(t[f]=!0),e[f]}});return s};const ur=typeof window<"u"?E.useLayoutEffect:E.useEffect;function dr(e){const r=Me(),{control:t=r.control,disabled:o,name:s,exact:l}=e||{},[f,m]=E.useState(t._formState),c=E.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return ur(()=>t._subscribe({name:s,formState:c.current,exact:l,callback:i=>{!o&&m({...t._formState,...i})}}),[s,o,l]),E.useEffect(()=>{c.current.isValid&&t._setValid(!0)},[t]),E.useMemo(()=>ko(f,t,c.current,!1),[f,t])}var To=e=>typeof e=="string",Ro=(e,r,t,o,s)=>To(e)?Q(t,e,s):Array.isArray(e)?e.map(l=>Q(t,l)):t,fr=e=>st(e)||!nr(e);function pr(e,r,t=new WeakSet){if(fr(e)||fr(r))return e===r;if(Te(e)&&Te(r))return e.getTime()===r.getTime();const o=Object.keys(e),s=Object.keys(r);if(o.length!==s.length)return!1;if(t.has(e)||t.has(r))return!0;t.add(e),t.add(r);for(const l of o){const f=e[l];if(!s.includes(l))return!1;if(l!=="ref"){const m=r[l];if(Te(f)&&Te(m)||ge(f)&&ge(m)||Array.isArray(f)&&Array.isArray(m)?!pr(f,m,t):f!==m)return!1}}return!0}function No(e){const r=Me(),{control:t=r.control,name:o,defaultValue:s,disabled:l,exact:f,compute:m}=e||{},c=E.useRef(s),i=E.useRef(m),p=E.useRef(void 0);i.current=m;const a=E.useMemo(()=>t._getWatch(o,c.current),[t,o]),[n,d]=E.useState(i.current?i.current(a):a);return ur(()=>t._subscribe({name:o,formState:{values:!0},exact:f,callback:g=>{if(!l){const y=Ro(o,t._names,g.values||t._formValues,!1,c.current);if(i.current){const O=i.current(y);pr(O,p.current)||(d(O),p.current=O)}else d(y)}}}),[t,l,o,f]),E.useEffect(()=>t._removeUnmounted()),n}function Do(e){const r=Me(),{name:t,disabled:o,control:s=r.control,shouldUnregister:l,defaultValue:f}=e,m=Oo(s._names.array,t),c=E.useMemo(()=>Q(s._formValues,t,Q(s._defaultValues,t,f)),[s,t,f]),i=No({control:s,name:t,defaultValue:c,exact:!0}),p=dr({control:s,name:t,exact:!0}),a=E.useRef(e),n=E.useRef(void 0),d=E.useRef(s.register(t,{...e.rules,value:i,...at(e.disabled)?{disabled:e.disabled}:{}}));a.current=e;const g=E.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!Q(p.errors,t)},isDirty:{enumerable:!0,get:()=>!!Q(p.dirtyFields,t)},isTouched:{enumerable:!0,get:()=>!!Q(p.touchedFields,t)},isValidating:{enumerable:!0,get:()=>!!Q(p.validatingFields,t)},error:{enumerable:!0,get:()=>Q(p.errors,t)}}),[p,t]),y=E.useCallback(C=>d.current.onChange({target:{value:bo(C),name:t},type:lr.CHANGE}),[t]),O=E.useCallback(()=>d.current.onBlur({target:{value:Q(s._formValues,t),name:t},type:lr.BLUR}),[t,s._formValues]),N=E.useCallback(C=>{const T=Q(s._fields,t);T&&C&&(T._f.ref={focus:()=>C.focus&&C.focus(),select:()=>C.select&&C.select(),setCustomValidity:z=>C.setCustomValidity(z),reportValidity:()=>C.reportValidity()})},[s._fields,t]),V=E.useMemo(()=>({name:t,value:i,...at(o)||p.disabled?{disabled:p.disabled||o}:{},onChange:y,onBlur:O,ref:N}),[t,o,p.disabled,y,O,N,i]);return E.useEffect(()=>{const C=s._options.shouldUnregister||l,T=n.current;T&&T!==t&&!m&&s.unregister(T),s.register(t,{...a.current.rules,...at(a.current.disabled)?{disabled:a.current.disabled}:{}});const z=(D,M)=>{const _=Q(s._fields,D);_&&_._f&&(_._f.mount=M)};if(z(t,!0),C){const D=or(Q(s._options.defaultValues,t));ar(s._defaultValues,t,D),it(Q(s._formValues,t))&&ar(s._formValues,t,D)}return!m&&s.register(t),n.current=t,()=>{(m?C&&!s._state.action:C)?s.unregister(t):z(t,!1)}},[t,s,m,l]),E.useEffect(()=>{s._setDisabledField({disabled:o,name:t})},[o,t,s]),E.useMemo(()=>({field:V,formState:p,fieldState:g}),[V,p,g])}const Ao=e=>e.render(Do(e));function mr({className:e,...r}){return G.jsx(ho,{"data-slot":"label",className:de("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}const Co=Eo,gr=S.createContext({}),yr=({...e})=>G.jsx(gr.Provider,{value:{name:e.name},children:G.jsx(Ao,{...e})}),jo=()=>{const e=S.useContext(gr),r=S.useContext(hr),{getFieldState:t}=Me(),o=dr({name:e.name}),s=t(e.name,o);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:l}=r;return{id:l,name:e.name,formItemId:`${l}-form-item`,formDescriptionId:`${l}-form-item-description`,formMessageId:`${l}-form-item-message`,...s}},hr=S.createContext({});function vr({className:e,...r}){const t=S.useId();return G.jsx(hr.Provider,{value:{id:t},children:G.jsx("div",{"data-slot":"form-item",className:de("grid gap-2",e),...r})})}function br({...e}){const{error:r,formItemId:t,formDescriptionId:o,formMessageId:s}=jo();return G.jsx(Nt,{"data-slot":"form-control",id:t,"aria-describedby":r?`${o} ${s}`:`${o}`,"aria-invalid":!!r,...e})}function _r({className:e,type:r,...t}){return G.jsx("input",{type:r,"data-slot":"input",className:de("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...t})}const Se=new WeakMap,Ve=new WeakMap,Ie={current:[]};let ct=!1;const ze=new Set,Or=new Map;function Sr(e){const r=Array.from(e).sort((t,o)=>t instanceof ye&&t.options.deps.includes(o)?1:o instanceof ye&&o.options.deps.includes(t)?-1:0);for(const t of r){if(Ie.current.includes(t))continue;Ie.current.push(t),t.recompute();const o=Ve.get(t);if(o)for(const s of o){const l=Se.get(s);l&&Sr(l)}}}function Lo(e){e.listeners.forEach(r=>r({prevVal:e.prevState,currentVal:e.state}))}function Po(e){e.listeners.forEach(r=>r({prevVal:e.prevState,currentVal:e.state}))}function Mo(e){if(ze.add(e),!ct)try{for(ct=!0;ze.size>0;){const r=Array.from(ze);ze.clear();for(const t of r){const o=Or.get(t)??t.prevState;t.prevState=o,Lo(t)}for(const t of r){const o=Se.get(t);o&&(Ie.current.push(t),Sr(o))}for(const t of r){const o=Se.get(t);if(o)for(const s of o)Po(s)}}}finally{ct=!1,Ie.current=[],Or.clear()}}function Vo(e){return typeof e=="function"}class ut{constructor(r,t){this.listeners=new Set,this.subscribe=o=>{var s,l;this.listeners.add(o);const f=(l=(s=this.options)==null?void 0:s.onSubscribe)==null?void 0:l.call(s,o,this);return()=>{this.listeners.delete(o),f?.()}},this.prevState=r,this.state=r,this.options=t}setState(r){var t,o,s;this.prevState=this.state,(t=this.options)!=null&&t.updateFn?this.state=this.options.updateFn(this.prevState)(r):Vo(r)?this.state=r(this.prevState):this.state=r,(s=(o=this.options)==null?void 0:o.onUpdate)==null||s.call(o),Mo(this)}}class ye{constructor(r){this.listeners=new Set,this._subscriptions=[],this.lastSeenDepValues=[],this.getDepVals=()=>{const t=[],o=[];for(const s of this.options.deps)t.push(s.prevState),o.push(s.state);return this.lastSeenDepValues=o,{prevDepVals:t,currDepVals:o,prevVal:this.prevState??void 0}},this.recompute=()=>{var t,o;this.prevState=this.state;const{prevDepVals:s,currDepVals:l,prevVal:f}=this.getDepVals();this.state=this.options.fn({prevDepVals:s,currDepVals:l,prevVal:f}),(o=(t=this.options).onUpdate)==null||o.call(t)},this.checkIfRecalculationNeededDeeply=()=>{for(const l of this.options.deps)l instanceof ye&&l.checkIfRecalculationNeededDeeply();let t=!1;const o=this.lastSeenDepValues,{currDepVals:s}=this.getDepVals();for(let l=0;l<s.length;l++)if(s[l]!==o[l]){t=!0;break}t&&this.recompute()},this.mount=()=>(this.registerOnGraph(),this.checkIfRecalculationNeededDeeply(),()=>{this.unregisterFromGraph();for(const t of this._subscriptions)t()}),this.subscribe=t=>{var o,s;this.listeners.add(t);const l=(s=(o=this.options).onSubscribe)==null?void 0:s.call(o,t,this);return()=>{this.listeners.delete(t),l?.()}},this.options=r,this.state=r.fn({prevDepVals:void 0,prevVal:void 0,currDepVals:this.getDepVals().currDepVals})}registerOnGraph(r=this.options.deps){for(const t of r)if(t instanceof ye)t.registerOnGraph(),this.registerOnGraph(t.options.deps);else if(t instanceof ut){let o=Se.get(t);o||(o=new Set,Se.set(t,o)),o.add(this);let s=Ve.get(this);s||(s=new Set,Ve.set(this,s)),s.add(t)}}unregisterFromGraph(r=this.options.deps){for(const t of r)if(t instanceof ye)this.unregisterFromGraph(t.options.deps);else if(t instanceof ut){const o=Se.get(t);o&&o.delete(this);const s=Ve.get(this);s&&s.delete(t)}}}function Io(e){return typeof e=="function"}function wr(e,r){return Io(e)?e(r):e}const zo=Object.prototype.hasOwnProperty;function xr(e,r){if(e===r)return e;const t=r,o=Tr(e)&&Tr(t);if(!o&&!(Ue(e)&&Ue(t)))return t;const s=o?e:Er(e);if(!s)return t;const l=o?t:Er(t);if(!l)return t;const f=s.length,m=l.length,c=o?new Array(m):{};let i=0;for(let p=0;p<m;p++){const a=o?p:l[p],n=e[a],d=t[a];if(n===d){c[a]=n,(o?p<f:zo.call(e,a))&&i++;continue}if(n===null||d===null||typeof n!="object"||typeof d!="object"){c[a]=d;continue}const g=xr(n,d);c[a]=g,g===n&&i++}return f===m&&i===f?e:c}function Er(e){const r=[],t=Object.getOwnPropertyNames(e);for(const s of t){if(!Object.prototype.propertyIsEnumerable.call(e,s))return!1;r.push(s)}const o=Object.getOwnPropertySymbols(e);for(const s of o){if(!Object.prototype.propertyIsEnumerable.call(e,s))return!1;r.push(s)}return r}function Ue(e){if(!kr(e))return!1;const r=e.constructor;if(typeof r>"u")return!0;const t=r.prototype;return!(!kr(t)||!t.hasOwnProperty("isPrototypeOf"))}function kr(e){return Object.prototype.toString.call(e)==="[object Object]"}function Tr(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function $e(e,r,t){if(e===r)return!0;if(typeof e!=typeof r)return!1;if(Array.isArray(e)&&Array.isArray(r)){if(e.length!==r.length)return!1;for(let o=0,s=e.length;o<s;o++)if(!$e(e[o],r[o],t))return!1;return!0}if(Ue(e)&&Ue(r)){const o=t?.ignoreUndefined??!0;if(t?.partial){for(const f in r)if((!o||r[f]!==void 0)&&!$e(e[f],r[f],t))return!1;return!0}let s=0;if(!o)s=Object.keys(e).length;else for(const f in e)e[f]!==void 0&&s++;let l=0;for(const f in r)if((!o||r[f]!==void 0)&&(l++,l>s||!$e(e[f],r[f],t)))return!1;return s===l}return!1}function Ge(e,r){return e?.endsWith("/")&&e!=="/"&&e!==`${r}/`?e.slice(0,-1):e}function Uo(e,r,t){return Ge(e,t)===Ge(r,t)}const $o="Error preloading route! ☝️";var Go=process.env.NODE_ENV==="production";function Fo(e,r){if(!Go){if(e)return;var t="Warning: "+r;typeof console<"u"&&console.warn(t);try{throw Error(t)}catch{}}}var Fe={exports:{}},dt={},He={exports:{}},ft={};/**
80
- * @license React
81
- * use-sync-external-store-shim.production.js
82
- *
83
- * Copyright (c) Meta Platforms, Inc. and affiliates.
84
- *
85
- * This source code is licensed under the MIT license found in the
86
- * LICENSE file in the root directory of this source tree.
87
- */var Rr;function Ho(){if(Rr)return ft;Rr=1;var e=E;function r(a,n){return a===n&&(a!==0||1/a===1/n)||a!==a&&n!==n}var t=typeof Object.is=="function"?Object.is:r,o=e.useState,s=e.useEffect,l=e.useLayoutEffect,f=e.useDebugValue;function m(a,n){var d=n(),g=o({inst:{value:d,getSnapshot:n}}),y=g[0].inst,O=g[1];return l(function(){y.value=d,y.getSnapshot=n,c(y)&&O({inst:y})},[a,d,n]),s(function(){return c(y)&&O({inst:y}),a(function(){c(y)&&O({inst:y})})},[a]),f(d),d}function c(a){var n=a.getSnapshot;a=a.value;try{var d=n();return!t(a,d)}catch{return!0}}function i(a,n){return n()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?i:m;return ft.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,ft}var pt={};/**
88
- * @license React
89
- * use-sync-external-store-shim.development.js
90
- *
91
- * Copyright (c) Meta Platforms, Inc. and affiliates.
92
- *
93
- * This source code is licensed under the MIT license found in the
94
- * LICENSE file in the root directory of this source tree.
95
- */var Nr;function Wo(){return Nr||(Nr=1,process.env.NODE_ENV!=="production"&&(function(){function e(d,g){return d===g&&(d!==0||1/d===1/g)||d!==d&&g!==g}function r(d,g){p||s.startTransition===void 0||(p=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var y=g();if(!a){var O=g();l(y,O)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),a=!0)}O=f({inst:{value:y,getSnapshot:g}});var N=O[0].inst,V=O[1];return c(function(){N.value=y,N.getSnapshot=g,t(N)&&V({inst:N})},[d,y,g]),m(function(){return t(N)&&V({inst:N}),d(function(){t(N)&&V({inst:N})})},[d]),i(y),y}function t(d){var g=d.getSnapshot;d=d.value;try{var y=g();return!l(d,y)}catch{return!0}}function o(d,g){return g()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var s=E,l=typeof Object.is=="function"?Object.is:e,f=s.useState,m=s.useEffect,c=s.useLayoutEffect,i=s.useDebugValue,p=!1,a=!1,n=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?o:r;pt.useSyncExternalStore=s.useSyncExternalStore!==void 0?s.useSyncExternalStore:n,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),pt}var Dr;function Ar(){return Dr||(Dr=1,process.env.NODE_ENV==="production"?He.exports=Ho():He.exports=Wo()),He.exports}/**
96
- * @license React
97
- * use-sync-external-store-shim/with-selector.production.js
98
- *
99
- * Copyright (c) Meta Platforms, Inc. and affiliates.
100
- *
101
- * This source code is licensed under the MIT license found in the
102
- * LICENSE file in the root directory of this source tree.
103
- */var Cr;function Ko(){if(Cr)return dt;Cr=1;var e=E,r=Ar();function t(i,p){return i===p&&(i!==0||1/i===1/p)||i!==i&&p!==p}var o=typeof Object.is=="function"?Object.is:t,s=r.useSyncExternalStore,l=e.useRef,f=e.useEffect,m=e.useMemo,c=e.useDebugValue;return dt.useSyncExternalStoreWithSelector=function(i,p,a,n,d){var g=l(null);if(g.current===null){var y={hasValue:!1,value:null};g.current=y}else y=g.current;g=m(function(){function N(D){if(!V){if(V=!0,C=D,D=n(D),d!==void 0&&y.hasValue){var M=y.value;if(d(M,D))return T=M}return T=D}if(M=T,o(C,D))return M;var _=n(D);return d!==void 0&&d(M,_)?(C=D,M):(C=D,T=_)}var V=!1,C,T,z=a===void 0?null:a;return[function(){return N(p())},z===null?void 0:function(){return N(z())}]},[p,a,n,d]);var O=s(i,g[0],g[1]);return f(function(){y.hasValue=!0,y.value=O},[O]),c(O),O},dt}var mt={};/**
104
- * @license React
105
- * use-sync-external-store-shim/with-selector.development.js
106
- *
107
- * Copyright (c) Meta Platforms, Inc. and affiliates.
108
- *
109
- * This source code is licensed under the MIT license found in the
110
- * LICENSE file in the root directory of this source tree.
111
- */var jr;function Bo(){return jr||(jr=1,process.env.NODE_ENV!=="production"&&(function(){function e(i,p){return i===p&&(i!==0||1/i===1/p)||i!==i&&p!==p}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var r=E,t=Ar(),o=typeof Object.is=="function"?Object.is:e,s=t.useSyncExternalStore,l=r.useRef,f=r.useEffect,m=r.useMemo,c=r.useDebugValue;mt.useSyncExternalStoreWithSelector=function(i,p,a,n,d){var g=l(null);if(g.current===null){var y={hasValue:!1,value:null};g.current=y}else y=g.current;g=m(function(){function N(D){if(!V){if(V=!0,C=D,D=n(D),d!==void 0&&y.hasValue){var M=y.value;if(d(M,D))return T=M}return T=D}if(M=T,o(C,D))return M;var _=n(D);return d!==void 0&&d(M,_)?(C=D,M):(C=D,T=_)}var V=!1,C,T,z=a===void 0?null:a;return[function(){return N(p())},z===null?void 0:function(){return N(z())}]},[p,a,n,d]);var O=s(i,g[0],g[1]);return f(function(){y.hasValue=!0,y.value=O},[O]),c(O),O},typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),mt}var Lr;function Yo(){return Lr||(Lr=1,process.env.NODE_ENV==="production"?Fe.exports=Ko():Fe.exports=Bo()),Fe.exports}var qo=Yo();function Xo(e,r=t=>t){return qo.useSyncExternalStoreWithSelector(e.subscribe,()=>e.state,()=>e.state,r,Jo)}function Jo(e,r){if(Object.is(e,r))return!0;if(typeof e!="object"||e===null||typeof r!="object"||r===null)return!1;if(e instanceof Map&&r instanceof Map){if(e.size!==r.size)return!1;for(const[o,s]of e)if(!r.has(o)||!Object.is(s,r.get(o)))return!1;return!0}if(e instanceof Set&&r instanceof Set){if(e.size!==r.size)return!1;for(const o of e)if(!r.has(o))return!1;return!0}if(e instanceof Date&&r instanceof Date)return e.getTime()===r.getTime();const t=Pr(e);if(t.length!==Pr(r).length)return!1;for(let o=0;o<t.length;o++)if(!Object.prototype.hasOwnProperty.call(r,t[o])||!Object.is(e[t[o]],r[t[o]]))return!1;return!0}function Pr(e){return Object.keys(e).concat(Object.getOwnPropertySymbols(e))}const gt=S.createContext(null);function Zo(){return typeof document>"u"?gt:window.__TSR_ROUTER_CONTEXT__?window.__TSR_ROUTER_CONTEXT__:(window.__TSR_ROUTER_CONTEXT__=gt,gt)}function Mr(e){const r=S.useContext(Zo());return Fo(!((e?.warn??!0)&&!r),"useRouter must be used inside a <RouterProvider> component!"),r}function Vr(e){const r=Mr({warn:e?.router===void 0}),t=e?.router||r,o=E.useRef(void 0);return Xo(t.__store,s=>{if(e?.select){if(e.structuralSharing??t.options.defaultStructuralSharing){const l=xr(o.current,e.select(s));return o.current=l,l}return e.select(s)}return s})}var We={exports:{}},Y={};/**
112
- * @license React
113
- * react-dom.production.js
114
- *
115
- * Copyright (c) Meta Platforms, Inc. and affiliates.
116
- *
117
- * This source code is licensed under the MIT license found in the
118
- * LICENSE file in the root directory of this source tree.
119
- */var Ir;function Qo(){if(Ir)return Y;Ir=1;var e=E;function r(c){var i="https://react.dev/errors/"+c;if(1<arguments.length){i+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)i+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+c+"; visit "+i+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function t(){}var o={d:{f:t,r:function(){throw Error(r(522))},D:t,C:t,L:t,m:t,X:t,S:t,M:t},p:0,findDOMNode:null},s=Symbol.for("react.portal");function l(c,i,p){var a=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:s,key:a==null?null:""+a,children:c,containerInfo:i,implementation:p}}var f=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function m(c,i){if(c==="font")return"";if(typeof i=="string")return i==="use-credentials"?i:""}return Y.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=o,Y.createPortal=function(c,i){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!i||i.nodeType!==1&&i.nodeType!==9&&i.nodeType!==11)throw Error(r(299));return l(c,i,null,p)},Y.flushSync=function(c){var i=f.T,p=o.p;try{if(f.T=null,o.p=2,c)return c()}finally{f.T=i,o.p=p,o.d.f()}},Y.preconnect=function(c,i){typeof c=="string"&&(i?(i=i.crossOrigin,i=typeof i=="string"?i==="use-credentials"?i:"":void 0):i=null,o.d.C(c,i))},Y.prefetchDNS=function(c){typeof c=="string"&&o.d.D(c)},Y.preinit=function(c,i){if(typeof c=="string"&&i&&typeof i.as=="string"){var p=i.as,a=m(p,i.crossOrigin),n=typeof i.integrity=="string"?i.integrity:void 0,d=typeof i.fetchPriority=="string"?i.fetchPriority:void 0;p==="style"?o.d.S(c,typeof i.precedence=="string"?i.precedence:void 0,{crossOrigin:a,integrity:n,fetchPriority:d}):p==="script"&&o.d.X(c,{crossOrigin:a,integrity:n,fetchPriority:d,nonce:typeof i.nonce=="string"?i.nonce:void 0})}},Y.preinitModule=function(c,i){if(typeof c=="string")if(typeof i=="object"&&i!==null){if(i.as==null||i.as==="script"){var p=m(i.as,i.crossOrigin);o.d.M(c,{crossOrigin:p,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0})}}else i==null&&o.d.M(c)},Y.preload=function(c,i){if(typeof c=="string"&&typeof i=="object"&&i!==null&&typeof i.as=="string"){var p=i.as,a=m(p,i.crossOrigin);o.d.L(c,p,{crossOrigin:a,integrity:typeof i.integrity=="string"?i.integrity:void 0,nonce:typeof i.nonce=="string"?i.nonce:void 0,type:typeof i.type=="string"?i.type:void 0,fetchPriority:typeof i.fetchPriority=="string"?i.fetchPriority:void 0,referrerPolicy:typeof i.referrerPolicy=="string"?i.referrerPolicy:void 0,imageSrcSet:typeof i.imageSrcSet=="string"?i.imageSrcSet:void 0,imageSizes:typeof i.imageSizes=="string"?i.imageSizes:void 0,media:typeof i.media=="string"?i.media:void 0})}},Y.preloadModule=function(c,i){if(typeof c=="string")if(i){var p=m(i.as,i.crossOrigin);o.d.m(c,{as:typeof i.as=="string"&&i.as!=="script"?i.as:void 0,crossOrigin:p,integrity:typeof i.integrity=="string"?i.integrity:void 0})}else o.d.m(c)},Y.requestFormReset=function(c){o.d.r(c)},Y.unstable_batchedUpdates=function(c,i){return c(i)},Y.useFormState=function(c,i,p){return f.H.useFormState(c,i,p)},Y.useFormStatus=function(){return f.H.useHostTransitionStatus()},Y.version="19.1.1",Y}var q={};/**
120
- * @license React
121
- * react-dom.development.js
122
- *
123
- * Copyright (c) Meta Platforms, Inc. and affiliates.
124
- *
125
- * This source code is licensed under the MIT license found in the
126
- * LICENSE file in the root directory of this source tree.
127
- */var zr;function es(){return zr||(zr=1,process.env.NODE_ENV!=="production"&&(function(){function e(){}function r(a){return""+a}function t(a,n,d){var g=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{r(g);var y=!1}catch{y=!0}return y&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&g[Symbol.toStringTag]||g.constructor.name||"Object"),r(g)),{$$typeof:i,key:g==null?null:""+g,children:a,containerInfo:n,implementation:d}}function o(a,n){if(a==="font")return"";if(typeof n=="string")return n==="use-credentials"?n:""}function s(a){return a===null?"`null`":a===void 0?"`undefined`":a===""?"an empty string":'something with type "'+typeof a+'"'}function l(a){return a===null?"`null`":a===void 0?"`undefined`":a===""?"an empty string":typeof a=="string"?JSON.stringify(a):typeof a=="number"?"`"+a+"`":'something with type "'+typeof a+'"'}function f(){var a=p.H;return a===null&&console.error(`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
128
- 1. You might have mismatching versions of React and the renderer (such as React DOM)
129
- 2. You might be breaking the Rules of Hooks
130
- 3. You might have more than one copy of React in the same app
131
- See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),a}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var m=E,c={d:{f:e,r:function(){throw Error("Invalid form element. requestFormReset must be passed a form that was rendered by React.")},D:e,C:e,L:e,m:e,X:e,S:e,M:e},p:0,findDOMNode:null},i=Symbol.for("react.portal"),p=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;typeof Map=="function"&&Map.prototype!=null&&typeof Map.prototype.forEach=="function"&&typeof Set=="function"&&Set.prototype!=null&&typeof Set.prototype.clear=="function"&&typeof Set.prototype.forEach=="function"||console.error("React depends on Map and Set built-in types. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),q.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,q.createPortal=function(a,n){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!n||n.nodeType!==1&&n.nodeType!==9&&n.nodeType!==11)throw Error("Target container is not a DOM element.");return t(a,n,null,d)},q.flushSync=function(a){var n=p.T,d=c.p;try{if(p.T=null,c.p=2,a)return a()}finally{p.T=n,c.p=d,c.d.f()&&console.error("flushSync was called from inside a lifecycle method. React cannot flush when React is already rendering. Consider moving this call to a scheduler task or micro task.")}},q.preconnect=function(a,n){typeof a=="string"&&a?n!=null&&typeof n!="object"?console.error("ReactDOM.preconnect(): Expected the `options` argument (second) to be an object but encountered %s instead. The only supported option at this time is `crossOrigin` which accepts a string.",l(n)):n!=null&&typeof n.crossOrigin!="string"&&console.error("ReactDOM.preconnect(): Expected the `crossOrigin` option (second argument) to be a string but encountered %s instead. Try removing this option or passing a string value instead.",s(n.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",s(a)),typeof a=="string"&&(n?(n=n.crossOrigin,n=typeof n=="string"?n==="use-credentials"?n:"":void 0):n=null,c.d.C(a,n))},q.prefetchDNS=function(a){if(typeof a!="string"||!a)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",s(a));else if(1<arguments.length){var n=arguments[1];typeof n=="object"&&n.hasOwnProperty("crossOrigin")?console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. It looks like the you are attempting to set a crossOrigin property for this DNS lookup hint. Browsers do not perform DNS queries using CORS and setting this attribute on the resource hint has no effect. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",l(n)):console.error("ReactDOM.prefetchDNS(): Expected only one argument, `href`, but encountered %s as a second argument instead. This argument is reserved for future options and is currently disallowed. Try calling ReactDOM.prefetchDNS() with just a single string argument, `href`.",l(n))}typeof a=="string"&&c.d.D(a)},q.preinit=function(a,n){if(typeof a=="string"&&a?n==null||typeof n!="object"?console.error("ReactDOM.preinit(): Expected the `options` argument (second) to be an object with an `as` property describing the type of resource to be preinitialized but encountered %s instead.",l(n)):n.as!=="style"&&n.as!=="script"&&console.error('ReactDOM.preinit(): Expected the `as` property in the `options` argument (second) to contain a valid value describing the type of resource to be preinitialized but encountered %s instead. Valid values for `as` are "style" and "script".',l(n.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",s(a)),typeof a=="string"&&n&&typeof n.as=="string"){var d=n.as,g=o(d,n.crossOrigin),y=typeof n.integrity=="string"?n.integrity:void 0,O=typeof n.fetchPriority=="string"?n.fetchPriority:void 0;d==="style"?c.d.S(a,typeof n.precedence=="string"?n.precedence:void 0,{crossOrigin:g,integrity:y,fetchPriority:O}):d==="script"&&c.d.X(a,{crossOrigin:g,integrity:y,fetchPriority:O,nonce:typeof n.nonce=="string"?n.nonce:void 0})}},q.preinitModule=function(a,n){var d="";if(typeof a=="string"&&a||(d+=" The `href` argument encountered was "+s(a)+"."),n!==void 0&&typeof n!="object"?d+=" The `options` argument encountered was "+s(n)+".":n&&"as"in n&&n.as!=="script"&&(d+=" The `as` option encountered was "+l(n.as)+"."),d)console.error("ReactDOM.preinitModule(): Expected up to two arguments, a non-empty `href` string and, optionally, an `options` object with a valid `as` property.%s",d);else switch(d=n&&typeof n.as=="string"?n.as:"script",d){case"script":break;default:d=l(d),console.error('ReactDOM.preinitModule(): Currently the only supported "as" type for this function is "script" but received "%s" instead. This warning was generated for `href` "%s". In the future other module types will be supported, aligning with the import-attributes proposal. Learn more here: (https://github.com/tc39/proposal-import-attributes)',d,a)}typeof a=="string"&&(typeof n=="object"&&n!==null?(n.as==null||n.as==="script")&&(d=o(n.as,n.crossOrigin),c.d.M(a,{crossOrigin:d,integrity:typeof n.integrity=="string"?n.integrity:void 0,nonce:typeof n.nonce=="string"?n.nonce:void 0})):n==null&&c.d.M(a))},q.preload=function(a,n){var d="";if(typeof a=="string"&&a||(d+=" The `href` argument encountered was "+s(a)+"."),n==null||typeof n!="object"?d+=" The `options` argument encountered was "+s(n)+".":typeof n.as=="string"&&n.as||(d+=" The `as` option encountered was "+s(n.as)+"."),d&&console.error('ReactDOM.preload(): Expected two arguments, a non-empty `href` string and an `options` object with an `as` property valid for a `<link rel="preload" as="..." />` tag.%s',d),typeof a=="string"&&typeof n=="object"&&n!==null&&typeof n.as=="string"){d=n.as;var g=o(d,n.crossOrigin);c.d.L(a,d,{crossOrigin:g,integrity:typeof n.integrity=="string"?n.integrity:void 0,nonce:typeof n.nonce=="string"?n.nonce:void 0,type:typeof n.type=="string"?n.type:void 0,fetchPriority:typeof n.fetchPriority=="string"?n.fetchPriority:void 0,referrerPolicy:typeof n.referrerPolicy=="string"?n.referrerPolicy:void 0,imageSrcSet:typeof n.imageSrcSet=="string"?n.imageSrcSet:void 0,imageSizes:typeof n.imageSizes=="string"?n.imageSizes:void 0,media:typeof n.media=="string"?n.media:void 0})}},q.preloadModule=function(a,n){var d="";typeof a=="string"&&a||(d+=" The `href` argument encountered was "+s(a)+"."),n!==void 0&&typeof n!="object"?d+=" The `options` argument encountered was "+s(n)+".":n&&"as"in n&&typeof n.as!="string"&&(d+=" The `as` option encountered was "+s(n.as)+"."),d&&console.error('ReactDOM.preloadModule(): Expected two arguments, a non-empty `href` string and, optionally, an `options` object with an `as` property valid for a `<link rel="modulepreload" as="..." />` tag.%s',d),typeof a=="string"&&(n?(d=o(n.as,n.crossOrigin),c.d.m(a,{as:typeof n.as=="string"&&n.as!=="script"?n.as:void 0,crossOrigin:d,integrity:typeof n.integrity=="string"?n.integrity:void 0})):c.d.m(a))},q.requestFormReset=function(a){c.d.r(a)},q.unstable_batchedUpdates=function(a,n){return a(n)},q.useFormState=function(a,n,d){return f().useFormState(a,n,d)},q.useFormStatus=function(){return f().useHostTransitionStatus()},q.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),q}var Ur;function ts(){if(Ur)return We.exports;Ur=1;function e(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function")){if(process.env.NODE_ENV!=="production")throw new Error("^_^");try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(r){console.error(r)}}}return process.env.NODE_ENV==="production"?(e(),We.exports=Qo()):We.exports=es(),We.exports}var rs=ts();function ns(e,r,t={},o={}){S.useEffect(()=>{if(!e.current||o.disabled||typeof IntersectionObserver!="function")return;const s=new IntersectionObserver(([l])=>{r(l)},t);return s.observe(e.current),()=>{s.disconnect()}},[r,t,o.disabled,e])}function os(e){const r=S.useRef(null);return S.useImperativeHandle(e,()=>r.current,[]),r}function ss(e,r){const t=Mr(),[o,s]=S.useState(!1),l=S.useRef(!1),f=os(r),{activeProps:m,inactiveProps:c,activeOptions:i,to:p,preload:a,preloadDelay:n,hashScrollIntoView:d,replace:g,startTransition:y,resetScroll:O,viewTransition:N,children:V,target:C,disabled:T,style:z,className:D,onClick:M,onFocus:_,onMouseEnter:W,onMouseLeave:le,onTouchStart:ee,ignoreBlocker:ne,params:ve,search:oe,hash:re,state:X,mask:te,reloadDocument:w,unsafeRelative:fe,from:u,_fromLocation:h,...x}=e,k=Vr({select:U=>U.location.search,structuralSharing:!0}),j=e.from,L=S.useMemo(()=>({...e,from:j}),[t,k,j,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),F=S.useMemo(()=>t.buildLocation({...L}),[t,L]),P=S.useMemo(()=>{if(T)return;let U=F.maskedLocation?F.maskedLocation.url:F.url,K=!1;return t.origin&&(U.startsWith(t.origin)?U=U.replace(t.origin,"")||"/":K=!0),{href:U,external:K}},[T,F.maskedLocation,F.url,t.origin]),R=S.useMemo(()=>{if(P?.external)return P.href;try{return new URL(p),p}catch{}},[p,P]),$=e.reloadDocument||R?!1:a??t.options.defaultPreload,J=n??t.options.defaultPreloadDelay??0,ie=Vr({select:U=>{if(R)return!1;if(i?.exact){if(!Uo(U.location.pathname,F.pathname,t.basepath))return!1}else{const K=Ge(U.location.pathname,t.basepath),ae=Ge(F.pathname,t.basepath);if(!(K.startsWith(ae)&&(K.length===ae.length||K[ae.length]==="/")))return!1}return(i?.includeSearch??!0)&&!$e(U.location.search,F.search,{partial:!i?.exact,ignoreUndefined:!i?.explicitUndefined})?!1:i?.includeHash?U.location.hash===F.hash:!0}}),se=S.useCallback(()=>{t.preloadRoute({...L}).catch(U=>{console.warn(U),console.warn($o)})},[t,L]),ws=S.useCallback(U=>{U?.isIntersecting&&se()},[se]);ns(f,ws,us,{disabled:!!T||$!=="viewport"}),S.useEffect(()=>{l.current||!T&&$==="render"&&(se(),l.current=!0)},[T,se,$]);const xs=U=>{const K=U.currentTarget.target,ae=C!==void 0?C:K;if(!T&&!fs(U)&&!U.defaultPrevented&&(!ae||ae==="_self")&&U.button===0){U.preventDefault(),rs.flushSync(()=>{s(!0)});const Yr=t.subscribe("onResolved",()=>{Yr(),s(!1)});t.navigate({...L,replace:g,resetScroll:O,hashScrollIntoView:d,startTransition:y,viewTransition:N,ignoreBlocker:ne})}};if(R)return{...x,ref:f,href:R,...V&&{children:V},...C&&{target:C},...T&&{disabled:T},...z&&{style:z},...D&&{className:D},...M&&{onClick:M},..._&&{onFocus:_},...W&&{onMouseEnter:W},...le&&{onMouseLeave:le},...ee&&{onTouchStart:ee}};const Wr=U=>{T||$&&se()},Es=Wr,ks=U=>{if(!(T||!$))if(!J)se();else{const K=U.target;if(Re.has(K))return;const ae=setTimeout(()=>{Re.delete(K),se()},J);Re.set(K,ae)}},Ts=U=>{if(T||!$||!J)return;const K=U.target,ae=Re.get(K);ae&&(clearTimeout(ae),Re.delete(K))},Ke=ie?wr(m,{})??is:yt,Be=ie?yt:wr(c,{})??yt,Kr=[D,Ke.className,Be.className].filter(Boolean).join(" "),Br=(z||Ke.style||Be.style)&&{...z,...Ke.style,...Be.style};return{...x,...Ke,...Be,href:P?.href,ref:f,onClick:Ne([M,xs]),onFocus:Ne([_,Wr]),onMouseEnter:Ne([W,ks]),onMouseLeave:Ne([le,Ts]),onTouchStart:Ne([ee,Es]),disabled:!!T,target:C,...Br&&{style:Br},...Kr&&{className:Kr},...T&&as,...ie&&ls,...o&&cs}}const yt={},is={className:"active"},as={role:"link","aria-disabled":!0},ls={"data-status":"active","aria-current":"page"},cs={"data-transitioning":"transitioning"},Re=new WeakMap,us={rootMargin:"100px"},Ne=e=>r=>{for(const t of e)if(t){if(r.defaultPrevented)return;t(r)}},ds=S.forwardRef((e,r)=>{const{_asChild:t,...o}=e,{type:s,ref:l,...f}=ss(o,r),m=typeof o.children=="function"?o.children({isActive:f["data-status"]==="active"}):o.children;return t===void 0&&delete f.disabled,S.createElement(t||"a",{...f,ref:l},m)});function fs(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}/**
79
+ */var dt;function Er(){return dt||(dt=1,process.env.NODE_ENV!=="production"&&(function(){function e(p,b){return p===b&&(p!==0||1/p===1/b)||p!==p&&b!==b}function r(p,b){m||n.startTransition===void 0||(m=!0,console.error("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));var v=b();if(!c){var N=b();s(v,N)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}N=d({inst:{value:v,getSnapshot:b}});var D=N[0].inst,G=N[1];return u(function(){D.value=v,D.getSnapshot=b,t(D)&&G({inst:D})},[p,v,b]),f(function(){return t(D)&&G({inst:D}),p(function(){t(D)&&G({inst:D})})},[p]),l(v),v}function t(p){var b=p.getSnapshot;p=p.value;try{var v=b();return!s(p,v)}catch{return!0}}function o(p,b){return b()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var n=O,s=typeof Object.is=="function"?Object.is:e,d=n.useState,f=n.useEffect,u=n.useLayoutEffect,l=n.useDebugValue,m=!1,c=!1,i=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?o:r;ut.useSyncExternalStore=n.useSyncExternalStore!==void 0?n.useSyncExternalStore:i,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),ut}var ft;function Rr(){return ft||(ft=1,process.env.NODE_ENV==="production"?Le.exports=Sr():Le.exports=Er()),Le.exports}var Nr=Rr();function jr(){return Nr.useSyncExternalStore(Tr,()=>!0,()=>!1)}function Tr(){return()=>{}}var Ve="Avatar",[Ar,nn]=fr(Ve),[Cr,pt]=Ar(Ve),Dr=S.forwardRef((e,r)=>{const{__scopeAvatar:t,...o}=e,[n,s]=S.useState("idle");return L.jsx(Cr,{scope:t,imageLoadingStatus:n,onImageLoadingStatusChange:s,children:L.jsx(Se.span,{...o,ref:r})})});Dr.displayName=Ve;var mt="AvatarImage",Pr=S.forwardRef((e,r)=>{const{__scopeAvatar:t,src:o,onLoadingStatusChange:n=()=>{},...s}=e,d=pt(mt,t),f=Mr(o,s),u=mr(l=>{n(l),d.onImageLoadingStatusChange(l)});return Pe(()=>{f!=="idle"&&u(f)},[f,u]),f==="loaded"?L.jsx(Se.img,{...s,ref:r,src:o}):null});Pr.displayName=mt;var gt="AvatarFallback",Lr=S.forwardRef((e,r)=>{const{__scopeAvatar:t,delayMs:o,...n}=e,s=pt(gt,t),[d,f]=S.useState(o===void 0);return S.useEffect(()=>{if(o!==void 0){const u=window.setTimeout(()=>f(!0),o);return()=>window.clearTimeout(u)}},[o]),d&&s.imageLoadingStatus!=="loaded"?L.jsx(Se.span,{...n,ref:r}):null});Lr.displayName=gt;function ht(e,r){return e?r?(e.src!==r&&(e.src=r),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function Mr(e,{referrerPolicy:r,crossOrigin:t}){const o=jr(),n=S.useRef(null),s=o?(n.current||(n.current=new window.Image),n.current):null,[d,f]=S.useState(()=>ht(s,e));return Pe(()=>{f(ht(s,e))},[s,e]),Pe(()=>{const u=c=>()=>{f(c)};if(!s)return;const l=u("loaded"),m=u("error");return s.addEventListener("load",l),s.addEventListener("error",m),r&&(s.referrerPolicy=r),typeof t=="string"&&(s.crossOrigin=t),()=>{s.removeEventListener("load",l),s.removeEventListener("error",m)}},[s,t,r]),d}function yt(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(t=yt(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function bt(){for(var e,r,t=0,o="",n=arguments.length;t<n;t++)(e=arguments[t])&&(r=yt(e))&&(o&&(o+=" "),o+=r);return o}const ze="-",Vr=e=>{const r=Ir(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:n=>{const s=n.split(ze);return s[0]===""&&s.length!==1&&s.shift(),vt(s,r)||zr(n)},getConflictingClassGroupIds:(n,s)=>{const d=t[n]||[];return s&&o[n]?[...d,...o[n]]:d}}},vt=(e,r)=>{if(e.length===0)return r.classGroupId;const t=e[0],o=r.nextPart.get(t),n=o?vt(e.slice(1),o):void 0;if(n)return n;if(r.validators.length===0)return;const s=e.join(ze);return r.validators.find(({validator:d})=>d(s))?.classGroupId},xt=/^\[(.+)\]$/,zr=e=>{if(xt.test(e)){const r=xt.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},Ir=e=>{const{theme:r,classGroups:t}=e,o={nextPart:new Map,validators:[]};for(const n in t)Ie(t[n],o,n,r);return o},Ie=(e,r,t,o)=>{e.forEach(n=>{if(typeof n=="string"){const s=n===""?r:_t(r,n);s.classGroupId=t;return}if(typeof n=="function"){if($r(n)){Ie(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(([s,d])=>{Ie(d,_t(r,s),t,o)})})},_t=(e,r)=>{let t=e;return r.split(ze).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t},$r=e=>e.isThemeGetter,Fr=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;const n=(s,d)=>{t.set(s,d),r++,r>e&&(r=0,o=t,t=new Map)};return{get(s){let d=t.get(s);if(d!==void 0)return d;if((d=o.get(s))!==void 0)return n(s,d),d},set(s,d){t.has(s)?t.set(s,d):n(s,d)}}},$e="!",Fe=":",Gr=Fe.length,Ur=e=>{const{prefix:r,experimentalParseClassName:t}=e;let o=n=>{const s=[];let d=0,f=0,u=0,l;for(let b=0;b<n.length;b++){let v=n[b];if(d===0&&f===0){if(v===Fe){s.push(n.slice(u,b)),u=b+Gr;continue}if(v==="/"){l=b;continue}}v==="["?d++:v==="]"?d--:v==="("?f++:v===")"&&f--}const m=s.length===0?n:n.substring(u),c=Hr(m),i=c!==m,p=l&&l>u?l-u:void 0;return{modifiers:s,hasImportantModifier:i,baseClassName:c,maybePostfixModifierPosition:p}};if(r){const n=r+Fe,s=o;o=d=>d.startsWith(n)?s(d.substring(n.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:d,maybePostfixModifierPosition:void 0}}if(t){const n=o;o=s=>t({className:s,parseClassName:n})}return o},Hr=e=>e.endsWith($e)?e.substring(0,e.length-1):e.startsWith($e)?e.substring(1):e,Br=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(t=>[t,!0]));return t=>{if(t.length<=1)return t;const o=[];let n=[];return t.forEach(s=>{s[0]==="["||r[s]?(o.push(...n.sort(),s),n=[]):n.push(s)}),o.push(...n.sort()),o}},Yr=e=>({cache:Fr(e.cacheSize),parseClassName:Ur(e),sortModifiers:Br(e),...Vr(e)}),Wr=/\s+/,Kr=(e,r)=>{const{parseClassName:t,getClassGroupId:o,getConflictingClassGroupIds:n,sortModifiers:s}=r,d=[],f=e.trim().split(Wr);let u="";for(let l=f.length-1;l>=0;l-=1){const m=f[l],{isExternal:c,modifiers:i,hasImportantModifier:p,baseClassName:b,maybePostfixModifierPosition:v}=t(m);if(c){u=m+(u.length>0?" "+u:u);continue}let N=!!v,D=o(N?b.substring(0,v):b);if(!D){if(!N){u=m+(u.length>0?" "+u:u);continue}if(D=o(b),!D){u=m+(u.length>0?" "+u:u);continue}N=!1}const G=s(i).join(":"),P=p?G+$e:G,z=P+D;if(d.includes(z))continue;d.push(z);const U=n(D,N);for(let $=0;$<U.length;++$){const X=U[$];d.push(P+X)}u=m+(u.length>0?" "+u:u)}return u};function qr(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=wt(r))&&(o&&(o+=" "),o+=t);return o}const wt=e=>{if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=wt(e[o]))&&(t&&(t+=" "),t+=r);return t};function Xr(e,...r){let t,o,n,s=d;function d(u){const l=r.reduce((m,c)=>c(m),e());return t=Yr(l),o=t.cache.get,n=t.cache.set,s=f,f(u)}function f(u){const l=o(u);if(l)return l;const m=Kr(u,t);return n(u,m),m}return function(){return s(qr.apply(null,arguments))}}const M=e=>{const r=t=>t[e]||[];return r.isThemeGetter=!0,r},kt=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Ot=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Jr=/^\d+\/\d+$/,Zr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Qr=/\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$/,eo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,to=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ro=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,de=e=>Jr.test(e),E=e=>!!e&&!Number.isNaN(Number(e)),ne=e=>!!e&&Number.isInteger(Number(e)),Ge=e=>e.endsWith("%")&&E(e.slice(0,-1)),re=e=>Zr.test(e),oo=()=>!0,no=e=>Qr.test(e)&&!eo.test(e),St=()=>!1,so=e=>to.test(e),ao=e=>ro.test(e),io=e=>!h(e)&&!y(e),lo=e=>fe(e,Tt,St),h=e=>kt.test(e),ae=e=>fe(e,At,no),Ue=e=>fe(e,mo,E),Et=e=>fe(e,Nt,St),co=e=>fe(e,jt,ao),Ee=e=>fe(e,Ct,so),y=e=>Ot.test(e),xe=e=>pe(e,At),uo=e=>pe(e,go),Rt=e=>pe(e,Nt),fo=e=>pe(e,Tt),po=e=>pe(e,jt),Re=e=>pe(e,Ct,!0),fe=(e,r,t)=>{const o=kt.exec(e);return o?o[1]?r(o[1]):t(o[2]):!1},pe=(e,r,t=!1)=>{const o=Ot.exec(e);return o?o[1]?r(o[1]):t:!1},Nt=e=>e==="position"||e==="percentage",jt=e=>e==="image"||e==="url",Tt=e=>e==="length"||e==="size"||e==="bg-size",At=e=>e==="length",mo=e=>e==="number",go=e=>e==="family-name",Ct=e=>e==="shadow",ho=()=>{const e=M("color"),r=M("font"),t=M("text"),o=M("font-weight"),n=M("tracking"),s=M("leading"),d=M("breakpoint"),f=M("container"),u=M("spacing"),l=M("radius"),m=M("shadow"),c=M("inset-shadow"),i=M("text-shadow"),p=M("drop-shadow"),b=M("blur"),v=M("perspective"),N=M("aspect"),D=M("ease"),G=M("animate"),P=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],U=()=>[...z(),y,h],$=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto","contain","none"],_=()=>[y,h,u],Y=()=>[de,"full","auto",..._()],ge=()=>[ne,"none","subgrid",y,h],Z=()=>["auto",{span:["full",ne,y,h]},ne,y,h],Q=()=>[ne,"auto",y,h],he=()=>["auto","min","max","fr",y,h],J=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],K=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",..._()],W=()=>[de,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",..._()],x=()=>[e,y,h],se=()=>[...z(),Rt,Et,{position:[y,h]}],a=()=>["no-repeat",{repeat:["","x","y","space","round"]}],g=()=>["auto","cover","contain",fo,lo,{size:[y,h]}],w=()=>[Ge,xe,ae],k=()=>["","none","full",l,y,h],j=()=>["",E,xe,ae],T=()=>["solid","dashed","dotted","double"],ee=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],A=()=>[E,Ge,Rt,Et],R=()=>["","none",b,y,h],V=()=>["none",E,y,h],q=()=>["none",E,y,h],ue=()=>[E,y,h],Ce=()=>[de,"full",..._()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[re],breakpoint:[re],color:[oo],container:[re],"drop-shadow":[re],ease:["in","out","in-out"],font:[io],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[re],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[re],shadow:[re],spacing:["px",E],text:[re],"text-shadow":[re],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",de,h,y,N]}],container:["container"],columns:[{columns:[E,h,y,f]}],"break-after":[{"break-after":P()}],"break-before":[{"break-before":P()}],"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"],sr:["sr-only","not-sr-only"],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:U()}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:X()}],"overscroll-x":[{"overscroll-x":X()}],"overscroll-y":[{"overscroll-y":X()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:Y()}],"inset-x":[{"inset-x":Y()}],"inset-y":[{"inset-y":Y()}],start:[{start:Y()}],end:[{end:Y()}],top:[{top:Y()}],right:[{right:Y()}],bottom:[{bottom:Y()}],left:[{left:Y()}],visibility:["visible","invisible","collapse"],z:[{z:[ne,"auto",y,h]}],basis:[{basis:[de,"full","auto",f,..._()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[E,de,"auto","initial","none",h]}],grow:[{grow:["",E,y,h]}],shrink:[{shrink:["",E,y,h]}],order:[{order:[ne,"first","last","none",y,h]}],"grid-cols":[{"grid-cols":ge()}],"col-start-end":[{col:Z()}],"col-start":[{"col-start":Q()}],"col-end":[{"col-end":Q()}],"grid-rows":[{"grid-rows":ge()}],"row-start-end":[{row:Z()}],"row-start":[{"row-start":Q()}],"row-end":[{"row-end":Q()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":he()}],"auto-rows":[{"auto-rows":he()}],gap:[{gap:_()}],"gap-x":[{"gap-x":_()}],"gap-y":[{"gap-y":_()}],"justify-content":[{justify:[...J(),"normal"]}],"justify-items":[{"justify-items":[...K(),"normal"]}],"justify-self":[{"justify-self":["auto",...K()]}],"align-content":[{content:["normal",...J()]}],"align-items":[{items:[...K(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...K(),{baseline:["","last"]}]}],"place-content":[{"place-content":J()}],"place-items":[{"place-items":[...K(),"baseline"]}],"place-self":[{"place-self":["auto",...K()]}],p:[{p:_()}],px:[{px:_()}],py:[{py:_()}],ps:[{ps:_()}],pe:[{pe:_()}],pt:[{pt:_()}],pr:[{pr:_()}],pb:[{pb:_()}],pl:[{pl:_()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":_()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":_()}],"space-y-reverse":["space-y-reverse"],size:[{size:W()}],w:[{w:[f,"screen",...W()]}],"min-w":[{"min-w":[f,"screen","none",...W()]}],"max-w":[{"max-w":[f,"screen","none","prose",{screen:[d]},...W()]}],h:[{h:["screen","lh",...W()]}],"min-h":[{"min-h":["screen","lh","none",...W()]}],"max-h":[{"max-h":["screen","lh",...W()]}],"font-size":[{text:["base",t,xe,ae]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,y,Ue]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Ge,h]}],"font-family":[{font:[uo,h,r]}],"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-fractions"],tracking:[{tracking:[n,y,h]}],"line-clamp":[{"line-clamp":[E,"none",y,Ue]}],leading:[{leading:[s,..._()]}],"list-image":[{"list-image":["none",y,h]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",y,h]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:x()}],"text-color":[{text:x()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...T(),"wavy"]}],"text-decoration-thickness":[{decoration:[E,"from-font","auto",y,ae]}],"text-decoration-color":[{decoration:x()}],"underline-offset":[{"underline-offset":[E,"auto",y,h]}],"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",y,h]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",y,h]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:se()}],"bg-repeat":[{bg:a()}],"bg-size":[{bg:g()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},ne,y,h],radial:["",y,h],conic:[ne,y,h]},po,co]}],"bg-color":[{bg:x()}],"gradient-from-pos":[{from:w()}],"gradient-via-pos":[{via:w()}],"gradient-to-pos":[{to:w()}],"gradient-from":[{from:x()}],"gradient-via":[{via:x()}],"gradient-to":[{to:x()}],rounded:[{rounded:k()}],"rounded-s":[{"rounded-s":k()}],"rounded-e":[{"rounded-e":k()}],"rounded-t":[{"rounded-t":k()}],"rounded-r":[{"rounded-r":k()}],"rounded-b":[{"rounded-b":k()}],"rounded-l":[{"rounded-l":k()}],"rounded-ss":[{"rounded-ss":k()}],"rounded-se":[{"rounded-se":k()}],"rounded-ee":[{"rounded-ee":k()}],"rounded-es":[{"rounded-es":k()}],"rounded-tl":[{"rounded-tl":k()}],"rounded-tr":[{"rounded-tr":k()}],"rounded-br":[{"rounded-br":k()}],"rounded-bl":[{"rounded-bl":k()}],"border-w":[{border:j()}],"border-w-x":[{"border-x":j()}],"border-w-y":[{"border-y":j()}],"border-w-s":[{"border-s":j()}],"border-w-e":[{"border-e":j()}],"border-w-t":[{"border-t":j()}],"border-w-r":[{"border-r":j()}],"border-w-b":[{"border-b":j()}],"border-w-l":[{"border-l":j()}],"divide-x":[{"divide-x":j()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":j()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...T(),"hidden","none"]}],"divide-style":[{divide:[...T(),"hidden","none"]}],"border-color":[{border:x()}],"border-color-x":[{"border-x":x()}],"border-color-y":[{"border-y":x()}],"border-color-s":[{"border-s":x()}],"border-color-e":[{"border-e":x()}],"border-color-t":[{"border-t":x()}],"border-color-r":[{"border-r":x()}],"border-color-b":[{"border-b":x()}],"border-color-l":[{"border-l":x()}],"divide-color":[{divide:x()}],"outline-style":[{outline:[...T(),"none","hidden"]}],"outline-offset":[{"outline-offset":[E,y,h]}],"outline-w":[{outline:["",E,xe,ae]}],"outline-color":[{outline:x()}],shadow:[{shadow:["","none",m,Re,Ee]}],"shadow-color":[{shadow:x()}],"inset-shadow":[{"inset-shadow":["none",c,Re,Ee]}],"inset-shadow-color":[{"inset-shadow":x()}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:x()}],"ring-offset-w":[{"ring-offset":[E,ae]}],"ring-offset-color":[{"ring-offset":x()}],"inset-ring-w":[{"inset-ring":j()}],"inset-ring-color":[{"inset-ring":x()}],"text-shadow":[{"text-shadow":["none",i,Re,Ee]}],"text-shadow-color":[{"text-shadow":x()}],opacity:[{opacity:[E,y,h]}],"mix-blend":[{"mix-blend":[...ee(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":ee()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[E]}],"mask-image-linear-from-pos":[{"mask-linear-from":A()}],"mask-image-linear-to-pos":[{"mask-linear-to":A()}],"mask-image-linear-from-color":[{"mask-linear-from":x()}],"mask-image-linear-to-color":[{"mask-linear-to":x()}],"mask-image-t-from-pos":[{"mask-t-from":A()}],"mask-image-t-to-pos":[{"mask-t-to":A()}],"mask-image-t-from-color":[{"mask-t-from":x()}],"mask-image-t-to-color":[{"mask-t-to":x()}],"mask-image-r-from-pos":[{"mask-r-from":A()}],"mask-image-r-to-pos":[{"mask-r-to":A()}],"mask-image-r-from-color":[{"mask-r-from":x()}],"mask-image-r-to-color":[{"mask-r-to":x()}],"mask-image-b-from-pos":[{"mask-b-from":A()}],"mask-image-b-to-pos":[{"mask-b-to":A()}],"mask-image-b-from-color":[{"mask-b-from":x()}],"mask-image-b-to-color":[{"mask-b-to":x()}],"mask-image-l-from-pos":[{"mask-l-from":A()}],"mask-image-l-to-pos":[{"mask-l-to":A()}],"mask-image-l-from-color":[{"mask-l-from":x()}],"mask-image-l-to-color":[{"mask-l-to":x()}],"mask-image-x-from-pos":[{"mask-x-from":A()}],"mask-image-x-to-pos":[{"mask-x-to":A()}],"mask-image-x-from-color":[{"mask-x-from":x()}],"mask-image-x-to-color":[{"mask-x-to":x()}],"mask-image-y-from-pos":[{"mask-y-from":A()}],"mask-image-y-to-pos":[{"mask-y-to":A()}],"mask-image-y-from-color":[{"mask-y-from":x()}],"mask-image-y-to-color":[{"mask-y-to":x()}],"mask-image-radial":[{"mask-radial":[y,h]}],"mask-image-radial-from-pos":[{"mask-radial-from":A()}],"mask-image-radial-to-pos":[{"mask-radial-to":A()}],"mask-image-radial-from-color":[{"mask-radial-from":x()}],"mask-image-radial-to-color":[{"mask-radial-to":x()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":z()}],"mask-image-conic-pos":[{"mask-conic":[E]}],"mask-image-conic-from-pos":[{"mask-conic-from":A()}],"mask-image-conic-to-pos":[{"mask-conic-to":A()}],"mask-image-conic-from-color":[{"mask-conic-from":x()}],"mask-image-conic-to-color":[{"mask-conic-to":x()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:se()}],"mask-repeat":[{mask:a()}],"mask-size":[{mask:g()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",y,h]}],filter:[{filter:["","none",y,h]}],blur:[{blur:R()}],brightness:[{brightness:[E,y,h]}],contrast:[{contrast:[E,y,h]}],"drop-shadow":[{"drop-shadow":["","none",p,Re,Ee]}],"drop-shadow-color":[{"drop-shadow":x()}],grayscale:[{grayscale:["",E,y,h]}],"hue-rotate":[{"hue-rotate":[E,y,h]}],invert:[{invert:["",E,y,h]}],saturate:[{saturate:[E,y,h]}],sepia:[{sepia:["",E,y,h]}],"backdrop-filter":[{"backdrop-filter":["","none",y,h]}],"backdrop-blur":[{"backdrop-blur":R()}],"backdrop-brightness":[{"backdrop-brightness":[E,y,h]}],"backdrop-contrast":[{"backdrop-contrast":[E,y,h]}],"backdrop-grayscale":[{"backdrop-grayscale":["",E,y,h]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[E,y,h]}],"backdrop-invert":[{"backdrop-invert":["",E,y,h]}],"backdrop-opacity":[{"backdrop-opacity":[E,y,h]}],"backdrop-saturate":[{"backdrop-saturate":[E,y,h]}],"backdrop-sepia":[{"backdrop-sepia":["",E,y,h]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":_()}],"border-spacing-x":[{"border-spacing-x":_()}],"border-spacing-y":[{"border-spacing-y":_()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",y,h]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[E,"initial",y,h]}],ease:[{ease:["linear","initial",D,y,h]}],delay:[{delay:[E,y,h]}],animate:[{animate:["none",G,y,h]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,y,h]}],"perspective-origin":[{"perspective-origin":U()}],rotate:[{rotate:V()}],"rotate-x":[{"rotate-x":V()}],"rotate-y":[{"rotate-y":V()}],"rotate-z":[{"rotate-z":V()}],scale:[{scale:q()}],"scale-x":[{"scale-x":q()}],"scale-y":[{"scale-y":q()}],"scale-z":[{"scale-z":q()}],"scale-3d":["scale-3d"],skew:[{skew:ue()}],"skew-x":[{"skew-x":ue()}],"skew-y":[{"skew-y":ue()}],transform:[{transform:[y,h,"","none","gpu","cpu"]}],"transform-origin":[{origin:U()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ce()}],"translate-x":[{"translate-x":Ce()}],"translate-y":[{"translate-y":Ce()}],"translate-z":[{"translate-z":Ce()}],"translate-none":["translate-none"],accent:[{accent:x()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:x()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],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",y,h]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],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",y,h]}],fill:[{fill:["none",...x()]}],"stroke-w":[{stroke:[E,xe,ae,Ue]}],stroke:[{stroke:["none",...x()]}],"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-x","border-w-y","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-x","border-color-y","border-color-s","border-color-e","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"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"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"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}},yo=Xr(ho);function oe(...e){return yo(bt(e))}const Dt=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Pt=bt,bo=((e,r)=>t=>{var o;if(r?.variants==null)return Pt(e,t?.class,t?.className);const{variants:n,defaultVariants:s}=r,d=Object.keys(n).map(l=>{const m=t?.[l],c=s?.[l];if(m===null)return null;const i=Dt(m)||Dt(c);return n[l][i]}),f=t&&Object.entries(t).reduce((l,m)=>{let[c,i]=m;return i===void 0||(l[c]=i),l},{}),u=r==null||(o=r.compoundVariants)===null||o===void 0?void 0:o.reduce((l,m)=>{let{class:c,className:i,...p}=m;return Object.entries(p).every(b=>{let[v,N]=b;return Array.isArray(N)?N.includes({...s,...f}[v]):{...s,...f}[v]===N})?[...l,c,i]:l},[]);return Pt(e,d,u,t?.class,t?.className)})("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",{variants:{variant:{default:"bg-primary text-primary-foreground shadow-xs hover:bg-primary/90",destructive:"bg-destructive text-white shadow-xs hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"border bg-background shadow-xs hover:bg-accent hover:text-accent-foreground dark:bg-input/30 dark:border-input dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground shadow-xs hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground dark:hover:bg-accent/50",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-9 px-4 py-2 has-[>svg]:px-3",sm:"h-8 rounded-md gap-1.5 px-3 has-[>svg]:px-2.5",lg:"h-10 rounded-md px-6 has-[>svg]:px-4",icon:"size-9"}},defaultVariants:{variant:"default",size:"default"}});function vo({className:e,variant:r,size:t,asChild:o=!1,...n}){const s=o?lt:"button";return L.jsx(s,{"data-slot":"button",className:oe(bo({variant:r,size:t,className:e})),...n})}function xo({className:e,...r}){return L.jsx("div",{"data-slot":"card",className:oe("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...r})}function _o({className:e,...r}){return L.jsx("div",{"data-slot":"card-header",className:oe("@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",e),...r})}function wo({className:e,...r}){return L.jsx("div",{"data-slot":"card-title",className:oe("leading-none font-semibold",e),...r})}function ko({className:e,...r}){return L.jsx("div",{"data-slot":"card-description",className:oe("text-muted-foreground text-sm",e),...r})}function Oo({className:e,...r}){return L.jsx("div",{"data-slot":"card-content",className:oe("px-6",e),...r})}var So="Label",Lt=S.forwardRef((e,r)=>L.jsx(Se.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));Lt.displayName=So;var Eo=Lt,Ro=e=>e.type==="checkbox",_e=e=>e instanceof Date,He=e=>e==null;const Mt=e=>typeof e=="object";var ie=e=>!He(e)&&!Array.isArray(e)&&Mt(e)&&!_e(e),No=e=>ie(e)&&e.target?Ro(e.target)?e.target.checked:e.target.value:e,jo=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,To=(e,r)=>e.has(jo(r)),Ao=e=>{const r=e.constructor&&e.constructor.prototype;return ie(r)&&r.hasOwnProperty("isPrototypeOf")},Co=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Vt(e){let r;const t=Array.isArray(e),o=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)r=new Date(e);else if(!(Co&&(e instanceof Blob||o))&&(t||ie(e)))if(r=t?[]:Object.create(Object.getPrototypeOf(e)),!t&&!Ao(e))r=e;else for(const n in e)e.hasOwnProperty(n)&&(r[n]=Vt(e[n]));else return e;return r}var zt=e=>/^\w*$/.test(e),Be=e=>e===void 0,Do=e=>Array.isArray(e)?e.filter(Boolean):[],It=e=>Do(e.replace(/["|']|\]/g,"").split(/\.|\[/)),B=(e,r,t)=>{if(!r||!ie(e))return t;const o=(zt(r)?[r]:It(r)).reduce((n,s)=>He(n)?n:n[s],e);return Be(o)||o===e?Be(e[r])?t:e[r]:o},Ye=e=>typeof e=="boolean",$t=(e,r,t)=>{let o=-1;const n=zt(r)?[r]:It(r),s=n.length,d=s-1;for(;++o<s;){const f=n[o];let u=t;if(o!==d){const l=e[f];u=ie(l)||Array.isArray(l)?l:isNaN(+n[o+1])?{}:[]}if(f==="__proto__"||f==="constructor"||f==="prototype")return;e[f]=u,e=e[f]}};const Ft={BLUR:"blur",CHANGE:"change"},Gt={all:"all"},We=O.createContext(null);We.displayName="HookFormContext";const Ne=()=>O.useContext(We),Po=e=>{const{children:r,...t}=e;return O.createElement(We.Provider,{value:t},r)};var Lo=(e,r,t,o=!0)=>{const n={defaultValues:r._defaultValues};for(const s in e)Object.defineProperty(n,s,{get:()=>{const d=s;return r._proxyFormState[d]!==Gt.all&&(r._proxyFormState[d]=!o||Gt.all),t&&(t[d]=!0),e[d]}});return n};const Ut=typeof window<"u"?O.useLayoutEffect:O.useEffect;function Ht(e){const r=Ne(),{control:t=r.control,disabled:o,name:n,exact:s}=e||{},[d,f]=O.useState(t._formState),u=O.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Ut(()=>t._subscribe({name:n,formState:u.current,exact:s,callback:l=>{!o&&f({...t._formState,...l})}}),[n,o,s]),O.useEffect(()=>{u.current.isValid&&t._setValid(!0)},[t]),O.useMemo(()=>Lo(d,t,u.current,!1),[d,t])}var Mo=e=>typeof e=="string",Vo=(e,r,t,o,n)=>Mo(e)?B(t,e,n):Array.isArray(e)?e.map(s=>B(t,s)):t,Bt=e=>He(e)||!Mt(e);function Yt(e,r,t=new WeakSet){if(Bt(e)||Bt(r))return e===r;if(_e(e)&&_e(r))return e.getTime()===r.getTime();const o=Object.keys(e),n=Object.keys(r);if(o.length!==n.length)return!1;if(t.has(e)||t.has(r))return!0;t.add(e),t.add(r);for(const s of o){const d=e[s];if(!n.includes(s))return!1;if(s!=="ref"){const f=r[s];if(_e(d)&&_e(f)||ie(d)&&ie(f)||Array.isArray(d)&&Array.isArray(f)?!Yt(d,f,t):d!==f)return!1}}return!0}function zo(e){const r=Ne(),{control:t=r.control,name:o,defaultValue:n,disabled:s,exact:d,compute:f}=e||{},u=O.useRef(n),l=O.useRef(f),m=O.useRef(void 0);l.current=f;const c=O.useMemo(()=>t._getWatch(o,u.current),[t,o]),[i,p]=O.useState(l.current?l.current(c):c);return Ut(()=>t._subscribe({name:o,formState:{values:!0},exact:d,callback:b=>{if(!s){const v=Vo(o,t._names,b.values||t._formValues,!1,u.current);if(l.current){const N=l.current(v);Yt(N,m.current)||(p(N),m.current=N)}else p(v)}}}),[t,s,o,d]),O.useEffect(()=>t._removeUnmounted()),i}function Io(e){const r=Ne(),{name:t,disabled:o,control:n=r.control,shouldUnregister:s,defaultValue:d}=e,f=To(n._names.array,t),u=O.useMemo(()=>B(n._formValues,t,B(n._defaultValues,t,d)),[n,t,d]),l=zo({control:n,name:t,defaultValue:u,exact:!0}),m=Ht({control:n,name:t,exact:!0}),c=O.useRef(e),i=O.useRef(void 0),p=O.useRef(n.register(t,{...e.rules,value:l,...Ye(e.disabled)?{disabled:e.disabled}:{}}));c.current=e;const b=O.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!B(m.errors,t)},isDirty:{enumerable:!0,get:()=>!!B(m.dirtyFields,t)},isTouched:{enumerable:!0,get:()=>!!B(m.touchedFields,t)},isValidating:{enumerable:!0,get:()=>!!B(m.validatingFields,t)},error:{enumerable:!0,get:()=>B(m.errors,t)}}),[m,t]),v=O.useCallback(P=>p.current.onChange({target:{value:No(P),name:t},type:Ft.CHANGE}),[t]),N=O.useCallback(()=>p.current.onBlur({target:{value:B(n._formValues,t),name:t},type:Ft.BLUR}),[t,n._formValues]),D=O.useCallback(P=>{const z=B(n._fields,t);z&&P&&(z._f.ref={focus:()=>P.focus&&P.focus(),select:()=>P.select&&P.select(),setCustomValidity:U=>P.setCustomValidity(U),reportValidity:()=>P.reportValidity()})},[n._fields,t]),G=O.useMemo(()=>({name:t,value:l,...Ye(o)||m.disabled?{disabled:m.disabled||o}:{},onChange:v,onBlur:N,ref:D}),[t,o,m.disabled,v,N,D,l]);return O.useEffect(()=>{const P=n._options.shouldUnregister||s,z=i.current;z&&z!==t&&!f&&n.unregister(z),n.register(t,{...c.current.rules,...Ye(c.current.disabled)?{disabled:c.current.disabled}:{}});const U=($,X)=>{const _=B(n._fields,$);_&&_._f&&(_._f.mount=X)};if(U(t,!0),P){const $=Vt(B(n._options.defaultValues,t));$t(n._defaultValues,t,$),Be(B(n._formValues,t))&&$t(n._formValues,t,$)}return!f&&n.register(t),i.current=t,()=>{(f?P&&!n._state.action:P)?n.unregister(t):U(t,!1)}},[t,n,f,s]),O.useEffect(()=>{n._setDisabledField({disabled:o,name:t})},[o,t,n]),O.useMemo(()=>({field:G,formState:m,fieldState:b}),[G,m,b])}const $o=e=>e.render(Io(e));function Fo({className:e,...r}){return L.jsx(Eo,{"data-slot":"label",className:oe("flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",e),...r})}const Go=Po,Wt=S.createContext({}),Kt=({...e})=>L.jsx(Wt.Provider,{value:{name:e.name},children:L.jsx($o,{...e})}),Uo=()=>{const e=S.useContext(Wt),r=S.useContext(qt),{getFieldState:t}=Ne(),o=Ht({name:e.name}),n=t(e.name,o);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:s}=r;return{id:s,name:e.name,formItemId:`${s}-form-item`,formDescriptionId:`${s}-form-item-description`,formMessageId:`${s}-form-item-message`,...n}},qt=S.createContext({});function Xt({className:e,...r}){const t=S.useId();return L.jsx(qt.Provider,{value:{id:t},children:L.jsx("div",{"data-slot":"form-item",className:oe("grid gap-2",e),...r})})}function Jt({...e}){const{error:r,formItemId:t,formDescriptionId:o,formMessageId:n}=Uo();return L.jsx(lt,{"data-slot":"form-control",id:t,"aria-describedby":r?`${o} ${n}`:`${o}`,"aria-invalid":!!r,...e})}function Zt({className:e,type:r,...t}){return L.jsx("input",{type:r,"data-slot":"input",className:oe("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...t})}/**
132
80
  * @license lucide-react v0.544.0 - ISC
133
81
  *
134
82
  * This source code is licensed under the ISC license.
135
83
  * See the LICENSE file in the root directory of this source tree.
136
- */const ps=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ms=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,t,o)=>o?o.toUpperCase():t.toLowerCase()),$r=e=>{const r=ms(e);return r.charAt(0).toUpperCase()+r.slice(1)},Gr=(...e)=>e.filter((r,t,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===t).join(" ").trim(),gs=e=>{for(const r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};/**
84
+ */const Ho=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Bo=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,t,o)=>o?o.toUpperCase():t.toLowerCase()),Qt=e=>{const r=Bo(e);return r.charAt(0).toUpperCase()+r.slice(1)},er=(...e)=>e.filter((r,t,o)=>!!r&&r.trim()!==""&&o.indexOf(r)===t).join(" ").trim(),Yo=e=>{for(const r in e)if(r.startsWith("aria-")||r==="role"||r==="title")return!0};/**
137
85
  * @license lucide-react v0.544.0 - ISC
138
86
  *
139
87
  * This source code is licensed under the ISC license.
140
88
  * See the LICENSE file in the root directory of this source tree.
141
- */var ys={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
89
+ */var Wo={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
142
90
  * @license lucide-react v0.544.0 - ISC
143
91
  *
144
92
  * This source code is licensed under the ISC license.
145
93
  * See the LICENSE file in the root directory of this source tree.
146
- */const hs=E.forwardRef(({color:e="currentColor",size:r=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:s="",children:l,iconNode:f,...m},c)=>E.createElement("svg",{ref:c,...ys,width:r,height:r,stroke:e,strokeWidth:o?Number(t)*24/Number(r):t,className:Gr("lucide",s),...!l&&!gs(m)&&{"aria-hidden":"true"},...m},[...f.map(([i,p])=>E.createElement(i,p)),...Array.isArray(l)?l:[l]]));/**
94
+ */const Ko=O.forwardRef(({color:e="currentColor",size:r=24,strokeWidth:t=2,absoluteStrokeWidth:o,className:n="",children:s,iconNode:d,...f},u)=>O.createElement("svg",{ref:u,...Wo,width:r,height:r,stroke:e,strokeWidth:o?Number(t)*24/Number(r):t,className:er("lucide",n),...!s&&!Yo(f)&&{"aria-hidden":"true"},...f},[...d.map(([l,m])=>O.createElement(l,m)),...Array.isArray(s)?s:[s]]));/**
147
95
  * @license lucide-react v0.544.0 - ISC
148
96
  *
149
97
  * This source code is licensed under the ISC license.
150
98
  * See the LICENSE file in the root directory of this source tree.
151
- */const Fr=(e,r)=>{const t=E.forwardRef(({className:o,...s},l)=>E.createElement(hs,{ref:l,iconNode:r,className:Gr(`lucide-${ps($r(e))}`,`lucide-${e}`,o),...s}));return t.displayName=$r(e),t};/**
99
+ */const tr=(e,r)=>{const t=O.forwardRef(({className:o,...n},s)=>O.createElement(Ko,{ref:s,iconNode:r,className:er(`lucide-${Ho(Qt(e))}`,`lucide-${e}`,o),...n}));return t.displayName=Qt(e),t};/**
152
100
  * @license lucide-react v0.544.0 - ISC
153
101
  *
154
102
  * This source code is licensed under the ISC license.
155
103
  * See the LICENSE file in the root directory of this source tree.
156
- */const vs=Fr("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
104
+ */const qo=tr("eye-off",[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]]);/**
157
105
  * @license lucide-react v0.544.0 - ISC
158
106
  *
159
107
  * This source code is licensed under the ISC license.
160
108
  * See the LICENSE file in the root directory of this source tree.
161
- */const bs=Fr("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);function _s(e){const[r,t]=E.useState(!1);return I.jsx("div",{className:"flex flex-col gap-6",children:I.jsxs(uo,{children:[I.jsxs(fo,{children:[I.jsx(po,{className:"text-2xl",children:e.loginFormTitle}),I.jsx(mo,{children:e.loginFormDescription})]}),I.jsx(go,{children:I.jsx(Co,{...e.form,children:I.jsx("form",{onSubmit:e.form.handleSubmit(e.submit),children:I.jsxs("div",{className:"flex flex-col gap-6",children:[I.jsxs("div",{className:"grid gap-2",children:[I.jsx(mr,{htmlFor:"email",children:e.emailLabel}),I.jsx(yr,{control:e.form.control,name:"email",render:({field:o})=>I.jsx(vr,{children:I.jsx(br,{children:I.jsx(_r,{id:"email",type:"email",placeholder:"m@example.com",required:!0,...o})})})})]}),I.jsxs("div",{className:"grid gap-2",children:[I.jsxs("div",{className:"flex items-center",children:[I.jsx(mr,{htmlFor:"password",children:e.passwordLabel}),I.jsx(ds,{className:"ml-auto inline-block text-sm underline-offset-4 hover:underline",to:"/auth/start-reset-password",children:e.forgotPasswordMessage})]}),I.jsx(yr,{control:e.form.control,name:"password",render:({field:o})=>I.jsx(vr,{children:I.jsx(br,{className:"relative",children:I.jsxs("div",{className:"relative",children:[r?I.jsx(vs,{className:"absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-500 z-10 cursor-pointer",onClick:()=>{t(!1)}}):I.jsx(bs,{className:"absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-500 z-10 cursor-pointer",onClick:()=>{t(!0)}}),I.jsx(_r,{type:r?"text":"password",placeholder:"********",...o,className:"pr-10"})]})})})})]}),I.jsx(co,{type:"submit",className:"w-full",children:e.submitButtonLabel})]})})})})]})})}const ht="Authorization",Hr=()=>({user:{id:null,email:null,roles:[],is_enabled:!1,is_active:!1},isAuthenticated:!1,isLoaded:!1}),he=new ut(Hr()),Os=new ye({fn:()=>!!he.state.user?.roles.find(e=>e.name==="admin"),deps:[he]});class Ss{accountStore;httpClient;constructor(r){this.httpClient=r,this.accountStore=he}initAuthData(){const r=localStorage.getItem("token");r&&(this.httpClient.defaults.headers.common[ht]=r)}async load(){try{const{data:r}=await this.httpClient.get("/api/auth/account/me");he.setState(()=>({user:r,isAuthenticated:!0,isLoaded:!0}))}catch{he.setState(r=>({...r,isLoaded:!0}))}}async login(r){const t=await this.httpClient.post("/api/auth/account/login",r),{user:o,access_token:s}=t.data;return o.is_active&&this._initUserData({user:o,access_token:s}),o}register(r){return this.httpClient.post("/api/auth/account/register",r)}async activate(r){const t=await this.httpClient.post("/api/auth/account/activate",r);this._initUserData(t.data)}logout(){he.setState(()=>({...Hr(),isLoaded:!0})),this._clearAuthData()}startResetPassword(r){return this.httpClient.post("/api/auth/account/start-reset-password",r)}async resetPassword(r){const t=await this.httpClient.post("/api/auth/account/reset-password",r);this._initUserData(t.data)}_initUserData({user:r,access_token:t}){this._setAuthData(t),he.setState(()=>({user:r,isAuthenticated:!0,isLoaded:!0}))}_setAuthData(r){localStorage.setItem("token",r),this.httpClient.defaults.headers.common[ht]=r}_clearAuthData(){localStorage.removeItem("token"),delete this.httpClient.defaults.headers.common[ht]}}ce.Auth=Ss,ce.LoginForm=_s,ce.isAdmin=Os,Object.defineProperty(ce,Symbol.toStringTag,{value:"Module"})}));
109
+ */const Xo=tr("eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);function Jo(e){const[r,t]=O.useState(!1);return C.jsx("div",{className:"flex flex-col gap-6",children:C.jsxs(xo,{children:[C.jsxs(_o,{children:[C.jsx(wo,{className:"text-2xl",children:e.loginFormTitle}),C.jsx(ko,{children:e.loginFormDescription})]}),C.jsx(Oo,{children:C.jsx(Go,{...e.form,children:C.jsx("form",{onSubmit:e.form.handleSubmit(e.submit),children:C.jsxs("div",{className:"flex flex-col gap-6",children:[C.jsxs("div",{className:"grid gap-2",children:[C.jsx(Fo,{htmlFor:"email",children:e.emailLabel}),C.jsx(Kt,{control:e.form.control,name:"email",render:({field:o})=>C.jsx(Xt,{children:C.jsx(Jt,{children:C.jsx(Zt,{id:"email",type:"email",placeholder:"m@example.com",required:!0,...o})})})})]}),C.jsxs("div",{className:"grid gap-2",children:[e.resetPasswordLinkComponent?e.resetPasswordLinkComponent():null,C.jsx(Kt,{control:e.form.control,name:"password",render:({field:o})=>C.jsx(Xt,{children:C.jsx(Jt,{className:"relative",children:C.jsxs("div",{className:"relative",children:[r?C.jsx(qo,{className:"absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-500 z-10 cursor-pointer",onClick:()=>{t(!1)}}):C.jsx(Xo,{className:"absolute right-3 top-1/2 transform -translate-y-1/2 text-gray-500 z-10 cursor-pointer",onClick:()=>{t(!0)}}),C.jsx(Zt,{type:r?"text":"password",placeholder:"********",...o,className:"pr-10"})]})})})})]}),C.jsx(vo,{type:"submit",className:"w-full",children:e.submitButtonLabel})]})})})})]})})}const me=new WeakMap,je=new WeakMap,Te={current:[]};let Ke=!1;const Ae=new Set,rr=new Map;function or(e){const r=Array.from(e).sort((t,o)=>t instanceof le&&t.options.deps.includes(o)?1:o instanceof le&&o.options.deps.includes(t)?-1:0);for(const t of r){if(Te.current.includes(t))continue;Te.current.push(t),t.recompute();const o=je.get(t);if(o)for(const n of o){const s=me.get(n);s&&or(s)}}}function Zo(e){e.listeners.forEach(r=>r({prevVal:e.prevState,currentVal:e.state}))}function Qo(e){e.listeners.forEach(r=>r({prevVal:e.prevState,currentVal:e.state}))}function en(e){if(Ae.add(e),!Ke)try{for(Ke=!0;Ae.size>0;){const r=Array.from(Ae);Ae.clear();for(const t of r){const o=rr.get(t)??t.prevState;t.prevState=o,Zo(t)}for(const t of r){const o=me.get(t);o&&(Te.current.push(t),or(o))}for(const t of r){const o=me.get(t);if(o)for(const n of o)Qo(n)}}}finally{Ke=!1,Te.current=[],rr.clear()}}function tn(e){return typeof e=="function"}class qe{constructor(r,t){this.listeners=new Set,this.subscribe=o=>{var n,s;this.listeners.add(o);const d=(s=(n=this.options)==null?void 0:n.onSubscribe)==null?void 0:s.call(n,o,this);return()=>{this.listeners.delete(o),d?.()}},this.prevState=r,this.state=r,this.options=t}setState(r){var t,o,n;this.prevState=this.state,(t=this.options)!=null&&t.updateFn?this.state=this.options.updateFn(this.prevState)(r):tn(r)?this.state=r(this.prevState):this.state=r,(n=(o=this.options)==null?void 0:o.onUpdate)==null||n.call(o),en(this)}}class le{constructor(r){this.listeners=new Set,this._subscriptions=[],this.lastSeenDepValues=[],this.getDepVals=()=>{const t=[],o=[];for(const n of this.options.deps)t.push(n.prevState),o.push(n.state);return this.lastSeenDepValues=o,{prevDepVals:t,currDepVals:o,prevVal:this.prevState??void 0}},this.recompute=()=>{var t,o;this.prevState=this.state;const{prevDepVals:n,currDepVals:s,prevVal:d}=this.getDepVals();this.state=this.options.fn({prevDepVals:n,currDepVals:s,prevVal:d}),(o=(t=this.options).onUpdate)==null||o.call(t)},this.checkIfRecalculationNeededDeeply=()=>{for(const s of this.options.deps)s instanceof le&&s.checkIfRecalculationNeededDeeply();let t=!1;const o=this.lastSeenDepValues,{currDepVals:n}=this.getDepVals();for(let s=0;s<n.length;s++)if(n[s]!==o[s]){t=!0;break}t&&this.recompute()},this.mount=()=>(this.registerOnGraph(),this.checkIfRecalculationNeededDeeply(),()=>{this.unregisterFromGraph();for(const t of this._subscriptions)t()}),this.subscribe=t=>{var o,n;this.listeners.add(t);const s=(n=(o=this.options).onSubscribe)==null?void 0:n.call(o,t,this);return()=>{this.listeners.delete(t),s?.()}},this.options=r,this.state=r.fn({prevDepVals:void 0,prevVal:void 0,currDepVals:this.getDepVals().currDepVals})}registerOnGraph(r=this.options.deps){for(const t of r)if(t instanceof le)t.registerOnGraph(),this.registerOnGraph(t.options.deps);else if(t instanceof qe){let o=me.get(t);o||(o=new Set,me.set(t,o)),o.add(this);let n=je.get(this);n||(n=new Set,je.set(this,n)),n.add(t)}}unregisterFromGraph(r=this.options.deps){for(const t of r)if(t instanceof le)this.unregisterFromGraph(t.options.deps);else if(t instanceof qe){const o=me.get(t);o&&o.delete(this);const n=je.get(this);n&&n.delete(t)}}}const Xe="Authorization",nr=()=>({user:{id:null,email:null,roles:[],is_enabled:!1,is_active:!1},isAuthenticated:!1,isLoaded:!1}),ce=new qe(nr()),rn=new le({fn:()=>!!ce.state.user?.roles.find(e=>e.name==="admin"),deps:[ce]});class on{accountStore;httpClient;constructor(r){this.httpClient=r,this.accountStore=ce}initAuthData(){const r=localStorage.getItem("token");r&&(this.httpClient.defaults.headers.common[Xe]=r)}async load(){try{const{data:r}=await this.httpClient.get("/api/auth/account/me");ce.setState(()=>({user:r,isAuthenticated:!0,isLoaded:!0}))}catch{ce.setState(r=>({...r,isLoaded:!0}))}}async login(r){const t=await this.httpClient.post("/api/auth/account/login",r),{user:o,access_token:n}=t.data;return o.is_active&&this._initUserData({user:o,access_token:n}),o}register(r){return this.httpClient.post("/api/auth/account/register",r)}async activate(r){const t=await this.httpClient.post("/api/auth/account/activate",r);this._initUserData(t.data)}logout(){ce.setState(()=>({...nr(),isLoaded:!0})),this._clearAuthData()}startResetPassword(r){return this.httpClient.post("/api/auth/account/start-reset-password",r)}async resetPassword(r){const t=await this.httpClient.post("/api/auth/account/reset-password",r);this._initUserData(t.data)}_initUserData({user:r,access_token:t}){this._setAuthData(t),ce.setState(()=>({user:r,isAuthenticated:!0,isLoaded:!0}))}_setAuthData(r){localStorage.setItem("token",r),this.httpClient.defaults.headers.common[Xe]=r}_clearAuthData(){localStorage.removeItem("token"),delete this.httpClient.defaults.headers.common[Xe]}}te.Auth=on,te.LoginForm=Jo,te.isAdmin=rn,Object.defineProperty(te,Symbol.toStringTag,{value:"Module"})}));