@its/core 2.6.2-alpha.0 → 2.6.3-beta.0

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.
Files changed (2) hide show
  1. package/dist/core.es.js +831 -806
  2. package/package.json +1 -1
package/dist/core.es.js CHANGED
@@ -79,19 +79,19 @@ const yZ = ci(af)({
79
79
  }), Kh = ci(yn)({
80
80
  justifyContent: "center",
81
81
  alignItems: "center"
82
- }), gke = ci(po)({
82
+ }), vke = ci(po)({
83
83
  justifyContent: "center",
84
84
  alignItems: "center"
85
85
  }), ih = ci(go)({
86
86
  alignItems: "center",
87
87
  justifyContent: "center"
88
- }), vke = ci(af)({
88
+ }), mke = ci(af)({
89
89
  display: "grid",
90
90
  gridTemplateColumns: "repeat(2, 1fr)",
91
91
  width: "100%",
92
92
  gap: "2rem",
93
93
  overflow: "auto"
94
- }), mke = ci(af)({
94
+ }), yke = ci(af)({
95
95
  display: "grid",
96
96
  gridTemplateColumns: "repeat(3, 1fr)",
97
97
  width: "100%",
@@ -100,7 +100,7 @@ const yZ = ci(af)({
100
100
  });
101
101
  var Sd = /* @__PURE__ */ ((e) => (e.DARK = "dark", e.LIGHT = "light", e))(Sd || {});
102
102
  const $M = Pn(null);
103
- function yke({
103
+ function bke({
104
104
  adapter: e,
105
105
  children: t
106
106
  }) {
@@ -150,7 +150,7 @@ function oS({ pending: e }) {
150
150
  const [t] = ka();
151
151
  return e ? /* @__PURE__ */ A(ih, { position: "relative", children: /* @__PURE__ */ A("div", { className: t === "dark" ? "loader" : "loaderLight" }) }) : /* @__PURE__ */ A(ih, { position: "relative", children: /* @__PURE__ */ A("div", { className: t === "dark" ? "loader" : "loaderLight" }) });
152
152
  }
153
- function bke({ elementsPerPage: e, fragment: t, fragmentRef: n, getList: r }) {
153
+ function wke({ elementsPerPage: e, fragment: t, fragmentRef: n, getList: r }) {
154
154
  const { data: i, loadNext: o, hasNext: a, isLoadingNext: s, refetch: u } = dX(t, n), { t: c } = jt(), l = ot(null), d = ot(null), h = vt(
155
155
  (y) => {
156
156
  !s && a ? (d.current && d.current.disconnect(), d.current = new IntersectionObserver((m) => {
@@ -212,7 +212,7 @@ function aS(e, t) {
212
212
  };
213
213
  }
214
214
  const BM = Pn(null);
215
- function wke({ children: e }) {
215
+ function _ke({ children: e }) {
216
216
  const [t, n] = Ye(null), [r, i] = Ye(!0);
217
217
  return Xe(() => {
218
218
  t || fetch("/runtime-config.json").then((o) => o.json()).then((o) => {
@@ -242,7 +242,7 @@ function sS() {
242
242
  function mT() {
243
243
  return window.innerHeight > window.innerWidth;
244
244
  }
245
- function _ke() {
245
+ function xke() {
246
246
  const [e, t] = Ye(mT());
247
247
  return Xe(() => {
248
248
  function n() {
@@ -251,7 +251,7 @@ function _ke() {
251
251
  return window.addEventListener("resize", n), () => window.removeEventListener("resize", n);
252
252
  }, []), e;
253
253
  }
254
- function xke() {
254
+ function Eke() {
255
255
  const [e, t] = Ye(!document.hidden), n = () => {
256
256
  t(!document.hidden);
257
257
  };
@@ -529,7 +529,7 @@ function YM() {
529
529
  }
530
530
  };
531
531
  }
532
- function Eke(e = 99) {
532
+ function Ske(e = 99) {
533
533
  const [t, n] = Ye(!1), [r, i] = Ye(!1), [o, a] = Ye([]), [s, u] = na("tagDistance", 0);
534
534
  window.stopRunningLocate = function() {
535
535
  window.rfid.stop();
@@ -1048,7 +1048,7 @@ function NZ({
1048
1048
  return [d, i.value, p];
1049
1049
  }
1050
1050
  const JM = Pn(null);
1051
- function Ske({
1051
+ function Oke({
1052
1052
  children: e,
1053
1053
  doLogin: t,
1054
1054
  pendingLogin: n,
@@ -1199,11 +1199,11 @@ const jZ = {
1199
1199
  }
1200
1200
  )
1201
1201
  };
1202
- function Oke({ children: e, theme: t }) {
1202
+ function Ake({ children: e, theme: t }) {
1203
1203
  const [n] = ka(), r = FY($Z[n](t));
1204
1204
  return /* @__PURE__ */ A(WY, { theme: r, children: e });
1205
1205
  }
1206
- function Ake({
1206
+ function Pke({
1207
1207
  ChangePasswordWidget: e,
1208
1208
  children: t,
1209
1209
  title: n,
@@ -1302,7 +1302,7 @@ function Ake({
1302
1302
  }
1303
1303
  ) });
1304
1304
  }
1305
- function Pke({ callback: e, title: t, subtitle: n }) {
1305
+ function Tke({ callback: e, title: t, subtitle: n }) {
1306
1306
  const { scannerActions: r } = PZ({
1307
1307
  bufferName: "BadgeScanner",
1308
1308
  callback: e
@@ -1327,7 +1327,7 @@ function Pke({ callback: e, title: t, subtitle: n }) {
1327
1327
  }
1328
1328
  );
1329
1329
  }
1330
- function Tke({ id: e, children: t, ratio: n = 0, unit: r = 1 }) {
1330
+ function Cke({ id: e, children: t, ratio: n = 0, unit: r = 1 }) {
1331
1331
  const i = 100 / n, o = Array.from({ length: n }).reduce(
1332
1332
  (a, s, u) => {
1333
1333
  const c = u * i, l = u % 2 === 0 ? 1 : 0;
@@ -1378,7 +1378,7 @@ function BZ() {
1378
1378
  )
1379
1379
  ] });
1380
1380
  }
1381
- function Cke({ root: e }) {
1381
+ function Ike({ root: e }) {
1382
1382
  const [t, n] = Ye([e]), r = (o) => n((a) => [...a, o]), i = (o) => n((a) => a.slice(0, o + 1));
1383
1383
  return /* @__PURE__ */ A(XM.Provider, { value: { crumbs: t, push: r, slice: i }, children: /* @__PURE__ */ A(BZ, {}) });
1384
1384
  }
@@ -1521,7 +1521,7 @@ const UZ = "300px", HZ = "56px", ek = 0.5, VZ = ci(PX, {
1521
1521
  backgroundColor: e.palette.background.paper
1522
1522
  }
1523
1523
  }));
1524
- function Ike({ children: e, Logo: t, theme: n, isIdle: r }) {
1524
+ function Mke({ children: e, Logo: t, theme: n, isIdle: r }) {
1525
1525
  const { i18n: i } = jt(), o = Yh("(max-width: 600px)"), [a, s] = cS(), [u, c] = Km.toArray(e), l = i.dir();
1526
1526
  return /* @__PURE__ */ Ae(
1527
1527
  VZ,
@@ -1567,7 +1567,7 @@ function Ike({ children: e, Logo: t, theme: n, isIdle: r }) {
1567
1567
  }
1568
1568
  );
1569
1569
  }
1570
- function Mke({ onClick: e, isIdle: t }) {
1570
+ function kke({ onClick: e, isIdle: t }) {
1571
1571
  const [n] = ka(), [r] = cS(), [i, o] = Ye(r);
1572
1572
  Xe(() => {
1573
1573
  t && r && (o(!1), e());
@@ -1677,7 +1677,7 @@ function qZ({
1677
1677
  }
1678
1678
  );
1679
1679
  }
1680
- function kke({
1680
+ function Rke({
1681
1681
  translation: e,
1682
1682
  globalStateString: t,
1683
1683
  defaultValue: n
@@ -4955,7 +4955,7 @@ function QZ({
4955
4955
  }
4956
4956
  const eJ = qh(MX)(({ theme: e }) => ({
4957
4957
  backgroundColor: e.palette.background.paper
4958
- })), Rke = ci(yn, {
4958
+ })), Dke = ci(yn, {
4959
4959
  shouldForwardProp: (e) => e !== "sidebarOpen" && e !== "dir" && e !== "hasSidebar" && e !== "backgroundImage" && e !== "backgroundRepeat" && e !== "backgroundSize" && e !== "isMobile"
4960
4960
  })(
4961
4961
  ({
@@ -5568,7 +5568,7 @@ function uJ({
5568
5568
  }
5569
5569
  );
5570
5570
  }
5571
- function Dke({
5571
+ function Lke({
5572
5572
  CustomAvatarIcon: e,
5573
5573
  title: t,
5574
5574
  displayValue: n,
@@ -5623,7 +5623,7 @@ function Dke({
5623
5623
  );
5624
5624
  }
5625
5625
  var pl = /* @__PURE__ */ ((e) => (e.Before = "before", e.After = "after", e))(pl || {}), tk = /* @__PURE__ */ ((e) => (e.Column = "column", e.Row = "row", e))(tk || {});
5626
- function Lke({
5626
+ function Nke({
5627
5627
  id: e,
5628
5628
  title: t,
5629
5629
  width: n,
@@ -5634,15 +5634,17 @@ function Lke({
5634
5634
  actionLabel: s,
5635
5635
  actionClickCallback: u,
5636
5636
  actionPosition: c = pl.Before,
5637
- noWrap: l
5637
+ disableActionClick: l = !1,
5638
+ noWrap: d
5638
5639
  }) {
5639
- const { t: d } = jt(), h = (p) => !u || !s || c !== p ? null : typeof s == "string" ? /* @__PURE__ */ A(
5640
+ const { t: h } = jt(), p = (y) => !u || !s || c !== y ? null : typeof s == "string" ? /* @__PURE__ */ A(
5640
5641
  Bo,
5641
5642
  {
5642
5643
  id: `${e}-action`,
5643
5644
  onClick: u,
5644
5645
  sx: { marginLeft: "auto", padding: "6px 26px" },
5645
- children: d(s)
5646
+ disabled: l,
5647
+ children: h(s)
5646
5648
  }
5647
5649
  ) : /* @__PURE__ */ A(
5648
5650
  yn,
@@ -5653,7 +5655,7 @@ function Lke({
5653
5655
  children: s
5654
5656
  }
5655
5657
  );
5656
- return /* @__PURE__ */ A($r, { id: e, sx: { padding: i, width: n, height: r, overflow: "hidden", minHeight: "64px" }, children: /* @__PURE__ */ Ae(go, { flexDirection: a, flexWrap: l ? void 0 : "wrap", children: [
5658
+ return /* @__PURE__ */ A($r, { id: e, sx: { padding: i, width: n, height: r, overflow: "hidden", minHeight: "64px" }, children: /* @__PURE__ */ Ae(go, { flexDirection: a, flexWrap: d ? void 0 : "wrap", children: [
5657
5659
  (t || c === pl.Before) && /* @__PURE__ */ Ae(yn, { alignItems: "center", children: [
5658
5660
  t && /* @__PURE__ */ A(
5659
5661
  er,
@@ -5662,13 +5664,13 @@ function Lke({
5662
5664
  sx: { textTransform: "uppercase", fontWeight: 600, mb: "8px" },
5663
5665
  color: "primary",
5664
5666
  noWrap: !0,
5665
- children: d(t)
5667
+ children: h(t)
5666
5668
  }
5667
5669
  ),
5668
- h(pl.Before)
5670
+ p(pl.Before)
5669
5671
  ] }),
5670
5672
  o,
5671
- c === pl.After && /* @__PURE__ */ A(yn, { alignItems: "center", children: h(pl.After) })
5673
+ c === pl.After && /* @__PURE__ */ A(yn, { alignItems: "center", children: p(pl.After) })
5672
5674
  ] }) });
5673
5675
  }
5674
5676
  function nk(e) {
@@ -19568,7 +19570,7 @@ var Efe = {
19568
19570
  }), {
19569
19571
  setChartData: q4,
19570
19572
  setDataStartEndIndexes: Sfe,
19571
- setComputedData: $ke
19573
+ setComputedData: Bke
19572
19574
  } = Aj.actions, Ofe = Aj.reducer, Afe = ["x", "y"];
19573
19575
  function K4(e, t) {
19574
19576
  var n = Object.keys(e);
@@ -20966,10 +20968,10 @@ var ehe = {
20966
20968
  }
20967
20969
  }
20968
20970
  }), {
20969
- addRadiusAxis: Bke,
20970
- removeRadiusAxis: zke,
20971
- addAngleAxis: Fke,
20972
- removeAngleAxis: Wke
20971
+ addRadiusAxis: zke,
20972
+ removeRadiusAxis: Fke,
20973
+ addAngleAxis: Wke,
20974
+ removeAngleAxis: Uke
20973
20975
  } = Fj.actions, the = Fj.reducer;
20974
20976
  function vC(e, t) {
20975
20977
  var n = Object.keys(e);
@@ -22196,9 +22198,9 @@ var xpe = {
22196
22198
  addYAxis: Ape,
22197
22199
  replaceYAxis: Ppe,
22198
22200
  removeYAxis: Tpe,
22199
- addZAxis: Uke,
22200
- replaceZAxis: Hke,
22201
- removeZAxis: Vke,
22201
+ addZAxis: Hke,
22202
+ replaceZAxis: Vke,
22203
+ removeZAxis: Gke,
22202
22204
  updateYAxisWidth: Cpe
22203
22205
  } = Kj.actions, Ipe = Kj.reducer, Mpe = Oe([Pr], (e) => ({
22204
22206
  top: e.top,
@@ -22434,9 +22436,9 @@ var qpe = function(t) {
22434
22436
  }
22435
22437
  }
22436
22438
  }), {
22437
- addErrorBar: Gke,
22438
- replaceErrorBar: qke,
22439
- removeErrorBar: Kke
22439
+ addErrorBar: qke,
22440
+ replaceErrorBar: Kke,
22441
+ removeErrorBar: Yke
22440
22442
  } = Yj.actions, Ype = Yj.reducer, Xpe = ["children"];
22441
22443
  function Zpe(e, t) {
22442
22444
  if (e == null) return {};
@@ -23547,7 +23549,7 @@ var uve = (e, t, n, r, i, o, a) => {
23547
23549
  }
23548
23550
  }
23549
23551
  }), {
23550
- setBrushSettings: Yke
23552
+ setBrushSettings: Xke
23551
23553
  } = e$.actions, yve = e$.reducer;
23552
23554
  function WC(e, t) {
23553
23555
  var n = Object.keys(e);
@@ -23737,8 +23739,8 @@ var Sve = function(t) {
23737
23739
  }), {
23738
23740
  addDot: Ave,
23739
23741
  removeDot: Pve,
23740
- addArea: Xke,
23741
- removeArea: Zke,
23742
+ addArea: Zke,
23743
+ removeArea: Jke,
23742
23744
  addLine: Tve,
23743
23745
  removeLine: Cve
23744
23746
  } = r$.actions, Ive = r$.reducer, i$ = /* @__PURE__ */ Pn(void 0), Mve = (e) => {
@@ -28244,7 +28246,7 @@ const LA = (e, t) => {
28244
28246
  const n = parseInt(e.slice(1), 16), r = Math.round(2.55 * t), i = (n >> 16) + r, o = (n >> 8 & 255) + r, a = (n & 255) + r;
28245
28247
  return `#${(16777216 + (i < 255 ? i < 1 ? 0 : i : 255) * 65536 + (o < 255 ? o < 1 ? 0 : o : 255) * 256 + (a < 255 ? a < 1 ? 0 : a : 255)).toString(16).slice(1).toUpperCase()}`;
28246
28248
  };
28247
- function Jke({
28249
+ function Qke({
28248
28250
  data: e,
28249
28251
  width: t = "100%",
28250
28252
  height: n = "100%",
@@ -28374,7 +28376,7 @@ let P1e = class extends Ec {
28374
28376
  return /* @__PURE__ */ A("g", { transform: `translate(${t},${n})`, children: /* @__PURE__ */ A("text", { x: 0, y: 0, dy: 16, textAnchor: "end", fill: "#666", transform: "rotate(-35)", children: r.value }) });
28375
28377
  }
28376
28378
  };
28377
- function eRe({
28379
+ function tRe({
28378
28380
  data: e,
28379
28381
  width: t,
28380
28382
  height: n,
@@ -28437,7 +28439,7 @@ function eRe({
28437
28439
  }
28438
28440
  );
28439
28441
  }
28440
- function tRe({
28442
+ function nRe({
28441
28443
  data: e,
28442
28444
  width: t = "100%",
28443
28445
  height: n = "100%",
@@ -28597,7 +28599,7 @@ const T1e = (e, t) => {
28597
28599
  )
28598
28600
  ] });
28599
28601
  };
28600
- function nRe({
28602
+ function rRe({
28601
28603
  data: e,
28602
28604
  width: t,
28603
28605
  height: n,
@@ -28645,7 +28647,7 @@ class M1e extends Ec {
28645
28647
  return /* @__PURE__ */ A("g", { transform: `translate(${t},${n})`, children: /* @__PURE__ */ A("text", { x: 0, y: 0, dy: 16, textAnchor: "end", fill: r, transform: "rotate(-35)", children: i.value }) });
28646
28648
  }
28647
28649
  }
28648
- function rRe({
28650
+ function iRe({
28649
28651
  data: e,
28650
28652
  width: t,
28651
28653
  height: n,
@@ -40783,7 +40785,7 @@ function P3e() {
40783
40785
  }
40784
40786
  var T3e = P3e();
40785
40787
  const C3e = /* @__PURE__ */ aa(T3e);
40786
- function iRe({ value: e, label: t, width: n }) {
40788
+ function oRe({ value: e, label: t, width: n }) {
40787
40789
  const r = Hh(), i = ot(null), [o, a] = Ye(0), [s, u] = Ye(n), { t: c } = jt();
40788
40790
  return Xe(() => {
40789
40791
  const l = setTimeout(() => a(e), 50);
@@ -40887,7 +40889,7 @@ function iRe({ value: e, label: t, width: n }) {
40887
40889
  }
40888
40890
  );
40889
40891
  }
40890
- function oRe({
40892
+ function aRe({
40891
40893
  isGraphsVisible: e,
40892
40894
  height: t,
40893
40895
  pad: n,
@@ -41097,7 +41099,7 @@ function gv(e) {
41097
41099
  let o = Math.ceil(n / i) * i, a = Math.floor(o / i);
41098
41100
  return o - t < i * 0.4 && (o += i, a += 1), Array.from({ length: a + 1 }, (u, c) => c * i);
41099
41101
  }
41100
- function aRe({
41102
+ function sRe({
41101
41103
  data: e,
41102
41104
  lines: t,
41103
41105
  scatterData: n = [],
@@ -41253,7 +41255,7 @@ function N3e(e) {
41253
41255
  }
41254
41256
  return null;
41255
41257
  }
41256
- function sRe({
41258
+ function uRe({
41257
41259
  data: e,
41258
41260
  width: t = "100%",
41259
41261
  height: n = 300,
@@ -44388,7 +44390,7 @@ var gr = function() {
44388
44390
  }, t;
44389
44391
  })(Ec)
44390
44392
  );
44391
- function uRe({
44393
+ function cRe({
44392
44394
  id: e,
44393
44395
  position: t,
44394
44396
  width: n,
@@ -44467,7 +44469,7 @@ function uRe({
44467
44469
  }
44468
44470
  ) });
44469
44471
  }
44470
- function cRe(e, t, n, r, i = []) {
44472
+ function lRe(e, t, n, r, i = []) {
44471
44473
  const { over: o, active: a } = e;
44472
44474
  o && !i.includes(o.id) ? (t((s) => {
44473
44475
  const u = { ...s }, c = Object.keys(u).find(
@@ -44485,7 +44487,7 @@ function cRe(e, t, n, r, i = []) {
44485
44487
  )), u;
44486
44488
  }) : n(`Dropped ${a.id} outside any droppable area`), r(!0);
44487
44489
  }
44488
- function lRe(e, t) {
44490
+ function fRe(e, t) {
44489
44491
  t((n) => {
44490
44492
  const r = { ...n }, i = Object.keys(r).find((o) => r[o].includes(e));
44491
44493
  return i && (r[i] = r[i].filter(
@@ -44493,7 +44495,7 @@ function lRe(e, t) {
44493
44495
  )), r;
44494
44496
  });
44495
44497
  }
44496
- function fRe(e, t, n) {
44498
+ function dRe(e, t, n) {
44497
44499
  n !== "clickaway" && e(!1);
44498
44500
  }
44499
44501
  function cI({
@@ -44921,6 +44923,7 @@ function _Pe(e) {
44921
44923
  eh,
44922
44924
  {
44923
44925
  id: `date-picker-${t}`,
44926
+ label: o || t,
44924
44927
  name: t,
44925
44928
  value: r
44926
44929
  },
@@ -44931,6 +44934,7 @@ function _Pe(e) {
44931
44934
  eh,
44932
44935
  {
44933
44936
  id: `datetime-picker-${t}`,
44937
+ label: o || t,
44934
44938
  name: t,
44935
44939
  value: r,
44936
44940
  inputType: "dateTime"
@@ -45600,7 +45604,7 @@ function UPe({ onClose: e }) {
45600
45604
  /* @__PURE__ */ A(Bo, { sx: { marginTop: "auto" }, type: "submit", onClick: e, children: t("CONFIRM") })
45601
45605
  ] }) });
45602
45606
  }
45603
- function dRe({
45607
+ function hRe({
45604
45608
  languages: e,
45605
45609
  flags: t,
45606
45610
  title: n,
@@ -45672,14 +45676,14 @@ function dRe({
45672
45676
  }
45673
45677
  );
45674
45678
  }
45675
- function hRe({ hotKeys: e }) {
45679
+ function pRe({ hotKeys: e }) {
45676
45680
  const { t } = jt(), [n, r] = IZ();
45677
45681
  return /* @__PURE__ */ A(Oc, { id: "language-selector", title: "Hot keys", open: n, onClose: r.close, width: "xs", children: /* @__PURE__ */ A(tS, { spacing: 1, children: e.map(({ combination: i, description: o, callback: a }) => /* @__PURE__ */ Ae(yn, { justifyContent: "space-between", alignItems: "center", children: [
45678
45682
  /* @__PURE__ */ A(er, { variant: "body1", noWrap: !0, children: t(o) }),
45679
45683
  /* @__PURE__ */ A(Bo, { id: `${i}-btn`, variant: "outlined", onClick: a, children: i })
45680
45684
  ] }, i)) }) });
45681
45685
  }
45682
- function pRe({
45686
+ function gRe({
45683
45687
  listToFilter: e,
45684
45688
  onChangeListFiltered: t
45685
45689
  }) {
@@ -45702,7 +45706,7 @@ function pRe({
45702
45706
  }
45703
45707
  );
45704
45708
  }
45705
- function gRe({
45709
+ function vRe({
45706
45710
  name: e,
45707
45711
  checked: t,
45708
45712
  onChange: n,
@@ -45751,7 +45755,7 @@ function gRe({
45751
45755
  )
45752
45756
  ) }) });
45753
45757
  }
45754
- function vRe({
45758
+ function mRe({
45755
45759
  name: e,
45756
45760
  width: t = "100%",
45757
45761
  disabled: n,
@@ -46039,7 +46043,7 @@ function dI(e, t, n, r) {
46039
46043
  };
46040
46044
  }, [s, l, d]), i;
46041
46045
  }
46042
- function mRe({
46046
+ function yRe({
46043
46047
  languages: e,
46044
46048
  flags: t,
46045
46049
  isLogged: n = !0
@@ -46220,7 +46224,7 @@ function zd({
46220
46224
  );
46221
46225
  }
46222
46226
  const I3 = Pn(!1);
46223
- function yRe({ children: e }) {
46227
+ function bRe({ children: e }) {
46224
46228
  const t = Yh("(max-width: 600px)");
46225
46229
  return /* @__PURE__ */ A(I3.Provider, { value: t, children: e });
46226
46230
  }
@@ -46307,7 +46311,7 @@ function EF({
46307
46311
  )
46308
46312
  ] });
46309
46313
  }
46310
- function bRe({
46314
+ function wRe({
46311
46315
  data: e,
46312
46316
  filterSortKeys: t,
46313
46317
  renderItem: n,
@@ -46343,7 +46347,7 @@ function bRe({
46343
46347
  }) })
46344
46348
  ] });
46345
46349
  }
46346
- function wRe({ speed: e = 30, children: t }) {
46350
+ function _Re({ speed: e = 30, children: t }) {
46347
46351
  const n = ot(null), r = ot(null), [i, o] = Ye(!1), [a, s] = Ye(0);
46348
46352
  return Xe(() => {
46349
46353
  const u = r.current, c = n.current;
@@ -46395,7 +46399,7 @@ function wRe({ speed: e = 30, children: t }) {
46395
46399
  ` })
46396
46400
  ] });
46397
46401
  }
46398
- function _Re({
46402
+ function xRe({
46399
46403
  items: e,
46400
46404
  pageCount: t,
46401
46405
  listItemCallback: n,
@@ -47199,7 +47203,7 @@ function bTe({ radData: e, injectCallback: t, isSubContainer: n }) {
47199
47203
  )
47200
47204
  ] }) });
47201
47205
  }
47202
- const xRe = ({
47206
+ const ERe = ({
47203
47207
  width: e,
47204
47208
  height: t,
47205
47209
  scale: n,
@@ -47251,7 +47255,7 @@ const xRe = ({
47251
47255
  }
47252
47256
  );
47253
47257
  };
47254
- function ERe({
47258
+ function SRe({
47255
47259
  Header: e,
47256
47260
  Sidebar: t,
47257
47261
  Navbar: n,
@@ -47314,7 +47318,7 @@ const wTe = qh("div")({
47314
47318
  textTransform: "uppercase",
47315
47319
  textAlign: "center"
47316
47320
  });
47317
- function SRe({ title: e, lastScanned: t }) {
47321
+ function ORe({ title: e, lastScanned: t }) {
47318
47322
  return /* @__PURE__ */ Ae(wTe, { children: [
47319
47323
  /* @__PURE__ */ A(_Te, { children: e }),
47320
47324
  /* @__PURE__ */ A("svg", { width: "100%", height: "100%", viewBox: "0 0 250 60", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ A(
@@ -48463,7 +48467,18 @@ function i5e(e, t) {
48463
48467
  });
48464
48468
  }), r;
48465
48469
  }
48466
- function ORe({ blob: e, ruleSet: t, dataSource: n, callBacksSet: r = {}, extraInterpolateCallBacksSet: i = null }) {
48470
+ const o5e = (e) => {
48471
+ if (!e) return "";
48472
+ let t = e;
48473
+ return t.charCodeAt(0) === 65279 && (t = t.slice(1)), t = t.trim(), t = t.replace(/\u00A0/g, " "), t;
48474
+ };
48475
+ function ARe({
48476
+ blob: e,
48477
+ ruleSet: t,
48478
+ dataSource: n,
48479
+ callBacksSet: r = {},
48480
+ extraInterpolateCallBacksSet: i = null
48481
+ }) {
48467
48482
  const o = Hh(), [a, s] = Ye(null), [u, c] = Ye();
48468
48483
  Xe(() => () => {
48469
48484
  a && URL.revokeObjectURL(a), s(null);
@@ -48477,26 +48492,35 @@ function ORe({ blob: e, ruleSet: t, dataSource: n, callBacksSet: r = {}, extraIn
48477
48492
  );
48478
48493
  return Xe(() => {
48479
48494
  if (!e) {
48480
- a && URL.revokeObjectURL(a), s(null);
48495
+ s(null);
48481
48496
  return;
48482
48497
  }
48483
- const d = new Uint8Array(e), h = new Blob([d], {
48484
- type: "image/svg+xml"
48485
- }), p = URL.createObjectURL(h);
48486
- a && URL.revokeObjectURL(a), s(p);
48498
+ try {
48499
+ const d = new Uint8Array(e), p = new TextDecoder("utf-8").decode(d), y = o5e(p), m = new Blob([y], { type: "image/svg+xml" }), v = new FileReader();
48500
+ v.onloadend = () => {
48501
+ s(v.result);
48502
+ }, v.onerror = () => {
48503
+ console.error("Failed to convert clean SVG to Base64"), s(null);
48504
+ }, v.readAsDataURL(m);
48505
+ } catch (d) {
48506
+ console.error("Error processing SVG:", d), s(null);
48507
+ }
48487
48508
  }, [e]), /* @__PURE__ */ A(qr, { children: a && u && /* @__PURE__ */ A(
48488
48509
  R3,
48489
48510
  {
48490
48511
  width: 100,
48491
48512
  src: a,
48492
48513
  evalScripts: "always",
48514
+ onError: (d) => {
48515
+ console.error("ReactSVG Error:", d);
48516
+ },
48493
48517
  beforeInjection: (d) => {
48494
48518
  l(d), i && i(d);
48495
48519
  }
48496
48520
  }
48497
48521
  ) });
48498
48522
  }
48499
- function ARe({
48523
+ function PRe({
48500
48524
  options: e,
48501
48525
  updateSortings: t,
48502
48526
  GstateKey: n
@@ -48561,7 +48585,7 @@ function ARe({
48561
48585
  /* @__PURE__ */ A(Bo, { size: "large", onClick: u, children: r("APPLY") })
48562
48586
  ] });
48563
48587
  }
48564
- function PRe({
48588
+ function TRe({
48565
48589
  options: e,
48566
48590
  updateSortings: t,
48567
48591
  GstateKey: n
@@ -48618,7 +48642,7 @@ function PRe({
48618
48642
  ] });
48619
48643
  }
48620
48644
  var PF = /* @__PURE__ */ ((e) => (e.squared = "0px", e.rounded = "24px", e.circle = "50%", e))(PF || {});
48621
- function TRe({
48645
+ function CRe({
48622
48646
  id: e,
48623
48647
  src: t,
48624
48648
  width: n = "500px",
@@ -48662,7 +48686,7 @@ function TRe({
48662
48686
  }
48663
48687
  );
48664
48688
  }
48665
- function o5e({ value: e, total: t = 100, size: n }) {
48689
+ function a5e({ value: e, total: t = 100, size: n }) {
48666
48690
  const [r] = ka();
48667
48691
  return /* @__PURE__ */ Ae(yn, { alignItems: "center", gap: ".5rem", width: "100%", children: [
48668
48692
  /* @__PURE__ */ A(
@@ -48686,10 +48710,10 @@ function o5e({ value: e, total: t = 100, size: n }) {
48686
48710
  t && /* @__PURE__ */ A(iZ, { variant: "caption", sx: { minWidth: 45, userSelect: "none" }, noWrap: !0, children: `${(e / t * 100).toFixed(1)}%` })
48687
48711
  ] });
48688
48712
  }
48689
- function CRe({ value: e, total: t = 100, size: n = "small" }) {
48690
- return /* @__PURE__ */ A(o5e, { value: e, total: t, size: n });
48713
+ function IRe({ value: e, total: t = 100, size: n = "small" }) {
48714
+ return /* @__PURE__ */ A(a5e, { value: e, total: t, size: n });
48691
48715
  }
48692
- function IRe({ dieCode: e }) {
48716
+ function MRe({ dieCode: e }) {
48693
48717
  return /* @__PURE__ */ Ae("svg", { width: "80%", id: "Livello_1", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 130.79 125.8", children: [
48694
48718
  /* @__PURE__ */ A("defs", { children: /* @__PURE__ */ Ae("pattern", { id: "diagonalLines", patternUnits: "userSpaceOnUse", width: "6", height: "6", children: [
48695
48719
  /* @__PURE__ */ A("rect", { width: "6", height: "6", fill: "#a0a0a0" }),
@@ -49287,10 +49311,10 @@ function IRe({ dieCode: e }) {
49287
49311
  ) }) })
49288
49312
  ] });
49289
49313
  }
49290
- function a5e({ renderList: e }) {
49314
+ function s5e({ renderList: e }) {
49291
49315
  return /* @__PURE__ */ A(go, { overflow: "auto", children: /* @__PURE__ */ A(iS, { id: "routes-list-mobile", sx: { color: "#fff" }, children: e() }) });
49292
49316
  }
49293
- function s5e({ isOpen: e, onClose: t, renderList: n }) {
49317
+ function u5e({ isOpen: e, onClose: t, renderList: n }) {
49294
49318
  return /* @__PURE__ */ A(
49295
49319
  Oc,
49296
49320
  {
@@ -49301,7 +49325,7 @@ function s5e({ isOpen: e, onClose: t, renderList: n }) {
49301
49325
  backgroundColor: "rgba(7, 48, 25, 0.7)",
49302
49326
  Transition: IM,
49303
49327
  children: /* @__PURE__ */ Ae(sf, { alignItems: "center", overflow: "hidden", children: [
49304
- /* @__PURE__ */ A(a5e, { renderList: n }),
49328
+ /* @__PURE__ */ A(s5e, { renderList: n }),
49305
49329
  /* @__PURE__ */ A(
49306
49330
  $r,
49307
49331
  {
@@ -49318,7 +49342,7 @@ function s5e({ isOpen: e, onClose: t, renderList: n }) {
49318
49342
  }
49319
49343
  );
49320
49344
  }
49321
- function u5e({ isOpen: e, onClose: t }) {
49345
+ function c5e({ isOpen: e, onClose: t }) {
49322
49346
  const { t: n } = jt(), r = NY(), [, , { logout: i }] = QM(), [, o] = ka(), [a] = i;
49323
49347
  return (
49324
49348
  //76px <-- Navbar Height
@@ -49416,7 +49440,7 @@ const MI = {
49416
49440
  }
49417
49441
  }
49418
49442
  };
49419
- function MRe({ currentRouteName: e, renderList: t, handleBackHome: n }) {
49443
+ function kRe({ currentRouteName: e, renderList: t, handleBackHome: n }) {
49420
49444
  const { t: r } = jt(), [i, o] = Ye(null), [a, s] = Ye(!1), [u, c] = Ye(!1), l = (p, y) => {
49421
49445
  o(y);
49422
49446
  }, d = () => {
@@ -49429,8 +49453,8 @@ function MRe({ currentRouteName: e, renderList: t, handleBackHome: n }) {
49429
49453
  }, [e]), Xe(() => {
49430
49454
  u ? o("PROFILE") : e === "WELCOME" ? o("HOME") : i && o(null);
49431
49455
  }, [u]), /* @__PURE__ */ Ae(qr, { children: [
49432
- /* @__PURE__ */ A(u5e, { isOpen: u, onClose: () => c(!1) }),
49433
- /* @__PURE__ */ A(s5e, { isOpen: a, onClose: h, renderList: t }),
49456
+ /* @__PURE__ */ A(c5e, { isOpen: u, onClose: () => c(!1) }),
49457
+ /* @__PURE__ */ A(u5e, { isOpen: a, onClose: h, renderList: t }),
49434
49458
  /* @__PURE__ */ A(
49435
49459
  yn,
49436
49460
  {
@@ -49482,7 +49506,7 @@ function MRe({ currentRouteName: e, renderList: t, handleBackHome: n }) {
49482
49506
  )
49483
49507
  ] });
49484
49508
  }
49485
- function kRe({
49509
+ function RRe({
49486
49510
  fontSize: e = "2rem",
49487
49511
  message: t = "",
49488
49512
  Icon: n = dZ,
@@ -49494,11 +49518,11 @@ function kRe({
49494
49518
  /* @__PURE__ */ A(er, { variant: "h6", fontSize: e, color: r, children: i(t) })
49495
49519
  ] });
49496
49520
  }
49497
- function RRe({ text: e = "NO_ITEMS" }) {
49521
+ function DRe({ text: e = "NO_ITEMS" }) {
49498
49522
  const { t } = jt();
49499
49523
  return /* @__PURE__ */ A("p", { style: { userSelect: "none", padding: "8px" }, children: t(e.toUpperCase()) });
49500
49524
  }
49501
- function DRe({
49525
+ function LRe({
49502
49526
  id: e,
49503
49527
  detailTextStyle: t,
49504
49528
  detail: n,
@@ -49512,15 +49536,16 @@ function DRe({
49512
49536
  actions: l,
49513
49537
  reverseInformations: d,
49514
49538
  dividers: h,
49515
- contentWidth: p = "100%"
49539
+ contentWidth: p = "100%",
49540
+ endIcon: y
49516
49541
  }) {
49517
- const { t: y } = jt(), m = () => r && r.length > 0 ? /* @__PURE__ */ A(yn, { width: "100%", paddingInline: "1rem", justifyContent: "space-between", children: r.map(({ primaryText: v, secondaryText: w }, x) => /* @__PURE__ */ Ae(Xm, { children: [
49542
+ const { t: m } = jt(), v = () => r && r.length > 0 ? /* @__PURE__ */ A(yn, { width: "100%", paddingInline: "1rem", justifyContent: "space-between", children: r.map(({ primaryText: w, secondaryText: x }, E) => /* @__PURE__ */ Ae(Xm, { children: [
49518
49543
  /* @__PURE__ */ A(
49519
49544
  oh,
49520
49545
  {
49521
49546
  reverse: d,
49522
- caption: w || "",
49523
- value: v,
49547
+ caption: x || "",
49548
+ value: w,
49524
49549
  captionColor: s?.color,
49525
49550
  valueColor: a?.color,
49526
49551
  width: a?.width,
@@ -49530,8 +49555,8 @@ function DRe({
49530
49555
  fallback: !0
49531
49556
  }
49532
49557
  ),
49533
- h && x < r.length - 1 && /* @__PURE__ */ A(pu, { orientation: "vertical", flexItem: !0 })
49534
- ] }, `${String(x)}`)) }) : /* @__PURE__ */ A(yn, { width: "100%", paddingInline: "1rem", justifyContent: "space-between", children: /* @__PURE__ */ A(
49558
+ h && E < r.length - 1 && /* @__PURE__ */ A(pu, { orientation: "vertical", flexItem: !0 })
49559
+ ] }, `${String(E)}`)) }) : /* @__PURE__ */ A(yn, { width: "100%", paddingInline: "1rem", justifyContent: "space-between", children: /* @__PURE__ */ A(
49535
49560
  oh,
49536
49561
  {
49537
49562
  reverse: d,
@@ -49546,7 +49571,7 @@ function DRe({
49546
49571
  }
49547
49572
  ) });
49548
49573
  return /* @__PURE__ */ A(hZ, { id: e, marginBottom: "1rem", width: p, children: /* @__PURE__ */ Ae(cX, { square: !0, disabled: u, onClick: c, children: [
49549
- /* @__PURE__ */ A(lX, { id: `${e}-header`, children: /* @__PURE__ */ Ae(
49574
+ /* @__PURE__ */ A(lX, { id: `${e}-header`, expandIcon: y, children: /* @__PURE__ */ Ae(
49550
49575
  yn,
49551
49576
  {
49552
49577
  sx: {
@@ -49555,8 +49580,8 @@ function DRe({
49555
49580
  justifyContent: "space-between"
49556
49581
  },
49557
49582
  children: [
49558
- m(),
49559
- /* @__PURE__ */ A(yn, { sx: { gap: "0.5rem" }, onClick: (v) => v.stopPropagation(), children: l })
49583
+ v(),
49584
+ /* @__PURE__ */ A(yn, { sx: { gap: "0.5rem" }, onClick: (w) => w.stopPropagation(), children: l })
49560
49585
  ]
49561
49586
  }
49562
49587
  ) }),
@@ -49577,14 +49602,14 @@ function DRe({
49577
49602
  whiteSpace: "pre-line",
49578
49603
  ...t
49579
49604
  },
49580
- children: n || y("NO_DETAILS")
49605
+ children: n || m("NO_DETAILS")
49581
49606
  }
49582
49607
  )
49583
49608
  }
49584
49609
  ) : n })
49585
49610
  ] }) });
49586
49611
  }
49587
- const LRe = ({ size: e }) => /* @__PURE__ */ Ae(
49612
+ const NRe = ({ size: e }) => /* @__PURE__ */ Ae(
49588
49613
  "svg",
49589
49614
  {
49590
49615
  version: "1.1",
@@ -49645,7 +49670,7 @@ const LRe = ({ size: e }) => /* @__PURE__ */ Ae(
49645
49670
  ]
49646
49671
  }
49647
49672
  );
49648
- function NRe({ size: e }) {
49673
+ function jRe({ size: e }) {
49649
49674
  return /* @__PURE__ */ Ae(
49650
49675
  "svg",
49651
49676
  {
@@ -49680,7 +49705,7 @@ function NRe({ size: e }) {
49680
49705
  }
49681
49706
  );
49682
49707
  }
49683
- const jRe = ({ size: e }) => /* @__PURE__ */ Ae(
49708
+ const $Re = ({ size: e }) => /* @__PURE__ */ Ae(
49684
49709
  "svg",
49685
49710
  {
49686
49711
  id: "italy",
@@ -49711,7 +49736,7 @@ const jRe = ({ size: e }) => /* @__PURE__ */ Ae(
49711
49736
  )
49712
49737
  ]
49713
49738
  }
49714
- ), $Re = ({ size: e }) => /* @__PURE__ */ Ae(
49739
+ ), BRe = ({ size: e }) => /* @__PURE__ */ Ae(
49715
49740
  "svg",
49716
49741
  {
49717
49742
  width: e,
@@ -49845,7 +49870,7 @@ const jRe = ({ size: e }) => /* @__PURE__ */ Ae(
49845
49870
  ] })
49846
49871
  ]
49847
49872
  }
49848
- ), BRe = ({ size: e }) => /* @__PURE__ */ Ae(
49873
+ ), zRe = ({ size: e }) => /* @__PURE__ */ Ae(
49849
49874
  "svg",
49850
49875
  {
49851
49876
  version: "1.1",
@@ -49883,7 +49908,7 @@ const jRe = ({ size: e }) => /* @__PURE__ */ Ae(
49883
49908
  ] })
49884
49909
  ]
49885
49910
  }
49886
- ), zRe = ({ size: e }) => /* @__PURE__ */ Ae(
49911
+ ), FRe = ({ size: e }) => /* @__PURE__ */ Ae(
49887
49912
  "svg",
49888
49913
  {
49889
49914
  id: "uk",
@@ -50200,7 +50225,7 @@ const jRe = ({ size: e }) => /* @__PURE__ */ Ae(
50200
50225
  ]
50201
50226
  }
50202
50227
  );
50203
- function FRe({
50228
+ function WRe({
50204
50229
  size: e = 24,
50205
50230
  color: t = "currentColor"
50206
50231
  }) {
@@ -50219,20 +50244,20 @@ function FRe({
50219
50244
  ) });
50220
50245
  }
50221
50246
  const {
50222
- slice: c5e,
50223
- forEach: l5e
50247
+ slice: l5e,
50248
+ forEach: f5e
50224
50249
  } = [];
50225
- function f5e(e) {
50226
- return l5e.call(c5e.call(arguments, 1), (t) => {
50250
+ function d5e(e) {
50251
+ return f5e.call(l5e.call(arguments, 1), (t) => {
50227
50252
  if (t)
50228
50253
  for (const n in t)
50229
50254
  e[n] === void 0 && (e[n] = t[n]);
50230
50255
  }), e;
50231
50256
  }
50232
- function d5e(e) {
50257
+ function h5e(e) {
50233
50258
  return typeof e != "string" ? !1 : [/<\s*script.*?>/i, /<\s*\/\s*script\s*>/i, /<\s*img.*?on\w+\s*=/i, /<\s*\w+\s*on\w+\s*=.*?>/i, /javascript\s*:/i, /vbscript\s*:/i, /expression\s*\(/i, /eval\s*\(/i, /alert\s*\(/i, /document\.cookie/i, /document\.write\s*\(/i, /window\.location/i, /innerHTML/i].some((n) => n.test(e));
50234
50259
  }
50235
- const kI = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, h5e = function(e, t) {
50260
+ const kI = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, p5e = function(e, t) {
50236
50261
  const r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
50237
50262
  path: "/"
50238
50263
  }, i = encodeURIComponent(t);
@@ -50281,7 +50306,7 @@ const kI = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, h5e = function(e, t) {
50281
50306
  path: "/",
50282
50307
  sameSite: "strict"
50283
50308
  };
50284
- n && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + n * 60 * 1e3)), r && (i.domain = r), document.cookie = h5e(e, t, i);
50309
+ n && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + n * 60 * 1e3)), r && (i.domain = r), document.cookie = p5e(e, t, i);
50285
50310
  },
50286
50311
  read(e) {
50287
50312
  const t = `${e}=`, n = document.cookie.split(";");
@@ -50296,7 +50321,7 @@ const kI = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, h5e = function(e, t) {
50296
50321
  this.create(e, "", -1, t);
50297
50322
  }
50298
50323
  };
50299
- var p5e = {
50324
+ var g5e = {
50300
50325
  name: "cookie",
50301
50326
  // Deconstruct the options object and extract the lookupCookie property
50302
50327
  lookup(e) {
@@ -50316,7 +50341,7 @@ var p5e = {
50316
50341
  } = t;
50317
50342
  n && typeof document < "u" && RI.create(n, e, r, i, o);
50318
50343
  }
50319
- }, g5e = {
50344
+ }, v5e = {
50320
50345
  name: "querystring",
50321
50346
  // Deconstruct the options object and extract the lookupQuerystring property
50322
50347
  lookup(e) {
@@ -50336,7 +50361,7 @@ var p5e = {
50336
50361
  }
50337
50362
  return n;
50338
50363
  }
50339
- }, v5e = {
50364
+ }, m5e = {
50340
50365
  name: "hash",
50341
50366
  // Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property
50342
50367
  lookup(e) {
@@ -50380,7 +50405,7 @@ const DI = () => {
50380
50405
  }
50381
50406
  return dl;
50382
50407
  };
50383
- var m5e = {
50408
+ var y5e = {
50384
50409
  name: "localStorage",
50385
50410
  // Deconstruct the options object and extract the lookupLocalStorage property
50386
50411
  lookup(e) {
@@ -50411,7 +50436,7 @@ const LI = () => {
50411
50436
  }
50412
50437
  return hl;
50413
50438
  };
50414
- var y5e = {
50439
+ var b5e = {
50415
50440
  name: "sessionStorage",
50416
50441
  lookup(e) {
50417
50442
  let {
@@ -50426,7 +50451,7 @@ var y5e = {
50426
50451
  } = t;
50427
50452
  n && LI() && window.sessionStorage.setItem(n, e);
50428
50453
  }
50429
- }, b5e = {
50454
+ }, w5e = {
50430
50455
  name: "navigator",
50431
50456
  lookup(e) {
50432
50457
  const t = [];
@@ -50443,7 +50468,7 @@ var y5e = {
50443
50468
  }
50444
50469
  return t.length > 0 ? t : void 0;
50445
50470
  }
50446
- }, w5e = {
50471
+ }, _5e = {
50447
50472
  name: "htmlTag",
50448
50473
  // Deconstruct the options object and extract the htmlTag property
50449
50474
  lookup(e) {
@@ -50453,7 +50478,7 @@ var y5e = {
50453
50478
  const r = t || (typeof document < "u" ? document.documentElement : null);
50454
50479
  return r && typeof r.getAttribute == "function" && (n = r.getAttribute("lang")), n;
50455
50480
  }
50456
- }, _5e = {
50481
+ }, x5e = {
50457
50482
  name: "path",
50458
50483
  // Deconstruct the options object and extract the lookupFromPathIndex property
50459
50484
  lookup(e) {
@@ -50464,7 +50489,7 @@ var y5e = {
50464
50489
  const n = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
50465
50490
  return Array.isArray(n) ? n[typeof t == "number" ? t : 0]?.replace("/", "") : void 0;
50466
50491
  }
50467
- }, x5e = {
50492
+ }, E5e = {
50468
50493
  name: "subdomain",
50469
50494
  lookup(e) {
50470
50495
  let {
@@ -50482,7 +50507,7 @@ try {
50482
50507
  }
50483
50508
  const CF = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
50484
50509
  TF || CF.splice(1, 1);
50485
- const E5e = () => ({
50510
+ const S5e = () => ({
50486
50511
  order: CF,
50487
50512
  lookupQuerystring: "lng",
50488
50513
  lookupCookie: "i18next",
@@ -50504,7 +50529,7 @@ class IF {
50504
50529
  let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
50505
50530
  languageUtils: {}
50506
50531
  }, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
50507
- this.services = t, this.options = f5e(n, this.options || {}, E5e()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (i) => i.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector(p5e), this.addDetector(g5e), this.addDetector(m5e), this.addDetector(y5e), this.addDetector(b5e), this.addDetector(w5e), this.addDetector(_5e), this.addDetector(x5e), this.addDetector(v5e);
50532
+ this.services = t, this.options = d5e(n, this.options || {}, S5e()), typeof this.options.convertDetectedLanguage == "string" && this.options.convertDetectedLanguage.indexOf("15897") > -1 && (this.options.convertDetectedLanguage = (i) => i.replace("-", "_")), this.options.lookupFromUrlIndex && (this.options.lookupFromPathIndex = this.options.lookupFromUrlIndex), this.i18nOptions = r, this.addDetector(g5e), this.addDetector(v5e), this.addDetector(y5e), this.addDetector(b5e), this.addDetector(w5e), this.addDetector(_5e), this.addDetector(x5e), this.addDetector(E5e), this.addDetector(m5e);
50508
50533
  }
50509
50534
  addDetector(t) {
50510
50535
  return this.detectors[t.name] = t, this;
@@ -50516,7 +50541,7 @@ class IF {
50516
50541
  let i = this.detectors[r].lookup(this.options);
50517
50542
  i && typeof i == "string" && (i = [i]), i && (n = n.concat(i));
50518
50543
  }
50519
- }), n = n.filter((r) => r != null && !d5e(r)).map((r) => this.options.convertDetectedLanguage(r)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? n : n.length > 0 ? n[0] : null;
50544
+ }), n = n.filter((r) => r != null && !h5e(r)).map((r) => this.options.convertDetectedLanguage(r)), this.services && this.services.languageUtils && this.services.languageUtils.getBestMatchFromCodes ? n : n.length > 0 ? n[0] : null;
50520
50545
  }
50521
50546
  cacheUserLanguage(t) {
50522
50547
  let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
@@ -50526,7 +50551,7 @@ class IF {
50526
50551
  }
50527
50552
  }
50528
50553
  IF.type = "languageDetector";
50529
- const WRe = (e) => {
50554
+ const URe = (e) => {
50530
50555
  let t = {};
50531
50556
  for (const r of Object.keys(e)) {
50532
50557
  const i = r.match(/\w+\.json/);
@@ -50551,13 +50576,13 @@ const WRe = (e) => {
50551
50576
  }
50552
50577
  }), Nl;
50553
50578
  };
50554
- function S5e({ children: e }) {
50579
+ function O5e({ children: e }) {
50555
50580
  return /* @__PURE__ */ A(yn, { paddingBottom: "16px", gap: "8px", children: e });
50556
50581
  }
50557
- function O5e({ children: e }) {
50582
+ function A5e({ children: e }) {
50558
50583
  return /* @__PURE__ */ A(Kh, { mt: "auto", mb: "auto", width: "100%", children: /* @__PURE__ */ A($r, { sx: { width: "100%" }, children: /* @__PURE__ */ A(yn, { height: "70px", flexDirection: "row", alignItems: "center", gap: "16px", padding: "16px", children: e }) }) });
50559
50584
  }
50560
- function A5e({ tabValue: e, columnValues: t, columnWidths: n }) {
50585
+ function P5e({ tabValue: e, columnValues: t, columnWidths: n }) {
50561
50586
  const { t: r } = jt();
50562
50587
  return /* @__PURE__ */ A(
50563
50588
  $r,
@@ -50578,7 +50603,7 @@ function A5e({ tabValue: e, columnValues: t, columnWidths: n }) {
50578
50603
  }
50579
50604
  );
50580
50605
  }
50581
- function URe({
50606
+ function HRe({
50582
50607
  InnerHeaderContent: e,
50583
50608
  TableHeaderContent: t,
50584
50609
  FirstTabContent: n,
@@ -50592,7 +50617,7 @@ function URe({
50592
50617
  ThirdTabNearbyContent: l
50593
50618
  }) {
50594
50619
  return /* @__PURE__ */ Ae(Vu, { gap: "16px", children: [
50595
- /* @__PURE__ */ A(O5e, { children: e }),
50620
+ /* @__PURE__ */ A(A5e, { children: e }),
50596
50621
  /* @__PURE__ */ Ae(jM, { gap: "16px", children: [
50597
50622
  /* @__PURE__ */ Ae(
50598
50623
  $r,
@@ -50605,9 +50630,9 @@ function URe({
50605
50630
  maxWidth: u && o === 0 || c && o === 1 || l && o === 2 ? "70%" : "unset"
50606
50631
  },
50607
50632
  children: [
50608
- /* @__PURE__ */ A(S5e, { children: t }),
50633
+ /* @__PURE__ */ A(O5e, { children: t }),
50609
50634
  /* @__PURE__ */ Ae(Vu, { children: [
50610
- /* @__PURE__ */ A(A5e, { columnValues: a, columnWidths: s, tabValue: o }),
50635
+ /* @__PURE__ */ A(P5e, { columnValues: a, columnWidths: s, tabValue: o }),
50611
50636
  /* @__PURE__ */ A(
50612
50637
  pu,
50613
50638
  {
@@ -50653,7 +50678,7 @@ function URe({
50653
50678
  ] })
50654
50679
  ] });
50655
50680
  }
50656
- function HRe({
50681
+ function VRe({
50657
50682
  children: e,
50658
50683
  position: t,
50659
50684
  isMobile: n
@@ -50684,7 +50709,7 @@ const Lo = {}, NI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
50684
50709
  __proto__: null,
50685
50710
  default: Lo
50686
50711
  }, Symbol.toStringTag, { value: "Module" }));
50687
- function VRe(e, t) {
50712
+ function GRe(e, t) {
50688
50713
  return {
50689
50714
  name: "vite-plugin-graphql-rewrite",
50690
50715
  enforce: "pre",
@@ -50700,7 +50725,7 @@ function VRe(e, t) {
50700
50725
  }
50701
50726
  };
50702
50727
  }
50703
- function GRe(e, t) {
50728
+ function qRe(e, t) {
50704
50729
  return {
50705
50730
  name: "vite-plugin-graphql-rewrite-build",
50706
50731
  enforce: "pre",
@@ -50713,8 +50738,8 @@ function GRe(e, t) {
50713
50738
  }
50714
50739
  };
50715
50740
  }
50716
- var P5e = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Hu = "1.9.0", jI = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
50717
- function T5e(e) {
50741
+ var T5e = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Hu = "1.9.0", jI = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
50742
+ function C5e(e) {
50718
50743
  var t = /* @__PURE__ */ new Set([e]), n = /* @__PURE__ */ new Set(), r = e.match(jI);
50719
50744
  if (!r)
50720
50745
  return function() {
@@ -50753,7 +50778,7 @@ function T5e(e) {
50753
50778
  return l.prerelease != null || i.major !== l.major ? o(u) : i.major === 0 ? i.minor === l.minor && i.patch <= l.patch ? a(u) : o(u) : i.minor <= l.minor ? a(u) : o(u);
50754
50779
  };
50755
50780
  }
50756
- var C5e = T5e(Hu), I5e = Hu.split(".")[0], Fh = Symbol.for("opentelemetry.js.api." + I5e), Wh = P5e;
50781
+ var I5e = C5e(Hu), M5e = Hu.split(".")[0], Fh = Symbol.for("opentelemetry.js.api." + M5e), Wh = T5e;
50757
50782
  function Bp(e, t, n, r) {
50758
50783
  var i;
50759
50784
  r === void 0 && (r = !1);
@@ -50772,7 +50797,7 @@ function Bp(e, t, n, r) {
50772
50797
  }
50773
50798
  function _c(e) {
50774
50799
  var t, n, r = (t = Wh[Fh]) === null || t === void 0 ? void 0 : t.version;
50775
- if (!(!r || !C5e(r)))
50800
+ if (!(!r || !I5e(r)))
50776
50801
  return (n = Wh[Fh]) === null || n === void 0 ? void 0 : n[e];
50777
50802
  }
50778
50803
  function zp(e, t) {
@@ -50780,7 +50805,7 @@ function zp(e, t) {
50780
50805
  var n = Wh[Fh];
50781
50806
  n && delete n[e];
50782
50807
  }
50783
- var M5e = function(e, t) {
50808
+ var k5e = function(e, t) {
50784
50809
  var n = typeof Symbol == "function" && e[Symbol.iterator];
50785
50810
  if (!n) return e;
50786
50811
  var r = n.call(e), i, o = [], a;
@@ -50796,11 +50821,11 @@ var M5e = function(e, t) {
50796
50821
  }
50797
50822
  }
50798
50823
  return o;
50799
- }, k5e = function(e, t, n) {
50824
+ }, R5e = function(e, t, n) {
50800
50825
  if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
50801
50826
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
50802
50827
  return e.concat(o || Array.prototype.slice.call(t));
50803
- }, R5e = (
50828
+ }, D5e = (
50804
50829
  /** @class */
50805
50830
  (function() {
50806
50831
  function e(t) {
@@ -50832,13 +50857,13 @@ var M5e = function(e, t) {
50832
50857
  function md(e, t, n) {
50833
50858
  var r = _c("diag");
50834
50859
  if (r)
50835
- return n.unshift(t), r[e].apply(r, k5e([], M5e(n), !1));
50860
+ return n.unshift(t), r[e].apply(r, R5e([], k5e(n), !1));
50836
50861
  }
50837
50862
  var ro;
50838
50863
  (function(e) {
50839
50864
  e[e.NONE = 0] = "NONE", e[e.ERROR = 30] = "ERROR", e[e.WARN = 50] = "WARN", e[e.INFO = 60] = "INFO", e[e.DEBUG = 70] = "DEBUG", e[e.VERBOSE = 80] = "VERBOSE", e[e.ALL = 9999] = "ALL";
50840
50865
  })(ro || (ro = {}));
50841
- function D5e(e, t) {
50866
+ function L5e(e, t) {
50842
50867
  e < ro.NONE ? e = ro.NONE : e > ro.ALL && (e = ro.ALL), t = t || {};
50843
50868
  function n(r, i) {
50844
50869
  var o = t[r];
@@ -50853,7 +50878,7 @@ function D5e(e, t) {
50853
50878
  verbose: n("verbose", ro.VERBOSE)
50854
50879
  };
50855
50880
  }
50856
- var L5e = function(e, t) {
50881
+ var N5e = function(e, t) {
50857
50882
  var n = typeof Symbol == "function" && e[Symbol.iterator];
50858
50883
  if (!n) return e;
50859
50884
  var r = n.call(e), i, o = [], a;
@@ -50869,11 +50894,11 @@ var L5e = function(e, t) {
50869
50894
  }
50870
50895
  }
50871
50896
  return o;
50872
- }, N5e = function(e, t, n) {
50897
+ }, j5e = function(e, t, n) {
50873
50898
  if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
50874
50899
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
50875
50900
  return e.concat(o || Array.prototype.slice.call(t));
50876
- }, j5e = "diag", Ma = (
50901
+ }, $5e = "diag", Ma = (
50877
50902
  /** @class */
50878
50903
  (function() {
50879
50904
  function e() {
@@ -50883,7 +50908,7 @@ var L5e = function(e, t) {
50883
50908
  o[a] = arguments[a];
50884
50909
  var s = _c("diag");
50885
50910
  if (s)
50886
- return s[i].apply(s, N5e([], L5e(o), !1));
50911
+ return s[i].apply(s, j5e([], N5e(o), !1));
50887
50912
  };
50888
50913
  }
50889
50914
  var n = this, r = function(i, o) {
@@ -50895,7 +50920,7 @@ var L5e = function(e, t) {
50895
50920
  typeof o == "number" && (o = {
50896
50921
  logLevel: o
50897
50922
  });
50898
- var l = _c("diag"), d = D5e((s = o.logLevel) !== null && s !== void 0 ? s : ro.INFO, i);
50923
+ var l = _c("diag"), d = L5e((s = o.logLevel) !== null && s !== void 0 ? s : ro.INFO, i);
50899
50924
  if (l && !o.suppressOverrideMessage) {
50900
50925
  var h = (u = new Error().stack) !== null && u !== void 0 ? u : "<failed to generate stacktrace>";
50901
50926
  l.warn("Current logger will be overwritten from " + h), d.warn("Current logger will overwrite one already registered from " + h);
@@ -50903,16 +50928,16 @@ var L5e = function(e, t) {
50903
50928
  return Bp("diag", d, n, !0);
50904
50929
  };
50905
50930
  n.setLogger = r, n.disable = function() {
50906
- zp(j5e, n);
50931
+ zp($5e, n);
50907
50932
  }, n.createComponentLogger = function(i) {
50908
- return new R5e(i);
50933
+ return new D5e(i);
50909
50934
  }, n.verbose = t("verbose"), n.debug = t("debug"), n.info = t("info"), n.warn = t("warn"), n.error = t("error");
50910
50935
  }
50911
50936
  return e.instance = function() {
50912
50937
  return this._instance || (this._instance = new e()), this._instance;
50913
50938
  }, e;
50914
50939
  })()
50915
- ), $5e = function(e, t) {
50940
+ ), B5e = function(e, t) {
50916
50941
  var n = typeof Symbol == "function" && e[Symbol.iterator];
50917
50942
  if (!n) return e;
50918
50943
  var r = n.call(e), i, o = [], a;
@@ -50928,7 +50953,7 @@ var L5e = function(e, t) {
50928
50953
  }
50929
50954
  }
50930
50955
  return o;
50931
- }, B5e = function(e) {
50956
+ }, z5e = function(e) {
50932
50957
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
50933
50958
  if (n) return n.call(e);
50934
50959
  if (e && typeof e.length == "number") return {
@@ -50937,7 +50962,7 @@ var L5e = function(e, t) {
50937
50962
  }
50938
50963
  };
50939
50964
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
50940
- }, z5e = (
50965
+ }, F5e = (
50941
50966
  /** @class */
50942
50967
  (function() {
50943
50968
  function e(t) {
@@ -50949,7 +50974,7 @@ var L5e = function(e, t) {
50949
50974
  return Object.assign({}, n);
50950
50975
  }, e.prototype.getAllEntries = function() {
50951
50976
  return Array.from(this._entries.entries()).map(function(t) {
50952
- var n = $5e(t, 2), r = n[0], i = n[1];
50977
+ var n = B5e(t, 2), r = n[0], i = n[1];
50953
50978
  return [r, i];
50954
50979
  });
50955
50980
  }, e.prototype.setEntry = function(t, n) {
@@ -50963,7 +50988,7 @@ var L5e = function(e, t) {
50963
50988
  r[i] = arguments[i];
50964
50989
  var o = new e(this._entries);
50965
50990
  try {
50966
- for (var a = B5e(r), s = a.next(); !s.done; s = a.next()) {
50991
+ for (var a = z5e(r), s = a.next(); !s.done; s = a.next()) {
50967
50992
  var u = s.value;
50968
50993
  o._entries.delete(u);
50969
50994
  }
@@ -50981,13 +51006,13 @@ var L5e = function(e, t) {
50981
51006
  return new e();
50982
51007
  }, e;
50983
51008
  })()
50984
- ), F5e = Symbol("BaggageEntryMetadata"), W5e = Ma.instance();
50985
- function U5e(e) {
50986
- return e === void 0 && (e = {}), new z5e(new Map(Object.entries(e)));
50987
- }
51009
+ ), W5e = Symbol("BaggageEntryMetadata"), U5e = Ma.instance();
50988
51010
  function H5e(e) {
50989
- return typeof e != "string" && (W5e.error("Cannot create baggage metadata from unknown type: " + typeof e), e = ""), {
50990
- __TYPE__: F5e,
51011
+ return e === void 0 && (e = {}), new F5e(new Map(Object.entries(e)));
51012
+ }
51013
+ function V5e(e) {
51014
+ return typeof e != "string" && (U5e.error("Cannot create baggage metadata from unknown type: " + typeof e), e = ""), {
51015
+ __TYPE__: W5e,
50991
51016
  toString: function() {
50992
51017
  return e;
50993
51018
  }
@@ -50996,7 +51021,7 @@ function H5e(e) {
50996
51021
  function L3(e) {
50997
51022
  return Symbol.for(e);
50998
51023
  }
50999
- var V5e = (
51024
+ var G5e = (
51000
51025
  /** @class */
51001
51026
  /* @__PURE__ */ (function() {
51002
51027
  function e(t) {
@@ -51013,7 +51038,7 @@ var V5e = (
51013
51038
  }
51014
51039
  return e;
51015
51040
  })()
51016
- ), ls = new V5e(), $c = /* @__PURE__ */ (function() {
51041
+ ), ls = new G5e(), $c = /* @__PURE__ */ (function() {
51017
51042
  var e = function(t, n) {
51018
51043
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
51019
51044
  r.__proto__ = i;
@@ -51030,25 +51055,25 @@ var V5e = (
51030
51055
  }
51031
51056
  t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
51032
51057
  };
51033
- })(), G5e = (
51058
+ })(), q5e = (
51034
51059
  /** @class */
51035
51060
  (function() {
51036
51061
  function e() {
51037
51062
  }
51038
51063
  return e.prototype.createGauge = function(t, n) {
51039
- return n6e;
51040
- }, e.prototype.createHistogram = function(t, n) {
51041
51064
  return r6e;
51065
+ }, e.prototype.createHistogram = function(t, n) {
51066
+ return i6e;
51042
51067
  }, e.prototype.createCounter = function(t, n) {
51043
- return t6e;
51068
+ return n6e;
51044
51069
  }, e.prototype.createUpDownCounter = function(t, n) {
51045
- return i6e;
51070
+ return o6e;
51046
51071
  }, e.prototype.createObservableGauge = function(t, n) {
51047
- return a6e;
51072
+ return s6e;
51048
51073
  }, e.prototype.createObservableCounter = function(t, n) {
51049
- return o6e;
51074
+ return a6e;
51050
51075
  }, e.prototype.createObservableUpDownCounter = function(t, n) {
51051
- return s6e;
51076
+ return u6e;
51052
51077
  }, e.prototype.addBatchObservableCallback = function(t, n) {
51053
51078
  }, e.prototype.removeBatchObservableCallback = function(t) {
51054
51079
  }, e;
@@ -51060,7 +51085,7 @@ var V5e = (
51060
51085
  }
51061
51086
  return e;
51062
51087
  })()
51063
- ), q5e = (
51088
+ ), K5e = (
51064
51089
  /** @class */
51065
51090
  (function(e) {
51066
51091
  $c(t, e);
@@ -51070,7 +51095,7 @@ var V5e = (
51070
51095
  return t.prototype.add = function(n, r) {
51071
51096
  }, t;
51072
51097
  })(z1)
51073
- ), K5e = (
51098
+ ), Y5e = (
51074
51099
  /** @class */
51075
51100
  (function(e) {
51076
51101
  $c(t, e);
@@ -51080,7 +51105,7 @@ var V5e = (
51080
51105
  return t.prototype.add = function(n, r) {
51081
51106
  }, t;
51082
51107
  })(z1)
51083
- ), Y5e = (
51108
+ ), X5e = (
51084
51109
  /** @class */
51085
51110
  (function(e) {
51086
51111
  $c(t, e);
@@ -51090,7 +51115,7 @@ var V5e = (
51090
51115
  return t.prototype.record = function(n, r) {
51091
51116
  }, t;
51092
51117
  })(z1)
51093
- ), X5e = (
51118
+ ), Z5e = (
51094
51119
  /** @class */
51095
51120
  (function(e) {
51096
51121
  $c(t, e);
@@ -51109,7 +51134,7 @@ var V5e = (
51109
51134
  }, e.prototype.removeCallback = function(t) {
51110
51135
  }, e;
51111
51136
  })()
51112
- ), Z5e = (
51137
+ ), J5e = (
51113
51138
  /** @class */
51114
51139
  (function(e) {
51115
51140
  $c(t, e);
@@ -51118,7 +51143,7 @@ var V5e = (
51118
51143
  }
51119
51144
  return t;
51120
51145
  })(N3)
51121
- ), J5e = (
51146
+ ), Q5e = (
51122
51147
  /** @class */
51123
51148
  (function(e) {
51124
51149
  $c(t, e);
@@ -51127,7 +51152,7 @@ var V5e = (
51127
51152
  }
51128
51153
  return t;
51129
51154
  })(N3)
51130
- ), Q5e = (
51155
+ ), e6e = (
51131
51156
  /** @class */
51132
51157
  (function(e) {
51133
51158
  $c(t, e);
@@ -51136,7 +51161,7 @@ var V5e = (
51136
51161
  }
51137
51162
  return t;
51138
51163
  })(N3)
51139
- ), e6e = new G5e(), t6e = new q5e(), n6e = new Y5e(), r6e = new X5e(), i6e = new K5e(), o6e = new Z5e(), a6e = new J5e(), s6e = new Q5e(), u6e = {
51164
+ ), t6e = new q5e(), n6e = new K5e(), r6e = new X5e(), i6e = new Z5e(), o6e = new Y5e(), a6e = new J5e(), s6e = new Q5e(), u6e = new e6e(), c6e = {
51140
51165
  get: function(e, t) {
51141
51166
  if (e != null)
51142
51167
  return e[t];
@@ -51144,11 +51169,11 @@ var V5e = (
51144
51169
  keys: function(e) {
51145
51170
  return e == null ? [] : Object.keys(e);
51146
51171
  }
51147
- }, c6e = {
51172
+ }, l6e = {
51148
51173
  set: function(e, t, n) {
51149
51174
  e != null && (e[t] = n);
51150
51175
  }
51151
- }, l6e = function(e, t) {
51176
+ }, f6e = function(e, t) {
51152
51177
  var n = typeof Symbol == "function" && e[Symbol.iterator];
51153
51178
  if (!n) return e;
51154
51179
  var r = n.call(e), i, o = [], a;
@@ -51164,11 +51189,11 @@ var V5e = (
51164
51189
  }
51165
51190
  }
51166
51191
  return o;
51167
- }, f6e = function(e, t, n) {
51192
+ }, d6e = function(e, t, n) {
51168
51193
  if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
51169
51194
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
51170
51195
  return e.concat(o || Array.prototype.slice.call(t));
51171
- }, d6e = (
51196
+ }, h6e = (
51172
51197
  /** @class */
51173
51198
  (function() {
51174
51199
  function e() {
@@ -51178,7 +51203,7 @@ var V5e = (
51178
51203
  }, e.prototype.with = function(t, n, r) {
51179
51204
  for (var i = [], o = 3; o < arguments.length; o++)
51180
51205
  i[o - 3] = arguments[o];
51181
- return n.call.apply(n, f6e([r], l6e(i), !1));
51206
+ return n.call.apply(n, d6e([r], f6e(i), !1));
51182
51207
  }, e.prototype.bind = function(t, n) {
51183
51208
  return n;
51184
51209
  }, e.prototype.enable = function() {
@@ -51187,7 +51212,7 @@ var V5e = (
51187
51212
  return this;
51188
51213
  }, e;
51189
51214
  })()
51190
- ), h6e = function(e, t) {
51215
+ ), p6e = function(e, t) {
51191
51216
  var n = typeof Symbol == "function" && e[Symbol.iterator];
51192
51217
  if (!n) return e;
51193
51218
  var r = n.call(e), i, o = [], a;
@@ -51203,11 +51228,11 @@ var V5e = (
51203
51228
  }
51204
51229
  }
51205
51230
  return o;
51206
- }, p6e = function(e, t, n) {
51231
+ }, g6e = function(e, t, n) {
51207
51232
  if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
51208
51233
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
51209
51234
  return e.concat(o || Array.prototype.slice.call(t));
51210
- }, P2 = "context", g6e = new d6e(), F1 = (
51235
+ }, P2 = "context", v6e = new h6e(), F1 = (
51211
51236
  /** @class */
51212
51237
  (function() {
51213
51238
  function e() {
@@ -51221,11 +51246,11 @@ var V5e = (
51221
51246
  }, e.prototype.with = function(t, n, r) {
51222
51247
  for (var i, o = [], a = 3; a < arguments.length; a++)
51223
51248
  o[a - 3] = arguments[a];
51224
- return (i = this._getContextManager()).with.apply(i, p6e([t, n, r], h6e(o), !1));
51249
+ return (i = this._getContextManager()).with.apply(i, g6e([t, n, r], p6e(o), !1));
51225
51250
  }, e.prototype.bind = function(t, n) {
51226
51251
  return this._getContextManager().bind(t, n);
51227
51252
  }, e.prototype._getContextManager = function() {
51228
- return _c(P2) || g6e;
51253
+ return _c(P2) || v6e;
51229
51254
  }, e.prototype.disable = function() {
51230
51255
  this._getContextManager().disable(), zp(P2, Ma.instance());
51231
51256
  }, e;
@@ -51270,33 +51295,33 @@ var MF = "0000000000000000", kF = "00000000000000000000000000000000", RF = {
51270
51295
  function $3(e) {
51271
51296
  return e.getValue(j3) || void 0;
51272
51297
  }
51273
- function v6e() {
51298
+ function m6e() {
51274
51299
  return $3(F1.getInstance().active());
51275
51300
  }
51276
51301
  function B3(e, t) {
51277
51302
  return e.setValue(j3, t);
51278
51303
  }
51279
- function m6e(e) {
51304
+ function y6e(e) {
51280
51305
  return e.deleteValue(j3);
51281
51306
  }
51282
- function y6e(e, t) {
51307
+ function b6e(e, t) {
51283
51308
  return B3(e, new th(t));
51284
51309
  }
51285
51310
  function DF(e) {
51286
51311
  var t;
51287
51312
  return (t = $3(e)) === null || t === void 0 ? void 0 : t.spanContext();
51288
51313
  }
51289
- var b6e = /^([0-9a-f]{32})$/i, w6e = /^[0-9a-f]{16}$/i;
51314
+ var w6e = /^([0-9a-f]{32})$/i, _6e = /^[0-9a-f]{16}$/i;
51290
51315
  function LF(e) {
51291
- return b6e.test(e) && e !== kF;
51316
+ return w6e.test(e) && e !== kF;
51292
51317
  }
51293
- function _6e(e) {
51294
- return w6e.test(e) && e !== MF;
51318
+ function x6e(e) {
51319
+ return _6e.test(e) && e !== MF;
51295
51320
  }
51296
51321
  function Fp(e) {
51297
- return LF(e.traceId) && _6e(e.spanId);
51322
+ return LF(e.traceId) && x6e(e.spanId);
51298
51323
  }
51299
- function x6e(e) {
51324
+ function E6e(e) {
51300
51325
  return new th(e);
51301
51326
  }
51302
51327
  var T2 = F1.getInstance(), NF = (
@@ -51310,7 +51335,7 @@ var T2 = F1.getInstance(), NF = (
51310
51335
  if (i)
51311
51336
  return new th();
51312
51337
  var o = r && DF(r);
51313
- return E6e(o) && Fp(o) ? new th(o) : new th();
51338
+ return S6e(o) && Fp(o) ? new th(o) : new th();
51314
51339
  }, e.prototype.startActiveSpan = function(t, n, r, i) {
51315
51340
  var o, a, s;
51316
51341
  if (!(arguments.length < 2)) {
@@ -51321,10 +51346,10 @@ var T2 = F1.getInstance(), NF = (
51321
51346
  }, e;
51322
51347
  })()
51323
51348
  );
51324
- function E6e(e) {
51349
+ function S6e(e) {
51325
51350
  return typeof e == "object" && typeof e.spanId == "string" && typeof e.traceId == "string" && typeof e.traceFlags == "number";
51326
51351
  }
51327
- var S6e = new NF(), O6e = (
51352
+ var O6e = new NF(), A6e = (
51328
51353
  /** @class */
51329
51354
  (function() {
51330
51355
  function e(t, n, r, i) {
@@ -51339,10 +51364,10 @@ var S6e = new NF(), O6e = (
51339
51364
  if (this._delegate)
51340
51365
  return this._delegate;
51341
51366
  var t = this._provider.getDelegateTracer(this.name, this.version, this.options);
51342
- return t ? (this._delegate = t, this._delegate) : S6e;
51367
+ return t ? (this._delegate = t, this._delegate) : O6e;
51343
51368
  }, e;
51344
51369
  })()
51345
- ), A6e = (
51370
+ ), P6e = (
51346
51371
  /** @class */
51347
51372
  (function() {
51348
51373
  function e() {
@@ -51351,17 +51376,17 @@ var S6e = new NF(), O6e = (
51351
51376
  return new NF();
51352
51377
  }, e;
51353
51378
  })()
51354
- ), P6e = new A6e(), $I = (
51379
+ ), T6e = new P6e(), $I = (
51355
51380
  /** @class */
51356
51381
  (function() {
51357
51382
  function e() {
51358
51383
  }
51359
51384
  return e.prototype.getTracer = function(t, n, r) {
51360
51385
  var i;
51361
- return (i = this.getDelegateTracer(t, n, r)) !== null && i !== void 0 ? i : new O6e(this, t, n, r);
51386
+ return (i = this.getDelegateTracer(t, n, r)) !== null && i !== void 0 ? i : new A6e(this, t, n, r);
51362
51387
  }, e.prototype.getDelegate = function() {
51363
51388
  var t;
51364
- return (t = this._delegate) !== null && t !== void 0 ? t : P6e;
51389
+ return (t = this._delegate) !== null && t !== void 0 ? t : T6e;
51365
51390
  }, e.prototype.setDelegate = function(t) {
51366
51391
  this._delegate = t;
51367
51392
  }, e.prototype.getDelegateTracer = function(t, n, r) {
@@ -51381,16 +51406,16 @@ var ec;
51381
51406
  (function(e) {
51382
51407
  e[e.UNSET = 0] = "UNSET", e[e.OK = 1] = "OK", e[e.ERROR = 2] = "ERROR";
51383
51408
  })(ec || (ec = {}));
51384
- var jr = F1.getInstance(), Ht = Ma.instance(), T6e = (
51409
+ var jr = F1.getInstance(), Ht = Ma.instance(), C6e = (
51385
51410
  /** @class */
51386
51411
  (function() {
51387
51412
  function e() {
51388
51413
  }
51389
51414
  return e.prototype.getMeter = function(t, n, r) {
51390
- return e6e;
51415
+ return t6e;
51391
51416
  }, e;
51392
51417
  })()
51393
- ), C6e = new T6e(), C2 = "metrics", I6e = (
51418
+ ), I6e = new C6e(), C2 = "metrics", M6e = (
51394
51419
  /** @class */
51395
51420
  (function() {
51396
51421
  function e() {
@@ -51400,14 +51425,14 @@ var jr = F1.getInstance(), Ht = Ma.instance(), T6e = (
51400
51425
  }, e.prototype.setGlobalMeterProvider = function(t) {
51401
51426
  return Bp(C2, t, Ma.instance());
51402
51427
  }, e.prototype.getMeterProvider = function() {
51403
- return _c(C2) || C6e;
51428
+ return _c(C2) || I6e;
51404
51429
  }, e.prototype.getMeter = function(t, n, r) {
51405
51430
  return this.getMeterProvider().getMeter(t, n, r);
51406
51431
  }, e.prototype.disable = function() {
51407
51432
  zp(C2, Ma.instance());
51408
51433
  }, e;
51409
51434
  })()
51410
- ), jF = I6e.getInstance(), M6e = (
51435
+ ), jF = M6e.getInstance(), k6e = (
51411
51436
  /** @class */
51412
51437
  (function() {
51413
51438
  function e() {
@@ -51423,42 +51448,42 @@ var jr = F1.getInstance(), Ht = Ma.instance(), T6e = (
51423
51448
  function $F(e) {
51424
51449
  return e.getValue(z3) || void 0;
51425
51450
  }
51426
- function k6e() {
51451
+ function R6e() {
51427
51452
  return $F(F1.getInstance().active());
51428
51453
  }
51429
- function R6e(e, t) {
51454
+ function D6e(e, t) {
51430
51455
  return e.setValue(z3, t);
51431
51456
  }
51432
- function D6e(e) {
51457
+ function L6e(e) {
51433
51458
  return e.deleteValue(z3);
51434
51459
  }
51435
- var I2 = "propagation", L6e = new M6e(), N6e = (
51460
+ var I2 = "propagation", N6e = new k6e(), j6e = (
51436
51461
  /** @class */
51437
51462
  (function() {
51438
51463
  function e() {
51439
- this.createBaggage = U5e, this.getBaggage = $F, this.getActiveBaggage = k6e, this.setBaggage = R6e, this.deleteBaggage = D6e;
51464
+ this.createBaggage = H5e, this.getBaggage = $F, this.getActiveBaggage = R6e, this.setBaggage = D6e, this.deleteBaggage = L6e;
51440
51465
  }
51441
51466
  return e.getInstance = function() {
51442
51467
  return this._instance || (this._instance = new e()), this._instance;
51443
51468
  }, e.prototype.setGlobalPropagator = function(t) {
51444
51469
  return Bp(I2, t, Ma.instance());
51445
51470
  }, e.prototype.inject = function(t, n, r) {
51446
- return r === void 0 && (r = c6e), this._getGlobalPropagator().inject(t, n, r);
51471
+ return r === void 0 && (r = l6e), this._getGlobalPropagator().inject(t, n, r);
51447
51472
  }, e.prototype.extract = function(t, n, r) {
51448
- return r === void 0 && (r = u6e), this._getGlobalPropagator().extract(t, n, r);
51473
+ return r === void 0 && (r = c6e), this._getGlobalPropagator().extract(t, n, r);
51449
51474
  }, e.prototype.fields = function() {
51450
51475
  return this._getGlobalPropagator().fields();
51451
51476
  }, e.prototype.disable = function() {
51452
51477
  zp(I2, Ma.instance());
51453
51478
  }, e.prototype._getGlobalPropagator = function() {
51454
- return _c(I2) || L6e;
51479
+ return _c(I2) || N6e;
51455
51480
  }, e;
51456
51481
  })()
51457
- ), ya = N6e.getInstance(), M2 = "trace", j6e = (
51482
+ ), ya = j6e.getInstance(), M2 = "trace", $6e = (
51458
51483
  /** @class */
51459
51484
  (function() {
51460
51485
  function e() {
51461
- this._proxyTracerProvider = new $I(), this.wrapSpanContext = x6e, this.isSpanContextValid = Fp, this.deleteSpan = m6e, this.getSpan = $3, this.getActiveSpan = v6e, this.getSpanContext = DF, this.setSpan = B3, this.setSpanContext = y6e;
51486
+ this._proxyTracerProvider = new $I(), this.wrapSpanContext = E6e, this.isSpanContextValid = Fp, this.deleteSpan = y6e, this.getSpan = $3, this.getActiveSpan = m6e, this.getSpanContext = DF, this.setSpan = B3, this.setSpanContext = b6e;
51462
51487
  }
51463
51488
  return e.getInstance = function() {
51464
51489
  return this._instance || (this._instance = new e()), this._instance;
@@ -51473,14 +51498,14 @@ var I2 = "propagation", L6e = new M6e(), N6e = (
51473
51498
  zp(M2, Ma.instance()), this._proxyTracerProvider = new $I();
51474
51499
  }, e;
51475
51500
  })()
51476
- ), oi = j6e.getInstance();
51501
+ ), oi = $6e.getInstance();
51477
51502
  function Ri(e) {
51478
51503
  return e === null ? "null" : Array.isArray(e) ? "array" : typeof e;
51479
51504
  }
51480
51505
  function Nu(e) {
51481
51506
  return Ri(e) === "object";
51482
51507
  }
51483
- function $6e(e) {
51508
+ function B6e(e) {
51484
51509
  return Array.isArray(e) && // must be at least one error
51485
51510
  e.length > 0 && // error has at least a message
51486
51511
  e.every((t) => "message" in t);
@@ -51488,7 +51513,7 @@ function $6e(e) {
51488
51513
  function BI(e, t) {
51489
51514
  return e.length < 124 ? e : t;
51490
51515
  }
51491
- const B6e = "graphql-transport-ws";
51516
+ const z6e = "graphql-transport-ws";
51492
51517
  var Io = /* @__PURE__ */ ((e) => (e[e.InternalServerError = 4500] = "InternalServerError", e[e.InternalClientError = 4005] = "InternalClientError", e[e.BadRequest = 4400] = "BadRequest", e[e.BadResponse = 4004] = "BadResponse", e[e.Unauthorized = 4401] = "Unauthorized", e[e.Forbidden = 4403] = "Forbidden", e[e.SubprotocolNotAcceptable = 4406] = "SubprotocolNotAcceptable", e[e.ConnectionInitialisationTimeout = 4408] = "ConnectionInitialisationTimeout", e[e.ConnectionAcknowledgementTimeout = 4504] = "ConnectionAcknowledgementTimeout", e[e.SubscriberAlreadyExists = 4409] = "SubscriberAlreadyExists", e[e.TooManyInitialisationRequests = 4429] = "TooManyInitialisationRequests", e))(Io || {}), Mo = /* @__PURE__ */ ((e) => (e.ConnectionInit = "connection_init", e.ConnectionAck = "connection_ack", e.Ping = "ping", e.Pong = "pong", e.Subscribe = "subscribe", e.Next = "next", e.Error = "error", e.Complete = "complete", e))(Mo || {});
51493
51518
  function BF(e) {
51494
51519
  if (!Nu(e))
@@ -51587,7 +51612,7 @@ function BF(e) {
51587
51612
  throw new Error(
51588
51613
  `"${e.type}" message requires a non-empty 'id' property`
51589
51614
  );
51590
- if (!$6e(e.payload))
51615
+ if (!B6e(e.payload))
51591
51616
  throw new Error(
51592
51617
  `"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(
51593
51618
  e.payload
@@ -51613,7 +51638,7 @@ function BF(e) {
51613
51638
  }
51614
51639
  return e;
51615
51640
  }
51616
- function z6e(e, t) {
51641
+ function F6e(e, t) {
51617
51642
  return BF(
51618
51643
  typeof e == "string" ? JSON.parse(e, t) : e
51619
51644
  );
@@ -51621,7 +51646,7 @@ function z6e(e, t) {
51621
51646
  function yd(e, t) {
51622
51647
  return BF(e), JSON.stringify(e, t);
51623
51648
  }
51624
- function F6e(e) {
51649
+ function W6e(e) {
51625
51650
  const {
51626
51651
  url: t,
51627
51652
  connectionParams: n,
@@ -51663,7 +51688,7 @@ function F6e(e) {
51663
51688
  } = e;
51664
51689
  let w;
51665
51690
  if (p) {
51666
- if (!U6e(p))
51691
+ if (!H6e(p))
51667
51692
  throw new Error("Invalid WebSocket implementation provided");
51668
51693
  w = p;
51669
51694
  } else typeof WebSocket < "u" ? w = WebSocket : typeof global < "u" ? w = global.WebSocket || // @ts-expect-error: Support more browsers
@@ -51735,7 +51760,7 @@ function F6e(e) {
51735
51760
  E.emit("connecting", j);
51736
51761
  const U = new x(
51737
51762
  typeof t == "function" ? await t() : t,
51738
- B6e
51763
+ z6e
51739
51764
  );
51740
51765
  let Z, fe;
51741
51766
  function pe() {
@@ -51780,7 +51805,7 @@ function F6e(e) {
51780
51805
  let _e = !1;
51781
51806
  U.onmessage = ({ data: Se }) => {
51782
51807
  try {
51783
- const k = z6e(Se, v);
51808
+ const k = F6e(Se, v);
51784
51809
  if (E.emit("message", k), k.type === "ping" || k.type === "pong") {
51785
51810
  E.emit(k.type, !0, k.payload), k.type === "pong" ? pe() : s || (U.send(
51786
51811
  yd(
@@ -51839,7 +51864,7 @@ function F6e(e) {
51839
51864
  ];
51840
51865
  }
51841
51866
  function J(L) {
51842
- if (k2(L) && (W6e(L.code) || [
51867
+ if (k2(L) && (U6e(L.code) || [
51843
51868
  Io.InternalServerError,
51844
51869
  Io.InternalClientError,
51845
51870
  Io.BadRequest,
@@ -51983,7 +52008,7 @@ class zI extends Error {
51983
52008
  function k2(e) {
51984
52009
  return Nu(e) && "code" in e && "reason" in e;
51985
52010
  }
51986
- function W6e(e) {
52011
+ function U6e(e) {
51987
52012
  return [
51988
52013
  1e3,
51989
52014
  // Normal Closure is not an erroneous close code
@@ -52001,19 +52026,19 @@ function W6e(e) {
52001
52026
  // Bad Gateway
52002
52027
  ].includes(e) ? !1 : e >= 1e3 && e <= 1999;
52003
52028
  }
52004
- function U6e(e) {
52029
+ function H6e(e) {
52005
52030
  return typeof e == "function" && "constructor" in e && "CLOSED" in e && "CLOSING" in e && "CONNECTING" in e && "OPEN" in e;
52006
52031
  }
52007
- const H6e = (e) => F6e({
52032
+ const V6e = (e) => W6e({
52008
52033
  url: e.WS_URL
52009
- }), V6e = (e, t, n) => NM.create((r) => H6e(n).subscribe(
52034
+ }), G6e = (e, t, n) => NM.create((r) => V6e(n).subscribe(
52010
52035
  {
52011
52036
  operationName: e.name,
52012
52037
  query: e.text,
52013
52038
  variables: t
52014
52039
  },
52015
52040
  r
52016
- )), G6e = (e, t, n) => NM.from(
52041
+ )), q6e = (e, t, n) => NM.from(
52017
52042
  jr.with(jr.active(), () => {
52018
52043
  const r = oi.getTracer("RelayNetwork").startSpan("GraphQL fetch");
52019
52044
  r.setAttribute("variables", JSON.stringify(t)), r.setAttribute("path", e.name);
@@ -52037,25 +52062,25 @@ const H6e = (e) => F6e({
52037
52062
  r.setStatus({ code: ec.ERROR }), r.recordException(JSON.stringify(o));
52038
52063
  }).finally(() => r.end());
52039
52064
  })
52040
- ), q6e = (e) => {
52065
+ ), K6e = (e) => {
52041
52066
  const t = e.id;
52042
52067
  return t !== null && typeof t != "string" ? String(t) : t;
52043
52068
  };
52044
- function K6e(e) {
52069
+ function Y6e(e) {
52045
52070
  return new pZ({
52046
52071
  network: vZ.create(
52047
- (t, n) => G6e(t, n, e),
52048
- (t, n) => V6e(t, n, e)
52072
+ (t, n) => q6e(t, n, e),
52073
+ (t, n) => G6e(t, n, e)
52049
52074
  ),
52050
52075
  store: new gZ(new mZ()),
52051
- getDataID: q6e
52076
+ getDataID: K6e
52052
52077
  });
52053
52078
  }
52054
- function qRe({ children: e }) {
52055
- const t = sS(), n = K6e(t);
52079
+ function KRe({ children: e }) {
52080
+ const t = sS(), n = Y6e(t);
52056
52081
  return /* @__PURE__ */ A(hX, { environment: n, children: e });
52057
52082
  }
52058
- const KRe = (e, t, n) => {
52083
+ const YRe = (e, t, n) => {
52059
52084
  const r = [];
52060
52085
  for (const i in e)
52061
52086
  if (Object.prototype.hasOwnProperty.call(e, i)) {
@@ -52074,7 +52099,7 @@ const KRe = (e, t, n) => {
52074
52099
  }
52075
52100
  return r;
52076
52101
  };
52077
- var Y6e = /* @__PURE__ */ ((e) => (e[e.Container = 1] = "Container", e[e.File = 2] = "File", e[e.Rad = 3] = "Rad", e))(Y6e || {});
52102
+ var X6e = /* @__PURE__ */ ((e) => (e[e.Container = 1] = "Container", e[e.File = 2] = "File", e[e.Rad = 3] = "Rad", e))(X6e || {});
52078
52103
  const gs = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 };
52079
52104
  function zF(e) {
52080
52105
  return "init" in e;
@@ -52097,11 +52122,11 @@ function FF(e) {
52097
52122
  var t;
52098
52123
  return Bm(e) && !!((t = $m.get(e)) != null && t[0]);
52099
52124
  }
52100
- function X6e(e) {
52125
+ function Z6e(e) {
52101
52126
  const t = $m.get(e);
52102
52127
  t?.[0] && (t[0] = !1, t[1].forEach((n) => n()));
52103
52128
  }
52104
- function Z6e(e, t) {
52129
+ function J6e(e, t) {
52105
52130
  let n = $m.get(e);
52106
52131
  if (!n) {
52107
52132
  n = [!0, /* @__PURE__ */ new Set()], $m.set(e, n);
@@ -52131,24 +52156,24 @@ function UF(e, t, n) {
52131
52156
  i.add(o);
52132
52157
  return i;
52133
52158
  }
52134
- const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e4e = (e, t) => {
52159
+ const Q6e = (e, t, ...n) => t.read(...n), e4e = (e, t, ...n) => t.write(...n), t4e = (e, t) => {
52135
52160
  if (t.INTERNAL_onInit)
52136
52161
  return t.INTERNAL_onInit(e);
52137
52162
  if (t.unstable_onInit)
52138
52163
  return console.warn(
52139
52164
  "[DEPRECATED] atom.unstable_onInit is renamed to atom.INTERNAL_onInit."
52140
52165
  ), t.unstable_onInit(e);
52141
- }, t4e = (e, t, n) => {
52166
+ }, n4e = (e, t, n) => {
52142
52167
  var r;
52143
52168
  return (r = t.onMount) == null ? void 0 : r.call(t, n);
52144
- }, n4e = (e, t) => {
52169
+ }, r4e = (e, t) => {
52145
52170
  var n;
52146
52171
  const r = ui(e), i = r[0], o = r[6], a = r[9];
52147
52172
  if ((gs ? "production" : void 0) !== "production" && !t)
52148
52173
  throw new Error("Atom is undefined or null");
52149
52174
  let s = i.get(t);
52150
52175
  return s || (s = { d: /* @__PURE__ */ new Map(), p: /* @__PURE__ */ new Set(), n: 0 }, i.set(t, s), (n = o.i) == null || n.call(o, t), a?.(e, t)), s;
52151
- }, r4e = (e) => {
52176
+ }, i4e = (e) => {
52152
52177
  const t = ui(e), n = t[1], r = t[3], i = t[4], o = t[5], a = t[6], s = t[13], u = [], c = (l) => {
52153
52178
  try {
52154
52179
  l();
@@ -52166,7 +52191,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
52166
52191
  } while (r.size || o.size || i.size);
52167
52192
  if (u.length)
52168
52193
  throw new AggregateError(u);
52169
- }, i4e = (e) => {
52194
+ }, o4e = (e) => {
52170
52195
  const t = ui(e), n = t[1], r = t[2], i = t[3], o = t[11], a = t[14], s = t[17], u = [], c = /* @__PURE__ */ new WeakSet(), l = /* @__PURE__ */ new WeakSet(), d = Array.from(i);
52171
52196
  for (; d.length; ) {
52172
52197
  const h = d[d.length - 1], p = o(e, h);
@@ -52196,7 +52221,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
52196
52221
  }
52197
52222
  m && (a(e, p), s(e, p)), r.delete(p);
52198
52223
  }
52199
- }, UE = /* @__PURE__ */ new WeakSet(), o4e = (e, t) => {
52224
+ }, UE = /* @__PURE__ */ new WeakSet(), a4e = (e, t) => {
52200
52225
  var n, r;
52201
52226
  const i = ui(e), o = i[1], a = i[2], s = i[3], u = i[6], c = i[7], l = i[11], d = i[12], h = i[13], p = i[14], y = i[16], m = i[17], v = l(e, t);
52202
52227
  if (FI(v)) {
@@ -52255,13 +52280,13 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
52255
52280
  const j = c(e, t, E, M);
52256
52281
  return (gs ? "production" : void 0) !== "production" && UE.has(e) && console.warn(
52257
52282
  "Detected store mutation during atom read. This is not supported."
52258
- ), zm(e, t, j), Bm(j) && (Z6e(j, () => O?.abort()), j.then(x, x)), (n = u.r) == null || n.call(u, t), v;
52283
+ ), zm(e, t, j), Bm(j) && (J6e(j, () => O?.abort()), j.then(x, x)), (n = u.r) == null || n.call(u, t), v;
52259
52284
  } catch (j) {
52260
52285
  return delete v.v, v.e = j, ++v.n, v;
52261
52286
  } finally {
52262
52287
  w = !1, D !== v.n && a.get(t) === D && (a.set(t, v.n), s.add(t), (r = u.c) == null || r.call(u, t));
52263
52288
  }
52264
- }, a4e = (e, t) => {
52289
+ }, s4e = (e, t) => {
52265
52290
  const n = ui(e), r = n[1], i = n[2], o = n[11], a = [t];
52266
52291
  for (; a.length; ) {
52267
52292
  const s = a.pop(), u = o(e, s);
@@ -52295,7 +52320,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
52295
52320
  } finally {
52296
52321
  p = !1;
52297
52322
  }
52298
- }, s4e = (e, t) => {
52323
+ }, u4e = (e, t) => {
52299
52324
  var n;
52300
52325
  const r = ui(e), i = r[1], o = r[3], a = r[6], s = r[11], u = r[15], c = r[18], l = r[19], d = s(e, t), h = i.get(t);
52301
52326
  if (h && !FF(d.v)) {
@@ -52352,7 +52377,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
52352
52377
  (n = a.m) == null || n.call(a, t);
52353
52378
  }
52354
52379
  return y;
52355
- }, u4e = (e, t) => {
52380
+ }, c4e = (e, t) => {
52356
52381
  var n, r;
52357
52382
  const i = ui(e), o = i[1], a = i[5], s = i[6], u = i[11], c = i[19], l = u(e, t);
52358
52383
  let d = o.get(t);
@@ -52383,18 +52408,18 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
52383
52408
  n,
52384
52409
  r(e, s)
52385
52410
  );
52386
- i.v = n, delete i.e, (!o || !Object.is(a, i.v)) && (++i.n, Bm(a) && X6e(a));
52387
- }, c4e = (e, t) => {
52411
+ i.v = n, delete i.e, (!o || !Object.is(a, i.v)) && (++i.n, Bm(a) && Z6e(a));
52412
+ }, l4e = (e, t) => {
52388
52413
  const n = ui(e)[14];
52389
52414
  return jm(n(e, t));
52390
- }, l4e = (e, t, ...n) => {
52415
+ }, f4e = (e, t, ...n) => {
52391
52416
  const r = ui(e), i = r[12], o = r[13], a = r[16];
52392
52417
  try {
52393
52418
  return a(e, t, ...n);
52394
52419
  } finally {
52395
52420
  o(e), i(e);
52396
52421
  }
52397
- }, f4e = (e, t, n) => {
52422
+ }, d4e = (e, t, n) => {
52398
52423
  const r = ui(e), i = r[12], o = r[18], a = r[19], u = o(e, t).l;
52399
52424
  return u.add(n), i(e), () => {
52400
52425
  u.delete(n), a(e, t), i(e);
@@ -52407,7 +52432,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
52407
52432
  );
52408
52433
  return t;
52409
52434
  };
52410
- function d4e(...e) {
52435
+ function h4e(...e) {
52411
52436
  const t = {
52412
52437
  get(r) {
52413
52438
  const i = ui(t)[21];
@@ -52438,59 +52463,59 @@ function d4e(...e) {
52438
52463
  {},
52439
52464
  // storeHooks
52440
52465
  // atom interceptors
52441
- J6e,
52442
52466
  Q6e,
52443
52467
  e4e,
52444
52468
  t4e,
52445
- // building-block functions
52446
52469
  n4e,
52470
+ // building-block functions
52447
52471
  r4e,
52448
52472
  i4e,
52449
52473
  o4e,
52450
52474
  a4e,
52451
- HF,
52452
52475
  s4e,
52453
- VF,
52476
+ HF,
52454
52477
  u4e,
52455
- zm,
52478
+ VF,
52456
52479
  c4e,
52480
+ zm,
52457
52481
  l4e,
52458
52482
  f4e,
52483
+ d4e,
52459
52484
  void 0
52460
52485
  ].map((r, i) => e[i] || r);
52461
52486
  return GF.set(t, Object.freeze(n)), t;
52462
52487
  }
52463
52488
  const qF = {};
52464
- let h4e = 0;
52465
- function p4e(e, t) {
52466
- const n = `atom${++h4e}`, r = {
52489
+ let p4e = 0;
52490
+ function g4e(e, t) {
52491
+ const n = `atom${++p4e}`, r = {
52467
52492
  toString() {
52468
52493
  return (qF ? "production" : void 0) !== "production" && this.debugLabel ? n + ":" + this.debugLabel : n;
52469
52494
  }
52470
52495
  };
52471
- return typeof e == "function" ? r.read = e : (r.init = e, r.read = g4e, r.write = v4e), r;
52496
+ return typeof e == "function" ? r.read = e : (r.init = e, r.read = v4e, r.write = m4e), r;
52472
52497
  }
52473
- function g4e(e) {
52498
+ function v4e(e) {
52474
52499
  return e(this);
52475
52500
  }
52476
- function v4e(e, t, n) {
52501
+ function m4e(e, t, n) {
52477
52502
  return t(
52478
52503
  this,
52479
52504
  typeof n == "function" ? n(e(this)) : n
52480
52505
  );
52481
52506
  }
52482
- function m4e() {
52483
- return d4e();
52507
+ function y4e() {
52508
+ return h4e();
52484
52509
  }
52485
52510
  let bd;
52486
- function y4e() {
52487
- return bd || (bd = m4e(), (qF ? "production" : void 0) !== "production" && (globalThis.__JOTAI_DEFAULT_STORE__ || (globalThis.__JOTAI_DEFAULT_STORE__ = bd), globalThis.__JOTAI_DEFAULT_STORE__ !== bd && console.warn(
52511
+ function b4e() {
52512
+ return bd || (bd = y4e(), (qF ? "production" : void 0) !== "production" && (globalThis.__JOTAI_DEFAULT_STORE__ || (globalThis.__JOTAI_DEFAULT_STORE__ = bd), globalThis.__JOTAI_DEFAULT_STORE__ !== bd && console.warn(
52488
52513
  "Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"
52489
52514
  ))), bd;
52490
52515
  }
52491
- const YRe = {
52516
+ const XRe = {
52492
52517
  createState: (e) => {
52493
- const t = p4e(e), n = y4e();
52518
+ const t = g4e(e), n = b4e();
52494
52519
  return {
52495
52520
  get: () => n.get(t),
52496
52521
  set: (r) => n.set(t, r),
@@ -52505,7 +52530,7 @@ const YRe = {
52505
52530
  },
52506
52531
  type: "jotaiAdapter"
52507
52532
  };
52508
- function XRe() {
52533
+ function ZRe() {
52509
52534
  return {
52510
52535
  createState: (e) => {
52511
52536
  const t = gX({
@@ -52527,7 +52552,7 @@ function XRe() {
52527
52552
  type: "recoilAdapter"
52528
52553
  };
52529
52554
  }
52530
- const b4e = Pn([
52555
+ const w4e = Pn([
52531
52556
  !1,
52532
52557
  {
52533
52558
  lockInIdleMode: () => {
@@ -52538,11 +52563,11 @@ const b4e = Pn([
52538
52563
  // to match the type and avoid errors.
52539
52564
  }
52540
52565
  ]);
52541
- function ZRe({ timer: e, children: t }) {
52566
+ function JRe({ timer: e, children: t }) {
52542
52567
  const n = EZ(e);
52543
- return /* @__PURE__ */ A(b4e.Provider, { value: n, children: t });
52568
+ return /* @__PURE__ */ A(w4e.Provider, { value: n, children: t });
52544
52569
  }
52545
- const JRe = (e, t, n) => {
52570
+ const QRe = (e, t, n) => {
52546
52571
  if (!zh(e)) return;
52547
52572
  const r = new Date(e);
52548
52573
  switch (n) {
@@ -52576,11 +52601,11 @@ const JRe = (e, t, n) => {
52576
52601
  return r;
52577
52602
  };
52578
52603
  var KF = /* @__PURE__ */ ((e) => (e[e.days = 86400] = "days", e[e.hours = 3600] = "hours", e[e.minutes = 6e4] = "minutes", e[e.seconds = 1e3] = "seconds", e[e.milliseconds = 1] = "milliseconds", e))(KF || {});
52579
- const w4e = (e, t, n = "milliseconds") => {
52604
+ const _4e = (e, t, n = "milliseconds") => {
52580
52605
  if (!zh(e) || !zh(t)) return;
52581
52606
  const r = new Date(e).getTime();
52582
52607
  return (new Date(t).getTime() - r) / KF[n];
52583
- }, _4e = (e) => {
52608
+ }, x4e = (e) => {
52584
52609
  if (e == null)
52585
52610
  return "";
52586
52611
  const t = Math.floor(e / (3600 * 24 * 365)), n = Math.floor(e % (3600 * 24 * 365) / (3600 * 24 * 30)), r = Math.floor(e % (3600 * 24 * 30) / (3600 * 24)), i = Math.floor(e % (3600 * 24) / 3600), o = Math.floor(e % 3600 / 60), a = Math.floor(e % 60);
@@ -52592,7 +52617,7 @@ const w4e = (e, t, n = "milliseconds") => {
52592
52617
  o ? `${o}min` : "",
52593
52618
  a ? `${a}sec` : ""
52594
52619
  ].filter(Boolean).join(" ");
52595
- }, QRe = (e, t, n) => {
52620
+ }, eDe = (e, t, n) => {
52596
52621
  if (!zh(e)) throw new Error("Invalid Date");
52597
52622
  const r = new Date(e);
52598
52623
  switch (n) {
@@ -52624,12 +52649,12 @@ const w4e = (e, t, n = "milliseconds") => {
52624
52649
  throw new Error(`Unsupported time unit: ${n}`);
52625
52650
  }
52626
52651
  return r;
52627
- }, eDe = (e, t) => {
52652
+ }, tDe = (e, t) => {
52628
52653
  if (!e) return "--";
52629
- const r = w4e(e, t || /* @__PURE__ */ new Date(), "seconds");
52630
- return _4e(r);
52631
- }, tDe = (e, t) => e <= 1 ? 12 : Math.floor(12 / t), nDe = (e, t) => (e & t) === t;
52632
- function rDe(e) {
52654
+ const r = _4e(e, t || /* @__PURE__ */ new Date(), "seconds");
52655
+ return x4e(r);
52656
+ }, nDe = (e, t) => e <= 1 ? 12 : Math.floor(12 / t), rDe = (e, t) => (e & t) === t;
52657
+ function iDe(e) {
52633
52658
  const t = {};
52634
52659
  function n(r) {
52635
52660
  Object.prototype.hasOwnProperty.call(r, "edges") && (t.edges = r.edges);
@@ -52639,45 +52664,45 @@ function rDe(e) {
52639
52664
  return n(e), t;
52640
52665
  }
52641
52666
  const YF = L3("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
52642
- function x4e(e) {
52667
+ function E4e(e) {
52643
52668
  return e.setValue(YF, !0);
52644
52669
  }
52645
52670
  function F3(e) {
52646
52671
  return e.getValue(YF) === !0;
52647
52672
  }
52648
- const E4e = "=", HE = ";", VE = ",", R2 = "baggage", S4e = 180, O4e = 4096, A4e = 8192;
52649
- function P4e(e) {
52673
+ const S4e = "=", HE = ";", VE = ",", R2 = "baggage", O4e = 180, A4e = 4096, P4e = 8192;
52674
+ function T4e(e) {
52650
52675
  return e.reduce((t, n) => {
52651
52676
  const r = `${t}${t !== "" ? VE : ""}${n}`;
52652
- return r.length > A4e ? t : r;
52677
+ return r.length > P4e ? t : r;
52653
52678
  }, "");
52654
52679
  }
52655
- function T4e(e) {
52680
+ function C4e(e) {
52656
52681
  return e.getAllEntries().map(([t, n]) => {
52657
52682
  let r = `${encodeURIComponent(t)}=${encodeURIComponent(n.value)}`;
52658
52683
  return n.metadata !== void 0 && (r += HE + n.metadata.toString()), r;
52659
52684
  });
52660
52685
  }
52661
- function C4e(e) {
52686
+ function I4e(e) {
52662
52687
  const t = e.split(HE);
52663
52688
  if (t.length <= 0)
52664
52689
  return;
52665
52690
  const n = t.shift();
52666
52691
  if (!n)
52667
52692
  return;
52668
- const r = n.indexOf(E4e);
52693
+ const r = n.indexOf(S4e);
52669
52694
  if (r <= 0)
52670
52695
  return;
52671
52696
  const i = decodeURIComponent(n.substring(0, r).trim()), o = decodeURIComponent(n.substring(r + 1).trim());
52672
52697
  let a;
52673
- return t.length > 0 && (a = H5e(t.join(HE))), { key: i, value: o, metadata: a };
52698
+ return t.length > 0 && (a = V5e(t.join(HE))), { key: i, value: o, metadata: a };
52674
52699
  }
52675
- class I4e {
52700
+ class M4e {
52676
52701
  inject(t, n, r) {
52677
52702
  const i = ya.getBaggage(t);
52678
52703
  if (!i || F3(t))
52679
52704
  return;
52680
- const o = T4e(i).filter((s) => s.length <= O4e).slice(0, S4e), a = P4e(o);
52705
+ const o = C4e(i).filter((s) => s.length <= A4e).slice(0, O4e), a = T4e(o);
52681
52706
  a.length > 0 && r.set(n, R2, a);
52682
52707
  }
52683
52708
  extract(t, n, r) {
@@ -52686,7 +52711,7 @@ class I4e {
52686
52711
  return t;
52687
52712
  const a = {};
52688
52713
  return o.length === 0 || (o.split(VE).forEach((u) => {
52689
- const c = C4e(u);
52714
+ const c = I4e(u);
52690
52715
  if (c) {
52691
52716
  const l = { value: c.value };
52692
52717
  c.metadata && (l.metadata = c.metadata), a[c.key] = l;
@@ -52704,7 +52729,7 @@ function Zv(e) {
52704
52729
  for (const n in e) {
52705
52730
  if (!Object.prototype.hasOwnProperty.call(e, n))
52706
52731
  continue;
52707
- if (!M4e(n)) {
52732
+ if (!k4e(n)) {
52708
52733
  Ht.warn(`Invalid attribute key: ${n}`);
52709
52734
  continue;
52710
52735
  }
@@ -52717,13 +52742,13 @@ function Zv(e) {
52717
52742
  }
52718
52743
  return t;
52719
52744
  }
52720
- function M4e(e) {
52745
+ function k4e(e) {
52721
52746
  return typeof e == "string" && e !== "";
52722
52747
  }
52723
52748
  function Fm(e) {
52724
- return e == null ? !0 : Array.isArray(e) ? k4e(e) : XF(typeof e);
52749
+ return e == null ? !0 : Array.isArray(e) ? R4e(e) : XF(typeof e);
52725
52750
  }
52726
- function k4e(e) {
52751
+ function R4e(e) {
52727
52752
  let t;
52728
52753
  for (const n of e) {
52729
52754
  if (n == null)
@@ -52751,15 +52776,15 @@ function XF(e) {
52751
52776
  }
52752
52777
  return !1;
52753
52778
  }
52754
- function R4e() {
52779
+ function D4e() {
52755
52780
  return (e) => {
52756
- Ht.error(D4e(e));
52781
+ Ht.error(L4e(e));
52757
52782
  };
52758
52783
  }
52759
- function D4e(e) {
52760
- return typeof e == "string" ? e : JSON.stringify(L4e(e));
52761
- }
52762
52784
  function L4e(e) {
52785
+ return typeof e == "string" ? e : JSON.stringify(N4e(e));
52786
+ }
52787
+ function N4e(e) {
52763
52788
  const t = {};
52764
52789
  let n = e;
52765
52790
  for (; n !== null; )
@@ -52771,21 +52796,21 @@ function L4e(e) {
52771
52796
  }), n = Object.getPrototypeOf(n);
52772
52797
  return t;
52773
52798
  }
52774
- let N4e = R4e();
52799
+ let j4e = D4e();
52775
52800
  function Rl(e) {
52776
52801
  try {
52777
- N4e(e);
52802
+ j4e(e);
52778
52803
  } catch {
52779
52804
  }
52780
52805
  }
52781
- const Dl = performance, j4e = "2.2.0", $4e = "error.type", D2 = "exception.message", B4e = "exception.stacktrace", L2 = "exception.type", z4e = "http.request.method", F4e = "http.request.method_original", W4e = "http.response.status_code", U4e = "server.address", H4e = "server.port", ZF = "service.name", GE = "telemetry.sdk.language", V4e = "webjs", qE = "telemetry.sdk.name", KE = "telemetry.sdk.version", G4e = "url.full", q4e = "process.runtime.name", N2 = {
52806
+ const Dl = performance, $4e = "2.2.0", B4e = "error.type", D2 = "exception.message", z4e = "exception.stacktrace", L2 = "exception.type", F4e = "http.request.method", W4e = "http.request.method_original", U4e = "http.response.status_code", H4e = "server.address", V4e = "server.port", ZF = "service.name", GE = "telemetry.sdk.language", G4e = "webjs", qE = "telemetry.sdk.name", KE = "telemetry.sdk.version", q4e = "url.full", K4e = "process.runtime.name", N2 = {
52782
52807
  [qE]: "opentelemetry",
52783
- [q4e]: "browser",
52784
- [GE]: V4e,
52785
- [KE]: j4e
52786
- }, K4e = 9, Y4e = 6, X4e = Math.pow(10, Y4e), Wm = Math.pow(10, K4e);
52808
+ [K4e]: "browser",
52809
+ [GE]: G4e,
52810
+ [KE]: $4e
52811
+ }, Y4e = 9, X4e = 6, Z4e = Math.pow(10, X4e), Wm = Math.pow(10, Y4e);
52787
52812
  function eu(e) {
52788
- const t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 * X4e);
52813
+ const t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 * Z4e);
52789
52814
  return [n, r];
52790
52815
  }
52791
52816
  function W3() {
@@ -52809,11 +52834,11 @@ function WI(e) {
52809
52834
  return eu(e.getTime());
52810
52835
  throw TypeError("Invalid input type");
52811
52836
  }
52812
- function Z4e(e, t) {
52837
+ function J4e(e, t) {
52813
52838
  let n = t[0] - e[0], r = t[1] - e[1];
52814
52839
  return r < 0 && (n -= 1, r += Wm), [n, r];
52815
52840
  }
52816
- function J4e(e) {
52841
+ function Q4e(e) {
52817
52842
  return e[0] * Wm + e[1];
52818
52843
  }
52819
52844
  function YE(e) {
@@ -52833,7 +52858,7 @@ var so;
52833
52858
  (function(e) {
52834
52859
  e[e.SUCCESS = 0] = "SUCCESS", e[e.FAILED = 1] = "FAILED";
52835
52860
  })(so || (so = {}));
52836
- class Q4e {
52861
+ class eCe {
52837
52862
  _propagators;
52838
52863
  _fields;
52839
52864
  /**
@@ -52884,14 +52909,14 @@ class Q4e {
52884
52909
  return this._fields.slice();
52885
52910
  }
52886
52911
  }
52887
- const XE = "[_0-9a-z-*/]", eCe = `[a-z]${XE}{0,255}`, tCe = `[a-z0-9]${XE}{0,240}@[a-z]${XE}{0,13}`, nCe = new RegExp(`^(?:${eCe}|${tCe})$`), rCe = /^[ -~]{0,255}[!-~]$/, iCe = /,|=/;
52888
- function oCe(e) {
52889
- return nCe.test(e);
52890
- }
52912
+ const XE = "[_0-9a-z-*/]", tCe = `[a-z]${XE}{0,255}`, nCe = `[a-z0-9]${XE}{0,240}@[a-z]${XE}{0,13}`, rCe = new RegExp(`^(?:${tCe}|${nCe})$`), iCe = /^[ -~]{0,255}[!-~]$/, oCe = /,|=/;
52891
52913
  function aCe(e) {
52892
- return rCe.test(e) && !iCe.test(e);
52914
+ return rCe.test(e);
52893
52915
  }
52894
- const HI = 32, sCe = 512, VI = ",", GI = "=";
52916
+ function sCe(e) {
52917
+ return iCe.test(e) && !oCe.test(e);
52918
+ }
52919
+ const HI = 32, uCe = 512, VI = ",", GI = "=";
52895
52920
  class H3 {
52896
52921
  _internalState = /* @__PURE__ */ new Map();
52897
52922
  constructor(t) {
@@ -52912,11 +52937,11 @@ class H3 {
52912
52937
  return this._keys().reduce((t, n) => (t.push(n + GI + this.get(n)), t), []).join(VI);
52913
52938
  }
52914
52939
  _parse(t) {
52915
- t.length > sCe || (this._internalState = t.split(VI).reverse().reduce((n, r) => {
52940
+ t.length > uCe || (this._internalState = t.split(VI).reverse().reduce((n, r) => {
52916
52941
  const i = r.trim(), o = i.indexOf(GI);
52917
52942
  if (o !== -1) {
52918
52943
  const a = i.slice(0, o), s = i.slice(o + 1, r.length);
52919
- oCe(a) && aCe(s) && n.set(a, s);
52944
+ aCe(a) && sCe(s) && n.set(a, s);
52920
52945
  }
52921
52946
  return n;
52922
52947
  }, /* @__PURE__ */ new Map()), this._internalState.size > HI && (this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, HI))));
@@ -52929,21 +52954,21 @@ class H3 {
52929
52954
  return t._internalState = new Map(this._internalState), t;
52930
52955
  }
52931
52956
  }
52932
- const j2 = "traceparent", $2 = "tracestate", uCe = "00", cCe = "(?!ff)[\\da-f]{2}", lCe = "(?![0]{32})[\\da-f]{32}", fCe = "(?![0]{16})[\\da-f]{16}", dCe = "[\\da-f]{2}", hCe = new RegExp(`^\\s?(${cCe})-(${lCe})-(${fCe})-(${dCe})(-.*)?\\s?$`);
52933
- function pCe(e) {
52934
- const t = hCe.exec(e);
52957
+ const j2 = "traceparent", $2 = "tracestate", cCe = "00", lCe = "(?!ff)[\\da-f]{2}", fCe = "(?![0]{32})[\\da-f]{32}", dCe = "(?![0]{16})[\\da-f]{16}", hCe = "[\\da-f]{2}", pCe = new RegExp(`^\\s?(${lCe})-(${fCe})-(${dCe})-(${hCe})(-.*)?\\s?$`);
52958
+ function gCe(e) {
52959
+ const t = pCe.exec(e);
52935
52960
  return !t || t[1] === "00" && t[5] ? null : {
52936
52961
  traceId: t[2],
52937
52962
  spanId: t[3],
52938
52963
  traceFlags: parseInt(t[4], 16)
52939
52964
  };
52940
52965
  }
52941
- class gCe {
52966
+ class vCe {
52942
52967
  inject(t, n, r) {
52943
52968
  const i = oi.getSpanContext(t);
52944
52969
  if (!i || F3(t) || !Fp(i))
52945
52970
  return;
52946
- const o = `${uCe}-${i.traceId}-${i.spanId}-0${Number(i.traceFlags || Ps.NONE).toString(16)}`;
52971
+ const o = `${cCe}-${i.traceId}-${i.spanId}-0${Number(i.traceFlags || Ps.NONE).toString(16)}`;
52947
52972
  r.set(n, j2, o), i.traceState && r.set(n, $2, i.traceState.serialize());
52948
52973
  }
52949
52974
  extract(t, n, r) {
@@ -52953,7 +52978,7 @@ class gCe {
52953
52978
  const o = Array.isArray(i) ? i[0] : i;
52954
52979
  if (typeof o != "string")
52955
52980
  return t;
52956
- const a = pCe(o);
52981
+ const a = gCe(o);
52957
52982
  if (!a)
52958
52983
  return t;
52959
52984
  a.isRemote = !0;
@@ -52968,23 +52993,23 @@ class gCe {
52968
52993
  return [j2, $2];
52969
52994
  }
52970
52995
  }
52971
- const vCe = "[object Object]", mCe = "[object Null]", yCe = "[object Undefined]", bCe = Function.prototype, eW = bCe.toString, wCe = eW.call(Object), _Ce = Object.getPrototypeOf, tW = Object.prototype, nW = tW.hasOwnProperty, Bu = Symbol ? Symbol.toStringTag : void 0, rW = tW.toString;
52996
+ const mCe = "[object Object]", yCe = "[object Null]", bCe = "[object Undefined]", wCe = Function.prototype, eW = wCe.toString, _Ce = eW.call(Object), xCe = Object.getPrototypeOf, tW = Object.prototype, nW = tW.hasOwnProperty, Bu = Symbol ? Symbol.toStringTag : void 0, rW = tW.toString;
52972
52997
  function qI(e) {
52973
- if (!xCe(e) || ECe(e) !== vCe)
52998
+ if (!ECe(e) || SCe(e) !== mCe)
52974
52999
  return !1;
52975
- const t = _Ce(e);
53000
+ const t = xCe(e);
52976
53001
  if (t === null)
52977
53002
  return !0;
52978
53003
  const n = nW.call(t, "constructor") && t.constructor;
52979
- return typeof n == "function" && n instanceof n && eW.call(n) === wCe;
52980
- }
52981
- function xCe(e) {
52982
- return e != null && typeof e == "object";
53004
+ return typeof n == "function" && n instanceof n && eW.call(n) === _Ce;
52983
53005
  }
52984
53006
  function ECe(e) {
52985
- return e == null ? e === void 0 ? yCe : mCe : Bu && Bu in Object(e) ? SCe(e) : OCe(e);
53007
+ return e != null && typeof e == "object";
52986
53008
  }
52987
53009
  function SCe(e) {
53010
+ return e == null ? e === void 0 ? bCe : yCe : Bu && Bu in Object(e) ? OCe(e) : ACe(e);
53011
+ }
53012
+ function OCe(e) {
52988
53013
  const t = nW.call(e, Bu), n = e[Bu];
52989
53014
  let r = !1;
52990
53015
  try {
@@ -52994,10 +53019,10 @@ function SCe(e) {
52994
53019
  const i = rW.call(e);
52995
53020
  return r && (t ? e[Bu] = n : delete e[Bu]), i;
52996
53021
  }
52997
- function OCe(e) {
53022
+ function ACe(e) {
52998
53023
  return rW.call(e);
52999
53024
  }
53000
- const ACe = 20;
53025
+ const PCe = 20;
53001
53026
  function iW(...e) {
53002
53027
  let t = e.shift();
53003
53028
  const n = /* @__PURE__ */ new WeakMap();
@@ -53010,7 +53035,7 @@ function B2(e) {
53010
53035
  }
53011
53036
  function oW(e, t, n = 0, r) {
53012
53037
  let i;
53013
- if (!(n > ACe)) {
53038
+ if (!(n > PCe)) {
53014
53039
  if (n++, Jv(e) || Jv(t) || aW(t))
53015
53040
  i = B2(t);
53016
53041
  else if (Um(e)) {
@@ -53026,7 +53051,7 @@ function oW(e, t, n = 0, r) {
53026
53051
  }
53027
53052
  } else if (wd(e))
53028
53053
  if (wd(t)) {
53029
- if (!PCe(e, t))
53054
+ if (!TCe(e, t))
53030
53055
  return t;
53031
53056
  i = Object.assign({}, e);
53032
53057
  const o = Object.keys(t);
@@ -53073,7 +53098,7 @@ function wd(e) {
53073
53098
  function Jv(e) {
53074
53099
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e > "u" || e instanceof Date || e instanceof RegExp || e === null;
53075
53100
  }
53076
- function PCe(e, t) {
53101
+ function TCe(e, t) {
53077
53102
  return !(!qI(e) || !qI(t));
53078
53103
  }
53079
53104
  class V3 extends Error {
@@ -53081,7 +53106,7 @@ class V3 extends Error {
53081
53106
  super(t), Object.setPrototypeOf(this, V3.prototype);
53082
53107
  }
53083
53108
  }
53084
- function TCe(e, t) {
53109
+ function CCe(e, t) {
53085
53110
  let n;
53086
53111
  const r = new Promise(function(o, a) {
53087
53112
  n = setTimeout(function() {
@@ -53092,7 +53117,7 @@ function TCe(e, t) {
53092
53117
  throw clearTimeout(n), i;
53093
53118
  });
53094
53119
  }
53095
- class CCe {
53120
+ class ICe {
53096
53121
  _promise;
53097
53122
  _resolve;
53098
53123
  _reject;
@@ -53115,7 +53140,7 @@ class G3 {
53115
53140
  _callback;
53116
53141
  _that;
53117
53142
  _isCalled = !1;
53118
- _deferred = new CCe();
53143
+ _deferred = new ICe();
53119
53144
  constructor(t, n) {
53120
53145
  this._callback = t, this._that = n;
53121
53146
  }
@@ -53137,9 +53162,9 @@ class G3 {
53137
53162
  return this._deferred.promise;
53138
53163
  }
53139
53164
  }
53140
- function ICe(e, t) {
53165
+ function MCe(e, t) {
53141
53166
  return new Promise((n) => {
53142
- jr.with(x4e(jr.active()), () => {
53167
+ jr.with(E4e(jr.active()), () => {
53143
53168
  e.export(t, (r) => {
53144
53169
  n(r);
53145
53170
  });
@@ -53147,9 +53172,9 @@ function ICe(e, t) {
53147
53172
  });
53148
53173
  }
53149
53174
  const sW = {
53150
- _export: ICe
53175
+ _export: MCe
53151
53176
  };
53152
- function MCe() {
53177
+ function kCe() {
53153
53178
  return "unknown_service";
53154
53179
  }
53155
53180
  const Fd = (e) => e !== null && typeof e == "object" && typeof e.then == "function";
@@ -53164,7 +53189,7 @@ class Hm {
53164
53189
  }
53165
53190
  constructor(t, n) {
53166
53191
  const r = t.attributes ?? {};
53167
- this._rawAttributes = Object.entries(r).map(([i, o]) => (Fd(o) && (this._asyncAttributesPending = !0), [i, o])), this._rawAttributes = YI(this._rawAttributes), this._schemaUrl = kCe(n?.schemaUrl);
53192
+ this._rawAttributes = Object.entries(r).map(([i, o]) => (Fd(o) && (this._asyncAttributesPending = !0), [i, o])), this._rawAttributes = YI(this._rawAttributes), this._schemaUrl = RCe(n?.schemaUrl);
53168
53193
  }
53169
53194
  get asyncAttributesPending() {
53170
53195
  return this._asyncAttributesPending;
@@ -53200,7 +53225,7 @@ class Hm {
53200
53225
  merge(t) {
53201
53226
  if (t == null)
53202
53227
  return this;
53203
- const n = RCe(this, t), r = n ? { schemaUrl: n } : void 0;
53228
+ const n = DCe(this, t), r = n ? { schemaUrl: n } : void 0;
53204
53229
  return Hm.FromAttributeList([...t.getRawAttributes(), ...this.getRawAttributes()], r);
53205
53230
  }
53206
53231
  }
@@ -53209,7 +53234,7 @@ function uW(e, t) {
53209
53234
  }
53210
53235
  function cW() {
53211
53236
  return uW({
53212
- [ZF]: MCe(),
53237
+ [ZF]: kCe(),
53213
53238
  [GE]: N2[GE],
53214
53239
  [qE]: N2[qE],
53215
53240
  [KE]: N2[KE]
@@ -53223,12 +53248,12 @@ function YI(e) {
53223
53248
  })
53224
53249
  ] : [t, n]);
53225
53250
  }
53226
- function kCe(e) {
53251
+ function RCe(e) {
53227
53252
  if (typeof e == "string" || e === void 0)
53228
53253
  return e;
53229
53254
  Ht.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.", e);
53230
53255
  }
53231
- function RCe(e, t) {
53256
+ function DCe(e, t) {
53232
53257
  const n = e?.schemaUrl, r = t?.schemaUrl, i = n === void 0 || n === "", o = r === void 0 || r === "";
53233
53258
  if (i)
53234
53259
  return r;
@@ -53236,8 +53261,8 @@ function RCe(e, t) {
53236
53261
  return n;
53237
53262
  Ht.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.', n, r);
53238
53263
  }
53239
- const DCe = "exception";
53240
- class LCe {
53264
+ const LCe = "exception";
53265
+ class NCe {
53241
53266
  // Below properties are included to implement ReadableSpan for export
53242
53267
  // purposes but are not intended to be written-to directly.
53243
53268
  _spanContext;
@@ -53329,7 +53354,7 @@ class LCe {
53329
53354
  Ht.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);
53330
53355
  return;
53331
53356
  }
53332
- this._ended = !0, this.endTime = this._getTime(t), this._duration = Z4e(this.startTime, this.endTime), this._duration[0] < 0 && (Ht.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.", this.startTime, this.endTime), this.endTime = this.startTime.slice(), this._duration = [0, 0]), this._droppedEventsCount > 0 && Ht.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`), this._spanProcessor.onEnd(this);
53357
+ this._ended = !0, this.endTime = this._getTime(t), this._duration = J4e(this.startTime, this.endTime), this._duration[0] < 0 && (Ht.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.", this.startTime, this.endTime), this.endTime = this.startTime.slice(), this._duration = [0, 0]), this._droppedEventsCount > 0 && Ht.warn(`Dropped ${this._droppedEventsCount} events because eventCountLimit reached`), this._spanProcessor.onEnd(this);
53333
53358
  }
53334
53359
  _getTime(t) {
53335
53360
  if (typeof t == "number" && t <= Dl.now())
@@ -53350,7 +53375,7 @@ class LCe {
53350
53375
  }
53351
53376
  recordException(t, n) {
53352
53377
  const r = {};
53353
- typeof t == "string" ? r[D2] = t : t && (t.code ? r[L2] = t.code.toString() : t.name && (r[L2] = t.name), t.message && (r[D2] = t.message), t.stack && (r[B4e] = t.stack)), r[L2] || r[D2] ? this.addEvent(DCe, r, n) : Ht.warn(`Failed to record an exception ${t}`);
53378
+ typeof t == "string" ? r[D2] = t : t && (t.code ? r[L2] = t.code.toString() : t.name && (r[L2] = t.name), t.message && (r[D2] = t.message), t.stack && (r[z4e] = t.stack)), r[L2] || r[D2] ? this.addEvent(LCe, r, n) : Ht.warn(`Failed to record an exception ${t}`);
53354
53379
  }
53355
53380
  get duration() {
53356
53381
  return this._duration;
@@ -53517,29 +53542,29 @@ function fW() {
53517
53542
  function JI() {
53518
53543
  return Ht.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${ZI}.`), ZI;
53519
53544
  }
53520
- const NCe = 128, jCe = 1 / 0;
53521
- function $Ce(e) {
53545
+ const jCe = 128, $Ce = 1 / 0;
53546
+ function BCe(e) {
53522
53547
  const t = {
53523
53548
  sampler: fW()
53524
53549
  }, n = lW(), r = Object.assign({}, n, t, e);
53525
53550
  return r.generalLimits = Object.assign({}, n.generalLimits, e.generalLimits || {}), r.spanLimits = Object.assign({}, n.spanLimits, e.spanLimits || {}), r;
53526
53551
  }
53527
- function BCe(e) {
53552
+ function zCe(e) {
53528
53553
  const t = Object.assign({}, e.spanLimits);
53529
- return t.attributeCountLimit = e.spanLimits?.attributeCountLimit ?? e.generalLimits?.attributeCountLimit ?? void 0 ?? void 0 ?? NCe, t.attributeValueLengthLimit = e.spanLimits?.attributeValueLengthLimit ?? e.generalLimits?.attributeValueLengthLimit ?? void 0 ?? void 0 ?? jCe, Object.assign({}, e, { spanLimits: t });
53554
+ return t.attributeCountLimit = e.spanLimits?.attributeCountLimit ?? e.generalLimits?.attributeCountLimit ?? void 0 ?? void 0 ?? jCe, t.attributeValueLengthLimit = e.spanLimits?.attributeValueLengthLimit ?? e.generalLimits?.attributeValueLengthLimit ?? void 0 ?? void 0 ?? $Ce, Object.assign({}, e, { spanLimits: t });
53530
53555
  }
53531
- const zCe = 8, FCe = 16;
53532
- class WCe {
53556
+ const FCe = 8, WCe = 16;
53557
+ class UCe {
53533
53558
  /**
53534
53559
  * Returns a random 16-byte trace ID formatted/encoded as a 32 lowercase hex
53535
53560
  * characters corresponding to 128 bits.
53536
53561
  */
53537
- generateTraceId = QI(FCe);
53562
+ generateTraceId = QI(WCe);
53538
53563
  /**
53539
53564
  * Returns a random 8-byte span ID formatted/encoded as a 16 lowercase hex
53540
53565
  * characters corresponding to 64 bits.
53541
53566
  */
53542
- generateSpanId = QI(zCe);
53567
+ generateSpanId = QI(FCe);
53543
53568
  }
53544
53569
  const Av = Array(32);
53545
53570
  function QI(e) {
@@ -53549,7 +53574,7 @@ function QI(e) {
53549
53574
  return String.fromCharCode.apply(null, Av.slice(0, e * 2));
53550
53575
  };
53551
53576
  }
53552
- class UCe {
53577
+ class HCe {
53553
53578
  _sampler;
53554
53579
  _generalLimits;
53555
53580
  _spanLimits;
@@ -53561,8 +53586,8 @@ class UCe {
53561
53586
  * Constructs a new Tracer instance.
53562
53587
  */
53563
53588
  constructor(t, n, r, i) {
53564
- const o = $Ce(n);
53565
- this._sampler = o.sampler, this._generalLimits = o.generalLimits, this._spanLimits = o.spanLimits, this._idGenerator = n.idGenerator || new WCe(), this._resource = r, this._spanProcessor = i, this.instrumentationScope = t;
53589
+ const o = BCe(n);
53590
+ this._sampler = o.sampler, this._generalLimits = o.generalLimits, this._spanLimits = o.spanLimits, this._idGenerator = n.idGenerator || new UCe(), this._resource = r, this._spanProcessor = i, this.instrumentationScope = t;
53566
53591
  }
53567
53592
  /**
53568
53593
  * Starts a new Span or returns the default NoopSpan based on the sampling
@@ -53585,7 +53610,7 @@ class UCe {
53585
53610
  if (p.decision === Lm.NOT_RECORD)
53586
53611
  return Ht.debug("Recording is off, propagating context in a non-recording span"), oi.wrapSpanContext(m);
53587
53612
  const v = Zv(Object.assign(h, p.attributes));
53588
- return new LCe({
53613
+ return new NCe({
53589
53614
  resource: this._resource,
53590
53615
  scope: this.instrumentationScope,
53591
53616
  context: r,
@@ -53617,7 +53642,7 @@ class UCe {
53617
53642
  return this._spanLimits;
53618
53643
  }
53619
53644
  }
53620
- class HCe {
53645
+ class VCe {
53621
53646
  _spanProcessors;
53622
53647
  constructor(t) {
53623
53648
  this._spanProcessors = t;
@@ -53657,22 +53682,22 @@ var zu;
53657
53682
  (function(e) {
53658
53683
  e[e.resolved = 0] = "resolved", e[e.timeout = 1] = "timeout", e[e.error = 2] = "error", e[e.unresolved = 3] = "unresolved";
53659
53684
  })(zu || (zu = {}));
53660
- class VCe {
53685
+ class GCe {
53661
53686
  _config;
53662
53687
  _tracers = /* @__PURE__ */ new Map();
53663
53688
  _resource;
53664
53689
  _activeSpanProcessor;
53665
53690
  constructor(t = {}) {
53666
- const n = iW({}, lW(), BCe(t));
53691
+ const n = iW({}, lW(), zCe(t));
53667
53692
  this._resource = n.resource ?? cW(), this._config = Object.assign({}, n, {
53668
53693
  resource: this._resource
53669
53694
  });
53670
53695
  const r = [];
53671
- t.spanProcessors?.length && r.push(...t.spanProcessors), this._activeSpanProcessor = new HCe(r);
53696
+ t.spanProcessors?.length && r.push(...t.spanProcessors), this._activeSpanProcessor = new VCe(r);
53672
53697
  }
53673
53698
  getTracer(t, n, r) {
53674
53699
  const i = `${t}@${n || ""}:${r?.schemaUrl || ""}`;
53675
- return this._tracers.has(i) || this._tracers.set(i, new UCe({ name: t, version: n, schemaUrl: r?.schemaUrl }, this._config, this._resource, this._activeSpanProcessor)), this._tracers.get(i);
53700
+ return this._tracers.has(i) || this._tracers.set(i, new HCe({ name: t, version: n, schemaUrl: r?.schemaUrl }, this._config, this._resource, this._activeSpanProcessor)), this._tracers.get(i);
53676
53701
  }
53677
53702
  forceFlush() {
53678
53703
  const t = this._config.forceFlushTimeoutMillis, n = this._activeSpanProcessor._spanProcessors.map((r) => new Promise((i) => {
@@ -53697,7 +53722,7 @@ class VCe {
53697
53722
  return this._activeSpanProcessor.shutdown();
53698
53723
  }
53699
53724
  }
53700
- class GCe {
53725
+ class qCe {
53701
53726
  /**
53702
53727
  * Export spans.
53703
53728
  * @param spans
@@ -53785,7 +53810,7 @@ class eM {
53785
53810
  return this._exporter.shutdown();
53786
53811
  }
53787
53812
  }
53788
- class qCe {
53813
+ class KCe {
53789
53814
  /**
53790
53815
  * whether the context manager is enabled or not
53791
53816
  */
@@ -53856,23 +53881,23 @@ class qCe {
53856
53881
  }
53857
53882
  }
53858
53883
  }
53859
- function KCe(e) {
53884
+ function YCe(e) {
53860
53885
  if (e !== null) {
53861
53886
  if (e === void 0) {
53862
- const t = new qCe();
53887
+ const t = new KCe();
53863
53888
  t.enable(), jr.setGlobalContextManager(t);
53864
53889
  return;
53865
53890
  }
53866
53891
  e.enable(), jr.setGlobalContextManager(e);
53867
53892
  }
53868
53893
  }
53869
- function YCe(e) {
53894
+ function XCe(e) {
53870
53895
  if (e !== null) {
53871
53896
  if (e === void 0) {
53872
- ya.setGlobalPropagator(new Q4e({
53897
+ ya.setGlobalPropagator(new eCe({
53873
53898
  propagators: [
53874
- new gCe(),
53875
- new I4e()
53899
+ new vCe(),
53900
+ new M4e()
53876
53901
  ]
53877
53902
  }));
53878
53903
  return;
@@ -53880,7 +53905,7 @@ function YCe(e) {
53880
53905
  ya.setGlobalPropagator(e);
53881
53906
  }
53882
53907
  }
53883
- class XCe extends VCe {
53908
+ class ZCe extends GCe {
53884
53909
  /**
53885
53910
  * Constructs a new Tracer instance.
53886
53911
  * @param config Web Tracer config
@@ -53896,10 +53921,10 @@ class XCe extends VCe {
53896
53921
  * @param config Configuration object for SDK registration
53897
53922
  */
53898
53923
  register(t = {}) {
53899
- oi.setGlobalTracerProvider(this), YCe(t.propagator), KCe(t.contextManager);
53924
+ oi.setGlobalTracerProvider(this), XCe(t.propagator), YCe(t.contextManager);
53900
53925
  }
53901
53926
  }
53902
- let ZCe = class {
53927
+ let JCe = class {
53903
53928
  _delegate;
53904
53929
  constructor(t) {
53905
53930
  this._delegate = t;
@@ -53926,30 +53951,30 @@ let ZCe = class {
53926
53951
  super(t), this.data = r, this.code = n;
53927
53952
  }
53928
53953
  };
53929
- function JCe(e) {
53954
+ function QCe(e) {
53930
53955
  if (Number.isFinite(e) && e > 0)
53931
53956
  return e;
53932
53957
  throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`);
53933
53958
  }
53934
- function QCe(e) {
53959
+ function e7e(e) {
53935
53960
  if (e != null)
53936
53961
  return () => e;
53937
53962
  }
53938
- function e7e(e, t, n) {
53963
+ function t7e(e, t, n) {
53939
53964
  return {
53940
- timeoutMillis: JCe(e.timeoutMillis ?? t.timeoutMillis ?? n.timeoutMillis),
53965
+ timeoutMillis: QCe(e.timeoutMillis ?? t.timeoutMillis ?? n.timeoutMillis),
53941
53966
  concurrencyLimit: e.concurrencyLimit ?? t.concurrencyLimit ?? n.concurrencyLimit,
53942
53967
  compression: e.compression ?? t.compression ?? n.compression
53943
53968
  };
53944
53969
  }
53945
- function t7e() {
53970
+ function n7e() {
53946
53971
  return {
53947
53972
  timeoutMillis: 1e4,
53948
53973
  concurrencyLimit: 30,
53949
53974
  compression: "none"
53950
53975
  };
53951
53976
  }
53952
- let n7e = class {
53977
+ let r7e = class {
53953
53978
  _concurrencyLimit;
53954
53979
  _sendingPromises = [];
53955
53980
  /**
@@ -53975,28 +54000,28 @@ let n7e = class {
53975
54000
  await Promise.all(this._sendingPromises);
53976
54001
  }
53977
54002
  };
53978
- function r7e(e) {
53979
- return new n7e(e.concurrencyLimit);
54003
+ function i7e(e) {
54004
+ return new r7e(e.concurrencyLimit);
53980
54005
  }
53981
- const i7e = 9, o7e = Math.pow(10, i7e);
53982
- function a7e(e) {
53983
- return e[0] * o7e + e[1];
54006
+ const o7e = 9, a7e = Math.pow(10, o7e);
54007
+ function s7e(e) {
54008
+ return e[0] * a7e + e[1];
53984
54009
  }
53985
54010
  var is;
53986
54011
  (function(e) {
53987
54012
  e[e.SUCCESS = 0] = "SUCCESS", e[e.FAILED = 1] = "FAILED";
53988
54013
  })(is || (is = {}));
53989
- function s7e(e) {
54014
+ function u7e(e) {
53990
54015
  return Object.prototype.hasOwnProperty.call(e, "partialSuccess");
53991
54016
  }
53992
- function u7e() {
54017
+ function c7e() {
53993
54018
  return {
53994
54019
  handleResponse(e) {
53995
- e == null || !s7e(e) || e.partialSuccess == null || Object.keys(e.partialSuccess).length === 0 || Ht.warn("Received Partial Success response:", JSON.stringify(e.partialSuccess));
54020
+ e == null || !u7e(e) || e.partialSuccess == null || Object.keys(e.partialSuccess).length === 0 || Ht.warn("Received Partial Success response:", JSON.stringify(e.partialSuccess));
53996
54021
  }
53997
54022
  };
53998
54023
  }
53999
- let c7e = class {
54024
+ let l7e = class {
54000
54025
  _transport;
54001
54026
  _serializer;
54002
54027
  _responseHandler;
@@ -54061,14 +54086,14 @@ let c7e = class {
54061
54086
  this._diagLogger.debug("shutdown started"), await this.forceFlush(), this._transport.shutdown();
54062
54087
  }
54063
54088
  };
54064
- function l7e(e, t) {
54065
- return new c7e(e.transport, e.serializer, u7e(), e.promiseHandler, t.timeout);
54089
+ function f7e(e, t) {
54090
+ return new l7e(e.transport, e.serializer, c7e(), e.promiseHandler, t.timeout);
54066
54091
  }
54067
54092
  function q3(e, t, n) {
54068
- return l7e({
54093
+ return f7e({
54069
54094
  transport: n,
54070
54095
  serializer: t,
54071
- promiseHandler: r7e(e)
54096
+ promiseHandler: i7e(e)
54072
54097
  }, { timeout: e.timeoutMillis });
54073
54098
  }
54074
54099
  function nM(e) {
@@ -54087,45 +54112,45 @@ function hW(e) {
54087
54112
  const t = BigInt(1e9);
54088
54113
  return BigInt(e[0]) * t + BigInt(e[1]);
54089
54114
  }
54090
- function f7e(e) {
54115
+ function d7e(e) {
54091
54116
  const t = Number(BigInt.asUintN(32, e)), n = Number(BigInt.asUintN(32, e >> BigInt(32)));
54092
54117
  return { low: t, high: n };
54093
54118
  }
54094
- function d7e(e) {
54119
+ function h7e(e) {
54095
54120
  const t = hW(e);
54096
- return f7e(t);
54121
+ return d7e(t);
54097
54122
  }
54098
- function h7e(e) {
54123
+ function p7e(e) {
54099
54124
  return hW(e).toString();
54100
54125
  }
54101
- const p7e = typeof BigInt < "u" ? h7e : a7e;
54126
+ const g7e = typeof BigInt < "u" ? p7e : s7e;
54102
54127
  function rM(e) {
54103
54128
  return e;
54104
54129
  }
54105
- function g7e(e) {
54130
+ function v7e(e) {
54106
54131
  if (e !== void 0)
54107
54132
  return dW(e);
54108
54133
  }
54109
- const v7e = {
54110
- encodeHrTime: d7e,
54134
+ const m7e = {
54135
+ encodeHrTime: h7e,
54111
54136
  encodeSpanContext: dW,
54112
- encodeOptionalSpanContext: g7e
54137
+ encodeOptionalSpanContext: v7e
54113
54138
  };
54114
- function m7e(e) {
54115
- return e === void 0 ? v7e : {
54116
- encodeHrTime: p7e,
54139
+ function y7e(e) {
54140
+ return e === void 0 ? m7e : {
54141
+ encodeHrTime: g7e,
54117
54142
  encodeSpanContext: rM,
54118
54143
  encodeOptionalSpanContext: rM
54119
54144
  };
54120
54145
  }
54121
- function y7e(e) {
54146
+ function b7e(e) {
54122
54147
  const t = {
54123
54148
  attributes: W1(e.attributes),
54124
54149
  droppedAttributesCount: 0
54125
54150
  }, n = e.schemaUrl;
54126
54151
  return n && n !== "" && (t.schemaUrl = n), t;
54127
54152
  }
54128
- function b7e(e) {
54153
+ function w7e(e) {
54129
54154
  return {
54130
54155
  name: e.name,
54131
54156
  version: e.version
@@ -54148,7 +54173,7 @@ function gW(e) {
54148
54173
  }
54149
54174
  } : {};
54150
54175
  }
54151
- function w7e(e, t) {
54176
+ function _7e(e, t) {
54152
54177
  const n = e.spanContext(), r = e.status, i = e.parentSpanContext?.spanId ? t.encodeSpanContext(e.parentSpanContext?.spanId) : void 0;
54153
54178
  return {
54154
54179
  traceId: t.encodeSpanContext(n.traceId),
@@ -54162,18 +54187,18 @@ function w7e(e, t) {
54162
54187
  endTimeUnixNano: t.encodeHrTime(e.endTime),
54163
54188
  attributes: W1(e.attributes),
54164
54189
  droppedAttributesCount: e.droppedAttributesCount,
54165
- events: e.events.map((o) => x7e(o, t)),
54190
+ events: e.events.map((o) => E7e(o, t)),
54166
54191
  droppedEventsCount: e.droppedEventsCount,
54167
54192
  status: {
54168
54193
  // API and proto enums share the same values
54169
54194
  code: r.code,
54170
54195
  message: r.message
54171
54196
  },
54172
- links: e.links.map((o) => _7e(o, t)),
54197
+ links: e.links.map((o) => x7e(o, t)),
54173
54198
  droppedLinksCount: e.droppedLinksCount
54174
54199
  };
54175
54200
  }
54176
- function _7e(e, t) {
54201
+ function x7e(e, t) {
54177
54202
  return {
54178
54203
  attributes: e.attributes ? W1(e.attributes) : [],
54179
54204
  spanId: t.encodeSpanContext(e.context.spanId),
@@ -54182,7 +54207,7 @@ function _7e(e, t) {
54182
54207
  droppedAttributesCount: e.droppedAttributesCount || 0
54183
54208
  };
54184
54209
  }
54185
- function x7e(e, t) {
54210
+ function E7e(e, t) {
54186
54211
  return {
54187
54212
  attributes: e.attributes ? W1(e.attributes) : [],
54188
54213
  name: e.name,
@@ -54190,13 +54215,13 @@ function x7e(e, t) {
54190
54215
  droppedAttributesCount: e.droppedAttributesCount || 0
54191
54216
  };
54192
54217
  }
54193
- function E7e(e, t) {
54194
- const n = m7e(t);
54218
+ function S7e(e, t) {
54219
+ const n = y7e(t);
54195
54220
  return {
54196
- resourceSpans: O7e(e, n)
54221
+ resourceSpans: A7e(e, n)
54197
54222
  };
54198
54223
  }
54199
- function S7e(e) {
54224
+ function O7e(e) {
54200
54225
  const t = /* @__PURE__ */ new Map();
54201
54226
  for (const n of e) {
54202
54227
  let r = t.get(n.resource);
@@ -54207,8 +54232,8 @@ function S7e(e) {
54207
54232
  }
54208
54233
  return t;
54209
54234
  }
54210
- function O7e(e, t) {
54211
- const n = S7e(e), r = [], i = n.entries();
54235
+ function A7e(e, t) {
54236
+ const n = O7e(e), r = [], i = n.entries();
54212
54237
  let o = i.next();
54213
54238
  for (; !o.done; ) {
54214
54239
  const [a, s] = o.value, u = [], c = s.values();
@@ -54216,16 +54241,16 @@ function O7e(e, t) {
54216
54241
  for (; !l.done; ) {
54217
54242
  const p = l.value;
54218
54243
  if (p.length > 0) {
54219
- const y = p.map((m) => w7e(m, t));
54244
+ const y = p.map((m) => _7e(m, t));
54220
54245
  u.push({
54221
- scope: b7e(p[0].instrumentationScope),
54246
+ scope: w7e(p[0].instrumentationScope),
54222
54247
  spans: y,
54223
54248
  schemaUrl: p[0].instrumentationScope.schemaUrl
54224
54249
  });
54225
54250
  }
54226
54251
  l = c.next();
54227
54252
  }
54228
- const d = y7e(a), h = {
54253
+ const d = b7e(a), h = {
54229
54254
  resource: d,
54230
54255
  scopeSpans: u,
54231
54256
  schemaUrl: d.schemaUrl
@@ -54234,9 +54259,9 @@ function O7e(e, t) {
54234
54259
  }
54235
54260
  return r;
54236
54261
  }
54237
- const A7e = {
54262
+ const P7e = {
54238
54263
  serializeRequest: (e) => {
54239
- const t = E7e(e, {});
54264
+ const t = S7e(e, {});
54240
54265
  return new TextEncoder().encode(JSON.stringify(t));
54241
54266
  },
54242
54267
  deserializeResponse: (e) => {
@@ -54245,11 +54270,11 @@ const A7e = {
54245
54270
  const t = new TextDecoder();
54246
54271
  return JSON.parse(t.decode(e));
54247
54272
  }
54248
- }, P7e = 5, T7e = 1e3, C7e = 5e3, I7e = 1.5, iM = 0.2;
54249
- function M7e() {
54273
+ }, T7e = 5, C7e = 1e3, I7e = 5e3, M7e = 1.5, iM = 0.2;
54274
+ function k7e() {
54250
54275
  return Math.random() * (2 * iM) - iM;
54251
54276
  }
54252
- let k7e = class {
54277
+ let R7e = class {
54253
54278
  _transport;
54254
54279
  constructor(t) {
54255
54280
  this._transport = t;
@@ -54263,11 +54288,11 @@ let k7e = class {
54263
54288
  }
54264
54289
  async send(t, n) {
54265
54290
  const r = Date.now() + n;
54266
- let i = await this._transport.send(t, n), o = P7e, a = T7e;
54291
+ let i = await this._transport.send(t, n), o = T7e, a = C7e;
54267
54292
  for (; i.status === "retryable" && o > 0; ) {
54268
54293
  o--;
54269
- const s = Math.max(Math.min(a, C7e) + M7e(), 0);
54270
- a = a * I7e;
54294
+ const s = Math.max(Math.min(a, I7e) + k7e(), 0);
54295
+ a = a * M7e;
54271
54296
  const u = i.retryInMillis ?? s, c = r - Date.now();
54272
54297
  if (u > c)
54273
54298
  return i;
@@ -54280,7 +54305,7 @@ let k7e = class {
54280
54305
  }
54281
54306
  };
54282
54307
  function K3(e) {
54283
- return new k7e(e.transport);
54308
+ return new R7e(e.transport);
54284
54309
  }
54285
54310
  function vW(e) {
54286
54311
  return [429, 502, 503, 504].includes(e);
@@ -54294,7 +54319,7 @@ function mW(e) {
54294
54319
  const n = new Date(e).getTime() - Date.now();
54295
54320
  return n >= 0 ? n : 0;
54296
54321
  }
54297
- let R7e = class {
54322
+ let D7e = class {
54298
54323
  _parameters;
54299
54324
  constructor(t) {
54300
54325
  this._parameters = t;
@@ -54337,10 +54362,10 @@ let R7e = class {
54337
54362
  shutdown() {
54338
54363
  }
54339
54364
  };
54340
- function D7e(e) {
54341
- return new R7e(e);
54365
+ function L7e(e) {
54366
+ return new D7e(e);
54342
54367
  }
54343
- let L7e = class {
54368
+ let N7e = class {
54344
54369
  _params;
54345
54370
  constructor(t) {
54346
54371
  this._params = t;
@@ -54358,10 +54383,10 @@ let L7e = class {
54358
54383
  shutdown() {
54359
54384
  }
54360
54385
  };
54361
- function N7e(e) {
54362
- return new L7e(e);
54386
+ function j7e(e) {
54387
+ return new N7e(e);
54363
54388
  }
54364
- let j7e = class {
54389
+ let $7e = class {
54365
54390
  _parameters;
54366
54391
  constructor(t) {
54367
54392
  this._parameters = t;
@@ -54402,28 +54427,28 @@ let j7e = class {
54402
54427
  shutdown() {
54403
54428
  }
54404
54429
  };
54405
- function $7e(e) {
54406
- return new j7e(e);
54430
+ function B7e(e) {
54431
+ return new $7e(e);
54407
54432
  }
54408
- function B7e(e, t) {
54433
+ function z7e(e, t) {
54409
54434
  return q3(e, t, K3({
54410
- transport: D7e(e)
54435
+ transport: L7e(e)
54411
54436
  }));
54412
54437
  }
54413
- function z7e(e, t) {
54438
+ function F7e(e, t) {
54414
54439
  return q3(e, t, K3({
54415
- transport: $7e(e)
54440
+ transport: B7e(e)
54416
54441
  }));
54417
54442
  }
54418
- function F7e(e, t) {
54443
+ function W7e(e, t) {
54419
54444
  return q3(e, t, K3({
54420
- transport: N7e({
54445
+ transport: j7e({
54421
54446
  url: e.url,
54422
54447
  blobType: e.headers()["Content-Type"]
54423
54448
  })
54424
54449
  }));
54425
54450
  }
54426
- function W7e(e) {
54451
+ function U7e(e) {
54427
54452
  return () => {
54428
54453
  const t = {};
54429
54454
  return Object.entries(e?.() ?? {}).forEach(([n, r]) => {
@@ -54431,13 +54456,13 @@ function W7e(e) {
54431
54456
  }), t;
54432
54457
  };
54433
54458
  }
54434
- function U7e(e, t, n) {
54459
+ function H7e(e, t, n) {
54435
54460
  const r = {
54436
54461
  ...n()
54437
54462
  }, i = {};
54438
54463
  return () => (t != null && Object.assign(i, t()), e != null && Object.assign(i, e()), Object.assign(i, r));
54439
54464
  }
54440
- function H7e(e) {
54465
+ function V7e(e) {
54441
54466
  if (e != null)
54442
54467
  try {
54443
54468
  const t = globalThis.location?.href;
@@ -54446,65 +54471,65 @@ function H7e(e) {
54446
54471
  throw new Error(`Configuration: Could not parse user-provided export URL: '${e}'`);
54447
54472
  }
54448
54473
  }
54449
- function V7e(e) {
54474
+ function G7e(e) {
54450
54475
  return async (t) => {
54451
54476
  const n = t === "http:" ? Promise.resolve().then(() => NI) : Promise.resolve().then(() => NI), { Agent: r } = await n;
54452
54477
  return new r(e);
54453
54478
  };
54454
54479
  }
54455
- function G7e(e, t, n) {
54480
+ function q7e(e, t, n) {
54456
54481
  return {
54457
- ...e7e(e, t, n),
54458
- headers: U7e(W7e(e.headers), t.headers, n.headers),
54459
- url: H7e(e.url) ?? t.url ?? n.url,
54482
+ ...t7e(e, t, n),
54483
+ headers: H7e(U7e(e.headers), t.headers, n.headers),
54484
+ url: V7e(e.url) ?? t.url ?? n.url,
54460
54485
  agentFactory: e.agentFactory ?? t.agentFactory ?? n.agentFactory
54461
54486
  };
54462
54487
  }
54463
- function q7e(e, t) {
54488
+ function K7e(e, t) {
54464
54489
  return {
54465
- ...t7e(),
54490
+ ...n7e(),
54466
54491
  headers: () => e,
54467
54492
  url: "http://localhost:4318/" + t,
54468
- agentFactory: V7e({ keepAlive: !0 })
54493
+ agentFactory: G7e({ keepAlive: !0 })
54469
54494
  };
54470
54495
  }
54471
- function K7e(e, t, n) {
54472
- return G7e(
54496
+ function Y7e(e, t, n) {
54497
+ return q7e(
54473
54498
  {
54474
54499
  url: e.url,
54475
54500
  timeoutMillis: e.timeoutMillis,
54476
- headers: QCe(e.headers),
54501
+ headers: e7e(e.headers),
54477
54502
  concurrencyLimit: e.concurrencyLimit
54478
54503
  },
54479
54504
  {},
54480
54505
  // no fallback for browser case
54481
- q7e(n, t)
54506
+ K7e(n, t)
54482
54507
  );
54483
54508
  }
54484
- function Y7e(e, t, n, r) {
54485
- const i = X7e(e.headers), o = K7e(e, n, r);
54509
+ function X7e(e, t, n, r) {
54510
+ const i = Z7e(e.headers), o = Y7e(e, n, r);
54486
54511
  return i(o, t);
54487
54512
  }
54488
- function X7e(e) {
54489
- return !e && typeof navigator.sendBeacon == "function" ? F7e : typeof globalThis.fetch < "u" ? z7e : B7e;
54513
+ function Z7e(e) {
54514
+ return !e && typeof navigator.sendBeacon == "function" ? W7e : typeof globalThis.fetch < "u" ? F7e : z7e;
54490
54515
  }
54491
- class Z7e extends ZCe {
54516
+ class J7e extends JCe {
54492
54517
  constructor(t = {}) {
54493
- super(Y7e(t, A7e, "v1/traces", { "Content-Type": "application/json" }));
54518
+ super(X7e(t, P7e, "v1/traces", { "Content-Type": "application/json" }));
54494
54519
  }
54495
54520
  }
54496
54521
  let yW = class {
54497
54522
  emit(t) {
54498
54523
  }
54499
54524
  };
54500
- const J7e = new yW();
54501
- let Q7e = class {
54525
+ const Q7e = new yW();
54526
+ let e8e = class {
54502
54527
  getLogger(t, n, r) {
54503
54528
  return new yW();
54504
54529
  }
54505
54530
  };
54506
- const bW = new Q7e();
54507
- let e8e = class {
54531
+ const bW = new e8e();
54532
+ let t8e = class {
54508
54533
  constructor(t, n, r, i) {
54509
54534
  this._provider = t, this.name = n, this.version = r, this.options = i;
54510
54535
  }
@@ -54524,12 +54549,12 @@ let e8e = class {
54524
54549
  if (this._delegate)
54525
54550
  return this._delegate;
54526
54551
  const t = this._provider._getDelegateLogger(this.name, this.version, this.options);
54527
- return t ? (this._delegate = t, this._delegate) : J7e;
54552
+ return t ? (this._delegate = t, this._delegate) : Q7e;
54528
54553
  }
54529
54554
  }, oM = class {
54530
54555
  getLogger(t, n, r) {
54531
54556
  var i;
54532
- return (i = this._getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new e8e(this, t, n, r);
54557
+ return (i = this._getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new t8e(this, t, n, r);
54533
54558
  }
54534
54559
  /**
54535
54560
  * Get the delegate logger provider.
@@ -54555,12 +54580,12 @@ let e8e = class {
54555
54580
  return (i = this._delegate) === null || i === void 0 ? void 0 : i.getLogger(t, n, r);
54556
54581
  }
54557
54582
  };
54558
- const t8e = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Pv = Symbol.for("io.opentelemetry.js.api.logs"), _d = t8e;
54559
- function n8e(e, t, n) {
54583
+ const n8e = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Pv = Symbol.for("io.opentelemetry.js.api.logs"), _d = n8e;
54584
+ function r8e(e, t, n) {
54560
54585
  return (r) => r === e ? t : n;
54561
54586
  }
54562
54587
  const aM = 1;
54563
- let r8e = class wW {
54588
+ let i8e = class wW {
54564
54589
  constructor() {
54565
54590
  this._proxyLoggerProvider = new oM();
54566
54591
  }
@@ -54568,7 +54593,7 @@ let r8e = class wW {
54568
54593
  return this._instance || (this._instance = new wW()), this._instance;
54569
54594
  }
54570
54595
  setGlobalLoggerProvider(t) {
54571
- return _d[Pv] ? this.getLoggerProvider() : (_d[Pv] = n8e(aM, t, bW), this._proxyLoggerProvider._setDelegate(t), t);
54596
+ return _d[Pv] ? this.getLoggerProvider() : (_d[Pv] = r8e(aM, t, bW), this._proxyLoggerProvider._setDelegate(t), t);
54572
54597
  }
54573
54598
  /**
54574
54599
  * Returns the global logger provider.
@@ -54592,20 +54617,20 @@ let r8e = class wW {
54592
54617
  delete _d[Pv], this._proxyLoggerProvider = new oM();
54593
54618
  }
54594
54619
  };
54595
- const _W = r8e.getInstance();
54596
- function i8e(e, t, n, r) {
54620
+ const _W = i8e.getInstance();
54621
+ function o8e(e, t, n, r) {
54597
54622
  for (let i = 0, o = e.length; i < o; i++) {
54598
54623
  const a = e[i];
54599
54624
  t && a.setTracerProvider(t), n && a.setMeterProvider(n), r && a.setLoggerProvider && a.setLoggerProvider(r), a.getConfig().enabled || a.enable();
54600
54625
  }
54601
54626
  }
54602
- function o8e(e) {
54627
+ function a8e(e) {
54603
54628
  e.forEach((t) => t.disable());
54604
54629
  }
54605
- function a8e(e) {
54630
+ function s8e(e) {
54606
54631
  const t = e.tracerProvider || oi.getTracerProvider(), n = e.meterProvider || jF.getMeterProvider(), r = e.loggerProvider || _W.getLoggerProvider(), i = e.instrumentations?.flat() ?? [];
54607
- return i8e(i, t, n, r), () => {
54608
- o8e(i);
54632
+ return o8e(i, t, n, r), () => {
54633
+ a8e(i);
54609
54634
  };
54610
54635
  }
54611
54636
  let ho = console.error.bind(console);
@@ -54636,7 +54661,7 @@ const xW = (e, t, n) => {
54636
54661
  return xd(i, "__original", r), xd(i, "__unwrap", () => {
54637
54662
  e[t] === i && xd(e, t, r);
54638
54663
  }), xd(i, "__wrapped", !0), xd(e, t, i), i;
54639
- }, s8e = (e, t, n) => {
54664
+ }, u8e = (e, t, n) => {
54640
54665
  if (e)
54641
54666
  Array.isArray(e) || (e = [e]);
54642
54667
  else {
@@ -54664,7 +54689,7 @@ const xW = (e, t, n) => {
54664
54689
  n.__unwrap();
54665
54690
  return;
54666
54691
  }
54667
- }, u8e = (e, t) => {
54692
+ }, c8e = (e, t) => {
54668
54693
  if (e)
54669
54694
  Array.isArray(e) || (e = [e]);
54670
54695
  else {
@@ -54681,7 +54706,7 @@ const xW = (e, t, n) => {
54681
54706
  });
54682
54707
  });
54683
54708
  };
54684
- class c8e {
54709
+ class l8e {
54685
54710
  instrumentationName;
54686
54711
  instrumentationVersion;
54687
54712
  _config = {};
@@ -54699,9 +54724,9 @@ class c8e {
54699
54724
  /* Api to unwrap instrumented methods */
54700
54725
  _unwrap = EW;
54701
54726
  /* Api to mass wrap instrumented method */
54702
- _massWrap = s8e;
54727
+ _massWrap = u8e;
54703
54728
  /* Api to mass unwrap instrumented methods */
54704
- _massUnwrap = u8e;
54729
+ _massUnwrap = c8e;
54705
54730
  /* Returns meter */
54706
54731
  get meter() {
54707
54732
  return this._meter;
@@ -54783,7 +54808,7 @@ class c8e {
54783
54808
  }
54784
54809
  }
54785
54810
  }
54786
- class l8e extends c8e {
54811
+ class f8e extends l8e {
54787
54812
  constructor(t, n, r) {
54788
54813
  super(t, n, r), this._config.enabled && this.enable();
54789
54814
  }
@@ -54798,14 +54823,14 @@ function sM(e, t, n) {
54798
54823
  return t(r, i), i;
54799
54824
  }
54800
54825
  }
54801
- function f8e(e) {
54826
+ function d8e(e) {
54802
54827
  return typeof e == "function" && typeof e.__original == "function" && typeof e.__unwrap == "function" && e.__wrapped === !0;
54803
54828
  }
54804
54829
  var $i;
54805
54830
  (function(e) {
54806
54831
  e[e.STABLE = 1] = "STABLE", e[e.OLD = 2] = "OLD", e[e.DUPLICATE = 3] = "DUPLICATE";
54807
54832
  })($i || ($i = {}));
54808
- function d8e(e, t) {
54833
+ function h8e(e, t) {
54809
54834
  let n = $i.OLD;
54810
54835
  const r = t?.split(",").map((i) => i.trim()).filter((i) => i !== "");
54811
54836
  for (const i of r ?? [])
@@ -54815,9 +54840,9 @@ function d8e(e, t) {
54815
54840
  } else i.toLowerCase() === e && (n = $i.STABLE);
54816
54841
  return n;
54817
54842
  }
54818
- const z2 = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, ZE = performance, h8e = 9, p8e = 6, g8e = Math.pow(10, p8e), JE = Math.pow(10, h8e);
54843
+ const z2 = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, ZE = performance, p8e = 9, g8e = 6, v8e = Math.pow(10, g8e), JE = Math.pow(10, p8e);
54819
54844
  function Uh(e) {
54820
- const t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 * g8e);
54845
+ const t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 * v8e);
54821
54846
  return [n, r];
54822
54847
  }
54823
54848
  function SW() {
@@ -54830,10 +54855,10 @@ function SW() {
54830
54855
  }
54831
54856
  function QE(e) {
54832
54857
  const t = Uh(SW()), n = Uh(typeof e == "number" ? e : ZE.now());
54833
- return m8e(t, n);
54858
+ return y8e(t, n);
54834
54859
  }
54835
54860
  function nh(e) {
54836
- if (v8e(e))
54861
+ if (m8e(e))
54837
54862
  return e;
54838
54863
  if (typeof e == "number")
54839
54864
  return e < SW() ? QE(e) : Uh(e);
@@ -54844,17 +54869,17 @@ function nh(e) {
54844
54869
  function tu(e) {
54845
54870
  return e[0] * JE + e[1];
54846
54871
  }
54847
- function v8e(e) {
54872
+ function m8e(e) {
54848
54873
  return Array.isArray(e) && e.length === 2 && typeof e[0] == "number" && typeof e[1] == "number";
54849
54874
  }
54850
- function m8e(e, t) {
54875
+ function y8e(e, t) {
54851
54876
  const n = [e[0] + t[0], e[1] + t[1]];
54852
54877
  return n[1] >= JE && (n[1] -= JE, n[0] += 1), n;
54853
54878
  }
54854
54879
  function OW(e, t) {
54855
54880
  return typeof t == "string" ? e === t : !!e.match(t);
54856
54881
  }
54857
- function y8e(e, t) {
54882
+ function b8e(e, t) {
54858
54883
  if (!t)
54859
54884
  return !1;
54860
54885
  for (const n of t)
@@ -54866,27 +54891,27 @@ var Wn;
54866
54891
  (function(e) {
54867
54892
  e.CONNECT_END = "connectEnd", e.CONNECT_START = "connectStart", e.DECODED_BODY_SIZE = "decodedBodySize", e.DOM_COMPLETE = "domComplete", e.DOM_CONTENT_LOADED_EVENT_END = "domContentLoadedEventEnd", e.DOM_CONTENT_LOADED_EVENT_START = "domContentLoadedEventStart", e.DOM_INTERACTIVE = "domInteractive", e.DOMAIN_LOOKUP_END = "domainLookupEnd", e.DOMAIN_LOOKUP_START = "domainLookupStart", e.ENCODED_BODY_SIZE = "encodedBodySize", e.FETCH_START = "fetchStart", e.LOAD_EVENT_END = "loadEventEnd", e.LOAD_EVENT_START = "loadEventStart", e.NAVIGATION_START = "navigationStart", e.REDIRECT_END = "redirectEnd", e.REDIRECT_START = "redirectStart", e.REQUEST_START = "requestStart", e.RESPONSE_END = "responseEnd", e.RESPONSE_START = "responseStart", e.SECURE_CONNECTION_START = "secureConnectionStart", e.START_TIME = "startTime", e.UNLOAD_EVENT_END = "unloadEventEnd", e.UNLOAD_EVENT_START = "unloadEventStart";
54868
54893
  })(Wn || (Wn = {}));
54869
- const b8e = "http.response_content_length", w8e = "http.response_content_length_uncompressed";
54894
+ const w8e = "http.response_content_length", _8e = "http.response_content_length_uncompressed";
54870
54895
  let F2;
54871
- function _8e() {
54896
+ function x8e() {
54872
54897
  return F2 || (F2 = document.createElement("a")), F2;
54873
54898
  }
54874
- function x8e(e, t) {
54899
+ function E8e(e, t) {
54875
54900
  return t in e;
54876
54901
  }
54877
54902
  function ns(e, t, n, r = !0) {
54878
- if (x8e(n, t) && typeof n[t] == "number" && !(r && n[t] === 0))
54903
+ if (E8e(n, t) && typeof n[t] == "number" && !(r && n[t] === 0))
54879
54904
  return e.addEvent(t, n[t]);
54880
54905
  }
54881
54906
  function uM(e, t, n = !1, r, i) {
54882
54907
  if (r === void 0 && (r = t[Wn.START_TIME] !== 0), n || (ns(e, Wn.FETCH_START, t, r), ns(e, Wn.DOMAIN_LOOKUP_START, t, r), ns(e, Wn.DOMAIN_LOOKUP_END, t, r), ns(e, Wn.CONNECT_START, t, r), ns(e, Wn.SECURE_CONNECTION_START, t, r), ns(e, Wn.CONNECT_END, t, r), ns(e, Wn.REQUEST_START, t, r), ns(e, Wn.RESPONSE_START, t, r), ns(e, Wn.RESPONSE_END, t, r)), !i) {
54883
54908
  const o = t[Wn.ENCODED_BODY_SIZE];
54884
- o !== void 0 && e.setAttribute(b8e, o);
54909
+ o !== void 0 && e.setAttribute(w8e, o);
54885
54910
  const a = t[Wn.DECODED_BODY_SIZE];
54886
- a !== void 0 && o !== a && e.setAttribute(w8e, a);
54911
+ a !== void 0 && o !== a && e.setAttribute(_8e, a);
54887
54912
  }
54888
54913
  }
54889
- function E8e(e) {
54914
+ function S8e(e) {
54890
54915
  return e.slice().sort((t, n) => {
54891
54916
  const r = t[Wn.FETCH_START], i = n[Wn.FETCH_START];
54892
54917
  return r > i ? 1 : r < i ? -1 : 0;
@@ -54895,10 +54920,10 @@ function E8e(e) {
54895
54920
  function AW() {
54896
54921
  return typeof location < "u" ? location.origin : void 0;
54897
54922
  }
54898
- function S8e(e, t, n, r, i = /* @__PURE__ */ new WeakSet(), o) {
54923
+ function O8e(e, t, n, r, i = /* @__PURE__ */ new WeakSet(), o) {
54899
54924
  const a = Gm(e);
54900
54925
  e = a.toString();
54901
- const s = A8e(e, t, n, r, i, o);
54926
+ const s = P8e(e, t, n, r, i, o);
54902
54927
  if (s.length === 0)
54903
54928
  return {
54904
54929
  mainRequest: void 0
@@ -54907,9 +54932,9 @@ function S8e(e, t, n, r, i = /* @__PURE__ */ new WeakSet(), o) {
54907
54932
  return {
54908
54933
  mainRequest: s[0]
54909
54934
  };
54910
- const u = E8e(s);
54935
+ const u = S8e(s);
54911
54936
  if (a.origin !== AW() && u.length > 1) {
54912
- let c = u[0], l = O8e(u, c[Wn.RESPONSE_END], n);
54937
+ let c = u[0], l = A8e(u, c[Wn.RESPONSE_END], n);
54913
54938
  const d = c[Wn.RESPONSE_END];
54914
54939
  return l[Wn.FETCH_START] < d && (l = c, c = void 0), {
54915
54940
  corsPreFlightRequest: c,
@@ -54920,7 +54945,7 @@ function S8e(e, t, n, r, i = /* @__PURE__ */ new WeakSet(), o) {
54920
54945
  mainRequest: s[0]
54921
54946
  };
54922
54947
  }
54923
- function O8e(e, t, n) {
54948
+ function A8e(e, t, n) {
54924
54949
  const r = tu(n), i = tu(nh(t));
54925
54950
  let o = e[1], a;
54926
54951
  const s = e.length;
@@ -54930,7 +54955,7 @@ function O8e(e, t, n) {
54930
54955
  }
54931
54956
  return o;
54932
54957
  }
54933
- function A8e(e, t, n, r, i, o) {
54958
+ function P8e(e, t, n, r, i, o) {
54934
54959
  const a = tu(t), s = tu(n);
54935
54960
  let u = r.filter((c) => {
54936
54961
  const l = tu(nh(c[Wn.FETCH_START])), d = tu(nh(c[Wn.RESPONSE_END]));
@@ -54941,10 +54966,10 @@ function A8e(e, t, n, r, i, o) {
54941
54966
  function Gm(e) {
54942
54967
  if (typeof URL == "function")
54943
54968
  return new URL(e, typeof document < "u" ? document.baseURI : typeof location < "u" ? location.href : void 0);
54944
- const t = _8e();
54969
+ const t = x8e();
54945
54970
  return t.href = e, t;
54946
54971
  }
54947
- function P8e(e, t) {
54972
+ function T8e(e, t) {
54948
54973
  let n = t || [];
54949
54974
  return (typeof n == "string" || n instanceof RegExp) && (n = [n]), Gm(e).origin === AW() ? !0 : n.some((i) => OW(e, i));
54950
54975
  }
@@ -54952,25 +54977,25 @@ var qm;
54952
54977
  (function(e) {
54953
54978
  e.COMPONENT = "component", e.HTTP_STATUS_TEXT = "http.status_text";
54954
54979
  })(qm || (qm = {}));
54955
- const T8e = "http.host", C8e = "http.method", I8e = "http.request.body.size", M8e = "http.request_content_length_uncompressed", k8e = "http.scheme", R8e = "http.status_code", D8e = "http.url", L8e = "http.user_agent", PW = Ht.createComponentLogger({
54980
+ const C8e = "http.host", I8e = "http.method", M8e = "http.request.body.size", k8e = "http.request_content_length_uncompressed", R8e = "http.scheme", D8e = "http.status_code", L8e = "http.url", N8e = "http.user_agent", PW = Ht.createComponentLogger({
54956
54981
  namespace: "@opentelemetry/opentelemetry-instrumentation-fetch/utils"
54957
54982
  });
54958
- function N8e(...e) {
54983
+ function j8e(...e) {
54959
54984
  if (e[0] instanceof URL || typeof e[0] == "string") {
54960
54985
  const t = e[1];
54961
54986
  if (!t?.body)
54962
54987
  return Promise.resolve();
54963
54988
  if (t.body instanceof ReadableStream) {
54964
- const { body: n, length: r } = j8e(t.body);
54989
+ const { body: n, length: r } = $8e(t.body);
54965
54990
  return t.body = n, r;
54966
54991
  } else
54967
- return Promise.resolve(B8e(t.body));
54992
+ return Promise.resolve(z8e(t.body));
54968
54993
  } else {
54969
54994
  const t = e[0];
54970
54995
  return t?.body ? t.clone().text().then((n) => eS(n)) : Promise.resolve();
54971
54996
  }
54972
54997
  }
54973
- function j8e(e) {
54998
+ function $8e(e) {
54974
54999
  if (!e.pipeThrough)
54975
55000
  return PW.warn("Platform has ReadableStream but not pipeThrough!"), {
54976
55001
  body: e,
@@ -54995,39 +55020,39 @@ function j8e(e) {
54995
55020
  length: r
54996
55021
  };
54997
55022
  }
54998
- function $8e(e) {
55023
+ function B8e(e) {
54999
55024
  return typeof Document < "u" && e instanceof Document;
55000
55025
  }
55001
- function B8e(e) {
55002
- if ($8e(e))
55026
+ function z8e(e) {
55027
+ if (B8e(e))
55003
55028
  return new XMLSerializer().serializeToString(document).length;
55004
55029
  if (typeof e == "string")
55005
55030
  return eS(e);
55006
55031
  if (e instanceof Blob)
55007
55032
  return e.size;
55008
55033
  if (e instanceof FormData)
55009
- return F8e(e);
55034
+ return W8e(e);
55010
55035
  if (e instanceof URLSearchParams)
55011
55036
  return eS(e.toString());
55012
55037
  if (e.byteLength !== void 0)
55013
55038
  return e.byteLength;
55014
55039
  PW.warn("unknown body type");
55015
55040
  }
55016
- const z8e = new TextEncoder();
55041
+ const F8e = new TextEncoder();
55017
55042
  function eS(e) {
55018
- return z8e.encode(e).byteLength;
55043
+ return F8e.encode(e).byteLength;
55019
55044
  }
55020
- function F8e(e) {
55045
+ function W8e(e) {
55021
55046
  let t = 0;
55022
55047
  for (const [n, r] of e.entries())
55023
55048
  t += n.length, r instanceof Blob ? t += r.size : t += r.length;
55024
55049
  return t;
55025
55050
  }
55026
- function W8e(e) {
55027
- const t = H8e(), n = e.toUpperCase();
55051
+ function U8e(e) {
55052
+ const t = V8e(), n = e.toUpperCase();
55028
55053
  return n in t ? n : "_OTHER";
55029
55054
  }
55030
- const U8e = {
55055
+ const H8e = {
55031
55056
  CONNECT: !0,
55032
55057
  DELETE: !0,
55033
55058
  GET: !0,
@@ -55039,20 +55064,20 @@ const U8e = {
55039
55064
  TRACE: !0
55040
55065
  };
55041
55066
  let W2;
55042
- function H8e() {
55043
- return W2 === void 0 && (W2 = U8e), W2;
55067
+ function V8e() {
55068
+ return W2 === void 0 && (W2 = H8e), W2;
55044
55069
  }
55045
- const V8e = {
55070
+ const G8e = {
55046
55071
  "https:": "443",
55047
55072
  "http:": "80"
55048
55073
  };
55049
- function G8e(e) {
55050
- const t = Number(e.port || V8e[e.protocol]);
55074
+ function q8e(e) {
55075
+ const t = Number(e.port || G8e[e.protocol]);
55051
55076
  if (t && !isNaN(t))
55052
55077
  return t;
55053
55078
  }
55054
- const cM = "0.204.0", q8e = 300, lM = typeof process == "object" && process.release?.name === "node";
55055
- class K8e extends l8e {
55079
+ const cM = "0.204.0", K8e = 300, lM = typeof process == "object" && process.release?.name === "node";
55080
+ class Y8e extends f8e {
55056
55081
  component = "fetch";
55057
55082
  version = cM;
55058
55083
  moduleName = this.component;
@@ -55060,7 +55085,7 @@ class K8e extends l8e {
55060
55085
  _tasksCount = 0;
55061
55086
  _semconvStability;
55062
55087
  constructor(t = {}) {
55063
- super("@opentelemetry/instrumentation-fetch", cM, t), this._semconvStability = d8e("http", t?.semconvStabilityOptIn);
55088
+ super("@opentelemetry/instrumentation-fetch", cM, t), this._semconvStability = h8e("http", t?.semconvStabilityOptIn);
55064
55089
  }
55065
55090
  init() {
55066
55091
  }
@@ -55082,10 +55107,10 @@ class K8e extends l8e {
55082
55107
  */
55083
55108
  _addFinalSpanAttributes(t, n) {
55084
55109
  const r = Gm(n.url);
55085
- if (this._semconvStability & $i.OLD && (t.setAttribute(R8e, n.status), n.statusText != null && t.setAttribute(qm.HTTP_STATUS_TEXT, n.statusText), t.setAttribute(T8e, r.host), t.setAttribute(k8e, r.protocol.replace(":", "")), typeof navigator < "u" && t.setAttribute(L8e, navigator.userAgent)), this._semconvStability & $i.STABLE) {
55086
- t.setAttribute(W4e, n.status), t.setAttribute(U4e, r.hostname);
55087
- const i = G8e(r);
55088
- i && t.setAttribute(H4e, i);
55110
+ if (this._semconvStability & $i.OLD && (t.setAttribute(D8e, n.status), n.statusText != null && t.setAttribute(qm.HTTP_STATUS_TEXT, n.statusText), t.setAttribute(C8e, r.host), t.setAttribute(R8e, r.protocol.replace(":", "")), typeof navigator < "u" && t.setAttribute(N8e, navigator.userAgent)), this._semconvStability & $i.STABLE) {
55111
+ t.setAttribute(U4e, n.status), t.setAttribute(H4e, r.hostname);
55112
+ const i = q8e(r);
55113
+ i && t.setAttribute(V4e, i);
55089
55114
  }
55090
55115
  }
55091
55116
  /**
@@ -55094,7 +55119,7 @@ class K8e extends l8e {
55094
55119
  * @param spanUrl
55095
55120
  */
55096
55121
  _addHeaders(t, n) {
55097
- if (!P8e(n, this.getConfig().propagateTraceHeaderCorsUrls)) {
55122
+ if (!T8e(n, this.getConfig().propagateTraceHeaderCorsUrls)) {
55098
55123
  const r = {};
55099
55124
  ya.inject(jr.active(), r), Object.keys(r).length > 0 && this._diag.debug("headers inject skipped due to CORS policy");
55100
55125
  return;
@@ -55131,7 +55156,7 @@ class K8e extends l8e {
55131
55156
  * @param options
55132
55157
  */
55133
55158
  _createSpan(t, n = {}) {
55134
- if (y8e(t, this.getConfig().ignoreUrls)) {
55159
+ if (b8e(t, this.getConfig().ignoreUrls)) {
55135
55160
  this._diag.debug("ignoring span as url matches ignored url");
55136
55161
  return;
55137
55162
  }
@@ -55139,11 +55164,11 @@ class K8e extends l8e {
55139
55164
  const i = {};
55140
55165
  if (this._semconvStability & $i.OLD) {
55141
55166
  const o = (n.method || "GET").toUpperCase();
55142
- r = `HTTP ${o}`, i[qm.COMPONENT] = this.moduleName, i[C8e] = o, i[D8e] = t;
55167
+ r = `HTTP ${o}`, i[qm.COMPONENT] = this.moduleName, i[I8e] = o, i[L8e] = t;
55143
55168
  }
55144
55169
  if (this._semconvStability & $i.STABLE) {
55145
- const o = n.method, a = W8e(n.method || "GET");
55146
- r || (r = a), i[z4e] = a, a !== o && (i[F4e] = o), i[G4e] = t;
55170
+ const o = n.method, a = U8e(n.method || "GET");
55171
+ r || (r = a), i[F4e] = a, a !== o && (i[W4e] = o), i[q4e] = t;
55147
55172
  }
55148
55173
  return this.tracer.startSpan(r, {
55149
55174
  kind: Nm.CLIENT,
@@ -55163,7 +55188,7 @@ class K8e extends l8e {
55163
55188
  return;
55164
55189
  i = performance.getEntriesByType("resource");
55165
55190
  }
55166
- const o = S8e(n.spanUrl, n.startTime, r, i, this._usedResources, "fetch");
55191
+ const o = O8e(n.spanUrl, n.startTime, r, i, this._usedResources, "fetch");
55167
55192
  if (o.mainRequest) {
55168
55193
  const a = o.mainRequest;
55169
55194
  this._markResourceAsUsed(a);
@@ -55190,9 +55215,9 @@ class K8e extends l8e {
55190
55215
  */
55191
55216
  _endSpan(t, n, r) {
55192
55217
  const i = Uh(Date.now()), o = QE();
55193
- this._addFinalSpanAttributes(t, r), this._semconvStability & $i.STABLE && r.status >= 400 && (t.setStatus({ code: ec.ERROR }), t.setAttribute($4e, String(r.status))), setTimeout(() => {
55218
+ this._addFinalSpanAttributes(t, r), this._semconvStability & $i.STABLE && r.status >= 400 && (t.setStatus({ code: ec.ERROR }), t.setAttribute(B4e, String(r.status))), setTimeout(() => {
55194
55219
  n.observer?.disconnect(), this._findResourceAndAddNetworkEvents(t, n, o), this._tasksCount--, this._clearResources(), t.end(i);
55195
- }, q8e);
55220
+ }, K8e);
55196
55221
  }
55197
55222
  /**
55198
55223
  * Patches the constructor of fetch
@@ -55205,8 +55230,8 @@ class K8e extends l8e {
55205
55230
  if (!u)
55206
55231
  return t.apply(this, i);
55207
55232
  const c = n._prepareSpanData(a);
55208
- n.getConfig().measureRequestSize && N8e(...i).then((y) => {
55209
- y && (n._semconvStability & $i.OLD && u.setAttribute(M8e, y), n._semconvStability & $i.STABLE && u.setAttribute(I8e, y));
55233
+ n.getConfig().measureRequestSize && j8e(...i).then((y) => {
55234
+ y && (n._semconvStability & $i.OLD && u.setAttribute(k8e, y), n._semconvStability & $i.STABLE && u.setAttribute(M8e, y));
55210
55235
  }).catch((y) => {
55211
55236
  n._diag.warn("getFetchBodyLength", y);
55212
55237
  });
@@ -55291,7 +55316,7 @@ class K8e extends l8e {
55291
55316
  this._diag.warn("this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()");
55292
55317
  return;
55293
55318
  }
55294
- f8e(fetch) && (this._unwrap(z2, "fetch"), this._diag.debug("removing previous patch for constructor")), this._wrap(z2, "fetch", this._patchConstructor());
55319
+ d8e(fetch) && (this._unwrap(z2, "fetch"), this._diag.debug("removing previous patch for constructor")), this._wrap(z2, "fetch", this._patchConstructor());
55295
55320
  }
55296
55321
  /**
55297
55322
  * implements unpatch function
@@ -55300,11 +55325,11 @@ class K8e extends l8e {
55300
55325
  lM || (this._unwrap(z2, "fetch"), this._usedResources = /* @__PURE__ */ new WeakSet());
55301
55326
  }
55302
55327
  }
55303
- function Y8e(e) {
55328
+ function X8e(e) {
55304
55329
  return typeof e == "object" && e !== null && "addEventListener" in e && typeof e.addEventListener == "function" && "removeEventListener" in e && typeof e.removeEventListener == "function";
55305
55330
  }
55306
55331
  const fM = "OT_ZONE_CONTEXT";
55307
- class X8e {
55332
+ class Z8e {
55308
55333
  /**
55309
55334
  * whether the context manager is enabled or not
55310
55335
  */
@@ -55416,7 +55441,7 @@ class X8e {
55416
55441
  * the provided context will be used as the active context for the duration of the call.
55417
55442
  */
55418
55443
  bind(t, n) {
55419
- return t === void 0 && (t = this.active()), typeof n == "function" ? this._bindFunction(t, n) : (Y8e(n) && this._bindListener(t, n), n);
55444
+ return t === void 0 && (t = this.active()), typeof n == "function" ? this._bindFunction(t, n) : (X8e(n) && this._bindListener(t, n), n);
55420
55445
  }
55421
55446
  /**
55422
55447
  * Disable the context manager (clears all the contexts)
@@ -55445,7 +55470,7 @@ class X8e {
55445
55470
  }
55446
55471
  }
55447
55472
  var dM = {}, hM;
55448
- function Z8e() {
55473
+ function J8e() {
55449
55474
  if (hM) return dM;
55450
55475
  hM = 1;
55451
55476
  const e = globalThis;
@@ -56978,8 +57003,8 @@ function Z8e() {
56978
57003
  const Ot = r();
56979
57004
  return Ue(Ot), We(Ot), dM;
56980
57005
  }
56981
- Z8e();
56982
- class J8e {
57006
+ J8e();
57007
+ class Q8e {
56983
57008
  _delegate;
56984
57009
  constructor(t) {
56985
57010
  this._delegate = t;
@@ -57007,30 +57032,30 @@ class pM extends Error {
57007
57032
  super(t), this.data = r, this.code = n;
57008
57033
  }
57009
57034
  }
57010
- function Q8e(e) {
57035
+ function eIe(e) {
57011
57036
  if (Number.isFinite(e) && e > 0)
57012
57037
  return e;
57013
57038
  throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`);
57014
57039
  }
57015
- function eIe(e) {
57040
+ function tIe(e) {
57016
57041
  if (e != null)
57017
57042
  return async () => e;
57018
57043
  }
57019
- function tIe(e, t, n) {
57044
+ function nIe(e, t, n) {
57020
57045
  return {
57021
- timeoutMillis: Q8e(e.timeoutMillis ?? t.timeoutMillis ?? n.timeoutMillis),
57046
+ timeoutMillis: eIe(e.timeoutMillis ?? t.timeoutMillis ?? n.timeoutMillis),
57022
57047
  concurrencyLimit: e.concurrencyLimit ?? t.concurrencyLimit ?? n.concurrencyLimit,
57023
57048
  compression: e.compression ?? t.compression ?? n.compression
57024
57049
  };
57025
57050
  }
57026
- function nIe() {
57051
+ function rIe() {
57027
57052
  return {
57028
57053
  timeoutMillis: 1e4,
57029
57054
  concurrencyLimit: 30,
57030
57055
  compression: "none"
57031
57056
  };
57032
57057
  }
57033
- class rIe {
57058
+ class iIe {
57034
57059
  _concurrencyLimit;
57035
57060
  _sendingPromises = [];
57036
57061
  /**
@@ -57056,20 +57081,20 @@ class rIe {
57056
57081
  await Promise.all(this._sendingPromises);
57057
57082
  }
57058
57083
  }
57059
- function iIe(e) {
57060
- return new rIe(e.concurrencyLimit);
57061
- }
57062
57084
  function oIe(e) {
57085
+ return new iIe(e.concurrencyLimit);
57086
+ }
57087
+ function aIe(e) {
57063
57088
  return Object.prototype.hasOwnProperty.call(e, "partialSuccess");
57064
57089
  }
57065
- function aIe() {
57090
+ function sIe() {
57066
57091
  return {
57067
57092
  handleResponse(e) {
57068
- e == null || !oIe(e) || e.partialSuccess == null || Object.keys(e.partialSuccess).length === 0 || Ht.warn("Received Partial Success response:", JSON.stringify(e.partialSuccess));
57093
+ e == null || !aIe(e) || e.partialSuccess == null || Object.keys(e.partialSuccess).length === 0 || Ht.warn("Received Partial Success response:", JSON.stringify(e.partialSuccess));
57069
57094
  }
57070
57095
  };
57071
57096
  }
57072
- class sIe {
57097
+ class uIe {
57073
57098
  _transport;
57074
57099
  _serializer;
57075
57100
  _responseHandler;
@@ -57134,14 +57159,14 @@ class sIe {
57134
57159
  this._diagLogger.debug("shutdown started"), await this.forceFlush(), this._transport.shutdown();
57135
57160
  }
57136
57161
  }
57137
- function uIe(e, t) {
57138
- return new sIe(e.transport, e.serializer, aIe(), e.promiseHandler, t.timeout);
57162
+ function cIe(e, t) {
57163
+ return new uIe(e.transport, e.serializer, sIe(), e.promiseHandler, t.timeout);
57139
57164
  }
57140
57165
  function Y3(e, t, n) {
57141
- return uIe({
57166
+ return cIe({
57142
57167
  transport: n,
57143
57168
  serializer: t,
57144
- promiseHandler: iIe(e)
57169
+ promiseHandler: oIe(e)
57145
57170
  }, { timeout: e.timeoutMillis });
57146
57171
  }
57147
57172
  function gM(e) {
@@ -57160,51 +57185,51 @@ function CW(e) {
57160
57185
  const t = BigInt(1e9);
57161
57186
  return BigInt(Math.trunc(e[0])) * t + BigInt(Math.trunc(e[1]));
57162
57187
  }
57163
- function cIe(e) {
57188
+ function lIe(e) {
57164
57189
  const t = Number(BigInt.asUintN(32, e)), n = Number(BigInt.asUintN(32, e >> BigInt(32)));
57165
57190
  return { low: t, high: n };
57166
57191
  }
57167
- function lIe(e) {
57192
+ function fIe(e) {
57168
57193
  const t = CW(e);
57169
- return cIe(t);
57194
+ return lIe(t);
57170
57195
  }
57171
- function fIe(e) {
57196
+ function dIe(e) {
57172
57197
  return CW(e).toString();
57173
57198
  }
57174
- const dIe = typeof BigInt < "u" ? fIe : J4e;
57199
+ const hIe = typeof BigInt < "u" ? dIe : Q4e;
57175
57200
  function vM(e) {
57176
57201
  return e;
57177
57202
  }
57178
- function hIe(e) {
57203
+ function pIe(e) {
57179
57204
  if (e !== void 0)
57180
57205
  return TW(e);
57181
57206
  }
57182
- const pIe = {
57183
- encodeHrTime: lIe,
57207
+ const gIe = {
57208
+ encodeHrTime: fIe,
57184
57209
  encodeSpanContext: TW,
57185
- encodeOptionalSpanContext: hIe
57210
+ encodeOptionalSpanContext: pIe
57186
57211
  };
57187
- function gIe(e) {
57188
- return e === void 0 ? pIe : {
57189
- encodeHrTime: dIe,
57212
+ function vIe(e) {
57213
+ return e === void 0 ? gIe : {
57214
+ encodeHrTime: hIe,
57190
57215
  encodeSpanContext: vM,
57191
57216
  encodeOptionalSpanContext: vM
57192
57217
  };
57193
57218
  }
57194
- function vIe(e) {
57219
+ function mIe(e) {
57195
57220
  const t = {
57196
- attributes: yIe(e.attributes),
57221
+ attributes: bIe(e.attributes),
57197
57222
  droppedAttributesCount: 0
57198
57223
  }, n = e.schemaUrl;
57199
57224
  return n && n !== "" && (t.schemaUrl = n), t;
57200
57225
  }
57201
- function mIe(e) {
57226
+ function yIe(e) {
57202
57227
  return {
57203
57228
  name: e.name,
57204
57229
  version: e.version
57205
57230
  };
57206
57231
  }
57207
- function yIe(e) {
57232
+ function bIe(e) {
57208
57233
  return Object.keys(e).map((t) => X3(t, e[t]));
57209
57234
  }
57210
57235
  function X3(e, t) {
@@ -57221,13 +57246,13 @@ function Z3(e) {
57221
57246
  }
57222
57247
  } : {};
57223
57248
  }
57224
- function bIe(e, t) {
57225
- const n = gIe(t);
57249
+ function wIe(e, t) {
57250
+ const n = vIe(t);
57226
57251
  return {
57227
- resourceLogs: _Ie(e, n)
57252
+ resourceLogs: xIe(e, n)
57228
57253
  };
57229
57254
  }
57230
- function wIe(e) {
57255
+ function _Ie(e) {
57231
57256
  const t = /* @__PURE__ */ new Map();
57232
57257
  for (const n of e) {
57233
57258
  const { resource: r, instrumentationScope: { name: i, version: o = "", schemaUrl: a = "" } } = n;
@@ -57239,22 +57264,22 @@ function wIe(e) {
57239
57264
  }
57240
57265
  return t;
57241
57266
  }
57242
- function _Ie(e, t) {
57243
- const n = wIe(e);
57267
+ function xIe(e, t) {
57268
+ const n = _Ie(e);
57244
57269
  return Array.from(n, ([r, i]) => {
57245
- const o = vIe(r);
57270
+ const o = mIe(r);
57246
57271
  return {
57247
57272
  resource: o,
57248
57273
  scopeLogs: Array.from(i, ([, a]) => ({
57249
- scope: mIe(a[0].instrumentationScope),
57250
- logRecords: a.map((s) => xIe(s, t)),
57274
+ scope: yIe(a[0].instrumentationScope),
57275
+ logRecords: a.map((s) => EIe(s, t)),
57251
57276
  schemaUrl: a[0].instrumentationScope.schemaUrl
57252
57277
  })),
57253
57278
  schemaUrl: o.schemaUrl
57254
57279
  };
57255
57280
  });
57256
57281
  }
57257
- function xIe(e, t) {
57282
+ function EIe(e, t) {
57258
57283
  return {
57259
57284
  timeUnixNano: t.encodeHrTime(e.hrTime),
57260
57285
  observedTimeUnixNano: t.encodeHrTime(e.hrTimeObserved),
@@ -57262,19 +57287,19 @@ function xIe(e, t) {
57262
57287
  severityText: e.severityText,
57263
57288
  body: Z3(e.body),
57264
57289
  eventName: e.eventName,
57265
- attributes: EIe(e.attributes),
57290
+ attributes: SIe(e.attributes),
57266
57291
  droppedAttributesCount: e.droppedAttributesCount,
57267
57292
  flags: e.spanContext?.traceFlags,
57268
57293
  traceId: t.encodeOptionalSpanContext(e.spanContext?.traceId),
57269
57294
  spanId: t.encodeOptionalSpanContext(e.spanContext?.spanId)
57270
57295
  };
57271
57296
  }
57272
- function EIe(e) {
57297
+ function SIe(e) {
57273
57298
  return Object.keys(e).map((t) => X3(t, e[t]));
57274
57299
  }
57275
- const SIe = {
57300
+ const OIe = {
57276
57301
  serializeRequest: (e) => {
57277
- const t = bIe(e, {});
57302
+ const t = wIe(e, {});
57278
57303
  return new TextEncoder().encode(JSON.stringify(t));
57279
57304
  },
57280
57305
  deserializeResponse: (e) => {
@@ -57283,11 +57308,11 @@ const SIe = {
57283
57308
  const t = new TextDecoder();
57284
57309
  return JSON.parse(t.decode(e));
57285
57310
  }
57286
- }, OIe = 5, AIe = 1e3, PIe = 5e3, TIe = 1.5, mM = 0.2;
57287
- function CIe() {
57311
+ }, AIe = 5, PIe = 1e3, TIe = 5e3, CIe = 1.5, mM = 0.2;
57312
+ function IIe() {
57288
57313
  return Math.random() * (2 * mM) - mM;
57289
57314
  }
57290
- class IIe {
57315
+ class MIe {
57291
57316
  _transport;
57292
57317
  constructor(t) {
57293
57318
  this._transport = t;
@@ -57301,11 +57326,11 @@ class IIe {
57301
57326
  }
57302
57327
  async send(t, n) {
57303
57328
  const r = Date.now() + n;
57304
- let i = await this._transport.send(t, n), o = OIe, a = AIe;
57329
+ let i = await this._transport.send(t, n), o = AIe, a = PIe;
57305
57330
  for (; i.status === "retryable" && o > 0; ) {
57306
57331
  o--;
57307
- const s = Math.max(Math.min(a, PIe) + CIe(), 0);
57308
- a = a * TIe;
57332
+ const s = Math.max(Math.min(a, TIe) + IIe(), 0);
57333
+ a = a * CIe;
57309
57334
  const u = i.retryInMillis ?? s, c = r - Date.now();
57310
57335
  if (u > c)
57311
57336
  return i;
@@ -57318,7 +57343,7 @@ class IIe {
57318
57343
  }
57319
57344
  }
57320
57345
  function J3(e) {
57321
- return new IIe(e.transport);
57346
+ return new MIe(e.transport);
57322
57347
  }
57323
57348
  function IW(e) {
57324
57349
  return [429, 502, 503, 504].includes(e);
@@ -57332,7 +57357,7 @@ function MW(e) {
57332
57357
  const n = new Date(e).getTime() - Date.now();
57333
57358
  return n >= 0 ? n : 0;
57334
57359
  }
57335
- class MIe {
57360
+ class kIe {
57336
57361
  _parameters;
57337
57362
  constructor(t) {
57338
57363
  this._parameters = t;
@@ -57374,10 +57399,10 @@ class MIe {
57374
57399
  shutdown() {
57375
57400
  }
57376
57401
  }
57377
- function kIe(e) {
57378
- return new MIe(e);
57402
+ function RIe(e) {
57403
+ return new kIe(e);
57379
57404
  }
57380
- class RIe {
57405
+ class DIe {
57381
57406
  _params;
57382
57407
  constructor(t) {
57383
57408
  this._params = t;
@@ -57396,10 +57421,10 @@ class RIe {
57396
57421
  shutdown() {
57397
57422
  }
57398
57423
  }
57399
- function DIe(e) {
57400
- return new RIe(e);
57424
+ function LIe(e) {
57425
+ return new DIe(e);
57401
57426
  }
57402
- class LIe {
57427
+ class NIe {
57403
57428
  _parameters;
57404
57429
  constructor(t) {
57405
57430
  this._parameters = t;
@@ -57440,42 +57465,42 @@ class LIe {
57440
57465
  shutdown() {
57441
57466
  }
57442
57467
  }
57443
- function NIe(e) {
57444
- return new LIe(e);
57468
+ function jIe(e) {
57469
+ return new NIe(e);
57445
57470
  }
57446
- function jIe(e, t) {
57471
+ function $Ie(e, t) {
57447
57472
  return Y3(e, t, J3({
57448
- transport: kIe(e)
57473
+ transport: RIe(e)
57449
57474
  }));
57450
57475
  }
57451
- function $Ie(e, t) {
57476
+ function BIe(e, t) {
57452
57477
  return Y3(e, t, J3({
57453
- transport: NIe(e)
57478
+ transport: jIe(e)
57454
57479
  }));
57455
57480
  }
57456
- function BIe(e, t) {
57481
+ function zIe(e, t) {
57457
57482
  return Y3(e, t, J3({
57458
- transport: DIe({
57483
+ transport: LIe({
57459
57484
  url: e.url,
57460
57485
  headers: e.headers
57461
57486
  })
57462
57487
  }));
57463
57488
  }
57464
- function zIe(e) {
57489
+ function FIe(e) {
57465
57490
  const t = {};
57466
57491
  return Object.entries(e ?? {}).forEach(([n, r]) => {
57467
57492
  typeof r < "u" ? t[n] = String(r) : Ht.warn(`Header "${n}" has invalid value (${r}) and will be ignored`);
57468
57493
  }), t;
57469
57494
  }
57470
- function FIe(e, t, n) {
57495
+ function WIe(e, t, n) {
57471
57496
  return async () => {
57472
57497
  const r = {
57473
57498
  ...await n()
57474
57499
  }, i = {};
57475
- return t != null && Object.assign(i, await t()), e != null && Object.assign(i, zIe(await e())), Object.assign(i, r);
57500
+ return t != null && Object.assign(i, await t()), e != null && Object.assign(i, FIe(await e())), Object.assign(i, r);
57476
57501
  };
57477
57502
  }
57478
- function WIe(e) {
57503
+ function UIe(e) {
57479
57504
  if (e != null)
57480
57505
  try {
57481
57506
  const t = globalThis.location?.href;
@@ -57484,46 +57509,46 @@ function WIe(e) {
57484
57509
  throw new Error(`Configuration: Could not parse user-provided export URL: '${e}'`);
57485
57510
  }
57486
57511
  }
57487
- function UIe(e, t, n) {
57512
+ function HIe(e, t, n) {
57488
57513
  return {
57489
- ...tIe(e, t, n),
57490
- headers: FIe(e.headers, t.headers, n.headers),
57491
- url: WIe(e.url) ?? t.url ?? n.url
57514
+ ...nIe(e, t, n),
57515
+ headers: WIe(e.headers, t.headers, n.headers),
57516
+ url: UIe(e.url) ?? t.url ?? n.url
57492
57517
  };
57493
57518
  }
57494
- function HIe(e, t) {
57519
+ function VIe(e, t) {
57495
57520
  return {
57496
- ...nIe(),
57521
+ ...rIe(),
57497
57522
  headers: async () => e,
57498
57523
  url: "http://localhost:4318/" + t
57499
57524
  };
57500
57525
  }
57501
- function VIe(e) {
57502
- return typeof e.headers == "function" ? e.headers : eIe(e.headers);
57526
+ function GIe(e) {
57527
+ return typeof e.headers == "function" ? e.headers : tIe(e.headers);
57503
57528
  }
57504
- function GIe(e, t, n) {
57505
- return UIe(
57529
+ function qIe(e, t, n) {
57530
+ return HIe(
57506
57531
  {
57507
57532
  url: e.url,
57508
57533
  timeoutMillis: e.timeoutMillis,
57509
- headers: VIe(e),
57534
+ headers: GIe(e),
57510
57535
  concurrencyLimit: e.concurrencyLimit
57511
57536
  },
57512
57537
  {},
57513
57538
  // no fallback for browser case
57514
- HIe(n, t)
57539
+ VIe(n, t)
57515
57540
  );
57516
57541
  }
57517
- function qIe(e, t, n, r) {
57518
- const i = KIe(e.headers), o = GIe(e, n, r);
57542
+ function KIe(e, t, n, r) {
57543
+ const i = YIe(e.headers), o = qIe(e, n, r);
57519
57544
  return i(o, t);
57520
57545
  }
57521
- function KIe(e) {
57522
- return !e && typeof navigator.sendBeacon == "function" ? BIe : typeof globalThis.fetch < "u" ? $Ie : jIe;
57546
+ function YIe(e) {
57547
+ return !e && typeof navigator.sendBeacon == "function" ? zIe : typeof globalThis.fetch < "u" ? BIe : $Ie;
57523
57548
  }
57524
- class YIe extends J8e {
57549
+ class XIe extends Q8e {
57525
57550
  constructor(t = {}) {
57526
- super(qIe(t, SIe, "v1/logs", { "Content-Type": "application/json" }));
57551
+ super(KIe(t, OIe, "v1/logs", { "Content-Type": "application/json" }));
57527
57552
  }
57528
57553
  }
57529
57554
  var Ol;
@@ -57535,13 +57560,13 @@ class kW {
57535
57560
  }
57536
57561
  }
57537
57562
  const RW = new kW();
57538
- class XIe {
57563
+ class ZIe {
57539
57564
  getLogger(t, n, r) {
57540
57565
  return new kW();
57541
57566
  }
57542
57567
  }
57543
- const DW = new XIe();
57544
- class ZIe {
57568
+ const DW = new ZIe();
57569
+ class JIe {
57545
57570
  constructor(t, n, r, i) {
57546
57571
  this._provider = t, this.name = n, this.version = r, this.options = i;
57547
57572
  }
@@ -57567,7 +57592,7 @@ class ZIe {
57567
57592
  class yM {
57568
57593
  getLogger(t, n, r) {
57569
57594
  var i;
57570
- return (i = this._getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new ZIe(this, t, n, r);
57595
+ return (i = this._getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new JIe(this, t, n, r);
57571
57596
  }
57572
57597
  /**
57573
57598
  * Get the delegate logger provider.
@@ -57593,8 +57618,8 @@ class yM {
57593
57618
  return (i = this._delegate) === null || i === void 0 ? void 0 : i.getLogger(t, n, r);
57594
57619
  }
57595
57620
  }
57596
- const JIe = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Tv = Symbol.for("io.opentelemetry.js.api.logs"), Ed = JIe;
57597
- function QIe(e, t, n) {
57621
+ const QIe = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Tv = Symbol.for("io.opentelemetry.js.api.logs"), Ed = QIe;
57622
+ function eMe(e, t, n) {
57598
57623
  return (r) => r === e ? t : n;
57599
57624
  }
57600
57625
  const bM = 1;
@@ -57606,7 +57631,7 @@ class Q3 {
57606
57631
  return this._instance || (this._instance = new Q3()), this._instance;
57607
57632
  }
57608
57633
  setGlobalLoggerProvider(t) {
57609
- return Ed[Tv] ? this.getLoggerProvider() : (Ed[Tv] = QIe(bM, t, DW), this._proxyLoggerProvider._setDelegate(t), t);
57634
+ return Ed[Tv] ? this.getLoggerProvider() : (Ed[Tv] = eMe(bM, t, DW), this._proxyLoggerProvider._setDelegate(t), t);
57610
57635
  }
57611
57636
  /**
57612
57637
  * Returns the global logger provider.
@@ -57631,7 +57656,7 @@ class Q3 {
57631
57656
  }
57632
57657
  }
57633
57658
  const LW = Q3.getInstance();
57634
- class eMe {
57659
+ class tMe {
57635
57660
  hrTime;
57636
57661
  hrTimeObserved;
57637
57662
  spanContext;
@@ -57719,21 +57744,21 @@ class eMe {
57719
57744
  return this._isReadonly && Ht.warn("Can not execute the operation on emitted log record"), this._isReadonly;
57720
57745
  }
57721
57746
  }
57722
- class tMe {
57747
+ class nMe {
57723
57748
  instrumentationScope;
57724
57749
  _sharedState;
57725
57750
  constructor(t, n) {
57726
57751
  this.instrumentationScope = t, this._sharedState = n;
57727
57752
  }
57728
57753
  emit(t) {
57729
- const n = t.context || jr.active(), r = new eMe(this._sharedState, this.instrumentationScope, {
57754
+ const n = t.context || jr.active(), r = new tMe(this._sharedState, this.instrumentationScope, {
57730
57755
  context: n,
57731
57756
  ...t
57732
57757
  });
57733
57758
  this._sharedState.activeProcessor.onEmit(r, n), r._makeReadonly();
57734
57759
  }
57735
57760
  }
57736
- function nMe() {
57761
+ function rMe() {
57737
57762
  return {
57738
57763
  forceFlushTimeoutMillis: 3e4,
57739
57764
  logRecordLimits: {
@@ -57743,7 +57768,7 @@ function nMe() {
57743
57768
  includeTraceContext: !0
57744
57769
  };
57745
57770
  }
57746
- function rMe(e) {
57771
+ function iMe(e) {
57747
57772
  return {
57748
57773
  /**
57749
57774
  * Reassign log record attribute count limit to use first non null value defined by user or use default value
@@ -57755,7 +57780,7 @@ function rMe(e) {
57755
57780
  attributeValueLengthLimit: e.attributeValueLengthLimit ?? void 0 ?? void 0 ?? 1 / 0
57756
57781
  };
57757
57782
  }
57758
- class iMe {
57783
+ class oMe {
57759
57784
  forceFlush() {
57760
57785
  return Promise.resolve();
57761
57786
  }
@@ -57765,7 +57790,7 @@ class iMe {
57765
57790
  return Promise.resolve();
57766
57791
  }
57767
57792
  }
57768
- class oMe {
57793
+ class aMe {
57769
57794
  processors;
57770
57795
  forceFlushTimeoutMillis;
57771
57796
  constructor(t, n) {
@@ -57773,7 +57798,7 @@ class oMe {
57773
57798
  }
57774
57799
  async forceFlush() {
57775
57800
  const t = this.forceFlushTimeoutMillis;
57776
- await Promise.all(this.processors.map((n) => TCe(n.forceFlush(), t)));
57801
+ await Promise.all(this.processors.map((n) => CCe(n.forceFlush(), t)));
57777
57802
  }
57778
57803
  onEmit(t, n) {
57779
57804
  this.processors.forEach((r) => r.onEmit(t, n));
@@ -57782,7 +57807,7 @@ class oMe {
57782
57807
  await Promise.all(this.processors.map((t) => t.shutdown()));
57783
57808
  }
57784
57809
  }
57785
- class aMe {
57810
+ class sMe {
57786
57811
  resource;
57787
57812
  forceFlushTimeoutMillis;
57788
57813
  logRecordLimits;
@@ -57791,16 +57816,16 @@ class aMe {
57791
57816
  activeProcessor;
57792
57817
  registeredLogRecordProcessors = [];
57793
57818
  constructor(t, n, r, i) {
57794
- this.resource = t, this.forceFlushTimeoutMillis = n, this.logRecordLimits = r, this.processors = i, i.length > 0 ? (this.registeredLogRecordProcessors = i, this.activeProcessor = new oMe(this.registeredLogRecordProcessors, this.forceFlushTimeoutMillis)) : this.activeProcessor = new iMe();
57819
+ this.resource = t, this.forceFlushTimeoutMillis = n, this.logRecordLimits = r, this.processors = i, i.length > 0 ? (this.registeredLogRecordProcessors = i, this.activeProcessor = new aMe(this.registeredLogRecordProcessors, this.forceFlushTimeoutMillis)) : this.activeProcessor = new oMe();
57795
57820
  }
57796
57821
  }
57797
- const sMe = "unknown";
57798
- class uMe {
57822
+ const uMe = "unknown";
57823
+ class cMe {
57799
57824
  _shutdownOnce;
57800
57825
  _sharedState;
57801
57826
  constructor(t = {}) {
57802
- const n = iW({}, nMe(), t), r = t.resource ?? cW();
57803
- this._sharedState = new aMe(r, n.forceFlushTimeoutMillis, rMe(n.logRecordLimits), t?.processors ?? []), this._shutdownOnce = new G3(this._shutdown, this);
57827
+ const n = iW({}, rMe(), t), r = t.resource ?? cW();
57828
+ this._sharedState = new sMe(r, n.forceFlushTimeoutMillis, iMe(n.logRecordLimits), t?.processors ?? []), this._shutdownOnce = new G3(this._shutdown, this);
57804
57829
  }
57805
57830
  /**
57806
57831
  * Get a logger with the configuration of the LoggerProvider.
@@ -57809,8 +57834,8 @@ class uMe {
57809
57834
  if (this._shutdownOnce.isCalled)
57810
57835
  return Ht.warn("A shutdown LoggerProvider cannot provide a Logger"), RW;
57811
57836
  t || Ht.warn("Logger requested without instrumentation scope name.");
57812
- const i = t || sMe, o = `${i}@${n || ""}:${r?.schemaUrl || ""}`;
57813
- return this._sharedState.loggers.has(o) || this._sharedState.loggers.set(o, new tMe({ name: i, version: n, schemaUrl: r?.schemaUrl }, this._sharedState)), this._sharedState.loggers.get(o);
57837
+ const i = t || uMe, o = `${i}@${n || ""}:${r?.schemaUrl || ""}`;
57838
+ return this._sharedState.loggers.has(o) || this._sharedState.loggers.set(o, new nMe({ name: i, version: n, schemaUrl: r?.schemaUrl }, this._sharedState)), this._sharedState.loggers.get(o);
57814
57839
  }
57815
57840
  /**
57816
57841
  * Notifies all registered LogRecordProcessor to flush any buffered data.
@@ -57833,7 +57858,7 @@ class uMe {
57833
57858
  return this._sharedState.activeProcessor.shutdown();
57834
57859
  }
57835
57860
  }
57836
- class cMe {
57861
+ class lMe {
57837
57862
  /**
57838
57863
  * Export logs.
57839
57864
  * @param logs
@@ -57908,38 +57933,38 @@ class wM {
57908
57933
  return this._exporter.shutdown();
57909
57934
  }
57910
57935
  }
57911
- function vDe(e) {
57912
- const t = uW({
57913
- [ZF]: "MES-FE"
57914
- }), n = new Z7e({
57936
+ function mDe(e, t = "MES-FE") {
57937
+ const n = uW({
57938
+ [ZF]: t
57939
+ }), r = new J7e({
57915
57940
  url: `${e}/v1/traces`
57916
57941
  // URL del collector OpenTelemetry
57917
- }), r = new XCe({
57918
- resource: t,
57942
+ }), i = new ZCe({
57943
+ resource: n,
57919
57944
  spanProcessors: [
57920
- new eM(new GCe()),
57945
+ new eM(new qCe()),
57921
57946
  // Debug in console
57922
- new eM(n)
57947
+ new eM(r)
57923
57948
  // Invio al collector
57924
57949
  ]
57925
57950
  });
57926
- r.register({
57951
+ i.register({
57927
57952
  // Changing default contextManager to use ZoneContextManager - supports asynchronous operations - optional
57928
- contextManager: new X8e()
57929
- }), r.register();
57930
- const i = new YIe({
57953
+ contextManager: new Z8e()
57954
+ }), i.register();
57955
+ const o = new XIe({
57931
57956
  url: `${e}/v1/logs`
57932
57957
  // URL del collector OpenTelemetry per i log});
57933
- }), o = new uMe({
57934
- resource: t,
57958
+ }), a = new cMe({
57959
+ resource: n,
57935
57960
  processors: [
57936
- new wM(new cMe()),
57937
- new wM(i)
57961
+ new wM(new lMe()),
57962
+ new wM(o)
57938
57963
  ]
57939
57964
  });
57940
- LW.setGlobalLoggerProvider(o), a8e({
57965
+ LW.setGlobalLoggerProvider(a), s8e({
57941
57966
  instrumentations: [
57942
- new K8e()
57967
+ new Y8e()
57943
57968
  // new XMLHttpRequestInstrumentation(),
57944
57969
  // new DocumentLoadInstrumentation(),
57945
57970
  // new UserInteractionInstrumentation(),
@@ -57977,7 +58002,7 @@ const _M = (e, t, n) => (Object.keys(n).forEach((r) => {
57977
58002
  r
57978
58003
  );
57979
58004
  }
57980
- }), t), mDe = (e, t, n) => !e || !Array.isArray(e) || e.length < 1 || !e[0][t] ? [] : e.reduce(
58005
+ }), t), yDe = (e, t, n) => !e || !Array.isArray(e) || e.length < 1 || !e[0][t] ? [] : e.reduce(
57981
58006
  (r, i) => {
57982
58007
  const o = r.findIndex(
57983
58008
  (a) => a[t] === i[t]
@@ -57990,7 +58015,7 @@ const _M = (e, t, n) => (Object.keys(n).forEach((r) => {
57990
58015
  return r;
57991
58016
  },
57992
58017
  []
57993
- ), yDe = (e, t = 50) => e ? e.length > t ? `${e.substring(0, t)}...` : e : "", Cv = () => LW.getLogger("MES-FE"), bDe = {
58018
+ ), bDe = (e, t = 50) => e ? e.length > t ? `${e.substring(0, t)}...` : e : "", Cv = () => LW.getLogger("MES-FE"), wDe = {
57994
58019
  info(e, t) {
57995
58020
  Cv().emit({
57996
58021
  severityNumber: Ol.INFO,
@@ -58025,172 +58050,172 @@ const _M = (e, t, n) => (Object.keys(n).forEach((r) => {
58025
58050
  }
58026
58051
  };
58027
58052
  export {
58028
- DRe as Accordion,
58053
+ LRe as Accordion,
58029
58054
  aTe as Alignment,
58030
58055
  eJ as AppBar,
58031
- eRe as AreaRangeChartComponent,
58032
- URe as AssignmentLayout,
58033
- Ske as AuthProvider,
58034
- Ake as AuthWrapper,
58056
+ tRe as AreaRangeChartComponent,
58057
+ HRe as AssignmentLayout,
58058
+ Oke as AuthProvider,
58059
+ Pke as AuthWrapper,
58035
58060
  km as Autocomplete,
58036
- pRe as AutocompleteClient,
58037
- Pke as BadgeScanner,
58038
- tRe as BarChartComponent,
58039
- FRe as Barcode,
58040
- Tke as Blink,
58061
+ gRe as AutocompleteClient,
58062
+ Tke as BadgeScanner,
58063
+ nRe as BarChartComponent,
58064
+ WRe as Barcode,
58065
+ Cke as Blink,
58041
58066
  BZ as BreadCrumb,
58042
- Cke as BreadCrumbProvider,
58067
+ Ike as BreadCrumbProvider,
58043
58068
  nJ as ButtonsGrid,
58044
58069
  HZ as CLOSED_DRAWER_WIDTH,
58045
58070
  oh as CaptionValue,
58046
58071
  t0 as CaptionValueDirection,
58047
- Lke as Card,
58072
+ Nke as Card,
58048
58073
  tk as CardDirection,
58049
- gke as CenteredColumnFlexBox,
58074
+ vke as CenteredColumnFlexBox,
58050
58075
  Kh as CenteredFlexBox,
58051
- gRe as Checkbox,
58052
- LRe as China,
58076
+ vRe as Checkbox,
58077
+ NRe as China,
58053
58078
  po as ColumnFlexBox,
58054
- wke as ConfigProvider,
58079
+ _ke as ConfigProvider,
58055
58080
  oJ as ConfirmDialog,
58056
58081
  zZ as CopyToClipboard,
58057
58082
  N3e as CustomEventScatter,
58058
58083
  DA as CustomToolTip,
58059
- uRe as DDRRItem,
58084
+ cRe as DDRRItem,
58060
58085
  hr as DataType,
58061
58086
  eh as DatePicker,
58062
58087
  sTe as Delete,
58063
58088
  Oc as Dialog,
58064
- vke as DoubleColumnGridBox,
58089
+ mke as DoubleColumnGridBox,
58065
58090
  VZ as Drawer,
58066
- ORe as ExternalSvg,
58067
- RRe as FallbackTypography,
58091
+ ARe as ExternalSvg,
58092
+ DRe as FallbackTypography,
58068
58093
  mPe as FilterSort,
58069
- bRe as FilteredList,
58094
+ wRe as FilteredList,
58070
58095
  WZ as FlagButton,
58071
58096
  yn as FlexBox,
58072
58097
  MZ as FormPaper,
58073
- NRe as France,
58098
+ jRe as France,
58074
58099
  jM as FullPageFlexBox,
58075
58100
  yZ as FullPageWrapper,
58076
58101
  sf as FullSizeCenteredColumn,
58077
58102
  ih as FullSizeCenteredFlexBox,
58078
58103
  Vu as FullSizeColumn,
58079
58104
  go as FullSizeFlexBox,
58080
- kRe as FullSizeMessage,
58081
- iRe as GaugeWithLabel,
58082
- kke as GlobalSwitch,
58083
- aRe as Graph,
58084
- oRe as GraphsFlexbox,
58085
- dRe as Header,
58086
- hRe as HotKeysSelector,
58087
- TRe as IFrame,
58088
- Dke as IconDetailCard,
58089
- b4e as IdleContext,
58090
- ZRe as IdleProvider,
58091
- O5e as InnerHeader,
58092
- jRe as Italy,
58105
+ RRe as FullSizeMessage,
58106
+ oRe as GaugeWithLabel,
58107
+ Rke as GlobalSwitch,
58108
+ sRe as Graph,
58109
+ aRe as GraphsFlexbox,
58110
+ hRe as Header,
58111
+ pRe as HotKeysSelector,
58112
+ CRe as IFrame,
58113
+ Lke as IconDetailCard,
58114
+ w4e as IdleContext,
58115
+ JRe as IdleProvider,
58116
+ A5e as InnerHeader,
58117
+ $Re as Italy,
58093
58118
  Ao as KeyButton,
58094
58119
  Iv as KeyboardStatus,
58095
58120
  rJ as Keypad,
58096
- mRe as LanguageSelector,
58097
- Jke as LineChartComponent,
58121
+ yRe as LanguageSelector,
58122
+ Qke as LineChartComponent,
58098
58123
  zd as ListItem,
58099
58124
  EF as ListWrapper,
58100
58125
  oS as LoadingComponent,
58101
- wRe as Looper,
58102
- Rke as Main,
58103
- Mke as MenuButton,
58126
+ _Re as Looper,
58127
+ Dke as Main,
58128
+ kke as MenuButton,
58104
58129
  FZ as MenuWrapper,
58105
58130
  I3 as MobileContext,
58106
- yRe as MobileProvider,
58107
- vRe as MultipleSelect,
58108
- MRe as Navbar,
58109
- HRe as NotificationsProvider,
58131
+ bRe as MobileProvider,
58132
+ mRe as MultipleSelect,
58133
+ kRe as Navbar,
58134
+ VRe as NotificationsProvider,
58110
58135
  UZ as OPEN_DRAWER_WIDTH,
58111
58136
  no as Operators,
58112
- _Re as PaginatedList,
58137
+ xRe as PaginatedList,
58113
58138
  PPe as PaginationFilters,
58114
58139
  AZ as PaginationProvider,
58115
58140
  UPe as PaginationSortings,
58116
- nRe as PieSingleChartComponent,
58141
+ rRe as PieSingleChartComponent,
58117
58142
  pl as Position,
58118
- IRe as PressSvg,
58119
- CRe as ProgressBar,
58143
+ MRe as PressSvg,
58144
+ IRe as ProgressBar,
58120
58145
  gI as RadDialog,
58121
58146
  bTe as RadSection,
58122
58147
  yTe as RadTable,
58123
58148
  hF as Radio,
58124
- qRe as RelayEnvironmentProvider,
58125
- xRe as Resizable,
58149
+ KRe as RelayEnvironmentProvider,
58150
+ ERe as Resizable,
58126
58151
  RZ as RoundedTabs,
58127
- Y6e as RouteTypes,
58128
- ERe as RouteWrapper,
58129
- SRe as Scanner,
58130
- rRe as ScatterChartComponent,
58152
+ X6e as RouteTypes,
58153
+ SRe as RouteWrapper,
58154
+ ORe as Scanner,
58155
+ iRe as ScatterChartComponent,
58131
58156
  bPe as SearchField,
58132
58157
  Bh as Section,
58133
58158
  cI as Select,
58134
- Ike as Sidebar,
58135
- ARe as SortableContent,
58136
- PRe as SortableContentNew,
58137
- $Re as Spain,
58159
+ Mke as Sidebar,
58160
+ PRe as SortableContent,
58161
+ TRe as SortableContentNew,
58162
+ BRe as Spain,
58138
58163
  DZ as StandardTabs,
58139
- yke as StateProvider,
58164
+ bke as StateProvider,
58140
58165
  ek as TRANSITION_DURATION,
58141
58166
  kZ as TabPanel,
58142
58167
  cTe as Table,
58143
- S5e as TableHeader,
58168
+ O5e as TableHeader,
58144
58169
  hI as TableRow,
58145
58170
  uTe as TableToolbar,
58146
58171
  LZ as Tabs,
58147
58172
  QZ as TextField,
58148
58173
  iJ as TextFieldWithKeyboard,
58149
- Oke as ThemeProvider,
58174
+ Ake as ThemeProvider,
58150
58175
  Sd as Themes,
58151
- sRe as TimelineChart,
58152
- A5e as TitleRow,
58176
+ uRe as TimelineChart,
58177
+ P5e as TitleRow,
58153
58178
  qZ as ToggleSwitch,
58154
58179
  bT as ToolButton,
58155
- mke as TripleColumnGridBox,
58156
- BRe as Tunisia,
58180
+ yke as TripleColumnGridBox,
58181
+ zRe as Tunisia,
58157
58182
  Hs as Types,
58158
- zRe as Uk,
58159
- JRe as addToDate,
58160
- mDe as aggregate,
58161
- GRe as artifactImportRewriteBuild,
58162
- VRe as artifactsImportRewrite,
58163
- tDe as autoGridSize,
58164
- nDe as bitwiseCheck,
58165
- w4e as calcTimeDifference,
58166
- eDe as calcTimeSpent,
58183
+ FRe as Uk,
58184
+ QRe as addToDate,
58185
+ yDe as aggregate,
58186
+ qRe as artifactImportRewriteBuild,
58187
+ GRe as artifactsImportRewrite,
58188
+ nDe as autoGridSize,
58189
+ rDe as bitwiseCheck,
58190
+ _4e as calcTimeDifference,
58191
+ tDe as calcTimeSpent,
58167
58192
  td as computeCursor,
58168
58193
  yT as coreTheme,
58169
- K6e as createRelayEnvironment,
58170
- rDe as extractEdges,
58194
+ Y6e as createRelayEnvironment,
58195
+ iDe as extractEdges,
58171
58196
  mI as formatDateTime,
58172
58197
  APe as formatDateToYYYYMMDD,
58173
- _4e as formatDuration,
58198
+ x4e as formatDuration,
58174
58199
  hTe as formatFormData,
58175
58200
  Kz as formatNumber,
58176
58201
  mTe as formatRecordsData,
58177
58202
  Rm as getDateFormat,
58178
- KRe as getRoutes,
58179
- cRe as handleDragEnd,
58180
- lRe as handleResetDraggable,
58181
- fRe as handleSnackbarClose,
58182
- WRe as initi18n,
58203
+ YRe as getRoutes,
58204
+ lRe as handleDragEnd,
58205
+ fRe as handleResetDraggable,
58206
+ dRe as handleSnackbarClose,
58207
+ URe as initi18n,
58183
58208
  zh as isValidDate,
58184
- YRe as jotaiAdapter,
58185
- bDe as logger,
58186
- vDe as openTelemetry,
58187
- XRe as recoilAdapter,
58209
+ XRe as jotaiAdapter,
58210
+ wDe as logger,
58211
+ mDe as openTelemetry,
58212
+ ZRe as recoilAdapter,
58188
58213
  _Pe as renderFilters,
58189
58214
  lTe as renderFormFields,
58190
58215
  _M as subscriptionUpdater,
58191
- QRe as subtractToDate,
58216
+ eDe as subtractToDate,
58192
58217
  $Z as themes,
58193
- yDe as truncateText,
58218
+ bDe as truncateText,
58194
58219
  aS as useArray,
58195
58220
  QM as useAuthContext,
58196
58221
  TZ as useBreadCrumbs,
@@ -58202,12 +58227,12 @@ export {
58202
58227
  na as useGState,
58203
58228
  IZ as useHotKeysDialog,
58204
58229
  EZ as useIdleTimer,
58205
- bke as useInfiniteQuery,
58230
+ wke as useInfiniteQuery,
58206
58231
  ZM as useLanguageDialog,
58207
58232
  Yh as useMediaQuery,
58208
- _ke as useOrientation,
58233
+ xke as useOrientation,
58209
58234
  YM as usePagination,
58210
- Eke as useRfid,
58235
+ Ske as useRfid,
58211
58236
  PZ as useScanner,
58212
58237
  uS as useScroll,
58213
58238
  KM as useSettings,
@@ -58215,5 +58240,5 @@ export {
58215
58240
  GM as useSorts,
58216
58241
  ka as useTheme,
58217
58242
  CZ as useVirtualKeyboard,
58218
- xke as useVisibilityChange
58243
+ Eke as useVisibilityChange
58219
58244
  };