@candy.thieves/ui-kit-lumos 0.0.70 → 0.0.73

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.js CHANGED
@@ -48,13 +48,13 @@ var E = (e, t) => {
48
48
  if (e.length <= t) return e;
49
49
  let n = e.slice(0, t), r = n.lastIndexOf(" ");
50
50
  return r === -1 ? `${n}...` : `${n.slice(0, r)}...`;
51
- }, te = {
51
+ }, D = {
52
52
  error: "var(--color-danger-500)",
53
53
  inherit: "currentColor",
54
54
  primary: "var(--color-accent-500)",
55
55
  success: "var(--color-success-500)",
56
56
  warning: "var(--color-warning-500)"
57
- }, ne = [
57
+ }, te = [
58
58
  8,
59
59
  11,
60
60
  15,
@@ -136,32 +136,32 @@ var E = (e, t) => {
136
136
  17,
137
137
  13,
138
138
  10
139
- ], re = {
139
+ ], ne = {
140
140
  ENABLED: 0,
141
141
  DISABLED: -1
142
- }, D = (e) => e in te, O = (e) => e ? e.charAt(0).toUpperCase() : "?", ie = (e) => e.type === "audio" && "component" in e, k = (e) => `${Math.floor(e / 60)}:${Math.floor(e % 60).toString().padStart(2, "0")}`, A = (e) => e.flatMap((e) => e.type === "group" ? e.options : e.type === "separator" ? [] : e), j = 6, M = 1900, ae = 2100, N = new Date(M, 0, 1), P = new Date(ae, 11, 31), F = new Intl.DateTimeFormat("en-GB"), I = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), oe = (e) => new Date(e.getFullYear(), e.getMonth(), 1), se = (e, t, n) => {
143
- let r = I(e), i = t ? new Date(Math.max(I(t).getTime(), N.getTime())) : N, a = n ? new Date(Math.min(I(n).getTime(), P.getTime())) : P;
144
- return i > a ? new Date(Math.min(Math.max(r.getTime(), N.getTime()), P.getTime())) : r < i ? i : r > a ? a : r;
145
- }, L = (e, t) => I(e).getTime() === I(t).getTime(), ce = (e, t, n) => {
146
- let r = I(e).getTime();
147
- return r > I(t).getTime() && r < I(n).getTime();
142
+ }, O = (e) => e in D, k = (e) => e ? e.charAt(0).toUpperCase() : "?", re = (e) => e.type === "audio" && "component" in e, A = (e) => `${Math.floor(e / 60)}:${Math.floor(e % 60).toString().padStart(2, "0")}`, j = (e) => e.flatMap((e) => e.type === "group" ? e.options : e.type === "separator" ? [] : e), M = 6, N = 1900, ie = 2100, P = new Date(N, 0, 1), F = new Date(ie, 11, 31), I = new Intl.DateTimeFormat("en-GB"), L = (e) => new Date(e.getFullYear(), e.getMonth(), e.getDate()), ae = (e) => new Date(e.getFullYear(), e.getMonth(), 1), oe = (e, t, n) => {
143
+ let r = L(e), i = t ? new Date(Math.max(L(t).getTime(), P.getTime())) : P, a = n ? new Date(Math.min(L(n).getTime(), F.getTime())) : F;
144
+ return i > a ? new Date(Math.min(Math.max(r.getTime(), P.getTime()), F.getTime())) : r < i ? i : r > a ? a : r;
145
+ }, se = (e, t) => L(e).getTime() === L(t).getTime(), ce = (e, t, n) => {
146
+ let r = L(e).getTime();
147
+ return r > L(t).getTime() && r < L(n).getTime();
148
148
  }, le = (e) => {
149
- let t = oe(e), n = (t.getDay() + 7 - 1) % 7, r = new Date(t);
150
- return r.setDate(t.getDate() - n), Array.from({ length: 7 * j }, (e, t) => {
149
+ let t = ae(e), n = (t.getDay() + 7 - 1) % 7, r = new Date(t);
150
+ return r.setDate(t.getDate() - n), Array.from({ length: 7 * M }, (e, t) => {
151
151
  let n = new Date(r);
152
152
  return n.setDate(r.getDate() + t), n;
153
153
  });
154
154
  }, ue = (e) => e instanceof Date ? { start: e } : e ?? {}, de = (e, t) => {
155
155
  if (!e) return "";
156
- if (t === "single") return e instanceof Date ? F.format(e) : e.start ? F.format(e.start) : "";
156
+ if (t === "single") return e instanceof Date ? I.format(e) : e.start ? I.format(e.start) : "";
157
157
  let { end: n, start: r } = ue(e);
158
- return r ? n ? `${F.format(r)} - ${F.format(n)}` : F.format(r) : "";
159
- }, fe = (e) => e.getFullYear() >= M && e.getFullYear() <= ae, pe = Array.from({ length: 12 }, (e, t) => ({
158
+ return r ? n ? `${I.format(r)} - ${I.format(n)}` : I.format(r) : "";
159
+ }, fe = (e) => e.getFullYear() >= N && e.getFullYear() <= ie, pe = Array.from({ length: 12 }, (e, t) => ({
160
160
  label: new Intl.DateTimeFormat("en", { month: "long" }).format(new Date(2026, t, 1)),
161
161
  value: String(t)
162
162
  })), me = Array.from({ length: 201 }, (e, t) => ({
163
- label: String(M + t),
164
- value: String(M + t)
163
+ label: String(N + t),
164
+ value: String(N + t)
165
165
  })), he = (e) => {
166
166
  let { fill: t } = e;
167
167
  return /* @__PURE__ */ u("svg", {
@@ -3317,15 +3317,192 @@ var si = (e) => {
3317
3317
  }));
3318
3318
  ci.displayName = "Clock";
3319
3319
  //#endregion
3320
+ //#region src/assets/icons/AssignUser.tsx
3321
+ var li = (e) => /* @__PURE__ */ d("svg", {
3322
+ xmlns: "http://www.w3.org/2000/svg",
3323
+ viewBox: "0 0 36 36",
3324
+ fill: "none",
3325
+ ...e,
3326
+ children: [
3327
+ /* @__PURE__ */ u("circle", {
3328
+ cx: 18,
3329
+ cy: 10.4,
3330
+ r: 6.8,
3331
+ className: "clr-i-solid clr-i-solid-path-1"
3332
+ }),
3333
+ /* @__PURE__ */ u("path", {
3334
+ d: "M12 26.7a2.8 2.8 0 0 1 4.9-1.9l3.8 4.2 6.9-7.6a17 17 0 0 0-9.6-2.8A16 16 0 0 0 5.5 24l-.2.6V30a2 2 0 0 0 2 2h8.5l-3-3.3a3 3 0 0 1-.8-2",
3335
+ className: "clr-i-solid clr-i-solid-path-2"
3336
+ }),
3337
+ /* @__PURE__ */ u("path", {
3338
+ d: "M28.8 32a2 2 0 0 0 1.9-2v-3.8L25.6 32Z",
3339
+ className: "clr-i-solid clr-i-solid-path-3"
3340
+ }),
3341
+ /* @__PURE__ */ u("path", {
3342
+ d: "M33.8 18.6a1 1 0 0 0-1.4.1l-11.7 13-5.2-5.6a1 1 0 0 0-1.4-.1 1 1 0 0 0 0 1.4l6.7 7.2 13-14.6a1 1 0 0 0 0-1.4",
3343
+ className: "clr-i-solid clr-i-solid-path-4"
3344
+ }),
3345
+ /* @__PURE__ */ u("path", {
3346
+ fill: "none",
3347
+ d: "M0 0h36v36H0z"
3348
+ })
3349
+ ]
3350
+ }), ui = t((e, t) => /* @__PURE__ */ u(T, {
3351
+ ref: t,
3352
+ icon: /* @__PURE__ */ u(li, {}),
3353
+ ...e
3354
+ }));
3355
+ ui.displayName = "AssignUser";
3356
+ //#endregion
3357
+ //#region src/assets/icons/BillPay.tsx
3358
+ var di = (e) => /* @__PURE__ */ d("svg", {
3359
+ xmlns: "http://www.w3.org/2000/svg",
3360
+ viewBox: "0 0 24 24",
3361
+ fill: "none",
3362
+ ...e,
3363
+ children: [
3364
+ /* @__PURE__ */ u("path", { d: "M10.5 4.3 12 3.1l1.5 1.2h1.3L12 2 9.2 4.3m1.9 3-.4.2-.2.3-.1.4.1.4.2.3.3.2.5.1h.1V7.1zm1.5 2.9-.3-.1v2.3l.4-.1.5-.2.3-.4.1-.5q0-.5-.3-.6 0-.2-.7-.4" }),
3365
+ /* @__PURE__ */ u("path", { d: "m10.3 15.5 1.7-1.1 1.7 1.1 4.2-3V5.1H6.2v7.4zm1.3-5.5h-.2l-.6-.2-.5-.3-.5-.5-.1-.7v-.4l.3-.6.6-.5.9-.3v-.4h.7v.4q.8 0 1.3.5t.7 1.6v.2h-.7v-.2q0-.7-.4-1-.3-.3-.8-.3v2.2l.5.1.8.3.5.4.3.5.1.6-.2.9-.5.6-.7.3-.6.1v.8h-.7v-.8l-.7-.2-.7-.4-.5-.7-.2-1v-.2h.7v.2q0 .8.4 1.1.3.3 1 .4z" }),
3366
+ /* @__PURE__ */ u("path", { d: "M18.7 7.3v1.1l2.5 2v.1l-6.8 5.4 6.5 4.3.2.6H21l-9-5.3-9.1 5.4.2-.6L9.6 16l-6.8-5.4v-.1l2.5-2V7.3L2 10v10.4q.1 1.5 1.6 1.6h16.9q1.5-.1 1.6-1.6V10z" })
3367
+ ]
3368
+ }), fi = t((e, t) => /* @__PURE__ */ u(T, {
3369
+ ref: t,
3370
+ icon: /* @__PURE__ */ u(di, {}),
3371
+ ...e
3372
+ }));
3373
+ fi.displayName = "BillPay";
3374
+ //#endregion
3375
+ //#region src/assets/icons/Devices.tsx
3376
+ var pi = (e) => /* @__PURE__ */ d("svg", {
3377
+ xmlns: "http://www.w3.org/2000/svg",
3378
+ viewBox: "0 0 36 36",
3379
+ fill: "none",
3380
+ ...e,
3381
+ children: [
3382
+ /* @__PURE__ */ u("path", {
3383
+ d: "M32 13h-8a2 2 0 0 0-2 2v15a2 2 0 0 0 2 2h8a2 2 0 0 0 2-2V15a2 2 0 0 0-2-2m0 2v13h-8V15Z",
3384
+ className: "clr-i-solid clr-i-solid-path-1"
3385
+ }),
3386
+ /* @__PURE__ */ u("path", {
3387
+ d: "M28 4H4a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h8v2H9.3A1.2 1.2 0 0 0 8 27a1.2 1.2 0 0 0 1.3 1H20v-.4h.1V22H4V6h24v5h2V6a2 2 0 0 0-2-2",
3388
+ className: "clr-i-solid clr-i-solid-path-2"
3389
+ }),
3390
+ /* @__PURE__ */ u("path", {
3391
+ fill: "none",
3392
+ d: "M0 0h36v36H0z"
3393
+ })
3394
+ ]
3395
+ }), mi = t((e, t) => /* @__PURE__ */ u(T, {
3396
+ ref: t,
3397
+ icon: /* @__PURE__ */ u(pi, {}),
3398
+ ...e
3399
+ }));
3400
+ mi.displayName = "Devices";
3401
+ //#endregion
3402
+ //#region src/assets/icons/Tablet.tsx
3403
+ var hi = (e) => /* @__PURE__ */ u("svg", {
3404
+ xmlns: "http://www.w3.org/2000/svg",
3405
+ viewBox: "0 0 489.4 489.4",
3406
+ fill: "none",
3407
+ ...e,
3408
+ children: /* @__PURE__ */ u("path", { d: "M488.9 444.2V170.9a38 38 0 0 0-37.1-38.4H325a38 38 0 0 0-37.1 38.4V451a38 38 0 0 0 37.1 38.4h126.8a38 38 0 0 0 37.1-38.4zm-84.5 29.1h-35.8c-5.3 0-9.6-4.5-9.6-10s4.3-10 9.6-10h35.8c5.3 0 9.6 4.5 9.6 10s-4.3 10-9.6 10m50.8-36-.7.1H322.3l-.7-.1V184.9l.7-.1h132.2l.6.1zm-349.5 52.1h159.7a77 77 0 0 1-10.3-38.4v-22.9H42.3v-375h271.8V99q5.4-.8 10.9-.9h30.4V39.4c0-16.3-9.6-30.3-23.3-36.3q-7-3-14.9-3.1H38.7q-8 0-14.9 3.1C10.1 9.1.5 23.1.5 39.4V450a39 39 0 0 0 38.1 39.4zm54.3-39.8h35.8c5.3 0 9.6 4.5 9.6 10s-4.3 10-9.6 10H160c-5.3 0-9.6-4.5-9.6-10s4.3-10 9.6-10" })
3409
+ }), gi = t((e, t) => /* @__PURE__ */ u(T, {
3410
+ ref: t,
3411
+ icon: /* @__PURE__ */ u(hi, {}),
3412
+ ...e
3413
+ }));
3414
+ gi.displayName = "Tablet";
3415
+ //#endregion
3416
+ //#region src/assets/icons/MoneyCheck.tsx
3417
+ var _i = (e) => /* @__PURE__ */ u("svg", {
3418
+ xmlns: "http://www.w3.org/2000/svg",
3419
+ viewBox: "0 0 24 24",
3420
+ fill: "nones",
3421
+ ...e,
3422
+ children: /* @__PURE__ */ u("path", {
3423
+ stroke: "#000",
3424
+ strokeLinecap: "round",
3425
+ strokeLinejoin: "round",
3426
+ strokeWidth: 2,
3427
+ d: "M14 14h3m-3-4h3m-8-.5v-1m0 1h2m-2 0c-1.8 0-2 .4-2 1.3S7 12 9 12s2 .2 2 1.2c0 .7 0 1.3-2 1.3m0 0v1m0-1H7M6.2 19h11.6q1.6 0 2.1-.2t.9-.9q.3-.5.2-2.1V8.2q0-1.6-.2-2.1a2 2 0 0 0-.9-.9q-.5-.3-2.1-.2H6.2q-1.6 0-2.1.2a2 2 0 0 0-.9.9Q3 6.6 3 8.2v7.6q0 1.6.2 2.1t.9.9q.5.3 2.1.2"
3428
+ })
3429
+ }), vi = t((e, t) => /* @__PURE__ */ u(T, {
3430
+ ref: t,
3431
+ icon: /* @__PURE__ */ u(_i, {}),
3432
+ ...e
3433
+ }));
3434
+ vi.displayName = "MoneyCheck";
3435
+ //#endregion
3436
+ //#region src/assets/icons/Payment.tsx
3437
+ var yi = (e) => /* @__PURE__ */ u("svg", {
3438
+ xmlns: "http://www.w3.org/2000/svg",
3439
+ viewBox: "0 0 24 24",
3440
+ fill: "nones",
3441
+ ...e,
3442
+ children: /* @__PURE__ */ u("path", { d: "M20 4H4a2 2 0 0 0-2 2v12q.2 1.8 2 2h16a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2m0 14H4v-6h16zm0-10H4V6h16z" })
3443
+ }), bi = t((e, t) => /* @__PURE__ */ u(T, {
3444
+ ref: t,
3445
+ icon: /* @__PURE__ */ u(yi, {}),
3446
+ ...e
3447
+ }));
3448
+ bi.displayName = "Payment";
3449
+ //#endregion
3450
+ //#region src/assets/icons/PaymentSettings.tsx
3451
+ var xi = (e) => /* @__PURE__ */ u("svg", {
3452
+ xmlns: "http://www.w3.org/2000/svg",
3453
+ viewBox: "0 0 475.7 475.7",
3454
+ fill: "nones",
3455
+ ...e,
3456
+ children: /* @__PURE__ */ u("path", { d: "M112.7 193.2q8.3 0 16.3-1.7l14 33.6 27.7-11.5-14-33.6q14.1-9.2 23.3-23.3l33.7 14 11.5-27.7-33.7-14q3.5-16.5 0-32.9l33.6-14-11.4-27.6L180 68.4A80 80 0 0 0 156.8 45l13.9-33.6L143 0l-14 33.6a82 82 0 0 0-32.9 0L82.2 0 54.5 11.5l14 33.6a80 80 0 0 0-23.3 23.3l-33.7-14L0 82.3l33.7 14a80 80 0 0 0 0 32.8L0 143l11.5 27.7 33.6-14Q54.5 171 68.4 180l-14 33.6 27.8 11.5 14-33.6a81 81 0 0 0 16.5 1.7m-46.9-100a50 50 0 0 1 46.7-31.3 50.5 50.5 0 1 1-46.7 31.3M465.2 170l-9-19.4-70 70-26.6-26.5 70-70-19.4-9A112.7 112.7 0 0 0 282 137.8 114 114 0 0 0 255.3 256L118.8 392.5a48.4 48.4 0 0 0 0 69 48.4 48.4 0 0 0 69 0l136.5-136.6q18.3 6.5 38 6.6a113.9 113.9 0 0 0 103-161.4m-43.9 107a83 83 0 0 1-94.3 16.7l-9.5-4.4-151 151a18.6 18.6 0 0 1-26.5 0 18.6 18.6 0 0 1 0-26.6l151-151-4.4-9.5a83.8 83.8 0 0 1 75.7-118.7q6.8 0 13.4 1l-58.5 58.6 69 69 58.5-58.6c4.2 26-4.2 53.3-23.4 72.5" })
3457
+ }), Si = t((e, t) => /* @__PURE__ */ u(T, {
3458
+ ref: t,
3459
+ icon: /* @__PURE__ */ u(xi, {}),
3460
+ ...e
3461
+ }));
3462
+ Si.displayName = "PaymentSettings";
3463
+ //#endregion
3464
+ //#region src/assets/icons/YooKassa.tsx
3465
+ var Ci = (e) => {
3466
+ let { fill: t } = e;
3467
+ return /* @__PURE__ */ d("svg", {
3468
+ xmlns: "http://www.w3.org/2000/svg",
3469
+ viewBox: "0 0 266 64",
3470
+ fill: "none",
3471
+ ...e,
3472
+ children: [
3473
+ /* @__PURE__ */ d("g", {
3474
+ fill: t,
3475
+ children: [/* @__PURE__ */ u("path", { d: "M136.578 19.367h-8.748l-6.191 10.784h-3.187l-.101-23.338h-8.282v42.149h8.282l.101-11.568h3.167l8.22 11.568h9.175l-10.717-15.33zM199.259 33.25a22.077 22.077 0 0 0-5.42-2.515l-1.827-.684-.494-.184c-1.135-.422-2.327-.865-2.368-2.01a2.007 2.007 0 0 1 .894-1.73 3.958 3.958 0 0 1 2.029-.684 6.618 6.618 0 0 1 4.425 1.308l.224.14 4.425-5.049-.224-.18a11.137 11.137 0 0 0-1.786-1.289 11.981 11.981 0 0 0-3.674-1.348 13.68 13.68 0 0 0-5.643 0 10.571 10.571 0 0 0-4.953 2.012 8.892 8.892 0 0 0-2.278 2.626 8.817 8.817 0 0 0-1.091 3.29A8.451 8.451 0 0 0 183 32.866a12.202 12.202 0 0 0 6.089 3.621l.366.121.832.282c3.004 1.006 3.857 1.408 4.344 2.012.226.303.354.668.365 1.046 0 1.428-1.766 2.012-2.963 2.374a6.284 6.284 0 0 1-4.831-1.087 9.977 9.977 0 0 1-2.801-2.796c-.123.127-.53.53-1.062 1.057-1.493 1.479-3.971 3.933-3.911 3.993l.142.2a15.423 15.423 0 0 0 8.768 5.393c.791.151 1.592.252 2.396.302h.832c2.734.056 5.413-.77 7.632-2.354a9.212 9.212 0 0 0 3.309-4.225 8.206 8.206 0 0 0-.731-6.961 8.506 8.506 0 0 0-2.517-2.596zM220.614 30.734a21.93 21.93 0 0 1 5.399 2.515 8.566 8.566 0 0 1 2.476 2.575 8.215 8.215 0 0 1 .731 6.961 9.206 9.206 0 0 1-3.309 4.225 12.684 12.684 0 0 1-7.632 2.354h-.832a18.43 18.43 0 0 1-2.395-.302 15.426 15.426 0 0 1-8.769-5.391l-.162-.202c-.04-.052 1.917-1.999 3.397-3.47.777-.772 1.422-1.413 1.576-1.58a10.525 10.525 0 0 0 2.801 2.797 6.328 6.328 0 0 0 4.851 1.086c1.198-.362 2.943-.945 2.943-2.373a1.62 1.62 0 0 0-.345-1.047c-.487-.603-1.339-1.006-4.364-2.011l-.832-.282-.345-.12a12.2 12.2 0 0 1-6.09-3.622 8.34 8.34 0 0 1-1.502-5.915c.149-1.157.527-2.273 1.112-3.285s1.366-1.898 2.298-2.61a10.732 10.732 0 0 1 4.953-2.012 13.758 13.758 0 0 1 5.663 0c1.285.246 2.52.702 3.654 1.348.647.365 1.252.796 1.807 1.288l.203.18-4.425 5.05-.203-.14a6.66 6.66 0 0 0-4.425-1.308 3.958 3.958 0 0 0-2.03.684 2.16 2.16 0 0 0-.914 1.73c.061 1.147 1.239 1.59 2.396 2.012l.466.181z" }), /* @__PURE__ */ u("path", {
3476
+ fillRule: "evenodd",
3477
+ d: "M163.777 19.367v2.897h-.365a12.235 12.235 0 0 0-8.546-3.54 14.11 14.11 0 0 0-5.73 1.093 14.002 14.002 0 0 0-4.784 3.313 15.77 15.77 0 0 0-4.06 10.944 16.27 16.27 0 0 0 4.06 11.166c1.31 1.426 2.914 2.555 4.704 3.312s3.723 1.123 5.668 1.074a13.79 13.79 0 0 0 8.728-3.32h.325v2.595h8.607V19.367zm.426 14.868a9.616 9.616 0 0 1-2.253 6.538c-.737.818-1.646 1.466-2.663 1.897s-2.117.635-3.223.598a7.183 7.183 0 0 1-3.109-.65 7.12 7.12 0 0 1-2.514-1.925 9.804 9.804 0 0 1-2.192-6.619 9.445 9.445 0 0 1 2.233-6.378 7.265 7.265 0 0 1 2.535-1.893 7.325 7.325 0 0 1 3.108-.642 7.49 7.49 0 0 1 3.198.61 7.427 7.427 0 0 1 2.627 1.905 9.68 9.68 0 0 1 2.253 6.559zM257.394 22.265v-2.897H266v29.534h-8.606v-2.596h-.325a13.794 13.794 0 0 1-8.728 3.32 13.661 13.661 0 0 1-5.668-1.073 13.557 13.557 0 0 1-4.705-3.313 16.269 16.269 0 0 1-4.059-11.166 15.769 15.769 0 0 1 4.059-10.944 14.098 14.098 0 0 1 4.796-3.31 14.2 14.2 0 0 1 5.739-1.096 12.233 12.233 0 0 1 8.525 3.54zm-1.827 18.509a9.522 9.522 0 0 0 2.253-6.539 9.586 9.586 0 0 0-2.253-6.559 7.43 7.43 0 0 0-2.628-1.905 7.487 7.487 0 0 0-3.198-.61 7.317 7.317 0 0 0-3.107.642 7.26 7.26 0 0 0-2.536 1.894 9.444 9.444 0 0 0-2.232 6.377 9.798 9.798 0 0 0 2.192 6.62 7.11 7.11 0 0 0 2.514 1.924 7.177 7.177 0 0 0 3.108.65 7.608 7.608 0 0 0 3.223-.598 7.546 7.546 0 0 0 2.664-1.896z",
3478
+ clipRule: "evenodd"
3479
+ })]
3480
+ }),
3481
+ /* @__PURE__ */ u("path", {
3482
+ fill: "var(--color-accent-500",
3483
+ fillRule: "evenodd",
3484
+ d: "M26.442 31.71C26.49 14.24 40.933 0 59.082 0c17.973 0 32.847 14.288 32.64 31.796 0 17.508-14.667 31.796-32.64 31.796-17.943 0-32.592-14.04-32.64-31.709v23.66H14.874L0 9.256h26.442zm20.452.086c0 6.44 5.578 11.873 12.188 11.873 6.817 0 12.188-5.433 12.188-11.873s-5.577-11.873-12.188-11.873c-6.61 0-12.188 5.433-12.188 11.873z",
3485
+ clipRule: "evenodd"
3486
+ }),
3487
+ /* @__PURE__ */ u("script", {})
3488
+ ]
3489
+ });
3490
+ }, wi = t((e, t) => /* @__PURE__ */ u(T, {
3491
+ ref: t,
3492
+ icon: /* @__PURE__ */ u(Ci, {}),
3493
+ ...e
3494
+ }));
3495
+ wi.displayName = "YooKassa";
3496
+ //#endregion
3320
3497
  //#region src/assets/logo/Logo.tsx
3321
- var li = {
3498
+ var Ti = {
3322
3499
  xs: 16,
3323
3500
  s: 24,
3324
3501
  m: 48,
3325
3502
  l: 72,
3326
3503
  xl: 108
3327
- }, ui = n(t(({ size: e = "s", theme: t = "day", svgProps: n }, r) => {
3328
- let i = li[e], a = t === "day" ? "var(--color-dark-300)" : "var(--color-light-100)", o = t === "day" ? "var(--color-light-100)" : "var(--color-dark-300)";
3504
+ }, Ei = n(t(({ size: e = "s", theme: t = "day", svgProps: n }, r) => {
3505
+ let i = Ti[e], a = t === "day" ? "var(--color-dark-300)" : "var(--color-light-100)", o = t === "day" ? "var(--color-light-100)" : "var(--color-dark-300)";
3329
3506
  return /* @__PURE__ */ d("svg", {
3330
3507
  xmlns: "http://www.w3.org/2000/svg",
3331
3508
  width: i,
@@ -3349,7 +3526,7 @@ var li = {
3349
3526
  })]
3350
3527
  });
3351
3528
  }));
3352
- ui.displayName = "Logo";
3529
+ Ei.displayName = "Logo";
3353
3530
  var R = {
3354
3531
  root: "_root_1qg9j_55",
3355
3532
  error: "_error_1qg9j_66",
@@ -3362,7 +3539,7 @@ var R = {
3362
3539
  errorMessage: "_errorMessage_1qg9j_93",
3363
3540
  errorList: "_errorList_1qg9j_99",
3364
3541
  closeBtn: "_closeBtn_1qg9j_103"
3365
- }, di = ({ className: e, onClose: t, title: n, children: r, errors: i, variant: a = "success", ...o }) => {
3542
+ }, Di = ({ className: e, onClose: t, title: n, children: r, errors: i, variant: a = "success", ...o }) => {
3366
3543
  let s = Array.isArray(i) && i.length > 0, c = typeof r == "string" && r.trim().length > 0;
3367
3544
  return !n && !c && !s ? null : /* @__PURE__ */ d("div", {
3368
3545
  className: f(R.root, R[a], e),
@@ -3408,7 +3585,7 @@ var R = {
3408
3585
  children: /* @__PURE__ */ u(Se, {})
3409
3586
  })]
3410
3587
  });
3411
- }, fi = {
3588
+ }, Oi = {
3412
3589
  button: "_button_298k9_55",
3413
3590
  fullWidth: "_fullWidth_298k9_77",
3414
3591
  primary: "_primary_298k9_85",
@@ -3419,64 +3596,68 @@ var R = {
3419
3596
  let { ref: t, as: n = "button", variant: r = "primary", disabled: i = !1, fullWidth: a, ...o } = e, s = typeof n == "string" && n.toLowerCase() === "a";
3420
3597
  return /* @__PURE__ */ u(n, {
3421
3598
  ref: t,
3422
- className: f(fi.button, "typography-h3", fi[r], a && fi.fullWidth),
3599
+ className: f(Oi.button, "typography-h3", Oi[r], a && Oi.fullWidth),
3423
3600
  ...s ? { "aria-disabled": i } : { disabled: i },
3424
3601
  ...o
3425
3602
  });
3426
- }, pi = t((e, t) => {
3603
+ }, ki = t((e, t) => {
3427
3604
  let { variant: n = "primary", fullWidth: r, as: i = "button", disabled: a = !1, ...o } = e, s = i === "a";
3428
3605
  return /* @__PURE__ */ u(i, {
3429
- className: f(fi.button, "typography-h3", fi[n], r && fi.fullWidth),
3606
+ className: f(Oi.button, "typography-h3", Oi[n], r && Oi.fullWidth),
3430
3607
  ref: t,
3431
3608
  ...s ? { "aria-disabled": a } : { disabled: a },
3432
3609
  ...o
3433
3610
  });
3434
3611
  });
3435
- pi.displayName = "ButtonLegacy";
3436
- var mi = {
3437
- trigger: "_trigger_bqvgk_55",
3438
- content: "_content_bqvgk_75",
3439
- item: "_item_bqvgk_86",
3440
- itemIcon: "_itemIcon_bqvgk_107",
3441
- itemLabel: "_itemLabel_bqvgk_115"
3442
- }, hi = ({ ariaLabel: e, className: t, contentClassName: n, contentProps: r, itemClassName: i, items: a, modal: o = !0, portalProps: s, trigger: c, triggerClassName: l, ...p }) => {
3443
- let { align: m = "end", className: h, side: _ = "bottom", sideOffset: v = 6, ...y } = r ?? {};
3612
+ ki.displayName = "ButtonLegacy";
3613
+ var Ai = {
3614
+ trigger: "_trigger_1vq4m_55",
3615
+ content: "_content_1vq4m_75",
3616
+ item: "_item_1vq4m_86",
3617
+ itemIcon: "_itemIcon_1vq4m_108",
3618
+ itemLabel: "_itemLabel_1vq4m_116"
3619
+ }, ji = ({ ariaLabel: e, className: t, contentClassName: n, contentProps: r, itemClassName: i, items: a, linkTag: o = "a", modal: s = !0, portalProps: c, trigger: p, triggerClassName: m, ...h }) => {
3620
+ let { align: _ = "end", className: v, side: y = "bottom", sideOffset: b = 6, ...x } = r ?? {};
3444
3621
  return /* @__PURE__ */ d(g.Root, {
3445
- modal: o,
3446
- ...p,
3622
+ modal: s,
3623
+ ...h,
3447
3624
  children: [/* @__PURE__ */ u(g.Trigger, {
3448
3625
  asChild: !0,
3449
- children: c ?? /* @__PURE__ */ u(z, {
3626
+ children: p ?? /* @__PURE__ */ u(z, {
3450
3627
  type: "button",
3451
3628
  variant: "text",
3452
- className: f(mi.trigger, l),
3629
+ className: f(Ai.trigger, m),
3453
3630
  "aria-label": e,
3454
3631
  children: /* @__PURE__ */ u(On, { size: 24 })
3455
3632
  })
3456
3633
  }), /* @__PURE__ */ u(g.Portal, {
3457
- ...s,
3634
+ ...c,
3458
3635
  children: /* @__PURE__ */ u(g.Content, {
3459
- className: f(mi.content, t, n, h),
3460
- side: _,
3461
- align: m,
3462
- sideOffset: v,
3463
- ...y,
3636
+ className: f(Ai.content, t, n, v),
3637
+ side: y,
3638
+ align: _,
3639
+ sideOffset: b,
3640
+ ...x,
3464
3641
  children: a.map((e) => {
3465
- let { className: t, ...n } = e.itemProps ?? {};
3466
- return /* @__PURE__ */ d(g.Item, {
3642
+ let { className: t, ...n } = e.itemProps ?? {}, r = e.disabled ? void 0 : e.href, a = /* @__PURE__ */ d(l, { children: [e.icon && /* @__PURE__ */ u("span", {
3643
+ className: Ai.itemIcon,
3644
+ "aria-hidden": !0,
3645
+ children: e.icon
3646
+ }), /* @__PURE__ */ u("span", {
3647
+ className: Ai.itemLabel,
3648
+ children: e.label
3649
+ })] });
3650
+ return /* @__PURE__ */ u(g.Item, {
3651
+ asChild: !!r,
3467
3652
  disabled: e.disabled,
3468
3653
  textValue: e.textValue,
3469
- className: f(mi.item, "typography-body1", i, t),
3654
+ className: f(Ai.item, "typography-body1", i, t),
3470
3655
  onSelect: e.onSelect,
3471
3656
  ...n,
3472
- children: [e.icon && /* @__PURE__ */ u("span", {
3473
- className: mi.itemIcon,
3474
- "aria-hidden": !0,
3475
- children: e.icon
3476
- }), /* @__PURE__ */ u("span", {
3477
- className: mi.itemLabel,
3478
- children: e.label
3479
- })]
3657
+ children: r ? /* @__PURE__ */ u(o, {
3658
+ href: r,
3659
+ children: a
3660
+ }) : a
3480
3661
  }, e.id);
3481
3662
  })
3482
3663
  })
@@ -3492,7 +3673,7 @@ var mi = {
3492
3673
  footer: "_footer_m53un_110",
3493
3674
  currentTime: "_currentTime_m53un_117",
3494
3675
  divider: "_divider_m53un_121"
3495
- }, gi = ({ src: e, waveform: t = ne, className: n }) => {
3676
+ }, Mi = ({ src: e, waveform: t = te, className: n }) => {
3496
3677
  let r = s(null), [i, a] = c(!1), [o, p] = c(0), [m, h] = c(0), [g, _] = c(0), v = Math.floor(o * t.length);
3497
3678
  return /* @__PURE__ */ d("div", {
3498
3679
  className: f(B.audio, n),
@@ -3540,14 +3721,14 @@ var mi = {
3540
3721
  color: "var(--color-accent-100)",
3541
3722
  variant: "caption1",
3542
3723
  className: B.currentTime,
3543
- children: k(m)
3724
+ children: A(m)
3544
3725
  }), /* @__PURE__ */ u("span", {
3545
3726
  className: B.divider,
3546
3727
  children: "/"
3547
3728
  })] }), /* @__PURE__ */ u(G, {
3548
3729
  color: "var(--color-accent-100)",
3549
3730
  variant: "caption1",
3550
- children: k(g)
3731
+ children: A(g)
3551
3732
  })]
3552
3733
  })]
3553
3734
  })
@@ -3577,8 +3758,8 @@ var mi = {
3577
3758
  imageItem: "_imageItem_1hp8k_203",
3578
3759
  "modal-m": "_modal-m_1hp8k_209",
3579
3760
  "modal-xl": "_modal-xl_1hp8k_213"
3580
- }, _i = t(({ src: e, alt: t, userName: n, delayMs: r = 600, size: i = "s", className: a, ...o }, s) => {
3581
- let c = O(n);
3761
+ }, Ni = t(({ src: e, alt: t, userName: n, delayMs: r = 600, size: i = "s", className: a, ...o }, s) => {
3762
+ let c = k(n);
3582
3763
  return /* @__PURE__ */ d(h.Root, {
3583
3764
  ref: s,
3584
3765
  className: f(V.root, V[i], a),
@@ -3598,10 +3779,10 @@ var mi = {
3598
3779
  })]
3599
3780
  });
3600
3781
  });
3601
- _i.displayName = "Avatar";
3782
+ Ni.displayName = "Avatar";
3602
3783
  //#endregion
3603
3784
  //#region src/components/Avatar/MainAvatar.tsx
3604
- var vi = t(({ src: e = null, alt: t, userName: n, delayMs: r = 600, size: i = "xl", className: a, showCloseButton: o = !1, isScalable: s = !1, onClose: l, ...p }, m) => {
3785
+ var Pi = t(({ src: e = null, alt: t, userName: n, delayMs: r = 600, size: i = "xl", className: a, showCloseButton: o = !1, isScalable: s = !1, onClose: l, ...p }, m) => {
3605
3786
  let [g, _] = c(!1), v = () => _(!0), y = () => _(!1), b = () => {
3606
3787
  s && v();
3607
3788
  }, x = (e) => {
@@ -3642,7 +3823,7 @@ var vi = t(({ src: e = null, alt: t, userName: n, delayMs: r = 600, size: i = "x
3642
3823
  })
3643
3824
  })
3644
3825
  ]
3645
- }), s && /* @__PURE__ */ u(Xi, {
3826
+ }), s && /* @__PURE__ */ u(fa, {
3646
3827
  open: g,
3647
3828
  onClose: y,
3648
3829
  size: "m",
@@ -3660,10 +3841,10 @@ var vi = t(({ src: e = null, alt: t, userName: n, delayMs: r = 600, size: i = "x
3660
3841
  })]
3661
3842
  });
3662
3843
  });
3663
- vi.displayName = "MainAvatar";
3844
+ Pi.displayName = "MainAvatar";
3664
3845
  //#endregion
3665
3846
  //#region src/components/Avatar/AvatarBlock.tsx
3666
- var yi = t(({ users: e, className: t, ...n }, r) => {
3847
+ var Fi = t(({ users: e, className: t, ...n }, r) => {
3667
3848
  let i = e.slice(-3);
3668
3849
  return /* @__PURE__ */ u("div", {
3669
3850
  ref: r,
@@ -3671,7 +3852,7 @@ var yi = t(({ users: e, className: t, ...n }, r) => {
3671
3852
  ...n,
3672
3853
  children: i.map((e, t) => /* @__PURE__ */ u("div", {
3673
3854
  className: V.rootBlock,
3674
- children: /* @__PURE__ */ u(_i, {
3855
+ children: /* @__PURE__ */ u(Ni, {
3675
3856
  src: e.src,
3676
3857
  className: V.blockImage,
3677
3858
  alt: e.alt || e.userName,
@@ -3682,14 +3863,14 @@ var yi = t(({ users: e, className: t, ...n }, r) => {
3682
3863
  }, t))
3683
3864
  });
3684
3865
  });
3685
- yi.displayName = "AvatarBlock";
3686
- var bi = { card: "_card_zzkvp_1" }, xi = t(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ u("div", {
3866
+ Fi.displayName = "AvatarBlock";
3867
+ var Ii = { card: "_card_zzkvp_1" }, Li = t(({ children: e, className: t, ...n }, r) => /* @__PURE__ */ u("div", {
3687
3868
  ref: r,
3688
- className: f(bi.card, t),
3869
+ className: f(Ii.card, t),
3689
3870
  ...n,
3690
3871
  children: e
3691
3872
  }));
3692
- xi.displayName = "Cards";
3873
+ Li.displayName = "Cards";
3693
3874
  var H = {
3694
3875
  root: "_root_1abcz_55",
3695
3876
  slideWrapper: "_slideWrapper_1abcz_62",
@@ -3702,7 +3883,7 @@ var H = {
3702
3883
  dots: "_dots_1abcz_112",
3703
3884
  dotActive: "_dotActive_1abcz_138",
3704
3885
  s: "_s_1abcz_62"
3705
- }, Si = 100, Ci = ({ slides: e, controlsSize: t = "l" }) => {
3886
+ }, Ri = 100, zi = ({ slides: e, controlsSize: t = "l" }) => {
3706
3887
  let [n, r] = c(0), i = () => {
3707
3888
  r((t) => (t - 1 + e.length) % e.length);
3708
3889
  }, a = () => {
@@ -3723,7 +3904,7 @@ var H = {
3723
3904
  className: H.slideWrapper,
3724
3905
  children: /* @__PURE__ */ u("div", {
3725
3906
  className: H.track,
3726
- style: { transform: `translateX(-${n * Si}%)` },
3907
+ style: { transform: `translateX(-${n * Ri}%)` },
3727
3908
  children: e.map((e, t) => /* @__PURE__ */ u("div", {
3728
3909
  className: H.slide,
3729
3910
  children: /* @__PURE__ */ u("img", {
@@ -3756,29 +3937,29 @@ var H = {
3756
3937
  })
3757
3938
  ]
3758
3939
  });
3759
- }, wi = {
3940
+ }, Bi = {
3760
3941
  container: "_container_2cqcq_23",
3761
3942
  label: "_label_2cqcq_59",
3762
3943
  buttonWrapper: "_buttonWrapper_2cqcq_68",
3763
3944
  root: "_root_2cqcq_86",
3764
3945
  indicator: "_indicator_2cqcq_113"
3765
- }, Ti = t(({ label: e, id: t, className: n, onCheckedChange: r, ...i }, o) => {
3946
+ }, Vi = t(({ label: e, id: t, className: n, onCheckedChange: r, ...i }, o) => {
3766
3947
  let s = a(), c = t ?? s;
3767
3948
  return /* @__PURE__ */ u("div", {
3768
- className: wi.container,
3949
+ className: Bi.container,
3769
3950
  children: /* @__PURE__ */ d("label", {
3770
3951
  htmlFor: c,
3771
- className: wi.label,
3952
+ className: Bi.label,
3772
3953
  children: [/* @__PURE__ */ u("span", {
3773
- className: wi.buttonWrapper,
3954
+ className: Bi.buttonWrapper,
3774
3955
  children: /* @__PURE__ */ u(v.Root, {
3775
3956
  ref: o,
3776
3957
  id: c,
3777
- className: f(wi.root, n),
3958
+ className: f(Bi.root, n),
3778
3959
  onCheckedChange: (e) => r?.(e === !0),
3779
3960
  ...i,
3780
3961
  children: /* @__PURE__ */ u(v.Indicator, {
3781
- className: wi.indicator,
3962
+ className: Bi.indicator,
3782
3963
  children: /* @__PURE__ */ u(ge, { color: "var(--color-dark-900)" })
3783
3964
  })
3784
3965
  })
@@ -3786,21 +3967,21 @@ var H = {
3786
3967
  })
3787
3968
  });
3788
3969
  });
3789
- Ti.displayName = "Checkbox";
3790
- var Ei = {
3970
+ Vi.displayName = "Checkbox";
3971
+ var Hi = {
3791
3972
  spinner: "_spinner_8arkn_55",
3792
3973
  spin: "_spin_8arkn_55",
3793
3974
  sm: "_sm_8arkn_63",
3794
3975
  md: "_md_8arkn_68",
3795
3976
  lg: "_lg_8arkn_74"
3796
- }, Di = t(({ className: e, size: t = "md", color: n = "primary", style: r, ...i }, a) => {
3797
- let o = D(n) ? te[n] : n;
3977
+ }, Ui = t(({ className: e, size: t = "md", color: n = "primary", style: r, ...i }, a) => {
3978
+ let o = O(n) ? D[n] : n;
3798
3979
  return /* @__PURE__ */ u("span", {
3799
3980
  ref: a,
3800
3981
  "aria-label": "Loading",
3801
3982
  "aria-live": "polite",
3802
3983
  role: "status",
3803
- className: f(Ei.spinner, Ei[t], e),
3984
+ className: f(Hi.spinner, Hi[t], e),
3804
3985
  style: {
3805
3986
  ...r,
3806
3987
  borderTopColor: o
@@ -3808,7 +3989,7 @@ var Ei = {
3808
3989
  ...i
3809
3990
  });
3810
3991
  });
3811
- Di.displayName = "CircularProgress";
3992
+ Ui.displayName = "CircularProgress";
3812
3993
  var U = {
3813
3994
  trigger: "_trigger_uj5q7_55",
3814
3995
  hasLabel: "_hasLabel_uj5q7_87",
@@ -3824,10 +4005,10 @@ var U = {
3824
4005
  groupLabel: "_groupLabel_uj5q7_165",
3825
4006
  separator: "_separator_uj5q7_170",
3826
4007
  item: "_item_uj5q7_113"
3827
- }, Oi = t(({ className: e, contentClassName: t, contentProps: n, defaultValue: r, groupLabelClassName: i, iconProps: o, itemClassName: s, label: l, labelProps: p, onValueChange: m, options: h, placeholder: g = "Select-box", portalProps: v, separatorClassName: y, triggerIcon: b, triggerProps: x, valueProps: S, value: C, viewportProps: w, ...T }, ee) => {
3828
- let E = a(), [te, ne] = c(r), re = C ?? te, D = A(h).find((e) => e.value === re), O = x?.id ?? `select-${E}`, ie = (e) => {
3829
- ne(e), m?.(e);
3830
- }, { className: k, ...j } = x ?? {}, { className: M, ...ae } = p ?? {}, { children: N, className: P, ...F } = o ?? {}, { className: I, position: oe = "popper", sideOffset: se = -1, ...L } = n ?? {}, { className: ce, ...le } = w ?? {}, ue = (e) => {
4008
+ }, Wi = t(({ className: e, contentClassName: t, contentProps: n, defaultValue: r, groupLabelClassName: i, iconProps: o, itemClassName: s, label: l, labelProps: p, onValueChange: m, options: h, placeholder: g = "Select-box", portalProps: v, separatorClassName: y, triggerIcon: b, triggerProps: x, valueProps: S, value: C, viewportProps: w, ...T }, ee) => {
4009
+ let E = a(), [D, te] = c(r), ne = C ?? D, O = j(h).find((e) => e.value === ne), k = x?.id ?? `select-${E}`, re = (e) => {
4010
+ te(e), m?.(e);
4011
+ }, { className: A, ...M } = x ?? {}, { className: N, ...ie } = p ?? {}, { children: P, className: F, ...I } = o ?? {}, { className: L, position: ae = "popper", sideOffset: oe = -1, ...se } = n ?? {}, { className: ce, ...le } = w ?? {}, ue = (e) => {
3831
4012
  let { className: t, ...n } = e.itemProps ?? {};
3832
4013
  return /* @__PURE__ */ d(_.Item, {
3833
4014
  value: e.value,
@@ -3857,46 +4038,46 @@ var U = {
3857
4038
  ...T,
3858
4039
  defaultValue: r,
3859
4040
  value: C,
3860
- onValueChange: ie,
4041
+ onValueChange: re,
3861
4042
  children: [
3862
4043
  l && /* @__PURE__ */ u("label", {
3863
- htmlFor: O,
3864
- className: f(U.label, "typography-body1", M),
3865
- ...ae,
4044
+ htmlFor: k,
4045
+ className: f(U.label, "typography-body1", N),
4046
+ ...ie,
3866
4047
  children: l
3867
4048
  }),
3868
4049
  /* @__PURE__ */ d(_.Trigger, {
3869
4050
  ref: ee,
3870
- id: O,
3871
- className: f(U.trigger, "typography-subtitle1", l && U.hasLabel, e, k),
3872
- ...j,
4051
+ id: k,
4052
+ className: f(U.trigger, "typography-subtitle1", l && U.hasLabel, e, A),
4053
+ ...M,
3873
4054
  children: [/* @__PURE__ */ u("span", {
3874
4055
  className: U.textBlock,
3875
4056
  children: /* @__PURE__ */ d("span", {
3876
4057
  className: U.valueRow,
3877
- children: [D?.icon && /* @__PURE__ */ u("span", {
4058
+ children: [O?.icon && /* @__PURE__ */ u("span", {
3878
4059
  className: U.startIcon,
3879
4060
  "aria-hidden": !0,
3880
- children: D.icon
4061
+ children: O.icon
3881
4062
  }), /* @__PURE__ */ u(_.Value, {
3882
4063
  placeholder: g,
3883
4064
  ...S
3884
4065
  })]
3885
4066
  })
3886
4067
  }), /* @__PURE__ */ u(_.Icon, {
3887
- className: f(U.icon, P),
4068
+ className: f(U.icon, F),
3888
4069
  "aria-hidden": !0,
3889
- ...F,
3890
- children: b ?? N ?? /* @__PURE__ */ u("span", {})
4070
+ ...I,
4071
+ children: b ?? P ?? /* @__PURE__ */ u("span", {})
3891
4072
  })]
3892
4073
  }),
3893
4074
  /* @__PURE__ */ u(_.Portal, {
3894
4075
  ...v,
3895
4076
  children: /* @__PURE__ */ u(_.Content, {
3896
- className: f(U.content, t, I),
3897
- position: oe,
3898
- sideOffset: se,
3899
- ...L,
4077
+ className: f(U.content, t, L),
4078
+ position: ae,
4079
+ sideOffset: oe,
4080
+ ...se,
3900
4081
  children: /* @__PURE__ */ u(_.Viewport, {
3901
4082
  className: f(U.viewport, ce),
3902
4083
  ...le,
@@ -3927,7 +4108,7 @@ var U = {
3927
4108
  ]
3928
4109
  });
3929
4110
  });
3930
- Oi.displayName = "Select";
4111
+ Wi.displayName = "Select";
3931
4112
  var W = {
3932
4113
  wrapper: "_wrapper_u20vw_55",
3933
4114
  label: "_label_u20vw_63",
@@ -3961,29 +4142,29 @@ var W = {
3961
4142
  selected: "_selected_u20vw_343",
3962
4143
  rangeStart: "_rangeStart_u20vw_348",
3963
4144
  rangeEnd: "_rangeEnd_u20vw_353"
3964
- }, ki = new Intl.DateTimeFormat("en", {
4145
+ }, Gi = new Intl.DateTimeFormat("en", {
3965
4146
  day: "numeric",
3966
4147
  month: "long",
3967
4148
  year: "numeric"
3968
- }), Ai = ({ date: e, disabled: t, displayedMonth: n, focusedDate: r, mode: i, onFocus: a, onSelect: o, selectedRange: s, selectedValue: c }) => {
3969
- let l = e.getMonth() === n.getMonth(), d = e.getDay() === 0 || e.getDay() === 6, p = i === "single" && c instanceof Date && L(e, c), m = i === "range" && !!s.start && L(e, s.start), h = i === "range" && !!s.end && L(e, s.end), g = i === "range" && !!s.start && !!s.end && ce(e, s.start, s.end);
4149
+ }), Ki = ({ date: e, disabled: t, displayedMonth: n, focusedDate: r, mode: i, onFocus: a, onSelect: o, selectedRange: s, selectedValue: c }) => {
4150
+ let l = e.getMonth() === n.getMonth(), d = e.getDay() === 0 || e.getDay() === 6, p = i === "single" && c instanceof Date && se(e, c), m = i === "range" && !!s.start && se(e, s.start), h = i === "range" && !!s.end && se(e, s.end), g = i === "range" && !!s.start && !!s.end && ce(e, s.start, s.end);
3970
4151
  return /* @__PURE__ */ u("div", {
3971
4152
  role: "gridcell",
3972
4153
  "aria-selected": p || m || h,
3973
4154
  children: /* @__PURE__ */ u(z, {
3974
4155
  type: "button",
3975
- "data-date": I(e).getTime(),
4156
+ "data-date": L(e).getTime(),
3976
4157
  disabled: t,
3977
- tabIndex: L(e, r) ? 0 : -1,
3978
- "aria-label": ki.format(e),
4158
+ tabIndex: se(e, r) ? 0 : -1,
4159
+ "aria-label": Gi.format(e),
3979
4160
  variant: "text",
3980
4161
  className: f(W.day, "typography-subtitle1", !l && W.otherMonth, d && W.weekend, (p || m || h) && W.selected, g && W.inRange, m && W.rangeStart, h && W.rangeEnd),
3981
4162
  onClick: () => o(e),
3982
- onFocus: () => a(I(e)),
4163
+ onFocus: () => a(L(e)),
3983
4164
  children: /* @__PURE__ */ u("span", { children: e.getDate() })
3984
4165
  })
3985
4166
  });
3986
- }, ji = 6, Mi = [
4167
+ }, qi = 6, Ji = [
3987
4168
  "Mo",
3988
4169
  "Tu",
3989
4170
  "We",
@@ -3991,66 +4172,66 @@ var W = {
3991
4172
  "Fr",
3992
4173
  "Sa",
3993
4174
  "Su"
3994
- ], Ni = new Intl.DateTimeFormat("en", {
4175
+ ], Yi = new Intl.DateTimeFormat("en", {
3995
4176
  month: "long",
3996
4177
  year: "numeric"
3997
- }), Pi = ({ className: e, clearable: t = !1, defaultValue: n, disabled: o, error: l, label: p, maxDate: m, minDate: h, mode: g = "single", onChange: _, onClick: v, value: y, ...b }) => {
3998
- let x = `date-picker-${a()}`, S = `${x}-error`, C = s(null), w = s(null), [T, ee] = c(null), [E, te] = c(!1), [ne, re] = c(n), D = y ?? ne, O = ue(D), ie = g === "range" ? O.start : D instanceof Date ? D : O.start, [k, A] = c(() => oe(ie ?? /* @__PURE__ */ new Date())), [j, M] = c(() => se(ie ?? /* @__PURE__ */ new Date(), h, m)), ae = r((e) => {
4178
+ }), Xi = ({ className: e, clearable: t = !1, defaultValue: n, disabled: o, error: l, label: p, maxDate: m, minDate: h, mode: g = "single", onChange: _, onClick: v, value: y, ...b }) => {
4179
+ let x = `date-picker-${a()}`, S = `${x}-error`, C = s(null), w = s(null), [T, ee] = c(null), [E, D] = c(!1), [te, ne] = c(n), O = y ?? te, k = ue(O), re = g === "range" ? k.start : O instanceof Date ? O : k.start, [A, j] = c(() => ae(re ?? /* @__PURE__ */ new Date())), [M, N] = c(() => oe(re ?? /* @__PURE__ */ new Date(), h, m)), ie = r((e) => {
3999
4180
  C.current = e, ee(e);
4000
- }, []), N = (e = !1) => {
4001
- te(!1), e && window.requestAnimationFrame(() => w.current?.focus());
4181
+ }, []), P = (e = !1) => {
4182
+ D(!1), e && window.requestAnimationFrame(() => w.current?.focus());
4002
4183
  };
4003
4184
  i(() => {
4004
4185
  let e = (e) => {
4005
- C.current?.contains(e.target) || N();
4186
+ C.current?.contains(e.target) || P();
4006
4187
  };
4007
4188
  return document.addEventListener("mousedown", e), () => document.removeEventListener("mousedown", e);
4008
4189
  }, []), i(() => {
4009
- E && C.current?.querySelector(`[data-date="${j.getTime()}"]`)?.focus();
4190
+ E && C.current?.querySelector(`[data-date="${M.getTime()}"]`)?.focus();
4010
4191
  }, [
4011
- k,
4012
- j,
4192
+ A,
4193
+ M,
4013
4194
  E
4014
4195
  ]);
4015
- let P = (e) => {
4016
- y === void 0 && re(e), _?.(e);
4017
- }, F = (e) => o || !fe(e) || !!h && e < I(h) || !!m && e > I(m), ce = (e) => {
4018
- let t = I(e);
4019
- M(t), A(oe(t));
4196
+ let F = (e) => {
4197
+ y === void 0 && ne(e), _?.(e);
4198
+ }, I = (e) => o || !fe(e) || !!h && e < L(h) || !!m && e > L(m), ce = (e) => {
4199
+ let t = L(e);
4200
+ N(t), j(ae(t));
4020
4201
  }, he = (e) => {
4021
4202
  if (g === "single") {
4022
- P(e), N(!0);
4203
+ F(e), P(!0);
4023
4204
  return;
4024
4205
  }
4025
- let { end: t, start: n } = O, r = I(e);
4206
+ let { end: t, start: n } = k, r = L(e);
4026
4207
  if (!n || t) {
4027
- P({ start: r }), M(r);
4208
+ F({ start: r }), N(r);
4028
4209
  return;
4029
4210
  }
4030
- let i = I(n);
4031
- P(r < i ? {
4211
+ let i = L(n);
4212
+ F(r < i ? {
4032
4213
  end: i,
4033
4214
  start: r
4034
4215
  } : {
4035
4216
  end: r,
4036
4217
  start: i
4037
- }), N(!0);
4218
+ }), P(!0);
4038
4219
  }, ge = (e) => {
4039
- let t = le(k), n = t.findIndex((e) => L(e, j)), r = (t) => {
4040
- !fe(t) || F(t) || (e.preventDefault(), ce(t));
4220
+ let t = le(A), n = t.findIndex((e) => se(e, M)), r = (t) => {
4221
+ !fe(t) || I(t) || (e.preventDefault(), ce(t));
4041
4222
  };
4042
4223
  switch (e.key) {
4043
4224
  case "ArrowDown":
4044
- r(new Date(j.getFullYear(), j.getMonth(), j.getDate() + 7));
4225
+ r(new Date(M.getFullYear(), M.getMonth(), M.getDate() + 7));
4045
4226
  break;
4046
4227
  case "ArrowLeft":
4047
- r(new Date(j.getFullYear(), j.getMonth(), j.getDate() - 1));
4228
+ r(new Date(M.getFullYear(), M.getMonth(), M.getDate() - 1));
4048
4229
  break;
4049
4230
  case "ArrowRight":
4050
- r(new Date(j.getFullYear(), j.getMonth(), j.getDate() + 1));
4231
+ r(new Date(M.getFullYear(), M.getMonth(), M.getDate() + 1));
4051
4232
  break;
4052
4233
  case "ArrowUp":
4053
- r(new Date(j.getFullYear(), j.getMonth(), j.getDate() - 7));
4234
+ r(new Date(M.getFullYear(), M.getMonth(), M.getDate() - 7));
4054
4235
  break;
4055
4236
  case "End":
4056
4237
  r(t[Math.min(Math.ceil((n + 1) / 7) * 7 - 1, t.length - 1)]);
@@ -4059,16 +4240,16 @@ var W = {
4059
4240
  r(t[Math.floor(n / 7) * 7]);
4060
4241
  break;
4061
4242
  case "PageDown":
4062
- r(new Date(j.getFullYear() + +!!e.shiftKey, j.getMonth() + +!e.shiftKey, j.getDate()));
4243
+ r(new Date(M.getFullYear() + +!!e.shiftKey, M.getMonth() + +!e.shiftKey, M.getDate()));
4063
4244
  break;
4064
4245
  case "PageUp":
4065
- r(new Date(j.getFullYear() - +!!e.shiftKey, j.getMonth() - +!e.shiftKey, j.getDate()));
4246
+ r(new Date(M.getFullYear() - +!!e.shiftKey, M.getMonth() - +!e.shiftKey, M.getDate()));
4066
4247
  break;
4067
4248
  default: break;
4068
4249
  }
4069
- }, _e = le(k), ve = de(D, g), ye = new Date(k.getFullYear(), k.getMonth() - 1, 1), be = new Date(k.getFullYear(), k.getMonth() + 1, 1);
4250
+ }, _e = le(A), ve = de(O, g), ye = new Date(A.getFullYear(), A.getMonth() - 1, 1), be = new Date(A.getFullYear(), A.getMonth() + 1, 1);
4070
4251
  return /* @__PURE__ */ d("div", {
4071
- ref: ae,
4252
+ ref: ie,
4072
4253
  className: f(W.wrapper, e),
4073
4254
  children: [
4074
4255
  p && /* @__PURE__ */ u("label", {
@@ -4092,10 +4273,10 @@ var W = {
4092
4273
  className: f(W.trigger, "typography-subtitle1", l && W.error, o && W.disabled),
4093
4274
  onClick: (e) => {
4094
4275
  if (v?.(e), !E) {
4095
- let e = se(ie ?? /* @__PURE__ */ new Date(), h, m);
4096
- A(oe(e)), M(e);
4276
+ let e = oe(re ?? /* @__PURE__ */ new Date(), h, m);
4277
+ j(ae(e)), N(e);
4097
4278
  }
4098
- te(!E);
4279
+ D(!E);
4099
4280
  },
4100
4281
  children: [/* @__PURE__ */ u("span", {
4101
4282
  className: f(W.value, !ve && W.placeholder),
@@ -4111,7 +4292,7 @@ var W = {
4111
4292
  "aria-label": g === "range" ? "Clear date range" : "Clear date",
4112
4293
  variant: "text",
4113
4294
  onClick: () => {
4114
- P(void 0), N(!0);
4295
+ F(void 0), P(!0);
4115
4296
  },
4116
4297
  children: /* @__PURE__ */ u(Se, {
4117
4298
  autoSize: !1,
@@ -4130,29 +4311,29 @@ var W = {
4130
4311
  role: "dialog",
4131
4312
  "aria-label": g === "range" ? "Choose a date range" : "Choose a date",
4132
4313
  onKeyDown: (e) => {
4133
- e.key === "Escape" && (e.preventDefault(), N(!0));
4314
+ e.key === "Escape" && (e.preventDefault(), P(!0));
4134
4315
  },
4135
4316
  children: [/* @__PURE__ */ d("div", {
4136
4317
  className: W.header,
4137
4318
  children: [/* @__PURE__ */ d("div", {
4138
4319
  className: W.monthYearControls,
4139
- children: [/* @__PURE__ */ u(Oi, {
4320
+ children: [/* @__PURE__ */ u(Wi, {
4140
4321
  className: f(W.monthYearSelect, W.monthSelect),
4141
4322
  contentClassName: W.monthYearContent,
4142
4323
  options: pe,
4143
4324
  portalProps: T ? { container: T } : void 0,
4144
- value: String(k.getMonth()),
4325
+ value: String(A.getMonth()),
4145
4326
  viewportProps: { className: W.monthViewport },
4146
- onValueChange: (e) => A((t) => new Date(t.getFullYear(), Number(e), 1)),
4327
+ onValueChange: (e) => j((t) => new Date(t.getFullYear(), Number(e), 1)),
4147
4328
  triggerProps: { "aria-label": "Month" }
4148
- }), /* @__PURE__ */ u(Oi, {
4329
+ }), /* @__PURE__ */ u(Wi, {
4149
4330
  className: f(W.monthYearSelect, W.yearSelect),
4150
4331
  contentClassName: W.monthYearContent,
4151
4332
  options: me,
4152
4333
  portalProps: T ? { container: T } : void 0,
4153
- value: String(k.getFullYear()),
4334
+ value: String(A.getFullYear()),
4154
4335
  viewportProps: { className: W.yearViewport },
4155
- onValueChange: (e) => A((t) => new Date(Number(e), t.getMonth(), 1)),
4336
+ onValueChange: (e) => j((t) => new Date(Number(e), t.getMonth(), 1)),
4156
4337
  triggerProps: { "aria-label": "Year" }
4157
4338
  })]
4158
4339
  }), /* @__PURE__ */ d("div", {
@@ -4162,7 +4343,7 @@ var W = {
4162
4343
  className: W.navigationButton,
4163
4344
  "aria-label": "Previous month",
4164
4345
  disabled: !fe(ye),
4165
- onClick: () => A(ye),
4346
+ onClick: () => j(ye),
4166
4347
  variant: "text",
4167
4348
  children: /* @__PURE__ */ u(Dt, {
4168
4349
  autoSize: !1,
@@ -4173,7 +4354,7 @@ var W = {
4173
4354
  className: W.navigationButton,
4174
4355
  "aria-label": "Next month",
4175
4356
  disabled: !fe(be),
4176
- onClick: () => A(be),
4357
+ onClick: () => j(be),
4177
4358
  variant: "text",
4178
4359
  children: /* @__PURE__ */ u(jt, {
4179
4360
  autoSize: !1,
@@ -4184,28 +4365,28 @@ var W = {
4184
4365
  }), /* @__PURE__ */ d("div", {
4185
4366
  className: W.days,
4186
4367
  role: "grid",
4187
- "aria-label": Ni.format(k),
4368
+ "aria-label": Yi.format(A),
4188
4369
  onKeyDown: ge,
4189
4370
  children: [/* @__PURE__ */ u("div", {
4190
4371
  className: W.weekdays,
4191
4372
  role: "row",
4192
- children: Mi.map((e) => /* @__PURE__ */ u("span", {
4373
+ children: Ji.map((e) => /* @__PURE__ */ u("span", {
4193
4374
  role: "columnheader",
4194
4375
  className: "typography-subtitle1",
4195
4376
  children: e
4196
4377
  }, e))
4197
- }), Array.from({ length: ji }, (e, t) => /* @__PURE__ */ u("div", {
4378
+ }), Array.from({ length: qi }, (e, t) => /* @__PURE__ */ u("div", {
4198
4379
  role: "row",
4199
4380
  className: W.week,
4200
- children: _e.slice(t * 7, (t + 1) * 7).map((e) => /* @__PURE__ */ u(Ai, {
4381
+ children: _e.slice(t * 7, (t + 1) * 7).map((e) => /* @__PURE__ */ u(Ki, {
4201
4382
  date: e,
4202
- disabled: F(e),
4203
- displayedMonth: k,
4204
- focusedDate: j,
4383
+ disabled: I(e),
4384
+ displayedMonth: A,
4385
+ focusedDate: M,
4205
4386
  mode: g,
4206
- selectedRange: O,
4207
- selectedValue: D,
4208
- onFocus: M,
4387
+ selectedRange: k,
4388
+ selectedValue: O,
4389
+ onFocus: N,
4209
4390
  onSelect: he
4210
4391
  }, e.toISOString()))
4211
4392
  }, t))]
@@ -4213,7 +4394,7 @@ var W = {
4213
4394
  })
4214
4395
  ]
4215
4396
  });
4216
- }, Fi = {
4397
+ }, Zi = {
4217
4398
  typography: "_typography_1hhu5_1",
4218
4399
  "align-left": "_align-left_1hhu5_5",
4219
4400
  "align-center": "_align-center_1hhu5_9",
@@ -4221,7 +4402,7 @@ var W = {
4221
4402
  "align-justify": "_align-justify_1hhu5_17",
4222
4403
  noWrap: "_noWrap_1hhu5_21",
4223
4404
  gutterBottom: "_gutterBottom_1hhu5_27"
4224
- }, Ii = {
4405
+ }, Qi = {
4225
4406
  large: "h1",
4226
4407
  h1: "h1",
4227
4408
  h2: "h2",
@@ -4241,7 +4422,7 @@ var W = {
4241
4422
  signature: "span",
4242
4423
  "signature-legal": "span"
4243
4424
  }, G = (e) => {
4244
- let { ref: t, children: n, variant: r = "body1", color: i, className: a, style: o, noWrap: s, mb: c, ml: l, mr: d, mt: p, mx: m, my: h, gutterBottom: g, align: _, href: v, target: y, rel: b, ...x } = e, S = Ii[r] || "div", C = f(Fi.typography, `typography-${r}`, _ && Fi[`align-${_}`], s && Fi.noWrap, g && Fi.gutterBottom, a), w = r === "link" || r === "subtitle-link" || S === "a" ? {
4425
+ let { ref: t, children: n, variant: r = "body1", color: i, className: a, style: o, noWrap: s, mb: c, ml: l, mr: d, mt: p, mx: m, my: h, gutterBottom: g, align: _, href: v, target: y, rel: b, ...x } = e, S = Qi[r] || "div", C = f(Zi.typography, `typography-${r}`, _ && Zi[`align-${_}`], s && Zi.noWrap, g && Zi.gutterBottom, a), w = r === "link" || r === "subtitle-link" || S === "a" ? {
4245
4426
  href: v,
4246
4427
  target: y,
4247
4428
  rel: b
@@ -4262,17 +4443,17 @@ var W = {
4262
4443
  children: n
4263
4444
  });
4264
4445
  }, K = {
4265
- header: "_header_1abkx_55",
4266
- container: "_container_1abkx_23",
4267
- logo: "_logo_1abkx_85",
4268
- logoLink: "_logoLink_1abkx_89",
4269
- actions: "_actions_1abkx_99",
4270
- notificationButton: "_notificationButton_1abkx_106",
4271
- mobileMenuButton: "_mobileMenuButton_1abkx_126",
4272
- mobileMenu: "_mobileMenu_1abkx_126",
4273
- mobileMenuItem: "_mobileMenuItem_1abkx_151",
4274
- authActions: "_authActions_1abkx_158"
4275
- }, Li = ({ brandName: e = "Lumos", className: t, isAuthenticated: n = !0, logoHref: r = "/", logInLabel: i = "Log in", mobileAuthenticatedMenuItems: a, mobileMenuLabel: o = "Open menu", notificationCount: s = 0, notificationLabel: c = "Notifications", onLogInClick: l, onNotificationClick: p, onSignUpClick: m, signUpLabel: h = "Sign up", linkTag: g = "a", ..._ }) => {
4446
+ header: "_header_10hvk_55",
4447
+ container: "_container_10hvk_23",
4448
+ logo: "_logo_10hvk_85",
4449
+ logoLink: "_logoLink_10hvk_89",
4450
+ actions: "_actions_10hvk_99",
4451
+ notificationButton: "_notificationButton_10hvk_106",
4452
+ mobileMenuButton: "_mobileMenuButton_10hvk_126",
4453
+ mobileMenu: "_mobileMenu_10hvk_126",
4454
+ mobileMenuItem: "_mobileMenuItem_10hvk_151",
4455
+ authActions: "_authActions_10hvk_158"
4456
+ }, $i = ({ brandName: e = "Lumos", className: t, isAuthenticated: n = !0, logoHref: r = "/", logInLabel: i = "Log in", mobileAuthenticatedMenuItems: a, mobileMenuLabel: o = "Open menu", notificationCount: s = 0, notificationLabel: c = "Notifications", onLogInClick: l, onNotificationClick: p, onSignUpClick: m, signUpLabel: h = "Sign up", linkTag: g = "a", ..._ }) => {
4276
4457
  let v = s > 0 ? `${c}, ${s} unread` : c, y = [{
4277
4458
  id: "log-in",
4278
4459
  label: i,
@@ -4329,9 +4510,10 @@ var W = {
4329
4510
  children: h
4330
4511
  })]
4331
4512
  }),
4332
- /* @__PURE__ */ u(hi, {
4513
+ /* @__PURE__ */ u(ji, {
4333
4514
  ariaLabel: o,
4334
4515
  items: x,
4516
+ linkTag: g,
4335
4517
  triggerClassName: K.mobileMenuButton,
4336
4518
  contentClassName: K.mobileMenu
4337
4519
  })
@@ -4350,7 +4532,7 @@ var W = {
4350
4532
  errorMessage: "_errorMessage_1s1qb_117",
4351
4533
  error: "_error_1s1qb_117",
4352
4534
  disabled: "_disabled_1s1qb_135"
4353
- }, Ri = t(({ id: e, label: t, error: n, startAdornment: r, endAdornment: i, className: o, containerClassName: s, disabled: c, type: l = "text", ...p }, m) => {
4535
+ }, ea = t(({ id: e, label: t, error: n, startAdornment: r, endAdornment: i, className: o, containerClassName: s, disabled: c, type: l = "text", ...p }, m) => {
4354
4536
  let h = a(), g = e ?? h;
4355
4537
  return /* @__PURE__ */ d("div", {
4356
4538
  className: q.wrapper,
@@ -4393,8 +4575,8 @@ var W = {
4393
4575
  ]
4394
4576
  });
4395
4577
  });
4396
- Ri.displayName = "Input";
4397
- var zi = {
4578
+ ea.displayName = "Input";
4579
+ var ta = {
4398
4580
  root: "_root_10gqv_55",
4399
4581
  sm: "_sm_10gqv_63",
4400
4582
  md: "_md_10gqv_67",
@@ -4402,8 +4584,8 @@ var zi = {
4402
4584
  bar: "_bar_10gqv_75",
4403
4585
  determinate: "_determinate_10gqv_84",
4404
4586
  indeterminate: "_indeterminate_10gqv_95"
4405
- }, Bi = t(({ className: e, size: t = "md", color: n = "primary", value: r = 0, determinate: i = !1, ...a }, o) => {
4406
- let s = D(n) ? te[n] : n, c = Math.min(100, Math.max(0, r));
4587
+ }, na = t(({ className: e, size: t = "md", color: n = "primary", value: r = 0, determinate: i = !1, ...a }, o) => {
4588
+ let s = O(n) ? D[n] : n, c = Math.min(100, Math.max(0, r));
4407
4589
  return /* @__PURE__ */ u("div", {
4408
4590
  ref: o,
4409
4591
  role: "progressbar",
@@ -4412,10 +4594,10 @@ var zi = {
4412
4594
  "aria-valuenow": i ? c : void 0,
4413
4595
  "aria-valuemin": i ? 0 : void 0,
4414
4596
  "aria-valuemax": i ? 100 : void 0,
4415
- className: f(zi.root, zi[t], e),
4597
+ className: f(ta.root, ta[t], e),
4416
4598
  ...a,
4417
4599
  children: /* @__PURE__ */ u("div", {
4418
- className: f(zi.bar, i ? zi.determinate : zi.indeterminate),
4600
+ className: f(ta.bar, i ? ta.determinate : ta.indeterminate),
4419
4601
  style: {
4420
4602
  backgroundColor: s,
4421
4603
  width: i ? `${c}%` : void 0
@@ -4423,38 +4605,38 @@ var zi = {
4423
4605
  })
4424
4606
  });
4425
4607
  });
4426
- Bi.displayName = "LinearProgress";
4608
+ na.displayName = "LinearProgress";
4427
4609
  //#endregion
4428
4610
  //#region src/utils/getNavItemClickHandler.ts
4429
- var Vi = "#", Hi = (e, t) => {
4430
- let n = !!e && e !== Vi;
4611
+ var ra = "#", ia = (e, t) => {
4612
+ let n = !!e && e !== ra;
4431
4613
  return {
4432
4614
  handleClick: (e) => {
4433
4615
  n || e.preventDefault(), t();
4434
4616
  },
4435
- resolvedHref: e ?? Vi
4617
+ resolvedHref: e ?? ra
4436
4618
  };
4437
- }, Ui = {
4619
+ }, aa = {
4438
4620
  navBar: "_navBar_1411h_55",
4439
4621
  list: "_list_1411h_61",
4440
4622
  navItem: "_navItem_1411h_70",
4441
4623
  activeItem: "_activeItem_1411h_88",
4442
4624
  line: "_line_1411h_92"
4443
- }, Wi = ({ userId: e, items: t, activeId: n, onValueChange: r, linkTag: i = "a" }) => /* @__PURE__ */ u("div", { children: /* @__PURE__ */ d("nav", {
4444
- className: Ui.navBar,
4625
+ }, oa = ({ userId: e, items: t, activeId: n, onValueChange: r, linkTag: i = "a" }) => /* @__PURE__ */ u("div", { children: /* @__PURE__ */ d("nav", {
4626
+ className: aa.navBar,
4445
4627
  children: [/* @__PURE__ */ u("ul", {
4446
- className: Ui.list,
4628
+ className: aa.list,
4447
4629
  children: t.map((t) => {
4448
- let a = n === t.id, { handleClick: o, resolvedHref: s } = Hi(typeof t.href == "function" ? e ? t.href(e) : void 0 : t.href, () => r?.(t.id));
4630
+ let a = n === t.id, { handleClick: o, resolvedHref: s } = ia(typeof t.href == "function" ? e ? t.href(e) : void 0 : t.href, () => r?.(t.id));
4449
4631
  return /* @__PURE__ */ u("li", { children: /* @__PURE__ */ u(z, {
4450
4632
  as: i,
4451
4633
  href: s,
4452
- className: f(Ui.navItem, a && Ui.activeItem),
4634
+ className: f(aa.navItem, a && aa.activeItem),
4453
4635
  onClick: o,
4454
4636
  children: a && t.activeIcon ? t.activeIcon : t.icon
4455
4637
  }) }, t.id);
4456
4638
  })
4457
- }), /* @__PURE__ */ u("div", { className: Ui.line })]
4639
+ }), /* @__PURE__ */ u("div", { className: aa.line })]
4458
4640
  }) }), J = {
4459
4641
  image: "_image_1o2cp_55",
4460
4642
  content: "_content_1o2cp_55",
@@ -4470,8 +4652,8 @@ var Vi = "#", Hi = (e, t) => {
4470
4652
  replyText: "_replyText_1o2cp_143",
4471
4653
  status: "_status_1o2cp_150",
4472
4654
  attachment: "_attachment_1o2cp_157"
4473
- }, Gi = ({ attachment: e }) => {
4474
- if (ie(e)) return /* @__PURE__ */ u(l, { children: e.component });
4655
+ }, sa = ({ attachment: e }) => {
4656
+ if (re(e)) return /* @__PURE__ */ u(l, { children: e.component });
4475
4657
  if (e.type === "image") return /* @__PURE__ */ u("div", {
4476
4658
  className: J.attachment,
4477
4659
  children: /* @__PURE__ */ u("img", {
@@ -4480,7 +4662,7 @@ var Vi = "#", Hi = (e, t) => {
4480
4662
  alt: e.name
4481
4663
  })
4482
4664
  });
4483
- }, Ki = {
4665
+ }, ca = {
4484
4666
  sending: /* @__PURE__ */ u(Qr, {
4485
4667
  color: "var(--color-accent-100)",
4486
4668
  size: 16
@@ -4501,10 +4683,10 @@ var Vi = "#", Hi = (e, t) => {
4501
4683
  color: "var(--color-danger-500)",
4502
4684
  size: 16
4503
4685
  })
4504
- }, qi = ({ status: e }) => /* @__PURE__ */ u("span", {
4686
+ }, la = ({ status: e }) => /* @__PURE__ */ u("span", {
4505
4687
  className: J.status,
4506
- children: Ki[e]
4507
- }), Ji = ({ reply: e }) => /* @__PURE__ */ d("div", {
4688
+ children: ca[e]
4689
+ }), ua = ({ reply: e }) => /* @__PURE__ */ d("div", {
4508
4690
  className: J.reply,
4509
4691
  children: [/* @__PURE__ */ u(G, {
4510
4692
  color: "var(--color-success-500)",
@@ -4516,11 +4698,11 @@ var Vi = "#", Hi = (e, t) => {
4516
4698
  className: J.replyText,
4517
4699
  children: e.text
4518
4700
  })]
4519
- }), Yi = ({ author: e, avatar: t, text: n, timestamp: r, type: i = "incoming", status: a = "sent", replyTo: o, attachments: s, className: c }) => {
4701
+ }), da = ({ author: e, avatar: t, text: n, timestamp: r, type: i = "incoming", status: a = "sent", replyTo: o, attachments: s, className: c }) => {
4520
4702
  let l = i === "outgoing", p = l ? "var(--color-accent-100)" : "var(--color-light-900)";
4521
4703
  return /* @__PURE__ */ d("article", {
4522
4704
  className: f(J.message, l && J.outgoing, c),
4523
- children: [!l && /* @__PURE__ */ u(_i, {
4705
+ children: [!l && /* @__PURE__ */ u(Ni, {
4524
4706
  src: t,
4525
4707
  userName: e,
4526
4708
  alt: e,
@@ -4531,8 +4713,8 @@ var Vi = "#", Hi = (e, t) => {
4531
4713
  children: /* @__PURE__ */ d("div", {
4532
4714
  className: f(J.bubble, s?.type === "image" && J.card),
4533
4715
  children: [
4534
- s && /* @__PURE__ */ u(Gi, { attachment: s }),
4535
- o && /* @__PURE__ */ u(Ji, { reply: o }),
4716
+ s && /* @__PURE__ */ u(sa, { attachment: s }),
4717
+ o && /* @__PURE__ */ u(ua, { reply: o }),
4536
4718
  n && /* @__PURE__ */ u(G, {
4537
4719
  variant: "body1",
4538
4720
  color: "var(--color-light-100)",
@@ -4548,7 +4730,7 @@ var Vi = "#", Hi = (e, t) => {
4548
4730
  color: p,
4549
4731
  children: r
4550
4732
  })
4551
- }), a && l && /* @__PURE__ */ u(qi, { status: a })]
4733
+ }), a && l && /* @__PURE__ */ u(la, { status: a })]
4552
4734
  })
4553
4735
  ]
4554
4736
  })
@@ -4567,7 +4749,7 @@ var Vi = "#", Hi = (e, t) => {
4567
4749
  fullSize: "_fullSize_c66hw_117",
4568
4750
  iconButton: "_iconButton_c66hw_121",
4569
4751
  closeButtonOutside: "_closeButtonOutside_c66hw_136"
4570
- }, Xi = t(({ open: e, onClose: t, modalTitle: n = "", children: r, size: i = "m", className: a, showHeader: o, showCloseButton: s = !0, fullSize: c = !1, closeButtonOutside: l = !1, ...p }, m) => /* @__PURE__ */ u(y.Root, {
4752
+ }, fa = t(({ open: e, onClose: t, modalTitle: n = "", children: r, size: i = "m", className: a, showHeader: o, showCloseButton: s = !0, fullSize: c = !1, closeButtonOutside: l = !1, ...p }, m) => /* @__PURE__ */ u(y.Root, {
4571
4753
  open: e,
4572
4754
  onOpenChange: t,
4573
4755
  children: /* @__PURE__ */ d(y.Portal, { children: [/* @__PURE__ */ u(y.Overlay, { className: Y.overlay }), /* @__PURE__ */ d(y.Content, {
@@ -4604,15 +4786,15 @@ var Vi = "#", Hi = (e, t) => {
4604
4786
  ]
4605
4787
  })] })
4606
4788
  }));
4607
- Xi.displayName = "Modal";
4608
- var Zi = { iconButton: "_iconButton_iqf7o_55" }, Qi = ({ ...e }) => {
4789
+ fa.displayName = "Modal";
4790
+ var pa = { iconButton: "_iconButton_iqf7o_55" }, ma = ({ ...e }) => {
4609
4791
  let [t, n] = c(!1);
4610
- return /* @__PURE__ */ u(Ri, {
4792
+ return /* @__PURE__ */ u(ea, {
4611
4793
  ...e,
4612
4794
  type: t ? "text" : "password",
4613
4795
  endAdornment: /* @__PURE__ */ u("button", {
4614
4796
  type: "button",
4615
- className: Zi.iconButton,
4797
+ className: pa.iconButton,
4616
4798
  onClick: () => n((e) => !e),
4617
4799
  "aria-label": t ? "Hide password" : "Show password",
4618
4800
  children: u(t ? bn : gn, {
@@ -4630,7 +4812,7 @@ var Zi = { iconButton: "_iconButton_iqf7o_55" }, Qi = ({ ...e }) => {
4630
4812
  indicator: "_indicator_1rwph_112",
4631
4813
  label: "_label_1rwph_130",
4632
4814
  disabled: "_disabled_1rwph_135"
4633
- }, $i = t(({ className: e, options: t, disabled: n, ...r }, i) => {
4815
+ }, ha = t(({ className: e, options: t, disabled: n, ...r }, i) => {
4634
4816
  let o = a();
4635
4817
  return /* @__PURE__ */ u(b.Root, {
4636
4818
  ref: i,
@@ -4659,8 +4841,8 @@ var Zi = { iconButton: "_iconButton_iqf7o_55" }, Qi = ({ ...e }) => {
4659
4841
  })
4660
4842
  });
4661
4843
  });
4662
- $i.displayName = "RadioGroup";
4663
- var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLabel: n = "Show more", collapseLabel: r = "Hide", className: i, onExpandedChange: a }) => {
4844
+ ha.displayName = "RadioGroup";
4845
+ var ga = { button: "_button_11i5l_1" }, _a = ({ text: e, maxLength: t, expandLabel: n = "Show more", collapseLabel: r = "Hide", className: i, onExpandedChange: a }) => {
4664
4846
  let [o, s] = c(!1);
4665
4847
  return e.length > t ? /* @__PURE__ */ d(G, {
4666
4848
  className: i,
@@ -4669,7 +4851,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4669
4851
  o ? e : E(e, t),
4670
4852
  " ",
4671
4853
  /* @__PURE__ */ u(z, {
4672
- className: f("typography-link", ea.button),
4854
+ className: f("typography-link", ga.button),
4673
4855
  onClick: () => {
4674
4856
  let e = !o;
4675
4857
  s(e), a?.(e);
@@ -4682,7 +4864,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4682
4864
  variant: "body1",
4683
4865
  children: e
4684
4866
  });
4685
- }, na = (e) => {
4867
+ }, va = (e) => {
4686
4868
  let { clientWidth: t, scrollWidth: n } = e;
4687
4869
  if (n <= t) return null;
4688
4870
  let r = t / n * t;
@@ -4691,7 +4873,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4691
4873
  maxThumbOffsetX: t - r,
4692
4874
  maxScrollOffsetX: n - t
4693
4875
  };
4694
- }, ra = (e) => {
4876
+ }, ya = (e) => {
4695
4877
  let { clientHeight: t, scrollHeight: n } = e;
4696
4878
  if (n <= t) return null;
4697
4879
  let r = t / n * t;
@@ -4700,16 +4882,16 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4700
4882
  maxThumbOffsetY: t - r,
4701
4883
  maxScrollOffsetY: n - t
4702
4884
  };
4703
- }, ia = ({ viewportRef: e, contentRef: t, verticalThumbRef: n, horizontalThumbRef: a }) => {
4885
+ }, ba = ({ viewportRef: e, contentRef: t, verticalThumbRef: n, horizontalThumbRef: a }) => {
4704
4886
  let o = r(() => {
4705
4887
  let t = e.current;
4706
4888
  if (!t) return;
4707
- let r = ra(t);
4889
+ let r = ya(t);
4708
4890
  if (r && n.current) {
4709
4891
  let { thumbHeight: e, maxThumbOffsetY: i, maxScrollOffsetY: a } = r, o = t.scrollTop / a * i;
4710
4892
  n.current.style.display = "", n.current.style.height = `${e}px`, n.current.style.transform = `translateY(${o}px)`;
4711
4893
  } else n.current && (n.current.style.display = "none");
4712
- let i = na(t);
4894
+ let i = va(t);
4713
4895
  if (i && a.current) {
4714
4896
  let { thumbWidth: e, maxThumbOffsetX: n, maxScrollOffsetX: r } = i, o = t.scrollLeft / r * n;
4715
4897
  a.current.style.display = "", a.current.style.width = `${e}px`, a.current.style.transform = `translateX(${o}px)`;
@@ -4731,7 +4913,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4731
4913
  e,
4732
4914
  t
4733
4915
  ]);
4734
- }, aa = ({ viewportRef: e }) => {
4916
+ }, xa = ({ viewportRef: e }) => {
4735
4917
  let t = s(null), n = s(null);
4736
4918
  return {
4737
4919
  handleVerticalMouseDown: (n) => {
@@ -4743,7 +4925,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4743
4925
  startScrollTop: r.scrollTop
4744
4926
  };
4745
4927
  let i = (e) => {
4746
- let n = t.current, i = ra(r);
4928
+ let n = t.current, i = ya(r);
4747
4929
  if (!n || !i) return;
4748
4930
  let { maxThumbOffsetY: a, maxScrollOffsetY: o } = i, s = e.clientY - n.startY, c = o / a, l = n.startScrollTop + s * c;
4749
4931
  r.scrollTop = Math.max(0, Math.min(l, o));
@@ -4761,7 +4943,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4761
4943
  startScrollLeft: r.scrollLeft
4762
4944
  };
4763
4945
  let i = (e) => {
4764
- let t = n.current, i = na(r);
4946
+ let t = n.current, i = va(r);
4765
4947
  if (!t || !i) return;
4766
4948
  let { maxThumbOffsetX: a, maxScrollOffsetX: o } = i, s = e.clientX - t.startX, c = o / a, l = t.startScrollLeft + s * c;
4767
4949
  r.scrollLeft = Math.max(0, Math.min(l, o));
@@ -4771,7 +4953,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4771
4953
  document.addEventListener("mousemove", i), document.addEventListener("mouseup", a);
4772
4954
  }
4773
4955
  };
4774
- }, oa = (e, t) => {
4956
+ }, Sa = (e, t) => {
4775
4957
  let [n, r] = c(e);
4776
4958
  return i(() => {
4777
4959
  let n = setTimeout(() => {
@@ -4787,15 +4969,15 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4787
4969
  scrollThumb: "_scrollThumb_1ohk9_88",
4788
4970
  verticalThumb: "_verticalThumb_1ohk9_98",
4789
4971
  horizontalThumb: "_horizontalThumb_1ohk9_103"
4790
- }, sa = ({ orientation: e = "both", children: t }) => {
4972
+ }, Ca = ({ orientation: e = "both", children: t }) => {
4791
4973
  let n = s(null), r = s(null), i = s(null), a = s(null);
4792
- ia({
4974
+ ba({
4793
4975
  viewportRef: n,
4794
4976
  contentRef: r,
4795
4977
  verticalThumbRef: i,
4796
4978
  horizontalThumbRef: a
4797
4979
  });
4798
- let { handleVerticalMouseDown: o, handleHorizontalMouseDown: c } = aa({ viewportRef: n });
4980
+ let { handleVerticalMouseDown: o, handleHorizontalMouseDown: c } = xa({ viewportRef: n });
4799
4981
  return /* @__PURE__ */ d("div", {
4800
4982
  className: Z.scrollContainer,
4801
4983
  children: [
@@ -4825,7 +5007,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4825
5007
  })
4826
5008
  ]
4827
5009
  });
4828
- }, ca = (e) => /* @__PURE__ */ u(Ri, {
5010
+ }, wa = (e) => /* @__PURE__ */ u(ea, {
4829
5011
  ...e,
4830
5012
  startAdornment: /* @__PURE__ */ u(Zt, {
4831
5013
  autoSize: !1,
@@ -4852,7 +5034,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4852
5034
  separator: "_separator_1fix4_205",
4853
5035
  item: "_item_1fix4_118",
4854
5036
  noResults: "_noResults_1fix4_232"
4855
- }, la = (e, t) => {
5037
+ }, Ta = (e, t) => {
4856
5038
  if (!t.trim()) return e;
4857
5039
  let n = t.toLowerCase().trim();
4858
5040
  return e.flatMap((e) => {
@@ -4866,20 +5048,20 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4866
5048
  }
4867
5049
  return String(e.label).toLowerCase().includes(n) ? [e] : [];
4868
5050
  });
4869
- }, ua = t(({ className: e, contentClassName: t, contentProps: n, defaultValue: r, debounceDelay: l = 500, groupLabelClassName: p, iconProps: m, itemClassName: h, label: g, labelProps: v, onSearchChange: y, onValueChange: b, options: x, placeholder: S = "Select-box", portalProps: C, searchPlaceholder: w = "Search...", separatorClassName: T, triggerIcon: ee, triggerProps: E, valueProps: te, value: ne, viewportProps: re, ...D }, O) => {
4870
- let ie = a(), [k, j] = c(r), [M, ae] = c(""), N = oa(M, l), P = ne ?? k, F = A(x).find((e) => e.value === P), I = o(() => la(x, N), [x, N]), oe = E?.id ?? `searchable-select-${ie}`, se = s(y);
5051
+ }, Ea = t(({ className: e, contentClassName: t, contentProps: n, defaultValue: r, debounceDelay: l = 500, groupLabelClassName: p, iconProps: m, itemClassName: h, label: g, labelProps: v, onSearchChange: y, onValueChange: b, options: x, placeholder: S = "Select-box", portalProps: C, searchPlaceholder: w = "Search...", separatorClassName: T, triggerIcon: ee, triggerProps: E, valueProps: D, value: te, viewportProps: ne, ...O }, k) => {
5052
+ let re = a(), [A, M] = c(r), [N, ie] = c(""), P = Sa(N, l), F = te ?? A, I = j(x).find((e) => e.value === F), L = o(() => Ta(x, P), [x, P]), ae = E?.id ?? `searchable-select-${re}`, oe = s(y);
4871
5053
  i(() => {
4872
- se.current = y;
5054
+ oe.current = y;
4873
5055
  }, [y]), i(() => {
4874
- se.current?.(N);
4875
- }, [N]);
4876
- let L = (e) => {
4877
- j(e), b?.(e);
5056
+ oe.current?.(P);
5057
+ }, [P]);
5058
+ let se = (e) => {
5059
+ M(e), b?.(e);
4878
5060
  }, ce = (e) => {
4879
- e || ae(""), D.onOpenChange?.(e);
5061
+ e || ie(""), O.onOpenChange?.(e);
4880
5062
  }, le = (e) => {
4881
5063
  e.key.length === 1 && !e.ctrlKey && !e.altKey && !e.metaKey && e.stopPropagation();
4882
- }, { className: ue, ...de } = E ?? {}, { className: fe, ...pe } = v ?? {}, { children: me, className: he, ...ge } = m ?? {}, { className: _e, position: ve = "popper", sideOffset: ye = -1, ...be } = n ?? {}, { className: xe, ...Se } = re ?? {}, Ce = (e) => {
5064
+ }, { className: ue, ...de } = E ?? {}, { className: fe, ...pe } = v ?? {}, { children: me, className: he, ...ge } = m ?? {}, { className: _e, position: ve = "popper", sideOffset: ye = -1, ...be } = n ?? {}, { className: xe, ...Se } = ne ?? {}, Ce = (e) => {
4883
5065
  let { className: t, ...n } = e.itemProps ?? {};
4884
5066
  return /* @__PURE__ */ d(_.Item, {
4885
5067
  value: e.value,
@@ -4906,34 +5088,34 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4906
5088
  }, e.value);
4907
5089
  };
4908
5090
  return /* @__PURE__ */ d(_.Root, {
4909
- ...D,
5091
+ ...O,
4910
5092
  defaultValue: r,
4911
- value: ne,
4912
- onValueChange: L,
5093
+ value: te,
5094
+ onValueChange: se,
4913
5095
  onOpenChange: ce,
4914
5096
  children: [
4915
5097
  g && /* @__PURE__ */ u("label", {
4916
- htmlFor: oe,
5098
+ htmlFor: ae,
4917
5099
  className: f(Q.label, "typography-body1", fe),
4918
5100
  ...pe,
4919
5101
  children: g
4920
5102
  }),
4921
5103
  /* @__PURE__ */ d(_.Trigger, {
4922
- ref: O,
4923
- id: oe,
5104
+ ref: k,
5105
+ id: ae,
4924
5106
  className: f(Q.trigger, "typography-subtitle1", g && Q.hasLabel, e, ue),
4925
5107
  ...de,
4926
5108
  children: [/* @__PURE__ */ u("span", {
4927
5109
  className: Q.textBlock,
4928
5110
  children: /* @__PURE__ */ d("span", {
4929
5111
  className: Q.valueRow,
4930
- children: [F?.icon && /* @__PURE__ */ u("span", {
5112
+ children: [I?.icon && /* @__PURE__ */ u("span", {
4931
5113
  className: Q.startIcon,
4932
5114
  "aria-hidden": !0,
4933
- children: F.icon
5115
+ children: I.icon
4934
5116
  }), /* @__PURE__ */ u(_.Value, {
4935
5117
  placeholder: S,
4936
- ...te
5118
+ ...D
4937
5119
  })]
4938
5120
  })
4939
5121
  }), /* @__PURE__ */ u(_.Icon, {
@@ -4952,19 +5134,19 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4952
5134
  ...be,
4953
5135
  children: [/* @__PURE__ */ u("div", {
4954
5136
  className: Q.searchField,
4955
- children: /* @__PURE__ */ u(Ri, {
5137
+ children: /* @__PURE__ */ u(ea, {
4956
5138
  type: "text",
4957
- value: M,
5139
+ value: N,
4958
5140
  placeholder: w,
4959
5141
  className: Q.searchInput,
4960
5142
  containerClassName: Q.searchInputContainer,
4961
- onChange: (e) => ae(e.target.value),
5143
+ onChange: (e) => ie(e.target.value),
4962
5144
  onKeyDown: le
4963
5145
  })
4964
5146
  }), /* @__PURE__ */ d(_.Viewport, {
4965
5147
  className: f(Q.viewport, xe),
4966
5148
  ...Se,
4967
- children: [I.map((e, t) => {
5149
+ children: [L.map((e, t) => {
4968
5150
  if (e.type === "separator") {
4969
5151
  let { className: n, ...r } = e.separatorProps ?? {};
4970
5152
  return /* @__PURE__ */ u(_.Separator, {
@@ -4984,7 +5166,7 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4984
5166
  }, `group-${t}`);
4985
5167
  }
4986
5168
  return Ce(e);
4987
- }), I.length === 0 && /* @__PURE__ */ u("div", {
5169
+ }), L.length === 0 && /* @__PURE__ */ u("div", {
4988
5170
  className: Q.noResults,
4989
5171
  children: "No results found"
4990
5172
  })]
@@ -4994,23 +5176,23 @@ var ea = { button: "_button_11i5l_1" }, ta = ({ text: e, maxLength: t, expandLab
4994
5176
  ]
4995
5177
  });
4996
5178
  });
4997
- ua.displayName = "SearchableSelect";
4998
- var da = {
5179
+ Ea.displayName = "SearchableSelect";
5180
+ var Da = {
4999
5181
  navBar: "_navBar_watj5_55",
5000
5182
  logOutBtn: "_logOutBtn_watj5_89",
5001
5183
  navItem: "_navItem_watj5_89",
5002
5184
  activeItem: "_activeItem_watj5_118",
5003
5185
  disabled: "_disabled_watj5_131",
5004
5186
  line: "_line_watj5_137"
5005
- }, fa = ({ items: e, userId: t, activeId: n, onValueChange: r, onLogout: i, logOutIcon: a, linkTag: o = "a" }) => /* @__PURE__ */ d("nav", {
5006
- className: da.navBar,
5187
+ }, Oa = ({ items: e, userId: t, activeId: n, onValueChange: r, onLogout: i, logOutIcon: a, linkTag: o = "a" }) => /* @__PURE__ */ d("nav", {
5188
+ className: Da.navBar,
5007
5189
  children: [
5008
5190
  /* @__PURE__ */ u("ul", { children: e.map((e) => {
5009
- let i = n === e.id, a = !!e.disabled, { handleClick: s, resolvedHref: c } = Hi(typeof e.href == "function" ? t ? e.href(t) : void 0 : e.href, () => r?.(e.id));
5191
+ let i = n === e.id, a = !!e.disabled, { handleClick: s, resolvedHref: c } = ia(typeof e.href == "function" ? t ? e.href(t) : void 0 : e.href, () => r?.(e.id));
5010
5192
  return /* @__PURE__ */ u("li", { children: /* @__PURE__ */ d(z, {
5011
5193
  as: o,
5012
5194
  href: a ? void 0 : c,
5013
- className: f(da.navItem, i && da.activeItem, a && da.disabled),
5195
+ className: f(Da.navItem, i && Da.activeItem, a && Da.disabled),
5014
5196
  onClick: (e) => {
5015
5197
  if (a) {
5016
5198
  e.preventDefault();
@@ -5018,7 +5200,7 @@ var da = {
5018
5200
  }
5019
5201
  s(e);
5020
5202
  },
5021
- tabIndex: a ? re.DISABLED : re.ENABLED,
5203
+ tabIndex: a ? ne.DISABLED : ne.ENABLED,
5022
5204
  "aria-disabled": a,
5023
5205
  children: [i && e.activeIcon ? e.activeIcon : e.icon, /* @__PURE__ */ u(G, {
5024
5206
  variant: "body2",
@@ -5028,104 +5210,104 @@ var da = {
5028
5210
  }) }),
5029
5211
  /* @__PURE__ */ d(z, {
5030
5212
  type: "button",
5031
- className: da.logOutBtn,
5213
+ className: Da.logOutBtn,
5032
5214
  onClick: i,
5033
5215
  children: [a, /* @__PURE__ */ u(G, {
5034
5216
  variant: "body2",
5035
5217
  children: "Log Out"
5036
5218
  })]
5037
5219
  }),
5038
- /* @__PURE__ */ u("div", { className: da.line })
5220
+ /* @__PURE__ */ u("div", { className: Da.line })
5039
5221
  ]
5040
- }), pa = {
5222
+ }), ka = {
5041
5223
  root: "_root_1p3v5_55",
5042
5224
  track: "_track_1p3v5_73",
5043
5225
  range: "_range_1p3v5_81",
5044
5226
  thumb: "_thumb_1p3v5_88"
5045
- }, ma = t(({ className: e, ...t }, n) => /* @__PURE__ */ d(x.Root, {
5227
+ }, Aa = t(({ className: e, ...t }, n) => /* @__PURE__ */ d(x.Root, {
5046
5228
  ref: n,
5047
- className: f(pa.root, e),
5229
+ className: f(ka.root, e),
5048
5230
  ...t,
5049
5231
  children: [/* @__PURE__ */ u(x.Track, {
5050
- className: pa.track,
5051
- children: /* @__PURE__ */ u(x.Range, { className: pa.range })
5052
- }), /* @__PURE__ */ u(x.Thumb, { className: pa.thumb })]
5232
+ className: ka.track,
5233
+ children: /* @__PURE__ */ u(x.Range, { className: ka.range })
5234
+ }), /* @__PURE__ */ u(x.Thumb, { className: ka.thumb })]
5053
5235
  }));
5054
- ma.displayName = "Slider";
5055
- var ha = {
5236
+ Aa.displayName = "Slider";
5237
+ var ja = {
5056
5238
  table: "_table_3bxp1_1",
5057
5239
  head: "_head_3bxp1_6",
5058
5240
  row: "_row_3bxp1_10",
5059
5241
  headerCell: "_headerCell_3bxp1_17",
5060
5242
  cell: "_cell_3bxp1_18"
5061
- }, ga = t(({ className: e, ...t }, n) => /* @__PURE__ */ u("table", {
5243
+ }, Ma = t(({ className: e, ...t }, n) => /* @__PURE__ */ u("table", {
5062
5244
  ref: n,
5063
- className: f(ha.table, e),
5245
+ className: f(ja.table, e),
5064
5246
  ...t
5065
5247
  }));
5066
- ga.displayName = "Table";
5067
- var _a = t(({ className: e, ...t }, n) => /* @__PURE__ */ u("thead", {
5248
+ Ma.displayName = "Table";
5249
+ var Na = t(({ className: e, ...t }, n) => /* @__PURE__ */ u("thead", {
5068
5250
  ref: n,
5069
- className: f(ha.head, e),
5251
+ className: f(ja.head, e),
5070
5252
  ...t
5071
5253
  }));
5072
- _a.displayName = "TableHead";
5073
- var va = t(({ className: e, ...t }, n) => /* @__PURE__ */ u("tbody", {
5254
+ Na.displayName = "TableHead";
5255
+ var Pa = t(({ className: e, ...t }, n) => /* @__PURE__ */ u("tbody", {
5074
5256
  ref: n,
5075
- className: f(ha.body, e),
5257
+ className: f(ja.body, e),
5076
5258
  ...t
5077
5259
  }));
5078
- va.displayName = "TableBody";
5079
- var ya = t(({ className: e, ...t }, n) => /* @__PURE__ */ u("tr", {
5260
+ Pa.displayName = "TableBody";
5261
+ var Fa = t(({ className: e, ...t }, n) => /* @__PURE__ */ u("tr", {
5080
5262
  ref: n,
5081
- className: f(ha.row, e),
5263
+ className: f(ja.row, e),
5082
5264
  ...t
5083
5265
  }));
5084
- ya.displayName = "TableRow";
5085
- var ba = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ u("th", {
5266
+ Fa.displayName = "TableRow";
5267
+ var Ia = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ u("th", {
5086
5268
  ref: r,
5087
- className: f(ha.headerCell, e),
5269
+ className: f(ja.headerCell, e),
5088
5270
  ...n,
5089
5271
  children: /* @__PURE__ */ u(G, {
5090
5272
  variant: "body3",
5091
5273
  children: t
5092
5274
  })
5093
5275
  }));
5094
- ba.displayName = "TableHeaderCell";
5095
- var xa = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ u("td", {
5276
+ Ia.displayName = "TableHeaderCell";
5277
+ var La = t(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ u("td", {
5096
5278
  ref: r,
5097
- className: f(ha.cell, e),
5279
+ className: f(ja.cell, e),
5098
5280
  ...n,
5099
5281
  children: /* @__PURE__ */ u(G, {
5100
5282
  variant: "body1",
5101
5283
  children: t
5102
5284
  })
5103
5285
  }));
5104
- xa.displayName = "TableCell";
5105
- var Sa = {
5286
+ La.displayName = "TableCell";
5287
+ var Ra = {
5106
5288
  list: "_list_ns6i2_55",
5107
5289
  trigger: "_trigger_ns6i2_63",
5108
5290
  labelText: "_labelText_ns6i2_88",
5109
5291
  withIcon: "_withIcon_ns6i2_142",
5110
5292
  icon: "_icon_ns6i2_147"
5111
- }, Ca = t(({ tabs: e, defaultValue: t, onValueChange: n, className: r, ...i }, a) => /* @__PURE__ */ d(S.Root, {
5293
+ }, za = t(({ tabs: e, defaultValue: t, onValueChange: n, className: r, ...i }, a) => /* @__PURE__ */ d(S.Root, {
5112
5294
  ref: a,
5113
5295
  defaultValue: t ?? e[0]?.value,
5114
5296
  onValueChange: n,
5115
5297
  className: f(r),
5116
5298
  ...i,
5117
5299
  children: [/* @__PURE__ */ u(S.List, {
5118
- className: Sa.list,
5300
+ className: Ra.list,
5119
5301
  loop: !0,
5120
5302
  children: e.map((e) => /* @__PURE__ */ d(S.Trigger, {
5121
5303
  value: e.value,
5122
5304
  disabled: e.disabled,
5123
- className: f(Sa.trigger, "typography-h3"),
5305
+ className: f(Ra.trigger, "typography-h3"),
5124
5306
  children: [e.icon && /* @__PURE__ */ u("span", {
5125
- className: Sa.icon,
5307
+ className: Ra.icon,
5126
5308
  children: e.icon
5127
5309
  }), /* @__PURE__ */ u("span", {
5128
- className: f(Sa.labelText, e.icon && Sa.withIcon),
5310
+ className: f(Ra.labelText, e.icon && Ra.withIcon),
5129
5311
  children: e.label
5130
5312
  })]
5131
5313
  }, e.value))
@@ -5134,22 +5316,22 @@ var Sa = {
5134
5316
  children: e.content
5135
5317
  }, e.value))]
5136
5318
  }));
5137
- Ca.displayName = "Tabs";
5138
- var wa = {
5319
+ za.displayName = "Tabs";
5320
+ var Ba = {
5139
5321
  container: "_container_yy9sk_23",
5140
5322
  label: "_label_yy9sk_62",
5141
5323
  textarea: "_textarea_yy9sk_66",
5142
5324
  activeState: "_activeState_yy9sk_128",
5143
5325
  errorState: "_errorState_yy9sk_132",
5144
5326
  errorMessage: "_errorMessage_yy9sk_139"
5145
- }, Ta = t(({ label: e, error: t, className: n, disabled: r, id: i, ...o }, s) => {
5327
+ }, Va = t(({ label: e, error: t, className: n, disabled: r, id: i, ...o }, s) => {
5146
5328
  let c = a(), l = i ?? c, f = `${l}-error`;
5147
5329
  return /* @__PURE__ */ d("div", {
5148
- className: m(wa.container, { [wa.errorState]: !!t }),
5330
+ className: m(Ba.container, { [Ba.errorState]: !!t }),
5149
5331
  children: [
5150
5332
  e && /* @__PURE__ */ u("label", {
5151
5333
  htmlFor: l,
5152
- className: m("typography-body1", wa.label),
5334
+ className: m("typography-body1", Ba.label),
5153
5335
  children: e
5154
5336
  }),
5155
5337
  /* @__PURE__ */ u("textarea", {
@@ -5158,21 +5340,21 @@ var wa = {
5158
5340
  disabled: r,
5159
5341
  "aria-invalid": !!t,
5160
5342
  "aria-describedby": t ? f : void 0,
5161
- className: m(wa.textarea, "typography-subtitle1", n),
5343
+ className: m(Ba.textarea, "typography-subtitle1", n),
5162
5344
  ...o
5163
5345
  }),
5164
5346
  t && /* @__PURE__ */ u(G, {
5165
5347
  variant: "body1",
5166
5348
  color: "var(--color-danger-500)",
5167
5349
  id: f,
5168
- className: wa.errorMessage,
5350
+ className: Ba.errorMessage,
5169
5351
  children: t
5170
5352
  })
5171
5353
  ]
5172
5354
  });
5173
5355
  });
5174
- Ta.displayName = "TextArea";
5175
- var Ea = { content: "_content_17aqj_1" }, Da = t(({ children: e, content: t, delayDuration: n = 200, className: r, sideOffset: i = 8, ...a }, o) => t ? /* @__PURE__ */ u(C.Provider, {
5356
+ Va.displayName = "TextArea";
5357
+ var Ha = { content: "_content_17aqj_1" }, Ua = t(({ children: e, content: t, delayDuration: n = 200, className: r, sideOffset: i = 8, ...a }, o) => t ? /* @__PURE__ */ u(C.Provider, {
5176
5358
  delayDuration: n,
5177
5359
  children: /* @__PURE__ */ d(C.Root, { children: [/* @__PURE__ */ u(C.Trigger, {
5178
5360
  asChild: !0,
@@ -5180,12 +5362,12 @@ var Ea = { content: "_content_17aqj_1" }, Da = t(({ children: e, content: t, del
5180
5362
  }), /* @__PURE__ */ u(C.Portal, { children: /* @__PURE__ */ u(C.Content, {
5181
5363
  ref: o,
5182
5364
  sideOffset: i,
5183
- className: f(Ea.content, r),
5365
+ className: f(Ha.content, r),
5184
5366
  ...a,
5185
5367
  children: t
5186
5368
  }) })] })
5187
5369
  }) : /* @__PURE__ */ u(l, { children: e }));
5188
- Da.displayName = "Tooltip";
5370
+ Ua.displayName = "Tooltip";
5189
5371
  var $ = {
5190
5372
  "typography-large": "_typography-large_1qgg8_82",
5191
5373
  "typography-h1": "_typography-h1_1qgg8_90",
@@ -5237,7 +5419,7 @@ var $ = {
5237
5419
  typographyExample: "_typographyExample_1qgg8_606",
5238
5420
  transitionBox: "_transitionBox_1qgg8_614",
5239
5421
  prefixBox: "_prefixBox_1qgg8_624"
5240
- }, Oa = () => {
5422
+ }, Wa = () => {
5241
5423
  let [e, t] = c(!1);
5242
5424
  return /* @__PURE__ */ d("div", {
5243
5425
  className: $.testContainer,
@@ -5403,6 +5585,6 @@ var $ = {
5403
5585
  });
5404
5586
  };
5405
5587
  //#endregion
5406
- export { hi as ActionMenu, di as Alert, Ze as ArrowBackOutline, Ye as ArrowForwardOutline, Dt as ArrowIosBack, kt as ArrowIosBackOutline, dt as ArrowIosDownOutline, jt as ArrowIosForward, Nt as ArrowIosForwardOutline, lt as ArrowIosUp, gi as AudioPlayer, _i as Avatar, yi as AvatarBlock, $t as Block, tn as BlockOutline, Ge as Bookmark, qe as BookmarkOutline, Ir as Brave, z as Button, pi as ButtonLegacy, at as Calendar, st as CalendarOutline, xi as Cards, Ci as Carousel, Ti as Checkbox, ge as CheckmarkOutline, Di as CircularProgress, ci as Clock, be as Close, Se as CloseOutline, Tt as ColorPaletteOutline, Kn as Copy, Jn as CopyOutline, Xn as CreditCard, Qn as CreditCardOutline, Pi as DatePicker, $e as DoneAllOutline, er as Edit, nr as EditOutline, ir as Email, or as EmailOutline, ei as ErrorIcon, Ft as Expand, Lt as ExpandOutline, Rr as Explorer, vn as Eye, mn as EyeOff, gn as EyeOffOutline, bn as EyeOutline, Pr as Facebook, ni as FileIcon, ve as FillBell, Br as Firefox, ke as FlagEng, je as FlagRus, fn as GithubRepo, Mr as Google, Li as Header, cr as Heart, ur as HeartOutline, we as Home, Ee as HomeOutline, Gt as ImageIcon, qt as ImageOutline, Ri as Input, cn as Layers, un as LayersOutline, Bi as LinearProgress, ii as List, tt as LogOut, rt as LogOutOutline, ui as Logo, vi as MainAvatar, fr as Maximize, mr as MaximizeOutline, Wi as Menu, zt as MenuOutline, Yi as Message, An as MessageCircle, Mn as MessageCircleOutline, Hn as Mic, Wn as MicOutline, Hr as MicrosoftEdge, Xi as Modal, En as MoreHorizontal, On as MoreHorizontalOutline, Wr as Opera, De as OutlineBell, Ar as Paid, Sn as PaperPlane, wn as PaperPlaneOutline, Qi as PasswordInput, _t as PauseCircle, yt as PauseCircleOutline, Or as Paypal, Le as Person, Rn as PersonAdd, Bn as PersonAddOutline, ze as PersonOutline, Pn as PersonRemove, In as PersonRemoveOutline, gr as Pin, vr as PinOutline, xt as PlayCircle, Ct as PlayCircleOutline, Vt as PlusCircle, Ut as PlusCircleOutline, Fe as PlusSquare, Ne as PlusSquareOutline, pt as RadioButtonChecked, ht as RadioButtonUnchecked, $i as RadioGroup, ta as ReadMore, Er as RecaptchaLogo, oi as RecycleBin, Kr as Safari, sa as Scroll, Yt as Search, ca as SearchInput, Zt as SearchOutline, ua as SearchableSelect, Oi as Select, Qr as Sending, rn as Settings, on as SettingsOutline, fa as Sidebar, ma as Slider, wr as Stripe, ga as Table, va as TableBody, xa as TableCell, _a as TableHead, ba as TableHeaderCell, ya as TableRow, Ca as Tabs, Oa as TestMixins, Ta as TextArea, Da as Tooltip, br as Trash, Sr as TrashOutline, Ve as TrendingUp, Ue as TrendingUpOutline, G as Typography, Jr as UcBrowser, Xr as Yandex, p as clsx };
5588
+ export { ji as ActionMenu, Di as Alert, Ze as ArrowBackOutline, Ye as ArrowForwardOutline, Dt as ArrowIosBack, kt as ArrowIosBackOutline, dt as ArrowIosDownOutline, jt as ArrowIosForward, Nt as ArrowIosForwardOutline, lt as ArrowIosUp, ui as AssignUser, Mi as AudioPlayer, Ni as Avatar, Fi as AvatarBlock, fi as BillPay, $t as Block, tn as BlockOutline, Ge as Bookmark, qe as BookmarkOutline, Ir as Brave, z as Button, ki as ButtonLegacy, at as Calendar, st as CalendarOutline, Li as Cards, zi as Carousel, Vi as Checkbox, ge as CheckmarkOutline, Ui as CircularProgress, ci as Clock, be as Close, Se as CloseOutline, Tt as ColorPaletteOutline, Kn as Copy, Jn as CopyOutline, Xn as CreditCard, Qn as CreditCardOutline, Xi as DatePicker, mi as Devices, $e as DoneAllOutline, er as Edit, nr as EditOutline, ir as Email, or as EmailOutline, ei as ErrorIcon, Ft as Expand, Lt as ExpandOutline, Rr as Explorer, vn as Eye, mn as EyeOff, gn as EyeOffOutline, bn as EyeOutline, Pr as Facebook, ni as FileIcon, ve as FillBell, Br as Firefox, ke as FlagEng, je as FlagRus, fn as GithubRepo, Mr as Google, $i as Header, cr as Heart, ur as HeartOutline, we as Home, Ee as HomeOutline, Gt as ImageIcon, qt as ImageOutline, ea as Input, cn as Layers, un as LayersOutline, na as LinearProgress, ii as List, tt as LogOut, rt as LogOutOutline, Ei as Logo, Pi as MainAvatar, fr as Maximize, mr as MaximizeOutline, oa as Menu, zt as MenuOutline, da as Message, An as MessageCircle, Mn as MessageCircleOutline, Hn as Mic, Wn as MicOutline, Hr as MicrosoftEdge, fa as Modal, vi as MoneyCheck, En as MoreHorizontal, On as MoreHorizontalOutline, Wr as Opera, De as OutlineBell, Ar as Paid, Sn as PaperPlane, wn as PaperPlaneOutline, ma as PasswordInput, _t as PauseCircle, yt as PauseCircleOutline, bi as Payment, Si as PaymentSettings, Or as Paypal, Le as Person, Rn as PersonAdd, Bn as PersonAddOutline, ze as PersonOutline, Pn as PersonRemove, In as PersonRemoveOutline, gr as Pin, vr as PinOutline, xt as PlayCircle, Ct as PlayCircleOutline, Vt as PlusCircle, Ut as PlusCircleOutline, Fe as PlusSquare, Ne as PlusSquareOutline, pt as RadioButtonChecked, ht as RadioButtonUnchecked, ha as RadioGroup, _a as ReadMore, Er as RecaptchaLogo, oi as RecycleBin, Kr as Safari, Ca as Scroll, Yt as Search, wa as SearchInput, Zt as SearchOutline, Ea as SearchableSelect, Wi as Select, Qr as Sending, rn as Settings, on as SettingsOutline, Oa as Sidebar, Aa as Slider, wr as Stripe, Ma as Table, Pa as TableBody, La as TableCell, Na as TableHead, Ia as TableHeaderCell, Fa as TableRow, gi as Tablet, za as Tabs, Wa as TestMixins, Va as TextArea, Ua as Tooltip, br as Trash, Sr as TrashOutline, Ve as TrendingUp, Ue as TrendingUpOutline, G as Typography, Jr as UcBrowser, Xr as Yandex, wi as YooKassa, p as clsx };
5407
5589
 
5408
5590
  //# sourceMappingURL=index.js.map