cetec-design-system 0.0.24 → 0.0.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/dist/cetec-design-system.es.js +1514 -0
  2. package/dist/components/Box/Box.d.ts +7 -0
  3. package/dist/components/Box/index.d.ts +1 -0
  4. package/dist/components/Button/Button.d.ts +12 -0
  5. package/dist/components/Button/ButtonContent.d.ts +8 -0
  6. package/dist/components/Button/index.d.ts +1 -0
  7. package/dist/components/CheckBox/CheckBox.d.ts +8 -0
  8. package/dist/components/CheckBox/index.d.ts +1 -0
  9. package/dist/components/Code/Code.d.ts +8 -0
  10. package/dist/components/Code/Pre.d.ts +7 -0
  11. package/dist/components/Code/index.d.ts +2 -0
  12. package/dist/components/Divider/Divider.d.ts +7 -0
  13. package/dist/components/Divider/index.d.ts +1 -0
  14. package/dist/components/Heading/Heading.d.ts +7 -0
  15. package/dist/components/Heading/index.d.ts +1 -0
  16. package/dist/components/Icon/Icon.d.ts +14 -0
  17. package/dist/components/Icon/index.d.ts +3 -0
  18. package/dist/components/IconButton/IconButton.d.ts +19 -0
  19. package/dist/components/IconButton/index.d.ts +1 -0
  20. package/dist/components/Input/Input.d.ts +10 -0
  21. package/dist/components/Input/index.d.ts +1 -0
  22. package/dist/components/Label/Label.d.ts +7 -0
  23. package/dist/components/Label/index.d.ts +1 -0
  24. package/dist/components/Link/Link.d.ts +16 -0
  25. package/dist/components/Link/index.d.ts +1 -0
  26. package/dist/components/PandaPatterns.d.ts +1 -0
  27. package/dist/components/Radio/Radio.d.ts +7 -0
  28. package/dist/components/Radio/index.d.ts +1 -0
  29. package/dist/components/Slot.d.ts +4 -0
  30. package/dist/components/Spinner/Spinner.d.ts +4 -0
  31. package/dist/components/Spinner/index.d.ts +1 -0
  32. package/dist/components/Text/Text.d.ts +8 -0
  33. package/dist/components/Text/Text.stories.d.ts +7 -0
  34. package/dist/components/Text/index.d.ts +1 -0
  35. package/dist/components/TextInput/TextInput.d.ts +6 -0
  36. package/dist/components/TextInput/index.d.ts +1 -0
  37. package/dist/components/Textarea/Textarea.d.ts +8 -0
  38. package/dist/components/Textarea/index.d.ts +1 -0
  39. package/dist/components/ThemeSwitcher/ThemeSwitcher.d.ts +1 -0
  40. package/dist/components/ThemeSwitcher/index.d.ts +1 -0
  41. package/package.json +1 -1
  42. package/dist/cetec-components.css +0 -1
  43. package/dist/cetec-components.es.js +0 -26713
@@ -0,0 +1,1514 @@
1
+ import { forwardRef as te, useMemo as ce, createElement as M, createContext as yt, useState as St, useEffect as pe, useContext as xt } from "react";
2
+ import { jsx as p, jsxs as E, Fragment as wt } from "react/jsx-runtime";
3
+ function I(e) {
4
+ return typeof e == "object" && e != null && !Array.isArray(e);
5
+ }
6
+ var vt = (e) => typeof e == "object" && e !== null;
7
+ function R(e) {
8
+ return Object.fromEntries(Object.entries(e ?? {}).filter(([t, r]) => r !== void 0));
9
+ }
10
+ var Ct = (e) => e === "base";
11
+ function Pt(e) {
12
+ return e.slice().filter((t) => !Ct(t));
13
+ }
14
+ function me(e) {
15
+ return String.fromCharCode(e + (e > 25 ? 39 : 97));
16
+ }
17
+ function Bt(e) {
18
+ let t = "", r;
19
+ for (r = Math.abs(e); r > 52; r = r / 52 | 0)
20
+ t = me(r % 52) + t;
21
+ return me(r % 52) + t;
22
+ }
23
+ function Tt(e, t) {
24
+ let r = t.length;
25
+ for (; r; )
26
+ e = e * 33 ^ t.charCodeAt(--r);
27
+ return e;
28
+ }
29
+ function Vt(e) {
30
+ return Bt(Tt(5381, e) >>> 0);
31
+ }
32
+ var Oe = /\s*!(important)?/i;
33
+ function Rt(e) {
34
+ return typeof e == "string" ? Oe.test(e) : !1;
35
+ }
36
+ function It(e) {
37
+ return typeof e == "string" ? e.replace(Oe, "").trim() : e;
38
+ }
39
+ function re(e) {
40
+ return typeof e == "string" ? e.replaceAll(" ", "_") : e;
41
+ }
42
+ var b = (e) => {
43
+ const t = /* @__PURE__ */ new Map();
44
+ return (...o) => {
45
+ const n = JSON.stringify(o);
46
+ if (t.has(n))
47
+ return t.get(n);
48
+ const a = e(...o);
49
+ return t.set(n, a), a;
50
+ };
51
+ };
52
+ function oe(...e) {
53
+ return e.reduce((t, r) => (r && Object.keys(r).forEach((o) => {
54
+ const n = t[o], a = r[o];
55
+ I(n) && I(a) ? t[o] = oe(n, a) : t[o] = a;
56
+ }), t), {});
57
+ }
58
+ var Mt = (e) => e != null;
59
+ function ne(e, t, r = {}) {
60
+ const { stop: o, getKey: n } = r;
61
+ function a(i, s = []) {
62
+ if (vt(i)) {
63
+ const d = {};
64
+ for (const [c, l] of Object.entries(i)) {
65
+ const m = (n == null ? void 0 : n(c, l)) ?? c, u = [...s, m];
66
+ if (o != null && o(i, u))
67
+ return t(i, s);
68
+ const f = a(l, u);
69
+ Mt(f) && (d[m] = f);
70
+ }
71
+ return d;
72
+ }
73
+ return t(i, s);
74
+ }
75
+ return a(e);
76
+ }
77
+ function Et(e, t) {
78
+ return Array.isArray(e) ? e.map((r) => t(r)) : I(e) ? ne(e, (r) => t(r)) : t(e);
79
+ }
80
+ function Ot(e, t) {
81
+ return e.reduce(
82
+ (r, o, n) => {
83
+ const a = t[n];
84
+ return o != null && (r[a] = o), r;
85
+ },
86
+ {}
87
+ );
88
+ }
89
+ function We(e, t, r = !0) {
90
+ const { utility: o, conditions: n } = t, { hasShorthand: a, resolveShorthand: i } = o;
91
+ return ne(
92
+ e,
93
+ (s) => Array.isArray(s) ? Ot(s, n.breakpoints.keys) : s,
94
+ {
95
+ stop: (s) => Array.isArray(s),
96
+ getKey: r ? (s) => a ? i(s) : s : void 0
97
+ }
98
+ );
99
+ }
100
+ var Wt = {
101
+ shift: (e) => e,
102
+ finalize: (e) => e,
103
+ breakpoints: { keys: [] }
104
+ }, jt = (e) => typeof e == "string" ? e.replaceAll(/[\n\s]+/g, " ") : e;
105
+ function je(e) {
106
+ const { utility: t, hash: r, conditions: o = Wt } = e, n = (i) => [t.prefix, i].filter(Boolean).join("-"), a = (i, s) => {
107
+ let d;
108
+ if (r) {
109
+ const c = [...o.finalize(i), s];
110
+ d = n(t.toHash(c, Vt));
111
+ } else
112
+ d = [...o.finalize(i), n(s)].join(":");
113
+ return d;
114
+ };
115
+ return b(({ base: i, ...s } = {}) => {
116
+ const d = Object.assign(s, i), c = We(d, e), l = /* @__PURE__ */ new Set();
117
+ return ne(c, (m, u) => {
118
+ if (m == null)
119
+ return;
120
+ const f = Rt(m), [w, ...v] = o.shift(u), V = Pt(v), P = t.transform(w, It(jt(m)));
121
+ let x = a(V, P.className);
122
+ f && (x = `${x}!`), l.add(x);
123
+ }), Array.from(l).join(" ");
124
+ });
125
+ }
126
+ function Ft(...e) {
127
+ return e.flat().filter((t) => I(t) && Object.keys(R(t)).length > 0);
128
+ }
129
+ function zt(e) {
130
+ function t(n) {
131
+ const a = Ft(...n);
132
+ return a.length === 1 ? a : a.map((i) => We(i, e));
133
+ }
134
+ function r(...n) {
135
+ return oe(...t(n));
136
+ }
137
+ function o(...n) {
138
+ return Object.assign({}, ...t(n));
139
+ }
140
+ return { mergeCss: b(r), assignCss: o };
141
+ }
142
+ var Lt = /([A-Z])/g, At = /^ms-/, Dt = b((e) => e.startsWith("--") ? e : e.replace(Lt, "-$1").replace(At, "-ms-").toLowerCase()), Nt = ["min", "max", "clamp", "calc"], Xt = new RegExp(`^(${Nt.join("|")})\\(.*\\)`), Yt = (e) => typeof e == "string" && Xt.test(e), Kt = "cm,mm,Q,in,pc,pt,px,em,ex,ch,rem,lh,rlh,vw,vh,vmin,vmax,vb,vi,svw,svh,lvw,lvh,dvw,dvh,cqw,cqh,cqi,cqb,cqmin,cqmax,%", Gt = `(?:${Kt.split(",").join("|")})`, Ht = new RegExp(`^[+-]?[0-9]*.?[0-9]+(?:[eE][+-]?[0-9]+)?${Gt}$`), qt = (e) => typeof e == "string" && Ht.test(e), $t = (e) => typeof e == "string" && /^var\(--.+\)$/.test(e), ae = {
143
+ map: Et,
144
+ isCssFunction: Yt,
145
+ isCssVar: $t,
146
+ isCssUnit: qt
147
+ }, ie = (e, t) => {
148
+ if (!(e != null && e.defaultValues))
149
+ return t;
150
+ const r = typeof e.defaultValues == "function" ? e.defaultValues(t) : e.defaultValues;
151
+ return Object.assign({}, r, R(t));
152
+ }, Fe = (e, t) => e.filter((r) => r.css[t]).map((r) => ({ ...r, css: r.css[t] }));
153
+ function g(e, ...t) {
154
+ const r = Object.getOwnPropertyDescriptors(e), o = Object.keys(r), n = (i) => {
155
+ const s = {};
156
+ for (let d = 0; d < i.length; d++) {
157
+ const c = i[d];
158
+ r[c] && (Object.defineProperty(s, c, r[c]), delete r[c]);
159
+ }
160
+ return s;
161
+ }, a = (i) => n(Array.isArray(i) ? i : o.filter(i));
162
+ return t.map(a).concat(n(o));
163
+ }
164
+ var J = (...e) => {
165
+ const t = e.reduce((r, o) => (o && o.forEach((n) => r.add(n)), r), /* @__PURE__ */ new Set([]));
166
+ return Array.from(t);
167
+ }, ze = ["htmlSize", "htmlTranslate", "htmlWidth", "htmlHeight"];
168
+ function Ut(e) {
169
+ return ze.includes(e) ? e.replace("html", "").toLowerCase() : e;
170
+ }
171
+ function Q(e) {
172
+ return Object.fromEntries(Object.entries(e).map(([t, r]) => [Ut(t), r]));
173
+ }
174
+ Q.keys = ze;
175
+ const Zt = "_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_closed,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_starting,_error,_hidden,_current,_today,_collapsed,_containerSmall,_containerMedium,_containerLarge,xs,xsOnly,xsDown,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,xsToSm,xsToMd,xsToLg,xsToXl,xsTo2xl,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,base", Le = new Set(Zt.split(",")), Jt = /^@|&|&$/;
176
+ function ge(e) {
177
+ return Le.has(e) || Jt.test(e);
178
+ }
179
+ const Qt = /^_/, er = /&|@/;
180
+ function Ae(e) {
181
+ return e.map((t) => Le.has(t) ? t.replace(Qt, "") : er.test(t) ? `[${re(t.trim())}]` : t);
182
+ }
183
+ function De(e) {
184
+ return e.sort((t, r) => {
185
+ const o = ge(t), n = ge(r);
186
+ return o && !n ? 1 : !o && n ? -1 : 0;
187
+ });
188
+ }
189
+ const tr = "aspectRatio:asp,boxDecorationBreak:bx-db,zIndex:z,boxSizing:bx-s,objectPosition:obj-p,objectFit:obj-f,overscrollBehavior:ovs-b,overscrollBehaviorX:ovs-bx,overscrollBehaviorY:ovs-by,position:pos/1,top:top,left:left,inset:inset,insetInline:inset-x/insetX,insetBlock:inset-y/insetY,insetBlockEnd:inset-be,insetBlockStart:inset-bs,insetInlineEnd:inset-e/insetEnd/end,insetInlineStart:inset-s/insetStart/start,right:right,bottom:bottom,float:float,visibility:vis,display:d,hideFrom:hide,hideBelow:show,flexBasis:flex-b,flex:flex,flexDirection:flex-d/flexDir,flexGrow:flex-g,flexShrink:flex-sh,gridTemplateColumns:grid-tc,gridTemplateRows:grid-tr,gridColumn:grid-c,gridRow:grid-r,gridColumnStart:grid-cs,gridColumnEnd:grid-ce,gridAutoFlow:grid-af,gridAutoColumns:grid-ac,gridAutoRows:grid-ar,gap:gap,gridGap:grid-g,gridRowGap:grid-rg,gridColumnGap:grid-cg,rowGap:rg,columnGap:cg,justifyContent:jc,alignContent:ac,alignItems:ai,alignSelf:as,padding:p/1,paddingLeft:pl/1,paddingRight:pr/1,paddingTop:pt/1,paddingBottom:pb/1,paddingBlock:py/1/paddingY,paddingBlockEnd:pbe,paddingBlockStart:pbs,paddingInline:px/paddingX/1,paddingInlineEnd:pe/1/paddingEnd,paddingInlineStart:ps/1/paddingStart,marginLeft:ml/1,marginRight:mr/1,marginTop:mt/1,marginBottom:mb/1,margin:m/1,marginBlock:my/1/marginY,marginBlockEnd:mbe,marginBlockStart:mbs,marginInline:mx/1/marginX,marginInlineEnd:me/1/marginEnd,marginInlineStart:ms/1/marginStart,spaceX:sx,spaceY:sy,outlineWidth:ring-w/ringWidth,outlineColor:ring-c/ringColor,outline:ring/1,outlineOffset:ring-o/ringOffset,divideX:dvd-x,divideY:dvd-y,divideColor:dvd-c,divideStyle:dvd-s,width:w/1,inlineSize:w-is,minWidth:min-w/minW,minInlineSize:min-w-is,maxWidth:max-w/maxW,maxInlineSize:max-w-is,height:h/1,blockSize:h-bs,minHeight:min-h/minH,minBlockSize:min-h-bs,maxHeight:max-h/maxH,maxBlockSize:max-b,color:c,fontFamily:ff,fontSize:fs,fontSizeAdjust:fs-a,fontPalette:fp,fontKerning:fk,fontFeatureSettings:ff-s,fontWeight:fw,fontSmoothing:fsmt,fontVariant:fv,fontVariantAlternates:fv-alt,fontVariantCaps:fv-caps,fontVariationSettings:fv-s,fontVariantNumeric:fv-num,letterSpacing:ls,lineHeight:lh,textAlign:ta,textDecoration:td,textDecorationColor:td-c,textEmphasisColor:te-c,textDecorationStyle:td-s,textDecorationThickness:td-t,textUnderlineOffset:tu-o,textTransform:tt,textIndent:ti,textShadow:tsh,textShadowColor:tsh-c/textShadowColor,textOverflow:tov,verticalAlign:va,wordBreak:wb,textWrap:tw,truncate:trunc,lineClamp:lc,listStyleType:li-t,listStylePosition:li-pos,listStyleImage:li-img,listStyle:li-s,backgroundPosition:bg-p/bgPosition,backgroundPositionX:bg-p-x/bgPositionX,backgroundPositionY:bg-p-y/bgPositionY,backgroundAttachment:bg-a/bgAttachment,backgroundClip:bg-cp/bgClip,background:bg/1,backgroundColor:bg-c/bgColor,backgroundOrigin:bg-o/bgOrigin,backgroundImage:bg-i/bgImage,backgroundRepeat:bg-r/bgRepeat,backgroundBlendMode:bg-bm/bgBlendMode,backgroundSize:bg-s/bgSize,backgroundGradient:bg-grad/bgGradient,textGradient:txt-grad,gradientFromPosition:grad-from-pos,gradientToPosition:grad-to-pos,gradientFrom:grad-from,gradientTo:grad-to,gradientVia:grad-via,gradientViaPosition:grad-via-pos,borderRadius:bdr/rounded,borderTopLeftRadius:bdr-tl/roundedTopLeft,borderTopRightRadius:bdr-tr/roundedTopRight,borderBottomRightRadius:bdr-br/roundedBottomRight,borderBottomLeftRadius:bdr-bl/roundedBottomLeft,borderTopRadius:bdr-t/roundedTop,borderRightRadius:bdr-r/roundedRight,borderBottomRadius:bdr-b/roundedBottom,borderLeftRadius:bdr-l/roundedLeft,borderStartStartRadius:bdr-ss/roundedStartStart,borderStartEndRadius:bdr-se/roundedStartEnd,borderStartRadius:bdr-s/roundedStart,borderEndStartRadius:bdr-es/roundedEndStart,borderEndEndRadius:bdr-ee/roundedEndEnd,borderEndRadius:bdr-e/roundedEnd,border:bd,borderWidth:bd-w,borderTopWidth:bd-t-w,borderLeftWidth:bd-l-w,borderRightWidth:bd-r-w,borderBottomWidth:bd-b-w,borderColor:bd-c,borderInline:bd-x/borderX,borderInlineWidth:bd-x-w/borderXWidth,borderInlineColor:bd-x-c/borderXColor,borderBlock:bd-y/borderY,borderBlockWidth:bd-y-w/borderYWidth,borderBlockColor:bd-y-c/borderYColor,borderLeft:bd-l,borderLeftColor:bd-l-c,borderInlineStart:bd-s/borderStart,borderInlineStartWidth:bd-s-w/borderStartWidth,borderInlineStartColor:bd-s-c/borderStartColor,borderRight:bd-r,borderRightColor:bd-r-c,borderInlineEnd:bd-e/borderEnd,borderInlineEndWidth:bd-e-w/borderEndWidth,borderInlineEndColor:bd-e-c/borderEndColor,borderTop:bd-t,borderTopColor:bd-t-c,borderBottom:bd-b,borderBottomColor:bd-b-c,borderBlockEnd:bd-be,borderBlockEndColor:bd-be-c,borderBlockStart:bd-bs,borderBlockStartColor:bd-bs-c,opacity:op,boxShadow:bx-sh/shadow,boxShadowColor:bx-sh-c/shadowColor,mixBlendMode:mix-bm,filter:filter,brightness:brightness,contrast:contrast,grayscale:grayscale,hueRotate:hue-rotate,invert:invert,saturate:saturate,sepia:sepia,dropShadow:drop-shadow,blur:blur,backdropFilter:bkdp,backdropBlur:bkdp-blur,backdropBrightness:bkdp-brightness,backdropContrast:bkdp-contrast,backdropGrayscale:bkdp-grayscale,backdropHueRotate:bkdp-hue-rotate,backdropInvert:bkdp-invert,backdropOpacity:bkdp-opacity,backdropSaturate:bkdp-saturate,backdropSepia:bkdp-sepia,borderCollapse:bd-cl,borderSpacing:bd-sp,borderSpacingX:bd-sx,borderSpacingY:bd-sy,tableLayout:tbl,transitionTimingFunction:trs-tmf,transitionDelay:trs-dly,transitionDuration:trs-dur,transitionProperty:trs-prop,transition:trs,animation:anim,animationName:anim-n,animationTimingFunction:anim-tmf,animationDuration:anim-dur,animationDelay:anim-dly,animationPlayState:anim-ps,animationComposition:anim-comp,animationFillMode:anim-fm,animationDirection:anim-dir,animationIterationCount:anim-ic,animationRange:anim-r,animationState:anim-s,animationRangeStart:anim-rs,animationRangeEnd:anim-re,animationTimeline:anim-tl,transformOrigin:trf-o,transformBox:trf-b,transformStyle:trf-s,transform:trf,rotate:rotate,rotateX:rotate-x,rotateY:rotate-y,rotateZ:rotate-z,scale:scale,scaleX:scale-x,scaleY:scale-y,translate:translate,translateX:translate-x/x,translateY:translate-y/y,translateZ:translate-z/z,accentColor:ac-c,caretColor:ca-c,scrollBehavior:scr-bhv,scrollbar:scr-bar,scrollbarColor:scr-bar-c,scrollbarGutter:scr-bar-g,scrollbarWidth:scr-bar-w,scrollMargin:scr-m,scrollMarginLeft:scr-ml,scrollMarginRight:scr-mr,scrollMarginTop:scr-mt,scrollMarginBottom:scr-mb,scrollMarginBlock:scr-my/scrollMarginY,scrollMarginBlockEnd:scr-mbe,scrollMarginBlockStart:scr-mbt,scrollMarginInline:scr-mx/scrollMarginX,scrollMarginInlineEnd:scr-me,scrollMarginInlineStart:scr-ms,scrollPadding:scr-p,scrollPaddingBlock:scr-py/scrollPaddingY,scrollPaddingBlockStart:scr-pbs,scrollPaddingBlockEnd:scr-pbe,scrollPaddingInline:scr-px/scrollPaddingX,scrollPaddingInlineEnd:scr-pe,scrollPaddingInlineStart:scr-ps,scrollPaddingLeft:scr-pl,scrollPaddingRight:scr-pr,scrollPaddingTop:scr-pt,scrollPaddingBottom:scr-pb,scrollSnapAlign:scr-sa,scrollSnapStop:scrs-s,scrollSnapType:scrs-t,scrollSnapStrictness:scrs-strt,scrollSnapMargin:scrs-m,scrollSnapMarginTop:scrs-mt,scrollSnapMarginBottom:scrs-mb,scrollSnapMarginLeft:scrs-ml,scrollSnapMarginRight:scrs-mr,scrollSnapCoordinate:scrs-c,scrollSnapDestination:scrs-d,scrollSnapPointsX:scrs-px,scrollSnapPointsY:scrs-py,scrollSnapTypeX:scrs-tx,scrollSnapTypeY:scrs-ty,scrollTimeline:scrtl,scrollTimelineAxis:scrtl-a,scrollTimelineName:scrtl-n,touchAction:tch-a,userSelect:us,overflow:ov,overflowWrap:ov-wrap,overflowX:ov-x,overflowY:ov-y,overflowAnchor:ov-a,overflowBlock:ov-b,overflowInline:ov-i,overflowClipBox:ovcp-bx,overflowClipMargin:ovcp-m,overscrollBehaviorBlock:ovs-bb,overscrollBehaviorInline:ovs-bi,fill:fill,stroke:stk,strokeWidth:stk-w,strokeDasharray:stk-dsh,strokeDashoffset:stk-do,strokeLinecap:stk-lc,strokeLinejoin:stk-lj,strokeMiterlimit:stk-ml,strokeOpacity:stk-op,srOnly:sr,debug:debug,appearance:ap,backfaceVisibility:bfv,clipPath:cp-path,hyphens:hy,mask:msk,maskImage:msk-i,maskSize:msk-s,textSizeAdjust:txt-adj,container:cq,containerName:cq-n,containerType:cq-t,textStyle:textStyle", Ne = /* @__PURE__ */ new Map(), Xe = /* @__PURE__ */ new Map();
190
+ tr.split(",").forEach((e) => {
191
+ const [t, r] = e.split(":"), [o, ...n] = r.split("/");
192
+ Ne.set(t, o), n.length && n.forEach((a) => {
193
+ Xe.set(a === "1" ? o : a, t);
194
+ });
195
+ });
196
+ const ue = (e) => Xe.get(e) || e, Ye = {
197
+ conditions: {
198
+ shift: De,
199
+ finalize: Ae,
200
+ breakpoints: { keys: ["base", "xs", "sm", "md", "lg", "xl", "2xl"] }
201
+ },
202
+ utility: {
203
+ transform: (e, t) => {
204
+ const r = ue(e);
205
+ return { className: `${Ne.get(r) || Dt(r)}_${re(t)}` };
206
+ },
207
+ hasShorthand: !0,
208
+ toHash: (e, t) => t(e.join(":")),
209
+ resolveShorthand: ue
210
+ }
211
+ }, rr = je(Ye), T = (...e) => rr(B(...e));
212
+ T.raw = (...e) => B(...e);
213
+ const { mergeCss: B } = zt(Ye), be = (e) => ({
214
+ base: {},
215
+ variants: {},
216
+ defaultVariants: {},
217
+ compoundVariants: [],
218
+ ...e
219
+ });
220
+ function Ke(e) {
221
+ const { base: t, variants: r, defaultVariants: o, compoundVariants: n } = be(e), a = (u) => ({ ...o, ...R(u) });
222
+ function i(u = {}) {
223
+ var V;
224
+ const f = a(u);
225
+ let w = { ...t };
226
+ for (const [P, x] of Object.entries(f))
227
+ (V = r[P]) != null && V[x] && (w = B(w, r[P][x]));
228
+ const v = ee(n, f);
229
+ return B(w, v);
230
+ }
231
+ function s(u) {
232
+ const f = be(u.config), w = J(u.variantKeys, Object.keys(r));
233
+ return Ke({
234
+ base: B(t, f.base),
235
+ variants: Object.fromEntries(
236
+ w.map((v) => [v, B(r[v], f.variants[v])])
237
+ ),
238
+ defaultVariants: oe(o, f.defaultVariants),
239
+ compoundVariants: [...n, ...f.compoundVariants]
240
+ });
241
+ }
242
+ function d(u) {
243
+ return T(i(u));
244
+ }
245
+ const c = Object.keys(r);
246
+ function l(u) {
247
+ return g(u, c);
248
+ }
249
+ const m = Object.fromEntries(Object.entries(r).map(([u, f]) => [u, Object.keys(f)]));
250
+ return Object.assign(b(d), {
251
+ __cva__: !0,
252
+ variantMap: m,
253
+ variantKeys: c,
254
+ raw: i,
255
+ config: e,
256
+ merge: s,
257
+ splitVariantProps: l,
258
+ getVariantProps: a
259
+ });
260
+ }
261
+ function ee(e, t) {
262
+ let r = {};
263
+ return e.forEach((o) => {
264
+ Object.entries(o).every(([a, i]) => a === "css" ? !0 : (Array.isArray(i) ? i : [i]).some((d) => t[a] === d)) && (r = B(r, o.css));
265
+ }), r;
266
+ }
267
+ function or(e, t, r, o) {
268
+ if (t.length > 0 && typeof (r == null ? void 0 : r[o]) == "object")
269
+ throw new Error(`[recipe:${e}:${o}] Conditions are not supported when using compound variants.`);
270
+ }
271
+ function h() {
272
+ let e = "", t = 0, r;
273
+ for (; t < arguments.length; )
274
+ (r = arguments[t++]) && typeof r == "string" && (e && (e += " "), e += r);
275
+ return e;
276
+ }
277
+ const _ = (e, t, r) => {
278
+ const o = (a) => ({
279
+ [e]: "__ignore__",
280
+ ...t,
281
+ ...R(a)
282
+ });
283
+ return {
284
+ recipeFn: (a, i = !0) => {
285
+ const d = je({
286
+ conditions: {
287
+ shift: De,
288
+ finalize: Ae,
289
+ breakpoints: { keys: ["base", "xs", "sm", "md", "lg", "xl", "2xl"] }
290
+ },
291
+ utility: {
292
+ toHash: (l, m) => m(l.join(":")),
293
+ transform: (l, m) => (or(e, r, a, l), m === "__ignore__" ? { className: e } : (m = re(m), { className: `${e}--${l}_${m}` }))
294
+ }
295
+ }), c = o(a);
296
+ if (i) {
297
+ const l = ee(r, c);
298
+ return h(d(c), T(l));
299
+ }
300
+ return d(c);
301
+ },
302
+ getVariantProps: o,
303
+ __getCompoundVariantCss__: (a) => ee(r, o(a))
304
+ };
305
+ }, S = (e, t) => {
306
+ if (e && !t) return e;
307
+ if (!e && t) return t;
308
+ const r = (...a) => h(e(...a), t(...a)), o = J(e.variantKeys, t.variantKeys), n = o.reduce((a, i) => (a[i] = J(e.variantMap[i], t.variantMap[i]), a), {});
309
+ return Object.assign(r, {
310
+ __recipe__: !0,
311
+ __name__: `${e.__name__} ${t.__name__}`,
312
+ raw: (a) => a,
313
+ variantKeys: o,
314
+ variantMap: n,
315
+ splitVariantProps(a) {
316
+ return g(a, o);
317
+ }
318
+ });
319
+ }, z = /* @__PURE__ */ _("text", {
320
+ textStyle: "body-md"
321
+ }, []), Ge = {
322
+ textStyle: [
323
+ "display-lg",
324
+ "display-md",
325
+ "display-sm",
326
+ "display-xs",
327
+ "heading-lg",
328
+ "heading-md",
329
+ "heading-sm",
330
+ "heading-xs",
331
+ "body-lg",
332
+ "body-md",
333
+ "body-sm",
334
+ "body-xs",
335
+ "mono-lg",
336
+ "mono-md",
337
+ "mono-sm",
338
+ "mono-xs"
339
+ ],
340
+ family: [
341
+ "heading",
342
+ "body",
343
+ "mono"
344
+ ],
345
+ bold: [
346
+ "true"
347
+ ],
348
+ italic: [
349
+ "true"
350
+ ],
351
+ underline: [
352
+ "true"
353
+ ],
354
+ size: [
355
+ "12",
356
+ "14",
357
+ "16",
358
+ "20",
359
+ "24",
360
+ "32",
361
+ "40",
362
+ "48",
363
+ "64",
364
+ "72",
365
+ "80",
366
+ "96"
367
+ ],
368
+ weight: [
369
+ "light",
370
+ "normal",
371
+ "medium",
372
+ "bold",
373
+ "black"
374
+ ]
375
+ }, he = Object.keys(Ge), nr = /* @__PURE__ */ Object.assign(b(z.recipeFn), {
376
+ __recipe__: !0,
377
+ __name__: "text",
378
+ __getCompoundVariantCss__: z.__getCompoundVariantCss__,
379
+ raw: (e) => e,
380
+ variantKeys: he,
381
+ variantMap: Ge,
382
+ merge(e) {
383
+ return S(this, e);
384
+ },
385
+ splitVariantProps(e) {
386
+ return g(e, he);
387
+ },
388
+ getVariantProps: z.getVariantProps
389
+ }), L = /* @__PURE__ */ _("heading", {
390
+ level: "h2"
391
+ }, []), He = {
392
+ level: [
393
+ "h1",
394
+ "h2",
395
+ "h3",
396
+ "h4"
397
+ ]
398
+ }, fe = Object.keys(He), ar = /* @__PURE__ */ Object.assign(b(L.recipeFn), {
399
+ __recipe__: !0,
400
+ __name__: "heading",
401
+ __getCompoundVariantCss__: L.__getCompoundVariantCss__,
402
+ raw: (e) => e,
403
+ variantKeys: fe,
404
+ variantMap: He,
405
+ merge(e) {
406
+ return S(this, e);
407
+ },
408
+ splitVariantProps(e) {
409
+ return g(e, fe);
410
+ },
411
+ getVariantProps: L.getVariantProps
412
+ }), A = /* @__PURE__ */ _("link", {
413
+ family: "body"
414
+ }, []), qe = {
415
+ textStyle: [
416
+ "display-lg",
417
+ "display-md",
418
+ "display-sm",
419
+ "display-xs",
420
+ "heading-lg",
421
+ "heading-md",
422
+ "heading-sm",
423
+ "heading-xs",
424
+ "body-lg",
425
+ "body-md",
426
+ "body-sm",
427
+ "body-xs",
428
+ "mono-lg",
429
+ "mono-md",
430
+ "mono-sm",
431
+ "mono-xs"
432
+ ],
433
+ family: [
434
+ "heading",
435
+ "body",
436
+ "mono"
437
+ ],
438
+ bold: [
439
+ "true"
440
+ ],
441
+ italic: [
442
+ "true"
443
+ ],
444
+ underline: [
445
+ "true"
446
+ ],
447
+ size: [
448
+ "12",
449
+ "14",
450
+ "16",
451
+ "20",
452
+ "24",
453
+ "32",
454
+ "40",
455
+ "48",
456
+ "64",
457
+ "72",
458
+ "80",
459
+ "96"
460
+ ],
461
+ weight: [
462
+ "light",
463
+ "normal",
464
+ "medium",
465
+ "bold",
466
+ "black"
467
+ ],
468
+ _disabled: [
469
+ "true"
470
+ ]
471
+ }, _e = Object.keys(qe), ir = /* @__PURE__ */ Object.assign(b(A.recipeFn), {
472
+ __recipe__: !0,
473
+ __name__: "link",
474
+ __getCompoundVariantCss__: A.__getCompoundVariantCss__,
475
+ raw: (e) => e,
476
+ variantKeys: _e,
477
+ variantMap: qe,
478
+ merge(e) {
479
+ return S(this, e);
480
+ },
481
+ splitVariantProps(e) {
482
+ return g(e, _e);
483
+ },
484
+ getVariantProps: A.getVariantProps
485
+ }), D = /* @__PURE__ */ _("label", {
486
+ family: "body"
487
+ }, []), $e = {
488
+ textStyle: [
489
+ "display-lg",
490
+ "display-md",
491
+ "display-sm",
492
+ "display-xs",
493
+ "heading-lg",
494
+ "heading-md",
495
+ "heading-sm",
496
+ "heading-xs",
497
+ "body-lg",
498
+ "body-md",
499
+ "body-sm",
500
+ "body-xs",
501
+ "mono-lg",
502
+ "mono-md",
503
+ "mono-sm",
504
+ "mono-xs"
505
+ ],
506
+ family: [
507
+ "heading",
508
+ "body",
509
+ "mono"
510
+ ],
511
+ bold: [
512
+ "true"
513
+ ],
514
+ italic: [
515
+ "true"
516
+ ],
517
+ underline: [
518
+ "true"
519
+ ],
520
+ size: [
521
+ "12",
522
+ "14",
523
+ "16",
524
+ "20",
525
+ "24",
526
+ "32",
527
+ "40",
528
+ "48",
529
+ "64",
530
+ "72",
531
+ "80",
532
+ "96"
533
+ ],
534
+ weight: [
535
+ "light",
536
+ "normal",
537
+ "medium",
538
+ "bold",
539
+ "black"
540
+ ],
541
+ _disabled: [
542
+ "true"
543
+ ]
544
+ }, ke = Object.keys($e), sr = /* @__PURE__ */ Object.assign(b(D.recipeFn), {
545
+ __recipe__: !0,
546
+ __name__: "label",
547
+ __getCompoundVariantCss__: D.__getCompoundVariantCss__,
548
+ raw: (e) => e,
549
+ variantKeys: ke,
550
+ variantMap: $e,
551
+ merge(e) {
552
+ return S(this, e);
553
+ },
554
+ splitVariantProps(e) {
555
+ return g(e, ke);
556
+ },
557
+ getVariantProps: D.getVariantProps
558
+ }), N = /* @__PURE__ */ _("button", {
559
+ variant: "standard",
560
+ size: "medium"
561
+ }, []), Ue = {
562
+ variant: [
563
+ "primary",
564
+ "standard",
565
+ "hollow",
566
+ "ghost",
567
+ "cta",
568
+ "danger"
569
+ ],
570
+ size: [
571
+ "medium",
572
+ "large",
573
+ "small"
574
+ ]
575
+ }, ye = Object.keys(Ue), lr = /* @__PURE__ */ Object.assign(b(N.recipeFn), {
576
+ __recipe__: !0,
577
+ __name__: "button",
578
+ __getCompoundVariantCss__: N.__getCompoundVariantCss__,
579
+ raw: (e) => e,
580
+ variantKeys: ye,
581
+ variantMap: Ue,
582
+ merge(e) {
583
+ return S(this, e);
584
+ },
585
+ splitVariantProps(e) {
586
+ return g(e, ye);
587
+ },
588
+ getVariantProps: N.getVariantProps
589
+ }), X = /* @__PURE__ */ _("icon-button", {
590
+ variant: "standard",
591
+ size: "medium"
592
+ }, []), Ze = {
593
+ variant: [
594
+ "primary",
595
+ "standard",
596
+ "hollow",
597
+ "ghost",
598
+ "cta",
599
+ "danger"
600
+ ],
601
+ size: [
602
+ "medium",
603
+ "large",
604
+ "small"
605
+ ]
606
+ }, Se = Object.keys(Ze), dr = /* @__PURE__ */ Object.assign(b(X.recipeFn), {
607
+ __recipe__: !0,
608
+ __name__: "iconButton",
609
+ __getCompoundVariantCss__: X.__getCompoundVariantCss__,
610
+ raw: (e) => e,
611
+ variantKeys: Se,
612
+ variantMap: Ze,
613
+ merge(e) {
614
+ return S(this, e);
615
+ },
616
+ splitVariantProps(e) {
617
+ return g(e, Se);
618
+ },
619
+ getVariantProps: X.getVariantProps
620
+ }), Y = /* @__PURE__ */ _("textinput", {
621
+ size: "medium"
622
+ }, []), Je = {
623
+ size: [
624
+ "medium",
625
+ "small",
626
+ "large"
627
+ ],
628
+ autoSize: [
629
+ "true"
630
+ ]
631
+ }, xe = Object.keys(Je), cr = /* @__PURE__ */ Object.assign(b(Y.recipeFn), {
632
+ __recipe__: !0,
633
+ __name__: "textinput",
634
+ __getCompoundVariantCss__: Y.__getCompoundVariantCss__,
635
+ raw: (e) => e,
636
+ variantKeys: xe,
637
+ variantMap: Je,
638
+ merge(e) {
639
+ return S(this, e);
640
+ },
641
+ splitVariantProps(e) {
642
+ return g(e, xe);
643
+ },
644
+ getVariantProps: Y.getVariantProps
645
+ }), K = /* @__PURE__ */ _("textarea", {
646
+ size: "medium"
647
+ }, []), Qe = {
648
+ size: [
649
+ "small",
650
+ "medium",
651
+ "large"
652
+ ],
653
+ autoSize: [
654
+ "true"
655
+ ]
656
+ }, we = Object.keys(Qe), pr = /* @__PURE__ */ Object.assign(b(K.recipeFn), {
657
+ __recipe__: !0,
658
+ __name__: "textarea",
659
+ __getCompoundVariantCss__: K.__getCompoundVariantCss__,
660
+ raw: (e) => e,
661
+ variantKeys: we,
662
+ variantMap: Qe,
663
+ merge(e) {
664
+ return S(this, e);
665
+ },
666
+ splitVariantProps(e) {
667
+ return g(e, we);
668
+ },
669
+ getVariantProps: K.getVariantProps
670
+ }), G = /* @__PURE__ */ _("code", {}, []), et = {}, ve = Object.keys(et), mr = /* @__PURE__ */ Object.assign(b(G.recipeFn), {
671
+ __recipe__: !0,
672
+ __name__: "code",
673
+ __getCompoundVariantCss__: G.__getCompoundVariantCss__,
674
+ raw: (e) => e,
675
+ variantKeys: ve,
676
+ variantMap: et,
677
+ merge(e) {
678
+ return S(this, e);
679
+ },
680
+ splitVariantProps(e) {
681
+ return g(e, ve);
682
+ },
683
+ getVariantProps: G.getVariantProps
684
+ }), H = /* @__PURE__ */ _("pre", {}, []), tt = {}, Ce = Object.keys(tt), gr = /* @__PURE__ */ Object.assign(b(H.recipeFn), {
685
+ __recipe__: !0,
686
+ __name__: "pre",
687
+ __getCompoundVariantCss__: H.__getCompoundVariantCss__,
688
+ raw: (e) => e,
689
+ variantKeys: Ce,
690
+ variantMap: tt,
691
+ merge(e) {
692
+ return S(this, e);
693
+ },
694
+ splitVariantProps(e) {
695
+ return g(e, Ce);
696
+ },
697
+ getVariantProps: H.getVariantProps
698
+ }), q = /* @__PURE__ */ _("spinner", {
699
+ size: "medium"
700
+ }, []), rt = {
701
+ size: [
702
+ "medium",
703
+ "small",
704
+ "large"
705
+ ]
706
+ }, Pe = Object.keys(rt), ur = /* @__PURE__ */ Object.assign(b(q.recipeFn), {
707
+ __recipe__: !0,
708
+ __name__: "spinner",
709
+ __getCompoundVariantCss__: q.__getCompoundVariantCss__,
710
+ raw: (e) => e,
711
+ variantKeys: Pe,
712
+ variantMap: rt,
713
+ merge(e) {
714
+ return S(this, e);
715
+ },
716
+ splitVariantProps(e) {
717
+ return g(e, Pe);
718
+ },
719
+ getVariantProps: q.getVariantProps
720
+ }), $ = /* @__PURE__ */ _("divider", {
721
+ direction: "horizontal",
722
+ weight: "thin"
723
+ }, []), ot = {
724
+ direction: [
725
+ "horizontal",
726
+ "vertical"
727
+ ],
728
+ weight: [
729
+ "thin",
730
+ "medium",
731
+ "thick",
732
+ "thicker"
733
+ ]
734
+ }, Be = Object.keys(ot), br = /* @__PURE__ */ Object.assign(b($.recipeFn), {
735
+ __recipe__: !0,
736
+ __name__: "divider",
737
+ __getCompoundVariantCss__: $.__getCompoundVariantCss__,
738
+ raw: (e) => e,
739
+ variantKeys: Be,
740
+ variantMap: ot,
741
+ merge(e) {
742
+ return S(this, e);
743
+ },
744
+ splitVariantProps(e) {
745
+ return g(e, Be);
746
+ },
747
+ getVariantProps: $.getVariantProps
748
+ }), U = /* @__PURE__ */ _("box", {}, []), nt = {}, Te = Object.keys(nt), hr = /* @__PURE__ */ Object.assign(b(U.recipeFn), {
749
+ __recipe__: !0,
750
+ __name__: "box",
751
+ __getCompoundVariantCss__: U.__getCompoundVariantCss__,
752
+ raw: (e) => e,
753
+ variantKeys: Te,
754
+ variantMap: nt,
755
+ merge(e) {
756
+ return S(this, e);
757
+ },
758
+ splitVariantProps(e) {
759
+ return g(e, Te);
760
+ },
761
+ getVariantProps: U.getVariantProps
762
+ }), at = {}, fr = [], _r = [
763
+ [
764
+ "container",
765
+ "checkbox__container"
766
+ ],
767
+ [
768
+ "input",
769
+ "checkbox__input"
770
+ ],
771
+ [
772
+ "indicator",
773
+ "checkbox__indicator"
774
+ ]
775
+ ], kr = /* @__PURE__ */ _r.map(([e, t]) => [e, _(t, at, Fe(fr, e))]), yr = b((e = {}) => Object.fromEntries(kr.map(([t, r]) => [t, r.recipeFn(e)]))), Ve = [], Sr = (e) => ({ ...at, ...R(e) }), xr = /* @__PURE__ */ Object.assign(yr, {
776
+ __recipe__: !1,
777
+ __name__: "checkbox",
778
+ raw: (e) => e,
779
+ variantKeys: Ve,
780
+ variantMap: {},
781
+ splitVariantProps(e) {
782
+ return g(e, Ve);
783
+ },
784
+ getVariantProps: Sr
785
+ }), it = {}, wr = [], vr = [
786
+ [
787
+ "container",
788
+ "radio__container"
789
+ ],
790
+ [
791
+ "input",
792
+ "radio__input"
793
+ ],
794
+ [
795
+ "indicator",
796
+ "radio__indicator"
797
+ ]
798
+ ], Cr = /* @__PURE__ */ vr.map(([e, t]) => [e, _(t, it, Fe(wr, e))]), Pr = b((e = {}) => Object.fromEntries(Cr.map(([t, r]) => [t, r.recipeFn(e)]))), Re = [], Br = (e) => ({ ...it, ...R(e) }), Tr = /* @__PURE__ */ Object.assign(Pr, {
799
+ __recipe__: !1,
800
+ __name__: "radio",
801
+ raw: (e) => e,
802
+ variantKeys: Re,
803
+ variantMap: {},
804
+ splitVariantProps(e) {
805
+ return g(e, Re);
806
+ },
807
+ getVariantProps: Br
808
+ });
809
+ var Vr = "css,pos,insetX,insetY,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,textShadowColor,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,z,scrollMarginY,scrollMarginX,scrollPaddingY,scrollPaddingX,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,inset,insetInline,insetBlock,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,spaceX,spaceY,outlineWidth,outlineColor,outline,outlineOffset,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,color,fontFamily,fontSize,fontSizeAdjust,fontPalette,fontKerning,fontFeatureSettings,fontWeight,fontSmoothing,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariationSettings,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,listStyle,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,textGradient,gradientFromPosition,gradientToPosition,gradientFrom,gradientTo,gradientVia,gradientViaPosition,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationTimingFunction,animationDuration,animationDelay,animationPlayState,animationComposition,animationFillMode,animationDirection,animationIterationCount,animationRange,animationState,animationRangeStart,animationRangeEnd,animationTimeline,transformOrigin,transformBox,transformStyle,transform,rotate,rotateX,rotateY,rotateZ,scale,scaleX,scaleY,translate,translateX,translateY,translateZ,accentColor,caretColor,scrollBehavior,scrollbar,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollMargin,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,touchAction,userSelect,overflow,overflowWrap,overflowX,overflowY,overflowAnchor,overflowBlock,overflowInline,overflowClipBox,overflowClipMargin,overscrollBehaviorBlock,overscrollBehaviorInline,fill,stroke,strokeWidth,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,container,containerName,containerType,colorPalette,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_default,_optional,_open,_closed,_fullscreen,_loading,_currentPage,_currentStep,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_starting,_error,_hidden,_current,_today,_collapsed,_containerSmall,_containerMedium,_containerLarge,xs,xsOnly,xsDown,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,xsToSm,xsToMd,xsToLg,xsToXl,xsTo2xl,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,@/xs,@/sm,@/md,@/lg,@/xl,@/2xl,@/3xl,@/4xl,@/5xl,@/6xl,@/7xl,@/8xl,textStyle", Rr = Vr.split(","), Ir = "WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,animation,animationComposition,animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,animationRange,animationRangeEnd,animationRangeStart,animationTimingFunction,animationTimeline,appearance,aspectRatio,azimuth,backdropFilter,backfaceVisibility,background,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,blockSize,border,borderBlock,borderBlockColor,borderBlockStyle,borderBlockWidth,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineEnd,borderInlineColor,borderInlineStyle,borderInlineWidth,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,color,colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columnSpan,columnWidth,columns,contain,containIntrinsicSize,containIntrinsicBlockSize,containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicWidth,container,containerName,containerType,content,contentVisibility,counterIncrement,counterReset,counterSet,cursor,direction,display,emptyCells,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,font,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontPalette,fontVariationSettings,fontSize,fontSizeAdjust,fontSmooth,fontStretch,fontStyle,fontSynthesis,fontSynthesisPosition,fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariantEastAsian,fontVariantEmoji,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,fontWeight,forcedColorAdjust,gap,grid,gridArea,gridAutoColumns,gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inputSecurity,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,mask,maskBorder,maskBorderMode,maskBorderOutset,maskBorderRepeat,maskBorderSlice,maskBorderSource,maskBorderWidth,maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskRepeat,maskSize,maskType,masonryAutoFlow,mathDepth,mathShift,mathStyle,maxBlockSize,maxHeight,maxInlineSize,maxLines,maxWidth,minBlockSize,minHeight,minInlineSize,minWidth,mixBlendMode,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,opacity,order,orphans,outline,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowBlock,overflowClipBox,overflowClipMargin,overflowInline,overflowWrap,overflowX,overflowY,overlay,overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,pageBreakInside,paintOrder,perspective,perspectiveOrigin,placeContent,placeItems,placeSelf,pointerEvents,position,printColorAdjust,quotes,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,scale,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockStart,scrollMarginBlockEnd,scrollMarginBottom,scrollMarginInline,scrollMarginInlineStart,scrollMarginInlineEnd,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineStart,scrollPaddingInlineEnd,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,shapeImageThreshold,shapeMargin,shapeOutside,tabSize,tableLayout,textAlign,textAlignLast,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,zIndex,zoom,alignmentBaseline,baselineShift,clipRule,colorInterpolation,colorRendering,dominantBaseline,fill,fillOpacity,fillRule,floodColor,floodOpacity,glyphOrientationVertical,lightingColor,marker,markerEnd,markerMid,markerStart,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,textAnchor,vectorEffect", Mr = Ir.split(",").concat(Rr), Er = new Map(Mr.map((e) => [e, !0])), Or = /&|@/, se = /* @__PURE__ */ b((e) => Er.has(e) || e.startsWith("--") || Or.test(e));
810
+ const Wr = (e) => g(e, se), jr = (e, t) => !t.includes(e) && !se(e), Fr = (e, t) => e.__shouldForwardProps__ && t ? (r) => e.__shouldForwardProps__(r) && t(r) : t, zr = (e, t) => {
811
+ var o;
812
+ if (e && !t) return e;
813
+ if (!e && t) return t;
814
+ if (e.__cva__ && t.__cva__ || e.__recipe__ && t.__recipe__) return e.merge(t);
815
+ const r = new TypeError("Cannot merge cva with recipe. Please use either cva or recipe.");
816
+ throw (o = TypeError.captureStackTrace) == null || o.call(TypeError, r), r;
817
+ }, Lr = (e) => typeof e == "string" ? e : (e == null ? void 0 : e.displayName) || (e == null ? void 0 : e.name) || "Component";
818
+ function Z(e, t = {}, r = {}) {
819
+ const o = t.__cva__ || t.__recipe__ ? t : Ke(t), n = r.shouldForwardProp || jr, a = (u) => n(u, o.variantKeys), i = Object.assign(
820
+ r.dataAttr && t.__name__ ? { "data-recipe": t.__name__ } : {},
821
+ r.defaultProps
822
+ ), s = zr(e.__cva__, o), d = Fr(e, a), c = e.__base__ || e, l = /* @__PURE__ */ te(function(f, w) {
823
+ const { as: v = c, children: V, ...P } = f, x = ce(() => Object.assign({}, i, P), [P]), [ut, bt, O, le, ht] = ce(() => g(x, Q.keys, d, s.variantKeys, se), [x]);
824
+ function ft() {
825
+ var de;
826
+ const { css: W, ...j } = le, F = (de = s.__getCompoundVariantCss__) == null ? void 0 : de.call(s, O);
827
+ return h(s(O, !1), T(F, j, W), x.className);
828
+ }
829
+ function _t() {
830
+ const { css: W, ...j } = le, F = s.raw(O);
831
+ return h(T(F, j, W), x.className);
832
+ }
833
+ const kt = t.__recipe__ ? ft : _t;
834
+ return M(v, {
835
+ ref: w,
836
+ ...bt,
837
+ ...ht,
838
+ ...Q(ut),
839
+ className: kt()
840
+ }, x.children ?? V);
841
+ }), m = Lr(c);
842
+ return l.displayName = `styled.${m}`, l.__cva__ = s, l.__base__ = c, l.__shouldForwardProps__ = a, l;
843
+ }
844
+ function Ar() {
845
+ const e = /* @__PURE__ */ new Map();
846
+ return new Proxy(Z, {
847
+ apply(t, r, o) {
848
+ return Z(...o);
849
+ },
850
+ get(t, r) {
851
+ return e.has(r) || e.set(r, Z(r)), e.get(r);
852
+ }
853
+ });
854
+ }
855
+ const st = /* @__PURE__ */ Ar(), Ie = {
856
+ transform(e) {
857
+ const { size: t, ...r } = e;
858
+ return {
859
+ width: t,
860
+ height: t,
861
+ ...r
862
+ };
863
+ }
864
+ }, lt = (e = {}) => {
865
+ const t = ie(Ie, e);
866
+ return Ie.transform(t, ae);
867
+ }, dt = (e) => T(lt(e));
868
+ dt.raw = lt;
869
+ const Me = {
870
+ transform(e) {
871
+ const { justify: t, gap: r, ...o } = e;
872
+ return {
873
+ display: "flex",
874
+ alignItems: "center",
875
+ justifyContent: t,
876
+ gap: r,
877
+ flexDirection: "row",
878
+ ...o
879
+ };
880
+ },
881
+ defaultValues: { gap: "10px" }
882
+ }, Dr = (e = {}) => {
883
+ const t = ie(Me, e);
884
+ return Me.transform(t, ae);
885
+ }, Nr = /* @__PURE__ */ te(function(t, r) {
886
+ const [o, n] = g(t, ["justify", "gap"]), a = Dr(o), i = { ref: r, ...a, ...n };
887
+ return M(st.div, i);
888
+ }), Ee = {
889
+ transform(e, { map: t, isCssUnit: r }) {
890
+ const { columnGap: o, rowGap: n, gap: a, columns: i, minChildWidth: s, ...d } = e, c = (l) => r(l) ? l : `token(sizes.${l}, ${l})`;
891
+ return {
892
+ display: "grid",
893
+ gridTemplateColumns: i != null ? t(i, (l) => `repeat(${l}, minmax(0, 1fr))`) : s != null ? t(s, (l) => `repeat(auto-fit, minmax(${c(l)}, 1fr))`) : void 0,
894
+ gap: a,
895
+ columnGap: o,
896
+ rowGap: n,
897
+ ...d
898
+ };
899
+ },
900
+ defaultValues(e) {
901
+ return { gap: e.columnGap || e.rowGap ? void 0 : "10px" };
902
+ }
903
+ }, Xr = (e = {}) => {
904
+ const t = ie(Ee, e);
905
+ return Ee.transform(t, ae);
906
+ }, Yr = /* @__PURE__ */ te(function(t, r) {
907
+ const [o, n] = g(t, ["gap", "columnGap", "rowGap", "columns", "minChildWidth"]), a = Xr(o), i = { ref: r, ...a, ...n };
908
+ return M(st.div, i);
909
+ }), k = (e) => {
910
+ const [t, r] = Wr(e), { css: o, ...n } = t;
911
+ return [T(o, n), r];
912
+ }, y = ({ as: e = "div", ...t }) => {
913
+ const [r, o] = k(t), n = h(hr({}), r);
914
+ return M(e, {
915
+ className: n,
916
+ ...o
917
+ });
918
+ }, ct = ({
919
+ as: e = "p",
920
+ family: t,
921
+ italic: r,
922
+ bold: o,
923
+ underline: n,
924
+ size: a,
925
+ children: i,
926
+ textStyle: s,
927
+ weight: d,
928
+ ...c
929
+ }) => {
930
+ const [l, m] = k(c);
931
+ return /* @__PURE__ */ p(
932
+ y,
933
+ {
934
+ as: e,
935
+ className: h(
936
+ nr({ textStyle: s, family: t, bold: o, underline: n, italic: r, size: a, weight: d }),
937
+ l
938
+ ),
939
+ ...m,
940
+ children: i
941
+ }
942
+ );
943
+ }, Kr = ({
944
+ size: e,
945
+ ...t
946
+ }) => {
947
+ const [r, o] = k(t);
948
+ return /* @__PURE__ */ p(
949
+ y,
950
+ {
951
+ as: "div",
952
+ className: h(ur({ size: e }), r),
953
+ ...o
954
+ }
955
+ );
956
+ }, pt = ({
957
+ loading: e = !1,
958
+ children: t
959
+ }) => /* @__PURE__ */ E(wt, { children: [
960
+ /* @__PURE__ */ p(Nr, { gap: "4", opacity: e ? 0 : 1, children: t }),
961
+ e && /* @__PURE__ */ p(
962
+ Yr,
963
+ {
964
+ position: "absolute",
965
+ top: "0",
966
+ left: "0",
967
+ right: "0",
968
+ bottom: "0",
969
+ placeItems: "center",
970
+ children: /* @__PURE__ */ p(Kr, {})
971
+ }
972
+ )
973
+ ] }), Qr = ({
974
+ variant: e,
975
+ size: t,
976
+ href: r,
977
+ children: o,
978
+ loading: n,
979
+ disabled: a,
980
+ type: i = "button",
981
+ ...s
982
+ }) => {
983
+ const d = n || a, [c, l] = k(s);
984
+ return /* @__PURE__ */ p(
985
+ y,
986
+ {
987
+ as: r ? "a" : "button",
988
+ disabled: d,
989
+ "aria-disabled": d,
990
+ className: h(lr({ variant: e, size: t }), c),
991
+ ...r ? { href: r } : { type: i },
992
+ ...l,
993
+ children: /* @__PURE__ */ p(pt, { loading: !!n, children: o })
994
+ }
995
+ );
996
+ }, Gr = ({
997
+ variant: e,
998
+ size: t,
999
+ href: r,
1000
+ children: o,
1001
+ loading: n,
1002
+ disabled: a,
1003
+ type: i = "button",
1004
+ ...s
1005
+ }) => {
1006
+ const d = n || a, [c, l] = k(s);
1007
+ return /* @__PURE__ */ p(
1008
+ y,
1009
+ {
1010
+ as: r ? "a" : "button",
1011
+ disabled: d,
1012
+ "aria-disabled": d,
1013
+ className: h(dr({ variant: e, size: t }), c),
1014
+ ...r ? { href: r } : { type: i },
1015
+ ...l,
1016
+ ...d && r && {
1017
+ onClick: (m) => m.preventDefault()
1018
+ },
1019
+ children: /* @__PURE__ */ p(pt, { loading: !!n, children: o })
1020
+ }
1021
+ );
1022
+ }, C = ({
1023
+ name: e,
1024
+ size: t = "24",
1025
+ fill: r = "current",
1026
+ ...o
1027
+ }) => {
1028
+ const [n, a] = k(o);
1029
+ return /* @__PURE__ */ p(
1030
+ y,
1031
+ {
1032
+ as: "svg",
1033
+ name: e,
1034
+ viewBox: "0 0 24 24",
1035
+ xmlns: "http://www.w3.org/2000/svg",
1036
+ className: h(dt({ size: t, fill: r }), n),
1037
+ ...a,
1038
+ children: /* @__PURE__ */ p("use", { xlinkHref: `/sprite.svg#${e}` })
1039
+ }
1040
+ );
1041
+ }, eo = {
1042
+ "aa-placeholder": "aa-placeholder",
1043
+ alarm: "alarm",
1044
+ apps: "apps",
1045
+ "arrow-down": "arrow-down",
1046
+ "arrow-drop-down": "arrow-drop-down",
1047
+ "arrow-drop-up": "arrow-drop-up",
1048
+ "arrow-left": "arrow-left",
1049
+ "arrow-line-down": "arrow-line-down",
1050
+ "arrow-line-left": "arrow-line-left",
1051
+ "arrow-line-right": "arrow-line-right",
1052
+ "arrow-line-up": "arrow-line-up",
1053
+ "arrow-prompt": "arrow-prompt",
1054
+ "arrow-redo": "arrow-redo",
1055
+ "arrow-right": "arrow-right",
1056
+ "arrow-square-in": "arrow-square-in",
1057
+ "arrow-square-out": "arrow-square-out",
1058
+ "arrow-undo": "arrow-undo",
1059
+ "arrow-up": "arrow-up",
1060
+ "arrows-down-up": "arrows-down-up",
1061
+ "arrows-left-right": "arrows-left-right",
1062
+ at: "at",
1063
+ attachment: "attachment",
1064
+ "barcode-reader": "barcode-reader",
1065
+ barcode: "barcode",
1066
+ basket: "basket",
1067
+ "bell-active": "bell-active",
1068
+ "bell-slash": "bell-slash",
1069
+ bell: "bell",
1070
+ bin: "bin",
1071
+ "bookmark-outlined": "bookmark-outlined",
1072
+ bookmark: "bookmark",
1073
+ bookmarks: "bookmarks",
1074
+ Building: "Building",
1075
+ "calendar-add": "calendar-add",
1076
+ "calendar-view-day": "calendar-view-day",
1077
+ "calendar-view-month": "calendar-view-month",
1078
+ "calendar-view-week": "calendar-view-week",
1079
+ calendar: "calendar",
1080
+ "caret-down": "caret-down",
1081
+ "caret-left": "caret-left",
1082
+ "caret-right": "caret-right",
1083
+ "caret-up": "caret-up",
1084
+ cart: "cart",
1085
+ "check-thick": "check-thick",
1086
+ check: "check",
1087
+ "checkbox-checked": "checkbox-checked",
1088
+ "checkbox-focus": "checkbox-focus",
1089
+ "checkbox-indeterminate": "checkbox-indeterminate",
1090
+ checkbox: "checkbox",
1091
+ "circle-check": "circle-check",
1092
+ circle: "circle",
1093
+ "circles-add": "circles-add",
1094
+ clipboard: "clipboard",
1095
+ "clock-countdown": "clock-countdown",
1096
+ clock: "clock",
1097
+ "cloud-synced": "cloud-synced",
1098
+ code: "code",
1099
+ color: "color",
1100
+ copy: "copy",
1101
+ "credit-card": "credit-card",
1102
+ cut: "cut",
1103
+ database: "database",
1104
+ devices: "devices",
1105
+ dictionary: "dictionary",
1106
+ dots: "dots",
1107
+ "download-cloud": "download-cloud",
1108
+ download: "download",
1109
+ dragger: "dragger",
1110
+ edit: "edit",
1111
+ encrypted: "encrypted",
1112
+ envelope: "envelope",
1113
+ equal: "equal",
1114
+ eraser: "eraser",
1115
+ error: "error",
1116
+ "event-list": "event-list",
1117
+ export: "export",
1118
+ extension: "extension",
1119
+ "eye-slash": "eye-slash",
1120
+ eye: "eye",
1121
+ "file-add": "file-add",
1122
+ file: "file",
1123
+ files: "files",
1124
+ "filter-remove": "filter-remove",
1125
+ filter: "filter",
1126
+ finish: "finish",
1127
+ flag: "flag",
1128
+ forklift: "forklift",
1129
+ garage: "garage",
1130
+ globe: "globe",
1131
+ hash: "hash",
1132
+ "heart-outlined": "heart-outlined",
1133
+ heart: "heart",
1134
+ help: "help",
1135
+ history: "history",
1136
+ home: "home",
1137
+ image: "image",
1138
+ images: "images",
1139
+ inbox: "inbox",
1140
+ infinity: "infinity",
1141
+ info: "info",
1142
+ inventory: "inventory",
1143
+ invoice: "invoice",
1144
+ "jump-back": "jump-back",
1145
+ "jump-forward": "jump-forward",
1146
+ "kbd-backspace": "kbd-backspace",
1147
+ "kbd-capslock": "kbd-capslock",
1148
+ "kbd-command": "kbd-command",
1149
+ "kbd-control": "kbd-control",
1150
+ "kbd-hide": "kbd-hide",
1151
+ "kbd-option": "kbd-option",
1152
+ "kbd-return": "kbd-return",
1153
+ "kbd-shift": "kbd-shift",
1154
+ "kbd-space": "kbd-space",
1155
+ kbd: "kbd",
1156
+ "link-slash": "link-slash",
1157
+ link: "link",
1158
+ "list-bullets": "list-bullets",
1159
+ "list-checks": "list-checks",
1160
+ "list-numbers": "list-numbers",
1161
+ "lock-open": "lock-open",
1162
+ lock: "lock",
1163
+ "map-pin": "map-pin",
1164
+ "mark-unread": "mark-unread",
1165
+ "menu-close": "menu-close",
1166
+ menu: "menu",
1167
+ message: "message",
1168
+ messages: "messages",
1169
+ "minus-thick": "minus-thick",
1170
+ minus: "minus",
1171
+ money: "money",
1172
+ monitor: "monitor",
1173
+ moon: "moon",
1174
+ note: "note",
1175
+ nut: "nut",
1176
+ order: "order",
1177
+ package: "package",
1178
+ "page-first": "page-first",
1179
+ "page-last": "page-last",
1180
+ parts: "parts",
1181
+ password: "password",
1182
+ pause: "pause",
1183
+ pencil: "pencil",
1184
+ percent: "percent",
1185
+ "play-pause": "play-pause",
1186
+ play: "play",
1187
+ plus: "plus",
1188
+ printer: "printer",
1189
+ prohibit: "prohibit",
1190
+ "question-mark": "question-mark",
1191
+ quote: "quote",
1192
+ "radio-checked": "radio-checked",
1193
+ "radio-focus": "radio-focus",
1194
+ radio: "radio",
1195
+ receipt: "receipt",
1196
+ refresh: "refresh",
1197
+ repeat: "repeat",
1198
+ "reply-all": "reply-all",
1199
+ reply: "reply",
1200
+ ribbon: "ribbon",
1201
+ "rows-add": "rows-add",
1202
+ rules: "rules",
1203
+ "search-items": "search-items",
1204
+ search: "search",
1205
+ send: "send",
1206
+ settings: "settings",
1207
+ share: "share",
1208
+ shuffle: "shuffle",
1209
+ "skip-back": "skip-back",
1210
+ "skip-forward": "skip-forward",
1211
+ skull: "skull",
1212
+ sliders: "sliders",
1213
+ "sort-alpha-down": "sort-alpha-down",
1214
+ "sort-alpha-up": "sort-alpha-up",
1215
+ "sort-ascending": "sort-ascending",
1216
+ "sort-descending": "sort-descending",
1217
+ "sort-time-down": "sort-time-down",
1218
+ "sort-time-up": "sort-time-up",
1219
+ "square-add": "square-add",
1220
+ square: "square",
1221
+ stamp: "stamp",
1222
+ "star-outlined": "star-outlined",
1223
+ star: "star",
1224
+ start: "start",
1225
+ stop: "stop",
1226
+ success: "success",
1227
+ sun: "sun",
1228
+ support: "support",
1229
+ sync: "sync",
1230
+ tag: "tag",
1231
+ target: "target",
1232
+ "text-add": "text-add",
1233
+ "time-add": "time-add",
1234
+ timer: "timer",
1235
+ toolbox: "toolbox",
1236
+ tools: "tools",
1237
+ trash: "trash",
1238
+ trophy: "trophy",
1239
+ "truck-trailer": "truck-trailer",
1240
+ update: "update",
1241
+ "upload-cloud": "upload-cloud",
1242
+ upload: "upload",
1243
+ "user-add": "user-add",
1244
+ "user-details": "user-details",
1245
+ "user-group": "user-group",
1246
+ "user-id-badge": "user-id-badge",
1247
+ "user-id-card": "user-id-card",
1248
+ user: "user",
1249
+ verified: "verified",
1250
+ video: "video",
1251
+ "view-cards": "view-cards",
1252
+ "view-doc": "view-doc",
1253
+ "view-grid": "view-grid",
1254
+ "view-rows": "view-rows",
1255
+ "view-table": "view-table",
1256
+ warning: "warning",
1257
+ "work-order": "work-order",
1258
+ x: "x"
1259
+ }, Hr = ({
1260
+ lang: e,
1261
+ children: t,
1262
+ ...r
1263
+ }) => {
1264
+ const [o, n] = k(r);
1265
+ return /* @__PURE__ */ p(
1266
+ y,
1267
+ {
1268
+ as: "code",
1269
+ className: h(
1270
+ mr({}),
1271
+ o
1272
+ ),
1273
+ lang: e,
1274
+ ...n,
1275
+ children: /* @__PURE__ */ p(ct, { color: "slate.0", children: t })
1276
+ }
1277
+ );
1278
+ }, to = ({
1279
+ children: e,
1280
+ lang: t,
1281
+ ...r
1282
+ }) => {
1283
+ const [o, n] = k(r);
1284
+ return /* @__PURE__ */ p(
1285
+ y,
1286
+ {
1287
+ as: "pre",
1288
+ className: h(
1289
+ gr({}),
1290
+ o
1291
+ ),
1292
+ ...n,
1293
+ children: /* @__PURE__ */ p(Hr, { lang: t, slot: "react", bg: "transparent", ...n, children: e })
1294
+ }
1295
+ );
1296
+ }, ro = ({
1297
+ level: e = "h2",
1298
+ children: t,
1299
+ ...r
1300
+ }) => {
1301
+ const [o, n] = k(r);
1302
+ return /* @__PURE__ */ p(
1303
+ ct,
1304
+ {
1305
+ as: e,
1306
+ className: h(
1307
+ ar({ level: e }),
1308
+ o
1309
+ ),
1310
+ ...n,
1311
+ children: t
1312
+ }
1313
+ );
1314
+ }, oo = ({
1315
+ href: e,
1316
+ external: t,
1317
+ disabled: r,
1318
+ children: o,
1319
+ size: n,
1320
+ family: a,
1321
+ weight: i,
1322
+ italic: s,
1323
+ bold: d,
1324
+ ...c
1325
+ }) => {
1326
+ const [l, m] = k(c);
1327
+ return /* @__PURE__ */ E(
1328
+ y,
1329
+ {
1330
+ as: "a",
1331
+ href: e,
1332
+ target: t ? "_blank" : void 0,
1333
+ rel: t ? "noopener noreferrer" : void 0,
1334
+ "aria-disabled": r,
1335
+ className: h(
1336
+ ir({ family: a, italic: s, bold: d, size: n, weight: i }),
1337
+ l
1338
+ ),
1339
+ ...m,
1340
+ children: [
1341
+ o,
1342
+ t && /* @__PURE__ */ p(C, { name: "arrow-square-out", size: "20" })
1343
+ ]
1344
+ }
1345
+ );
1346
+ }, no = ({
1347
+ direction: e,
1348
+ weight: t,
1349
+ ...r
1350
+ }) => {
1351
+ const [o, n] = k(r);
1352
+ return /* @__PURE__ */ p(
1353
+ y,
1354
+ {
1355
+ as: "div",
1356
+ className: h(br({ direction: e, weight: t }), o),
1357
+ ...n
1358
+ }
1359
+ );
1360
+ }, mt = ({
1361
+ htmlFor: e,
1362
+ children: t,
1363
+ ...r
1364
+ }) => {
1365
+ const [o, n] = k(r);
1366
+ return /* @__PURE__ */ p(
1367
+ y,
1368
+ {
1369
+ htmlFor: e,
1370
+ as: "label",
1371
+ className: h(
1372
+ sr({}),
1373
+ o
1374
+ ),
1375
+ ...n,
1376
+ children: t
1377
+ }
1378
+ );
1379
+ }, ao = ({
1380
+ indeterminate: e,
1381
+ error: t,
1382
+ ...r
1383
+ }) => {
1384
+ const { container: o, input: n, indicator: a } = xr({});
1385
+ return /* @__PURE__ */ E(mt, { className: o, children: [
1386
+ /* @__PURE__ */ p(
1387
+ y,
1388
+ {
1389
+ as: "input",
1390
+ type: "checkbox",
1391
+ className: n,
1392
+ ...r,
1393
+ ...e && { "data-indeterminate": !0 },
1394
+ ...t && { "data-error": !0 }
1395
+ }
1396
+ ),
1397
+ /* @__PURE__ */ p(C, { className: a, name: "checkbox" }),
1398
+ /* @__PURE__ */ p(C, { className: a, name: "checkbox-checked" }),
1399
+ /* @__PURE__ */ p(C, { className: a, name: "checkbox-indeterminate" }),
1400
+ /* @__PURE__ */ p(C, { className: a, name: "checkbox-focus" })
1401
+ ] });
1402
+ }, io = ({ error: e, ...t }) => {
1403
+ const { container: r, input: o, indicator: n } = Tr({});
1404
+ return /* @__PURE__ */ E(mt, { className: r, children: [
1405
+ /* @__PURE__ */ p(
1406
+ y,
1407
+ {
1408
+ as: "input",
1409
+ type: "radio",
1410
+ className: o,
1411
+ ...t,
1412
+ ...e && { "data-error": !0 }
1413
+ }
1414
+ ),
1415
+ /* @__PURE__ */ p(C, { className: n, name: "radio" }),
1416
+ /* @__PURE__ */ p(C, { className: n, name: "radio-checked" }),
1417
+ /* @__PURE__ */ p(C, { className: n, name: "radio-focus" })
1418
+ ] });
1419
+ }, so = ({
1420
+ size: e,
1421
+ error: t,
1422
+ autoSize: r = !1,
1423
+ ...o
1424
+ }) => {
1425
+ const [n, a] = k(o);
1426
+ return /* @__PURE__ */ p(
1427
+ y,
1428
+ {
1429
+ as: "input",
1430
+ ...t && { "data-error": !0 },
1431
+ className: h(
1432
+ cr({ size: e, autoSize: r }),
1433
+ n
1434
+ ),
1435
+ ...a
1436
+ }
1437
+ );
1438
+ }, qr = ({
1439
+ size: e,
1440
+ error: t,
1441
+ autoSize: r = !1,
1442
+ ...o
1443
+ }) => {
1444
+ const [n, a] = k(o);
1445
+ return /* @__PURE__ */ p(
1446
+ y,
1447
+ {
1448
+ as: "textarea",
1449
+ ...t && { "data-error": !0 },
1450
+ className: h(
1451
+ pr({ size: e, autoSize: r }),
1452
+ n
1453
+ ),
1454
+ ...a
1455
+ }
1456
+ );
1457
+ };
1458
+ qr.displayName = "Textarea";
1459
+ function $r() {
1460
+ return window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
1461
+ }
1462
+ const gt = yt(void 0);
1463
+ function lo({ children: e }) {
1464
+ const [t, r] = St(() => $r()), o = (n) => {
1465
+ r(n);
1466
+ };
1467
+ return pe(() => {
1468
+ document.documentElement.removeAttribute("data-color-mode"), document.documentElement.removeAttribute("data-theme"), document.documentElement.setAttribute("data-color-mode", t);
1469
+ }, [t]), pe(() => {
1470
+ const n = window.matchMedia("(prefers-color-scheme: dark)"), a = (i) => {
1471
+ r(i.matches ? "dark" : "light");
1472
+ };
1473
+ return n.addEventListener("change", a), () => n.removeEventListener("change", a);
1474
+ }, []), /* @__PURE__ */ p(gt.Provider, { value: { theme: t, setTheme: o }, children: e });
1475
+ }
1476
+ function Ur() {
1477
+ const e = xt(gt);
1478
+ if (e === void 0)
1479
+ throw new Error("useTheme must be used within a ThemeProvider");
1480
+ return e;
1481
+ }
1482
+ const co = ({}) => {
1483
+ const { theme: e, setTheme: t } = Ur();
1484
+ return /* @__PURE__ */ p(
1485
+ Gr,
1486
+ {
1487
+ variant: "ghost",
1488
+ onClick: () => {
1489
+ t(e === "light" ? "dark" : "light");
1490
+ },
1491
+ "aria-label": `Switch to ${e === "light" ? "dark" : "light"} theme`,
1492
+ children: /* @__PURE__ */ p(C, { name: e === "light" ? "moon" : "sun" })
1493
+ }
1494
+ );
1495
+ };
1496
+ export {
1497
+ y as Box,
1498
+ Qr as Button,
1499
+ ao as CheckBox,
1500
+ no as Divider,
1501
+ ro as Heading,
1502
+ C as Icon,
1503
+ Gr as IconButton,
1504
+ eo as IconNames,
1505
+ oo as Link,
1506
+ to as Pre,
1507
+ io as Radio,
1508
+ Kr as Spinner,
1509
+ ct as Text,
1510
+ so as TextInput,
1511
+ qr as Textarea,
1512
+ lo as ThemeProvider,
1513
+ co as ThemeSwitcher
1514
+ };