@undp/design-system-react
Version:
React based design system for UNDP
117 lines • 784 kB
JavaScript
(function(O,E){typeof exports=="object"&&typeof module<"u"?E(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],E):(O=typeof globalThis<"u"?globalThis:O||self,E(O.undpDesignSystem={},O.React,O.ReactDOM))})(this,function(O,E,s9){"use strict";function Ko(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const g=Ko(E),pr=Ko(s9);function Y0(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var l9={exports:{}},mr={};/**
* @license React
* react-jsx-runtime.production.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var qo;function Y6(){if(qo)return mr;qo=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.fragment");function n(r,i,o){var a=null;if(o!==void 0&&(a=""+o),i.key!==void 0&&(a=""+i.key),"key"in i){o={};for(var s in i)s!=="key"&&(o[s]=i[s])}else o=i;return i=o.ref,{$$typeof:e,type:r,key:a,ref:i!==void 0?i:null,props:o}}return mr.Fragment=t,mr.jsx=n,mr.jsxs=n,mr}var gr={};/**
* @license React
* react-jsx-runtime.development.js
*
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var ea;function U6(){return ea||(ea=1,process.env.NODE_ENV!=="production"&&function(){function e(w){if(w==null)return null;if(typeof w=="function")return w.$$typeof===M?null:w.displayName||w.name||null;if(typeof w=="string")return w;switch(w){case h:return"Fragment";case v:return"Profiler";case b:return"StrictMode";case V:return"Suspense";case I:return"SuspenseList";case N:return"Activity"}if(typeof w=="object")switch(typeof w.tag=="number"&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),w.$$typeof){case C:return"Portal";case x:return(w.displayName||"Context")+".Provider";case y:return(w._context.displayName||"Context")+".Consumer";case H:var $=w.render;return w=w.displayName,w||(w=$.displayName||$.name||"",w=w!==""?"ForwardRef("+w+")":"ForwardRef"),w;case S:return $=w.displayName||null,$!==null?$:e(w.type)||"Memo";case A:$=w._payload,w=w._init;try{return e(w($))}catch{}}return null}function t(w){return""+w}function n(w){try{t(w);var $=!1}catch{$=!0}if($){$=console;var J=$.error,k=typeof Symbol=="function"&&Symbol.toStringTag&&w[Symbol.toStringTag]||w.constructor.name||"Object";return J.call($,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",k),t(w)}}function r(w){if(w===h)return"<>";if(typeof w=="object"&&w!==null&&w.$$typeof===A)return"<...>";try{var $=e(w);return $?"<"+$+">":"<...>"}catch{return"<...>"}}function i(){var w=T.A;return w===null?null:w.getOwner()}function o(){return Error("react-stack-top-frame")}function a(w){if(R.call(w,"key")){var $=Object.getOwnPropertyDescriptor(w,"key").get;if($&&$.isReactWarning)return!1}return w.key!==void 0}function s(w,$){function J(){F||(F=!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)",$))}J.isReactWarning=!0,Object.defineProperty(w,"key",{get:J,configurable:!0})}function l(){var w=e(this.type);return B[w]||(B[w]=!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.")),w=this.props.ref,w!==void 0?w:null}function u(w,$,J,k,q,ne,K,G){return J=ne.ref,w={$$typeof:p,type:w,key:$,props:ne,_owner:q},(J!==void 0?J:null)!==null?Object.defineProperty(w,"ref",{enumerable:!1,get:l}):Object.defineProperty(w,"ref",{enumerable:!1,value:null}),w._store={},Object.defineProperty(w._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(w,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(w,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:K}),Object.defineProperty(w,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:G}),Object.freeze&&(Object.freeze(w.props),Object.freeze(w)),w}function c(w,$,J,k,q,ne,K,G){var Q=$.children;if(Q!==void 0)if(k)if(Z(Q)){for(k=0;k<Q.length;k++)d(Q[k]);Object.freeze&&Object.freeze(Q)}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 d(Q);if(R.call($,"key")){Q=e(w);var ie=Object.keys($).filter(function(se){return se!=="key"});k=0<ie.length?"{key: someKey, "+ie.join(": ..., ")+": ...}":"{key: someKey}",_[Q+k]||(ie=0<ie.length?"{"+ie.join(": ..., ")+": ...}":"{}",console.error(`A props object containing a "key" prop is being spread into JSX:
let props = %s;
<%s {...props} />
React keys must be passed directly to JSX without using spread:
let props = %s;
<%s key={someKey} {...props} />`,k,Q,ie,Q),_[Q+k]=!0)}if(Q=null,J!==void 0&&(n(J),Q=""+J),a($)&&(n($.key),Q=""+$.key),"key"in $){J={};for(var ee in $)ee!=="key"&&(J[ee]=$[ee])}else J=$;return Q&&s(J,typeof w=="function"?w.displayName||w.name||"Unknown":w),u(w,Q,ne,q,i(),J,K,G)}function d(w){typeof w=="object"&&w!==null&&w.$$typeof===p&&w._store&&(w._store.validated=1)}var m=E,p=Symbol.for("react.transitional.element"),C=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),b=Symbol.for("react.strict_mode"),v=Symbol.for("react.profiler"),y=Symbol.for("react.consumer"),x=Symbol.for("react.context"),H=Symbol.for("react.forward_ref"),V=Symbol.for("react.suspense"),I=Symbol.for("react.suspense_list"),S=Symbol.for("react.memo"),A=Symbol.for("react.lazy"),N=Symbol.for("react.activity"),M=Symbol.for("react.client.reference"),T=m.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,R=Object.prototype.hasOwnProperty,Z=Array.isArray,P=console.createTask?console.createTask:function(){return null};m={"react-stack-bottom-frame":function(w){return w()}};var F,B={},W=m["react-stack-bottom-frame"].bind(m,o)(),D=P(r(o)),_={};gr.Fragment=h,gr.jsx=function(w,$,J,k,q){var ne=1e4>T.recentlyCreatedOwnerStacks++;return c(w,$,J,!1,k,q,ne?Error("react-stack-top-frame"):W,ne?P(r(w)):D)},gr.jsxs=function(w,$,J,k,q){var ne=1e4>T.recentlyCreatedOwnerStacks++;return c(w,$,J,!0,k,q,ne?Error("react-stack-top-frame"):W,ne?P(r(w)):D)}}()),gr}var ta;function J6(){return ta||(ta=1,process.env.NODE_ENV==="production"?l9.exports=Y6():l9.exports=U6()),l9.exports}var f=J6();function Q6(e,t){const n=g.createContext(t),r=o=>{const{children:a,...s}=o,l=g.useMemo(()=>s,Object.values(s));return f.jsx(n.Provider,{value:l,children:a})};r.displayName=e+"Provider";function i(o){const a=g.useContext(n);if(a)return a;if(t!==void 0)return t;throw new Error(`\`${o}\` must be used within \`${e}\``)}return[r,i]}function je(e,t=[]){let n=[];function r(o,a){const s=g.createContext(a),l=n.length;n=[...n,a];const u=d=>{var v;const{scope:m,children:p,...C}=d,h=((v=m==null?void 0:m[e])==null?void 0:v[l])||s,b=g.useMemo(()=>C,Object.values(C));return f.jsx(h.Provider,{value:b,children:p})};u.displayName=o+"Provider";function c(d,m){var h;const p=((h=m==null?void 0:m[e])==null?void 0:h[l])||s,C=g.useContext(p);if(C)return C;if(a!==void 0)return a;throw new Error(`\`${d}\` must be used within \`${o}\``)}return[u,c]}const i=()=>{const o=n.map(a=>g.createContext(a));return function(s){const l=(s==null?void 0:s[e])||o;return g.useMemo(()=>({[`__scope${e}`]:{...s,[e]:l}}),[s,l])}};return i.scopeName=e,[r,K6(i,...t)]}function K6(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(i=>({useScope:i(),scopeName:i.scopeName}));return function(o){const a=r.reduce((s,{useScope:l,scopeName:u})=>{const d=l(o)[`__scope${u}`];return{...s,...d}},{});return g.useMemo(()=>({[`__scope${t.scopeName}`]:a}),[a])}};return n.scopeName=t.scopeName,n}function na(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function u9(...e){return t=>{let n=!1;const r=e.map(i=>{const o=na(i,t);return!n&&typeof o=="function"&&(n=!0),o});if(n)return()=>{for(let i=0;i<r.length;i++){const o=r[i];typeof o=="function"?o():na(e[i],null)}}}}function me(...e){return g.useCallback(u9(...e),e)}function Cn(e){const t=q6(e),n=g.forwardRef((r,i)=>{const{children:o,...a}=r,s=g.Children.toArray(o),l=s.find(t5);if(l){const u=l.props.children,c=s.map(d=>d===l?g.Children.count(u)>1?g.Children.only(null):g.isValidElement(u)?u.props.children:null:d);return f.jsx(t,{...a,ref:i,children:g.isValidElement(u)?g.cloneElement(u,void 0,c):null})}return f.jsx(t,{...a,ref:i,children:o})});return n.displayName=`${e}.Slot`,n}function q6(e){const t=g.forwardRef((n,r)=>{const{children:i,...o}=n,a=g.isValidElement(i)?r5(i):void 0,s=me(a,r);if(g.isValidElement(i)){const l=n5(o,i.props);return i.type!==g.Fragment&&(l.ref=s),g.cloneElement(i,l)}return g.Children.count(i)>1?g.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var ra=Symbol("radix.slottable");function e5(e){const t=({children:n})=>f.jsx(f.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=ra,t}function t5(e){return g.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===ra}function n5(e,t){const n={...t};for(const r in t){const i=e[r],o=t[r];/^on[A-Z]/.test(r)?i&&o?n[r]=(...s)=>{const l=o(...s);return i(...s),l}:i&&(n[r]=i):r==="style"?n[r]={...i,...o}:r==="className"&&(n[r]=[i,o].filter(Boolean).join(" "))}return{...e,...n}}function r5(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}function hr(e){const t=e+"CollectionProvider",[n,r]=je(t),[i,o]=n(t,{collectionRef:{current:null},itemMap:new Map}),a=h=>{const{scope:b,children:v}=h,y=E.useRef(null),x=E.useRef(new Map).current;return f.jsx(i,{scope:b,itemMap:x,collectionRef:y,children:v})};a.displayName=t;const s=e+"CollectionSlot",l=Cn(s),u=E.forwardRef((h,b)=>{const{scope:v,children:y}=h,x=o(s,v),H=me(b,x.collectionRef);return f.jsx(l,{ref:H,children:y})});u.displayName=s;const c=e+"CollectionItemSlot",d="data-radix-collection-item",m=Cn(c),p=E.forwardRef((h,b)=>{const{scope:v,children:y,...x}=h,H=E.useRef(null),V=me(b,H),I=o(c,v);return E.useEffect(()=>(I.itemMap.set(H,{ref:H,...x}),()=>void I.itemMap.delete(H))),f.jsx(m,{[d]:"",ref:V,children:y})});p.displayName=c;function C(h){const b=o(e+"CollectionConsumer",h);return E.useCallback(()=>{const y=b.collectionRef.current;if(!y)return[];const x=Array.from(y.querySelectorAll(`[${d}]`));return Array.from(b.itemMap.values()).sort((I,S)=>x.indexOf(I.ref.current)-x.indexOf(S.ref.current))},[b.collectionRef,b.itemMap])}return[{Provider:a,Slot:u,ItemSlot:p},C,r]}function X(e,t,{checkForDefaultPrevented:n=!0}={}){return function(i){if(e==null||e(i),n===!1||!i.defaultPrevented)return t==null?void 0:t(i)}}var Be=globalThis!=null&&globalThis.document?g.useLayoutEffect:()=>{},i5=g[" useInsertionEffect ".trim().toString()]||Be;function $e({prop:e,defaultProp:t,onChange:n=()=>{},caller:r}){const[i,o,a]=o5({defaultProp:t,onChange:n}),s=e!==void 0,l=s?e:i;{const c=g.useRef(e!==void 0);g.useEffect(()=>{const d=c.current;d!==s&&console.warn(`${r} is changing from ${d?"controlled":"uncontrolled"} to ${s?"controlled":"uncontrolled"}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`),c.current=s},[s,r])}const u=g.useCallback(c=>{var d;if(s){const m=a5(c)?c(e):c;m!==e&&((d=a.current)==null||d.call(a,m))}else o(c)},[s,e,o,a]);return[l,u]}function o5({defaultProp:e,onChange:t}){const[n,r]=g.useState(e),i=g.useRef(n),o=g.useRef(t);return i5(()=>{o.current=t},[t]),g.useEffect(()=>{var a;i.current!==n&&((a=o.current)==null||a.call(o,n),i.current=n)},[n,i]),[n,r,o]}function a5(e){return typeof e=="function"}var s5=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"],re=s5.reduce((e,t)=>{const n=Cn(`Primitive.${t}`),r=g.forwardRef((i,o)=>{const{asChild:a,...s}=i,l=a?n:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),f.jsx(l,{...s,ref:o})});return r.displayName=`Primitive.${t}`,{...e,[t]:r}},{});function U0(e,t){e&&pr.flushSync(()=>e.dispatchEvent(t))}function l5(e,t){return g.useReducer((n,r)=>t[n][r]??n,e)}var _e=e=>{const{present:t,children:n}=e,r=u5(t),i=typeof n=="function"?n({present:r.isPresent}):g.Children.only(n),o=me(r.ref,c5(i));return typeof n=="function"||r.isPresent?g.cloneElement(i,{ref:o}):null};_e.displayName="Presence";function u5(e){const[t,n]=g.useState(),r=g.useRef(null),i=g.useRef(e),o=g.useRef("none"),a=e?"mounted":"unmounted",[s,l]=l5(a,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return g.useEffect(()=>{const u=c9(r.current);o.current=s==="mounted"?u:"none"},[s]),Be(()=>{const u=r.current,c=i.current;if(c!==e){const m=o.current,p=c9(u);e?l("MOUNT"):p==="none"||(u==null?void 0:u.display)==="none"?l("UNMOUNT"):l(c&&m!==p?"ANIMATION_OUT":"UNMOUNT"),i.current=e}},[e,l]),Be(()=>{if(t){let u;const c=t.ownerDocument.defaultView??window,d=p=>{const h=c9(r.current).includes(p.animationName);if(p.target===t&&h&&(l("ANIMATION_END"),!i.current)){const b=t.style.animationFillMode;t.style.animationFillMode="forwards",u=c.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=b)})}},m=p=>{p.target===t&&(o.current=c9(r.current))};return t.addEventListener("animationstart",m),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{c.clearTimeout(u),t.removeEventListener("animationstart",m),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else l("ANIMATION_END")},[t,l]),{isPresent:["mounted","unmountSuspended"].includes(s),ref:g.useCallback(u=>{r.current=u?getComputedStyle(u):null,n(u)},[])}}function c9(e){return(e==null?void 0:e.animationName)||"none"}function c5(e){var r,i;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(i=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:i.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var d5=g[" useId ".trim().toString()]||(()=>{}),f5=0;function Je(e){const[t,n]=g.useState(d5());return Be(()=>{n(r=>r??String(f5++))},[e]),t?`radix-${t}`:""}var d9="Collapsible",[p5,ia]=je(d9),[m5,J0]=p5(d9),oa=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,open:r,defaultOpen:i,disabled:o,onOpenChange:a,...s}=e,[l,u]=$e({prop:r,defaultProp:i??!1,onChange:a,caller:d9});return f.jsx(m5,{scope:n,disabled:o,contentId:Je(),open:l,onOpenToggle:g.useCallback(()=>u(c=>!c),[u]),children:f.jsx(re.div,{"data-state":K0(l),"data-disabled":o?"":void 0,...s,ref:t})})});oa.displayName=d9;var aa="CollapsibleTrigger",sa=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,...r}=e,i=J0(aa,n);return f.jsx(re.button,{type:"button","aria-controls":i.contentId,"aria-expanded":i.open||!1,"data-state":K0(i.open),"data-disabled":i.disabled?"":void 0,disabled:i.disabled,...r,ref:t,onClick:X(e.onClick,i.onOpenToggle)})});sa.displayName=aa;var Q0="CollapsibleContent",la=g.forwardRef((e,t)=>{const{forceMount:n,...r}=e,i=J0(Q0,e.__scopeCollapsible);return f.jsx(_e,{present:n||i.open,children:({present:o})=>f.jsx(g5,{...r,ref:t,present:o})})});la.displayName=Q0;var g5=g.forwardRef((e,t)=>{const{__scopeCollapsible:n,present:r,children:i,...o}=e,a=J0(Q0,n),[s,l]=g.useState(r),u=g.useRef(null),c=me(t,u),d=g.useRef(0),m=d.current,p=g.useRef(0),C=p.current,h=a.open||s,b=g.useRef(h),v=g.useRef(void 0);return g.useEffect(()=>{const y=requestAnimationFrame(()=>b.current=!1);return()=>cancelAnimationFrame(y)},[]),Be(()=>{const y=u.current;if(y){v.current=v.current||{transitionDuration:y.style.transitionDuration,animationName:y.style.animationName},y.style.transitionDuration="0s",y.style.animationName="none";const x=y.getBoundingClientRect();d.current=x.height,p.current=x.width,b.current||(y.style.transitionDuration=v.current.transitionDuration,y.style.animationName=v.current.animationName),l(r)}},[a.open,r]),f.jsx(re.div,{"data-state":K0(a.open),"data-disabled":a.disabled?"":void 0,id:a.contentId,hidden:!h,...o,ref:c,style:{"--radix-collapsible-content-height":m?`${m}px`:void 0,"--radix-collapsible-content-width":C?`${C}px`:void 0,...e.style},children:h&&i})});function K0(e){return e?"open":"closed"}var h5=oa,C5=sa,b5=la,v5=g.createContext(void 0);function Nn(e){const t=g.useContext(v5);return e||t||"ltr"}var xt="Accordion",y5=["Home","End","ArrowDown","ArrowUp","ArrowLeft","ArrowRight"],[q0,x5,w5]=hr(xt),[f9,vA]=je(xt,[w5,ia]),e2=ia(),ua=E.forwardRef((e,t)=>{const{type:n,...r}=e,i=r,o=r;return f.jsx(q0.Provider,{scope:e.__scopeAccordion,children:n==="multiple"?f.jsx(H5,{...o,ref:t}):f.jsx(k5,{...i,ref:t})})});ua.displayName=xt;var[ca,V5]=f9(xt),[da,I5]=f9(xt,{collapsible:!1}),k5=E.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},collapsible:o=!1,...a}=e,[s,l]=$e({prop:n,defaultProp:r??"",onChange:i,caller:xt});return f.jsx(ca,{scope:e.__scopeAccordion,value:E.useMemo(()=>s?[s]:[],[s]),onItemOpen:l,onItemClose:E.useCallback(()=>o&&l(""),[o,l]),children:f.jsx(da,{scope:e.__scopeAccordion,collapsible:o,children:f.jsx(fa,{...a,ref:t})})})}),H5=E.forwardRef((e,t)=>{const{value:n,defaultValue:r,onValueChange:i=()=>{},...o}=e,[a,s]=$e({prop:n,defaultProp:r??[],onChange:i,caller:xt}),l=E.useCallback(c=>s((d=[])=>[...d,c]),[s]),u=E.useCallback(c=>s((d=[])=>d.filter(m=>m!==c)),[s]);return f.jsx(ca,{scope:e.__scopeAccordion,value:a,onItemOpen:l,onItemClose:u,children:f.jsx(da,{scope:e.__scopeAccordion,collapsible:!0,children:f.jsx(fa,{...o,ref:t})})})}),[M5,p9]=f9(xt),fa=E.forwardRef((e,t)=>{const{__scopeAccordion:n,disabled:r,dir:i,orientation:o="vertical",...a}=e,s=E.useRef(null),l=me(s,t),u=x5(n),d=Nn(i)==="ltr",m=X(e.onKeyDown,p=>{var A;if(!y5.includes(p.key))return;const C=p.target,h=u().filter(N=>{var M;return!((M=N.ref.current)!=null&&M.disabled)}),b=h.findIndex(N=>N.ref.current===C),v=h.length;if(b===-1)return;p.preventDefault();let y=b;const x=0,H=v-1,V=()=>{y=b+1,y>H&&(y=x)},I=()=>{y=b-1,y<x&&(y=H)};switch(p.key){case"Home":y=x;break;case"End":y=H;break;case"ArrowRight":o==="horizontal"&&(d?V():I());break;case"ArrowDown":o==="vertical"&&V();break;case"ArrowLeft":o==="horizontal"&&(d?I():V());break;case"ArrowUp":o==="vertical"&&I();break}const S=y%v;(A=h[S].ref.current)==null||A.focus()});return f.jsx(M5,{scope:n,disabled:r,direction:i,orientation:o,children:f.jsx(q0.Slot,{scope:n,children:f.jsx(re.div,{...a,"data-orientation":o,ref:l,onKeyDown:r?void 0:m})})})}),m9="AccordionItem",[S5,t2]=f9(m9),pa=E.forwardRef((e,t)=>{const{__scopeAccordion:n,value:r,...i}=e,o=p9(m9,n),a=V5(m9,n),s=e2(n),l=Je(),u=r&&a.value.includes(r)||!1,c=o.disabled||e.disabled;return f.jsx(S5,{scope:n,open:u,disabled:c,triggerId:l,children:f.jsx(h5,{"data-orientation":o.orientation,"data-state":va(u),...s,...i,ref:t,disabled:c,open:u,onOpenChange:d=>{d?a.onItemOpen(r):a.onItemClose(r)}})})});pa.displayName=m9;var ma="AccordionHeader",ga=E.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=p9(xt,n),o=t2(ma,n);return f.jsx(re.h3,{"data-orientation":i.orientation,"data-state":va(o.open),"data-disabled":o.disabled?"":void 0,...r,ref:t})});ga.displayName=ma;var n2="AccordionTrigger",ha=E.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=p9(xt,n),o=t2(n2,n),a=I5(n2,n),s=e2(n);return f.jsx(q0.ItemSlot,{scope:n,children:f.jsx(C5,{"aria-disabled":o.open&&!a.collapsible||void 0,"data-orientation":i.orientation,id:o.triggerId,...s,...r,ref:t})})});ha.displayName=n2;var Ca="AccordionContent",ba=E.forwardRef((e,t)=>{const{__scopeAccordion:n,...r}=e,i=p9(xt,n),o=t2(Ca,n),a=e2(n);return f.jsx(b5,{role:"region","aria-labelledby":o.triggerId,"data-orientation":i.orientation,...a,...r,ref:t,style:{"--radix-accordion-content-height":"var(--radix-collapsible-content-height)","--radix-accordion-content-width":"var(--radix-collapsible-content-width)",...e.style}})});ba.displayName=Ca;function va(e){return e?"open":"closed"}var ya=ua,E5=pa,A5=ga,xa=ha,wa=ba;/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const L5=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),P5=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,r)=>r?r.toUpperCase():n.toLowerCase()),Va=e=>{const t=P5(e);return t.charAt(0).toUpperCase()+t.slice(1)},Ia=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/var T5={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"};/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const R5=E.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:i="",children:o,iconNode:a,...s},l)=>E.createElement("svg",{ref:l,...T5,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Ia("lucide",i),...s},[...a.map(([u,c])=>E.createElement(u,c)),...Array.isArray(o)?o:[o]]));/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const nt=(e,t)=>{const n=E.forwardRef(({className:r,...i},o)=>E.createElement(R5,{ref:o,iconNode:t,className:Ia(`lucide-${L5(Va(e))}`,`lucide-${e}`,r),...i}));return n.displayName=Va(e),n};/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const g9=nt("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const h9=nt("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const ka=nt("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const r2=nt("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const N5=nt("chevron-up",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const D5=nt("circle-check-big",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const O5=nt("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const F5=nt("circle",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ha=nt("ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Z5=nt("menu",[["line",{x1:"4",x2:"20",y1:"12",y2:"12",key:"1e0a9i"}],["line",{x1:"4",x2:"20",y1:"6",y2:"6",key:"1owob3"}],["line",{x1:"4",x2:"20",y1:"18",y2:"18",key:"yk5zj1"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Ma=nt("search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const j5=nt("trash-2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const B5=nt("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const _5=nt("upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]);/**
* @license lucide-react v0.488.0 - ISC
*
* This source code is licensed under the ISC license.
* See the LICENSE file in the root directory of this source tree.
*/const Cr=nt("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);function Sa(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=Sa(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Ea(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=Sa(e))&&(r&&(r+=" "),r+=t);return r}const Aa=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,La=Ea,Ce=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return La(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:i,defaultVariants:o}=t,a=Object.keys(i).map(u=>{const c=n==null?void 0:n[u],d=o==null?void 0:o[u];if(c===null)return null;const m=Aa(c)||Aa(d);return i[u][m]}),s=n&&Object.entries(n).reduce((u,c)=>{let[d,m]=c;return m===void 0||(u[d]=m),u},{}),l=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((u,c)=>{let{class:d,className:m,...p}=c;return Object.entries(p).every(C=>{let[h,b]=C;return Array.isArray(b)?b.includes({...o,...s}[h]):{...o,...s}[h]===b})?[...u,d,m]:u},[]);return La(e,a,l,n==null?void 0:n.class,n==null?void 0:n.className)},i2="-",G5=e=>{const t=W5(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{const s=a.split(i2);return s[0]===""&&s.length!==1&&s.shift(),Pa(s,t)||z5(a)},getConflictingClassGroupIds:(a,s)=>{const l=n[a]||[];return s&&r[a]?[...l,...r[a]]:l}}},Pa=(e,t)=>{var a;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),i=r?Pa(e.slice(1),r):void 0;if(i)return i;if(t.validators.length===0)return;const o=e.join(i2);return(a=t.validators.find(({validator:s})=>s(o)))==null?void 0:a.classGroupId},Ta=/^\[(.+)\]$/,z5=e=>{if(Ta.test(e)){const t=Ta.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},W5=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const i in n)o2(n[i],r,i,t);return r},o2=(e,t,n,r)=>{e.forEach(i=>{if(typeof i=="string"){const o=i===""?t:Ra(t,i);o.classGroupId=n;return}if(typeof i=="function"){if(X5(i)){o2(i(r),t,n,r);return}t.validators.push({validator:i,classGroupId:n});return}Object.entries(i).forEach(([o,a])=>{o2(a,Ra(t,o),n,r)})})},Ra=(e,t)=>{let n=e;return t.split(i2).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},X5=e=>e.isThemeGetter,$5=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const i=(o,a)=>{n.set(o,a),t++,t>e&&(t=0,r=n,n=new Map)};return{get(o){let a=n.get(o);if(a!==void 0)return a;if((a=r.get(o))!==void 0)return i(o,a),a},set(o,a){n.has(o)?n.set(o,a):i(o,a)}}},a2="!",s2=":",Y5=s2.length,U5=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=i=>{const o=[];let a=0,s=0,l=0,u;for(let C=0;C<i.length;C++){let h=i[C];if(a===0&&s===0){if(h===s2){o.push(i.slice(l,C)),l=C+Y5;continue}if(h==="/"){u=C;continue}}h==="["?a++:h==="]"?a--:h==="("?s++:h===")"&&s--}const c=o.length===0?i:i.substring(l),d=J5(c),m=d!==c,p=u&&u>l?u-l:void 0;return{modifiers:o,hasImportantModifier:m,baseClassName:d,maybePostfixModifierPosition:p}};if(t){const i=t+s2,o=r;r=a=>a.startsWith(i)?o(a.substring(i.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:a,maybePostfixModifierPosition:void 0}}if(n){const i=r;r=o=>n({className:o,parseClassName:i})}return r},J5=e=>e.endsWith(a2)?e.substring(0,e.length-1):e.startsWith(a2)?e.substring(1):e,Q5=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map(r=>[r,!0]));return r=>{if(r.length<=1)return r;const i=[];let o=[];return r.forEach(a=>{a[0]==="["||t[a]?(i.push(...o.sort(),a),o=[]):o.push(a)}),i.push(...o.sort()),i}},K5=e=>({cache:$5(e.cacheSize),parseClassName:U5(e),sortModifiers:Q5(e),...G5(e)}),q5=/\s+/,ef=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:o}=t,a=[],s=e.trim().split(q5);let l="";for(let u=s.length-1;u>=0;u-=1){const c=s[u],{isExternal:d,modifiers:m,hasImportantModifier:p,baseClassName:C,maybePostfixModifierPosition:h}=n(c);if(d){l=c+(l.length>0?" "+l:l);continue}let b=!!h,v=r(b?C.substring(0,h):C);if(!v){if(!b){l=c+(l.length>0?" "+l:l);continue}if(v=r(C),!v){l=c+(l.length>0?" "+l:l);continue}b=!1}const y=o(m).join(":"),x=p?y+a2:y,H=x+v;if(a.includes(H))continue;a.push(H);const V=i(v,b);for(let I=0;I<V.length;++I){const S=V[I];a.push(x+S)}l=c+(l.length>0?" "+l:l)}return l};function tf(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Na(t))&&(r&&(r+=" "),r+=n);return r}const Na=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Na(e[r]))&&(n&&(n+=" "),n+=t);return n};function nf(e,...t){let n,r,i,o=a;function a(l){const u=t.reduce((c,d)=>d(c),e());return n=K5(u),r=n.cache.get,i=n.cache.set,o=s,s(l)}function s(l){const u=r(l);if(u)return u;const c=ef(l,n);return i(l,c),c}return function(){return o(tf.apply(null,arguments))}}const Fe=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Da=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Oa=/^\((?:(\w[\w-]*):)?(.+)\)$/i,rf=/^\d+\/\d+$/,of=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,af=/\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$/,sf=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,lf=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,uf=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,Dn=e=>rf.test(e),he=e=>!!e&&!Number.isNaN(Number(e)),Kt=e=>!!e&&Number.isInteger(Number(e)),l2=e=>e.endsWith("%")&&he(e.slice(0,-1)),jt=e=>of.test(e),cf=()=>!0,df=e=>af.test(e)&&!sf.test(e),Fa=()=>!1,ff=e=>lf.test(e),pf=e=>uf.test(e),mf=e=>!oe(e)&&!ae(e),gf=e=>On(e,Ga,Fa),oe=e=>Da.test(e),bn=e=>On(e,za,df),u2=e=>On(e,yf,he),Za=e=>On(e,Ba,Fa),hf=e=>On(e,_a,pf),C9=e=>On(e,Wa,ff),ae=e=>Oa.test(e),br=e=>Fn(e,za),Cf=e=>Fn(e,xf),ja=e=>Fn(e,Ba),bf=e=>Fn(e,Ga),vf=e=>Fn(e,_a),b9=e=>Fn(e,Wa,!0),On=(e,t,n)=>{const r=Da.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Fn=(e,t,n=!1)=>{const r=Oa.exec(e);return r?r[1]?t(r[1]):n:!1},Ba=e=>e==="position"||e==="percentage",_a=e=>e==="image"||e==="url",Ga=e=>e==="length"||e==="size"||e==="bg-size",za=e=>e==="length",yf=e=>e==="number",xf=e=>e==="family-name",Wa=e=>e==="shadow",wf=nf(()=>{const e=Fe("color"),t=Fe("font"),n=Fe("text"),r=Fe("font-weight"),i=Fe("tracking"),o=Fe("leading"),a=Fe("breakpoint"),s=Fe("container"),l=Fe("spacing"),u=Fe("radius"),c=Fe("shadow"),d=Fe("inset-shadow"),m=Fe("text-shadow"),p=Fe("drop-shadow"),C=Fe("blur"),h=Fe("perspective"),b=Fe("aspect"),v=Fe("ease"),y=Fe("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],H=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],V=()=>[...H(),ae,oe],I=()=>["auto","hidden","clip","visible","scroll"],S=()=>["auto","contain","none"],A=()=>[ae,oe,l],N=()=>[Dn,"full","auto",...A()],M=()=>[Kt,"none","subgrid",ae,oe],T=()=>["auto",{span:["full",Kt,ae,oe]},Kt,ae,oe],R=()=>[Kt,"auto",ae,oe],Z=()=>["auto","min","max","fr",ae,oe],P=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],F=()=>["start","end","center","stretch","center-safe","end-safe"],B=()=>["auto",...A()],W=()=>[Dn,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...A()],D=()=>[e,ae,oe],_=()=>[...H(),ja,Za,{position:[ae,oe]}],w=()=>["no-repeat",{repeat:["","x","y","space","round"]}],$=()=>["auto","cover","contain",bf,gf,{size:[ae,oe]}],J=()=>[l2,br,bn],k=()=>["","none","full",u,ae,oe],q=()=>["",he,br,bn],ne=()=>["solid","dashed","dotted","double"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],G=()=>[he,l2,ja,Za],Q=()=>["","none",C,ae,oe],ie=()=>["none",he,ae,oe],ee=()=>["none",he,ae,oe],se=()=>[he,ae,oe],z=()=>[Dn,"full",...A()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[jt],breakpoint:[jt],color:[cf],container:[jt],"drop-shadow":[jt],ease:["in","out","in-out"],font:[mf],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[jt],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[jt],shadow:[jt],spacing:["px",he],text:[jt],"text-shadow":[jt],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",Dn,oe,ae,b]}],container:["container"],columns:[{columns:[he,oe,ae,s]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"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:V()}],overflow:[{overflow:I()}],"overflow-x":[{"overflow-x":I()}],"overflow-y":[{"overflow-y":I()}],overscroll:[{overscroll:S()}],"overscroll-x":[{"overscroll-x":S()}],"overscroll-y":[{"overscroll-y":S()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:N()}],"inset-x":[{"inset-x":N()}],"inset-y":[{"inset-y":N()}],start:[{start:N()}],end:[{end:N()}],top:[{top:N()}],right:[{right:N()}],bottom:[{bottom:N()}],left:[{left:N()}],visibility:["visible","invisible","collapse"],z:[{z:[Kt,"auto",ae,oe]}],basis:[{basis:[Dn,"full","auto",s,...A()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[he,Dn,"auto","initial","none",oe]}],grow:[{grow:["",he,ae,oe]}],shrink:[{shrink:["",he,ae,oe]}],order:[{order:[Kt,"first","last","none",ae,oe]}],"grid-cols":[{"grid-cols":M()}],"col-start-end":[{col:T()}],"col-start":[{"col-start":R()}],"col-end":[{"col-end":R()}],"grid-rows":[{"grid-rows":M()}],"row-start-end":[{row:T()}],"row-start":[{"row-start":R()}],"row-end":[{"row-end":R()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Z()}],"auto-rows":[{"auto-rows":Z()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"justify-content":[{justify:[...P(),"normal"]}],"justify-items":[{"justify-items":[...F(),"normal"]}],"justify-self":[{"justify-self":["auto",...F()]}],"align-content":[{content:["normal",...P()]}],"align-items":[{items:[...F(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...F(),{baseline:["","last"]}]}],"place-content":[{"place-content":P()}],"place-items":[{"place-items":[...F(),"baseline"]}],"place-self":[{"place-self":["auto",...F()]}],p:[{p:A()}],px:[{px:A()}],py:[{py:A()}],ps:[{ps:A()}],pe:[{pe:A()}],pt:[{pt:A()}],pr:[{pr:A()}],pb:[{pb:A()}],pl:[{pl:A()}],m:[{m:B()}],mx:[{mx:B()}],my:[{my:B()}],ms:[{ms:B()}],me:[{me:B()}],mt:[{mt:B()}],mr:[{mr:B()}],mb:[{mb:B()}],ml:[{ml:B()}],"space-x":[{"space-x":A()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":A()}],"space-y-reverse":["space-y-reverse"],size:[{size:W()}],w:[{w:[s,"screen",...W()]}],"min-w":[{"min-w":[s,"screen","none",...W()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},...W()]}],h:[{h:["screen","lh",...W()]}],"min-h":[{"min-h":["screen","lh","none",...W()]}],"max-h":[{"max-h":["screen","lh",...W()]}],"font-size":[{text:["base",n,br,bn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,ae,u2]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",l2,oe]}],"font-family":[{font:[Cf,oe,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:[i,ae,oe]}],"line-clamp":[{"line-clamp":[he,"none",ae,u2]}],leading:[{leading:[o,...A()]}],"list-image":[{"list-image":["none",ae,oe]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",ae,oe]}],"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:[...ne(),"wavy"]}],"text-decoration-thickness":[{decoration:[he,"from-font","auto",ae,bn]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[he,"auto",ae,oe]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:A()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ae,oe]}],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",ae,oe]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:_()}],"bg-repeat":[{bg:w()}],"bg-size":[{bg:$()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},Kt,ae,oe],radial:["",ae,oe],conic:[Kt,ae,oe]},vf,hf]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:J()}],"gradient-via-pos":[{via:J()}],"gradient-to-pos":[{to:J()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],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:q()}],"border-w-x":[{"border-x":q()}],"border-w-y":[{"border-y":q()}],"border-w-s":[{"border-s":q()}],"border-w-e":[{"border-e":q()}],"border-w-t":[{"border-t":q()}],"border-w-r":[{"border-r":q()}],"border-w-b":[{"border-b":q()}],"border-w-l":[{"border-l":q()}],"divide-x":[{"divide-x":q()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":q()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...ne(),"hidden","none"]}],"divide-style":[{divide:[...ne(),"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:[...ne(),"none","hidden"]}],"outline-offset":[{"outline-offset":[he,ae,oe]}],"outline-w":[{outline:["",he,br,bn]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",c,b9,C9]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",d,b9,C9]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:q()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[he,bn]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":q()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",m,b9,C9]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[he,ae,oe]}],"mix-blend":[{"mix-blend":[...K(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":K()}],"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":[he]}],"mask-image-linear-from-pos":[{"mask-linear-from":G()}],"mask-image-linear-to-pos":[{"mask-linear-to":G()}],"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":G()}],"mask-image-t-to-pos":[{"mask-t-to":G()}],"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":G()}],"mask-image-r-to-pos":[{"mask-r-to":G()}],"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":G()}],"mask-image-b-to-pos":[{"mask-b-to":G()}],"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":G()}],"mask-image-l-to-pos":[{"mask-l-to":G()}],"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":G()}],"mask-image-x-to-pos":[{"mask-x-to":G()}],"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":G()}],"mask-image-y-to-pos":[{"mask-y-to":G()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[ae,oe]}],"mask-image-radial-from-pos":[{"mask-radial-from":G()}],"mask-image-radial-to-pos":[{"mask-radial-to":G()}],"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":H()}],"mask-image-conic-pos":[{"mask-conic":[he]}],"mask-image-conic-from-pos":[{"mask-conic-from":G()}],"mask-image-conic-to-pos":[{"mask-conic-to":G()}],"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:_()}],"mask-repeat":[{mask:w()}],"mask-size":[{mask:$()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",ae,oe]}],filter:[{filter:["","none",ae,oe]}],blur:[{blur:Q()}],brightness:[{brightness:[he,ae,oe]}],contrast:[{contrast:[he,ae,oe]}],"drop-shadow":[{"drop-shadow":["","none",p,b9,C9]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",he,ae,oe]}],"hue-rotate":[{"hue-rotate":[he,ae,oe]}],invert:[{invert:["",he,ae,oe]}],saturate:[{saturate:[he,ae,oe]}],sepia:[{sepia:["",he,ae,oe]}],"backdrop-filter":[{"backdrop-filter":["","none",ae,oe]}],"backdrop-blur":[{"backdrop-blur":Q()}],"backdrop-brightness":[{"backdrop-brightness":[he,ae,oe]}],"backdrop-contrast":[{"backdrop-contrast":[he,ae,oe]}],"backdrop-grayscale":[{"backdrop-grayscale":["",he,ae,oe]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[he,ae,oe]}],"backdrop-invert":[{"backdrop-invert":["",he,ae,oe]}],"backdrop-opacity":[{"backdrop-opacity":[he,ae,oe]}],"backdrop-saturate":[{"backdrop-saturate":[he,ae,oe]}],"backdrop-sepia":[{"backdrop-sepia":["",he,ae,oe]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":A()}],"border-spacing-x":[{"border-spacing-x":A()}],"border-spacing-y":[{"border-spacing-y":A()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",ae,oe]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[he,"initial",ae,oe]}],ease:[{ease:["linear","initial",v,ae,oe]}],delay:[{delay:[he,ae,oe]}],animate:[{animate:["none",y,ae,oe]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[h,ae,oe]}],"perspective-origin":[{"perspective-origin":V()}],rotate:[{rotate:ie()}],"rotate-x":[{"rotate-x":ie()}],"rotate-y":[{"rotate-y":ie()}],"rotate-z":[{"rotate-z":ie()}],scale:[{scale:ee()}],"scale-x":[{"scale-x":ee()}],"scale-y":[{"scale-y":ee()}],"scale-z":[{"scale-z":ee()}],"scale-3d":["scale-3d"],skew:[{skew:se()}],"skew-x":[{"skew-x":se()}],"skew-y":[{"skew-y":se()}],transform:[{transform:[ae,oe,"","none","gpu","cpu"]}],"transform-origin":[{origin:V()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:z()}],"translate-x":[{"translate-x":z()}],"translate-y":[{"translate-y":z()}],"translate-z":[{"translate-z":z()}],"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",ae,oe]}],"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":A()}],"scroll-mx":[{"scroll-mx":A()}],"scroll-my":[{"scroll-my":A()}],"scroll-ms":[{"scroll-ms":A()}],"scroll-me":[{"scroll-me":A()}],"scroll-mt":[{"scroll-mt":A()}],"scroll-mr":[{"scroll-mr":A()}],"scroll-mb":[{"scroll-mb":A()}],"scroll-ml":[{"scroll-ml":A()}],"scroll-p":[{"scroll-p":A()}],"scroll-px":[{"scroll-px":A()}],"scroll-py":[{"scroll-py":A()}],"scroll-ps":[{"scroll-ps":A()}],"scroll-pe":[{"scroll-pe":A()}],"scroll-pt":[{"scroll-pt":A()}],"scroll-pr":[{"scroll-pr":A()}],"scroll-pb":[{"scroll-pb":A()}],"scroll-pl":[{"scroll-pl":A()}],"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"]}