zabi-components 1.0.4 → 1.0.6

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.
@@ -1,4 +1,4 @@
1
- import { a as Te, p as m, C as ie, D as ze, i as we, f as _, c as H, g as r, h as pe, j as he, r as C, l as e, m as Y, n as a, k as O, b as me, o as i, s as ne, t as p, q as S, F as oe, e as R, u as X, x as Se, v as J, _ as Fe, w as ge, W as ye, B as W, d as je, P as ke, $ as ue, E as ce, Z as ve, G as Le, y as qe, z as Re } from "./x-DpVwziig.js";
1
+ import { a as Te, p as u, C as ie, D as ze, i as we, f as _, c as H, g as r, h as pe, j as he, r as C, l as e, m as Y, n as a, k as O, b as ue, o as i, s as ne, t as p, q as S, F as oe, e as R, u as X, x as Se, v as J, _ as Fe, w as xe, W as ye, B as W, d as je, P as ke, $ as me, E as ce, Z as ve, G as Le, y as qe, z as Re } from "./x-DpVwziig.js";
2
2
  import { createEventDispatcher as Pe, onMount as Be } from "svelte";
3
3
  import { T as We } from "./Toast-DXZ9gllw.js";
4
4
  var He = _("<div></div>"), Oe = Se('<svg fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" class="svelte-14njway"></path></svg>'), Ve = Se('<svg fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" class="svelte-14njway"></path></svg>'), Xe = _('<button type="button"><!> <!> <!> <!></button> <button type="button" aria-label="Close badge"><svg class="w-full h-full svelte-14njway" fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" d="M4.293 4.293a1 1 0 011.414 0L10 8.586l4.293-4.293a1 1 0 111.414 1.414L11.414 10l4.293 4.293a1 1 0 01-1.414 1.414L10 11.414l-4.293 4.293a1 1 0 01-1.414-1.414L8.586 10 4.293 5.707a1 1 0 010-1.414z" clip-rule="evenodd" class="svelte-14njway"></path></svg></button>', 1), Ze = _("<div></div>"), Ge = Se('<svg fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" class="svelte-14njway"></path></svg>'), Ye = Se('<svg fill="currentColor" viewBox="0 0 20 20"><path fill-rule="evenodd" clip-rule="evenodd" class="svelte-14njway"></path></svg>'), Ue = _("<span><!> <!> <!> <!></span>"), Je = _('<div class="inline-flex items-center gap-1 svelte-14njway"><!></div>');
@@ -62,14 +62,14 @@ const Ke = {
62
62
  };
63
63
  function Ht(K, t) {
64
64
  he(t, !1), Te(K, Ke);
65
- const y = Y(), w = Y(), j = Y(), u = Y(), L = Y(), B = Y(), F = Y();
66
- let q = m(t, "variant", 8, "default"), T = m(t, "size", 8, "md"), k = m(t, "shape", 8, "rounded"), P = m(t, "dot", 8, !1), D = m(t, "closable", 8, !1), d = m(t, "icon", 8, void 0), E = m(t, "iconPosition", 8, "left");
65
+ const y = Y(), w = Y(), j = Y(), m = Y(), L = Y(), B = Y(), F = Y();
66
+ let q = u(t, "variant", 8, "default"), T = u(t, "size", 8, "md"), k = u(t, "shape", 8, "rounded"), P = u(t, "dot", 8, !1), D = u(t, "closable", 8, !1), d = u(t, "icon", 8, void 0), E = u(t, "iconPosition", 8, "left");
67
67
  const M = Pe();
68
- function Q(x) {
69
- x.stopPropagation(), M("close", { event: x });
68
+ function Q(g) {
69
+ g.stopPropagation(), M("close", { event: g });
70
70
  }
71
- function A(x) {
72
- M("click", { event: x });
71
+ function A(g) {
72
+ M("click", { event: g });
73
73
  }
74
74
  ie(() => {
75
75
  }, () => {
@@ -97,7 +97,7 @@ function Ht(K, t) {
97
97
  });
98
98
  }), ie(() => {
99
99
  }, () => {
100
- O(u, { sm: "w-1.5 h-1.5", md: "w-2 h-2", lg: "w-2.5 h-2.5" });
100
+ O(m, { sm: "w-1.5 h-1.5", md: "w-2 h-2", lg: "w-2.5 h-2.5" });
101
101
  }), ie(
102
102
  () => (e(y), C(T()), e(w), C(q()), e(j), C(k()), C(D())),
103
103
  () => {
@@ -138,15 +138,15 @@ function Ht(K, t) {
138
138
  }), ze(), we();
139
139
  var f = Je(), N = a(f);
140
140
  {
141
- var te = (x) => {
142
- var I = Xe(), V = me(I), $ = a(V);
141
+ var te = (g) => {
142
+ var I = Xe(), V = ue(I), $ = a(V);
143
143
  {
144
144
  var ee = (o) => {
145
145
  var v = He();
146
146
  p(() => S(
147
147
  v,
148
148
  1,
149
- `w-2 h-2 rounded-full bg-current ${e(u), C(T()), X(() => e(u)[T()]) ?? ""}`,
149
+ `w-2 h-2 rounded-full bg-current ${e(m), C(T()), X(() => e(m)[T()]) ?? ""}`,
150
150
  "svelte-14njway"
151
151
  )), r(o, v);
152
152
  };
@@ -183,8 +183,8 @@ function Ht(K, t) {
183
183
  var n = i(V, 2);
184
184
  p(() => {
185
185
  S(V, 1, oe(e(L)), "svelte-14njway"), S(n, 1, oe(e(F)), "svelte-14njway");
186
- }), R("click", V, A), R("keydown", V, (o) => o.key === "Enter" && A(o)), R("click", n, Q), R("keydown", n, (o) => o.key === "Enter" && Q(o)), r(x, I);
187
- }, z = (x) => {
186
+ }), R("click", V, A), R("keydown", V, (o) => o.key === "Enter" && A(o)), R("click", n, Q), R("keydown", n, (o) => o.key === "Enter" && Q(o)), r(g, I);
187
+ }, z = (g) => {
188
188
  var I = Ue(), V = a(I);
189
189
  {
190
190
  var $ = (s) => {
@@ -192,7 +192,7 @@ function Ht(K, t) {
192
192
  p(() => S(
193
193
  n,
194
194
  1,
195
- `w-2 h-2 rounded-full bg-current ${e(u), C(T()), X(() => e(u)[T()]) ?? ""}`,
195
+ `w-2 h-2 rounded-full bg-current ${e(m), C(T()), X(() => e(m)[T()]) ?? ""}`,
196
196
  "svelte-14njway"
197
197
  )), r(s, n);
198
198
  };
@@ -226,10 +226,10 @@ function Ht(K, t) {
226
226
  d() && E() === "right" && s(c);
227
227
  });
228
228
  }
229
- p(() => S(I, 1, oe(e(L)), "svelte-14njway")), r(x, I);
229
+ p(() => S(I, 1, oe(e(L)), "svelte-14njway")), r(g, I);
230
230
  };
231
- H(N, (x) => {
232
- D() ? x(te) : x(z, !1);
231
+ H(N, (g) => {
232
+ D() ? g(te) : g(z, !1);
233
233
  });
234
234
  }
235
235
  r(K, f), pe();
@@ -242,46 +242,41 @@ const et = {
242
242
  function Ot(K, t) {
243
243
  he(t, !1), Te(K, et);
244
244
  const y = Y(), w = Y();
245
- let j = m(t, "variant", 8, "default"), u = m(t, "density", 8, "comfortable"), L = m(t, "disabled", 8, !1), B = m(t, "loading", 8, !1), F = m(t, "className", 8, ""), q = m(t, "ariaLabel", 8, ""), T = m(t, "ariaDescribedBy", 8, "");
246
- const k = Pe(), P = {
247
- compact: "p-3 sm:p-4 rounded-md shadow-sm",
248
- comfortable: "p-4 sm:p-6 rounded-lg shadow-sm sm:shadow-md",
249
- spacious: "p-6 sm:p-8 rounded-xl shadow-md sm:shadow-lg"
250
- }, D = {
251
- default: "bg-card border border-primary",
252
- outlined: "bg-card border-2 border-primary",
253
- elevated: "bg-card border border-primary shadow-lg",
254
- filled: "bg-surface-secondary border border-primary"
245
+ let j = u(t, "variant", 8, "default"), m = u(t, "density", 8, "comfortable"), L = u(t, "disabled", 8, !1), B = u(t, "loading", 8, !1), F = u(t, "className", 8, ""), q = u(t, "ariaLabel", 8, ""), T = u(t, "ariaDescribedBy", 8, "");
246
+ const k = Pe(), P = { compact: "p-3 rounded-md", comfortable: "p-4 rounded-lg" }, D = {
247
+ default: "bg-[var(--zabi-surface)] border border-[var(--zabi-border)] shadow-sm",
248
+ elevated: "bg-[var(--zabi-surface)] border border-[var(--zabi-border)] shadow-md",
249
+ outlined: "bg-[var(--zabi-surface)] border-2 border-[var(--zabi-border)] shadow-sm"
255
250
  };
256
251
  function d(b) {
257
252
  if (L() || B()) {
258
253
  b.preventDefault();
259
254
  return;
260
255
  }
261
- k("click", b);
256
+ k("click", { value: !0, event: b });
262
257
  }
263
258
  function E(b) {
264
259
  L() || B() || b.key === "Escape" && b.target.blur();
265
260
  }
266
261
  function M(b) {
267
- !L() && !B() && k("focus", b);
262
+ !L() && !B() && k("focus", { event: b });
268
263
  }
269
264
  function Q(b) {
270
- !L() && !B() && k("blur", b);
265
+ !L() && !B() && k("blur", { event: b });
271
266
  }
272
267
  function A(b) {
273
- !L() && !B() && k("hover", b);
268
+ !L() && !B() && k("hover", { event: b });
274
269
  }
275
270
  function f(b) {
276
- !L() && !B() && k("leave", b);
271
+ !L() && !B() && k("leave", { event: b });
277
272
  }
278
273
  ie(
279
- () => (C(j()), C(u()), C(L()), C(B()), C(F())),
274
+ () => (C(j()), C(m()), C(L()), C(B()), C(F())),
280
275
  () => {
281
276
  O(y, [
282
277
  "transition-all duration-200",
283
278
  D[j()],
284
- P[u()],
279
+ P[m()],
285
280
  L() ? "opacity-50 cursor-not-allowed" : "",
286
281
  B() ? "animate-pulse" : "",
287
282
  F()
@@ -301,9 +296,9 @@ function Ot(K, t) {
301
296
  Fe(N, () => ({ class: e(y), ...e(w) }), void 0, void 0, "svelte-1qx5g6b");
302
297
  var te = a(N), z = a(te);
303
298
  ne(z, t, "header", {}, null);
304
- var x = i(te, 2), I = a(x);
299
+ var g = i(te, 2), I = a(g);
305
300
  ne(I, t, "default", {}, null);
306
- var V = i(x, 2), $ = a(V);
301
+ var V = i(g, 2), $ = a(V);
307
302
  ne($, t, "footer", {}, null);
308
303
  var ee = i(V, 2);
309
304
  {
@@ -321,7 +316,7 @@ var tt = _("<h1><!></h1>"), at = _("<h2><!></h2>"), st = _("<h3><!></h3>"), rt =
321
316
  function Vt(K, t) {
322
317
  he(t, !1);
323
318
  const y = Y();
324
- let w = m(t, "level", 8, 1), j = m(t, "text", 8, ""), u = m(t, "color", 8, "text-white"), L = m(t, "spacing", 8, "normal");
319
+ let w = u(t, "level", 8, 1), j = u(t, "text", 8, ""), m = u(t, "color", 8, "text-white"), L = u(t, "spacing", 8, "normal");
325
320
  const B = {
326
321
  1: "!text-6xl md:!text-7xl font-bold leading-tight block",
327
322
  2: "!text-4xl md:!text-5xl font-bold leading-tight block",
@@ -356,12 +351,12 @@ function Vt(K, t) {
356
351
  }
357
352
  };
358
353
  ie(
359
- () => (C(w()), C(u()), C(L())),
354
+ () => (C(w()), C(m()), C(L())),
360
355
  () => {
361
- O(y, `${B[w()]} font-title ${u()} ${F[L()][w()]}`);
356
+ O(y, `${B[w()]} font-title ${m()} ${F[L()][w()]}`);
362
357
  }
363
358
  ), ze();
364
- var q = ge(), T = me(q);
359
+ var q = xe(), T = ue(q);
365
360
  {
366
361
  var k = (D) => {
367
362
  var d = tt(), E = a(d);
@@ -370,7 +365,7 @@ function Vt(K, t) {
370
365
  p(() => W(Q, j())), r(M, Q);
371
366
  }), p(() => S(d, 1, oe(e(y)))), r(D, d);
372
367
  }, P = (D) => {
373
- var d = ge(), E = me(d);
368
+ var d = xe(), E = ue(d);
374
369
  {
375
370
  var M = (A) => {
376
371
  var f = at(), N = a(f);
@@ -379,16 +374,16 @@ function Vt(K, t) {
379
374
  p(() => W(z, j())), r(te, z);
380
375
  }), p(() => S(f, 1, oe(e(y)))), r(A, f);
381
376
  }, Q = (A) => {
382
- var f = ge(), N = me(f);
377
+ var f = xe(), N = ue(f);
383
378
  {
384
- var te = (x) => {
379
+ var te = (g) => {
385
380
  var I = st(), V = a(I);
386
381
  ne(V, t, "default", {}, ($) => {
387
382
  var ee = ye();
388
383
  p(() => W(ee, j())), r($, ee);
389
- }), p(() => S(I, 1, oe(e(y)))), r(x, I);
390
- }, z = (x) => {
391
- var I = ge(), V = me(I);
384
+ }), p(() => S(I, 1, oe(e(y)))), r(g, I);
385
+ }, z = (g) => {
386
+ var I = xe(), V = ue(I);
392
387
  {
393
388
  var $ = (U) => {
394
389
  var b = rt(), h = a(b);
@@ -397,7 +392,7 @@ function Vt(K, t) {
397
392
  p(() => W(s, j())), r(c, s);
398
393
  }), p(() => S(b, 1, oe(e(y)))), r(U, b);
399
394
  }, ee = (U) => {
400
- var b = ge(), h = me(b);
395
+ var b = xe(), h = ue(b);
401
396
  {
402
397
  var c = (n) => {
403
398
  var o = it(), v = a(o);
@@ -406,7 +401,7 @@ function Vt(K, t) {
406
401
  p(() => W(re, j())), r(Z, re);
407
402
  }), p(() => S(o, 1, oe(e(y)))), r(n, o);
408
403
  }, s = (n) => {
409
- var o = ge(), v = me(o);
404
+ var o = xe(), v = ue(o);
410
405
  {
411
406
  var Z = (re) => {
412
407
  var de = nt(), be = a(de);
@@ -443,12 +438,12 @@ function Vt(K, t) {
443
438
  !0
444
439
  );
445
440
  }
446
- r(x, I);
441
+ r(g, I);
447
442
  };
448
443
  H(
449
444
  N,
450
- (x) => {
451
- w() === 3 ? x(te) : x(z, !1);
445
+ (g) => {
446
+ w() === 3 ? g(te) : g(z, !1);
452
447
  },
453
448
  !0
454
449
  );
@@ -474,12 +469,12 @@ function Vt(K, t) {
474
469
  var lt = _('<img alt="" class="absolute inset-0 w-full h-full object-cover animate-pulse"/>'), ot = _('<img class="w-full h-full object-cover transition-opacity duration-300"/>'), dt = _('<div class="absolute inset-0 bg-gray-200 flex items-center justify-center text-gray-500"><svg class="w-8 h-8" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 16l4.586-4.586a2 2 0 012.828 0L16 16m-2-2l2.586-2.586a2 2 0 012.828 0L20 14m-6-6h.01M6 20h12a2 2 0 002-2V6a2 2 0 00-2-2H6a2 2 0 00-2 2v12a2 2 0 002 2z"></path></svg></div>'), ct = _("<div><!> <!> <!></div>");
475
470
  function Xt(K, t) {
476
471
  he(t, !1);
477
- let y = m(t, "src", 8), w = m(t, "alt", 8, ""), j = m(t, "width", 8, "100%"), u = m(t, "height", 8, "auto"), L = m(t, "loading", 8, "lazy"), B = m(t, "className", 8, ""), F = m(t, "placeholder", 8, "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSIjZjNmNGY2Ii8+PC9zdmc+"), q = Y(!1), T = Y(!1), k = Y(!1), P = Y();
472
+ let y = u(t, "src", 8), w = u(t, "alt", 8, ""), j = u(t, "width", 8, "100%"), m = u(t, "height", 8, "auto"), L = u(t, "loading", 8, "lazy"), B = u(t, "className", 8, ""), F = u(t, "placeholder", 8, "data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTAwIiBoZWlnaHQ9IjEwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSIjZjNmNGY2Ii8+PC9zdmc+"), q = Y(!1), T = Y(!1), k = Y(!1), P = Y();
478
473
  Be(() => {
479
474
  if (L() === "lazy") {
480
475
  const z = new IntersectionObserver(
481
- (x) => {
482
- x.forEach((I) => {
476
+ (g) => {
477
+ g.forEach((I) => {
483
478
  I.isIntersecting && (O(k, !0), z.unobserve(I.target));
484
479
  });
485
480
  },
@@ -499,8 +494,8 @@ function Xt(K, t) {
499
494
  var E = ct(), M = a(E);
500
495
  {
501
496
  var Q = (z) => {
502
- var x = lt();
503
- p(() => J(x, "src", F())), r(z, x);
497
+ var g = lt();
498
+ p(() => J(g, "src", F())), r(z, g);
504
499
  };
505
500
  H(M, (z) => {
506
501
  !e(q) && !e(T) && z(Q);
@@ -509,10 +504,10 @@ function Xt(K, t) {
509
504
  var A = i(M, 2);
510
505
  {
511
506
  var f = (z) => {
512
- var x = ot();
507
+ var g = ot();
513
508
  p(() => {
514
- J(x, "src", y()), J(x, "alt", w()), J(x, "loading", L()), ke(x, `opacity: ${e(q) ? 1 : 0};`);
515
- }), R("load", x, D), R("error", x, d), r(z, x);
509
+ J(g, "src", y()), J(g, "alt", w()), J(g, "loading", L()), ke(g, `opacity: ${e(q) ? 1 : 0};`);
510
+ }), R("load", g, D), R("error", g, d), r(z, g);
516
511
  };
517
512
  H(A, (z) => {
518
513
  e(k) && !e(T) && z(f);
@@ -521,21 +516,21 @@ function Xt(K, t) {
521
516
  var N = i(A, 2);
522
517
  {
523
518
  var te = (z) => {
524
- var x = dt();
525
- r(z, x);
519
+ var g = dt();
520
+ r(z, g);
526
521
  };
527
522
  H(N, (z) => {
528
523
  e(T) && z(te);
529
524
  });
530
525
  }
531
526
  je(E, (z) => O(P, z), () => e(P)), p(() => {
532
- S(E, 1, `relative overflow-hidden ${B() ?? ""}`), ke(E, `width: ${(typeof j() == "number" ? j() + "px" : j()) ?? ""}; height: ${(typeof u() == "number" ? u() + "px" : u()) ?? ""};`);
527
+ S(E, 1, `relative overflow-hidden ${B() ?? ""}`), ke(E, `width: ${(typeof j() == "number" ? j() + "px" : j()) ?? ""}; height: ${(typeof m() == "number" ? m() + "px" : m()) ?? ""};`);
533
528
  }), r(K, E), pe();
534
529
  }
535
530
  var vt = _('<div class="fixed bottom-4 left-4 bg-black/80 text-white p-4 rounded-lg text-xs font-mono z-50 max-w-xs"><div class="flex items-center justify-between mb-2"><h3 class="font-bold"> </h3> <button class="text-gray-400 hover:text-white">×</button></div> <div class="space-y-1"><div> </div> <div> </div> <div> </div> <div> </div> <div class="pt-1 border-t border-gray-600"><div class="font-semibold"> </div></div></div></div>');
536
531
  function Zt(K, t) {
537
532
  he(t, !1);
538
- let y = m(t, "isVisible", 12, !1), w = m(t, "showInDev", 8, !0), j = m(t, "title", 8, "Debug Panel"), u = Y({
533
+ let y = u(t, "isVisible", 12, !1), w = u(t, "showInDev", 8, !0), j = u(t, "title", 8, "Debug Panel"), m = Y({
539
534
  domContentLoaded: 0,
540
535
  loadComplete: 0,
541
536
  firstPaint: 0,
@@ -546,44 +541,44 @@ function Zt(K, t) {
546
541
  Be(() => {
547
542
  typeof window < "u" && "PerformanceObserver" in window && (new PerformanceObserver((k) => {
548
543
  for (const P of k.getEntries())
549
- P.name === "first-paint" && ue(u, e(u).firstPaint = P.startTime);
544
+ P.name === "first-paint" && me(m, e(m).firstPaint = P.startTime);
550
545
  }).observe({ entryTypes: ["paint"] }), new PerformanceObserver((k) => {
551
546
  for (const P of k.getEntries())
552
- P.name === "first-contentful-paint" && ue(u, e(u).firstContentfulPaint = P.startTime);
547
+ P.name === "first-contentful-paint" && me(m, e(m).firstContentfulPaint = P.startTime);
553
548
  }).observe({ entryTypes: ["paint"] }), new PerformanceObserver((k) => {
554
549
  const P = k.getEntries(), D = P[P.length - 1];
555
- ue(u, e(u).largestContentfulPaint = D.startTime);
550
+ me(m, e(m).largestContentfulPaint = D.startTime);
556
551
  }).observe({ entryTypes: ["largest-contentful-paint"] }), new PerformanceObserver((k) => {
557
552
  for (const P of k.getEntries())
558
- P.hadRecentInput || ue(u, e(u).cumulativeLayoutShift += P.value);
553
+ P.hadRecentInput || me(m, e(m).cumulativeLayoutShift += P.value);
559
554
  }).observe({ entryTypes: ["layout-shift"] })), window.addEventListener("DOMContentLoaded", () => {
560
- ue(u, e(u).domContentLoaded = performance.now());
555
+ me(m, e(m).domContentLoaded = performance.now());
561
556
  }), window.addEventListener("load", () => {
562
- ue(u, e(u).loadComplete = performance.now());
557
+ me(m, e(m).loadComplete = performance.now());
563
558
  }), w();
564
559
  });
565
560
  function L(k) {
566
561
  return `${Math.round(k)}ms`;
567
562
  }
568
563
  function B() {
569
- const k = e(u).firstContentfulPaint, P = e(u).largestContentfulPaint, D = e(u).cumulativeLayoutShift;
564
+ const k = e(m).firstContentfulPaint, P = e(m).largestContentfulPaint, D = e(m).cumulativeLayoutShift;
570
565
  let d = 100;
571
- return k > 1800 && (d -= 20), P > 2500 && (d -= 30), D > 0.1 && (d -= 25), e(u).loadComplete > 3e3 && (d -= 25), d >= 90 ? "🟢 Excellent" : d >= 70 ? "🟡 Good" : d >= 50 ? "🟠 Needs Improvement" : "🔴 Poor";
566
+ return k > 1800 && (d -= 20), P > 2500 && (d -= 30), D > 0.1 && (d -= 25), e(m).loadComplete > 3e3 && (d -= 25), d >= 90 ? "🟢 Excellent" : d >= 70 ? "🟡 Good" : d >= 50 ? "🟠 Needs Improvement" : "🔴 Poor";
572
567
  }
573
568
  we();
574
- var F = ge(), q = me(F);
569
+ var F = xe(), q = ue(F);
575
570
  {
576
571
  var T = (k) => {
577
- var P = vt(), D = a(P), d = a(D), E = a(d), M = i(d, 2), Q = i(D, 2), A = a(Q), f = a(A), N = i(A, 2), te = a(N), z = i(N, 2), x = a(z), I = i(z, 2), V = a(I), $ = i(I, 2), ee = a($), U = a(ee);
572
+ var P = vt(), D = a(P), d = a(D), E = a(d), M = i(d, 2), Q = i(D, 2), A = a(Q), f = a(A), N = i(A, 2), te = a(N), z = i(N, 2), g = a(z), I = i(z, 2), V = a(I), $ = i(I, 2), ee = a($), U = a(ee);
578
573
  p(
579
574
  (b, h, c, s, n) => {
580
- W(E, j()), W(f, `FCP: ${b ?? ""}`), W(te, `LCP: ${h ?? ""}`), W(x, `CLS: ${c ?? ""}`), W(V, `Load: ${s ?? ""}`), W(U, n);
575
+ W(E, j()), W(f, `FCP: ${b ?? ""}`), W(te, `LCP: ${h ?? ""}`), W(g, `CLS: ${c ?? ""}`), W(V, `Load: ${s ?? ""}`), W(U, n);
581
576
  },
582
577
  [
583
- () => (e(u), X(() => L(e(u).firstContentfulPaint))),
584
- () => (e(u), X(() => L(e(u).largestContentfulPaint))),
585
- () => (e(u), X(() => e(u).cumulativeLayoutShift.toFixed(3))),
586
- () => (e(u), X(() => L(e(u).loadComplete))),
578
+ () => (e(m), X(() => L(e(m).firstContentfulPaint))),
579
+ () => (e(m), X(() => L(e(m).largestContentfulPaint))),
580
+ () => (e(m), X(() => e(m).cumulativeLayoutShift.toFixed(3))),
581
+ () => (e(m), X(() => L(e(m).loadComplete))),
587
582
  () => X(B)
588
583
  ]
589
584
  ), R("click", M, () => y(!1)), r(k, P);
@@ -594,7 +589,7 @@ function Zt(K, t) {
594
589
  }
595
590
  r(K, F), pe();
596
591
  }
597
- var mt = _('<span class="text-sm text-secondary svelte-1nnpss"> </span>'), ut = _('<div class="flex justify-between items-center mb-2 svelte-1nnpss"><label class="text-sm font-medium text-primary svelte-1nnpss"> </label> <!></div>'), ft = _('<div class="absolute inset-0 flex items-center justify-center svelte-1nnpss"><span class="text-xs font-medium text-white svelte-1nnpss"> </span></div>'), gt = _('<div class="relative svelte-1nnpss"><div><div role="progressbar" aria-valuemin="0"></div></div> <!></div>'), xt = _("<span> </span>"), bt = _('<div class="relative inline-block svelte-1nnpss"><svg viewBox="0 0 44 44" role="progressbar" aria-valuemin="0"><circle cx="22" cy="22" r="20" stroke="currentColor" stroke-width="4" fill="none" class="text-neutral-200 dark:text-neutral-700 svelte-1nnpss"></circle><circle cx="22" cy="22" r="20" stroke="currentColor" stroke-width="4" fill="none" stroke-linecap="round"></circle></svg> <div class="absolute inset-0 flex items-center justify-center svelte-1nnpss"><!></div></div>'), pt = _("<div><!> <!> <!></div>");
592
+ var ut = _('<span class="text-sm text-secondary svelte-1nnpss"> </span>'), mt = _('<div class="flex justify-between items-center mb-2 svelte-1nnpss"><label class="text-sm font-medium text-primary svelte-1nnpss"> </label> <!></div>'), ft = _('<div class="absolute inset-0 flex items-center justify-center svelte-1nnpss"><span class="text-xs font-medium text-white svelte-1nnpss"> </span></div>'), xt = _('<div class="relative svelte-1nnpss"><div><div role="progressbar" aria-valuemin="0"></div></div> <!></div>'), gt = _("<span> </span>"), bt = _('<div class="relative inline-block svelte-1nnpss"><svg viewBox="0 0 44 44" role="progressbar" aria-valuemin="0"><circle cx="22" cy="22" r="20" stroke="currentColor" stroke-width="4" fill="none" class="text-neutral-200 dark:text-neutral-700 svelte-1nnpss"></circle><circle cx="22" cy="22" r="20" stroke="currentColor" stroke-width="4" fill="none" stroke-linecap="round"></circle></svg> <div class="absolute inset-0 flex items-center justify-center svelte-1nnpss"><!></div></div>'), pt = _("<div><!> <!> <!></div>");
598
593
  const ht = {
599
594
  hash: "svelte-1nnpss",
600
595
  code: `
@@ -639,8 +634,8 @@ const ht = {
639
634
  };
640
635
  function Gt(K, t) {
641
636
  he(t, !1), Te(K, ht);
642
- const y = Y(), w = Y(), j = Y(), u = Y(), L = Y();
643
- let B = m(t, "value", 8, 0), F = m(t, "max", 8, 100), q = m(t, "size", 8, "md"), T = m(t, "variant", 8, "default"), k = m(t, "shape", 8, "linear"), P = m(t, "animated", 8, !0), D = m(t, "striped", 8, !1), d = m(t, "showValue", 8, !1), E = m(t, "label", 8, ""), M = m(t, "className", 8, "");
637
+ const y = Y(), w = Y(), j = Y(), m = Y(), L = Y();
638
+ let B = u(t, "value", 8, 0), F = u(t, "max", 8, 100), q = u(t, "size", 8, "md"), T = u(t, "variant", 8, "default"), k = u(t, "shape", 8, "linear"), P = u(t, "animated", 8, !0), D = u(t, "striped", 8, !1), d = u(t, "showValue", 8, !1), E = u(t, "label", 8, ""), M = u(t, "className", 8, "");
644
639
  const Q = Pe();
645
640
  let A = `progress-${Math.random().toString(36).substr(2, 9)}`;
646
641
  const f = {
@@ -672,17 +667,17 @@ function Gt(K, t) {
672
667
  ), ie(() => C(k()), () => {
673
668
  O(j, k() === "circular" ? 2 * Math.PI * 20 : 0);
674
669
  }), ie(() => e(j), () => {
675
- O(u, e(j));
670
+ O(m, e(j));
676
671
  }), ie(() => (e(j), e(y)), () => {
677
672
  O(L, e(j) - e(y) / 100 * e(j));
678
673
  }), ze(), we();
679
- var z = pt(), x = a(z);
674
+ var z = pt(), g = a(z);
680
675
  {
681
676
  var I = (b) => {
682
- var h = ut(), c = a(h), s = a(c), n = i(c, 2);
677
+ var h = mt(), c = a(h), s = a(c), n = i(c, 2);
683
678
  {
684
679
  var o = (v) => {
685
- var Z = mt(), re = a(Z);
680
+ var Z = ut(), re = a(Z);
686
681
  p((de) => W(re, `${de ?? ""}%`), [
687
682
  () => (e(y), X(() => Math.round(e(y))))
688
683
  ]), r(v, Z);
@@ -695,14 +690,14 @@ function Gt(K, t) {
695
690
  J(c, "for", A), W(s, E());
696
691
  }), r(b, h);
697
692
  };
698
- H(x, (b) => {
693
+ H(g, (b) => {
699
694
  E() && b(I);
700
695
  });
701
696
  }
702
- var V = i(x, 2);
697
+ var V = i(g, 2);
703
698
  {
704
699
  var $ = (b) => {
705
- var h = gt(), c = a(h), s = a(c), n = i(c, 2);
700
+ var h = xt(), c = a(h), s = a(c), n = i(c, 2);
706
701
  {
707
702
  var o = (v) => {
708
703
  var Z = ft(), re = a(Z), de = a(re);
@@ -742,32 +737,32 @@ function Gt(K, t) {
742
737
  ]
743
738
  ), r(b, h);
744
739
  }, ee = (b) => {
745
- var h = ge(), c = me(h);
740
+ var h = xe(), c = ue(h);
746
741
  {
747
742
  var s = (n) => {
748
743
  var o = bt(), v = a(o), Z = i(a(v)), re = i(v, 2), de = a(re);
749
744
  {
750
745
  var be = (le) => {
751
- var xe = xt(), l = a(xe);
746
+ var ge = gt(), l = a(ge);
752
747
  p(
753
- (g) => {
748
+ (x) => {
754
749
  S(
755
- xe,
750
+ ge,
756
751
  1,
757
752
  `
758
753
  font-medium text-primary
759
754
  ${C(q()), X(() => f[q()].text) ?? ""}
760
755
  `,
761
756
  "svelte-1nnpss"
762
- ), W(l, `${g ?? ""}%`);
757
+ ), W(l, `${x ?? ""}%`);
763
758
  },
764
759
  [
765
760
  () => (e(y), X(() => Math.round(e(y))))
766
761
  ]
767
- ), r(le, xe);
762
+ ), r(le, ge);
768
763
  }, _e = (le) => {
769
- var xe = ge(), l = me(xe);
770
- ne(l, t, "center", {}, null), r(le, xe);
764
+ var ge = xe(), l = ue(ge);
765
+ ne(l, t, "center", {}, null), r(le, ge);
771
766
  };
772
767
  H(de, (le) => {
773
768
  d() ? le(be) : le(_e, !1);
@@ -780,7 +775,7 @@ function Gt(K, t) {
780
775
  0,
781
776
  `transform -rotate-90 ${C(q()), X(() => f[q()].circular) ?? ""}`,
782
777
  "svelte-1nnpss"
783
- ), J(v, "aria-valuenow", B()), J(v, "aria-valuemax", F()), J(v, "aria-label", le), J(Z, "stroke-dasharray", e(u)), J(Z, "stroke-dashoffset", e(L)), S(
778
+ ), J(v, "aria-valuenow", B()), J(v, "aria-valuemax", F()), J(v, "aria-label", le), J(Z, "stroke-dasharray", e(m)), J(Z, "stroke-dashoffset", e(L)), S(
784
779
  Z,
785
780
  0,
786
781
  `
@@ -817,7 +812,7 @@ var yt = _('<div class="text-center"><div></div> <p class="text-xs text-tertiary
817
812
  function Yt(K) {
818
813
  var t = Bt(), y = a(t), w = a(y), j = i(a(w), 2);
819
814
  We(j, { size: "lg", variant: "outline" });
820
- var u = i(w, 2), L = i(a(u), 2), B = i(a(L), 2);
815
+ var m = i(w, 2), L = i(a(m), 2), B = i(a(L), 2);
821
816
  ce(B, 4, () => [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950], ve, (h, c) => {
822
817
  var s = yt(), n = a(s), o = i(n, 2), v = a(o);
823
818
  p(() => {
@@ -853,7 +848,7 @@ function Yt(K) {
853
848
  var s = Ct();
854
849
  p(() => S(s, 1, `w-8 h-8 rounded bg-error-${c ?? ""} border border-primary`)), r(h, s);
855
850
  });
856
- var N = i(u, 4), te = i(a(N), 2);
851
+ var N = i(m, 4), te = i(a(N), 2);
857
852
  ce(
858
853
  te,
859
854
  4,
@@ -878,9 +873,9 @@ function Yt(K) {
878
873
  }), r(h, s);
879
874
  }
880
875
  );
881
- var z = i(N, 2), x = i(a(z), 2);
876
+ var z = i(N, 2), g = i(a(z), 2);
882
877
  ce(
883
- x,
878
+ g,
884
879
  4,
885
880
  () => [
886
881
  { size: "1", value: "0.25rem", class: "w-1" },
@@ -969,10 +964,10 @@ function Yt(K) {
969
964
  }
970
965
  var Et = _("<div></div>");
971
966
  function Ut(K, t) {
972
- let y = m(t, "width", 8, "100%"), w = m(t, "height", 8, "1rem"), j = m(t, "borderRadius", 8, "0.5rem"), u = m(t, "className", 8, "");
967
+ let y = u(t, "width", 8, "100%"), w = u(t, "height", 8, "1rem"), j = u(t, "borderRadius", 8, "0.5rem"), m = u(t, "className", 8, "");
973
968
  var L = Et();
974
969
  p(() => {
975
- S(L, 1, `animate-pulse bg-stone-800 ${u() ?? ""}`), ke(L, `width: ${y() ?? ""}; height: ${w() ?? ""}; border-radius: ${j() ?? ""};`);
970
+ S(L, 1, `animate-pulse bg-stone-800 ${m() ?? ""}`), ke(L, `width: ${y() ?? ""}; height: ${w() ?? ""}; border-radius: ${j() ?? ""};`);
976
971
  }), r(K, L);
977
972
  }
978
973
  var Mt = _('<button type="button" class="inline-block svelte-13nzt82"><!></button>'), It = _('<div role="button" tabindex="0" class="inline-block svelte-13nzt82"><!></div>'), Dt = _("<div></div>"), At = _('<div role="tooltip"><div class="relative svelte-13nzt82"> <!></div></div>'), Nt = _("<!> <!>", 1);
@@ -1011,7 +1006,7 @@ const Ft = {
1011
1006
  };
1012
1007
  function Jt(K, t) {
1013
1008
  he(t, !1), Te(K, Ft);
1014
- let y = m(t, "content", 8, ""), w = m(t, "placement", 8, "top"), j = m(t, "trigger", 8, "hover"), u = m(t, "disabled", 8, !1), L = m(t, "delay", 8, 200), B = m(t, "maxWidth", 8, "200px"), F = m(t, "variant", 8, "default"), q = m(t, "size", 8, "md"), T = m(t, "arrow", 8, !0), k = m(t, "interactive", 8, !1), P = m(t, "className", 8, "");
1009
+ let y = u(t, "content", 8, ""), w = u(t, "placement", 8, "top"), j = u(t, "trigger", 8, "hover"), m = u(t, "disabled", 8, !1), L = u(t, "delay", 8, 200), B = u(t, "maxWidth", 8, "200px"), F = u(t, "variant", 8, "default"), q = u(t, "size", 8, "md"), T = u(t, "arrow", 8, !0), k = u(t, "interactive", 8, !1), P = u(t, "className", 8, "");
1015
1010
  const D = Pe();
1016
1011
  let d = Y(), E = Y(), M = Y(!1), Q, A, f;
1017
1012
  const N = {
@@ -1030,54 +1025,54 @@ function Jt(K, t) {
1030
1025
  function z() {
1031
1026
  if (!e(E) || !e(d)) return { top: 0, left: 0 };
1032
1027
  f = e(E).getBoundingClientRect();
1033
- const l = e(d).getBoundingClientRect(), g = window.scrollY, se = window.scrollX, fe = window.innerWidth, Ce = window.innerHeight;
1028
+ const l = e(d).getBoundingClientRect(), x = window.scrollY, se = window.scrollX, fe = window.innerWidth, Ce = window.innerHeight;
1034
1029
  let ae = 0, G = 0;
1035
1030
  switch (w()) {
1036
1031
  case "top":
1037
- ae = f.top + g - l.height - 8, G = f.left + se + (f.width - l.width) / 2;
1032
+ ae = f.top + x - l.height - 8, G = f.left + se + (f.width - l.width) / 2;
1038
1033
  break;
1039
1034
  case "top-start":
1040
- ae = f.top + g - l.height - 8, G = f.left + se;
1035
+ ae = f.top + x - l.height - 8, G = f.left + se;
1041
1036
  break;
1042
1037
  case "top-end":
1043
- ae = f.top + g - l.height - 8, G = f.right + se - l.width;
1038
+ ae = f.top + x - l.height - 8, G = f.right + se - l.width;
1044
1039
  break;
1045
1040
  case "bottom":
1046
- ae = f.bottom + g + 8, G = f.left + se + (f.width - l.width) / 2;
1041
+ ae = f.bottom + x + 8, G = f.left + se + (f.width - l.width) / 2;
1047
1042
  break;
1048
1043
  case "bottom-start":
1049
- ae = f.bottom + g + 8, G = f.left + se;
1044
+ ae = f.bottom + x + 8, G = f.left + se;
1050
1045
  break;
1051
1046
  case "bottom-end":
1052
- ae = f.bottom + g + 8, G = f.right + se - l.width;
1047
+ ae = f.bottom + x + 8, G = f.right + se - l.width;
1053
1048
  break;
1054
1049
  case "left":
1055
- ae = f.top + g + (f.height - l.height) / 2, G = f.left + se - l.width - 8;
1050
+ ae = f.top + x + (f.height - l.height) / 2, G = f.left + se - l.width - 8;
1056
1051
  break;
1057
1052
  case "left-start":
1058
- ae = f.top + g, G = f.left + se - l.width - 8;
1053
+ ae = f.top + x, G = f.left + se - l.width - 8;
1059
1054
  break;
1060
1055
  case "left-end":
1061
- ae = f.bottom + g - l.height, G = f.left + se - l.width - 8;
1056
+ ae = f.bottom + x - l.height, G = f.left + se - l.width - 8;
1062
1057
  break;
1063
1058
  case "right":
1064
- ae = f.top + g + (f.height - l.height) / 2, G = f.right + se + 8;
1059
+ ae = f.top + x + (f.height - l.height) / 2, G = f.right + se + 8;
1065
1060
  break;
1066
1061
  case "right-start":
1067
- ae = f.top + g, G = f.right + se + 8;
1062
+ ae = f.top + x, G = f.right + se + 8;
1068
1063
  break;
1069
1064
  case "right-end":
1070
- ae = f.bottom + g - l.height, G = f.right + se + 8;
1065
+ ae = f.bottom + x - l.height, G = f.right + se + 8;
1071
1066
  break;
1072
1067
  }
1073
- return G < 8 && (G = 8), G + l.width > fe - 8 && (G = fe - l.width - 8), ae < 8 && (ae = 8), ae + l.height > Ce + g - 8 && (ae = Ce + g - l.height - 8), { top: ae, left: G };
1068
+ return G < 8 && (G = 8), G + l.width > fe - 8 && (G = fe - l.width - 8), ae < 8 && (ae = 8), ae + l.height > Ce + x - 8 && (ae = Ce + x - l.height - 8), { top: ae, left: G };
1074
1069
  }
1075
- function x(l) {
1076
- u() || e(M) || (clearTimeout(A), Q = setTimeout(
1070
+ function g(l) {
1071
+ m() || e(M) || (clearTimeout(A), Q = setTimeout(
1077
1072
  () => {
1078
- O(M, !0), D("show", l), requestAnimationFrame(() => {
1079
- const g = z();
1080
- e(d) && (ue(d, e(d).style.top = `${g.top}px`), ue(d, e(d).style.left = `${g.left}px`));
1073
+ O(M, !0), D("show", { event: l }), requestAnimationFrame(() => {
1074
+ const x = z();
1075
+ e(d) && (me(d, e(d).style.top = `${x.top}px`), me(d, e(d).style.left = `${x.left}px`));
1081
1076
  });
1082
1077
  },
1083
1078
  L()
@@ -1086,25 +1081,25 @@ function Jt(K, t) {
1086
1081
  function I(l) {
1087
1082
  e(M) && (clearTimeout(Q), A = setTimeout(
1088
1083
  () => {
1089
- O(M, !1), D("hide", l);
1084
+ O(M, !1), D("hide", { event: l });
1090
1085
  },
1091
1086
  k() ? 300 : 0
1092
1087
  ));
1093
1088
  }
1094
1089
  function V(l) {
1095
- j() === "click" && (e(M) ? I(l) : x(l));
1090
+ j() === "click" && (e(M) ? I(l) : g(l));
1096
1091
  }
1097
1092
  function $(l) {
1098
- j() === "click" && (l.key === "Enter" || l.key === " ") && (l.preventDefault(), e(M) ? I(l) : x(l));
1093
+ j() === "click" && (l.key === "Enter" || l.key === " ") && (l.preventDefault(), e(M) ? I(l) : g(l));
1099
1094
  }
1100
1095
  function ee(l) {
1101
- j() === "focus" && x(l);
1096
+ j() === "focus" && g(l);
1102
1097
  }
1103
1098
  function U(l) {
1104
1099
  j() === "focus" && I(l);
1105
1100
  }
1106
1101
  function b(l) {
1107
- j() === "hover" && x(l);
1102
+ j() === "hover" && g(l);
1108
1103
  }
1109
1104
  function h(l) {
1110
1105
  j() === "hover" && I(l);
@@ -1116,7 +1111,7 @@ function Jt(K, t) {
1116
1111
  k() && I(l);
1117
1112
  }
1118
1113
  function n() {
1119
- u() || O(M, !0);
1114
+ m() || O(M, !0);
1120
1115
  }
1121
1116
  function o() {
1122
1117
  O(M, !1);
@@ -1129,19 +1124,19 @@ function Jt(K, t) {
1129
1124
  }), ie(() => (e(M), e(d)), () => {
1130
1125
  e(M) && e(d) && requestAnimationFrame(() => {
1131
1126
  const l = z();
1132
- ue(d, e(d).style.top = `${l.top}px`), ue(d, e(d).style.left = `${l.left}px`);
1127
+ me(d, e(d).style.top = `${l.top}px`), me(d, e(d).style.left = `${l.left}px`);
1133
1128
  });
1134
1129
  }), ze();
1135
1130
  var Z = { show: n, hide: o, toggle: v };
1136
1131
  we();
1137
- var re = Nt(), de = me(re);
1132
+ var re = Nt(), de = ue(re);
1138
1133
  {
1139
1134
  var be = (l) => {
1140
- var g = Mt(), se = a(g);
1141
- ne(se, t, "default", {}, null), je(g, (fe) => O(E, fe), () => e(E)), p(() => J(g, "aria-describedby", e(M) ? "tooltip-{content}" : void 0)), R("click", g, V), R("keydown", g, $), R("focus", g, ee), R("blur", g, U), R("mouseenter", g, b), R("mouseleave", g, h), r(l, g);
1135
+ var x = Mt(), se = a(x);
1136
+ ne(se, t, "default", {}, null), je(x, (fe) => O(E, fe), () => e(E)), p(() => J(x, "aria-describedby", e(M) ? "tooltip-{content}" : void 0)), R("click", x, V), R("keydown", x, $), R("focus", x, ee), R("blur", x, U), R("mouseenter", x, b), R("mouseleave", x, h), r(l, x);
1142
1137
  }, _e = (l) => {
1143
- var g = It(), se = a(g);
1144
- ne(se, t, "default", {}, null), je(g, (fe) => O(E, fe), () => e(E)), p(() => J(g, "aria-describedby", e(M) ? "tooltip-{content}" : void 0)), R("click", g, V), R("keydown", g, $), R("focus", g, ee), R("blur", g, U), R("mouseenter", g, b), R("mouseleave", g, h), r(l, g);
1138
+ var x = It(), se = a(x);
1139
+ ne(se, t, "default", {}, null), je(x, (fe) => O(E, fe), () => e(E)), p(() => J(x, "aria-describedby", e(M) ? "tooltip-{content}" : void 0)), R("click", x, V), R("keydown", x, $), R("focus", x, ee), R("blur", x, U), R("mouseenter", x, b), R("mouseleave", x, h), r(l, x);
1145
1140
  };
1146
1141
  H(de, (l) => {
1147
1142
  j() === "click" ? l(be) : l(_e, !1);
@@ -1149,8 +1144,8 @@ function Jt(K, t) {
1149
1144
  }
1150
1145
  var le = i(de, 2);
1151
1146
  {
1152
- var xe = (l) => {
1153
- var g = At(), se = a(g), fe = a(se), Ce = i(fe);
1147
+ var ge = (l) => {
1148
+ var x = At(), se = a(x), fe = a(se), Ce = i(fe);
1154
1149
  {
1155
1150
  var ae = (G) => {
1156
1151
  var Ee = Dt();
@@ -1181,9 +1176,9 @@ function Jt(K, t) {
1181
1176
  T() && G(ae);
1182
1177
  });
1183
1178
  }
1184
- je(g, (G) => O(d, G), () => e(d)), p(() => {
1185
- J(g, "id", `tooltip-${y() ?? ""}`), S(
1186
- g,
1179
+ je(x, (G) => O(d, G), () => e(d)), p(() => {
1180
+ J(x, "id", `tooltip-${y() ?? ""}`), S(
1181
+ x,
1187
1182
  1,
1188
1183
  `
1189
1184
  fixed z-tooltip
@@ -1193,15 +1188,15 @@ function Jt(K, t) {
1193
1188
  ${P() ?? ""}
1194
1189
  `,
1195
1190
  "svelte-13nzt82"
1196
- ), ke(g, `max-width: ${B() ?? ""};`), W(fe, `${y() ?? ""} `);
1197
- }), R("mouseenter", g, c), R("mouseleave", g, s), qe(3, g, () => Re, () => ({
1191
+ ), ke(x, `max-width: ${B() ?? ""};`), W(fe, `${y() ?? ""} `);
1192
+ }), R("mouseenter", x, c), R("mouseleave", x, s), qe(3, x, () => Re, () => ({
1198
1193
  x: w().includes("left") ? -10 : w().includes("right") ? 10 : 0,
1199
1194
  y: w().includes("top") ? -10 : w().includes("bottom") ? 10 : 0,
1200
1195
  duration: 200
1201
- })), r(l, g);
1196
+ })), r(l, x);
1202
1197
  };
1203
1198
  H(le, (l) => {
1204
- e(M) && y() && l(xe);
1199
+ e(M) && y() && l(ge);
1205
1200
  });
1206
1201
  }
1207
1202
  return r(K, re), Le(t, "show", n), Le(t, "hide", o), Le(t, "toggle", v), pe(Z);