ikon-react-components-lib 1.0.2 → 1.0.3

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.
@@ -1,13 +1,13 @@
1
1
  import { jsx as e, jsxs as i, Fragment as E } from "react/jsx-runtime";
2
2
  import * as Or from "lucide-react";
3
- import { ChevronDownIcon as je, ChevronLeftIcon as Pa, ChevronRightIcon as Lt, CheckIcon as Je, XIcon as jt, SearchIcon as Lr, CircleIcon as _a, ChevronUpIcon as Da, PanelLeftIcon as jr, Loader2Icon as Ur, OctagonXIcon as Br, TriangleAlertIcon as $r, InfoIcon as Vr, CircleCheckIcon as Wr, MoreHorizontal as Ma, ChevronRight as it, MinusIcon as Gr, ChevronsUpDown as ze, Check as Z, Settings2 as Hr, X as st, Plus as Ea, Filter as Kr, UploadCloud as qr, FileUp as Yr, ChevronsLeft as Jr, ChevronLeft as Fa, ChevronsRight as Qr, Search as Xr, ChevronUp as Zr, ChevronDown as na, Upload as Oa, CircleAlert as en, icons as tn, LoaderCircle as an, EllipsisVertical as rn, Sun as oa, Moon as ia, Waves as sa, Laptop as nn, SquarePen as on, Eye as La, CalendarIcon as sn, EyeOff as ln, UploadIcon as dn, Send as cn, Copyright as un, Bell as mn, Play as fn, CircleUserRound as la, LogOut as pn, Home as gn, FolderCode as hn, Settings as bn, AlignJustify as vn, ImageIcon as ja, FileImage as Ua, Square as Ut, RotateCw as Ba, RotateCcw as $a, ArrowUp as Va, ArrowDown as Wa, ArrowLeft as Ga, ArrowRight as Ha, ZoomIn as Ka, ZoomOut as qa, CopyIcon as Ya, XCircleIcon as xn, PlusIcon as wn, FileText as Nn, ArrowDownIcon as yn, RefreshCwIcon as Cn, PencilIcon as kn, ArrowUpIcon as In } from "lucide-react";
3
+ import { ChevronDownIcon as je, ChevronLeftIcon as Pa, ChevronRightIcon as jt, CheckIcon as Je, XIcon as Ut, SearchIcon as Lr, CircleIcon as _a, ChevronUpIcon as Da, PanelLeftIcon as jr, Loader2Icon as Ur, OctagonXIcon as Br, TriangleAlertIcon as $r, InfoIcon as Vr, CircleCheckIcon as Wr, MoreHorizontal as Ma, ChevronRight as it, MinusIcon as Gr, ChevronsUpDown as ze, Check as Z, Settings2 as Hr, X as st, Plus as Ea, Filter as Kr, UploadCloud as qr, FileUp as Yr, ChevronsLeft as Jr, ChevronLeft as Fa, ChevronsRight as Qr, Search as Xr, ChevronUp as Zr, ChevronDown as na, Upload as Oa, CircleAlert as en, icons as tn, LoaderCircle as an, EllipsisVertical as rn, Sun as oa, Moon as ia, Waves as sa, Laptop as nn, SquarePen as on, Eye as La, CalendarIcon as sn, EyeOff as ln, UploadIcon as dn, Send as cn, Copyright as un, Bell as mn, Play as fn, CircleUserRound as la, LogOut as pn, Home as gn, FolderCode as hn, Settings as bn, AlignJustify as vn, ImageIcon as ja, FileImage as Ua, Square as Bt, RotateCw as Ba, RotateCcw as $a, ArrowUp as Va, ArrowDown as Wa, ArrowLeft as Ga, ArrowRight as Ha, ZoomIn as Ka, ZoomOut as qa, CopyIcon as Ya, XCircleIcon as xn, PlusIcon as wn, FileText as Nn, ArrowDownIcon as yn, RefreshCwIcon as Cn, PencilIcon as kn, ArrowUpIcon as In } from "lucide-react";
4
4
  import * as rt from "@radix-ui/react-accordion";
5
5
  import { clsx as Sn } from "clsx";
6
6
  import { twMerge as An } from "tailwind-merge";
7
7
  import * as we from "@radix-ui/react-alert-dialog";
8
8
  import { cva as Ue, cx as he } from "class-variance-authority";
9
9
  import * as zn from "@radix-ui/react-aspect-ratio";
10
- import * as Bt from "@radix-ui/react-avatar";
10
+ import * as $t from "@radix-ui/react-avatar";
11
11
  import * as da from "@radix-ui/react-checkbox";
12
12
  import * as j from "@radix-ui/react-dialog";
13
13
  import * as $ from "@radix-ui/react-dropdown-menu";
@@ -16,7 +16,7 @@ import * as Tn from "@radix-ui/react-label";
16
16
  import * as Te from "@radix-ui/react-navigation-menu";
17
17
  import * as nt from "@radix-ui/react-popover";
18
18
  import * as ca from "@radix-ui/react-progress";
19
- import * as Rt from "@radix-ui/react-radio-group";
19
+ import * as Pt from "@radix-ui/react-radio-group";
20
20
  import * as tt from "@radix-ui/react-scroll-area";
21
21
  import * as V from "@radix-ui/react-select";
22
22
  import * as Rn from "@radix-ui/react-separator";
@@ -29,7 +29,7 @@ import * as Dn from "@radix-ui/react-toggle";
29
29
  import * as Ja from "@radix-ui/react-toggle-group";
30
30
  import * as qe from "@radix-ui/react-tooltip";
31
31
  import * as k from "react";
32
- import be, { createContext as Re, useState as z, useContext as Pe, Fragment as gt, forwardRef as $t, useEffect as D, useImperativeHandle as Qa, useRef as de, useCallback as Ee, useMemo as xt, memo as wt } from "react";
32
+ import be, { createContext as Re, useState as z, useContext as Pe, Fragment as gt, forwardRef as Vt, useEffect as D, useImperativeHandle as Qa, useRef as de, useCallback as Ee, useMemo as xt, memo as wt } from "react";
33
33
  import { getDefaultClassNames as Xa, DayPicker as Mn } from "react-day-picker";
34
34
  import { Command as Be } from "cmdk";
35
35
  import { Toaster as En, toast as Fn } from "sonner";
@@ -47,14 +47,14 @@ import { getDay as co, startOfWeek as uo, parse as mo, format as Za } from "date
47
47
  import { Views as W, dateFnsLocalizer as fo, Calendar as po } from "react-big-calendar";
48
48
  import "react-big-calendar/lib/css/react-big-calendar.css";
49
49
  import { enUS as go } from "date-fns/locale";
50
- import { useNavigate as ho, Link as Ae, BrowserRouter as bo } from "react-router-dom";
50
+ import { useNavigate as ho, Link as Ae, BrowserRouter as bo } from "react-router";
51
51
  import er from "axios";
52
- import Vt from "js-cookie";
52
+ import Wt from "js-cookie";
53
53
  import { jwtDecode as vo } from "jwt-decode";
54
- import { useQuery as Wt, useQueryClient as xo, useMutation as wo, QueryClient as No, QueryClientProvider as yo } from "@tanstack/react-query";
54
+ import { useQuery as Gt, useQueryClient as xo, useMutation as wo, QueryClient as No, QueryClientProvider as yo } from "@tanstack/react-query";
55
55
  import tr from "react-cropper";
56
- import { MessagePrimitive as xe, ComposerPrimitive as X, useAssistantApi as Co, useAssistantState as ht, AttachmentPrimitive as Pt, ThreadPrimitive as ve, ErrorPrimitive as ma, BranchPickerPrimitive as Xe, ActionBarPrimitive as at, AssistantRuntimeProvider as ko } from "@assistant-ui/react";
57
- import * as _t from "motion/react-m";
56
+ import { MessagePrimitive as xe, ComposerPrimitive as X, useAssistantApi as Co, useAssistantState as ht, AttachmentPrimitive as _t, ThreadPrimitive as ve, ErrorPrimitive as ma, BranchPickerPrimitive as Xe, ActionBarPrimitive as at, AssistantRuntimeProvider as ko } from "@assistant-ui/react";
57
+ import * as Dt from "motion/react-m";
58
58
  import { unstable_memoizeMarkdownComponents as Io, useIsMarkdownCodeBlock as So, MarkdownTextPrimitive as Ao } from "@assistant-ui/react-markdown";
59
59
  import zo from "remark-gfm";
60
60
  import { useChatRuntime as To } from "@assistant-ui/react-ai-sdk";
@@ -260,7 +260,7 @@ var Lo = [
260
260
  "span",
261
261
  "svg",
262
262
  "ul"
263
- ], Gt = Lo.reduce((t, a) => {
263
+ ], Ht = Lo.reduce((t, a) => {
264
264
  const r = Pn(`Primitive.${a}`), n = k.forwardRef((o, s) => {
265
265
  const { asChild: d, ...c } = o, u = d ? r : a;
266
266
  return typeof window < "u" && (window[/* @__PURE__ */ Symbol.for("radix-ui")] = !0), /* @__PURE__ */ e(u, { ...c, ref: s });
@@ -339,7 +339,7 @@ function Wo(t) {
339
339
  r((n) => n ?? String(Vo++));
340
340
  }, [t]), t || (a ? `radix-${a}` : "");
341
341
  }
342
- var Nt = "Collapsible", [Go] = Po(Nt), [Ho, Ht] = Go(Nt), nr = k.forwardRef(
342
+ var Nt = "Collapsible", [Go] = Po(Nt), [Ho, Kt] = Go(Nt), nr = k.forwardRef(
343
343
  (t, a) => {
344
344
  const {
345
345
  __scopeCollapsible: r,
@@ -363,9 +363,9 @@ var Nt = "Collapsible", [Go] = Po(Nt), [Ho, Ht] = Go(Nt), nr = k.forwardRef(
363
363
  open: u,
364
364
  onOpenToggle: k.useCallback(() => m((f) => !f), [m]),
365
365
  children: /* @__PURE__ */ e(
366
- Gt.div,
366
+ Ht.div,
367
367
  {
368
- "data-state": qt(u),
368
+ "data-state": Yt(u),
369
369
  "data-disabled": s ? "" : void 0,
370
370
  ...c,
371
371
  ref: a
@@ -378,14 +378,14 @@ var Nt = "Collapsible", [Go] = Po(Nt), [Ho, Ht] = Go(Nt), nr = k.forwardRef(
378
378
  nr.displayName = Nt;
379
379
  var or = "CollapsibleTrigger", ir = k.forwardRef(
380
380
  (t, a) => {
381
- const { __scopeCollapsible: r, ...n } = t, o = Ht(or, r);
381
+ const { __scopeCollapsible: r, ...n } = t, o = Kt(or, r);
382
382
  return /* @__PURE__ */ e(
383
- Gt.button,
383
+ Ht.button,
384
384
  {
385
385
  type: "button",
386
386
  "aria-controls": o.contentId,
387
387
  "aria-expanded": o.open || !1,
388
- "data-state": qt(o.open),
388
+ "data-state": Yt(o.open),
389
389
  "data-disabled": o.disabled ? "" : void 0,
390
390
  disabled: o.disabled,
391
391
  ...n,
@@ -396,15 +396,15 @@ var or = "CollapsibleTrigger", ir = k.forwardRef(
396
396
  }
397
397
  );
398
398
  ir.displayName = or;
399
- var Kt = "CollapsibleContent", sr = k.forwardRef(
399
+ var qt = "CollapsibleContent", sr = k.forwardRef(
400
400
  (t, a) => {
401
- const { forceMount: r, ...n } = t, o = Ht(Kt, t.__scopeCollapsible);
401
+ const { forceMount: r, ...n } = t, o = Kt(qt, t.__scopeCollapsible);
402
402
  return /* @__PURE__ */ e(rr, { present: r || o.open, children: ({ present: s }) => /* @__PURE__ */ e(Ko, { ...n, ref: a, present: s }) });
403
403
  }
404
404
  );
405
- sr.displayName = Kt;
405
+ sr.displayName = qt;
406
406
  var Ko = k.forwardRef((t, a) => {
407
- const { __scopeCollapsible: r, present: n, children: o, ...s } = t, d = Ht(Kt, r), [c, u] = k.useState(n), m = k.useRef(null), f = ar(a, m), h = k.useRef(0), w = h.current, C = k.useRef(0), v = C.current, N = d.open || c, b = k.useRef(N), y = k.useRef(void 0);
407
+ const { __scopeCollapsible: r, present: n, children: o, ...s } = t, d = Kt(qt, r), [c, u] = k.useState(n), m = k.useRef(null), f = ar(a, m), h = k.useRef(0), w = h.current, C = k.useRef(0), v = C.current, N = d.open || c, b = k.useRef(N), y = k.useRef(void 0);
408
408
  return k.useEffect(() => {
409
409
  const p = requestAnimationFrame(() => b.current = !1);
410
410
  return () => cancelAnimationFrame(p);
@@ -419,9 +419,9 @@ var Ko = k.forwardRef((t, a) => {
419
419
  h.current = I.height, C.current = I.width, b.current || (p.style.transitionDuration = y.current.transitionDuration, p.style.animationName = y.current.animationName), u(n);
420
420
  }
421
421
  }, [d.open, n]), /* @__PURE__ */ e(
422
- Gt.div,
422
+ Ht.div,
423
423
  {
424
- "data-state": qt(d.open),
424
+ "data-state": Yt(d.open),
425
425
  "data-disabled": d.disabled ? "" : void 0,
426
426
  id: d.contentId,
427
427
  hidden: !N,
@@ -436,11 +436,11 @@ var Ko = k.forwardRef((t, a) => {
436
436
  }
437
437
  );
438
438
  });
439
- function qt(t) {
439
+ function Yt(t) {
440
440
  return t ? "open" : "closed";
441
441
  }
442
442
  var qo = nr;
443
- const Dt = Ue(
443
+ const Mt = Ue(
444
444
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-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",
445
445
  {
446
446
  variants: {
@@ -484,7 +484,7 @@ function _({
484
484
  "data-slot": "button",
485
485
  "data-variant": a,
486
486
  "data-size": r,
487
- className: l(Dt({ variant: a, size: r, className: t })),
487
+ className: l(Mt({ variant: a, size: r, className: t })),
488
488
  ...o
489
489
  }
490
490
  );
@@ -712,7 +712,7 @@ function oi({
712
712
  ...r
713
713
  }) {
714
714
  return /* @__PURE__ */ e(
715
- Bt.Root,
715
+ $t.Root,
716
716
  {
717
717
  "data-slot": "avatar",
718
718
  "data-size": a,
@@ -729,7 +729,7 @@ function ii({
729
729
  ...a
730
730
  }) {
731
731
  return /* @__PURE__ */ e(
732
- Bt.Image,
732
+ $t.Image,
733
733
  {
734
734
  "data-slot": "avatar-image",
735
735
  className: l("aspect-square size-full", t),
@@ -742,7 +742,7 @@ function si({
742
742
  ...a
743
743
  }) {
744
744
  return /* @__PURE__ */ e(
745
- Bt.Fallback,
745
+ $t.Fallback,
746
746
  {
747
747
  "data-slot": "avatar-fallback",
748
748
  className: l(
@@ -816,7 +816,7 @@ const li = Ue(
816
816
  }
817
817
  }
818
818
  );
819
- function At({
819
+ function zt({
820
820
  className: t,
821
821
  variant: a = "default",
822
822
  asChild: r = !1,
@@ -871,12 +871,12 @@ function di({
871
871
  u.nav
872
872
  ),
873
873
  button_previous: l(
874
- Dt({ variant: o }),
874
+ Mt({ variant: o }),
875
875
  "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
876
876
  u.button_previous
877
877
  ),
878
878
  button_next: l(
879
- Dt({ variant: o }),
879
+ Mt({ variant: o }),
880
880
  "size-(--cell-size) aria-disabled:opacity-50 p-0 select-none",
881
881
  u.button_next
882
882
  ),
@@ -953,7 +953,7 @@ function di({
953
953
  }
954
954
  ),
955
955
  Chevron: ({ className: m, orientation: f, ...h }) => f === "left" ? /* @__PURE__ */ e(Pa, { className: l("size-4", m), ...h }) : f === "right" ? /* @__PURE__ */ e(
956
- Lt,
956
+ jt,
957
957
  {
958
958
  className: l("size-4", m),
959
959
  ...h
@@ -996,7 +996,7 @@ function ci({
996
996
  }
997
997
  );
998
998
  }
999
- function Mt({ className: t, ...a }) {
999
+ function Et({ className: t, ...a }) {
1000
1000
  return /* @__PURE__ */ e(
1001
1001
  "div",
1002
1002
  {
@@ -1099,7 +1099,7 @@ function bt({
1099
1099
  }
1100
1100
  );
1101
1101
  }
1102
- function Yt({
1102
+ function Jt({
1103
1103
  ...t
1104
1104
  }) {
1105
1105
  return /* @__PURE__ */ e(j.Root, { "data-slot": "dialog", ...t });
@@ -1135,7 +1135,7 @@ function pi({
1135
1135
  }
1136
1136
  );
1137
1137
  }
1138
- function Jt({
1138
+ function Qt({
1139
1139
  className: t,
1140
1140
  children: a,
1141
1141
  showCloseButton: r = !0,
@@ -1160,7 +1160,7 @@ function Jt({
1160
1160
  "data-slot": "dialog-close",
1161
1161
  className: "ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
1162
1162
  children: [
1163
- /* @__PURE__ */ e(jt, {}),
1163
+ /* @__PURE__ */ e(Ut, {}),
1164
1164
  /* @__PURE__ */ e("span", { className: "sr-only", children: "Close" })
1165
1165
  ]
1166
1166
  }
@@ -1202,7 +1202,7 @@ function gi({
1202
1202
  }
1203
1203
  );
1204
1204
  }
1205
- function Qt({
1205
+ function Xt({
1206
1206
  className: t,
1207
1207
  ...a
1208
1208
  }) {
@@ -1252,13 +1252,13 @@ function ic({
1252
1252
  showCloseButton: o = !0,
1253
1253
  ...s
1254
1254
  }) {
1255
- return /* @__PURE__ */ i(Yt, { ...s, children: [
1255
+ return /* @__PURE__ */ i(Jt, { ...s, children: [
1256
1256
  /* @__PURE__ */ i(lr, { className: "sr-only", children: [
1257
- /* @__PURE__ */ e(Qt, { children: t }),
1257
+ /* @__PURE__ */ e(Xt, { children: t }),
1258
1258
  /* @__PURE__ */ e(hi, { children: a })
1259
1259
  ] }),
1260
1260
  /* @__PURE__ */ e(
1261
- Jt,
1261
+ Qt,
1262
1262
  {
1263
1263
  className: l("overflow-hidden p-0", n),
1264
1264
  showCloseButton: o,
@@ -1519,7 +1519,7 @@ function cr({
1519
1519
  }
1520
1520
  );
1521
1521
  }
1522
- function Xt({
1522
+ function Zt({
1523
1523
  className: t,
1524
1524
  ...a
1525
1525
  }) {
@@ -1571,7 +1571,7 @@ function wi({
1571
1571
  ...n,
1572
1572
  children: [
1573
1573
  r,
1574
- /* @__PURE__ */ e(Lt, { className: "ml-auto size-4" })
1574
+ /* @__PURE__ */ e(jt, { className: "ml-auto size-4" })
1575
1575
  ]
1576
1576
  }
1577
1577
  );
@@ -1876,7 +1876,7 @@ function Ic({
1876
1876
  }
1877
1877
  );
1878
1878
  }
1879
- function Zt({
1879
+ function ea({
1880
1880
  className: t,
1881
1881
  value: a,
1882
1882
  ...r
@@ -1906,7 +1906,7 @@ function Sc({
1906
1906
  ...a
1907
1907
  }) {
1908
1908
  return /* @__PURE__ */ e(
1909
- Rt.Root,
1909
+ Pt.Root,
1910
1910
  {
1911
1911
  "data-slot": "radio-group",
1912
1912
  className: l("grid gap-3", t),
@@ -1919,7 +1919,7 @@ function Ac({
1919
1919
  ...a
1920
1920
  }) {
1921
1921
  return /* @__PURE__ */ e(
1922
- Rt.Item,
1922
+ Pt.Item,
1923
1923
  {
1924
1924
  "data-slot": "radio-group-item",
1925
1925
  className: l(
@@ -1928,7 +1928,7 @@ function Ac({
1928
1928
  ),
1929
1929
  ...a,
1930
1930
  children: /* @__PURE__ */ e(
1931
- Rt.Indicator,
1931
+ Pt.Indicator,
1932
1932
  {
1933
1933
  "data-slot": "radio-group-indicator",
1934
1934
  className: "relative flex items-center justify-center",
@@ -2153,7 +2153,7 @@ function Pi({
2153
2153
  }
2154
2154
  );
2155
2155
  }
2156
- function ea({
2156
+ function ta({
2157
2157
  className: t,
2158
2158
  orientation: a = "horizontal",
2159
2159
  decorative: r = !0,
@@ -2232,7 +2232,7 @@ function mr({
2232
2232
  children: [
2233
2233
  a,
2234
2234
  n && /* @__PURE__ */ i(j.Close, { className: "ring-offset-background focus:ring-ring data-[state=open]:bg-secondary absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none", children: [
2235
- /* @__PURE__ */ e(jt, { className: "size-4" }),
2235
+ /* @__PURE__ */ e(Ut, { className: "size-4" }),
2236
2236
  /* @__PURE__ */ e("span", { className: "sr-only", children: "Close" })
2237
2237
  ] })
2238
2238
  ]
@@ -2286,14 +2286,14 @@ function Fi({
2286
2286
  }
2287
2287
  );
2288
2288
  }
2289
- const zt = 768;
2290
- function ta() {
2289
+ const Tt = 768;
2290
+ function aa() {
2291
2291
  const [t, a] = k.useState(void 0);
2292
2292
  return k.useEffect(() => {
2293
- const r = window.matchMedia(`(max-width: ${zt - 1}px)`), n = () => {
2294
- a(window.innerWidth < zt);
2293
+ const r = window.matchMedia(`(max-width: ${Tt - 1}px)`), n = () => {
2294
+ a(window.innerWidth < Tt);
2295
2295
  };
2296
- return r.addEventListener("change", n), a(window.innerWidth < zt), () => r.removeEventListener("change", n);
2296
+ return r.addEventListener("change", n), a(window.innerWidth < Tt), () => r.removeEventListener("change", n);
2297
2297
  }, []), !!t;
2298
2298
  }
2299
2299
  function Ye({ className: t, ...a }) {
@@ -2368,7 +2368,7 @@ function Vi({
2368
2368
  children: s,
2369
2369
  ...d
2370
2370
  }) {
2371
- const c = ta(), [u, m] = k.useState(!1), [f, h] = k.useState(t), w = a ?? f, C = k.useCallback(
2371
+ const c = aa(), [u, m] = k.useState(!1), [f, h] = k.useState(t), w = a ?? f, C = k.useCallback(
2372
2372
  (y) => {
2373
2373
  const p = typeof y == "function" ? y(w) : y;
2374
2374
  r ? r(p) : h(p), document.cookie = `${Oi}=${p}; path=/; max-age=${Li}`;
@@ -2603,7 +2603,7 @@ function Ec({
2603
2603
  ...a
2604
2604
  }) {
2605
2605
  return /* @__PURE__ */ e(
2606
- ea,
2606
+ ta,
2607
2607
  {
2608
2608
  "data-slot": "sidebar-separator",
2609
2609
  "data-sidebar": "separator",
@@ -3300,7 +3300,7 @@ function ut({ className: t, ...a }) {
3300
3300
  }
3301
3301
  );
3302
3302
  }
3303
- function Tt({
3303
+ function Rt({
3304
3304
  children: t,
3305
3305
  className: a,
3306
3306
  ...r
@@ -3807,7 +3807,7 @@ function Ca({
3807
3807
  if (o.type === "label")
3808
3808
  return /* @__PURE__ */ e(cr, { children: String(o.label) }, s);
3809
3809
  if (o.type === "separator")
3810
- return /* @__PURE__ */ e(Xt, {}, s);
3810
+ return /* @__PURE__ */ e(Zt, {}, s);
3811
3811
  if (o.type === "group" && o.items)
3812
3812
  return /* @__PURE__ */ e(dr, { children: r(o.items) }, s);
3813
3813
  if (o.items)
@@ -4053,9 +4053,9 @@ function Fs({
4053
4053
  r?.size > 0 ? /* @__PURE__ */ e(st, {}) : /* @__PURE__ */ e(Ea, {}),
4054
4054
  Se(t),
4055
4055
  r?.size > 0 && /* @__PURE__ */ i(E, { children: [
4056
- /* @__PURE__ */ e(ea, { orientation: "vertical", className: "mx-2 h-4" }),
4056
+ /* @__PURE__ */ e(ta, { orientation: "vertical", className: "mx-2 h-4" }),
4057
4057
  /* @__PURE__ */ e(
4058
- At,
4058
+ zt,
4059
4059
  {
4060
4060
  variant: "secondary",
4061
4061
  className: "rounded-sm px-1 font-normal lg:hidden",
@@ -4063,7 +4063,7 @@ function Fs({
4063
4063
  }
4064
4064
  ),
4065
4065
  /* @__PURE__ */ e("div", { className: "hidden space-x-1 lg:flex", children: r.size > 2 ? /* @__PURE__ */ i(
4066
- At,
4066
+ zt,
4067
4067
  {
4068
4068
  variant: "secondary",
4069
4069
  className: "rounded-sm px-1 font-normal",
@@ -4073,7 +4073,7 @@ function Fs({
4073
4073
  ]
4074
4074
  }
4075
4075
  ) : n.filter((o) => r.has(o)).map((o) => /* @__PURE__ */ e(
4076
- At,
4076
+ zt,
4077
4077
  {
4078
4078
  variant: "secondary",
4079
4079
  className: "rounded-sm px-1 font-normal",
@@ -4417,7 +4417,7 @@ function $s({
4417
4417
  ] })
4418
4418
  ] });
4419
4419
  }
4420
- const Zc = $t(
4420
+ const Zc = Vt(
4421
4421
  ({ columns: t, data: a, extraParams: r, onTableReady: n }, o) => {
4422
4422
  const [s, d] = be.useState([]), [c, u] = be.useState(""), [m, f] = be.useState([]), [h, w] = be.useState({
4423
4423
  pageIndex: r?.pageIndex || 0,
@@ -4727,7 +4727,7 @@ function Vs(t) {
4727
4727
  const a = { ...t };
4728
4728
  return (a.toolbox === void 0 || a.toolbox === null || typeof a.toolbox != "object") && (a.toolbox = {}), (a.toolbox.feature === void 0 || a.toolbox.feature === null || typeof a.toolbox.feature != "object") && (a.toolbox.feature = {}), a;
4729
4729
  }
4730
- const eu = $t(
4730
+ const eu = Vt(
4731
4731
  ({
4732
4732
  parentDivProps: t = {},
4733
4733
  option: a = {},
@@ -4922,7 +4922,7 @@ const tu = (({
4922
4922
  )
4923
4923
  ] });
4924
4924
  });
4925
- function Et({ name: t, ...a }) {
4925
+ function Ft({ name: t, ...a }) {
4926
4926
  const r = Or[t];
4927
4927
  return r ? /* @__PURE__ */ e(r, { ...a }) : (console.warn(`Icon "${t}" not found in lucide-react`), null);
4928
4928
  }
@@ -5133,7 +5133,7 @@ function nu({ title: t, subtitle: a, tools: r, children: n }) {
5133
5133
  }
5134
5134
  const ou = ({ value: t }) => {
5135
5135
  const a = io(t), r = a.score * 100 / 4;
5136
- return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(Zt, { value: r, className: (() => {
5136
+ return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(ea, { value: r, className: (() => {
5137
5137
  switch (a.score) {
5138
5138
  case 0:
5139
5139
  return "#828282";
@@ -5226,7 +5226,7 @@ function Gs({
5226
5226
  const Hs = tn;
5227
5227
  function su({ title: t, iconName: a, iconSize: r, iconClass: n, primaryText: o, secondaryText: s, mainClassName: d = "", loading: c, loadingMessage: u }) {
5228
5228
  let m = null;
5229
- return a && (m = Hs[a]), r = r === void 0 ? 20 : r, n = n ?? "", u = u ?? "Loading...", /* @__PURE__ */ e(Mt, { className: d, children: /* @__PURE__ */ i(ui, { className: "p-5", children: [
5229
+ return a && (m = Hs[a]), r = r === void 0 ? 20 : r, n = n ?? "", u = u ?? "Loading...", /* @__PURE__ */ e(Et, { className: d, children: /* @__PURE__ */ i(ui, { className: "p-5", children: [
5230
5230
  /* @__PURE__ */ i("div", { className: "flex items-center justify-between gap-4", children: [
5231
5231
  /* @__PURE__ */ e("span", { children: t }),
5232
5232
  c ? /* @__PURE__ */ e(an, { size: r, className: "animate-spin " + n }) : m && /* @__PURE__ */ e(m, { size: r, className: n })
@@ -5247,7 +5247,7 @@ function Ks({
5247
5247
  onTabChange: u,
5248
5248
  isSeperatePage: m = !1
5249
5249
  }) {
5250
- const [f, h] = z(5), w = ta(), [C, v] = z([]), [N, b] = z([]), [y, p] = z(
5250
+ const [f, h] = z(5), w = aa(), [C, v] = z([]), [N, b] = z([]), [y, p] = z(
5251
5251
  a.find((g) => g.default)?.tabId || a[0]?.tabId || ""
5252
5252
  );
5253
5253
  D(() => {
@@ -5308,14 +5308,14 @@ function Ks({
5308
5308
  {
5309
5309
  value: y,
5310
5310
  className: `mt-3 flex-grow overflow-auto h-full w-full ${d}`,
5311
- children: /* @__PURE__ */ e(Mt, { className: "h-full w-full p-3", children: t })
5311
+ children: /* @__PURE__ */ e(Et, { className: "h-full w-full p-3", children: t })
5312
5312
  }
5313
5313
  ) : a.map((g) => /* @__PURE__ */ e(
5314
5314
  xa,
5315
5315
  {
5316
5316
  value: g.tabId,
5317
5317
  className: `mt-3 flex-grow overflow-auto h-full w-full ${d}`,
5318
- children: /* @__PURE__ */ e(Mt, { className: "h-full w-full p-3", children: g?.tabContent })
5318
+ children: /* @__PURE__ */ e(Et, { className: "h-full w-full p-3", children: g?.tabContent })
5319
5319
  },
5320
5320
  g.tabId
5321
5321
  ))
@@ -5414,7 +5414,7 @@ function lu({ title: t, value: a, valueText: r, isPercent: n = !0, className: o,
5414
5414
  /* @__PURE__ */ e("div", { className: "text-sm " + (d ?? ""), children: r ?? `${u}${n ? "%" : ""}` })
5415
5415
  ] }),
5416
5416
  /* @__PURE__ */ e(
5417
- Zt,
5417
+ ea,
5418
5418
  {
5419
5419
  value: a,
5420
5420
  className: "w-full mt-2 " + (c ?? "")
@@ -5578,7 +5578,7 @@ function cu({ widgetData: t }) {
5578
5578
  ] }) }),
5579
5579
  /* @__PURE__ */ e("div", { children: n.onButtonClickfunc ? /* @__PURE__ */ e(_, { className: "px-0", variant: "link", onClick: () => n.onButtonClickfunc?.({ id: n.id }), children: n.widgetNumber }) : /* @__PURE__ */ e("p", { className: "inline-flex items-center justify-center px-0 py-2 text-sm font-medium border border-transparent rounded-md", children: n.widgetNumber }) })
5580
5580
  ] }),
5581
- /* @__PURE__ */ e("div", { className: "flex justify-end items-center", children: n.iconName && /* @__PURE__ */ e(Et, { name: n.iconName }) })
5581
+ /* @__PURE__ */ e("div", { className: "flex justify-end items-center", children: n.iconName && /* @__PURE__ */ e(Ft, { name: n.iconName }) })
5582
5582
  ] }, n.id)) }),
5583
5583
  r.length > 0 && /* @__PURE__ */ e("div", { className: "flex flex-col md:flex-row gap-2", children: r.map((n) => /* @__PURE__ */ i("div", { className: "flex flex-1 flex-row justify-between border rounded-md p-2 border-l-4 border-l-primary", children: [
5584
5584
  /* @__PURE__ */ i("div", { className: "flex flex-col", children: [
@@ -5588,7 +5588,7 @@ function cu({ widgetData: t }) {
5588
5588
  ] }) }),
5589
5589
  /* @__PURE__ */ e("div", { children: n.onButtonClickfunc ? /* @__PURE__ */ e(_, { className: "px-0", variant: "link", onClick: () => n.onButtonClickfunc?.({ id: n.id }), children: n.widgetNumber }) : /* @__PURE__ */ e("p", { className: "inline-flex items-center justify-center px-0 py-2 text-sm font-medium border border-transparent rounded-md", children: n.widgetNumber }) })
5590
5590
  ] }),
5591
- /* @__PURE__ */ e("div", { className: "flex justify-end items-center", children: n.iconName && /* @__PURE__ */ e(Et, { name: n.iconName }) })
5591
+ /* @__PURE__ */ e("div", { className: "flex justify-end items-center", children: n.iconName && /* @__PURE__ */ e(Ft, { name: n.iconName }) })
5592
5592
  ] }, n.id)) })
5593
5593
  ] });
5594
5594
  }
@@ -5720,7 +5720,7 @@ function kr() {
5720
5720
  return t;
5721
5721
  }
5722
5722
  function el() {
5723
- const { breadcrumbItems: t, backBreadcrumb: a } = kr(), [r, n] = z(!1), [o, s] = z(2), d = ta(), c = ho();
5723
+ const { breadcrumbItems: t, backBreadcrumb: a } = kr(), [r, n] = z(!1), [o, s] = z(2), d = aa(), c = ho();
5724
5724
  D(() => {
5725
5725
  s(d ? 2 : 4);
5726
5726
  }, [d]);
@@ -5744,7 +5744,7 @@ function el() {
5744
5744
  children: m.title
5745
5745
  }
5746
5746
  ) : /* @__PURE__ */ e(ut, { className: "max-w-20 truncate md:max-w-none", children: m.title }) }),
5747
- /* @__PURE__ */ e(Tt, {}, "firstsep" + f)
5747
+ /* @__PURE__ */ e(Rt, {}, "firstsep" + f)
5748
5748
  ] }, "first" + f) : /* @__PURE__ */ e(et, { children: /* @__PURE__ */ e(ut, { className: "max-w-20 truncate md:max-w-none", children: m.title }) }, "first" + f)
5749
5749
  ),
5750
5750
  t.length > o ? /* @__PURE__ */ i(E, { children: [
@@ -5780,7 +5780,7 @@ function el() {
5780
5780
  (m, f) => /* @__PURE__ */ e(ce, { children: m.href ? /* @__PURE__ */ e(Ae, { to: m.href ? m.href : "#", children: m.title }) : /* @__PURE__ */ e("span", { children: m.title }) }, f)
5781
5781
  ) })
5782
5782
  ] }) }),
5783
- !d && /* @__PURE__ */ e(Tt, {})
5783
+ !d && /* @__PURE__ */ e(Rt, {})
5784
5784
  ] }) : null,
5785
5785
  !d && u.lastVisibleBreadcrumbList.map(
5786
5786
  (m, f) => f == u.lastVisibleBreadcrumbList.length - 1 ? /* @__PURE__ */ e(et, { children: /* @__PURE__ */ e(ut, { className: "max-w-20 truncate md:max-w-none cursor-pointer", children: m.title }) }, "last" + f) : /* @__PURE__ */ i(gt, { children: [
@@ -5794,7 +5794,7 @@ function el() {
5794
5794
  children: m.title
5795
5795
  }
5796
5796
  ) : /* @__PURE__ */ e(ut, { className: "max-w-20 truncate md:max-w-none", children: m.title }) }),
5797
- /* @__PURE__ */ e(Tt, {}, "lastsep" + f)
5797
+ /* @__PURE__ */ e(Rt, {}, "lastsep" + f)
5798
5798
  ] }, "last" + f)
5799
5799
  )
5800
5800
  ] }, "BreadcrumbList1") }, "Breadcrumb1");
@@ -5807,7 +5807,102 @@ function mu({
5807
5807
  a(t);
5808
5808
  }, [t]), /* @__PURE__ */ e(E, {});
5809
5809
  }
5810
+ const Ir = Re(void 0);
5811
+ function tl({ children: t }) {
5812
+ const [a, r] = z([]), [n, o] = z(null), [s, d] = z(null), c = (C) => {
5813
+ r((v) => v.some((b) => b.title === C.title) ? v.map(
5814
+ (b) => b.title === C.title ? { ...b, ...C } : b
5815
+ ) : [...v, C]);
5816
+ }, u = (C) => {
5817
+ r((v) => v.filter((N) => N.title !== C));
5818
+ }, m = (C, v) => {
5819
+ r(
5820
+ (N) => N.map(
5821
+ (b) => b.title === C ? { ...b, ...v } : b
5822
+ )
5823
+ );
5824
+ }, f = (C) => {
5825
+ o(C);
5826
+ }, h = (C) => {
5827
+ d(C);
5828
+ }, w = () => {
5829
+ r([]);
5830
+ };
5831
+ return /* @__PURE__ */ e(
5832
+ Ir.Provider,
5833
+ {
5834
+ value: {
5835
+ navItems: a,
5836
+ header: n,
5837
+ footer: s,
5838
+ setNavItems: r,
5839
+ addNavItem: c,
5840
+ removeNavItem: u,
5841
+ updateNavItem: m,
5842
+ clearNavItems: w,
5843
+ setSidebarHeader: f,
5844
+ setSidebarFooter: h
5845
+ },
5846
+ children: t
5847
+ }
5848
+ );
5849
+ }
5850
+ function St() {
5851
+ const t = Pe(Ir);
5852
+ if (!t)
5853
+ throw new Error("useSidebarNav must be used within a SidebarNavProvider");
5854
+ return t;
5855
+ }
5856
+ function al() {
5857
+ const { navItems: t } = St();
5858
+ return /* @__PURE__ */ e(Qi, { children: /* @__PURE__ */ e(Xi, { children: t.map(
5859
+ (a) => a.items && a.items.length > 0 ? /* @__PURE__ */ e(
5860
+ gs,
5861
+ {
5862
+ asChild: !0,
5863
+ defaultOpen: a.isActive,
5864
+ className: "group/collapsible",
5865
+ children: /* @__PURE__ */ i(ha, { children: [
5866
+ /* @__PURE__ */ e(hs, { asChild: !0, children: /* @__PURE__ */ i(ba, { tooltip: a.title, children: [
5867
+ a.icon && /* @__PURE__ */ e(a.icon, {}),
5868
+ /* @__PURE__ */ e("span", { children: a.title }),
5869
+ /* @__PURE__ */ e(it, { className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" })
5870
+ ] }) }),
5871
+ /* @__PURE__ */ e(bs, { children: /* @__PURE__ */ e(es, { children: a.items.map((r) => /* @__PURE__ */ e(ts, { children: /* @__PURE__ */ e(as, { asChild: !0, children: /* @__PURE__ */ e(Ae, { to: r.url, children: /* @__PURE__ */ e("span", { children: r.title }) }) }) }, r.title)) }) })
5872
+ ] })
5873
+ },
5874
+ a.title
5875
+ ) : /* @__PURE__ */ e(ha, { children: /* @__PURE__ */ e(ba, { asChild: !0, tooltip: a.title, children: /* @__PURE__ */ i(
5876
+ Ae,
5877
+ {
5878
+ to: a.url,
5879
+ className: "flex items-center gap-2 w-full",
5880
+ children: [
5881
+ a.icon && /* @__PURE__ */ e(a.icon, {}),
5882
+ /* @__PURE__ */ e("span", { children: a.title })
5883
+ ]
5884
+ }
5885
+ ) }) }, a.title)
5886
+ ) }) });
5887
+ }
5810
5888
  function fu({
5889
+ items: t,
5890
+ sidebarHeader: a,
5891
+ sidebarFooter: r
5892
+ }) {
5893
+ const { setNavItems: n, setSidebarHeader: o, setSidebarFooter: s } = St();
5894
+ return D(() => {
5895
+ n(t), o(a), s(r);
5896
+ }, [
5897
+ t,
5898
+ a,
5899
+ r,
5900
+ n,
5901
+ o,
5902
+ s
5903
+ ]), null;
5904
+ }
5905
+ function pu({
5811
5906
  formControl: t,
5812
5907
  name: a,
5813
5908
  label: r,
@@ -5877,7 +5972,7 @@ function fu({
5877
5972
  }
5878
5973
  ) });
5879
5974
  }
5880
- function pu(t) {
5975
+ function gu(t) {
5881
5976
  const { field: a } = Bn({ name: t.name, control: t.formControl }), r = t.value !== void 0 ? t.value : a.value;
5882
5977
  return /* @__PURE__ */ e(
5883
5978
  ue,
@@ -5942,7 +6037,7 @@ function pu(t) {
5942
6037
  }
5943
6038
  );
5944
6039
  }
5945
- function gu({
6040
+ function hu({
5946
6041
  formControl: t,
5947
6042
  name: a,
5948
6043
  label: r,
@@ -5990,10 +6085,10 @@ function gu({
5990
6085
  }
5991
6086
  ) });
5992
6087
  }
5993
- function hu() {
6088
+ function bu() {
5994
6089
  return /* @__PURE__ */ e(E, {});
5995
6090
  }
5996
- function bu({ formControl: t, label: a, formDescription: r, extraFormComponent: n, name: o, ...s }) {
6091
+ function vu({ formControl: t, label: a, formDescription: r, extraFormComponent: n, name: o, ...s }) {
5997
6092
  return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
5998
6093
  ue,
5999
6094
  {
@@ -6009,7 +6104,7 @@ function bu({ formControl: t, label: a, formDescription: r, extraFormComponent:
6009
6104
  }
6010
6105
  ) });
6011
6106
  }
6012
- function vu({
6107
+ function xu({
6013
6108
  formControl: t,
6014
6109
  name: a,
6015
6110
  label: r,
@@ -6213,7 +6308,7 @@ function vu({
6213
6308
  }
6214
6309
  );
6215
6310
  }
6216
- function xu({ formControl: t, label: a, formDescription: r, extraFormComponent: n, name: o, ...s }) {
6311
+ function wu({ formControl: t, label: a, formDescription: r, extraFormComponent: n, name: o, ...s }) {
6217
6312
  return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
6218
6313
  ue,
6219
6314
  {
@@ -6234,10 +6329,10 @@ function xu({ formControl: t, label: a, formDescription: r, extraFormComponent:
6234
6329
  }
6235
6330
  ) });
6236
6331
  }
6237
- function wu() {
6332
+ function Nu() {
6238
6333
  return /* @__PURE__ */ e("div", { children: "FormPhoneInput" });
6239
6334
  }
6240
- function Nu({ formControl: t, name: a, label: r, formItemClass: n, formDescription: o, ...s }) {
6335
+ function yu({ formControl: t, name: a, label: r, formItemClass: n, formDescription: o, ...s }) {
6241
6336
  return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
6242
6337
  ue,
6243
6338
  {
@@ -6252,7 +6347,7 @@ function Nu({ formControl: t, name: a, label: r, formItemClass: n, formDescripti
6252
6347
  }
6253
6348
  ) });
6254
6349
  }
6255
- function yu({ formControl: t, label: a, formDescription: r, extraFormComponent: n, name: o, ...s }) {
6350
+ function Cu({ formControl: t, label: a, formDescription: r, extraFormComponent: n, name: o, ...s }) {
6256
6351
  const [d, c] = k.useState(!1), u = () => c(!d);
6257
6352
  return /* @__PURE__ */ e(E, { children: /* @__PURE__ */ e(
6258
6353
  ue,
@@ -6290,7 +6385,7 @@ function yu({ formControl: t, label: a, formDescription: r, extraFormComponent:
6290
6385
  }
6291
6386
  ) });
6292
6387
  }
6293
- function Cu({
6388
+ function ku({
6294
6389
  rowCount: t = 6,
6295
6390
  showToolbar: a = !0
6296
6391
  }) {
@@ -6302,10 +6397,10 @@ function Cu({
6302
6397
  /* @__PURE__ */ e("div", { className: "space-y-4", children: [...Array(t)].map((r, n) => /* @__PURE__ */ e("div", { className: "grid gap-4 items-center", children: /* @__PURE__ */ e(Ye, { className: "h-8 w-full" }) }, n)) })
6303
6398
  ] });
6304
6399
  }
6305
- function ku({ count: t }) {
6400
+ function Iu({ count: t }) {
6306
6401
  return /* @__PURE__ */ e("div", { className: "flex flex-row gap-3 w-full", children: t > 0 && Array.from({ length: t }).map((a, r) => /* @__PURE__ */ e(Ye, { className: "w-1/" + t + " flex flex-col md:flex-row gap-2 h-20", children: /* @__PURE__ */ e("div", { className: "flex flex-1 flex-row justify-between border rounded-md p-2 bg-card-new" }) }, "widget_" + r)) });
6307
6402
  }
6308
- function tl() {
6403
+ function rl() {
6309
6404
  const t = $n({
6310
6405
  defaultValues: {
6311
6406
  text: "",
@@ -6389,7 +6484,7 @@ function tl() {
6389
6484
  }
6390
6485
  )
6391
6486
  ] }),
6392
- /* @__PURE__ */ e(Zt, { value: b.progress }),
6487
+ /* @__PURE__ */ e(ea, { value: b.progress }),
6393
6488
  /* @__PURE__ */ i("p", { className: "text-xs text-gray-500", children: [
6394
6489
  b.progress,
6395
6490
  "% uploaded"
@@ -6451,89 +6546,11 @@ function tl() {
6451
6546
  ] }) }) }) })
6452
6547
  ] }) });
6453
6548
  }
6454
- const Ir = Re(void 0);
6455
- function al({ children: t }) {
6456
- const [a, r] = z([]), [n, o] = z(null), [s, d] = z(null), c = (C) => {
6457
- r((v) => v.some((b) => b.title === C.title) ? v.map(
6458
- (b) => b.title === C.title ? { ...b, ...C } : b
6459
- ) : [...v, C]);
6460
- }, u = (C) => {
6461
- r((v) => v.filter((N) => N.title !== C));
6462
- }, m = (C, v) => {
6463
- r(
6464
- (N) => N.map(
6465
- (b) => b.title === C ? { ...b, ...v } : b
6466
- )
6467
- );
6468
- }, f = (C) => {
6469
- o(C);
6470
- }, h = (C) => {
6471
- d(C);
6472
- }, w = () => {
6473
- r([]);
6474
- };
6475
- return /* @__PURE__ */ e(
6476
- Ir.Provider,
6477
- {
6478
- value: {
6479
- navItems: a,
6480
- header: n,
6481
- footer: s,
6482
- setNavItems: r,
6483
- addNavItem: c,
6484
- removeNavItem: u,
6485
- updateNavItem: m,
6486
- clearNavItems: w,
6487
- setSidebarHeader: f,
6488
- setSidebarFooter: h
6489
- },
6490
- children: t
6491
- }
6492
- );
6493
- }
6494
- function aa() {
6495
- const t = Pe(Ir);
6496
- if (!t)
6497
- throw new Error("useSidebarNav must be used within a SidebarNavProvider");
6498
- return t;
6499
- }
6500
- function rl() {
6501
- const { navItems: t } = aa();
6502
- return /* @__PURE__ */ e(Qi, { children: /* @__PURE__ */ e(Xi, { children: t.map(
6503
- (a) => a.items && a.items.length > 0 ? /* @__PURE__ */ e(
6504
- gs,
6505
- {
6506
- asChild: !0,
6507
- defaultOpen: a.isActive,
6508
- className: "group/collapsible",
6509
- children: /* @__PURE__ */ i(ha, { children: [
6510
- /* @__PURE__ */ e(hs, { asChild: !0, children: /* @__PURE__ */ i(ba, { tooltip: a.title, children: [
6511
- a.icon && /* @__PURE__ */ e(a.icon, {}),
6512
- /* @__PURE__ */ e("span", { children: a.title }),
6513
- /* @__PURE__ */ e(it, { className: "ml-auto transition-transform duration-200 group-data-[state=open]/collapsible:rotate-90" })
6514
- ] }) }),
6515
- /* @__PURE__ */ e(bs, { children: /* @__PURE__ */ e(es, { children: a.items.map((r) => /* @__PURE__ */ e(ts, { children: /* @__PURE__ */ e(as, { asChild: !0, children: /* @__PURE__ */ e(Ae, { to: r.url, children: /* @__PURE__ */ e("span", { children: r.title }) }) }) }, r.title)) }) })
6516
- ] })
6517
- },
6518
- a.title
6519
- ) : /* @__PURE__ */ e(ha, { children: /* @__PURE__ */ e(ba, { asChild: !0, tooltip: a.title, children: /* @__PURE__ */ i(
6520
- Ae,
6521
- {
6522
- to: a.url,
6523
- className: "flex items-center gap-2 w-full",
6524
- children: [
6525
- a.icon && /* @__PURE__ */ e(a.icon, {}),
6526
- /* @__PURE__ */ e("span", { children: a.title })
6527
- ]
6528
- }
6529
- ) }) }, a.title)
6530
- ) }) });
6531
- }
6532
6549
  function nl({ ...t }) {
6533
- const { navItems: a, header: r, footer: n } = aa();
6550
+ const { navItems: a, header: r, footer: n } = St();
6534
6551
  return !a || a.length === 0 ? null : /* @__PURE__ */ i(Wi, { className: "ml-12", collapsible: "offcanvas", ...t, children: [
6535
6552
  r && /* @__PURE__ */ e(qi, { children: r }),
6536
- /* @__PURE__ */ e(Ji, { children: /* @__PURE__ */ e(rl, {}) }),
6553
+ /* @__PURE__ */ e(Ji, { children: /* @__PURE__ */ e(al, {}) }),
6537
6554
  n && /* @__PURE__ */ e(Yi, { children: n }),
6538
6555
  /* @__PURE__ */ e(Hi, {})
6539
6556
  ] });
@@ -6556,16 +6573,16 @@ const H = {
6556
6573
  IKON_PLATFORM_UI_URL: "",
6557
6574
  IKON_USER_API_URL: "",
6558
6575
  LOGIN_PAGE_URL: ""
6559
- }, Iu = (t) => {
6576
+ }, Su = (t) => {
6560
6577
  H.IKON_BASE_API_URL = t.IKON_BASE_API_URL, H.IKON_PLATFORM_API_URL = `${t.IKON_BASE_API_URL}/platform`, H.IKON_AUTH_API_URL = `${H.IKON_PLATFORM_API_URL}/auth`, H.IKON_USER_API_URL = `${H.IKON_PLATFORM_API_URL}/user`, H.IKON_ACCOUNT_API_URL = `${H.IKON_PLATFORM_API_URL}/account`, H.LOGIN_PAGE_URL = t.LOGIN_PAGE_URL, H.IKON_PLATFORM_UI_URL = t.IKON_PLATFORM_UI_URL, H.IKON_PLATFORM_PROFILE_URL = `${t.IKON_PLATFORM_UI_URL}/setting/profile`;
6561
6578
  }, le = () => H;
6562
6579
  function il() {
6563
- const { navItems: t } = aa(), { IKON_PLATFORM_UI_URL: a } = le();
6580
+ const { navItems: t } = St(), { IKON_PLATFORM_UI_URL: a } = le();
6564
6581
  return /* @__PURE__ */ e("header", { className: "ml-12 flex h-12 border-b shrink-0 items-center gap-2 transition-[width,height] ease-linear group-has-data-[collapsible=icon]/sidebar-wrapper:h-12", children: /* @__PURE__ */ i("div", { className: "flex items-center justify-between gap-2 px-4 w-full", children: [
6565
6582
  /* @__PURE__ */ i("div", { className: "flex items-center gap-2", children: [
6566
6583
  !t || t.length === 0 ? /* @__PURE__ */ e("div", {}) : /* @__PURE__ */ e(Gi, { className: "-ml-1" }),
6567
6584
  !t || t.length === 0 ? /* @__PURE__ */ e("div", {}) : /* @__PURE__ */ e(
6568
- ea,
6585
+ ta,
6569
6586
  {
6570
6587
  orientation: "vertical",
6571
6588
  className: "mr-2 data-[orientation=vertical]:h-4"
@@ -6592,22 +6609,22 @@ function il() {
6592
6609
  const ra = "ikoncloud_next_";
6593
6610
  function Ia(t, a, r) {
6594
6611
  let n = r?.expires;
6595
- !n && r?.maxAge && (n = r.maxAge / 86400), Vt.set(ra + t, a, {
6612
+ !n && r?.maxAge && (n = r.maxAge / 86400), Wt.set(ra + t, a, {
6596
6613
  httpOnly: !1,
6597
6614
  sameSite: "lax",
6598
6615
  expires: n
6599
6616
  });
6600
6617
  }
6601
- function Ft(t) {
6602
- return Vt.get(ra + t);
6618
+ function Ot(t) {
6619
+ return Wt.get(ra + t);
6603
6620
  }
6604
6621
  function Sa(t) {
6605
- Vt.remove(ra + t);
6622
+ Wt.remove(ra + t);
6606
6623
  }
6607
- async function Su() {
6624
+ async function Au() {
6608
6625
  }
6609
- async function St(t) {
6610
- const a = Ft("accessToken"), r = Ft("refreshToken");
6626
+ async function At(t) {
6627
+ const a = Ot("accessToken"), r = Ot("refreshToken");
6611
6628
  if (a)
6612
6629
  return a;
6613
6630
  if (r) {
@@ -6644,13 +6661,13 @@ async function sl(t, a) {
6644
6661
  }
6645
6662
  return null;
6646
6663
  }
6647
- function Ot() {
6664
+ function Lt() {
6648
6665
  Sa("accessToken"), Sa("refreshToken"), typeof window < "u" && (window.location.href = le().LOGIN_PAGE_URL);
6649
6666
  }
6650
6667
  const Le = er.create();
6651
6668
  Le.interceptors.request.use(
6652
6669
  async (t) => {
6653
- const a = await St();
6670
+ const a = await At();
6654
6671
  return a && t.headers && (t.headers.Authorization = `Bearer ${a}`), t;
6655
6672
  },
6656
6673
  (t) => Promise.reject(t instanceof Error ? t : new Error(String(t)))
@@ -6662,19 +6679,23 @@ Le.interceptors.response.use(
6662
6679
  if (t.response?.status === 401 && a && !a._retry) {
6663
6680
  a._retry = !0;
6664
6681
  try {
6665
- const r = await St({ isSetToken: !0 });
6682
+ const r = await At({ isSetToken: !0 });
6666
6683
  if (r && a.headers)
6667
6684
  return a.headers.Authorization = `Bearer ${r}`, Le(a);
6668
- Ot();
6685
+ Lt();
6669
6686
  } catch (r) {
6670
- return Ot(), Promise.reject(r instanceof Error ? r : new Error(String(r)));
6687
+ return Lt(), Promise.reject(
6688
+ r instanceof Error ? r : new Error(String(r))
6689
+ );
6671
6690
  }
6672
6691
  }
6673
- return Promise.reject(t instanceof Error ? t : new Error(String(t)));
6692
+ return Promise.reject(
6693
+ t instanceof Error ? t : new Error(String(t))
6694
+ );
6674
6695
  }
6675
6696
  );
6676
6697
  function ll(t) {
6677
- return Wt({
6698
+ return Gt({
6678
6699
  queryKey: ["profile", t],
6679
6700
  queryFn: async () => {
6680
6701
  if (!t) throw new Error("No userId");
@@ -6700,7 +6721,7 @@ function dl() {
6700
6721
  });
6701
6722
  }
6702
6723
  function cl() {
6703
- return Wt({
6724
+ return Gt({
6704
6725
  queryKey: ["accountMembership"],
6705
6726
  queryFn: async () => {
6706
6727
  const { data: t } = await Le.get(
@@ -6711,7 +6732,7 @@ function cl() {
6711
6732
  });
6712
6733
  }
6713
6734
  function ul() {
6714
- return Wt({
6735
+ return Gt({
6715
6736
  queryKey: ["softwares"],
6716
6737
  queryFn: async () => {
6717
6738
  const { data: t } = await Le.get(
@@ -6727,7 +6748,7 @@ const Sr = Re(
6727
6748
  function ml({ children: t }) {
6728
6749
  const [a, r] = z(null);
6729
6750
  D(() => {
6730
- const c = Ft("accessToken");
6751
+ const c = Ot("accessToken");
6731
6752
  if (c)
6732
6753
  try {
6733
6754
  const u = vo(c);
@@ -6776,12 +6797,12 @@ function fl() {
6776
6797
  /* @__PURE__ */ e("p", { className: "text-sm text-muted-foreground font-semibold" })
6777
6798
  ] })
6778
6799
  ] }),
6779
- /* @__PURE__ */ e(Xt, { className: "my-0" }),
6800
+ /* @__PURE__ */ e(Zt, { className: "my-0" }),
6780
6801
  /* @__PURE__ */ i(
6781
6802
  ce,
6782
6803
  {
6783
6804
  onClick: async () => {
6784
- Ot();
6805
+ Lt();
6785
6806
  },
6786
6807
  className: "flex items-center gap-2 px-4 py-3 cursor-pointer focus:bg-destructive dark:focus:bg-destructive blue-dark:focus:bg-destructive",
6787
6808
  children: [
@@ -6874,7 +6895,7 @@ function gl() {
6874
6895
  asChild: !0,
6875
6896
  children: /* @__PURE__ */ i(Ae, { to: n.url ?? "#", children: [
6876
6897
  o ? /* @__PURE__ */ e(
6877
- Et,
6898
+ Ft,
6878
6899
  {
6879
6900
  name: r(n.icon ?? ""),
6880
6901
  className: "h-8 w-8"
@@ -6907,7 +6928,7 @@ const hl = () => {
6907
6928
  function bl({ children: t }) {
6908
6929
  return /* @__PURE__ */ i(E, { children: [
6909
6930
  /* @__PURE__ */ e(hl, {}),
6910
- /* @__PURE__ */ e(Vi, { children: /* @__PURE__ */ e(Ms, { children: /* @__PURE__ */ i(al, { children: [
6931
+ /* @__PURE__ */ e(Vi, { children: /* @__PURE__ */ e(Ms, { children: /* @__PURE__ */ i(tl, { children: [
6911
6932
  /* @__PURE__ */ e(nl, {}),
6912
6933
  /* @__PURE__ */ i(Ki, { className: "flex flex-col h-screen", children: [
6913
6934
  /* @__PURE__ */ e(il, {}),
@@ -6936,7 +6957,7 @@ function vl({ children: t }) {
6936
6957
  const s = xt(() => ({ font: a, setFont: r }), [a]);
6937
6958
  return /* @__PURE__ */ e(zr.Provider, { value: s, children: t });
6938
6959
  }
6939
- const Au = () => {
6960
+ const zu = () => {
6940
6961
  const t = Pe(zr);
6941
6962
  if (t === void 0)
6942
6963
  throw new Error("useFont must be used within a FontProvider");
@@ -6959,7 +6980,7 @@ function xl({ children: t }) {
6959
6980
  const s = xt(() => ({ radius: a, setRadius: r }), [a]);
6960
6981
  return /* @__PURE__ */ e(Tr.Provider, { value: s, children: t });
6961
6982
  }
6962
- const zu = () => {
6983
+ const Tu = () => {
6963
6984
  const t = Pe(Tr);
6964
6985
  if (t === void 0)
6965
6986
  throw new Error("useRadius must be used within a RadiusProvider");
@@ -6971,7 +6992,7 @@ function wl({ children: t }) {
6971
6992
  }, []);
6972
6993
  return /* @__PURE__ */ e(Rr.Provider, { value: { refresh: n, refreshCounter: a }, children: t });
6973
6994
  }
6974
- function Tu() {
6995
+ function Ru() {
6975
6996
  const t = Pe(Rr);
6976
6997
  if (t === void 0)
6977
6998
  throw new Error("useRefresh must be used within a RefreshProvider");
@@ -6981,7 +7002,7 @@ const Nl = new No();
6981
7002
  function yl({ children: t }) {
6982
7003
  return /* @__PURE__ */ e(yo, { client: Nl, children: t });
6983
7004
  }
6984
- function Ru({ children: t }) {
7005
+ function Pu({ children: t }) {
6985
7006
  const a = le();
6986
7007
  if (!a.IKON_BASE_API_URL || !a.IKON_PLATFORM_UI_URL || !a.LOGIN_PAGE_URL)
6987
7008
  throw new Error(
@@ -6989,7 +7010,7 @@ function Ru({ children: t }) {
6989
7010
  );
6990
7011
  return /* @__PURE__ */ e(yl, { children: /* @__PURE__ */ e(ml, { children: /* @__PURE__ */ e(rs, { children: /* @__PURE__ */ e(vl, { children: /* @__PURE__ */ e(xl, { children: /* @__PURE__ */ e(Zs, { children: /* @__PURE__ */ e(wl, { children: /* @__PURE__ */ e(bo, { children: /* @__PURE__ */ e(bl, { children: t }) }) }) }) }) }) }) }) });
6991
7012
  }
6992
- function Pu({ activityLogs: t = [] }) {
7013
+ function _u({ activityLogs: t = [] }) {
6993
7014
  const a = [
6994
7015
  {
6995
7016
  tabName: "Activity",
@@ -7012,7 +7033,7 @@ function Pu({ activityLogs: t = [] }) {
7012
7033
  tabName: "File Upload",
7013
7034
  tabId: "tab-upload",
7014
7035
  default: !1,
7015
- tabContent: /* @__PURE__ */ e(tl, {})
7036
+ tabContent: /* @__PURE__ */ e(rl, {})
7016
7037
  }
7017
7038
  ];
7018
7039
  return /* @__PURE__ */ e(
@@ -7224,7 +7245,7 @@ function Il({ onNewFileUpload: t }) {
7224
7245
  children: /* @__PURE__ */ e(Ua, {})
7225
7246
  }
7226
7247
  ),
7227
- /* @__PURE__ */ e(B, { className: "rounded-s-none", value: "icon", children: /* @__PURE__ */ e(Ut, {}) })
7248
+ /* @__PURE__ */ e(B, { className: "rounded-s-none", value: "icon", children: /* @__PURE__ */ e(Bt, {}) })
7228
7249
  ]
7229
7250
  }
7230
7251
  ) }),
@@ -7321,10 +7342,10 @@ function Il({ onNewFileUpload: t }) {
7321
7342
  const Sl = wt(Il);
7322
7343
  function Al({ open: t, onOpenChange: a, onCropperChange: r }) {
7323
7344
  const { originalImage: n, aspectRatioWiseImages: o } = _r();
7324
- return /* @__PURE__ */ e(Yt, { modal: !0, open: t, onOpenChange: (s) => {
7345
+ return /* @__PURE__ */ e(Jt, { modal: !0, open: t, onOpenChange: (s) => {
7325
7346
  a(s);
7326
- }, children: /* @__PURE__ */ i(Jt, { className: "max-w-full lg:max-w-5xl max-h-full overflow-auto", children: [
7327
- /* @__PURE__ */ e(lr, { children: /* @__PURE__ */ e(Qt, { children: "Image to upload" }) }),
7347
+ }, children: /* @__PURE__ */ i(Qt, { className: "max-w-full lg:max-w-5xl max-h-full overflow-auto", children: [
7348
+ /* @__PURE__ */ e(lr, { children: /* @__PURE__ */ e(Xt, { children: "Image to upload" }) }),
7328
7349
  /* @__PURE__ */ e(Sl, {}),
7329
7350
  /* @__PURE__ */ e(gi, { children: /* @__PURE__ */ e(kt, { onClick: () => {
7330
7351
  r(n, o), a(!1);
@@ -7358,7 +7379,7 @@ async function zl(t) {
7358
7379
  };
7359
7380
  }
7360
7381
  const Pr = Re(void 0);
7361
- function _u({ children: t, uploadedImages: a, onCropperChange: r, modalOpen: n, onModalOpenChange: o }) {
7382
+ function Du({ children: t, uploadedImages: a, onCropperChange: r, modalOpen: n, onModalOpenChange: o }) {
7362
7383
  const [s, d] = z({
7363
7384
  landscape: null,
7364
7385
  portrait: null,
@@ -7654,7 +7675,7 @@ const _r = () => {
7654
7675
  {
7655
7676
  variant: "outline",
7656
7677
  onClick: () => De(1 / 1, "third"),
7657
- children: /* @__PURE__ */ e(Ut, {})
7678
+ children: /* @__PURE__ */ e(Bt, {})
7658
7679
  }
7659
7680
  )
7660
7681
  ] }),
@@ -7676,14 +7697,14 @@ const _r = () => {
7676
7697
  /* @__PURE__ */ e("div", { className: "w-2/5 flex flex-row-reverse", children: /* @__PURE__ */ e(_, { onClick: g, children: "Save" }) })
7677
7698
  ] })
7678
7699
  ] });
7679
- }, Du = wt(Rl);
7680
- function Mu() {
7700
+ }, Mu = wt(Rl);
7701
+ function Eu() {
7681
7702
  return /* @__PURE__ */ e("div", { className: "flex h-full items-center justify-center", children: /* @__PURE__ */ i("div", { className: "bg-background text-forefround rounded-xl p-6 text-center max-w-md", children: [
7682
7703
  /* @__PURE__ */ e("div", { className: "text-3xl font-bold mb-2 animate-pulse", children: "🚧 Work in Progress" }),
7683
7704
  /* @__PURE__ */ e("p", { className: "text-muted-foreground", children: "We’re currently working on this section. Check back soon!" })
7684
7705
  ] }) });
7685
7706
  }
7686
- function Eu({
7707
+ function Fu({
7687
7708
  formControl: t,
7688
7709
  name: a,
7689
7710
  label: r,
@@ -7847,7 +7868,7 @@ function Eu({
7847
7868
  }
7848
7869
  );
7849
7870
  }
7850
- const ne = $t(({ children: t, tooltip: a, side: r = "bottom", className: n, ...o }, s) => /* @__PURE__ */ i(te, { children: [
7871
+ const ne = Vt(({ children: t, tooltip: a, side: r = "bottom", className: n, ...o }, s) => /* @__PURE__ */ i(te, { children: [
7851
7872
  /* @__PURE__ */ e(ae, { asChild: !0, children: /* @__PURE__ */ i(
7852
7873
  _,
7853
7874
  {
@@ -8208,7 +8229,7 @@ const Ul = (t) => {
8208
8229
  );
8209
8230
  }, $l = ({ children: t }) => {
8210
8231
  const a = Dr();
8211
- return a ? /* @__PURE__ */ i(Yt, { children: [
8232
+ return a ? /* @__PURE__ */ i(Jt, { children: [
8212
8233
  /* @__PURE__ */ e(
8213
8234
  mi,
8214
8235
  {
@@ -8217,8 +8238,8 @@ const Ul = (t) => {
8217
8238
  children: t
8218
8239
  }
8219
8240
  ),
8220
- /* @__PURE__ */ i(Jt, { className: "aui-attachment-preview-dialog-content p-2 sm:max-w-3xl [&>button]:rounded-full [&>button]:bg-foreground/60 [&>button]:p-1 [&>button]:opacity-100 [&>button]:ring-0! [&_svg]:text-background [&>button]:hover:[&_svg]:text-destructive", children: [
8221
- /* @__PURE__ */ e(Qt, { className: "aui-sr-only sr-only", children: "Image Attachment Preview" }),
8241
+ /* @__PURE__ */ i(Qt, { className: "aui-attachment-preview-dialog-content p-2 sm:max-w-3xl [&>button]:rounded-full [&>button]:bg-foreground/60 [&>button]:p-1 [&>button]:opacity-100 [&>button]:ring-0! [&_svg]:text-background [&>button]:hover:[&_svg]:text-destructive", children: [
8242
+ /* @__PURE__ */ e(Xt, { className: "aui-sr-only sr-only", children: "Image Attachment Preview" }),
8222
8243
  /* @__PURE__ */ e("div", { className: "aui-attachment-preview relative mx-auto flex max-h-[80dvh] w-full items-center justify-center overflow-hidden bg-background", children: /* @__PURE__ */ e(Bl, { src: a }) })
8223
8244
  ] })
8224
8245
  ] }) : t;
@@ -8257,7 +8278,7 @@ const Ul = (t) => {
8257
8278
  });
8258
8279
  return /* @__PURE__ */ i(te, { children: [
8259
8280
  /* @__PURE__ */ i(
8260
- Pt.Root,
8281
+ _t.Root,
8261
8282
  {
8262
8283
  className: l(
8263
8284
  "aui-attachment-root relative",
@@ -8281,15 +8302,15 @@ const Ul = (t) => {
8281
8302
  ]
8282
8303
  }
8283
8304
  ),
8284
- /* @__PURE__ */ e(re, { side: "top", children: /* @__PURE__ */ e(Pt.Name, {}) })
8305
+ /* @__PURE__ */ e(re, { side: "top", children: /* @__PURE__ */ e(_t.Name, {}) })
8285
8306
  ] });
8286
- }, Wl = () => /* @__PURE__ */ e(Pt.Remove, { asChild: !0, children: /* @__PURE__ */ e(
8307
+ }, Wl = () => /* @__PURE__ */ e(_t.Remove, { asChild: !0, children: /* @__PURE__ */ e(
8287
8308
  ne,
8288
8309
  {
8289
8310
  tooltip: "Remove file",
8290
8311
  className: "aui-attachment-tile-remove absolute top-1.5 right-1.5 size-3.5 rounded-full bg-white text-muted-foreground opacity-100 shadow-sm hover:bg-white! [&_svg]:text-black hover:[&_svg]:text-destructive",
8291
8312
  side: "top",
8292
- children: /* @__PURE__ */ e(jt, { className: "aui-attachment-remove-icon size-3 dark:stroke-[2.5px]" })
8313
+ children: /* @__PURE__ */ e(Ut, { className: "aui-attachment-remove-icon size-3 dark:stroke-[2.5px]" })
8293
8314
  }
8294
8315
  ) }), Gl = () => /* @__PURE__ */ e("div", { className: "aui-user-message-attachments-end col-span-full col-start-1 row-start-1 flex w-full flex-row justify-end gap-2", children: /* @__PURE__ */ e(xe.Attachments, { components: { Attachment: Mr } }) }), Hl = () => /* @__PURE__ */ e("div", { className: "aui-composer-attachments mb-2 flex w-full flex-row items-center gap-2 overflow-x-auto px-1.5 pt-0.5 pb-1 empty:hidden", children: /* @__PURE__ */ e(
8295
8316
  X.Attachments,
@@ -8332,7 +8353,7 @@ const Ul = (t) => {
8332
8353
  ) }),
8333
8354
  /* @__PURE__ */ e(We, { align: "end", className: l("min-w-[200px]", n), children: t.length > 0 ? /* @__PURE__ */ i(E, { children: [
8334
8355
  /* @__PURE__ */ e(cr, { className: "px-2 py-1.5 text-xs font-semibold text-muted-foreground", children: "Agents" }),
8335
- /* @__PURE__ */ e(Xt, {}),
8356
+ /* @__PURE__ */ e(Zt, {}),
8336
8357
  /* @__PURE__ */ e(dr, { children: t.map((u) => /* @__PURE__ */ i(
8337
8358
  ce,
8338
8359
  {
@@ -8420,7 +8441,7 @@ const Ul = (t) => {
8420
8441
  return r >= 5 && r < 12 ? n = "Good Morning" : r >= 12 && r < 17 ? n = "Good Afternoon" : r >= 17 && r < 21 ? n = "Good Evening" : n = "Good Night", console.log(n), /* @__PURE__ */ i("div", { className: "aui-thread-welcome-root mx-auto my-auto flex w-full max-w-[var(--thread-max-width)] flex-grow flex-col", children: [
8421
8442
  /* @__PURE__ */ e("div", { className: "aui-thread-welcome-center flex w-full flex-grow flex-col items-center justify-center", children: /* @__PURE__ */ i("div", { className: "aui-thread-welcome-message flex size-full flex-col justify-center px-8", children: [
8422
8443
  /* @__PURE__ */ e(
8423
- _t.div,
8444
+ Dt.div,
8424
8445
  {
8425
8446
  initial: { opacity: 0, y: 10 },
8426
8447
  animate: { opacity: 1, y: 0 },
@@ -8430,7 +8451,7 @@ const Ul = (t) => {
8430
8451
  }
8431
8452
  ),
8432
8453
  /* @__PURE__ */ e(
8433
- _t.div,
8454
+ Dt.div,
8434
8455
  {
8435
8456
  initial: { opacity: 0, y: 10 },
8436
8457
  animate: { opacity: 1, y: 0 },
@@ -8465,7 +8486,7 @@ const Ul = (t) => {
8465
8486
  action: "Create a meal plan for healthy weight loss"
8466
8487
  }
8467
8488
  ].map((t, a) => /* @__PURE__ */ e(
8468
- _t.div,
8489
+ Dt.div,
8469
8490
  {
8470
8491
  initial: { opacity: 0, y: 20 },
8471
8492
  animate: { opacity: 1, y: 0 },
@@ -8548,7 +8569,7 @@ const Ul = (t) => {
8548
8569
  size: "icon",
8549
8570
  className: "aui-composer-cancel size-[34px] rounded-full border border-muted-foreground/60 hover:bg-primary/75 dark:border-muted-foreground/90",
8550
8571
  "aria-label": "Stop generating",
8551
- children: /* @__PURE__ */ e(Ut, { className: "aui-composer-cancel-icon size-3.5 fill-white dark:fill-black" })
8572
+ children: /* @__PURE__ */ e(Bt, { className: "aui-composer-cancel-icon size-3.5 fill-white dark:fill-black" })
8552
8573
  }
8553
8574
  ) }) })
8554
8575
  ] })
@@ -8644,7 +8665,7 @@ const Ul = (t) => {
8644
8665
  " / ",
8645
8666
  /* @__PURE__ */ e(Xe.Count, {})
8646
8667
  ] }),
8647
- /* @__PURE__ */ e(Xe.Next, { asChild: !0, children: /* @__PURE__ */ e(ne, { tooltip: "Next", children: /* @__PURE__ */ e(Lt, {}) }) })
8668
+ /* @__PURE__ */ e(Xe.Next, { asChild: !0, children: /* @__PURE__ */ e(ne, { tooltip: "Next", children: /* @__PURE__ */ e(jt, {}) }) })
8648
8669
  ]
8649
8670
  }
8650
8671
  );
@@ -8693,7 +8714,7 @@ class sd {
8693
8714
  ...d
8694
8715
  }, h = {
8695
8716
  "Content-Type": "application/json",
8696
- Authorization: `Bearer ${await St()}`,
8717
+ Authorization: `Bearer ${await At()}`,
8697
8718
  ...s instanceof Headers ? Object.fromEntries(s.entries()) : s || {}
8698
8719
  };
8699
8720
  try {
@@ -8800,7 +8821,7 @@ class sd {
8800
8821
  });
8801
8822
  }
8802
8823
  }
8803
- const Fu = ({
8824
+ const Ou = ({
8804
8825
  provider: t = "openai",
8805
8826
  model: a = "gpt-4o-mini",
8806
8827
  agentId: r = "default-agent",
@@ -8839,7 +8860,7 @@ const Fu = ({
8839
8860
  transport: N
8840
8861
  }), y = async () => {
8841
8862
  try {
8842
- const I = await St(), x = await fetch(`${c}/api/agent/${m}`, {
8863
+ const I = await At(), x = await fetch(`${c}/api/agent/${m}`, {
8843
8864
  method: "GET",
8844
8865
  headers: {
8845
8866
  "Content-Type": "application/json",
@@ -8886,7 +8907,7 @@ export {
8886
8907
  Vd as AccordionItem,
8887
8908
  Wd as AccordionTrigger,
8888
8909
  Ca as ActionMenu,
8889
- Pu as ActivitySheet,
8910
+ _u as ActivitySheet,
8890
8911
  qd as Alert,
8891
8912
  Jd as AlertDescription,
8892
8913
  Yo as AlertDialog,
@@ -8905,14 +8926,14 @@ export {
8905
8926
  el as AppBreadcrumb,
8906
8927
  nl as AppSidebar,
8907
8928
  wa as AspectRatio,
8908
- Fu as AssistantComponent,
8929
+ Ou as AssistantComponent,
8909
8930
  oi as Avatar,
8910
8931
  Qd as AvatarBadge,
8911
8932
  si as AvatarFallback,
8912
8933
  Xd as AvatarGroup,
8913
8934
  Zd as AvatarGroupCount,
8914
8935
  ii as AvatarImage,
8915
- At as Badge,
8936
+ zt as Badge,
8916
8937
  uu as BigCalendar,
8917
8938
  fs as Breadcrumb,
8918
8939
  ya as BreadcrumbEllipsis,
@@ -8921,11 +8942,11 @@ export {
8921
8942
  ps as BreadcrumbList,
8922
8943
  ut as BreadcrumbPage,
8923
8944
  Zs as BreadcrumbProvider,
8924
- Tt as BreadcrumbSeparator,
8945
+ Rt as BreadcrumbSeparator,
8925
8946
  _ as Button,
8926
8947
  di as Calendar,
8927
8948
  ci as CalendarDayButton,
8928
- Mt as Card,
8949
+ Et as Card,
8929
8950
  rc as CardAction,
8930
8951
  ui as CardContent,
8931
8952
  ac as CardDescription,
@@ -8949,7 +8970,7 @@ export {
8949
8970
  Sl as CropperForm,
8950
8971
  Al as CropperFormWithModal,
8951
8972
  Ds as CustomAlertDialog,
8952
- Eu as CustomComboboxInput,
8973
+ Fu as CustomComboboxInput,
8953
8974
  Ks as CustomTabs,
8954
8975
  Zc as DataTable,
8955
8976
  Es as DataTableColumnFilter,
@@ -8957,16 +8978,16 @@ export {
8957
8978
  Os as DataTableFilterMenu,
8958
8979
  Us as DataTablePagination,
8959
8980
  $s as DataTableToolbar,
8960
- Yt as Dialog,
8981
+ Jt as Dialog,
8961
8982
  oc as DialogClose,
8962
- Jt as DialogContent,
8983
+ Qt as DialogContent,
8963
8984
  hi as DialogDescription,
8964
8985
  gi as DialogFooter,
8965
8986
  lr as DialogHeader,
8966
8987
  pi as DialogOverlay,
8967
8988
  fi as DialogPortal,
8968
8989
  Ms as DialogProvider,
8969
- Qt as DialogTitle,
8990
+ Xt as DialogTitle,
8970
8991
  mi as DialogTrigger,
8971
8992
  vs as Drawer,
8972
8993
  Ns as DrawerClose,
@@ -8987,7 +9008,7 @@ export {
8987
9008
  vi as DropdownMenuPortal,
8988
9009
  dc as DropdownMenuRadioGroup,
8989
9010
  cc as DropdownMenuRadioItem,
8990
- Xt as DropdownMenuSeparator,
9011
+ Zt as DropdownMenuSeparator,
8991
9012
  uc as DropdownMenuShortcut,
8992
9013
  xi as DropdownMenuSub,
8993
9014
  Ni as DropdownMenuSubContent,
@@ -8999,36 +9020,36 @@ export {
8999
9020
  vl as FontProvider,
9000
9021
  ol as Footer,
9001
9022
  zs as Form,
9002
- fu as FormComboboxInput,
9003
- pu as FormComboboxInputWithValue,
9023
+ pu as FormComboboxInput,
9024
+ gu as FormComboboxInputWithValue,
9004
9025
  fe as FormControl,
9005
- gu as FormDateInput,
9026
+ hu as FormDateInput,
9006
9027
  Ce as FormDescription,
9007
9028
  ue as FormField,
9008
- hu as FormFileInput,
9009
- bu as FormInput,
9029
+ bu as FormFileInput,
9030
+ vu as FormInput,
9010
9031
  me as FormItem,
9011
9032
  ye as FormLabel,
9012
9033
  pe as FormMessage,
9013
- vu as FormMultiComboboxInput,
9014
- xu as FormOtpInput,
9015
- yu as FormPasswordInput,
9016
- wu as FormPhoneInput,
9017
- Nu as FormTextarea,
9034
+ xu as FormMultiComboboxInput,
9035
+ wu as FormOtpInput,
9036
+ Cu as FormPasswordInput,
9037
+ Nu as FormPhoneInput,
9038
+ yu as FormTextarea,
9018
9039
  du as FrameworkItemDropdown,
9019
9040
  tu as GlowingEffect,
9020
- Cu as GradeTableLoader,
9041
+ ku as GradeTableLoader,
9021
9042
  il as Header,
9022
9043
  mc as HoverCard,
9023
9044
  pc as HoverCardContent,
9024
9045
  fc as HoverCardTrigger,
9025
- Et as Icon,
9046
+ Ft as Icon,
9026
9047
  _s as IconButton,
9027
9048
  Me as IconButtonWithTooltip,
9028
9049
  It as IconTextButton,
9029
9050
  Ps as IconTextButtonWithTooltip,
9030
9051
  kl as ImageCropper,
9031
- _u as ImageCropperProvider,
9052
+ Du as ImageCropperProvider,
9032
9053
  G as Input,
9033
9054
  Ts as InputOTP,
9034
9055
  Rs as InputOTPGroup,
@@ -9039,7 +9060,7 @@ export {
9039
9060
  bl as MainLayout,
9040
9061
  hl as MainSidebar,
9041
9062
  ru as MultiCombobox,
9042
- rl as NavMain,
9063
+ al as NavMain,
9043
9064
  gc as NavigationMenu,
9044
9065
  xc as NavigationMenuContent,
9045
9066
  Nc as NavigationMenuIndicator,
@@ -9049,7 +9070,7 @@ export {
9049
9070
  vc as NavigationMenuTrigger,
9050
9071
  Ci as NavigationMenuViewport,
9051
9072
  Tl as NewCropperImg,
9052
- Du as NewImageForm,
9073
+ Mu as NewImageForm,
9053
9074
  yr as NoDataComponent,
9054
9075
  nu as PageWrapper,
9055
9076
  ou as PasswordStrengthMeter,
@@ -9061,12 +9082,13 @@ export {
9061
9082
  Cc as PopoverHeader,
9062
9083
  kc as PopoverTitle,
9063
9084
  J as PopoverTrigger,
9064
- Zt as Progress,
9065
- Ru as ProviderWrapper,
9085
+ ea as Progress,
9086
+ Pu as ProviderWrapper,
9066
9087
  Sc as RadioGroup,
9067
9088
  Ac as RadioGroupItem,
9068
9089
  xl as RadiusProvider,
9069
9090
  mu as RenderAppBreadcrumb,
9091
+ fu as RenderSidebarNav,
9070
9092
  zc as ScrollArea,
9071
9093
  ki as ScrollBar,
9072
9094
  Bs as SearchInput,
@@ -9080,7 +9102,7 @@ export {
9080
9102
  Pc as SelectSeparator,
9081
9103
  Ai as SelectTrigger,
9082
9104
  Si as SelectValue,
9083
- ea as Separator,
9105
+ ta as Separator,
9084
9106
  ur as Sheet,
9085
9107
  _c as SheetClose,
9086
9108
  Gs as SheetComponent,
@@ -9109,14 +9131,14 @@ export {
9109
9131
  es as SidebarMenuSub,
9110
9132
  as as SidebarMenuSubButton,
9111
9133
  ts as SidebarMenuSubItem,
9112
- al as SidebarNavProvider,
9134
+ tl as SidebarNavProvider,
9113
9135
  Vi as SidebarProvider,
9114
9136
  Hi as SidebarRail,
9115
9137
  Ec as SidebarSeparator,
9116
9138
  Gi as SidebarTrigger,
9117
9139
  su as SimpleWidget,
9118
9140
  Ye as Skeleton,
9119
- ku as SkeletonWidget,
9141
+ Iu as SkeletonWidget,
9120
9142
  $c as Slider,
9121
9143
  Wc as Switch,
9122
9144
  ns as Table,
@@ -9146,33 +9168,34 @@ export {
9146
9168
  re as TooltipContent,
9147
9169
  Fe as TooltipProvider,
9148
9170
  ae as TooltipTrigger,
9149
- tl as UploadTab,
9171
+ rl as UploadTab,
9150
9172
  cu as Widgets,
9151
- Mu as WorkInProgress,
9173
+ Eu as WorkInProgress,
9174
+ Le as axiosInstance,
9152
9175
  li as badgeVariants,
9153
- Dt as buttonVariants,
9154
- Su as clearAllCookieSession,
9176
+ Mt as buttonVariants,
9177
+ Au as clearAllCookieSession,
9155
9178
  Sa as clearCookieSession,
9156
9179
  l as cn,
9157
9180
  Ls as convertFileToObject,
9158
- Ft as getCookieSession,
9181
+ Ot as getCookieSession,
9159
9182
  Se as getDataTableColumnTitle,
9160
9183
  Qc as getImageFromObject,
9161
- St as getValidAccessToken,
9184
+ At as getValidAccessToken,
9162
9185
  yi as navigationMenuTriggerStyle,
9163
9186
  sl as refreshAccessToken,
9164
9187
  Ia as setCookieSession,
9165
- Iu as setIkonConfig,
9188
+ Su as setIkonConfig,
9166
9189
  ds as tabsListVariants,
9167
9190
  xr as toggleVariants,
9168
9191
  kr as useBreadcrumb,
9169
9192
  Yc as useDialog,
9170
- Au as useFont,
9193
+ zu as useFont,
9171
9194
  Ct as useFormField,
9172
9195
  _r as useImageCropper,
9173
- ta as useIsMobile,
9174
- zu as useRadius,
9175
- Tu as useRefresh,
9196
+ aa as useIsMobile,
9197
+ Tu as useRadius,
9198
+ Ru as useRefresh,
9176
9199
  yt as useSidebar,
9177
- aa as useSidebarNav
9200
+ St as useSidebarNav
9178
9201
  };