cetec-design-system 0.0.26 → 0.0.28

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 (51) hide show
  1. package/dist/cetec-design-system.es.js +1516 -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/CheckboxInput/CheckboxInput.d.ts +8 -0
  10. package/dist/components/CheckboxInput/index.d.ts +1 -0
  11. package/dist/components/Code/Code.d.ts +8 -0
  12. package/dist/components/Code/Pre.d.ts +7 -0
  13. package/dist/components/Code/index.d.ts +2 -0
  14. package/dist/components/Divider/Divider.d.ts +7 -0
  15. package/dist/components/Divider/index.d.ts +1 -0
  16. package/dist/components/Heading/Heading.d.ts +7 -0
  17. package/dist/components/Heading/index.d.ts +1 -0
  18. package/dist/components/Icon/Icon.d.ts +14 -0
  19. package/dist/components/Icon/index.d.ts +3 -0
  20. package/dist/components/IconButton/IconButton.d.ts +19 -0
  21. package/dist/components/IconButton/index.d.ts +1 -0
  22. package/dist/components/Input/Input.d.ts +10 -0
  23. package/dist/components/Input/index.d.ts +1 -0
  24. package/dist/components/Label/Label.d.ts +7 -0
  25. package/dist/components/Label/index.d.ts +1 -0
  26. package/dist/components/Link/Link.d.ts +16 -0
  27. package/dist/components/Link/index.d.ts +1 -0
  28. package/dist/components/PandaPatterns.d.ts +1 -0
  29. package/dist/components/Radio/Radio.d.ts +7 -0
  30. package/dist/components/Radio/index.d.ts +1 -0
  31. package/dist/components/RadioInput/RadioInput.d.ts +9 -0
  32. package/dist/components/RadioInput/index.d.ts +1 -0
  33. package/dist/components/Slot.d.ts +4 -0
  34. package/dist/components/Spinner/Spinner.d.ts +4 -0
  35. package/dist/components/Spinner/index.d.ts +1 -0
  36. package/dist/components/Text/Text.d.ts +8 -0
  37. package/dist/components/Text/Text.stories.d.ts +7 -0
  38. package/dist/components/Text/index.d.ts +1 -0
  39. package/dist/components/TextInput/TextInput.d.ts +6 -0
  40. package/dist/components/TextInput/index.d.ts +1 -0
  41. package/dist/components/Textarea/Textarea.d.ts +8 -0
  42. package/dist/components/Textarea/index.d.ts +1 -0
  43. package/dist/components/ThemeSwitcher/ThemeSwitcher.d.ts +1 -0
  44. package/dist/components/ThemeSwitcher/index.d.ts +1 -0
  45. package/dist/components/Toggle/Toggle.d.ts +8 -0
  46. package/dist/components/Toggle/index.d.ts +1 -0
  47. package/dist/components/ToggleInput/ToggleInput.d.ts +8 -0
  48. package/dist/components/ToggleInput/index.d.ts +1 -0
  49. package/package.json +1 -1
  50. package/dist/cetec-components.css +0 -1
  51. package/dist/cetec-components.es.js +0 -26960
@@ -0,0 +1,1516 @@
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-/, Nt = b((e) => e.startsWith("--") ? e : e.replace(Lt, "-$1").replace(At, "-ms-").toLowerCase()), Dt = ["min", "max", "clamp", "calc"], Xt = new RegExp(`^(${Dt.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 Ne(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", De = /* @__PURE__ */ new Map(), Xe = /* @__PURE__ */ new Map();
190
+ tr.split(",").forEach((e) => {
191
+ const [t, r] = e.split(":"), [o, ...n] = r.split("/");
192
+ De.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: Ne,
199
+ finalize: Ae,
200
+ breakpoints: { keys: ["base", "xs", "sm", "md", "lg", "xl", "2xl"] }
201
+ },
202
+ utility: {
203
+ prefix: "Cetec",
204
+ transform: (e, t) => {
205
+ const r = ue(e);
206
+ return { className: `${De.get(r) || Nt(r)}_${re(t)}` };
207
+ },
208
+ hasShorthand: !0,
209
+ toHash: (e, t) => t(e.join(":")),
210
+ resolveShorthand: ue
211
+ }
212
+ }, rr = je(Ye), T = (...e) => rr(B(...e));
213
+ T.raw = (...e) => B(...e);
214
+ const { mergeCss: B } = zt(Ye), be = (e) => ({
215
+ base: {},
216
+ variants: {},
217
+ defaultVariants: {},
218
+ compoundVariants: [],
219
+ ...e
220
+ });
221
+ function Ke(e) {
222
+ const { base: t, variants: r, defaultVariants: o, compoundVariants: n } = be(e), a = (u) => ({ ...o, ...R(u) });
223
+ function i(u = {}) {
224
+ var V;
225
+ const f = a(u);
226
+ let w = { ...t };
227
+ for (const [P, x] of Object.entries(f))
228
+ (V = r[P]) != null && V[x] && (w = B(w, r[P][x]));
229
+ const v = ee(n, f);
230
+ return B(w, v);
231
+ }
232
+ function s(u) {
233
+ const f = be(u.config), w = J(u.variantKeys, Object.keys(r));
234
+ return Ke({
235
+ base: B(t, f.base),
236
+ variants: Object.fromEntries(
237
+ w.map((v) => [v, B(r[v], f.variants[v])])
238
+ ),
239
+ defaultVariants: oe(o, f.defaultVariants),
240
+ compoundVariants: [...n, ...f.compoundVariants]
241
+ });
242
+ }
243
+ function d(u) {
244
+ return T(i(u));
245
+ }
246
+ const c = Object.keys(r);
247
+ function l(u) {
248
+ return g(u, c);
249
+ }
250
+ const m = Object.fromEntries(Object.entries(r).map(([u, f]) => [u, Object.keys(f)]));
251
+ return Object.assign(b(d), {
252
+ __cva__: !0,
253
+ variantMap: m,
254
+ variantKeys: c,
255
+ raw: i,
256
+ config: e,
257
+ merge: s,
258
+ splitVariantProps: l,
259
+ getVariantProps: a
260
+ });
261
+ }
262
+ function ee(e, t) {
263
+ let r = {};
264
+ return e.forEach((o) => {
265
+ Object.entries(o).every(([a, i]) => a === "css" ? !0 : (Array.isArray(i) ? i : [i]).some((d) => t[a] === d)) && (r = B(r, o.css));
266
+ }), r;
267
+ }
268
+ function or(e, t, r, o) {
269
+ if (t.length > 0 && typeof (r == null ? void 0 : r[o]) == "object")
270
+ throw new Error(`[recipe:${e}:${o}] Conditions are not supported when using compound variants.`);
271
+ }
272
+ function h() {
273
+ let e = "", t = 0, r;
274
+ for (; t < arguments.length; )
275
+ (r = arguments[t++]) && typeof r == "string" && (e && (e += " "), e += r);
276
+ return e;
277
+ }
278
+ const _ = (e, t, r) => {
279
+ const o = (a) => ({
280
+ [e]: "__ignore__",
281
+ ...t,
282
+ ...R(a)
283
+ });
284
+ return {
285
+ recipeFn: (a, i = !0) => {
286
+ const d = je({
287
+ conditions: {
288
+ shift: Ne,
289
+ finalize: Ae,
290
+ breakpoints: { keys: ["base", "xs", "sm", "md", "lg", "xl", "2xl"] }
291
+ },
292
+ utility: {
293
+ prefix: "Cetec",
294
+ toHash: (l, m) => m(l.join(":")),
295
+ transform: (l, m) => (or(e, r, a, l), m === "__ignore__" ? { className: e } : (m = re(m), { className: `${e}--${l}_${m}` }))
296
+ }
297
+ }), c = o(a);
298
+ if (i) {
299
+ const l = ee(r, c);
300
+ return h(d(c), T(l));
301
+ }
302
+ return d(c);
303
+ },
304
+ getVariantProps: o,
305
+ __getCompoundVariantCss__: (a) => ee(r, o(a))
306
+ };
307
+ }, S = (e, t) => {
308
+ if (e && !t) return e;
309
+ if (!e && t) return t;
310
+ 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), {});
311
+ return Object.assign(r, {
312
+ __recipe__: !0,
313
+ __name__: `${e.__name__} ${t.__name__}`,
314
+ raw: (a) => a,
315
+ variantKeys: o,
316
+ variantMap: n,
317
+ splitVariantProps(a) {
318
+ return g(a, o);
319
+ }
320
+ });
321
+ }, z = /* @__PURE__ */ _("text", {
322
+ textStyle: "body-md"
323
+ }, []), Ge = {
324
+ textStyle: [
325
+ "display-lg",
326
+ "display-md",
327
+ "display-sm",
328
+ "display-xs",
329
+ "heading-lg",
330
+ "heading-md",
331
+ "heading-sm",
332
+ "heading-xs",
333
+ "body-lg",
334
+ "body-md",
335
+ "body-sm",
336
+ "body-xs",
337
+ "mono-lg",
338
+ "mono-md",
339
+ "mono-sm",
340
+ "mono-xs"
341
+ ],
342
+ family: [
343
+ "heading",
344
+ "body",
345
+ "mono"
346
+ ],
347
+ bold: [
348
+ "true"
349
+ ],
350
+ italic: [
351
+ "true"
352
+ ],
353
+ underline: [
354
+ "true"
355
+ ],
356
+ size: [
357
+ "12",
358
+ "14",
359
+ "16",
360
+ "20",
361
+ "24",
362
+ "32",
363
+ "40",
364
+ "48",
365
+ "64",
366
+ "72",
367
+ "80",
368
+ "96"
369
+ ],
370
+ weight: [
371
+ "light",
372
+ "normal",
373
+ "medium",
374
+ "bold",
375
+ "black"
376
+ ]
377
+ }, he = Object.keys(Ge), nr = /* @__PURE__ */ Object.assign(b(z.recipeFn), {
378
+ __recipe__: !0,
379
+ __name__: "text",
380
+ __getCompoundVariantCss__: z.__getCompoundVariantCss__,
381
+ raw: (e) => e,
382
+ variantKeys: he,
383
+ variantMap: Ge,
384
+ merge(e) {
385
+ return S(this, e);
386
+ },
387
+ splitVariantProps(e) {
388
+ return g(e, he);
389
+ },
390
+ getVariantProps: z.getVariantProps
391
+ }), L = /* @__PURE__ */ _("heading", {
392
+ level: "h2"
393
+ }, []), He = {
394
+ level: [
395
+ "h1",
396
+ "h2",
397
+ "h3",
398
+ "h4"
399
+ ]
400
+ }, fe = Object.keys(He), ar = /* @__PURE__ */ Object.assign(b(L.recipeFn), {
401
+ __recipe__: !0,
402
+ __name__: "heading",
403
+ __getCompoundVariantCss__: L.__getCompoundVariantCss__,
404
+ raw: (e) => e,
405
+ variantKeys: fe,
406
+ variantMap: He,
407
+ merge(e) {
408
+ return S(this, e);
409
+ },
410
+ splitVariantProps(e) {
411
+ return g(e, fe);
412
+ },
413
+ getVariantProps: L.getVariantProps
414
+ }), A = /* @__PURE__ */ _("link", {
415
+ family: "body"
416
+ }, []), qe = {
417
+ textStyle: [
418
+ "display-lg",
419
+ "display-md",
420
+ "display-sm",
421
+ "display-xs",
422
+ "heading-lg",
423
+ "heading-md",
424
+ "heading-sm",
425
+ "heading-xs",
426
+ "body-lg",
427
+ "body-md",
428
+ "body-sm",
429
+ "body-xs",
430
+ "mono-lg",
431
+ "mono-md",
432
+ "mono-sm",
433
+ "mono-xs"
434
+ ],
435
+ family: [
436
+ "heading",
437
+ "body",
438
+ "mono"
439
+ ],
440
+ bold: [
441
+ "true"
442
+ ],
443
+ italic: [
444
+ "true"
445
+ ],
446
+ underline: [
447
+ "true"
448
+ ],
449
+ size: [
450
+ "12",
451
+ "14",
452
+ "16",
453
+ "20",
454
+ "24",
455
+ "32",
456
+ "40",
457
+ "48",
458
+ "64",
459
+ "72",
460
+ "80",
461
+ "96"
462
+ ],
463
+ weight: [
464
+ "light",
465
+ "normal",
466
+ "medium",
467
+ "bold",
468
+ "black"
469
+ ],
470
+ _disabled: [
471
+ "true"
472
+ ]
473
+ }, _e = Object.keys(qe), ir = /* @__PURE__ */ Object.assign(b(A.recipeFn), {
474
+ __recipe__: !0,
475
+ __name__: "link",
476
+ __getCompoundVariantCss__: A.__getCompoundVariantCss__,
477
+ raw: (e) => e,
478
+ variantKeys: _e,
479
+ variantMap: qe,
480
+ merge(e) {
481
+ return S(this, e);
482
+ },
483
+ splitVariantProps(e) {
484
+ return g(e, _e);
485
+ },
486
+ getVariantProps: A.getVariantProps
487
+ }), N = /* @__PURE__ */ _("label", {
488
+ family: "body"
489
+ }, []), $e = {
490
+ textStyle: [
491
+ "display-lg",
492
+ "display-md",
493
+ "display-sm",
494
+ "display-xs",
495
+ "heading-lg",
496
+ "heading-md",
497
+ "heading-sm",
498
+ "heading-xs",
499
+ "body-lg",
500
+ "body-md",
501
+ "body-sm",
502
+ "body-xs",
503
+ "mono-lg",
504
+ "mono-md",
505
+ "mono-sm",
506
+ "mono-xs"
507
+ ],
508
+ family: [
509
+ "heading",
510
+ "body",
511
+ "mono"
512
+ ],
513
+ bold: [
514
+ "true"
515
+ ],
516
+ italic: [
517
+ "true"
518
+ ],
519
+ underline: [
520
+ "true"
521
+ ],
522
+ size: [
523
+ "12",
524
+ "14",
525
+ "16",
526
+ "20",
527
+ "24",
528
+ "32",
529
+ "40",
530
+ "48",
531
+ "64",
532
+ "72",
533
+ "80",
534
+ "96"
535
+ ],
536
+ weight: [
537
+ "light",
538
+ "normal",
539
+ "medium",
540
+ "bold",
541
+ "black"
542
+ ],
543
+ _disabled: [
544
+ "true"
545
+ ]
546
+ }, ke = Object.keys($e), sr = /* @__PURE__ */ Object.assign(b(N.recipeFn), {
547
+ __recipe__: !0,
548
+ __name__: "label",
549
+ __getCompoundVariantCss__: N.__getCompoundVariantCss__,
550
+ raw: (e) => e,
551
+ variantKeys: ke,
552
+ variantMap: $e,
553
+ merge(e) {
554
+ return S(this, e);
555
+ },
556
+ splitVariantProps(e) {
557
+ return g(e, ke);
558
+ },
559
+ getVariantProps: N.getVariantProps
560
+ }), D = /* @__PURE__ */ _("button", {
561
+ variant: "standard",
562
+ size: "medium"
563
+ }, []), Ue = {
564
+ variant: [
565
+ "primary",
566
+ "standard",
567
+ "hollow",
568
+ "ghost",
569
+ "cta",
570
+ "danger"
571
+ ],
572
+ size: [
573
+ "medium",
574
+ "large",
575
+ "small"
576
+ ]
577
+ }, ye = Object.keys(Ue), lr = /* @__PURE__ */ Object.assign(b(D.recipeFn), {
578
+ __recipe__: !0,
579
+ __name__: "button",
580
+ __getCompoundVariantCss__: D.__getCompoundVariantCss__,
581
+ raw: (e) => e,
582
+ variantKeys: ye,
583
+ variantMap: Ue,
584
+ merge(e) {
585
+ return S(this, e);
586
+ },
587
+ splitVariantProps(e) {
588
+ return g(e, ye);
589
+ },
590
+ getVariantProps: D.getVariantProps
591
+ }), X = /* @__PURE__ */ _("icon-button", {
592
+ variant: "standard",
593
+ size: "medium"
594
+ }, []), Ze = {
595
+ variant: [
596
+ "primary",
597
+ "standard",
598
+ "hollow",
599
+ "ghost",
600
+ "cta",
601
+ "danger"
602
+ ],
603
+ size: [
604
+ "medium",
605
+ "large",
606
+ "small"
607
+ ]
608
+ }, Se = Object.keys(Ze), dr = /* @__PURE__ */ Object.assign(b(X.recipeFn), {
609
+ __recipe__: !0,
610
+ __name__: "iconButton",
611
+ __getCompoundVariantCss__: X.__getCompoundVariantCss__,
612
+ raw: (e) => e,
613
+ variantKeys: Se,
614
+ variantMap: Ze,
615
+ merge(e) {
616
+ return S(this, e);
617
+ },
618
+ splitVariantProps(e) {
619
+ return g(e, Se);
620
+ },
621
+ getVariantProps: X.getVariantProps
622
+ }), Y = /* @__PURE__ */ _("textinput", {
623
+ size: "medium"
624
+ }, []), Je = {
625
+ size: [
626
+ "medium",
627
+ "small",
628
+ "large"
629
+ ],
630
+ autoSize: [
631
+ "true"
632
+ ]
633
+ }, xe = Object.keys(Je), cr = /* @__PURE__ */ Object.assign(b(Y.recipeFn), {
634
+ __recipe__: !0,
635
+ __name__: "textinput",
636
+ __getCompoundVariantCss__: Y.__getCompoundVariantCss__,
637
+ raw: (e) => e,
638
+ variantKeys: xe,
639
+ variantMap: Je,
640
+ merge(e) {
641
+ return S(this, e);
642
+ },
643
+ splitVariantProps(e) {
644
+ return g(e, xe);
645
+ },
646
+ getVariantProps: Y.getVariantProps
647
+ }), K = /* @__PURE__ */ _("textarea", {
648
+ size: "medium"
649
+ }, []), Qe = {
650
+ size: [
651
+ "small",
652
+ "medium",
653
+ "large"
654
+ ],
655
+ autoSize: [
656
+ "true"
657
+ ]
658
+ }, we = Object.keys(Qe), pr = /* @__PURE__ */ Object.assign(b(K.recipeFn), {
659
+ __recipe__: !0,
660
+ __name__: "textarea",
661
+ __getCompoundVariantCss__: K.__getCompoundVariantCss__,
662
+ raw: (e) => e,
663
+ variantKeys: we,
664
+ variantMap: Qe,
665
+ merge(e) {
666
+ return S(this, e);
667
+ },
668
+ splitVariantProps(e) {
669
+ return g(e, we);
670
+ },
671
+ getVariantProps: K.getVariantProps
672
+ }), G = /* @__PURE__ */ _("code", {}, []), et = {}, ve = Object.keys(et), mr = /* @__PURE__ */ Object.assign(b(G.recipeFn), {
673
+ __recipe__: !0,
674
+ __name__: "code",
675
+ __getCompoundVariantCss__: G.__getCompoundVariantCss__,
676
+ raw: (e) => e,
677
+ variantKeys: ve,
678
+ variantMap: et,
679
+ merge(e) {
680
+ return S(this, e);
681
+ },
682
+ splitVariantProps(e) {
683
+ return g(e, ve);
684
+ },
685
+ getVariantProps: G.getVariantProps
686
+ }), H = /* @__PURE__ */ _("pre", {}, []), tt = {}, Ce = Object.keys(tt), gr = /* @__PURE__ */ Object.assign(b(H.recipeFn), {
687
+ __recipe__: !0,
688
+ __name__: "pre",
689
+ __getCompoundVariantCss__: H.__getCompoundVariantCss__,
690
+ raw: (e) => e,
691
+ variantKeys: Ce,
692
+ variantMap: tt,
693
+ merge(e) {
694
+ return S(this, e);
695
+ },
696
+ splitVariantProps(e) {
697
+ return g(e, Ce);
698
+ },
699
+ getVariantProps: H.getVariantProps
700
+ }), q = /* @__PURE__ */ _("spinner", {
701
+ size: "medium"
702
+ }, []), rt = {
703
+ size: [
704
+ "medium",
705
+ "small",
706
+ "large"
707
+ ]
708
+ }, Pe = Object.keys(rt), ur = /* @__PURE__ */ Object.assign(b(q.recipeFn), {
709
+ __recipe__: !0,
710
+ __name__: "spinner",
711
+ __getCompoundVariantCss__: q.__getCompoundVariantCss__,
712
+ raw: (e) => e,
713
+ variantKeys: Pe,
714
+ variantMap: rt,
715
+ merge(e) {
716
+ return S(this, e);
717
+ },
718
+ splitVariantProps(e) {
719
+ return g(e, Pe);
720
+ },
721
+ getVariantProps: q.getVariantProps
722
+ }), $ = /* @__PURE__ */ _("divider", {
723
+ direction: "horizontal",
724
+ weight: "thin"
725
+ }, []), ot = {
726
+ direction: [
727
+ "horizontal",
728
+ "vertical"
729
+ ],
730
+ weight: [
731
+ "thin",
732
+ "medium",
733
+ "thick",
734
+ "thicker"
735
+ ]
736
+ }, Be = Object.keys(ot), br = /* @__PURE__ */ Object.assign(b($.recipeFn), {
737
+ __recipe__: !0,
738
+ __name__: "divider",
739
+ __getCompoundVariantCss__: $.__getCompoundVariantCss__,
740
+ raw: (e) => e,
741
+ variantKeys: Be,
742
+ variantMap: ot,
743
+ merge(e) {
744
+ return S(this, e);
745
+ },
746
+ splitVariantProps(e) {
747
+ return g(e, Be);
748
+ },
749
+ getVariantProps: $.getVariantProps
750
+ }), U = /* @__PURE__ */ _("box", {}, []), nt = {}, Te = Object.keys(nt), hr = /* @__PURE__ */ Object.assign(b(U.recipeFn), {
751
+ __recipe__: !0,
752
+ __name__: "box",
753
+ __getCompoundVariantCss__: U.__getCompoundVariantCss__,
754
+ raw: (e) => e,
755
+ variantKeys: Te,
756
+ variantMap: nt,
757
+ merge(e) {
758
+ return S(this, e);
759
+ },
760
+ splitVariantProps(e) {
761
+ return g(e, Te);
762
+ },
763
+ getVariantProps: U.getVariantProps
764
+ }), at = {}, fr = [], _r = [
765
+ [
766
+ "container",
767
+ "checkbox__container"
768
+ ],
769
+ [
770
+ "input",
771
+ "checkbox__input"
772
+ ],
773
+ [
774
+ "indicator",
775
+ "checkbox__indicator"
776
+ ]
777
+ ], 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, {
778
+ __recipe__: !1,
779
+ __name__: "checkbox",
780
+ raw: (e) => e,
781
+ variantKeys: Ve,
782
+ variantMap: {},
783
+ splitVariantProps(e) {
784
+ return g(e, Ve);
785
+ },
786
+ getVariantProps: Sr
787
+ }), it = {}, wr = [], vr = [
788
+ [
789
+ "container",
790
+ "radio__container"
791
+ ],
792
+ [
793
+ "input",
794
+ "radio__input"
795
+ ],
796
+ [
797
+ "indicator",
798
+ "radio__indicator"
799
+ ]
800
+ ], 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, {
801
+ __recipe__: !1,
802
+ __name__: "radio",
803
+ raw: (e) => e,
804
+ variantKeys: Re,
805
+ variantMap: {},
806
+ splitVariantProps(e) {
807
+ return g(e, Re);
808
+ },
809
+ getVariantProps: Br
810
+ });
811
+ 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));
812
+ 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) => {
813
+ var o;
814
+ if (e && !t) return e;
815
+ if (!e && t) return t;
816
+ if (e.__cva__ && t.__cva__ || e.__recipe__ && t.__recipe__) return e.merge(t);
817
+ const r = new TypeError("Cannot merge cva with recipe. Please use either cva or recipe.");
818
+ throw (o = TypeError.captureStackTrace) == null || o.call(TypeError, r), r;
819
+ }, Lr = (e) => typeof e == "string" ? e : (e == null ? void 0 : e.displayName) || (e == null ? void 0 : e.name) || "Component";
820
+ function Z(e, t = {}, r = {}) {
821
+ const o = t.__cva__ || t.__recipe__ ? t : Ke(t), n = r.shouldForwardProp || jr, a = (u) => n(u, o.variantKeys), i = Object.assign(
822
+ r.dataAttr && t.__name__ ? { "data-recipe": t.__name__ } : {},
823
+ r.defaultProps
824
+ ), s = zr(e.__cva__, o), d = Fr(e, a), c = e.__base__ || e, l = /* @__PURE__ */ te(function(f, w) {
825
+ 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]);
826
+ function ft() {
827
+ var de;
828
+ const { css: W, ...j } = le, F = (de = s.__getCompoundVariantCss__) == null ? void 0 : de.call(s, O);
829
+ return h(s(O, !1), T(F, j, W), x.className);
830
+ }
831
+ function _t() {
832
+ const { css: W, ...j } = le, F = s.raw(O);
833
+ return h(T(F, j, W), x.className);
834
+ }
835
+ const kt = t.__recipe__ ? ft : _t;
836
+ return M(v, {
837
+ ref: w,
838
+ ...bt,
839
+ ...ht,
840
+ ...Q(ut),
841
+ className: kt()
842
+ }, x.children ?? V);
843
+ }), m = Lr(c);
844
+ return l.displayName = `styled.${m}`, l.__cva__ = s, l.__base__ = c, l.__shouldForwardProps__ = a, l;
845
+ }
846
+ function Ar() {
847
+ const e = /* @__PURE__ */ new Map();
848
+ return new Proxy(Z, {
849
+ apply(t, r, o) {
850
+ return Z(...o);
851
+ },
852
+ get(t, r) {
853
+ return e.has(r) || e.set(r, Z(r)), e.get(r);
854
+ }
855
+ });
856
+ }
857
+ const st = /* @__PURE__ */ Ar(), Ie = {
858
+ transform(e) {
859
+ const { size: t, ...r } = e;
860
+ return {
861
+ width: t,
862
+ height: t,
863
+ ...r
864
+ };
865
+ }
866
+ }, lt = (e = {}) => {
867
+ const t = ie(Ie, e);
868
+ return Ie.transform(t, ae);
869
+ }, dt = (e) => T(lt(e));
870
+ dt.raw = lt;
871
+ const Me = {
872
+ transform(e) {
873
+ const { justify: t, gap: r, ...o } = e;
874
+ return {
875
+ display: "flex",
876
+ alignItems: "center",
877
+ justifyContent: t,
878
+ gap: r,
879
+ flexDirection: "row",
880
+ ...o
881
+ };
882
+ },
883
+ defaultValues: { gap: "10px" }
884
+ }, Nr = (e = {}) => {
885
+ const t = ie(Me, e);
886
+ return Me.transform(t, ae);
887
+ }, Dr = /* @__PURE__ */ te(function(t, r) {
888
+ const [o, n] = g(t, ["justify", "gap"]), a = Nr(o), i = { ref: r, ...a, ...n };
889
+ return M(st.div, i);
890
+ }), Ee = {
891
+ transform(e, { map: t, isCssUnit: r }) {
892
+ const { columnGap: o, rowGap: n, gap: a, columns: i, minChildWidth: s, ...d } = e, c = (l) => r(l) ? l : `token(sizes.${l}, ${l})`;
893
+ return {
894
+ display: "grid",
895
+ 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,
896
+ gap: a,
897
+ columnGap: o,
898
+ rowGap: n,
899
+ ...d
900
+ };
901
+ },
902
+ defaultValues(e) {
903
+ return { gap: e.columnGap || e.rowGap ? void 0 : "10px" };
904
+ }
905
+ }, Xr = (e = {}) => {
906
+ const t = ie(Ee, e);
907
+ return Ee.transform(t, ae);
908
+ }, Yr = /* @__PURE__ */ te(function(t, r) {
909
+ const [o, n] = g(t, ["gap", "columnGap", "rowGap", "columns", "minChildWidth"]), a = Xr(o), i = { ref: r, ...a, ...n };
910
+ return M(st.div, i);
911
+ }), k = (e) => {
912
+ const [t, r] = Wr(e), { css: o, ...n } = t, a = T(o, n), i = r.className || "", s = h(i, a), { className: d, ...c } = r;
913
+ return [s, c];
914
+ }, y = ({ as: e = "div", ...t }) => {
915
+ const [r, o] = k(t), n = h(hr({}), r);
916
+ return M(e, {
917
+ className: n,
918
+ ...o
919
+ });
920
+ }, ct = ({
921
+ as: e = "p",
922
+ family: t,
923
+ italic: r,
924
+ bold: o,
925
+ underline: n,
926
+ size: a,
927
+ children: i,
928
+ textStyle: s,
929
+ weight: d,
930
+ ...c
931
+ }) => {
932
+ const [l, m] = k(c);
933
+ return /* @__PURE__ */ p(
934
+ y,
935
+ {
936
+ as: e,
937
+ className: h(
938
+ nr({ textStyle: s, family: t, bold: o, underline: n, italic: r, size: a, weight: d }),
939
+ l
940
+ ),
941
+ ...m,
942
+ children: i
943
+ }
944
+ );
945
+ }, Kr = ({
946
+ size: e,
947
+ ...t
948
+ }) => {
949
+ const [r, o] = k(t);
950
+ return /* @__PURE__ */ p(
951
+ y,
952
+ {
953
+ as: "div",
954
+ className: h(ur({ size: e }), r),
955
+ ...o
956
+ }
957
+ );
958
+ }, pt = ({
959
+ loading: e = !1,
960
+ children: t
961
+ }) => /* @__PURE__ */ E(wt, { children: [
962
+ /* @__PURE__ */ p(Dr, { gap: "4", opacity: e ? 0 : 1, children: t }),
963
+ e && /* @__PURE__ */ p(
964
+ Yr,
965
+ {
966
+ position: "absolute",
967
+ top: "0",
968
+ left: "0",
969
+ right: "0",
970
+ bottom: "0",
971
+ placeItems: "center",
972
+ children: /* @__PURE__ */ p(Kr, {})
973
+ }
974
+ )
975
+ ] }), Qr = ({
976
+ variant: e,
977
+ size: t,
978
+ href: r,
979
+ children: o,
980
+ loading: n,
981
+ disabled: a,
982
+ type: i = "button",
983
+ ...s
984
+ }) => {
985
+ const d = n || a, [c, l] = k(s);
986
+ return /* @__PURE__ */ p(
987
+ y,
988
+ {
989
+ as: r ? "a" : "button",
990
+ disabled: d,
991
+ "aria-disabled": d,
992
+ className: h(lr({ variant: e, size: t }), c),
993
+ ...r ? { href: r } : { type: i },
994
+ ...l,
995
+ children: /* @__PURE__ */ p(pt, { loading: !!n, children: o })
996
+ }
997
+ );
998
+ }, Gr = ({
999
+ variant: e,
1000
+ size: t,
1001
+ href: r,
1002
+ children: o,
1003
+ loading: n,
1004
+ disabled: a,
1005
+ type: i = "button",
1006
+ ...s
1007
+ }) => {
1008
+ const d = n || a, [c, l] = k(s);
1009
+ return /* @__PURE__ */ p(
1010
+ y,
1011
+ {
1012
+ as: r ? "a" : "button",
1013
+ disabled: d,
1014
+ "aria-disabled": d,
1015
+ className: h(dr({ variant: e, size: t }), c),
1016
+ ...r ? { href: r } : { type: i },
1017
+ ...l,
1018
+ ...d && r && {
1019
+ onClick: (m) => m.preventDefault()
1020
+ },
1021
+ children: /* @__PURE__ */ p(pt, { loading: !!n, children: o })
1022
+ }
1023
+ );
1024
+ }, C = ({
1025
+ name: e,
1026
+ size: t = "24",
1027
+ fill: r = "current",
1028
+ ...o
1029
+ }) => {
1030
+ const [n, a] = k(o);
1031
+ return /* @__PURE__ */ p(
1032
+ y,
1033
+ {
1034
+ as: "svg",
1035
+ name: e,
1036
+ viewBox: "0 0 24 24",
1037
+ xmlns: "http://www.w3.org/2000/svg",
1038
+ className: h(dt({ size: t, fill: r }), n),
1039
+ ...a,
1040
+ children: /* @__PURE__ */ p("use", { xlinkHref: `/sprite.svg#${e}` })
1041
+ }
1042
+ );
1043
+ }, eo = {
1044
+ "aa-placeholder": "aa-placeholder",
1045
+ alarm: "alarm",
1046
+ apps: "apps",
1047
+ "arrow-down": "arrow-down",
1048
+ "arrow-drop-down": "arrow-drop-down",
1049
+ "arrow-drop-up": "arrow-drop-up",
1050
+ "arrow-left": "arrow-left",
1051
+ "arrow-line-down": "arrow-line-down",
1052
+ "arrow-line-left": "arrow-line-left",
1053
+ "arrow-line-right": "arrow-line-right",
1054
+ "arrow-line-up": "arrow-line-up",
1055
+ "arrow-prompt": "arrow-prompt",
1056
+ "arrow-redo": "arrow-redo",
1057
+ "arrow-right": "arrow-right",
1058
+ "arrow-square-in": "arrow-square-in",
1059
+ "arrow-square-out": "arrow-square-out",
1060
+ "arrow-undo": "arrow-undo",
1061
+ "arrow-up": "arrow-up",
1062
+ "arrows-down-up": "arrows-down-up",
1063
+ "arrows-left-right": "arrows-left-right",
1064
+ at: "at",
1065
+ attachment: "attachment",
1066
+ "barcode-reader": "barcode-reader",
1067
+ barcode: "barcode",
1068
+ basket: "basket",
1069
+ "bell-active": "bell-active",
1070
+ "bell-slash": "bell-slash",
1071
+ bell: "bell",
1072
+ bin: "bin",
1073
+ "bookmark-outlined": "bookmark-outlined",
1074
+ bookmark: "bookmark",
1075
+ bookmarks: "bookmarks",
1076
+ Building: "Building",
1077
+ "calendar-add": "calendar-add",
1078
+ "calendar-view-day": "calendar-view-day",
1079
+ "calendar-view-month": "calendar-view-month",
1080
+ "calendar-view-week": "calendar-view-week",
1081
+ calendar: "calendar",
1082
+ "caret-down": "caret-down",
1083
+ "caret-left": "caret-left",
1084
+ "caret-right": "caret-right",
1085
+ "caret-up": "caret-up",
1086
+ cart: "cart",
1087
+ "check-thick": "check-thick",
1088
+ check: "check",
1089
+ "checkbox-checked": "checkbox-checked",
1090
+ "checkbox-focus": "checkbox-focus",
1091
+ "checkbox-indeterminate": "checkbox-indeterminate",
1092
+ checkbox: "checkbox",
1093
+ "circle-check": "circle-check",
1094
+ circle: "circle",
1095
+ "circles-add": "circles-add",
1096
+ clipboard: "clipboard",
1097
+ "clock-countdown": "clock-countdown",
1098
+ clock: "clock",
1099
+ "cloud-synced": "cloud-synced",
1100
+ code: "code",
1101
+ color: "color",
1102
+ copy: "copy",
1103
+ "credit-card": "credit-card",
1104
+ cut: "cut",
1105
+ database: "database",
1106
+ devices: "devices",
1107
+ dictionary: "dictionary",
1108
+ dots: "dots",
1109
+ "download-cloud": "download-cloud",
1110
+ download: "download",
1111
+ dragger: "dragger",
1112
+ edit: "edit",
1113
+ encrypted: "encrypted",
1114
+ envelope: "envelope",
1115
+ equal: "equal",
1116
+ eraser: "eraser",
1117
+ error: "error",
1118
+ "event-list": "event-list",
1119
+ export: "export",
1120
+ extension: "extension",
1121
+ "eye-slash": "eye-slash",
1122
+ eye: "eye",
1123
+ "file-add": "file-add",
1124
+ file: "file",
1125
+ files: "files",
1126
+ "filter-remove": "filter-remove",
1127
+ filter: "filter",
1128
+ finish: "finish",
1129
+ flag: "flag",
1130
+ forklift: "forklift",
1131
+ garage: "garage",
1132
+ globe: "globe",
1133
+ hash: "hash",
1134
+ "heart-outlined": "heart-outlined",
1135
+ heart: "heart",
1136
+ help: "help",
1137
+ history: "history",
1138
+ home: "home",
1139
+ image: "image",
1140
+ images: "images",
1141
+ inbox: "inbox",
1142
+ infinity: "infinity",
1143
+ info: "info",
1144
+ inventory: "inventory",
1145
+ invoice: "invoice",
1146
+ "jump-back": "jump-back",
1147
+ "jump-forward": "jump-forward",
1148
+ "kbd-backspace": "kbd-backspace",
1149
+ "kbd-capslock": "kbd-capslock",
1150
+ "kbd-command": "kbd-command",
1151
+ "kbd-control": "kbd-control",
1152
+ "kbd-hide": "kbd-hide",
1153
+ "kbd-option": "kbd-option",
1154
+ "kbd-return": "kbd-return",
1155
+ "kbd-shift": "kbd-shift",
1156
+ "kbd-space": "kbd-space",
1157
+ kbd: "kbd",
1158
+ "link-slash": "link-slash",
1159
+ link: "link",
1160
+ "list-bullets": "list-bullets",
1161
+ "list-checks": "list-checks",
1162
+ "list-numbers": "list-numbers",
1163
+ "lock-open": "lock-open",
1164
+ lock: "lock",
1165
+ "map-pin": "map-pin",
1166
+ "mark-unread": "mark-unread",
1167
+ "menu-close": "menu-close",
1168
+ menu: "menu",
1169
+ message: "message",
1170
+ messages: "messages",
1171
+ "minus-thick": "minus-thick",
1172
+ minus: "minus",
1173
+ money: "money",
1174
+ monitor: "monitor",
1175
+ moon: "moon",
1176
+ note: "note",
1177
+ nut: "nut",
1178
+ order: "order",
1179
+ package: "package",
1180
+ "page-first": "page-first",
1181
+ "page-last": "page-last",
1182
+ parts: "parts",
1183
+ password: "password",
1184
+ pause: "pause",
1185
+ pencil: "pencil",
1186
+ percent: "percent",
1187
+ "play-pause": "play-pause",
1188
+ play: "play",
1189
+ plus: "plus",
1190
+ printer: "printer",
1191
+ prohibit: "prohibit",
1192
+ "question-mark": "question-mark",
1193
+ quote: "quote",
1194
+ "radio-checked": "radio-checked",
1195
+ "radio-focus": "radio-focus",
1196
+ radio: "radio",
1197
+ receipt: "receipt",
1198
+ refresh: "refresh",
1199
+ repeat: "repeat",
1200
+ "reply-all": "reply-all",
1201
+ reply: "reply",
1202
+ ribbon: "ribbon",
1203
+ "rows-add": "rows-add",
1204
+ rules: "rules",
1205
+ "search-items": "search-items",
1206
+ search: "search",
1207
+ send: "send",
1208
+ settings: "settings",
1209
+ share: "share",
1210
+ shuffle: "shuffle",
1211
+ "skip-back": "skip-back",
1212
+ "skip-forward": "skip-forward",
1213
+ skull: "skull",
1214
+ sliders: "sliders",
1215
+ "sort-alpha-down": "sort-alpha-down",
1216
+ "sort-alpha-up": "sort-alpha-up",
1217
+ "sort-ascending": "sort-ascending",
1218
+ "sort-descending": "sort-descending",
1219
+ "sort-time-down": "sort-time-down",
1220
+ "sort-time-up": "sort-time-up",
1221
+ "square-add": "square-add",
1222
+ square: "square",
1223
+ stamp: "stamp",
1224
+ "star-outlined": "star-outlined",
1225
+ star: "star",
1226
+ start: "start",
1227
+ stop: "stop",
1228
+ success: "success",
1229
+ sun: "sun",
1230
+ support: "support",
1231
+ sync: "sync",
1232
+ tag: "tag",
1233
+ target: "target",
1234
+ "text-add": "text-add",
1235
+ "time-add": "time-add",
1236
+ timer: "timer",
1237
+ toolbox: "toolbox",
1238
+ tools: "tools",
1239
+ trash: "trash",
1240
+ trophy: "trophy",
1241
+ "truck-trailer": "truck-trailer",
1242
+ update: "update",
1243
+ "upload-cloud": "upload-cloud",
1244
+ upload: "upload",
1245
+ "user-add": "user-add",
1246
+ "user-details": "user-details",
1247
+ "user-group": "user-group",
1248
+ "user-id-badge": "user-id-badge",
1249
+ "user-id-card": "user-id-card",
1250
+ user: "user",
1251
+ verified: "verified",
1252
+ video: "video",
1253
+ "view-cards": "view-cards",
1254
+ "view-doc": "view-doc",
1255
+ "view-grid": "view-grid",
1256
+ "view-rows": "view-rows",
1257
+ "view-table": "view-table",
1258
+ warning: "warning",
1259
+ "work-order": "work-order",
1260
+ x: "x"
1261
+ }, Hr = ({
1262
+ lang: e,
1263
+ children: t,
1264
+ ...r
1265
+ }) => {
1266
+ const [o, n] = k(r);
1267
+ return /* @__PURE__ */ p(
1268
+ y,
1269
+ {
1270
+ as: "code",
1271
+ className: h(
1272
+ mr({}),
1273
+ o
1274
+ ),
1275
+ lang: e,
1276
+ ...n,
1277
+ children: /* @__PURE__ */ p(ct, { color: "slate.0", children: t })
1278
+ }
1279
+ );
1280
+ }, to = ({
1281
+ children: e,
1282
+ lang: t,
1283
+ ...r
1284
+ }) => {
1285
+ const [o, n] = k(r);
1286
+ return /* @__PURE__ */ p(
1287
+ y,
1288
+ {
1289
+ as: "pre",
1290
+ className: h(
1291
+ gr({}),
1292
+ o
1293
+ ),
1294
+ ...n,
1295
+ children: /* @__PURE__ */ p(Hr, { lang: t, slot: "react", bg: "transparent", ...n, children: e })
1296
+ }
1297
+ );
1298
+ }, ro = ({
1299
+ level: e = "h2",
1300
+ children: t,
1301
+ ...r
1302
+ }) => {
1303
+ const [o, n] = k(r);
1304
+ return /* @__PURE__ */ p(
1305
+ ct,
1306
+ {
1307
+ as: e,
1308
+ className: h(
1309
+ ar({ level: e }),
1310
+ o
1311
+ ),
1312
+ ...n,
1313
+ children: t
1314
+ }
1315
+ );
1316
+ }, oo = ({
1317
+ href: e,
1318
+ external: t,
1319
+ disabled: r,
1320
+ children: o,
1321
+ size: n,
1322
+ family: a,
1323
+ weight: i,
1324
+ italic: s,
1325
+ bold: d,
1326
+ ...c
1327
+ }) => {
1328
+ const [l, m] = k(c);
1329
+ return /* @__PURE__ */ E(
1330
+ y,
1331
+ {
1332
+ as: "a",
1333
+ href: e,
1334
+ target: t ? "_blank" : void 0,
1335
+ rel: t ? "noopener noreferrer" : void 0,
1336
+ "aria-disabled": r,
1337
+ className: h(
1338
+ ir({ family: a, italic: s, bold: d, size: n, weight: i }),
1339
+ l
1340
+ ),
1341
+ ...m,
1342
+ children: [
1343
+ o,
1344
+ t && /* @__PURE__ */ p(C, { name: "arrow-square-out", size: "20" })
1345
+ ]
1346
+ }
1347
+ );
1348
+ }, no = ({
1349
+ direction: e,
1350
+ weight: t,
1351
+ ...r
1352
+ }) => {
1353
+ const [o, n] = k(r);
1354
+ return /* @__PURE__ */ p(
1355
+ y,
1356
+ {
1357
+ as: "div",
1358
+ className: h(br({ direction: e, weight: t }), o),
1359
+ ...n
1360
+ }
1361
+ );
1362
+ }, mt = ({
1363
+ htmlFor: e,
1364
+ children: t,
1365
+ ...r
1366
+ }) => {
1367
+ const [o, n] = k(r);
1368
+ return /* @__PURE__ */ p(
1369
+ y,
1370
+ {
1371
+ htmlFor: e,
1372
+ as: "label",
1373
+ className: h(
1374
+ sr({}),
1375
+ o
1376
+ ),
1377
+ ...n,
1378
+ children: t
1379
+ }
1380
+ );
1381
+ }, ao = ({
1382
+ indeterminate: e,
1383
+ error: t,
1384
+ ...r
1385
+ }) => {
1386
+ const { container: o, input: n, indicator: a } = xr({});
1387
+ return /* @__PURE__ */ E(mt, { className: o, children: [
1388
+ /* @__PURE__ */ p(
1389
+ y,
1390
+ {
1391
+ as: "input",
1392
+ type: "checkbox",
1393
+ className: n,
1394
+ ...r,
1395
+ ...e && { "data-indeterminate": !0 },
1396
+ ...t && { "data-error": !0 }
1397
+ }
1398
+ ),
1399
+ /* @__PURE__ */ p(C, { className: a, name: "checkbox" }),
1400
+ /* @__PURE__ */ p(C, { className: a, name: "checkbox-checked" }),
1401
+ /* @__PURE__ */ p(C, { className: a, name: "checkbox-indeterminate" }),
1402
+ /* @__PURE__ */ p(C, { className: a, name: "checkbox-focus" })
1403
+ ] });
1404
+ }, io = ({ error: e, ...t }) => {
1405
+ const { container: r, input: o, indicator: n } = Tr({});
1406
+ return /* @__PURE__ */ E(mt, { className: r, children: [
1407
+ /* @__PURE__ */ p(
1408
+ y,
1409
+ {
1410
+ as: "input",
1411
+ type: "radio",
1412
+ className: o,
1413
+ ...t,
1414
+ ...e && { "data-error": !0 }
1415
+ }
1416
+ ),
1417
+ /* @__PURE__ */ p(C, { className: n, name: "radio" }),
1418
+ /* @__PURE__ */ p(C, { className: n, name: "radio-checked" }),
1419
+ /* @__PURE__ */ p(C, { className: n, name: "radio-focus" })
1420
+ ] });
1421
+ }, so = ({
1422
+ size: e,
1423
+ error: t,
1424
+ autoSize: r = !1,
1425
+ ...o
1426
+ }) => {
1427
+ const [n, a] = k(o);
1428
+ return /* @__PURE__ */ p(
1429
+ y,
1430
+ {
1431
+ as: "input",
1432
+ ...t && { "data-error": !0 },
1433
+ className: h(
1434
+ cr({ size: e, autoSize: r }),
1435
+ n
1436
+ ),
1437
+ ...a
1438
+ }
1439
+ );
1440
+ }, qr = ({
1441
+ size: e,
1442
+ error: t,
1443
+ autoSize: r = !1,
1444
+ ...o
1445
+ }) => {
1446
+ const [n, a] = k(o);
1447
+ return /* @__PURE__ */ p(
1448
+ y,
1449
+ {
1450
+ as: "textarea",
1451
+ ...t && { "data-error": !0 },
1452
+ className: h(
1453
+ pr({ size: e, autoSize: r }),
1454
+ n
1455
+ ),
1456
+ ...a
1457
+ }
1458
+ );
1459
+ };
1460
+ qr.displayName = "Textarea";
1461
+ function $r() {
1462
+ return window.matchMedia && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
1463
+ }
1464
+ const gt = yt(void 0);
1465
+ function lo({ children: e }) {
1466
+ const [t, r] = St(() => $r()), o = (n) => {
1467
+ r(n);
1468
+ };
1469
+ return pe(() => {
1470
+ document.documentElement.removeAttribute("data-color-mode"), document.documentElement.removeAttribute("data-theme"), document.documentElement.setAttribute("data-color-mode", t);
1471
+ }, [t]), pe(() => {
1472
+ const n = window.matchMedia("(prefers-color-scheme: dark)"), a = (i) => {
1473
+ r(i.matches ? "dark" : "light");
1474
+ };
1475
+ return n.addEventListener("change", a), () => n.removeEventListener("change", a);
1476
+ }, []), /* @__PURE__ */ p(gt.Provider, { value: { theme: t, setTheme: o }, children: e });
1477
+ }
1478
+ function Ur() {
1479
+ const e = xt(gt);
1480
+ if (e === void 0)
1481
+ throw new Error("useTheme must be used within a ThemeProvider");
1482
+ return e;
1483
+ }
1484
+ const co = ({}) => {
1485
+ const { theme: e, setTheme: t } = Ur();
1486
+ return /* @__PURE__ */ p(
1487
+ Gr,
1488
+ {
1489
+ variant: "ghost",
1490
+ onClick: () => {
1491
+ t(e === "light" ? "dark" : "light");
1492
+ },
1493
+ "aria-label": `Switch to ${e === "light" ? "dark" : "light"} theme`,
1494
+ children: /* @__PURE__ */ p(C, { name: e === "light" ? "moon" : "sun" })
1495
+ }
1496
+ );
1497
+ };
1498
+ export {
1499
+ y as Box,
1500
+ Qr as Button,
1501
+ ao as CheckBox,
1502
+ no as Divider,
1503
+ ro as Heading,
1504
+ C as Icon,
1505
+ Gr as IconButton,
1506
+ eo as IconNames,
1507
+ oo as Link,
1508
+ to as Pre,
1509
+ io as Radio,
1510
+ Kr as Spinner,
1511
+ ct as Text,
1512
+ so as TextInput,
1513
+ qr as Textarea,
1514
+ lo as ThemeProvider,
1515
+ co as ThemeSwitcher
1516
+ };