@service_laboratory/auth 2.0.0 → 2.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +2189 -3409
- package/dist/index.umd.cjs +25 -53
- package/package.json +2 -2
package/dist/index.umd.cjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(
|
|
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={};/**
|
|
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
|
|
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={};/**
|
|
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
|
|
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:
|
|
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} />`,
|
|
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={};/**
|
|
23
23
|
* @license React
|
|
24
24
|
* react-jsx-runtime.production.js
|
|
25
25
|
*
|
|
@@ -27,35 +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
|
|
31
|
-
* @license React
|
|
32
|
-
* react.production.js
|
|
33
|
-
*
|
|
34
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
35
|
-
*
|
|
36
|
-
* This source code is licensed under the MIT license found in the
|
|
37
|
-
* LICENSE file in the root directory of this source tree.
|
|
38
|
-
*/var Qt;function Mn(){if(Qt)return z;Qt=1;var e=Symbol.for("react.transitional.element"),r=Symbol.for("react.portal"),t=Symbol.for("react.fragment"),s=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),u=Symbol.for("react.consumer"),m=Symbol.for("react.context"),h=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),l=Symbol.for("react.memo"),g=Symbol.for("react.lazy"),c=Symbol.iterator;function o(n){return n===null||typeof n!="object"?null:(n=c&&n[c]||n["@@iterator"],typeof n=="function"?n:null)}var d={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},v=Object.assign,b={};function k(n,p,_){this.props=n,this.context=p,this.refs=b,this.updater=_||d}k.prototype.isReactComponent={},k.prototype.setState=function(n,p){if(typeof n!="object"&&typeof n!="function"&&n!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,n,p,"setState")},k.prototype.forceUpdate=function(n){this.updater.enqueueForceUpdate(this,n,"forceUpdate")};function M(){}M.prototype=k.prototype;function Y(n,p,_){this.props=n,this.context=p,this.refs=b,this.updater=_||d}var L=Y.prototype=new M;L.constructor=Y,v(L,k.prototype),L.isPureReactComponent=!0;var I=Array.isArray,C={H:null,A:null,T:null,S:null,V:null},V=Object.prototype.hasOwnProperty;function B(n,p,_,S,x,N){return _=N.ref,{$$typeof:e,type:n,key:p,ref:_!==void 0?_:null,props:N}}function E(n,p){return B(n.type,p,void 0,void 0,void 0,n.props)}function te(n){return typeof n=="object"&&n!==null&&n.$$typeof===e}function _e(n){var p={"=":"=0",":":"=2"};return"$"+n.replace(/[=:]/g,function(_){return p[_]})}var W=/\/+/g;function ue(n,p){return typeof n=="object"&&n!==null&&n.key!=null?_e(""+n.key):p.toString(36)}function he(){}function ae(n){switch(n.status){case"fulfilled":return n.value;case"rejected":throw n.reason;default:switch(typeof n.status=="string"?n.then(he,he):(n.status="pending",n.then(function(p){n.status==="pending"&&(n.status="fulfilled",n.value=p)},function(p){n.status==="pending"&&(n.status="rejected",n.reason=p)})),n.status){case"fulfilled":return n.value;case"rejected":throw n.reason}}throw n}function re(n,p,_,S,x){var N=typeof n;(N==="undefined"||N==="boolean")&&(n=null);var A=!1;if(n===null)A=!0;else switch(N){case"bigint":case"string":case"number":A=!0;break;case"object":switch(n.$$typeof){case e:case r:A=!0;break;case g:return A=n._init,re(A(n._payload),p,_,S,x)}}if(A)return x=x(n),A=S===""?"."+ue(n,0):S,I(x)?(_="",A!=null&&(_=A.replace(W,"$&/")+"/"),re(x,p,_,"",function(X){return X})):x!=null&&(te(x)&&(x=E(x,_+(x.key==null||n&&n.key===x.key?"":(""+x.key).replace(W,"$&/")+"/")+A)),p.push(x)),1;A=0;var $=S===""?".":S+":";if(I(n))for(var T=0;T<n.length;T++)S=n[T],N=$+ue(S,T),A+=re(S,p,_,N,x);else if(T=o(n),typeof T=="function")for(n=T.call(n),T=0;!(S=n.next()).done;)S=S.value,N=$+ue(S,T++),A+=re(S,p,_,N,x);else if(N==="object"){if(typeof n.then=="function")return re(ae(n),p,_,S,x);throw p=String(n),Error("Objects are not valid as a React child (found: "+(p==="[object Object]"?"object with keys {"+Object.keys(n).join(", ")+"}":p)+"). If you meant to render a collection of children, use an array instead.")}return A}function ne(n,p,_){if(n==null)return n;var S=[],x=0;return re(n,S,"","",function(N){return p.call(_,N,x++)}),S}function se(n){if(n._status===-1){var p=n._result;p=p(),p.then(function(_){(n._status===0||n._status===-1)&&(n._status=1,n._result=_)},function(_){(n._status===0||n._status===-1)&&(n._status=2,n._result=_)}),n._status===-1&&(n._status=0,n._result=p)}if(n._status===1)return n._result.default;throw n._result}var D=typeof reportError=="function"?reportError:function(n){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var p=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof n=="object"&&n!==null&&typeof n.message=="string"?String(n.message):String(n),error:n});if(!window.dispatchEvent(p))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",n);return}console.error(n)};function Se(){}return z.Children={map:ne,forEach:function(n,p,_){ne(n,function(){p.apply(this,arguments)},_)},count:function(n){var p=0;return ne(n,function(){p++}),p},toArray:function(n){return ne(n,function(p){return p})||[]},only:function(n){if(!te(n))throw Error("React.Children.only expected to receive a single React element child.");return n}},z.Component=k,z.Fragment=t,z.Profiler=i,z.PureComponent=Y,z.StrictMode=s,z.Suspense=f,z.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=C,z.__COMPILER_RUNTIME={__proto__:null,c:function(n){return C.H.useMemoCache(n)}},z.cache=function(n){return function(){return n.apply(null,arguments)}},z.cloneElement=function(n,p,_){if(n==null)throw Error("The argument must be a React element, but you passed "+n+".");var S=v({},n.props),x=n.key,N=void 0;if(p!=null)for(A in p.ref!==void 0&&(N=void 0),p.key!==void 0&&(x=""+p.key),p)!V.call(p,A)||A==="key"||A==="__self"||A==="__source"||A==="ref"&&p.ref===void 0||(S[A]=p[A]);var A=arguments.length-2;if(A===1)S.children=_;else if(1<A){for(var $=Array(A),T=0;T<A;T++)$[T]=arguments[T+2];S.children=$}return B(n.type,x,void 0,void 0,N,S)},z.createContext=function(n){return n={$$typeof:m,_currentValue:n,_currentValue2:n,_threadCount:0,Provider:null,Consumer:null},n.Provider=n,n.Consumer={$$typeof:u,_context:n},n},z.createElement=function(n,p,_){var S,x={},N=null;if(p!=null)for(S in p.key!==void 0&&(N=""+p.key),p)V.call(p,S)&&S!=="key"&&S!=="__self"&&S!=="__source"&&(x[S]=p[S]);var A=arguments.length-2;if(A===1)x.children=_;else if(1<A){for(var $=Array(A),T=0;T<A;T++)$[T]=arguments[T+2];x.children=$}if(n&&n.defaultProps)for(S in A=n.defaultProps,A)x[S]===void 0&&(x[S]=A[S]);return B(n,N,void 0,void 0,null,x)},z.createRef=function(){return{current:null}},z.forwardRef=function(n){return{$$typeof:h,render:n}},z.isValidElement=te,z.lazy=function(n){return{$$typeof:g,_payload:{_status:-1,_result:n},_init:se}},z.memo=function(n,p){return{$$typeof:l,type:n,compare:p===void 0?null:p}},z.startTransition=function(n){var p=C.T,_={};C.T=_;try{var S=n(),x=C.S;x!==null&&x(_,S),typeof S=="object"&&S!==null&&typeof S.then=="function"&&S.then(Se,D)}catch(N){D(N)}finally{C.T=p}},z.unstable_useCacheRefresh=function(){return C.H.useCacheRefresh()},z.use=function(n){return C.H.use(n)},z.useActionState=function(n,p,_){return C.H.useActionState(n,p,_)},z.useCallback=function(n,p){return C.H.useCallback(n,p)},z.useContext=function(n){return C.H.useContext(n)},z.useDebugValue=function(){},z.useDeferredValue=function(n,p){return C.H.useDeferredValue(n,p)},z.useEffect=function(n,p,_){var S=C.H;if(typeof _=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return S.useEffect(n,p)},z.useId=function(){return C.H.useId()},z.useImperativeHandle=function(n,p,_){return C.H.useImperativeHandle(n,p,_)},z.useInsertionEffect=function(n,p){return C.H.useInsertionEffect(n,p)},z.useLayoutEffect=function(n,p){return C.H.useLayoutEffect(n,p)},z.useMemo=function(n,p){return C.H.useMemo(n,p)},z.useOptimistic=function(n,p){return C.H.useOptimistic(n,p)},z.useReducer=function(n,p,_){return C.H.useReducer(n,p,_)},z.useRef=function(n){return C.H.useRef(n)},z.useState=function(n){return C.H.useState(n)},z.useSyncExternalStore=function(n,p,_){return C.H.useSyncExternalStore(n,p,_)},z.useTransition=function(){return C.H.useTransition()},z.version="19.1.1",z}var et={exports:{}};/**
|
|
39
|
-
* @license React
|
|
40
|
-
* react.development.js
|
|
41
|
-
*
|
|
42
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
43
|
-
*
|
|
44
|
-
* This source code is licensed under the MIT license found in the
|
|
45
|
-
* LICENSE file in the root directory of this source tree.
|
|
46
|
-
*/et.exports;var Zt;function In(){return Zt||(Zt=1,(function(e,r){process.env.NODE_ENV!=="production"&&(function(){function t(a,y){Object.defineProperty(u.prototype,a,{get:function(){console.warn("%s(...) is deprecated in plain JavaScript React classes. %s",y[0],y[1])}})}function s(a){return a===null||typeof a!="object"?null:(a=Oe&&a[Oe]||a["@@iterator"],typeof a=="function"?a:null)}function i(a,y){a=(a=a.constructor)&&(a.displayName||a.name)||"ReactClass";var O=a+"."+y;ve[O]||(console.error("Can't call %s on a component that is not yet mounted. This is a no-op, but it might indicate a bug in your application. Instead, assign to `this.state` directly or define a `state = {};` class property with the desired state in the %s component.",y,a),ve[O]=!0)}function u(a,y,O){this.props=a,this.context=y,this.refs=ze,this.updater=O||yt}function m(){}function h(a,y,O){this.props=a,this.context=y,this.refs=ze,this.updater=O||yt}function f(a){return""+a}function l(a){try{f(a);var y=!1}catch{y=!0}if(y){y=console;var O=y.error,w=typeof Symbol=="function"&&Symbol.toStringTag&&a[Symbol.toStringTag]||a.constructor.name||"Object";return O.call(y,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",w),f(a)}}function g(a){if(a==null)return null;if(typeof a=="function")return a.$$typeof===He?null:a.displayName||a.name||null;if(typeof a=="string")return a;switch(a){case n:return"Fragment";case _:return"Profiler";case p:return"StrictMode";case A:return"Suspense";case $:return"SuspenseList";case fe: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 Se:return"Portal";case x:return(a.displayName||"Context")+".Provider";case S:return(a._context.displayName||"Context")+".Consumer";case N:var y=a.render;return a=a.displayName,a||(a=y.displayName||y.name||"",a=a!==""?"ForwardRef("+a+")":"ForwardRef"),a;case T:return y=a.displayName||null,y!==null?y:g(a.type)||"Memo";case X:y=a._payload,a=a._init;try{return g(a(y))}catch{}}return null}function c(a){if(a===n)return"<>";if(typeof a=="object"&&a!==null&&a.$$typeof===X)return"<...>";try{var y=g(a);return y?"<"+y+">":"<...>"}catch{return"<...>"}}function o(){var a=U.A;return a===null?null:a.getOwner()}function d(){return Error("react-stack-top-frame")}function v(a){if(Ce.call(a,"key")){var y=Object.getOwnPropertyDescriptor(a,"key").get;if(y&&y.isReactWarning)return!1}return a.key!==void 0}function b(a,y){function O(){J||(J=!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)",y))}O.isReactWarning=!0,Object.defineProperty(a,"key",{get:O,configurable:!0})}function k(){var a=g(this.type);return Ee[a]||(Ee[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 M(a,y,O,w,P,K,G,Q){return O=K.ref,a={$$typeof:D,type:a,key:y,props:K,_owner:P},(O!==void 0?O:null)!==null?Object.defineProperty(a,"ref",{enumerable:!1,get:k}):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:G}),Object.defineProperty(a,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:Q}),Object.freeze&&(Object.freeze(a.props),Object.freeze(a)),a}function Y(a,y){return y=M(a.type,y,void 0,void 0,a._owner,a.props,a._debugStack,a._debugTask),a._store&&(y._store.validated=a._store.validated),y}function L(a){return typeof a=="object"&&a!==null&&a.$$typeof===D}function I(a){var y={"=":"=0",":":"=2"};return"$"+a.replace(/[=:]/g,function(O){return y[O]})}function C(a,y){return typeof a=="object"&&a!==null&&a.key!=null?(l(a.key),I(""+a.key)):y.toString(36)}function V(){}function B(a){switch(a.status){case"fulfilled":return a.value;case"rejected":throw a.reason;default:switch(typeof a.status=="string"?a.then(V,V):(a.status="pending",a.then(function(y){a.status==="pending"&&(a.status="fulfilled",a.value=y)},function(y){a.status==="pending"&&(a.status="rejected",a.reason=y)})),a.status){case"fulfilled":return a.value;case"rejected":throw a.reason}}throw a}function E(a,y,O,w,P){var K=typeof a;(K==="undefined"||K==="boolean")&&(a=null);var G=!1;if(a===null)G=!0;else switch(K){case"bigint":case"string":case"number":G=!0;break;case"object":switch(a.$$typeof){case D:case Se:G=!0;break;case X:return G=a._init,E(G(a._payload),y,O,w,P)}}if(G){G=a,P=P(G);var Q=w===""?"."+C(G,0):w;return ht(P)?(O="",Q!=null&&(O=Q.replace(xn,"$&/")+"/"),E(P,y,O,"",function(Le){return Le})):P!=null&&(L(P)&&(P.key!=null&&(G&&G.key===P.key||l(P.key)),O=Y(P,O+(P.key==null||G&&G.key===P.key?"":(""+P.key).replace(xn,"$&/")+"/")+Q),w!==""&&G!=null&&L(G)&&G.key==null&&G._store&&!G._store.validated&&(O._store.validated=2),P=O),y.push(P)),1}if(G=0,Q=w===""?".":w+":",ht(a))for(var q=0;q<a.length;q++)w=a[q],K=Q+C(w,q),G+=E(w,y,O,K,P);else if(q=s(a),typeof q=="function")for(q===a.entries&&(kn||console.warn("Using Maps as children is not supported. Use an array of keyed ReactElements instead."),kn=!0),a=q.call(a),q=0;!(w=a.next()).done;)w=w.value,K=Q+C(w,q++),G+=E(w,y,O,K,P);else if(K==="object"){if(typeof a.then=="function")return E(B(a),y,O,w,P);throw y=String(a),Error("Objects are not valid as a React child (found: "+(y==="[object Object]"?"object with keys {"+Object.keys(a).join(", ")+"}":y)+"). If you meant to render a collection of children, use an array instead.")}return G}function te(a,y,O){if(a==null)return a;var w=[],P=0;return E(a,w,"","",function(K){return y.call(O,K,P++)}),w}function _e(a){if(a._status===-1){var y=a._result;y=y(),y.then(function(O){(a._status===0||a._status===-1)&&(a._status=1,a._result=O)},function(O){(a._status===0||a._status===-1)&&(a._status=2,a._result=O)}),a._status===-1&&(a._status=0,a._result=y)}if(a._status===1)return y=a._result,y===void 0&&console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
47
|
-
|
|
48
|
-
Your code should look like:
|
|
49
|
-
const MyComponent = lazy(() => import('./MyComponent'))
|
|
50
|
-
|
|
51
|
-
Did you accidentally put curly braces around the import?`,y),"default"in y||console.error(`lazy: Expected the result of a dynamic import() call. Instead received: %s
|
|
52
|
-
|
|
53
|
-
Your code should look like:
|
|
54
|
-
const MyComponent = lazy(() => import('./MyComponent'))`,y),y.default;throw a._result}function W(){var a=U.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:
|
|
55
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
56
|
-
2. You might be breaking the Rules of Hooks
|
|
57
|
-
3. You might have more than one copy of React in the same app
|
|
58
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),a}function ue(){}function he(a){if(bt===null)try{var y=("require"+Math.random()).slice(0,7);bt=(e&&e[y]).call(e,"timers").setImmediate}catch{bt=function(O){Rn===!1&&(Rn=!0,typeof MessageChannel>"u"&&console.error("This browser does not have a MessageChannel implementation, so enqueuing tasks via await act(async () => ...) will fail. Please file an issue at https://github.com/facebook/react/issues if you encounter this warning."));var w=new MessageChannel;w.port1.onmessage=O,w.port2.postMessage(void 0)}}return bt(a)}function ae(a){return 1<a.length&&typeof AggregateError=="function"?new AggregateError(a):a[0]}function re(a,y){y!==_t-1&&console.error("You seem to have overlapping act() calls, this is not supported. Be sure to await previous act() calls before making a new one. "),_t=y}function ne(a,y,O){var w=U.actQueue;if(w!==null)if(w.length!==0)try{se(w),he(function(){return ne(a,y,O)});return}catch(P){U.thrownErrors.push(P)}else U.actQueue=null;0<U.thrownErrors.length?(w=ae(U.thrownErrors),U.thrownErrors.length=0,O(w)):y(a)}function se(a){if(!Kt){Kt=!0;var y=0;try{for(;y<a.length;y++){var O=a[y];do{U.didUsePromise=!1;var w=O(!1);if(w!==null){if(U.didUsePromise){a[y]=O,a.splice(0,y);return}O=w}else break}while(!0)}a.length=0}catch(P){a.splice(0,y+1),U.thrownErrors.push(P)}finally{Kt=!1}}}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var D=Symbol.for("react.transitional.element"),Se=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),p=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),S=Symbol.for("react.consumer"),x=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),A=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),T=Symbol.for("react.memo"),X=Symbol.for("react.lazy"),fe=Symbol.for("react.activity"),Oe=Symbol.iterator,ve={},yt={isMounted:function(){return!1},enqueueForceUpdate:function(a){i(a,"forceUpdate")},enqueueReplaceState:function(a){i(a,"replaceState")},enqueueSetState:function(a){i(a,"setState")}},gt=Object.assign,ze={};Object.freeze(ze),u.prototype.isReactComponent={},u.prototype.setState=function(a,y){if(typeof a!="object"&&typeof a!="function"&&a!=null)throw Error("takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,a,y,"setState")},u.prototype.forceUpdate=function(a){this.updater.enqueueForceUpdate(this,a,"forceUpdate")};var we={isMounted:["isMounted","Instead, make sure to clean up subscriptions and pending requests in componentWillUnmount to prevent memory leaks."],replaceState:["replaceState","Refactor your code to use setState instead (see https://github.com/facebook/react/issues/3236)."]},Ue;for(Ue in we)we.hasOwnProperty(Ue)&&t(Ue,we[Ue]);m.prototype=u.prototype,we=h.prototype=new m,we.constructor=h,gt(we,u.prototype),we.isPureReactComponent=!0;var ht=Array.isArray,He=Symbol.for("react.client.reference"),U={H:null,A:null,T:null,S:null,V:null,actQueue:null,isBatchingLegacy:!1,didScheduleLegacyUpdate:!1,didUsePromise:!1,thrownErrors:[],getCurrentStack:null,recentlyCreatedOwnerStacks:0},Ce=Object.prototype.hasOwnProperty,Xe=console.createTask?console.createTask:function(){return null};we={react_stack_bottom_frame:function(a){return a()}};var J,ie,Ee={},vt=we.react_stack_bottom_frame.bind(we,d)(),ss=Xe(c(d)),kn=!1,xn=/\/+/g,Tn=typeof reportError=="function"?reportError:function(a){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var y=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof a=="object"&&a!==null&&typeof a.message=="string"?String(a.message):String(a),error:a});if(!window.dispatchEvent(y))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",a);return}console.error(a)},Rn=!1,bt=null,_t=0,St=!1,Kt=!1,jn=typeof queueMicrotask=="function"?function(a){queueMicrotask(function(){return queueMicrotask(a)})}:he;we=Object.freeze({__proto__:null,c:function(a){return W().useMemoCache(a)}}),r.Children={map:te,forEach:function(a,y,O){te(a,function(){y.apply(this,arguments)},O)},count:function(a){var y=0;return te(a,function(){y++}),y},toArray:function(a){return te(a,function(y){return y})||[]},only:function(a){if(!L(a))throw Error("React.Children.only expected to receive a single React element child.");return a}},r.Component=u,r.Fragment=n,r.Profiler=_,r.PureComponent=h,r.StrictMode=p,r.Suspense=A,r.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=U,r.__COMPILER_RUNTIME=we,r.act=function(a){var y=U.actQueue,O=_t;_t++;var w=U.actQueue=y!==null?y:[],P=!1;try{var K=a()}catch(q){U.thrownErrors.push(q)}if(0<U.thrownErrors.length)throw re(y,O),a=ae(U.thrownErrors),U.thrownErrors.length=0,a;if(K!==null&&typeof K=="object"&&typeof K.then=="function"){var G=K;return jn(function(){P||St||(St=!0,console.error("You called act(async () => ...) without await. This could lead to unexpected testing behaviour, interleaving multiple act calls and mixing their scopes. You should - await act(async () => ...);"))}),{then:function(q,Le){P=!0,G.then(function(Je){if(re(y,O),O===0){try{se(w),he(function(){return ne(Je,q,Le)})}catch(ls){U.thrownErrors.push(ls)}if(0<U.thrownErrors.length){var is=ae(U.thrownErrors);U.thrownErrors.length=0,Le(is)}}else q(Je)},function(Je){re(y,O),0<U.thrownErrors.length&&(Je=ae(U.thrownErrors),U.thrownErrors.length=0),Le(Je)})}}}var Q=K;if(re(y,O),O===0&&(se(w),w.length!==0&&jn(function(){P||St||(St=!0,console.error("A component suspended inside an `act` scope, but the `act` call was not awaited. When testing React components that depend on asynchronous data, you must await the result:\n\nawait act(() => ...)"))}),U.actQueue=null),0<U.thrownErrors.length)throw a=ae(U.thrownErrors),U.thrownErrors.length=0,a;return{then:function(q,Le){P=!0,O===0?(U.actQueue=w,he(function(){return ne(Q,q,Le)})):q(Q)}}},r.cache=function(a){return function(){return a.apply(null,arguments)}},r.captureOwnerStack=function(){var a=U.getCurrentStack;return a===null?null:a()},r.cloneElement=function(a,y,O){if(a==null)throw Error("The argument must be a React element, but you passed "+a+".");var w=gt({},a.props),P=a.key,K=a._owner;if(y!=null){var G;e:{if(Ce.call(y,"ref")&&(G=Object.getOwnPropertyDescriptor(y,"ref").get)&&G.isReactWarning){G=!1;break e}G=y.ref!==void 0}G&&(K=o()),v(y)&&(l(y.key),P=""+y.key);for(Q in y)!Ce.call(y,Q)||Q==="key"||Q==="__self"||Q==="__source"||Q==="ref"&&y.ref===void 0||(w[Q]=y[Q])}var Q=arguments.length-2;if(Q===1)w.children=O;else if(1<Q){G=Array(Q);for(var q=0;q<Q;q++)G[q]=arguments[q+2];w.children=G}for(w=M(a.type,P,void 0,void 0,K,w,a._debugStack,a._debugTask),P=2;P<arguments.length;P++)K=arguments[P],L(K)&&K._store&&(K._store.validated=1);return w},r.createContext=function(a){return a={$$typeof:x,_currentValue:a,_currentValue2:a,_threadCount:0,Provider:null,Consumer:null},a.Provider=a,a.Consumer={$$typeof:S,_context:a},a._currentRenderer=null,a._currentRenderer2=null,a},r.createElement=function(a,y,O){for(var w=2;w<arguments.length;w++){var P=arguments[w];L(P)&&P._store&&(P._store.validated=1)}if(w={},P=null,y!=null)for(q in ie||!("__self"in y)||"key"in y||(ie=!0,console.warn("Your app (or one of its dependencies) is using an outdated JSX transform. Update to the modern JSX transform for faster performance: https://react.dev/link/new-jsx-transform")),v(y)&&(l(y.key),P=""+y.key),y)Ce.call(y,q)&&q!=="key"&&q!=="__self"&&q!=="__source"&&(w[q]=y[q]);var K=arguments.length-2;if(K===1)w.children=O;else if(1<K){for(var G=Array(K),Q=0;Q<K;Q++)G[Q]=arguments[Q+2];Object.freeze&&Object.freeze(G),w.children=G}if(a&&a.defaultProps)for(q in K=a.defaultProps,K)w[q]===void 0&&(w[q]=K[q]);P&&b(w,typeof a=="function"?a.displayName||a.name||"Unknown":a);var q=1e4>U.recentlyCreatedOwnerStacks++;return M(a,P,void 0,void 0,o(),w,q?Error("react-stack-top-frame"):vt,q?Xe(c(a)):ss)},r.createRef=function(){var a={current:null};return Object.seal(a),a},r.forwardRef=function(a){a!=null&&a.$$typeof===T?console.error("forwardRef requires a render function but received a `memo` component. Instead of forwardRef(memo(...)), use memo(forwardRef(...))."):typeof a!="function"?console.error("forwardRef requires a render function but was given %s.",a===null?"null":typeof a):a.length!==0&&a.length!==2&&console.error("forwardRef render functions accept exactly two parameters: props and ref. %s",a.length===1?"Did you forget to use the ref parameter?":"Any additional parameter will be undefined."),a!=null&&a.defaultProps!=null&&console.error("forwardRef render functions do not support defaultProps. Did you accidentally pass a React component?");var y={$$typeof:N,render:a},O;return Object.defineProperty(y,"displayName",{enumerable:!1,configurable:!0,get:function(){return O},set:function(w){O=w,a.name||a.displayName||(Object.defineProperty(a,"name",{value:w}),a.displayName=w)}}),y},r.isValidElement=L,r.lazy=function(a){return{$$typeof:X,_payload:{_status:-1,_result:a},_init:_e}},r.memo=function(a,y){a==null&&console.error("memo: The first argument must be a component. Instead received: %s",a===null?"null":typeof a),y={$$typeof:T,type:a,compare:y===void 0?null:y};var O;return Object.defineProperty(y,"displayName",{enumerable:!1,configurable:!0,get:function(){return O},set:function(w){O=w,a.name||a.displayName||(Object.defineProperty(a,"name",{value:w}),a.displayName=w)}}),y},r.startTransition=function(a){var y=U.T,O={};U.T=O,O._updatedFibers=new Set;try{var w=a(),P=U.S;P!==null&&P(O,w),typeof w=="object"&&w!==null&&typeof w.then=="function"&&w.then(ue,Tn)}catch(K){Tn(K)}finally{y===null&&O._updatedFibers&&(a=O._updatedFibers.size,O._updatedFibers.clear(),10<a&&console.warn("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table.")),U.T=y}},r.unstable_useCacheRefresh=function(){return W().useCacheRefresh()},r.use=function(a){return W().use(a)},r.useActionState=function(a,y,O){return W().useActionState(a,y,O)},r.useCallback=function(a,y){return W().useCallback(a,y)},r.useContext=function(a){var y=W();return a.$$typeof===S&&console.error("Calling useContext(Context.Consumer) is not supported and will cause bugs. Did you mean to call useContext(Context) instead?"),y.useContext(a)},r.useDebugValue=function(a,y){return W().useDebugValue(a,y)},r.useDeferredValue=function(a,y){return W().useDeferredValue(a,y)},r.useEffect=function(a,y,O){a==null&&console.warn("React Hook useEffect requires an effect callback. Did you forget to pass a callback to the hook?");var w=W();if(typeof O=="function")throw Error("useEffect CRUD overload is not enabled in this build of React.");return w.useEffect(a,y)},r.useId=function(){return W().useId()},r.useImperativeHandle=function(a,y,O){return W().useImperativeHandle(a,y,O)},r.useInsertionEffect=function(a,y){return a==null&&console.warn("React Hook useInsertionEffect requires an effect callback. Did you forget to pass a callback to the hook?"),W().useInsertionEffect(a,y)},r.useLayoutEffect=function(a,y){return a==null&&console.warn("React Hook useLayoutEffect requires an effect callback. Did you forget to pass a callback to the hook?"),W().useLayoutEffect(a,y)},r.useMemo=function(a,y){return W().useMemo(a,y)},r.useOptimistic=function(a,y){return W().useOptimistic(a,y)},r.useReducer=function(a,y,O){return W().useReducer(a,y,O)},r.useRef=function(a){return W().useRef(a)},r.useState=function(a){return W().useState(a)},r.useSyncExternalStore=function(a,y,O){return W().useSyncExternalStore(a,y,O)},r.useTransition=function(){return W().useTransition()},r.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()})(et,et.exports)),et.exports}var er;function Pe(){return er||(er=1,process.env.NODE_ENV==="production"?wt.exports=Mn():wt.exports=In()),wt.exports}/**
|
|
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={};/**
|
|
59
31
|
* @license React
|
|
60
32
|
* react-jsx-runtime.development.js
|
|
61
33
|
*
|
|
@@ -63,12 +35,12 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
63
35
|
*
|
|
64
36
|
* This source code is licensed under the MIT license found in the
|
|
65
37
|
* LICENSE file in the root directory of this source tree.
|
|
66
|
-
*/var
|
|
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:
|
|
67
39
|
let props = %s;
|
|
68
40
|
<%s {...props} />
|
|
69
41
|
React keys must be passed directly to JSX without using spread:
|
|
70
42
|
let props = %s;
|
|
71
|
-
<%s key={someKey} {...props} />`,
|
|
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={};/**
|
|
72
44
|
* @license React
|
|
73
45
|
* react-dom.production.js
|
|
74
46
|
*
|
|
@@ -76,7 +48,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
76
48
|
*
|
|
77
49
|
* This source code is licensed under the MIT license found in the
|
|
78
50
|
* LICENSE file in the root directory of this source tree.
|
|
79
|
-
*/var
|
|
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={};/**
|
|
80
52
|
* @license React
|
|
81
53
|
* react-dom.development.js
|
|
82
54
|
*
|
|
@@ -84,11 +56,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
84
56
|
*
|
|
85
57
|
* This source code is licensed under the MIT license found in the
|
|
86
58
|
* LICENSE file in the root directory of this source tree.
|
|
87
|
-
*/var
|
|
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:
|
|
88
60
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
89
61
|
2. You might be breaking the Rules of Hooks
|
|
90
62
|
3. You might have more than one copy of React in the same app
|
|
91
|
-
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 h=Pe(),f={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"),g=h.__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"),ge.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f,ge.createPortal=function(c,o){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)throw Error("Target container is not a DOM element.");return t(c,o,null,d)},ge.flushSync=function(c){var o=g.T,d=f.p;try{if(g.T=null,f.p=2,c)return c()}finally{g.T=o,f.p=d,f.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.")}},ge.preconnect=function(c,o){typeof c=="string"&&c?o!=null&&typeof o!="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.",u(o)):o!=null&&typeof o.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.",i(o.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",i(c)),typeof c=="string"&&(o?(o=o.crossOrigin,o=typeof o=="string"?o==="use-credentials"?o:"":void 0):o=null,f.d.C(c,o))},ge.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.",i(c));else if(1<arguments.length){var o=arguments[1];typeof o=="object"&&o.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`.",u(o)):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`.",u(o))}typeof c=="string"&&f.d.D(c)},ge.preinit=function(c,o){if(typeof c=="string"&&c?o==null||typeof o!="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.",u(o)):o.as!=="style"&&o.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".',u(o.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",i(c)),typeof c=="string"&&o&&typeof o.as=="string"){var d=o.as,v=s(d,o.crossOrigin),b=typeof o.integrity=="string"?o.integrity:void 0,k=typeof o.fetchPriority=="string"?o.fetchPriority:void 0;d==="style"?f.d.S(c,typeof o.precedence=="string"?o.precedence:void 0,{crossOrigin:v,integrity:b,fetchPriority:k}):d==="script"&&f.d.X(c,{crossOrigin:v,integrity:b,fetchPriority:k,nonce:typeof o.nonce=="string"?o.nonce:void 0})}},ge.preinitModule=function(c,o){var d="";if(typeof c=="string"&&c||(d+=" The `href` argument encountered was "+i(c)+"."),o!==void 0&&typeof o!="object"?d+=" The `options` argument encountered was "+i(o)+".":o&&"as"in o&&o.as!=="script"&&(d+=" The `as` option encountered was "+u(o.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=o&&typeof o.as=="string"?o.as:"script",d){case"script":break;default:d=u(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,c)}typeof c=="string"&&(typeof o=="object"&&o!==null?(o.as==null||o.as==="script")&&(d=s(o.as,o.crossOrigin),f.d.M(c,{crossOrigin:d,integrity:typeof o.integrity=="string"?o.integrity:void 0,nonce:typeof o.nonce=="string"?o.nonce:void 0})):o==null&&f.d.M(c))},ge.preload=function(c,o){var d="";if(typeof c=="string"&&c||(d+=" The `href` argument encountered was "+i(c)+"."),o==null||typeof o!="object"?d+=" The `options` argument encountered was "+i(o)+".":typeof o.as=="string"&&o.as||(d+=" The `as` option encountered was "+i(o.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 c=="string"&&typeof o=="object"&&o!==null&&typeof o.as=="string"){d=o.as;var v=s(d,o.crossOrigin);f.d.L(c,d,{crossOrigin:v,integrity:typeof o.integrity=="string"?o.integrity:void 0,nonce:typeof o.nonce=="string"?o.nonce:void 0,type:typeof o.type=="string"?o.type:void 0,fetchPriority:typeof o.fetchPriority=="string"?o.fetchPriority:void 0,referrerPolicy:typeof o.referrerPolicy=="string"?o.referrerPolicy:void 0,imageSrcSet:typeof o.imageSrcSet=="string"?o.imageSrcSet:void 0,imageSizes:typeof o.imageSizes=="string"?o.imageSizes:void 0,media:typeof o.media=="string"?o.media:void 0})}},ge.preloadModule=function(c,o){var d="";typeof c=="string"&&c||(d+=" The `href` argument encountered was "+i(c)+"."),o!==void 0&&typeof o!="object"?d+=" The `options` argument encountered was "+i(o)+".":o&&"as"in o&&typeof o.as!="string"&&(d+=" The `as` option encountered was "+i(o.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 c=="string"&&(o?(d=s(o.as,o.crossOrigin),f.d.m(c,{as:typeof o.as=="string"&&o.as!=="script"?o.as:void 0,crossOrigin:d,integrity:typeof o.integrity=="string"?o.integrity:void 0})):f.d.m(c))},ge.requestFormReset=function(c){f.d.r(c)},ge.unstable_batchedUpdates=function(c,o){return c(o)},ge.useFormState=function(c,o,d){return m().useFormState(c,o,d)},ge.useFormStatus=function(){return m().useHostTransitionStatus()},ge.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),ge}var ar;function Wn(){if(ar)return tt.exports;ar=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(),tt.exports=Fn()):tt.exports=Gn(),tt.exports}Wn();function sr(e,r){if(typeof e=="function")return e(r);e!=null&&(e.current=r)}function qn(...e){return r=>{let t=!1;const s=e.map(i=>{const u=sr(i,r);return!t&&typeof u=="function"&&(t=!0),u});if(t)return()=>{for(let i=0;i<s.length;i++){const u=s[i];typeof u=="function"?u():sr(e[i],null)}}}}function ir(e){const r=Kn(e),t=H.forwardRef((s,i)=>{const{children:u,...m}=s,h=H.Children.toArray(u),f=h.find(Yn);if(f){const l=f.props.children,g=h.map(c=>c===f?H.Children.count(l)>1?H.Children.only(null):H.isValidElement(l)?l.props.children:null:c);return oe.jsx(r,{...m,ref:i,children:H.isValidElement(l)?H.cloneElement(l,void 0,g):null})}return oe.jsx(r,{...m,ref:i,children:u})});return t.displayName=`${e}.Slot`,t}var lr=ir("Slot");function Kn(e){const r=H.forwardRef((t,s)=>{const{children:i,...u}=t;if(H.isValidElement(i)){const m=Jn(i),h=Xn(u,i.props);return i.type!==H.Fragment&&(h.ref=s?qn(s,m):m),H.cloneElement(i,h)}return H.Children.count(i)>1?H.Children.only(null):null});return r.displayName=`${e}.SlotClone`,r}var Bn=Symbol("radix.slottable");function Yn(e){return H.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Bn}function Xn(e,r){const t={...r};for(const s in r){const i=e[s],u=r[s];/^on[A-Z]/.test(s)?i&&u?t[s]=(...m)=>{const h=u(...m);return i(...m),h}:i&&(t[s]=i):s==="style"?t[s]={...i,...u}:s==="className"&&(t[s]=[i,u].filter(Boolean).join(" "))}return{...e,...t}}function Jn(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 Qn=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],rt=Qn.reduce((e,r)=>{const t=ir(`Primitive.${r}`),s=H.forwardRef((i,u)=>{const{asChild:m,...h}=i,f=m?t:r;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),oe.jsx(f,{...h,ref:u})});return s.displayName=`Primitive.${r}`,{...e,[r]:s}},{}),kt={exports:{}},xt={};/**
|
|
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={};/**
|
|
92
64
|
* @license React
|
|
93
65
|
* use-sync-external-store-shim.production.js
|
|
94
66
|
*
|
|
@@ -96,7 +68,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
96
68
|
*
|
|
97
69
|
* This source code is licensed under the MIT license found in the
|
|
98
70
|
* LICENSE file in the root directory of this source tree.
|
|
99
|
-
*/var
|
|
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={};/**
|
|
100
72
|
* @license React
|
|
101
73
|
* use-sync-external-store-shim.development.js
|
|
102
74
|
*
|
|
@@ -104,7 +76,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
104
76
|
*
|
|
105
77
|
* This source code is licensed under the MIT license found in the
|
|
106
78
|
* LICENSE file in the root directory of this source tree.
|
|
107
|
-
*/var fr;function eo(){return fr||(fr=1,process.env.NODE_ENV!=="production"&&(function(){function e(d,v){return d===v&&(d!==0||1/d===1/v)||d!==d&&v!==v}function r(d,v){g||i.startTransition===void 0||(g=!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 b=v();if(!c){var k=v();u(b,k)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),c=!0)}k=m({inst:{value:b,getSnapshot:v}});var M=k[0].inst,Y=k[1];return f(function(){M.value=b,M.getSnapshot=v,t(M)&&Y({inst:M})},[d,b,v]),h(function(){return t(M)&&Y({inst:M}),d(function(){t(M)&&Y({inst:M})})},[d]),l(b),b}function t(d){var v=d.getSnapshot;d=d.value;try{var b=v();return!u(d,b)}catch{return!0}}function s(d,v){return v()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var i=Pe(),u=typeof Object.is=="function"?Object.is:e,m=i.useState,h=i.useEffect,f=i.useLayoutEffect,l=i.useDebugValue,g=!1,c=!1,o=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?s:r;ur.useSyncExternalStore=i.useSyncExternalStore!==void 0?i.useSyncExternalStore:o,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),ur}var dr;function to(){return dr||(dr=1,process.env.NODE_ENV==="production"?kt.exports=Zn():kt.exports=eo()),kt.exports}var ro=to();function no(){return ro.useSyncExternalStore(oo,()=>!0,()=>!1)}function oo(){return()=>{}}var Tt="Avatar",[ao,cs]=zn(Tt),[so,pr]=ao(Tt),io=H.forwardRef((e,r)=>{const{__scopeAvatar:t,...s}=e,[i,u]=H.useState("idle");return oe.jsx(so,{scope:t,imageLoadingStatus:i,onImageLoadingStatusChange:u,children:oe.jsx(rt.span,{...s,ref:r})})});io.displayName=Tt;var mr="AvatarImage",lo=H.forwardRef((e,r)=>{const{__scopeAvatar:t,src:s,onLoadingStatusChange:i=()=>{},...u}=e,m=pr(mr,t),h=uo(s,u),f=Hn(l=>{i(l),m.onImageLoadingStatusChange(l)});return Et(()=>{h!=="idle"&&f(h)},[h,f]),h==="loaded"?oe.jsx(rt.img,{...u,ref:r,src:s}):null});lo.displayName=mr;var yr="AvatarFallback",co=H.forwardRef((e,r)=>{const{__scopeAvatar:t,delayMs:s,...i}=e,u=pr(yr,t),[m,h]=H.useState(s===void 0);return H.useEffect(()=>{if(s!==void 0){const f=window.setTimeout(()=>h(!0),s);return()=>window.clearTimeout(f)}},[s]),m&&u.imageLoadingStatus!=="loaded"?oe.jsx(rt.span,{...i,ref:r}):null});co.displayName=yr;function gr(e,r){return e?r?(e.src!==r&&(e.src=r),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function uo(e,{referrerPolicy:r,crossOrigin:t}){const s=no(),i=H.useRef(null),u=s?(i.current||(i.current=new window.Image),i.current):null,[m,h]=H.useState(()=>gr(u,e));return Et(()=>{h(gr(u,e))},[u,e]),Et(()=>{const f=c=>()=>{h(c)};if(!u)return;const l=f("loaded"),g=f("error");return u.addEventListener("load",l),u.addEventListener("error",g),r&&(u.referrerPolicy=r),typeof t=="string"&&(u.crossOrigin=t),()=>{u.removeEventListener("load",l),u.removeEventListener("error",g)}},[u,t,r]),m}function hr(e){var r,t,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(r=0;r<i;r++)e[r]&&(t=hr(e[r]))&&(s&&(s+=" "),s+=t)}else for(t in e)e[t]&&(s&&(s+=" "),s+=t);return s}function vr(){for(var e,r,t=0,s="",i=arguments.length;t<i;t++)(e=arguments[t])&&(r=hr(e))&&(s&&(s+=" "),s+=r);return s}const Rt="-",fo=e=>{const r=mo(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:i=>{const u=i.split(Rt);return u[0]===""&&u.length!==1&&u.shift(),br(u,r)||po(i)},getConflictingClassGroupIds:(i,u)=>{const m=t[i]||[];return u&&s[i]?[...m,...s[i]]:m}}},br=(e,r)=>{if(e.length===0)return r.classGroupId;const t=e[0],s=r.nextPart.get(t),i=s?br(e.slice(1),s):void 0;if(i)return i;if(r.validators.length===0)return;const u=e.join(Rt);return r.validators.find(({validator:m})=>m(u))?.classGroupId},_r=/^\[(.+)\]$/,po=e=>{if(_r.test(e)){const r=_r.exec(e)[1],t=r?.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}},mo=e=>{const{theme:r,classGroups:t}=e,s={nextPart:new Map,validators:[]};for(const i in t)jt(t[i],s,i,r);return s},jt=(e,r,t,s)=>{e.forEach(i=>{if(typeof i=="string"){const u=i===""?r:Sr(r,i);u.classGroupId=t;return}if(typeof i=="function"){if(yo(i)){jt(i(s),r,t,s);return}r.validators.push({validator:i,classGroupId:t});return}Object.entries(i).forEach(([u,m])=>{jt(m,Sr(r,u),t,s)})})},Sr=(e,r)=>{let t=e;return r.split(Rt).forEach(s=>{t.nextPart.has(s)||t.nextPart.set(s,{nextPart:new Map,validators:[]}),t=t.nextPart.get(s)}),t},yo=e=>e.isThemeGetter,go=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,s=new Map;const i=(u,m)=>{t.set(u,m),r++,r>e&&(r=0,s=t,t=new Map)};return{get(u){let m=t.get(u);if(m!==void 0)return m;if((m=s.get(u))!==void 0)return i(u,m),m},set(u,m){t.has(u)?t.set(u,m):i(u,m)}}},Dt="!",At=":",ho=At.length,vo=e=>{const{prefix:r,experimentalParseClassName:t}=e;let s=i=>{const u=[];let m=0,h=0,f=0,l;for(let v=0;v<i.length;v++){let b=i[v];if(m===0&&h===0){if(b===At){u.push(i.slice(f,v)),f=v+ho;continue}if(b==="/"){l=v;continue}}b==="["?m++:b==="]"?m--:b==="("?h++:b===")"&&h--}const g=u.length===0?i:i.substring(f),c=bo(g),o=c!==g,d=l&&l>f?l-f:void 0;return{modifiers:u,hasImportantModifier:o,baseClassName:c,maybePostfixModifierPosition:d}};if(r){const i=r+At,u=s;s=m=>m.startsWith(i)?u(m.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:m,maybePostfixModifierPosition:void 0}}if(t){const i=s;s=u=>t({className:u,parseClassName:i})}return s},bo=e=>e.endsWith(Dt)?e.substring(0,e.length-1):e.startsWith(Dt)?e.substring(1):e,_o=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(t=>[t,!0]));return t=>{if(t.length<=1)return t;const s=[];let i=[];return t.forEach(u=>{u[0]==="["||r[u]?(s.push(...i.sort(),u),i=[]):i.push(u)}),s.push(...i.sort()),s}},So=e=>({cache:go(e.cacheSize),parseClassName:vo(e),sortModifiers:_o(e),...fo(e)}),Oo=/\s+/,wo=(e,r)=>{const{parseClassName:t,getClassGroupId:s,getConflictingClassGroupIds:i,sortModifiers:u}=r,m=[],h=e.trim().split(Oo);let f="";for(let l=h.length-1;l>=0;l-=1){const g=h[l],{isExternal:c,modifiers:o,hasImportantModifier:d,baseClassName:v,maybePostfixModifierPosition:b}=t(g);if(c){f=g+(f.length>0?" "+f:f);continue}let k=!!b,M=s(k?v.substring(0,b):v);if(!M){if(!k){f=g+(f.length>0?" "+f:f);continue}if(M=s(v),!M){f=g+(f.length>0?" "+f:f);continue}k=!1}const Y=u(o).join(":"),L=d?Y+Dt:Y,I=L+M;if(m.includes(I))continue;m.push(I);const C=i(M,k);for(let V=0;V<C.length;++V){const B=C[V];m.push(L+B)}f=g+(f.length>0?" "+f:f)}return f};function Eo(){let e=0,r,t,s="";for(;e<arguments.length;)(r=arguments[e++])&&(t=Or(r))&&(s&&(s+=" "),s+=t);return s}const Or=e=>{if(typeof e=="string")return e;let r,t="";for(let s=0;s<e.length;s++)e[s]&&(r=Or(e[s]))&&(t&&(t+=" "),t+=r);return t};function ko(e,...r){let t,s,i,u=m;function m(f){const l=r.reduce((g,c)=>c(g),e());return t=So(l),s=t.cache.get,i=t.cache.set,u=h,h(f)}function h(f){const l=s(f);if(l)return l;const g=wo(f,t);return i(f,g),g}return function(){return u(Eo.apply(null,arguments))}}const ce=e=>{const r=t=>t[e]||[];return r.isThemeGetter=!0,r},wr=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Er=/^\((?:(\w[\w-]*):)?(.+)\)$/i,xo=/^\d+\/\d+$/,To=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ro=/\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$/,jo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Do=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Ao=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Me=e=>xo.test(e),F=e=>!!e&&!Number.isNaN(Number(e)),Re=e=>!!e&&Number.isInteger(Number(e)),Nt=e=>e.endsWith("%")&&F(e.slice(0,-1)),xe=e=>To.test(e),No=()=>!0,Co=e=>Ro.test(e)&&!jo.test(e),kr=()=>!1,Lo=e=>Do.test(e),Po=e=>Ao.test(e),Mo=e=>!R(e)&&!j(e),Io=e=>Ie(e,Dr,kr),R=e=>wr.test(e),je=e=>Ie(e,Ar,Co),Ct=e=>Ie(e,Ho,F),xr=e=>Ie(e,Rr,kr),Vo=e=>Ie(e,jr,Po),nt=e=>Ie(e,Nr,Lo),j=e=>Er.test(e),qe=e=>Ve(e,Ar),$o=e=>Ve(e,Fo),Tr=e=>Ve(e,Rr),zo=e=>Ve(e,Dr),Uo=e=>Ve(e,jr),ot=e=>Ve(e,Nr,!0),Ie=(e,r,t)=>{const s=wr.exec(e);return s?s[1]?r(s[1]):t(s[2]):!1},Ve=(e,r,t=!1)=>{const s=Er.exec(e);return s?s[1]?r(s[1]):t:!1},Rr=e=>e==="position"||e==="percentage",jr=e=>e==="image"||e==="url",Dr=e=>e==="length"||e==="size"||e==="bg-size",Ar=e=>e==="length",Ho=e=>e==="number",Fo=e=>e==="family-name",Nr=e=>e==="shadow",Go=()=>{const e=ce("color"),r=ce("font"),t=ce("text"),s=ce("font-weight"),i=ce("tracking"),u=ce("leading"),m=ce("breakpoint"),h=ce("container"),f=ce("spacing"),l=ce("radius"),g=ce("shadow"),c=ce("inset-shadow"),o=ce("text-shadow"),d=ce("drop-shadow"),v=ce("blur"),b=ce("perspective"),k=ce("aspect"),M=ce("ease"),Y=ce("animate"),L=()=>["auto","avoid","all","avoid-page","page","left","right","column"],I=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],C=()=>[...I(),j,R],V=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto","contain","none"],E=()=>[j,R,f],te=()=>[Me,"full","auto",...E()],_e=()=>[Re,"none","subgrid",j,R],W=()=>["auto",{span:["full",Re,j,R]},Re,j,R],ue=()=>[Re,"auto",j,R],he=()=>["auto","min","max","fr",j,R],ae=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],re=()=>["start","end","center","stretch","center-safe","end-safe"],ne=()=>["auto",...E()],se=()=>[Me,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...E()],D=()=>[e,j,R],Se=()=>[...I(),Tr,xr,{position:[j,R]}],n=()=>["no-repeat",{repeat:["","x","y","space","round"]}],p=()=>["auto","cover","contain",zo,Io,{size:[j,R]}],_=()=>[Nt,qe,je],S=()=>["","none","full",l,j,R],x=()=>["",F,qe,je],N=()=>["solid","dashed","dotted","double"],A=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],$=()=>[F,Nt,Tr,xr],T=()=>["","none",v,j,R],X=()=>["none",F,j,R],fe=()=>["none",F,j,R],Oe=()=>[F,j,R],ve=()=>[Me,"full",...E()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[xe],breakpoint:[xe],color:[No],container:[xe],"drop-shadow":[xe],ease:["in","out","in-out"],font:[Mo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[xe],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[xe],shadow:[xe],spacing:["px",F],text:[xe],"text-shadow":[xe],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Me,R,j,k]}],container:["container"],columns:[{columns:[F,R,j,h]}],"break-after":[{"break-after":L()}],"break-before":[{"break-before":L()}],"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:C()}],overflow:[{overflow:V()}],"overflow-x":[{"overflow-x":V()}],"overflow-y":[{"overflow-y":V()}],overscroll:[{overscroll:B()}],"overscroll-x":[{"overscroll-x":B()}],"overscroll-y":[{"overscroll-y":B()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:te()}],"inset-x":[{"inset-x":te()}],"inset-y":[{"inset-y":te()}],start:[{start:te()}],end:[{end:te()}],top:[{top:te()}],right:[{right:te()}],bottom:[{bottom:te()}],left:[{left:te()}],visibility:["visible","invisible","collapse"],z:[{z:[Re,"auto",j,R]}],basis:[{basis:[Me,"full","auto",h,...E()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[F,Me,"auto","initial","none",R]}],grow:[{grow:["",F,j,R]}],shrink:[{shrink:["",F,j,R]}],order:[{order:[Re,"first","last","none",j,R]}],"grid-cols":[{"grid-cols":_e()}],"col-start-end":[{col:W()}],"col-start":[{"col-start":ue()}],"col-end":[{"col-end":ue()}],"grid-rows":[{"grid-rows":_e()}],"row-start-end":[{row:W()}],"row-start":[{"row-start":ue()}],"row-end":[{"row-end":ue()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":he()}],"auto-rows":[{"auto-rows":he()}],gap:[{gap:E()}],"gap-x":[{"gap-x":E()}],"gap-y":[{"gap-y":E()}],"justify-content":[{justify:[...ae(),"normal"]}],"justify-items":[{"justify-items":[...re(),"normal"]}],"justify-self":[{"justify-self":["auto",...re()]}],"align-content":[{content:["normal",...ae()]}],"align-items":[{items:[...re(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...re(),{baseline:["","last"]}]}],"place-content":[{"place-content":ae()}],"place-items":[{"place-items":[...re(),"baseline"]}],"place-self":[{"place-self":["auto",...re()]}],p:[{p:E()}],px:[{px:E()}],py:[{py:E()}],ps:[{ps:E()}],pe:[{pe:E()}],pt:[{pt:E()}],pr:[{pr:E()}],pb:[{pb:E()}],pl:[{pl:E()}],m:[{m:ne()}],mx:[{mx:ne()}],my:[{my:ne()}],ms:[{ms:ne()}],me:[{me:ne()}],mt:[{mt:ne()}],mr:[{mr:ne()}],mb:[{mb:ne()}],ml:[{ml:ne()}],"space-x":[{"space-x":E()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":E()}],"space-y-reverse":["space-y-reverse"],size:[{size:se()}],w:[{w:[h,"screen",...se()]}],"min-w":[{"min-w":[h,"screen","none",...se()]}],"max-w":[{"max-w":[h,"screen","none","prose",{screen:[m]},...se()]}],h:[{h:["screen","lh",...se()]}],"min-h":[{"min-h":["screen","lh","none",...se()]}],"max-h":[{"max-h":["screen","lh",...se()]}],"font-size":[{text:["base",t,qe,je]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[s,j,Ct]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",Nt,R]}],"font-family":[{font:[$o,R,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:[i,j,R]}],"line-clamp":[{"line-clamp":[F,"none",j,Ct]}],leading:[{leading:[u,...E()]}],"list-image":[{"list-image":["none",j,R]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",j,R]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...N(),"wavy"]}],"text-decoration-thickness":[{decoration:[F,"from-font","auto",j,je]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[F,"auto",j,R]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:E()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",j,R]}],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",j,R]}],"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:n()}],"bg-size":[{bg:p()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Re,j,R],radial:["",j,R],conic:[Re,j,R]},Uo,Vo]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:_()}],"gradient-via-pos":[{via:_()}],"gradient-to-pos":[{to:_()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:S()}],"rounded-s":[{"rounded-s":S()}],"rounded-e":[{"rounded-e":S()}],"rounded-t":[{"rounded-t":S()}],"rounded-r":[{"rounded-r":S()}],"rounded-b":[{"rounded-b":S()}],"rounded-l":[{"rounded-l":S()}],"rounded-ss":[{"rounded-ss":S()}],"rounded-se":[{"rounded-se":S()}],"rounded-ee":[{"rounded-ee":S()}],"rounded-es":[{"rounded-es":S()}],"rounded-tl":[{"rounded-tl":S()}],"rounded-tr":[{"rounded-tr":S()}],"rounded-br":[{"rounded-br":S()}],"rounded-bl":[{"rounded-bl":S()}],"border-w":[{border:x()}],"border-w-x":[{"border-x":x()}],"border-w-y":[{"border-y":x()}],"border-w-s":[{"border-s":x()}],"border-w-e":[{"border-e":x()}],"border-w-t":[{"border-t":x()}],"border-w-r":[{"border-r":x()}],"border-w-b":[{"border-b":x()}],"border-w-l":[{"border-l":x()}],"divide-x":[{"divide-x":x()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":x()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...N(),"hidden","none"]}],"divide-style":[{divide:[...N(),"hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}],"divide-color":[{divide:D()}],"outline-style":[{outline:[...N(),"none","hidden"]}],"outline-offset":[{"outline-offset":[F,j,R]}],"outline-w":[{outline:["",F,qe,je]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",g,ot,nt]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",c,ot,nt]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:x()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[F,je]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":x()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",o,ot,nt]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[F,j,R]}],"mix-blend":[{"mix-blend":[...A(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":A()}],"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":[F]}],"mask-image-linear-from-pos":[{"mask-linear-from":$()}],"mask-image-linear-to-pos":[{"mask-linear-to":$()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":$()}],"mask-image-t-to-pos":[{"mask-t-to":$()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":$()}],"mask-image-r-to-pos":[{"mask-r-to":$()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":$()}],"mask-image-b-to-pos":[{"mask-b-to":$()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":$()}],"mask-image-l-to-pos":[{"mask-l-to":$()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":$()}],"mask-image-x-to-pos":[{"mask-x-to":$()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":$()}],"mask-image-y-to-pos":[{"mask-y-to":$()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[j,R]}],"mask-image-radial-from-pos":[{"mask-radial-from":$()}],"mask-image-radial-to-pos":[{"mask-radial-to":$()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"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":I()}],"mask-image-conic-pos":[{"mask-conic":[F]}],"mask-image-conic-from-pos":[{"mask-conic-from":$()}],"mask-image-conic-to-pos":[{"mask-conic-to":$()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Se()}],"mask-repeat":[{mask:n()}],"mask-size":[{mask:p()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",j,R]}],filter:[{filter:["","none",j,R]}],blur:[{blur:T()}],brightness:[{brightness:[F,j,R]}],contrast:[{contrast:[F,j,R]}],"drop-shadow":[{"drop-shadow":["","none",d,ot,nt]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",F,j,R]}],"hue-rotate":[{"hue-rotate":[F,j,R]}],invert:[{invert:["",F,j,R]}],saturate:[{saturate:[F,j,R]}],sepia:[{sepia:["",F,j,R]}],"backdrop-filter":[{"backdrop-filter":["","none",j,R]}],"backdrop-blur":[{"backdrop-blur":T()}],"backdrop-brightness":[{"backdrop-brightness":[F,j,R]}],"backdrop-contrast":[{"backdrop-contrast":[F,j,R]}],"backdrop-grayscale":[{"backdrop-grayscale":["",F,j,R]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[F,j,R]}],"backdrop-invert":[{"backdrop-invert":["",F,j,R]}],"backdrop-opacity":[{"backdrop-opacity":[F,j,R]}],"backdrop-saturate":[{"backdrop-saturate":[F,j,R]}],"backdrop-sepia":[{"backdrop-sepia":["",F,j,R]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":E()}],"border-spacing-x":[{"border-spacing-x":E()}],"border-spacing-y":[{"border-spacing-y":E()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",j,R]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[F,"initial",j,R]}],ease:[{ease:["linear","initial",M,j,R]}],delay:[{delay:[F,j,R]}],animate:[{animate:["none",Y,j,R]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,j,R]}],"perspective-origin":[{"perspective-origin":C()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:fe()}],"scale-x":[{"scale-x":fe()}],"scale-y":[{"scale-y":fe()}],"scale-z":[{"scale-z":fe()}],"scale-3d":["scale-3d"],skew:[{skew:Oe()}],"skew-x":[{"skew-x":Oe()}],"skew-y":[{"skew-y":Oe()}],transform:[{transform:[j,R,"","none","gpu","cpu"]}],"transform-origin":[{origin:C()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ve()}],"translate-x":[{"translate-x":ve()}],"translate-y":[{"translate-y":ve()}],"translate-z":[{"translate-z":ve()}],"translate-none":["translate-none"],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"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",j,R]}],"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":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"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",j,R]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[F,qe,je,Ct]}],stroke:[{stroke:["none",...D()]}],"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"]}},Wo=ko(Go);function Te(...e){return Wo(vr(e))}const Cr=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,Lr=vr,qo=((e,r)=>t=>{var s;if(r?.variants==null)return Lr(e,t?.class,t?.className);const{variants:i,defaultVariants:u}=r,m=Object.keys(i).map(l=>{const g=t?.[l],c=u?.[l];if(g===null)return null;const o=Cr(g)||Cr(c);return i[l][o]}),h=t&&Object.entries(t).reduce((l,g)=>{let[c,o]=g;return o===void 0||(l[c]=o),l},{}),f=r==null||(s=r.compoundVariants)===null||s===void 0?void 0:s.reduce((l,g)=>{let{class:c,className:o,...d}=g;return Object.entries(d).every(v=>{let[b,k]=v;return Array.isArray(k)?k.includes({...u,...h}[b]):{...u,...h}[b]===k})?[...l,c,o]:l},[]);return Lr(e,m,f,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 Ko({className:e,variant:r,size:t,asChild:s=!1,...i}){const u=s?lr:"button";return oe.jsx(u,{"data-slot":"button",className:Te(qo({variant:r,size:t,className:e})),...i})}function Bo({className:e,...r}){return oe.jsx("div",{"data-slot":"card",className:Te("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...r})}function Yo({className:e,...r}){return oe.jsx("div",{"data-slot":"card-header",className:Te("@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 Xo({className:e,...r}){return oe.jsx("div",{"data-slot":"card-title",className:Te("leading-none font-semibold",e),...r})}function Jo({className:e,...r}){return oe.jsx("div",{"data-slot":"card-description",className:Te("text-muted-foreground text-sm",e),...r})}function Qo({className:e,...r}){return oe.jsx("div",{"data-slot":"card-content",className:Te("px-6",e),...r})}var Zo="Label",Pr=H.forwardRef((e,r)=>oe.jsx(rt.label,{...e,ref:r,onMouseDown:t=>{t.target.closest("button, input, select, textarea")||(e.onMouseDown?.(t),!t.defaultPrevented&&t.detail>1&&t.preventDefault())}}));Pr.displayName=Zo;var ea=Pr,ta=e=>e.type==="checkbox",Ke=e=>e instanceof Date,Lt=e=>e==null;const Mr=e=>typeof e=="object";var De=e=>!Lt(e)&&!Array.isArray(e)&&Mr(e)&&!Ke(e),ra=e=>De(e)&&e.target?ta(e.target)?e.target.checked:e.target.value:e,na=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,oa=(e,r)=>e.has(na(r)),aa=e=>{const r=e.constructor&&e.constructor.prototype;return De(r)&&r.hasOwnProperty("isPrototypeOf")},sa=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Ir(e){let r;const t=Array.isArray(e),s=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)r=new Date(e);else if(!(sa&&(e instanceof Blob||s))&&(t||De(e)))if(r=t?[]:Object.create(Object.getPrototypeOf(e)),!t&&!aa(e))r=e;else for(const i in e)e.hasOwnProperty(i)&&(r[i]=Ir(e[i]));else return e;return r}var Vr=e=>/^\w*$/.test(e),Pt=e=>e===void 0,ia=e=>Array.isArray(e)?e.filter(Boolean):[],$r=e=>ia(e.replace(/["|']|\]/g,"").split(/\.|\[/)),be=(e,r,t)=>{if(!r||!De(e))return t;const s=(Vr(r)?[r]:$r(r)).reduce((i,u)=>Lt(i)?i:i[u],e);return Pt(s)||s===e?Pt(e[r])?t:e[r]:s},Mt=e=>typeof e=="boolean",zr=(e,r,t)=>{let s=-1;const i=Vr(r)?[r]:$r(r),u=i.length,m=u-1;for(;++s<u;){const h=i[s];let f=t;if(s!==m){const l=e[h];f=De(l)||Array.isArray(l)?l:isNaN(+i[s+1])?{}:[]}if(h==="__proto__"||h==="constructor"||h==="prototype")return;e[h]=f,e=e[h]}};const Ur={BLUR:"blur",CHANGE:"change"},Hr={all:"all"},It=ee.createContext(null);It.displayName="HookFormContext";const at=()=>ee.useContext(It),la=e=>{const{children:r,...t}=e;return ee.createElement(It.Provider,{value:t},r)};var ca=(e,r,t,s=!0)=>{const i={defaultValues:r._defaultValues};for(const u in e)Object.defineProperty(i,u,{get:()=>{const m=u;return r._proxyFormState[m]!==Hr.all&&(r._proxyFormState[m]=!s||Hr.all),t&&(t[m]=!0),e[m]}});return i};const Fr=typeof window<"u"?ee.useLayoutEffect:ee.useEffect;function Gr(e){const r=at(),{control:t=r.control,disabled:s,name:i,exact:u}=e||{},[m,h]=ee.useState(t._formState),f=ee.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Fr(()=>t._subscribe({name:i,formState:f.current,exact:u,callback:l=>{!s&&h({...t._formState,...l})}}),[i,s,u]),ee.useEffect(()=>{f.current.isValid&&t._setValid(!0)},[t]),ee.useMemo(()=>ca(m,t,f.current,!1),[m,t])}var ua=e=>typeof e=="string",fa=(e,r,t,s,i)=>ua(e)?be(t,e,i):Array.isArray(e)?e.map(u=>be(t,u)):t,Wr=e=>Lt(e)||!Mr(e);function qr(e,r,t=new WeakSet){if(Wr(e)||Wr(r))return e===r;if(Ke(e)&&Ke(r))return e.getTime()===r.getTime();const s=Object.keys(e),i=Object.keys(r);if(s.length!==i.length)return!1;if(t.has(e)||t.has(r))return!0;t.add(e),t.add(r);for(const u of s){const m=e[u];if(!i.includes(u))return!1;if(u!=="ref"){const h=r[u];if(Ke(m)&&Ke(h)||De(m)&&De(h)||Array.isArray(m)&&Array.isArray(h)?!qr(m,h,t):m!==h)return!1}}return!0}function da(e){const r=at(),{control:t=r.control,name:s,defaultValue:i,disabled:u,exact:m,compute:h}=e||{},f=ee.useRef(i),l=ee.useRef(h),g=ee.useRef(void 0);l.current=h;const c=ee.useMemo(()=>t._getWatch(s,f.current),[t,s]),[o,d]=ee.useState(l.current?l.current(c):c);return Fr(()=>t._subscribe({name:s,formState:{values:!0},exact:m,callback:v=>{if(!u){const b=fa(s,t._names,v.values||t._formValues,!1,f.current);if(l.current){const k=l.current(b);qr(k,g.current)||(d(k),g.current=k)}else d(b)}}}),[t,u,s,m]),ee.useEffect(()=>t._removeUnmounted()),o}function pa(e){const r=at(),{name:t,disabled:s,control:i=r.control,shouldUnregister:u,defaultValue:m}=e,h=oa(i._names.array,t),f=ee.useMemo(()=>be(i._formValues,t,be(i._defaultValues,t,m)),[i,t,m]),l=da({control:i,name:t,defaultValue:f,exact:!0}),g=Gr({control:i,name:t,exact:!0}),c=ee.useRef(e),o=ee.useRef(void 0),d=ee.useRef(i.register(t,{...e.rules,value:l,...Mt(e.disabled)?{disabled:e.disabled}:{}}));c.current=e;const v=ee.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!be(g.errors,t)},isDirty:{enumerable:!0,get:()=>!!be(g.dirtyFields,t)},isTouched:{enumerable:!0,get:()=>!!be(g.touchedFields,t)},isValidating:{enumerable:!0,get:()=>!!be(g.validatingFields,t)},error:{enumerable:!0,get:()=>be(g.errors,t)}}),[g,t]),b=ee.useCallback(L=>d.current.onChange({target:{value:ra(L),name:t},type:Ur.CHANGE}),[t]),k=ee.useCallback(()=>d.current.onBlur({target:{value:be(i._formValues,t),name:t},type:Ur.BLUR}),[t,i._formValues]),M=ee.useCallback(L=>{const I=be(i._fields,t);I&&L&&(I._f.ref={focus:()=>L.focus&&L.focus(),select:()=>L.select&&L.select(),setCustomValidity:C=>L.setCustomValidity(C),reportValidity:()=>L.reportValidity()})},[i._fields,t]),Y=ee.useMemo(()=>({name:t,value:l,...Mt(s)||g.disabled?{disabled:g.disabled||s}:{},onChange:b,onBlur:k,ref:M}),[t,s,g.disabled,b,k,M,l]);return ee.useEffect(()=>{const L=i._options.shouldUnregister||u,I=o.current;I&&I!==t&&!h&&i.unregister(I),i.register(t,{...c.current.rules,...Mt(c.current.disabled)?{disabled:c.current.disabled}:{}});const C=(V,B)=>{const E=be(i._fields,V);E&&E._f&&(E._f.mount=B)};if(C(t,!0),L){const V=Ir(be(i._options.defaultValues,t));zr(i._defaultValues,t,V),Pt(be(i._formValues,t))&&zr(i._formValues,t,V)}return!h&&i.register(t),o.current=t,()=>{(h?L&&!i._state.action:L)?i.unregister(t):C(t,!1)}},[t,i,h,u]),ee.useEffect(()=>{i._setDisabledField({disabled:s,name:t})},[s,t,i]),ee.useMemo(()=>({field:Y,formState:g,fieldState:v}),[Y,g,v])}const ma=e=>e.render(pa(e));function Kr({className:e,...r}){return oe.jsx(ea,{"data-slot":"label",className:Te("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 ya=la,Br=H.createContext({}),Yr=({...e})=>oe.jsx(Br.Provider,{value:{name:e.name},children:oe.jsx(ma,{...e})}),ga=()=>{const e=H.useContext(Br),r=H.useContext(Xr),{getFieldState:t}=at(),s=Gr({name:e.name}),i=t(e.name,s);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:u}=r;return{id:u,name:e.name,formItemId:`${u}-form-item`,formDescriptionId:`${u}-form-item-description`,formMessageId:`${u}-form-item-message`,...i}},Xr=H.createContext({});function Jr({className:e,...r}){const t=H.useId();return oe.jsx(Xr.Provider,{value:{id:t},children:oe.jsx("div",{"data-slot":"form-item",className:Te("grid gap-2",e),...r})})}function Qr({...e}){const{error:r,formItemId:t,formDescriptionId:s,formMessageId:i}=ga();return oe.jsx(lr,{"data-slot":"form-control",id:t,"aria-describedby":r?`${s} ${i}`:`${s}`,"aria-invalid":!!r,...e})}function Zr({className:e,type:r,...t}){return oe.jsx("input",{type:r,"data-slot":"input",className:Te("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 $e=new WeakMap,st=new WeakMap,it={current:[]};let Vt=!1;const lt=new Set,en=new Map;function tn(e){const r=Array.from(e).sort((t,s)=>t instanceof Ae&&t.options.deps.includes(s)?1:s instanceof Ae&&s.options.deps.includes(t)?-1:0);for(const t of r){if(it.current.includes(t))continue;it.current.push(t),t.recompute();const s=st.get(t);if(s)for(const i of s){const u=$e.get(i);u&&tn(u)}}}function ha(e){e.listeners.forEach(r=>r({prevVal:e.prevState,currentVal:e.state}))}function va(e){e.listeners.forEach(r=>r({prevVal:e.prevState,currentVal:e.state}))}function ba(e){if(lt.add(e),!Vt)try{for(Vt=!0;lt.size>0;){const r=Array.from(lt);lt.clear();for(const t of r){const s=en.get(t)??t.prevState;t.prevState=s,ha(t)}for(const t of r){const s=$e.get(t);s&&(it.current.push(t),tn(s))}for(const t of r){const s=$e.get(t);if(s)for(const i of s)va(i)}}}finally{Vt=!1,it.current=[],en.clear()}}function _a(e){return typeof e=="function"}class $t{constructor(r,t){this.listeners=new Set,this.subscribe=s=>{var i,u;this.listeners.add(s);const m=(u=(i=this.options)==null?void 0:i.onSubscribe)==null?void 0:u.call(i,s,this);return()=>{this.listeners.delete(s),m?.()}},this.prevState=r,this.state=r,this.options=t}setState(r){var t,s,i;this.prevState=this.state,(t=this.options)!=null&&t.updateFn?this.state=this.options.updateFn(this.prevState)(r):_a(r)?this.state=r(this.prevState):this.state=r,(i=(s=this.options)==null?void 0:s.onUpdate)==null||i.call(s),ba(this)}}class Ae{constructor(r){this.listeners=new Set,this._subscriptions=[],this.lastSeenDepValues=[],this.getDepVals=()=>{const t=[],s=[];for(const i of this.options.deps)t.push(i.prevState),s.push(i.state);return this.lastSeenDepValues=s,{prevDepVals:t,currDepVals:s,prevVal:this.prevState??void 0}},this.recompute=()=>{var t,s;this.prevState=this.state;const{prevDepVals:i,currDepVals:u,prevVal:m}=this.getDepVals();this.state=this.options.fn({prevDepVals:i,currDepVals:u,prevVal:m}),(s=(t=this.options).onUpdate)==null||s.call(t)},this.checkIfRecalculationNeededDeeply=()=>{for(const u of this.options.deps)u instanceof Ae&&u.checkIfRecalculationNeededDeeply();let t=!1;const s=this.lastSeenDepValues,{currDepVals:i}=this.getDepVals();for(let u=0;u<i.length;u++)if(i[u]!==s[u]){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 s,i;this.listeners.add(t);const u=(i=(s=this.options).onSubscribe)==null?void 0:i.call(s,t,this);return()=>{this.listeners.delete(t),u?.()}},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 Ae)t.registerOnGraph(),this.registerOnGraph(t.options.deps);else if(t instanceof $t){let s=$e.get(t);s||(s=new Set,$e.set(t,s)),s.add(this);let i=st.get(this);i||(i=new Set,st.set(this,i)),i.add(t)}}unregisterFromGraph(r=this.options.deps){for(const t of r)if(t instanceof Ae)this.unregisterFromGraph(t.options.deps);else if(t instanceof $t){const s=$e.get(t);s&&s.delete(this);const i=st.get(this);i&&i.delete(t)}}}function Sa(e){return typeof e=="function"}function rn(e,r){return Sa(e)?e(r):e}const Oa=Object.prototype.hasOwnProperty;function nn(e,r){if(e===r)return e;const t=r,s=sn(e)&&sn(t);if(!s&&!(ct(e)&&ct(t)))return t;const i=s?e:on(e);if(!i)return t;const u=s?t:on(t);if(!u)return t;const m=i.length,h=u.length,f=s?new Array(h):{};let l=0;for(let g=0;g<h;g++){const c=s?g:u[g],o=e[c],d=t[c];if(o===d){f[c]=o,(s?g<m:Oa.call(e,c))&&l++;continue}if(o===null||d===null||typeof o!="object"||typeof d!="object"){f[c]=d;continue}const v=nn(o,d);f[c]=v,v===o&&l++}return m===h&&l===m?e:f}function on(e){const r=[],t=Object.getOwnPropertyNames(e);for(const i of t){if(!Object.prototype.propertyIsEnumerable.call(e,i))return!1;r.push(i)}const s=Object.getOwnPropertySymbols(e);for(const i of s){if(!Object.prototype.propertyIsEnumerable.call(e,i))return!1;r.push(i)}return r}function ct(e){if(!an(e))return!1;const r=e.constructor;if(typeof r>"u")return!0;const t=r.prototype;return!(!an(t)||!t.hasOwnProperty("isPrototypeOf"))}function an(e){return Object.prototype.toString.call(e)==="[object Object]"}function sn(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function ut(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 s=0,i=e.length;s<i;s++)if(!ut(e[s],r[s],t))return!1;return!0}if(ct(e)&&ct(r)){const s=t?.ignoreUndefined??!0;if(t?.partial){for(const m in r)if((!s||r[m]!==void 0)&&!ut(e[m],r[m],t))return!1;return!0}let i=0;if(!s)i=Object.keys(e).length;else for(const m in e)e[m]!==void 0&&i++;let u=0;for(const m in r)if((!s||r[m]!==void 0)&&(u++,u>i||!ut(e[m],r[m],t)))return!1;return i===u}return!1}function ft(e,r){return e?.endsWith("/")&&e!=="/"&&e!==`${r}/`?e.slice(0,-1):e}function wa(e,r,t){return ft(e,t)===ft(r,t)}const Ea="Error preloading route! ☝️";var ka=process.env.NODE_ENV==="production";function xa(e,r){if(!ka){if(e)return;var t="Warning: "+r;typeof console<"u"&&console.warn(t);try{throw Error(t)}catch{}}}var dt={exports:{}},zt={},pt={exports:{}},Ut={};/**
|
|
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={};/**
|
|
108
80
|
* @license React
|
|
109
81
|
* use-sync-external-store-shim.production.js
|
|
110
82
|
*
|
|
@@ -112,7 +84,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
112
84
|
*
|
|
113
85
|
* This source code is licensed under the MIT license found in the
|
|
114
86
|
* LICENSE file in the root directory of this source tree.
|
|
115
|
-
*/var
|
|
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={};/**
|
|
116
88
|
* @license React
|
|
117
89
|
* use-sync-external-store-shim.development.js
|
|
118
90
|
*
|
|
@@ -120,7 +92,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
120
92
|
*
|
|
121
93
|
* This source code is licensed under the MIT license found in the
|
|
122
94
|
* LICENSE file in the root directory of this source tree.
|
|
123
|
-
*/var
|
|
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}/**
|
|
124
96
|
* @license React
|
|
125
97
|
* use-sync-external-store-shim/with-selector.production.js
|
|
126
98
|
*
|
|
@@ -128,7 +100,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
128
100
|
*
|
|
129
101
|
* This source code is licensed under the MIT license found in the
|
|
130
102
|
* LICENSE file in the root directory of this source tree.
|
|
131
|
-
*/var
|
|
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={};/**
|
|
132
104
|
* @license React
|
|
133
105
|
* use-sync-external-store-shim/with-selector.development.js
|
|
134
106
|
*
|
|
@@ -136,7 +108,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
136
108
|
*
|
|
137
109
|
* This source code is licensed under the MIT license found in the
|
|
138
110
|
* LICENSE file in the root directory of this source tree.
|
|
139
|
-
*/var
|
|
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={};/**
|
|
140
112
|
* @license React
|
|
141
113
|
* react-dom.production.js
|
|
142
114
|
*
|
|
@@ -144,7 +116,7 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
144
116
|
*
|
|
145
117
|
* This source code is licensed under the MIT license found in the
|
|
146
118
|
* LICENSE file in the root directory of this source tree.
|
|
147
|
-
*/var
|
|
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={};/**
|
|
148
120
|
* @license React
|
|
149
121
|
* react-dom.development.js
|
|
150
122
|
*
|
|
@@ -152,38 +124,38 @@ See https://react.dev/link/invalid-hook-call for tips about how to debug and fix
|
|
|
152
124
|
*
|
|
153
125
|
* This source code is licensed under the MIT license found in the
|
|
154
126
|
* LICENSE file in the root directory of this source tree.
|
|
155
|
-
*/var
|
|
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:
|
|
156
128
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
157
129
|
2. You might be breaking the Rules of Hooks
|
|
158
130
|
3. You might have more than one copy of React in the same app
|
|
159
|
-
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 h=le,f={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"),g=h.__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"),ye.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=f,ye.createPortal=function(c,o){var d=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!o||o.nodeType!==1&&o.nodeType!==9&&o.nodeType!==11)throw Error("Target container is not a DOM element.");return t(c,o,null,d)},ye.flushSync=function(c){var o=g.T,d=f.p;try{if(g.T=null,f.p=2,c)return c()}finally{g.T=o,f.p=d,f.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.")}},ye.preconnect=function(c,o){typeof c=="string"&&c?o!=null&&typeof o!="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.",u(o)):o!=null&&typeof o.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.",i(o.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",i(c)),typeof c=="string"&&(o?(o=o.crossOrigin,o=typeof o=="string"?o==="use-credentials"?o:"":void 0):o=null,f.d.C(c,o))},ye.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.",i(c));else if(1<arguments.length){var o=arguments[1];typeof o=="object"&&o.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`.",u(o)):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`.",u(o))}typeof c=="string"&&f.d.D(c)},ye.preinit=function(c,o){if(typeof c=="string"&&c?o==null||typeof o!="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.",u(o)):o.as!=="style"&&o.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".',u(o.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",i(c)),typeof c=="string"&&o&&typeof o.as=="string"){var d=o.as,v=s(d,o.crossOrigin),b=typeof o.integrity=="string"?o.integrity:void 0,k=typeof o.fetchPriority=="string"?o.fetchPriority:void 0;d==="style"?f.d.S(c,typeof o.precedence=="string"?o.precedence:void 0,{crossOrigin:v,integrity:b,fetchPriority:k}):d==="script"&&f.d.X(c,{crossOrigin:v,integrity:b,fetchPriority:k,nonce:typeof o.nonce=="string"?o.nonce:void 0})}},ye.preinitModule=function(c,o){var d="";if(typeof c=="string"&&c||(d+=" The `href` argument encountered was "+i(c)+"."),o!==void 0&&typeof o!="object"?d+=" The `options` argument encountered was "+i(o)+".":o&&"as"in o&&o.as!=="script"&&(d+=" The `as` option encountered was "+u(o.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=o&&typeof o.as=="string"?o.as:"script",d){case"script":break;default:d=u(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,c)}typeof c=="string"&&(typeof o=="object"&&o!==null?(o.as==null||o.as==="script")&&(d=s(o.as,o.crossOrigin),f.d.M(c,{crossOrigin:d,integrity:typeof o.integrity=="string"?o.integrity:void 0,nonce:typeof o.nonce=="string"?o.nonce:void 0})):o==null&&f.d.M(c))},ye.preload=function(c,o){var d="";if(typeof c=="string"&&c||(d+=" The `href` argument encountered was "+i(c)+"."),o==null||typeof o!="object"?d+=" The `options` argument encountered was "+i(o)+".":typeof o.as=="string"&&o.as||(d+=" The `as` option encountered was "+i(o.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 c=="string"&&typeof o=="object"&&o!==null&&typeof o.as=="string"){d=o.as;var v=s(d,o.crossOrigin);f.d.L(c,d,{crossOrigin:v,integrity:typeof o.integrity=="string"?o.integrity:void 0,nonce:typeof o.nonce=="string"?o.nonce:void 0,type:typeof o.type=="string"?o.type:void 0,fetchPriority:typeof o.fetchPriority=="string"?o.fetchPriority:void 0,referrerPolicy:typeof o.referrerPolicy=="string"?o.referrerPolicy:void 0,imageSrcSet:typeof o.imageSrcSet=="string"?o.imageSrcSet:void 0,imageSizes:typeof o.imageSizes=="string"?o.imageSizes:void 0,media:typeof o.media=="string"?o.media:void 0})}},ye.preloadModule=function(c,o){var d="";typeof c=="string"&&c||(d+=" The `href` argument encountered was "+i(c)+"."),o!==void 0&&typeof o!="object"?d+=" The `options` argument encountered was "+i(o)+".":o&&"as"in o&&typeof o.as!="string"&&(d+=" The `as` option encountered was "+i(o.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 c=="string"&&(o?(d=s(o.as,o.crossOrigin),f.d.m(c,{as:typeof o.as=="string"&&o.as!=="script"?o.as:void 0,crossOrigin:d,integrity:typeof o.integrity=="string"?o.integrity:void 0})):f.d.m(c))},ye.requestFormReset=function(c){f.d.r(c)},ye.unstable_batchedUpdates=function(c,o){return c(o)},ye.useFormState=function(c,o,d){return m().useFormState(c,o,d)},ye.useFormStatus=function(){return m().useHostTransitionStatus()},ye.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),ye}var _n;function Va(){if(_n)return mt.exports;_n=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(),mt.exports=Ma()):mt.exports=Ia(),mt.exports}var $a=Va();function za(e,r,t={},s={}){de.useEffect(()=>{if(!e.current||s.disabled||typeof IntersectionObserver!="function")return;const i=new IntersectionObserver(([u])=>{r(u)},t);return i.observe(e.current),()=>{i.disconnect()}},[r,t,s.disabled,e])}function Ua(e){const r=de.useRef(null);return de.useImperativeHandle(e,()=>r.current,[]),r}function Ha(e,r){const t=gn(),[s,i]=de.useState(!1),u=de.useRef(!1),m=Ua(r),{activeProps:h,inactiveProps:f,activeOptions:l,to:g,preload:c,preloadDelay:o,hashScrollIntoView:d,replace:v,startTransition:b,resetScroll:k,viewTransition:M,children:Y,target:L,disabled:I,style:C,className:V,onClick:B,onFocus:E,onMouseEnter:te,onMouseLeave:_e,onTouchStart:W,ignoreBlocker:ue,params:he,search:ae,hash:re,state:ne,mask:se,reloadDocument:D,unsafeRelative:Se,from:n,_fromLocation:p,..._}=e,S=hn({select:J=>J.location.search,structuralSharing:!0}),x=e.from,N=de.useMemo(()=>({...e,from:x}),[t,S,x,e._fromLocation,e.hash,e.to,e.search,e.params,e.state,e.mask,e.unsafeRelative]),A=de.useMemo(()=>t.buildLocation({...N}),[t,N]),$=de.useMemo(()=>{if(I)return;let J=A.maskedLocation?A.maskedLocation.url:A.url,ie=!1;return t.origin&&(J.startsWith(t.origin)?J=J.replace(t.origin,"")||"/":ie=!0),{href:J,external:ie}},[I,A.maskedLocation,A.url,t.origin]),T=de.useMemo(()=>{if($?.external)return $.href;try{return new URL(g),g}catch{}},[g,$]),X=e.reloadDocument||T?!1:c??t.options.defaultPreload,fe=o??t.options.defaultPreloadDelay??0,Oe=hn({select:J=>{if(T)return!1;if(l?.exact){if(!wa(J.location.pathname,A.pathname,t.basepath))return!1}else{const ie=ft(J.location.pathname,t.basepath),Ee=ft(A.pathname,t.basepath);if(!(ie.startsWith(Ee)&&(ie.length===Ee.length||ie[Ee.length]==="/")))return!1}return(l?.includeSearch??!0)&&!ut(J.location.search,A.search,{partial:!l?.exact,ignoreUndefined:!l?.explicitUndefined})?!1:l?.includeHash?J.location.hash===A.hash:!0}}),ve=de.useCallback(()=>{t.preloadRoute({...N}).catch(J=>{console.warn(J),console.warn(Ea)})},[t,N]),yt=de.useCallback(J=>{J?.isIntersecting&&ve()},[ve]);za(m,yt,Ka,{disabled:!!I||X!=="viewport"}),de.useEffect(()=>{u.current||!I&&X==="render"&&(ve(),u.current=!0)},[I,ve,X]);const gt=J=>{const ie=J.currentTarget.target,Ee=L!==void 0?L:ie;if(!I&&!Ya(J)&&!J.defaultPrevented&&(!Ee||Ee==="_self")&&J.button===0){J.preventDefault(),$a.flushSync(()=>{i(!0)});const vt=t.subscribe("onResolved",()=>{vt(),i(!1)});t.navigate({...N,replace:v,resetScroll:k,hashScrollIntoView:d,startTransition:b,viewTransition:M,ignoreBlocker:ue})}};if(T)return{..._,ref:m,href:T,...Y&&{children:Y},...L&&{target:L},...I&&{disabled:I},...C&&{style:C},...V&&{className:V},...B&&{onClick:B},...E&&{onFocus:E},...te&&{onMouseEnter:te},..._e&&{onMouseLeave:_e},...W&&{onTouchStart:W}};const ze=J=>{I||X&&ve()},we=ze,Ue=J=>{if(!(I||!X))if(!fe)ve();else{const ie=J.target;if(Be.has(ie))return;const Ee=setTimeout(()=>{Be.delete(ie),ve()},fe);Be.set(ie,Ee)}},ht=J=>{if(I||!X||!fe)return;const ie=J.target,Ee=Be.get(ie);Ee&&(clearTimeout(Ee),Be.delete(ie))},He=Oe?rn(h,{})??Fa:Wt,U=Oe?Wt:rn(f,{})??Wt,Ce=[V,He.className,U.className].filter(Boolean).join(" "),Xe=(C||He.style||U.style)&&{...C,...He.style,...U.style};return{..._,...He,...U,href:$?.href,ref:m,onClick:Ye([B,gt]),onFocus:Ye([E,ze]),onMouseEnter:Ye([te,Ue]),onMouseLeave:Ye([_e,ht]),onTouchStart:Ye([W,we]),disabled:!!I,target:L,...Xe&&{style:Xe},...Ce&&{className:Ce},...I&&Ga,...Oe&&Wa,...s&&qa}}const Wt={},Fa={className:"active"},Ga={role:"link","aria-disabled":!0},Wa={"data-status":"active","aria-current":"page"},qa={"data-transitioning":"transitioning"},Be=new WeakMap,Ka={rootMargin:"100px"},Ye=e=>r=>{for(const t of e)if(t){if(r.defaultPrevented)return;t(r)}},Ba=de.forwardRef((e,r)=>{const{_asChild:t,...s}=e,{type:i,ref:u,...m}=Ha(s,r),h=typeof s.children=="function"?s.children({isActive:m["data-status"]==="active"}):s.children;return t===void 0&&delete m.disabled,de.createElement(t||"a",{...m,ref:u},h)});function Ya(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}/**
|
|
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)}/**
|
|
160
132
|
* @license lucide-react v0.544.0 - ISC
|
|
161
133
|
*
|
|
162
134
|
* This source code is licensed under the ISC license.
|
|
163
135
|
* See the LICENSE file in the root directory of this source tree.
|
|
164
|
-
*/const
|
|
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};/**
|
|
165
137
|
* @license lucide-react v0.544.0 - ISC
|
|
166
138
|
*
|
|
167
139
|
* This source code is licensed under the ISC license.
|
|
168
140
|
* See the LICENSE file in the root directory of this source tree.
|
|
169
|
-
*/var
|
|
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"};/**
|
|
170
142
|
* @license lucide-react v0.544.0 - ISC
|
|
171
143
|
*
|
|
172
144
|
* This source code is licensed under the ISC license.
|
|
173
145
|
* See the LICENSE file in the root directory of this source tree.
|
|
174
|
-
*/const
|
|
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]]));/**
|
|
175
147
|
* @license lucide-react v0.544.0 - ISC
|
|
176
148
|
*
|
|
177
149
|
* This source code is licensed under the ISC license.
|
|
178
150
|
* See the LICENSE file in the root directory of this source tree.
|
|
179
|
-
*/const
|
|
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};/**
|
|
180
152
|
* @license lucide-react v0.544.0 - ISC
|
|
181
153
|
*
|
|
182
154
|
* This source code is licensed under the ISC license.
|
|
183
155
|
* See the LICENSE file in the root directory of this source tree.
|
|
184
|
-
*/const
|
|
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"}]]);/**
|
|
185
157
|
* @license lucide-react v0.544.0 - ISC
|
|
186
158
|
*
|
|
187
159
|
* This source code is licensed under the ISC license.
|
|
188
160
|
* See the LICENSE file in the root directory of this source tree.
|
|
189
|
-
*/const
|
|
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"})}));
|