@sudobility/analytics-components 1.0.12 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,71 +1,70 @@
1
- import M from "react";
2
- import { cn as d, Spinner as J } from "@sudobility/components";
3
- import { textVariants as u } from "@sudobility/design";
4
- var S = { exports: {} }, T = {};
5
- var q;
6
- function de() {
7
- if (q) return T;
8
- q = 1;
1
+ import se from "react";
2
+ import { cn as f } from "@sudobility/components";
3
+ var C = { exports: {} }, j = {};
4
+ var L;
5
+ function ie() {
6
+ if (L) return j;
7
+ L = 1;
9
8
  var t = Symbol.for("react.transitional.element"), a = Symbol.for("react.fragment");
10
- function r(n, s, l) {
11
- var c = null;
12
- if (l !== void 0 && (c = "" + l), s.key !== void 0 && (c = "" + s.key), "key" in s) {
13
- l = {};
14
- for (var g in s)
15
- g !== "key" && (l[g] = s[g]);
16
- } else l = s;
17
- return s = l.ref, {
9
+ function r(n, i, d) {
10
+ var h = null;
11
+ if (d !== void 0 && (h = "" + d), i.key !== void 0 && (h = "" + i.key), "key" in i) {
12
+ d = {};
13
+ for (var b in i)
14
+ b !== "key" && (d[b] = i[b]);
15
+ } else d = i;
16
+ return i = d.ref, {
18
17
  $$typeof: t,
19
18
  type: n,
20
- key: c,
21
- ref: s !== void 0 ? s : null,
22
- props: l
19
+ key: h,
20
+ ref: i !== void 0 ? i : null,
21
+ props: d
23
22
  };
24
23
  }
25
- return T.Fragment = a, T.jsx = r, T.jsxs = r, T;
24
+ return j.Fragment = a, j.jsx = r, j.jsxs = r, j;
26
25
  }
27
- var C = {};
28
- var B;
29
- function ce() {
30
- return B || (B = 1, process.env.NODE_ENV !== "production" && (function() {
26
+ var T = {};
27
+ var q;
28
+ function le() {
29
+ return q || (q = 1, process.env.NODE_ENV !== "production" && (function() {
31
30
  function t(e) {
32
31
  if (e == null) return null;
33
32
  if (typeof e == "function")
34
- return e.$$typeof === se ? null : e.displayName || e.name || null;
33
+ return e.$$typeof === ae ? null : e.displayName || e.name || null;
35
34
  if (typeof e == "string") return e;
36
35
  switch (e) {
37
- case j:
36
+ case p:
38
37
  return "Fragment";
39
- case A:
38
+ case O:
40
39
  return "Profiler";
41
- case E:
40
+ case k:
42
41
  return "StrictMode";
43
- case te:
42
+ case K:
44
43
  return "Suspense";
45
- case ae:
44
+ case ee:
46
45
  return "SuspenseList";
47
- case oe:
46
+ case te:
48
47
  return "Activity";
49
48
  }
50
49
  if (typeof e == "object")
51
50
  switch (typeof e.tag == "number" && console.error(
52
51
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
53
52
  ), e.$$typeof) {
54
- case N:
53
+ case E:
55
54
  return "Portal";
56
- case ee:
55
+ case H:
57
56
  return e.displayName || "Context";
58
- case K:
57
+ case Q:
59
58
  return (e._context.displayName || "Context") + ".Consumer";
59
+ case Z:
60
+ var o = e.render;
61
+ return e = e.displayName, e || (e = o.displayName || o.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
60
62
  case re:
61
- var i = e.render;
62
- return e = e.displayName, e || (e = i.displayName || i.name || "", e = e !== "" ? "ForwardRef(" + e + ")" : "ForwardRef"), e;
63
- case ne:
64
- return i = e.displayName || null, i !== null ? i : t(e.type) || "Memo";
65
- case O:
66
- i = e._payload, e = e._init;
63
+ return o = e.displayName || null, o !== null ? o : t(e.type) || "Memo";
64
+ case S:
65
+ o = e._payload, e = e._init;
67
66
  try {
68
- return t(e(i));
67
+ return t(e(o));
69
68
  } catch {
70
69
  }
71
70
  }
@@ -77,74 +76,74 @@ function ce() {
77
76
  function r(e) {
78
77
  try {
79
78
  a(e);
80
- var i = !1;
79
+ var o = !1;
81
80
  } catch {
82
- i = !0;
81
+ o = !0;
83
82
  }
84
- if (i) {
85
- i = console;
86
- var b = i.error, v = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
87
- return b.call(
88
- i,
83
+ if (o) {
84
+ o = console;
85
+ var l = o.error, c = typeof Symbol == "function" && Symbol.toStringTag && e[Symbol.toStringTag] || e.constructor.name || "Object";
86
+ return l.call(
87
+ o,
89
88
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
90
- v
89
+ c
91
90
  ), a(e);
92
91
  }
93
92
  }
94
93
  function n(e) {
95
- if (e === j) return "<>";
96
- if (typeof e == "object" && e !== null && e.$$typeof === O)
94
+ if (e === p) return "<>";
95
+ if (typeof e == "object" && e !== null && e.$$typeof === S)
97
96
  return "<...>";
98
97
  try {
99
- var i = t(e);
100
- return i ? "<" + i + ">" : "<...>";
98
+ var o = t(e);
99
+ return o ? "<" + o + ">" : "<...>";
101
100
  } catch {
102
101
  return "<...>";
103
102
  }
104
103
  }
105
- function s() {
106
- var e = P.A;
104
+ function i() {
105
+ var e = A.A;
107
106
  return e === null ? null : e.getOwner();
108
107
  }
109
- function l() {
108
+ function d() {
110
109
  return Error("react-stack-top-frame");
111
110
  }
112
- function c(e) {
113
- if (D.call(e, "key")) {
114
- var i = Object.getOwnPropertyDescriptor(e, "key").get;
115
- if (i && i.isReactWarning) return !1;
111
+ function h(e) {
112
+ if ($.call(e, "key")) {
113
+ var o = Object.getOwnPropertyDescriptor(e, "key").get;
114
+ if (o && o.isReactWarning) return !1;
116
115
  }
117
116
  return e.key !== void 0;
118
117
  }
119
- function g(e, i) {
120
- function b() {
121
- Y || (Y = !0, console.error(
118
+ function b(e, o) {
119
+ function l() {
120
+ D || (D = !0, console.error(
122
121
  "%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)",
123
- i
122
+ o
124
123
  ));
125
124
  }
126
- b.isReactWarning = !0, Object.defineProperty(e, "key", {
127
- get: b,
125
+ l.isReactWarning = !0, Object.defineProperty(e, "key", {
126
+ get: l,
128
127
  configurable: !0
129
128
  });
130
129
  }
131
- function w() {
130
+ function _() {
132
131
  var e = t(this.type);
133
- return I[e] || (I[e] = !0, console.error(
132
+ return Y[e] || (Y[e] = !0, console.error(
134
133
  "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."
135
134
  )), e = this.props.ref, e !== void 0 ? e : null;
136
135
  }
137
- function x(e, i, b, v, U, V) {
138
- var p = b.ref;
136
+ function g(e, o, l, c, N, U) {
137
+ var u = l.ref;
139
138
  return e = {
140
- $$typeof: f,
139
+ $$typeof: m,
141
140
  type: e,
142
- key: i,
143
- props: b,
144
- _owner: v
145
- }, (p !== void 0 ? p : null) !== null ? Object.defineProperty(e, "ref", {
141
+ key: o,
142
+ props: l,
143
+ _owner: c
144
+ }, (u !== void 0 ? u : null) !== null ? Object.defineProperty(e, "ref", {
146
145
  enumerable: !1,
147
- get: w
146
+ get: _
148
147
  }) : Object.defineProperty(e, "ref", { enumerable: !1, value: null }), e._store = {}, Object.defineProperty(e._store, "validated", {
149
148
  configurable: !1,
150
149
  enumerable: !1,
@@ -159,151 +158,151 @@ function ce() {
159
158
  configurable: !1,
160
159
  enumerable: !1,
161
160
  writable: !0,
162
- value: U
161
+ value: N
163
162
  }), Object.defineProperty(e, "_debugTask", {
164
163
  configurable: !1,
165
164
  enumerable: !1,
166
165
  writable: !0,
167
- value: V
166
+ value: U
168
167
  }), Object.freeze && (Object.freeze(e.props), Object.freeze(e)), e;
169
168
  }
170
- function y(e, i, b, v, U, V) {
171
- var p = i.children;
172
- if (p !== void 0)
173
- if (v)
174
- if (le(p)) {
175
- for (v = 0; v < p.length; v++)
176
- h(p[v]);
177
- Object.freeze && Object.freeze(p);
169
+ function v(e, o, l, c, N, U) {
170
+ var u = o.children;
171
+ if (u !== void 0)
172
+ if (c)
173
+ if (ne(u)) {
174
+ for (c = 0; c < u.length; c++)
175
+ y(u[c]);
176
+ Object.freeze && Object.freeze(u);
178
177
  } else
179
178
  console.error(
180
179
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
181
180
  );
182
- else h(p);
183
- if (D.call(i, "key")) {
184
- p = t(e);
185
- var R = Object.keys(i).filter(function(ie) {
186
- return ie !== "key";
181
+ else y(u);
182
+ if ($.call(o, "key")) {
183
+ u = t(e);
184
+ var R = Object.keys(o).filter(function(oe) {
185
+ return oe !== "key";
187
186
  });
188
- v = 0 < R.length ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}", z[p + v] || (R = 0 < R.length ? "{" + R.join(": ..., ") + ": ...}" : "{}", console.error(
187
+ c = 0 < R.length ? "{key: someKey, " + R.join(": ..., ") + ": ...}" : "{key: someKey}", M[u + c] || (R = 0 < R.length ? "{" + R.join(": ..., ") + ": ...}" : "{}", console.error(
189
188
  `A props object containing a "key" prop is being spread into JSX:
190
189
  let props = %s;
191
190
  <%s {...props} />
192
191
  React keys must be passed directly to JSX without using spread:
193
192
  let props = %s;
194
193
  <%s key={someKey} {...props} />`,
195
- v,
196
- p,
194
+ c,
195
+ u,
197
196
  R,
198
- p
199
- ), z[p + v] = !0);
197
+ u
198
+ ), M[u + c] = !0);
200
199
  }
201
- if (p = null, b !== void 0 && (r(b), p = "" + b), c(i) && (r(i.key), p = "" + i.key), "key" in i) {
202
- b = {};
203
- for (var L in i)
204
- L !== "key" && (b[L] = i[L]);
205
- } else b = i;
206
- return p && g(
207
- b,
200
+ if (u = null, l !== void 0 && (r(l), u = "" + l), h(o) && (r(o.key), u = "" + o.key), "key" in o) {
201
+ l = {};
202
+ for (var I in o)
203
+ I !== "key" && (l[I] = o[I]);
204
+ } else l = o;
205
+ return u && b(
206
+ l,
208
207
  typeof e == "function" ? e.displayName || e.name || "Unknown" : e
209
- ), x(
208
+ ), g(
210
209
  e,
211
- p,
212
- b,
213
- s(),
214
- U,
215
- V
210
+ u,
211
+ l,
212
+ i(),
213
+ N,
214
+ U
216
215
  );
217
216
  }
218
- function h(e) {
219
- m(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === O && (e._payload.status === "fulfilled" ? m(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
217
+ function y(e) {
218
+ x(e) ? e._store && (e._store.validated = 1) : typeof e == "object" && e !== null && e.$$typeof === S && (e._payload.status === "fulfilled" ? x(e._payload.value) && e._payload.value._store && (e._payload.value._store.validated = 1) : e._store && (e._store.validated = 1));
220
219
  }
221
- function m(e) {
222
- return typeof e == "object" && e !== null && e.$$typeof === f;
220
+ function x(e) {
221
+ return typeof e == "object" && e !== null && e.$$typeof === m;
223
222
  }
224
- var k = M, f = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), j = Symbol.for("react.fragment"), E = Symbol.for("react.strict_mode"), A = Symbol.for("react.profiler"), K = Symbol.for("react.consumer"), ee = Symbol.for("react.context"), re = Symbol.for("react.forward_ref"), te = Symbol.for("react.suspense"), ae = Symbol.for("react.suspense_list"), ne = Symbol.for("react.memo"), O = Symbol.for("react.lazy"), oe = Symbol.for("react.activity"), se = Symbol.for("react.client.reference"), P = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, D = Object.prototype.hasOwnProperty, le = Array.isArray, $ = console.createTask ? console.createTask : function() {
223
+ var w = se, m = Symbol.for("react.transitional.element"), E = Symbol.for("react.portal"), p = Symbol.for("react.fragment"), k = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), Q = Symbol.for("react.consumer"), H = Symbol.for("react.context"), Z = Symbol.for("react.forward_ref"), K = Symbol.for("react.suspense"), ee = Symbol.for("react.suspense_list"), re = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), te = Symbol.for("react.activity"), ae = Symbol.for("react.client.reference"), A = w.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, $ = Object.prototype.hasOwnProperty, ne = Array.isArray, P = console.createTask ? console.createTask : function() {
225
224
  return null;
226
225
  };
227
- k = {
226
+ w = {
228
227
  react_stack_bottom_frame: function(e) {
229
228
  return e();
230
229
  }
231
230
  };
232
- var Y, I = {}, F = k.react_stack_bottom_frame.bind(
233
- k,
234
- l
235
- )(), W = $(n(l)), z = {};
236
- C.Fragment = j, C.jsx = function(e, i, b) {
237
- var v = 1e4 > P.recentlyCreatedOwnerStacks++;
238
- return y(
231
+ var D, Y = {}, W = w.react_stack_bottom_frame.bind(
232
+ w,
233
+ d
234
+ )(), F = P(n(d)), M = {};
235
+ T.Fragment = p, T.jsx = function(e, o, l) {
236
+ var c = 1e4 > A.recentlyCreatedOwnerStacks++;
237
+ return v(
239
238
  e,
240
- i,
241
- b,
239
+ o,
240
+ l,
242
241
  !1,
243
- v ? Error("react-stack-top-frame") : F,
244
- v ? $(n(e)) : W
242
+ c ? Error("react-stack-top-frame") : W,
243
+ c ? P(n(e)) : F
245
244
  );
246
- }, C.jsxs = function(e, i, b) {
247
- var v = 1e4 > P.recentlyCreatedOwnerStacks++;
248
- return y(
245
+ }, T.jsxs = function(e, o, l) {
246
+ var c = 1e4 > A.recentlyCreatedOwnerStacks++;
247
+ return v(
249
248
  e,
250
- i,
251
- b,
249
+ o,
250
+ l,
252
251
  !0,
253
- v ? Error("react-stack-top-frame") : F,
254
- v ? $(n(e)) : W
252
+ c ? Error("react-stack-top-frame") : W,
253
+ c ? P(n(e)) : F
255
254
  );
256
255
  };
257
- })()), C;
256
+ })()), T;
258
257
  }
259
- var G;
260
- function ue() {
261
- return G || (G = 1, process.env.NODE_ENV === "production" ? S.exports = de() : S.exports = ce()), S.exports;
258
+ var z;
259
+ function de() {
260
+ return z || (z = 1, process.env.NODE_ENV === "production" ? C.exports = ie() : C.exports = le()), C.exports;
262
261
  }
263
- var o = ue();
264
- function Z(t) {
262
+ var s = de();
263
+ function X(t) {
265
264
  var a, r, n = "";
266
265
  if (typeof t == "string" || typeof t == "number") n += t;
267
266
  else if (typeof t == "object") if (Array.isArray(t)) {
268
- var s = t.length;
269
- for (a = 0; a < s; a++) t[a] && (r = Z(t[a])) && (n && (n += " "), n += r);
267
+ var i = t.length;
268
+ for (a = 0; a < i; a++) t[a] && (r = X(t[a])) && (n && (n += " "), n += r);
270
269
  } else for (r in t) t[r] && (n && (n += " "), n += r);
271
270
  return n;
272
271
  }
273
- function ge() {
274
- for (var t, a, r = 0, n = "", s = arguments.length; r < s; r++) (t = arguments[r]) && (a = Z(t)) && (n && (n += " "), n += a);
272
+ function ce() {
273
+ for (var t, a, r = 0, n = "", i = arguments.length; r < i; r++) (t = arguments[r]) && (a = X(t)) && (n && (n += " "), n += a);
275
274
  return n;
276
275
  }
277
- const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ = (t, a) => (r) => {
276
+ const J = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, G = ce, V = (t, a) => (r) => {
278
277
  var n;
279
- if (a?.variants == null) return Q(t, r?.class, r?.className);
280
- const { variants: s, defaultVariants: l } = a, c = Object.keys(s).map((x) => {
281
- const y = r?.[x], h = l?.[x];
282
- if (y === null) return null;
283
- const m = X(y) || X(h);
284
- return s[x][m];
285
- }), g = r && Object.entries(r).reduce((x, y) => {
286
- let [h, m] = y;
287
- return m === void 0 || (x[h] = m), x;
288
- }, {}), w = a == null || (n = a.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((x, y) => {
289
- let { class: h, className: m, ...k } = y;
290
- return Object.entries(k).every((f) => {
291
- let [N, j] = f;
292
- return Array.isArray(j) ? j.includes({
293
- ...l,
294
- ...g
295
- }[N]) : {
296
- ...l,
297
- ...g
298
- }[N] === j;
278
+ if (a?.variants == null) return G(t, r?.class, r?.className);
279
+ const { variants: i, defaultVariants: d } = a, h = Object.keys(i).map((g) => {
280
+ const v = r?.[g], y = d?.[g];
281
+ if (v === null) return null;
282
+ const x = J(v) || J(y);
283
+ return i[g][x];
284
+ }), b = r && Object.entries(r).reduce((g, v) => {
285
+ let [y, x] = v;
286
+ return x === void 0 || (g[y] = x), g;
287
+ }, {}), _ = a == null || (n = a.compoundVariants) === null || n === void 0 ? void 0 : n.reduce((g, v) => {
288
+ let { class: y, className: x, ...w } = v;
289
+ return Object.entries(w).every((m) => {
290
+ let [E, p] = m;
291
+ return Array.isArray(p) ? p.includes({
292
+ ...d,
293
+ ...b
294
+ }[E]) : {
295
+ ...d,
296
+ ...b
297
+ }[E] === p;
299
298
  }) ? [
300
- ...x,
301
- h,
302
- m
303
- ] : x;
299
+ ...g,
300
+ y,
301
+ x
302
+ ] : g;
304
303
  }, []);
305
- return Q(t, c, w, r?.class, r?.className);
306
- }, xe = _("grid gap-8", {
304
+ return G(t, h, _, r?.class, r?.className);
305
+ }, ue = V("grid gap-8", {
307
306
  variants: {
308
307
  layout: {
309
308
  grid: "grid-cols-1 md:grid-cols-2",
@@ -320,7 +319,7 @@ const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ =
320
319
  layout: "grid",
321
320
  spacing: "md"
322
321
  }
323
- }), me = _("rounded-xl p-6 transition-all duration-300", {
322
+ }), ge = V("rounded-xl p-6 transition-all duration-300", {
324
323
  variants: {
325
324
  variant: {
326
325
  traditional: "bg-red-50 dark:bg-red-900/20 border-2 border-red-100 dark:border-red-800/30 hover:border-red-200 dark:hover:border-red-700/50",
@@ -338,7 +337,7 @@ const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ =
338
337
  variant: "traditional",
339
338
  animation: "hover"
340
339
  }
341
- }), fe = _("text-lg font-bold mb-4 flex items-center gap-3", {
340
+ }), me = V("text-lg font-bold mb-4 flex items-center gap-3", {
342
341
  variants: {
343
342
  variant: {
344
343
  traditional: "text-red-600 dark:text-red-400",
@@ -350,100 +349,100 @@ const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ =
350
349
  defaultVariants: {
351
350
  variant: "traditional"
352
351
  }
353
- }), be = {
352
+ }), fe = {
354
353
  traditional: "❌",
355
354
  web3: "✅",
356
355
  neutral: "ℹ️",
357
356
  elevated: "⭐"
358
- }, he = {
357
+ }, be = {
359
358
  red: "bg-red-100 text-red-800 dark:bg-red-900/30 dark:text-red-300",
360
359
  green: "bg-green-100 text-green-800 dark:bg-green-900/30 dark:text-green-300",
361
360
  blue: "bg-blue-100 text-blue-800 dark:bg-blue-900/30 dark:text-blue-300",
362
361
  gray: "bg-gray-100 text-gray-800 dark:bg-gray-800 dark:text-gray-300"
363
- }, Ee = ({
362
+ }, ye = ({
364
363
  className: t,
365
364
  layout: a = "grid",
366
365
  spacing: r = "md",
367
366
  title: n,
368
- subtitle: s,
369
- traditional: l,
370
- web3: c,
371
- cardAnimation: g = "hover",
372
- animate: w = !0,
373
- animationDelay: x = 0,
374
- traditionalIcon: y,
375
- web3Icon: h
367
+ subtitle: i,
368
+ traditional: d,
369
+ web3: h,
370
+ cardAnimation: b = "hover",
371
+ animate: _ = !0,
372
+ animationDelay: g = 0,
373
+ traditionalIcon: v,
374
+ web3Icon: y
376
375
  }) => {
377
- const m = (f, N) => {
378
- const j = /* @__PURE__ */ o.jsxs(
376
+ const x = (m, E) => {
377
+ const p = /* @__PURE__ */ s.jsxs(
379
378
  "div",
380
379
  {
381
- className: d(
382
- me({ variant: f.variant, animation: g })
380
+ className: f(
381
+ ge({ variant: m.variant, animation: b })
383
382
  ),
384
383
  children: [
385
- /* @__PURE__ */ o.jsxs("div", { className: d(fe({ variant: f.variant })), children: [
386
- /* @__PURE__ */ o.jsx("span", { className: "text-2xl", children: f.icon || (N === 0 ? y : h) || be[f.variant] }),
387
- /* @__PURE__ */ o.jsx("div", { className: "flex-1", children: /* @__PURE__ */ o.jsxs("div", { className: "flex items-center gap-2", children: [
388
- /* @__PURE__ */ o.jsx("span", { children: f.title }),
389
- f.badge && /* @__PURE__ */ o.jsx(
384
+ /* @__PURE__ */ s.jsxs("div", { className: f(me({ variant: m.variant })), children: [
385
+ /* @__PURE__ */ s.jsx("span", { className: "text-2xl", children: m.icon || (E === 0 ? v : y) || fe[m.variant] }),
386
+ /* @__PURE__ */ s.jsx("div", { className: "flex-1", children: /* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-2", children: [
387
+ /* @__PURE__ */ s.jsx("span", { children: m.title }),
388
+ m.badge && /* @__PURE__ */ s.jsx(
390
389
  "span",
391
390
  {
392
- className: d(
391
+ className: f(
393
392
  "text-xs font-medium px-2 py-1 rounded-full",
394
- he[f.badge.color || "gray"]
393
+ be[m.badge.color || "gray"]
395
394
  ),
396
- children: f.badge.text
395
+ children: m.badge.text
397
396
  }
398
397
  )
399
398
  ] }) })
400
399
  ] }),
401
- /* @__PURE__ */ o.jsx("ul", { className: "space-y-3", children: f.items.map((E, A) => /* @__PURE__ */ o.jsxs(
400
+ /* @__PURE__ */ s.jsx("ul", { className: "space-y-3", children: m.items.map((k, O) => /* @__PURE__ */ s.jsxs(
402
401
  "li",
403
402
  {
404
- className: d(
403
+ className: f(
405
404
  "flex items-start gap-3 text-sm leading-relaxed",
406
- E.highlight && "font-medium"
405
+ k.highlight && "font-medium"
407
406
  ),
408
407
  children: [
409
- E.icon && /* @__PURE__ */ o.jsx("span", { className: "flex-shrink-0 mt-0.5 text-base", children: E.icon }),
410
- /* @__PURE__ */ o.jsxs("div", { className: "flex-1", children: [
411
- /* @__PURE__ */ o.jsx(
408
+ k.icon && /* @__PURE__ */ s.jsx("span", { className: "flex-shrink-0 mt-0.5 text-base", children: k.icon }),
409
+ /* @__PURE__ */ s.jsxs("div", { className: "flex-1", children: [
410
+ /* @__PURE__ */ s.jsx(
412
411
  "span",
413
412
  {
414
- className: d(
415
- f.variant === "traditional" || f.variant === "web3" ? "text-gray-700 dark:text-gray-300" : "text-gray-600 dark:text-gray-400"
413
+ className: f(
414
+ m.variant === "traditional" || m.variant === "web3" ? "text-gray-700 dark:text-gray-300" : "text-gray-600 dark:text-gray-400"
416
415
  ),
417
- children: E.text
416
+ children: k.text
418
417
  }
419
418
  ),
420
- E.subtext && /* @__PURE__ */ o.jsx("p", { className: "text-xs text-gray-500 dark:text-gray-500 mt-1", children: E.subtext })
419
+ k.subtext && /* @__PURE__ */ s.jsx("p", { className: "text-xs text-gray-500 dark:text-gray-500 mt-1", children: k.subtext })
421
420
  ] })
422
421
  ]
423
422
  },
424
- A
423
+ O
425
424
  )) })
426
425
  ]
427
426
  }
428
427
  );
429
- return /* @__PURE__ */ o.jsx("div", { children: j }, f.title);
428
+ return /* @__PURE__ */ s.jsx("div", { children: p }, m.title);
430
429
  };
431
- return /* @__PURE__ */ o.jsxs("div", { className: d("space-y-8", t), children: [
432
- (n || s) && /* @__PURE__ */ o.jsxs("div", { className: "text-center space-y-4", children: [
433
- n && /* @__PURE__ */ o.jsx("h2", { className: "text-2xl sm:text-3xl font-bold text-gray-900 dark:text-white", children: n }),
434
- s && /* @__PURE__ */ o.jsx("p", { className: "text-lg text-gray-600 dark:text-gray-400 max-w-2xl mx-auto", children: s })
430
+ return /* @__PURE__ */ s.jsxs("div", { className: f("space-y-8", t), children: [
431
+ (n || i) && /* @__PURE__ */ s.jsxs("div", { className: "text-center space-y-4", children: [
432
+ n && /* @__PURE__ */ s.jsx("h2", { className: "text-2xl sm:text-3xl font-bold text-gray-900 dark:text-white", children: n }),
433
+ i && /* @__PURE__ */ s.jsx("p", { className: "text-lg text-gray-600 dark:text-gray-400 max-w-2xl mx-auto", children: i })
435
434
  ] }),
436
- /* @__PURE__ */ o.jsxs("div", { className: d(xe({ layout: a, spacing: r })), children: [
437
- m(l, 0),
438
- m(c, 1)
435
+ /* @__PURE__ */ s.jsxs("div", { className: f(ue({ layout: a, spacing: r })), children: [
436
+ x(d, 0),
437
+ x(h, 1)
439
438
  ] })
440
439
  ] });
441
- }, H = (t, a, r, n) => ({
440
+ }, B = (t, a, r, n) => ({
442
441
  title: t,
443
442
  variant: r,
444
- items: a.map((s) => typeof s == "string" ? { text: s } : s),
443
+ items: a.map((i) => typeof i == "string" ? { text: i } : i),
445
444
  ...n
446
- }), _e = (t) => {
445
+ }), he = (t) => {
447
446
  const a = [
448
447
  { text: "Create account with email/password", icon: "🔑" },
449
448
  { text: "Remember multiple passwords", icon: "🧠" },
@@ -460,28 +459,28 @@ const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ =
460
459
  { text: "Censorship resistant", icon: "🛡️" }
461
460
  ];
462
461
  return {
463
- traditional: H(
462
+ traditional: B(
464
463
  t?.traditionalTitle || "Traditional Email",
465
464
  t?.traditionalItems || a,
466
465
  "traditional",
467
466
  { badge: { text: t?.traditionalBadge || "Old Way", color: "red" } }
468
467
  ),
469
- web3: H(
468
+ web3: B(
470
469
  t?.web3Title || "Web3 Email",
471
470
  t?.web3Items || r,
472
471
  "web3",
473
472
  { badge: { text: t?.web3Badge || "New Way", color: "green" } }
474
473
  )
475
474
  };
476
- }, Re = ({
475
+ }, pe = ({
477
476
  className: t,
478
477
  children: a,
479
478
  disabled: r = !1,
480
479
  onClick: n
481
- }) => /* @__PURE__ */ o.jsx(
480
+ }) => /* @__PURE__ */ s.jsx(
482
481
  "div",
483
482
  {
484
- className: d(
483
+ className: f(
485
484
  "p-4 rounded-lg border transition-colors",
486
485
  "bg-white dark:bg-gray-900",
487
486
  "border-gray-200 dark:border-gray-700",
@@ -495,44 +494,15 @@ const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ =
495
494
  "aria-label": "UcontainerUstats",
496
495
  children: a || "UcontainerUstats Component"
497
496
  }
498
- ), Te = ({
499
- icon: t,
500
- title: a = "No data",
501
- description: r,
502
- action: n,
503
- className: s
504
- }) => /* @__PURE__ */ o.jsxs(
505
- "div",
506
- {
507
- className: d(
508
- "flex flex-col items-center justify-center py-12 px-4 text-center",
509
- s
510
- ),
511
- children: [
512
- t && /* @__PURE__ */ o.jsx("div", { className: "mb-4 text-gray-400 dark:text-gray-600", children: t }),
513
- /* @__PURE__ */ o.jsx("h3", { className: d(u.heading.h3(), "mb-2"), children: a }),
514
- r && /* @__PURE__ */ o.jsx(
515
- "p",
516
- {
517
- className: d(
518
- u.body.sm(),
519
- "text-gray-600 dark:text-gray-400 max-w-sm mb-6"
520
- ),
521
- children: r
522
- }
523
- ),
524
- n && /* @__PURE__ */ o.jsx("div", { className: "mt-4", children: n })
525
- ]
526
- }
527
- ), Ce = ({
497
+ ), ke = ({
528
498
  className: t,
529
499
  children: a,
530
500
  disabled: r = !1,
531
501
  onClick: n
532
- }) => /* @__PURE__ */ o.jsx(
502
+ }) => /* @__PURE__ */ s.jsx(
533
503
  "div",
534
504
  {
535
- className: d(
505
+ className: f(
536
506
  "p-4 rounded-lg border transition-colors",
537
507
  "bg-white dark:bg-gray-900",
538
508
  "border-gray-200 dark:border-gray-700",
@@ -546,15 +516,15 @@ const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ =
546
516
  "aria-label": "UfeatureUcomparison",
547
517
  children: a || "UfeatureUcomparison Component"
548
518
  }
549
- ), Ue = ({
519
+ ), we = ({
550
520
  className: t,
551
521
  children: a,
552
522
  disabled: r = !1,
553
523
  onClick: n
554
- }) => /* @__PURE__ */ o.jsx(
524
+ }) => /* @__PURE__ */ s.jsx(
555
525
  "div",
556
526
  {
557
- className: d(
527
+ className: f(
558
528
  "p-4 rounded-lg border transition-colors",
559
529
  "bg-white dark:bg-gray-900",
560
530
  "border-gray-200 dark:border-gray-700",
@@ -568,112 +538,15 @@ const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ =
568
538
  "aria-label": "UfeatureUimportance",
569
539
  children: a || "UfeatureUimportance Component"
570
540
  }
571
- ), Se = ({
572
- value: t,
573
- min: a = 0,
574
- max: r = 100,
575
- size: n = 120,
576
- strokeWidth: s = 10,
577
- showValue: l = !0,
578
- label: c,
579
- variant: g = "primary",
580
- className: w
581
- }) => {
582
- const x = Math.min(r, Math.max(a, t)), y = (x - a) / (r - a) * 100, h = n / 2, m = (n - s) / 2, k = Math.PI * m, f = k - y / 100 * k, N = {
583
- primary: "stroke-blue-600 dark:stroke-blue-500",
584
- success: "stroke-green-600 dark:stroke-green-500",
585
- warning: "stroke-yellow-600 dark:stroke-yellow-500",
586
- danger: "stroke-red-600 dark:stroke-red-500"
587
- };
588
- return /* @__PURE__ */ o.jsxs("div", { className: d("inline-flex flex-col items-center gap-2", w), children: [
589
- /* @__PURE__ */ o.jsxs("svg", { width: n, height: n * 0.65, className: "transform rotate-180", children: [
590
- /* @__PURE__ */ o.jsx(
591
- "path",
592
- {
593
- d: `M ${s / 2} ${h} A ${m} ${m} 0 0 1 ${n - s / 2} ${h}`,
594
- fill: "none",
595
- className: "stroke-gray-200 dark:stroke-gray-700",
596
- strokeWidth: s,
597
- strokeLinecap: "round"
598
- }
599
- ),
600
- /* @__PURE__ */ o.jsx(
601
- "path",
602
- {
603
- d: `M ${s / 2} ${h} A ${m} ${m} 0 0 1 ${n - s / 2} ${h}`,
604
- fill: "none",
605
- className: d(N[g], "transition-all duration-500"),
606
- strokeWidth: s,
607
- strokeDasharray: k,
608
- strokeDashoffset: f,
609
- strokeLinecap: "round"
610
- }
611
- )
612
- ] }),
613
- l && /* @__PURE__ */ o.jsxs("div", { className: "text-center -mt-8", children: [
614
- /* @__PURE__ */ o.jsx("div", { className: "text-2xl font-bold text-gray-900 dark:text-white", children: Math.round(x) }),
615
- c && /* @__PURE__ */ o.jsx("div", { className: "text-xs text-gray-600 dark:text-gray-400", children: c })
616
- ] })
617
- ] });
618
- }, Ae = ({
619
- message: t = "Loading...",
620
- size: a = "default",
621
- fullScreen: r = !1,
622
- variant: n = "default",
623
- className: s
624
- }) => {
625
- const c = {
626
- small: { spinner: "small", text: "text-sm" },
627
- default: { spinner: "default", text: "text-base" },
628
- large: { spinner: "large", text: "text-lg" }
629
- }[a], g = r ? "fixed inset-0 z-50 flex items-center justify-center bg-white/80 dark:bg-gray-900/80" : "flex flex-col items-center justify-center p-8", w = /* @__PURE__ */ o.jsxs("div", { className: d(g, s), children: [
630
- /* @__PURE__ */ o.jsx(J, { size: c.spinner, variant: n, className: "mb-4" }),
631
- t && /* @__PURE__ */ o.jsx(
632
- "p",
633
- {
634
- className: d(
635
- c.text,
636
- "text-gray-600 dark:text-gray-400 text-center max-w-sm"
637
- ),
638
- children: t
639
- }
640
- )
641
- ] });
642
- return r ? /* @__PURE__ */ o.jsx("div", { className: "fixed inset-0 z-50 bg-white/80 dark:bg-gray-900/80 backdrop-blur-sm", children: /* @__PURE__ */ o.jsxs("div", { className: "flex items-center justify-center min-h-full p-4", children: [
643
- /* @__PURE__ */ o.jsx(J, { size: c.spinner, variant: n, className: "mb-4" }),
644
- t && /* @__PURE__ */ o.jsx("p", { className: "text-center text-gray-600 dark:text-gray-400 max-w-sm", children: t })
645
- ] }) }) : w;
646
- }, Oe = ({
647
- className: t,
648
- children: a,
649
- disabled: r = !1,
650
- onClick: n
651
- }) => /* @__PURE__ */ o.jsx(
652
- "div",
653
- {
654
- className: d(
655
- "p-4 rounded-lg border transition-colors",
656
- "bg-white dark:bg-gray-900",
657
- "border-gray-200 dark:border-gray-700",
658
- "text-gray-900 dark:text-white",
659
- r && "opacity-50 cursor-not-allowed",
660
- "hover:bg-gray-50 dark:hover:bg-gray-800",
661
- t
662
- ),
663
- onClick: r ? void 0 : n,
664
- role: "region",
665
- "aria-label": "UmetricUcomparison",
666
- children: a || "UmetricUcomparison Component"
667
- }
668
- ), Pe = ({
541
+ ), _e = ({
669
542
  className: t,
670
543
  children: a,
671
544
  disabled: r = !1,
672
545
  onClick: n
673
- }) => /* @__PURE__ */ o.jsx(
546
+ }) => /* @__PURE__ */ s.jsx(
674
547
  "div",
675
548
  {
676
- className: d(
549
+ className: f(
677
550
  "p-4 rounded-lg border transition-colors",
678
551
  "bg-white dark:bg-gray-900",
679
552
  "border-gray-200 dark:border-gray-700",
@@ -687,32 +560,10 @@ const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ =
687
560
  "aria-label": "UmodelUprediction",
688
561
  children: a || "UmodelUprediction Component"
689
562
  }
690
- ), $e = ({
691
- className: t,
692
- children: a,
693
- disabled: r = !1,
694
- onClick: n
695
- }) => /* @__PURE__ */ o.jsx(
696
- "div",
697
- {
698
- className: d(
699
- "p-4 rounded-lg border transition-colors",
700
- "bg-white dark:bg-gray-900",
701
- "border-gray-200 dark:border-gray-700",
702
- "text-gray-900 dark:text-white",
703
- r && "opacity-50 cursor-not-allowed",
704
- "hover:bg-gray-50 dark:hover:bg-gray-800",
705
- t
706
- ),
707
- onClick: r ? void 0 : n,
708
- role: "region",
709
- "aria-label": "UprogressUtracker",
710
- children: a || "UprogressUtracker Component"
711
- }
712
- ), Ve = ({ className: t, children: a, disabled: r }) => /* @__PURE__ */ o.jsx(
563
+ ), Ee = ({ className: t, children: a, disabled: r }) => /* @__PURE__ */ s.jsx(
713
564
  "div",
714
565
  {
715
- className: d(
566
+ className: f(
716
567
  "p-4 rounded-lg border transition-colors",
717
568
  "bg-white dark:bg-gray-900",
718
569
  "border-gray-200 dark:border-gray-700",
@@ -724,15 +575,15 @@ const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ =
724
575
  "aria-label": "QaReport",
725
576
  children: a || "QaReport Component"
726
577
  }
727
- ), Le = ({
578
+ ), Re = ({
728
579
  className: t,
729
580
  children: a,
730
581
  disabled: r = !1,
731
582
  onClick: n
732
- }) => /* @__PURE__ */ o.jsx(
583
+ }) => /* @__PURE__ */ s.jsx(
733
584
  "div",
734
585
  {
735
- className: d(
586
+ className: f(
736
587
  "p-4 rounded-lg border transition-colors",
737
588
  "bg-white dark:bg-gray-900",
738
589
  "border-gray-200 dark:border-gray-700",
@@ -746,175 +597,14 @@ const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ =
746
597
  "aria-label": "UreportUbuilder",
747
598
  children: a || "UreportUbuilder Component"
748
599
  }
749
- ), Me = ({
750
- data: t,
751
- width: a = 100,
752
- height: r = 30,
753
- color: n = "#3b82f6",
754
- fill: s = !1,
755
- className: l
756
- }) => {
757
- if (t.length === 0) return null;
758
- const c = Math.max(...t), g = Math.min(...t), w = c - g || 1, x = t.map((y, h) => {
759
- const m = h / (t.length - 1) * a, k = r - (y - g) / w * r;
760
- return `${m},${k}`;
761
- }).join(" ");
762
- return /* @__PURE__ */ o.jsxs(
763
- "svg",
764
- {
765
- width: a,
766
- height: r,
767
- className: d("inline-block", l),
768
- children: [
769
- s && /* @__PURE__ */ o.jsx(
770
- "polygon",
771
- {
772
- points: `0,${r} ${x} ${a},${r}`,
773
- fill: n,
774
- opacity: "0.2"
775
- }
776
- ),
777
- /* @__PURE__ */ o.jsx(
778
- "polyline",
779
- {
780
- points: x,
781
- fill: "none",
782
- stroke: n,
783
- strokeWidth: "2",
784
- strokeLinejoin: "round",
785
- strokeLinecap: "round"
786
- }
787
- )
788
- ]
789
- }
790
- );
791
- }, De = ({
792
- value: t,
793
- label: a,
794
- variant: r = "neutral",
795
- size: n = "md",
796
- align: s = "center",
797
- icon: l,
798
- iconPosition: c = "top",
799
- className: g,
800
- valueClassName: w,
801
- labelClassName: x
802
- }) => {
803
- const y = {
804
- primary: {
805
- value: "text-blue-600 dark:text-blue-400",
806
- label: "text-blue-600/70 dark:text-blue-400/70",
807
- icon: "text-blue-600 dark:text-blue-400"
808
- },
809
- success: {
810
- value: "text-green-600 dark:text-green-400",
811
- label: "text-green-600/70 dark:text-green-400/70",
812
- icon: "text-green-600 dark:text-green-400"
813
- },
814
- warning: {
815
- value: "text-yellow-600 dark:text-yellow-400",
816
- label: "text-yellow-600/70 dark:text-yellow-400/70",
817
- icon: "text-yellow-600 dark:text-yellow-400"
818
- },
819
- danger: {
820
- value: "text-red-600 dark:text-red-400",
821
- label: "text-red-600/70 dark:text-red-400/70",
822
- icon: "text-red-600 dark:text-red-400"
823
- },
824
- neutral: {
825
- value: "text-gray-900 dark:text-gray-100",
826
- label: "text-gray-600 dark:text-gray-400",
827
- icon: "text-gray-600 dark:text-gray-400"
828
- },
829
- white: {
830
- value: "text-white",
831
- label: "text-white/70",
832
- icon: "text-white"
833
- }
834
- }, h = {
835
- sm: {
836
- value: u.heading.h5(),
837
- label: u.caption.default(),
838
- icon: "h-4 w-4"
839
- },
840
- md: {
841
- value: u.heading.h4(),
842
- label: u.body.sm(),
843
- icon: "h-5 w-5"
844
- },
845
- lg: {
846
- value: u.heading.h3(),
847
- label: u.body.md(),
848
- icon: "h-6 w-6"
849
- },
850
- xl: {
851
- value: u.heading.h2(),
852
- label: u.body.lg(),
853
- icon: "h-8 w-8"
854
- }
855
- }, m = {
856
- left: "text-left",
857
- center: "text-center",
858
- right: "text-right"
859
- }, k = y[r], f = h[n];
860
- return /* @__PURE__ */ o.jsxs("div", { className: d(m[s], g), children: [
861
- l && c === "top" && /* @__PURE__ */ o.jsx(
862
- l,
863
- {
864
- className: d(
865
- f.icon,
866
- k.icon,
867
- "mb-2",
868
- s === "center" && "mx-auto"
869
- )
870
- }
871
- ),
872
- /* @__PURE__ */ o.jsxs(
873
- "div",
874
- {
875
- className: d(
876
- c === "left" && l && "flex items-center gap-3",
877
- s === "center" && c === "left" && "justify-center"
878
- ),
879
- children: [
880
- l && c === "left" && /* @__PURE__ */ o.jsx(l, { className: d(f.icon, k.icon) }),
881
- /* @__PURE__ */ o.jsxs("div", { children: [
882
- /* @__PURE__ */ o.jsx(
883
- "div",
884
- {
885
- className: d(
886
- "font-bold",
887
- f.value,
888
- k.value,
889
- w
890
- ),
891
- children: t
892
- }
893
- ),
894
- /* @__PURE__ */ o.jsx(
895
- "div",
896
- {
897
- className: d(
898
- f.label,
899
- k.label,
900
- x
901
- ),
902
- children: a
903
- }
904
- )
905
- ] })
906
- ]
907
- }
908
- )
909
- ] });
910
- }, Ye = ({
600
+ ), je = ({
911
601
  className: t,
912
602
  children: a,
913
603
  disabled: r
914
- }) => /* @__PURE__ */ o.jsx(
604
+ }) => /* @__PURE__ */ s.jsx(
915
605
  "div",
916
606
  {
917
- className: d(
607
+ className: f(
918
608
  "p-4 rounded-lg border transition-colors",
919
609
  "bg-white dark:bg-gray-900",
920
610
  "border-gray-200 dark:border-gray-700",
@@ -926,53 +616,53 @@ const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ =
926
616
  "aria-label": "SupportDashboard",
927
617
  children: a || "SupportDashboard Component"
928
618
  }
929
- ), Ie = ({
619
+ ), Te = ({
930
620
  value: t,
931
621
  previousValue: a,
932
622
  format: r = "percentage",
933
623
  currency: n = "$",
934
- showArrow: s = !0,
935
- size: l = "md",
936
- className: c
624
+ showArrow: i = !0,
625
+ size: d = "md",
626
+ className: h
937
627
  }) => {
938
- const g = t - a, w = a !== 0 ? g / a * 100 : 0, x = g >= 0, y = () => {
628
+ const b = t - a, _ = a !== 0 ? b / a * 100 : 0, g = b >= 0, v = () => {
939
629
  switch (r) {
940
630
  case "percentage":
941
- return `${Math.abs(w).toFixed(1)}%`;
631
+ return `${Math.abs(_).toFixed(1)}%`;
942
632
  case "currency":
943
- return `${n}${Math.abs(g).toFixed(2)}`;
633
+ return `${n}${Math.abs(b).toFixed(2)}`;
944
634
  case "number":
945
- return Math.abs(g).toFixed(0);
635
+ return Math.abs(b).toFixed(0);
946
636
  default:
947
637
  return "";
948
638
  }
949
- }, h = {
639
+ }, y = {
950
640
  sm: "text-xs",
951
641
  md: "text-sm",
952
642
  lg: "text-base"
953
- }, m = {
643
+ }, x = {
954
644
  sm: "w-3 h-3",
955
645
  md: "w-4 h-4",
956
646
  lg: "w-5 h-5"
957
647
  };
958
- return /* @__PURE__ */ o.jsxs(
648
+ return /* @__PURE__ */ s.jsxs(
959
649
  "div",
960
650
  {
961
- className: d(
651
+ className: f(
962
652
  "inline-flex items-center gap-1 font-semibold",
963
- x ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400",
964
- h[l],
965
- c
653
+ g ? "text-green-600 dark:text-green-400" : "text-red-600 dark:text-red-400",
654
+ y[d],
655
+ h
966
656
  ),
967
657
  children: [
968
- s && /* @__PURE__ */ o.jsx(
658
+ i && /* @__PURE__ */ s.jsx(
969
659
  "svg",
970
660
  {
971
- className: d(m[l]),
661
+ className: f(x[d]),
972
662
  fill: "none",
973
663
  stroke: "currentColor",
974
664
  viewBox: "0 0 24 24",
975
- children: x ? /* @__PURE__ */ o.jsx(
665
+ children: g ? /* @__PURE__ */ s.jsx(
976
666
  "path",
977
667
  {
978
668
  strokeLinecap: "round",
@@ -980,7 +670,7 @@ const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ =
980
670
  strokeWidth: 2,
981
671
  d: "M5 10l7-7m0 0l7 7m-7-7v18"
982
672
  }
983
- ) : /* @__PURE__ */ o.jsx(
673
+ ) : /* @__PURE__ */ s.jsx(
984
674
  "path",
985
675
  {
986
676
  strokeLinecap: "round",
@@ -991,224 +681,24 @@ const X = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Q = ge, _ =
991
681
  )
992
682
  }
993
683
  ),
994
- /* @__PURE__ */ o.jsxs("span", { children: [
995
- x ? "+" : "-",
996
- y()
684
+ /* @__PURE__ */ s.jsxs("span", { children: [
685
+ g ? "+" : "-",
686
+ v()
997
687
  ] })
998
688
  ]
999
689
  }
1000
690
  );
1001
- }, ye = _("", {
1002
- variants: {
1003
- variant: {
1004
- hero: u.heading.display.hero(),
1005
- display: u.heading.display.lg(),
1006
- h1: u.heading.h1(),
1007
- h2: u.heading.h2(),
1008
- h3: u.heading.h3()
1009
- },
1010
- responsive: {
1011
- true: "",
1012
- // Responsive sizing handled in variant
1013
- false: ""
1014
- },
1015
- align: {
1016
- left: "text-left",
1017
- center: "text-center",
1018
- right: "text-right"
1019
- },
1020
- color: {
1021
- default: "text-gray-900 dark:text-white",
1022
- muted: "text-gray-600 dark:text-gray-400",
1023
- vibrant: "text-white",
1024
- brand: "bg-gradient-to-r from-blue-600 to-purple-600 bg-clip-text text-transparent"
1025
- }
1026
- },
1027
- defaultVariants: {
1028
- variant: "h1",
1029
- responsive: !0,
1030
- align: "left",
1031
- color: "default"
1032
- }
1033
- }), Fe = ({
1034
- children: t,
1035
- variant: a = "h1",
1036
- responsive: r = !0,
1037
- align: n = "left",
1038
- color: s = "default",
1039
- className: l,
1040
- as: c
1041
- }) => {
1042
- const g = c || (a === "hero" || a === "display" || a === "h1" ? "h1" : a === "h2" ? "h2" : "h3");
1043
- return /* @__PURE__ */ o.jsx(
1044
- g,
1045
- {
1046
- className: d(
1047
- ye({ variant: a, responsive: r, align: n, color: s }),
1048
- l
1049
- ),
1050
- children: t
1051
- }
1052
- );
1053
- }, ve = _("", {
1054
- variants: {
1055
- variant: {
1056
- h2: u.heading.h2(),
1057
- h3: u.heading.h3(),
1058
- h4: u.heading.h4(),
1059
- h5: u.heading.h5(),
1060
- h6: u.heading.h6()
1061
- },
1062
- spacing: {
1063
- none: "",
1064
- sm: "mb-2",
1065
- md: "mb-4",
1066
- lg: "mb-6",
1067
- xl: "mb-8"
1068
- },
1069
- align: {
1070
- left: "text-left",
1071
- center: "text-center",
1072
- right: "text-right"
1073
- }
1074
- },
1075
- defaultVariants: {
1076
- variant: "h2",
1077
- spacing: "md",
1078
- align: "left"
1079
- }
1080
- }), We = ({
1081
- children: t,
1082
- variant: a = "h2",
1083
- spacing: r = "md",
1084
- align: n = "left",
1085
- className: s,
1086
- as: l
1087
- }) => {
1088
- const c = l || a;
1089
- return M.createElement(
1090
- c,
1091
- {
1092
- className: d(
1093
- ve({ variant: a, spacing: r, align: n }),
1094
- s
1095
- )
1096
- },
1097
- t
1098
- );
1099
- }, pe = _("", {
1100
- variants: {
1101
- variant: {
1102
- body: u.body.md(),
1103
- lead: u.body.lg(),
1104
- large: u.body.lg(),
1105
- small: u.body.sm(),
1106
- caption: u.body.xs()
1107
- },
1108
- color: {
1109
- default: "text-gray-700 dark:text-gray-300",
1110
- muted: "text-gray-500 dark:text-gray-500",
1111
- primary: "text-gray-900 dark:text-white"
1112
- },
1113
- align: {
1114
- left: "text-left",
1115
- center: "text-center",
1116
- right: "text-right",
1117
- justify: "text-justify"
1118
- }
1119
- },
1120
- defaultVariants: {
1121
- variant: "body",
1122
- color: "default",
1123
- align: "left"
1124
- }
1125
- }), ze = ({
1126
- children: t,
1127
- variant: a = "body",
1128
- color: r = "default",
1129
- align: n = "left",
1130
- className: s,
1131
- as: l = "p"
1132
- }) => M.createElement(
1133
- l,
1134
- { className: d(pe({ variant: a, color: r, align: n }), s) },
1135
- t
1136
- ), ke = _(u.link.default(), {
1137
- variants: {
1138
- variant: {
1139
- default: u.link.default(),
1140
- subtle: u.link.subtle(),
1141
- muted: u.link.muted(),
1142
- button: "inline-flex items-center justify-center px-4 py-2 rounded-md bg-blue-600 text-white hover:bg-blue-700 transition-colors"
1143
- },
1144
- external: {
1145
- true: "inline-flex items-center gap-1",
1146
- false: ""
1147
- }
1148
- },
1149
- defaultVariants: {
1150
- variant: "default",
1151
- external: !1
1152
- }
1153
- }), Je = ({
1154
- children: t,
1155
- href: a,
1156
- variant: r = "default",
1157
- external: n = !1,
1158
- className: s,
1159
- target: l,
1160
- rel: c
1161
- }) => /* @__PURE__ */ o.jsxs(
1162
- "a",
1163
- {
1164
- href: a,
1165
- target: l || (n ? "_blank" : void 0),
1166
- rel: c || (n ? "noopener noreferrer" : void 0),
1167
- className: d(ke({ variant: r, external: n }), s),
1168
- children: [
1169
- t,
1170
- n && /* @__PURE__ */ o.jsx(
1171
- "svg",
1172
- {
1173
- className: "w-4 h-4",
1174
- fill: "none",
1175
- stroke: "currentColor",
1176
- viewBox: "0 0 24 24",
1177
- children: /* @__PURE__ */ o.jsx(
1178
- "path",
1179
- {
1180
- strokeLinecap: "round",
1181
- strokeLinejoin: "round",
1182
- strokeWidth: 2,
1183
- d: "M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"
1184
- }
1185
- )
1186
- }
1187
- )
1188
- ]
1189
- }
1190
- );
691
+ };
1191
692
  export {
1192
- ze as BodyText,
1193
- Ee as ComparisonSection,
1194
- Te as EmptyState,
1195
- Se as Gauge,
1196
- Ae as LoadingState,
1197
- Fe as PageTitle,
1198
- Ve as QaReport,
1199
- We as SectionTitle,
1200
- Me as Sparkline,
1201
- De as StatDisplay,
1202
- Ye as SupportDashboard,
1203
- Je as TextLink,
1204
- Ie as TrendIndicator,
1205
- Re as UcontainerUstats,
1206
- Ce as UfeatureUcomparison,
1207
- Ue as UfeatureUimportance,
1208
- Oe as UmetricUcomparison,
1209
- Pe as UmodelUprediction,
1210
- $e as UprogressUtracker,
1211
- Le as UreportUbuilder,
1212
- H as createComparisonData,
1213
- _e as createEmailComparisonData
693
+ ye as ComparisonSection,
694
+ Ee as QaReport,
695
+ je as SupportDashboard,
696
+ Te as TrendIndicator,
697
+ pe as UcontainerUstats,
698
+ ke as UfeatureUcomparison,
699
+ we as UfeatureUimportance,
700
+ _e as UmodelUprediction,
701
+ Re as UreportUbuilder,
702
+ B as createComparisonData,
703
+ he as createEmailComparisonData
1214
704
  };