@dimasbaguspm/versaur 0.0.12 → 0.0.14

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 (38) hide show
  1. package/dist/js/bottom-sheet-CBLNEX4F.js +281 -0
  2. package/dist/js/bottom-sheet.atoms-DFMOaMsU.js +78 -0
  3. package/dist/js/{calendar-De5dCVnE.js → calendar-B9rIZCdo.js} +318 -163
  4. package/dist/js/{index-DOdDlCoL.js → cn-BKwT3erk.js} +463 -788
  5. package/dist/js/enforce-subpath-import.js +1 -0
  6. package/dist/js/feedbacks/index.js +1 -1
  7. package/dist/js/{form-layout-BBDs1Y8m.js → form-layout-PLH-7bWq.js} +58 -57
  8. package/dist/js/forms/index.js +1 -1
  9. package/dist/js/index-Dmu_fHni.js +329 -0
  10. package/dist/js/index.js +32 -31
  11. package/dist/js/layouts/index.js +1 -1
  12. package/dist/js/{menu-Du409VIG.js → menu-oRrbZAAy.js} +56 -60
  13. package/dist/js/navigation/index.js +1 -1
  14. package/dist/js/overlays/index.js +5 -4
  15. package/dist/js/primitive/index.js +2 -2
  16. package/dist/js/{skeleton-BNZyaRjo.js → skeleton-Ma-Fcs06.js} +6 -5
  17. package/dist/js/{switch-input-B-pwBWbi.js → switch-input-o8oO4Rf4.js} +482 -435
  18. package/dist/js/{tabs-BbOkYchB.js → tabs-DSeR5XxX.js} +6 -5
  19. package/dist/js/{tile-6SeBYc08.js → tile-8hqVMf2m.js} +110 -139
  20. package/dist/types/forms/chip-input/types.d.ts +16 -0
  21. package/dist/types/forms/date-range-picker-input/date-range-picker-input.d.ts +10 -0
  22. package/dist/types/forms/date-range-picker-input/index.d.ts +2 -0
  23. package/dist/types/forms/date-range-picker-input/types.d.ts +64 -0
  24. package/dist/types/forms/date-range-picker-input/use-date-range-picker.d.ts +13 -0
  25. package/dist/types/overlays/bottom-sheet/bottom-sheet.atoms.d.ts +17 -0
  26. package/dist/types/overlays/bottom-sheet/bottom-sheet.d.ts +7 -0
  27. package/dist/types/overlays/bottom-sheet/index.d.ts +2 -0
  28. package/dist/types/overlays/bottom-sheet/types.d.ts +22 -0
  29. package/dist/types/overlays/drawer/drawer.atoms.d.ts +2 -1
  30. package/dist/types/overlays/drawer/drawer.d.ts +1 -0
  31. package/dist/types/overlays/drawer/types.d.ts +6 -3
  32. package/dist/types/overlays/index.d.ts +1 -0
  33. package/dist/types/primitive/calendar/calendar.atoms.d.ts +13 -0
  34. package/dist/types/primitive/calendar/index.d.ts +1 -1
  35. package/dist/types/primitive/calendar/types.d.ts +38 -4
  36. package/dist/types/primitive/calendar/use-calendar.d.ts +18 -0
  37. package/package.json +1 -1
  38. package/dist/js/drawer-Cn7sreJG.js +0 -221
@@ -23,6 +23,7 @@ const symbolToSubpath = {
23
23
  Drawer: 'overlays',
24
24
  Modal: 'overlays',
25
25
  Menu: 'overlays',
26
+ BottomSheet: 'overlays',
26
27
  // navigation
27
28
  Tabs: 'navigation',
28
29
  Breadcrumbs: 'navigation',
@@ -1,4 +1,4 @@
1
- import { L as r, P as s, S as e } from "../skeleton-BNZyaRjo.js";
1
+ import { L as r, P as s, S as e } from "../skeleton-Ma-Fcs06.js";
2
2
  export {
3
3
  r as LoadingIndicator,
4
4
  s as ProgressIndicator,
@@ -1,8 +1,9 @@
1
- import { c as i, j as o, a as l } from "./index-DOdDlCoL.js";
1
+ import { a as i, j as o } from "./index-Dmu_fHni.js";
2
+ import { c as l } from "./cn-BKwT3erk.js";
2
3
  import * as p from "react";
3
4
  import { forwardRef as n } from "react";
4
5
  const u = i(
5
- "w-full flex flex-wrap items-center px-4 py-3 gap-2 bg-white [&>[data-versaur-appbar-bottom]]:basis-full [&>[data-versaur-appbar-bottom]]:w-full",
6
+ "w-full flex flex-wrap items-center px-4 pt-3 mb-3 gap-2 bg-white [&>[data-versaur-appbar-bottom]]:basis-full [&>[data-versaur-appbar-bottom]]:w-full",
6
7
  {
7
8
  variants: {
8
9
  variant: {
@@ -32,65 +33,65 @@ const u = i(
32
33
  }
33
34
  }
34
35
  ), d = n(
35
- ({ children: e, className: a }, t) => /* @__PURE__ */ o.jsx(
36
+ ({ children: e, className: t }, a) => /* @__PURE__ */ o.jsx(
36
37
  "div",
37
38
  {
38
- ref: t,
39
+ ref: a,
39
40
  "data-versaur-appbar-bottom": !0,
40
- className: l("w-full flex items-center min-h-[2.5rem] mt-2", a),
41
+ className: l("w-full flex items-center min-h-[2.5rem] mt-2", t),
41
42
  children: e
42
43
  }
43
44
  )
44
45
  ), f = n(
45
- ({ children: e, className: a }, t) => /* @__PURE__ */ o.jsx("div", { ref: t, className: l("flex items-center", a), children: e })
46
+ ({ children: e, className: t }, a) => /* @__PURE__ */ o.jsx("div", { ref: a, className: l("flex items-center", t), children: e })
46
47
  ), v = n(
47
- ({ children: e, className: a }, t) => /* @__PURE__ */ o.jsx(
48
+ ({ children: e, className: t }, a) => /* @__PURE__ */ o.jsx(
48
49
  "div",
49
50
  {
50
- ref: t,
51
- className: l("font-semibold text-lg truncate min-w-0", a),
51
+ ref: a,
52
+ className: l("font-semibold text-lg truncate min-w-0", t),
52
53
  children: e
53
54
  }
54
55
  )
55
56
  ), g = n(
56
- ({ children: e, className: a }, t) => /* @__PURE__ */ o.jsx(
57
+ ({ children: e, className: t }, a) => /* @__PURE__ */ o.jsx(
57
58
  "div",
58
59
  {
59
- ref: t,
60
- className: l("text-xs text-ghost-400 truncate min-w-0", a),
60
+ ref: a,
61
+ className: l("text-xs text-ghost-400 truncate min-w-0", t),
61
62
  children: e
62
63
  }
63
64
  )
64
65
  ), y = n(
65
- ({ children: e, className: a }, t) => /* @__PURE__ */ o.jsx(
66
+ ({ children: e, className: t }, a) => /* @__PURE__ */ o.jsx(
66
67
  "div",
67
68
  {
68
- ref: t,
69
- className: l("flex items-center justify-end gap-2", a),
69
+ ref: a,
70
+ className: l("flex items-center justify-end gap-2", t),
70
71
  children: e
71
72
  }
72
73
  )
73
74
  ), B = n(
74
- ({ children: e, className: a, placement: t }, s) => /* @__PURE__ */ o.jsx(
75
+ ({ children: e, className: t, placement: a }, s) => /* @__PURE__ */ o.jsx(
75
76
  "div",
76
77
  {
77
78
  ref: s,
78
- className: l(x({ placement: t }), a),
79
+ className: l(x({ placement: a }), t),
79
80
  children: e
80
81
  }
81
82
  )
82
83
  ), b = ({
83
84
  children: e,
84
- className: a,
85
- variant: t = "primary"
85
+ className: t,
86
+ variant: a = "primary"
86
87
  }) => /* @__PURE__ */ o.jsx(
87
88
  "header",
88
89
  {
89
- className: l(u({ variant: t }), a),
90
+ className: l(u({ variant: a }), t),
90
91
  role: "banner",
91
92
  children: e
92
93
  }
93
- ), G = Object.assign(b, {
94
+ ), J = Object.assign(b, {
94
95
  Leading: f,
95
96
  Headline: v,
96
97
  Subtitle: g,
@@ -133,23 +134,23 @@ const u = i(
133
134
  }
134
135
  }
135
136
  ), w = n(
136
- ({ icon: e, label: a, active: t = !1, className: s, ...r }, c) => /* @__PURE__ */ o.jsxs(
137
+ ({ icon: e, label: t, active: a = !1, className: s, ...r }, c) => /* @__PURE__ */ o.jsxs(
137
138
  "div",
138
139
  {
139
140
  ref: c,
140
- "aria-current": t ? "page" : void 0,
141
- className: N({ active: t, className: s }),
141
+ "aria-current": a ? "page" : void 0,
142
+ className: N({ active: a, className: s }),
142
143
  ...r,
143
144
  children: [
144
145
  e,
145
- a && /* @__PURE__ */ o.jsx("span", { className: "text-xs mt-0.5", children: a })
146
+ t && /* @__PURE__ */ o.jsx("span", { className: "text-xs mt-0.5", children: t })
146
147
  ]
147
148
  }
148
149
  )
149
150
  ), h = ({
150
151
  children: e,
151
- variant: a = "primary",
152
- size: t = "md",
152
+ variant: t = "primary",
153
+ size: a = "md",
153
154
  className: s,
154
155
  ...r
155
156
  }) => /* @__PURE__ */ o.jsx(
@@ -157,11 +158,11 @@ const u = i(
157
158
  {
158
159
  role: "navigation",
159
160
  "aria-label": "Bottom navigation",
160
- className: j({ variant: a, size: t, className: s }),
161
+ className: j({ variant: t, size: a, className: s }),
161
162
  ...r,
162
163
  children: e
163
164
  }
164
- ), J = Object.assign(h, {
165
+ ), K = Object.assign(h, {
165
166
  Item: w
166
167
  }), T = i(
167
168
  "w-full flex items-center px-6 py-4 mb-6 border-b border-border shadow-xs bg-white",
@@ -183,37 +184,37 @@ const u = i(
183
184
  }
184
185
  }
185
186
  ), R = i("flex items-center gap-2 ml-4"), S = i("flex items-center gap-2 mr-4"), C = n(
186
- function({ children: a, className: t, ...s }, r) {
187
- return /* @__PURE__ */ o.jsx("nav", { ref: r, className: R({ className: t }), ...s, children: a });
187
+ function({ children: t, className: a, ...s }, r) {
188
+ return /* @__PURE__ */ o.jsx("nav", { ref: r, className: R({ className: a }), ...s, children: t });
188
189
  }
189
190
  ), I = n(
190
- function({ children: a, className: t, ...s }, r) {
191
- return /* @__PURE__ */ o.jsx("div", { ref: r, className: S({ className: t }), ...s, children: a });
191
+ function({ children: t, className: a, ...s }, r) {
192
+ return /* @__PURE__ */ o.jsx("div", { ref: r, className: S({ className: a }), ...s, children: t });
192
193
  }
193
194
  ), F = n(
194
- function({ children: a, className: t, ...s }, r) {
195
- return /* @__PURE__ */ o.jsx("div", { ref: r, className: L({ className: t }), ...s, children: a });
195
+ function({ children: t, className: a, ...s }, r) {
196
+ return /* @__PURE__ */ o.jsx("div", { ref: r, className: L({ className: a }), ...s, children: t });
196
197
  }
197
198
  ), k = n(
198
- function({ children: a, className: t, ...s }, r) {
199
- return /* @__PURE__ */ o.jsx("div", { ref: r, className: V({ className: t }), ...s, children: a });
199
+ function({ children: t, className: a, ...s }, r) {
200
+ return /* @__PURE__ */ o.jsx("div", { ref: r, className: V({ className: a }), ...s, children: t });
200
201
  }
201
202
  ), O = n(
202
- function({ children: a, className: t, active: s, ...r }, c) {
203
+ function({ children: t, className: a, active: s, ...r }, c) {
203
204
  return /* @__PURE__ */ o.jsx(
204
205
  "div",
205
206
  {
206
207
  ref: c,
207
- className: A({ active: s, className: t }),
208
+ className: A({ active: s, className: a }),
208
209
  "aria-current": s ? "page" : void 0,
209
210
  ...r,
210
- children: a
211
+ children: t
211
212
  }
212
213
  );
213
214
  }
214
215
  ), z = n(
215
- ({ children: e, className: a, ...t }, s) => /* @__PURE__ */ o.jsx("header", { ref: s, className: T({ className: a }), ...t, children: e })
216
- ), K = Object.assign(z, {
216
+ ({ children: e, className: t, ...a }, s) => /* @__PURE__ */ o.jsx("header", { ref: s, className: T({ className: t }), ...a, children: e })
217
+ ), Q = Object.assign(z, {
217
218
  Leading: F,
218
219
  Trailing: k,
219
220
  NavItem: O,
@@ -230,13 +231,13 @@ const u = i(
230
231
  defaultVariants: {
231
232
  type: "desktop"
232
233
  }
233
- }), Q = p.forwardRef(
234
- function({ type: a = "desktop", className: t, children: s, ...r }, c) {
234
+ }), U = p.forwardRef(
235
+ function({ type: t = "desktop", className: a, children: s, ...r }, c) {
235
236
  return /* @__PURE__ */ o.jsx(
236
237
  "div",
237
238
  {
238
239
  ref: c,
239
- className: l(P({ type: a }), t),
240
+ className: l(P({ type: t }), a),
240
241
  ...r,
241
242
  children: s
242
243
  }
@@ -263,40 +264,40 @@ const u = i(
263
264
  span: "4"
264
265
  }
265
266
  }), E = n(
266
- function({ className: a, children: t, ...s }, r) {
267
+ function({ className: t, children: a, ...s }, r) {
267
268
  return /* @__PURE__ */ o.jsx(
268
269
  "div",
269
270
  {
270
271
  ref: r,
271
- className: l(H(), a),
272
+ className: l(H(), t),
272
273
  ...s,
273
- children: t
274
+ children: a
274
275
  }
275
276
  );
276
277
  }
277
278
  ), $ = n(
278
- function({ span: a = 4, className: t, children: s, ...r }, c) {
279
- const m = Math.min(12, Math.max(1, a));
279
+ function({ span: t = 4, className: a, children: s, ...r }, c) {
280
+ const m = Math.min(12, Math.max(1, t));
280
281
  return /* @__PURE__ */ o.jsx(
281
282
  "div",
282
283
  {
283
284
  ref: c,
284
285
  className: l(
285
286
  M({ span: `${m}` }),
286
- t
287
+ a
287
288
  ),
288
289
  ...r,
289
290
  children: s
290
291
  }
291
292
  );
292
293
  }
293
- ), U = Object.assign(E, {
294
+ ), W = Object.assign(E, {
294
295
  Column: $
295
296
  });
296
297
  export {
297
- G as A,
298
- J as B,
299
- U as F,
300
- Q as P,
301
- K as T
298
+ J as A,
299
+ K as B,
300
+ W as F,
301
+ U as P,
302
+ Q as T
302
303
  };
@@ -1,4 +1,4 @@
1
- import { C as e, a as n, b as p, D as s, R as u, c as i, S as I, d as c, g as S, j as h, i as l, h as r, e as T, T as g, f as m } from "../switch-input-B-pwBWbi.js";
1
+ import { C as e, a as n, b as p, D as s, R as u, c as i, S as I, d as c, g as S, j as h, i as l, h as r, e as T, T as g, f as m } from "../switch-input-o8oO4Rf4.js";
2
2
  export {
3
3
  e as CalculatorInput,
4
4
  n as CheckboxInput,
@@ -0,0 +1,329 @@
1
+ import ne from "react";
2
+ var P = { exports: {} }, y = {};
3
+ /**
4
+ * @license React
5
+ * react-jsx-runtime.production.js
6
+ *
7
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
8
+ *
9
+ * This source code is licensed under the MIT license found in the
10
+ * LICENSE file in the root directory of this source tree.
11
+ */
12
+ var W;
13
+ function ae() {
14
+ if (W) return y;
15
+ W = 1;
16
+ var n = Symbol.for("react.transitional.element"), s = Symbol.for("react.fragment");
17
+ function t(a, u, l) {
18
+ var _ = null;
19
+ if (l !== void 0 && (_ = "" + l), u.key !== void 0 && (_ = "" + u.key), "key" in u) {
20
+ l = {};
21
+ for (var E in u)
22
+ E !== "key" && (l[E] = u[E]);
23
+ } else l = u;
24
+ return u = l.ref, {
25
+ $$typeof: n,
26
+ type: a,
27
+ key: _,
28
+ ref: u !== void 0 ? u : null,
29
+ props: l
30
+ };
31
+ }
32
+ return y.Fragment = s, y.jsx = t, y.jsxs = t, y;
33
+ }
34
+ var A = {};
35
+ /**
36
+ * @license React
37
+ * react-jsx-runtime.development.js
38
+ *
39
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
40
+ *
41
+ * This source code is licensed under the MIT license found in the
42
+ * LICENSE file in the root directory of this source tree.
43
+ */
44
+ var L;
45
+ function oe() {
46
+ return L || (L = 1, process.env.NODE_ENV !== "production" && function() {
47
+ function n(e) {
48
+ if (e == null) return null;
49
+ if (typeof e == "function")
50
+ return e.$$typeof === ee ? null : e.displayName || e.name || null;
51
+ if (typeof e == "string") return e;
52
+ switch (e) {
53
+ case T:
54
+ return "Fragment";
55
+ case z:
56
+ return "Profiler";
57
+ case O:
58
+ return "StrictMode";
59
+ case H:
60
+ return "Suspense";
61
+ case Z:
62
+ return "SuspenseList";
63
+ case K:
64
+ return "Activity";
65
+ }
66
+ if (typeof e == "object")
67
+ switch (typeof e.tag == "number" && console.error(
68
+ "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
69
+ ), e.$$typeof) {
70
+ case x:
71
+ return "Portal";
72
+ case X:
73
+ return (e.displayName || "Context") + ".Provider";
74
+ case G:
75
+ return (e._context.displayName || "Context") + ".Consumer";
76
+ case B:
77
+ var r = e.render;
78
+ return e = e.displayName, e || (e = r.displayName || r.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
79
+ case Q:
80
+ return r = e.displayName || null, r !== null ? r : n(e.type) || "Memo";
81
+ case C:
82
+ r = e._payload, e = e._init;
83
+ try {
84
+ return n(e(r));
85
+ } catch {
86
+ }
87
+ }
88
+ return null;
89
+ }
90
+ function s(e) {
91
+ return "" + e;
92
+ }
93
+ function t(e) {
94
+ try {
95
+ s(e);
96
+ var r = !1;
97
+ } catch {
98
+ r = !0;
99
+ }
100
+ if (r) {
101
+ r = console;
102
+ var o = r.error, i = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
103
+ return o.call(
104
+ r,
105
+ "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
106
+ i
107
+ ), s(e);
108
+ }
109
+ }
110
+ function a(e) {
111
+ if (e === T) return "<>";
112
+ if (typeof e == "object" && e !== null && e.$$typeof === C)
113
+ return "<...>";
114
+ try {
115
+ var r = n(e);
116
+ return r ? "<" + r + ">" : "<...>";
117
+ } catch {
118
+ return "<...>";
119
+ }
120
+ }
121
+ function u() {
122
+ var e = g.A;
123
+ return e === null ? null : e.getOwner();
124
+ }
125
+ function l() {
126
+ return Error("react-stack-top-frame");
127
+ }
128
+ function _(e) {
129
+ if (Y.call(e, "key")) {
130
+ var r = Object.getOwnPropertyDescriptor(e, "key").get;
131
+ if (r && r.isReactWarning) return !1;
132
+ }
133
+ return e.key !== void 0;
134
+ }
135
+ function E(e, r) {
136
+ function o() {
137
+ I || (I = !0, console.error(
138
+ "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
139
+ r
140
+ ));
141
+ }
142
+ o.isReactWarning = !0, Object.defineProperty(e, "key", {
143
+ get: o,
144
+ configurable: !0
145
+ });
146
+ }
147
+ function S() {
148
+ var e = n(this.type);
149
+ return F[e] || (F[e] = !0, console.error(
150
+ "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
151
+ )), e = this.props.ref, e !== void 0 ? e : null;
152
+ }
153
+ function f(e, r, o, i, R, m, h, p) {
154
+ return o = m.ref, e = {
155
+ $$typeof: j,
156
+ type: e,
157
+ key: r,
158
+ props: m,
159
+ _owner: R
160
+ }, (o !== void 0 ? o : null) !== null ? Object.defineProperty(e, "ref", {
161
+ enumerable: !1,
162
+ get: S
163
+ }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
164
+ configurable: !1,
165
+ enumerable: !1,
166
+ writable: !0,
167
+ value: 0
168
+ }), Object.defineProperty(e, "_debugInfo", {
169
+ configurable: !1,
170
+ enumerable: !1,
171
+ writable: !0,
172
+ value: null
173
+ }), Object.defineProperty(e, "_debugStack", {
174
+ configurable: !1,
175
+ enumerable: !1,
176
+ writable: !0,
177
+ value: h
178
+ }), Object.defineProperty(e, "_debugTask", {
179
+ configurable: !1,
180
+ enumerable: !1,
181
+ writable: !0,
182
+ value: p
183
+ }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
184
+ }
185
+ function v(e, r, o, i, R, m, h, p) {
186
+ var c = r.children;
187
+ if (c !== void 0)
188
+ if (i)
189
+ if (re(c)) {
190
+ for (i = 0; i < c.length; i++)
191
+ b(c[i]);
192
+ Object.freeze && Object.freeze(c);
193
+ } else
194
+ console.error(
195
+ "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
196
+ );
197
+ else b(c);
198
+ if (Y.call(r, "key")) {
199
+ c = n(e);
200
+ var k = Object.keys(r).filter(function(te) {
201
+ return te !== "key";
202
+ });
203
+ i = 0 < k.length ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}", D[c + i] || (k = 0 < k.length ? "{" + k.join(": ..., ") + ": ...}" : "{}", console.error(
204
+ `A props object containing a "key" prop is being spread into JSX:
205
+ let props = %s;
206
+ <%s {...props} />
207
+ React keys must be passed directly to JSX without using spread:
208
+ let props = %s;
209
+ <%s key={someKey} {...props} />`,
210
+ i,
211
+ c,
212
+ k,
213
+ c
214
+ ), D[c + i] = !0);
215
+ }
216
+ if (c = null, o !== void 0 && (t(o), c = "" + o), _(r) && (t(r.key), c = "" + r.key), "key" in r) {
217
+ o = {};
218
+ for (var N in r)
219
+ N !== "key" && (o[N] = r[N]);
220
+ } else o = r;
221
+ return c && E(
222
+ o,
223
+ typeof e == "function" ? e.displayName || e.name || "Unknown" : e
224
+ ), f(
225
+ e,
226
+ c,
227
+ m,
228
+ R,
229
+ u(),
230
+ o,
231
+ h,
232
+ p
233
+ );
234
+ }
235
+ function b(e) {
236
+ typeof e == "object" && e !== null && e.$$typeof === j && e._store && (e._store.validated = 1);
237
+ }
238
+ var d = ne, j = Symbol.for("react.transitional.element"), x = Symbol.for("react.portal"), T = Symbol.for("react.fragment"), O = Symbol.for("react.strict_mode"), z = Symbol.for("react.profiler"), G = Symbol.for("react.consumer"), X = Symbol.for("react.context"), B = Symbol.for("react.forward_ref"), H = Symbol.for("react.suspense"), Z = Symbol.for("react.suspense_list"), Q = Symbol.for("react.memo"), C = Symbol.for("react.lazy"), K = Symbol.for("react.activity"), ee = Symbol.for("react.client.reference"), g = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Y = Object.prototype.hasOwnProperty, re = Array.isArray, w = console.createTask ? console.createTask : function() {
239
+ return null;
240
+ };
241
+ d = {
242
+ "react-stack-bottom-frame": function(e) {
243
+ return e();
244
+ }
245
+ };
246
+ var I, F = {}, V = d["react-stack-bottom-frame"].bind(
247
+ d,
248
+ l
249
+ )(), $ = w(a(l)), D = {};
250
+ A.Fragment = T, A.jsx = function(e, r, o, i, R) {
251
+ var m = 1e4 > g.recentlyCreatedOwnerStacks++;
252
+ return v(
253
+ e,
254
+ r,
255
+ o,
256
+ !1,
257
+ i,
258
+ R,
259
+ m ? Error("react-stack-top-frame") : V,
260
+ m ? w(a(e)) : $
261
+ );
262
+ }, A.jsxs = function(e, r, o, i, R) {
263
+ var m = 1e4 > g.recentlyCreatedOwnerStacks++;
264
+ return v(
265
+ e,
266
+ r,
267
+ o,
268
+ !0,
269
+ i,
270
+ R,
271
+ m ? Error("react-stack-top-frame") : V,
272
+ m ? w(a(e)) : $
273
+ );
274
+ };
275
+ }()), A;
276
+ }
277
+ var M;
278
+ function se() {
279
+ return M || (M = 1, process.env.NODE_ENV === "production" ? P.exports = ae() : P.exports = oe()), P.exports;
280
+ }
281
+ var ie = se();
282
+ function q(n) {
283
+ var s, t, a = "";
284
+ if (typeof n == "string" || typeof n == "number") a += n;
285
+ else if (typeof n == "object") if (Array.isArray(n)) {
286
+ var u = n.length;
287
+ for (s = 0; s < u; s++) n[s] && (t = q(n[s])) && (a && (a += " "), a += t);
288
+ } else for (t in n) n[t] && (a && (a += " "), a += t);
289
+ return a;
290
+ }
291
+ function ue() {
292
+ for (var n, s, t = 0, a = "", u = arguments.length; t < u; t++) (n = arguments[t]) && (s = q(n)) && (a && (a += " "), a += s);
293
+ return a;
294
+ }
295
+ const U = (n) => typeof n == "boolean" ? `${n}` : n === 0 ? "0" : n, J = ue, ce = (n, s) => (t) => {
296
+ var a;
297
+ if (s?.variants == null) return J(n, t?.class, t?.className);
298
+ const { variants: u, defaultVariants: l } = s, _ = Object.keys(u).map((f) => {
299
+ const v = t?.[f], b = l?.[f];
300
+ if (v === null) return null;
301
+ const d = U(v) || U(b);
302
+ return u[f][d];
303
+ }), E = t && Object.entries(t).reduce((f, v) => {
304
+ let [b, d] = v;
305
+ return d === void 0 || (f[b] = d), f;
306
+ }, {}), S = s == null || (a = s.compoundVariants) === null || a === void 0 ? void 0 : a.reduce((f, v) => {
307
+ let { class: b, className: d, ...j } = v;
308
+ return Object.entries(j).every((x) => {
309
+ let [T, O] = x;
310
+ return Array.isArray(O) ? O.includes({
311
+ ...l,
312
+ ...E
313
+ }[T]) : {
314
+ ...l,
315
+ ...E
316
+ }[T] === O;
317
+ }) ? [
318
+ ...f,
319
+ b,
320
+ d
321
+ ] : f;
322
+ }, []);
323
+ return J(n, _, S, t?.class, t?.className);
324
+ };
325
+ export {
326
+ ce as a,
327
+ ue as c,
328
+ ie as j
329
+ };