eglador-ui-react 1.0.0-alpha.1 → 1.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -12,7 +12,7 @@
12
12
 
13
13
  Eglador UI for React — headless, accessible component library. Compound subcomponents, **Tailwind CSS v4**, zero runtime dependencies.
14
14
 
15
- > **Status:** Pre-alpha — scaffold ready (build, Storybook, CI). 55 bileşen geliştirme sürecinde.
15
+ > **Status:** Pre-alpha — 10/55 bileşen hazır (Tier 1). Tier 2 (form bileşenleri) sürüyor.
16
16
 
17
17
  ## Installation
18
18
 
@@ -36,23 +36,25 @@ npm install eglador-ui-react
36
36
  | Next.js (`src/`) | `src/app/globals.css` | `../../node_modules/eglador-ui-react` |
37
37
  | Vite | `src/index.css` | `../node_modules/eglador-ui-react` |
38
38
 
39
- ## Roadmap (55 components)
39
+ ## Bileşenler (10/55)
40
40
 
41
- **Layout & Structure** — Accordion · AspectRatio · Collapsible · Resizable · ScrollArea · Separator · Sidebar
41
+ **✓ = hazır · = planlı**
42
42
 
43
- **Display** — Avatar · Badge · Empty · Kbd · Skeleton · Spinner · Typography
43
+ **Layout & Structure (2/7)** — Accordion · AspectRatio · Collapsible · Resizable · ScrollArea · Separator · — Sidebar
44
44
 
45
- **Navigation** — Breadcrumb · Menubar · NavigationMenu · Pagination · Stepper · Tabs · TreeView
45
+ **Display (7/7) — TAMAM** — Avatar · Badge · Empty · Kbd · Skeleton · Spinner · ✓ Typography
46
46
 
47
- **Forms** — Button · ButtonGroup · Checkbox · CheckboxGroup · Input · InputGroup · InputOTP · Label · MultiSelect · NativeSelect · Radio · RadioGroup · Select · Switch · Textarea
47
+ **Navigation (0/7)** — Breadcrumb · Menubar · NavigationMenu · Pagination · Stepper · Tabs · TreeView
48
48
 
49
- **Date & Time** — Calendar · DatePicker · DateTimePicker
49
+ **Forms (1/15)** — Button · ButtonGroup · — Checkbox · — CheckboxGroup · — Input · — InputGroup · — InputOTP · ✓ Label · — MultiSelect · — NativeSelect · — Radio · — RadioGroup · — Select · — Switch · — Textarea
50
50
 
51
- **Overlays** Alert · AlertDialog · ContextMenu · Dialog · Drawer · Dropdown · HoverCard · Notification · Popover · Tooltip
51
+ **Date & Time (0/3)** Calendar · DatePicker · DateTimePicker
52
52
 
53
- **Data** — Table
53
+ **Overlays (0/10)** — — Alert · — AlertDialog · — ContextMenu · — Dialog · — Drawer · — Dropdown · — HoverCard · — Notification · — Popover · — Tooltip
54
54
 
55
- **Misc** — Command · ImageCropper · Link · SpeedDial · Progress
55
+ **Data (0/1)** — Table
56
+
57
+ **Misc (0/5)** — — Command · — ImageCropper · — Link · — SpeedDial · — Progress
56
58
 
57
59
  ## Compatibility
58
60
 
package/dist/index.d.mts CHANGED
@@ -1,2 +1,130 @@
1
+ import * as React from 'react';
1
2
 
2
- export { }
3
+ type AspectRatioPreset = "1:1" | "16:9" | "4:3" | "21:9" | "3:2" | "2:3" | "9:16";
4
+ interface AspectRatioProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "style"> {
5
+ ratio?: AspectRatioPreset | number;
6
+ style?: React.CSSProperties;
7
+ children: React.ReactNode;
8
+ }
9
+ declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
10
+
11
+ type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl";
12
+ type AvatarShape = "circle" | "rounded" | "square";
13
+ interface AvatarProps extends React.HTMLAttributes<HTMLDivElement> {
14
+ src?: string;
15
+ alt?: string;
16
+ name?: string;
17
+ size?: AvatarSize;
18
+ shape?: AvatarShape;
19
+ icon?: React.ReactNode;
20
+ }
21
+ interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
22
+ max?: number;
23
+ size?: AvatarSize;
24
+ children: React.ReactNode;
25
+ }
26
+ declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
27
+ declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
28
+
29
+ type BadgeVariant = "solid" | "soft" | "outline";
30
+ type BadgeSize = "xs" | "sm" | "md" | "lg" | "xl";
31
+ type BadgeShape = "square" | "rounded" | "pill";
32
+ interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
33
+ variant?: BadgeVariant;
34
+ size?: BadgeSize;
35
+ shape?: BadgeShape;
36
+ icon?: React.ReactNode;
37
+ iconRight?: React.ReactNode;
38
+ removable?: boolean;
39
+ onRemove?: () => void;
40
+ children: React.ReactNode;
41
+ }
42
+ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
43
+
44
+ type EmptySize = "xs" | "sm" | "md" | "lg" | "xl";
45
+ interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
46
+ icon?: React.ReactNode;
47
+ title?: React.ReactNode;
48
+ description?: React.ReactNode;
49
+ size?: EmptySize;
50
+ action?: React.ReactNode;
51
+ children?: React.ReactNode;
52
+ }
53
+ declare const Empty: React.ForwardRefExoticComponent<EmptyProps & React.RefAttributes<HTMLDivElement>>;
54
+
55
+ type KbdSize = "xs" | "sm" | "md" | "lg" | "xl";
56
+ type KbdVariant = "default" | "outline" | "ghost";
57
+ type KbdShape = "square" | "rounded";
58
+ interface KbdProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
59
+ size?: KbdSize;
60
+ variant?: KbdVariant;
61
+ shape?: KbdShape;
62
+ keys?: string[];
63
+ separator?: React.ReactNode;
64
+ children?: React.ReactNode;
65
+ }
66
+ interface KbdGroupProps extends React.HTMLAttributes<HTMLSpanElement> {
67
+ size?: KbdSize;
68
+ separator?: React.ReactNode;
69
+ }
70
+ declare const Kbd: React.ForwardRefExoticComponent<KbdProps & React.RefAttributes<HTMLElement>>;
71
+ declare const KbdGroup: React.ForwardRefExoticComponent<KbdGroupProps & React.RefAttributes<HTMLSpanElement>>;
72
+
73
+ type LabelSize = "xs" | "sm" | "md" | "lg" | "xl";
74
+ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
75
+ size?: LabelSize;
76
+ required?: boolean;
77
+ disabled?: boolean;
78
+ children: React.ReactNode;
79
+ }
80
+ declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
81
+
82
+ type SeparatorOrientation = "horizontal" | "vertical";
83
+ type SeparatorVariant = "solid" | "dashed" | "dotted";
84
+ interface SeparatorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "role" | "aria-orientation"> {
85
+ orientation?: SeparatorOrientation;
86
+ variant?: SeparatorVariant;
87
+ label?: React.ReactNode;
88
+ decorative?: boolean;
89
+ }
90
+ declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
91
+
92
+ type SkeletonVariant = "text" | "circular" | "rectangular" | "rounded";
93
+ type SkeletonAnimation = "pulse" | "wave" | "none";
94
+ interface SkeletonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "style"> {
95
+ variant?: SkeletonVariant;
96
+ animation?: SkeletonAnimation;
97
+ width?: string | number;
98
+ height?: string | number;
99
+ lines?: number;
100
+ lineGap?: string;
101
+ style?: React.CSSProperties;
102
+ }
103
+ declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
104
+
105
+ declare function ensureSkeletonStyles(): void;
106
+
107
+ type SpinnerSize = "xs" | "sm" | "md" | "lg" | "xl";
108
+ interface SpinnerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "role"> {
109
+ size?: SpinnerSize;
110
+ label?: string;
111
+ }
112
+ declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLDivElement>>;
113
+
114
+ type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "p" | "lead" | "large" | "small" | "muted" | "blockquote" | "list" | "code" | "kbd";
115
+ type TypographyColor = "default" | "muted";
116
+ type TypographyAlign = "left" | "center" | "right";
117
+ type TypographyWeight = "thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "black";
118
+ interface TypographyProps extends Omit<React.HTMLAttributes<HTMLElement>, "color"> {
119
+ variant?: TypographyVariant;
120
+ color?: TypographyColor;
121
+ align?: TypographyAlign;
122
+ weight?: TypographyWeight;
123
+ truncate?: boolean;
124
+ lines?: number;
125
+ as?: React.ElementType;
126
+ children: React.ReactNode;
127
+ }
128
+ declare const Typography: React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<HTMLElement>>;
129
+
130
+ export { AspectRatio, type AspectRatioPreset, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, Empty, type EmptyProps, type EmptySize, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, type KbdShape, type KbdSize, type KbdVariant, Label, type LabelProps, type LabelSize, Separator, type SeparatorOrientation, type SeparatorProps, type SeparatorVariant, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, type SpinnerSize, Typography, type TypographyAlign, type TypographyColor, type TypographyProps, type TypographyVariant, type TypographyWeight, ensureSkeletonStyles };
package/dist/index.d.ts CHANGED
@@ -1,2 +1,130 @@
1
+ import * as React from 'react';
1
2
 
2
- export { }
3
+ type AspectRatioPreset = "1:1" | "16:9" | "4:3" | "21:9" | "3:2" | "2:3" | "9:16";
4
+ interface AspectRatioProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "style"> {
5
+ ratio?: AspectRatioPreset | number;
6
+ style?: React.CSSProperties;
7
+ children: React.ReactNode;
8
+ }
9
+ declare const AspectRatio: React.ForwardRefExoticComponent<AspectRatioProps & React.RefAttributes<HTMLDivElement>>;
10
+
11
+ type AvatarSize = "xs" | "sm" | "md" | "lg" | "xl";
12
+ type AvatarShape = "circle" | "rounded" | "square";
13
+ interface AvatarProps extends React.HTMLAttributes<HTMLDivElement> {
14
+ src?: string;
15
+ alt?: string;
16
+ name?: string;
17
+ size?: AvatarSize;
18
+ shape?: AvatarShape;
19
+ icon?: React.ReactNode;
20
+ }
21
+ interface AvatarGroupProps extends React.HTMLAttributes<HTMLDivElement> {
22
+ max?: number;
23
+ size?: AvatarSize;
24
+ children: React.ReactNode;
25
+ }
26
+ declare const Avatar: React.ForwardRefExoticComponent<AvatarProps & React.RefAttributes<HTMLDivElement>>;
27
+ declare const AvatarGroup: React.ForwardRefExoticComponent<AvatarGroupProps & React.RefAttributes<HTMLDivElement>>;
28
+
29
+ type BadgeVariant = "solid" | "soft" | "outline";
30
+ type BadgeSize = "xs" | "sm" | "md" | "lg" | "xl";
31
+ type BadgeShape = "square" | "rounded" | "pill";
32
+ interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement> {
33
+ variant?: BadgeVariant;
34
+ size?: BadgeSize;
35
+ shape?: BadgeShape;
36
+ icon?: React.ReactNode;
37
+ iconRight?: React.ReactNode;
38
+ removable?: boolean;
39
+ onRemove?: () => void;
40
+ children: React.ReactNode;
41
+ }
42
+ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLSpanElement>>;
43
+
44
+ type EmptySize = "xs" | "sm" | "md" | "lg" | "xl";
45
+ interface EmptyProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "title"> {
46
+ icon?: React.ReactNode;
47
+ title?: React.ReactNode;
48
+ description?: React.ReactNode;
49
+ size?: EmptySize;
50
+ action?: React.ReactNode;
51
+ children?: React.ReactNode;
52
+ }
53
+ declare const Empty: React.ForwardRefExoticComponent<EmptyProps & React.RefAttributes<HTMLDivElement>>;
54
+
55
+ type KbdSize = "xs" | "sm" | "md" | "lg" | "xl";
56
+ type KbdVariant = "default" | "outline" | "ghost";
57
+ type KbdShape = "square" | "rounded";
58
+ interface KbdProps extends Omit<React.HTMLAttributes<HTMLElement>, "children"> {
59
+ size?: KbdSize;
60
+ variant?: KbdVariant;
61
+ shape?: KbdShape;
62
+ keys?: string[];
63
+ separator?: React.ReactNode;
64
+ children?: React.ReactNode;
65
+ }
66
+ interface KbdGroupProps extends React.HTMLAttributes<HTMLSpanElement> {
67
+ size?: KbdSize;
68
+ separator?: React.ReactNode;
69
+ }
70
+ declare const Kbd: React.ForwardRefExoticComponent<KbdProps & React.RefAttributes<HTMLElement>>;
71
+ declare const KbdGroup: React.ForwardRefExoticComponent<KbdGroupProps & React.RefAttributes<HTMLSpanElement>>;
72
+
73
+ type LabelSize = "xs" | "sm" | "md" | "lg" | "xl";
74
+ interface LabelProps extends React.LabelHTMLAttributes<HTMLLabelElement> {
75
+ size?: LabelSize;
76
+ required?: boolean;
77
+ disabled?: boolean;
78
+ children: React.ReactNode;
79
+ }
80
+ declare const Label: React.ForwardRefExoticComponent<LabelProps & React.RefAttributes<HTMLLabelElement>>;
81
+
82
+ type SeparatorOrientation = "horizontal" | "vertical";
83
+ type SeparatorVariant = "solid" | "dashed" | "dotted";
84
+ interface SeparatorProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "role" | "aria-orientation"> {
85
+ orientation?: SeparatorOrientation;
86
+ variant?: SeparatorVariant;
87
+ label?: React.ReactNode;
88
+ decorative?: boolean;
89
+ }
90
+ declare const Separator: React.ForwardRefExoticComponent<SeparatorProps & React.RefAttributes<HTMLDivElement>>;
91
+
92
+ type SkeletonVariant = "text" | "circular" | "rectangular" | "rounded";
93
+ type SkeletonAnimation = "pulse" | "wave" | "none";
94
+ interface SkeletonProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "style"> {
95
+ variant?: SkeletonVariant;
96
+ animation?: SkeletonAnimation;
97
+ width?: string | number;
98
+ height?: string | number;
99
+ lines?: number;
100
+ lineGap?: string;
101
+ style?: React.CSSProperties;
102
+ }
103
+ declare const Skeleton: React.ForwardRefExoticComponent<SkeletonProps & React.RefAttributes<HTMLDivElement>>;
104
+
105
+ declare function ensureSkeletonStyles(): void;
106
+
107
+ type SpinnerSize = "xs" | "sm" | "md" | "lg" | "xl";
108
+ interface SpinnerProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "role"> {
109
+ size?: SpinnerSize;
110
+ label?: string;
111
+ }
112
+ declare const Spinner: React.ForwardRefExoticComponent<SpinnerProps & React.RefAttributes<HTMLDivElement>>;
113
+
114
+ type TypographyVariant = "h1" | "h2" | "h3" | "h4" | "p" | "lead" | "large" | "small" | "muted" | "blockquote" | "list" | "code" | "kbd";
115
+ type TypographyColor = "default" | "muted";
116
+ type TypographyAlign = "left" | "center" | "right";
117
+ type TypographyWeight = "thin" | "extralight" | "light" | "normal" | "medium" | "semibold" | "bold" | "extrabold" | "black";
118
+ interface TypographyProps extends Omit<React.HTMLAttributes<HTMLElement>, "color"> {
119
+ variant?: TypographyVariant;
120
+ color?: TypographyColor;
121
+ align?: TypographyAlign;
122
+ weight?: TypographyWeight;
123
+ truncate?: boolean;
124
+ lines?: number;
125
+ as?: React.ElementType;
126
+ children: React.ReactNode;
127
+ }
128
+ declare const Typography: React.ForwardRefExoticComponent<TypographyProps & React.RefAttributes<HTMLElement>>;
129
+
130
+ export { AspectRatio, type AspectRatioPreset, type AspectRatioProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, Badge, type BadgeProps, type BadgeShape, type BadgeSize, type BadgeVariant, Empty, type EmptyProps, type EmptySize, Kbd, KbdGroup, type KbdGroupProps, type KbdProps, type KbdShape, type KbdSize, type KbdVariant, Label, type LabelProps, type LabelSize, Separator, type SeparatorOrientation, type SeparatorProps, type SeparatorVariant, Skeleton, type SkeletonAnimation, type SkeletonProps, type SkeletonVariant, Spinner, type SpinnerProps, type SpinnerSize, Typography, type TypographyAlign, type TypographyColor, type TypographyProps, type TypographyVariant, type TypographyWeight, ensureSkeletonStyles };
package/dist/index.js CHANGED
@@ -1,2 +1,24 @@
1
1
  "use client";
2
- "use strict";var t=Object.defineProperty;var a=Object.getOwnPropertyDescriptor;var b=Object.getOwnPropertyNames;var c=Object.prototype.hasOwnProperty;var d=(o,e,x,r)=>{if(e&&typeof e=="object"||typeof e=="function")for(let p of b(e))!c.call(o,p)&&p!==x&&t(o,p,{get:()=>e[p],enumerable:!(r=a(e,p))||r.enumerable});return o};var f=o=>d(t({},"__esModule",{value:!0}),o);var g={};module.exports=f(g);
2
+ "use strict";var Pt=Object.create;var ie=Object.defineProperty;var Et=Object.getOwnPropertyDescriptor;var Gt=Object.getOwnPropertyNames;var Ht=Object.getPrototypeOf,Wt=Object.prototype.hasOwnProperty;var Vt=(e,t)=>{for(var o in t)ie(e,o,{get:t[o],enumerable:!0})},Le=(e,t,o,r)=>{if(t&&typeof t=="object"||typeof t=="function")for(let s of Gt(t))!Wt.call(e,s)&&s!==o&&ie(e,s,{get:()=>t[s],enumerable:!(r=Et(t,s))||r.enumerable});return e};var P=(e,t,o)=>(o=e!=null?Pt(Ht(e)):{},Le(t||!e||!e.__esModule?ie(o,"default",{value:e,enumerable:!0}):o,e)),Ft=e=>Le(ie({},"__esModule",{value:!0}),e);var jo={};Vt(jo,{AspectRatio:()=>rt,Avatar:()=>dt,AvatarGroup:()=>pt,Badge:()=>ft,Empty:()=>gt,Kbd:()=>xt,KbdGroup:()=>yt,Label:()=>kt,Separator:()=>zt,Skeleton:()=>At,Spinner:()=>Tt,Typography:()=>Ct,ensureSkeletonStyles:()=>me});module.exports=Ft(jo);var ot=P(require("react"));function Pe(e){var t,o,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(o=Pe(e[t]))&&(r&&(r+=" "),r+=o)}else for(o in e)e[o]&&(r&&(r+=" "),r+=o);return r}function Ee(){for(var e,t,o=0,r="",s=arguments.length;o<s;o++)(e=arguments[o])&&(t=Pe(e))&&(r&&(r+=" "),r+=t);return r}var Ot=(e,t)=>{let o=new Array(e.length+t.length);for(let r=0;r<e.length;r++)o[r]=e[r];for(let r=0;r<t.length;r++)o[e.length+r]=t[r];return o},Dt=(e,t)=>({classGroupId:e,validator:t}),Oe=(e=new Map,t=null,o)=>({nextPart:e,validators:t,classGroupId:o});var Ge=[],_t="arbitrary..",Bt=e=>{let t=jt(e),{conflictingClassGroups:o,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:a=>{if(a.startsWith("[")&&a.endsWith("]"))return Kt(a);let d=a.split("-"),f=d[0]===""&&d.length>1?1:0;return De(d,f,t)},getConflictingClassGroupIds:(a,d)=>{if(d){let f=r[a],p=o[a];return f?p?Ot(p,f):f:p||Ge}return o[a]||Ge}}},De=(e,t,o)=>{if(e.length-t===0)return o.classGroupId;let s=e[t],i=o.nextPart.get(s);if(i){let p=De(e,t+1,i);if(p)return p}let a=o.validators;if(a===null)return;let d=t===0?e.join("-"):e.slice(t).join("-"),f=a.length;for(let p=0;p<f;p++){let g=a[p];if(g.validator(d))return g.classGroupId}},Kt=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let t=e.slice(1,-1),o=t.indexOf(":"),r=t.slice(0,o);return r?_t+r:void 0})(),jt=e=>{let{theme:t,classGroups:o}=e;return Ut(o,t)},Ut=(e,t)=>{let o=Oe();for(let r in e){let s=e[r];ke(s,o,r,t)}return o},ke=(e,t,o,r)=>{let s=e.length;for(let i=0;i<s;i++){let a=e[i];qt(a,t,o,r)}},qt=(e,t,o,r)=>{if(typeof e=="string"){$t(e,t,o);return}if(typeof e=="function"){Zt(e,t,o,r);return}Yt(e,t,o,r)},$t=(e,t,o)=>{let r=e===""?t:_e(t,e);r.classGroupId=o},Zt=(e,t,o,r)=>{if(Xt(e)){ke(e(r),t,o,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Dt(o,e))},Yt=(e,t,o,r)=>{let s=Object.entries(e),i=s.length;for(let a=0;a<i;a++){let[d,f]=s[a];ke(f,_e(t,d),o,r)}},_e=(e,t)=>{let o=e,r=t.split("-"),s=r.length;for(let i=0;i<s;i++){let a=r[i],d=o.nextPart.get(a);d||(d=Oe(),o.nextPart.set(a,d)),o=d}return o},Xt=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Jt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,o=Object.create(null),r=Object.create(null),s=(i,a)=>{o[i]=a,t++,t>e&&(t=0,r=o,o=Object.create(null))};return{get(i){let a=o[i];if(a!==void 0)return a;if((a=r[i])!==void 0)return s(i,a),a},set(i,a){i in o?o[i]=a:s(i,a)}}};var Qt=[],He=(e,t,o,r,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:o,maybePostfixModifierPosition:r,isExternal:s}),eo=e=>{let{prefix:t,experimentalParseClassName:o}=e,r=s=>{let i=[],a=0,d=0,f=0,p,g=s.length;for(let S=0;S<g;S++){let A=s[S];if(a===0&&d===0){if(A===":"){i.push(s.slice(f,S)),f=S+1;continue}if(A==="/"){p=S;continue}}A==="["?a++:A==="]"?a--:A==="("?d++:A===")"&&d--}let x=i.length===0?s:s.slice(f),v=x,y=!1;x.endsWith("!")?(v=x.slice(0,-1),y=!0):x.startsWith("!")&&(v=x.slice(1),y=!0);let z=p&&p>f?p-f:void 0;return He(i,y,v,z)};if(t){let s=t+":",i=r;r=a=>a.startsWith(s)?i(a.slice(s.length)):He(Qt,!1,a,void 0,!0)}if(o){let s=r;r=i=>o({className:i,parseClassName:s})}return r},to=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((o,r)=>{t.set(o,1e6+r)}),o=>{let r=[],s=[];for(let i=0;i<o.length;i++){let a=o[i],d=a[0]==="[",f=t.has(a);d||f?(s.length>0&&(s.sort(),r.push(...s),s=[]),r.push(a)):s.push(a)}return s.length>0&&(s.sort(),r.push(...s)),r}},oo=e=>({cache:Jt(e.cacheSize),parseClassName:eo(e),sortModifiers:to(e),postfixLookupClassGroupIds:ro(e),...Bt(e)}),ro=e=>{let t=Object.create(null),o=e.postfixLookupClassGroups;if(o)for(let r=0;r<o.length;r++)t[o[r]]=!0;return t},no=/\s+/,so=(e,t)=>{let{parseClassName:o,getClassGroupId:r,getConflictingClassGroupIds:s,sortModifiers:i,postfixLookupClassGroupIds:a}=t,d=[],f=e.trim().split(no),p="";for(let g=f.length-1;g>=0;g-=1){let x=f[g],{isExternal:v,modifiers:y,hasImportantModifier:z,baseClassName:S,maybePostfixModifierPosition:A}=o(x);if(v){p=x+(p.length>0?" "+p:p);continue}let H=!!A,I;if(H){let F=S.substring(0,A);I=r(F);let m=I&&a[I]?r(S):void 0;m&&m!==I&&(I=m,H=!1)}else I=r(S);if(!I){if(!H){p=x+(p.length>0?" "+p:p);continue}if(I=r(S),!I){p=x+(p.length>0?" "+p:p);continue}H=!1}let ee=y.length===0?"":y.length===1?y[0]:i(y).join(":"),Y=z?ee+"!":ee,X=Y+I;if(d.indexOf(X)>-1)continue;d.push(X);let J=s(I,H);for(let F=0;F<J.length;++F){let m=J[F];d.push(Y+m)}p=x+(p.length>0?" "+p:p)}return p},ao=(...e)=>{let t=0,o,r,s="";for(;t<e.length;)(o=e[t++])&&(r=Be(o))&&(s&&(s+=" "),s+=r);return s},Be=e=>{if(typeof e=="string")return e;let t,o="";for(let r=0;r<e.length;r++)e[r]&&(t=Be(e[r]))&&(o&&(o+=" "),o+=t);return o},io=(e,...t)=>{let o,r,s,i,a=f=>{let p=t.reduce((g,x)=>x(g),e());return o=oo(p),r=o.cache.get,s=o.cache.set,i=d,d(f)},d=f=>{let p=r(f);if(p)return p;let g=so(f,o);return s(f,g),g};return i=a,(...f)=>i(ao(...f))},lo=[],w=e=>{let t=o=>o[e]||lo;return t.isThemeGetter=!0,t},Ke=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,je=/^\((?:(\w[\w-]*):)?(.+)\)$/i,co=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,po=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mo=/\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$/,fo=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,uo=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,go=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,D=e=>co.test(e),h=e=>!!e&&!Number.isNaN(Number(e)),W=e=>!!e&&Number.isInteger(Number(e)),ve=e=>e.endsWith("%")&&h(e.slice(0,-1)),O=e=>po.test(e),Ue=()=>!0,bo=e=>mo.test(e)&&!fo.test(e),we=()=>!1,ho=e=>uo.test(e),xo=e=>go.test(e),yo=e=>!l(e)&&!c(e),vo=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),ko=e=>_(e,Ze,we),l=e=>Ke.test(e),q=e=>_(e,Ye,bo),We=e=>_(e,Mo,h),wo=e=>_(e,Je,Ue),zo=e=>_(e,Xe,we),Ve=e=>_(e,qe,we),So=e=>_(e,$e,xo),le=e=>_(e,Qe,ho),c=e=>je.test(e),te=e=>$(e,Ye),Ro=e=>$(e,Xe),Fe=e=>$(e,qe),Ao=e=>$(e,Ze),Io=e=>$(e,$e),ce=e=>$(e,Qe,!0),To=e=>$(e,Je,!0),_=(e,t,o)=>{let r=Ke.exec(e);return r?r[1]?t(r[1]):o(r[2]):!1},$=(e,t,o=!1)=>{let r=je.exec(e);return r?r[1]?t(r[1]):o:!1},qe=e=>e==="position"||e==="percentage",$e=e=>e==="image"||e==="url",Ze=e=>e==="length"||e==="size"||e==="bg-size",Ye=e=>e==="length",Mo=e=>e==="number",Xe=e=>e==="family-name",Je=e=>e==="number"||e==="weight",Qe=e=>e==="shadow";var No=()=>{let e=w("color"),t=w("font"),o=w("text"),r=w("font-weight"),s=w("tracking"),i=w("leading"),a=w("breakpoint"),d=w("container"),f=w("spacing"),p=w("radius"),g=w("shadow"),x=w("inset-shadow"),v=w("text-shadow"),y=w("drop-shadow"),z=w("blur"),S=w("perspective"),A=w("aspect"),H=w("ease"),I=w("animate"),ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],Y=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],X=()=>[...Y(),c,l],J=()=>["auto","hidden","clip","visible","scroll"],F=()=>["auto","contain","none"],m=()=>[c,l,f],N=()=>[D,"full","auto",...m()],Se=()=>[W,"none","subgrid",c,l],Re=()=>["auto",{span:["full",W,c,l]},W,c,l],oe=()=>[W,"auto",c,l],Ae=()=>["auto","min","max","fr",c,l],ge=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Q=()=>["start","end","center","stretch","center-safe","end-safe"],L=()=>["auto",...m()],U=()=>[D,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],be=()=>[D,"screen","full","dvw","lvw","svw","min","max","fit",...m()],he=()=>[D,"screen","full","lh","dvh","lvh","svh","min","max","fit",...m()],u=()=>[e,c,l],Ie=()=>[...Y(),Fe,Ve,{position:[c,l]}],Te=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Me=()=>["auto","cover","contain",Ao,ko,{size:[c,l]}],xe=()=>[ve,te,q],T=()=>["","none","full",p,c,l],M=()=>["",h,te,q],re=()=>["solid","dashed","dotted","double"],Ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>[h,ve,Fe,Ve],Ce=()=>["","none",z,c,l],ne=()=>["none",h,c,l],se=()=>["none",h,c,l],ye=()=>[h,c,l],ae=()=>[D,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[O],breakpoint:[O],color:[Ue],container:[O],"drop-shadow":[O],ease:["in","out","in-out"],font:[yo],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[O],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[O],shadow:[O],spacing:["px",h],text:[O],"text-shadow":[O],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",D,l,c,A]}],container:["container"],"container-type":[{"@container":["","normal","size",c,l]}],"container-named":[vo],columns:[{columns:[h,l,c,d]}],"break-after":[{"break-after":ee()}],"break-before":[{"break-before":ee()}],"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:X()}],overflow:[{overflow:J()}],"overflow-x":[{"overflow-x":J()}],"overflow-y":[{"overflow-y":J()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:N()}],"inset-x":[{"inset-x":N()}],"inset-y":[{"inset-y":N()}],start:[{"inset-s":N(),start:N()}],end:[{"inset-e":N(),end:N()}],"inset-bs":[{"inset-bs":N()}],"inset-be":[{"inset-be":N()}],top:[{top:N()}],right:[{right:N()}],bottom:[{bottom:N()}],left:[{left:N()}],visibility:["visible","invisible","collapse"],z:[{z:[W,"auto",c,l]}],basis:[{basis:[D,"full","auto",d,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[h,D,"auto","initial","none",l]}],grow:[{grow:["",h,c,l]}],shrink:[{shrink:["",h,c,l]}],order:[{order:[W,"first","last","none",c,l]}],"grid-cols":[{"grid-cols":Se()}],"col-start-end":[{col:Re()}],"col-start":[{"col-start":oe()}],"col-end":[{"col-end":oe()}],"grid-rows":[{"grid-rows":Se()}],"row-start-end":[{row:Re()}],"row-start":[{"row-start":oe()}],"row-end":[{"row-end":oe()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Ae()}],"auto-rows":[{"auto-rows":Ae()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...ge(),"normal"]}],"justify-items":[{"justify-items":[...Q(),"normal"]}],"justify-self":[{"justify-self":["auto",...Q()]}],"align-content":[{content:["normal",...ge()]}],"align-items":[{items:[...Q(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Q(),{baseline:["","last"]}]}],"place-content":[{"place-content":ge()}],"place-items":[{"place-items":[...Q(),"baseline"]}],"place-self":[{"place-self":["auto",...Q()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pbs:[{pbs:m()}],pbe:[{pbe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m:L()}],mx:[{mx:L()}],my:[{my:L()}],ms:[{ms:L()}],me:[{me:L()}],mbs:[{mbs:L()}],mbe:[{mbe:L()}],mt:[{mt:L()}],mr:[{mr:L()}],mb:[{mb:L()}],ml:[{ml:L()}],"space-x":[{"space-x":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:U()}],"inline-size":[{inline:["auto",...be()]}],"min-inline-size":[{"min-inline":["auto",...be()]}],"max-inline-size":[{"max-inline":["none",...be()]}],"block-size":[{block:["auto",...he()]}],"min-block-size":[{"min-block":["auto",...he()]}],"max-block-size":[{"max-block":["none",...he()]}],w:[{w:[d,"screen",...U()]}],"min-w":[{"min-w":[d,"screen","none",...U()]}],"max-w":[{"max-w":[d,"screen","none","prose",{screen:[a]},...U()]}],h:[{h:["screen","lh",...U()]}],"min-h":[{"min-h":["screen","lh","none",...U()]}],"max-h":[{"max-h":["screen","lh",...U()]}],"font-size":[{text:["base",o,te,q]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,To,wo]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",ve,l]}],"font-family":[{font:[Ro,zo,t]}],"font-features":[{"font-features":[l]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,c,l]}],"line-clamp":[{"line-clamp":[h,"none",c,We]}],leading:[{leading:[i,...m()]}],"list-image":[{"list-image":["none",c,l]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",c,l]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:u()}],"text-color":[{text:u()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...re(),"wavy"]}],"text-decoration-thickness":[{decoration:[h,"from-font","auto",c,q]}],"text-decoration-color":[{decoration:u()}],"underline-offset":[{"underline-offset":[h,"auto",c,l]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"tab-size":[{tab:[W,c,l]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",c,l]}],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",c,l]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ie()}],"bg-repeat":[{bg:Te()}],"bg-size":[{bg:Me()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},W,c,l],radial:["",c,l],conic:[W,c,l]},Io,So]}],"bg-color":[{bg:u()}],"gradient-from-pos":[{from:xe()}],"gradient-via-pos":[{via:xe()}],"gradient-to-pos":[{to:xe()}],"gradient-from":[{from:u()}],"gradient-via":[{via:u()}],"gradient-to":[{to:u()}],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:M()}],"border-w-x":[{"border-x":M()}],"border-w-y":[{"border-y":M()}],"border-w-s":[{"border-s":M()}],"border-w-e":[{"border-e":M()}],"border-w-bs":[{"border-bs":M()}],"border-w-be":[{"border-be":M()}],"border-w-t":[{"border-t":M()}],"border-w-r":[{"border-r":M()}],"border-w-b":[{"border-b":M()}],"border-w-l":[{"border-l":M()}],"divide-x":[{"divide-x":M()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":M()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...re(),"hidden","none"]}],"divide-style":[{divide:[...re(),"hidden","none"]}],"border-color":[{border:u()}],"border-color-x":[{"border-x":u()}],"border-color-y":[{"border-y":u()}],"border-color-s":[{"border-s":u()}],"border-color-e":[{"border-e":u()}],"border-color-bs":[{"border-bs":u()}],"border-color-be":[{"border-be":u()}],"border-color-t":[{"border-t":u()}],"border-color-r":[{"border-r":u()}],"border-color-b":[{"border-b":u()}],"border-color-l":[{"border-l":u()}],"divide-color":[{divide:u()}],"outline-style":[{outline:[...re(),"none","hidden"]}],"outline-offset":[{"outline-offset":[h,c,l]}],"outline-w":[{outline:["",h,te,q]}],"outline-color":[{outline:u()}],shadow:[{shadow:["","none",g,ce,le]}],"shadow-color":[{shadow:u()}],"inset-shadow":[{"inset-shadow":["none",x,ce,le]}],"inset-shadow-color":[{"inset-shadow":u()}],"ring-w":[{ring:M()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:u()}],"ring-offset-w":[{"ring-offset":[h,q]}],"ring-offset-color":[{"ring-offset":u()}],"inset-ring-w":[{"inset-ring":M()}],"inset-ring-color":[{"inset-ring":u()}],"text-shadow":[{"text-shadow":["none",v,ce,le]}],"text-shadow-color":[{"text-shadow":u()}],opacity:[{opacity:[h,c,l]}],"mix-blend":[{"mix-blend":[...Ne(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Ne()}],"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":[h]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":u()}],"mask-image-linear-to-color":[{"mask-linear-to":u()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":u()}],"mask-image-t-to-color":[{"mask-t-to":u()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":u()}],"mask-image-r-to-color":[{"mask-r-to":u()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":u()}],"mask-image-b-to-color":[{"mask-b-to":u()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":u()}],"mask-image-l-to-color":[{"mask-l-to":u()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":u()}],"mask-image-x-to-color":[{"mask-x-to":u()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":u()}],"mask-image-y-to-color":[{"mask-y-to":u()}],"mask-image-radial":[{"mask-radial":[c,l]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":u()}],"mask-image-radial-to-color":[{"mask-radial-to":u()}],"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":Y()}],"mask-image-conic-pos":[{"mask-conic":[h]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":u()}],"mask-image-conic-to-color":[{"mask-conic-to":u()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ie()}],"mask-repeat":[{mask:Te()}],"mask-size":[{mask:Me()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",c,l]}],filter:[{filter:["","none",c,l]}],blur:[{blur:Ce()}],brightness:[{brightness:[h,c,l]}],contrast:[{contrast:[h,c,l]}],"drop-shadow":[{"drop-shadow":["","none",y,ce,le]}],"drop-shadow-color":[{"drop-shadow":u()}],grayscale:[{grayscale:["",h,c,l]}],"hue-rotate":[{"hue-rotate":[h,c,l]}],invert:[{invert:["",h,c,l]}],saturate:[{saturate:[h,c,l]}],sepia:[{sepia:["",h,c,l]}],"backdrop-filter":[{"backdrop-filter":["","none",c,l]}],"backdrop-blur":[{"backdrop-blur":Ce()}],"backdrop-brightness":[{"backdrop-brightness":[h,c,l]}],"backdrop-contrast":[{"backdrop-contrast":[h,c,l]}],"backdrop-grayscale":[{"backdrop-grayscale":["",h,c,l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h,c,l]}],"backdrop-invert":[{"backdrop-invert":["",h,c,l]}],"backdrop-opacity":[{"backdrop-opacity":[h,c,l]}],"backdrop-saturate":[{"backdrop-saturate":[h,c,l]}],"backdrop-sepia":[{"backdrop-sepia":["",h,c,l]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",c,l]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[h,"initial",c,l]}],ease:[{ease:["linear","initial",H,c,l]}],delay:[{delay:[h,c,l]}],animate:[{animate:["none",I,c,l]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,c,l]}],"perspective-origin":[{"perspective-origin":X()}],rotate:[{rotate:ne()}],"rotate-x":[{"rotate-x":ne()}],"rotate-y":[{"rotate-y":ne()}],"rotate-z":[{"rotate-z":ne()}],scale:[{scale:se()}],"scale-x":[{"scale-x":se()}],"scale-y":[{"scale-y":se()}],"scale-z":[{"scale-z":se()}],"scale-3d":["scale-3d"],skew:[{skew:ye()}],"skew-x":[{"skew-x":ye()}],"skew-y":[{"skew-y":ye()}],transform:[{transform:[c,l,"","none","gpu","cpu"]}],"transform-origin":[{origin:X()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:ae()}],"translate-x":[{"translate-x":ae()}],"translate-y":[{"translate-y":ae()}],"translate-z":[{"translate-z":ae()}],"translate-none":["translate-none"],zoom:[{zoom:[W,c,l]}],accent:[{accent:u()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:u()}],"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",c,l]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":u()}],"scrollbar-track-color":[{"scrollbar-track":u()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mbs":[{"scroll-mbs":m()}],"scroll-mbe":[{"scroll-mbe":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pbs":[{"scroll-pbs":m()}],"scroll-pbe":[{"scroll-pbe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"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",c,l]}],fill:[{fill:["none",...u()]}],"stroke-w":[{stroke:[h,te,q,We]}],stroke:[{stroke:["none",...u()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var et=io(No);function b(...e){return et(Ee(e))}var nt=require("react/jsx-runtime"),tt={"1:1":"aspect-square","16:9":"aspect-video","4:3":"aspect-[4/3]","21:9":"aspect-[21/9]","3:2":"aspect-[3/2]","2:3":"aspect-[2/3]","9:16":"aspect-[9/16]"},rt=ot.forwardRef(function({ratio:t="16:9",className:o,style:r,children:s,...i},a){let d=typeof t=="string"&&t in tt;return(0,nt.jsx)("div",{ref:a,className:b("relative overflow-hidden",d&&tt[t],o),style:!d&&typeof t=="number"?{aspectRatio:t,...r}:r,...i,children:s})});rt.displayName="AspectRatio";var C=P(require("react"));var st=P(require("react")),n=require("react/jsx-runtime");function k(e,t,o,r="none"){let s=st.memo(({className:i,strokeWidth:a=t})=>(0,n.jsx)("svg",{className:i,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:r,stroke:"currentColor",strokeWidth:a,strokeLinecap:"round",strokeLinejoin:"round",children:o}));return s.displayName=e,s}var er=k("ChevronDownIcon",2,(0,n.jsx)("path",{d:"m6 9 6 6 6-6"})),tr=k("ChevronUpIcon",2,(0,n.jsx)("path",{d:"m18 15-6-6-6 6"})),or=k("ChevronLeftIcon",2,(0,n.jsx)("path",{d:"m15 18-6-6 6-6"})),rr=k("ChevronRightIcon",2,(0,n.jsx)("path",{d:"m9 18 6-6-6-6"})),nr=k("ChevronsLeftIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"m11 17-5-5 5-5"}),(0,n.jsx)("path",{d:"m18 17-5-5 5-5"})]})),sr=k("ChevronsRightIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"m6 17 5-5-5-5"}),(0,n.jsx)("path",{d:"m13 17 5-5-5-5"})]})),ar=k("ChevronsUpDownIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"m7 15 5 5 5-5"}),(0,n.jsx)("path",{d:"m7 9 5-5 5 5"})]})),at=k("XIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M18 6 6 18"}),(0,n.jsx)("path",{d:"m6 6 12 12"})]})),ir=k("CheckIcon",2.5,(0,n.jsx)("path",{d:"M20 6 9 17l-5-5"})),lr=k("MinusIcon",2.5,(0,n.jsx)("path",{d:"M5 12h14"})),cr=k("PlusIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M5 12h14"}),(0,n.jsx)("path",{d:"M12 5v14"})]})),dr=k("SearchIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"11",cy:"11",r:"8"}),(0,n.jsx)("path",{d:"m21 21-4.3-4.3"})]})),pr=k("ExternalLinkIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M15 3h6v6"}),(0,n.jsx)("path",{d:"M10 14 21 3"}),(0,n.jsx)("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"})]})),mr=k("EllipsisIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"1"}),(0,n.jsx)("circle",{cx:"19",cy:"12",r:"1"}),(0,n.jsx)("circle",{cx:"5",cy:"12",r:"1"})]}),"currentColor"),fr=k("DotIcon",2,(0,n.jsx)("circle",{cx:"12",cy:"12",r:"5"}),"currentColor"),ur=k("GripVerticalIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"9",cy:"5",r:"1"}),(0,n.jsx)("circle",{cx:"9",cy:"12",r:"1"}),(0,n.jsx)("circle",{cx:"9",cy:"19",r:"1"}),(0,n.jsx)("circle",{cx:"15",cy:"5",r:"1"}),(0,n.jsx)("circle",{cx:"15",cy:"12",r:"1"}),(0,n.jsx)("circle",{cx:"15",cy:"19",r:"1"})]}),"currentColor"),gr=k("GripHorizontalIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"5",cy:"9",r:"1"}),(0,n.jsx)("circle",{cx:"12",cy:"9",r:"1"}),(0,n.jsx)("circle",{cx:"19",cy:"9",r:"1"}),(0,n.jsx)("circle",{cx:"5",cy:"15",r:"1"}),(0,n.jsx)("circle",{cx:"12",cy:"15",r:"1"}),(0,n.jsx)("circle",{cx:"19",cy:"15",r:"1"})]}),"currentColor"),it=k("InboxIcon",1,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12"}),(0,n.jsx)("path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"})]})),br=k("InfoIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,n.jsx)("path",{d:"M12 16v-4"}),(0,n.jsx)("path",{d:"M12 8h.01"})]})),hr=k("WarningIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),(0,n.jsx)("path",{d:"M12 9v4"}),(0,n.jsx)("path",{d:"M12 17h.01"})]})),xr=k("ErrorIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,n.jsx)("path",{d:"m15 9-6 6"}),(0,n.jsx)("path",{d:"m9 9 6 6"})]})),yr=k("SuccessIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"12",cy:"12",r:"10"}),(0,n.jsx)("path",{d:"m9 12 2 2 4-4"})]})),vr=k("CalendarIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("path",{d:"M8 2v4"}),(0,n.jsx)("path",{d:"M16 2v4"}),(0,n.jsx)("rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}),(0,n.jsx)("path",{d:"M3 10h18"})]})),lt=k("UserIcon",2,(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("circle",{cx:"12",cy:"8",r:"5"}),(0,n.jsx)("path",{d:"M20 21a8 8 0 0 0-16 0"})]}));var E=require("react/jsx-runtime"),ct={xs:{container:"size-6",font:"text-[10px]",iconSize:"size-3"},sm:{container:"size-8",font:"text-xs",iconSize:"size-3.5"},md:{container:"size-10",font:"text-sm",iconSize:"size-4"},lg:{container:"size-12",font:"text-base",iconSize:"size-5"},xl:{container:"size-16",font:"text-lg",iconSize:"size-6"}},Co={circle:"rounded-full",rounded:"rounded-sm",square:""};function Lo(e){let t=e.trim().split(/\s+/);return t.length>=2?(t[0][0]+t[t.length-1][0]).toUpperCase():e.slice(0,2).toUpperCase()}var dt=C.forwardRef(function({src:t,alt:o,name:r,size:s="md",shape:i="circle",icon:a,className:d,...f},p){let[g,x]=C.useState(!1),v=ct[s],y=t&&!g,z=r?Lo(r):null;return C.useEffect(()=>{x(!1)},[t]),(0,E.jsx)("div",{ref:p,className:b("relative inline-flex shrink-0",d),...f,children:(0,E.jsx)("div",{className:b("flex items-center justify-center overflow-hidden font-semibold",v.container,Co[i],!y&&"bg-zinc-200 text-zinc-600"),children:y?(0,E.jsx)("img",{src:t,alt:o||r||"Avatar",className:"w-full h-full object-cover",onError:()=>x(!0)}):a?(0,E.jsx)("span",{className:b("flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:a}):z?(0,E.jsx)("span",{className:v.font,children:z}):(0,E.jsx)(lt,{className:v.iconSize})})})});dt.displayName="Avatar";var pt=C.forwardRef(function({max:t,size:o="md",className:r,children:s,...i},a){let d=C.Children.toArray(s).filter(C.isValidElement),f=t?d.slice(0,t):d,p=t?d.length-t:0,g=ct[o];return(0,E.jsxs)("div",{ref:a,className:b("flex -space-x-2",r),...i,children:[f.map((x,v)=>(0,E.jsx)("div",{className:"ring-2 ring-white rounded-full",children:C.cloneElement(x,{size:o})},v)),p>0&&(0,E.jsxs)("div",{className:b("flex items-center justify-center rounded-full ring-2 ring-white bg-zinc-200 text-zinc-600 font-semibold",g.container,g.font),children:["+",p]})]})});pt.displayName="AvatarGroup";var mt=P(require("react"));var Z=require("react/jsx-runtime"),Po={xs:{padding:"px-1.5 py-0.5",font:"text-[10px]",iconSize:"size-2.5",gap:"gap-0.5"},sm:{padding:"px-2 py-0.5",font:"text-xs",iconSize:"size-3",gap:"gap-1"},md:{padding:"px-2.5 py-1",font:"text-sm",iconSize:"size-3.5",gap:"gap-1"},lg:{padding:"px-3 py-1.5",font:"text-base",iconSize:"size-4",gap:"gap-1.5"},xl:{padding:"px-4 py-2",font:"text-lg",iconSize:"size-5",gap:"gap-2"}},Eo={square:"",rounded:"rounded-sm",pill:"rounded-full"},Go={solid:{base:"bg-zinc-900 text-white border border-zinc-900",removeHover:"hover:bg-zinc-700"},soft:{base:"bg-zinc-100 text-zinc-700 border border-zinc-200",removeHover:"hover:bg-zinc-200 hover:text-zinc-900"},outline:{base:"bg-transparent text-zinc-700 border border-zinc-300",removeHover:"hover:bg-zinc-100 hover:text-zinc-900"}},ft=mt.forwardRef(function({variant:t="soft",size:o="sm",shape:r="rounded",icon:s,iconRight:i,removable:a=!1,onRemove:d,className:f,children:p,...g},x){let v=Po[o],y=Go[t];return(0,Z.jsxs)("span",{ref:x,className:b("inline-flex items-center font-medium whitespace-nowrap",v.padding,v.font,v.gap,Eo[r],y.base,f),...g,children:[s&&(0,Z.jsx)("span",{className:b("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:s}),p,i&&!a&&(0,Z.jsx)("span",{className:b("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:i}),a&&(0,Z.jsx)("button",{type:"button","aria-label":"Remove",onClick:d,className:b("shrink-0 flex items-center justify-center rounded-full transition-colors cursor-pointer -mr-0.5",v.iconSize,y.removeHover),children:(0,Z.jsx)(at,{className:"size-full",strokeWidth:2.5})})]})});ft.displayName="Badge";var ut=P(require("react"));var V=require("react/jsx-runtime"),Ho={xs:{containerSize:"size-10",iconSize:"size-5",titleFont:"text-xs",descFont:"text-[11px]",maxWidth:"max-w-2xs",padding:"py-5 px-3"},sm:{containerSize:"size-12",iconSize:"size-6",titleFont:"text-sm",descFont:"text-xs",maxWidth:"max-w-xs",padding:"py-8 px-4"},md:{containerSize:"size-16",iconSize:"size-7",titleFont:"text-base",descFont:"text-sm",maxWidth:"max-w-sm",padding:"py-12 px-6"},lg:{containerSize:"size-20",iconSize:"size-9",titleFont:"text-lg",descFont:"text-base",maxWidth:"max-w-md",padding:"py-16 px-8"},xl:{containerSize:"size-24",iconSize:"size-11",titleFont:"text-xl",descFont:"text-base",maxWidth:"max-w-lg",padding:"py-20 px-10"}},gt=ut.forwardRef(function({icon:t,title:o,description:r,size:s="md",action:i,className:a,children:d,...f},p){let g=Ho[s];return(0,V.jsxs)("div",{ref:p,className:b("flex flex-col items-center justify-center text-center gap-4",g.padding,a),...f,children:[(0,V.jsx)("div",{className:b("flex items-center justify-center rounded-full bg-zinc-100",g.containerSize),children:(0,V.jsx)("span",{className:b("text-zinc-400 [&>svg]:w-full [&>svg]:h-full",g.iconSize),children:t??(0,V.jsx)(it,{className:"w-full h-full"})})}),(o||r)&&(0,V.jsxs)("div",{className:"flex flex-col gap-1.5",children:[o&&(0,V.jsx)("h3",{className:b("font-semibold text-zinc-900",g.titleFont),children:o}),r&&(0,V.jsx)("p",{className:b("text-zinc-500 leading-relaxed",g.descFont,g.maxWidth),children:r})]}),i&&(0,V.jsx)("div",{className:"mt-1",children:i}),d]})});gt.displayName="Empty";var B=P(require("react"));var G=require("react/jsx-runtime"),ze={xs:{padding:"px-1 py-px",font:"text-[10px]",minWidth:"min-w-4",gap:"gap-0.5"},sm:{padding:"px-1.5 py-0.5",font:"text-xs",minWidth:"min-w-5",gap:"gap-1"},md:{padding:"px-2 py-1",font:"text-sm",minWidth:"min-w-6",gap:"gap-1.5"},lg:{padding:"px-2.5 py-1",font:"text-base",minWidth:"min-w-7",gap:"gap-1.5"},xl:{padding:"px-3 py-1.5",font:"text-lg",minWidth:"min-w-8",gap:"gap-2"}},bt={square:"",rounded:"rounded-sm"},ht={default:"bg-zinc-100 border border-zinc-300",outline:"bg-transparent border border-zinc-300",ghost:"bg-zinc-50 border border-transparent"};function Wo({children:e,size:t,variant:o,shape:r,className:s}){let i=ze[t];return(0,G.jsx)("kbd",{className:b("inline-flex items-center justify-center font-mono font-medium text-zinc-700 leading-none",bt[r],i.padding,i.font,i.minWidth,ht[o],s),children:e})}var xt=B.forwardRef(function({size:t="sm",variant:o="default",shape:r="rounded",keys:s,separator:i,className:a,children:d,...f},p){let g=ze[t];if(!s||s.length===0)return(0,G.jsx)("kbd",{ref:p,className:b("inline-flex items-center justify-center font-mono font-medium text-zinc-700 leading-none",bt[r],g.padding,g.font,g.minWidth,ht[o],a),...f,children:d});let x=i??(0,G.jsx)("span",{className:b("text-zinc-400 font-mono font-medium",g.font),children:"+"});return(0,G.jsx)("span",{ref:p,className:b("inline-flex items-center",g.gap,a),...f,children:s.map((v,y)=>(0,G.jsxs)(B.Fragment,{children:[(0,G.jsx)(Wo,{size:t,variant:o,shape:r,children:v}),y<s.length-1&&x]},y))})});xt.displayName="Kbd";var yt=B.forwardRef(function({size:t="sm",separator:o,className:r,children:s,...i},a){let d=ze[t],f=B.Children.toArray(s).filter(Boolean),p=o??(0,G.jsx)("span",{className:b("text-zinc-400 font-mono font-medium",d.font),children:"+"});return(0,G.jsx)("span",{ref:a,className:b("inline-flex items-center",d.gap,r),...i,children:f.map((g,x)=>(0,G.jsxs)(B.Fragment,{children:[g,x<f.length-1&&p]},x))})});yt.displayName="KbdGroup";var vt=P(require("react"));var de=require("react/jsx-runtime"),Vo={xs:"text-xs",sm:"text-sm",md:"text-base",lg:"text-lg",xl:"text-xl"},kt=vt.forwardRef(function({size:t="sm",required:o=!1,disabled:r=!1,className:s,children:i,...a},d){return(0,de.jsxs)("label",{ref:d,className:b("font-medium text-zinc-700 leading-none",Vo[t],r?"opacity-50 cursor-not-allowed":"cursor-default",s),...a,children:[i,o&&(0,de.jsx)("span",{"aria-hidden":"true",className:"text-zinc-900 ms-0.5 font-semibold",children:"*"})]})});kt.displayName="Label";var wt=P(require("react"));var K=require("react/jsx-runtime"),pe={solid:"border-solid",dashed:"border-dashed",dotted:"border-dotted"},zt=wt.forwardRef(function({orientation:t="horizontal",variant:o="solid",label:r,decorative:s,className:i,...a},d){let f=s?{role:"none"}:{role:"separator","aria-orientation":t};return t==="vertical"?(0,K.jsx)("div",{ref:d,...f,className:b("self-stretch w-px border-l border-zinc-200",pe[o],i),...a}):r?(0,K.jsxs)("div",{ref:d,...f,className:b("flex items-center gap-3",i),...a,children:[(0,K.jsx)("div",{"aria-hidden":"true",className:b("flex-1 border-t border-zinc-200",pe[o])}),(0,K.jsx)("span",{className:"text-xs text-zinc-500 font-medium shrink-0",children:r}),(0,K.jsx)("div",{"aria-hidden":"true",className:b("flex-1 border-t border-zinc-200",pe[o])})]}):(0,K.jsx)("div",{ref:d,...f,className:b("w-full border-t border-zinc-200",pe[o],i),...a})});zt.displayName="Separator";var ue=P(require("react"));var St="eglador-skeleton-styles",Fo=`
3
+ @keyframes eglador-skeleton-wave {
4
+ 0% { background-position: 200% 0; }
5
+ 100% { background-position: -200% 0; }
6
+ }
7
+ .eglador-skeleton-wave {
8
+ background-color: var(--color-zinc-200, #e4e4e7);
9
+ background-image: linear-gradient(
10
+ 90deg,
11
+ var(--color-zinc-200, #e4e4e7) 25%,
12
+ var(--color-zinc-100, #f4f4f5) 50%,
13
+ var(--color-zinc-200, #e4e4e7) 75%
14
+ );
15
+ background-size: 200% 100%;
16
+ animation: eglador-skeleton-wave 1.5s ease-in-out infinite;
17
+ }
18
+
19
+ @media (prefers-reduced-motion: reduce) {
20
+ .eglador-skeleton-wave {
21
+ animation: none !important;
22
+ }
23
+ }
24
+ `;function me(){if(typeof document>"u"||document.getElementById(St))return;let e=document.createElement("style");e.id=St,e.textContent=Fo,document.head.appendChild(e)}var fe=require("react/jsx-runtime"),Oo={text:"rounded-sm",circular:"rounded-full",rectangular:"",rounded:"rounded-sm"};function Rt(e){if(e!=null)return typeof e=="number"?`${e}px`:e}var At=ue.forwardRef(function({variant:t="text",animation:o="pulse",width:r,height:s,lines:i,lineGap:a="0.75rem",className:d,style:f,...p},g){ue.useEffect(()=>{o==="wave"&&me()},[o]);let x=Rt(r),v=Rt(s),y=x,z=v;z||(t==="text"?z="1em":t==="circular"?z=y??"2.5rem":z="8rem"),t==="circular"&&!y&&(y=z),!y&&t!=="circular"&&(y="100%");let S=b(o==="wave"?"eglador-skeleton-wave":"bg-zinc-200",Oo[t],o==="pulse"&&"animate-pulse",d);return i&&i>1?(0,fe.jsx)("div",{ref:g,className:"flex flex-col",style:{gap:a,...f},...p,children:Array.from({length:i},(A,H)=>{let I=H===i-1;return(0,fe.jsx)("div",{className:S,style:{width:I?"60%":y,height:z}},H)})}):(0,fe.jsx)("div",{ref:g,className:S,style:{width:y,height:z,...f},...p})});At.displayName="Skeleton";var It=P(require("react"));var j=require("react/jsx-runtime"),Do={xs:{spinner:"size-4",labelFont:"text-xs",gap:"gap-1.5"},sm:{spinner:"size-5",labelFont:"text-sm",gap:"gap-2"},md:{spinner:"size-8",labelFont:"text-sm",gap:"gap-2.5"},lg:{spinner:"size-12",labelFont:"text-base",gap:"gap-3"},xl:{spinner:"size-16",labelFont:"text-lg",gap:"gap-3.5"}},Tt=It.forwardRef(function({size:t="sm",label:o,className:r,...s},i){let a=Do[t];return(0,j.jsxs)("div",{ref:i,role:"status",className:b("inline-flex flex-col items-center",a.gap,r),...s,children:[(0,j.jsxs)("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:b("animate-spin",a.spinner),children:[(0,j.jsx)("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3",className:"text-zinc-200"}),(0,j.jsx)("path",{d:"M12 2a10 10 0 0 1 10 10",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",className:"text-zinc-600"})]}),o?(0,j.jsx)("span",{className:b("font-medium text-zinc-500",a.labelFont),children:o}):(0,j.jsx)("span",{className:"sr-only",children:"Loading\u2026"})]})});Tt.displayName="Spinner";var Nt=P(require("react"));var Lt=require("react/jsx-runtime"),_o={h1:{tag:"h1",style:"text-4xl font-bold tracking-tight"},h2:{tag:"h2",style:"text-3xl font-bold tracking-tight"},h3:{tag:"h3",style:"text-2xl font-semibold tracking-tight"},h4:{tag:"h4",style:"text-xl font-semibold tracking-tight"},p:{tag:"p",style:"text-base leading-relaxed"},lead:{tag:"p",style:"text-xl leading-relaxed"},large:{tag:"p",style:"text-lg font-medium"},small:{tag:"p",style:"text-sm"},muted:{tag:"p",style:"text-sm text-zinc-500"},blockquote:{tag:"blockquote",style:"border-s-4 border-zinc-300 ps-4 italic"},list:{tag:"ul",style:"list-disc ms-6 [&>li]:mt-1.5 [&>li]:leading-relaxed"},code:{tag:"code",style:"bg-zinc-100 px-1.5 py-0.5 rounded-sm text-sm font-mono"},kbd:{tag:"kbd",style:"bg-zinc-100 border border-zinc-300 px-1.5 py-0.5 rounded-sm text-xs font-mono"}},Mt={default:"text-zinc-900",muted:"text-zinc-500"},Bo={left:"text-left",center:"text-center",right:"text-right"},Ko={thin:"font-thin",extralight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold",black:"font-black"},Ct=Nt.forwardRef(function({variant:t="p",color:o,align:r,weight:s,truncate:i=!1,lines:a,as:d,className:f,children:p,style:g,...x},v){let y=_o[t],z=d||y.tag,S=o?Mt[o]:t==="muted"?"":Mt.default,A=a&&a>0?{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:a,overflow:"hidden"}:void 0;return(0,Lt.jsx)(z,{ref:v,className:b(y.style,S,r&&Bo[r],s&&Ko[s],i&&!a&&"truncate",f),style:A?{...A,...g}:g,...x,children:p})});Ct.displayName="Typography";0&&(module.exports={AspectRatio,Avatar,AvatarGroup,Badge,Empty,Kbd,KbdGroup,Label,Separator,Skeleton,Spinner,Typography,ensureSkeletonStyles});
package/dist/index.mjs CHANGED
@@ -1 +1,24 @@
1
1
  "use client";
2
+ import*as et from"react";function Ce(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(r=Ce(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function Le(){for(var e,t,r=0,o="",s=arguments.length;r<s;r++)(e=arguments[r])&&(t=Ce(e))&&(o&&(o+=" "),o+=t);return o}var kt=(e,t)=>{let r=new Array(e.length+t.length);for(let o=0;o<e.length;o++)r[o]=e[o];for(let o=0;o<t.length;o++)r[e.length+o]=t[o];return r},wt=(e,t)=>({classGroupId:e,validator:t}),Ve=(e=new Map,t=null,r)=>({nextPart:e,validators:t,classGroupId:r});var Pe=[],zt="arbitrary..",St=e=>{let t=At(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;return{getClassGroupId:n=>{if(n.startsWith("[")&&n.endsWith("]"))return Rt(n);let c=n.split("-"),f=c[0]===""&&c.length>1?1:0;return Fe(c,f,t)},getConflictingClassGroupIds:(n,c)=>{if(c){let f=o[n],d=r[n];return f?d?kt(d,f):f:d||Pe}return r[n]||Pe}}},Fe=(e,t,r)=>{if(e.length-t===0)return r.classGroupId;let s=e[t],a=r.nextPart.get(s);if(a){let d=Fe(e,t+1,a);if(d)return d}let n=r.validators;if(n===null)return;let c=t===0?e.join("-"):e.slice(t).join("-"),f=n.length;for(let d=0;d<f;d++){let g=n[d];if(g.validator(c))return g.classGroupId}},Rt=e=>e.slice(1,-1).indexOf(":")===-1?void 0:(()=>{let t=e.slice(1,-1),r=t.indexOf(":"),o=t.slice(0,r);return o?zt+o:void 0})(),At=e=>{let{theme:t,classGroups:r}=e;return It(r,t)},It=(e,t)=>{let r=Ve();for(let o in e){let s=e[o];xe(s,r,o,t)}return r},xe=(e,t,r,o)=>{let s=e.length;for(let a=0;a<s;a++){let n=e[a];Tt(n,t,r,o)}},Tt=(e,t,r,o)=>{if(typeof e=="string"){Mt(e,t,r);return}if(typeof e=="function"){Nt(e,t,r,o);return}Ct(e,t,r,o)},Mt=(e,t,r)=>{let o=e===""?t:Oe(t,e);o.classGroupId=r},Nt=(e,t,r,o)=>{if(Lt(e)){xe(e(o),t,r,o);return}t.validators===null&&(t.validators=[]),t.validators.push(wt(r,e))},Ct=(e,t,r,o)=>{let s=Object.entries(e),a=s.length;for(let n=0;n<a;n++){let[c,f]=s[n];xe(f,Oe(t,c),r,o)}},Oe=(e,t)=>{let r=e,o=t.split("-"),s=o.length;for(let a=0;a<s;a++){let n=o[a],c=r.nextPart.get(n);c||(c=Ve(),r.nextPart.set(n,c)),r=c}return r},Lt=e=>"isThemeGetter"in e&&e.isThemeGetter===!0,Pt=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=Object.create(null),o=Object.create(null),s=(a,n)=>{r[a]=n,t++,t>e&&(t=0,o=r,r=Object.create(null))};return{get(a){let n=r[a];if(n!==void 0)return n;if((n=o[a])!==void 0)return s(a,n),n},set(a,n){a in r?r[a]=n:s(a,n)}}};var Et=[],Ee=(e,t,r,o,s)=>({modifiers:e,hasImportantModifier:t,baseClassName:r,maybePostfixModifierPosition:o,isExternal:s}),Gt=e=>{let{prefix:t,experimentalParseClassName:r}=e,o=s=>{let a=[],n=0,c=0,f=0,d,g=s.length;for(let S=0;S<g;S++){let T=s[S];if(n===0&&c===0){if(T===":"){a.push(s.slice(f,S)),f=S+1;continue}if(T==="/"){d=S;continue}}T==="["?n++:T==="]"?n--:T==="("?c++:T===")"&&c--}let x=a.length===0?s:s.slice(f),v=x,y=!1;x.endsWith("!")?(v=x.slice(0,-1),y=!0):x.startsWith("!")&&(v=x.slice(1),y=!0);let z=d&&d>f?d-f:void 0;return Ee(a,y,v,z)};if(t){let s=t+":",a=o;o=n=>n.startsWith(s)?a(n.slice(s.length)):Ee(Et,!1,n,void 0,!0)}if(r){let s=o;o=a=>r({className:a,parseClassName:s})}return o},Ht=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((r,o)=>{t.set(r,1e6+o)}),r=>{let o=[],s=[];for(let a=0;a<r.length;a++){let n=r[a],c=n[0]==="[",f=t.has(n);c||f?(s.length>0&&(s.sort(),o.push(...s),s=[]),o.push(n)):s.push(n)}return s.length>0&&(s.sort(),o.push(...s)),o}},Wt=e=>({cache:Pt(e.cacheSize),parseClassName:Gt(e),sortModifiers:Ht(e),postfixLookupClassGroupIds:Vt(e),...St(e)}),Vt=e=>{let t=Object.create(null),r=e.postfixLookupClassGroups;if(r)for(let o=0;o<r.length;o++)t[r[o]]=!0;return t},Ft=/\s+/,Ot=(e,t)=>{let{parseClassName:r,getClassGroupId:o,getConflictingClassGroupIds:s,sortModifiers:a,postfixLookupClassGroupIds:n}=t,c=[],f=e.trim().split(Ft),d="";for(let g=f.length-1;g>=0;g-=1){let x=f[g],{isExternal:v,modifiers:y,hasImportantModifier:z,baseClassName:S,maybePostfixModifierPosition:T}=r(x);if(v){d=x+(d.length>0?" "+d:d);continue}let G=!!T,M;if(G){let W=S.substring(0,T);M=o(W);let m=M&&n[M]?o(S):void 0;m&&m!==M&&(M=m,G=!1)}else M=o(S);if(!M){if(!G){d=x+(d.length>0?" "+d:d);continue}if(M=o(S),!M){d=x+(d.length>0?" "+d:d);continue}G=!1}let J=y.length===0?"":y.length===1?y[0]:a(y).join(":"),q=z?J+"!":J,$=q+M;if(c.indexOf($)>-1)continue;c.push($);let Z=s(M,G);for(let W=0;W<Z.length;++W){let m=Z[W];c.push(q+m)}d=x+(d.length>0?" "+d:d)}return d},Dt=(...e)=>{let t=0,r,o,s="";for(;t<e.length;)(r=e[t++])&&(o=De(r))&&(s&&(s+=" "),s+=o);return s},De=e=>{if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=De(e[o]))&&(r&&(r+=" "),r+=t);return r},_t=(e,...t)=>{let r,o,s,a,n=f=>{let d=t.reduce((g,x)=>x(g),e());return r=Wt(d),o=r.cache.get,s=r.cache.set,a=c,c(f)},c=f=>{let d=o(f);if(d)return d;let g=Ot(f,r);return s(f,g),g};return a=n,(...f)=>a(Dt(...f))},Bt=[],w=e=>{let t=r=>r[e]||Bt;return t.isThemeGetter=!0,t},_e=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,Be=/^\((?:(\w[\w-]*):)?(.+)\)$/i,Kt=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,jt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Ut=/\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$/,qt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,$t=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Zt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,F=e=>Kt.test(e),h=e=>!!e&&!Number.isNaN(Number(e)),H=e=>!!e&&Number.isInteger(Number(e)),he=e=>e.endsWith("%")&&h(e.slice(0,-1)),V=e=>jt.test(e),Ke=()=>!0,Yt=e=>Ut.test(e)&&!qt.test(e),ye=()=>!1,Xt=e=>$t.test(e),Jt=e=>Zt.test(e),Qt=e=>!i(e)&&!l(e),eo=e=>e.startsWith("@container")&&(e[10]==="/"&&e[11]!==void 0||e[11]==="s"&&e[16]!==void 0&&e.startsWith("-size/",10)||e[11]==="n"&&e[18]!==void 0&&e.startsWith("-normal/",10)),to=e=>O(e,qe,ye),i=e=>_e.test(e),B=e=>O(e,$e,Yt),Ge=e=>O(e,co,h),oo=e=>O(e,Ye,Ke),ro=e=>O(e,Ze,ye),He=e=>O(e,je,ye),no=e=>O(e,Ue,Jt),ae=e=>O(e,Xe,Xt),l=e=>Be.test(e),Q=e=>K(e,$e),so=e=>K(e,Ze),We=e=>K(e,je),ao=e=>K(e,qe),io=e=>K(e,Ue),ie=e=>K(e,Xe,!0),lo=e=>K(e,Ye,!0),O=(e,t,r)=>{let o=_e.exec(e);return o?o[1]?t(o[1]):r(o[2]):!1},K=(e,t,r=!1)=>{let o=Be.exec(e);return o?o[1]?t(o[1]):r:!1},je=e=>e==="position"||e==="percentage",Ue=e=>e==="image"||e==="url",qe=e=>e==="length"||e==="size"||e==="bg-size",$e=e=>e==="length",co=e=>e==="number",Ze=e=>e==="family-name",Ye=e=>e==="number"||e==="weight",Xe=e=>e==="shadow";var po=()=>{let e=w("color"),t=w("font"),r=w("text"),o=w("font-weight"),s=w("tracking"),a=w("leading"),n=w("breakpoint"),c=w("container"),f=w("spacing"),d=w("radius"),g=w("shadow"),x=w("inset-shadow"),v=w("text-shadow"),y=w("drop-shadow"),z=w("blur"),S=w("perspective"),T=w("aspect"),G=w("ease"),M=w("animate"),J=()=>["auto","avoid","all","avoid-page","page","left","right","column"],q=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],$=()=>[...q(),l,i],Z=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto","contain","none"],m=()=>[l,i,f],L=()=>[F,"full","auto",...m()],ze=()=>[H,"none","subgrid",l,i],Se=()=>["auto",{span:["full",H,l,i]},H,l,i],te=()=>[H,"auto",l,i],Re=()=>["auto","min","max","fr",l,i],me=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],Y=()=>["start","end","center","stretch","center-safe","end-safe"],E=()=>["auto",...m()],_=()=>[F,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...m()],fe=()=>[F,"screen","full","dvw","lvw","svw","min","max","fit",...m()],ue=()=>[F,"screen","full","lh","dvh","lvh","svh","min","max","fit",...m()],u=()=>[e,l,i],Ae=()=>[...q(),We,He,{position:[l,i]}],Ie=()=>["no-repeat",{repeat:["","x","y","space","round"]}],Te=()=>["auto","cover","contain",ao,to,{size:[l,i]}],ge=()=>[he,Q,B],N=()=>["","none","full",d,l,i],C=()=>["",h,Q,B],oe=()=>["solid","dashed","dotted","double"],Me=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],R=()=>[h,he,We,He],Ne=()=>["","none",z,l,i],re=()=>["none",h,l,i],ne=()=>["none",h,l,i],be=()=>[h,l,i],se=()=>[F,"full",...m()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[V],breakpoint:[V],color:[Ke],container:[V],"drop-shadow":[V],ease:["in","out","in-out"],font:[Qt],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[V],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[V],shadow:[V],spacing:["px",h],text:[V],"text-shadow":[V],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",F,i,l,T]}],container:["container"],"container-type":[{"@container":["","normal","size",l,i]}],"container-named":[eo],columns:[{columns:[h,i,l,c]}],"break-after":[{"break-after":J()}],"break-before":[{"break-before":J()}],"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:$()}],overflow:[{overflow:Z()}],"overflow-x":[{"overflow-x":Z()}],"overflow-y":[{"overflow-y":Z()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:L()}],"inset-x":[{"inset-x":L()}],"inset-y":[{"inset-y":L()}],start:[{"inset-s":L(),start:L()}],end:[{"inset-e":L(),end:L()}],"inset-bs":[{"inset-bs":L()}],"inset-be":[{"inset-be":L()}],top:[{top:L()}],right:[{right:L()}],bottom:[{bottom:L()}],left:[{left:L()}],visibility:["visible","invisible","collapse"],z:[{z:[H,"auto",l,i]}],basis:[{basis:[F,"full","auto",c,...m()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[h,F,"auto","initial","none",i]}],grow:[{grow:["",h,l,i]}],shrink:[{shrink:["",h,l,i]}],order:[{order:[H,"first","last","none",l,i]}],"grid-cols":[{"grid-cols":ze()}],"col-start-end":[{col:Se()}],"col-start":[{"col-start":te()}],"col-end":[{"col-end":te()}],"grid-rows":[{"grid-rows":ze()}],"row-start-end":[{row:Se()}],"row-start":[{"row-start":te()}],"row-end":[{"row-end":te()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":Re()}],"auto-rows":[{"auto-rows":Re()}],gap:[{gap:m()}],"gap-x":[{"gap-x":m()}],"gap-y":[{"gap-y":m()}],"justify-content":[{justify:[...me(),"normal"]}],"justify-items":[{"justify-items":[...Y(),"normal"]}],"justify-self":[{"justify-self":["auto",...Y()]}],"align-content":[{content:["normal",...me()]}],"align-items":[{items:[...Y(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...Y(),{baseline:["","last"]}]}],"place-content":[{"place-content":me()}],"place-items":[{"place-items":[...Y(),"baseline"]}],"place-self":[{"place-self":["auto",...Y()]}],p:[{p:m()}],px:[{px:m()}],py:[{py:m()}],ps:[{ps:m()}],pe:[{pe:m()}],pbs:[{pbs:m()}],pbe:[{pbe:m()}],pt:[{pt:m()}],pr:[{pr:m()}],pb:[{pb:m()}],pl:[{pl:m()}],m:[{m:E()}],mx:[{mx:E()}],my:[{my:E()}],ms:[{ms:E()}],me:[{me:E()}],mbs:[{mbs:E()}],mbe:[{mbe:E()}],mt:[{mt:E()}],mr:[{mr:E()}],mb:[{mb:E()}],ml:[{ml:E()}],"space-x":[{"space-x":m()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":m()}],"space-y-reverse":["space-y-reverse"],size:[{size:_()}],"inline-size":[{inline:["auto",...fe()]}],"min-inline-size":[{"min-inline":["auto",...fe()]}],"max-inline-size":[{"max-inline":["none",...fe()]}],"block-size":[{block:["auto",...ue()]}],"min-block-size":[{"min-block":["auto",...ue()]}],"max-block-size":[{"max-block":["none",...ue()]}],w:[{w:[c,"screen",..._()]}],"min-w":[{"min-w":[c,"screen","none",..._()]}],"max-w":[{"max-w":[c,"screen","none","prose",{screen:[n]},..._()]}],h:[{h:["screen","lh",..._()]}],"min-h":[{"min-h":["screen","lh","none",..._()]}],"max-h":[{"max-h":["screen","lh",..._()]}],"font-size":[{text:["base",r,Q,B]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[o,lo,oo]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",he,i]}],"font-family":[{font:[so,ro,t]}],"font-features":[{"font-features":[i]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,l,i]}],"line-clamp":[{"line-clamp":[h,"none",l,Ge]}],leading:[{leading:[a,...m()]}],"list-image":[{"list-image":["none",l,i]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",l,i]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:u()}],"text-color":[{text:u()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...oe(),"wavy"]}],"text-decoration-thickness":[{decoration:[h,"from-font","auto",l,B]}],"text-decoration-color":[{decoration:u()}],"underline-offset":[{"underline-offset":[h,"auto",l,i]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:m()}],"tab-size":[{tab:[H,l,i]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",l,i]}],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",l,i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:Ae()}],"bg-repeat":[{bg:Ie()}],"bg-size":[{bg:Te()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},H,l,i],radial:["",l,i],conic:[H,l,i]},io,no]}],"bg-color":[{bg:u()}],"gradient-from-pos":[{from:ge()}],"gradient-via-pos":[{via:ge()}],"gradient-to-pos":[{to:ge()}],"gradient-from":[{from:u()}],"gradient-via":[{via:u()}],"gradient-to":[{to:u()}],rounded:[{rounded:N()}],"rounded-s":[{"rounded-s":N()}],"rounded-e":[{"rounded-e":N()}],"rounded-t":[{"rounded-t":N()}],"rounded-r":[{"rounded-r":N()}],"rounded-b":[{"rounded-b":N()}],"rounded-l":[{"rounded-l":N()}],"rounded-ss":[{"rounded-ss":N()}],"rounded-se":[{"rounded-se":N()}],"rounded-ee":[{"rounded-ee":N()}],"rounded-es":[{"rounded-es":N()}],"rounded-tl":[{"rounded-tl":N()}],"rounded-tr":[{"rounded-tr":N()}],"rounded-br":[{"rounded-br":N()}],"rounded-bl":[{"rounded-bl":N()}],"border-w":[{border:C()}],"border-w-x":[{"border-x":C()}],"border-w-y":[{"border-y":C()}],"border-w-s":[{"border-s":C()}],"border-w-e":[{"border-e":C()}],"border-w-bs":[{"border-bs":C()}],"border-w-be":[{"border-be":C()}],"border-w-t":[{"border-t":C()}],"border-w-r":[{"border-r":C()}],"border-w-b":[{"border-b":C()}],"border-w-l":[{"border-l":C()}],"divide-x":[{"divide-x":C()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":C()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...oe(),"hidden","none"]}],"divide-style":[{divide:[...oe(),"hidden","none"]}],"border-color":[{border:u()}],"border-color-x":[{"border-x":u()}],"border-color-y":[{"border-y":u()}],"border-color-s":[{"border-s":u()}],"border-color-e":[{"border-e":u()}],"border-color-bs":[{"border-bs":u()}],"border-color-be":[{"border-be":u()}],"border-color-t":[{"border-t":u()}],"border-color-r":[{"border-r":u()}],"border-color-b":[{"border-b":u()}],"border-color-l":[{"border-l":u()}],"divide-color":[{divide:u()}],"outline-style":[{outline:[...oe(),"none","hidden"]}],"outline-offset":[{"outline-offset":[h,l,i]}],"outline-w":[{outline:["",h,Q,B]}],"outline-color":[{outline:u()}],shadow:[{shadow:["","none",g,ie,ae]}],"shadow-color":[{shadow:u()}],"inset-shadow":[{"inset-shadow":["none",x,ie,ae]}],"inset-shadow-color":[{"inset-shadow":u()}],"ring-w":[{ring:C()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:u()}],"ring-offset-w":[{"ring-offset":[h,B]}],"ring-offset-color":[{"ring-offset":u()}],"inset-ring-w":[{"inset-ring":C()}],"inset-ring-color":[{"inset-ring":u()}],"text-shadow":[{"text-shadow":["none",v,ie,ae]}],"text-shadow-color":[{"text-shadow":u()}],opacity:[{opacity:[h,l,i]}],"mix-blend":[{"mix-blend":[...Me(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":Me()}],"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":[h]}],"mask-image-linear-from-pos":[{"mask-linear-from":R()}],"mask-image-linear-to-pos":[{"mask-linear-to":R()}],"mask-image-linear-from-color":[{"mask-linear-from":u()}],"mask-image-linear-to-color":[{"mask-linear-to":u()}],"mask-image-t-from-pos":[{"mask-t-from":R()}],"mask-image-t-to-pos":[{"mask-t-to":R()}],"mask-image-t-from-color":[{"mask-t-from":u()}],"mask-image-t-to-color":[{"mask-t-to":u()}],"mask-image-r-from-pos":[{"mask-r-from":R()}],"mask-image-r-to-pos":[{"mask-r-to":R()}],"mask-image-r-from-color":[{"mask-r-from":u()}],"mask-image-r-to-color":[{"mask-r-to":u()}],"mask-image-b-from-pos":[{"mask-b-from":R()}],"mask-image-b-to-pos":[{"mask-b-to":R()}],"mask-image-b-from-color":[{"mask-b-from":u()}],"mask-image-b-to-color":[{"mask-b-to":u()}],"mask-image-l-from-pos":[{"mask-l-from":R()}],"mask-image-l-to-pos":[{"mask-l-to":R()}],"mask-image-l-from-color":[{"mask-l-from":u()}],"mask-image-l-to-color":[{"mask-l-to":u()}],"mask-image-x-from-pos":[{"mask-x-from":R()}],"mask-image-x-to-pos":[{"mask-x-to":R()}],"mask-image-x-from-color":[{"mask-x-from":u()}],"mask-image-x-to-color":[{"mask-x-to":u()}],"mask-image-y-from-pos":[{"mask-y-from":R()}],"mask-image-y-to-pos":[{"mask-y-to":R()}],"mask-image-y-from-color":[{"mask-y-from":u()}],"mask-image-y-to-color":[{"mask-y-to":u()}],"mask-image-radial":[{"mask-radial":[l,i]}],"mask-image-radial-from-pos":[{"mask-radial-from":R()}],"mask-image-radial-to-pos":[{"mask-radial-to":R()}],"mask-image-radial-from-color":[{"mask-radial-from":u()}],"mask-image-radial-to-color":[{"mask-radial-to":u()}],"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":q()}],"mask-image-conic-pos":[{"mask-conic":[h]}],"mask-image-conic-from-pos":[{"mask-conic-from":R()}],"mask-image-conic-to-pos":[{"mask-conic-to":R()}],"mask-image-conic-from-color":[{"mask-conic-from":u()}],"mask-image-conic-to-color":[{"mask-conic-to":u()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:Ae()}],"mask-repeat":[{mask:Ie()}],"mask-size":[{mask:Te()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",l,i]}],filter:[{filter:["","none",l,i]}],blur:[{blur:Ne()}],brightness:[{brightness:[h,l,i]}],contrast:[{contrast:[h,l,i]}],"drop-shadow":[{"drop-shadow":["","none",y,ie,ae]}],"drop-shadow-color":[{"drop-shadow":u()}],grayscale:[{grayscale:["",h,l,i]}],"hue-rotate":[{"hue-rotate":[h,l,i]}],invert:[{invert:["",h,l,i]}],saturate:[{saturate:[h,l,i]}],sepia:[{sepia:["",h,l,i]}],"backdrop-filter":[{"backdrop-filter":["","none",l,i]}],"backdrop-blur":[{"backdrop-blur":Ne()}],"backdrop-brightness":[{"backdrop-brightness":[h,l,i]}],"backdrop-contrast":[{"backdrop-contrast":[h,l,i]}],"backdrop-grayscale":[{"backdrop-grayscale":["",h,l,i]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[h,l,i]}],"backdrop-invert":[{"backdrop-invert":["",h,l,i]}],"backdrop-opacity":[{"backdrop-opacity":[h,l,i]}],"backdrop-saturate":[{"backdrop-saturate":[h,l,i]}],"backdrop-sepia":[{"backdrop-sepia":["",h,l,i]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":m()}],"border-spacing-x":[{"border-spacing-x":m()}],"border-spacing-y":[{"border-spacing-y":m()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",l,i]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[h,"initial",l,i]}],ease:[{ease:["linear","initial",G,l,i]}],delay:[{delay:[h,l,i]}],animate:[{animate:["none",M,l,i]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[S,l,i]}],"perspective-origin":[{"perspective-origin":$()}],rotate:[{rotate:re()}],"rotate-x":[{"rotate-x":re()}],"rotate-y":[{"rotate-y":re()}],"rotate-z":[{"rotate-z":re()}],scale:[{scale:ne()}],"scale-x":[{"scale-x":ne()}],"scale-y":[{"scale-y":ne()}],"scale-z":[{"scale-z":ne()}],"scale-3d":["scale-3d"],skew:[{skew:be()}],"skew-x":[{"skew-x":be()}],"skew-y":[{"skew-y":be()}],transform:[{transform:[l,i,"","none","gpu","cpu"]}],"transform-origin":[{origin:$()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:se()}],"translate-x":[{"translate-x":se()}],"translate-y":[{"translate-y":se()}],"translate-z":[{"translate-z":se()}],"translate-none":["translate-none"],zoom:[{zoom:[H,l,i]}],accent:[{accent:u()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:u()}],"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",l,i]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scrollbar-thumb-color":[{"scrollbar-thumb":u()}],"scrollbar-track-color":[{"scrollbar-track":u()}],"scrollbar-gutter":[{"scrollbar-gutter":["auto","stable","both"]}],"scrollbar-w":[{scrollbar:["auto","thin","none"]}],"scroll-m":[{"scroll-m":m()}],"scroll-mx":[{"scroll-mx":m()}],"scroll-my":[{"scroll-my":m()}],"scroll-ms":[{"scroll-ms":m()}],"scroll-me":[{"scroll-me":m()}],"scroll-mbs":[{"scroll-mbs":m()}],"scroll-mbe":[{"scroll-mbe":m()}],"scroll-mt":[{"scroll-mt":m()}],"scroll-mr":[{"scroll-mr":m()}],"scroll-mb":[{"scroll-mb":m()}],"scroll-ml":[{"scroll-ml":m()}],"scroll-p":[{"scroll-p":m()}],"scroll-px":[{"scroll-px":m()}],"scroll-py":[{"scroll-py":m()}],"scroll-ps":[{"scroll-ps":m()}],"scroll-pe":[{"scroll-pe":m()}],"scroll-pbs":[{"scroll-pbs":m()}],"scroll-pbe":[{"scroll-pbe":m()}],"scroll-pt":[{"scroll-pt":m()}],"scroll-pr":[{"scroll-pr":m()}],"scroll-pb":[{"scroll-pb":m()}],"scroll-pl":[{"scroll-pl":m()}],"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",l,i]}],fill:[{fill:["none",...u()]}],"stroke-w":[{stroke:[h,Q,B,Ge]}],stroke:[{stroke:["none",...u()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{"container-named":["container-type"],overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","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","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","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-bs","border-w-be","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-bs","border-color-be","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-mbs","scroll-mbe","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-pbs","scroll-pbe","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"]},postfixLookupClassGroups:["container-type"],orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}};var Je=_t(po);function b(...e){return Je(Le(e))}import{jsx as fo}from"react/jsx-runtime";var Qe={"1:1":"aspect-square","16:9":"aspect-video","4:3":"aspect-[4/3]","21:9":"aspect-[21/9]","3:2":"aspect-[3/2]","2:3":"aspect-[2/3]","9:16":"aspect-[9/16]"},mo=et.forwardRef(function({ratio:t="16:9",className:r,style:o,children:s,...a},n){let c=typeof t=="string"&&t in Qe;return fo("div",{ref:n,className:b("relative overflow-hidden",c&&Qe[t],r),style:!c&&typeof t=="number"?{aspectRatio:t,...o}:o,...a,children:s})});mo.displayName="AspectRatio";import*as P from"react";import*as tt from"react";import{Fragment as A,jsx as p,jsxs as I}from"react/jsx-runtime";function k(e,t,r,o="none"){let s=tt.memo(({className:a,strokeWidth:n=t})=>p("svg",{className:a,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:o,stroke:"currentColor",strokeWidth:n,strokeLinecap:"round",strokeLinejoin:"round",children:r}));return s.displayName=e,s}var Jo=k("ChevronDownIcon",2,p("path",{d:"m6 9 6 6 6-6"})),Qo=k("ChevronUpIcon",2,p("path",{d:"m18 15-6-6-6 6"})),er=k("ChevronLeftIcon",2,p("path",{d:"m15 18-6-6 6-6"})),tr=k("ChevronRightIcon",2,p("path",{d:"m9 18 6-6-6-6"})),or=k("ChevronsLeftIcon",2,I(A,{children:[p("path",{d:"m11 17-5-5 5-5"}),p("path",{d:"m18 17-5-5 5-5"})]})),rr=k("ChevronsRightIcon",2,I(A,{children:[p("path",{d:"m6 17 5-5-5-5"}),p("path",{d:"m13 17 5-5-5-5"})]})),nr=k("ChevronsUpDownIcon",2,I(A,{children:[p("path",{d:"m7 15 5 5 5-5"}),p("path",{d:"m7 9 5-5 5 5"})]})),ot=k("XIcon",2,I(A,{children:[p("path",{d:"M18 6 6 18"}),p("path",{d:"m6 6 12 12"})]})),sr=k("CheckIcon",2.5,p("path",{d:"M20 6 9 17l-5-5"})),ar=k("MinusIcon",2.5,p("path",{d:"M5 12h14"})),ir=k("PlusIcon",2,I(A,{children:[p("path",{d:"M5 12h14"}),p("path",{d:"M12 5v14"})]})),lr=k("SearchIcon",2,I(A,{children:[p("circle",{cx:"11",cy:"11",r:"8"}),p("path",{d:"m21 21-4.3-4.3"})]})),cr=k("ExternalLinkIcon",2,I(A,{children:[p("path",{d:"M15 3h6v6"}),p("path",{d:"M10 14 21 3"}),p("path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"})]})),dr=k("EllipsisIcon",2,I(A,{children:[p("circle",{cx:"12",cy:"12",r:"1"}),p("circle",{cx:"19",cy:"12",r:"1"}),p("circle",{cx:"5",cy:"12",r:"1"})]}),"currentColor"),pr=k("DotIcon",2,p("circle",{cx:"12",cy:"12",r:"5"}),"currentColor"),mr=k("GripVerticalIcon",2,I(A,{children:[p("circle",{cx:"9",cy:"5",r:"1"}),p("circle",{cx:"9",cy:"12",r:"1"}),p("circle",{cx:"9",cy:"19",r:"1"}),p("circle",{cx:"15",cy:"5",r:"1"}),p("circle",{cx:"15",cy:"12",r:"1"}),p("circle",{cx:"15",cy:"19",r:"1"})]}),"currentColor"),fr=k("GripHorizontalIcon",2,I(A,{children:[p("circle",{cx:"5",cy:"9",r:"1"}),p("circle",{cx:"12",cy:"9",r:"1"}),p("circle",{cx:"19",cy:"9",r:"1"}),p("circle",{cx:"5",cy:"15",r:"1"}),p("circle",{cx:"12",cy:"15",r:"1"}),p("circle",{cx:"19",cy:"15",r:"1"})]}),"currentColor"),rt=k("InboxIcon",1,I(A,{children:[p("polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12"}),p("path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z"})]})),ur=k("InfoIcon",2,I(A,{children:[p("circle",{cx:"12",cy:"12",r:"10"}),p("path",{d:"M12 16v-4"}),p("path",{d:"M12 8h.01"})]})),gr=k("WarningIcon",2,I(A,{children:[p("path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z"}),p("path",{d:"M12 9v4"}),p("path",{d:"M12 17h.01"})]})),br=k("ErrorIcon",2,I(A,{children:[p("circle",{cx:"12",cy:"12",r:"10"}),p("path",{d:"m15 9-6 6"}),p("path",{d:"m9 9 6 6"})]})),hr=k("SuccessIcon",2,I(A,{children:[p("circle",{cx:"12",cy:"12",r:"10"}),p("path",{d:"m9 12 2 2 4-4"})]})),xr=k("CalendarIcon",2,I(A,{children:[p("path",{d:"M8 2v4"}),p("path",{d:"M16 2v4"}),p("rect",{width:"18",height:"18",x:"3",y:"4",rx:"2"}),p("path",{d:"M3 10h18"})]})),nt=k("UserIcon",2,I(A,{children:[p("circle",{cx:"12",cy:"8",r:"5"}),p("path",{d:"M20 21a8 8 0 0 0-16 0"})]}));import{jsx as j,jsxs as st}from"react/jsx-runtime";var at={xs:{container:"size-6",font:"text-[10px]",iconSize:"size-3"},sm:{container:"size-8",font:"text-xs",iconSize:"size-3.5"},md:{container:"size-10",font:"text-sm",iconSize:"size-4"},lg:{container:"size-12",font:"text-base",iconSize:"size-5"},xl:{container:"size-16",font:"text-lg",iconSize:"size-6"}},uo={circle:"rounded-full",rounded:"rounded-sm",square:""};function go(e){let t=e.trim().split(/\s+/);return t.length>=2?(t[0][0]+t[t.length-1][0]).toUpperCase():e.slice(0,2).toUpperCase()}var bo=P.forwardRef(function({src:t,alt:r,name:o,size:s="md",shape:a="circle",icon:n,className:c,...f},d){let[g,x]=P.useState(!1),v=at[s],y=t&&!g,z=o?go(o):null;return P.useEffect(()=>{x(!1)},[t]),j("div",{ref:d,className:b("relative inline-flex shrink-0",c),...f,children:j("div",{className:b("flex items-center justify-center overflow-hidden font-semibold",v.container,uo[a],!y&&"bg-zinc-200 text-zinc-600"),children:y?j("img",{src:t,alt:r||o||"Avatar",className:"w-full h-full object-cover",onError:()=>x(!0)}):n?j("span",{className:b("flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:n}):z?j("span",{className:v.font,children:z}):j(nt,{className:v.iconSize})})})});bo.displayName="Avatar";var ho=P.forwardRef(function({max:t,size:r="md",className:o,children:s,...a},n){let c=P.Children.toArray(s).filter(P.isValidElement),f=t?c.slice(0,t):c,d=t?c.length-t:0,g=at[r];return st("div",{ref:n,className:b("flex -space-x-2",o),...a,children:[f.map((x,v)=>j("div",{className:"ring-2 ring-white rounded-full",children:P.cloneElement(x,{size:r})},v)),d>0&&st("div",{className:b("flex items-center justify-center rounded-full ring-2 ring-white bg-zinc-200 text-zinc-600 font-semibold",g.container,g.font),children:["+",d]})]})});ho.displayName="AvatarGroup";import*as it from"react";import{jsx as le,jsxs as wo}from"react/jsx-runtime";var xo={xs:{padding:"px-1.5 py-0.5",font:"text-[10px]",iconSize:"size-2.5",gap:"gap-0.5"},sm:{padding:"px-2 py-0.5",font:"text-xs",iconSize:"size-3",gap:"gap-1"},md:{padding:"px-2.5 py-1",font:"text-sm",iconSize:"size-3.5",gap:"gap-1"},lg:{padding:"px-3 py-1.5",font:"text-base",iconSize:"size-4",gap:"gap-1.5"},xl:{padding:"px-4 py-2",font:"text-lg",iconSize:"size-5",gap:"gap-2"}},yo={square:"",rounded:"rounded-sm",pill:"rounded-full"},vo={solid:{base:"bg-zinc-900 text-white border border-zinc-900",removeHover:"hover:bg-zinc-700"},soft:{base:"bg-zinc-100 text-zinc-700 border border-zinc-200",removeHover:"hover:bg-zinc-200 hover:text-zinc-900"},outline:{base:"bg-transparent text-zinc-700 border border-zinc-300",removeHover:"hover:bg-zinc-100 hover:text-zinc-900"}},ko=it.forwardRef(function({variant:t="soft",size:r="sm",shape:o="rounded",icon:s,iconRight:a,removable:n=!1,onRemove:c,className:f,children:d,...g},x){let v=xo[r],y=vo[t];return wo("span",{ref:x,className:b("inline-flex items-center font-medium whitespace-nowrap",v.padding,v.font,v.gap,yo[o],y.base,f),...g,children:[s&&le("span",{className:b("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:s}),d,a&&!n&&le("span",{className:b("shrink-0 flex items-center justify-center [&>svg]:w-full [&>svg]:h-full",v.iconSize),children:a}),n&&le("button",{type:"button","aria-label":"Remove",onClick:c,className:b("shrink-0 flex items-center justify-center rounded-full transition-colors cursor-pointer -mr-0.5",v.iconSize,y.removeHover),children:le(ot,{className:"size-full",strokeWidth:2.5})})]})});ko.displayName="Badge";import*as ct from"react";import{jsx as X,jsxs as lt}from"react/jsx-runtime";var zo={xs:{containerSize:"size-10",iconSize:"size-5",titleFont:"text-xs",descFont:"text-[11px]",maxWidth:"max-w-2xs",padding:"py-5 px-3"},sm:{containerSize:"size-12",iconSize:"size-6",titleFont:"text-sm",descFont:"text-xs",maxWidth:"max-w-xs",padding:"py-8 px-4"},md:{containerSize:"size-16",iconSize:"size-7",titleFont:"text-base",descFont:"text-sm",maxWidth:"max-w-sm",padding:"py-12 px-6"},lg:{containerSize:"size-20",iconSize:"size-9",titleFont:"text-lg",descFont:"text-base",maxWidth:"max-w-md",padding:"py-16 px-8"},xl:{containerSize:"size-24",iconSize:"size-11",titleFont:"text-xl",descFont:"text-base",maxWidth:"max-w-lg",padding:"py-20 px-10"}},So=ct.forwardRef(function({icon:t,title:r,description:o,size:s="md",action:a,className:n,children:c,...f},d){let g=zo[s];return lt("div",{ref:d,className:b("flex flex-col items-center justify-center text-center gap-4",g.padding,n),...f,children:[X("div",{className:b("flex items-center justify-center rounded-full bg-zinc-100",g.containerSize),children:X("span",{className:b("text-zinc-400 [&>svg]:w-full [&>svg]:h-full",g.iconSize),children:t??X(rt,{className:"w-full h-full"})})}),(r||o)&&lt("div",{className:"flex flex-col gap-1.5",children:[r&&X("h3",{className:b("font-semibold text-zinc-900",g.titleFont),children:r}),o&&X("p",{className:b("text-zinc-500 leading-relaxed",g.descFont,g.maxWidth),children:o})]}),a&&X("div",{className:"mt-1",children:a}),c]})});So.displayName="Empty";import*as D from"react";import{jsx as U,jsxs as mt}from"react/jsx-runtime";var ve={xs:{padding:"px-1 py-px",font:"text-[10px]",minWidth:"min-w-4",gap:"gap-0.5"},sm:{padding:"px-1.5 py-0.5",font:"text-xs",minWidth:"min-w-5",gap:"gap-1"},md:{padding:"px-2 py-1",font:"text-sm",minWidth:"min-w-6",gap:"gap-1.5"},lg:{padding:"px-2.5 py-1",font:"text-base",minWidth:"min-w-7",gap:"gap-1.5"},xl:{padding:"px-3 py-1.5",font:"text-lg",minWidth:"min-w-8",gap:"gap-2"}},dt={square:"",rounded:"rounded-sm"},pt={default:"bg-zinc-100 border border-zinc-300",outline:"bg-transparent border border-zinc-300",ghost:"bg-zinc-50 border border-transparent"};function Ro({children:e,size:t,variant:r,shape:o,className:s}){let a=ve[t];return U("kbd",{className:b("inline-flex items-center justify-center font-mono font-medium text-zinc-700 leading-none",dt[o],a.padding,a.font,a.minWidth,pt[r],s),children:e})}var Ao=D.forwardRef(function({size:t="sm",variant:r="default",shape:o="rounded",keys:s,separator:a,className:n,children:c,...f},d){let g=ve[t];if(!s||s.length===0)return U("kbd",{ref:d,className:b("inline-flex items-center justify-center font-mono font-medium text-zinc-700 leading-none",dt[o],g.padding,g.font,g.minWidth,pt[r],n),...f,children:c});let x=a??U("span",{className:b("text-zinc-400 font-mono font-medium",g.font),children:"+"});return U("span",{ref:d,className:b("inline-flex items-center",g.gap,n),...f,children:s.map((v,y)=>mt(D.Fragment,{children:[U(Ro,{size:t,variant:r,shape:o,children:v}),y<s.length-1&&x]},y))})});Ao.displayName="Kbd";var Io=D.forwardRef(function({size:t="sm",separator:r,className:o,children:s,...a},n){let c=ve[t],f=D.Children.toArray(s).filter(Boolean),d=r??U("span",{className:b("text-zinc-400 font-mono font-medium",c.font),children:"+"});return U("span",{ref:n,className:b("inline-flex items-center",c.gap,o),...a,children:f.map((g,x)=>mt(D.Fragment,{children:[g,x<f.length-1&&d]},x))})});Io.displayName="KbdGroup";import*as ft from"react";import{jsx as No,jsxs as Co}from"react/jsx-runtime";var To={xs:"text-xs",sm:"text-sm",md:"text-base",lg:"text-lg",xl:"text-xl"},Mo=ft.forwardRef(function({size:t="sm",required:r=!1,disabled:o=!1,className:s,children:a,...n},c){return Co("label",{ref:c,className:b("font-medium text-zinc-700 leading-none",To[t],o?"opacity-50 cursor-not-allowed":"cursor-default",s),...n,children:[a,r&&No("span",{"aria-hidden":"true",className:"text-zinc-900 ms-0.5 font-semibold",children:"*"})]})});Mo.displayName="Label";import*as ut from"react";import{jsx as ee,jsxs as Po}from"react/jsx-runtime";var ce={solid:"border-solid",dashed:"border-dashed",dotted:"border-dotted"},Lo=ut.forwardRef(function({orientation:t="horizontal",variant:r="solid",label:o,decorative:s,className:a,...n},c){let f=s?{role:"none"}:{role:"separator","aria-orientation":t};return t==="vertical"?ee("div",{ref:c,...f,className:b("self-stretch w-px border-l border-zinc-200",ce[r],a),...n}):o?Po("div",{ref:c,...f,className:b("flex items-center gap-3",a),...n,children:[ee("div",{"aria-hidden":"true",className:b("flex-1 border-t border-zinc-200",ce[r])}),ee("span",{className:"text-xs text-zinc-500 font-medium shrink-0",children:o}),ee("div",{"aria-hidden":"true",className:b("flex-1 border-t border-zinc-200",ce[r])})]}):ee("div",{ref:c,...f,className:b("w-full border-t border-zinc-200",ce[r],a),...n})});Lo.displayName="Separator";import*as de from"react";var gt="eglador-skeleton-styles",Eo=`
3
+ @keyframes eglador-skeleton-wave {
4
+ 0% { background-position: 200% 0; }
5
+ 100% { background-position: -200% 0; }
6
+ }
7
+ .eglador-skeleton-wave {
8
+ background-color: var(--color-zinc-200, #e4e4e7);
9
+ background-image: linear-gradient(
10
+ 90deg,
11
+ var(--color-zinc-200, #e4e4e7) 25%,
12
+ var(--color-zinc-100, #f4f4f5) 50%,
13
+ var(--color-zinc-200, #e4e4e7) 75%
14
+ );
15
+ background-size: 200% 100%;
16
+ animation: eglador-skeleton-wave 1.5s ease-in-out infinite;
17
+ }
18
+
19
+ @media (prefers-reduced-motion: reduce) {
20
+ .eglador-skeleton-wave {
21
+ animation: none !important;
22
+ }
23
+ }
24
+ `;function ke(){if(typeof document>"u"||document.getElementById(gt))return;let e=document.createElement("style");e.id=gt,e.textContent=Eo,document.head.appendChild(e)}import{jsx as we}from"react/jsx-runtime";var Go={text:"rounded-sm",circular:"rounded-full",rectangular:"",rounded:"rounded-sm"};function bt(e){if(e!=null)return typeof e=="number"?`${e}px`:e}var Ho=de.forwardRef(function({variant:t="text",animation:r="pulse",width:o,height:s,lines:a,lineGap:n="0.75rem",className:c,style:f,...d},g){de.useEffect(()=>{r==="wave"&&ke()},[r]);let x=bt(o),v=bt(s),y=x,z=v;z||(t==="text"?z="1em":t==="circular"?z=y??"2.5rem":z="8rem"),t==="circular"&&!y&&(y=z),!y&&t!=="circular"&&(y="100%");let S=b(r==="wave"?"eglador-skeleton-wave":"bg-zinc-200",Go[t],r==="pulse"&&"animate-pulse",c);return a&&a>1?we("div",{ref:g,className:"flex flex-col",style:{gap:n,...f},...d,children:Array.from({length:a},(T,G)=>{let M=G===a-1;return we("div",{className:S,style:{width:M?"60%":y,height:z}},G)})}):we("div",{ref:g,className:S,style:{width:y,height:z,...f},...d})});Ho.displayName="Skeleton";import*as xt from"react";import{jsx as pe,jsxs as ht}from"react/jsx-runtime";var Wo={xs:{spinner:"size-4",labelFont:"text-xs",gap:"gap-1.5"},sm:{spinner:"size-5",labelFont:"text-sm",gap:"gap-2"},md:{spinner:"size-8",labelFont:"text-sm",gap:"gap-2.5"},lg:{spinner:"size-12",labelFont:"text-base",gap:"gap-3"},xl:{spinner:"size-16",labelFont:"text-lg",gap:"gap-3.5"}},Vo=xt.forwardRef(function({size:t="sm",label:r,className:o,...s},a){let n=Wo[t];return ht("div",{ref:a,role:"status",className:b("inline-flex flex-col items-center",n.gap,o),...s,children:[ht("svg",{"aria-hidden":"true",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:b("animate-spin",n.spinner),children:[pe("circle",{cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"3",className:"text-zinc-200"}),pe("path",{d:"M12 2a10 10 0 0 1 10 10",stroke:"currentColor",strokeWidth:"3",strokeLinecap:"round",className:"text-zinc-600"})]}),r?pe("span",{className:b("font-medium text-zinc-500",n.labelFont),children:r}):pe("span",{className:"sr-only",children:"Loading\u2026"})]})});Vo.displayName="Spinner";import*as vt from"react";import{jsx as Bo}from"react/jsx-runtime";var Fo={h1:{tag:"h1",style:"text-4xl font-bold tracking-tight"},h2:{tag:"h2",style:"text-3xl font-bold tracking-tight"},h3:{tag:"h3",style:"text-2xl font-semibold tracking-tight"},h4:{tag:"h4",style:"text-xl font-semibold tracking-tight"},p:{tag:"p",style:"text-base leading-relaxed"},lead:{tag:"p",style:"text-xl leading-relaxed"},large:{tag:"p",style:"text-lg font-medium"},small:{tag:"p",style:"text-sm"},muted:{tag:"p",style:"text-sm text-zinc-500"},blockquote:{tag:"blockquote",style:"border-s-4 border-zinc-300 ps-4 italic"},list:{tag:"ul",style:"list-disc ms-6 [&>li]:mt-1.5 [&>li]:leading-relaxed"},code:{tag:"code",style:"bg-zinc-100 px-1.5 py-0.5 rounded-sm text-sm font-mono"},kbd:{tag:"kbd",style:"bg-zinc-100 border border-zinc-300 px-1.5 py-0.5 rounded-sm text-xs font-mono"}},yt={default:"text-zinc-900",muted:"text-zinc-500"},Oo={left:"text-left",center:"text-center",right:"text-right"},Do={thin:"font-thin",extralight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extrabold:"font-extrabold",black:"font-black"},_o=vt.forwardRef(function({variant:t="p",color:r,align:o,weight:s,truncate:a=!1,lines:n,as:c,className:f,children:d,style:g,...x},v){let y=Fo[t],z=c||y.tag,S=r?yt[r]:t==="muted"?"":yt.default,T=n&&n>0?{display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:n,overflow:"hidden"}:void 0;return Bo(z,{ref:v,className:b(y.style,S,o&&Oo[o],s&&Do[s],a&&!n&&"truncate",f),style:T?{...T,...g}:g,...x,children:d})});_o.displayName="Typography";export{mo as AspectRatio,bo as Avatar,ho as AvatarGroup,ko as Badge,So as Empty,Ao as Kbd,Io as KbdGroup,Mo as Label,Lo as Separator,Ho as Skeleton,Vo as Spinner,_o as Typography,ke as ensureSkeletonStyles};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eglador-ui-react",
3
- "version": "1.0.0-alpha.1",
3
+ "version": "1.0.0-alpha.2",
4
4
  "description": "Eglador UI for React — headless, accessible component library. Compound subcomponents, Tailwind v4, zero runtime dependencies.",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -80,6 +80,7 @@
80
80
  "@vitest/browser-playwright": "^4.1.5",
81
81
  "@vitest/coverage-v8": "^4.1.5",
82
82
  "clsx": "^2.1.1",
83
+ "lucide-react": "^1.14.0",
83
84
  "playwright": "^1.59.1",
84
85
  "react": "^19.2.6",
85
86
  "react-dom": "^19.2.6",