@yusr_systems/ui 2.2.10 → 2.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/yusr-ui.js CHANGED
@@ -426,7 +426,7 @@ function vt(e) {
426
426
  }
427
427
  //#endregion
428
428
  //#region ../../node_modules/date-fns/locale/_lib/buildLocalizeFn.js
429
- function R(e) {
429
+ function yt(e) {
430
430
  return (t, n) => {
431
431
  let r = n?.context ? String(n.context) : "standalone", i;
432
432
  if (r === "formatting" && e.formattingValues) {
@@ -442,11 +442,11 @@ function R(e) {
442
442
  }
443
443
  //#endregion
444
444
  //#region ../../node_modules/date-fns/locale/_lib/buildMatchFn.js
445
- function yt(e) {
445
+ function bt(e) {
446
446
  return (t, n = {}) => {
447
447
  let r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], a = t.match(i);
448
448
  if (!a) return null;
449
- let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? xt(s, (e) => e.test(o)) : bt(s, (e) => e.test(o)), l;
449
+ let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? St(s, (e) => e.test(o)) : xt(s, (e) => e.test(o)), l;
450
450
  l = e.valueCallback ? e.valueCallback(c) : c, l = n.valueCallback ? n.valueCallback(l) : l;
451
451
  let u = t.slice(o.length);
452
452
  return {
@@ -455,15 +455,15 @@ function yt(e) {
455
455
  };
456
456
  };
457
457
  }
458
- function bt(e, t) {
458
+ function xt(e, t) {
459
459
  for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n])) return n;
460
460
  }
461
- function xt(e, t) {
461
+ function St(e, t) {
462
462
  for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
463
463
  }
464
464
  //#endregion
465
465
  //#region ../../node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
466
- function St(e) {
466
+ function Ct(e) {
467
467
  return (t, n = {}) => {
468
468
  let r = t.match(e.matchPattern);
469
469
  if (!r) return null;
@@ -480,7 +480,7 @@ function St(e) {
480
480
  }
481
481
  //#endregion
482
482
  //#region ../../node_modules/date-fns/locale/ar-SA/_lib/formatDistance.js
483
- var Ct = {
483
+ var wt = {
484
484
  lessThanXSeconds: {
485
485
  one: "أقل من ثانية واحدة",
486
486
  two: "أقل من ثانتين",
@@ -572,10 +572,10 @@ var Ct = {
572
572
  threeToTen: "{{count}} أعوام تقريباً",
573
573
  other: "{{count}} عام تقريباً"
574
574
  }
575
- }, wt = (e, t, n) => {
576
- let r, i = Ct[e];
575
+ }, Tt = (e, t, n) => {
576
+ let r, i = wt[e];
577
577
  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;
578
- }, Tt = {
578
+ }, Et = {
579
579
  date: vt({
580
580
  formats: {
581
581
  full: "EEEE, MMMM do, y",
@@ -603,21 +603,21 @@ var Ct = {
603
603
  },
604
604
  defaultWidth: "full"
605
605
  })
606
- }, Et = {
606
+ }, Dt = {
607
607
  lastWeek: "'أخر' eeee 'عند' p",
608
608
  yesterday: "'أمس عند' p",
609
609
  today: "'اليوم عند' p",
610
610
  tomorrow: "'غداً عند' p",
611
611
  nextWeek: "eeee 'عند' p",
612
612
  other: "P"
613
- }, Dt = {
613
+ }, Ot = {
614
614
  code: "ar-SA",
615
- formatDistance: wt,
616
- formatLong: Tt,
617
- formatRelative: (e, t, n, r) => Et[e],
615
+ formatDistance: Tt,
616
+ formatLong: Et,
617
+ formatRelative: (e, t, n, r) => Dt[e],
618
618
  localize: {
619
619
  ordinalNumber: (e) => String(e),
620
- era: R({
620
+ era: yt({
621
621
  values: {
622
622
  narrow: ["ق", "ب"],
623
623
  abbreviated: ["ق.م.", "ب.م."],
@@ -625,7 +625,7 @@ var Ct = {
625
625
  },
626
626
  defaultWidth: "wide"
627
627
  }),
628
- quarter: R({
628
+ quarter: yt({
629
629
  values: {
630
630
  narrow: [
631
631
  "1",
@@ -649,7 +649,7 @@ var Ct = {
649
649
  defaultWidth: "wide",
650
650
  argumentCallback: (e) => e - 1
651
651
  }),
652
- month: R({
652
+ month: yt({
653
653
  values: {
654
654
  narrow: [
655
655
  "ي",
@@ -696,7 +696,7 @@ var Ct = {
696
696
  },
697
697
  defaultWidth: "wide"
698
698
  }),
699
- day: R({
699
+ day: yt({
700
700
  values: {
701
701
  narrow: [
702
702
  "ح",
@@ -737,7 +737,7 @@ var Ct = {
737
737
  },
738
738
  defaultWidth: "wide"
739
739
  }),
740
- dayPeriod: R({
740
+ dayPeriod: yt({
741
741
  values: {
742
742
  narrow: {
743
743
  am: "ص",
@@ -807,12 +807,12 @@ var Ct = {
807
807
  })
808
808
  },
809
809
  match: {
810
- ordinalNumber: St({
810
+ ordinalNumber: Ct({
811
811
  matchPattern: /^(\d+)(th|st|nd|rd)?/i,
812
812
  parsePattern: /\d+/i,
813
813
  valueCallback: (e) => parseInt(e, 10)
814
814
  }),
815
- era: yt({
815
+ era: bt({
816
816
  matchPatterns: {
817
817
  narrow: /^(ق|ب)/i,
818
818
  abbreviated: /^(ق\.?\s?م\.?|ق\.?\s?م\.?\s?|a\.?\s?d\.?|c\.?\s?)/i,
@@ -822,7 +822,7 @@ var Ct = {
822
822
  parsePatterns: { any: [/^قبل/i, /^بعد/i] },
823
823
  defaultParseWidth: "any"
824
824
  }),
825
- quarter: yt({
825
+ quarter: bt({
826
826
  matchPatterns: {
827
827
  narrow: /^[1234]/i,
828
828
  abbreviated: /^ر[1234]/i,
@@ -838,7 +838,7 @@ var Ct = {
838
838
  defaultParseWidth: "any",
839
839
  valueCallback: (e) => e + 1
840
840
  }),
841
- month: yt({
841
+ month: bt({
842
842
  matchPatterns: {
843
843
  narrow: /^[يفمأمسند]/i,
844
844
  abbreviated: /^(ين|ف|مار|أب|ماي|يون|يول|أغ|س|أك|ن|د)/i,
@@ -877,7 +877,7 @@ var Ct = {
877
877
  },
878
878
  defaultParseWidth: "any"
879
879
  }),
880
- day: yt({
880
+ day: bt({
881
881
  matchPatterns: {
882
882
  narrow: /^[حنثرخجس]/i,
883
883
  short: /^(أحد|اثنين|ثلاثاء|أربعاء|خميس|جمعة|سبت)/i,
@@ -916,7 +916,7 @@ var Ct = {
916
916
  },
917
917
  defaultParseWidth: "any"
918
918
  }),
919
- dayPeriod: yt({
919
+ dayPeriod: bt({
920
920
  matchPatterns: {
921
921
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
922
922
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
@@ -942,7 +942,7 @@ var Ct = {
942
942
  };
943
943
  //#endregion
944
944
  //#region src/components/pure/calendar.tsx
945
- function Ot({ className: e, classNames: t, showOutsideDays: n = !0, captionLayout: r = "label", buttonVariant: i = "ghost", locale: o, formatters: s, components: c, ...f }) {
945
+ function kt({ className: e, classNames: t, showOutsideDays: n = !0, captionLayout: r = "label", buttonVariant: i = "ghost", locale: o, formatters: s, components: c, ...f }) {
946
946
  let p = Fe();
947
947
  return /* @__PURE__ */ a(Pe, {
948
948
  showOutsideDays: n,
@@ -998,7 +998,7 @@ function Ot({ className: e, classNames: t, showOutsideDays: n = !0, captionLayou
998
998
  className: P("size-4", e),
999
999
  ...n
1000
1000
  }),
1001
- DayButton: ({ ...e }) => /* @__PURE__ */ a(kt, {
1001
+ DayButton: ({ ...e }) => /* @__PURE__ */ a(At, {
1002
1002
  locale: o,
1003
1003
  ...e
1004
1004
  }),
@@ -1014,7 +1014,7 @@ function Ot({ className: e, classNames: t, showOutsideDays: n = !0, captionLayou
1014
1014
  ...f
1015
1015
  });
1016
1016
  }
1017
- function kt({ className: e, day: t, modifiers: n, locale: r, ...i }) {
1017
+ function At({ className: e, day: t, modifiers: n, locale: r, ...i }) {
1018
1018
  let o = Fe(), s = y.useRef(null);
1019
1019
  return y.useEffect(() => {
1020
1020
  n.focused && s.current?.focus();
@@ -1033,19 +1033,19 @@ function kt({ className: e, day: t, modifiers: n, locale: r, ...i }) {
1033
1033
  }
1034
1034
  //#endregion
1035
1035
  //#region src/components/pure/popover.tsx
1036
- function At({ ...e }) {
1036
+ function jt({ ...e }) {
1037
1037
  return /* @__PURE__ */ a(Ie.Root, {
1038
1038
  "data-slot": "popover",
1039
1039
  ...e
1040
1040
  });
1041
1041
  }
1042
- function jt({ ...e }) {
1042
+ function Mt({ ...e }) {
1043
1043
  return /* @__PURE__ */ a(Ie.Trigger, {
1044
1044
  "data-slot": "popover-trigger",
1045
1045
  ...e
1046
1046
  });
1047
1047
  }
1048
- function Mt({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
1048
+ function Nt({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
1049
1049
  return /* @__PURE__ */ a(Ie.Portal, { children: /* @__PURE__ */ a(Ie.Content, {
1050
1050
  "data-slot": "popover-content",
1051
1051
  align: t,
@@ -1054,27 +1054,27 @@ function Mt({ className: e, align: t = "center", sideOffset: n = 4, ...r }) {
1054
1054
  ...r
1055
1055
  }) });
1056
1056
  }
1057
- function Nt({ ...e }) {
1057
+ function Pt({ ...e }) {
1058
1058
  return /* @__PURE__ */ a(Ie.Anchor, {
1059
1059
  "data-slot": "popover-anchor",
1060
1060
  ...e
1061
1061
  });
1062
1062
  }
1063
- function Pt({ className: e, ...t }) {
1063
+ function Ft({ className: e, ...t }) {
1064
1064
  return /* @__PURE__ */ a("div", {
1065
1065
  "data-slot": "popover-header",
1066
1066
  className: P("flex flex-col gap-0.5 text-sm", e),
1067
1067
  ...t
1068
1068
  });
1069
1069
  }
1070
- function Ft({ className: e, ...t }) {
1070
+ function It({ className: e, ...t }) {
1071
1071
  return /* @__PURE__ */ a("div", {
1072
1072
  "data-slot": "popover-title",
1073
1073
  className: P("font-medium", e),
1074
1074
  ...t
1075
1075
  });
1076
1076
  }
1077
- function It({ className: e, ...t }) {
1077
+ function Lt({ className: e, ...t }) {
1078
1078
  return /* @__PURE__ */ a("p", {
1079
1079
  "data-slot": "popover-description",
1080
1080
  className: P("text-muted-foreground", e),
@@ -1083,17 +1083,17 @@ function It({ className: e, ...t }) {
1083
1083
  }
1084
1084
  //#endregion
1085
1085
  //#region src/components/custom/inputs/dateInput.tsx
1086
- function Lt({ value: e, onChange: t, isInvalid: n, placeholder: r = "اختر تاريخا", locale: i = Dt }) {
1087
- return /* @__PURE__ */ o(At, { children: [/* @__PURE__ */ a(jt, {
1086
+ function Rt({ value: e, onChange: t, isInvalid: n, placeholder: r = "اختر تاريخا", locale: i = Ot }) {
1087
+ return /* @__PURE__ */ o(jt, { children: [/* @__PURE__ */ a(Mt, {
1088
1088
  asChild: !0,
1089
1089
  children: /* @__PURE__ */ o(F, {
1090
1090
  variant: "outline",
1091
1091
  className: P("w-full justify-between text-left font-normal", !e && "text-muted-foreground", n && "border-red-600 ring-red-600 text-red-900"),
1092
1092
  children: [e ? Ne(e, "PPP", { locale: i }) : /* @__PURE__ */ a("span", { children: r }), /* @__PURE__ */ a(l, { className: "h-4 w-4 opacity-50" })]
1093
1093
  })
1094
- }), /* @__PURE__ */ a(Mt, {
1094
+ }), /* @__PURE__ */ a(Nt, {
1095
1095
  className: "w-auto p-0",
1096
- children: /* @__PURE__ */ a(Ot, {
1096
+ children: /* @__PURE__ */ a(kt, {
1097
1097
  mode: "single",
1098
1098
  selected: e,
1099
1099
  onSelect: t,
@@ -1103,7 +1103,7 @@ function Lt({ value: e, onChange: t, isInvalid: n, placeholder: r = "اختر ت
1103
1103
  }
1104
1104
  //#endregion
1105
1105
  //#region src/components/pure/label.tsx
1106
- function Rt({ className: e, ...t }) {
1106
+ function zt({ className: e, ...t }) {
1107
1107
  return /* @__PURE__ */ a(Le.Root, {
1108
1108
  "data-slot": "label",
1109
1109
  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),
@@ -1112,13 +1112,13 @@ function Rt({ className: e, ...t }) {
1112
1112
  }
1113
1113
  //#endregion
1114
1114
  //#region src/components/custom/fields/formField.tsx
1115
- function z({ label: e, error: t, isInvalid: n, children: r, required: i }) {
1115
+ function R({ label: e, error: t, isInvalid: n, children: r, required: i }) {
1116
1116
  return /* @__PURE__ */ o("div", {
1117
1117
  className: "flex flex-col gap-1.5 w-full",
1118
1118
  children: [
1119
1119
  /* @__PURE__ */ o("div", {
1120
1120
  className: "flex items-center gap-1",
1121
- children: [/* @__PURE__ */ a(Rt, {
1121
+ children: [/* @__PURE__ */ a(zt, {
1122
1122
  className: "text-sm font-medium",
1123
1123
  children: e
1124
1124
  }), i && /* @__PURE__ */ a("span", {
@@ -1136,13 +1136,13 @@ function z({ label: e, error: t, isInvalid: n, children: r, required: i }) {
1136
1136
  }
1137
1137
  //#endregion
1138
1138
  //#region src/components/custom/fields/dateField.tsx
1139
- function zt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1140
- return /* @__PURE__ */ a(z, {
1139
+ function Bt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1140
+ return /* @__PURE__ */ a(R, {
1141
1141
  label: e,
1142
1142
  error: t,
1143
1143
  isInvalid: n,
1144
1144
  required: r,
1145
- children: /* @__PURE__ */ a(Lt, {
1145
+ children: /* @__PURE__ */ a(Rt, {
1146
1146
  ...i,
1147
1147
  isInvalid: n
1148
1148
  })
@@ -1150,7 +1150,7 @@ function zt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1150
1150
  }
1151
1151
  //#endregion
1152
1152
  //#region src/components/pure/input.tsx
1153
- function B({ className: e, type: t, ...n }) {
1153
+ function z({ className: e, type: t, ...n }) {
1154
1154
  return /* @__PURE__ */ a("input", {
1155
1155
  type: t,
1156
1156
  "data-slot": "input",
@@ -1160,21 +1160,21 @@ function B({ className: e, type: t, ...n }) {
1160
1160
  }
1161
1161
  //#endregion
1162
1162
  //#region src/components/custom/inputs/baseInput.tsx
1163
- function Bt({ isInvalid: e, className: t, ...n }) {
1164
- return /* @__PURE__ */ a(B, {
1163
+ function Vt({ isInvalid: e, className: t, ...n }) {
1164
+ return /* @__PURE__ */ a(z, {
1165
1165
  ...n,
1166
1166
  className: P(t, e && "border-red-500 ring-red-500 text-red-900 focus-visible:ring-red-500")
1167
1167
  });
1168
1168
  }
1169
1169
  //#endregion
1170
1170
  //#region src/components/custom/inputs/dateTimeInput.tsx
1171
- function Vt({ value: e, onChange: t, isInvalid: n, locale: r = Dt }) {
1171
+ function Ht({ value: e, onChange: t, isInvalid: n, locale: r = Ot }) {
1172
1172
  let i = e instanceof Date ? e : void 0;
1173
1173
  return /* @__PURE__ */ o("div", {
1174
1174
  className: "flex gap-2 w-full",
1175
1175
  children: [/* @__PURE__ */ a("div", {
1176
1176
  className: "flex-1",
1177
- children: /* @__PURE__ */ a(Lt, {
1177
+ children: /* @__PURE__ */ a(Rt, {
1178
1178
  value: i,
1179
1179
  onChange: (e) => {
1180
1180
  if (!e) return;
@@ -1187,7 +1187,7 @@ function Vt({ value: e, onChange: t, isInvalid: n, locale: r = Dt }) {
1187
1187
  })
1188
1188
  }), /* @__PURE__ */ a("div", {
1189
1189
  className: "w-24",
1190
- children: /* @__PURE__ */ a(Bt, {
1190
+ children: /* @__PURE__ */ a(Vt, {
1191
1191
  type: "time",
1192
1192
  className: "bg-background appearance-none",
1193
1193
  value: i ? Ne(i, "HH:mm") : "",
@@ -1204,13 +1204,13 @@ function Vt({ value: e, onChange: t, isInvalid: n, locale: r = Dt }) {
1204
1204
  }
1205
1205
  //#endregion
1206
1206
  //#region src/components/custom/fields/dateTimeField.tsx
1207
- function Ht({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1208
- return /* @__PURE__ */ a(z, {
1207
+ function Ut({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1208
+ return /* @__PURE__ */ a(R, {
1209
1209
  label: e,
1210
1210
  error: t,
1211
1211
  isInvalid: n,
1212
1212
  required: r,
1213
- children: /* @__PURE__ */ a(Vt, {
1213
+ children: /* @__PURE__ */ a(Ht, {
1214
1214
  ...i,
1215
1215
  isInvalid: n
1216
1216
  })
@@ -1218,12 +1218,12 @@ function Ht({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1218
1218
  }
1219
1219
  //#endregion
1220
1220
  //#region src/components/custom/separators/titleSeparator.tsx
1221
- function Ut({ title: e }) {
1221
+ function Wt({ title: e }) {
1222
1222
  return /* @__PURE__ */ o("div", {
1223
1223
  className: "flex items-center gap-4",
1224
1224
  children: [
1225
1225
  /* @__PURE__ */ a(L, { className: "flex-1" }),
1226
- /* @__PURE__ */ a(Rt, {
1226
+ /* @__PURE__ */ a(zt, {
1227
1227
  className: "shrink-0 text-sm font-semibold",
1228
1228
  children: e
1229
1229
  }),
@@ -1233,10 +1233,10 @@ function Ut({ title: e }) {
1233
1233
  }
1234
1234
  //#endregion
1235
1235
  //#region src/components/custom/fields/fieldsSection.tsx
1236
- function Wt({ title: e, children: t, columns: n = 2, className: r }) {
1236
+ function Gt({ title: e, children: t, columns: n = 2, className: r }) {
1237
1237
  return /* @__PURE__ */ o("div", {
1238
1238
  className: P("space-y-3", r),
1239
- children: [e && /* @__PURE__ */ a(Ut, { title: e }), /* @__PURE__ */ a("div", {
1239
+ children: [e && /* @__PURE__ */ a(Wt, { title: e }), /* @__PURE__ */ a("div", {
1240
1240
  className: P("grid gap-4", {
1241
1241
  "grid-cols-1": n === 1,
1242
1242
  "grid-cols-2": n === 2,
@@ -1248,13 +1248,13 @@ function Wt({ title: e, children: t, columns: n = 2, className: r }) {
1248
1248
  }
1249
1249
  //#endregion
1250
1250
  //#region src/components/custom/fields/inputField.tsx
1251
- function Gt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1252
- return /* @__PURE__ */ a(z, {
1251
+ function Kt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1252
+ return /* @__PURE__ */ a(R, {
1253
1253
  label: e,
1254
1254
  error: t,
1255
1255
  isInvalid: n,
1256
1256
  required: r,
1257
- children: /* @__PURE__ */ a(Bt, {
1257
+ children: /* @__PURE__ */ a(Vt, {
1258
1258
  ...i,
1259
1259
  isInvalid: n
1260
1260
  })
@@ -1262,8 +1262,8 @@ function Gt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1262
1262
  }
1263
1263
  //#endregion
1264
1264
  //#region src/components/custom/inputs/numberInput.tsx
1265
- function Kt({ onChange: e, min: t, max: n, isInvalid: r, className: i, ...o }) {
1266
- return /* @__PURE__ */ a(B, {
1265
+ function qt({ onChange: e, min: t, max: n, isInvalid: r, className: i, ...o }) {
1266
+ return /* @__PURE__ */ a(z, {
1267
1267
  ...o,
1268
1268
  type: "number",
1269
1269
  min: t,
@@ -1282,13 +1282,13 @@ function Kt({ onChange: e, min: t, max: n, isInvalid: r, className: i, ...o }) {
1282
1282
  }
1283
1283
  //#endregion
1284
1284
  //#region src/components/custom/fields/numberField.tsx
1285
- function qt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1286
- return /* @__PURE__ */ a(z, {
1285
+ function Jt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1286
+ return /* @__PURE__ */ a(R, {
1287
1287
  label: e,
1288
1288
  error: t,
1289
1289
  isInvalid: n,
1290
1290
  required: r,
1291
- children: /* @__PURE__ */ a(Kt, {
1291
+ children: /* @__PURE__ */ a(qt, {
1292
1292
  ...i,
1293
1293
  isInvalid: n
1294
1294
  })
@@ -1296,11 +1296,11 @@ function qt({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1296
1296
  }
1297
1297
  //#endregion
1298
1298
  //#region src/components/custom/fields/passwordField.tsx
1299
- function Jt(e) {
1299
+ function Yt(e) {
1300
1300
  let [t, n] = x(!1);
1301
1301
  return /* @__PURE__ */ o("div", {
1302
1302
  className: "relative",
1303
- children: [/* @__PURE__ */ a(Gt, {
1303
+ children: [/* @__PURE__ */ a(Kt, {
1304
1304
  ...e,
1305
1305
  type: t ? "text" : "password",
1306
1306
  className: "pl-10"
@@ -1314,8 +1314,8 @@ function Jt(e) {
1314
1314
  }
1315
1315
  //#endregion
1316
1316
  //#region src/components/custom/fields/phoneField.tsx
1317
- function Yt(e) {
1318
- return /* @__PURE__ */ a(Gt, {
1317
+ function Xt(e) {
1318
+ return /* @__PURE__ */ a(Kt, {
1319
1319
  ...e,
1320
1320
  type: "tel",
1321
1321
  dir: "ltr",
@@ -1325,26 +1325,26 @@ function Yt(e) {
1325
1325
  }
1326
1326
  //#endregion
1327
1327
  //#region src/components/pure/select.tsx
1328
- function Xt({ ...e }) {
1328
+ function Zt({ ...e }) {
1329
1329
  return /* @__PURE__ */ a(T.Root, {
1330
1330
  "data-slot": "select",
1331
1331
  ...e
1332
1332
  });
1333
1333
  }
1334
- function Zt({ className: e, ...t }) {
1334
+ function Qt({ className: e, ...t }) {
1335
1335
  return /* @__PURE__ */ a(T.Group, {
1336
1336
  "data-slot": "select-group",
1337
1337
  className: P("scroll-my-1 p-1", e),
1338
1338
  ...t
1339
1339
  });
1340
1340
  }
1341
- function Qt({ ...e }) {
1341
+ function $t({ ...e }) {
1342
1342
  return /* @__PURE__ */ a(T.Value, {
1343
1343
  "data-slot": "select-value",
1344
1344
  ...e
1345
1345
  });
1346
1346
  }
1347
- function $t({ className: e, size: t = "default", children: n, ...r }) {
1347
+ function en({ className: e, size: t = "default", children: n, ...r }) {
1348
1348
  return /* @__PURE__ */ o(T.Trigger, {
1349
1349
  "data-slot": "select-trigger",
1350
1350
  "data-size": t,
@@ -1356,7 +1356,7 @@ function $t({ className: e, size: t = "default", children: n, ...r }) {
1356
1356
  })]
1357
1357
  });
1358
1358
  }
1359
- function en({ className: e, children: t, position: n = "item-aligned", align: r = "center", ...i }) {
1359
+ function tn({ className: e, children: t, position: n = "item-aligned", align: r = "center", ...i }) {
1360
1360
  return /* @__PURE__ */ a(T.Portal, { children: /* @__PURE__ */ o(T.Content, {
1361
1361
  "data-slot": "select-content",
1362
1362
  "data-align-trigger": n === "item-aligned",
@@ -1365,24 +1365,24 @@ function en({ className: e, children: t, position: n = "item-aligned", align: r
1365
1365
  align: r,
1366
1366
  ...i,
1367
1367
  children: [
1368
- /* @__PURE__ */ a(an, {}),
1368
+ /* @__PURE__ */ a(on, {}),
1369
1369
  /* @__PURE__ */ a(T.Viewport, {
1370
1370
  "data-position": n,
1371
1371
  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" && ""),
1372
1372
  children: t
1373
1373
  }),
1374
- /* @__PURE__ */ a(on, {})
1374
+ /* @__PURE__ */ a(sn, {})
1375
1375
  ]
1376
1376
  }) });
1377
1377
  }
1378
- function tn({ className: e, ...t }) {
1378
+ function nn({ className: e, ...t }) {
1379
1379
  return /* @__PURE__ */ a(T.Label, {
1380
1380
  "data-slot": "select-label",
1381
1381
  className: P("text-muted-foreground px-1.5 py-1 text-xs", e),
1382
1382
  ...t
1383
1383
  });
1384
1384
  }
1385
- function nn({ className: e, children: t, ...n }) {
1385
+ function rn({ className: e, children: t, ...n }) {
1386
1386
  return /* @__PURE__ */ o(T.Item, {
1387
1387
  "data-slot": "select-item",
1388
1388
  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),
@@ -1393,14 +1393,14 @@ function nn({ className: e, children: t, ...n }) {
1393
1393
  }), /* @__PURE__ */ a(T.ItemText, { children: t })]
1394
1394
  });
1395
1395
  }
1396
- function rn({ className: e, ...t }) {
1396
+ function an({ className: e, ...t }) {
1397
1397
  return /* @__PURE__ */ a(T.Separator, {
1398
1398
  "data-slot": "select-separator",
1399
1399
  className: P("bg-border -mx-1 my-1 h-px pointer-events-none", e),
1400
1400
  ...t
1401
1401
  });
1402
1402
  }
1403
- function an({ className: e, ...t }) {
1403
+ function on({ className: e, ...t }) {
1404
1404
  return /* @__PURE__ */ a(T.ScrollUpButton, {
1405
1405
  "data-slot": "select-scroll-up-button",
1406
1406
  className: P("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4", e),
@@ -1408,7 +1408,7 @@ function an({ className: e, ...t }) {
1408
1408
  children: /* @__PURE__ */ a(f, {})
1409
1409
  });
1410
1410
  }
1411
- function on({ className: e, ...t }) {
1411
+ function sn({ className: e, ...t }) {
1412
1412
  return /* @__PURE__ */ a(T.ScrollDownButton, {
1413
1413
  "data-slot": "select-scroll-down-button",
1414
1414
  className: P("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4", e),
@@ -1418,16 +1418,16 @@ function on({ className: e, ...t }) {
1418
1418
  }
1419
1419
  //#endregion
1420
1420
  //#region src/components/custom/inputs/selectInput.tsx
1421
- function sn({ value: e, onValueChange: t, options: n, placeholder: r, isInvalid: i, disabled: s }) {
1422
- return /* @__PURE__ */ o(Xt, {
1421
+ function cn({ value: e, onValueChange: t, options: n, placeholder: r, isInvalid: i, disabled: s }) {
1422
+ return /* @__PURE__ */ o(Zt, {
1423
1423
  value: e,
1424
1424
  onValueChange: t,
1425
1425
  dir: "rtl",
1426
1426
  disabled: s,
1427
- children: [/* @__PURE__ */ a($t, {
1427
+ children: [/* @__PURE__ */ a(en, {
1428
1428
  className: P("w-full", i && "border-red-600 ring-red-600 text-red-900"),
1429
- children: /* @__PURE__ */ a(Qt, { placeholder: r })
1430
- }), /* @__PURE__ */ a(en, { children: n.map((e) => /* @__PURE__ */ a(nn, {
1429
+ children: /* @__PURE__ */ a($t, { placeholder: r })
1430
+ }), /* @__PURE__ */ a(tn, { children: n.map((e) => /* @__PURE__ */ a(rn, {
1431
1431
  value: e.value,
1432
1432
  children: e.label
1433
1433
  }, e.value)) })]
@@ -1435,13 +1435,13 @@ function sn({ value: e, onValueChange: t, options: n, placeholder: r, isInvalid:
1435
1435
  }
1436
1436
  //#endregion
1437
1437
  //#region src/components/custom/fields/selectField.tsx
1438
- function cn({ label: e, error: t, required: n, isInvalid: r, ...i }) {
1439
- return /* @__PURE__ */ a(z, {
1438
+ function ln({ label: e, error: t, required: n, isInvalid: r, ...i }) {
1439
+ return /* @__PURE__ */ a(R, {
1440
1440
  label: e,
1441
1441
  error: t,
1442
1442
  isInvalid: r,
1443
1443
  required: n,
1444
- children: /* @__PURE__ */ a(sn, {
1444
+ children: /* @__PURE__ */ a(cn, {
1445
1445
  ...i,
1446
1446
  isInvalid: r
1447
1447
  })
@@ -1449,7 +1449,7 @@ function cn({ label: e, error: t, required: n, isInvalid: r, ...i }) {
1449
1449
  }
1450
1450
  //#endregion
1451
1451
  //#region src/components/pure/card.tsx
1452
- function ln({ className: e, size: t = "default", ...n }) {
1452
+ function un({ className: e, size: t = "default", ...n }) {
1453
1453
  return /* @__PURE__ */ a("div", {
1454
1454
  "data-slot": "card",
1455
1455
  "data-size": t,
@@ -1457,42 +1457,42 @@ function ln({ className: e, size: t = "default", ...n }) {
1457
1457
  ...n
1458
1458
  });
1459
1459
  }
1460
- function un({ className: e, ...t }) {
1460
+ function dn({ className: e, ...t }) {
1461
1461
  return /* @__PURE__ */ a("div", {
1462
1462
  "data-slot": "card-header",
1463
1463
  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),
1464
1464
  ...t
1465
1465
  });
1466
1466
  }
1467
- function dn({ className: e, ...t }) {
1467
+ function fn({ className: e, ...t }) {
1468
1468
  return /* @__PURE__ */ a("div", {
1469
1469
  "data-slot": "card-title",
1470
1470
  className: P("text-base leading-snug font-medium group-data-[size=sm]/card:text-sm", e),
1471
1471
  ...t
1472
1472
  });
1473
1473
  }
1474
- function fn({ className: e, ...t }) {
1474
+ function pn({ className: e, ...t }) {
1475
1475
  return /* @__PURE__ */ a("div", {
1476
1476
  "data-slot": "card-description",
1477
1477
  className: P("text-muted-foreground text-sm", e),
1478
1478
  ...t
1479
1479
  });
1480
1480
  }
1481
- function pn({ className: e, ...t }) {
1481
+ function mn({ className: e, ...t }) {
1482
1482
  return /* @__PURE__ */ a("div", {
1483
1483
  "data-slot": "card-action",
1484
1484
  className: P("col-start-2 row-span-2 row-start-1 self-start justify-self-end", e),
1485
1485
  ...t
1486
1486
  });
1487
1487
  }
1488
- function mn({ className: e, ...t }) {
1488
+ function hn({ className: e, ...t }) {
1489
1489
  return /* @__PURE__ */ a("div", {
1490
1490
  "data-slot": "card-content",
1491
1491
  className: P("px-4 group-data-[size=sm]/card:px-3", e),
1492
1492
  ...t
1493
1493
  });
1494
1494
  }
1495
- function hn({ className: e, ...t }) {
1495
+ function gn({ className: e, ...t }) {
1496
1496
  return /* @__PURE__ */ a("div", {
1497
1497
  "data-slot": "card-footer",
1498
1498
  className: P("bg-muted/50 rounded-b-xl border-t p-4 group-data-[size=sm]/card:p-3 flex items-center", e),
@@ -1501,13 +1501,13 @@ function hn({ className: e, ...t }) {
1501
1501
  }
1502
1502
  //#endregion
1503
1503
  //#region src/components/pure/carousel.tsx
1504
- var gn = y.createContext(null);
1505
- function _n() {
1506
- let e = y.useContext(gn);
1504
+ var _n = y.createContext(null);
1505
+ function vn() {
1506
+ let e = y.useContext(_n);
1507
1507
  if (!e) throw Error("useCarousel must be used within a <Carousel />");
1508
1508
  return e;
1509
1509
  }
1510
- function vn({ orientation: e = "horizontal", opts: t, setApi: n, plugins: r, className: i, children: o, ...s }) {
1510
+ function yn({ orientation: e = "horizontal", opts: t, setApi: n, plugins: r, className: i, children: o, ...s }) {
1511
1511
  let [c, l] = Re({
1512
1512
  ...t,
1513
1513
  axis: e === "horizontal" ? "x" : "y"
@@ -1526,7 +1526,7 @@ function vn({ orientation: e = "horizontal", opts: t, setApi: n, plugins: r, cla
1526
1526
  if (l) return m(l), l.on("reInit", m), l.on("select", m), () => {
1527
1527
  l?.off("select", m);
1528
1528
  };
1529
- }, [l, m]), /* @__PURE__ */ a(gn.Provider, {
1529
+ }, [l, m]), /* @__PURE__ */ a(_n.Provider, {
1530
1530
  value: {
1531
1531
  carouselRef: c,
1532
1532
  api: l,
@@ -1548,8 +1548,8 @@ function vn({ orientation: e = "horizontal", opts: t, setApi: n, plugins: r, cla
1548
1548
  })
1549
1549
  });
1550
1550
  }
1551
- function yn({ className: e, ...t }) {
1552
- let { carouselRef: n, orientation: r } = _n();
1551
+ function bn({ className: e, ...t }) {
1552
+ let { carouselRef: n, orientation: r } = vn();
1553
1553
  return /* @__PURE__ */ a("div", {
1554
1554
  ref: n,
1555
1555
  className: "overflow-hidden",
@@ -1560,8 +1560,8 @@ function yn({ className: e, ...t }) {
1560
1560
  })
1561
1561
  });
1562
1562
  }
1563
- function bn({ className: e, ...t }) {
1564
- let { orientation: n } = _n();
1563
+ function xn({ className: e, ...t }) {
1564
+ let { orientation: n } = vn();
1565
1565
  return /* @__PURE__ */ a("div", {
1566
1566
  role: "group",
1567
1567
  "aria-roledescription": "slide",
@@ -1570,8 +1570,8 @@ function bn({ className: e, ...t }) {
1570
1570
  ...t
1571
1571
  });
1572
1572
  }
1573
- function xn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
1574
- let { orientation: i, scrollPrev: s, canScrollPrev: c } = _n();
1573
+ function Sn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
1574
+ let { orientation: i, scrollPrev: s, canScrollPrev: c } = vn();
1575
1575
  return /* @__PURE__ */ o(F, {
1576
1576
  "data-slot": "carousel-previous",
1577
1577
  variant: t,
@@ -1586,8 +1586,8 @@ function xn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r })
1586
1586
  })]
1587
1587
  });
1588
1588
  }
1589
- function Sn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
1590
- let { orientation: i, scrollNext: s, canScrollNext: c } = _n();
1589
+ function Cn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r }) {
1590
+ let { orientation: i, scrollNext: s, canScrollNext: c } = vn();
1591
1591
  return /* @__PURE__ */ o(F, {
1592
1592
  "data-slot": "carousel-next",
1593
1593
  variant: t,
@@ -1604,14 +1604,14 @@ function Sn({ className: e, variant: t = "outline", size: n = "icon-sm", ...r })
1604
1604
  }
1605
1605
  //#endregion
1606
1606
  //#region src/components/custom/fields/storageFilesField.tsx
1607
- function Cn(e) {
1607
+ function wn(e) {
1608
1608
  return e?.contentType === "application/pdf" || e?.extension?.toLowerCase() === ".pdf";
1609
1609
  }
1610
- function wn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, getFileSrc: c, showPreview: l, fileInputRef: u, error: d, isInvalid: f, dir: p = "rtl" }) {
1610
+ function Tn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, getFileSrc: c, showPreview: l, fileInputRef: u, error: d, isInvalid: f, dir: p = "rtl" }) {
1611
1611
  let m = Oe(() => Array.isArray(t) ? t : t ? [t] : [], [t]), g = Oe(() => m.filter((e) => l(e)), [m, l]), _ = b((e) => {
1612
1612
  n(e), e.target && (e.target.value = "");
1613
1613
  }, [n]), ee = b((e) => {
1614
- let t = Cn(e), n = c(e);
1614
+ let t = wn(e), n = c(e);
1615
1615
  return t ? /* @__PURE__ */ o("div", {
1616
1616
  className: "flex flex-col items-center justify-center w-full h-full bg-muted/30",
1617
1617
  children: [/* @__PURE__ */ a(v, { className: "h-12 w-12 text-red-500 mb-2" }), /* @__PURE__ */ a("span", {
@@ -1634,22 +1634,22 @@ function wn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, ge
1634
1634
  }),
1635
1635
  g.length > 0 ? /* @__PURE__ */ o("div", {
1636
1636
  className: "space-y-2 max-w-100 mt-3",
1637
- children: [/* @__PURE__ */ o(vn, {
1637
+ children: [/* @__PURE__ */ o(yn, {
1638
1638
  opts: {
1639
1639
  direction: p,
1640
1640
  align: "start",
1641
1641
  dragFree: !0
1642
1642
  },
1643
1643
  className: "w-full relative group",
1644
- children: [/* @__PURE__ */ a(yn, { children: g.map((e, t) => {
1644
+ children: [/* @__PURE__ */ a(bn, { children: g.map((e, t) => {
1645
1645
  let n = e.url || (e.base64File ? e.base64File.substring(0, 40) : `fallback-key-${t}`), i = m.indexOf(e);
1646
- return /* @__PURE__ */ a(bn, {
1646
+ return /* @__PURE__ */ a(xn, {
1647
1647
  className: "basis-full",
1648
1648
  children: /* @__PURE__ */ a("div", {
1649
1649
  className: "p-1",
1650
- children: /* @__PURE__ */ a(ln, {
1650
+ children: /* @__PURE__ */ a(un, {
1651
1651
  className: "relative group overflow-hidden border-2 aspect-video flex items-center justify-center bg-background shadow-sm",
1652
- children: /* @__PURE__ */ o(mn, {
1652
+ children: /* @__PURE__ */ o(hn, {
1653
1653
  className: "p-0 w-full h-full flex items-center justify-center",
1654
1654
  children: [/* @__PURE__ */ o(I, { children: [/* @__PURE__ */ a(st, {
1655
1655
  asChild: !0,
@@ -1701,7 +1701,7 @@ function wn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, ge
1701
1701
  })
1702
1702
  })
1703
1703
  }, n);
1704
- }) }), g.length > 1 && /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(xn, { 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(Sn, { 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" })] })]
1704
+ }) }), g.length > 1 && /* @__PURE__ */ o(i, { children: [/* @__PURE__ */ a(Sn, { 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(Cn, { 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" })] })]
1705
1705
  }), /* @__PURE__ */ o(F, {
1706
1706
  type: "button",
1707
1707
  variant: "outline",
@@ -1729,7 +1729,7 @@ function wn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, ge
1729
1729
  className: "text-[10px] text-red-500 font-medium mr-1",
1730
1730
  children: d
1731
1731
  }),
1732
- /* @__PURE__ */ a(B, {
1732
+ /* @__PURE__ */ a(z, {
1733
1733
  type: "file",
1734
1734
  ref: u,
1735
1735
  className: "hidden",
@@ -1742,7 +1742,7 @@ function wn({ label: e, file: t, onFileChange: n, onRemove: r, onDownload: s, ge
1742
1742
  }
1743
1743
  //#endregion
1744
1744
  //#region src/components/pure/textarea.tsx
1745
- function Tn({ className: e, ...t }) {
1745
+ function En({ className: e, ...t }) {
1746
1746
  return /* @__PURE__ */ a("textarea", {
1747
1747
  "data-slot": "textarea",
1748
1748
  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),
@@ -1751,21 +1751,21 @@ function Tn({ className: e, ...t }) {
1751
1751
  }
1752
1752
  //#endregion
1753
1753
  //#region src/components/custom/inputs/textAreaInput.tsx
1754
- function En({ isInvalid: e, className: t, ...n }) {
1755
- return /* @__PURE__ */ a(Tn, {
1754
+ function Dn({ isInvalid: e, className: t, ...n }) {
1755
+ return /* @__PURE__ */ a(En, {
1756
1756
  ...n,
1757
1757
  className: P(t, e && "border-red-600 focus-visible:ring-red-600")
1758
1758
  });
1759
1759
  }
1760
1760
  //#endregion
1761
1761
  //#region src/components/custom/fields/textAreaField.tsx
1762
- function Dn({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1763
- return /* @__PURE__ */ a(z, {
1762
+ function On({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1763
+ return /* @__PURE__ */ a(R, {
1764
1764
  label: e,
1765
1765
  error: t,
1766
1766
  isInvalid: n,
1767
1767
  required: r,
1768
- children: /* @__PURE__ */ a(En, {
1768
+ children: /* @__PURE__ */ a(Dn, {
1769
1769
  ...i,
1770
1770
  isInvalid: n
1771
1771
  })
@@ -1773,15 +1773,15 @@ function Dn({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1773
1773
  }
1774
1774
  //#endregion
1775
1775
  //#region src/components/custom/fields/textField.tsx
1776
- function On(e) {
1777
- return /* @__PURE__ */ a(Gt, {
1776
+ function kn(e) {
1777
+ return /* @__PURE__ */ a(Kt, {
1778
1778
  ...e,
1779
1779
  type: "text"
1780
1780
  });
1781
1781
  }
1782
1782
  //#endregion
1783
1783
  //#region src/components/custom/images/lightbox.tsx
1784
- function kn({ srcLight: e, srcDark: t, alt: n, onClose: r }) {
1784
+ function An({ srcLight: e, srcDark: t, alt: n, onClose: r }) {
1785
1785
  return De(() => {
1786
1786
  let e = (e) => e.key === "Escape" && r();
1787
1787
  return window.addEventListener("keydown", e), document.body.style.overflow = "hidden", () => {
@@ -1812,7 +1812,7 @@ function kn({ srcLight: e, srcDark: t, alt: n, onClose: r }) {
1812
1812
  }
1813
1813
  //#endregion
1814
1814
  //#region src/components/custom/images/zoomableImage.tsx
1815
- function An({ srcLight: e, srcDark: t, alt: n, className: r, wrapperClassName: i, onOpen: s }) {
1815
+ function jn({ srcLight: e, srcDark: t, alt: n, className: r, wrapperClassName: i, onOpen: s }) {
1816
1816
  return /* @__PURE__ */ o("div", {
1817
1817
  className: `group/zoom relative cursor-zoom-in overflow-hidden ${i ?? ""}`,
1818
1818
  onClick: () => s(e, t, n),
@@ -1840,7 +1840,7 @@ function An({ srcLight: e, srcDark: t, alt: n, className: r, wrapperClassName: i
1840
1840
  }
1841
1841
  //#endregion
1842
1842
  //#region src/components/custom/inputs/searchInput.tsx
1843
- function jn({ columnsNames: e, onSearch: t }) {
1843
+ function Mn({ columnsNames: e, onSearch: t }) {
1844
1844
  let [n, r] = x(""), [i, s] = x(e[0]?.value || ""), c = ze((e, n) => {
1845
1845
  e.trim() ? t({
1846
1846
  value: e,
@@ -1851,22 +1851,22 @@ function jn({ columnsNames: e, onSearch: t }) {
1851
1851
  className: "p-3 rounded-t-xl border-x border-t flex flex-col sm:flex-row gap-4",
1852
1852
  children: /* @__PURE__ */ o("div", {
1853
1853
  className: "relative w-full flex gap-2",
1854
- children: [e.length > 1 && /* @__PURE__ */ o(Xt, {
1854
+ children: [e.length > 1 && /* @__PURE__ */ o(Zt, {
1855
1855
  dir: "rtl",
1856
1856
  value: i,
1857
1857
  onValueChange: (e) => {
1858
1858
  s(e), n.trim() && c(n, e);
1859
1859
  },
1860
- children: [/* @__PURE__ */ a($t, {
1860
+ children: [/* @__PURE__ */ a(en, {
1861
1861
  className: "bg-secondary border-none",
1862
- children: /* @__PURE__ */ a(Qt, { placeholder: "اختر العمود" })
1863
- }), /* @__PURE__ */ a(en, { children: e.map((e) => /* @__PURE__ */ a(nn, {
1862
+ children: /* @__PURE__ */ a($t, { placeholder: "اختر العمود" })
1863
+ }), /* @__PURE__ */ a(tn, { children: e.map((e) => /* @__PURE__ */ a(rn, {
1864
1864
  value: e.value,
1865
1865
  children: e.label
1866
1866
  }, e.value)) })]
1867
1867
  }), /* @__PURE__ */ o("div", {
1868
1868
  className: "relative flex-1",
1869
- children: [/* @__PURE__ */ a(he, { className: "absolute right-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ a(B, {
1869
+ children: [/* @__PURE__ */ a(he, { className: "absolute right-3 top-1/2 -translate-y-1/2 h-4 w-4 text-muted-foreground" }), /* @__PURE__ */ a(z, {
1870
1870
  value: n,
1871
1871
  onChange: (e) => {
1872
1872
  let n = e.target.value;
@@ -1881,7 +1881,7 @@ function jn({ columnsNames: e, onSearch: t }) {
1881
1881
  }
1882
1882
  //#endregion
1883
1883
  //#region src/components/pure/table.tsx
1884
- function Mn({ className: e, ...t }) {
1884
+ function Nn({ className: e, ...t }) {
1885
1885
  return /* @__PURE__ */ a("div", {
1886
1886
  "data-slot": "table-container",
1887
1887
  className: "relative w-full overflow-x-auto",
@@ -1892,49 +1892,49 @@ function Mn({ className: e, ...t }) {
1892
1892
  })
1893
1893
  });
1894
1894
  }
1895
- function Nn({ className: e, ...t }) {
1895
+ function Pn({ className: e, ...t }) {
1896
1896
  return /* @__PURE__ */ a("thead", {
1897
1897
  "data-slot": "table-header",
1898
1898
  className: P("[&_tr]:border-b", e),
1899
1899
  ...t
1900
1900
  });
1901
1901
  }
1902
- function Pn({ className: e, ...t }) {
1902
+ function Fn({ className: e, ...t }) {
1903
1903
  return /* @__PURE__ */ a("tbody", {
1904
1904
  "data-slot": "table-body",
1905
1905
  className: P("[&_tr:last-child]:border-0", e),
1906
1906
  ...t
1907
1907
  });
1908
1908
  }
1909
- function Fn({ className: e, ...t }) {
1909
+ function In({ className: e, ...t }) {
1910
1910
  return /* @__PURE__ */ a("tfoot", {
1911
1911
  "data-slot": "table-footer",
1912
1912
  className: P("bg-muted/50 border-t font-medium [&>tr]:last:border-b-0", e),
1913
1913
  ...t
1914
1914
  });
1915
1915
  }
1916
- function In({ className: e, ...t }) {
1916
+ function Ln({ className: e, ...t }) {
1917
1917
  return /* @__PURE__ */ a("tr", {
1918
1918
  "data-slot": "table-row",
1919
1919
  className: P("hover:bg-muted/50 data-[state=selected]:bg-muted border-b transition-colors", e),
1920
1920
  ...t
1921
1921
  });
1922
1922
  }
1923
- function Ln({ className: e, ...t }) {
1923
+ function Rn({ className: e, ...t }) {
1924
1924
  return /* @__PURE__ */ a("th", {
1925
1925
  "data-slot": "table-head",
1926
1926
  className: P("text-foreground h-10 px-2 text-start align-middle font-medium whitespace-nowrap [&:has([role=checkbox])]:pe-0", e),
1927
1927
  ...t
1928
1928
  });
1929
1929
  }
1930
- function Rn({ className: e, ...t }) {
1930
+ function zn({ className: e, ...t }) {
1931
1931
  return /* @__PURE__ */ a("td", {
1932
1932
  "data-slot": "table-cell",
1933
1933
  className: P("p-2 align-middle whitespace-nowrap [&:has([role=checkbox])]:pe-0", e),
1934
1934
  ...t
1935
1935
  });
1936
1936
  }
1937
- function zn({ className: e, ...t }) {
1937
+ function Bn({ className: e, ...t }) {
1938
1938
  return /* @__PURE__ */ a("caption", {
1939
1939
  "data-slot": "table-caption",
1940
1940
  className: P("text-muted-foreground mt-4 text-sm", e),
@@ -1943,53 +1943,53 @@ function zn({ className: e, ...t }) {
1943
1943
  }
1944
1944
  //#endregion
1945
1945
  //#region src/components/custom/status/empty.tsx
1946
- function Bn({ className: e, ...t }) {
1946
+ function Vn({ className: e, ...t }) {
1947
1947
  return /* @__PURE__ */ a("div", {
1948
1948
  "data-slot": "empty",
1949
1949
  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),
1950
1950
  ...t
1951
1951
  });
1952
1952
  }
1953
- function Vn({ className: e, ...t }) {
1953
+ function Hn({ className: e, ...t }) {
1954
1954
  return /* @__PURE__ */ a("div", {
1955
1955
  "data-slot": "empty-header",
1956
1956
  className: P("gap-2 flex max-w-sm flex-col items-center", e),
1957
1957
  ...t
1958
1958
  });
1959
1959
  }
1960
- var Hn = S("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0", {
1960
+ var Un = S("mb-2 flex shrink-0 items-center justify-center [&_svg]:pointer-events-none [&_svg]:shrink-0", {
1961
1961
  variants: { variant: {
1962
1962
  default: "bg-transparent",
1963
1963
  icon: "bg-muted text-foreground flex size-8 shrink-0 items-center justify-center rounded-lg [&_svg:not([class*='size-'])]:size-4"
1964
1964
  } },
1965
1965
  defaultVariants: { variant: "default" }
1966
1966
  });
1967
- function Un({ className: e, variant: t = "default", ...n }) {
1967
+ function Wn({ className: e, variant: t = "default", ...n }) {
1968
1968
  return /* @__PURE__ */ a("div", {
1969
1969
  "data-slot": "empty-icon",
1970
1970
  "data-variant": t,
1971
- className: P(Hn({
1971
+ className: P(Un({
1972
1972
  variant: t,
1973
1973
  className: e
1974
1974
  })),
1975
1975
  ...n
1976
1976
  });
1977
1977
  }
1978
- function Wn({ className: e, ...t }) {
1978
+ function Gn({ className: e, ...t }) {
1979
1979
  return /* @__PURE__ */ a("div", {
1980
1980
  "data-slot": "empty-title",
1981
1981
  className: P("text-sm font-medium tracking-tight", e),
1982
1982
  ...t
1983
1983
  });
1984
1984
  }
1985
- function Gn({ className: e, ...t }) {
1985
+ function Kn({ className: e, ...t }) {
1986
1986
  return /* @__PURE__ */ a("div", {
1987
1987
  "data-slot": "empty-description",
1988
1988
  className: P("text-sm/relaxed text-muted-foreground [&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4", e),
1989
1989
  ...t
1990
1990
  });
1991
1991
  }
1992
- function Kn({ className: e, ...t }) {
1992
+ function qn({ className: e, ...t }) {
1993
1993
  return /* @__PURE__ */ a("div", {
1994
1994
  "data-slot": "empty-content",
1995
1995
  className: P("gap-2.5 text-sm flex w-full max-w-sm min-w-0 flex-col items-center text-balance", e),
@@ -1998,91 +1998,91 @@ function Kn({ className: e, ...t }) {
1998
1998
  }
1999
1999
  //#endregion
2000
2000
  //#region src/components/custom/table/crudEmptyTablePreview.tsx
2001
- function qn({ mode: e }) {
2002
- return a(e === "loading" ? Jn : e === "error" ? Xn : Yn, {});
2001
+ function Jn({ mode: e }) {
2002
+ return a(e === "loading" ? Yn : e === "error" ? Zn : Xn, {});
2003
2003
  }
2004
- function Jn() {
2005
- return /* @__PURE__ */ o(Bn, { children: [/* @__PURE__ */ o(Vn, { children: [
2006
- /* @__PURE__ */ a(Un, {
2004
+ function Yn() {
2005
+ return /* @__PURE__ */ o(Vn, { children: [/* @__PURE__ */ o(Hn, { children: [
2006
+ /* @__PURE__ */ a(Wn, {
2007
2007
  variant: "icon",
2008
2008
  children: /* @__PURE__ */ a(ve, {})
2009
2009
  }),
2010
- /* @__PURE__ */ a(Wn, { children: "الرجاء الانتظار" }),
2011
- /* @__PURE__ */ a(Gn, { children: "يتم تحميل البيانات المطلوبة" })
2012
- ] }), /* @__PURE__ */ a(Kn, { children: /* @__PURE__ */ a(re, { className: "animate-spin duration-700" }) })] });
2010
+ /* @__PURE__ */ a(Gn, { children: "الرجاء الانتظار" }),
2011
+ /* @__PURE__ */ a(Kn, { children: "يتم تحميل البيانات المطلوبة" })
2012
+ ] }), /* @__PURE__ */ a(qn, { children: /* @__PURE__ */ a(re, { className: "animate-spin duration-700" }) })] });
2013
2013
  }
2014
- function Yn() {
2015
- return /* @__PURE__ */ a(Bn, { children: /* @__PURE__ */ o(Vn, { children: [
2016
- /* @__PURE__ */ a(Un, {
2014
+ function Xn() {
2015
+ return /* @__PURE__ */ a(Vn, { children: /* @__PURE__ */ o(Hn, { children: [
2016
+ /* @__PURE__ */ a(Wn, {
2017
2017
  variant: "icon",
2018
2018
  children: /* @__PURE__ */ a(ve, {})
2019
2019
  }),
2020
- /* @__PURE__ */ a(Wn, { children: "لا توجد بيانات لعرضها" }),
2021
- /* @__PURE__ */ a(Gn, { children: "هذا الجدول فارغ ولا يحتوي على بيانات للعرض" })
2020
+ /* @__PURE__ */ a(Gn, { children: "لا توجد بيانات لعرضها" }),
2021
+ /* @__PURE__ */ a(Kn, { children: "هذا الجدول فارغ ولا يحتوي على بيانات للعرض" })
2022
2022
  ] }) });
2023
2023
  }
2024
- function Xn() {
2025
- return /* @__PURE__ */ o(Bn, { children: [/* @__PURE__ */ o(Vn, { children: [
2026
- /* @__PURE__ */ a(Un, {
2024
+ function Zn() {
2025
+ return /* @__PURE__ */ o(Vn, { children: [/* @__PURE__ */ o(Hn, { children: [
2026
+ /* @__PURE__ */ a(Wn, {
2027
2027
  variant: "icon",
2028
2028
  children: /* @__PURE__ */ a(ve, {})
2029
2029
  }),
2030
- /* @__PURE__ */ a(Wn, { children: "حدث خطأ ما" }),
2031
- /* @__PURE__ */ a(Gn, { children: "حدث خطأ اثناء جلب البيانات الرجاء التحقق من اتصالك الانترنت او اتصل بخدمة العملاء لدينا في حال تكراره" })
2032
- ] }), /* @__PURE__ */ a(Kn, { children: /* @__PURE__ */ a(me, {}) })] });
2030
+ /* @__PURE__ */ a(Gn, { children: "حدث خطأ ما" }),
2031
+ /* @__PURE__ */ a(Kn, { children: "حدث خطأ اثناء جلب البيانات الرجاء التحقق من اتصالك الانترنت او اتصل بخدمة العملاء لدينا في حال تكراره" })
2032
+ ] }), /* @__PURE__ */ a(qn, { children: /* @__PURE__ */ a(me, {}) })] });
2033
2033
  }
2034
2034
  //#endregion
2035
2035
  //#region src/components/custom/table/crudTable.tsx
2036
- function Zn({ state: e, children: t }) {
2037
- return e.isLoading ? /* @__PURE__ */ a(qn, { mode: "loading" }) : e.entities?.count == 0 ? /* @__PURE__ */ a(qn, { mode: "empty" }) : e.entities == null ? /* @__PURE__ */ a(qn, { mode: "loading" }) : /* @__PURE__ */ a(Mn, { children: t });
2036
+ function Qn({ state: e, children: t }) {
2037
+ return e.isLoading ? /* @__PURE__ */ a(Jn, { mode: "loading" }) : e.entities?.count == 0 ? /* @__PURE__ */ a(Jn, { mode: "empty" }) : e.entities == null ? /* @__PURE__ */ a(Jn, { mode: "loading" }) : /* @__PURE__ */ a(Nn, { children: t });
2038
2038
  }
2039
2039
  //#endregion
2040
2040
  //#region src/components/pure/context-menu.tsx
2041
- function Qn({ ...e }) {
2041
+ function $n({ ...e }) {
2042
2042
  return /* @__PURE__ */ a(E.Root, {
2043
2043
  "data-slot": "context-menu",
2044
2044
  ...e
2045
2045
  });
2046
2046
  }
2047
- function $n({ className: e, ...t }) {
2047
+ function er({ className: e, ...t }) {
2048
2048
  return /* @__PURE__ */ a(E.Trigger, {
2049
2049
  "data-slot": "context-menu-trigger",
2050
2050
  className: P("select-none", e),
2051
2051
  ...t
2052
2052
  });
2053
2053
  }
2054
- function er({ ...e }) {
2054
+ function tr({ ...e }) {
2055
2055
  return /* @__PURE__ */ a(E.Group, {
2056
2056
  "data-slot": "context-menu-group",
2057
2057
  ...e
2058
2058
  });
2059
2059
  }
2060
- function tr({ ...e }) {
2060
+ function nr({ ...e }) {
2061
2061
  return /* @__PURE__ */ a(E.Portal, {
2062
2062
  "data-slot": "context-menu-portal",
2063
2063
  ...e
2064
2064
  });
2065
2065
  }
2066
- function nr({ ...e }) {
2066
+ function rr({ ...e }) {
2067
2067
  return /* @__PURE__ */ a(E.Sub, {
2068
2068
  "data-slot": "context-menu-sub",
2069
2069
  ...e
2070
2070
  });
2071
2071
  }
2072
- function rr({ ...e }) {
2072
+ function ir({ ...e }) {
2073
2073
  return /* @__PURE__ */ a(E.RadioGroup, {
2074
2074
  "data-slot": "context-menu-radio-group",
2075
2075
  ...e
2076
2076
  });
2077
2077
  }
2078
- function ir({ className: e, ...t }) {
2078
+ function ar({ className: e, ...t }) {
2079
2079
  return /* @__PURE__ */ a(E.Portal, { children: /* @__PURE__ */ a(E.Content, {
2080
2080
  "data-slot": "context-menu-content",
2081
2081
  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),
2082
2082
  ...t
2083
2083
  }) });
2084
2084
  }
2085
- function ar({ className: e, inset: t, variant: n = "default", ...r }) {
2085
+ function or({ className: e, inset: t, variant: n = "default", ...r }) {
2086
2086
  return /* @__PURE__ */ a(E.Item, {
2087
2087
  "data-slot": "context-menu-item",
2088
2088
  "data-inset": t,
@@ -2091,7 +2091,7 @@ function ar({ className: e, inset: t, variant: n = "default", ...r }) {
2091
2091
  ...r
2092
2092
  });
2093
2093
  }
2094
- function or({ className: e, inset: t, children: n, ...r }) {
2094
+ function sr({ className: e, inset: t, children: n, ...r }) {
2095
2095
  return /* @__PURE__ */ o(E.SubTrigger, {
2096
2096
  "data-slot": "context-menu-sub-trigger",
2097
2097
  "data-inset": t,
@@ -2100,14 +2100,14 @@ function or({ className: e, inset: t, children: n, ...r }) {
2100
2100
  children: [n, /* @__PURE__ */ a(d, { className: "rtl:rotate-180 ms-auto" })]
2101
2101
  });
2102
2102
  }
2103
- function sr({ className: e, ...t }) {
2103
+ function cr({ className: e, ...t }) {
2104
2104
  return /* @__PURE__ */ a(E.SubContent, {
2105
2105
  "data-slot": "context-menu-sub-content",
2106
2106
  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),
2107
2107
  ...t
2108
2108
  });
2109
2109
  }
2110
- function cr({ className: e, children: t, checked: n, inset: r, ...i }) {
2110
+ function lr({ className: e, children: t, checked: n, inset: r, ...i }) {
2111
2111
  return /* @__PURE__ */ o(E.CheckboxItem, {
2112
2112
  "data-slot": "context-menu-checkbox-item",
2113
2113
  "data-inset": r,
@@ -2120,7 +2120,7 @@ function cr({ className: e, children: t, checked: n, inset: r, ...i }) {
2120
2120
  }), t]
2121
2121
  });
2122
2122
  }
2123
- function lr({ className: e, children: t, inset: n, ...r }) {
2123
+ function ur({ className: e, children: t, inset: n, ...r }) {
2124
2124
  return /* @__PURE__ */ o(E.RadioItem, {
2125
2125
  "data-slot": "context-menu-radio-item",
2126
2126
  "data-inset": n,
@@ -2132,7 +2132,7 @@ function lr({ className: e, children: t, inset: n, ...r }) {
2132
2132
  }), t]
2133
2133
  });
2134
2134
  }
2135
- function ur({ className: e, inset: t, ...n }) {
2135
+ function dr({ className: e, inset: t, ...n }) {
2136
2136
  return /* @__PURE__ */ a(E.Label, {
2137
2137
  "data-slot": "context-menu-label",
2138
2138
  "data-inset": t,
@@ -2140,14 +2140,14 @@ function ur({ className: e, inset: t, ...n }) {
2140
2140
  ...n
2141
2141
  });
2142
2142
  }
2143
- function dr({ className: e, ...t }) {
2143
+ function fr({ className: e, ...t }) {
2144
2144
  return /* @__PURE__ */ a(E.Separator, {
2145
2145
  "data-slot": "context-menu-separator",
2146
2146
  className: P("bg-border -mx-1 my-1 h-px", e),
2147
2147
  ...t
2148
2148
  });
2149
2149
  }
2150
- function fr({ className: e, ...t }) {
2150
+ function pr({ className: e, ...t }) {
2151
2151
  return /* @__PURE__ */ a("span", {
2152
2152
  "data-slot": "context-menu-shortcut",
2153
2153
  className: P("text-muted-foreground group-focus/context-menu-item:text-accent-foreground ms-auto text-xs tracking-widest", e),
@@ -2156,14 +2156,14 @@ function fr({ className: e, ...t }) {
2156
2156
  }
2157
2157
  //#endregion
2158
2158
  //#region src/components/custom/table/crudTableBodyRow.tsx
2159
- function pr({ tableRows: e, dropdownMenu: t, contextMenuContent: n }) {
2160
- return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ o(Qn, {
2159
+ function mr({ tableRows: e, dropdownMenu: t, contextMenuContent: n }) {
2160
+ return /* @__PURE__ */ a(i, { children: /* @__PURE__ */ o($n, {
2161
2161
  dir: "rtl",
2162
- children: [/* @__PURE__ */ a($n, {
2162
+ children: [/* @__PURE__ */ a(er, {
2163
2163
  asChild: !0,
2164
- children: /* @__PURE__ */ o(In, {
2164
+ children: /* @__PURE__ */ o(Ln, {
2165
2165
  className: "hover:bg-secondary/50 transition-colors",
2166
- children: [/* @__PURE__ */ a(Rn, { children: t }), e.map((e, t) => /* @__PURE__ */ a(Rn, { children: /* @__PURE__ */ a("span", {
2166
+ children: [/* @__PURE__ */ a(zn, { children: t }), e.map((e, t) => /* @__PURE__ */ a(zn, { children: /* @__PURE__ */ a("span", {
2167
2167
  className: e.rowStyles,
2168
2168
  children: e.rowName
2169
2169
  }) }, t))]
@@ -2173,18 +2173,18 @@ function pr({ tableRows: e, dropdownMenu: t, contextMenuContent: n }) {
2173
2173
  }
2174
2174
  //#endregion
2175
2175
  //#region src/components/custom/table/crudTableCard.tsx
2176
- function mr({ cards: e }) {
2176
+ function hr({ cards: e }) {
2177
2177
  return /* @__PURE__ */ a("div", {
2178
2178
  className: "mb-5 grid grid-cols-1 sm:grid-cols-2 gap-5",
2179
- children: e.map((e, t) => /* @__PURE__ */ o(ln, {
2179
+ children: e.map((e, t) => /* @__PURE__ */ o(un, {
2180
2180
  className: "shadow-sm",
2181
- children: [/* @__PURE__ */ o(un, {
2181
+ children: [/* @__PURE__ */ o(dn, {
2182
2182
  className: "flex flex-row items-center justify-between space-y-0 pb-2",
2183
- children: [/* @__PURE__ */ a(dn, {
2183
+ children: [/* @__PURE__ */ a(fn, {
2184
2184
  className: "text-sm font-medium text-muted-foreground",
2185
2185
  children: e.title
2186
2186
  }), e.icon]
2187
- }), /* @__PURE__ */ a(mn, { children: /* @__PURE__ */ a("div", {
2187
+ }), /* @__PURE__ */ a(hn, { children: /* @__PURE__ */ a("div", {
2188
2188
  className: "text-2xl font-bold",
2189
2189
  children: e.data
2190
2190
  }) })]
@@ -2193,7 +2193,7 @@ function mr({ cards: e }) {
2193
2193
  }
2194
2194
  //#endregion
2195
2195
  //#region src/components/custom/table/crudTableHeader.tsx
2196
- function hr({ title: e, buttonTitle: t, createComp: n, isButtonVisible: r = !0 }) {
2196
+ function gr({ title: e, buttonTitle: t, createComp: n, isButtonVisible: r = !0 }) {
2197
2197
  let [s, c] = x(!1), l = we.isValidElement(n) ? we.cloneElement(n, { onSuccess: (e) => {
2198
2198
  c(!1), n.props.onSuccess?.(e);
2199
2199
  } }) : n;
@@ -2212,10 +2212,10 @@ function hr({ title: e, buttonTitle: t, createComp: n, isButtonVisible: r = !0 }
2212
2212
  }
2213
2213
  //#endregion
2214
2214
  //#region src/components/custom/table/crudTableHeaderRows.tsx
2215
- function gr({ tableHeadRows: e }) {
2216
- return /* @__PURE__ */ a(Nn, {
2215
+ function _r({ tableHeadRows: e }) {
2216
+ return /* @__PURE__ */ a(Pn, {
2217
2217
  className: "bg-muted",
2218
- children: /* @__PURE__ */ a(In, { children: e.map((e, t) => /* @__PURE__ */ a(Ln, {
2218
+ children: /* @__PURE__ */ a(Ln, { children: e.map((e, t) => /* @__PURE__ */ a(Rn, {
2219
2219
  className: e.rowStyles,
2220
2220
  children: e.rowName
2221
2221
  }, t)) })
@@ -2223,7 +2223,7 @@ function gr({ tableHeadRows: e }) {
2223
2223
  }
2224
2224
  //#endregion
2225
2225
  //#region src/components/pure/pagination.tsx
2226
- function _r({ className: e, ...t }) {
2226
+ function vr({ className: e, ...t }) {
2227
2227
  return /* @__PURE__ */ a("nav", {
2228
2228
  role: "navigation",
2229
2229
  "aria-label": "pagination",
@@ -2232,20 +2232,20 @@ function _r({ className: e, ...t }) {
2232
2232
  ...t
2233
2233
  });
2234
2234
  }
2235
- function vr({ className: e, ...t }) {
2235
+ function yr({ className: e, ...t }) {
2236
2236
  return /* @__PURE__ */ a("ul", {
2237
2237
  "data-slot": "pagination-content",
2238
2238
  className: P("gap-0.5 flex items-center", e),
2239
2239
  ...t
2240
2240
  });
2241
2241
  }
2242
- function yr({ ...e }) {
2242
+ function br({ ...e }) {
2243
2243
  return /* @__PURE__ */ a("li", {
2244
2244
  "data-slot": "pagination-item",
2245
2245
  ...e
2246
2246
  });
2247
2247
  }
2248
- function br({ className: e, isActive: t, size: n = "icon", ...r }) {
2248
+ function xr({ className: e, isActive: t, size: n = "icon", ...r }) {
2249
2249
  return /* @__PURE__ */ a(F, {
2250
2250
  asChild: !0,
2251
2251
  variant: t ? "outline" : "ghost",
@@ -2259,8 +2259,8 @@ function br({ className: e, isActive: t, size: n = "icon", ...r }) {
2259
2259
  })
2260
2260
  });
2261
2261
  }
2262
- function xr({ className: e, text: t = "Previous", ...n }) {
2263
- return /* @__PURE__ */ o(br, {
2262
+ function Sr({ className: e, text: t = "Previous", ...n }) {
2263
+ return /* @__PURE__ */ o(xr, {
2264
2264
  "aria-label": "Go to previous page",
2265
2265
  size: "default",
2266
2266
  className: P("ps-1.5!", e),
@@ -2274,8 +2274,8 @@ function xr({ className: e, text: t = "Previous", ...n }) {
2274
2274
  })]
2275
2275
  });
2276
2276
  }
2277
- function Sr({ className: e, text: t = "Next", ...n }) {
2278
- return /* @__PURE__ */ o(br, {
2277
+ function Cr({ className: e, text: t = "Next", ...n }) {
2278
+ return /* @__PURE__ */ o(xr, {
2279
2279
  "aria-label": "Go to next page",
2280
2280
  size: "default",
2281
2281
  className: P("pe-1.5!", e),
@@ -2289,7 +2289,7 @@ function Sr({ className: e, text: t = "Next", ...n }) {
2289
2289
  })]
2290
2290
  });
2291
2291
  }
2292
- function Cr({ className: e, ...t }) {
2292
+ function wr({ className: e, ...t }) {
2293
2293
  return /* @__PURE__ */ o("span", {
2294
2294
  "aria-hidden": !0,
2295
2295
  "data-slot": "pagination-ellipsis",
@@ -2303,25 +2303,25 @@ function Cr({ className: e, ...t }) {
2303
2303
  }
2304
2304
  //#endregion
2305
2305
  //#region src/components/pure/dropdown-menu.tsx
2306
- function wr({ ...e }) {
2306
+ function Tr({ ...e }) {
2307
2307
  return /* @__PURE__ */ a(D.Root, {
2308
2308
  "data-slot": "dropdown-menu",
2309
2309
  ...e
2310
2310
  });
2311
2311
  }
2312
- function Tr({ ...e }) {
2312
+ function Er({ ...e }) {
2313
2313
  return /* @__PURE__ */ a(D.Portal, {
2314
2314
  "data-slot": "dropdown-menu-portal",
2315
2315
  ...e
2316
2316
  });
2317
2317
  }
2318
- function Er({ ...e }) {
2318
+ function Dr({ ...e }) {
2319
2319
  return /* @__PURE__ */ a(D.Trigger, {
2320
2320
  "data-slot": "dropdown-menu-trigger",
2321
2321
  ...e
2322
2322
  });
2323
2323
  }
2324
- function Dr({ className: e, align: t = "start", sideOffset: n = 4, ...r }) {
2324
+ function Or({ className: e, align: t = "start", sideOffset: n = 4, ...r }) {
2325
2325
  return /* @__PURE__ */ a(D.Portal, { children: /* @__PURE__ */ a(D.Content, {
2326
2326
  "data-slot": "dropdown-menu-content",
2327
2327
  sideOffset: n,
@@ -2330,13 +2330,13 @@ function Dr({ className: e, align: t = "start", sideOffset: n = 4, ...r }) {
2330
2330
  ...r
2331
2331
  }) });
2332
2332
  }
2333
- function Or({ ...e }) {
2333
+ function kr({ ...e }) {
2334
2334
  return /* @__PURE__ */ a(D.Group, {
2335
2335
  "data-slot": "dropdown-menu-group",
2336
2336
  ...e
2337
2337
  });
2338
2338
  }
2339
- function V({ className: e, inset: t, variant: n = "default", ...r }) {
2339
+ function B({ className: e, inset: t, variant: n = "default", ...r }) {
2340
2340
  return /* @__PURE__ */ a(D.Item, {
2341
2341
  "data-slot": "dropdown-menu-item",
2342
2342
  "data-inset": t,
@@ -2345,7 +2345,7 @@ function V({ className: e, inset: t, variant: n = "default", ...r }) {
2345
2345
  ...r
2346
2346
  });
2347
2347
  }
2348
- function kr({ className: e, children: t, checked: n, inset: r, ...i }) {
2348
+ function Ar({ className: e, children: t, checked: n, inset: r, ...i }) {
2349
2349
  return /* @__PURE__ */ o(D.CheckboxItem, {
2350
2350
  "data-slot": "dropdown-menu-checkbox-item",
2351
2351
  "data-inset": r,
@@ -2359,13 +2359,13 @@ function kr({ className: e, children: t, checked: n, inset: r, ...i }) {
2359
2359
  }), t]
2360
2360
  });
2361
2361
  }
2362
- function Ar({ ...e }) {
2362
+ function jr({ ...e }) {
2363
2363
  return /* @__PURE__ */ a(D.RadioGroup, {
2364
2364
  "data-slot": "dropdown-menu-radio-group",
2365
2365
  ...e
2366
2366
  });
2367
2367
  }
2368
- function jr({ className: e, children: t, inset: n, ...r }) {
2368
+ function Mr({ className: e, children: t, inset: n, ...r }) {
2369
2369
  return /* @__PURE__ */ o(D.RadioItem, {
2370
2370
  "data-slot": "dropdown-menu-radio-item",
2371
2371
  "data-inset": n,
@@ -2378,7 +2378,7 @@ function jr({ className: e, children: t, inset: n, ...r }) {
2378
2378
  }), t]
2379
2379
  });
2380
2380
  }
2381
- function Mr({ className: e, inset: t, ...n }) {
2381
+ function Nr({ className: e, inset: t, ...n }) {
2382
2382
  return /* @__PURE__ */ a(D.Label, {
2383
2383
  "data-slot": "dropdown-menu-label",
2384
2384
  "data-inset": t,
@@ -2386,27 +2386,27 @@ function Mr({ className: e, inset: t, ...n }) {
2386
2386
  ...n
2387
2387
  });
2388
2388
  }
2389
- function Nr({ className: e, ...t }) {
2389
+ function Pr({ className: e, ...t }) {
2390
2390
  return /* @__PURE__ */ a(D.Separator, {
2391
2391
  "data-slot": "dropdown-menu-separator",
2392
2392
  className: P("bg-border -mx-1 my-1 h-px", e),
2393
2393
  ...t
2394
2394
  });
2395
2395
  }
2396
- function Pr({ className: e, ...t }) {
2396
+ function Fr({ className: e, ...t }) {
2397
2397
  return /* @__PURE__ */ a("span", {
2398
2398
  "data-slot": "dropdown-menu-shortcut",
2399
2399
  className: P("text-muted-foreground group-focus/dropdown-menu-item:text-accent-foreground ms-auto text-xs tracking-widest", e),
2400
2400
  ...t
2401
2401
  });
2402
2402
  }
2403
- function Fr({ ...e }) {
2403
+ function Ir({ ...e }) {
2404
2404
  return /* @__PURE__ */ a(D.Sub, {
2405
2405
  "data-slot": "dropdown-menu-sub",
2406
2406
  ...e
2407
2407
  });
2408
2408
  }
2409
- function Ir({ className: e, inset: t, children: n, ...r }) {
2409
+ function Lr({ className: e, inset: t, children: n, ...r }) {
2410
2410
  return /* @__PURE__ */ o(D.SubTrigger, {
2411
2411
  "data-slot": "dropdown-menu-sub-trigger",
2412
2412
  "data-inset": t,
@@ -2415,7 +2415,7 @@ function Ir({ className: e, inset: t, children: n, ...r }) {
2415
2415
  children: [n, /* @__PURE__ */ a(d, { className: "rtl:rotate-180 ms-auto" })]
2416
2416
  });
2417
2417
  }
2418
- function Lr({ className: e, ...t }) {
2418
+ function Rr({ className: e, ...t }) {
2419
2419
  return /* @__PURE__ */ a(D.SubContent, {
2420
2420
  "data-slot": "dropdown-menu-sub-content",
2421
2421
  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),
@@ -2424,51 +2424,51 @@ function Lr({ className: e, ...t }) {
2424
2424
  }
2425
2425
  //#endregion
2426
2426
  //#region src/hooks/use-mobile.ts
2427
- var Rr = 768;
2428
- function zr() {
2427
+ var zr = 768;
2428
+ function Br() {
2429
2429
  let [e, t] = y.useState(void 0);
2430
2430
  return y.useEffect(() => {
2431
- let e = window.matchMedia(`(max-width: ${Rr - 1}px)`), n = () => {
2432
- t(window.innerWidth < Rr);
2431
+ let e = window.matchMedia(`(max-width: ${zr - 1}px)`), n = () => {
2432
+ t(window.innerWidth < zr);
2433
2433
  };
2434
- return e.addEventListener("change", n), t(window.innerWidth < Rr), () => e.removeEventListener("change", n);
2434
+ return e.addEventListener("change", n), t(window.innerWidth < zr), () => e.removeEventListener("change", n);
2435
2435
  }, []), !!e;
2436
2436
  }
2437
2437
  //#endregion
2438
2438
  //#region src/components/pure/sheet.tsx
2439
- function Br({ ...e }) {
2439
+ function Vr({ ...e }) {
2440
2440
  return /* @__PURE__ */ a(w.Root, {
2441
2441
  "data-slot": "sheet",
2442
2442
  ...e
2443
2443
  });
2444
2444
  }
2445
- function Vr({ ...e }) {
2445
+ function Hr({ ...e }) {
2446
2446
  return /* @__PURE__ */ a(w.Trigger, {
2447
2447
  "data-slot": "sheet-trigger",
2448
2448
  ...e
2449
2449
  });
2450
2450
  }
2451
- function Hr({ ...e }) {
2451
+ function Ur({ ...e }) {
2452
2452
  return /* @__PURE__ */ a(w.Close, {
2453
2453
  "data-slot": "sheet-close",
2454
2454
  ...e
2455
2455
  });
2456
2456
  }
2457
- function Ur({ ...e }) {
2457
+ function Wr({ ...e }) {
2458
2458
  return /* @__PURE__ */ a(w.Portal, {
2459
2459
  "data-slot": "sheet-portal",
2460
2460
  ...e
2461
2461
  });
2462
2462
  }
2463
- function Wr({ className: e, ...t }) {
2463
+ function Gr({ className: e, ...t }) {
2464
2464
  return /* @__PURE__ */ a(w.Overlay, {
2465
2465
  "data-slot": "sheet-overlay",
2466
2466
  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),
2467
2467
  ...t
2468
2468
  });
2469
2469
  }
2470
- function Gr({ className: e, children: t, side: n = "right", showCloseButton: r = !0, ...i }) {
2471
- return /* @__PURE__ */ o(Ur, { children: [/* @__PURE__ */ a(Wr, {}), /* @__PURE__ */ o(w.Content, {
2470
+ function Kr({ className: e, children: t, side: n = "right", showCloseButton: r = !0, ...i }) {
2471
+ return /* @__PURE__ */ o(Wr, { children: [/* @__PURE__ */ a(Gr, {}), /* @__PURE__ */ o(w.Content, {
2472
2472
  "data-slot": "sheet-content",
2473
2473
  "data-side": n,
2474
2474
  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),
@@ -2488,28 +2488,28 @@ function Gr({ className: e, children: t, side: n = "right", showCloseButton: r =
2488
2488
  })]
2489
2489
  })] });
2490
2490
  }
2491
- function Kr({ className: e, ...t }) {
2491
+ function qr({ className: e, ...t }) {
2492
2492
  return /* @__PURE__ */ a("div", {
2493
2493
  "data-slot": "sheet-header",
2494
2494
  className: P("gap-0.5 p-4 flex flex-col", e),
2495
2495
  ...t
2496
2496
  });
2497
2497
  }
2498
- function qr({ className: e, ...t }) {
2498
+ function Jr({ className: e, ...t }) {
2499
2499
  return /* @__PURE__ */ a("div", {
2500
2500
  "data-slot": "sheet-footer",
2501
2501
  className: P("gap-2 p-4 mt-auto flex flex-col", e),
2502
2502
  ...t
2503
2503
  });
2504
2504
  }
2505
- function Jr({ className: e, ...t }) {
2505
+ function Yr({ className: e, ...t }) {
2506
2506
  return /* @__PURE__ */ a(w.Title, {
2507
2507
  "data-slot": "sheet-title",
2508
2508
  className: P("text-foreground text-base font-medium", e),
2509
2509
  ...t
2510
2510
  });
2511
2511
  }
2512
- function Yr({ className: e, ...t }) {
2512
+ function Xr({ className: e, ...t }) {
2513
2513
  return /* @__PURE__ */ a(w.Description, {
2514
2514
  "data-slot": "sheet-description",
2515
2515
  className: P("text-muted-foreground text-sm", e),
@@ -2518,7 +2518,7 @@ function Yr({ className: e, ...t }) {
2518
2518
  }
2519
2519
  //#endregion
2520
2520
  //#region src/components/pure/skeleton.tsx
2521
- function Xr({ className: e, ...t }) {
2521
+ function Zr({ className: e, ...t }) {
2522
2522
  return /* @__PURE__ */ a("div", {
2523
2523
  "data-slot": "skeleton",
2524
2524
  className: P("bg-muted rounded-md animate-pulse", e),
@@ -2527,26 +2527,26 @@ function Xr({ className: e, ...t }) {
2527
2527
  }
2528
2528
  //#endregion
2529
2529
  //#region src/components/pure/tooltip.tsx
2530
- function Zr({ delayDuration: e = 0, ...t }) {
2530
+ function Qr({ delayDuration: e = 0, ...t }) {
2531
2531
  return /* @__PURE__ */ a(O.Provider, {
2532
2532
  "data-slot": "tooltip-provider",
2533
2533
  delayDuration: e,
2534
2534
  ...t
2535
2535
  });
2536
2536
  }
2537
- function Qr({ ...e }) {
2537
+ function $r({ ...e }) {
2538
2538
  return /* @__PURE__ */ a(O.Root, {
2539
2539
  "data-slot": "tooltip",
2540
2540
  ...e
2541
2541
  });
2542
2542
  }
2543
- function $r({ ...e }) {
2543
+ function ei({ ...e }) {
2544
2544
  return /* @__PURE__ */ a(O.Trigger, {
2545
2545
  "data-slot": "tooltip-trigger",
2546
2546
  ...e
2547
2547
  });
2548
2548
  }
2549
- function ei({ className: e, sideOffset: t = 0, children: n, ...r }) {
2549
+ function ti({ className: e, sideOffset: t = 0, children: n, ...r }) {
2550
2550
  return /* @__PURE__ */ a(O.Portal, { children: /* @__PURE__ */ o(O.Content, {
2551
2551
  "data-slot": "tooltip-content",
2552
2552
  sideOffset: t,
@@ -2557,16 +2557,16 @@ function ei({ className: e, sideOffset: t = 0, children: n, ...r }) {
2557
2557
  }
2558
2558
  //#endregion
2559
2559
  //#region src/components/pure/sidebar.tsx
2560
- var ti = "sidebar_state", ni = 3600 * 24 * 7, ri = "16rem", ii = "18rem", ai = "3rem", oi = "b", si = y.createContext(null);
2561
- function H() {
2562
- let e = y.useContext(si);
2560
+ var ni = "sidebar_state", ri = 3600 * 24 * 7, ii = "16rem", ai = "18rem", oi = "3rem", si = "b", ci = y.createContext(null);
2561
+ function V() {
2562
+ let e = y.useContext(ci);
2563
2563
  if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
2564
2564
  return e;
2565
2565
  }
2566
- function ci({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: o, ...s }) {
2567
- let c = zr(), [l, u] = y.useState(!1), [d, f] = y.useState(e), p = t ?? d, m = y.useCallback((e) => {
2566
+ function li({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: o, ...s }) {
2567
+ let c = Br(), [l, u] = y.useState(!1), [d, f] = y.useState(e), p = t ?? d, m = y.useCallback((e) => {
2568
2568
  let t = typeof e == "function" ? e(p) : e;
2569
- n ? n(t) : f(t), document.cookie = `${ti}=${t}; path=/; max-age=${ni}`;
2569
+ n ? n(t) : f(t), document.cookie = `${ni}=${t}; path=/; max-age=${ri}`;
2570
2570
  }, [n, p]), h = y.useCallback(() => c ? u((e) => !e) : m((e) => !e), [
2571
2571
  c,
2572
2572
  m,
@@ -2574,7 +2574,7 @@ function ci({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style
2574
2574
  ]);
2575
2575
  y.useEffect(() => {
2576
2576
  let e = (e) => {
2577
- e.key === oi && (e.metaKey || e.ctrlKey) && (e.preventDefault(), h());
2577
+ e.key === si && (e.metaKey || e.ctrlKey) && (e.preventDefault(), h());
2578
2578
  };
2579
2579
  return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
2580
2580
  }, [h]);
@@ -2595,13 +2595,13 @@ function ci({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style
2595
2595
  u,
2596
2596
  h
2597
2597
  ]);
2598
- return /* @__PURE__ */ a(si.Provider, {
2598
+ return /* @__PURE__ */ a(ci.Provider, {
2599
2599
  value: _,
2600
2600
  children: /* @__PURE__ */ a("div", {
2601
2601
  "data-slot": "sidebar-wrapper",
2602
2602
  style: {
2603
- "--sidebar-width": ri,
2604
- "--sidebar-width-icon": ai,
2603
+ "--sidebar-width": ii,
2604
+ "--sidebar-width-icon": oi,
2605
2605
  ...i
2606
2606
  },
2607
2607
  className: P("group/sidebar-wrapper has-data-[variant=inset]:bg-sidebar flex min-h-svh w-full", r),
@@ -2610,28 +2610,28 @@ function ci({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style
2610
2610
  })
2611
2611
  });
2612
2612
  }
2613
- function li({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: s, ...c }) {
2614
- let { isMobile: l, state: u, openMobile: d, setOpenMobile: f } = H();
2613
+ function ui({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: s, ...c }) {
2614
+ let { isMobile: l, state: u, openMobile: d, setOpenMobile: f } = V();
2615
2615
  return n === "none" ? /* @__PURE__ */ a("div", {
2616
2616
  "data-slot": "sidebar",
2617
2617
  className: P("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", r),
2618
2618
  ...c,
2619
2619
  children: i
2620
- }) : l ? /* @__PURE__ */ a(Br, {
2620
+ }) : l ? /* @__PURE__ */ a(Vr, {
2621
2621
  open: d,
2622
2622
  onOpenChange: f,
2623
2623
  ...c,
2624
- children: /* @__PURE__ */ o(Gr, {
2624
+ children: /* @__PURE__ */ o(Kr, {
2625
2625
  dir: s,
2626
2626
  "data-sidebar": "sidebar",
2627
2627
  "data-slot": "sidebar",
2628
2628
  "data-mobile": "true",
2629
2629
  className: "bg-sidebar text-sidebar-foreground w-(--sidebar-width) p-0 [&>button]:hidden",
2630
- style: { "--sidebar-width": ii },
2630
+ style: { "--sidebar-width": ai },
2631
2631
  side: e,
2632
- children: [/* @__PURE__ */ o(Kr, {
2632
+ children: [/* @__PURE__ */ o(qr, {
2633
2633
  className: "sr-only",
2634
- children: [/* @__PURE__ */ a(Jr, { children: "Sidebar" }), /* @__PURE__ */ a(Yr, { children: "Displays the mobile sidebar." })]
2634
+ children: [/* @__PURE__ */ a(Yr, { children: "Sidebar" }), /* @__PURE__ */ a(Xr, { children: "Displays the mobile sidebar." })]
2635
2635
  }), /* @__PURE__ */ a("div", {
2636
2636
  className: "flex h-full w-full flex-col",
2637
2637
  children: i
@@ -2661,8 +2661,8 @@ function li({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
2661
2661
  })]
2662
2662
  });
2663
2663
  }
2664
- function ui({ className: e, onClick: t, ...n }) {
2665
- let { toggleSidebar: r } = H();
2664
+ function di({ className: e, onClick: t, ...n }) {
2665
+ let { toggleSidebar: r } = V();
2666
2666
  return /* @__PURE__ */ o(F, {
2667
2667
  "data-sidebar": "trigger",
2668
2668
  "data-slot": "sidebar-trigger",
@@ -2679,8 +2679,8 @@ function ui({ className: e, onClick: t, ...n }) {
2679
2679
  })]
2680
2680
  });
2681
2681
  }
2682
- function di({ className: e, ...t }) {
2683
- let { toggleSidebar: n } = H();
2682
+ function fi({ className: e, ...t }) {
2683
+ let { toggleSidebar: n } = V();
2684
2684
  return /* @__PURE__ */ a("button", {
2685
2685
  "data-sidebar": "rail",
2686
2686
  "data-slot": "sidebar-rail",
@@ -2692,22 +2692,22 @@ function di({ className: e, ...t }) {
2692
2692
  ...t
2693
2693
  });
2694
2694
  }
2695
- function fi({ className: e, ...t }) {
2695
+ function pi({ className: e, ...t }) {
2696
2696
  return /* @__PURE__ */ a("main", {
2697
2697
  "data-slot": "sidebar-inset",
2698
2698
  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),
2699
2699
  ...t
2700
2700
  });
2701
2701
  }
2702
- function pi({ className: e, ...t }) {
2703
- return /* @__PURE__ */ a(B, {
2702
+ function mi({ className: e, ...t }) {
2703
+ return /* @__PURE__ */ a(z, {
2704
2704
  "data-slot": "sidebar-input",
2705
2705
  "data-sidebar": "input",
2706
2706
  className: P("bg-background h-8 w-full shadow-none", e),
2707
2707
  ...t
2708
2708
  });
2709
2709
  }
2710
- function mi({ className: e, ...t }) {
2710
+ function hi({ className: e, ...t }) {
2711
2711
  return /* @__PURE__ */ a("div", {
2712
2712
  "data-slot": "sidebar-header",
2713
2713
  "data-sidebar": "header",
@@ -2715,7 +2715,7 @@ function mi({ className: e, ...t }) {
2715
2715
  ...t
2716
2716
  });
2717
2717
  }
2718
- function hi({ className: e, ...t }) {
2718
+ function gi({ className: e, ...t }) {
2719
2719
  return /* @__PURE__ */ a("div", {
2720
2720
  "data-slot": "sidebar-footer",
2721
2721
  "data-sidebar": "footer",
@@ -2723,7 +2723,7 @@ function hi({ className: e, ...t }) {
2723
2723
  ...t
2724
2724
  });
2725
2725
  }
2726
- function gi({ className: e, ...t }) {
2726
+ function _i({ className: e, ...t }) {
2727
2727
  return /* @__PURE__ */ a(L, {
2728
2728
  "data-slot": "sidebar-separator",
2729
2729
  "data-sidebar": "separator",
@@ -2731,7 +2731,7 @@ function gi({ className: e, ...t }) {
2731
2731
  ...t
2732
2732
  });
2733
2733
  }
2734
- function _i({ className: e, ...t }) {
2734
+ function vi({ className: e, ...t }) {
2735
2735
  return /* @__PURE__ */ a("div", {
2736
2736
  "data-slot": "sidebar-content",
2737
2737
  "data-sidebar": "content",
@@ -2739,7 +2739,7 @@ function _i({ className: e, ...t }) {
2739
2739
  ...t
2740
2740
  });
2741
2741
  }
2742
- function vi({ className: e, ...t }) {
2742
+ function yi({ className: e, ...t }) {
2743
2743
  return /* @__PURE__ */ a("div", {
2744
2744
  "data-slot": "sidebar-group",
2745
2745
  "data-sidebar": "group",
@@ -2747,7 +2747,7 @@ function vi({ className: e, ...t }) {
2747
2747
  ...t
2748
2748
  });
2749
2749
  }
2750
- function yi({ className: e, asChild: t = !1, ...n }) {
2750
+ function bi({ className: e, asChild: t = !1, ...n }) {
2751
2751
  return /* @__PURE__ */ a(t ? C : "div", {
2752
2752
  "data-slot": "sidebar-group-label",
2753
2753
  "data-sidebar": "group-label",
@@ -2755,7 +2755,7 @@ function yi({ className: e, asChild: t = !1, ...n }) {
2755
2755
  ...n
2756
2756
  });
2757
2757
  }
2758
- function bi({ className: e, asChild: t = !1, ...n }) {
2758
+ function xi({ className: e, asChild: t = !1, ...n }) {
2759
2759
  return /* @__PURE__ */ a(t ? C : "button", {
2760
2760
  "data-slot": "sidebar-group-action",
2761
2761
  "data-sidebar": "group-action",
@@ -2763,7 +2763,7 @@ function bi({ className: e, asChild: t = !1, ...n }) {
2763
2763
  ...n
2764
2764
  });
2765
2765
  }
2766
- function xi({ className: e, ...t }) {
2766
+ function Si({ className: e, ...t }) {
2767
2767
  return /* @__PURE__ */ a("div", {
2768
2768
  "data-slot": "sidebar-group-content",
2769
2769
  "data-sidebar": "group-content",
@@ -2771,7 +2771,7 @@ function xi({ className: e, ...t }) {
2771
2771
  ...t
2772
2772
  });
2773
2773
  }
2774
- function Si({ className: e, ...t }) {
2774
+ function H({ className: e, ...t }) {
2775
2775
  return /* @__PURE__ */ a("ul", {
2776
2776
  "data-slot": "sidebar-menu",
2777
2777
  "data-sidebar": "menu",
@@ -2805,7 +2805,7 @@ var Ci = S("ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-
2805
2805
  }
2806
2806
  });
2807
2807
  function W({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: s, ...c }) {
2808
- let l = e ? C : "button", { isMobile: u, state: d } = H(), f = /* @__PURE__ */ a(l, {
2808
+ let l = e ? C : "button", { isMobile: u, state: d } = V(), f = /* @__PURE__ */ a(l, {
2809
2809
  "data-slot": "sidebar-menu-button",
2810
2810
  "data-sidebar": "menu-button",
2811
2811
  "data-size": r,
@@ -2816,10 +2816,10 @@ function W({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r
2816
2816
  }), s),
2817
2817
  ...c
2818
2818
  });
2819
- return i ? (typeof i == "string" && (i = { children: i }), /* @__PURE__ */ o(Qr, { children: [/* @__PURE__ */ a($r, {
2819
+ return i ? (typeof i == "string" && (i = { children: i }), /* @__PURE__ */ o($r, { children: [/* @__PURE__ */ a(ei, {
2820
2820
  asChild: !0,
2821
2821
  children: f
2822
- }), /* @__PURE__ */ a(ei, {
2822
+ }), /* @__PURE__ */ a(ti, {
2823
2823
  side: "right",
2824
2824
  align: "center",
2825
2825
  hidden: d !== "collapsed" || u,
@@ -2849,10 +2849,10 @@ function Ei({ className: e, showIcon: t = !1, ...n }) {
2849
2849
  "data-sidebar": "menu-skeleton",
2850
2850
  className: P("h-8 gap-2 rounded-md px-2 flex items-center", e),
2851
2851
  ...n,
2852
- children: [t && /* @__PURE__ */ a(Xr, {
2852
+ children: [t && /* @__PURE__ */ a(Zr, {
2853
2853
  className: "size-4 rounded-md",
2854
2854
  "data-sidebar": "menu-skeleton-icon"
2855
- }), /* @__PURE__ */ a(Xr, {
2855
+ }), /* @__PURE__ */ a(Zr, {
2856
2856
  className: "h-4 max-w-(--skeleton-width) flex-1",
2857
2857
  "data-sidebar": "menu-skeleton-text",
2858
2858
  style: { "--skeleton-width": r }
@@ -2903,33 +2903,33 @@ function Ai({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2903
2903
  t,
2904
2904
  " "
2905
2905
  ]
2906
- }), /* @__PURE__ */ a(_r, {
2906
+ }), /* @__PURE__ */ a(vr, {
2907
2907
  dir: "rtl",
2908
2908
  className: "justify-end w-auto mx-0",
2909
- children: /* @__PURE__ */ o(vr, { children: [
2910
- /* @__PURE__ */ a(yr, { children: /* @__PURE__ */ a(xr, {
2909
+ children: /* @__PURE__ */ o(yr, { children: [
2910
+ /* @__PURE__ */ a(br, { children: /* @__PURE__ */ a(Sr, {
2911
2911
  onClick: () => {
2912
2912
  n > 1 && r?.(n - 1);
2913
2913
  },
2914
2914
  text: "السابق"
2915
2915
  }) }),
2916
- /* @__PURE__ */ o(wr, {
2916
+ /* @__PURE__ */ o(Tr, {
2917
2917
  dir: "rtl",
2918
- children: [/* @__PURE__ */ a(Er, {
2918
+ children: [/* @__PURE__ */ a(Dr, {
2919
2919
  asChild: !0,
2920
2920
  children: /* @__PURE__ */ a(W, {
2921
2921
  className: "w-full h-5 justify-start gap-2 text-base",
2922
2922
  children: /* @__PURE__ */ a("span", { children: n })
2923
2923
  })
2924
- }), /* @__PURE__ */ a(Dr, {
2924
+ }), /* @__PURE__ */ a(Or, {
2925
2925
  align: "end",
2926
- children: Array.from({ length: Math.ceil(t / e) }, (e, t) => /* @__PURE__ */ a(V, {
2926
+ children: Array.from({ length: Math.ceil(t / e) }, (e, t) => /* @__PURE__ */ a(B, {
2927
2927
  onClick: () => r?.(t + 1),
2928
2928
  children: t + 1
2929
2929
  }, t + 1))
2930
2930
  })]
2931
2931
  }),
2932
- /* @__PURE__ */ a(yr, { children: /* @__PURE__ */ a(Sr, {
2932
+ /* @__PURE__ */ a(br, { children: /* @__PURE__ */ a(Cr, {
2933
2933
  onClick: () => {
2934
2934
  n < i && r?.(n + 1);
2935
2935
  },
@@ -2942,39 +2942,39 @@ function Ai({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2942
2942
  //#endregion
2943
2943
  //#region src/components/custom/table/crudTableRowActionsMenu.tsx
2944
2944
  function ji({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
2945
- return /* @__PURE__ */ o(i, { children: [n === "dropdown" && /* @__PURE__ */ o(wr, {
2945
+ return /* @__PURE__ */ o(i, { children: [n === "dropdown" && /* @__PURE__ */ o(Tr, {
2946
2946
  dir: "rtl",
2947
- children: [/* @__PURE__ */ a(Er, {
2947
+ children: [/* @__PURE__ */ a(Dr, {
2948
2948
  asChild: !0,
2949
2949
  children: /* @__PURE__ */ a(F, {
2950
2950
  variant: "ghost",
2951
2951
  className: "h-8 w-8 p-0",
2952
2952
  children: /* @__PURE__ */ a(se, { className: "h-4 w-4" })
2953
2953
  })
2954
- }), /* @__PURE__ */ o(Dr, {
2954
+ }), /* @__PURE__ */ o(Or, {
2955
2955
  align: "start",
2956
2956
  children: [
2957
- /* @__PURE__ */ a(Mr, { children: "الإجراءات" }),
2958
- /* @__PURE__ */ a(Nr, {}),
2959
- r.updatePermission && /* @__PURE__ */ a(V, {
2957
+ /* @__PURE__ */ a(Nr, { children: "الإجراءات" }),
2958
+ /* @__PURE__ */ a(Pr, {}),
2959
+ r.updatePermission && /* @__PURE__ */ a(B, {
2960
2960
  onSelect: e,
2961
2961
  children: "تعديل"
2962
2962
  }),
2963
- r.deletePermission && /* @__PURE__ */ a(V, {
2963
+ r.deletePermission && /* @__PURE__ */ a(B, {
2964
2964
  className: "text-destructive",
2965
2965
  onSelect: t,
2966
2966
  children: "حذف"
2967
2967
  })
2968
2968
  ]
2969
2969
  })]
2970
- }), n === "context" && /* @__PURE__ */ a(ir, { children: /* @__PURE__ */ o(er, { children: [
2971
- /* @__PURE__ */ a(ur, { children: "الإجراءات" }),
2972
- /* @__PURE__ */ a(dr, {}),
2973
- r.updatePermission && /* @__PURE__ */ a(ar, {
2970
+ }), n === "context" && /* @__PURE__ */ a(ar, { children: /* @__PURE__ */ o(tr, { children: [
2971
+ /* @__PURE__ */ a(dr, { children: "الإجراءات" }),
2972
+ /* @__PURE__ */ a(fr, {}),
2973
+ r.updatePermission && /* @__PURE__ */ a(or, {
2974
2974
  onSelect: e,
2975
2975
  children: "تعديل"
2976
2976
  }),
2977
- r.deletePermission && /* @__PURE__ */ a(ar, {
2977
+ r.deletePermission && /* @__PURE__ */ a(or, {
2978
2978
  className: "text-destructive",
2979
2979
  onSelect: t,
2980
2980
  children: "حذف"
@@ -2990,23 +2990,23 @@ function Mi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTi
2990
2990
  }, [g, l.filter]), /* @__PURE__ */ o("div", {
2991
2991
  className: "px-5 py-3",
2992
2992
  children: [
2993
- /* @__PURE__ */ a(hr, {
2993
+ /* @__PURE__ */ a(gr, {
2994
2994
  title: r,
2995
2995
  buttonTitle: i,
2996
2996
  isButtonVisible: e.addPermission,
2997
2997
  createComp: m
2998
2998
  }),
2999
- /* @__PURE__ */ a(mr, { cards: s }),
3000
- /* @__PURE__ */ a(jn, {
2999
+ /* @__PURE__ */ a(hr, { cards: s }),
3000
+ /* @__PURE__ */ a(Mn, {
3001
3001
  columnsNames: c,
3002
3002
  onSearch: (e) => g(l.filter(e))
3003
3003
  }),
3004
3004
  /* @__PURE__ */ o("div", {
3005
3005
  className: "rounded-b-xl border shadow-sm overflow-hidden",
3006
3006
  children: [
3007
- /* @__PURE__ */ o(Zn, {
3007
+ /* @__PURE__ */ o(Qn, {
3008
3008
  state: d,
3009
- children: [/* @__PURE__ */ a(gr, { tableHeadRows: f }), /* @__PURE__ */ a(Pn, { children: d.entities?.data?.map((t, n) => /* @__PURE__ */ a(pr, {
3009
+ children: [/* @__PURE__ */ a(_r, { tableHeadRows: f }), /* @__PURE__ */ a(Fn, { children: d.entities?.data?.map((t, n) => /* @__PURE__ */ a(mr, {
3010
3010
  tableRows: p(t),
3011
3011
  dropdownMenu: /* @__PURE__ */ a(ji, {
3012
3012
  permissions: e,
@@ -3111,14 +3111,14 @@ function Ri({ className: e, ...t }) {
3111
3111
  });
3112
3112
  }
3113
3113
  function zi({ className: e, ...t }) {
3114
- return /* @__PURE__ */ a(B, {
3114
+ return /* @__PURE__ */ a(z, {
3115
3115
  "data-slot": "input-group-control",
3116
3116
  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),
3117
3117
  ...t
3118
3118
  });
3119
3119
  }
3120
3120
  function Bi({ className: e, ...t }) {
3121
- return /* @__PURE__ */ a(Tn, {
3121
+ return /* @__PURE__ */ a(En, {
3122
3122
  "data-slot": "input-group-control",
3123
3123
  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),
3124
3124
  ...t
@@ -3207,11 +3207,11 @@ function Yi({ className: e, ...t }) {
3207
3207
  //#region src/components/custom/select/searchableSelect.tsx
3208
3208
  function Xi({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChange: i, disabled: c, errorInputClass: l, placeholder: u = "اختر...", columnsNames: d, onSearch: f }) {
3209
3209
  let [m, h] = y.useState(!1), g = e.find((e) => String(e[n]) === r), _ = g ? String(g[t]) : u;
3210
- return /* @__PURE__ */ o(At, {
3210
+ return /* @__PURE__ */ o(jt, {
3211
3211
  open: m,
3212
3212
  onOpenChange: h,
3213
3213
  modal: !0,
3214
- children: [/* @__PURE__ */ a(jt, {
3214
+ children: [/* @__PURE__ */ a(Mt, {
3215
3215
  asChild: !0,
3216
3216
  children: /* @__PURE__ */ o(F, {
3217
3217
  variant: "outline",
@@ -3224,11 +3224,11 @@ function Xi({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChang
3224
3224
  children: _
3225
3225
  }), /* @__PURE__ */ a(p, { className: "h-4 w-4 shrink-0 opacity-50 ltr:ml-2 rtl:mr-2" })]
3226
3226
  })
3227
- }), /* @__PURE__ */ o(Mt, {
3227
+ }), /* @__PURE__ */ o(Nt, {
3228
3228
  className: "w-[--radix-popover-trigger-width] p-0",
3229
3229
  align: "start",
3230
3230
  dir: "rtl",
3231
- children: [/* @__PURE__ */ a(jn, {
3231
+ children: [/* @__PURE__ */ a(Mn, {
3232
3232
  columnsNames: d,
3233
3233
  onSearch: f
3234
3234
  }), /* @__PURE__ */ a(Vi, {
@@ -3302,7 +3302,7 @@ function na({ className: e, ...t }) {
3302
3302
  //#endregion
3303
3303
  //#region src/components/custom/sideBar/sideBarCompanyData.tsx
3304
3304
  function ra({ company: e }) {
3305
- return /* @__PURE__ */ a(Si, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, {
3305
+ return /* @__PURE__ */ a(H, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, {
3306
3306
  size: "lg",
3307
3307
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
3308
3308
  children: [/* @__PURE__ */ o(Zi, {
@@ -3326,7 +3326,7 @@ function ra({ company: e }) {
3326
3326
  //#endregion
3327
3327
  //#region src/components/custom/sideBar/sidebarLogo.tsx
3328
3328
  function ia({ logos: e, alt: t = "Logo" }) {
3329
- let { state: n } = H(), r = n === "collapsed";
3329
+ let { state: n } = V(), r = n === "collapsed";
3330
3330
  return /* @__PURE__ */ o("div", {
3331
3331
  className: `
3332
3332
  animate-fadeSlide transition-all duration-300 pb-3
@@ -3346,9 +3346,9 @@ function ia({ logos: e, alt: t = "Logo" }) {
3346
3346
  //#endregion
3347
3347
  //#region src/components/custom/sideBar/sideBarMainMenu.tsx
3348
3348
  function aa({ items: t }) {
3349
- return /* @__PURE__ */ a(vi, {
3349
+ return /* @__PURE__ */ a(yi, {
3350
3350
  className: "mt-5",
3351
- children: /* @__PURE__ */ a(xi, { children: /* @__PURE__ */ a(Si, { children: t.map((t) => t.hasAuth && /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
3351
+ children: /* @__PURE__ */ a(Si, { children: /* @__PURE__ */ a(H, { children: t.map((t) => t.hasAuth && /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
3352
3352
  asChild: !0,
3353
3353
  tooltip: t.title,
3354
3354
  children: /* @__PURE__ */ o(e, {
@@ -3408,9 +3408,9 @@ var ca = () => {
3408
3408
  //#region src/components/custom/theme/themeToggle.tsx
3409
3409
  function la({ variant: e = "icon" }) {
3410
3410
  let { setTheme: t } = ca();
3411
- return /* @__PURE__ */ o(wr, {
3411
+ return /* @__PURE__ */ o(Tr, {
3412
3412
  dir: "rtl",
3413
- children: [/* @__PURE__ */ a(Er, {
3413
+ children: [/* @__PURE__ */ a(Dr, {
3414
3414
  asChild: !0,
3415
3415
  children: e === "sidebar" ? /* @__PURE__ */ o(W, {
3416
3416
  className: "w-full justify-start gap-3 px-3",
@@ -3434,18 +3434,18 @@ function la({ variant: e = "icon" }) {
3434
3434
  })
3435
3435
  ]
3436
3436
  })
3437
- }), /* @__PURE__ */ o(Dr, {
3437
+ }), /* @__PURE__ */ o(Or, {
3438
3438
  align: "end",
3439
3439
  children: [
3440
- /* @__PURE__ */ a(V, {
3440
+ /* @__PURE__ */ a(B, {
3441
3441
  onClick: () => t("light"),
3442
3442
  children: "فاتح"
3443
3443
  }),
3444
- /* @__PURE__ */ a(V, {
3444
+ /* @__PURE__ */ a(B, {
3445
3445
  onClick: () => t("dark"),
3446
3446
  children: "داكن"
3447
3447
  }),
3448
- /* @__PURE__ */ a(V, {
3448
+ /* @__PURE__ */ a(B, {
3449
3449
  onClick: () => t("system"),
3450
3450
  children: "النظام"
3451
3451
  })
@@ -3456,9 +3456,9 @@ function la({ variant: e = "icon" }) {
3456
3456
  //#endregion
3457
3457
  //#region src/components/custom/sideBar/sideBarSecondaryMenu.tsx
3458
3458
  function ua({ items: t, onLogout: n, ...r }) {
3459
- return /* @__PURE__ */ a(vi, {
3459
+ return /* @__PURE__ */ a(yi, {
3460
3460
  ...r,
3461
- children: /* @__PURE__ */ a(xi, { children: /* @__PURE__ */ o(Si, { children: [
3461
+ children: /* @__PURE__ */ a(Si, { children: /* @__PURE__ */ o(H, { children: [
3462
3462
  t.map((t) => /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
3463
3463
  asChild: !0,
3464
3464
  children: /* @__PURE__ */ o(e, {
@@ -3494,7 +3494,7 @@ function ua({ items: t, onLogout: n, ...r }) {
3494
3494
  //#endregion
3495
3495
  //#region src/components/custom/sideBar/sideBarUserData.tsx
3496
3496
  function da({ user: e }) {
3497
- return /* @__PURE__ */ a(Si, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, {
3497
+ return /* @__PURE__ */ a(H, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, {
3498
3498
  size: "lg",
3499
3499
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
3500
3500
  children: [/* @__PURE__ */ o(Zi, {
@@ -3516,8 +3516,30 @@ function da({ user: e }) {
3516
3516
  }) }) });
3517
3517
  }
3518
3518
  //#endregion
3519
+ //#region src/components/custom/sideBar/yusrSideBarMainMenu.tsx
3520
+ function fa({ items: e, LinkComponent: t = "a" }) {
3521
+ return /* @__PURE__ */ a(yi, {
3522
+ className: "mt-5",
3523
+ children: /* @__PURE__ */ a(Si, { children: /* @__PURE__ */ a(H, { children: e.map((e) => e.hasAuth && /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
3524
+ asChild: !0,
3525
+ tooltip: e.title,
3526
+ children: /* @__PURE__ */ o(t, {
3527
+ href: e.url,
3528
+ className: "flex items-center justify-start gap-3 w-full px-3",
3529
+ children: [/* @__PURE__ */ a("span", {
3530
+ className: "flex items-center justify-center shrink-0 size-4",
3531
+ children: e.icon
3532
+ }), /* @__PURE__ */ a("span", {
3533
+ className: "font-medium truncate",
3534
+ children: e.title
3535
+ })]
3536
+ })
3537
+ }) }, e.title)) }) })
3538
+ });
3539
+ }
3540
+ //#endregion
3519
3541
  //#region src/components/custom/status/loading.tsx
3520
- function fa({ entityName: e }) {
3542
+ function pa({ entityName: e }) {
3521
3543
  return /* @__PURE__ */ o("div", {
3522
3544
  className: "sm:max-w-xl flex flex-col items-center justify-center py-20",
3523
3545
  children: [/* @__PURE__ */ a(te, { className: "h-10 w-10 animate-spin text-primary" }), /* @__PURE__ */ o("p", {
@@ -3532,75 +3554,75 @@ function fa({ entityName: e }) {
3532
3554
  }
3533
3555
  //#endregion
3534
3556
  //#region src/components/pure/alert-dialog.tsx
3535
- function pa({ ...e }) {
3557
+ function ma({ ...e }) {
3536
3558
  return /* @__PURE__ */ a(A.Root, {
3537
3559
  "data-slot": "alert-dialog",
3538
3560
  ...e
3539
3561
  });
3540
3562
  }
3541
- function ma({ ...e }) {
3563
+ function ha({ ...e }) {
3542
3564
  return /* @__PURE__ */ a(A.Trigger, {
3543
3565
  "data-slot": "alert-dialog-trigger",
3544
3566
  ...e
3545
3567
  });
3546
3568
  }
3547
- function ha({ ...e }) {
3569
+ function ga({ ...e }) {
3548
3570
  return /* @__PURE__ */ a(A.Portal, {
3549
3571
  "data-slot": "alert-dialog-portal",
3550
3572
  ...e
3551
3573
  });
3552
3574
  }
3553
- function ga({ className: e, ...t }) {
3575
+ function _a({ className: e, ...t }) {
3554
3576
  return /* @__PURE__ */ a(A.Overlay, {
3555
3577
  "data-slot": "alert-dialog-overlay",
3556
3578
  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),
3557
3579
  ...t
3558
3580
  });
3559
3581
  }
3560
- function _a({ className: e, size: t = "default", ...n }) {
3561
- return /* @__PURE__ */ o(ha, { children: [/* @__PURE__ */ a(ga, {}), /* @__PURE__ */ a(A.Content, {
3582
+ function va({ className: e, size: t = "default", ...n }) {
3583
+ return /* @__PURE__ */ o(ga, { children: [/* @__PURE__ */ a(_a, {}), /* @__PURE__ */ a(A.Content, {
3562
3584
  "data-slot": "alert-dialog-content",
3563
3585
  "data-size": t,
3564
3586
  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),
3565
3587
  ...n
3566
3588
  })] });
3567
3589
  }
3568
- function va({ className: e, ...t }) {
3590
+ function ya({ className: e, ...t }) {
3569
3591
  return /* @__PURE__ */ a("div", {
3570
3592
  "data-slot": "alert-dialog-header",
3571
3593
  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),
3572
3594
  ...t
3573
3595
  });
3574
3596
  }
3575
- function ya({ className: e, ...t }) {
3597
+ function ba({ className: e, ...t }) {
3576
3598
  return /* @__PURE__ */ a("div", {
3577
3599
  "data-slot": "alert-dialog-footer",
3578
3600
  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),
3579
3601
  ...t
3580
3602
  });
3581
3603
  }
3582
- function ba({ className: e, ...t }) {
3604
+ function xa({ className: e, ...t }) {
3583
3605
  return /* @__PURE__ */ a("div", {
3584
3606
  "data-slot": "alert-dialog-media",
3585
3607
  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),
3586
3608
  ...t
3587
3609
  });
3588
3610
  }
3589
- function xa({ className: e, ...t }) {
3611
+ function Sa({ className: e, ...t }) {
3590
3612
  return /* @__PURE__ */ a(A.Title, {
3591
3613
  "data-slot": "alert-dialog-title",
3592
3614
  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),
3593
3615
  ...t
3594
3616
  });
3595
3617
  }
3596
- function Sa({ className: e, ...t }) {
3618
+ function Ca({ className: e, ...t }) {
3597
3619
  return /* @__PURE__ */ a(A.Description, {
3598
3620
  "data-slot": "alert-dialog-description",
3599
3621
  className: P("text-muted-foreground *:[a]:hover:text-foreground text-sm text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3", e),
3600
3622
  ...t
3601
3623
  });
3602
3624
  }
3603
- function Ca({ className: e, variant: t = "default", size: n = "default", ...r }) {
3625
+ function wa({ className: e, variant: t = "default", size: n = "default", ...r }) {
3604
3626
  return /* @__PURE__ */ a(F, {
3605
3627
  variant: t,
3606
3628
  size: n,
@@ -3612,7 +3634,7 @@ function Ca({ className: e, variant: t = "default", size: n = "default", ...r })
3612
3634
  })
3613
3635
  });
3614
3636
  }
3615
- function wa({ className: e, variant: t = "outline", size: n = "default", ...r }) {
3637
+ function Ta({ className: e, variant: t = "outline", size: n = "default", ...r }) {
3616
3638
  return /* @__PURE__ */ a(F, {
3617
3639
  variant: t,
3618
3640
  size: n,
@@ -3626,36 +3648,36 @@ function wa({ className: e, variant: t = "outline", size: n = "default", ...r })
3626
3648
  }
3627
3649
  //#endregion
3628
3650
  //#region src/components/pure/alert.tsx
3629
- var Ta = 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", {
3651
+ var Ea = 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", {
3630
3652
  variants: { variant: {
3631
3653
  default: "bg-card text-card-foreground",
3632
3654
  destructive: "bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"
3633
3655
  } },
3634
3656
  defaultVariants: { variant: "default" }
3635
3657
  });
3636
- function Ea({ className: e, variant: t, ...n }) {
3658
+ function Da({ className: e, variant: t, ...n }) {
3637
3659
  return /* @__PURE__ */ a("div", {
3638
3660
  "data-slot": "alert",
3639
3661
  role: "alert",
3640
- className: P(Ta({ variant: t }), e),
3662
+ className: P(Ea({ variant: t }), e),
3641
3663
  ...n
3642
3664
  });
3643
3665
  }
3644
- function Da({ className: e, ...t }) {
3666
+ function Oa({ className: e, ...t }) {
3645
3667
  return /* @__PURE__ */ a("div", {
3646
3668
  "data-slot": "alert-title",
3647
3669
  className: P("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground", e),
3648
3670
  ...t
3649
3671
  });
3650
3672
  }
3651
- function Oa({ className: e, ...t }) {
3673
+ function ka({ className: e, ...t }) {
3652
3674
  return /* @__PURE__ */ a("div", {
3653
3675
  "data-slot": "alert-description",
3654
3676
  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),
3655
3677
  ...t
3656
3678
  });
3657
3679
  }
3658
- function ka({ className: e, ...t }) {
3680
+ function Aa({ className: e, ...t }) {
3659
3681
  return /* @__PURE__ */ a("div", {
3660
3682
  "data-slot": "alert-action",
3661
3683
  className: P("absolute top-2 end-2", e),
@@ -3664,7 +3686,7 @@ function ka({ className: e, ...t }) {
3664
3686
  }
3665
3687
  //#endregion
3666
3688
  //#region src/components/pure/badge.tsx
3667
- var Aa = 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", {
3689
+ var ja = 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", {
3668
3690
  variants: { variant: {
3669
3691
  default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
3670
3692
  secondary: "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
@@ -3675,17 +3697,17 @@ var Aa = S("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs
3675
3697
  } },
3676
3698
  defaultVariants: { variant: "default" }
3677
3699
  });
3678
- function ja({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
3700
+ function Ma({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
3679
3701
  return /* @__PURE__ */ a(n ? C : "span", {
3680
3702
  "data-slot": "badge",
3681
3703
  "data-variant": t,
3682
- className: P(Aa({ variant: t }), e),
3704
+ className: P(ja({ variant: t }), e),
3683
3705
  ...r
3684
3706
  });
3685
3707
  }
3686
3708
  //#endregion
3687
3709
  //#region src/components/pure/breadcrumb.tsx
3688
- function Ma({ className: e, ...t }) {
3710
+ function Na({ className: e, ...t }) {
3689
3711
  return /* @__PURE__ */ a("nav", {
3690
3712
  "aria-label": "breadcrumb",
3691
3713
  "data-slot": "breadcrumb",
@@ -3693,28 +3715,28 @@ function Ma({ className: e, ...t }) {
3693
3715
  ...t
3694
3716
  });
3695
3717
  }
3696
- function Na({ className: e, ...t }) {
3718
+ function Pa({ className: e, ...t }) {
3697
3719
  return /* @__PURE__ */ a("ol", {
3698
3720
  "data-slot": "breadcrumb-list",
3699
3721
  className: P("text-muted-foreground gap-1.5 text-sm flex flex-wrap items-center wrap-break-word", e),
3700
3722
  ...t
3701
3723
  });
3702
3724
  }
3703
- function Pa({ className: e, ...t }) {
3725
+ function Fa({ className: e, ...t }) {
3704
3726
  return /* @__PURE__ */ a("li", {
3705
3727
  "data-slot": "breadcrumb-item",
3706
3728
  className: P("gap-1 inline-flex items-center", e),
3707
3729
  ...t
3708
3730
  });
3709
3731
  }
3710
- function Fa({ asChild: e, className: t, ...n }) {
3732
+ function Ia({ asChild: e, className: t, ...n }) {
3711
3733
  return /* @__PURE__ */ a(e ? C : "a", {
3712
3734
  "data-slot": "breadcrumb-link",
3713
3735
  className: P("hover:text-foreground transition-colors", t),
3714
3736
  ...n
3715
3737
  });
3716
3738
  }
3717
- function Ia({ className: e, ...t }) {
3739
+ function La({ className: e, ...t }) {
3718
3740
  return /* @__PURE__ */ a("span", {
3719
3741
  "data-slot": "breadcrumb-page",
3720
3742
  role: "link",
@@ -3724,7 +3746,7 @@ function Ia({ className: e, ...t }) {
3724
3746
  ...t
3725
3747
  });
3726
3748
  }
3727
- function La({ children: e, className: t, ...n }) {
3749
+ function Ra({ children: e, className: t, ...n }) {
3728
3750
  return /* @__PURE__ */ a("li", {
3729
3751
  "data-slot": "breadcrumb-separator",
3730
3752
  role: "presentation",
@@ -3734,7 +3756,7 @@ function La({ children: e, className: t, ...n }) {
3734
3756
  children: e ?? /* @__PURE__ */ a(d, { className: "rtl:rotate-180" })
3735
3757
  });
3736
3758
  }
3737
- function Ra({ className: e, ...t }) {
3759
+ function za({ className: e, ...t }) {
3738
3760
  return /* @__PURE__ */ o("span", {
3739
3761
  "data-slot": "breadcrumb-ellipsis",
3740
3762
  role: "presentation",
@@ -3749,34 +3771,34 @@ function Ra({ className: e, ...t }) {
3749
3771
  }
3750
3772
  //#endregion
3751
3773
  //#region src/components/pure/chart.tsx
3752
- var za = {
3774
+ var Ba = {
3753
3775
  light: "",
3754
3776
  dark: ".dark"
3755
- }, Ba = y.createContext(null);
3756
- function Va() {
3757
- let e = y.useContext(Ba);
3777
+ }, Va = y.createContext(null);
3778
+ function Ha() {
3779
+ let e = y.useContext(Va);
3758
3780
  if (!e) throw Error("useChart must be used within a <ChartContainer />");
3759
3781
  return e;
3760
3782
  }
3761
- function Ha({ id: e, className: t, children: n, config: r, ...i }) {
3783
+ function Ua({ id: e, className: t, children: n, config: r, ...i }) {
3762
3784
  let s = y.useId(), c = `chart-${e || s.replace(/:/g, "")}`;
3763
- return /* @__PURE__ */ a(Ba.Provider, {
3785
+ return /* @__PURE__ */ a(Va.Provider, {
3764
3786
  value: { config: r },
3765
3787
  children: /* @__PURE__ */ o("div", {
3766
3788
  "data-slot": "chart",
3767
3789
  "data-chart": c,
3768
3790
  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),
3769
3791
  ...i,
3770
- children: [/* @__PURE__ */ a(Ua, {
3792
+ children: [/* @__PURE__ */ a(Wa, {
3771
3793
  id: c,
3772
3794
  config: r
3773
3795
  }), /* @__PURE__ */ a(He.ResponsiveContainer, { children: n })]
3774
3796
  })
3775
3797
  });
3776
3798
  }
3777
- var Ua = ({ id: e, config: t }) => {
3799
+ var Wa = ({ id: e, config: t }) => {
3778
3800
  let n = Object.entries(t).filter(([, e]) => e.theme || e.color);
3779
- return n.length ? /* @__PURE__ */ a("style", { dangerouslySetInnerHTML: { __html: Object.entries(za).map(([t, r]) => `
3801
+ return n.length ? /* @__PURE__ */ a("style", { dangerouslySetInnerHTML: { __html: Object.entries(Ba).map(([t, r]) => `
3780
3802
  ${r} [data-chart=${e}] {
3781
3803
  ${n.map(([e, n]) => {
3782
3804
  let r = n.theme?.[t] || n.color;
@@ -3784,11 +3806,11 @@ ${n.map(([e, n]) => {
3784
3806
  }).join("\n")}
3785
3807
  }
3786
3808
  `).join("\n") } }) : null;
3787
- }, Wa = He.Tooltip;
3788
- function Ga({ 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 }) {
3789
- let { config: g } = Va(), _ = y.useMemo(() => {
3809
+ }, Ga = He.Tooltip;
3810
+ function Ka({ 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 }) {
3811
+ let { config: g } = Ha(), _ = y.useMemo(() => {
3790
3812
  if (s || !t?.length) return null;
3791
- let [e] = t, n = Ja(g, e, `${h || e?.dataKey || e?.name || "value"}`), r = !h && typeof l == "string" ? g[l]?.label || l : n?.label;
3813
+ let [e] = t, n = Ya(g, e, `${h || e?.dataKey || e?.name || "value"}`), r = !h && typeof l == "string" ? g[l]?.label || l : n?.label;
3792
3814
  return u ? /* @__PURE__ */ a("div", {
3793
3815
  className: P("font-medium", d),
3794
3816
  children: u(r, t)
@@ -3812,7 +3834,7 @@ function Ga({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
3812
3834
  children: [v ? null : _, /* @__PURE__ */ a("div", {
3813
3835
  className: "grid gap-1.5",
3814
3836
  children: t.filter((e) => e.type !== "none").map((e, t) => {
3815
- let n = Ja(g, e, `${m || e.name || e.dataKey || "value"}`), s = p || e.payload.fill || e.color;
3837
+ let n = Ya(g, e, `${m || e.name || e.dataKey || "value"}`), s = p || e.payload.fill || e.color;
3816
3838
  return /* @__PURE__ */ a("div", {
3817
3839
  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"),
3818
3840
  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", {
@@ -3844,13 +3866,13 @@ function Ga({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
3844
3866
  })]
3845
3867
  });
3846
3868
  }
3847
- var Ka = He.Legend;
3848
- function qa({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bottom", nameKey: i }) {
3849
- let { config: s } = Va();
3869
+ var qa = He.Legend;
3870
+ function Ja({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bottom", nameKey: i }) {
3871
+ let { config: s } = Ha();
3850
3872
  return n?.length ? /* @__PURE__ */ a("div", {
3851
3873
  className: P("flex items-center justify-center gap-4", r === "top" ? "pb-3" : "pt-3", e),
3852
3874
  children: n.filter((e) => e.type !== "none").map((e) => {
3853
- let n = Ja(s, e, `${i || e.dataKey || "value"}`);
3875
+ let n = Ya(s, e, `${i || e.dataKey || "value"}`);
3854
3876
  return /* @__PURE__ */ o("div", {
3855
3877
  className: P("[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),
3856
3878
  children: [n?.icon && !t ? /* @__PURE__ */ a(n.icon, {}) : /* @__PURE__ */ a("div", {
@@ -3861,14 +3883,14 @@ function qa({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bo
3861
3883
  })
3862
3884
  }) : null;
3863
3885
  }
3864
- function Ja(e, t, n) {
3886
+ function Ya(e, t, n) {
3865
3887
  if (typeof t != "object" || !t) return;
3866
3888
  let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
3867
3889
  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];
3868
3890
  }
3869
3891
  //#endregion
3870
3892
  //#region src/components/pure/checkbox.tsx
3871
- function Ya({ className: e, ...t }) {
3893
+ function Xa({ className: e, ...t }) {
3872
3894
  return /* @__PURE__ */ a(Ue.Root, {
3873
3895
  "data-slot": "checkbox",
3874
3896
  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),
@@ -3882,14 +3904,14 @@ function Ya({ className: e, ...t }) {
3882
3904
  }
3883
3905
  //#endregion
3884
3906
  //#region src/components/pure/combobox.tsx
3885
- var Xa = j.Root;
3886
- function Za({ ...e }) {
3907
+ var Za = j.Root;
3908
+ function Qa({ ...e }) {
3887
3909
  return /* @__PURE__ */ a(j.Value, {
3888
3910
  "data-slot": "combobox-value",
3889
3911
  ...e
3890
3912
  });
3891
3913
  }
3892
- function Qa({ className: e, children: t, ...n }) {
3914
+ function $a({ className: e, children: t, ...n }) {
3893
3915
  return /* @__PURE__ */ o(j.Trigger, {
3894
3916
  "data-slot": "combobox-trigger",
3895
3917
  className: P("[&_svg:not([class*='size-'])]:size-4", e),
@@ -3897,7 +3919,7 @@ function Qa({ className: e, children: t, ...n }) {
3897
3919
  children: [t, /* @__PURE__ */ a(l, { className: "text-muted-foreground size-4 pointer-events-none" })]
3898
3920
  });
3899
3921
  }
3900
- function $a({ className: e, ...t }) {
3922
+ function eo({ className: e, ...t }) {
3901
3923
  return /* @__PURE__ */ a(j.Clear, {
3902
3924
  "data-slot": "combobox-clear",
3903
3925
  render: /* @__PURE__ */ a(Li, {
@@ -3909,7 +3931,7 @@ function $a({ className: e, ...t }) {
3909
3931
  children: /* @__PURE__ */ a(Se, { className: "pointer-events-none" })
3910
3932
  });
3911
3933
  }
3912
- function eo({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: i = !1, ...s }) {
3934
+ function to({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: i = !1, ...s }) {
3913
3935
  return /* @__PURE__ */ o(Ni, {
3914
3936
  className: P("w-auto", e),
3915
3937
  children: [
@@ -3926,14 +3948,14 @@ function eo({ className: e, children: t, disabled: n = !1, showTrigger: r = !0,
3926
3948
  "data-slot": "input-group-button",
3927
3949
  className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
3928
3950
  disabled: n,
3929
- children: /* @__PURE__ */ a(Qa, {})
3930
- }), i && /* @__PURE__ */ a($a, { disabled: n })]
3951
+ children: /* @__PURE__ */ a($a, {})
3952
+ }), i && /* @__PURE__ */ a(eo, { disabled: n })]
3931
3953
  }),
3932
3954
  t
3933
3955
  ]
3934
3956
  });
3935
3957
  }
3936
- function to({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: o, ...s }) {
3958
+ function no({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: o, ...s }) {
3937
3959
  return /* @__PURE__ */ a(j.Portal, { children: /* @__PURE__ */ a(j.Positioner, {
3938
3960
  side: t,
3939
3961
  sideOffset: n,
@@ -3949,14 +3971,14 @@ function to({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "s
3949
3971
  })
3950
3972
  }) });
3951
3973
  }
3952
- function no({ className: e, ...t }) {
3974
+ function ro({ className: e, ...t }) {
3953
3975
  return /* @__PURE__ */ a(j.List, {
3954
3976
  "data-slot": "combobox-list",
3955
3977
  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),
3956
3978
  ...t
3957
3979
  });
3958
3980
  }
3959
- function ro({ className: e, children: t, ...n }) {
3981
+ function io({ className: e, children: t, ...n }) {
3960
3982
  return /* @__PURE__ */ o(j.Item, {
3961
3983
  "data-slot": "combobox-item",
3962
3984
  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),
@@ -3967,48 +3989,48 @@ function ro({ className: e, children: t, ...n }) {
3967
3989
  })]
3968
3990
  });
3969
3991
  }
3970
- function io({ className: e, ...t }) {
3992
+ function ao({ className: e, ...t }) {
3971
3993
  return /* @__PURE__ */ a(j.Group, {
3972
3994
  "data-slot": "combobox-group",
3973
3995
  className: P(e),
3974
3996
  ...t
3975
3997
  });
3976
3998
  }
3977
- function ao({ className: e, ...t }) {
3999
+ function oo({ className: e, ...t }) {
3978
4000
  return /* @__PURE__ */ a(j.GroupLabel, {
3979
4001
  "data-slot": "combobox-label",
3980
4002
  className: P("text-muted-foreground px-2 py-1.5 text-xs", e),
3981
4003
  ...t
3982
4004
  });
3983
4005
  }
3984
- function oo({ ...e }) {
4006
+ function so({ ...e }) {
3985
4007
  return /* @__PURE__ */ a(j.Collection, {
3986
4008
  "data-slot": "combobox-collection",
3987
4009
  ...e
3988
4010
  });
3989
4011
  }
3990
- function so({ className: e, ...t }) {
4012
+ function co({ className: e, ...t }) {
3991
4013
  return /* @__PURE__ */ a(j.Empty, {
3992
4014
  "data-slot": "combobox-empty",
3993
4015
  className: P("text-muted-foreground hidden w-full justify-center py-2 text-center text-sm group-data-empty/combobox-content:flex", e),
3994
4016
  ...t
3995
4017
  });
3996
4018
  }
3997
- function co({ className: e, ...t }) {
4019
+ function lo({ className: e, ...t }) {
3998
4020
  return /* @__PURE__ */ a(j.Separator, {
3999
4021
  "data-slot": "combobox-separator",
4000
4022
  className: P("bg-border -mx-1 my-1 h-px", e),
4001
4023
  ...t
4002
4024
  });
4003
4025
  }
4004
- function lo({ className: e, ...t }) {
4026
+ function uo({ className: e, ...t }) {
4005
4027
  return /* @__PURE__ */ a(j.Chips, {
4006
4028
  "data-slot": "combobox-chips",
4007
4029
  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),
4008
4030
  ...t
4009
4031
  });
4010
4032
  }
4011
- function uo({ className: e, children: t, showRemove: n = !0, ...r }) {
4033
+ function fo({ className: e, children: t, showRemove: n = !0, ...r }) {
4012
4034
  return /* @__PURE__ */ o(j.Chip, {
4013
4035
  "data-slot": "combobox-chip",
4014
4036
  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),
@@ -4024,62 +4046,62 @@ function uo({ className: e, children: t, showRemove: n = !0, ...r }) {
4024
4046
  })]
4025
4047
  });
4026
4048
  }
4027
- function fo({ className: e, ...t }) {
4049
+ function po({ className: e, ...t }) {
4028
4050
  return /* @__PURE__ */ a(j.Input, {
4029
4051
  "data-slot": "combobox-chip-input",
4030
4052
  className: P("min-w-16 flex-1 outline-none", e),
4031
4053
  ...t
4032
4054
  });
4033
4055
  }
4034
- function po() {
4056
+ function mo() {
4035
4057
  return y.useRef(null);
4036
4058
  }
4037
4059
  //#endregion
4038
4060
  //#region src/components/pure/direction.tsx
4039
- function mo({ dir: e, direction: t, children: n }) {
4061
+ function ho({ dir: e, direction: t, children: n }) {
4040
4062
  return /* @__PURE__ */ a(We.DirectionProvider, {
4041
4063
  dir: t ?? e,
4042
4064
  children: n
4043
4065
  });
4044
4066
  }
4045
- var ho = We.useDirection;
4067
+ var go = We.useDirection;
4046
4068
  //#endregion
4047
4069
  //#region src/components/pure/drawer.tsx
4048
- function go({ ...e }) {
4070
+ function _o({ ...e }) {
4049
4071
  return /* @__PURE__ */ a(M.Root, {
4050
4072
  "data-slot": "drawer",
4051
4073
  ...e
4052
4074
  });
4053
4075
  }
4054
- function _o({ ...e }) {
4076
+ function vo({ ...e }) {
4055
4077
  return /* @__PURE__ */ a(M.Trigger, {
4056
4078
  "data-slot": "drawer-trigger",
4057
4079
  ...e
4058
4080
  });
4059
4081
  }
4060
- function vo({ ...e }) {
4082
+ function yo({ ...e }) {
4061
4083
  return /* @__PURE__ */ a(M.Portal, {
4062
4084
  "data-slot": "drawer-portal",
4063
4085
  ...e
4064
4086
  });
4065
4087
  }
4066
- function yo({ ...e }) {
4088
+ function bo({ ...e }) {
4067
4089
  return /* @__PURE__ */ a(M.Close, {
4068
4090
  "data-slot": "drawer-close",
4069
4091
  ...e
4070
4092
  });
4071
4093
  }
4072
- function bo({ className: e, ...t }) {
4094
+ function xo({ className: e, ...t }) {
4073
4095
  return /* @__PURE__ */ a(M.Overlay, {
4074
4096
  "data-slot": "drawer-overlay",
4075
4097
  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),
4076
4098
  ...t
4077
4099
  });
4078
4100
  }
4079
- function xo({ className: e, children: t, ...n }) {
4080
- return /* @__PURE__ */ o(vo, {
4101
+ function So({ className: e, children: t, ...n }) {
4102
+ return /* @__PURE__ */ o(yo, {
4081
4103
  "data-slot": "drawer-portal",
4082
- children: [/* @__PURE__ */ a(bo, {}), /* @__PURE__ */ o(M.Content, {
4104
+ children: [/* @__PURE__ */ a(xo, {}), /* @__PURE__ */ o(M.Content, {
4083
4105
  "data-slot": "drawer-content",
4084
4106
  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),
4085
4107
  ...n,
@@ -4087,28 +4109,28 @@ function xo({ className: e, children: t, ...n }) {
4087
4109
  })]
4088
4110
  });
4089
4111
  }
4090
- function So({ className: e, ...t }) {
4112
+ function Co({ className: e, ...t }) {
4091
4113
  return /* @__PURE__ */ a("div", {
4092
4114
  "data-slot": "drawer-header",
4093
4115
  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),
4094
4116
  ...t
4095
4117
  });
4096
4118
  }
4097
- function Co({ className: e, ...t }) {
4119
+ function wo({ className: e, ...t }) {
4098
4120
  return /* @__PURE__ */ a("div", {
4099
4121
  "data-slot": "drawer-footer",
4100
4122
  className: P("gap-2 p-4 mt-auto flex flex-col", e),
4101
4123
  ...t
4102
4124
  });
4103
4125
  }
4104
- function wo({ className: e, ...t }) {
4126
+ function To({ className: e, ...t }) {
4105
4127
  return /* @__PURE__ */ a(M.Title, {
4106
4128
  "data-slot": "drawer-title",
4107
4129
  className: P("text-foreground text-base font-medium", e),
4108
4130
  ...t
4109
4131
  });
4110
4132
  }
4111
- function To({ className: e, ...t }) {
4133
+ function Eo({ className: e, ...t }) {
4112
4134
  return /* @__PURE__ */ a(M.Description, {
4113
4135
  "data-slot": "drawer-description",
4114
4136
  className: P("text-muted-foreground text-sm", e),
@@ -4117,14 +4139,14 @@ function To({ className: e, ...t }) {
4117
4139
  }
4118
4140
  //#endregion
4119
4141
  //#region src/components/pure/field.tsx
4120
- function Eo({ className: e, ...t }) {
4142
+ function Do({ className: e, ...t }) {
4121
4143
  return /* @__PURE__ */ a("fieldset", {
4122
4144
  "data-slot": "field-set",
4123
4145
  className: P("gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col", e),
4124
4146
  ...t
4125
4147
  });
4126
4148
  }
4127
- function Do({ className: e, variant: t = "legend", ...n }) {
4149
+ function Oo({ className: e, variant: t = "legend", ...n }) {
4128
4150
  return /* @__PURE__ */ a("legend", {
4129
4151
  "data-slot": "field-legend",
4130
4152
  "data-variant": t,
@@ -4132,14 +4154,14 @@ function Do({ className: e, variant: t = "legend", ...n }) {
4132
4154
  ...n
4133
4155
  });
4134
4156
  }
4135
- function Oo({ className: e, ...t }) {
4157
+ function ko({ className: e, ...t }) {
4136
4158
  return /* @__PURE__ */ a("div", {
4137
4159
  "data-slot": "field-group",
4138
4160
  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),
4139
4161
  ...t
4140
4162
  });
4141
4163
  }
4142
- var ko = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full", {
4164
+ var Ao = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full", {
4143
4165
  variants: { orientation: {
4144
4166
  vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
4145
4167
  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",
@@ -4147,44 +4169,44 @@ var ko = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full",
4147
4169
  } },
4148
4170
  defaultVariants: { orientation: "vertical" }
4149
4171
  });
4150
- function Ao({ className: e, orientation: t = "vertical", ...n }) {
4172
+ function jo({ className: e, orientation: t = "vertical", ...n }) {
4151
4173
  return /* @__PURE__ */ a("div", {
4152
4174
  role: "group",
4153
4175
  "data-slot": "field",
4154
4176
  "data-orientation": t,
4155
- className: P(ko({ orientation: t }), e),
4177
+ className: P(Ao({ orientation: t }), e),
4156
4178
  ...n
4157
4179
  });
4158
4180
  }
4159
- function jo({ className: e, ...t }) {
4181
+ function Mo({ className: e, ...t }) {
4160
4182
  return /* @__PURE__ */ a("div", {
4161
4183
  "data-slot": "field-content",
4162
4184
  className: P("gap-0.5 group/field-content flex flex-1 flex-col leading-snug", e),
4163
4185
  ...t
4164
4186
  });
4165
4187
  }
4166
- function Mo({ className: e, ...t }) {
4167
- return /* @__PURE__ */ a(Rt, {
4188
+ function No({ className: e, ...t }) {
4189
+ return /* @__PURE__ */ a(zt, {
4168
4190
  "data-slot": "field-label",
4169
4191
  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),
4170
4192
  ...t
4171
4193
  });
4172
4194
  }
4173
- function No({ className: e, ...t }) {
4195
+ function Po({ className: e, ...t }) {
4174
4196
  return /* @__PURE__ */ a("div", {
4175
4197
  "data-slot": "field-label",
4176
4198
  className: P("gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-snug", e),
4177
4199
  ...t
4178
4200
  });
4179
4201
  }
4180
- function Po({ className: e, ...t }) {
4202
+ function Fo({ className: e, ...t }) {
4181
4203
  return /* @__PURE__ */ a("p", {
4182
4204
  "data-slot": "field-description",
4183
4205
  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),
4184
4206
  ...t
4185
4207
  });
4186
4208
  }
4187
- function Fo({ children: e, className: t, ...n }) {
4209
+ function Io({ children: e, className: t, ...n }) {
4188
4210
  return /* @__PURE__ */ o("div", {
4189
4211
  "data-slot": "field-separator",
4190
4212
  "data-content": !!e,
@@ -4197,7 +4219,7 @@ function Fo({ children: e, className: t, ...n }) {
4197
4219
  })]
4198
4220
  });
4199
4221
  }
4200
- function Io({ className: e, children: t, errors: n, ...r }) {
4222
+ function Lo({ className: e, children: t, errors: n, ...r }) {
4201
4223
  let i = Oe(() => {
4202
4224
  if (t) return t;
4203
4225
  if (!n?.length) return null;
@@ -4217,7 +4239,7 @@ function Io({ className: e, children: t, errors: n, ...r }) {
4217
4239
  }
4218
4240
  //#endregion
4219
4241
  //#region src/components/pure/scroll-area.tsx
4220
- function Lo({ className: e, children: t, ...n }) {
4242
+ function Ro({ className: e, children: t, ...n }) {
4221
4243
  return /* @__PURE__ */ o(Ge.Root, {
4222
4244
  "data-slot": "scroll-area",
4223
4245
  className: P("relative", e),
@@ -4228,12 +4250,12 @@ function Lo({ className: e, children: t, ...n }) {
4228
4250
  className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
4229
4251
  children: t
4230
4252
  }),
4231
- /* @__PURE__ */ a(Ro, {}),
4253
+ /* @__PURE__ */ a(zo, {}),
4232
4254
  /* @__PURE__ */ a(Ge.Corner, {})
4233
4255
  ]
4234
4256
  });
4235
4257
  }
4236
- function Ro({ className: e, orientation: t = "vertical", ...n }) {
4258
+ function zo({ className: e, orientation: t = "vertical", ...n }) {
4237
4259
  return /* @__PURE__ */ a(Ge.ScrollAreaScrollbar, {
4238
4260
  "data-slot": "scroll-area-scrollbar",
4239
4261
  "data-orientation": t,
@@ -4248,7 +4270,7 @@ function Ro({ className: e, orientation: t = "vertical", ...n }) {
4248
4270
  }
4249
4271
  //#endregion
4250
4272
  //#region src/components/pure/sonner.tsx
4251
- var zo = ({ ...e }) => {
4273
+ var Bo = ({ ...e }) => {
4252
4274
  let { theme: t = "system" } = Ke();
4253
4275
  return /* @__PURE__ */ a(qe, {
4254
4276
  theme: t,
@@ -4272,7 +4294,7 @@ var zo = ({ ...e }) => {
4272
4294
  };
4273
4295
  //#endregion
4274
4296
  //#region src/components/pure/switch.tsx
4275
- function Bo({ className: e, size: t = "default", ...n }) {
4297
+ function Vo({ className: e, size: t = "default", ...n }) {
4276
4298
  return /* @__PURE__ */ a(Je.Root, {
4277
4299
  "data-slot": "switch",
4278
4300
  "data-size": t,
@@ -4286,7 +4308,7 @@ function Bo({ className: e, size: t = "default", ...n }) {
4286
4308
  }
4287
4309
  //#endregion
4288
4310
  //#region src/components/pure/tabs.tsx
4289
- function Vo({ className: e, orientation: t = "horizontal", ...n }) {
4311
+ function Ho({ className: e, orientation: t = "horizontal", ...n }) {
4290
4312
  return /* @__PURE__ */ a(Ye.Root, {
4291
4313
  "data-slot": "tabs",
4292
4314
  "data-orientation": t,
@@ -4294,29 +4316,29 @@ function Vo({ className: e, orientation: t = "horizontal", ...n }) {
4294
4316
  ...n
4295
4317
  });
4296
4318
  }
4297
- var Ho = 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", {
4319
+ var Uo = 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", {
4298
4320
  variants: { variant: {
4299
4321
  default: "bg-muted",
4300
4322
  line: "gap-1 bg-transparent"
4301
4323
  } },
4302
4324
  defaultVariants: { variant: "default" }
4303
4325
  });
4304
- function Uo({ className: e, variant: t = "default", ...n }) {
4326
+ function Wo({ className: e, variant: t = "default", ...n }) {
4305
4327
  return /* @__PURE__ */ a(Ye.List, {
4306
4328
  "data-slot": "tabs-list",
4307
4329
  "data-variant": t,
4308
- className: P(Ho({ variant: t }), e),
4330
+ className: P(Uo({ variant: t }), e),
4309
4331
  ...n
4310
4332
  });
4311
4333
  }
4312
- function Wo({ className: e, ...t }) {
4334
+ function Go({ className: e, ...t }) {
4313
4335
  return /* @__PURE__ */ a(Ye.Trigger, {
4314
4336
  "data-slot": "tabs-trigger",
4315
4337
  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),
4316
4338
  ...t
4317
4339
  });
4318
4340
  }
4319
- function Go({ className: e, ...t }) {
4341
+ function Ko({ className: e, ...t }) {
4320
4342
  return /* @__PURE__ */ a(Ye.Content, {
4321
4343
  "data-slot": "tabs-content",
4322
4344
  className: P("text-sm flex-1 outline-none", e),
@@ -4325,7 +4347,7 @@ function Go({ className: e, ...t }) {
4325
4347
  }
4326
4348
  //#endregion
4327
4349
  //#region src/components/pure/toggle.tsx
4328
- var Ko = 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", {
4350
+ var qo = 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", {
4329
4351
  variants: {
4330
4352
  variant: {
4331
4353
  default: "bg-transparent",
@@ -4342,10 +4364,10 @@ var Ko = S("hover:text-foreground aria-pressed:bg-muted focus-visible:border-rin
4342
4364
  size: "default"
4343
4365
  }
4344
4366
  });
4345
- function qo({ className: e, variant: t = "default", size: n = "default", ...r }) {
4367
+ function Jo({ className: e, variant: t = "default", size: n = "default", ...r }) {
4346
4368
  return /* @__PURE__ */ a(Ze.Root, {
4347
4369
  "data-slot": "toggle",
4348
- className: P(Ko({
4370
+ className: P(qo({
4349
4371
  variant: t,
4350
4372
  size: n,
4351
4373
  className: e
@@ -4355,13 +4377,13 @@ function qo({ className: e, variant: t = "default", size: n = "default", ...r })
4355
4377
  }
4356
4378
  //#endregion
4357
4379
  //#region src/components/pure/toggle-group.tsx
4358
- var Jo = y.createContext({
4380
+ var Yo = y.createContext({
4359
4381
  size: "default",
4360
4382
  variant: "default",
4361
4383
  spacing: 0,
4362
4384
  orientation: "horizontal"
4363
4385
  });
4364
- function Yo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: o, ...s }) {
4386
+ function Xo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: o, ...s }) {
4365
4387
  return /* @__PURE__ */ a(Xe.Root, {
4366
4388
  "data-slot": "toggle-group",
4367
4389
  "data-variant": t,
@@ -4371,7 +4393,7 @@ function Yo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
4371
4393
  style: { "--gap": r },
4372
4394
  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),
4373
4395
  ...s,
4374
- children: /* @__PURE__ */ a(Jo.Provider, {
4396
+ children: /* @__PURE__ */ a(Yo.Provider, {
4375
4397
  value: {
4376
4398
  variant: t,
4377
4399
  size: n,
@@ -4382,14 +4404,14 @@ function Yo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
4382
4404
  })
4383
4405
  });
4384
4406
  }
4385
- function Xo({ className: e, children: t, variant: n = "default", size: r = "default", ...i }) {
4386
- let o = y.useContext(Jo);
4407
+ function Zo({ className: e, children: t, variant: n = "default", size: r = "default", ...i }) {
4408
+ let o = y.useContext(Yo);
4387
4409
  return /* @__PURE__ */ a(Xe.Item, {
4388
4410
  "data-slot": "toggle-group-item",
4389
4411
  "data-variant": o.variant || n,
4390
4412
  "data-size": o.size || r,
4391
4413
  "data-spacing": o.spacing,
4392
- 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", Ko({
4414
+ 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", qo({
4393
4415
  variant: o.variant || n,
4394
4416
  size: o.size || r
4395
4417
  }), e),
@@ -4399,7 +4421,7 @@ function Xo({ className: e, children: t, variant: n = "default", size: r = "defa
4399
4421
  }
4400
4422
  //#endregion
4401
4423
  //#region src/hooks/useDialog.ts
4402
- function Zo() {
4424
+ function Qo() {
4403
4425
  let [e, t] = x(null), [n, r] = x(!1), [i, a] = x(!1);
4404
4426
  return {
4405
4427
  selectedRow: e,
@@ -4417,7 +4439,7 @@ function Zo() {
4417
4439
  }
4418
4440
  //#endregion
4419
4441
  //#region src/hooks/useDynamicList.ts
4420
- function Qo(e, t, n) {
4442
+ function $o(e, t, n) {
4421
4443
  return {
4422
4444
  addRow: b((r) => {
4423
4445
  t((t) => ({
@@ -4465,7 +4487,7 @@ function Qo(e, t, n) {
4465
4487
  }
4466
4488
  //#endregion
4467
4489
  //#region src/hooks/useFormValidation.ts
4468
- function $o(e, t) {
4490
+ function es(e, t) {
4469
4491
  let [n, r] = x({}), i = (e) => n[e], a = (e) => !!n[e];
4470
4492
  return {
4471
4493
  errors: n,
@@ -4495,10 +4517,10 @@ function $o(e, t) {
4495
4517
  }
4496
4518
  //#endregion
4497
4519
  //#region src/hooks/useEntityForm.ts
4498
- function es(e, t) {
4520
+ function ts(e, t) {
4499
4521
  let [n, r] = x({ ...e }), [i, a] = x(e);
4500
4522
  e !== i && (r({ ...e }), a(e));
4501
- let o = $o(n, t);
4523
+ let o = es(n, t);
4502
4524
  return {
4503
4525
  formData: n,
4504
4526
  handleChange: b((e) => {
@@ -4517,7 +4539,7 @@ function es(e, t) {
4517
4539
  }
4518
4540
  //#endregion
4519
4541
  //#region src/hooks/useLightBox.ts
4520
- function ts() {
4542
+ function ns() {
4521
4543
  let [e, t] = x(null);
4522
4544
  return {
4523
4545
  lightbox: e,
@@ -4533,7 +4555,7 @@ function ts() {
4533
4555
  }
4534
4556
  //#endregion
4535
4557
  //#region src/hooks/useStorageFile.ts
4536
- function ns(e, t) {
4558
+ function rs(e, t) {
4537
4559
  let n = ke(null), r = async (r) => {
4538
4560
  let i = Array.from(r.target.files || []);
4539
4561
  if (i.length === 0) return;
@@ -4619,7 +4641,7 @@ function ns(e, t) {
4619
4641
  }
4620
4642
  //#endregion
4621
4643
  //#region src/state/authListener.ts
4622
- var rs = (e, t) => {
4644
+ var is = (e, t) => {
4623
4645
  window.addEventListener("storage", (n) => {
4624
4646
  n.key === Qe.AuthCheckStorageItemName && e(t.syncFromStorage());
4625
4647
  }), window.addEventListener(Qe.UnauthorizedEventName, () => {
@@ -4628,7 +4650,7 @@ var rs = (e, t) => {
4628
4650
  };
4629
4651
  //#endregion
4630
4652
  //#region src/state/generics/genericDialogSlice.ts
4631
- function is(e) {
4653
+ function as(e) {
4632
4654
  return tt({
4633
4655
  name: e,
4634
4656
  initialState: {
@@ -4654,7 +4676,7 @@ function is(e) {
4654
4676
  }
4655
4677
  //#endregion
4656
4678
  //#region ../../node_modules/immer/dist/immer.mjs
4657
- var as = Symbol.for("immer-nothing"), os = Symbol.for("immer-draftable"), G = Symbol.for("immer-state"), ss = process.env.NODE_ENV === "production" ? [] : [
4679
+ var os = Symbol.for("immer-nothing"), ss = Symbol.for("immer-draftable"), G = Symbol.for("immer-state"), cs = process.env.NODE_ENV === "production" ? [] : [
4658
4680
  function(e) {
4659
4681
  return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
4660
4682
  },
@@ -4684,63 +4706,63 @@ var as = Symbol.for("immer-nothing"), os = Symbol.for("immer-draftable"), G = Sy
4684
4706
  ];
4685
4707
  function K(e, ...t) {
4686
4708
  if (process.env.NODE_ENV !== "production") {
4687
- let n = ss[e], r = Z(n) ? n.apply(null, t) : n;
4709
+ let n = cs[e], r = Z(n) ? n.apply(null, t) : n;
4688
4710
  throw Error(`[Immer] ${r}`);
4689
4711
  }
4690
4712
  throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
4691
4713
  }
4692
- var q = Object, J = q.getPrototypeOf, cs = "constructor", ls = "prototype", us = "configurable", ds = "enumerable", fs = "writable", ps = "value", Y = (e) => !!e && !!e[G];
4714
+ var q = Object, J = q.getPrototypeOf, ls = "constructor", us = "prototype", ds = "configurable", fs = "enumerable", ps = "writable", ms = "value", Y = (e) => !!e && !!e[G];
4693
4715
  function X(e) {
4694
- return e ? gs(e) || Cs(e) || !!e[os] || !!e[cs]?.[os] || ws(e) || Ts(e) : !1;
4716
+ return e ? _s(e) || ws(e) || !!e[ss] || !!e[ls]?.[ss] || Ts(e) || Es(e) : !1;
4695
4717
  }
4696
- var ms = q[ls][cs].toString(), hs = /* @__PURE__ */ new WeakMap();
4697
- function gs(e) {
4698
- if (!e || !Es(e)) return !1;
4718
+ var hs = q[us][ls].toString(), gs = /* @__PURE__ */ new WeakMap();
4719
+ function _s(e) {
4720
+ if (!e || !Ds(e)) return !1;
4699
4721
  let t = J(e);
4700
- if (t === null || t === q[ls]) return !0;
4701
- let n = q.hasOwnProperty.call(t, cs) && t[cs];
4722
+ if (t === null || t === q[us]) return !0;
4723
+ let n = q.hasOwnProperty.call(t, ls) && t[ls];
4702
4724
  if (n === Object) return !0;
4703
4725
  if (!Z(n)) return !1;
4704
- let r = hs.get(n);
4705
- return r === void 0 && (r = Function.toString.call(n), hs.set(n, r)), r === ms;
4726
+ let r = gs.get(n);
4727
+ return r === void 0 && (r = Function.toString.call(n), gs.set(n, r)), r === hs;
4706
4728
  }
4707
- function _s(e, t, n = !0) {
4708
- vs(e) === 0 ? (n ? Reflect.ownKeys(e) : q.keys(e)).forEach((n) => {
4729
+ function vs(e, t, n = !0) {
4730
+ ys(e) === 0 ? (n ? Reflect.ownKeys(e) : q.keys(e)).forEach((n) => {
4709
4731
  t(n, e[n], e);
4710
4732
  }) : e.forEach((n, r) => t(r, n, e));
4711
4733
  }
4712
- function vs(e) {
4734
+ function ys(e) {
4713
4735
  let t = e[G];
4714
- return t ? t.type_ : Cs(e) ? 1 : ws(e) ? 2 : Ts(e) ? 3 : 0;
4736
+ return t ? t.type_ : ws(e) ? 1 : Ts(e) ? 2 : Es(e) ? 3 : 0;
4715
4737
  }
4716
- var ys = (e, t, n = vs(e)) => n === 2 ? e.has(t) : q[ls].hasOwnProperty.call(e, t), bs = (e, t, n = vs(e)) => n === 2 ? e.get(t) : e[t], xs = (e, t, n, r = vs(e)) => {
4738
+ var bs = (e, t, n = ys(e)) => n === 2 ? e.has(t) : q[us].hasOwnProperty.call(e, t), xs = (e, t, n = ys(e)) => n === 2 ? e.get(t) : e[t], Ss = (e, t, n, r = ys(e)) => {
4717
4739
  r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
4718
4740
  };
4719
- function Ss(e, t) {
4741
+ function Cs(e, t) {
4720
4742
  return e === t ? e !== 0 || 1 / e == 1 / t : e !== e && t !== t;
4721
4743
  }
4722
- var Cs = Array.isArray, ws = (e) => e instanceof Map, Ts = (e) => e instanceof Set, Es = (e) => typeof e == "object", Z = (e) => typeof e == "function", Ds = (e) => typeof e == "boolean";
4723
- function Os(e) {
4744
+ var ws = Array.isArray, Ts = (e) => e instanceof Map, Es = (e) => e instanceof Set, Ds = (e) => typeof e == "object", Z = (e) => typeof e == "function", Os = (e) => typeof e == "boolean";
4745
+ function ks(e) {
4724
4746
  let t = +e;
4725
4747
  return Number.isInteger(t) && String(t) === e;
4726
4748
  }
4727
- var Q = (e) => e.copy_ || e.base_, ks = (e) => e.modified_ ? e.copy_ : e.base_;
4728
- function As(e, t) {
4729
- if (ws(e)) return new Map(e);
4730
- if (Ts(e)) return new Set(e);
4731
- if (Cs(e)) return Array[ls].slice.call(e);
4732
- let n = gs(e);
4749
+ var Q = (e) => e.copy_ || e.base_, As = (e) => e.modified_ ? e.copy_ : e.base_;
4750
+ function js(e, t) {
4751
+ if (Ts(e)) return new Map(e);
4752
+ if (Es(e)) return new Set(e);
4753
+ if (ws(e)) return Array[us].slice.call(e);
4754
+ let n = _s(e);
4733
4755
  if (t === !0 || t === "class_only" && !n) {
4734
4756
  let t = q.getOwnPropertyDescriptors(e);
4735
4757
  delete t[G];
4736
4758
  let n = Reflect.ownKeys(t);
4737
4759
  for (let r = 0; r < n.length; r++) {
4738
4760
  let i = n[r], a = t[i];
4739
- a[fs] === !1 && (a[fs] = !0, a[us] = !0), (a.get || a.set) && (t[i] = {
4740
- [us]: !0,
4741
- [fs]: !0,
4742
- [ds]: a[ds],
4743
- [ps]: e[i]
4761
+ a[ps] === !1 && (a[ps] = !0, a[ds] = !0), (a.get || a.set) && (t[i] = {
4762
+ [ds]: !0,
4763
+ [ps]: !0,
4764
+ [fs]: a[fs],
4765
+ [ms]: e[i]
4744
4766
  });
4745
4767
  }
4746
4768
  return q.create(J(e), t);
@@ -4751,29 +4773,29 @@ function As(e, t) {
4751
4773
  return q.assign(r, e);
4752
4774
  }
4753
4775
  }
4754
- function js(e, t = !1) {
4755
- return Ps(e) || Y(e) || !X(e) ? e : (vs(e) > 1 && q.defineProperties(e, {
4756
- set: Ns,
4757
- add: Ns,
4758
- clear: Ns,
4759
- delete: Ns
4760
- }), q.freeze(e), t && _s(e, (e, t) => {
4761
- js(t, !0);
4776
+ function Ms(e, t = !1) {
4777
+ return Fs(e) || Y(e) || !X(e) ? e : (ys(e) > 1 && q.defineProperties(e, {
4778
+ set: Ps,
4779
+ add: Ps,
4780
+ clear: Ps,
4781
+ delete: Ps
4782
+ }), q.freeze(e), t && vs(e, (e, t) => {
4783
+ Ms(t, !0);
4762
4784
  }, !1), e);
4763
4785
  }
4764
- function Ms() {
4786
+ function Ns() {
4765
4787
  K(2);
4766
4788
  }
4767
- var Ns = { [ps]: Ms };
4768
- function Ps(e) {
4769
- return e === null || !Es(e) ? !0 : q.isFrozen(e);
4789
+ var Ps = { [ms]: Ns };
4790
+ function Fs(e) {
4791
+ return e === null || !Ds(e) ? !0 : q.isFrozen(e);
4770
4792
  }
4771
- var Fs = "MapSet", Is = "Patches", Ls = "ArrayMethods", Rs = {};
4793
+ var Is = "MapSet", Ls = "Patches", Rs = "ArrayMethods", zs = {};
4772
4794
  function $(e) {
4773
- let t = Rs[e];
4795
+ let t = zs[e];
4774
4796
  return t || K(0, e), t;
4775
4797
  }
4776
- var zs = (e) => !!Rs[e], Bs, Vs = () => Bs, Hs = (e, t) => ({
4798
+ var Bs = (e) => !!zs[e], Vs, Hs = () => Vs, Us = (e, t) => ({
4777
4799
  drafts_: [],
4778
4800
  parent_: e,
4779
4801
  immer_: t,
@@ -4781,114 +4803,114 @@ var zs = (e) => !!Rs[e], Bs, Vs = () => Bs, Hs = (e, t) => ({
4781
4803
  unfinalizedDrafts_: 0,
4782
4804
  handledSet_: /* @__PURE__ */ new Set(),
4783
4805
  processedForPatches_: /* @__PURE__ */ new Set(),
4784
- mapSetPlugin_: zs(Fs) ? $(Fs) : void 0,
4785
- arrayMethodsPlugin_: zs(Ls) ? $(Ls) : void 0
4806
+ mapSetPlugin_: Bs(Is) ? $(Is) : void 0,
4807
+ arrayMethodsPlugin_: Bs(Rs) ? $(Rs) : void 0
4786
4808
  });
4787
- function Us(e, t) {
4788
- t && (e.patchPlugin_ = $(Is), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
4789
- }
4790
- function Ws(e) {
4791
- Gs(e), e.drafts_.forEach(qs), e.drafts_ = null;
4809
+ function Ws(e, t) {
4810
+ t && (e.patchPlugin_ = $(Ls), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
4792
4811
  }
4793
4812
  function Gs(e) {
4794
- e === Bs && (Bs = e.parent_);
4813
+ Ks(e), e.drafts_.forEach(Js), e.drafts_ = null;
4795
4814
  }
4796
- var Ks = (e) => Bs = Hs(Bs, e);
4797
- function qs(e) {
4815
+ function Ks(e) {
4816
+ e === Vs && (Vs = e.parent_);
4817
+ }
4818
+ var qs = (e) => Vs = Us(Vs, e);
4819
+ function Js(e) {
4798
4820
  let t = e[G];
4799
4821
  t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
4800
4822
  }
4801
- function Js(e, t) {
4823
+ function Ys(e, t) {
4802
4824
  t.unfinalizedDrafts_ = t.drafts_.length;
4803
4825
  let n = t.drafts_[0];
4804
4826
  if (e !== void 0 && e !== n) {
4805
- n[G].modified_ && (Ws(t), K(4)), X(e) && (e = Ys(t, e));
4827
+ n[G].modified_ && (Gs(t), K(4)), X(e) && (e = Xs(t, e));
4806
4828
  let { patchPlugin_: r } = t;
4807
4829
  r && r.generateReplacementPatches_(n[G].base_, e, t);
4808
- } else e = Ys(t, n);
4809
- return Xs(t, e, !0), Ws(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === as ? void 0 : e;
4830
+ } else e = Xs(t, n);
4831
+ return Zs(t, e, !0), Gs(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === os ? void 0 : e;
4810
4832
  }
4811
- function Ys(e, t) {
4812
- if (Ps(t)) return t;
4833
+ function Xs(e, t) {
4834
+ if (Fs(t)) return t;
4813
4835
  let n = t[G];
4814
- if (!n) return ic(t, e.handledSet_, e);
4815
- if (!Qs(n, e)) return t;
4836
+ if (!n) return ac(t, e.handledSet_, e);
4837
+ if (!$s(n, e)) return t;
4816
4838
  if (!n.modified_) return n.base_;
4817
4839
  if (!n.finalized_) {
4818
4840
  let { callbacks_: t } = n;
4819
4841
  if (t) for (; t.length > 0;) t.pop()(e);
4820
- nc(n, e);
4842
+ rc(n, e);
4821
4843
  }
4822
4844
  return n.copy_;
4823
4845
  }
4824
- function Xs(e, t, n = !1) {
4825
- !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && js(t, n);
4846
+ function Zs(e, t, n = !1) {
4847
+ !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Ms(t, n);
4826
4848
  }
4827
- function Zs(e) {
4849
+ function Qs(e) {
4828
4850
  e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
4829
4851
  }
4830
- var Qs = (e, t) => e.scope_ === t, $s = [];
4831
- function ec(e, t, n, r) {
4852
+ var $s = (e, t) => e.scope_ === t, ec = [];
4853
+ function tc(e, t, n, r) {
4832
4854
  let i = Q(e), a = e.type_;
4833
- if (r !== void 0 && bs(i, r, a) === t) {
4834
- xs(i, r, n, a);
4855
+ if (r !== void 0 && xs(i, r, a) === t) {
4856
+ Ss(i, r, n, a);
4835
4857
  return;
4836
4858
  }
4837
4859
  if (!e.draftLocations_) {
4838
4860
  let t = e.draftLocations_ = /* @__PURE__ */ new Map();
4839
- _s(i, (e, n) => {
4861
+ vs(i, (e, n) => {
4840
4862
  if (Y(n)) {
4841
4863
  let r = t.get(n) || [];
4842
4864
  r.push(e), t.set(n, r);
4843
4865
  }
4844
4866
  });
4845
4867
  }
4846
- let o = e.draftLocations_.get(t) ?? $s;
4847
- for (let e of o) xs(i, e, n, a);
4868
+ let o = e.draftLocations_.get(t) ?? ec;
4869
+ for (let e of o) Ss(i, e, n, a);
4848
4870
  }
4849
- function tc(e, t, n) {
4871
+ function nc(e, t, n) {
4850
4872
  e.callbacks_.push(function(r) {
4851
4873
  let i = t;
4852
- if (!i || !Qs(i, r)) return;
4874
+ if (!i || !$s(i, r)) return;
4853
4875
  r.mapSetPlugin_?.fixSetContents(i);
4854
- let a = ks(i);
4855
- ec(e, i.draft_ ?? i, a, n), nc(i, r);
4876
+ let a = As(i);
4877
+ tc(e, i.draft_ ?? i, a, n), rc(i, r);
4856
4878
  });
4857
4879
  }
4858
- function nc(e, t) {
4880
+ function rc(e, t) {
4859
4881
  if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
4860
4882
  let { patchPlugin_: n } = t;
4861
4883
  if (n) {
4862
4884
  let r = n.getPath(e);
4863
4885
  r && n.generatePatches_(e, r, t);
4864
4886
  }
4865
- Zs(e);
4887
+ Qs(e);
4866
4888
  }
4867
4889
  }
4868
- function rc(e, t, n) {
4890
+ function ic(e, t, n) {
4869
4891
  let { scope_: r } = e;
4870
4892
  if (Y(n)) {
4871
4893
  let i = n[G];
4872
- Qs(i, r) && i.callbacks_.push(function() {
4873
- fc(e), ec(e, n, ks(i), t);
4894
+ $s(i, r) && i.callbacks_.push(function() {
4895
+ pc(e), tc(e, n, As(i), t);
4874
4896
  });
4875
4897
  } else X(n) && e.callbacks_.push(function() {
4876
4898
  let i = Q(e);
4877
- e.type_ === 3 ? i.has(n) && ic(n, r.handledSet_, r) : bs(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && ic(bs(e.copy_, t, e.type_), r.handledSet_, r);
4899
+ e.type_ === 3 ? i.has(n) && ac(n, r.handledSet_, r) : xs(i, t, e.type_) === n && r.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && ac(xs(e.copy_, t, e.type_), r.handledSet_, r);
4878
4900
  });
4879
4901
  }
4880
- function ic(e, t, n) {
4881
- return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || Y(e) || t.has(e) || !X(e) || Ps(e) ? e : (t.add(e), _s(e, (r, i) => {
4902
+ function ac(e, t, n) {
4903
+ return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || Y(e) || t.has(e) || !X(e) || Fs(e) ? e : (t.add(e), vs(e, (r, i) => {
4882
4904
  if (Y(i)) {
4883
4905
  let t = i[G];
4884
- Qs(t, n) && (xs(e, r, ks(t), e.type_), Zs(t));
4885
- } else X(i) && ic(i, t, n);
4906
+ $s(t, n) && (Ss(e, r, As(t), e.type_), Qs(t));
4907
+ } else X(i) && ac(i, t, n);
4886
4908
  }), e);
4887
4909
  }
4888
- function ac(e, t) {
4889
- let n = Cs(e), r = {
4910
+ function oc(e, t) {
4911
+ let n = ws(e), r = {
4890
4912
  type_: n ? 1 : 0,
4891
- scope_: t ? t.scope_ : Vs(),
4913
+ scope_: t ? t.scope_ : Hs(),
4892
4914
  modified_: !1,
4893
4915
  finalized_: !1,
4894
4916
  assigned_: void 0,
@@ -4899,23 +4921,23 @@ function ac(e, t) {
4899
4921
  revoke_: null,
4900
4922
  isManual_: !1,
4901
4923
  callbacks_: void 0
4902
- }, i = r, a = oc;
4903
- n && (i = [r], a = sc);
4924
+ }, i = r, a = sc;
4925
+ n && (i = [r], a = cc);
4904
4926
  let { revoke: o, proxy: s } = Proxy.revocable(i, a);
4905
4927
  return r.draft_ = s, r.revoke_ = o, [s, r];
4906
4928
  }
4907
- var oc = {
4929
+ var sc = {
4908
4930
  get(e, t) {
4909
4931
  if (t === G) return e;
4910
4932
  let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
4911
4933
  if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
4912
4934
  let i = Q(e);
4913
- if (!ys(i, t, e.type_)) return lc(e, i, t);
4935
+ if (!bs(i, t, e.type_)) return uc(e, i, t);
4914
4936
  let a = i[t];
4915
- if (e.finalized_ || !X(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && Os(t)) return a;
4916
- if (a === cc(e.base_, t)) {
4917
- fc(e);
4918
- let n = e.type_ === 1 ? +t : t, r = mc(e.scope_, a, e, n);
4937
+ if (e.finalized_ || !X(a) || r && e.operationMethod && n?.isMutatingArrayMethod(e.operationMethod) && ks(t)) return a;
4938
+ if (a === lc(e.base_, t)) {
4939
+ pc(e);
4940
+ let n = e.type_ === 1 ? +t : t, r = hc(e.scope_, a, e, n);
4919
4941
  return e.copy_[n] = r;
4920
4942
  }
4921
4943
  return a;
@@ -4927,26 +4949,26 @@ var oc = {
4927
4949
  return Reflect.ownKeys(Q(e));
4928
4950
  },
4929
4951
  set(e, t, n) {
4930
- let r = uc(Q(e), t);
4952
+ let r = dc(Q(e), t);
4931
4953
  if (r?.set) return r.set.call(e.draft_, n), !0;
4932
4954
  if (!e.modified_) {
4933
- let r = cc(Q(e), t), i = r?.[G];
4955
+ let r = lc(Q(e), t), i = r?.[G];
4934
4956
  if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
4935
- if (Ss(n, r) && (n !== void 0 || ys(e.base_, t, e.type_))) return !0;
4936
- fc(e), dc(e);
4957
+ if (Cs(n, r) && (n !== void 0 || bs(e.base_, t, e.type_))) return !0;
4958
+ pc(e), fc(e);
4937
4959
  }
4938
- 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), rc(e, t, n), !0);
4960
+ 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), ic(e, t, n), !0);
4939
4961
  },
4940
4962
  deleteProperty(e, t) {
4941
- return fc(e), cc(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), dc(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
4963
+ return pc(e), lc(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), fc(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
4942
4964
  },
4943
4965
  getOwnPropertyDescriptor(e, t) {
4944
4966
  let n = Q(e), r = Reflect.getOwnPropertyDescriptor(n, t);
4945
4967
  return r && {
4946
- [fs]: !0,
4947
- [us]: e.type_ !== 1 || t !== "length",
4948
- [ds]: r[ds],
4949
- [ps]: n[t]
4968
+ [ps]: !0,
4969
+ [ds]: e.type_ !== 1 || t !== "length",
4970
+ [fs]: r[fs],
4971
+ [ms]: n[t]
4950
4972
  };
4951
4973
  },
4952
4974
  defineProperty() {
@@ -4958,28 +4980,28 @@ var oc = {
4958
4980
  setPrototypeOf() {
4959
4981
  K(12);
4960
4982
  }
4961
- }, sc = {};
4962
- for (let e in oc) {
4963
- let t = oc[e];
4964
- sc[e] = function() {
4983
+ }, cc = {};
4984
+ for (let e in sc) {
4985
+ let t = sc[e];
4986
+ cc[e] = function() {
4965
4987
  let e = arguments;
4966
4988
  return e[0] = e[0][0], t.apply(this, e);
4967
4989
  };
4968
4990
  }
4969
- sc.deleteProperty = function(e, t) {
4970
- return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && K(13), sc.set.call(this, e, t, void 0);
4971
- }, sc.set = function(e, t, n) {
4972
- return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && K(14), oc.set.call(this, e[0], t, n, e[0]);
4991
+ cc.deleteProperty = function(e, t) {
4992
+ return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && K(13), cc.set.call(this, e, t, void 0);
4993
+ }, cc.set = function(e, t, n) {
4994
+ return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && K(14), sc.set.call(this, e[0], t, n, e[0]);
4973
4995
  };
4974
- function cc(e, t) {
4996
+ function lc(e, t) {
4975
4997
  let n = e[G];
4976
4998
  return (n ? Q(n) : e)[t];
4977
4999
  }
4978
- function lc(e, t, n) {
4979
- let r = uc(t, n);
4980
- return r ? ps in r ? r[ps] : r.get?.call(e.draft_) : void 0;
5000
+ function uc(e, t, n) {
5001
+ let r = dc(t, n);
5002
+ return r ? ms in r ? r[ms] : r.get?.call(e.draft_) : void 0;
4981
5003
  }
4982
- function uc(e, t) {
5004
+ function dc(e, t) {
4983
5005
  if (!(t in e)) return;
4984
5006
  let n = J(e);
4985
5007
  for (; n;) {
@@ -4988,13 +5010,13 @@ function uc(e, t) {
4988
5010
  n = J(n);
4989
5011
  }
4990
5012
  }
4991
- function dc(e) {
4992
- e.modified_ || (e.modified_ = !0, e.parent_ && dc(e.parent_));
4993
- }
4994
5013
  function fc(e) {
4995
- e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), As(e.base_, e.scope_.immer_.useStrictShallowCopy_));
5014
+ e.modified_ || (e.modified_ = !0, e.parent_ && fc(e.parent_));
4996
5015
  }
4997
- var pc = class {
5016
+ function pc(e) {
5017
+ e.copy_ ||= (e.assigned_ = /* @__PURE__ */ new Map(), js(e.base_, e.scope_.immer_.useStrictShallowCopy_));
5018
+ }
5019
+ var mc = class {
4998
5020
  constructor(e) {
4999
5021
  this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (e, t, n) => {
5000
5022
  if (Z(e) && !Z(t)) {
@@ -5008,17 +5030,17 @@ var pc = class {
5008
5030
  Z(t) || K(6), n !== void 0 && !Z(n) && K(7);
5009
5031
  let r;
5010
5032
  if (X(e)) {
5011
- let i = Ks(this), a = mc(i, e, void 0), o = !0;
5033
+ let i = qs(this), a = hc(i, e, void 0), o = !0;
5012
5034
  try {
5013
5035
  r = t(a), o = !1;
5014
5036
  } finally {
5015
- o ? Ws(i) : Gs(i);
5037
+ o ? Gs(i) : Ks(i);
5016
5038
  }
5017
- return Us(i, n), Js(r, i);
5018
- } else if (!e || !Es(e)) {
5019
- if (r = t(e), r === void 0 && (r = e), r === as && (r = void 0), this.autoFreeze_ && js(r, !0), n) {
5039
+ return Ws(i, n), Ys(r, i);
5040
+ } else if (!e || !Ds(e)) {
5041
+ if (r = t(e), r === void 0 && (r = e), r === os && (r = void 0), this.autoFreeze_ && Ms(r, !0), n) {
5020
5042
  let t = [], i = [];
5021
- $(Is).generateReplacementPatches_(e, r, {
5043
+ $(Ls).generateReplacementPatches_(e, r, {
5022
5044
  patches_: t,
5023
5045
  inversePatches_: i
5024
5046
  }), n(t, i);
@@ -5035,18 +5057,18 @@ var pc = class {
5035
5057
  n,
5036
5058
  r
5037
5059
  ];
5038
- }, Ds(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), Ds(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), Ds(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
5060
+ }, Os(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), Os(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), Os(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
5039
5061
  }
5040
5062
  createDraft(e) {
5041
- X(e) || K(8), Y(e) && (e = hc(e));
5042
- let t = Ks(this), n = mc(t, e, void 0);
5043
- return n[G].isManual_ = !0, Gs(t), n;
5063
+ X(e) || K(8), Y(e) && (e = gc(e));
5064
+ let t = qs(this), n = hc(t, e, void 0);
5065
+ return n[G].isManual_ = !0, Ks(t), n;
5044
5066
  }
5045
5067
  finishDraft(e, t) {
5046
5068
  let n = e && e[G];
5047
5069
  (!n || !n.isManual_) && K(9);
5048
5070
  let { scope_: r } = n;
5049
- return Us(r, t), Js(void 0, r);
5071
+ return Ws(r, t), Ys(void 0, r);
5050
5072
  }
5051
5073
  setAutoFreeze(e) {
5052
5074
  this.autoFreeze_ = e;
@@ -5070,37 +5092,37 @@ var pc = class {
5070
5092
  }
5071
5093
  }
5072
5094
  n > -1 && (t = t.slice(n + 1));
5073
- let r = $(Is).applyPatches_;
5095
+ let r = $(Ls).applyPatches_;
5074
5096
  return Y(e) ? r(e, t) : this.produce(e, (e) => r(e, t));
5075
5097
  }
5076
5098
  };
5077
- function mc(e, t, n, r) {
5078
- let [i, a] = ws(t) ? $(Fs).proxyMap_(t, n) : Ts(t) ? $(Fs).proxySet_(t, n) : ac(t, n);
5079
- return (n?.scope_ ?? Vs()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? tc(n, a, r) : a.callbacks_.push(function(e) {
5099
+ function hc(e, t, n, r) {
5100
+ let [i, a] = Ts(t) ? $(Is).proxyMap_(t, n) : Es(t) ? $(Is).proxySet_(t, n) : oc(t, n);
5101
+ return (n?.scope_ ?? Hs()).drafts_.push(i), a.callbacks_ = n?.callbacks_ ?? [], a.key_ = r, n && r !== void 0 ? nc(n, a, r) : a.callbacks_.push(function(e) {
5080
5102
  e.mapSetPlugin_?.fixSetContents(a);
5081
5103
  let { patchPlugin_: t } = e;
5082
5104
  a.modified_ && t && t.generatePatches_(a, [], e);
5083
5105
  }), i;
5084
5106
  }
5085
- function hc(e) {
5086
- return Y(e) || K(10, e), gc(e);
5087
- }
5088
5107
  function gc(e) {
5089
- if (!X(e) || Ps(e)) return e;
5108
+ return Y(e) || K(10, e), _c(e);
5109
+ }
5110
+ function _c(e) {
5111
+ if (!X(e) || Fs(e)) return e;
5090
5112
  let t = e[G], n, r = !0;
5091
5113
  if (t) {
5092
5114
  if (!t.modified_) return t.base_;
5093
- t.finalized_ = !0, n = As(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
5094
- } else n = As(e, !0);
5095
- return _s(n, (e, t) => {
5096
- xs(n, e, gc(t));
5115
+ t.finalized_ = !0, n = js(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
5116
+ } else n = js(e, !0);
5117
+ return vs(n, (e, t) => {
5118
+ Ss(n, e, _c(t));
5097
5119
  }, r), t && (t.finalized_ = !1), n;
5098
5120
  }
5099
- new pc().produce;
5100
- var _c = (e) => e;
5121
+ new mc().produce;
5122
+ var vc = (e) => e;
5101
5123
  //#endregion
5102
5124
  //#region src/state/generics/genericEntitySlice.ts
5103
- function vc(e, t, n, r) {
5125
+ function yc(e, t, n, r) {
5104
5126
  let i = tt({
5105
5127
  name: e,
5106
5128
  initialState: {
@@ -5122,7 +5144,7 @@ function vc(e, t, n, r) {
5122
5144
  if (r) --e.entities.count, e.entities.data = e.entities.data?.filter((e) => e.id !== r);
5123
5145
  else if (n) {
5124
5146
  let t = e.entities.data?.findIndex((e) => e.id === n.id);
5125
- t !== void 0 && t !== -1 ? e.entities.data && (e.entities.data[t] = _c(n)) : (e.entities.count += 1, e.entities.data = [_c(n), ...e.entities.data ?? []]);
5147
+ t !== void 0 && t !== -1 ? e.entities.data && (e.entities.data[t] = vc(n)) : (e.entities.count += 1, e.entities.data = [vc(n), ...e.entities.data ?? []]);
5126
5148
  }
5127
5149
  },
5128
5150
  ...r || {}
@@ -5149,4 +5171,4 @@ function vc(e, t, n, r) {
5149
5171
  };
5150
5172
  }
5151
5173
  //#endregion
5152
- export { Ea as Alert, ka as AlertAction, Oa as AlertDescription, pa as AlertDialog, Ca as AlertDialogAction, wa as AlertDialogCancel, _a as AlertDialogContent, Sa as AlertDialogDescription, ya as AlertDialogFooter, va as AlertDialogHeader, ba as AlertDialogMedia, ga as AlertDialogOverlay, ha as AlertDialogPortal, xa as AlertDialogTitle, ma as AlertDialogTrigger, Da as AlertTitle, Zi as Avatar, ea as AvatarBadge, $i as AvatarFallback, ta as AvatarGroup, na as AvatarGroupCount, Qi as AvatarImage, ja as Badge, Bt as BaseInput, Ma as Breadcrumb, Ra as BreadcrumbEllipsis, Pa as BreadcrumbItem, Fa as BreadcrumbLink, Na as BreadcrumbList, Ia as BreadcrumbPage, La as BreadcrumbSeparator, F as Button, Ot as Calendar, kt as CalendarDayButton, ln as Card, pn as CardAction, mn as CardContent, fn as CardDescription, hn as CardFooter, un as CardHeader, dn as CardTitle, vn as Carousel, yn as CarouselContent, bn as CarouselItem, Sn as CarouselNext, xn as CarouselPrevious, gt as ChangeDialog, Ha as ChartContainer, Ka as ChartLegend, qa as ChartLegendContent, Ua as ChartStyle, Wa as ChartTooltip, Ga as ChartTooltipContent, Ya as Checkbox, Xa as Combobox, uo as ComboboxChip, lo as ComboboxChips, fo as ComboboxChipsInput, oo as ComboboxCollection, to as ComboboxContent, so as ComboboxEmpty, io as ComboboxGroup, eo as ComboboxInput, ro as ComboboxItem, ao as ComboboxLabel, no as ComboboxList, co as ComboboxSeparator, Qa as ComboboxTrigger, Za as ComboboxValue, Vi as Command, Hi as CommandDialog, Gi as CommandEmpty, Ki as CommandGroup, Ui as CommandInput, Ji as CommandItem, Wi as CommandList, qi as CommandSeparator, Yi as CommandShortcut, Qn as ContextMenu, cr as ContextMenuCheckboxItem, ir as ContextMenuContent, er as ContextMenuGroup, ar as ContextMenuItem, ur as ContextMenuLabel, tr as ContextMenuPortal, rr as ContextMenuRadioGroup, lr as ContextMenuRadioItem, dr as ContextMenuSeparator, fr as ContextMenuShortcut, nr as ContextMenuSub, sr as ContextMenuSubContent, or as ContextMenuSubTrigger, $n as ContextMenuTrigger, qn as CrudEmptyTablePreview, Mi as CrudPage, Zn as CrudTable, pr as CrudTableBodyRow, mr as CrudTableCard, hr as CrudTableHeader, gr as CrudTableHeaderRows, Ai as CrudTablePagination, ji as CrudTableRowActionsMenu, zt as DateField, Lt as DateInput, Ht as DateTimeField, Vt as DateTimeInput, _t as DeleteDialog, I as Dialog, lt as DialogClose, dt as DialogContent, ht as DialogDescription, pt as DialogFooter, ft as DialogHeader, ut as DialogOverlay, ct as DialogPortal, mt as DialogTitle, st as DialogTrigger, mo as DirectionProvider, go as Drawer, yo as DrawerClose, xo as DrawerContent, To as DrawerDescription, Co as DrawerFooter, So as DrawerHeader, bo as DrawerOverlay, vo as DrawerPortal, wo as DrawerTitle, _o as DrawerTrigger, wr as DropdownMenu, kr as DropdownMenuCheckboxItem, Dr as DropdownMenuContent, Or as DropdownMenuGroup, V as DropdownMenuItem, Mr as DropdownMenuLabel, Tr as DropdownMenuPortal, Ar as DropdownMenuRadioGroup, jr as DropdownMenuRadioItem, Nr as DropdownMenuSeparator, Pr as DropdownMenuShortcut, Fr as DropdownMenuSub, Lr as DropdownMenuSubContent, Ir as DropdownMenuSubTrigger, Er as DropdownMenuTrigger, ot as DynamicListContainer, Bn as Empty, Kn as EmptyContent, Gn as EmptyDescription, Vn as EmptyHeader, Un as EmptyMedia, Wn as EmptyTitle, Ao as Field, jo as FieldContent, Po as FieldDescription, Io as FieldError, Oo as FieldGroup, Mo as FieldLabel, Do as FieldLegend, Fo as FieldSeparator, Eo as FieldSet, No as FieldTitle, Wt as FieldsSection, z as FormField, B as Input, Gt as InputField, Ni as InputGroup, Fi as InputGroupAddon, Li as InputGroupButton, zi as InputGroupInput, Ri as InputGroupText, Bi as InputGroupTextarea, Rt as Label, kn as Lightbox, fa as Loading, qt as NumberField, Kt as NumberInput, _r as Pagination, vr as PaginationContent, Cr as PaginationEllipsis, yr as PaginationItem, br as PaginationLink, Sr as PaginationNext, xr as PaginationPrevious, Jt as PasswordField, Yt as PhoneField, At as Popover, Nt as PopoverAnchor, Mt as PopoverContent, It as PopoverDescription, Pt as PopoverHeader, Ft as PopoverTitle, jt as PopoverTrigger, nt as ProtectedRoute, at as SaveButton, Lo as ScrollArea, Ro as ScrollBar, jn as SearchInput, Xi as SearchableSelect, Xt as Select, en as SelectContent, cn as SelectField, Zt as SelectGroup, sn as SelectInput, nn as SelectItem, tn as SelectLabel, on as SelectScrollDownButton, an as SelectScrollUpButton, rn as SelectSeparator, $t as SelectTrigger, Qt as SelectValue, L as Separator, Br as Sheet, Hr as SheetClose, Gr as SheetContent, Yr as SheetDescription, qr as SheetFooter, Kr as SheetHeader, Jr as SheetTitle, Vr as SheetTrigger, ra as SideBarCompanyData, aa as SideBarMainMenu, ua as SideBarSecondaryMenu, da as SideBarUserData, li as Sidebar, _i as SidebarContent, hi as SidebarFooter, vi as SidebarGroup, bi as SidebarGroupAction, xi as SidebarGroupContent, yi as SidebarGroupLabel, mi as SidebarHeader, pi as SidebarInput, fi as SidebarInset, ia as SidebarLogo, Si as SidebarMenu, wi as SidebarMenuAction, Ti as SidebarMenuBadge, W as SidebarMenuButton, U as SidebarMenuItem, Ei as SidebarMenuSkeleton, Di as SidebarMenuSub, ki as SidebarMenuSubButton, Oi as SidebarMenuSubItem, ci as SidebarProvider, di as SidebarRail, gi as SidebarSeparator, ui as SidebarTrigger, Xr as Skeleton, wn as StorageFileField, Bo as Switch, Mn as Table, Pn as TableBody, zn as TableCaption, Rn as TableCell, Fn as TableFooter, Ln as TableHead, Nn as TableHeader, In as TableRow, Vo as Tabs, Go as TabsContent, Uo as TabsList, Wo as TabsTrigger, Dn as TextAreaField, En as TextAreaInput, On as TextField, Tn as Textarea, sa as ThemeProvider, la as ThemeToggle, Ut as TitleSeparator, zo as Toaster, qo as Toggle, Yo as ToggleGroup, Xo as ToggleGroupItem, Qr as Tooltip, ei as TooltipContent, Zr as TooltipProvider, $r as TooltipTrigger, rt as YusrBusBackground, An as ZoomableImage, Aa as badgeVariants, it as buttonVariants, P as cn, is as createGenericDialogSlice, vc as createGenericEntitySlice, Cn as isPDF, rs as setupAuthListeners, Ho as tabsListVariants, Ko as toggleVariants, _n as useCarousel, po as useComboboxAnchor, Zo as useDialog, ho as useDirection, Qo as useDynamicList, es as useEntityForm, $o as useFormValidation, zr as useIsMobile, ts as useLightBox, H as useSidebar, ns as useStorageFile, ca as useTheme };
5174
+ export { Da as Alert, Aa as AlertAction, ka as AlertDescription, ma as AlertDialog, wa as AlertDialogAction, Ta as AlertDialogCancel, va as AlertDialogContent, Ca as AlertDialogDescription, ba as AlertDialogFooter, ya as AlertDialogHeader, xa as AlertDialogMedia, _a as AlertDialogOverlay, ga as AlertDialogPortal, Sa as AlertDialogTitle, ha as AlertDialogTrigger, Oa as AlertTitle, Zi as Avatar, ea as AvatarBadge, $i as AvatarFallback, ta as AvatarGroup, na as AvatarGroupCount, Qi as AvatarImage, Ma as Badge, Vt as BaseInput, Na as Breadcrumb, za as BreadcrumbEllipsis, Fa as BreadcrumbItem, Ia as BreadcrumbLink, Pa as BreadcrumbList, La as BreadcrumbPage, Ra as BreadcrumbSeparator, F as Button, kt as Calendar, At as CalendarDayButton, un as Card, mn as CardAction, hn as CardContent, pn as CardDescription, gn as CardFooter, dn as CardHeader, fn as CardTitle, yn as Carousel, bn as CarouselContent, xn as CarouselItem, Cn as CarouselNext, Sn as CarouselPrevious, gt as ChangeDialog, Ua as ChartContainer, qa as ChartLegend, Ja as ChartLegendContent, Wa as ChartStyle, Ga as ChartTooltip, Ka as ChartTooltipContent, Xa as Checkbox, Za as Combobox, fo as ComboboxChip, uo as ComboboxChips, po as ComboboxChipsInput, so as ComboboxCollection, no as ComboboxContent, co as ComboboxEmpty, ao as ComboboxGroup, to as ComboboxInput, io as ComboboxItem, oo as ComboboxLabel, ro as ComboboxList, lo as ComboboxSeparator, $a as ComboboxTrigger, Qa as ComboboxValue, Vi as Command, Hi as CommandDialog, Gi as CommandEmpty, Ki as CommandGroup, Ui as CommandInput, Ji as CommandItem, Wi as CommandList, qi as CommandSeparator, Yi as CommandShortcut, $n as ContextMenu, lr as ContextMenuCheckboxItem, ar as ContextMenuContent, tr as ContextMenuGroup, or as ContextMenuItem, dr as ContextMenuLabel, nr as ContextMenuPortal, ir as ContextMenuRadioGroup, ur as ContextMenuRadioItem, fr as ContextMenuSeparator, pr as ContextMenuShortcut, rr as ContextMenuSub, cr as ContextMenuSubContent, sr as ContextMenuSubTrigger, er as ContextMenuTrigger, Jn as CrudEmptyTablePreview, Mi as CrudPage, Qn as CrudTable, mr as CrudTableBodyRow, hr as CrudTableCard, gr as CrudTableHeader, _r as CrudTableHeaderRows, Ai as CrudTablePagination, ji as CrudTableRowActionsMenu, Bt as DateField, Rt as DateInput, Ut as DateTimeField, Ht as DateTimeInput, _t as DeleteDialog, I as Dialog, lt as DialogClose, dt as DialogContent, ht as DialogDescription, pt as DialogFooter, ft as DialogHeader, ut as DialogOverlay, ct as DialogPortal, mt as DialogTitle, st as DialogTrigger, ho as DirectionProvider, _o as Drawer, bo as DrawerClose, So as DrawerContent, Eo as DrawerDescription, wo as DrawerFooter, Co as DrawerHeader, xo as DrawerOverlay, yo as DrawerPortal, To as DrawerTitle, vo as DrawerTrigger, Tr as DropdownMenu, Ar as DropdownMenuCheckboxItem, Or as DropdownMenuContent, kr as DropdownMenuGroup, B as DropdownMenuItem, Nr as DropdownMenuLabel, Er as DropdownMenuPortal, jr as DropdownMenuRadioGroup, Mr as DropdownMenuRadioItem, Pr as DropdownMenuSeparator, Fr as DropdownMenuShortcut, Ir as DropdownMenuSub, Rr as DropdownMenuSubContent, Lr as DropdownMenuSubTrigger, Dr as DropdownMenuTrigger, ot as DynamicListContainer, Vn as Empty, qn as EmptyContent, Kn as EmptyDescription, Hn as EmptyHeader, Wn as EmptyMedia, Gn as EmptyTitle, jo as Field, Mo as FieldContent, Fo as FieldDescription, Lo as FieldError, ko as FieldGroup, No as FieldLabel, Oo as FieldLegend, Io as FieldSeparator, Do as FieldSet, Po as FieldTitle, Gt as FieldsSection, R as FormField, z as Input, Kt as InputField, Ni as InputGroup, Fi as InputGroupAddon, Li as InputGroupButton, zi as InputGroupInput, Ri as InputGroupText, Bi as InputGroupTextarea, zt as Label, An as Lightbox, pa as Loading, Jt as NumberField, qt as NumberInput, vr as Pagination, yr as PaginationContent, wr as PaginationEllipsis, br as PaginationItem, xr as PaginationLink, Cr as PaginationNext, Sr as PaginationPrevious, Yt as PasswordField, Xt as PhoneField, jt as Popover, Pt as PopoverAnchor, Nt as PopoverContent, Lt as PopoverDescription, Ft as PopoverHeader, It as PopoverTitle, Mt as PopoverTrigger, nt as ProtectedRoute, at as SaveButton, Ro as ScrollArea, zo as ScrollBar, Mn as SearchInput, Xi as SearchableSelect, Zt as Select, tn as SelectContent, ln as SelectField, Qt as SelectGroup, cn as SelectInput, rn as SelectItem, nn as SelectLabel, sn as SelectScrollDownButton, on as SelectScrollUpButton, an as SelectSeparator, en as SelectTrigger, $t as SelectValue, L as Separator, Vr as Sheet, Ur as SheetClose, Kr as SheetContent, Xr as SheetDescription, Jr as SheetFooter, qr as SheetHeader, Yr as SheetTitle, Hr as SheetTrigger, ra as SideBarCompanyData, aa as SideBarMainMenu, ua as SideBarSecondaryMenu, da as SideBarUserData, ui as Sidebar, vi as SidebarContent, gi as SidebarFooter, yi as SidebarGroup, xi as SidebarGroupAction, Si as SidebarGroupContent, bi as SidebarGroupLabel, hi as SidebarHeader, mi as SidebarInput, pi as SidebarInset, ia as SidebarLogo, H as SidebarMenu, wi as SidebarMenuAction, Ti as SidebarMenuBadge, W as SidebarMenuButton, U as SidebarMenuItem, Ei as SidebarMenuSkeleton, Di as SidebarMenuSub, ki as SidebarMenuSubButton, Oi as SidebarMenuSubItem, li as SidebarProvider, fi as SidebarRail, _i as SidebarSeparator, di as SidebarTrigger, Zr as Skeleton, Tn as StorageFileField, Vo as Switch, Nn as Table, Fn as TableBody, Bn as TableCaption, zn as TableCell, In as TableFooter, Rn as TableHead, Pn as TableHeader, Ln as TableRow, Ho as Tabs, Ko as TabsContent, Wo as TabsList, Go as TabsTrigger, On as TextAreaField, Dn as TextAreaInput, kn as TextField, En as Textarea, sa as ThemeProvider, la as ThemeToggle, Wt as TitleSeparator, Bo as Toaster, Jo as Toggle, Xo as ToggleGroup, Zo as ToggleGroupItem, $r as Tooltip, ti as TooltipContent, Qr as TooltipProvider, ei as TooltipTrigger, rt as YusrBusBackground, fa as YusrSideBarMainMenu, jn as ZoomableImage, ja as badgeVariants, it as buttonVariants, P as cn, as as createGenericDialogSlice, yc as createGenericEntitySlice, wn as isPDF, is as setupAuthListeners, Uo as tabsListVariants, qo as toggleVariants, vn as useCarousel, mo as useComboboxAnchor, Qo as useDialog, go as useDirection, $o as useDynamicList, ts as useEntityForm, es as useFormValidation, Br as useIsMobile, ns as useLightBox, V as useSidebar, rs as useStorageFile, ca as useTheme };