@its/core 2.6.0-beta.4 → 2.6.0-beta.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/core.es.js +801 -781
- 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
|
-
}),
|
|
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
|
-
}),
|
|
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
|
-
}),
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
})),
|
|
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
|
|
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
|
|
5626
|
+
function Nke({
|
|
5627
5627
|
id: e,
|
|
5628
5628
|
title: t,
|
|
5629
5629
|
width: n,
|
|
@@ -19570,7 +19570,7 @@ var Efe = {
|
|
|
19570
19570
|
}), {
|
|
19571
19571
|
setChartData: q4,
|
|
19572
19572
|
setDataStartEndIndexes: Sfe,
|
|
19573
|
-
setComputedData:
|
|
19573
|
+
setComputedData: Bke
|
|
19574
19574
|
} = Aj.actions, Ofe = Aj.reducer, Afe = ["x", "y"];
|
|
19575
19575
|
function K4(e, t) {
|
|
19576
19576
|
var n = Object.keys(e);
|
|
@@ -20968,10 +20968,10 @@ var ehe = {
|
|
|
20968
20968
|
}
|
|
20969
20969
|
}
|
|
20970
20970
|
}), {
|
|
20971
|
-
addRadiusAxis:
|
|
20972
|
-
removeRadiusAxis:
|
|
20973
|
-
addAngleAxis:
|
|
20974
|
-
removeAngleAxis:
|
|
20971
|
+
addRadiusAxis: zke,
|
|
20972
|
+
removeRadiusAxis: Fke,
|
|
20973
|
+
addAngleAxis: Wke,
|
|
20974
|
+
removeAngleAxis: Uke
|
|
20975
20975
|
} = Fj.actions, the = Fj.reducer;
|
|
20976
20976
|
function vC(e, t) {
|
|
20977
20977
|
var n = Object.keys(e);
|
|
@@ -22198,9 +22198,9 @@ var xpe = {
|
|
|
22198
22198
|
addYAxis: Ape,
|
|
22199
22199
|
replaceYAxis: Ppe,
|
|
22200
22200
|
removeYAxis: Tpe,
|
|
22201
|
-
addZAxis:
|
|
22202
|
-
replaceZAxis:
|
|
22203
|
-
removeZAxis:
|
|
22201
|
+
addZAxis: Hke,
|
|
22202
|
+
replaceZAxis: Vke,
|
|
22203
|
+
removeZAxis: Gke,
|
|
22204
22204
|
updateYAxisWidth: Cpe
|
|
22205
22205
|
} = Kj.actions, Ipe = Kj.reducer, Mpe = Oe([Pr], (e) => ({
|
|
22206
22206
|
top: e.top,
|
|
@@ -22436,9 +22436,9 @@ var qpe = function(t) {
|
|
|
22436
22436
|
}
|
|
22437
22437
|
}
|
|
22438
22438
|
}), {
|
|
22439
|
-
addErrorBar:
|
|
22440
|
-
replaceErrorBar:
|
|
22441
|
-
removeErrorBar:
|
|
22439
|
+
addErrorBar: qke,
|
|
22440
|
+
replaceErrorBar: Kke,
|
|
22441
|
+
removeErrorBar: Yke
|
|
22442
22442
|
} = Yj.actions, Ype = Yj.reducer, Xpe = ["children"];
|
|
22443
22443
|
function Zpe(e, t) {
|
|
22444
22444
|
if (e == null) return {};
|
|
@@ -23549,7 +23549,7 @@ var uve = (e, t, n, r, i, o, a) => {
|
|
|
23549
23549
|
}
|
|
23550
23550
|
}
|
|
23551
23551
|
}), {
|
|
23552
|
-
setBrushSettings:
|
|
23552
|
+
setBrushSettings: Xke
|
|
23553
23553
|
} = e$.actions, yve = e$.reducer;
|
|
23554
23554
|
function WC(e, t) {
|
|
23555
23555
|
var n = Object.keys(e);
|
|
@@ -23739,8 +23739,8 @@ var Sve = function(t) {
|
|
|
23739
23739
|
}), {
|
|
23740
23740
|
addDot: Ave,
|
|
23741
23741
|
removeDot: Pve,
|
|
23742
|
-
addArea:
|
|
23743
|
-
removeArea:
|
|
23742
|
+
addArea: Zke,
|
|
23743
|
+
removeArea: Jke,
|
|
23744
23744
|
addLine: Tve,
|
|
23745
23745
|
removeLine: Cve
|
|
23746
23746
|
} = r$.actions, Ive = r$.reducer, i$ = /* @__PURE__ */ Pn(void 0), Mve = (e) => {
|
|
@@ -28246,7 +28246,7 @@ const LA = (e, t) => {
|
|
|
28246
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;
|
|
28247
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()}`;
|
|
28248
28248
|
};
|
|
28249
|
-
function
|
|
28249
|
+
function Qke({
|
|
28250
28250
|
data: e,
|
|
28251
28251
|
width: t = "100%",
|
|
28252
28252
|
height: n = "100%",
|
|
@@ -28376,7 +28376,7 @@ let P1e = class extends Ec {
|
|
|
28376
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 }) });
|
|
28377
28377
|
}
|
|
28378
28378
|
};
|
|
28379
|
-
function
|
|
28379
|
+
function tRe({
|
|
28380
28380
|
data: e,
|
|
28381
28381
|
width: t,
|
|
28382
28382
|
height: n,
|
|
@@ -28439,7 +28439,7 @@ function eRe({
|
|
|
28439
28439
|
}
|
|
28440
28440
|
);
|
|
28441
28441
|
}
|
|
28442
|
-
function
|
|
28442
|
+
function nRe({
|
|
28443
28443
|
data: e,
|
|
28444
28444
|
width: t = "100%",
|
|
28445
28445
|
height: n = "100%",
|
|
@@ -28599,7 +28599,7 @@ const T1e = (e, t) => {
|
|
|
28599
28599
|
)
|
|
28600
28600
|
] });
|
|
28601
28601
|
};
|
|
28602
|
-
function
|
|
28602
|
+
function rRe({
|
|
28603
28603
|
data: e,
|
|
28604
28604
|
width: t,
|
|
28605
28605
|
height: n,
|
|
@@ -28647,7 +28647,7 @@ class M1e extends Ec {
|
|
|
28647
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 }) });
|
|
28648
28648
|
}
|
|
28649
28649
|
}
|
|
28650
|
-
function
|
|
28650
|
+
function iRe({
|
|
28651
28651
|
data: e,
|
|
28652
28652
|
width: t,
|
|
28653
28653
|
height: n,
|
|
@@ -40785,7 +40785,7 @@ function P3e() {
|
|
|
40785
40785
|
}
|
|
40786
40786
|
var T3e = P3e();
|
|
40787
40787
|
const C3e = /* @__PURE__ */ aa(T3e);
|
|
40788
|
-
function
|
|
40788
|
+
function oRe({ value: e, label: t, width: n }) {
|
|
40789
40789
|
const r = Hh(), i = ot(null), [o, a] = Ye(0), [s, u] = Ye(n), { t: c } = jt();
|
|
40790
40790
|
return Xe(() => {
|
|
40791
40791
|
const l = setTimeout(() => a(e), 50);
|
|
@@ -40889,7 +40889,7 @@ function iRe({ value: e, label: t, width: n }) {
|
|
|
40889
40889
|
}
|
|
40890
40890
|
);
|
|
40891
40891
|
}
|
|
40892
|
-
function
|
|
40892
|
+
function aRe({
|
|
40893
40893
|
isGraphsVisible: e,
|
|
40894
40894
|
height: t,
|
|
40895
40895
|
pad: n,
|
|
@@ -41099,7 +41099,7 @@ function gv(e) {
|
|
|
41099
41099
|
let o = Math.ceil(n / i) * i, a = Math.floor(o / i);
|
|
41100
41100
|
return o - t < i * 0.4 && (o += i, a += 1), Array.from({ length: a + 1 }, (u, c) => c * i);
|
|
41101
41101
|
}
|
|
41102
|
-
function
|
|
41102
|
+
function sRe({
|
|
41103
41103
|
data: e,
|
|
41104
41104
|
lines: t,
|
|
41105
41105
|
scatterData: n = [],
|
|
@@ -41255,7 +41255,7 @@ function N3e(e) {
|
|
|
41255
41255
|
}
|
|
41256
41256
|
return null;
|
|
41257
41257
|
}
|
|
41258
|
-
function
|
|
41258
|
+
function uRe({
|
|
41259
41259
|
data: e,
|
|
41260
41260
|
width: t = "100%",
|
|
41261
41261
|
height: n = 300,
|
|
@@ -44390,7 +44390,7 @@ var gr = function() {
|
|
|
44390
44390
|
}, t;
|
|
44391
44391
|
})(Ec)
|
|
44392
44392
|
);
|
|
44393
|
-
function
|
|
44393
|
+
function cRe({
|
|
44394
44394
|
id: e,
|
|
44395
44395
|
position: t,
|
|
44396
44396
|
width: n,
|
|
@@ -44469,7 +44469,7 @@ function uRe({
|
|
|
44469
44469
|
}
|
|
44470
44470
|
) });
|
|
44471
44471
|
}
|
|
44472
|
-
function
|
|
44472
|
+
function lRe(e, t, n, r, i = []) {
|
|
44473
44473
|
const { over: o, active: a } = e;
|
|
44474
44474
|
o && !i.includes(o.id) ? (t((s) => {
|
|
44475
44475
|
const u = { ...s }, c = Object.keys(u).find(
|
|
@@ -44487,7 +44487,7 @@ function cRe(e, t, n, r, i = []) {
|
|
|
44487
44487
|
)), u;
|
|
44488
44488
|
}) : n(`Dropped ${a.id} outside any droppable area`), r(!0);
|
|
44489
44489
|
}
|
|
44490
|
-
function
|
|
44490
|
+
function fRe(e, t) {
|
|
44491
44491
|
t((n) => {
|
|
44492
44492
|
const r = { ...n }, i = Object.keys(r).find((o) => r[o].includes(e));
|
|
44493
44493
|
return i && (r[i] = r[i].filter(
|
|
@@ -44495,7 +44495,7 @@ function lRe(e, t) {
|
|
|
44495
44495
|
)), r;
|
|
44496
44496
|
});
|
|
44497
44497
|
}
|
|
44498
|
-
function
|
|
44498
|
+
function dRe(e, t, n) {
|
|
44499
44499
|
n !== "clickaway" && e(!1);
|
|
44500
44500
|
}
|
|
44501
44501
|
function cI({
|
|
@@ -45604,7 +45604,7 @@ function UPe({ onClose: e }) {
|
|
|
45604
45604
|
/* @__PURE__ */ A(Bo, { sx: { marginTop: "auto" }, type: "submit", onClick: e, children: t("CONFIRM") })
|
|
45605
45605
|
] }) });
|
|
45606
45606
|
}
|
|
45607
|
-
function
|
|
45607
|
+
function hRe({
|
|
45608
45608
|
languages: e,
|
|
45609
45609
|
flags: t,
|
|
45610
45610
|
title: n,
|
|
@@ -45676,14 +45676,14 @@ function dRe({
|
|
|
45676
45676
|
}
|
|
45677
45677
|
);
|
|
45678
45678
|
}
|
|
45679
|
-
function
|
|
45679
|
+
function pRe({ hotKeys: e }) {
|
|
45680
45680
|
const { t } = jt(), [n, r] = IZ();
|
|
45681
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: [
|
|
45682
45682
|
/* @__PURE__ */ A(er, { variant: "body1", noWrap: !0, children: t(o) }),
|
|
45683
45683
|
/* @__PURE__ */ A(Bo, { id: `${i}-btn`, variant: "outlined", onClick: a, children: i })
|
|
45684
45684
|
] }, i)) }) });
|
|
45685
45685
|
}
|
|
45686
|
-
function
|
|
45686
|
+
function gRe({
|
|
45687
45687
|
listToFilter: e,
|
|
45688
45688
|
onChangeListFiltered: t
|
|
45689
45689
|
}) {
|
|
@@ -45706,7 +45706,7 @@ function pRe({
|
|
|
45706
45706
|
}
|
|
45707
45707
|
);
|
|
45708
45708
|
}
|
|
45709
|
-
function
|
|
45709
|
+
function vRe({
|
|
45710
45710
|
name: e,
|
|
45711
45711
|
checked: t,
|
|
45712
45712
|
onChange: n,
|
|
@@ -45755,7 +45755,7 @@ function gRe({
|
|
|
45755
45755
|
)
|
|
45756
45756
|
) }) });
|
|
45757
45757
|
}
|
|
45758
|
-
function
|
|
45758
|
+
function mRe({
|
|
45759
45759
|
name: e,
|
|
45760
45760
|
width: t = "100%",
|
|
45761
45761
|
disabled: n,
|
|
@@ -46043,7 +46043,7 @@ function dI(e, t, n, r) {
|
|
|
46043
46043
|
};
|
|
46044
46044
|
}, [s, l, d]), i;
|
|
46045
46045
|
}
|
|
46046
|
-
function
|
|
46046
|
+
function yRe({
|
|
46047
46047
|
languages: e,
|
|
46048
46048
|
flags: t,
|
|
46049
46049
|
isLogged: n = !0
|
|
@@ -46224,7 +46224,7 @@ function zd({
|
|
|
46224
46224
|
);
|
|
46225
46225
|
}
|
|
46226
46226
|
const I3 = Pn(!1);
|
|
46227
|
-
function
|
|
46227
|
+
function bRe({ children: e }) {
|
|
46228
46228
|
const t = Yh("(max-width: 600px)");
|
|
46229
46229
|
return /* @__PURE__ */ A(I3.Provider, { value: t, children: e });
|
|
46230
46230
|
}
|
|
@@ -46311,7 +46311,7 @@ function EF({
|
|
|
46311
46311
|
)
|
|
46312
46312
|
] });
|
|
46313
46313
|
}
|
|
46314
|
-
function
|
|
46314
|
+
function wRe({
|
|
46315
46315
|
data: e,
|
|
46316
46316
|
filterSortKeys: t,
|
|
46317
46317
|
renderItem: n,
|
|
@@ -46347,7 +46347,7 @@ function bRe({
|
|
|
46347
46347
|
}) })
|
|
46348
46348
|
] });
|
|
46349
46349
|
}
|
|
46350
|
-
function
|
|
46350
|
+
function _Re({ speed: e = 30, children: t }) {
|
|
46351
46351
|
const n = ot(null), r = ot(null), [i, o] = Ye(!1), [a, s] = Ye(0);
|
|
46352
46352
|
return Xe(() => {
|
|
46353
46353
|
const u = r.current, c = n.current;
|
|
@@ -46399,7 +46399,7 @@ function wRe({ speed: e = 30, children: t }) {
|
|
|
46399
46399
|
` })
|
|
46400
46400
|
] });
|
|
46401
46401
|
}
|
|
46402
|
-
function
|
|
46402
|
+
function xRe({
|
|
46403
46403
|
items: e,
|
|
46404
46404
|
pageCount: t,
|
|
46405
46405
|
listItemCallback: n,
|
|
@@ -47203,7 +47203,7 @@ function bTe({ radData: e, injectCallback: t, isSubContainer: n }) {
|
|
|
47203
47203
|
)
|
|
47204
47204
|
] }) });
|
|
47205
47205
|
}
|
|
47206
|
-
const
|
|
47206
|
+
const ERe = ({
|
|
47207
47207
|
width: e,
|
|
47208
47208
|
height: t,
|
|
47209
47209
|
scale: n,
|
|
@@ -47255,7 +47255,7 @@ const xRe = ({
|
|
|
47255
47255
|
}
|
|
47256
47256
|
);
|
|
47257
47257
|
};
|
|
47258
|
-
function
|
|
47258
|
+
function SRe({
|
|
47259
47259
|
Header: e,
|
|
47260
47260
|
Sidebar: t,
|
|
47261
47261
|
Navbar: n,
|
|
@@ -47318,7 +47318,7 @@ const wTe = qh("div")({
|
|
|
47318
47318
|
textTransform: "uppercase",
|
|
47319
47319
|
textAlign: "center"
|
|
47320
47320
|
});
|
|
47321
|
-
function
|
|
47321
|
+
function ORe({ title: e, lastScanned: t }) {
|
|
47322
47322
|
return /* @__PURE__ */ Ae(wTe, { children: [
|
|
47323
47323
|
/* @__PURE__ */ A(_Te, { children: e }),
|
|
47324
47324
|
/* @__PURE__ */ A("svg", { width: "100%", height: "100%", viewBox: "0 0 250 60", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ A(
|
|
@@ -48467,7 +48467,18 @@ function i5e(e, t) {
|
|
|
48467
48467
|
});
|
|
48468
48468
|
}), r;
|
|
48469
48469
|
}
|
|
48470
|
-
|
|
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
|
+
}) {
|
|
48471
48482
|
const o = Hh(), [a, s] = Ye(null), [u, c] = Ye();
|
|
48472
48483
|
Xe(() => () => {
|
|
48473
48484
|
a && URL.revokeObjectURL(a), s(null);
|
|
@@ -48481,26 +48492,35 @@ function ORe({ blob: e, ruleSet: t, dataSource: n, callBacksSet: r = {}, extraIn
|
|
|
48481
48492
|
);
|
|
48482
48493
|
return Xe(() => {
|
|
48483
48494
|
if (!e) {
|
|
48484
|
-
|
|
48495
|
+
s(null);
|
|
48485
48496
|
return;
|
|
48486
48497
|
}
|
|
48487
|
-
|
|
48488
|
-
type: "image/svg+xml"
|
|
48489
|
-
|
|
48490
|
-
|
|
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
|
+
}
|
|
48491
48508
|
}, [e]), /* @__PURE__ */ A(qr, { children: a && u && /* @__PURE__ */ A(
|
|
48492
48509
|
R3,
|
|
48493
48510
|
{
|
|
48494
48511
|
width: 100,
|
|
48495
48512
|
src: a,
|
|
48496
48513
|
evalScripts: "always",
|
|
48514
|
+
onError: (d) => {
|
|
48515
|
+
console.error("ReactSVG Error:", d);
|
|
48516
|
+
},
|
|
48497
48517
|
beforeInjection: (d) => {
|
|
48498
48518
|
l(d), i && i(d);
|
|
48499
48519
|
}
|
|
48500
48520
|
}
|
|
48501
48521
|
) });
|
|
48502
48522
|
}
|
|
48503
|
-
function
|
|
48523
|
+
function PRe({
|
|
48504
48524
|
options: e,
|
|
48505
48525
|
updateSortings: t,
|
|
48506
48526
|
GstateKey: n
|
|
@@ -48565,7 +48585,7 @@ function ARe({
|
|
|
48565
48585
|
/* @__PURE__ */ A(Bo, { size: "large", onClick: u, children: r("APPLY") })
|
|
48566
48586
|
] });
|
|
48567
48587
|
}
|
|
48568
|
-
function
|
|
48588
|
+
function TRe({
|
|
48569
48589
|
options: e,
|
|
48570
48590
|
updateSortings: t,
|
|
48571
48591
|
GstateKey: n
|
|
@@ -48622,7 +48642,7 @@ function PRe({
|
|
|
48622
48642
|
] });
|
|
48623
48643
|
}
|
|
48624
48644
|
var PF = /* @__PURE__ */ ((e) => (e.squared = "0px", e.rounded = "24px", e.circle = "50%", e))(PF || {});
|
|
48625
|
-
function
|
|
48645
|
+
function CRe({
|
|
48626
48646
|
id: e,
|
|
48627
48647
|
src: t,
|
|
48628
48648
|
width: n = "500px",
|
|
@@ -48666,7 +48686,7 @@ function TRe({
|
|
|
48666
48686
|
}
|
|
48667
48687
|
);
|
|
48668
48688
|
}
|
|
48669
|
-
function
|
|
48689
|
+
function a5e({ value: e, total: t = 100, size: n }) {
|
|
48670
48690
|
const [r] = ka();
|
|
48671
48691
|
return /* @__PURE__ */ Ae(yn, { alignItems: "center", gap: ".5rem", width: "100%", children: [
|
|
48672
48692
|
/* @__PURE__ */ A(
|
|
@@ -48690,10 +48710,10 @@ function o5e({ value: e, total: t = 100, size: n }) {
|
|
|
48690
48710
|
t && /* @__PURE__ */ A(iZ, { variant: "caption", sx: { minWidth: 45, userSelect: "none" }, noWrap: !0, children: `${(e / t * 100).toFixed(1)}%` })
|
|
48691
48711
|
] });
|
|
48692
48712
|
}
|
|
48693
|
-
function
|
|
48694
|
-
return /* @__PURE__ */ A(
|
|
48713
|
+
function IRe({ value: e, total: t = 100, size: n = "small" }) {
|
|
48714
|
+
return /* @__PURE__ */ A(a5e, { value: e, total: t, size: n });
|
|
48695
48715
|
}
|
|
48696
|
-
function
|
|
48716
|
+
function MRe({ dieCode: e }) {
|
|
48697
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: [
|
|
48698
48718
|
/* @__PURE__ */ A("defs", { children: /* @__PURE__ */ Ae("pattern", { id: "diagonalLines", patternUnits: "userSpaceOnUse", width: "6", height: "6", children: [
|
|
48699
48719
|
/* @__PURE__ */ A("rect", { width: "6", height: "6", fill: "#a0a0a0" }),
|
|
@@ -49291,10 +49311,10 @@ function IRe({ dieCode: e }) {
|
|
|
49291
49311
|
) }) })
|
|
49292
49312
|
] });
|
|
49293
49313
|
}
|
|
49294
|
-
function
|
|
49314
|
+
function s5e({ renderList: e }) {
|
|
49295
49315
|
return /* @__PURE__ */ A(go, { overflow: "auto", children: /* @__PURE__ */ A(iS, { id: "routes-list-mobile", sx: { color: "#fff" }, children: e() }) });
|
|
49296
49316
|
}
|
|
49297
|
-
function
|
|
49317
|
+
function u5e({ isOpen: e, onClose: t, renderList: n }) {
|
|
49298
49318
|
return /* @__PURE__ */ A(
|
|
49299
49319
|
Oc,
|
|
49300
49320
|
{
|
|
@@ -49305,7 +49325,7 @@ function s5e({ isOpen: e, onClose: t, renderList: n }) {
|
|
|
49305
49325
|
backgroundColor: "rgba(7, 48, 25, 0.7)",
|
|
49306
49326
|
Transition: IM,
|
|
49307
49327
|
children: /* @__PURE__ */ Ae(sf, { alignItems: "center", overflow: "hidden", children: [
|
|
49308
|
-
/* @__PURE__ */ A(
|
|
49328
|
+
/* @__PURE__ */ A(s5e, { renderList: n }),
|
|
49309
49329
|
/* @__PURE__ */ A(
|
|
49310
49330
|
$r,
|
|
49311
49331
|
{
|
|
@@ -49322,7 +49342,7 @@ function s5e({ isOpen: e, onClose: t, renderList: n }) {
|
|
|
49322
49342
|
}
|
|
49323
49343
|
);
|
|
49324
49344
|
}
|
|
49325
|
-
function
|
|
49345
|
+
function c5e({ isOpen: e, onClose: t }) {
|
|
49326
49346
|
const { t: n } = jt(), r = NY(), [, , { logout: i }] = QM(), [, o] = ka(), [a] = i;
|
|
49327
49347
|
return (
|
|
49328
49348
|
//76px <-- Navbar Height
|
|
@@ -49420,7 +49440,7 @@ const MI = {
|
|
|
49420
49440
|
}
|
|
49421
49441
|
}
|
|
49422
49442
|
};
|
|
49423
|
-
function
|
|
49443
|
+
function kRe({ currentRouteName: e, renderList: t, handleBackHome: n }) {
|
|
49424
49444
|
const { t: r } = jt(), [i, o] = Ye(null), [a, s] = Ye(!1), [u, c] = Ye(!1), l = (p, y) => {
|
|
49425
49445
|
o(y);
|
|
49426
49446
|
}, d = () => {
|
|
@@ -49433,8 +49453,8 @@ function MRe({ currentRouteName: e, renderList: t, handleBackHome: n }) {
|
|
|
49433
49453
|
}, [e]), Xe(() => {
|
|
49434
49454
|
u ? o("PROFILE") : e === "WELCOME" ? o("HOME") : i && o(null);
|
|
49435
49455
|
}, [u]), /* @__PURE__ */ Ae(qr, { children: [
|
|
49436
|
-
/* @__PURE__ */ A(
|
|
49437
|
-
/* @__PURE__ */ A(
|
|
49456
|
+
/* @__PURE__ */ A(c5e, { isOpen: u, onClose: () => c(!1) }),
|
|
49457
|
+
/* @__PURE__ */ A(u5e, { isOpen: a, onClose: h, renderList: t }),
|
|
49438
49458
|
/* @__PURE__ */ A(
|
|
49439
49459
|
yn,
|
|
49440
49460
|
{
|
|
@@ -49486,7 +49506,7 @@ function MRe({ currentRouteName: e, renderList: t, handleBackHome: n }) {
|
|
|
49486
49506
|
)
|
|
49487
49507
|
] });
|
|
49488
49508
|
}
|
|
49489
|
-
function
|
|
49509
|
+
function RRe({
|
|
49490
49510
|
fontSize: e = "2rem",
|
|
49491
49511
|
message: t = "",
|
|
49492
49512
|
Icon: n = dZ,
|
|
@@ -49498,11 +49518,11 @@ function kRe({
|
|
|
49498
49518
|
/* @__PURE__ */ A(er, { variant: "h6", fontSize: e, color: r, children: i(t) })
|
|
49499
49519
|
] });
|
|
49500
49520
|
}
|
|
49501
|
-
function
|
|
49521
|
+
function DRe({ text: e = "NO_ITEMS" }) {
|
|
49502
49522
|
const { t } = jt();
|
|
49503
49523
|
return /* @__PURE__ */ A("p", { style: { userSelect: "none", padding: "8px" }, children: t(e.toUpperCase()) });
|
|
49504
49524
|
}
|
|
49505
|
-
function
|
|
49525
|
+
function LRe({
|
|
49506
49526
|
id: e,
|
|
49507
49527
|
detailTextStyle: t,
|
|
49508
49528
|
detail: n,
|
|
@@ -49589,7 +49609,7 @@ function DRe({
|
|
|
49589
49609
|
) : n })
|
|
49590
49610
|
] }) });
|
|
49591
49611
|
}
|
|
49592
|
-
const
|
|
49612
|
+
const NRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
49593
49613
|
"svg",
|
|
49594
49614
|
{
|
|
49595
49615
|
version: "1.1",
|
|
@@ -49650,7 +49670,7 @@ const LRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
|
49650
49670
|
]
|
|
49651
49671
|
}
|
|
49652
49672
|
);
|
|
49653
|
-
function
|
|
49673
|
+
function jRe({ size: e }) {
|
|
49654
49674
|
return /* @__PURE__ */ Ae(
|
|
49655
49675
|
"svg",
|
|
49656
49676
|
{
|
|
@@ -49685,7 +49705,7 @@ function NRe({ size: e }) {
|
|
|
49685
49705
|
}
|
|
49686
49706
|
);
|
|
49687
49707
|
}
|
|
49688
|
-
const
|
|
49708
|
+
const $Re = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
49689
49709
|
"svg",
|
|
49690
49710
|
{
|
|
49691
49711
|
id: "italy",
|
|
@@ -49716,7 +49736,7 @@ const jRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
|
49716
49736
|
)
|
|
49717
49737
|
]
|
|
49718
49738
|
}
|
|
49719
|
-
),
|
|
49739
|
+
), BRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
49720
49740
|
"svg",
|
|
49721
49741
|
{
|
|
49722
49742
|
width: e,
|
|
@@ -49850,7 +49870,7 @@ const jRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
|
49850
49870
|
] })
|
|
49851
49871
|
]
|
|
49852
49872
|
}
|
|
49853
|
-
),
|
|
49873
|
+
), zRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
49854
49874
|
"svg",
|
|
49855
49875
|
{
|
|
49856
49876
|
version: "1.1",
|
|
@@ -49888,7 +49908,7 @@ const jRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
|
49888
49908
|
] })
|
|
49889
49909
|
]
|
|
49890
49910
|
}
|
|
49891
|
-
),
|
|
49911
|
+
), FRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
49892
49912
|
"svg",
|
|
49893
49913
|
{
|
|
49894
49914
|
id: "uk",
|
|
@@ -50205,7 +50225,7 @@ const jRe = ({ size: e }) => /* @__PURE__ */ Ae(
|
|
|
50205
50225
|
]
|
|
50206
50226
|
}
|
|
50207
50227
|
);
|
|
50208
|
-
function
|
|
50228
|
+
function WRe({
|
|
50209
50229
|
size: e = 24,
|
|
50210
50230
|
color: t = "currentColor"
|
|
50211
50231
|
}) {
|
|
@@ -50224,20 +50244,20 @@ function FRe({
|
|
|
50224
50244
|
) });
|
|
50225
50245
|
}
|
|
50226
50246
|
const {
|
|
50227
|
-
slice:
|
|
50228
|
-
forEach:
|
|
50247
|
+
slice: l5e,
|
|
50248
|
+
forEach: f5e
|
|
50229
50249
|
} = [];
|
|
50230
|
-
function
|
|
50231
|
-
return
|
|
50250
|
+
function d5e(e) {
|
|
50251
|
+
return f5e.call(l5e.call(arguments, 1), (t) => {
|
|
50232
50252
|
if (t)
|
|
50233
50253
|
for (const n in t)
|
|
50234
50254
|
e[n] === void 0 && (e[n] = t[n]);
|
|
50235
50255
|
}), e;
|
|
50236
50256
|
}
|
|
50237
|
-
function
|
|
50257
|
+
function h5e(e) {
|
|
50238
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));
|
|
50239
50259
|
}
|
|
50240
|
-
const kI = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,
|
|
50260
|
+
const kI = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, p5e = function(e, t) {
|
|
50241
50261
|
const r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
50242
50262
|
path: "/"
|
|
50243
50263
|
}, i = encodeURIComponent(t);
|
|
@@ -50286,7 +50306,7 @@ const kI = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, h5e = function(e, t) {
|
|
|
50286
50306
|
path: "/",
|
|
50287
50307
|
sameSite: "strict"
|
|
50288
50308
|
};
|
|
50289
|
-
n && (i.expires = /* @__PURE__ */ new Date(), i.expires.setTime(i.expires.getTime() + n * 60 * 1e3)), r && (i.domain = r), document.cookie =
|
|
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);
|
|
50290
50310
|
},
|
|
50291
50311
|
read(e) {
|
|
50292
50312
|
const t = `${e}=`, n = document.cookie.split(";");
|
|
@@ -50301,7 +50321,7 @@ const kI = /^[\u0009\u0020-\u007e\u0080-\u00ff]+$/, h5e = function(e, t) {
|
|
|
50301
50321
|
this.create(e, "", -1, t);
|
|
50302
50322
|
}
|
|
50303
50323
|
};
|
|
50304
|
-
var
|
|
50324
|
+
var g5e = {
|
|
50305
50325
|
name: "cookie",
|
|
50306
50326
|
// Deconstruct the options object and extract the lookupCookie property
|
|
50307
50327
|
lookup(e) {
|
|
@@ -50321,7 +50341,7 @@ var p5e = {
|
|
|
50321
50341
|
} = t;
|
|
50322
50342
|
n && typeof document < "u" && RI.create(n, e, r, i, o);
|
|
50323
50343
|
}
|
|
50324
|
-
},
|
|
50344
|
+
}, v5e = {
|
|
50325
50345
|
name: "querystring",
|
|
50326
50346
|
// Deconstruct the options object and extract the lookupQuerystring property
|
|
50327
50347
|
lookup(e) {
|
|
@@ -50341,7 +50361,7 @@ var p5e = {
|
|
|
50341
50361
|
}
|
|
50342
50362
|
return n;
|
|
50343
50363
|
}
|
|
50344
|
-
},
|
|
50364
|
+
}, m5e = {
|
|
50345
50365
|
name: "hash",
|
|
50346
50366
|
// Deconstruct the options object and extract the lookupHash property and the lookupFromHashIndex property
|
|
50347
50367
|
lookup(e) {
|
|
@@ -50385,7 +50405,7 @@ const DI = () => {
|
|
|
50385
50405
|
}
|
|
50386
50406
|
return dl;
|
|
50387
50407
|
};
|
|
50388
|
-
var
|
|
50408
|
+
var y5e = {
|
|
50389
50409
|
name: "localStorage",
|
|
50390
50410
|
// Deconstruct the options object and extract the lookupLocalStorage property
|
|
50391
50411
|
lookup(e) {
|
|
@@ -50416,7 +50436,7 @@ const LI = () => {
|
|
|
50416
50436
|
}
|
|
50417
50437
|
return hl;
|
|
50418
50438
|
};
|
|
50419
|
-
var
|
|
50439
|
+
var b5e = {
|
|
50420
50440
|
name: "sessionStorage",
|
|
50421
50441
|
lookup(e) {
|
|
50422
50442
|
let {
|
|
@@ -50431,7 +50451,7 @@ var y5e = {
|
|
|
50431
50451
|
} = t;
|
|
50432
50452
|
n && LI() && window.sessionStorage.setItem(n, e);
|
|
50433
50453
|
}
|
|
50434
|
-
},
|
|
50454
|
+
}, w5e = {
|
|
50435
50455
|
name: "navigator",
|
|
50436
50456
|
lookup(e) {
|
|
50437
50457
|
const t = [];
|
|
@@ -50448,7 +50468,7 @@ var y5e = {
|
|
|
50448
50468
|
}
|
|
50449
50469
|
return t.length > 0 ? t : void 0;
|
|
50450
50470
|
}
|
|
50451
|
-
},
|
|
50471
|
+
}, _5e = {
|
|
50452
50472
|
name: "htmlTag",
|
|
50453
50473
|
// Deconstruct the options object and extract the htmlTag property
|
|
50454
50474
|
lookup(e) {
|
|
@@ -50458,7 +50478,7 @@ var y5e = {
|
|
|
50458
50478
|
const r = t || (typeof document < "u" ? document.documentElement : null);
|
|
50459
50479
|
return r && typeof r.getAttribute == "function" && (n = r.getAttribute("lang")), n;
|
|
50460
50480
|
}
|
|
50461
|
-
},
|
|
50481
|
+
}, x5e = {
|
|
50462
50482
|
name: "path",
|
|
50463
50483
|
// Deconstruct the options object and extract the lookupFromPathIndex property
|
|
50464
50484
|
lookup(e) {
|
|
@@ -50469,7 +50489,7 @@ var y5e = {
|
|
|
50469
50489
|
const n = window.location.pathname.match(/\/([a-zA-Z-]*)/g);
|
|
50470
50490
|
return Array.isArray(n) ? n[typeof t == "number" ? t : 0]?.replace("/", "") : void 0;
|
|
50471
50491
|
}
|
|
50472
|
-
},
|
|
50492
|
+
}, E5e = {
|
|
50473
50493
|
name: "subdomain",
|
|
50474
50494
|
lookup(e) {
|
|
50475
50495
|
let {
|
|
@@ -50487,7 +50507,7 @@ try {
|
|
|
50487
50507
|
}
|
|
50488
50508
|
const CF = ["querystring", "cookie", "localStorage", "sessionStorage", "navigator", "htmlTag"];
|
|
50489
50509
|
TF || CF.splice(1, 1);
|
|
50490
|
-
const
|
|
50510
|
+
const S5e = () => ({
|
|
50491
50511
|
order: CF,
|
|
50492
50512
|
lookupQuerystring: "lng",
|
|
50493
50513
|
lookupCookie: "i18next",
|
|
@@ -50509,7 +50529,7 @@ class IF {
|
|
|
50509
50529
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {
|
|
50510
50530
|
languageUtils: {}
|
|
50511
50531
|
}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
|
|
50512
|
-
this.services = t, this.options =
|
|
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);
|
|
50513
50533
|
}
|
|
50514
50534
|
addDetector(t) {
|
|
50515
50535
|
return this.detectors[t.name] = t, this;
|
|
@@ -50521,7 +50541,7 @@ class IF {
|
|
|
50521
50541
|
let i = this.detectors[r].lookup(this.options);
|
|
50522
50542
|
i && typeof i == "string" && (i = [i]), i && (n = n.concat(i));
|
|
50523
50543
|
}
|
|
50524
|
-
}), n = n.filter((r) => r != 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;
|
|
50525
50545
|
}
|
|
50526
50546
|
cacheUserLanguage(t) {
|
|
50527
50547
|
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : this.options.caches;
|
|
@@ -50531,7 +50551,7 @@ class IF {
|
|
|
50531
50551
|
}
|
|
50532
50552
|
}
|
|
50533
50553
|
IF.type = "languageDetector";
|
|
50534
|
-
const
|
|
50554
|
+
const URe = (e) => {
|
|
50535
50555
|
let t = {};
|
|
50536
50556
|
for (const r of Object.keys(e)) {
|
|
50537
50557
|
const i = r.match(/\w+\.json/);
|
|
@@ -50556,13 +50576,13 @@ const WRe = (e) => {
|
|
|
50556
50576
|
}
|
|
50557
50577
|
}), Nl;
|
|
50558
50578
|
};
|
|
50559
|
-
function
|
|
50579
|
+
function O5e({ children: e }) {
|
|
50560
50580
|
return /* @__PURE__ */ A(yn, { paddingBottom: "16px", gap: "8px", children: e });
|
|
50561
50581
|
}
|
|
50562
|
-
function
|
|
50582
|
+
function A5e({ children: e }) {
|
|
50563
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 }) }) });
|
|
50564
50584
|
}
|
|
50565
|
-
function
|
|
50585
|
+
function P5e({ tabValue: e, columnValues: t, columnWidths: n }) {
|
|
50566
50586
|
const { t: r } = jt();
|
|
50567
50587
|
return /* @__PURE__ */ A(
|
|
50568
50588
|
$r,
|
|
@@ -50583,7 +50603,7 @@ function A5e({ tabValue: e, columnValues: t, columnWidths: n }) {
|
|
|
50583
50603
|
}
|
|
50584
50604
|
);
|
|
50585
50605
|
}
|
|
50586
|
-
function
|
|
50606
|
+
function HRe({
|
|
50587
50607
|
InnerHeaderContent: e,
|
|
50588
50608
|
TableHeaderContent: t,
|
|
50589
50609
|
FirstTabContent: n,
|
|
@@ -50597,7 +50617,7 @@ function URe({
|
|
|
50597
50617
|
ThirdTabNearbyContent: l
|
|
50598
50618
|
}) {
|
|
50599
50619
|
return /* @__PURE__ */ Ae(Vu, { gap: "16px", children: [
|
|
50600
|
-
/* @__PURE__ */ A(
|
|
50620
|
+
/* @__PURE__ */ A(A5e, { children: e }),
|
|
50601
50621
|
/* @__PURE__ */ Ae(jM, { gap: "16px", children: [
|
|
50602
50622
|
/* @__PURE__ */ Ae(
|
|
50603
50623
|
$r,
|
|
@@ -50610,9 +50630,9 @@ function URe({
|
|
|
50610
50630
|
maxWidth: u && o === 0 || c && o === 1 || l && o === 2 ? "70%" : "unset"
|
|
50611
50631
|
},
|
|
50612
50632
|
children: [
|
|
50613
|
-
/* @__PURE__ */ A(
|
|
50633
|
+
/* @__PURE__ */ A(O5e, { children: t }),
|
|
50614
50634
|
/* @__PURE__ */ Ae(Vu, { children: [
|
|
50615
|
-
/* @__PURE__ */ A(
|
|
50635
|
+
/* @__PURE__ */ A(P5e, { columnValues: a, columnWidths: s, tabValue: o }),
|
|
50616
50636
|
/* @__PURE__ */ A(
|
|
50617
50637
|
pu,
|
|
50618
50638
|
{
|
|
@@ -50658,7 +50678,7 @@ function URe({
|
|
|
50658
50678
|
] })
|
|
50659
50679
|
] });
|
|
50660
50680
|
}
|
|
50661
|
-
function
|
|
50681
|
+
function VRe({
|
|
50662
50682
|
children: e,
|
|
50663
50683
|
position: t,
|
|
50664
50684
|
isMobile: n
|
|
@@ -50689,7 +50709,7 @@ const Lo = {}, NI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
|
|
|
50689
50709
|
__proto__: null,
|
|
50690
50710
|
default: Lo
|
|
50691
50711
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
50692
|
-
function
|
|
50712
|
+
function GRe(e, t) {
|
|
50693
50713
|
return {
|
|
50694
50714
|
name: "vite-plugin-graphql-rewrite",
|
|
50695
50715
|
enforce: "pre",
|
|
@@ -50705,7 +50725,7 @@ function VRe(e, t) {
|
|
|
50705
50725
|
}
|
|
50706
50726
|
};
|
|
50707
50727
|
}
|
|
50708
|
-
function
|
|
50728
|
+
function qRe(e, t) {
|
|
50709
50729
|
return {
|
|
50710
50730
|
name: "vite-plugin-graphql-rewrite-build",
|
|
50711
50731
|
enforce: "pre",
|
|
@@ -50718,8 +50738,8 @@ function GRe(e, t) {
|
|
|
50718
50738
|
}
|
|
50719
50739
|
};
|
|
50720
50740
|
}
|
|
50721
|
-
var
|
|
50722
|
-
function
|
|
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) {
|
|
50723
50743
|
var t = /* @__PURE__ */ new Set([e]), n = /* @__PURE__ */ new Set(), r = e.match(jI);
|
|
50724
50744
|
if (!r)
|
|
50725
50745
|
return function() {
|
|
@@ -50758,7 +50778,7 @@ function T5e(e) {
|
|
|
50758
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);
|
|
50759
50779
|
};
|
|
50760
50780
|
}
|
|
50761
|
-
var
|
|
50781
|
+
var I5e = C5e(Hu), M5e = Hu.split(".")[0], Fh = Symbol.for("opentelemetry.js.api." + M5e), Wh = T5e;
|
|
50762
50782
|
function Bp(e, t, n, r) {
|
|
50763
50783
|
var i;
|
|
50764
50784
|
r === void 0 && (r = !1);
|
|
@@ -50777,7 +50797,7 @@ function Bp(e, t, n, r) {
|
|
|
50777
50797
|
}
|
|
50778
50798
|
function _c(e) {
|
|
50779
50799
|
var t, n, r = (t = Wh[Fh]) === null || t === void 0 ? void 0 : t.version;
|
|
50780
|
-
if (!(!r || !
|
|
50800
|
+
if (!(!r || !I5e(r)))
|
|
50781
50801
|
return (n = Wh[Fh]) === null || n === void 0 ? void 0 : n[e];
|
|
50782
50802
|
}
|
|
50783
50803
|
function zp(e, t) {
|
|
@@ -50785,7 +50805,7 @@ function zp(e, t) {
|
|
|
50785
50805
|
var n = Wh[Fh];
|
|
50786
50806
|
n && delete n[e];
|
|
50787
50807
|
}
|
|
50788
|
-
var
|
|
50808
|
+
var k5e = function(e, t) {
|
|
50789
50809
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
50790
50810
|
if (!n) return e;
|
|
50791
50811
|
var r = n.call(e), i, o = [], a;
|
|
@@ -50801,11 +50821,11 @@ var M5e = function(e, t) {
|
|
|
50801
50821
|
}
|
|
50802
50822
|
}
|
|
50803
50823
|
return o;
|
|
50804
|
-
},
|
|
50824
|
+
}, R5e = function(e, t, n) {
|
|
50805
50825
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
|
|
50806
50826
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
50807
50827
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
50808
|
-
},
|
|
50828
|
+
}, D5e = (
|
|
50809
50829
|
/** @class */
|
|
50810
50830
|
(function() {
|
|
50811
50831
|
function e(t) {
|
|
@@ -50837,13 +50857,13 @@ var M5e = function(e, t) {
|
|
|
50837
50857
|
function md(e, t, n) {
|
|
50838
50858
|
var r = _c("diag");
|
|
50839
50859
|
if (r)
|
|
50840
|
-
return n.unshift(t), r[e].apply(r,
|
|
50860
|
+
return n.unshift(t), r[e].apply(r, R5e([], k5e(n), !1));
|
|
50841
50861
|
}
|
|
50842
50862
|
var ro;
|
|
50843
50863
|
(function(e) {
|
|
50844
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";
|
|
50845
50865
|
})(ro || (ro = {}));
|
|
50846
|
-
function
|
|
50866
|
+
function L5e(e, t) {
|
|
50847
50867
|
e < ro.NONE ? e = ro.NONE : e > ro.ALL && (e = ro.ALL), t = t || {};
|
|
50848
50868
|
function n(r, i) {
|
|
50849
50869
|
var o = t[r];
|
|
@@ -50858,7 +50878,7 @@ function D5e(e, t) {
|
|
|
50858
50878
|
verbose: n("verbose", ro.VERBOSE)
|
|
50859
50879
|
};
|
|
50860
50880
|
}
|
|
50861
|
-
var
|
|
50881
|
+
var N5e = function(e, t) {
|
|
50862
50882
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
50863
50883
|
if (!n) return e;
|
|
50864
50884
|
var r = n.call(e), i, o = [], a;
|
|
@@ -50874,11 +50894,11 @@ var L5e = function(e, t) {
|
|
|
50874
50894
|
}
|
|
50875
50895
|
}
|
|
50876
50896
|
return o;
|
|
50877
|
-
},
|
|
50897
|
+
}, j5e = function(e, t, n) {
|
|
50878
50898
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
|
|
50879
50899
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
50880
50900
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
50881
|
-
},
|
|
50901
|
+
}, $5e = "diag", Ma = (
|
|
50882
50902
|
/** @class */
|
|
50883
50903
|
(function() {
|
|
50884
50904
|
function e() {
|
|
@@ -50888,7 +50908,7 @@ var L5e = function(e, t) {
|
|
|
50888
50908
|
o[a] = arguments[a];
|
|
50889
50909
|
var s = _c("diag");
|
|
50890
50910
|
if (s)
|
|
50891
|
-
return s[i].apply(s,
|
|
50911
|
+
return s[i].apply(s, j5e([], N5e(o), !1));
|
|
50892
50912
|
};
|
|
50893
50913
|
}
|
|
50894
50914
|
var n = this, r = function(i, o) {
|
|
@@ -50900,7 +50920,7 @@ var L5e = function(e, t) {
|
|
|
50900
50920
|
typeof o == "number" && (o = {
|
|
50901
50921
|
logLevel: o
|
|
50902
50922
|
});
|
|
50903
|
-
var l = _c("diag"), d =
|
|
50923
|
+
var l = _c("diag"), d = L5e((s = o.logLevel) !== null && s !== void 0 ? s : ro.INFO, i);
|
|
50904
50924
|
if (l && !o.suppressOverrideMessage) {
|
|
50905
50925
|
var h = (u = new Error().stack) !== null && u !== void 0 ? u : "<failed to generate stacktrace>";
|
|
50906
50926
|
l.warn("Current logger will be overwritten from " + h), d.warn("Current logger will overwrite one already registered from " + h);
|
|
@@ -50908,16 +50928,16 @@ var L5e = function(e, t) {
|
|
|
50908
50928
|
return Bp("diag", d, n, !0);
|
|
50909
50929
|
};
|
|
50910
50930
|
n.setLogger = r, n.disable = function() {
|
|
50911
|
-
zp(
|
|
50931
|
+
zp($5e, n);
|
|
50912
50932
|
}, n.createComponentLogger = function(i) {
|
|
50913
|
-
return new
|
|
50933
|
+
return new D5e(i);
|
|
50914
50934
|
}, n.verbose = t("verbose"), n.debug = t("debug"), n.info = t("info"), n.warn = t("warn"), n.error = t("error");
|
|
50915
50935
|
}
|
|
50916
50936
|
return e.instance = function() {
|
|
50917
50937
|
return this._instance || (this._instance = new e()), this._instance;
|
|
50918
50938
|
}, e;
|
|
50919
50939
|
})()
|
|
50920
|
-
),
|
|
50940
|
+
), B5e = function(e, t) {
|
|
50921
50941
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
50922
50942
|
if (!n) return e;
|
|
50923
50943
|
var r = n.call(e), i, o = [], a;
|
|
@@ -50933,7 +50953,7 @@ var L5e = function(e, t) {
|
|
|
50933
50953
|
}
|
|
50934
50954
|
}
|
|
50935
50955
|
return o;
|
|
50936
|
-
},
|
|
50956
|
+
}, z5e = function(e) {
|
|
50937
50957
|
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
50938
50958
|
if (n) return n.call(e);
|
|
50939
50959
|
if (e && typeof e.length == "number") return {
|
|
@@ -50942,7 +50962,7 @@ var L5e = function(e, t) {
|
|
|
50942
50962
|
}
|
|
50943
50963
|
};
|
|
50944
50964
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
50945
|
-
},
|
|
50965
|
+
}, F5e = (
|
|
50946
50966
|
/** @class */
|
|
50947
50967
|
(function() {
|
|
50948
50968
|
function e(t) {
|
|
@@ -50954,7 +50974,7 @@ var L5e = function(e, t) {
|
|
|
50954
50974
|
return Object.assign({}, n);
|
|
50955
50975
|
}, e.prototype.getAllEntries = function() {
|
|
50956
50976
|
return Array.from(this._entries.entries()).map(function(t) {
|
|
50957
|
-
var n =
|
|
50977
|
+
var n = B5e(t, 2), r = n[0], i = n[1];
|
|
50958
50978
|
return [r, i];
|
|
50959
50979
|
});
|
|
50960
50980
|
}, e.prototype.setEntry = function(t, n) {
|
|
@@ -50968,7 +50988,7 @@ var L5e = function(e, t) {
|
|
|
50968
50988
|
r[i] = arguments[i];
|
|
50969
50989
|
var o = new e(this._entries);
|
|
50970
50990
|
try {
|
|
50971
|
-
for (var a =
|
|
50991
|
+
for (var a = z5e(r), s = a.next(); !s.done; s = a.next()) {
|
|
50972
50992
|
var u = s.value;
|
|
50973
50993
|
o._entries.delete(u);
|
|
50974
50994
|
}
|
|
@@ -50986,13 +51006,13 @@ var L5e = function(e, t) {
|
|
|
50986
51006
|
return new e();
|
|
50987
51007
|
}, e;
|
|
50988
51008
|
})()
|
|
50989
|
-
),
|
|
50990
|
-
function U5e(e) {
|
|
50991
|
-
return e === void 0 && (e = {}), new z5e(new Map(Object.entries(e)));
|
|
50992
|
-
}
|
|
51009
|
+
), W5e = Symbol("BaggageEntryMetadata"), U5e = Ma.instance();
|
|
50993
51010
|
function H5e(e) {
|
|
50994
|
-
return
|
|
50995
|
-
|
|
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,
|
|
50996
51016
|
toString: function() {
|
|
50997
51017
|
return e;
|
|
50998
51018
|
}
|
|
@@ -51001,7 +51021,7 @@ function H5e(e) {
|
|
|
51001
51021
|
function L3(e) {
|
|
51002
51022
|
return Symbol.for(e);
|
|
51003
51023
|
}
|
|
51004
|
-
var
|
|
51024
|
+
var G5e = (
|
|
51005
51025
|
/** @class */
|
|
51006
51026
|
/* @__PURE__ */ (function() {
|
|
51007
51027
|
function e(t) {
|
|
@@ -51018,7 +51038,7 @@ var V5e = (
|
|
|
51018
51038
|
}
|
|
51019
51039
|
return e;
|
|
51020
51040
|
})()
|
|
51021
|
-
), ls = new
|
|
51041
|
+
), ls = new G5e(), $c = /* @__PURE__ */ (function() {
|
|
51022
51042
|
var e = function(t, n) {
|
|
51023
51043
|
return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
|
|
51024
51044
|
r.__proto__ = i;
|
|
@@ -51035,25 +51055,25 @@ var V5e = (
|
|
|
51035
51055
|
}
|
|
51036
51056
|
t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
|
|
51037
51057
|
};
|
|
51038
|
-
})(),
|
|
51058
|
+
})(), q5e = (
|
|
51039
51059
|
/** @class */
|
|
51040
51060
|
(function() {
|
|
51041
51061
|
function e() {
|
|
51042
51062
|
}
|
|
51043
51063
|
return e.prototype.createGauge = function(t, n) {
|
|
51044
|
-
return n6e;
|
|
51045
|
-
}, e.prototype.createHistogram = function(t, n) {
|
|
51046
51064
|
return r6e;
|
|
51065
|
+
}, e.prototype.createHistogram = function(t, n) {
|
|
51066
|
+
return i6e;
|
|
51047
51067
|
}, e.prototype.createCounter = function(t, n) {
|
|
51048
|
-
return
|
|
51068
|
+
return n6e;
|
|
51049
51069
|
}, e.prototype.createUpDownCounter = function(t, n) {
|
|
51050
|
-
return
|
|
51070
|
+
return o6e;
|
|
51051
51071
|
}, e.prototype.createObservableGauge = function(t, n) {
|
|
51052
|
-
return
|
|
51072
|
+
return s6e;
|
|
51053
51073
|
}, e.prototype.createObservableCounter = function(t, n) {
|
|
51054
|
-
return
|
|
51074
|
+
return a6e;
|
|
51055
51075
|
}, e.prototype.createObservableUpDownCounter = function(t, n) {
|
|
51056
|
-
return
|
|
51076
|
+
return u6e;
|
|
51057
51077
|
}, e.prototype.addBatchObservableCallback = function(t, n) {
|
|
51058
51078
|
}, e.prototype.removeBatchObservableCallback = function(t) {
|
|
51059
51079
|
}, e;
|
|
@@ -51065,7 +51085,7 @@ var V5e = (
|
|
|
51065
51085
|
}
|
|
51066
51086
|
return e;
|
|
51067
51087
|
})()
|
|
51068
|
-
),
|
|
51088
|
+
), K5e = (
|
|
51069
51089
|
/** @class */
|
|
51070
51090
|
(function(e) {
|
|
51071
51091
|
$c(t, e);
|
|
@@ -51075,7 +51095,7 @@ var V5e = (
|
|
|
51075
51095
|
return t.prototype.add = function(n, r) {
|
|
51076
51096
|
}, t;
|
|
51077
51097
|
})(z1)
|
|
51078
|
-
),
|
|
51098
|
+
), Y5e = (
|
|
51079
51099
|
/** @class */
|
|
51080
51100
|
(function(e) {
|
|
51081
51101
|
$c(t, e);
|
|
@@ -51085,7 +51105,7 @@ var V5e = (
|
|
|
51085
51105
|
return t.prototype.add = function(n, r) {
|
|
51086
51106
|
}, t;
|
|
51087
51107
|
})(z1)
|
|
51088
|
-
),
|
|
51108
|
+
), X5e = (
|
|
51089
51109
|
/** @class */
|
|
51090
51110
|
(function(e) {
|
|
51091
51111
|
$c(t, e);
|
|
@@ -51095,7 +51115,7 @@ var V5e = (
|
|
|
51095
51115
|
return t.prototype.record = function(n, r) {
|
|
51096
51116
|
}, t;
|
|
51097
51117
|
})(z1)
|
|
51098
|
-
),
|
|
51118
|
+
), Z5e = (
|
|
51099
51119
|
/** @class */
|
|
51100
51120
|
(function(e) {
|
|
51101
51121
|
$c(t, e);
|
|
@@ -51114,7 +51134,7 @@ var V5e = (
|
|
|
51114
51134
|
}, e.prototype.removeCallback = function(t) {
|
|
51115
51135
|
}, e;
|
|
51116
51136
|
})()
|
|
51117
|
-
),
|
|
51137
|
+
), J5e = (
|
|
51118
51138
|
/** @class */
|
|
51119
51139
|
(function(e) {
|
|
51120
51140
|
$c(t, e);
|
|
@@ -51123,7 +51143,7 @@ var V5e = (
|
|
|
51123
51143
|
}
|
|
51124
51144
|
return t;
|
|
51125
51145
|
})(N3)
|
|
51126
|
-
),
|
|
51146
|
+
), Q5e = (
|
|
51127
51147
|
/** @class */
|
|
51128
51148
|
(function(e) {
|
|
51129
51149
|
$c(t, e);
|
|
@@ -51132,7 +51152,7 @@ var V5e = (
|
|
|
51132
51152
|
}
|
|
51133
51153
|
return t;
|
|
51134
51154
|
})(N3)
|
|
51135
|
-
),
|
|
51155
|
+
), e6e = (
|
|
51136
51156
|
/** @class */
|
|
51137
51157
|
(function(e) {
|
|
51138
51158
|
$c(t, e);
|
|
@@ -51141,7 +51161,7 @@ var V5e = (
|
|
|
51141
51161
|
}
|
|
51142
51162
|
return t;
|
|
51143
51163
|
})(N3)
|
|
51144
|
-
),
|
|
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 = {
|
|
51145
51165
|
get: function(e, t) {
|
|
51146
51166
|
if (e != null)
|
|
51147
51167
|
return e[t];
|
|
@@ -51149,11 +51169,11 @@ var V5e = (
|
|
|
51149
51169
|
keys: function(e) {
|
|
51150
51170
|
return e == null ? [] : Object.keys(e);
|
|
51151
51171
|
}
|
|
51152
|
-
},
|
|
51172
|
+
}, l6e = {
|
|
51153
51173
|
set: function(e, t, n) {
|
|
51154
51174
|
e != null && (e[t] = n);
|
|
51155
51175
|
}
|
|
51156
|
-
},
|
|
51176
|
+
}, f6e = function(e, t) {
|
|
51157
51177
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
51158
51178
|
if (!n) return e;
|
|
51159
51179
|
var r = n.call(e), i, o = [], a;
|
|
@@ -51169,11 +51189,11 @@ var V5e = (
|
|
|
51169
51189
|
}
|
|
51170
51190
|
}
|
|
51171
51191
|
return o;
|
|
51172
|
-
},
|
|
51192
|
+
}, d6e = function(e, t, n) {
|
|
51173
51193
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
|
|
51174
51194
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
51175
51195
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
51176
|
-
},
|
|
51196
|
+
}, h6e = (
|
|
51177
51197
|
/** @class */
|
|
51178
51198
|
(function() {
|
|
51179
51199
|
function e() {
|
|
@@ -51183,7 +51203,7 @@ var V5e = (
|
|
|
51183
51203
|
}, e.prototype.with = function(t, n, r) {
|
|
51184
51204
|
for (var i = [], o = 3; o < arguments.length; o++)
|
|
51185
51205
|
i[o - 3] = arguments[o];
|
|
51186
|
-
return n.call.apply(n,
|
|
51206
|
+
return n.call.apply(n, d6e([r], f6e(i), !1));
|
|
51187
51207
|
}, e.prototype.bind = function(t, n) {
|
|
51188
51208
|
return n;
|
|
51189
51209
|
}, e.prototype.enable = function() {
|
|
@@ -51192,7 +51212,7 @@ var V5e = (
|
|
|
51192
51212
|
return this;
|
|
51193
51213
|
}, e;
|
|
51194
51214
|
})()
|
|
51195
|
-
),
|
|
51215
|
+
), p6e = function(e, t) {
|
|
51196
51216
|
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
51197
51217
|
if (!n) return e;
|
|
51198
51218
|
var r = n.call(e), i, o = [], a;
|
|
@@ -51208,11 +51228,11 @@ var V5e = (
|
|
|
51208
51228
|
}
|
|
51209
51229
|
}
|
|
51210
51230
|
return o;
|
|
51211
|
-
},
|
|
51231
|
+
}, g6e = function(e, t, n) {
|
|
51212
51232
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
|
|
51213
51233
|
(o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
|
|
51214
51234
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
51215
|
-
}, P2 = "context",
|
|
51235
|
+
}, P2 = "context", v6e = new h6e(), F1 = (
|
|
51216
51236
|
/** @class */
|
|
51217
51237
|
(function() {
|
|
51218
51238
|
function e() {
|
|
@@ -51226,11 +51246,11 @@ var V5e = (
|
|
|
51226
51246
|
}, e.prototype.with = function(t, n, r) {
|
|
51227
51247
|
for (var i, o = [], a = 3; a < arguments.length; a++)
|
|
51228
51248
|
o[a - 3] = arguments[a];
|
|
51229
|
-
return (i = this._getContextManager()).with.apply(i,
|
|
51249
|
+
return (i = this._getContextManager()).with.apply(i, g6e([t, n, r], p6e(o), !1));
|
|
51230
51250
|
}, e.prototype.bind = function(t, n) {
|
|
51231
51251
|
return this._getContextManager().bind(t, n);
|
|
51232
51252
|
}, e.prototype._getContextManager = function() {
|
|
51233
|
-
return _c(P2) ||
|
|
51253
|
+
return _c(P2) || v6e;
|
|
51234
51254
|
}, e.prototype.disable = function() {
|
|
51235
51255
|
this._getContextManager().disable(), zp(P2, Ma.instance());
|
|
51236
51256
|
}, e;
|
|
@@ -51275,33 +51295,33 @@ var MF = "0000000000000000", kF = "00000000000000000000000000000000", RF = {
|
|
|
51275
51295
|
function $3(e) {
|
|
51276
51296
|
return e.getValue(j3) || void 0;
|
|
51277
51297
|
}
|
|
51278
|
-
function
|
|
51298
|
+
function m6e() {
|
|
51279
51299
|
return $3(F1.getInstance().active());
|
|
51280
51300
|
}
|
|
51281
51301
|
function B3(e, t) {
|
|
51282
51302
|
return e.setValue(j3, t);
|
|
51283
51303
|
}
|
|
51284
|
-
function
|
|
51304
|
+
function y6e(e) {
|
|
51285
51305
|
return e.deleteValue(j3);
|
|
51286
51306
|
}
|
|
51287
|
-
function
|
|
51307
|
+
function b6e(e, t) {
|
|
51288
51308
|
return B3(e, new th(t));
|
|
51289
51309
|
}
|
|
51290
51310
|
function DF(e) {
|
|
51291
51311
|
var t;
|
|
51292
51312
|
return (t = $3(e)) === null || t === void 0 ? void 0 : t.spanContext();
|
|
51293
51313
|
}
|
|
51294
|
-
var
|
|
51314
|
+
var w6e = /^([0-9a-f]{32})$/i, _6e = /^[0-9a-f]{16}$/i;
|
|
51295
51315
|
function LF(e) {
|
|
51296
|
-
return
|
|
51316
|
+
return w6e.test(e) && e !== kF;
|
|
51297
51317
|
}
|
|
51298
|
-
function
|
|
51299
|
-
return
|
|
51318
|
+
function x6e(e) {
|
|
51319
|
+
return _6e.test(e) && e !== MF;
|
|
51300
51320
|
}
|
|
51301
51321
|
function Fp(e) {
|
|
51302
|
-
return LF(e.traceId) &&
|
|
51322
|
+
return LF(e.traceId) && x6e(e.spanId);
|
|
51303
51323
|
}
|
|
51304
|
-
function
|
|
51324
|
+
function E6e(e) {
|
|
51305
51325
|
return new th(e);
|
|
51306
51326
|
}
|
|
51307
51327
|
var T2 = F1.getInstance(), NF = (
|
|
@@ -51315,7 +51335,7 @@ var T2 = F1.getInstance(), NF = (
|
|
|
51315
51335
|
if (i)
|
|
51316
51336
|
return new th();
|
|
51317
51337
|
var o = r && DF(r);
|
|
51318
|
-
return
|
|
51338
|
+
return S6e(o) && Fp(o) ? new th(o) : new th();
|
|
51319
51339
|
}, e.prototype.startActiveSpan = function(t, n, r, i) {
|
|
51320
51340
|
var o, a, s;
|
|
51321
51341
|
if (!(arguments.length < 2)) {
|
|
@@ -51326,10 +51346,10 @@ var T2 = F1.getInstance(), NF = (
|
|
|
51326
51346
|
}, e;
|
|
51327
51347
|
})()
|
|
51328
51348
|
);
|
|
51329
|
-
function
|
|
51349
|
+
function S6e(e) {
|
|
51330
51350
|
return typeof e == "object" && typeof e.spanId == "string" && typeof e.traceId == "string" && typeof e.traceFlags == "number";
|
|
51331
51351
|
}
|
|
51332
|
-
var
|
|
51352
|
+
var O6e = new NF(), A6e = (
|
|
51333
51353
|
/** @class */
|
|
51334
51354
|
(function() {
|
|
51335
51355
|
function e(t, n, r, i) {
|
|
@@ -51344,10 +51364,10 @@ var S6e = new NF(), O6e = (
|
|
|
51344
51364
|
if (this._delegate)
|
|
51345
51365
|
return this._delegate;
|
|
51346
51366
|
var t = this._provider.getDelegateTracer(this.name, this.version, this.options);
|
|
51347
|
-
return t ? (this._delegate = t, this._delegate) :
|
|
51367
|
+
return t ? (this._delegate = t, this._delegate) : O6e;
|
|
51348
51368
|
}, e;
|
|
51349
51369
|
})()
|
|
51350
|
-
),
|
|
51370
|
+
), P6e = (
|
|
51351
51371
|
/** @class */
|
|
51352
51372
|
(function() {
|
|
51353
51373
|
function e() {
|
|
@@ -51356,17 +51376,17 @@ var S6e = new NF(), O6e = (
|
|
|
51356
51376
|
return new NF();
|
|
51357
51377
|
}, e;
|
|
51358
51378
|
})()
|
|
51359
|
-
),
|
|
51379
|
+
), T6e = new P6e(), $I = (
|
|
51360
51380
|
/** @class */
|
|
51361
51381
|
(function() {
|
|
51362
51382
|
function e() {
|
|
51363
51383
|
}
|
|
51364
51384
|
return e.prototype.getTracer = function(t, n, r) {
|
|
51365
51385
|
var i;
|
|
51366
|
-
return (i = this.getDelegateTracer(t, n, r)) !== null && i !== void 0 ? i : new
|
|
51386
|
+
return (i = this.getDelegateTracer(t, n, r)) !== null && i !== void 0 ? i : new A6e(this, t, n, r);
|
|
51367
51387
|
}, e.prototype.getDelegate = function() {
|
|
51368
51388
|
var t;
|
|
51369
|
-
return (t = this._delegate) !== null && t !== void 0 ? t :
|
|
51389
|
+
return (t = this._delegate) !== null && t !== void 0 ? t : T6e;
|
|
51370
51390
|
}, e.prototype.setDelegate = function(t) {
|
|
51371
51391
|
this._delegate = t;
|
|
51372
51392
|
}, e.prototype.getDelegateTracer = function(t, n, r) {
|
|
@@ -51386,16 +51406,16 @@ var ec;
|
|
|
51386
51406
|
(function(e) {
|
|
51387
51407
|
e[e.UNSET = 0] = "UNSET", e[e.OK = 1] = "OK", e[e.ERROR = 2] = "ERROR";
|
|
51388
51408
|
})(ec || (ec = {}));
|
|
51389
|
-
var jr = F1.getInstance(), Ht = Ma.instance(),
|
|
51409
|
+
var jr = F1.getInstance(), Ht = Ma.instance(), C6e = (
|
|
51390
51410
|
/** @class */
|
|
51391
51411
|
(function() {
|
|
51392
51412
|
function e() {
|
|
51393
51413
|
}
|
|
51394
51414
|
return e.prototype.getMeter = function(t, n, r) {
|
|
51395
|
-
return
|
|
51415
|
+
return t6e;
|
|
51396
51416
|
}, e;
|
|
51397
51417
|
})()
|
|
51398
|
-
),
|
|
51418
|
+
), I6e = new C6e(), C2 = "metrics", M6e = (
|
|
51399
51419
|
/** @class */
|
|
51400
51420
|
(function() {
|
|
51401
51421
|
function e() {
|
|
@@ -51405,14 +51425,14 @@ var jr = F1.getInstance(), Ht = Ma.instance(), T6e = (
|
|
|
51405
51425
|
}, e.prototype.setGlobalMeterProvider = function(t) {
|
|
51406
51426
|
return Bp(C2, t, Ma.instance());
|
|
51407
51427
|
}, e.prototype.getMeterProvider = function() {
|
|
51408
|
-
return _c(C2) ||
|
|
51428
|
+
return _c(C2) || I6e;
|
|
51409
51429
|
}, e.prototype.getMeter = function(t, n, r) {
|
|
51410
51430
|
return this.getMeterProvider().getMeter(t, n, r);
|
|
51411
51431
|
}, e.prototype.disable = function() {
|
|
51412
51432
|
zp(C2, Ma.instance());
|
|
51413
51433
|
}, e;
|
|
51414
51434
|
})()
|
|
51415
|
-
), jF =
|
|
51435
|
+
), jF = M6e.getInstance(), k6e = (
|
|
51416
51436
|
/** @class */
|
|
51417
51437
|
(function() {
|
|
51418
51438
|
function e() {
|
|
@@ -51428,42 +51448,42 @@ var jr = F1.getInstance(), Ht = Ma.instance(), T6e = (
|
|
|
51428
51448
|
function $F(e) {
|
|
51429
51449
|
return e.getValue(z3) || void 0;
|
|
51430
51450
|
}
|
|
51431
|
-
function
|
|
51451
|
+
function R6e() {
|
|
51432
51452
|
return $F(F1.getInstance().active());
|
|
51433
51453
|
}
|
|
51434
|
-
function
|
|
51454
|
+
function D6e(e, t) {
|
|
51435
51455
|
return e.setValue(z3, t);
|
|
51436
51456
|
}
|
|
51437
|
-
function
|
|
51457
|
+
function L6e(e) {
|
|
51438
51458
|
return e.deleteValue(z3);
|
|
51439
51459
|
}
|
|
51440
|
-
var I2 = "propagation",
|
|
51460
|
+
var I2 = "propagation", N6e = new k6e(), j6e = (
|
|
51441
51461
|
/** @class */
|
|
51442
51462
|
(function() {
|
|
51443
51463
|
function e() {
|
|
51444
|
-
this.createBaggage =
|
|
51464
|
+
this.createBaggage = H5e, this.getBaggage = $F, this.getActiveBaggage = R6e, this.setBaggage = D6e, this.deleteBaggage = L6e;
|
|
51445
51465
|
}
|
|
51446
51466
|
return e.getInstance = function() {
|
|
51447
51467
|
return this._instance || (this._instance = new e()), this._instance;
|
|
51448
51468
|
}, e.prototype.setGlobalPropagator = function(t) {
|
|
51449
51469
|
return Bp(I2, t, Ma.instance());
|
|
51450
51470
|
}, e.prototype.inject = function(t, n, r) {
|
|
51451
|
-
return r === void 0 && (r =
|
|
51471
|
+
return r === void 0 && (r = l6e), this._getGlobalPropagator().inject(t, n, r);
|
|
51452
51472
|
}, e.prototype.extract = function(t, n, r) {
|
|
51453
|
-
return r === void 0 && (r =
|
|
51473
|
+
return r === void 0 && (r = c6e), this._getGlobalPropagator().extract(t, n, r);
|
|
51454
51474
|
}, e.prototype.fields = function() {
|
|
51455
51475
|
return this._getGlobalPropagator().fields();
|
|
51456
51476
|
}, e.prototype.disable = function() {
|
|
51457
51477
|
zp(I2, Ma.instance());
|
|
51458
51478
|
}, e.prototype._getGlobalPropagator = function() {
|
|
51459
|
-
return _c(I2) ||
|
|
51479
|
+
return _c(I2) || N6e;
|
|
51460
51480
|
}, e;
|
|
51461
51481
|
})()
|
|
51462
|
-
), ya =
|
|
51482
|
+
), ya = j6e.getInstance(), M2 = "trace", $6e = (
|
|
51463
51483
|
/** @class */
|
|
51464
51484
|
(function() {
|
|
51465
51485
|
function e() {
|
|
51466
|
-
this._proxyTracerProvider = new $I(), this.wrapSpanContext =
|
|
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;
|
|
51467
51487
|
}
|
|
51468
51488
|
return e.getInstance = function() {
|
|
51469
51489
|
return this._instance || (this._instance = new e()), this._instance;
|
|
@@ -51478,14 +51498,14 @@ var I2 = "propagation", L6e = new M6e(), N6e = (
|
|
|
51478
51498
|
zp(M2, Ma.instance()), this._proxyTracerProvider = new $I();
|
|
51479
51499
|
}, e;
|
|
51480
51500
|
})()
|
|
51481
|
-
), oi =
|
|
51501
|
+
), oi = $6e.getInstance();
|
|
51482
51502
|
function Ri(e) {
|
|
51483
51503
|
return e === null ? "null" : Array.isArray(e) ? "array" : typeof e;
|
|
51484
51504
|
}
|
|
51485
51505
|
function Nu(e) {
|
|
51486
51506
|
return Ri(e) === "object";
|
|
51487
51507
|
}
|
|
51488
|
-
function
|
|
51508
|
+
function B6e(e) {
|
|
51489
51509
|
return Array.isArray(e) && // must be at least one error
|
|
51490
51510
|
e.length > 0 && // error has at least a message
|
|
51491
51511
|
e.every((t) => "message" in t);
|
|
@@ -51493,7 +51513,7 @@ function $6e(e) {
|
|
|
51493
51513
|
function BI(e, t) {
|
|
51494
51514
|
return e.length < 124 ? e : t;
|
|
51495
51515
|
}
|
|
51496
|
-
const
|
|
51516
|
+
const z6e = "graphql-transport-ws";
|
|
51497
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 || {});
|
|
51498
51518
|
function BF(e) {
|
|
51499
51519
|
if (!Nu(e))
|
|
@@ -51592,7 +51612,7 @@ function BF(e) {
|
|
|
51592
51612
|
throw new Error(
|
|
51593
51613
|
`"${e.type}" message requires a non-empty 'id' property`
|
|
51594
51614
|
);
|
|
51595
|
-
if (
|
|
51615
|
+
if (!B6e(e.payload))
|
|
51596
51616
|
throw new Error(
|
|
51597
51617
|
`"${e.type}" message expects the 'payload' property to be an array of GraphQL errors, but got ${JSON.stringify(
|
|
51598
51618
|
e.payload
|
|
@@ -51618,7 +51638,7 @@ function BF(e) {
|
|
|
51618
51638
|
}
|
|
51619
51639
|
return e;
|
|
51620
51640
|
}
|
|
51621
|
-
function
|
|
51641
|
+
function F6e(e, t) {
|
|
51622
51642
|
return BF(
|
|
51623
51643
|
typeof e == "string" ? JSON.parse(e, t) : e
|
|
51624
51644
|
);
|
|
@@ -51626,7 +51646,7 @@ function z6e(e, t) {
|
|
|
51626
51646
|
function yd(e, t) {
|
|
51627
51647
|
return BF(e), JSON.stringify(e, t);
|
|
51628
51648
|
}
|
|
51629
|
-
function
|
|
51649
|
+
function W6e(e) {
|
|
51630
51650
|
const {
|
|
51631
51651
|
url: t,
|
|
51632
51652
|
connectionParams: n,
|
|
@@ -51668,7 +51688,7 @@ function F6e(e) {
|
|
|
51668
51688
|
} = e;
|
|
51669
51689
|
let w;
|
|
51670
51690
|
if (p) {
|
|
51671
|
-
if (!
|
|
51691
|
+
if (!H6e(p))
|
|
51672
51692
|
throw new Error("Invalid WebSocket implementation provided");
|
|
51673
51693
|
w = p;
|
|
51674
51694
|
} else typeof WebSocket < "u" ? w = WebSocket : typeof global < "u" ? w = global.WebSocket || // @ts-expect-error: Support more browsers
|
|
@@ -51740,7 +51760,7 @@ function F6e(e) {
|
|
|
51740
51760
|
E.emit("connecting", j);
|
|
51741
51761
|
const U = new x(
|
|
51742
51762
|
typeof t == "function" ? await t() : t,
|
|
51743
|
-
|
|
51763
|
+
z6e
|
|
51744
51764
|
);
|
|
51745
51765
|
let Z, fe;
|
|
51746
51766
|
function pe() {
|
|
@@ -51785,7 +51805,7 @@ function F6e(e) {
|
|
|
51785
51805
|
let _e = !1;
|
|
51786
51806
|
U.onmessage = ({ data: Se }) => {
|
|
51787
51807
|
try {
|
|
51788
|
-
const k =
|
|
51808
|
+
const k = F6e(Se, v);
|
|
51789
51809
|
if (E.emit("message", k), k.type === "ping" || k.type === "pong") {
|
|
51790
51810
|
E.emit(k.type, !0, k.payload), k.type === "pong" ? pe() : s || (U.send(
|
|
51791
51811
|
yd(
|
|
@@ -51844,7 +51864,7 @@ function F6e(e) {
|
|
|
51844
51864
|
];
|
|
51845
51865
|
}
|
|
51846
51866
|
function J(L) {
|
|
51847
|
-
if (k2(L) && (
|
|
51867
|
+
if (k2(L) && (U6e(L.code) || [
|
|
51848
51868
|
Io.InternalServerError,
|
|
51849
51869
|
Io.InternalClientError,
|
|
51850
51870
|
Io.BadRequest,
|
|
@@ -51988,7 +52008,7 @@ class zI extends Error {
|
|
|
51988
52008
|
function k2(e) {
|
|
51989
52009
|
return Nu(e) && "code" in e && "reason" in e;
|
|
51990
52010
|
}
|
|
51991
|
-
function
|
|
52011
|
+
function U6e(e) {
|
|
51992
52012
|
return [
|
|
51993
52013
|
1e3,
|
|
51994
52014
|
// Normal Closure is not an erroneous close code
|
|
@@ -52006,19 +52026,19 @@ function W6e(e) {
|
|
|
52006
52026
|
// Bad Gateway
|
|
52007
52027
|
].includes(e) ? !1 : e >= 1e3 && e <= 1999;
|
|
52008
52028
|
}
|
|
52009
|
-
function
|
|
52029
|
+
function H6e(e) {
|
|
52010
52030
|
return typeof e == "function" && "constructor" in e && "CLOSED" in e && "CLOSING" in e && "CONNECTING" in e && "OPEN" in e;
|
|
52011
52031
|
}
|
|
52012
|
-
const
|
|
52032
|
+
const V6e = (e) => W6e({
|
|
52013
52033
|
url: e.WS_URL
|
|
52014
|
-
}),
|
|
52034
|
+
}), G6e = (e, t, n) => NM.create((r) => V6e(n).subscribe(
|
|
52015
52035
|
{
|
|
52016
52036
|
operationName: e.name,
|
|
52017
52037
|
query: e.text,
|
|
52018
52038
|
variables: t
|
|
52019
52039
|
},
|
|
52020
52040
|
r
|
|
52021
|
-
)),
|
|
52041
|
+
)), q6e = (e, t, n) => NM.from(
|
|
52022
52042
|
jr.with(jr.active(), () => {
|
|
52023
52043
|
const r = oi.getTracer("RelayNetwork").startSpan("GraphQL fetch");
|
|
52024
52044
|
r.setAttribute("variables", JSON.stringify(t)), r.setAttribute("path", e.name);
|
|
@@ -52042,25 +52062,25 @@ const H6e = (e) => F6e({
|
|
|
52042
52062
|
r.setStatus({ code: ec.ERROR }), r.recordException(JSON.stringify(o));
|
|
52043
52063
|
}).finally(() => r.end());
|
|
52044
52064
|
})
|
|
52045
|
-
),
|
|
52065
|
+
), K6e = (e) => {
|
|
52046
52066
|
const t = e.id;
|
|
52047
52067
|
return t !== null && typeof t != "string" ? String(t) : t;
|
|
52048
52068
|
};
|
|
52049
|
-
function
|
|
52069
|
+
function Y6e(e) {
|
|
52050
52070
|
return new pZ({
|
|
52051
52071
|
network: vZ.create(
|
|
52052
|
-
(t, n) =>
|
|
52053
|
-
(t, n) =>
|
|
52072
|
+
(t, n) => q6e(t, n, e),
|
|
52073
|
+
(t, n) => G6e(t, n, e)
|
|
52054
52074
|
),
|
|
52055
52075
|
store: new gZ(new mZ()),
|
|
52056
|
-
getDataID:
|
|
52076
|
+
getDataID: K6e
|
|
52057
52077
|
});
|
|
52058
52078
|
}
|
|
52059
|
-
function
|
|
52060
|
-
const t = sS(), n =
|
|
52079
|
+
function KRe({ children: e }) {
|
|
52080
|
+
const t = sS(), n = Y6e(t);
|
|
52061
52081
|
return /* @__PURE__ */ A(hX, { environment: n, children: e });
|
|
52062
52082
|
}
|
|
52063
|
-
const
|
|
52083
|
+
const YRe = (e, t, n) => {
|
|
52064
52084
|
const r = [];
|
|
52065
52085
|
for (const i in e)
|
|
52066
52086
|
if (Object.prototype.hasOwnProperty.call(e, i)) {
|
|
@@ -52079,7 +52099,7 @@ const KRe = (e, t, n) => {
|
|
|
52079
52099
|
}
|
|
52080
52100
|
return r;
|
|
52081
52101
|
};
|
|
52082
|
-
var
|
|
52102
|
+
var X6e = /* @__PURE__ */ ((e) => (e[e.Container = 1] = "Container", e[e.File = 2] = "File", e[e.Rad = 3] = "Rad", e))(X6e || {});
|
|
52083
52103
|
const gs = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 };
|
|
52084
52104
|
function zF(e) {
|
|
52085
52105
|
return "init" in e;
|
|
@@ -52102,11 +52122,11 @@ function FF(e) {
|
|
|
52102
52122
|
var t;
|
|
52103
52123
|
return Bm(e) && !!((t = $m.get(e)) != null && t[0]);
|
|
52104
52124
|
}
|
|
52105
|
-
function
|
|
52125
|
+
function Z6e(e) {
|
|
52106
52126
|
const t = $m.get(e);
|
|
52107
52127
|
t?.[0] && (t[0] = !1, t[1].forEach((n) => n()));
|
|
52108
52128
|
}
|
|
52109
|
-
function
|
|
52129
|
+
function J6e(e, t) {
|
|
52110
52130
|
let n = $m.get(e);
|
|
52111
52131
|
if (!n) {
|
|
52112
52132
|
n = [!0, /* @__PURE__ */ new Set()], $m.set(e, n);
|
|
@@ -52136,24 +52156,24 @@ function UF(e, t, n) {
|
|
|
52136
52156
|
i.add(o);
|
|
52137
52157
|
return i;
|
|
52138
52158
|
}
|
|
52139
|
-
const
|
|
52159
|
+
const Q6e = (e, t, ...n) => t.read(...n), e4e = (e, t, ...n) => t.write(...n), t4e = (e, t) => {
|
|
52140
52160
|
if (t.INTERNAL_onInit)
|
|
52141
52161
|
return t.INTERNAL_onInit(e);
|
|
52142
52162
|
if (t.unstable_onInit)
|
|
52143
52163
|
return console.warn(
|
|
52144
52164
|
"[DEPRECATED] atom.unstable_onInit is renamed to atom.INTERNAL_onInit."
|
|
52145
52165
|
), t.unstable_onInit(e);
|
|
52146
|
-
},
|
|
52166
|
+
}, n4e = (e, t, n) => {
|
|
52147
52167
|
var r;
|
|
52148
52168
|
return (r = t.onMount) == null ? void 0 : r.call(t, n);
|
|
52149
|
-
},
|
|
52169
|
+
}, r4e = (e, t) => {
|
|
52150
52170
|
var n;
|
|
52151
52171
|
const r = ui(e), i = r[0], o = r[6], a = r[9];
|
|
52152
52172
|
if ((gs ? "production" : void 0) !== "production" && !t)
|
|
52153
52173
|
throw new Error("Atom is undefined or null");
|
|
52154
52174
|
let s = i.get(t);
|
|
52155
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;
|
|
52156
|
-
},
|
|
52176
|
+
}, i4e = (e) => {
|
|
52157
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) => {
|
|
52158
52178
|
try {
|
|
52159
52179
|
l();
|
|
@@ -52171,7 +52191,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52171
52191
|
} while (r.size || o.size || i.size);
|
|
52172
52192
|
if (u.length)
|
|
52173
52193
|
throw new AggregateError(u);
|
|
52174
|
-
},
|
|
52194
|
+
}, o4e = (e) => {
|
|
52175
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);
|
|
52176
52196
|
for (; d.length; ) {
|
|
52177
52197
|
const h = d[d.length - 1], p = o(e, h);
|
|
@@ -52201,7 +52221,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52201
52221
|
}
|
|
52202
52222
|
m && (a(e, p), s(e, p)), r.delete(p);
|
|
52203
52223
|
}
|
|
52204
|
-
}, UE = /* @__PURE__ */ new WeakSet(),
|
|
52224
|
+
}, UE = /* @__PURE__ */ new WeakSet(), a4e = (e, t) => {
|
|
52205
52225
|
var n, r;
|
|
52206
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);
|
|
52207
52227
|
if (FI(v)) {
|
|
@@ -52260,13 +52280,13 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52260
52280
|
const j = c(e, t, E, M);
|
|
52261
52281
|
return (gs ? "production" : void 0) !== "production" && UE.has(e) && console.warn(
|
|
52262
52282
|
"Detected store mutation during atom read. This is not supported."
|
|
52263
|
-
), zm(e, t, j), Bm(j) && (
|
|
52283
|
+
), zm(e, t, j), Bm(j) && (J6e(j, () => O?.abort()), j.then(x, x)), (n = u.r) == null || n.call(u, t), v;
|
|
52264
52284
|
} catch (j) {
|
|
52265
52285
|
return delete v.v, v.e = j, ++v.n, v;
|
|
52266
52286
|
} finally {
|
|
52267
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));
|
|
52268
52288
|
}
|
|
52269
|
-
},
|
|
52289
|
+
}, s4e = (e, t) => {
|
|
52270
52290
|
const n = ui(e), r = n[1], i = n[2], o = n[11], a = [t];
|
|
52271
52291
|
for (; a.length; ) {
|
|
52272
52292
|
const s = a.pop(), u = o(e, s);
|
|
@@ -52300,7 +52320,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52300
52320
|
} finally {
|
|
52301
52321
|
p = !1;
|
|
52302
52322
|
}
|
|
52303
|
-
},
|
|
52323
|
+
}, u4e = (e, t) => {
|
|
52304
52324
|
var n;
|
|
52305
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);
|
|
52306
52326
|
if (h && !FF(d.v)) {
|
|
@@ -52357,7 +52377,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52357
52377
|
(n = a.m) == null || n.call(a, t);
|
|
52358
52378
|
}
|
|
52359
52379
|
return y;
|
|
52360
|
-
},
|
|
52380
|
+
}, c4e = (e, t) => {
|
|
52361
52381
|
var n, r;
|
|
52362
52382
|
const i = ui(e), o = i[1], a = i[5], s = i[6], u = i[11], c = i[19], l = u(e, t);
|
|
52363
52383
|
let d = o.get(t);
|
|
@@ -52388,18 +52408,18 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52388
52408
|
n,
|
|
52389
52409
|
r(e, s)
|
|
52390
52410
|
);
|
|
52391
|
-
i.v = n, delete i.e, (!o || !Object.is(a, i.v)) && (++i.n, Bm(a) &&
|
|
52392
|
-
},
|
|
52411
|
+
i.v = n, delete i.e, (!o || !Object.is(a, i.v)) && (++i.n, Bm(a) && Z6e(a));
|
|
52412
|
+
}, l4e = (e, t) => {
|
|
52393
52413
|
const n = ui(e)[14];
|
|
52394
52414
|
return jm(n(e, t));
|
|
52395
|
-
},
|
|
52415
|
+
}, f4e = (e, t, ...n) => {
|
|
52396
52416
|
const r = ui(e), i = r[12], o = r[13], a = r[16];
|
|
52397
52417
|
try {
|
|
52398
52418
|
return a(e, t, ...n);
|
|
52399
52419
|
} finally {
|
|
52400
52420
|
o(e), i(e);
|
|
52401
52421
|
}
|
|
52402
|
-
},
|
|
52422
|
+
}, d4e = (e, t, n) => {
|
|
52403
52423
|
const r = ui(e), i = r[12], o = r[18], a = r[19], u = o(e, t).l;
|
|
52404
52424
|
return u.add(n), i(e), () => {
|
|
52405
52425
|
u.delete(n), a(e, t), i(e);
|
|
@@ -52412,7 +52432,7 @@ const J6e = (e, t, ...n) => t.read(...n), Q6e = (e, t, ...n) => t.write(...n), e
|
|
|
52412
52432
|
);
|
|
52413
52433
|
return t;
|
|
52414
52434
|
};
|
|
52415
|
-
function
|
|
52435
|
+
function h4e(...e) {
|
|
52416
52436
|
const t = {
|
|
52417
52437
|
get(r) {
|
|
52418
52438
|
const i = ui(t)[21];
|
|
@@ -52443,59 +52463,59 @@ function d4e(...e) {
|
|
|
52443
52463
|
{},
|
|
52444
52464
|
// storeHooks
|
|
52445
52465
|
// atom interceptors
|
|
52446
|
-
J6e,
|
|
52447
52466
|
Q6e,
|
|
52448
52467
|
e4e,
|
|
52449
52468
|
t4e,
|
|
52450
|
-
// building-block functions
|
|
52451
52469
|
n4e,
|
|
52470
|
+
// building-block functions
|
|
52452
52471
|
r4e,
|
|
52453
52472
|
i4e,
|
|
52454
52473
|
o4e,
|
|
52455
52474
|
a4e,
|
|
52456
|
-
HF,
|
|
52457
52475
|
s4e,
|
|
52458
|
-
|
|
52476
|
+
HF,
|
|
52459
52477
|
u4e,
|
|
52460
|
-
|
|
52478
|
+
VF,
|
|
52461
52479
|
c4e,
|
|
52480
|
+
zm,
|
|
52462
52481
|
l4e,
|
|
52463
52482
|
f4e,
|
|
52483
|
+
d4e,
|
|
52464
52484
|
void 0
|
|
52465
52485
|
].map((r, i) => e[i] || r);
|
|
52466
52486
|
return GF.set(t, Object.freeze(n)), t;
|
|
52467
52487
|
}
|
|
52468
52488
|
const qF = {};
|
|
52469
|
-
let
|
|
52470
|
-
function
|
|
52471
|
-
const n = `atom${++
|
|
52489
|
+
let p4e = 0;
|
|
52490
|
+
function g4e(e, t) {
|
|
52491
|
+
const n = `atom${++p4e}`, r = {
|
|
52472
52492
|
toString() {
|
|
52473
52493
|
return (qF ? "production" : void 0) !== "production" && this.debugLabel ? n + ":" + this.debugLabel : n;
|
|
52474
52494
|
}
|
|
52475
52495
|
};
|
|
52476
|
-
return typeof e == "function" ? r.read = e : (r.init = e, r.read =
|
|
52496
|
+
return typeof e == "function" ? r.read = e : (r.init = e, r.read = v4e, r.write = m4e), r;
|
|
52477
52497
|
}
|
|
52478
|
-
function
|
|
52498
|
+
function v4e(e) {
|
|
52479
52499
|
return e(this);
|
|
52480
52500
|
}
|
|
52481
|
-
function
|
|
52501
|
+
function m4e(e, t, n) {
|
|
52482
52502
|
return t(
|
|
52483
52503
|
this,
|
|
52484
52504
|
typeof n == "function" ? n(e(this)) : n
|
|
52485
52505
|
);
|
|
52486
52506
|
}
|
|
52487
|
-
function
|
|
52488
|
-
return
|
|
52507
|
+
function y4e() {
|
|
52508
|
+
return h4e();
|
|
52489
52509
|
}
|
|
52490
52510
|
let bd;
|
|
52491
|
-
function
|
|
52492
|
-
return bd || (bd =
|
|
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(
|
|
52493
52513
|
"Detected multiple Jotai instances. It may cause unexpected behavior with the default store. https://github.com/pmndrs/jotai/discussions/2044"
|
|
52494
52514
|
))), bd;
|
|
52495
52515
|
}
|
|
52496
|
-
const
|
|
52516
|
+
const XRe = {
|
|
52497
52517
|
createState: (e) => {
|
|
52498
|
-
const t =
|
|
52518
|
+
const t = g4e(e), n = b4e();
|
|
52499
52519
|
return {
|
|
52500
52520
|
get: () => n.get(t),
|
|
52501
52521
|
set: (r) => n.set(t, r),
|
|
@@ -52510,7 +52530,7 @@ const YRe = {
|
|
|
52510
52530
|
},
|
|
52511
52531
|
type: "jotaiAdapter"
|
|
52512
52532
|
};
|
|
52513
|
-
function
|
|
52533
|
+
function ZRe() {
|
|
52514
52534
|
return {
|
|
52515
52535
|
createState: (e) => {
|
|
52516
52536
|
const t = gX({
|
|
@@ -52532,7 +52552,7 @@ function XRe() {
|
|
|
52532
52552
|
type: "recoilAdapter"
|
|
52533
52553
|
};
|
|
52534
52554
|
}
|
|
52535
|
-
const
|
|
52555
|
+
const w4e = Pn([
|
|
52536
52556
|
!1,
|
|
52537
52557
|
{
|
|
52538
52558
|
lockInIdleMode: () => {
|
|
@@ -52543,11 +52563,11 @@ const b4e = Pn([
|
|
|
52543
52563
|
// to match the type and avoid errors.
|
|
52544
52564
|
}
|
|
52545
52565
|
]);
|
|
52546
|
-
function
|
|
52566
|
+
function JRe({ timer: e, children: t }) {
|
|
52547
52567
|
const n = EZ(e);
|
|
52548
|
-
return /* @__PURE__ */ A(
|
|
52568
|
+
return /* @__PURE__ */ A(w4e.Provider, { value: n, children: t });
|
|
52549
52569
|
}
|
|
52550
|
-
const
|
|
52570
|
+
const QRe = (e, t, n) => {
|
|
52551
52571
|
if (!zh(e)) return;
|
|
52552
52572
|
const r = new Date(e);
|
|
52553
52573
|
switch (n) {
|
|
@@ -52581,11 +52601,11 @@ const JRe = (e, t, n) => {
|
|
|
52581
52601
|
return r;
|
|
52582
52602
|
};
|
|
52583
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 || {});
|
|
52584
|
-
const
|
|
52604
|
+
const _4e = (e, t, n = "milliseconds") => {
|
|
52585
52605
|
if (!zh(e) || !zh(t)) return;
|
|
52586
52606
|
const r = new Date(e).getTime();
|
|
52587
52607
|
return (new Date(t).getTime() - r) / KF[n];
|
|
52588
|
-
},
|
|
52608
|
+
}, x4e = (e) => {
|
|
52589
52609
|
if (e == null)
|
|
52590
52610
|
return "";
|
|
52591
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);
|
|
@@ -52597,7 +52617,7 @@ const w4e = (e, t, n = "milliseconds") => {
|
|
|
52597
52617
|
o ? `${o}min` : "",
|
|
52598
52618
|
a ? `${a}sec` : ""
|
|
52599
52619
|
].filter(Boolean).join(" ");
|
|
52600
|
-
},
|
|
52620
|
+
}, eDe = (e, t, n) => {
|
|
52601
52621
|
if (!zh(e)) throw new Error("Invalid Date");
|
|
52602
52622
|
const r = new Date(e);
|
|
52603
52623
|
switch (n) {
|
|
@@ -52629,12 +52649,12 @@ const w4e = (e, t, n = "milliseconds") => {
|
|
|
52629
52649
|
throw new Error(`Unsupported time unit: ${n}`);
|
|
52630
52650
|
}
|
|
52631
52651
|
return r;
|
|
52632
|
-
},
|
|
52652
|
+
}, tDe = (e, t) => {
|
|
52633
52653
|
if (!e) return "--";
|
|
52634
|
-
const r =
|
|
52635
|
-
return
|
|
52636
|
-
},
|
|
52637
|
-
function
|
|
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) {
|
|
52638
52658
|
const t = {};
|
|
52639
52659
|
function n(r) {
|
|
52640
52660
|
Object.prototype.hasOwnProperty.call(r, "edges") && (t.edges = r.edges);
|
|
@@ -52644,45 +52664,45 @@ function rDe(e) {
|
|
|
52644
52664
|
return n(e), t;
|
|
52645
52665
|
}
|
|
52646
52666
|
const YF = L3("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
|
|
52647
|
-
function
|
|
52667
|
+
function E4e(e) {
|
|
52648
52668
|
return e.setValue(YF, !0);
|
|
52649
52669
|
}
|
|
52650
52670
|
function F3(e) {
|
|
52651
52671
|
return e.getValue(YF) === !0;
|
|
52652
52672
|
}
|
|
52653
|
-
const
|
|
52654
|
-
function
|
|
52673
|
+
const S4e = "=", HE = ";", VE = ",", R2 = "baggage", O4e = 180, A4e = 4096, P4e = 8192;
|
|
52674
|
+
function T4e(e) {
|
|
52655
52675
|
return e.reduce((t, n) => {
|
|
52656
52676
|
const r = `${t}${t !== "" ? VE : ""}${n}`;
|
|
52657
|
-
return r.length >
|
|
52677
|
+
return r.length > P4e ? t : r;
|
|
52658
52678
|
}, "");
|
|
52659
52679
|
}
|
|
52660
|
-
function
|
|
52680
|
+
function C4e(e) {
|
|
52661
52681
|
return e.getAllEntries().map(([t, n]) => {
|
|
52662
52682
|
let r = `${encodeURIComponent(t)}=${encodeURIComponent(n.value)}`;
|
|
52663
52683
|
return n.metadata !== void 0 && (r += HE + n.metadata.toString()), r;
|
|
52664
52684
|
});
|
|
52665
52685
|
}
|
|
52666
|
-
function
|
|
52686
|
+
function I4e(e) {
|
|
52667
52687
|
const t = e.split(HE);
|
|
52668
52688
|
if (t.length <= 0)
|
|
52669
52689
|
return;
|
|
52670
52690
|
const n = t.shift();
|
|
52671
52691
|
if (!n)
|
|
52672
52692
|
return;
|
|
52673
|
-
const r = n.indexOf(
|
|
52693
|
+
const r = n.indexOf(S4e);
|
|
52674
52694
|
if (r <= 0)
|
|
52675
52695
|
return;
|
|
52676
52696
|
const i = decodeURIComponent(n.substring(0, r).trim()), o = decodeURIComponent(n.substring(r + 1).trim());
|
|
52677
52697
|
let a;
|
|
52678
|
-
return t.length > 0 && (a =
|
|
52698
|
+
return t.length > 0 && (a = V5e(t.join(HE))), { key: i, value: o, metadata: a };
|
|
52679
52699
|
}
|
|
52680
|
-
class
|
|
52700
|
+
class M4e {
|
|
52681
52701
|
inject(t, n, r) {
|
|
52682
52702
|
const i = ya.getBaggage(t);
|
|
52683
52703
|
if (!i || F3(t))
|
|
52684
52704
|
return;
|
|
52685
|
-
const o =
|
|
52705
|
+
const o = C4e(i).filter((s) => s.length <= A4e).slice(0, O4e), a = T4e(o);
|
|
52686
52706
|
a.length > 0 && r.set(n, R2, a);
|
|
52687
52707
|
}
|
|
52688
52708
|
extract(t, n, r) {
|
|
@@ -52691,7 +52711,7 @@ class I4e {
|
|
|
52691
52711
|
return t;
|
|
52692
52712
|
const a = {};
|
|
52693
52713
|
return o.length === 0 || (o.split(VE).forEach((u) => {
|
|
52694
|
-
const c =
|
|
52714
|
+
const c = I4e(u);
|
|
52695
52715
|
if (c) {
|
|
52696
52716
|
const l = { value: c.value };
|
|
52697
52717
|
c.metadata && (l.metadata = c.metadata), a[c.key] = l;
|
|
@@ -52709,7 +52729,7 @@ function Zv(e) {
|
|
|
52709
52729
|
for (const n in e) {
|
|
52710
52730
|
if (!Object.prototype.hasOwnProperty.call(e, n))
|
|
52711
52731
|
continue;
|
|
52712
|
-
if (!
|
|
52732
|
+
if (!k4e(n)) {
|
|
52713
52733
|
Ht.warn(`Invalid attribute key: ${n}`);
|
|
52714
52734
|
continue;
|
|
52715
52735
|
}
|
|
@@ -52722,13 +52742,13 @@ function Zv(e) {
|
|
|
52722
52742
|
}
|
|
52723
52743
|
return t;
|
|
52724
52744
|
}
|
|
52725
|
-
function
|
|
52745
|
+
function k4e(e) {
|
|
52726
52746
|
return typeof e == "string" && e !== "";
|
|
52727
52747
|
}
|
|
52728
52748
|
function Fm(e) {
|
|
52729
|
-
return e == null ? !0 : Array.isArray(e) ?
|
|
52749
|
+
return e == null ? !0 : Array.isArray(e) ? R4e(e) : XF(typeof e);
|
|
52730
52750
|
}
|
|
52731
|
-
function
|
|
52751
|
+
function R4e(e) {
|
|
52732
52752
|
let t;
|
|
52733
52753
|
for (const n of e) {
|
|
52734
52754
|
if (n == null)
|
|
@@ -52756,15 +52776,15 @@ function XF(e) {
|
|
|
52756
52776
|
}
|
|
52757
52777
|
return !1;
|
|
52758
52778
|
}
|
|
52759
|
-
function
|
|
52779
|
+
function D4e() {
|
|
52760
52780
|
return (e) => {
|
|
52761
|
-
Ht.error(
|
|
52781
|
+
Ht.error(L4e(e));
|
|
52762
52782
|
};
|
|
52763
52783
|
}
|
|
52764
|
-
function D4e(e) {
|
|
52765
|
-
return typeof e == "string" ? e : JSON.stringify(L4e(e));
|
|
52766
|
-
}
|
|
52767
52784
|
function L4e(e) {
|
|
52785
|
+
return typeof e == "string" ? e : JSON.stringify(N4e(e));
|
|
52786
|
+
}
|
|
52787
|
+
function N4e(e) {
|
|
52768
52788
|
const t = {};
|
|
52769
52789
|
let n = e;
|
|
52770
52790
|
for (; n !== null; )
|
|
@@ -52776,21 +52796,21 @@ function L4e(e) {
|
|
|
52776
52796
|
}), n = Object.getPrototypeOf(n);
|
|
52777
52797
|
return t;
|
|
52778
52798
|
}
|
|
52779
|
-
let
|
|
52799
|
+
let j4e = D4e();
|
|
52780
52800
|
function Rl(e) {
|
|
52781
52801
|
try {
|
|
52782
|
-
|
|
52802
|
+
j4e(e);
|
|
52783
52803
|
} catch {
|
|
52784
52804
|
}
|
|
52785
52805
|
}
|
|
52786
|
-
const Dl = performance,
|
|
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 = {
|
|
52787
52807
|
[qE]: "opentelemetry",
|
|
52788
|
-
[
|
|
52789
|
-
[GE]:
|
|
52790
|
-
[KE]:
|
|
52791
|
-
},
|
|
52808
|
+
[K4e]: "browser",
|
|
52809
|
+
[GE]: G4e,
|
|
52810
|
+
[KE]: $4e
|
|
52811
|
+
}, Y4e = 9, X4e = 6, Z4e = Math.pow(10, X4e), Wm = Math.pow(10, Y4e);
|
|
52792
52812
|
function eu(e) {
|
|
52793
|
-
const t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 *
|
|
52813
|
+
const t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 * Z4e);
|
|
52794
52814
|
return [n, r];
|
|
52795
52815
|
}
|
|
52796
52816
|
function W3() {
|
|
@@ -52814,11 +52834,11 @@ function WI(e) {
|
|
|
52814
52834
|
return eu(e.getTime());
|
|
52815
52835
|
throw TypeError("Invalid input type");
|
|
52816
52836
|
}
|
|
52817
|
-
function
|
|
52837
|
+
function J4e(e, t) {
|
|
52818
52838
|
let n = t[0] - e[0], r = t[1] - e[1];
|
|
52819
52839
|
return r < 0 && (n -= 1, r += Wm), [n, r];
|
|
52820
52840
|
}
|
|
52821
|
-
function
|
|
52841
|
+
function Q4e(e) {
|
|
52822
52842
|
return e[0] * Wm + e[1];
|
|
52823
52843
|
}
|
|
52824
52844
|
function YE(e) {
|
|
@@ -52838,7 +52858,7 @@ var so;
|
|
|
52838
52858
|
(function(e) {
|
|
52839
52859
|
e[e.SUCCESS = 0] = "SUCCESS", e[e.FAILED = 1] = "FAILED";
|
|
52840
52860
|
})(so || (so = {}));
|
|
52841
|
-
class
|
|
52861
|
+
class eCe {
|
|
52842
52862
|
_propagators;
|
|
52843
52863
|
_fields;
|
|
52844
52864
|
/**
|
|
@@ -52889,14 +52909,14 @@ class Q4e {
|
|
|
52889
52909
|
return this._fields.slice();
|
|
52890
52910
|
}
|
|
52891
52911
|
}
|
|
52892
|
-
const XE = "[_0-9a-z-*/]",
|
|
52893
|
-
function oCe(e) {
|
|
52894
|
-
return nCe.test(e);
|
|
52895
|
-
}
|
|
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 = /,|=/;
|
|
52896
52913
|
function aCe(e) {
|
|
52897
|
-
return rCe.test(e)
|
|
52914
|
+
return rCe.test(e);
|
|
52915
|
+
}
|
|
52916
|
+
function sCe(e) {
|
|
52917
|
+
return iCe.test(e) && !oCe.test(e);
|
|
52898
52918
|
}
|
|
52899
|
-
const HI = 32,
|
|
52919
|
+
const HI = 32, uCe = 512, VI = ",", GI = "=";
|
|
52900
52920
|
class H3 {
|
|
52901
52921
|
_internalState = /* @__PURE__ */ new Map();
|
|
52902
52922
|
constructor(t) {
|
|
@@ -52917,11 +52937,11 @@ class H3 {
|
|
|
52917
52937
|
return this._keys().reduce((t, n) => (t.push(n + GI + this.get(n)), t), []).join(VI);
|
|
52918
52938
|
}
|
|
52919
52939
|
_parse(t) {
|
|
52920
|
-
t.length >
|
|
52940
|
+
t.length > uCe || (this._internalState = t.split(VI).reverse().reduce((n, r) => {
|
|
52921
52941
|
const i = r.trim(), o = i.indexOf(GI);
|
|
52922
52942
|
if (o !== -1) {
|
|
52923
52943
|
const a = i.slice(0, o), s = i.slice(o + 1, r.length);
|
|
52924
|
-
|
|
52944
|
+
aCe(a) && sCe(s) && n.set(a, s);
|
|
52925
52945
|
}
|
|
52926
52946
|
return n;
|
|
52927
52947
|
}, /* @__PURE__ */ new Map()), this._internalState.size > HI && (this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, HI))));
|
|
@@ -52934,21 +52954,21 @@ class H3 {
|
|
|
52934
52954
|
return t._internalState = new Map(this._internalState), t;
|
|
52935
52955
|
}
|
|
52936
52956
|
}
|
|
52937
|
-
const j2 = "traceparent", $2 = "tracestate",
|
|
52938
|
-
function
|
|
52939
|
-
const t =
|
|
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);
|
|
52940
52960
|
return !t || t[1] === "00" && t[5] ? null : {
|
|
52941
52961
|
traceId: t[2],
|
|
52942
52962
|
spanId: t[3],
|
|
52943
52963
|
traceFlags: parseInt(t[4], 16)
|
|
52944
52964
|
};
|
|
52945
52965
|
}
|
|
52946
|
-
class
|
|
52966
|
+
class vCe {
|
|
52947
52967
|
inject(t, n, r) {
|
|
52948
52968
|
const i = oi.getSpanContext(t);
|
|
52949
52969
|
if (!i || F3(t) || !Fp(i))
|
|
52950
52970
|
return;
|
|
52951
|
-
const o = `${
|
|
52971
|
+
const o = `${cCe}-${i.traceId}-${i.spanId}-0${Number(i.traceFlags || Ps.NONE).toString(16)}`;
|
|
52952
52972
|
r.set(n, j2, o), i.traceState && r.set(n, $2, i.traceState.serialize());
|
|
52953
52973
|
}
|
|
52954
52974
|
extract(t, n, r) {
|
|
@@ -52958,7 +52978,7 @@ class gCe {
|
|
|
52958
52978
|
const o = Array.isArray(i) ? i[0] : i;
|
|
52959
52979
|
if (typeof o != "string")
|
|
52960
52980
|
return t;
|
|
52961
|
-
const a =
|
|
52981
|
+
const a = gCe(o);
|
|
52962
52982
|
if (!a)
|
|
52963
52983
|
return t;
|
|
52964
52984
|
a.isRemote = !0;
|
|
@@ -52973,23 +52993,23 @@ class gCe {
|
|
|
52973
52993
|
return [j2, $2];
|
|
52974
52994
|
}
|
|
52975
52995
|
}
|
|
52976
|
-
const
|
|
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;
|
|
52977
52997
|
function qI(e) {
|
|
52978
|
-
if (!
|
|
52998
|
+
if (!ECe(e) || SCe(e) !== mCe)
|
|
52979
52999
|
return !1;
|
|
52980
|
-
const t =
|
|
53000
|
+
const t = xCe(e);
|
|
52981
53001
|
if (t === null)
|
|
52982
53002
|
return !0;
|
|
52983
53003
|
const n = nW.call(t, "constructor") && t.constructor;
|
|
52984
|
-
return typeof n == "function" && n instanceof n && eW.call(n) ===
|
|
52985
|
-
}
|
|
52986
|
-
function xCe(e) {
|
|
52987
|
-
return e != null && typeof e == "object";
|
|
53004
|
+
return typeof n == "function" && n instanceof n && eW.call(n) === _Ce;
|
|
52988
53005
|
}
|
|
52989
53006
|
function ECe(e) {
|
|
52990
|
-
return e
|
|
53007
|
+
return e != null && typeof e == "object";
|
|
52991
53008
|
}
|
|
52992
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) {
|
|
52993
53013
|
const t = nW.call(e, Bu), n = e[Bu];
|
|
52994
53014
|
let r = !1;
|
|
52995
53015
|
try {
|
|
@@ -52999,10 +53019,10 @@ function SCe(e) {
|
|
|
52999
53019
|
const i = rW.call(e);
|
|
53000
53020
|
return r && (t ? e[Bu] = n : delete e[Bu]), i;
|
|
53001
53021
|
}
|
|
53002
|
-
function
|
|
53022
|
+
function ACe(e) {
|
|
53003
53023
|
return rW.call(e);
|
|
53004
53024
|
}
|
|
53005
|
-
const
|
|
53025
|
+
const PCe = 20;
|
|
53006
53026
|
function iW(...e) {
|
|
53007
53027
|
let t = e.shift();
|
|
53008
53028
|
const n = /* @__PURE__ */ new WeakMap();
|
|
@@ -53015,7 +53035,7 @@ function B2(e) {
|
|
|
53015
53035
|
}
|
|
53016
53036
|
function oW(e, t, n = 0, r) {
|
|
53017
53037
|
let i;
|
|
53018
|
-
if (!(n >
|
|
53038
|
+
if (!(n > PCe)) {
|
|
53019
53039
|
if (n++, Jv(e) || Jv(t) || aW(t))
|
|
53020
53040
|
i = B2(t);
|
|
53021
53041
|
else if (Um(e)) {
|
|
@@ -53031,7 +53051,7 @@ function oW(e, t, n = 0, r) {
|
|
|
53031
53051
|
}
|
|
53032
53052
|
} else if (wd(e))
|
|
53033
53053
|
if (wd(t)) {
|
|
53034
|
-
if (!
|
|
53054
|
+
if (!TCe(e, t))
|
|
53035
53055
|
return t;
|
|
53036
53056
|
i = Object.assign({}, e);
|
|
53037
53057
|
const o = Object.keys(t);
|
|
@@ -53078,7 +53098,7 @@ function wd(e) {
|
|
|
53078
53098
|
function Jv(e) {
|
|
53079
53099
|
return typeof e == "string" || typeof e == "number" || typeof e == "boolean" || typeof e > "u" || e instanceof Date || e instanceof RegExp || e === null;
|
|
53080
53100
|
}
|
|
53081
|
-
function
|
|
53101
|
+
function TCe(e, t) {
|
|
53082
53102
|
return !(!qI(e) || !qI(t));
|
|
53083
53103
|
}
|
|
53084
53104
|
class V3 extends Error {
|
|
@@ -53086,7 +53106,7 @@ class V3 extends Error {
|
|
|
53086
53106
|
super(t), Object.setPrototypeOf(this, V3.prototype);
|
|
53087
53107
|
}
|
|
53088
53108
|
}
|
|
53089
|
-
function
|
|
53109
|
+
function CCe(e, t) {
|
|
53090
53110
|
let n;
|
|
53091
53111
|
const r = new Promise(function(o, a) {
|
|
53092
53112
|
n = setTimeout(function() {
|
|
@@ -53097,7 +53117,7 @@ function TCe(e, t) {
|
|
|
53097
53117
|
throw clearTimeout(n), i;
|
|
53098
53118
|
});
|
|
53099
53119
|
}
|
|
53100
|
-
class
|
|
53120
|
+
class ICe {
|
|
53101
53121
|
_promise;
|
|
53102
53122
|
_resolve;
|
|
53103
53123
|
_reject;
|
|
@@ -53120,7 +53140,7 @@ class G3 {
|
|
|
53120
53140
|
_callback;
|
|
53121
53141
|
_that;
|
|
53122
53142
|
_isCalled = !1;
|
|
53123
|
-
_deferred = new
|
|
53143
|
+
_deferred = new ICe();
|
|
53124
53144
|
constructor(t, n) {
|
|
53125
53145
|
this._callback = t, this._that = n;
|
|
53126
53146
|
}
|
|
@@ -53142,9 +53162,9 @@ class G3 {
|
|
|
53142
53162
|
return this._deferred.promise;
|
|
53143
53163
|
}
|
|
53144
53164
|
}
|
|
53145
|
-
function
|
|
53165
|
+
function MCe(e, t) {
|
|
53146
53166
|
return new Promise((n) => {
|
|
53147
|
-
jr.with(
|
|
53167
|
+
jr.with(E4e(jr.active()), () => {
|
|
53148
53168
|
e.export(t, (r) => {
|
|
53149
53169
|
n(r);
|
|
53150
53170
|
});
|
|
@@ -53152,9 +53172,9 @@ function ICe(e, t) {
|
|
|
53152
53172
|
});
|
|
53153
53173
|
}
|
|
53154
53174
|
const sW = {
|
|
53155
|
-
_export:
|
|
53175
|
+
_export: MCe
|
|
53156
53176
|
};
|
|
53157
|
-
function
|
|
53177
|
+
function kCe() {
|
|
53158
53178
|
return "unknown_service";
|
|
53159
53179
|
}
|
|
53160
53180
|
const Fd = (e) => e !== null && typeof e == "object" && typeof e.then == "function";
|
|
@@ -53169,7 +53189,7 @@ class Hm {
|
|
|
53169
53189
|
}
|
|
53170
53190
|
constructor(t, n) {
|
|
53171
53191
|
const r = t.attributes ?? {};
|
|
53172
|
-
this._rawAttributes = Object.entries(r).map(([i, o]) => (Fd(o) && (this._asyncAttributesPending = !0), [i, o])), this._rawAttributes = YI(this._rawAttributes), this._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);
|
|
53173
53193
|
}
|
|
53174
53194
|
get asyncAttributesPending() {
|
|
53175
53195
|
return this._asyncAttributesPending;
|
|
@@ -53205,7 +53225,7 @@ class Hm {
|
|
|
53205
53225
|
merge(t) {
|
|
53206
53226
|
if (t == null)
|
|
53207
53227
|
return this;
|
|
53208
|
-
const n =
|
|
53228
|
+
const n = DCe(this, t), r = n ? { schemaUrl: n } : void 0;
|
|
53209
53229
|
return Hm.FromAttributeList([...t.getRawAttributes(), ...this.getRawAttributes()], r);
|
|
53210
53230
|
}
|
|
53211
53231
|
}
|
|
@@ -53214,7 +53234,7 @@ function uW(e, t) {
|
|
|
53214
53234
|
}
|
|
53215
53235
|
function cW() {
|
|
53216
53236
|
return uW({
|
|
53217
|
-
[ZF]:
|
|
53237
|
+
[ZF]: kCe(),
|
|
53218
53238
|
[GE]: N2[GE],
|
|
53219
53239
|
[qE]: N2[qE],
|
|
53220
53240
|
[KE]: N2[KE]
|
|
@@ -53228,12 +53248,12 @@ function YI(e) {
|
|
|
53228
53248
|
})
|
|
53229
53249
|
] : [t, n]);
|
|
53230
53250
|
}
|
|
53231
|
-
function
|
|
53251
|
+
function RCe(e) {
|
|
53232
53252
|
if (typeof e == "string" || e === void 0)
|
|
53233
53253
|
return e;
|
|
53234
53254
|
Ht.warn("Schema URL must be string or undefined, got %s. Schema URL will be ignored.", e);
|
|
53235
53255
|
}
|
|
53236
|
-
function
|
|
53256
|
+
function DCe(e, t) {
|
|
53237
53257
|
const n = e?.schemaUrl, r = t?.schemaUrl, i = n === void 0 || n === "", o = r === void 0 || r === "";
|
|
53238
53258
|
if (i)
|
|
53239
53259
|
return r;
|
|
@@ -53241,8 +53261,8 @@ function RCe(e, t) {
|
|
|
53241
53261
|
return n;
|
|
53242
53262
|
Ht.warn('Schema URL merge conflict: old resource has "%s", updating resource has "%s". Resulting resource will have undefined Schema URL.', n, r);
|
|
53243
53263
|
}
|
|
53244
|
-
const
|
|
53245
|
-
class
|
|
53264
|
+
const LCe = "exception";
|
|
53265
|
+
class NCe {
|
|
53246
53266
|
// Below properties are included to implement ReadableSpan for export
|
|
53247
53267
|
// purposes but are not intended to be written-to directly.
|
|
53248
53268
|
_spanContext;
|
|
@@ -53334,7 +53354,7 @@ class LCe {
|
|
|
53334
53354
|
Ht.error(`${this.name} ${this._spanContext.traceId}-${this._spanContext.spanId} - You can only call end() on a span once.`);
|
|
53335
53355
|
return;
|
|
53336
53356
|
}
|
|
53337
|
-
this._ended = !0, this.endTime = this._getTime(t), this._duration =
|
|
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);
|
|
53338
53358
|
}
|
|
53339
53359
|
_getTime(t) {
|
|
53340
53360
|
if (typeof t == "number" && t <= Dl.now())
|
|
@@ -53355,7 +53375,7 @@ class LCe {
|
|
|
53355
53375
|
}
|
|
53356
53376
|
recordException(t, n) {
|
|
53357
53377
|
const r = {};
|
|
53358
|
-
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[
|
|
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}`);
|
|
53359
53379
|
}
|
|
53360
53380
|
get duration() {
|
|
53361
53381
|
return this._duration;
|
|
@@ -53522,29 +53542,29 @@ function fW() {
|
|
|
53522
53542
|
function JI() {
|
|
53523
53543
|
return Ht.error(`OTEL_TRACES_SAMPLER_ARG is blank, defaulting to ${ZI}.`), ZI;
|
|
53524
53544
|
}
|
|
53525
|
-
const
|
|
53526
|
-
function
|
|
53545
|
+
const jCe = 128, $Ce = 1 / 0;
|
|
53546
|
+
function BCe(e) {
|
|
53527
53547
|
const t = {
|
|
53528
53548
|
sampler: fW()
|
|
53529
53549
|
}, n = lW(), r = Object.assign({}, n, t, e);
|
|
53530
53550
|
return r.generalLimits = Object.assign({}, n.generalLimits, e.generalLimits || {}), r.spanLimits = Object.assign({}, n.spanLimits, e.spanLimits || {}), r;
|
|
53531
53551
|
}
|
|
53532
|
-
function
|
|
53552
|
+
function zCe(e) {
|
|
53533
53553
|
const t = Object.assign({}, e.spanLimits);
|
|
53534
|
-
return t.attributeCountLimit = e.spanLimits?.attributeCountLimit ?? e.generalLimits?.attributeCountLimit ?? void 0 ?? void 0 ??
|
|
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 });
|
|
53535
53555
|
}
|
|
53536
|
-
const
|
|
53537
|
-
class
|
|
53556
|
+
const FCe = 8, WCe = 16;
|
|
53557
|
+
class UCe {
|
|
53538
53558
|
/**
|
|
53539
53559
|
* Returns a random 16-byte trace ID formatted/encoded as a 32 lowercase hex
|
|
53540
53560
|
* characters corresponding to 128 bits.
|
|
53541
53561
|
*/
|
|
53542
|
-
generateTraceId = QI(
|
|
53562
|
+
generateTraceId = QI(WCe);
|
|
53543
53563
|
/**
|
|
53544
53564
|
* Returns a random 8-byte span ID formatted/encoded as a 16 lowercase hex
|
|
53545
53565
|
* characters corresponding to 64 bits.
|
|
53546
53566
|
*/
|
|
53547
|
-
generateSpanId = QI(
|
|
53567
|
+
generateSpanId = QI(FCe);
|
|
53548
53568
|
}
|
|
53549
53569
|
const Av = Array(32);
|
|
53550
53570
|
function QI(e) {
|
|
@@ -53554,7 +53574,7 @@ function QI(e) {
|
|
|
53554
53574
|
return String.fromCharCode.apply(null, Av.slice(0, e * 2));
|
|
53555
53575
|
};
|
|
53556
53576
|
}
|
|
53557
|
-
class
|
|
53577
|
+
class HCe {
|
|
53558
53578
|
_sampler;
|
|
53559
53579
|
_generalLimits;
|
|
53560
53580
|
_spanLimits;
|
|
@@ -53566,8 +53586,8 @@ class UCe {
|
|
|
53566
53586
|
* Constructs a new Tracer instance.
|
|
53567
53587
|
*/
|
|
53568
53588
|
constructor(t, n, r, i) {
|
|
53569
|
-
const o =
|
|
53570
|
-
this._sampler = o.sampler, this._generalLimits = o.generalLimits, this._spanLimits = o.spanLimits, this._idGenerator = n.idGenerator || new
|
|
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;
|
|
53571
53591
|
}
|
|
53572
53592
|
/**
|
|
53573
53593
|
* Starts a new Span or returns the default NoopSpan based on the sampling
|
|
@@ -53590,7 +53610,7 @@ class UCe {
|
|
|
53590
53610
|
if (p.decision === Lm.NOT_RECORD)
|
|
53591
53611
|
return Ht.debug("Recording is off, propagating context in a non-recording span"), oi.wrapSpanContext(m);
|
|
53592
53612
|
const v = Zv(Object.assign(h, p.attributes));
|
|
53593
|
-
return new
|
|
53613
|
+
return new NCe({
|
|
53594
53614
|
resource: this._resource,
|
|
53595
53615
|
scope: this.instrumentationScope,
|
|
53596
53616
|
context: r,
|
|
@@ -53622,7 +53642,7 @@ class UCe {
|
|
|
53622
53642
|
return this._spanLimits;
|
|
53623
53643
|
}
|
|
53624
53644
|
}
|
|
53625
|
-
class
|
|
53645
|
+
class VCe {
|
|
53626
53646
|
_spanProcessors;
|
|
53627
53647
|
constructor(t) {
|
|
53628
53648
|
this._spanProcessors = t;
|
|
@@ -53662,22 +53682,22 @@ var zu;
|
|
|
53662
53682
|
(function(e) {
|
|
53663
53683
|
e[e.resolved = 0] = "resolved", e[e.timeout = 1] = "timeout", e[e.error = 2] = "error", e[e.unresolved = 3] = "unresolved";
|
|
53664
53684
|
})(zu || (zu = {}));
|
|
53665
|
-
class
|
|
53685
|
+
class GCe {
|
|
53666
53686
|
_config;
|
|
53667
53687
|
_tracers = /* @__PURE__ */ new Map();
|
|
53668
53688
|
_resource;
|
|
53669
53689
|
_activeSpanProcessor;
|
|
53670
53690
|
constructor(t = {}) {
|
|
53671
|
-
const n = iW({}, lW(),
|
|
53691
|
+
const n = iW({}, lW(), zCe(t));
|
|
53672
53692
|
this._resource = n.resource ?? cW(), this._config = Object.assign({}, n, {
|
|
53673
53693
|
resource: this._resource
|
|
53674
53694
|
});
|
|
53675
53695
|
const r = [];
|
|
53676
|
-
t.spanProcessors?.length && r.push(...t.spanProcessors), this._activeSpanProcessor = new
|
|
53696
|
+
t.spanProcessors?.length && r.push(...t.spanProcessors), this._activeSpanProcessor = new VCe(r);
|
|
53677
53697
|
}
|
|
53678
53698
|
getTracer(t, n, r) {
|
|
53679
53699
|
const i = `${t}@${n || ""}:${r?.schemaUrl || ""}`;
|
|
53680
|
-
return this._tracers.has(i) || this._tracers.set(i, new
|
|
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);
|
|
53681
53701
|
}
|
|
53682
53702
|
forceFlush() {
|
|
53683
53703
|
const t = this._config.forceFlushTimeoutMillis, n = this._activeSpanProcessor._spanProcessors.map((r) => new Promise((i) => {
|
|
@@ -53702,7 +53722,7 @@ class VCe {
|
|
|
53702
53722
|
return this._activeSpanProcessor.shutdown();
|
|
53703
53723
|
}
|
|
53704
53724
|
}
|
|
53705
|
-
class
|
|
53725
|
+
class qCe {
|
|
53706
53726
|
/**
|
|
53707
53727
|
* Export spans.
|
|
53708
53728
|
* @param spans
|
|
@@ -53790,7 +53810,7 @@ class eM {
|
|
|
53790
53810
|
return this._exporter.shutdown();
|
|
53791
53811
|
}
|
|
53792
53812
|
}
|
|
53793
|
-
class
|
|
53813
|
+
class KCe {
|
|
53794
53814
|
/**
|
|
53795
53815
|
* whether the context manager is enabled or not
|
|
53796
53816
|
*/
|
|
@@ -53861,23 +53881,23 @@ class qCe {
|
|
|
53861
53881
|
}
|
|
53862
53882
|
}
|
|
53863
53883
|
}
|
|
53864
|
-
function
|
|
53884
|
+
function YCe(e) {
|
|
53865
53885
|
if (e !== null) {
|
|
53866
53886
|
if (e === void 0) {
|
|
53867
|
-
const t = new
|
|
53887
|
+
const t = new KCe();
|
|
53868
53888
|
t.enable(), jr.setGlobalContextManager(t);
|
|
53869
53889
|
return;
|
|
53870
53890
|
}
|
|
53871
53891
|
e.enable(), jr.setGlobalContextManager(e);
|
|
53872
53892
|
}
|
|
53873
53893
|
}
|
|
53874
|
-
function
|
|
53894
|
+
function XCe(e) {
|
|
53875
53895
|
if (e !== null) {
|
|
53876
53896
|
if (e === void 0) {
|
|
53877
|
-
ya.setGlobalPropagator(new
|
|
53897
|
+
ya.setGlobalPropagator(new eCe({
|
|
53878
53898
|
propagators: [
|
|
53879
|
-
new
|
|
53880
|
-
new
|
|
53899
|
+
new vCe(),
|
|
53900
|
+
new M4e()
|
|
53881
53901
|
]
|
|
53882
53902
|
}));
|
|
53883
53903
|
return;
|
|
@@ -53885,7 +53905,7 @@ function YCe(e) {
|
|
|
53885
53905
|
ya.setGlobalPropagator(e);
|
|
53886
53906
|
}
|
|
53887
53907
|
}
|
|
53888
|
-
class
|
|
53908
|
+
class ZCe extends GCe {
|
|
53889
53909
|
/**
|
|
53890
53910
|
* Constructs a new Tracer instance.
|
|
53891
53911
|
* @param config Web Tracer config
|
|
@@ -53901,10 +53921,10 @@ class XCe extends VCe {
|
|
|
53901
53921
|
* @param config Configuration object for SDK registration
|
|
53902
53922
|
*/
|
|
53903
53923
|
register(t = {}) {
|
|
53904
|
-
oi.setGlobalTracerProvider(this),
|
|
53924
|
+
oi.setGlobalTracerProvider(this), XCe(t.propagator), YCe(t.contextManager);
|
|
53905
53925
|
}
|
|
53906
53926
|
}
|
|
53907
|
-
let
|
|
53927
|
+
let JCe = class {
|
|
53908
53928
|
_delegate;
|
|
53909
53929
|
constructor(t) {
|
|
53910
53930
|
this._delegate = t;
|
|
@@ -53931,30 +53951,30 @@ let ZCe = class {
|
|
|
53931
53951
|
super(t), this.data = r, this.code = n;
|
|
53932
53952
|
}
|
|
53933
53953
|
};
|
|
53934
|
-
function
|
|
53954
|
+
function QCe(e) {
|
|
53935
53955
|
if (Number.isFinite(e) && e > 0)
|
|
53936
53956
|
return e;
|
|
53937
53957
|
throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`);
|
|
53938
53958
|
}
|
|
53939
|
-
function
|
|
53959
|
+
function e7e(e) {
|
|
53940
53960
|
if (e != null)
|
|
53941
53961
|
return () => e;
|
|
53942
53962
|
}
|
|
53943
|
-
function
|
|
53963
|
+
function t7e(e, t, n) {
|
|
53944
53964
|
return {
|
|
53945
|
-
timeoutMillis:
|
|
53965
|
+
timeoutMillis: QCe(e.timeoutMillis ?? t.timeoutMillis ?? n.timeoutMillis),
|
|
53946
53966
|
concurrencyLimit: e.concurrencyLimit ?? t.concurrencyLimit ?? n.concurrencyLimit,
|
|
53947
53967
|
compression: e.compression ?? t.compression ?? n.compression
|
|
53948
53968
|
};
|
|
53949
53969
|
}
|
|
53950
|
-
function
|
|
53970
|
+
function n7e() {
|
|
53951
53971
|
return {
|
|
53952
53972
|
timeoutMillis: 1e4,
|
|
53953
53973
|
concurrencyLimit: 30,
|
|
53954
53974
|
compression: "none"
|
|
53955
53975
|
};
|
|
53956
53976
|
}
|
|
53957
|
-
let
|
|
53977
|
+
let r7e = class {
|
|
53958
53978
|
_concurrencyLimit;
|
|
53959
53979
|
_sendingPromises = [];
|
|
53960
53980
|
/**
|
|
@@ -53980,28 +54000,28 @@ let n7e = class {
|
|
|
53980
54000
|
await Promise.all(this._sendingPromises);
|
|
53981
54001
|
}
|
|
53982
54002
|
};
|
|
53983
|
-
function
|
|
53984
|
-
return new
|
|
54003
|
+
function i7e(e) {
|
|
54004
|
+
return new r7e(e.concurrencyLimit);
|
|
53985
54005
|
}
|
|
53986
|
-
const
|
|
53987
|
-
function
|
|
53988
|
-
return e[0] *
|
|
54006
|
+
const o7e = 9, a7e = Math.pow(10, o7e);
|
|
54007
|
+
function s7e(e) {
|
|
54008
|
+
return e[0] * a7e + e[1];
|
|
53989
54009
|
}
|
|
53990
54010
|
var is;
|
|
53991
54011
|
(function(e) {
|
|
53992
54012
|
e[e.SUCCESS = 0] = "SUCCESS", e[e.FAILED = 1] = "FAILED";
|
|
53993
54013
|
})(is || (is = {}));
|
|
53994
|
-
function
|
|
54014
|
+
function u7e(e) {
|
|
53995
54015
|
return Object.prototype.hasOwnProperty.call(e, "partialSuccess");
|
|
53996
54016
|
}
|
|
53997
|
-
function
|
|
54017
|
+
function c7e() {
|
|
53998
54018
|
return {
|
|
53999
54019
|
handleResponse(e) {
|
|
54000
|
-
e == null || !
|
|
54020
|
+
e == null || !u7e(e) || e.partialSuccess == null || Object.keys(e.partialSuccess).length === 0 || Ht.warn("Received Partial Success response:", JSON.stringify(e.partialSuccess));
|
|
54001
54021
|
}
|
|
54002
54022
|
};
|
|
54003
54023
|
}
|
|
54004
|
-
let
|
|
54024
|
+
let l7e = class {
|
|
54005
54025
|
_transport;
|
|
54006
54026
|
_serializer;
|
|
54007
54027
|
_responseHandler;
|
|
@@ -54066,14 +54086,14 @@ let c7e = class {
|
|
|
54066
54086
|
this._diagLogger.debug("shutdown started"), await this.forceFlush(), this._transport.shutdown();
|
|
54067
54087
|
}
|
|
54068
54088
|
};
|
|
54069
|
-
function
|
|
54070
|
-
return new
|
|
54089
|
+
function f7e(e, t) {
|
|
54090
|
+
return new l7e(e.transport, e.serializer, c7e(), e.promiseHandler, t.timeout);
|
|
54071
54091
|
}
|
|
54072
54092
|
function q3(e, t, n) {
|
|
54073
|
-
return
|
|
54093
|
+
return f7e({
|
|
54074
54094
|
transport: n,
|
|
54075
54095
|
serializer: t,
|
|
54076
|
-
promiseHandler:
|
|
54096
|
+
promiseHandler: i7e(e)
|
|
54077
54097
|
}, { timeout: e.timeoutMillis });
|
|
54078
54098
|
}
|
|
54079
54099
|
function nM(e) {
|
|
@@ -54092,45 +54112,45 @@ function hW(e) {
|
|
|
54092
54112
|
const t = BigInt(1e9);
|
|
54093
54113
|
return BigInt(e[0]) * t + BigInt(e[1]);
|
|
54094
54114
|
}
|
|
54095
|
-
function
|
|
54115
|
+
function d7e(e) {
|
|
54096
54116
|
const t = Number(BigInt.asUintN(32, e)), n = Number(BigInt.asUintN(32, e >> BigInt(32)));
|
|
54097
54117
|
return { low: t, high: n };
|
|
54098
54118
|
}
|
|
54099
|
-
function
|
|
54119
|
+
function h7e(e) {
|
|
54100
54120
|
const t = hW(e);
|
|
54101
|
-
return
|
|
54121
|
+
return d7e(t);
|
|
54102
54122
|
}
|
|
54103
|
-
function
|
|
54123
|
+
function p7e(e) {
|
|
54104
54124
|
return hW(e).toString();
|
|
54105
54125
|
}
|
|
54106
|
-
const
|
|
54126
|
+
const g7e = typeof BigInt < "u" ? p7e : s7e;
|
|
54107
54127
|
function rM(e) {
|
|
54108
54128
|
return e;
|
|
54109
54129
|
}
|
|
54110
|
-
function
|
|
54130
|
+
function v7e(e) {
|
|
54111
54131
|
if (e !== void 0)
|
|
54112
54132
|
return dW(e);
|
|
54113
54133
|
}
|
|
54114
|
-
const
|
|
54115
|
-
encodeHrTime:
|
|
54134
|
+
const m7e = {
|
|
54135
|
+
encodeHrTime: h7e,
|
|
54116
54136
|
encodeSpanContext: dW,
|
|
54117
|
-
encodeOptionalSpanContext:
|
|
54137
|
+
encodeOptionalSpanContext: v7e
|
|
54118
54138
|
};
|
|
54119
|
-
function
|
|
54120
|
-
return e === void 0 ?
|
|
54121
|
-
encodeHrTime:
|
|
54139
|
+
function y7e(e) {
|
|
54140
|
+
return e === void 0 ? m7e : {
|
|
54141
|
+
encodeHrTime: g7e,
|
|
54122
54142
|
encodeSpanContext: rM,
|
|
54123
54143
|
encodeOptionalSpanContext: rM
|
|
54124
54144
|
};
|
|
54125
54145
|
}
|
|
54126
|
-
function
|
|
54146
|
+
function b7e(e) {
|
|
54127
54147
|
const t = {
|
|
54128
54148
|
attributes: W1(e.attributes),
|
|
54129
54149
|
droppedAttributesCount: 0
|
|
54130
54150
|
}, n = e.schemaUrl;
|
|
54131
54151
|
return n && n !== "" && (t.schemaUrl = n), t;
|
|
54132
54152
|
}
|
|
54133
|
-
function
|
|
54153
|
+
function w7e(e) {
|
|
54134
54154
|
return {
|
|
54135
54155
|
name: e.name,
|
|
54136
54156
|
version: e.version
|
|
@@ -54153,7 +54173,7 @@ function gW(e) {
|
|
|
54153
54173
|
}
|
|
54154
54174
|
} : {};
|
|
54155
54175
|
}
|
|
54156
|
-
function
|
|
54176
|
+
function _7e(e, t) {
|
|
54157
54177
|
const n = e.spanContext(), r = e.status, i = e.parentSpanContext?.spanId ? t.encodeSpanContext(e.parentSpanContext?.spanId) : void 0;
|
|
54158
54178
|
return {
|
|
54159
54179
|
traceId: t.encodeSpanContext(n.traceId),
|
|
@@ -54167,18 +54187,18 @@ function w7e(e, t) {
|
|
|
54167
54187
|
endTimeUnixNano: t.encodeHrTime(e.endTime),
|
|
54168
54188
|
attributes: W1(e.attributes),
|
|
54169
54189
|
droppedAttributesCount: e.droppedAttributesCount,
|
|
54170
|
-
events: e.events.map((o) =>
|
|
54190
|
+
events: e.events.map((o) => E7e(o, t)),
|
|
54171
54191
|
droppedEventsCount: e.droppedEventsCount,
|
|
54172
54192
|
status: {
|
|
54173
54193
|
// API and proto enums share the same values
|
|
54174
54194
|
code: r.code,
|
|
54175
54195
|
message: r.message
|
|
54176
54196
|
},
|
|
54177
|
-
links: e.links.map((o) =>
|
|
54197
|
+
links: e.links.map((o) => x7e(o, t)),
|
|
54178
54198
|
droppedLinksCount: e.droppedLinksCount
|
|
54179
54199
|
};
|
|
54180
54200
|
}
|
|
54181
|
-
function
|
|
54201
|
+
function x7e(e, t) {
|
|
54182
54202
|
return {
|
|
54183
54203
|
attributes: e.attributes ? W1(e.attributes) : [],
|
|
54184
54204
|
spanId: t.encodeSpanContext(e.context.spanId),
|
|
@@ -54187,7 +54207,7 @@ function _7e(e, t) {
|
|
|
54187
54207
|
droppedAttributesCount: e.droppedAttributesCount || 0
|
|
54188
54208
|
};
|
|
54189
54209
|
}
|
|
54190
|
-
function
|
|
54210
|
+
function E7e(e, t) {
|
|
54191
54211
|
return {
|
|
54192
54212
|
attributes: e.attributes ? W1(e.attributes) : [],
|
|
54193
54213
|
name: e.name,
|
|
@@ -54195,13 +54215,13 @@ function x7e(e, t) {
|
|
|
54195
54215
|
droppedAttributesCount: e.droppedAttributesCount || 0
|
|
54196
54216
|
};
|
|
54197
54217
|
}
|
|
54198
|
-
function
|
|
54199
|
-
const n =
|
|
54218
|
+
function S7e(e, t) {
|
|
54219
|
+
const n = y7e(t);
|
|
54200
54220
|
return {
|
|
54201
|
-
resourceSpans:
|
|
54221
|
+
resourceSpans: A7e(e, n)
|
|
54202
54222
|
};
|
|
54203
54223
|
}
|
|
54204
|
-
function
|
|
54224
|
+
function O7e(e) {
|
|
54205
54225
|
const t = /* @__PURE__ */ new Map();
|
|
54206
54226
|
for (const n of e) {
|
|
54207
54227
|
let r = t.get(n.resource);
|
|
@@ -54212,8 +54232,8 @@ function S7e(e) {
|
|
|
54212
54232
|
}
|
|
54213
54233
|
return t;
|
|
54214
54234
|
}
|
|
54215
|
-
function
|
|
54216
|
-
const n =
|
|
54235
|
+
function A7e(e, t) {
|
|
54236
|
+
const n = O7e(e), r = [], i = n.entries();
|
|
54217
54237
|
let o = i.next();
|
|
54218
54238
|
for (; !o.done; ) {
|
|
54219
54239
|
const [a, s] = o.value, u = [], c = s.values();
|
|
@@ -54221,16 +54241,16 @@ function O7e(e, t) {
|
|
|
54221
54241
|
for (; !l.done; ) {
|
|
54222
54242
|
const p = l.value;
|
|
54223
54243
|
if (p.length > 0) {
|
|
54224
|
-
const y = p.map((m) =>
|
|
54244
|
+
const y = p.map((m) => _7e(m, t));
|
|
54225
54245
|
u.push({
|
|
54226
|
-
scope:
|
|
54246
|
+
scope: w7e(p[0].instrumentationScope),
|
|
54227
54247
|
spans: y,
|
|
54228
54248
|
schemaUrl: p[0].instrumentationScope.schemaUrl
|
|
54229
54249
|
});
|
|
54230
54250
|
}
|
|
54231
54251
|
l = c.next();
|
|
54232
54252
|
}
|
|
54233
|
-
const d =
|
|
54253
|
+
const d = b7e(a), h = {
|
|
54234
54254
|
resource: d,
|
|
54235
54255
|
scopeSpans: u,
|
|
54236
54256
|
schemaUrl: d.schemaUrl
|
|
@@ -54239,9 +54259,9 @@ function O7e(e, t) {
|
|
|
54239
54259
|
}
|
|
54240
54260
|
return r;
|
|
54241
54261
|
}
|
|
54242
|
-
const
|
|
54262
|
+
const P7e = {
|
|
54243
54263
|
serializeRequest: (e) => {
|
|
54244
|
-
const t =
|
|
54264
|
+
const t = S7e(e, {});
|
|
54245
54265
|
return new TextEncoder().encode(JSON.stringify(t));
|
|
54246
54266
|
},
|
|
54247
54267
|
deserializeResponse: (e) => {
|
|
@@ -54250,11 +54270,11 @@ const A7e = {
|
|
|
54250
54270
|
const t = new TextDecoder();
|
|
54251
54271
|
return JSON.parse(t.decode(e));
|
|
54252
54272
|
}
|
|
54253
|
-
},
|
|
54254
|
-
function
|
|
54273
|
+
}, T7e = 5, C7e = 1e3, I7e = 5e3, M7e = 1.5, iM = 0.2;
|
|
54274
|
+
function k7e() {
|
|
54255
54275
|
return Math.random() * (2 * iM) - iM;
|
|
54256
54276
|
}
|
|
54257
|
-
let
|
|
54277
|
+
let R7e = class {
|
|
54258
54278
|
_transport;
|
|
54259
54279
|
constructor(t) {
|
|
54260
54280
|
this._transport = t;
|
|
@@ -54268,11 +54288,11 @@ let k7e = class {
|
|
|
54268
54288
|
}
|
|
54269
54289
|
async send(t, n) {
|
|
54270
54290
|
const r = Date.now() + n;
|
|
54271
|
-
let i = await this._transport.send(t, n), o =
|
|
54291
|
+
let i = await this._transport.send(t, n), o = T7e, a = C7e;
|
|
54272
54292
|
for (; i.status === "retryable" && o > 0; ) {
|
|
54273
54293
|
o--;
|
|
54274
|
-
const s = Math.max(Math.min(a,
|
|
54275
|
-
a = a *
|
|
54294
|
+
const s = Math.max(Math.min(a, I7e) + k7e(), 0);
|
|
54295
|
+
a = a * M7e;
|
|
54276
54296
|
const u = i.retryInMillis ?? s, c = r - Date.now();
|
|
54277
54297
|
if (u > c)
|
|
54278
54298
|
return i;
|
|
@@ -54285,7 +54305,7 @@ let k7e = class {
|
|
|
54285
54305
|
}
|
|
54286
54306
|
};
|
|
54287
54307
|
function K3(e) {
|
|
54288
|
-
return new
|
|
54308
|
+
return new R7e(e.transport);
|
|
54289
54309
|
}
|
|
54290
54310
|
function vW(e) {
|
|
54291
54311
|
return [429, 502, 503, 504].includes(e);
|
|
@@ -54299,7 +54319,7 @@ function mW(e) {
|
|
|
54299
54319
|
const n = new Date(e).getTime() - Date.now();
|
|
54300
54320
|
return n >= 0 ? n : 0;
|
|
54301
54321
|
}
|
|
54302
|
-
let
|
|
54322
|
+
let D7e = class {
|
|
54303
54323
|
_parameters;
|
|
54304
54324
|
constructor(t) {
|
|
54305
54325
|
this._parameters = t;
|
|
@@ -54342,10 +54362,10 @@ let R7e = class {
|
|
|
54342
54362
|
shutdown() {
|
|
54343
54363
|
}
|
|
54344
54364
|
};
|
|
54345
|
-
function
|
|
54346
|
-
return new
|
|
54365
|
+
function L7e(e) {
|
|
54366
|
+
return new D7e(e);
|
|
54347
54367
|
}
|
|
54348
|
-
let
|
|
54368
|
+
let N7e = class {
|
|
54349
54369
|
_params;
|
|
54350
54370
|
constructor(t) {
|
|
54351
54371
|
this._params = t;
|
|
@@ -54363,10 +54383,10 @@ let L7e = class {
|
|
|
54363
54383
|
shutdown() {
|
|
54364
54384
|
}
|
|
54365
54385
|
};
|
|
54366
|
-
function
|
|
54367
|
-
return new
|
|
54386
|
+
function j7e(e) {
|
|
54387
|
+
return new N7e(e);
|
|
54368
54388
|
}
|
|
54369
|
-
let
|
|
54389
|
+
let $7e = class {
|
|
54370
54390
|
_parameters;
|
|
54371
54391
|
constructor(t) {
|
|
54372
54392
|
this._parameters = t;
|
|
@@ -54407,28 +54427,28 @@ let j7e = class {
|
|
|
54407
54427
|
shutdown() {
|
|
54408
54428
|
}
|
|
54409
54429
|
};
|
|
54410
|
-
function
|
|
54411
|
-
return new
|
|
54430
|
+
function B7e(e) {
|
|
54431
|
+
return new $7e(e);
|
|
54412
54432
|
}
|
|
54413
|
-
function
|
|
54433
|
+
function z7e(e, t) {
|
|
54414
54434
|
return q3(e, t, K3({
|
|
54415
|
-
transport:
|
|
54435
|
+
transport: L7e(e)
|
|
54416
54436
|
}));
|
|
54417
54437
|
}
|
|
54418
|
-
function
|
|
54438
|
+
function F7e(e, t) {
|
|
54419
54439
|
return q3(e, t, K3({
|
|
54420
|
-
transport:
|
|
54440
|
+
transport: B7e(e)
|
|
54421
54441
|
}));
|
|
54422
54442
|
}
|
|
54423
|
-
function
|
|
54443
|
+
function W7e(e, t) {
|
|
54424
54444
|
return q3(e, t, K3({
|
|
54425
|
-
transport:
|
|
54445
|
+
transport: j7e({
|
|
54426
54446
|
url: e.url,
|
|
54427
54447
|
blobType: e.headers()["Content-Type"]
|
|
54428
54448
|
})
|
|
54429
54449
|
}));
|
|
54430
54450
|
}
|
|
54431
|
-
function
|
|
54451
|
+
function U7e(e) {
|
|
54432
54452
|
return () => {
|
|
54433
54453
|
const t = {};
|
|
54434
54454
|
return Object.entries(e?.() ?? {}).forEach(([n, r]) => {
|
|
@@ -54436,13 +54456,13 @@ function W7e(e) {
|
|
|
54436
54456
|
}), t;
|
|
54437
54457
|
};
|
|
54438
54458
|
}
|
|
54439
|
-
function
|
|
54459
|
+
function H7e(e, t, n) {
|
|
54440
54460
|
const r = {
|
|
54441
54461
|
...n()
|
|
54442
54462
|
}, i = {};
|
|
54443
54463
|
return () => (t != null && Object.assign(i, t()), e != null && Object.assign(i, e()), Object.assign(i, r));
|
|
54444
54464
|
}
|
|
54445
|
-
function
|
|
54465
|
+
function V7e(e) {
|
|
54446
54466
|
if (e != null)
|
|
54447
54467
|
try {
|
|
54448
54468
|
const t = globalThis.location?.href;
|
|
@@ -54451,65 +54471,65 @@ function H7e(e) {
|
|
|
54451
54471
|
throw new Error(`Configuration: Could not parse user-provided export URL: '${e}'`);
|
|
54452
54472
|
}
|
|
54453
54473
|
}
|
|
54454
|
-
function
|
|
54474
|
+
function G7e(e) {
|
|
54455
54475
|
return async (t) => {
|
|
54456
54476
|
const n = t === "http:" ? Promise.resolve().then(() => NI) : Promise.resolve().then(() => NI), { Agent: r } = await n;
|
|
54457
54477
|
return new r(e);
|
|
54458
54478
|
};
|
|
54459
54479
|
}
|
|
54460
|
-
function
|
|
54480
|
+
function q7e(e, t, n) {
|
|
54461
54481
|
return {
|
|
54462
|
-
...
|
|
54463
|
-
headers: U7e(
|
|
54464
|
-
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,
|
|
54465
54485
|
agentFactory: e.agentFactory ?? t.agentFactory ?? n.agentFactory
|
|
54466
54486
|
};
|
|
54467
54487
|
}
|
|
54468
|
-
function
|
|
54488
|
+
function K7e(e, t) {
|
|
54469
54489
|
return {
|
|
54470
|
-
...
|
|
54490
|
+
...n7e(),
|
|
54471
54491
|
headers: () => e,
|
|
54472
54492
|
url: "http://localhost:4318/" + t,
|
|
54473
|
-
agentFactory:
|
|
54493
|
+
agentFactory: G7e({ keepAlive: !0 })
|
|
54474
54494
|
};
|
|
54475
54495
|
}
|
|
54476
|
-
function
|
|
54477
|
-
return
|
|
54496
|
+
function Y7e(e, t, n) {
|
|
54497
|
+
return q7e(
|
|
54478
54498
|
{
|
|
54479
54499
|
url: e.url,
|
|
54480
54500
|
timeoutMillis: e.timeoutMillis,
|
|
54481
|
-
headers:
|
|
54501
|
+
headers: e7e(e.headers),
|
|
54482
54502
|
concurrencyLimit: e.concurrencyLimit
|
|
54483
54503
|
},
|
|
54484
54504
|
{},
|
|
54485
54505
|
// no fallback for browser case
|
|
54486
|
-
|
|
54506
|
+
K7e(n, t)
|
|
54487
54507
|
);
|
|
54488
54508
|
}
|
|
54489
|
-
function
|
|
54490
|
-
const i =
|
|
54509
|
+
function X7e(e, t, n, r) {
|
|
54510
|
+
const i = Z7e(e.headers), o = Y7e(e, n, r);
|
|
54491
54511
|
return i(o, t);
|
|
54492
54512
|
}
|
|
54493
|
-
function
|
|
54494
|
-
return !e && typeof navigator.sendBeacon == "function" ?
|
|
54513
|
+
function Z7e(e) {
|
|
54514
|
+
return !e && typeof navigator.sendBeacon == "function" ? W7e : typeof globalThis.fetch < "u" ? F7e : z7e;
|
|
54495
54515
|
}
|
|
54496
|
-
class
|
|
54516
|
+
class J7e extends JCe {
|
|
54497
54517
|
constructor(t = {}) {
|
|
54498
|
-
super(
|
|
54518
|
+
super(X7e(t, P7e, "v1/traces", { "Content-Type": "application/json" }));
|
|
54499
54519
|
}
|
|
54500
54520
|
}
|
|
54501
54521
|
let yW = class {
|
|
54502
54522
|
emit(t) {
|
|
54503
54523
|
}
|
|
54504
54524
|
};
|
|
54505
|
-
const
|
|
54506
|
-
let
|
|
54525
|
+
const Q7e = new yW();
|
|
54526
|
+
let e8e = class {
|
|
54507
54527
|
getLogger(t, n, r) {
|
|
54508
54528
|
return new yW();
|
|
54509
54529
|
}
|
|
54510
54530
|
};
|
|
54511
|
-
const bW = new
|
|
54512
|
-
let
|
|
54531
|
+
const bW = new e8e();
|
|
54532
|
+
let t8e = class {
|
|
54513
54533
|
constructor(t, n, r, i) {
|
|
54514
54534
|
this._provider = t, this.name = n, this.version = r, this.options = i;
|
|
54515
54535
|
}
|
|
@@ -54529,12 +54549,12 @@ let e8e = class {
|
|
|
54529
54549
|
if (this._delegate)
|
|
54530
54550
|
return this._delegate;
|
|
54531
54551
|
const t = this._provider._getDelegateLogger(this.name, this.version, this.options);
|
|
54532
|
-
return t ? (this._delegate = t, this._delegate) :
|
|
54552
|
+
return t ? (this._delegate = t, this._delegate) : Q7e;
|
|
54533
54553
|
}
|
|
54534
54554
|
}, oM = class {
|
|
54535
54555
|
getLogger(t, n, r) {
|
|
54536
54556
|
var i;
|
|
54537
|
-
return (i = this._getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new
|
|
54557
|
+
return (i = this._getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new t8e(this, t, n, r);
|
|
54538
54558
|
}
|
|
54539
54559
|
/**
|
|
54540
54560
|
* Get the delegate logger provider.
|
|
@@ -54560,12 +54580,12 @@ let e8e = class {
|
|
|
54560
54580
|
return (i = this._delegate) === null || i === void 0 ? void 0 : i.getLogger(t, n, r);
|
|
54561
54581
|
}
|
|
54562
54582
|
};
|
|
54563
|
-
const
|
|
54564
|
-
function
|
|
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) {
|
|
54565
54585
|
return (r) => r === e ? t : n;
|
|
54566
54586
|
}
|
|
54567
54587
|
const aM = 1;
|
|
54568
|
-
let
|
|
54588
|
+
let i8e = class wW {
|
|
54569
54589
|
constructor() {
|
|
54570
54590
|
this._proxyLoggerProvider = new oM();
|
|
54571
54591
|
}
|
|
@@ -54573,7 +54593,7 @@ let r8e = class wW {
|
|
|
54573
54593
|
return this._instance || (this._instance = new wW()), this._instance;
|
|
54574
54594
|
}
|
|
54575
54595
|
setGlobalLoggerProvider(t) {
|
|
54576
|
-
return _d[Pv] ? this.getLoggerProvider() : (_d[Pv] =
|
|
54596
|
+
return _d[Pv] ? this.getLoggerProvider() : (_d[Pv] = r8e(aM, t, bW), this._proxyLoggerProvider._setDelegate(t), t);
|
|
54577
54597
|
}
|
|
54578
54598
|
/**
|
|
54579
54599
|
* Returns the global logger provider.
|
|
@@ -54597,20 +54617,20 @@ let r8e = class wW {
|
|
|
54597
54617
|
delete _d[Pv], this._proxyLoggerProvider = new oM();
|
|
54598
54618
|
}
|
|
54599
54619
|
};
|
|
54600
|
-
const _W =
|
|
54601
|
-
function
|
|
54620
|
+
const _W = i8e.getInstance();
|
|
54621
|
+
function o8e(e, t, n, r) {
|
|
54602
54622
|
for (let i = 0, o = e.length; i < o; i++) {
|
|
54603
54623
|
const a = e[i];
|
|
54604
54624
|
t && a.setTracerProvider(t), n && a.setMeterProvider(n), r && a.setLoggerProvider && a.setLoggerProvider(r), a.getConfig().enabled || a.enable();
|
|
54605
54625
|
}
|
|
54606
54626
|
}
|
|
54607
|
-
function
|
|
54627
|
+
function a8e(e) {
|
|
54608
54628
|
e.forEach((t) => t.disable());
|
|
54609
54629
|
}
|
|
54610
|
-
function
|
|
54630
|
+
function s8e(e) {
|
|
54611
54631
|
const t = e.tracerProvider || oi.getTracerProvider(), n = e.meterProvider || jF.getMeterProvider(), r = e.loggerProvider || _W.getLoggerProvider(), i = e.instrumentations?.flat() ?? [];
|
|
54612
|
-
return
|
|
54613
|
-
|
|
54632
|
+
return o8e(i, t, n, r), () => {
|
|
54633
|
+
a8e(i);
|
|
54614
54634
|
};
|
|
54615
54635
|
}
|
|
54616
54636
|
let ho = console.error.bind(console);
|
|
@@ -54641,7 +54661,7 @@ const xW = (e, t, n) => {
|
|
|
54641
54661
|
return xd(i, "__original", r), xd(i, "__unwrap", () => {
|
|
54642
54662
|
e[t] === i && xd(e, t, r);
|
|
54643
54663
|
}), xd(i, "__wrapped", !0), xd(e, t, i), i;
|
|
54644
|
-
},
|
|
54664
|
+
}, u8e = (e, t, n) => {
|
|
54645
54665
|
if (e)
|
|
54646
54666
|
Array.isArray(e) || (e = [e]);
|
|
54647
54667
|
else {
|
|
@@ -54669,7 +54689,7 @@ const xW = (e, t, n) => {
|
|
|
54669
54689
|
n.__unwrap();
|
|
54670
54690
|
return;
|
|
54671
54691
|
}
|
|
54672
|
-
},
|
|
54692
|
+
}, c8e = (e, t) => {
|
|
54673
54693
|
if (e)
|
|
54674
54694
|
Array.isArray(e) || (e = [e]);
|
|
54675
54695
|
else {
|
|
@@ -54686,7 +54706,7 @@ const xW = (e, t, n) => {
|
|
|
54686
54706
|
});
|
|
54687
54707
|
});
|
|
54688
54708
|
};
|
|
54689
|
-
class
|
|
54709
|
+
class l8e {
|
|
54690
54710
|
instrumentationName;
|
|
54691
54711
|
instrumentationVersion;
|
|
54692
54712
|
_config = {};
|
|
@@ -54704,9 +54724,9 @@ class c8e {
|
|
|
54704
54724
|
/* Api to unwrap instrumented methods */
|
|
54705
54725
|
_unwrap = EW;
|
|
54706
54726
|
/* Api to mass wrap instrumented method */
|
|
54707
|
-
_massWrap =
|
|
54727
|
+
_massWrap = u8e;
|
|
54708
54728
|
/* Api to mass unwrap instrumented methods */
|
|
54709
|
-
_massUnwrap =
|
|
54729
|
+
_massUnwrap = c8e;
|
|
54710
54730
|
/* Returns meter */
|
|
54711
54731
|
get meter() {
|
|
54712
54732
|
return this._meter;
|
|
@@ -54788,7 +54808,7 @@ class c8e {
|
|
|
54788
54808
|
}
|
|
54789
54809
|
}
|
|
54790
54810
|
}
|
|
54791
|
-
class
|
|
54811
|
+
class f8e extends l8e {
|
|
54792
54812
|
constructor(t, n, r) {
|
|
54793
54813
|
super(t, n, r), this._config.enabled && this.enable();
|
|
54794
54814
|
}
|
|
@@ -54803,14 +54823,14 @@ function sM(e, t, n) {
|
|
|
54803
54823
|
return t(r, i), i;
|
|
54804
54824
|
}
|
|
54805
54825
|
}
|
|
54806
|
-
function
|
|
54826
|
+
function d8e(e) {
|
|
54807
54827
|
return typeof e == "function" && typeof e.__original == "function" && typeof e.__unwrap == "function" && e.__wrapped === !0;
|
|
54808
54828
|
}
|
|
54809
54829
|
var $i;
|
|
54810
54830
|
(function(e) {
|
|
54811
54831
|
e[e.STABLE = 1] = "STABLE", e[e.OLD = 2] = "OLD", e[e.DUPLICATE = 3] = "DUPLICATE";
|
|
54812
54832
|
})($i || ($i = {}));
|
|
54813
|
-
function
|
|
54833
|
+
function h8e(e, t) {
|
|
54814
54834
|
let n = $i.OLD;
|
|
54815
54835
|
const r = t?.split(",").map((i) => i.trim()).filter((i) => i !== "");
|
|
54816
54836
|
for (const i of r ?? [])
|
|
@@ -54820,9 +54840,9 @@ function d8e(e, t) {
|
|
|
54820
54840
|
} else i.toLowerCase() === e && (n = $i.STABLE);
|
|
54821
54841
|
return n;
|
|
54822
54842
|
}
|
|
54823
|
-
const z2 = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, ZE = performance,
|
|
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);
|
|
54824
54844
|
function Uh(e) {
|
|
54825
|
-
const t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 *
|
|
54845
|
+
const t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 * v8e);
|
|
54826
54846
|
return [n, r];
|
|
54827
54847
|
}
|
|
54828
54848
|
function SW() {
|
|
@@ -54835,10 +54855,10 @@ function SW() {
|
|
|
54835
54855
|
}
|
|
54836
54856
|
function QE(e) {
|
|
54837
54857
|
const t = Uh(SW()), n = Uh(typeof e == "number" ? e : ZE.now());
|
|
54838
|
-
return
|
|
54858
|
+
return y8e(t, n);
|
|
54839
54859
|
}
|
|
54840
54860
|
function nh(e) {
|
|
54841
|
-
if (
|
|
54861
|
+
if (m8e(e))
|
|
54842
54862
|
return e;
|
|
54843
54863
|
if (typeof e == "number")
|
|
54844
54864
|
return e < SW() ? QE(e) : Uh(e);
|
|
@@ -54849,17 +54869,17 @@ function nh(e) {
|
|
|
54849
54869
|
function tu(e) {
|
|
54850
54870
|
return e[0] * JE + e[1];
|
|
54851
54871
|
}
|
|
54852
|
-
function
|
|
54872
|
+
function m8e(e) {
|
|
54853
54873
|
return Array.isArray(e) && e.length === 2 && typeof e[0] == "number" && typeof e[1] == "number";
|
|
54854
54874
|
}
|
|
54855
|
-
function
|
|
54875
|
+
function y8e(e, t) {
|
|
54856
54876
|
const n = [e[0] + t[0], e[1] + t[1]];
|
|
54857
54877
|
return n[1] >= JE && (n[1] -= JE, n[0] += 1), n;
|
|
54858
54878
|
}
|
|
54859
54879
|
function OW(e, t) {
|
|
54860
54880
|
return typeof t == "string" ? e === t : !!e.match(t);
|
|
54861
54881
|
}
|
|
54862
|
-
function
|
|
54882
|
+
function b8e(e, t) {
|
|
54863
54883
|
if (!t)
|
|
54864
54884
|
return !1;
|
|
54865
54885
|
for (const n of t)
|
|
@@ -54871,27 +54891,27 @@ var Wn;
|
|
|
54871
54891
|
(function(e) {
|
|
54872
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";
|
|
54873
54893
|
})(Wn || (Wn = {}));
|
|
54874
|
-
const
|
|
54894
|
+
const w8e = "http.response_content_length", _8e = "http.response_content_length_uncompressed";
|
|
54875
54895
|
let F2;
|
|
54876
|
-
function
|
|
54896
|
+
function x8e() {
|
|
54877
54897
|
return F2 || (F2 = document.createElement("a")), F2;
|
|
54878
54898
|
}
|
|
54879
|
-
function
|
|
54899
|
+
function E8e(e, t) {
|
|
54880
54900
|
return t in e;
|
|
54881
54901
|
}
|
|
54882
54902
|
function ns(e, t, n, r = !0) {
|
|
54883
|
-
if (
|
|
54903
|
+
if (E8e(n, t) && typeof n[t] == "number" && !(r && n[t] === 0))
|
|
54884
54904
|
return e.addEvent(t, n[t]);
|
|
54885
54905
|
}
|
|
54886
54906
|
function uM(e, t, n = !1, r, i) {
|
|
54887
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) {
|
|
54888
54908
|
const o = t[Wn.ENCODED_BODY_SIZE];
|
|
54889
|
-
o !== void 0 && e.setAttribute(
|
|
54909
|
+
o !== void 0 && e.setAttribute(w8e, o);
|
|
54890
54910
|
const a = t[Wn.DECODED_BODY_SIZE];
|
|
54891
|
-
a !== void 0 && o !== a && e.setAttribute(
|
|
54911
|
+
a !== void 0 && o !== a && e.setAttribute(_8e, a);
|
|
54892
54912
|
}
|
|
54893
54913
|
}
|
|
54894
|
-
function
|
|
54914
|
+
function S8e(e) {
|
|
54895
54915
|
return e.slice().sort((t, n) => {
|
|
54896
54916
|
const r = t[Wn.FETCH_START], i = n[Wn.FETCH_START];
|
|
54897
54917
|
return r > i ? 1 : r < i ? -1 : 0;
|
|
@@ -54900,10 +54920,10 @@ function E8e(e) {
|
|
|
54900
54920
|
function AW() {
|
|
54901
54921
|
return typeof location < "u" ? location.origin : void 0;
|
|
54902
54922
|
}
|
|
54903
|
-
function
|
|
54923
|
+
function O8e(e, t, n, r, i = /* @__PURE__ */ new WeakSet(), o) {
|
|
54904
54924
|
const a = Gm(e);
|
|
54905
54925
|
e = a.toString();
|
|
54906
|
-
const s =
|
|
54926
|
+
const s = P8e(e, t, n, r, i, o);
|
|
54907
54927
|
if (s.length === 0)
|
|
54908
54928
|
return {
|
|
54909
54929
|
mainRequest: void 0
|
|
@@ -54912,9 +54932,9 @@ function S8e(e, t, n, r, i = /* @__PURE__ */ new WeakSet(), o) {
|
|
|
54912
54932
|
return {
|
|
54913
54933
|
mainRequest: s[0]
|
|
54914
54934
|
};
|
|
54915
|
-
const u =
|
|
54935
|
+
const u = S8e(s);
|
|
54916
54936
|
if (a.origin !== AW() && u.length > 1) {
|
|
54917
|
-
let c = u[0], l =
|
|
54937
|
+
let c = u[0], l = A8e(u, c[Wn.RESPONSE_END], n);
|
|
54918
54938
|
const d = c[Wn.RESPONSE_END];
|
|
54919
54939
|
return l[Wn.FETCH_START] < d && (l = c, c = void 0), {
|
|
54920
54940
|
corsPreFlightRequest: c,
|
|
@@ -54925,7 +54945,7 @@ function S8e(e, t, n, r, i = /* @__PURE__ */ new WeakSet(), o) {
|
|
|
54925
54945
|
mainRequest: s[0]
|
|
54926
54946
|
};
|
|
54927
54947
|
}
|
|
54928
|
-
function
|
|
54948
|
+
function A8e(e, t, n) {
|
|
54929
54949
|
const r = tu(n), i = tu(nh(t));
|
|
54930
54950
|
let o = e[1], a;
|
|
54931
54951
|
const s = e.length;
|
|
@@ -54935,7 +54955,7 @@ function O8e(e, t, n) {
|
|
|
54935
54955
|
}
|
|
54936
54956
|
return o;
|
|
54937
54957
|
}
|
|
54938
|
-
function
|
|
54958
|
+
function P8e(e, t, n, r, i, o) {
|
|
54939
54959
|
const a = tu(t), s = tu(n);
|
|
54940
54960
|
let u = r.filter((c) => {
|
|
54941
54961
|
const l = tu(nh(c[Wn.FETCH_START])), d = tu(nh(c[Wn.RESPONSE_END]));
|
|
@@ -54946,10 +54966,10 @@ function A8e(e, t, n, r, i, o) {
|
|
|
54946
54966
|
function Gm(e) {
|
|
54947
54967
|
if (typeof URL == "function")
|
|
54948
54968
|
return new URL(e, typeof document < "u" ? document.baseURI : typeof location < "u" ? location.href : void 0);
|
|
54949
|
-
const t =
|
|
54969
|
+
const t = x8e();
|
|
54950
54970
|
return t.href = e, t;
|
|
54951
54971
|
}
|
|
54952
|
-
function
|
|
54972
|
+
function T8e(e, t) {
|
|
54953
54973
|
let n = t || [];
|
|
54954
54974
|
return (typeof n == "string" || n instanceof RegExp) && (n = [n]), Gm(e).origin === AW() ? !0 : n.some((i) => OW(e, i));
|
|
54955
54975
|
}
|
|
@@ -54957,25 +54977,25 @@ var qm;
|
|
|
54957
54977
|
(function(e) {
|
|
54958
54978
|
e.COMPONENT = "component", e.HTTP_STATUS_TEXT = "http.status_text";
|
|
54959
54979
|
})(qm || (qm = {}));
|
|
54960
|
-
const
|
|
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({
|
|
54961
54981
|
namespace: "@opentelemetry/opentelemetry-instrumentation-fetch/utils"
|
|
54962
54982
|
});
|
|
54963
|
-
function
|
|
54983
|
+
function j8e(...e) {
|
|
54964
54984
|
if (e[0] instanceof URL || typeof e[0] == "string") {
|
|
54965
54985
|
const t = e[1];
|
|
54966
54986
|
if (!t?.body)
|
|
54967
54987
|
return Promise.resolve();
|
|
54968
54988
|
if (t.body instanceof ReadableStream) {
|
|
54969
|
-
const { body: n, length: r } =
|
|
54989
|
+
const { body: n, length: r } = $8e(t.body);
|
|
54970
54990
|
return t.body = n, r;
|
|
54971
54991
|
} else
|
|
54972
|
-
return Promise.resolve(
|
|
54992
|
+
return Promise.resolve(z8e(t.body));
|
|
54973
54993
|
} else {
|
|
54974
54994
|
const t = e[0];
|
|
54975
54995
|
return t?.body ? t.clone().text().then((n) => eS(n)) : Promise.resolve();
|
|
54976
54996
|
}
|
|
54977
54997
|
}
|
|
54978
|
-
function
|
|
54998
|
+
function $8e(e) {
|
|
54979
54999
|
if (!e.pipeThrough)
|
|
54980
55000
|
return PW.warn("Platform has ReadableStream but not pipeThrough!"), {
|
|
54981
55001
|
body: e,
|
|
@@ -55000,39 +55020,39 @@ function j8e(e) {
|
|
|
55000
55020
|
length: r
|
|
55001
55021
|
};
|
|
55002
55022
|
}
|
|
55003
|
-
function
|
|
55023
|
+
function B8e(e) {
|
|
55004
55024
|
return typeof Document < "u" && e instanceof Document;
|
|
55005
55025
|
}
|
|
55006
|
-
function
|
|
55007
|
-
if (
|
|
55026
|
+
function z8e(e) {
|
|
55027
|
+
if (B8e(e))
|
|
55008
55028
|
return new XMLSerializer().serializeToString(document).length;
|
|
55009
55029
|
if (typeof e == "string")
|
|
55010
55030
|
return eS(e);
|
|
55011
55031
|
if (e instanceof Blob)
|
|
55012
55032
|
return e.size;
|
|
55013
55033
|
if (e instanceof FormData)
|
|
55014
|
-
return
|
|
55034
|
+
return W8e(e);
|
|
55015
55035
|
if (e instanceof URLSearchParams)
|
|
55016
55036
|
return eS(e.toString());
|
|
55017
55037
|
if (e.byteLength !== void 0)
|
|
55018
55038
|
return e.byteLength;
|
|
55019
55039
|
PW.warn("unknown body type");
|
|
55020
55040
|
}
|
|
55021
|
-
const
|
|
55041
|
+
const F8e = new TextEncoder();
|
|
55022
55042
|
function eS(e) {
|
|
55023
|
-
return
|
|
55043
|
+
return F8e.encode(e).byteLength;
|
|
55024
55044
|
}
|
|
55025
|
-
function
|
|
55045
|
+
function W8e(e) {
|
|
55026
55046
|
let t = 0;
|
|
55027
55047
|
for (const [n, r] of e.entries())
|
|
55028
55048
|
t += n.length, r instanceof Blob ? t += r.size : t += r.length;
|
|
55029
55049
|
return t;
|
|
55030
55050
|
}
|
|
55031
|
-
function
|
|
55032
|
-
const t =
|
|
55051
|
+
function U8e(e) {
|
|
55052
|
+
const t = V8e(), n = e.toUpperCase();
|
|
55033
55053
|
return n in t ? n : "_OTHER";
|
|
55034
55054
|
}
|
|
55035
|
-
const
|
|
55055
|
+
const H8e = {
|
|
55036
55056
|
CONNECT: !0,
|
|
55037
55057
|
DELETE: !0,
|
|
55038
55058
|
GET: !0,
|
|
@@ -55044,20 +55064,20 @@ const U8e = {
|
|
|
55044
55064
|
TRACE: !0
|
|
55045
55065
|
};
|
|
55046
55066
|
let W2;
|
|
55047
|
-
function
|
|
55048
|
-
return W2 === void 0 && (W2 =
|
|
55067
|
+
function V8e() {
|
|
55068
|
+
return W2 === void 0 && (W2 = H8e), W2;
|
|
55049
55069
|
}
|
|
55050
|
-
const
|
|
55070
|
+
const G8e = {
|
|
55051
55071
|
"https:": "443",
|
|
55052
55072
|
"http:": "80"
|
|
55053
55073
|
};
|
|
55054
|
-
function
|
|
55055
|
-
const t = Number(e.port ||
|
|
55074
|
+
function q8e(e) {
|
|
55075
|
+
const t = Number(e.port || G8e[e.protocol]);
|
|
55056
55076
|
if (t && !isNaN(t))
|
|
55057
55077
|
return t;
|
|
55058
55078
|
}
|
|
55059
|
-
const cM = "0.204.0",
|
|
55060
|
-
class
|
|
55079
|
+
const cM = "0.204.0", K8e = 300, lM = typeof process == "object" && process.release?.name === "node";
|
|
55080
|
+
class Y8e extends f8e {
|
|
55061
55081
|
component = "fetch";
|
|
55062
55082
|
version = cM;
|
|
55063
55083
|
moduleName = this.component;
|
|
@@ -55065,7 +55085,7 @@ class K8e extends l8e {
|
|
|
55065
55085
|
_tasksCount = 0;
|
|
55066
55086
|
_semconvStability;
|
|
55067
55087
|
constructor(t = {}) {
|
|
55068
|
-
super("@opentelemetry/instrumentation-fetch", cM, t), this._semconvStability =
|
|
55088
|
+
super("@opentelemetry/instrumentation-fetch", cM, t), this._semconvStability = h8e("http", t?.semconvStabilityOptIn);
|
|
55069
55089
|
}
|
|
55070
55090
|
init() {
|
|
55071
55091
|
}
|
|
@@ -55087,10 +55107,10 @@ class K8e extends l8e {
|
|
|
55087
55107
|
*/
|
|
55088
55108
|
_addFinalSpanAttributes(t, n) {
|
|
55089
55109
|
const r = Gm(n.url);
|
|
55090
|
-
if (this._semconvStability & $i.OLD && (t.setAttribute(
|
|
55091
|
-
t.setAttribute(
|
|
55092
|
-
const i =
|
|
55093
|
-
i && t.setAttribute(
|
|
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);
|
|
55094
55114
|
}
|
|
55095
55115
|
}
|
|
55096
55116
|
/**
|
|
@@ -55099,7 +55119,7 @@ class K8e extends l8e {
|
|
|
55099
55119
|
* @param spanUrl
|
|
55100
55120
|
*/
|
|
55101
55121
|
_addHeaders(t, n) {
|
|
55102
|
-
if (!
|
|
55122
|
+
if (!T8e(n, this.getConfig().propagateTraceHeaderCorsUrls)) {
|
|
55103
55123
|
const r = {};
|
|
55104
55124
|
ya.inject(jr.active(), r), Object.keys(r).length > 0 && this._diag.debug("headers inject skipped due to CORS policy");
|
|
55105
55125
|
return;
|
|
@@ -55136,7 +55156,7 @@ class K8e extends l8e {
|
|
|
55136
55156
|
* @param options
|
|
55137
55157
|
*/
|
|
55138
55158
|
_createSpan(t, n = {}) {
|
|
55139
|
-
if (
|
|
55159
|
+
if (b8e(t, this.getConfig().ignoreUrls)) {
|
|
55140
55160
|
this._diag.debug("ignoring span as url matches ignored url");
|
|
55141
55161
|
return;
|
|
55142
55162
|
}
|
|
@@ -55144,11 +55164,11 @@ class K8e extends l8e {
|
|
|
55144
55164
|
const i = {};
|
|
55145
55165
|
if (this._semconvStability & $i.OLD) {
|
|
55146
55166
|
const o = (n.method || "GET").toUpperCase();
|
|
55147
|
-
r = `HTTP ${o}`, i[qm.COMPONENT] = this.moduleName, i[
|
|
55167
|
+
r = `HTTP ${o}`, i[qm.COMPONENT] = this.moduleName, i[I8e] = o, i[L8e] = t;
|
|
55148
55168
|
}
|
|
55149
55169
|
if (this._semconvStability & $i.STABLE) {
|
|
55150
|
-
const o = n.method, a =
|
|
55151
|
-
r || (r = a), i[
|
|
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;
|
|
55152
55172
|
}
|
|
55153
55173
|
return this.tracer.startSpan(r, {
|
|
55154
55174
|
kind: Nm.CLIENT,
|
|
@@ -55168,7 +55188,7 @@ class K8e extends l8e {
|
|
|
55168
55188
|
return;
|
|
55169
55189
|
i = performance.getEntriesByType("resource");
|
|
55170
55190
|
}
|
|
55171
|
-
const o =
|
|
55191
|
+
const o = O8e(n.spanUrl, n.startTime, r, i, this._usedResources, "fetch");
|
|
55172
55192
|
if (o.mainRequest) {
|
|
55173
55193
|
const a = o.mainRequest;
|
|
55174
55194
|
this._markResourceAsUsed(a);
|
|
@@ -55195,9 +55215,9 @@ class K8e extends l8e {
|
|
|
55195
55215
|
*/
|
|
55196
55216
|
_endSpan(t, n, r) {
|
|
55197
55217
|
const i = Uh(Date.now()), o = QE();
|
|
55198
|
-
this._addFinalSpanAttributes(t, r), this._semconvStability & $i.STABLE && r.status >= 400 && (t.setStatus({ code: ec.ERROR }), t.setAttribute(
|
|
55218
|
+
this._addFinalSpanAttributes(t, r), this._semconvStability & $i.STABLE && r.status >= 400 && (t.setStatus({ code: ec.ERROR }), t.setAttribute(B4e, String(r.status))), setTimeout(() => {
|
|
55199
55219
|
n.observer?.disconnect(), this._findResourceAndAddNetworkEvents(t, n, o), this._tasksCount--, this._clearResources(), t.end(i);
|
|
55200
|
-
},
|
|
55220
|
+
}, K8e);
|
|
55201
55221
|
}
|
|
55202
55222
|
/**
|
|
55203
55223
|
* Patches the constructor of fetch
|
|
@@ -55210,8 +55230,8 @@ class K8e extends l8e {
|
|
|
55210
55230
|
if (!u)
|
|
55211
55231
|
return t.apply(this, i);
|
|
55212
55232
|
const c = n._prepareSpanData(a);
|
|
55213
|
-
n.getConfig().measureRequestSize &&
|
|
55214
|
-
y && (n._semconvStability & $i.OLD && u.setAttribute(
|
|
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));
|
|
55215
55235
|
}).catch((y) => {
|
|
55216
55236
|
n._diag.warn("getFetchBodyLength", y);
|
|
55217
55237
|
});
|
|
@@ -55296,7 +55316,7 @@ class K8e extends l8e {
|
|
|
55296
55316
|
this._diag.warn("this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()");
|
|
55297
55317
|
return;
|
|
55298
55318
|
}
|
|
55299
|
-
|
|
55319
|
+
d8e(fetch) && (this._unwrap(z2, "fetch"), this._diag.debug("removing previous patch for constructor")), this._wrap(z2, "fetch", this._patchConstructor());
|
|
55300
55320
|
}
|
|
55301
55321
|
/**
|
|
55302
55322
|
* implements unpatch function
|
|
@@ -55305,11 +55325,11 @@ class K8e extends l8e {
|
|
|
55305
55325
|
lM || (this._unwrap(z2, "fetch"), this._usedResources = /* @__PURE__ */ new WeakSet());
|
|
55306
55326
|
}
|
|
55307
55327
|
}
|
|
55308
|
-
function
|
|
55328
|
+
function X8e(e) {
|
|
55309
55329
|
return typeof e == "object" && e !== null && "addEventListener" in e && typeof e.addEventListener == "function" && "removeEventListener" in e && typeof e.removeEventListener == "function";
|
|
55310
55330
|
}
|
|
55311
55331
|
const fM = "OT_ZONE_CONTEXT";
|
|
55312
|
-
class
|
|
55332
|
+
class Z8e {
|
|
55313
55333
|
/**
|
|
55314
55334
|
* whether the context manager is enabled or not
|
|
55315
55335
|
*/
|
|
@@ -55421,7 +55441,7 @@ class X8e {
|
|
|
55421
55441
|
* the provided context will be used as the active context for the duration of the call.
|
|
55422
55442
|
*/
|
|
55423
55443
|
bind(t, n) {
|
|
55424
|
-
return t === void 0 && (t = this.active()), typeof n == "function" ? this._bindFunction(t, n) : (
|
|
55444
|
+
return t === void 0 && (t = this.active()), typeof n == "function" ? this._bindFunction(t, n) : (X8e(n) && this._bindListener(t, n), n);
|
|
55425
55445
|
}
|
|
55426
55446
|
/**
|
|
55427
55447
|
* Disable the context manager (clears all the contexts)
|
|
@@ -55450,7 +55470,7 @@ class X8e {
|
|
|
55450
55470
|
}
|
|
55451
55471
|
}
|
|
55452
55472
|
var dM = {}, hM;
|
|
55453
|
-
function
|
|
55473
|
+
function J8e() {
|
|
55454
55474
|
if (hM) return dM;
|
|
55455
55475
|
hM = 1;
|
|
55456
55476
|
const e = globalThis;
|
|
@@ -56983,8 +57003,8 @@ function Z8e() {
|
|
|
56983
57003
|
const Ot = r();
|
|
56984
57004
|
return Ue(Ot), We(Ot), dM;
|
|
56985
57005
|
}
|
|
56986
|
-
|
|
56987
|
-
class
|
|
57006
|
+
J8e();
|
|
57007
|
+
class Q8e {
|
|
56988
57008
|
_delegate;
|
|
56989
57009
|
constructor(t) {
|
|
56990
57010
|
this._delegate = t;
|
|
@@ -57012,30 +57032,30 @@ class pM extends Error {
|
|
|
57012
57032
|
super(t), this.data = r, this.code = n;
|
|
57013
57033
|
}
|
|
57014
57034
|
}
|
|
57015
|
-
function
|
|
57035
|
+
function eIe(e) {
|
|
57016
57036
|
if (Number.isFinite(e) && e > 0)
|
|
57017
57037
|
return e;
|
|
57018
57038
|
throw new Error(`Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '${e}')`);
|
|
57019
57039
|
}
|
|
57020
|
-
function
|
|
57040
|
+
function tIe(e) {
|
|
57021
57041
|
if (e != null)
|
|
57022
57042
|
return async () => e;
|
|
57023
57043
|
}
|
|
57024
|
-
function
|
|
57044
|
+
function nIe(e, t, n) {
|
|
57025
57045
|
return {
|
|
57026
|
-
timeoutMillis:
|
|
57046
|
+
timeoutMillis: eIe(e.timeoutMillis ?? t.timeoutMillis ?? n.timeoutMillis),
|
|
57027
57047
|
concurrencyLimit: e.concurrencyLimit ?? t.concurrencyLimit ?? n.concurrencyLimit,
|
|
57028
57048
|
compression: e.compression ?? t.compression ?? n.compression
|
|
57029
57049
|
};
|
|
57030
57050
|
}
|
|
57031
|
-
function
|
|
57051
|
+
function rIe() {
|
|
57032
57052
|
return {
|
|
57033
57053
|
timeoutMillis: 1e4,
|
|
57034
57054
|
concurrencyLimit: 30,
|
|
57035
57055
|
compression: "none"
|
|
57036
57056
|
};
|
|
57037
57057
|
}
|
|
57038
|
-
class
|
|
57058
|
+
class iIe {
|
|
57039
57059
|
_concurrencyLimit;
|
|
57040
57060
|
_sendingPromises = [];
|
|
57041
57061
|
/**
|
|
@@ -57061,20 +57081,20 @@ class rIe {
|
|
|
57061
57081
|
await Promise.all(this._sendingPromises);
|
|
57062
57082
|
}
|
|
57063
57083
|
}
|
|
57064
|
-
function iIe(e) {
|
|
57065
|
-
return new rIe(e.concurrencyLimit);
|
|
57066
|
-
}
|
|
57067
57084
|
function oIe(e) {
|
|
57085
|
+
return new iIe(e.concurrencyLimit);
|
|
57086
|
+
}
|
|
57087
|
+
function aIe(e) {
|
|
57068
57088
|
return Object.prototype.hasOwnProperty.call(e, "partialSuccess");
|
|
57069
57089
|
}
|
|
57070
|
-
function
|
|
57090
|
+
function sIe() {
|
|
57071
57091
|
return {
|
|
57072
57092
|
handleResponse(e) {
|
|
57073
|
-
e == null || !
|
|
57093
|
+
e == null || !aIe(e) || e.partialSuccess == null || Object.keys(e.partialSuccess).length === 0 || Ht.warn("Received Partial Success response:", JSON.stringify(e.partialSuccess));
|
|
57074
57094
|
}
|
|
57075
57095
|
};
|
|
57076
57096
|
}
|
|
57077
|
-
class
|
|
57097
|
+
class uIe {
|
|
57078
57098
|
_transport;
|
|
57079
57099
|
_serializer;
|
|
57080
57100
|
_responseHandler;
|
|
@@ -57139,14 +57159,14 @@ class sIe {
|
|
|
57139
57159
|
this._diagLogger.debug("shutdown started"), await this.forceFlush(), this._transport.shutdown();
|
|
57140
57160
|
}
|
|
57141
57161
|
}
|
|
57142
|
-
function
|
|
57143
|
-
return new
|
|
57162
|
+
function cIe(e, t) {
|
|
57163
|
+
return new uIe(e.transport, e.serializer, sIe(), e.promiseHandler, t.timeout);
|
|
57144
57164
|
}
|
|
57145
57165
|
function Y3(e, t, n) {
|
|
57146
|
-
return
|
|
57166
|
+
return cIe({
|
|
57147
57167
|
transport: n,
|
|
57148
57168
|
serializer: t,
|
|
57149
|
-
promiseHandler:
|
|
57169
|
+
promiseHandler: oIe(e)
|
|
57150
57170
|
}, { timeout: e.timeoutMillis });
|
|
57151
57171
|
}
|
|
57152
57172
|
function gM(e) {
|
|
@@ -57165,51 +57185,51 @@ function CW(e) {
|
|
|
57165
57185
|
const t = BigInt(1e9);
|
|
57166
57186
|
return BigInt(Math.trunc(e[0])) * t + BigInt(Math.trunc(e[1]));
|
|
57167
57187
|
}
|
|
57168
|
-
function
|
|
57188
|
+
function lIe(e) {
|
|
57169
57189
|
const t = Number(BigInt.asUintN(32, e)), n = Number(BigInt.asUintN(32, e >> BigInt(32)));
|
|
57170
57190
|
return { low: t, high: n };
|
|
57171
57191
|
}
|
|
57172
|
-
function
|
|
57192
|
+
function fIe(e) {
|
|
57173
57193
|
const t = CW(e);
|
|
57174
|
-
return
|
|
57194
|
+
return lIe(t);
|
|
57175
57195
|
}
|
|
57176
|
-
function
|
|
57196
|
+
function dIe(e) {
|
|
57177
57197
|
return CW(e).toString();
|
|
57178
57198
|
}
|
|
57179
|
-
const
|
|
57199
|
+
const hIe = typeof BigInt < "u" ? dIe : Q4e;
|
|
57180
57200
|
function vM(e) {
|
|
57181
57201
|
return e;
|
|
57182
57202
|
}
|
|
57183
|
-
function
|
|
57203
|
+
function pIe(e) {
|
|
57184
57204
|
if (e !== void 0)
|
|
57185
57205
|
return TW(e);
|
|
57186
57206
|
}
|
|
57187
|
-
const
|
|
57188
|
-
encodeHrTime:
|
|
57207
|
+
const gIe = {
|
|
57208
|
+
encodeHrTime: fIe,
|
|
57189
57209
|
encodeSpanContext: TW,
|
|
57190
|
-
encodeOptionalSpanContext:
|
|
57210
|
+
encodeOptionalSpanContext: pIe
|
|
57191
57211
|
};
|
|
57192
|
-
function
|
|
57193
|
-
return e === void 0 ?
|
|
57194
|
-
encodeHrTime:
|
|
57212
|
+
function vIe(e) {
|
|
57213
|
+
return e === void 0 ? gIe : {
|
|
57214
|
+
encodeHrTime: hIe,
|
|
57195
57215
|
encodeSpanContext: vM,
|
|
57196
57216
|
encodeOptionalSpanContext: vM
|
|
57197
57217
|
};
|
|
57198
57218
|
}
|
|
57199
|
-
function
|
|
57219
|
+
function mIe(e) {
|
|
57200
57220
|
const t = {
|
|
57201
|
-
attributes:
|
|
57221
|
+
attributes: bIe(e.attributes),
|
|
57202
57222
|
droppedAttributesCount: 0
|
|
57203
57223
|
}, n = e.schemaUrl;
|
|
57204
57224
|
return n && n !== "" && (t.schemaUrl = n), t;
|
|
57205
57225
|
}
|
|
57206
|
-
function
|
|
57226
|
+
function yIe(e) {
|
|
57207
57227
|
return {
|
|
57208
57228
|
name: e.name,
|
|
57209
57229
|
version: e.version
|
|
57210
57230
|
};
|
|
57211
57231
|
}
|
|
57212
|
-
function
|
|
57232
|
+
function bIe(e) {
|
|
57213
57233
|
return Object.keys(e).map((t) => X3(t, e[t]));
|
|
57214
57234
|
}
|
|
57215
57235
|
function X3(e, t) {
|
|
@@ -57226,13 +57246,13 @@ function Z3(e) {
|
|
|
57226
57246
|
}
|
|
57227
57247
|
} : {};
|
|
57228
57248
|
}
|
|
57229
|
-
function
|
|
57230
|
-
const n =
|
|
57249
|
+
function wIe(e, t) {
|
|
57250
|
+
const n = vIe(t);
|
|
57231
57251
|
return {
|
|
57232
|
-
resourceLogs:
|
|
57252
|
+
resourceLogs: xIe(e, n)
|
|
57233
57253
|
};
|
|
57234
57254
|
}
|
|
57235
|
-
function
|
|
57255
|
+
function _Ie(e) {
|
|
57236
57256
|
const t = /* @__PURE__ */ new Map();
|
|
57237
57257
|
for (const n of e) {
|
|
57238
57258
|
const { resource: r, instrumentationScope: { name: i, version: o = "", schemaUrl: a = "" } } = n;
|
|
@@ -57244,22 +57264,22 @@ function wIe(e) {
|
|
|
57244
57264
|
}
|
|
57245
57265
|
return t;
|
|
57246
57266
|
}
|
|
57247
|
-
function
|
|
57248
|
-
const n =
|
|
57267
|
+
function xIe(e, t) {
|
|
57268
|
+
const n = _Ie(e);
|
|
57249
57269
|
return Array.from(n, ([r, i]) => {
|
|
57250
|
-
const o =
|
|
57270
|
+
const o = mIe(r);
|
|
57251
57271
|
return {
|
|
57252
57272
|
resource: o,
|
|
57253
57273
|
scopeLogs: Array.from(i, ([, a]) => ({
|
|
57254
|
-
scope:
|
|
57255
|
-
logRecords: a.map((s) =>
|
|
57274
|
+
scope: yIe(a[0].instrumentationScope),
|
|
57275
|
+
logRecords: a.map((s) => EIe(s, t)),
|
|
57256
57276
|
schemaUrl: a[0].instrumentationScope.schemaUrl
|
|
57257
57277
|
})),
|
|
57258
57278
|
schemaUrl: o.schemaUrl
|
|
57259
57279
|
};
|
|
57260
57280
|
});
|
|
57261
57281
|
}
|
|
57262
|
-
function
|
|
57282
|
+
function EIe(e, t) {
|
|
57263
57283
|
return {
|
|
57264
57284
|
timeUnixNano: t.encodeHrTime(e.hrTime),
|
|
57265
57285
|
observedTimeUnixNano: t.encodeHrTime(e.hrTimeObserved),
|
|
@@ -57267,19 +57287,19 @@ function xIe(e, t) {
|
|
|
57267
57287
|
severityText: e.severityText,
|
|
57268
57288
|
body: Z3(e.body),
|
|
57269
57289
|
eventName: e.eventName,
|
|
57270
|
-
attributes:
|
|
57290
|
+
attributes: SIe(e.attributes),
|
|
57271
57291
|
droppedAttributesCount: e.droppedAttributesCount,
|
|
57272
57292
|
flags: e.spanContext?.traceFlags,
|
|
57273
57293
|
traceId: t.encodeOptionalSpanContext(e.spanContext?.traceId),
|
|
57274
57294
|
spanId: t.encodeOptionalSpanContext(e.spanContext?.spanId)
|
|
57275
57295
|
};
|
|
57276
57296
|
}
|
|
57277
|
-
function
|
|
57297
|
+
function SIe(e) {
|
|
57278
57298
|
return Object.keys(e).map((t) => X3(t, e[t]));
|
|
57279
57299
|
}
|
|
57280
|
-
const
|
|
57300
|
+
const OIe = {
|
|
57281
57301
|
serializeRequest: (e) => {
|
|
57282
|
-
const t =
|
|
57302
|
+
const t = wIe(e, {});
|
|
57283
57303
|
return new TextEncoder().encode(JSON.stringify(t));
|
|
57284
57304
|
},
|
|
57285
57305
|
deserializeResponse: (e) => {
|
|
@@ -57288,11 +57308,11 @@ const SIe = {
|
|
|
57288
57308
|
const t = new TextDecoder();
|
|
57289
57309
|
return JSON.parse(t.decode(e));
|
|
57290
57310
|
}
|
|
57291
|
-
},
|
|
57292
|
-
function
|
|
57311
|
+
}, AIe = 5, PIe = 1e3, TIe = 5e3, CIe = 1.5, mM = 0.2;
|
|
57312
|
+
function IIe() {
|
|
57293
57313
|
return Math.random() * (2 * mM) - mM;
|
|
57294
57314
|
}
|
|
57295
|
-
class
|
|
57315
|
+
class MIe {
|
|
57296
57316
|
_transport;
|
|
57297
57317
|
constructor(t) {
|
|
57298
57318
|
this._transport = t;
|
|
@@ -57306,11 +57326,11 @@ class IIe {
|
|
|
57306
57326
|
}
|
|
57307
57327
|
async send(t, n) {
|
|
57308
57328
|
const r = Date.now() + n;
|
|
57309
|
-
let i = await this._transport.send(t, n), o =
|
|
57329
|
+
let i = await this._transport.send(t, n), o = AIe, a = PIe;
|
|
57310
57330
|
for (; i.status === "retryable" && o > 0; ) {
|
|
57311
57331
|
o--;
|
|
57312
|
-
const s = Math.max(Math.min(a,
|
|
57313
|
-
a = a *
|
|
57332
|
+
const s = Math.max(Math.min(a, TIe) + IIe(), 0);
|
|
57333
|
+
a = a * CIe;
|
|
57314
57334
|
const u = i.retryInMillis ?? s, c = r - Date.now();
|
|
57315
57335
|
if (u > c)
|
|
57316
57336
|
return i;
|
|
@@ -57323,7 +57343,7 @@ class IIe {
|
|
|
57323
57343
|
}
|
|
57324
57344
|
}
|
|
57325
57345
|
function J3(e) {
|
|
57326
|
-
return new
|
|
57346
|
+
return new MIe(e.transport);
|
|
57327
57347
|
}
|
|
57328
57348
|
function IW(e) {
|
|
57329
57349
|
return [429, 502, 503, 504].includes(e);
|
|
@@ -57337,7 +57357,7 @@ function MW(e) {
|
|
|
57337
57357
|
const n = new Date(e).getTime() - Date.now();
|
|
57338
57358
|
return n >= 0 ? n : 0;
|
|
57339
57359
|
}
|
|
57340
|
-
class
|
|
57360
|
+
class kIe {
|
|
57341
57361
|
_parameters;
|
|
57342
57362
|
constructor(t) {
|
|
57343
57363
|
this._parameters = t;
|
|
@@ -57379,10 +57399,10 @@ class MIe {
|
|
|
57379
57399
|
shutdown() {
|
|
57380
57400
|
}
|
|
57381
57401
|
}
|
|
57382
|
-
function
|
|
57383
|
-
return new
|
|
57402
|
+
function RIe(e) {
|
|
57403
|
+
return new kIe(e);
|
|
57384
57404
|
}
|
|
57385
|
-
class
|
|
57405
|
+
class DIe {
|
|
57386
57406
|
_params;
|
|
57387
57407
|
constructor(t) {
|
|
57388
57408
|
this._params = t;
|
|
@@ -57401,10 +57421,10 @@ class RIe {
|
|
|
57401
57421
|
shutdown() {
|
|
57402
57422
|
}
|
|
57403
57423
|
}
|
|
57404
|
-
function
|
|
57405
|
-
return new
|
|
57424
|
+
function LIe(e) {
|
|
57425
|
+
return new DIe(e);
|
|
57406
57426
|
}
|
|
57407
|
-
class
|
|
57427
|
+
class NIe {
|
|
57408
57428
|
_parameters;
|
|
57409
57429
|
constructor(t) {
|
|
57410
57430
|
this._parameters = t;
|
|
@@ -57445,42 +57465,42 @@ class LIe {
|
|
|
57445
57465
|
shutdown() {
|
|
57446
57466
|
}
|
|
57447
57467
|
}
|
|
57448
|
-
function
|
|
57449
|
-
return new
|
|
57468
|
+
function jIe(e) {
|
|
57469
|
+
return new NIe(e);
|
|
57450
57470
|
}
|
|
57451
|
-
function
|
|
57471
|
+
function $Ie(e, t) {
|
|
57452
57472
|
return Y3(e, t, J3({
|
|
57453
|
-
transport:
|
|
57473
|
+
transport: RIe(e)
|
|
57454
57474
|
}));
|
|
57455
57475
|
}
|
|
57456
|
-
function
|
|
57476
|
+
function BIe(e, t) {
|
|
57457
57477
|
return Y3(e, t, J3({
|
|
57458
|
-
transport:
|
|
57478
|
+
transport: jIe(e)
|
|
57459
57479
|
}));
|
|
57460
57480
|
}
|
|
57461
|
-
function
|
|
57481
|
+
function zIe(e, t) {
|
|
57462
57482
|
return Y3(e, t, J3({
|
|
57463
|
-
transport:
|
|
57483
|
+
transport: LIe({
|
|
57464
57484
|
url: e.url,
|
|
57465
57485
|
headers: e.headers
|
|
57466
57486
|
})
|
|
57467
57487
|
}));
|
|
57468
57488
|
}
|
|
57469
|
-
function
|
|
57489
|
+
function FIe(e) {
|
|
57470
57490
|
const t = {};
|
|
57471
57491
|
return Object.entries(e ?? {}).forEach(([n, r]) => {
|
|
57472
57492
|
typeof r < "u" ? t[n] = String(r) : Ht.warn(`Header "${n}" has invalid value (${r}) and will be ignored`);
|
|
57473
57493
|
}), t;
|
|
57474
57494
|
}
|
|
57475
|
-
function
|
|
57495
|
+
function WIe(e, t, n) {
|
|
57476
57496
|
return async () => {
|
|
57477
57497
|
const r = {
|
|
57478
57498
|
...await n()
|
|
57479
57499
|
}, i = {};
|
|
57480
|
-
return t != null && Object.assign(i, await t()), e != null && Object.assign(i,
|
|
57500
|
+
return t != null && Object.assign(i, await t()), e != null && Object.assign(i, FIe(await e())), Object.assign(i, r);
|
|
57481
57501
|
};
|
|
57482
57502
|
}
|
|
57483
|
-
function
|
|
57503
|
+
function UIe(e) {
|
|
57484
57504
|
if (e != null)
|
|
57485
57505
|
try {
|
|
57486
57506
|
const t = globalThis.location?.href;
|
|
@@ -57489,46 +57509,46 @@ function WIe(e) {
|
|
|
57489
57509
|
throw new Error(`Configuration: Could not parse user-provided export URL: '${e}'`);
|
|
57490
57510
|
}
|
|
57491
57511
|
}
|
|
57492
|
-
function
|
|
57512
|
+
function HIe(e, t, n) {
|
|
57493
57513
|
return {
|
|
57494
|
-
...
|
|
57495
|
-
headers:
|
|
57496
|
-
url:
|
|
57514
|
+
...nIe(e, t, n),
|
|
57515
|
+
headers: WIe(e.headers, t.headers, n.headers),
|
|
57516
|
+
url: UIe(e.url) ?? t.url ?? n.url
|
|
57497
57517
|
};
|
|
57498
57518
|
}
|
|
57499
|
-
function
|
|
57519
|
+
function VIe(e, t) {
|
|
57500
57520
|
return {
|
|
57501
|
-
...
|
|
57521
|
+
...rIe(),
|
|
57502
57522
|
headers: async () => e,
|
|
57503
57523
|
url: "http://localhost:4318/" + t
|
|
57504
57524
|
};
|
|
57505
57525
|
}
|
|
57506
|
-
function
|
|
57507
|
-
return typeof e.headers == "function" ? e.headers :
|
|
57526
|
+
function GIe(e) {
|
|
57527
|
+
return typeof e.headers == "function" ? e.headers : tIe(e.headers);
|
|
57508
57528
|
}
|
|
57509
|
-
function
|
|
57510
|
-
return
|
|
57529
|
+
function qIe(e, t, n) {
|
|
57530
|
+
return HIe(
|
|
57511
57531
|
{
|
|
57512
57532
|
url: e.url,
|
|
57513
57533
|
timeoutMillis: e.timeoutMillis,
|
|
57514
|
-
headers:
|
|
57534
|
+
headers: GIe(e),
|
|
57515
57535
|
concurrencyLimit: e.concurrencyLimit
|
|
57516
57536
|
},
|
|
57517
57537
|
{},
|
|
57518
57538
|
// no fallback for browser case
|
|
57519
|
-
|
|
57539
|
+
VIe(n, t)
|
|
57520
57540
|
);
|
|
57521
57541
|
}
|
|
57522
|
-
function
|
|
57523
|
-
const i =
|
|
57542
|
+
function KIe(e, t, n, r) {
|
|
57543
|
+
const i = YIe(e.headers), o = qIe(e, n, r);
|
|
57524
57544
|
return i(o, t);
|
|
57525
57545
|
}
|
|
57526
|
-
function
|
|
57527
|
-
return !e && typeof navigator.sendBeacon == "function" ?
|
|
57546
|
+
function YIe(e) {
|
|
57547
|
+
return !e && typeof navigator.sendBeacon == "function" ? zIe : typeof globalThis.fetch < "u" ? BIe : $Ie;
|
|
57528
57548
|
}
|
|
57529
|
-
class
|
|
57549
|
+
class XIe extends Q8e {
|
|
57530
57550
|
constructor(t = {}) {
|
|
57531
|
-
super(
|
|
57551
|
+
super(KIe(t, OIe, "v1/logs", { "Content-Type": "application/json" }));
|
|
57532
57552
|
}
|
|
57533
57553
|
}
|
|
57534
57554
|
var Ol;
|
|
@@ -57540,13 +57560,13 @@ class kW {
|
|
|
57540
57560
|
}
|
|
57541
57561
|
}
|
|
57542
57562
|
const RW = new kW();
|
|
57543
|
-
class
|
|
57563
|
+
class ZIe {
|
|
57544
57564
|
getLogger(t, n, r) {
|
|
57545
57565
|
return new kW();
|
|
57546
57566
|
}
|
|
57547
57567
|
}
|
|
57548
|
-
const DW = new
|
|
57549
|
-
class
|
|
57568
|
+
const DW = new ZIe();
|
|
57569
|
+
class JIe {
|
|
57550
57570
|
constructor(t, n, r, i) {
|
|
57551
57571
|
this._provider = t, this.name = n, this.version = r, this.options = i;
|
|
57552
57572
|
}
|
|
@@ -57572,7 +57592,7 @@ class ZIe {
|
|
|
57572
57592
|
class yM {
|
|
57573
57593
|
getLogger(t, n, r) {
|
|
57574
57594
|
var i;
|
|
57575
|
-
return (i = this._getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new
|
|
57595
|
+
return (i = this._getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new JIe(this, t, n, r);
|
|
57576
57596
|
}
|
|
57577
57597
|
/**
|
|
57578
57598
|
* Get the delegate logger provider.
|
|
@@ -57598,8 +57618,8 @@ class yM {
|
|
|
57598
57618
|
return (i = this._delegate) === null || i === void 0 ? void 0 : i.getLogger(t, n, r);
|
|
57599
57619
|
}
|
|
57600
57620
|
}
|
|
57601
|
-
const
|
|
57602
|
-
function
|
|
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) {
|
|
57603
57623
|
return (r) => r === e ? t : n;
|
|
57604
57624
|
}
|
|
57605
57625
|
const bM = 1;
|
|
@@ -57611,7 +57631,7 @@ class Q3 {
|
|
|
57611
57631
|
return this._instance || (this._instance = new Q3()), this._instance;
|
|
57612
57632
|
}
|
|
57613
57633
|
setGlobalLoggerProvider(t) {
|
|
57614
|
-
return Ed[Tv] ? this.getLoggerProvider() : (Ed[Tv] =
|
|
57634
|
+
return Ed[Tv] ? this.getLoggerProvider() : (Ed[Tv] = eMe(bM, t, DW), this._proxyLoggerProvider._setDelegate(t), t);
|
|
57615
57635
|
}
|
|
57616
57636
|
/**
|
|
57617
57637
|
* Returns the global logger provider.
|
|
@@ -57636,7 +57656,7 @@ class Q3 {
|
|
|
57636
57656
|
}
|
|
57637
57657
|
}
|
|
57638
57658
|
const LW = Q3.getInstance();
|
|
57639
|
-
class
|
|
57659
|
+
class tMe {
|
|
57640
57660
|
hrTime;
|
|
57641
57661
|
hrTimeObserved;
|
|
57642
57662
|
spanContext;
|
|
@@ -57724,21 +57744,21 @@ class eMe {
|
|
|
57724
57744
|
return this._isReadonly && Ht.warn("Can not execute the operation on emitted log record"), this._isReadonly;
|
|
57725
57745
|
}
|
|
57726
57746
|
}
|
|
57727
|
-
class
|
|
57747
|
+
class nMe {
|
|
57728
57748
|
instrumentationScope;
|
|
57729
57749
|
_sharedState;
|
|
57730
57750
|
constructor(t, n) {
|
|
57731
57751
|
this.instrumentationScope = t, this._sharedState = n;
|
|
57732
57752
|
}
|
|
57733
57753
|
emit(t) {
|
|
57734
|
-
const n = t.context || jr.active(), r = new
|
|
57754
|
+
const n = t.context || jr.active(), r = new tMe(this._sharedState, this.instrumentationScope, {
|
|
57735
57755
|
context: n,
|
|
57736
57756
|
...t
|
|
57737
57757
|
});
|
|
57738
57758
|
this._sharedState.activeProcessor.onEmit(r, n), r._makeReadonly();
|
|
57739
57759
|
}
|
|
57740
57760
|
}
|
|
57741
|
-
function
|
|
57761
|
+
function rMe() {
|
|
57742
57762
|
return {
|
|
57743
57763
|
forceFlushTimeoutMillis: 3e4,
|
|
57744
57764
|
logRecordLimits: {
|
|
@@ -57748,7 +57768,7 @@ function nMe() {
|
|
|
57748
57768
|
includeTraceContext: !0
|
|
57749
57769
|
};
|
|
57750
57770
|
}
|
|
57751
|
-
function
|
|
57771
|
+
function iMe(e) {
|
|
57752
57772
|
return {
|
|
57753
57773
|
/**
|
|
57754
57774
|
* Reassign log record attribute count limit to use first non null value defined by user or use default value
|
|
@@ -57760,7 +57780,7 @@ function rMe(e) {
|
|
|
57760
57780
|
attributeValueLengthLimit: e.attributeValueLengthLimit ?? void 0 ?? void 0 ?? 1 / 0
|
|
57761
57781
|
};
|
|
57762
57782
|
}
|
|
57763
|
-
class
|
|
57783
|
+
class oMe {
|
|
57764
57784
|
forceFlush() {
|
|
57765
57785
|
return Promise.resolve();
|
|
57766
57786
|
}
|
|
@@ -57770,7 +57790,7 @@ class iMe {
|
|
|
57770
57790
|
return Promise.resolve();
|
|
57771
57791
|
}
|
|
57772
57792
|
}
|
|
57773
|
-
class
|
|
57793
|
+
class aMe {
|
|
57774
57794
|
processors;
|
|
57775
57795
|
forceFlushTimeoutMillis;
|
|
57776
57796
|
constructor(t, n) {
|
|
@@ -57778,7 +57798,7 @@ class oMe {
|
|
|
57778
57798
|
}
|
|
57779
57799
|
async forceFlush() {
|
|
57780
57800
|
const t = this.forceFlushTimeoutMillis;
|
|
57781
|
-
await Promise.all(this.processors.map((n) =>
|
|
57801
|
+
await Promise.all(this.processors.map((n) => CCe(n.forceFlush(), t)));
|
|
57782
57802
|
}
|
|
57783
57803
|
onEmit(t, n) {
|
|
57784
57804
|
this.processors.forEach((r) => r.onEmit(t, n));
|
|
@@ -57787,7 +57807,7 @@ class oMe {
|
|
|
57787
57807
|
await Promise.all(this.processors.map((t) => t.shutdown()));
|
|
57788
57808
|
}
|
|
57789
57809
|
}
|
|
57790
|
-
class
|
|
57810
|
+
class sMe {
|
|
57791
57811
|
resource;
|
|
57792
57812
|
forceFlushTimeoutMillis;
|
|
57793
57813
|
logRecordLimits;
|
|
@@ -57796,16 +57816,16 @@ class aMe {
|
|
|
57796
57816
|
activeProcessor;
|
|
57797
57817
|
registeredLogRecordProcessors = [];
|
|
57798
57818
|
constructor(t, n, r, i) {
|
|
57799
|
-
this.resource = t, this.forceFlushTimeoutMillis = n, this.logRecordLimits = r, this.processors = i, i.length > 0 ? (this.registeredLogRecordProcessors = i, this.activeProcessor = new
|
|
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();
|
|
57800
57820
|
}
|
|
57801
57821
|
}
|
|
57802
|
-
const
|
|
57803
|
-
class
|
|
57822
|
+
const uMe = "unknown";
|
|
57823
|
+
class cMe {
|
|
57804
57824
|
_shutdownOnce;
|
|
57805
57825
|
_sharedState;
|
|
57806
57826
|
constructor(t = {}) {
|
|
57807
|
-
const n = iW({},
|
|
57808
|
-
this._sharedState = new
|
|
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);
|
|
57809
57829
|
}
|
|
57810
57830
|
/**
|
|
57811
57831
|
* Get a logger with the configuration of the LoggerProvider.
|
|
@@ -57814,8 +57834,8 @@ class uMe {
|
|
|
57814
57834
|
if (this._shutdownOnce.isCalled)
|
|
57815
57835
|
return Ht.warn("A shutdown LoggerProvider cannot provide a Logger"), RW;
|
|
57816
57836
|
t || Ht.warn("Logger requested without instrumentation scope name.");
|
|
57817
|
-
const i = t ||
|
|
57818
|
-
return this._sharedState.loggers.has(o) || this._sharedState.loggers.set(o, new
|
|
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);
|
|
57819
57839
|
}
|
|
57820
57840
|
/**
|
|
57821
57841
|
* Notifies all registered LogRecordProcessor to flush any buffered data.
|
|
@@ -57838,7 +57858,7 @@ class uMe {
|
|
|
57838
57858
|
return this._sharedState.activeProcessor.shutdown();
|
|
57839
57859
|
}
|
|
57840
57860
|
}
|
|
57841
|
-
class
|
|
57861
|
+
class lMe {
|
|
57842
57862
|
/**
|
|
57843
57863
|
* Export logs.
|
|
57844
57864
|
* @param logs
|
|
@@ -57913,16 +57933,16 @@ class wM {
|
|
|
57913
57933
|
return this._exporter.shutdown();
|
|
57914
57934
|
}
|
|
57915
57935
|
}
|
|
57916
|
-
function
|
|
57936
|
+
function mDe(e, t = "MES-FE") {
|
|
57917
57937
|
const n = uW({
|
|
57918
57938
|
[ZF]: t
|
|
57919
|
-
}), r = new
|
|
57939
|
+
}), r = new J7e({
|
|
57920
57940
|
url: `${e}/v1/traces`
|
|
57921
57941
|
// URL del collector OpenTelemetry
|
|
57922
|
-
}), i = new
|
|
57942
|
+
}), i = new ZCe({
|
|
57923
57943
|
resource: n,
|
|
57924
57944
|
spanProcessors: [
|
|
57925
|
-
new eM(new
|
|
57945
|
+
new eM(new qCe()),
|
|
57926
57946
|
// Debug in console
|
|
57927
57947
|
new eM(r)
|
|
57928
57948
|
// Invio al collector
|
|
@@ -57930,21 +57950,21 @@ function vDe(e, t = "MES-FE") {
|
|
|
57930
57950
|
});
|
|
57931
57951
|
i.register({
|
|
57932
57952
|
// Changing default contextManager to use ZoneContextManager - supports asynchronous operations - optional
|
|
57933
|
-
contextManager: new
|
|
57953
|
+
contextManager: new Z8e()
|
|
57934
57954
|
}), i.register();
|
|
57935
|
-
const o = new
|
|
57955
|
+
const o = new XIe({
|
|
57936
57956
|
url: `${e}/v1/logs`
|
|
57937
57957
|
// URL del collector OpenTelemetry per i log});
|
|
57938
|
-
}), a = new
|
|
57958
|
+
}), a = new cMe({
|
|
57939
57959
|
resource: n,
|
|
57940
57960
|
processors: [
|
|
57941
|
-
new wM(new
|
|
57961
|
+
new wM(new lMe()),
|
|
57942
57962
|
new wM(o)
|
|
57943
57963
|
]
|
|
57944
57964
|
});
|
|
57945
|
-
LW.setGlobalLoggerProvider(a),
|
|
57965
|
+
LW.setGlobalLoggerProvider(a), s8e({
|
|
57946
57966
|
instrumentations: [
|
|
57947
|
-
new
|
|
57967
|
+
new Y8e()
|
|
57948
57968
|
// new XMLHttpRequestInstrumentation(),
|
|
57949
57969
|
// new DocumentLoadInstrumentation(),
|
|
57950
57970
|
// new UserInteractionInstrumentation(),
|
|
@@ -57982,7 +58002,7 @@ const _M = (e, t, n) => (Object.keys(n).forEach((r) => {
|
|
|
57982
58002
|
r
|
|
57983
58003
|
);
|
|
57984
58004
|
}
|
|
57985
|
-
}), t),
|
|
58005
|
+
}), t), yDe = (e, t, n) => !e || !Array.isArray(e) || e.length < 1 || !e[0][t] ? [] : e.reduce(
|
|
57986
58006
|
(r, i) => {
|
|
57987
58007
|
const o = r.findIndex(
|
|
57988
58008
|
(a) => a[t] === i[t]
|
|
@@ -57995,7 +58015,7 @@ const _M = (e, t, n) => (Object.keys(n).forEach((r) => {
|
|
|
57995
58015
|
return r;
|
|
57996
58016
|
},
|
|
57997
58017
|
[]
|
|
57998
|
-
),
|
|
58018
|
+
), bDe = (e, t = 50) => e ? e.length > t ? `${e.substring(0, t)}...` : e : "", Cv = () => LW.getLogger("MES-FE"), wDe = {
|
|
57999
58019
|
info(e, t) {
|
|
58000
58020
|
Cv().emit({
|
|
58001
58021
|
severityNumber: Ol.INFO,
|
|
@@ -58030,172 +58050,172 @@ const _M = (e, t, n) => (Object.keys(n).forEach((r) => {
|
|
|
58030
58050
|
}
|
|
58031
58051
|
};
|
|
58032
58052
|
export {
|
|
58033
|
-
|
|
58053
|
+
LRe as Accordion,
|
|
58034
58054
|
aTe as Alignment,
|
|
58035
58055
|
eJ as AppBar,
|
|
58036
|
-
|
|
58037
|
-
|
|
58038
|
-
|
|
58039
|
-
|
|
58056
|
+
tRe as AreaRangeChartComponent,
|
|
58057
|
+
HRe as AssignmentLayout,
|
|
58058
|
+
Oke as AuthProvider,
|
|
58059
|
+
Pke as AuthWrapper,
|
|
58040
58060
|
km as Autocomplete,
|
|
58041
|
-
|
|
58042
|
-
|
|
58043
|
-
|
|
58044
|
-
|
|
58045
|
-
|
|
58061
|
+
gRe as AutocompleteClient,
|
|
58062
|
+
Tke as BadgeScanner,
|
|
58063
|
+
nRe as BarChartComponent,
|
|
58064
|
+
WRe as Barcode,
|
|
58065
|
+
Cke as Blink,
|
|
58046
58066
|
BZ as BreadCrumb,
|
|
58047
|
-
|
|
58067
|
+
Ike as BreadCrumbProvider,
|
|
58048
58068
|
nJ as ButtonsGrid,
|
|
58049
58069
|
HZ as CLOSED_DRAWER_WIDTH,
|
|
58050
58070
|
oh as CaptionValue,
|
|
58051
58071
|
t0 as CaptionValueDirection,
|
|
58052
|
-
|
|
58072
|
+
Nke as Card,
|
|
58053
58073
|
tk as CardDirection,
|
|
58054
|
-
|
|
58074
|
+
vke as CenteredColumnFlexBox,
|
|
58055
58075
|
Kh as CenteredFlexBox,
|
|
58056
|
-
|
|
58057
|
-
|
|
58076
|
+
vRe as Checkbox,
|
|
58077
|
+
NRe as China,
|
|
58058
58078
|
po as ColumnFlexBox,
|
|
58059
|
-
|
|
58079
|
+
_ke as ConfigProvider,
|
|
58060
58080
|
oJ as ConfirmDialog,
|
|
58061
58081
|
zZ as CopyToClipboard,
|
|
58062
58082
|
N3e as CustomEventScatter,
|
|
58063
58083
|
DA as CustomToolTip,
|
|
58064
|
-
|
|
58084
|
+
cRe as DDRRItem,
|
|
58065
58085
|
hr as DataType,
|
|
58066
58086
|
eh as DatePicker,
|
|
58067
58087
|
sTe as Delete,
|
|
58068
58088
|
Oc as Dialog,
|
|
58069
|
-
|
|
58089
|
+
mke as DoubleColumnGridBox,
|
|
58070
58090
|
VZ as Drawer,
|
|
58071
|
-
|
|
58072
|
-
|
|
58091
|
+
ARe as ExternalSvg,
|
|
58092
|
+
DRe as FallbackTypography,
|
|
58073
58093
|
mPe as FilterSort,
|
|
58074
|
-
|
|
58094
|
+
wRe as FilteredList,
|
|
58075
58095
|
WZ as FlagButton,
|
|
58076
58096
|
yn as FlexBox,
|
|
58077
58097
|
MZ as FormPaper,
|
|
58078
|
-
|
|
58098
|
+
jRe as France,
|
|
58079
58099
|
jM as FullPageFlexBox,
|
|
58080
58100
|
yZ as FullPageWrapper,
|
|
58081
58101
|
sf as FullSizeCenteredColumn,
|
|
58082
58102
|
ih as FullSizeCenteredFlexBox,
|
|
58083
58103
|
Vu as FullSizeColumn,
|
|
58084
58104
|
go as FullSizeFlexBox,
|
|
58085
|
-
|
|
58086
|
-
|
|
58087
|
-
|
|
58088
|
-
|
|
58089
|
-
|
|
58090
|
-
|
|
58091
|
-
|
|
58092
|
-
|
|
58093
|
-
|
|
58094
|
-
|
|
58095
|
-
|
|
58096
|
-
|
|
58097
|
-
|
|
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,
|
|
58098
58118
|
Ao as KeyButton,
|
|
58099
58119
|
Iv as KeyboardStatus,
|
|
58100
58120
|
rJ as Keypad,
|
|
58101
|
-
|
|
58102
|
-
|
|
58121
|
+
yRe as LanguageSelector,
|
|
58122
|
+
Qke as LineChartComponent,
|
|
58103
58123
|
zd as ListItem,
|
|
58104
58124
|
EF as ListWrapper,
|
|
58105
58125
|
oS as LoadingComponent,
|
|
58106
|
-
|
|
58107
|
-
|
|
58108
|
-
|
|
58126
|
+
_Re as Looper,
|
|
58127
|
+
Dke as Main,
|
|
58128
|
+
kke as MenuButton,
|
|
58109
58129
|
FZ as MenuWrapper,
|
|
58110
58130
|
I3 as MobileContext,
|
|
58111
|
-
|
|
58112
|
-
|
|
58113
|
-
|
|
58114
|
-
|
|
58131
|
+
bRe as MobileProvider,
|
|
58132
|
+
mRe as MultipleSelect,
|
|
58133
|
+
kRe as Navbar,
|
|
58134
|
+
VRe as NotificationsProvider,
|
|
58115
58135
|
UZ as OPEN_DRAWER_WIDTH,
|
|
58116
58136
|
no as Operators,
|
|
58117
|
-
|
|
58137
|
+
xRe as PaginatedList,
|
|
58118
58138
|
PPe as PaginationFilters,
|
|
58119
58139
|
AZ as PaginationProvider,
|
|
58120
58140
|
UPe as PaginationSortings,
|
|
58121
|
-
|
|
58141
|
+
rRe as PieSingleChartComponent,
|
|
58122
58142
|
pl as Position,
|
|
58123
|
-
|
|
58124
|
-
|
|
58143
|
+
MRe as PressSvg,
|
|
58144
|
+
IRe as ProgressBar,
|
|
58125
58145
|
gI as RadDialog,
|
|
58126
58146
|
bTe as RadSection,
|
|
58127
58147
|
yTe as RadTable,
|
|
58128
58148
|
hF as Radio,
|
|
58129
|
-
|
|
58130
|
-
|
|
58149
|
+
KRe as RelayEnvironmentProvider,
|
|
58150
|
+
ERe as Resizable,
|
|
58131
58151
|
RZ as RoundedTabs,
|
|
58132
|
-
|
|
58133
|
-
|
|
58134
|
-
|
|
58135
|
-
|
|
58152
|
+
X6e as RouteTypes,
|
|
58153
|
+
SRe as RouteWrapper,
|
|
58154
|
+
ORe as Scanner,
|
|
58155
|
+
iRe as ScatterChartComponent,
|
|
58136
58156
|
bPe as SearchField,
|
|
58137
58157
|
Bh as Section,
|
|
58138
58158
|
cI as Select,
|
|
58139
|
-
|
|
58140
|
-
|
|
58141
|
-
|
|
58142
|
-
|
|
58159
|
+
Mke as Sidebar,
|
|
58160
|
+
PRe as SortableContent,
|
|
58161
|
+
TRe as SortableContentNew,
|
|
58162
|
+
BRe as Spain,
|
|
58143
58163
|
DZ as StandardTabs,
|
|
58144
|
-
|
|
58164
|
+
bke as StateProvider,
|
|
58145
58165
|
ek as TRANSITION_DURATION,
|
|
58146
58166
|
kZ as TabPanel,
|
|
58147
58167
|
cTe as Table,
|
|
58148
|
-
|
|
58168
|
+
O5e as TableHeader,
|
|
58149
58169
|
hI as TableRow,
|
|
58150
58170
|
uTe as TableToolbar,
|
|
58151
58171
|
LZ as Tabs,
|
|
58152
58172
|
QZ as TextField,
|
|
58153
58173
|
iJ as TextFieldWithKeyboard,
|
|
58154
|
-
|
|
58174
|
+
Ake as ThemeProvider,
|
|
58155
58175
|
Sd as Themes,
|
|
58156
|
-
|
|
58157
|
-
|
|
58176
|
+
uRe as TimelineChart,
|
|
58177
|
+
P5e as TitleRow,
|
|
58158
58178
|
qZ as ToggleSwitch,
|
|
58159
58179
|
bT as ToolButton,
|
|
58160
|
-
|
|
58161
|
-
|
|
58180
|
+
yke as TripleColumnGridBox,
|
|
58181
|
+
zRe as Tunisia,
|
|
58162
58182
|
Hs as Types,
|
|
58163
|
-
|
|
58164
|
-
|
|
58165
|
-
|
|
58166
|
-
|
|
58167
|
-
|
|
58168
|
-
|
|
58169
|
-
|
|
58170
|
-
|
|
58171
|
-
|
|
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,
|
|
58172
58192
|
td as computeCursor,
|
|
58173
58193
|
yT as coreTheme,
|
|
58174
|
-
|
|
58175
|
-
|
|
58194
|
+
Y6e as createRelayEnvironment,
|
|
58195
|
+
iDe as extractEdges,
|
|
58176
58196
|
mI as formatDateTime,
|
|
58177
58197
|
APe as formatDateToYYYYMMDD,
|
|
58178
|
-
|
|
58198
|
+
x4e as formatDuration,
|
|
58179
58199
|
hTe as formatFormData,
|
|
58180
58200
|
Kz as formatNumber,
|
|
58181
58201
|
mTe as formatRecordsData,
|
|
58182
58202
|
Rm as getDateFormat,
|
|
58183
|
-
|
|
58184
|
-
|
|
58185
|
-
|
|
58186
|
-
|
|
58187
|
-
|
|
58203
|
+
YRe as getRoutes,
|
|
58204
|
+
lRe as handleDragEnd,
|
|
58205
|
+
fRe as handleResetDraggable,
|
|
58206
|
+
dRe as handleSnackbarClose,
|
|
58207
|
+
URe as initi18n,
|
|
58188
58208
|
zh as isValidDate,
|
|
58189
|
-
|
|
58190
|
-
|
|
58191
|
-
|
|
58192
|
-
|
|
58209
|
+
XRe as jotaiAdapter,
|
|
58210
|
+
wDe as logger,
|
|
58211
|
+
mDe as openTelemetry,
|
|
58212
|
+
ZRe as recoilAdapter,
|
|
58193
58213
|
_Pe as renderFilters,
|
|
58194
58214
|
lTe as renderFormFields,
|
|
58195
58215
|
_M as subscriptionUpdater,
|
|
58196
|
-
|
|
58216
|
+
eDe as subtractToDate,
|
|
58197
58217
|
$Z as themes,
|
|
58198
|
-
|
|
58218
|
+
bDe as truncateText,
|
|
58199
58219
|
aS as useArray,
|
|
58200
58220
|
QM as useAuthContext,
|
|
58201
58221
|
TZ as useBreadCrumbs,
|
|
@@ -58207,12 +58227,12 @@ export {
|
|
|
58207
58227
|
na as useGState,
|
|
58208
58228
|
IZ as useHotKeysDialog,
|
|
58209
58229
|
EZ as useIdleTimer,
|
|
58210
|
-
|
|
58230
|
+
wke as useInfiniteQuery,
|
|
58211
58231
|
ZM as useLanguageDialog,
|
|
58212
58232
|
Yh as useMediaQuery,
|
|
58213
|
-
|
|
58233
|
+
xke as useOrientation,
|
|
58214
58234
|
YM as usePagination,
|
|
58215
|
-
|
|
58235
|
+
Ske as useRfid,
|
|
58216
58236
|
PZ as useScanner,
|
|
58217
58237
|
uS as useScroll,
|
|
58218
58238
|
KM as useSettings,
|
|
@@ -58220,5 +58240,5 @@ export {
|
|
|
58220
58240
|
GM as useSorts,
|
|
58221
58241
|
ka as useTheme,
|
|
58222
58242
|
CZ as useVirtualKeyboard,
|
|
58223
|
-
|
|
58243
|
+
Eke as useVisibilityChange
|
|
58224
58244
|
};
|