@yusr_systems/ui 6.0.5 → 6.0.7

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/yusr-ui.js CHANGED
@@ -1,34 +1,34 @@
1
1
  import { Link as e, Navigate as t, Outlet as n, useLocation as r } from "react-router-dom";
2
2
  import { Fragment as i, jsx as a, jsxs as o } from "react/jsx-runtime";
3
- import { Check as s, CheckIcon as c, ChevronDownIcon as l, ChevronLeftIcon as u, ChevronRight as d, ChevronRightIcon as f, ChevronUpIcon as p, ChevronsUpDown as m, CircleCheckIcon as h, Download as g, Eye as _, EyeOff as v, FileText as ee, InfoIcon as te, Loader2 as ne, Loader2Icon as re, LoaderPinwheelIcon as ie, LogOutIcon as ae, Maximize2 as oe, Moon as se, MoreHorizontal as ce, MoreHorizontalIcon as le, OctagonAlert as ue, OctagonXIcon as de, PanelLeftIcon as fe, Plus as pe, PlusIcon as me, RefreshCwOff as he, Search as ge, SearchIcon as _e, Sun as ve, Table as ye, TriangleAlertIcon as be, UploadCloud as xe, X as Se, XIcon as Ce, ZoomIn as we } from "lucide-react";
3
+ import { Check as s, CheckIcon as c, ChevronDownIcon as l, ChevronLeft as u, ChevronLeftIcon as d, ChevronRight as f, ChevronRightIcon as p, ChevronUpIcon as m, ChevronsUpDown as h, CircleCheckIcon as g, Download as _, Eye as v, EyeOff as ee, FileText as te, InfoIcon as ne, Loader2 as re, Loader2Icon as ie, LoaderPinwheelIcon as ae, LogOutIcon as oe, Maximize2 as se, Moon as ce, MoreHorizontal as le, MoreHorizontalIcon as ue, OctagonAlert as de, OctagonXIcon as fe, PanelLeftIcon as pe, Plus as me, PlusIcon as he, RefreshCwOff as ge, Search as _e, SearchIcon as ve, Sun as ye, Table as be, TriangleAlertIcon as xe, UploadCloud as Se, X as Ce, XIcon as we, ZoomIn as Te } from "lucide-react";
4
4
  import * as y from "react";
5
- import Te, { createContext as Ee, useCallback as b, useContext as De, useEffect as Oe, useMemo as ke, useRef as Ae, useState as x } from "react";
5
+ import Ee, { createContext as De, useCallback as b, useContext as Oe, useEffect as ke, useMemo as Ae, useRef as je, useState as x } from "react";
6
6
  import { cva as S } from "class-variance-authority";
7
7
  import { Slot as C } from "@radix-ui/react-slot";
8
- import { clsx as je } from "clsx";
9
- import { twMerge as Me } from "tailwind-merge";
8
+ import { clsx as Me } from "clsx";
9
+ import { twMerge as Ne } from "tailwind-merge";
10
10
  import * as w from "@radix-ui/react-dialog";
11
- import * as Ne from "@radix-ui/react-separator";
12
- import { format as Pe } from "date-fns";
13
- import { DayPicker as Fe, getDefaultClassNames as Ie } from "react-day-picker";
14
- import * as Le from "@radix-ui/react-popover";
15
- import * as Re from "@radix-ui/react-label";
11
+ import * as Pe from "@radix-ui/react-separator";
12
+ import { format as Fe } from "date-fns";
13
+ import { DayPicker as Ie, getDefaultClassNames as Le } from "react-day-picker";
14
+ import * as Re from "@radix-ui/react-popover";
15
+ import * as ze from "@radix-ui/react-label";
16
16
  import * as T from "@radix-ui/react-select";
17
- import ze from "embla-carousel-react";
18
- import { useDebouncedCallback as Be } from "use-debounce";
19
- import { useDispatch as Ve } from "react-redux";
17
+ import Be from "embla-carousel-react";
18
+ import { useDebouncedCallback as Ve } from "use-debounce";
19
+ import { useDispatch as He } from "react-redux";
20
20
  import * as E from "@radix-ui/react-context-menu";
21
21
  import * as D from "@radix-ui/react-dropdown-menu";
22
22
  import * as O from "@radix-ui/react-tooltip";
23
23
  import { Command as k } from "cmdk";
24
- import * as He from "@radix-ui/react-avatar";
24
+ import * as Ue from "@radix-ui/react-avatar";
25
25
  import "@radix-ui/react-accessible-icon";
26
26
  import "@radix-ui/react-accordion";
27
27
  import * as A from "@radix-ui/react-alert-dialog";
28
28
  import "@radix-ui/react-aspect-ratio";
29
- import * as Ue from "@radix-ui/react-checkbox";
30
- import * as We from "@radix-ui/react-collapsible";
31
- import * as Ge from "@radix-ui/react-direction";
29
+ import * as We from "@radix-ui/react-checkbox";
30
+ import * as Ge from "@radix-ui/react-collapsible";
31
+ import * as Ke from "@radix-ui/react-direction";
32
32
  import "@radix-ui/react-form";
33
33
  import "@radix-ui/react-hover-card";
34
34
  import "@radix-ui/react-menubar";
@@ -38,24 +38,24 @@ import "@radix-ui/react-password-toggle-field";
38
38
  import "@radix-ui/react-portal";
39
39
  import "@radix-ui/react-progress";
40
40
  import "@radix-ui/react-radio-group";
41
- import * as Ke from "@radix-ui/react-scroll-area";
41
+ import * as qe from "@radix-ui/react-scroll-area";
42
42
  import "@radix-ui/react-slider";
43
- import * as qe from "@radix-ui/react-switch";
44
- import * as Je from "@radix-ui/react-tabs";
43
+ import * as Je from "@radix-ui/react-switch";
44
+ import * as Ye from "@radix-ui/react-tabs";
45
45
  import "@radix-ui/react-toast";
46
- import * as Ye from "@radix-ui/react-toggle";
47
- import * as Xe from "@radix-ui/react-toggle-group";
46
+ import * as Xe from "@radix-ui/react-toggle";
47
+ import * as Ze from "@radix-ui/react-toggle-group";
48
48
  import "@radix-ui/react-toolbar";
49
49
  import "@radix-ui/react-visually-hidden";
50
- import * as Ze from "recharts";
50
+ import * as Qe from "recharts";
51
51
  import { Combobox as j } from "@base-ui/react/combobox";
52
52
  import { Drawer as M } from "vaul";
53
- import { useTheme as Qe } from "next-themes";
54
- import { Toaster as $e } from "sonner";
55
- import { AuthConstants as et, StorageFile as tt, StorageFileStatus as N } from "@yusr_systems/core";
56
- import { createAsyncThunk as nt, createSlice as rt } from "@reduxjs/toolkit";
53
+ import { useTheme as $e } from "next-themes";
54
+ import { Toaster as et } from "sonner";
55
+ import { AuthConstants as tt, StorageFile as nt, StorageFileStatus as N } from "@yusr_systems/core";
56
+ import { createAsyncThunk as rt, createSlice as it } from "@reduxjs/toolkit";
57
57
  //#region src/components/custom/auth/protectedRoute.tsx
58
- function it({ isAuthenticated: e, loginPath: i = "/login" }) {
58
+ function at({ isAuthenticated: e, loginPath: i = "/login" }) {
59
59
  let o = r();
60
60
  return e ? /* @__PURE__ */ a(n, {}) : /* @__PURE__ */ a(t, {
61
61
  to: i,
@@ -65,7 +65,7 @@ function it({ isAuthenticated: e, loginPath: i = "/login" }) {
65
65
  }
66
66
  //#endregion
67
67
  //#region src/components/custom/background/yusrBackground.tsx
68
- function at() {
68
+ function ot() {
69
69
  return /* @__PURE__ */ o("div", {
70
70
  className: "pointer-events-none fixed inset-0 -z-10 overflow-hidden bg-slate-50 dark:bg-background transition-colors duration-500",
71
71
  children: [
@@ -148,11 +148,11 @@ function at() {
148
148
  //#endregion
149
149
  //#region src/utils/cn.ts
150
150
  function P(...e) {
151
- return Me(je(e));
151
+ return Ne(Me(e));
152
152
  }
153
153
  //#endregion
154
154
  //#region src/components/pure/button.tsx
155
- var ot = S("focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 rounded-lg border border-transparent bg-clip-padding text-sm font-medium focus-visible:ring-3 aria-invalid:ring-3 [&_svg:not([class*='size-'])]:size-4 inline-flex items-center justify-center whitespace-nowrap transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none shrink-0 [&_svg]:shrink-0 outline-none group/button select-none", {
155
+ var st = S("focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 rounded-lg border border-transparent bg-clip-padding text-sm font-medium focus-visible:ring-3 aria-invalid:ring-3 [&_svg:not([class*='size-'])]:size-4 inline-flex items-center justify-center whitespace-nowrap transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none shrink-0 [&_svg]:shrink-0 outline-none group/button select-none", {
156
156
  variants: {
157
157
  variant: {
158
158
  default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80 hover:bg-primary/90 cursor-pointer",
@@ -183,7 +183,7 @@ function F({ className: e, variant: t = "default", size: n = "default", asChild:
183
183
  "data-slot": "button",
184
184
  "data-variant": t,
185
185
  "data-size": n,
186
- className: P(ot({
186
+ className: P(st({
187
187
  variant: t,
188
188
  size: n,
189
189
  className: e
@@ -193,7 +193,7 @@ function F({ className: e, variant: t = "default", size: n = "default", asChild:
193
193
  }
194
194
  //#endregion
195
195
  //#region src/components/custom/buttons/saveButton.tsx
196
- function st({ formData: e, dialogMode: t, service: n, disable: r, onSuccess: i, validate: s = () => !0 }) {
196
+ function ct({ formData: e, dialogMode: t, service: n, disable: r, onSuccess: i, validate: s = () => !0 }) {
197
197
  let [c, l] = x(!1);
198
198
  async function u() {
199
199
  if (!s()) return;
@@ -209,7 +209,7 @@ function st({ formData: e, dialogMode: t, service: n, disable: r, onSuccess: i,
209
209
  disabled: c || r?.(),
210
210
  onClick: u,
211
211
  children: [
212
- c && /* @__PURE__ */ a(ne, { className: "ml-2 h-4 w-4 animate-spin" }),
212
+ c && /* @__PURE__ */ a(re, { className: "ml-2 h-4 w-4 animate-spin" }),
213
213
  "حفظ",
214
214
  n ? " التغييرات" : ""
215
215
  ]
@@ -217,7 +217,7 @@ function st({ formData: e, dialogMode: t, service: n, disable: r, onSuccess: i,
217
217
  }
218
218
  //#endregion
219
219
  //#region src/components/custom/containers/dynamicListContainer.tsx
220
- function ct({ title: e, items: t, onAdd: n, addLabel: r, emptyMessage: i, error: s, headers: c, children: l }) {
220
+ function lt({ title: e, items: t, onAdd: n, addLabel: r, emptyMessage: i, error: s, headers: c, children: l }) {
221
221
  return /* @__PURE__ */ o("div", {
222
222
  className: "space-y-3",
223
223
  children: [
@@ -232,7 +232,7 @@ function ct({ title: e, items: t, onAdd: n, addLabel: r, emptyMessage: i, error:
232
232
  size: "sm",
233
233
  onClick: n,
234
234
  children: [
235
- /* @__PURE__ */ a(pe, { className: "h-4 w-4 ml-2" }),
235
+ /* @__PURE__ */ a(me, { className: "h-4 w-4 ml-2" }),
236
236
  " ",
237
237
  r
238
238
  ]
@@ -269,33 +269,33 @@ function I({ ...e }) {
269
269
  ...e
270
270
  });
271
271
  }
272
- function lt({ ...e }) {
272
+ function ut({ ...e }) {
273
273
  return /* @__PURE__ */ a(w.Trigger, {
274
274
  "data-slot": "dialog-trigger",
275
275
  ...e
276
276
  });
277
277
  }
278
- function ut({ ...e }) {
278
+ function dt({ ...e }) {
279
279
  return /* @__PURE__ */ a(w.Portal, {
280
280
  "data-slot": "dialog-portal",
281
281
  ...e
282
282
  });
283
283
  }
284
- function dt({ ...e }) {
284
+ function ft({ ...e }) {
285
285
  return /* @__PURE__ */ a(w.Close, {
286
286
  "data-slot": "dialog-close",
287
287
  ...e
288
288
  });
289
289
  }
290
- function ft({ className: e, ...t }) {
290
+ function pt({ className: e, ...t }) {
291
291
  return /* @__PURE__ */ a(w.Overlay, {
292
292
  "data-slot": "dialog-overlay",
293
293
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 isolate z-50", e),
294
294
  ...t
295
295
  });
296
296
  }
297
- function pt({ className: e, children: t, showCloseButton: n = !0, ...r }) {
298
- return /* @__PURE__ */ o(ut, { children: [/* @__PURE__ */ a(ft, {}), /* @__PURE__ */ o(w.Content, {
297
+ function mt({ className: e, children: t, showCloseButton: n = !0, ...r }) {
298
+ return /* @__PURE__ */ o(dt, { children: [/* @__PURE__ */ a(pt, {}), /* @__PURE__ */ o(w.Content, {
299
299
  "data-slot": "dialog-content",
300
300
  className: P("bg-background data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 ring-foreground/10 grid max-w-[calc(100%-2rem)] gap-4 rounded-xl p-4 text-sm ring-1 duration-100 sm:max-w-sm fixed top-1/2 left-1/2 z-50 w-full -translate-x-1/2 -translate-y-1/2 outline-none", e),
301
301
  ...r,
@@ -306,7 +306,7 @@ function pt({ className: e, children: t, showCloseButton: n = !0, ...r }) {
306
306
  variant: "ghost",
307
307
  className: r.dir === "rtl" ? "absolute top-2 left-2" : "absolute top-2 right-2",
308
308
  size: "icon-sm",
309
- children: [/* @__PURE__ */ a(Ce, {}), /* @__PURE__ */ a("span", {
309
+ children: [/* @__PURE__ */ a(we, {}), /* @__PURE__ */ a("span", {
310
310
  className: "sr-only",
311
311
  children: "Close"
312
312
  })]
@@ -314,14 +314,14 @@ function pt({ className: e, children: t, showCloseButton: n = !0, ...r }) {
314
314
  })]
315
315
  })] });
316
316
  }
317
- function mt({ className: e, ...t }) {
317
+ function ht({ className: e, ...t }) {
318
318
  return /* @__PURE__ */ a("div", {
319
319
  "data-slot": "dialog-header",
320
320
  className: P("gap-2 flex flex-col", e),
321
321
  ...t
322
322
  });
323
323
  }
324
- function ht({ className: e, showCloseButton: t = !1, children: n, ...r }) {
324
+ function gt({ className: e, showCloseButton: t = !1, children: n, ...r }) {
325
325
  return /* @__PURE__ */ o("div", {
326
326
  "data-slot": "dialog-footer",
327
327
  className: P("bg-muted/50 -mx-4 -mb-4 rounded-b-xl border-t p-4 flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
@@ -335,14 +335,14 @@ function ht({ className: e, showCloseButton: t = !1, children: n, ...r }) {
335
335
  })]
336
336
  });
337
337
  }
338
- function gt({ className: e, ...t }) {
338
+ function _t({ className: e, ...t }) {
339
339
  return /* @__PURE__ */ a(w.Title, {
340
340
  "data-slot": "dialog-title",
341
341
  className: P("text-base leading-none font-medium", e),
342
342
  ...t
343
343
  });
344
344
  }
345
- function _t({ className: e, ...t }) {
345
+ function vt({ className: e, ...t }) {
346
346
  return /* @__PURE__ */ a(w.Description, {
347
347
  "data-slot": "dialog-description",
348
348
  className: P("text-muted-foreground *:[a]:hover:text-foreground text-sm *:[a]:underline *:[a]:underline-offset-3", e),
@@ -352,7 +352,7 @@ function _t({ className: e, ...t }) {
352
352
  //#endregion
353
353
  //#region src/components/pure/separator.tsx
354
354
  function L({ className: e, orientation: t = "horizontal", decorative: n = !0, ...r }) {
355
- return /* @__PURE__ */ a(Ne.Root, {
355
+ return /* @__PURE__ */ a(Pe.Root, {
356
356
  "data-slot": "separator",
357
357
  decorative: n,
358
358
  orientation: t,
@@ -362,21 +362,21 @@ function L({ className: e, orientation: t = "horizontal", decorative: n = !0, ..
362
362
  }
363
363
  //#endregion
364
364
  //#region src/components/custom/dialogs/changeDialog.tsx
365
- function vt({ title: e, description: t = "", className: n = "sm:max-w-sm", formData: r, dialogMode: i, service: s, disable: c, onSuccess: l, validate: u = () => !0, children: d }) {
366
- return /* @__PURE__ */ o(pt, {
365
+ function yt({ title: e, description: t = "", className: n = "sm:max-w-sm", formData: r, dialogMode: i, service: s, disable: c, onSuccess: l, validate: u = () => !0, children: d }) {
366
+ return /* @__PURE__ */ o(mt, {
367
367
  dir: "rtl",
368
368
  className: P(n, "scroll-auto"),
369
369
  children: [
370
- /* @__PURE__ */ o(mt, { children: [/* @__PURE__ */ a(gt, { children: e }), /* @__PURE__ */ a(_t, { children: t })] }),
370
+ /* @__PURE__ */ o(ht, { children: [/* @__PURE__ */ a(_t, { children: e }), /* @__PURE__ */ a(vt, { children: t })] }),
371
371
  /* @__PURE__ */ a(L, {}),
372
372
  d,
373
- /* @__PURE__ */ o(ht, { children: [/* @__PURE__ */ a(dt, {
373
+ /* @__PURE__ */ o(gt, { children: [/* @__PURE__ */ a(ft, {
374
374
  asChild: !0,
375
375
  children: /* @__PURE__ */ a(F, {
376
376
  variant: "outline",
377
377
  children: "إلغاء"
378
378
  })
379
- }), /* @__PURE__ */ a(st, {
379
+ }), /* @__PURE__ */ a(ct, {
380
380
  formData: r,
381
381
  dialogMode: i,
382
382
  service: s,
@@ -389,17 +389,17 @@ function vt({ title: e, description: t = "", className: n = "sm:max-w-sm", formD
389
389
  }
390
390
  //#endregion
391
391
  //#region src/components/custom/dialogs/deleteDialog.tsx
392
- function yt({ entityName: e, id: t, service: n, onSuccess: r }) {
392
+ function bt({ entityName: e, id: t, service: n, onSuccess: r }) {
393
393
  let [s, c] = x(!1);
394
394
  async function l() {
395
395
  c(!0), (await n.Delete(t)).status === 200 && r?.(), c(!1);
396
396
  }
397
397
  return /* @__PURE__ */ o(i, { children: [
398
- /* @__PURE__ */ o(mt, { children: [/* @__PURE__ */ o(gt, { children: ["حذف ", e] }), /* @__PURE__ */ a(_t, {})] }),
398
+ /* @__PURE__ */ o(ht, { children: [/* @__PURE__ */ o(_t, { children: ["حذف ", e] }), /* @__PURE__ */ a(vt, {})] }),
399
399
  /* @__PURE__ */ a(L, {}),
400
400
  /* @__PURE__ */ a("div", {
401
401
  className: "mx-auto mb-2 flex h-14 w-14 items-center justify-center rounded-full bg-destructive/10",
402
- children: /* @__PURE__ */ a(ue, { className: "h-7 w-7 text-destructive" })
402
+ children: /* @__PURE__ */ a(de, { className: "h-7 w-7 text-destructive" })
403
403
  }),
404
404
  /* @__PURE__ */ o("span", {
405
405
  className: "font-bold text-center text-xl",
@@ -419,7 +419,7 @@ function yt({ entityName: e, id: t, service: n, onSuccess: r }) {
419
419
  " نهائياً وإزالته من خوادمنا."
420
420
  ]
421
421
  }),
422
- /* @__PURE__ */ o(ht, { children: [/* @__PURE__ */ a(dt, {
422
+ /* @__PURE__ */ o(gt, { children: [/* @__PURE__ */ a(ft, {
423
423
  asChild: !0,
424
424
  children: /* @__PURE__ */ a(F, {
425
425
  variant: "outline",
@@ -429,13 +429,13 @@ function yt({ entityName: e, id: t, service: n, onSuccess: r }) {
429
429
  variant: "destructive",
430
430
  onClick: l,
431
431
  disabled: s,
432
- children: [s && /* @__PURE__ */ a(ne, { className: "ml-2 h-4 w-4 animate-spin" }), "تأكيد الحذف"]
432
+ children: [s && /* @__PURE__ */ a(re, { className: "ml-2 h-4 w-4 animate-spin" }), "تأكيد الحذف"]
433
433
  })] })
434
434
  ] });
435
435
  }
436
436
  //#endregion
437
437
  //#region ../../node_modules/date-fns/locale/_lib/buildFormatLongFn.js
438
- function bt(e) {
438
+ function xt(e) {
439
439
  return (t = {}) => {
440
440
  let n = t.width ? String(t.width) : e.defaultWidth;
441
441
  return e.formats[n] || e.formats[e.defaultWidth];
@@ -443,7 +443,7 @@ function bt(e) {
443
443
  }
444
444
  //#endregion
445
445
  //#region ../../node_modules/date-fns/locale/_lib/buildLocalizeFn.js
446
- function xt(e) {
446
+ function St(e) {
447
447
  return (t, n) => {
448
448
  let r = n?.context ? String(n.context) : "standalone", i;
449
449
  if (r === "formatting" && e.formattingValues) {
@@ -459,11 +459,11 @@ function xt(e) {
459
459
  }
460
460
  //#endregion
461
461
  //#region ../../node_modules/date-fns/locale/_lib/buildMatchFn.js
462
- function St(e) {
462
+ function Ct(e) {
463
463
  return (t, n = {}) => {
464
464
  let r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], a = t.match(i);
465
465
  if (!a) return null;
466
- let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? wt(s, (e) => e.test(o)) : Ct(s, (e) => e.test(o)), l;
466
+ let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? Tt(s, (e) => e.test(o)) : wt(s, (e) => e.test(o)), l;
467
467
  l = e.valueCallback ? e.valueCallback(c) : c, l = n.valueCallback ? n.valueCallback(l) : l;
468
468
  let u = t.slice(o.length);
469
469
  return {
@@ -472,15 +472,15 @@ function St(e) {
472
472
  };
473
473
  };
474
474
  }
475
- function Ct(e, t) {
475
+ function wt(e, t) {
476
476
  for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n])) return n;
477
477
  }
478
- function wt(e, t) {
478
+ function Tt(e, t) {
479
479
  for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
480
480
  }
481
481
  //#endregion
482
482
  //#region ../../node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
483
- function Tt(e) {
483
+ function Et(e) {
484
484
  return (t, n = {}) => {
485
485
  let r = t.match(e.matchPattern);
486
486
  if (!r) return null;
@@ -497,7 +497,7 @@ function Tt(e) {
497
497
  }
498
498
  //#endregion
499
499
  //#region ../../node_modules/date-fns/locale/ar-SA/_lib/formatDistance.js
500
- var Et = {
500
+ var Dt = {
501
501
  lessThanXSeconds: {
502
502
  one: "أقل من ثانية واحدة",
503
503
  two: "أقل من ثانتين",
@@ -589,11 +589,11 @@ var Et = {
589
589
  threeToTen: "{{count}} أعوام تقريباً",
590
590
  other: "{{count}} عام تقريباً"
591
591
  }
592
- }, Dt = (e, t, n) => {
593
- let r, i = Et[e];
592
+ }, Ot = (e, t, n) => {
593
+ let r, i = Dt[e];
594
594
  return r = typeof i == "string" ? i : t === 1 ? i.one : t === 2 ? i.two : t <= 10 ? i.threeToTen.replace("{{count}}", String(t)) : i.other.replace("{{count}}", String(t)), n?.addSuffix ? n.comparison && n.comparison > 0 ? "في خلال " + r : "منذ " + r : r;
595
- }, Ot = {
596
- date: bt({
595
+ }, kt = {
596
+ date: xt({
597
597
  formats: {
598
598
  full: "EEEE, MMMM do, y",
599
599
  long: "MMMM do, y",
@@ -602,7 +602,7 @@ var Et = {
602
602
  },
603
603
  defaultWidth: "full"
604
604
  }),
605
- time: bt({
605
+ time: xt({
606
606
  formats: {
607
607
  full: "h:mm:ss a zzzz",
608
608
  long: "h:mm:ss a z",
@@ -611,7 +611,7 @@ var Et = {
611
611
  },
612
612
  defaultWidth: "full"
613
613
  }),
614
- dateTime: bt({
614
+ dateTime: xt({
615
615
  formats: {
616
616
  full: "{{date}} 'عند' {{time}}",
617
617
  long: "{{date}} 'عند' {{time}}",
@@ -620,21 +620,21 @@ var Et = {
620
620
  },
621
621
  defaultWidth: "full"
622
622
  })
623
- }, kt = {
623
+ }, At = {
624
624
  lastWeek: "'أخر' eeee 'عند' p",
625
625
  yesterday: "'أمس عند' p",
626
626
  today: "'اليوم عند' p",
627
627
  tomorrow: "'غداً عند' p",
628
628
  nextWeek: "eeee 'عند' p",
629
629
  other: "P"
630
- }, At = {
630
+ }, jt = {
631
631
  code: "ar-SA",
632
- formatDistance: Dt,
633
- formatLong: Ot,
634
- formatRelative: (e, t, n, r) => kt[e],
632
+ formatDistance: Ot,
633
+ formatLong: kt,
634
+ formatRelative: (e, t, n, r) => At[e],
635
635
  localize: {
636
636
  ordinalNumber: (e) => String(e),
637
- era: xt({
637
+ era: St({
638
638
  values: {
639
639
  narrow: ["ق", "ب"],
640
640
  abbreviated: ["ق.م.", "ب.م."],
@@ -642,7 +642,7 @@ var Et = {
642
642
  },
643
643
  defaultWidth: "wide"
644
644
  }),
645
- quarter: xt({
645
+ quarter: St({
646
646
  values: {
647
647
  narrow: [
648
648
  "1",
@@ -666,7 +666,7 @@ var Et = {
666
666
  defaultWidth: "wide",
667
667
  argumentCallback: (e) => e - 1
668
668
  }),
669
- month: xt({
669
+ month: St({
670
670
  values: {
671
671
  narrow: [
672
672
  "ي",
@@ -713,7 +713,7 @@ var Et = {
713
713
  },
714
714
  defaultWidth: "wide"
715
715
  }),
716
- day: xt({
716
+ day: St({
717
717
  values: {
718
718
  narrow: [
719
719
  "ح",
@@ -754,7 +754,7 @@ var Et = {
754
754
  },
755
755
  defaultWidth: "wide"
756
756
  }),
757
- dayPeriod: xt({
757
+ dayPeriod: St({
758
758
  values: {
759
759
  narrow: {
760
760
  am: "ص",
@@ -824,12 +824,12 @@ var Et = {
824
824
  })
825
825
  },
826
826
  match: {
827
- ordinalNumber: Tt({
827
+ ordinalNumber: Et({
828
828
  matchPattern: /^(\d+)(th|st|nd|rd)?/i,
829
829
  parsePattern: /\d+/i,
830
830
  valueCallback: (e) => parseInt(e, 10)
831
831
  }),
832
- era: St({
832
+ era: Ct({
833
833
  matchPatterns: {
834
834
  narrow: /^(ق|ب)/i,
835
835
  abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,
@@ -839,7 +839,7 @@ var Et = {
839
839
  parsePatterns: { any: [/^قبل/i, /^بعد/i] },
840
840
  defaultParseWidth: "any"
841
841
  }),
842
- quarter: St({
842
+ quarter: Ct({
843
843
  matchPatterns: {
844
844
  narrow: /^[1234]/i,
845
845
  abbreviated: /^ر[1234]/i,
@@ -855,7 +855,7 @@ var Et = {
855
855
  defaultParseWidth: "any",
856
856
  valueCallback: (e) => e + 1
857
857
  }),
858
- month: St({
858
+ month: Ct({
859
859
  matchPatterns: {
860
860
  narrow: /^[يفمأمسند]/i,
861
861
  abbreviated: /^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i,
@@ -894,7 +894,7 @@ var Et = {
894
894
  },
895
895
  defaultParseWidth: "any"
896
896
  }),
897
- day: St({
897
+ day: Ct({
898
898
  matchPatterns: {
899
899
  narrow: /^[حنثرخجس]/i,
900
900
  short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,
@@ -933,7 +933,7 @@ var Et = {
933
933
  },
934
934
  defaultParseWidth: "any"
935
935
  }),
936
- dayPeriod: St({
936
+ dayPeriod: Ct({
937
937
  matchPatterns: {
938
938
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
939
939
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
@@ -959,9 +959,9 @@ var Et = {
959
959
  };
960
960
  //#endregion
961
961
  //#region src/components/pure/calendar.tsx
962
- function jt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayout: r = "label", buttonVariant: i = "ghost", locale: o, formatters: s, components: c, ...d }) {
963
- let p = Ie();
964
- return /* @__PURE__ */ a(Fe, {
962
+ function Mt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayout: r = "label", buttonVariant: i = "ghost", locale: o, formatters: s, components: c, ...u }) {
963
+ let f = Le();
964
+ return /* @__PURE__ */ a(Ie, {
965
965
  showOutsideDays: n,
966
966
  className: P("p-2 [--cell-radius:var(--radius-md)] [--cell-size:--spacing(7)] bg-background group/calendar in-data-[slot=card-content]:bg-transparent in-data-[slot=popover-content]:bg-transparent", String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`, String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`, e),
967
967
  captionLayout: r,
@@ -971,31 +971,31 @@ function jt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayou
971
971
  ...s
972
972
  },
973
973
  classNames: {
974
- root: P("w-fit", p.root),
975
- months: P("flex gap-4 flex-col md:flex-row relative", p.months),
976
- month: P("flex flex-col w-full gap-4", p.month),
977
- nav: P("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between", p.nav),
978
- button_previous: P(ot({ variant: i }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", p.button_previous),
979
- button_next: P(ot({ variant: i }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", p.button_next),
980
- month_caption: P("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)", p.month_caption),
981
- dropdowns: P("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5", p.dropdowns),
982
- dropdown_root: P("relative rounded-(--cell-radius)", p.dropdown_root),
983
- dropdown: P("absolute bg-popover inset-0 opacity-0", p.dropdown),
984
- caption_label: P("select-none font-medium", r === "label" ? "text-sm" : "rounded-(--cell-radius) flex items-center gap-1 text-sm [&>svg]:text-muted-foreground [&>svg]:size-3.5", p.caption_label),
974
+ root: P("w-fit", f.root),
975
+ months: P("flex gap-4 flex-col md:flex-row relative", f.months),
976
+ month: P("flex flex-col w-full gap-4", f.month),
977
+ nav: P("flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between", f.nav),
978
+ button_previous: P(st({ variant: i }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", f.button_previous),
979
+ button_next: P(st({ variant: i }), "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none", f.button_next),
980
+ month_caption: P("flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)", f.month_caption),
981
+ dropdowns: P("w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5", f.dropdowns),
982
+ dropdown_root: P("relative rounded-(--cell-radius)", f.dropdown_root),
983
+ dropdown: P("absolute bg-popover inset-0 opacity-0", f.dropdown),
984
+ caption_label: P("select-none font-medium", r === "label" ? "text-sm" : "rounded-(--cell-radius) flex items-center gap-1 text-sm [&>svg]:text-muted-foreground [&>svg]:size-3.5", f.caption_label),
985
985
  table: "w-full border-collapse",
986
- weekdays: P("flex", p.weekdays),
987
- weekday: P("text-muted-foreground rounded-(--cell-radius) flex-1 font-normal text-[0.8rem] select-none", p.weekday),
988
- week: P("flex w-full mt-2", p.week),
989
- week_number_header: P("select-none w-(--cell-size)", p.week_number_header),
990
- week_number: P("text-[0.8rem] select-none text-muted-foreground", p.week_number),
991
- day: P("relative w-full rounded-(--cell-radius) h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-e-(--cell-radius) group/day aspect-square select-none", d.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-s-(--cell-radius)" : "[&:first-child[data-selected=true]_button]:rounded-s-(--cell-radius)", p.day),
992
- range_start: P("rounded-s-(--cell-radius) bg-muted relative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:end-0 z-0 isolate", p.range_start),
993
- range_middle: P("rounded-none", p.range_middle),
994
- range_end: P("rounded-e-(--cell-radius) bg-muted relative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:start-0 z-0 isolate", p.range_end),
995
- today: P("bg-muted text-foreground rounded-(--cell-radius) data-[selected=true]:rounded-none", p.today),
996
- outside: P("text-muted-foreground aria-selected:text-muted-foreground", p.outside),
997
- disabled: P("text-muted-foreground opacity-50", p.disabled),
998
- hidden: P("invisible", p.hidden),
986
+ weekdays: P("flex", f.weekdays),
987
+ weekday: P("text-muted-foreground rounded-(--cell-radius) flex-1 font-normal text-[0.8rem] select-none", f.weekday),
988
+ week: P("flex w-full mt-2", f.week),
989
+ week_number_header: P("select-none w-(--cell-size)", f.week_number_header),
990
+ week_number: P("text-[0.8rem] select-none text-muted-foreground", f.week_number),
991
+ day: P("relative w-full rounded-(--cell-radius) h-full p-0 text-center [&:last-child[data-selected=true]_button]:rounded-e-(--cell-radius) group/day aspect-square select-none", u.showWeekNumber ? "[&:nth-child(2)[data-selected=true]_button]:rounded-s-(--cell-radius)" : "[&:first-child[data-selected=true]_button]:rounded-s-(--cell-radius)", f.day),
992
+ range_start: P("rounded-s-(--cell-radius) bg-muted relative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:end-0 z-0 isolate", f.range_start),
993
+ range_middle: P("rounded-none", f.range_middle),
994
+ range_end: P("rounded-e-(--cell-radius) bg-muted relative after:bg-muted after:absolute after:inset-y-0 after:w-4 after:start-0 z-0 isolate", f.range_end),
995
+ today: P("bg-muted text-foreground rounded-(--cell-radius) data-[selected=true]:rounded-none", f.today),
996
+ outside: P("text-muted-foreground aria-selected:text-muted-foreground", f.outside),
997
+ disabled: P("text-muted-foreground opacity-50", f.disabled),
998
+ hidden: P("invisible", f.hidden),
999
999
  ...t
1000
1000
  },
1001
1001
  components: {
@@ -1005,17 +1005,17 @@ function jt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayou
1005
1005
  className: P(e),
1006
1006
  ...n
1007
1007
  }),
1008
- Chevron: ({ className: e, orientation: t, ...n }) => t === "left" ? /* @__PURE__ */ a(u, {
1008
+ Chevron: ({ className: e, orientation: t, ...n }) => t === "left" ? /* @__PURE__ */ a(d, {
1009
1009
  className: P("rtl:rotate-180 size-4", e),
1010
1010
  ...n
1011
- }) : t === "right" ? /* @__PURE__ */ a(f, {
1011
+ }) : t === "right" ? /* @__PURE__ */ a(p, {
1012
1012
  className: P("rtl:rotate-180 size-4", e),
1013
1013
  ...n
1014
1014
  }) : /* @__PURE__ */ a(l, {
1015
1015
  className: P("size-4", e),
1016
1016
  ...n
1017
1017
  }),
1018
- DayButton: ({ ...e }) => /* @__PURE__ */ a(Mt, {
1018
+ DayButton: ({ ...e }) => /* @__PURE__ */ a(Nt, {
1019
1019
  locale: o,
1020
1020
  ...e
1021
1021
  }),
@@ -1028,11 +1028,11 @@ function jt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayou
1028
1028
  }),
1029
1029
  ...c
1030
1030
  },
1031
- ...d
1031
+ ...u
1032
1032
  });
1033
1033
  }
1034
- function Mt({ className: e, day: t, modifiers: n, locale: r, ...i }) {
1035
- let o = Ie(), s = y.useRef(null);
1034
+ function Nt({ className: e, day: t, modifiers: n, locale: r, ...i }) {
1035
+ let o = Le(), s = y.useRef(null);
1036
1036
  return y.useEffect(() => {
1037
1037
  n.focused && s.current?.focus();
1038
1038
  }, [n.focused]), /* @__PURE__ */ a(F, {
@@ -1050,20 +1050,20 @@ function Mt({ className: e, day: t, modifiers: n, locale: r, ...i }) {
1050
1050
  }
1051
1051
  //#endregion
1052
1052
  //#region src/components/pure/popover.tsx
1053
- function Nt({ ...e }) {
1054
- return /* @__PURE__ */ a(Le.Root, {
1053
+ function Pt({ ...e }) {
1054
+ return /* @__PURE__ */ a(Re.Root, {
1055
1055
  "data-slot": "popover",
1056
1056
  ...e
1057
1057
  });
1058
1058
  }
1059
- function Pt({ ...e }) {
1060
- return /* @__PURE__ */ a(Le.Trigger, {
1059
+ function Ft({ ...e }) {
1060
+ return /* @__PURE__ */ a(Re.Trigger, {
1061
1061
  "data-slot": "popover-trigger",
1062
1062
  ...e
1063
1063
  });
1064
1064
  }
1065
- function Ft({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
1066
- return /* @__PURE__ */ a(Le.Portal, { children: /* @__PURE__ */ a(Le.Content, {
1065
+ function It({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
1066
+ return /* @__PURE__ */ a(Re.Portal, { children: /* @__PURE__ */ a(Re.Content, {
1067
1067
  "data-slot": "popover-content",
1068
1068
  align: t,
1069
1069
  sideOffset: n,
@@ -1071,27 +1071,27 @@ function Ft({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
1071
1071
  ...r
1072
1072
  }) });
1073
1073
  }
1074
- function It({ ...e }) {
1075
- return /* @__PURE__ */ a(Le.Anchor, {
1074
+ function Lt({ ...e }) {
1075
+ return /* @__PURE__ */ a(Re.Anchor, {
1076
1076
  "data-slot": "popover-anchor",
1077
1077
  ...e
1078
1078
  });
1079
1079
  }
1080
- function Lt({ className: e, ...t }) {
1080
+ function Rt({ className: e, ...t }) {
1081
1081
  return /* @__PURE__ */ a("div", {
1082
1082
  "data-slot": "popover-header",
1083
1083
  className: P("flex flex-col gap-0.5 text-sm", e),
1084
1084
  ...t
1085
1085
  });
1086
1086
  }
1087
- function Rt({ className: e, ...t }) {
1087
+ function zt({ className: e, ...t }) {
1088
1088
  return /* @__PURE__ */ a("div", {
1089
1089
  "data-slot": "popover-title",
1090
1090
  className: P("font-medium", e),
1091
1091
  ...t
1092
1092
  });
1093
1093
  }
1094
- function zt({ className: e, ...t }) {
1094
+ function Bt({ className: e, ...t }) {
1095
1095
  return /* @__PURE__ */ a("p", {
1096
1096
  "data-slot": "popover-description",
1097
1097
  className: P("text-muted-foreground", e),
@@ -1100,17 +1100,17 @@ function zt({ className: e, ...t }) {
1100
1100
  }
1101
1101
  //#endregion
1102
1102
  //#region src/components/custom/inputs/dateInput.tsx
1103
- function Bt({ value: e, onChange: t, isInvalid: n, placeholder: r = "اختر تاريخا", locale: i = At }) {
1104
- return /* @__PURE__ */ o(Nt, { children: [/* @__PURE__ */ a(Pt, {
1103
+ function Vt({ value: e, onChange: t, isInvalid: n, placeholder: r = "اختر تاريخا", locale: i = jt }) {
1104
+ return /* @__PURE__ */ o(Pt, { children: [/* @__PURE__ */ a(Ft, {
1105
1105
  asChild: !0,
1106
1106
  children: /* @__PURE__ */ o(F, {
1107
1107
  variant: "outline",
1108
1108
  className: P("w-full justify-between text-left font-normal", !e && "text-muted-foreground", n && "border-red-600 ring-red-600 text-red-900"),
1109
- children: [e ? Pe(e, "PPP", { locale: i }) : /* @__PURE__ */ a("span", { children: r }), /* @__PURE__ */ a(l, { className: "h-4 w-4 opacity-50" })]
1109
+ children: [e ? Fe(e, "PPP", { locale: i }) : /* @__PURE__ */ a("span", { children: r }), /* @__PURE__ */ a(l, { className: "h-4 w-4 opacity-50" })]
1110
1110
  })
1111
- }), /* @__PURE__ */ a(Ft, {
1111
+ }), /* @__PURE__ */ a(It, {
1112
1112
  className: "w-auto p-0",
1113
- children: /* @__PURE__ */ a(jt, {
1113
+ children: /* @__PURE__ */ a(Mt, {
1114
1114
  mode: "single",
1115
1115
  selected: e,
1116
1116
  onSelect: t,
@@ -1120,8 +1120,8 @@ function Bt({ value: e, onChange: t, isInvalid: n, placeholder: r = "اختر ت
1120
1120
  }
1121
1121
  //#endregion
1122
1122
  //#region src/components/pure/label.tsx
1123
- function Vt({ className: e, ...t }) {
1124
- return /* @__PURE__ */ a(Re.Root, {
1123
+ function Ht({ className: e, ...t }) {
1124
+ return /* @__PURE__ */ a(ze.Root, {
1125
1125
  "data-slot": "label",
1126
1126
  className: P("gap-2 text-sm leading-none font-medium group-data-[disabled=true]:opacity-50 peer-disabled:opacity-50 flex items-center select-none group-data-[disabled=true]:pointer-events-none peer-disabled:cursor-not-allowed", e),
1127
1127
  ...t
@@ -1135,7 +1135,7 @@ function R({ label: e, error: t, isInvalid: n, children: r, required: i }) {
1135
1135
  children: [
1136
1136
  /* @__PURE__ */ o("div", {
1137
1137
  className: "flex items-center gap-1",
1138
- children: [/* @__PURE__ */ a(Vt, {
1138
+ children: [/* @__PURE__ */ a(Ht, {
1139
1139
  className: "text-sm font-medium",
1140
1140
  children: e
1141
1141
  }), i && /* @__PURE__ */ a("span", {
@@ -1153,13 +1153,13 @@ function R({ label: e, error: t, isInvalid: n, children: r, required: i }) {
1153
1153
  }
1154
1154
  //#endregion
1155
1155
  //#region src/components/custom/fields/dateField.tsx
1156
- function Ht({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1156
+ function Ut({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1157
1157
  return /* @__PURE__ */ a(R, {
1158
1158
  label: e,
1159
1159
  error: t,
1160
1160
  isInvalid: n,
1161
1161
  required: r,
1162
- children: /* @__PURE__ */ a(Bt, {
1162
+ children: /* @__PURE__ */ a(Vt, {
1163
1163
  ...i,
1164
1164
  isInvalid: n
1165
1165
  })
@@ -1177,7 +1177,7 @@ function z({ className: e, type: t, ...n }) {
1177
1177
  }
1178
1178
  //#endregion
1179
1179
  //#region src/components/custom/inputs/baseInput.tsx
1180
- function Ut({ isInvalid: e, className: t, ...n }) {
1180
+ function Wt({ isInvalid: e, className: t, ...n }) {
1181
1181
  return /* @__PURE__ */ a(z, {
1182
1182
  ...n,
1183
1183
  className: P(t, e && "border-red-500 ring-red-500 text-red-900 focus-visible:ring-red-500")
@@ -1185,13 +1185,13 @@ function Ut({ isInvalid: e, className: t, ...n }) {
1185
1185
  }
1186
1186
  //#endregion
1187
1187
  //#region src/components/custom/inputs/dateTimeInput.tsx
1188
- function Wt({ value: e, onChange: t, isInvalid: n, locale: r = At }) {
1188
+ function Gt({ value: e, onChange: t, isInvalid: n, locale: r = jt }) {
1189
1189
  let i = e instanceof Date ? e : void 0;
1190
1190
  return /* @__PURE__ */ o("div", {
1191
1191
  className: "flex gap-2 w-full",
1192
1192
  children: [/* @__PURE__ */ a("div", {
1193
1193
  className: "flex-1",
1194
- children: /* @__PURE__ */ a(Bt, {
1194
+ children: /* @__PURE__ */ a(Vt, {
1195
1195
  value: i,
1196
1196
  onChange: (e) => {
1197
1197
  if (!e) return;
@@ -1204,10 +1204,10 @@ function Wt({ value: e, onChange: t, isInvalid: n, locale: r = At }) {
1204
1204
  })
1205
1205
  }), /* @__PURE__ */ a("div", {
1206
1206
  className: "w-24",
1207
- children: /* @__PURE__ */ a(Ut, {
1207
+ children: /* @__PURE__ */ a(Wt, {
1208
1208
  type: "time",
1209
1209
  className: "bg-background appearance-none",
1210
- value: i ? Pe(i, "HH:mm") : "",
1210
+ value: i ? Fe(i, "HH:mm") : "",
1211
1211
  onChange: (e) => {
1212
1212
  let n = e.target.value;
1213
1213
  if (!n) return;
@@ -1221,13 +1221,13 @@ function Wt({ value: e, onChange: t, isInvalid: n, locale: r = At }) {
1221
1221
  }
1222
1222
  //#endregion
1223
1223
  //#region src/components/custom/fields/dateTimeField.tsx
1224
- function Gt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1224
+ function Kt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1225
1225
  return /* @__PURE__ */ a(R, {
1226
1226
  label: e,
1227
1227
  error: t,
1228
1228
  isInvalid: n,
1229
1229
  required: r,
1230
- children: /* @__PURE__ */ a(Wt, {
1230
+ children: /* @__PURE__ */ a(Gt, {
1231
1231
  ...i,
1232
1232
  isInvalid: n
1233
1233
  })
@@ -1235,12 +1235,12 @@ function Gt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1235
1235
  }
1236
1236
  //#endregion
1237
1237
  //#region src/components/custom/separators/titleSeparator.tsx
1238
- function Kt({ title: e }) {
1238
+ function qt({ title: e }) {
1239
1239
  return /* @__PURE__ */ o("div", {
1240
1240
  className: "flex items-center gap-4",
1241
1241
  children: [
1242
1242
  /* @__PURE__ */ a(L, { className: "flex-1" }),
1243
- /* @__PURE__ */ a(Vt, {
1243
+ /* @__PURE__ */ a(Ht, {
1244
1244
  className: "shrink-0 text-sm font-semibold",
1245
1245
  children: e
1246
1246
  }),
@@ -1250,10 +1250,10 @@ function Kt({ title: e }) {
1250
1250
  }
1251
1251
  //#endregion
1252
1252
  //#region src/components/custom/fields/fieldsSection.tsx
1253
- function qt({ title: e, children: t, columns: n = 2, className: r }) {
1253
+ function Jt({ title: e, children: t, columns: n = 2, className: r }) {
1254
1254
  return /* @__PURE__ */ o("div", {
1255
1255
  className: P("space-y-3", r),
1256
- children: [e && /* @__PURE__ */ a(Kt, { title: e }), /* @__PURE__ */ a("div", {
1256
+ children: [e && /* @__PURE__ */ a(qt, { title: e }), /* @__PURE__ */ a("div", {
1257
1257
  className: P("grid gap-4", {
1258
1258
  "grid-cols-1": n === 1,
1259
1259
  "grid-cols-2": n === 2,
@@ -1265,13 +1265,13 @@ function qt({ title: e, children: t, columns: n = 2, className: r }) {
1265
1265
  }
1266
1266
  //#endregion
1267
1267
  //#region src/components/custom/fields/inputField.tsx
1268
- function Jt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1268
+ function Yt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1269
1269
  return /* @__PURE__ */ a(R, {
1270
1270
  label: e,
1271
1271
  error: t,
1272
1272
  isInvalid: n,
1273
1273
  required: r,
1274
- children: /* @__PURE__ */ a(Ut, {
1274
+ children: /* @__PURE__ */ a(Wt, {
1275
1275
  ...i,
1276
1276
  isInvalid: n
1277
1277
  })
@@ -1279,7 +1279,7 @@ function Jt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1279
1279
  }
1280
1280
  //#endregion
1281
1281
  //#region src/components/custom/inputs/numberInput.tsx
1282
- function Yt({ onChange: e, min: t, max: n, isInvalid: r, className: i, ...o }) {
1282
+ function Xt({ onChange: e, min: t, max: n, isInvalid: r, className: i, ...o }) {
1283
1283
  return /* @__PURE__ */ a(z, {
1284
1284
  ...o,
1285
1285
  type: "number",
@@ -1299,13 +1299,13 @@ function Yt({ onChange: e, min: t, max: n, isInvalid: r, className: i, ...o }) {
1299
1299
  }
1300
1300
  //#endregion
1301
1301
  //#region src/components/custom/fields/numberField.tsx
1302
- function Xt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1302
+ function Zt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1303
1303
  return /* @__PURE__ */ a(R, {
1304
1304
  label: e,
1305
1305
  error: t,
1306
1306
  isInvalid: n,
1307
1307
  required: r,
1308
- children: /* @__PURE__ */ a(Yt, {
1308
+ children: /* @__PURE__ */ a(Xt, {
1309
1309
  ...i,
1310
1310
  isInvalid: n
1311
1311
  })
@@ -1313,11 +1313,11 @@ function Xt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1313
1313
  }
1314
1314
  //#endregion
1315
1315
  //#region src/components/custom/fields/passwordField.tsx
1316
- function Zt(e) {
1316
+ function Qt(e) {
1317
1317
  let [t, n] = x(!1);
1318
1318
  return /* @__PURE__ */ o("div", {
1319
1319
  className: "relative",
1320
- children: [/* @__PURE__ */ a(Jt, {
1320
+ children: [/* @__PURE__ */ a(Yt, {
1321
1321
  ...e,
1322
1322
  type: t ? "text" : "password",
1323
1323
  className: "pl-10"
@@ -1325,14 +1325,14 @@ function Zt(e) {
1325
1325
  type: "button",
1326
1326
  onClick: () => n(!t),
1327
1327
  className: "absolute left-3 top-8.5 text-gray-500 hover:text-gray-700",
1328
- children: a(t ? v : _, { size: 16 })
1328
+ children: a(t ? ee : v, { size: 16 })
1329
1329
  })]
1330
1330
  });
1331
1331
  }
1332
1332
  //#endregion
1333
1333
  //#region src/components/custom/fields/phoneField.tsx
1334
- function Qt(e) {
1335
- return /* @__PURE__ */ a(Jt, {
1334
+ function $t(e) {
1335
+ return /* @__PURE__ */ a(Yt, {
1336
1336
  ...e,
1337
1337
  type: "tel",
1338
1338
  dir: "ltr",
@@ -1342,26 +1342,26 @@ function Qt(e) {
1342
1342
  }
1343
1343
  //#endregion
1344
1344
  //#region src/components/pure/select.tsx
1345
- function $t({ ...e }) {
1345
+ function en({ ...e }) {
1346
1346
  return /* @__PURE__ */ a(T.Root, {
1347
1347
  "data-slot": "select",
1348
1348
  ...e
1349
1349
  });
1350
1350
  }
1351
- function en({ className: e, ...t }) {
1351
+ function tn({ className: e, ...t }) {
1352
1352
  return /* @__PURE__ */ a(T.Group, {
1353
1353
  "data-slot": "select-group",
1354
1354
  className: P("scroll-my-1 p-1", e),
1355
1355
  ...t
1356
1356
  });
1357
1357
  }
1358
- function tn({ ...e }) {
1358
+ function nn({ ...e }) {
1359
1359
  return /* @__PURE__ */ a(T.Value, {
1360
1360
  "data-slot": "select-value",
1361
1361
  ...e
1362
1362
  });
1363
1363
  }
1364
- function nn({ className: e, size: t = "default", children: n, ...r }) {
1364
+ function rn({ className: e, size: t = "default", children: n, ...r }) {
1365
1365
  return /* @__PURE__ */ o(T.Trigger, {
1366
1366
  "data-slot": "select-trigger",
1367
1367
  "data-size": t,
@@ -1373,7 +1373,7 @@ function nn({ className: e, size: t = "default", children: n, ...r }) {
1373
1373
  })]
1374
1374
  });
1375
1375
  }
1376
- function rn({ className: e, children: t, position: n = "item-aligned", align: r = "center", ...i }) {
1376
+ function an({ className: e, children: t, position: n = "item-aligned", align: r = "center", ...i }) {
1377
1377
  return /* @__PURE__ */ a(T.Portal, { children: /* @__PURE__ */ o(T.Content, {
1378
1378
  "data-slot": "select-content",
1379
1379
  "data-align-trigger": n === "item-aligned",
@@ -1382,24 +1382,24 @@ function rn({ className: e, children: t, position: n = "item-aligned", align: r
1382
1382
  align: r,
1383
1383
  ...i,
1384
1384
  children: [
1385
- /* @__PURE__ */ a(cn, {}),
1385
+ /* @__PURE__ */ a(ln, {}),
1386
1386
  /* @__PURE__ */ a(T.Viewport, {
1387
1387
  "data-position": n,
1388
1388
  className: P("data-[position=popper]:h-(--radix-select-trigger-height) data-[position=popper]:w-full data-[position=popper]:min-w-(--radix-select-trigger-width)", n === "popper" && ""),
1389
1389
  children: t
1390
1390
  }),
1391
- /* @__PURE__ */ a(ln, {})
1391
+ /* @__PURE__ */ a(un, {})
1392
1392
  ]
1393
1393
  }) });
1394
1394
  }
1395
- function an({ className: e, ...t }) {
1395
+ function on({ className: e, ...t }) {
1396
1396
  return /* @__PURE__ */ a(T.Label, {
1397
1397
  "data-slot": "select-label",
1398
1398
  className: P("text-muted-foreground px-1.5 py-1 text-xs", e),
1399
1399
  ...t
1400
1400
  });
1401
1401
  }
1402
- function on({ className: e, children: t, ...n }) {
1402
+ function sn({ className: e, children: t, ...n }) {
1403
1403
  return /* @__PURE__ */ o(T.Item, {
1404
1404
  "data-slot": "select-item",
1405
1405
  className: P("focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-1.5 rounded-md py-1 pe-8 ps-1.5 text-sm [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", e),
@@ -1410,22 +1410,22 @@ function on({ className: e, children: t, ...n }) {
1410
1410
  }), /* @__PURE__ */ a(T.ItemText, { children: t })]
1411
1411
  });
1412
1412
  }
1413
- function sn({ className: e, ...t }) {
1413
+ function cn({ className: e, ...t }) {
1414
1414
  return /* @__PURE__ */ a(T.Separator, {
1415
1415
  "data-slot": "select-separator",
1416
1416
  className: P("bg-border -mx-1 my-1 h-px pointer-events-none", e),
1417
1417
  ...t
1418
1418
  });
1419
1419
  }
1420
- function cn({ className: e, ...t }) {
1420
+ function ln({ className: e, ...t }) {
1421
1421
  return /* @__PURE__ */ a(T.ScrollUpButton, {
1422
1422
  "data-slot": "select-scroll-up-button",
1423
1423
  className: P("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4", e),
1424
1424
  ...t,
1425
- children: /* @__PURE__ */ a(p, {})
1425
+ children: /* @__PURE__ */ a(m, {})
1426
1426
  });
1427
1427
  }
1428
- function ln({ className: e, ...t }) {
1428
+ function un({ className: e, ...t }) {
1429
1429
  return /* @__PURE__ */ a(T.ScrollDownButton, {
1430
1430
  "data-slot": "select-scroll-down-button",
1431
1431
  className: P("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4", e),
@@ -1435,16 +1435,16 @@ function ln({ className: e, ...t }) {
1435
1435
  }
1436
1436
  //#endregion
1437
1437
  //#region src/components/custom/inputs/selectInput.tsx
1438
- function un({ value: e, onValueChange: t, options: n, placeholder: r, isInvalid: i, disabled: s }) {
1439
- return /* @__PURE__ */ o($t, {
1438
+ function dn({ value: e, onValueChange: t, options: n, placeholder: r, isInvalid: i, disabled: s }) {
1439
+ return /* @__PURE__ */ o(en, {
1440
1440
  value: e,
1441
1441
  onValueChange: t,
1442
1442
  dir: "rtl",
1443
1443
  disabled: s,
1444
- children: [/* @__PURE__ */ a(nn, {
1444
+ children: [/* @__PURE__ */ a(rn, {
1445
1445
  className: P("w-full", i && "border-red-600 ring-red-600 text-red-900"),
1446
- children: /* @__PURE__ */ a(tn, { placeholder: r })
1447
- }), /* @__PURE__ */ a(rn, { children: n.map((e) => /* @__PURE__ */ a(on, {
1446
+ children: /* @__PURE__ */ a(nn, { placeholder: r })
1447
+ }), /* @__PURE__ */ a(an, { children: n.map((e) => /* @__PURE__ */ a(sn, {
1448
1448
  value: e.value,
1449
1449
  children: e.label
1450
1450
  }, e.value)) })]
@@ -1452,13 +1452,13 @@ function un({ value: e, onValueChange: t, options: n, placeholder: r, isInvalid:
1452
1452
  }
1453
1453
  //#endregion
1454
1454
  //#region src/components/custom/fields/selectField.tsx
1455
- function dn({ label: e, error: t, required: n, isInvalid: r, ...i }) {
1455
+ function fn({ label: e, error: t, required: n, isInvalid: r, ...i }) {
1456
1456
  return /* @__PURE__ */ a(R, {
1457
1457
  label: e,
1458
1458
  error: t,
1459
1459
  isInvalid: r,
1460
1460
  required: n,
1461
- children: /* @__PURE__ */ a(un, {
1461
+ children: /* @__PURE__ */ a(dn, {
1462
1462
  ...i,
1463
1463
  isInvalid: r
1464
1464
  })
@@ -1466,7 +1466,7 @@ function dn({ label: e, error: t, required: n, isInvalid: r, ...i }) {
1466
1466
  }
1467
1467
  //#endregion
1468
1468
  //#region src/components/pure/card.tsx
1469
- function fn({ className: e, size: t = "default", ...n }) {
1469
+ function pn({ className: e, size: t = "default", ...n }) {
1470
1470
  return /* @__PURE__ */ a("div", {
1471
1471
  "data-slot": "card",
1472
1472
  "data-size": t,
@@ -1474,42 +1474,42 @@ function fn({ className: e, size: t = "default", ...n }) {
1474
1474
  ...n
1475
1475
  });
1476
1476
  }
1477
- function pn({ className: e, ...t }) {
1477
+ function mn({ className: e, ...t }) {
1478
1478
  return /* @__PURE__ */ a("div", {
1479
1479
  "data-slot": "card-header",
1480
1480
  className: P("gap-1 rounded-t-xl px-4 group-data-[size=sm]/card:px-3 [.border-b]:pb-4 group-data-[size=sm]/card:[.border-b]:pb-3 group/card-header @container/card-header grid auto-rows-min items-start has-data-[slot=card-action]:grid-cols-[1fr_auto] has-data-[slot=card-description]:grid-rows-[auto_auto]", e),
1481
1481
  ...t
1482
1482
  });
1483
1483
  }
1484
- function mn({ className: e, ...t }) {
1484
+ function hn({ className: e, ...t }) {
1485
1485
  return /* @__PURE__ */ a("div", {
1486
1486
  "data-slot": "card-title",
1487
1487
  className: P("text-base leading-snug font-medium group-data-[size=sm]/card:text-sm", e),
1488
1488
  ...t
1489
1489
  });
1490
1490
  }
1491
- function hn({ className: e, ...t }) {
1491
+ function gn({ className: e, ...t }) {
1492
1492
  return /* @__PURE__ */ a("div", {
1493
1493
  "data-slot": "card-description",
1494
1494
  className: P("text-muted-foreground text-sm", e),
1495
1495
  ...t
1496
1496
  });
1497
1497
  }
1498
- function gn({ className: e, ...t }) {
1498
+ function _n({ className: e, ...t }) {
1499
1499
  return /* @__PURE__ */ a("div", {
1500
1500
  "data-slot": "card-action",
1501
1501
  className: P("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
1502
1502
  ...t
1503
1503
  });
1504
1504
  }
1505
- function _n({ className: e, ...t }) {
1505
+ function vn({ className: e, ...t }) {
1506
1506
  return /* @__PURE__ */ a("div", {
1507
1507
  "data-slot": "card-content",
1508
1508
  className: P("px-4 group-data-[size=sm]/card:px-3", e),
1509
1509
  ...t
1510
1510
  });
1511
1511
  }
1512
- function vn({ className: e, ...t }) {
1512
+ function yn({ className: e, ...t }) {
1513
1513
  return /* @__PURE__ */ a("div", {
1514
1514
  "data-slot": "card-footer",
1515
1515
  className: P("bg-muted/50 rounded-b-xl border-t p-4 group-data-[size=sm]/card:p-3 flex items-center", e),
@@ -1518,14 +1518,14 @@ function vn({ className: e, ...t }) {
1518
1518
  }
1519
1519
  //#endregion
1520
1520
  //#region src/components/pure/carousel.tsx
1521
- var yn = y.createContext(null);
1522
- function bn() {
1523
- let e = y.useContext(yn);
1521
+ var bn = y.createContext(null);
1522
+ function xn() {
1523
+ let e = y.useContext(bn);
1524
1524
  if (!e) throw Error("useCarousel must be used within a <Carousel />");
1525
1525
  return e;
1526
1526
  }
1527
- function xn({ orientation: e = "horizontal", opts: t, setApi: n, plugins: r, className: i, children: o, ...s }) {
1528
- let [c, l] = ze({
1527
+ function Sn({ orientation: e = "horizontal", opts: t, setApi: n, plugins: r, className: i, children: o, ...s }) {
1528
+ let [c, l] = Be({
1529
1529
  ...t,
1530
1530
  axis: e === "horizontal" ? "x" : "y"
1531
1531
  }, r), [u, d] = y.useState(!1), [f, p] = y.useState(!1), m = y.useCallback((e) => {
@@ -1543,7 +1543,7 @@ function xn({ orientation: e = "horizontal", opts: t, setApi: n, plugins: r, cla
1543
1543
  if (l) return m(l), l.on("reInit", m), l.on("select", m), () => {
1544
1544
  l?.off("select", m);
1545
1545
  };
1546
- }, [l, m]), /* @__PURE__ */ a(yn.Provider, {
1546
+ }, [l, m]), /* @__PURE__ */ a(bn.Provider, {
1547
1547
  value: {
1548
1548
  carouselRef: c,
1549
1549
  api: l,
@@ -1565,8 +1565,8 @@ function xn({ orientation: e = "horizontal", opts: t, setApi: n, plugins: r, cla
1565
1565
  })
1566
1566
  });
1567
1567
  }
1568
- function Sn({ className: e, ...t }) {
1569
- let { carouselRef: n, orientation: r } = bn();
1568
+ function Cn({ className: e, ...t }) {
1569
+ let { carouselRef: n, orientation: r } = xn();
1570
1570
  return /* @__PURE__ */ a("div", {
1571
1571
  ref: n,
1572
1572
  className: "overflow-hidden",
@@ -1577,8 +1577,8 @@ function Sn({ className: e, ...t }) {
1577
1577
  })
1578
1578
  });
1579
1579
  }
1580
- function Cn({ className: e, ...t }) {
1581
- let { orientation: n } = bn();
1580
+ function wn({ className: e, ...t }) {
1581
+ let { orientation: n } = xn();
1582
1582
  return /* @__PURE__ */ a("div", {
1583
1583
  role: "group",
1584
1584
  "aria-roledescription": "slide",
@@ -1587,8 +1587,8 @@ function Cn({ className: e, ...t }) {
1587
1587
  ...t
1588
1588
  });
1589
1589
  }
1590
- function wn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
1591
- let { orientation: i, scrollPrev: s, canScrollPrev: c } = bn();
1590
+ function Tn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
1591
+ let { orientation: i, scrollPrev: s, canScrollPrev: c } = xn();
1592
1592
  return /* @__PURE__ */ o(F, {
1593
1593
  "data-slot": "carousel-previous",
1594
1594
  variant: t,
@@ -1597,14 +1597,14 @@ function wn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r })
1597
1597
  disabled: !c,
1598
1598
  onClick: s,
1599
1599
  ...r,
1600
- children: [/* @__PURE__ */ a(u, { className: "rtl:rotate-180" }), /* @__PURE__ */ a("span", {
1600
+ children: [/* @__PURE__ */ a(d, { className: "rtl:rotate-180" }), /* @__PURE__ */ a("span", {
1601
1601
  className: "sr-only",
1602
1602
  children: "Previous slide"
1603
1603
  })]
1604
1604
  });
1605
1605
  }
1606
- function Tn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
1607
- let { orientation: i, scrollNext: s, canScrollNext: c } = bn();
1606
+ function En({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
1607
+ let { orientation: i, scrollNext: s, canScrollNext: c } = xn();
1608
1608
  return /* @__PURE__ */ o(F, {
1609
1609
  "data-slot": "carousel-next",
1610
1610
  variant: t,
@@ -1613,7 +1613,7 @@ function Tn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r })
1613
1613
  disabled: !c,
1614
1614
  onClick: s,
1615
1615
  ...r,
1616
- children: [/* @__PURE__ */ a(f, { className: "rtl:rotate-180" }), /* @__PURE__ */ a("span", {
1616
+ children: [/* @__PURE__ */ a(p, { className: "rtl:rotate-180" }), /* @__PURE__ */ a("span", {
1617
1617
  className: "sr-only",
1618
1618
  children: "Next slide"
1619
1619
  })]
@@ -1621,17 +1621,17 @@ function Tn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r })
1621
1621
  }
1622
1622
  //#endregion
1623
1623
  //#region src/components/custom/fields/storageFilesField.tsx
1624
- function En(e) {
1624
+ function Dn(e) {
1625
1625
  return e?.contentType === "application/pdf" || e?.extension?.toLowerCase() === ".pdf";
1626
1626
  }
1627
- function Dn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, getFileSrc: c, showPreview: l, fileInputRef: u, error: d, isInvalid: f, dir: p = "rtl" }) {
1628
- let m = ke(() => Array.isArray(t) ? t : t ? [t] : [], [t]), h = ke(() => m.filter((e) => l(e)), [m, l]), _ = b((e) => {
1627
+ function On({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, getFileSrc: c, showPreview: l, fileInputRef: u, error: d, isInvalid: f, dir: p = "rtl" }) {
1628
+ let m = Ae(() => Array.isArray(t) ? t : t ? [t] : [], [t]), h = Ae(() => m.filter((e) => l(e)), [m, l]), g = b((e) => {
1629
1629
  n(e), e.target && (e.target.value = "");
1630
1630
  }, [n]), v = b((e) => {
1631
- let t = En(e), n = c(e);
1631
+ let t = Dn(e), n = c(e);
1632
1632
  return t ? /* @__PURE__ */ o("div", {
1633
1633
  className: "flex flex-col items-center justify-center w-full h-full bg-muted/30",
1634
- children: [/* @__PURE__ */ a(ee, { className: "h-12 w-12 text-red-500 mb-2" }), /* @__PURE__ */ a("span", {
1634
+ children: [/* @__PURE__ */ a(te, { className: "h-12 w-12 text-red-500 mb-2" }), /* @__PURE__ */ a("span", {
1635
1635
  className: "text-[10px] font-medium text-muted-foreground px-2 truncate w-full text-center",
1636
1636
  children: "PDF Document"
1637
1637
  })]
@@ -1651,33 +1651,33 @@ function Dn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, ge
1651
1651
  }),
1652
1652
  h.length > 0 ? /* @__PURE__ */ o("div", {
1653
1653
  className: "space-y-2 max-w-100 mt-3",
1654
- children: [/* @__PURE__ */ o(xn, {
1654
+ children: [/* @__PURE__ */ o(Sn, {
1655
1655
  opts: {
1656
1656
  direction: p,
1657
1657
  align: "start",
1658
1658
  dragFree: !0
1659
1659
  },
1660
1660
  className: "w-full relative group",
1661
- children: [/* @__PURE__ */ a(Sn, { children: h.map((e, t) => {
1661
+ children: [/* @__PURE__ */ a(Cn, { children: h.map((e, t) => {
1662
1662
  let n = e.url || (e.base64File ? e.base64File.substring(0, 40) : `fallback-key-${t}`), i = m.indexOf(e);
1663
- return /* @__PURE__ */ a(Cn, {
1663
+ return /* @__PURE__ */ a(wn, {
1664
1664
  className: "basis-full",
1665
1665
  children: /* @__PURE__ */ a("div", {
1666
1666
  className: "p-1",
1667
- children: /* @__PURE__ */ a(fn, {
1667
+ children: /* @__PURE__ */ a(pn, {
1668
1668
  className: "relative group overflow-hidden border-2 aspect-video flex items-center justify-center bg-background shadow-sm",
1669
- children: /* @__PURE__ */ o(_n, {
1669
+ children: /* @__PURE__ */ o(vn, {
1670
1670
  className: "p-0 w-full h-full flex items-center justify-center",
1671
- children: [/* @__PURE__ */ o(I, { children: [/* @__PURE__ */ a(lt, {
1671
+ children: [/* @__PURE__ */ o(I, { children: [/* @__PURE__ */ a(ut, {
1672
1672
  asChild: !0,
1673
1673
  children: /* @__PURE__ */ o("div", {
1674
1674
  className: "cursor-zoom-in w-full h-full relative group",
1675
1675
  children: [v(e), /* @__PURE__ */ a("div", {
1676
1676
  className: "absolute inset-0 bg-black/20 opacity-0 group-hover:opacity-100 transition-opacity flex items-center justify-center",
1677
- children: /* @__PURE__ */ a(oe, { className: "text-white w-6 h-6" })
1677
+ children: /* @__PURE__ */ a(se, { className: "text-white w-6 h-6" })
1678
1678
  })]
1679
1679
  })
1680
- }), /* @__PURE__ */ a(pt, {
1680
+ }), /* @__PURE__ */ a(mt, {
1681
1681
  className: "sm:max-w-[80vw] sm:w-[80vw] sm:h-[80vh] p-0 bg-background/95 border-none shadow-2xl overflow-hidden flex items-center justify-center",
1682
1682
  children: e.contentType === "application/pdf" || e.extension?.toLowerCase() === ".pdf" ? /* @__PURE__ */ a("iframe", {
1683
1683
  src: c(e),
@@ -1701,7 +1701,7 @@ function Dn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, ge
1701
1701
  t.stopPropagation(), r(i, e);
1702
1702
  },
1703
1703
  "aria-label": "Remove file",
1704
- children: /* @__PURE__ */ a(Se, { className: "h-4 w-4" })
1704
+ children: /* @__PURE__ */ a(Ce, { className: "h-4 w-4" })
1705
1705
  }), /* @__PURE__ */ a(F, {
1706
1706
  type: "button",
1707
1707
  size: "icon",
@@ -1711,27 +1711,27 @@ function Dn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, ge
1711
1711
  t.stopPropagation(), s(t, e);
1712
1712
  },
1713
1713
  "aria-label": "Download file",
1714
- children: /* @__PURE__ */ a(g, { className: "h-4 w-4" })
1714
+ children: /* @__PURE__ */ a(_, { className: "h-4 w-4" })
1715
1715
  })]
1716
1716
  })]
1717
1717
  })
1718
1718
  })
1719
1719
  })
1720
1720
  }, n);
1721
- }) }), h.length > 1 && /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(wn, { className: "absolute right-2 top-1/2 -translate-y-1/2 h-8 w-8 rounded-full z-40 bg-background/80 hover:bg-background" }), /* @__PURE__ */ a(Tn, { className: "absolute left-2 top-1/2 -translate-y-1/2 h-8 w-8 rounded-full z-40 bg-background/80 hover:bg-background" })] })]
1721
+ }) }), h.length > 1 && /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(Tn, { className: "absolute right-2 top-1/2 -translate-y-1/2 h-8 w-8 rounded-full z-40 bg-background/80 hover:bg-background" }), /* @__PURE__ */ a(En, { className: "absolute left-2 top-1/2 -translate-y-1/2 h-8 w-8 rounded-full z-40 bg-background/80 hover:bg-background" })] })]
1722
1722
  }), /* @__PURE__ */ o(F, {
1723
1723
  type: "button",
1724
1724
  variant: "outline",
1725
1725
  size: "sm",
1726
1726
  className: "w-full text-[10px] h-8 border-dashed border-2 hover:bg-muted",
1727
1727
  onClick: () => u.current?.click(),
1728
- children: [/* @__PURE__ */ a(xe, { className: "ml-2 h-4 w-4" }), "تغيير / إضافة صورة"]
1728
+ children: [/* @__PURE__ */ a(Se, { className: "ml-2 h-4 w-4" }), "تغيير / إضافة صورة"]
1729
1729
  })]
1730
1730
  }) : /* @__PURE__ */ o("div", {
1731
1731
  onClick: () => u.current?.click(),
1732
1732
  className: P("flex flex-col items-center justify-center w-100 mt-3 h-50 border-2 border-dashed rounded-md cursor-pointer hover:bg-muted/50 transition-colors bg-muted/5", f && "border-red-500 bg-red-50"),
1733
1733
  children: [
1734
- /* @__PURE__ */ a(xe, { className: "h-8 w-8 text-muted-foreground mb-2" }),
1734
+ /* @__PURE__ */ a(Se, { className: "h-8 w-8 text-muted-foreground mb-2" }),
1735
1735
  /* @__PURE__ */ a("span", {
1736
1736
  className: "text-xs text-muted-foreground font-medium",
1737
1737
  children: "ارفع الملفات"
@@ -1751,7 +1751,7 @@ function Dn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, ge
1751
1751
  ref: u,
1752
1752
  className: "hidden",
1753
1753
  accept: "image/jpeg,image/png,image/gif,application/pdf",
1754
- onChange: _,
1754
+ onChange: g,
1755
1755
  multiple: !0
1756
1756
  })
1757
1757
  ]
@@ -1759,7 +1759,7 @@ function Dn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, ge
1759
1759
  }
1760
1760
  //#endregion
1761
1761
  //#region src/components/pure/textarea.tsx
1762
- function On({ className: e, ...t }) {
1762
+ function kn({ className: e, ...t }) {
1763
1763
  return /* @__PURE__ */ a("textarea", {
1764
1764
  "data-slot": "textarea",
1765
1765
  className: P("border-input dark:bg-input/30 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 disabled:bg-input/50 dark:disabled:bg-input/80 rounded-lg border bg-transparent px-2.5 py-2 text-base transition-colors focus-visible:ring-3 aria-invalid:ring-3 md:text-sm placeholder:text-muted-foreground flex field-sizing-content min-h-16 w-full outline-none disabled:cursor-not-allowed disabled:opacity-50", e),
@@ -1768,21 +1768,21 @@ function On({ className: e, ...t }) {
1768
1768
  }
1769
1769
  //#endregion
1770
1770
  //#region src/components/custom/inputs/textAreaInput.tsx
1771
- function kn({ isInvalid: e, className: t, ...n }) {
1772
- return /* @__PURE__ */ a(On, {
1771
+ function An({ isInvalid: e, className: t, ...n }) {
1772
+ return /* @__PURE__ */ a(kn, {
1773
1773
  ...n,
1774
1774
  className: P(t, e && "border-red-600 focus-visible:ring-red-600")
1775
1775
  });
1776
1776
  }
1777
1777
  //#endregion
1778
1778
  //#region src/components/custom/fields/textAreaField.tsx
1779
- function An({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1779
+ function jn({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1780
1780
  return /* @__PURE__ */ a(R, {
1781
1781
  label: e,
1782
1782
  error: t,
1783
1783
  isInvalid: n,
1784
1784
  required: r,
1785
- children: /* @__PURE__ */ a(kn, {
1785
+ children: /* @__PURE__ */ a(An, {
1786
1786
  ...i,
1787
1787
  isInvalid: n
1788
1788
  })
@@ -1790,16 +1790,16 @@ function An({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1790
1790
  }
1791
1791
  //#endregion
1792
1792
  //#region src/components/custom/fields/textField.tsx
1793
- function jn(e) {
1794
- return /* @__PURE__ */ a(Jt, {
1793
+ function Mn(e) {
1794
+ return /* @__PURE__ */ a(Yt, {
1795
1795
  ...e,
1796
1796
  type: "text"
1797
1797
  });
1798
1798
  }
1799
1799
  //#endregion
1800
1800
  //#region src/components/custom/images/lightbox.tsx
1801
- function Mn({ srcLight: e, srcDark: t, alt: n, onClose: r }) {
1802
- return Oe(() => {
1801
+ function Nn({ srcLight: e, srcDark: t, alt: n, onClose: r }) {
1802
+ return ke(() => {
1803
1803
  let e = (e) => e.key === "Escape" && r();
1804
1804
  return window.addEventListener("keydown", e), document.body.style.overflow = "hidden", () => {
1805
1805
  window.removeEventListener("keydown", e), document.body.style.overflow = "";
@@ -1811,7 +1811,7 @@ function Mn({ srcLight: e, srcDark: t, alt: n, onClose: r }) {
1811
1811
  className: "absolute top-4 left-4 rounded-full bg-muted p-2 text-foreground hover:bg-accent transition-colors",
1812
1812
  onClick: r,
1813
1813
  "aria-label": "إغلاق",
1814
- children: /* @__PURE__ */ a(Se, { className: "h-5 w-5" })
1814
+ children: /* @__PURE__ */ a(Ce, { className: "h-5 w-5" })
1815
1815
  }), /* @__PURE__ */ o("div", {
1816
1816
  className: "relative max-h-full max-w-6xl w-full overflow-hidden rounded-xl border border-border shadow-2xl",
1817
1817
  onClick: (e) => e.stopPropagation(),
@@ -1829,7 +1829,7 @@ function Mn({ srcLight: e, srcDark: t, alt: n, onClose: r }) {
1829
1829
  }
1830
1830
  //#endregion
1831
1831
  //#region src/components/custom/images/zoomableImage.tsx
1832
- function Nn({ srcLight: e, srcDark: t, alt: n, className: r, wrapperClassName: i, onOpen: s }) {
1832
+ function Pn({ srcLight: e, srcDark: t, alt: n, className: r, wrapperClassName: i, onOpen: s }) {
1833
1833
  return /* @__PURE__ */ o("div", {
1834
1834
  className: `group/zoom relative cursor-zoom-in overflow-hidden ${i ?? ""}`,
1835
1835
  onClick: () => s(e, t, n),
@@ -1839,7 +1839,7 @@ function Nn({ srcLight: e, srcDark: t, alt: n, className: r, wrapperClassName: i
1839
1839
  className: "absolute inset-0 z-10 flex items-center justify-center opacity-0 transition-opacity duration-200 group-hover/zoom:opacity-100 bg-foreground/10",
1840
1840
  children: /* @__PURE__ */ o("div", {
1841
1841
  className: "flex items-center gap-1.5 rounded-full bg-background/80 px-3 py-1.5 text-xs font-medium text-foreground shadow backdrop-blur-sm",
1842
- children: [/* @__PURE__ */ a(we, { className: "h-3.5 w-3.5" }), "تكبير"]
1842
+ children: [/* @__PURE__ */ a(Te, { className: "h-3.5 w-3.5" }), "تكبير"]
1843
1843
  })
1844
1844
  }),
1845
1845
  /* @__PURE__ */ a("img", {
@@ -1857,8 +1857,8 @@ function Nn({ srcLight: e, srcDark: t, alt: n, className: r, wrapperClassName: i
1857
1857
  }
1858
1858
  //#endregion
1859
1859
  //#region src/components/custom/inputs/searchInput.tsx
1860
- function Pn({ columnsNames: e, onSearch: t }) {
1861
- let [n, r] = x(""), [i, s] = x(e[0]?.value || ""), c = Be((e, n) => {
1860
+ function Fn({ columnsNames: e, onSearch: t }) {
1861
+ let [n, r] = x(""), [i, s] = x(e[0]?.value || ""), c = Ve((e, n) => {
1862
1862
  e.trim() ? t({
1863
1863
  value: e,
1864
1864
  columnName: n
@@ -1868,22 +1868,22 @@ function Pn({ columnsNames: e, onSearch: t }) {
1868
1868
  className: "p-3 rounded-t-xl border-x border-t flex flex-col sm:flex-row gap-4",
1869
1869
  children: /* @__PURE__ */ o("div", {
1870
1870
  className: "relative w-full flex gap-2",
1871
- children: [e.length > 1 && /* @__PURE__ */ o($t, {
1871
+ children: [e.length > 1 && /* @__PURE__ */ o(en, {
1872
1872
  dir: "rtl",
1873
1873
  value: i,
1874
1874
  onValueChange: (e) => {
1875
1875
  s(e), n.trim() && c(n, e);
1876
1876
  },
1877
- children: [/* @__PURE__ */ a(nn, {
1877
+ children: [/* @__PURE__ */ a(rn, {
1878
1878
  className: "bg-secondary border-none",
1879
- children: /* @__PURE__ */ a(tn, { placeholder: "اختر العمود" })
1880
- }), /* @__PURE__ */ a(rn, { children: e.map((e) => /* @__PURE__ */ a(on, {
1879
+ children: /* @__PURE__ */ a(nn, { placeholder: "اختر العمود" })
1880
+ }), /* @__PURE__ */ a(an, { children: e.map((e) => /* @__PURE__ */ a(sn, {
1881
1881
  value: e.value,
1882
1882
  children: e.label
1883
1883
  }, e.value)) })]
1884
1884
  }), /* @__PURE__ */ o("div", {
1885
1885
  className: "relative flex-1",
1886
- children: [/* @__PURE__ */ a(ge, { className: "absolute right-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ a(z, {
1886
+ children: [/* @__PURE__ */ a(_e, { className: "absolute right-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ a(z, {
1887
1887
  value: n,
1888
1888
  onChange: (e) => {
1889
1889
  let n = e.target.value;
@@ -1898,7 +1898,7 @@ function Pn({ columnsNames: e, onSearch: t }) {
1898
1898
  }
1899
1899
  //#endregion
1900
1900
  //#region src/components/pure/table.tsx
1901
- function Fn({ className: e, ...t }) {
1901
+ function In({ className: e, ...t }) {
1902
1902
  return /* @__PURE__ */ a("div", {
1903
1903
  "data-slot": "table-container",
1904
1904
  className: "relative w-full overflow-x-auto",
@@ -1909,49 +1909,49 @@ function Fn({ className: e, ...t }) {
1909
1909
  })
1910
1910
  });
1911
1911
  }
1912
- function In({ className: e, ...t }) {
1912
+ function Ln({ className: e, ...t }) {
1913
1913
  return /* @__PURE__ */ a("thead", {
1914
1914
  "data-slot": "table-header",
1915
1915
  className: P("[&_tr]:border-b", e),
1916
1916
  ...t
1917
1917
  });
1918
1918
  }
1919
- function Ln({ className: e, ...t }) {
1919
+ function Rn({ className: e, ...t }) {
1920
1920
  return /* @__PURE__ */ a("tbody", {
1921
1921
  "data-slot": "table-body",
1922
1922
  className: P("[&_tr:last-child]:border-0", e),
1923
1923
  ...t
1924
1924
  });
1925
1925
  }
1926
- function Rn({ className: e, ...t }) {
1926
+ function zn({ className: e, ...t }) {
1927
1927
  return /* @__PURE__ */ a("tfoot", {
1928
1928
  "data-slot": "table-footer",
1929
1929
  className: P("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", e),
1930
1930
  ...t
1931
1931
  });
1932
1932
  }
1933
- function zn({ className: e, ...t }) {
1933
+ function Bn({ className: e, ...t }) {
1934
1934
  return /* @__PURE__ */ a("tr", {
1935
1935
  "data-slot": "table-row",
1936
1936
  className: P("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", e),
1937
1937
  ...t
1938
1938
  });
1939
1939
  }
1940
- function Bn({ className: e, ...t }) {
1940
+ function Vn({ className: e, ...t }) {
1941
1941
  return /* @__PURE__ */ a("th", {
1942
1942
  "data-slot": "table-head",
1943
1943
  className: P("text-foreground h-10 px-2 text-start align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pe-0", e),
1944
1944
  ...t
1945
1945
  });
1946
1946
  }
1947
- function Vn({ className: e, ...t }) {
1947
+ function Hn({ className: e, ...t }) {
1948
1948
  return /* @__PURE__ */ a("td", {
1949
1949
  "data-slot": "table-cell",
1950
1950
  className: P("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pe-0", e),
1951
1951
  ...t
1952
1952
  });
1953
1953
  }
1954
- function Hn({ className: e, ...t }) {
1954
+ function Un({ className: e, ...t }) {
1955
1955
  return /* @__PURE__ */ a("caption", {
1956
1956
  "data-slot": "table-caption",
1957
1957
  className: P("text-muted-foreground mt-4 text-sm", e),
@@ -1960,53 +1960,53 @@ function Hn({ className: e, ...t }) {
1960
1960
  }
1961
1961
  //#endregion
1962
1962
  //#region src/components/custom/status/empty.tsx
1963
- function Un({ className: e, ...t }) {
1963
+ function Wn({ className: e, ...t }) {
1964
1964
  return /* @__PURE__ */ a("div", {
1965
1965
  "data-slot": "empty",
1966
1966
  className: P("gap-4 rounded-xl border-dashed p-6 flex w-full min-w-0 flex-1 flex-col items-center justify-center text-center text-balance", e),
1967
1967
  ...t
1968
1968
  });
1969
1969
  }
1970
- function Wn({ className: e, ...t }) {
1970
+ function Gn({ className: e, ...t }) {
1971
1971
  return /* @__PURE__ */ a("div", {
1972
1972
  "data-slot": "empty-header",
1973
1973
  className: P("gap-2 flex max-w-sm flex-col items-center", e),
1974
1974
  ...t
1975
1975
  });
1976
1976
  }
1977
- var Gn = S("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0", {
1977
+ var Kn = S("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0", {
1978
1978
  variants: { variant: {
1979
1979
  default: "bg-transparent",
1980
1980
  icon: "bg-muted text-foreground flex size-8 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-4"
1981
1981
  } },
1982
1982
  defaultVariants: { variant: "default" }
1983
1983
  });
1984
- function Kn({ className: e, variant: t = "default", ...n }) {
1984
+ function qn({ className: e, variant: t = "default", ...n }) {
1985
1985
  return /* @__PURE__ */ a("div", {
1986
1986
  "data-slot": "empty-icon",
1987
1987
  "data-variant": t,
1988
- className: P(Gn({
1988
+ className: P(Kn({
1989
1989
  variant: t,
1990
1990
  className: e
1991
1991
  })),
1992
1992
  ...n
1993
1993
  });
1994
1994
  }
1995
- function qn({ className: e, ...t }) {
1995
+ function Jn({ className: e, ...t }) {
1996
1996
  return /* @__PURE__ */ a("div", {
1997
1997
  "data-slot": "empty-title",
1998
1998
  className: P("text-sm font-medium tracking-tight", e),
1999
1999
  ...t
2000
2000
  });
2001
2001
  }
2002
- function Jn({ className: e, ...t }) {
2002
+ function Yn({ className: e, ...t }) {
2003
2003
  return /* @__PURE__ */ a("div", {
2004
2004
  "data-slot": "empty-description",
2005
2005
  className: P("text-sm/relaxed text-muted-foreground [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", e),
2006
2006
  ...t
2007
2007
  });
2008
2008
  }
2009
- function Yn({ className: e, ...t }) {
2009
+ function Xn({ className: e, ...t }) {
2010
2010
  return /* @__PURE__ */ a("div", {
2011
2011
  "data-slot": "empty-content",
2012
2012
  className: P("gap-2.5 text-sm flex w-full max-w-sm min-w-0 flex-col items-center text-balance", e),
@@ -2015,91 +2015,91 @@ function Yn({ className: e, ...t }) {
2015
2015
  }
2016
2016
  //#endregion
2017
2017
  //#region src/components/custom/table/crudEmptyTablePreview.tsx
2018
- function Xn({ mode: e }) {
2019
- return a(e === "loading" ? Zn : e === "error" ? $n : Qn, {});
2018
+ function Zn({ mode: e }) {
2019
+ return a(e === "loading" ? Qn : e === "error" ? er : $n, {});
2020
2020
  }
2021
- function Zn() {
2022
- return /* @__PURE__ */ o(Un, { children: [/* @__PURE__ */ o(Wn, { children: [
2023
- /* @__PURE__ */ a(Kn, {
2021
+ function Qn() {
2022
+ return /* @__PURE__ */ o(Wn, { children: [/* @__PURE__ */ o(Gn, { children: [
2023
+ /* @__PURE__ */ a(qn, {
2024
2024
  variant: "icon",
2025
- children: /* @__PURE__ */ a(ye, {})
2025
+ children: /* @__PURE__ */ a(be, {})
2026
2026
  }),
2027
- /* @__PURE__ */ a(qn, { children: "الرجاء الانتظار" }),
2028
- /* @__PURE__ */ a(Jn, { children: "يتم تحميل البيانات المطلوبة" })
2029
- ] }), /* @__PURE__ */ a(Yn, { children: /* @__PURE__ */ a(ie, { className: "animate-spin duration-700" }) })] });
2027
+ /* @__PURE__ */ a(Jn, { children: "الرجاء الانتظار" }),
2028
+ /* @__PURE__ */ a(Yn, { children: "يتم تحميل البيانات المطلوبة" })
2029
+ ] }), /* @__PURE__ */ a(Xn, { children: /* @__PURE__ */ a(ae, { className: "animate-spin duration-700" }) })] });
2030
2030
  }
2031
- function Qn() {
2032
- return /* @__PURE__ */ a(Un, { children: /* @__PURE__ */ o(Wn, { children: [
2033
- /* @__PURE__ */ a(Kn, {
2031
+ function $n() {
2032
+ return /* @__PURE__ */ a(Wn, { children: /* @__PURE__ */ o(Gn, { children: [
2033
+ /* @__PURE__ */ a(qn, {
2034
2034
  variant: "icon",
2035
- children: /* @__PURE__ */ a(ye, {})
2035
+ children: /* @__PURE__ */ a(be, {})
2036
2036
  }),
2037
- /* @__PURE__ */ a(qn, { children: "لا توجد بيانات لعرضها" }),
2038
- /* @__PURE__ */ a(Jn, { children: "هذا الجدول فارغ ولا يحتوي على بيانات للعرض" })
2037
+ /* @__PURE__ */ a(Jn, { children: "لا توجد بيانات لعرضها" }),
2038
+ /* @__PURE__ */ a(Yn, { children: "هذا الجدول فارغ ولا يحتوي على بيانات للعرض" })
2039
2039
  ] }) });
2040
2040
  }
2041
- function $n() {
2042
- return /* @__PURE__ */ o(Un, { children: [/* @__PURE__ */ o(Wn, { children: [
2043
- /* @__PURE__ */ a(Kn, {
2041
+ function er() {
2042
+ return /* @__PURE__ */ o(Wn, { children: [/* @__PURE__ */ o(Gn, { children: [
2043
+ /* @__PURE__ */ a(qn, {
2044
2044
  variant: "icon",
2045
- children: /* @__PURE__ */ a(ye, {})
2045
+ children: /* @__PURE__ */ a(be, {})
2046
2046
  }),
2047
- /* @__PURE__ */ a(qn, { children: "حدث خطأ ما" }),
2048
- /* @__PURE__ */ a(Jn, { children: "حدث خطأ اثناء جلب البيانات الرجاء التحقق من اتصالك الانترنت او اتصل بخدمة العملاء لدينا في حال تكراره" })
2049
- ] }), /* @__PURE__ */ a(Yn, { children: /* @__PURE__ */ a(he, {}) })] });
2047
+ /* @__PURE__ */ a(Jn, { children: "حدث خطأ ما" }),
2048
+ /* @__PURE__ */ a(Yn, { children: "حدث خطأ اثناء جلب البيانات الرجاء التحقق من اتصالك الانترنت او اتصل بخدمة العملاء لدينا في حال تكراره" })
2049
+ ] }), /* @__PURE__ */ a(Xn, { children: /* @__PURE__ */ a(ge, {}) })] });
2050
2050
  }
2051
2051
  //#endregion
2052
2052
  //#region src/components/custom/table/crudTable.tsx
2053
- function er({ state: e, children: t }) {
2054
- return e.isLoading ? /* @__PURE__ */ a(Xn, { mode: "loading" }) : e.entities?.count == 0 ? /* @__PURE__ */ a(Xn, { mode: "empty" }) : e.entities == null ? /* @__PURE__ */ a(Xn, { mode: "loading" }) : /* @__PURE__ */ a(Fn, { children: t });
2053
+ function tr({ state: e, children: t }) {
2054
+ return e.isLoading ? /* @__PURE__ */ a(Zn, { mode: "loading" }) : e.entities?.count == 0 ? /* @__PURE__ */ a(Zn, { mode: "empty" }) : e.entities == null ? /* @__PURE__ */ a(Zn, { mode: "loading" }) : /* @__PURE__ */ a(In, { children: t });
2055
2055
  }
2056
2056
  //#endregion
2057
2057
  //#region src/components/pure/context-menu.tsx
2058
- function tr({ ...e }) {
2058
+ function nr({ ...e }) {
2059
2059
  return /* @__PURE__ */ a(E.Root, {
2060
2060
  "data-slot": "context-menu",
2061
2061
  ...e
2062
2062
  });
2063
2063
  }
2064
- function nr({ className: e, ...t }) {
2064
+ function rr({ className: e, ...t }) {
2065
2065
  return /* @__PURE__ */ a(E.Trigger, {
2066
2066
  "data-slot": "context-menu-trigger",
2067
2067
  className: P("select-none", e),
2068
2068
  ...t
2069
2069
  });
2070
2070
  }
2071
- function rr({ ...e }) {
2071
+ function ir({ ...e }) {
2072
2072
  return /* @__PURE__ */ a(E.Group, {
2073
2073
  "data-slot": "context-menu-group",
2074
2074
  ...e
2075
2075
  });
2076
2076
  }
2077
- function ir({ ...e }) {
2077
+ function ar({ ...e }) {
2078
2078
  return /* @__PURE__ */ a(E.Portal, {
2079
2079
  "data-slot": "context-menu-portal",
2080
2080
  ...e
2081
2081
  });
2082
2082
  }
2083
- function ar({ ...e }) {
2083
+ function or({ ...e }) {
2084
2084
  return /* @__PURE__ */ a(E.Sub, {
2085
2085
  "data-slot": "context-menu-sub",
2086
2086
  ...e
2087
2087
  });
2088
2088
  }
2089
- function or({ ...e }) {
2089
+ function sr({ ...e }) {
2090
2090
  return /* @__PURE__ */ a(E.RadioGroup, {
2091
2091
  "data-slot": "context-menu-radio-group",
2092
2092
  ...e
2093
2093
  });
2094
2094
  }
2095
- function sr({ className: e, ...t }) {
2095
+ function cr({ className: e, ...t }) {
2096
2096
  return /* @__PURE__ */ a(E.Portal, { children: /* @__PURE__ */ a(E.Content, {
2097
2097
  "data-slot": "context-menu-content",
2098
2098
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-36 rounded-lg p-1 shadow-md ring-1 duration-100 z-50 max-h-(--radix-context-menu-content-available-height) origin-(--radix-context-menu-content-transform-origin) overflow-x-hidden overflow-y-auto", e),
2099
2099
  ...t
2100
2100
  }) });
2101
2101
  }
2102
- function cr({ className: e, inset: t, variant: n = "default", ...r }) {
2102
+ function lr({ className: e, inset: t, variant: n = "default", ...r }) {
2103
2103
  return /* @__PURE__ */ a(E.Item, {
2104
2104
  "data-slot": "context-menu-item",
2105
2105
  "data-inset": t,
@@ -2108,23 +2108,23 @@ function cr({ className: e, inset: t, variant: n = "default", ...r }) {
2108
2108
  ...r
2109
2109
  });
2110
2110
  }
2111
- function lr({ className: e, inset: t, children: n, ...r }) {
2111
+ function ur({ className: e, inset: t, children: n, ...r }) {
2112
2112
  return /* @__PURE__ */ o(E.SubTrigger, {
2113
2113
  "data-slot": "context-menu-sub-trigger",
2114
2114
  "data-inset": t,
2115
2115
  className: P("focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground gap-1.5 rounded-md px-1.5 py-1 text-sm data-inset:ps-7 [&_svg:not([class*='size-'])]:size-4 flex cursor-default items-center outline-hidden select-none [&_svg]:pointer-events-none [&_svg]:shrink-0", e),
2116
2116
  ...r,
2117
- children: [n, /* @__PURE__ */ a(f, { className: "rtl:rotate-180 ms-auto" })]
2117
+ children: [n, /* @__PURE__ */ a(p, { className: "rtl:rotate-180 ms-auto" })]
2118
2118
  });
2119
2119
  }
2120
- function ur({ className: e, ...t }) {
2120
+ function dr({ className: e, ...t }) {
2121
2121
  return /* @__PURE__ */ a(E.SubContent, {
2122
2122
  "data-slot": "context-menu-sub-content",
2123
2123
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 bg-popover text-popover-foreground min-w-32 rounded-lg border p-1 shadow-lg duration-100 z-50 origin-(--radix-context-menu-content-transform-origin) overflow-hidden", e),
2124
2124
  ...t
2125
2125
  });
2126
2126
  }
2127
- function dr({ className: e, children: t, checked: n, inset: r, ...i }) {
2127
+ function fr({ className: e, children: t, checked: n, inset: r, ...i }) {
2128
2128
  return /* @__PURE__ */ o(E.CheckboxItem, {
2129
2129
  "data-slot": "context-menu-checkbox-item",
2130
2130
  "data-inset": r,
@@ -2137,7 +2137,7 @@ function dr({ className: e, children: t, checked: n, inset: r, ...i }) {
2137
2137
  }), t]
2138
2138
  });
2139
2139
  }
2140
- function fr({ className: e, children: t, inset: n, ...r }) {
2140
+ function pr({ className: e, children: t, inset: n, ...r }) {
2141
2141
  return /* @__PURE__ */ o(E.RadioItem, {
2142
2142
  "data-slot": "context-menu-radio-item",
2143
2143
  "data-inset": n,
@@ -2149,7 +2149,7 @@ function fr({ className: e, children: t, inset: n, ...r }) {
2149
2149
  }), t]
2150
2150
  });
2151
2151
  }
2152
- function pr({ className: e, inset: t, ...n }) {
2152
+ function mr({ className: e, inset: t, ...n }) {
2153
2153
  return /* @__PURE__ */ a(E.Label, {
2154
2154
  "data-slot": "context-menu-label",
2155
2155
  "data-inset": t,
@@ -2157,14 +2157,14 @@ function pr({ className: e, inset: t, ...n }) {
2157
2157
  ...n
2158
2158
  });
2159
2159
  }
2160
- function mr({ className: e, ...t }) {
2160
+ function hr({ className: e, ...t }) {
2161
2161
  return /* @__PURE__ */ a(E.Separator, {
2162
2162
  "data-slot": "context-menu-separator",
2163
2163
  className: P("bg-border -mx-1 my-1 h-px", e),
2164
2164
  ...t
2165
2165
  });
2166
2166
  }
2167
- function hr({ className: e, ...t }) {
2167
+ function gr({ className: e, ...t }) {
2168
2168
  return /* @__PURE__ */ a("span", {
2169
2169
  "data-slot": "context-menu-shortcut",
2170
2170
  className: P("text-muted-foreground group-focus/context-menu-item:text-accent-foreground ms-auto text-xs tracking-widest", e),
@@ -2173,14 +2173,14 @@ function hr({ className: e, ...t }) {
2173
2173
  }
2174
2174
  //#endregion
2175
2175
  //#region src/components/custom/table/crudTableBodyRow.tsx
2176
- function gr({ tableRows: e, dropdownMenu: t, contextMenuContent: n }) {
2177
- return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ o(tr, {
2176
+ function _r({ tableRows: e, dropdownMenu: t, contextMenuContent: n }) {
2177
+ return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ o(nr, {
2178
2178
  dir: "rtl",
2179
- children: [/* @__PURE__ */ a(nr, {
2179
+ children: [/* @__PURE__ */ a(rr, {
2180
2180
  asChild: !0,
2181
- children: /* @__PURE__ */ o(zn, {
2181
+ children: /* @__PURE__ */ o(Bn, {
2182
2182
  className: "hover:bg-secondary/50 transition-colors",
2183
- children: [/* @__PURE__ */ a(Vn, { children: t }), e.map((e, t) => /* @__PURE__ */ a(Vn, { children: /* @__PURE__ */ a("span", {
2183
+ children: [/* @__PURE__ */ a(Hn, { children: t }), e.map((e, t) => /* @__PURE__ */ a(Hn, { children: /* @__PURE__ */ a("span", {
2184
2184
  className: e.rowStyles,
2185
2185
  children: e.rowName
2186
2186
  }) }, t))]
@@ -2190,18 +2190,18 @@ function gr({ tableRows: e, dropdownMenu: t, contextMenuContent: n }) {
2190
2190
  }
2191
2191
  //#endregion
2192
2192
  //#region src/components/custom/table/crudTableCard.tsx
2193
- function _r({ cards: e }) {
2193
+ function vr({ cards: e }) {
2194
2194
  return /* @__PURE__ */ a("div", {
2195
2195
  className: "mb-5 grid grid-cols-1 sm:grid-cols-2 gap-5",
2196
- children: e.map((e, t) => /* @__PURE__ */ o(fn, {
2196
+ children: e.map((e, t) => /* @__PURE__ */ o(pn, {
2197
2197
  className: "shadow-sm",
2198
- children: [/* @__PURE__ */ o(pn, {
2198
+ children: [/* @__PURE__ */ o(mn, {
2199
2199
  className: "flex flex-row items-center justify-between space-y-0 pb-2",
2200
- children: [/* @__PURE__ */ a(mn, {
2200
+ children: [/* @__PURE__ */ a(hn, {
2201
2201
  className: "text-sm font-medium text-muted-foreground",
2202
2202
  children: e.title
2203
2203
  }), e.icon]
2204
- }), /* @__PURE__ */ a(_n, { children: /* @__PURE__ */ a("div", {
2204
+ }), /* @__PURE__ */ a(vn, { children: /* @__PURE__ */ a("div", {
2205
2205
  className: "text-2xl font-bold",
2206
2206
  children: e.data
2207
2207
  }) })]
@@ -2210,8 +2210,8 @@ function _r({ cards: e }) {
2210
2210
  }
2211
2211
  //#endregion
2212
2212
  //#region src/components/custom/table/crudTableHeader.tsx
2213
- function vr({ title: e, buttonTitle: t, createComp: n, isButtonVisible: r = !0 }) {
2214
- let [s, c] = x(!1), l = Te.isValidElement(n) ? Te.cloneElement(n, { onSuccess: (e) => {
2213
+ function yr({ title: e, buttonTitle: t, createComp: n, isButtonVisible: r = !0 }) {
2214
+ let [s, c] = x(!1), l = Ee.isValidElement(n) ? Ee.cloneElement(n, { onSuccess: (e) => {
2215
2215
  c(!1), n.props.onSuccess?.(e);
2216
2216
  } }) : n;
2217
2217
  return /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ o("div", {
@@ -2219,7 +2219,7 @@ function vr({ title: e, buttonTitle: t, createComp: n, isButtonVisible: r = !0 }
2219
2219
  children: [/* @__PURE__ */ a("div", { children: /* @__PURE__ */ a("h1", { children: e }) }), r && /* @__PURE__ */ o(F, {
2220
2220
  variant: "default",
2221
2221
  onClick: () => c(!0),
2222
- children: [/* @__PURE__ */ a(me, { className: "h-4 w-4" }), t]
2222
+ children: [/* @__PURE__ */ a(he, { className: "h-4 w-4" }), t]
2223
2223
  })]
2224
2224
  }), s && /* @__PURE__ */ a(I, {
2225
2225
  open: s,
@@ -2229,10 +2229,10 @@ function vr({ title: e, buttonTitle: t, createComp: n, isButtonVisible: r = !0 }
2229
2229
  }
2230
2230
  //#endregion
2231
2231
  //#region src/components/custom/table/crudTableHeaderRows.tsx
2232
- function yr({ tableHeadRows: e }) {
2233
- return /* @__PURE__ */ a(In, {
2232
+ function br({ tableHeadRows: e }) {
2233
+ return /* @__PURE__ */ a(Ln, {
2234
2234
  className: "bg-muted",
2235
- children: /* @__PURE__ */ a(zn, { children: e.map((e, t) => /* @__PURE__ */ a(Bn, {
2235
+ children: /* @__PURE__ */ a(Bn, { children: e.map((e, t) => /* @__PURE__ */ a(Vn, {
2236
2236
  className: e.rowStyles,
2237
2237
  children: e.rowName
2238
2238
  }, t)) })
@@ -2240,7 +2240,7 @@ function yr({ tableHeadRows: e }) {
2240
2240
  }
2241
2241
  //#endregion
2242
2242
  //#region src/components/pure/pagination.tsx
2243
- function br({ className: e, ...t }) {
2243
+ function xr({ className: e, ...t }) {
2244
2244
  return /* @__PURE__ */ a("nav", {
2245
2245
  role: "navigation",
2246
2246
  "aria-label": "pagination",
@@ -2249,20 +2249,20 @@ function br({ className: e, ...t }) {
2249
2249
  ...t
2250
2250
  });
2251
2251
  }
2252
- function xr({ className: e, ...t }) {
2252
+ function Sr({ className: e, ...t }) {
2253
2253
  return /* @__PURE__ */ a("ul", {
2254
2254
  "data-slot": "pagination-content",
2255
2255
  className: P("gap-0.5 flex items-center", e),
2256
2256
  ...t
2257
2257
  });
2258
2258
  }
2259
- function Sr({ ...e }) {
2259
+ function Cr({ ...e }) {
2260
2260
  return /* @__PURE__ */ a("li", {
2261
2261
  "data-slot": "pagination-item",
2262
2262
  ...e
2263
2263
  });
2264
2264
  }
2265
- function Cr({ className: e, isActive: t, size: n = "icon", ...r }) {
2265
+ function wr({ className: e, isActive: t, size: n = "icon", ...r }) {
2266
2266
  return /* @__PURE__ */ a(F, {
2267
2267
  asChild: !0,
2268
2268
  variant: t ? "outline" : "ghost",
@@ -2276,13 +2276,13 @@ function Cr({ className: e, isActive: t, size: n = "icon", ...r }) {
2276
2276
  })
2277
2277
  });
2278
2278
  }
2279
- function wr({ className: e, text: t = "Previous", ...n }) {
2280
- return /* @__PURE__ */ o(Cr, {
2279
+ function Tr({ className: e, text: t = "Previous", ...n }) {
2280
+ return /* @__PURE__ */ o(wr, {
2281
2281
  "aria-label": "Go to previous page",
2282
2282
  size: "default",
2283
2283
  className: P("ps-1.5!", e),
2284
2284
  ...n,
2285
- children: [/* @__PURE__ */ a(u, {
2285
+ children: [/* @__PURE__ */ a(d, {
2286
2286
  "data-icon": "inline-start",
2287
2287
  className: "rtl:rotate-180"
2288
2288
  }), /* @__PURE__ */ a("span", {
@@ -2291,8 +2291,8 @@ function wr({ className: e, text: t = "Previous", ...n }) {
2291
2291
  })]
2292
2292
  });
2293
2293
  }
2294
- function Tr({ className: e, text: t = "Next", ...n }) {
2295
- return /* @__PURE__ */ o(Cr, {
2294
+ function Er({ className: e, text: t = "Next", ...n }) {
2295
+ return /* @__PURE__ */ o(wr, {
2296
2296
  "aria-label": "Go to next page",
2297
2297
  size: "default",
2298
2298
  className: P("pe-1.5!", e),
@@ -2300,19 +2300,19 @@ function Tr({ className: e, text: t = "Next", ...n }) {
2300
2300
  children: [/* @__PURE__ */ a("span", {
2301
2301
  className: "hidden sm:block",
2302
2302
  children: t
2303
- }), /* @__PURE__ */ a(f, {
2303
+ }), /* @__PURE__ */ a(p, {
2304
2304
  "data-icon": "inline-end",
2305
2305
  className: "rtl:rotate-180"
2306
2306
  })]
2307
2307
  });
2308
2308
  }
2309
- function Er({ className: e, ...t }) {
2309
+ function Dr({ className: e, ...t }) {
2310
2310
  return /* @__PURE__ */ o("span", {
2311
2311
  "aria-hidden": !0,
2312
2312
  "data-slot": "pagination-ellipsis",
2313
2313
  className: P("size-8 [&_svg:not([class*='size-'])]:size-4 flex items-center justify-center", e),
2314
2314
  ...t,
2315
- children: [/* @__PURE__ */ a(le, {}), /* @__PURE__ */ a("span", {
2315
+ children: [/* @__PURE__ */ a(ue, {}), /* @__PURE__ */ a("span", {
2316
2316
  className: "sr-only",
2317
2317
  children: "More pages"
2318
2318
  })]
@@ -2320,25 +2320,25 @@ function Er({ className: e, ...t }) {
2320
2320
  }
2321
2321
  //#endregion
2322
2322
  //#region src/components/pure/dropdown-menu.tsx
2323
- function Dr({ ...e }) {
2323
+ function Or({ ...e }) {
2324
2324
  return /* @__PURE__ */ a(D.Root, {
2325
2325
  "data-slot": "dropdown-menu",
2326
2326
  ...e
2327
2327
  });
2328
2328
  }
2329
- function Or({ ...e }) {
2329
+ function kr({ ...e }) {
2330
2330
  return /* @__PURE__ */ a(D.Portal, {
2331
2331
  "data-slot": "dropdown-menu-portal",
2332
2332
  ...e
2333
2333
  });
2334
2334
  }
2335
- function kr({ ...e }) {
2335
+ function Ar({ ...e }) {
2336
2336
  return /* @__PURE__ */ a(D.Trigger, {
2337
2337
  "data-slot": "dropdown-menu-trigger",
2338
2338
  ...e
2339
2339
  });
2340
2340
  }
2341
- function Ar({ className: e, align: t = "start", sideOffset: n = 4, ...r }) {
2341
+ function jr({ className: e, align: t = "start", sideOffset: n = 4, ...r }) {
2342
2342
  return /* @__PURE__ */ a(D.Portal, { children: /* @__PURE__ */ a(D.Content, {
2343
2343
  "data-slot": "dropdown-menu-content",
2344
2344
  sideOffset: n,
@@ -2347,7 +2347,7 @@ function Ar({ className: e, align: t = "start", sideOffset: n = 4, ...r }) {
2347
2347
  ...r
2348
2348
  }) });
2349
2349
  }
2350
- function jr({ ...e }) {
2350
+ function Mr({ ...e }) {
2351
2351
  return /* @__PURE__ */ a(D.Group, {
2352
2352
  "data-slot": "dropdown-menu-group",
2353
2353
  ...e
@@ -2362,7 +2362,7 @@ function B({ className: e, inset: t, variant: n = "default", ...r }) {
2362
2362
  ...r
2363
2363
  });
2364
2364
  }
2365
- function Mr({ className: e, children: t, checked: n, inset: r, ...i }) {
2365
+ function Nr({ className: e, children: t, checked: n, inset: r, ...i }) {
2366
2366
  return /* @__PURE__ */ o(D.CheckboxItem, {
2367
2367
  "data-slot": "dropdown-menu-checkbox-item",
2368
2368
  "data-inset": r,
@@ -2376,13 +2376,13 @@ function Mr({ className: e, children: t, checked: n, inset: r, ...i }) {
2376
2376
  }), t]
2377
2377
  });
2378
2378
  }
2379
- function Nr({ ...e }) {
2379
+ function Pr({ ...e }) {
2380
2380
  return /* @__PURE__ */ a(D.RadioGroup, {
2381
2381
  "data-slot": "dropdown-menu-radio-group",
2382
2382
  ...e
2383
2383
  });
2384
2384
  }
2385
- function Pr({ className: e, children: t, inset: n, ...r }) {
2385
+ function Fr({ className: e, children: t, inset: n, ...r }) {
2386
2386
  return /* @__PURE__ */ o(D.RadioItem, {
2387
2387
  "data-slot": "dropdown-menu-radio-item",
2388
2388
  "data-inset": n,
@@ -2395,7 +2395,7 @@ function Pr({ className: e, children: t, inset: n, ...r }) {
2395
2395
  }), t]
2396
2396
  });
2397
2397
  }
2398
- function Fr({ className: e, inset: t, ...n }) {
2398
+ function Ir({ className: e, inset: t, ...n }) {
2399
2399
  return /* @__PURE__ */ a(D.Label, {
2400
2400
  "data-slot": "dropdown-menu-label",
2401
2401
  "data-inset": t,
@@ -2403,36 +2403,36 @@ function Fr({ className: e, inset: t, ...n }) {
2403
2403
  ...n
2404
2404
  });
2405
2405
  }
2406
- function Ir({ className: e, ...t }) {
2406
+ function Lr({ className: e, ...t }) {
2407
2407
  return /* @__PURE__ */ a(D.Separator, {
2408
2408
  "data-slot": "dropdown-menu-separator",
2409
2409
  className: P("bg-border -mx-1 my-1 h-px", e),
2410
2410
  ...t
2411
2411
  });
2412
2412
  }
2413
- function Lr({ className: e, ...t }) {
2413
+ function Rr({ className: e, ...t }) {
2414
2414
  return /* @__PURE__ */ a("span", {
2415
2415
  "data-slot": "dropdown-menu-shortcut",
2416
2416
  className: P("text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ms-auto text-xs tracking-widest", e),
2417
2417
  ...t
2418
2418
  });
2419
2419
  }
2420
- function Rr({ ...e }) {
2420
+ function zr({ ...e }) {
2421
2421
  return /* @__PURE__ */ a(D.Sub, {
2422
2422
  "data-slot": "dropdown-menu-sub",
2423
2423
  ...e
2424
2424
  });
2425
2425
  }
2426
- function zr({ className: e, inset: t, children: n, ...r }) {
2426
+ function Br({ className: e, inset: t, children: n, ...r }) {
2427
2427
  return /* @__PURE__ */ o(D.SubTrigger, {
2428
2428
  "data-slot": "dropdown-menu-sub-trigger",
2429
2429
  "data-inset": t,
2430
2430
  className: P("focus:bg-accent focus:text-accent-foreground data-open:bg-accent data-open:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground gap-1.5 rounded-md px-1.5 py-1 text-sm data-inset:ps-7 [&_svg:not([class*='size-'])]:size-4 flex cursor-default items-center outline-hidden select-none [&_svg]:pointer-events-none [&_svg]:shrink-0", e),
2431
2431
  ...r,
2432
- children: [n, /* @__PURE__ */ a(f, { className: "rtl:rotate-180 ms-auto" })]
2432
+ children: [n, /* @__PURE__ */ a(p, { className: "rtl:rotate-180 ms-auto" })]
2433
2433
  });
2434
2434
  }
2435
- function Br({ className: e, ...t }) {
2435
+ function Vr({ className: e, ...t }) {
2436
2436
  return /* @__PURE__ */ a(D.SubContent, {
2437
2437
  "data-slot": "dropdown-menu-sub-content",
2438
2438
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 ring-foreground/10 bg-popover text-popover-foreground min-w-[96px] rounded-md p-1 shadow-lg ring-1 duration-100 z-50 origin-(--radix-dropdown-menu-content-transform-origin) overflow-hidden", e),
@@ -2441,51 +2441,51 @@ function Br({ className: e, ...t }) {
2441
2441
  }
2442
2442
  //#endregion
2443
2443
  //#region src/hooks/use-mobile.ts
2444
- var Vr = 768;
2445
- function Hr() {
2444
+ var Hr = 768;
2445
+ function Ur() {
2446
2446
  let [e, t] = y.useState(void 0);
2447
2447
  return y.useEffect(() => {
2448
- let e = window.matchMedia(`(max-width: ${Vr - 1}px)`), n = () => {
2449
- t(window.innerWidth < Vr);
2448
+ let e = window.matchMedia(`(max-width: ${Hr - 1}px)`), n = () => {
2449
+ t(window.innerWidth < Hr);
2450
2450
  };
2451
- return e.addEventListener("change", n), t(window.innerWidth < Vr), () => e.removeEventListener("change", n);
2451
+ return e.addEventListener("change", n), t(window.innerWidth < Hr), () => e.removeEventListener("change", n);
2452
2452
  }, []), !!e;
2453
2453
  }
2454
2454
  //#endregion
2455
2455
  //#region src/components/pure/sheet.tsx
2456
- function Ur({ ...e }) {
2456
+ function Wr({ ...e }) {
2457
2457
  return /* @__PURE__ */ a(w.Root, {
2458
2458
  "data-slot": "sheet",
2459
2459
  ...e
2460
2460
  });
2461
2461
  }
2462
- function Wr({ ...e }) {
2462
+ function Gr({ ...e }) {
2463
2463
  return /* @__PURE__ */ a(w.Trigger, {
2464
2464
  "data-slot": "sheet-trigger",
2465
2465
  ...e
2466
2466
  });
2467
2467
  }
2468
- function Gr({ ...e }) {
2468
+ function Kr({ ...e }) {
2469
2469
  return /* @__PURE__ */ a(w.Close, {
2470
2470
  "data-slot": "sheet-close",
2471
2471
  ...e
2472
2472
  });
2473
2473
  }
2474
- function Kr({ ...e }) {
2474
+ function qr({ ...e }) {
2475
2475
  return /* @__PURE__ */ a(w.Portal, {
2476
2476
  "data-slot": "sheet-portal",
2477
2477
  ...e
2478
2478
  });
2479
2479
  }
2480
- function qr({ className: e, ...t }) {
2480
+ function Jr({ className: e, ...t }) {
2481
2481
  return /* @__PURE__ */ a(w.Overlay, {
2482
2482
  "data-slot": "sheet-overlay",
2483
2483
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 data-ending-style:opacity-0 data-starting-style:opacity-0 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", e),
2484
2484
  ...t
2485
2485
  });
2486
2486
  }
2487
- function Jr({ className: e, children: t, side: n = "right", showCloseButton: r = !0, ...i }) {
2488
- return /* @__PURE__ */ o(Kr, { children: [/* @__PURE__ */ a(qr, {}), /* @__PURE__ */ o(w.Content, {
2487
+ function Yr({ className: e, children: t, side: n = "right", showCloseButton: r = !0, ...i }) {
2488
+ return /* @__PURE__ */ o(qr, { children: [/* @__PURE__ */ a(Jr, {}), /* @__PURE__ */ o(w.Content, {
2489
2489
  "data-slot": "sheet-content",
2490
2490
  "data-side": n,
2491
2491
  className: P("bg-background data-open:animate-in data-closed:animate-out data-[side=right]:data-closed:slide-out-to-right-10 data-[side=right]:data-open:slide-in-from-right-10 data-[side=left]:data-closed:slide-out-to-left-10 data-[side=left]:data-open:slide-in-from-left-10 data-[side=top]:data-closed:slide-out-to-top-10 data-[side=top]:data-open:slide-in-from-top-10 data-closed:fade-out-0 data-open:fade-in-0 data-[side=bottom]:data-closed:slide-out-to-bottom-10 data-[side=bottom]:data-open:slide-in-from-bottom-10 fixed z-50 flex flex-col gap-4 bg-clip-padding text-sm shadow-lg transition duration-200 ease-in-out data-[side=bottom]:inset-x-0 data-[side=bottom]:bottom-0 data-[side=bottom]:h-auto data-[side=bottom]:border-t data-[side=left]:inset-y-0 data-[side=left]:left-0 data-[side=left]:h-full data-[side=left]:w-3/4 data-[side=left]:border-e data-[side=right]:inset-y-0 data-[side=right]:right-0 data-[side=right]:h-full data-[side=right]:w-3/4 data-[side=right]:border-s data-[side=top]:inset-x-0 data-[side=top]:top-0 data-[side=top]:h-auto data-[side=top]:border-b data-[side=left]:sm:max-w-sm data-[side=right]:sm:max-w-sm", e),
@@ -2497,7 +2497,7 @@ function Jr({ className: e, children: t, side: n = "right", showCloseButton: r =
2497
2497
  variant: "ghost",
2498
2498
  className: "absolute top-3 end-3",
2499
2499
  size: "icon-sm",
2500
- children: [/* @__PURE__ */ a(Ce, {}), /* @__PURE__ */ a("span", {
2500
+ children: [/* @__PURE__ */ a(we, {}), /* @__PURE__ */ a("span", {
2501
2501
  className: "sr-only",
2502
2502
  children: "Close"
2503
2503
  })]
@@ -2505,28 +2505,28 @@ function Jr({ className: e, children: t, side: n = "right", showCloseButton: r =
2505
2505
  })]
2506
2506
  })] });
2507
2507
  }
2508
- function Yr({ className: e, ...t }) {
2508
+ function Xr({ className: e, ...t }) {
2509
2509
  return /* @__PURE__ */ a("div", {
2510
2510
  "data-slot": "sheet-header",
2511
2511
  className: P("gap-0.5 p-4 flex flex-col", e),
2512
2512
  ...t
2513
2513
  });
2514
2514
  }
2515
- function Xr({ className: e, ...t }) {
2515
+ function Zr({ className: e, ...t }) {
2516
2516
  return /* @__PURE__ */ a("div", {
2517
2517
  "data-slot": "sheet-footer",
2518
2518
  className: P("gap-2 p-4 mt-auto flex flex-col", e),
2519
2519
  ...t
2520
2520
  });
2521
2521
  }
2522
- function Zr({ className: e, ...t }) {
2522
+ function Qr({ className: e, ...t }) {
2523
2523
  return /* @__PURE__ */ a(w.Title, {
2524
2524
  "data-slot": "sheet-title",
2525
2525
  className: P("text-foreground text-base font-medium", e),
2526
2526
  ...t
2527
2527
  });
2528
2528
  }
2529
- function Qr({ className: e, ...t }) {
2529
+ function $r({ className: e, ...t }) {
2530
2530
  return /* @__PURE__ */ a(w.Description, {
2531
2531
  "data-slot": "sheet-description",
2532
2532
  className: P("text-muted-foreground text-sm", e),
@@ -2535,7 +2535,7 @@ function Qr({ className: e, ...t }) {
2535
2535
  }
2536
2536
  //#endregion
2537
2537
  //#region src/components/pure/skeleton.tsx
2538
- function $r({ className: e, ...t }) {
2538
+ function ei({ className: e, ...t }) {
2539
2539
  return /* @__PURE__ */ a("div", {
2540
2540
  "data-slot": "skeleton",
2541
2541
  className: P("bg-muted rounded-md animate-pulse", e),
@@ -2544,26 +2544,26 @@ function $r({ className: e, ...t }) {
2544
2544
  }
2545
2545
  //#endregion
2546
2546
  //#region src/components/pure/tooltip.tsx
2547
- function ei({ delayDuration: e = 0, ...t }) {
2547
+ function ti({ delayDuration: e = 0, ...t }) {
2548
2548
  return /* @__PURE__ */ a(O.Provider, {
2549
2549
  "data-slot": "tooltip-provider",
2550
2550
  delayDuration: e,
2551
2551
  ...t
2552
2552
  });
2553
2553
  }
2554
- function ti({ ...e }) {
2554
+ function ni({ ...e }) {
2555
2555
  return /* @__PURE__ */ a(O.Root, {
2556
2556
  "data-slot": "tooltip",
2557
2557
  ...e
2558
2558
  });
2559
2559
  }
2560
- function ni({ ...e }) {
2560
+ function ri({ ...e }) {
2561
2561
  return /* @__PURE__ */ a(O.Trigger, {
2562
2562
  "data-slot": "tooltip-trigger",
2563
2563
  ...e
2564
2564
  });
2565
2565
  }
2566
- function ri({ className: e, sideOffset: t = 0, children: n, ...r }) {
2566
+ function ii({ className: e, sideOffset: t = 0, children: n, ...r }) {
2567
2567
  return /* @__PURE__ */ a(O.Portal, { children: /* @__PURE__ */ o(O.Content, {
2568
2568
  "data-slot": "tooltip-content",
2569
2569
  sideOffset: t,
@@ -2574,16 +2574,16 @@ function ri({ className: e, sideOffset: t = 0, children: n, ...r }) {
2574
2574
  }
2575
2575
  //#endregion
2576
2576
  //#region src/components/pure/sidebar.tsx
2577
- var ii = "sidebar_state", ai = 3600 * 24 * 7, oi = "16rem", si = "18rem", ci = "3rem", li = "b", ui = y.createContext(null);
2577
+ var ai = "sidebar_state", oi = 3600 * 24 * 7, si = "16rem", ci = "18rem", li = "3rem", ui = "b", di = y.createContext(null);
2578
2578
  function V() {
2579
- let e = y.useContext(ui);
2579
+ let e = y.useContext(di);
2580
2580
  if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
2581
2581
  return e;
2582
2582
  }
2583
- function di({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: o, ...s }) {
2584
- let c = Hr(), [l, u] = y.useState(!1), [d, f] = y.useState(e), p = t ?? d, m = y.useCallback((e) => {
2583
+ function fi({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: o, ...s }) {
2584
+ let c = Ur(), [l, u] = y.useState(!1), [d, f] = y.useState(e), p = t ?? d, m = y.useCallback((e) => {
2585
2585
  let t = typeof e == "function" ? e(p) : e;
2586
- n ? n(t) : f(t), document.cookie = `${ii}=${t}; path=/; max-age=${ai}`;
2586
+ n ? n(t) : f(t), document.cookie = `${ai}=${t}; path=/; max-age=${oi}`;
2587
2587
  }, [n, p]), h = y.useCallback(() => c ? u((e) => !e) : m((e) => !e), [
2588
2588
  c,
2589
2589
  m,
@@ -2591,7 +2591,7 @@ function di({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style
2591
2591
  ]);
2592
2592
  y.useEffect(() => {
2593
2593
  let e = (e) => {
2594
- e.key === li && (e.metaKey || e.ctrlKey) && (e.preventDefault(), h());
2594
+ e.key === ui && (e.metaKey || e.ctrlKey) && (e.preventDefault(), h());
2595
2595
  };
2596
2596
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
2597
2597
  }, [h]);
@@ -2612,13 +2612,13 @@ function di({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style
2612
2612
  u,
2613
2613
  h
2614
2614
  ]);
2615
- return /* @__PURE__ */ a(ui.Provider, {
2615
+ return /* @__PURE__ */ a(di.Provider, {
2616
2616
  value: _,
2617
2617
  children: /* @__PURE__ */ a("div", {
2618
2618
  "data-slot": "sidebar-wrapper",
2619
2619
  style: {
2620
- "--sidebar-width": oi,
2621
- "--sidebar-width-icon": ci,
2620
+ "--sidebar-width": si,
2621
+ "--sidebar-width-icon": li,
2622
2622
  ...i
2623
2623
  },
2624
2624
  className: P("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full", r),
@@ -2627,28 +2627,28 @@ function di({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style
2627
2627
  })
2628
2628
  });
2629
2629
  }
2630
- function fi({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: s, ...c }) {
2630
+ function pi({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: s, ...c }) {
2631
2631
  let { isMobile: l, state: u, openMobile: d, setOpenMobile: f } = V();
2632
2632
  return n === "none" ? /* @__PURE__ */ a("div", {
2633
2633
  "data-slot": "sidebar",
2634
2634
  className: P("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", r),
2635
2635
  ...c,
2636
2636
  children: i
2637
- }) : l ? /* @__PURE__ */ a(Ur, {
2637
+ }) : l ? /* @__PURE__ */ a(Wr, {
2638
2638
  open: d,
2639
2639
  onOpenChange: f,
2640
2640
  ...c,
2641
- children: /* @__PURE__ */ o(Jr, {
2641
+ children: /* @__PURE__ */ o(Yr, {
2642
2642
  dir: s,
2643
2643
  "data-sidebar": "sidebar",
2644
2644
  "data-slot": "sidebar",
2645
2645
  "data-mobile": "true",
2646
2646
  className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
2647
- style: { "--sidebar-width": si },
2647
+ style: { "--sidebar-width": ci },
2648
2648
  side: e,
2649
- children: [/* @__PURE__ */ o(Yr, {
2649
+ children: [/* @__PURE__ */ o(Xr, {
2650
2650
  className: "sr-only",
2651
- children: [/* @__PURE__ */ a(Zr, { children: "Sidebar" }), /* @__PURE__ */ a(Qr, { children: "Displays the mobile sidebar." })]
2651
+ children: [/* @__PURE__ */ a(Qr, { children: "Sidebar" }), /* @__PURE__ */ a($r, { children: "Displays the mobile sidebar." })]
2652
2652
  }), /* @__PURE__ */ a("div", {
2653
2653
  className: "flex h-full w-full flex-col",
2654
2654
  children: i
@@ -2678,7 +2678,7 @@ function fi({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
2678
2678
  })]
2679
2679
  });
2680
2680
  }
2681
- function pi({ className: e, onClick: t, ...n }) {
2681
+ function mi({ className: e, onClick: t, ...n }) {
2682
2682
  let { toggleSidebar: r } = V();
2683
2683
  return /* @__PURE__ */ o(F, {
2684
2684
  "data-sidebar": "trigger",
@@ -2690,13 +2690,13 @@ function pi({ className: e, onClick: t, ...n }) {
2690
2690
  t?.(e), r();
2691
2691
  },
2692
2692
  ...n,
2693
- children: [/* @__PURE__ */ a(fe, { className: "rtl:rotate-180" }), /* @__PURE__ */ a("span", {
2693
+ children: [/* @__PURE__ */ a(pe, { className: "rtl:rotate-180" }), /* @__PURE__ */ a("span", {
2694
2694
  className: "sr-only",
2695
2695
  children: "Toggle Sidebar"
2696
2696
  })]
2697
2697
  });
2698
2698
  }
2699
- function mi({ className: e, ...t }) {
2699
+ function hi({ className: e, ...t }) {
2700
2700
  let { toggleSidebar: n } = V();
2701
2701
  return /* @__PURE__ */ a("button", {
2702
2702
  "data-sidebar": "rail",
@@ -2709,14 +2709,14 @@ function mi({ className: e, ...t }) {
2709
2709
  ...t
2710
2710
  });
2711
2711
  }
2712
- function hi({ className: e, ...t }) {
2712
+ function gi({ className: e, ...t }) {
2713
2713
  return /* @__PURE__ */ a("main", {
2714
2714
  "data-slot": "sidebar-inset",
2715
2715
  className: P("bg-background md:peer-data-[variant=inset]:m-2 md:peer-data-[variant=inset]:ms-0 md:peer-data-[variant=inset]:rounded-xl md:peer-data-[variant=inset]:shadow-sm md:peer-data-[variant=inset]:peer-data-[state=collapsed]:ms-2 relative flex w-full flex-1 flex-col", e),
2716
2716
  ...t
2717
2717
  });
2718
2718
  }
2719
- function gi({ className: e, ...t }) {
2719
+ function _i({ className: e, ...t }) {
2720
2720
  return /* @__PURE__ */ a(z, {
2721
2721
  "data-slot": "sidebar-input",
2722
2722
  "data-sidebar": "input",
@@ -2724,7 +2724,7 @@ function gi({ className: e, ...t }) {
2724
2724
  ...t
2725
2725
  });
2726
2726
  }
2727
- function _i({ className: e, ...t }) {
2727
+ function vi({ className: e, ...t }) {
2728
2728
  return /* @__PURE__ */ a("div", {
2729
2729
  "data-slot": "sidebar-header",
2730
2730
  "data-sidebar": "header",
@@ -2732,7 +2732,7 @@ function _i({ className: e, ...t }) {
2732
2732
  ...t
2733
2733
  });
2734
2734
  }
2735
- function vi({ className: e, ...t }) {
2735
+ function yi({ className: e, ...t }) {
2736
2736
  return /* @__PURE__ */ a("div", {
2737
2737
  "data-slot": "sidebar-footer",
2738
2738
  "data-sidebar": "footer",
@@ -2740,7 +2740,7 @@ function vi({ className: e, ...t }) {
2740
2740
  ...t
2741
2741
  });
2742
2742
  }
2743
- function yi({ className: e, ...t }) {
2743
+ function bi({ className: e, ...t }) {
2744
2744
  return /* @__PURE__ */ a(L, {
2745
2745
  "data-slot": "sidebar-separator",
2746
2746
  "data-sidebar": "separator",
@@ -2748,7 +2748,7 @@ function yi({ className: e, ...t }) {
2748
2748
  ...t
2749
2749
  });
2750
2750
  }
2751
- function bi({ className: e, ...t }) {
2751
+ function xi({ className: e, ...t }) {
2752
2752
  return /* @__PURE__ */ a("div", {
2753
2753
  "data-slot": "sidebar-content",
2754
2754
  "data-sidebar": "content",
@@ -2756,7 +2756,7 @@ function bi({ className: e, ...t }) {
2756
2756
  ...t
2757
2757
  });
2758
2758
  }
2759
- function xi({ className: e, ...t }) {
2759
+ function Si({ className: e, ...t }) {
2760
2760
  return /* @__PURE__ */ a("div", {
2761
2761
  "data-slot": "sidebar-group",
2762
2762
  "data-sidebar": "group",
@@ -2764,7 +2764,7 @@ function xi({ className: e, ...t }) {
2764
2764
  ...t
2765
2765
  });
2766
2766
  }
2767
- function Si({ className: e, asChild: t = !1, ...n }) {
2767
+ function Ci({ className: e, asChild: t = !1, ...n }) {
2768
2768
  return /* @__PURE__ */ a(t ? C : "div", {
2769
2769
  "data-slot": "sidebar-group-label",
2770
2770
  "data-sidebar": "group-label",
@@ -2772,7 +2772,7 @@ function Si({ className: e, asChild: t = !1, ...n }) {
2772
2772
  ...n
2773
2773
  });
2774
2774
  }
2775
- function Ci({ className: e, asChild: t = !1, ...n }) {
2775
+ function wi({ className: e, asChild: t = !1, ...n }) {
2776
2776
  return /* @__PURE__ */ a(t ? C : "button", {
2777
2777
  "data-slot": "sidebar-group-action",
2778
2778
  "data-sidebar": "group-action",
@@ -2780,7 +2780,7 @@ function Ci({ className: e, asChild: t = !1, ...n }) {
2780
2780
  ...n
2781
2781
  });
2782
2782
  }
2783
- function wi({ className: e, ...t }) {
2783
+ function Ti({ className: e, ...t }) {
2784
2784
  return /* @__PURE__ */ a("div", {
2785
2785
  "data-slot": "sidebar-group-content",
2786
2786
  "data-sidebar": "group-content",
@@ -2804,7 +2804,7 @@ function U({ className: e, ...t }) {
2804
2804
  ...t
2805
2805
  });
2806
2806
  }
2807
- var Ti = S("ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-md p-2 text-start text-sm transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 data-active:font-medium peer/menu-button flex w-full items-center overflow-hidden outline-hidden group/menu-button disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&_svg]:size-6 [&_svg]:shrink-0", {
2807
+ var Ei = S("ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-md p-2 text-start text-sm transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 data-active:font-medium peer/menu-button flex w-full items-center overflow-hidden outline-hidden group/menu-button disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&_svg]:size-6 [&_svg]:shrink-0", {
2808
2808
  variants: {
2809
2809
  variant: {
2810
2810
  default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
@@ -2827,23 +2827,23 @@ function W({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r
2827
2827
  "data-sidebar": "menu-button",
2828
2828
  "data-size": r,
2829
2829
  "data-active": t,
2830
- className: P(Ti({
2830
+ className: P(Ei({
2831
2831
  variant: n,
2832
2832
  size: r
2833
2833
  }), s),
2834
2834
  ...c
2835
2835
  });
2836
- return i ? (typeof i == "string" && (i = { children: i }), /* @__PURE__ */ o(ti, { children: [/* @__PURE__ */ a(ni, {
2836
+ return i ? (typeof i == "string" && (i = { children: i }), /* @__PURE__ */ o(ni, { children: [/* @__PURE__ */ a(ri, {
2837
2837
  asChild: !0,
2838
2838
  children: f
2839
- }), /* @__PURE__ */ a(ri, {
2839
+ }), /* @__PURE__ */ a(ii, {
2840
2840
  side: "right",
2841
2841
  align: "center",
2842
2842
  hidden: d !== "collapsed" || u,
2843
2843
  ...i
2844
2844
  })] })) : f;
2845
2845
  }
2846
- function Ei({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2846
+ function Di({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2847
2847
  return /* @__PURE__ */ a(t ? C : "button", {
2848
2848
  "data-slot": "sidebar-menu-action",
2849
2849
  "data-sidebar": "menu-action",
@@ -2851,7 +2851,7 @@ function Ei({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2851
2851
  ...r
2852
2852
  });
2853
2853
  }
2854
- function Di({ className: e, ...t }) {
2854
+ function Oi({ className: e, ...t }) {
2855
2855
  return /* @__PURE__ */ a("div", {
2856
2856
  "data-slot": "sidebar-menu-badge",
2857
2857
  "data-sidebar": "menu-badge",
@@ -2859,24 +2859,24 @@ function Di({ className: e, ...t }) {
2859
2859
  ...t
2860
2860
  });
2861
2861
  }
2862
- function Oi({ className: e, showIcon: t = !1, ...n }) {
2862
+ function ki({ className: e, showIcon: t = !1, ...n }) {
2863
2863
  let [r] = y.useState(() => `${Math.floor(Math.random() * 40) + 50}%`);
2864
2864
  return /* @__PURE__ */ o("div", {
2865
2865
  "data-slot": "sidebar-menu-skeleton",
2866
2866
  "data-sidebar": "menu-skeleton",
2867
2867
  className: P("h-8 gap-2 rounded-md px-2 flex items-center", e),
2868
2868
  ...n,
2869
- children: [t && /* @__PURE__ */ a($r, {
2869
+ children: [t && /* @__PURE__ */ a(ei, {
2870
2870
  className: "size-4 rounded-md",
2871
2871
  "data-sidebar": "menu-skeleton-icon"
2872
- }), /* @__PURE__ */ a($r, {
2872
+ }), /* @__PURE__ */ a(ei, {
2873
2873
  className: "h-4 max-w-(--skeleton-width) flex-1",
2874
2874
  "data-sidebar": "menu-skeleton-text",
2875
2875
  style: { "--skeleton-width": r }
2876
2876
  })]
2877
2877
  });
2878
2878
  }
2879
- function ki({ className: e, ...t }) {
2879
+ function Ai({ className: e, ...t }) {
2880
2880
  return /* @__PURE__ */ a("ul", {
2881
2881
  "data-slot": "sidebar-menu-sub",
2882
2882
  "data-sidebar": "menu-sub",
@@ -2884,7 +2884,7 @@ function ki({ className: e, ...t }) {
2884
2884
  ...t
2885
2885
  });
2886
2886
  }
2887
- function Ai({ className: e, ...t }) {
2887
+ function ji({ className: e, ...t }) {
2888
2888
  return /* @__PURE__ */ a("li", {
2889
2889
  "data-slot": "sidebar-menu-sub-item",
2890
2890
  "data-sidebar": "menu-sub-item",
@@ -2892,7 +2892,7 @@ function Ai({ className: e, ...t }) {
2892
2892
  ...t
2893
2893
  });
2894
2894
  }
2895
- function ji({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
2895
+ function Mi({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
2896
2896
  return /* @__PURE__ */ a(e ? C : "a", {
2897
2897
  "data-slot": "sidebar-menu-sub-button",
2898
2898
  "data-sidebar": "menu-sub-button",
@@ -2904,7 +2904,7 @@ function ji({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, .
2904
2904
  }
2905
2905
  //#endregion
2906
2906
  //#region src/components/custom/table/crudTablePagination.tsx
2907
- function Mi({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2907
+ function Ni({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2908
2908
  let i = Math.ceil(t / e);
2909
2909
  return /* @__PURE__ */ o("div", {
2910
2910
  className: "p-4 border-t bg-muted flex items-center justify-between text-sm text-muted-foreground",
@@ -2920,25 +2920,25 @@ function Mi({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2920
2920
  t,
2921
2921
  " "
2922
2922
  ]
2923
- }), /* @__PURE__ */ a(br, {
2923
+ }), /* @__PURE__ */ a(xr, {
2924
2924
  dir: "rtl",
2925
2925
  className: "justify-end w-auto mx-0",
2926
- children: /* @__PURE__ */ o(xr, { children: [
2927
- /* @__PURE__ */ a(Sr, { children: /* @__PURE__ */ a(wr, {
2926
+ children: /* @__PURE__ */ o(Sr, { children: [
2927
+ /* @__PURE__ */ a(Cr, { children: /* @__PURE__ */ a(Tr, {
2928
2928
  onClick: () => {
2929
2929
  n > 1 && r?.(n - 1);
2930
2930
  },
2931
2931
  text: "السابق"
2932
2932
  }) }),
2933
- /* @__PURE__ */ o(Dr, {
2933
+ /* @__PURE__ */ o(Or, {
2934
2934
  dir: "rtl",
2935
- children: [/* @__PURE__ */ a(kr, {
2935
+ children: [/* @__PURE__ */ a(Ar, {
2936
2936
  asChild: !0,
2937
2937
  children: /* @__PURE__ */ a(W, {
2938
2938
  className: "w-full h-5 justify-start gap-2 text-base",
2939
2939
  children: /* @__PURE__ */ a("span", { children: n })
2940
2940
  })
2941
- }), /* @__PURE__ */ a(Ar, {
2941
+ }), /* @__PURE__ */ a(jr, {
2942
2942
  align: "end",
2943
2943
  children: Array.from({ length: Math.ceil(t / e) }, (e, t) => /* @__PURE__ */ a(B, {
2944
2944
  onClick: () => r?.(t + 1),
@@ -2946,7 +2946,7 @@ function Mi({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2946
2946
  }, t + 1))
2947
2947
  })]
2948
2948
  }),
2949
- /* @__PURE__ */ a(Sr, { children: /* @__PURE__ */ a(Tr, {
2949
+ /* @__PURE__ */ a(Cr, { children: /* @__PURE__ */ a(Er, {
2950
2950
  onClick: () => {
2951
2951
  n < i && r?.(n + 1);
2952
2952
  },
@@ -2958,21 +2958,21 @@ function Mi({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2958
2958
  }
2959
2959
  //#endregion
2960
2960
  //#region src/components/custom/table/crudTableRowActionsMenu.tsx
2961
- function Ni({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
2962
- return /* @__PURE__ */ o(i, { children: [n === "dropdown" && /* @__PURE__ */ o(Dr, {
2961
+ function Pi({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
2962
+ return /* @__PURE__ */ o(i, { children: [n === "dropdown" && /* @__PURE__ */ o(Or, {
2963
2963
  dir: "rtl",
2964
- children: [/* @__PURE__ */ a(kr, {
2964
+ children: [/* @__PURE__ */ a(Ar, {
2965
2965
  asChild: !0,
2966
2966
  children: /* @__PURE__ */ a(F, {
2967
2967
  variant: "ghost",
2968
2968
  className: "h-8 w-8 p-0",
2969
- children: /* @__PURE__ */ a(ce, { className: "h-4 w-4" })
2969
+ children: /* @__PURE__ */ a(le, { className: "h-4 w-4" })
2970
2970
  })
2971
- }), /* @__PURE__ */ o(Ar, {
2971
+ }), /* @__PURE__ */ o(jr, {
2972
2972
  align: "start",
2973
2973
  children: [
2974
- /* @__PURE__ */ a(Fr, { children: "الإجراءات" }),
2975
- /* @__PURE__ */ a(Ir, {}),
2974
+ /* @__PURE__ */ a(Ir, { children: "الإجراءات" }),
2975
+ /* @__PURE__ */ a(Lr, {}),
2976
2976
  r.updatePermission && /* @__PURE__ */ a(B, {
2977
2977
  onSelect: e,
2978
2978
  children: "تعديل"
@@ -2984,14 +2984,14 @@ function Ni({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
2984
2984
  })
2985
2985
  ]
2986
2986
  })]
2987
- }), n === "context" && /* @__PURE__ */ a(sr, { children: /* @__PURE__ */ o(rr, { children: [
2988
- /* @__PURE__ */ a(pr, { children: "الإجراءات" }),
2989
- /* @__PURE__ */ a(mr, {}),
2990
- r.updatePermission && /* @__PURE__ */ a(cr, {
2987
+ }), n === "context" && /* @__PURE__ */ a(cr, { children: /* @__PURE__ */ o(ir, { children: [
2988
+ /* @__PURE__ */ a(mr, { children: "الإجراءات" }),
2989
+ /* @__PURE__ */ a(hr, {}),
2990
+ r.updatePermission && /* @__PURE__ */ a(lr, {
2991
2991
  onSelect: e,
2992
2992
  children: "تعديل"
2993
2993
  }),
2994
- r.deletePermission && /* @__PURE__ */ a(cr, {
2994
+ r.deletePermission && /* @__PURE__ */ a(lr, {
2995
2995
  className: "text-destructive",
2996
2996
  onSelect: t,
2997
2997
  children: "حذف"
@@ -3000,38 +3000,38 @@ function Ni({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
3000
3000
  }
3001
3001
  //#endregion
3002
3002
  //#region src/components/custom/pages/crudPage.tsx
3003
- function Pi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTitle: i, cards: s, columnsToFilter: c, actions: l, service: u, entityState: d, tableHeadRows: f, tableRowMapper: p, ChangeDialog: m, children: h }) {
3004
- let g = Ve(), { selectedRow: _, isChangeDialogOpen: v, isDeleteDialogOpen: ee } = t();
3005
- return Oe(() => {
3003
+ function Fi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTitle: i, cards: s, columnsToFilter: c, actions: l, service: u, entityState: d, tableHeadRows: f, tableRowMapper: p, ChangeDialog: m, children: h }) {
3004
+ let g = He(), { selectedRow: _, isChangeDialogOpen: v, isDeleteDialogOpen: ee } = t();
3005
+ return ke(() => {
3006
3006
  g(l.filter(void 0));
3007
3007
  }, [g, l.filter]), /* @__PURE__ */ o("div", {
3008
3008
  className: "px-5 py-3",
3009
3009
  children: [
3010
- /* @__PURE__ */ a(vr, {
3010
+ /* @__PURE__ */ a(yr, {
3011
3011
  title: r,
3012
3012
  buttonTitle: i,
3013
3013
  isButtonVisible: e.addPermission,
3014
3014
  createComp: m
3015
3015
  }),
3016
- /* @__PURE__ */ a(_r, { cards: s }),
3017
- /* @__PURE__ */ a(Pn, {
3016
+ /* @__PURE__ */ a(vr, { cards: s }),
3017
+ /* @__PURE__ */ a(Fn, {
3018
3018
  columnsNames: c,
3019
3019
  onSearch: (e) => g(l.filter(e))
3020
3020
  }),
3021
3021
  /* @__PURE__ */ o("div", {
3022
3022
  className: "rounded-b-xl border shadow-sm overflow-hidden",
3023
3023
  children: [
3024
- /* @__PURE__ */ o(er, {
3024
+ /* @__PURE__ */ o(tr, {
3025
3025
  state: d,
3026
- children: [/* @__PURE__ */ a(yr, { tableHeadRows: f }), /* @__PURE__ */ a(Ln, { children: d.entities?.data?.map((t, n) => /* @__PURE__ */ a(gr, {
3026
+ children: [/* @__PURE__ */ a(br, { tableHeadRows: f }), /* @__PURE__ */ a(Rn, { children: d.entities?.data?.map((t, n) => /* @__PURE__ */ a(_r, {
3027
3027
  tableRows: p(t),
3028
- dropdownMenu: /* @__PURE__ */ a(Ni, {
3028
+ dropdownMenu: /* @__PURE__ */ a(Pi, {
3029
3029
  permissions: e,
3030
3030
  type: "dropdown",
3031
3031
  onEditClicked: () => g(l.openChangeDialog(t)),
3032
3032
  onDeleteClicked: () => g(l.openDeleteDialog(t))
3033
3033
  }),
3034
- contextMenuContent: /* @__PURE__ */ a(Ni, {
3034
+ contextMenuContent: /* @__PURE__ */ a(Pi, {
3035
3035
  permissions: e,
3036
3036
  type: "context",
3037
3037
  onEditClicked: () => g(l.openChangeDialog(t)),
@@ -3039,7 +3039,7 @@ function Pi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTi
3039
3039
  })
3040
3040
  }, n)) })]
3041
3041
  }),
3042
- /* @__PURE__ */ a(Mi, {
3042
+ /* @__PURE__ */ a(Ni, {
3043
3043
  pageSize: d.rowsPerPage,
3044
3044
  totalNumber: d.entities?.count ?? 0,
3045
3045
  currentPage: d.currentPage || 1,
@@ -3053,10 +3053,10 @@ function Pi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTi
3053
3053
  ee && e.deletePermission && /* @__PURE__ */ a(I, {
3054
3054
  open: ee,
3055
3055
  onOpenChange: (e) => g(l.setIsDeleteDialogOpen(e)),
3056
- children: /* @__PURE__ */ a(pt, {
3056
+ children: /* @__PURE__ */ a(mt, {
3057
3057
  dir: "rtl",
3058
3058
  className: "sm:max-w-sm",
3059
- children: /* @__PURE__ */ a(yt, {
3059
+ children: /* @__PURE__ */ a(bt, {
3060
3060
  entityName: n,
3061
3061
  id: _?.id ?? 0,
3062
3062
  service: u,
@@ -3074,7 +3074,7 @@ function Pi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTi
3074
3074
  }
3075
3075
  //#endregion
3076
3076
  //#region src/components/pure/input-group.tsx
3077
- function Fi({ className: e, ...t }) {
3077
+ function Ii({ className: e, ...t }) {
3078
3078
  return /* @__PURE__ */ a("div", {
3079
3079
  "data-slot": "input-group",
3080
3080
  role: "group",
@@ -3082,7 +3082,7 @@ function Fi({ className: e, ...t }) {
3082
3082
  ...t
3083
3083
  });
3084
3084
  }
3085
- var Ii = S("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none", {
3085
+ var Li = S("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none", {
3086
3086
  variants: { align: {
3087
3087
  "inline-start": "ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem] order-first",
3088
3088
  "inline-end": "pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem] order-last",
@@ -3091,19 +3091,19 @@ var Ii = S("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-
3091
3091
  } },
3092
3092
  defaultVariants: { align: "inline-start" }
3093
3093
  });
3094
- function Li({ className: e, align: t = "inline-start", ...n }) {
3094
+ function Ri({ className: e, align: t = "inline-start", ...n }) {
3095
3095
  return /* @__PURE__ */ a("div", {
3096
3096
  role: "group",
3097
3097
  "data-slot": "input-group-addon",
3098
3098
  "data-align": t,
3099
- className: P(Ii({ align: t }), e),
3099
+ className: P(Li({ align: t }), e),
3100
3100
  onClick: (e) => {
3101
3101
  e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
3102
3102
  },
3103
3103
  ...n
3104
3104
  });
3105
3105
  }
3106
- var Ri = S("gap-2 text-sm shadow-none flex items-center", {
3106
+ var zi = S("gap-2 text-sm shadow-none flex items-center", {
3107
3107
  variants: { size: {
3108
3108
  xs: "h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",
3109
3109
  sm: "",
@@ -3112,30 +3112,30 @@ var Ri = S("gap-2 text-sm shadow-none flex items-center", {
3112
3112
  } },
3113
3113
  defaultVariants: { size: "xs" }
3114
3114
  });
3115
- function zi({ className: e, type: t = "button", variant: n = "ghost", size: r = "xs", ...i }) {
3115
+ function Bi({ className: e, type: t = "button", variant: n = "ghost", size: r = "xs", ...i }) {
3116
3116
  return /* @__PURE__ */ a(F, {
3117
3117
  type: t,
3118
3118
  "data-size": r,
3119
3119
  variant: n,
3120
- className: P(Ri({ size: r }), e),
3120
+ className: P(zi({ size: r }), e),
3121
3121
  ...i
3122
3122
  });
3123
3123
  }
3124
- function Bi({ className: e, ...t }) {
3124
+ function Vi({ className: e, ...t }) {
3125
3125
  return /* @__PURE__ */ a("span", {
3126
3126
  className: P("text-muted-foreground gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none", e),
3127
3127
  ...t
3128
3128
  });
3129
3129
  }
3130
- function Vi({ className: e, ...t }) {
3130
+ function Hi({ className: e, ...t }) {
3131
3131
  return /* @__PURE__ */ a(z, {
3132
3132
  "data-slot": "input-group-control",
3133
3133
  className: P("rounded-none border-0 bg-transparent shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1", e),
3134
3134
  ...t
3135
3135
  });
3136
3136
  }
3137
- function Hi({ className: e, ...t }) {
3138
- return /* @__PURE__ */ a(On, {
3137
+ function Ui({ className: e, ...t }) {
3138
+ return /* @__PURE__ */ a(kn, {
3139
3139
  "data-slot": "input-group-control",
3140
3140
  className: P("rounded-none border-0 bg-transparent py-2 shadow-none ring-0 focus-visible:ring-0 disabled:bg-transparent aria-invalid:ring-0 dark:bg-transparent dark:disabled:bg-transparent flex-1 resize-none", e),
3141
3141
  ...t
@@ -3143,69 +3143,69 @@ function Hi({ className: e, ...t }) {
3143
3143
  }
3144
3144
  //#endregion
3145
3145
  //#region src/components/pure/command.tsx
3146
- function Ui({ className: e, ...t }) {
3146
+ function Wi({ className: e, ...t }) {
3147
3147
  return /* @__PURE__ */ a(k, {
3148
3148
  "data-slot": "command",
3149
3149
  className: P("bg-popover text-popover-foreground rounded-xl! p-1 flex size-full flex-col overflow-hidden", e),
3150
3150
  ...t
3151
3151
  });
3152
3152
  }
3153
- function Wi({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !1, ...s }) {
3153
+ function Gi({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !1, ...s }) {
3154
3154
  return /* @__PURE__ */ o(I, {
3155
3155
  ...s,
3156
- children: [/* @__PURE__ */ o(mt, {
3156
+ children: [/* @__PURE__ */ o(ht, {
3157
3157
  className: "sr-only",
3158
- children: [/* @__PURE__ */ a(gt, { children: e }), /* @__PURE__ */ a(_t, { children: t })]
3159
- }), /* @__PURE__ */ a(pt, {
3158
+ children: [/* @__PURE__ */ a(_t, { children: e }), /* @__PURE__ */ a(vt, { children: t })]
3159
+ }), /* @__PURE__ */ a(mt, {
3160
3160
  className: P("rounded-xl! top-1/3 translate-y-0 overflow-hidden p-0", r),
3161
3161
  showCloseButton: i,
3162
3162
  children: n
3163
3163
  })]
3164
3164
  });
3165
3165
  }
3166
- function Gi({ className: e, ...t }) {
3166
+ function Ki({ className: e, ...t }) {
3167
3167
  return /* @__PURE__ */ a("div", {
3168
3168
  "data-slot": "command-input-wrapper",
3169
3169
  className: "p-1 pb-0",
3170
- children: /* @__PURE__ */ o(Fi, {
3170
+ children: /* @__PURE__ */ o(Ii, {
3171
3171
  className: "bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:ps-2!",
3172
3172
  children: [/* @__PURE__ */ a(k.Input, {
3173
3173
  "data-slot": "command-input",
3174
3174
  className: P("w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", e),
3175
3175
  ...t
3176
- }), /* @__PURE__ */ a(Li, { children: /* @__PURE__ */ a(_e, { className: "size-4 shrink-0 opacity-50" }) })]
3176
+ }), /* @__PURE__ */ a(Ri, { children: /* @__PURE__ */ a(ve, { className: "size-4 shrink-0 opacity-50" }) })]
3177
3177
  })
3178
3178
  });
3179
3179
  }
3180
- function Ki({ className: e, ...t }) {
3180
+ function qi({ className: e, ...t }) {
3181
3181
  return /* @__PURE__ */ a(k.List, {
3182
3182
  "data-slot": "command-list",
3183
3183
  className: P("no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto", e),
3184
3184
  ...t
3185
3185
  });
3186
3186
  }
3187
- function qi({ className: e, ...t }) {
3187
+ function Ji({ className: e, ...t }) {
3188
3188
  return /* @__PURE__ */ a(k.Empty, {
3189
3189
  "data-slot": "command-empty",
3190
3190
  className: P("py-6 text-center text-sm", e),
3191
3191
  ...t
3192
3192
  });
3193
3193
  }
3194
- function Ji({ className: e, ...t }) {
3194
+ function Yi({ className: e, ...t }) {
3195
3195
  return /* @__PURE__ */ a(k.Group, {
3196
3196
  "data-slot": "command-group",
3197
3197
  className: P("text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium", e),
3198
3198
  ...t
3199
3199
  });
3200
3200
  }
3201
- function Yi({ className: e, ...t }) {
3201
+ function Xi({ className: e, ...t }) {
3202
3202
  return /* @__PURE__ */ a(k.Separator, {
3203
3203
  "data-slot": "command-separator",
3204
3204
  className: P("bg-border -mx-1 h-px", e),
3205
3205
  ...t
3206
3206
  });
3207
3207
  }
3208
- function Xi({ className: e, children: t, ...n }) {
3208
+ function Zi({ className: e, children: t, ...n }) {
3209
3209
  return /* @__PURE__ */ o(k.Item, {
3210
3210
  "data-slot": "command-item",
3211
3211
  className: P("data-selected:bg-muted data-selected:text-foreground data-selected:*:[svg]:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! [&_svg:not([class*='size-'])]:size-4 group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", e),
@@ -3213,7 +3213,7 @@ function Xi({ className: e, children: t, ...n }) {
3213
3213
  children: [t, /* @__PURE__ */ a(c, { className: "ms-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })]
3214
3214
  });
3215
3215
  }
3216
- function Zi({ className: e, ...t }) {
3216
+ function Qi({ className: e, ...t }) {
3217
3217
  return /* @__PURE__ */ a("span", {
3218
3218
  "data-slot": "command-shortcut",
3219
3219
  className: P("text-muted-foreground group-data-selected/command-item:text-foreground ms-auto text-xs tracking-widest", e),
@@ -3222,13 +3222,13 @@ function Zi({ className: e, ...t }) {
3222
3222
  }
3223
3223
  //#endregion
3224
3224
  //#region src/components/custom/select/searchableSelect.tsx
3225
- function Qi({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChange: i, disabled: c, errorInputClass: l, placeholder: u = "اختر...", columnsNames: d, onSearch: f }) {
3226
- let [p, h] = y.useState(!1), g = e.find((e) => String(e[n]) === r), _ = g ? String(g[t]) : u;
3227
- return /* @__PURE__ */ o(Nt, {
3225
+ function $i({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChange: i, disabled: c, errorInputClass: l, placeholder: u = "اختر...", columnsNames: d, onSearch: f }) {
3226
+ let [p, m] = y.useState(!1), g = e.find((e) => String(e[n]) === r), _ = g ? String(g[t]) : u;
3227
+ return /* @__PURE__ */ o(Pt, {
3228
3228
  open: p,
3229
- onOpenChange: h,
3229
+ onOpenChange: m,
3230
3230
  modal: !0,
3231
- children: [/* @__PURE__ */ a(Pt, {
3231
+ children: [/* @__PURE__ */ a(Ft, {
3232
3232
  asChild: !0,
3233
3233
  children: /* @__PURE__ */ o(F, {
3234
3234
  variant: "outline",
@@ -3239,28 +3239,28 @@ function Qi({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChang
3239
3239
  children: [/* @__PURE__ */ a("span", {
3240
3240
  className: "truncate text-start",
3241
3241
  children: _
3242
- }), /* @__PURE__ */ a(m, { className: "h-4 w-4 shrink-0 opacity-50 ltr:ml-2 rtl:mr-2" })]
3242
+ }), /* @__PURE__ */ a(h, { className: "h-4 w-4 shrink-0 opacity-50 ltr:ml-2 rtl:mr-2" })]
3243
3243
  })
3244
- }), /* @__PURE__ */ o(Ft, {
3244
+ }), /* @__PURE__ */ o(It, {
3245
3245
  className: "w-[--radix-popover-trigger-width] p-0",
3246
3246
  align: "start",
3247
3247
  dir: "rtl",
3248
- children: [/* @__PURE__ */ a(Pn, {
3248
+ children: [/* @__PURE__ */ a(Fn, {
3249
3249
  columnsNames: d,
3250
3250
  onSearch: f
3251
- }), /* @__PURE__ */ a(Ui, {
3251
+ }), /* @__PURE__ */ a(Wi, {
3252
3252
  shouldFilter: !1,
3253
- children: /* @__PURE__ */ a(Ki, {
3253
+ children: /* @__PURE__ */ a(qi, {
3254
3254
  className: "max-h-50 overflow-y-auto overflow-x-hidden",
3255
- children: e.length === 0 ? /* @__PURE__ */ a(qi, {
3255
+ children: e.length === 0 ? /* @__PURE__ */ a(Ji, {
3256
3256
  className: "py-6 text-center text-sm text-muted-foreground",
3257
3257
  children: "لا توجد بيانات"
3258
- }) : /* @__PURE__ */ a(Ji, { children: e.map((e) => {
3258
+ }) : /* @__PURE__ */ a(Yi, { children: e.map((e) => {
3259
3259
  let c = String(e[n]), l = String(e[t]);
3260
- return /* @__PURE__ */ o(Xi, {
3260
+ return /* @__PURE__ */ o(Zi, {
3261
3261
  value: c,
3262
3262
  onSelect: () => {
3263
- i(c), h(!1);
3263
+ i(c), m(!1);
3264
3264
  },
3265
3265
  className: "cursor-pointer",
3266
3266
  children: [/* @__PURE__ */ a(s, { className: P("h-4 w-4 ltr:mr-2 rtl:ml-2", r === c ? "opacity-100" : "opacity-0") }), l]
@@ -3273,43 +3273,43 @@ function Qi({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChang
3273
3273
  }
3274
3274
  //#endregion
3275
3275
  //#region src/components/pure/avatar.tsx
3276
- function $i({ className: e, size: t = "default", ...n }) {
3277
- return /* @__PURE__ */ a(He.Root, {
3276
+ function ea({ className: e, size: t = "default", ...n }) {
3277
+ return /* @__PURE__ */ a(Ue.Root, {
3278
3278
  "data-slot": "avatar",
3279
3279
  "data-size": t,
3280
3280
  className: P("size-8 rounded-full after:rounded-full data-[size=lg]:size-10 data-[size=sm]:size-6 after:border-border group/avatar relative flex shrink-0 select-none after:absolute after:inset-0 after:border after:mix-blend-darken dark:after:mix-blend-lighten", e),
3281
3281
  ...n
3282
3282
  });
3283
3283
  }
3284
- function ea({ className: e, ...t }) {
3285
- return console.log(t), /* @__PURE__ */ a(He.Image, {
3284
+ function ta({ className: e, ...t }) {
3285
+ return console.log(t), /* @__PURE__ */ a(Ue.Image, {
3286
3286
  "data-slot": "avatar-image",
3287
3287
  className: P("rounded-full aspect-square size-full object-cover", e),
3288
3288
  ...t
3289
3289
  });
3290
3290
  }
3291
- function ta({ className: e, ...t }) {
3292
- return /* @__PURE__ */ a(He.Fallback, {
3291
+ function na({ className: e, ...t }) {
3292
+ return /* @__PURE__ */ a(Ue.Fallback, {
3293
3293
  "data-slot": "avatar-fallback",
3294
3294
  className: P("bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs", e),
3295
3295
  ...t
3296
3296
  });
3297
3297
  }
3298
- function na({ className: e, ...t }) {
3298
+ function ra({ className: e, ...t }) {
3299
3299
  return /* @__PURE__ */ a("span", {
3300
3300
  "data-slot": "avatar-badge",
3301
3301
  className: P("bg-primary text-primary-foreground ring-background absolute end-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none", "group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden", "group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2", "group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2", e),
3302
3302
  ...t
3303
3303
  });
3304
3304
  }
3305
- function ra({ className: e, ...t }) {
3305
+ function ia({ className: e, ...t }) {
3306
3306
  return /* @__PURE__ */ a("div", {
3307
3307
  "data-slot": "avatar-group",
3308
3308
  className: P("*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2", e),
3309
3309
  ...t
3310
3310
  });
3311
3311
  }
3312
- function ia({ className: e, ...t }) {
3312
+ function aa({ className: e, ...t }) {
3313
3313
  return /* @__PURE__ */ a("div", {
3314
3314
  "data-slot": "avatar-group-count",
3315
3315
  className: P("bg-muted text-muted-foreground size-8 rounded-full text-sm group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 ring-background relative flex shrink-0 items-center justify-center ring-2", e),
@@ -3318,16 +3318,16 @@ function ia({ className: e, ...t }) {
3318
3318
  }
3319
3319
  //#endregion
3320
3320
  //#region src/components/custom/sideBar/sideBarCompanyData.tsx
3321
- function aa({ company: e }) {
3321
+ function oa({ company: e }) {
3322
3322
  return /* @__PURE__ */ a(H, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, {
3323
3323
  size: "lg",
3324
3324
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
3325
- children: [/* @__PURE__ */ o($i, {
3325
+ children: [/* @__PURE__ */ o(ea, {
3326
3326
  className: "h-8 w-8 rounded-lg grayscale",
3327
- children: [/* @__PURE__ */ a(ea, {
3327
+ children: [/* @__PURE__ */ a(ta, {
3328
3328
  src: e.logo,
3329
3329
  alt: e.name
3330
- }), /* @__PURE__ */ a(ta, {
3330
+ }), /* @__PURE__ */ a(na, {
3331
3331
  className: "rounded-lg",
3332
3332
  children: "YSR"
3333
3333
  })]
@@ -3342,7 +3342,7 @@ function aa({ company: e }) {
3342
3342
  }
3343
3343
  //#endregion
3344
3344
  //#region src/components/custom/sideBar/sidebarLogo.tsx
3345
- function oa({ logos: e, alt: t = "Logo" }) {
3345
+ function sa({ logos: e, alt: t = "Logo" }) {
3346
3346
  let { state: n } = V(), r = n === "collapsed";
3347
3347
  return /* @__PURE__ */ o("div", {
3348
3348
  className: `
@@ -3362,38 +3362,38 @@ function oa({ logos: e, alt: t = "Logo" }) {
3362
3362
  }
3363
3363
  //#endregion
3364
3364
  //#region src/components/pure/collapsible.tsx
3365
- function sa({ ...e }) {
3366
- return /* @__PURE__ */ a(We.Root, {
3365
+ function ca({ ...e }) {
3366
+ return /* @__PURE__ */ a(Ge.Root, {
3367
3367
  "data-slot": "collapsible",
3368
3368
  ...e
3369
3369
  });
3370
3370
  }
3371
- function ca({ ...e }) {
3372
- return /* @__PURE__ */ a(We.CollapsibleTrigger, {
3371
+ function la({ ...e }) {
3372
+ return /* @__PURE__ */ a(Ge.CollapsibleTrigger, {
3373
3373
  "data-slot": "collapsible-trigger",
3374
3374
  ...e
3375
3375
  });
3376
3376
  }
3377
- function la({ ...e }) {
3378
- return /* @__PURE__ */ a(We.CollapsibleContent, {
3377
+ function ua({ ...e }) {
3378
+ return /* @__PURE__ */ a(Ge.CollapsibleContent, {
3379
3379
  "data-slot": "collapsible-content",
3380
3380
  ...e
3381
3381
  });
3382
3382
  }
3383
3383
  //#endregion
3384
3384
  //#region src/components/custom/sideBar/sideBarMainMenu.tsx
3385
- function ua({ items: t }) {
3386
- return /* @__PURE__ */ a(xi, {
3385
+ function da({ items: t }) {
3386
+ return /* @__PURE__ */ a(Si, {
3387
3387
  className: "mt-5",
3388
- children: /* @__PURE__ */ a(wi, { children: /* @__PURE__ */ a(H, { children: t.map((t) => {
3388
+ children: /* @__PURE__ */ a(Ti, { children: /* @__PURE__ */ a(H, { children: t.map((t) => {
3389
3389
  if (!t.hasAuth) return null;
3390
3390
  if (t.subItems && t.subItems.length > 0) {
3391
3391
  let n = t.subItems.filter((e) => e.hasAuth);
3392
- return n.length === 0 ? null : /* @__PURE__ */ a(sa, {
3392
+ return n.length === 0 ? null : /* @__PURE__ */ a(ca, {
3393
3393
  asChild: !0,
3394
3394
  defaultOpen: !1,
3395
3395
  className: "group/collapsible",
3396
- children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(ca, {
3396
+ children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(la, {
3397
3397
  asChild: !0,
3398
3398
  children: /* @__PURE__ */ o(W, {
3399
3399
  tooltip: t.title,
@@ -3407,9 +3407,9 @@ function ua({ items: t }) {
3407
3407
  className: "font-medium truncate",
3408
3408
  children: t.title
3409
3409
  })]
3410
- }), /* @__PURE__ */ a(d, { className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" })]
3410
+ }), /* @__PURE__ */ a(u, { className: "mr-auto transition-transform duration-200 group-data-[state=open]/collapsible:-rotate-90" })]
3411
3411
  })
3412
- }), /* @__PURE__ */ a(la, { children: /* @__PURE__ */ a(ki, { children: n.map((t) => /* @__PURE__ */ a(Ai, { children: /* @__PURE__ */ a(ji, {
3412
+ }), /* @__PURE__ */ a(ua, { children: /* @__PURE__ */ a(Ai, { children: n.map((t) => /* @__PURE__ */ a(ji, { children: /* @__PURE__ */ a(Mi, {
3413
3413
  asChild: !0,
3414
3414
  children: /* @__PURE__ */ a(e, {
3415
3415
  to: t.url,
@@ -3438,17 +3438,17 @@ function ua({ items: t }) {
3438
3438
  }
3439
3439
  //#endregion
3440
3440
  //#region src/components/custom/theme/themeProvider.tsx
3441
- var da = Ee({
3441
+ var fa = De({
3442
3442
  theme: "system",
3443
3443
  setTheme: () => null
3444
3444
  });
3445
- function fa({ children: e, defaultTheme: t = "system", storageKey: n = "yusr-theme", ...r }) {
3445
+ function pa({ children: e, defaultTheme: t = "system", storageKey: n = "yusr-theme", ...r }) {
3446
3446
  let [i, o] = x(t), [s, c] = x(!1);
3447
- Oe(() => {
3447
+ ke(() => {
3448
3448
  c(!0);
3449
3449
  let e = localStorage.getItem(n);
3450
3450
  e && o(e);
3451
- }, [n]), Oe(() => {
3451
+ }, [n]), ke(() => {
3452
3452
  if (!s) return;
3453
3453
  let e = window.document.documentElement;
3454
3454
  if (e.classList.remove("light", "dark"), i === "system") {
@@ -3464,30 +3464,30 @@ function fa({ children: e, defaultTheme: t = "system", storageKey: n = "yusr-the
3464
3464
  localStorage.setItem(n, e), o(e);
3465
3465
  }
3466
3466
  };
3467
- return /* @__PURE__ */ a(da.Provider, {
3467
+ return /* @__PURE__ */ a(fa.Provider, {
3468
3468
  ...r,
3469
3469
  value: l,
3470
3470
  children: e
3471
3471
  });
3472
3472
  }
3473
- var pa = () => {
3474
- let e = De(da);
3473
+ var ma = () => {
3474
+ let e = Oe(fa);
3475
3475
  if (e === void 0) throw Error("useTheme must be used within a ThemeProvider");
3476
3476
  return e;
3477
3477
  };
3478
3478
  //#endregion
3479
3479
  //#region src/components/custom/theme/themeToggle.tsx
3480
- function ma({ variant: e = "icon" }) {
3481
- let { setTheme: t } = pa();
3482
- return /* @__PURE__ */ o(Dr, {
3480
+ function ha({ variant: e = "icon" }) {
3481
+ let { setTheme: t } = ma();
3482
+ return /* @__PURE__ */ o(Or, {
3483
3483
  dir: "rtl",
3484
- children: [/* @__PURE__ */ a(kr, {
3484
+ children: [/* @__PURE__ */ a(Ar, {
3485
3485
  asChild: !0,
3486
3486
  children: e === "sidebar" ? /* @__PURE__ */ o(W, {
3487
3487
  className: "w-full justify-start gap-3 px-3",
3488
3488
  children: [/* @__PURE__ */ o("div", {
3489
3489
  className: "relative flex items-center justify-center shrink-0 size-4",
3490
- children: [/* @__PURE__ */ a(ve, { className: "h-4 w-4 scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90" }), /* @__PURE__ */ a(se, { className: "absolute h-4 w-4 scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0" })]
3490
+ children: [/* @__PURE__ */ a(ye, { className: "h-4 w-4 scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90" }), /* @__PURE__ */ a(ce, { className: "absolute h-4 w-4 scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0" })]
3491
3491
  }), /* @__PURE__ */ a("span", {
3492
3492
  className: "font-medium",
3493
3493
  children: "تغيير المظهر"
@@ -3497,15 +3497,15 @@ function ma({ variant: e = "icon" }) {
3497
3497
  size: "icon",
3498
3498
  className: "h-8 w-8",
3499
3499
  children: [
3500
- /* @__PURE__ */ a(ve, { className: "h-4 w-4 scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90" }),
3501
- /* @__PURE__ */ a(se, { className: "absolute h-4 w-4 scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0" }),
3500
+ /* @__PURE__ */ a(ye, { className: "h-4 w-4 scale-100 rotate-0 transition-all dark:scale-0 dark:-rotate-90" }),
3501
+ /* @__PURE__ */ a(ce, { className: "absolute h-4 w-4 scale-0 rotate-90 transition-all dark:scale-100 dark:rotate-0" }),
3502
3502
  /* @__PURE__ */ a("span", {
3503
3503
  className: "sr-only",
3504
3504
  children: "تغيير الثمة"
3505
3505
  })
3506
3506
  ]
3507
3507
  })
3508
- }), /* @__PURE__ */ o(Ar, {
3508
+ }), /* @__PURE__ */ o(jr, {
3509
3509
  align: "end",
3510
3510
  children: [
3511
3511
  /* @__PURE__ */ a(B, {
@@ -3526,10 +3526,10 @@ function ma({ variant: e = "icon" }) {
3526
3526
  }
3527
3527
  //#endregion
3528
3528
  //#region src/components/custom/sideBar/sideBarSecondaryMenu.tsx
3529
- function ha({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
3530
- return /* @__PURE__ */ a(xi, {
3529
+ function ga({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
3530
+ return /* @__PURE__ */ a(Si, {
3531
3531
  ...r,
3532
- children: /* @__PURE__ */ a(wi, { children: /* @__PURE__ */ o(H, { children: [
3532
+ children: /* @__PURE__ */ a(Ti, { children: /* @__PURE__ */ o(H, { children: [
3533
3533
  e.map((e) => /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
3534
3534
  asChild: !0,
3535
3535
  children: /* @__PURE__ */ o(n, {
@@ -3544,7 +3544,7 @@ function ha({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
3544
3544
  })]
3545
3545
  })
3546
3546
  }) }, e.title)),
3547
- /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(ma, { variant: "sidebar" }) }),
3547
+ /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(ha, { variant: "sidebar" }) }),
3548
3548
  /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
3549
3549
  asChild: !0,
3550
3550
  onClick: t,
@@ -3552,7 +3552,7 @@ function ha({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
3552
3552
  className: "flex items-center justify-start gap-3 w-full px-3 text-destructive cursor-pointer",
3553
3553
  children: [/* @__PURE__ */ a("span", {
3554
3554
  className: "flex items-center justify-center shrink-0 size-4",
3555
- children: /* @__PURE__ */ a(ae, {})
3555
+ children: /* @__PURE__ */ a(oe, {})
3556
3556
  }), /* @__PURE__ */ a("span", {
3557
3557
  className: "font-medium truncate",
3558
3558
  children: "تسجيل الخروج"
@@ -3564,16 +3564,16 @@ function ha({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
3564
3564
  }
3565
3565
  //#endregion
3566
3566
  //#region src/components/custom/sideBar/sideBarUserData.tsx
3567
- function ga({ user: e }) {
3567
+ function _a({ user: e }) {
3568
3568
  return /* @__PURE__ */ a(H, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, {
3569
3569
  size: "lg",
3570
3570
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
3571
- children: [/* @__PURE__ */ o($i, {
3571
+ children: [/* @__PURE__ */ o(ea, {
3572
3572
  className: "h-8 w-8 rounded-lg grayscale",
3573
- children: [/* @__PURE__ */ a(ea, {
3573
+ children: [/* @__PURE__ */ a(ta, {
3574
3574
  src: "/avatars/shadcn.jpg",
3575
3575
  alt: e?.username
3576
- }), /* @__PURE__ */ a(ta, {
3576
+ }), /* @__PURE__ */ a(na, {
3577
3577
  className: "rounded-lg",
3578
3578
  children: "YSR"
3579
3579
  })]
@@ -3588,40 +3588,74 @@ function ga({ user: e }) {
3588
3588
  }
3589
3589
  //#endregion
3590
3590
  //#region src/components/custom/sideBar/yusrSideBarMainMenu.tsx
3591
- function _a({ items: e, LinkComponent: t = "a" }) {
3592
- return /* @__PURE__ */ a(xi, {
3591
+ function va({ items: e, LinkComponent: t = "a" }) {
3592
+ return /* @__PURE__ */ a(Si, {
3593
3593
  className: "mt-5",
3594
- children: /* @__PURE__ */ a(wi, { children: /* @__PURE__ */ a(H, { children: e.map((e) => e.hasAuth && /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
3595
- asChild: !0,
3596
- tooltip: e.title,
3597
- children: /* @__PURE__ */ o(t, {
3598
- href: e.url,
3599
- className: "flex items-center justify-start gap-3 w-full px-3",
3600
- children: [/* @__PURE__ */ a("span", {
3601
- className: "flex items-center justify-center shrink-0 size-4",
3602
- children: e.icon
3603
- }), /* @__PURE__ */ a("span", {
3604
- className: "font-medium truncate",
3605
- children: e.title
3606
- })]
3607
- })
3608
- }) }, e.title)) }) })
3594
+ children: /* @__PURE__ */ a(Ti, { children: /* @__PURE__ */ a(H, { children: e.map((e) => {
3595
+ if (!e.hasAuth) return null;
3596
+ if (e.subItems && e.subItems.length > 0) {
3597
+ let n = e.subItems.filter((e) => e.hasAuth);
3598
+ return n.length === 0 ? null : /* @__PURE__ */ a(ca, {
3599
+ asChild: !0,
3600
+ defaultOpen: !1,
3601
+ className: "group/collapsible",
3602
+ children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(la, {
3603
+ asChild: !0,
3604
+ children: /* @__PURE__ */ o(W, {
3605
+ tooltip: e.title,
3606
+ className: "w-full justify-between",
3607
+ children: [/* @__PURE__ */ o("div", {
3608
+ className: "flex items-center gap-3",
3609
+ children: [/* @__PURE__ */ a("span", {
3610
+ className: "flex items-center justify-center shrink-0 size-4",
3611
+ children: e.icon
3612
+ }), /* @__PURE__ */ a("span", {
3613
+ className: "font-medium truncate",
3614
+ children: e.title
3615
+ })]
3616
+ }), /* @__PURE__ */ a(f, { className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" })]
3617
+ })
3618
+ }), /* @__PURE__ */ a(ua, { children: /* @__PURE__ */ a(Ai, { children: n.map((e) => /* @__PURE__ */ a(ji, { children: /* @__PURE__ */ a(Mi, {
3619
+ asChild: !0,
3620
+ children: /* @__PURE__ */ a(t, {
3621
+ href: e.url,
3622
+ children: /* @__PURE__ */ a("span", { children: e.title })
3623
+ })
3624
+ }) }, e.title)) }) })] })
3625
+ }, e.title);
3626
+ }
3627
+ return /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
3628
+ asChild: !0,
3629
+ tooltip: e.title,
3630
+ children: /* @__PURE__ */ o(t, {
3631
+ href: e.url,
3632
+ className: "flex items-center justify-start gap-3 w-full px-3",
3633
+ children: [/* @__PURE__ */ a("span", {
3634
+ className: "flex items-center justify-center shrink-0 size-4",
3635
+ children: e.icon
3636
+ }), /* @__PURE__ */ a("span", {
3637
+ className: "font-medium truncate",
3638
+ children: e.title
3639
+ })]
3640
+ })
3641
+ }) }, e.title);
3642
+ }) }) })
3609
3643
  });
3610
3644
  }
3611
3645
  //#endregion
3612
3646
  //#region src/hooks/useSidebarContext.tsx
3613
- var va = Ee(null), ya = () => {
3614
- let e = De(va);
3647
+ var ya = De(null), ba = () => {
3648
+ let e = Oe(ya);
3615
3649
  if (!e) throw Error("useSidebarContext must be used within a SidebarProvider");
3616
3650
  return e;
3617
3651
  };
3618
3652
  //#endregion
3619
3653
  //#region src/components/custom/sideBar/yusrSideBar.tsx
3620
- function ba({ LinkComponent: e = "a", logos: t, displayCompany: n = {
3654
+ function xa({ LinkComponent: e = "a", logos: t, displayCompany: n = {
3621
3655
  name: "Yusr UI",
3622
3656
  logo: "/yusr-logo.png"
3623
3657
  }, navMain: r, navSecondary: i, children: o, ...s }) {
3624
- return /* @__PURE__ */ a(va.Provider, {
3658
+ return /* @__PURE__ */ a(ya.Provider, {
3625
3659
  value: {
3626
3660
  LinkComponent: e,
3627
3661
  logos: t,
@@ -3629,7 +3663,7 @@ function ba({ LinkComponent: e = "a", logos: t, displayCompany: n = {
3629
3663
  navMain: r,
3630
3664
  navSecondary: i
3631
3665
  },
3632
- children: /* @__PURE__ */ a(di, { children: /* @__PURE__ */ a(fi, {
3666
+ children: /* @__PURE__ */ a(fi, { children: /* @__PURE__ */ a(pi, {
3633
3667
  collapsible: "icon",
3634
3668
  side: "right",
3635
3669
  ...s,
@@ -3637,9 +3671,9 @@ function ba({ LinkComponent: e = "a", logos: t, displayCompany: n = {
3637
3671
  }) })
3638
3672
  });
3639
3673
  }
3640
- ba.Header = function() {
3641
- let { displayCompany: e, logos: t } = ya();
3642
- return /* @__PURE__ */ a(_i, { children: /* @__PURE__ */ a(H, { children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(oa, { logos: {
3674
+ xa.Header = function() {
3675
+ let { displayCompany: e, logos: t } = ba();
3676
+ return /* @__PURE__ */ a(vi, { children: /* @__PURE__ */ a(H, { children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(sa, { logos: {
3643
3677
  full: {
3644
3678
  light: t.logoFullLight,
3645
3679
  dark: t.logoFullDark
@@ -3648,27 +3682,27 @@ ba.Header = function() {
3648
3682
  light: t.logoOnlyLight,
3649
3683
  dark: t.logoOnlyDark
3650
3684
  }
3651
- } }), e && /* @__PURE__ */ a(aa, { company: e })] }) }) });
3652
- }, ba.Content = function({ LogoutHandler: e }) {
3653
- let { navMain: t, navSecondary: n, LinkComponent: r } = ya();
3654
- return !t || !n ? /* @__PURE__ */ a(bi, {}) : /* @__PURE__ */ o(bi, { children: [/* @__PURE__ */ a(_a, {
3685
+ } }), e && /* @__PURE__ */ a(oa, { company: e })] }) }) });
3686
+ }, xa.Content = function({ LogoutHandler: e }) {
3687
+ let { navMain: t, navSecondary: n, LinkComponent: r } = ba();
3688
+ return !t || !n ? /* @__PURE__ */ a(xi, {}) : /* @__PURE__ */ o(xi, { children: [/* @__PURE__ */ a(va, {
3655
3689
  items: t,
3656
3690
  LinkComponent: r
3657
- }), e !== void 0 && /* @__PURE__ */ a(ha, {
3691
+ }), e !== void 0 && /* @__PURE__ */ a(ga, {
3658
3692
  items: n,
3659
3693
  className: "pt-10 mt-auto text-center",
3660
3694
  onLogout: e,
3661
3695
  LinkComponent: r
3662
3696
  })] });
3663
- }, ba.Footer = function({ loggedInUser: e = void 0 }) {
3664
- return /* @__PURE__ */ a(vi, { children: /* @__PURE__ */ a(ga, { user: e }) });
3697
+ }, xa.Footer = function({ loggedInUser: e = void 0 }) {
3698
+ return /* @__PURE__ */ a(yi, { children: /* @__PURE__ */ a(_a, { user: e }) });
3665
3699
  };
3666
3700
  //#endregion
3667
3701
  //#region src/components/custom/status/loading.tsx
3668
- function xa({ entityName: e }) {
3702
+ function Sa({ entityName: e }) {
3669
3703
  return /* @__PURE__ */ o("div", {
3670
3704
  className: "sm:max-w-xl flex flex-col items-center justify-center py-20",
3671
- children: [/* @__PURE__ */ a(ne, { className: "h-10 w-10 animate-spin text-primary" }), /* @__PURE__ */ o("p", {
3705
+ children: [/* @__PURE__ */ a(re, { className: "h-10 w-10 animate-spin text-primary" }), /* @__PURE__ */ o("p", {
3672
3706
  className: "mt-4 text-sm text-muted-foreground",
3673
3707
  children: [
3674
3708
  "جاري تحميل بيانات ",
@@ -3680,75 +3714,75 @@ function xa({ entityName: e }) {
3680
3714
  }
3681
3715
  //#endregion
3682
3716
  //#region src/components/pure/alert-dialog.tsx
3683
- function Sa({ ...e }) {
3717
+ function Ca({ ...e }) {
3684
3718
  return /* @__PURE__ */ a(A.Root, {
3685
3719
  "data-slot": "alert-dialog",
3686
3720
  ...e
3687
3721
  });
3688
3722
  }
3689
- function Ca({ ...e }) {
3723
+ function wa({ ...e }) {
3690
3724
  return /* @__PURE__ */ a(A.Trigger, {
3691
3725
  "data-slot": "alert-dialog-trigger",
3692
3726
  ...e
3693
3727
  });
3694
3728
  }
3695
- function wa({ ...e }) {
3729
+ function Ta({ ...e }) {
3696
3730
  return /* @__PURE__ */ a(A.Portal, {
3697
3731
  "data-slot": "alert-dialog-portal",
3698
3732
  ...e
3699
3733
  });
3700
3734
  }
3701
- function Ta({ className: e, ...t }) {
3735
+ function Ea({ className: e, ...t }) {
3702
3736
  return /* @__PURE__ */ a(A.Overlay, {
3703
3737
  "data-slot": "alert-dialog-overlay",
3704
3738
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 duration-100 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", e),
3705
3739
  ...t
3706
3740
  });
3707
3741
  }
3708
- function Ea({ className: e, size: t = "default", ...n }) {
3709
- return /* @__PURE__ */ o(wa, { children: [/* @__PURE__ */ a(Ta, {}), /* @__PURE__ */ a(A.Content, {
3742
+ function Da({ className: e, size: t = "default", ...n }) {
3743
+ return /* @__PURE__ */ o(Ta, { children: [/* @__PURE__ */ a(Ea, {}), /* @__PURE__ */ a(A.Content, {
3710
3744
  "data-slot": "alert-dialog-content",
3711
3745
  "data-size": t,
3712
3746
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 bg-background ring-foreground/10 gap-4 rounded-xl p-4 ring-1 duration-100 data-[size=default]:max-w-xs data-[size=sm]:max-w-xs data-[size=default]:sm:max-w-sm group/alert-dialog-content fixed top-1/2 start-1/2 z-50 grid w-full -translate-x-1/2 rtl:translate-x-1/2 -translate-y-1/2 outline-none", e),
3713
3747
  ...n
3714
3748
  })] });
3715
3749
  }
3716
- function Da({ className: e, ...t }) {
3750
+ function Oa({ className: e, ...t }) {
3717
3751
  return /* @__PURE__ */ a("div", {
3718
3752
  "data-slot": "alert-dialog-header",
3719
3753
  className: P("grid grid-rows-[auto_1fr] place-items-center gap-1.5 text-center has-data-[slot=alert-dialog-media]:grid-rows-[auto_auto_1fr] has-data-[slot=alert-dialog-media]:gap-x-4 sm:group-data-[size=default]/alert-dialog-content:place-items-start sm:group-data-[size=default]/alert-dialog-content:text-start sm:group-data-[size=default]/alert-dialog-content:has-data-[slot=alert-dialog-media]:grid-rows-[auto_1fr]", e),
3720
3754
  ...t
3721
3755
  });
3722
3756
  }
3723
- function Oa({ className: e, ...t }) {
3757
+ function ka({ className: e, ...t }) {
3724
3758
  return /* @__PURE__ */ a("div", {
3725
3759
  "data-slot": "alert-dialog-footer",
3726
3760
  className: P("bg-muted/50 -mx-4 -mb-4 rounded-b-xl border-t p-4 flex flex-col-reverse gap-2 group-data-[size=sm]/alert-dialog-content:grid group-data-[size=sm]/alert-dialog-content:grid-cols-2 sm:flex-row sm:justify-end", e),
3727
3761
  ...t
3728
3762
  });
3729
3763
  }
3730
- function ka({ className: e, ...t }) {
3764
+ function Aa({ className: e, ...t }) {
3731
3765
  return /* @__PURE__ */ a("div", {
3732
3766
  "data-slot": "alert-dialog-media",
3733
3767
  className: P("bg-muted mb-2 inline-flex size-10 items-center justify-center rounded-md sm:group-data-[size=default]/alert-dialog-content:row-span-2 *:[svg:not([class*='size-'])]:size-6", e),
3734
3768
  ...t
3735
3769
  });
3736
3770
  }
3737
- function Aa({ className: e, ...t }) {
3771
+ function ja({ className: e, ...t }) {
3738
3772
  return /* @__PURE__ */ a(A.Title, {
3739
3773
  "data-slot": "alert-dialog-title",
3740
3774
  className: P("text-base font-medium sm:group-data-[size=default]/alert-dialog-content:group-has-data-[slot=alert-dialog-media]/alert-dialog-content:col-start-2", e),
3741
3775
  ...t
3742
3776
  });
3743
3777
  }
3744
- function ja({ className: e, ...t }) {
3778
+ function Ma({ className: e, ...t }) {
3745
3779
  return /* @__PURE__ */ a(A.Description, {
3746
3780
  "data-slot": "alert-dialog-description",
3747
3781
  className: P("text-muted-foreground *:[a]:hover:text-foreground text-sm text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3", e),
3748
3782
  ...t
3749
3783
  });
3750
3784
  }
3751
- function Ma({ className: e, variant: t = "default", size: n = "default", ...r }) {
3785
+ function Na({ className: e, variant: t = "default", size: n = "default", ...r }) {
3752
3786
  return /* @__PURE__ */ a(F, {
3753
3787
  variant: t,
3754
3788
  size: n,
@@ -3760,7 +3794,7 @@ function Ma({ className: e, variant: t = "default", size: n = "default", ...r })
3760
3794
  })
3761
3795
  });
3762
3796
  }
3763
- function Na({ className: e, variant: t = "outline", size: n = "default", ...r }) {
3797
+ function Pa({ className: e, variant: t = "outline", size: n = "default", ...r }) {
3764
3798
  return /* @__PURE__ */ a(F, {
3765
3799
  variant: t,
3766
3800
  size: n,
@@ -3774,36 +3808,36 @@ function Na({ className: e, variant: t = "outline", size: n = "default", ...r })
3774
3808
  }
3775
3809
  //#endregion
3776
3810
  //#region src/components/pure/alert.tsx
3777
- var Pa = S("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-start text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pe-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4", {
3811
+ var Fa = S("group/alert relative grid w-full gap-0.5 rounded-lg border px-2.5 py-2 text-start text-sm has-data-[slot=alert-action]:relative has-data-[slot=alert-action]:pe-18 has-[>svg]:grid-cols-[auto_1fr] has-[>svg]:gap-x-2 *:[svg]:row-span-2 *:[svg]:translate-y-0.5 *:[svg]:text-current *:[svg:not([class*='size-'])]:size-4", {
3778
3812
  variants: { variant: {
3779
3813
  default: "bg-card text-card-foreground",
3780
3814
  destructive: "bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"
3781
3815
  } },
3782
3816
  defaultVariants: { variant: "default" }
3783
3817
  });
3784
- function Fa({ className: e, variant: t, ...n }) {
3818
+ function Ia({ className: e, variant: t, ...n }) {
3785
3819
  return /* @__PURE__ */ a("div", {
3786
3820
  "data-slot": "alert",
3787
3821
  role: "alert",
3788
- className: P(Pa({ variant: t }), e),
3822
+ className: P(Fa({ variant: t }), e),
3789
3823
  ...n
3790
3824
  });
3791
3825
  }
3792
- function Ia({ className: e, ...t }) {
3826
+ function La({ className: e, ...t }) {
3793
3827
  return /* @__PURE__ */ a("div", {
3794
3828
  "data-slot": "alert-title",
3795
3829
  className: P("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground", e),
3796
3830
  ...t
3797
3831
  });
3798
3832
  }
3799
- function La({ className: e, ...t }) {
3833
+ function Ra({ className: e, ...t }) {
3800
3834
  return /* @__PURE__ */ a("div", {
3801
3835
  "data-slot": "alert-description",
3802
3836
  className: P("text-sm text-balance text-muted-foreground md:text-pretty [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground [&_p:not(:last-child)]:mb-4", e),
3803
3837
  ...t
3804
3838
  });
3805
3839
  }
3806
- function Ra({ className: e, ...t }) {
3840
+ function za({ className: e, ...t }) {
3807
3841
  return /* @__PURE__ */ a("div", {
3808
3842
  "data-slot": "alert-action",
3809
3843
  className: P("absolute top-2 end-2", e),
@@ -3812,7 +3846,7 @@ function Ra({ className: e, ...t }) {
3812
3846
  }
3813
3847
  //#endregion
3814
3848
  //#region src/components/pure/badge.tsx
3815
- var za = S("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium transition-all has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&>svg]:size-3! inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive overflow-hidden group/badge", {
3849
+ var Ba = S("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs font-medium transition-all has-data-[icon=inline-end]:pe-1.5 has-data-[icon=inline-start]:ps-1.5 [&>svg]:size-3! inline-flex items-center justify-center w-fit whitespace-nowrap shrink-0 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive overflow-hidden group/badge", {
3816
3850
  variants: { variant: {
3817
3851
  default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
3818
3852
  secondary: "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
@@ -3823,17 +3857,17 @@ var za = S("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs
3823
3857
  } },
3824
3858
  defaultVariants: { variant: "default" }
3825
3859
  });
3826
- function Ba({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
3860
+ function Va({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
3827
3861
  return /* @__PURE__ */ a(n ? C : "span", {
3828
3862
  "data-slot": "badge",
3829
3863
  "data-variant": t,
3830
- className: P(za({ variant: t }), e),
3864
+ className: P(Ba({ variant: t }), e),
3831
3865
  ...r
3832
3866
  });
3833
3867
  }
3834
3868
  //#endregion
3835
3869
  //#region src/components/pure/breadcrumb.tsx
3836
- function Va({ className: e, ...t }) {
3870
+ function Ha({ className: e, ...t }) {
3837
3871
  return /* @__PURE__ */ a("nav", {
3838
3872
  "aria-label": "breadcrumb",
3839
3873
  "data-slot": "breadcrumb",
@@ -3841,28 +3875,28 @@ function Va({ className: e, ...t }) {
3841
3875
  ...t
3842
3876
  });
3843
3877
  }
3844
- function Ha({ className: e, ...t }) {
3878
+ function Ua({ className: e, ...t }) {
3845
3879
  return /* @__PURE__ */ a("ol", {
3846
3880
  "data-slot": "breadcrumb-list",
3847
3881
  className: P("text-muted-foreground gap-1.5 text-sm flex flex-wrap items-center wrap-break-word", e),
3848
3882
  ...t
3849
3883
  });
3850
3884
  }
3851
- function Ua({ className: e, ...t }) {
3885
+ function Wa({ className: e, ...t }) {
3852
3886
  return /* @__PURE__ */ a("li", {
3853
3887
  "data-slot": "breadcrumb-item",
3854
3888
  className: P("gap-1 inline-flex items-center", e),
3855
3889
  ...t
3856
3890
  });
3857
3891
  }
3858
- function Wa({ asChild: e, className: t, ...n }) {
3892
+ function Ga({ asChild: e, className: t, ...n }) {
3859
3893
  return /* @__PURE__ */ a(e ? C : "a", {
3860
3894
  "data-slot": "breadcrumb-link",
3861
3895
  className: P("hover:text-foreground transition-colors", t),
3862
3896
  ...n
3863
3897
  });
3864
3898
  }
3865
- function Ga({ className: e, ...t }) {
3899
+ function Ka({ className: e, ...t }) {
3866
3900
  return /* @__PURE__ */ a("span", {
3867
3901
  "data-slot": "breadcrumb-page",
3868
3902
  role: "link",
@@ -3872,24 +3906,24 @@ function Ga({ className: e, ...t }) {
3872
3906
  ...t
3873
3907
  });
3874
3908
  }
3875
- function Ka({ children: e, className: t, ...n }) {
3909
+ function qa({ children: e, className: t, ...n }) {
3876
3910
  return /* @__PURE__ */ a("li", {
3877
3911
  "data-slot": "breadcrumb-separator",
3878
3912
  role: "presentation",
3879
3913
  "aria-hidden": "true",
3880
3914
  className: P("[&>svg]:size-3.5", t),
3881
3915
  ...n,
3882
- children: e ?? /* @__PURE__ */ a(f, { className: "rtl:rotate-180" })
3916
+ children: e ?? /* @__PURE__ */ a(p, { className: "rtl:rotate-180" })
3883
3917
  });
3884
3918
  }
3885
- function qa({ className: e, ...t }) {
3919
+ function Ja({ className: e, ...t }) {
3886
3920
  return /* @__PURE__ */ o("span", {
3887
3921
  "data-slot": "breadcrumb-ellipsis",
3888
3922
  role: "presentation",
3889
3923
  "aria-hidden": "true",
3890
3924
  className: P("size-5 [&>svg]:size-4 flex items-center justify-center", e),
3891
3925
  ...t,
3892
- children: [/* @__PURE__ */ a(le, {}), /* @__PURE__ */ a("span", {
3926
+ children: [/* @__PURE__ */ a(ue, {}), /* @__PURE__ */ a("span", {
3893
3927
  className: "sr-only",
3894
3928
  children: "More"
3895
3929
  })]
@@ -3897,34 +3931,34 @@ function qa({ className: e, ...t }) {
3897
3931
  }
3898
3932
  //#endregion
3899
3933
  //#region src/components/pure/chart.tsx
3900
- var Ja = {
3934
+ var Ya = {
3901
3935
  light: "",
3902
3936
  dark: ".dark"
3903
- }, Ya = y.createContext(null);
3904
- function Xa() {
3905
- let e = y.useContext(Ya);
3937
+ }, Xa = y.createContext(null);
3938
+ function Za() {
3939
+ let e = y.useContext(Xa);
3906
3940
  if (!e) throw Error("useChart must be used within a <ChartContainer />");
3907
3941
  return e;
3908
3942
  }
3909
- function Za({ id: e, className: t, children: n, config: r, ...i }) {
3943
+ function Qa({ id: e, className: t, children: n, config: r, ...i }) {
3910
3944
  let s = y.useId(), c = `chart-${e || s.replace(/:/g, "")}`;
3911
- return /* @__PURE__ */ a(Ya.Provider, {
3945
+ return /* @__PURE__ */ a(Xa.Provider, {
3912
3946
  value: { config: r },
3913
3947
  children: /* @__PURE__ */ o("div", {
3914
3948
  "data-slot": "chart",
3915
3949
  "data-chart": c,
3916
3950
  className: P("[&_.recharts-cartesian-axis-tick_text]:fill-muted-foreground [&_.recharts-cartesian-grid_line[stroke='#ccc']]:stroke-border/50 [&_.recharts-curve.recharts-tooltip-cursor]:stroke-border[&_.recharts-polar-grid_[stroke='#ccc']]:stroke-border[&_.recharts-radial-bar-background-sector]:fill-muted [&_.recharts-rectangle.recharts-tooltip-cursor]:fill-muted [&_.recharts-reference-line_[stroke='#ccc']]:stroke-border flex aspect-video justify-center text-xs [&_.recharts-dot[stroke='#fff']]:stroke-transparent[&_.recharts-layer]:outline-hidden [&_.recharts-sector]:outline-hidden [&_.recharts-sector[stroke='#fff']]:stroke-transparent [&_.recharts-surface]:outline-hidden", t),
3917
3951
  ...i,
3918
- children: [/* @__PURE__ */ a(Qa, {
3952
+ children: [/* @__PURE__ */ a($a, {
3919
3953
  id: c,
3920
3954
  config: r
3921
- }), /* @__PURE__ */ a(Ze.ResponsiveContainer, { children: n })]
3955
+ }), /* @__PURE__ */ a(Qe.ResponsiveContainer, { children: n })]
3922
3956
  })
3923
3957
  });
3924
3958
  }
3925
- var Qa = ({ id: e, config: t }) => {
3959
+ var $a = ({ id: e, config: t }) => {
3926
3960
  let n = Object.entries(t).filter(([, e]) => e.theme || e.color);
3927
- return n.length ? /* @__PURE__ */ a("style", { dangerouslySetInnerHTML: { __html: Object.entries(Ja).map(([t, r]) => `
3961
+ return n.length ? /* @__PURE__ */ a("style", { dangerouslySetInnerHTML: { __html: Object.entries(Ya).map(([t, r]) => `
3928
3962
  ${r} [data-chart=${e}] {
3929
3963
  ${n.map(([e, n]) => {
3930
3964
  let r = n.theme?.[t] || n.color;
@@ -3932,11 +3966,11 @@ ${n.map(([e, n]) => {
3932
3966
  }).join("\n")}
3933
3967
  }
3934
3968
  `).join("\n") } }) : null;
3935
- }, $a = Ze.Tooltip;
3936
- function eo({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: s = !1, hideIndicator: c = !1, label: l, labelFormatter: u, labelClassName: d, formatter: f, color: p, nameKey: m, labelKey: h }) {
3937
- let { config: g } = Xa(), _ = y.useMemo(() => {
3969
+ }, eo = Qe.Tooltip;
3970
+ function to({ active: e, payload: t, className: n, indicator: r = "dot", hideLabel: s = !1, hideIndicator: c = !1, label: l, labelFormatter: u, labelClassName: d, formatter: f, color: p, nameKey: m, labelKey: h }) {
3971
+ let { config: g } = Za(), _ = y.useMemo(() => {
3938
3972
  if (s || !t?.length) return null;
3939
- let [e] = t, n = ro(g, e, `${h || e?.dataKey || e?.name || "value"}`), r = !h && typeof l == "string" ? g[l]?.label || l : n?.label;
3973
+ let [e] = t, n = io(g, e, `${h || e?.dataKey || e?.name || "value"}`), r = !h && typeof l == "string" ? g[l]?.label || l : n?.label;
3940
3974
  return u ? /* @__PURE__ */ a("div", {
3941
3975
  className: P("font-medium", d),
3942
3976
  children: u(r, t)
@@ -3960,7 +3994,7 @@ function eo({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
3960
3994
  children: [v ? null : _, /* @__PURE__ */ a("div", {
3961
3995
  className: "grid gap-1.5",
3962
3996
  children: t.filter((e) => e.type !== "none").map((e, t) => {
3963
- let n = ro(g, e, `${m || e.name || e.dataKey || "value"}`), s = p || e.payload.fill || e.color;
3997
+ let n = io(g, e, `${m || e.name || e.dataKey || "value"}`), s = p || e.payload.fill || e.color;
3964
3998
  return /* @__PURE__ */ a("div", {
3965
3999
  className: P("[&>svg]:text-muted-foreground flex w-full flex-wrap items-stretch gap-2 [&>svg]:h-2.5 [&>svg]:w-2.5", r === "dot" && "items-center"),
3966
4000
  children: f && e?.value !== void 0 && e.name ? f(e.value, e.name, e, t, e.payload) : /* @__PURE__ */ o(i, { children: [n?.icon ? /* @__PURE__ */ a(n.icon, {}) : !c && /* @__PURE__ */ a("div", {
@@ -3992,13 +4026,13 @@ function eo({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
3992
4026
  })]
3993
4027
  });
3994
4028
  }
3995
- var to = Ze.Legend;
3996
- function no({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bottom", nameKey: i }) {
3997
- let { config: s } = Xa();
4029
+ var no = Qe.Legend;
4030
+ function ro({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bottom", nameKey: i }) {
4031
+ let { config: s } = Za();
3998
4032
  return n?.length ? /* @__PURE__ */ a("div", {
3999
4033
  className: P("flex items-center justify-center gap-4", r === "top" ? "pb-3" : "pt-3", e),
4000
4034
  children: n.filter((e) => e.type !== "none").map((e) => {
4001
- let n = ro(s, e, `${i || e.dataKey || "value"}`);
4035
+ let n = io(s, e, `${i || e.dataKey || "value"}`);
4002
4036
  return /* @__PURE__ */ o("div", {
4003
4037
  className: P("[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),
4004
4038
  children: [n?.icon && !t ? /* @__PURE__ */ a(n.icon, {}) : /* @__PURE__ */ a("div", {
@@ -4009,19 +4043,19 @@ function no({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bo
4009
4043
  })
4010
4044
  }) : null;
4011
4045
  }
4012
- function ro(e, t, n) {
4046
+ function io(e, t, n) {
4013
4047
  if (typeof t != "object" || !t) return;
4014
4048
  let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
4015
4049
  return n in t && typeof t[n] == "string" ? i = t[n] : r && n in r && typeof r[n] == "string" && (i = r[n]), i in e ? e[i] : e[n];
4016
4050
  }
4017
4051
  //#endregion
4018
4052
  //#region src/components/pure/checkbox.tsx
4019
- function io({ className: e, ...t }) {
4020
- return /* @__PURE__ */ a(Ue.Root, {
4053
+ function ao({ className: e, ...t }) {
4054
+ return /* @__PURE__ */ a(We.Root, {
4021
4055
  "data-slot": "checkbox",
4022
4056
  className: P("border-input dark:bg-input/30 data-checked:bg-primary data-checked:text-primary-foreground dark:data-checked:bg-primary data-checked:border-primary aria-invalid:aria-checked:border-primary aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 flex size-4 items-center justify-center rounded-[4px] border transition-colors group-has-disabled/field:opacity-50 focus-visible:ring-3 aria-invalid:ring-3 peer relative shrink-0 outline-none after:absolute after:-inset-x-3 after:-inset-y-2 disabled:cursor-not-allowed disabled:opacity-50", e),
4023
4057
  ...t,
4024
- children: /* @__PURE__ */ a(Ue.Indicator, {
4058
+ children: /* @__PURE__ */ a(We.Indicator, {
4025
4059
  "data-slot": "checkbox-indicator",
4026
4060
  className: "[&>svg]:size-3.5 grid place-content-center text-current transition-none",
4027
4061
  children: /* @__PURE__ */ a(c, {})
@@ -4030,14 +4064,14 @@ function io({ className: e, ...t }) {
4030
4064
  }
4031
4065
  //#endregion
4032
4066
  //#region src/components/pure/combobox.tsx
4033
- var ao = j.Root;
4034
- function oo({ ...e }) {
4067
+ var oo = j.Root;
4068
+ function so({ ...e }) {
4035
4069
  return /* @__PURE__ */ a(j.Value, {
4036
4070
  "data-slot": "combobox-value",
4037
4071
  ...e
4038
4072
  });
4039
4073
  }
4040
- function so({ className: e, children: t, ...n }) {
4074
+ function co({ className: e, children: t, ...n }) {
4041
4075
  return /* @__PURE__ */ o(j.Trigger, {
4042
4076
  "data-slot": "combobox-trigger",
4043
4077
  className: P("[&_svg:not([class*='size-'])]:size-4", e),
@@ -4045,43 +4079,43 @@ function so({ className: e, children: t, ...n }) {
4045
4079
  children: [t, /* @__PURE__ */ a(l, { className: "text-muted-foreground size-4 pointer-events-none" })]
4046
4080
  });
4047
4081
  }
4048
- function co({ className: e, ...t }) {
4082
+ function lo({ className: e, ...t }) {
4049
4083
  return /* @__PURE__ */ a(j.Clear, {
4050
4084
  "data-slot": "combobox-clear",
4051
- render: /* @__PURE__ */ a(zi, {
4085
+ render: /* @__PURE__ */ a(Bi, {
4052
4086
  variant: "ghost",
4053
4087
  size: "icon-xs"
4054
4088
  }),
4055
4089
  className: P(e),
4056
4090
  ...t,
4057
- children: /* @__PURE__ */ a(Ce, { className: "pointer-events-none" })
4091
+ children: /* @__PURE__ */ a(we, { className: "pointer-events-none" })
4058
4092
  });
4059
4093
  }
4060
- function lo({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: i = !1, ...s }) {
4061
- return /* @__PURE__ */ o(Fi, {
4094
+ function uo({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: i = !1, ...s }) {
4095
+ return /* @__PURE__ */ o(Ii, {
4062
4096
  className: P("w-auto", e),
4063
4097
  children: [
4064
4098
  /* @__PURE__ */ a(j.Input, {
4065
- render: /* @__PURE__ */ a(Vi, { disabled: n }),
4099
+ render: /* @__PURE__ */ a(Hi, { disabled: n }),
4066
4100
  ...s
4067
4101
  }),
4068
- /* @__PURE__ */ o(Li, {
4102
+ /* @__PURE__ */ o(Ri, {
4069
4103
  align: "inline-end",
4070
- children: [r && /* @__PURE__ */ a(zi, {
4104
+ children: [r && /* @__PURE__ */ a(Bi, {
4071
4105
  size: "icon-xs",
4072
4106
  variant: "ghost",
4073
4107
  asChild: !0,
4074
4108
  "data-slot": "input-group-button",
4075
4109
  className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
4076
4110
  disabled: n,
4077
- children: /* @__PURE__ */ a(so, {})
4078
- }), i && /* @__PURE__ */ a(co, { disabled: n })]
4111
+ children: /* @__PURE__ */ a(co, {})
4112
+ }), i && /* @__PURE__ */ a(lo, { disabled: n })]
4079
4113
  }),
4080
4114
  t
4081
4115
  ]
4082
4116
  });
4083
4117
  }
4084
- function uo({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: o, ...s }) {
4118
+ function fo({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: o, ...s }) {
4085
4119
  return /* @__PURE__ */ a(j.Portal, { children: /* @__PURE__ */ a(j.Positioner, {
4086
4120
  side: t,
4087
4121
  sideOffset: n,
@@ -4097,14 +4131,14 @@ function uo({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "s
4097
4131
  })
4098
4132
  }) });
4099
4133
  }
4100
- function fo({ className: e, ...t }) {
4134
+ function po({ className: e, ...t }) {
4101
4135
  return /* @__PURE__ */ a(j.List, {
4102
4136
  "data-slot": "combobox-list",
4103
4137
  className: P("no-scrollbar max-h-[min(calc(--spacing(72)---spacing(9)),calc(var(--available-height)---spacing(9)))] scroll-py-1 p-1 data-empty:p-0 overflow-y-auto overscroll-contain", e),
4104
4138
  ...t
4105
4139
  });
4106
4140
  }
4107
- function po({ className: e, children: t, ...n }) {
4141
+ function mo({ className: e, children: t, ...n }) {
4108
4142
  return /* @__PURE__ */ o(j.Item, {
4109
4143
  "data-slot": "combobox-item",
4110
4144
  className: P("data-highlighted:bg-accent data-highlighted:text-accent-foreground not-data-[variant=destructive]:data-highlighted:**:text-accent-foreground gap-2 rounded-md py-1 pe-8 ps-1.5 text-sm [&_svg:not([class*='size-'])]:size-4 relative flex w-full cursor-default items-center outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", e),
@@ -4115,48 +4149,48 @@ function po({ className: e, children: t, ...n }) {
4115
4149
  })]
4116
4150
  });
4117
4151
  }
4118
- function mo({ className: e, ...t }) {
4152
+ function ho({ className: e, ...t }) {
4119
4153
  return /* @__PURE__ */ a(j.Group, {
4120
4154
  "data-slot": "combobox-group",
4121
4155
  className: P(e),
4122
4156
  ...t
4123
4157
  });
4124
4158
  }
4125
- function ho({ className: e, ...t }) {
4159
+ function go({ className: e, ...t }) {
4126
4160
  return /* @__PURE__ */ a(j.GroupLabel, {
4127
4161
  "data-slot": "combobox-label",
4128
4162
  className: P("text-muted-foreground px-2 py-1.5 text-xs", e),
4129
4163
  ...t
4130
4164
  });
4131
4165
  }
4132
- function go({ ...e }) {
4166
+ function _o({ ...e }) {
4133
4167
  return /* @__PURE__ */ a(j.Collection, {
4134
4168
  "data-slot": "combobox-collection",
4135
4169
  ...e
4136
4170
  });
4137
4171
  }
4138
- function _o({ className: e, ...t }) {
4172
+ function vo({ className: e, ...t }) {
4139
4173
  return /* @__PURE__ */ a(j.Empty, {
4140
4174
  "data-slot": "combobox-empty",
4141
4175
  className: P("text-muted-foreground hidden w-full justify-center py-2 text-center text-sm group-data-empty/combobox-content:flex", e),
4142
4176
  ...t
4143
4177
  });
4144
4178
  }
4145
- function vo({ className: e, ...t }) {
4179
+ function yo({ className: e, ...t }) {
4146
4180
  return /* @__PURE__ */ a(j.Separator, {
4147
4181
  "data-slot": "combobox-separator",
4148
4182
  className: P("bg-border -mx-1 my-1 h-px", e),
4149
4183
  ...t
4150
4184
  });
4151
4185
  }
4152
- function yo({ className: e, ...t }) {
4186
+ function bo({ className: e, ...t }) {
4153
4187
  return /* @__PURE__ */ a(j.Chips, {
4154
4188
  "data-slot": "combobox-chips",
4155
4189
  className: P("dark:bg-input/30 border-input focus-within:border-ring focus-within:ring-ring/50 has-aria-invalid:ring-destructive/20 dark:has-aria-invalid:ring-destructive/40 has-aria-invalid:border-destructive dark:has-aria-invalid:border-destructive/50 flex min-h-8 flex-wrap items-center gap-1 rounded-lg border bg-transparent bg-clip-padding px-2.5 py-1 text-sm transition-colors focus-within:ring-3 has-aria-invalid:ring-3 has-data-[slot=combobox-chip]:px-1", e),
4156
4190
  ...t
4157
4191
  });
4158
4192
  }
4159
- function bo({ className: e, children: t, showRemove: n = !0, ...r }) {
4193
+ function xo({ className: e, children: t, showRemove: n = !0, ...r }) {
4160
4194
  return /* @__PURE__ */ o(j.Chip, {
4161
4195
  "data-slot": "combobox-chip",
4162
4196
  className: P("bg-muted text-foreground flex h-[calc(--spacing(5.25))] w-fit items-center justify-center gap-1 rounded-sm px-1.5 text-xs font-medium whitespace-nowrap has-data-[slot=combobox-chip-remove]:pe-0 has-disabled:pointer-events-none has-disabled:cursor-not-allowed has-disabled:opacity-50", e),
@@ -4168,66 +4202,66 @@ function bo({ className: e, children: t, showRemove: n = !0, ...r }) {
4168
4202
  }),
4169
4203
  className: "-ms-1 opacity-50 hover:opacity-100",
4170
4204
  "data-slot": "combobox-chip-remove",
4171
- children: /* @__PURE__ */ a(Ce, { className: "pointer-events-none" })
4205
+ children: /* @__PURE__ */ a(we, { className: "pointer-events-none" })
4172
4206
  })]
4173
4207
  });
4174
4208
  }
4175
- function xo({ className: e, ...t }) {
4209
+ function So({ className: e, ...t }) {
4176
4210
  return /* @__PURE__ */ a(j.Input, {
4177
4211
  "data-slot": "combobox-chip-input",
4178
4212
  className: P("min-w-16 flex-1 outline-none", e),
4179
4213
  ...t
4180
4214
  });
4181
4215
  }
4182
- function So() {
4216
+ function Co() {
4183
4217
  return y.useRef(null);
4184
4218
  }
4185
4219
  //#endregion
4186
4220
  //#region src/components/pure/direction.tsx
4187
- function Co({ dir: e, direction: t, children: n }) {
4188
- return /* @__PURE__ */ a(Ge.DirectionProvider, {
4221
+ function wo({ dir: e, direction: t, children: n }) {
4222
+ return /* @__PURE__ */ a(Ke.DirectionProvider, {
4189
4223
  dir: t ?? e,
4190
4224
  children: n
4191
4225
  });
4192
4226
  }
4193
- var wo = Ge.useDirection;
4227
+ var To = Ke.useDirection;
4194
4228
  //#endregion
4195
4229
  //#region src/components/pure/drawer.tsx
4196
- function To({ ...e }) {
4230
+ function Eo({ ...e }) {
4197
4231
  return /* @__PURE__ */ a(M.Root, {
4198
4232
  "data-slot": "drawer",
4199
4233
  ...e
4200
4234
  });
4201
4235
  }
4202
- function Eo({ ...e }) {
4236
+ function Do({ ...e }) {
4203
4237
  return /* @__PURE__ */ a(M.Trigger, {
4204
4238
  "data-slot": "drawer-trigger",
4205
4239
  ...e
4206
4240
  });
4207
4241
  }
4208
- function Do({ ...e }) {
4242
+ function Oo({ ...e }) {
4209
4243
  return /* @__PURE__ */ a(M.Portal, {
4210
4244
  "data-slot": "drawer-portal",
4211
4245
  ...e
4212
4246
  });
4213
4247
  }
4214
- function Oo({ ...e }) {
4248
+ function ko({ ...e }) {
4215
4249
  return /* @__PURE__ */ a(M.Close, {
4216
4250
  "data-slot": "drawer-close",
4217
4251
  ...e
4218
4252
  });
4219
4253
  }
4220
- function ko({ className: e, ...t }) {
4254
+ function Ao({ className: e, ...t }) {
4221
4255
  return /* @__PURE__ */ a(M.Overlay, {
4222
4256
  "data-slot": "drawer-overlay",
4223
4257
  className: P("data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 bg-black/10 supports-backdrop-filter:backdrop-blur-xs fixed inset-0 z-50", e),
4224
4258
  ...t
4225
4259
  });
4226
4260
  }
4227
- function Ao({ className: e, children: t, ...n }) {
4228
- return /* @__PURE__ */ o(Do, {
4261
+ function jo({ className: e, children: t, ...n }) {
4262
+ return /* @__PURE__ */ o(Oo, {
4229
4263
  "data-slot": "drawer-portal",
4230
- children: [/* @__PURE__ */ a(ko, {}), /* @__PURE__ */ o(M.Content, {
4264
+ children: [/* @__PURE__ */ a(Ao, {}), /* @__PURE__ */ o(M.Content, {
4231
4265
  "data-slot": "drawer-content",
4232
4266
  className: P("bg-background flex h-auto flex-col text-sm data-[vaul-drawer-direction=bottom]:inset-x-0 data-[vaul-drawer-direction=bottom]:bottom-0 data-[vaul-drawer-direction=bottom]:mt-24 data-[vaul-drawer-direction=bottom]:max-h-[80vh] data-[vaul-drawer-direction=bottom]:rounded-t-xl data-[vaul-drawer-direction=bottom]:border-t data-[vaul-drawer-direction=left]:inset-y-0 data-[vaul-drawer-direction=left]:start-0 data-[vaul-drawer-direction=left]:w-3/4 data-[vaul-drawer-direction=left]:rounded-e-xl data-[vaul-drawer-direction=left]:border-e data-[vaul-drawer-direction=right]:inset-y-0 data-[vaul-drawer-direction=right]:end-0 data-[vaul-drawer-direction=right]:w-3/4 data-[vaul-drawer-direction=right]:rounded-s-xl data-[vaul-drawer-direction=right]:border-s data-[vaul-drawer-direction=top]:inset-x-0 data-[vaul-drawer-direction=top]:top-0 data-[vaul-drawer-direction=top]:mb-24 data-[vaul-drawer-direction=top]:max-h-[80vh] data-[vaul-drawer-direction=top]:rounded-b-xl data-[vaul-drawer-direction=top]:border-b data-[vaul-drawer-direction=left]:sm:max-w-sm data-[vaul-drawer-direction=right]:sm:max-w-sm group/drawer-content fixed z-50", e),
4233
4267
  ...n,
@@ -4235,28 +4269,28 @@ function Ao({ className: e, children: t, ...n }) {
4235
4269
  })]
4236
4270
  });
4237
4271
  }
4238
- function jo({ className: e, ...t }) {
4272
+ function Mo({ className: e, ...t }) {
4239
4273
  return /* @__PURE__ */ a("div", {
4240
4274
  "data-slot": "drawer-header",
4241
4275
  className: P("gap-0.5 p-4 group-data-[vaul-drawer-direction=bottom]/drawer-content:text-center group-data-[vaul-drawer-direction=top]/drawer-content:text-center md:gap-0.5 md:text-start flex flex-col", e),
4242
4276
  ...t
4243
4277
  });
4244
4278
  }
4245
- function Mo({ className: e, ...t }) {
4279
+ function No({ className: e, ...t }) {
4246
4280
  return /* @__PURE__ */ a("div", {
4247
4281
  "data-slot": "drawer-footer",
4248
4282
  className: P("gap-2 p-4 mt-auto flex flex-col", e),
4249
4283
  ...t
4250
4284
  });
4251
4285
  }
4252
- function No({ className: e, ...t }) {
4286
+ function Po({ className: e, ...t }) {
4253
4287
  return /* @__PURE__ */ a(M.Title, {
4254
4288
  "data-slot": "drawer-title",
4255
4289
  className: P("text-foreground text-base font-medium", e),
4256
4290
  ...t
4257
4291
  });
4258
4292
  }
4259
- function Po({ className: e, ...t }) {
4293
+ function Fo({ className: e, ...t }) {
4260
4294
  return /* @__PURE__ */ a(M.Description, {
4261
4295
  "data-slot": "drawer-description",
4262
4296
  className: P("text-muted-foreground text-sm", e),
@@ -4265,14 +4299,14 @@ function Po({ className: e, ...t }) {
4265
4299
  }
4266
4300
  //#endregion
4267
4301
  //#region src/components/pure/field.tsx
4268
- function Fo({ className: e, ...t }) {
4302
+ function Io({ className: e, ...t }) {
4269
4303
  return /* @__PURE__ */ a("fieldset", {
4270
4304
  "data-slot": "field-set",
4271
4305
  className: P("gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col", e),
4272
4306
  ...t
4273
4307
  });
4274
4308
  }
4275
- function Io({ className: e, variant: t = "legend", ...n }) {
4309
+ function Lo({ className: e, variant: t = "legend", ...n }) {
4276
4310
  return /* @__PURE__ */ a("legend", {
4277
4311
  "data-slot": "field-legend",
4278
4312
  "data-variant": t,
@@ -4280,14 +4314,14 @@ function Io({ className: e, variant: t = "legend", ...n }) {
4280
4314
  ...n
4281
4315
  });
4282
4316
  }
4283
- function Lo({ className: e, ...t }) {
4317
+ function Ro({ className: e, ...t }) {
4284
4318
  return /* @__PURE__ */ a("div", {
4285
4319
  "data-slot": "field-group",
4286
4320
  className: P("gap-5 data-[slot=checkbox-group]:gap-3 *:data-[slot=field-group]:gap-4 group/field-group @container/field-group flex w-full flex-col", e),
4287
4321
  ...t
4288
4322
  });
4289
4323
  }
4290
- var Ro = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full", {
4324
+ var zo = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full", {
4291
4325
  variants: { orientation: {
4292
4326
  vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
4293
4327
  horizontal: "flex-row items-center *:data-[slot=field-label]:flex-auto has-[>[data-slot=field-content]]:items-start has-[>[data-slot=field-content]]:[&>[role=checkbox],[role=radio]]:mt-px",
@@ -4295,44 +4329,44 @@ var Ro = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full",
4295
4329
  } },
4296
4330
  defaultVariants: { orientation: "vertical" }
4297
4331
  });
4298
- function zo({ className: e, orientation: t = "vertical", ...n }) {
4332
+ function Bo({ className: e, orientation: t = "vertical", ...n }) {
4299
4333
  return /* @__PURE__ */ a("div", {
4300
4334
  role: "group",
4301
4335
  "data-slot": "field",
4302
4336
  "data-orientation": t,
4303
- className: P(Ro({ orientation: t }), e),
4337
+ className: P(zo({ orientation: t }), e),
4304
4338
  ...n
4305
4339
  });
4306
4340
  }
4307
- function Bo({ className: e, ...t }) {
4341
+ function Vo({ className: e, ...t }) {
4308
4342
  return /* @__PURE__ */ a("div", {
4309
4343
  "data-slot": "field-content",
4310
4344
  className: P("gap-0.5 group/field-content flex flex-1 flex-col leading-snug", e),
4311
4345
  ...t
4312
4346
  });
4313
4347
  }
4314
- function Vo({ className: e, ...t }) {
4315
- return /* @__PURE__ */ a(Vt, {
4348
+ function Ho({ className: e, ...t }) {
4349
+ return /* @__PURE__ */ a(Ht, {
4316
4350
  "data-slot": "field-label",
4317
4351
  className: P("has-data-checked:bg-primary/5 has-data-checked:border-primary/30 dark:has-data-checked:border-primary/20 dark:has-data-checked:bg-primary/10 gap-2 group-data-[disabled=true]/field:opacity-50 has-[>[data-slot=field]]:rounded-lg has-[>[data-slot=field]]:border *:data-[slot=field]:p-2.5 group/field-label peer/field-label flex w-fit leading-snug", "has-[>[data-slot=field]]:w-full has-[>[data-slot=field]]:flex-col", e),
4318
4352
  ...t
4319
4353
  });
4320
4354
  }
4321
- function Ho({ className: e, ...t }) {
4355
+ function Uo({ className: e, ...t }) {
4322
4356
  return /* @__PURE__ */ a("div", {
4323
4357
  "data-slot": "field-label",
4324
4358
  className: P("gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-snug", e),
4325
4359
  ...t
4326
4360
  });
4327
4361
  }
4328
- function Uo({ className: e, ...t }) {
4362
+ function Wo({ className: e, ...t }) {
4329
4363
  return /* @__PURE__ */ a("p", {
4330
4364
  "data-slot": "field-description",
4331
4365
  className: P("text-muted-foreground text-start text-sm [[data-variant=legend]+&]:-mt-1.5 leading-normal font-normal group-has-data-horizontal/field:text-balance", "last:mt-0 nth-last-2:-mt-1", "[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", e),
4332
4366
  ...t
4333
4367
  });
4334
4368
  }
4335
- function Wo({ children: e, className: t, ...n }) {
4369
+ function Go({ children: e, className: t, ...n }) {
4336
4370
  return /* @__PURE__ */ o("div", {
4337
4371
  "data-slot": "field-separator",
4338
4372
  "data-content": !!e,
@@ -4345,8 +4379,8 @@ function Wo({ children: e, className: t, ...n }) {
4345
4379
  })]
4346
4380
  });
4347
4381
  }
4348
- function Go({ className: e, children: t, errors: n, ...r }) {
4349
- let i = ke(() => {
4382
+ function Ko({ className: e, children: t, errors: n, ...r }) {
4383
+ let i = Ae(() => {
4350
4384
  if (t) return t;
4351
4385
  if (!n?.length) return null;
4352
4386
  let e = [...new Map(n.map((e) => [e?.message, e])).values()];
@@ -4365,30 +4399,30 @@ function Go({ className: e, children: t, errors: n, ...r }) {
4365
4399
  }
4366
4400
  //#endregion
4367
4401
  //#region src/components/pure/scroll-area.tsx
4368
- function Ko({ className: e, children: t, ...n }) {
4369
- return /* @__PURE__ */ o(Ke.Root, {
4402
+ function qo({ className: e, children: t, ...n }) {
4403
+ return /* @__PURE__ */ o(qe.Root, {
4370
4404
  "data-slot": "scroll-area",
4371
4405
  className: P("relative", e),
4372
4406
  ...n,
4373
4407
  children: [
4374
- /* @__PURE__ */ a(Ke.Viewport, {
4408
+ /* @__PURE__ */ a(qe.Viewport, {
4375
4409
  "data-slot": "scroll-area-viewport",
4376
4410
  className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
4377
4411
  children: t
4378
4412
  }),
4379
- /* @__PURE__ */ a(qo, {}),
4380
- /* @__PURE__ */ a(Ke.Corner, {})
4413
+ /* @__PURE__ */ a(Jo, {}),
4414
+ /* @__PURE__ */ a(qe.Corner, {})
4381
4415
  ]
4382
4416
  });
4383
4417
  }
4384
- function qo({ className: e, orientation: t = "vertical", ...n }) {
4385
- return /* @__PURE__ */ a(Ke.ScrollAreaScrollbar, {
4418
+ function Jo({ className: e, orientation: t = "vertical", ...n }) {
4419
+ return /* @__PURE__ */ a(qe.ScrollAreaScrollbar, {
4386
4420
  "data-slot": "scroll-area-scrollbar",
4387
4421
  "data-orientation": t,
4388
4422
  orientation: t,
4389
4423
  className: P("data-horizontal:h-2.5 data-horizontal:flex-col data-horizontal:border-t data-horizontal:border-t-transparent data-vertical:h-full data-vertical:w-2.5 data-vertical:border-s data-vertical:border-s-transparent flex touch-none p-px transition-colors select-none", e),
4390
4424
  ...n,
4391
- children: /* @__PURE__ */ a(Ke.ScrollAreaThumb, {
4425
+ children: /* @__PURE__ */ a(qe.ScrollAreaThumb, {
4392
4426
  "data-slot": "scroll-area-thumb",
4393
4427
  className: "rounded-full bg-border relative flex-1"
4394
4428
  })
@@ -4396,17 +4430,17 @@ function qo({ className: e, orientation: t = "vertical", ...n }) {
4396
4430
  }
4397
4431
  //#endregion
4398
4432
  //#region src/components/pure/sonner.tsx
4399
- var Jo = ({ ...e }) => {
4400
- let { theme: t = "system" } = Qe();
4401
- return /* @__PURE__ */ a($e, {
4433
+ var Yo = ({ ...e }) => {
4434
+ let { theme: t = "system" } = $e();
4435
+ return /* @__PURE__ */ a(et, {
4402
4436
  theme: t,
4403
4437
  className: "toaster group",
4404
4438
  icons: {
4405
- success: /* @__PURE__ */ a(h, { className: "size-4" }),
4406
- info: /* @__PURE__ */ a(te, { className: "size-4" }),
4407
- warning: /* @__PURE__ */ a(be, { className: "size-4" }),
4408
- error: /* @__PURE__ */ a(de, { className: "size-4" }),
4409
- loading: /* @__PURE__ */ a(re, { className: "size-4 animate-spin" })
4439
+ success: /* @__PURE__ */ a(g, { className: "size-4" }),
4440
+ info: /* @__PURE__ */ a(ne, { className: "size-4" }),
4441
+ warning: /* @__PURE__ */ a(xe, { className: "size-4" }),
4442
+ error: /* @__PURE__ */ a(fe, { className: "size-4" }),
4443
+ loading: /* @__PURE__ */ a(ie, { className: "size-4 animate-spin" })
4410
4444
  },
4411
4445
  style: {
4412
4446
  "--normal-bg": "var(--popover)",
@@ -4420,13 +4454,13 @@ var Jo = ({ ...e }) => {
4420
4454
  };
4421
4455
  //#endregion
4422
4456
  //#region src/components/pure/switch.tsx
4423
- function Yo({ className: e, size: t = "default", ...n }) {
4424
- return /* @__PURE__ */ a(qe.Root, {
4457
+ function Xo({ className: e, size: t = "default", ...n }) {
4458
+ return /* @__PURE__ */ a(Je.Root, {
4425
4459
  "data-slot": "switch",
4426
4460
  "data-size": t,
4427
4461
  className: P("data-checked:bg-primary data-unchecked:bg-input focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 dark:data-unchecked:bg-input/80 shrink-0 rounded-full border border-transparent focus-visible:ring-3 aria-invalid:ring-3 data-[size=default]:h-[18.4px] data-[size=default]:w-[32px] data-[size=sm]:h-[14px] data-[size=sm]:w-[24px] peer group/switch relative inline-flex items-center transition-all outline-none after:absolute after:-inset-x-3 after:-inset-y-2 data-disabled:cursor-not-allowed data-disabled:opacity-50", e),
4428
4462
  ...n,
4429
- children: /* @__PURE__ */ a(qe.Thumb, {
4463
+ children: /* @__PURE__ */ a(Je.Thumb, {
4430
4464
  "data-slot": "switch-thumb",
4431
4465
  className: "bg-background dark:data-unchecked:bg-foreground dark:data-checked:bg-primary-foreground rounded-full group-data-[size=default]/switch:size-4 group-data-[size=sm]/switch:size-3 group-data-[size=default]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=sm]/switch:data-checked:translate-x-[calc(100%-2px)] group-data-[size=default]/switch:data-unchecked:translate-x-0 group-data-[size=sm]/switch:data-unchecked:translate-x-0 pointer-events-none block ring-0 transition-transform"
4432
4466
  })
@@ -4434,38 +4468,38 @@ function Yo({ className: e, size: t = "default", ...n }) {
4434
4468
  }
4435
4469
  //#endregion
4436
4470
  //#region src/components/pure/tabs.tsx
4437
- function Xo({ className: e, orientation: t = "horizontal", ...n }) {
4438
- return /* @__PURE__ */ a(Je.Root, {
4471
+ function Zo({ className: e, orientation: t = "horizontal", ...n }) {
4472
+ return /* @__PURE__ */ a(Ye.Root, {
4439
4473
  "data-slot": "tabs",
4440
4474
  "data-orientation": t,
4441
4475
  className: P("gap-2 group/tabs flex data-horizontal:flex-col", e),
4442
4476
  ...n
4443
4477
  });
4444
4478
  }
4445
- var Zo = S("rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col", {
4479
+ var Qo = S("rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col", {
4446
4480
  variants: { variant: {
4447
4481
  default: "bg-muted",
4448
4482
  line: "gap-1 bg-transparent"
4449
4483
  } },
4450
4484
  defaultVariants: { variant: "default" }
4451
4485
  });
4452
- function Qo({ className: e, variant: t = "default", ...n }) {
4453
- return /* @__PURE__ */ a(Je.List, {
4486
+ function $o({ className: e, variant: t = "default", ...n }) {
4487
+ return /* @__PURE__ */ a(Ye.List, {
4454
4488
  "data-slot": "tabs-list",
4455
4489
  "data-variant": t,
4456
- className: P(Zo({ variant: t }), e),
4490
+ className: P(Qo({ variant: t }), e),
4457
4491
  ...n
4458
4492
  });
4459
4493
  }
4460
- function $o({ className: e, ...t }) {
4461
- return /* @__PURE__ */ a(Je.Trigger, {
4494
+ function es({ className: e, ...t }) {
4495
+ return /* @__PURE__ */ a(Ye.Trigger, {
4462
4496
  "data-slot": "tabs-trigger",
4463
4497
  className: P("gap-1.5 rounded-md border border-transparent px-1.5 py-0.5 text-sm font-medium group-data-[variant=default]/tabs-list:data-active:shadow-sm group-data-[variant=line]/tabs-list:data-active:shadow-none [&_svg:not([class*='size-'])]:size-4 focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:outline-ring text-foreground/60 hover:text-foreground dark:text-muted-foreground dark:hover:text-foreground relative inline-flex h-[calc(100%-1px)] flex-1 items-center justify-center whitespace-nowrap transition-all group-data-vertical/tabs:w-full group-data-vertical/tabs:justify-start focus-visible:ring-[3px] focus-visible:outline-1 disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", "group-data-[variant=line]/tabs-list:bg-transparent group-data-[variant=line]/tabs-list:data-active:bg-transparent dark:group-data-[variant=line]/tabs-list:data-active:border-transparent dark:group-data-[variant=line]/tabs-list:data-active:bg-transparent", "data-active:bg-background dark:data-active:text-foreground dark:data-active:border-input dark:data-active:bg-input/30 data-active:text-foreground", "after:bg-foreground after:absolute after:opacity-0 after:transition-opacity group-data-horizontal/tabs:after:inset-x-0 group-data-horizontal/tabs:after:bottom-[-5px] group-data-horizontal/tabs:after:h-0.5 group-data-vertical/tabs:after:inset-y-0 group-data-vertical/tabs:after:-end-1 group-data-vertical/tabs:after:w-0.5 group-data-[variant=line]/tabs-list:data-active:after:opacity-100", e),
4464
4498
  ...t
4465
4499
  });
4466
4500
  }
4467
- function es({ className: e, ...t }) {
4468
- return /* @__PURE__ */ a(Je.Content, {
4501
+ function ts({ className: e, ...t }) {
4502
+ return /* @__PURE__ */ a(Ye.Content, {
4469
4503
  "data-slot": "tabs-content",
4470
4504
  className: P("text-sm flex-1 outline-none", e),
4471
4505
  ...t
@@ -4473,7 +4507,7 @@ function es({ className: e, ...t }) {
4473
4507
  }
4474
4508
  //#endregion
4475
4509
  //#region src/components/pure/toggle.tsx
4476
- var ts = S("hover:text-foreground aria-pressed:bg-muted focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[state=on]:bg-muted gap-1 rounded-lg text-sm font-medium transition-all [&_svg:not([class*='size-'])]:size-4 group/toggle hover:bg-muted inline-flex items-center justify-center whitespace-nowrap outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
4510
+ var ns = S("hover:text-foreground aria-pressed:bg-muted focus-visible:border-ring focus-visible:ring-ring/50 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive data-[state=on]:bg-muted gap-1 rounded-lg text-sm font-medium transition-all [&_svg:not([class*='size-'])]:size-4 group/toggle hover:bg-muted inline-flex items-center justify-center whitespace-nowrap outline-none focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", {
4477
4511
  variants: {
4478
4512
  variant: {
4479
4513
  default: "bg-transparent",
@@ -4490,10 +4524,10 @@ var ts = S("hover:text-foreground aria-pressed:bg-muted focus-visible:border-rin
4490
4524
  size: "default"
4491
4525
  }
4492
4526
  });
4493
- function ns({ className: e, variant: t = "default", size: n = "default", ...r }) {
4494
- return /* @__PURE__ */ a(Ye.Root, {
4527
+ function rs({ className: e, variant: t = "default", size: n = "default", ...r }) {
4528
+ return /* @__PURE__ */ a(Xe.Root, {
4495
4529
  "data-slot": "toggle",
4496
- className: P(ts({
4530
+ className: P(ns({
4497
4531
  variant: t,
4498
4532
  size: n,
4499
4533
  className: e
@@ -4503,14 +4537,14 @@ function ns({ className: e, variant: t = "default", size: n = "default", ...r })
4503
4537
  }
4504
4538
  //#endregion
4505
4539
  //#region src/components/pure/toggle-group.tsx
4506
- var rs = y.createContext({
4540
+ var is = y.createContext({
4507
4541
  size: "default",
4508
4542
  variant: "default",
4509
4543
  spacing: 0,
4510
4544
  orientation: "horizontal"
4511
4545
  });
4512
- function is({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: o, ...s }) {
4513
- return /* @__PURE__ */ a(Xe.Root, {
4546
+ function as({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: o, ...s }) {
4547
+ return /* @__PURE__ */ a(Ze.Root, {
4514
4548
  "data-slot": "toggle-group",
4515
4549
  "data-variant": t,
4516
4550
  "data-size": n,
@@ -4519,7 +4553,7 @@ function is({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
4519
4553
  style: { "--gap": r },
4520
4554
  className: P("rounded-lg data-[size=sm]:rounded-[min(var(--radius-md),10px)] group/toggle-group flex w-fit flex-row items-center gap-[--spacing(var(--gap))] data-vertical:flex-col data-vertical:items-stretch", e),
4521
4555
  ...s,
4522
- children: /* @__PURE__ */ a(rs.Provider, {
4556
+ children: /* @__PURE__ */ a(is.Provider, {
4523
4557
  value: {
4524
4558
  variant: t,
4525
4559
  size: n,
@@ -4530,14 +4564,14 @@ function is({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
4530
4564
  })
4531
4565
  });
4532
4566
  }
4533
- function as({ className: e, children: t, variant: n = "default", size: r = "default", ...i }) {
4534
- let o = y.useContext(rs);
4535
- return /* @__PURE__ */ a(Xe.Item, {
4567
+ function os({ className: e, children: t, variant: n = "default", size: r = "default", ...i }) {
4568
+ let o = y.useContext(is);
4569
+ return /* @__PURE__ */ a(Ze.Item, {
4536
4570
  "data-slot": "toggle-group-item",
4537
4571
  "data-variant": o.variant || n,
4538
4572
  "data-size": o.size || r,
4539
4573
  "data-spacing": o.spacing,
4540
- className: P("group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-s-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-e-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg shrink-0 focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-s-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-s group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t", ts({
4574
+ className: P("group-data-[spacing=0]/toggle-group:rounded-none group-data-[spacing=0]/toggle-group:px-2 group-data-horizontal/toggle-group:data-[spacing=0]:first:rounded-s-lg group-data-vertical/toggle-group:data-[spacing=0]:first:rounded-t-lg group-data-horizontal/toggle-group:data-[spacing=0]:last:rounded-e-lg group-data-vertical/toggle-group:data-[spacing=0]:last:rounded-b-lg shrink-0 focus:z-10 focus-visible:z-10 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:border-s-0 group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:border-t-0 group-data-horizontal/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-s group-data-vertical/toggle-group:data-[spacing=0]:data-[variant=outline]:first:border-t", ns({
4541
4575
  variant: o.variant || n,
4542
4576
  size: o.size || r
4543
4577
  }), e),
@@ -4547,7 +4581,7 @@ function as({ className: e, children: t, variant: n = "default", size: r = "defa
4547
4581
  }
4548
4582
  //#endregion
4549
4583
  //#region src/hooks/useDialog.ts
4550
- function os() {
4584
+ function ss() {
4551
4585
  let [e, t] = x(null), [n, r] = x(!1), [i, a] = x(!1);
4552
4586
  return {
4553
4587
  selectedRow: e,
@@ -4565,7 +4599,7 @@ function os() {
4565
4599
  }
4566
4600
  //#endregion
4567
4601
  //#region src/hooks/useDynamicList.ts
4568
- function ss(e, t, n) {
4602
+ function cs(e, t, n) {
4569
4603
  return {
4570
4604
  addRow: b((r) => {
4571
4605
  t((t) => ({
@@ -4613,7 +4647,7 @@ function ss(e, t, n) {
4613
4647
  }
4614
4648
  //#endregion
4615
4649
  //#region src/hooks/useFormValidation.ts
4616
- function cs(e, t) {
4650
+ function ls(e, t) {
4617
4651
  let [n, r] = x({}), i = (e) => n[e], a = (e) => !!n[e];
4618
4652
  return {
4619
4653
  errors: n,
@@ -4643,10 +4677,10 @@ function cs(e, t) {
4643
4677
  }
4644
4678
  //#endregion
4645
4679
  //#region src/hooks/useEntityForm.ts
4646
- function ls(e, t) {
4680
+ function us(e, t) {
4647
4681
  let [n, r] = x({ ...e }), [i, a] = x(e);
4648
4682
  e !== i && (r({ ...e }), a(e));
4649
- let o = cs(n, t);
4683
+ let o = ls(n, t);
4650
4684
  return {
4651
4685
  formData: n,
4652
4686
  handleChange: b((e) => {
@@ -4665,7 +4699,7 @@ function ls(e, t) {
4665
4699
  }
4666
4700
  //#endregion
4667
4701
  //#region src/hooks/useLightBox.ts
4668
- function us() {
4702
+ function ds() {
4669
4703
  let [e, t] = x(null);
4670
4704
  return {
4671
4705
  lightbox: e,
@@ -4681,8 +4715,8 @@ function us() {
4681
4715
  }
4682
4716
  //#endregion
4683
4717
  //#region src/hooks/useStorageFile.ts
4684
- function ds(e, t) {
4685
- let n = Ae(null), r = async (r) => {
4718
+ function fs(e, t) {
4719
+ let n = je(null), r = async (r) => {
4686
4720
  let i = Array.from(r.target.files || []);
4687
4721
  if (i.length === 0) return;
4688
4722
  let a = [
@@ -4707,7 +4741,7 @@ function ds(e, t) {
4707
4741
  let n = new FileReader();
4708
4742
  n.onloadend = () => {
4709
4743
  let r = n.result;
4710
- t(new tt({
4744
+ t(new nt({
4711
4745
  url: r,
4712
4746
  base64File: r.split(",")[1],
4713
4747
  extension: `.${e.name.split(".").pop()}`,
@@ -4728,7 +4762,7 @@ function ds(e, t) {
4728
4762
  let r = e[t];
4729
4763
  if (Array.isArray(r)) {
4730
4764
  let i = [...r], a = i[n];
4731
- return a.status === N.New ? i.splice(n, 1) : i[n] = new tt({
4765
+ return a.status === N.New ? i.splice(n, 1) : i[n] = new nt({
4732
4766
  ...a,
4733
4767
  status: N.Delete
4734
4768
  }), {
@@ -4739,7 +4773,7 @@ function ds(e, t) {
4739
4773
  let n = r;
4740
4774
  return {
4741
4775
  ...e,
4742
- [t]: n?.status === N.New ? void 0 : new tt({
4776
+ [t]: n?.status === N.New ? void 0 : new nt({
4743
4777
  ...n,
4744
4778
  status: N.Delete
4745
4779
  })
@@ -4767,17 +4801,17 @@ function ds(e, t) {
4767
4801
  }
4768
4802
  //#endregion
4769
4803
  //#region src/state/authListener.ts
4770
- var fs = (e, t) => {
4804
+ var ps = (e, t) => {
4771
4805
  window.addEventListener("storage", (n) => {
4772
- n.key === et.AuthCheckStorageItemName && e(t.syncFromStorage());
4773
- }), window.addEventListener(et.UnauthorizedEventName, () => {
4806
+ n.key === tt.AuthCheckStorageItemName && e(t.syncFromStorage());
4807
+ }), window.addEventListener(tt.UnauthorizedEventName, () => {
4774
4808
  e(t.logout());
4775
4809
  });
4776
4810
  };
4777
4811
  //#endregion
4778
4812
  //#region src/state/generics/genericDialogSlice.ts
4779
- function ps(e) {
4780
- return rt({
4813
+ function ms(e) {
4814
+ return it({
4781
4815
  name: e,
4782
4816
  initialState: {
4783
4817
  selectedRow: null,
@@ -4802,7 +4836,7 @@ function ps(e) {
4802
4836
  }
4803
4837
  //#endregion
4804
4838
  //#region ../../node_modules/immer/dist/immer.mjs
4805
- var ms = Symbol.for("immer-nothing"), hs = Symbol.for("immer-draftable"), G = Symbol.for("immer-state"), gs = process.env.NODE_ENV === "production" ? [] : [
4839
+ var hs = Symbol.for("immer-nothing"), gs = Symbol.for("immer-draftable"), G = Symbol.for("immer-state"), _s = process.env.NODE_ENV === "production" ? [] : [
4806
4840
  function(e) {
4807
4841
  return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
4808
4842
  },
@@ -4832,63 +4866,63 @@ var ms = Symbol.for("immer-nothing"), hs = Symbol.for("immer-draftable"), G = Sy
4832
4866
  ];
4833
4867
  function K(e, ...t) {
4834
4868
  if (process.env.NODE_ENV !== "production") {
4835
- let n = gs[e], r = Z(n) ? n.apply(null, t) : n;
4869
+ let n = _s[e], r = Z(n) ? n.apply(null, t) : n;
4836
4870
  throw Error(`[Immer] ${r}`);
4837
4871
  }
4838
4872
  throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
4839
4873
  }
4840
- var q = Object, J = q.getPrototypeOf, _s = "constructor", vs = "prototype", ys = "configurable", bs = "enumerable", xs = "writable", Ss = "value", Y = (e) => !!e && !!e[G];
4874
+ var q = Object, J = q.getPrototypeOf, vs = "constructor", ys = "prototype", bs = "configurable", xs = "enumerable", Ss = "writable", Cs = "value", Y = (e) => !!e && !!e[G];
4841
4875
  function X(e) {
4842
- return e ? Ts(e) || Ms(e) || !!e[hs] || !!e[_s]?.[hs] || Ns(e) || Ps(e) : !1;
4876
+ return e ? Es(e) || Ns(e) || !!e[gs] || !!e[vs]?.[gs] || Ps(e) || Fs(e) : !1;
4843
4877
  }
4844
- var Cs = q[vs][_s].toString(), ws = /* @__PURE__ */ new WeakMap();
4845
- function Ts(e) {
4846
- if (!e || !Fs(e)) return !1;
4878
+ var ws = q[ys][vs].toString(), Ts = /* @__PURE__ */ new WeakMap();
4879
+ function Es(e) {
4880
+ if (!e || !Is(e)) return !1;
4847
4881
  let t = J(e);
4848
- if (t === null || t === q[vs]) return !0;
4849
- let n = q.hasOwnProperty.call(t, _s) && t[_s];
4882
+ if (t === null || t === q[ys]) return !0;
4883
+ let n = q.hasOwnProperty.call(t, vs) && t[vs];
4850
4884
  if (n === Object) return !0;
4851
4885
  if (!Z(n)) return !1;
4852
- let r = ws.get(n);
4853
- return r === void 0 && (r = Function.toString.call(n), ws.set(n, r)), r === Cs;
4886
+ let r = Ts.get(n);
4887
+ return r === void 0 && (r = Function.toString.call(n), Ts.set(n, r)), r === ws;
4854
4888
  }
4855
- function Es(e, t, n = !0) {
4856
- Ds(e) === 0 ? (n ? Reflect.ownKeys(e) : q.keys(e)).forEach((n) => {
4889
+ function Ds(e, t, n = !0) {
4890
+ Os(e) === 0 ? (n ? Reflect.ownKeys(e) : q.keys(e)).forEach((n) => {
4857
4891
  t(n, e[n], e);
4858
4892
  }) : e.forEach((n, r) => t(r, n, e));
4859
4893
  }
4860
- function Ds(e) {
4894
+ function Os(e) {
4861
4895
  let t = e[G];
4862
- return t ? t.type_ : Ms(e) ? 1 : Ns(e) ? 2 : Ps(e) ? 3 : 0;
4896
+ return t ? t.type_ : Ns(e) ? 1 : Ps(e) ? 2 : Fs(e) ? 3 : 0;
4863
4897
  }
4864
- var Os = (e, t, n = Ds(e)) => n === 2 ? e.has(t) : q[vs].hasOwnProperty.call(e, t), ks = (e, t, n = Ds(e)) => n === 2 ? e.get(t) : e[t], As = (e, t, n, r = Ds(e)) => {
4898
+ var ks = (e, t, n = Os(e)) => n === 2 ? e.has(t) : q[ys].hasOwnProperty.call(e, t), As = (e, t, n = Os(e)) => n === 2 ? e.get(t) : e[t], js = (e, t, n, r = Os(e)) => {
4865
4899
  r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
4866
4900
  };
4867
- function js(e, t) {
4901
+ function Ms(e, t) {
4868
4902
  return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
4869
4903
  }
4870
- var Ms = Array.isArray, Ns = (e) => e instanceof Map, Ps = (e) => e instanceof Set, Fs = (e) => typeof e == "object", Z = (e) => typeof e == "function", Is = (e) => typeof e == "boolean";
4871
- function Ls(e) {
4904
+ var Ns = Array.isArray, Ps = (e) => e instanceof Map, Fs = (e) => e instanceof Set, Is = (e) => typeof e == "object", Z = (e) => typeof e == "function", Ls = (e) => typeof e == "boolean";
4905
+ function Rs(e) {
4872
4906
  let t = +e;
4873
4907
  return Number.isInteger(t) && String(t) === e;
4874
4908
  }
4875
- var Q = (e) => e.copy_ || e.base_, Rs = (e) => e.modified_ ? e.copy_ : e.base_;
4876
- function zs(e, t) {
4877
- if (Ns(e)) return new Map(e);
4878
- if (Ps(e)) return new Set(e);
4879
- if (Ms(e)) return Array[vs].slice.call(e);
4880
- let n = Ts(e);
4909
+ var Q = (e) => e.copy_ || e.base_, zs = (e) => e.modified_ ? e.copy_ : e.base_;
4910
+ function Bs(e, t) {
4911
+ if (Ps(e)) return new Map(e);
4912
+ if (Fs(e)) return new Set(e);
4913
+ if (Ns(e)) return Array[ys].slice.call(e);
4914
+ let n = Es(e);
4881
4915
  if (t === !0 || t === "class_only" && !n) {
4882
4916
  let t = q.getOwnPropertyDescriptors(e);
4883
4917
  delete t[G];
4884
4918
  let n = Reflect.ownKeys(t);
4885
4919
  for (let r = 0; r < n.length; r++) {
4886
4920
  let i = n[r], a = t[i];
4887
- a[xs] === !1 && (a[xs] = !0, a[ys] = !0), (a.get || a.set) && (t[i] = {
4888
- [ys]: !0,
4889
- [xs]: !0,
4890
- [bs]: a[bs],
4891
- [Ss]: e[i]
4921
+ a[Ss] === !1 && (a[Ss] = !0, a[bs] = !0), (a.get || a.set) && (t[i] = {
4922
+ [bs]: !0,
4923
+ [Ss]: !0,
4924
+ [xs]: a[xs],
4925
+ [Cs]: e[i]
4892
4926
  });
4893
4927
  }
4894
4928
  return q.create(J(e), t);
@@ -4899,29 +4933,29 @@ function zs(e, t) {
4899
4933
  return q.assign(r, e);
4900
4934
  }
4901
4935
  }
4902
- function Bs(e, t = !1) {
4903
- return Us(e) || Y(e) || !X(e) ? e : (Ds(e) > 1 && q.defineProperties(e, {
4904
- set: Hs,
4905
- add: Hs,
4906
- clear: Hs,
4907
- delete: Hs
4908
- }), q.freeze(e), t && Es(e, (e, t) => {
4909
- Bs(t, !0);
4936
+ function Vs(e, t = !1) {
4937
+ return Ws(e) || Y(e) || !X(e) ? e : (Os(e) > 1 && q.defineProperties(e, {
4938
+ set: Us,
4939
+ add: Us,
4940
+ clear: Us,
4941
+ delete: Us
4942
+ }), q.freeze(e), t && Ds(e, (e, t) => {
4943
+ Vs(t, !0);
4910
4944
  }, !1), e);
4911
4945
  }
4912
- function Vs() {
4946
+ function Hs() {
4913
4947
  K(2);
4914
4948
  }
4915
- var Hs = { [Ss]: Vs };
4916
- function Us(e) {
4917
- return e === null || !Fs(e) ? !0 : q.isFrozen(e);
4949
+ var Us = { [Cs]: Hs };
4950
+ function Ws(e) {
4951
+ return e === null || !Is(e) ? !0 : q.isFrozen(e);
4918
4952
  }
4919
- var Ws = "MapSet", Gs = "Patches", Ks = "ArrayMethods", qs = {};
4953
+ var Gs = "MapSet", Ks = "Patches", qs = "ArrayMethods", Js = {};
4920
4954
  function $(e) {
4921
- let t = qs[e];
4955
+ let t = Js[e];
4922
4956
  return t || K(0, e), t;
4923
4957
  }
4924
- var Js = (e) => !!qs[e], Ys, Xs = () => Ys, Zs = (e, t) => ({
4958
+ var Ys = (e) => !!Js[e], Xs, Zs = () => Xs, Qs = (e, t) => ({
4925
4959
  drafts_: [],
4926
4960
  parent_: e,
4927
4961
  immer_: t,
@@ -4929,114 +4963,114 @@ var Js = (e) => !!qs[e], Ys, Xs = () => Ys, Zs = (e, t) => ({
4929
4963
  unfinalizedDrafts_: 0,
4930
4964
  handledSet_: /* @__PURE__ */ new Set(),
4931
4965
  processedForPatches_: /* @__PURE__ */ new Set(),
4932
- mapSetPlugin_: Js(Ws) ? $(Ws) : void 0,
4933
- arrayMethodsPlugin_: Js(Ks) ? $(Ks) : void 0
4966
+ mapSetPlugin_: Ys(Gs) ? $(Gs) : void 0,
4967
+ arrayMethodsPlugin_: Ys(qs) ? $(qs) : void 0
4934
4968
  });
4935
- function Qs(e, t) {
4936
- t && (e.patchPlugin_ = $(Gs), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
4937
- }
4938
- function $s(e) {
4939
- ec(e), e.drafts_.forEach(nc), e.drafts_ = null;
4969
+ function $s(e, t) {
4970
+ t && (e.patchPlugin_ = $(Ks), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
4940
4971
  }
4941
4972
  function ec(e) {
4942
- e === Ys && (Ys = e.parent_);
4973
+ tc(e), e.drafts_.forEach(rc), e.drafts_ = null;
4943
4974
  }
4944
- var tc = (e) => Ys = Zs(Ys, e);
4945
- function nc(e) {
4975
+ function tc(e) {
4976
+ e === Xs && (Xs = e.parent_);
4977
+ }
4978
+ var nc = (e) => Xs = Qs(Xs, e);
4979
+ function rc(e) {
4946
4980
  let t = e[G];
4947
4981
  t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
4948
4982
  }
4949
- function rc(e, t) {
4983
+ function ic(e, t) {
4950
4984
  t.unfinalizedDrafts_ = t.drafts_.length;
4951
4985
  let n = t.drafts_[0];
4952
4986
  if (e !== void 0 && e !== n) {
4953
- n[G].modified_ && ($s(t), K(4)), X(e) && (e = ic(t, e));
4987
+ n[G].modified_ && (ec(t), K(4)), X(e) && (e = ac(t, e));
4954
4988
  let { patchPlugin_: r } = t;
4955
4989
  r && r.generateReplacementPatches_(n[G].base_, e, t);
4956
- } else e = ic(t, n);
4957
- return ac(t, e, !0), $s(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === ms ? void 0 : e;
4990
+ } else e = ac(t, n);
4991
+ return oc(t, e, !0), ec(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === hs ? void 0 : e;
4958
4992
  }
4959
- function ic(e, t) {
4960
- if (Us(t)) return t;
4993
+ function ac(e, t) {
4994
+ if (Ws(t)) return t;
4961
4995
  let n = t[G];
4962
- if (!n) return pc(t, e.handledSet_, e);
4963
- if (!sc(n, e)) return t;
4996
+ if (!n) return mc(t, e.handledSet_, e);
4997
+ if (!cc(n, e)) return t;
4964
4998
  if (!n.modified_) return n.base_;
4965
4999
  if (!n.finalized_) {
4966
5000
  let { callbacks_: t } = n;
4967
5001
  if (t) for (; t.length > 0;) t.pop()(e);
4968
- dc(n, e);
5002
+ fc(n, e);
4969
5003
  }
4970
5004
  return n.copy_;
4971
5005
  }
4972
- function ac(e, t, n = !1) {
4973
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Bs(t, n);
5006
+ function oc(e, t, n = !1) {
5007
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Vs(t, n);
4974
5008
  }
4975
- function oc(e) {
5009
+ function sc(e) {
4976
5010
  e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
4977
5011
  }
4978
- var sc = (e, t) => e.scope_ === t, cc = [];
4979
- function lc(e, t, n, r) {
5012
+ var cc = (e, t) => e.scope_ === t, lc = [];
5013
+ function uc(e, t, n, r) {
4980
5014
  let i = Q(e), a = e.type_;
4981
- if (r !== void 0 && ks(i, r, a) === t) {
4982
- As(i, r, n, a);
5015
+ if (r !== void 0 && As(i, r, a) === t) {
5016
+ js(i, r, n, a);
4983
5017
  return;
4984
5018
  }
4985
5019
  if (!e.draftLocations_) {
4986
5020
  let t = e.draftLocations_ = /* @__PURE__ */ new Map();
4987
- Es(i, (e, n) => {
5021
+ Ds(i, (e, n) => {
4988
5022
  if (Y(n)) {
4989
5023
  let r = t.get(n) || [];
4990
5024
  r.push(e), t.set(n, r);
4991
5025
  }
4992
5026
  });
4993
5027
  }
4994
- let o = e.draftLocations_.get(t) ?? cc;
4995
- for (let e of o) As(i, e, n, a);
5028
+ let o = e.draftLocations_.get(t) ?? lc;
5029
+ for (let e of o) js(i, e, n, a);
4996
5030
  }
4997
- function uc(e, t, n) {
5031
+ function dc(e, t, n) {
4998
5032
  e.callbacks_.push(function(r) {
4999
5033
  let i = t;
5000
- if (!i || !sc(i, r)) return;
5034
+ if (!i || !cc(i, r)) return;
5001
5035
  r.mapSetPlugin_?.fixSetContents(i);
5002
- let a = Rs(i);
5003
- lc(e, i.draft_ ?? i, a, n), dc(i, r);
5036
+ let a = zs(i);
5037
+ uc(e, i.draft_ ?? i, a, n), fc(i, r);
5004
5038
  });
5005
5039
  }
5006
- function dc(e, t) {
5040
+ function fc(e, t) {
5007
5041
  if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
5008
5042
  let { patchPlugin_: n } = t;
5009
5043
  if (n) {
5010
5044
  let r = n.getPath(e);
5011
5045
  r && n.generatePatches_(e, r, t);
5012
5046
  }
5013
- oc(e);
5047
+ sc(e);
5014
5048
  }
5015
5049
  }
5016
- function fc(e, t, n) {
5050
+ function pc(e, t, n) {
5017
5051
  let { scope_: r } = e;
5018
5052
  if (Y(n)) {
5019
5053
  let i = n[G];
5020
- sc(i, r) && i.callbacks_.push(function() {
5021
- xc(e), lc(e, n, Rs(i), t);
5054
+ cc(i, r) && i.callbacks_.push(function() {
5055
+ Sc(e), uc(e, n, zs(i), t);
5022
5056
  });
5023
5057
  } else X(n) && e.callbacks_.push(function() {
5024
5058
  let i = Q(e);
5025
- e.type_ === 3 ? i.has(n) && pc(n, r.handledSet_, r) : ks(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && pc(ks(e.copy_, t, e.type_), r.handledSet_, r);
5059
+ e.type_ === 3 ? i.has(n) && mc(n, r.handledSet_, r) : As(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && mc(As(e.copy_, t, e.type_), r.handledSet_, r);
5026
5060
  });
5027
5061
  }
5028
- function pc(e, t, n) {
5029
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || Y(e) || t.has(e) || !X(e) || Us(e) ? e : (t.add(e), Es(e, (r, i) => {
5062
+ function mc(e, t, n) {
5063
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || Y(e) || t.has(e) || !X(e) || Ws(e) ? e : (t.add(e), Ds(e, (r, i) => {
5030
5064
  if (Y(i)) {
5031
5065
  let t = i[G];
5032
- sc(t, n) && (As(e, r, Rs(t), e.type_), oc(t));
5033
- } else X(i) && pc(i, t, n);
5066
+ cc(t, n) && (js(e, r, zs(t), e.type_), sc(t));
5067
+ } else X(i) && mc(i, t, n);
5034
5068
  }), e);
5035
5069
  }
5036
- function mc(e, t) {
5037
- let n = Ms(e), r = {
5070
+ function hc(e, t) {
5071
+ let n = Ns(e), r = {
5038
5072
  type_: n ? 1 : 0,
5039
- scope_: t ? t.scope_ : Xs(),
5073
+ scope_: t ? t.scope_ : Zs(),
5040
5074
  modified_: !1,
5041
5075
  finalized_: !1,
5042
5076
  assigned_: void 0,
@@ -5047,23 +5081,23 @@ function mc(e, t) {
5047
5081
  revoke_: null,
5048
5082
  isManual_: !1,
5049
5083
  callbacks_: void 0
5050
- }, i = r, a = hc;
5051
- n && (i = [r], a = gc);
5084
+ }, i = r, a = gc;
5085
+ n && (i = [r], a = _c);
5052
5086
  let { revoke: o, proxy: s } = Proxy.revocable(i, a);
5053
5087
  return r.draft_ = s, r.revoke_ = o, [s, r];
5054
5088
  }
5055
- var hc = {
5089
+ var gc = {
5056
5090
  get(e, t) {
5057
5091
  if (t === G) return e;
5058
5092
  let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
5059
5093
  if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
5060
5094
  let i = Q(e);
5061
- if (!Os(i, t, e.type_)) return vc(e, i, t);
5095
+ if (!ks(i, t, e.type_)) return yc(e, i, t);
5062
5096
  let a = i[t];
5063
- if (e.finalized_ || !X(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Ls(t)) return a;
5064
- if (a === _c(e.base_, t)) {
5065
- xc(e);
5066
- let n = e.type_ === 1 ? +t : t, r = Cc(e.scope_, a, e, n);
5097
+ if (e.finalized_ || !X(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Rs(t)) return a;
5098
+ if (a === vc(e.base_, t)) {
5099
+ Sc(e);
5100
+ let n = e.type_ === 1 ? +t : t, r = wc(e.scope_, a, e, n);
5067
5101
  return e.copy_[n] = r;
5068
5102
  }
5069
5103
  return a;
@@ -5075,26 +5109,26 @@ var hc = {
5075
5109
  return Reflect.ownKeys(Q(e));
5076
5110
  },
5077
5111
  set(e, t, n) {
5078
- let r = yc(Q(e), t);
5112
+ let r = bc(Q(e), t);
5079
5113
  if (r?.set) return r.set.call(e.draft_, n), !0;
5080
5114
  if (!e.modified_) {
5081
- let r = _c(Q(e), t), i = r?.[G];
5115
+ let r = vc(Q(e), t), i = r?.[G];
5082
5116
  if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
5083
- if (js(n, r) && (n !== void 0 || Os(e.base_, t, e.type_))) return !0;
5084
- xc(e), bc(e);
5117
+ if (Ms(n, r) && (n !== void 0 || ks(e.base_, t, e.type_))) return !0;
5118
+ Sc(e), xc(e);
5085
5119
  }
5086
- return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), fc(e, t, n), !0);
5120
+ return e.copy_[t] === n && (n !== void 0 || t in e.copy_) || Number.isNaN(n) && Number.isNaN(e.copy_[t]) ? !0 : (e.copy_[t] = n, e.assigned_.set(t, !0), pc(e, t, n), !0);
5087
5121
  },
5088
5122
  deleteProperty(e, t) {
5089
- return xc(e), _c(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), bc(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
5123
+ return Sc(e), vc(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), xc(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
5090
5124
  },
5091
5125
  getOwnPropertyDescriptor(e, t) {
5092
5126
  let n = Q(e), r = Reflect.getOwnPropertyDescriptor(n, t);
5093
5127
  return r && {
5094
- [xs]: !0,
5095
- [ys]: e.type_ !== 1 || t !== "length",
5096
- [bs]: r[bs],
5097
- [Ss]: n[t]
5128
+ [Ss]: !0,
5129
+ [bs]: e.type_ !== 1 || t !== "length",
5130
+ [xs]: r[xs],
5131
+ [Cs]: n[t]
5098
5132
  };
5099
5133
  },
5100
5134
  defineProperty() {
@@ -5106,28 +5140,28 @@ var hc = {
5106
5140
  setPrototypeOf() {
5107
5141
  K(12);
5108
5142
  }
5109
- }, gc = {};
5110
- for (let e in hc) {
5111
- let t = hc[e];
5112
- gc[e] = function() {
5143
+ }, _c = {};
5144
+ for (let e in gc) {
5145
+ let t = gc[e];
5146
+ _c[e] = function() {
5113
5147
  let e = arguments;
5114
5148
  return e[0] = e[0][0], t.apply(this, e);
5115
5149
  };
5116
5150
  }
5117
- gc.deleteProperty = function(e, t) {
5118
- return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && K(13), gc.set.call(this, e, t, void 0);
5119
- }, gc.set = function(e, t, n) {
5120
- return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && K(14), hc.set.call(this, e[0], t, n, e[0]);
5151
+ _c.deleteProperty = function(e, t) {
5152
+ return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && K(13), _c.set.call(this, e, t, void 0);
5153
+ }, _c.set = function(e, t, n) {
5154
+ return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && K(14), gc.set.call(this, e[0], t, n, e[0]);
5121
5155
  };
5122
- function _c(e, t) {
5156
+ function vc(e, t) {
5123
5157
  let n = e[G];
5124
5158
  return (n ? Q(n) : e)[t];
5125
5159
  }
5126
- function vc(e, t, n) {
5127
- let r = yc(t, n);
5128
- return r ? Ss in r ? r[Ss] : r.get?.call(e.draft_) : void 0;
5160
+ function yc(e, t, n) {
5161
+ let r = bc(t, n);
5162
+ return r ? Cs in r ? r[Cs] : r.get?.call(e.draft_) : void 0;
5129
5163
  }
5130
- function yc(e, t) {
5164
+ function bc(e, t) {
5131
5165
  if (!(t in e)) return;
5132
5166
  let n = J(e);
5133
5167
  for (; n;) {
@@ -5136,13 +5170,13 @@ function yc(e, t) {
5136
5170
  n = J(n);
5137
5171
  }
5138
5172
  }
5139
- function bc(e) {
5140
- e.modified_ || (e.modified_ = !0, e.parent_ && bc(e.parent_));
5141
- }
5142
5173
  function xc(e) {
5143
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), zs(e.base_, e.scope_.immer_.useStrictShallowCopy_));
5174
+ e.modified_ || (e.modified_ = !0, e.parent_ && xc(e.parent_));
5144
5175
  }
5145
- var Sc = class {
5176
+ function Sc(e) {
5177
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), Bs(e.base_, e.scope_.immer_.useStrictShallowCopy_));
5178
+ }
5179
+ var Cc = class {
5146
5180
  constructor(e) {
5147
5181
  this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
5148
5182
  if (Z(e) && !Z(t)) {
@@ -5156,17 +5190,17 @@ var Sc = class {
5156
5190
  Z(t) || K(6), n !== void 0 && !Z(n) && K(7);
5157
5191
  let r;
5158
5192
  if (X(e)) {
5159
- let i = tc(this), a = Cc(i, e, void 0), o = !0;
5193
+ let i = nc(this), a = wc(i, e, void 0), o = !0;
5160
5194
  try {
5161
5195
  r = t(a), o = !1;
5162
5196
  } finally {
5163
- o ? $s(i) : ec(i);
5197
+ o ? ec(i) : tc(i);
5164
5198
  }
5165
- return Qs(i, n), rc(r, i);
5166
- } else if (!e || !Fs(e)) {
5167
- if (r = t(e), r === void 0 && (r = e), r === ms && (r = void 0), this.autoFreeze_ && Bs(r, !0), n) {
5199
+ return $s(i, n), ic(r, i);
5200
+ } else if (!e || !Is(e)) {
5201
+ if (r = t(e), r === void 0 && (r = e), r === hs && (r = void 0), this.autoFreeze_ && Vs(r, !0), n) {
5168
5202
  let t = [], i = [];
5169
- $(Gs).generateReplacementPatches_(e, r, {
5203
+ $(Ks).generateReplacementPatches_(e, r, {
5170
5204
  patches_: t,
5171
5205
  inversePatches_: i
5172
5206
  }), n(t, i);
@@ -5183,18 +5217,18 @@ var Sc = class {
5183
5217
  n,
5184
5218
  r
5185
5219
  ];
5186
- }, Is(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), Is(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), Is(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
5220
+ }, Ls(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), Ls(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), Ls(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
5187
5221
  }
5188
5222
  createDraft(e) {
5189
- X(e) || K(8), Y(e) && (e = wc(e));
5190
- let t = tc(this), n = Cc(t, e, void 0);
5191
- return n[G].isManual_ = !0, ec(t), n;
5223
+ X(e) || K(8), Y(e) && (e = Tc(e));
5224
+ let t = nc(this), n = wc(t, e, void 0);
5225
+ return n[G].isManual_ = !0, tc(t), n;
5192
5226
  }
5193
5227
  finishDraft(e, t) {
5194
5228
  let n = e && e[G];
5195
5229
  (!n || !n.isManual_) && K(9);
5196
5230
  let { scope_: r } = n;
5197
- return Qs(r, t), rc(void 0, r);
5231
+ return $s(r, t), ic(void 0, r);
5198
5232
  }
5199
5233
  setAutoFreeze(e) {
5200
5234
  this.autoFreeze_ = e;
@@ -5218,50 +5252,56 @@ var Sc = class {
5218
5252
  }
5219
5253
  }
5220
5254
  n > -1 && (t = t.slice(n + 1));
5221
- let r = $(Gs).applyPatches_;
5255
+ let r = $(Ks).applyPatches_;
5222
5256
  return Y(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
5223
5257
  }
5224
5258
  };
5225
- function Cc(e, t, n, r) {
5226
- let [i, a] = Ns(t) ? $(Ws).proxyMap_(t, n) : Ps(t) ? $(Ws).proxySet_(t, n) : mc(t, n);
5227
- return (n?.scope_ ?? Xs()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? uc(n, a, r) : a.callbacks_.push(function(e) {
5259
+ function wc(e, t, n, r) {
5260
+ let [i, a] = Ps(t) ? $(Gs).proxyMap_(t, n) : Fs(t) ? $(Gs).proxySet_(t, n) : hc(t, n);
5261
+ return (n?.scope_ ?? Zs()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? dc(n, a, r) : a.callbacks_.push(function(e) {
5228
5262
  e.mapSetPlugin_?.fixSetContents(a);
5229
5263
  let { patchPlugin_: t } = e;
5230
5264
  a.modified_ && t && t.generatePatches_(a, [], e);
5231
5265
  }), i;
5232
5266
  }
5233
- function wc(e) {
5234
- return Y(e) || K(10, e), Tc(e);
5235
- }
5236
5267
  function Tc(e) {
5237
- if (!X(e) || Us(e)) return e;
5268
+ return Y(e) || K(10, e), Ec(e);
5269
+ }
5270
+ function Ec(e) {
5271
+ if (!X(e) || Ws(e)) return e;
5238
5272
  let t = e[G], n, r = !0;
5239
5273
  if (t) {
5240
5274
  if (!t.modified_) return t.base_;
5241
- t.finalized_ = !0, n = zs(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
5242
- } else n = zs(e, !0);
5243
- return Es(n, (e, t) => {
5244
- As(n, e, Tc(t));
5275
+ t.finalized_ = !0, n = Bs(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
5276
+ } else n = Bs(e, !0);
5277
+ return Ds(n, (e, t) => {
5278
+ js(n, e, Ec(t));
5245
5279
  }, r), t && (t.finalized_ = !1), n;
5246
5280
  }
5247
- new Sc().produce;
5248
- var Ec = (e) => e;
5281
+ new Cc().produce;
5282
+ var Dc = (e) => e;
5249
5283
  //#endregion
5250
5284
  //#region src/state/generics/genericEntitySlice.ts
5251
- function Dc(e, t, n, r) {
5252
- let i = rt({
5253
- name: e,
5254
- initialState: {
5255
- entities: {
5256
- data: [],
5257
- count: 0
5258
- },
5259
- isLoaded: !1,
5260
- isLoading: !1,
5261
- currentPage: 1,
5262
- rowsPerPage: 100
5285
+ function Oc(e, t, n, r) {
5286
+ let i = {
5287
+ entities: {
5288
+ data: [],
5289
+ count: 0
5263
5290
  },
5291
+ isLoaded: !1,
5292
+ isLoading: !1,
5293
+ currentPage: 1,
5294
+ rowsPerPage: 100
5295
+ }, a = rt(`${e}/filter`, async (r, { getState: i }) => {
5296
+ let a = i()[e], o;
5297
+ return o = n ? await n(a.currentPage, a.rowsPerPage, r, a.filterTypes) : await t.Filter(a.currentPage, a.rowsPerPage, r), o?.data;
5298
+ }), o = it({
5299
+ name: e,
5300
+ initialState: i,
5264
5301
  reducers: {
5302
+ setFilterTypes: (e, t) => {
5303
+ e.filterTypes = t.payload;
5304
+ },
5265
5305
  setCurrentPage: (e, t) => {
5266
5306
  e.currentPage = t.payload;
5267
5307
  },
@@ -5270,7 +5310,7 @@ function Dc(e, t, n, r) {
5270
5310
  if (r) --e.entities.count, e.entities.data = e.entities.data?.filter((e) => e.id !== r);
5271
5311
  else if (n) {
5272
5312
  let t = e.entities.data?.findIndex((e) => e.id === n.id);
5273
- t !== void 0 && t !== -1 ? e.entities.data && (e.entities.data[t] = Ec(n)) : (e.entities.count += 1, e.entities.data = [Ec(n), ...e.entities.data ?? []]);
5313
+ t !== void 0 && t !== -1 ? e.entities.data && (e.entities.data[t] = Dc(n)) : (e.entities.count += 1, e.entities.data = [Dc(n), ...e.entities.data ?? []]);
5274
5314
  }
5275
5315
  },
5276
5316
  ...r || {}
@@ -5284,17 +5324,14 @@ function Dc(e, t, n, r) {
5284
5324
  e.isLoading = !1;
5285
5325
  });
5286
5326
  }
5287
- }), a = nt(`${e}/filter`, async (r, { getState: i }) => {
5288
- let a = i()[e], o;
5289
- return o = n ? await n(a.currentPage, a.rowsPerPage, r) : await t.Filter(a.currentPage, a.rowsPerPage, r), o?.data;
5290
5327
  });
5291
5328
  return {
5292
- reducer: i.reducer,
5329
+ reducer: o.reducer,
5293
5330
  actions: {
5294
- ...i.actions,
5331
+ ...o.actions,
5295
5332
  filter: a
5296
5333
  }
5297
5334
  };
5298
5335
  }
5299
5336
  //#endregion
5300
- export { Fa as Alert, Ra as AlertAction, La as AlertDescription, Sa as AlertDialog, Ma as AlertDialogAction, Na as AlertDialogCancel, Ea as AlertDialogContent, ja as AlertDialogDescription, Oa as AlertDialogFooter, Da as AlertDialogHeader, ka as AlertDialogMedia, Ta as AlertDialogOverlay, wa as AlertDialogPortal, Aa as AlertDialogTitle, Ca as AlertDialogTrigger, Ia as AlertTitle, $i as Avatar, na as AvatarBadge, ta as AvatarFallback, ra as AvatarGroup, ia as AvatarGroupCount, ea as AvatarImage, Ba as Badge, Ut as BaseInput, Va as Breadcrumb, qa as BreadcrumbEllipsis, Ua as BreadcrumbItem, Wa as BreadcrumbLink, Ha as BreadcrumbList, Ga as BreadcrumbPage, Ka as BreadcrumbSeparator, F as Button, jt as Calendar, Mt as CalendarDayButton, fn as Card, gn as CardAction, _n as CardContent, hn as CardDescription, vn as CardFooter, pn as CardHeader, mn as CardTitle, xn as Carousel, Sn as CarouselContent, Cn as CarouselItem, Tn as CarouselNext, wn as CarouselPrevious, vt as ChangeDialog, Za as ChartContainer, to as ChartLegend, no as ChartLegendContent, Qa as ChartStyle, $a as ChartTooltip, eo as ChartTooltipContent, io as Checkbox, ao as Combobox, bo as ComboboxChip, yo as ComboboxChips, xo as ComboboxChipsInput, go as ComboboxCollection, uo as ComboboxContent, _o as ComboboxEmpty, mo as ComboboxGroup, lo as ComboboxInput, po as ComboboxItem, ho as ComboboxLabel, fo as ComboboxList, vo as ComboboxSeparator, so as ComboboxTrigger, oo as ComboboxValue, Ui as Command, Wi as CommandDialog, qi as CommandEmpty, Ji as CommandGroup, Gi as CommandInput, Xi as CommandItem, Ki as CommandList, Yi as CommandSeparator, Zi as CommandShortcut, tr as ContextMenu, dr as ContextMenuCheckboxItem, sr as ContextMenuContent, rr as ContextMenuGroup, cr as ContextMenuItem, pr as ContextMenuLabel, ir as ContextMenuPortal, or as ContextMenuRadioGroup, fr as ContextMenuRadioItem, mr as ContextMenuSeparator, hr as ContextMenuShortcut, ar as ContextMenuSub, ur as ContextMenuSubContent, lr as ContextMenuSubTrigger, nr as ContextMenuTrigger, Xn as CrudEmptyTablePreview, Pi as CrudPage, er as CrudTable, gr as CrudTableBodyRow, _r as CrudTableCard, vr as CrudTableHeader, yr as CrudTableHeaderRows, Mi as CrudTablePagination, Ni as CrudTableRowActionsMenu, Ht as DateField, Bt as DateInput, Gt as DateTimeField, Wt as DateTimeInput, yt as DeleteDialog, I as Dialog, dt as DialogClose, pt as DialogContent, _t as DialogDescription, ht as DialogFooter, mt as DialogHeader, ft as DialogOverlay, ut as DialogPortal, gt as DialogTitle, lt as DialogTrigger, Co as DirectionProvider, To as Drawer, Oo as DrawerClose, Ao as DrawerContent, Po as DrawerDescription, Mo as DrawerFooter, jo as DrawerHeader, ko as DrawerOverlay, Do as DrawerPortal, No as DrawerTitle, Eo as DrawerTrigger, Dr as DropdownMenu, Mr as DropdownMenuCheckboxItem, Ar as DropdownMenuContent, jr as DropdownMenuGroup, B as DropdownMenuItem, Fr as DropdownMenuLabel, Or as DropdownMenuPortal, Nr as DropdownMenuRadioGroup, Pr as DropdownMenuRadioItem, Ir as DropdownMenuSeparator, Lr as DropdownMenuShortcut, Rr as DropdownMenuSub, Br as DropdownMenuSubContent, zr as DropdownMenuSubTrigger, kr as DropdownMenuTrigger, ct as DynamicListContainer, Un as Empty, Yn as EmptyContent, Jn as EmptyDescription, Wn as EmptyHeader, Kn as EmptyMedia, qn as EmptyTitle, zo as Field, Bo as FieldContent, Uo as FieldDescription, Go as FieldError, Lo as FieldGroup, Vo as FieldLabel, Io as FieldLegend, Wo as FieldSeparator, Fo as FieldSet, Ho as FieldTitle, qt as FieldsSection, R as FormField, z as Input, Jt as InputField, Fi as InputGroup, Li as InputGroupAddon, zi as InputGroupButton, Vi as InputGroupInput, Bi as InputGroupText, Hi as InputGroupTextarea, Vt as Label, Mn as Lightbox, xa as Loading, Xt as NumberField, Yt as NumberInput, br as Pagination, xr as PaginationContent, Er as PaginationEllipsis, Sr as PaginationItem, Cr as PaginationLink, Tr as PaginationNext, wr as PaginationPrevious, Zt as PasswordField, Qt as PhoneField, Nt as Popover, It as PopoverAnchor, Ft as PopoverContent, zt as PopoverDescription, Lt as PopoverHeader, Rt as PopoverTitle, Pt as PopoverTrigger, it as ProtectedRoute, st as SaveButton, Ko as ScrollArea, qo as ScrollBar, Pn as SearchInput, Qi as SearchableSelect, $t as Select, rn as SelectContent, dn as SelectField, en as SelectGroup, un as SelectInput, on as SelectItem, an as SelectLabel, ln as SelectScrollDownButton, cn as SelectScrollUpButton, sn as SelectSeparator, nn as SelectTrigger, tn as SelectValue, L as Separator, Ur as Sheet, Gr as SheetClose, Jr as SheetContent, Qr as SheetDescription, Xr as SheetFooter, Yr as SheetHeader, Zr as SheetTitle, Wr as SheetTrigger, aa as SideBarCompanyData, ua as SideBarMainMenu, ha as SideBarSecondaryMenu, ga as SideBarUserData, fi as Sidebar, bi as SidebarContent, va as SidebarContext, vi as SidebarFooter, xi as SidebarGroup, Ci as SidebarGroupAction, wi as SidebarGroupContent, Si as SidebarGroupLabel, _i as SidebarHeader, gi as SidebarInput, hi as SidebarInset, oa as SidebarLogo, H as SidebarMenu, Ei as SidebarMenuAction, Di as SidebarMenuBadge, W as SidebarMenuButton, U as SidebarMenuItem, Oi as SidebarMenuSkeleton, ki as SidebarMenuSub, ji as SidebarMenuSubButton, Ai as SidebarMenuSubItem, di as SidebarProvider, mi as SidebarRail, yi as SidebarSeparator, pi as SidebarTrigger, $r as Skeleton, Dn as StorageFileField, Yo as Switch, Fn as Table, Ln as TableBody, Hn as TableCaption, Vn as TableCell, Rn as TableFooter, Bn as TableHead, In as TableHeader, zn as TableRow, Xo as Tabs, es as TabsContent, Qo as TabsList, $o as TabsTrigger, An as TextAreaField, kn as TextAreaInput, jn as TextField, On as Textarea, fa as ThemeProvider, ma as ThemeToggle, Kt as TitleSeparator, Jo as Toaster, ns as Toggle, is as ToggleGroup, as as ToggleGroupItem, ti as Tooltip, ri as TooltipContent, ei as TooltipProvider, ni as TooltipTrigger, at as YusrBusBackground, ba as YusrSideBar, _a as YusrSideBarMainMenu, Nn as ZoomableImage, za as badgeVariants, ot as buttonVariants, P as cn, ps as createGenericDialogSlice, Dc as createGenericEntitySlice, En as isPDF, fs as setupAuthListeners, Zo as tabsListVariants, ts as toggleVariants, bn as useCarousel, So as useComboboxAnchor, os as useDialog, wo as useDirection, ss as useDynamicList, ls as useEntityForm, cs as useFormValidation, Hr as useIsMobile, us as useLightBox, V as useSidebar, ya as useSidebarContext, ds as useStorageFile, pa as useTheme };
5337
+ export { Ia as Alert, za as AlertAction, Ra as AlertDescription, Ca as AlertDialog, Na as AlertDialogAction, Pa as AlertDialogCancel, Da as AlertDialogContent, Ma as AlertDialogDescription, ka as AlertDialogFooter, Oa as AlertDialogHeader, Aa as AlertDialogMedia, Ea as AlertDialogOverlay, Ta as AlertDialogPortal, ja as AlertDialogTitle, wa as AlertDialogTrigger, La as AlertTitle, ea as Avatar, ra as AvatarBadge, na as AvatarFallback, ia as AvatarGroup, aa as AvatarGroupCount, ta as AvatarImage, Va as Badge, Wt as BaseInput, Ha as Breadcrumb, Ja as BreadcrumbEllipsis, Wa as BreadcrumbItem, Ga as BreadcrumbLink, Ua as BreadcrumbList, Ka as BreadcrumbPage, qa as BreadcrumbSeparator, F as Button, Mt as Calendar, Nt as CalendarDayButton, pn as Card, _n as CardAction, vn as CardContent, gn as CardDescription, yn as CardFooter, mn as CardHeader, hn as CardTitle, Sn as Carousel, Cn as CarouselContent, wn as CarouselItem, En as CarouselNext, Tn as CarouselPrevious, yt as ChangeDialog, Qa as ChartContainer, no as ChartLegend, ro as ChartLegendContent, $a as ChartStyle, eo as ChartTooltip, to as ChartTooltipContent, ao as Checkbox, oo as Combobox, xo as ComboboxChip, bo as ComboboxChips, So as ComboboxChipsInput, _o as ComboboxCollection, fo as ComboboxContent, vo as ComboboxEmpty, ho as ComboboxGroup, uo as ComboboxInput, mo as ComboboxItem, go as ComboboxLabel, po as ComboboxList, yo as ComboboxSeparator, co as ComboboxTrigger, so as ComboboxValue, Wi as Command, Gi as CommandDialog, Ji as CommandEmpty, Yi as CommandGroup, Ki as CommandInput, Zi as CommandItem, qi as CommandList, Xi as CommandSeparator, Qi as CommandShortcut, nr as ContextMenu, fr as ContextMenuCheckboxItem, cr as ContextMenuContent, ir as ContextMenuGroup, lr as ContextMenuItem, mr as ContextMenuLabel, ar as ContextMenuPortal, sr as ContextMenuRadioGroup, pr as ContextMenuRadioItem, hr as ContextMenuSeparator, gr as ContextMenuShortcut, or as ContextMenuSub, dr as ContextMenuSubContent, ur as ContextMenuSubTrigger, rr as ContextMenuTrigger, Zn as CrudEmptyTablePreview, Fi as CrudPage, tr as CrudTable, _r as CrudTableBodyRow, vr as CrudTableCard, yr as CrudTableHeader, br as CrudTableHeaderRows, Ni as CrudTablePagination, Pi as CrudTableRowActionsMenu, Ut as DateField, Vt as DateInput, Kt as DateTimeField, Gt as DateTimeInput, bt as DeleteDialog, I as Dialog, ft as DialogClose, mt as DialogContent, vt as DialogDescription, gt as DialogFooter, ht as DialogHeader, pt as DialogOverlay, dt as DialogPortal, _t as DialogTitle, ut as DialogTrigger, wo as DirectionProvider, Eo as Drawer, ko as DrawerClose, jo as DrawerContent, Fo as DrawerDescription, No as DrawerFooter, Mo as DrawerHeader, Ao as DrawerOverlay, Oo as DrawerPortal, Po as DrawerTitle, Do as DrawerTrigger, Or as DropdownMenu, Nr as DropdownMenuCheckboxItem, jr as DropdownMenuContent, Mr as DropdownMenuGroup, B as DropdownMenuItem, Ir as DropdownMenuLabel, kr as DropdownMenuPortal, Pr as DropdownMenuRadioGroup, Fr as DropdownMenuRadioItem, Lr as DropdownMenuSeparator, Rr as DropdownMenuShortcut, zr as DropdownMenuSub, Vr as DropdownMenuSubContent, Br as DropdownMenuSubTrigger, Ar as DropdownMenuTrigger, lt as DynamicListContainer, Wn as Empty, Xn as EmptyContent, Yn as EmptyDescription, Gn as EmptyHeader, qn as EmptyMedia, Jn as EmptyTitle, Bo as Field, Vo as FieldContent, Wo as FieldDescription, Ko as FieldError, Ro as FieldGroup, Ho as FieldLabel, Lo as FieldLegend, Go as FieldSeparator, Io as FieldSet, Uo as FieldTitle, Jt as FieldsSection, R as FormField, z as Input, Yt as InputField, Ii as InputGroup, Ri as InputGroupAddon, Bi as InputGroupButton, Hi as InputGroupInput, Vi as InputGroupText, Ui as InputGroupTextarea, Ht as Label, Nn as Lightbox, Sa as Loading, Zt as NumberField, Xt as NumberInput, xr as Pagination, Sr as PaginationContent, Dr as PaginationEllipsis, Cr as PaginationItem, wr as PaginationLink, Er as PaginationNext, Tr as PaginationPrevious, Qt as PasswordField, $t as PhoneField, Pt as Popover, Lt as PopoverAnchor, It as PopoverContent, Bt as PopoverDescription, Rt as PopoverHeader, zt as PopoverTitle, Ft as PopoverTrigger, at as ProtectedRoute, ct as SaveButton, qo as ScrollArea, Jo as ScrollBar, Fn as SearchInput, $i as SearchableSelect, en as Select, an as SelectContent, fn as SelectField, tn as SelectGroup, dn as SelectInput, sn as SelectItem, on as SelectLabel, un as SelectScrollDownButton, ln as SelectScrollUpButton, cn as SelectSeparator, rn as SelectTrigger, nn as SelectValue, L as Separator, Wr as Sheet, Kr as SheetClose, Yr as SheetContent, $r as SheetDescription, Zr as SheetFooter, Xr as SheetHeader, Qr as SheetTitle, Gr as SheetTrigger, oa as SideBarCompanyData, da as SideBarMainMenu, ga as SideBarSecondaryMenu, _a as SideBarUserData, pi as Sidebar, xi as SidebarContent, ya as SidebarContext, yi as SidebarFooter, Si as SidebarGroup, wi as SidebarGroupAction, Ti as SidebarGroupContent, Ci as SidebarGroupLabel, vi as SidebarHeader, _i as SidebarInput, gi as SidebarInset, sa as SidebarLogo, H as SidebarMenu, Di as SidebarMenuAction, Oi as SidebarMenuBadge, W as SidebarMenuButton, U as SidebarMenuItem, ki as SidebarMenuSkeleton, Ai as SidebarMenuSub, Mi as SidebarMenuSubButton, ji as SidebarMenuSubItem, fi as SidebarProvider, hi as SidebarRail, bi as SidebarSeparator, mi as SidebarTrigger, ei as Skeleton, On as StorageFileField, Xo as Switch, In as Table, Rn as TableBody, Un as TableCaption, Hn as TableCell, zn as TableFooter, Vn as TableHead, Ln as TableHeader, Bn as TableRow, Zo as Tabs, ts as TabsContent, $o as TabsList, es as TabsTrigger, jn as TextAreaField, An as TextAreaInput, Mn as TextField, kn as Textarea, pa as ThemeProvider, ha as ThemeToggle, qt as TitleSeparator, Yo as Toaster, rs as Toggle, as as ToggleGroup, os as ToggleGroupItem, ni as Tooltip, ii as TooltipContent, ti as TooltipProvider, ri as TooltipTrigger, ot as YusrBusBackground, xa as YusrSideBar, va as YusrSideBarMainMenu, Pn as ZoomableImage, Ba as badgeVariants, st as buttonVariants, P as cn, ms as createGenericDialogSlice, Oc as createGenericEntitySlice, Dn as isPDF, ps as setupAuthListeners, Qo as tabsListVariants, ns as toggleVariants, xn as useCarousel, Co as useComboboxAnchor, ss as useDialog, To as useDirection, cs as useDynamicList, us as useEntityForm, ls as useFormValidation, Ur as useIsMobile, ds as useLightBox, V as useSidebar, ba as useSidebarContext, fs as useStorageFile, ma as useTheme };