@yusr_systems/ui 6.0.16 → 6.0.18

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
@@ -1358,21 +1358,34 @@ function tn({ label: e, error: t, isInvalid: n, required: r, ...i }) {
1358
1358
  }
1359
1359
  //#endregion
1360
1360
  //#region src/components/custom/inputs/numberInput.tsx
1361
- function nn({ onChange: e, min: t, max: n, isInvalid: r, className: i, ...o }) {
1362
- return /* @__PURE__ */ a(z, {
1363
- ...o,
1361
+ function nn({ value: e, onChange: t, min: n, max: r, isInvalid: i, className: o, ...s }) {
1362
+ let [c, l] = x(e ?? "");
1363
+ return je(() => {
1364
+ l(e ?? "");
1365
+ }, [e]), /* @__PURE__ */ a(z, {
1366
+ ...s,
1364
1367
  type: "number",
1365
- min: t,
1366
- max: n,
1367
- className: P(i, r && "border-red-600 ring-red-600 text-red-900"),
1368
- onChange: (r) => {
1369
- let i = r.target.value;
1370
- if (i === "") {
1371
- e?.(void 0);
1368
+ min: n,
1369
+ max: r,
1370
+ value: c,
1371
+ className: P(o, i && "border-red-600 ring-red-600 text-red-900"),
1372
+ onChange: (e) => {
1373
+ let i = e.target.value;
1374
+ if (l(i), i === "") {
1375
+ t?.(void 0);
1372
1376
  return;
1373
1377
  }
1378
+ if (i === "-" || i === "-0" || i.endsWith(".")) return;
1374
1379
  let a = Number(i);
1375
- t !== void 0 && a < Number(t) && (a = Number(t)), n !== void 0 && a > Number(n) && (a = Number(n)), e?.(a);
1380
+ isNaN(a) || (n !== void 0 && a < Number(n) && (a = Number(n), l(a)), r !== void 0 && a > Number(r) && (a = Number(r), l(a)), t?.(a));
1381
+ },
1382
+ onBlur: (e) => {
1383
+ if (c === "-" || c === "-0") l(""), t?.(void 0);
1384
+ else if (typeof c == "string" && c.endsWith(".")) {
1385
+ let e = Number(c);
1386
+ l(isNaN(e) ? "" : e);
1387
+ }
1388
+ s.onBlur?.(e);
1376
1389
  }
1377
1390
  });
1378
1391
  }
@@ -2654,12 +2667,12 @@ function li({ className: e, sideOffset: t = 0, children: n, ...r }) {
2654
2667
  //#endregion
2655
2668
  //#region src/components/pure/sidebar.tsx
2656
2669
  var ui = "sidebar_state", di = 3600 * 24 * 7, fi = "16rem", pi = "18rem", mi = "3rem", hi = "b", gi = y.createContext(null);
2657
- function _i() {
2670
+ function H() {
2658
2671
  let e = y.useContext(gi);
2659
2672
  if (!e) throw Error("useSidebar must be used within a SidebarProvider.");
2660
2673
  return e;
2661
2674
  }
2662
- function vi({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: o, ...s }) {
2675
+ function _i({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style: i, children: o, ...s }) {
2663
2676
  let c = Yr(), [l, u] = y.useState(!1), [d, f] = y.useState(e), p = t ?? d, m = y.useCallback((e) => {
2664
2677
  let t = typeof e == "function" ? e(p) : e;
2665
2678
  n ? n(t) : f(t), document.cookie = `${ui}=${t}; path=/; max-age=${di}`;
@@ -2706,8 +2719,8 @@ function vi({ defaultOpen: e = !0, open: t, onOpenChange: n, className: r, style
2706
2719
  })
2707
2720
  });
2708
2721
  }
2709
- function yi({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: s, ...c }) {
2710
- let { isMobile: l, state: u, openMobile: d, setOpenMobile: f } = _i();
2722
+ function vi({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", className: r, children: i, dir: s, ...c }) {
2723
+ let { isMobile: l, state: u, openMobile: d, setOpenMobile: f } = H();
2711
2724
  return n === "none" ? /* @__PURE__ */ a("div", {
2712
2725
  "data-slot": "sidebar",
2713
2726
  className: P("bg-sidebar text-sidebar-foreground flex h-full w-(--sidebar-width) flex-col", r),
@@ -2757,8 +2770,8 @@ function yi({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
2757
2770
  })]
2758
2771
  });
2759
2772
  }
2760
- function bi({ className: e, onClick: t, ...n }) {
2761
- let { toggleSidebar: r } = _i();
2773
+ function yi({ className: e, onClick: t, ...n }) {
2774
+ let { toggleSidebar: r } = H();
2762
2775
  return /* @__PURE__ */ o(F, {
2763
2776
  "data-sidebar": "trigger",
2764
2777
  "data-slot": "sidebar-trigger",
@@ -2775,8 +2788,8 @@ function bi({ className: e, onClick: t, ...n }) {
2775
2788
  })]
2776
2789
  });
2777
2790
  }
2778
- function xi({ className: e, ...t }) {
2779
- let { toggleSidebar: n } = _i();
2791
+ function bi({ className: e, ...t }) {
2792
+ let { toggleSidebar: n } = H();
2780
2793
  return /* @__PURE__ */ a("button", {
2781
2794
  "data-sidebar": "rail",
2782
2795
  "data-slot": "sidebar-rail",
@@ -2788,14 +2801,14 @@ function xi({ className: e, ...t }) {
2788
2801
  ...t
2789
2802
  });
2790
2803
  }
2791
- function Si({ className: e, ...t }) {
2804
+ function xi({ className: e, ...t }) {
2792
2805
  return /* @__PURE__ */ a("main", {
2793
2806
  "data-slot": "sidebar-inset",
2794
2807
  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),
2795
2808
  ...t
2796
2809
  });
2797
2810
  }
2798
- function Ci({ className: e, ...t }) {
2811
+ function Si({ className: e, ...t }) {
2799
2812
  return /* @__PURE__ */ a(z, {
2800
2813
  "data-slot": "sidebar-input",
2801
2814
  "data-sidebar": "input",
@@ -2803,7 +2816,7 @@ function Ci({ className: e, ...t }) {
2803
2816
  ...t
2804
2817
  });
2805
2818
  }
2806
- function wi({ className: e, ...t }) {
2819
+ function Ci({ className: e, ...t }) {
2807
2820
  return /* @__PURE__ */ a("div", {
2808
2821
  "data-slot": "sidebar-header",
2809
2822
  "data-sidebar": "header",
@@ -2811,7 +2824,7 @@ function wi({ className: e, ...t }) {
2811
2824
  ...t
2812
2825
  });
2813
2826
  }
2814
- function Ti({ className: e, ...t }) {
2827
+ function wi({ className: e, ...t }) {
2815
2828
  return /* @__PURE__ */ a("div", {
2816
2829
  "data-slot": "sidebar-footer",
2817
2830
  "data-sidebar": "footer",
@@ -2819,7 +2832,7 @@ function Ti({ className: e, ...t }) {
2819
2832
  ...t
2820
2833
  });
2821
2834
  }
2822
- function Ei({ className: e, ...t }) {
2835
+ function Ti({ className: e, ...t }) {
2823
2836
  return /* @__PURE__ */ a(L, {
2824
2837
  "data-slot": "sidebar-separator",
2825
2838
  "data-sidebar": "separator",
@@ -2827,7 +2840,7 @@ function Ei({ className: e, ...t }) {
2827
2840
  ...t
2828
2841
  });
2829
2842
  }
2830
- function Di({ className: e, ...t }) {
2843
+ function Ei({ className: e, ...t }) {
2831
2844
  return /* @__PURE__ */ a("div", {
2832
2845
  "data-slot": "sidebar-content",
2833
2846
  "data-sidebar": "content",
@@ -2835,7 +2848,7 @@ function Di({ className: e, ...t }) {
2835
2848
  ...t
2836
2849
  });
2837
2850
  }
2838
- function Oi({ className: e, ...t }) {
2851
+ function Di({ className: e, ...t }) {
2839
2852
  return /* @__PURE__ */ a("div", {
2840
2853
  "data-slot": "sidebar-group",
2841
2854
  "data-sidebar": "group",
@@ -2843,7 +2856,7 @@ function Oi({ className: e, ...t }) {
2843
2856
  ...t
2844
2857
  });
2845
2858
  }
2846
- function ki({ className: e, asChild: t = !1, ...n }) {
2859
+ function Oi({ className: e, asChild: t = !1, ...n }) {
2847
2860
  return /* @__PURE__ */ a(t ? C : "div", {
2848
2861
  "data-slot": "sidebar-group-label",
2849
2862
  "data-sidebar": "group-label",
@@ -2851,7 +2864,7 @@ function ki({ className: e, asChild: t = !1, ...n }) {
2851
2864
  ...n
2852
2865
  });
2853
2866
  }
2854
- function Ai({ className: e, asChild: t = !1, ...n }) {
2867
+ function ki({ className: e, asChild: t = !1, ...n }) {
2855
2868
  return /* @__PURE__ */ a(t ? C : "button", {
2856
2869
  "data-slot": "sidebar-group-action",
2857
2870
  "data-sidebar": "group-action",
@@ -2859,7 +2872,7 @@ function Ai({ className: e, asChild: t = !1, ...n }) {
2859
2872
  ...n
2860
2873
  });
2861
2874
  }
2862
- function ji({ className: e, ...t }) {
2875
+ function Ai({ className: e, ...t }) {
2863
2876
  return /* @__PURE__ */ a("div", {
2864
2877
  "data-slot": "sidebar-group-content",
2865
2878
  "data-sidebar": "group-content",
@@ -2867,7 +2880,7 @@ function ji({ className: e, ...t }) {
2867
2880
  ...t
2868
2881
  });
2869
2882
  }
2870
- function H({ className: e, ...t }) {
2883
+ function U({ className: e, ...t }) {
2871
2884
  return /* @__PURE__ */ a("ul", {
2872
2885
  "data-slot": "sidebar-menu",
2873
2886
  "data-sidebar": "menu",
@@ -2875,7 +2888,7 @@ function H({ className: e, ...t }) {
2875
2888
  ...t
2876
2889
  });
2877
2890
  }
2878
- function U({ className: e, ...t }) {
2891
+ function W({ className: e, ...t }) {
2879
2892
  return /* @__PURE__ */ a("li", {
2880
2893
  "data-slot": "sidebar-menu-item",
2881
2894
  "data-sidebar": "menu-item",
@@ -2883,7 +2896,7 @@ function U({ className: e, ...t }) {
2883
2896
  ...t
2884
2897
  });
2885
2898
  }
2886
- var Mi = S("ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-md p-2 text-start text-sm transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 data-active:font-medium peer/menu-button flex w-full items-center overflow-hidden outline-hidden group/menu-button disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&_svg]:size-6 [&_svg]:shrink-0", {
2899
+ var ji = S("ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground data-active:bg-sidebar-accent data-active:text-sidebar-accent-foreground data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground gap-2 rounded-md p-2 text-start text-sm transition-[width,height,padding] group-has-data-[sidebar=menu-action]/menu-item:pe-8 group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! focus-visible:ring-2 data-active:font-medium peer/menu-button flex w-full items-center overflow-hidden outline-hidden group/menu-button disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 [&>span:last-child]:truncate [&_svg]:size-6 [&_svg]:shrink-0", {
2887
2900
  variants: {
2888
2901
  variant: {
2889
2902
  default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
@@ -2900,13 +2913,13 @@ var Mi = S("ring-sidebar-ring hover:bg-sidebar-accent hover:text-sidebar-accent-
2900
2913
  size: "default"
2901
2914
  }
2902
2915
  });
2903
- function W({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: s, ...c }) {
2904
- let l = e ? C : "button", { isMobile: u, state: d } = _i(), f = /* @__PURE__ */ a(l, {
2916
+ function G({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: s, ...c }) {
2917
+ let l = e ? C : "button", { isMobile: u, state: d } = H(), f = /* @__PURE__ */ a(l, {
2905
2918
  "data-slot": "sidebar-menu-button",
2906
2919
  "data-sidebar": "menu-button",
2907
2920
  "data-size": r,
2908
2921
  "data-active": t,
2909
- className: P(Mi({
2922
+ className: P(ji({
2910
2923
  variant: n,
2911
2924
  size: r
2912
2925
  }), s),
@@ -2922,7 +2935,7 @@ function W({ asChild: e = !1, isActive: t = !1, variant: n = "default", size: r
2922
2935
  ...i
2923
2936
  })] })) : f;
2924
2937
  }
2925
- function Ni({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2938
+ function Mi({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2926
2939
  return /* @__PURE__ */ a(t ? C : "button", {
2927
2940
  "data-slot": "sidebar-menu-action",
2928
2941
  "data-sidebar": "menu-action",
@@ -2930,7 +2943,7 @@ function Ni({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }) {
2930
2943
  ...r
2931
2944
  });
2932
2945
  }
2933
- function Pi({ className: e, ...t }) {
2946
+ function Ni({ className: e, ...t }) {
2934
2947
  return /* @__PURE__ */ a("div", {
2935
2948
  "data-slot": "sidebar-menu-badge",
2936
2949
  "data-sidebar": "menu-badge",
@@ -2938,7 +2951,7 @@ function Pi({ className: e, ...t }) {
2938
2951
  ...t
2939
2952
  });
2940
2953
  }
2941
- function Fi({ className: e, showIcon: t = !1, ...n }) {
2954
+ function Pi({ className: e, showIcon: t = !1, ...n }) {
2942
2955
  let [r] = y.useState(() => `${Math.floor(Math.random() * 40) + 50}%`);
2943
2956
  return /* @__PURE__ */ o("div", {
2944
2957
  "data-slot": "sidebar-menu-skeleton",
@@ -2955,7 +2968,7 @@ function Fi({ className: e, showIcon: t = !1, ...n }) {
2955
2968
  })]
2956
2969
  });
2957
2970
  }
2958
- function Ii({ className: e, ...t }) {
2971
+ function Fi({ className: e, ...t }) {
2959
2972
  return /* @__PURE__ */ a("ul", {
2960
2973
  "data-slot": "sidebar-menu-sub",
2961
2974
  "data-sidebar": "menu-sub",
@@ -2963,7 +2976,7 @@ function Ii({ className: e, ...t }) {
2963
2976
  ...t
2964
2977
  });
2965
2978
  }
2966
- function Li({ className: e, ...t }) {
2979
+ function Ii({ className: e, ...t }) {
2967
2980
  return /* @__PURE__ */ a("li", {
2968
2981
  "data-slot": "sidebar-menu-sub-item",
2969
2982
  "data-sidebar": "menu-sub-item",
@@ -2971,7 +2984,7 @@ function Li({ className: e, ...t }) {
2971
2984
  ...t
2972
2985
  });
2973
2986
  }
2974
- function Ri({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
2987
+ function Li({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, ...i }) {
2975
2988
  return /* @__PURE__ */ a(e ? C : "a", {
2976
2989
  "data-slot": "sidebar-menu-sub-button",
2977
2990
  "data-sidebar": "menu-sub-button",
@@ -2983,7 +2996,7 @@ function Ri({ asChild: e = !1, size: t = "md", isActive: n = !1, className: r, .
2983
2996
  }
2984
2997
  //#endregion
2985
2998
  //#region src/components/custom/table/crudTablePagination.tsx
2986
- function zi({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2999
+ function Ri({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
2987
3000
  let i = Math.ceil(t / e);
2988
3001
  return /* @__PURE__ */ o("div", {
2989
3002
  className: "p-4 border-t bg-muted flex items-center justify-between text-sm text-muted-foreground",
@@ -3013,7 +3026,7 @@ function zi({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
3013
3026
  dir: "rtl",
3014
3027
  children: [/* @__PURE__ */ a(Ir, {
3015
3028
  asChild: !0,
3016
- children: /* @__PURE__ */ a(W, {
3029
+ children: /* @__PURE__ */ a(G, {
3017
3030
  className: "w-full h-5 justify-start gap-2 text-base",
3018
3031
  children: /* @__PURE__ */ a("span", { children: n })
3019
3032
  })
@@ -3037,7 +3050,7 @@ function zi({ pageSize: e, totalNumber: t, currentPage: n, onPageChanged: r }) {
3037
3050
  }
3038
3051
  //#endregion
3039
3052
  //#region src/components/custom/table/crudTableRowActionsMenu.tsx
3040
- function Bi({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
3053
+ function zi({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
3041
3054
  return /* @__PURE__ */ o(i, { children: [n === "dropdown" && /* @__PURE__ */ o(Pr, {
3042
3055
  dir: "rtl",
3043
3056
  children: [/* @__PURE__ */ a(Ir, {
@@ -3079,7 +3092,7 @@ function Bi({ onEditClicked: e, onDeleteClicked: t, type: n, permissions: r }) {
3079
3092
  }
3080
3093
  //#endregion
3081
3094
  //#region src/components/custom/pages/crudPage.tsx
3082
- function Vi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTitle: i, cards: s, columnsToFilter: c, actions: l, service: u, entityState: d, tableHeadRows: f, tableRowMapper: p, ChangeDialog: m, children: h }) {
3095
+ function Bi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTitle: i, cards: s, columnsToFilter: c, actions: l, service: u, entityState: d, tableHeadRows: f, tableRowMapper: p, ChangeDialog: m, children: h }) {
3083
3096
  let g = We(), { selectedRow: _, isChangeDialogOpen: v, isDeleteDialogOpen: ee } = t();
3084
3097
  return je(() => {
3085
3098
  g(l.filter(void 0));
@@ -3104,13 +3117,13 @@ function Vi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTi
3104
3117
  state: d,
3105
3118
  children: [/* @__PURE__ */ a(Er, { tableHeadRows: f }), /* @__PURE__ */ a(Wn, { children: d.entities?.data?.map((t, n) => /* @__PURE__ */ a(Cr, {
3106
3119
  tableRows: p(t),
3107
- dropdownMenu: /* @__PURE__ */ a(Bi, {
3120
+ dropdownMenu: /* @__PURE__ */ a(zi, {
3108
3121
  permissions: e,
3109
3122
  type: "dropdown",
3110
3123
  onEditClicked: () => g(l.openChangeDialog(t)),
3111
3124
  onDeleteClicked: () => g(l.openDeleteDialog(t))
3112
3125
  }),
3113
- contextMenuContent: /* @__PURE__ */ a(Bi, {
3126
+ contextMenuContent: /* @__PURE__ */ a(zi, {
3114
3127
  permissions: e,
3115
3128
  type: "context",
3116
3129
  onEditClicked: () => g(l.openChangeDialog(t)),
@@ -3118,7 +3131,7 @@ function Vi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTi
3118
3131
  })
3119
3132
  }, n)) })]
3120
3133
  }),
3121
- /* @__PURE__ */ a(zi, {
3134
+ /* @__PURE__ */ a(Ri, {
3122
3135
  pageSize: d.rowsPerPage,
3123
3136
  totalNumber: d.entities?.count ?? 0,
3124
3137
  currentPage: d.currentPage || 1,
@@ -3153,75 +3166,75 @@ function Vi({ permissions: e, useSlice: t, entityName: n, title: r, addNewItemTi
3153
3166
  }
3154
3167
  //#endregion
3155
3168
  //#region src/components/pure/alert-dialog.tsx
3156
- function Hi({ ...e }) {
3169
+ function Vi({ ...e }) {
3157
3170
  return /* @__PURE__ */ a(k.Root, {
3158
3171
  "data-slot": "alert-dialog",
3159
3172
  ...e
3160
3173
  });
3161
3174
  }
3162
- function Ui({ ...e }) {
3175
+ function Hi({ ...e }) {
3163
3176
  return /* @__PURE__ */ a(k.Trigger, {
3164
3177
  "data-slot": "alert-dialog-trigger",
3165
3178
  ...e
3166
3179
  });
3167
3180
  }
3168
- function Wi({ ...e }) {
3181
+ function Ui({ ...e }) {
3169
3182
  return /* @__PURE__ */ a(k.Portal, {
3170
3183
  "data-slot": "alert-dialog-portal",
3171
3184
  ...e
3172
3185
  });
3173
3186
  }
3174
- function Gi({ className: e, ...t }) {
3187
+ function Wi({ className: e, ...t }) {
3175
3188
  return /* @__PURE__ */ a(k.Overlay, {
3176
3189
  "data-slot": "alert-dialog-overlay",
3177
3190
  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),
3178
3191
  ...t
3179
3192
  });
3180
3193
  }
3181
- function Ki({ className: e, size: t = "default", ...n }) {
3182
- return /* @__PURE__ */ o(Wi, { children: [/* @__PURE__ */ a(Gi, {}), /* @__PURE__ */ a(k.Content, {
3194
+ function Gi({ className: e, size: t = "default", ...n }) {
3195
+ return /* @__PURE__ */ o(Ui, { children: [/* @__PURE__ */ a(Wi, {}), /* @__PURE__ */ a(k.Content, {
3183
3196
  "data-slot": "alert-dialog-content",
3184
3197
  "data-size": t,
3185
3198
  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),
3186
3199
  ...n
3187
3200
  })] });
3188
3201
  }
3189
- function qi({ className: e, ...t }) {
3202
+ function Ki({ className: e, ...t }) {
3190
3203
  return /* @__PURE__ */ a("div", {
3191
3204
  "data-slot": "alert-dialog-header",
3192
3205
  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),
3193
3206
  ...t
3194
3207
  });
3195
3208
  }
3196
- function Ji({ className: e, ...t }) {
3209
+ function qi({ className: e, ...t }) {
3197
3210
  return /* @__PURE__ */ a("div", {
3198
3211
  "data-slot": "alert-dialog-footer",
3199
3212
  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),
3200
3213
  ...t
3201
3214
  });
3202
3215
  }
3203
- function Yi({ className: e, ...t }) {
3216
+ function Ji({ className: e, ...t }) {
3204
3217
  return /* @__PURE__ */ a("div", {
3205
3218
  "data-slot": "alert-dialog-media",
3206
3219
  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),
3207
3220
  ...t
3208
3221
  });
3209
3222
  }
3210
- function Xi({ className: e, ...t }) {
3223
+ function Yi({ className: e, ...t }) {
3211
3224
  return /* @__PURE__ */ a(k.Title, {
3212
3225
  "data-slot": "alert-dialog-title",
3213
3226
  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),
3214
3227
  ...t
3215
3228
  });
3216
3229
  }
3217
- function Zi({ className: e, ...t }) {
3230
+ function Xi({ className: e, ...t }) {
3218
3231
  return /* @__PURE__ */ a(k.Description, {
3219
3232
  "data-slot": "alert-dialog-description",
3220
3233
  className: P("text-muted-foreground *:[a]:hover:text-foreground text-sm text-balance md:text-pretty *:[a]:underline *:[a]:underline-offset-3", e),
3221
3234
  ...t
3222
3235
  });
3223
3236
  }
3224
- function Qi({ className: e, variant: t = "default", size: n = "default", ...r }) {
3237
+ function Zi({ className: e, variant: t = "default", size: n = "default", ...r }) {
3225
3238
  return /* @__PURE__ */ a(F, {
3226
3239
  variant: t,
3227
3240
  size: n,
@@ -3233,7 +3246,7 @@ function Qi({ className: e, variant: t = "default", size: n = "default", ...r })
3233
3246
  })
3234
3247
  });
3235
3248
  }
3236
- function $i({ className: e, variant: t = "outline", size: n = "default", ...r }) {
3249
+ function Qi({ className: e, variant: t = "outline", size: n = "default", ...r }) {
3237
3250
  return /* @__PURE__ */ a(F, {
3238
3251
  variant: t,
3239
3252
  size: n,
@@ -3247,36 +3260,36 @@ function $i({ className: e, variant: t = "outline", size: n = "default", ...r })
3247
3260
  }
3248
3261
  //#endregion
3249
3262
  //#region src/components/pure/alert.tsx
3250
- 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", {
3263
+ var $i = 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", {
3251
3264
  variants: { variant: {
3252
3265
  default: "bg-card text-card-foreground",
3253
3266
  destructive: "bg-card text-destructive *:data-[slot=alert-description]:text-destructive/90 *:[svg]:text-current"
3254
3267
  } },
3255
3268
  defaultVariants: { variant: "default" }
3256
3269
  });
3257
- function ta({ className: e, variant: t, ...n }) {
3270
+ function ea({ className: e, variant: t, ...n }) {
3258
3271
  return /* @__PURE__ */ a("div", {
3259
3272
  "data-slot": "alert",
3260
3273
  role: "alert",
3261
- className: P(ea({ variant: t }), e),
3274
+ className: P($i({ variant: t }), e),
3262
3275
  ...n
3263
3276
  });
3264
3277
  }
3265
- function na({ className: e, ...t }) {
3278
+ function ta({ className: e, ...t }) {
3266
3279
  return /* @__PURE__ */ a("div", {
3267
3280
  "data-slot": "alert-title",
3268
3281
  className: P("font-medium group-has-[>svg]/alert:col-start-2 [&_a]:underline [&_a]:underline-offset-3 [&_a]:hover:text-foreground", e),
3269
3282
  ...t
3270
3283
  });
3271
3284
  }
3272
- function ra({ className: e, ...t }) {
3285
+ function na({ className: e, ...t }) {
3273
3286
  return /* @__PURE__ */ a("div", {
3274
3287
  "data-slot": "alert-description",
3275
3288
  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),
3276
3289
  ...t
3277
3290
  });
3278
3291
  }
3279
- function ia({ className: e, ...t }) {
3292
+ function ra({ className: e, ...t }) {
3280
3293
  return /* @__PURE__ */ a("div", {
3281
3294
  "data-slot": "alert-action",
3282
3295
  className: P("absolute top-2 end-2", e),
@@ -3285,7 +3298,7 @@ function ia({ className: e, ...t }) {
3285
3298
  }
3286
3299
  //#endregion
3287
3300
  //#region src/components/pure/avatar.tsx
3288
- function aa({ className: e, size: t = "default", ...n }) {
3301
+ function ia({ className: e, size: t = "default", ...n }) {
3289
3302
  return /* @__PURE__ */ a(Ge.Root, {
3290
3303
  "data-slot": "avatar",
3291
3304
  "data-size": t,
@@ -3293,35 +3306,35 @@ function aa({ className: e, size: t = "default", ...n }) {
3293
3306
  ...n
3294
3307
  });
3295
3308
  }
3296
- function oa({ className: e, ...t }) {
3309
+ function aa({ className: e, ...t }) {
3297
3310
  return console.log(t), /* @__PURE__ */ a(Ge.Image, {
3298
3311
  "data-slot": "avatar-image",
3299
3312
  className: P("rounded-full aspect-square size-full object-cover", e),
3300
3313
  ...t
3301
3314
  });
3302
3315
  }
3303
- function sa({ className: e, ...t }) {
3316
+ function oa({ className: e, ...t }) {
3304
3317
  return /* @__PURE__ */ a(Ge.Fallback, {
3305
3318
  "data-slot": "avatar-fallback",
3306
3319
  className: P("bg-muted text-muted-foreground rounded-full flex size-full items-center justify-center text-sm group-data-[size=sm]/avatar:text-xs", e),
3307
3320
  ...t
3308
3321
  });
3309
3322
  }
3310
- function ca({ className: e, ...t }) {
3323
+ function sa({ className: e, ...t }) {
3311
3324
  return /* @__PURE__ */ a("span", {
3312
3325
  "data-slot": "avatar-badge",
3313
3326
  className: P("bg-primary text-primary-foreground ring-background absolute end-0 bottom-0 z-10 inline-flex items-center justify-center rounded-full bg-blend-color ring-2 select-none", "group-data-[size=sm]/avatar:size-2 group-data-[size=sm]/avatar:[&>svg]:hidden", "group-data-[size=default]/avatar:size-2.5 group-data-[size=default]/avatar:[&>svg]:size-2", "group-data-[size=lg]/avatar:size-3 group-data-[size=lg]/avatar:[&>svg]:size-2", e),
3314
3327
  ...t
3315
3328
  });
3316
3329
  }
3317
- function la({ className: e, ...t }) {
3330
+ function ca({ className: e, ...t }) {
3318
3331
  return /* @__PURE__ */ a("div", {
3319
3332
  "data-slot": "avatar-group",
3320
3333
  className: P("*:data-[slot=avatar]:ring-background group/avatar-group flex -space-x-2 *:data-[slot=avatar]:ring-2", e),
3321
3334
  ...t
3322
3335
  });
3323
3336
  }
3324
- function ua({ className: e, ...t }) {
3337
+ function la({ className: e, ...t }) {
3325
3338
  return /* @__PURE__ */ a("div", {
3326
3339
  "data-slot": "avatar-group-count",
3327
3340
  className: P("bg-muted text-muted-foreground size-8 rounded-full text-sm group-has-data-[size=lg]/avatar-group:size-10 group-has-data-[size=sm]/avatar-group:size-6 [&>svg]:size-4 group-has-data-[size=lg]/avatar-group:[&>svg]:size-5 group-has-data-[size=sm]/avatar-group:[&>svg]:size-3 ring-background relative flex shrink-0 items-center justify-center ring-2", e),
@@ -3330,7 +3343,7 @@ function ua({ className: e, ...t }) {
3330
3343
  }
3331
3344
  //#endregion
3332
3345
  //#region src/components/pure/badge.tsx
3333
- var da = 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", {
3346
+ var ua = 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", {
3334
3347
  variants: { variant: {
3335
3348
  default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
3336
3349
  secondary: "bg-secondary text-secondary-foreground [a]:hover:bg-secondary/80",
@@ -3341,17 +3354,17 @@ var da = S("h-5 gap-1 rounded-4xl border border-transparent px-2 py-0.5 text-xs
3341
3354
  } },
3342
3355
  defaultVariants: { variant: "default" }
3343
3356
  });
3344
- function fa({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
3357
+ function da({ className: e, variant: t = "default", asChild: n = !1, ...r }) {
3345
3358
  return /* @__PURE__ */ a(n ? C : "span", {
3346
3359
  "data-slot": "badge",
3347
3360
  "data-variant": t,
3348
- className: P(da({ variant: t }), e),
3361
+ className: P(ua({ variant: t }), e),
3349
3362
  ...r
3350
3363
  });
3351
3364
  }
3352
3365
  //#endregion
3353
3366
  //#region src/components/pure/breadcrumb.tsx
3354
- function pa({ className: e, ...t }) {
3367
+ function fa({ className: e, ...t }) {
3355
3368
  return /* @__PURE__ */ a("nav", {
3356
3369
  "aria-label": "breadcrumb",
3357
3370
  "data-slot": "breadcrumb",
@@ -3359,28 +3372,28 @@ function pa({ className: e, ...t }) {
3359
3372
  ...t
3360
3373
  });
3361
3374
  }
3362
- function ma({ className: e, ...t }) {
3375
+ function pa({ className: e, ...t }) {
3363
3376
  return /* @__PURE__ */ a("ol", {
3364
3377
  "data-slot": "breadcrumb-list",
3365
3378
  className: P("text-muted-foreground gap-1.5 text-sm flex flex-wrap items-center wrap-break-word", e),
3366
3379
  ...t
3367
3380
  });
3368
3381
  }
3369
- function ha({ className: e, ...t }) {
3382
+ function ma({ className: e, ...t }) {
3370
3383
  return /* @__PURE__ */ a("li", {
3371
3384
  "data-slot": "breadcrumb-item",
3372
3385
  className: P("gap-1 inline-flex items-center", e),
3373
3386
  ...t
3374
3387
  });
3375
3388
  }
3376
- function ga({ asChild: e, className: t, ...n }) {
3389
+ function ha({ asChild: e, className: t, ...n }) {
3377
3390
  return /* @__PURE__ */ a(e ? C : "a", {
3378
3391
  "data-slot": "breadcrumb-link",
3379
3392
  className: P("hover:text-foreground transition-colors", t),
3380
3393
  ...n
3381
3394
  });
3382
3395
  }
3383
- function _a({ className: e, ...t }) {
3396
+ function ga({ className: e, ...t }) {
3384
3397
  return /* @__PURE__ */ a("span", {
3385
3398
  "data-slot": "breadcrumb-page",
3386
3399
  role: "link",
@@ -3390,7 +3403,7 @@ function _a({ className: e, ...t }) {
3390
3403
  ...t
3391
3404
  });
3392
3405
  }
3393
- function va({ children: e, className: t, ...n }) {
3406
+ function _a({ children: e, className: t, ...n }) {
3394
3407
  return /* @__PURE__ */ a("li", {
3395
3408
  "data-slot": "breadcrumb-separator",
3396
3409
  role: "presentation",
@@ -3400,7 +3413,7 @@ function va({ children: e, className: t, ...n }) {
3400
3413
  children: e ?? /* @__PURE__ */ a(p, { className: "rtl:rotate-180" })
3401
3414
  });
3402
3415
  }
3403
- function ya({ className: e, ...t }) {
3416
+ function va({ className: e, ...t }) {
3404
3417
  return /* @__PURE__ */ o("span", {
3405
3418
  "data-slot": "breadcrumb-ellipsis",
3406
3419
  role: "presentation",
@@ -3415,34 +3428,34 @@ function ya({ className: e, ...t }) {
3415
3428
  }
3416
3429
  //#endregion
3417
3430
  //#region src/components/pure/chart.tsx
3418
- var ba = {
3431
+ var ya = {
3419
3432
  light: "",
3420
3433
  dark: ".dark"
3421
- }, xa = y.createContext(null);
3422
- function Sa() {
3423
- let e = y.useContext(xa);
3434
+ }, ba = y.createContext(null);
3435
+ function xa() {
3436
+ let e = y.useContext(ba);
3424
3437
  if (!e) throw Error("useChart must be used within a <ChartContainer />");
3425
3438
  return e;
3426
3439
  }
3427
- function Ca({ id: e, className: t, children: n, config: r, ...i }) {
3440
+ function Sa({ id: e, className: t, children: n, config: r, ...i }) {
3428
3441
  let s = y.useId(), c = `chart-${e || s.replace(/:/g, "")}`;
3429
- return /* @__PURE__ */ a(xa.Provider, {
3442
+ return /* @__PURE__ */ a(ba.Provider, {
3430
3443
  value: { config: r },
3431
3444
  children: /* @__PURE__ */ o("div", {
3432
3445
  "data-slot": "chart",
3433
3446
  "data-chart": c,
3434
3447
  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),
3435
3448
  ...i,
3436
- children: [/* @__PURE__ */ a(wa, {
3449
+ children: [/* @__PURE__ */ a(Ca, {
3437
3450
  id: c,
3438
3451
  config: r
3439
3452
  }), /* @__PURE__ */ a(Ke.ResponsiveContainer, { children: n })]
3440
3453
  })
3441
3454
  });
3442
3455
  }
3443
- var wa = ({ id: e, config: t }) => {
3456
+ var Ca = ({ id: e, config: t }) => {
3444
3457
  let n = Object.entries(t).filter(([, e]) => e.theme || e.color);
3445
- return n.length ? /* @__PURE__ */ a("style", { dangerouslySetInnerHTML: { __html: Object.entries(ba).map(([t, r]) => `
3458
+ return n.length ? /* @__PURE__ */ a("style", { dangerouslySetInnerHTML: { __html: Object.entries(ya).map(([t, r]) => `
3446
3459
  ${r} [data-chart=${e}] {
3447
3460
  ${n.map(([e, n]) => {
3448
3461
  let r = n.theme?.[t] || n.color;
@@ -3450,11 +3463,11 @@ ${n.map(([e, n]) => {
3450
3463
  }).join("\n")}
3451
3464
  }
3452
3465
  `).join("\n") } }) : null;
3453
- }, Ta = Ke.Tooltip;
3454
- function Ea({ 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 }) {
3455
- let { config: g } = Sa(), _ = y.useMemo(() => {
3466
+ }, wa = Ke.Tooltip;
3467
+ function Ta({ 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 }) {
3468
+ let { config: g } = xa(), _ = y.useMemo(() => {
3456
3469
  if (s || !t?.length) return null;
3457
- let [e] = t, n = ka(g, e, `${h || e?.dataKey || e?.name || "value"}`), r = !h && typeof l == "string" ? g[l]?.label || l : n?.label;
3470
+ let [e] = t, n = Oa(g, e, `${h || e?.dataKey || e?.name || "value"}`), r = !h && typeof l == "string" ? g[l]?.label || l : n?.label;
3458
3471
  return u ? /* @__PURE__ */ a("div", {
3459
3472
  className: P("font-medium", d),
3460
3473
  children: u(r, t)
@@ -3478,7 +3491,7 @@ function Ea({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
3478
3491
  children: [v ? null : _, /* @__PURE__ */ a("div", {
3479
3492
  className: "grid gap-1.5",
3480
3493
  children: t.filter((e) => e.type !== "none").map((e, t) => {
3481
- let n = ka(g, e, `${m || e.name || e.dataKey || "value"}`), s = p || e.payload.fill || e.color;
3494
+ let n = Oa(g, e, `${m || e.name || e.dataKey || "value"}`), s = p || e.payload.fill || e.color;
3482
3495
  return /* @__PURE__ */ a("div", {
3483
3496
  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"),
3484
3497
  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", {
@@ -3510,13 +3523,13 @@ function Ea({ active: e, payload: t, className: n, indicator: r = "dot", hideLab
3510
3523
  })]
3511
3524
  });
3512
3525
  }
3513
- var Da = Ke.Legend;
3514
- function Oa({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bottom", nameKey: i }) {
3515
- let { config: s } = Sa();
3526
+ var Ea = Ke.Legend;
3527
+ function Da({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bottom", nameKey: i }) {
3528
+ let { config: s } = xa();
3516
3529
  return n?.length ? /* @__PURE__ */ a("div", {
3517
3530
  className: P("flex items-center justify-center gap-4", r === "top" ? "pb-3" : "pt-3", e),
3518
3531
  children: n.filter((e) => e.type !== "none").map((e) => {
3519
- let n = ka(s, e, `${i || e.dataKey || "value"}`);
3532
+ let n = Oa(s, e, `${i || e.dataKey || "value"}`);
3520
3533
  return /* @__PURE__ */ o("div", {
3521
3534
  className: P("[&>svg]:text-muted-foreground flex items-center gap-1.5 [&>svg]:h-3 [&>svg]:w-3"),
3522
3535
  children: [n?.icon && !t ? /* @__PURE__ */ a(n.icon, {}) : /* @__PURE__ */ a("div", {
@@ -3527,14 +3540,14 @@ function Oa({ className: e, hideIcon: t = !1, payload: n, verticalAlign: r = "bo
3527
3540
  })
3528
3541
  }) : null;
3529
3542
  }
3530
- function ka(e, t, n) {
3543
+ function Oa(e, t, n) {
3531
3544
  if (typeof t != "object" || !t) return;
3532
3545
  let r = "payload" in t && typeof t.payload == "object" && t.payload !== null ? t.payload : void 0, i = n;
3533
3546
  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];
3534
3547
  }
3535
3548
  //#endregion
3536
3549
  //#region src/components/pure/checkbox.tsx
3537
- function Aa({ className: e, ...t }) {
3550
+ function ka({ className: e, ...t }) {
3538
3551
  return /* @__PURE__ */ a(qe.Root, {
3539
3552
  "data-slot": "checkbox",
3540
3553
  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),
@@ -3548,7 +3561,7 @@ function Aa({ className: e, ...t }) {
3548
3561
  }
3549
3562
  //#endregion
3550
3563
  //#region src/components/pure/input-group.tsx
3551
- function ja({ className: e, ...t }) {
3564
+ function Aa({ className: e, ...t }) {
3552
3565
  return /* @__PURE__ */ a("div", {
3553
3566
  "data-slot": "input-group",
3554
3567
  role: "group",
@@ -3556,7 +3569,7 @@ function ja({ className: e, ...t }) {
3556
3569
  ...t
3557
3570
  });
3558
3571
  }
3559
- var Ma = S("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none", {
3572
+ var ja = S("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-data-[disabled=true]/input-group:opacity-50 [&>kbd]:rounded-[calc(var(--radius)-5px)] [&>svg:not([class*='size-'])]:size-4 flex cursor-text items-center justify-center select-none", {
3560
3573
  variants: { align: {
3561
3574
  "inline-start": "ps-2 has-[>button]:ms-[-0.3rem] has-[>kbd]:ms-[-0.15rem] order-first",
3562
3575
  "inline-end": "pe-2 has-[>button]:me-[-0.3rem] has-[>kbd]:me-[-0.15rem] order-last",
@@ -3565,19 +3578,19 @@ var Ma = S("text-muted-foreground h-auto gap-2 py-1.5 text-sm font-medium group-
3565
3578
  } },
3566
3579
  defaultVariants: { align: "inline-start" }
3567
3580
  });
3568
- function Na({ className: e, align: t = "inline-start", ...n }) {
3581
+ function Ma({ className: e, align: t = "inline-start", ...n }) {
3569
3582
  return /* @__PURE__ */ a("div", {
3570
3583
  role: "group",
3571
3584
  "data-slot": "input-group-addon",
3572
3585
  "data-align": t,
3573
- className: P(Ma({ align: t }), e),
3586
+ className: P(ja({ align: t }), e),
3574
3587
  onClick: (e) => {
3575
3588
  e.target.closest("button") || e.currentTarget.parentElement?.querySelector("input")?.focus();
3576
3589
  },
3577
3590
  ...n
3578
3591
  });
3579
3592
  }
3580
- var Pa = S("gap-2 text-sm shadow-none flex items-center", {
3593
+ var Na = S("gap-2 text-sm shadow-none flex items-center", {
3581
3594
  variants: { size: {
3582
3595
  xs: "h-6 gap-1 rounded-[calc(var(--radius)-3px)] px-1.5 [&>svg:not([class*='size-'])]:size-3.5",
3583
3596
  sm: "",
@@ -3586,29 +3599,29 @@ var Pa = S("gap-2 text-sm shadow-none flex items-center", {
3586
3599
  } },
3587
3600
  defaultVariants: { size: "xs" }
3588
3601
  });
3589
- function Fa({ className: e, type: t = "button", variant: n = "ghost", size: r = "xs", ...i }) {
3602
+ function Pa({ className: e, type: t = "button", variant: n = "ghost", size: r = "xs", ...i }) {
3590
3603
  return /* @__PURE__ */ a(F, {
3591
3604
  type: t,
3592
3605
  "data-size": r,
3593
3606
  variant: n,
3594
- className: P(Pa({ size: r }), e),
3607
+ className: P(Na({ size: r }), e),
3595
3608
  ...i
3596
3609
  });
3597
3610
  }
3598
- function Ia({ className: e, ...t }) {
3611
+ function Fa({ className: e, ...t }) {
3599
3612
  return /* @__PURE__ */ a("span", {
3600
3613
  className: P("text-muted-foreground gap-2 text-sm [&_svg:not([class*='size-'])]:size-4 flex items-center [&_svg]:pointer-events-none", e),
3601
3614
  ...t
3602
3615
  });
3603
3616
  }
3604
- function La({ className: e, ...t }) {
3617
+ function Ia({ className: e, ...t }) {
3605
3618
  return /* @__PURE__ */ a(z, {
3606
3619
  "data-slot": "input-group-control",
3607
3620
  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),
3608
3621
  ...t
3609
3622
  });
3610
3623
  }
3611
- function Ra({ className: e, ...t }) {
3624
+ function La({ className: e, ...t }) {
3612
3625
  return /* @__PURE__ */ a(Fn, {
3613
3626
  "data-slot": "input-group-control",
3614
3627
  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),
@@ -3617,14 +3630,14 @@ function Ra({ className: e, ...t }) {
3617
3630
  }
3618
3631
  //#endregion
3619
3632
  //#region src/components/pure/combobox.tsx
3620
- var za = A.Root;
3621
- function Ba({ ...e }) {
3633
+ var Ra = A.Root;
3634
+ function za({ ...e }) {
3622
3635
  return /* @__PURE__ */ a(A.Value, {
3623
3636
  "data-slot": "combobox-value",
3624
3637
  ...e
3625
3638
  });
3626
3639
  }
3627
- function Va({ className: e, children: t, ...n }) {
3640
+ function Ba({ className: e, children: t, ...n }) {
3628
3641
  return /* @__PURE__ */ o(A.Trigger, {
3629
3642
  "data-slot": "combobox-trigger",
3630
3643
  className: P("[&_svg:not([class*='size-'])]:size-4", e),
@@ -3632,10 +3645,10 @@ function Va({ className: e, children: t, ...n }) {
3632
3645
  children: [t, /* @__PURE__ */ a(l, { className: "text-muted-foreground size-4 pointer-events-none" })]
3633
3646
  });
3634
3647
  }
3635
- function Ha({ className: e, ...t }) {
3648
+ function Va({ className: e, ...t }) {
3636
3649
  return /* @__PURE__ */ a(A.Clear, {
3637
3650
  "data-slot": "combobox-clear",
3638
- render: /* @__PURE__ */ a(Fa, {
3651
+ render: /* @__PURE__ */ a(Pa, {
3639
3652
  variant: "ghost",
3640
3653
  size: "icon-xs"
3641
3654
  }),
@@ -3644,31 +3657,31 @@ function Ha({ className: e, ...t }) {
3644
3657
  children: /* @__PURE__ */ a(Te, { className: "pointer-events-none" })
3645
3658
  });
3646
3659
  }
3647
- function Ua({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: i = !1, ...s }) {
3648
- return /* @__PURE__ */ o(ja, {
3660
+ function Ha({ className: e, children: t, disabled: n = !1, showTrigger: r = !0, showClear: i = !1, ...s }) {
3661
+ return /* @__PURE__ */ o(Aa, {
3649
3662
  className: P("w-auto", e),
3650
3663
  children: [
3651
3664
  /* @__PURE__ */ a(A.Input, {
3652
- render: /* @__PURE__ */ a(La, { disabled: n }),
3665
+ render: /* @__PURE__ */ a(Ia, { disabled: n }),
3653
3666
  ...s
3654
3667
  }),
3655
- /* @__PURE__ */ o(Na, {
3668
+ /* @__PURE__ */ o(Ma, {
3656
3669
  align: "inline-end",
3657
- children: [r && /* @__PURE__ */ a(Fa, {
3670
+ children: [r && /* @__PURE__ */ a(Pa, {
3658
3671
  size: "icon-xs",
3659
3672
  variant: "ghost",
3660
3673
  asChild: !0,
3661
3674
  "data-slot": "input-group-button",
3662
3675
  className: "group-has-data-[slot=combobox-clear]/input-group:hidden data-pressed:bg-transparent",
3663
3676
  disabled: n,
3664
- children: /* @__PURE__ */ a(Va, {})
3665
- }), i && /* @__PURE__ */ a(Ha, { disabled: n })]
3677
+ children: /* @__PURE__ */ a(Ba, {})
3678
+ }), i && /* @__PURE__ */ a(Va, { disabled: n })]
3666
3679
  }),
3667
3680
  t
3668
3681
  ]
3669
3682
  });
3670
3683
  }
3671
- function Wa({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: o, ...s }) {
3684
+ function Ua({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "start", alignOffset: i = 0, anchor: o, ...s }) {
3672
3685
  return /* @__PURE__ */ a(A.Portal, { children: /* @__PURE__ */ a(A.Positioner, {
3673
3686
  side: t,
3674
3687
  sideOffset: n,
@@ -3684,14 +3697,14 @@ function Wa({ className: e, side: t = "bottom", sideOffset: n = 6, align: r = "s
3684
3697
  })
3685
3698
  }) });
3686
3699
  }
3687
- function Ga({ className: e, ...t }) {
3700
+ function Wa({ className: e, ...t }) {
3688
3701
  return /* @__PURE__ */ a(A.List, {
3689
3702
  "data-slot": "combobox-list",
3690
3703
  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),
3691
3704
  ...t
3692
3705
  });
3693
3706
  }
3694
- function Ka({ className: e, children: t, ...n }) {
3707
+ function Ga({ className: e, children: t, ...n }) {
3695
3708
  return /* @__PURE__ */ o(A.Item, {
3696
3709
  "data-slot": "combobox-item",
3697
3710
  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),
@@ -3702,48 +3715,48 @@ function Ka({ className: e, children: t, ...n }) {
3702
3715
  })]
3703
3716
  });
3704
3717
  }
3705
- function qa({ className: e, ...t }) {
3718
+ function Ka({ className: e, ...t }) {
3706
3719
  return /* @__PURE__ */ a(A.Group, {
3707
3720
  "data-slot": "combobox-group",
3708
3721
  className: P(e),
3709
3722
  ...t
3710
3723
  });
3711
3724
  }
3712
- function Ja({ className: e, ...t }) {
3725
+ function qa({ className: e, ...t }) {
3713
3726
  return /* @__PURE__ */ a(A.GroupLabel, {
3714
3727
  "data-slot": "combobox-label",
3715
3728
  className: P("text-muted-foreground px-2 py-1.5 text-xs", e),
3716
3729
  ...t
3717
3730
  });
3718
3731
  }
3719
- function Ya({ ...e }) {
3732
+ function Ja({ ...e }) {
3720
3733
  return /* @__PURE__ */ a(A.Collection, {
3721
3734
  "data-slot": "combobox-collection",
3722
3735
  ...e
3723
3736
  });
3724
3737
  }
3725
- function Xa({ className: e, ...t }) {
3738
+ function Ya({ className: e, ...t }) {
3726
3739
  return /* @__PURE__ */ a(A.Empty, {
3727
3740
  "data-slot": "combobox-empty",
3728
3741
  className: P("text-muted-foreground hidden w-full justify-center py-2 text-center text-sm group-data-empty/combobox-content:flex", e),
3729
3742
  ...t
3730
3743
  });
3731
3744
  }
3732
- function Za({ className: e, ...t }) {
3745
+ function Xa({ className: e, ...t }) {
3733
3746
  return /* @__PURE__ */ a(A.Separator, {
3734
3747
  "data-slot": "combobox-separator",
3735
3748
  className: P("bg-border -mx-1 my-1 h-px", e),
3736
3749
  ...t
3737
3750
  });
3738
3751
  }
3739
- function Qa({ className: e, ...t }) {
3752
+ function Za({ className: e, ...t }) {
3740
3753
  return /* @__PURE__ */ a(A.Chips, {
3741
3754
  "data-slot": "combobox-chips",
3742
3755
  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),
3743
3756
  ...t
3744
3757
  });
3745
3758
  }
3746
- function $a({ className: e, children: t, showRemove: n = !0, ...r }) {
3759
+ function Qa({ className: e, children: t, showRemove: n = !0, ...r }) {
3747
3760
  return /* @__PURE__ */ o(A.Chip, {
3748
3761
  "data-slot": "combobox-chip",
3749
3762
  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),
@@ -3759,26 +3772,26 @@ function $a({ className: e, children: t, showRemove: n = !0, ...r }) {
3759
3772
  })]
3760
3773
  });
3761
3774
  }
3762
- function eo({ className: e, ...t }) {
3775
+ function $a({ className: e, ...t }) {
3763
3776
  return /* @__PURE__ */ a(A.Input, {
3764
3777
  "data-slot": "combobox-chip-input",
3765
3778
  className: P("min-w-16 flex-1 outline-none", e),
3766
3779
  ...t
3767
3780
  });
3768
3781
  }
3769
- function to() {
3782
+ function eo() {
3770
3783
  return y.useRef(null);
3771
3784
  }
3772
3785
  //#endregion
3773
3786
  //#region src/components/pure/command.tsx
3774
- function no({ className: e, ...t }) {
3787
+ function to({ className: e, ...t }) {
3775
3788
  return /* @__PURE__ */ a(j, {
3776
3789
  "data-slot": "command",
3777
3790
  className: P("bg-popover text-popover-foreground rounded-xl! p-1 flex size-full flex-col overflow-hidden", e),
3778
3791
  ...t
3779
3792
  });
3780
3793
  }
3781
- function ro({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !1, ...s }) {
3794
+ function no({ title: e = "Command Palette", description: t = "Search for a command to run...", children: n, className: r, showCloseButton: i = !1, ...s }) {
3782
3795
  return /* @__PURE__ */ o(I, {
3783
3796
  ...s,
3784
3797
  children: [/* @__PURE__ */ o(_t, {
@@ -3791,49 +3804,49 @@ function ro({ title: e = "Command Palette", description: t = "Search for a comma
3791
3804
  })]
3792
3805
  });
3793
3806
  }
3794
- function io({ className: e, ...t }) {
3807
+ function ro({ className: e, ...t }) {
3795
3808
  return /* @__PURE__ */ a("div", {
3796
3809
  "data-slot": "command-input-wrapper",
3797
3810
  className: "p-1 pb-0",
3798
- children: /* @__PURE__ */ o(ja, {
3811
+ children: /* @__PURE__ */ o(Aa, {
3799
3812
  className: "bg-input/30 border-input/30 h-8! rounded-lg! shadow-none! *:data-[slot=input-group-addon]:ps-2!",
3800
3813
  children: [/* @__PURE__ */ a(j.Input, {
3801
3814
  "data-slot": "command-input",
3802
3815
  className: P("w-full text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50", e),
3803
3816
  ...t
3804
- }), /* @__PURE__ */ a(Na, { children: /* @__PURE__ */ a(ve, { className: "size-4 shrink-0 opacity-50" }) })]
3817
+ }), /* @__PURE__ */ a(Ma, { children: /* @__PURE__ */ a(ve, { className: "size-4 shrink-0 opacity-50" }) })]
3805
3818
  })
3806
3819
  });
3807
3820
  }
3808
- function ao({ className: e, ...t }) {
3821
+ function io({ className: e, ...t }) {
3809
3822
  return /* @__PURE__ */ a(j.List, {
3810
3823
  "data-slot": "command-list",
3811
3824
  className: P("no-scrollbar max-h-72 scroll-py-1 outline-none overflow-x-hidden overflow-y-auto", e),
3812
3825
  ...t
3813
3826
  });
3814
3827
  }
3815
- function oo({ className: e, ...t }) {
3828
+ function ao({ className: e, ...t }) {
3816
3829
  return /* @__PURE__ */ a(j.Empty, {
3817
3830
  "data-slot": "command-empty",
3818
3831
  className: P("py-6 text-center text-sm", e),
3819
3832
  ...t
3820
3833
  });
3821
3834
  }
3822
- function so({ className: e, ...t }) {
3835
+ function oo({ className: e, ...t }) {
3823
3836
  return /* @__PURE__ */ a(j.Group, {
3824
3837
  "data-slot": "command-group",
3825
3838
  className: P("text-foreground **:[[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 **:[[cmdk-group-heading]]:px-2 **:[[cmdk-group-heading]]:py-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium", e),
3826
3839
  ...t
3827
3840
  });
3828
3841
  }
3829
- function co({ className: e, ...t }) {
3842
+ function so({ className: e, ...t }) {
3830
3843
  return /* @__PURE__ */ a(j.Separator, {
3831
3844
  "data-slot": "command-separator",
3832
3845
  className: P("bg-border -mx-1 h-px", e),
3833
3846
  ...t
3834
3847
  });
3835
3848
  }
3836
- function lo({ className: e, children: t, ...n }) {
3849
+ function co({ className: e, children: t, ...n }) {
3837
3850
  return /* @__PURE__ */ o(j.Item, {
3838
3851
  "data-slot": "command-item",
3839
3852
  className: P("data-selected:bg-muted data-selected:text-foreground data-selected:*:[svg]:text-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none in-data-[slot=dialog-content]:rounded-lg! [&_svg:not([class*='size-'])]:size-4 group/command-item data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", e),
@@ -3841,7 +3854,7 @@ function lo({ className: e, children: t, ...n }) {
3841
3854
  children: [t, /* @__PURE__ */ a(c, { className: "ms-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" })]
3842
3855
  });
3843
3856
  }
3844
- function uo({ className: e, ...t }) {
3857
+ function lo({ className: e, ...t }) {
3845
3858
  return /* @__PURE__ */ a("span", {
3846
3859
  "data-slot": "command-shortcut",
3847
3860
  className: P("text-muted-foreground group-data-selected/command-item:text-foreground ms-auto text-xs tracking-widest", e),
@@ -3850,50 +3863,50 @@ function uo({ className: e, ...t }) {
3850
3863
  }
3851
3864
  //#endregion
3852
3865
  //#region src/components/pure/direction.tsx
3853
- function fo({ dir: e, direction: t, children: n }) {
3866
+ function uo({ dir: e, direction: t, children: n }) {
3854
3867
  return /* @__PURE__ */ a(Je.DirectionProvider, {
3855
3868
  dir: t ?? e,
3856
3869
  children: n
3857
3870
  });
3858
3871
  }
3859
- var po = Je.useDirection;
3872
+ var fo = Je.useDirection;
3860
3873
  //#endregion
3861
3874
  //#region src/components/pure/drawer.tsx
3862
- function mo({ ...e }) {
3875
+ function po({ ...e }) {
3863
3876
  return /* @__PURE__ */ a(M.Root, {
3864
3877
  "data-slot": "drawer",
3865
3878
  ...e
3866
3879
  });
3867
3880
  }
3868
- function ho({ ...e }) {
3881
+ function mo({ ...e }) {
3869
3882
  return /* @__PURE__ */ a(M.Trigger, {
3870
3883
  "data-slot": "drawer-trigger",
3871
3884
  ...e
3872
3885
  });
3873
3886
  }
3874
- function go({ ...e }) {
3887
+ function ho({ ...e }) {
3875
3888
  return /* @__PURE__ */ a(M.Portal, {
3876
3889
  "data-slot": "drawer-portal",
3877
3890
  ...e
3878
3891
  });
3879
3892
  }
3880
- function _o({ ...e }) {
3893
+ function go({ ...e }) {
3881
3894
  return /* @__PURE__ */ a(M.Close, {
3882
3895
  "data-slot": "drawer-close",
3883
3896
  ...e
3884
3897
  });
3885
3898
  }
3886
- function vo({ className: e, ...t }) {
3899
+ function _o({ className: e, ...t }) {
3887
3900
  return /* @__PURE__ */ a(M.Overlay, {
3888
3901
  "data-slot": "drawer-overlay",
3889
3902
  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),
3890
3903
  ...t
3891
3904
  });
3892
3905
  }
3893
- function yo({ className: e, children: t, ...n }) {
3894
- return /* @__PURE__ */ o(go, {
3906
+ function vo({ className: e, children: t, ...n }) {
3907
+ return /* @__PURE__ */ o(ho, {
3895
3908
  "data-slot": "drawer-portal",
3896
- children: [/* @__PURE__ */ a(vo, {}), /* @__PURE__ */ o(M.Content, {
3909
+ children: [/* @__PURE__ */ a(_o, {}), /* @__PURE__ */ o(M.Content, {
3897
3910
  "data-slot": "drawer-content",
3898
3911
  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),
3899
3912
  ...n,
@@ -3901,28 +3914,28 @@ function yo({ className: e, children: t, ...n }) {
3901
3914
  })]
3902
3915
  });
3903
3916
  }
3904
- function bo({ className: e, ...t }) {
3917
+ function yo({ className: e, ...t }) {
3905
3918
  return /* @__PURE__ */ a("div", {
3906
3919
  "data-slot": "drawer-header",
3907
3920
  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),
3908
3921
  ...t
3909
3922
  });
3910
3923
  }
3911
- function xo({ className: e, ...t }) {
3924
+ function bo({ className: e, ...t }) {
3912
3925
  return /* @__PURE__ */ a("div", {
3913
3926
  "data-slot": "drawer-footer",
3914
3927
  className: P("gap-2 p-4 mt-auto flex flex-col", e),
3915
3928
  ...t
3916
3929
  });
3917
3930
  }
3918
- function So({ className: e, ...t }) {
3931
+ function xo({ className: e, ...t }) {
3919
3932
  return /* @__PURE__ */ a(M.Title, {
3920
3933
  "data-slot": "drawer-title",
3921
3934
  className: P("text-foreground text-base font-medium", e),
3922
3935
  ...t
3923
3936
  });
3924
3937
  }
3925
- function Co({ className: e, ...t }) {
3938
+ function So({ className: e, ...t }) {
3926
3939
  return /* @__PURE__ */ a(M.Description, {
3927
3940
  "data-slot": "drawer-description",
3928
3941
  className: P("text-muted-foreground text-sm", e),
@@ -3931,14 +3944,14 @@ function Co({ className: e, ...t }) {
3931
3944
  }
3932
3945
  //#endregion
3933
3946
  //#region src/components/pure/field.tsx
3934
- function wo({ className: e, ...t }) {
3947
+ function Co({ className: e, ...t }) {
3935
3948
  return /* @__PURE__ */ a("fieldset", {
3936
3949
  "data-slot": "field-set",
3937
3950
  className: P("gap-4 has-[>[data-slot=checkbox-group]]:gap-3 has-[>[data-slot=radio-group]]:gap-3 flex flex-col", e),
3938
3951
  ...t
3939
3952
  });
3940
3953
  }
3941
- function To({ className: e, variant: t = "legend", ...n }) {
3954
+ function wo({ className: e, variant: t = "legend", ...n }) {
3942
3955
  return /* @__PURE__ */ a("legend", {
3943
3956
  "data-slot": "field-legend",
3944
3957
  "data-variant": t,
@@ -3946,14 +3959,14 @@ function To({ className: e, variant: t = "legend", ...n }) {
3946
3959
  ...n
3947
3960
  });
3948
3961
  }
3949
- function Eo({ className: e, ...t }) {
3962
+ function To({ className: e, ...t }) {
3950
3963
  return /* @__PURE__ */ a("div", {
3951
3964
  "data-slot": "field-group",
3952
3965
  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),
3953
3966
  ...t
3954
3967
  });
3955
3968
  }
3956
- var Do = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full", {
3969
+ var Eo = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full", {
3957
3970
  variants: { orientation: {
3958
3971
  vertical: "flex-col *:w-full [&>.sr-only]:w-auto",
3959
3972
  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",
@@ -3961,44 +3974,44 @@ var Do = S("data-[invalid=true]:text-destructive gap-2 group/field flex w-full",
3961
3974
  } },
3962
3975
  defaultVariants: { orientation: "vertical" }
3963
3976
  });
3964
- function Oo({ className: e, orientation: t = "vertical", ...n }) {
3977
+ function Do({ className: e, orientation: t = "vertical", ...n }) {
3965
3978
  return /* @__PURE__ */ a("div", {
3966
3979
  role: "group",
3967
3980
  "data-slot": "field",
3968
3981
  "data-orientation": t,
3969
- className: P(Do({ orientation: t }), e),
3982
+ className: P(Eo({ orientation: t }), e),
3970
3983
  ...n
3971
3984
  });
3972
3985
  }
3973
- function ko({ className: e, ...t }) {
3986
+ function Oo({ className: e, ...t }) {
3974
3987
  return /* @__PURE__ */ a("div", {
3975
3988
  "data-slot": "field-content",
3976
3989
  className: P("gap-0.5 group/field-content flex flex-1 flex-col leading-snug", e),
3977
3990
  ...t
3978
3991
  });
3979
3992
  }
3980
- function Ao({ className: e, ...t }) {
3993
+ function ko({ className: e, ...t }) {
3981
3994
  return /* @__PURE__ */ a(Wt, {
3982
3995
  "data-slot": "field-label",
3983
3996
  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),
3984
3997
  ...t
3985
3998
  });
3986
3999
  }
3987
- function jo({ className: e, ...t }) {
4000
+ function Ao({ className: e, ...t }) {
3988
4001
  return /* @__PURE__ */ a("div", {
3989
4002
  "data-slot": "field-label",
3990
4003
  className: P("gap-2 text-sm font-medium group-data-[disabled=true]/field:opacity-50 flex w-fit items-center leading-snug", e),
3991
4004
  ...t
3992
4005
  });
3993
4006
  }
3994
- function Mo({ className: e, ...t }) {
4007
+ function jo({ className: e, ...t }) {
3995
4008
  return /* @__PURE__ */ a("p", {
3996
4009
  "data-slot": "field-description",
3997
4010
  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),
3998
4011
  ...t
3999
4012
  });
4000
4013
  }
4001
- function No({ children: e, className: t, ...n }) {
4014
+ function Mo({ children: e, className: t, ...n }) {
4002
4015
  return /* @__PURE__ */ o("div", {
4003
4016
  "data-slot": "field-separator",
4004
4017
  "data-content": !!e,
@@ -4011,7 +4024,7 @@ function No({ children: e, className: t, ...n }) {
4011
4024
  })]
4012
4025
  });
4013
4026
  }
4014
- function Po({ className: e, children: t, errors: n, ...r }) {
4027
+ function No({ className: e, children: t, errors: n, ...r }) {
4015
4028
  let i = Me(() => {
4016
4029
  if (t) return t;
4017
4030
  if (!n?.length) return null;
@@ -4031,7 +4044,7 @@ function Po({ className: e, children: t, errors: n, ...r }) {
4031
4044
  }
4032
4045
  //#endregion
4033
4046
  //#region src/components/pure/scroll-area.tsx
4034
- function Fo({ className: e, children: t, ...n }) {
4047
+ function Po({ className: e, children: t, ...n }) {
4035
4048
  return /* @__PURE__ */ o(Ye.Root, {
4036
4049
  "data-slot": "scroll-area",
4037
4050
  className: P("relative", e),
@@ -4042,12 +4055,12 @@ function Fo({ className: e, children: t, ...n }) {
4042
4055
  className: "focus-visible:ring-ring/50 size-full rounded-[inherit] transition-[color,box-shadow] outline-none focus-visible:ring-[3px] focus-visible:outline-1",
4043
4056
  children: t
4044
4057
  }),
4045
- /* @__PURE__ */ a(Io, {}),
4058
+ /* @__PURE__ */ a(Fo, {}),
4046
4059
  /* @__PURE__ */ a(Ye.Corner, {})
4047
4060
  ]
4048
4061
  });
4049
4062
  }
4050
- function Io({ className: e, orientation: t = "vertical", ...n }) {
4063
+ function Fo({ className: e, orientation: t = "vertical", ...n }) {
4051
4064
  return /* @__PURE__ */ a(Ye.ScrollAreaScrollbar, {
4052
4065
  "data-slot": "scroll-area-scrollbar",
4053
4066
  "data-orientation": t,
@@ -4062,7 +4075,7 @@ function Io({ className: e, orientation: t = "vertical", ...n }) {
4062
4075
  }
4063
4076
  //#endregion
4064
4077
  //#region src/components/pure/sonner.tsx
4065
- var Lo = ({ ...e }) => {
4078
+ var Io = ({ ...e }) => {
4066
4079
  let { theme: t = "system" } = Xe();
4067
4080
  return /* @__PURE__ */ a(Ze, {
4068
4081
  theme: t,
@@ -4086,7 +4099,7 @@ var Lo = ({ ...e }) => {
4086
4099
  };
4087
4100
  //#endregion
4088
4101
  //#region src/components/pure/switch.tsx
4089
- function Ro({ className: e, size: t = "default", ...n }) {
4102
+ function Lo({ className: e, size: t = "default", ...n }) {
4090
4103
  return /* @__PURE__ */ a(Qe.Root, {
4091
4104
  "data-slot": "switch",
4092
4105
  "data-size": t,
@@ -4100,7 +4113,7 @@ function Ro({ className: e, size: t = "default", ...n }) {
4100
4113
  }
4101
4114
  //#endregion
4102
4115
  //#region src/components/pure/tabs.tsx
4103
- function zo({ className: e, orientation: t = "horizontal", ...n }) {
4116
+ function Ro({ className: e, orientation: t = "horizontal", ...n }) {
4104
4117
  return /* @__PURE__ */ a($e.Root, {
4105
4118
  "data-slot": "tabs",
4106
4119
  "data-orientation": t,
@@ -4108,29 +4121,29 @@ function zo({ className: e, orientation: t = "horizontal", ...n }) {
4108
4121
  ...n
4109
4122
  });
4110
4123
  }
4111
- var Bo = 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", {
4124
+ var zo = S("rounded-lg p-[3px] group-data-horizontal/tabs:h-8 data-[variant=line]:rounded-none group/tabs-list text-muted-foreground inline-flex w-fit items-center justify-center group-data-vertical/tabs:h-fit group-data-vertical/tabs:flex-col", {
4112
4125
  variants: { variant: {
4113
4126
  default: "bg-muted",
4114
4127
  line: "gap-1 bg-transparent"
4115
4128
  } },
4116
4129
  defaultVariants: { variant: "default" }
4117
4130
  });
4118
- function Vo({ className: e, variant: t = "default", ...n }) {
4131
+ function Bo({ className: e, variant: t = "default", ...n }) {
4119
4132
  return /* @__PURE__ */ a($e.List, {
4120
4133
  "data-slot": "tabs-list",
4121
4134
  "data-variant": t,
4122
- className: P(Bo({ variant: t }), e),
4135
+ className: P(zo({ variant: t }), e),
4123
4136
  ...n
4124
4137
  });
4125
4138
  }
4126
- function Ho({ className: e, ...t }) {
4139
+ function Vo({ className: e, ...t }) {
4127
4140
  return /* @__PURE__ */ a($e.Trigger, {
4128
4141
  "data-slot": "tabs-trigger",
4129
4142
  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),
4130
4143
  ...t
4131
4144
  });
4132
4145
  }
4133
- function Uo({ className: e, ...t }) {
4146
+ function Ho({ className: e, ...t }) {
4134
4147
  return /* @__PURE__ */ a($e.Content, {
4135
4148
  "data-slot": "tabs-content",
4136
4149
  className: P("text-sm flex-1 outline-none", e),
@@ -4139,7 +4152,7 @@ function Uo({ className: e, ...t }) {
4139
4152
  }
4140
4153
  //#endregion
4141
4154
  //#region src/components/pure/toggle.tsx
4142
- var Wo = 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", {
4155
+ var Uo = 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", {
4143
4156
  variants: {
4144
4157
  variant: {
4145
4158
  default: "bg-transparent",
@@ -4156,10 +4169,10 @@ var Wo = S("hover:text-foreground aria-pressed:bg-muted focus-visible:border-rin
4156
4169
  size: "default"
4157
4170
  }
4158
4171
  });
4159
- function Go({ className: e, variant: t = "default", size: n = "default", ...r }) {
4172
+ function Wo({ className: e, variant: t = "default", size: n = "default", ...r }) {
4160
4173
  return /* @__PURE__ */ a(tt.Root, {
4161
4174
  "data-slot": "toggle",
4162
- className: P(Wo({
4175
+ className: P(Uo({
4163
4176
  variant: t,
4164
4177
  size: n,
4165
4178
  className: e
@@ -4169,13 +4182,13 @@ function Go({ className: e, variant: t = "default", size: n = "default", ...r })
4169
4182
  }
4170
4183
  //#endregion
4171
4184
  //#region src/components/pure/toggle-group.tsx
4172
- var Ko = y.createContext({
4185
+ var Go = y.createContext({
4173
4186
  size: "default",
4174
4187
  variant: "default",
4175
4188
  spacing: 0,
4176
4189
  orientation: "horizontal"
4177
4190
  });
4178
- function qo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: o, ...s }) {
4191
+ function Ko({ className: e, variant: t, size: n, spacing: r = 0, orientation: i = "horizontal", children: o, ...s }) {
4179
4192
  return /* @__PURE__ */ a(et.Root, {
4180
4193
  "data-slot": "toggle-group",
4181
4194
  "data-variant": t,
@@ -4185,7 +4198,7 @@ function qo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
4185
4198
  style: { "--gap": r },
4186
4199
  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),
4187
4200
  ...s,
4188
- children: /* @__PURE__ */ a(Ko.Provider, {
4201
+ children: /* @__PURE__ */ a(Go.Provider, {
4189
4202
  value: {
4190
4203
  variant: t,
4191
4204
  size: n,
@@ -4196,14 +4209,14 @@ function qo({ className: e, variant: t, size: n, spacing: r = 0, orientation: i
4196
4209
  })
4197
4210
  });
4198
4211
  }
4199
- function Jo({ className: e, children: t, variant: n = "default", size: r = "default", ...i }) {
4200
- let o = y.useContext(Ko);
4212
+ function qo({ className: e, children: t, variant: n = "default", size: r = "default", ...i }) {
4213
+ let o = y.useContext(Go);
4201
4214
  return /* @__PURE__ */ a(et.Item, {
4202
4215
  "data-slot": "toggle-group-item",
4203
4216
  "data-variant": o.variant || n,
4204
4217
  "data-size": o.size || r,
4205
4218
  "data-spacing": o.spacing,
4206
- 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", Wo({
4219
+ 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", Uo({
4207
4220
  variant: o.variant || n,
4208
4221
  size: o.size || r
4209
4222
  }), e),
@@ -4213,7 +4226,7 @@ function Jo({ className: e, children: t, variant: n = "default", size: r = "defa
4213
4226
  }
4214
4227
  //#endregion
4215
4228
  //#region src/components/custom/permissions/permissionCard.tsx
4216
- var Yo = (e, t, n = ".") => {
4229
+ var Jo = (e, t, n = ".") => {
4217
4230
  let r = e.reduce((e, t) => {
4218
4231
  let [r, i] = t.split(n);
4219
4232
  return e[r] || (e[r] = {
@@ -4226,7 +4239,7 @@ var Yo = (e, t, n = ".") => {
4226
4239
  ...r[e]
4227
4240
  }));
4228
4241
  };
4229
- function Xo({ resourceId: e, label: t, masterPermission: n, actions: r, selectedPermissions: i, onToggle: s, isMasterRequired: c = !1 }) {
4242
+ function Yo({ resourceId: e, label: t, masterPermission: n, actions: r, selectedPermissions: i, onToggle: s, isMasterRequired: c = !1 }) {
4230
4243
  let l = c ? !0 : n ? i.includes(n) : !1, u = (e, t, n, r = ".") => e.includes(n) ? e.filter((e) => !e.startsWith(`${t}${r}`)) : [...e, n], d = (e, t) => e.includes(t) ? e.filter((e) => e !== t) : [...e, t];
4231
4244
  return /* @__PURE__ */ o(yn, {
4232
4245
  className: "shadow-none border-2",
@@ -4238,7 +4251,7 @@ function Xo({ resourceId: e, label: t, masterPermission: n, actions: r, selected
4238
4251
  className: "font-bold text-sm",
4239
4252
  children: t
4240
4253
  })]
4241
- }), n && !c && /* @__PURE__ */ a(Aa, {
4254
+ }), n && !c && /* @__PURE__ */ a(ka, {
4242
4255
  checked: l,
4243
4256
  onCheckedChange: () => s(u(i, e, n))
4244
4257
  })]
@@ -4252,7 +4265,7 @@ function Xo({ resourceId: e, label: t, masterPermission: n, actions: r, selected
4252
4265
  className: "text-xs cursor-pointer",
4253
4266
  children: e.label
4254
4267
  })]
4255
- }), /* @__PURE__ */ a(Aa, {
4268
+ }), /* @__PURE__ */ a(ka, {
4256
4269
  disabled: !l,
4257
4270
  checked: i.includes(e.id),
4258
4271
  onCheckedChange: () => s(d(i, e.id))
@@ -4263,7 +4276,7 @@ function Xo({ resourceId: e, label: t, masterPermission: n, actions: r, selected
4263
4276
  }
4264
4277
  //#endregion
4265
4278
  //#region src/components/custom/permissions/permissionSkeleton.tsx
4266
- var Zo = () => /* @__PURE__ */ a("div", {
4279
+ var Xo = () => /* @__PURE__ */ a("div", {
4267
4280
  className: "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",
4268
4281
  children: [
4269
4282
  1,
@@ -4282,7 +4295,7 @@ var Zo = () => /* @__PURE__ */ a("div", {
4282
4295
  });
4283
4296
  //#endregion
4284
4297
  //#region src/components/custom/select/searchableSelect.tsx
4285
- function Qo({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChange: i, disabled: c, errorInputClass: l, placeholder: u = "اختر...", columnsNames: d, onSearch: f }) {
4298
+ function Zo({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChange: i, disabled: c, errorInputClass: l, placeholder: u = "اختر...", columnsNames: d, onSearch: f }) {
4286
4299
  let [p, m] = y.useState(!1), g = e.find((e) => String(e[n]) === r), _ = g ? String(g[t]) : u;
4287
4300
  return /* @__PURE__ */ o(It, {
4288
4301
  open: p,
@@ -4308,16 +4321,16 @@ function Qo({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChang
4308
4321
  children: [/* @__PURE__ */ a(Vn, {
4309
4322
  columnsNames: d,
4310
4323
  onSearch: f
4311
- }), /* @__PURE__ */ a(no, {
4324
+ }), /* @__PURE__ */ a(to, {
4312
4325
  shouldFilter: !1,
4313
- children: /* @__PURE__ */ a(ao, {
4326
+ children: /* @__PURE__ */ a(io, {
4314
4327
  className: "max-h-50 overflow-y-auto overflow-x-hidden",
4315
- children: e.length === 0 ? /* @__PURE__ */ a(oo, {
4328
+ children: e.length === 0 ? /* @__PURE__ */ a(ao, {
4316
4329
  className: "py-6 text-center text-sm text-muted-foreground",
4317
4330
  children: "لا توجد بيانات"
4318
- }) : /* @__PURE__ */ a(so, { children: e.map((e) => {
4331
+ }) : /* @__PURE__ */ a(oo, { children: e.map((e) => {
4319
4332
  let c = String(e[n]), l = String(e[t]);
4320
- return /* @__PURE__ */ o(lo, {
4333
+ return /* @__PURE__ */ o(co, {
4321
4334
  value: c,
4322
4335
  onSelect: () => {
4323
4336
  i(c), m(!1);
@@ -4333,16 +4346,16 @@ function Qo({ items: e, itemLabelKey: t, itemValueKey: n, value: r, onValueChang
4333
4346
  }
4334
4347
  //#endregion
4335
4348
  //#region src/components/custom/sideBar/sideBarCompanyData.tsx
4336
- function $o({ company: e }) {
4337
- return /* @__PURE__ */ a(H, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, {
4349
+ function Qo({ company: e }) {
4350
+ return /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, { children: /* @__PURE__ */ o(G, {
4338
4351
  size: "lg",
4339
4352
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
4340
- children: [/* @__PURE__ */ o(aa, {
4353
+ children: [/* @__PURE__ */ o(ia, {
4341
4354
  className: "h-8 w-8 rounded-lg grayscale",
4342
- children: [/* @__PURE__ */ a(oa, {
4355
+ children: [/* @__PURE__ */ a(aa, {
4343
4356
  src: e.logo,
4344
4357
  alt: e.name
4345
- }), /* @__PURE__ */ a(sa, {
4358
+ }), /* @__PURE__ */ a(oa, {
4346
4359
  className: "rounded-lg",
4347
4360
  children: "YSR"
4348
4361
  })]
@@ -4357,8 +4370,8 @@ function $o({ company: e }) {
4357
4370
  }
4358
4371
  //#endregion
4359
4372
  //#region src/components/custom/sideBar/sidebarLogo.tsx
4360
- function es({ logos: e, alt: t = "Logo" }) {
4361
- let { state: n } = _i(), r = n === "collapsed";
4373
+ function $o({ logos: e, alt: t = "Logo" }) {
4374
+ let { state: n } = H(), r = n === "collapsed";
4362
4375
  return /* @__PURE__ */ o("div", {
4363
4376
  className: `
4364
4377
  animate-fadeSlide transition-all duration-300 pb-3
@@ -4377,19 +4390,19 @@ function es({ logos: e, alt: t = "Logo" }) {
4377
4390
  }
4378
4391
  //#endregion
4379
4392
  //#region src/components/pure/collapsible.tsx
4380
- function ts({ ...e }) {
4393
+ function es({ ...e }) {
4381
4394
  return /* @__PURE__ */ a(nt.Root, {
4382
4395
  "data-slot": "collapsible",
4383
4396
  ...e
4384
4397
  });
4385
4398
  }
4386
- function ns({ ...e }) {
4399
+ function ts({ ...e }) {
4387
4400
  return /* @__PURE__ */ a(nt.CollapsibleTrigger, {
4388
4401
  "data-slot": "collapsible-trigger",
4389
4402
  ...e
4390
4403
  });
4391
4404
  }
4392
- function rs({ ...e }) {
4405
+ function ns({ ...e }) {
4393
4406
  return /* @__PURE__ */ a(nt.CollapsibleContent, {
4394
4407
  "data-slot": "collapsible-content",
4395
4408
  ...e
@@ -4397,20 +4410,20 @@ function rs({ ...e }) {
4397
4410
  }
4398
4411
  //#endregion
4399
4412
  //#region src/components/custom/sideBar/sideBarMainMenu.tsx
4400
- function is({ items: t }) {
4401
- return /* @__PURE__ */ a(Oi, {
4413
+ function rs({ items: t }) {
4414
+ return /* @__PURE__ */ a(Di, {
4402
4415
  className: "mt-5",
4403
- children: /* @__PURE__ */ a(ji, { children: /* @__PURE__ */ a(H, { children: t.map((t) => {
4416
+ children: /* @__PURE__ */ a(Ai, { children: /* @__PURE__ */ a(U, { children: t.map((t) => {
4404
4417
  if (!t.hasAuth) return null;
4405
4418
  if (t.subItems && t.subItems.length > 0) {
4406
4419
  let n = t.subItems.filter((e) => e.hasAuth);
4407
- return n.length === 0 ? null : /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(ts, {
4420
+ return n.length === 0 ? null : /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(es, {
4408
4421
  asChild: !0,
4409
4422
  defaultOpen: !1,
4410
4423
  className: "group/collapsible",
4411
- children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(ns, {
4424
+ children: /* @__PURE__ */ o(W, { children: [/* @__PURE__ */ a(ts, {
4412
4425
  asChild: !0,
4413
- children: /* @__PURE__ */ o(W, {
4426
+ children: /* @__PURE__ */ o(G, {
4414
4427
  tooltip: t.title,
4415
4428
  className: "w-full justify-between",
4416
4429
  children: [/* @__PURE__ */ o("div", {
@@ -4424,7 +4437,7 @@ function is({ items: t }) {
4424
4437
  })]
4425
4438
  }), /* @__PURE__ */ a(u, { className: "mr-auto transition-transform duration-200 group-data-[state=open]/collapsible:-rotate-90" })]
4426
4439
  })
4427
- }), /* @__PURE__ */ a(rs, { children: /* @__PURE__ */ a(Ii, { children: n.map((t) => /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(Li, { children: /* @__PURE__ */ a(Ri, {
4440
+ }), /* @__PURE__ */ a(ns, { children: /* @__PURE__ */ a(Fi, { children: n.map((t) => /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(Ii, { children: /* @__PURE__ */ a(Li, {
4428
4441
  asChild: !0,
4429
4442
  children: /* @__PURE__ */ a(e, {
4430
4443
  to: t.url,
@@ -4439,7 +4452,7 @@ function is({ items: t }) {
4439
4452
  "aria-hidden": "true"
4440
4453
  })] }, t.title);
4441
4454
  }
4442
- return /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
4455
+ return /* @__PURE__ */ o(Oe, { children: [/* @__PURE__ */ a(W, { children: /* @__PURE__ */ a(G, {
4443
4456
  asChild: !0,
4444
4457
  tooltip: t.title,
4445
4458
  children: /* @__PURE__ */ o(e, {
@@ -4462,11 +4475,11 @@ function is({ items: t }) {
4462
4475
  }
4463
4476
  //#endregion
4464
4477
  //#region src/components/custom/theme/themeProvider.tsx
4465
- var as = ke({
4478
+ var is = ke({
4466
4479
  theme: "system",
4467
4480
  setTheme: () => null
4468
4481
  });
4469
- function os({ children: e, defaultTheme: t = "system", storageKey: n = "yusr-theme", ...r }) {
4482
+ function as({ children: e, defaultTheme: t = "system", storageKey: n = "yusr-theme", ...r }) {
4470
4483
  let [i, o] = x(t), [s, c] = x(!1);
4471
4484
  je(() => {
4472
4485
  c(!0);
@@ -4488,26 +4501,26 @@ function os({ children: e, defaultTheme: t = "system", storageKey: n = "yusr-the
4488
4501
  localStorage.setItem(n, e), o(e);
4489
4502
  }
4490
4503
  };
4491
- return /* @__PURE__ */ a(as.Provider, {
4504
+ return /* @__PURE__ */ a(is.Provider, {
4492
4505
  ...r,
4493
4506
  value: l,
4494
4507
  children: e
4495
4508
  });
4496
4509
  }
4497
- var ss = () => {
4498
- let e = Ae(as);
4510
+ var os = () => {
4511
+ let e = Ae(is);
4499
4512
  if (e === void 0) throw Error("useTheme must be used within a ThemeProvider");
4500
4513
  return e;
4501
4514
  };
4502
4515
  //#endregion
4503
4516
  //#region src/components/custom/theme/themeToggle.tsx
4504
- function cs({ variant: e = "icon" }) {
4505
- let { setTheme: t } = ss();
4517
+ function ss({ variant: e = "icon" }) {
4518
+ let { setTheme: t } = os();
4506
4519
  return /* @__PURE__ */ o(Pr, {
4507
4520
  dir: "rtl",
4508
4521
  children: [/* @__PURE__ */ a(Ir, {
4509
4522
  asChild: !0,
4510
- children: e === "sidebar" ? /* @__PURE__ */ o(W, {
4523
+ children: e === "sidebar" ? /* @__PURE__ */ o(G, {
4511
4524
  className: "w-full justify-start gap-3 px-3",
4512
4525
  children: [/* @__PURE__ */ o("div", {
4513
4526
  className: "relative flex items-center justify-center shrink-0 size-4",
@@ -4550,11 +4563,11 @@ function cs({ variant: e = "icon" }) {
4550
4563
  }
4551
4564
  //#endregion
4552
4565
  //#region src/components/custom/sideBar/sideBarSecondaryMenu.tsx
4553
- function ls({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
4554
- return /* @__PURE__ */ a(Oi, {
4566
+ function cs({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
4567
+ return /* @__PURE__ */ a(Di, {
4555
4568
  ...r,
4556
- children: /* @__PURE__ */ a(ji, { children: /* @__PURE__ */ o(H, { children: [
4557
- e.map((e) => /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
4569
+ children: /* @__PURE__ */ a(Ai, { children: /* @__PURE__ */ o(U, { children: [
4570
+ e.map((e) => /* @__PURE__ */ a(W, { children: /* @__PURE__ */ a(G, {
4558
4571
  asChild: !0,
4559
4572
  children: /* @__PURE__ */ o(n, {
4560
4573
  href: e.url,
@@ -4568,8 +4581,8 @@ function ls({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
4568
4581
  })]
4569
4582
  })
4570
4583
  }) }, e.title)),
4571
- /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(cs, { variant: "sidebar" }) }),
4572
- /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
4584
+ /* @__PURE__ */ a(W, { children: /* @__PURE__ */ a(ss, { variant: "sidebar" }) }),
4585
+ /* @__PURE__ */ a(W, { children: /* @__PURE__ */ a(G, {
4573
4586
  asChild: !0,
4574
4587
  onClick: t,
4575
4588
  children: /* @__PURE__ */ o("div", {
@@ -4588,16 +4601,16 @@ function ls({ items: e, onLogout: t, LinkComponent: n = "a", ...r }) {
4588
4601
  }
4589
4602
  //#endregion
4590
4603
  //#region src/components/custom/sideBar/sideBarUserData.tsx
4591
- function us({ user: e }) {
4592
- return /* @__PURE__ */ a(H, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, {
4604
+ function ls({ user: e }) {
4605
+ return /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, { children: /* @__PURE__ */ o(G, {
4593
4606
  size: "lg",
4594
4607
  className: "data-[state=open]:bg-sidebar-accent data-[state=open]:text-sidebar-accent-foreground",
4595
- children: [/* @__PURE__ */ o(aa, {
4608
+ children: [/* @__PURE__ */ o(ia, {
4596
4609
  className: "h-8 w-8 rounded-lg grayscale",
4597
- children: [/* @__PURE__ */ a(oa, {
4610
+ children: [/* @__PURE__ */ a(aa, {
4598
4611
  src: "/avatars/shadcn.jpg",
4599
4612
  alt: e?.username
4600
- }), /* @__PURE__ */ a(sa, {
4613
+ }), /* @__PURE__ */ a(oa, {
4601
4614
  className: "rounded-lg",
4602
4615
  children: "YSR"
4603
4616
  })]
@@ -4612,27 +4625,27 @@ function us({ user: e }) {
4612
4625
  }
4613
4626
  //#endregion
4614
4627
  //#region src/hooks/useSidebarContext.tsx
4615
- var ds = ke(null), fs = () => {
4616
- let e = Ae(ds);
4628
+ var us = ke(null), ds = () => {
4629
+ let e = Ae(us);
4617
4630
  if (!e) throw Error("useSidebarContext must be used within a SidebarProvider");
4618
4631
  return e;
4619
4632
  };
4620
4633
  //#endregion
4621
4634
  //#region src/components/custom/sideBar/yusrSideBarMainMenu.tsx
4622
- function ps({ items: e, LinkComponent: t = "a" }) {
4623
- return /* @__PURE__ */ a(Oi, {
4635
+ function fs({ items: e, LinkComponent: t = "a" }) {
4636
+ return /* @__PURE__ */ a(Di, {
4624
4637
  className: "mt-5",
4625
- children: /* @__PURE__ */ a(ji, { children: /* @__PURE__ */ a(H, { children: e.map((e) => {
4638
+ children: /* @__PURE__ */ a(Ai, { children: /* @__PURE__ */ a(U, { children: e.map((e) => {
4626
4639
  if (!e.hasAuth) return null;
4627
4640
  if (e.subItems && e.subItems.length > 0) {
4628
4641
  let n = e.subItems.filter((e) => e.hasAuth);
4629
- return n.length === 0 ? null : /* @__PURE__ */ a(ts, {
4642
+ return n.length === 0 ? null : /* @__PURE__ */ a(es, {
4630
4643
  asChild: !0,
4631
4644
  defaultOpen: !1,
4632
4645
  className: "group/collapsible",
4633
- children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(ns, {
4646
+ children: /* @__PURE__ */ o(W, { children: [/* @__PURE__ */ a(ts, {
4634
4647
  asChild: !0,
4635
- children: /* @__PURE__ */ o(W, {
4648
+ children: /* @__PURE__ */ o(G, {
4636
4649
  tooltip: e.title,
4637
4650
  className: "w-full justify-between",
4638
4651
  children: [/* @__PURE__ */ o("div", {
@@ -4646,7 +4659,7 @@ function ps({ items: e, LinkComponent: t = "a" }) {
4646
4659
  })]
4647
4660
  }), /* @__PURE__ */ a(f, { className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" })]
4648
4661
  })
4649
- }), /* @__PURE__ */ a(rs, { children: /* @__PURE__ */ a(Ii, { children: n.map((e) => /* @__PURE__ */ a(Li, { children: /* @__PURE__ */ a(Ri, {
4662
+ }), /* @__PURE__ */ a(ns, { children: /* @__PURE__ */ a(Fi, { children: n.map((e) => /* @__PURE__ */ a(Ii, { children: /* @__PURE__ */ a(Li, {
4650
4663
  asChild: !0,
4651
4664
  children: /* @__PURE__ */ a(t, {
4652
4665
  href: e.url,
@@ -4655,7 +4668,7 @@ function ps({ items: e, LinkComponent: t = "a" }) {
4655
4668
  }) }, e.title)) }) })] })
4656
4669
  }, e.title);
4657
4670
  }
4658
- return /* @__PURE__ */ a(U, { children: /* @__PURE__ */ a(W, {
4671
+ return /* @__PURE__ */ a(W, { children: /* @__PURE__ */ a(G, {
4659
4672
  asChild: !0,
4660
4673
  tooltip: e.title,
4661
4674
  children: /* @__PURE__ */ o(t, {
@@ -4675,11 +4688,11 @@ function ps({ items: e, LinkComponent: t = "a" }) {
4675
4688
  }
4676
4689
  //#endregion
4677
4690
  //#region src/components/custom/sideBar/yusrSideBar.tsx
4678
- function ms({ LinkComponent: e = "a", logos: t, displayCompany: n = {
4691
+ function ps({ LinkComponent: e = "a", logos: t, displayCompany: n = {
4679
4692
  name: "Yusr UI",
4680
4693
  logo: "/yusr-logo.png"
4681
4694
  }, navMain: r, navSecondary: i, children: o, ...s }) {
4682
- return /* @__PURE__ */ a(ds.Provider, {
4695
+ return /* @__PURE__ */ a(us.Provider, {
4683
4696
  value: {
4684
4697
  LinkComponent: e,
4685
4698
  logos: t,
@@ -4687,7 +4700,7 @@ function ms({ LinkComponent: e = "a", logos: t, displayCompany: n = {
4687
4700
  navMain: r,
4688
4701
  navSecondary: i
4689
4702
  },
4690
- children: /* @__PURE__ */ a(vi, { children: /* @__PURE__ */ a(yi, {
4703
+ children: /* @__PURE__ */ a(_i, { children: /* @__PURE__ */ a(vi, {
4691
4704
  collapsible: "icon",
4692
4705
  side: "right",
4693
4706
  ...s,
@@ -4695,9 +4708,9 @@ function ms({ LinkComponent: e = "a", logos: t, displayCompany: n = {
4695
4708
  }) })
4696
4709
  });
4697
4710
  }
4698
- ms.Header = function() {
4699
- let { displayCompany: e, logos: t } = fs();
4700
- return /* @__PURE__ */ a(wi, { children: /* @__PURE__ */ a(H, { children: /* @__PURE__ */ o(U, { children: [/* @__PURE__ */ a(es, { logos: {
4711
+ ps.Header = function() {
4712
+ let { displayCompany: e, logos: t } = ds();
4713
+ return /* @__PURE__ */ a(Ci, { children: /* @__PURE__ */ a(U, { children: /* @__PURE__ */ o(W, { children: [/* @__PURE__ */ a($o, { logos: {
4701
4714
  full: {
4702
4715
  light: t.logoFullLight,
4703
4716
  dark: t.logoFullDark
@@ -4706,24 +4719,24 @@ ms.Header = function() {
4706
4719
  light: t.logoOnlyLight,
4707
4720
  dark: t.logoOnlyDark
4708
4721
  }
4709
- } }), e && /* @__PURE__ */ a($o, { company: e })] }) }) });
4710
- }, ms.Content = function({ LogoutHandler: e }) {
4711
- let { navMain: t, navSecondary: n, LinkComponent: r } = fs();
4712
- return !t || !n ? /* @__PURE__ */ a(Di, {}) : /* @__PURE__ */ o(Di, { children: [/* @__PURE__ */ a(ps, {
4722
+ } }), e && /* @__PURE__ */ a(Qo, { company: e })] }) }) });
4723
+ }, ps.Content = function({ LogoutHandler: e }) {
4724
+ let { navMain: t, navSecondary: n, LinkComponent: r } = ds();
4725
+ return !t || !n ? /* @__PURE__ */ a(Ei, {}) : /* @__PURE__ */ o(Ei, { children: [/* @__PURE__ */ a(fs, {
4713
4726
  items: t,
4714
4727
  LinkComponent: r
4715
- }), e !== void 0 && /* @__PURE__ */ a(ls, {
4728
+ }), e !== void 0 && /* @__PURE__ */ a(cs, {
4716
4729
  items: n,
4717
4730
  className: "pt-10 mt-auto text-center",
4718
4731
  onLogout: e,
4719
4732
  LinkComponent: r
4720
4733
  })] });
4721
- }, ms.Footer = function({ loggedInUser: e = void 0 }) {
4722
- return /* @__PURE__ */ a(Ti, { children: /* @__PURE__ */ a(us, { user: e }) });
4734
+ }, ps.Footer = function({ loggedInUser: e = void 0 }) {
4735
+ return /* @__PURE__ */ a(wi, { children: /* @__PURE__ */ a(ls, { user: e }) });
4723
4736
  };
4724
4737
  //#endregion
4725
4738
  //#region src/components/custom/status/loading.tsx
4726
- function hs({ entityName: e }) {
4739
+ function ms({ entityName: e }) {
4727
4740
  return /* @__PURE__ */ o("div", {
4728
4741
  className: "sm:max-w-xl flex flex-col items-center justify-center py-20",
4729
4742
  children: [/* @__PURE__ */ a(re, { className: "h-10 w-10 animate-spin text-primary" }), /* @__PURE__ */ o("p", {
@@ -4738,7 +4751,7 @@ function hs({ entityName: e }) {
4738
4751
  }
4739
4752
  //#endregion
4740
4753
  //#region src/hooks/useDialog.ts
4741
- function gs() {
4754
+ function hs() {
4742
4755
  let [e, t] = x(null), [n, r] = x(!1), [i, a] = x(!1);
4743
4756
  return {
4744
4757
  selectedRow: e,
@@ -4756,7 +4769,7 @@ function gs() {
4756
4769
  }
4757
4770
  //#endregion
4758
4771
  //#region src/hooks/useDynamicList.ts
4759
- function _s(e, t, n) {
4772
+ function gs(e, t, n) {
4760
4773
  return {
4761
4774
  addRow: b((r) => {
4762
4775
  t((t) => ({
@@ -4804,7 +4817,7 @@ function _s(e, t, n) {
4804
4817
  }
4805
4818
  //#endregion
4806
4819
  //#region src/hooks/useFormValidation.ts
4807
- function vs(e, t) {
4820
+ function _s(e, t) {
4808
4821
  let [n, r] = x({}), i = (e) => n[e], a = (e) => !!n[e];
4809
4822
  return {
4810
4823
  errors: n,
@@ -4834,10 +4847,10 @@ function vs(e, t) {
4834
4847
  }
4835
4848
  //#endregion
4836
4849
  //#region src/hooks/useEntityForm.ts
4837
- function ys(e, t) {
4850
+ function vs(e, t) {
4838
4851
  let [n, r] = x({ ...e }), [i, a] = x(e);
4839
4852
  e !== i && (r({ ...e }), a(e));
4840
- let o = vs(n, t);
4853
+ let o = _s(n, t);
4841
4854
  return {
4842
4855
  formData: n,
4843
4856
  handleChange: b((e) => {
@@ -4856,7 +4869,7 @@ function ys(e, t) {
4856
4869
  }
4857
4870
  //#endregion
4858
4871
  //#region src/hooks/useLightBox.ts
4859
- function bs() {
4872
+ function ys() {
4860
4873
  let [e, t] = x(null);
4861
4874
  return {
4862
4875
  lightbox: e,
@@ -4872,7 +4885,7 @@ function bs() {
4872
4885
  }
4873
4886
  //#endregion
4874
4887
  //#region src/hooks/useStorageFile.ts
4875
- function xs(e, t) {
4888
+ function bs(e, t) {
4876
4889
  let n = Ne(null), r = async (r) => {
4877
4890
  let i = Array.from(r.target.files || []);
4878
4891
  if (i.length === 0) return;
@@ -4958,7 +4971,7 @@ function xs(e, t) {
4958
4971
  }
4959
4972
  //#endregion
4960
4973
  //#region src/state/authListener.ts
4961
- var Ss = (e, t) => {
4974
+ var xs = (e, t) => {
4962
4975
  window.addEventListener("storage", (n) => {
4963
4976
  n.key === rt.AuthCheckStorageItemName && e(t.syncFromStorage());
4964
4977
  }), window.addEventListener(rt.UnauthorizedEventName, () => {
@@ -4967,7 +4980,7 @@ var Ss = (e, t) => {
4967
4980
  };
4968
4981
  //#endregion
4969
4982
  //#region src/state/generics/genericDialogSlice.ts
4970
- function Cs(e) {
4983
+ function Ss(e) {
4971
4984
  return ot({
4972
4985
  name: e,
4973
4986
  initialState: {
@@ -4993,7 +5006,7 @@ function Cs(e) {
4993
5006
  }
4994
5007
  //#endregion
4995
5008
  //#region ../../node_modules/immer/dist/immer.mjs
4996
- var ws = Symbol.for("immer-nothing"), Ts = Symbol.for("immer-draftable"), G = Symbol.for("immer-state"), Es = process.env.NODE_ENV === "production" ? [] : [
5009
+ var Cs = Symbol.for("immer-nothing"), ws = Symbol.for("immer-draftable"), K = Symbol.for("immer-state"), Ts = process.env.NODE_ENV === "production" ? [] : [
4997
5010
  function(e) {
4998
5011
  return `The plugin for '${e}' has not been loaded into Immer. To enable the plugin, import and call \`enable${e}()\` when initializing your application.`;
4999
5012
  },
@@ -5021,38 +5034,38 @@ var ws = Symbol.for("immer-nothing"), Ts = Symbol.for("immer-draftable"), G = Sy
5021
5034
  return `'original' expects a draft, got: ${e}`;
5022
5035
  }
5023
5036
  ];
5024
- function K(e, ...t) {
5037
+ function q(e, ...t) {
5025
5038
  if (process.env.NODE_ENV !== "production") {
5026
- let n = Es[e], r = Z(n) ? n.apply(null, t) : n;
5039
+ let n = Ts[e], r = Z(n) ? n.apply(null, t) : n;
5027
5040
  throw Error(`[Immer] ${r}`);
5028
5041
  }
5029
5042
  throw Error(`[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`);
5030
5043
  }
5031
- var q = Object, J = q.getPrototypeOf, Ds = "constructor", Os = "prototype", ks = "configurable", As = "enumerable", js = "writable", Ms = "value", Y = (e) => !!e && !!e[G];
5044
+ var J = Object, Es = J.getPrototypeOf, Ds = "constructor", Os = "prototype", ks = "configurable", As = "enumerable", js = "writable", Ms = "value", Y = (e) => !!e && !!e[K];
5032
5045
  function X(e) {
5033
- return e ? Fs(e) || Hs(e) || !!e[Ts] || !!e[Ds]?.[Ts] || Us(e) || Ws(e) : !1;
5046
+ return e ? Fs(e) || Hs(e) || !!e[ws] || !!e[Ds]?.[ws] || Us(e) || Ws(e) : !1;
5034
5047
  }
5035
- var Ns = q[Os][Ds].toString(), Ps = /* @__PURE__ */ new WeakMap();
5048
+ var Ns = J[Os][Ds].toString(), Ps = /* @__PURE__ */ new WeakMap();
5036
5049
  function Fs(e) {
5037
5050
  if (!e || !Gs(e)) return !1;
5038
- let t = J(e);
5039
- if (t === null || t === q[Os]) return !0;
5040
- let n = q.hasOwnProperty.call(t, Ds) && t[Ds];
5051
+ let t = Es(e);
5052
+ if (t === null || t === J[Os]) return !0;
5053
+ let n = J.hasOwnProperty.call(t, Ds) && t[Ds];
5041
5054
  if (n === Object) return !0;
5042
5055
  if (!Z(n)) return !1;
5043
5056
  let r = Ps.get(n);
5044
5057
  return r === void 0 && (r = Function.toString.call(n), Ps.set(n, r)), r === Ns;
5045
5058
  }
5046
5059
  function Is(e, t, n = !0) {
5047
- Ls(e) === 0 ? (n ? Reflect.ownKeys(e) : q.keys(e)).forEach((n) => {
5060
+ Ls(e) === 0 ? (n ? Reflect.ownKeys(e) : J.keys(e)).forEach((n) => {
5048
5061
  t(n, e[n], e);
5049
5062
  }) : e.forEach((n, r) => t(r, n, e));
5050
5063
  }
5051
5064
  function Ls(e) {
5052
- let t = e[G];
5065
+ let t = e[K];
5053
5066
  return t ? t.type_ : Hs(e) ? 1 : Us(e) ? 2 : Ws(e) ? 3 : 0;
5054
5067
  }
5055
- var Rs = (e, t, n = Ls(e)) => n === 2 ? e.has(t) : q[Os].hasOwnProperty.call(e, t), zs = (e, t, n = Ls(e)) => n === 2 ? e.get(t) : e[t], Bs = (e, t, n, r = Ls(e)) => {
5068
+ var Rs = (e, t, n = Ls(e)) => n === 2 ? e.has(t) : J[Os].hasOwnProperty.call(e, t), zs = (e, t, n = Ls(e)) => n === 2 ? e.get(t) : e[t], Bs = (e, t, n, r = Ls(e)) => {
5056
5069
  r === 2 ? e.set(t, n) : r === 3 ? e.add(n) : e[t] = n;
5057
5070
  };
5058
5071
  function Vs(e, t) {
@@ -5070,8 +5083,8 @@ function Ys(e, t) {
5070
5083
  if (Hs(e)) return Array[Os].slice.call(e);
5071
5084
  let n = Fs(e);
5072
5085
  if (t === !0 || t === "class_only" && !n) {
5073
- let t = q.getOwnPropertyDescriptors(e);
5074
- delete t[G];
5086
+ let t = J.getOwnPropertyDescriptors(e);
5087
+ delete t[K];
5075
5088
  let n = Reflect.ownKeys(t);
5076
5089
  for (let r = 0; r < n.length; r++) {
5077
5090
  let i = n[r], a = t[i];
@@ -5082,35 +5095,35 @@ function Ys(e, t) {
5082
5095
  [Ms]: e[i]
5083
5096
  });
5084
5097
  }
5085
- return q.create(J(e), t);
5098
+ return J.create(Es(e), t);
5086
5099
  } else {
5087
- let t = J(e);
5100
+ let t = Es(e);
5088
5101
  if (t !== null && n) return { ...e };
5089
- let r = q.create(t);
5090
- return q.assign(r, e);
5102
+ let r = J.create(t);
5103
+ return J.assign(r, e);
5091
5104
  }
5092
5105
  }
5093
5106
  function Xs(e, t = !1) {
5094
- return $s(e) || Y(e) || !X(e) ? e : (Ls(e) > 1 && q.defineProperties(e, {
5107
+ return $s(e) || Y(e) || !X(e) ? e : (Ls(e) > 1 && J.defineProperties(e, {
5095
5108
  set: Qs,
5096
5109
  add: Qs,
5097
5110
  clear: Qs,
5098
5111
  delete: Qs
5099
- }), q.freeze(e), t && Is(e, (e, t) => {
5112
+ }), J.freeze(e), t && Is(e, (e, t) => {
5100
5113
  Xs(t, !0);
5101
5114
  }, !1), e);
5102
5115
  }
5103
5116
  function Zs() {
5104
- K(2);
5117
+ q(2);
5105
5118
  }
5106
5119
  var Qs = { [Ms]: Zs };
5107
5120
  function $s(e) {
5108
- return e === null || !Gs(e) ? !0 : q.isFrozen(e);
5121
+ return e === null || !Gs(e) ? !0 : J.isFrozen(e);
5109
5122
  }
5110
5123
  var ec = "MapSet", tc = "Patches", nc = "ArrayMethods", rc = {};
5111
5124
  function $(e) {
5112
5125
  let t = rc[e];
5113
- return t || K(0, e), t;
5126
+ return t || q(0, e), t;
5114
5127
  }
5115
5128
  var ic = (e) => !!rc[e], ac, oc = () => ac, sc = (e, t) => ({
5116
5129
  drafts_: [],
@@ -5134,22 +5147,22 @@ function uc(e) {
5134
5147
  }
5135
5148
  var dc = (e) => ac = sc(ac, e);
5136
5149
  function fc(e) {
5137
- let t = e[G];
5150
+ let t = e[K];
5138
5151
  t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
5139
5152
  }
5140
5153
  function pc(e, t) {
5141
5154
  t.unfinalizedDrafts_ = t.drafts_.length;
5142
5155
  let n = t.drafts_[0];
5143
5156
  if (e !== void 0 && e !== n) {
5144
- n[G].modified_ && (lc(t), K(4)), X(e) && (e = mc(t, e));
5157
+ n[K].modified_ && (lc(t), q(4)), X(e) && (e = mc(t, e));
5145
5158
  let { patchPlugin_: r } = t;
5146
- r && r.generateReplacementPatches_(n[G].base_, e, t);
5159
+ r && r.generateReplacementPatches_(n[K].base_, e, t);
5147
5160
  } else e = mc(t, n);
5148
- return hc(t, e, !0), lc(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === ws ? void 0 : e;
5161
+ return hc(t, e, !0), lc(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e === Cs ? void 0 : e;
5149
5162
  }
5150
5163
  function mc(e, t) {
5151
5164
  if ($s(t)) return t;
5152
- let n = t[G];
5165
+ let n = t[K];
5153
5166
  if (!n) return Cc(t, e.handledSet_, e);
5154
5167
  if (!_c(n, e)) return t;
5155
5168
  if (!n.modified_) return n.base_;
@@ -5207,7 +5220,7 @@ function xc(e, t) {
5207
5220
  function Sc(e, t, n) {
5208
5221
  let { scope_: r } = e;
5209
5222
  if (Y(n)) {
5210
- let i = n[G];
5223
+ let i = n[K];
5211
5224
  _c(i, r) && i.callbacks_.push(function() {
5212
5225
  jc(e), yc(e, n, Js(i), t);
5213
5226
  });
@@ -5219,7 +5232,7 @@ function Sc(e, t, n) {
5219
5232
  function Cc(e, t, n) {
5220
5233
  return !n.immer_.autoFreeze_ && n.unfinalizedDrafts_ < 1 || Y(e) || t.has(e) || !X(e) || $s(e) ? e : (t.add(e), Is(e, (r, i) => {
5221
5234
  if (Y(i)) {
5222
- let t = i[G];
5235
+ let t = i[K];
5223
5236
  _c(t, n) && (Bs(e, r, Js(t), e.type_), gc(t));
5224
5237
  } else X(i) && Cc(i, t, n);
5225
5238
  }), e);
@@ -5245,7 +5258,7 @@ function wc(e, t) {
5245
5258
  }
5246
5259
  var Tc = {
5247
5260
  get(e, t) {
5248
- if (t === G) return e;
5261
+ if (t === K) return e;
5249
5262
  let n = e.scope_.arrayMethodsPlugin_, r = e.type_ === 1 && typeof t == "string";
5250
5263
  if (r && n?.isArrayOperationMethod(t)) return n.createMethodInterceptor(e, t);
5251
5264
  let i = Q(e);
@@ -5269,7 +5282,7 @@ var Tc = {
5269
5282
  let r = kc(Q(e), t);
5270
5283
  if (r?.set) return r.set.call(e.draft_, n), !0;
5271
5284
  if (!e.modified_) {
5272
- let r = Dc(Q(e), t), i = r?.[G];
5285
+ let r = Dc(Q(e), t), i = r?.[K];
5273
5286
  if (i && i.base_ === n) return e.copy_[t] = n, e.assigned_.set(t, !1), !0;
5274
5287
  if (Vs(n, r) && (n !== void 0 || Rs(e.base_, t, e.type_))) return !0;
5275
5288
  jc(e), Ac(e);
@@ -5289,13 +5302,13 @@ var Tc = {
5289
5302
  };
5290
5303
  },
5291
5304
  defineProperty() {
5292
- K(11);
5305
+ q(11);
5293
5306
  },
5294
5307
  getPrototypeOf(e) {
5295
- return J(e.base_);
5308
+ return Es(e.base_);
5296
5309
  },
5297
5310
  setPrototypeOf() {
5298
- K(12);
5311
+ q(12);
5299
5312
  }
5300
5313
  }, Ec = {};
5301
5314
  for (let e in Tc) {
@@ -5306,12 +5319,12 @@ for (let e in Tc) {
5306
5319
  };
5307
5320
  }
5308
5321
  Ec.deleteProperty = function(e, t) {
5309
- return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && K(13), Ec.set.call(this, e, t, void 0);
5322
+ return process.env.NODE_ENV !== "production" && isNaN(parseInt(t)) && q(13), Ec.set.call(this, e, t, void 0);
5310
5323
  }, Ec.set = function(e, t, n) {
5311
- return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && K(14), Tc.set.call(this, e[0], t, n, e[0]);
5324
+ return process.env.NODE_ENV !== "production" && t !== "length" && isNaN(parseInt(t)) && q(14), Tc.set.call(this, e[0], t, n, e[0]);
5312
5325
  };
5313
5326
  function Dc(e, t) {
5314
- let n = e[G];
5327
+ let n = e[K];
5315
5328
  return (n ? Q(n) : e)[t];
5316
5329
  }
5317
5330
  function Oc(e, t, n) {
@@ -5320,11 +5333,11 @@ function Oc(e, t, n) {
5320
5333
  }
5321
5334
  function kc(e, t) {
5322
5335
  if (!(t in e)) return;
5323
- let n = J(e);
5336
+ let n = Es(e);
5324
5337
  for (; n;) {
5325
5338
  let e = Object.getOwnPropertyDescriptor(n, t);
5326
5339
  if (e) return e;
5327
- n = J(n);
5340
+ n = Es(n);
5328
5341
  }
5329
5342
  }
5330
5343
  function Ac(e) {
@@ -5344,7 +5357,7 @@ var Mc = class {
5344
5357
  return r.produce(e, (e) => t.call(this, e, ...i));
5345
5358
  };
5346
5359
  }
5347
- Z(t) || K(6), n !== void 0 && !Z(n) && K(7);
5360
+ Z(t) || q(6), n !== void 0 && !Z(n) && q(7);
5348
5361
  let r;
5349
5362
  if (X(e)) {
5350
5363
  let i = dc(this), a = Nc(i, e, void 0), o = !0;
@@ -5355,7 +5368,7 @@ var Mc = class {
5355
5368
  }
5356
5369
  return cc(i, n), pc(r, i);
5357
5370
  } else if (!e || !Gs(e)) {
5358
- if (r = t(e), r === void 0 && (r = e), r === ws && (r = void 0), this.autoFreeze_ && Xs(r, !0), n) {
5371
+ if (r = t(e), r === void 0 && (r = e), r === Cs && (r = void 0), this.autoFreeze_ && Xs(r, !0), n) {
5359
5372
  let t = [], i = [];
5360
5373
  $(tc).generateReplacementPatches_(e, r, {
5361
5374
  patches_: t,
@@ -5363,7 +5376,7 @@ var Mc = class {
5363
5376
  }), n(t, i);
5364
5377
  }
5365
5378
  return r;
5366
- } else K(1, e);
5379
+ } else q(1, e);
5367
5380
  }, this.produceWithPatches = (e, t) => {
5368
5381
  if (Z(e)) return (t, ...n) => this.produceWithPatches(t, (t) => e(t, ...n));
5369
5382
  let n, r;
@@ -5377,13 +5390,13 @@ var Mc = class {
5377
5390
  }, Ks(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), Ks(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), Ks(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
5378
5391
  }
5379
5392
  createDraft(e) {
5380
- X(e) || K(8), Y(e) && (e = Pc(e));
5393
+ X(e) || q(8), Y(e) && (e = Pc(e));
5381
5394
  let t = dc(this), n = Nc(t, e, void 0);
5382
- return n[G].isManual_ = !0, uc(t), n;
5395
+ return n[K].isManual_ = !0, uc(t), n;
5383
5396
  }
5384
5397
  finishDraft(e, t) {
5385
- let n = e && e[G];
5386
- (!n || !n.isManual_) && K(9);
5398
+ let n = e && e[K];
5399
+ (!n || !n.isManual_) && q(9);
5387
5400
  let { scope_: r } = n;
5388
5401
  return cc(r, t), pc(void 0, r);
5389
5402
  }
@@ -5422,11 +5435,11 @@ function Nc(e, t, n, r) {
5422
5435
  }), i;
5423
5436
  }
5424
5437
  function Pc(e) {
5425
- return Y(e) || K(10, e), Fc(e);
5438
+ return Y(e) || q(10, e), Fc(e);
5426
5439
  }
5427
5440
  function Fc(e) {
5428
5441
  if (!X(e) || $s(e)) return e;
5429
- let t = e[G], n, r = !0;
5442
+ let t = e[K], n, r = !0;
5430
5443
  if (t) {
5431
5444
  if (!t.modified_) return t.base_;
5432
5445
  t.finalized_ = !0, n = Ys(e, t.scope_.immer_.useStrictShallowCopy_), r = t.scope_.immer_.shouldUseStrictIteration();
@@ -5491,4 +5504,4 @@ function Lc(e, t, n, r) {
5491
5504
  };
5492
5505
  }
5493
5506
  //#endregion
5494
- export { ta as Alert, ia as AlertAction, ra as AlertDescription, Hi as AlertDialog, Qi as AlertDialogAction, $i as AlertDialogCancel, Ki as AlertDialogContent, Zi as AlertDialogDescription, Ji as AlertDialogFooter, qi as AlertDialogHeader, Yi as AlertDialogMedia, Gi as AlertDialogOverlay, Wi as AlertDialogPortal, Xi as AlertDialogTitle, Ui as AlertDialogTrigger, na as AlertTitle, aa as Avatar, ca as AvatarBadge, sa as AvatarFallback, la as AvatarGroup, ua as AvatarGroupCount, oa as AvatarImage, fa as Badge, Kt as BaseInput, pa as Breadcrumb, ya as BreadcrumbEllipsis, ha as BreadcrumbItem, ga as BreadcrumbLink, ma as BreadcrumbList, _a as BreadcrumbPage, va as BreadcrumbSeparator, F as Button, Pt as Calendar, Ft as CalendarDayButton, yn as Card, Cn as CardAction, wn as CardContent, Sn as CardDescription, Tn as CardFooter, bn as CardHeader, xn as CardTitle, On as Carousel, kn as CarouselContent, An as CarouselItem, Mn as CarouselNext, jn as CarouselPrevious, xt as ChangeDialog, Ca as ChartContainer, Da as ChartLegend, Oa as ChartLegendContent, wa as ChartStyle, Ta as ChartTooltip, Ea as ChartTooltipContent, Aa as Checkbox, za as Combobox, $a as ComboboxChip, Qa as ComboboxChips, eo as ComboboxChipsInput, Ya as ComboboxCollection, Wa as ComboboxContent, Xa as ComboboxEmpty, qa as ComboboxGroup, Ua as ComboboxInput, Ka as ComboboxItem, Ja as ComboboxLabel, Ga as ComboboxList, Za as ComboboxSeparator, Va as ComboboxTrigger, Ba as ComboboxValue, no as Command, ro as CommandDialog, oo as CommandEmpty, so as CommandGroup, io as CommandInput, lo as CommandItem, ao as CommandList, co as CommandSeparator, uo as CommandShortcut, cr as ContextMenu, vr as ContextMenuCheckboxItem, mr as ContextMenuContent, ur as ContextMenuGroup, hr as ContextMenuItem, br as ContextMenuLabel, dr as ContextMenuPortal, pr as ContextMenuRadioGroup, yr as ContextMenuRadioItem, xr as ContextMenuSeparator, Sr as ContextMenuShortcut, fr as ContextMenuSub, _r as ContextMenuSubContent, gr as ContextMenuSubTrigger, lr as ContextMenuTrigger, rr as CrudEmptyTablePreview, Vi as CrudPage, sr as CrudTable, Cr as CrudTableBodyRow, wr as CrudTableCard, Tr as CrudTableHeader, Er as CrudTableHeaderRows, zi as CrudTablePagination, Bi as CrudTableRowActionsMenu, Gt as DateField, Ut as DateInput, Jt as DateTimeField, qt as DateTimeInput, St as DeleteDialog, I as Dialog, mt as DialogClose, gt as DialogContent, bt as DialogDescription, vt as DialogFooter, _t as DialogHeader, ht as DialogOverlay, pt as DialogPortal, yt as DialogTitle, ft as DialogTrigger, fo as DirectionProvider, mo as Drawer, _o as DrawerClose, yo as DrawerContent, Co as DrawerDescription, xo as DrawerFooter, bo as DrawerHeader, vo as DrawerOverlay, go as DrawerPortal, So as DrawerTitle, ho as DrawerTrigger, Pr as DropdownMenu, zr as DropdownMenuCheckboxItem, Lr as DropdownMenuContent, Rr as DropdownMenuGroup, B as DropdownMenuItem, Hr as DropdownMenuLabel, Fr as DropdownMenuPortal, Br as DropdownMenuRadioGroup, Vr as DropdownMenuRadioItem, Ur as DropdownMenuSeparator, Wr as DropdownMenuShortcut, Gr as DropdownMenuSub, qr as DropdownMenuSubContent, Kr as DropdownMenuSubTrigger, Ir as DropdownMenuTrigger, dt as DynamicListContainer, Xn as Empty, nr as EmptyContent, tr as EmptyDescription, Zn as EmptyHeader, $n as EmptyMedia, er as EmptyTitle, Oo as Field, ko as FieldContent, Mo as FieldDescription, Po as FieldError, Eo as FieldGroup, Ao as FieldLabel, To as FieldLegend, No as FieldSeparator, wo as FieldSet, jo as FieldTitle, en as FieldsSection, R as FormField, z as Input, tn as InputField, ja as InputGroup, Na as InputGroupAddon, Fa as InputGroupButton, La as InputGroupInput, Ia as InputGroupText, Ra as InputGroupTextarea, Wt as Label, zn as Lightbox, hs as Loading, rn as NumberField, nn as NumberInput, Dr as Pagination, Or as PaginationContent, Nr as PaginationEllipsis, kr as PaginationItem, Ar as PaginationLink, Mr as PaginationNext, jr as PaginationPrevious, an as PasswordField, Xo as PermissionCard, Zo as PermissionSkeleton, on as PhoneField, It as Popover, zt as PopoverAnchor, Rt as PopoverContent, Ht as PopoverDescription, Bt as PopoverHeader, Vt as PopoverTitle, Lt as PopoverTrigger, st as ProtectedRoute, ut as SaveButton, Fo as ScrollArea, Io as ScrollBar, Vn as SearchInput, Qo as SearchableSelect, sn as Select, dn as SelectContent, vn as SelectField, cn as SelectGroup, _n as SelectInput, pn as SelectItem, fn as SelectLabel, gn as SelectScrollDownButton, hn as SelectScrollUpButton, mn as SelectSeparator, un as SelectTrigger, ln as SelectValue, L as Separator, Xr as Sheet, Qr as SheetClose, ti as SheetContent, ai as SheetDescription, ri as SheetFooter, ni as SheetHeader, ii as SheetTitle, Zr as SheetTrigger, $o as SideBarCompanyData, is as SideBarMainMenu, ls as SideBarSecondaryMenu, us as SideBarUserData, yi as Sidebar, Di as SidebarContent, ds as SidebarContext, Ti as SidebarFooter, Oi as SidebarGroup, Ai as SidebarGroupAction, ji as SidebarGroupContent, ki as SidebarGroupLabel, wi as SidebarHeader, Ci as SidebarInput, Si as SidebarInset, es as SidebarLogo, H as SidebarMenu, Ni as SidebarMenuAction, Pi as SidebarMenuBadge, W as SidebarMenuButton, U as SidebarMenuItem, Fi as SidebarMenuSkeleton, Ii as SidebarMenuSub, Ri as SidebarMenuSubButton, Li as SidebarMenuSubItem, vi as SidebarProvider, xi as SidebarRail, Ei as SidebarSeparator, bi as SidebarTrigger, V as Skeleton, Pn as StorageFileField, Ro as Switch, Hn as Table, Wn as TableBody, Yn as TableCaption, Jn as TableCell, Gn as TableFooter, qn as TableHead, Un as TableHeader, Kn as TableRow, zo as Tabs, Uo as TabsContent, Vo as TabsList, Ho as TabsTrigger, Ln as TextAreaField, In as TextAreaInput, Rn as TextField, Fn as Textarea, os as ThemeProvider, cs as ThemeToggle, Yt as TitleSeparator, Lo as Toaster, Go as Toggle, qo as ToggleGroup, Jo as ToggleGroupItem, si as Tooltip, li as TooltipContent, oi as TooltipProvider, ci as TooltipTrigger, ct as YusrBusBackground, ms as YusrSideBar, ps as YusrSideBarMainMenu, Bn as ZoomableImage, da as badgeVariants, lt as buttonVariants, Yo as categorizePermissions, P as cn, Cs as createGenericDialogSlice, Lc as createGenericEntitySlice, Nn as isPDF, Ss as setupAuthListeners, Bo as tabsListVariants, Wo as toggleVariants, Dn as useCarousel, to as useComboboxAnchor, gs as useDialog, po as useDirection, _s as useDynamicList, ys as useEntityForm, vs as useFormValidation, Yr as useIsMobile, bs as useLightBox, _i as useSidebar, fs as useSidebarContext, xs as useStorageFile, ss as useTheme };
5507
+ export { ea as Alert, ra as AlertAction, na as AlertDescription, Vi as AlertDialog, Zi as AlertDialogAction, Qi as AlertDialogCancel, Gi as AlertDialogContent, Xi as AlertDialogDescription, qi as AlertDialogFooter, Ki as AlertDialogHeader, Ji as AlertDialogMedia, Wi as AlertDialogOverlay, Ui as AlertDialogPortal, Yi as AlertDialogTitle, Hi as AlertDialogTrigger, ta as AlertTitle, ia as Avatar, sa as AvatarBadge, oa as AvatarFallback, ca as AvatarGroup, la as AvatarGroupCount, aa as AvatarImage, da as Badge, Kt as BaseInput, fa as Breadcrumb, va as BreadcrumbEllipsis, ma as BreadcrumbItem, ha as BreadcrumbLink, pa as BreadcrumbList, ga as BreadcrumbPage, _a as BreadcrumbSeparator, F as Button, Pt as Calendar, Ft as CalendarDayButton, yn as Card, Cn as CardAction, wn as CardContent, Sn as CardDescription, Tn as CardFooter, bn as CardHeader, xn as CardTitle, On as Carousel, kn as CarouselContent, An as CarouselItem, Mn as CarouselNext, jn as CarouselPrevious, xt as ChangeDialog, Sa as ChartContainer, Ea as ChartLegend, Da as ChartLegendContent, Ca as ChartStyle, wa as ChartTooltip, Ta as ChartTooltipContent, ka as Checkbox, Ra as Combobox, Qa as ComboboxChip, Za as ComboboxChips, $a as ComboboxChipsInput, Ja as ComboboxCollection, Ua as ComboboxContent, Ya as ComboboxEmpty, Ka as ComboboxGroup, Ha as ComboboxInput, Ga as ComboboxItem, qa as ComboboxLabel, Wa as ComboboxList, Xa as ComboboxSeparator, Ba as ComboboxTrigger, za as ComboboxValue, to as Command, no as CommandDialog, ao as CommandEmpty, oo as CommandGroup, ro as CommandInput, co as CommandItem, io as CommandList, so as CommandSeparator, lo as CommandShortcut, cr as ContextMenu, vr as ContextMenuCheckboxItem, mr as ContextMenuContent, ur as ContextMenuGroup, hr as ContextMenuItem, br as ContextMenuLabel, dr as ContextMenuPortal, pr as ContextMenuRadioGroup, yr as ContextMenuRadioItem, xr as ContextMenuSeparator, Sr as ContextMenuShortcut, fr as ContextMenuSub, _r as ContextMenuSubContent, gr as ContextMenuSubTrigger, lr as ContextMenuTrigger, rr as CrudEmptyTablePreview, Bi as CrudPage, sr as CrudTable, Cr as CrudTableBodyRow, wr as CrudTableCard, Tr as CrudTableHeader, Er as CrudTableHeaderRows, Ri as CrudTablePagination, zi as CrudTableRowActionsMenu, Gt as DateField, Ut as DateInput, Jt as DateTimeField, qt as DateTimeInput, St as DeleteDialog, I as Dialog, mt as DialogClose, gt as DialogContent, bt as DialogDescription, vt as DialogFooter, _t as DialogHeader, ht as DialogOverlay, pt as DialogPortal, yt as DialogTitle, ft as DialogTrigger, uo as DirectionProvider, po as Drawer, go as DrawerClose, vo as DrawerContent, So as DrawerDescription, bo as DrawerFooter, yo as DrawerHeader, _o as DrawerOverlay, ho as DrawerPortal, xo as DrawerTitle, mo as DrawerTrigger, Pr as DropdownMenu, zr as DropdownMenuCheckboxItem, Lr as DropdownMenuContent, Rr as DropdownMenuGroup, B as DropdownMenuItem, Hr as DropdownMenuLabel, Fr as DropdownMenuPortal, Br as DropdownMenuRadioGroup, Vr as DropdownMenuRadioItem, Ur as DropdownMenuSeparator, Wr as DropdownMenuShortcut, Gr as DropdownMenuSub, qr as DropdownMenuSubContent, Kr as DropdownMenuSubTrigger, Ir as DropdownMenuTrigger, dt as DynamicListContainer, Xn as Empty, nr as EmptyContent, tr as EmptyDescription, Zn as EmptyHeader, $n as EmptyMedia, er as EmptyTitle, Do as Field, Oo as FieldContent, jo as FieldDescription, No as FieldError, To as FieldGroup, ko as FieldLabel, wo as FieldLegend, Mo as FieldSeparator, Co as FieldSet, Ao as FieldTitle, en as FieldsSection, R as FormField, z as Input, tn as InputField, Aa as InputGroup, Ma as InputGroupAddon, Pa as InputGroupButton, Ia as InputGroupInput, Fa as InputGroupText, La as InputGroupTextarea, Wt as Label, zn as Lightbox, ms as Loading, rn as NumberField, nn as NumberInput, Dr as Pagination, Or as PaginationContent, Nr as PaginationEllipsis, kr as PaginationItem, Ar as PaginationLink, Mr as PaginationNext, jr as PaginationPrevious, an as PasswordField, Yo as PermissionCard, Xo as PermissionSkeleton, on as PhoneField, It as Popover, zt as PopoverAnchor, Rt as PopoverContent, Ht as PopoverDescription, Bt as PopoverHeader, Vt as PopoverTitle, Lt as PopoverTrigger, st as ProtectedRoute, ut as SaveButton, Po as ScrollArea, Fo as ScrollBar, Vn as SearchInput, Zo as SearchableSelect, sn as Select, dn as SelectContent, vn as SelectField, cn as SelectGroup, _n as SelectInput, pn as SelectItem, fn as SelectLabel, gn as SelectScrollDownButton, hn as SelectScrollUpButton, mn as SelectSeparator, un as SelectTrigger, ln as SelectValue, L as Separator, Xr as Sheet, Qr as SheetClose, ti as SheetContent, ai as SheetDescription, ri as SheetFooter, ni as SheetHeader, ii as SheetTitle, Zr as SheetTrigger, Qo as SideBarCompanyData, rs as SideBarMainMenu, cs as SideBarSecondaryMenu, ls as SideBarUserData, vi as Sidebar, Ei as SidebarContent, us as SidebarContext, wi as SidebarFooter, Di as SidebarGroup, ki as SidebarGroupAction, Ai as SidebarGroupContent, Oi as SidebarGroupLabel, Ci as SidebarHeader, Si as SidebarInput, xi as SidebarInset, $o as SidebarLogo, U as SidebarMenu, Mi as SidebarMenuAction, Ni as SidebarMenuBadge, G as SidebarMenuButton, W as SidebarMenuItem, Pi as SidebarMenuSkeleton, Fi as SidebarMenuSub, Li as SidebarMenuSubButton, Ii as SidebarMenuSubItem, _i as SidebarProvider, bi as SidebarRail, Ti as SidebarSeparator, yi as SidebarTrigger, V as Skeleton, Pn as StorageFileField, Lo as Switch, Hn as Table, Wn as TableBody, Yn as TableCaption, Jn as TableCell, Gn as TableFooter, qn as TableHead, Un as TableHeader, Kn as TableRow, Ro as Tabs, Ho as TabsContent, Bo as TabsList, Vo as TabsTrigger, Ln as TextAreaField, In as TextAreaInput, Rn as TextField, Fn as Textarea, as as ThemeProvider, ss as ThemeToggle, Yt as TitleSeparator, Io as Toaster, Wo as Toggle, Ko as ToggleGroup, qo as ToggleGroupItem, si as Tooltip, li as TooltipContent, oi as TooltipProvider, ci as TooltipTrigger, ct as YusrBusBackground, ps as YusrSideBar, fs as YusrSideBarMainMenu, Bn as ZoomableImage, ua as badgeVariants, lt as buttonVariants, Jo as categorizePermissions, P as cn, Ss as createGenericDialogSlice, Lc as createGenericEntitySlice, Nn as isPDF, xs as setupAuthListeners, zo as tabsListVariants, Uo as toggleVariants, Dn as useCarousel, eo as useComboboxAnchor, hs as useDialog, fo as useDirection, gs as useDynamicList, vs as useEntityForm, _s as useFormValidation, Yr as useIsMobile, ys as useLightBox, H as useSidebar, ds as useSidebarContext, bs as useStorageFile, os as useTheme };