@bluealba/pae-ui-react-core 4.0.1-feature-add-documentation-templat-1205 → 4.0.1-feature-menu-display-order-1213

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 rs, { useState as ee, useEffect as ie, useCallback as he, createContext a
16
16
  import io, { navigateToUrl as Ru } from "single-spa";
17
17
  import * as Ca from "react-dom";
18
18
  import Au from "react-dom";
19
- const k0 = {
19
+ const N0 = {
20
20
  auth: {
21
21
  SESSION_EXPIRED: "platform:auth:session-expired"
22
22
  },
@@ -47,7 +47,7 @@ const k0 = {
47
47
  }, os = () => _a(
48
48
  window[xa],
49
49
  window[Pn]
50
- ), Fn = () => os()[0].catalog, N0 = () => {
50
+ ), Fn = () => os()[0].catalog, I0 = () => {
51
51
  const e = Fn(), t = he((r) => {
52
52
  window[xa].next({
53
53
  ...window[Pn],
@@ -713,7 +713,7 @@ const Aa = () => {
713
713
  authUser: e,
714
714
  hasAccess: He(() => Fu(t), [t])
715
715
  };
716
- }, I0 = () => {
716
+ }, M0 = () => {
717
717
  const { authUser: e } = is();
718
718
  return !e || e.id === "anon";
719
719
  }, Bu = () => {
@@ -730,7 +730,7 @@ const Aa = () => {
730
730
  }, Uu = (e) => {
731
731
  var t, n;
732
732
  return ((n = (t = Pa(e)) == null ? void 0 : t.ui) == null ? void 0 : n.customProps) ?? {};
733
- }, Hu = (e) => e.replace(/\/+/g, "/"), M0 = (e, t = "only-base-path") => {
733
+ }, Hu = (e) => e.replace(/\/+/g, "/"), $0 = (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 u = a ?? c;
@@ -745,10 +745,10 @@ const Aa = () => {
745
745
  changelogPath: i(s, "/changelog")
746
746
  };
747
747
  };
748
- function $0() {
748
+ function F0() {
749
749
  window.open(Pu, "_self");
750
750
  }
751
- const F0 = (e) => Ru(e), Wu = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z]{2,}$/, B0 = (e) => Wu.test(e), U0 = (e, t = 2) => {
751
+ const B0 = (e) => Ru(e), Wu = /^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9-]+(\.[a-zA-Z0-9-]+)*\.[a-zA-Z]{2,}$/, U0 = (e) => Wu.test(e), H0 = (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);
@@ -952,30 +952,37 @@ const sd = [
952
952
  ],
953
953
  ["path", { d: "M8 11h8", key: "vwpz6n" }],
954
954
  ["path", { d: "M8 7h6", key: "1f0q6e" }]
955
- ], id = od("book-text", sd), ad = (e) => {
955
+ ], id = od("book-text", sd);
956
+ function ad(e) {
957
+ return [...e].sort((t, n) => t.displayOrder == null && n.displayOrder == null ? 0 : t.displayOrder == null ? 1 : n.displayOrder == null ? -1 : n.displayOrder - t.displayOrder);
958
+ }
959
+ const cd = (e) => {
956
960
  const t = Fn();
957
961
  return He(() => {
958
962
  if (!e) return [];
959
963
  const n = t.filter(
960
964
  (o) => o.type === "documentation" && o.application === e.name
961
965
  ), r = Da(e.operations || []);
962
- return n.filter((o) => {
963
- var s, i;
964
- return (i = (s = o.authorization) == null ? void 0 : s.operations) != null && i.length ? r(o.authorization.operations) : !0;
965
- }).map((o) => {
966
- var s;
967
- return {
968
- label: o.displayName,
969
- externalUrl: o.baseUrl,
970
- target: "_blank",
971
- align: "bottom",
972
- Icon: Rr(id, { size: 20 }),
973
- operations: ((s = o.authorization) == null ? void 0 : s.operations) || []
974
- };
975
- });
966
+ return ad(
967
+ n.filter((o) => {
968
+ var s, i;
969
+ return (i = (s = o.authorization) == null ? void 0 : s.operations) != null && i.length ? r(o.authorization.operations) : !0;
970
+ }).map((o) => {
971
+ var s;
972
+ return {
973
+ label: o.displayName,
974
+ externalUrl: o.baseUrl,
975
+ target: "_blank",
976
+ align: "bottom",
977
+ Icon: Rr(id, { size: 20 }),
978
+ operations: ((s = o.authorization) == null ? void 0 : s.operations) || [],
979
+ displayOrder: o.displayOrder
980
+ };
981
+ })
982
+ );
976
983
  }, [t, e]);
977
- }, H0 = (e) => {
978
- const { menu: t, loading: n } = Xu(e), r = ad(e), o = He(
984
+ }, W0 = (e) => {
985
+ const { menu: t, loading: n } = Xu(e), r = cd(e), o = He(
979
986
  () => [...t, ...r],
980
987
  [t, r]
981
988
  );
@@ -1047,10 +1054,10 @@ function Zn(e, t) {
1047
1054
  function ei(e) {
1048
1055
  return Object.prototype.toString.call(e) === "[object Object]";
1049
1056
  }
1050
- var cd = /* @__PURE__ */ cs(function(t, n, r) {
1057
+ var ld = /* @__PURE__ */ cs(function(t, n, r) {
1051
1058
  var o = t(n), s = t(r);
1052
1059
  return o > s ? -1 : o < s ? 1 : 0;
1053
- }), ld = /* @__PURE__ */ cs(function(t, n, r) {
1060
+ }), ud = /* @__PURE__ */ cs(function(t, n, r) {
1054
1061
  var o = {}, s;
1055
1062
  n = n || {}, r = r || {};
1056
1063
  for (s in n)
@@ -1058,15 +1065,15 @@ var cd = /* @__PURE__ */ cs(function(t, n, r) {
1058
1065
  for (s in r)
1059
1066
  Zn(s, r) && !Zn(s, o) && (o[s] = r[s]);
1060
1067
  return o;
1061
- }), ud = /* @__PURE__ */ cs(function e(t, n, r) {
1062
- return ld(function(o, s, i) {
1068
+ }), dd = /* @__PURE__ */ cs(function e(t, n, r) {
1069
+ return ud(function(o, s, i) {
1063
1070
  return ei(s) && ei(i) ? e(t, s, i) : t(o, s, i);
1064
1071
  }, n, r);
1065
- }), dd = /* @__PURE__ */ ot(function(t, n) {
1066
- return ud(function(r, o, s) {
1072
+ }), fd = /* @__PURE__ */ ot(function(t, n) {
1073
+ return dd(function(r, o, s) {
1067
1074
  return s;
1068
1075
  }, t, n);
1069
- }), fd = /* @__PURE__ */ ot(function(t, n) {
1076
+ }), hd = /* @__PURE__ */ ot(function(t, n) {
1070
1077
  return Array.prototype.slice.call(n, 0).sort(function(r, o) {
1071
1078
  for (var s = 0, i = 0; s === 0 && i < t.length; )
1072
1079
  s = t[i](r, o), i += 1;
@@ -1076,19 +1083,19 @@ var cd = /* @__PURE__ */ cs(function(t, n, r) {
1076
1083
  const ka = () => {
1077
1084
  const e = Lu(), t = Gu();
1078
1085
  return He(
1079
- () => hd(e, t),
1086
+ () => pd(e, t),
1080
1087
  [e, t]
1081
1088
  );
1082
- }, hd = (e, t) => fd([cd(pd)], t).find((n) => n.route && e.startsWith(n.route)), pd = (e) => {
1089
+ }, pd = (e, t) => hd([ld(md)], t).find((n) => n.route && e.startsWith(n.route)), md = (e) => {
1083
1090
  var t;
1084
1091
  return ((t = e == null ? void 0 : e.route) == null ? void 0 : t.length) || -1;
1085
- }, md = () => {
1092
+ }, gd = () => {
1086
1093
  var e;
1087
1094
  return (e = ka()) == null ? void 0 : e.name;
1088
- }, W0 = () => {
1095
+ }, q0 = () => {
1089
1096
  const e = ka(), t = Qu(e);
1090
1097
  return as(t == null ? void 0 : t.name);
1091
- }, gd = (e, t) => {
1098
+ }, yd = (e, t) => {
1092
1099
  const r = Fn().find((o) => o.name === e);
1093
1100
  if (!r) {
1094
1101
  if (t) return null;
@@ -1096,19 +1103,19 @@ const ka = () => {
1096
1103
  }
1097
1104
  return r.baseUrl;
1098
1105
  }, Na = (e, t) => {
1099
- const n = gd(e, !!t) ?? t;
1106
+ const n = yd(e, !!t) ?? t;
1100
1107
  return he((r, o) => {
1101
1108
  const i = {
1102
1109
  Accept: "application/json",
1103
1110
  ...(o == null ? void 0 : o.body) instanceof FormData ? {} : { "Content-Type": "application/json" },
1104
1111
  ...o == null ? void 0 : o.headers
1105
1112
  };
1106
- return fetch(yd(`${n}${r}`), {
1113
+ return fetch(vd(`${n}${r}`), {
1107
1114
  ...o,
1108
1115
  headers: i
1109
1116
  });
1110
1117
  }, [n]);
1111
- }, yd = (e) => e.replace(/\/+/g, "/"), vd = (e, t) => (n) => ({
1118
+ }, vd = (e) => e.replace(/\/+/g, "/"), bd = (e, t) => (n) => ({
1112
1119
  timestamp: new Date((/* @__PURE__ */ new Date()).toUTCString()).toISOString(),
1113
1120
  module: t.name,
1114
1121
  moduleVersion: t.version,
@@ -1118,7 +1125,7 @@ const ka = () => {
1118
1125
  // TODO: design user-sessions (from auth + client side uuid ?)
1119
1126
  // sessionId: "85ba7265-503d-4815-8b8a-d343725fd134",
1120
1127
  ...n
1121
- }), bd = (e, t, n) => async (r) => {
1128
+ }), wd = (e, t, n) => async (r) => {
1122
1129
  if (r.length === 0)
1123
1130
  throw new Error("Invalid call to trackEvents with an empty array of events!");
1124
1131
  const o = await e("/event", {
@@ -1126,29 +1133,29 @@ const ka = () => {
1126
1133
  headers: {
1127
1134
  "Content-Type": "application/json"
1128
1135
  },
1129
- body: JSON.stringify(r.map(vd(t, n)))
1136
+ body: JSON.stringify(r.map(bd(t, n)))
1130
1137
  });
1131
1138
  if (!o.ok)
1132
1139
  throw new Error(`Error publishing habits event ${o.statusText}`);
1133
- }, wd = "@bluealba/pae-habits-service", Cd = () => {
1134
- const { authUser: e } = is(), t = Br(), n = Na(wd);
1135
- return he(bd(n, e, t), [n, e, t]);
1136
- }, q0 = () => {
1137
- const e = Cd();
1140
+ }, Cd = "@bluealba/pae-habits-service", xd = () => {
1141
+ const { authUser: e } = is(), t = Br(), n = Na(Cd);
1142
+ return he(wd(n, e, t), [n, e, t]);
1143
+ }, V0 = () => {
1144
+ const e = xd();
1138
1145
  return he(
1139
1146
  (t, n) => e([{ name: t, data: n }]),
1140
1147
  [e]
1141
1148
  );
1142
- }, xd = (e) => {
1149
+ }, Ed = (e) => {
1143
1150
  const t = Br(), n = window[Ea], [r, o] = ee(null);
1144
1151
  return ie(() => n.defineExtensionPoint(t, e, (s) => {
1145
1152
  o(() => s);
1146
1153
  }), [o]), r;
1147
- }, Ed = (e, t, n) => {
1154
+ }, _d = (e, t, n) => {
1148
1155
  ie(() => window[Ea].setExtensionPoint(e, t, n), []);
1149
- }, _d = (e, t) => {
1156
+ }, Sd = (e, t) => {
1150
1157
  ie(() => (window.addEventListener(e, t), () => window.removeEventListener(e, t)), [e, t]);
1151
- }, Sd = (e) => {
1158
+ }, Td = (e) => {
1152
1159
  const { cssCustomizationLoadingDelay: t = 1e3 } = Bu();
1153
1160
  ie(() => {
1154
1161
  if (!e) return;
@@ -1157,24 +1164,24 @@ const ka = () => {
1157
1164
  n.innerHTML = e, document.head.append(n);
1158
1165
  }, t), () => n && n.remove();
1159
1166
  }, [e]);
1160
- }, Td = (e) => {
1167
+ }, Rd = (e) => {
1161
1168
  var t;
1162
1169
  return (t = e.split(/[#?]/)[0].split(".").pop()) == null ? void 0 : t.trim();
1163
- }, Rd = {
1170
+ }, Ad = {
1164
1171
  woff2: "woff2",
1165
1172
  woff: "woff",
1166
1173
  ttf: "truetype",
1167
1174
  otf: "opentype",
1168
1175
  eot: "embedded-opentype",
1169
1176
  svg: "svg"
1170
- }, Ad = (e) => {
1171
- const t = Td(e);
1172
- return t ? Rd[t] : void 0;
1173
- }, Pd = (e, t) => {
1174
- const n = t ?? Ad(e);
1177
+ }, Pd = (e) => {
1178
+ const t = Rd(e);
1179
+ return t ? Ad[t] : void 0;
1180
+ }, Od = (e, t) => {
1181
+ const n = t ?? Pd(e);
1175
1182
  return n ? `format(${n})` : "";
1176
1183
  };
1177
- function Od(e) {
1184
+ function jd(e) {
1178
1185
  const [t, n] = ee(!1);
1179
1186
  return ie(() => {
1180
1187
  if (!(e != null && e.length)) return;
@@ -1185,7 +1192,7 @@ function Od(e) {
1185
1192
  ({ path: c, fontWeight: u, format: d }) => `
1186
1193
  @font-face {
1187
1194
  font-family: "${i}";
1188
- src: url("${c}") ${Pd(c, d)};
1195
+ src: url("${c}") ${Od(c, d)};
1189
1196
  font-weight: ${u};
1190
1197
  font-style: normal;
1191
1198
  }
@@ -1392,9 +1399,9 @@ function Fa(e) {
1392
1399
  function ti(e) {
1393
1400
  Ke(e) ? e() : e.unsubscribe();
1394
1401
  }
1395
- var jd = {
1402
+ var Dd = {
1396
1403
  Promise: void 0
1397
- }, Dd = {
1404
+ }, Ld = {
1398
1405
  setTimeout: function(e, t) {
1399
1406
  for (var n = [], r = 2; r < arguments.length; r++)
1400
1407
  n[r - 2] = arguments[r];
@@ -1405,8 +1412,8 @@ var jd = {
1405
1412
  },
1406
1413
  delegate: void 0
1407
1414
  };
1408
- function Ld(e) {
1409
- Dd.setTimeout(function() {
1415
+ function kd(e) {
1416
+ Ld.setTimeout(function() {
1410
1417
  throw e;
1411
1418
  });
1412
1419
  }
@@ -1419,7 +1426,7 @@ var Ba = function(e) {
1419
1426
  Bn(t, e);
1420
1427
  function t(n) {
1421
1428
  var r = e.call(this) || this;
1422
- return r.isStopped = !1, n ? (r.destination = n, Fa(n) && n.add(r)) : r.destination = Id, r;
1429
+ return r.isStopped = !1, n ? (r.destination = n, Fa(n) && n.add(r)) : r.destination = Md, r;
1423
1430
  }
1424
1431
  return t.create = function(n, r, o) {
1425
1432
  return new Ro(n, r, o);
@@ -1446,7 +1453,7 @@ var Ba = function(e) {
1446
1453
  this.unsubscribe();
1447
1454
  }
1448
1455
  }, t;
1449
- }(Hr), kd = function() {
1456
+ }(Hr), Nd = function() {
1450
1457
  function e(t) {
1451
1458
  this.partialObserver = t;
1452
1459
  }
@@ -1485,29 +1492,29 @@ var Ba = function(e) {
1485
1492
  next: n ?? void 0,
1486
1493
  error: r ?? void 0,
1487
1494
  complete: o ?? void 0
1488
- } : i = n, s.destination = new kd(i), s;
1495
+ } : i = n, s.destination = new Nd(i), s;
1489
1496
  }
1490
1497
  return t;
1491
1498
  }(Ba);
1492
1499
  function Xn(e) {
1493
- Ld(e);
1500
+ kd(e);
1494
1501
  }
1495
- function Nd(e) {
1502
+ function Id(e) {
1496
1503
  throw e;
1497
1504
  }
1498
- var Id = {
1505
+ var Md = {
1499
1506
  closed: !0,
1500
1507
  next: ni,
1501
- error: Nd,
1508
+ error: Id,
1502
1509
  complete: ni
1503
- }, Md = function() {
1510
+ }, $d = function() {
1504
1511
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1505
1512
  }();
1506
- function $d(e) {
1513
+ function Fd(e) {
1507
1514
  return e;
1508
1515
  }
1509
- function Fd(e) {
1510
- return e.length === 0 ? $d : e.length === 1 ? e[0] : function(n) {
1516
+ function Bd(e) {
1517
+ return e.length === 0 ? Fd : e.length === 1 ? e[0] : function(n) {
1511
1518
  return e.reduce(function(r, o) {
1512
1519
  return o(r);
1513
1520
  }, n);
@@ -1521,7 +1528,7 @@ var ri = function() {
1521
1528
  var n = new e();
1522
1529
  return n.source = this, n.operator = t, n;
1523
1530
  }, e.prototype.subscribe = function(t, n, r) {
1524
- var o = this, s = Ud(t) ? t : new Ro(t, n, r);
1531
+ var o = this, s = Hd(t) ? t : new Ro(t, n, r);
1525
1532
  return gr(function() {
1526
1533
  var i = o, a = i.operator, c = i.source;
1527
1534
  s.add(a ? a.call(s, c) : c ? o._subscribe(s) : o._trySubscribe(s));
@@ -1551,12 +1558,12 @@ var ri = function() {
1551
1558
  }, e.prototype._subscribe = function(t) {
1552
1559
  var n;
1553
1560
  return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1554
- }, e.prototype[Md] = function() {
1561
+ }, e.prototype[$d] = function() {
1555
1562
  return this;
1556
1563
  }, e.prototype.pipe = function() {
1557
1564
  for (var t = [], n = 0; n < arguments.length; n++)
1558
1565
  t[n] = arguments[n];
1559
- return Fd(t)(this);
1566
+ return Bd(t)(this);
1560
1567
  }, e.prototype.toPromise = function(t) {
1561
1568
  var n = this;
1562
1569
  return t = oi(t), new t(function(r, o) {
@@ -1575,15 +1582,15 @@ var ri = function() {
1575
1582
  }();
1576
1583
  function oi(e) {
1577
1584
  var t;
1578
- return (t = e ?? jd.Promise) !== null && t !== void 0 ? t : Promise;
1585
+ return (t = e ?? Dd.Promise) !== null && t !== void 0 ? t : Promise;
1579
1586
  }
1580
- function Bd(e) {
1587
+ function Ud(e) {
1581
1588
  return e && Ke(e.next) && Ke(e.error) && Ke(e.complete);
1582
1589
  }
1583
- function Ud(e) {
1584
- return e && e instanceof Ba || Bd(e) && Fa(e);
1590
+ function Hd(e) {
1591
+ return e && e instanceof Ba || Ud(e) && Fa(e);
1585
1592
  }
1586
- var Hd = Ma(function(e) {
1593
+ var Wd = Ma(function(e) {
1587
1594
  return function() {
1588
1595
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1589
1596
  };
@@ -1598,7 +1605,7 @@ var Hd = Ma(function(e) {
1598
1605
  return r.operator = n, r;
1599
1606
  }, t.prototype._throwIfClosed = function() {
1600
1607
  if (this.closed)
1601
- throw new Hd();
1608
+ throw new Wd();
1602
1609
  }, t.prototype.next = function(n) {
1603
1610
  var r = this;
1604
1611
  gr(function() {
@@ -1685,7 +1692,7 @@ var Hd = Ma(function(e) {
1685
1692
  var r, o;
1686
1693
  return (o = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && o !== void 0 ? o : $a;
1687
1694
  }, t;
1688
- }(Ua), Wd = function(e) {
1695
+ }(Ua), qd = function(e) {
1689
1696
  Bn(t, e);
1690
1697
  function t(n) {
1691
1698
  var r = e.call(this) || this;
@@ -1709,11 +1716,11 @@ var Hd = Ma(function(e) {
1709
1716
  e.prototype.next.call(this, this._value = n);
1710
1717
  }, t;
1711
1718
  }(Ua);
1712
- const V0 = (e) => {
1713
- const { fontsLoaded: t } = Od(e.fonts);
1714
- Sd(e.styleSheet);
1719
+ const z0 = (e) => {
1720
+ const { fontsLoaded: t } = jd(e.fonts);
1721
+ Td(e.styleSheet);
1715
1722
  const n = () => {
1716
- const r = new Wd(!0);
1723
+ const r = new qd(!0);
1717
1724
  window[Co] = r;
1718
1725
  };
1719
1726
  ie(() => {
@@ -1721,10 +1728,10 @@ const V0 = (e) => {
1721
1728
  }, [t]), ie(() => {
1722
1729
  n();
1723
1730
  }, []);
1724
- }, z0 = () => {
1731
+ }, G0 = () => {
1725
1732
  const e = window[Co];
1726
1733
  return _a(e, e.getValue() ?? void 0);
1727
- }, Ao = "theme", ii = () => document.documentElement.dataset[Ao] === "dark" ? "dark" : "light", G0 = () => {
1734
+ }, Ao = "theme", ii = () => document.documentElement.dataset[Ao] === "dark" ? "dark" : "light", Q0 = () => {
1728
1735
  const [e, t] = ee(ii());
1729
1736
  return ie(() => {
1730
1737
  const n = document.documentElement, r = () => t(ii), o = new MutationObserver((s) => {
@@ -1738,8 +1745,8 @@ const V0 = (e) => {
1738
1745
  o.disconnect();
1739
1746
  };
1740
1747
  }, []), e;
1741
- }, Q0 = (e) => e !== void 0, K0 = (e) => e !== !0;
1742
- let qd = { data: "" }, Vd = (e) => typeof window == "object" ? ((e ? e.querySelector("#_goober") : window._goober) || Object.assign((e || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : e || qd, zd = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Gd = /\/\*[^]*?\*\/| +/g, ai = /\n+/g, st = (e, t) => {
1748
+ }, K0 = (e) => e !== void 0, Y0 = (e) => e !== !0;
1749
+ let Vd = { data: "" }, zd = (e) => typeof window == "object" ? ((e ? e.querySelector("#_goober") : window._goober) || Object.assign((e || document.head).appendChild(document.createElement("style")), { innerHTML: " ", id: "_goober" })).firstChild : e || Vd, Gd = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, Qd = /\/\*[^]*?\*\/| +/g, ai = /\n+/g, st = (e, t) => {
1743
1750
  let n = "", r = "", o = "";
1744
1751
  for (let s in e) {
1745
1752
  let i = e[s];
@@ -1753,7 +1760,7 @@ let qd = { data: "" }, Vd = (e) => typeof window == "object" ? ((e ? e.querySele
1753
1760
  return t;
1754
1761
  }
1755
1762
  return e;
1756
- }, Qd = (e, t, n, r, o) => {
1763
+ }, Kd = (e, t, n, r, o) => {
1757
1764
  let s = Ha(e), i = Ve[s] || (Ve[s] = ((c) => {
1758
1765
  let u = 0, d = 11;
1759
1766
  for (; u < c.length; ) d = 101 * d + c.charCodeAt(u++) >>> 0;
@@ -1762,7 +1769,7 @@ let qd = { data: "" }, Vd = (e) => typeof window == "object" ? ((e ? e.querySele
1762
1769
  if (!Ve[i]) {
1763
1770
  let c = s !== e ? e : ((u) => {
1764
1771
  let d, p, h = [{}];
1765
- for (; d = zd.exec(u.replace(Gd, "")); ) d[4] ? h.shift() : d[3] ? (p = d[3].replace(ai, " ").trim(), h.unshift(h[0][p] = h[0][p] || {})) : h[0][d[1]] = d[2].replace(ai, " ").trim();
1772
+ for (; d = Gd.exec(u.replace(Qd, "")); ) d[4] ? h.shift() : d[3] ? (p = d[3].replace(ai, " ").trim(), h.unshift(h[0][p] = h[0][p] || {})) : h[0][d[1]] = d[2].replace(ai, " ").trim();
1766
1773
  return h[0];
1767
1774
  })(e);
1768
1775
  Ve[i] = st(o ? { ["@keyframes " + i]: c } : c, n ? "" : "." + i);
@@ -1771,7 +1778,7 @@ let qd = { data: "" }, Vd = (e) => typeof window == "object" ? ((e ? e.querySele
1771
1778
  return n && (Ve.g = Ve[i]), ((c, u, d, p) => {
1772
1779
  p ? u.data = u.data.replace(p, c) : u.data.indexOf(c) === -1 && (u.data = d ? c + u.data : u.data + c);
1773
1780
  })(Ve[i], t, r, a), i;
1774
- }, Kd = (e, t, n) => e.reduce((r, o, s) => {
1781
+ }, Yd = (e, t, n) => e.reduce((r, o, s) => {
1775
1782
  let i = t[s];
1776
1783
  if (i && i.call) {
1777
1784
  let a = i(n), c = a && a.props && a.props.className || /^go/.test(a) && a;
@@ -1781,12 +1788,12 @@ let qd = { data: "" }, Vd = (e) => typeof window == "object" ? ((e ? e.querySele
1781
1788
  }, "");
1782
1789
  function Wr(e) {
1783
1790
  let t = this || {}, n = e.call ? e(t.p) : e;
1784
- return Qd(n.unshift ? n.raw ? Kd(n, [].slice.call(arguments, 1), t.p) : n.reduce((r, o) => Object.assign(r, o && o.call ? o(t.p) : o), {}) : n, Vd(t.target), t.g, t.o, t.k);
1791
+ return Kd(n.unshift ? n.raw ? Yd(n, [].slice.call(arguments, 1), t.p) : n.reduce((r, o) => Object.assign(r, o && o.call ? o(t.p) : o), {}) : n, zd(t.target), t.g, t.o, t.k);
1785
1792
  }
1786
1793
  let Wa, Po, Oo;
1787
1794
  Wr.bind({ g: 1 });
1788
1795
  let Ze = Wr.bind({ k: 1 });
1789
- function Yd(e, t, n, r) {
1796
+ function Zd(e, t, n, r) {
1790
1797
  st.p = t, Wa = e, Po = n, Oo = r;
1791
1798
  }
1792
1799
  function Ct(e, t) {
@@ -1802,7 +1809,7 @@ function Ct(e, t) {
1802
1809
  return o;
1803
1810
  };
1804
1811
  }
1805
- var Zd = (e) => typeof e == "function", Pr = (e, t) => Zd(e) ? e(t) : e, Xd = /* @__PURE__ */ (() => {
1812
+ var Xd = (e) => typeof e == "function", Pr = (e, t) => Xd(e) ? e(t) : e, Jd = /* @__PURE__ */ (() => {
1806
1813
  let e = 0;
1807
1814
  return () => (++e).toString();
1808
1815
  })(), qa = /* @__PURE__ */ (() => {
@@ -1814,21 +1821,21 @@ var Zd = (e) => typeof e == "function", Pr = (e, t) => Zd(e) ? e(t) : e, Xd = /*
1814
1821
  }
1815
1822
  return e;
1816
1823
  };
1817
- })(), Jd = 20, yr = /* @__PURE__ */ new Map(), ef = 1e3, ci = (e) => {
1824
+ })(), ef = 20, yr = /* @__PURE__ */ new Map(), tf = 1e3, ci = (e) => {
1818
1825
  if (yr.has(e)) return;
1819
1826
  let t = setTimeout(() => {
1820
1827
  yr.delete(e), Wt({ type: 4, toastId: e });
1821
- }, ef);
1828
+ }, tf);
1822
1829
  yr.set(e, t);
1823
- }, tf = (e) => {
1830
+ }, nf = (e) => {
1824
1831
  let t = yr.get(e);
1825
1832
  t && clearTimeout(t);
1826
1833
  }, jo = (e, t) => {
1827
1834
  switch (t.type) {
1828
1835
  case 0:
1829
- return { ...e, toasts: [t.toast, ...e.toasts].slice(0, Jd) };
1836
+ return { ...e, toasts: [t.toast, ...e.toasts].slice(0, ef) };
1830
1837
  case 1:
1831
- return t.toast.id && tf(t.toast.id), { ...e, toasts: e.toasts.map((s) => s.id === t.toast.id ? { ...s, ...t.toast } : s) };
1838
+ return t.toast.id && nf(t.toast.id), { ...e, toasts: e.toasts.map((s) => s.id === t.toast.id ? { ...s, ...t.toast } : s) };
1832
1839
  case 2:
1833
1840
  let { toast: n } = t;
1834
1841
  return e.toasts.find((s) => s.id === n.id) ? jo(e, { type: 1, toast: n }) : jo(e, { type: 0, toast: n });
@@ -1849,7 +1856,7 @@ var Zd = (e) => typeof e == "function", Pr = (e, t) => Zd(e) ? e(t) : e, Xd = /*
1849
1856
  br = jo(br, e), vr.forEach((t) => {
1850
1857
  t(br);
1851
1858
  });
1852
- }, nf = { blank: 4e3, error: 4e3, success: 2e3, loading: 1 / 0, custom: 4e3 }, rf = (e = {}) => {
1859
+ }, rf = { blank: 4e3, error: 4e3, success: 2e3, loading: 1 / 0, custom: 4e3 }, of = (e = {}) => {
1853
1860
  let [t, n] = ee(br);
1854
1861
  ie(() => (vr.push(n), () => {
1855
1862
  let o = vr.indexOf(n);
@@ -1857,11 +1864,11 @@ var Zd = (e) => typeof e == "function", Pr = (e, t) => Zd(e) ? e(t) : e, Xd = /*
1857
1864
  }), [t]);
1858
1865
  let r = t.toasts.map((o) => {
1859
1866
  var s, i;
1860
- return { ...e, ...e[o.type], ...o, duration: o.duration || ((s = e[o.type]) == null ? void 0 : s.duration) || (e == null ? void 0 : e.duration) || nf[o.type], style: { ...e.style, ...(i = e[o.type]) == null ? void 0 : i.style, ...o.style } };
1867
+ return { ...e, ...e[o.type], ...o, duration: o.duration || ((s = e[o.type]) == null ? void 0 : s.duration) || (e == null ? void 0 : e.duration) || rf[o.type], style: { ...e.style, ...(i = e[o.type]) == null ? void 0 : i.style, ...o.style } };
1861
1868
  });
1862
1869
  return { ...t, toasts: r };
1863
- }, of = (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) || Xd() }), Un = (e) => (t, n) => {
1864
- let r = of(t, e, n);
1870
+ }, sf = (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) || Jd() }), Un = (e) => (t, n) => {
1871
+ let r = sf(t, e, n);
1865
1872
  return Wt({ type: 2, toast: r }), r.id;
1866
1873
  }, xe = (e, t) => Un("blank")(e, t);
1867
1874
  xe.error = Un("error");
@@ -1878,12 +1885,12 @@ xe.promise = (e, t, n) => {
1878
1885
  xe.error(Pr(t.error, o), { id: r, ...n, ...n == null ? void 0 : n.error });
1879
1886
  }), e;
1880
1887
  };
1881
- var sf = (e, t) => {
1888
+ var af = (e, t) => {
1882
1889
  Wt({ type: 1, toast: { id: e, height: t } });
1883
- }, af = () => {
1890
+ }, cf = () => {
1884
1891
  Wt({ type: 5, time: Date.now() });
1885
- }, cf = (e) => {
1886
- let { toasts: t, pausedAt: n } = rf(e);
1892
+ }, lf = (e) => {
1893
+ let { toasts: t, pausedAt: n } = of(e);
1887
1894
  ie(() => {
1888
1895
  if (n) return;
1889
1896
  let s = Date.now(), i = t.map((a) => {
@@ -1905,8 +1912,8 @@ var sf = (e, t) => {
1905
1912
  let { reverseOrder: a = !1, gutter: c = 8, defaultPosition: u } = i || {}, d = t.filter((g) => (g.position || u) === (s.position || u) && g.height), p = d.findIndex((g) => g.id === s.id), h = d.filter((g, w) => w < p && g.visible).length;
1906
1913
  return d.filter((g) => g.visible).slice(...a ? [h + 1] : [0, h]).reduce((g, w) => g + (w.height || 0) + c, 0);
1907
1914
  }, [t]);
1908
- return { toasts: t, handlers: { updateHeight: sf, startPause: af, endPause: r, calculateOffset: o } };
1909
- }, lf = Ze`
1915
+ return { toasts: t, handlers: { updateHeight: af, startPause: cf, endPause: r, calculateOffset: o } };
1916
+ }, uf = Ze`
1910
1917
  from {
1911
1918
  transform: scale(0) rotate(45deg);
1912
1919
  opacity: 0;
@@ -1914,7 +1921,7 @@ from {
1914
1921
  to {
1915
1922
  transform: scale(1) rotate(45deg);
1916
1923
  opacity: 1;
1917
- }`, uf = Ze`
1924
+ }`, df = Ze`
1918
1925
  from {
1919
1926
  transform: scale(0);
1920
1927
  opacity: 0;
@@ -1922,7 +1929,7 @@ from {
1922
1929
  to {
1923
1930
  transform: scale(1);
1924
1931
  opacity: 1;
1925
- }`, df = Ze`
1932
+ }`, ff = Ze`
1926
1933
  from {
1927
1934
  transform: scale(0) rotate(90deg);
1928
1935
  opacity: 0;
@@ -1930,7 +1937,7 @@ from {
1930
1937
  to {
1931
1938
  transform: scale(1) rotate(90deg);
1932
1939
  opacity: 1;
1933
- }`, ff = Ct("div")`
1940
+ }`, hf = Ct("div")`
1934
1941
  width: 20px;
1935
1942
  opacity: 0;
1936
1943
  height: 20px;
@@ -1939,14 +1946,14 @@ to {
1939
1946
  position: relative;
1940
1947
  transform: rotate(45deg);
1941
1948
 
1942
- animation: ${lf} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1949
+ animation: ${uf} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
1943
1950
  forwards;
1944
1951
  animation-delay: 100ms;
1945
1952
 
1946
1953
  &:after,
1947
1954
  &:before {
1948
1955
  content: '';
1949
- animation: ${uf} 0.15s ease-out forwards;
1956
+ animation: ${df} 0.15s ease-out forwards;
1950
1957
  animation-delay: 150ms;
1951
1958
  position: absolute;
1952
1959
  border-radius: 3px;
@@ -1959,18 +1966,18 @@ to {
1959
1966
  }
1960
1967
 
1961
1968
  &:before {
1962
- animation: ${df} 0.15s ease-out forwards;
1969
+ animation: ${ff} 0.15s ease-out forwards;
1963
1970
  animation-delay: 180ms;
1964
1971
  transform: rotate(90deg);
1965
1972
  }
1966
- `, hf = Ze`
1973
+ `, pf = Ze`
1967
1974
  from {
1968
1975
  transform: rotate(0deg);
1969
1976
  }
1970
1977
  to {
1971
1978
  transform: rotate(360deg);
1972
1979
  }
1973
- `, pf = Ct("div")`
1980
+ `, mf = Ct("div")`
1974
1981
  width: 12px;
1975
1982
  height: 12px;
1976
1983
  box-sizing: border-box;
@@ -1978,8 +1985,8 @@ to {
1978
1985
  border-radius: 100%;
1979
1986
  border-color: ${(e) => e.secondary || "#e0e0e0"};
1980
1987
  border-right-color: ${(e) => e.primary || "#616161"};
1981
- animation: ${hf} 1s linear infinite;
1982
- `, mf = Ze`
1988
+ animation: ${pf} 1s linear infinite;
1989
+ `, gf = Ze`
1983
1990
  from {
1984
1991
  transform: scale(0) rotate(45deg);
1985
1992
  opacity: 0;
@@ -1987,7 +1994,7 @@ from {
1987
1994
  to {
1988
1995
  transform: scale(1) rotate(45deg);
1989
1996
  opacity: 1;
1990
- }`, gf = Ze`
1997
+ }`, yf = Ze`
1991
1998
  0% {
1992
1999
  height: 0;
1993
2000
  width: 0;
@@ -2001,7 +2008,7 @@ to {
2001
2008
  100% {
2002
2009
  opacity: 1;
2003
2010
  height: 10px;
2004
- }`, yf = Ct("div")`
2011
+ }`, vf = Ct("div")`
2005
2012
  width: 20px;
2006
2013
  opacity: 0;
2007
2014
  height: 20px;
@@ -2010,13 +2017,13 @@ to {
2010
2017
  position: relative;
2011
2018
  transform: rotate(45deg);
2012
2019
 
2013
- animation: ${mf} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
2020
+ animation: ${gf} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
2014
2021
  forwards;
2015
2022
  animation-delay: 100ms;
2016
2023
  &:after {
2017
2024
  content: '';
2018
2025
  box-sizing: border-box;
2019
- animation: ${gf} 0.2s ease-out forwards;
2026
+ animation: ${yf} 0.2s ease-out forwards;
2020
2027
  opacity: 0;
2021
2028
  animation-delay: 200ms;
2022
2029
  position: absolute;
@@ -2028,16 +2035,16 @@ to {
2028
2035
  height: 10px;
2029
2036
  width: 6px;
2030
2037
  }
2031
- `, vf = Ct("div")`
2032
- position: absolute;
2033
2038
  `, bf = Ct("div")`
2039
+ position: absolute;
2040
+ `, wf = Ct("div")`
2034
2041
  position: relative;
2035
2042
  display: flex;
2036
2043
  justify-content: center;
2037
2044
  align-items: center;
2038
2045
  min-width: 20px;
2039
2046
  min-height: 20px;
2040
- `, wf = Ze`
2047
+ `, Cf = Ze`
2041
2048
  from {
2042
2049
  transform: scale(0.6);
2043
2050
  opacity: 0.4;
@@ -2045,23 +2052,23 @@ from {
2045
2052
  to {
2046
2053
  transform: scale(1);
2047
2054
  opacity: 1;
2048
- }`, Cf = Ct("div")`
2055
+ }`, xf = Ct("div")`
2049
2056
  position: relative;
2050
2057
  transform: scale(0.6);
2051
2058
  opacity: 0.4;
2052
2059
  min-width: 20px;
2053
- animation: ${wf} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
2060
+ animation: ${Cf} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
2054
2061
  forwards;
2055
- `, xf = ({ toast: e }) => {
2062
+ `, Ef = ({ toast: e }) => {
2056
2063
  let { icon: t, type: n, iconTheme: r } = e;
2057
- return t !== void 0 ? typeof t == "string" ? m.createElement(Cf, null, t) : t : n === "blank" ? null : m.createElement(bf, null, m.createElement(pf, { ...r }), n !== "loading" && m.createElement(vf, null, n === "error" ? m.createElement(ff, { ...r }) : m.createElement(yf, { ...r })));
2058
- }, Ef = (e) => `
2064
+ return t !== void 0 ? typeof t == "string" ? m.createElement(xf, null, t) : t : n === "blank" ? null : m.createElement(wf, null, m.createElement(mf, { ...r }), n !== "loading" && m.createElement(bf, null, n === "error" ? m.createElement(hf, { ...r }) : m.createElement(vf, { ...r })));
2065
+ }, _f = (e) => `
2059
2066
  0% {transform: translate3d(0,${e * -200}%,0) scale(.6); opacity:.5;}
2060
2067
  100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
2061
- `, _f = (e) => `
2068
+ `, Sf = (e) => `
2062
2069
  0% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
2063
2070
  100% {transform: translate3d(0,${e * -150}%,-1px) scale(.6); opacity:0;}
2064
- `, Sf = "0%{opacity:0;} 100%{opacity:1;}", Tf = "0%{opacity:1;} 100%{opacity:0;}", Rf = Ct("div")`
2071
+ `, Tf = "0%{opacity:0;} 100%{opacity:1;}", Rf = "0%{opacity:1;} 100%{opacity:0;}", Af = Ct("div")`
2065
2072
  display: flex;
2066
2073
  align-items: center;
2067
2074
  background: #fff;
@@ -2073,22 +2080,22 @@ to {
2073
2080
  pointer-events: auto;
2074
2081
  padding: 8px 10px;
2075
2082
  border-radius: 8px;
2076
- `, Af = Ct("div")`
2083
+ `, Pf = Ct("div")`
2077
2084
  display: flex;
2078
2085
  justify-content: center;
2079
2086
  margin: 4px 10px;
2080
2087
  color: inherit;
2081
2088
  flex: 1 1 auto;
2082
2089
  white-space: pre-line;
2083
- `, Pf = (e, t) => {
2084
- let n = e.includes("top") ? 1 : -1, [r, o] = qa() ? [Sf, Tf] : [Ef(n), _f(n)];
2090
+ `, Of = (e, t) => {
2091
+ let n = e.includes("top") ? 1 : -1, [r, o] = qa() ? [Tf, Rf] : [_f(n), Sf(n)];
2085
2092
  return { animation: t ? `${Ze(r)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards` : `${Ze(o)} 0.4s forwards cubic-bezier(.06,.71,.55,1)` };
2086
- }, Of = m.memo(({ toast: e, position: t, style: n, children: r }) => {
2087
- let o = e.height ? Pf(e.position || t || "top-center", e.visible) : { opacity: 0 }, s = m.createElement(xf, { toast: e }), i = m.createElement(Af, { ...e.ariaProps }, Pr(e.message, e));
2088
- return m.createElement(Rf, { className: e.className, style: { ...o, ...n, ...e.style } }, typeof r == "function" ? r({ icon: s, message: i }) : m.createElement(m.Fragment, null, s, i));
2093
+ }, jf = m.memo(({ toast: e, position: t, style: n, children: r }) => {
2094
+ let o = e.height ? Of(e.position || t || "top-center", e.visible) : { opacity: 0 }, s = m.createElement(Ef, { toast: e }), i = m.createElement(Pf, { ...e.ariaProps }, Pr(e.message, e));
2095
+ return m.createElement(Af, { className: e.className, style: { ...o, ...n, ...e.style } }, typeof r == "function" ? r({ icon: s, message: i }) : m.createElement(m.Fragment, null, s, i));
2089
2096
  });
2090
- Yd(m.createElement);
2091
- var jf = ({ id: e, className: t, style: n, onHeightUpdate: r, children: o }) => {
2097
+ Zd(m.createElement);
2098
+ var Df = ({ id: e, className: t, style: n, onHeightUpdate: r, children: o }) => {
2092
2099
  let s = m.useCallback((i) => {
2093
2100
  if (i) {
2094
2101
  let a = () => {
@@ -2099,19 +2106,19 @@ var jf = ({ id: e, className: t, style: n, onHeightUpdate: r, children: o }) =>
2099
2106
  }
2100
2107
  }, [e, r]);
2101
2108
  return m.createElement("div", { ref: s, className: t, style: n }, o);
2102
- }, Df = (e, t) => {
2109
+ }, Lf = (e, t) => {
2103
2110
  let n = e.includes("top"), r = n ? { top: 0 } : { bottom: 0 }, o = e.includes("center") ? { justifyContent: "center" } : e.includes("right") ? { justifyContent: "flex-end" } : {};
2104
2111
  return { left: 0, right: 0, display: "flex", position: "absolute", transition: qa() ? void 0 : "all 230ms cubic-bezier(.21,1.02,.73,1)", transform: `translateY(${t * (n ? 1 : -1)}px)`, ...r, ...o };
2105
- }, Lf = Wr`
2112
+ }, kf = Wr`
2106
2113
  z-index: 9999;
2107
2114
  > * {
2108
2115
  pointer-events: auto;
2109
2116
  }
2110
- `, Jn = 16, kf = ({ reverseOrder: e, position: t = "top-center", toastOptions: n, gutter: r, children: o, containerStyle: s, containerClassName: i }) => {
2111
- let { toasts: a, handlers: c } = cf(n);
2117
+ `, Jn = 16, Nf = ({ reverseOrder: e, position: t = "top-center", toastOptions: n, gutter: r, children: o, containerStyle: s, containerClassName: i }) => {
2118
+ let { toasts: a, handlers: c } = lf(n);
2112
2119
  return m.createElement("div", { style: { position: "fixed", zIndex: 9999, top: Jn, left: Jn, right: Jn, bottom: Jn, pointerEvents: "none", ...s }, className: i, onMouseEnter: c.startPause, onMouseLeave: c.endPause }, a.map((u) => {
2113
- let d = u.position || t, p = c.calculateOffset(u, { reverseOrder: e, gutter: r, defaultPosition: t }), h = Df(d, p);
2114
- return m.createElement(jf, { id: u.id, key: u.id, onHeightUpdate: c.updateHeight, className: u.visible ? Lf : "", style: h }, u.type === "custom" ? Pr(u.message, u) : o ? o(u) : m.createElement(Of, { toast: u, position: d }));
2120
+ let d = u.position || t, p = c.calculateOffset(u, { reverseOrder: e, gutter: r, defaultPosition: t }), h = Lf(d, p);
2121
+ return m.createElement(Df, { id: u.id, key: u.id, onHeightUpdate: c.updateHeight, className: u.visible ? kf : "", style: h }, u.type === "custom" ? Pr(u.message, u) : o ? o(u) : m.createElement(jf, { toast: u, position: d }));
2115
2122
  }));
2116
2123
  }, li = xe;
2117
2124
  const Va = () => ({ notify: he((t, n, r) => {
@@ -2147,7 +2154,7 @@ var bn = class {
2147
2154
  }, Ft = typeof window > "u" || "Deno" in globalThis;
2148
2155
  function de() {
2149
2156
  }
2150
- function Nf(e, t) {
2157
+ function If(e, t) {
2151
2158
  return typeof e == "function" ? e(t) : e;
2152
2159
  }
2153
2160
  function Do(e) {
@@ -2248,7 +2255,7 @@ function ko(e) {
2248
2255
  function hi(e) {
2249
2256
  return Object.prototype.toString.call(e) === "[object Object]";
2250
2257
  }
2251
- function If(e) {
2258
+ function Mf(e) {
2252
2259
  return new Promise((t) => {
2253
2260
  setTimeout(t, e);
2254
2261
  });
@@ -2268,11 +2275,11 @@ function No(e, t, n) {
2268
2275
  }
2269
2276
  return t;
2270
2277
  }
2271
- function Mf(e, t, n = 0) {
2278
+ function $f(e, t, n = 0) {
2272
2279
  const r = [...e, t];
2273
2280
  return n && r.length > n ? r.slice(1) : r;
2274
2281
  }
2275
- function $f(e, t, n = 0) {
2282
+ function Ff(e, t, n = 0) {
2276
2283
  const r = [t, ...e];
2277
2284
  return n && r.length > n ? r.slice(0, -1) : r;
2278
2285
  }
@@ -2285,7 +2292,7 @@ function Ga(e, t) {
2285
2292
  function Qa(e, t) {
2286
2293
  return typeof e == "function" ? e(...t) : !!e;
2287
2294
  }
2288
- var Ot, it, nn, ca, Ff = (ca = class extends bn {
2295
+ var Ot, it, nn, ca, Bf = (ca = class extends bn {
2289
2296
  constructor() {
2290
2297
  super();
2291
2298
  D(this, Ot);
@@ -2326,7 +2333,7 @@ var Ot, it, nn, ca, Ff = (ca = class extends bn {
2326
2333
  var t;
2327
2334
  return typeof b(this, Ot) == "boolean" ? b(this, Ot) : ((t = globalThis.document) == null ? void 0 : t.visibilityState) !== "hidden";
2328
2335
  }
2329
- }, Ot = new WeakMap(), it = new WeakMap(), nn = new WeakMap(), ca), us = new Ff(), rn, at, on, la, Bf = (la = class extends bn {
2336
+ }, Ot = new WeakMap(), it = new WeakMap(), nn = new WeakMap(), ca), us = new Bf(), rn, at, on, la, Uf = (la = class extends bn {
2330
2337
  constructor() {
2331
2338
  super();
2332
2339
  D(this, rn, !0);
@@ -2360,7 +2367,7 @@ var Ot, it, nn, ca, Ff = (ca = class extends bn {
2360
2367
  isOnline() {
2361
2368
  return b(this, rn);
2362
2369
  }
2363
- }, rn = new WeakMap(), at = new WeakMap(), on = new WeakMap(), la), Dr = new Bf();
2370
+ }, rn = new WeakMap(), at = new WeakMap(), on = new WeakMap(), la), Dr = new Uf();
2364
2371
  function Io() {
2365
2372
  let e, t;
2366
2373
  const n = new Promise((o, s) => {
@@ -2383,7 +2390,7 @@ function Io() {
2383
2390
  }), t(o);
2384
2391
  }, n;
2385
2392
  }
2386
- function Uf(e) {
2393
+ function Hf(e) {
2387
2394
  return Math.min(1e3 * 2 ** e, 3e4);
2388
2395
  }
2389
2396
  function Ka(e) {
@@ -2434,12 +2441,12 @@ function Za(e) {
2434
2441
  var A;
2435
2442
  if (r)
2436
2443
  return;
2437
- const x = e.retry ?? (Ft ? 0 : 3), _ = e.retryDelay ?? Uf, E = typeof _ == "function" ? _(n, C) : _, S = x === !0 || typeof x == "number" && n < x || typeof x == "function" && x(n, C);
2444
+ const x = e.retry ?? (Ft ? 0 : 3), _ = e.retryDelay ?? Hf, E = typeof _ == "function" ? _(n, C) : _, S = x === !0 || typeof x == "number" && n < x || typeof x == "function" && x(n, C);
2438
2445
  if (t || !S) {
2439
2446
  h(C);
2440
2447
  return;
2441
2448
  }
2442
- n++, (A = e.onFail) == null || A.call(e, n, C), If(E).then(() => u() ? void 0 : g()).then(() => {
2449
+ n++, (A = e.onFail) == null || A.call(e, n, C), Mf(E).then(() => u() ? void 0 : g()).then(() => {
2443
2450
  t ? h(C) : w();
2444
2451
  });
2445
2452
  });
@@ -2454,13 +2461,13 @@ function Za(e) {
2454
2461
  start: () => (d() ? w() : g().then(w), s)
2455
2462
  };
2456
2463
  }
2457
- var Hf = (e) => setTimeout(e, 0);
2458
- function Wf() {
2464
+ var Wf = (e) => setTimeout(e, 0);
2465
+ function qf() {
2459
2466
  let e = [], t = 0, n = (a) => {
2460
2467
  a();
2461
2468
  }, r = (a) => {
2462
2469
  a();
2463
- }, o = Hf;
2470
+ }, o = Wf;
2464
2471
  const s = (a) => {
2465
2472
  t ? e.push(a) : o(() => {
2466
2473
  n(a);
@@ -2514,7 +2521,7 @@ function Wf() {
2514
2521
  }
2515
2522
  };
2516
2523
  }
2517
- var se = Wf(), jt, ua, Xa = (ua = class {
2524
+ var se = qf(), jt, ua, Xa = (ua = class {
2518
2525
  constructor() {
2519
2526
  D(this, jt);
2520
2527
  }
@@ -2535,7 +2542,7 @@ var se = Wf(), jt, ua, Xa = (ua = class {
2535
2542
  clearGcTimeout() {
2536
2543
  b(this, jt) && (clearTimeout(b(this, jt)), P(this, jt, void 0));
2537
2544
  }
2538
- }, jt = new WeakMap(), ua), sn, an, Se, Dt, ae, Nn, Lt, Te, ze, da, qf = (da = class extends Xa {
2545
+ }, jt = new WeakMap(), ua), sn, an, Se, Dt, ae, Nn, Lt, Te, ze, da, Vf = (da = class extends Xa {
2539
2546
  constructor(t) {
2540
2547
  super();
2541
2548
  D(this, Te);
@@ -2546,7 +2553,7 @@ var se = Wf(), jt, ua, Xa = (ua = class {
2546
2553
  D(this, ae);
2547
2554
  D(this, Nn);
2548
2555
  D(this, Lt);
2549
- P(this, Lt, !1), P(this, Nn, t.defaultOptions), this.setOptions(t.options), this.observers = [], P(this, Dt, t.client), P(this, Se, b(this, Dt).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, P(this, sn, Vf(this.options)), this.state = t.state ?? b(this, sn), this.scheduleGc();
2556
+ P(this, Lt, !1), P(this, Nn, t.defaultOptions), this.setOptions(t.options), this.observers = [], P(this, Dt, t.client), P(this, Se, b(this, Dt).getQueryCache()), this.queryKey = t.queryKey, this.queryHash = t.queryHash, P(this, sn, zf(this.options)), this.state = t.state ?? b(this, sn), this.scheduleGc();
2550
2557
  }
2551
2558
  get meta() {
2552
2559
  return this.options.meta;
@@ -2811,7 +2818,7 @@ function Ja(e, t) {
2811
2818
  }
2812
2819
  };
2813
2820
  }
2814
- function Vf(e) {
2821
+ function zf(e) {
2815
2822
  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;
2816
2823
  return {
2817
2824
  data: t,
@@ -2828,7 +2835,7 @@ function Vf(e) {
2828
2835
  fetchStatus: "idle"
2829
2836
  };
2830
2837
  }
2831
- var ke, fa, zf = (fa = class extends bn {
2838
+ var ke, fa, Gf = (fa = class extends bn {
2832
2839
  constructor(t = {}) {
2833
2840
  super();
2834
2841
  D(this, ke);
@@ -2837,7 +2844,7 @@ var ke, fa, zf = (fa = class extends bn {
2837
2844
  build(t, n, r) {
2838
2845
  const o = n.queryKey, s = n.queryHash ?? ls(o, n);
2839
2846
  let i = this.get(s);
2840
- return i || (i = new qf({
2847
+ return i || (i = new Vf({
2841
2848
  client: t,
2842
2849
  queryKey: o,
2843
2850
  queryHash: s,
@@ -2900,7 +2907,7 @@ var ke, fa, zf = (fa = class extends bn {
2900
2907
  });
2901
2908
  });
2902
2909
  }
2903
- }, ke = new WeakMap(), fa), Ne, le, kt, Ie, nt, ha, Gf = (ha = class extends Xa {
2910
+ }, ke = new WeakMap(), fa), Ne, le, kt, Ie, nt, ha, Qf = (ha = class extends Xa {
2904
2911
  constructor(t) {
2905
2912
  super();
2906
2913
  D(this, Ie);
@@ -3100,7 +3107,7 @@ function ec() {
3100
3107
  submittedAt: 0
3101
3108
  };
3102
3109
  }
3103
- var Ge, Re, In, pa, Qf = (pa = class extends bn {
3110
+ var Ge, Re, In, pa, Kf = (pa = class extends bn {
3104
3111
  constructor(t = {}) {
3105
3112
  super();
3106
3113
  D(this, Ge);
@@ -3109,7 +3116,7 @@ var Ge, Re, In, pa, Qf = (pa = class extends bn {
3109
3116
  this.config = t, P(this, Ge, /* @__PURE__ */ new Set()), P(this, Re, /* @__PURE__ */ new Map()), P(this, In, 0);
3110
3117
  }
3111
3118
  build(t, n, r) {
3112
- const o = new Gf({
3119
+ const o = new Qf({
3113
3120
  mutationCache: this,
3114
3121
  mutationId: ++Yn(this, In)._,
3115
3122
  options: t.defaultMutationOptions(n),
@@ -3227,14 +3234,14 @@ function pi(e) {
3227
3234
  meta: t.options.meta
3228
3235
  };
3229
3236
  return y(Q), Q;
3230
- })(), k = await C(R), { maxPages: N } = t.options, I = S ? $f : Mf;
3237
+ })(), k = await C(R), { maxPages: N } = t.options, I = S ? Ff : $f;
3231
3238
  return {
3232
3239
  pages: I(_.pages, k, N),
3233
3240
  pageParams: I(_.pageParams, E, N)
3234
3241
  };
3235
3242
  };
3236
3243
  if (o && s.length) {
3237
- const _ = o === "backward", E = _ ? Kf : mi, S = {
3244
+ const _ = o === "backward", E = _ ? Yf : mi, S = {
3238
3245
  pages: s,
3239
3246
  pageParams: i
3240
3247
  }, A = E(r, S);
@@ -3276,11 +3283,11 @@ function mi(e, { pages: t, pageParams: n }) {
3276
3283
  n
3277
3284
  ) : void 0;
3278
3285
  }
3279
- function Kf(e, { pages: t, pageParams: n }) {
3286
+ function Yf(e, { pages: t, pageParams: n }) {
3280
3287
  var r;
3281
3288
  return t.length > 0 ? (r = e.getPreviousPageParam) == null ? void 0 : r.call(e, t[0], t, n[0], n) : void 0;
3282
3289
  }
3283
- var J, ct, lt, cn, ln, ut, un, dn, ma, Yf = (ma = class {
3290
+ var J, ct, lt, cn, ln, ut, un, dn, ma, Zf = (ma = class {
3284
3291
  constructor(e = {}) {
3285
3292
  D(this, J);
3286
3293
  D(this, ct);
@@ -3290,7 +3297,7 @@ var J, ct, lt, cn, ln, ut, un, dn, ma, Yf = (ma = class {
3290
3297
  D(this, ut);
3291
3298
  D(this, un);
3292
3299
  D(this, dn);
3293
- P(this, J, e.queryCache || new zf()), P(this, ct, e.mutationCache || new Qf()), P(this, lt, e.defaultOptions || {}), P(this, cn, /* @__PURE__ */ new Map()), P(this, ln, /* @__PURE__ */ new Map()), P(this, ut, 0);
3300
+ P(this, J, e.queryCache || new Gf()), P(this, ct, e.mutationCache || new Kf()), P(this, lt, e.defaultOptions || {}), P(this, cn, /* @__PURE__ */ new Map()), P(this, ln, /* @__PURE__ */ new Map()), P(this, ut, 0);
3294
3301
  }
3295
3302
  mount() {
3296
3303
  Yn(this, ut)._++, b(this, ut) === 1 && (P(this, un, us.subscribe(async (e) => {
@@ -3334,7 +3341,7 @@ var J, ct, lt, cn, ln, ut, un, dn, ma, Yf = (ma = class {
3334
3341
  setQueryData(e, t, n) {
3335
3342
  const r = this.defaultQueryOptions({ queryKey: e }), o = b(this, J).get(
3336
3343
  r.queryHash
3337
- ), s = o == null ? void 0 : o.state.data, i = Nf(t, s);
3344
+ ), s = o == null ? void 0 : o.state.data, i = If(t, s);
3338
3345
  if (i !== void 0)
3339
3346
  return b(this, J).build(this, r).setData(i, { ...n, manual: !0 });
3340
3347
  }
@@ -3486,7 +3493,7 @@ var J, ct, lt, cn, ln, ut, un, dn, ma, Yf = (ma = class {
3486
3493
  clear() {
3487
3494
  b(this, J).clear(), b(this, ct).clear();
3488
3495
  }
3489
- }, J = new WeakMap(), ct = new WeakMap(), lt = new WeakMap(), cn = new WeakMap(), ln = new WeakMap(), ut = new WeakMap(), un = new WeakMap(), dn = new WeakMap(), ma), ge, U, Mn, ue, Nt, fn, dt, ft, $n, hn, pn, It, Mt, ht, mn, V, Rn, Mo, $o, Fo, Bo, Uo, Ho, Wo, tc, ga, Zf = (ga = class extends bn {
3496
+ }, J = new WeakMap(), ct = new WeakMap(), lt = new WeakMap(), cn = new WeakMap(), ln = new WeakMap(), ut = new WeakMap(), un = new WeakMap(), dn = new WeakMap(), ma), ge, U, Mn, ue, Nt, fn, dt, ft, $n, hn, pn, It, Mt, ht, mn, V, Rn, Mo, $o, Fo, Bo, Uo, Ho, Wo, tc, ga, Xf = (ga = class extends bn {
3490
3497
  constructor(t, n) {
3491
3498
  super();
3492
3499
  D(this, V);
@@ -3560,7 +3567,7 @@ var J, ct, lt, cn, ln, ut, un, dn, ma, Yf = (ma = class {
3560
3567
  }
3561
3568
  getOptimisticResult(t) {
3562
3569
  const n = b(this, ge).getQueryCache().build(b(this, ge), t), r = this.createResult(n, t);
3563
- return Jf(this, r) && (P(this, ue, r), P(this, fn, this.options), P(this, Nt, b(this, U).state)), r;
3570
+ return eh(this, r) && (P(this, ue, r), P(this, fn, this.options), P(this, Nt, b(this, U).state)), r;
3564
3571
  }
3565
3572
  getCurrentResult() {
3566
3573
  return b(this, ue);
@@ -3745,11 +3752,11 @@ var J, ct, lt, cn, ln, ut, un, dn, ma, Yf = (ma = class {
3745
3752
  });
3746
3753
  });
3747
3754
  }, ga);
3748
- function Xf(e, t) {
3755
+ function Jf(e, t) {
3749
3756
  return Ae(t.enabled, e) !== !1 && e.state.data === void 0 && !(e.state.status === "error" && t.retryOnMount === !1);
3750
3757
  }
3751
3758
  function gi(e, t) {
3752
- return Xf(e, t) || e.state.data !== void 0 && qo(e, t, t.refetchOnMount);
3759
+ return Jf(e, t) || e.state.data !== void 0 && qo(e, t, t.refetchOnMount);
3753
3760
  }
3754
3761
  function qo(e, t, n) {
3755
3762
  if (Ae(t.enabled, e) !== !1 && yt(t.staleTime, e) !== "static") {
@@ -3764,10 +3771,10 @@ function yi(e, t, n, r) {
3764
3771
  function ds(e, t) {
3765
3772
  return Ae(t.enabled, e) !== !1 && e.isStaleByTime(yt(t.staleTime, e));
3766
3773
  }
3767
- function Jf(e, t) {
3774
+ function eh(e, t) {
3768
3775
  return !Or(e.getCurrentResult(), t);
3769
3776
  }
3770
- var pt, mt, ye, Qe, Ye, wr, Vo, ya, eh = (ya = class extends bn {
3777
+ var pt, mt, ye, Qe, Ye, wr, Vo, ya, th = (ya = class extends bn {
3771
3778
  constructor(n, r) {
3772
3779
  super();
3773
3780
  D(this, Ye);
@@ -3843,14 +3850,14 @@ var pt, mt, ye, Qe, Ye, wr, Vo, ya, eh = (ya = class extends bn {
3843
3850
  if (!t)
3844
3851
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
3845
3852
  return t;
3846
- }, th = ({
3853
+ }, nh = ({
3847
3854
  client: e,
3848
3855
  children: t
3849
3856
  }) => (m.useEffect(() => (e.mount(), () => {
3850
3857
  e.unmount();
3851
- }), [e]), /* @__PURE__ */ l.jsx(nc.Provider, { value: e, children: t })), rc = m.createContext(!1), nh = () => m.useContext(rc);
3858
+ }), [e]), /* @__PURE__ */ l.jsx(nc.Provider, { value: e, children: t })), rc = m.createContext(!1), rh = () => m.useContext(rc);
3852
3859
  rc.Provider;
3853
- function rh() {
3860
+ function oh() {
3854
3861
  let e = !1;
3855
3862
  return {
3856
3863
  clearReset: () => {
@@ -3862,39 +3869,39 @@ function rh() {
3862
3869
  isReset: () => e
3863
3870
  };
3864
3871
  }
3865
- var oh = m.createContext(rh()), sh = () => m.useContext(oh), ih = (e, t) => {
3872
+ var sh = m.createContext(oh()), ih = () => m.useContext(sh), ah = (e, t) => {
3866
3873
  (e.suspense || e.throwOnError || e.experimental_prefetchInRender) && (t.isReset() || (e.retryOnMount = !1));
3867
- }, ah = (e) => {
3874
+ }, ch = (e) => {
3868
3875
  m.useEffect(() => {
3869
3876
  e.clearReset();
3870
3877
  }, [e]);
3871
- }, ch = ({
3878
+ }, lh = ({
3872
3879
  result: e,
3873
3880
  errorResetBoundary: t,
3874
3881
  throwOnError: n,
3875
3882
  query: r,
3876
3883
  suspense: o
3877
- }) => e.isError && !t.isReset() && !e.isFetching && r && (o && e.data === void 0 || Qa(n, [e.error, r])), lh = (e) => {
3884
+ }) => e.isError && !t.isReset() && !e.isFetching && r && (o && e.data === void 0 || Qa(n, [e.error, r])), uh = (e) => {
3878
3885
  if (e.suspense) {
3879
3886
  const t = (r) => r === "static" ? r : Math.max(r ?? 1e3, 1e3), n = e.staleTime;
3880
3887
  e.staleTime = typeof n == "function" ? (...r) => t(n(...r)) : t(n), typeof e.gcTime == "number" && (e.gcTime = Math.max(e.gcTime, 1e3));
3881
3888
  }
3882
- }, uh = (e, t) => e.isLoading && e.isFetching && !t, dh = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, vi = (e, t, n) => t.fetchOptimistic(e).catch(() => {
3889
+ }, dh = (e, t) => e.isLoading && e.isFetching && !t, fh = (e, t) => (e == null ? void 0 : e.suspense) && t.isPending, vi = (e, t, n) => t.fetchOptimistic(e).catch(() => {
3883
3890
  n.clearReset();
3884
3891
  });
3885
- function fh(e, t, n) {
3892
+ function hh(e, t, n) {
3886
3893
  var p, h, g, w, f;
3887
3894
  if (typeof e != "object" || Array.isArray(e))
3888
3895
  throw new Error(
3889
3896
  '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'
3890
3897
  );
3891
- const r = nh(), o = sh(), s = fs(), i = s.defaultQueryOptions(e);
3898
+ const r = rh(), o = ih(), s = fs(), i = s.defaultQueryOptions(e);
3892
3899
  (h = (p = s.getDefaultOptions().queries) == null ? void 0 : p._experimental_beforeQuery) == null || h.call(
3893
3900
  p,
3894
3901
  i
3895
3902
  ), i.queryFn || console.error(
3896
3903
  `[${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`
3897
- ), i._optimisticResults = r ? "isRestoring" : "optimistic", lh(i), ih(i, o), ah(o);
3904
+ ), i._optimisticResults = r ? "isRestoring" : "optimistic", uh(i), ah(i, o), ch(o);
3898
3905
  const a = !s.getQueryCache().get(i.queryHash), [c] = m.useState(
3899
3906
  () => new t(
3900
3907
  s,
@@ -3913,9 +3920,9 @@ function fh(e, t, n) {
3913
3920
  () => c.getCurrentResult()
3914
3921
  ), m.useEffect(() => {
3915
3922
  c.setOptions(i);
3916
- }, [i, c]), dh(i, u))
3923
+ }, [i, c]), fh(i, u))
3917
3924
  throw vi(i, c, o);
3918
- if (ch({
3925
+ if (lh({
3919
3926
  result: u,
3920
3927
  errorResetBoundary: o,
3921
3928
  throwOnError: i.throwOnError,
@@ -3927,7 +3934,7 @@ function fh(e, t, n) {
3927
3934
  g,
3928
3935
  i,
3929
3936
  u
3930
- ), i.experimental_prefetchInRender && !Ft && uh(u, r)) {
3937
+ ), i.experimental_prefetchInRender && !Ft && dh(u, r)) {
3931
3938
  const y = a ? (
3932
3939
  // Fetch immediately on render in order to ensure `.promise` is resolved even if the component is unmounted
3933
3940
  vi(i, c, o)
@@ -3942,11 +3949,11 @@ function fh(e, t, n) {
3942
3949
  return i.notifyOnChangeProps ? u : c.trackResult(u);
3943
3950
  }
3944
3951
  function bi(e, t) {
3945
- return fh(e, Zf);
3952
+ return hh(e, Xf);
3946
3953
  }
3947
3954
  function tr(e, t) {
3948
3955
  const n = fs(), [r] = m.useState(
3949
- () => new eh(
3956
+ () => new th(
3950
3957
  n,
3951
3958
  e
3952
3959
  )
@@ -3988,7 +3995,7 @@ const nr = {
3988
3995
  retryDelay: nr.RETRY_DELAY,
3989
3996
  enable: !0
3990
3997
  // Default to enabled, can be overridden in individual queries
3991
- }, rr = (e) => e instanceof Error ? e.message : String(e), hh = (e, t, n) => {
3998
+ }, rr = (e) => e instanceof Error ? e.message : String(e), ph = (e, t, n) => {
3992
3999
  const r = fs(), { notify: o } = Va(), { createFn: s, readFn: i, readByIdFn: a, updateFn: c, deleteFn: u, partialUpdateFn: d } = n, p = () => {
3993
4000
  r.invalidateQueries({ queryKey: [e] });
3994
4001
  }, h = (E, S, A, R) => o(
@@ -4051,7 +4058,7 @@ const nr = {
4051
4058
  }),
4052
4059
  invalidateQueries: p
4053
4060
  };
4054
- }, Z0 = (e, t) => hh(e, t, {
4061
+ }, X0 = (e, t) => ph(e, t, {
4055
4062
  createFn: (n) => fetch(e, {
4056
4063
  method: "POST",
4057
4064
  headers: {
@@ -4081,16 +4088,16 @@ const nr = {
4081
4088
  },
4082
4089
  body: JSON.stringify(r)
4083
4090
  }).then((o) => o.json())
4084
- }), ph = {
4091
+ }), mh = {
4085
4092
  SINGLE_TENANT: "single-tenant"
4086
- }, mh = {
4093
+ }, gh = {
4087
4094
  COOKIE: "cookie"
4088
- }, lo = "tenant", Ci = "tenant", xi = "tenant", gh = ph.SINGLE_TENANT, yh = mh.COOKIE, vh = {
4089
- mode: gh,
4090
- clientSideMode: yh,
4095
+ }, lo = "tenant", Ci = "tenant", xi = "tenant", yh = mh.SINGLE_TENANT, vh = gh.COOKIE, bh = {
4096
+ mode: yh,
4097
+ clientSideMode: vh,
4091
4098
  tenantIDPProvisioningStrategy: "none"
4092
4099
  };
4093
- class bh {
4100
+ class wh {
4094
4101
  setTenant(t, n) {
4095
4102
  const r = new URL(window.location.href);
4096
4103
  r.searchParams.set(Ci, t.name), window.location.href = r.toString();
@@ -4100,7 +4107,7 @@ class bh {
4100
4107
  return new URLSearchParams(t.search).get(Ci);
4101
4108
  }
4102
4109
  }
4103
- class wh {
4110
+ class Ch {
4104
4111
  setTenant(t, n) {
4105
4112
  sessionStorage.setItem(xi, t.name), window.location.reload();
4106
4113
  }
@@ -4117,7 +4124,7 @@ function or(e) {
4117
4124
  }
4118
4125
  return e;
4119
4126
  }
4120
- var Ch = {
4127
+ var xh = {
4121
4128
  read: function(e) {
4122
4129
  return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
4123
4130
  },
@@ -4178,8 +4185,8 @@ function zo(e, t) {
4178
4185
  }
4179
4186
  );
4180
4187
  }
4181
- var uo = zo(Ch, { path: "/" });
4182
- class xh {
4188
+ var uo = zo(xh, { path: "/" });
4189
+ class Eh {
4183
4190
  setTenant(t, n) {
4184
4191
  t ? uo.set(lo, t.name) : uo.remove(lo), window.location.reload();
4185
4192
  }
@@ -4187,7 +4194,7 @@ class xh {
4187
4194
  return uo.get(lo);
4188
4195
  }
4189
4196
  }
4190
- class Eh {
4197
+ class _h {
4191
4198
  extractSubdomain(t) {
4192
4199
  if (t === "localhost" || /^\d+\.\d+\.\d+\.\d+$/.test(t))
4193
4200
  return "";
@@ -4217,27 +4224,27 @@ class Eh {
4217
4224
  }
4218
4225
  }
4219
4226
  const Ei = {
4220
- queryParams: new bh(),
4221
- sessionStorage: new wh(),
4222
- cookie: new xh(),
4223
- subdomain: new Eh()
4224
- }, _h = (e) => {
4227
+ queryParams: new wh(),
4228
+ sessionStorage: new Ch(),
4229
+ cookie: new Eh(),
4230
+ subdomain: new _h()
4231
+ }, Sh = (e) => {
4225
4232
  const t = Ei[e.clientSideMode];
4226
4233
  if (!t)
4227
4234
  throw new Error(`Client side tenant mode '${e.clientSideMode}' is not supported ${JSON.stringify({ strategies: Ei }, null, 2)}`);
4228
4235
  return t;
4229
- }, Sh = (e, t, n) => {
4236
+ }, Th = (e, t, n) => {
4230
4237
  const r = t.find((s) => s.name === n);
4231
4238
  if (!r)
4232
4239
  throw Error("No tenant permission");
4233
- return _h(e).setTenant(r, e), r;
4234
- }, X0 = () => {
4240
+ return Sh(e).setTenant(r, e), r;
4241
+ }, J0 = () => {
4235
4242
  const [e, t] = os(), {
4236
4243
  tenants: n = [],
4237
4244
  currentTenant: r,
4238
- tenantConfig: o = vh
4245
+ tenantConfig: o = bh
4239
4246
  } = e, s = he((i) => {
4240
- const a = Sh(o, n, i);
4247
+ const a = Th(o, n, i);
4241
4248
  t({ ...e, currentTenant: a });
4242
4249
  }, [o, e]);
4243
4250
  return {
@@ -4247,7 +4254,7 @@ const Ei = {
4247
4254
  selectTenant: s
4248
4255
  };
4249
4256
  };
4250
- function Th(e) {
4257
+ function Rh(e) {
4251
4258
  if (!e.ok)
4252
4259
  throw console.error(e), new Error(e.statusText);
4253
4260
  }
@@ -4258,7 +4265,7 @@ async function sr(e, t, n, r) {
4258
4265
  )}`,
4259
4266
  r
4260
4267
  );
4261
- return Th(o), o;
4268
+ return Rh(o), o;
4262
4269
  }
4263
4270
  class ir {
4264
4271
  static async get(t, n, r) {
@@ -4299,8 +4306,8 @@ class ir {
4299
4306
  }), null;
4300
4307
  }
4301
4308
  }
4302
- const J0 = (e) => {
4303
- const t = Na("@bluealba/pae-nestjs-gateway-service"), n = md();
4309
+ const e2 = (e) => {
4310
+ const t = Na("@bluealba/pae-nestjs-gateway-service"), n = gd();
4304
4311
  if (!n)
4305
4312
  throw new Error(
4306
4313
  "You must call the useUserState hook within a PAE application."
@@ -4346,22 +4353,22 @@ const J0 = (e) => {
4346
4353
  updateValue: w,
4347
4354
  deleteValue: f
4348
4355
  };
4349
- }, oc = "__PAE_EXTENSION_POINT_REACT_CONTENT_EMPTY__", e2 = ({ module: e, point: t, children: n }) => (Ed(e, t, n ?? oc), null), Rh = ({ name: e, children: t, ...n }) => {
4350
- const r = xd(e);
4356
+ }, oc = "__PAE_EXTENSION_POINT_REACT_CONTENT_EMPTY__", t2 = ({ module: e, point: t, children: n }) => (_d(e, t, n ?? oc), null), Ah = ({ name: e, children: t, ...n }) => {
4357
+ const r = Ed(e);
4351
4358
  if (r === oc)
4352
4359
  return null;
4353
4360
  if (!r)
4354
4361
  return /* @__PURE__ */ l.jsx(l.Fragment, { children: t ?? null });
4355
- if (Ah(r)) {
4362
+ if (Ph(r)) {
4356
4363
  const o = r;
4357
4364
  return /* @__PURE__ */ l.jsx(o, { ...n });
4358
4365
  } else
4359
4366
  return r;
4360
- }, Ah = (e) => typeof e == "function", t2 = (e, t) => {
4361
- const n = (r) => (t = t || e.displayName || e.name || "?", /* @__PURE__ */ l.jsx(Rh, { name: t, ...r, children: /* @__PURE__ */ l.jsx(e, { ...r }) }));
4367
+ }, Ph = (e) => typeof e == "function", n2 = (e, t) => {
4368
+ const n = (r) => (t = t || e.displayName || e.name || "?", /* @__PURE__ */ l.jsx(Ah, { name: t, ...r, children: /* @__PURE__ */ l.jsx(e, { ...r }) }));
4362
4369
  return n.displayName = `extensionPoint(${t})`, n;
4363
4370
  }, _i = "single-spa:app-change";
4364
- function Ph() {
4371
+ function Oh() {
4365
4372
  const [e, t] = ee(Si());
4366
4373
  return ie(() => {
4367
4374
  const n = () => {
@@ -4375,8 +4382,8 @@ function Ph() {
4375
4382
  function Si() {
4376
4383
  return io.getAppNames().reduce((t, n) => (io.getAppStatus(n) ? t[n] = io.getAppStatus(n) : t[n] = "NOT_LOADED", t), {});
4377
4384
  }
4378
- function Oh(e) {
4379
- const n = Ph()[e] ?? "LOAD_ERROR";
4385
+ function jh(e) {
4386
+ const n = Oh()[e] ?? "LOAD_ERROR";
4380
4387
  return {
4381
4388
  statusName: n,
4382
4389
  isLoading: n === "LOADING_SOURCE_CODE" || n === "BOOTSTRAPPING" || n === "MOUNTING",
@@ -4398,27 +4405,27 @@ const ic = ({ appName: e }) => /* @__PURE__ */ l.jsxs("div", { children: [
4398
4405
  ] })
4399
4406
  ] });
4400
4407
  ic.displayName = "BaseError";
4401
- const jh = {
4408
+ const Dh = {
4402
4409
  // TODO:
4403
4410
  display: "flex",
4404
4411
  flexDirection: "column",
4405
4412
  flex: 1
4406
- }, ac = B((e, t) => /* @__PURE__ */ l.jsx("div", { ref: t, style: jh, ...e }));
4413
+ }, ac = B((e, t) => /* @__PURE__ */ l.jsx("div", { ref: t, style: Dh, ...e }));
4407
4414
  ac.displayName = "BaseContainer";
4408
- const Dh = "pae-app:", Lh = B(({
4415
+ const Lh = "pae-app:", kh = B(({
4409
4416
  appName: e,
4410
4417
  LoadingComponent: t = sc,
4411
4418
  ErrorComponent: n = ic,
4412
4419
  ContainerComponent: r = ac,
4413
4420
  ...o
4414
4421
  }, s) => {
4415
- const i = Oh(e);
4422
+ const i = jh(e);
4416
4423
  return /* @__PURE__ */ l.jsxs(
4417
4424
  r,
4418
4425
  {
4419
4426
  ref: s,
4420
4427
  ...o,
4421
- id: `${Dh}${e}`,
4428
+ id: `${Lh}${e}`,
4422
4429
  children: [
4423
4430
  i.isLoading && /* @__PURE__ */ l.jsx(t, { appName: e }),
4424
4431
  i.isBroken && /* @__PURE__ */ l.jsx(n, { appName: e })
@@ -4426,7 +4433,7 @@ const Dh = "pae-app:", Lh = B(({
4426
4433
  }
4427
4434
  );
4428
4435
  });
4429
- Lh.displayName = "ModulePlaceHolder";
4436
+ kh.displayName = "ModulePlaceHolder";
4430
4437
  const cc = ({ operations: e, children: t, forbiddenContent: n }) => {
4431
4438
  var o;
4432
4439
  const { hasAccess: r } = is();
@@ -4443,7 +4450,7 @@ const cc = ({ operations: e, children: t, forbiddenContent: n }) => {
4443
4450
  return t;
4444
4451
  };
4445
4452
  cc.displayName = "Authorized";
4446
- const n2 = ({ eventName: e, listener: t }) => (_d(e, t), null), kh = () => /* @__PURE__ */ l.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__ */ l.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" }) }), Nh = ({ applicationName: e }) => {
4453
+ const r2 = ({ eventName: e, listener: t }) => (Sd(e, t), null), Nh = () => /* @__PURE__ */ l.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__ */ l.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" }) }), Ih = ({ applicationName: e }) => {
4447
4454
  const t = Zu(e);
4448
4455
  if (t)
4449
4456
  if (typeof t == "function") {
@@ -4451,10 +4458,10 @@ const n2 = ({ eventName: e, listener: t }) => (_d(e, t), null), kh = () => /* @_
4451
4458
  return /* @__PURE__ */ l.jsx(n, {});
4452
4459
  } else
4453
4460
  return t;
4454
- return /* @__PURE__ */ l.jsx(kh, {});
4461
+ return /* @__PURE__ */ l.jsx(Nh, {});
4455
4462
  };
4456
- Nh.displayName = "ApplicationIcon";
4457
- const r2 = (e, t) => {
4463
+ Ih.displayName = "ApplicationIcon";
4464
+ const o2 = (e, t) => {
4458
4465
  const n = (r) => /* @__PURE__ */ l.jsx(cc, { operations: t, children: /* @__PURE__ */ l.jsx(e, { ...r }) });
4459
4466
  return n.displayName = "Authorized", n;
4460
4467
  };
@@ -4471,24 +4478,24 @@ function j() {
4471
4478
  for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = lc(e)) && (r && (r += " "), r += t);
4472
4479
  return r;
4473
4480
  }
4474
- const Ih = "spinner__fakUN", Mh = "spinner-rotation__wUmPV", $h = "button__8FA9H", Fh = "button--contained-primary__stkTx", Bh = "button--outlined-primary__KZ1ww", Uh = "button--text-primary__GLTfm", Hh = "button--contained-danger__L9ehT", Wh = "button--outlined-danger__eoYLd", qh = "button--text-danger__Sw-ha", Vh = "icon__--umH", ar = {
4475
- spinner: Ih,
4481
+ const Mh = "spinner__fakUN", $h = "spinner-rotation__wUmPV", Fh = "button__8FA9H", Bh = "button--contained-primary__stkTx", Uh = "button--outlined-primary__KZ1ww", Hh = "button--text-primary__GLTfm", Wh = "button--contained-danger__L9ehT", qh = "button--outlined-danger__eoYLd", Vh = "button--text-danger__Sw-ha", zh = "icon__--umH", ar = {
4482
+ spinner: Mh,
4476
4483
  "spinner-rotation": "spinner-rotation__wUmPV",
4477
- spinnerRotation: Mh,
4478
- button: $h,
4484
+ spinnerRotation: $h,
4485
+ button: Fh,
4479
4486
  "button--contained-primary": "button--contained-primary__stkTx",
4480
- buttonContainedPrimary: Fh,
4487
+ buttonContainedPrimary: Bh,
4481
4488
  "button--outlined-primary": "button--outlined-primary__KZ1ww",
4482
- buttonOutlinedPrimary: Bh,
4489
+ buttonOutlinedPrimary: Uh,
4483
4490
  "button--text-primary": "button--text-primary__GLTfm",
4484
- buttonTextPrimary: Uh,
4491
+ buttonTextPrimary: Hh,
4485
4492
  "button--contained-danger": "button--contained-danger__L9ehT",
4486
- buttonContainedDanger: Hh,
4493
+ buttonContainedDanger: Wh,
4487
4494
  "button--outlined-danger": "button--outlined-danger__eoYLd",
4488
- buttonOutlinedDanger: Wh,
4495
+ buttonOutlinedDanger: qh,
4489
4496
  "button--text-danger": "button--text-danger__Sw-ha",
4490
- buttonTextDanger: qh,
4491
- icon: Vh
4497
+ buttonTextDanger: Vh,
4498
+ icon: zh
4492
4499
  }, Go = B(({
4493
4500
  variant: e = "contained",
4494
4501
  colorScheme: t = "primary",
@@ -4517,27 +4524,27 @@ const Ih = "spinner__fakUN", Mh = "spinner-rotation__wUmPV", $h = "button__8FA9H
4517
4524
  );
4518
4525
  });
4519
4526
  Go.displayName = "Button";
4520
- const zh = "Badges__5jpum", Gh = "Badges__5jpum", Qh = "Badge__95MWM", Kh = "Badge__95MWM", Yh = "Badge--primary__Rx-bS", Zh = "Badge--secondary__d92bT", Xh = "Badge--success__Kdo98", Jh = "Badge--warning__bf-Nn", ep = "Badge--danger__HTj39", tp = "Badge--small__y93Pj", np = "Badge--regular__aT5AL", rp = "Badge--large__wORCH", Cr = {
4521
- Badges: zh,
4522
- badges: Gh,
4523
- Badge: Qh,
4524
- badge: Kh,
4527
+ const Gh = "Badges__5jpum", Qh = "Badges__5jpum", Kh = "Badge__95MWM", Yh = "Badge__95MWM", Zh = "Badge--primary__Rx-bS", Xh = "Badge--secondary__d92bT", Jh = "Badge--success__Kdo98", ep = "Badge--warning__bf-Nn", tp = "Badge--danger__HTj39", np = "Badge--small__y93Pj", rp = "Badge--regular__aT5AL", op = "Badge--large__wORCH", Cr = {
4528
+ Badges: Gh,
4529
+ badges: Qh,
4530
+ Badge: Kh,
4531
+ badge: Yh,
4525
4532
  "Badge--primary": "Badge--primary__Rx-bS",
4526
- badgePrimary: Yh,
4533
+ badgePrimary: Zh,
4527
4534
  "Badge--secondary": "Badge--secondary__d92bT",
4528
- badgeSecondary: Zh,
4535
+ badgeSecondary: Xh,
4529
4536
  "Badge--success": "Badge--success__Kdo98",
4530
- badgeSuccess: Xh,
4537
+ badgeSuccess: Jh,
4531
4538
  "Badge--warning": "Badge--warning__bf-Nn",
4532
- badgeWarning: Jh,
4539
+ badgeWarning: ep,
4533
4540
  "Badge--danger": "Badge--danger__HTj39",
4534
- badgeDanger: ep,
4541
+ badgeDanger: tp,
4535
4542
  "Badge--small": "Badge--small__y93Pj",
4536
- badgeSmall: tp,
4543
+ badgeSmall: np,
4537
4544
  "Badge--regular": "Badge--regular__aT5AL",
4538
- badgeRegular: np,
4545
+ badgeRegular: rp,
4539
4546
  "Badge--large": "Badge--large__wORCH",
4540
- badgeLarge: rp
4547
+ badgeLarge: op
4541
4548
  }, Ti = {
4542
4549
  aliceblue: [240, 248, 255],
4543
4550
  antiquewhite: [250, 235, 215],
@@ -4696,7 +4703,7 @@ var Ri = {
4696
4703
  blue: 240,
4697
4704
  purple: 300
4698
4705
  };
4699
- function op(e) {
4706
+ function sp(e) {
4700
4707
  var d, p;
4701
4708
  var t, n = [], r = 1, o;
4702
4709
  if (typeof e == "number")
@@ -4742,8 +4749,8 @@ function op(e) {
4742
4749
  alpha: r
4743
4750
  };
4744
4751
  }
4745
- const sp = (e, t) => {
4746
- const { space: n, values: r } = op(e);
4752
+ const ip = (e, t) => {
4753
+ const { space: n, values: r } = sp(e);
4747
4754
  return n[0] === "h" ? `${n}a(${r[0]}, ${r[1]}%, ${r[2]}%, ${t})` : `${n}a(${r}, ${t})`;
4748
4755
  }, uc = B(({
4749
4756
  children: e,
@@ -4754,7 +4761,7 @@ const sp = (e, t) => {
4754
4761
  style: s,
4755
4762
  ...i
4756
4763
  }, a) => {
4757
- const c = r ? { color: r, background: sp(r, 0.1) } : {}, u = j(
4764
+ const c = r ? { color: r, background: ip(r, 0.1) } : {}, u = j(
4758
4765
  Cr.Badge,
4759
4766
  Cr[`Badge--${o}`],
4760
4767
  {
@@ -4774,7 +4781,7 @@ const dc = B(({
4774
4781
  return /* @__PURE__ */ l.jsx("div", { ref: r, className: o, ...n, children: e });
4775
4782
  });
4776
4783
  dc.displayName = "Badges";
4777
- const ip = ({
4784
+ const ap = ({
4778
4785
  size: e = 24,
4779
4786
  color: t = "currentColor",
4780
4787
  strokeWidth: n = 2,
@@ -4800,7 +4807,7 @@ const ip = ({
4800
4807
  /* @__PURE__ */ l.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" })
4801
4808
  ]
4802
4809
  }
4803
- ), ap = ({
4810
+ ), cp = ({
4804
4811
  size: e = 24,
4805
4812
  color: t = "currentColor",
4806
4813
  strokeWidth: n = 2,
@@ -4827,14 +4834,14 @@ const ip = ({
4827
4834
  /* @__PURE__ */ l.jsx("path", { d: "m9 12 2 2 4-4" })
4828
4835
  ]
4829
4836
  }
4830
- ), cp = "CopyToClipboardButton__2Nd2m", lp = {
4831
- CopyToClipboardButton: cp
4832
- }, o2 = ({ content: e }) => {
4833
- const [t, n] = up(), { notify: r } = Va(), o = t ? ap : ip, s = he(async () => {
4837
+ ), lp = "CopyToClipboardButton__2Nd2m", up = {
4838
+ CopyToClipboardButton: lp
4839
+ }, s2 = ({ content: e }) => {
4840
+ const [t, n] = dp(), { notify: r } = Va(), o = t ? cp : ap, s = he(async () => {
4834
4841
  await n(e) && r("Copied to the Clipboard !", "success");
4835
4842
  }, [e, r]);
4836
- return /* @__PURE__ */ l.jsx(o, { className: lp.CopyToClipboardButton, size: 18, onClick: s });
4837
- }, up = () => {
4843
+ return /* @__PURE__ */ l.jsx(o, { className: up.CopyToClipboardButton, size: 18, onClick: s });
4844
+ }, dp = () => {
4838
4845
  const [e, t] = ee(!1);
4839
4846
  return [e, async (r) => {
4840
4847
  try {
@@ -4843,14 +4850,14 @@ const ip = ({
4843
4850
  return console.error("Failed to copy text: ", o), !1;
4844
4851
  }
4845
4852
  }];
4846
- }, dp = "FieldGroup__Q2JCV", fp = "FieldGroup__Q2JCV", hp = "FieldGroup--horizontal__kpfL1", pp = "FieldGroup--vertical__FLo-Q", Ai = {
4847
- FieldGroup: dp,
4848
- fieldGroup: fp,
4853
+ }, fp = "FieldGroup__Q2JCV", hp = "FieldGroup__Q2JCV", pp = "FieldGroup--horizontal__kpfL1", mp = "FieldGroup--vertical__FLo-Q", Ai = {
4854
+ FieldGroup: fp,
4855
+ fieldGroup: hp,
4849
4856
  "FieldGroup--horizontal": "FieldGroup--horizontal__kpfL1",
4850
- fieldGroupHorizontal: hp,
4857
+ fieldGroupHorizontal: pp,
4851
4858
  "FieldGroup--vertical": "FieldGroup--vertical__FLo-Q",
4852
- fieldGroupVertical: pp
4853
- }, mp = B(({
4859
+ fieldGroupVertical: mp
4860
+ }, gp = B(({
4854
4861
  children: e,
4855
4862
  className: t,
4856
4863
  orientation: n = "vertical",
@@ -4863,9 +4870,9 @@ const ip = ({
4863
4870
  );
4864
4871
  return /* @__PURE__ */ l.jsx("div", { ref: o, className: s, ...r, children: e });
4865
4872
  });
4866
- mp.displayName = "FieldGroup";
4867
- const gp = "Input__uS0sb", Pi = {
4868
- Input: gp,
4873
+ gp.displayName = "FieldGroup";
4874
+ const yp = "Input__uS0sb", Pi = {
4875
+ Input: yp,
4869
4876
  Error: "Error__-DQpw"
4870
4877
  }, hs = B(({
4871
4878
  className: e,
@@ -4876,21 +4883,21 @@ const gp = "Input__uS0sb", Pi = {
4876
4883
  return /* @__PURE__ */ l.jsx("input", { ref: r, className: o, ...n });
4877
4884
  });
4878
4885
  hs.displayName = "Input";
4879
- const yp = {
4886
+ const vp = {
4880
4887
  Error: "Error__N4OP5"
4881
- }, vp = B(({
4888
+ }, bp = B(({
4882
4889
  children: e,
4883
4890
  className: t,
4884
4891
  ...n
4885
4892
  }, r) => {
4886
- const o = j(yp.Error, t);
4893
+ const o = j(vp.Error, t);
4887
4894
  return /* @__PURE__ */ l.jsx("span", { ref: r, className: o, ...n, children: e });
4888
4895
  });
4889
- vp.displayName = "InputError";
4890
- const bp = "Label__VYUvW", Oi = {
4891
- Label: bp,
4896
+ bp.displayName = "InputError";
4897
+ const wp = "Label__VYUvW", Oi = {
4898
+ Label: wp,
4892
4899
  Error: "Error__Eu6DI"
4893
- }, wp = B(({
4900
+ }, Cp = B(({
4894
4901
  children: e,
4895
4902
  className: t,
4896
4903
  error: n,
@@ -4899,10 +4906,10 @@ const bp = "Label__VYUvW", Oi = {
4899
4906
  const s = j(Oi.Label, n && Oi.Error, t);
4900
4907
  return /* @__PURE__ */ l.jsx("label", { ref: o, className: s, ...r, children: e });
4901
4908
  });
4902
- wp.displayName = "Label";
4903
- const Cp = "Select__giqpe", xp = "Chevron__YvhBd", Qo = {
4904
- Select: Cp,
4905
- Chevron: xp
4909
+ Cp.displayName = "Label";
4910
+ const xp = "Select__giqpe", Ep = "Chevron__YvhBd", Qo = {
4911
+ Select: xp,
4912
+ Chevron: Ep
4906
4913
  }, fc = B(({
4907
4914
  children: e,
4908
4915
  className: t,
@@ -4925,23 +4932,23 @@ const hc = B(({
4925
4932
  });
4926
4933
  hc.displayName = "Select";
4927
4934
  hc.Option = fc;
4928
- const Ep = "TextArea__pa-A0", _p = {
4929
- TextArea: Ep
4930
- }, Sp = B(({
4935
+ const _p = "TextArea__pa-A0", Sp = {
4936
+ TextArea: _p
4937
+ }, Tp = B(({
4931
4938
  children: e,
4932
4939
  className: t,
4933
4940
  ...n
4934
4941
  }, r) => {
4935
- const o = j(_p.TextArea, t);
4942
+ const o = j(Sp.TextArea, t);
4936
4943
  return /* @__PURE__ */ l.jsx("textarea", { ref: r, className: o, ...n, children: e });
4937
4944
  });
4938
- Sp.displayName = "TextArea";
4939
- const Tp = "SearchInput__4OFyE", Rp = "SearchIcon__YgnQy", Ap = "ClearIcon__ukRVr", Pp = "SearchInput__ClearIcon__uzVoc", Op = "SearchInput__SearchIcon__zoDG4", Tn = {
4940
- SearchInput: Tp,
4941
- SearchIcon: Rp,
4942
- ClearIcon: Ap,
4943
- SearchInput__ClearIcon: Pp,
4944
- SearchInput__SearchIcon: Op
4945
+ Tp.displayName = "TextArea";
4946
+ const Rp = "SearchInput__4OFyE", Ap = "SearchIcon__YgnQy", Pp = "ClearIcon__ukRVr", Op = "SearchInput__ClearIcon__uzVoc", jp = "SearchInput__SearchIcon__zoDG4", Tn = {
4947
+ SearchInput: Rp,
4948
+ SearchIcon: Ap,
4949
+ ClearIcon: Pp,
4950
+ SearchInput__ClearIcon: Op,
4951
+ SearchInput__SearchIcon: jp
4945
4952
  }, pc = B(({
4946
4953
  className: e,
4947
4954
  placeholder: t = "Type to search...",
@@ -4986,23 +4993,23 @@ const Tp = "SearchInput__4OFyE", Rp = "SearchIcon__YgnQy", Ap = "ClearIcon__ukRV
4986
4993
  ] });
4987
4994
  });
4988
4995
  pc.displayName = "SearchInput";
4989
- const jp = "SearchAutocomplete__vR9Hk", Dp = "AutocompleteItem__YIm7R", Lp = "AutocompleteHighlighter__LAFTV", kp = "AutocompleteHighlighter__match__Wy1o2", Np = "DropdownList__-fHIk", Ip = "AutocompleteItemDescription__4QYN5", $t = {
4990
- SearchAutocomplete: jp,
4991
- AutocompleteItem: Dp,
4996
+ const Dp = "SearchAutocomplete__vR9Hk", Lp = "AutocompleteItem__YIm7R", kp = "AutocompleteHighlighter__LAFTV", Np = "AutocompleteHighlighter__match__Wy1o2", Ip = "DropdownList__-fHIk", Mp = "AutocompleteItemDescription__4QYN5", $t = {
4997
+ SearchAutocomplete: Dp,
4998
+ AutocompleteItem: Lp,
4992
4999
  "AutocompleteItem--canBeSelected": "AutocompleteItem--canBeSelected__jxk4z",
4993
- AutocompleteHighlighter: Lp,
4994
- AutocompleteHighlighter__match: kp,
4995
- DropdownList: Np,
4996
- AutocompleteItemDescription: Ip
4997
- }, Mp = "DropdownList__QTXXX", $p = "DropdownList__QTXXX", Fp = "DropdownList--closed__pdL1Z", Bp = "DropdownList--open__opzc9", Up = "DropdownList--left__xSwXR", Jt = {
4998
- DropdownList: Mp,
4999
- dropdownList: $p,
5000
+ AutocompleteHighlighter: kp,
5001
+ AutocompleteHighlighter__match: Np,
5002
+ DropdownList: Ip,
5003
+ AutocompleteItemDescription: Mp
5004
+ }, $p = "DropdownList__QTXXX", Fp = "DropdownList__QTXXX", Bp = "DropdownList--closed__pdL1Z", Up = "DropdownList--open__opzc9", Hp = "DropdownList--left__xSwXR", Jt = {
5005
+ DropdownList: $p,
5006
+ dropdownList: Fp,
5000
5007
  "DropdownList--closed": "DropdownList--closed__pdL1Z",
5001
- dropdownListClosed: Fp,
5008
+ dropdownListClosed: Bp,
5002
5009
  "DropdownList--open": "DropdownList--open__opzc9",
5003
- dropdownListOpen: Bp,
5010
+ dropdownListOpen: Up,
5004
5011
  "DropdownList--left": "DropdownList--left__xSwXR",
5005
- dropdownListLeft: Up
5012
+ dropdownListLeft: Hp
5006
5013
  }, ps = B(({
5007
5014
  children: e,
5008
5015
  className: t,
@@ -5038,16 +5045,16 @@ const An = B(({
5038
5045
  return /* @__PURE__ */ l.jsx("div", { ref: o, className: s, ...r, children: e });
5039
5046
  });
5040
5047
  An.displayName = "AutocompleteItem";
5041
- const Hp = 300, Wp = {
5048
+ const Wp = 300, qp = {
5042
5049
  query: "",
5043
5050
  suggestions: [],
5044
5051
  loading: !1,
5045
5052
  error: null
5046
- }, qp = ({
5053
+ }, Vp = ({
5047
5054
  suggestionFetcher: e,
5048
5055
  canAdd: t
5049
5056
  }) => {
5050
- const [n, r] = ee(Wp);
5057
+ const [n, r] = ee(qp);
5051
5058
  return ie(() => {
5052
5059
  r((a) => ({
5053
5060
  ...a,
@@ -5075,7 +5082,7 @@ const Hp = 300, Wp = {
5075
5082
  }
5076
5083
  }, i = setTimeout(() => {
5077
5084
  s();
5078
- }, Hp);
5085
+ }, Wp);
5079
5086
  return () => {
5080
5087
  clearTimeout(i);
5081
5088
  };
@@ -5108,11 +5115,11 @@ const Hp = 300, Wp = {
5108
5115
  return /* @__PURE__ */ l.jsx("div", { ref: o, className: s, ...r, children: i(e, t) });
5109
5116
  });
5110
5117
  mc.displayName = "AutocompleteHighlighter";
5111
- const Vp = 5, zp = B(({
5118
+ const zp = 5, Gp = B(({
5112
5119
  children: e,
5113
5120
  className: t,
5114
5121
  canAdd: n,
5115
- maxSuggestionsShown: r = Vp,
5122
+ maxSuggestionsShown: r = zp,
5116
5123
  searchInputProps: o,
5117
5124
  keepSelectedOption: s,
5118
5125
  suggestionFetcher: i,
@@ -5124,7 +5131,7 @@ const Vp = 5, zp = B(({
5124
5131
  setQuery: p,
5125
5132
  suggestions: h,
5126
5133
  loading: g
5127
- } = qp({
5134
+ } = Vp({
5128
5135
  suggestionFetcher: i,
5129
5136
  canAdd: n
5130
5137
  }), [w, f] = ee(null), y = d.length > 0, C = (R) => {
@@ -5150,7 +5157,7 @@ const Vp = 5, zp = B(({
5150
5157
  ] })
5151
5158
  ] });
5152
5159
  });
5153
- zp.displayName = "SearchAutocomplete";
5160
+ Gp.displayName = "SearchAutocomplete";
5154
5161
  const Pt = (e) => {
5155
5162
  let t = null, n = null;
5156
5163
  return Su.forEach(e.children, (r) => {
@@ -5187,8 +5194,8 @@ function De(...e) {
5187
5194
  }
5188
5195
  // @__NO_SIDE_EFFECTS__
5189
5196
  function ms(e) {
5190
- const t = /* @__PURE__ */ Qp(e), n = m.forwardRef((r, o) => {
5191
- const { children: s, ...i } = r, a = m.Children.toArray(s), c = a.find(Yp);
5197
+ const t = /* @__PURE__ */ Kp(e), n = m.forwardRef((r, o) => {
5198
+ const { children: s, ...i } = r, a = m.Children.toArray(s), c = a.find(Zp);
5192
5199
  if (c) {
5193
5200
  const u = c.props.children, d = a.map((p) => p === c ? m.Children.count(u) > 1 ? m.Children.only(null) : m.isValidElement(u) ? u.props.children : null : p);
5194
5201
  return /* @__PURE__ */ l.jsx(t, { ...i, ref: o, children: m.isValidElement(u) ? m.cloneElement(u, void 0, d) : null });
@@ -5197,13 +5204,13 @@ function ms(e) {
5197
5204
  });
5198
5205
  return n.displayName = `${e}.Slot`, n;
5199
5206
  }
5200
- var Gp = /* @__PURE__ */ ms("Slot");
5207
+ var Qp = /* @__PURE__ */ ms("Slot");
5201
5208
  // @__NO_SIDE_EFFECTS__
5202
- function Qp(e) {
5209
+ function Kp(e) {
5203
5210
  const t = m.forwardRef((n, r) => {
5204
5211
  const { children: o, ...s } = n;
5205
5212
  if (m.isValidElement(o)) {
5206
- const i = Xp(o), a = Zp(s, o.props);
5213
+ const i = Jp(o), a = Xp(s, o.props);
5207
5214
  return o.type !== m.Fragment && (a.ref = r ? gc(r, i) : i), m.cloneElement(o, a);
5208
5215
  }
5209
5216
  return m.Children.count(o) > 1 ? m.Children.only(null) : null;
@@ -5212,14 +5219,14 @@ function Qp(e) {
5212
5219
  }
5213
5220
  var yc = Symbol("radix.slottable");
5214
5221
  // @__NO_SIDE_EFFECTS__
5215
- function Kp(e) {
5222
+ function Yp(e) {
5216
5223
  const t = ({ children: n }) => /* @__PURE__ */ l.jsx(l.Fragment, { children: n });
5217
5224
  return t.displayName = `${e}.Slottable`, t.__radixId = yc, t;
5218
5225
  }
5219
- function Yp(e) {
5226
+ function Zp(e) {
5220
5227
  return m.isValidElement(e) && typeof e.type == "function" && "__radixId" in e.type && e.type.__radixId === yc;
5221
5228
  }
5222
- function Zp(e, t) {
5229
+ function Xp(e, t) {
5223
5230
  const n = { ...t };
5224
5231
  for (const r in t) {
5225
5232
  const o = e[r], s = t[r];
@@ -5230,18 +5237,18 @@ function Zp(e, t) {
5230
5237
  }
5231
5238
  return { ...e, ...n };
5232
5239
  }
5233
- function Xp(e) {
5240
+ function Jp(e) {
5234
5241
  var r, o;
5235
5242
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
5236
5243
  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);
5237
5244
  }
5238
- const Jp = "SkeletonListContainer__MKJhE", e1 = "Skeleton__Ovpiw", vc = {
5239
- SkeletonListContainer: Jp,
5240
- Skeleton: e1
5245
+ const e1 = "SkeletonListContainer__MKJhE", t1 = "Skeleton__Ovpiw", vc = {
5246
+ SkeletonListContainer: e1,
5247
+ Skeleton: t1
5241
5248
  }, gs = B((e, t) => {
5242
5249
  const { children: n, className: r, loading: o, height: s = 48, width: i, borderRadius: a, style: c, ...u } = e;
5243
5250
  if (!o && n) return n;
5244
- const d = Zs(n) ? Gp : "span";
5251
+ const d = Zs(n) ? Qp : "span";
5245
5252
  return /* @__PURE__ */ l.jsx(
5246
5253
  d,
5247
5254
  {
@@ -5257,18 +5264,18 @@ const Jp = "SkeletonListContainer__MKJhE", e1 = "Skeleton__Ovpiw", vc = {
5257
5264
  );
5258
5265
  });
5259
5266
  gs.displayName = "Skeleton";
5260
- const t1 = (e) => {
5267
+ const n1 = (e) => {
5261
5268
  const { numberOfItems: t, itemsGap: n = 2, itemProps: r } = e, o = Array.from({ length: t }, (s, i) => i + 1);
5262
5269
  return /* @__PURE__ */ l.jsx("div", { className: j(vc.SkeletonListContainer), style: { gap: n }, children: o.map((s) => /* @__PURE__ */ l.jsx(gs, { loading: !0, ...r }, s)) });
5263
5270
  };
5264
- t1.displayName = "SkeletonList";
5271
+ n1.displayName = "SkeletonList";
5265
5272
  function ve(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
5266
5273
  return function(o) {
5267
5274
  if (e == null || e(o), n === !1 || !o.defaultPrevented)
5268
5275
  return t == null ? void 0 : t(o);
5269
5276
  };
5270
5277
  }
5271
- function n1(e, t) {
5278
+ function r1(e, t) {
5272
5279
  const n = m.createContext(t), r = (s) => {
5273
5280
  const { children: i, ...a } = s, c = m.useMemo(() => a, Object.values(a));
5274
5281
  return /* @__PURE__ */ l.jsx(n.Provider, { value: c, children: i });
@@ -5312,9 +5319,9 @@ function ys(e, t = []) {
5312
5319
  );
5313
5320
  };
5314
5321
  };
5315
- return o.scopeName = e, [r, r1(o, ...t)];
5322
+ return o.scopeName = e, [r, o1(o, ...t)];
5316
5323
  }
5317
- function r1(...e) {
5324
+ function o1(...e) {
5318
5325
  const t = e[0];
5319
5326
  if (e.length === 1) return t;
5320
5327
  const n = () => {
@@ -5332,7 +5339,7 @@ function r1(...e) {
5332
5339
  };
5333
5340
  return n.scopeName = t.scopeName, n;
5334
5341
  }
5335
- var o1 = [
5342
+ var s1 = [
5336
5343
  "a",
5337
5344
  "button",
5338
5345
  "div",
@@ -5350,14 +5357,14 @@ var o1 = [
5350
5357
  "span",
5351
5358
  "svg",
5352
5359
  "ul"
5353
- ], be = o1.reduce((e, t) => {
5360
+ ], be = s1.reduce((e, t) => {
5354
5361
  const n = /* @__PURE__ */ ms(`Primitive.${t}`), r = m.forwardRef((o, s) => {
5355
5362
  const { asChild: i, ...a } = o, c = i ? n : t;
5356
5363
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ l.jsx(c, { ...a, ref: s });
5357
5364
  });
5358
5365
  return r.displayName = `Primitive.${t}`, { ...e, [t]: r };
5359
5366
  }, {});
5360
- function s1(e, t) {
5367
+ function i1(e, t) {
5361
5368
  e && Ca.flushSync(() => e.dispatchEvent(t));
5362
5369
  }
5363
5370
  function gn(e) {
@@ -5369,7 +5376,7 @@ function gn(e) {
5369
5376
  return (r = t.current) == null ? void 0 : r.call(t, ...n);
5370
5377
  }, []);
5371
5378
  }
5372
- function i1(e, t = globalThis == null ? void 0 : globalThis.document) {
5379
+ function a1(e, t = globalThis == null ? void 0 : globalThis.document) {
5373
5380
  const n = gn(e);
5374
5381
  m.useEffect(() => {
5375
5382
  const r = (o) => {
@@ -5378,7 +5385,7 @@ function i1(e, t = globalThis == null ? void 0 : globalThis.document) {
5378
5385
  return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
5379
5386
  }, [n, t]);
5380
5387
  }
5381
- var a1 = "DismissableLayer", Ko = "dismissableLayer.update", c1 = "dismissableLayer.pointerDownOutside", l1 = "dismissableLayer.focusOutside", Di, bc = m.createContext({
5388
+ var c1 = "DismissableLayer", Ko = "dismissableLayer.update", l1 = "dismissableLayer.pointerDownOutside", u1 = "dismissableLayer.focusOutside", Di, bc = m.createContext({
5382
5389
  layers: /* @__PURE__ */ new Set(),
5383
5390
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
5384
5391
  branches: /* @__PURE__ */ new Set()
@@ -5392,14 +5399,14 @@ var a1 = "DismissableLayer", Ko = "dismissableLayer.update", c1 = "dismissableLa
5392
5399
  onInteractOutside: i,
5393
5400
  onDismiss: a,
5394
5401
  ...c
5395
- } = e, u = m.useContext(bc), [d, p] = m.useState(null), h = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = m.useState({}), w = De(t, (R) => p(R)), f = Array.from(u.layers), [y] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), C = f.indexOf(y), x = d ? f.indexOf(d) : -1, _ = u.layersWithOutsidePointerEventsDisabled.size > 0, E = x >= C, S = f1((R) => {
5402
+ } = e, u = m.useContext(bc), [d, p] = m.useState(null), h = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = m.useState({}), w = De(t, (R) => p(R)), f = Array.from(u.layers), [y] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), C = f.indexOf(y), x = d ? f.indexOf(d) : -1, _ = u.layersWithOutsidePointerEventsDisabled.size > 0, E = x >= C, S = h1((R) => {
5396
5403
  const k = R.target, N = [...u.branches].some((I) => I.contains(k));
5397
5404
  !E || N || (o == null || o(R), i == null || i(R), R.defaultPrevented || a == null || a());
5398
- }, h), A = h1((R) => {
5405
+ }, h), A = p1((R) => {
5399
5406
  const k = R.target;
5400
5407
  [...u.branches].some((I) => I.contains(k)) || (s == null || s(R), i == null || i(R), R.defaultPrevented || a == null || a());
5401
5408
  }, h);
5402
- return i1((R) => {
5409
+ return a1((R) => {
5403
5410
  x === u.layers.size - 1 && (r == null || r(R), !R.defaultPrevented && a && (R.preventDefault(), a()));
5404
5411
  }, h), m.useEffect(() => {
5405
5412
  if (d)
@@ -5430,8 +5437,8 @@ var a1 = "DismissableLayer", Ko = "dismissableLayer.update", c1 = "dismissableLa
5430
5437
  );
5431
5438
  }
5432
5439
  );
5433
- vs.displayName = a1;
5434
- var u1 = "DismissableLayerBranch", d1 = m.forwardRef((e, t) => {
5440
+ vs.displayName = c1;
5441
+ var d1 = "DismissableLayerBranch", f1 = m.forwardRef((e, t) => {
5435
5442
  const n = m.useContext(bc), r = m.useRef(null), o = De(t, r);
5436
5443
  return m.useEffect(() => {
5437
5444
  const s = r.current;
@@ -5441,8 +5448,8 @@ var u1 = "DismissableLayerBranch", d1 = m.forwardRef((e, t) => {
5441
5448
  };
5442
5449
  }, [n.branches]), /* @__PURE__ */ l.jsx(be.div, { ...e, ref: o });
5443
5450
  });
5444
- d1.displayName = u1;
5445
- function f1(e, t = globalThis == null ? void 0 : globalThis.document) {
5451
+ f1.displayName = d1;
5452
+ function h1(e, t = globalThis == null ? void 0 : globalThis.document) {
5446
5453
  const n = gn(e), r = m.useRef(!1), o = m.useRef(() => {
5447
5454
  });
5448
5455
  return m.useEffect(() => {
@@ -5450,7 +5457,7 @@ function f1(e, t = globalThis == null ? void 0 : globalThis.document) {
5450
5457
  if (a.target && !r.current) {
5451
5458
  let c = function() {
5452
5459
  wc(
5453
- c1,
5460
+ l1,
5454
5461
  n,
5455
5462
  u,
5456
5463
  { discrete: !0 }
@@ -5472,11 +5479,11 @@ function f1(e, t = globalThis == null ? void 0 : globalThis.document) {
5472
5479
  onPointerDownCapture: () => r.current = !0
5473
5480
  };
5474
5481
  }
5475
- function h1(e, t = globalThis == null ? void 0 : globalThis.document) {
5482
+ function p1(e, t = globalThis == null ? void 0 : globalThis.document) {
5476
5483
  const n = gn(e), r = m.useRef(!1);
5477
5484
  return m.useEffect(() => {
5478
5485
  const o = (s) => {
5479
- s.target && !r.current && wc(l1, n, { originalEvent: s }, {
5486
+ s.target && !r.current && wc(u1, n, { originalEvent: s }, {
5480
5487
  discrete: !1
5481
5488
  });
5482
5489
  };
@@ -5492,26 +5499,26 @@ function Li() {
5492
5499
  }
5493
5500
  function wc(e, t, n, { discrete: r }) {
5494
5501
  const o = n.originalEvent.target, s = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
5495
- t && o.addEventListener(e, t, { once: !0 }), r ? s1(o, s) : o.dispatchEvent(s);
5502
+ t && o.addEventListener(e, t, { once: !0 }), r ? i1(o, s) : o.dispatchEvent(s);
5496
5503
  }
5497
5504
  var vt = globalThis != null && globalThis.document ? m.useLayoutEffect : () => {
5498
- }, p1 = m[" useId ".trim().toString()] || (() => {
5499
- }), m1 = 0;
5505
+ }, m1 = m[" useId ".trim().toString()] || (() => {
5506
+ }), g1 = 0;
5500
5507
  function xr(e) {
5501
- const [t, n] = m.useState(p1());
5508
+ const [t, n] = m.useState(m1());
5502
5509
  return vt(() => {
5503
- n((r) => r ?? String(m1++));
5510
+ n((r) => r ?? String(g1++));
5504
5511
  }, [e]), t ? `radix-${t}` : "";
5505
5512
  }
5506
- const g1 = ["top", "right", "bottom", "left"], bt = Math.min, Ce = Math.max, Lr = Math.round, cr = Math.floor, Be = (e) => ({
5513
+ const y1 = ["top", "right", "bottom", "left"], bt = Math.min, Ce = Math.max, Lr = Math.round, cr = Math.floor, Be = (e) => ({
5507
5514
  x: e,
5508
5515
  y: e
5509
- }), y1 = {
5516
+ }), v1 = {
5510
5517
  left: "right",
5511
5518
  right: "left",
5512
5519
  bottom: "top",
5513
5520
  top: "bottom"
5514
- }, v1 = {
5521
+ }, b1 = {
5515
5522
  start: "end",
5516
5523
  end: "start"
5517
5524
  };
@@ -5533,48 +5540,48 @@ function bs(e) {
5533
5540
  function ws(e) {
5534
5541
  return e === "y" ? "height" : "width";
5535
5542
  }
5536
- const b1 = /* @__PURE__ */ new Set(["top", "bottom"]);
5543
+ const w1 = /* @__PURE__ */ new Set(["top", "bottom"]);
5537
5544
  function Fe(e) {
5538
- return b1.has(Je(e)) ? "y" : "x";
5545
+ return w1.has(Je(e)) ? "y" : "x";
5539
5546
  }
5540
5547
  function Cs(e) {
5541
5548
  return bs(Fe(e));
5542
5549
  }
5543
- function w1(e, t, n) {
5550
+ function C1(e, t, n) {
5544
5551
  n === void 0 && (n = !1);
5545
5552
  const r = wn(e), o = Cs(e), s = ws(o);
5546
5553
  let i = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
5547
5554
  return t.reference[s] > t.floating[s] && (i = kr(i)), [i, kr(i)];
5548
5555
  }
5549
- function C1(e) {
5556
+ function x1(e) {
5550
5557
  const t = kr(e);
5551
5558
  return [Zo(e), t, Zo(t)];
5552
5559
  }
5553
5560
  function Zo(e) {
5554
- return e.replace(/start|end/g, (t) => v1[t]);
5561
+ return e.replace(/start|end/g, (t) => b1[t]);
5555
5562
  }
5556
- const ki = ["left", "right"], Ni = ["right", "left"], x1 = ["top", "bottom"], E1 = ["bottom", "top"];
5557
- function _1(e, t, n) {
5563
+ const ki = ["left", "right"], Ni = ["right", "left"], E1 = ["top", "bottom"], _1 = ["bottom", "top"];
5564
+ function S1(e, t, n) {
5558
5565
  switch (e) {
5559
5566
  case "top":
5560
5567
  case "bottom":
5561
5568
  return n ? t ? Ni : ki : t ? ki : Ni;
5562
5569
  case "left":
5563
5570
  case "right":
5564
- return t ? x1 : E1;
5571
+ return t ? E1 : _1;
5565
5572
  default:
5566
5573
  return [];
5567
5574
  }
5568
5575
  }
5569
- function S1(e, t, n, r) {
5576
+ function T1(e, t, n, r) {
5570
5577
  const o = wn(e);
5571
- let s = _1(Je(e), n === "start", r);
5578
+ let s = S1(Je(e), n === "start", r);
5572
5579
  return o && (s = s.map((i) => i + "-" + o), t && (s = s.concat(s.map(Zo)))), s;
5573
5580
  }
5574
5581
  function kr(e) {
5575
- return e.replace(/left|right|bottom|top/g, (t) => y1[t]);
5582
+ return e.replace(/left|right|bottom|top/g, (t) => v1[t]);
5576
5583
  }
5577
- function T1(e) {
5584
+ function R1(e) {
5578
5585
  return {
5579
5586
  top: 0,
5580
5587
  right: 0,
@@ -5584,7 +5591,7 @@ function T1(e) {
5584
5591
  };
5585
5592
  }
5586
5593
  function Cc(e) {
5587
- return typeof e != "number" ? T1(e) : {
5594
+ return typeof e != "number" ? R1(e) : {
5588
5595
  top: e,
5589
5596
  right: e,
5590
5597
  bottom: e,
@@ -5657,7 +5664,7 @@ function Ii(e, t, n) {
5657
5664
  }
5658
5665
  return g;
5659
5666
  }
5660
- const R1 = async (e, t, n) => {
5667
+ const A1 = async (e, t, n) => {
5661
5668
  const {
5662
5669
  placement: r = "bottom",
5663
5670
  strategy: o = "absolute",
@@ -5763,7 +5770,7 @@ async function jn(e, t) {
5763
5770
  right: (S.right - C.right + w.right) / E.x
5764
5771
  };
5765
5772
  }
5766
- const A1 = (e) => ({
5773
+ const P1 = (e) => ({
5767
5774
  name: "arrow",
5768
5775
  options: e,
5769
5776
  async fn(t) {
@@ -5800,7 +5807,7 @@ const A1 = (e) => ({
5800
5807
  reset: Z
5801
5808
  };
5802
5809
  }
5803
- }), P1 = function(e) {
5810
+ }), O1 = function(e) {
5804
5811
  return e === void 0 && (e = {}), {
5805
5812
  name: "flip",
5806
5813
  options: e,
@@ -5824,12 +5831,12 @@ const A1 = (e) => ({
5824
5831
  } = Xe(e, t);
5825
5832
  if ((n = s.arrow) != null && n.alignmentOffset)
5826
5833
  return {};
5827
- const C = Je(o), x = Fe(a), _ = Je(a) === a, E = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), S = h || (_ || !f ? [kr(a)] : C1(a)), A = w !== "none";
5828
- !h && A && S.push(...S1(a, f, w, E));
5834
+ const C = Je(o), x = Fe(a), _ = Je(a) === a, E = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), S = h || (_ || !f ? [kr(a)] : x1(a)), A = w !== "none";
5835
+ !h && A && S.push(...T1(a, f, w, E));
5829
5836
  const R = [a, ...S], k = await jn(t, y), N = [];
5830
5837
  let I = ((r = s.flip) == null ? void 0 : r.overflows) || [];
5831
5838
  if (d && N.push(k[C]), p) {
5832
- const z = w1(o, i, E);
5839
+ const z = C1(o, i, E);
5833
5840
  N.push(k[z[0]], k[z[1]]);
5834
5841
  }
5835
5842
  if (I = [...I, {
@@ -5891,9 +5898,9 @@ function Mi(e, t) {
5891
5898
  };
5892
5899
  }
5893
5900
  function $i(e) {
5894
- return g1.some((t) => e[t] >= 0);
5901
+ return y1.some((t) => e[t] >= 0);
5895
5902
  }
5896
- const O1 = function(e) {
5903
+ const j1 = function(e) {
5897
5904
  return e === void 0 && (e = {}), {
5898
5905
  name: "hide",
5899
5906
  options: e,
@@ -5935,7 +5942,7 @@ const O1 = function(e) {
5935
5942
  }
5936
5943
  };
5937
5944
  }, xc = /* @__PURE__ */ new Set(["left", "top"]);
5938
- async function j1(e, t) {
5945
+ async function D1(e, t) {
5939
5946
  const {
5940
5947
  placement: n,
5941
5948
  platform: r,
@@ -5962,7 +5969,7 @@ async function j1(e, t) {
5962
5969
  y: g * d
5963
5970
  };
5964
5971
  }
5965
- const D1 = function(e) {
5972
+ const L1 = function(e) {
5966
5973
  return e === void 0 && (e = 0), {
5967
5974
  name: "offset",
5968
5975
  options: e,
@@ -5973,7 +5980,7 @@ const D1 = function(e) {
5973
5980
  y: s,
5974
5981
  placement: i,
5975
5982
  middlewareData: a
5976
- } = t, c = await j1(t, e);
5983
+ } = t, c = await D1(t, e);
5977
5984
  return i === ((n = a.offset) == null ? void 0 : n.placement) && (r = a.arrow) != null && r.alignmentOffset ? {} : {
5978
5985
  x: o + c.x,
5979
5986
  y: s + c.y,
@@ -5984,7 +5991,7 @@ const D1 = function(e) {
5984
5991
  };
5985
5992
  }
5986
5993
  };
5987
- }, L1 = function(e) {
5994
+ }, k1 = function(e) {
5988
5995
  return e === void 0 && (e = {}), {
5989
5996
  name: "shift",
5990
5997
  options: e,
@@ -6040,7 +6047,7 @@ const D1 = function(e) {
6040
6047
  };
6041
6048
  }
6042
6049
  };
6043
- }, k1 = function(e) {
6050
+ }, N1 = function(e) {
6044
6051
  return e === void 0 && (e = {}), {
6045
6052
  options: e,
6046
6053
  fn(t) {
@@ -6082,7 +6089,7 @@ const D1 = function(e) {
6082
6089
  };
6083
6090
  }
6084
6091
  };
6085
- }, N1 = function(e) {
6092
+ }, I1 = function(e) {
6086
6093
  return e === void 0 && (e = {}), {
6087
6094
  name: "size",
6088
6095
  options: e,
@@ -6149,7 +6156,7 @@ function Ue(e) {
6149
6156
  function Fi(e) {
6150
6157
  return !qr() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Ee(e).ShadowRoot;
6151
6158
  }
6152
- const I1 = /* @__PURE__ */ new Set(["inline", "contents"]);
6159
+ const M1 = /* @__PURE__ */ new Set(["inline", "contents"]);
6153
6160
  function Hn(e) {
6154
6161
  const {
6155
6162
  overflow: t,
@@ -6157,15 +6164,15 @@ function Hn(e) {
6157
6164
  overflowY: r,
6158
6165
  display: o
6159
6166
  } = je(e);
6160
- return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !I1.has(o);
6167
+ return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !M1.has(o);
6161
6168
  }
6162
- const M1 = /* @__PURE__ */ new Set(["table", "td", "th"]);
6163
- function $1(e) {
6164
- return M1.has(Cn(e));
6169
+ const $1 = /* @__PURE__ */ new Set(["table", "td", "th"]);
6170
+ function F1(e) {
6171
+ return $1.has(Cn(e));
6165
6172
  }
6166
- const F1 = [":popover-open", ":modal"];
6173
+ const B1 = [":popover-open", ":modal"];
6167
6174
  function Vr(e) {
6168
- return F1.some((t) => {
6175
+ return B1.some((t) => {
6169
6176
  try {
6170
6177
  return e.matches(t);
6171
6178
  } catch {
@@ -6173,12 +6180,12 @@ function Vr(e) {
6173
6180
  }
6174
6181
  });
6175
6182
  }
6176
- const B1 = ["transform", "translate", "scale", "rotate", "perspective"], U1 = ["transform", "translate", "scale", "rotate", "perspective", "filter"], H1 = ["paint", "layout", "strict", "content"];
6183
+ const U1 = ["transform", "translate", "scale", "rotate", "perspective"], H1 = ["transform", "translate", "scale", "rotate", "perspective", "filter"], W1 = ["paint", "layout", "strict", "content"];
6177
6184
  function xs(e) {
6178
6185
  const t = Es(), n = Oe(e) ? je(e) : e;
6179
- 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)) || H1.some((r) => (n.contain || "").includes(r));
6186
+ return U1.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) || H1.some((r) => (n.willChange || "").includes(r)) || W1.some((r) => (n.contain || "").includes(r));
6180
6187
  }
6181
- function W1(e) {
6188
+ function q1(e) {
6182
6189
  let t = wt(e);
6183
6190
  for (; Ue(t) && !yn(t); ) {
6184
6191
  if (xs(t))
@@ -6192,9 +6199,9 @@ function W1(e) {
6192
6199
  function Es() {
6193
6200
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
6194
6201
  }
6195
- const q1 = /* @__PURE__ */ new Set(["html", "body", "#document"]);
6202
+ const V1 = /* @__PURE__ */ new Set(["html", "body", "#document"]);
6196
6203
  function yn(e) {
6197
- return q1.has(Cn(e));
6204
+ return V1.has(Cn(e));
6198
6205
  }
6199
6206
  function je(e) {
6200
6207
  return Ee(e).getComputedStyle(e);
@@ -6265,15 +6272,15 @@ function en(e) {
6265
6272
  y: a
6266
6273
  };
6267
6274
  }
6268
- const V1 = /* @__PURE__ */ Be(0);
6275
+ const z1 = /* @__PURE__ */ Be(0);
6269
6276
  function Tc(e) {
6270
6277
  const t = Ee(e);
6271
- return !Es() || !t.visualViewport ? V1 : {
6278
+ return !Es() || !t.visualViewport ? z1 : {
6272
6279
  x: t.visualViewport.offsetLeft,
6273
6280
  y: t.visualViewport.offsetTop
6274
6281
  };
6275
6282
  }
6276
- function z1(e, t, n) {
6283
+ function G1(e, t, n) {
6277
6284
  return t === void 0 && (t = !1), !n || t && n !== Ee(e) ? !1 : t;
6278
6285
  }
6279
6286
  function Ut(e, t, n, r) {
@@ -6281,7 +6288,7 @@ function Ut(e, t, n, r) {
6281
6288
  const o = e.getBoundingClientRect(), s = _s(e);
6282
6289
  let i = Be(1);
6283
6290
  t && (r ? Oe(r) && (i = en(r)) : i = en(e));
6284
- const a = z1(s, n, r) ? Tc(s) : Be(0);
6291
+ const a = G1(s, n, r) ? Tc(s) : Be(0);
6285
6292
  let c = (o.left + a.x) / i.x, u = (o.top + a.y) / i.y, d = o.width / i.x, p = o.height / i.y;
6286
6293
  if (s) {
6287
6294
  const h = Ee(s), g = r && Oe(r) ? Ee(r) : r;
@@ -6313,7 +6320,7 @@ function Rc(e, t, n) {
6313
6320
  y: s
6314
6321
  };
6315
6322
  }
6316
- function G1(e) {
6323
+ function Q1(e) {
6317
6324
  let {
6318
6325
  elements: t,
6319
6326
  rect: n,
@@ -6340,10 +6347,10 @@ function G1(e) {
6340
6347
  y: n.y * u.y - c.scrollTop * u.y + d.y + h.y
6341
6348
  };
6342
6349
  }
6343
- function Q1(e) {
6350
+ function K1(e) {
6344
6351
  return Array.from(e.getClientRects());
6345
6352
  }
6346
- function K1(e) {
6353
+ function Y1(e) {
6347
6354
  const t = We(e), n = zr(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);
6348
6355
  let i = -n.scrollLeft + Ss(e);
6349
6356
  const a = -n.scrollTop;
@@ -6354,7 +6361,7 @@ function K1(e) {
6354
6361
  y: a
6355
6362
  };
6356
6363
  }
6357
- function Y1(e, t) {
6364
+ function Z1(e, t) {
6358
6365
  const n = Ee(e), r = We(e), o = n.visualViewport;
6359
6366
  let s = r.clientWidth, i = r.clientHeight, a = 0, c = 0;
6360
6367
  if (o) {
@@ -6369,8 +6376,8 @@ function Y1(e, t) {
6369
6376
  y: c
6370
6377
  };
6371
6378
  }
6372
- const Z1 = /* @__PURE__ */ new Set(["absolute", "fixed"]);
6373
- function X1(e, t) {
6379
+ const X1 = /* @__PURE__ */ new Set(["absolute", "fixed"]);
6380
+ function J1(e, t) {
6374
6381
  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, u = r * s.y;
6375
6382
  return {
6376
6383
  width: i,
@@ -6382,11 +6389,11 @@ function X1(e, t) {
6382
6389
  function Bi(e, t, n) {
6383
6390
  let r;
6384
6391
  if (t === "viewport")
6385
- r = Y1(e, n);
6392
+ r = Z1(e, n);
6386
6393
  else if (t === "document")
6387
- r = K1(We(e));
6394
+ r = Y1(We(e));
6388
6395
  else if (Oe(t))
6389
- r = X1(t, n);
6396
+ r = J1(t, n);
6390
6397
  else {
6391
6398
  const o = Tc(e);
6392
6399
  r = {
@@ -6402,7 +6409,7 @@ function Ac(e, t) {
6402
6409
  const n = wt(e);
6403
6410
  return n === t || !Oe(n) || yn(n) ? !1 : je(n).position === "fixed" || Ac(n, t);
6404
6411
  }
6405
- function J1(e, t) {
6412
+ function em(e, t) {
6406
6413
  const n = t.get(e);
6407
6414
  if (n)
6408
6415
  return n;
@@ -6411,18 +6418,18 @@ function J1(e, t) {
6411
6418
  let i = s ? wt(e) : e;
6412
6419
  for (; Oe(i) && !yn(i); ) {
6413
6420
  const a = je(i), c = xs(i);
6414
- !c && a.position === "fixed" && (o = null), (s ? !c && !o : !c && a.position === "static" && !!o && Z1.has(o.position) || Hn(i) && !c && Ac(e, i)) ? r = r.filter((d) => d !== i) : o = a, i = wt(i);
6421
+ !c && a.position === "fixed" && (o = null), (s ? !c && !o : !c && a.position === "static" && !!o && X1.has(o.position) || Hn(i) && !c && Ac(e, i)) ? r = r.filter((d) => d !== i) : o = a, i = wt(i);
6415
6422
  }
6416
6423
  return t.set(e, r), r;
6417
6424
  }
6418
- function em(e) {
6425
+ function tm(e) {
6419
6426
  let {
6420
6427
  element: t,
6421
6428
  boundary: n,
6422
6429
  rootBoundary: r,
6423
6430
  strategy: o
6424
6431
  } = e;
6425
- const i = [...n === "clippingAncestors" ? Vr(t) ? [] : J1(t, this._c) : [].concat(n), r], a = i[0], c = i.reduce((u, d) => {
6432
+ const i = [...n === "clippingAncestors" ? Vr(t) ? [] : em(t, this._c) : [].concat(n), r], a = i[0], c = i.reduce((u, d) => {
6426
6433
  const p = Bi(t, d, o);
6427
6434
  return u.top = Ce(p.top, u.top), u.right = bt(p.right, u.right), u.bottom = bt(p.bottom, u.bottom), u.left = Ce(p.left, u.left), u;
6428
6435
  }, Bi(t, a, o));
@@ -6433,7 +6440,7 @@ function em(e) {
6433
6440
  y: c.top
6434
6441
  };
6435
6442
  }
6436
- function tm(e) {
6443
+ function nm(e) {
6437
6444
  const {
6438
6445
  width: t,
6439
6446
  height: n
@@ -6443,7 +6450,7 @@ function tm(e) {
6443
6450
  height: n
6444
6451
  };
6445
6452
  }
6446
- function nm(e, t, n) {
6453
+ function rm(e, t, n) {
6447
6454
  const r = Ue(t), o = We(t), s = n === "fixed", i = Ut(e, !0, s, t);
6448
6455
  let a = {
6449
6456
  scrollLeft: 0,
@@ -6492,14 +6499,14 @@ function Pc(e, t) {
6492
6499
  return n;
6493
6500
  }
6494
6501
  let r = Ui(e, t);
6495
- for (; r && $1(r) && fo(r); )
6502
+ for (; r && F1(r) && fo(r); )
6496
6503
  r = Ui(r, t);
6497
- return r && yn(r) && fo(r) && !xs(r) ? n : r || W1(e) || n;
6504
+ return r && yn(r) && fo(r) && !xs(r) ? n : r || q1(e) || n;
6498
6505
  }
6499
- const rm = async function(e) {
6506
+ const om = async function(e) {
6500
6507
  const t = this.getOffsetParent || Pc, n = this.getDimensions, r = await n(e.floating);
6501
6508
  return {
6502
- reference: nm(e.reference, await t(e.floating), e.strategy),
6509
+ reference: rm(e.reference, await t(e.floating), e.strategy),
6503
6510
  floating: {
6504
6511
  x: 0,
6505
6512
  y: 0,
@@ -6508,25 +6515,25 @@ const rm = async function(e) {
6508
6515
  }
6509
6516
  };
6510
6517
  };
6511
- function om(e) {
6518
+ function sm(e) {
6512
6519
  return je(e).direction === "rtl";
6513
6520
  }
6514
- const sm = {
6515
- convertOffsetParentRelativeRectToViewportRelativeRect: G1,
6521
+ const im = {
6522
+ convertOffsetParentRelativeRectToViewportRelativeRect: Q1,
6516
6523
  getDocumentElement: We,
6517
- getClippingRect: em,
6524
+ getClippingRect: tm,
6518
6525
  getOffsetParent: Pc,
6519
- getElementRects: rm,
6520
- getClientRects: Q1,
6521
- getDimensions: tm,
6526
+ getElementRects: om,
6527
+ getClientRects: K1,
6528
+ getDimensions: nm,
6522
6529
  getScale: en,
6523
6530
  isElement: Oe,
6524
- isRTL: om
6531
+ isRTL: sm
6525
6532
  };
6526
6533
  function Oc(e, t) {
6527
6534
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
6528
6535
  }
6529
- function im(e, t) {
6536
+ function am(e, t) {
6530
6537
  let n = null, r;
6531
6538
  const o = We(e);
6532
6539
  function s() {
@@ -6572,7 +6579,7 @@ function im(e, t) {
6572
6579
  }
6573
6580
  return i(!0), s;
6574
6581
  }
6575
- function am(e, t, n, r) {
6582
+ function cm(e, t, n, r) {
6576
6583
  r === void 0 && (r = {});
6577
6584
  const {
6578
6585
  ancestorScroll: o = !0,
@@ -6586,7 +6593,7 @@ function am(e, t, n, r) {
6586
6593
  passive: !0
6587
6594
  }), s && C.addEventListener("resize", n);
6588
6595
  });
6589
- const p = u && a ? im(u, n) : null;
6596
+ const p = u && a ? am(u, n) : null;
6590
6597
  let h = -1, g = null;
6591
6598
  i && (g = new ResizeObserver((C) => {
6592
6599
  let [x] = C;
@@ -6608,21 +6615,21 @@ function am(e, t, n, r) {
6608
6615
  }), p == null || p(), (C = g) == null || C.disconnect(), g = null, c && cancelAnimationFrame(w);
6609
6616
  };
6610
6617
  }
6611
- const cm = D1, lm = L1, um = P1, dm = N1, fm = O1, Hi = A1, hm = k1, pm = (e, t, n) => {
6618
+ const lm = L1, um = k1, dm = O1, fm = I1, hm = j1, Hi = P1, pm = N1, mm = (e, t, n) => {
6612
6619
  const r = /* @__PURE__ */ new Map(), o = {
6613
- platform: sm,
6620
+ platform: im,
6614
6621
  ...n
6615
6622
  }, s = {
6616
6623
  ...o.platform,
6617
6624
  _c: r
6618
6625
  };
6619
- return R1(e, t, {
6626
+ return A1(e, t, {
6620
6627
  ...o,
6621
6628
  platform: s
6622
6629
  });
6623
6630
  };
6624
- var mm = typeof document < "u", gm = function() {
6625
- }, Er = mm ? Tu : gm;
6631
+ var gm = typeof document < "u", ym = function() {
6632
+ }, Er = gm ? Tu : ym;
6626
6633
  function Ir(e, t) {
6627
6634
  if (e === t)
6628
6635
  return !0;
@@ -6666,7 +6673,7 @@ function ho(e) {
6666
6673
  t.current = e;
6667
6674
  }), t;
6668
6675
  }
6669
- function ym(e) {
6676
+ function vm(e) {
6670
6677
  e === void 0 && (e = {});
6671
6678
  const {
6672
6679
  placement: t = "bottom",
@@ -6701,7 +6708,7 @@ function ym(e) {
6701
6708
  strategy: n,
6702
6709
  middleware: h
6703
6710
  };
6704
- Q.current && ($.platform = Q.current), pm(A.current, R.current, $).then((oe) => {
6711
+ Q.current && ($.platform = Q.current), mm(A.current, R.current, $).then((oe) => {
6705
6712
  const we = {
6706
6713
  ...oe,
6707
6714
  // The floating element's position may be recomputed while it's closed
@@ -6768,7 +6775,7 @@ function ym(e) {
6768
6775
  floatingStyles: X
6769
6776
  }), [d, W, re, Z, X]);
6770
6777
  }
6771
- const vm = (e) => {
6778
+ const bm = (e) => {
6772
6779
  function t(n) {
6773
6780
  return {}.hasOwnProperty.call(n, "current");
6774
6781
  }
@@ -6789,17 +6796,14 @@ const vm = (e) => {
6789
6796
  }).fn(n) : {};
6790
6797
  }
6791
6798
  };
6792
- }, bm = (e, t) => ({
6793
- ...cm(e),
6794
- options: [e, t]
6795
- }), wm = (e, t) => ({
6799
+ }, wm = (e, t) => ({
6796
6800
  ...lm(e),
6797
6801
  options: [e, t]
6798
6802
  }), Cm = (e, t) => ({
6799
- ...hm(e),
6803
+ ...um(e),
6800
6804
  options: [e, t]
6801
6805
  }), xm = (e, t) => ({
6802
- ...um(e),
6806
+ ...pm(e),
6803
6807
  options: [e, t]
6804
6808
  }), Em = (e, t) => ({
6805
6809
  ...dm(e),
@@ -6808,10 +6812,13 @@ const vm = (e) => {
6808
6812
  ...fm(e),
6809
6813
  options: [e, t]
6810
6814
  }), Sm = (e, t) => ({
6811
- ...vm(e),
6815
+ ...hm(e),
6816
+ options: [e, t]
6817
+ }), Tm = (e, t) => ({
6818
+ ...bm(e),
6812
6819
  options: [e, t]
6813
6820
  });
6814
- var Tm = "Arrow", Dc = m.forwardRef((e, t) => {
6821
+ var Rm = "Arrow", Dc = m.forwardRef((e, t) => {
6815
6822
  const { children: n, width: r = 10, height: o = 5, ...s } = e;
6816
6823
  return /* @__PURE__ */ l.jsx(
6817
6824
  be.svg,
@@ -6826,9 +6833,9 @@ var Tm = "Arrow", Dc = m.forwardRef((e, t) => {
6826
6833
  }
6827
6834
  );
6828
6835
  });
6829
- Dc.displayName = Tm;
6830
- var Rm = Dc;
6831
- function Am(e) {
6836
+ Dc.displayName = Rm;
6837
+ var Am = Dc;
6838
+ function Pm(e) {
6832
6839
  const [t, n] = m.useState(void 0);
6833
6840
  return vt(() => {
6834
6841
  if (e) {
@@ -6850,9 +6857,9 @@ function Am(e) {
6850
6857
  n(void 0);
6851
6858
  }, [e]), t;
6852
6859
  }
6853
- var Ts = "Popper", [Lc, kc] = ys(Ts), [Pm, Nc] = Lc(Ts), Ic = (e) => {
6860
+ var Ts = "Popper", [Lc, kc] = ys(Ts), [Om, Nc] = Lc(Ts), Ic = (e) => {
6854
6861
  const { __scopePopper: t, children: n } = e, [r, o] = m.useState(null);
6855
- return /* @__PURE__ */ l.jsx(Pm, { scope: t, anchor: r, onAnchorChange: o, children: n });
6862
+ return /* @__PURE__ */ l.jsx(Om, { scope: t, anchor: r, onAnchorChange: o, children: n });
6856
6863
  };
6857
6864
  Ic.displayName = Ts;
6858
6865
  var Mc = "PopperAnchor", $c = m.forwardRef(
@@ -6864,7 +6871,7 @@ var Mc = "PopperAnchor", $c = m.forwardRef(
6864
6871
  }
6865
6872
  );
6866
6873
  $c.displayName = Mc;
6867
- var Rs = "PopperContent", [Om, jm] = Lc(Rs), Fc = m.forwardRef(
6874
+ var Rs = "PopperContent", [jm, Dm] = Lc(Rs), Fc = m.forwardRef(
6868
6875
  (e, t) => {
6869
6876
  var Vt, Et, zt, _t, zn, _n;
6870
6877
  const {
@@ -6882,40 +6889,40 @@ var Rs = "PopperContent", [Om, jm] = Lc(Rs), Fc = m.forwardRef(
6882
6889
  updatePositionStrategy: g = "optimized",
6883
6890
  onPlaced: w,
6884
6891
  ...f
6885
- } = e, y = Nc(Rs, n), [C, x] = m.useState(null), _ = De(t, (St) => x(St)), [E, S] = m.useState(null), A = Am(E), R = (A == null ? void 0 : A.width) ?? 0, k = (A == null ? void 0 : A.height) ?? 0, N = r + (s !== "center" ? "-" + s : ""), I = typeof d == "number" ? d : { top: 0, right: 0, bottom: 0, left: 0, ...d }, Q = Array.isArray(u) ? u : [u], K = Q.length > 0, W = {
6892
+ } = e, y = Nc(Rs, n), [C, x] = m.useState(null), _ = De(t, (St) => x(St)), [E, S] = m.useState(null), A = Pm(E), R = (A == null ? void 0 : A.width) ?? 0, k = (A == null ? void 0 : A.height) ?? 0, N = r + (s !== "center" ? "-" + s : ""), I = typeof d == "number" ? d : { top: 0, right: 0, bottom: 0, left: 0, ...d }, Q = Array.isArray(u) ? u : [u], K = Q.length > 0, W = {
6886
6893
  padding: I,
6887
- boundary: Q.filter(Lm),
6894
+ boundary: Q.filter(km),
6888
6895
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
6889
6896
  altBoundary: K
6890
- }, { refs: z, floatingStyles: re, placement: Z, isPositioned: X, middlewareData: $ } = ym({
6897
+ }, { refs: z, floatingStyles: re, placement: Z, isPositioned: X, middlewareData: $ } = vm({
6891
6898
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
6892
6899
  strategy: "fixed",
6893
6900
  placement: N,
6894
- whileElementsMounted: (...St) => am(...St, {
6901
+ whileElementsMounted: (...St) => cm(...St, {
6895
6902
  animationFrame: g === "always"
6896
6903
  }),
6897
6904
  elements: {
6898
6905
  reference: y.anchor
6899
6906
  },
6900
6907
  middleware: [
6901
- bm({ mainAxis: o + k, alignmentAxis: i }),
6902
- c && wm({
6908
+ wm({ mainAxis: o + k, alignmentAxis: i }),
6909
+ c && Cm({
6903
6910
  mainAxis: !0,
6904
6911
  crossAxis: !1,
6905
- limiter: p === "partial" ? Cm() : void 0,
6912
+ limiter: p === "partial" ? xm() : void 0,
6906
6913
  ...W
6907
6914
  }),
6908
- c && xm({ ...W }),
6909
- Em({
6915
+ c && Em({ ...W }),
6916
+ _m({
6910
6917
  ...W,
6911
6918
  apply: ({ elements: St, rects: Gn, availableWidth: Gt, availableHeight: Tt }) => {
6912
6919
  const { width: Qn, height: Kn } = Gn.reference, qe = St.floating.style;
6913
6920
  qe.setProperty("--radix-popper-available-width", `${Gt}px`), qe.setProperty("--radix-popper-available-height", `${Tt}px`), qe.setProperty("--radix-popper-anchor-width", `${Qn}px`), qe.setProperty("--radix-popper-anchor-height", `${Kn}px`);
6914
6921
  }
6915
6922
  }),
6916
- E && Sm({ element: E, padding: a }),
6917
- km({ arrowWidth: R, arrowHeight: k }),
6918
- h && _m({ strategy: "referenceHidden", ...W })
6923
+ E && Tm({ element: E, padding: a }),
6924
+ Nm({ arrowWidth: R, arrowHeight: k }),
6925
+ h && Sm({ strategy: "referenceHidden", ...W })
6919
6926
  ]
6920
6927
  }), [oe, we] = Hc(Z), xt = gn(w);
6921
6928
  vt(() => {
@@ -6949,7 +6956,7 @@ var Rs = "PopperContent", [Om, jm] = Lc(Rs), Fc = m.forwardRef(
6949
6956
  },
6950
6957
  dir: e.dir,
6951
6958
  children: /* @__PURE__ */ l.jsx(
6952
- Om,
6959
+ jm,
6953
6960
  {
6954
6961
  scope: n,
6955
6962
  placedSide: oe,
@@ -6979,13 +6986,13 @@ var Rs = "PopperContent", [Om, jm] = Lc(Rs), Fc = m.forwardRef(
6979
6986
  }
6980
6987
  );
6981
6988
  Fc.displayName = Rs;
6982
- var Bc = "PopperArrow", Dm = {
6989
+ var Bc = "PopperArrow", Lm = {
6983
6990
  top: "bottom",
6984
6991
  right: "left",
6985
6992
  bottom: "top",
6986
6993
  left: "right"
6987
6994
  }, Uc = m.forwardRef(function(t, n) {
6988
- const { __scopePopper: r, ...o } = t, s = jm(Bc, r), i = Dm[s.placedSide];
6995
+ const { __scopePopper: r, ...o } = t, s = Dm(Bc, r), i = Lm[s.placedSide];
6989
6996
  return (
6990
6997
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
6991
6998
  // doesn't report size as we'd expect on SVG elements.
@@ -7014,7 +7021,7 @@ var Bc = "PopperArrow", Dm = {
7014
7021
  visibility: s.shouldHideArrow ? "hidden" : void 0
7015
7022
  },
7016
7023
  children: /* @__PURE__ */ l.jsx(
7017
- Rm,
7024
+ Am,
7018
7025
  {
7019
7026
  ...o,
7020
7027
  ref: n,
@@ -7030,10 +7037,10 @@ var Bc = "PopperArrow", Dm = {
7030
7037
  );
7031
7038
  });
7032
7039
  Uc.displayName = Bc;
7033
- function Lm(e) {
7040
+ function km(e) {
7034
7041
  return e !== null;
7035
7042
  }
7036
- var km = (e) => ({
7043
+ var Nm = (e) => ({
7037
7044
  name: "transformOrigin",
7038
7045
  options: e,
7039
7046
  fn(t) {
@@ -7047,24 +7054,24 @@ function Hc(e) {
7047
7054
  const [t, n = "center"] = e.split("-");
7048
7055
  return [t, n];
7049
7056
  }
7050
- var Nm = Ic, Im = $c, Mm = Fc, $m = Uc, Fm = "Portal", As = m.forwardRef((e, t) => {
7057
+ var Im = Ic, Mm = $c, $m = Fc, Fm = Uc, Bm = "Portal", As = m.forwardRef((e, t) => {
7051
7058
  var a;
7052
7059
  const { container: n, ...r } = e, [o, s] = m.useState(!1);
7053
7060
  vt(() => s(!0), []);
7054
7061
  const i = n || o && ((a = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : a.body);
7055
7062
  return i ? Au.createPortal(/* @__PURE__ */ l.jsx(be.div, { ...r, ref: t }), i) : null;
7056
7063
  });
7057
- As.displayName = Fm;
7058
- function Bm(e, t) {
7064
+ As.displayName = Bm;
7065
+ function Um(e, t) {
7059
7066
  return m.useReducer((n, r) => t[n][r] ?? n, e);
7060
7067
  }
7061
7068
  var xn = (e) => {
7062
- const { present: t, children: n } = e, r = Um(t), o = typeof n == "function" ? n({ present: r.isPresent }) : m.Children.only(n), s = De(r.ref, Hm(o));
7069
+ const { present: t, children: n } = e, r = Hm(t), o = typeof n == "function" ? n({ present: r.isPresent }) : m.Children.only(n), s = De(r.ref, Wm(o));
7063
7070
  return typeof n == "function" || r.isPresent ? m.cloneElement(o, { ref: s }) : null;
7064
7071
  };
7065
7072
  xn.displayName = "Presence";
7066
- function Um(e) {
7067
- const [t, n] = m.useState(), r = m.useRef(null), o = m.useRef(e), s = m.useRef("none"), i = e ? "mounted" : "unmounted", [a, c] = Bm(i, {
7073
+ function Hm(e) {
7074
+ const [t, n] = m.useState(), r = m.useRef(null), o = m.useRef(e), s = m.useRef("none"), i = e ? "mounted" : "unmounted", [a, c] = Um(i, {
7068
7075
  mounted: {
7069
7076
  UNMOUNT: "unmounted",
7070
7077
  ANIMATION_OUT: "unmountSuspended"
@@ -7115,12 +7122,12 @@ function Um(e) {
7115
7122
  function lr(e) {
7116
7123
  return (e == null ? void 0 : e.animationName) || "none";
7117
7124
  }
7118
- function Hm(e) {
7125
+ function Wm(e) {
7119
7126
  var r, o;
7120
7127
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
7121
7128
  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);
7122
7129
  }
7123
- var Wm = m[" useInsertionEffect ".trim().toString()] || vt;
7130
+ var qm = m[" useInsertionEffect ".trim().toString()] || vt;
7124
7131
  function Wc({
7125
7132
  prop: e,
7126
7133
  defaultProp: t,
@@ -7128,7 +7135,7 @@ function Wc({
7128
7135
  },
7129
7136
  caller: r
7130
7137
  }) {
7131
- const [o, s, i] = qm({
7138
+ const [o, s, i] = Vm({
7132
7139
  defaultProp: t,
7133
7140
  onChange: n
7134
7141
  }), a = e !== void 0, c = a ? e : o;
@@ -7145,7 +7152,7 @@ function Wc({
7145
7152
  (d) => {
7146
7153
  var p;
7147
7154
  if (a) {
7148
- const h = Vm(d) ? d(e) : d;
7155
+ const h = zm(d) ? d(e) : d;
7149
7156
  h !== e && ((p = i.current) == null || p.call(i, h));
7150
7157
  } else
7151
7158
  s(d);
@@ -7154,22 +7161,22 @@ function Wc({
7154
7161
  );
7155
7162
  return [c, u];
7156
7163
  }
7157
- function qm({
7164
+ function Vm({
7158
7165
  defaultProp: e,
7159
7166
  onChange: t
7160
7167
  }) {
7161
7168
  const [n, r] = m.useState(e), o = m.useRef(n), s = m.useRef(t);
7162
- return Wm(() => {
7169
+ return qm(() => {
7163
7170
  s.current = t;
7164
7171
  }, [t]), m.useEffect(() => {
7165
7172
  var i;
7166
7173
  o.current !== n && ((i = s.current) == null || i.call(s, n), o.current = n);
7167
7174
  }, [n, o]), [n, r, s];
7168
7175
  }
7169
- function Vm(e) {
7176
+ function zm(e) {
7170
7177
  return typeof e == "function";
7171
7178
  }
7172
- var zm = Object.freeze({
7179
+ var Gm = Object.freeze({
7173
7180
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
7174
7181
  position: "absolute",
7175
7182
  border: 0,
@@ -7181,23 +7188,23 @@ var zm = Object.freeze({
7181
7188
  clip: "rect(0, 0, 0, 0)",
7182
7189
  whiteSpace: "nowrap",
7183
7190
  wordWrap: "normal"
7184
- }), Gm = "VisuallyHidden", qc = m.forwardRef(
7191
+ }), Qm = "VisuallyHidden", qc = m.forwardRef(
7185
7192
  (e, t) => /* @__PURE__ */ l.jsx(
7186
7193
  be.span,
7187
7194
  {
7188
7195
  ...e,
7189
7196
  ref: t,
7190
- style: { ...zm, ...e.style }
7197
+ style: { ...Gm, ...e.style }
7191
7198
  }
7192
7199
  )
7193
7200
  );
7194
- qc.displayName = Gm;
7195
- var Qm = qc, [Gr, s2] = ys("Tooltip", [
7201
+ qc.displayName = Qm;
7202
+ var Km = qc, [Gr, i2] = ys("Tooltip", [
7196
7203
  kc
7197
- ]), Qr = kc(), Vc = "TooltipProvider", Km = 700, Jo = "tooltip.open", [Ym, Ps] = Gr(Vc), zc = (e) => {
7204
+ ]), Qr = kc(), Vc = "TooltipProvider", Ym = 700, Jo = "tooltip.open", [Zm, Ps] = Gr(Vc), zc = (e) => {
7198
7205
  const {
7199
7206
  __scopeTooltip: t,
7200
- delayDuration: n = Km,
7207
+ delayDuration: n = Ym,
7201
7208
  skipDelayDuration: r = 300,
7202
7209
  disableHoverableContent: o = !1,
7203
7210
  children: s
@@ -7206,7 +7213,7 @@ var Qm = qc, [Gr, s2] = ys("Tooltip", [
7206
7213
  const u = c.current;
7207
7214
  return () => window.clearTimeout(u);
7208
7215
  }, []), /* @__PURE__ */ l.jsx(
7209
- Ym,
7216
+ Zm,
7210
7217
  {
7211
7218
  scope: t,
7212
7219
  isOpenDelayedRef: i,
@@ -7230,7 +7237,7 @@ var Qm = qc, [Gr, s2] = ys("Tooltip", [
7230
7237
  );
7231
7238
  };
7232
7239
  zc.displayName = Vc;
7233
- var Ln = "Tooltip", [Zm, Wn] = Gr(Ln), Gc = (e) => {
7240
+ var Ln = "Tooltip", [Xm, Wn] = Gr(Ln), Gc = (e) => {
7234
7241
  const {
7235
7242
  __scopeTooltip: t,
7236
7243
  children: n,
@@ -7257,8 +7264,8 @@ var Ln = "Tooltip", [Zm, Wn] = Gr(Ln), Gc = (e) => {
7257
7264
  }, [f, x]);
7258
7265
  return m.useEffect(() => () => {
7259
7266
  g.current && (window.clearTimeout(g.current), g.current = 0);
7260
- }, []), /* @__PURE__ */ l.jsx(Nm, { ...u, children: /* @__PURE__ */ l.jsx(
7261
- Zm,
7267
+ }, []), /* @__PURE__ */ l.jsx(Im, { ...u, children: /* @__PURE__ */ l.jsx(
7268
+ Xm,
7262
7269
  {
7263
7270
  scope: t,
7264
7271
  contentId: h,
@@ -7283,7 +7290,7 @@ Gc.displayName = Ln;
7283
7290
  var es = "TooltipTrigger", Qc = m.forwardRef(
7284
7291
  (e, t) => {
7285
7292
  const { __scopeTooltip: n, ...r } = e, o = Wn(es, n), s = Ps(es, n), i = Qr(n), a = m.useRef(null), c = De(t, a, o.onTriggerChange), u = m.useRef(!1), d = m.useRef(!1), p = m.useCallback(() => u.current = !1, []);
7286
- return m.useEffect(() => () => document.removeEventListener("pointerup", p), [p]), /* @__PURE__ */ l.jsx(Im, { asChild: !0, ...i, children: /* @__PURE__ */ l.jsx(
7293
+ return m.useEffect(() => () => document.removeEventListener("pointerup", p), [p]), /* @__PURE__ */ l.jsx(Mm, { asChild: !0, ...i, children: /* @__PURE__ */ l.jsx(
7287
7294
  be.button,
7288
7295
  {
7289
7296
  "aria-describedby": o.open ? o.contentId : void 0,
@@ -7309,24 +7316,24 @@ var es = "TooltipTrigger", Qc = m.forwardRef(
7309
7316
  }
7310
7317
  );
7311
7318
  Qc.displayName = es;
7312
- var Os = "TooltipPortal", [Xm, Jm] = Gr(Os, {
7319
+ var Os = "TooltipPortal", [Jm, eg] = Gr(Os, {
7313
7320
  forceMount: void 0
7314
7321
  }), Kc = (e) => {
7315
7322
  const { __scopeTooltip: t, forceMount: n, children: r, container: o } = e, s = Wn(Os, t);
7316
- return /* @__PURE__ */ l.jsx(Xm, { scope: t, forceMount: n, children: /* @__PURE__ */ l.jsx(xn, { present: n || s.open, children: /* @__PURE__ */ l.jsx(As, { asChild: !0, container: o, children: r }) }) });
7323
+ return /* @__PURE__ */ l.jsx(Jm, { scope: t, forceMount: n, children: /* @__PURE__ */ l.jsx(xn, { present: n || s.open, children: /* @__PURE__ */ l.jsx(As, { asChild: !0, container: o, children: r }) }) });
7317
7324
  };
7318
7325
  Kc.displayName = Os;
7319
7326
  var vn = "TooltipContent", Yc = m.forwardRef(
7320
7327
  (e, t) => {
7321
- const n = Jm(vn, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...s } = e, i = Wn(vn, e.__scopeTooltip);
7322
- return /* @__PURE__ */ l.jsx(xn, { present: r || i.open, children: i.disableHoverableContent ? /* @__PURE__ */ l.jsx(Zc, { side: o, ...s, ref: t }) : /* @__PURE__ */ l.jsx(eg, { side: o, ...s, ref: t }) });
7328
+ const n = eg(vn, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...s } = e, i = Wn(vn, e.__scopeTooltip);
7329
+ return /* @__PURE__ */ l.jsx(xn, { present: r || i.open, children: i.disableHoverableContent ? /* @__PURE__ */ l.jsx(Zc, { side: o, ...s, ref: t }) : /* @__PURE__ */ l.jsx(tg, { side: o, ...s, ref: t }) });
7323
7330
  }
7324
- ), eg = m.forwardRef((e, t) => {
7331
+ ), tg = m.forwardRef((e, t) => {
7325
7332
  const n = Wn(vn, e.__scopeTooltip), r = Ps(vn, e.__scopeTooltip), o = m.useRef(null), s = De(t, o), [i, a] = m.useState(null), { trigger: c, onClose: u } = n, d = o.current, { onPointerInTransitChange: p } = r, h = m.useCallback(() => {
7326
7333
  a(null), p(!1);
7327
7334
  }, [p]), g = m.useCallback(
7328
7335
  (w, f) => {
7329
- const y = w.currentTarget, C = { x: w.clientX, y: w.clientY }, x = og(C, y.getBoundingClientRect()), _ = sg(C, x), E = ig(f.getBoundingClientRect()), S = cg([..._, ...E]);
7336
+ const y = w.currentTarget, C = { x: w.clientX, y: w.clientY }, x = sg(C, y.getBoundingClientRect()), _ = ig(C, x), E = ag(f.getBoundingClientRect()), S = lg([..._, ...E]);
7330
7337
  a(S), p(!0);
7331
7338
  },
7332
7339
  [p]
@@ -7341,13 +7348,13 @@ var vn = "TooltipContent", Yc = m.forwardRef(
7341
7348
  }, [c, d, g, h]), m.useEffect(() => {
7342
7349
  if (i) {
7343
7350
  const w = (f) => {
7344
- const y = f.target, C = { x: f.clientX, y: f.clientY }, x = (c == null ? void 0 : c.contains(y)) || (d == null ? void 0 : d.contains(y)), _ = !ag(C, i);
7351
+ const y = f.target, C = { x: f.clientX, y: f.clientY }, x = (c == null ? void 0 : c.contains(y)) || (d == null ? void 0 : d.contains(y)), _ = !cg(C, i);
7345
7352
  x ? h() : _ && (h(), u());
7346
7353
  };
7347
7354
  return document.addEventListener("pointermove", w), () => document.removeEventListener("pointermove", w);
7348
7355
  }
7349
7356
  }, [c, d, i, u, h]), /* @__PURE__ */ l.jsx(Zc, { ...e, ref: s });
7350
- }), [tg, ng] = Gr(Ln, { isInside: !1 }), rg = /* @__PURE__ */ Kp("TooltipContent"), Zc = m.forwardRef(
7357
+ }), [ng, rg] = Gr(Ln, { isInside: !1 }), og = /* @__PURE__ */ Yp("TooltipContent"), Zc = m.forwardRef(
7351
7358
  (e, t) => {
7352
7359
  const {
7353
7360
  __scopeTooltip: n,
@@ -7375,7 +7382,7 @@ var vn = "TooltipContent", Yc = m.forwardRef(
7375
7382
  onFocusOutside: (p) => p.preventDefault(),
7376
7383
  onDismiss: d,
7377
7384
  children: /* @__PURE__ */ l.jsxs(
7378
- Mm,
7385
+ $m,
7379
7386
  {
7380
7387
  "data-state": c.stateAttribute,
7381
7388
  ...u,
@@ -7390,8 +7397,8 @@ var vn = "TooltipContent", Yc = m.forwardRef(
7390
7397
  "--radix-tooltip-trigger-height": "var(--radix-popper-anchor-height)"
7391
7398
  },
7392
7399
  children: [
7393
- /* @__PURE__ */ l.jsx(rg, { children: r }),
7394
- /* @__PURE__ */ l.jsx(tg, { scope: n, isInside: !0, children: /* @__PURE__ */ l.jsx(Qm, { id: c.contentId, role: "tooltip", children: o || r }) })
7400
+ /* @__PURE__ */ l.jsx(og, { children: r }),
7401
+ /* @__PURE__ */ l.jsx(ng, { scope: n, isInside: !0, children: /* @__PURE__ */ l.jsx(Km, { id: c.contentId, role: "tooltip", children: o || r }) })
7395
7402
  ]
7396
7403
  }
7397
7404
  )
@@ -7403,14 +7410,14 @@ Yc.displayName = vn;
7403
7410
  var Xc = "TooltipArrow", Jc = m.forwardRef(
7404
7411
  (e, t) => {
7405
7412
  const { __scopeTooltip: n, ...r } = e, o = Qr(n);
7406
- return ng(
7413
+ return rg(
7407
7414
  Xc,
7408
7415
  n
7409
- ).isInside ? null : /* @__PURE__ */ l.jsx($m, { ...o, ...r, ref: t });
7416
+ ).isInside ? null : /* @__PURE__ */ l.jsx(Fm, { ...o, ...r, ref: t });
7410
7417
  }
7411
7418
  );
7412
7419
  Jc.displayName = Xc;
7413
- function og(e, t) {
7420
+ function sg(e, t) {
7414
7421
  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);
7415
7422
  switch (Math.min(n, r, o, s)) {
7416
7423
  case s:
@@ -7425,7 +7432,7 @@ function og(e, t) {
7425
7432
  throw new Error("unreachable");
7426
7433
  }
7427
7434
  }
7428
- function sg(e, t, n = 5) {
7435
+ function ig(e, t, n = 5) {
7429
7436
  const r = [];
7430
7437
  switch (t) {
7431
7438
  case "top":
@@ -7455,7 +7462,7 @@ function sg(e, t, n = 5) {
7455
7462
  }
7456
7463
  return r;
7457
7464
  }
7458
- function ig(e) {
7465
+ function ag(e) {
7459
7466
  const { top: t, right: n, bottom: r, left: o } = e;
7460
7467
  return [
7461
7468
  { x: o, y: t },
@@ -7464,7 +7471,7 @@ function ig(e) {
7464
7471
  { x: o, y: r }
7465
7472
  ];
7466
7473
  }
7467
- function ag(e, t) {
7474
+ function cg(e, t) {
7468
7475
  const { x: n, y: r } = e;
7469
7476
  let o = !1;
7470
7477
  for (let s = 0, i = t.length - 1; s < t.length; i = s++) {
@@ -7473,11 +7480,11 @@ function ag(e, t) {
7473
7480
  }
7474
7481
  return o;
7475
7482
  }
7476
- function cg(e) {
7483
+ function lg(e) {
7477
7484
  const t = e.slice();
7478
- 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), lg(t);
7485
+ 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);
7479
7486
  }
7480
- function lg(e) {
7487
+ function ug(e) {
7481
7488
  if (e.length <= 1) return e.slice();
7482
7489
  const t = [];
7483
7490
  for (let r = 0; r < e.length; r++) {
@@ -7502,11 +7509,11 @@ function lg(e) {
7502
7509
  }
7503
7510
  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);
7504
7511
  }
7505
- var ug = zc, dg = Gc, fg = Qc, hg = Kc, pg = Yc, mg = Jc;
7506
- const gg = "tooltip__nUuSh", yg = "tooltipArrow__W2w-f", qi = {
7507
- tooltip: gg,
7508
- tooltipArrow: yg
7509
- }, vg = ({
7512
+ var dg = zc, fg = Gc, hg = Qc, pg = Kc, mg = Yc, gg = Jc;
7513
+ const yg = "tooltip__nUuSh", vg = "tooltipArrow__W2w-f", qi = {
7514
+ tooltip: yg,
7515
+ tooltipArrow: vg
7516
+ }, bg = ({
7510
7517
  children: e,
7511
7518
  open: t,
7512
7519
  displayName: n,
@@ -7520,30 +7527,30 @@ const gg = "tooltip__nUuSh", yg = "tooltipArrow__W2w-f", qi = {
7520
7527
  const [u, d] = ee(!1), p = t !== void 0, g = s ? !1 : p ? t : u, w = (f) => {
7521
7528
  s || p || d(f);
7522
7529
  };
7523
- return /* @__PURE__ */ l.jsx(ug, { delayDuration: i, children: /* @__PURE__ */ l.jsxs(dg, { open: g, onOpenChange: w, children: [
7524
- /* @__PURE__ */ l.jsx(fg, { asChild: !0, children: e }),
7525
- /* @__PURE__ */ l.jsx(hg, { children: /* @__PURE__ */ l.jsxs(pg, { className: j(qi.tooltip, o), side: a, sideOffset: c, children: [
7530
+ return /* @__PURE__ */ l.jsx(dg, { delayDuration: i, children: /* @__PURE__ */ l.jsxs(fg, { open: g, onOpenChange: w, children: [
7531
+ /* @__PURE__ */ l.jsx(hg, { asChild: !0, children: e }),
7532
+ /* @__PURE__ */ l.jsx(pg, { children: /* @__PURE__ */ l.jsxs(mg, { className: j(qi.tooltip, o), side: a, sideOffset: c, children: [
7526
7533
  n,
7527
7534
  r,
7528
- /* @__PURE__ */ l.jsx(mg, { className: qi.tooltipArrow })
7535
+ /* @__PURE__ */ l.jsx(gg, { className: qi.tooltipArrow })
7529
7536
  ] }) })
7530
7537
  ] }) });
7531
7538
  };
7532
- vg.displayName = "Tooltip";
7533
- const bg = "spinner__qa7F6", wg = "rotate__EqlXe", Cg = "spinner-dark__9A9-q", xg = "spinner-white__gRbtI", Eg = "spinner-success__otWGm", _g = "spinner-danger__Bq5DM", Sg = "spinner-warning__U900K", Vi = {
7534
- spinner: bg,
7535
- rotate: wg,
7539
+ bg.displayName = "Tooltip";
7540
+ const wg = "spinner__qa7F6", Cg = "rotate__EqlXe", xg = "spinner-dark__9A9-q", Eg = "spinner-white__gRbtI", _g = "spinner-success__otWGm", Sg = "spinner-danger__Bq5DM", Tg = "spinner-warning__U900K", Vi = {
7541
+ spinner: wg,
7542
+ rotate: Cg,
7536
7543
  "spinner-dark": "spinner-dark__9A9-q",
7537
- spinnerDark: Cg,
7544
+ spinnerDark: xg,
7538
7545
  "spinner-white": "spinner-white__gRbtI",
7539
- spinnerWhite: xg,
7546
+ spinnerWhite: Eg,
7540
7547
  "spinner-success": "spinner-success__otWGm",
7541
- spinnerSuccess: Eg,
7548
+ spinnerSuccess: _g,
7542
7549
  "spinner-danger": "spinner-danger__Bq5DM",
7543
- spinnerDanger: _g,
7550
+ spinnerDanger: Sg,
7544
7551
  "spinner-warning": "spinner-warning__U900K",
7545
- spinnerWarning: Sg
7546
- }, Tg = ({ className: e, color: t = "white", size: n = 80, thickness: r }) => {
7552
+ spinnerWarning: Tg
7553
+ }, Rg = ({ className: e, color: t = "white", size: n = 80, thickness: r }) => {
7547
7554
  const o = j(
7548
7555
  Vi.spinner,
7549
7556
  Vi[`spinner-${t}`],
@@ -7551,13 +7558,13 @@ const bg = "spinner__qa7F6", wg = "rotate__EqlXe", Cg = "spinner-dark__9A9-q", x
7551
7558
  ), s = r ?? Math.max(n / 12, 2);
7552
7559
  return /* @__PURE__ */ l.jsx("span", { style: { width: n, height: n, borderWidth: s }, className: o });
7553
7560
  };
7554
- Tg.displayName = "Spinner";
7555
- const Rg = "disabled__KpauE", Ag = "checked__2-JV-", Pg = "thumb__fEuKD", ur = {
7561
+ Rg.displayName = "Spinner";
7562
+ const Ag = "disabled__KpauE", Pg = "checked__2-JV-", Og = "thumb__fEuKD", ur = {
7556
7563
  switch: "switch__0b2av",
7557
- disabled: Rg,
7558
- checked: Ag,
7559
- thumb: Pg
7560
- }, Og = B(
7564
+ disabled: Ag,
7565
+ checked: Pg,
7566
+ thumb: Og
7567
+ }, jg = B(
7561
7568
  ({
7562
7569
  checked: e,
7563
7570
  defaultChecked: t = !1,
@@ -7603,24 +7610,24 @@ const Rg = "disabled__KpauE", Ag = "checked__2-JV-", Pg = "thumb__fEuKD", ur = {
7603
7610
  );
7604
7611
  }
7605
7612
  );
7606
- Og.displayName = "Switch";
7607
- const jg = "tabs-root__ELmdj", Dg = "tabs-list__rc10N", Lg = "tabs-list--horizontal__e1YW4", kg = "tabs-list--vertical__huK05", Ng = "tabs-trigger__D8R4R", Ig = "tabs-trigger--disabled__ezDWc", Mg = "tabs-trigger--horizontal__4jBFV", $g = "tabs-trigger--active__S-Z-S", Fg = "tabs-trigger--vertical__dNVIZ", Bg = "tabs-content__1d77o", $e = {
7608
- tabsRoot: jg,
7609
- tabsList: Dg,
7610
- tabsListHorizontal: Lg,
7611
- tabsListVertical: kg,
7612
- tabsTrigger: Ng,
7613
- tabsTriggerDisabled: Ig,
7614
- tabsTriggerHorizontal: Mg,
7615
- tabsTriggerActive: $g,
7616
- tabsTriggerVertical: Fg,
7617
- tabsContent: Bg
7613
+ jg.displayName = "Switch";
7614
+ const Dg = "tabs-root__ELmdj", Lg = "tabs-list__rc10N", kg = "tabs-list--horizontal__e1YW4", Ng = "tabs-list--vertical__huK05", Ig = "tabs-trigger__D8R4R", Mg = "tabs-trigger--disabled__ezDWc", $g = "tabs-trigger--horizontal__4jBFV", Fg = "tabs-trigger--active__S-Z-S", Bg = "tabs-trigger--vertical__dNVIZ", Ug = "tabs-content__1d77o", $e = {
7615
+ tabsRoot: Dg,
7616
+ tabsList: Lg,
7617
+ tabsListHorizontal: kg,
7618
+ tabsListVertical: Ng,
7619
+ tabsTrigger: Ig,
7620
+ tabsTriggerDisabled: Mg,
7621
+ tabsTriggerHorizontal: $g,
7622
+ tabsTriggerActive: Fg,
7623
+ tabsTriggerVertical: Bg,
7624
+ tabsContent: Ug
7618
7625
  }, el = va(null), js = () => {
7619
7626
  const e = ba(el);
7620
7627
  if (!e)
7621
7628
  throw new Error("Tabs components must be used within a Tabs provider");
7622
7629
  return e;
7623
- }, i2 = ({
7630
+ }, a2 = ({
7624
7631
  defaultValue: e,
7625
7632
  value: t,
7626
7633
  onValueChange: n,
@@ -7632,7 +7639,7 @@ const jg = "tabs-root__ELmdj", Dg = "tabs-list__rc10N", Lg = "tabs-list--horizon
7632
7639
  c || a(p), n == null || n(p);
7633
7640
  };
7634
7641
  return /* @__PURE__ */ l.jsx(el.Provider, { value: { value: u, onValueChange: d, orientation: r }, children: /* @__PURE__ */ l.jsx("div", { className: j($e.tabsRoot, o), children: s }) });
7635
- }, a2 = ({ className: e = "", children: t }) => {
7642
+ }, c2 = ({ className: e = "", children: t }) => {
7636
7643
  const { orientation: n } = js(), r = wa(null), o = (s) => {
7637
7644
  var u;
7638
7645
  const i = (u = r.current) == null ? void 0 : u.querySelectorAll('[role="tab"]:not([disabled])');
@@ -7681,7 +7688,7 @@ const jg = "tabs-root__ELmdj", Dg = "tabs-list__rc10N", Lg = "tabs-list--horizon
7681
7688
  children: t
7682
7689
  }
7683
7690
  );
7684
- }, c2 = ({
7691
+ }, l2 = ({
7685
7692
  value: e,
7686
7693
  disabled: t = !1,
7687
7694
  className: n = "",
@@ -7709,7 +7716,7 @@ const jg = "tabs-root__ELmdj", Dg = "tabs-list__rc10N", Lg = "tabs-list--horizon
7709
7716
  children: r
7710
7717
  }
7711
7718
  );
7712
- }, l2 = ({
7719
+ }, u2 = ({
7713
7720
  value: e,
7714
7721
  className: t = "",
7715
7722
  children: n
@@ -7726,22 +7733,22 @@ const jg = "tabs-root__ELmdj", Dg = "tabs-list__rc10N", Lg = "tabs-list--horizon
7726
7733
  children: n
7727
7734
  }
7728
7735
  ) : null;
7729
- }, Ug = ({ className: e, state: t = "open", onClick: n }) => t === "open" ? /* @__PURE__ */ l.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: [
7736
+ }, Hg = ({ className: e, state: t = "open", onClick: n }) => t === "open" ? /* @__PURE__ */ l.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: [
7730
7737
  /* @__PURE__ */ l.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" }),
7731
7738
  /* @__PURE__ */ l.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" })
7732
- ] }) : /* @__PURE__ */ l.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__ */ l.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", Wg = "eyeIcon__kDExG", zi = {
7733
- PasswordInput: Hg,
7734
- eyeIcon: Wg
7735
- }, u2 = B((e, t) => {
7739
+ ] }) : /* @__PURE__ */ l.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__ */ l.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" }) }), Wg = "PasswordInput__GDJDN", qg = "eyeIcon__kDExG", zi = {
7740
+ PasswordInput: Wg,
7741
+ eyeIcon: qg
7742
+ }, d2 = B((e, t) => {
7736
7743
  const [n, r] = ee("password"), o = he(() => {
7737
7744
  r((s) => s === "password" ? "text" : "password");
7738
7745
  }, [r]);
7739
7746
  return /* @__PURE__ */ l.jsxs("div", { className: j(zi.PasswordInput, e.className), children: [
7740
7747
  /* @__PURE__ */ l.jsx(hs, { type: n, ...e, ref: t }),
7741
- /* @__PURE__ */ l.jsx(Ug, { className: zi.eyeIcon, onClick: o, state: n === "password" ? "open" : "closed" })
7748
+ /* @__PURE__ */ l.jsx(Hg, { className: zi.eyeIcon, onClick: o, state: n === "password" ? "open" : "closed" })
7742
7749
  ] });
7743
7750
  });
7744
- var po = "focusScope.autoFocusOnMount", mo = "focusScope.autoFocusOnUnmount", Gi = { bubbles: !1, cancelable: !0 }, qg = "FocusScope", tl = m.forwardRef((e, t) => {
7751
+ var po = "focusScope.autoFocusOnMount", mo = "focusScope.autoFocusOnUnmount", Gi = { bubbles: !1, cancelable: !0 }, Vg = "FocusScope", tl = m.forwardRef((e, t) => {
7745
7752
  const {
7746
7753
  loop: n = !1,
7747
7754
  trapped: r = !1,
@@ -7784,7 +7791,7 @@ var po = "focusScope.autoFocusOnMount", mo = "focusScope.autoFocusOnUnmount", Gi
7784
7791
  const f = document.activeElement;
7785
7792
  if (!a.contains(f)) {
7786
7793
  const C = new CustomEvent(po, Gi);
7787
- a.addEventListener(po, u), a.dispatchEvent(C), C.defaultPrevented || (Vg(Yg(nl(a)), { select: !0 }), document.activeElement === f && rt(a));
7794
+ a.addEventListener(po, u), a.dispatchEvent(C), C.defaultPrevented || (zg(Zg(nl(a)), { select: !0 }), document.activeElement === f && rt(a));
7788
7795
  }
7789
7796
  return () => {
7790
7797
  a.removeEventListener(po, u), setTimeout(() => {
@@ -7799,7 +7806,7 @@ var po = "focusScope.autoFocusOnMount", mo = "focusScope.autoFocusOnUnmount", Gi
7799
7806
  if (!n && !r || g.paused) return;
7800
7807
  const y = f.key === "Tab" && !f.altKey && !f.ctrlKey && !f.metaKey, C = document.activeElement;
7801
7808
  if (y && C) {
7802
- const x = f.currentTarget, [_, E] = zg(x);
7809
+ const x = f.currentTarget, [_, E] = Gg(x);
7803
7810
  _ && E ? !f.shiftKey && C === E ? (f.preventDefault(), n && rt(_, { select: !0 })) : f.shiftKey && C === _ && (f.preventDefault(), n && rt(E, { select: !0 })) : C === x && f.preventDefault();
7804
7811
  }
7805
7812
  },
@@ -7807,13 +7814,13 @@ var po = "focusScope.autoFocusOnMount", mo = "focusScope.autoFocusOnUnmount", Gi
7807
7814
  );
7808
7815
  return /* @__PURE__ */ l.jsx(be.div, { tabIndex: -1, ...i, ref: h, onKeyDown: w });
7809
7816
  });
7810
- tl.displayName = qg;
7811
- function Vg(e, { select: t = !1 } = {}) {
7817
+ tl.displayName = Vg;
7818
+ function zg(e, { select: t = !1 } = {}) {
7812
7819
  const n = document.activeElement;
7813
7820
  for (const r of e)
7814
7821
  if (rt(r, { select: t }), document.activeElement !== n) return;
7815
7822
  }
7816
- function zg(e) {
7823
+ function Gg(e) {
7817
7824
  const t = nl(e), n = Qi(t, e), r = Qi(t.reverse(), e);
7818
7825
  return [n, r];
7819
7826
  }
@@ -7829,9 +7836,9 @@ function nl(e) {
7829
7836
  }
7830
7837
  function Qi(e, t) {
7831
7838
  for (const n of e)
7832
- if (!Gg(n, { upTo: t })) return n;
7839
+ if (!Qg(n, { upTo: t })) return n;
7833
7840
  }
7834
- function Gg(e, { upTo: t }) {
7841
+ function Qg(e, { upTo: t }) {
7835
7842
  if (getComputedStyle(e).visibility === "hidden") return !0;
7836
7843
  for (; e; ) {
7837
7844
  if (t !== void 0 && e === t) return !1;
@@ -7840,17 +7847,17 @@ function Gg(e, { upTo: t }) {
7840
7847
  }
7841
7848
  return !1;
7842
7849
  }
7843
- function Qg(e) {
7850
+ function Kg(e) {
7844
7851
  return e instanceof HTMLInputElement && "select" in e;
7845
7852
  }
7846
7853
  function rt(e, { select: t = !1 } = {}) {
7847
7854
  if (e && e.focus) {
7848
7855
  const n = document.activeElement;
7849
- e.focus({ preventScroll: !0 }), e !== n && Qg(e) && t && e.select();
7856
+ e.focus({ preventScroll: !0 }), e !== n && Kg(e) && t && e.select();
7850
7857
  }
7851
7858
  }
7852
- var Ki = Kg();
7853
- function Kg() {
7859
+ var Ki = Yg();
7860
+ function Yg() {
7854
7861
  let e = [];
7855
7862
  return {
7856
7863
  add(t) {
@@ -7867,11 +7874,11 @@ function Yi(e, t) {
7867
7874
  const n = [...e], r = n.indexOf(t);
7868
7875
  return r !== -1 && n.splice(r, 1), n;
7869
7876
  }
7870
- function Yg(e) {
7877
+ function Zg(e) {
7871
7878
  return e.filter((t) => t.tagName !== "A");
7872
7879
  }
7873
7880
  var go = 0;
7874
- function Zg() {
7881
+ function Xg() {
7875
7882
  m.useEffect(() => {
7876
7883
  const e = document.querySelectorAll("[data-radix-focus-guard]");
7877
7884
  return document.body.insertAdjacentElement("afterbegin", e[0] ?? Zi()), document.body.insertAdjacentElement("beforeend", e[1] ?? Zi()), go++, () => {
@@ -7883,11 +7890,11 @@ function Zi() {
7883
7890
  const e = document.createElement("span");
7884
7891
  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;
7885
7892
  }
7886
- var _r = "right-scroll-bar-position", Sr = "width-before-scroll-bar", Xg = "with-scroll-bars-hidden", Jg = "--removed-body-scroll-bar-size";
7893
+ var _r = "right-scroll-bar-position", Sr = "width-before-scroll-bar", Jg = "with-scroll-bars-hidden", ey = "--removed-body-scroll-bar-size";
7887
7894
  function yo(e, t) {
7888
7895
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
7889
7896
  }
7890
- function ey(e, t) {
7897
+ function ty(e, t) {
7891
7898
  var n = ee(function() {
7892
7899
  return {
7893
7900
  // value
@@ -7908,14 +7915,14 @@ function ey(e, t) {
7908
7915
  })[0];
7909
7916
  return n.callback = t, n.facade;
7910
7917
  }
7911
- var ty = typeof window < "u" ? m.useLayoutEffect : m.useEffect, Xi = /* @__PURE__ */ new WeakMap();
7912
- function ny(e, t) {
7913
- var n = ey(null, function(r) {
7918
+ var ny = typeof window < "u" ? m.useLayoutEffect : m.useEffect, Xi = /* @__PURE__ */ new WeakMap();
7919
+ function ry(e, t) {
7920
+ var n = ty(null, function(r) {
7914
7921
  return e.forEach(function(o) {
7915
7922
  return yo(o, r);
7916
7923
  });
7917
7924
  });
7918
- return ty(function() {
7925
+ return ny(function() {
7919
7926
  var r = Xi.get(n);
7920
7927
  if (r) {
7921
7928
  var o = new Set(r), s = new Set(e), i = n.current;
@@ -7928,11 +7935,11 @@ function ny(e, t) {
7928
7935
  Xi.set(n, e);
7929
7936
  }, [e]), n;
7930
7937
  }
7931
- function ry(e) {
7938
+ function oy(e) {
7932
7939
  return e;
7933
7940
  }
7934
- function oy(e, t) {
7935
- t === void 0 && (t = ry);
7941
+ function sy(e, t) {
7942
+ t === void 0 && (t = oy);
7936
7943
  var n = [], r = !1, o = {
7937
7944
  read: function() {
7938
7945
  if (r)
@@ -7986,9 +7993,9 @@ function oy(e, t) {
7986
7993
  };
7987
7994
  return o;
7988
7995
  }
7989
- function sy(e) {
7996
+ function iy(e) {
7990
7997
  e === void 0 && (e = {});
7991
- var t = oy(null);
7998
+ var t = sy(null);
7992
7999
  return t.options = Me({ async: !0, ssr: !1 }, e), t;
7993
8000
  }
7994
8001
  var rl = function(e) {
@@ -8001,16 +8008,16 @@ var rl = function(e) {
8001
8008
  return m.createElement(r, Me({}, n));
8002
8009
  };
8003
8010
  rl.isSideCarExport = !0;
8004
- function iy(e, t) {
8011
+ function ay(e, t) {
8005
8012
  return e.useMedium(t), rl;
8006
8013
  }
8007
- var ol = sy(), vo = function() {
8014
+ var ol = iy(), vo = function() {
8008
8015
  }, Kr = m.forwardRef(function(e, t) {
8009
8016
  var n = m.useRef(null), r = m.useState({
8010
8017
  onScrollCapture: vo,
8011
8018
  onWheelCapture: vo,
8012
8019
  onTouchMoveCapture: vo
8013
- }), o = r[0], s = r[1], i = e.forwardProps, a = e.children, c = e.className, u = e.removeScrollBar, d = e.enabled, p = e.shards, h = e.sideCar, g = e.noRelative, w = e.noIsolation, f = e.inert, y = e.allowPinchZoom, C = e.as, x = C === void 0 ? "div" : C, _ = e.gapMode, E = Ia(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), S = h, A = ny([n, t]), R = Me(Me({}, E), o);
8020
+ }), o = r[0], s = r[1], i = e.forwardProps, a = e.children, c = e.className, u = e.removeScrollBar, d = e.enabled, p = e.shards, h = e.sideCar, g = e.noRelative, w = e.noIsolation, f = e.inert, y = e.allowPinchZoom, C = e.as, x = C === void 0 ? "div" : C, _ = e.gapMode, E = Ia(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), S = h, A = ry([n, t]), R = Me(Me({}, E), o);
8014
8021
  return m.createElement(
8015
8022
  m.Fragment,
8016
8023
  null,
@@ -8027,37 +8034,37 @@ Kr.classNames = {
8027
8034
  fullWidth: Sr,
8028
8035
  zeroRight: _r
8029
8036
  };
8030
- var ay = function() {
8037
+ var cy = function() {
8031
8038
  if (typeof __webpack_nonce__ < "u")
8032
8039
  return __webpack_nonce__;
8033
8040
  };
8034
- function cy() {
8041
+ function ly() {
8035
8042
  if (!document)
8036
8043
  return null;
8037
8044
  var e = document.createElement("style");
8038
8045
  e.type = "text/css";
8039
- var t = ay();
8046
+ var t = cy();
8040
8047
  return t && e.setAttribute("nonce", t), e;
8041
8048
  }
8042
- function ly(e, t) {
8049
+ function uy(e, t) {
8043
8050
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
8044
8051
  }
8045
- function uy(e) {
8052
+ function dy(e) {
8046
8053
  var t = document.head || document.getElementsByTagName("head")[0];
8047
8054
  t.appendChild(e);
8048
8055
  }
8049
- var dy = function() {
8056
+ var fy = function() {
8050
8057
  var e = 0, t = null;
8051
8058
  return {
8052
8059
  add: function(n) {
8053
- e == 0 && (t = cy()) && (ly(t, n), uy(t)), e++;
8060
+ e == 0 && (t = ly()) && (uy(t, n), dy(t)), e++;
8054
8061
  },
8055
8062
  remove: function() {
8056
8063
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
8057
8064
  }
8058
8065
  };
8059
- }, fy = function() {
8060
- var e = dy();
8066
+ }, hy = function() {
8067
+ var e = fy();
8061
8068
  return function(t, n) {
8062
8069
  m.useEffect(function() {
8063
8070
  return e.add(t), function() {
@@ -8066,35 +8073,35 @@ var dy = function() {
8066
8073
  }, [t && n]);
8067
8074
  };
8068
8075
  }, sl = function() {
8069
- var e = fy(), t = function(n) {
8076
+ var e = hy(), t = function(n) {
8070
8077
  var r = n.styles, o = n.dynamic;
8071
8078
  return e(r, o), null;
8072
8079
  };
8073
8080
  return t;
8074
- }, hy = {
8081
+ }, py = {
8075
8082
  left: 0,
8076
8083
  top: 0,
8077
8084
  right: 0,
8078
8085
  gap: 0
8079
8086
  }, bo = function(e) {
8080
8087
  return parseInt(e || "", 10) || 0;
8081
- }, py = function(e) {
8088
+ }, my = function(e) {
8082
8089
  var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
8083
8090
  return [bo(n), bo(r), bo(o)];
8084
- }, my = function(e) {
8091
+ }, gy = function(e) {
8085
8092
  if (e === void 0 && (e = "margin"), typeof window > "u")
8086
- return hy;
8087
- var t = py(e), n = document.documentElement.clientWidth, r = window.innerWidth;
8093
+ return py;
8094
+ var t = my(e), n = document.documentElement.clientWidth, r = window.innerWidth;
8088
8095
  return {
8089
8096
  left: t[0],
8090
8097
  top: t[1],
8091
8098
  right: t[2],
8092
8099
  gap: Math.max(0, r - n + t[2] - t[0])
8093
8100
  };
8094
- }, gy = sl(), tn = "data-scroll-locked", yy = function(e, t, n, r) {
8101
+ }, yy = sl(), tn = "data-scroll-locked", vy = function(e, t, n, r) {
8095
8102
  var o = e.left, s = e.top, i = e.right, a = e.gap;
8096
8103
  return n === void 0 && (n = "margin"), `
8097
- .`.concat(Xg, ` {
8104
+ .`.concat(Jg, ` {
8098
8105
  overflow: hidden `).concat(r, `;
8099
8106
  padding-right: `).concat(a, "px ").concat(r, `;
8100
8107
  }
@@ -8132,26 +8139,26 @@ var dy = function() {
8132
8139
  }
8133
8140
 
8134
8141
  body[`).concat(tn, `] {
8135
- `).concat(Jg, ": ").concat(a, `px;
8142
+ `).concat(ey, ": ").concat(a, `px;
8136
8143
  }
8137
8144
  `);
8138
8145
  }, Ji = function() {
8139
8146
  var e = parseInt(document.body.getAttribute(tn) || "0", 10);
8140
8147
  return isFinite(e) ? e : 0;
8141
- }, vy = function() {
8148
+ }, by = function() {
8142
8149
  m.useEffect(function() {
8143
8150
  return document.body.setAttribute(tn, (Ji() + 1).toString()), function() {
8144
8151
  var e = Ji() - 1;
8145
8152
  e <= 0 ? document.body.removeAttribute(tn) : document.body.setAttribute(tn, e.toString());
8146
8153
  };
8147
8154
  }, []);
8148
- }, by = function(e) {
8155
+ }, wy = function(e) {
8149
8156
  var t = e.noRelative, n = e.noImportant, r = e.gapMode, o = r === void 0 ? "margin" : r;
8150
- vy();
8157
+ by();
8151
8158
  var s = m.useMemo(function() {
8152
- return my(o);
8159
+ return gy(o);
8153
8160
  }, [o]);
8154
- return m.createElement(gy, { styles: yy(s, !t, o, n ? "" : "!important") });
8161
+ return m.createElement(yy, { styles: vy(s, !t, o, n ? "" : "!important") });
8155
8162
  }, ts = !1;
8156
8163
  if (typeof window < "u")
8157
8164
  try {
@@ -8164,7 +8171,7 @@ if (typeof window < "u")
8164
8171
  } catch {
8165
8172
  ts = !1;
8166
8173
  }
8167
- var Yt = ts ? { passive: !1 } : !1, wy = function(e) {
8174
+ var Yt = ts ? { passive: !1 } : !1, Cy = function(e) {
8168
8175
  return e.tagName === "TEXTAREA";
8169
8176
  }, il = function(e, t) {
8170
8177
  if (!(e instanceof Element))
@@ -8173,11 +8180,11 @@ var Yt = ts ? { passive: !1 } : !1, wy = function(e) {
8173
8180
  return (
8174
8181
  // not-not-scrollable
8175
8182
  n[t] !== "hidden" && // contains scroll inside self
8176
- !(n.overflowY === n.overflowX && !wy(e) && n[t] === "visible")
8183
+ !(n.overflowY === n.overflowX && !Cy(e) && n[t] === "visible")
8177
8184
  );
8178
- }, Cy = function(e) {
8179
- return il(e, "overflowY");
8180
8185
  }, xy = function(e) {
8186
+ return il(e, "overflowY");
8187
+ }, Ey = function(e) {
8181
8188
  return il(e, "overflowX");
8182
8189
  }, ea = function(e, t) {
8183
8190
  var n = t.ownerDocument, r = t;
@@ -8192,14 +8199,14 @@ var Yt = ts ? { passive: !1 } : !1, wy = function(e) {
8192
8199
  r = r.parentNode;
8193
8200
  } while (r && r !== n.body);
8194
8201
  return !1;
8195
- }, Ey = function(e) {
8202
+ }, _y = function(e) {
8196
8203
  var t = e.scrollTop, n = e.scrollHeight, r = e.clientHeight;
8197
8204
  return [
8198
8205
  t,
8199
8206
  n,
8200
8207
  r
8201
8208
  ];
8202
- }, _y = function(e) {
8209
+ }, Sy = function(e) {
8203
8210
  var t = e.scrollLeft, n = e.scrollWidth, r = e.clientWidth;
8204
8211
  return [
8205
8212
  t,
@@ -8207,13 +8214,13 @@ var Yt = ts ? { passive: !1 } : !1, wy = function(e) {
8207
8214
  r
8208
8215
  ];
8209
8216
  }, al = function(e, t) {
8210
- return e === "v" ? Cy(t) : xy(t);
8217
+ return e === "v" ? xy(t) : Ey(t);
8211
8218
  }, cl = function(e, t) {
8212
- return e === "v" ? Ey(t) : _y(t);
8213
- }, Sy = function(e, t) {
8219
+ return e === "v" ? _y(t) : Sy(t);
8220
+ }, Ty = function(e, t) {
8214
8221
  return e === "h" && t === "rtl" ? -1 : 1;
8215
- }, Ty = function(e, t, n, r, o) {
8216
- var s = Sy(e, window.getComputedStyle(t).direction), i = s * r, a = n.target, c = t.contains(a), u = !1, d = i > 0, p = 0, h = 0;
8222
+ }, Ry = function(e, t, n, r, o) {
8223
+ var s = Ty(e, window.getComputedStyle(t).direction), i = s * r, a = n.target, c = t.contains(a), u = !1, d = i > 0, p = 0, h = 0;
8217
8224
  do {
8218
8225
  if (!a)
8219
8226
  break;
@@ -8233,16 +8240,16 @@ var Yt = ts ? { passive: !1 } : !1, wy = function(e) {
8233
8240
  return [e.deltaX, e.deltaY];
8234
8241
  }, na = function(e) {
8235
8242
  return e && "current" in e ? e.current : e;
8236
- }, Ry = function(e, t) {
8243
+ }, Ay = function(e, t) {
8237
8244
  return e[0] === t[0] && e[1] === t[1];
8238
- }, Ay = function(e) {
8245
+ }, Py = function(e) {
8239
8246
  return `
8240
8247
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
8241
8248
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
8242
8249
  `);
8243
- }, Py = 0, Zt = [];
8244
- function Oy(e) {
8245
- var t = m.useRef([]), n = m.useRef([0, 0]), r = m.useRef(), o = m.useState(Py++)[0], s = m.useState(sl)[0], i = m.useRef(e);
8250
+ }, Oy = 0, Zt = [];
8251
+ function jy(e) {
8252
+ var t = m.useRef([]), n = m.useRef([0, 0]), r = m.useRef(), o = m.useState(Oy++)[0], s = m.useState(sl)[0], i = m.useRef(e);
8246
8253
  m.useEffect(function() {
8247
8254
  i.current = e;
8248
8255
  }, [e]), m.useEffect(function() {
@@ -8272,12 +8279,12 @@ function Oy(e) {
8272
8279
  if (!r.current && "changedTouches" in f && (_ || E) && (r.current = S), !S)
8273
8280
  return !0;
8274
8281
  var N = r.current || S;
8275
- return Ty(N, y, f, N === "h" ? _ : E);
8282
+ return Ry(N, y, f, N === "h" ? _ : E);
8276
8283
  }, []), c = m.useCallback(function(f) {
8277
8284
  var y = f;
8278
8285
  if (!(!Zt.length || Zt[Zt.length - 1] !== s)) {
8279
8286
  var C = "deltaY" in y ? ta(y) : fr(y), x = t.current.filter(function(S) {
8280
- return S.name === y.type && (S.target === y.target || y.target === S.shadowParent) && Ry(S.delta, C);
8287
+ return S.name === y.type && (S.target === y.target || y.target === S.shadowParent) && Ay(S.delta, C);
8281
8288
  })[0];
8282
8289
  if (x && x.should) {
8283
8290
  y.cancelable && y.preventDefault();
@@ -8291,7 +8298,7 @@ function Oy(e) {
8291
8298
  }
8292
8299
  }
8293
8300
  }, []), u = m.useCallback(function(f, y, C, x) {
8294
- var _ = { name: f, delta: y, target: C, should: x, shadowParent: jy(C) };
8301
+ var _ = { name: f, delta: y, target: C, should: x, shadowParent: Dy(C) };
8295
8302
  t.current.push(_), setTimeout(function() {
8296
8303
  t.current = t.current.filter(function(E) {
8297
8304
  return E !== _;
@@ -8319,28 +8326,28 @@ function Oy(e) {
8319
8326
  return m.createElement(
8320
8327
  m.Fragment,
8321
8328
  null,
8322
- w ? m.createElement(s, { styles: Ay(o) }) : null,
8323
- g ? m.createElement(by, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
8329
+ w ? m.createElement(s, { styles: Py(o) }) : null,
8330
+ g ? m.createElement(wy, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
8324
8331
  );
8325
8332
  }
8326
- function jy(e) {
8333
+ function Dy(e) {
8327
8334
  for (var t = null; e !== null; )
8328
8335
  e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
8329
8336
  return t;
8330
8337
  }
8331
- const Dy = iy(ol, Oy);
8338
+ const Ly = ay(ol, jy);
8332
8339
  var ll = m.forwardRef(function(e, t) {
8333
- return m.createElement(Kr, Me({}, e, { ref: t, sideCar: Dy }));
8340
+ return m.createElement(Kr, Me({}, e, { ref: t, sideCar: Ly }));
8334
8341
  });
8335
8342
  ll.classNames = Kr.classNames;
8336
- var Ly = function(e) {
8343
+ var ky = function(e) {
8337
8344
  if (typeof document > "u")
8338
8345
  return null;
8339
8346
  var t = Array.isArray(e) ? e[0] : e;
8340
8347
  return t.ownerDocument.body;
8341
8348
  }, Xt = /* @__PURE__ */ new WeakMap(), hr = /* @__PURE__ */ new WeakMap(), pr = {}, wo = 0, ul = function(e) {
8342
8349
  return e && (e.host || ul(e.parentNode));
8343
- }, ky = function(e, t) {
8350
+ }, Ny = function(e, t) {
8344
8351
  return t.map(function(n) {
8345
8352
  if (e.contains(n))
8346
8353
  return n;
@@ -8349,8 +8356,8 @@ var Ly = function(e) {
8349
8356
  }).filter(function(n) {
8350
8357
  return !!n;
8351
8358
  });
8352
- }, Ny = function(e, t, n, r) {
8353
- var o = ky(t, Array.isArray(e) ? e : [e]);
8359
+ }, Iy = function(e, t, n, r) {
8360
+ var o = Ny(t, Array.isArray(e) ? e : [e]);
8354
8361
  pr[n] || (pr[n] = /* @__PURE__ */ new WeakMap());
8355
8362
  var s = pr[n], i = [], a = /* @__PURE__ */ new Set(), c = new Set(o), u = function(p) {
8356
8363
  !p || a.has(p) || (a.add(p), u(p.parentNode));
@@ -8375,13 +8382,13 @@ var Ly = function(e) {
8375
8382
  Xt.set(p, h), s.set(p, g), h || (hr.has(p) || p.removeAttribute(r), hr.delete(p)), g || p.removeAttribute(n);
8376
8383
  }), wo--, wo || (Xt = /* @__PURE__ */ new WeakMap(), Xt = /* @__PURE__ */ new WeakMap(), hr = /* @__PURE__ */ new WeakMap(), pr = {});
8377
8384
  };
8378
- }, Iy = function(e, t, n) {
8385
+ }, My = function(e, t, n) {
8379
8386
  n === void 0 && (n = "data-aria-hidden");
8380
- var r = Array.from(Array.isArray(e) ? e : [e]), o = Ly(e);
8381
- return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live], script"))), Ny(r, o, n, "aria-hidden")) : function() {
8387
+ var r = Array.from(Array.isArray(e) ? e : [e]), o = ky(e);
8388
+ return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live], script"))), Iy(r, o, n, "aria-hidden")) : function() {
8382
8389
  return null;
8383
8390
  };
8384
- }, Yr = "Dialog", [dl, d2] = ys(Yr), [My, Le] = dl(Yr), fl = (e) => {
8391
+ }, Yr = "Dialog", [dl, f2] = ys(Yr), [$y, Le] = dl(Yr), fl = (e) => {
8385
8392
  const {
8386
8393
  __scopeDialog: t,
8387
8394
  children: n,
@@ -8396,7 +8403,7 @@ var Ly = function(e) {
8396
8403
  caller: Yr
8397
8404
  });
8398
8405
  return /* @__PURE__ */ l.jsx(
8399
- My,
8406
+ $y,
8400
8407
  {
8401
8408
  scope: t,
8402
8409
  triggerRef: a,
@@ -8413,7 +8420,7 @@ var Ly = function(e) {
8413
8420
  );
8414
8421
  };
8415
8422
  fl.displayName = Yr;
8416
- var hl = "DialogTrigger", $y = m.forwardRef(
8423
+ var hl = "DialogTrigger", Fy = m.forwardRef(
8417
8424
  (e, t) => {
8418
8425
  const { __scopeDialog: n, ...r } = e, o = Le(hl, n), s = De(t, o.triggerRef);
8419
8426
  return /* @__PURE__ */ l.jsx(
@@ -8431,28 +8438,28 @@ var hl = "DialogTrigger", $y = m.forwardRef(
8431
8438
  );
8432
8439
  }
8433
8440
  );
8434
- $y.displayName = hl;
8435
- var Ds = "DialogPortal", [Fy, pl] = dl(Ds, {
8441
+ Fy.displayName = hl;
8442
+ var Ds = "DialogPortal", [By, pl] = dl(Ds, {
8436
8443
  forceMount: void 0
8437
8444
  }), ml = (e) => {
8438
8445
  const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, s = Le(Ds, t);
8439
- return /* @__PURE__ */ l.jsx(Fy, { scope: t, forceMount: n, children: m.Children.map(r, (i) => /* @__PURE__ */ l.jsx(xn, { present: n || s.open, children: /* @__PURE__ */ l.jsx(As, { asChild: !0, container: o, children: i }) })) });
8446
+ return /* @__PURE__ */ l.jsx(By, { scope: t, forceMount: n, children: m.Children.map(r, (i) => /* @__PURE__ */ l.jsx(xn, { present: n || s.open, children: /* @__PURE__ */ l.jsx(As, { asChild: !0, container: o, children: i }) })) });
8440
8447
  };
8441
8448
  ml.displayName = Ds;
8442
8449
  var Mr = "DialogOverlay", gl = m.forwardRef(
8443
8450
  (e, t) => {
8444
8451
  const n = pl(Mr, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Le(Mr, e.__scopeDialog);
8445
- return s.modal ? /* @__PURE__ */ l.jsx(xn, { present: r || s.open, children: /* @__PURE__ */ l.jsx(Uy, { ...o, ref: t }) }) : null;
8452
+ return s.modal ? /* @__PURE__ */ l.jsx(xn, { present: r || s.open, children: /* @__PURE__ */ l.jsx(Hy, { ...o, ref: t }) }) : null;
8446
8453
  }
8447
8454
  );
8448
8455
  gl.displayName = Mr;
8449
- var By = /* @__PURE__ */ ms("DialogOverlay.RemoveScroll"), Uy = m.forwardRef(
8456
+ var Uy = /* @__PURE__ */ ms("DialogOverlay.RemoveScroll"), Hy = m.forwardRef(
8450
8457
  (e, t) => {
8451
8458
  const { __scopeDialog: n, ...r } = e, o = Le(Mr, n);
8452
8459
  return (
8453
8460
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
8454
8461
  // ie. when `Overlay` and `Content` are siblings
8455
- /* @__PURE__ */ l.jsx(ll, { as: By, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ l.jsx(
8462
+ /* @__PURE__ */ l.jsx(ll, { as: Uy, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ l.jsx(
8456
8463
  be.div,
8457
8464
  {
8458
8465
  "data-state": ks(o.open),
@@ -8466,16 +8473,16 @@ var By = /* @__PURE__ */ ms("DialogOverlay.RemoveScroll"), Uy = m.forwardRef(
8466
8473
  ), Ht = "DialogContent", yl = m.forwardRef(
8467
8474
  (e, t) => {
8468
8475
  const n = pl(Ht, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = Le(Ht, e.__scopeDialog);
8469
- return /* @__PURE__ */ l.jsx(xn, { present: r || s.open, children: s.modal ? /* @__PURE__ */ l.jsx(Hy, { ...o, ref: t }) : /* @__PURE__ */ l.jsx(Wy, { ...o, ref: t }) });
8476
+ return /* @__PURE__ */ l.jsx(xn, { present: r || s.open, children: s.modal ? /* @__PURE__ */ l.jsx(Wy, { ...o, ref: t }) : /* @__PURE__ */ l.jsx(qy, { ...o, ref: t }) });
8470
8477
  }
8471
8478
  );
8472
8479
  yl.displayName = Ht;
8473
- var Hy = m.forwardRef(
8480
+ var Wy = m.forwardRef(
8474
8481
  (e, t) => {
8475
8482
  const n = Le(Ht, e.__scopeDialog), r = m.useRef(null), o = De(t, n.contentRef, r);
8476
8483
  return m.useEffect(() => {
8477
8484
  const s = r.current;
8478
- if (s) return Iy(s);
8485
+ if (s) return My(s);
8479
8486
  }, []), /* @__PURE__ */ l.jsx(
8480
8487
  vl,
8481
8488
  {
@@ -8498,7 +8505,7 @@ var Hy = m.forwardRef(
8498
8505
  }
8499
8506
  );
8500
8507
  }
8501
- ), Wy = m.forwardRef(
8508
+ ), qy = m.forwardRef(
8502
8509
  (e, t) => {
8503
8510
  const n = Le(Ht, e.__scopeDialog), r = m.useRef(!1), o = m.useRef(!1);
8504
8511
  return /* @__PURE__ */ l.jsx(
@@ -8524,7 +8531,7 @@ var Hy = m.forwardRef(
8524
8531
  ), vl = m.forwardRef(
8525
8532
  (e, t) => {
8526
8533
  const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: s, ...i } = e, a = Le(Ht, n), c = m.useRef(null), u = De(t, c);
8527
- return Zg(), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
8534
+ return Xg(), /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
8528
8535
  /* @__PURE__ */ l.jsx(
8529
8536
  tl,
8530
8537
  {
@@ -8549,8 +8556,8 @@ var Hy = m.forwardRef(
8549
8556
  }
8550
8557
  ),
8551
8558
  /* @__PURE__ */ l.jsxs(l.Fragment, { children: [
8552
- /* @__PURE__ */ l.jsx(qy, { titleId: a.titleId }),
8553
- /* @__PURE__ */ l.jsx(zy, { contentRef: c, descriptionId: a.descriptionId })
8559
+ /* @__PURE__ */ l.jsx(Vy, { titleId: a.titleId }),
8560
+ /* @__PURE__ */ l.jsx(Gy, { contentRef: c, descriptionId: a.descriptionId })
8554
8561
  ] })
8555
8562
  ] });
8556
8563
  }
@@ -8586,11 +8593,11 @@ El.displayName = xl;
8586
8593
  function ks(e) {
8587
8594
  return e ? "open" : "closed";
8588
8595
  }
8589
- var _l = "DialogTitleWarning", [f2, Sl] = n1(_l, {
8596
+ var _l = "DialogTitleWarning", [h2, Sl] = r1(_l, {
8590
8597
  contentName: Ht,
8591
8598
  titleName: Ls,
8592
8599
  docsSlug: "dialog"
8593
- }), qy = ({ titleId: e }) => {
8600
+ }), Vy = ({ titleId: e }) => {
8594
8601
  const t = Sl(_l), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
8595
8602
 
8596
8603
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
@@ -8599,24 +8606,24 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
8599
8606
  return m.useEffect(() => {
8600
8607
  e && (document.getElementById(e) || console.error(n));
8601
8608
  }, [n, e]), null;
8602
- }, Vy = "DialogDescriptionWarning", zy = ({ contentRef: e, descriptionId: t }) => {
8603
- const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Sl(Vy).contentName}}.`;
8609
+ }, zy = "DialogDescriptionWarning", Gy = ({ contentRef: e, descriptionId: t }) => {
8610
+ const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Sl(zy).contentName}}.`;
8604
8611
  return m.useEffect(() => {
8605
8612
  var s;
8606
8613
  const o = (s = e.current) == null ? void 0 : s.getAttribute("aria-describedby");
8607
8614
  t && o && (document.getElementById(t) || console.warn(r));
8608
8615
  }, [r, e, t]), null;
8609
- }, Gy = fl, Qy = ml, Ky = gl, Yy = yl, Zy = bl, Xy = Cl, Jy = El;
8610
- const ev = "Overlay__M5Z83", tv = "Content__wAkP4", ra = {
8611
- Overlay: ev,
8612
- Content: tv
8613
- }, nv = "Header__VHxNf", rv = "Content__I04qM", ov = "Close__xSN-7", sv = "Title__Dznh6", iv = "Footer__-8gzQ", av = "Actions__kKF2Q", qt = {
8614
- Header: nv,
8615
- Content: rv,
8616
- Close: ov,
8617
- Title: sv,
8618
- Footer: iv,
8619
- Actions: av
8616
+ }, Qy = fl, Ky = ml, Yy = gl, Zy = yl, Xy = bl, Jy = Cl, ev = El;
8617
+ const tv = "Overlay__M5Z83", nv = "Content__wAkP4", ra = {
8618
+ Overlay: tv,
8619
+ Content: nv
8620
+ }, rv = "Header__VHxNf", ov = "Content__I04qM", sv = "Close__xSN-7", iv = "Title__Dznh6", av = "Footer__-8gzQ", cv = "Actions__kKF2Q", qt = {
8621
+ Header: rv,
8622
+ Content: ov,
8623
+ Close: sv,
8624
+ Title: iv,
8625
+ Footer: av,
8626
+ Actions: cv
8620
8627
  }, Tl = B(({
8621
8628
  children: e,
8622
8629
  className: t,
@@ -8650,7 +8657,7 @@ const Pl = B(({
8650
8657
  ...n
8651
8658
  }, r) => {
8652
8659
  const o = j(qt.Title, t);
8653
- return /* @__PURE__ */ l.jsx(Zy, { ref: r, className: o, ...n, children: e });
8660
+ return /* @__PURE__ */ l.jsx(Xy, { ref: r, className: o, ...n, children: e });
8654
8661
  });
8655
8662
  Pl.displayName = "Title";
8656
8663
  const Ol = B(({
@@ -8658,7 +8665,7 @@ const Ol = B(({
8658
8665
  ...t
8659
8666
  }, n) => {
8660
8667
  const r = j(qt.Close, e);
8661
- return /* @__PURE__ */ l.jsx(Jy, { ref: n, asChild: !0, className: r, ...t, children: /* @__PURE__ */ l.jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ l.jsx("path", { d: "M11 1L1 11M1 1L11 11", stroke: "#A9A9A9", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) });
8668
+ return /* @__PURE__ */ l.jsx(ev, { ref: n, asChild: !0, className: r, ...t, children: /* @__PURE__ */ l.jsx("svg", { width: "12", height: "12", viewBox: "0 0 12 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ l.jsx("path", { d: "M11 1L1 11M1 1L11 11", stroke: "#A9A9A9", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) }) });
8662
8669
  });
8663
8670
  Ol.displayName = "Close";
8664
8671
  const jl = B(({
@@ -8688,10 +8695,10 @@ const fe = ({
8688
8695
  const o = () => {
8689
8696
  t == null || t();
8690
8697
  };
8691
- return /* @__PURE__ */ l.jsx(Gy, { onOpenChange: o, open: n, children: /* @__PURE__ */ l.jsxs(Qy, { children: [
8692
- /* @__PURE__ */ l.jsx(Ky, { className: ra.Overlay }),
8693
- /* @__PURE__ */ l.jsxs(Yy, { children: [
8694
- /* @__PURE__ */ l.jsx(Xy, {}),
8698
+ return /* @__PURE__ */ l.jsx(Qy, { onOpenChange: o, open: n, children: /* @__PURE__ */ l.jsxs(Ky, { children: [
8699
+ /* @__PURE__ */ l.jsx(Yy, { className: ra.Overlay }),
8700
+ /* @__PURE__ */ l.jsxs(Zy, { children: [
8701
+ /* @__PURE__ */ l.jsx(Jy, {}),
8695
8702
  /* @__PURE__ */ l.jsx("div", { className: j(ra.Content, r), children: e })
8696
8703
  ] })
8697
8704
  ] }) });
@@ -8704,23 +8711,23 @@ fe.Actions = jl;
8704
8711
  fe.Title = Pl;
8705
8712
  fe.Description = Dl;
8706
8713
  fe.Close = Ol;
8707
- const cv = "pill__vtGwB", lv = "pill--solid__F-mR4", uv = "pill--outline__gC-mh", oa = {
8708
- pill: cv,
8714
+ const lv = "pill__vtGwB", uv = "pill--solid__F-mR4", dv = "pill--outline__gC-mh", oa = {
8715
+ pill: lv,
8709
8716
  "pill--solid": "pill--solid__F-mR4",
8710
- pillSolid: lv,
8717
+ pillSolid: uv,
8711
8718
  "pill--outline": "pill--outline__gC-mh",
8712
- pillOutline: uv
8713
- }, h2 = ({ children: e, variant: t = "solid", className: n }) => {
8719
+ pillOutline: dv
8720
+ }, p2 = ({ children: e, variant: t = "solid", className: n }) => {
8714
8721
  const r = j(
8715
8722
  oa.pill,
8716
8723
  oa[`pill--${t}`],
8717
8724
  n
8718
8725
  );
8719
8726
  return /* @__PURE__ */ l.jsx("div", { className: r, children: e });
8720
- }, dv = "DialogContent__-WjG9", fv = "Message__AUgVP", sa = {
8721
- DialogContent: dv,
8722
- Message: fv
8723
- }, hv = ({ loading: e, title: t, children: n, className: r, onClose: o, onConfirm: s, ...i }) => /* @__PURE__ */ l.jsxs(fe, { ...i, className: j(sa.DialogContent, r), children: [
8727
+ }, fv = "DialogContent__-WjG9", hv = "Message__AUgVP", sa = {
8728
+ DialogContent: fv,
8729
+ Message: hv
8730
+ }, pv = ({ loading: e, title: t, children: n, className: r, onClose: o, onConfirm: s, ...i }) => /* @__PURE__ */ l.jsxs(fe, { ...i, className: j(sa.DialogContent, r), children: [
8724
8731
  /* @__PURE__ */ l.jsxs(fe.Header, { children: [
8725
8732
  /* @__PURE__ */ l.jsx(fe.Title, { children: t }),
8726
8733
  /* @__PURE__ */ l.jsx(fe.Close, { onClick: o })
@@ -8731,12 +8738,12 @@ const cv = "pill__vtGwB", lv = "pill--solid__F-mR4", uv = "pill--outline__gC-mh"
8731
8738
  /* @__PURE__ */ l.jsx(Go, { onClick: s, disabled: e, loading: e, variant: "contained", children: "Confirm" })
8732
8739
  ] }) })
8733
8740
  ] });
8734
- hv.displayName = "ConfirmDialog";
8735
- const pv = "container__AjtYJ", mv = "title__A2vCu", gv = "description__bP6Ig", yv = "mailToText__SdlsE", mr = {
8736
- container: pv,
8737
- title: mv,
8738
- description: gv,
8739
- mailToText: yv
8741
+ pv.displayName = "ConfirmDialog";
8742
+ const mv = "container__AjtYJ", gv = "title__A2vCu", yv = "description__bP6Ig", vv = "mailToText__SdlsE", mr = {
8743
+ container: mv,
8744
+ title: gv,
8745
+ description: yv,
8746
+ mailToText: vv
8740
8747
  }, Ll = () => /* @__PURE__ */ l.jsxs("svg", { width: "200", height: "200", viewBox: "0 0 200 200", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
8741
8748
  /* @__PURE__ */ l.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)" }),
8742
8749
  /* @__PURE__ */ l.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)" }),
@@ -8753,8 +8760,8 @@ const pv = "container__AjtYJ", mv = "title__A2vCu", gv = "description__bP6Ig", y
8753
8760
  /* @__PURE__ */ l.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)" })
8754
8761
  ] });
8755
8762
  Ll.displayName = "WarningIcon";
8756
- const vv = "support@bluealba.com", bv = "@bluealba/pae-shell-ui", kl = () => {
8757
- const { supportEmail: e = vv } = Uu(bv), t = `mailto:${e}?Subject=Support`;
8763
+ const bv = "support@bluealba.com", wv = "@bluealba/pae-shell-ui", kl = () => {
8764
+ const { supportEmail: e = bv } = Uu(wv), t = `mailto:${e}?Subject=Support`;
8758
8765
  return /* @__PURE__ */ l.jsxs("div", { className: mr.container, children: [
8759
8766
  /* @__PURE__ */ l.jsx(Ll, {}),
8760
8767
  /* @__PURE__ */ l.jsx("div", { className: mr.title, children: "Oops! Something went wrong" }),
@@ -8765,35 +8772,35 @@ const vv = "support@bluealba.com", bv = "@bluealba/pae-shell-ui", kl = () => {
8765
8772
  ] });
8766
8773
  };
8767
8774
  kl.displayName = "ErrorState";
8768
- const wv = "List__h09XG", Cv = "List__h09XG", xv = "Item__YMy2i", Ev = "Item__YMy2i", _v = "List--primary__J2pbx", Sv = "List--secondary__gi1ao", Tv = "Item--selected__yRWow", Rv = "Title__RJmEW", Av = "Title__RJmEW", Pv = "Description__DGyX2", Ov = "Description__DGyX2", jv = "Actions__UHP5l", Dv = "Actions__UHP5l", Lv = "Action__q-R1I", kv = "Action__q-R1I", Nv = "Item--disabled__Ke1u-", Iv = "List--small__ijoSR", Mv = "List--medium__E1FEY", $v = "List--large__T8tfz", Fv = "Icon__dFr-L", Bv = "Icon__dFr-L", Pe = {
8769
- List: wv,
8770
- list: Cv,
8771
- Item: xv,
8772
- item: Ev,
8775
+ const Cv = "List__h09XG", xv = "List__h09XG", Ev = "Item__YMy2i", _v = "Item__YMy2i", Sv = "List--primary__J2pbx", Tv = "List--secondary__gi1ao", Rv = "Item--selected__yRWow", Av = "Title__RJmEW", Pv = "Title__RJmEW", Ov = "Description__DGyX2", jv = "Description__DGyX2", Dv = "Actions__UHP5l", Lv = "Actions__UHP5l", kv = "Action__q-R1I", Nv = "Action__q-R1I", Iv = "Item--disabled__Ke1u-", Mv = "List--small__ijoSR", $v = "List--medium__E1FEY", Fv = "List--large__T8tfz", Bv = "Icon__dFr-L", Uv = "Icon__dFr-L", Pe = {
8776
+ List: Cv,
8777
+ list: xv,
8778
+ Item: Ev,
8779
+ item: _v,
8773
8780
  "List--primary": "List--primary__J2pbx",
8774
- listPrimary: _v,
8781
+ listPrimary: Sv,
8775
8782
  "List--secondary": "List--secondary__gi1ao",
8776
- listSecondary: Sv,
8783
+ listSecondary: Tv,
8777
8784
  "Item--selected": "Item--selected__yRWow",
8778
- itemSelected: Tv,
8779
- Title: Rv,
8780
- title: Av,
8781
- Description: Pv,
8782
- description: Ov,
8783
- Actions: jv,
8784
- actions: Dv,
8785
- Action: Lv,
8786
- action: kv,
8785
+ itemSelected: Rv,
8786
+ Title: Av,
8787
+ title: Pv,
8788
+ Description: Ov,
8789
+ description: jv,
8790
+ Actions: Dv,
8791
+ actions: Lv,
8792
+ Action: kv,
8793
+ action: Nv,
8787
8794
  "Item--disabled": "Item--disabled__Ke1u-",
8788
- itemDisabled: Nv,
8795
+ itemDisabled: Iv,
8789
8796
  "List--small": "List--small__ijoSR",
8790
- listSmall: Iv,
8797
+ listSmall: Mv,
8791
8798
  "List--medium": "List--medium__E1FEY",
8792
- listMedium: Mv,
8799
+ listMedium: $v,
8793
8800
  "List--large": "List--large__T8tfz",
8794
- listLarge: $v,
8795
- Icon: Fv,
8796
- icon: Bv
8801
+ listLarge: Fv,
8802
+ Icon: Bv,
8803
+ icon: Uv
8797
8804
  }, Nl = B(({
8798
8805
  children: e,
8799
8806
  className: t,
@@ -8933,15 +8940,15 @@ tt.Description = Ml;
8933
8940
  tt.Actions = $l;
8934
8941
  tt.Action = Fl;
8935
8942
  tt.Icon = Bl;
8936
- const Uv = "Navigation__uylxk", Hv = "PaginationContent__UpLw0", Wv = "PaginationEllipsis__perWk", qv = "PaginationLink__GVUZj", Vv = "Active__u1Ahy", zv = "Disabled__8WM0y", Gv = "Prev__wp4hc", Qv = "Next__eVyL5", et = {
8937
- Navigation: Uv,
8938
- PaginationContent: Hv,
8939
- PaginationEllipsis: Wv,
8940
- PaginationLink: qv,
8941
- Active: Vv,
8942
- Disabled: zv,
8943
- Prev: Gv,
8944
- Next: Qv
8943
+ const Hv = "Navigation__uylxk", Wv = "PaginationContent__UpLw0", qv = "PaginationEllipsis__perWk", Vv = "PaginationLink__GVUZj", zv = "Active__u1Ahy", Gv = "Disabled__8WM0y", Qv = "Prev__wp4hc", Kv = "Next__eVyL5", et = {
8944
+ Navigation: Hv,
8945
+ PaginationContent: Wv,
8946
+ PaginationEllipsis: qv,
8947
+ PaginationLink: Vv,
8948
+ Active: zv,
8949
+ Disabled: Gv,
8950
+ Prev: Qv,
8951
+ Next: Kv
8945
8952
  }, Ul = ({
8946
8953
  className: e,
8947
8954
  ...t
@@ -9071,13 +9078,13 @@ const Gl = ({
9071
9078
  }
9072
9079
  );
9073
9080
  Gl.displayName = "PaginationEllipsis";
9074
- function Kv(e) {
9081
+ function Yv(e) {
9075
9082
  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.');
9076
9083
  }
9077
9084
  var Ql = { exports: {} };
9078
9085
  (function(e, t) {
9079
9086
  (function(n, r) {
9080
- typeof Kv == "function" ? e.exports = r() : n.pluralize = r();
9087
+ typeof Yv == "function" ? e.exports = r() : n.pluralize = r();
9081
9088
  })(ku, function() {
9082
9089
  var n = [], r = [], o = {}, s = {}, i = {};
9083
9090
  function a(f) {
@@ -9372,30 +9379,30 @@ var Ql = { exports: {} };
9372
9379
  ].forEach(w.addUncountableRule), w;
9373
9380
  });
9374
9381
  })(Ql);
9375
- var Yv = Ql.exports;
9376
- const Zv = /* @__PURE__ */ Nu(Yv), Kl = ({
9382
+ var Zv = Ql.exports;
9383
+ const Xv = /* @__PURE__ */ Nu(Zv), Kl = ({
9377
9384
  count: e,
9378
9385
  singularText: t,
9379
9386
  children: n = (r, o) => `${r} ${o}`
9380
- }) => /* @__PURE__ */ l.jsx(l.Fragment, { children: n(e, Zv(t, e)) });
9387
+ }) => /* @__PURE__ */ l.jsx(l.Fragment, { children: n(e, Xv(t, e)) });
9381
9388
  Kl.displayName = "PluralizeCounter";
9382
- const Xv = "TableContainer__osh6Z", Jv = "TableHeader__sYa-8", e0 = "Table__2cIs3", t0 = "selectable__WsGg1", n0 = "Cell__ZEv-K", r0 = "Right__YoM1V", o0 = "Center__CF3tr", s0 = "Sortable__JIV1V", i0 = "SortIcon__f0bBy", a0 = "Active__rJjxB", c0 = "Rotate__7cwTK", l0 = "Pagination__sbqMP", u0 = "PointerNone__kQdQS", me = {
9383
- TableContainer: Xv,
9384
- TableHeader: Jv,
9385
- Table: e0,
9386
- selectable: t0,
9387
- Cell: n0,
9388
- Right: r0,
9389
- Center: o0,
9390
- Sortable: s0,
9391
- SortIcon: i0,
9392
- Active: a0,
9393
- Rotate: c0,
9394
- Pagination: l0,
9395
- PointerNone: u0
9396
- }, d0 = "EmptyStateContainer__Q9FEb", f0 = "Message__IHK6M", ia = {
9397
- EmptyStateContainer: d0,
9398
- Message: f0
9389
+ const Jv = "TableContainer__osh6Z", e0 = "TableHeader__sYa-8", t0 = "Table__2cIs3", n0 = "selectable__WsGg1", r0 = "Cell__ZEv-K", o0 = "Right__YoM1V", s0 = "Center__CF3tr", i0 = "Sortable__JIV1V", a0 = "SortIcon__f0bBy", c0 = "Active__rJjxB", l0 = "Rotate__7cwTK", u0 = "Pagination__sbqMP", d0 = "PointerNone__kQdQS", me = {
9390
+ TableContainer: Jv,
9391
+ TableHeader: e0,
9392
+ Table: t0,
9393
+ selectable: n0,
9394
+ Cell: r0,
9395
+ Right: o0,
9396
+ Center: s0,
9397
+ Sortable: i0,
9398
+ SortIcon: a0,
9399
+ Active: c0,
9400
+ Rotate: l0,
9401
+ Pagination: u0,
9402
+ PointerNone: d0
9403
+ }, f0 = "EmptyStateContainer__Q9FEb", h0 = "Message__IHK6M", ia = {
9404
+ EmptyStateContainer: f0,
9405
+ Message: h0
9399
9406
  }, Yl = ({ size: e = 64 }) => /* @__PURE__ */ l.jsxs("svg", { width: e, height: e, viewBox: "0 0 64 64", fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
9400
9407
  /* @__PURE__ */ l.jsxs("g", { clipPath: "url(#clip-path)", children: [
9401
9408
  /* @__PURE__ */ l.jsx("mask", { id: "mask0_1070_8032", style: { maskType: "luminance" }, maskUnits: "userSpaceOnUse", x: "0", y: "0", width: "64", height: "64", children: /* @__PURE__ */ l.jsx("path", { d: "M64 0H0V64H64V0Z", fill: "white" }) }),
@@ -9409,7 +9416,7 @@ const Zl = ({ message: e = "No results found" }) => /* @__PURE__ */ l.jsxs("div"
9409
9416
  /* @__PURE__ */ l.jsx("p", { className: ia.Message, children: e })
9410
9417
  ] });
9411
9418
  Zl.displayName = "EmptyState";
9412
- const h0 = (e, t, n = 1) => {
9419
+ const p0 = (e, t, n = 1) => {
9413
9420
  if (e <= 1) return ["1"];
9414
9421
  const r = [], o = (s) => {
9415
9422
  (r.length === 0 || r[r.length - 1] !== s) && r.push(s);
@@ -9428,7 +9435,7 @@ const h0 = (e, t, n = 1) => {
9428
9435
  onClick: () => !r && n(e - 1)
9429
9436
  }
9430
9437
  ) }),
9431
- h0(t, e).map((s, i) => /* @__PURE__ */ l.jsxs(Tr, { children: [
9438
+ p0(t, e).map((s, i) => /* @__PURE__ */ l.jsxs(Tr, { children: [
9432
9439
  s === "..." && /* @__PURE__ */ l.jsx(Gl, {}),
9433
9440
  s !== "..." && /* @__PURE__ */ l.jsx(Zr, { isActive: +s === e, onClick: () => +s !== e && n(+s), children: s })
9434
9441
  ] }, i)),
@@ -9459,7 +9466,7 @@ const Jl = ({
9459
9466
  }
9460
9467
  );
9461
9468
  Jl.displayName = "ArrowDown";
9462
- const p0 = ({ columns: e, data: t, isLoading: n, totalCount: r = 0, headerLabel: o, sort: s, loadingConfig: i, pagination: a, onRowClick: c }) => {
9469
+ const m0 = ({ columns: e, data: t, isLoading: n, totalCount: r = 0, headerLabel: o, sort: s, loadingConfig: i, pagination: a, onRowClick: c }) => {
9463
9470
  const { count: u = 5, height: d = 40 } = i || {}, p = (y) => y.sortName ?? y.name, h = (y) => j({
9464
9471
  [me.Cell]: !0,
9465
9472
  [me.Center]: y.align === "center",
@@ -9496,13 +9503,13 @@ const p0 = ({ columns: e, data: t, isLoading: n, totalCount: r = 0, headerLabel:
9496
9503
  a && /* @__PURE__ */ l.jsx(Xl, { ...a })
9497
9504
  ] });
9498
9505
  };
9499
- p0.displayName = "Table";
9500
- const m0 = "alert__LblpE", g0 = "destructive__bLNSM", y0 = "alertTitle__gblKf", v0 = "alertDescription__BuVHV", $r = {
9501
- alert: m0,
9506
+ m0.displayName = "Table";
9507
+ const g0 = "alert__LblpE", y0 = "destructive__bLNSM", v0 = "alertTitle__gblKf", b0 = "alertDescription__BuVHV", $r = {
9508
+ alert: g0,
9502
9509
  default: "default__mgO6A",
9503
- destructive: g0,
9504
- alertTitle: y0,
9505
- alertDescription: v0
9510
+ destructive: y0,
9511
+ alertTitle: v0,
9512
+ alertDescription: b0
9506
9513
  }, Is = ({ className: e, variant: t = "default", children: n, ...r }) => /* @__PURE__ */ l.jsx(
9507
9514
  "div",
9508
9515
  {
@@ -9512,7 +9519,7 @@ const m0 = "alert__LblpE", g0 = "destructive__bLNSM", y0 = "alertTitle__gblKf",
9512
9519
  ...r,
9513
9520
  children: n
9514
9521
  }
9515
- ), b0 = m.forwardRef(({
9522
+ ), w0 = m.forwardRef(({
9516
9523
  children: e,
9517
9524
  className: t,
9518
9525
  ...n
@@ -9525,7 +9532,7 @@ const m0 = "alert__LblpE", g0 = "destructive__bLNSM", y0 = "alertTitle__gblKf",
9525
9532
  ...n,
9526
9533
  children: e
9527
9534
  }
9528
- )), w0 = m.forwardRef(({
9535
+ )), C0 = m.forwardRef(({
9529
9536
  children: e,
9530
9537
  className: t,
9531
9538
  ...n
@@ -9540,8 +9547,8 @@ const m0 = "alert__LblpE", g0 = "destructive__bLNSM", y0 = "alertTitle__gblKf",
9540
9547
  }
9541
9548
  ));
9542
9549
  Is.displayName = "Alert";
9543
- Is.Title = b0;
9544
- Is.Description = w0;
9550
+ Is.Title = w0;
9551
+ Is.Description = C0;
9545
9552
  function aa(e, t) {
9546
9553
  var n = Object.keys(e);
9547
9554
  if (Object.getOwnPropertySymbols) {
@@ -9556,7 +9563,7 @@ function Fr(e) {
9556
9563
  for (var t = 1; t < arguments.length; t++) {
9557
9564
  var n = arguments[t] != null ? arguments[t] : {};
9558
9565
  t % 2 ? aa(Object(n), !0).forEach(function(r) {
9559
- C0(e, r, n[r]);
9566
+ x0(e, r, n[r]);
9560
9567
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : aa(Object(n)).forEach(function(r) {
9561
9568
  Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(n, r));
9562
9569
  });
@@ -9570,7 +9577,7 @@ function eu(e) {
9570
9577
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
9571
9578
  })(e);
9572
9579
  }
9573
- function C0(e, t, n) {
9580
+ function x0(e, t, n) {
9574
9581
  return t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
9575
9582
  }
9576
9583
  function ns(e) {
@@ -9604,10 +9611,10 @@ try {
9604
9611
  kn = require("react").createContext();
9605
9612
  } catch {
9606
9613
  }
9607
- var x0 = { React: null, ReactDOM: null, ReactDOMClient: null, rootComponent: null, loadRootComponent: null, errorBoundary: null, errorBoundaryClass: null, domElementGetter: null, parcelCanUpdate: !0, suppressComponentDidCatchWarning: !1, domElements: {}, renderResults: {}, updateResolves: {}, unmountResolves: {} };
9608
- function E0(e) {
9614
+ var E0 = { React: null, ReactDOM: null, ReactDOMClient: null, rootComponent: null, loadRootComponent: null, errorBoundary: null, errorBoundaryClass: null, domElementGetter: null, parcelCanUpdate: !0, suppressComponentDidCatchWarning: !1, domElements: {}, renderResults: {}, updateResolves: {}, unmountResolves: {} };
9615
+ function _0(e) {
9609
9616
  if (eu(e) !== "object") throw new Error("single-spa-react requires a configuration object");
9610
- var t, n = Fr(Fr({}, x0), e);
9617
+ var t, n = Fr(Fr({}, E0), e);
9611
9618
  if (!n.React) throw new Error("single-spa-react must be passed opts.React");
9612
9619
  if (!n.ReactDOM && !n.ReactDOMClient) throw new Error("single-spa-react must be passed opts.ReactDOM or opts.ReactDOMClient");
9613
9620
  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");
@@ -9624,15 +9631,15 @@ function E0(e) {
9624
9631
  return setTimeout(this.props.updateFinished), this.props.children;
9625
9632
  }, s;
9626
9633
  }(n);
9627
- var r = { bootstrap: _0.bind(null, n), mount: S0.bind(null, n), unmount: T0.bind(null, n) };
9628
- return n.parcelCanUpdate && (r.update = R0.bind(null, n)), r;
9634
+ var r = { bootstrap: S0.bind(null, n), mount: T0.bind(null, n), unmount: R0.bind(null, n) };
9635
+ return n.parcelCanUpdate && (r.update = A0.bind(null, n)), r;
9629
9636
  }
9630
- function _0(e, t) {
9637
+ function S0(e, t) {
9631
9638
  return e.rootComponent ? Promise.resolve() : e.loadRootComponent(t).then(function(n) {
9632
9639
  e.rootComponent = n;
9633
9640
  });
9634
9641
  }
9635
- function S0(e, t) {
9642
+ function T0(e, t) {
9636
9643
  return new Promise(function(n, r) {
9637
9644
  e.suppressComponentDidCatchWarning || !function(a) {
9638
9645
  if (!(a && typeof a.version == "string" && a.version.indexOf(".") >= 0)) return !1;
@@ -9661,18 +9668,18 @@ function S0(e, t) {
9661
9668
  default:
9662
9669
  return h(d, p), null;
9663
9670
  }
9664
- }({ elementToRender: o, domElement: s, reactDom: Ms(e), renderType: A0(e) });
9671
+ }({ elementToRender: o, domElement: s, reactDom: Ms(e), renderType: P0(e) });
9665
9672
  e.domElements[t.name] = s, e.renderResults[t.name] = i;
9666
9673
  });
9667
9674
  }
9668
- function T0(e, t) {
9675
+ function R0(e, t) {
9669
9676
  return new Promise(function(n) {
9670
9677
  e.unmountResolves[t.name] = n;
9671
9678
  var r = e.renderResults[t.name];
9672
9679
  r && r.unmount ? r.unmount() : Ms(e).unmountComponentAtNode(e.domElements[t.name]), delete e.domElements[t.name], delete e.renderResults[t.name];
9673
9680
  });
9674
9681
  }
9675
- function R0(e, t) {
9682
+ function A0(e, t) {
9676
9683
  return new Promise(function(n) {
9677
9684
  e.updateResolves[t.name] || (e.updateResolves[t.name] = []), e.updateResolves[t.name].push(n);
9678
9685
  var r = nu(e, t, null), o = e.renderResults[t.name];
@@ -9686,7 +9693,7 @@ function R0(e, t) {
9686
9693
  function Ms(e) {
9687
9694
  return e.ReactDOMClient || e.ReactDOM;
9688
9695
  }
9689
- function A0(e) {
9696
+ function P0(e) {
9690
9697
  return typeof e.renderType == "function" ? e.renderType() : e.renderType;
9691
9698
  }
9692
9699
  function nu(e, t, n) {
@@ -9708,16 +9715,16 @@ function nu(e, t, n) {
9708
9715
  e.unmountResolves[t.name] && (e.unmountResolves[t.name](), delete e.unmountResolves[t.name]);
9709
9716
  } }), o);
9710
9717
  }
9711
- const P0 = (e) => {
9712
- const t = new Yf();
9718
+ const O0 = (e) => {
9719
+ const t = new Zf();
9713
9720
  return function(r) {
9714
9721
  if (!r)
9715
9722
  throw new Error("Microfrontend did not receive any properties !!");
9716
9723
  const o = Pa(r.module.name);
9717
- return /* @__PURE__ */ l.jsx(Ra, { module: o, children: /* @__PURE__ */ l.jsxs(th, { client: t, children: [
9724
+ return /* @__PURE__ */ l.jsx(Ra, { module: o, children: /* @__PURE__ */ l.jsxs(nh, { client: t, children: [
9718
9725
  /* @__PURE__ */ l.jsx(e, { ...r }),
9719
9726
  /* @__PURE__ */ l.jsx(
9720
- kf,
9727
+ Nf,
9721
9728
  {
9722
9729
  position: "top-right",
9723
9730
  reverseOrder: !0
@@ -9725,7 +9732,7 @@ const P0 = (e) => {
9725
9732
  )
9726
9733
  ] }) });
9727
9734
  };
9728
- }, p2 = ({ rootComponent: e, ...t }) => E0({
9735
+ }, m2 = ({ rootComponent: e, ...t }) => _0({
9729
9736
  // defaults
9730
9737
  errorBoundary(n) {
9731
9738
  return console.error(n), /* @__PURE__ */ l.jsx(kl, {});
@@ -9733,8 +9740,8 @@ const P0 = (e) => {
9733
9740
  // provided props
9734
9741
  ...t,
9735
9742
  // wrappers
9736
- rootComponent: P0(e)
9737
- }), m2 = (e) => {
9743
+ rootComponent: O0(e)
9744
+ }), g2 = (e) => {
9738
9745
  const t = {
9739
9746
  authUser: {
9740
9747
  id: "testuser",
@@ -9767,33 +9774,33 @@ const P0 = (e) => {
9767
9774
  platformVersion: "0.0.0"
9768
9775
  };
9769
9776
  Object.defineProperty(window, Pn, {
9770
- value: e ? dd(t, e) : t
9777
+ value: e ? fd(t, e) : t
9771
9778
  });
9772
9779
  };
9773
9780
  export {
9774
9781
  Is as Alert,
9775
- Nh as ApplicationIcon,
9782
+ Ih as ApplicationIcon,
9776
9783
  cc as Authorized,
9777
9784
  uc as Badge,
9778
9785
  dc as Badges,
9779
9786
  Go as Button,
9780
- ap as ClipboardCheckIcon,
9781
- ip as ClipboardIcon,
9782
- hv as ConfirmDialog,
9783
- o2 as CopyToClipboardButton,
9787
+ cp as ClipboardCheckIcon,
9788
+ ap as ClipboardIcon,
9789
+ pv as ConfirmDialog,
9790
+ s2 as CopyToClipboardButton,
9784
9791
  fe as Dialog,
9785
9792
  ps as DropdownList,
9786
9793
  Zl as EmptyState,
9787
9794
  kl as ErrorState,
9788
- e2 as ExtendExtensionPoint,
9789
- Rh as ExtensionPoint,
9790
- Ug as EyeIcon,
9791
- mp as FieldGroup,
9795
+ t2 as ExtendExtensionPoint,
9796
+ Ah as ExtensionPoint,
9797
+ Hg as EyeIcon,
9798
+ gp as FieldGroup,
9792
9799
  hs as Input,
9793
- vp as InputError,
9794
- wp as Label,
9800
+ bp as InputError,
9801
+ Cp as Label,
9795
9802
  tt as List,
9796
- Lh as ModulePlaceHolder,
9803
+ kh as ModulePlaceHolder,
9797
9804
  Wl as Pagination,
9798
9805
  ql as PaginationContent,
9799
9806
  Gl as PaginationEllipsis,
@@ -9801,78 +9808,79 @@ export {
9801
9808
  Zr as PaginationLink,
9802
9809
  zl as PaginationNext,
9803
9810
  Vl as PaginationPrevious,
9804
- u2 as PasswordInput,
9805
- h2 as Pill,
9806
- n2 as PlatformEventListener,
9807
- k0 as PlatformEvents,
9811
+ d2 as PasswordInput,
9812
+ p2 as Pill,
9813
+ r2 as PlatformEventListener,
9814
+ N0 as PlatformEvents,
9808
9815
  Kl as PluralizeCounter,
9809
- zp as SearchAutocomplete,
9816
+ Gp as SearchAutocomplete,
9810
9817
  pc as SearchInput,
9811
9818
  hc as Select,
9812
9819
  Pt as Show,
9813
9820
  gs as Skeleton,
9814
- t1 as SkeletonList,
9815
- Tg as Spinner,
9816
- Og as Switch,
9817
- p0 as Table,
9818
- i2 as Tabs,
9819
- l2 as TabsContent,
9820
- a2 as TabsList,
9821
- c2 as TabsTrigger,
9822
- Sp as TextArea,
9823
- vg as Tooltip,
9824
- r2 as authorized,
9821
+ n1 as SkeletonList,
9822
+ Rg as Spinner,
9823
+ jg as Switch,
9824
+ m0 as Table,
9825
+ a2 as Tabs,
9826
+ u2 as TabsContent,
9827
+ c2 as TabsList,
9828
+ l2 as TabsTrigger,
9829
+ Tp as TextArea,
9830
+ bg as Tooltip,
9831
+ o2 as authorized,
9825
9832
  Jt as dropdownListStyles,
9826
- t2 as extensionPoint,
9833
+ n2 as extensionPoint,
9827
9834
  Aa as getApplications,
9828
- U0 as getInitials,
9835
+ H0 as getInitials,
9829
9836
  Mu as getOperations,
9830
9837
  Fu as hasAccess,
9831
- p2 as initializeMicroFrontend,
9832
- K0 as isPlatformCustomizationCompleted,
9833
- B0 as isValidEmail,
9834
- $0 as logout,
9835
- F0 as navigateTo,
9836
- Q0 as platformHaveAnyCustomization,
9837
- m2 as setupTestEnvironment,
9838
+ m2 as initializeMicroFrontend,
9839
+ Y0 as isPlatformCustomizationCompleted,
9840
+ U0 as isValidEmail,
9841
+ F0 as logout,
9842
+ B0 as navigateTo,
9843
+ K0 as platformHaveAnyCustomization,
9844
+ g2 as setupTestEnvironment,
9845
+ ad as sortByDisplayOrder,
9838
9846
  Zu as useApplicationIcon,
9839
9847
  as as useApplicationJSModule,
9840
- Xu as useApplicationMenu,
9841
- H0 as useApplicationMenuWithDocumentation,
9848
+ W0 as useApplicationMenu,
9842
9849
  Qu as useApplicationUIModule,
9843
9850
  Vu as useApplications,
9844
9851
  is as useAuth,
9845
9852
  Fn as useCatalog,
9846
9853
  ka as useCurrentApplication,
9847
- md as useCurrentApplicationName,
9848
- W0 as useCurrentJSModule,
9849
- ad as useDocumentationMenuItems,
9850
- Od as useDynamicFonts,
9851
- Sd as useDynamicStyleSheet,
9852
- Ed as useExtendExtensionPoint,
9853
- xd as useExtensionPoint,
9854
- G0 as useGetPlatformTheme,
9855
- I0 as useHasNoSession,
9854
+ gd as useCurrentApplicationName,
9855
+ q0 as useCurrentJSModule,
9856
+ cd as useDocumentationMenuItems,
9857
+ jd as useDynamicFonts,
9858
+ Td as useDynamicStyleSheet,
9859
+ _d as useExtendExtensionPoint,
9860
+ Ed as useExtensionPoint,
9861
+ Q0 as useGetPlatformTheme,
9862
+ M0 as useHasNoSession,
9856
9863
  Lu as useLocation,
9857
9864
  Pa as useModule,
9858
- M0 as useModuleCommonPaths,
9865
+ $0 as useModuleCommonPaths,
9859
9866
  Bu as useModuleConfig,
9860
9867
  Uu as useModuleConfigByName,
9868
+ Xu as useModuleMenu,
9861
9869
  Br as useModuleMetadata,
9862
- N0 as useMutableCatalog,
9870
+ I0 as useMutableCatalog,
9863
9871
  Va as useNotifications,
9864
9872
  $u as useOperations,
9865
- z0 as usePAECustomizationsLoadingState,
9873
+ G0 as usePAECustomizationsLoadingState,
9866
9874
  os as usePAEState,
9867
- V0 as usePlatformCustomization,
9868
- _d as usePlatformEventListener,
9869
- Z0 as useResource,
9870
- hh as useResourceActions,
9871
- gd as useServiceBaseURL,
9875
+ z0 as usePlatformCustomization,
9876
+ Sd as usePlatformEventListener,
9877
+ X0 as useResource,
9878
+ ph as useResourceActions,
9879
+ yd as useServiceBaseURL,
9872
9880
  Na as useServiceInvoker,
9873
- X0 as useTenants,
9874
- q0 as useTrackEvent,
9875
- Cd as useTrackEvents,
9881
+ J0 as useTenants,
9882
+ V0 as useTrackEvent,
9883
+ xd as useTrackEvents,
9876
9884
  Gu as useUIApplications,
9877
- J0 as useUserState
9885
+ e2 as useUserState
9878
9886
  };