@service_laboratory/ui 1.0.1 → 1.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +1 -0
- package/dist/index.d.ts +175 -0
- package/dist/index.js +8353 -0
- package/dist/index.umd.cjs +132 -0
- package/package.json +18 -6
- package/dist/ui.d.ts +0 -81
- package/dist/ui.js +0 -4321
- package/dist/ui.umd.cjs +0 -58
package/dist/ui.umd.cjs
DELETED
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
(function(T,k){typeof exports=="object"&&typeof module<"u"?k(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],k):(T=typeof globalThis<"u"?globalThis:T||self,k(T.ui={},T.react))})(this,(function(T,k){"use strict";function Fr(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const r in e)if(r!=="default"){const n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:()=>e[r]})}}return t.default=e,Object.freeze(t)}const _=Fr(k);var be={exports:{}},ce={};/**
|
|
2
|
-
* @license React
|
|
3
|
-
* react-jsx-runtime.production.js
|
|
4
|
-
*
|
|
5
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
6
|
-
*
|
|
7
|
-
* This source code is licensed under the MIT license found in the
|
|
8
|
-
* LICENSE file in the root directory of this source tree.
|
|
9
|
-
*/var Ge;function zr(){if(Ge)return ce;Ge=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function r(n,o,i){var d=null;if(i!==void 0&&(d=""+i),o.key!==void 0&&(d=""+o.key),"key"in o){i={};for(var u in o)u!=="key"&&(i[u]=o[u])}else i=o;return o=i.ref,{$$typeof:e,type:n,key:d,ref:o!==void 0?o:null,props:i}}return ce.Fragment=t,ce.jsx=r,ce.jsxs=r,ce}var de={};/**
|
|
10
|
-
* @license React
|
|
11
|
-
* react-jsx-runtime.development.js
|
|
12
|
-
*
|
|
13
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
14
|
-
*
|
|
15
|
-
* This source code is licensed under the MIT license found in the
|
|
16
|
-
* LICENSE file in the root directory of this source tree.
|
|
17
|
-
*/var $e;function Gr(){return $e||($e=1,process.env.NODE_ENV!=="production"&&(function(){function e(f){if(f==null)return null;if(typeof f=="function")return f.$$typeof===Se?null:f.displayName||f.name||null;if(typeof f=="string")return f;switch(f){case v:return"Fragment";case P:return"Profiler";case E:return"StrictMode";case B:return"Suspense";case $:return"SuspenseList";case W:return"Activity"}if(typeof f=="object")switch(typeof f.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),f.$$typeof){case y:return"Portal";case M:return(f.displayName||"Context")+".Provider";case U:return(f._context.displayName||"Context")+".Consumer";case F:var w=f.render;return f=f.displayName,f||(f=w.displayName||w.name||"",f=f!==""?"ForwardRef("+f+")":"ForwardRef"),f;case X:return w=f.displayName||null,w!==null?w:e(f.type)||"Memo";case x:w=f._payload,f=f._init;try{return e(f(w))}catch{}}return null}function t(f){return""+f}function r(f){try{t(f);var w=!1}catch{w=!0}if(w){w=console;var C=w.error,O=typeof Symbol=="function"&&Symbol.toStringTag&&f[Symbol.toStringTag]||f.constructor.name||"Object";return C.call(w,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",O),t(f)}}function n(f){if(f===v)return"<>";if(typeof f=="object"&&f!==null&&f.$$typeof===x)return"<...>";try{var w=e(f);return w?"<"+w+">":"<...>"}catch{return"<...>"}}function o(){var f=ie.A;return f===null?null:f.getOwner()}function i(){return Error("react-stack-top-frame")}function d(f){if(te.call(f,"key")){var w=Object.getOwnPropertyDescriptor(f,"key").get;if(w&&w.isReactWarning)return!1}return f.key!==void 0}function u(f,w){function C(){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)",w))}C.isReactWarning=!0,Object.defineProperty(f,"key",{get:C,configurable:!0})}function c(){var f=e(this.type);return H[f]||(H[f]=!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.")),f=this.props.ref,f!==void 0?f:null}function a(f,w,C,O,A,z,le,N){return C=z.ref,f={$$typeof:m,type:f,key:w,props:z,_owner:A},(C!==void 0?C:null)!==null?Object.defineProperty(f,"ref",{enumerable:!1,get:c}):Object.defineProperty(f,"ref",{enumerable:!1,value:null}),f._store={},Object.defineProperty(f._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(f,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(f,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:le}),Object.defineProperty(f,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:N}),Object.freeze&&(Object.freeze(f.props),Object.freeze(f)),f}function p(f,w,C,O,A,z,le,N){var D=w.children;if(D!==void 0)if(O)if(ke(D)){for(O=0;O<D.length;O++)l(D[O]);Object.freeze&&Object.freeze(D)}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 l(D);if(te.call(w,"key")){D=e(f);var Y=Object.keys(w).filter(function(ge){return ge!=="key"});O=0<Y.length?"{key: someKey, "+Y.join(": ..., ")+": ...}":"{key: someKey}",pe[D+O]||(Y=0<Y.length?"{"+Y.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
|
|
18
|
-
let props = %s;
|
|
19
|
-
<%s {...props} />
|
|
20
|
-
React keys must be passed directly to JSX without using spread:
|
|
21
|
-
let props = %s;
|
|
22
|
-
<%s key={someKey} {...props} />`,O,D,Y,D),pe[D+O]=!0)}if(D=null,C!==void 0&&(r(C),D=""+C),d(w)&&(r(w.key),D=""+w.key),"key"in w){C={};for(var Q in w)Q!=="key"&&(C[Q]=w[Q])}else C=w;return D&&u(C,typeof f=="function"?f.displayName||f.name||"Unknown":f),a(f,D,z,A,o(),C,le,N)}function l(f){typeof f=="object"&&f!==null&&f.$$typeof===m&&f._store&&(f._store.validated=1)}var s=k,m=Symbol.for("react.transitional.element"),y=Symbol.for("react.portal"),v=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),P=Symbol.for("react.profiler"),U=Symbol.for("react.consumer"),M=Symbol.for("react.context"),F=Symbol.for("react.forward_ref"),B=Symbol.for("react.suspense"),$=Symbol.for("react.suspense_list"),X=Symbol.for("react.memo"),x=Symbol.for("react.lazy"),W=Symbol.for("react.activity"),Se=Symbol.for("react.client.reference"),ie=s.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,te=Object.prototype.hasOwnProperty,ke=Array.isArray,ne=console.createTask?console.createTask:function(){return null};s={react_stack_bottom_frame:function(f){return f()}};var J,H={},q=s.react_stack_bottom_frame.bind(s,i)(),h=ne(n(i)),pe={};de.Fragment=v,de.jsx=function(f,w,C,O,A){var z=1e4>ie.recentlyCreatedOwnerStacks++;return p(f,w,C,!1,O,A,z?Error("react-stack-top-frame"):q,z?ne(n(f)):h)},de.jsxs=function(f,w,C,O,A){var z=1e4>ie.recentlyCreatedOwnerStacks++;return p(f,w,C,!0,O,A,z?Error("react-stack-top-frame"):q,z?ne(n(f)):h)}})()),de}var Ue;function $r(){return Ue||(Ue=1,process.env.NODE_ENV==="production"?be.exports=zr():be.exports=Gr()),be.exports}var R=$r();function Ur(e,t=[]){let r=[];function n(i,d){const u=_.createContext(d),c=r.length;r=[...r,d];const a=l=>{const{scope:s,children:m,...y}=l,v=s?.[e]?.[c]||u,E=_.useMemo(()=>y,Object.values(y));return R.jsx(v.Provider,{value:E,children:m})};a.displayName=i+"Provider";function p(l,s){const m=s?.[e]?.[c]||u,y=_.useContext(m);if(y)return y;if(d!==void 0)return d;throw new Error(`\`${l}\` must be used within \`${i}\``)}return[a,p]}const o=()=>{const i=r.map(d=>_.createContext(d));return function(u){const c=u?.[e]||i;return _.useMemo(()=>({[`__scope${e}`]:{...u,[e]:c}}),[u,c])}};return o.scopeName=e,[n,Br(o,...t)]}function Br(...e){const t=e[0];if(e.length===1)return t;const r=()=>{const n=e.map(o=>({useScope:o(),scopeName:o.scopeName}));return function(i){const d=n.reduce((u,{useScope:c,scopeName:a})=>{const l=c(i)[`__scope${a}`];return{...u,...l}},{});return _.useMemo(()=>({[`__scope${t.scopeName}`]:d}),[d])}};return r.scopeName=t.scopeName,r}function Hr(e){const t=_.useRef(e);return _.useEffect(()=>{t.current=e}),_.useMemo(()=>(...r)=>t.current?.(...r),[])}var Oe=globalThis?.document?_.useLayoutEffect:()=>{},ye={exports:{}},j={};/**
|
|
23
|
-
* @license React
|
|
24
|
-
* react-dom.production.js
|
|
25
|
-
*
|
|
26
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
27
|
-
*
|
|
28
|
-
* This source code is licensed under the MIT license found in the
|
|
29
|
-
* LICENSE file in the root directory of this source tree.
|
|
30
|
-
*/var Be;function Wr(){if(Be)return j;Be=1;var e=k;function t(c){var a="https://react.dev/errors/"+c;if(1<arguments.length){a+="?args[]="+encodeURIComponent(arguments[1]);for(var p=2;p<arguments.length;p++)a+="&args[]="+encodeURIComponent(arguments[p])}return"Minified React error #"+c+"; visit "+a+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function r(){}var n={d:{f:r,r:function(){throw Error(t(522))},D:r,C:r,L:r,m:r,X:r,S:r,M:r},p:0,findDOMNode:null},o=Symbol.for("react.portal");function i(c,a,p){var l=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:o,key:l==null?null:""+l,children:c,containerInfo:a,implementation:p}}var d=e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;function u(c,a){if(c==="font")return"";if(typeof a=="string")return a==="use-credentials"?a:""}return j.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=n,j.createPortal=function(c,a){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!a||a.nodeType!==1&&a.nodeType!==9&&a.nodeType!==11)throw Error(t(299));return i(c,a,null,p)},j.flushSync=function(c){var a=d.T,p=n.p;try{if(d.T=null,n.p=2,c)return c()}finally{d.T=a,n.p=p,n.d.f()}},j.preconnect=function(c,a){typeof c=="string"&&(a?(a=a.crossOrigin,a=typeof a=="string"?a==="use-credentials"?a:"":void 0):a=null,n.d.C(c,a))},j.prefetchDNS=function(c){typeof c=="string"&&n.d.D(c)},j.preinit=function(c,a){if(typeof c=="string"&&a&&typeof a.as=="string"){var p=a.as,l=u(p,a.crossOrigin),s=typeof a.integrity=="string"?a.integrity:void 0,m=typeof a.fetchPriority=="string"?a.fetchPriority:void 0;p==="style"?n.d.S(c,typeof a.precedence=="string"?a.precedence:void 0,{crossOrigin:l,integrity:s,fetchPriority:m}):p==="script"&&n.d.X(c,{crossOrigin:l,integrity:s,fetchPriority:m,nonce:typeof a.nonce=="string"?a.nonce:void 0})}},j.preinitModule=function(c,a){if(typeof c=="string")if(typeof a=="object"&&a!==null){if(a.as==null||a.as==="script"){var p=u(a.as,a.crossOrigin);n.d.M(c,{crossOrigin:p,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0})}}else a==null&&n.d.M(c)},j.preload=function(c,a){if(typeof c=="string"&&typeof a=="object"&&a!==null&&typeof a.as=="string"){var p=a.as,l=u(p,a.crossOrigin);n.d.L(c,p,{crossOrigin:l,integrity:typeof a.integrity=="string"?a.integrity:void 0,nonce:typeof a.nonce=="string"?a.nonce:void 0,type:typeof a.type=="string"?a.type:void 0,fetchPriority:typeof a.fetchPriority=="string"?a.fetchPriority:void 0,referrerPolicy:typeof a.referrerPolicy=="string"?a.referrerPolicy:void 0,imageSrcSet:typeof a.imageSrcSet=="string"?a.imageSrcSet:void 0,imageSizes:typeof a.imageSizes=="string"?a.imageSizes:void 0,media:typeof a.media=="string"?a.media:void 0})}},j.preloadModule=function(c,a){if(typeof c=="string")if(a){var p=u(a.as,a.crossOrigin);n.d.m(c,{as:typeof a.as=="string"&&a.as!=="script"?a.as:void 0,crossOrigin:p,integrity:typeof a.integrity=="string"?a.integrity:void 0})}else n.d.m(c)},j.requestFormReset=function(c){n.d.r(c)},j.unstable_batchedUpdates=function(c,a){return c(a)},j.useFormState=function(c,a,p){return d.H.useFormState(c,a,p)},j.useFormStatus=function(){return d.H.useHostTransitionStatus()},j.version="19.1.1",j}var V={};/**
|
|
31
|
-
* @license React
|
|
32
|
-
* react-dom.development.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 He;function Yr(){return He||(He=1,process.env.NODE_ENV!=="production"&&(function(){function e(){}function t(l){return""+l}function r(l,s,m){var y=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;try{t(y);var v=!1}catch{v=!0}return v&&(console.error("The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",typeof Symbol=="function"&&Symbol.toStringTag&&y[Symbol.toStringTag]||y.constructor.name||"Object"),t(y)),{$$typeof:a,key:y==null?null:""+y,children:l,containerInfo:s,implementation:m}}function n(l,s){if(l==="font")return"";if(typeof s=="string")return s==="use-credentials"?s:""}function o(l){return l===null?"`null`":l===void 0?"`undefined`":l===""?"an empty string":'something with type "'+typeof l+'"'}function i(l){return l===null?"`null`":l===void 0?"`undefined`":l===""?"an empty string":typeof l=="string"?JSON.stringify(l):typeof l=="number"?"`"+l+"`":'something with type "'+typeof l+'"'}function d(){var l=p.H;return l===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:
|
|
39
|
-
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
|
40
|
-
2. You might be breaking the Rules of Hooks
|
|
41
|
-
3. You might have more than one copy of React in the same app
|
|
42
|
-
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`),l}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var u=k,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},a=Symbol.for("react.portal"),p=u.__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"),V.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=c,V.createPortal=function(l,s){var m=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!s||s.nodeType!==1&&s.nodeType!==9&&s.nodeType!==11)throw Error("Target container is not a DOM element.");return r(l,s,null,m)},V.flushSync=function(l){var s=p.T,m=c.p;try{if(p.T=null,c.p=2,l)return l()}finally{p.T=s,c.p=m,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.")}},V.preconnect=function(l,s){typeof l=="string"&&l?s!=null&&typeof s!="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.",i(s)):s!=null&&typeof s.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.",o(s.crossOrigin)):console.error("ReactDOM.preconnect(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(l)),typeof l=="string"&&(s?(s=s.crossOrigin,s=typeof s=="string"?s==="use-credentials"?s:"":void 0):s=null,c.d.C(l,s))},V.prefetchDNS=function(l){if(typeof l!="string"||!l)console.error("ReactDOM.prefetchDNS(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(l));else if(1<arguments.length){var s=arguments[1];typeof s=="object"&&s.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`.",i(s)):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`.",i(s))}typeof l=="string"&&c.d.D(l)},V.preinit=function(l,s){if(typeof l=="string"&&l?s==null||typeof s!="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.",i(s)):s.as!=="style"&&s.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".',i(s.as)):console.error("ReactDOM.preinit(): Expected the `href` argument (first) to be a non-empty string but encountered %s instead.",o(l)),typeof l=="string"&&s&&typeof s.as=="string"){var m=s.as,y=n(m,s.crossOrigin),v=typeof s.integrity=="string"?s.integrity:void 0,E=typeof s.fetchPriority=="string"?s.fetchPriority:void 0;m==="style"?c.d.S(l,typeof s.precedence=="string"?s.precedence:void 0,{crossOrigin:y,integrity:v,fetchPriority:E}):m==="script"&&c.d.X(l,{crossOrigin:y,integrity:v,fetchPriority:E,nonce:typeof s.nonce=="string"?s.nonce:void 0})}},V.preinitModule=function(l,s){var m="";if(typeof l=="string"&&l||(m+=" The `href` argument encountered was "+o(l)+"."),s!==void 0&&typeof s!="object"?m+=" The `options` argument encountered was "+o(s)+".":s&&"as"in s&&s.as!=="script"&&(m+=" The `as` option encountered was "+i(s.as)+"."),m)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",m);else switch(m=s&&typeof s.as=="string"?s.as:"script",m){case"script":break;default:m=i(m),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)',m,l)}typeof l=="string"&&(typeof s=="object"&&s!==null?(s.as==null||s.as==="script")&&(m=n(s.as,s.crossOrigin),c.d.M(l,{crossOrigin:m,integrity:typeof s.integrity=="string"?s.integrity:void 0,nonce:typeof s.nonce=="string"?s.nonce:void 0})):s==null&&c.d.M(l))},V.preload=function(l,s){var m="";if(typeof l=="string"&&l||(m+=" The `href` argument encountered was "+o(l)+"."),s==null||typeof s!="object"?m+=" The `options` argument encountered was "+o(s)+".":typeof s.as=="string"&&s.as||(m+=" The `as` option encountered was "+o(s.as)+"."),m&&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',m),typeof l=="string"&&typeof s=="object"&&s!==null&&typeof s.as=="string"){m=s.as;var y=n(m,s.crossOrigin);c.d.L(l,m,{crossOrigin:y,integrity:typeof s.integrity=="string"?s.integrity:void 0,nonce:typeof s.nonce=="string"?s.nonce:void 0,type:typeof s.type=="string"?s.type:void 0,fetchPriority:typeof s.fetchPriority=="string"?s.fetchPriority:void 0,referrerPolicy:typeof s.referrerPolicy=="string"?s.referrerPolicy:void 0,imageSrcSet:typeof s.imageSrcSet=="string"?s.imageSrcSet:void 0,imageSizes:typeof s.imageSizes=="string"?s.imageSizes:void 0,media:typeof s.media=="string"?s.media:void 0})}},V.preloadModule=function(l,s){var m="";typeof l=="string"&&l||(m+=" The `href` argument encountered was "+o(l)+"."),s!==void 0&&typeof s!="object"?m+=" The `options` argument encountered was "+o(s)+".":s&&"as"in s&&typeof s.as!="string"&&(m+=" The `as` option encountered was "+o(s.as)+"."),m&&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',m),typeof l=="string"&&(s?(m=n(s.as,s.crossOrigin),c.d.m(l,{as:typeof s.as=="string"&&s.as!=="script"?s.as:void 0,crossOrigin:m,integrity:typeof s.integrity=="string"?s.integrity:void 0})):c.d.m(l))},V.requestFormReset=function(l){c.d.r(l)},V.unstable_batchedUpdates=function(l,s){return l(s)},V.useFormState=function(l,s,m){return d().useFormState(l,s,m)},V.useFormStatus=function(){return d().useHostTransitionStatus()},V.version="19.1.1",typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),V}var We;function qr(){if(We)return ye.exports;We=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(t){console.error(t)}}}return process.env.NODE_ENV==="production"?(e(),ye.exports=Wr()):ye.exports=Yr(),ye.exports}qr();function Ye(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function Kr(...e){return t=>{let r=!1;const n=e.map(o=>{const i=Ye(o,t);return!r&&typeof i=="function"&&(r=!0),i});if(r)return()=>{for(let o=0;o<n.length;o++){const i=n[o];typeof i=="function"?i():Ye(e[o],null)}}}}function qe(e){const t=Xr(e),r=_.forwardRef((n,o)=>{const{children:i,...d}=n,u=_.Children.toArray(i),c=u.find(Zr);if(c){const a=c.props.children,p=u.map(l=>l===c?_.Children.count(a)>1?_.Children.only(null):_.isValidElement(a)?a.props.children:null:l);return R.jsx(t,{...d,ref:o,children:_.isValidElement(a)?_.cloneElement(a,void 0,p):null})}return R.jsx(t,{...d,ref:o,children:i})});return r.displayName=`${e}.Slot`,r}var Te=qe("Slot");function Xr(e){const t=_.forwardRef((r,n)=>{const{children:o,...i}=r;if(_.isValidElement(o)){const d=et(o),u=Qr(i,o.props);return o.type!==_.Fragment&&(u.ref=n?Kr(n,d):d),_.cloneElement(o,u)}return _.Children.count(o)>1?_.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var Jr=Symbol("radix.slottable");function Zr(e){return _.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===Jr}function Qr(e,t){const r={...t};for(const n in t){const o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...u)=>{const c=i(...u);return o(...u),c}:o&&(r[n]=o):n==="style"?r[n]={...o,...i}:n==="className"&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}function et(e){let t=Object.getOwnPropertyDescriptor(e.props,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning;return r?e.ref:(t=Object.getOwnPropertyDescriptor(e,"ref")?.get,r=t&&"isReactWarning"in t&&t.isReactWarning,r?e.props.ref:e.props.ref||e.ref)}var rt=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],ve=rt.reduce((e,t)=>{const r=qe(`Primitive.${t}`),n=_.forwardRef((o,i)=>{const{asChild:d,...u}=o,c=d?r:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),R.jsx(c,{...u,ref:i})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{}),he={exports:{}},Re={};/**
|
|
43
|
-
* @license React
|
|
44
|
-
* use-sync-external-store-shim.production.js
|
|
45
|
-
*
|
|
46
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
47
|
-
*
|
|
48
|
-
* This source code is licensed under the MIT license found in the
|
|
49
|
-
* LICENSE file in the root directory of this source tree.
|
|
50
|
-
*/var Ke;function tt(){if(Ke)return Re;Ke=1;var e=k;function t(l,s){return l===s&&(l!==0||1/l===1/s)||l!==l&&s!==s}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,o=e.useEffect,i=e.useLayoutEffect,d=e.useDebugValue;function u(l,s){var m=s(),y=n({inst:{value:m,getSnapshot:s}}),v=y[0].inst,E=y[1];return i(function(){v.value=m,v.getSnapshot=s,c(v)&&E({inst:v})},[l,m,s]),o(function(){return c(v)&&E({inst:v}),l(function(){c(v)&&E({inst:v})})},[l]),d(m),m}function c(l){var s=l.getSnapshot;l=l.value;try{var m=s();return!r(l,m)}catch{return!0}}function a(l,s){return s()}var p=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?a:u;return Re.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:p,Re}var Ce={};/**
|
|
51
|
-
* @license React
|
|
52
|
-
* use-sync-external-store-shim.development.js
|
|
53
|
-
*
|
|
54
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
55
|
-
*
|
|
56
|
-
* This source code is licensed under the MIT license found in the
|
|
57
|
-
* LICENSE file in the root directory of this source tree.
|
|
58
|
-
*/var Xe;function nt(){return Xe||(Xe=1,process.env.NODE_ENV!=="production"&&(function(){function e(m,y){return m===y&&(m!==0||1/m===1/y)||m!==m&&y!==y}function t(m,y){p||o.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 v=y();if(!l){var E=y();i(v,E)||(console.error("The result of getSnapshot should be cached to avoid an infinite loop"),l=!0)}E=d({inst:{value:v,getSnapshot:y}});var P=E[0].inst,U=E[1];return c(function(){P.value=v,P.getSnapshot=y,r(P)&&U({inst:P})},[m,v,y]),u(function(){return r(P)&&U({inst:P}),m(function(){r(P)&&U({inst:P})})},[m]),a(v),v}function r(m){var y=m.getSnapshot;m=m.value;try{var v=y();return!i(m,v)}catch{return!0}}function n(m,y){return y()}typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());var o=k,i=typeof Object.is=="function"?Object.is:e,d=o.useState,u=o.useEffect,c=o.useLayoutEffect,a=o.useDebugValue,p=!1,l=!1,s=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?n:t;Ce.useSyncExternalStore=o.useSyncExternalStore!==void 0?o.useSyncExternalStore:s,typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop=="function"&&__REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error())})()),Ce}var Je;function ot(){return Je||(Je=1,process.env.NODE_ENV==="production"?he.exports=tt():he.exports=nt()),he.exports}var st=ot();function at(){return st.useSyncExternalStore(it,()=>!0,()=>!1)}function it(){return()=>{}}var Ae="Avatar",[lt,Rn]=Ur(Ae),[ct,Ze]=lt(Ae),Qe=_.forwardRef((e,t)=>{const{__scopeAvatar:r,...n}=e,[o,i]=_.useState("idle");return R.jsx(ct,{scope:r,imageLoadingStatus:o,onImageLoadingStatusChange:i,children:R.jsx(ve.span,{...n,ref:t})})});Qe.displayName=Ae;var er="AvatarImage",dt=_.forwardRef((e,t)=>{const{__scopeAvatar:r,src:n,onLoadingStatusChange:o=()=>{},...i}=e,d=Ze(er,r),u=ft(n,i),c=Hr(a=>{o(a),d.onImageLoadingStatusChange(a)});return Oe(()=>{u!=="idle"&&c(u)},[u,c]),u==="loaded"?R.jsx(ve.img,{...i,ref:t,src:n}):null});dt.displayName=er;var rr="AvatarFallback",ut=_.forwardRef((e,t)=>{const{__scopeAvatar:r,delayMs:n,...o}=e,i=Ze(rr,r),[d,u]=_.useState(n===void 0);return _.useEffect(()=>{if(n!==void 0){const c=window.setTimeout(()=>u(!0),n);return()=>window.clearTimeout(c)}},[n]),d&&i.imageLoadingStatus!=="loaded"?R.jsx(ve.span,{...o,ref:t}):null});ut.displayName=rr;function tr(e,t){return e?t?(e.src!==t&&(e.src=t),e.complete&&e.naturalWidth>0?"loaded":"loading"):"error":"idle"}function ft(e,{referrerPolicy:t,crossOrigin:r}){const n=at(),o=_.useRef(null),i=n?(o.current||(o.current=new window.Image),o.current):null,[d,u]=_.useState(()=>tr(i,e));return Oe(()=>{u(tr(i,e))},[i,e]),Oe(()=>{const c=l=>()=>{u(l)};if(!i)return;const a=c("loaded"),p=c("error");return i.addEventListener("load",a),i.addEventListener("error",p),t&&(i.referrerPolicy=t),typeof r=="string"&&(i.crossOrigin=r),()=>{i.removeEventListener("load",a),i.removeEventListener("error",p)}},[i,r,t]),d}var mt=Qe;function nr(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(r=nr(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function or(){for(var e,t,r=0,n="",o=arguments.length;r<o;r++)(e=arguments[r])&&(t=nr(e))&&(n&&(n+=" "),n+=t);return n}const Ne="-",pt=e=>{const t=bt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:n}=e;return{getClassGroupId:d=>{const u=d.split(Ne);return u[0]===""&&u.length!==1&&u.shift(),sr(u,t)||gt(d)},getConflictingClassGroupIds:(d,u)=>{const c=r[d]||[];return u&&n[d]?[...c,...n[d]]:c}}},sr=(e,t)=>{if(e.length===0)return t.classGroupId;const r=e[0],n=t.nextPart.get(r),o=n?sr(e.slice(1),n):void 0;if(o)return o;if(t.validators.length===0)return;const i=e.join(Ne);return t.validators.find(({validator:d})=>d(i))?.classGroupId},ar=/^\[(.+)\]$/,gt=e=>{if(ar.test(e)){const t=ar.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}},bt=e=>{const{theme:t,classGroups:r}=e,n={nextPart:new Map,validators:[]};for(const o in r)Pe(r[o],n,o,t);return n},Pe=(e,t,r,n)=>{e.forEach(o=>{if(typeof o=="string"){const i=o===""?t:ir(t,o);i.classGroupId=r;return}if(typeof o=="function"){if(yt(o)){Pe(o(n),t,r,n);return}t.validators.push({validator:o,classGroupId:r});return}Object.entries(o).forEach(([i,d])=>{Pe(d,ir(t,i),r,n)})})},ir=(e,t)=>{let r=e;return t.split(Ne).forEach(n=>{r.nextPart.has(n)||r.nextPart.set(n,{nextPart:new Map,validators:[]}),r=r.nextPart.get(n)}),r},yt=e=>e.isThemeGetter,vt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,n=new Map;const o=(i,d)=>{r.set(i,d),t++,t>e&&(t=0,n=r,r=new Map)};return{get(i){let d=r.get(i);if(d!==void 0)return d;if((d=n.get(i))!==void 0)return o(i,d),d},set(i,d){r.has(i)?r.set(i,d):o(i,d)}}},Me="!",Le=":",ht=Le.length,xt=e=>{const{prefix:t,experimentalParseClassName:r}=e;let n=o=>{const i=[];let d=0,u=0,c=0,a;for(let y=0;y<o.length;y++){let v=o[y];if(d===0&&u===0){if(v===Le){i.push(o.slice(c,y)),c=y+ht;continue}if(v==="/"){a=y;continue}}v==="["?d++:v==="]"?d--:v==="("?u++:v===")"&&u--}const p=i.length===0?o:o.substring(c),l=wt(p),s=l!==p,m=a&&a>c?a-c:void 0;return{modifiers:i,hasImportantModifier:s,baseClassName:l,maybePostfixModifierPosition:m}};if(t){const o=t+Le,i=n;n=d=>d.startsWith(o)?i(d.substring(o.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:d,maybePostfixModifierPosition:void 0}}if(r){const o=n;n=i=>r({className:i,parseClassName:o})}return n},wt=e=>e.endsWith(Me)?e.substring(0,e.length-1):e.startsWith(Me)?e.substring(1):e,_t=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(n=>[n,!0]));return n=>{if(n.length<=1)return n;const o=[];let i=[];return n.forEach(d=>{d[0]==="["||t[d]?(o.push(...i.sort(),d),i=[]):i.push(d)}),o.push(...i.sort()),o}},St=e=>({cache:vt(e.cacheSize),parseClassName:xt(e),sortModifiers:_t(e),...pt(e)}),kt=/\s+/,Et=(e,t)=>{const{parseClassName:r,getClassGroupId:n,getConflictingClassGroupIds:o,sortModifiers:i}=t,d=[],u=e.trim().split(kt);let c="";for(let a=u.length-1;a>=0;a-=1){const p=u[a],{isExternal:l,modifiers:s,hasImportantModifier:m,baseClassName:y,maybePostfixModifierPosition:v}=r(p);if(l){c=p+(c.length>0?" "+c:c);continue}let E=!!v,P=n(E?y.substring(0,v):y);if(!P){if(!E){c=p+(c.length>0?" "+c:c);continue}if(P=n(y),!P){c=p+(c.length>0?" "+c:c);continue}E=!1}const U=i(s).join(":"),M=m?U+Me:U,F=M+P;if(d.includes(F))continue;d.push(F);const B=o(P,E);for(let $=0;$<B.length;++$){const X=B[$];d.push(M+X)}c=p+(c.length>0?" "+c:c)}return c};function Ot(){let e=0,t,r,n="";for(;e<arguments.length;)(t=arguments[e++])&&(r=lr(t))&&(n&&(n+=" "),n+=r);return n}const lr=e=>{if(typeof e=="string")return e;let t,r="";for(let n=0;n<e.length;n++)e[n]&&(t=lr(e[n]))&&(r&&(r+=" "),r+=t);return r};function Tt(e,...t){let r,n,o,i=d;function d(c){const a=t.reduce((p,l)=>l(p),e());return r=St(a),n=r.cache.get,o=r.cache.set,i=u,u(c)}function u(c){const a=n(c);if(a)return a;const p=Et(c,r);return o(c,p),p}return function(){return i(Ot.apply(null,arguments))}}const L=e=>{const t=r=>r[e]||[];return t.isThemeGetter=!0,t},cr=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,dr=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Rt=/^\d+\/\d+$/,Ct=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,At=/\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$/,Nt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,Pt=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Mt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,oe=e=>Rt.test(e),S=e=>!!e&&!Number.isNaN(Number(e)),Z=e=>!!e&&Number.isInteger(Number(e)),De=e=>e.endsWith("%")&&S(e.slice(0,-1)),K=e=>Ct.test(e),Lt=()=>!0,Dt=e=>At.test(e)&&!Nt.test(e),ur=()=>!1,It=e=>Pt.test(e),jt=e=>Mt.test(e),Vt=e=>!g(e)&&!b(e),Ft=e=>se(e,br,ur),g=e=>cr.test(e),ee=e=>se(e,yr,Dt),Ie=e=>se(e,Bt,S),fr=e=>se(e,pr,ur),zt=e=>se(e,gr,jt),xe=e=>se(e,vr,It),b=e=>dr.test(e),ue=e=>ae(e,yr),Gt=e=>ae(e,Ht),mr=e=>ae(e,pr),$t=e=>ae(e,br),Ut=e=>ae(e,gr),we=e=>ae(e,vr,!0),se=(e,t,r)=>{const n=cr.exec(e);return n?n[1]?t(n[1]):r(n[2]):!1},ae=(e,t,r=!1)=>{const n=dr.exec(e);return n?n[1]?t(n[1]):r:!1},pr=e=>e==="position"||e==="percentage",gr=e=>e==="image"||e==="url",br=e=>e==="length"||e==="size"||e==="bg-size",yr=e=>e==="length",Bt=e=>e==="number",Ht=e=>e==="family-name",vr=e=>e==="shadow",Wt=Tt(()=>{const e=L("color"),t=L("font"),r=L("text"),n=L("font-weight"),o=L("tracking"),i=L("leading"),d=L("breakpoint"),u=L("container"),c=L("spacing"),a=L("radius"),p=L("shadow"),l=L("inset-shadow"),s=L("text-shadow"),m=L("drop-shadow"),y=L("blur"),v=L("perspective"),E=L("aspect"),P=L("ease"),U=L("animate"),M=()=>["auto","avoid","all","avoid-page","page","left","right","column"],F=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],B=()=>[...F(),b,g],$=()=>["auto","hidden","clip","visible","scroll"],X=()=>["auto","contain","none"],x=()=>[b,g,c],W=()=>[oe,"full","auto",...x()],Se=()=>[Z,"none","subgrid",b,g],ie=()=>["auto",{span:["full",Z,b,g]},Z,b,g],te=()=>[Z,"auto",b,g],ke=()=>["auto","min","max","fr",b,g],ne=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],J=()=>["start","end","center","stretch","center-safe","end-safe"],H=()=>["auto",...x()],q=()=>[oe,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...x()],h=()=>[e,b,g],pe=()=>[...F(),mr,fr,{position:[b,g]}],f=()=>["no-repeat",{repeat:["","x","y","space","round"]}],w=()=>["auto","cover","contain",$t,Ft,{size:[b,g]}],C=()=>[De,ue,ee],O=()=>["","none","full",a,b,g],A=()=>["",S,ue,ee],z=()=>["solid","dashed","dotted","double"],le=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],N=()=>[S,De,mr,fr],D=()=>["","none",y,b,g],Y=()=>["none",S,b,g],Q=()=>["none",S,b,g],ge=()=>[S,b,g],Ee=()=>[oe,"full",...x()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[K],breakpoint:[K],color:[Lt],container:[K],"drop-shadow":[K],ease:["in","out","in-out"],font:[Vt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[K],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[K],shadow:[K],spacing:["px",S],text:[K],"text-shadow":[K],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",oe,g,b,E]}],container:["container"],columns:[{columns:[S,g,b,u]}],"break-after":[{"break-after":M()}],"break-before":[{"break-before":M()}],"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:B()}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:X()}],"overscroll-x":[{"overscroll-x":X()}],"overscroll-y":[{"overscroll-y":X()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset: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:[Z,"auto",b,g]}],basis:[{basis:[oe,"full","auto",u,...x()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[S,oe,"auto","initial","none",g]}],grow:[{grow:["",S,b,g]}],shrink:[{shrink:["",S,b,g]}],order:[{order:[Z,"first","last","none",b,g]}],"grid-cols":[{"grid-cols":Se()}],"col-start-end":[{col:ie()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":Se()}],"row-start-end":[{row:ie()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":ke()}],"auto-rows":[{"auto-rows":ke()}],gap:[{gap:x()}],"gap-x":[{"gap-x":x()}],"gap-y":[{"gap-y":x()}],"justify-content":[{justify:[...ne(),"normal"]}],"justify-items":[{"justify-items":[...J(),"normal"]}],"justify-self":[{"justify-self":["auto",...J()]}],"align-content":[{content:["normal",...ne()]}],"align-items":[{items:[...J(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...J(),{baseline:["","last"]}]}],"place-content":[{"place-content":ne()}],"place-items":[{"place-items":[...J(),"baseline"]}],"place-self":[{"place-self":["auto",...J()]}],p:[{p:x()}],px:[{px:x()}],py:[{py:x()}],ps:[{ps:x()}],pe:[{pe:x()}],pt:[{pt:x()}],pr:[{pr:x()}],pb:[{pb:x()}],pl:[{pl:x()}],m:[{m:H()}],mx:[{mx:H()}],my:[{my:H()}],ms:[{ms:H()}],me:[{me:H()}],mt:[{mt:H()}],mr:[{mr:H()}],mb:[{mb:H()}],ml:[{ml:H()}],"space-x":[{"space-x":x()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":x()}],"space-y-reverse":["space-y-reverse"],size:[{size:q()}],w:[{w:[u,"screen",...q()]}],"min-w":[{"min-w":[u,"screen","none",...q()]}],"max-w":[{"max-w":[u,"screen","none","prose",{screen:[d]},...q()]}],h:[{h:["screen","lh",...q()]}],"min-h":[{"min-h":["screen","lh","none",...q()]}],"max-h":[{"max-h":["screen","lh",...q()]}],"font-size":[{text:["base",r,ue,ee]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[n,b,Ie]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",De,g]}],"font-family":[{font:[Gt,g,t]}],"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:[o,b,g]}],"line-clamp":[{"line-clamp":[S,"none",b,Ie]}],leading:[{leading:[i,...x()]}],"list-image":[{"list-image":["none",b,g]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",b,g]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:h()}],"text-color":[{text:h()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...z(),"wavy"]}],"text-decoration-thickness":[{decoration:[S,"from-font","auto",b,ee]}],"text-decoration-color":[{decoration:h()}],"underline-offset":[{"underline-offset":[S,"auto",b,g]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:x()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",b,g]}],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,g]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:pe()}],"bg-repeat":[{bg:f()}],"bg-size":[{bg:w()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Z,b,g],radial:["",b,g],conic:[Z,b,g]},Ut,zt]}],"bg-color":[{bg:h()}],"gradient-from-pos":[{from:C()}],"gradient-via-pos":[{via:C()}],"gradient-to-pos":[{to:C()}],"gradient-from":[{from:h()}],"gradient-via":[{via:h()}],"gradient-to":[{to:h()}],rounded:[{rounded:O()}],"rounded-s":[{"rounded-s":O()}],"rounded-e":[{"rounded-e":O()}],"rounded-t":[{"rounded-t":O()}],"rounded-r":[{"rounded-r":O()}],"rounded-b":[{"rounded-b":O()}],"rounded-l":[{"rounded-l":O()}],"rounded-ss":[{"rounded-ss":O()}],"rounded-se":[{"rounded-se":O()}],"rounded-ee":[{"rounded-ee":O()}],"rounded-es":[{"rounded-es":O()}],"rounded-tl":[{"rounded-tl":O()}],"rounded-tr":[{"rounded-tr":O()}],"rounded-br":[{"rounded-br":O()}],"rounded-bl":[{"rounded-bl":O()}],"border-w":[{border:A()}],"border-w-x":[{"border-x":A()}],"border-w-y":[{"border-y":A()}],"border-w-s":[{"border-s":A()}],"border-w-e":[{"border-e":A()}],"border-w-t":[{"border-t":A()}],"border-w-r":[{"border-r":A()}],"border-w-b":[{"border-b":A()}],"border-w-l":[{"border-l":A()}],"divide-x":[{"divide-x":A()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":A()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...z(),"hidden","none"]}],"divide-style":[{divide:[...z(),"hidden","none"]}],"border-color":[{border:h()}],"border-color-x":[{"border-x":h()}],"border-color-y":[{"border-y":h()}],"border-color-s":[{"border-s":h()}],"border-color-e":[{"border-e":h()}],"border-color-t":[{"border-t":h()}],"border-color-r":[{"border-r":h()}],"border-color-b":[{"border-b":h()}],"border-color-l":[{"border-l":h()}],"divide-color":[{divide:h()}],"outline-style":[{outline:[...z(),"none","hidden"]}],"outline-offset":[{"outline-offset":[S,b,g]}],"outline-w":[{outline:["",S,ue,ee]}],"outline-color":[{outline:h()}],shadow:[{shadow:["","none",p,we,xe]}],"shadow-color":[{shadow:h()}],"inset-shadow":[{"inset-shadow":["none",l,we,xe]}],"inset-shadow-color":[{"inset-shadow":h()}],"ring-w":[{ring:A()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:h()}],"ring-offset-w":[{"ring-offset":[S,ee]}],"ring-offset-color":[{"ring-offset":h()}],"inset-ring-w":[{"inset-ring":A()}],"inset-ring-color":[{"inset-ring":h()}],"text-shadow":[{"text-shadow":["none",s,we,xe]}],"text-shadow-color":[{"text-shadow":h()}],opacity:[{opacity:[S,b,g]}],"mix-blend":[{"mix-blend":[...le(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":le()}],"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":[S]}],"mask-image-linear-from-pos":[{"mask-linear-from":N()}],"mask-image-linear-to-pos":[{"mask-linear-to":N()}],"mask-image-linear-from-color":[{"mask-linear-from":h()}],"mask-image-linear-to-color":[{"mask-linear-to":h()}],"mask-image-t-from-pos":[{"mask-t-from":N()}],"mask-image-t-to-pos":[{"mask-t-to":N()}],"mask-image-t-from-color":[{"mask-t-from":h()}],"mask-image-t-to-color":[{"mask-t-to":h()}],"mask-image-r-from-pos":[{"mask-r-from":N()}],"mask-image-r-to-pos":[{"mask-r-to":N()}],"mask-image-r-from-color":[{"mask-r-from":h()}],"mask-image-r-to-color":[{"mask-r-to":h()}],"mask-image-b-from-pos":[{"mask-b-from":N()}],"mask-image-b-to-pos":[{"mask-b-to":N()}],"mask-image-b-from-color":[{"mask-b-from":h()}],"mask-image-b-to-color":[{"mask-b-to":h()}],"mask-image-l-from-pos":[{"mask-l-from":N()}],"mask-image-l-to-pos":[{"mask-l-to":N()}],"mask-image-l-from-color":[{"mask-l-from":h()}],"mask-image-l-to-color":[{"mask-l-to":h()}],"mask-image-x-from-pos":[{"mask-x-from":N()}],"mask-image-x-to-pos":[{"mask-x-to":N()}],"mask-image-x-from-color":[{"mask-x-from":h()}],"mask-image-x-to-color":[{"mask-x-to":h()}],"mask-image-y-from-pos":[{"mask-y-from":N()}],"mask-image-y-to-pos":[{"mask-y-to":N()}],"mask-image-y-from-color":[{"mask-y-from":h()}],"mask-image-y-to-color":[{"mask-y-to":h()}],"mask-image-radial":[{"mask-radial":[b,g]}],"mask-image-radial-from-pos":[{"mask-radial-from":N()}],"mask-image-radial-to-pos":[{"mask-radial-to":N()}],"mask-image-radial-from-color":[{"mask-radial-from":h()}],"mask-image-radial-to-color":[{"mask-radial-to":h()}],"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":F()}],"mask-image-conic-pos":[{"mask-conic":[S]}],"mask-image-conic-from-pos":[{"mask-conic-from":N()}],"mask-image-conic-to-pos":[{"mask-conic-to":N()}],"mask-image-conic-from-color":[{"mask-conic-from":h()}],"mask-image-conic-to-color":[{"mask-conic-to":h()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:pe()}],"mask-repeat":[{mask:f()}],"mask-size":[{mask:w()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",b,g]}],filter:[{filter:["","none",b,g]}],blur:[{blur:D()}],brightness:[{brightness:[S,b,g]}],contrast:[{contrast:[S,b,g]}],"drop-shadow":[{"drop-shadow":["","none",m,we,xe]}],"drop-shadow-color":[{"drop-shadow":h()}],grayscale:[{grayscale:["",S,b,g]}],"hue-rotate":[{"hue-rotate":[S,b,g]}],invert:[{invert:["",S,b,g]}],saturate:[{saturate:[S,b,g]}],sepia:[{sepia:["",S,b,g]}],"backdrop-filter":[{"backdrop-filter":["","none",b,g]}],"backdrop-blur":[{"backdrop-blur":D()}],"backdrop-brightness":[{"backdrop-brightness":[S,b,g]}],"backdrop-contrast":[{"backdrop-contrast":[S,b,g]}],"backdrop-grayscale":[{"backdrop-grayscale":["",S,b,g]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[S,b,g]}],"backdrop-invert":[{"backdrop-invert":["",S,b,g]}],"backdrop-opacity":[{"backdrop-opacity":[S,b,g]}],"backdrop-saturate":[{"backdrop-saturate":[S,b,g]}],"backdrop-sepia":[{"backdrop-sepia":["",S,b,g]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":x()}],"border-spacing-x":[{"border-spacing-x":x()}],"border-spacing-y":[{"border-spacing-y":x()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",b,g]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[S,"initial",b,g]}],ease:[{ease:["linear","initial",P,b,g]}],delay:[{delay:[S,b,g]}],animate:[{animate:["none",U,b,g]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[v,b,g]}],"perspective-origin":[{"perspective-origin":B()}],rotate:[{rotate:Y()}],"rotate-x":[{"rotate-x":Y()}],"rotate-y":[{"rotate-y":Y()}],"rotate-z":[{"rotate-z":Y()}],scale:[{scale:Q()}],"scale-x":[{"scale-x":Q()}],"scale-y":[{"scale-y":Q()}],"scale-z":[{"scale-z":Q()}],"scale-3d":["scale-3d"],skew:[{skew:ge()}],"skew-x":[{"skew-x":ge()}],"skew-y":[{"skew-y":ge()}],transform:[{transform:[b,g,"","none","gpu","cpu"]}],"transform-origin":[{origin:B()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:Ee()}],"translate-x":[{"translate-x":Ee()}],"translate-y":[{"translate-y":Ee()}],"translate-z":[{"translate-z":Ee()}],"translate-none":["translate-none"],accent:[{accent:h()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:h()}],"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,g]}],"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":x()}],"scroll-mx":[{"scroll-mx":x()}],"scroll-my":[{"scroll-my":x()}],"scroll-ms":[{"scroll-ms":x()}],"scroll-me":[{"scroll-me":x()}],"scroll-mt":[{"scroll-mt":x()}],"scroll-mr":[{"scroll-mr":x()}],"scroll-mb":[{"scroll-mb":x()}],"scroll-ml":[{"scroll-ml":x()}],"scroll-p":[{"scroll-p":x()}],"scroll-px":[{"scroll-px":x()}],"scroll-py":[{"scroll-py":x()}],"scroll-ps":[{"scroll-ps":x()}],"scroll-pe":[{"scroll-pe":x()}],"scroll-pt":[{"scroll-pt":x()}],"scroll-pr":[{"scroll-pr":x()}],"scroll-pb":[{"scroll-pb":x()}],"scroll-pl":[{"scroll-pl":x()}],"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,g]}],fill:[{fill:["none",...h()]}],"stroke-w":[{stroke:[S,ue,ee,Ie]}],stroke:[{stroke:["none",...h()]}],"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"]}});function I(...e){return Wt(or(e))}function Yt({className:e,...t}){return R.jsx(mt,{"data-slot":"avatar",className:I("relative flex size-8 shrink-0 overflow-hidden rounded-full",e),...t})}const hr=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,xr=or,wr=(e,t)=>r=>{var n;if(t?.variants==null)return xr(e,r?.class,r?.className);const{variants:o,defaultVariants:i}=t,d=Object.keys(o).map(a=>{const p=r?.[a],l=i?.[a];if(p===null)return null;const s=hr(p)||hr(l);return o[a][s]}),u=r&&Object.entries(r).reduce((a,p)=>{let[l,s]=p;return s===void 0||(a[l]=s),a},{}),c=t==null||(n=t.compoundVariants)===null||n===void 0?void 0:n.reduce((a,p)=>{let{class:l,className:s,...m}=p;return Object.entries(m).every(y=>{let[v,E]=y;return Array.isArray(E)?E.includes({...i,...u}[v]):{...i,...u}[v]===E})?[...a,l,s]:a},[]);return xr(e,d,c,r?.class,r?.className)},_r=wr("inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-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 transition-[color,box-shadow] overflow-hidden",{variants:{variant:{default:"border-transparent bg-primary text-primary-foreground [a&]:hover:bg-primary/90",secondary:"border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",destructive:"border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",outline:"text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground"}},defaultVariants:{variant:"default"}});function qt({className:e,variant:t,asChild:r=!1,...n}){const o=r?Te:"span";return R.jsx(o,{"data-slot":"badge",className:I(_r({variant:t}),e),...n})}const Sr=wr("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 Kt({className:e,variant:t,size:r,asChild:n=!1,...o}){const i=n?Te:"button";return R.jsx(i,{"data-slot":"button",className:I(Sr({variant:t,size:r,className:e})),...o})}function Xt({className:e,...t}){return R.jsx("div",{"data-slot":"card",className:I("bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm",e),...t})}function Jt({className:e,...t}){return R.jsx("div",{"data-slot":"card-header",className:I("@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),...t})}function Zt({className:e,...t}){return R.jsx("div",{"data-slot":"card-title",className:I("leading-none font-semibold",e),...t})}function Qt({className:e,...t}){return R.jsx("div",{"data-slot":"card-description",className:I("text-muted-foreground text-sm",e),...t})}function en({className:e,...t}){return R.jsx("div",{"data-slot":"card-action",className:I("col-start-2 row-span-2 row-start-1 self-start justify-self-end",e),...t})}function rn({className:e,...t}){return R.jsx("div",{"data-slot":"card-content",className:I("px-6",e),...t})}function tn({className:e,...t}){return R.jsx("div",{"data-slot":"card-footer",className:I("flex items-center px-6 [.border-t]:pt-6",e),...t})}var nn="Label",kr=_.forwardRef((e,t)=>R.jsx(ve.label,{...e,ref:t,onMouseDown:r=>{r.target.closest("button, input, select, textarea")||(e.onMouseDown?.(r),!r.defaultPrevented&&r.detail>1&&r.preventDefault())}}));kr.displayName=nn;var on=kr,sn=e=>e.type==="checkbox",fe=e=>e instanceof Date,je=e=>e==null;const Er=e=>typeof e=="object";var re=e=>!je(e)&&!Array.isArray(e)&&Er(e)&&!fe(e),an=e=>re(e)&&e.target?sn(e.target)?e.target.checked:e.target.value:e,ln=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,cn=(e,t)=>e.has(ln(t)),dn=e=>{const t=e.constructor&&e.constructor.prototype;return re(t)&&t.hasOwnProperty("isPrototypeOf")},un=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function Or(e){let t;const r=Array.isArray(e),n=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(!(un&&(e instanceof Blob||n))&&(r||re(e)))if(t=r?[]:Object.create(Object.getPrototypeOf(e)),!r&&!dn(e))t=e;else for(const o in e)e.hasOwnProperty(o)&&(t[o]=Or(e[o]));else return e;return t}var Tr=e=>/^\w*$/.test(e),Ve=e=>e===void 0,fn=e=>Array.isArray(e)?e.filter(Boolean):[],Rr=e=>fn(e.replace(/["|']|\]/g,"").split(/\.|\[/)),G=(e,t,r)=>{if(!t||!re(e))return r;const n=(Tr(t)?[t]:Rr(t)).reduce((o,i)=>je(o)?o:o[i],e);return Ve(n)||n===e?Ve(e[t])?r:e[t]:n},Fe=e=>typeof e=="boolean",Cr=(e,t,r)=>{let n=-1;const o=Tr(t)?[t]:Rr(t),i=o.length,d=i-1;for(;++n<i;){const u=o[n];let c=r;if(n!==d){const a=e[u];c=re(a)||Array.isArray(a)?a:isNaN(+o[n+1])?{}:[]}if(u==="__proto__"||u==="constructor"||u==="prototype")return;e[u]=c,e=e[u]}};const Ar={BLUR:"blur",CHANGE:"change"},Nr={all:"all"},ze=k.createContext(null);ze.displayName="HookFormContext";const _e=()=>k.useContext(ze),mn=e=>{const{children:t,...r}=e;return k.createElement(ze.Provider,{value:r},t)};var pn=(e,t,r,n=!0)=>{const o={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(o,i,{get:()=>{const d=i;return t._proxyFormState[d]!==Nr.all&&(t._proxyFormState[d]=!n||Nr.all),r&&(r[d]=!0),e[d]}});return o};const Pr=typeof window<"u"?k.useLayoutEffect:k.useEffect;function Mr(e){const t=_e(),{control:r=t.control,disabled:n,name:o,exact:i}=e||{},[d,u]=k.useState(r._formState),c=k.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1});return Pr(()=>r._subscribe({name:o,formState:c.current,exact:i,callback:a=>{!n&&u({...r._formState,...a})}}),[o,n,i]),k.useEffect(()=>{c.current.isValid&&r._setValid(!0)},[r]),k.useMemo(()=>pn(d,r,c.current,!1),[d,r])}var gn=e=>typeof e=="string",bn=(e,t,r,n,o)=>gn(e)?G(r,e,o):Array.isArray(e)?e.map(i=>G(r,i)):r,Lr=e=>je(e)||!Er(e);function Dr(e,t,r=new WeakSet){if(Lr(e)||Lr(t))return e===t;if(fe(e)&&fe(t))return e.getTime()===t.getTime();const n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;if(r.has(e)||r.has(t))return!0;r.add(e),r.add(t);for(const i of n){const d=e[i];if(!o.includes(i))return!1;if(i!=="ref"){const u=t[i];if(fe(d)&&fe(u)||re(d)&&re(u)||Array.isArray(d)&&Array.isArray(u)?!Dr(d,u,r):d!==u)return!1}}return!0}function yn(e){const t=_e(),{control:r=t.control,name:n,defaultValue:o,disabled:i,exact:d,compute:u}=e||{},c=k.useRef(o),a=k.useRef(u),p=k.useRef(void 0);a.current=u;const l=k.useMemo(()=>r._getWatch(n,c.current),[r,n]),[s,m]=k.useState(a.current?a.current(l):l);return Pr(()=>r._subscribe({name:n,formState:{values:!0},exact:d,callback:y=>{if(!i){const v=bn(n,r._names,y.values||r._formValues,!1,c.current);if(a.current){const E=a.current(v);Dr(E,p.current)||(m(E),p.current=E)}else m(v)}}}),[r,i,n,d]),k.useEffect(()=>r._removeUnmounted()),s}function vn(e){const t=_e(),{name:r,disabled:n,control:o=t.control,shouldUnregister:i,defaultValue:d}=e,u=cn(o._names.array,r),c=k.useMemo(()=>G(o._formValues,r,G(o._defaultValues,r,d)),[o,r,d]),a=yn({control:o,name:r,defaultValue:c,exact:!0}),p=Mr({control:o,name:r,exact:!0}),l=k.useRef(e),s=k.useRef(void 0),m=k.useRef(o.register(r,{...e.rules,value:a,...Fe(e.disabled)?{disabled:e.disabled}:{}}));l.current=e;const y=k.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!G(p.errors,r)},isDirty:{enumerable:!0,get:()=>!!G(p.dirtyFields,r)},isTouched:{enumerable:!0,get:()=>!!G(p.touchedFields,r)},isValidating:{enumerable:!0,get:()=>!!G(p.validatingFields,r)},error:{enumerable:!0,get:()=>G(p.errors,r)}}),[p,r]),v=k.useCallback(M=>m.current.onChange({target:{value:an(M),name:r},type:Ar.CHANGE}),[r]),E=k.useCallback(()=>m.current.onBlur({target:{value:G(o._formValues,r),name:r},type:Ar.BLUR}),[r,o._formValues]),P=k.useCallback(M=>{const F=G(o._fields,r);F&&M&&(F._f.ref={focus:()=>M.focus&&M.focus(),select:()=>M.select&&M.select(),setCustomValidity:B=>M.setCustomValidity(B),reportValidity:()=>M.reportValidity()})},[o._fields,r]),U=k.useMemo(()=>({name:r,value:a,...Fe(n)||p.disabled?{disabled:p.disabled||n}:{},onChange:v,onBlur:E,ref:P}),[r,n,p.disabled,v,E,P,a]);return k.useEffect(()=>{const M=o._options.shouldUnregister||i,F=s.current;F&&F!==r&&!u&&o.unregister(F),o.register(r,{...l.current.rules,...Fe(l.current.disabled)?{disabled:l.current.disabled}:{}});const B=($,X)=>{const x=G(o._fields,$);x&&x._f&&(x._f.mount=X)};if(B(r,!0),M){const $=Or(G(o._options.defaultValues,r));Cr(o._defaultValues,r,$),Ve(G(o._formValues,r))&&Cr(o._formValues,r,$)}return!u&&o.register(r),s.current=r,()=>{(u?M&&!o._state.action:M)?o.unregister(r):B(r,!1)}},[r,o,u,i]),k.useEffect(()=>{o._setDisabledField({disabled:n,name:r})},[n,r,o]),k.useMemo(()=>({field:U,formState:p,fieldState:y}),[U,p,y])}const hn=e=>e.render(vn(e));function Ir({className:e,...t}){return R.jsx(on,{"data-slot":"label",className:I("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),...t})}const xn=mn,jr=_.createContext({}),wn=({...e})=>R.jsx(jr.Provider,{value:{name:e.name},children:R.jsx(hn,{...e})}),me=()=>{const e=_.useContext(jr),t=_.useContext(Vr),{getFieldState:r}=_e(),n=Mr({name:e.name}),o=r(e.name,n);if(!e)throw new Error("useFormField should be used within <FormField>");const{id:i}=t;return{id:i,name:e.name,formItemId:`${i}-form-item`,formDescriptionId:`${i}-form-item-description`,formMessageId:`${i}-form-item-message`,...o}},Vr=_.createContext({});function _n({className:e,...t}){const r=_.useId();return R.jsx(Vr.Provider,{value:{id:r},children:R.jsx("div",{"data-slot":"form-item",className:I("grid gap-2",e),...t})})}function Sn({className:e,...t}){const{error:r,formItemId:n}=me();return R.jsx(Ir,{"data-slot":"form-label","data-error":!!r,className:I("data-[error=true]:text-destructive",e),htmlFor:n,...t})}function kn({...e}){const{error:t,formItemId:r,formDescriptionId:n,formMessageId:o}=me();return R.jsx(Te,{"data-slot":"form-control",id:r,"aria-describedby":t?`${n} ${o}`:`${n}`,"aria-invalid":!!t,...e})}function En({className:e,...t}){const{formDescriptionId:r}=me();return R.jsx("p",{"data-slot":"form-description",id:r,className:I("text-muted-foreground text-sm",e),...t})}function On({className:e,...t}){const{error:r,formMessageId:n}=me(),o=r?String(r?.message??""):t.children;return o?R.jsx("p",{"data-slot":"form-message",id:n,className:I("text-destructive text-sm",e),...t,children:o}):null}function Tn({className:e,type:t,...r}){return R.jsx("input",{type:t,"data-slot":"input",className:I("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),...r})}T.Avatar=Yt,T.Badge=qt,T.Button=Kt,T.Card=Xt,T.CardAction=en,T.CardContent=rn,T.CardDescription=Qt,T.CardFooter=tn,T.CardHeader=Jt,T.CardTitle=Zt,T.Form=xn,T.FormControl=kn,T.FormDescription=En,T.FormField=wn,T.FormItem=_n,T.FormLabel=Sn,T.FormMessage=On,T.Input=Tn,T.Label=Ir,T.badgeVariants=_r,T.buttonVariants=Sr,T.cn=I,T.useFormField=me,Object.defineProperty(T,Symbol.toStringTag,{value:"Module"})}));
|