@dhasdk/simple-ui 1.0.49 → 1.0.50

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/index.mjs CHANGED
@@ -1,4 +1,4 @@
1
- import { jsxs as z, jsx as t, Fragment as ne } from "react/jsx-runtime";
1
+ import { jsxs as z, jsx as t, Fragment as oe } from "react/jsx-runtime";
2
2
  import * as le from "react";
3
3
  import m2, { forwardRef as re, useState as T, useEffect as G, Children as We, isValidElement as xe, cloneElement as De, useRef as Q, useMemo as Re, useImperativeHandle as g2, useCallback as $e, useLayoutEffect as V2, createContext as z2, useContext as H2 } from "react";
4
4
  import { useLocation as B2, Link as Be, NavLink as I2 } from "react-router-dom";
@@ -197,13 +197,13 @@ const qe = "-", A2 = (e) => {
197
197
  }
198
198
  x = !1;
199
199
  }
200
- const h = a(M).join(":"), N = k ? h + Pe : h, V = N + w;
201
- if (n.includes(V))
200
+ const h = a(M).join(":"), N = k ? h + Pe : h, S = N + w;
201
+ if (n.includes(S))
202
202
  continue;
203
- n.push(V);
203
+ n.push(S);
204
204
  const I = l(w, x);
205
- for (let S = 0; S < I.length; ++S) {
206
- const O = I[S];
205
+ for (let V = 0; V < I.length; ++V) {
206
+ const O = I[V];
207
207
  n.push(N + O);
208
208
  }
209
209
  c = g + (c.length > 0 ? " " + c : c);
@@ -256,7 +256,7 @@ const J = (e) => {
256
256
  const s = b2.exec(e);
257
257
  return s ? s[1] ? r(s[1]) : o : !1;
258
258
  }, w2 = (e) => e === "position" || e === "percentage", v2 = (e) => e === "image" || e === "url", C2 = (e) => e === "length" || e === "size" || e === "bg-size", y2 = (e) => e === "length", m0 = (e) => e === "number", g0 = (e) => e === "family-name", k2 = (e) => e === "shadow", f0 = () => {
259
- const e = J("color"), r = J("font"), o = J("text"), s = J("font-weight"), l = J("tracking"), a = J("leading"), n = J("breakpoint"), d = J("container"), c = J("spacing"), u = J("radius"), g = J("shadow"), y = J("inset-shadow"), M = J("text-shadow"), k = J("drop-shadow"), b = J("blur"), L = J("perspective"), x = J("aspect"), w = J("ease"), h = J("animate"), N = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], V = () => [
259
+ const e = J("color"), r = J("font"), o = J("text"), s = J("font-weight"), l = J("tracking"), a = J("leading"), n = J("breakpoint"), d = J("container"), c = J("spacing"), u = J("radius"), g = J("shadow"), y = J("inset-shadow"), M = J("text-shadow"), k = J("drop-shadow"), b = J("blur"), L = J("perspective"), x = J("aspect"), w = J("ease"), h = J("animate"), N = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], S = () => [
260
260
  "center",
261
261
  "top",
262
262
  "bottom",
@@ -274,9 +274,9 @@ const J = (e) => {
274
274
  "bottom-left",
275
275
  // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
276
276
  "left-bottom"
277
- ], I = () => [...V(), B, H], S = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", "contain", "none"], $ = () => [B, H, c], U = () => [fe, "full", "auto", ...$()], Y = () => [de, "none", "subgrid", B, H], v = () => ["auto", {
277
+ ], I = () => [...S(), B, H], V = () => ["auto", "hidden", "clip", "visible", "scroll"], O = () => ["auto", "contain", "none"], $ = () => [B, H, c], U = () => [fe, "full", "auto", ...$()], Y = () => [de, "none", "subgrid", B, H], v = () => ["auto", {
278
278
  span: ["full", de, B, H]
279
- }, de, B, H], _ = () => [de, "auto", B, H], F = () => ["auto", "min", "max", "fr", B, H], D = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], f = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], m = () => ["auto", ...$()], C = () => [fe, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...$()], i = () => [e, B, H], A = () => [...V(), Qe, Je, {
279
+ }, de, B, H], _ = () => [de, "auto", B, H], F = () => ["auto", "min", "max", "fr", B, H], D = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], f = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], m = () => ["auto", ...$()], C = () => [fe, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...$()], i = () => [e, B, H], A = () => [...S(), Qe, Je, {
280
280
  position: [B, H]
281
281
  }], E = () => ["no-repeat", {
282
282
  repeat: ["", "x", "y", "space", "round"]
@@ -290,7 +290,7 @@ const J = (e) => {
290
290
  u,
291
291
  B,
292
292
  H
293
- ], W = () => ["", P, be, ue], X = () => ["solid", "dashed", "dotted", "double"], oe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], q = () => [P, Ie, Qe, Je], ae = () => [
293
+ ], W = () => ["", P, be, ue], X = () => ["solid", "dashed", "dotted", "double"], ne = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], q = () => [P, Ie, Qe, Je], ae = () => [
294
294
  // Deprecated since Tailwind CSS v4.0.0
295
295
  "",
296
296
  "none",
@@ -428,21 +428,21 @@ const J = (e) => {
428
428
  * @see https://tailwindcss.com/docs/overflow
429
429
  */
430
430
  overflow: [{
431
- overflow: S()
431
+ overflow: V()
432
432
  }],
433
433
  /**
434
434
  * Overflow X
435
435
  * @see https://tailwindcss.com/docs/overflow
436
436
  */
437
437
  "overflow-x": [{
438
- "overflow-x": S()
438
+ "overflow-x": V()
439
439
  }],
440
440
  /**
441
441
  * Overflow Y
442
442
  * @see https://tailwindcss.com/docs/overflow
443
443
  */
444
444
  "overflow-y": [{
445
- "overflow-y": S()
445
+ "overflow-y": V()
446
446
  }],
447
447
  /**
448
448
  * Overscroll Behavior
@@ -1751,14 +1751,14 @@ const J = (e) => {
1751
1751
  * @see https://tailwindcss.com/docs/mix-blend-mode
1752
1752
  */
1753
1753
  "mix-blend": [{
1754
- "mix-blend": [...oe(), "plus-darker", "plus-lighter"]
1754
+ "mix-blend": [...ne(), "plus-darker", "plus-lighter"]
1755
1755
  }],
1756
1756
  /**
1757
1757
  * Background Blend Mode
1758
1758
  * @see https://tailwindcss.com/docs/background-blend-mode
1759
1759
  */
1760
1760
  "bg-blend": [{
1761
- "bg-blend": oe()
1761
+ "bg-blend": ne()
1762
1762
  }],
1763
1763
  /**
1764
1764
  * Mask Clip
@@ -1890,7 +1890,7 @@ const J = (e) => {
1890
1890
  }]
1891
1891
  }],
1892
1892
  "mask-image-radial-pos": [{
1893
- "mask-radial-at": V()
1893
+ "mask-radial-at": S()
1894
1894
  }],
1895
1895
  "mask-image-conic-pos": [{
1896
1896
  "mask-conic": [P]
@@ -2744,7 +2744,7 @@ const J = (e) => {
2744
2744
  children: b,
2745
2745
  ...L
2746
2746
  }, x) => {
2747
- const [w, h] = T(!1), [N, V] = T(Te), [I, S] = T(Oe), [O, $] = T(""), U = `accordion-${k ?? r.replace(/\s+/g, "-").toLowerCase()}`, Y = () => {
2747
+ const [w, h] = T(!1), [N, S] = T(Te), [I, V] = T(Oe), [O, $] = T(""), U = `accordion-${k ?? r.replace(/\s+/g, "-").toLowerCase()}`, Y = () => {
2748
2748
  u && g && u(h), h(!w);
2749
2749
  }, v = (_) => {
2750
2750
  (_.key === "Enter" || _.key === " ") && (_.preventDefault(), Y());
@@ -2752,9 +2752,9 @@ const J = (e) => {
2752
2752
  return G(() => {
2753
2753
  $(p("border-[#dfe1e2] -mt-4 pt-0 mb-3", y));
2754
2754
  }, [y]), G(() => {
2755
- V(M ? Te : p(Te, "bg-transparent border-0"));
2755
+ S(M ? Te : p(Te, "bg-transparent border-0"));
2756
2756
  }, [M]), G(() => {
2757
- S(w && M ? p(Oe, "border-b-0! rounded-t rounded-b-none") : Oe);
2757
+ V(w && M ? p(Oe, "border-b-0! rounded-t rounded-b-none") : Oe);
2758
2758
  }, [w, M]), /* @__PURE__ */ z("div", { ref: x, className: o, children: [
2759
2759
  /* @__PURE__ */ z(
2760
2760
  "button",
@@ -2772,7 +2772,7 @@ const J = (e) => {
2772
2772
  ]
2773
2773
  }
2774
2774
  ),
2775
- w && /* @__PURE__ */ t(ne, { children: /* @__PURE__ */ z(
2775
+ w && /* @__PURE__ */ t(oe, { children: /* @__PURE__ */ z(
2776
2776
  "div",
2777
2777
  {
2778
2778
  className: p(
@@ -2855,11 +2855,11 @@ const J = (e) => {
2855
2855
  width: u = "",
2856
2856
  ...g
2857
2857
  }) => {
2858
- const y = Q(null), M = Q(null), k = Q(null), [b, L] = T(!1), [x, w] = T(!1), [h, N] = T(l || "Options"), [V, I] = T(null), S = Q("bottom-[60px]"), [O, $] = T("");
2858
+ const y = Q(null), M = Q(null), k = Q(null), [b, L] = T(!1), [x, w] = T(!1), [h, N] = T(l || "Options"), [S, I] = T(null), V = Q("bottom-[60px]"), [O, $] = T("");
2859
2859
  G(() => {
2860
2860
  if (M.current) {
2861
2861
  const f = M.current.getBoundingClientRect(), m = Math.floor(f.height) + 2;
2862
- S.current = "bottom-[" + m + "px]";
2862
+ V.current = "bottom-[" + m + "px]";
2863
2863
  }
2864
2864
  }, [M.current]);
2865
2865
  const U = () => {
@@ -2961,7 +2961,7 @@ const J = (e) => {
2961
2961
  className: p(
2962
2962
  "absolute w-full shadow-lg bg-white ring-1 ring-white/5 focus:outline-hidden z-10 ",
2963
2963
  b && x && "rounded-t-lg pt-1" || b && !x && "rounded-b-lg pb-1",
2964
- x && S.current
2964
+ x && V.current
2965
2965
  ),
2966
2966
  children: s.map((f, m) => (
2967
2967
  // <li key={item.name}>
@@ -2974,7 +2974,7 @@ const J = (e) => {
2974
2974
  className: `block w-full px-4 py-2 text-left text-base text-gray-700
2975
2975
  hover:bg-[#092068]/20 focus:outline-hidden focus:bg-[#092068]/20`,
2976
2976
  role: "option",
2977
- "aria-selected": V === m,
2977
+ "aria-selected": S === m,
2978
2978
  "aria-label": "option " + f.name,
2979
2979
  onClick: () => {
2980
2980
  I(m), N(f.name), d(f.value || f.name), L(!1);
@@ -3117,28 +3117,28 @@ const z0 = {
3117
3117
  // separator = separatorSvg,
3118
3118
  ...c
3119
3119
  }, u) => {
3120
- const g = Q(null), [y, M] = T("/"), [k, b] = T(!1), [L, x] = T(), [w, h] = T(0), { pathname: N } = B2(), V = Re(() => l && l.length > 0 ? (M(l[0].route), l.slice(1)) : N.split("/").filter(Boolean).map((O, $, U) => ({
3120
+ const g = Q(null), [y, M] = T("/"), [k, b] = T(!1), [L, x] = T(), [w, h] = T(0), { pathname: N } = B2(), S = Re(() => l && l.length > 0 ? (M(l[0].route), l.slice(1)) : N.split("/").filter(Boolean).map((O, $, U) => ({
3121
3121
  name: V0(decodeURIComponent(O)),
3122
3122
  route: "/" + U.slice(0, $ + 1).join("/")
3123
3123
  })), [l, N]);
3124
3124
  G(() => {
3125
- const S = g.current;
3126
- S && h(S.offsetWidth);
3125
+ const V = g.current;
3126
+ V && h(V.offsetWidth);
3127
3127
  }, []);
3128
3128
  const I = () => {
3129
- const S = g.current;
3130
- (S && !L || S && L && Date.now() > L + 200) && (k ? S.clientWidth > w && b(!1) : S.scrollWidth > S.clientWidth && b(!0), x(Date.now()));
3129
+ const V = g.current;
3130
+ (V && !L || V && L && Date.now() > L + 200) && (k ? V.clientWidth > w && b(!1) : V.scrollWidth > V.clientWidth && b(!0), x(Date.now()));
3131
3131
  };
3132
3132
  return G(() => {
3133
- const S = g.current;
3134
- if (!S)
3133
+ const V = g.current;
3134
+ if (!V)
3135
3135
  return;
3136
- V.length > 2 ? I() : b(!1);
3136
+ S.length > 2 ? I() : b(!1);
3137
3137
  const O = new ResizeObserver(I);
3138
- return O.observe(S), () => {
3138
+ return O.observe(V), () => {
3139
3139
  O.disconnect();
3140
3140
  };
3141
- }, [L, V]), /* @__PURE__ */ t(
3141
+ }, [L, S]), /* @__PURE__ */ t(
3142
3142
  "nav",
3143
3143
  {
3144
3144
  className: p(z0[a], e),
@@ -3172,16 +3172,16 @@ const z0 = {
3172
3172
  "capitalize me-2 inline-flex md:hidden",
3173
3173
  r
3174
3174
  ),
3175
- children: (V == null ? void 0 : V.length) > 0 ? /* @__PURE__ */ t(t2, { className: o }) : /* @__PURE__ */ t(t2, { className: s })
3175
+ children: (S == null ? void 0 : S.length) > 0 ? /* @__PURE__ */ t(t2, { className: o }) : /* @__PURE__ */ t(t2, { className: s })
3176
3176
  }
3177
3177
  ),
3178
- V.length > 0 ? /* @__PURE__ */ t("span", { className: p("me-2", r), children: /* @__PURE__ */ t(Ee, { className: d }) }) : ""
3178
+ S.length > 0 ? /* @__PURE__ */ t("span", { className: p("me-2", r), children: /* @__PURE__ */ t(Ee, { className: d }) }) : ""
3179
3179
  ] }),
3180
3180
  /* @__PURE__ */ t(
3181
3181
  "span",
3182
3182
  {
3183
3183
  className: "",
3184
- children: V.map((S, O) => k ? /* @__PURE__ */ t("span", { className: "inline-flex items-center shrink-0 text-nowrap", children: O === V.length - 1 ? /* @__PURE__ */ z(ne, { children: [
3184
+ children: S.map((V, O) => k ? /* @__PURE__ */ t("span", { className: "inline-flex items-center shrink-0 text-nowrap", children: O === S.length - 1 ? /* @__PURE__ */ z(oe, { children: [
3185
3185
  /* @__PURE__ */ t("span", { className: "text-nowrap me-3", children: "..." }),
3186
3186
  /* @__PURE__ */ t("span", { className: p("me-3", r), children: /* @__PURE__ */ t(Ee, { className: d }) }),
3187
3187
  /* @__PURE__ */ t(
@@ -3189,7 +3189,7 @@ const z0 = {
3189
3189
  {
3190
3190
  className: p("text-black font-bold capitalize text-nowrap", n),
3191
3191
  "aria-current": "page",
3192
- children: decodeURIComponent(S.name).replace(/-/g, " ")
3192
+ children: decodeURIComponent(V.name).replace(/-/g, " ")
3193
3193
  }
3194
3194
  )
3195
3195
  ] }) : "" }, O) : /* @__PURE__ */ z(
@@ -3197,14 +3197,14 @@ const z0 = {
3197
3197
  {
3198
3198
  className: "breadcrumb-item inline-flex items-center shrink-0",
3199
3199
  children: [
3200
- O === V.length - 1 ? (
3200
+ O === S.length - 1 ? (
3201
3201
  // Render the current page as plain text (last item in list)
3202
3202
  /* @__PURE__ */ t(
3203
3203
  "span",
3204
3204
  {
3205
3205
  className: p("text-black font-bold capitalize", n),
3206
3206
  "aria-current": "page",
3207
- children: decodeURIComponent(S.name).replace(/-/g, " ")
3207
+ children: decodeURIComponent(V.name).replace(/-/g, " ")
3208
3208
  }
3209
3209
  )
3210
3210
  ) : (
@@ -3212,16 +3212,16 @@ const z0 = {
3212
3212
  /* @__PURE__ */ t(
3213
3213
  Be,
3214
3214
  {
3215
- to: S.route,
3215
+ to: V.route,
3216
3216
  className: p(
3217
3217
  "text-[#747476] hover:text-[#0000ff] md:hover:underline capitalize me-3",
3218
3218
  r
3219
3219
  ),
3220
- children: decodeURIComponent(S.name).replace(/-/g, " ")
3220
+ children: decodeURIComponent(V.name).replace(/-/g, " ")
3221
3221
  }
3222
3222
  )
3223
3223
  ),
3224
- O < V.length - 1 && // <span className={twMerge("me-3", className)}><img src={separator} alt='vector'></img></span>
3224
+ O < S.length - 1 && // <span className={twMerge("me-3", className)}><img src={separator} alt='vector'></img></span>
3225
3225
  /* @__PURE__ */ t("span", { className: p("me-3", r), children: /* @__PURE__ */ t(Ee, { className: d }) })
3226
3226
  ]
3227
3227
  },
@@ -3306,10 +3306,10 @@ const z0 = {
3306
3306
  }, w) => {
3307
3307
  const [h, N] = T("");
3308
3308
  G(() => {
3309
- let S = Ye[g].normal || Ye.default.normal;
3310
- k && !b ? S = p(S, Ye[g].selected) : k && b && (S = p(S, b)), N(p(H0, S));
3309
+ let V = Ye[g].normal || Ye.default.normal;
3310
+ k && !b ? V = p(V, Ye[g].selected) : k && b && (V = p(V, b)), N(p(H0, V));
3311
3311
  }, [k, b, g]);
3312
- const V = d ?? (n && (u === "left" || u === "both") ? n : void 0), I = c ?? (n && (u === "right" || u === "both") ? n : void 0);
3312
+ const S = d ?? (n && (u === "left" || u === "both") ? n : void 0), I = c ?? (n && (u === "right" || u === "both") ? n : void 0);
3313
3313
  return /* @__PURE__ */ z(
3314
3314
  "button",
3315
3315
  {
@@ -3326,7 +3326,7 @@ const z0 = {
3326
3326
  ref: w,
3327
3327
  ...x,
3328
3328
  children: [
3329
- V && /* @__PURE__ */ t("span", { className: p("mr-3", s), children: V }),
3329
+ S && /* @__PURE__ */ t("span", { className: p("mr-3", s), children: S }),
3330
3330
  u === "iconOnly" && n ? /* @__PURE__ */ t("span", { className: "size-6", children: n }) : /* @__PURE__ */ t("span", { className: p("grow-1 text-start", a), children: M || e }),
3331
3331
  I && /* @__PURE__ */ t("span", { className: p("ml-3", l), children: I })
3332
3332
  ]
@@ -3582,16 +3582,16 @@ const L2 = m2.forwardRef(
3582
3582
  name: x,
3583
3583
  ...w
3584
3584
  }, h) => {
3585
- const [N, V] = T("unchecked"), I = Q(null), [S, O] = T(r2);
3585
+ const [N, S] = T("unchecked"), I = Q(null), [V, O] = T(r2);
3586
3586
  g2(h, () => I.current), G(() => {
3587
- M && V(M);
3587
+ M && S(M);
3588
3588
  }, [M]), G(() => {
3589
3589
  y && g !== void 0 && y(N, g), I.current && (I.current.indeterminate = N === "indeterminate");
3590
3590
  }, [N]), G(() => {
3591
3591
  r && (N === "checked" ? O(a ? u ? P0 : F0 : u ? Z0 : Y0) : N === "unchecked" ? O(a ? j0 : r2) : N === "indeterminate" && O(a ? R0 : U0));
3592
3592
  }, [a, r, N, u]);
3593
3593
  const $ = (U) => {
3594
- U.target.checked ? (V("checked"), typeof L == "function" && L("checked", x)) : (V("unchecked"), typeof L == "function" && L("unchecked", x));
3594
+ U.target.checked ? (S("checked"), typeof L == "function" && L("checked", x)) : (S("unchecked"), typeof L == "function" && L("unchecked", x));
3595
3595
  };
3596
3596
  return /* @__PURE__ */ z("div", { className: p("flex items-center", e), children: [
3597
3597
  c.map((U, Y) => /* @__PURE__ */ t(
@@ -3618,7 +3618,7 @@ const L2 = m2.forwardRef(
3618
3618
  ...w
3619
3619
  }
3620
3620
  ),
3621
- r && /* @__PURE__ */ t("img", { alt: N, src: S, className: "" }),
3621
+ r && /* @__PURE__ */ t("img", { alt: N, src: V, className: "" }),
3622
3622
  k
3623
3623
  ] })
3624
3624
  ] });
@@ -3739,7 +3739,7 @@ function J0() {
3739
3739
  } }, N = function(D, f, m) {
3740
3740
  var C = String(D);
3741
3741
  return !C || C.length >= f ? D : "" + Array(f + 1 - C.length).join(m) + D;
3742
- }, V = { s: N, z: function(D) {
3742
+ }, S = { s: N, z: function(D) {
3743
3743
  var f = -D.utcOffset(), m = Math.abs(f), C = Math.floor(m / 60), i = m % 60;
3744
3744
  return (f <= 0 ? "+" : "-") + N(C, 2, "0") + ":" + N(i, 2, "0");
3745
3745
  }, m: function D(f, m) {
@@ -3752,8 +3752,8 @@ function J0() {
3752
3752
  return { M: y, y: k, w: g, d: u, D: b, h: c, m: d, s: n, ms: a, Q: M }[D] || String(D || "").toLowerCase().replace(/s$/, "");
3753
3753
  }, u: function(D) {
3754
3754
  return D === void 0;
3755
- } }, I = "en", S = {};
3756
- S[I] = h;
3755
+ } }, I = "en", V = {};
3756
+ V[I] = h;
3757
3757
  var O = "$isDayjsObject", $ = function(D) {
3758
3758
  return D instanceof _ || !(!D || !D[O]);
3759
3759
  }, U = function D(f, m, C) {
@@ -3761,19 +3761,19 @@ function J0() {
3761
3761
  if (!f) return I;
3762
3762
  if (typeof f == "string") {
3763
3763
  var A = f.toLowerCase();
3764
- S[A] && (i = A), m && (S[A] = m, i = A);
3764
+ V[A] && (i = A), m && (V[A] = m, i = A);
3765
3765
  var E = f.split("-");
3766
3766
  if (!i && E.length > 1) return D(E[0]);
3767
3767
  } else {
3768
3768
  var j = f.name;
3769
- S[j] = f, i = j;
3769
+ V[j] = f, i = j;
3770
3770
  }
3771
3771
  return !C && i && (I = i), i || !C && I;
3772
3772
  }, Y = function(D, f) {
3773
3773
  if ($(D)) return D.clone();
3774
3774
  var m = typeof f == "object" ? f : {};
3775
3775
  return m.date = D, m.args = arguments, new _(m);
3776
- }, v = V;
3776
+ }, v = S;
3777
3777
  v.l = U, v.i = $, v.w = function(D, f) {
3778
3778
  return Y(D, { locale: f.$L, utc: f.$u, x: f.$x, $offset: f.$offset });
3779
3779
  };
@@ -3823,7 +3823,7 @@ function J0() {
3823
3823
  return A ? ee : ee.endOf(u);
3824
3824
  }, R = function(te, K) {
3825
3825
  return v.w(i.toDate()[te].apply(i.toDate("s"), (A ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(K)), i);
3826
- }, Z = this.$W, W = this.$M, X = this.$D, oe = "set" + (this.$u ? "UTC" : "");
3826
+ }, Z = this.$W, W = this.$M, X = this.$D, ne = "set" + (this.$u ? "UTC" : "");
3827
3827
  switch (E) {
3828
3828
  case k:
3829
3829
  return A ? j(1, 0) : j(31, 11);
@@ -3834,13 +3834,13 @@ function J0() {
3834
3834
  return j(A ? X - ae : X + (6 - ae), W);
3835
3835
  case u:
3836
3836
  case b:
3837
- return R(oe + "Hours", 0);
3837
+ return R(ne + "Hours", 0);
3838
3838
  case c:
3839
- return R(oe + "Minutes", 1);
3839
+ return R(ne + "Minutes", 1);
3840
3840
  case d:
3841
- return R(oe + "Seconds", 2);
3841
+ return R(ne + "Seconds", 2);
3842
3842
  case n:
3843
- return R(oe + "Milliseconds", 3);
3843
+ return R(ne + "Milliseconds", 3);
3844
3844
  default:
3845
3845
  return this.clone();
3846
3846
  }
@@ -3875,11 +3875,11 @@ function J0() {
3875
3875
  }, f.format = function(m) {
3876
3876
  var C = this, i = this.$locale();
3877
3877
  if (!this.isValid()) return i.invalidDate || L;
3878
- var A = m || "YYYY-MM-DDTHH:mm:ssZ", E = v.z(this), j = this.$H, R = this.$m, Z = this.$M, W = i.weekdays, X = i.months, oe = i.meridiem, q = function(K, ee, se, ce) {
3878
+ var A = m || "YYYY-MM-DDTHH:mm:ssZ", E = v.z(this), j = this.$H, R = this.$m, Z = this.$M, W = i.weekdays, X = i.months, ne = i.meridiem, q = function(K, ee, se, ce) {
3879
3879
  return K && (K[ee] || K(C, A)) || se[ee].slice(0, ce);
3880
3880
  }, ae = function(K) {
3881
3881
  return v.s(j % 12 || 12, K, "0");
3882
- }, te = oe || function(K, ee, se) {
3882
+ }, te = ne || function(K, ee, se) {
3883
3883
  var ce = K < 12 ? "AM" : "PM";
3884
3884
  return se ? ce.toLowerCase() : ce;
3885
3885
  };
@@ -3976,7 +3976,7 @@ function J0() {
3976
3976
  }, f.daysInMonth = function() {
3977
3977
  return this.endOf(y).$D;
3978
3978
  }, f.$locale = function() {
3979
- return S[this.$L];
3979
+ return V[this.$L];
3980
3980
  }, f.locale = function(m, C) {
3981
3981
  if (!m) return this.$L;
3982
3982
  var i = this.clone(), A = U(m, C, !0);
@@ -4001,7 +4001,7 @@ function J0() {
4001
4001
  return D.$i || (D(f, _, Y), D.$i = !0), Y;
4002
4002
  }, Y.locale = U, Y.isDayjs = $, Y.unix = function(D) {
4003
4003
  return Y(1e3 * D);
4004
- }, Y.en = S[I], Y.Ls = S, Y.p = {}, Y;
4004
+ }, Y.en = V[I], Y.Ls = V, Y.p = {}, Y;
4005
4005
  });
4006
4006
  }(_e)), _e.exports;
4007
4007
  }
@@ -4031,8 +4031,8 @@ function tt() {
4031
4031
  }, k = function(x, w) {
4032
4032
  var h, N = c.meridiem;
4033
4033
  if (N) {
4034
- for (var V = 1; V <= 24; V += 1) if (x.indexOf(N(V, 0, w)) > -1) {
4035
- h = V > 12;
4034
+ for (var S = 1; S <= 24; S += 1) if (x.indexOf(N(S, 0, w)) > -1) {
4035
+ h = S > 12;
4036
4036
  break;
4037
4037
  }
4038
4038
  } else h = x === (w ? "pm" : "PM");
@@ -4073,12 +4073,12 @@ function tt() {
4073
4073
  return v || h[_] || o[_] || h[F].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, function(D, f, m) {
4074
4074
  return f || m.slice(1);
4075
4075
  });
4076
- })).match(s), V = N.length, I = 0; I < V; I += 1) {
4077
- var S = N[I], O = b[S], $ = O && O[0], U = O && O[1];
4078
- N[I] = U ? { regex: $, parser: U } : S.replace(/^\[|\]$/g, "");
4076
+ })).match(s), S = N.length, I = 0; I < S; I += 1) {
4077
+ var V = N[I], O = b[V], $ = O && O[0], U = O && O[1];
4078
+ N[I] = U ? { regex: $, parser: U } : V.replace(/^\[|\]$/g, "");
4079
4079
  }
4080
4080
  return function(Y) {
4081
- for (var v = {}, _ = 0, F = 0; _ < V; _ += 1) {
4081
+ for (var v = {}, _ = 0, F = 0; _ < S; _ += 1) {
4082
4082
  var D = N[_];
4083
4083
  if (typeof D == "string") F += D.length;
4084
4084
  else {
@@ -4097,9 +4097,9 @@ function tt() {
4097
4097
  }
4098
4098
  return function(x, w, h) {
4099
4099
  h.p.customParseFormat = !0, x && x.parseTwoDigitYear && (u = x.parseTwoDigitYear);
4100
- var N = w.prototype, V = N.parse;
4100
+ var N = w.prototype, S = N.parse;
4101
4101
  N.parse = function(I) {
4102
- var S = I.date, O = I.utc, $ = I.args;
4102
+ var V = I.date, O = I.utc, $ = I.args;
4103
4103
  this.$u = O;
4104
4104
  var U = $[1];
4105
4105
  if (typeof U == "string") {
@@ -4107,14 +4107,14 @@ function tt() {
4107
4107
  v && (F = $[2]), c = this.$locale(), !Y && F && (c = h.Ls[F]), this.$d = function(C, i, A, E) {
4108
4108
  try {
4109
4109
  if (["x", "X"].indexOf(i) > -1) return new Date((i === "X" ? 1e3 : 1) * C);
4110
- var j = L(i)(C), R = j.year, Z = j.month, W = j.day, X = j.hours, oe = j.minutes, q = j.seconds, ae = j.milliseconds, te = j.zone, K = j.week, ee = /* @__PURE__ */ new Date(), se = W || (R || Z ? 1 : ee.getDate()), ce = R || ee.getFullYear(), we = 0;
4110
+ var j = L(i)(C), R = j.year, Z = j.month, W = j.day, X = j.hours, ne = j.minutes, q = j.seconds, ae = j.milliseconds, te = j.zone, K = j.week, ee = /* @__PURE__ */ new Date(), se = W || (R || Z ? 1 : ee.getDate()), ce = R || ee.getFullYear(), we = 0;
4111
4111
  R && !Z || (we = Z > 0 ? Z - 1 : ee.getMonth());
4112
- var ve, Se = X || 0, Ve = oe || 0, ze = q || 0, He = ae || 0;
4112
+ var ve, Se = X || 0, Ve = ne || 0, ze = q || 0, He = ae || 0;
4113
4113
  return te ? new Date(Date.UTC(ce, we, se, Se, Ve, ze, He + 60 * te.offset * 1e3)) : A ? new Date(Date.UTC(ce, we, se, Se, Ve, ze, He)) : (ve = new Date(ce, we, se, Se, Ve, ze, He), K && (ve = E(ve).week(K).toDate()), ve);
4114
4114
  } catch {
4115
4115
  return /* @__PURE__ */ new Date("");
4116
4116
  }
4117
- }(S, U, O, h), this.init(), F && F !== !0 && (this.$L = this.locale(F).$L), _ && S != this.format(U) && (this.$d = /* @__PURE__ */ new Date("")), c = {};
4117
+ }(V, U, O, h), this.init(), F && F !== !0 && (this.$L = this.locale(F).$L), _ && V != this.format(U) && (this.$d = /* @__PURE__ */ new Date("")), c = {};
4118
4118
  } else if (U instanceof Array) for (var D = U.length, f = 1; f <= D; f += 1) {
4119
4119
  $[1] = U[f - 1];
4120
4120
  var m = h.apply(this, $);
@@ -4124,7 +4124,7 @@ function tt() {
4124
4124
  }
4125
4125
  f === D && (this.$d = /* @__PURE__ */ new Date(""));
4126
4126
  }
4127
- else V.call(this, I);
4127
+ else S.call(this, I);
4128
4128
  };
4129
4129
  };
4130
4130
  });
@@ -4159,13 +4159,13 @@ const qt = ({
4159
4159
  document.removeEventListener("mousedown", v);
4160
4160
  };
4161
4161
  }, [a]);
4162
- const V = (v) => {
4162
+ const S = (v) => {
4163
4163
  var F;
4164
4164
  const _ = v.format("M-D-YYYY");
4165
4165
  M(!0), g(v), c(_), b(!0), s(_), n(!1), (F = x.current) == null || F.focus();
4166
4166
  }, I = (v, _) => {
4167
- v.key === "Enter" && V(_);
4168
- }, S = (v) => {
4167
+ v.key === "Enter" && S(_);
4168
+ }, V = (v) => {
4169
4169
  const _ = v.target.value;
4170
4170
  if (c(_), M(!0), !/^\d{1,2}-\d{2}-\d{4}$/.test(_)) {
4171
4171
  b(!1), s(_);
@@ -4191,7 +4191,7 @@ const qt = ({
4191
4191
  "button",
4192
4192
  {
4193
4193
  tabIndex: 0,
4194
- onClick: () => V(F),
4194
+ onClick: () => S(F),
4195
4195
  onKeyDown: (D) => I(D, F),
4196
4196
  className: `w-8 h-8 ${F.isSame(u, "date") ? "bg-blue-600 text-white" : ""} hover:bg-blue-100 focus:ring`,
4197
4197
  "aria-label": F.format("MMMM D, YYYY"),
@@ -4214,7 +4214,7 @@ const qt = ({
4214
4214
  "aria-labelledby": "date-picker-input",
4215
4215
  ref: x,
4216
4216
  value: y ? d : "",
4217
- onChange: S,
4217
+ onChange: V,
4218
4218
  placeholder: "M-D-YYYY",
4219
4219
  className: `block w-full border-gray-300 border-2 rounded-l-md rounded-r-none py-2
4220
4220
  focus:border-blue-500 pl-1 focus:outline-hidden`
@@ -4305,7 +4305,7 @@ const qt = ({
4305
4305
  const L = k.slice(0, b), x = L.lastIndexOf(" ");
4306
4306
  return x > 0 ? L.slice(0, x) : L;
4307
4307
  })(e, r);
4308
- return e.length <= r ? /* @__PURE__ */ t("span", { className: d, children: e }) : /* @__PURE__ */ t("div", { className: d, id: g, children: c ? /* @__PURE__ */ z(ne, { children: [
4308
+ return e.length <= r ? /* @__PURE__ */ t("span", { className: d, children: e }) : /* @__PURE__ */ t("div", { className: d, id: g, children: c ? /* @__PURE__ */ z(oe, { children: [
4309
4309
  e,
4310
4310
  a && /* @__PURE__ */ t(
4311
4311
  "button",
@@ -4320,7 +4320,7 @@ const qt = ({
4320
4320
  children: n
4321
4321
  }
4322
4322
  )
4323
- ] }) : /* @__PURE__ */ z(ne, { children: [
4323
+ ] }) : /* @__PURE__ */ z(oe, { children: [
4324
4324
  M,
4325
4325
  "...",
4326
4326
  /* @__PURE__ */ t(
@@ -4374,11 +4374,11 @@ const Xt = ({ variant: e = "default", tabs: r, className: o, classNameContainer:
4374
4374
  }, x = $e(
4375
4375
  (h, N) => {
4376
4376
  if (h.key === "ArrowRight") {
4377
- const V = (N + 1) % r.length;
4378
- d(V), k(V);
4377
+ const S = (N + 1) % r.length;
4378
+ d(S), k(S);
4379
4379
  } else if (h.key === "ArrowLeft") {
4380
- const V = (N - 1 + r.length) % r.length;
4381
- d(V), k(V);
4380
+ const S = (N - 1 + r.length) % r.length;
4381
+ d(S), k(S);
4382
4382
  } else h.key === "Home" ? (d(0), k(0)) : h.key === "End" && (d(r.length - 1), k(r.length - 1));
4383
4383
  },
4384
4384
  [r.length, k]
@@ -4405,7 +4405,7 @@ const Xt = ({ variant: e = "default", tabs: r, className: o, classNameContainer:
4405
4405
  ref: L(N),
4406
4406
  className: `flex px-6 py-3 md:py-[14px] lg:py-4 focus:outline-hidden ${e === "outline" ? `border-[#092068] ${N === 0 ? "border-l-2 border-t-2 border-b-2 rounded-l-md focus:rounded-l-md" : N === r.length - 1 ? "border-r-2 border-t-2 border-b-2 rounded-r-md focus:rounded-r-md" : "border-t-2 border-b-2"}` : ""} ${n === N ? p(Ue[e].active, l) : p(Ue[e].inactive, a)}`,
4407
4407
  onClick: () => b(N, h.onClick),
4408
- onKeyDown: (V) => x(V, N),
4408
+ onKeyDown: (S) => x(S, N),
4409
4409
  children: [
4410
4410
  h.iconPosition === "left" && h.activeIcon && /* @__PURE__ */ t("span", { className: "icon-left mr-3 size-6 lg:mt-0.5", children: n === N ? c && g === h.id ? h.inactiveIcon : h.activeIcon : h.inactiveIcon }),
4411
4411
  h.iconPosition === "iconOnly" && h.activeIcon ? /* @__PURE__ */ t("span", { className: "size-6 lg:mt-0.5", children: n === N ? c && g === h.id ? h.inactiveIcon : h.activeIcon : h.inactiveIcon }) : /* @__PURE__ */ t("span", { className: "text-sm md:text-base lg:text-lg mt-0.5 md:mt-0", children: h.label }),
@@ -4481,7 +4481,7 @@ const c2 = "px-4 py-3 arial rounded-lg border border-[#B3B3B3] mx-2 bg-white hov
4481
4481
  disabled: g,
4482
4482
  ...y
4483
4483
  }, M) => {
4484
- const [k, b] = T(), [L, x] = T(c2), [w, h] = T(""), [N, V] = T(!1), I = Q(null), [S, O] = T(""), $ = "border-[#D54309] border", U = (v) => {
4484
+ const [k, b] = T(), [L, x] = T(c2), [w, h] = T(""), [N, S] = T(!1), I = Q(null), [V, O] = T(""), $ = "border-[#D54309] border", U = (v) => {
4485
4485
  const _ = v.target.value;
4486
4486
  O(u ? Y(_) : _);
4487
4487
  };
@@ -4506,7 +4506,7 @@ const c2 = "px-4 py-3 arial rounded-lg border border-[#B3B3B3] mx-2 bg-white hov
4506
4506
  if (!v) return;
4507
4507
  const _ = (F) => {
4508
4508
  const D = getComputedStyle(v);
4509
- b(D.backgroundColor), V(F);
4509
+ b(D.backgroundColor), S(F);
4510
4510
  };
4511
4511
  return _(!0), v.addEventListener("mouseover", () => _(!0)), v.addEventListener("mouseout", () => _(!1)), () => {
4512
4512
  v.removeEventListener("mouseover", () => _), v.removeEventListener("mouseout", () => _);
@@ -4536,7 +4536,7 @@ const c2 = "px-4 py-3 arial rounded-lg border border-[#B3B3B3] mx-2 bg-white hov
4536
4536
  {
4537
4537
  className: L,
4538
4538
  "aria-label": o,
4539
- value: S,
4539
+ value: V,
4540
4540
  onChange: U,
4541
4541
  disabled: g,
4542
4542
  ref: (v) => {
@@ -4600,7 +4600,7 @@ const lt = ({
4600
4600
  a && (y ? k !== le.Children.count(l) : k !== le.Children.count(l) - 1) ? "border-b" : "",
4601
4601
  n !== "" && (y ? k !== le.Children.count(l) : k !== le.Children.count(l) - 1) ? n : ""
4602
4602
  ),
4603
- children: /* @__PURE__ */ z(ne, { children: [
4603
+ children: /* @__PURE__ */ z(oe, { children: [
4604
4604
  g && /* @__PURE__ */ z("div", { className: "flex flex-row", children: [
4605
4605
  /* @__PURE__ */ z("span", { className: "w-6", children: [
4606
4606
  String.fromCharCode(8560 + k),
@@ -4658,22 +4658,22 @@ const lt = ({
4658
4658
  const b = Q(null), L = Q(null), x = "fixed inset-0 z-50 flex items-center justify-center bg-black/50", [w, h] = T("");
4659
4659
  if (G(() => {
4660
4660
  if (M) {
4661
- const V = "backdrop-blur-" + M;
4662
- h(p(x, V));
4661
+ const S = "backdrop-blur-" + M;
4662
+ h(p(x, S));
4663
4663
  } else
4664
4664
  h(x);
4665
4665
  }, [M]), G(() => {
4666
4666
  if (n) {
4667
- const V = (I) => {
4667
+ const S = (I) => {
4668
4668
  b.current && !b.current.contains(I.target) && o();
4669
4669
  };
4670
- return document.addEventListener("mousedown", V), () => {
4671
- document.removeEventListener("mousedown", V);
4670
+ return document.addEventListener("mousedown", S), () => {
4671
+ document.removeEventListener("mousedown", S);
4672
4672
  };
4673
4673
  }
4674
4674
  }, [o]), G(() => {
4675
- var S;
4676
- const V = (O) => {
4675
+ var V;
4676
+ const S = (O) => {
4677
4677
  O.key === "Escape" && e && o();
4678
4678
  }, I = (O) => {
4679
4679
  var v;
@@ -4682,8 +4682,8 @@ const lt = ({
4682
4682
  ), U = $ == null ? void 0 : $[0], Y = $ == null ? void 0 : $[$.length - 1];
4683
4683
  O.key === "Tab" && $ && (O.shiftKey && document.activeElement === U ? (O.preventDefault(), Y == null || Y.focus()) : !O.shiftKey && document.activeElement === Y && (O.preventDefault(), U == null || U.focus()));
4684
4684
  };
4685
- return e ? (document.body.style.overflow = "hidden", window.addEventListener("keydown", V), window.addEventListener("keydown", I), (S = L.current) == null || S.focus()) : document.body.style.overflow = "auto", () => {
4686
- window.removeEventListener("keydown", V), window.removeEventListener("keydown", I), document.body.style.overflow = "auto";
4685
+ return e ? (document.body.style.overflow = "hidden", window.addEventListener("keydown", S), window.addEventListener("keydown", I), (V = L.current) == null || V.focus()) : document.body.style.overflow = "auto", () => {
4686
+ window.removeEventListener("keydown", S), window.removeEventListener("keydown", I), document.body.style.overflow = "auto";
4687
4687
  };
4688
4688
  }, [e, o]), !e) return null;
4689
4689
  const N = () => {
@@ -4792,7 +4792,7 @@ const lt = ({
4792
4792
  const d = Array.from({ length: e }, (c, u) => u + 1);
4793
4793
  return /* @__PURE__ */ t("div", { className: "flex items-center w-full", children: d.map((c, u) => {
4794
4794
  const g = c <= r - 1, y = u === d.length - 1;
4795
- return /* @__PURE__ */ z(ne, { children: [
4795
+ return /* @__PURE__ */ z(oe, { children: [
4796
4796
  /* @__PURE__ */ t(
4797
4797
  "div",
4798
4798
  {
@@ -4905,14 +4905,14 @@ const tr = ({
4905
4905
  ...g
4906
4906
  }, y) => {
4907
4907
  var f;
4908
- const M = Q(null), k = Q(null), [b, L] = T(""), [x, w] = T(), [h, N] = T(a), [V, I] = T(!1), S = 100, O = 8, [$, U] = T(`${S}px`);
4908
+ const M = Q(null), k = Q(null), [b, L] = T(""), [x, w] = T(), [h, N] = T(a), [S, I] = T(!1), V = 100, O = 8, [$, U] = T(`${V}px`);
4909
4909
  V2(() => {
4910
4910
  var A, E;
4911
4911
  let m = 0;
4912
4912
  const C = () => {
4913
4913
  if (!k.current) return;
4914
4914
  const j = k.current.getBoundingClientRect(), R = window.visualViewport, Z = (R == null ? void 0 : R.height) ?? window.innerHeight, W = (R == null ? void 0 : R.offsetTop) ?? 0, X = Math.max(
4915
- S,
4915
+ V,
4916
4916
  Z + W - j.top - O
4917
4917
  );
4918
4918
  U(`${X}px`);
@@ -4924,7 +4924,7 @@ const tr = ({
4924
4924
  window.removeEventListener("scroll", i), window.removeEventListener("resize", i), (j = window.visualViewport) == null || j.removeEventListener("resize", i), (R = window.visualViewport) == null || R.removeEventListener("scroll", i), cancelAnimationFrame(m);
4925
4925
  };
4926
4926
  }, []), G(() => {
4927
- u === "rounded" ? (console.log("variant rounded true"), I(!0)) : console.log("variant rounded false");
4927
+ u === "rounded" && I(!0);
4928
4928
  }, [u]), G(() => {
4929
4929
  if (!k.current) return;
4930
4930
  const m = requestAnimationFrame(() => {
@@ -4994,60 +4994,87 @@ const tr = ({
4994
4994
  // Container including input + output list box
4995
4995
  /* @__PURE__ */ z("span", { className: p(`h-12 md:h-[50px] lg:h-14 flex items-center max-w-full
4996
4996
  relative ${h && "hidden"}`, r), children: [
4997
- /* @__PURE__ */ z("span", { className: p(
4998
- `
4999
- border-[#6a686b] w-[309px] md:w-[334px] lg:w-[350px]
5000
- inline-flex bg-white lg:bg-transparent items-center pe-2
5001
- ${x ? " border-t border-l border-r rounded-tl rounded-tr lg:border-none " : (
5002
- // results, round top corners only
5003
- " border lg:border-none rounded-sm "
5004
- )}
5005
- ${V && "rounded-full"}
5006
- `,
5007
- o
5008
- ), children: [
5009
- /* @__PURE__ */ t("button", { onClick: D, className: "shrink-0 border-r-2", "aria-label": "execute search", children: /* @__PURE__ */ t("div", { className: "lg:hidden rounded-tl px-2 rounded-bl", children: /* @__PURE__ */ t("img", { className: "", src: d2, alt: "search icon" }) }) }),
5010
- /* @__PURE__ */ t(
5011
- "input",
5012
- {
5013
- className: p(`grow shrink-1 ring-0 appearance-none h-8 md:h-[32px] lg:h-14 py-2 lg:ps-[19px] rounded-tl rounded-bl
4997
+ /* @__PURE__ */ z(
4998
+ "span",
4999
+ {
5000
+ className: p(
5001
+ `
5002
+ border-[#6a686b] w-[309px] md:w-[334px] lg:w-[350px]
5003
+ inline-flex bg-white lg:bg-transparent items-center pe-2
5004
+ ${x ? S ? (
5005
+ // ROUNDED & RESULTS → round top fully, no bottom rounding, 25-px is 1/2 of initial component height
5006
+ `border-t border-l border-r rounded-tl-[25px] rounded-tr-[25px] lg:border-none
5007
+ lg:rounded-bl-none
5008
+ `
5009
+ ) : (
5010
+ // !ROUNDED & RESULTS → keep your current logic
5011
+ "border-t border-l border-r lg:border-none rounded-tl rounded-tr"
5012
+ ) : S ? (
5013
+ // ROUNDED & !RESULTS full pill rounding
5014
+ "border lg:border-none rounded-full"
5015
+ ) : (
5016
+ // !ROUNDED & !RESULTS → your existing "box" style
5017
+ "border lg:border-none rounded-sm"
5018
+ )}
5019
+ `,
5020
+ o
5021
+ ),
5022
+ children: [
5023
+ /* @__PURE__ */ t("button", { onClick: D, className: "shrink-0 border-r-2", "aria-label": "execute search", children: /* @__PURE__ */ t("div", { className: "lg:hidden rounded-tl px-2 rounded-bl", children: /* @__PURE__ */ t("img", { className: "", src: d2, alt: "search icon" }) }) }),
5024
+ /* @__PURE__ */ t(
5025
+ "input",
5026
+ {
5027
+ className: p(
5028
+ `grow shrink-1 ring-0 appearance-none h-8 md:h-[32px] lg:h-14 py-2 lg:ps-[19px] rounded-tl rounded-bl
5014
5029
  rounded-br-none rounded-tr-none font-['Arial'] bg-white text-[#333234] text-base lg:text-lg
5015
5030
  border-0 lg:border border-[#07192d] hover:border-[#5992fa] focus:border-[#5992fa]
5016
- outline-hidden my-2 -ms-2 w-[100%]`, e, V && "rounded-l-full"),
5017
- "aria-label": l,
5018
- value: b,
5019
- onChange: F,
5020
- placeholder: "Search result",
5021
- onKeyDown: (m) => Y(m),
5022
- ref: (m) => {
5023
- typeof y == "function" ? y(m) : y && (y.current = m), M.current = m;
5024
- },
5025
- ...g
5026
- }
5027
- ),
5028
- /* @__PURE__ */ t("span", { className: p(`hidden lg:flex items-center size-14 p-[17px] bg-[#07192d]
5029
- rounded-tr rounded-br `, V && "rounded-r-full"), children: /* @__PURE__ */ t("button", { className: "appearance-none p-0 m-0 border-0 flex items-center justify-center align-middle", onClick: D, "aria-label": "execute search", children: /* @__PURE__ */ t("img", { className: "", src: dt, alt: "search icon" }) }) }),
5030
- /* @__PURE__ */ t("span", { className: "lg:hidden items-center py-2 -ms-2 -ps-1 me-1 shrink-0", children: /* @__PURE__ */ t(
5031
- "button",
5032
- {
5033
- className: "appearance-none p-0 m-0 border-0 flex items-center justify-center align-middle",
5034
- "aria-label": "clear search",
5035
- onClick: () => v(),
5036
- children: /* @__PURE__ */ t("img", { className: "", src: ut, alt: "search icon" })
5037
- }
5038
- ) })
5039
- ] }),
5040
- x && !d && /* @__PURE__ */ t(ne, { children: /* @__PURE__ */ z(
5031
+ outline-hidden my-2 -ms-2 w-[100%]`,
5032
+ e,
5033
+ S && "rounded-l-full",
5034
+ S && x ? "lg:rounded-bl-none lg:rounded-tl-[28px]" : ""
5035
+ ),
5036
+ "aria-label": l,
5037
+ value: b,
5038
+ onChange: F,
5039
+ placeholder: "Search result",
5040
+ onKeyDown: (m) => Y(m),
5041
+ ref: (m) => {
5042
+ typeof y == "function" ? y(m) : y && (y.current = m), M.current = m;
5043
+ },
5044
+ ...g
5045
+ }
5046
+ ),
5047
+ /* @__PURE__ */ t("span", { className: p(`hidden lg:flex items-center size-14 p-[17px] bg-[#07192d]
5048
+ rounded-tr rounded-br `, S && "rounded-r-full"), children: /* @__PURE__ */ t("button", { className: "appearance-none p-0 m-0 border-0 flex items-center justify-center align-middle", onClick: D, "aria-label": "execute search", children: /* @__PURE__ */ t("img", { className: "", src: dt, alt: "search icon" }) }) }),
5049
+ /* @__PURE__ */ t("span", { className: "lg:hidden items-center py-2 -ms-2 -ps-1 me-1 shrink-0", children: /* @__PURE__ */ t(
5050
+ "button",
5051
+ {
5052
+ className: "appearance-none p-0 m-0 border-0 flex items-center justify-center align-middle",
5053
+ "aria-label": "clear search",
5054
+ onClick: () => v(),
5055
+ children: /* @__PURE__ */ t("img", { className: "", src: ut, alt: "search icon" })
5056
+ }
5057
+ ) })
5058
+ ]
5059
+ }
5060
+ ),
5061
+ x && !d && /* @__PURE__ */ z(
5041
5062
  "div",
5042
5063
  {
5043
5064
  role: "listbox",
5044
5065
  ref: k,
5045
5066
  "aria-label": "Select option",
5046
- className: p(`absolute w-[309px] md:w-[334px] lg:w-[293px] top-[calc(100%+4px)] -mt-1 pt-1
5047
- focus:outline-hidden z-10 overflow-auto
5067
+ className: p(
5068
+ `absolute
5069
+ w-[100%] lg:w-[calc(100%-56px)]
5070
+ top-[calc(100%+4px)] -mt-1 pt-1
5071
+ focus:outline-hidden z-50 overflow-auto
5048
5072
  bg-white lg:shadow-[0px_4px_4px_0px_rgba(0,0,0,0.25)]
5049
5073
  border-[#6a686b] border-l border-b border-r lg:border-none
5050
- `, s),
5074
+ lg:ms-[-4px]
5075
+ `,
5076
+ s
5077
+ ),
5051
5078
  style: { maxHeight: $ },
5052
5079
  children: [
5053
5080
  /* @__PURE__ */ t("hr", { className: "mb-1 -mt-1 mx-2 border-b-0 border-[#A1A6A8] lg:border-none" }),
@@ -5061,7 +5088,7 @@ const tr = ({
5061
5088
  ((f = x == null ? void 0 : x.pages) == null ? void 0 : f.length) < 1 && /* @__PURE__ */ t("div", { className: "ms-4 mb-1 text-[#1c1d1f]", children: "no search results" })
5062
5089
  ]
5063
5090
  }
5064
- ) })
5091
+ )
5065
5092
  ] })
5066
5093
  );
5067
5094
  }
@@ -5086,13 +5113,13 @@ const gt = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
5086
5113
  children: b,
5087
5114
  ...L
5088
5115
  }, x) => {
5089
- const [w, h] = T(""), [N, V] = T(""), [I, S] = T(""), O = `${c === "page" ? "pt-4 pb-2" : "py-2"} flex pl-6 pr-2 justify-start items-center gap-4 inline-flex w-full`;
5116
+ const [w, h] = T(""), [N, S] = T(""), [I, V] = T(""), O = `${c === "page" ? "pt-4 pb-2" : "py-2"} flex pl-6 pr-2 justify-start items-center gap-4 inline-flex w-full`;
5090
5117
  return G(() => {
5091
5118
  h(p(O, a ? "border-b-2 border-[#07192D]" : "", d ? "bg-[#092068] text-[#f0f0f0]" : "bg-transparent text-[#07192d]", u && g ? "mx-4 " : u ? "ms-4" : g ? "me-4" : "", e));
5092
5119
  }, [e, a, d, O, u, g]), G(() => {
5093
- V(p(`self-stretch ${c === "page" ? "text-[40px]" : c === "section" ? " text-[32px]" : "text-2xl"} font-normal font-["Arial"] leading-[48px]`, r));
5120
+ S(p(`self-stretch ${c === "page" ? "text-[40px]" : c === "section" ? " text-[32px]" : "text-2xl"} font-normal font-["Arial"] leading-[48px]`, r));
5094
5121
  }, [r, c]), G(() => {
5095
- S(p(`${c === "page" ? "text-xl" : "text-lg"} font-normal font-["Arial"] leading-[30px]`, o));
5122
+ V(p(`${c === "page" ? "text-xl" : "text-lg"} font-normal font-["Arial"] leading-[30px]`, o));
5096
5123
  }, [o, c]), /* @__PURE__ */ t("div", { className: p(w, e), children: /* @__PURE__ */ z("div", { className: "grow shrink basis-0 justify-start items-center gap-4 flex flex-row", children: [
5097
5124
  s && s,
5098
5125
  /* @__PURE__ */ z("div", { className: "flex-col justify-start items-start inline-flex w-full", children: [
@@ -5255,18 +5282,18 @@ const gt = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20wid
5255
5282
  y(p(g, "hidden"));
5256
5283
  };
5257
5284
  return G(() => {
5258
- var N, V;
5285
+ var N, S;
5259
5286
  const w = r === "custom" ? "default" : r, h = (N = u2.find(
5260
5287
  (I) => I.variant === e && I.subVariant === w
5261
5288
  )) == null ? void 0 : N.classes;
5262
5289
  if (e === "icon") {
5263
- const I = (V = u2.find(
5264
- (S) => S.variant === e && S.subVariant === w
5265
- )) == null ? void 0 : V.classNameSvg;
5290
+ const I = (S = u2.find(
5291
+ (V) => V.variant === e && V.subVariant === w
5292
+ )) == null ? void 0 : S.classNameSvg;
5266
5293
  k(r === "custom" ? p(I, s) : I);
5267
5294
  }
5268
5295
  e === "hazard" ? L(bt) : e === "go" && L(ht), y(p(h, o));
5269
- }, [r, o, e, s]), /* @__PURE__ */ z(ne, { children: [
5296
+ }, [r, o, e, s]), /* @__PURE__ */ z(oe, { children: [
5270
5297
  e === "default" && /* @__PURE__ */ t("div", { className: g, ...c, ref: u, children: d }),
5271
5298
  (e === "warning" || e === "hazard" || e === "go") && /* @__PURE__ */ z("div", { className: g, children: [
5272
5299
  /* @__PURE__ */ t("div", { className: "size-6 flex-col justify-center items-center gap-2.5 inline-flex overflow-hidden relative", children: /* @__PURE__ */ t("div", { className: "left-0 top-0 absolute", children: /* @__PURE__ */ t("img", { className: "size-6", src: b, alt: `${e} icon` }) }) }),
@@ -5313,26 +5340,26 @@ function nr({
5313
5340
  version: w,
5314
5341
  menuItems: h,
5315
5342
  right: N = !1,
5316
- children: V
5343
+ children: S
5317
5344
  }) {
5318
- const I = Q(null), [S, O] = T(!1), [$, U] = T(!1), Y = Q(null);
5345
+ const I = Q(null), [V, O] = T(!1), [$, U] = T(!1), Y = Q(null);
5319
5346
  G(() => {
5320
5347
  const f = () => {
5321
- S ? _() : v();
5348
+ V ? _() : v();
5322
5349
  };
5323
5350
  return window.addEventListener("toggleSideBarNav", f), () => window.removeEventListener("toggleSideBarNav", f);
5324
- }, [S]), G(() => {
5351
+ }, [V]), G(() => {
5325
5352
  var m, C;
5326
5353
  const f = I.current;
5327
- f && (S && !f.open ? (Y.current = document.activeElement, f.showModal(), (f.querySelector("#sideBarNavBackButton") ?? f).focus()) : !S && f.open && (f.close(), (C = (m = Y.current) == null ? void 0 : m.focus) == null || C.call(m)));
5328
- }, [S]), G(() => {
5329
- if (S) {
5354
+ f && (V && !f.open ? (Y.current = document.activeElement, f.showModal(), (f.querySelector("#sideBarNavBackButton") ?? f).focus()) : !V && f.open && (f.close(), (C = (m = Y.current) == null ? void 0 : m.focus) == null || C.call(m)));
5355
+ }, [V]), G(() => {
5356
+ if (V) {
5330
5357
  const f = document.body.style.overflow;
5331
5358
  return document.body.style.overflow = "hidden", () => {
5332
5359
  document.body.style.overflow = f;
5333
5360
  };
5334
5361
  }
5335
- }, [S]);
5362
+ }, [V]);
5336
5363
  const v = () => {
5337
5364
  O(!0), setTimeout(() => {
5338
5365
  U(!0);
@@ -5344,7 +5371,7 @@ function nr({
5344
5371
  }, F = (f) => {
5345
5372
  l && f.target === f.currentTarget && _();
5346
5373
  }, D = p(wt, N ? "text-right pe-2" : "", M);
5347
- return /* @__PURE__ */ z(ne, { children: [
5374
+ return /* @__PURE__ */ z(oe, { children: [
5348
5375
  !a && /* @__PURE__ */ t(
5349
5376
  "button",
5350
5377
  {
@@ -5407,7 +5434,7 @@ function nr({
5407
5434
  ) }),
5408
5435
  /* @__PURE__ */ t("div", { className: "text-center text-xl mt-2", children: e }),
5409
5436
  /* @__PURE__ */ t("div", { className: "[204px] mt-3 h-[2px] border-[0.5px] border-[#D9D9D9] bg-[#D9D9D9]" }),
5410
- V && V,
5437
+ S && S,
5411
5438
  /* @__PURE__ */ t(lt, { className: "pl-4 lg:pl-6 mt-6", children: h.map((f, m) => /* @__PURE__ */ t(D2, { className: D, children: f.target ? (
5412
5439
  // --- MODIFIED: Use the new handler ---
5413
5440
  /* @__PURE__ */ t(I2, { to: f.target, onClick: _, children: f.children })
@@ -5539,7 +5566,7 @@ const or = ({ className: e = "", inline: r = !1 }) => r ? /* @__PURE__ */ t(
5539
5566
  e
5540
5567
  )
5541
5568
  }
5542
- ) : /* @__PURE__ */ z(ne, { children: [
5569
+ ) : /* @__PURE__ */ z(oe, { children: [
5543
5570
  /* @__PURE__ */ t("div", { className: "basis-full h-0" }),
5544
5571
  /* @__PURE__ */ t(
5545
5572
  "div",
@@ -5561,7 +5588,7 @@ const or = ({ className: e = "", inline: r = !1 }) => r ? /* @__PURE__ */ t(
5561
5588
  e
5562
5589
  )
5563
5590
  }
5564
- ) : /* @__PURE__ */ z(ne, { children: [
5591
+ ) : /* @__PURE__ */ z(oe, { children: [
5565
5592
  /* @__PURE__ */ t("div", { className: "basis-full h-0" }),
5566
5593
  /* @__PURE__ */ t(
5567
5594
  "div",
@@ -5615,7 +5642,7 @@ const Lt = "_slider_87un4_28", $t = {
5615
5642
  const b = Number(k.target.value);
5616
5643
  g(Number(b)), l && l(b);
5617
5644
  };
5618
- return /* @__PURE__ */ z(ne, { children: [
5645
+ return /* @__PURE__ */ z(oe, { children: [
5619
5646
  a && n && /* @__PURE__ */ t(
5620
5647
  "label",
5621
5648
  {