@zimyo/ui 1.8.0 → 1.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/dist/AppList/index.esm.js +5 -5
  2. package/dist/Badge/index.esm.js +1 -1
  3. package/dist/BulkActionsBar/index.d.ts +23 -0
  4. package/dist/BulkActionsBar/index.esm.js +26 -0
  5. package/dist/Card/index.d.ts +29 -1
  6. package/dist/Card/index.esm.js +1 -1
  7. package/dist/DatePicker/index.esm.js +5 -5
  8. package/dist/DateRangePicker/index.esm.js +5 -5
  9. package/dist/Form/index.esm.js +2 -2
  10. package/dist/Popover/index.esm.js +1 -1
  11. package/dist/Table/index.d.ts +80 -0
  12. package/dist/Table/index.esm.js +27 -0
  13. package/dist/Tabs/index.d.ts +15 -27
  14. package/dist/Tabs/index.esm.js +1 -1
  15. package/dist/index.d.ts +144 -3
  16. package/dist/index.esm.js +5 -5
  17. package/package.json +14 -23
  18. package/dist/Accordion/index.js +0 -27
  19. package/dist/AppList/index.js +0 -26
  20. package/dist/Badge/index.js +0 -1
  21. package/dist/Button/index.js +0 -1
  22. package/dist/Card/index.js +0 -1
  23. package/dist/Checkbox/index.js +0 -27
  24. package/dist/CheckboxGroup/index.js +0 -26
  25. package/dist/DatePicker/index.js +0 -26
  26. package/dist/DateRangePicker/index.js +0 -26
  27. package/dist/Form/index.js +0 -26
  28. package/dist/GlobalMenuSearch/index.js +0 -27
  29. package/dist/Input/index.js +0 -27
  30. package/dist/Modal/index.js +0 -27
  31. package/dist/Notice/index.js +0 -26
  32. package/dist/Popover/index.js +0 -1
  33. package/dist/PopupConfirm/index.js +0 -27
  34. package/dist/Radio/index.js +0 -1
  35. package/dist/RadioGroup/index.js +0 -1
  36. package/dist/Select/index.js +0 -27
  37. package/dist/Switch/index.js +0 -1
  38. package/dist/Tabs/index.js +0 -1
  39. package/dist/Typography/index.js +0 -1
  40. package/dist/index.js +0 -27
  41. package/dist/theme/index.js +0 -1
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@zimyo/ui",
3
- "version": "1.8.0",
3
+ "version": "1.9.1",
4
4
  "description": "Zimyo UI library built on MUI Material",
5
- "main": "dist/index.js",
5
+ "type": "module",
6
6
  "module": "dist/index.esm.js",
7
7
  "types": "dist/index.d.ts",
8
8
  "author": "Zimyo Team <developer@zimyo.com>",
@@ -15,107 +15,94 @@
15
15
  "exports": {
16
16
  ".": {
17
17
  "import": "./dist/index.esm.js",
18
- "require": "./dist/index.js",
19
18
  "types": "./dist/index.d.ts"
20
19
  },
21
20
  "./Button": {
22
21
  "import": "./dist/Button/index.esm.js",
23
- "require": "./dist/Button/index.js",
24
22
  "types": "./dist/Button/index.d.ts"
25
23
  },
26
24
  "./Popover": {
27
25
  "import": "./dist/Popover/index.esm.js",
28
- "require": "./dist/Popover/index.js",
29
26
  "types": "./dist/Popover/index.d.ts"
30
27
  },
31
28
  "./Typography": {
32
29
  "import": "./dist/Typography/index.esm.js",
33
- "require": "./dist/Typography/index.js",
34
30
  "types": "./dist/Typography/index.d.ts"
35
31
  },
36
32
  "./Card": {
37
33
  "import": "./dist/Card/index.esm.js",
38
- "require": "./dist/Card/index.js",
39
34
  "types": "./dist/Card/index.d.ts"
40
35
  },
41
36
  "./Accordion": {
42
37
  "import": "./dist/Accordion/index.esm.js",
43
- "require": "./dist/Accordion/index.js",
44
38
  "types": "./dist/Accordion/index.d.ts"
45
39
  },
46
40
  "./Select": {
47
41
  "import": "./dist/Select/index.esm.js",
48
- "require": "./dist/Select/index.js",
49
42
  "types": "./dist/Select/index.d.ts"
50
43
  },
51
44
  "./Switch": {
52
45
  "import": "./dist/Switch/index.esm.js",
53
- "require": "./dist/Switch/index.js",
54
46
  "types": "./dist/Switch/index.d.ts"
55
47
  },
56
48
  "./Modal": {
57
49
  "import": "./dist/Modal/index.esm.js",
58
- "require": "./dist/Modal/index.js",
59
50
  "types": "./dist/Modal/index.d.ts"
60
51
  },
61
52
  "./Badge": {
62
53
  "import": "./dist/Badge/index.esm.js",
63
- "require": "./dist/Badge/index.js",
64
54
  "types": "./dist/Badge/index.d.ts"
65
55
  },
66
56
  "./Input": {
67
57
  "import": "./dist/Input/index.esm.js",
68
- "require": "./dist/Input/index.js",
69
58
  "types": "./dist/Input/index.d.ts"
70
59
  },
71
60
  "./Notice": {
72
61
  "import": "./dist/Notice/index.esm.js",
73
- "require": "./dist/Notice/index.js",
74
62
  "types": "./dist/Notice/index.d.ts"
75
63
  },
76
64
  "./DatePicker": {
77
65
  "import": "./dist/DatePicker/index.esm.js",
78
- "require": "./dist/DatePicker/index.js",
79
66
  "types": "./dist/DatePicker/index.d.ts"
80
67
  },
81
68
  "./DateRangePicker": {
82
69
  "import": "./dist/DateRangePicker/index.esm.js",
83
- "require": "./dist/DateRangePicker/index.js",
84
70
  "types": "./dist/DateRangePicker/index.d.ts"
85
71
  },
86
72
  "./Form": {
87
73
  "import": "./dist/Form/index.esm.js",
88
- "require": "./dist/Form/index.js",
89
74
  "types": "./dist/Form/index.d.ts"
90
75
  },
91
76
  "./Checkbox": {
92
77
  "import": "./dist/Checkbox/index.esm.js",
93
- "require": "./dist/Checkbox/index.js",
94
78
  "types": "./dist/Checkbox/index.d.ts"
95
79
  },
96
80
  "./CheckboxGroup": {
97
81
  "import": "./dist/CheckboxGroup/index.esm.js",
98
- "require": "./dist/CheckboxGroup/index.js",
99
82
  "types": "./dist/CheckboxGroup/index.d.ts"
100
83
  },
101
84
  "./PopupConfirm": {
102
85
  "import": "./dist/PopupConfirm/index.esm.js",
103
- "require": "./dist/PopupConfirm/index.js",
104
86
  "types": "./dist/PopupConfirm/index.d.ts"
105
87
  },
106
88
  "./AppList": {
107
89
  "import": "./dist/AppList/index.esm.js",
108
- "require": "./dist/AppList/index.js",
109
90
  "types": "./dist/AppList/index.d.ts"
110
91
  },
111
92
  "./GlobalMenuSearch": {
112
93
  "import": "./dist/GlobalMenuSearch/index.esm.js",
113
- "require": "./dist/GlobalMenuSearch/index.js",
114
94
  "types": "./dist/GlobalMenuSearch/index.d.ts"
115
95
  },
96
+ "./BulkActionsBar": {
97
+ "import": "./dist/BulkActionsBar/index.esm.js",
98
+ "types": "./dist/BulkActionsBar/index.d.ts"
99
+ },
100
+ "./Table": {
101
+ "import": "./dist/Table/index.esm.js",
102
+ "types": "./dist/Table/index.d.ts"
103
+ },
116
104
  "./theme": {
117
105
  "import": "./dist/theme/index.esm.js",
118
- "require": "./dist/theme/index.js",
119
106
  "types": "./dist/theme/index.d.ts"
120
107
  }
121
108
  },
@@ -183,16 +170,20 @@
183
170
  "@emotion/styled": ">=11.0.0",
184
171
  "@fontsource/inter": "^5.2.6",
185
172
  "@mui/material": ">=5.0.0",
173
+ "@radix-ui/react-checkbox": "^1.3.3",
174
+ "@radix-ui/react-dropdown-menu": "^2.1.16",
186
175
  "@tanstack/react-table": "^8.21.3",
187
176
  "@tanstack/react-virtual": "^3.13.12",
188
177
  "class-variance-authority": "^0.7.1",
189
178
  "date-fns": "^2.30.0",
190
179
  "dayjs": "^1.11.13",
191
180
  "lucide-react": "^0.525.0",
181
+ "motion": "^12.23.12",
192
182
  "react-day-picker": "^9.8.0",
193
183
  "react-hook-form": "^7.60.0",
194
184
  "react-if": "^4.1.6",
195
185
  "react-select": "^5.10.1",
186
+ "react-virtualized-auto-sizer": "^1.0.26",
196
187
  "react-window": "^1.8.11",
197
188
  "react-window-infinite-loader": "^1.0.10",
198
189
  "tailwind-merge": "^3.3.1",
@@ -1,27 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),o=require("@mui/material"),t=function(){return t=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var n in r=arguments[o])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},t.apply(this,arguments)};function n(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}function i(e,r,o){if(o||2===arguments.length)for(var t,n=0,i=r.length;n<i;n++)!t&&n in r||(t||(t=Array.prototype.slice.call(r,0,n)),t[n]=r[n]);return e.concat(t||Array.prototype.slice.call(r))}"function"==typeof SuppressedError&&SuppressedError;
2
- /**
3
- * @license lucide-react v0.525.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */
8
- const a=e=>{const r=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,o)=>o?o.toUpperCase():r.toLowerCase()))(e);return r.charAt(0).toUpperCase()+r.slice(1)},l=(...e)=>e.filter((e,r,o)=>Boolean(e)&&""!==e.trim()&&o.indexOf(e)===r).join(" ").trim(),s=e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};
9
- /**
10
- * @license lucide-react v0.525.0 - ISC
11
- *
12
- * This source code is licensed under the ISC license.
13
- * See the LICENSE file in the root directory of this source tree.
14
- */
15
- var d={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"};
16
- /**
17
- * @license lucide-react v0.525.0 - ISC
18
- *
19
- * This source code is licensed under the ISC license.
20
- * See the LICENSE file in the root directory of this source tree.
21
- */const u=r.forwardRef(({color:e="currentColor",size:o=24,strokeWidth:t=2,absoluteStrokeWidth:n,className:i="",children:a,iconNode:u,...c},p)=>r.createElement("svg",{ref:p,...d,width:o,height:o,stroke:e,strokeWidth:n?24*Number(t)/Number(o):t,className:l("lucide",i),...!a&&!s(c)&&{"aria-hidden":"true"},...c},[...u.map(([e,o])=>r.createElement(e,o)),...Array.isArray(a)?a:[a]])),c=((e,o)=>{const t=r.forwardRef(({className:t,...n},i)=>{return r.createElement(u,{ref:i,iconNode:o,className:l(`lucide-${s=a(e),s.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,t),...n});var s});return t.displayName=a(e),t})("chevron-down",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]);
22
- /**
23
- * @license lucide-react v0.525.0 - ISC
24
- *
25
- * This source code is licensed under the ISC license.
26
- * See the LICENSE file in the root directory of this source tree.
27
- */var p=r.createContext({}),f=r.forwardRef(function(i,a){var l=i.type,s=void 0===l?"single":l,d=i.collapsible,u=void 0!==d&&d,c=i.value,f=i.defaultValue,h=i.onValueChange,v=i.children;i.sx;var m=n(i,["type","collapsible","value","defaultValue","onValueChange","children","sx"]),x=o.useTheme(),g=r.useState(function(){return void 0!==c?c:void 0!==f?f:"multiple"===s?[]:""}),y=g[0],b=g[1],w=void 0!==c?c:y,A=r.useCallback(function(e){void 0===c&&b(e),null==h||h(e)},[c,h]),C=r.useMemo(function(){return{type:s,collapsible:u,value:w,defaultValue:f,onValueChange:A}},[s,u,w,f,A]);return e.jsx(p.Provider,{value:C,children:e.jsx("div",t({ref:a,style:{display:"flex",flexDirection:"column",gap:x.spacing(1)}},m,{children:v}))})}),h=r.forwardRef(function(a,l){var s,d=a.value,u=a.children,c=a.sx,f=void 0===c?{}:c,h=n(a,["value","children","sx"]),v=o.useTheme(),m=r.useContext(p),x=r.useMemo(function(){return"multiple"===m.type?Array.isArray(m.value)&&m.value.includes(d):m.value===d},[m.value,m.type,d]),g=r.useCallback(function(){if(m.onValueChange)if("multiple"===m.type){var e=Array.isArray(m.value)?m.value:[],r=x?e.filter(function(e){return e!==d}):i(i([],e,!0),[d],!1);m.onValueChange(r)}else{r=x&&m.collapsible?"":d;m.onValueChange(r)}},[m,d,x]);return e.jsx(o.Accordion,t({ref:l,expanded:x,onChange:g,variant:"outlined",sx:t({borderRadius:(null===(s=v.radius)||void 0===s?void 0:s.sm)||v.shape.borderRadius,"&:before":{display:"none"},"&.Mui-expanded":{margin:0},border:"1px solid ".concat(v.palette.divider)},f)},h,{children:u}))}),v=r.forwardRef(function(r,i){var a,l=r.children,s=r.sx,d=void 0===s?{}:s,u=r.expandIcon,p=n(r,["children","sx","expandIcon"]),f=o.useTheme(),h=void 0!==u?u:e.jsx(c,{});return e.jsx(o.AccordionSummary,t({ref:i,expandIcon:h,sx:t({borderRadius:(null===(a=f.radius)||void 0===a?void 0:a.sm)||f.shape.borderRadius,minHeight:56,fontWeight:500,"&.Mui-expanded":{minHeight:56,borderBottomLeftRadius:0,borderBottomRightRadius:0,borderBottom:"1px solid ".concat(f.palette.divider)},"& .MuiAccordionSummary-content":{margin:"12px 0","&.Mui-expanded":{margin:"12px 0"}},"& .MuiAccordionSummary-expandIconWrapper":{transition:f.transitions.create("transform",{duration:f.transitions.duration.shortest}),"&.Mui-expanded":{transform:"rotate(180deg)"}},"&:hover":{backgroundColor:f.palette.action.hover}},d)},p,{children:l}))}),m=r.forwardRef(function(r,i){var a,l,s=r.children,d=r.sx,u=void 0===d?{}:d,c=n(r,["children","sx"]),p=o.useTheme();return e.jsx(o.AccordionDetails,t({ref:i,sx:t({padding:p.spacing(2),borderBottomLeftRadius:(null===(a=p.radius)||void 0===a?void 0:a.sm)||p.shape.borderRadius,borderBottomRightRadius:(null===(l=p.radius)||void 0===l?void 0:l.sm)||p.shape.borderRadius},u)},c,{children:s}))});exports.Accordion=f,exports.AccordionContent=m,exports.AccordionItem=h,exports.AccordionTrigger=v,exports.default=f;
@@ -1,26 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("react/jsx-runtime"),e=require("react"),o=require("@mui/material/IconButton"),i=require("@mui/material"),t=require("@mui/material/List"),n=require("@mui/material/ListItemText"),a=require("@mui/material/ListItemIcon"),c=function(){return c=Object.assign||function(r){for(var e,o=1,i=arguments.length;o<i;o++)for(var t in e=arguments[o])Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=e[t]);return r},c.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var l=function(e){var o=e.open,t=e.onClose,n=e.anchorEl,a=e.children,l=e.width,s=e.maxWidth,d=void 0===s?"100%":s,p=e.minWidth,u=e.padding,h=void 0===u?2:u,m=e.border,v=void 0===m||m,y=e.anchorOrigin,f=void 0===y?{vertical:"bottom",horizontal:"left"}:y,g=e.transformOrigin,x=void 0===g?{vertical:"top",horizontal:"left"}:g,b=function(r,e){var o={};for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&e.indexOf(i)<0&&(o[i]=r[i]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var t=0;for(i=Object.getOwnPropertySymbols(r);t<i.length;t++)e.indexOf(i[t])<0&&Object.prototype.propertyIsEnumerable.call(r,i[t])&&(o[i[t]]=r[i[t]])}return o}(e,["open","onClose","anchorEl","children","width","maxWidth","minWidth","padding","border","anchorOrigin","transformOrigin"]),k=i.useTheme();return r.jsx(i.Popover,c({open:o,anchorEl:n,onClose:t,disableScrollLock:!0,TransitionComponent:i.Fade,transitionDuration:150,anchorOrigin:f,transformOrigin:x,slotProps:{paper:{elevation:0,sx:{boxShadow:"none",bgcolor:k.palette.background.paper,border:v?"1px solid ".concat(k.palette.divider):"none",borderRadius:k.radius.md,px:k.spacing(h),py:k.spacing(h),width:l,maxWidth:d,minWidth:p}}}},b,{children:a}))};
2
- /**
3
- * @license lucide-react v0.525.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */const s=r=>{const e=(r=>r.replace(/^([A-Z])|[\s-_]+(\w)/g,(r,e,o)=>o?o.toUpperCase():e.toLowerCase()))(r);return e.charAt(0).toUpperCase()+e.slice(1)},d=(...r)=>r.filter((r,e,o)=>Boolean(r)&&""!==r.trim()&&o.indexOf(r)===e).join(" ").trim(),p=r=>{for(const e in r)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0};
8
- /**
9
- * @license lucide-react v0.525.0 - ISC
10
- *
11
- * This source code is licensed under the ISC license.
12
- * See the LICENSE file in the root directory of this source tree.
13
- */
14
- var u={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"};
15
- /**
16
- * @license lucide-react v0.525.0 - ISC
17
- *
18
- * This source code is licensed under the ISC license.
19
- * See the LICENSE file in the root directory of this source tree.
20
- */const h=e.forwardRef(({color:r="currentColor",size:o=24,strokeWidth:i=2,absoluteStrokeWidth:t,className:n="",children:a,iconNode:c,...l},s)=>e.createElement("svg",{ref:s,...u,width:o,height:o,stroke:r,strokeWidth:t?24*Number(i)/Number(o):i,className:d("lucide",n),...!a&&!p(l)&&{"aria-hidden":"true"},...l},[...c.map(([r,o])=>e.createElement(r,o)),...Array.isArray(a)?a:[a]])),m=((r,o)=>{const i=e.forwardRef(({className:i,...t},n)=>{return e.createElement(h,{ref:n,iconNode:o,className:d(`lucide-${a=s(r),a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${r}`,i),...t});var a});return i.displayName=s(r),i})("grip",[["circle",{cx:"12",cy:"5",r:"1",key:"gxeob9"}],["circle",{cx:"19",cy:"5",r:"1",key:"w8mnmm"}],["circle",{cx:"5",cy:"5",r:"1",key:"lttvr7"}],["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"}],["circle",{cx:"12",cy:"19",r:"1",key:"lyex9k"}],["circle",{cx:"19",cy:"19",r:"1",key:"shf9b7"}],["circle",{cx:"5",cy:"19",r:"1",key:"bfqh0e"}]]);
21
- /**
22
- * @license lucide-react v0.525.0 - ISC
23
- *
24
- * This source code is licensed under the ISC license.
25
- * See the LICENSE file in the root directory of this source tree.
26
- */var v=function(s){var d=s.apps,p=void 0===d?[]:d,u=s.icon,h=void 0===u?m:u,v=s.urlKey,y=void 0===v?"url":v,f=s.nameKey,g=void 0===f?"name":f,x=s.appIconKey,b=void 0===x?"appIcon":x,k=s.iconProps,w=void 0===k?{}:k,O=s.popoverProps,j=void 0===O?{}:O,C=s.listProps,P=void 0===C?{}:C,W=s.listItemProps,E=void 0===W?{}:W,I=s.listItemTextProps,L=void 0===I?{}:I,N=s.width,q=void 0===N?240:N,S=s.padding,z=void 0===S?0:S,A=s.border,B=void 0===A||A,T=s.target,$=void 0===T?"_blank":T,_=e.useState(null),K=_[0],R=_[1],F=Boolean(K)?"simple-popover":void 0,M=e.useMemo(function(){return null==p?void 0:p.filter(function(r){return r.display})},[p]);return r.jsxs(r.Fragment,{children:[r.jsx(o,c({"aria-describedby":F,onClick:function(r){R(r.currentTarget)}},w,{children:r.jsx(h,{})})),r.jsx(l,c({open:Boolean(K),onClose:function(){R(null)},anchorEl:K,width:q,padding:z,border:B,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"}},j,{children:r.jsx(t,c({disablePadding:!0},P,{children:M.map(function(e,o){return r.jsxs(i.ListItemButton,c({component:"div",sx:{":hover":{backgroundColor:e.backgroundColor}},onClick:function(){return window.open(e[y],$)}},E,{children:[e[b]?r.jsx(a,{sx:{minWidth:30,backgroundColor:e.backgroundColor},children:r.jsx("img",{width:22,height:22,src:e[b],alt:e.name})}):null,r.jsx(n,c({sx:{ml:1},primaryTypographyProps:{variant:"body2",fontWeight:500},primary:e[g]},L))]}),o)})}))}))]})};exports.AppList=v,exports.default=v;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime");require("react");var r=require("@mui/material");function o(e){var r,t,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=o(e[r]))&&(n&&(n+=" "),n+=t)}else for(t in e)e[t]&&(n&&(n+=" "),n+=t);return n}function t(){for(var e,r,t=0,n="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=o(e))&&(n&&(n+=" "),n+=r);return n}const n=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=t,s=e=>{const r=c(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{const o=e.split("-");return""===o[0]&&1!==o.length&&o.shift(),l(o,r)||d(e)},getConflictingClassGroupIds:(e,r)=>{const n=o[e]||[];return r&&t[e]?[...n,...t[e]]:n}}},l=(e,r)=>{if(0===e.length)return r.classGroupId;const o=e[0],t=r.nextPart.get(o),n=t?l(e.slice(1),t):void 0;if(n)return n;if(0===r.validators.length)return;const a=e.join("-");return r.validators.find(({validator:e})=>e(a))?.classGroupId},i=/^\[(.+)\]$/,d=e=>{if(i.test(e)){const r=i.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},c=e=>{const{theme:r,classGroups:o}=e,t={nextPart:new Map,validators:[]};for(const e in o)m(o[e],t,e,r);return t},m=(e,r,o,t)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?r:u(r,e)).classGroupId=o)}if("function"==typeof e)return p(e)?void m(e(t),r,o,t):void r.validators.push({validator:e,classGroupId:o});Object.entries(e).forEach(([e,n])=>{m(n,u(r,e),o,t)})})},u=(e,r)=>{let o=e;return r.split("-").forEach(e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)}),o},p=e=>e.isThemeGetter,b=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,t=new Map;const n=(n,a)=>{o.set(n,a),r++,r>e&&(r=0,t=o,o=new Map)};return{get(e){let r=o.get(e);return void 0!==r?r:void 0!==(r=t.get(e))?(n(e,r),r):void 0},set(e,r){o.has(e)?o.set(e,r):n(e,r)}}},f=e=>{const{prefix:r,experimentalParseClassName:o}=e;let t=e=>{const r=[];let o,t=0,n=0,a=0;for(let s=0;s<e.length;s++){let l=e[s];if(0===t&&0===n){if(":"===l){r.push(e.slice(a,s)),a=s+1;continue}if("/"===l){o=s;continue}}"["===l?t++:"]"===l?t--:"("===l?n++:")"===l&&n--}const s=0===r.length?e:e.substring(a),l=g(s);return{modifiers:r,hasImportantModifier:l!==s,baseClassName:l,maybePostfixModifierPosition:o&&o>a?o-a:void 0}};if(r){const e=r+":",o=t;t=r=>r.startsWith(e)?o(r.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:r,maybePostfixModifierPosition:void 0}}if(o){const e=t;t=r=>o({className:r,parseClassName:e})}return t},g=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,h=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const o=[];let t=[];return e.forEach(e=>{"["===e[0]||r[e]?(o.push(...t.sort(),e),t=[]):t.push(e)}),o.push(...t.sort()),o}},x=/\s+/;function v(){let e,r,o=0,t="";for(;o<arguments.length;)(e=arguments[o++])&&(r=y(e))&&(t&&(t+=" "),t+=r);return t}const y=e=>{if("string"==typeof e)return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=y(e[t]))&&(o&&(o+=" "),o+=r);return o};function k(e,...r){let o,t,n,a=function(i){const d=r.reduce((e,r)=>r(e),e());return o=(e=>({cache:b(e.cacheSize),parseClassName:f(e),sortModifiers:h(e),...s(e)}))(d),t=o.cache.get,n=o.cache.set,a=l,l(i)};function l(e){const r=t(e);if(r)return r;const a=((e,r)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:n,sortModifiers:a}=r,s=[],l=e.trim().split(x);let i="";for(let e=l.length-1;e>=0;e-=1){const r=l[e],{isExternal:d,modifiers:c,hasImportantModifier:m,baseClassName:u,maybePostfixModifierPosition:p}=o(r);if(d){i=r+(i.length>0?" "+i:i);continue}let b=!!p,f=t(b?u.substring(0,p):u);if(!f){if(!b){i=r+(i.length>0?" "+i:i);continue}if(f=t(u),!f){i=r+(i.length>0?" "+i:i);continue}b=!1}const g=a(c).join(":"),h=m?g+"!":g,x=h+f;if(s.includes(x))continue;s.push(x);const v=n(f,b);for(let e=0;e<v.length;++e){const r=v[e];s.push(h+r)}i=r+(i.length>0?" "+i:i)}return i})(e,o);return n(e,a),a}return function(){return a(v.apply(null,arguments))}}const w=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},z=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,j=/^\((?:(\w[\w-]*):)?(.+)\)$/i,N=/^\d+\/\d+$/,P=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,C=/\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$/,O=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,M=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,G=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>N.test(e),E=e=>!!e&&!Number.isNaN(Number(e)),$=e=>!!e&&Number.isInteger(Number(e)),S=e=>e.endsWith("%")&&E(e.slice(0,-1)),q=e=>P.test(e),W=()=>!0,A=e=>C.test(e)&&!O.test(e),_=()=>!1,T=e=>M.test(e),V=e=>G.test(e),B=e=>!F(e)&&!R(e),D=e=>oe(e,se,_),F=e=>z.test(e),H=e=>oe(e,le,A),J=e=>oe(e,ie,E),K=e=>oe(e,ne,_),L=e=>oe(e,ae,V),Q=e=>oe(e,ce,T),R=e=>j.test(e),U=e=>te(e,le),X=e=>te(e,de),Y=e=>te(e,ne),Z=e=>te(e,se),ee=e=>te(e,ae),re=e=>te(e,ce,!0),oe=(e,r,o)=>{const t=z.exec(e);return!!t&&(t[1]?r(t[1]):o(t[2]))},te=(e,r,o=!1)=>{const t=j.exec(e);return!!t&&(t[1]?r(t[1]):o)},ne=e=>"position"===e||"percentage"===e,ae=e=>"image"===e||"url"===e,se=e=>"length"===e||"size"===e||"bg-size"===e,le=e=>"length"===e,ie=e=>"number"===e,de=e=>"family-name"===e,ce=e=>"shadow"===e,me=k(()=>{const e=w("color"),r=w("font"),o=w("text"),t=w("font-weight"),n=w("tracking"),a=w("leading"),s=w("breakpoint"),l=w("container"),i=w("spacing"),d=w("radius"),c=w("shadow"),m=w("inset-shadow"),u=w("text-shadow"),p=w("drop-shadow"),b=w("blur"),f=w("perspective"),g=w("aspect"),h=w("ease"),x=w("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",R,F],y=()=>[R,F,i],k=()=>[I,"full","auto",...y()],z=()=>[$,"none","subgrid",R,F],j=()=>["auto",{span:["full",$,R,F]},$,R,F],N=()=>[$,"auto",R,F],P=()=>["auto","min","max","fr",R,F],C=()=>["auto",...y()],O=()=>[I,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...y()],M=()=>[e,R,F],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Y,K,{position:[R,F]}],A=()=>["auto","cover","contain",Z,D,{size:[R,F]}],_=()=>[S,U,H],T=()=>["","none","full",d,R,F],V=()=>["",E,U,H],oe=()=>[E,S,Y,K],te=()=>["","none",b,R,F],ne=()=>["none",E,R,F],ae=()=>["none",E,R,F],se=()=>[E,R,F],le=()=>[I,"full",...y()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[q],breakpoint:[q],color:[W],container:[q],"drop-shadow":[q],ease:["in","out","in-out"],font:[B],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[q],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[q],shadow:[q],spacing:["px",E],text:[q],"text-shadow":[q],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",I,F,R,g]}],container:["container"],columns:[{columns:[E,F,R,l]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:k()}],"inset-x":[{"inset-x":k()}],"inset-y":[{"inset-y":k()}],start:[{start:k()}],end:[{end:k()}],top:[{top:k()}],right:[{right:k()}],bottom:[{bottom:k()}],left:[{left:k()}],visibility:["visible","invisible","collapse"],z:[{z:[$,"auto",R,F]}],basis:[{basis:[I,"full","auto",l,...y()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[E,I,"auto","initial","none",F]}],grow:[{grow:["",E,R,F]}],shrink:[{shrink:["",E,R,F]}],order:[{order:[$,"first","last","none",R,F]}],"grid-cols":[{"grid-cols":z()}],"col-start-end":[{col:j()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":z()}],"row-start-end":[{row:j()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":P()}],"auto-rows":[{"auto-rows":P()}],gap:[{gap:y()}],"gap-x":[{"gap-x":y()}],"gap-y":[{"gap-y":y()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:y()}],px:[{px:y()}],py:[{py:y()}],ps:[{ps:y()}],pe:[{pe:y()}],pt:[{pt:y()}],pr:[{pr:y()}],pb:[{pb:y()}],pl:[{pl:y()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":y()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":y()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[l,"screen",...O()]}],"min-w":[{"min-w":[l,"screen","none",...O()]}],"max-w":[{"max-w":[l,"screen","none","prose",{screen:[s]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",o,U,H]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,R,J]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",S,F]}],"font-family":[{font:[X,F,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,R,F]}],"line-clamp":[{"line-clamp":[E,"none",R,J]}],leading:[{leading:[a,...y()]}],"list-image":[{"list-image":["none",R,F]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",R,F]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[E,"from-font","auto",R,H]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[E,"auto",R,F]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:y()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",R,F]}],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",R,F]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:A()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},$,R,F],radial:["",R,F],conic:[$,R,F]},ee,L]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:_()}],"gradient-via-pos":[{via:_()}],"gradient-to-pos":[{to:_()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:T()}],"rounded-s":[{"rounded-s":T()}],"rounded-e":[{"rounded-e":T()}],"rounded-t":[{"rounded-t":T()}],"rounded-r":[{"rounded-r":T()}],"rounded-b":[{"rounded-b":T()}],"rounded-l":[{"rounded-l":T()}],"rounded-ss":[{"rounded-ss":T()}],"rounded-se":[{"rounded-se":T()}],"rounded-ee":[{"rounded-ee":T()}],"rounded-es":[{"rounded-es":T()}],"rounded-tl":[{"rounded-tl":T()}],"rounded-tr":[{"rounded-tr":T()}],"rounded-br":[{"rounded-br":T()}],"rounded-bl":[{"rounded-bl":T()}],"border-w":[{border:V()}],"border-w-x":[{"border-x":V()}],"border-w-y":[{"border-y":V()}],"border-w-s":[{"border-s":V()}],"border-w-e":[{"border-e":V()}],"border-w-t":[{"border-t":V()}],"border-w-r":[{"border-r":V()}],"border-w-b":[{"border-b":V()}],"border-w-l":[{"border-l":V()}],"divide-x":[{"divide-x":V()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":V()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[E,R,F]}],"outline-w":[{outline:["",E,U,H]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",c,re,Q]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",m,re,Q]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:V()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[E,H]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":V()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",u,re,Q]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[E,R,F]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[E]}],"mask-image-linear-from-pos":[{"mask-linear-from":oe()}],"mask-image-linear-to-pos":[{"mask-linear-to":oe()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":oe()}],"mask-image-t-to-pos":[{"mask-t-to":oe()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":oe()}],"mask-image-r-to-pos":[{"mask-r-to":oe()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":oe()}],"mask-image-b-to-pos":[{"mask-b-to":oe()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":oe()}],"mask-image-l-to-pos":[{"mask-l-to":oe()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":oe()}],"mask-image-x-to-pos":[{"mask-x-to":oe()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":oe()}],"mask-image-y-to-pos":[{"mask-y-to":oe()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[R,F]}],"mask-image-radial-from-pos":[{"mask-radial-from":oe()}],"mask-image-radial-to-pos":[{"mask-radial-to":oe()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"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":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[E]}],"mask-image-conic-from-pos":[{"mask-conic-from":oe()}],"mask-image-conic-to-pos":[{"mask-conic-to":oe()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:A()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",R,F]}],filter:[{filter:["","none",R,F]}],blur:[{blur:te()}],brightness:[{brightness:[E,R,F]}],contrast:[{contrast:[E,R,F]}],"drop-shadow":[{"drop-shadow":["","none",p,re,Q]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",E,R,F]}],"hue-rotate":[{"hue-rotate":[E,R,F]}],invert:[{invert:["",E,R,F]}],saturate:[{saturate:[E,R,F]}],sepia:[{sepia:["",E,R,F]}],"backdrop-filter":[{"backdrop-filter":["","none",R,F]}],"backdrop-blur":[{"backdrop-blur":te()}],"backdrop-brightness":[{"backdrop-brightness":[E,R,F]}],"backdrop-contrast":[{"backdrop-contrast":[E,R,F]}],"backdrop-grayscale":[{"backdrop-grayscale":["",E,R,F]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[E,R,F]}],"backdrop-invert":[{"backdrop-invert":["",E,R,F]}],"backdrop-opacity":[{"backdrop-opacity":[E,R,F]}],"backdrop-saturate":[{"backdrop-saturate":[E,R,F]}],"backdrop-sepia":[{"backdrop-sepia":["",E,R,F]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":y()}],"border-spacing-x":[{"border-spacing-x":y()}],"border-spacing-y":[{"border-spacing-y":y()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",R,F]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[E,"initial",R,F]}],ease:[{ease:["linear","initial",h,R,F]}],delay:[{delay:[E,R,F]}],animate:[{animate:["none",x,R,F]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,R,F]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:ne()}],"rotate-x":[{"rotate-x":ne()}],"rotate-y":[{"rotate-y":ne()}],"rotate-z":[{"rotate-z":ne()}],scale:[{scale:ae()}],"scale-x":[{"scale-x":ae()}],"scale-y":[{"scale-y":ae()}],"scale-z":[{"scale-z":ae()}],"scale-3d":["scale-3d"],skew:[{skew:se()}],"skew-x":[{"skew-x":se()}],"skew-y":[{"skew-y":se()}],transform:[{transform:[R,F,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:le()}],"translate-x":[{"translate-x":le()}],"translate-y":[{"translate-y":le()}],"translate-z":[{"translate-z":le()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"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",R,F]}],"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":y()}],"scroll-mx":[{"scroll-mx":y()}],"scroll-my":[{"scroll-my":y()}],"scroll-ms":[{"scroll-ms":y()}],"scroll-me":[{"scroll-me":y()}],"scroll-mt":[{"scroll-mt":y()}],"scroll-mr":[{"scroll-mr":y()}],"scroll-mb":[{"scroll-mb":y()}],"scroll-ml":[{"scroll-ml":y()}],"scroll-p":[{"scroll-p":y()}],"scroll-px":[{"scroll-px":y()}],"scroll-py":[{"scroll-py":y()}],"scroll-ps":[{"scroll-ps":y()}],"scroll-pe":[{"scroll-pe":y()}],"scroll-pt":[{"scroll-pt":y()}],"scroll-pr":[{"scroll-pr":y()}],"scroll-pb":[{"scroll-pb":y()}],"scroll-pl":[{"scroll-pl":y()}],"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",R,F]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[E,U,H,J]}],stroke:[{stroke:["none",...M()]}],"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"]}});var ue=function(){return ue=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var n in r=arguments[o])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},ue.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var pe,be,fe=function(o){var t=o.size,n=void 0===t?"md":t,a=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(o,["size"]);return e.jsx(r.Typography,ue({variant:{sm:"body2",md:"body1",lg:"subtitle1"}[n],component:a.component||"p"},a))},ge=(pe="zui:inline-flex zui:items-center zui:rounded-full zui:font-medium zui:gap-2",be={variants:{variant:{contained:"",outlined:"zui:border zui:bg-transparent",text:"zui:bg-transparent zui:border-transparent"},size:{sm:"zui:text-xs zui:px-2 zui:py-0.5",md:"zui:text-sm zui:px-3 zui:py-1",lg:"zui:text-base zui:px-4 zui:py-1.5"},type:{success:"",warning:"",error:"",info:"",default:""}},defaultVariants:{variant:"contained",size:"md",type:"default"}},e=>{var r;if(null==(null==be?void 0:be.variants))return a(pe,null==e?void 0:e.class,null==e?void 0:e.className);const{variants:o,defaultVariants:t}=be,s=Object.keys(o).map(r=>{const a=null==e?void 0:e[r],s=null==t?void 0:t[r];if(null===a)return null;const l=n(a)||n(s);return o[r][l]}),l=e&&Object.entries(e).reduce((e,r)=>{let[o,t]=r;return void 0===t||(e[o]=t),e},{}),i=null==be||null===(r=be.compoundVariants)||void 0===r?void 0:r.reduce((e,r)=>{let{class:o,className:n,...a}=r;return Object.entries(a).every(e=>{let[r,o]=e;return Array.isArray(o)?o.includes({...t,...l}[r]):{...t,...l}[r]===o})?[...e,o,n]:e},[]);return a(pe,s,i,null==e?void 0:e.class,null==e?void 0:e.className)}),he={success:{bg:"zui:bg-green-100",text:"zui:text-green-700",border:"zui:border-green-700"},warning:{bg:"zui:bg-yellow-100",text:"zui:text-yellow-600",border:"zui:border-yellow-600"},error:{bg:"zui:bg-red-100",text:"zui:text-red-700",border:"zui:border-red-700"},info:{bg:"zui:bg-blue-100",text:"zui:text-blue-700",border:"zui:border-blue-700"},default:{bg:"zui:bg-gray-100",text:"zui:text-gray-800",border:"zui:border-gray-800"}},xe=function(r){var o,n,a,s=r.label,l=r.icon,i=r.iconPosition,d=void 0===i?"start":i,c=r.dot,m=void 0!==c&&c,u=r.dotPosition,p=void 0===u?"start":u,b=r.variant,f=void 0===b?"contained":b,g=r.size,h=void 0===g?"md":g,x=r.type,v=void 0===x?"default":x,y=r.color,k=r.className,w=he[v],z={bg:null!==(o=null==y?void 0:y.bg)&&void 0!==o?o:w.bg,text:null!==(n=null==y?void 0:y.text)&&void 0!==n?n:w.text,border:null!==(a=null==y?void 0:y.border)&&void 0!==a?a:w.border},j=function(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return me(t(e))}(ge({variant:f,size:h,type:v}),"string"==typeof(null==y?void 0:y.bg)?"":"contained"===f?z.bg:"","string"==typeof(null==y?void 0:y.text)?"":z.text,"string"==typeof(null==y?void 0:y.border)?"":"outlined"===f?z.border:"",k),N={backgroundColor:"contained"===f?null==y?void 0:y.bg:void 0,color:null==y?void 0:y.text,borderColor:"outlined"===f?null==y?void 0:y.border:void 0},P=m&&e.jsx("span",{className:"zui:w-2 zui:h-2 zui:rounded-full zui:bg-current zui:inline-block"}),C=[];return m&&"start"===p&&C.push(P),l&&"start"===d&&C.push(l),C.push(e.jsx("span",{children:s},"label")),l&&"end"===d&&C.push(l),m&&"end"===p&&C.push(P),e.jsx(fe,{size:"sm",fontWeight:500,className:j,style:N,children:C})};exports.Badge=xe,exports.default=xe;
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var r=require("react/jsx-runtime"),e=require("react"),o=require("@mui/material"),t=function(){return t=Object.assign||function(r){for(var e,o=1,t=arguments.length;o<t;o++)for(var i in e=arguments[o])Object.prototype.hasOwnProperty.call(e,i)&&(r[i]=e[i]);return r},t.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var i=e.forwardRef(function(e,i){var n=e.children,a=e.loading,s=void 0!==a&&a,l=e.loadingText,c=e.loaderSize,d=void 0===c?18:c,u=e.loaderPosition,p=void 0===u?"start":u,f=e.variant,v=void 0===f?"contained":f,y=e.color,x=void 0===y?"primary":y,b=e.size,O=void 0===b?"medium":b,g=e.sx,j=void 0===g?{}:g,h=e.disabled,m=e.startIcon,P=e.endIcon,z=function(r,e){var o={};for(var t in r)Object.prototype.hasOwnProperty.call(r,t)&&e.indexOf(t)<0&&(o[t]=r[t]);if(null!=r&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(t=Object.getOwnPropertySymbols(r);i<t.length;i++)e.indexOf(t[i])<0&&Object.prototype.propertyIsEnumerable.call(r,t[i])&&(o[t[i]]=r[t[i]])}return o}(e,["children","loading","loadingText","loaderSize","loaderPosition","variant","color","size","sx","disabled","startIcon","endIcon"]),I=s&&"start"===p,S=s&&"end"===p,w=s&&"center"===p;return r.jsx(o.Button,t({ref:i,variant:v,color:x,disabled:h||s,size:O,startIcon:I?r.jsx(o.CircularProgress,{size:d,color:"inherit"}):m,endIcon:S?r.jsx(o.CircularProgress,{size:d,color:"inherit"}):P,sx:t({position:"relative"},j)},z,{children:w?r.jsx(o.CircularProgress,{size:d,color:"inherit"}):s&&l?l:n}))});i.displayName="Button",exports.Button=i,exports.default=i;
@@ -1 +0,0 @@
1
- "use strict";var e=require("react/jsx-runtime"),r=require("@mui/material"),t=require("@mui/material/CardContent"),n=require("@mui/material/CardMedia"),i=function(){return i=Object.assign||function(e){for(var r,t=1,n=arguments.length;t<n;t++)for(var i in r=arguments[t])Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i]);return e},i.apply(this,arguments)};function o(e,r,t){if(t||2===arguments.length)for(var n,i=0,o=r.length;i<o;i++)!n&&i in r||(n||(n=Array.prototype.slice.call(r,0,i)),n[i]=r[i]);return e.concat(n||Array.prototype.slice.call(r))}"function"==typeof SuppressedError&&SuppressedError;var a=function(r){var n=r.children,i=r.sx;return e.jsx(t,{sx:i,children:n})},l=Object.assign(function(t){var n,o=t.children,a=t.sx,l=void 0===a?{}:a,c=t.elevation,d=void 0===c?1:c,s=t.variant,u=void 0===s?"elevated":s,p=function(e,r){var t={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&r.indexOf(n)<0&&(t[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)r.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(t[n[i]]=e[n[i]])}return t}(t,["children","sx","elevation","variant"]),v=r.useTheme();return e.jsx(r.Card,i({elevation:"elevated"===u?d:0,variant:"outlined"===u?"outlined":"elevation",sx:i({borderRadius:(null===(n=v.radius)||void 0===n?void 0:n.sm)||8,border:"bordered"===u?"1px solid ".concat(v.palette.divider):"none",overflow:"hidden",backgroundColor:v.palette.background.paper},l)},p,{children:o}))},{Header:function(t){var n=t.title,i=t.subtitle,o=t.action;return e.jsx(r.CardHeader,{title:"string"==typeof n?e.jsx(r.Typography,{variant:"h6",fontWeight:600,children:n}):n,subheader:"string"==typeof i?e.jsx(r.Typography,{variant:"body2",color:"text.secondary",children:i}):i,action:o})},Content:a,Body:a,Actions:function(t){var n=t.children,i=t.sx;return e.jsx(r.CardActions,{sx:i,children:n})},Image:function(r){var t=r.src,i=r.height,o=void 0===i?160:i,a=r.alt,l=void 0===a?"card image":a;return e.jsx(n,{component:"img",height:o,image:t,alt:l})},Skeleton:function(t){var n=t.lines,i=void 0===n?3:n;return e.jsxs(r.Box,{p:2,children:[e.jsx(r.Skeleton,{variant:"rectangular",height:140}),o([],Array(i),!0).map(function(t,n){return e.jsx(r.Skeleton,{variant:"text",height:20,sx:{mt:1}},n)})]})}});module.exports=l;
@@ -1,27 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react");function o(e){var r=Object.create(null);return e&&Object.keys(e).forEach(function(o){if("default"!==o){var t=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,t.get?t:{enumerable:!0,get:function(){return e[o]}})}}),r.default=e,Object.freeze(r)}var t=o(r),n=function(){return n=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var n in r=arguments[o])Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n]);return e},n.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;
2
- /**
3
- * @license lucide-react v0.525.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */
8
- const s=e=>{const r=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,o)=>o?o.toUpperCase():r.toLowerCase()))(e);return r.charAt(0).toUpperCase()+r.slice(1)},a=(...e)=>e.filter((e,r,o)=>Boolean(e)&&""!==e.trim()&&o.indexOf(e)===r).join(" ").trim(),i=e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};
9
- /**
10
- * @license lucide-react v0.525.0 - ISC
11
- *
12
- * This source code is licensed under the ISC license.
13
- * See the LICENSE file in the root directory of this source tree.
14
- */
15
- var l={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"};
16
- /**
17
- * @license lucide-react v0.525.0 - ISC
18
- *
19
- * This source code is licensed under the ISC license.
20
- * See the LICENSE file in the root directory of this source tree.
21
- */const c=r.forwardRef(({color:e="currentColor",size:o=24,strokeWidth:t=2,absoluteStrokeWidth:n,className:s="",children:c,iconNode:d,...m},p)=>r.createElement("svg",{ref:p,...l,width:o,height:o,stroke:e,strokeWidth:n?24*Number(t)/Number(o):t,className:a("lucide",s),...!c&&!i(m)&&{"aria-hidden":"true"},...m},[...d.map(([e,o])=>r.createElement(e,o)),...Array.isArray(c)?c:[c]])),d=(e,o)=>{const t=r.forwardRef(({className:t,...n},i)=>{return r.createElement(c,{ref:i,iconNode:o,className:a(`lucide-${l=s(e),l.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,t),...n});var l});return t.displayName=s(e),t},m=d("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),p=d("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);
22
- /**
23
- * @license lucide-react v0.525.0 - ISC
24
- *
25
- * This source code is licensed under the ISC license.
26
- * See the LICENSE file in the root directory of this source tree.
27
- */function u(e){var r,o,t="";if("string"==typeof e||"number"==typeof e)t+=e;else if("object"==typeof e)if(Array.isArray(e)){var n=e.length;for(r=0;r<n;r++)e[r]&&(o=u(e[r]))&&(t&&(t+=" "),t+=o)}else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}const f=e=>{const r=x(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{const o=e.split("-");return""===o[0]&&1!==o.length&&o.shift(),b(o,r)||h(e)},getConflictingClassGroupIds:(e,r)=>{const n=o[e]||[];return r&&t[e]?[...n,...t[e]]:n}}},b=(e,r)=>{if(0===e.length)return r.classGroupId;const o=e[0],t=r.nextPart.get(o),n=t?b(e.slice(1),t):void 0;if(n)return n;if(0===r.validators.length)return;const s=e.join("-");return r.validators.find(({validator:e})=>e(s))?.classGroupId},g=/^\[(.+)\]$/,h=e=>{if(g.test(e)){const r=g.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},x=e=>{const{theme:r,classGroups:o}=e,t={nextPart:new Map,validators:[]};for(const e in o)k(o[e],t,e,r);return t},k=(e,r,o,t)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?r:w(r,e)).classGroupId=o)}if("function"==typeof e)return y(e)?void k(e(t),r,o,t):void r.validators.push({validator:e,classGroupId:o});Object.entries(e).forEach(([e,n])=>{k(n,w(r,e),o,t)})})},w=(e,r)=>{let o=e;return r.split("-").forEach(e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)}),o},y=e=>e.isThemeGetter,v=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,t=new Map;const n=(n,s)=>{o.set(n,s),r++,r>e&&(r=0,t=o,o=new Map)};return{get(e){let r=o.get(e);return void 0!==r?r:void 0!==(r=t.get(e))?(n(e,r),r):void 0},set(e,r){o.has(e)?o.set(e,r):n(e,r)}}},z=e=>{const{prefix:r,experimentalParseClassName:o}=e;let t=e=>{const r=[];let o,t=0,n=0,s=0;for(let a=0;a<e.length;a++){let i=e[a];if(0===t&&0===n){if(":"===i){r.push(e.slice(s,a)),s=a+1;continue}if("/"===i){o=a;continue}}"["===i?t++:"]"===i?t--:"("===i?n++:")"===i&&n--}const a=0===r.length?e:e.substring(s),i=j(a);return{modifiers:r,hasImportantModifier:i!==a,baseClassName:i,maybePostfixModifierPosition:o&&o>s?o-s:void 0}};if(r){const e=r+":",o=t;t=r=>r.startsWith(e)?o(r.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:r,maybePostfixModifierPosition:void 0}}if(o){const e=t;t=r=>o({className:r,parseClassName:e})}return t},j=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,N=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const o=[];let t=[];return e.forEach(e=>{"["===e[0]||r[e]?(o.push(...t.sort(),e),t=[]):t.push(e)}),o.push(...t.sort()),o}},C=/\s+/;function O(){let e,r,o=0,t="";for(;o<arguments.length;)(e=arguments[o++])&&(r=M(e))&&(t&&(t+=" "),t+=r);return t}const M=e=>{if("string"==typeof e)return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=M(e[t]))&&(o&&(o+=" "),o+=r);return o};function P(e,...r){let o,t,n,s=function(i){const l=r.reduce((e,r)=>r(e),e());return o=(e=>({cache:v(e.cacheSize),parseClassName:z(e),sortModifiers:N(e),...f(e)}))(l),t=o.cache.get,n=o.cache.set,s=a,a(i)};function a(e){const r=t(e);if(r)return r;const s=((e,r)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:n,sortModifiers:s}=r,a=[],i=e.trim().split(C);let l="";for(let e=i.length-1;e>=0;e-=1){const r=i[e],{isExternal:c,modifiers:d,hasImportantModifier:m,baseClassName:p,maybePostfixModifierPosition:u}=o(r);if(c){l=r+(l.length>0?" "+l:l);continue}let f=!!u,b=t(f?p.substring(0,u):p);if(!b){if(!f){l=r+(l.length>0?" "+l:l);continue}if(b=t(p),!b){l=r+(l.length>0?" "+l:l);continue}f=!1}const g=s(d).join(":"),h=m?g+"!":g,x=h+b;if(a.includes(x))continue;a.push(x);const k=n(b,f);for(let e=0;e<k.length;++e){const r=k[e];a.push(h+r)}l=r+(l.length>0?" "+l:l)}return l})(e,o);return n(e,s),s}return function(){return s(O.apply(null,arguments))}}const G=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},E=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,I=/^\((?:(\w[\w-]*):)?(.+)\)$/i,$=/^\d+\/\d+$/,W=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,S=/\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$/,A=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,_=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,q=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,L=e=>$.test(e),R=e=>!!e&&!Number.isNaN(Number(e)),B=e=>!!e&&Number.isInteger(Number(e)),T=e=>e.endsWith("%")&&R(e.slice(0,-1)),U=e=>W.test(e),Z=()=>!0,D=e=>S.test(e)&&!A.test(e),F=()=>!1,H=e=>_.test(e),J=e=>q.test(e),K=e=>!V(e)&&!te(e),Q=e=>de(e,fe,F),V=e=>E.test(e),X=e=>de(e,be,D),Y=e=>de(e,ge,R),ee=e=>de(e,pe,F),re=e=>de(e,ue,J),oe=e=>de(e,xe,H),te=e=>I.test(e),ne=e=>me(e,be),se=e=>me(e,he),ae=e=>me(e,pe),ie=e=>me(e,fe),le=e=>me(e,ue),ce=e=>me(e,xe,!0),de=(e,r,o)=>{const t=E.exec(e);return!!t&&(t[1]?r(t[1]):o(t[2]))},me=(e,r,o=!1)=>{const t=I.exec(e);return!!t&&(t[1]?r(t[1]):o)},pe=e=>"position"===e||"percentage"===e,ue=e=>"image"===e||"url"===e,fe=e=>"length"===e||"size"===e||"bg-size"===e,be=e=>"length"===e,ge=e=>"number"===e,he=e=>"family-name"===e,xe=e=>"shadow"===e,ke=P(()=>{const e=G("color"),r=G("font"),o=G("text"),t=G("font-weight"),n=G("tracking"),s=G("leading"),a=G("breakpoint"),i=G("container"),l=G("spacing"),c=G("radius"),d=G("shadow"),m=G("inset-shadow"),p=G("text-shadow"),u=G("drop-shadow"),f=G("blur"),b=G("perspective"),g=G("aspect"),h=G("ease"),x=G("animate"),k=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",te,V],w=()=>[te,V,l],y=()=>[L,"full","auto",...w()],v=()=>[B,"none","subgrid",te,V],z=()=>["auto",{span:["full",B,te,V]},B,te,V],j=()=>[B,"auto",te,V],N=()=>["auto","min","max","fr",te,V],C=()=>["auto",...w()],O=()=>[L,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...w()],M=()=>[e,te,V],P=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",ae,ee,{position:[te,V]}],E=()=>["auto","cover","contain",ie,Q,{size:[te,V]}],I=()=>[T,ne,X],$=()=>["","none","full",c,te,V],W=()=>["",R,ne,X],S=()=>[R,T,ae,ee],A=()=>["","none",f,te,V],_=()=>["none",R,te,V],q=()=>["none",R,te,V],D=()=>[R,te,V],F=()=>[L,"full",...w()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[U],breakpoint:[U],color:[Z],container:[U],"drop-shadow":[U],ease:["in","out","in-out"],font:[K],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[U],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[U],shadow:[U],spacing:["px",R],text:[U],"text-shadow":[U],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",L,V,te,g]}],container:["container"],columns:[{columns:[R,V,te,i]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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:k()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:y()}],"inset-x":[{"inset-x":y()}],"inset-y":[{"inset-y":y()}],start:[{start:y()}],end:[{end:y()}],top:[{top:y()}],right:[{right:y()}],bottom:[{bottom:y()}],left:[{left:y()}],visibility:["visible","invisible","collapse"],z:[{z:[B,"auto",te,V]}],basis:[{basis:[L,"full","auto",i,...w()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[R,L,"auto","initial","none",V]}],grow:[{grow:["",R,te,V]}],shrink:[{shrink:["",R,te,V]}],order:[{order:[B,"first","last","none",te,V]}],"grid-cols":[{"grid-cols":v()}],"col-start-end":[{col:z()}],"col-start":[{"col-start":j()}],"col-end":[{"col-end":j()}],"grid-rows":[{"grid-rows":v()}],"row-start-end":[{row:z()}],"row-start":[{"row-start":j()}],"row-end":[{"row-end":j()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":N()}],"auto-rows":[{"auto-rows":N()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:C()}],mx:[{mx:C()}],my:[{my:C()}],ms:[{ms:C()}],me:[{me:C()}],mt:[{mt:C()}],mr:[{mr:C()}],mb:[{mb:C()}],ml:[{ml:C()}],"space-x":[{"space-x":w()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":w()}],"space-y-reverse":["space-y-reverse"],size:[{size:O()}],w:[{w:[i,"screen",...O()]}],"min-w":[{"min-w":[i,"screen","none",...O()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[a]},...O()]}],h:[{h:["screen","lh",...O()]}],"min-h":[{"min-h":["screen","lh","none",...O()]}],"max-h":[{"max-h":["screen","lh",...O()]}],"font-size":[{text:["base",o,ne,X]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,te,Y]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",T,V]}],"font-family":[{font:[se,V,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,te,V]}],"line-clamp":[{"line-clamp":[R,"none",te,Y]}],leading:[{leading:[s,...w()]}],"list-image":[{"list-image":["none",te,V]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",te,V]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[R,"from-font","auto",te,X]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[R,"auto",te,V]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:w()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",te,V]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",te,V]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:P()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:E()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},B,te,V],radial:["",te,V],conic:[B,te,V]},le,re]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:I()}],"gradient-via-pos":[{via:I()}],"gradient-to-pos":[{to:I()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:$()}],"rounded-s":[{"rounded-s":$()}],"rounded-e":[{"rounded-e":$()}],"rounded-t":[{"rounded-t":$()}],"rounded-r":[{"rounded-r":$()}],"rounded-b":[{"rounded-b":$()}],"rounded-l":[{"rounded-l":$()}],"rounded-ss":[{"rounded-ss":$()}],"rounded-se":[{"rounded-se":$()}],"rounded-ee":[{"rounded-ee":$()}],"rounded-es":[{"rounded-es":$()}],"rounded-tl":[{"rounded-tl":$()}],"rounded-tr":[{"rounded-tr":$()}],"rounded-br":[{"rounded-br":$()}],"rounded-bl":[{"rounded-bl":$()}],"border-w":[{border:W()}],"border-w-x":[{"border-x":W()}],"border-w-y":[{"border-y":W()}],"border-w-s":[{"border-s":W()}],"border-w-e":[{"border-e":W()}],"border-w-t":[{"border-t":W()}],"border-w-r":[{"border-r":W()}],"border-w-b":[{"border-b":W()}],"border-w-l":[{"border-l":W()}],"divide-x":[{"divide-x":W()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":W()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}],"divide-color":[{divide:M()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[R,te,V]}],"outline-w":[{outline:["",R,ne,X]}],"outline-color":[{outline:M()}],shadow:[{shadow:["","none",d,ce,oe]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":["none",m,ce,oe]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[R,X]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":W()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":["none",p,ce,oe]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[R,te,V]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"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":[R]}],"mask-image-linear-from-pos":[{"mask-linear-from":S()}],"mask-image-linear-to-pos":[{"mask-linear-to":S()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":S()}],"mask-image-t-to-pos":[{"mask-t-to":S()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":S()}],"mask-image-r-to-pos":[{"mask-r-to":S()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":S()}],"mask-image-b-to-pos":[{"mask-b-to":S()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":S()}],"mask-image-l-to-pos":[{"mask-l-to":S()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":S()}],"mask-image-x-to-pos":[{"mask-x-to":S()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":S()}],"mask-image-y-to-pos":[{"mask-y-to":S()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[te,V]}],"mask-image-radial-from-pos":[{"mask-radial-from":S()}],"mask-image-radial-to-pos":[{"mask-radial-to":S()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"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":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[R]}],"mask-image-conic-from-pos":[{"mask-conic-from":S()}],"mask-image-conic-to-pos":[{"mask-conic-to":S()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:P()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:E()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",te,V]}],filter:[{filter:["","none",te,V]}],blur:[{blur:A()}],brightness:[{brightness:[R,te,V]}],contrast:[{contrast:[R,te,V]}],"drop-shadow":[{"drop-shadow":["","none",u,ce,oe]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:["",R,te,V]}],"hue-rotate":[{"hue-rotate":[R,te,V]}],invert:[{invert:["",R,te,V]}],saturate:[{saturate:[R,te,V]}],sepia:[{sepia:["",R,te,V]}],"backdrop-filter":[{"backdrop-filter":["","none",te,V]}],"backdrop-blur":[{"backdrop-blur":A()}],"backdrop-brightness":[{"backdrop-brightness":[R,te,V]}],"backdrop-contrast":[{"backdrop-contrast":[R,te,V]}],"backdrop-grayscale":[{"backdrop-grayscale":["",R,te,V]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[R,te,V]}],"backdrop-invert":[{"backdrop-invert":["",R,te,V]}],"backdrop-opacity":[{"backdrop-opacity":[R,te,V]}],"backdrop-saturate":[{"backdrop-saturate":[R,te,V]}],"backdrop-sepia":[{"backdrop-sepia":["",R,te,V]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",te,V]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[R,"initial",te,V]}],ease:[{ease:["linear","initial",h,te,V]}],delay:[{delay:[R,te,V]}],animate:[{animate:["none",x,te,V]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,te,V]}],"perspective-origin":[{"perspective-origin":k()}],rotate:[{rotate:_()}],"rotate-x":[{"rotate-x":_()}],"rotate-y":[{"rotate-y":_()}],"rotate-z":[{"rotate-z":_()}],scale:[{scale:q()}],"scale-x":[{"scale-x":q()}],"scale-y":[{"scale-y":q()}],"scale-z":[{"scale-z":q()}],"scale-3d":["scale-3d"],skew:[{skew:D()}],"skew-x":[{"skew-x":D()}],"skew-y":[{"skew-y":D()}],transform:[{transform:[te,V,"","none","gpu","cpu"]}],"transform-origin":[{origin:k()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:F()}],"translate-x":[{"translate-x":F()}],"translate-y":[{"translate-y":F()}],"translate-z":[{"translate-z":F()}],"translate-none":["translate-none"],accent:[{accent:M()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:M()}],"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",te,V]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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",te,V]}],fill:[{fill:["none",...M()]}],"stroke-w":[{stroke:[R,ne,X,Y]}],stroke:[{stroke:["none",...M()]}],"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 we(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return ke(function(){for(var e,r,o=0,t="",n=arguments.length;o<n;o++)(e=arguments[o])&&(r=u(e))&&(t&&(t+=" "),t+=r);return t}(e))}var ye={sm:"zui:h-4 zui:w-4",md:"zui:h-5 zui:w-5",lg:"zui:h-6 zui:w-6"},ve=t.forwardRef(function(r,o){var s=r.className,a=r.label,i=r.description,l=r.size,c=void 0===l?"md":l,d=r.disabled,u=r.indeterminate,f=r.error,b=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var n=0;for(t=Object.getOwnPropertySymbols(e);n<t.length;n++)r.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(o[t[n]]=e[t[n]])}return o}(r,["className","label","description","size","disabled","indeterminate","error"]),g=t.useRef(null);return t.useEffect(function(){g.current&&(g.current.indeterminate=!!u)},[u]),e.jsxs("label",{className:we("zui:inline-flex zui:items-start zui:gap-2 zui:cursor-pointer",d&&"zui:opacity-60 zui:cursor-not-allowed",s),children:[e.jsxs("span",{className:we("zui:relative zui:inline-flex zui:items-center zui:justify-center zui:rounded zui:border zui:border-slate-300 zui:bg-white zui:transition-colors zui:shrink-0",ye[c],{"zui:border-red-500":f,"zui:bg-slate-200":d,"zui:border-blue-600":(b.checked||u)&&!f,"zui:bg-blue-600":(b.checked||u)&&!f,"zui:ring-1 zui:ring-offset-1 zui:ring-blue-600":(b.checked||u)&&!d}),children:[e.jsx("input",n({type:"checkbox",className:"zui:sr-only",ref:function(e){g.current=e,"function"==typeof o?o(e):o&&(o.current=e)},disabled:d,"aria-invalid":f},b)),u?e.jsx(p,{className:"zui:w-3 zui:h-3 zui:text-white zui:pointer-events-none",strokeWidth:3}):b.checked?e.jsx(m,{className:"zui:w-4 zui:h-4 zui:text-white zui:pointer-events-none"}):null]}),(a||i)&&e.jsxs("div",{className:"zui:flex zui:flex-col",children:[a&&e.jsx("span",{className:"zui:text-sm zui:text-slate-800 zui:font-medium",children:a}),i&&e.jsx("span",{className:we("zui:text-xs zui:text-slate-500",f&&"zui:text-red-500"),children:i})]})]})});exports.Checkbox=ve,exports.default=ve;
@@ -1,26 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react");function o(e){var r=Object.create(null);return e&&Object.keys(e).forEach(function(o){if("default"!==o){var t=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(r,o,t.get?t:{enumerable:!0,get:function(){return e[o]}})}}),r.default=e,Object.freeze(r)}var t=o(r),a=function(){return a=Object.assign||function(e){for(var r,o=1,t=arguments.length;o<t;o++)for(var a in r=arguments[o])Object.prototype.hasOwnProperty.call(r,a)&&(e[a]=r[a]);return e},a.apply(this,arguments)};function s(e,r,o){if(o||2===arguments.length)for(var t,a=0,s=r.length;a<s;a++)!t&&a in r||(t||(t=Array.prototype.slice.call(r,0,a)),t[a]=r[a]);return e.concat(t||Array.prototype.slice.call(r))}function n(e){var r,o,t="";if("string"==typeof e||"number"==typeof e)t+=e;else if("object"==typeof e)if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(o=n(e[r]))&&(t&&(t+=" "),t+=o)}else for(o in e)e[o]&&(t&&(t+=" "),t+=o);return t}"function"==typeof SuppressedError&&SuppressedError;const i=e=>{const r=u(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:t}=e;return{getClassGroupId:e=>{const o=e.split("-");return""===o[0]&&1!==o.length&&o.shift(),l(o,r)||d(e)},getConflictingClassGroupIds:(e,r)=>{const a=o[e]||[];return r&&t[e]?[...a,...t[e]]:a}}},l=(e,r)=>{if(0===e.length)return r.classGroupId;const o=e[0],t=r.nextPart.get(o),a=t?l(e.slice(1),t):void 0;if(a)return a;if(0===r.validators.length)return;const s=e.join("-");return r.validators.find(({validator:e})=>e(s))?.classGroupId},c=/^\[(.+)\]$/,d=e=>{if(c.test(e)){const r=c.exec(e)[1],o=r?.substring(0,r.indexOf(":"));if(o)return"arbitrary.."+o}},u=e=>{const{theme:r,classGroups:o}=e,t={nextPart:new Map,validators:[]};for(const e in o)m(o[e],t,e,r);return t},m=(e,r,o,t)=>{e.forEach(e=>{if("string"==typeof e){return void((""===e?r:p(r,e)).classGroupId=o)}if("function"==typeof e)return f(e)?void m(e(t),r,o,t):void r.validators.push({validator:e,classGroupId:o});Object.entries(e).forEach(([e,a])=>{m(a,p(r,e),o,t)})})},p=(e,r)=>{let o=e;return r.split("-").forEach(e=>{o.nextPart.has(e)||o.nextPart.set(e,{nextPart:new Map,validators:[]}),o=o.nextPart.get(e)}),o},f=e=>e.isThemeGetter,b=e=>{if(e<1)return{get:()=>{},set:()=>{}};let r=0,o=new Map,t=new Map;const a=(a,s)=>{o.set(a,s),r++,r>e&&(r=0,t=o,o=new Map)};return{get(e){let r=o.get(e);return void 0!==r?r:void 0!==(r=t.get(e))?(a(e,r),r):void 0},set(e,r){o.has(e)?o.set(e,r):a(e,r)}}},g=e=>{const{prefix:r,experimentalParseClassName:o}=e;let t=e=>{const r=[];let o,t=0,a=0,s=0;for(let n=0;n<e.length;n++){let i=e[n];if(0===t&&0===a){if(":"===i){r.push(e.slice(s,n)),s=n+1;continue}if("/"===i){o=n;continue}}"["===i?t++:"]"===i?t--:"("===i?a++:")"===i&&a--}const n=0===r.length?e:e.substring(s),i=h(n);return{modifiers:r,hasImportantModifier:i!==n,baseClassName:i,maybePostfixModifierPosition:o&&o>s?o-s:void 0}};if(r){const e=r+":",o=t;t=r=>r.startsWith(e)?o(r.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:r,maybePostfixModifierPosition:void 0}}if(o){const e=t;t=r=>o({className:r,parseClassName:e})}return t},h=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,x=e=>{const r=Object.fromEntries(e.orderSensitiveModifiers.map(e=>[e,!0]));return e=>{if(e.length<=1)return e;const o=[];let t=[];return e.forEach(e=>{"["===e[0]||r[e]?(o.push(...t.sort(),e),t=[]):t.push(e)}),o.push(...t.sort()),o}},v=/\s+/;function k(){let e,r,o=0,t="";for(;o<arguments.length;)(e=arguments[o++])&&(r=w(e))&&(t&&(t+=" "),t+=r);return t}const w=e=>{if("string"==typeof e)return e;let r,o="";for(let t=0;t<e.length;t++)e[t]&&(r=w(e[t]))&&(o&&(o+=" "),o+=r);return o};function y(e,...r){let o,t,a,s=function(l){const c=r.reduce((e,r)=>r(e),e());return o=(e=>({cache:b(e.cacheSize),parseClassName:g(e),sortModifiers:x(e),...i(e)}))(c),t=o.cache.get,a=o.cache.set,s=n,n(l)};function n(e){const r=t(e);if(r)return r;const s=((e,r)=>{const{parseClassName:o,getClassGroupId:t,getConflictingClassGroupIds:a,sortModifiers:s}=r,n=[],i=e.trim().split(v);let l="";for(let e=i.length-1;e>=0;e-=1){const r=i[e],{isExternal:c,modifiers:d,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:p}=o(r);if(c){l=r+(l.length>0?" "+l:l);continue}let f=!!p,b=t(f?m.substring(0,p):m);if(!b){if(!f){l=r+(l.length>0?" "+l:l);continue}if(b=t(m),!b){l=r+(l.length>0?" "+l:l);continue}f=!1}const g=s(d).join(":"),h=u?g+"!":g,x=h+b;if(n.includes(x))continue;n.push(x);const v=a(b,f);for(let e=0;e<v.length;++e){const r=v[e];n.push(h+r)}l=r+(l.length>0?" "+l:l)}return l})(e,o);return a(e,s),s}return function(){return s(k.apply(null,arguments))}}const z=e=>{const r=r=>r[e]||[];return r.isThemeGetter=!0,r},j=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,N=/^\((?:(\w[\w-]*):)?(.+)\)$/i,C=/^\d+\/\d+$/,O=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,M=/\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$/,P=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,G=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,E=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,I=e=>C.test(e),$=e=>!!e&&!Number.isNaN(Number(e)),S=e=>!!e&&Number.isInteger(Number(e)),W=e=>e.endsWith("%")&&$(e.slice(0,-1)),A=e=>O.test(e),_=()=>!0,q=e=>M.test(e)&&!P.test(e),L=()=>!1,R=e=>G.test(e),B=e=>E.test(e),T=e=>!Z(e)&&!K(e),U=e=>te(e,ie,L),Z=e=>j.test(e),D=e=>te(e,le,q),V=e=>te(e,ce,$),F=e=>te(e,se,L),H=e=>te(e,ne,B),J=e=>te(e,ue,R),K=e=>N.test(e),Q=e=>ae(e,le),X=e=>ae(e,de),Y=e=>ae(e,se),ee=e=>ae(e,ie),re=e=>ae(e,ne),oe=e=>ae(e,ue,!0),te=(e,r,o)=>{const t=j.exec(e);return!!t&&(t[1]?r(t[1]):o(t[2]))},ae=(e,r,o=!1)=>{const t=N.exec(e);return!!t&&(t[1]?r(t[1]):o)},se=e=>"position"===e||"percentage"===e,ne=e=>"image"===e||"url"===e,ie=e=>"length"===e||"size"===e||"bg-size"===e,le=e=>"length"===e,ce=e=>"number"===e,de=e=>"family-name"===e,ue=e=>"shadow"===e,me=y(()=>{const e=z("color"),r=z("font"),o=z("text"),t=z("font-weight"),a=z("tracking"),s=z("leading"),n=z("breakpoint"),i=z("container"),l=z("spacing"),c=z("radius"),d=z("shadow"),u=z("inset-shadow"),m=z("text-shadow"),p=z("drop-shadow"),f=z("blur"),b=z("perspective"),g=z("aspect"),h=z("ease"),x=z("animate"),v=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",K,Z],k=()=>[K,Z,l],w=()=>[I,"full","auto",...k()],y=()=>[S,"none","subgrid",K,Z],j=()=>["auto",{span:["full",S,K,Z]},S,K,Z],N=()=>[S,"auto",K,Z],C=()=>["auto","min","max","fr",K,Z],O=()=>["auto",...k()],M=()=>[I,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...k()],P=()=>[e,K,Z],G=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",Y,F,{position:[K,Z]}],E=()=>["auto","cover","contain",ee,U,{size:[K,Z]}],q=()=>[W,Q,D],L=()=>["","none","full",c,K,Z],R=()=>["",$,Q,D],B=()=>[$,W,Y,F],te=()=>["","none",f,K,Z],ae=()=>["none",$,K,Z],se=()=>["none",$,K,Z],ne=()=>[$,K,Z],ie=()=>[I,"full",...k()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[A],breakpoint:[A],color:[_],container:[A],"drop-shadow":[A],ease:["in","out","in-out"],font:[T],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[A],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[A],shadow:[A],spacing:["px",$],text:[A],"text-shadow":[A],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",I,Z,K,g]}],container:["container"],columns:[{columns:[$,Z,K,i]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"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:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],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:[S,"auto",K,Z]}],basis:[{basis:[I,"full","auto",i,...k()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[$,I,"auto","initial","none",Z]}],grow:[{grow:["",$,K,Z]}],shrink:[{shrink:["",$,K,Z]}],order:[{order:[S,"first","last","none",K,Z]}],"grid-cols":[{"grid-cols":y()}],"col-start-end":[{col:j()}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":y()}],"row-start-end":[{row:j()}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":C()}],"auto-rows":[{"auto-rows":C()}],gap:[{gap:k()}],"gap-x":[{"gap-x":k()}],"gap-y":[{"gap-y":k()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:k()}],px:[{px:k()}],py:[{py:k()}],ps:[{ps:k()}],pe:[{pe:k()}],pt:[{pt:k()}],pr:[{pr:k()}],pb:[{pb:k()}],pl:[{pl:k()}],m:[{m:O()}],mx:[{mx:O()}],my:[{my:O()}],ms:[{ms:O()}],me:[{me:O()}],mt:[{mt:O()}],mr:[{mr:O()}],mb:[{mb:O()}],ml:[{ml:O()}],"space-x":[{"space-x":k()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":k()}],"space-y-reverse":["space-y-reverse"],size:[{size:M()}],w:[{w:[i,"screen",...M()]}],"min-w":[{"min-w":[i,"screen","none",...M()]}],"max-w":[{"max-w":[i,"screen","none","prose",{screen:[n]},...M()]}],h:[{h:["screen","lh",...M()]}],"min-h":[{"min-h":["screen","lh","none",...M()]}],"max-h":[{"max-h":["screen","lh",...M()]}],"font-size":[{text:["base",o,Q,D]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[t,K,V]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",W,Z]}],"font-family":[{font:[X,Z,r]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[a,K,Z]}],"line-clamp":[{"line-clamp":[$,"none",K,V]}],leading:[{leading:[s,...k()]}],"list-image":[{"list-image":["none",K,Z]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",K,Z]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:P()}],"text-color":[{text:P()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[$,"from-font","auto",K,D]}],"text-decoration-color":[{decoration:P()}],"underline-offset":[{"underline-offset":[$,"auto",K,Z]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",K,Z]}],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",K,Z]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:G()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:E()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},S,K,Z],radial:["",K,Z],conic:[S,K,Z]},re,H]}],"bg-color":[{bg:P()}],"gradient-from-pos":[{from:q()}],"gradient-via-pos":[{via:q()}],"gradient-to-pos":[{to:q()}],"gradient-from":[{from:P()}],"gradient-via":[{via:P()}],"gradient-to":[{to:P()}],rounded:[{rounded:L()}],"rounded-s":[{"rounded-s":L()}],"rounded-e":[{"rounded-e":L()}],"rounded-t":[{"rounded-t":L()}],"rounded-r":[{"rounded-r":L()}],"rounded-b":[{"rounded-b":L()}],"rounded-l":[{"rounded-l":L()}],"rounded-ss":[{"rounded-ss":L()}],"rounded-se":[{"rounded-se":L()}],"rounded-ee":[{"rounded-ee":L()}],"rounded-es":[{"rounded-es":L()}],"rounded-tl":[{"rounded-tl":L()}],"rounded-tr":[{"rounded-tr":L()}],"rounded-br":[{"rounded-br":L()}],"rounded-bl":[{"rounded-bl":L()}],"border-w":[{border:R()}],"border-w-x":[{"border-x":R()}],"border-w-y":[{"border-y":R()}],"border-w-s":[{"border-s":R()}],"border-w-e":[{"border-e":R()}],"border-w-t":[{"border-t":R()}],"border-w-r":[{"border-r":R()}],"border-w-b":[{"border-b":R()}],"border-w-l":[{"border-l":R()}],"divide-x":[{"divide-x":R()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":R()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:P()}],"border-color-x":[{"border-x":P()}],"border-color-y":[{"border-y":P()}],"border-color-s":[{"border-s":P()}],"border-color-e":[{"border-e":P()}],"border-color-t":[{"border-t":P()}],"border-color-r":[{"border-r":P()}],"border-color-b":[{"border-b":P()}],"border-color-l":[{"border-l":P()}],"divide-color":[{divide:P()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[$,K,Z]}],"outline-w":[{outline:["",$,Q,D]}],"outline-color":[{outline:P()}],shadow:[{shadow:["","none",d,oe,J]}],"shadow-color":[{shadow:P()}],"inset-shadow":[{"inset-shadow":["none",u,oe,J]}],"inset-shadow-color":[{"inset-shadow":P()}],"ring-w":[{ring:R()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:P()}],"ring-offset-w":[{"ring-offset":[$,D]}],"ring-offset-color":[{"ring-offset":P()}],"inset-ring-w":[{"inset-ring":R()}],"inset-ring-color":[{"inset-ring":P()}],"text-shadow":[{"text-shadow":["none",m,oe,J]}],"text-shadow-color":[{"text-shadow":P()}],opacity:[{opacity:[$,K,Z]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"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":[$]}],"mask-image-linear-from-pos":[{"mask-linear-from":B()}],"mask-image-linear-to-pos":[{"mask-linear-to":B()}],"mask-image-linear-from-color":[{"mask-linear-from":P()}],"mask-image-linear-to-color":[{"mask-linear-to":P()}],"mask-image-t-from-pos":[{"mask-t-from":B()}],"mask-image-t-to-pos":[{"mask-t-to":B()}],"mask-image-t-from-color":[{"mask-t-from":P()}],"mask-image-t-to-color":[{"mask-t-to":P()}],"mask-image-r-from-pos":[{"mask-r-from":B()}],"mask-image-r-to-pos":[{"mask-r-to":B()}],"mask-image-r-from-color":[{"mask-r-from":P()}],"mask-image-r-to-color":[{"mask-r-to":P()}],"mask-image-b-from-pos":[{"mask-b-from":B()}],"mask-image-b-to-pos":[{"mask-b-to":B()}],"mask-image-b-from-color":[{"mask-b-from":P()}],"mask-image-b-to-color":[{"mask-b-to":P()}],"mask-image-l-from-pos":[{"mask-l-from":B()}],"mask-image-l-to-pos":[{"mask-l-to":B()}],"mask-image-l-from-color":[{"mask-l-from":P()}],"mask-image-l-to-color":[{"mask-l-to":P()}],"mask-image-x-from-pos":[{"mask-x-from":B()}],"mask-image-x-to-pos":[{"mask-x-to":B()}],"mask-image-x-from-color":[{"mask-x-from":P()}],"mask-image-x-to-color":[{"mask-x-to":P()}],"mask-image-y-from-pos":[{"mask-y-from":B()}],"mask-image-y-to-pos":[{"mask-y-to":B()}],"mask-image-y-from-color":[{"mask-y-from":P()}],"mask-image-y-to-color":[{"mask-y-to":P()}],"mask-image-radial":[{"mask-radial":[K,Z]}],"mask-image-radial-from-pos":[{"mask-radial-from":B()}],"mask-image-radial-to-pos":[{"mask-radial-to":B()}],"mask-image-radial-from-color":[{"mask-radial-from":P()}],"mask-image-radial-to-color":[{"mask-radial-to":P()}],"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":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[$]}],"mask-image-conic-from-pos":[{"mask-conic-from":B()}],"mask-image-conic-to-pos":[{"mask-conic-to":B()}],"mask-image-conic-from-color":[{"mask-conic-from":P()}],"mask-image-conic-to-color":[{"mask-conic-to":P()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:G()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:E()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",K,Z]}],filter:[{filter:["","none",K,Z]}],blur:[{blur:te()}],brightness:[{brightness:[$,K,Z]}],contrast:[{contrast:[$,K,Z]}],"drop-shadow":[{"drop-shadow":["","none",p,oe,J]}],"drop-shadow-color":[{"drop-shadow":P()}],grayscale:[{grayscale:["",$,K,Z]}],"hue-rotate":[{"hue-rotate":[$,K,Z]}],invert:[{invert:["",$,K,Z]}],saturate:[{saturate:[$,K,Z]}],sepia:[{sepia:["",$,K,Z]}],"backdrop-filter":[{"backdrop-filter":["","none",K,Z]}],"backdrop-blur":[{"backdrop-blur":te()}],"backdrop-brightness":[{"backdrop-brightness":[$,K,Z]}],"backdrop-contrast":[{"backdrop-contrast":[$,K,Z]}],"backdrop-grayscale":[{"backdrop-grayscale":["",$,K,Z]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[$,K,Z]}],"backdrop-invert":[{"backdrop-invert":["",$,K,Z]}],"backdrop-opacity":[{"backdrop-opacity":[$,K,Z]}],"backdrop-saturate":[{"backdrop-saturate":[$,K,Z]}],"backdrop-sepia":[{"backdrop-sepia":["",$,K,Z]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":k()}],"border-spacing-x":[{"border-spacing-x":k()}],"border-spacing-y":[{"border-spacing-y":k()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",K,Z]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[$,"initial",K,Z]}],ease:[{ease:["linear","initial",h,K,Z]}],delay:[{delay:[$,K,Z]}],animate:[{animate:["none",x,K,Z]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[b,K,Z]}],"perspective-origin":[{"perspective-origin":v()}],rotate:[{rotate:ae()}],"rotate-x":[{"rotate-x":ae()}],"rotate-y":[{"rotate-y":ae()}],"rotate-z":[{"rotate-z":ae()}],scale:[{scale:se()}],"scale-x":[{"scale-x":se()}],"scale-y":[{"scale-y":se()}],"scale-z":[{"scale-z":se()}],"scale-3d":["scale-3d"],skew:[{skew:ne()}],"skew-x":[{"skew-x":ne()}],"skew-y":[{"skew-y":ne()}],transform:[{transform:[K,Z,"","none","gpu","cpu"]}],"transform-origin":[{origin:v()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ie()}],"translate-x":[{"translate-x":ie()}],"translate-y":[{"translate-y":ie()}],"translate-z":[{"translate-z":ie()}],"translate-none":["translate-none"],accent:[{accent:P()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:P()}],"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",K,Z]}],"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":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"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",K,Z]}],fill:[{fill:["none",...P()]}],"stroke-w":[{stroke:[$,Q,D,V]}],stroke:[{stroke:["none",...P()]}],"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 pe(){for(var e=[],r=0;r<arguments.length;r++)e[r]=arguments[r];return me(function(){for(var e,r,o=0,t="",a=arguments.length;o<a;o++)(e=arguments[o])&&(r=n(e))&&(t&&(t+=" "),t+=r);return t}(e))}
2
- /**
3
- * @license lucide-react v0.525.0 - ISC
4
- *
5
- * This source code is licensed under the ISC license.
6
- * See the LICENSE file in the root directory of this source tree.
7
- */const fe=e=>{const r=(e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,r,o)=>o?o.toUpperCase():r.toLowerCase()))(e);return r.charAt(0).toUpperCase()+r.slice(1)},be=(...e)=>e.filter((e,r,o)=>Boolean(e)&&""!==e.trim()&&o.indexOf(e)===r).join(" ").trim(),ge=e=>{for(const r in e)if(r.startsWith("aria-")||"role"===r||"title"===r)return!0};
8
- /**
9
- * @license lucide-react v0.525.0 - ISC
10
- *
11
- * This source code is licensed under the ISC license.
12
- * See the LICENSE file in the root directory of this source tree.
13
- */
14
- var he={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"};
15
- /**
16
- * @license lucide-react v0.525.0 - ISC
17
- *
18
- * This source code is licensed under the ISC license.
19
- * See the LICENSE file in the root directory of this source tree.
20
- */const xe=r.forwardRef(({color:e="currentColor",size:o=24,strokeWidth:t=2,absoluteStrokeWidth:a,className:s="",children:n,iconNode:i,...l},c)=>r.createElement("svg",{ref:c,...he,width:o,height:o,stroke:e,strokeWidth:a?24*Number(t)/Number(o):t,className:be("lucide",s),...!n&&!ge(l)&&{"aria-hidden":"true"},...l},[...i.map(([e,o])=>r.createElement(e,o)),...Array.isArray(n)?n:[n]])),ve=(e,o)=>{const t=r.forwardRef(({className:t,...a},s)=>{return r.createElement(xe,{ref:s,iconNode:o,className:be(`lucide-${n=fe(e),n.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,t),...a});var n});return t.displayName=fe(e),t},ke=ve("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),we=ve("minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]);
21
- /**
22
- * @license lucide-react v0.525.0 - ISC
23
- *
24
- * This source code is licensed under the ISC license.
25
- * See the LICENSE file in the root directory of this source tree.
26
- */var ye={sm:"zui:h-4 zui:w-4",md:"zui:h-5 zui:w-5",lg:"zui:h-6 zui:w-6"},ze=t.forwardRef(function(r,o){var s=r.className,n=r.label,i=r.description,l=r.size,c=void 0===l?"md":l,d=r.disabled,u=r.indeterminate,m=r.error,p=function(e,r){var o={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.indexOf(t)<0&&(o[t]=e[t]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var a=0;for(t=Object.getOwnPropertySymbols(e);a<t.length;a++)r.indexOf(t[a])<0&&Object.prototype.propertyIsEnumerable.call(e,t[a])&&(o[t[a]]=e[t[a]])}return o}(r,["className","label","description","size","disabled","indeterminate","error"]),f=t.useRef(null);return t.useEffect(function(){f.current&&(f.current.indeterminate=!!u)},[u]),e.jsxs("label",{className:pe("zui:inline-flex zui:items-start zui:gap-2 zui:cursor-pointer",d&&"zui:opacity-60 zui:cursor-not-allowed",s),children:[e.jsxs("span",{className:pe("zui:relative zui:inline-flex zui:items-center zui:justify-center zui:rounded zui:border zui:border-slate-300 zui:bg-white zui:transition-colors zui:shrink-0",ye[c],{"zui:border-red-500":m,"zui:bg-slate-200":d,"zui:border-blue-600":(p.checked||u)&&!m,"zui:bg-blue-600":(p.checked||u)&&!m,"zui:ring-1 zui:ring-offset-1 zui:ring-blue-600":(p.checked||u)&&!d}),children:[e.jsx("input",a({type:"checkbox",className:"zui:sr-only",ref:function(e){f.current=e,"function"==typeof o?o(e):o&&(o.current=e)},disabled:d,"aria-invalid":m},p)),u?e.jsx(we,{className:"zui:w-3 zui:h-3 zui:text-white zui:pointer-events-none",strokeWidth:3}):p.checked?e.jsx(ke,{className:"zui:w-4 zui:h-4 zui:text-white zui:pointer-events-none"}):null]}),(n||i)&&e.jsxs("div",{className:"zui:flex zui:flex-col",children:[n&&e.jsx("span",{className:"zui:text-sm zui:text-slate-800 zui:font-medium",children:n}),i&&e.jsx("span",{className:pe("zui:text-xs zui:text-slate-500",m&&"zui:text-red-500"),children:i})]})]})}),je=function(r){var o,a=r.name,n=r.label,i=r.description,l=r.error,c=r.options,d=r.value,u=r.defaultValue,m=r.onChange,p=r.direction,f=void 0===p?"vertical":p,b=r.layout,g=void 0===b?"box":b,h=r.disabled,x=void 0!==h&&h,v=r.size,k=void 0===v?"md":v,w=r.className,y=r.columns,z=void 0===y?3:y,j=t.useState(u||[]),N=j[0],C=j[1],O=void 0!==d,M=O?d:N,P=function(e,r){var o=r?s(s([],M,!0),[e],!1):M.filter(function(r){return r!==e});O||C(o),null==m||m(o)};return e.jsxs("fieldset",{className:pe("zui:space-y-2",w),"aria-invalid":l||void 0,children:[(n||i)&&e.jsxs("div",{className:"zui:mb-2",children:[n&&e.jsx("legend",{className:"zui:text-sm zui:font-medium zui:text-slate-800",children:n}),i&&e.jsx("p",{className:pe("zui:text-xs zui:text-slate-500",l&&"zui:text-red-500"),children:i})]}),e.jsx("div",{className:pe((o={"zui:space-y-2":"list"===g&&"vertical"===f,"zui:flex zui:flex-wrap zui:gap-4":"list"===g&&"horizontal"===f,"zui:grid zui:gap-4":"box"===g},o["zui:grid-cols-".concat(z)]="box"===g&&"horizontal"===f,o["zui:grid-cols-1"]="box"===g&&"vertical"===f,o),w),children:c.map(function(r){var o=M.includes(r.value),t=e.jsx(ze,{name:a,size:k,label:"list"===g?r.label:void 0,description:"list"===g?r.description:void 0,value:r.value,checked:o,onChange:function(e){return P(r.value,e.target.checked)},disabled:x||r.disabled,error:l});return"box"===g?e.jsxs("label",{className:pe("group zui:relative zui:flex zui:cursor-pointer zui:rounded-md zui:border zui:border-gray-200 zui:bg-neutral-100 zui:p-2.5 zui:transition-all",{"zui:border-blue-600 zui:ring-1 zui:ring-blue-500 zui:bg-blue-50":o,"zui:hover:border-gray-400":!x,"zui:opacity-50 zui:cursor-not-allowed":x||r.disabled,"zui:border-red-500":l}),children:[e.jsx(ze,{name:a,size:k,value:r.value,checked:o,onChange:function(e){return P(r.value,e.target.checked)},disabled:x||r.disabled,error:l,className:"zui:absolute zui:top-3 zui:right-3"}),e.jsxs("div",{children:[e.jsx("p",{className:"zui:text-sm zui:font-medium zui:text-slate-800",children:r.label}),r.description&&e.jsx("p",{className:"zui:text-xs zui:text-slate-500",children:r.description})]})]},r.value):e.jsx("div",{children:t},r.value)})})]})};exports.CheckboxGroup=je,exports.default=je;