@bluealba/pae-ui-react-core 4.0.1-develop-1260 → 4.0.1-develop-1269

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -16,7 +16,7 @@ import as, { useState as ee, useEffect as ie, useCallback as he, createContext a
16
16
  import lo, { navigateToUrl as Ru } from "single-spa";
17
17
  import * as xa from "react-dom";
18
18
  import Tu from "react-dom";
19
- const W0 = {
19
+ const H0 = {
20
20
  auth: {
21
21
  SESSION_EXPIRED: "platform:auth:session-expired"
22
22
  },
@@ -47,7 +47,7 @@ const W0 = {
47
47
  }, Fr = () => _a(
48
48
  window[Ea],
49
49
  window[Pn]
50
- ), Br = () => Fr()[0].catalog, H0 = () => {
50
+ ), Br = () => Fr()[0].catalog, V0 = () => {
51
51
  const e = Br(), t = he((r) => {
52
52
  window[Ea].next({
53
53
  ...window[Pn],
@@ -713,7 +713,7 @@ const Pa = () => {
713
713
  authUser: e,
714
714
  hasAccess: wt(() => Mu(t), [t])
715
715
  };
716
- }, V0 = () => {
716
+ }, q0 = () => {
717
717
  const { authUser: e } = ls();
718
718
  return !e || e.id === "anon";
719
719
  }, Fu = () => {
@@ -730,7 +730,7 @@ const Pa = () => {
730
730
  }, Bu = (e) => {
731
731
  var t, n;
732
732
  return ((n = (t = Oa(e)) == null ? void 0 : t.ui) == null ? void 0 : n.customProps) ?? {};
733
- }, Uu = (e) => e.replace(/\/+/g, "/"), q0 = (e, t = "only-base-path") => {
733
+ }, Uu = (e) => e.replace(/\/+/g, "/"), z0 = (e, t = "only-base-path") => {
734
734
  const { apiDocs: n, health: r, version: o, changelog: s } = (e == null ? void 0 : e.commonPaths) || {}, i = (a, c = "") => {
735
735
  if (a === void 0 && !c) return;
736
736
  const l = a ?? c;
@@ -745,10 +745,10 @@ const Pa = () => {
745
745
  changelogPath: i(s, "/changelog")
746
746
  };
747
747
  };
748
- function z0() {
748
+ function G0() {
749
749
  window.open(Au, "_self");
750
750
  }
751
- const G0 = (e) => Ru(e), Wu = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z]{2,}$/, Q0 = (e) => Wu.test(e), K0 = (e, t = 2) => {
751
+ const Q0 = (e) => Ru(e), Wu = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z]{2,}$/, K0 = (e) => Wu.test(e), Y0 = (e, t = 2) => {
752
752
  if (!e) return "";
753
753
  const n = e.split(" ");
754
754
  return n.length === 1 ? n.join("").slice(0, t) : n.map((r) => r[0]).join("").slice(0, t);
@@ -822,11 +822,11 @@ typeof window < "u" && (window.PAE = {
822
822
  const Yu = (e) => {
823
823
  const t = typeof e == "string" ? Da(e) : Wr(e == null ? void 0 : e.modules), n = us(t == null ? void 0 : t.name);
824
824
  return n == null ? void 0 : n.icon;
825
- }, Y0 = (e) => {
825
+ }, Zu = (e) => {
826
826
  const t = Wr(e == null ? void 0 : e.modules), n = us(t == null ? void 0 : t.name), [r, o] = ee(!1), [s, i] = ee({}), a = async () => (typeof (n == null ? void 0 : n.menu) == "function" ? await n.menu() : n == null ? void 0 : n.menu) || [], c = async () => {
827
827
  if (!(n != null && n.menu)) return [];
828
828
  o(!0);
829
- const h = Zu((e == null ? void 0 : e.operations) || []), p = (await a()).map((g) => {
829
+ const h = Xu((e == null ? void 0 : e.operations) || []), p = (await a()).map((g) => {
830
830
  const { operations: w, items: m, path: y } = g;
831
831
  if (w != null && w.length && !h(w)) return null;
832
832
  const C = (m || []).filter((x) => {
@@ -845,7 +845,7 @@ const Yu = (e) => {
845
845
  }, [n == null ? void 0 : n.menu]);
846
846
  const d = wt(() => e ? s[e.name] || [] : [], [s, e]);
847
847
  return { loading: r, menu: d };
848
- }, Zu = (e) => (t) => t.every((n) => e.some((r) => r.name === n));
848
+ }, Xu = (e) => (t) => t.every((n) => e.some((r) => r.name === n)), Z0 = (e) => Zu(e);
849
849
  function Y(e) {
850
850
  return e != null && typeof e == "object" && e["@@functional/placeholder"] === !0;
851
851
  }
@@ -912,10 +912,10 @@ function Yn(e, t) {
912
912
  function ei(e) {
913
913
  return Object.prototype.toString.call(e) === "[object Object]";
914
914
  }
915
- var Xu = /* @__PURE__ */ ds(function(t, n, r) {
915
+ var Ju = /* @__PURE__ */ ds(function(t, n, r) {
916
916
  var o = t(n), s = t(r);
917
917
  return o > s ? -1 : o < s ? 1 : 0;
918
- }), Ju = /* @__PURE__ */ ds(function(t, n, r) {
918
+ }), ed = /* @__PURE__ */ ds(function(t, n, r) {
919
919
  var o = {}, s;
920
920
  n = n || {}, r = r || {};
921
921
  for (s in n)
@@ -923,15 +923,15 @@ var Xu = /* @__PURE__ */ ds(function(t, n, r) {
923
923
  for (s in r)
924
924
  Yn(s, r) && !Yn(s, o) && (o[s] = r[s]);
925
925
  return o;
926
- }), ed = /* @__PURE__ */ ds(function e(t, n, r) {
927
- return Ju(function(o, s, i) {
926
+ }), td = /* @__PURE__ */ ds(function e(t, n, r) {
927
+ return ed(function(o, s, i) {
928
928
  return ei(s) && ei(i) ? e(t, s, i) : t(o, s, i);
929
929
  }, n, r);
930
- }), td = /* @__PURE__ */ rt(function(t, n) {
931
- return ed(function(r, o, s) {
930
+ }), nd = /* @__PURE__ */ rt(function(t, n) {
931
+ return td(function(r, o, s) {
932
932
  return s;
933
933
  }, t, n);
934
- }), nd = /* @__PURE__ */ rt(function(t, n) {
934
+ }), rd = /* @__PURE__ */ rt(function(t, n) {
935
935
  return Array.prototype.slice.call(n, 0).sort(function(r, o) {
936
936
  for (var s = 0, i = 0; s === 0 && i < t.length; )
937
937
  s = t[i](r, o), i += 1;
@@ -941,19 +941,19 @@ var Xu = /* @__PURE__ */ ds(function(t, n, r) {
941
941
  const La = () => {
942
942
  const e = Du(), t = zu();
943
943
  return wt(
944
- () => rd(e, t),
944
+ () => od(e, t),
945
945
  [e, t]
946
946
  );
947
- }, rd = (e, t) => nd([Xu(od)], t).find((n) => n.route && e.startsWith(n.route)), od = (e) => {
947
+ }, od = (e, t) => rd([Ju(sd)], t).find((n) => n.route && e.startsWith(n.route)), sd = (e) => {
948
948
  var t;
949
949
  return ((t = e == null ? void 0 : e.route) == null ? void 0 : t.length) || -1;
950
- }, sd = () => {
950
+ }, id = () => {
951
951
  var e;
952
952
  return (e = La()) == null ? void 0 : e.name;
953
- }, Z0 = () => {
953
+ }, X0 = () => {
954
954
  const e = La(), t = Gu(e);
955
955
  return us(t == null ? void 0 : t.name);
956
- }, id = (e, t) => {
956
+ }, ad = (e, t) => {
957
957
  const r = Br().find((o) => o.name === e);
958
958
  if (!r) {
959
959
  if (t) return null;
@@ -961,19 +961,19 @@ const La = () => {
961
961
  }
962
962
  return r.baseUrl;
963
963
  }, Na = (e, t) => {
964
- const n = id(e, !!t) ?? t;
964
+ const n = ad(e, !!t) ?? t;
965
965
  return he((r, o) => {
966
966
  const i = {
967
967
  Accept: "application/json",
968
968
  ...(o == null ? void 0 : o.body) instanceof FormData ? {} : { "Content-Type": "application/json" },
969
969
  ...o == null ? void 0 : o.headers
970
970
  };
971
- return fetch(ad(`${n}${r}`), {
971
+ return fetch(cd(`${n}${r}`), {
972
972
  ...o,
973
973
  headers: i
974
974
  });
975
975
  }, [n]);
976
- }, ad = (e) => e.replace(/\/+/g, "/"), cd = (e, t) => (n) => ({
976
+ }, cd = (e) => e.replace(/\/+/g, "/"), ld = (e, t) => (n) => ({
977
977
  timestamp: new Date((/* @__PURE__ */ new Date()).toUTCString()).toISOString(),
978
978
  module: t.name,
979
979
  moduleVersion: t.version,
@@ -983,7 +983,7 @@ const La = () => {
983
983
  // TODO: design user-sessions (from auth + client side uuid ?)
984
984
  // sessionId: "85ba7265-503d-4815-8b8a-d343725fd134",
985
985
  ...n
986
- }), ld = (e, t, n) => async (r) => {
986
+ }), ud = (e, t, n) => async (r) => {
987
987
  if (r.length === 0)
988
988
  throw new Error("Invalid call to trackEvents with an empty array of events!");
989
989
  const o = await e("/event", {
@@ -991,29 +991,29 @@ const La = () => {
991
991
  headers: {
992
992
  "Content-Type": "application/json"
993
993
  },
994
- body: JSON.stringify(r.map(cd(t, n)))
994
+ body: JSON.stringify(r.map(ld(t, n)))
995
995
  });
996
996
  if (!o.ok)
997
997
  throw new Error(`Error publishing habits event ${o.statusText}`);
998
- }, ud = "@bluealba/pae-habits-service", dd = () => {
999
- const { authUser: e } = ls(), t = Ur(), n = Na(ud);
1000
- return he(ld(n, e, t), [n, e, t]);
1001
- }, X0 = () => {
1002
- const e = dd();
998
+ }, dd = "@bluealba/pae-habits-service", fd = () => {
999
+ const { authUser: e } = ls(), t = Ur(), n = Na(dd);
1000
+ return he(ud(n, e, t), [n, e, t]);
1001
+ }, J0 = () => {
1002
+ const e = fd();
1003
1003
  return he(
1004
1004
  (t, n) => e([{ name: t, data: n }]),
1005
1005
  [e]
1006
1006
  );
1007
- }, fd = (e) => {
1007
+ }, hd = (e) => {
1008
1008
  const t = Ur(), n = window[Sa], [r, o] = ee(null);
1009
1009
  return ie(() => n.defineExtensionPoint(t, e, (s) => {
1010
1010
  o(() => s);
1011
1011
  }), [o]), r;
1012
- }, hd = (e, t, n) => {
1012
+ }, pd = (e, t, n) => {
1013
1013
  ie(() => window[Sa].setExtensionPoint(e, t, n), []);
1014
- }, pd = (e, t) => {
1014
+ }, md = (e, t) => {
1015
1015
  ie(() => (window.addEventListener(e, t), () => window.removeEventListener(e, t)), [e, t]);
1016
- }, md = (e) => {
1016
+ }, gd = (e) => {
1017
1017
  const { cssCustomizationLoadingDelay: t = 1e3 } = Fu();
1018
1018
  ie(() => {
1019
1019
  if (!e) return;
@@ -1022,24 +1022,24 @@ const La = () => {
1022
1022
  n.innerHTML = e, document.head.append(n);
1023
1023
  }, t), () => n && n.remove();
1024
1024
  }, [e]);
1025
- }, gd = (e) => {
1025
+ }, yd = (e) => {
1026
1026
  var t;
1027
1027
  return (t = e.split(/[#?]/)[0].split(".").pop()) == null ? void 0 : t.trim();
1028
- }, yd = {
1028
+ }, vd = {
1029
1029
  woff2: "woff2",
1030
1030
  woff: "woff",
1031
1031
  ttf: "truetype",
1032
1032
  otf: "opentype",
1033
1033
  eot: "embedded-opentype",
1034
1034
  svg: "svg"
1035
- }, vd = (e) => {
1036
- const t = gd(e);
1037
- return t ? yd[t] : void 0;
1038
- }, bd = (e, t) => {
1039
- const n = t ?? vd(e);
1035
+ }, bd = (e) => {
1036
+ const t = yd(e);
1037
+ return t ? vd[t] : void 0;
1038
+ }, wd = (e, t) => {
1039
+ const n = t ?? bd(e);
1040
1040
  return n ? `format(${n})` : "";
1041
1041
  };
1042
- function wd(e) {
1042
+ function Cd(e) {
1043
1043
  const [t, n] = ee(!1);
1044
1044
  return ie(() => {
1045
1045
  if (!(e != null && e.length)) return;
@@ -1050,7 +1050,7 @@ function wd(e) {
1050
1050
  ({ path: c, fontWeight: l, format: d }) => `
1051
1051
  @font-face {
1052
1052
  font-family: "${i}";
1053
- src: url("${c}") ${bd(c, d)};
1053
+ src: url("${c}") ${wd(c, d)};
1054
1054
  font-weight: ${l};
1055
1055
  font-style: normal;
1056
1056
  }
@@ -1257,9 +1257,9 @@ function Ma(e) {
1257
1257
  function ti(e) {
1258
1258
  Qe(e) ? e() : e.unsubscribe();
1259
1259
  }
1260
- var Cd = {
1260
+ var xd = {
1261
1261
  Promise: void 0
1262
- }, xd = {
1262
+ }, Ed = {
1263
1263
  setTimeout: function(e, t) {
1264
1264
  for (var n = [], r = 2; r < arguments.length; r++)
1265
1265
  n[r - 2] = arguments[r];
@@ -1270,8 +1270,8 @@ var Cd = {
1270
1270
  },
1271
1271
  delegate: void 0
1272
1272
  };
1273
- function Ed(e) {
1274
- xd.setTimeout(function() {
1273
+ function Sd(e) {
1274
+ Ed.setTimeout(function() {
1275
1275
  throw e;
1276
1276
  });
1277
1277
  }
@@ -1284,7 +1284,7 @@ var Fa = function(e) {
1284
1284
  Fn(t, e);
1285
1285
  function t(n) {
1286
1286
  var r = e.call(this) || this;
1287
- return r.isStopped = !1, n ? (r.destination = n, Ma(n) && n.add(r)) : r.destination = Rd, r;
1287
+ return r.isStopped = !1, n ? (r.destination = n, Ma(n) && n.add(r)) : r.destination = Td, r;
1288
1288
  }
1289
1289
  return t.create = function(n, r, o) {
1290
1290
  return new Oo(n, r, o);
@@ -1311,7 +1311,7 @@ var Fa = function(e) {
1311
1311
  this.unsubscribe();
1312
1312
  }
1313
1313
  }, t;
1314
- }(Hr), Sd = function() {
1314
+ }(Hr), _d = function() {
1315
1315
  function e(t) {
1316
1316
  this.partialObserver = t;
1317
1317
  }
@@ -1350,29 +1350,29 @@ var Fa = function(e) {
1350
1350
  next: n ?? void 0,
1351
1351
  error: r ?? void 0,
1352
1352
  complete: o ?? void 0
1353
- } : i = n, s.destination = new Sd(i), s;
1353
+ } : i = n, s.destination = new _d(i), s;
1354
1354
  }
1355
1355
  return t;
1356
1356
  }(Fa);
1357
1357
  function Zn(e) {
1358
- Ed(e);
1358
+ Sd(e);
1359
1359
  }
1360
- function _d(e) {
1360
+ function Rd(e) {
1361
1361
  throw e;
1362
1362
  }
1363
- var Rd = {
1363
+ var Td = {
1364
1364
  closed: !0,
1365
1365
  next: ni,
1366
- error: _d,
1366
+ error: Rd,
1367
1367
  complete: ni
1368
- }, Td = function() {
1368
+ }, Ad = function() {
1369
1369
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1370
1370
  }();
1371
- function Ad(e) {
1371
+ function Pd(e) {
1372
1372
  return e;
1373
1373
  }
1374
- function Pd(e) {
1375
- return e.length === 0 ? Ad : e.length === 1 ? e[0] : function(n) {
1374
+ function Od(e) {
1375
+ return e.length === 0 ? Pd : e.length === 1 ? e[0] : function(n) {
1376
1376
  return e.reduce(function(r, o) {
1377
1377
  return o(r);
1378
1378
  }, n);
@@ -1386,7 +1386,7 @@ var ri = function() {
1386
1386
  var n = new e();
1387
1387
  return n.source = this, n.operator = t, n;
1388
1388
  }, e.prototype.subscribe = function(t, n, r) {
1389
- var o = this, s = jd(t) ? t : new Oo(t, n, r);
1389
+ var o = this, s = Dd(t) ? t : new Oo(t, n, r);
1390
1390
  return mr(function() {
1391
1391
  var i = o, a = i.operator, c = i.source;
1392
1392
  s.add(a ? a.call(s, c) : c ? o._subscribe(s) : o._trySubscribe(s));
@@ -1416,12 +1416,12 @@ var ri = function() {
1416
1416
  }, e.prototype._subscribe = function(t) {
1417
1417
  var n;
1418
1418
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1419
- }, e.prototype[Td] = function() {
1419
+ }, e.prototype[Ad] = function() {
1420
1420
  return this;
1421
1421
  }, e.prototype.pipe = function() {
1422
1422
  for (var t = [], n = 0; n < arguments.length; n++)
1423
1423
  t[n] = arguments[n];
1424
- return Pd(t)(this);
1424
+ return Od(t)(this);
1425
1425
  }, e.prototype.toPromise = function(t) {
1426
1426
  var n = this;
1427
1427
  return t = oi(t), new t(function(r, o) {
@@ -1440,15 +1440,15 @@ var ri = function() {
1440
1440
  }();
1441
1441
  function oi(e) {
1442
1442
  var t;
1443
- return (t = e ?? Cd.Promise) !== null && t !== void 0 ? t : Promise;
1443
+ return (t = e ?? xd.Promise) !== null && t !== void 0 ? t : Promise;
1444
1444
  }
1445
- function Od(e) {
1445
+ function jd(e) {
1446
1446
  return e && Qe(e.next) && Qe(e.error) && Qe(e.complete);
1447
1447
  }
1448
- function jd(e) {
1449
- return e && e instanceof Fa || Od(e) && Ma(e);
1448
+ function Dd(e) {
1449
+ return e && e instanceof Fa || jd(e) && Ma(e);
1450
1450
  }
1451
- var Dd = ka(function(e) {
1451
+ var Ld = ka(function(e) {
1452
1452
  return function() {
1453
1453
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1454
1454
  };
@@ -1463,7 +1463,7 @@ var Dd = ka(function(e) {
1463
1463
  return r.operator = n, r;
1464
1464
  }, t.prototype._throwIfClosed = function() {
1465
1465
  if (this.closed)
1466
- throw new Dd();
1466
+ throw new Ld();
1467
1467
  }, t.prototype.next = function(n) {
1468
1468
  var r = this;
1469
1469
  mr(function() {
@@ -1550,7 +1550,7 @@ var Dd = ka(function(e) {
1550
1550
  var r, o;
1551
1551
  return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : $a;
1552
1552
  }, t;
1553
- }(Ba), Ld = function(e) {
1553
+ }(Ba), Nd = function(e) {
1554
1554
  Fn(t, e);
1555
1555
  function t(n) {
1556
1556
  var r = e.call(this) || this;
@@ -1574,11 +1574,11 @@ var Dd = ka(function(e) {
1574
1574
  e.prototype.next.call(this, this._value = n);
1575
1575
  }, t;
1576
1576
  }(Ba);
1577
- const J0 = (e) => {
1578
- const { fontsLoaded: t } = wd(e.fonts);
1579
- md(e.styleSheet);
1577
+ const e2 = (e) => {
1578
+ const { fontsLoaded: t } = Cd(e.fonts);
1579
+ gd(e.styleSheet);
1580
1580
  const n = () => {
1581
- const r = new Ld(!0);
1581
+ const r = new Nd(!0);
1582
1582
  window[So] = r;
1583
1583
  };
1584
1584
  ie(() => {
@@ -1586,10 +1586,10 @@ const J0 = (e) => {
1586
1586
  }, [t]), ie(() => {
1587
1587
  n();
1588
1588
  }, []);
1589
- }, e2 = () => {
1589
+ }, t2 = () => {
1590
1590
  const e = window[So];
1591
1591
  return _a(e, e.getValue() ?? void 0);
1592
- }, jo = "theme", ii = () => document.documentElement.dataset[jo] === "dark" ? "dark" : "light", t2 = () => {
1592
+ }, jo = "theme", ii = () => document.documentElement.dataset[jo] === "dark" ? "dark" : "light", n2 = () => {
1593
1593
  const [e, t] = ee(ii());
1594
1594
  return ie(() => {
1595
1595
  const n = document.documentElement, r = () => t(ii), o = new MutationObserver((s) => {
@@ -1603,14 +1603,14 @@ const J0 = (e) => {
1603
1603
  o.disconnect();
1604
1604
  };
1605
1605
  }, []), e;
1606
- }, n2 = (e) => e !== void 0, r2 = (e) => e !== !0;
1607
- let Nd = { data: "" }, Id = (e) => {
1606
+ }, r2 = (e) => e !== void 0, o2 = (e) => e !== !0;
1607
+ let Id = { data: "" }, kd = (e) => {
1608
1608
  if (typeof window == "object") {
1609
1609
  let t = (e ? e.querySelector("#_goober") : window._goober) || Object.assign(document.createElement("style"), { innerHTML: " ", id: "_goober" });
1610
1610
  return t.nonce = window.__nonce__, t.parentNode || (e || document.head).appendChild(t), t.firstChild;
1611
1611
  }
1612
- return e || Nd;
1613
- }, kd = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, $d = /\/\*[^]*?\*\/| +/g, ai = /\n+/g, ot = (e, t) => {
1612
+ return e || Id;
1613
+ }, $d = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Md = /\/\*[^]*?\*\/| +/g, ai = /\n+/g, ot = (e, t) => {
1614
1614
  let n = "", r = "", o = "";
1615
1615
  for (let s in e) {
1616
1616
  let i = e[s];
@@ -1624,7 +1624,7 @@ let Nd = { data: "" }, Id = (e) => {
1624
1624
  return t;
1625
1625
  }
1626
1626
  return e;
1627
- }, Md = (e, t, n, r, o) => {
1627
+ }, Fd = (e, t, n, r, o) => {
1628
1628
  let s = Ua(e), i = Ve[s] || (Ve[s] = ((c) => {
1629
1629
  let l = 0, d = 11;
1630
1630
  for (; l < c.length; ) d = 101 * d + c.charCodeAt(l++) >>> 0;
@@ -1633,7 +1633,7 @@ let Nd = { data: "" }, Id = (e) => {
1633
1633
  if (!Ve[i]) {
1634
1634
  let c = s !== e ? e : ((l) => {
1635
1635
  let d, h, p = [{}];
1636
- for (; d = kd.exec(l.replace($d, "")); ) d[4] ? p.shift() : d[3] ? (h = d[3].replace(ai, " ").trim(), p.unshift(p[0][h] = p[0][h] || {})) : p[0][d[1]] = d[2].replace(ai, " ").trim();
1636
+ for (; d = $d.exec(l.replace(Md, "")); ) d[4] ? p.shift() : d[3] ? (h = d[3].replace(ai, " ").trim(), p.unshift(p[0][h] = p[0][h] || {})) : p[0][d[1]] = d[2].replace(ai, " ").trim();
1637
1637
  return p[0];
1638
1638
  })(e);
1639
1639
  Ve[i] = ot(o ? { ["@keyframes " + i]: c } : c, n ? "" : "." + i);
@@ -1642,7 +1642,7 @@ let Nd = { data: "" }, Id = (e) => {
1642
1642
  return n && (Ve.g = Ve[i]), ((c, l, d, h) => {
1643
1643
  h ? l.data = l.data.replace(h, c) : l.data.indexOf(c) === -1 && (l.data = d ? c + l.data : l.data + c);
1644
1644
  })(Ve[i], t, r, a), i;
1645
- }, Fd = (e, t, n) => e.reduce((r, o, s) => {
1645
+ }, Bd = (e, t, n) => e.reduce((r, o, s) => {
1646
1646
  let i = t[s];
1647
1647
  if (i && i.call) {
1648
1648
  let a = i(n), c = a && a.props && a.props.className || /^go/.test(a) && a;
@@ -1652,12 +1652,12 @@ let Nd = { data: "" }, Id = (e) => {
1652
1652
  }, "");
1653
1653
  function Vr(e) {
1654
1654
  let t = this || {}, n = e.call ? e(t.p) : e;
1655
- return Md(n.unshift ? n.raw ? Fd(n, [].slice.call(arguments, 1), t.p) : n.reduce((r, o) => Object.assign(r, o && o.call ? o(t.p) : o), {}) : n, Id(t.target), t.g, t.o, t.k);
1655
+ return Fd(n.unshift ? n.raw ? Bd(n, [].slice.call(arguments, 1), t.p) : n.reduce((r, o) => Object.assign(r, o && o.call ? o(t.p) : o), {}) : n, kd(t.target), t.g, t.o, t.k);
1656
1656
  }
1657
1657
  let Wa, Do, Lo;
1658
1658
  Vr.bind({ g: 1 });
1659
1659
  let Ye = Vr.bind({ k: 1 });
1660
- function Bd(e, t, n, r) {
1660
+ function Ud(e, t, n, r) {
1661
1661
  ot.p = t, Wa = e, Do = n, Lo = r;
1662
1662
  }
1663
1663
  function Ct(e, t) {
@@ -1673,7 +1673,7 @@ function Ct(e, t) {
1673
1673
  return o;
1674
1674
  };
1675
1675
  }
1676
- var Ud = (e) => typeof e == "function", Tr = (e, t) => Ud(e) ? e(t) : e, Wd = /* @__PURE__ */ (() => {
1676
+ var Wd = (e) => typeof e == "function", Tr = (e, t) => Wd(e) ? e(t) : e, Hd = /* @__PURE__ */ (() => {
1677
1677
  let e = 0;
1678
1678
  return () => (++e).toString();
1679
1679
  })(), Ha = /* @__PURE__ */ (() => {
@@ -1685,21 +1685,21 @@ var Ud = (e) => typeof e == "function", Tr = (e, t) => Ud(e) ? e(t) : e, Wd = /*
1685
1685
  }
1686
1686
  return e;
1687
1687
  };
1688
- })(), Hd = 20, gr = /* @__PURE__ */ new Map(), Vd = 1e3, ci = (e) => {
1688
+ })(), Vd = 20, gr = /* @__PURE__ */ new Map(), qd = 1e3, ci = (e) => {
1689
1689
  if (gr.has(e)) return;
1690
1690
  let t = setTimeout(() => {
1691
1691
  gr.delete(e), Ht({ type: 4, toastId: e });
1692
- }, Vd);
1692
+ }, qd);
1693
1693
  gr.set(e, t);
1694
- }, qd = (e) => {
1694
+ }, zd = (e) => {
1695
1695
  let t = gr.get(e);
1696
1696
  t && clearTimeout(t);
1697
1697
  }, No = (e, t) => {
1698
1698
  switch (t.type) {
1699
1699
  case 0:
1700
- return { ...e, toasts: [t.toast, ...e.toasts].slice(0, Hd) };
1700
+ return { ...e, toasts: [t.toast, ...e.toasts].slice(0, Vd) };
1701
1701
  case 1:
1702
- return t.toast.id && qd(t.toast.id), { ...e, toasts: e.toasts.map((s) => s.id === t.toast.id ? { ...s, ...t.toast } : s) };
1702
+ return t.toast.id && zd(t.toast.id), { ...e, toasts: e.toasts.map((s) => s.id === t.toast.id ? { ...s, ...t.toast } : s) };
1703
1703
  case 2:
1704
1704
  let { toast: n } = t;
1705
1705
  return e.toasts.find((s) => s.id === n.id) ? No(e, { type: 1, toast: n }) : No(e, { type: 0, toast: n });
@@ -1720,7 +1720,7 @@ var Ud = (e) => typeof e == "function", Tr = (e, t) => Ud(e) ? e(t) : e, Wd = /*
1720
1720
  vr = No(vr, e), yr.forEach((t) => {
1721
1721
  t(vr);
1722
1722
  });
1723
- }, zd = { blank: 4e3, error: 4e3, success: 2e3, loading: 1 / 0, custom: 4e3 }, Gd = (e = {}) => {
1723
+ }, Gd = { blank: 4e3, error: 4e3, success: 2e3, loading: 1 / 0, custom: 4e3 }, Qd = (e = {}) => {
1724
1724
  let [t, n] = ee(vr);
1725
1725
  ie(() => (yr.push(n), () => {
1726
1726
  let o = yr.indexOf(n);
@@ -1728,11 +1728,11 @@ var Ud = (e) => typeof e == "function", Tr = (e, t) => Ud(e) ? e(t) : e, Wd = /*
1728
1728
  }), [t]);
1729
1729
  let r = t.toasts.map((o) => {
1730
1730
  var s, i;
1731
- return { ...e, ...e[o.type], ...o, duration: o.duration || ((s = e[o.type]) == null ? void 0 : s.duration) || (e == null ? void 0 : e.duration) || zd[o.type], style: { ...e.style, ...(i = e[o.type]) == null ? void 0 : i.style, ...o.style } };
1731
+ return { ...e, ...e[o.type], ...o, duration: o.duration || ((s = e[o.type]) == null ? void 0 : s.duration) || (e == null ? void 0 : e.duration) || Gd[o.type], style: { ...e.style, ...(i = e[o.type]) == null ? void 0 : i.style, ...o.style } };
1732
1732
  });
1733
1733
  return { ...t, toasts: r };
1734
- }, Qd = (e, t = "blank", n) => ({ createdAt: Date.now(), visible: !0, type: t, ariaProps: { role: "status", "aria-live": "polite" }, message: e, pauseDuration: 0, ...n, id: (n == null ? void 0 : n.id) || Wd() }), Bn = (e) => (t, n) => {
1735
- let r = Qd(t, e, n);
1734
+ }, Kd = (e, t = "blank", n) => ({ createdAt: Date.now(), visible: !0, type: t, ariaProps: { role: "status", "aria-live": "polite" }, message: e, pauseDuration: 0, ...n, id: (n == null ? void 0 : n.id) || Hd() }), Bn = (e) => (t, n) => {
1735
+ let r = Kd(t, e, n);
1736
1736
  return Ht({ type: 2, toast: r }), r.id;
1737
1737
  }, xe = (e, t) => Bn("blank")(e, t);
1738
1738
  xe.error = Bn("error");
@@ -1749,12 +1749,12 @@ xe.promise = (e, t, n) => {
1749
1749
  xe.error(Tr(t.error, o), { id: r, ...n, ...n == null ? void 0 : n.error });
1750
1750
  }), e;
1751
1751
  };
1752
- var Kd = (e, t) => {
1752
+ var Yd = (e, t) => {
1753
1753
  Ht({ type: 1, toast: { id: e, height: t } });
1754
- }, Yd = () => {
1754
+ }, Zd = () => {
1755
1755
  Ht({ type: 5, time: Date.now() });
1756
- }, Zd = (e) => {
1757
- let { toasts: t, pausedAt: n } = Gd(e);
1756
+ }, Xd = (e) => {
1757
+ let { toasts: t, pausedAt: n } = Qd(e);
1758
1758
  ie(() => {
1759
1759
  if (n) return;
1760
1760
  let s = Date.now(), i = t.map((a) => {
@@ -1776,8 +1776,8 @@ var Kd = (e, t) => {
1776
1776
  let { reverseOrder: a = !1, gutter: c = 8, defaultPosition: l } = i || {}, d = t.filter((g) => (g.position || l) === (s.position || l) && g.height), h = d.findIndex((g) => g.id === s.id), p = d.filter((g, w) => w < h && g.visible).length;
1777
1777
  return d.filter((g) => g.visible).slice(...a ? [p + 1] : [0, p]).reduce((g, w) => g + (w.height || 0) + c, 0);
1778
1778
  }, [t]);
1779
- return { toasts: t, handlers: { updateHeight: Kd, startPause: Yd, endPause: r, calculateOffset: o } };
1780
- }, Xd = Ye`
1779
+ return { toasts: t, handlers: { updateHeight: Yd, startPause: Zd, endPause: r, calculateOffset: o } };
1780
+ }, Jd = Ye`
1781
1781
  from {
1782
1782
  transform: scale(0) rotate(45deg);
1783
1783
  opacity: 0;
@@ -1785,7 +1785,7 @@ from {
1785
1785
  to {
1786
1786
  transform: scale(1) rotate(45deg);
1787
1787
  opacity: 1;
1788
- }`, Jd = Ye`
1788
+ }`, ef = Ye`
1789
1789
  from {
1790
1790
  transform: scale(0);
1791
1791
  opacity: 0;
@@ -1793,7 +1793,7 @@ from {
1793
1793
  to {
1794
1794
  transform: scale(1);
1795
1795
  opacity: 1;
1796
- }`, ef = Ye`
1796
+ }`, tf = Ye`
1797
1797
  from {
1798
1798
  transform: scale(0) rotate(90deg);
1799
1799
  opacity: 0;
@@ -1801,7 +1801,7 @@ from {
1801
1801
  to {
1802
1802
  transform: scale(1) rotate(90deg);
1803
1803
  opacity: 1;
1804
- }`, tf = Ct("div")`
1804
+ }`, nf = Ct("div")`
1805
1805
  width: 20px;
1806
1806
  opacity: 0;
1807
1807
  height: 20px;
@@ -1810,14 +1810,14 @@ to {
1810
1810
  position: relative;
1811
1811
  transform: rotate(45deg);
1812
1812
 
1813
- animation: ${Xd} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1813
+ animation: ${Jd} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1814
1814
  forwards;
1815
1815
  animation-delay: 100ms;
1816
1816
 
1817
1817
  &:after,
1818
1818
  &:before {
1819
1819
  content: '';
1820
- animation: ${Jd} 0.15s ease-out forwards;
1820
+ animation: ${ef} 0.15s ease-out forwards;
1821
1821
  animation-delay: 150ms;
1822
1822
  position: absolute;
1823
1823
  border-radius: 3px;
@@ -1830,18 +1830,18 @@ to {
1830
1830
  }
1831
1831
 
1832
1832
  &:before {
1833
- animation: ${ef} 0.15s ease-out forwards;
1833
+ animation: ${tf} 0.15s ease-out forwards;
1834
1834
  animation-delay: 180ms;
1835
1835
  transform: rotate(90deg);
1836
1836
  }
1837
- `, nf = Ye`
1837
+ `, rf = Ye`
1838
1838
  from {
1839
1839
  transform: rotate(0deg);
1840
1840
  }
1841
1841
  to {
1842
1842
  transform: rotate(360deg);
1843
1843
  }
1844
- `, rf = Ct("div")`
1844
+ `, of = Ct("div")`
1845
1845
  width: 12px;
1846
1846
  height: 12px;
1847
1847
  box-sizing: border-box;
@@ -1849,8 +1849,8 @@ to {
1849
1849
  border-radius: 100%;
1850
1850
  border-color: ${(e) => e.secondary || "#e0e0e0"};
1851
1851
  border-right-color: ${(e) => e.primary || "#616161"};
1852
- animation: ${nf} 1s linear infinite;
1853
- `, of = Ye`
1852
+ animation: ${rf} 1s linear infinite;
1853
+ `, sf = Ye`
1854
1854
  from {
1855
1855
  transform: scale(0) rotate(45deg);
1856
1856
  opacity: 0;
@@ -1858,7 +1858,7 @@ from {
1858
1858
  to {
1859
1859
  transform: scale(1) rotate(45deg);
1860
1860
  opacity: 1;
1861
- }`, sf = Ye`
1861
+ }`, af = Ye`
1862
1862
  0% {
1863
1863
  height: 0;
1864
1864
  width: 0;
@@ -1872,7 +1872,7 @@ to {
1872
1872
  100% {
1873
1873
  opacity: 1;
1874
1874
  height: 10px;
1875
- }`, af = Ct("div")`
1875
+ }`, cf = Ct("div")`
1876
1876
  width: 20px;
1877
1877
  opacity: 0;
1878
1878
  height: 20px;
@@ -1881,13 +1881,13 @@ to {
1881
1881
  position: relative;
1882
1882
  transform: rotate(45deg);
1883
1883
 
1884
- animation: ${of} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1884
+ animation: ${sf} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1885
1885
  forwards;
1886
1886
  animation-delay: 100ms;
1887
1887
  &:after {
1888
1888
  content: '';
1889
1889
  box-sizing: border-box;
1890
- animation: ${sf} 0.2s ease-out forwards;
1890
+ animation: ${af} 0.2s ease-out forwards;
1891
1891
  opacity: 0;
1892
1892
  animation-delay: 200ms;
1893
1893
  position: absolute;
@@ -1899,16 +1899,16 @@ to {
1899
1899
  height: 10px;
1900
1900
  width: 6px;
1901
1901
  }
1902
- `, cf = Ct("div")`
1903
- position: absolute;
1904
1902
  `, lf = Ct("div")`
1903
+ position: absolute;
1904
+ `, uf = Ct("div")`
1905
1905
  position: relative;
1906
1906
  display: flex;
1907
1907
  justify-content: center;
1908
1908
  align-items: center;
1909
1909
  min-width: 20px;
1910
1910
  min-height: 20px;
1911
- `, uf = Ye`
1911
+ `, df = Ye`
1912
1912
  from {
1913
1913
  transform: scale(0.6);
1914
1914
  opacity: 0.4;
@@ -1916,23 +1916,23 @@ from {
1916
1916
  to {
1917
1917
  transform: scale(1);
1918
1918
  opacity: 1;
1919
- }`, df = Ct("div")`
1919
+ }`, ff = Ct("div")`
1920
1920
  position: relative;
1921
1921
  transform: scale(0.6);
1922
1922
  opacity: 0.4;
1923
1923
  min-width: 20px;
1924
- animation: ${uf} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1924
+ animation: ${df} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1925
1925
  forwards;
1926
- `, ff = ({ toast: e }) => {
1926
+ `, hf = ({ toast: e }) => {
1927
1927
  let { icon: t, type: n, iconTheme: r } = e;
1928
- return t !== void 0 ? typeof t == "string" ? f.createElement(df, null, t) : t : n === "blank" ? null : f.createElement(lf, null, f.createElement(rf, { ...r }), n !== "loading" && f.createElement(cf, null, n === "error" ? f.createElement(tf, { ...r }) : f.createElement(af, { ...r })));
1929
- }, hf = (e) => `
1928
+ return t !== void 0 ? typeof t == "string" ? f.createElement(ff, null, t) : t : n === "blank" ? null : f.createElement(uf, null, f.createElement(of, { ...r }), n !== "loading" && f.createElement(lf, null, n === "error" ? f.createElement(nf, { ...r }) : f.createElement(cf, { ...r })));
1929
+ }, pf = (e) => `
1930
1930
  0% {transform: translate3d(0,${e * -200}%,0) scale(.6); opacity:.5;}
1931
1931
  100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
1932
- `, pf = (e) => `
1932
+ `, mf = (e) => `
1933
1933
  0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
1934
1934
  100% {transform: translate3d(0,${e * -150}%,-1px) scale(.6); opacity:0;}
1935
- `, mf = "0%{opacity:0;} 100%{opacity:1;}", gf = "0%{opacity:1;} 100%{opacity:0;}", yf = Ct("div")`
1935
+ `, gf = "0%{opacity:0;} 100%{opacity:1;}", yf = "0%{opacity:1;} 100%{opacity:0;}", vf = Ct("div")`
1936
1936
  display: flex;
1937
1937
  align-items: center;
1938
1938
  background: #fff;
@@ -1944,22 +1944,22 @@ to {
1944
1944
  pointer-events: auto;
1945
1945
  padding: 8px 10px;
1946
1946
  border-radius: 8px;
1947
- `, vf = Ct("div")`
1947
+ `, bf = Ct("div")`
1948
1948
  display: flex;
1949
1949
  justify-content: center;
1950
1950
  margin: 4px 10px;
1951
1951
  color: inherit;
1952
1952
  flex: 1 1 auto;
1953
1953
  white-space: pre-line;
1954
- `, bf = (e, t) => {
1955
- let n = e.includes("top") ? 1 : -1, [r, o] = Ha() ? [mf, gf] : [hf(n), pf(n)];
1954
+ `, wf = (e, t) => {
1955
+ let n = e.includes("top") ? 1 : -1, [r, o] = Ha() ? [gf, yf] : [pf(n), mf(n)];
1956
1956
  return { animation: t ? `${Ye(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards` : `${Ye(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)` };
1957
- }, wf = f.memo(({ toast: e, position: t, style: n, children: r }) => {
1958
- let o = e.height ? bf(e.position || t || "top-center", e.visible) : { opacity: 0 }, s = f.createElement(ff, { toast: e }), i = f.createElement(vf, { ...e.ariaProps }, Tr(e.message, e));
1959
- return f.createElement(yf, { className: e.className, style: { ...o, ...n, ...e.style } }, typeof r == "function" ? r({ icon: s, message: i }) : f.createElement(f.Fragment, null, s, i));
1957
+ }, Cf = f.memo(({ toast: e, position: t, style: n, children: r }) => {
1958
+ let o = e.height ? wf(e.position || t || "top-center", e.visible) : { opacity: 0 }, s = f.createElement(hf, { toast: e }), i = f.createElement(bf, { ...e.ariaProps }, Tr(e.message, e));
1959
+ return f.createElement(vf, { className: e.className, style: { ...o, ...n, ...e.style } }, typeof r == "function" ? r({ icon: s, message: i }) : f.createElement(f.Fragment, null, s, i));
1960
1960
  });
1961
- Bd(f.createElement);
1962
- var Cf = ({ id: e, className: t, style: n, onHeightUpdate: r, children: o }) => {
1961
+ Ud(f.createElement);
1962
+ var xf = ({ id: e, className: t, style: n, onHeightUpdate: r, children: o }) => {
1963
1963
  let s = f.useCallback((i) => {
1964
1964
  if (i) {
1965
1965
  let a = () => {
@@ -1970,19 +1970,19 @@ var Cf = ({ id: e, className: t, style: n, onHeightUpdate: r, children: o }) =>
1970
1970
  }
1971
1971
  }, [e, r]);
1972
1972
  return f.createElement("div", { ref: s, className: t, style: n }, o);
1973
- }, xf = (e, t) => {
1973
+ }, Ef = (e, t) => {
1974
1974
  let n = e.includes("top"), r = n ? { top: 0 } : { bottom: 0 }, o = e.includes("center") ? { justifyContent: "center" } : e.includes("right") ? { justifyContent: "flex-end" } : {};
1975
1975
  return { left: 0, right: 0, display: "flex", position: "absolute", transition: Ha() ? void 0 : "all 230ms cubic-bezier(.21,1.02,.73,1)", transform: `translateY(${t * (n ? 1 : -1)}px)`, ...r, ...o };
1976
- }, Ef = Vr`
1976
+ }, Sf = Vr`
1977
1977
  z-index: 9999;
1978
1978
  > * {
1979
1979
  pointer-events: auto;
1980
1980
  }
1981
- `, Xn = 16, Sf = ({ reverseOrder: e, position: t = "top-center", toastOptions: n, gutter: r, children: o, containerStyle: s, containerClassName: i }) => {
1982
- let { toasts: a, handlers: c } = Zd(n);
1981
+ `, Xn = 16, _f = ({ reverseOrder: e, position: t = "top-center", toastOptions: n, gutter: r, children: o, containerStyle: s, containerClassName: i }) => {
1982
+ let { toasts: a, handlers: c } = Xd(n);
1983
1983
  return f.createElement("div", { style: { position: "fixed", zIndex: 9999, top: Xn, left: Xn, right: Xn, bottom: Xn, pointerEvents: "none", ...s }, className: i, onMouseEnter: c.startPause, onMouseLeave: c.endPause }, a.map((l) => {
1984
- let d = l.position || t, h = c.calculateOffset(l, { reverseOrder: e, gutter: r, defaultPosition: t }), p = xf(d, h);
1985
- return f.createElement(Cf, { id: l.id, key: l.id, onHeightUpdate: c.updateHeight, className: l.visible ? Ef : "", style: p }, l.type === "custom" ? Tr(l.message, l) : o ? o(l) : f.createElement(wf, { toast: l, position: d }));
1984
+ let d = l.position || t, h = c.calculateOffset(l, { reverseOrder: e, gutter: r, defaultPosition: t }), p = Ef(d, h);
1985
+ return f.createElement(xf, { id: l.id, key: l.id, onHeightUpdate: c.updateHeight, className: l.visible ? Sf : "", style: p }, l.type === "custom" ? Tr(l.message, l) : o ? o(l) : f.createElement(Cf, { toast: l, position: d }));
1986
1986
  }));
1987
1987
  }, li = xe;
1988
1988
  const Va = () => ({ notify: he((t, n, r) => {
@@ -2016,7 +2016,7 @@ var bn = class {
2016
2016
  }, Ft = typeof window > "u" || "Deno" in globalThis;
2017
2017
  function de() {
2018
2018
  }
2019
- function _f(e, t) {
2019
+ function Rf(e, t) {
2020
2020
  return typeof e == "function" ? e(t) : e;
2021
2021
  }
2022
2022
  function Io(e) {
@@ -2117,7 +2117,7 @@ function $o(e) {
2117
2117
  function hi(e) {
2118
2118
  return Object.prototype.toString.call(e) === "[object Object]";
2119
2119
  }
2120
- function Rf(e) {
2120
+ function Tf(e) {
2121
2121
  return new Promise((t) => {
2122
2122
  setTimeout(t, e);
2123
2123
  });
@@ -2137,11 +2137,11 @@ function Mo(e, t, n) {
2137
2137
  }
2138
2138
  return t;
2139
2139
  }
2140
- function Tf(e, t, n = 0) {
2140
+ function Af(e, t, n = 0) {
2141
2141
  const r = [...e, t];
2142
2142
  return n && r.length > n ? r.slice(1) : r;
2143
2143
  }
2144
- function Af(e, t, n = 0) {
2144
+ function Pf(e, t, n = 0) {
2145
2145
  const r = [t, ...e];
2146
2146
  return n && r.length > n ? r.slice(0, -1) : r;
2147
2147
  }
@@ -2154,7 +2154,7 @@ function za(e, t) {
2154
2154
  function Ga(e, t) {
2155
2155
  return typeof e == "function" ? e(...t) : !!e;
2156
2156
  }
2157
- var Ot, st, nn, la, Pf = (la = class extends bn {
2157
+ var Ot, st, nn, la, Of = (la = class extends bn {
2158
2158
  constructor() {
2159
2159
  super();
2160
2160
  D(this, Ot);
@@ -2195,7 +2195,7 @@ var Ot, st, nn, la, Pf = (la = class extends bn {
2195
2195
  var t;
2196
2196
  return typeof b(this, Ot) == "boolean" ? b(this, Ot) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
2197
2197
  }
2198
- }, Ot = new WeakMap(), st = new WeakMap(), nn = new WeakMap(), la), hs = new Pf(), rn, it, on, ua, Of = (ua = class extends bn {
2198
+ }, Ot = new WeakMap(), st = new WeakMap(), nn = new WeakMap(), la), hs = new Of(), rn, it, on, ua, jf = (ua = class extends bn {
2199
2199
  constructor() {
2200
2200
  super();
2201
2201
  D(this, rn, !0);
@@ -2229,7 +2229,7 @@ var Ot, st, nn, la, Pf = (la = class extends bn {
2229
2229
  isOnline() {
2230
2230
  return b(this, rn);
2231
2231
  }
2232
- }, rn = new WeakMap(), it = new WeakMap(), on = new WeakMap(), ua), Or = new Of();
2232
+ }, rn = new WeakMap(), it = new WeakMap(), on = new WeakMap(), ua), Or = new jf();
2233
2233
  function Fo() {
2234
2234
  let e, t;
2235
2235
  const n = new Promise((o, s) => {
@@ -2252,7 +2252,7 @@ function Fo() {
2252
2252
  }), t(o);
2253
2253
  }, n;
2254
2254
  }
2255
- function jf(e) {
2255
+ function Df(e) {
2256
2256
  return Math.min(1e3 * 2 ** e, 3e4);
2257
2257
  }
2258
2258
  function Qa(e) {
@@ -2303,12 +2303,12 @@ function Ya(e) {
2303
2303
  var A;
2304
2304
  if (r)
2305
2305
  return;
2306
- const x = e.retry ?? (Ft ? 0 : 3), S = e.retryDelay ?? jf, E = typeof S == "function" ? S(n, C) : S, _ = x === !0 || typeof x == "number" && n < x || typeof x == "function" && x(n, C);
2306
+ const x = e.retry ?? (Ft ? 0 : 3), S = e.retryDelay ?? Df, E = typeof S == "function" ? S(n, C) : S, _ = x === !0 || typeof x == "number" && n < x || typeof x == "function" && x(n, C);
2307
2307
  if (t || !_) {
2308
2308
  p(C);
2309
2309
  return;
2310
2310
  }
2311
- n++, (A = e.onFail) == null || A.call(e, n, C), Rf(E).then(() => l() ? void 0 : g()).then(() => {
2311
+ n++, (A = e.onFail) == null || A.call(e, n, C), Tf(E).then(() => l() ? void 0 : g()).then(() => {
2312
2312
  t ? p(C) : w();
2313
2313
  });
2314
2314
  });
@@ -2323,13 +2323,13 @@ function Ya(e) {
2323
2323
  start: () => (d() ? w() : g().then(w), s)
2324
2324
  };
2325
2325
  }
2326
- var Df = (e) => setTimeout(e, 0);
2327
- function Lf() {
2326
+ var Lf = (e) => setTimeout(e, 0);
2327
+ function Nf() {
2328
2328
  let e = [], t = 0, n = (a) => {
2329
2329
  a();
2330
2330
  }, r = (a) => {
2331
2331
  a();
2332
- }, o = Df;
2332
+ }, o = Lf;
2333
2333
  const s = (a) => {
2334
2334
  t ? e.push(a) : o(() => {
2335
2335
  n(a);
@@ -2383,7 +2383,7 @@ function Lf() {
2383
2383
  }
2384
2384
  };
2385
2385
  }
2386
- var se = Lf(), jt, da, Za = (da = class {
2386
+ var se = Nf(), jt, da, Za = (da = class {
2387
2387
  constructor() {
2388
2388
  D(this, jt);
2389
2389
  }
@@ -2404,7 +2404,7 @@ var se = Lf(), jt, da, Za = (da = class {
2404
2404
  clearGcTimeout() {
2405
2405
  b(this, jt) && (clearTimeout(b(this, jt)), P(this, jt, void 0));
2406
2406
  }
2407
- }, jt = new WeakMap(), da), sn, an, _e, Dt, ae, In, Lt, Re, qe, fa, Nf = (fa = class extends Za {
2407
+ }, jt = new WeakMap(), da), sn, an, _e, Dt, ae, In, Lt, Re, qe, fa, If = (fa = class extends Za {
2408
2408
  constructor(t) {
2409
2409
  super();
2410
2410
  D(this, Re);
@@ -2415,7 +2415,7 @@ var se = Lf(), jt, da, Za = (da = class {
2415
2415
  D(this, ae);
2416
2416
  D(this, In);
2417
2417
  D(this, Lt);
2418
- P(this, Lt, !1), P(this, In, t.defaultOptions), this.setOptions(t.options), this.observers = [], P(this, Dt, t.client), P(this, _e, b(this, Dt).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, P(this, sn, If(this.options)), this.state = t.state ?? b(this, sn), this.scheduleGc();
2418
+ P(this, Lt, !1), P(this, In, t.defaultOptions), this.setOptions(t.options), this.observers = [], P(this, Dt, t.client), P(this, _e, b(this, Dt).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, P(this, sn, kf(this.options)), this.state = t.state ?? b(this, sn), this.scheduleGc();
2419
2419
  }
2420
2420
  get meta() {
2421
2421
  return this.options.meta;
@@ -2680,7 +2680,7 @@ function Xa(e, t) {
2680
2680
  }
2681
2681
  };
2682
2682
  }
2683
- function If(e) {
2683
+ function kf(e) {
2684
2684
  const t = typeof e.initialData == "function" ? e.initialData() : e.initialData, n = t !== void 0, r = n ? typeof e.initialDataUpdatedAt == "function" ? e.initialDataUpdatedAt() : e.initialDataUpdatedAt : 0;
2685
2685
  return {
2686
2686
  data: t,
@@ -2697,7 +2697,7 @@ function If(e) {
2697
2697
  fetchStatus: "idle"
2698
2698
  };
2699
2699
  }
2700
- var Ne, ha, kf = (ha = class extends bn {
2700
+ var Ne, ha, $f = (ha = class extends bn {
2701
2701
  constructor(t = {}) {
2702
2702
  super();
2703
2703
  D(this, Ne);
@@ -2706,7 +2706,7 @@ var Ne, ha, kf = (ha = class extends bn {
2706
2706
  build(t, n, r) {
2707
2707
  const o = n.queryKey, s = n.queryHash ?? fs(o, n);
2708
2708
  let i = this.get(s);
2709
- return i || (i = new Nf({
2709
+ return i || (i = new If({
2710
2710
  client: t,
2711
2711
  queryKey: o,
2712
2712
  queryHash: s,
@@ -2769,7 +2769,7 @@ var Ne, ha, kf = (ha = class extends bn {
2769
2769
  });
2770
2770
  });
2771
2771
  }
2772
- }, Ne = new WeakMap(), ha), Ie, le, Nt, ke, tt, pa, $f = (pa = class extends Za {
2772
+ }, Ne = new WeakMap(), ha), Ie, le, Nt, ke, tt, pa, Mf = (pa = class extends Za {
2773
2773
  constructor(t) {
2774
2774
  super();
2775
2775
  D(this, ke);
@@ -2969,7 +2969,7 @@ function Ja() {
2969
2969
  submittedAt: 0
2970
2970
  };
2971
2971
  }
2972
- var ze, Te, kn, ma, Mf = (ma = class extends bn {
2972
+ var ze, Te, kn, ma, Ff = (ma = class extends bn {
2973
2973
  constructor(t = {}) {
2974
2974
  super();
2975
2975
  D(this, ze);
@@ -2978,7 +2978,7 @@ var ze, Te, kn, ma, Mf = (ma = class extends bn {
2978
2978
  this.config = t, P(this, ze, /* @__PURE__ */ new Set()), P(this, Te, /* @__PURE__ */ new Map()), P(this, kn, 0);
2979
2979
  }
2980
2980
  build(t, n, r) {
2981
- const o = new $f({
2981
+ const o = new Mf({
2982
2982
  mutationCache: this,
2983
2983
  mutationId: ++Kn(this, kn)._,
2984
2984
  options: t.defaultMutationOptions(n),
@@ -3096,14 +3096,14 @@ function pi(e) {
3096
3096
  meta: t.options.meta
3097
3097
  };
3098
3098
  return y(V), V;
3099
- })(), k = await C(T), { maxPages: N } = t.options, L = _ ? Af : Tf;
3099
+ })(), k = await C(T), { maxPages: N } = t.options, L = _ ? Pf : Af;
3100
3100
  return {
3101
3101
  pages: L(S.pages, k, N),
3102
3102
  pageParams: L(S.pageParams, E, N)
3103
3103
  };
3104
3104
  };
3105
3105
  if (o && s.length) {
3106
- const S = o === "backward", E = S ? Ff : mi, _ = {
3106
+ const S = o === "backward", E = S ? Bf : mi, _ = {
3107
3107
  pages: s,
3108
3108
  pageParams: i
3109
3109
  }, A = E(r, _);
@@ -3145,11 +3145,11 @@ function mi(e, { pages: t, pageParams: n }) {
3145
3145
  n
3146
3146
  ) : void 0;
3147
3147
  }
3148
- function Ff(e, { pages: t, pageParams: n }) {
3148
+ function Bf(e, { pages: t, pageParams: n }) {
3149
3149
  var r;
3150
3150
  return t.length > 0 ? (r = e.getPreviousPageParam) == null ? void 0 : r.call(e, t[0], t, n[0], n) : void 0;
3151
3151
  }
3152
- var J, at, ct, cn, ln, lt, un, dn, ga, Bf = (ga = class {
3152
+ var J, at, ct, cn, ln, lt, un, dn, ga, Uf = (ga = class {
3153
3153
  constructor(e = {}) {
3154
3154
  D(this, J);
3155
3155
  D(this, at);
@@ -3159,7 +3159,7 @@ var J, at, ct, cn, ln, lt, un, dn, ga, Bf = (ga = class {
3159
3159
  D(this, lt);
3160
3160
  D(this, un);
3161
3161
  D(this, dn);
3162
- P(this, J, e.queryCache || new kf()), P(this, at, e.mutationCache || new Mf()), P(this, ct, e.defaultOptions || {}), P(this, cn, /* @__PURE__ */ new Map()), P(this, ln, /* @__PURE__ */ new Map()), P(this, lt, 0);
3162
+ P(this, J, e.queryCache || new $f()), P(this, at, e.mutationCache || new Ff()), P(this, ct, e.defaultOptions || {}), P(this, cn, /* @__PURE__ */ new Map()), P(this, ln, /* @__PURE__ */ new Map()), P(this, lt, 0);
3163
3163
  }
3164
3164
  mount() {
3165
3165
  Kn(this, lt)._++, b(this, lt) === 1 && (P(this, un, hs.subscribe(async (e) => {
@@ -3203,7 +3203,7 @@ var J, at, ct, cn, ln, lt, un, dn, ga, Bf = (ga = class {
3203
3203
  setQueryData(e, t, n) {
3204
3204
  const r = this.defaultQueryOptions({ queryKey: e }), o = b(this, J).get(
3205
3205
  r.queryHash
3206
- ), s = o == null ? void 0 : o.state.data, i = _f(t, s);
3206
+ ), s = o == null ? void 0 : o.state.data, i = Rf(t, s);
3207
3207
  if (i !== void 0)
3208
3208
  return b(this, J).build(this, r).setData(i, { ...n, manual: !0 });
3209
3209
  }
@@ -3355,7 +3355,7 @@ var J, at, ct, cn, ln, lt, un, dn, ga, Bf = (ga = class {
3355
3355
  clear() {
3356
3356
  b(this, J).clear(), b(this, at).clear();
3357
3357
  }
3358
- }, J = new WeakMap(), at = new WeakMap(), ct = new WeakMap(), cn = new WeakMap(), ln = new WeakMap(), lt = new WeakMap(), un = new WeakMap(), dn = new WeakMap(), ga), ge, B, $n, ue, It, fn, ut, dt, Mn, hn, pn, kt, $t, ft, mn, z, Tn, Bo, Uo, Wo, Ho, Vo, qo, zo, ec, ya, Uf = (ya = class extends bn {
3358
+ }, J = new WeakMap(), at = new WeakMap(), ct = new WeakMap(), cn = new WeakMap(), ln = new WeakMap(), lt = new WeakMap(), un = new WeakMap(), dn = new WeakMap(), ga), ge, B, $n, ue, It, fn, ut, dt, Mn, hn, pn, kt, $t, ft, mn, z, Tn, Bo, Uo, Wo, Ho, Vo, qo, zo, ec, ya, Wf = (ya = class extends bn {
3359
3359
  constructor(t, n) {
3360
3360
  super();
3361
3361
  D(this, z);
@@ -3429,7 +3429,7 @@ var J, at, ct, cn, ln, lt, un, dn, ga, Bf = (ga = class {
3429
3429
  }
3430
3430
  getOptimisticResult(t) {
3431
3431
  const n = b(this, ge).getQueryCache().build(b(this, ge), t), r = this.createResult(n, t);
3432
- return Hf(this, r) && (P(this, ue, r), P(this, fn, this.options), P(this, It, b(this, B).state)), r;
3432
+ return Vf(this, r) && (P(this, ue, r), P(this, fn, this.options), P(this, It, b(this, B).state)), r;
3433
3433
  }
3434
3434
  getCurrentResult() {
3435
3435
  return b(this, ue);
@@ -3614,11 +3614,11 @@ var J, at, ct, cn, ln, lt, un, dn, ga, Bf = (ga = class {
3614
3614
  });
3615
3615
  });
3616
3616
  }, ya);
3617
- function Wf(e, t) {
3617
+ function Hf(e, t) {
3618
3618
  return Ae(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
3619
3619
  }
3620
3620
  function gi(e, t) {
3621
- return Wf(e, t) || e.state.data !== void 0 && Go(e, t, t.refetchOnMount);
3621
+ return Hf(e, t) || e.state.data !== void 0 && Go(e, t, t.refetchOnMount);
3622
3622
  }
3623
3623
  function Go(e, t, n) {
3624
3624
  if (Ae(t.enabled, e) !== !1 && gt(t.staleTime, e) !== "static") {
@@ -3633,10 +3633,10 @@ function yi(e, t, n, r) {
3633
3633
  function ps(e, t) {
3634
3634
  return Ae(t.enabled, e) !== !1 && e.isStaleByTime(gt(t.staleTime, e));
3635
3635
  }
3636
- function Hf(e, t) {
3636
+ function Vf(e, t) {
3637
3637
  return !Ar(e.getCurrentResult(), t);
3638
3638
  }
3639
- var ht, pt, ye, Ge, Ke, br, Qo, va, Vf = (va = class extends bn {
3639
+ var ht, pt, ye, Ge, Ke, br, Qo, va, qf = (va = class extends bn {
3640
3640
  constructor(n, r) {
3641
3641
  super();
3642
3642
  D(this, Ke);
@@ -3712,14 +3712,14 @@ var ht, pt, ye, Ge, Ke, br, Qo, va, Vf = (va = class extends bn {
3712
3712
  if (!t)
3713
3713
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
3714
3714
  return t;
3715
- }, qf = ({
3715
+ }, zf = ({
3716
3716
  client: e,
3717
3717
  children: t
3718
3718
  }) => (f.useEffect(() => (e.mount(), () => {
3719
3719
  e.unmount();
3720
- }), [e]), /* @__PURE__ */ u.jsx(tc.Provider, { value: e, children: t })), nc = f.createContext(!1), zf = () => f.useContext(nc);
3720
+ }), [e]), /* @__PURE__ */ u.jsx(tc.Provider, { value: e, children: t })), nc = f.createContext(!1), Gf = () => f.useContext(nc);
3721
3721
  nc.Provider;
3722
- function Gf() {
3722
+ function Qf() {
3723
3723
  let e = !1;
3724
3724
  return {
3725
3725
  clearReset: () => {
@@ -3731,39 +3731,39 @@ function Gf() {
3731
3731
  isReset: () => e
3732
3732
  };
3733
3733
  }
3734
- var Qf = f.createContext(Gf()), Kf = () => f.useContext(Qf), Yf = (e, t) => {
3734
+ var Kf = f.createContext(Qf()), Yf = () => f.useContext(Kf), Zf = (e, t) => {
3735
3735
  (e.suspense || e.throwOnError || e.experimental_prefetchInRender) && (t.isReset() || (e.retryOnMount = !1));
3736
- }, Zf = (e) => {
3736
+ }, Xf = (e) => {
3737
3737
  f.useEffect(() => {
3738
3738
  e.clearReset();
3739
3739
  }, [e]);
3740
- }, Xf = ({
3740
+ }, Jf = ({
3741
3741
  result: e,
3742
3742
  errorResetBoundary: t,
3743
3743
  throwOnError: n,
3744
3744
  query: r,
3745
3745
  suspense: o
3746
- }) => e.isError && !t.isReset() && !e.isFetching && r && (o && e.data === void 0 || Ga(n, [e.error, r])), Jf = (e) => {
3746
+ }) => e.isError && !t.isReset() && !e.isFetching && r && (o && e.data === void 0 || Ga(n, [e.error, r])), eh = (e) => {
3747
3747
  if (e.suspense) {
3748
3748
  const t = (r) => r === "static" ? r : Math.max(r ?? 1e3, 1e3), n = e.staleTime;
3749
3749
  e.staleTime = typeof n == "function" ? (...r) => t(n(...r)) : t(n), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, 1e3));
3750
3750
  }
3751
- }, eh = (e, t) => e.isLoading && e.isFetching && !t, th = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, vi = (e, t, n) => t.fetchOptimistic(e).catch(() => {
3751
+ }, th = (e, t) => e.isLoading && e.isFetching && !t, nh = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, vi = (e, t, n) => t.fetchOptimistic(e).catch(() => {
3752
3752
  n.clearReset();
3753
3753
  });
3754
- function nh(e, t, n) {
3754
+ function rh(e, t, n) {
3755
3755
  var h, p, g, w, m;
3756
3756
  if (typeof e != "object" || Array.isArray(e))
3757
3757
  throw new Error(
3758
3758
  'Bad argument type. Starting with v5, only the "Object" form is allowed when calling query related functions. Please use the error stack to find the culprit call. More info here: https://tanstack.com/query/latest/docs/react/guides/migrating-to-v5#supports-a-single-signature-one-object'
3759
3759
  );
3760
- const r = zf(), o = Kf(), s = ms(), i = s.defaultQueryOptions(e);
3760
+ const r = Gf(), o = Yf(), s = ms(), i = s.defaultQueryOptions(e);
3761
3761
  (p = (h = s.getDefaultOptions().queries) == null ? void 0 : h._experimental_beforeQuery) == null || p.call(
3762
3762
  h,
3763
3763
  i
3764
3764
  ), i.queryFn || console.error(
3765
3765
  `[${i.queryHash}]: No queryFn was passed as an option, and no default queryFn was found. The queryFn parameter is only optional when using a default queryFn. More info here: https://tanstack.com/query/latest/docs/framework/react/guides/default-query-function`
3766
- ), i._optimisticResults = r ? "isRestoring" : "optimistic", Jf(i), Yf(i, o), Zf(o);
3766
+ ), i._optimisticResults = r ? "isRestoring" : "optimistic", eh(i), Zf(i, o), Xf(o);
3767
3767
  const a = !s.getQueryCache().get(i.queryHash), [c] = f.useState(
3768
3768
  () => new t(
3769
3769
  s,
@@ -3782,9 +3782,9 @@ function nh(e, t, n) {
3782
3782
  () => c.getCurrentResult()
3783
3783
  ), f.useEffect(() => {
3784
3784
  c.setOptions(i);
3785
- }, [i, c]), th(i, l))
3785
+ }, [i, c]), nh(i, l))
3786
3786
  throw vi(i, c, o);
3787
- if (Xf({
3787
+ if (Jf({
3788
3788
  result: l,
3789
3789
  errorResetBoundary: o,
3790
3790
  throwOnError: i.throwOnError,
@@ -3796,7 +3796,7 @@ function nh(e, t, n) {
3796
3796
  g,
3797
3797
  i,
3798
3798
  l
3799
- ), i.experimental_prefetchInRender && !Ft && eh(l, r)) {
3799
+ ), i.experimental_prefetchInRender && !Ft && th(l, r)) {
3800
3800
  const y = a ? (
3801
3801
  // Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
3802
3802
  vi(i, c, o)
@@ -3811,11 +3811,11 @@ function nh(e, t, n) {
3811
3811
  return i.notifyOnChangeProps ? l : c.trackResult(l);
3812
3812
  }
3813
3813
  function bi(e, t) {
3814
- return nh(e, Uf);
3814
+ return rh(e, Wf);
3815
3815
  }
3816
3816
  function er(e, t) {
3817
3817
  const n = ms(), [r] = f.useState(
3818
- () => new Vf(
3818
+ () => new qf(
3819
3819
  n,
3820
3820
  e
3821
3821
  )
@@ -3857,7 +3857,7 @@ const tr = {
3857
3857
  retryDelay: tr.RETRY_DELAY,
3858
3858
  enable: !0
3859
3859
  // Default to enabled, can be overridden in individual queries
3860
- }, nr = (e) => e instanceof Error ? e.message : String(e), rh = (e, t, n) => {
3860
+ }, nr = (e) => e instanceof Error ? e.message : String(e), oh = (e, t, n) => {
3861
3861
  const r = ms(), { notify: o } = Va(), { createFn: s, readFn: i, readByIdFn: a, updateFn: c, deleteFn: l, partialUpdateFn: d } = n, h = () => {
3862
3862
  r.invalidateQueries({ queryKey: [e] });
3863
3863
  }, p = (E, _, A, T) => o(
@@ -3920,7 +3920,7 @@ const tr = {
3920
3920
  }),
3921
3921
  invalidateQueries: h
3922
3922
  };
3923
- }, s2 = (e, t) => rh(e, t, {
3923
+ }, i2 = (e, t) => oh(e, t, {
3924
3924
  createFn: (n) => fetch(e, {
3925
3925
  method: "POST",
3926
3926
  headers: {
@@ -3950,16 +3950,16 @@ const tr = {
3950
3950
  },
3951
3951
  body: JSON.stringify(r)
3952
3952
  }).then((o) => o.json())
3953
- }), oh = {
3953
+ }), sh = {
3954
3954
  SINGLE_TENANT: "single-tenant"
3955
- }, sh = {
3955
+ }, ih = {
3956
3956
  COOKIE: "cookie"
3957
- }, ho = "tenant", Ci = "tenant", xi = "tenant", ih = oh.SINGLE_TENANT, ah = sh.COOKIE, ch = {
3958
- mode: ih,
3959
- clientSideMode: ah,
3957
+ }, ho = "tenant", Ci = "tenant", xi = "tenant", ah = sh.SINGLE_TENANT, ch = ih.COOKIE, lh = {
3958
+ mode: ah,
3959
+ clientSideMode: ch,
3960
3960
  tenantIDPProvisioningStrategy: "none"
3961
3961
  };
3962
- class lh {
3962
+ class uh {
3963
3963
  setTenant(t, n) {
3964
3964
  const r = new URL(window.location.href);
3965
3965
  r.searchParams.set(Ci, t.name), window.location.href = r.toString();
@@ -3969,7 +3969,7 @@ class lh {
3969
3969
  return new URLSearchParams(t.search).get(Ci);
3970
3970
  }
3971
3971
  }
3972
- class uh {
3972
+ class dh {
3973
3973
  setTenant(t, n) {
3974
3974
  sessionStorage.setItem(xi, t.name), window.location.reload();
3975
3975
  }
@@ -3986,7 +3986,7 @@ function rr(e) {
3986
3986
  }
3987
3987
  return e;
3988
3988
  }
3989
- var dh = {
3989
+ var fh = {
3990
3990
  read: function(e) {
3991
3991
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
3992
3992
  },
@@ -4047,8 +4047,8 @@ function Ko(e, t) {
4047
4047
  }
4048
4048
  );
4049
4049
  }
4050
- var po = Ko(dh, { path: "/" });
4051
- class fh {
4050
+ var po = Ko(fh, { path: "/" });
4051
+ class hh {
4052
4052
  setTenant(t, n) {
4053
4053
  t ? po.set(ho, t.name) : po.remove(ho), window.location.reload();
4054
4054
  }
@@ -4056,7 +4056,7 @@ class fh {
4056
4056
  return po.get(ho);
4057
4057
  }
4058
4058
  }
4059
- class hh {
4059
+ class ph {
4060
4060
  extractSubdomain(t) {
4061
4061
  if (t === "localhost" || /^\d+\.\d+\.\d+\.\d+$/.test(t))
4062
4062
  return "";
@@ -4086,27 +4086,27 @@ class hh {
4086
4086
  }
4087
4087
  }
4088
4088
  const Ei = {
4089
- queryParams: new lh(),
4090
- sessionStorage: new uh(),
4091
- cookie: new fh(),
4092
- subdomain: new hh()
4093
- }, ph = (e) => {
4089
+ queryParams: new uh(),
4090
+ sessionStorage: new dh(),
4091
+ cookie: new hh(),
4092
+ subdomain: new ph()
4093
+ }, mh = (e) => {
4094
4094
  const t = Ei[e.clientSideMode];
4095
4095
  if (!t)
4096
4096
  throw new Error(`Client side tenant mode '${e.clientSideMode}' is not supported ${JSON.stringify({ strategies: Ei }, null, 2)}`);
4097
4097
  return t;
4098
- }, mh = (e, t, n) => {
4098
+ }, gh = (e, t, n) => {
4099
4099
  const r = t.find((s) => s.name === n);
4100
4100
  if (!r)
4101
4101
  throw Error("No tenant permission");
4102
- return ph(e).setTenant(r, e), r;
4103
- }, i2 = () => {
4102
+ return mh(e).setTenant(r, e), r;
4103
+ }, a2 = () => {
4104
4104
  const [e, t] = Fr(), {
4105
4105
  tenants: n = [],
4106
4106
  currentTenant: r,
4107
- tenantConfig: o = ch
4107
+ tenantConfig: o = lh
4108
4108
  } = e, s = he((i) => {
4109
- const a = mh(o, n, i);
4109
+ const a = gh(o, n, i);
4110
4110
  t({ ...e, currentTenant: a });
4111
4111
  }, [o, e]);
4112
4112
  return {
@@ -4116,7 +4116,7 @@ const Ei = {
4116
4116
  selectTenant: s
4117
4117
  };
4118
4118
  };
4119
- function gh(e) {
4119
+ function yh(e) {
4120
4120
  if (!e.ok)
4121
4121
  throw console.error(e), new Error(e.statusText);
4122
4122
  }
@@ -4127,7 +4127,7 @@ async function or(e, t, n, r) {
4127
4127
  )}`,
4128
4128
  r
4129
4129
  );
4130
- return gh(o), o;
4130
+ return yh(o), o;
4131
4131
  }
4132
4132
  class sr {
4133
4133
  static async get(t, n, r) {
@@ -4168,8 +4168,8 @@ class sr {
4168
4168
  }), null;
4169
4169
  }
4170
4170
  }
4171
- const a2 = (e) => {
4172
- const t = Na("@bluealba/pae-nestjs-gateway-service"), n = sd();
4171
+ const c2 = (e) => {
4172
+ const t = Na("@bluealba/pae-nestjs-gateway-service"), n = id();
4173
4173
  if (!n)
4174
4174
  throw new Error(
4175
4175
  "You must call the useUserState hook within a PAE application."
@@ -4215,22 +4215,22 @@ const a2 = (e) => {
4215
4215
  updateValue: w,
4216
4216
  deleteValue: m
4217
4217
  };
4218
- }, rc = "__PAE_EXTENSION_POINT_REACT_CONTENT_EMPTY__", c2 = ({ module: e, point: t, children: n }) => (hd(e, t, n ?? rc), null), yh = ({ name: e, children: t, ...n }) => {
4219
- const r = fd(e);
4218
+ }, rc = "__PAE_EXTENSION_POINT_REACT_CONTENT_EMPTY__", l2 = ({ module: e, point: t, children: n }) => (pd(e, t, n ?? rc), null), vh = ({ name: e, children: t, ...n }) => {
4219
+ const r = hd(e);
4220
4220
  if (r === rc)
4221
4221
  return null;
4222
4222
  if (!r)
4223
4223
  return /* @__PURE__ */ u.jsx(u.Fragment, { children: t ?? null });
4224
- if (vh(r)) {
4224
+ if (bh(r)) {
4225
4225
  const o = r;
4226
4226
  return /* @__PURE__ */ u.jsx(o, { ...n });
4227
4227
  } else
4228
4228
  return r;
4229
- }, vh = (e) => typeof e == "function", l2 = (e, t) => {
4230
- const n = (r) => (t = t || e.displayName || e.name || "?", /* @__PURE__ */ u.jsx(yh, { name: t, ...r, children: /* @__PURE__ */ u.jsx(e, { ...r }) }));
4229
+ }, bh = (e) => typeof e == "function", u2 = (e, t) => {
4230
+ const n = (r) => (t = t || e.displayName || e.name || "?", /* @__PURE__ */ u.jsx(vh, { name: t, ...r, children: /* @__PURE__ */ u.jsx(e, { ...r }) }));
4231
4231
  return n.displayName = `extensionPoint(${t})`, n;
4232
4232
  }, Si = "single-spa:app-change";
4233
- function bh() {
4233
+ function wh() {
4234
4234
  const [e, t] = ee(_i());
4235
4235
  return ie(() => {
4236
4236
  const n = () => {
@@ -4244,8 +4244,8 @@ function bh() {
4244
4244
  function _i() {
4245
4245
  return lo.getAppNames().reduce((t, n) => (lo.getAppStatus(n) ? t[n] = lo.getAppStatus(n) : t[n] = "NOT_LOADED", t), {});
4246
4246
  }
4247
- function wh(e) {
4248
- const n = bh()[e] ?? "LOAD_ERROR";
4247
+ function Ch(e) {
4248
+ const n = wh()[e] ?? "LOAD_ERROR";
4249
4249
  return {
4250
4250
  statusName: n,
4251
4251
  isLoading: n === "LOADING_SOURCE_CODE" || n === "BOOTSTRAPPING" || n === "MOUNTING",
@@ -4267,27 +4267,27 @@ const sc = ({ appName: e }) => /* @__PURE__ */ u.jsxs("div", { children: [
4267
4267
  ] })
4268
4268
  ] });
4269
4269
  sc.displayName = "BaseError";
4270
- const Ch = {
4270
+ const xh = {
4271
4271
  // TODO:
4272
4272
  display: "flex",
4273
4273
  flexDirection: "column",
4274
4274
  flex: 1
4275
- }, ic = W((e, t) => /* @__PURE__ */ u.jsx("div", { ref: t, style: Ch, ...e }));
4275
+ }, ic = W((e, t) => /* @__PURE__ */ u.jsx("div", { ref: t, style: xh, ...e }));
4276
4276
  ic.displayName = "BaseContainer";
4277
- const xh = "pae-app:", Eh = W(({
4277
+ const Eh = "pae-app:", Sh = W(({
4278
4278
  appName: e,
4279
4279
  LoadingComponent: t = oc,
4280
4280
  ErrorComponent: n = sc,
4281
4281
  ContainerComponent: r = ic,
4282
4282
  ...o
4283
4283
  }, s) => {
4284
- const i = wh(e);
4284
+ const i = Ch(e);
4285
4285
  return /* @__PURE__ */ u.jsxs(
4286
4286
  r,
4287
4287
  {
4288
4288
  ref: s,
4289
4289
  ...o,
4290
- id: `${xh}${e}`,
4290
+ id: `${Eh}${e}`,
4291
4291
  children: [
4292
4292
  i.isLoading && /* @__PURE__ */ u.jsx(t, { appName: e }),
4293
4293
  i.isBroken && /* @__PURE__ */ u.jsx(n, { appName: e })
@@ -4295,7 +4295,7 @@ const xh = "pae-app:", Eh = W(({
4295
4295
  }
4296
4296
  );
4297
4297
  });
4298
- Eh.displayName = "ModulePlaceHolder";
4298
+ Sh.displayName = "ModulePlaceHolder";
4299
4299
  const ac = ({ operations: e, children: t, forbiddenContent: n }) => {
4300
4300
  var o;
4301
4301
  const { hasAccess: r } = ls();
@@ -4312,7 +4312,7 @@ const ac = ({ operations: e, children: t, forbiddenContent: n }) => {
4312
4312
  return t;
4313
4313
  };
4314
4314
  ac.displayName = "Authorized";
4315
- const u2 = ({ eventName: e, listener: t }) => (pd(e, t), null), Sh = () => /* @__PURE__ */ u.jsx("svg", { "aria-hidden": "true", xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", children: /* @__PURE__ */ u.jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeWidth: "2", d: "M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z" }) }), _h = ({ applicationName: e }) => {
4315
+ const d2 = ({ eventName: e, listener: t }) => (md(e, t), null), _h = () => /* @__PURE__ */ u.jsx("svg", { "aria-hidden": "true", xmlns: "http://www.w3.org/2000/svg", width: "24", height: "24", fill: "none", viewBox: "0 0 24 24", children: /* @__PURE__ */ u.jsx("path", { stroke: "currentColor", strokeLinecap: "round", strokeWidth: "2", d: "M8.737 8.737a21.49 21.49 0 0 1 3.308-2.724m0 0c3.063-2.026 5.99-2.641 7.331-1.3 1.827 1.828.026 6.591-4.023 10.64-4.049 4.049-8.812 5.85-10.64 4.023-1.33-1.33-.736-4.218 1.249-7.253m6.083-6.11c-3.063-2.026-5.99-2.641-7.331-1.3-1.827 1.828-.026 6.591 4.023 10.64m3.308-9.34a21.497 21.497 0 0 1 3.308 2.724m2.775 3.386c1.985 3.035 2.579 5.923 1.248 7.253-1.336 1.337-4.245.732-7.295-1.275M14 12a2 2 0 1 1-4 0 2 2 0 0 1 4 0Z" }) }), Rh = ({ applicationName: e }) => {
4316
4316
  const t = Yu(e);
4317
4317
  if (t)
4318
4318
  if (typeof t == "function") {
@@ -4320,10 +4320,10 @@ const u2 = ({ eventName: e, listener: t }) => (pd(e, t), null), Sh = () => /* @_
4320
4320
  return /* @__PURE__ */ u.jsx(n, {});
4321
4321
  } else
4322
4322
  return t;
4323
- return /* @__PURE__ */ u.jsx(Sh, {});
4323
+ return /* @__PURE__ */ u.jsx(_h, {});
4324
4324
  };
4325
- _h.displayName = "ApplicationIcon";
4326
- const d2 = (e, t) => {
4325
+ Rh.displayName = "ApplicationIcon";
4326
+ const f2 = (e, t) => {
4327
4327
  const n = (r) => /* @__PURE__ */ u.jsx(ac, { operations: t, children: /* @__PURE__ */ u.jsx(e, { ...r }) });
4328
4328
  return n.displayName = "Authorized", n;
4329
4329
  };
@@ -4340,24 +4340,24 @@ function j() {
4340
4340
  for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = cc(e)) && (r && (r += " "), r += t);
4341
4341
  return r;
4342
4342
  }
4343
- const Rh = "spinner__fakUN", Th = "spinner-rotation__wUmPV", Ah = "button__8FA9H", Ph = "button--contained-primary__stkTx", Oh = "button--outlined-primary__KZ1ww", jh = "button--text-primary__GLTfm", Dh = "button--contained-danger__L9ehT", Lh = "button--outlined-danger__eoYLd", Nh = "button--text-danger__Sw-ha", Ih = "icon__--umH", ir = {
4344
- spinner: Rh,
4343
+ const Th = "spinner__fakUN", Ah = "spinner-rotation__wUmPV", Ph = "button__8FA9H", Oh = "button--contained-primary__stkTx", jh = "button--outlined-primary__KZ1ww", Dh = "button--text-primary__GLTfm", Lh = "button--contained-danger__L9ehT", Nh = "button--outlined-danger__eoYLd", Ih = "button--text-danger__Sw-ha", kh = "icon__--umH", ir = {
4344
+ spinner: Th,
4345
4345
  "spinner-rotation": "spinner-rotation__wUmPV",
4346
- spinnerRotation: Th,
4347
- button: Ah,
4346
+ spinnerRotation: Ah,
4347
+ button: Ph,
4348
4348
  "button--contained-primary": "button--contained-primary__stkTx",
4349
- buttonContainedPrimary: Ph,
4349
+ buttonContainedPrimary: Oh,
4350
4350
  "button--outlined-primary": "button--outlined-primary__KZ1ww",
4351
- buttonOutlinedPrimary: Oh,
4351
+ buttonOutlinedPrimary: jh,
4352
4352
  "button--text-primary": "button--text-primary__GLTfm",
4353
- buttonTextPrimary: jh,
4353
+ buttonTextPrimary: Dh,
4354
4354
  "button--contained-danger": "button--contained-danger__L9ehT",
4355
- buttonContainedDanger: Dh,
4355
+ buttonContainedDanger: Lh,
4356
4356
  "button--outlined-danger": "button--outlined-danger__eoYLd",
4357
- buttonOutlinedDanger: Lh,
4357
+ buttonOutlinedDanger: Nh,
4358
4358
  "button--text-danger": "button--text-danger__Sw-ha",
4359
- buttonTextDanger: Nh,
4360
- icon: Ih
4359
+ buttonTextDanger: Ih,
4360
+ icon: kh
4361
4361
  }, Yo = W(({
4362
4362
  variant: e = "contained",
4363
4363
  colorScheme: t = "primary",
@@ -4386,27 +4386,27 @@ const Rh = "spinner__fakUN", Th = "spinner-rotation__wUmPV", Ah = "button__8FA9H
4386
4386
  );
4387
4387
  });
4388
4388
  Yo.displayName = "Button";
4389
- const kh = "Badges__5jpum", $h = "Badges__5jpum", Mh = "Badge__95MWM", Fh = "Badge__95MWM", Bh = "Badge--primary__Rx-bS", Uh = "Badge--secondary__d92bT", Wh = "Badge--success__Kdo98", Hh = "Badge--warning__bf-Nn", Vh = "Badge--danger__HTj39", qh = "Badge--small__y93Pj", zh = "Badge--regular__aT5AL", Gh = "Badge--large__wORCH", wr = {
4390
- Badges: kh,
4391
- badges: $h,
4392
- Badge: Mh,
4393
- badge: Fh,
4389
+ const $h = "Badges__5jpum", Mh = "Badges__5jpum", Fh = "Badge__95MWM", Bh = "Badge__95MWM", Uh = "Badge--primary__Rx-bS", Wh = "Badge--secondary__d92bT", Hh = "Badge--success__Kdo98", Vh = "Badge--warning__bf-Nn", qh = "Badge--danger__HTj39", zh = "Badge--small__y93Pj", Gh = "Badge--regular__aT5AL", Qh = "Badge--large__wORCH", wr = {
4390
+ Badges: $h,
4391
+ badges: Mh,
4392
+ Badge: Fh,
4393
+ badge: Bh,
4394
4394
  "Badge--primary": "Badge--primary__Rx-bS",
4395
- badgePrimary: Bh,
4395
+ badgePrimary: Uh,
4396
4396
  "Badge--secondary": "Badge--secondary__d92bT",
4397
- badgeSecondary: Uh,
4397
+ badgeSecondary: Wh,
4398
4398
  "Badge--success": "Badge--success__Kdo98",
4399
- badgeSuccess: Wh,
4399
+ badgeSuccess: Hh,
4400
4400
  "Badge--warning": "Badge--warning__bf-Nn",
4401
- badgeWarning: Hh,
4401
+ badgeWarning: Vh,
4402
4402
  "Badge--danger": "Badge--danger__HTj39",
4403
- badgeDanger: Vh,
4403
+ badgeDanger: qh,
4404
4404
  "Badge--small": "Badge--small__y93Pj",
4405
- badgeSmall: qh,
4405
+ badgeSmall: zh,
4406
4406
  "Badge--regular": "Badge--regular__aT5AL",
4407
- badgeRegular: zh,
4407
+ badgeRegular: Gh,
4408
4408
  "Badge--large": "Badge--large__wORCH",
4409
- badgeLarge: Gh
4409
+ badgeLarge: Qh
4410
4410
  }, Zo = {
4411
4411
  aliceblue: [240, 248, 255],
4412
4412
  antiquewhite: [250, 235, 215],
@@ -4567,7 +4567,7 @@ var Ti = {
4567
4567
  blue: 240,
4568
4568
  purple: 300
4569
4569
  };
4570
- function Qh(e) {
4570
+ function Kh(e) {
4571
4571
  var d, h;
4572
4572
  var t, n = [], r = 1, o;
4573
4573
  if (typeof e == "number")
@@ -4613,8 +4613,8 @@ function Qh(e) {
4613
4613
  alpha: r
4614
4614
  };
4615
4615
  }
4616
- const Kh = (e, t) => {
4617
- const { space: n, values: r } = Qh(e);
4616
+ const Yh = (e, t) => {
4617
+ const { space: n, values: r } = Kh(e);
4618
4618
  return n[0] === "h" ? `${n}a(${r[0]}, ${r[1]}%, ${r[2]}%, ${t})` : `${n}a(${r}, ${t})`;
4619
4619
  }, lc = W(({
4620
4620
  children: e,
@@ -4625,7 +4625,7 @@ const Kh = (e, t) => {
4625
4625
  style: s,
4626
4626
  ...i
4627
4627
  }, a) => {
4628
- const c = r ? { color: r, background: Kh(r, 0.1) } : {}, l = j(
4628
+ const c = r ? { color: r, background: Yh(r, 0.1) } : {}, l = j(
4629
4629
  wr.Badge,
4630
4630
  wr[`Badge--${o}`],
4631
4631
  {
@@ -4645,7 +4645,7 @@ const uc = W(({
4645
4645
  return /* @__PURE__ */ u.jsx("div", { ref: r, className: o, ...n, children: e });
4646
4646
  });
4647
4647
  uc.displayName = "Badges";
4648
- const Yh = ({
4648
+ const Zh = ({
4649
4649
  size: e = 24,
4650
4650
  color: t = "currentColor",
4651
4651
  strokeWidth: n = 2,
@@ -4671,7 +4671,7 @@ const Yh = ({
4671
4671
  /* @__PURE__ */ u.jsx("path", { d: "M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2" })
4672
4672
  ]
4673
4673
  }
4674
- ), Zh = ({
4674
+ ), Xh = ({
4675
4675
  size: e = 24,
4676
4676
  color: t = "currentColor",
4677
4677
  strokeWidth: n = 2,
@@ -4698,14 +4698,14 @@ const Yh = ({
4698
4698
  /* @__PURE__ */ u.jsx("path", { d: "m9 12 2 2 4-4" })
4699
4699
  ]
4700
4700
  }
4701
- ), Xh = "CopyToClipboardButton__2Nd2m", Jh = {
4702
- CopyToClipboardButton: Xh
4703
- }, f2 = ({ content: e }) => {
4704
- const [t, n] = ep(), { notify: r } = Va(), o = t ? Zh : Yh, s = he(async () => {
4701
+ ), Jh = "CopyToClipboardButton__2Nd2m", ep = {
4702
+ CopyToClipboardButton: Jh
4703
+ }, h2 = ({ content: e }) => {
4704
+ const [t, n] = tp(), { notify: r } = Va(), o = t ? Xh : Zh, s = he(async () => {
4705
4705
  await n(e) && r("Copied to the Clipboard !", "success");
4706
4706
  }, [e, r]);
4707
- return /* @__PURE__ */ u.jsx(o, { className: Jh.CopyToClipboardButton, size: 18, onClick: s });
4708
- }, ep = () => {
4707
+ return /* @__PURE__ */ u.jsx(o, { className: ep.CopyToClipboardButton, size: 18, onClick: s });
4708
+ }, tp = () => {
4709
4709
  const [e, t] = ee(!1);
4710
4710
  return [e, async (r) => {
4711
4711
  try {
@@ -4714,14 +4714,14 @@ const Yh = ({
4714
4714
  return console.error("Failed to copy text: ", o), !1;
4715
4715
  }
4716
4716
  }];
4717
- }, tp = "FieldGroup__Q2JCV", np = "FieldGroup__Q2JCV", rp = "FieldGroup--horizontal__kpfL1", op = "FieldGroup--vertical__FLo-Q", Ai = {
4718
- FieldGroup: tp,
4719
- fieldGroup: np,
4717
+ }, np = "FieldGroup__Q2JCV", rp = "FieldGroup__Q2JCV", op = "FieldGroup--horizontal__kpfL1", sp = "FieldGroup--vertical__FLo-Q", Ai = {
4718
+ FieldGroup: np,
4719
+ fieldGroup: rp,
4720
4720
  "FieldGroup--horizontal": "FieldGroup--horizontal__kpfL1",
4721
- fieldGroupHorizontal: rp,
4721
+ fieldGroupHorizontal: op,
4722
4722
  "FieldGroup--vertical": "FieldGroup--vertical__FLo-Q",
4723
- fieldGroupVertical: op
4724
- }, sp = W(({
4723
+ fieldGroupVertical: sp
4724
+ }, ip = W(({
4725
4725
  children: e,
4726
4726
  className: t,
4727
4727
  orientation: n = "vertical",
@@ -4734,9 +4734,9 @@ const Yh = ({
4734
4734
  );
4735
4735
  return /* @__PURE__ */ u.jsx("div", { ref: o, className: s, ...r, children: e });
4736
4736
  });
4737
- sp.displayName = "FieldGroup";
4738
- const ip = "Input__uS0sb", Pi = {
4739
- Input: ip,
4737
+ ip.displayName = "FieldGroup";
4738
+ const ap = "Input__uS0sb", Pi = {
4739
+ Input: ap,
4740
4740
  Error: "Error__-DQpw"
4741
4741
  }, gs = W(({
4742
4742
  className: e,
@@ -4747,21 +4747,21 @@ const ip = "Input__uS0sb", Pi = {
4747
4747
  return /* @__PURE__ */ u.jsx("input", { ref: r, className: o, ...n });
4748
4748
  });
4749
4749
  gs.displayName = "Input";
4750
- const ap = {
4750
+ const cp = {
4751
4751
  Error: "Error__N4OP5"
4752
- }, cp = W(({
4752
+ }, lp = W(({
4753
4753
  children: e,
4754
4754
  className: t,
4755
4755
  ...n
4756
4756
  }, r) => {
4757
- const o = j(ap.Error, t);
4757
+ const o = j(cp.Error, t);
4758
4758
  return /* @__PURE__ */ u.jsx("span", { ref: r, className: o, ...n, children: e });
4759
4759
  });
4760
- cp.displayName = "InputError";
4761
- const lp = "Label__VYUvW", Oi = {
4762
- Label: lp,
4760
+ lp.displayName = "InputError";
4761
+ const up = "Label__VYUvW", Oi = {
4762
+ Label: up,
4763
4763
  Error: "Error__Eu6DI"
4764
- }, up = W(({
4764
+ }, dp = W(({
4765
4765
  children: e,
4766
4766
  className: t,
4767
4767
  error: n,
@@ -4770,10 +4770,10 @@ const lp = "Label__VYUvW", Oi = {
4770
4770
  const s = j(Oi.Label, n && Oi.Error, t);
4771
4771
  return /* @__PURE__ */ u.jsx("label", { ref: o, className: s, ...r, children: e });
4772
4772
  });
4773
- up.displayName = "Label";
4774
- const dp = "Select__giqpe", fp = "Chevron__YvhBd", Xo = {
4775
- Select: dp,
4776
- Chevron: fp
4773
+ dp.displayName = "Label";
4774
+ const fp = "Select__giqpe", hp = "Chevron__YvhBd", Xo = {
4775
+ Select: fp,
4776
+ Chevron: hp
4777
4777
  }, dc = W(({
4778
4778
  children: e,
4779
4779
  className: t,
@@ -4796,23 +4796,23 @@ const fc = W(({
4796
4796
  });
4797
4797
  fc.displayName = "Select";
4798
4798
  fc.Option = dc;
4799
- const hp = "TextArea__pa-A0", pp = {
4800
- TextArea: hp
4801
- }, mp = W(({
4799
+ const pp = "TextArea__pa-A0", mp = {
4800
+ TextArea: pp
4801
+ }, gp = W(({
4802
4802
  children: e,
4803
4803
  className: t,
4804
4804
  ...n
4805
4805
  }, r) => {
4806
- const o = j(pp.TextArea, t);
4806
+ const o = j(mp.TextArea, t);
4807
4807
  return /* @__PURE__ */ u.jsx("textarea", { ref: r, className: o, ...n, children: e });
4808
4808
  });
4809
- mp.displayName = "TextArea";
4810
- const gp = "SearchInput__4OFyE", yp = "SearchIcon__YgnQy", vp = "ClearIcon__ukRVr", bp = "SearchInput__ClearIcon__uzVoc", wp = "SearchInput__SearchIcon__zoDG4", Rn = {
4811
- SearchInput: gp,
4812
- SearchIcon: yp,
4813
- ClearIcon: vp,
4814
- SearchInput__ClearIcon: bp,
4815
- SearchInput__SearchIcon: wp
4809
+ gp.displayName = "TextArea";
4810
+ const yp = "SearchInput__4OFyE", vp = "SearchIcon__YgnQy", bp = "ClearIcon__ukRVr", wp = "SearchInput__ClearIcon__uzVoc", Cp = "SearchInput__SearchIcon__zoDG4", Rn = {
4811
+ SearchInput: yp,
4812
+ SearchIcon: vp,
4813
+ ClearIcon: bp,
4814
+ SearchInput__ClearIcon: wp,
4815
+ SearchInput__SearchIcon: Cp
4816
4816
  }, hc = W(({
4817
4817
  className: e,
4818
4818
  placeholder: t = "Type to search...",
@@ -4857,23 +4857,23 @@ const gp = "SearchInput__4OFyE", yp = "SearchIcon__YgnQy", vp = "ClearIcon__ukRV
4857
4857
  ] });
4858
4858
  });
4859
4859
  hc.displayName = "SearchInput";
4860
- const Cp = "SearchAutocomplete__vR9Hk", xp = "AutocompleteItem__YIm7R", Ep = "AutocompleteHighlighter__LAFTV", Sp = "AutocompleteHighlighter__match__Wy1o2", _p = "DropdownList__-fHIk", Rp = "AutocompleteItemDescription__4QYN5", Mt = {
4861
- SearchAutocomplete: Cp,
4862
- AutocompleteItem: xp,
4860
+ const xp = "SearchAutocomplete__vR9Hk", Ep = "AutocompleteItem__YIm7R", Sp = "AutocompleteHighlighter__LAFTV", _p = "AutocompleteHighlighter__match__Wy1o2", Rp = "DropdownList__-fHIk", Tp = "AutocompleteItemDescription__4QYN5", Mt = {
4861
+ SearchAutocomplete: xp,
4862
+ AutocompleteItem: Ep,
4863
4863
  "AutocompleteItem--canBeSelected": "AutocompleteItem--canBeSelected__jxk4z",
4864
- AutocompleteHighlighter: Ep,
4865
- AutocompleteHighlighter__match: Sp,
4866
- DropdownList: _p,
4867
- AutocompleteItemDescription: Rp
4868
- }, Tp = "DropdownList__QTXXX", Ap = "DropdownList__QTXXX", Pp = "DropdownList--closed__pdL1Z", Op = "DropdownList--open__opzc9", jp = "DropdownList--left__xSwXR", Jt = {
4869
- DropdownList: Tp,
4870
- dropdownList: Ap,
4864
+ AutocompleteHighlighter: Sp,
4865
+ AutocompleteHighlighter__match: _p,
4866
+ DropdownList: Rp,
4867
+ AutocompleteItemDescription: Tp
4868
+ }, Ap = "DropdownList__QTXXX", Pp = "DropdownList__QTXXX", Op = "DropdownList--closed__pdL1Z", jp = "DropdownList--open__opzc9", Dp = "DropdownList--left__xSwXR", Jt = {
4869
+ DropdownList: Ap,
4870
+ dropdownList: Pp,
4871
4871
  "DropdownList--closed": "DropdownList--closed__pdL1Z",
4872
- dropdownListClosed: Pp,
4872
+ dropdownListClosed: Op,
4873
4873
  "DropdownList--open": "DropdownList--open__opzc9",
4874
- dropdownListOpen: Op,
4874
+ dropdownListOpen: jp,
4875
4875
  "DropdownList--left": "DropdownList--left__xSwXR",
4876
- dropdownListLeft: jp
4876
+ dropdownListLeft: Dp
4877
4877
  }, ys = W(({
4878
4878
  children: e,
4879
4879
  className: t,
@@ -4909,16 +4909,16 @@ const An = W(({
4909
4909
  return /* @__PURE__ */ u.jsx("div", { ref: o, className: s, role: n ? "option" : void 0, ...r, children: e });
4910
4910
  });
4911
4911
  An.displayName = "AutocompleteItem";
4912
- const Dp = 300, Lp = {
4912
+ const Lp = 300, Np = {
4913
4913
  query: "",
4914
4914
  suggestions: [],
4915
4915
  loading: !1,
4916
4916
  error: null
4917
- }, Np = ({
4917
+ }, Ip = ({
4918
4918
  suggestionFetcher: e,
4919
4919
  canAdd: t
4920
4920
  }) => {
4921
- const [n, r] = ee(Lp);
4921
+ const [n, r] = ee(Np);
4922
4922
  return ie(() => {
4923
4923
  r((a) => ({
4924
4924
  ...a,
@@ -4946,7 +4946,7 @@ const Dp = 300, Lp = {
4946
4946
  }
4947
4947
  }, i = setTimeout(() => {
4948
4948
  s();
4949
- }, Dp);
4949
+ }, Lp);
4950
4950
  return () => {
4951
4951
  clearTimeout(i);
4952
4952
  };
@@ -4979,11 +4979,11 @@ const Dp = 300, Lp = {
4979
4979
  return /* @__PURE__ */ u.jsx("div", { ref: o, className: s, ...r, children: i(e, t) });
4980
4980
  });
4981
4981
  pc.displayName = "AutocompleteHighlighter";
4982
- const Ip = 5, kp = W(({
4982
+ const kp = 5, $p = W(({
4983
4983
  children: e,
4984
4984
  className: t,
4985
4985
  canAdd: n,
4986
- maxSuggestionsShown: r = Ip,
4986
+ maxSuggestionsShown: r = kp,
4987
4987
  searchInputProps: o,
4988
4988
  keepSelectedOption: s,
4989
4989
  suggestionFetcher: i,
@@ -4995,7 +4995,7 @@ const Ip = 5, kp = W(({
4995
4995
  setQuery: h,
4996
4996
  suggestions: p,
4997
4997
  loading: g
4998
- } = Np({
4998
+ } = Ip({
4999
4999
  suggestionFetcher: i,
5000
5000
  canAdd: n
5001
5001
  }), [w, m] = ee(null), y = d.length > 0, C = (T) => {
@@ -5021,7 +5021,7 @@ const Ip = 5, kp = W(({
5021
5021
  ] })
5022
5022
  ] });
5023
5023
  });
5024
- kp.displayName = "SearchAutocomplete";
5024
+ $p.displayName = "SearchAutocomplete";
5025
5025
  const Pt = (e) => {
5026
5026
  let t = null, n = null;
5027
5027
  return Su.forEach(e.children, (r) => {
@@ -5056,19 +5056,19 @@ function qr(...e) {
5056
5056
  function De(...e) {
5057
5057
  return f.useCallback(qr(...e), e);
5058
5058
  }
5059
- var $p = Symbol.for("react.lazy"), jr = f[" use ".trim().toString()];
5060
- function Mp(e) {
5059
+ var Mp = Symbol.for("react.lazy"), jr = f[" use ".trim().toString()];
5060
+ function Fp(e) {
5061
5061
  return typeof e == "object" && e !== null && "then" in e;
5062
5062
  }
5063
5063
  function mc(e) {
5064
- return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === $p && "_payload" in e && Mp(e._payload);
5064
+ return e != null && typeof e == "object" && "$$typeof" in e && e.$$typeof === Mp && "_payload" in e && Fp(e._payload);
5065
5065
  }
5066
5066
  // @__NO_SIDE_EFFECTS__
5067
- function Fp(e) {
5068
- const t = /* @__PURE__ */ Up(e), n = f.forwardRef((r, o) => {
5067
+ function Bp(e) {
5068
+ const t = /* @__PURE__ */ Wp(e), n = f.forwardRef((r, o) => {
5069
5069
  let { children: s, ...i } = r;
5070
5070
  mc(s) && typeof jr == "function" && (s = jr(s._payload));
5071
- const a = f.Children.toArray(s), c = a.find(Hp);
5071
+ const a = f.Children.toArray(s), c = a.find(Vp);
5072
5072
  if (c) {
5073
5073
  const l = c.props.children, d = a.map((h) => h === c ? f.Children.count(l) > 1 ? f.Children.only(null) : f.isValidElement(l) ? l.props.children : null : h);
5074
5074
  return /* @__PURE__ */ u.jsx(t, { ...i, ref: o, children: f.isValidElement(l) ? f.cloneElement(l, void 0, d) : null });
@@ -5077,24 +5077,24 @@ function Fp(e) {
5077
5077
  });
5078
5078
  return n.displayName = `${e}.Slot`, n;
5079
5079
  }
5080
- var Bp = /* @__PURE__ */ Fp("Slot");
5080
+ var Up = /* @__PURE__ */ Bp("Slot");
5081
5081
  // @__NO_SIDE_EFFECTS__
5082
- function Up(e) {
5082
+ function Wp(e) {
5083
5083
  const t = f.forwardRef((n, r) => {
5084
5084
  let { children: o, ...s } = n;
5085
5085
  if (mc(o) && typeof jr == "function" && (o = jr(o._payload)), f.isValidElement(o)) {
5086
- const i = qp(o), a = Vp(s, o.props);
5086
+ const i = zp(o), a = qp(s, o.props);
5087
5087
  return o.type !== f.Fragment && (a.ref = r ? qr(r, i) : i), f.cloneElement(o, a);
5088
5088
  }
5089
5089
  return f.Children.count(o) > 1 ? f.Children.only(null) : null;
5090
5090
  });
5091
5091
  return t.displayName = `${e}.SlotClone`, t;
5092
5092
  }
5093
- var Wp = Symbol("radix.slottable");
5094
- function Hp(e) {
5095
- return f.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Wp;
5093
+ var Hp = Symbol("radix.slottable");
5094
+ function Vp(e) {
5095
+ return f.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Hp;
5096
5096
  }
5097
- function Vp(e, t) {
5097
+ function qp(e, t) {
5098
5098
  const n = { ...t };
5099
5099
  for (const r in t) {
5100
5100
  const o = e[r], s = t[r];
@@ -5105,18 +5105,18 @@ function Vp(e, t) {
5105
5105
  }
5106
5106
  return { ...e, ...n };
5107
5107
  }
5108
- function qp(e) {
5108
+ function zp(e) {
5109
5109
  var r, o;
5110
5110
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
5111
5111
  return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
5112
5112
  }
5113
- const zp = "SkeletonListContainer__MKJhE", Gp = "Skeleton__Ovpiw", gc = {
5114
- SkeletonListContainer: zp,
5115
- Skeleton: Gp
5113
+ const Gp = "SkeletonListContainer__MKJhE", Qp = "Skeleton__Ovpiw", gc = {
5114
+ SkeletonListContainer: Gp,
5115
+ Skeleton: Qp
5116
5116
  }, vs = W((e, t) => {
5117
5117
  const { children: n, className: r, loading: o, height: s = 48, width: i, borderRadius: a, style: c, ...l } = e;
5118
5118
  if (!o && n) return n;
5119
- const d = Xs(n) ? Bp : "span";
5119
+ const d = Xs(n) ? Up : "span";
5120
5120
  return /* @__PURE__ */ u.jsx(
5121
5121
  d,
5122
5122
  {
@@ -5132,18 +5132,18 @@ const zp = "SkeletonListContainer__MKJhE", Gp = "Skeleton__Ovpiw", gc = {
5132
5132
  );
5133
5133
  });
5134
5134
  vs.displayName = "Skeleton";
5135
- const Qp = (e) => {
5135
+ const Kp = (e) => {
5136
5136
  const { numberOfItems: t, itemsGap: n = 2, itemProps: r } = e, o = Array.from({ length: t }, (s, i) => i + 1);
5137
5137
  return /* @__PURE__ */ u.jsx("div", { className: j(gc.SkeletonListContainer), style: { gap: n }, children: o.map((s) => /* @__PURE__ */ u.jsx(vs, { loading: !0, ...r }, s)) });
5138
5138
  };
5139
- Qp.displayName = "SkeletonList";
5139
+ Kp.displayName = "SkeletonList";
5140
5140
  function ve(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
5141
5141
  return function(o) {
5142
5142
  if (e == null || e(o), n === !1 || !o.defaultPrevented)
5143
5143
  return t == null ? void 0 : t(o);
5144
5144
  };
5145
5145
  }
5146
- function Kp(e, t) {
5146
+ function Yp(e, t) {
5147
5147
  const n = f.createContext(t), r = (s) => {
5148
5148
  const { children: i, ...a } = s, c = f.useMemo(() => a, Object.values(a));
5149
5149
  return /* @__PURE__ */ u.jsx(n.Provider, { value: c, children: i });
@@ -5187,9 +5187,9 @@ function bs(e, t = []) {
5187
5187
  );
5188
5188
  };
5189
5189
  };
5190
- return o.scopeName = e, [r, Yp(o, ...t)];
5190
+ return o.scopeName = e, [r, Zp(o, ...t)];
5191
5191
  }
5192
- function Yp(...e) {
5192
+ function Zp(...e) {
5193
5193
  const t = e[0];
5194
5194
  if (e.length === 1) return t;
5195
5195
  const n = () => {
@@ -5208,9 +5208,9 @@ function Yp(...e) {
5208
5208
  return n.scopeName = t.scopeName, n;
5209
5209
  }
5210
5210
  // @__NO_SIDE_EFFECTS__
5211
- function Zp(e) {
5212
- const t = /* @__PURE__ */ Xp(e), n = f.forwardRef((r, o) => {
5213
- const { children: s, ...i } = r, a = f.Children.toArray(s), c = a.find(e1);
5211
+ function Xp(e) {
5212
+ const t = /* @__PURE__ */ Jp(e), n = f.forwardRef((r, o) => {
5213
+ const { children: s, ...i } = r, a = f.Children.toArray(s), c = a.find(t1);
5214
5214
  if (c) {
5215
5215
  const l = c.props.children, d = a.map((h) => h === c ? f.Children.count(l) > 1 ? f.Children.only(null) : f.isValidElement(l) ? l.props.children : null : h);
5216
5216
  return /* @__PURE__ */ u.jsx(t, { ...i, ref: o, children: f.isValidElement(l) ? f.cloneElement(l, void 0, d) : null });
@@ -5220,22 +5220,22 @@ function Zp(e) {
5220
5220
  return n.displayName = `${e}.Slot`, n;
5221
5221
  }
5222
5222
  // @__NO_SIDE_EFFECTS__
5223
- function Xp(e) {
5223
+ function Jp(e) {
5224
5224
  const t = f.forwardRef((n, r) => {
5225
5225
  const { children: o, ...s } = n;
5226
5226
  if (f.isValidElement(o)) {
5227
- const i = n1(o), a = t1(s, o.props);
5227
+ const i = r1(o), a = n1(s, o.props);
5228
5228
  return o.type !== f.Fragment && (a.ref = r ? qr(r, i) : i), f.cloneElement(o, a);
5229
5229
  }
5230
5230
  return f.Children.count(o) > 1 ? f.Children.only(null) : null;
5231
5231
  });
5232
5232
  return t.displayName = `${e}.SlotClone`, t;
5233
5233
  }
5234
- var Jp = Symbol("radix.slottable");
5235
- function e1(e) {
5236
- return f.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Jp;
5234
+ var e1 = Symbol("radix.slottable");
5235
+ function t1(e) {
5236
+ return f.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === e1;
5237
5237
  }
5238
- function t1(e, t) {
5238
+ function n1(e, t) {
5239
5239
  const n = { ...t };
5240
5240
  for (const r in t) {
5241
5241
  const o = e[r], s = t[r];
@@ -5246,12 +5246,12 @@ function t1(e, t) {
5246
5246
  }
5247
5247
  return { ...e, ...n };
5248
5248
  }
5249
- function n1(e) {
5249
+ function r1(e) {
5250
5250
  var r, o;
5251
5251
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
5252
5252
  return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
5253
5253
  }
5254
- var r1 = [
5254
+ var o1 = [
5255
5255
  "a",
5256
5256
  "button",
5257
5257
  "div",
@@ -5269,14 +5269,14 @@ var r1 = [
5269
5269
  "span",
5270
5270
  "svg",
5271
5271
  "ul"
5272
- ], be = r1.reduce((e, t) => {
5273
- const n = /* @__PURE__ */ Zp(`Primitive.${t}`), r = f.forwardRef((o, s) => {
5272
+ ], be = o1.reduce((e, t) => {
5273
+ const n = /* @__PURE__ */ Xp(`Primitive.${t}`), r = f.forwardRef((o, s) => {
5274
5274
  const { asChild: i, ...a } = o, c = i ? n : t;
5275
5275
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u.jsx(c, { ...a, ref: s });
5276
5276
  });
5277
5277
  return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
5278
5278
  }, {});
5279
- function o1(e, t) {
5279
+ function s1(e, t) {
5280
5280
  e && xa.flushSync(() => e.dispatchEvent(t));
5281
5281
  }
5282
5282
  function gn(e) {
@@ -5288,7 +5288,7 @@ function gn(e) {
5288
5288
  return (r = t.current) == null ? void 0 : r.call(t, ...n);
5289
5289
  }, []);
5290
5290
  }
5291
- function s1(e, t = globalThis == null ? void 0 : globalThis.document) {
5291
+ function i1(e, t = globalThis == null ? void 0 : globalThis.document) {
5292
5292
  const n = gn(e);
5293
5293
  f.useEffect(() => {
5294
5294
  const r = (o) => {
@@ -5297,7 +5297,7 @@ function s1(e, t = globalThis == null ? void 0 : globalThis.document) {
5297
5297
  return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
5298
5298
  }, [n, t]);
5299
5299
  }
5300
- var i1 = "DismissableLayer", Jo = "dismissableLayer.update", a1 = "dismissableLayer.pointerDownOutside", c1 = "dismissableLayer.focusOutside", Di, yc = f.createContext({
5300
+ var a1 = "DismissableLayer", Jo = "dismissableLayer.update", c1 = "dismissableLayer.pointerDownOutside", l1 = "dismissableLayer.focusOutside", Di, yc = f.createContext({
5301
5301
  layers: /* @__PURE__ */ new Set(),
5302
5302
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
5303
5303
  branches: /* @__PURE__ */ new Set()
@@ -5311,14 +5311,14 @@ var i1 = "DismissableLayer", Jo = "dismissableLayer.update", a1 = "dismissableLa
5311
5311
  onInteractOutside: i,
5312
5312
  onDismiss: a,
5313
5313
  ...c
5314
- } = e, l = f.useContext(yc), [d, h] = f.useState(null), p = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = f.useState({}), w = De(t, (T) => h(T)), m = Array.from(l.layers), [y] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), C = m.indexOf(y), x = d ? m.indexOf(d) : -1, S = l.layersWithOutsidePointerEventsDisabled.size > 0, E = x >= C, _ = d1((T) => {
5314
+ } = e, l = f.useContext(yc), [d, h] = f.useState(null), p = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = f.useState({}), w = De(t, (T) => h(T)), m = Array.from(l.layers), [y] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), C = m.indexOf(y), x = d ? m.indexOf(d) : -1, S = l.layersWithOutsidePointerEventsDisabled.size > 0, E = x >= C, _ = f1((T) => {
5315
5315
  const k = T.target, N = [...l.branches].some((L) => L.contains(k));
5316
5316
  !E || N || (o == null || o(T), i == null || i(T), T.defaultPrevented || a == null || a());
5317
- }, p), A = f1((T) => {
5317
+ }, p), A = h1((T) => {
5318
5318
  const k = T.target;
5319
5319
  [...l.branches].some((L) => L.contains(k)) || (s == null || s(T), i == null || i(T), T.defaultPrevented || a == null || a());
5320
5320
  }, p);
5321
- return s1((T) => {
5321
+ return i1((T) => {
5322
5322
  x === l.layers.size - 1 && (r == null || r(T), !T.defaultPrevented && a && (T.preventDefault(), a()));
5323
5323
  }, p), f.useEffect(() => {
5324
5324
  if (d)
@@ -5349,8 +5349,8 @@ var i1 = "DismissableLayer", Jo = "dismissableLayer.update", a1 = "dismissableLa
5349
5349
  );
5350
5350
  }
5351
5351
  );
5352
- ws.displayName = i1;
5353
- var l1 = "DismissableLayerBranch", u1 = f.forwardRef((e, t) => {
5352
+ ws.displayName = a1;
5353
+ var u1 = "DismissableLayerBranch", d1 = f.forwardRef((e, t) => {
5354
5354
  const n = f.useContext(yc), r = f.useRef(null), o = De(t, r);
5355
5355
  return f.useEffect(() => {
5356
5356
  const s = r.current;
@@ -5360,8 +5360,8 @@ var l1 = "DismissableLayerBranch", u1 = f.forwardRef((e, t) => {
5360
5360
  };
5361
5361
  }, [n.branches]), /* @__PURE__ */ u.jsx(be.div, { ...e, ref: o });
5362
5362
  });
5363
- u1.displayName = l1;
5364
- function d1(e, t = globalThis == null ? void 0 : globalThis.document) {
5363
+ d1.displayName = u1;
5364
+ function f1(e, t = globalThis == null ? void 0 : globalThis.document) {
5365
5365
  const n = gn(e), r = f.useRef(!1), o = f.useRef(() => {
5366
5366
  });
5367
5367
  return f.useEffect(() => {
@@ -5369,7 +5369,7 @@ function d1(e, t = globalThis == null ? void 0 : globalThis.document) {
5369
5369
  if (a.target && !r.current) {
5370
5370
  let c = function() {
5371
5371
  vc(
5372
- a1,
5372
+ c1,
5373
5373
  n,
5374
5374
  l,
5375
5375
  { discrete: !0 }
@@ -5391,11 +5391,11 @@ function d1(e, t = globalThis == null ? void 0 : globalThis.document) {
5391
5391
  onPointerDownCapture: () => r.current = !0
5392
5392
  };
5393
5393
  }
5394
- function f1(e, t = globalThis == null ? void 0 : globalThis.document) {
5394
+ function h1(e, t = globalThis == null ? void 0 : globalThis.document) {
5395
5395
  const n = gn(e), r = f.useRef(!1);
5396
5396
  return f.useEffect(() => {
5397
5397
  const o = (s) => {
5398
- s.target && !r.current && vc(c1, n, { originalEvent: s }, {
5398
+ s.target && !r.current && vc(l1, n, { originalEvent: s }, {
5399
5399
  discrete: !1
5400
5400
  });
5401
5401
  };
@@ -5411,26 +5411,26 @@ function Li() {
5411
5411
  }
5412
5412
  function vc(e, t, n, { discrete: r }) {
5413
5413
  const o = n.originalEvent.target, s = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
5414
- t && o.addEventListener(e, t, { once: !0 }), r ? o1(o, s) : o.dispatchEvent(s);
5414
+ t && o.addEventListener(e, t, { once: !0 }), r ? s1(o, s) : o.dispatchEvent(s);
5415
5415
  }
5416
5416
  var yt = globalThis != null && globalThis.document ? f.useLayoutEffect : () => {
5417
- }, h1 = f[" useId ".trim().toString()] || (() => {
5418
- }), p1 = 0;
5417
+ }, p1 = f[" useId ".trim().toString()] || (() => {
5418
+ }), m1 = 0;
5419
5419
  function Cr(e) {
5420
- const [t, n] = f.useState(h1());
5420
+ const [t, n] = f.useState(p1());
5421
5421
  return yt(() => {
5422
- n((r) => r ?? String(p1++));
5423
- }, [e]), t ? `radix-${t}` : "";
5422
+ n((r) => r ?? String(m1++));
5423
+ }, [e]), e || (t ? `radix-${t}` : "");
5424
5424
  }
5425
- const m1 = ["top", "right", "bottom", "left"], vt = Math.min, Ce = Math.max, Dr = Math.round, ar = Math.floor, Be = (e) => ({
5425
+ const g1 = ["top", "right", "bottom", "left"], vt = Math.min, Ce = Math.max, Dr = Math.round, ar = Math.floor, Be = (e) => ({
5426
5426
  x: e,
5427
5427
  y: e
5428
- }), g1 = {
5428
+ }), y1 = {
5429
5429
  left: "right",
5430
5430
  right: "left",
5431
5431
  bottom: "top",
5432
5432
  top: "bottom"
5433
- }, y1 = {
5433
+ }, v1 = {
5434
5434
  start: "end",
5435
5435
  end: "start"
5436
5436
  };
@@ -5452,48 +5452,48 @@ function Cs(e) {
5452
5452
  function xs(e) {
5453
5453
  return e === "y" ? "height" : "width";
5454
5454
  }
5455
- const v1 = /* @__PURE__ */ new Set(["top", "bottom"]);
5455
+ const b1 = /* @__PURE__ */ new Set(["top", "bottom"]);
5456
5456
  function Fe(e) {
5457
- return v1.has(Xe(e)) ? "y" : "x";
5457
+ return b1.has(Xe(e)) ? "y" : "x";
5458
5458
  }
5459
5459
  function Es(e) {
5460
5460
  return Cs(Fe(e));
5461
5461
  }
5462
- function b1(e, t, n) {
5462
+ function w1(e, t, n) {
5463
5463
  n === void 0 && (n = !1);
5464
5464
  const r = wn(e), o = Es(e), s = xs(o);
5465
5465
  let i = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
5466
5466
  return t.reference[s] > t.floating[s] && (i = Lr(i)), [i, Lr(i)];
5467
5467
  }
5468
- function w1(e) {
5468
+ function C1(e) {
5469
5469
  const t = Lr(e);
5470
5470
  return [ts(e), t, ts(t)];
5471
5471
  }
5472
5472
  function ts(e) {
5473
- return e.replace(/start|end/g, (t) => y1[t]);
5473
+ return e.replace(/start|end/g, (t) => v1[t]);
5474
5474
  }
5475
- const Ni = ["left", "right"], Ii = ["right", "left"], C1 = ["top", "bottom"], x1 = ["bottom", "top"];
5476
- function E1(e, t, n) {
5475
+ const Ni = ["left", "right"], Ii = ["right", "left"], x1 = ["top", "bottom"], E1 = ["bottom", "top"];
5476
+ function S1(e, t, n) {
5477
5477
  switch (e) {
5478
5478
  case "top":
5479
5479
  case "bottom":
5480
5480
  return n ? t ? Ii : Ni : t ? Ni : Ii;
5481
5481
  case "left":
5482
5482
  case "right":
5483
- return t ? C1 : x1;
5483
+ return t ? x1 : E1;
5484
5484
  default:
5485
5485
  return [];
5486
5486
  }
5487
5487
  }
5488
- function S1(e, t, n, r) {
5488
+ function _1(e, t, n, r) {
5489
5489
  const o = wn(e);
5490
- let s = E1(Xe(e), n === "start", r);
5490
+ let s = S1(Xe(e), n === "start", r);
5491
5491
  return o && (s = s.map((i) => i + "-" + o), t && (s = s.concat(s.map(ts)))), s;
5492
5492
  }
5493
5493
  function Lr(e) {
5494
- return e.replace(/left|right|bottom|top/g, (t) => g1[t]);
5494
+ return e.replace(/left|right|bottom|top/g, (t) => y1[t]);
5495
5495
  }
5496
- function _1(e) {
5496
+ function R1(e) {
5497
5497
  return {
5498
5498
  top: 0,
5499
5499
  right: 0,
@@ -5503,7 +5503,7 @@ function _1(e) {
5503
5503
  };
5504
5504
  }
5505
5505
  function bc(e) {
5506
- return typeof e != "number" ? _1(e) : {
5506
+ return typeof e != "number" ? R1(e) : {
5507
5507
  top: e,
5508
5508
  right: e,
5509
5509
  bottom: e,
@@ -5576,7 +5576,7 @@ function ki(e, t, n) {
5576
5576
  }
5577
5577
  return g;
5578
5578
  }
5579
- const R1 = async (e, t, n) => {
5579
+ const T1 = async (e, t, n) => {
5580
5580
  const {
5581
5581
  placement: r = "bottom",
5582
5582
  strategy: o = "absolute",
@@ -5682,7 +5682,7 @@ async function jn(e, t) {
5682
5682
  right: (_.right - C.right + w.right) / E.x
5683
5683
  };
5684
5684
  }
5685
- const T1 = (e) => ({
5685
+ const A1 = (e) => ({
5686
5686
  name: "arrow",
5687
5687
  options: e,
5688
5688
  async fn(t) {
@@ -5719,7 +5719,7 @@ const T1 = (e) => ({
5719
5719
  reset: Z
5720
5720
  };
5721
5721
  }
5722
- }), A1 = function(e) {
5722
+ }), P1 = function(e) {
5723
5723
  return e === void 0 && (e = {}), {
5724
5724
  name: "flip",
5725
5725
  options: e,
@@ -5743,12 +5743,12 @@ const T1 = (e) => ({
5743
5743
  } = Ze(e, t);
5744
5744
  if ((n = s.arrow) != null && n.alignmentOffset)
5745
5745
  return {};
5746
- const C = Xe(o), x = Fe(a), S = Xe(a) === a, E = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), _ = p || (S || !m ? [Lr(a)] : w1(a)), A = w !== "none";
5747
- !p && A && _.push(...S1(a, m, w, E));
5746
+ const C = Xe(o), x = Fe(a), S = Xe(a) === a, E = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), _ = p || (S || !m ? [Lr(a)] : C1(a)), A = w !== "none";
5747
+ !p && A && _.push(..._1(a, m, w, E));
5748
5748
  const T = [a, ..._], k = await jn(t, y), N = [];
5749
5749
  let L = ((r = s.flip) == null ? void 0 : r.overflows) || [];
5750
5750
  if (d && N.push(k[C]), h) {
5751
- const G = b1(o, i, E);
5751
+ const G = w1(o, i, E);
5752
5752
  N.push(k[G[0]], k[G[1]]);
5753
5753
  }
5754
5754
  if (L = [...L, {
@@ -5810,9 +5810,9 @@ function $i(e, t) {
5810
5810
  };
5811
5811
  }
5812
5812
  function Mi(e) {
5813
- return m1.some((t) => e[t] >= 0);
5813
+ return g1.some((t) => e[t] >= 0);
5814
5814
  }
5815
- const P1 = function(e) {
5815
+ const O1 = function(e) {
5816
5816
  return e === void 0 && (e = {}), {
5817
5817
  name: "hide",
5818
5818
  options: e,
@@ -5854,7 +5854,7 @@ const P1 = function(e) {
5854
5854
  }
5855
5855
  };
5856
5856
  }, wc = /* @__PURE__ */ new Set(["left", "top"]);
5857
- async function O1(e, t) {
5857
+ async function j1(e, t) {
5858
5858
  const {
5859
5859
  placement: n,
5860
5860
  platform: r,
@@ -5881,7 +5881,7 @@ async function O1(e, t) {
5881
5881
  y: g * d
5882
5882
  };
5883
5883
  }
5884
- const j1 = function(e) {
5884
+ const D1 = function(e) {
5885
5885
  return e === void 0 && (e = 0), {
5886
5886
  name: "offset",
5887
5887
  options: e,
@@ -5892,7 +5892,7 @@ const j1 = function(e) {
5892
5892
  y: s,
5893
5893
  placement: i,
5894
5894
  middlewareData: a
5895
- } = t, c = await O1(t, e);
5895
+ } = t, c = await j1(t, e);
5896
5896
  return i === ((n = a.offset) == null ? void 0 : n.placement) && (r = a.arrow) != null && r.alignmentOffset ? {} : {
5897
5897
  x: o + c.x,
5898
5898
  y: s + c.y,
@@ -5903,7 +5903,7 @@ const j1 = function(e) {
5903
5903
  };
5904
5904
  }
5905
5905
  };
5906
- }, D1 = function(e) {
5906
+ }, L1 = function(e) {
5907
5907
  return e === void 0 && (e = {}), {
5908
5908
  name: "shift",
5909
5909
  options: e,
@@ -5959,7 +5959,7 @@ const j1 = function(e) {
5959
5959
  };
5960
5960
  }
5961
5961
  };
5962
- }, L1 = function(e) {
5962
+ }, N1 = function(e) {
5963
5963
  return e === void 0 && (e = {}), {
5964
5964
  options: e,
5965
5965
  fn(t) {
@@ -6001,7 +6001,7 @@ const j1 = function(e) {
6001
6001
  };
6002
6002
  }
6003
6003
  };
6004
- }, N1 = function(e) {
6004
+ }, I1 = function(e) {
6005
6005
  return e === void 0 && (e = {}), {
6006
6006
  name: "size",
6007
6007
  options: e,
@@ -6068,7 +6068,7 @@ function Ue(e) {
6068
6068
  function Fi(e) {
6069
6069
  return !zr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Ee(e).ShadowRoot;
6070
6070
  }
6071
- const I1 = /* @__PURE__ */ new Set(["inline", "contents"]);
6071
+ const k1 = /* @__PURE__ */ new Set(["inline", "contents"]);
6072
6072
  function Un(e) {
6073
6073
  const {
6074
6074
  overflow: t,
@@ -6076,15 +6076,15 @@ function Un(e) {
6076
6076
  overflowY: r,
6077
6077
  display: o
6078
6078
  } = je(e);
6079
- return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !I1.has(o);
6079
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !k1.has(o);
6080
6080
  }
6081
- const k1 = /* @__PURE__ */ new Set(["table", "td", "th"]);
6082
- function $1(e) {
6083
- return k1.has(Cn(e));
6081
+ const $1 = /* @__PURE__ */ new Set(["table", "td", "th"]);
6082
+ function M1(e) {
6083
+ return $1.has(Cn(e));
6084
6084
  }
6085
- const M1 = [":popover-open", ":modal"];
6085
+ const F1 = [":popover-open", ":modal"];
6086
6086
  function Gr(e) {
6087
- return M1.some((t) => {
6087
+ return F1.some((t) => {
6088
6088
  try {
6089
6089
  return e.matches(t);
6090
6090
  } catch {
@@ -6092,12 +6092,12 @@ function Gr(e) {
6092
6092
  }
6093
6093
  });
6094
6094
  }
6095
- const F1 = ["transform", "translate", "scale", "rotate", "perspective"], B1 = ["transform", "translate", "scale", "rotate", "perspective", "filter"], U1 = ["paint", "layout", "strict", "content"];
6095
+ const B1 = ["transform", "translate", "scale", "rotate", "perspective"], U1 = ["transform", "translate", "scale", "rotate", "perspective", "filter"], W1 = ["paint", "layout", "strict", "content"];
6096
6096
  function Ss(e) {
6097
6097
  const t = _s(), n = Oe(e) ? je(e) : e;
6098
- return F1.some((r) => n[r] ? n[r] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || B1.some((r) => (n.willChange || "").includes(r)) || U1.some((r) => (n.contain || "").includes(r));
6098
+ return B1.some((r) => n[r] ? n[r] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || U1.some((r) => (n.willChange || "").includes(r)) || W1.some((r) => (n.contain || "").includes(r));
6099
6099
  }
6100
- function W1(e) {
6100
+ function H1(e) {
6101
6101
  let t = bt(e);
6102
6102
  for (; Ue(t) && !yn(t); ) {
6103
6103
  if (Ss(t))
@@ -6111,9 +6111,9 @@ function W1(e) {
6111
6111
  function _s() {
6112
6112
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
6113
6113
  }
6114
- const H1 = /* @__PURE__ */ new Set(["html", "body", "#document"]);
6114
+ const V1 = /* @__PURE__ */ new Set(["html", "body", "#document"]);
6115
6115
  function yn(e) {
6116
- return H1.has(Cn(e));
6116
+ return V1.has(Cn(e));
6117
6117
  }
6118
6118
  function je(e) {
6119
6119
  return Ee(e).getComputedStyle(e);
@@ -6184,15 +6184,15 @@ function en(e) {
6184
6184
  y: a
6185
6185
  };
6186
6186
  }
6187
- const V1 = /* @__PURE__ */ Be(0);
6187
+ const q1 = /* @__PURE__ */ Be(0);
6188
6188
  function Sc(e) {
6189
6189
  const t = Ee(e);
6190
- return !_s() || !t.visualViewport ? V1 : {
6190
+ return !_s() || !t.visualViewport ? q1 : {
6191
6191
  x: t.visualViewport.offsetLeft,
6192
6192
  y: t.visualViewport.offsetTop
6193
6193
  };
6194
6194
  }
6195
- function q1(e, t, n) {
6195
+ function z1(e, t, n) {
6196
6196
  return t === void 0 && (t = !1), !n || t && n !== Ee(e) ? !1 : t;
6197
6197
  }
6198
6198
  function Ut(e, t, n, r) {
@@ -6200,7 +6200,7 @@ function Ut(e, t, n, r) {
6200
6200
  const o = e.getBoundingClientRect(), s = Rs(e);
6201
6201
  let i = Be(1);
6202
6202
  t && (r ? Oe(r) && (i = en(r)) : i = en(e));
6203
- const a = q1(s, n, r) ? Sc(s) : Be(0);
6203
+ const a = z1(s, n, r) ? Sc(s) : Be(0);
6204
6204
  let c = (o.left + a.x) / i.x, l = (o.top + a.y) / i.y, d = o.width / i.x, h = o.height / i.y;
6205
6205
  if (s) {
6206
6206
  const p = Ee(s), g = r && Oe(r) ? Ee(r) : r;
@@ -6228,7 +6228,7 @@ function _c(e, t) {
6228
6228
  y: o
6229
6229
  };
6230
6230
  }
6231
- function z1(e) {
6231
+ function G1(e) {
6232
6232
  let {
6233
6233
  elements: t,
6234
6234
  rect: n,
@@ -6255,10 +6255,10 @@ function z1(e) {
6255
6255
  y: n.y * l.y - c.scrollTop * l.y + d.y + p.y
6256
6256
  };
6257
6257
  }
6258
- function G1(e) {
6258
+ function Q1(e) {
6259
6259
  return Array.from(e.getClientRects());
6260
6260
  }
6261
- function Q1(e) {
6261
+ function K1(e) {
6262
6262
  const t = We(e), n = Qr(e), r = e.ownerDocument.body, o = Ce(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = Ce(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
6263
6263
  let i = -n.scrollLeft + Kr(e);
6264
6264
  const a = -n.scrollTop;
@@ -6270,7 +6270,7 @@ function Q1(e) {
6270
6270
  };
6271
6271
  }
6272
6272
  const Bi = 25;
6273
- function K1(e, t) {
6273
+ function Y1(e, t) {
6274
6274
  const n = Ee(e), r = We(e), o = n.visualViewport;
6275
6275
  let s = r.clientWidth, i = r.clientHeight, a = 0, c = 0;
6276
6276
  if (o) {
@@ -6290,8 +6290,8 @@ function K1(e, t) {
6290
6290
  y: c
6291
6291
  };
6292
6292
  }
6293
- const Y1 = /* @__PURE__ */ new Set(["absolute", "fixed"]);
6294
- function Z1(e, t) {
6293
+ const Z1 = /* @__PURE__ */ new Set(["absolute", "fixed"]);
6294
+ function X1(e, t) {
6295
6295
  const n = Ut(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, s = Ue(e) ? en(e) : Be(1), i = e.clientWidth * s.x, a = e.clientHeight * s.y, c = o * s.x, l = r * s.y;
6296
6296
  return {
6297
6297
  width: i,
@@ -6303,11 +6303,11 @@ function Z1(e, t) {
6303
6303
  function Ui(e, t, n) {
6304
6304
  let r;
6305
6305
  if (t === "viewport")
6306
- r = K1(e, n);
6306
+ r = Y1(e, n);
6307
6307
  else if (t === "document")
6308
- r = Q1(We(e));
6308
+ r = K1(We(e));
6309
6309
  else if (Oe(t))
6310
- r = Z1(t, n);
6310
+ r = X1(t, n);
6311
6311
  else {
6312
6312
  const o = Sc(e);
6313
6313
  r = {
@@ -6323,7 +6323,7 @@ function Rc(e, t) {
6323
6323
  const n = bt(e);
6324
6324
  return n === t || !Oe(n) || yn(n) ? !1 : je(n).position === "fixed" || Rc(n, t);
6325
6325
  }
6326
- function X1(e, t) {
6326
+ function J1(e, t) {
6327
6327
  const n = t.get(e);
6328
6328
  if (n)
6329
6329
  return n;
@@ -6332,18 +6332,18 @@ function X1(e, t) {
6332
6332
  let i = s ? bt(e) : e;
6333
6333
  for (; Oe(i) && !yn(i); ) {
6334
6334
  const a = je(i), c = Ss(i);
6335
- !c && a.position === "fixed" && (o = null), (s ? !c && !o : !c && a.position === "static" && !!o && Y1.has(o.position) || Un(i) && !c && Rc(e, i)) ? r = r.filter((d) => d !== i) : o = a, i = bt(i);
6335
+ !c && a.position === "fixed" && (o = null), (s ? !c && !o : !c && a.position === "static" && !!o && Z1.has(o.position) || Un(i) && !c && Rc(e, i)) ? r = r.filter((d) => d !== i) : o = a, i = bt(i);
6336
6336
  }
6337
6337
  return t.set(e, r), r;
6338
6338
  }
6339
- function J1(e) {
6339
+ function em(e) {
6340
6340
  let {
6341
6341
  element: t,
6342
6342
  boundary: n,
6343
6343
  rootBoundary: r,
6344
6344
  strategy: o
6345
6345
  } = e;
6346
- const i = [...n === "clippingAncestors" ? Gr(t) ? [] : X1(t, this._c) : [].concat(n), r], a = i[0], c = i.reduce((l, d) => {
6346
+ const i = [...n === "clippingAncestors" ? Gr(t) ? [] : J1(t, this._c) : [].concat(n), r], a = i[0], c = i.reduce((l, d) => {
6347
6347
  const h = Ui(t, d, o);
6348
6348
  return l.top = Ce(h.top, l.top), l.right = vt(h.right, l.right), l.bottom = vt(h.bottom, l.bottom), l.left = Ce(h.left, l.left), l;
6349
6349
  }, Ui(t, a, o));
@@ -6354,7 +6354,7 @@ function J1(e) {
6354
6354
  y: c.top
6355
6355
  };
6356
6356
  }
6357
- function em(e) {
6357
+ function tm(e) {
6358
6358
  const {
6359
6359
  width: t,
6360
6360
  height: n
@@ -6364,7 +6364,7 @@ function em(e) {
6364
6364
  height: n
6365
6365
  };
6366
6366
  }
6367
- function tm(e, t, n) {
6367
+ function nm(e, t, n) {
6368
6368
  const r = Ue(t), o = We(t), s = n === "fixed", i = Ut(e, !0, s, t);
6369
6369
  let a = {
6370
6370
  scrollLeft: 0,
@@ -6413,14 +6413,14 @@ function Tc(e, t) {
6413
6413
  return n;
6414
6414
  }
6415
6415
  let r = Wi(e, t);
6416
- for (; r && $1(r) && mo(r); )
6416
+ for (; r && M1(r) && mo(r); )
6417
6417
  r = Wi(r, t);
6418
- return r && yn(r) && mo(r) && !Ss(r) ? n : r || W1(e) || n;
6418
+ return r && yn(r) && mo(r) && !Ss(r) ? n : r || H1(e) || n;
6419
6419
  }
6420
- const nm = async function(e) {
6420
+ const rm = async function(e) {
6421
6421
  const t = this.getOffsetParent || Tc, n = this.getDimensions, r = await n(e.floating);
6422
6422
  return {
6423
- reference: tm(e.reference, await t(e.floating), e.strategy),
6423
+ reference: nm(e.reference, await t(e.floating), e.strategy),
6424
6424
  floating: {
6425
6425
  x: 0,
6426
6426
  y: 0,
@@ -6429,25 +6429,25 @@ const nm = async function(e) {
6429
6429
  }
6430
6430
  };
6431
6431
  };
6432
- function rm(e) {
6432
+ function om(e) {
6433
6433
  return je(e).direction === "rtl";
6434
6434
  }
6435
- const om = {
6436
- convertOffsetParentRelativeRectToViewportRelativeRect: z1,
6435
+ const sm = {
6436
+ convertOffsetParentRelativeRectToViewportRelativeRect: G1,
6437
6437
  getDocumentElement: We,
6438
- getClippingRect: J1,
6438
+ getClippingRect: em,
6439
6439
  getOffsetParent: Tc,
6440
- getElementRects: nm,
6441
- getClientRects: G1,
6442
- getDimensions: em,
6440
+ getElementRects: rm,
6441
+ getClientRects: Q1,
6442
+ getDimensions: tm,
6443
6443
  getScale: en,
6444
6444
  isElement: Oe,
6445
- isRTL: rm
6445
+ isRTL: om
6446
6446
  };
6447
6447
  function Ac(e, t) {
6448
6448
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
6449
6449
  }
6450
- function sm(e, t) {
6450
+ function im(e, t) {
6451
6451
  let n = null, r;
6452
6452
  const o = We(e);
6453
6453
  function s() {
@@ -6493,7 +6493,7 @@ function sm(e, t) {
6493
6493
  }
6494
6494
  return i(!0), s;
6495
6495
  }
6496
- function im(e, t, n, r) {
6496
+ function am(e, t, n, r) {
6497
6497
  r === void 0 && (r = {});
6498
6498
  const {
6499
6499
  ancestorScroll: o = !0,
@@ -6507,7 +6507,7 @@ function im(e, t, n, r) {
6507
6507
  passive: !0
6508
6508
  }), s && C.addEventListener("resize", n);
6509
6509
  });
6510
- const h = l && a ? sm(l, n) : null;
6510
+ const h = l && a ? im(l, n) : null;
6511
6511
  let p = -1, g = null;
6512
6512
  i && (g = new ResizeObserver((C) => {
6513
6513
  let [x] = C;
@@ -6529,21 +6529,21 @@ function im(e, t, n, r) {
6529
6529
  }), h == null || h(), (C = g) == null || C.disconnect(), g = null, c && cancelAnimationFrame(w);
6530
6530
  };
6531
6531
  }
6532
- const am = j1, cm = D1, lm = A1, um = N1, dm = P1, Hi = T1, fm = L1, hm = (e, t, n) => {
6532
+ const cm = D1, lm = L1, um = P1, dm = I1, fm = O1, Hi = A1, hm = N1, pm = (e, t, n) => {
6533
6533
  const r = /* @__PURE__ */ new Map(), o = {
6534
- platform: om,
6534
+ platform: sm,
6535
6535
  ...n
6536
6536
  }, s = {
6537
6537
  ...o.platform,
6538
6538
  _c: r
6539
6539
  };
6540
- return R1(e, t, {
6540
+ return T1(e, t, {
6541
6541
  ...o,
6542
6542
  platform: s
6543
6543
  });
6544
6544
  };
6545
- var pm = typeof document < "u", mm = function() {
6546
- }, xr = pm ? _u : mm;
6545
+ var mm = typeof document < "u", gm = function() {
6546
+ }, xr = mm ? _u : gm;
6547
6547
  function Ir(e, t) {
6548
6548
  if (e === t)
6549
6549
  return !0;
@@ -6587,7 +6587,7 @@ function go(e) {
6587
6587
  t.current = e;
6588
6588
  }), t;
6589
6589
  }
6590
- function gm(e) {
6590
+ function ym(e) {
6591
6591
  e === void 0 && (e = {});
6592
6592
  const {
6593
6593
  placement: t = "bottom",
@@ -6622,7 +6622,7 @@ function gm(e) {
6622
6622
  strategy: n,
6623
6623
  middleware: p
6624
6624
  };
6625
- V.current && (M.platform = V.current), hm(A.current, T.current, M).then((oe) => {
6625
+ V.current && (M.platform = V.current), pm(A.current, T.current, M).then((oe) => {
6626
6626
  const we = {
6627
6627
  ...oe,
6628
6628
  // The floating element's position may be recomputed while it's closed
@@ -6689,7 +6689,7 @@ function gm(e) {
6689
6689
  floatingStyles: X
6690
6690
  }), [d, H, re, Z, X]);
6691
6691
  }
6692
- const ym = (e) => {
6692
+ const vm = (e) => {
6693
6693
  function t(n) {
6694
6694
  return {}.hasOwnProperty.call(n, "current");
6695
6695
  }
@@ -6710,17 +6710,14 @@ const ym = (e) => {
6710
6710
  }).fn(n) : {};
6711
6711
  }
6712
6712
  };
6713
- }, vm = (e, t) => ({
6714
- ...am(e),
6715
- options: [e, t]
6716
- }), bm = (e, t) => ({
6713
+ }, bm = (e, t) => ({
6717
6714
  ...cm(e),
6718
6715
  options: [e, t]
6719
6716
  }), wm = (e, t) => ({
6720
- ...fm(e),
6717
+ ...lm(e),
6721
6718
  options: [e, t]
6722
6719
  }), Cm = (e, t) => ({
6723
- ...lm(e),
6720
+ ...hm(e),
6724
6721
  options: [e, t]
6725
6722
  }), xm = (e, t) => ({
6726
6723
  ...um(e),
@@ -6729,10 +6726,13 @@ const ym = (e) => {
6729
6726
  ...dm(e),
6730
6727
  options: [e, t]
6731
6728
  }), Sm = (e, t) => ({
6732
- ...ym(e),
6729
+ ...fm(e),
6730
+ options: [e, t]
6731
+ }), _m = (e, t) => ({
6732
+ ...vm(e),
6733
6733
  options: [e, t]
6734
6734
  });
6735
- var _m = "Arrow", Oc = f.forwardRef((e, t) => {
6735
+ var Rm = "Arrow", Oc = f.forwardRef((e, t) => {
6736
6736
  const { children: n, width: r = 10, height: o = 5, ...s } = e;
6737
6737
  return /* @__PURE__ */ u.jsx(
6738
6738
  be.svg,
@@ -6747,9 +6747,9 @@ var _m = "Arrow", Oc = f.forwardRef((e, t) => {
6747
6747
  }
6748
6748
  );
6749
6749
  });
6750
- Oc.displayName = _m;
6751
- var Rm = Oc;
6752
- function Tm(e) {
6750
+ Oc.displayName = Rm;
6751
+ var Tm = Oc;
6752
+ function Am(e) {
6753
6753
  const [t, n] = f.useState(void 0);
6754
6754
  return yt(() => {
6755
6755
  if (e) {
@@ -6771,9 +6771,9 @@ function Tm(e) {
6771
6771
  n(void 0);
6772
6772
  }, [e]), t;
6773
6773
  }
6774
- var Ts = "Popper", [jc, Dc] = bs(Ts), [Am, Lc] = jc(Ts), Nc = (e) => {
6774
+ var Ts = "Popper", [jc, Dc] = bs(Ts), [Pm, Lc] = jc(Ts), Nc = (e) => {
6775
6775
  const { __scopePopper: t, children: n } = e, [r, o] = f.useState(null);
6776
- return /* @__PURE__ */ u.jsx(Am, { scope: t, anchor: r, onAnchorChange: o, children: n });
6776
+ return /* @__PURE__ */ u.jsx(Pm, { scope: t, anchor: r, onAnchorChange: o, children: n });
6777
6777
  };
6778
6778
  Nc.displayName = Ts;
6779
6779
  var Ic = "PopperAnchor", kc = f.forwardRef(
@@ -6786,7 +6786,7 @@ var Ic = "PopperAnchor", kc = f.forwardRef(
6786
6786
  }
6787
6787
  );
6788
6788
  kc.displayName = Ic;
6789
- var As = "PopperContent", [Pm, Om] = jc(As), $c = f.forwardRef(
6789
+ var As = "PopperContent", [Om, jm] = jc(As), $c = f.forwardRef(
6790
6790
  (e, t) => {
6791
6791
  var qt, Et, zt, St, qn, Sn;
6792
6792
  const {
@@ -6804,40 +6804,40 @@ var As = "PopperContent", [Pm, Om] = jc(As), $c = f.forwardRef(
6804
6804
  updatePositionStrategy: g = "optimized",
6805
6805
  onPlaced: w,
6806
6806
  ...m
6807
- } = e, y = Lc(As, n), [C, x] = f.useState(null), S = De(t, (_t) => x(_t)), [E, _] = f.useState(null), A = Tm(E), T = (A == null ? void 0 : A.width) ?? 0, k = (A == null ? void 0 : A.height) ?? 0, N = r + (s !== "center" ? "-" + s : ""), L = typeof d == "number" ? d : { top: 0, right: 0, bottom: 0, left: 0, ...d }, V = Array.isArray(l) ? l : [l], Q = V.length > 0, H = {
6807
+ } = e, y = Lc(As, n), [C, x] = f.useState(null), S = De(t, (_t) => x(_t)), [E, _] = f.useState(null), A = Am(E), T = (A == null ? void 0 : A.width) ?? 0, k = (A == null ? void 0 : A.height) ?? 0, N = r + (s !== "center" ? "-" + s : ""), L = typeof d == "number" ? d : { top: 0, right: 0, bottom: 0, left: 0, ...d }, V = Array.isArray(l) ? l : [l], Q = V.length > 0, H = {
6808
6808
  padding: L,
6809
- boundary: V.filter(Dm),
6809
+ boundary: V.filter(Lm),
6810
6810
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
6811
6811
  altBoundary: Q
6812
- }, { refs: G, floatingStyles: re, placement: Z, isPositioned: X, middlewareData: M } = gm({
6812
+ }, { refs: G, floatingStyles: re, placement: Z, isPositioned: X, middlewareData: M } = ym({
6813
6813
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
6814
6814
  strategy: "fixed",
6815
6815
  placement: N,
6816
- whileElementsMounted: (..._t) => im(..._t, {
6816
+ whileElementsMounted: (..._t) => am(..._t, {
6817
6817
  animationFrame: g === "always"
6818
6818
  }),
6819
6819
  elements: {
6820
6820
  reference: y.anchor
6821
6821
  },
6822
6822
  middleware: [
6823
- vm({ mainAxis: o + k, alignmentAxis: i }),
6824
- c && bm({
6823
+ bm({ mainAxis: o + k, alignmentAxis: i }),
6824
+ c && wm({
6825
6825
  mainAxis: !0,
6826
6826
  crossAxis: !1,
6827
- limiter: h === "partial" ? wm() : void 0,
6827
+ limiter: h === "partial" ? Cm() : void 0,
6828
6828
  ...H
6829
6829
  }),
6830
- c && Cm({ ...H }),
6831
- xm({
6830
+ c && xm({ ...H }),
6831
+ Em({
6832
6832
  ...H,
6833
6833
  apply: ({ elements: _t, rects: zn, availableWidth: Gt, availableHeight: Rt }) => {
6834
6834
  const { width: Gn, height: Qn } = zn.reference, He = _t.floating.style;
6835
6835
  He.setProperty("--radix-popper-available-width", `${Gt}px`), He.setProperty("--radix-popper-available-height", `${Rt}px`), He.setProperty("--radix-popper-anchor-width", `${Gn}px`), He.setProperty("--radix-popper-anchor-height", `${Qn}px`);
6836
6836
  }
6837
6837
  }),
6838
- E && Sm({ element: E, padding: a }),
6839
- Lm({ arrowWidth: T, arrowHeight: k }),
6840
- p && Em({ strategy: "referenceHidden", ...H })
6838
+ E && _m({ element: E, padding: a }),
6839
+ Nm({ arrowWidth: T, arrowHeight: k }),
6840
+ p && Sm({ strategy: "referenceHidden", ...H })
6841
6841
  ]
6842
6842
  }), [oe, we] = Bc(Z), xt = gn(w);
6843
6843
  yt(() => {
@@ -6871,7 +6871,7 @@ var As = "PopperContent", [Pm, Om] = jc(As), $c = f.forwardRef(
6871
6871
  },
6872
6872
  dir: e.dir,
6873
6873
  children: /* @__PURE__ */ u.jsx(
6874
- Pm,
6874
+ Om,
6875
6875
  {
6876
6876
  scope: n,
6877
6877
  placedSide: oe,
@@ -6901,13 +6901,13 @@ var As = "PopperContent", [Pm, Om] = jc(As), $c = f.forwardRef(
6901
6901
  }
6902
6902
  );
6903
6903
  $c.displayName = As;
6904
- var Mc = "PopperArrow", jm = {
6904
+ var Mc = "PopperArrow", Dm = {
6905
6905
  top: "bottom",
6906
6906
  right: "left",
6907
6907
  bottom: "top",
6908
6908
  left: "right"
6909
6909
  }, Fc = f.forwardRef(function(t, n) {
6910
- const { __scopePopper: r, ...o } = t, s = Om(Mc, r), i = jm[s.placedSide];
6910
+ const { __scopePopper: r, ...o } = t, s = jm(Mc, r), i = Dm[s.placedSide];
6911
6911
  return (
6912
6912
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
6913
6913
  // doesn't report size as we'd expect on SVG elements.
@@ -6936,7 +6936,7 @@ var Mc = "PopperArrow", jm = {
6936
6936
  visibility: s.shouldHideArrow ? "hidden" : void 0
6937
6937
  },
6938
6938
  children: /* @__PURE__ */ u.jsx(
6939
- Rm,
6939
+ Tm,
6940
6940
  {
6941
6941
  ...o,
6942
6942
  ref: n,
@@ -6952,10 +6952,10 @@ var Mc = "PopperArrow", jm = {
6952
6952
  );
6953
6953
  });
6954
6954
  Fc.displayName = Mc;
6955
- function Dm(e) {
6955
+ function Lm(e) {
6956
6956
  return e !== null;
6957
6957
  }
6958
- var Lm = (e) => ({
6958
+ var Nm = (e) => ({
6959
6959
  name: "transformOrigin",
6960
6960
  options: e,
6961
6961
  fn(t) {
@@ -6969,24 +6969,24 @@ function Bc(e) {
6969
6969
  const [t, n = "center"] = e.split("-");
6970
6970
  return [t, n];
6971
6971
  }
6972
- var Nm = Nc, Im = kc, km = $c, $m = Fc, Mm = "Portal", Ps = f.forwardRef((e, t) => {
6972
+ var Im = Nc, km = kc, $m = $c, Mm = Fc, Fm = "Portal", Ps = f.forwardRef((e, t) => {
6973
6973
  var a;
6974
6974
  const { container: n, ...r } = e, [o, s] = f.useState(!1);
6975
6975
  yt(() => s(!0), []);
6976
6976
  const i = n || o && ((a = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : a.body);
6977
6977
  return i ? Tu.createPortal(/* @__PURE__ */ u.jsx(be.div, { ...r, ref: t }), i) : null;
6978
6978
  });
6979
- Ps.displayName = Mm;
6980
- function Fm(e, t) {
6979
+ Ps.displayName = Fm;
6980
+ function Bm(e, t) {
6981
6981
  return f.useReducer((n, r) => t[n][r] ?? n, e);
6982
6982
  }
6983
6983
  var xn = (e) => {
6984
- const { present: t, children: n } = e, r = Bm(t), o = typeof n == "function" ? n({ present: r.isPresent }) : f.Children.only(n), s = De(r.ref, Um(o));
6984
+ const { present: t, children: n } = e, r = Um(t), o = typeof n == "function" ? n({ present: r.isPresent }) : f.Children.only(n), s = De(r.ref, Wm(o));
6985
6985
  return typeof n == "function" || r.isPresent ? f.cloneElement(o, { ref: s }) : null;
6986
6986
  };
6987
6987
  xn.displayName = "Presence";
6988
- function Bm(e) {
6989
- const [t, n] = f.useState(), r = f.useRef(null), o = f.useRef(e), s = f.useRef("none"), i = e ? "mounted" : "unmounted", [a, c] = Fm(i, {
6988
+ function Um(e) {
6989
+ const [t, n] = f.useState(), r = f.useRef(null), o = f.useRef(e), s = f.useRef("none"), i = e ? "mounted" : "unmounted", [a, c] = Bm(i, {
6990
6990
  mounted: {
6991
6991
  UNMOUNT: "unmounted",
6992
6992
  ANIMATION_OUT: "unmountSuspended"
@@ -7037,18 +7037,18 @@ function Bm(e) {
7037
7037
  function cr(e) {
7038
7038
  return (e == null ? void 0 : e.animationName) || "none";
7039
7039
  }
7040
- function Um(e) {
7040
+ function Wm(e) {
7041
7041
  var r, o;
7042
7042
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
7043
7043
  return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
7044
7044
  }
7045
- var Wm = Symbol("radix.slottable");
7045
+ var Hm = Symbol("radix.slottable");
7046
7046
  // @__NO_SIDE_EFFECTS__
7047
- function Hm(e) {
7047
+ function Vm(e) {
7048
7048
  const t = ({ children: n }) => /* @__PURE__ */ u.jsx(u.Fragment, { children: n });
7049
- return t.displayName = `${e}.Slottable`, t.__radixId = Wm, t;
7049
+ return t.displayName = `${e}.Slottable`, t.__radixId = Hm, t;
7050
7050
  }
7051
- var Vm = f[" useInsertionEffect ".trim().toString()] || yt;
7051
+ var qm = f[" useInsertionEffect ".trim().toString()] || yt;
7052
7052
  function Uc({
7053
7053
  prop: e,
7054
7054
  defaultProp: t,
@@ -7056,7 +7056,7 @@ function Uc({
7056
7056
  },
7057
7057
  caller: r
7058
7058
  }) {
7059
- const [o, s, i] = qm({
7059
+ const [o, s, i] = zm({
7060
7060
  defaultProp: t,
7061
7061
  onChange: n
7062
7062
  }), a = e !== void 0, c = a ? e : o;
@@ -7073,7 +7073,7 @@ function Uc({
7073
7073
  (d) => {
7074
7074
  var h;
7075
7075
  if (a) {
7076
- const p = zm(d) ? d(e) : d;
7076
+ const p = Gm(d) ? d(e) : d;
7077
7077
  p !== e && ((h = i.current) == null || h.call(i, p));
7078
7078
  } else
7079
7079
  s(d);
@@ -7082,22 +7082,22 @@ function Uc({
7082
7082
  );
7083
7083
  return [c, l];
7084
7084
  }
7085
- function qm({
7085
+ function zm({
7086
7086
  defaultProp: e,
7087
7087
  onChange: t
7088
7088
  }) {
7089
7089
  const [n, r] = f.useState(e), o = f.useRef(n), s = f.useRef(t);
7090
- return Vm(() => {
7090
+ return qm(() => {
7091
7091
  s.current = t;
7092
7092
  }, [t]), f.useEffect(() => {
7093
7093
  var i;
7094
7094
  o.current !== n && ((i = s.current) == null || i.call(s, n), o.current = n);
7095
7095
  }, [n, o]), [n, r, s];
7096
7096
  }
7097
- function zm(e) {
7097
+ function Gm(e) {
7098
7098
  return typeof e == "function";
7099
7099
  }
7100
- var Gm = Object.freeze({
7100
+ var Qm = Object.freeze({
7101
7101
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
7102
7102
  position: "absolute",
7103
7103
  border: 0,
@@ -7109,23 +7109,23 @@ var Gm = Object.freeze({
7109
7109
  clip: "rect(0, 0, 0, 0)",
7110
7110
  whiteSpace: "nowrap",
7111
7111
  wordWrap: "normal"
7112
- }), Qm = "VisuallyHidden", Wc = f.forwardRef(
7112
+ }), Km = "VisuallyHidden", Wc = f.forwardRef(
7113
7113
  (e, t) => /* @__PURE__ */ u.jsx(
7114
7114
  be.span,
7115
7115
  {
7116
7116
  ...e,
7117
7117
  ref: t,
7118
- style: { ...Gm, ...e.style }
7118
+ style: { ...Qm, ...e.style }
7119
7119
  }
7120
7120
  )
7121
7121
  );
7122
- Wc.displayName = Qm;
7123
- var Km = Wc, [Yr] = bs("Tooltip", [
7122
+ Wc.displayName = Km;
7123
+ var Ym = Wc, [Yr] = bs("Tooltip", [
7124
7124
  Dc
7125
- ]), Zr = Dc(), Hc = "TooltipProvider", Ym = 700, rs = "tooltip.open", [Zm, Os] = Yr(Hc), Vc = (e) => {
7125
+ ]), Zr = Dc(), Hc = "TooltipProvider", Zm = 700, rs = "tooltip.open", [Xm, Os] = Yr(Hc), Vc = (e) => {
7126
7126
  const {
7127
7127
  __scopeTooltip: t,
7128
- delayDuration: n = Ym,
7128
+ delayDuration: n = Zm,
7129
7129
  skipDelayDuration: r = 300,
7130
7130
  disableHoverableContent: o = !1,
7131
7131
  children: s
@@ -7134,7 +7134,7 @@ var Km = Wc, [Yr] = bs("Tooltip", [
7134
7134
  const l = c.current;
7135
7135
  return () => window.clearTimeout(l);
7136
7136
  }, []), /* @__PURE__ */ u.jsx(
7137
- Zm,
7137
+ Xm,
7138
7138
  {
7139
7139
  scope: t,
7140
7140
  isOpenDelayedRef: i,
@@ -7158,7 +7158,7 @@ var Km = Wc, [Yr] = bs("Tooltip", [
7158
7158
  );
7159
7159
  };
7160
7160
  Vc.displayName = Hc;
7161
- var Ln = "Tooltip", [Xm, Wn] = Yr(Ln), qc = (e) => {
7161
+ var Ln = "Tooltip", [Jm, Wn] = Yr(Ln), qc = (e) => {
7162
7162
  const {
7163
7163
  __scopeTooltip: t,
7164
7164
  children: n,
@@ -7185,8 +7185,8 @@ var Ln = "Tooltip", [Xm, Wn] = Yr(Ln), qc = (e) => {
7185
7185
  }, [m, x]);
7186
7186
  return f.useEffect(() => () => {
7187
7187
  g.current && (window.clearTimeout(g.current), g.current = 0);
7188
- }, []), /* @__PURE__ */ u.jsx(Nm, { ...l, children: /* @__PURE__ */ u.jsx(
7189
- Xm,
7188
+ }, []), /* @__PURE__ */ u.jsx(Im, { ...l, children: /* @__PURE__ */ u.jsx(
7189
+ Jm,
7190
7190
  {
7191
7191
  scope: t,
7192
7192
  contentId: p,
@@ -7211,7 +7211,7 @@ qc.displayName = Ln;
7211
7211
  var os = "TooltipTrigger", zc = f.forwardRef(
7212
7212
  (e, t) => {
7213
7213
  const { __scopeTooltip: n, ...r } = e, o = Wn(os, n), s = Os(os, n), i = Zr(n), a = f.useRef(null), c = De(t, a, o.onTriggerChange), l = f.useRef(!1), d = f.useRef(!1), h = f.useCallback(() => l.current = !1, []);
7214
- return f.useEffect(() => () => document.removeEventListener("pointerup", h), [h]), /* @__PURE__ */ u.jsx(Im, { asChild: !0, ...i, children: /* @__PURE__ */ u.jsx(
7214
+ return f.useEffect(() => () => document.removeEventListener("pointerup", h), [h]), /* @__PURE__ */ u.jsx(km, { asChild: !0, ...i, children: /* @__PURE__ */ u.jsx(
7215
7215
  be.button,
7216
7216
  {
7217
7217
  "aria-describedby": o.open ? o.contentId : void 0,
@@ -7237,24 +7237,24 @@ var os = "TooltipTrigger", zc = f.forwardRef(
7237
7237
  }
7238
7238
  );
7239
7239
  zc.displayName = os;
7240
- var js = "TooltipPortal", [Jm, eg] = Yr(js, {
7240
+ var js = "TooltipPortal", [eg, tg] = Yr(js, {
7241
7241
  forceMount: void 0
7242
7242
  }), Gc = (e) => {
7243
7243
  const { __scopeTooltip: t, forceMount: n, children: r, container: o } = e, s = Wn(js, t);
7244
- return /* @__PURE__ */ u.jsx(Jm, { scope: t, forceMount: n, children: /* @__PURE__ */ u.jsx(xn, { present: n || s.open, children: /* @__PURE__ */ u.jsx(Ps, { asChild: !0, container: o, children: r }) }) });
7244
+ return /* @__PURE__ */ u.jsx(eg, { scope: t, forceMount: n, children: /* @__PURE__ */ u.jsx(xn, { present: n || s.open, children: /* @__PURE__ */ u.jsx(Ps, { asChild: !0, container: o, children: r }) }) });
7245
7245
  };
7246
7246
  Gc.displayName = js;
7247
7247
  var vn = "TooltipContent", Qc = f.forwardRef(
7248
7248
  (e, t) => {
7249
- const n = eg(vn, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...s } = e, i = Wn(vn, e.__scopeTooltip);
7250
- return /* @__PURE__ */ u.jsx(xn, { present: r || i.open, children: i.disableHoverableContent ? /* @__PURE__ */ u.jsx(Kc, { side: o, ...s, ref: t }) : /* @__PURE__ */ u.jsx(tg, { side: o, ...s, ref: t }) });
7249
+ const n = tg(vn, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...s } = e, i = Wn(vn, e.__scopeTooltip);
7250
+ return /* @__PURE__ */ u.jsx(xn, { present: r || i.open, children: i.disableHoverableContent ? /* @__PURE__ */ u.jsx(Kc, { side: o, ...s, ref: t }) : /* @__PURE__ */ u.jsx(ng, { side: o, ...s, ref: t }) });
7251
7251
  }
7252
- ), tg = f.forwardRef((e, t) => {
7252
+ ), ng = f.forwardRef((e, t) => {
7253
7253
  const n = Wn(vn, e.__scopeTooltip), r = Os(vn, e.__scopeTooltip), o = f.useRef(null), s = De(t, o), [i, a] = f.useState(null), { trigger: c, onClose: l } = n, d = o.current, { onPointerInTransitChange: h } = r, p = f.useCallback(() => {
7254
7254
  a(null), h(!1);
7255
7255
  }, [h]), g = f.useCallback(
7256
7256
  (w, m) => {
7257
- const y = w.currentTarget, C = { x: w.clientX, y: w.clientY }, x = sg(C, y.getBoundingClientRect()), S = ig(C, x), E = ag(m.getBoundingClientRect()), _ = lg([...S, ...E]);
7257
+ const y = w.currentTarget, C = { x: w.clientX, y: w.clientY }, x = ig(C, y.getBoundingClientRect()), S = ag(C, x), E = cg(m.getBoundingClientRect()), _ = ug([...S, ...E]);
7258
7258
  a(_), h(!0);
7259
7259
  },
7260
7260
  [h]
@@ -7269,13 +7269,13 @@ var vn = "TooltipContent", Qc = f.forwardRef(
7269
7269
  }, [c, d, g, p]), f.useEffect(() => {
7270
7270
  if (i) {
7271
7271
  const w = (m) => {
7272
- const y = m.target, C = { x: m.clientX, y: m.clientY }, x = (c == null ? void 0 : c.contains(y)) || (d == null ? void 0 : d.contains(y)), S = !cg(C, i);
7272
+ const y = m.target, C = { x: m.clientX, y: m.clientY }, x = (c == null ? void 0 : c.contains(y)) || (d == null ? void 0 : d.contains(y)), S = !lg(C, i);
7273
7273
  x ? p() : S && (p(), l());
7274
7274
  };
7275
7275
  return document.addEventListener("pointermove", w), () => document.removeEventListener("pointermove", w);
7276
7276
  }
7277
7277
  }, [c, d, i, l, p]), /* @__PURE__ */ u.jsx(Kc, { ...e, ref: s });
7278
- }), [ng, rg] = Yr(Ln, { isInside: !1 }), og = /* @__PURE__ */ Hm("TooltipContent"), Kc = f.forwardRef(
7278
+ }), [rg, og] = Yr(Ln, { isInside: !1 }), sg = /* @__PURE__ */ Vm("TooltipContent"), Kc = f.forwardRef(
7279
7279
  (e, t) => {
7280
7280
  const {
7281
7281
  __scopeTooltip: n,
@@ -7303,7 +7303,7 @@ var vn = "TooltipContent", Qc = f.forwardRef(
7303
7303
  onFocusOutside: (h) => h.preventDefault(),
7304
7304
  onDismiss: d,
7305
7305
  children: /* @__PURE__ */ u.jsxs(
7306
- km,
7306
+ $m,
7307
7307
  {
7308
7308
  "data-state": c.stateAttribute,
7309
7309
  ...l,
@@ -7318,8 +7318,8 @@ var vn = "TooltipContent", Qc = f.forwardRef(
7318
7318
  "--radix-tooltip-trigger-height": "var(--radix-popper-anchor-height)"
7319
7319
  },
7320
7320
  children: [
7321
- /* @__PURE__ */ u.jsx(og, { children: r }),
7322
- /* @__PURE__ */ u.jsx(ng, { scope: n, isInside: !0, children: /* @__PURE__ */ u.jsx(Km, { id: c.contentId, role: "tooltip", children: o || r }) })
7321
+ /* @__PURE__ */ u.jsx(sg, { children: r }),
7322
+ /* @__PURE__ */ u.jsx(rg, { scope: n, isInside: !0, children: /* @__PURE__ */ u.jsx(Ym, { id: c.contentId, role: "tooltip", children: o || r }) })
7323
7323
  ]
7324
7324
  }
7325
7325
  )
@@ -7331,14 +7331,14 @@ Qc.displayName = vn;
7331
7331
  var Yc = "TooltipArrow", Zc = f.forwardRef(
7332
7332
  (e, t) => {
7333
7333
  const { __scopeTooltip: n, ...r } = e, o = Zr(n);
7334
- return rg(
7334
+ return og(
7335
7335
  Yc,
7336
7336
  n
7337
- ).isInside ? null : /* @__PURE__ */ u.jsx($m, { ...o, ...r, ref: t });
7337
+ ).isInside ? null : /* @__PURE__ */ u.jsx(Mm, { ...o, ...r, ref: t });
7338
7338
  }
7339
7339
  );
7340
7340
  Zc.displayName = Yc;
7341
- function sg(e, t) {
7341
+ function ig(e, t) {
7342
7342
  const n = Math.abs(t.top - e.y), r = Math.abs(t.bottom - e.y), o = Math.abs(t.right - e.x), s = Math.abs(t.left - e.x);
7343
7343
  switch (Math.min(n, r, o, s)) {
7344
7344
  case s:
@@ -7353,7 +7353,7 @@ function sg(e, t) {
7353
7353
  throw new Error("unreachable");
7354
7354
  }
7355
7355
  }
7356
- function ig(e, t, n = 5) {
7356
+ function ag(e, t, n = 5) {
7357
7357
  const r = [];
7358
7358
  switch (t) {
7359
7359
  case "top":
@@ -7383,7 +7383,7 @@ function ig(e, t, n = 5) {
7383
7383
  }
7384
7384
  return r;
7385
7385
  }
7386
- function ag(e) {
7386
+ function cg(e) {
7387
7387
  const { top: t, right: n, bottom: r, left: o } = e;
7388
7388
  return [
7389
7389
  { x: o, y: t },
@@ -7392,7 +7392,7 @@ function ag(e) {
7392
7392
  { x: o, y: r }
7393
7393
  ];
7394
7394
  }
7395
- function cg(e, t) {
7395
+ function lg(e, t) {
7396
7396
  const { x: n, y: r } = e;
7397
7397
  let o = !1;
7398
7398
  for (let s = 0, i = t.length - 1; s < t.length; i = s++) {
@@ -7401,11 +7401,11 @@ function cg(e, t) {
7401
7401
  }
7402
7402
  return o;
7403
7403
  }
7404
- function lg(e) {
7404
+ function ug(e) {
7405
7405
  const t = e.slice();
7406
- return t.sort((n, r) => n.x < r.x ? -1 : n.x > r.x ? 1 : n.y < r.y ? -1 : n.y > r.y ? 1 : 0), ug(t);
7406
+ return t.sort((n, r) => n.x < r.x ? -1 : n.x > r.x ? 1 : n.y < r.y ? -1 : n.y > r.y ? 1 : 0), dg(t);
7407
7407
  }
7408
- function ug(e) {
7408
+ function dg(e) {
7409
7409
  if (e.length <= 1) return e.slice();
7410
7410
  const t = [];
7411
7411
  for (let r = 0; r < e.length; r++) {
@@ -7430,11 +7430,11 @@ function ug(e) {
7430
7430
  }
7431
7431
  return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n);
7432
7432
  }
7433
- var dg = Vc, fg = qc, hg = zc, pg = Gc, mg = Qc, gg = Zc;
7434
- const yg = "tooltip__nUuSh", vg = "tooltipArrow__W2w-f", qi = {
7435
- tooltip: yg,
7436
- tooltipArrow: vg
7437
- }, bg = ({
7433
+ var fg = Vc, hg = qc, pg = zc, mg = Gc, gg = Qc, yg = Zc;
7434
+ const vg = "tooltip__nUuSh", bg = "tooltipArrow__W2w-f", qi = {
7435
+ tooltip: vg,
7436
+ tooltipArrow: bg
7437
+ }, wg = ({
7438
7438
  children: e,
7439
7439
  open: t,
7440
7440
  displayName: n,
@@ -7448,30 +7448,30 @@ const yg = "tooltip__nUuSh", vg = "tooltipArrow__W2w-f", qi = {
7448
7448
  const [l, d] = ee(!1), h = t !== void 0, g = s ? !1 : h ? t : l, w = (m) => {
7449
7449
  s || h || d(m);
7450
7450
  };
7451
- return /* @__PURE__ */ u.jsx(dg, { delayDuration: i, children: /* @__PURE__ */ u.jsxs(fg, { open: g, onOpenChange: w, children: [
7452
- /* @__PURE__ */ u.jsx(hg, { asChild: !0, children: e }),
7453
- /* @__PURE__ */ u.jsx(pg, { children: /* @__PURE__ */ u.jsxs(mg, { className: j(qi.tooltip, o), side: a, sideOffset: c, children: [
7451
+ return /* @__PURE__ */ u.jsx(fg, { delayDuration: i, children: /* @__PURE__ */ u.jsxs(hg, { open: g, onOpenChange: w, children: [
7452
+ /* @__PURE__ */ u.jsx(pg, { asChild: !0, children: e }),
7453
+ /* @__PURE__ */ u.jsx(mg, { children: /* @__PURE__ */ u.jsxs(gg, { className: j(qi.tooltip, o), side: a, sideOffset: c, children: [
7454
7454
  n,
7455
7455
  r,
7456
- /* @__PURE__ */ u.jsx(gg, { className: qi.tooltipArrow })
7456
+ /* @__PURE__ */ u.jsx(yg, { className: qi.tooltipArrow })
7457
7457
  ] }) })
7458
7458
  ] }) });
7459
7459
  };
7460
- bg.displayName = "Tooltip";
7461
- const wg = "spinner__qa7F6", Cg = "rotate__EqlXe", xg = "spinner-dark__9A9-q", Eg = "spinner-white__gRbtI", Sg = "spinner-success__otWGm", _g = "spinner-danger__Bq5DM", Rg = "spinner-warning__U900K", zi = {
7462
- spinner: wg,
7463
- rotate: Cg,
7460
+ wg.displayName = "Tooltip";
7461
+ const Cg = "spinner__qa7F6", xg = "rotate__EqlXe", Eg = "spinner-dark__9A9-q", Sg = "spinner-white__gRbtI", _g = "spinner-success__otWGm", Rg = "spinner-danger__Bq5DM", Tg = "spinner-warning__U900K", zi = {
7462
+ spinner: Cg,
7463
+ rotate: xg,
7464
7464
  "spinner-dark": "spinner-dark__9A9-q",
7465
- spinnerDark: xg,
7465
+ spinnerDark: Eg,
7466
7466
  "spinner-white": "spinner-white__gRbtI",
7467
- spinnerWhite: Eg,
7467
+ spinnerWhite: Sg,
7468
7468
  "spinner-success": "spinner-success__otWGm",
7469
- spinnerSuccess: Sg,
7469
+ spinnerSuccess: _g,
7470
7470
  "spinner-danger": "spinner-danger__Bq5DM",
7471
- spinnerDanger: _g,
7471
+ spinnerDanger: Rg,
7472
7472
  "spinner-warning": "spinner-warning__U900K",
7473
- spinnerWarning: Rg
7474
- }, Tg = ({ className: e, color: t = "white", size: n = 80, thickness: r }) => {
7473
+ spinnerWarning: Tg
7474
+ }, Ag = ({ className: e, color: t = "white", size: n = 80, thickness: r }) => {
7475
7475
  const o = j(
7476
7476
  zi.spinner,
7477
7477
  zi[`spinner-${t}`],
@@ -7479,13 +7479,13 @@ const wg = "spinner__qa7F6", Cg = "rotate__EqlXe", xg = "spinner-dark__9A9-q", E
7479
7479
  ), s = r ?? Math.max(n / 12, 2);
7480
7480
  return /* @__PURE__ */ u.jsx("span", { style: { width: n, height: n, borderWidth: s }, className: o });
7481
7481
  };
7482
- Tg.displayName = "Spinner";
7483
- const Ag = "disabled__KpauE", Pg = "checked__2-JV-", Og = "thumb__fEuKD", lr = {
7482
+ Ag.displayName = "Spinner";
7483
+ const Pg = "disabled__KpauE", Og = "checked__2-JV-", jg = "thumb__fEuKD", lr = {
7484
7484
  switch: "switch__0b2av",
7485
- disabled: Ag,
7486
- checked: Pg,
7487
- thumb: Og
7488
- }, jg = W(
7485
+ disabled: Pg,
7486
+ checked: Og,
7487
+ thumb: jg
7488
+ }, Dg = W(
7489
7489
  ({
7490
7490
  checked: e,
7491
7491
  defaultChecked: t = !1,
@@ -7531,24 +7531,24 @@ const Ag = "disabled__KpauE", Pg = "checked__2-JV-", Og = "thumb__fEuKD", lr = {
7531
7531
  );
7532
7532
  }
7533
7533
  );
7534
- jg.displayName = "Switch";
7535
- const Dg = "tabs-root__ELmdj", Lg = "tabs-list__rc10N", Ng = "tabs-list--horizontal__e1YW4", Ig = "tabs-list--vertical__huK05", kg = "tabs-trigger__D8R4R", $g = "tabs-trigger--disabled__ezDWc", Mg = "tabs-trigger--horizontal__4jBFV", Fg = "tabs-trigger--active__S-Z-S", Bg = "tabs-trigger--vertical__dNVIZ", Ug = "tabs-content__1d77o", Me = {
7536
- tabsRoot: Dg,
7537
- tabsList: Lg,
7538
- tabsListHorizontal: Ng,
7539
- tabsListVertical: Ig,
7540
- tabsTrigger: kg,
7541
- tabsTriggerDisabled: $g,
7542
- tabsTriggerHorizontal: Mg,
7543
- tabsTriggerActive: Fg,
7544
- tabsTriggerVertical: Bg,
7545
- tabsContent: Ug
7534
+ Dg.displayName = "Switch";
7535
+ const Lg = "tabs-root__ELmdj", Ng = "tabs-list__rc10N", Ig = "tabs-list--horizontal__e1YW4", kg = "tabs-list--vertical__huK05", $g = "tabs-trigger__D8R4R", Mg = "tabs-trigger--disabled__ezDWc", Fg = "tabs-trigger--horizontal__4jBFV", Bg = "tabs-trigger--active__S-Z-S", Ug = "tabs-trigger--vertical__dNVIZ", Wg = "tabs-content__1d77o", Me = {
7536
+ tabsRoot: Lg,
7537
+ tabsList: Ng,
7538
+ tabsListHorizontal: Ig,
7539
+ tabsListVertical: kg,
7540
+ tabsTrigger: $g,
7541
+ tabsTriggerDisabled: Mg,
7542
+ tabsTriggerHorizontal: Fg,
7543
+ tabsTriggerActive: Bg,
7544
+ tabsTriggerVertical: Ug,
7545
+ tabsContent: Wg
7546
7546
  }, Xc = ba(null), Ds = () => {
7547
7547
  const e = wa(Xc);
7548
7548
  if (!e)
7549
7549
  throw new Error("Tabs components must be used within a Tabs provider");
7550
7550
  return e;
7551
- }, h2 = ({
7551
+ }, p2 = ({
7552
7552
  defaultValue: e,
7553
7553
  value: t,
7554
7554
  onValueChange: n,
@@ -7560,7 +7560,7 @@ const Dg = "tabs-root__ELmdj", Lg = "tabs-list__rc10N", Ng = "tabs-list--horizon
7560
7560
  c || a(h), n == null || n(h);
7561
7561
  };
7562
7562
  return /* @__PURE__ */ u.jsx(Xc.Provider, { value: { value: l, onValueChange: d, orientation: r }, children: /* @__PURE__ */ u.jsx("div", { className: j(Me.tabsRoot, o), children: s }) });
7563
- }, p2 = ({ className: e = "", children: t }) => {
7563
+ }, m2 = ({ className: e = "", children: t }) => {
7564
7564
  const { orientation: n } = Ds(), r = Ca(null), o = (s) => {
7565
7565
  var l;
7566
7566
  const i = (l = r.current) == null ? void 0 : l.querySelectorAll('[role="tab"]:not([disabled])');
@@ -7609,7 +7609,7 @@ const Dg = "tabs-root__ELmdj", Lg = "tabs-list__rc10N", Ng = "tabs-list--horizon
7609
7609
  children: t
7610
7610
  }
7611
7611
  );
7612
- }, m2 = ({
7612
+ }, g2 = ({
7613
7613
  value: e,
7614
7614
  disabled: t = !1,
7615
7615
  className: n = "",
@@ -7637,7 +7637,7 @@ const Dg = "tabs-root__ELmdj", Lg = "tabs-list__rc10N", Ng = "tabs-list--horizon
7637
7637
  children: r
7638
7638
  }
7639
7639
  );
7640
- }, g2 = ({
7640
+ }, y2 = ({
7641
7641
  value: e,
7642
7642
  className: t = "",
7643
7643
  children: n
@@ -7654,22 +7654,22 @@ const Dg = "tabs-root__ELmdj", Lg = "tabs-list__rc10N", Ng = "tabs-list--horizon
7654
7654
  children: n
7655
7655
  }
7656
7656
  ) : null;
7657
- }, Wg = ({ className: e, state: t = "open", onClick: n }) => t === "open" ? /* @__PURE__ */ u.jsxs("svg", { className: e, onClick: n, xmlns: "http://www.w3.org/2000/svg", width: "1.5em", height: "1.5em", viewBox: "0 0 14 14", fill: "none", children: [
7657
+ }, Hg = ({ className: e, state: t = "open", onClick: n }) => t === "open" ? /* @__PURE__ */ u.jsxs("svg", { className: e, onClick: n, xmlns: "http://www.w3.org/2000/svg", width: "1.5em", height: "1.5em", viewBox: "0 0 14 14", fill: "none", children: [
7658
7658
  /* @__PURE__ */ u.jsx("path", { d: "M1.41174 7.41635C1.3323 7.29056 1.29257 7.22766 1.27034 7.13065C1.25364 7.05778 1.25364 6.94287 1.27034 6.87C1.29257 6.77299 1.3323 6.71009 1.41174 6.58431C2.06823 5.54482 4.02232 2.91699 7.00024 2.91699C9.97815 2.91699 11.9322 5.54482 12.5887 6.5843C12.6682 6.71009 12.7079 6.77299 12.7301 6.87C12.7468 6.94287 12.7468 7.05778 12.7301 7.13065C12.7079 7.22766 12.6682 7.29056 12.5887 7.41635C11.9322 8.45584 9.97815 11.0837 7.00024 11.0837C4.02232 11.0837 2.06823 8.45584 1.41174 7.41635Z", stroke: "#818181", strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" }),
7659
7659
  /* @__PURE__ */ u.jsx("path", { d: "M7.00024 8.75033C7.96673 8.75033 8.75024 7.96682 8.75024 7.00033C8.75024 6.03383 7.96673 5.25033 7.00024 5.25033C6.03374 5.25033 5.25024 6.03383 5.25024 7.00033C5.25024 7.96682 6.03374 8.75033 7.00024 8.75033Z", stroke: "#818181", strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" })
7660
- ] }) : /* @__PURE__ */ u.jsx("svg", { className: e, onClick: n, xmlns: "http://www.w3.org/2000/svg", width: "1.5em", height: "1.5em", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ u.jsx("path", { d: "M6.26672 2.97052C6.50379 2.93547 6.74835 2.91667 7.00024 2.91667C9.97816 2.91667 11.9323 5.54449 12.5887 6.58398C12.6682 6.70979 12.7079 6.7727 12.7302 6.86973C12.7469 6.94259 12.7468 7.05755 12.7301 7.13042C12.7079 7.22744 12.6679 7.29077 12.5879 7.41741C12.413 7.69425 12.1463 8.08331 11.793 8.50527M3.92252 3.9171C2.66131 4.77266 1.8051 5.9613 1.41231 6.58308C1.3325 6.70942 1.29259 6.7726 1.27035 6.86961C1.25364 6.94248 1.25363 7.05742 1.27033 7.13029C1.29257 7.22731 1.33229 7.29022 1.41174 7.41602C2.06823 8.45551 4.02232 11.0833 7.00024 11.0833C8.20098 11.0833 9.23526 10.6561 10.0851 10.078M1.75024 1.75L12.2502 12.25M5.76281 5.76256C5.44612 6.07925 5.25024 6.51675 5.25024 7C5.25024 7.9665 6.03374 8.75 7.00024 8.75C7.48349 8.75 7.92099 8.55413 8.23768 8.23744", stroke: "#818181", strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" }) }), Hg = "PasswordInput__GDJDN", Vg = "eyeIcon__kDExG", Gi = {
7661
- PasswordInput: Hg,
7662
- eyeIcon: Vg
7663
- }, y2 = W((e, t) => {
7660
+ ] }) : /* @__PURE__ */ u.jsx("svg", { className: e, onClick: n, xmlns: "http://www.w3.org/2000/svg", width: "1.5em", height: "1.5em", viewBox: "0 0 14 14", fill: "none", children: /* @__PURE__ */ u.jsx("path", { d: "M6.26672 2.97052C6.50379 2.93547 6.74835 2.91667 7.00024 2.91667C9.97816 2.91667 11.9323 5.54449 12.5887 6.58398C12.6682 6.70979 12.7079 6.7727 12.7302 6.86973C12.7469 6.94259 12.7468 7.05755 12.7301 7.13042C12.7079 7.22744 12.6679 7.29077 12.5879 7.41741C12.413 7.69425 12.1463 8.08331 11.793 8.50527M3.92252 3.9171C2.66131 4.77266 1.8051 5.9613 1.41231 6.58308C1.3325 6.70942 1.29259 6.7726 1.27035 6.86961C1.25364 6.94248 1.25363 7.05742 1.27033 7.13029C1.29257 7.22731 1.33229 7.29022 1.41174 7.41602C2.06823 8.45551 4.02232 11.0833 7.00024 11.0833C8.20098 11.0833 9.23526 10.6561 10.0851 10.078M1.75024 1.75L12.2502 12.25M5.76281 5.76256C5.44612 6.07925 5.25024 6.51675 5.25024 7C5.25024 7.9665 6.03374 8.75 7.00024 8.75C7.48349 8.75 7.92099 8.55413 8.23768 8.23744", stroke: "#818181", strokeWidth: "1.16667", strokeLinecap: "round", strokeLinejoin: "round" }) }), Vg = "PasswordInput__GDJDN", qg = "eyeIcon__kDExG", Gi = {
7661
+ PasswordInput: Vg,
7662
+ eyeIcon: qg
7663
+ }, v2 = W((e, t) => {
7664
7664
  const [n, r] = ee("password"), o = he(() => {
7665
7665
  r((s) => s === "password" ? "text" : "password");
7666
7666
  }, [r]);
7667
7667
  return /* @__PURE__ */ u.jsxs("div", { className: j(Gi.PasswordInput, e.className), children: [
7668
7668
  /* @__PURE__ */ u.jsx(gs, { type: n, ...e, ref: t }),
7669
- /* @__PURE__ */ u.jsx(Wg, { className: Gi.eyeIcon, onClick: o, state: n === "password" ? "open" : "closed" })
7669
+ /* @__PURE__ */ u.jsx(Hg, { className: Gi.eyeIcon, onClick: o, state: n === "password" ? "open" : "closed" })
7670
7670
  ] });
7671
7671
  });
7672
- var yo = "focusScope.autoFocusOnMount", vo = "focusScope.autoFocusOnUnmount", Qi = { bubbles: !1, cancelable: !0 }, qg = "FocusScope", Jc = f.forwardRef((e, t) => {
7672
+ var yo = "focusScope.autoFocusOnMount", vo = "focusScope.autoFocusOnUnmount", Qi = { bubbles: !1, cancelable: !0 }, zg = "FocusScope", Jc = f.forwardRef((e, t) => {
7673
7673
  const {
7674
7674
  loop: n = !1,
7675
7675
  trapped: r = !1,
@@ -7712,7 +7712,7 @@ var yo = "focusScope.autoFocusOnMount", vo = "focusScope.autoFocusOnUnmount", Qi
7712
7712
  const m = document.activeElement;
7713
7713
  if (!a.contains(m)) {
7714
7714
  const C = new CustomEvent(yo, Qi);
7715
- a.addEventListener(yo, l), a.dispatchEvent(C), C.defaultPrevented || (zg(Zg(el(a)), { select: !0 }), document.activeElement === m && nt(a));
7715
+ a.addEventListener(yo, l), a.dispatchEvent(C), C.defaultPrevented || (Gg(Xg(el(a)), { select: !0 }), document.activeElement === m && nt(a));
7716
7716
  }
7717
7717
  return () => {
7718
7718
  a.removeEventListener(yo, l), setTimeout(() => {
@@ -7727,7 +7727,7 @@ var yo = "focusScope.autoFocusOnMount", vo = "focusScope.autoFocusOnUnmount", Qi
7727
7727
  if (!n && !r || g.paused) return;
7728
7728
  const y = m.key === "Tab" && !m.altKey && !m.ctrlKey && !m.metaKey, C = document.activeElement;
7729
7729
  if (y && C) {
7730
- const x = m.currentTarget, [S, E] = Gg(x);
7730
+ const x = m.currentTarget, [S, E] = Qg(x);
7731
7731
  S && E ? !m.shiftKey && C === E ? (m.preventDefault(), n && nt(S, { select: !0 })) : m.shiftKey && C === S && (m.preventDefault(), n && nt(E, { select: !0 })) : C === x && m.preventDefault();
7732
7732
  }
7733
7733
  },
@@ -7735,13 +7735,13 @@ var yo = "focusScope.autoFocusOnMount", vo = "focusScope.autoFocusOnUnmount", Qi
7735
7735
  );
7736
7736
  return /* @__PURE__ */ u.jsx(be.div, { tabIndex: -1, ...i, ref: p, onKeyDown: w });
7737
7737
  });
7738
- Jc.displayName = qg;
7739
- function zg(e, { select: t = !1 } = {}) {
7738
+ Jc.displayName = zg;
7739
+ function Gg(e, { select: t = !1 } = {}) {
7740
7740
  const n = document.activeElement;
7741
7741
  for (const r of e)
7742
7742
  if (nt(r, { select: t }), document.activeElement !== n) return;
7743
7743
  }
7744
- function Gg(e) {
7744
+ function Qg(e) {
7745
7745
  const t = el(e), n = Ki(t, e), r = Ki(t.reverse(), e);
7746
7746
  return [n, r];
7747
7747
  }
@@ -7757,9 +7757,9 @@ function el(e) {
7757
7757
  }
7758
7758
  function Ki(e, t) {
7759
7759
  for (const n of e)
7760
- if (!Qg(n, { upTo: t })) return n;
7760
+ if (!Kg(n, { upTo: t })) return n;
7761
7761
  }
7762
- function Qg(e, { upTo: t }) {
7762
+ function Kg(e, { upTo: t }) {
7763
7763
  if (getComputedStyle(e).visibility === "hidden") return !0;
7764
7764
  for (; e; ) {
7765
7765
  if (t !== void 0 && e === t) return !1;
@@ -7768,17 +7768,17 @@ function Qg(e, { upTo: t }) {
7768
7768
  }
7769
7769
  return !1;
7770
7770
  }
7771
- function Kg(e) {
7771
+ function Yg(e) {
7772
7772
  return e instanceof HTMLInputElement && "select" in e;
7773
7773
  }
7774
7774
  function nt(e, { select: t = !1 } = {}) {
7775
7775
  if (e && e.focus) {
7776
7776
  const n = document.activeElement;
7777
- e.focus({ preventScroll: !0 }), e !== n && Kg(e) && t && e.select();
7777
+ e.focus({ preventScroll: !0 }), e !== n && Yg(e) && t && e.select();
7778
7778
  }
7779
7779
  }
7780
- var Yi = Yg();
7781
- function Yg() {
7780
+ var Yi = Zg();
7781
+ function Zg() {
7782
7782
  let e = [];
7783
7783
  return {
7784
7784
  add(t) {
@@ -7795,11 +7795,11 @@ function Zi(e, t) {
7795
7795
  const n = [...e], r = n.indexOf(t);
7796
7796
  return r !== -1 && n.splice(r, 1), n;
7797
7797
  }
7798
- function Zg(e) {
7798
+ function Xg(e) {
7799
7799
  return e.filter((t) => t.tagName !== "A");
7800
7800
  }
7801
7801
  var bo = 0;
7802
- function Xg() {
7802
+ function Jg() {
7803
7803
  f.useEffect(() => {
7804
7804
  const e = document.querySelectorAll("[data-radix-focus-guard]");
7805
7805
  return document.body.insertAdjacentElement("afterbegin", e[0] ?? Xi()), document.body.insertAdjacentElement("beforeend", e[1] ?? Xi()), bo++, () => {
@@ -7811,11 +7811,11 @@ function Xi() {
7811
7811
  const e = document.createElement("span");
7812
7812
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
7813
7813
  }
7814
- var Er = "right-scroll-bar-position", Sr = "width-before-scroll-bar", Jg = "with-scroll-bars-hidden", ey = "--removed-body-scroll-bar-size";
7814
+ var Er = "right-scroll-bar-position", Sr = "width-before-scroll-bar", ey = "with-scroll-bars-hidden", ty = "--removed-body-scroll-bar-size";
7815
7815
  function wo(e, t) {
7816
7816
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
7817
7817
  }
7818
- function ty(e, t) {
7818
+ function ny(e, t) {
7819
7819
  var n = ee(function() {
7820
7820
  return {
7821
7821
  // value
@@ -7836,14 +7836,14 @@ function ty(e, t) {
7836
7836
  })[0];
7837
7837
  return n.callback = t, n.facade;
7838
7838
  }
7839
- var ny = typeof window < "u" ? f.useLayoutEffect : f.useEffect, Ji = /* @__PURE__ */ new WeakMap();
7840
- function ry(e, t) {
7841
- var n = ty(null, function(r) {
7839
+ var ry = typeof window < "u" ? f.useLayoutEffect : f.useEffect, Ji = /* @__PURE__ */ new WeakMap();
7840
+ function oy(e, t) {
7841
+ var n = ny(null, function(r) {
7842
7842
  return e.forEach(function(o) {
7843
7843
  return wo(o, r);
7844
7844
  });
7845
7845
  });
7846
- return ny(function() {
7846
+ return ry(function() {
7847
7847
  var r = Ji.get(n);
7848
7848
  if (r) {
7849
7849
  var o = new Set(r), s = new Set(e), i = n.current;
@@ -7856,11 +7856,11 @@ function ry(e, t) {
7856
7856
  Ji.set(n, e);
7857
7857
  }, [e]), n;
7858
7858
  }
7859
- function oy(e) {
7859
+ function sy(e) {
7860
7860
  return e;
7861
7861
  }
7862
- function sy(e, t) {
7863
- t === void 0 && (t = oy);
7862
+ function iy(e, t) {
7863
+ t === void 0 && (t = sy);
7864
7864
  var n = [], r = !1, o = {
7865
7865
  read: function() {
7866
7866
  if (r)
@@ -7914,9 +7914,9 @@ function sy(e, t) {
7914
7914
  };
7915
7915
  return o;
7916
7916
  }
7917
- function iy(e) {
7917
+ function ay(e) {
7918
7918
  e === void 0 && (e = {});
7919
- var t = sy(null);
7919
+ var t = iy(null);
7920
7920
  return t.options = $e({ async: !0, ssr: !1 }, e), t;
7921
7921
  }
7922
7922
  var tl = function(e) {
@@ -7929,16 +7929,16 @@ var tl = function(e) {
7929
7929
  return f.createElement(r, $e({}, n));
7930
7930
  };
7931
7931
  tl.isSideCarExport = !0;
7932
- function ay(e, t) {
7932
+ function cy(e, t) {
7933
7933
  return e.useMedium(t), tl;
7934
7934
  }
7935
- var nl = iy(), Co = function() {
7935
+ var nl = ay(), Co = function() {
7936
7936
  }, Xr = f.forwardRef(function(e, t) {
7937
7937
  var n = f.useRef(null), r = f.useState({
7938
7938
  onScrollCapture: Co,
7939
7939
  onWheelCapture: Co,
7940
7940
  onTouchMoveCapture: Co
7941
- }), o = r[0], s = r[1], i = e.forwardProps, a = e.children, c = e.className, l = e.removeScrollBar, d = e.enabled, h = e.shards, p = e.sideCar, g = e.noRelative, w = e.noIsolation, m = e.inert, y = e.allowPinchZoom, C = e.as, x = C === void 0 ? "div" : C, S = e.gapMode, E = Ia(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), _ = p, A = ry([n, t]), T = $e($e({}, E), o);
7941
+ }), o = r[0], s = r[1], i = e.forwardProps, a = e.children, c = e.className, l = e.removeScrollBar, d = e.enabled, h = e.shards, p = e.sideCar, g = e.noRelative, w = e.noIsolation, m = e.inert, y = e.allowPinchZoom, C = e.as, x = C === void 0 ? "div" : C, S = e.gapMode, E = Ia(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), _ = p, A = oy([n, t]), T = $e($e({}, E), o);
7942
7942
  return f.createElement(
7943
7943
  f.Fragment,
7944
7944
  null,
@@ -7955,37 +7955,37 @@ Xr.classNames = {
7955
7955
  fullWidth: Sr,
7956
7956
  zeroRight: Er
7957
7957
  };
7958
- var cy = function() {
7958
+ var ly = function() {
7959
7959
  if (typeof __webpack_nonce__ < "u")
7960
7960
  return __webpack_nonce__;
7961
7961
  };
7962
- function ly() {
7962
+ function uy() {
7963
7963
  if (!document)
7964
7964
  return null;
7965
7965
  var e = document.createElement("style");
7966
7966
  e.type = "text/css";
7967
- var t = cy();
7967
+ var t = ly();
7968
7968
  return t && e.setAttribute("nonce", t), e;
7969
7969
  }
7970
- function uy(e, t) {
7970
+ function dy(e, t) {
7971
7971
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
7972
7972
  }
7973
- function dy(e) {
7973
+ function fy(e) {
7974
7974
  var t = document.head || document.getElementsByTagName("head")[0];
7975
7975
  t.appendChild(e);
7976
7976
  }
7977
- var fy = function() {
7977
+ var hy = function() {
7978
7978
  var e = 0, t = null;
7979
7979
  return {
7980
7980
  add: function(n) {
7981
- e == 0 && (t = ly()) && (uy(t, n), dy(t)), e++;
7981
+ e == 0 && (t = uy()) && (dy(t, n), fy(t)), e++;
7982
7982
  },
7983
7983
  remove: function() {
7984
7984
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
7985
7985
  }
7986
7986
  };
7987
- }, hy = function() {
7988
- var e = fy();
7987
+ }, py = function() {
7988
+ var e = hy();
7989
7989
  return function(t, n) {
7990
7990
  f.useEffect(function() {
7991
7991
  return e.add(t), function() {
@@ -7994,35 +7994,35 @@ var fy = function() {
7994
7994
  }, [t && n]);
7995
7995
  };
7996
7996
  }, rl = function() {
7997
- var e = hy(), t = function(n) {
7997
+ var e = py(), t = function(n) {
7998
7998
  var r = n.styles, o = n.dynamic;
7999
7999
  return e(r, o), null;
8000
8000
  };
8001
8001
  return t;
8002
- }, py = {
8002
+ }, my = {
8003
8003
  left: 0,
8004
8004
  top: 0,
8005
8005
  right: 0,
8006
8006
  gap: 0
8007
8007
  }, xo = function(e) {
8008
8008
  return parseInt(e || "", 10) || 0;
8009
- }, my = function(e) {
8009
+ }, gy = function(e) {
8010
8010
  var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
8011
8011
  return [xo(n), xo(r), xo(o)];
8012
- }, gy = function(e) {
8012
+ }, yy = function(e) {
8013
8013
  if (e === void 0 && (e = "margin"), typeof window > "u")
8014
- return py;
8015
- var t = my(e), n = document.documentElement.clientWidth, r = window.innerWidth;
8014
+ return my;
8015
+ var t = gy(e), n = document.documentElement.clientWidth, r = window.innerWidth;
8016
8016
  return {
8017
8017
  left: t[0],
8018
8018
  top: t[1],
8019
8019
  right: t[2],
8020
8020
  gap: Math.max(0, r - n + t[2] - t[0])
8021
8021
  };
8022
- }, yy = rl(), tn = "data-scroll-locked", vy = function(e, t, n, r) {
8022
+ }, vy = rl(), tn = "data-scroll-locked", by = function(e, t, n, r) {
8023
8023
  var o = e.left, s = e.top, i = e.right, a = e.gap;
8024
8024
  return n === void 0 && (n = "margin"), `
8025
- .`.concat(Jg, ` {
8025
+ .`.concat(ey, ` {
8026
8026
  overflow: hidden `).concat(r, `;
8027
8027
  padding-right: `).concat(a, "px ").concat(r, `;
8028
8028
  }
@@ -8060,26 +8060,26 @@ var fy = function() {
8060
8060
  }
8061
8061
 
8062
8062
  body[`).concat(tn, `] {
8063
- `).concat(ey, ": ").concat(a, `px;
8063
+ `).concat(ty, ": ").concat(a, `px;
8064
8064
  }
8065
8065
  `);
8066
8066
  }, ea = function() {
8067
8067
  var e = parseInt(document.body.getAttribute(tn) || "0", 10);
8068
8068
  return isFinite(e) ? e : 0;
8069
- }, by = function() {
8069
+ }, wy = function() {
8070
8070
  f.useEffect(function() {
8071
8071
  return document.body.setAttribute(tn, (ea() + 1).toString()), function() {
8072
8072
  var e = ea() - 1;
8073
8073
  e <= 0 ? document.body.removeAttribute(tn) : document.body.setAttribute(tn, e.toString());
8074
8074
  };
8075
8075
  }, []);
8076
- }, wy = function(e) {
8076
+ }, Cy = function(e) {
8077
8077
  var t = e.noRelative, n = e.noImportant, r = e.gapMode, o = r === void 0 ? "margin" : r;
8078
- by();
8078
+ wy();
8079
8079
  var s = f.useMemo(function() {
8080
- return gy(o);
8080
+ return yy(o);
8081
8081
  }, [o]);
8082
- return f.createElement(yy, { styles: vy(s, !t, o, n ? "" : "!important") });
8082
+ return f.createElement(vy, { styles: by(s, !t, o, n ? "" : "!important") });
8083
8083
  }, ss = !1;
8084
8084
  if (typeof window < "u")
8085
8085
  try {
@@ -8092,7 +8092,7 @@ if (typeof window < "u")
8092
8092
  } catch {
8093
8093
  ss = !1;
8094
8094
  }
8095
- var Yt = ss ? { passive: !1 } : !1, Cy = function(e) {
8095
+ var Yt = ss ? { passive: !1 } : !1, xy = function(e) {
8096
8096
  return e.tagName === "TEXTAREA";
8097
8097
  }, ol = function(e, t) {
8098
8098
  if (!(e instanceof Element))
@@ -8101,11 +8101,11 @@ var Yt = ss ? { passive: !1 } : !1, Cy = function(e) {
8101
8101
  return (
8102
8102
  // not-not-scrollable
8103
8103
  n[t] !== "hidden" && // contains scroll inside self
8104
- !(n.overflowY === n.overflowX && !Cy(e) && n[t] === "visible")
8104
+ !(n.overflowY === n.overflowX && !xy(e) && n[t] === "visible")
8105
8105
  );
8106
- }, xy = function(e) {
8107
- return ol(e, "overflowY");
8108
8106
  }, Ey = function(e) {
8107
+ return ol(e, "overflowY");
8108
+ }, Sy = function(e) {
8109
8109
  return ol(e, "overflowX");
8110
8110
  }, ta = function(e, t) {
8111
8111
  var n = t.ownerDocument, r = t;
@@ -8120,14 +8120,14 @@ var Yt = ss ? { passive: !1 } : !1, Cy = function(e) {
8120
8120
  r = r.parentNode;
8121
8121
  } while (r && r !== n.body);
8122
8122
  return !1;
8123
- }, Sy = function(e) {
8123
+ }, _y = function(e) {
8124
8124
  var t = e.scrollTop, n = e.scrollHeight, r = e.clientHeight;
8125
8125
  return [
8126
8126
  t,
8127
8127
  n,
8128
8128
  r
8129
8129
  ];
8130
- }, _y = function(e) {
8130
+ }, Ry = function(e) {
8131
8131
  var t = e.scrollLeft, n = e.scrollWidth, r = e.clientWidth;
8132
8132
  return [
8133
8133
  t,
@@ -8135,13 +8135,13 @@ var Yt = ss ? { passive: !1 } : !1, Cy = function(e) {
8135
8135
  r
8136
8136
  ];
8137
8137
  }, sl = function(e, t) {
8138
- return e === "v" ? xy(t) : Ey(t);
8138
+ return e === "v" ? Ey(t) : Sy(t);
8139
8139
  }, il = function(e, t) {
8140
- return e === "v" ? Sy(t) : _y(t);
8141
- }, Ry = function(e, t) {
8140
+ return e === "v" ? _y(t) : Ry(t);
8141
+ }, Ty = function(e, t) {
8142
8142
  return e === "h" && t === "rtl" ? -1 : 1;
8143
- }, Ty = function(e, t, n, r, o) {
8144
- var s = Ry(e, window.getComputedStyle(t).direction), i = s * r, a = n.target, c = t.contains(a), l = !1, d = i > 0, h = 0, p = 0;
8143
+ }, Ay = function(e, t, n, r, o) {
8144
+ var s = Ty(e, window.getComputedStyle(t).direction), i = s * r, a = n.target, c = t.contains(a), l = !1, d = i > 0, h = 0, p = 0;
8145
8145
  do {
8146
8146
  if (!a)
8147
8147
  break;
@@ -8161,16 +8161,16 @@ var Yt = ss ? { passive: !1 } : !1, Cy = function(e) {
8161
8161
  return [e.deltaX, e.deltaY];
8162
8162
  }, ra = function(e) {
8163
8163
  return e && "current" in e ? e.current : e;
8164
- }, Ay = function(e, t) {
8164
+ }, Py = function(e, t) {
8165
8165
  return e[0] === t[0] && e[1] === t[1];
8166
- }, Py = function(e) {
8166
+ }, Oy = function(e) {
8167
8167
  return `
8168
8168
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
8169
8169
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
8170
8170
  `);
8171
- }, Oy = 0, Zt = [];
8172
- function jy(e) {
8173
- var t = f.useRef([]), n = f.useRef([0, 0]), r = f.useRef(), o = f.useState(Oy++)[0], s = f.useState(rl)[0], i = f.useRef(e);
8171
+ }, jy = 0, Zt = [];
8172
+ function Dy(e) {
8173
+ var t = f.useRef([]), n = f.useRef([0, 0]), r = f.useRef(), o = f.useState(jy++)[0], s = f.useState(rl)[0], i = f.useRef(e);
8174
8174
  f.useEffect(function() {
8175
8175
  i.current = e;
8176
8176
  }, [e]), f.useEffect(function() {
@@ -8203,12 +8203,12 @@ function jy(e) {
8203
8203
  if (!r.current && "changedTouches" in m && (S || E) && (r.current = _), !_)
8204
8204
  return !0;
8205
8205
  var Q = r.current || _;
8206
- return Ty(Q, y, m, Q === "h" ? S : E);
8206
+ return Ay(Q, y, m, Q === "h" ? S : E);
8207
8207
  }, []), c = f.useCallback(function(m) {
8208
8208
  var y = m;
8209
8209
  if (!(!Zt.length || Zt[Zt.length - 1] !== s)) {
8210
8210
  var C = "deltaY" in y ? na(y) : dr(y), x = t.current.filter(function(_) {
8211
- return _.name === y.type && (_.target === y.target || y.target === _.shadowParent) && Ay(_.delta, C);
8211
+ return _.name === y.type && (_.target === y.target || y.target === _.shadowParent) && Py(_.delta, C);
8212
8212
  })[0];
8213
8213
  if (x && x.should) {
8214
8214
  y.cancelable && y.preventDefault();
@@ -8222,7 +8222,7 @@ function jy(e) {
8222
8222
  }
8223
8223
  }
8224
8224
  }, []), l = f.useCallback(function(m, y, C, x) {
8225
- var S = { name: m, delta: y, target: C, should: x, shadowParent: Dy(C) };
8225
+ var S = { name: m, delta: y, target: C, should: x, shadowParent: Ly(C) };
8226
8226
  t.current.push(S), setTimeout(function() {
8227
8227
  t.current = t.current.filter(function(E) {
8228
8228
  return E !== S;
@@ -8250,28 +8250,28 @@ function jy(e) {
8250
8250
  return f.createElement(
8251
8251
  f.Fragment,
8252
8252
  null,
8253
- w ? f.createElement(s, { styles: Py(o) }) : null,
8254
- g ? f.createElement(wy, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
8253
+ w ? f.createElement(s, { styles: Oy(o) }) : null,
8254
+ g ? f.createElement(Cy, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
8255
8255
  );
8256
8256
  }
8257
- function Dy(e) {
8257
+ function Ly(e) {
8258
8258
  for (var t = null; e !== null; )
8259
8259
  e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
8260
8260
  return t;
8261
8261
  }
8262
- const Ly = ay(nl, jy);
8262
+ const Ny = cy(nl, Dy);
8263
8263
  var al = f.forwardRef(function(e, t) {
8264
- return f.createElement(Xr, $e({}, e, { ref: t, sideCar: Ly }));
8264
+ return f.createElement(Xr, $e({}, e, { ref: t, sideCar: Ny }));
8265
8265
  });
8266
8266
  al.classNames = Xr.classNames;
8267
- var Ny = function(e) {
8267
+ var Iy = function(e) {
8268
8268
  if (typeof document > "u")
8269
8269
  return null;
8270
8270
  var t = Array.isArray(e) ? e[0] : e;
8271
8271
  return t.ownerDocument.body;
8272
8272
  }, Xt = /* @__PURE__ */ new WeakMap(), fr = /* @__PURE__ */ new WeakMap(), hr = {}, Eo = 0, cl = function(e) {
8273
8273
  return e && (e.host || cl(e.parentNode));
8274
- }, Iy = function(e, t) {
8274
+ }, ky = function(e, t) {
8275
8275
  return t.map(function(n) {
8276
8276
  if (e.contains(n))
8277
8277
  return n;
@@ -8280,8 +8280,8 @@ var Ny = function(e) {
8280
8280
  }).filter(function(n) {
8281
8281
  return !!n;
8282
8282
  });
8283
- }, ky = function(e, t, n, r) {
8284
- var o = Iy(t, Array.isArray(e) ? e : [e]);
8283
+ }, $y = function(e, t, n, r) {
8284
+ var o = ky(t, Array.isArray(e) ? e : [e]);
8285
8285
  hr[n] || (hr[n] = /* @__PURE__ */ new WeakMap());
8286
8286
  var s = hr[n], i = [], a = /* @__PURE__ */ new Set(), c = new Set(o), l = function(h) {
8287
8287
  !h || a.has(h) || (a.add(h), l(h.parentNode));
@@ -8306,17 +8306,17 @@ var Ny = function(e) {
8306
8306
  Xt.set(h, p), s.set(h, g), p || (fr.has(h) || h.removeAttribute(r), fr.delete(h)), g || h.removeAttribute(n);
8307
8307
  }), Eo--, Eo || (Xt = /* @__PURE__ */ new WeakMap(), Xt = /* @__PURE__ */ new WeakMap(), fr = /* @__PURE__ */ new WeakMap(), hr = {});
8308
8308
  };
8309
- }, $y = function(e, t, n) {
8309
+ }, My = function(e, t, n) {
8310
8310
  n === void 0 && (n = "data-aria-hidden");
8311
- var r = Array.from(Array.isArray(e) ? e : [e]), o = Ny(e);
8312
- return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live], script"))), ky(r, o, n, "aria-hidden")) : function() {
8311
+ var r = Array.from(Array.isArray(e) ? e : [e]), o = Iy(e);
8312
+ return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live], script"))), $y(r, o, n, "aria-hidden")) : function() {
8313
8313
  return null;
8314
8314
  };
8315
8315
  };
8316
8316
  // @__NO_SIDE_EFFECTS__
8317
- function My(e) {
8318
- const t = /* @__PURE__ */ Fy(e), n = f.forwardRef((r, o) => {
8319
- const { children: s, ...i } = r, a = f.Children.toArray(s), c = a.find(Uy);
8317
+ function Fy(e) {
8318
+ const t = /* @__PURE__ */ By(e), n = f.forwardRef((r, o) => {
8319
+ const { children: s, ...i } = r, a = f.Children.toArray(s), c = a.find(Wy);
8320
8320
  if (c) {
8321
8321
  const l = c.props.children, d = a.map((h) => h === c ? f.Children.count(l) > 1 ? f.Children.only(null) : f.isValidElement(l) ? l.props.children : null : h);
8322
8322
  return /* @__PURE__ */ u.jsx(t, { ...i, ref: o, children: f.isValidElement(l) ? f.cloneElement(l, void 0, d) : null });
@@ -8326,22 +8326,22 @@ function My(e) {
8326
8326
  return n.displayName = `${e}.Slot`, n;
8327
8327
  }
8328
8328
  // @__NO_SIDE_EFFECTS__
8329
- function Fy(e) {
8329
+ function By(e) {
8330
8330
  const t = f.forwardRef((n, r) => {
8331
8331
  const { children: o, ...s } = n;
8332
8332
  if (f.isValidElement(o)) {
8333
- const i = Hy(o), a = Wy(s, o.props);
8333
+ const i = Vy(o), a = Hy(s, o.props);
8334
8334
  return o.type !== f.Fragment && (a.ref = r ? qr(r, i) : i), f.cloneElement(o, a);
8335
8335
  }
8336
8336
  return f.Children.count(o) > 1 ? f.Children.only(null) : null;
8337
8337
  });
8338
8338
  return t.displayName = `${e}.SlotClone`, t;
8339
8339
  }
8340
- var By = Symbol("radix.slottable");
8341
- function Uy(e) {
8342
- return f.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === By;
8340
+ var Uy = Symbol("radix.slottable");
8341
+ function Wy(e) {
8342
+ return f.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === Uy;
8343
8343
  }
8344
- function Wy(e, t) {
8344
+ function Hy(e, t) {
8345
8345
  const n = { ...t };
8346
8346
  for (const r in t) {
8347
8347
  const o = e[r], s = t[r];
@@ -8352,12 +8352,12 @@ function Wy(e, t) {
8352
8352
  }
8353
8353
  return { ...e, ...n };
8354
8354
  }
8355
- function Hy(e) {
8355
+ function Vy(e) {
8356
8356
  var r, o;
8357
8357
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
8358
8358
  return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
8359
8359
  }
8360
- var Jr = "Dialog", [ll] = bs(Jr), [Vy, Le] = ll(Jr), ul = (e) => {
8360
+ var Jr = "Dialog", [ll] = bs(Jr), [qy, Le] = ll(Jr), ul = (e) => {
8361
8361
  const {
8362
8362
  __scopeDialog: t,
8363
8363
  children: n,
@@ -8372,7 +8372,7 @@ var Jr = "Dialog", [ll] = bs(Jr), [Vy, Le] = ll(Jr), ul = (e) => {
8372
8372
  caller: Jr
8373
8373
  });
8374
8374
  return /* @__PURE__ */ u.jsx(
8375
- Vy,
8375
+ qy,
8376
8376
  {
8377
8377
  scope: t,
8378
8378
  triggerRef: a,
@@ -8389,7 +8389,7 @@ var Jr = "Dialog", [ll] = bs(Jr), [Vy, Le] = ll(Jr), ul = (e) => {
8389
8389
  );
8390
8390
  };
8391
8391
  ul.displayName = Jr;
8392
- var dl = "DialogTrigger", qy = f.forwardRef(
8392
+ var dl = "DialogTrigger", zy = f.forwardRef(
8393
8393
  (e, t) => {
8394
8394
  const { __scopeDialog: n, ...r } = e, o = Le(dl, n), s = De(t, o.triggerRef);
8395
8395
  return /* @__PURE__ */ u.jsx(
@@ -8407,28 +8407,28 @@ var dl = "DialogTrigger", qy = f.forwardRef(
8407
8407
  );
8408
8408
  }
8409
8409
  );
8410
- qy.displayName = dl;
8411
- var Ls = "DialogPortal", [zy, fl] = ll(Ls, {
8410
+ zy.displayName = dl;
8411
+ var Ls = "DialogPortal", [Gy, fl] = ll(Ls, {
8412
8412
  forceMount: void 0
8413
8413
  }), hl = (e) => {
8414
8414
  const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, s = Le(Ls, t);
8415
- return /* @__PURE__ */ u.jsx(zy, { scope: t, forceMount: n, children: f.Children.map(r, (i) => /* @__PURE__ */ u.jsx(xn, { present: n || s.open, children: /* @__PURE__ */ u.jsx(Ps, { asChild: !0, container: o, children: i }) })) });
8415
+ return /* @__PURE__ */ u.jsx(Gy, { scope: t, forceMount: n, children: f.Children.map(r, (i) => /* @__PURE__ */ u.jsx(xn, { present: n || s.open, children: /* @__PURE__ */ u.jsx(Ps, { asChild: !0, container: o, children: i }) })) });
8416
8416
  };
8417
8417
  hl.displayName = Ls;
8418
8418
  var kr = "DialogOverlay", pl = f.forwardRef(
8419
8419
  (e, t) => {
8420
8420
  const n = fl(kr, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Le(kr, e.__scopeDialog);
8421
- return s.modal ? /* @__PURE__ */ u.jsx(xn, { present: r || s.open, children: /* @__PURE__ */ u.jsx(Qy, { ...o, ref: t }) }) : null;
8421
+ return s.modal ? /* @__PURE__ */ u.jsx(xn, { present: r || s.open, children: /* @__PURE__ */ u.jsx(Ky, { ...o, ref: t }) }) : null;
8422
8422
  }
8423
8423
  );
8424
8424
  pl.displayName = kr;
8425
- var Gy = /* @__PURE__ */ My("DialogOverlay.RemoveScroll"), Qy = f.forwardRef(
8425
+ var Qy = /* @__PURE__ */ Fy("DialogOverlay.RemoveScroll"), Ky = f.forwardRef(
8426
8426
  (e, t) => {
8427
8427
  const { __scopeDialog: n, ...r } = e, o = Le(kr, n);
8428
8428
  return (
8429
8429
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
8430
8430
  // ie. when `Overlay` and `Content` are siblings
8431
- /* @__PURE__ */ u.jsx(al, { as: Gy, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ u.jsx(
8431
+ /* @__PURE__ */ u.jsx(al, { as: Qy, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ u.jsx(
8432
8432
  be.div,
8433
8433
  {
8434
8434
  "data-state": Is(o.open),
@@ -8442,16 +8442,16 @@ var Gy = /* @__PURE__ */ My("DialogOverlay.RemoveScroll"), Qy = f.forwardRef(
8442
8442
  ), Wt = "DialogContent", ml = f.forwardRef(
8443
8443
  (e, t) => {
8444
8444
  const n = fl(Wt, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Le(Wt, e.__scopeDialog);
8445
- return /* @__PURE__ */ u.jsx(xn, { present: r || s.open, children: s.modal ? /* @__PURE__ */ u.jsx(Ky, { ...o, ref: t }) : /* @__PURE__ */ u.jsx(Yy, { ...o, ref: t }) });
8445
+ return /* @__PURE__ */ u.jsx(xn, { present: r || s.open, children: s.modal ? /* @__PURE__ */ u.jsx(Yy, { ...o, ref: t }) : /* @__PURE__ */ u.jsx(Zy, { ...o, ref: t }) });
8446
8446
  }
8447
8447
  );
8448
8448
  ml.displayName = Wt;
8449
- var Ky = f.forwardRef(
8449
+ var Yy = f.forwardRef(
8450
8450
  (e, t) => {
8451
8451
  const n = Le(Wt, e.__scopeDialog), r = f.useRef(null), o = De(t, n.contentRef, r);
8452
8452
  return f.useEffect(() => {
8453
8453
  const s = r.current;
8454
- if (s) return $y(s);
8454
+ if (s) return My(s);
8455
8455
  }, []), /* @__PURE__ */ u.jsx(
8456
8456
  gl,
8457
8457
  {
@@ -8474,7 +8474,7 @@ var Ky = f.forwardRef(
8474
8474
  }
8475
8475
  );
8476
8476
  }
8477
- ), Yy = f.forwardRef(
8477
+ ), Zy = f.forwardRef(
8478
8478
  (e, t) => {
8479
8479
  const n = Le(Wt, e.__scopeDialog), r = f.useRef(!1), o = f.useRef(!1);
8480
8480
  return /* @__PURE__ */ u.jsx(
@@ -8500,7 +8500,7 @@ var Ky = f.forwardRef(
8500
8500
  ), gl = f.forwardRef(
8501
8501
  (e, t) => {
8502
8502
  const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: s, ...i } = e, a = Le(Wt, n), c = f.useRef(null), l = De(t, c);
8503
- return Xg(), /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
8503
+ return Jg(), /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
8504
8504
  /* @__PURE__ */ u.jsx(
8505
8505
  Jc,
8506
8506
  {
@@ -8525,8 +8525,8 @@ var Ky = f.forwardRef(
8525
8525
  }
8526
8526
  ),
8527
8527
  /* @__PURE__ */ u.jsxs(u.Fragment, { children: [
8528
- /* @__PURE__ */ u.jsx(Zy, { titleId: a.titleId }),
8529
- /* @__PURE__ */ u.jsx(Jy, { contentRef: c, descriptionId: a.descriptionId })
8528
+ /* @__PURE__ */ u.jsx(Xy, { titleId: a.titleId }),
8529
+ /* @__PURE__ */ u.jsx(ev, { contentRef: c, descriptionId: a.descriptionId })
8530
8530
  ] })
8531
8531
  ] });
8532
8532
  }
@@ -8562,11 +8562,11 @@ Cl.displayName = wl;
8562
8562
  function Is(e) {
8563
8563
  return e ? "open" : "closed";
8564
8564
  }
8565
- var xl = "DialogTitleWarning", [v2, El] = Kp(xl, {
8565
+ var xl = "DialogTitleWarning", [b2, El] = Yp(xl, {
8566
8566
  contentName: Wt,
8567
8567
  titleName: Ns,
8568
8568
  docsSlug: "dialog"
8569
- }), Zy = ({ titleId: e }) => {
8569
+ }), Xy = ({ titleId: e }) => {
8570
8570
  const t = El(xl), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
8571
8571
 
8572
8572
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
@@ -8575,24 +8575,24 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8575
8575
  return f.useEffect(() => {
8576
8576
  e && (document.getElementById(e) || console.error(n));
8577
8577
  }, [n, e]), null;
8578
- }, Xy = "DialogDescriptionWarning", Jy = ({ contentRef: e, descriptionId: t }) => {
8579
- const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${El(Xy).contentName}}.`;
8578
+ }, Jy = "DialogDescriptionWarning", ev = ({ contentRef: e, descriptionId: t }) => {
8579
+ const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${El(Jy).contentName}}.`;
8580
8580
  return f.useEffect(() => {
8581
8581
  var s;
8582
8582
  const o = (s = e.current) == null ? void 0 : s.getAttribute("aria-describedby");
8583
8583
  t && o && (document.getElementById(t) || console.warn(r));
8584
8584
  }, [r, e, t]), null;
8585
- }, ev = ul, tv = hl, nv = pl, rv = ml, ov = yl, sv = bl, iv = Cl;
8586
- const av = "Overlay__M5Z83", cv = "Content__wAkP4", oa = {
8587
- Overlay: av,
8588
- Content: cv
8589
- }, lv = "Header__VHxNf", uv = "Content__I04qM", dv = "Close__xSN-7", fv = "Title__Dznh6", hv = "Footer__-8gzQ", pv = "Actions__kKF2Q", Vt = {
8590
- Header: lv,
8591
- Content: uv,
8592
- Close: dv,
8593
- Title: fv,
8594
- Footer: hv,
8595
- Actions: pv
8585
+ }, tv = ul, nv = hl, rv = pl, ov = ml, sv = yl, iv = bl, av = Cl;
8586
+ const cv = "Overlay__M5Z83", lv = "Content__wAkP4", oa = {
8587
+ Overlay: cv,
8588
+ Content: lv
8589
+ }, uv = "Header__VHxNf", dv = "Content__I04qM", fv = "Close__xSN-7", hv = "Title__Dznh6", pv = "Footer__-8gzQ", mv = "Actions__kKF2Q", Vt = {
8590
+ Header: uv,
8591
+ Content: dv,
8592
+ Close: fv,
8593
+ Title: hv,
8594
+ Footer: pv,
8595
+ Actions: mv
8596
8596
  }, Sl = W(({
8597
8597
  children: e,
8598
8598
  className: t,
@@ -8626,7 +8626,7 @@ const Tl = W(({
8626
8626
  ...n
8627
8627
  }, r) => {
8628
8628
  const o = j(Vt.Title, t);
8629
- return /* @__PURE__ */ u.jsx(ov, { ref: r, className: o, ...n, children: e });
8629
+ return /* @__PURE__ */ u.jsx(sv, { ref: r, className: o, ...n, children: e });
8630
8630
  });
8631
8631
  Tl.displayName = "Title";
8632
8632
  const Al = W(({
@@ -8634,7 +8634,7 @@ const Al = W(({
8634
8634
  ...t
8635
8635
  }, n) => {
8636
8636
  const r = j(Vt.Close, e);
8637
- return /* @__PURE__ */ u.jsx(iv, { ref: n, asChild: !0, className: r, ...t, children: /* @__PURE__ */ u.jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u.jsx("path", { d: "M11 1L1 11M1 1L11 11", stroke: "#A9A9A9", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) });
8637
+ return /* @__PURE__ */ u.jsx(av, { ref: n, asChild: !0, className: r, ...t, children: /* @__PURE__ */ u.jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ u.jsx("path", { d: "M11 1L1 11M1 1L11 11", stroke: "#A9A9A9", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) });
8638
8638
  });
8639
8639
  Al.displayName = "Close";
8640
8640
  const Pl = W(({
@@ -8664,10 +8664,10 @@ const fe = ({
8664
8664
  const o = () => {
8665
8665
  t == null || t();
8666
8666
  };
8667
- return /* @__PURE__ */ u.jsx(ev, { onOpenChange: o, open: n, children: /* @__PURE__ */ u.jsxs(tv, { children: [
8668
- /* @__PURE__ */ u.jsx(nv, { className: oa.Overlay }),
8669
- /* @__PURE__ */ u.jsxs(rv, { children: [
8670
- /* @__PURE__ */ u.jsx(sv, {}),
8667
+ return /* @__PURE__ */ u.jsx(tv, { onOpenChange: o, open: n, children: /* @__PURE__ */ u.jsxs(nv, { children: [
8668
+ /* @__PURE__ */ u.jsx(rv, { className: oa.Overlay }),
8669
+ /* @__PURE__ */ u.jsxs(ov, { children: [
8670
+ /* @__PURE__ */ u.jsx(iv, {}),
8671
8671
  /* @__PURE__ */ u.jsx("div", { className: j(oa.Content, r), children: e })
8672
8672
  ] })
8673
8673
  ] }) });
@@ -8680,23 +8680,23 @@ fe.Actions = Pl;
8680
8680
  fe.Title = Tl;
8681
8681
  fe.Description = Ol;
8682
8682
  fe.Close = Al;
8683
- const mv = "pill__vtGwB", gv = "pill--solid__F-mR4", yv = "pill--outline__gC-mh", sa = {
8684
- pill: mv,
8683
+ const gv = "pill__vtGwB", yv = "pill--solid__F-mR4", vv = "pill--outline__gC-mh", sa = {
8684
+ pill: gv,
8685
8685
  "pill--solid": "pill--solid__F-mR4",
8686
- pillSolid: gv,
8686
+ pillSolid: yv,
8687
8687
  "pill--outline": "pill--outline__gC-mh",
8688
- pillOutline: yv
8689
- }, b2 = ({ children: e, variant: t = "solid", className: n }) => {
8688
+ pillOutline: vv
8689
+ }, w2 = ({ children: e, variant: t = "solid", className: n }) => {
8690
8690
  const r = j(
8691
8691
  sa.pill,
8692
8692
  sa[`pill--${t}`],
8693
8693
  n
8694
8694
  );
8695
8695
  return /* @__PURE__ */ u.jsx("div", { className: r, children: e });
8696
- }, vv = "DialogContent__-WjG9", bv = "Message__AUgVP", ia = {
8697
- DialogContent: vv,
8698
- Message: bv
8699
- }, wv = ({ loading: e, title: t, children: n, className: r, onClose: o, onConfirm: s, ...i }) => /* @__PURE__ */ u.jsxs(fe, { ...i, className: j(ia.DialogContent, r), children: [
8696
+ }, bv = "DialogContent__-WjG9", wv = "Message__AUgVP", ia = {
8697
+ DialogContent: bv,
8698
+ Message: wv
8699
+ }, Cv = ({ loading: e, title: t, children: n, className: r, onClose: o, onConfirm: s, ...i }) => /* @__PURE__ */ u.jsxs(fe, { ...i, className: j(ia.DialogContent, r), children: [
8700
8700
  /* @__PURE__ */ u.jsxs(fe.Header, { children: [
8701
8701
  /* @__PURE__ */ u.jsx(fe.Title, { children: t }),
8702
8702
  /* @__PURE__ */ u.jsx(fe.Close, { onClick: o })
@@ -8707,12 +8707,12 @@ const mv = "pill__vtGwB", gv = "pill--solid__F-mR4", yv = "pill--outline__gC-mh"
8707
8707
  /* @__PURE__ */ u.jsx(Yo, { onClick: s, disabled: e, loading: e, variant: "contained", children: "Confirm" })
8708
8708
  ] }) })
8709
8709
  ] });
8710
- wv.displayName = "ConfirmDialog";
8711
- const Cv = "container__AjtYJ", xv = "title__A2vCu", Ev = "description__bP6Ig", Sv = "mailToText__SdlsE", pr = {
8712
- container: Cv,
8713
- title: xv,
8714
- description: Ev,
8715
- mailToText: Sv
8710
+ Cv.displayName = "ConfirmDialog";
8711
+ const xv = "container__AjtYJ", Ev = "title__A2vCu", Sv = "description__bP6Ig", _v = "mailToText__SdlsE", pr = {
8712
+ container: xv,
8713
+ title: Ev,
8714
+ description: Sv,
8715
+ mailToText: _v
8716
8716
  }, jl = () => /* @__PURE__ */ u.jsxs("svg", { width: "200", height: "200", viewBox: "0 0 200 200", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
8717
8717
  /* @__PURE__ */ u.jsx("path", { d: "M184.415 152.221C183.936 151.406 183.401 150.621 182.892 149.824C181.61 147.817 180.327 145.809 179.045 143.801C177.102 140.759 175.159 137.717 173.215 134.676C170.766 130.841 168.316 127.006 165.866 123.171C163.068 118.79 160.27 114.41 157.472 110.03C154.484 105.352 151.496 100.674 148.508 95.9965C145.474 91.2464 142.439 86.4963 139.405 81.7463C136.513 77.2189 133.621 72.6915 130.729 68.1641C128.123 64.084 125.517 60.0039 122.91 55.9238C120.748 52.5389 118.586 49.1541 116.424 45.7692C114.864 43.3273 113.304 40.8854 111.744 38.4436C110.943 37.1899 110.142 35.9362 109.342 34.6825C108.765 33.7802 108.096 32.9744 107.292 32.2572C104.604 29.8584 100.572 29.2302 97.2301 30.5252C94.5951 31.5463 92.6177 33.3853 91.0923 35.7373C90.8768 36.0696 90.6658 36.405 90.4526 36.7387C89.3951 38.3941 88.3378 40.0494 87.2803 41.7049C85.5124 44.4725 83.7444 47.2402 81.9765 50.0079C79.644 53.6594 77.3114 57.3111 74.9788 60.9626C72.2632 65.2138 69.5477 69.465 66.8321 73.7162C63.8817 78.3349 60.9313 82.9536 57.9811 87.5722C54.9542 92.3106 51.9274 97.0491 48.9006 101.787C45.9557 106.398 43.0107 111.008 40.0658 115.618C37.3487 119.872 34.6316 124.125 31.9145 128.379C29.6106 131.986 27.3067 135.592 25.0028 139.199C23.2565 141.933 21.5101 144.667 19.7639 147.4C18.7335 149.013 17.7031 150.626 16.6728 152.239C14.8665 155.067 13.7231 158.171 14.23 161.595C14.9672 166.576 19.2366 170.131 24.2215 170.137C25.559 170.139 26.8963 170.137 28.2338 170.137C30.9198 170.137 33.6058 170.137 36.2918 170.137C40.0725 170.137 43.8533 170.137 47.6341 170.137C52.2557 170.137 56.8772 170.137 61.4989 170.137C66.7339 170.137 71.969 170.137 77.204 170.137C82.7467 170.137 88.2894 170.137 93.8322 170.137C99.4529 170.137 105.074 170.137 110.694 170.137C116.139 170.137 121.584 170.137 127.029 170.137C132.044 170.137 137.06 170.137 142.075 170.137C146.425 170.137 150.776 170.137 155.127 170.137C158.516 170.137 161.904 170.137 165.293 170.137C167.49 170.137 169.686 170.137 171.883 170.137C172.633 170.137 173.384 170.137 174.135 170.137C178.404 170.087 182.136 167.627 184.212 163.932C186.248 160.307 186.562 155.866 184.415 152.221ZM94.0937 37.3471C94.0897 37.3539 94.0862 37.3597 94.0824 37.3661C94.0826 37.3652 94.0831 37.3642 94.0833 37.3632C94.0844 37.3581 94.0909 37.3518 94.0937 37.3471ZM178.584 164.489C178.476 164.538 178.524 164.516 178.584 164.489V164.489ZM180.937 162.79C180.979 162.72 181.118 162.485 181.127 162.498C181.145 162.528 181.058 162.647 180.937 162.79ZM181.821 160.333C181.806 160.446 181.782 160.646 181.773 160.697C181.736 160.919 181.686 161.139 181.637 161.359C181.637 161.359 181.637 161.359 181.637 161.359C181.629 161.377 181.621 161.399 181.61 161.426C181.54 161.604 181.472 161.785 181.406 161.965C181.402 161.977 181.398 161.988 181.394 161.999C181.304 162.16 181.219 162.323 181.123 162.481C181.074 162.562 181.016 162.641 180.97 162.724C180.949 162.762 180.936 162.785 180.93 162.798C180.727 163.035 180.436 163.332 180.388 163.385C180.696 163.049 180.535 163.229 180.318 163.42C180.172 163.548 180.018 163.666 179.869 163.79C179.848 163.807 179.831 163.822 179.816 163.835C179.797 163.845 179.775 163.857 179.747 163.873C179.576 163.97 179.411 164.078 179.238 164.171C179.043 164.277 178.844 164.373 178.642 164.463C178.556 164.494 178.471 164.526 178.384 164.553C177.532 164.819 176.835 164.945 176.084 164.954C175.296 164.954 174.508 164.954 173.719 164.954C171.519 164.954 169.318 164.954 167.118 164.954C163.751 164.954 160.385 164.954 157.019 164.954C152.756 164.954 148.493 164.954 144.231 164.954C139.275 164.954 134.319 164.954 129.364 164.954C123.981 164.954 118.598 164.954 113.215 164.954C107.651 164.954 102.086 164.954 96.5224 164.954C91.024 164.954 85.5255 164.954 80.0271 164.954C74.8407 164.954 69.6543 164.954 64.4679 164.954C59.8401 164.954 55.2123 164.954 50.5846 164.954C46.7784 164.954 42.9721 164.954 39.166 164.954C36.3891 164.954 33.6122 164.954 30.8354 164.954C29.3555 164.954 27.8756 164.954 26.3957 164.954C25.9641 164.954 25.534 164.958 25.1029 164.922C23.4511 164.785 22.11 164.207 20.7626 163.127C20.3445 162.792 19.7301 162.074 19.3142 161.434C19.2096 161.273 19.1102 161.109 19.0161 160.942C18.9707 160.861 18.8013 160.534 18.8105 160.558C18.7451 160.414 18.5329 159.846 18.4422 159.537C18.3467 159.211 18.2692 158.879 18.2129 158.544C18.2174 158.545 18.1876 158.285 18.1815 158.192C18.1669 157.964 18.1617 157.736 18.1651 157.508C18.166 157.455 18.1793 157.245 18.185 157.131C18.2055 157.005 18.2441 156.74 18.2591 156.662C18.2913 156.493 18.3319 156.326 18.3726 156.16C18.2821 156.539 18.4099 156.072 18.4891 155.866C18.518 155.79 18.6652 155.487 18.6846 155.432C18.7383 155.339 18.7932 155.243 18.8125 155.21C18.8692 155.114 18.9282 155.019 18.9875 154.924C19.0003 154.904 19.0137 154.884 19.0265 154.863C19.2211 154.554 19.4201 154.247 19.617 153.939C20.6335 152.348 21.6501 150.756 22.6667 149.165C24.3869 146.472 26.107 143.779 27.8271 141.086C30.0848 137.552 32.3425 134.017 34.6001 130.483C37.2646 126.312 39.9291 122.141 42.5935 117.97C45.5011 113.418 48.4086 108.866 51.3161 104.315C54.3131 99.6229 57.31 94.9312 60.3069 90.2397C63.2394 85.6489 66.172 81.058 69.1045 76.4672C71.819 72.2178 74.5334 67.9683 77.2479 63.719C79.5904 60.0517 81.9331 56.3844 84.2756 52.7172C86.0852 49.8842 87.8948 47.0513 89.7044 44.2184C90.8459 42.4315 91.9873 40.6446 93.1287 38.8578C93.3976 38.4368 93.6701 38.0178 93.9356 37.5945C93.9507 37.5705 93.9737 37.5416 93.9972 37.511C93.8744 37.7231 94.1597 37.2638 94.301 37.0921C94.4017 36.9695 94.5483 36.8114 94.5423 36.8113C94.6372 36.721 94.7333 36.6319 94.8323 36.546C94.9866 36.4121 95.1478 36.2876 95.3084 36.1615C94.9392 36.4513 95.3917 36.1121 95.5441 36.0212C96.7591 35.2961 98.1095 34.9498 99.7068 35.0725C101.356 35.1993 102.702 35.7434 104.07 36.8307C104.685 37.3192 105.311 38.1542 105.817 38.9457C106.592 40.1592 107.367 41.3727 108.142 42.5862C109.667 44.9733 111.192 47.3605 112.717 49.7476C114.838 53.0679 116.959 56.3881 119.08 59.7083C121.629 63.6999 124.179 67.6913 126.729 71.6829C129.579 76.1455 132.43 80.6082 135.281 85.0709C138.267 89.7458 141.253 94.4206 144.239 99.0955C147.207 103.742 150.176 108.388 153.144 113.035C155.94 117.412 158.736 121.789 161.532 126.167C164.002 130.034 166.473 133.902 168.943 137.769C170.935 140.886 172.926 144.003 174.917 147.12C176.27 149.239 177.623 151.357 178.976 153.475C179.551 154.376 180.134 155.272 180.702 156.177C181.138 156.872 181.311 157.219 181.54 157.972C181.6 158.167 181.652 158.363 181.697 158.561C181.711 158.623 181.759 158.873 181.78 158.97C181.787 159.063 181.815 159.319 181.819 159.383C181.831 159.579 181.836 159.775 181.834 159.972C181.834 160.022 181.825 160.217 181.821 160.333Z", fill: "var(--pae-shell-color-secondary)" }),
8718
8718
  /* @__PURE__ */ u.jsx("path", { d: "M98.5821 122.507C99.019 122.759 99.6307 122.629 100.038 122.389C101.205 121.703 101.925 120.275 102.041 118.92C103.115 106.361 106.514 75.1051 106.514 68.3062C106.514 59.902 92.8134 60.6835 92.0664 71.3279C91.6887 76.7103 97.5083 119.581 97.8266 121.187C97.9188 121.652 98.1423 122.253 98.5821 122.507Z", fill: "var(--pae-shell-color-secondary)" }),
@@ -8729,8 +8729,8 @@ const Cv = "container__AjtYJ", xv = "title__A2vCu", Ev = "description__bP6Ig", S
8729
8729
  /* @__PURE__ */ u.jsx("path", { d: "M75.3224 76.1247C75.0193 75.9408 74.6477 76.3459 74.521 76.5695C74.1645 77.1991 73.808 77.8286 73.4515 78.4581C73.3144 78.7003 73.1605 79.1884 73.467 79.3744C73.77 79.5583 74.1416 79.1532 74.2684 78.9296C74.6248 78.3001 74.9814 77.6705 75.3378 77.0411C75.475 76.7988 75.6288 76.3107 75.3224 76.1247Z", fill: "var(--pae-shell-color-secondary)" })
8730
8730
  ] });
8731
8731
  jl.displayName = "WarningIcon";
8732
- const _v = "support@bluealba.com", Rv = "@bluealba/pae-shell-ui", Dl = () => {
8733
- const { supportEmail: e = _v } = Bu(Rv), t = `mailto:${e}?Subject=Support`;
8732
+ const Rv = "support@bluealba.com", Tv = "@bluealba/pae-shell-ui", Dl = () => {
8733
+ const { supportEmail: e = Rv } = Bu(Tv), t = `mailto:${e}?Subject=Support`;
8734
8734
  return /* @__PURE__ */ u.jsxs("div", { className: pr.container, children: [
8735
8735
  /* @__PURE__ */ u.jsx(jl, {}),
8736
8736
  /* @__PURE__ */ u.jsx("div", { className: pr.title, children: "Oops! Something went wrong" }),
@@ -8741,35 +8741,35 @@ const _v = "support@bluealba.com", Rv = "@bluealba/pae-shell-ui", Dl = () => {
8741
8741
  ] });
8742
8742
  };
8743
8743
  Dl.displayName = "ErrorState";
8744
- const Tv = "List__h09XG", Av = "List__h09XG", Pv = "Item__YMy2i", Ov = "Item__YMy2i", jv = "List--primary__J2pbx", Dv = "List--secondary__gi1ao", Lv = "Item--selected__yRWow", Nv = "Title__RJmEW", Iv = "Title__RJmEW", kv = "Description__DGyX2", $v = "Description__DGyX2", Mv = "Actions__UHP5l", Fv = "Actions__UHP5l", Bv = "Action__q-R1I", Uv = "Action__q-R1I", Wv = "Item--disabled__Ke1u-", Hv = "List--small__ijoSR", Vv = "List--medium__E1FEY", qv = "List--large__T8tfz", zv = "Icon__dFr-L", Gv = "Icon__dFr-L", Pe = {
8745
- List: Tv,
8746
- list: Av,
8747
- Item: Pv,
8748
- item: Ov,
8744
+ const Av = "List__h09XG", Pv = "List__h09XG", Ov = "Item__YMy2i", jv = "Item__YMy2i", Dv = "List--primary__J2pbx", Lv = "List--secondary__gi1ao", Nv = "Item--selected__yRWow", Iv = "Title__RJmEW", kv = "Title__RJmEW", $v = "Description__DGyX2", Mv = "Description__DGyX2", Fv = "Actions__UHP5l", Bv = "Actions__UHP5l", Uv = "Action__q-R1I", Wv = "Action__q-R1I", Hv = "Item--disabled__Ke1u-", Vv = "List--small__ijoSR", qv = "List--medium__E1FEY", zv = "List--large__T8tfz", Gv = "Icon__dFr-L", Qv = "Icon__dFr-L", Pe = {
8745
+ List: Av,
8746
+ list: Pv,
8747
+ Item: Ov,
8748
+ item: jv,
8749
8749
  "List--primary": "List--primary__J2pbx",
8750
- listPrimary: jv,
8750
+ listPrimary: Dv,
8751
8751
  "List--secondary": "List--secondary__gi1ao",
8752
- listSecondary: Dv,
8752
+ listSecondary: Lv,
8753
8753
  "Item--selected": "Item--selected__yRWow",
8754
- itemSelected: Lv,
8755
- Title: Nv,
8756
- title: Iv,
8757
- Description: kv,
8758
- description: $v,
8759
- Actions: Mv,
8760
- actions: Fv,
8761
- Action: Bv,
8762
- action: Uv,
8754
+ itemSelected: Nv,
8755
+ Title: Iv,
8756
+ title: kv,
8757
+ Description: $v,
8758
+ description: Mv,
8759
+ Actions: Fv,
8760
+ actions: Bv,
8761
+ Action: Uv,
8762
+ action: Wv,
8763
8763
  "Item--disabled": "Item--disabled__Ke1u-",
8764
- itemDisabled: Wv,
8764
+ itemDisabled: Hv,
8765
8765
  "List--small": "List--small__ijoSR",
8766
- listSmall: Hv,
8766
+ listSmall: Vv,
8767
8767
  "List--medium": "List--medium__E1FEY",
8768
- listMedium: Vv,
8768
+ listMedium: qv,
8769
8769
  "List--large": "List--large__T8tfz",
8770
- listLarge: qv,
8771
- Icon: zv,
8772
- icon: Gv
8770
+ listLarge: zv,
8771
+ Icon: Gv,
8772
+ icon: Qv
8773
8773
  }, Ll = W(({
8774
8774
  children: e,
8775
8775
  className: t,
@@ -8909,15 +8909,15 @@ et.Description = Il;
8909
8909
  et.Actions = kl;
8910
8910
  et.Action = $l;
8911
8911
  et.Icon = Ml;
8912
- const Qv = "Navigation__uylxk", Kv = "PaginationContent__UpLw0", Yv = "PaginationEllipsis__perWk", Zv = "PaginationLink__GVUZj", Xv = "Active__u1Ahy", Jv = "Disabled__8WM0y", e0 = "Prev__wp4hc", t0 = "Next__eVyL5", Je = {
8913
- Navigation: Qv,
8914
- PaginationContent: Kv,
8915
- PaginationEllipsis: Yv,
8916
- PaginationLink: Zv,
8917
- Active: Xv,
8918
- Disabled: Jv,
8919
- Prev: e0,
8920
- Next: t0
8912
+ const Kv = "Navigation__uylxk", Yv = "PaginationContent__UpLw0", Zv = "PaginationEllipsis__perWk", Xv = "PaginationLink__GVUZj", Jv = "Active__u1Ahy", e0 = "Disabled__8WM0y", t0 = "Prev__wp4hc", n0 = "Next__eVyL5", Je = {
8913
+ Navigation: Kv,
8914
+ PaginationContent: Yv,
8915
+ PaginationEllipsis: Zv,
8916
+ PaginationLink: Xv,
8917
+ Active: Jv,
8918
+ Disabled: e0,
8919
+ Prev: t0,
8920
+ Next: n0
8921
8921
  }, Fl = ({
8922
8922
  className: e,
8923
8923
  ...t
@@ -9047,13 +9047,13 @@ const ql = ({
9047
9047
  }
9048
9048
  );
9049
9049
  ql.displayName = "PaginationEllipsis";
9050
- function n0(e) {
9050
+ function r0(e) {
9051
9051
  throw new Error('Could not dynamically require "' + e + '". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.');
9052
9052
  }
9053
9053
  var zl = { exports: {} };
9054
9054
  (function(e, t) {
9055
9055
  (function(n, r) {
9056
- typeof n0 == "function" ? e.exports = r() : n.pluralize = r();
9056
+ typeof r0 == "function" ? e.exports = r() : n.pluralize = r();
9057
9057
  })(Lu, function() {
9058
9058
  var n = [], r = [], o = {}, s = {}, i = {};
9059
9059
  function a(m) {
@@ -9348,30 +9348,30 @@ var zl = { exports: {} };
9348
9348
  ].forEach(w.addUncountableRule), w;
9349
9349
  });
9350
9350
  })(zl);
9351
- var r0 = zl.exports;
9352
- const o0 = /* @__PURE__ */ Nu(r0), Gl = ({
9351
+ var o0 = zl.exports;
9352
+ const s0 = /* @__PURE__ */ Nu(o0), Gl = ({
9353
9353
  count: e,
9354
9354
  singularText: t,
9355
9355
  children: n = (r, o) => `${r} ${o}`
9356
- }) => /* @__PURE__ */ u.jsx(u.Fragment, { children: n(e, o0(t, e)) });
9356
+ }) => /* @__PURE__ */ u.jsx(u.Fragment, { children: n(e, s0(t, e)) });
9357
9357
  Gl.displayName = "PluralizeCounter";
9358
- const s0 = "TableContainer__osh6Z", i0 = "TableHeader__sYa-8", a0 = "Table__2cIs3", c0 = "selectable__WsGg1", l0 = "Cell__ZEv-K", u0 = "Right__YoM1V", d0 = "Center__CF3tr", f0 = "Sortable__JIV1V", h0 = "SortIcon__f0bBy", p0 = "Active__rJjxB", m0 = "Rotate__7cwTK", g0 = "Pagination__sbqMP", y0 = "PointerNone__kQdQS", me = {
9359
- TableContainer: s0,
9360
- TableHeader: i0,
9361
- Table: a0,
9362
- selectable: c0,
9363
- Cell: l0,
9364
- Right: u0,
9365
- Center: d0,
9366
- Sortable: f0,
9367
- SortIcon: h0,
9368
- Active: p0,
9369
- Rotate: m0,
9370
- Pagination: g0,
9371
- PointerNone: y0
9372
- }, v0 = "EmptyStateContainer__Q9FEb", b0 = "Message__IHK6M", aa = {
9373
- EmptyStateContainer: v0,
9374
- Message: b0
9358
+ const i0 = "TableContainer__osh6Z", a0 = "TableHeader__sYa-8", c0 = "Table__2cIs3", l0 = "selectable__WsGg1", u0 = "Cell__ZEv-K", d0 = "Right__YoM1V", f0 = "Center__CF3tr", h0 = "Sortable__JIV1V", p0 = "SortIcon__f0bBy", m0 = "Active__rJjxB", g0 = "Rotate__7cwTK", y0 = "Pagination__sbqMP", v0 = "PointerNone__kQdQS", me = {
9359
+ TableContainer: i0,
9360
+ TableHeader: a0,
9361
+ Table: c0,
9362
+ selectable: l0,
9363
+ Cell: u0,
9364
+ Right: d0,
9365
+ Center: f0,
9366
+ Sortable: h0,
9367
+ SortIcon: p0,
9368
+ Active: m0,
9369
+ Rotate: g0,
9370
+ Pagination: y0,
9371
+ PointerNone: v0
9372
+ }, b0 = "EmptyStateContainer__Q9FEb", w0 = "Message__IHK6M", aa = {
9373
+ EmptyStateContainer: b0,
9374
+ Message: w0
9375
9375
  }, Ql = ({ size: e = 64 }) => /* @__PURE__ */ u.jsxs("svg", { width: e, height: e, viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
9376
9376
  /* @__PURE__ */ u.jsxs("g", { clipPath: "url(#clip-path)", children: [
9377
9377
  /* @__PURE__ */ u.jsx("mask", { id: "mask0_1070_8032", style: { maskType: "luminance" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "64", height: "64", children: /* @__PURE__ */ u.jsx("path", { d: "M64 0H0V64H64V0Z", fill: "white" }) }),
@@ -9385,7 +9385,7 @@ const Kl = ({ message: e = "No results found" }) => /* @__PURE__ */ u.jsxs("div"
9385
9385
  /* @__PURE__ */ u.jsx("p", { className: aa.Message, children: e })
9386
9386
  ] });
9387
9387
  Kl.displayName = "EmptyState";
9388
- const w0 = (e, t, n = 1) => {
9388
+ const C0 = (e, t, n = 1) => {
9389
9389
  if (e <= 1) return ["1"];
9390
9390
  const r = [], o = (s) => {
9391
9391
  (r.length === 0 || r[r.length - 1] !== s) && r.push(s);
@@ -9404,7 +9404,7 @@ const w0 = (e, t, n = 1) => {
9404
9404
  onClick: () => !r && n(e - 1)
9405
9405
  }
9406
9406
  ) }),
9407
- w0(t, e).map((s, i) => /* @__PURE__ */ u.jsxs(_r, { children: [
9407
+ C0(t, e).map((s, i) => /* @__PURE__ */ u.jsxs(_r, { children: [
9408
9408
  s === "..." && /* @__PURE__ */ u.jsx(ql, {}),
9409
9409
  s !== "..." && /* @__PURE__ */ u.jsx(eo, { isActive: +s === e, onClick: () => +s !== e && n(+s), children: s })
9410
9410
  ] }, i)),
@@ -9435,7 +9435,7 @@ const Zl = ({
9435
9435
  }
9436
9436
  );
9437
9437
  Zl.displayName = "ArrowDown";
9438
- const C0 = ({ columns: e, data: t, isLoading: n, totalCount: r = 0, headerLabel: o, sort: s, loadingConfig: i, pagination: a, onRowClick: c }) => {
9438
+ const x0 = ({ columns: e, data: t, isLoading: n, totalCount: r = 0, headerLabel: o, sort: s, loadingConfig: i, pagination: a, onRowClick: c }) => {
9439
9439
  const { count: l = 5, height: d = 40 } = i || {}, h = (y) => y.sortName ?? y.name, p = (y) => j({
9440
9440
  [me.Cell]: !0,
9441
9441
  [me.Center]: y.align === "center",
@@ -9472,13 +9472,13 @@ const C0 = ({ columns: e, data: t, isLoading: n, totalCount: r = 0, headerLabel:
9472
9472
  a && /* @__PURE__ */ u.jsx(Yl, { ...a })
9473
9473
  ] });
9474
9474
  };
9475
- C0.displayName = "Table";
9476
- const x0 = "alert__LblpE", E0 = "destructive__bLNSM", S0 = "alertTitle__gblKf", _0 = "alertDescription__BuVHV", $r = {
9477
- alert: x0,
9475
+ x0.displayName = "Table";
9476
+ const E0 = "alert__LblpE", S0 = "destructive__bLNSM", _0 = "alertTitle__gblKf", R0 = "alertDescription__BuVHV", $r = {
9477
+ alert: E0,
9478
9478
  default: "default__mgO6A",
9479
- destructive: E0,
9480
- alertTitle: S0,
9481
- alertDescription: _0
9479
+ destructive: S0,
9480
+ alertTitle: _0,
9481
+ alertDescription: R0
9482
9482
  }, $s = ({ className: e, variant: t = "default", children: n, ...r }) => /* @__PURE__ */ u.jsx(
9483
9483
  "div",
9484
9484
  {
@@ -9488,7 +9488,7 @@ const x0 = "alert__LblpE", E0 = "destructive__bLNSM", S0 = "alertTitle__gblKf",
9488
9488
  ...r,
9489
9489
  children: n
9490
9490
  }
9491
- ), R0 = f.forwardRef(({
9491
+ ), T0 = f.forwardRef(({
9492
9492
  children: e,
9493
9493
  className: t,
9494
9494
  ...n
@@ -9501,7 +9501,7 @@ const x0 = "alert__LblpE", E0 = "destructive__bLNSM", S0 = "alertTitle__gblKf",
9501
9501
  ...n,
9502
9502
  children: e
9503
9503
  }
9504
- )), T0 = f.forwardRef(({
9504
+ )), A0 = f.forwardRef(({
9505
9505
  children: e,
9506
9506
  className: t,
9507
9507
  ...n
@@ -9516,8 +9516,8 @@ const x0 = "alert__LblpE", E0 = "destructive__bLNSM", S0 = "alertTitle__gblKf",
9516
9516
  }
9517
9517
  ));
9518
9518
  $s.displayName = "Alert";
9519
- $s.Title = R0;
9520
- $s.Description = T0;
9519
+ $s.Title = T0;
9520
+ $s.Description = A0;
9521
9521
  function ca(e, t) {
9522
9522
  var n = Object.keys(e);
9523
9523
  if (Object.getOwnPropertySymbols) {
@@ -9532,7 +9532,7 @@ function Mr(e) {
9532
9532
  for (var t = 1; t < arguments.length; t++) {
9533
9533
  var n = arguments[t] != null ? arguments[t] : {};
9534
9534
  t % 2 ? ca(Object(n), !0).forEach(function(r) {
9535
- A0(e, r, n[r]);
9535
+ P0(e, r, n[r]);
9536
9536
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ca(Object(n)).forEach(function(r) {
9537
9537
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
9538
9538
  });
@@ -9546,7 +9546,7 @@ function Xl(e) {
9546
9546
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
9547
9547
  })(e);
9548
9548
  }
9549
- function A0(e, t, n) {
9549
+ function P0(e, t, n) {
9550
9550
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
9551
9551
  }
9552
9552
  function is(e) {
@@ -9580,10 +9580,10 @@ try {
9580
9580
  Nn = require("react").createContext();
9581
9581
  } catch {
9582
9582
  }
9583
- var P0 = { React: null, ReactDOM: null, ReactDOMClient: null, rootComponent: null, loadRootComponent: null, errorBoundary: null, errorBoundaryClass: null, domElementGetter: null, parcelCanUpdate: !0, suppressComponentDidCatchWarning: !1, domElements: {}, renderResults: {}, updateResolves: {}, unmountResolves: {} };
9584
- function O0(e) {
9583
+ var O0 = { React: null, ReactDOM: null, ReactDOMClient: null, rootComponent: null, loadRootComponent: null, errorBoundary: null, errorBoundaryClass: null, domElementGetter: null, parcelCanUpdate: !0, suppressComponentDidCatchWarning: !1, domElements: {}, renderResults: {}, updateResolves: {}, unmountResolves: {} };
9584
+ function j0(e) {
9585
9585
  if (Xl(e) !== "object") throw new Error("single-spa-react requires a configuration object");
9586
- var t, n = Mr(Mr({}, P0), e);
9586
+ var t, n = Mr(Mr({}, O0), e);
9587
9587
  if (!n.React) throw new Error("single-spa-react must be passed opts.React");
9588
9588
  if (!n.ReactDOM && !n.ReactDOMClient) throw new Error("single-spa-react must be passed opts.ReactDOM or opts.ReactDOMClient");
9589
9589
  if (n.renderType || ((t = n.ReactDOMClient) !== null && t !== void 0 && t.createRoot ? n.renderType = "createRoot" : n.renderType = "render"), !n.rootComponent && !n.loadRootComponent) throw new Error("single-spa-react must be passed opts.rootComponent or opts.loadRootComponent");
@@ -9600,15 +9600,15 @@ function O0(e) {
9600
9600
  return setTimeout(this.props.updateFinished), this.props.children;
9601
9601
  }, s;
9602
9602
  }(n);
9603
- var r = { bootstrap: j0.bind(null, n), mount: D0.bind(null, n), unmount: L0.bind(null, n) };
9604
- return n.parcelCanUpdate && (r.update = N0.bind(null, n)), r;
9603
+ var r = { bootstrap: D0.bind(null, n), mount: L0.bind(null, n), unmount: N0.bind(null, n) };
9604
+ return n.parcelCanUpdate && (r.update = I0.bind(null, n)), r;
9605
9605
  }
9606
- function j0(e, t) {
9606
+ function D0(e, t) {
9607
9607
  return e.rootComponent ? Promise.resolve() : e.loadRootComponent(t).then(function(n) {
9608
9608
  e.rootComponent = n;
9609
9609
  });
9610
9610
  }
9611
- function D0(e, t) {
9611
+ function L0(e, t) {
9612
9612
  return new Promise(function(n, r) {
9613
9613
  e.suppressComponentDidCatchWarning || !function(a) {
9614
9614
  if (!(a && typeof a.version == "string" && a.version.indexOf(".") >= 0)) return !1;
@@ -9637,18 +9637,18 @@ function D0(e, t) {
9637
9637
  default:
9638
9638
  return p(d, h), null;
9639
9639
  }
9640
- }({ elementToRender: o, domElement: s, reactDom: Ms(e), renderType: I0(e) });
9640
+ }({ elementToRender: o, domElement: s, reactDom: Ms(e), renderType: k0(e) });
9641
9641
  e.domElements[t.name] = s, e.renderResults[t.name] = i;
9642
9642
  });
9643
9643
  }
9644
- function L0(e, t) {
9644
+ function N0(e, t) {
9645
9645
  return new Promise(function(n) {
9646
9646
  e.unmountResolves[t.name] = n;
9647
9647
  var r = e.renderResults[t.name];
9648
9648
  r && r.unmount ? r.unmount() : Ms(e).unmountComponentAtNode(e.domElements[t.name]), delete e.domElements[t.name], delete e.renderResults[t.name];
9649
9649
  });
9650
9650
  }
9651
- function N0(e, t) {
9651
+ function I0(e, t) {
9652
9652
  return new Promise(function(n) {
9653
9653
  e.updateResolves[t.name] || (e.updateResolves[t.name] = []), e.updateResolves[t.name].push(n);
9654
9654
  var r = eu(e, t, null), o = e.renderResults[t.name];
@@ -9662,7 +9662,7 @@ function N0(e, t) {
9662
9662
  function Ms(e) {
9663
9663
  return e.ReactDOMClient || e.ReactDOM;
9664
9664
  }
9665
- function I0(e) {
9665
+ function k0(e) {
9666
9666
  return typeof e.renderType == "function" ? e.renderType() : e.renderType;
9667
9667
  }
9668
9668
  function eu(e, t, n) {
@@ -9684,16 +9684,16 @@ function eu(e, t, n) {
9684
9684
  e.unmountResolves[t.name] && (e.unmountResolves[t.name](), delete e.unmountResolves[t.name]);
9685
9685
  } }), o);
9686
9686
  }
9687
- const k0 = (e) => {
9688
- const t = new Bf();
9687
+ const $0 = (e) => {
9688
+ const t = new Uf();
9689
9689
  return function(r) {
9690
9690
  if (!r)
9691
9691
  throw new Error("Microfrontend did not receive any properties !!");
9692
9692
  const o = Oa(r.module.name);
9693
- return /* @__PURE__ */ u.jsx(Aa, { module: o, children: /* @__PURE__ */ u.jsxs(qf, { client: t, children: [
9693
+ return /* @__PURE__ */ u.jsx(Aa, { module: o, children: /* @__PURE__ */ u.jsxs(zf, { client: t, children: [
9694
9694
  /* @__PURE__ */ u.jsx(e, { ...r }),
9695
9695
  /* @__PURE__ */ u.jsx(
9696
- Sf,
9696
+ _f,
9697
9697
  {
9698
9698
  position: "top-right",
9699
9699
  reverseOrder: !0
@@ -9701,7 +9701,7 @@ const k0 = (e) => {
9701
9701
  )
9702
9702
  ] }) });
9703
9703
  };
9704
- }, w2 = ({ rootComponent: e, ...t }) => O0({
9704
+ }, C2 = ({ rootComponent: e, ...t }) => j0({
9705
9705
  // defaults
9706
9706
  errorBoundary(n) {
9707
9707
  return console.error(n), /* @__PURE__ */ u.jsx(Dl, {});
@@ -9709,8 +9709,8 @@ const k0 = (e) => {
9709
9709
  // provided props
9710
9710
  ...t,
9711
9711
  // wrappers
9712
- rootComponent: k0(e)
9713
- }), C2 = (e) => {
9712
+ rootComponent: $0(e)
9713
+ }), x2 = (e) => {
9714
9714
  const t = {
9715
9715
  authUser: {
9716
9716
  id: "testuser",
@@ -9740,15 +9740,16 @@ const k0 = (e) => {
9740
9740
  providers: []
9741
9741
  },
9742
9742
  //dummy data
9743
- platformVersion: "0.0.0"
9743
+ platformVersion: "0.0.0",
9744
+ featureFlags: {}
9744
9745
  };
9745
9746
  Object.defineProperty(window, Pn, {
9746
- value: e ? td(t, e) : t
9747
+ value: e ? nd(t, e) : t
9747
9748
  });
9748
9749
  }, tu = () => {
9749
9750
  const [e] = Fr();
9750
9751
  return e.featureFlags;
9751
- }, x2 = (e) => !!tu()[e], $0 = ({
9752
+ }, E2 = (e) => !!tu()[e], M0 = ({
9752
9753
  flag: e,
9753
9754
  children: t,
9754
9755
  fallback: n = null,
@@ -9757,32 +9758,32 @@ const k0 = (e) => {
9757
9758
  const s = tu()[e] === !0;
9758
9759
  return (r ? !s : s) ? /* @__PURE__ */ u.jsx(u.Fragment, { children: t }) : /* @__PURE__ */ u.jsx(u.Fragment, { children: n });
9759
9760
  };
9760
- $0.displayName = "FeatureFlagGuard";
9761
+ M0.displayName = "FeatureFlagGuard";
9761
9762
  export {
9762
9763
  $s as Alert,
9763
- _h as ApplicationIcon,
9764
+ Rh as ApplicationIcon,
9764
9765
  ac as Authorized,
9765
9766
  lc as Badge,
9766
9767
  uc as Badges,
9767
9768
  Yo as Button,
9768
- Zh as ClipboardCheckIcon,
9769
- Yh as ClipboardIcon,
9770
- wv as ConfirmDialog,
9771
- f2 as CopyToClipboardButton,
9769
+ Xh as ClipboardCheckIcon,
9770
+ Zh as ClipboardIcon,
9771
+ Cv as ConfirmDialog,
9772
+ h2 as CopyToClipboardButton,
9772
9773
  fe as Dialog,
9773
9774
  ys as DropdownList,
9774
9775
  Kl as EmptyState,
9775
9776
  Dl as ErrorState,
9776
- c2 as ExtendExtensionPoint,
9777
- yh as ExtensionPoint,
9778
- Wg as EyeIcon,
9779
- $0 as FeatureFlagGuard,
9780
- sp as FieldGroup,
9777
+ l2 as ExtendExtensionPoint,
9778
+ vh as ExtensionPoint,
9779
+ Hg as EyeIcon,
9780
+ M0 as FeatureFlagGuard,
9781
+ ip as FieldGroup,
9781
9782
  gs as Input,
9782
- cp as InputError,
9783
- up as Label,
9783
+ lp as InputError,
9784
+ dp as Label,
9784
9785
  et as List,
9785
- Eh as ModulePlaceHolder,
9786
+ Sh as ModulePlaceHolder,
9786
9787
  Ul as Pagination,
9787
9788
  Wl as PaginationContent,
9788
9789
  ql as PaginationEllipsis,
@@ -9790,78 +9791,79 @@ export {
9790
9791
  eo as PaginationLink,
9791
9792
  Vl as PaginationNext,
9792
9793
  Hl as PaginationPrevious,
9793
- y2 as PasswordInput,
9794
- b2 as Pill,
9795
- u2 as PlatformEventListener,
9796
- W0 as PlatformEvents,
9794
+ v2 as PasswordInput,
9795
+ w2 as Pill,
9796
+ d2 as PlatformEventListener,
9797
+ H0 as PlatformEvents,
9797
9798
  Gl as PluralizeCounter,
9798
- kp as SearchAutocomplete,
9799
+ $p as SearchAutocomplete,
9799
9800
  hc as SearchInput,
9800
9801
  fc as Select,
9801
9802
  Pt as Show,
9802
9803
  vs as Skeleton,
9803
- Qp as SkeletonList,
9804
- Tg as Spinner,
9805
- jg as Switch,
9806
- C0 as Table,
9807
- h2 as Tabs,
9808
- g2 as TabsContent,
9809
- p2 as TabsList,
9810
- m2 as TabsTrigger,
9811
- mp as TextArea,
9812
- bg as Tooltip,
9813
- d2 as authorized,
9804
+ Kp as SkeletonList,
9805
+ Ag as Spinner,
9806
+ Dg as Switch,
9807
+ x0 as Table,
9808
+ p2 as Tabs,
9809
+ y2 as TabsContent,
9810
+ m2 as TabsList,
9811
+ g2 as TabsTrigger,
9812
+ gp as TextArea,
9813
+ wg as Tooltip,
9814
+ f2 as authorized,
9814
9815
  Jt as dropdownListStyles,
9815
- l2 as extensionPoint,
9816
+ u2 as extensionPoint,
9816
9817
  Pa as getApplications,
9817
- K0 as getInitials,
9818
+ Y0 as getInitials,
9818
9819
  ku as getOperations,
9819
9820
  Mu as hasAccess,
9820
- w2 as initializeMicroFrontend,
9821
- r2 as isPlatformCustomizationCompleted,
9822
- Q0 as isValidEmail,
9823
- z0 as logout,
9824
- G0 as navigateTo,
9825
- n2 as platformHaveAnyCustomization,
9826
- C2 as setupTestEnvironment,
9821
+ C2 as initializeMicroFrontend,
9822
+ o2 as isPlatformCustomizationCompleted,
9823
+ K0 as isValidEmail,
9824
+ G0 as logout,
9825
+ Q0 as navigateTo,
9826
+ r2 as platformHaveAnyCustomization,
9827
+ x2 as setupTestEnvironment,
9827
9828
  Yu as useApplicationIcon,
9828
9829
  us as useApplicationJSModule,
9829
- Y0 as useApplicationMenu,
9830
+ Z0 as useApplicationMenu,
9830
9831
  Gu as useApplicationUIModule,
9831
9832
  Vu as useApplications,
9832
9833
  ls as useAuth,
9833
9834
  Br as useCatalog,
9834
9835
  La as useCurrentApplication,
9835
- sd as useCurrentApplicationName,
9836
- Z0 as useCurrentJSModule,
9837
- wd as useDynamicFonts,
9838
- md as useDynamicStyleSheet,
9839
- hd as useExtendExtensionPoint,
9840
- fd as useExtensionPoint,
9841
- x2 as useFeatureFlag,
9836
+ id as useCurrentApplicationName,
9837
+ X0 as useCurrentJSModule,
9838
+ Cd as useDynamicFonts,
9839
+ gd as useDynamicStyleSheet,
9840
+ pd as useExtendExtensionPoint,
9841
+ hd as useExtensionPoint,
9842
+ E2 as useFeatureFlag,
9842
9843
  tu as useFeatureFlags,
9843
- t2 as useGetPlatformTheme,
9844
- V0 as useHasNoSession,
9844
+ n2 as useGetPlatformTheme,
9845
+ q0 as useHasNoSession,
9845
9846
  Du as useLocation,
9846
9847
  Oa as useModule,
9847
- q0 as useModuleCommonPaths,
9848
+ z0 as useModuleCommonPaths,
9848
9849
  Fu as useModuleConfig,
9849
9850
  Bu as useModuleConfigByName,
9851
+ Zu as useModuleMenu,
9850
9852
  Ur as useModuleMetadata,
9851
- H0 as useMutableCatalog,
9853
+ V0 as useMutableCatalog,
9852
9854
  Va as useNotifications,
9853
9855
  $u as useOperations,
9854
- e2 as usePAECustomizationsLoadingState,
9856
+ t2 as usePAECustomizationsLoadingState,
9855
9857
  Fr as usePAEState,
9856
- J0 as usePlatformCustomization,
9857
- pd as usePlatformEventListener,
9858
- s2 as useResource,
9859
- rh as useResourceActions,
9860
- id as useServiceBaseURL,
9858
+ e2 as usePlatformCustomization,
9859
+ md as usePlatformEventListener,
9860
+ i2 as useResource,
9861
+ oh as useResourceActions,
9862
+ ad as useServiceBaseURL,
9861
9863
  Na as useServiceInvoker,
9862
- i2 as useTenants,
9863
- X0 as useTrackEvent,
9864
- dd as useTrackEvents,
9864
+ a2 as useTenants,
9865
+ J0 as useTrackEvent,
9866
+ fd as useTrackEvents,
9865
9867
  zu as useUIApplications,
9866
- a2 as useUserState
9868
+ c2 as useUserState
9867
9869
  };