unifyedx-storybook-new 0.2.85 → 0.2.87

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.
@@ -61,7 +61,7 @@ const gn = (t) => {
61
61
  s
62
62
  ] })
63
63
  ] });
64
- }, zl = ({
64
+ }, Cl = ({
65
65
  label: t,
66
66
  variant: a = "default",
67
67
  // 'default', 'primary', 'success', 'warning', 'danger'
@@ -588,7 +588,7 @@ const vn = {
588
588
  if (!+t) return "0 Bytes";
589
589
  const s = 1024, i = a < 0 ? 0 : a, l = ["Bytes", "KB", "MB", "GB", "TB"], h = Math.floor(Math.log(t) / Math.log(s));
590
590
  return `${parseFloat((t / Math.pow(s, h)).toFixed(i))} ${l[h]}`;
591
- }, Sl = ({
591
+ }, zl = ({
592
592
  // --- Modal Control ---
593
593
  isOpen: t,
594
594
  onClose: a,
@@ -821,7 +821,7 @@ const vn = {
821
821
  default:
822
822
  return [null, null];
823
823
  }
824
- }, Dl = ({
824
+ }, Sl = ({
825
825
  isOpen: t,
826
826
  onClose: a,
827
827
  onApplyFilters: s,
@@ -1410,7 +1410,7 @@ const vn = {
1410
1410
  }
1411
1411
  ) })
1412
1412
  ] }) });
1413
- }, $l = ({
1413
+ }, Dl = ({
1414
1414
  currentPage: t,
1415
1415
  totalItems: a,
1416
1416
  itemsPerPage: s,
@@ -1780,7 +1780,7 @@ const vn = {
1780
1780
  ]
1781
1781
  }
1782
1782
  );
1783
- }, Tl = ({
1783
+ }, $l = ({
1784
1784
  navItems: t = [],
1785
1785
  isCollapsed: a = !1,
1786
1786
  onToggleCollapse: s,
@@ -1884,7 +1884,7 @@ const vn = {
1884
1884
  ]
1885
1885
  }
1886
1886
  );
1887
- }, Al = ({ label: t = "Loading..." }) => /* @__PURE__ */ e("div", { className: "fullscreen-loader-overlay", role: "alert", "aria-busy": "true", children: /* @__PURE__ */ n("div", { className: "loader-content", children: [
1887
+ }, Tl = ({ label: t = "Loading..." }) => /* @__PURE__ */ e("div", { className: "fullscreen-loader-overlay", role: "alert", "aria-busy": "true", children: /* @__PURE__ */ n("div", { className: "loader-content", children: [
1888
1888
  /* @__PURE__ */ e(oa, { size: "large" }),
1889
1889
  t && /* @__PURE__ */ e("span", { className: "loader-label", children: t })
1890
1890
  ] }) }), ca = ({
@@ -1954,7 +1954,7 @@ const vn = {
1954
1954
  t && i === "right" && /* @__PURE__ */ e(lt.Label, { className: `switch-label ${h}`, passive: !0, children: t })
1955
1955
  ] }),
1956
1956
  l && /* @__PURE__ */ e("p", { className: "switch-error-message", children: l })
1957
- ] }), Fl = ({
1957
+ ] }), Al = ({
1958
1958
  children: t,
1959
1959
  content: a,
1960
1960
  variant: s = "dark",
@@ -1995,7 +1995,7 @@ const vn = {
1995
1995
  x: t < 0 ? "100%" : "-100%",
1996
1996
  opacity: 0
1997
1997
  })
1998
- }, El = ({
1998
+ }, Fl = ({
1999
1999
  isOpen: t,
2000
2000
  onClose: a,
2001
2001
  steps: s = {},
@@ -2152,7 +2152,7 @@ const vn = {
2152
2152
  children: o && /* @__PURE__ */ e(o, { size: g === "large" ? 20 : 16 })
2153
2153
  }
2154
2154
  );
2155
- }, Rl = ({
2155
+ }, El = ({
2156
2156
  content: t,
2157
2157
  isFooter: a = !1,
2158
2158
  footerContent: s,
@@ -2323,7 +2323,7 @@ function ma(t) {
2323
2323
  }
2324
2324
  };
2325
2325
  }
2326
- const Vn = ma(localStorage), Il = ma(sessionStorage), Ol = {
2326
+ const ua = ma(localStorage), Rl = ma(sessionStorage), Il = {
2327
2327
  get(t) {
2328
2328
  const a = document.cookie.match(
2329
2329
  new RegExp("(^| )" + t + "=([^;]+)")
@@ -2349,21 +2349,22 @@ const Vn = ma(localStorage), Il = ma(sessionStorage), Ol = {
2349
2349
  const t = this.all();
2350
2350
  Object.keys(t).forEach((a) => this.remove(a));
2351
2351
  }
2352
- }, ua = () => typeof window < "u";
2352
+ };
2353
2353
  function vt() {
2354
- return ua() ? window.location.hostname === "localhost" ? "https://dev.unifyed.com" : `${window.location.protocol}//${window.location.hostname}` : "https://dev.unifyed.com";
2354
+ const t = window.location.hostname;
2355
+ return t === "localhost" || t === "127.0.0.1" ? "https://dev.unifyed.com" : `${window.location.protocol}//${t}`;
2355
2356
  }
2356
- function jn() {
2357
- if (!ua()) return "";
2357
+ function Vn() {
2358
2358
  try {
2359
- const t = Vn.get("userProfile");
2360
- return !t && window.location.hostname === "localhost" ? "/unifyd-gateway/api" : (t && typeof t == "object" ? t : {})?.gatewaypath ?? "";
2361
- } catch {
2362
- return "";
2359
+ const t = ua.get("userProfile"), a = t && typeof t == "object" ? t : {};
2360
+ return console.log("::STORYBOOK:: gateWayUrl", a), a.gatewaypath ? a.gatewaypath : "/unifyd-gateway/api";
2361
+ } catch (t) {
2362
+ return console.warn("Error reading gateway URL from profile", t), "/unifyd-gateway/api";
2363
2363
  }
2364
2364
  }
2365
2365
  function $e() {
2366
- return `${vt()}${jn()}`;
2366
+ const t = vt().replace(/\/$/, ""), a = Vn().replace(/^\//, ""), s = `${t}/${a}`, i = ua.get("userProfile");
2367
+ return console.log("::STORYBOOK:: gatewayBase", s, i), s;
2367
2368
  }
2368
2369
  function ha() {
2369
2370
  return `${$e()}/unifyedstudioutility/commonutility/users/list?sortkey=firstName&sortorder=false&page=0&size=999&onlineusersonly=false`;
@@ -2383,13 +2384,13 @@ function fa() {
2383
2384
  function Nt() {
2384
2385
  return `${$e()}/unifyed-mydrive/v2`;
2385
2386
  }
2386
- function _n() {
2387
+ function jn() {
2387
2388
  return `${Nt()}/directory/permissions`;
2388
2389
  }
2389
- function Un() {
2390
+ function _n() {
2390
2391
  return `${Nt()}/file/permissions`;
2391
2392
  }
2392
- function Ml() {
2393
+ function Ol() {
2393
2394
  return Object.freeze({
2394
2395
  REACT_APP_BASE_URL: vt(),
2395
2396
  GATEWAY_BASE: $e(),
@@ -2399,11 +2400,11 @@ function Ml() {
2399
2400
  RBAC_BASE: ba(),
2400
2401
  SEARCH_ROLES_API: fa(),
2401
2402
  MY_DRIVE_GATEWAY_BASE_v2: Nt(),
2402
- DIRECTORY_PERMISSIONS_API: _n(),
2403
- FILE_PERMISSIONS_API: Un()
2403
+ DIRECTORY_PERMISSIONS_API: jn(),
2404
+ FILE_PERMISSIONS_API: _n()
2404
2405
  });
2405
2406
  }
2406
- function Gn(t) {
2407
+ function Un(t) {
2407
2408
  try {
2408
2409
  const a = localStorage.getItem(t);
2409
2410
  return a ? JSON.parse(a) : null;
@@ -2412,7 +2413,7 @@ function Gn(t) {
2412
2413
  }
2413
2414
  }
2414
2415
  function It() {
2415
- const t = Gn("userProfile") || {}, a = localStorage.getItem("access_token") || t.accessToken || "", s = localStorage.getItem("siteId") || t.siteId || "", i = t.tenant || "", l = t.tenantdomain || "", h = t.username || t.displayName || "", o = t.email || "";
2416
+ const t = Un("userProfile") || {}, a = localStorage.getItem("access_token") || t.accessToken || "", s = localStorage.getItem("siteId") || t.siteId || "", i = t.tenant || "", l = t.tenantdomain || "", h = t.username || t.displayName || "", o = t.email || "";
2416
2417
  return {
2417
2418
  Authorization: a ? `Bearer ${a}` : void 0,
2418
2419
  "x-tenant-id": i || void 0,
@@ -2423,7 +2424,7 @@ function It() {
2423
2424
  "x-user-email": o || void 0
2424
2425
  };
2425
2426
  }
2426
- function qn(t) {
2427
+ function Gn(t) {
2427
2428
  if (t && t.isAxiosError) {
2428
2429
  const { response: a, config: s, message: i } = t, l = a?.status ?? null, h = a?.statusText ?? null, o = a?.data ?? null, p = typeof o == "string" && o || o?.message || o?.msg || o?.error || o?.errors?.[0]?.message || null;
2429
2430
  return {
@@ -2451,7 +2452,7 @@ function qn(t) {
2451
2452
  request: null
2452
2453
  };
2453
2454
  }
2454
- function Yn({
2455
+ function qn({
2455
2456
  enableAuthRedirect: t = !0,
2456
2457
  defaultOpenHeaders: a = {}
2457
2458
  } = {}) {
@@ -2466,7 +2467,7 @@ function Yn({
2466
2467
  message: v?.statusText || "Request succeeded"
2467
2468
  },
2468
2469
  (v) => {
2469
- const x = qn(v), r = x.status;
2470
+ const x = Gn(v), r = x.status;
2470
2471
  return t && (r === 401 || r === 403) && (window.location.href.includes("/login") || (window.historyPath = window.location.pathname, localStorage.clear(), sessionStorage.clear(), window.location.href = "/login")), Promise.reject(x);
2471
2472
  }
2472
2473
  );
@@ -2508,7 +2509,7 @@ function Yn({
2508
2509
  axiosPatch: g
2509
2510
  };
2510
2511
  }
2511
- const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll = Ee.axiosPut, Bl = Ee.axiosPatch, Vl = Ee.instance, Wn = async (t, a) => {
2512
+ const Ee = qn(), Ze = Ee.axiosGet, Ml = Ee.axiosDelete, bt = Ee.axiosPost, Pl = Ee.axiosPut, Ll = Ee.axiosPatch, Bl = Ee.instance, Yn = async (t, a) => {
2512
2513
  try {
2513
2514
  switch (t) {
2514
2515
  case De.USER: {
@@ -2527,7 +2528,7 @@ const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll =
2527
2528
  } catch (s) {
2528
2529
  console.log("Error searching entities:", s);
2529
2530
  }
2530
- }, Jn = (t) => t.filter((a) => !!a?.email).map((a) => {
2531
+ }, Wn = (t) => t.filter((a) => !!a?.email).map((a) => {
2531
2532
  const s = (a?.firstName ?? "").trim(), i = (a?.lastName ?? "").trim(), l = `${s} ${i}`.trim() || (a.email?.split("@")[0] ?? "Unknown");
2532
2533
  return {
2533
2534
  id: a.email,
@@ -2591,7 +2592,7 @@ const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll =
2591
2592
  const l = s.data;
2592
2593
  Array.isArray(l) ? i = l : typeof l == "string" && (i = Ot(l.trim()));
2593
2594
  }
2594
- return Jn(i);
2595
+ return Wn(i);
2595
2596
  }
2596
2597
  }, wt = (t, a) => {
2597
2598
  const [s, i] = P(t);
@@ -2607,7 +2608,7 @@ const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll =
2607
2608
  [t, a]
2608
2609
  // Only re-call effect if value or delay changes
2609
2610
  ), s;
2610
- }, Xn = ({
2611
+ }, Jn = ({
2611
2612
  users: t = [],
2612
2613
  groups: a = [],
2613
2614
  roles: s = [],
@@ -2653,9 +2654,9 @@ const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll =
2653
2654
  ], Pt = [
2654
2655
  { id: 1, name: $t.View, icon: Qa },
2655
2656
  { id: 2, name: $t.Manage, icon: Ha }
2656
- ], Qn = Ya().shape({
2657
+ ], Xn = Ya().shape({
2657
2658
  pendingInvites: Wa().min(1, "You must add at least one person to invite.")
2658
- }), Hn = ({
2659
+ }), Qn = ({
2659
2660
  entity: t,
2660
2661
  onManage: a,
2661
2662
  onClose: s,
@@ -2673,13 +2674,13 @@ const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll =
2673
2674
  formState: { errors: T, isSubmitting: _ }
2674
2675
  } = Za({
2675
2676
  defaultValues: { pendingInvites: [] },
2676
- resolver: tr(Qn)
2677
+ resolver: tr(Xn)
2677
2678
  }), { fields: A, append: u, remove: C, update: M } = Ka({
2678
2679
  control: U,
2679
2680
  name: "pendingInvites"
2680
2681
  }), O = q("pendingInvites");
2681
2682
  K(() => {
2682
- N.length > 1 ? (E(!0), Wn(g.name, N).then((k) => {
2683
+ N.length > 1 ? (E(!0), Yn(g.name, N).then((k) => {
2683
2684
  y(k);
2684
2685
  }).catch((k) => console.error("Search failed:", k)).finally(() => E(!1))) : (y([]), $(/* @__PURE__ */ new Set()));
2685
2686
  }, [N, g]);
@@ -2775,7 +2776,7 @@ const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll =
2775
2776
  ] }),
2776
2777
  /* @__PURE__ */ n("main", { className: "flex-grow p-4 space-y-6 overflow-y-auto", children: [
2777
2778
  (l === ue.DRIVE || h) && /* @__PURE__ */ e(
2778
- Xn,
2779
+ Jn,
2779
2780
  {
2780
2781
  users: i.users.filter((k) => k.permission !== "remove"),
2781
2782
  groups: i.groups.filter((k) => k.permission !== "remove"),
@@ -3044,7 +3045,7 @@ const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll =
3044
3045
  ] })
3045
3046
  ] }) })
3046
3047
  ] });
3047
- }, Zn = ({
3048
+ }, Hn = ({
3048
3049
  entity: t,
3049
3050
  //entire file or folder details
3050
3051
  onBack: a,
@@ -3209,13 +3210,13 @@ const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll =
3209
3210
  ] }) })
3210
3211
  ] })
3211
3212
  );
3212
- }, Kn = () => /* @__PURE__ */ n("div", { className: "flex items-center gap-4 p-4", children: [
3213
+ }, Zn = () => /* @__PURE__ */ n("div", { className: "flex items-center gap-4 p-4", children: [
3213
3214
  /* @__PURE__ */ e("div", { className: "h-10 w-10 rounded-full bg-gray-200 animate-pulse" }),
3214
3215
  /* @__PURE__ */ n("div", { className: "flex-grow space-y-2", children: [
3215
3216
  /* @__PURE__ */ e("div", { className: "h-4 w-3/5 rounded bg-gray-200 animate-pulse" }),
3216
3217
  /* @__PURE__ */ e("div", { className: "h-3 w-4/5 rounded bg-gray-200 animate-pulse" })
3217
3218
  ] })
3218
- ] }), es = ({
3219
+ ] }), Kn = ({
3219
3220
  entity: t,
3220
3221
  // { id, name, type: "group" | "role" }
3221
3222
  onBack: a,
@@ -3238,7 +3239,7 @@ const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll =
3238
3239
  exit: { opacity: 0, x: -20 }
3239
3240
  }, N = () => l ? (
3240
3241
  // Show 5 skeleton items while loading
3241
- /* @__PURE__ */ e("div", { children: Array.from({ length: 5 }).map((m, y) => /* @__PURE__ */ e(Kn, {}, y)) })
3242
+ /* @__PURE__ */ e("div", { children: Array.from({ length: 5 }).map((m, y) => /* @__PURE__ */ e(Zn, {}, y)) })
3242
3243
  ) : v.length === 0 ? /* @__PURE__ */ n(
3243
3244
  ie.div,
3244
3245
  {
@@ -3326,7 +3327,7 @@ const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll =
3326
3327
  INVITE: "invite",
3327
3328
  MANAGE: "manage",
3328
3329
  MEMBERS: "members"
3329
- }, ts = ({
3330
+ }, es = ({
3330
3331
  existingShares: t = {
3331
3332
  users: [],
3332
3333
  groups: [],
@@ -3378,7 +3379,7 @@ const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll =
3378
3379
  transition: { duration: 0.3, ease: "easeInOut" },
3379
3380
  className: "absolute top-0 left-0 w-full h-full",
3380
3381
  children: /* @__PURE__ */ e(
3381
- Zn,
3382
+ Hn,
3382
3383
  {
3383
3384
  entity: i,
3384
3385
  onBack: T,
@@ -3402,7 +3403,7 @@ const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll =
3402
3403
  transition: { duration: 0.3, ease: "easeInOut" },
3403
3404
  className: "absolute top-0 left-0 w-full h-full",
3404
3405
  children: /* @__PURE__ */ e(
3405
- es,
3406
+ Kn,
3406
3407
  {
3407
3408
  entity: m,
3408
3409
  onBack: T,
@@ -3425,7 +3426,7 @@ const Ee = Yn(), Ze = Ee.axiosGet, Pl = Ee.axiosDelete, bt = Ee.axiosPost, Ll =
3425
3426
  transition: { duration: 0.3, ease: "easeInOut" },
3426
3427
  className: "absolute top-0 left-0 w-full h-full",
3427
3428
  children: /* @__PURE__ */ e(
3428
- Hn,
3429
+ Qn,
3429
3430
  {
3430
3431
  entity: i,
3431
3432
  onManage: Y,
@@ -3638,7 +3639,7 @@ at.defaultProps = {
3638
3639
  getOptionId: (t) => String(t.id),
3639
3640
  getOptionLabel: (t) => t.name
3640
3641
  };
3641
- const jl = ({
3642
+ const Vl = ({
3642
3643
  isOpen: t = !1,
3643
3644
  setIsOpen: a,
3644
3645
  content: s,
@@ -3721,7 +3722,7 @@ const jl = ({
3721
3722
  }
3722
3723
  );
3723
3724
  };
3724
- function as({ listeners: t = {}, attributes: a = {} }) {
3725
+ function ts({ listeners: t = {}, attributes: a = {} }) {
3725
3726
  return /* @__PURE__ */ e(
3726
3727
  "button",
3727
3728
  {
@@ -3735,7 +3736,7 @@ function as({ listeners: t = {}, attributes: a = {} }) {
3735
3736
  }
3736
3737
  );
3737
3738
  }
3738
- function rs({
3739
+ function as({
3739
3740
  node: t,
3740
3741
  depth: a,
3741
3742
  expanded: s,
@@ -3791,7 +3792,7 @@ function rs({
3791
3792
  autoFocus: !0
3792
3793
  }
3793
3794
  ) : /* @__PURE__ */ e("span", { onDoubleClick: () => U(!0), children: t.name }) }),
3794
- /* @__PURE__ */ e(as, { listeners: z, attributes: y }),
3795
+ /* @__PURE__ */ e(ts, { listeners: z, attributes: y }),
3795
3796
  /* @__PURE__ */ e("div", { className: "tv-actions", children: g ? g(t, {
3796
3797
  onCreateChild: () => h?.(t),
3797
3798
  onRename: () => U(!0),
@@ -3801,8 +3802,8 @@ function rs({
3801
3802
  }
3802
3803
  );
3803
3804
  }
3804
- const ns = (t) => String(t.id ?? t._id), ss = (t) => t.parent !== void 0 ? String(t.parent) : t.parentId != null ? String(t.parentId) : "root", ls = (t) => t.name ?? t.label ?? "", is = (t) => Array.isArray(t) && t.some((a) => Array.isArray(a.children));
3805
- function os(t, { rootId: a, getId: s, getParent: i, getName: l }) {
3805
+ const rs = (t) => String(t.id ?? t._id), ns = (t) => t.parent !== void 0 ? String(t.parent) : t.parentId != null ? String(t.parentId) : "root", ss = (t) => t.name ?? t.label ?? "", ls = (t) => Array.isArray(t) && t.some((a) => Array.isArray(a.children));
3806
+ function is(t, { rootId: a, getId: s, getParent: i, getName: l }) {
3806
3807
  const h = /* @__PURE__ */ new Map();
3807
3808
  t.forEach((p) => {
3808
3809
  const g = s(p);
@@ -3820,7 +3821,7 @@ function os(t, { rootId: a, getId: s, getParent: i, getName: l }) {
3820
3821
  g !== a && h.has(g) ? h.get(g).children.push(p) : o.push(p);
3821
3822
  }), { roots: o, byId: h };
3822
3823
  }
3823
- function cs(t, { rootId: a, getId: s, getName: i }) {
3824
+ function os(t, { rootId: a, getId: s, getName: i }) {
3824
3825
  const l = /* @__PURE__ */ new Map();
3825
3826
  function h(p, g) {
3826
3827
  const v = s(p), x = {
@@ -3835,7 +3836,7 @@ function cs(t, { rootId: a, getId: s, getName: i }) {
3835
3836
  return { roots: t.map((p) => h(p, null)), byId: l };
3836
3837
  }
3837
3838
  const Pe = (t) => t.map((a) => ({ ...a, children: Pe(a.children || []) }));
3838
- function ds(t, a) {
3839
+ function cs(t, a) {
3839
3840
  let s = null;
3840
3841
  function i(h) {
3841
3842
  return h.map((o) => {
@@ -3850,7 +3851,7 @@ function ds(t, a) {
3850
3851
  }
3851
3852
  return { newRoots: i(t), removed: s };
3852
3853
  }
3853
- function ms(t, a, s) {
3854
+ function ds(t, a, s) {
3854
3855
  function i(l) {
3855
3856
  return l.map((h) => {
3856
3857
  if (h.id === a)
@@ -3874,13 +3875,13 @@ function ya(t, a, s = null) {
3874
3875
  }
3875
3876
  return null;
3876
3877
  }
3877
- function _l({
3878
+ function jl({
3878
3879
  data: t = [],
3879
3880
  rootId: a = "root",
3880
3881
  title: s = "Folders",
3881
- getId: i = ns,
3882
- getParent: l = ss,
3883
- getName: h = ls,
3882
+ getId: i = rs,
3883
+ getParent: l = ns,
3884
+ getName: h = ss,
3884
3885
  onSelect: o,
3885
3886
  onCreateRoot: p,
3886
3887
  onCreateChild: g,
@@ -3892,7 +3893,7 @@ function _l({
3892
3893
  // ← allow root moves by default now
3893
3894
  indentUnit: y = 24
3894
3895
  }) {
3895
- const { roots: z } = ee(() => is(t) ? cs(t, { rootId: a, getId: i, getName: h }) : os(
3896
+ const { roots: z } = ee(() => ls(t) ? os(t, { rootId: a, getId: i, getName: h }) : is(
3896
3897
  t.map((b) => ({ ...b })),
3897
3898
  { rootId: a, getId: i, getParent: l, getName: h }
3898
3899
  ), [t, a, i, l, h]), [$, D] = P({}), E = H((b) => {
@@ -3940,16 +3941,16 @@ function _l({
3940
3941
  U(Pe(z));
3941
3942
  return;
3942
3943
  }
3943
- const R = Pe(j), { newRoots: V, removed: F } = ds(R, w);
3944
+ const R = Pe(j), { newRoots: V, removed: F } = cs(R, w);
3944
3945
  if (!F) return;
3945
- const G = ms(V, I, F);
3946
+ const G = ds(V, I, F);
3946
3947
  U(G), r?.({ sourceId: w, destParentId: I, newTree: G });
3947
3948
  },
3948
3949
  [j, z, a, m, y, r]
3949
3950
  ), O = H(
3950
3951
  (b, c = 0) => b.map((f) => /* @__PURE__ */ n(ae.Fragment, { children: [
3951
3952
  /* @__PURE__ */ e(
3952
- rs,
3953
+ as,
3953
3954
  {
3954
3955
  node: f,
3955
3956
  depth: c,
@@ -4008,7 +4009,7 @@ function _l({
4008
4009
  function ze(...t) {
4009
4010
  return t.filter(Boolean).join(" ");
4010
4011
  }
4011
- const Ul = ({
4012
+ const _l = ({
4012
4013
  tabs: t = [],
4013
4014
  keepMounted: a = !0,
4014
4015
  orientation: s = "horizontal",
@@ -4037,11 +4038,11 @@ const Ul = ({
4037
4038
  ] })
4038
4039
  ) });
4039
4040
  };
4040
- function Gl(t, a = "YYYY-MM-DD HH:mm:ss") {
4041
+ function Ul(t, a = "YYYY-MM-DD HH:mm:ss") {
4041
4042
  return t ? (t.endsWith("Z") || /[+\-]\d{2}:?\d{2}$/.test(t) ? St.parseZone(t) : St.utc(t)).local().format(a) : null;
4042
4043
  }
4043
4044
  d.string;
4044
- function us({ item: t, data: a, updateHandler: s, validationErrors: i = {} }) {
4045
+ function ms({ item: t, data: a, updateHandler: s, validationErrors: i = {} }) {
4045
4046
  console.log(t);
4046
4047
  const [l, h] = ae.useState(t), [o, p] = ae.useState(() => {
4047
4048
  const r = a && a[t.key] || {};
@@ -4543,7 +4544,7 @@ function us({ item: t, data: a, updateHandler: s, validationErrors: i = {} }) {
4543
4544
  ] }),
4544
4545
  r.fieldtype === "managecollectionlist" && /* @__PURE__ */ n("div", { children: [
4545
4546
  /* @__PURE__ */ e(
4546
- xs,
4547
+ ys,
4547
4548
  {
4548
4549
  endpoints: r.endpoints || {},
4549
4550
  initialData: o[r.key] || r.initialData || [],
@@ -4575,8 +4576,8 @@ function us({ item: t, data: a, updateHandler: s, validationErrors: i = {} }) {
4575
4576
  ] }, N)) })
4576
4577
  ] }) });
4577
4578
  }
4578
- const hs = ({ children: t }) => /* @__PURE__ */ e("div", { className: "flex -space-x-2", children: t });
4579
- function ps({ item: t, data: a, updateHandler: s, validationErrors: i = {} }) {
4579
+ const us = ({ children: t }) => /* @__PURE__ */ e("div", { className: "flex -space-x-2", children: t });
4580
+ function hs({ item: t, data: a, updateHandler: s, validationErrors: i = {} }) {
4580
4581
  console.log(`[DynamicConfig/DataTableRenderer] Component loaded for section: ${t.key}`);
4581
4582
  const [l, h] = P(t), [o, p] = P(null), [g, v] = P(null);
4582
4583
  console.log(`[DataTableRenderer] ${l.key} - Received props:`, { item: t, initialData: a });
@@ -4870,7 +4871,7 @@ function ps({ item: t, data: a, updateHandler: s, validationErrors: i = {} }) {
4870
4871
  ...f.roles || []
4871
4872
  ];
4872
4873
  return /* @__PURE__ */ n("div", { className: "flex items-center gap-2", children: [
4873
- /* @__PURE__ */ e(hs, { children: w.length > 0 ? w.slice(0, 3).map((S, I) => /* @__PURE__ */ e(
4874
+ /* @__PURE__ */ e(us, { children: w.length > 0 ? w.slice(0, 3).map((S, I) => /* @__PURE__ */ e(
4874
4875
  we,
4875
4876
  {
4876
4877
  size: "small",
@@ -5070,7 +5071,7 @@ function ps({ item: t, data: a, updateHandler: s, validationErrors: i = {} }) {
5070
5071
  roles: x[o][g].roles || []
5071
5072
  } : { users: [], groups: [], roles: [] };
5072
5073
  return console.log("[DataTableRenderer] Opening modal with existing data:", u), console.log("[DataTableRenderer] Row data:", x[o]), console.log("[DataTableRenderer] Field name:", g), /* @__PURE__ */ e(
5073
- ts,
5074
+ es,
5074
5075
  {
5075
5076
  isOpen: !0,
5076
5077
  onClose: () => {
@@ -5084,21 +5085,21 @@ function ps({ item: t, data: a, updateHandler: s, validationErrors: i = {} }) {
5084
5085
  })()
5085
5086
  ] });
5086
5087
  }
5087
- const gs = ({ item: t }) => /* @__PURE__ */ n("div", { className: "p-3 rounded-xl border border-dashed text-sm opacity-70", children: [
5088
+ const ps = ({ item: t }) => /* @__PURE__ */ n("div", { className: "p-3 rounded-xl border border-dashed text-sm opacity-70", children: [
5088
5089
  "Unknown type:",
5089
5090
  " ",
5090
5091
  /* @__PURE__ */ e("span", { className: "font-mono", children: String(t?.type ?? "N/A") })
5091
5092
  ] }), Ke = /* @__PURE__ */ Object.create(null);
5092
- Ke.section = us;
5093
- Ke.datatable = ps;
5094
- function bs(t) {
5093
+ Ke.section = ms;
5094
+ Ke.datatable = hs;
5095
+ function gs(t) {
5095
5096
  return typeof t == "string" ? t.trim() : t && typeof t == "object" ? String(t.type || "").trim() : "";
5096
5097
  }
5097
- function fs(t) {
5098
- const a = bs(t);
5099
- return Ke[a] || Ke[a.toLowerCase?.()] || gs;
5098
+ function bs(t) {
5099
+ const a = gs(t);
5100
+ return Ke[a] || Ke[a.toLowerCase?.()] || ps;
5100
5101
  }
5101
- function ys({
5102
+ function fs({
5102
5103
  appid: t,
5103
5104
  configdata: a = null,
5104
5105
  disableApi: s = !1,
@@ -5318,7 +5319,7 @@ function ys({
5318
5319
  children: [
5319
5320
  N && /* @__PURE__ */ e("div", { className: "flex justify-center items-center h-64", children: /* @__PURE__ */ e(oa, { size: "large" }) }),
5320
5321
  !N && O?.map((b, c) => {
5321
- const f = fs(b.type);
5322
+ const f = bs(b.type);
5322
5323
  if (f && f !== "UnknownType")
5323
5324
  return /* @__PURE__ */ e(
5324
5325
  f,
@@ -5358,7 +5359,7 @@ function ys({
5358
5359
  ] })
5359
5360
  ] });
5360
5361
  }
5361
- const ql = ({
5362
+ const Gl = ({
5362
5363
  config: t,
5363
5364
  appid: a = "Configuration-Page",
5364
5365
  disableApi: s = !1,
@@ -5470,7 +5471,7 @@ const ql = ({
5470
5471
  configuration: m
5471
5472
  }), [m]), T = ee(() => [
5472
5473
  { label: "Overview", content: A(Y) },
5473
- i && { label: "Configuration", content: /* @__PURE__ */ e(ys, { appid: a, configdata: q, disableApi: s, onSave: E, onShowCancelModal: $, onCancel: L }) }
5474
+ i && { label: "Configuration", content: /* @__PURE__ */ e(fs, { appid: a, configdata: q, disableApi: s, onSave: E, onShowCancelModal: $, onCancel: L }) }
5474
5475
  ].filter(Boolean), [a, q, s, E, $, L, Y]);
5475
5476
  function _(u) {
5476
5477
  return u ? u.includes("<svg") ? /* @__PURE__ */ e("div", { dangerouslySetInnerHTML: { __html: u } }) : u : "📱";
@@ -5560,7 +5561,7 @@ const ql = ({
5560
5561
  }
5561
5562
  )
5562
5563
  ] });
5563
- }, xs = ({
5564
+ }, ys = ({
5564
5565
  className: t = "",
5565
5566
  onCollectionChange: a,
5566
5567
  showSearch: s = !0,
@@ -5755,7 +5756,7 @@ const ql = ({
5755
5756
  }) })
5756
5757
  ] });
5757
5758
  };
5758
- function Yl({ children: t }) {
5759
+ function ql({ children: t }) {
5759
5760
  return /* @__PURE__ */ n(te, { children: [
5760
5761
  t,
5761
5762
  /* @__PURE__ */ e(
@@ -5824,7 +5825,7 @@ const Lt = () => {
5824
5825
  },
5825
5826
  { ...Me, ...s }
5826
5827
  )
5827
- }, Wl = ({
5828
+ }, Yl = ({
5828
5829
  heading: t = "Data Grid",
5829
5830
  subheading: a = "",
5830
5831
  totalCount: s = 0,
@@ -6010,7 +6011,7 @@ const Lt = () => {
6010
6011
  ] })
6011
6012
  ] });
6012
6013
  };
6013
- function Jl(t) {
6014
+ function Wl(t) {
6014
6015
  const {
6015
6016
  data: a = [],
6016
6017
  totalCount: s = 0,
@@ -6256,7 +6257,7 @@ const de = (t) => {
6256
6257
  title: "text-lg",
6257
6258
  meta: "text-sm"
6258
6259
  }
6259
- }, vs = (t, a) => typeof a == "function" ? a(t) : typeof a == "string" && t?.[a] != null ? t[a] : t?._id ?? t?.id ?? t?.instanceId ?? t?.legacyId ?? t?.key ?? null;
6260
+ }, xs = (t, a) => typeof a == "function" ? a(t) : typeof a == "string" && t?.[a] != null ? t[a] : t?._id ?? t?.id ?? t?.instanceId ?? t?.legacyId ?? t?.key ?? null;
6260
6261
  function oe({
6261
6262
  children: t,
6262
6263
  className: a = "",
@@ -6268,7 +6269,7 @@ function oe({
6268
6269
  details: o = {},
6269
6270
  ...p
6270
6271
  }) {
6271
- const g = He(), v = vs(p, h), x = (N) => {
6272
+ const g = He(), v = xs(p, h), x = (N) => {
6272
6273
  l?.({
6273
6274
  key: v,
6274
6275
  checked: N.target.checked,
@@ -6304,7 +6305,7 @@ oe.propTypes = {
6304
6305
  identity: d.oneOfType([d.string, d.func]),
6305
6306
  details: d.object
6306
6307
  };
6307
- function Ns({
6308
+ function vs({
6308
6309
  size: t = "md",
6309
6310
  showCheckbox: a = !1,
6310
6311
  checkboxPosition: s = "top-left",
@@ -6388,7 +6389,7 @@ function Ns({
6388
6389
  }
6389
6390
  );
6390
6391
  }
6391
- Ns.propTypes = {
6392
+ vs.propTypes = {
6392
6393
  size: d.string,
6393
6394
  showCheckbox: d.bool,
6394
6395
  checkboxPosition: d.oneOf(["top-left", "top-right"]),
@@ -6402,7 +6403,7 @@ Ns.propTypes = {
6402
6403
  imageUrl: d.string,
6403
6404
  description: d.string
6404
6405
  };
6405
- const ws = "px-2 py-1 rounded-full text-[11px] font-semibold tracking-wide border border-zinc-200 dark:border-zinc-700 bg-white dark:bg-zinc-800 text-zinc-700 dark:text-zinc-200", ks = () => /* @__PURE__ */ e("span", { className: "ml-1 inline-block h-2.5 w-2.5 rounded-full bg-emerald-500 align-middle", "aria-label": "verified" }), Cs = [
6406
+ const Ns = "px-2 py-1 rounded-full text-[11px] font-semibold tracking-wide border border-zinc-200 dark:border-zinc-700 bg-white dark:bg-zinc-800 text-zinc-700 dark:text-zinc-200", ws = () => /* @__PURE__ */ e("span", { className: "ml-1 inline-block h-2.5 w-2.5 rounded-full bg-emerald-500 align-middle", "aria-label": "verified" }), ks = [
6406
6407
  {
6407
6408
  _id: "cm-1",
6408
6409
  name: "All Students",
@@ -6421,13 +6422,13 @@ const ws = "px-2 py-1 rounded-full text-[11px] font-semibold tracking-wide borde
6421
6422
  joined: !0,
6422
6423
  description: "What is Academic Advising? The mission of the Academic Advising Department at..."
6423
6424
  }
6424
- ], zs = {
6425
+ ], Cs = {
6425
6426
  sm: { wrap: "max-w-md", thumb: "h-14 w-14", name: "text-sm", desc: "text-[13px]" },
6426
6427
  md: { wrap: "max-w-3xl", thumb: "h-16 w-16", name: "text-base", desc: "text-sm" },
6427
6428
  lg: { wrap: "w-full", thumb: "h-20 w-20", name: "text-lg", desc: "text-base" }
6428
6429
  // lg occupies full width
6429
6430
  };
6430
- function Ss({
6431
+ function zs({
6431
6432
  size: t = "md",
6432
6433
  showCheckbox: a = !1,
6433
6434
  checkboxPosition: s = "top-left",
@@ -6436,11 +6437,11 @@ function Ss({
6436
6437
  title: h = "Communities",
6437
6438
  activeTab: o = "joined",
6438
6439
  // "joined" | "suggested"
6439
- items: p = Cs,
6440
+ items: p = ks,
6440
6441
  // spread for identity (_id/instanceId/etc)
6441
6442
  ...g
6442
6443
  }) {
6443
- const v = de(t), x = me[v], r = zs[v], N = (m) => `px-1 pb-2 text-sm font-medium ${m === o ? "text-zinc-900 dark:text-zinc-100 border-b-2" : "text-zinc-500 dark:text-zinc-400"}`;
6444
+ const v = de(t), x = me[v], r = Cs[v], N = (m) => `px-1 pb-2 text-sm font-medium ${m === o ? "text-zinc-900 dark:text-zinc-100 border-b-2" : "text-zinc-500 dark:text-zinc-400"}`;
6444
6445
  return /* @__PURE__ */ n(
6445
6446
  oe,
6446
6447
  {
@@ -6490,7 +6491,7 @@ function Ss({
6490
6491
  /* @__PURE__ */ n("div", { className: "min-w-0", children: [
6491
6492
  /* @__PURE__ */ n("div", { className: `flex items-center gap-1 font-semibold ${r.name}`, children: [
6492
6493
  /* @__PURE__ */ e("span", { className: "truncate", children: m.name }),
6493
- /* @__PURE__ */ e(ks, {})
6494
+ /* @__PURE__ */ e(ws, {})
6494
6495
  ] }),
6495
6496
  /* @__PURE__ */ n("div", { className: "flex gap-1 justify-center items-center", children: [
6496
6497
  /* @__PURE__ */ n(yn, { children: [
@@ -6504,7 +6505,7 @@ function Ss({
6504
6505
  " Members"
6505
6506
  ] })
6506
6507
  ] }),
6507
- /* @__PURE__ */ e("div", { className: "mt-2", children: /* @__PURE__ */ e("span", { className: ws, children: m.category }) })
6508
+ /* @__PURE__ */ e("div", { className: "mt-2", children: /* @__PURE__ */ e("span", { className: Ns, children: m.category }) })
6508
6509
  ] }),
6509
6510
  m.joined && /* @__PURE__ */ e(
6510
6511
  "span",
@@ -6543,7 +6544,7 @@ function Ss({
6543
6544
  }
6544
6545
  );
6545
6546
  }
6546
- Ss.propTypes = {
6547
+ zs.propTypes = {
6547
6548
  size: d.string,
6548
6549
  showCheckbox: d.bool,
6549
6550
  checkboxPosition: d.oneOf(["top-left", "top-right"]),
@@ -6563,7 +6564,7 @@ Ss.propTypes = {
6563
6564
  })
6564
6565
  )
6565
6566
  };
6566
- const Ds = [
6567
+ const Ss = [
6567
6568
  {
6568
6569
  _id: "nw-1",
6569
6570
  title: "KCC’s 3rd Annual Community & Business Partners Luncheon",
@@ -6588,7 +6589,7 @@ const Ds = [
6588
6589
  thumb: "https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=640&auto=format&fit=crop",
6589
6590
  excerpt: "Community and business partners joined KCC leadership to recognize outstanding collaborations and celebrate student success…"
6590
6591
  }
6591
- ], $s = {
6592
+ ], Ds = {
6592
6593
  sm: {
6593
6594
  wrap: "max-w-md",
6594
6595
  itemThumb: "h-14 w-20",
@@ -6613,18 +6614,18 @@ const Ds = [
6613
6614
  excerpt: "text-sm text-zinc-600 dark:text-zinc-300 line-clamp-2"
6614
6615
  }
6615
6616
  }, Vt = ({ label: t }) => /* @__PURE__ */ e("span", { className: "mt-1 inline-flex items-center rounded-full border border-zinc-300 dark:border-zinc-700 bg-white dark:bg-zinc-900 px-2 py-0.5 text-[11px] font-semibold tracking-wide", children: t });
6616
- function Ts({
6617
+ function $s({
6617
6618
  size: t = "md",
6618
6619
  showCheckbox: a = !1,
6619
6620
  checkboxPosition: s = "top-left",
6620
6621
  onSelect: i,
6621
6622
  identity: l = "_id",
6622
6623
  title: h = "News",
6623
- items: o = Ds,
6624
+ items: o = Ss,
6624
6625
  // spread for identity fields: _id / id / instanceId etc.
6625
6626
  ...p
6626
6627
  }) {
6627
- const g = de(t), v = me[g], x = $s[g];
6628
+ const g = de(t), v = me[g], x = Ds[g];
6628
6629
  return /* @__PURE__ */ n(
6629
6630
  oe,
6630
6631
  {
@@ -6681,7 +6682,7 @@ function Ts({
6681
6682
  }
6682
6683
  );
6683
6684
  }
6684
- Ts.propTypes = {
6685
+ $s.propTypes = {
6685
6686
  size: d.string,
6686
6687
  showCheckbox: d.bool,
6687
6688
  checkboxPosition: d.oneOf(["top-left", "top-right"]),
@@ -6699,7 +6700,7 @@ Ts.propTypes = {
6699
6700
  })
6700
6701
  )
6701
6702
  };
6702
- const As = ["All", "Library", "Restaurant", "Parking", "Bus Stop"], Fs = {
6703
+ const Ts = ["All", "Library", "Restaurant", "Parking", "Bus Stop"], As = {
6703
6704
  sm: {
6704
6705
  wrap: "max-w-md w-full md:w-auto flex-none justify-self-start",
6705
6706
  mapH: "h-48",
@@ -6721,15 +6722,15 @@ const As = ["All", "Library", "Restaurant", "Parking", "Bus Stop"], Fs = {
6721
6722
  searchH: "h-11 text-base",
6722
6723
  chipGap: "gap-3.5"
6723
6724
  }
6724
- }, Es = ({ label: t, active: a = !1, size: s = "md", className: i = "" }) => {
6725
+ }, Fs = ({ label: t, active: a = !1, size: s = "md", className: i = "" }) => {
6725
6726
  const l = "inline-flex items-center justify-center whitespace-nowrap rounded-full border transition-colors duration-150 shadow-[0_0.5px_0_rgba(0,0,0,0.04)]", h = {
6726
6727
  sm: "h-8 px-3 text-[11px] font-semibold",
6727
6728
  md: "h-9 px-3.5 text-[13px] font-semibold",
6728
6729
  lg: "h-10 px-4 text-sm font-semibold"
6729
6730
  }, o = a ? "bg-indigo-700 border-indigo-700 text-white" : "bg-white/95 dark:bg-zinc-900/90 border-zinc-300 dark:border-zinc-700 text-zinc-700 dark:text-zinc-200";
6730
6731
  return /* @__PURE__ */ e("span", { className: `${l} ${h[s] ?? h.md} ${o} ${i}`, children: t });
6731
- }, Rs = (t, a = 12) => `https://www.google.com/maps?q=${encodeURIComponent(t)}&z=${a}&output=embed`;
6732
- function Is({
6732
+ }, Es = (t, a = 12) => `https://www.google.com/maps?q=${encodeURIComponent(t)}&z=${a}&output=embed`;
6733
+ function Rs({
6733
6734
  size: t = "md",
6734
6735
  showCheckbox: a = !1,
6735
6736
  checkboxPosition: s = "top-left",
@@ -6737,7 +6738,7 @@ function Is({
6737
6738
  identity: l = "_id",
6738
6739
  title: h = "Campus Map",
6739
6740
  campusName: o = "Morningside Heights Campus",
6740
- filters: p = As,
6741
+ filters: p = Ts,
6741
6742
  activeFilter: g = "All",
6742
6743
  // NEW: iframe controls
6743
6744
  mapQuery: v = "Florida",
@@ -6746,7 +6747,7 @@ function Is({
6746
6747
  // optional full embed URL override
6747
6748
  ...N
6748
6749
  }) {
6749
- const m = de(t), y = me[m], z = Fs[m], $ = r || Rs(v, x);
6750
+ const m = de(t), y = me[m], z = As[m], $ = r || Es(v, x);
6750
6751
  return /* @__PURE__ */ e(
6751
6752
  oe,
6752
6753
  {
@@ -6780,7 +6781,7 @@ function Is({
6780
6781
  /* @__PURE__ */ e("div", { className: "h-8 w-8 rounded-full bg-white/90 border border-zinc-300 flex items-center justify-center", children: "›" })
6781
6782
  ] })
6782
6783
  ] }),
6783
- /* @__PURE__ */ e("div", { className: "absolute left-4 right-4 top-14 md:top-12 pointer-events-none mt-2", children: /* @__PURE__ */ e("div", { className: `flex ${z.chipGap} overflow-x-auto scrollbar-none`, children: p.map((D) => /* @__PURE__ */ e(Es, { label: D, active: D === g, size: m }, D)) }) }),
6784
+ /* @__PURE__ */ e("div", { className: "absolute left-4 right-4 top-14 md:top-12 pointer-events-none mt-2", children: /* @__PURE__ */ e("div", { className: `flex ${z.chipGap} overflow-x-auto scrollbar-none`, children: p.map((D) => /* @__PURE__ */ e(Fs, { label: D, active: D === g, size: m }, D)) }) }),
6784
6785
  /* @__PURE__ */ e("div", { className: "absolute left-4 right-4 top-28 md:top-24 pointer-events-none", children: /* @__PURE__ */ n("div", { className: `flex items-center rounded-full bg-white dark:bg-zinc-900 shadow border border-zinc-200 dark:border-zinc-700 px-4 ${z.searchH}`, children: [
6785
6786
  /* @__PURE__ */ e("svg", { width: "18", height: "18", viewBox: "0 0 24 24", "aria-hidden": "true", className: "opacity-60", children: /* @__PURE__ */ e("path", { fill: "currentColor", d: "M15.5 14h-.79l-.28-.27a6.471 6.471 0 001.48-4.23C15.91 6.01 13.4 3.5 10.45 3.5S5 6.01 5 9.5 7.5 15.5 10.45 15.5c1.61 0 3.09-.59 4.23-1.48l.27.28v.79l4.25 4.25c.41.41 1.07.41 1.48 0s.41-1.07 0-1.48L15.5 14Zm-5.05 0C8.01 14 6 11.99 6 9.5S8.01 5 10.45 5s4.45 2.01 4.45 4.5-2.01 4.5-4.45 4.5Z" }) }),
6786
6787
  /* @__PURE__ */ e("span", { className: "ml-2 text-zinc-500 dark:text-zinc-400", children: "Search places" })
@@ -6789,7 +6790,7 @@ function Is({
6789
6790
  }
6790
6791
  );
6791
6792
  }
6792
- Is.propTypes = {
6793
+ Rs.propTypes = {
6793
6794
  size: d.string,
6794
6795
  showCheckbox: d.bool,
6795
6796
  checkboxPosition: d.oneOf(["top-left", "top-right"]),
@@ -6805,7 +6806,7 @@ Is.propTypes = {
6805
6806
  mapUrl: d.string
6806
6807
  // optional full embed URL override
6807
6808
  };
6808
- const Os = [
6809
+ const Is = [
6809
6810
  {
6810
6811
  _id: "ev-1",
6811
6812
  title: "Warhawk Weekly 10-1: Master the future; Rolling out 'Red'",
@@ -6836,7 +6837,7 @@ const Os = [
6836
6837
  image: "https://images.unsplash.com/photo-1492684223066-81342ee5ff30?q=80&w=1200&auto=format&fit=crop",
6837
6838
  description: ""
6838
6839
  }
6839
- ], Ms = {
6840
+ ], Os = {
6840
6841
  sm: {
6841
6842
  wrap: "max-w-sm w-full",
6842
6843
  listGap: "gap-3",
@@ -6873,11 +6874,11 @@ const Os = [
6873
6874
  showImage: !0,
6874
6875
  compact: !1
6875
6876
  }
6876
- }, Ps = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], xa = (t) => {
6877
+ }, Ms = ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], xa = (t) => {
6877
6878
  const a = new Date(t);
6878
6879
  return {
6879
6880
  day: a.getDate(),
6880
- month: Ps[a.getMonth()] || "",
6881
+ month: Ms[a.getMonth()] || "",
6881
6882
  time: a.toLocaleTimeString([], { hour: "2-digit", minute: "2-digit" })
6882
6883
  };
6883
6884
  };
@@ -6905,7 +6906,7 @@ function jt({ ev: t, sizeMeta: a, isSelected: s, onClick: i }) {
6905
6906
  }
6906
6907
  );
6907
6908
  }
6908
- function Ls({ ev: t, sizeMeta: a }) {
6909
+ function Ps({ ev: t, sizeMeta: a }) {
6909
6910
  if (!t) return null;
6910
6911
  const { day: s, month: i, time: l } = xa(t.date);
6911
6912
  return /* @__PURE__ */ n("div", { className: "bg-white dark:bg-zinc-900 rounded-lg border border-zinc-200 dark:border-zinc-800 p-6", children: [
@@ -6941,18 +6942,18 @@ function Ls({ ev: t, sizeMeta: a }) {
6941
6942
  a.showDescription && t.description && /* @__PURE__ */ e("div", { className: "mt-4 pt-4 border-t border-zinc-200 dark:border-zinc-800", children: /* @__PURE__ */ e("p", { className: "text-sm text-zinc-700 dark:text-zinc-300 leading-relaxed", children: t.description }) })
6942
6943
  ] });
6943
6944
  }
6944
- function Bs({
6945
+ function Ls({
6945
6946
  size: t = "md",
6946
6947
  showCheckbox: a = !1,
6947
6948
  checkboxPosition: s = "top-left",
6948
6949
  onSelect: i,
6949
6950
  identity: l = "_id",
6950
6951
  title: h = "Upcoming Events",
6951
- events: o = Os,
6952
+ events: o = Is,
6952
6953
  selectedIndex: p = 0,
6953
6954
  ...g
6954
6955
  }) {
6955
- const [v, x] = P(p), r = de(t), N = me[r], m = Ms[r], y = o[v] || o[0], z = (D, E) => {
6956
+ const [v, x] = P(p), r = de(t), N = me[r], m = Os[r], y = o[v] || o[0], z = (D, E) => {
6956
6957
  x(E), i?.(D);
6957
6958
  }, $ = r === "lg";
6958
6959
  return /* @__PURE__ */ n(
@@ -6983,7 +6984,7 @@ function Bs({
6983
6984
  },
6984
6985
  D._id || D.id || E
6985
6986
  )) }),
6986
- /* @__PURE__ */ e(Ls, { ev: y, sizeMeta: m })
6987
+ /* @__PURE__ */ e(Ps, { ev: y, sizeMeta: m })
6987
6988
  ] })
6988
6989
  ) : (
6989
6990
  // Small/Medium: Simple list only
@@ -7003,7 +7004,7 @@ function Bs({
7003
7004
  }
7004
7005
  );
7005
7006
  }
7006
- Bs.propTypes = {
7007
+ Ls.propTypes = {
7007
7008
  size: d.string,
7008
7009
  showCheckbox: d.bool,
7009
7010
  checkboxPosition: d.oneOf(["top-left", "top-right"]),
@@ -7024,7 +7025,7 @@ Bs.propTypes = {
7024
7025
  ),
7025
7026
  selectedIndex: d.number
7026
7027
  };
7027
- const Vs = [
7028
+ const Bs = [
7028
7029
  {
7029
7030
  _id: "mail-1",
7030
7031
  sender: "Sender Name",
@@ -7069,7 +7070,7 @@ const Vs = [
7069
7070
  // pinned: false,
7070
7071
  // important: false,
7071
7072
  // },
7072
- ], js = {
7073
+ ], Vs = {
7073
7074
  sm: {
7074
7075
  wrap: "max-w-sm w-full",
7075
7076
  listGap: "gap-2",
@@ -7107,7 +7108,7 @@ const Vs = [
7107
7108
  searchHeight: "h-10"
7108
7109
  }
7109
7110
  };
7110
- function _s({ email: t, sizeMeta: a, isSelected: s, onClick: i, onStar: l, onPin: h }) {
7111
+ function js({ email: t, sizeMeta: a, isSelected: s, onClick: i, onStar: l, onPin: h }) {
7111
7112
  const o = (g) => {
7112
7113
  g.stopPropagation(), l?.(t);
7113
7114
  }, p = (g) => {
@@ -7156,20 +7157,20 @@ function _s({ email: t, sizeMeta: a, isSelected: s, onClick: i, onStar: l, onPin
7156
7157
  }
7157
7158
  );
7158
7159
  }
7159
- function Us({
7160
+ function _s({
7160
7161
  size: t = "md",
7161
7162
  showCheckbox: a = !1,
7162
7163
  checkboxPosition: s = "top-left",
7163
7164
  onSelect: i,
7164
7165
  identity: l = "_id",
7165
7166
  title: h = "0365 Mails",
7166
- emails: o = Vs,
7167
+ emails: o = Bs,
7167
7168
  selectedIndex: p = 0,
7168
7169
  onStar: g,
7169
7170
  onPin: v,
7170
7171
  ...x
7171
7172
  }) {
7172
- const [r, N] = P(p), m = de(t), y = me[m], z = js[m], $ = (L, j) => {
7173
+ const [r, N] = P(p), m = de(t), y = me[m], z = Vs[m], $ = (L, j) => {
7173
7174
  N(j), i?.(L);
7174
7175
  }, D = (L) => {
7175
7176
  const j = { ...L, starred: !L.starred };
@@ -7192,7 +7193,7 @@ function Us({
7192
7193
  /* @__PURE__ */ e("div", { className: "flex items-center justify-between", children: /* @__PURE__ */ e("h3", { className: `font-semibold text-zinc-900 dark:text-zinc-100 ${y.title}`, children: h }) }),
7193
7194
  /* @__PURE__ */ e(fe, { placeholder: "Type to search..." }),
7194
7195
  /* @__PURE__ */ e("div", { className: "space-y-0", children: o.map((L, j) => /* @__PURE__ */ e(
7195
- _s,
7196
+ js,
7196
7197
  {
7197
7198
  email: L,
7198
7199
  sizeMeta: z,
@@ -7208,7 +7209,7 @@ function Us({
7208
7209
  }
7209
7210
  );
7210
7211
  }
7211
- Us.propTypes = {
7212
+ _s.propTypes = {
7212
7213
  size: d.string,
7213
7214
  showCheckbox: d.bool,
7214
7215
  checkboxPosition: d.oneOf(["top-left", "top-right"]),
@@ -7232,7 +7233,7 @@ Us.propTypes = {
7232
7233
  onStar: d.func,
7233
7234
  onPin: d.func
7234
7235
  };
7235
- const Gs = [
7236
+ const Us = [
7236
7237
  {
7237
7238
  _id: "contact-1",
7238
7239
  name: "Branden Baker",
@@ -7273,7 +7274,7 @@ const Gs = [
7273
7274
  // building: "Security Building",
7274
7275
  // initials: "AM"
7275
7276
  // }
7276
- ], qs = {
7277
+ ], Gs = {
7277
7278
  sm: {
7278
7279
  wrap: "max-w-sm w-full",
7279
7280
  searchHeight: "h-8",
@@ -7343,7 +7344,7 @@ function _t({ contact: t, sizeMeta: a, isSelected: s, onClick: i }) {
7343
7344
  }
7344
7345
  );
7345
7346
  }
7346
- function Ys({ contact: t, sizeMeta: a }) {
7347
+ function qs({ contact: t, sizeMeta: a }) {
7347
7348
  return t ? /* @__PURE__ */ n("div", { className: "bg-white dark:bg-zinc-900 rounded-lg border border-zinc-200 dark:border-zinc-800 p-6 h-full", children: [
7348
7349
  /* @__PURE__ */ n("div", { className: "flex items-center gap-4 mb-6", children: [
7349
7350
  /* @__PURE__ */ e("div", { className: `${a.avatarSize} flex items-center justify-center bg-gradient-to-br from-blue-500 to-blue-600 rounded-full text-white font-semibold ${a.avatarText} shadow-sm`, children: t.initials }),
@@ -7397,7 +7398,7 @@ function Ys({ contact: t, sizeMeta: a }) {
7397
7398
  /* @__PURE__ */ e("p", { className: "text-sm", children: "Select a contact to view details" })
7398
7399
  ] }) });
7399
7400
  }
7400
- function Ws({ sizeMeta: t }) {
7401
+ function Ys({ sizeMeta: t }) {
7401
7402
  return /* @__PURE__ */ n("div", { className: `relative ${t.searchHeight} mb-4`, children: [
7402
7403
  /* @__PURE__ */ e(ft, { className: "absolute left-3 top-1/2 transform -translate-y-1/2 h-4 w-4 text-zinc-400" }),
7403
7404
  /* @__PURE__ */ e(
@@ -7410,18 +7411,18 @@ function Ws({ sizeMeta: t }) {
7410
7411
  )
7411
7412
  ] });
7412
7413
  }
7413
- function Js({
7414
+ function Ws({
7414
7415
  size: t = "md",
7415
7416
  showCheckbox: a = !1,
7416
7417
  checkboxPosition: s = "top-left",
7417
7418
  onSelect: i,
7418
7419
  identity: l = "_id",
7419
7420
  title: h = "Directory",
7420
- contacts: o = Gs,
7421
+ contacts: o = Us,
7421
7422
  selectedIndex: p = 0,
7422
7423
  ...g
7423
7424
  }) {
7424
- const [v, x] = P(p), r = de(t), N = me[r], m = qs[r], y = (D, E) => {
7425
+ const [v, x] = P(p), r = de(t), N = me[r], m = Gs[r], y = (D, E) => {
7425
7426
  x(E), i?.(D);
7426
7427
  }, z = o[v] || o[0], $ = m.layout === "split";
7427
7428
  return /* @__PURE__ */ n(
@@ -7436,7 +7437,7 @@ function Js({
7436
7437
  ...g,
7437
7438
  children: [
7438
7439
  /* @__PURE__ */ e("div", { className: "flex items-center justify-between mb-4", children: /* @__PURE__ */ e("h3", { className: `font-semibold text-zinc-900 dark:text-zinc-100 ${N.title}`, children: h }) }),
7439
- /* @__PURE__ */ e(Ws, { sizeMeta: m }),
7440
+ /* @__PURE__ */ e(Ys, { sizeMeta: m }),
7440
7441
  $ ? /* @__PURE__ */ n("div", { className: "grid grid-cols-1 lg:grid-cols-2 gap-6 min-h-0", children: [
7441
7442
  /* @__PURE__ */ e("div", { className: "space-y-3", children: o.map((D, E) => /* @__PURE__ */ e(
7442
7443
  _t,
@@ -7449,7 +7450,7 @@ function Js({
7449
7450
  D._id || D.id || E
7450
7451
  )) }),
7451
7452
  /* @__PURE__ */ e(
7452
- Ys,
7453
+ qs,
7453
7454
  {
7454
7455
  contact: z,
7455
7456
  sizeMeta: m
@@ -7473,7 +7474,7 @@ function Js({
7473
7474
  }
7474
7475
  );
7475
7476
  }
7476
- Js.propTypes = {
7477
+ Ws.propTypes = {
7477
7478
  size: d.string,
7478
7479
  showCheckbox: d.bool,
7479
7480
  checkboxPosition: d.oneOf(["top-left", "top-right"]),
@@ -7495,7 +7496,7 @@ Js.propTypes = {
7495
7496
  selectedIndex: d.number
7496
7497
  };
7497
7498
  const Te = (t) => new Intl.NumberFormat("en-US", { style: "currency", currency: "USD" }).format(Number(t || 0));
7498
- function Xs({ side: t = "left", date: a, title: s, amount: i, kind: l = "payment" }) {
7499
+ function Js({ side: t = "left", date: a, title: s, amount: i, kind: l = "payment" }) {
7499
7500
  return /* @__PURE__ */ n("div", { className: `rounded-xl border border-zinc-200 dark:border-zinc-800 p-3 ${l === "payment" ? "border-l-4 border-green-500" : "border-l-4 border-rose-500"}`, children: [
7500
7501
  /* @__PURE__ */ e("div", { className: "text-xs text-zinc-500", children: a }),
7501
7502
  /* @__PURE__ */ e("div", { className: "mt-1 text-sm text-zinc-700 dark:text-zinc-200", children: s }),
@@ -7511,7 +7512,7 @@ function Xs({ side: t = "left", date: a, title: s, amount: i, kind: l = "payment
7511
7512
  ] })
7512
7513
  ] });
7513
7514
  }
7514
- const Qs = {
7515
+ const Xs = {
7515
7516
  sm: {
7516
7517
  // was: "max-w-md w-full md:w-auto flex-none justify-self-start"
7517
7518
  wrap: "max-w-md w-auto inline-block align-top flex-none justify-self-start",
@@ -7543,7 +7544,7 @@ const Qs = {
7543
7544
  buttonPad: "py-3.5"
7544
7545
  }
7545
7546
  };
7546
- function Hs({
7547
+ function Qs({
7547
7548
  size: t = "md",
7548
7549
  showCheckbox: a = !1,
7549
7550
  checkboxPosition: s = "top-left",
@@ -7573,7 +7574,7 @@ function Hs({
7573
7574
  ],
7574
7575
  ...r
7575
7576
  }) {
7576
- const N = de(t), m = me[N], y = Qs[N];
7577
+ const N = de(t), m = me[N], y = Xs[N];
7577
7578
  return /* @__PURE__ */ n(
7578
7579
  oe,
7579
7580
  {
@@ -7619,7 +7620,7 @@ function Hs({
7619
7620
  ] })
7620
7621
  ] }),
7621
7622
  /* @__PURE__ */ e("div", { className: "grid grid-cols-1 md:grid-cols-2 gap-4", children: x.slice(0, 2).map((z, $) => /* @__PURE__ */ e(
7622
- Xs,
7623
+ Js,
7623
7624
  {
7624
7625
  side: $ === 0 ? "left" : "right",
7625
7626
  date: z.date,
@@ -7648,7 +7649,7 @@ function Hs({
7648
7649
  }
7649
7650
  );
7650
7651
  }
7651
- Hs.propTypes = {
7652
+ Qs.propTypes = {
7652
7653
  size: d.string,
7653
7654
  showCheckbox: d.bool,
7654
7655
  checkboxPosition: d.oneOf(["top-left", "top-right"]),
@@ -7669,7 +7670,7 @@ Hs.propTypes = {
7669
7670
  })
7670
7671
  )
7671
7672
  };
7672
- const Zs = {
7673
+ const Hs = {
7673
7674
  sm: {
7674
7675
  wrap: "max-w-xs w-full",
7675
7676
  title: "text-base font-semibold",
@@ -7736,7 +7737,7 @@ function Ut({ leave: t, sizeMeta: a }) {
7736
7737
  ] }, i)) })
7737
7738
  ] });
7738
7739
  }
7739
- function Ks({
7740
+ function Zs({
7740
7741
  size: t = "md",
7741
7742
  showCheckbox: a = !1,
7742
7743
  checkboxPosition: s = "top-left",
@@ -7746,7 +7747,7 @@ function Ks({
7746
7747
  term: o = "Fall 2025",
7747
7748
  ...p
7748
7749
  }) {
7749
- const [g, v] = P("vacation"), [x, r] = P(!1), N = de(t), m = me[N], y = Zs[N], z = We.find(($) => $.id === g) || We[0];
7750
+ const [g, v] = P("vacation"), [x, r] = P(!1), N = de(t), m = me[N], y = Hs[N], z = We.find(($) => $.id === g) || We[0];
7750
7751
  return /* @__PURE__ */ n(
7751
7752
  oe,
7752
7753
  {
@@ -7812,7 +7813,7 @@ function Ks({
7812
7813
  }
7813
7814
  );
7814
7815
  }
7815
- Ks.propTypes = {
7816
+ Zs.propTypes = {
7816
7817
  size: d.string,
7817
7818
  showCheckbox: d.bool,
7818
7819
  checkboxPosition: d.oneOf(["top-left", "top-right"]),
@@ -7821,7 +7822,7 @@ Ks.propTypes = {
7821
7822
  title: d.string,
7822
7823
  term: d.string
7823
7824
  };
7824
- const el = [
7825
+ const Ks = [
7825
7826
  {
7826
7827
  id: "admin-files",
7827
7828
  name: "Admin Files",
@@ -7854,7 +7855,7 @@ const el = [
7854
7855
  // icon: Video,
7855
7856
  // color: "text-purple-500"
7856
7857
  // }
7857
- ], tl = [
7858
+ ], el = [
7858
7859
  {
7859
7860
  id: "file-1",
7860
7861
  name: "2024 - Taurus",
@@ -7887,7 +7888,7 @@ const el = [
7887
7888
  icon: dt,
7888
7889
  color: "text-orange-500"
7889
7890
  }
7890
- ], al = {
7891
+ ], tl = {
7891
7892
  sm: {
7892
7893
  wrap: "max-w-xs w-full",
7893
7894
  title: "text-base font-semibold",
@@ -7927,7 +7928,7 @@ function Gt({ item: t, sizeMeta: a, showDate: s = !1 }) {
7927
7928
  /* @__PURE__ */ e(xe, { className: "h-4 w-4 text-zinc-400 group-hover:text-zinc-600 dark:group-hover:text-zinc-300 transition-colors duration-200" })
7928
7929
  ] });
7929
7930
  }
7930
- function rl({
7931
+ function al({
7931
7932
  size: t = "md",
7932
7933
  showCheckbox: a = !1,
7933
7934
  checkboxPosition: s = "top-left",
@@ -7937,7 +7938,7 @@ function rl({
7937
7938
  subtitle: o = "Drive Shared",
7938
7939
  ...p
7939
7940
  }) {
7940
- const [g, v] = P(!1), x = de(t), r = me[x], N = al[x];
7941
+ const [g, v] = P(!1), x = de(t), r = me[x], N = tl[x];
7941
7942
  return /* @__PURE__ */ n(
7942
7943
  oe,
7943
7944
  {
@@ -7975,7 +7976,7 @@ function rl({
7975
7976
  ] })
7976
7977
  ] })
7977
7978
  ] }),
7978
- /* @__PURE__ */ e("div", { className: `grid ${N.gridCols} gap-3 `, children: el.map((m) => /* @__PURE__ */ e(
7979
+ /* @__PURE__ */ e("div", { className: `grid ${N.gridCols} gap-3 `, children: Ks.map((m) => /* @__PURE__ */ e(
7979
7980
  Gt,
7980
7981
  {
7981
7982
  item: m,
@@ -7985,7 +7986,7 @@ function rl({
7985
7986
  )) }),
7986
7987
  N.showRecent && /* @__PURE__ */ n("div", { className: "", children: [
7987
7988
  /* @__PURE__ */ e("h4", { className: `font-semibold text-zinc-900 dark:text-zinc-100 mb-3 ${N.item}`, children: "Recent Files" }),
7988
- /* @__PURE__ */ e("div", { className: "space-y-2", children: tl.map((m) => /* @__PURE__ */ e(
7989
+ /* @__PURE__ */ e("div", { className: "space-y-2", children: el.map((m) => /* @__PURE__ */ e(
7989
7990
  Gt,
7990
7991
  {
7991
7992
  item: m,
@@ -8003,7 +8004,7 @@ function rl({
8003
8004
  }
8004
8005
  );
8005
8006
  }
8006
- rl.propTypes = {
8007
+ al.propTypes = {
8007
8008
  size: d.string,
8008
8009
  showCheckbox: d.bool,
8009
8010
  checkboxPosition: d.oneOf(["top-left", "top-right"]),
@@ -8012,7 +8013,7 @@ rl.propTypes = {
8012
8013
  title: d.string,
8013
8014
  subtitle: d.string
8014
8015
  };
8015
- const nl = [
8016
+ const rl = [
8016
8017
  {
8017
8018
  id: "alert-1",
8018
8019
  type: "warning",
@@ -8049,7 +8050,7 @@ const nl = [
8049
8050
  // read: true,
8050
8051
  // priority: "medium"
8051
8052
  // }
8052
- ], sl = {
8053
+ ], nl = {
8053
8054
  sm: {
8054
8055
  wrap: "max-w-sm w-full",
8055
8056
  title: "text-sm font-semibold",
@@ -8085,7 +8086,7 @@ const nl = [
8085
8086
  if (!a || a === 0) return t;
8086
8087
  const s = t.split(" ");
8087
8088
  return s.length <= a ? t : s.slice(0, a).join(" ") + "...";
8088
- }, ll = (t) => {
8089
+ }, sl = (t) => {
8089
8090
  switch (t) {
8090
8091
  case "warning":
8091
8092
  return Jt;
@@ -8128,8 +8129,8 @@ const nl = [
8128
8129
  };
8129
8130
  }
8130
8131
  };
8131
- function il({ alert: t, sizeMeta: a, onDismiss: s, onMarkRead: i }) {
8132
- const [l, h] = P(!1), o = va(t.type), p = ll(t.type);
8132
+ function ll({ alert: t, sizeMeta: a, onDismiss: s, onMarkRead: i }) {
8133
+ const [l, h] = P(!1), o = va(t.type), p = sl(t.type);
8133
8134
  return l ? null : /* @__PURE__ */ n("div", { className: `relative rounded-lg border-l-4 p-4 transition-all duration-200 ${o.bg} ${o.border} ${t.read ? "border-l-2 opacity-80" : "border-l-4"}`, style: { borderLeftColor: o.accent }, children: [
8134
8135
  /* @__PURE__ */ e(
8135
8136
  "button",
@@ -8152,7 +8153,7 @@ function il({ alert: t, sizeMeta: a, onDismiss: s, onMarkRead: i }) {
8152
8153
  !t.read && /* @__PURE__ */ e("div", { className: "absolute top-3 left-0 w-1 h-1 rounded-full bg-blue-500 transform -translate-x-1/2" })
8153
8154
  ] });
8154
8155
  }
8155
- function ol({ alert: t, onDismiss: a }) {
8156
+ function il({ alert: t, onDismiss: a }) {
8156
8157
  const [s, i] = P(!1), l = va("banner"), h = () => {
8157
8158
  i(!0), a?.(t);
8158
8159
  };
@@ -8172,18 +8173,18 @@ function ol({ alert: t, onDismiss: a }) {
8172
8173
  )
8173
8174
  ] }) });
8174
8175
  }
8175
- function cl({
8176
+ function ol({
8176
8177
  size: t = "md",
8177
8178
  showCheckbox: a = !1,
8178
8179
  checkboxPosition: s = "top-left",
8179
8180
  onSelect: i,
8180
8181
  identity: l = "_id",
8181
8182
  title: h = "Alerts",
8182
- alerts: o = nl,
8183
+ alerts: o = rl,
8183
8184
  showBanner: p = !0,
8184
8185
  ...g
8185
8186
  }) {
8186
- const [v, x] = P(o), r = de(t), N = me[r], m = sl[r], y = (D) => {
8187
+ const [v, x] = P(o), r = de(t), N = me[r], m = nl[r], y = (D) => {
8187
8188
  x((E) => E.filter((L) => L.id !== D.id));
8188
8189
  }, z = v.find((D) => D.type === "banner"), $ = v.filter((D) => D.type !== "banner");
8189
8190
  return /* @__PURE__ */ n(
@@ -8199,14 +8200,14 @@ function cl({
8199
8200
  children: [
8200
8201
  /* @__PURE__ */ e("div", { className: "flex items-center justify-between ", children: /* @__PURE__ */ e("h3", { className: `font-semibold text-zinc-900 dark:text-zinc-100 ${N.title}`, children: h }) }),
8201
8202
  p && z && t !== "sm" && /* @__PURE__ */ e(
8202
- ol,
8203
+ il,
8203
8204
  {
8204
8205
  alert: z,
8205
8206
  onDismiss: y
8206
8207
  }
8207
8208
  ),
8208
8209
  /* @__PURE__ */ e("div", { className: "space-y-0.5", children: $.slice(0, 3).map((D) => /* @__PURE__ */ e(
8209
- il,
8210
+ ll,
8210
8211
  {
8211
8212
  alert: D,
8212
8213
  sizeMeta: m,
@@ -8219,7 +8220,7 @@ function cl({
8219
8220
  }
8220
8221
  );
8221
8222
  }
8222
- cl.propTypes = {
8223
+ ol.propTypes = {
8223
8224
  size: d.string,
8224
8225
  showCheckbox: d.bool,
8225
8226
  checkboxPosition: d.oneOf(["top-left", "top-right"]),
@@ -8239,7 +8240,7 @@ cl.propTypes = {
8239
8240
  ),
8240
8241
  showBanner: d.bool
8241
8242
  };
8242
- const dl = [
8243
+ const cl = [
8243
8244
  {
8244
8245
  id: "video-1",
8245
8246
  title: "ALMA MATER",
@@ -8284,7 +8285,7 @@ const dl = [
8284
8285
  // duration: "2:10",
8285
8286
  // category: "Campus Life"
8286
8287
  // }
8287
- ], ml = {
8288
+ ], dl = {
8288
8289
  sm: {
8289
8290
  wrap: "max-w-sm w-full",
8290
8291
  title: "text-sm font-bold",
@@ -8316,7 +8317,7 @@ const dl = [
8316
8317
  maxTitleLines: 3
8317
8318
  }
8318
8319
  };
8319
- function ul({ video: t, sizeMeta: a }) {
8320
+ function ml({ video: t, sizeMeta: a }) {
8320
8321
  const [s, i] = P(!1);
8321
8322
  return /* @__PURE__ */ n("div", { className: "group cursor-pointer", children: [
8322
8323
  /* @__PURE__ */ n("div", { className: `relative ${a.thumbnailHeight} rounded-lg overflow-hidden bg-zinc-200 dark:bg-zinc-800`, children: [
@@ -8349,17 +8350,17 @@ function ul({ video: t, sizeMeta: a }) {
8349
8350
  ] })
8350
8351
  ] });
8351
8352
  }
8352
- function hl({
8353
+ function ul({
8353
8354
  size: t = "md",
8354
8355
  showCheckbox: a = !1,
8355
8356
  checkboxPosition: s = "top-left",
8356
8357
  onSelect: i,
8357
8358
  identity: l = "_id",
8358
8359
  title: h = "Videos",
8359
- videos: o = dl,
8360
+ videos: o = cl,
8360
8361
  ...p
8361
8362
  }) {
8362
- const [g, v] = P(!1), x = de(t), r = me[x], N = ml[x];
8363
+ const [g, v] = P(!1), x = de(t), r = me[x], N = dl[x];
8363
8364
  return /* @__PURE__ */ n(
8364
8365
  oe,
8365
8366
  {
@@ -8394,7 +8395,7 @@ function hl({
8394
8395
  ] })
8395
8396
  ] }),
8396
8397
  /* @__PURE__ */ e("div", { className: `grid ${N.gridCols} gap-4 `, children: o.slice(0, N.gridCols === "grid-cols-3" ? 6 : 4).map((m) => /* @__PURE__ */ e(
8397
- ul,
8398
+ ml,
8398
8399
  {
8399
8400
  video: m,
8400
8401
  sizeMeta: N
@@ -8409,7 +8410,7 @@ function hl({
8409
8410
  }
8410
8411
  );
8411
8412
  }
8412
- hl.propTypes = {
8413
+ ul.propTypes = {
8413
8414
  size: d.string,
8414
8415
  showCheckbox: d.bool,
8415
8416
  checkboxPosition: d.oneOf(["top-left", "top-right"]),
@@ -8428,82 +8429,82 @@ hl.propTypes = {
8428
8429
  )
8429
8430
  };
8430
8431
  export {
8431
- Hs as AccountSummaryMock,
8432
- Ns as ActivityMock,
8433
- ts as AddUserGroupsRolesModal,
8434
- cl as AlertsMock,
8432
+ Qs as AccountSummaryMock,
8433
+ vs as ActivityMock,
8434
+ es as AddUserGroupsRolesModal,
8435
+ ol as AlertsMock,
8435
8436
  we as Avatar,
8436
8437
  yn as AvatarGroup,
8437
- zl as Badge,
8438
+ Cl as Badge,
8438
8439
  wn as Breadcrumbs,
8439
8440
  xn as Button,
8440
- Is as CampusMapMock,
8441
+ Rs as CampusMapMock,
8441
8442
  mt as Checkbox,
8442
- Ss as CommunitiesMock,
8443
- Jl as CustomDataGrid,
8444
- jl as CustomDialog,
8445
- Wl as CustomGridToolbar,
8446
- Ul as CustomTab,
8443
+ zs as CommunitiesMock,
8444
+ Wl as CustomDataGrid,
8445
+ Vl as CustomDialog,
8446
+ Yl as CustomGridToolbar,
8447
+ _l as CustomTab,
8447
8448
  sa as DatePicker,
8448
8449
  Sn as DateRangePicker,
8449
- Js as DirectoryMock,
8450
- rl as DriveMock,
8451
- ys as DynamicConfig,
8452
- Bs as EventsMock,
8453
- Sl as FileUploadModal,
8454
- ql as FullConfigPage,
8455
- Al as FullScreenLoader,
8456
- Dl as GenericFilter,
8450
+ Ws as DirectoryMock,
8451
+ al as DriveMock,
8452
+ fs as DynamicConfig,
8453
+ Ls as EventsMock,
8454
+ zl as FileUploadModal,
8455
+ Gl as FullConfigPage,
8456
+ Tl as FullScreenLoader,
8457
+ Sl as GenericFilter,
8457
8458
  Ce as IconButton,
8458
8459
  X as Input,
8459
- Ks as LeaveBalanceMock,
8460
- xs as ManageCollectionList,
8460
+ Zs as LeaveBalanceMock,
8461
+ ys as ManageCollectionList,
8461
8462
  Fn as Modal,
8462
8463
  at as MultiSelect,
8463
- Ts as NewsMock,
8464
- Us as O365MailsMock,
8464
+ $s as NewsMock,
8465
+ _s as O365MailsMock,
8465
8466
  Pn as OptionsMenu,
8466
8467
  Mn as PageHeader,
8467
- Rl as PageLayout,
8468
- $l as Pagination,
8468
+ El as PageLayout,
8469
+ Dl as Pagination,
8469
8470
  la as RadioGroup,
8470
8471
  fe as SearchBar,
8471
8472
  pt as Select,
8472
8473
  oe as SelectableCard,
8473
- Tl as Sidebar,
8474
+ $l as Sidebar,
8474
8475
  oa as Spinner,
8475
8476
  ca as Textarea,
8476
- Yl as ToastProvider,
8477
+ ql as ToastProvider,
8477
8478
  da as ToggleSwitch,
8478
- Fl as Tooltip,
8479
- _l as TreeView,
8479
+ Al as Tooltip,
8480
+ jl as TreeView,
8480
8481
  se as UnifyedCoreButton,
8481
- hl as VideosMock,
8482
- El as WizardModal,
8482
+ ul as VideosMock,
8483
+ Fl as WizardModal,
8483
8484
  pa as adGroupsListSearchApi,
8484
- Pl as axiosDelete,
8485
+ Ml as axiosDelete,
8485
8486
  Ze as axiosGet,
8486
- Bl as axiosPatch,
8487
+ Ll as axiosPatch,
8487
8488
  bt as axiosPost,
8488
- Ll as axiosPut,
8489
- Ol as cookies,
8490
- Yn as createHttpClient,
8491
- _n as directoryPermissionsApi,
8492
- Un as filePermissionsApi,
8493
- jn as gateWayUrl,
8489
+ Pl as axiosPut,
8490
+ Il as cookies,
8491
+ qn as createHttpClient,
8492
+ jn as directoryPermissionsApi,
8493
+ _n as filePermissionsApi,
8494
+ Vn as gateWayUrl,
8494
8495
  $e as gatewayBase,
8495
8496
  vt as getBaseUrl,
8496
- Ml as getSnapshot,
8497
- Vl as http,
8498
- Vn as localStore,
8497
+ Ol as getSnapshot,
8498
+ Bl as http,
8499
+ ua as localStore,
8499
8500
  Nt as myDriveGatewayBaseV2,
8500
8501
  de as normalizeSize,
8501
8502
  Ye as notify,
8502
8503
  ga as provisioningBase,
8503
8504
  ba as rbacBase,
8504
8505
  fa as searchRolesApi,
8505
- Il as sessionStore,
8506
+ Rl as sessionStore,
8506
8507
  me as sizeClasses,
8507
- Gl as toBrowserLocalTime,
8508
+ Ul as toBrowserLocalTime,
8508
8509
  ha as userSearchBase
8509
8510
  };