@launchdarkly/o11y 1.3.1 → 1.4.1
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/CHANGELOG.md +22 -0
- package/dist/LDObserve-BQr7RYVC.js +130 -0
- package/dist/LDObserve-BQr7RYVC.js.map +1 -0
- package/dist/LDObserve.d.ts +73 -1
- package/dist/LDObserve.js +2 -2
- package/dist/LDRecord.d.ts +73 -1
- package/dist/LDRecord.js +43 -24
- package/dist/LDRecord.js.map +1 -1
- package/dist/buffer-CwCRPuMA.js +248 -0
- package/dist/buffer-CwCRPuMA.js.map +1 -0
- package/dist/{common-BjaGmQrE.js → common-D8kkCWo3.js} +721 -689
- package/dist/{common-BjaGmQrE.js.map → common-D8kkCWo3.js.map} +1 -1
- package/dist/index.d.ts +103 -5
- package/dist/index.js +335 -365
- package/dist/index.js.map +1 -1
- package/dist/index.umd.js +112 -112
- package/dist/index.umd.js.map +1 -1
- package/dist/{observe-D78YYNE1.js → observe-BCebRa17.js} +2055 -2044
- package/dist/{observe-D78YYNE1.js.map → observe-BCebRa17.js.map} +1 -1
- package/dist/observe.d.ts +21 -1
- package/dist/observe.js +4 -4
- package/dist/{record-BZHDLKsW.js → record-DG2IcHxO.js} +38 -47
- package/dist/{record-BZHDLKsW.js.map → record-DG2IcHxO.js.map} +1 -1
- package/dist/record.d.ts +24 -2
- package/dist/record.js +3 -3
- package/package.json +1 -1
- package/dist/LDObserve-DhF3vCDR.js +0 -92
- package/dist/LDObserve-DhF3vCDR.js.map +0 -1
- package/dist/buffer-BjzLorpP.js +0 -124
- package/dist/buffer-BjzLorpP.js.map +0 -1
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var an = Object.defineProperty, cn = Object.defineProperties;
|
|
2
|
+
var un = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var le = Object.getOwnPropertySymbols;
|
|
4
|
+
var ot = Object.prototype.hasOwnProperty, at = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var De = (e, t) => (t = Symbol[e]) ? t : Symbol.for("Symbol." + e), ln = (e) => {
|
|
6
6
|
throw TypeError(e);
|
|
7
7
|
};
|
|
8
|
-
var
|
|
8
|
+
var we = (e, t, n) => t in e ? an(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, E = (e, t) => {
|
|
9
9
|
for (var n in t || (t = {}))
|
|
10
|
-
|
|
11
|
-
if (
|
|
12
|
-
for (var n of
|
|
13
|
-
|
|
10
|
+
ot.call(t, n) && we(e, n, t[n]);
|
|
11
|
+
if (le)
|
|
12
|
+
for (var n of le(t))
|
|
13
|
+
at.call(t, n) && we(e, n, t[n]);
|
|
14
14
|
return e;
|
|
15
|
-
},
|
|
15
|
+
}, B = (e, t) => cn(e, un(t));
|
|
16
16
|
var G = (e, t) => {
|
|
17
17
|
var n = {};
|
|
18
18
|
for (var r in e)
|
|
19
|
-
|
|
20
|
-
if (e != null &&
|
|
21
|
-
for (var r of
|
|
22
|
-
t.indexOf(r) < 0 &&
|
|
19
|
+
ot.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
20
|
+
if (e != null && le)
|
|
21
|
+
for (var r of le(e))
|
|
22
|
+
t.indexOf(r) < 0 && at.call(e, r) && (n[r] = e[r]);
|
|
23
23
|
return n;
|
|
24
24
|
};
|
|
25
|
-
var Y = (e, t, n) =>
|
|
26
|
-
var
|
|
25
|
+
var Y = (e, t, n) => we(e, typeof t != "symbol" ? t + "" : t, n);
|
|
26
|
+
var V = (e, t, n) => new Promise((r, i) => {
|
|
27
27
|
var s = (c) => {
|
|
28
28
|
try {
|
|
29
29
|
a(n.next(c));
|
|
@@ -38,46 +38,46 @@ var B = (e, t, n) => new Promise((r, i) => {
|
|
|
38
38
|
}
|
|
39
39
|
}, a = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(s, o);
|
|
40
40
|
a((n = n.apply(e, t)).next());
|
|
41
|
-
}),
|
|
41
|
+
}), fn = function(e, t) {
|
|
42
42
|
this[0] = e, this[1] = t;
|
|
43
43
|
};
|
|
44
|
-
var
|
|
45
|
-
var t = e[
|
|
46
|
-
return t == null ? (t = e[
|
|
44
|
+
var Ce = (e) => {
|
|
45
|
+
var t = e[De("asyncIterator")], n = !1, r, i = {};
|
|
46
|
+
return t == null ? (t = e[De("iterator")](), r = (s) => i[s] = (o) => t[s](o)) : (t = t.call(e), r = (s) => i[s] = (o) => {
|
|
47
47
|
if (n) {
|
|
48
48
|
if (n = !1, s === "throw") throw o;
|
|
49
49
|
return o;
|
|
50
50
|
}
|
|
51
51
|
return n = !0, {
|
|
52
52
|
done: !1,
|
|
53
|
-
value: new
|
|
53
|
+
value: new fn(new Promise((a) => {
|
|
54
54
|
var c = t[s](o);
|
|
55
|
-
c instanceof Object ||
|
|
55
|
+
c instanceof Object || ln("Object expected"), a(c);
|
|
56
56
|
}), 1)
|
|
57
57
|
};
|
|
58
|
-
}), i[
|
|
58
|
+
}), i[De("iterator")] = () => i, r("next"), "throw" in t ? r("throw") : i.throw = (s) => {
|
|
59
59
|
throw s;
|
|
60
60
|
}, "return" in t && r("return"), i;
|
|
61
61
|
};
|
|
62
|
-
import { d as $, a as
|
|
63
|
-
function
|
|
62
|
+
import { d as $, a as hn, B as dn, i as ct } from "./buffer-CwCRPuMA.js";
|
|
63
|
+
function me(e, t) {
|
|
64
64
|
if (!!!e)
|
|
65
65
|
throw new Error(t);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function pn(e) {
|
|
68
68
|
return typeof e == "object" && e !== null;
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function mn(e, t) {
|
|
71
71
|
if (!!!e)
|
|
72
72
|
throw new Error(
|
|
73
73
|
"Unexpected invariant triggered."
|
|
74
74
|
);
|
|
75
75
|
}
|
|
76
|
-
const
|
|
77
|
-
function
|
|
76
|
+
const gn = /\r\n|[\n\r]/g;
|
|
77
|
+
function Be(e, t) {
|
|
78
78
|
let n = 0, r = 1;
|
|
79
|
-
for (const i of e.body.matchAll(
|
|
80
|
-
if (typeof i.index == "number" ||
|
|
79
|
+
for (const i of e.body.matchAll(gn)) {
|
|
80
|
+
if (typeof i.index == "number" || mn(!1), i.index >= t)
|
|
81
81
|
break;
|
|
82
82
|
n = i.index + i[0].length, r += 1;
|
|
83
83
|
}
|
|
@@ -86,27 +86,27 @@ function Ue(e, t) {
|
|
|
86
86
|
column: t + 1 - n
|
|
87
87
|
};
|
|
88
88
|
}
|
|
89
|
-
function
|
|
90
|
-
return
|
|
89
|
+
function yn(e) {
|
|
90
|
+
return xt(
|
|
91
91
|
e.source,
|
|
92
|
-
|
|
92
|
+
Be(e.source, e.start)
|
|
93
93
|
);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function xt(e, t) {
|
|
96
96
|
const n = e.locationOffset.column - 1, r = "".padStart(n) + e.body, i = t.line - 1, s = e.locationOffset.line - 1, o = t.line + s, a = t.line === 1 ? n : 0, c = t.column + a, f = `${e.name}:${o}:${c}
|
|
97
97
|
`, h = r.split(/\r\n|[\n\r]/g), m = h[i];
|
|
98
98
|
if (m.length > 120) {
|
|
99
|
-
const
|
|
99
|
+
const _ = Math.floor(c / 80), v = c % 80, y = [];
|
|
100
100
|
for (let N = 0; N < m.length; N += 80)
|
|
101
101
|
y.push(m.slice(N, N + 80));
|
|
102
|
-
return f +
|
|
102
|
+
return f + ut([
|
|
103
103
|
[`${o} |`, y[0]],
|
|
104
|
-
...y.slice(1,
|
|
105
|
-
["|", "^".padStart(
|
|
106
|
-
["|", y[
|
|
104
|
+
...y.slice(1, _ + 1).map((N) => ["|", N]),
|
|
105
|
+
["|", "^".padStart(v)],
|
|
106
|
+
["|", y[_ + 1]]
|
|
107
107
|
]);
|
|
108
108
|
}
|
|
109
|
-
return f +
|
|
109
|
+
return f + ut([
|
|
110
110
|
// Lines specified like this: ["prefix", "string"],
|
|
111
111
|
[`${o - 1} |`, h[i - 1]],
|
|
112
112
|
[`${o} |`, m],
|
|
@@ -114,12 +114,12 @@ function At(e, t) {
|
|
|
114
114
|
[`${o + 1} |`, h[i + 1]]
|
|
115
115
|
]);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function ut(e) {
|
|
118
118
|
const t = e.filter(([r, i]) => i !== void 0), n = Math.max(...t.map(([r]) => r.length));
|
|
119
119
|
return t.map(([r, i]) => r.padStart(n) + (i ? " " + i : "")).join(`
|
|
120
120
|
`);
|
|
121
121
|
}
|
|
122
|
-
function
|
|
122
|
+
function En(e) {
|
|
123
123
|
const t = e[0];
|
|
124
124
|
return t == null || "kind" in t || "length" in t ? {
|
|
125
125
|
nodes: t,
|
|
@@ -130,7 +130,7 @@ function dn(e) {
|
|
|
130
130
|
extensions: e[5]
|
|
131
131
|
} : t;
|
|
132
132
|
}
|
|
133
|
-
class
|
|
133
|
+
class Ke extends Error {
|
|
134
134
|
/**
|
|
135
135
|
* An array of `{ line, column }` locations within the source GraphQL document
|
|
136
136
|
* which correspond to this error.
|
|
@@ -171,18 +171,18 @@ class Qe extends Error {
|
|
|
171
171
|
*/
|
|
172
172
|
constructor(t, ...n) {
|
|
173
173
|
var r, i, s;
|
|
174
|
-
const { nodes: o, source: a, positions: c, path: f, originalError: h, extensions: m } =
|
|
175
|
-
super(t), this.name = "GraphQLError", this.path = f != null ? f : void 0, this.originalError = h != null ? h : void 0, this.nodes =
|
|
174
|
+
const { nodes: o, source: a, positions: c, path: f, originalError: h, extensions: m } = En(n);
|
|
175
|
+
super(t), this.name = "GraphQLError", this.path = f != null ? f : void 0, this.originalError = h != null ? h : void 0, this.nodes = lt(
|
|
176
176
|
Array.isArray(o) ? o : o ? [o] : void 0
|
|
177
177
|
);
|
|
178
|
-
const
|
|
178
|
+
const _ = lt(
|
|
179
179
|
(r = this.nodes) === null || r === void 0 ? void 0 : r.map((y) => y.loc).filter((y) => y != null)
|
|
180
180
|
);
|
|
181
|
-
this.source = a != null ? a :
|
|
182
|
-
const
|
|
181
|
+
this.source = a != null ? a : _ == null || (i = _[0]) === null || i === void 0 ? void 0 : i.source, this.positions = c != null ? c : _ == null ? void 0 : _.map((y) => y.start), this.locations = c && a ? c.map((y) => Be(a, y)) : _ == null ? void 0 : _.map((y) => Be(y.source, y.start));
|
|
182
|
+
const v = pn(
|
|
183
183
|
h == null ? void 0 : h.extensions
|
|
184
184
|
) ? h == null ? void 0 : h.extensions : void 0;
|
|
185
|
-
this.extensions = (s = m != null ? m :
|
|
185
|
+
this.extensions = (s = m != null ? m : v) !== null && s !== void 0 ? s : /* @__PURE__ */ Object.create(null), Object.defineProperties(this, {
|
|
186
186
|
message: {
|
|
187
187
|
writable: !0,
|
|
188
188
|
enumerable: !0
|
|
@@ -206,7 +206,7 @@ class Qe extends Error {
|
|
|
206
206
|
value: h.stack,
|
|
207
207
|
writable: !0,
|
|
208
208
|
configurable: !0
|
|
209
|
-
}) : Error.captureStackTrace ? Error.captureStackTrace(this,
|
|
209
|
+
}) : Error.captureStackTrace ? Error.captureStackTrace(this, Ke) : Object.defineProperty(this, "stack", {
|
|
210
210
|
value: Error().stack,
|
|
211
211
|
writable: !0,
|
|
212
212
|
configurable: !0
|
|
@@ -221,12 +221,12 @@ class Qe extends Error {
|
|
|
221
221
|
for (const n of this.nodes)
|
|
222
222
|
n.loc && (t += `
|
|
223
223
|
|
|
224
|
-
` +
|
|
224
|
+
` + yn(n.loc));
|
|
225
225
|
else if (this.source && this.locations)
|
|
226
226
|
for (const n of this.locations)
|
|
227
227
|
t += `
|
|
228
228
|
|
|
229
|
-
` +
|
|
229
|
+
` + xt(this.source, n);
|
|
230
230
|
return t;
|
|
231
231
|
}
|
|
232
232
|
toJSON() {
|
|
@@ -236,16 +236,16 @@ class Qe extends Error {
|
|
|
236
236
|
return this.locations != null && (t.locations = this.locations), this.path != null && (t.path = this.path), this.extensions != null && Object.keys(this.extensions).length > 0 && (t.extensions = this.extensions), t;
|
|
237
237
|
}
|
|
238
238
|
}
|
|
239
|
-
function
|
|
239
|
+
function lt(e) {
|
|
240
240
|
return e === void 0 || e.length === 0 ? void 0 : e;
|
|
241
241
|
}
|
|
242
242
|
function O(e, t, n) {
|
|
243
|
-
return new
|
|
243
|
+
return new Ke(`Syntax Error: ${n}`, {
|
|
244
244
|
source: e,
|
|
245
245
|
positions: [t]
|
|
246
246
|
});
|
|
247
247
|
}
|
|
248
|
-
class
|
|
248
|
+
class _n {
|
|
249
249
|
/**
|
|
250
250
|
* The character offset at which this Node begins.
|
|
251
251
|
*/
|
|
@@ -274,7 +274,7 @@ class pn {
|
|
|
274
274
|
};
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
-
class
|
|
277
|
+
class Ot {
|
|
278
278
|
/**
|
|
279
279
|
* The kind of Token.
|
|
280
280
|
*/
|
|
@@ -316,7 +316,7 @@ class Nt {
|
|
|
316
316
|
};
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
|
-
const
|
|
319
|
+
const Dt = {
|
|
320
320
|
Name: [],
|
|
321
321
|
Document: ["definitions"],
|
|
322
322
|
OperationDefinition: [
|
|
@@ -390,45 +390,45 @@ const It = {
|
|
|
390
390
|
UnionTypeExtension: ["name", "directives", "types"],
|
|
391
391
|
EnumTypeExtension: ["name", "directives", "values"],
|
|
392
392
|
InputObjectTypeExtension: ["name", "directives", "fields"]
|
|
393
|
-
},
|
|
394
|
-
function
|
|
393
|
+
}, Tn = new Set(Object.keys(Dt));
|
|
394
|
+
function ft(e) {
|
|
395
395
|
const t = e == null ? void 0 : e.kind;
|
|
396
|
-
return typeof t == "string" &&
|
|
396
|
+
return typeof t == "string" && Tn.has(t);
|
|
397
397
|
}
|
|
398
398
|
var X;
|
|
399
399
|
(function(e) {
|
|
400
400
|
e.QUERY = "query", e.MUTATION = "mutation", e.SUBSCRIPTION = "subscription";
|
|
401
401
|
})(X || (X = {}));
|
|
402
|
-
var
|
|
402
|
+
var Ve;
|
|
403
403
|
(function(e) {
|
|
404
404
|
e.QUERY = "QUERY", e.MUTATION = "MUTATION", e.SUBSCRIPTION = "SUBSCRIPTION", e.FIELD = "FIELD", e.FRAGMENT_DEFINITION = "FRAGMENT_DEFINITION", e.FRAGMENT_SPREAD = "FRAGMENT_SPREAD", e.INLINE_FRAGMENT = "INLINE_FRAGMENT", e.VARIABLE_DEFINITION = "VARIABLE_DEFINITION", e.SCHEMA = "SCHEMA", e.SCALAR = "SCALAR", e.OBJECT = "OBJECT", e.FIELD_DEFINITION = "FIELD_DEFINITION", e.ARGUMENT_DEFINITION = "ARGUMENT_DEFINITION", e.INTERFACE = "INTERFACE", e.UNION = "UNION", e.ENUM = "ENUM", e.ENUM_VALUE = "ENUM_VALUE", e.INPUT_OBJECT = "INPUT_OBJECT", e.INPUT_FIELD_DEFINITION = "INPUT_FIELD_DEFINITION";
|
|
405
|
-
})(
|
|
405
|
+
})(Ve || (Ve = {}));
|
|
406
406
|
var g;
|
|
407
407
|
(function(e) {
|
|
408
408
|
e.NAME = "Name", e.DOCUMENT = "Document", e.OPERATION_DEFINITION = "OperationDefinition", e.VARIABLE_DEFINITION = "VariableDefinition", e.SELECTION_SET = "SelectionSet", e.FIELD = "Field", e.ARGUMENT = "Argument", e.FRAGMENT_SPREAD = "FragmentSpread", e.INLINE_FRAGMENT = "InlineFragment", e.FRAGMENT_DEFINITION = "FragmentDefinition", e.VARIABLE = "Variable", e.INT = "IntValue", e.FLOAT = "FloatValue", e.STRING = "StringValue", e.BOOLEAN = "BooleanValue", e.NULL = "NullValue", e.ENUM = "EnumValue", e.LIST = "ListValue", e.OBJECT = "ObjectValue", e.OBJECT_FIELD = "ObjectField", e.DIRECTIVE = "Directive", e.NAMED_TYPE = "NamedType", e.LIST_TYPE = "ListType", e.NON_NULL_TYPE = "NonNullType", e.SCHEMA_DEFINITION = "SchemaDefinition", e.OPERATION_TYPE_DEFINITION = "OperationTypeDefinition", e.SCALAR_TYPE_DEFINITION = "ScalarTypeDefinition", e.OBJECT_TYPE_DEFINITION = "ObjectTypeDefinition", e.FIELD_DEFINITION = "FieldDefinition", e.INPUT_VALUE_DEFINITION = "InputValueDefinition", e.INTERFACE_TYPE_DEFINITION = "InterfaceTypeDefinition", e.UNION_TYPE_DEFINITION = "UnionTypeDefinition", e.ENUM_TYPE_DEFINITION = "EnumTypeDefinition", e.ENUM_VALUE_DEFINITION = "EnumValueDefinition", e.INPUT_OBJECT_TYPE_DEFINITION = "InputObjectTypeDefinition", e.DIRECTIVE_DEFINITION = "DirectiveDefinition", e.SCHEMA_EXTENSION = "SchemaExtension", e.SCALAR_TYPE_EXTENSION = "ScalarTypeExtension", e.OBJECT_TYPE_EXTENSION = "ObjectTypeExtension", e.INTERFACE_TYPE_EXTENSION = "InterfaceTypeExtension", e.UNION_TYPE_EXTENSION = "UnionTypeExtension", e.ENUM_TYPE_EXTENSION = "EnumTypeExtension", e.INPUT_OBJECT_TYPE_EXTENSION = "InputObjectTypeExtension";
|
|
409
409
|
})(g || (g = {}));
|
|
410
|
-
function
|
|
410
|
+
function je(e) {
|
|
411
411
|
return e === 9 || e === 32;
|
|
412
412
|
}
|
|
413
|
-
function
|
|
413
|
+
function se(e) {
|
|
414
414
|
return e >= 48 && e <= 57;
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function wt(e) {
|
|
417
417
|
return e >= 97 && e <= 122 || // A-Z
|
|
418
418
|
e >= 65 && e <= 90;
|
|
419
419
|
}
|
|
420
|
-
function
|
|
421
|
-
return
|
|
420
|
+
function Ct(e) {
|
|
421
|
+
return wt(e) || e === 95;
|
|
422
422
|
}
|
|
423
|
-
function
|
|
424
|
-
return
|
|
423
|
+
function Sn(e) {
|
|
424
|
+
return wt(e) || se(e) || e === 95;
|
|
425
425
|
}
|
|
426
|
-
function
|
|
426
|
+
function vn(e) {
|
|
427
427
|
var t;
|
|
428
428
|
let n = Number.MAX_SAFE_INTEGER, r = null, i = -1;
|
|
429
429
|
for (let o = 0; o < e.length; ++o) {
|
|
430
430
|
var s;
|
|
431
|
-
const a = e[o], c =
|
|
431
|
+
const a = e[o], c = An(a);
|
|
432
432
|
c !== a.length && (r = (s = r) !== null && s !== void 0 ? s : o, i = o, o !== 0 && c < n && (n = c));
|
|
433
433
|
}
|
|
434
434
|
return e.map((o, a) => a === 0 ? o : o.slice(n)).slice(
|
|
@@ -436,20 +436,20 @@ function yn(e) {
|
|
|
436
436
|
i + 1
|
|
437
437
|
);
|
|
438
438
|
}
|
|
439
|
-
function
|
|
439
|
+
function An(e) {
|
|
440
440
|
let t = 0;
|
|
441
|
-
for (; t < e.length &&
|
|
441
|
+
for (; t < e.length && je(e.charCodeAt(t)); )
|
|
442
442
|
++t;
|
|
443
443
|
return t;
|
|
444
444
|
}
|
|
445
|
-
function
|
|
446
|
-
const n = e.replace(/"""/g, '\\"""'), r = n.split(/\r\n|[\n\r]/g), i = r.length === 1, s = r.length > 1 && r.slice(1).every((
|
|
445
|
+
function Nn(e, t) {
|
|
446
|
+
const n = e.replace(/"""/g, '\\"""'), r = n.split(/\r\n|[\n\r]/g), i = r.length === 1, s = r.length > 1 && r.slice(1).every((v) => v.length === 0 || je(v.charCodeAt(0))), o = n.endsWith('\\"""'), a = e.endsWith('"') && !o, c = e.endsWith("\\"), f = a || c, h = (
|
|
447
447
|
// add leading and trailing new lines only if it improves readability
|
|
448
448
|
!i || e.length > 70 || f || s || o
|
|
449
449
|
);
|
|
450
450
|
let m = "";
|
|
451
|
-
const
|
|
452
|
-
return (h && !
|
|
451
|
+
const _ = i && je(e.charCodeAt(0));
|
|
452
|
+
return (h && !_ || s) && (m += `
|
|
453
453
|
`), m += n, (h || f) && (m += `
|
|
454
454
|
`), '"""' + m + '"""';
|
|
455
455
|
}
|
|
@@ -457,7 +457,7 @@ var l;
|
|
|
457
457
|
(function(e) {
|
|
458
458
|
e.SOF = "<SOF>", e.EOF = "<EOF>", e.BANG = "!", e.DOLLAR = "$", e.AMP = "&", e.PAREN_L = "(", e.PAREN_R = ")", e.SPREAD = "...", e.COLON = ":", e.EQUALS = "=", e.AT = "@", e.BRACKET_L = "[", e.BRACKET_R = "]", e.BRACE_L = "{", e.PIPE = "|", e.BRACE_R = "}", e.NAME = "Name", e.INT = "Int", e.FLOAT = "Float", e.STRING = "String", e.BLOCK_STRING = "BlockString", e.COMMENT = "Comment";
|
|
459
459
|
})(l || (l = {}));
|
|
460
|
-
class
|
|
460
|
+
class In {
|
|
461
461
|
/**
|
|
462
462
|
* The previously focused non-ignored token.
|
|
463
463
|
*/
|
|
@@ -471,7 +471,7 @@ class Tn {
|
|
|
471
471
|
* The character offset at which the current line begins.
|
|
472
472
|
*/
|
|
473
473
|
constructor(t) {
|
|
474
|
-
const n = new
|
|
474
|
+
const n = new Ot(l.SOF, 0, 0, 0, 0);
|
|
475
475
|
this.source = t, this.lastToken = n, this.token = n, this.line = 1, this.lineStart = 0;
|
|
476
476
|
}
|
|
477
477
|
get [Symbol.toStringTag]() {
|
|
@@ -494,29 +494,29 @@ class Tn {
|
|
|
494
494
|
if (t.next)
|
|
495
495
|
t = t.next;
|
|
496
496
|
else {
|
|
497
|
-
const n =
|
|
497
|
+
const n = xn(this, t.end);
|
|
498
498
|
t.next = n, n.prev = t, t = n;
|
|
499
499
|
}
|
|
500
500
|
while (t.kind === l.COMMENT);
|
|
501
501
|
return t;
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
|
-
function
|
|
504
|
+
function bn(e) {
|
|
505
505
|
return e === l.BANG || e === l.DOLLAR || e === l.AMP || e === l.PAREN_L || e === l.PAREN_R || e === l.SPREAD || e === l.COLON || e === l.EQUALS || e === l.AT || e === l.BRACKET_L || e === l.BRACKET_R || e === l.BRACE_L || e === l.PIPE || e === l.BRACE_R;
|
|
506
506
|
}
|
|
507
507
|
function Z(e) {
|
|
508
508
|
return e >= 0 && e <= 55295 || e >= 57344 && e <= 1114111;
|
|
509
509
|
}
|
|
510
|
-
function
|
|
511
|
-
return
|
|
510
|
+
function Ae(e, t) {
|
|
511
|
+
return kt(e.charCodeAt(t)) && Rt(e.charCodeAt(t + 1));
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function kt(e) {
|
|
514
514
|
return e >= 55296 && e <= 56319;
|
|
515
515
|
}
|
|
516
|
-
function
|
|
516
|
+
function Rt(e) {
|
|
517
517
|
return e >= 56320 && e <= 57343;
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function j(e, t) {
|
|
520
520
|
const n = e.source.body.codePointAt(t);
|
|
521
521
|
if (n === void 0)
|
|
522
522
|
return l.EOF;
|
|
@@ -528,9 +528,9 @@ function V(e, t) {
|
|
|
528
528
|
}
|
|
529
529
|
function I(e, t, n, r, i) {
|
|
530
530
|
const s = e.line, o = 1 + n - e.lineStart;
|
|
531
|
-
return new
|
|
531
|
+
return new Ot(t, n, r, s, o, i);
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function xn(e, t) {
|
|
534
534
|
const n = e.source.body, r = n.length;
|
|
535
535
|
let i = t;
|
|
536
536
|
for (; i < r; ) {
|
|
@@ -571,7 +571,7 @@ function Sn(e, t) {
|
|
|
571
571
|
continue;
|
|
572
572
|
// Comment
|
|
573
573
|
case 35:
|
|
574
|
-
return
|
|
574
|
+
return On(e, i);
|
|
575
575
|
// Token ::
|
|
576
576
|
// - Punctuator
|
|
577
577
|
// - Name
|
|
@@ -612,21 +612,21 @@ function Sn(e, t) {
|
|
|
612
612
|
return I(e, l.BRACE_R, i, i + 1);
|
|
613
613
|
// StringValue
|
|
614
614
|
case 34:
|
|
615
|
-
return n.charCodeAt(i + 1) === 34 && n.charCodeAt(i + 2) === 34 ?
|
|
615
|
+
return n.charCodeAt(i + 1) === 34 && n.charCodeAt(i + 2) === 34 ? Ln(e, i) : wn(e, i);
|
|
616
616
|
}
|
|
617
|
-
if (
|
|
618
|
-
return
|
|
619
|
-
if (
|
|
620
|
-
return
|
|
617
|
+
if (se(s) || s === 45)
|
|
618
|
+
return Dn(e, i, s);
|
|
619
|
+
if (Ct(s))
|
|
620
|
+
return Pn(e, i);
|
|
621
621
|
throw O(
|
|
622
622
|
e.source,
|
|
623
623
|
i,
|
|
624
|
-
s === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : Z(s) ||
|
|
624
|
+
s === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : Z(s) || Ae(n, i) ? `Unexpected character: ${j(e, i)}.` : `Invalid character: ${j(e, i)}.`
|
|
625
625
|
);
|
|
626
626
|
}
|
|
627
627
|
return I(e, l.EOF, r, r);
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function On(e, t) {
|
|
630
630
|
const n = e.source.body, r = n.length;
|
|
631
631
|
let i = t + 1;
|
|
632
632
|
for (; i < r; ) {
|
|
@@ -635,7 +635,7 @@ function An(e, t) {
|
|
|
635
635
|
break;
|
|
636
636
|
if (Z(s))
|
|
637
637
|
++i;
|
|
638
|
-
else if (
|
|
638
|
+
else if (Ae(n, i))
|
|
639
639
|
i += 2;
|
|
640
640
|
else
|
|
641
641
|
break;
|
|
@@ -648,26 +648,26 @@ function An(e, t) {
|
|
|
648
648
|
n.slice(t + 1, i)
|
|
649
649
|
);
|
|
650
650
|
}
|
|
651
|
-
function
|
|
651
|
+
function Dn(e, t, n) {
|
|
652
652
|
const r = e.source.body;
|
|
653
653
|
let i = t, s = n, o = !1;
|
|
654
654
|
if (s === 45 && (s = r.charCodeAt(++i)), s === 48) {
|
|
655
|
-
if (s = r.charCodeAt(++i),
|
|
655
|
+
if (s = r.charCodeAt(++i), se(s))
|
|
656
656
|
throw O(
|
|
657
657
|
e.source,
|
|
658
658
|
i,
|
|
659
|
-
`Invalid number, unexpected digit after 0: ${
|
|
659
|
+
`Invalid number, unexpected digit after 0: ${j(
|
|
660
660
|
e,
|
|
661
661
|
i
|
|
662
662
|
)}.`
|
|
663
663
|
);
|
|
664
664
|
} else
|
|
665
|
-
i =
|
|
666
|
-
if (s === 46 && (o = !0, s = r.charCodeAt(++i), i =
|
|
665
|
+
i = ke(e, i, s), s = r.charCodeAt(i);
|
|
666
|
+
if (s === 46 && (o = !0, s = r.charCodeAt(++i), i = ke(e, i, s), s = r.charCodeAt(i)), (s === 69 || s === 101) && (o = !0, s = r.charCodeAt(++i), (s === 43 || s === 45) && (s = r.charCodeAt(++i)), i = ke(e, i, s), s = r.charCodeAt(i)), s === 46 || Ct(s))
|
|
667
667
|
throw O(
|
|
668
668
|
e.source,
|
|
669
669
|
i,
|
|
670
|
-
`Invalid number, expected digit but got: ${
|
|
670
|
+
`Invalid number, expected digit but got: ${j(
|
|
671
671
|
e,
|
|
672
672
|
i
|
|
673
673
|
)}.`
|
|
@@ -680,23 +680,23 @@ function Nn(e, t, n) {
|
|
|
680
680
|
r.slice(t, i)
|
|
681
681
|
);
|
|
682
682
|
}
|
|
683
|
-
function
|
|
684
|
-
if (!
|
|
683
|
+
function ke(e, t, n) {
|
|
684
|
+
if (!se(n))
|
|
685
685
|
throw O(
|
|
686
686
|
e.source,
|
|
687
687
|
t,
|
|
688
|
-
`Invalid number, expected digit but got: ${
|
|
688
|
+
`Invalid number, expected digit but got: ${j(
|
|
689
689
|
e,
|
|
690
690
|
t
|
|
691
691
|
)}.`
|
|
692
692
|
);
|
|
693
693
|
const r = e.source.body;
|
|
694
694
|
let i = t + 1;
|
|
695
|
-
for (;
|
|
695
|
+
for (; se(r.charCodeAt(i)); )
|
|
696
696
|
++i;
|
|
697
697
|
return i;
|
|
698
698
|
}
|
|
699
|
-
function
|
|
699
|
+
function wn(e, t) {
|
|
700
700
|
const n = e.source.body, r = n.length;
|
|
701
701
|
let i = t + 1, s = i, o = "";
|
|
702
702
|
for (; i < r; ) {
|
|
@@ -705,7 +705,7 @@ function In(e, t) {
|
|
|
705
705
|
return o += n.slice(s, i), I(e, l.STRING, t, i + 1, o);
|
|
706
706
|
if (a === 92) {
|
|
707
707
|
o += n.slice(s, i);
|
|
708
|
-
const c = n.charCodeAt(i + 1) === 117 ? n.charCodeAt(i + 2) === 123 ?
|
|
708
|
+
const c = n.charCodeAt(i + 1) === 117 ? n.charCodeAt(i + 2) === 123 ? Cn(e, i) : kn(e, i) : Rn(e, i);
|
|
709
709
|
o += c.value, i += c.size, s = i;
|
|
710
710
|
continue;
|
|
711
711
|
}
|
|
@@ -713,13 +713,13 @@ function In(e, t) {
|
|
|
713
713
|
break;
|
|
714
714
|
if (Z(a))
|
|
715
715
|
++i;
|
|
716
|
-
else if (
|
|
716
|
+
else if (Ae(n, i))
|
|
717
717
|
i += 2;
|
|
718
718
|
else
|
|
719
719
|
throw O(
|
|
720
720
|
e.source,
|
|
721
721
|
i,
|
|
722
|
-
`Invalid character within String: ${
|
|
722
|
+
`Invalid character within String: ${j(
|
|
723
723
|
e,
|
|
724
724
|
i
|
|
725
725
|
)}.`
|
|
@@ -727,7 +727,7 @@ function In(e, t) {
|
|
|
727
727
|
}
|
|
728
728
|
throw O(e.source, i, "Unterminated string.");
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function Cn(e, t) {
|
|
731
731
|
const n = e.source.body;
|
|
732
732
|
let r = 0, i = 3;
|
|
733
733
|
for (; i < 12; ) {
|
|
@@ -752,16 +752,16 @@ function bn(e, t) {
|
|
|
752
752
|
)}".`
|
|
753
753
|
);
|
|
754
754
|
}
|
|
755
|
-
function
|
|
756
|
-
const n = e.source.body, r =
|
|
755
|
+
function kn(e, t) {
|
|
756
|
+
const n = e.source.body, r = ht(n, t + 2);
|
|
757
757
|
if (Z(r))
|
|
758
758
|
return {
|
|
759
759
|
value: String.fromCodePoint(r),
|
|
760
760
|
size: 6
|
|
761
761
|
};
|
|
762
|
-
if (
|
|
763
|
-
const i =
|
|
764
|
-
if (
|
|
762
|
+
if (kt(r) && n.charCodeAt(t + 6) === 92 && n.charCodeAt(t + 7) === 117) {
|
|
763
|
+
const i = ht(n, t + 8);
|
|
764
|
+
if (Rt(i))
|
|
765
765
|
return {
|
|
766
766
|
value: String.fromCodePoint(r, i),
|
|
767
767
|
size: 12
|
|
@@ -773,13 +773,13 @@ function xn(e, t) {
|
|
|
773
773
|
`Invalid Unicode escape sequence: "${n.slice(t, t + 6)}".`
|
|
774
774
|
);
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function ht(e, t) {
|
|
777
777
|
return re(e.charCodeAt(t)) << 12 | re(e.charCodeAt(t + 1)) << 8 | re(e.charCodeAt(t + 2)) << 4 | re(e.charCodeAt(t + 3));
|
|
778
778
|
}
|
|
779
779
|
function re(e) {
|
|
780
780
|
return e >= 48 && e <= 57 ? e - 48 : e >= 65 && e <= 70 ? e - 55 : e >= 97 && e <= 102 ? e - 87 : -1;
|
|
781
781
|
}
|
|
782
|
-
function
|
|
782
|
+
function Rn(e, t) {
|
|
783
783
|
const n = e.source.body;
|
|
784
784
|
switch (n.charCodeAt(t + 1)) {
|
|
785
785
|
case 34:
|
|
@@ -833,7 +833,7 @@ function On(e, t) {
|
|
|
833
833
|
)}".`
|
|
834
834
|
);
|
|
835
835
|
}
|
|
836
|
-
function
|
|
836
|
+
function Ln(e, t) {
|
|
837
837
|
const n = e.source.body, r = n.length;
|
|
838
838
|
let i = e.lineStart, s = t + 3, o = s, a = "";
|
|
839
839
|
const c = [];
|
|
@@ -847,7 +847,7 @@ function Dn(e, t) {
|
|
|
847
847
|
t,
|
|
848
848
|
s + 3,
|
|
849
849
|
// Return a string of the lines joined with U+000A.
|
|
850
|
-
|
|
850
|
+
vn(c).join(`
|
|
851
851
|
`)
|
|
852
852
|
);
|
|
853
853
|
return e.line += c.length - 1, e.lineStart = i, h;
|
|
@@ -862,13 +862,13 @@ function Dn(e, t) {
|
|
|
862
862
|
}
|
|
863
863
|
if (Z(f))
|
|
864
864
|
++s;
|
|
865
|
-
else if (
|
|
865
|
+
else if (Ae(n, s))
|
|
866
866
|
s += 2;
|
|
867
867
|
else
|
|
868
868
|
throw O(
|
|
869
869
|
e.source,
|
|
870
870
|
s,
|
|
871
|
-
`Invalid character within String: ${
|
|
871
|
+
`Invalid character within String: ${j(
|
|
872
872
|
e,
|
|
873
873
|
s
|
|
874
874
|
)}.`
|
|
@@ -876,12 +876,12 @@ function Dn(e, t) {
|
|
|
876
876
|
}
|
|
877
877
|
throw O(e.source, s, "Unterminated string.");
|
|
878
878
|
}
|
|
879
|
-
function
|
|
879
|
+
function Pn(e, t) {
|
|
880
880
|
const n = e.source.body, r = n.length;
|
|
881
881
|
let i = t + 1;
|
|
882
882
|
for (; i < r; ) {
|
|
883
883
|
const s = n.charCodeAt(i);
|
|
884
|
-
if (
|
|
884
|
+
if (Sn(s))
|
|
885
885
|
++i;
|
|
886
886
|
else
|
|
887
887
|
break;
|
|
@@ -894,56 +894,56 @@ function wn(e, t) {
|
|
|
894
894
|
n.slice(t, i)
|
|
895
895
|
);
|
|
896
896
|
}
|
|
897
|
-
const
|
|
898
|
-
function
|
|
899
|
-
return
|
|
897
|
+
const Fn = 10, Lt = 2;
|
|
898
|
+
function We(e) {
|
|
899
|
+
return Ne(e, []);
|
|
900
900
|
}
|
|
901
|
-
function
|
|
901
|
+
function Ne(e, t) {
|
|
902
902
|
switch (typeof e) {
|
|
903
903
|
case "string":
|
|
904
904
|
return JSON.stringify(e);
|
|
905
905
|
case "function":
|
|
906
906
|
return e.name ? `[function ${e.name}]` : "[function]";
|
|
907
907
|
case "object":
|
|
908
|
-
return
|
|
908
|
+
return Mn(e, t);
|
|
909
909
|
default:
|
|
910
910
|
return String(e);
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
|
-
function
|
|
913
|
+
function Mn(e, t) {
|
|
914
914
|
if (e === null)
|
|
915
915
|
return "null";
|
|
916
916
|
if (t.includes(e))
|
|
917
917
|
return "[Circular]";
|
|
918
918
|
const n = [...t, e];
|
|
919
|
-
if (
|
|
919
|
+
if ($n(e)) {
|
|
920
920
|
const r = e.toJSON();
|
|
921
921
|
if (r !== e)
|
|
922
|
-
return typeof r == "string" ? r :
|
|
922
|
+
return typeof r == "string" ? r : Ne(r, n);
|
|
923
923
|
} else if (Array.isArray(e))
|
|
924
|
-
return
|
|
925
|
-
return
|
|
924
|
+
return Bn(e, n);
|
|
925
|
+
return Un(e, n);
|
|
926
926
|
}
|
|
927
|
-
function
|
|
927
|
+
function $n(e) {
|
|
928
928
|
return typeof e.toJSON == "function";
|
|
929
929
|
}
|
|
930
|
-
function
|
|
930
|
+
function Un(e, t) {
|
|
931
931
|
const n = Object.entries(e);
|
|
932
|
-
return n.length === 0 ? "{}" : t.length >
|
|
933
|
-
([i, s]) => i + ": " +
|
|
932
|
+
return n.length === 0 ? "{}" : t.length > Lt ? "[" + Vn(e) + "]" : "{ " + n.map(
|
|
933
|
+
([i, s]) => i + ": " + Ne(s, t)
|
|
934
934
|
).join(", ") + " }";
|
|
935
935
|
}
|
|
936
|
-
function
|
|
936
|
+
function Bn(e, t) {
|
|
937
937
|
if (e.length === 0)
|
|
938
938
|
return "[]";
|
|
939
|
-
if (t.length >
|
|
939
|
+
if (t.length > Lt)
|
|
940
940
|
return "[Array]";
|
|
941
|
-
const n = Math.min(
|
|
941
|
+
const n = Math.min(Fn, e.length), r = e.length - n, i = [];
|
|
942
942
|
for (let s = 0; s < n; ++s)
|
|
943
|
-
i.push(
|
|
943
|
+
i.push(Ne(e[s], t));
|
|
944
944
|
return r === 1 ? i.push("... 1 more item") : r > 1 && i.push(`... ${r} more items`), "[" + i.join(", ") + "]";
|
|
945
945
|
}
|
|
946
|
-
function
|
|
946
|
+
function Vn(e) {
|
|
947
947
|
const t = Object.prototype.toString.call(e).replace(/^\[object /, "").replace(/]$/, "");
|
|
948
948
|
if (t === "Object" && typeof e.constructor == "function") {
|
|
949
949
|
const n = e.constructor.name;
|
|
@@ -952,11 +952,11 @@ function Fn(e) {
|
|
|
952
952
|
}
|
|
953
953
|
return t;
|
|
954
954
|
}
|
|
955
|
-
const
|
|
956
|
-
process.env.NODE_ENV === "production",
|
|
955
|
+
const jn = globalThis.process && // eslint-disable-next-line no-undef
|
|
956
|
+
process.env.NODE_ENV === "production", qn = (
|
|
957
957
|
/* c8 ignore next 6 */
|
|
958
958
|
// FIXME: https://github.com/graphql/graphql-js/issues/2317
|
|
959
|
-
|
|
959
|
+
jn ? function(t, n) {
|
|
960
960
|
return t instanceof n;
|
|
961
961
|
} : function(t, n) {
|
|
962
962
|
if (t instanceof n)
|
|
@@ -968,7 +968,7 @@ process.env.NODE_ENV === "production", $n = (
|
|
|
968
968
|
Symbol.toStringTag in t ? t[Symbol.toStringTag] : (r = t.constructor) === null || r === void 0 ? void 0 : r.name
|
|
969
969
|
);
|
|
970
970
|
if (i === s) {
|
|
971
|
-
const o =
|
|
971
|
+
const o = We(t);
|
|
972
972
|
throw new Error(`Cannot use ${i} "${o}" from another module or realm.
|
|
973
973
|
|
|
974
974
|
Ensure that there is only one instance of "graphql" in the node_modules
|
|
@@ -986,15 +986,15 @@ spurious results.`);
|
|
|
986
986
|
return !1;
|
|
987
987
|
}
|
|
988
988
|
);
|
|
989
|
-
class
|
|
989
|
+
class Pt {
|
|
990
990
|
constructor(t, n = "GraphQL request", r = {
|
|
991
991
|
line: 1,
|
|
992
992
|
column: 1
|
|
993
993
|
}) {
|
|
994
|
-
typeof t == "string" ||
|
|
994
|
+
typeof t == "string" || me(!1, `Body must be a string. Received: ${We(t)}.`), this.body = t, this.name = n, this.locationOffset = r, this.locationOffset.line > 0 || me(
|
|
995
995
|
!1,
|
|
996
996
|
"line in locationOffset is 1-indexed and must be positive."
|
|
997
|
-
), this.locationOffset.column > 0 ||
|
|
997
|
+
), this.locationOffset.column > 0 || me(
|
|
998
998
|
!1,
|
|
999
999
|
"column in locationOffset is 1-indexed and must be positive."
|
|
1000
1000
|
);
|
|
@@ -1003,20 +1003,20 @@ class Ct {
|
|
|
1003
1003
|
return "Source";
|
|
1004
1004
|
}
|
|
1005
1005
|
}
|
|
1006
|
-
function
|
|
1007
|
-
return
|
|
1006
|
+
function Hn(e) {
|
|
1007
|
+
return qn(e, Pt);
|
|
1008
1008
|
}
|
|
1009
|
-
function
|
|
1010
|
-
const n = new
|
|
1009
|
+
function Ft(e, t) {
|
|
1010
|
+
const n = new Gn(e, t), r = n.parseDocument();
|
|
1011
1011
|
return Object.defineProperty(r, "tokenCount", {
|
|
1012
1012
|
enumerable: !1,
|
|
1013
1013
|
value: n.tokenCount
|
|
1014
1014
|
}), r;
|
|
1015
1015
|
}
|
|
1016
|
-
class
|
|
1016
|
+
class Gn {
|
|
1017
1017
|
constructor(t, n = {}) {
|
|
1018
|
-
const r =
|
|
1019
|
-
this._lexer = new
|
|
1018
|
+
const r = Hn(t) ? t : new Pt(t);
|
|
1019
|
+
this._lexer = new In(r), this._options = n, this._tokenCounter = 0;
|
|
1020
1020
|
}
|
|
1021
1021
|
get tokenCount() {
|
|
1022
1022
|
return this._tokenCounter;
|
|
@@ -1716,7 +1716,7 @@ class Bn {
|
|
|
1716
1716
|
throw O(
|
|
1717
1717
|
this._lexer.source,
|
|
1718
1718
|
this._lexer.token.start,
|
|
1719
|
-
`${
|
|
1719
|
+
`${fe(
|
|
1720
1720
|
this._lexer.token
|
|
1721
1721
|
)} is reserved and cannot be used for an enum value.`
|
|
1722
1722
|
);
|
|
@@ -1975,7 +1975,7 @@ class Bn {
|
|
|
1975
1975
|
*/
|
|
1976
1976
|
parseDirectiveLocation() {
|
|
1977
1977
|
const t = this._lexer.token, n = this.parseName();
|
|
1978
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
1978
|
+
if (Object.prototype.hasOwnProperty.call(Ve, n.value))
|
|
1979
1979
|
return n;
|
|
1980
1980
|
throw this.unexpected(t);
|
|
1981
1981
|
}
|
|
@@ -1986,7 +1986,7 @@ class Bn {
|
|
|
1986
1986
|
* given parsed object.
|
|
1987
1987
|
*/
|
|
1988
1988
|
node(t, n) {
|
|
1989
|
-
return this._options.noLocation !== !0 && (n.loc = new
|
|
1989
|
+
return this._options.noLocation !== !0 && (n.loc = new _n(
|
|
1990
1990
|
t,
|
|
1991
1991
|
this._lexer.lastToken,
|
|
1992
1992
|
this._lexer.source
|
|
@@ -2009,7 +2009,7 @@ class Bn {
|
|
|
2009
2009
|
throw O(
|
|
2010
2010
|
this._lexer.source,
|
|
2011
2011
|
n.start,
|
|
2012
|
-
`Expected ${
|
|
2012
|
+
`Expected ${Mt(t)}, found ${fe(n)}.`
|
|
2013
2013
|
);
|
|
2014
2014
|
}
|
|
2015
2015
|
/**
|
|
@@ -2031,7 +2031,7 @@ class Bn {
|
|
|
2031
2031
|
throw O(
|
|
2032
2032
|
this._lexer.source,
|
|
2033
2033
|
n.start,
|
|
2034
|
-
`Expected "${t}", found ${
|
|
2034
|
+
`Expected "${t}", found ${fe(n)}.`
|
|
2035
2035
|
);
|
|
2036
2036
|
}
|
|
2037
2037
|
/**
|
|
@@ -2050,7 +2050,7 @@ class Bn {
|
|
|
2050
2050
|
return O(
|
|
2051
2051
|
this._lexer.source,
|
|
2052
2052
|
n.start,
|
|
2053
|
-
`Unexpected ${
|
|
2053
|
+
`Unexpected ${fe(n)}.`
|
|
2054
2054
|
);
|
|
2055
2055
|
}
|
|
2056
2056
|
/**
|
|
@@ -2117,21 +2117,21 @@ class Bn {
|
|
|
2117
2117
|
);
|
|
2118
2118
|
}
|
|
2119
2119
|
}
|
|
2120
|
-
function
|
|
2120
|
+
function fe(e) {
|
|
2121
2121
|
const t = e.value;
|
|
2122
|
-
return
|
|
2122
|
+
return Mt(e.kind) + (t != null ? ` "${t}"` : "");
|
|
2123
2123
|
}
|
|
2124
|
-
function
|
|
2125
|
-
return
|
|
2124
|
+
function Mt(e) {
|
|
2125
|
+
return bn(e) ? `"${e}"` : e;
|
|
2126
2126
|
}
|
|
2127
|
-
function
|
|
2128
|
-
return `"${e.replace(
|
|
2127
|
+
function Yn(e) {
|
|
2128
|
+
return `"${e.replace(zn, Jn)}"`;
|
|
2129
2129
|
}
|
|
2130
|
-
const
|
|
2131
|
-
function
|
|
2132
|
-
return
|
|
2130
|
+
const zn = /[\x00-\x1f\x22\x5c\x7f-\x9f]/g;
|
|
2131
|
+
function Jn(e) {
|
|
2132
|
+
return Xn[e.charCodeAt(0)];
|
|
2133
2133
|
}
|
|
2134
|
-
const
|
|
2134
|
+
const Xn = [
|
|
2135
2135
|
"\\u0000",
|
|
2136
2136
|
"\\u0001",
|
|
2137
2137
|
"\\u0002",
|
|
@@ -2297,58 +2297,58 @@ const Hn = [
|
|
|
2297
2297
|
"\\u009D",
|
|
2298
2298
|
"\\u009E",
|
|
2299
2299
|
"\\u009F"
|
|
2300
|
-
],
|
|
2301
|
-
function
|
|
2300
|
+
], Qn = Object.freeze({});
|
|
2301
|
+
function Kn(e, t, n = Dt) {
|
|
2302
2302
|
const r = /* @__PURE__ */ new Map();
|
|
2303
2303
|
for (const x of Object.values(g))
|
|
2304
|
-
r.set(x,
|
|
2304
|
+
r.set(x, Wn(t, x));
|
|
2305
2305
|
let i, s = Array.isArray(e), o = [e], a = -1, c = [], f = e, h, m;
|
|
2306
|
-
const
|
|
2306
|
+
const _ = [], v = [];
|
|
2307
2307
|
do {
|
|
2308
2308
|
a++;
|
|
2309
|
-
const x = a === o.length,
|
|
2309
|
+
const x = a === o.length, q = x && c.length !== 0;
|
|
2310
2310
|
if (x) {
|
|
2311
|
-
if (h =
|
|
2311
|
+
if (h = v.length === 0 ? void 0 : _[_.length - 1], f = m, m = v.pop(), q)
|
|
2312
2312
|
if (s) {
|
|
2313
2313
|
f = f.slice();
|
|
2314
2314
|
let P = 0;
|
|
2315
|
-
for (const [
|
|
2316
|
-
const
|
|
2317
|
-
|
|
2315
|
+
for (const [H, ae] of c) {
|
|
2316
|
+
const ce = H - P;
|
|
2317
|
+
ae === null ? (f.splice(ce, 1), P++) : f[ce] = ae;
|
|
2318
2318
|
}
|
|
2319
2319
|
} else {
|
|
2320
|
-
f =
|
|
2321
|
-
for (const [P,
|
|
2322
|
-
f[P] =
|
|
2320
|
+
f = E({}, f);
|
|
2321
|
+
for (const [P, H] of c)
|
|
2322
|
+
f[P] = H;
|
|
2323
2323
|
}
|
|
2324
2324
|
a = i.index, o = i.keys, c = i.edits, s = i.inArray, i = i.prev;
|
|
2325
2325
|
} else if (m) {
|
|
2326
2326
|
if (h = s ? a : o[a], f = m[h], f == null)
|
|
2327
2327
|
continue;
|
|
2328
|
-
|
|
2328
|
+
_.push(h);
|
|
2329
2329
|
}
|
|
2330
|
-
let
|
|
2330
|
+
let R;
|
|
2331
2331
|
if (!Array.isArray(f)) {
|
|
2332
2332
|
var y, N;
|
|
2333
|
-
|
|
2333
|
+
ft(f) || me(!1, `Invalid AST Node: ${We(f)}.`);
|
|
2334
2334
|
const P = x ? (y = r.get(f.kind)) === null || y === void 0 ? void 0 : y.leave : (N = r.get(f.kind)) === null || N === void 0 ? void 0 : N.enter;
|
|
2335
|
-
if (
|
|
2335
|
+
if (R = P == null ? void 0 : P.call(t, f, h, m, _, v), R === Qn)
|
|
2336
2336
|
break;
|
|
2337
|
-
if (
|
|
2337
|
+
if (R === !1) {
|
|
2338
2338
|
if (!x) {
|
|
2339
|
-
|
|
2339
|
+
_.pop();
|
|
2340
2340
|
continue;
|
|
2341
2341
|
}
|
|
2342
|
-
} else if (
|
|
2343
|
-
if (
|
|
2344
|
-
f =
|
|
2342
|
+
} else if (R !== void 0 && (c.push([h, R]), !x))
|
|
2343
|
+
if (ft(R))
|
|
2344
|
+
f = R;
|
|
2345
2345
|
else {
|
|
2346
|
-
|
|
2346
|
+
_.pop();
|
|
2347
2347
|
continue;
|
|
2348
2348
|
}
|
|
2349
2349
|
}
|
|
2350
|
-
if (
|
|
2351
|
-
|
|
2350
|
+
if (R === void 0 && q && c.push([h, f]), x)
|
|
2351
|
+
_.pop();
|
|
2352
2352
|
else {
|
|
2353
2353
|
var b;
|
|
2354
2354
|
i = {
|
|
@@ -2357,12 +2357,12 @@ function Yn(e, t, n = It) {
|
|
|
2357
2357
|
keys: o,
|
|
2358
2358
|
edits: c,
|
|
2359
2359
|
prev: i
|
|
2360
|
-
}, s = Array.isArray(f), o = s ? f : (b = n[f.kind]) !== null && b !== void 0 ? b : [], a = -1, c = [], m &&
|
|
2360
|
+
}, s = Array.isArray(f), o = s ? f : (b = n[f.kind]) !== null && b !== void 0 ? b : [], a = -1, c = [], m && v.push(m), m = f;
|
|
2361
2361
|
}
|
|
2362
2362
|
} while (i !== void 0);
|
|
2363
2363
|
return c.length !== 0 ? c[c.length - 1][1] : e;
|
|
2364
2364
|
}
|
|
2365
|
-
function
|
|
2365
|
+
function Wn(e, t) {
|
|
2366
2366
|
const n = e[t];
|
|
2367
2367
|
return typeof n == "object" ? n : typeof n == "function" ? {
|
|
2368
2368
|
enter: n,
|
|
@@ -2372,10 +2372,10 @@ function zn(e, t) {
|
|
|
2372
2372
|
leave: e.leave
|
|
2373
2373
|
};
|
|
2374
2374
|
}
|
|
2375
|
-
function
|
|
2376
|
-
return
|
|
2375
|
+
function Zn(e) {
|
|
2376
|
+
return Kn(e, tr);
|
|
2377
2377
|
}
|
|
2378
|
-
const
|
|
2378
|
+
const er = 80, tr = {
|
|
2379
2379
|
Name: {
|
|
2380
2380
|
leave: (e) => e.value
|
|
2381
2381
|
},
|
|
@@ -2390,7 +2390,7 @@ const Xn = 80, Qn = {
|
|
|
2390
2390
|
},
|
|
2391
2391
|
OperationDefinition: {
|
|
2392
2392
|
leave(e) {
|
|
2393
|
-
const t =
|
|
2393
|
+
const t = S("(", p(e.variableDefinitions, ", "), ")"), n = p(
|
|
2394
2394
|
[
|
|
2395
2395
|
e.operation,
|
|
2396
2396
|
p([e.name, t]),
|
|
@@ -2402,17 +2402,17 @@ const Xn = 80, Qn = {
|
|
|
2402
2402
|
}
|
|
2403
2403
|
},
|
|
2404
2404
|
VariableDefinition: {
|
|
2405
|
-
leave: ({ variable: e, type: t, defaultValue: n, directives: r }) => e + ": " + t +
|
|
2405
|
+
leave: ({ variable: e, type: t, defaultValue: n, directives: r }) => e + ": " + t + S(" = ", n) + S(" ", p(r, " "))
|
|
2406
2406
|
},
|
|
2407
2407
|
SelectionSet: {
|
|
2408
2408
|
leave: ({ selections: e }) => F(e)
|
|
2409
2409
|
},
|
|
2410
2410
|
Field: {
|
|
2411
2411
|
leave({ alias: e, name: t, arguments: n, directives: r, selectionSet: i }) {
|
|
2412
|
-
const s =
|
|
2413
|
-
let o = s +
|
|
2414
|
-
return o.length >
|
|
2415
|
-
`,
|
|
2412
|
+
const s = S("", e, ": ") + t;
|
|
2413
|
+
let o = s + S("(", p(n, ", "), ")");
|
|
2414
|
+
return o.length > er && (o = s + S(`(
|
|
2415
|
+
`, ge(p(n, `
|
|
2416
2416
|
`)), `
|
|
2417
2417
|
)`)), p([o, p(r, " "), i], " ");
|
|
2418
2418
|
}
|
|
@@ -2422,13 +2422,13 @@ const Xn = 80, Qn = {
|
|
|
2422
2422
|
},
|
|
2423
2423
|
// Fragments
|
|
2424
2424
|
FragmentSpread: {
|
|
2425
|
-
leave: ({ name: e, directives: t }) => "..." + e +
|
|
2425
|
+
leave: ({ name: e, directives: t }) => "..." + e + S(" ", p(t, " "))
|
|
2426
2426
|
},
|
|
2427
2427
|
InlineFragment: {
|
|
2428
2428
|
leave: ({ typeCondition: e, directives: t, selectionSet: n }) => p(
|
|
2429
2429
|
[
|
|
2430
2430
|
"...",
|
|
2431
|
-
|
|
2431
|
+
S("on ", e),
|
|
2432
2432
|
p(t, " "),
|
|
2433
2433
|
n
|
|
2434
2434
|
],
|
|
@@ -2438,7 +2438,7 @@ const Xn = 80, Qn = {
|
|
|
2438
2438
|
FragmentDefinition: {
|
|
2439
2439
|
leave: ({ name: e, typeCondition: t, variableDefinitions: n, directives: r, selectionSet: i }) => (
|
|
2440
2440
|
// or removed in the future.
|
|
2441
|
-
`fragment ${e}${
|
|
2441
|
+
`fragment ${e}${S("(", p(n, ", "), ")")} on ${t} ${S("", p(r, " "), " ")}` + i
|
|
2442
2442
|
)
|
|
2443
2443
|
},
|
|
2444
2444
|
// Value
|
|
@@ -2449,7 +2449,7 @@ const Xn = 80, Qn = {
|
|
|
2449
2449
|
leave: ({ value: e }) => e
|
|
2450
2450
|
},
|
|
2451
2451
|
StringValue: {
|
|
2452
|
-
leave: ({ value: e, block: t }) => t ?
|
|
2452
|
+
leave: ({ value: e, block: t }) => t ? Nn(e) : Yn(e)
|
|
2453
2453
|
},
|
|
2454
2454
|
BooleanValue: {
|
|
2455
2455
|
leave: ({ value: e }) => e ? "true" : "false"
|
|
@@ -2471,7 +2471,7 @@ const Xn = 80, Qn = {
|
|
|
2471
2471
|
},
|
|
2472
2472
|
// Directive
|
|
2473
2473
|
Directive: {
|
|
2474
|
-
leave: ({ name: e, arguments: t }) => "@" + e +
|
|
2474
|
+
leave: ({ name: e, arguments: t }) => "@" + e + S("(", p(t, ", "), ")")
|
|
2475
2475
|
},
|
|
2476
2476
|
// Type
|
|
2477
2477
|
NamedType: {
|
|
@@ -2485,23 +2485,23 @@ const Xn = 80, Qn = {
|
|
|
2485
2485
|
},
|
|
2486
2486
|
// Type System Definitions
|
|
2487
2487
|
SchemaDefinition: {
|
|
2488
|
-
leave: ({ description: e, directives: t, operationTypes: n }) =>
|
|
2488
|
+
leave: ({ description: e, directives: t, operationTypes: n }) => S("", e, `
|
|
2489
2489
|
`) + p(["schema", p(t, " "), F(n)], " ")
|
|
2490
2490
|
},
|
|
2491
2491
|
OperationTypeDefinition: {
|
|
2492
2492
|
leave: ({ operation: e, type: t }) => e + ": " + t
|
|
2493
2493
|
},
|
|
2494
2494
|
ScalarTypeDefinition: {
|
|
2495
|
-
leave: ({ description: e, name: t, directives: n }) =>
|
|
2495
|
+
leave: ({ description: e, name: t, directives: n }) => S("", e, `
|
|
2496
2496
|
`) + p(["scalar", t, p(n, " ")], " ")
|
|
2497
2497
|
},
|
|
2498
2498
|
ObjectTypeDefinition: {
|
|
2499
|
-
leave: ({ description: e, name: t, interfaces: n, directives: r, fields: i }) =>
|
|
2499
|
+
leave: ({ description: e, name: t, interfaces: n, directives: r, fields: i }) => S("", e, `
|
|
2500
2500
|
`) + p(
|
|
2501
2501
|
[
|
|
2502
2502
|
"type",
|
|
2503
2503
|
t,
|
|
2504
|
-
|
|
2504
|
+
S("implements ", p(n, " & ")),
|
|
2505
2505
|
p(r, " "),
|
|
2506
2506
|
F(i)
|
|
2507
2507
|
],
|
|
@@ -2509,26 +2509,26 @@ const Xn = 80, Qn = {
|
|
|
2509
2509
|
)
|
|
2510
2510
|
},
|
|
2511
2511
|
FieldDefinition: {
|
|
2512
|
-
leave: ({ description: e, name: t, arguments: n, type: r, directives: i }) =>
|
|
2513
|
-
`) + t + (
|
|
2514
|
-
`,
|
|
2512
|
+
leave: ({ description: e, name: t, arguments: n, type: r, directives: i }) => S("", e, `
|
|
2513
|
+
`) + t + (dt(n) ? S(`(
|
|
2514
|
+
`, ge(p(n, `
|
|
2515
2515
|
`)), `
|
|
2516
|
-
)`) :
|
|
2516
|
+
)`) : S("(", p(n, ", "), ")")) + ": " + r + S(" ", p(i, " "))
|
|
2517
2517
|
},
|
|
2518
2518
|
InputValueDefinition: {
|
|
2519
|
-
leave: ({ description: e, name: t, type: n, defaultValue: r, directives: i }) =>
|
|
2519
|
+
leave: ({ description: e, name: t, type: n, defaultValue: r, directives: i }) => S("", e, `
|
|
2520
2520
|
`) + p(
|
|
2521
|
-
[t + ": " + n,
|
|
2521
|
+
[t + ": " + n, S("= ", r), p(i, " ")],
|
|
2522
2522
|
" "
|
|
2523
2523
|
)
|
|
2524
2524
|
},
|
|
2525
2525
|
InterfaceTypeDefinition: {
|
|
2526
|
-
leave: ({ description: e, name: t, interfaces: n, directives: r, fields: i }) =>
|
|
2526
|
+
leave: ({ description: e, name: t, interfaces: n, directives: r, fields: i }) => S("", e, `
|
|
2527
2527
|
`) + p(
|
|
2528
2528
|
[
|
|
2529
2529
|
"interface",
|
|
2530
2530
|
t,
|
|
2531
|
-
|
|
2531
|
+
S("implements ", p(n, " & ")),
|
|
2532
2532
|
p(r, " "),
|
|
2533
2533
|
F(i)
|
|
2534
2534
|
],
|
|
@@ -2536,30 +2536,30 @@ const Xn = 80, Qn = {
|
|
|
2536
2536
|
)
|
|
2537
2537
|
},
|
|
2538
2538
|
UnionTypeDefinition: {
|
|
2539
|
-
leave: ({ description: e, name: t, directives: n, types: r }) =>
|
|
2539
|
+
leave: ({ description: e, name: t, directives: n, types: r }) => S("", e, `
|
|
2540
2540
|
`) + p(
|
|
2541
|
-
["union", t, p(n, " "),
|
|
2541
|
+
["union", t, p(n, " "), S("= ", p(r, " | "))],
|
|
2542
2542
|
" "
|
|
2543
2543
|
)
|
|
2544
2544
|
},
|
|
2545
2545
|
EnumTypeDefinition: {
|
|
2546
|
-
leave: ({ description: e, name: t, directives: n, values: r }) =>
|
|
2546
|
+
leave: ({ description: e, name: t, directives: n, values: r }) => S("", e, `
|
|
2547
2547
|
`) + p(["enum", t, p(n, " "), F(r)], " ")
|
|
2548
2548
|
},
|
|
2549
2549
|
EnumValueDefinition: {
|
|
2550
|
-
leave: ({ description: e, name: t, directives: n }) =>
|
|
2550
|
+
leave: ({ description: e, name: t, directives: n }) => S("", e, `
|
|
2551
2551
|
`) + p([t, p(n, " ")], " ")
|
|
2552
2552
|
},
|
|
2553
2553
|
InputObjectTypeDefinition: {
|
|
2554
|
-
leave: ({ description: e, name: t, directives: n, fields: r }) =>
|
|
2554
|
+
leave: ({ description: e, name: t, directives: n, fields: r }) => S("", e, `
|
|
2555
2555
|
`) + p(["input", t, p(n, " "), F(r)], " ")
|
|
2556
2556
|
},
|
|
2557
2557
|
DirectiveDefinition: {
|
|
2558
|
-
leave: ({ description: e, name: t, arguments: n, repeatable: r, locations: i }) =>
|
|
2559
|
-
`) + "directive @" + t + (
|
|
2560
|
-
`,
|
|
2558
|
+
leave: ({ description: e, name: t, arguments: n, repeatable: r, locations: i }) => S("", e, `
|
|
2559
|
+
`) + "directive @" + t + (dt(n) ? S(`(
|
|
2560
|
+
`, ge(p(n, `
|
|
2561
2561
|
`)), `
|
|
2562
|
-
)`) :
|
|
2562
|
+
)`) : S("(", p(n, ", "), ")")) + (r ? " repeatable" : "") + " on " + p(i, " | ")
|
|
2563
2563
|
},
|
|
2564
2564
|
SchemaExtension: {
|
|
2565
2565
|
leave: ({ directives: e, operationTypes: t }) => p(
|
|
@@ -2575,7 +2575,7 @@ const Xn = 80, Qn = {
|
|
|
2575
2575
|
[
|
|
2576
2576
|
"extend type",
|
|
2577
2577
|
e,
|
|
2578
|
-
|
|
2578
|
+
S("implements ", p(t, " & ")),
|
|
2579
2579
|
p(n, " "),
|
|
2580
2580
|
F(r)
|
|
2581
2581
|
],
|
|
@@ -2587,7 +2587,7 @@ const Xn = 80, Qn = {
|
|
|
2587
2587
|
[
|
|
2588
2588
|
"extend interface",
|
|
2589
2589
|
e,
|
|
2590
|
-
|
|
2590
|
+
S("implements ", p(t, " & ")),
|
|
2591
2591
|
p(n, " "),
|
|
2592
2592
|
F(r)
|
|
2593
2593
|
],
|
|
@@ -2600,7 +2600,7 @@ const Xn = 80, Qn = {
|
|
|
2600
2600
|
"extend union",
|
|
2601
2601
|
e,
|
|
2602
2602
|
p(t, " "),
|
|
2603
|
-
|
|
2603
|
+
S("= ", p(n, " | "))
|
|
2604
2604
|
],
|
|
2605
2605
|
" "
|
|
2606
2606
|
)
|
|
@@ -2617,43 +2617,43 @@ function p(e, t = "") {
|
|
|
2617
2617
|
return (n = e == null ? void 0 : e.filter((r) => r).join(t)) !== null && n !== void 0 ? n : "";
|
|
2618
2618
|
}
|
|
2619
2619
|
function F(e) {
|
|
2620
|
-
return
|
|
2621
|
-
`,
|
|
2620
|
+
return S(`{
|
|
2621
|
+
`, ge(p(e, `
|
|
2622
2622
|
`)), `
|
|
2623
2623
|
}`);
|
|
2624
2624
|
}
|
|
2625
|
-
function
|
|
2625
|
+
function S(e, t, n = "") {
|
|
2626
2626
|
return t != null && t !== "" ? e + t + n : "";
|
|
2627
2627
|
}
|
|
2628
|
-
function
|
|
2629
|
-
return
|
|
2628
|
+
function ge(e) {
|
|
2629
|
+
return S(" ", e.replace(/\n/g, `
|
|
2630
2630
|
`));
|
|
2631
2631
|
}
|
|
2632
|
-
function
|
|
2632
|
+
function dt(e) {
|
|
2633
2633
|
var t;
|
|
2634
2634
|
return (t = e == null ? void 0 : e.some((n) => n.includes(`
|
|
2635
2635
|
`))) !== null && t !== void 0 ? t : !1;
|
|
2636
2636
|
}
|
|
2637
|
-
const
|
|
2637
|
+
const Ze = JSON, nr = (e) => e.toUpperCase(), rr = (e) => {
|
|
2638
2638
|
const t = {};
|
|
2639
2639
|
return e.forEach((n, r) => {
|
|
2640
2640
|
t[r] = n;
|
|
2641
2641
|
}), t;
|
|
2642
|
-
},
|
|
2642
|
+
}, ir = (e, t, n) => e.document ? e : {
|
|
2643
2643
|
document: e,
|
|
2644
2644
|
variables: t,
|
|
2645
2645
|
requestHeaders: n,
|
|
2646
2646
|
signal: void 0
|
|
2647
|
-
},
|
|
2647
|
+
}, sr = (e, t, n) => e.query ? e : {
|
|
2648
2648
|
query: e,
|
|
2649
2649
|
variables: t,
|
|
2650
2650
|
requestHeaders: n,
|
|
2651
2651
|
signal: void 0
|
|
2652
|
-
},
|
|
2652
|
+
}, or = (e, t) => e.documents ? e : {
|
|
2653
2653
|
documents: e,
|
|
2654
2654
|
requestHeaders: t,
|
|
2655
2655
|
signal: void 0
|
|
2656
|
-
},
|
|
2656
|
+
}, pt = (e) => {
|
|
2657
2657
|
var r, i;
|
|
2658
2658
|
let t;
|
|
2659
2659
|
const n = e.definitions.filter((s) => s.kind === "OperationDefinition");
|
|
@@ -2662,14 +2662,14 @@ const We = JSON, Kn = (e) => e.toUpperCase(), Wn = (e) => {
|
|
|
2662
2662
|
if (typeof e == "string") {
|
|
2663
2663
|
let n;
|
|
2664
2664
|
try {
|
|
2665
|
-
const r =
|
|
2666
|
-
n =
|
|
2665
|
+
const r = Ft(e);
|
|
2666
|
+
n = pt(r);
|
|
2667
2667
|
} catch (r) {
|
|
2668
2668
|
}
|
|
2669
2669
|
return { query: e, operationName: n };
|
|
2670
2670
|
}
|
|
2671
|
-
const t =
|
|
2672
|
-
return { query:
|
|
2671
|
+
const t = pt(e);
|
|
2672
|
+
return { query: Zn(e), operationName: t };
|
|
2673
2673
|
};
|
|
2674
2674
|
class Q extends Error {
|
|
2675
2675
|
constructor(t, n) {
|
|
@@ -2684,13 +2684,13 @@ class Q extends Error {
|
|
|
2684
2684
|
return (i = (r = (n = t.errors) == null ? void 0 : n[0]) == null ? void 0 : r.message) != null ? i : `GraphQL Error (Code: ${t.status})`;
|
|
2685
2685
|
}
|
|
2686
2686
|
}
|
|
2687
|
-
var
|
|
2688
|
-
function
|
|
2687
|
+
var ar = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
2688
|
+
function et(e) {
|
|
2689
2689
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
2690
2690
|
}
|
|
2691
|
-
var
|
|
2691
|
+
var qe = { exports: {} };
|
|
2692
2692
|
(function(e, t) {
|
|
2693
|
-
var n = typeof self != "undefined" ? self :
|
|
2693
|
+
var n = typeof self != "undefined" ? self : ar, r = function() {
|
|
2694
2694
|
function s() {
|
|
2695
2695
|
this.fetch = !1, this.DOMException = n.DOMException;
|
|
2696
2696
|
}
|
|
@@ -2733,10 +2733,10 @@ var je = { exports: {} };
|
|
|
2733
2733
|
throw new TypeError("Invalid character in header field name");
|
|
2734
2734
|
return u.toLowerCase();
|
|
2735
2735
|
}
|
|
2736
|
-
function
|
|
2736
|
+
function _(u) {
|
|
2737
2737
|
return typeof u != "string" && (u = String(u)), u;
|
|
2738
2738
|
}
|
|
2739
|
-
function
|
|
2739
|
+
function v(u) {
|
|
2740
2740
|
var d = {
|
|
2741
2741
|
next: function() {
|
|
2742
2742
|
var T = u.shift();
|
|
@@ -2757,7 +2757,7 @@ var je = { exports: {} };
|
|
|
2757
2757
|
}, this);
|
|
2758
2758
|
}
|
|
2759
2759
|
y.prototype.append = function(u, d) {
|
|
2760
|
-
u = m(u), d =
|
|
2760
|
+
u = m(u), d = _(d);
|
|
2761
2761
|
var T = this.map[u];
|
|
2762
2762
|
this.map[u] = T ? T + ", " + d : d;
|
|
2763
2763
|
}, y.prototype.delete = function(u) {
|
|
@@ -2767,7 +2767,7 @@ var je = { exports: {} };
|
|
|
2767
2767
|
}, y.prototype.has = function(u) {
|
|
2768
2768
|
return this.map.hasOwnProperty(m(u));
|
|
2769
2769
|
}, y.prototype.set = function(u, d) {
|
|
2770
|
-
this.map[m(u)] =
|
|
2770
|
+
this.map[m(u)] = _(d);
|
|
2771
2771
|
}, y.prototype.forEach = function(u, d) {
|
|
2772
2772
|
for (var T in this.map)
|
|
2773
2773
|
this.map.hasOwnProperty(T) && u.call(d, this.map[T], T, this);
|
|
@@ -2775,17 +2775,17 @@ var je = { exports: {} };
|
|
|
2775
2775
|
var u = [];
|
|
2776
2776
|
return this.forEach(function(d, T) {
|
|
2777
2777
|
u.push(T);
|
|
2778
|
-
}),
|
|
2778
|
+
}), v(u);
|
|
2779
2779
|
}, y.prototype.values = function() {
|
|
2780
2780
|
var u = [];
|
|
2781
2781
|
return this.forEach(function(d) {
|
|
2782
2782
|
u.push(d);
|
|
2783
|
-
}),
|
|
2783
|
+
}), v(u);
|
|
2784
2784
|
}, y.prototype.entries = function() {
|
|
2785
2785
|
var u = [];
|
|
2786
2786
|
return this.forEach(function(d, T) {
|
|
2787
2787
|
u.push([T, d]);
|
|
2788
|
-
}),
|
|
2788
|
+
}), v(u);
|
|
2789
2789
|
}, a.iterable && (y.prototype[Symbol.iterator] = y.prototype.entries);
|
|
2790
2790
|
function N(u) {
|
|
2791
2791
|
if (u.bodyUsed)
|
|
@@ -2805,11 +2805,11 @@ var je = { exports: {} };
|
|
|
2805
2805
|
var d = new FileReader(), T = b(d);
|
|
2806
2806
|
return d.readAsArrayBuffer(u), T;
|
|
2807
2807
|
}
|
|
2808
|
-
function
|
|
2808
|
+
function q(u) {
|
|
2809
2809
|
var d = new FileReader(), T = b(d);
|
|
2810
2810
|
return d.readAsText(u), T;
|
|
2811
2811
|
}
|
|
2812
|
-
function
|
|
2812
|
+
function R(u) {
|
|
2813
2813
|
for (var d = new Uint8Array(u), T = new Array(d.length), w = 0; w < d.length; w++)
|
|
2814
2814
|
T[w] = String.fromCharCode(d[w]);
|
|
2815
2815
|
return T.join("");
|
|
@@ -2820,7 +2820,7 @@ var je = { exports: {} };
|
|
|
2820
2820
|
var d = new Uint8Array(u.byteLength);
|
|
2821
2821
|
return d.set(new Uint8Array(u)), d.buffer;
|
|
2822
2822
|
}
|
|
2823
|
-
function
|
|
2823
|
+
function H() {
|
|
2824
2824
|
return this.bodyUsed = !1, this._initBody = function(u) {
|
|
2825
2825
|
this._bodyInit = u, u ? typeof u == "string" ? this._bodyText = u : a.blob && Blob.prototype.isPrototypeOf(u) ? this._bodyBlob = u : a.formData && FormData.prototype.isPrototypeOf(u) ? this._bodyFormData = u : a.searchParams && URLSearchParams.prototype.isPrototypeOf(u) ? this._bodyText = u.toString() : a.arrayBuffer && a.blob && c(u) ? (this._bodyArrayBuffer = P(u.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : a.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(u) || h(u)) ? this._bodyArrayBuffer = P(u) : this._bodyText = u = Object.prototype.toString.call(u) : this._bodyText = "", this.headers.get("content-type") || (typeof u == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : a.searchParams && URLSearchParams.prototype.isPrototypeOf(u) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
|
|
2826
2826
|
}, a.blob && (this.blob = function() {
|
|
@@ -2841,22 +2841,22 @@ var je = { exports: {} };
|
|
|
2841
2841
|
if (u)
|
|
2842
2842
|
return u;
|
|
2843
2843
|
if (this._bodyBlob)
|
|
2844
|
-
return
|
|
2844
|
+
return q(this._bodyBlob);
|
|
2845
2845
|
if (this._bodyArrayBuffer)
|
|
2846
|
-
return Promise.resolve(
|
|
2846
|
+
return Promise.resolve(R(this._bodyArrayBuffer));
|
|
2847
2847
|
if (this._bodyFormData)
|
|
2848
2848
|
throw new Error("could not read FormData body as text");
|
|
2849
2849
|
return Promise.resolve(this._bodyText);
|
|
2850
2850
|
}, a.formData && (this.formData = function() {
|
|
2851
|
-
return this.text().then(
|
|
2851
|
+
return this.text().then(rn);
|
|
2852
2852
|
}), this.json = function() {
|
|
2853
2853
|
return this.text().then(JSON.parse);
|
|
2854
2854
|
}, this;
|
|
2855
2855
|
}
|
|
2856
|
-
var
|
|
2857
|
-
function
|
|
2856
|
+
var ae = ["DELETE", "GET", "HEAD", "OPTIONS", "POST", "PUT"];
|
|
2857
|
+
function ce(u) {
|
|
2858
2858
|
var d = u.toUpperCase();
|
|
2859
|
-
return
|
|
2859
|
+
return ae.indexOf(d) > -1 ? d : u;
|
|
2860
2860
|
}
|
|
2861
2861
|
function U(u, d) {
|
|
2862
2862
|
d = d || {};
|
|
@@ -2867,14 +2867,14 @@ var je = { exports: {} };
|
|
|
2867
2867
|
this.url = u.url, this.credentials = u.credentials, d.headers || (this.headers = new y(u.headers)), this.method = u.method, this.mode = u.mode, this.signal = u.signal, !T && u._bodyInit != null && (T = u._bodyInit, u.bodyUsed = !0);
|
|
2868
2868
|
} else
|
|
2869
2869
|
this.url = String(u);
|
|
2870
|
-
if (this.credentials = d.credentials || this.credentials || "same-origin", (d.headers || !this.headers) && (this.headers = new y(d.headers)), this.method =
|
|
2870
|
+
if (this.credentials = d.credentials || this.credentials || "same-origin", (d.headers || !this.headers) && (this.headers = new y(d.headers)), this.method = ce(d.method || this.method || "GET"), this.mode = d.mode || this.mode || null, this.signal = d.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && T)
|
|
2871
2871
|
throw new TypeError("Body not allowed for GET or HEAD requests");
|
|
2872
2872
|
this._initBody(T);
|
|
2873
2873
|
}
|
|
2874
2874
|
U.prototype.clone = function() {
|
|
2875
2875
|
return new U(this, { body: this._bodyInit });
|
|
2876
2876
|
};
|
|
2877
|
-
function
|
|
2877
|
+
function rn(u) {
|
|
2878
2878
|
var d = new FormData();
|
|
2879
2879
|
return u.trim().split("&").forEach(function(T) {
|
|
2880
2880
|
if (T) {
|
|
@@ -2883,21 +2883,21 @@ var je = { exports: {} };
|
|
|
2883
2883
|
}
|
|
2884
2884
|
}), d;
|
|
2885
2885
|
}
|
|
2886
|
-
function
|
|
2886
|
+
function sn(u) {
|
|
2887
2887
|
var d = new y(), T = u.replace(/\r?\n[\t ]+/g, " ");
|
|
2888
2888
|
return T.split(/\r?\n/).forEach(function(w) {
|
|
2889
2889
|
var D = w.split(":"), A = D.shift().trim();
|
|
2890
2890
|
if (A) {
|
|
2891
|
-
var
|
|
2892
|
-
d.append(A,
|
|
2891
|
+
var ue = D.join(":").trim();
|
|
2892
|
+
d.append(A, ue);
|
|
2893
2893
|
}
|
|
2894
2894
|
}), d;
|
|
2895
2895
|
}
|
|
2896
|
-
|
|
2896
|
+
H.call(U.prototype);
|
|
2897
2897
|
function M(u, d) {
|
|
2898
2898
|
d || (d = {}), this.type = "default", this.status = d.status === void 0 ? 200 : d.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in d ? d.statusText : "OK", this.headers = new y(d.headers), this.url = d.url || "", this._initBody(u);
|
|
2899
2899
|
}
|
|
2900
|
-
|
|
2900
|
+
H.call(M.prototype), M.prototype.clone = function() {
|
|
2901
2901
|
return new M(this._bodyInit, {
|
|
2902
2902
|
status: this.status,
|
|
2903
2903
|
statusText: this.statusText,
|
|
@@ -2908,9 +2908,9 @@ var je = { exports: {} };
|
|
|
2908
2908
|
var u = new M(null, { status: 0, statusText: "" });
|
|
2909
2909
|
return u.type = "error", u;
|
|
2910
2910
|
};
|
|
2911
|
-
var
|
|
2911
|
+
var on = [301, 302, 303, 307, 308];
|
|
2912
2912
|
M.redirect = function(u, d) {
|
|
2913
|
-
if (
|
|
2913
|
+
if (on.indexOf(d) === -1)
|
|
2914
2914
|
throw new RangeError("Invalid status code");
|
|
2915
2915
|
return new M(null, { status: d, headers: { location: u } });
|
|
2916
2916
|
}, o.DOMException = s.DOMException;
|
|
@@ -2923,117 +2923,117 @@ var je = { exports: {} };
|
|
|
2923
2923
|
this.stack = w.stack;
|
|
2924
2924
|
}, o.DOMException.prototype = Object.create(Error.prototype), o.DOMException.prototype.constructor = o.DOMException;
|
|
2925
2925
|
}
|
|
2926
|
-
function
|
|
2926
|
+
function xe(u, d) {
|
|
2927
2927
|
return new Promise(function(T, w) {
|
|
2928
2928
|
var D = new U(u, d);
|
|
2929
2929
|
if (D.signal && D.signal.aborted)
|
|
2930
2930
|
return w(new o.DOMException("Aborted", "AbortError"));
|
|
2931
2931
|
var A = new XMLHttpRequest();
|
|
2932
|
-
function
|
|
2932
|
+
function ue() {
|
|
2933
2933
|
A.abort();
|
|
2934
2934
|
}
|
|
2935
2935
|
A.onload = function() {
|
|
2936
2936
|
var te = {
|
|
2937
2937
|
status: A.status,
|
|
2938
2938
|
statusText: A.statusText,
|
|
2939
|
-
headers:
|
|
2939
|
+
headers: sn(A.getAllResponseHeaders() || "")
|
|
2940
2940
|
};
|
|
2941
2941
|
te.url = "responseURL" in A ? A.responseURL : te.headers.get("X-Request-URL");
|
|
2942
|
-
var
|
|
2943
|
-
T(new M(
|
|
2942
|
+
var Oe = "response" in A ? A.response : A.responseText;
|
|
2943
|
+
T(new M(Oe, te));
|
|
2944
2944
|
}, A.onerror = function() {
|
|
2945
2945
|
w(new TypeError("Network request failed"));
|
|
2946
2946
|
}, A.ontimeout = function() {
|
|
2947
2947
|
w(new TypeError("Network request failed"));
|
|
2948
2948
|
}, A.onabort = function() {
|
|
2949
2949
|
w(new o.DOMException("Aborted", "AbortError"));
|
|
2950
|
-
}, A.open(D.method, D.url, !0), D.credentials === "include" ? A.withCredentials = !0 : D.credentials === "omit" && (A.withCredentials = !1), "responseType" in A && a.blob && (A.responseType = "blob"), D.headers.forEach(function(te,
|
|
2951
|
-
A.setRequestHeader(
|
|
2952
|
-
}), D.signal && (D.signal.addEventListener("abort",
|
|
2953
|
-
A.readyState === 4 && D.signal.removeEventListener("abort",
|
|
2950
|
+
}, A.open(D.method, D.url, !0), D.credentials === "include" ? A.withCredentials = !0 : D.credentials === "omit" && (A.withCredentials = !1), "responseType" in A && a.blob && (A.responseType = "blob"), D.headers.forEach(function(te, Oe) {
|
|
2951
|
+
A.setRequestHeader(Oe, te);
|
|
2952
|
+
}), D.signal && (D.signal.addEventListener("abort", ue), A.onreadystatechange = function() {
|
|
2953
|
+
A.readyState === 4 && D.signal.removeEventListener("abort", ue);
|
|
2954
2954
|
}), A.send(typeof D._bodyInit == "undefined" ? null : D._bodyInit);
|
|
2955
2955
|
});
|
|
2956
2956
|
}
|
|
2957
|
-
return
|
|
2957
|
+
return xe.polyfill = !0, s.fetch || (s.fetch = xe, s.Headers = y, s.Request = U, s.Response = M), o.Headers = y, o.Request = U, o.Response = M, o.fetch = xe, Object.defineProperty(o, "__esModule", { value: !0 }), o;
|
|
2958
2958
|
})({});
|
|
2959
2959
|
})(r), r.fetch.ponyfill = !0, delete r.fetch.polyfill;
|
|
2960
2960
|
var i = r;
|
|
2961
2961
|
t = i.fetch, t.default = i.fetch, t.fetch = i.fetch, t.Headers = i.Headers, t.Request = i.Request, t.Response = i.Response, e.exports = t;
|
|
2962
|
-
})(
|
|
2963
|
-
var
|
|
2964
|
-
const
|
|
2962
|
+
})(qe, qe.exports);
|
|
2963
|
+
var He = qe.exports;
|
|
2964
|
+
const ye = /* @__PURE__ */ et(He), cr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2965
2965
|
__proto__: null,
|
|
2966
|
-
default:
|
|
2966
|
+
default: ye
|
|
2967
2967
|
}, Symbol.toStringTag, { value: "Module" })), z = (e) => {
|
|
2968
2968
|
let t = {};
|
|
2969
|
-
return e && (typeof Headers != "undefined" && e instanceof Headers ||
|
|
2969
|
+
return e && (typeof Headers != "undefined" && e instanceof Headers || cr && He.Headers && e instanceof He.Headers ? t = rr(e) : Array.isArray(e) ? e.forEach(([n, r]) => {
|
|
2970
2970
|
n && r !== void 0 && (t[n] = r);
|
|
2971
2971
|
}) : t = e), t;
|
|
2972
|
-
},
|
|
2972
|
+
}, mt = (e) => e.replace(/([\s,]|#[^\n\r]+)+/g, " ").trim(), ur = (e) => {
|
|
2973
2973
|
if (!Array.isArray(e.query)) {
|
|
2974
|
-
const r = e, i = [`query=${encodeURIComponent(
|
|
2974
|
+
const r = e, i = [`query=${encodeURIComponent(mt(r.query))}`];
|
|
2975
2975
|
return e.variables && i.push(`variables=${encodeURIComponent(r.jsonSerializer.stringify(r.variables))}`), r.operationName && i.push(`operationName=${encodeURIComponent(r.operationName)}`), i.join("&");
|
|
2976
2976
|
}
|
|
2977
2977
|
if (typeof e.variables != "undefined" && !Array.isArray(e.variables))
|
|
2978
2978
|
throw new Error("Cannot create query with given variable type, array expected");
|
|
2979
2979
|
const t = e, n = e.query.reduce((r, i, s) => (r.push({
|
|
2980
|
-
query:
|
|
2980
|
+
query: mt(i),
|
|
2981
2981
|
variables: t.variables ? t.jsonSerializer.stringify(t.variables[s]) : void 0
|
|
2982
2982
|
}), r), []);
|
|
2983
2983
|
return `query=${encodeURIComponent(t.jsonSerializer.stringify(n))}`;
|
|
2984
|
-
},
|
|
2984
|
+
}, lr = (e) => (t) => V(void 0, null, function* () {
|
|
2985
2985
|
var N;
|
|
2986
|
-
const { url: n, query: r, variables: i, operationName: s, fetch: o, fetchOptions: a, middleware: c } = t, f =
|
|
2986
|
+
const { url: n, query: r, variables: i, operationName: s, fetch: o, fetchOptions: a, middleware: c } = t, f = E({}, t.headers);
|
|
2987
2987
|
let h = "", m;
|
|
2988
|
-
e === "POST" ? (m =
|
|
2988
|
+
e === "POST" ? (m = fr(r, i, s, a.jsonSerializer), typeof m == "string" && (f["Content-Type"] = "application/json")) : h = ur({
|
|
2989
2989
|
query: r,
|
|
2990
2990
|
variables: i,
|
|
2991
2991
|
operationName: s,
|
|
2992
|
-
jsonSerializer: (N = a.jsonSerializer) != null ? N :
|
|
2992
|
+
jsonSerializer: (N = a.jsonSerializer) != null ? N : Ze
|
|
2993
2993
|
});
|
|
2994
|
-
const
|
|
2994
|
+
const _ = E({
|
|
2995
2995
|
method: e,
|
|
2996
2996
|
headers: f,
|
|
2997
2997
|
body: m
|
|
2998
2998
|
}, a);
|
|
2999
|
-
let
|
|
2999
|
+
let v = n, y = _;
|
|
3000
3000
|
if (c) {
|
|
3001
|
-
const b = yield Promise.resolve(c(
|
|
3002
|
-
|
|
3001
|
+
const b = yield Promise.resolve(c(B(E({}, _), { url: n, operationName: s, variables: i }))), { url: q } = b, R = G(b, ["url"]);
|
|
3002
|
+
v = q, y = R;
|
|
3003
3003
|
}
|
|
3004
|
-
return h && (
|
|
3004
|
+
return h && (v = `${v}?${h}`), yield o(v, y);
|
|
3005
3005
|
});
|
|
3006
|
-
class
|
|
3006
|
+
class Oi {
|
|
3007
3007
|
constructor(t, n = {}) {
|
|
3008
|
-
this.url = t, this.requestConfig = n, this.rawRequest = (...r) =>
|
|
3009
|
-
const [i, s, o] = r, a =
|
|
3010
|
-
a.signal !== void 0 && (
|
|
3008
|
+
this.url = t, this.requestConfig = n, this.rawRequest = (...r) => V(this, null, function* () {
|
|
3009
|
+
const [i, s, o] = r, a = sr(i, s, o), b = this.requestConfig, { headers: c, fetch: f = ye, method: h = "POST", requestMiddleware: m, responseMiddleware: _ } = b, v = G(b, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: y } = this;
|
|
3010
|
+
a.signal !== void 0 && (v.signal = a.signal);
|
|
3011
3011
|
const { operationName: N } = Re(a.query);
|
|
3012
|
-
return
|
|
3012
|
+
return Le({
|
|
3013
3013
|
url: y,
|
|
3014
3014
|
query: a.query,
|
|
3015
3015
|
variables: a.variables,
|
|
3016
|
-
headers:
|
|
3016
|
+
headers: E(E({}, z(Pe(c))), z(a.requestHeaders)),
|
|
3017
3017
|
operationName: N,
|
|
3018
3018
|
fetch: f,
|
|
3019
3019
|
method: h,
|
|
3020
|
-
fetchOptions:
|
|
3020
|
+
fetchOptions: v,
|
|
3021
3021
|
middleware: m
|
|
3022
|
-
}).then((x) => (
|
|
3023
|
-
throw
|
|
3022
|
+
}).then((x) => (_ && _(x), x)).catch((x) => {
|
|
3023
|
+
throw _ && _(x), x;
|
|
3024
3024
|
});
|
|
3025
3025
|
});
|
|
3026
3026
|
}
|
|
3027
3027
|
request(t, ...n) {
|
|
3028
|
-
return
|
|
3029
|
-
const [r, i] = n, s =
|
|
3028
|
+
return V(this, null, function* () {
|
|
3029
|
+
const [r, i] = n, s = ir(t, r, i), N = this.requestConfig, { headers: o, fetch: a = ye, method: c = "POST", requestMiddleware: f, responseMiddleware: h } = N, m = G(N, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: _ } = this;
|
|
3030
3030
|
s.signal !== void 0 && (m.signal = s.signal);
|
|
3031
|
-
const { query:
|
|
3032
|
-
return
|
|
3033
|
-
url:
|
|
3034
|
-
query:
|
|
3031
|
+
const { query: v, operationName: y } = Re(s.document);
|
|
3032
|
+
return Le({
|
|
3033
|
+
url: _,
|
|
3034
|
+
query: v,
|
|
3035
3035
|
variables: s.variables,
|
|
3036
|
-
headers:
|
|
3036
|
+
headers: E(E({}, z(Pe(o))), z(s.requestHeaders)),
|
|
3037
3037
|
operationName: y,
|
|
3038
3038
|
fetch: a,
|
|
3039
3039
|
method: c,
|
|
@@ -3047,17 +3047,17 @@ class Si {
|
|
|
3047
3047
|
// prettier-ignore
|
|
3048
3048
|
batchRequests(t, n) {
|
|
3049
3049
|
var f;
|
|
3050
|
-
const r =
|
|
3050
|
+
const r = or(t, n), c = this.requestConfig, { headers: i } = c, s = G(c, ["headers"]);
|
|
3051
3051
|
r.signal !== void 0 && (s.signal = r.signal);
|
|
3052
3052
|
const o = r.documents.map(({ document: h }) => Re(h).query), a = r.documents.map(({ variables: h }) => h);
|
|
3053
|
-
return
|
|
3053
|
+
return Le({
|
|
3054
3054
|
url: this.url,
|
|
3055
3055
|
query: o,
|
|
3056
3056
|
// @ts-expect-error TODO reconcile batch variables into system.
|
|
3057
3057
|
variables: a,
|
|
3058
|
-
headers:
|
|
3058
|
+
headers: E(E({}, z(Pe(i))), z(r.requestHeaders)),
|
|
3059
3059
|
operationName: void 0,
|
|
3060
|
-
fetch: (f = this.requestConfig.fetch) != null ? f :
|
|
3060
|
+
fetch: (f = this.requestConfig.fetch) != null ? f : ye,
|
|
3061
3061
|
method: this.requestConfig.method || "POST",
|
|
3062
3062
|
fetchOptions: s,
|
|
3063
3063
|
middleware: this.requestConfig.requestMiddleware
|
|
@@ -3082,40 +3082,40 @@ class Si {
|
|
|
3082
3082
|
return this.url = t, this;
|
|
3083
3083
|
}
|
|
3084
3084
|
}
|
|
3085
|
-
const
|
|
3085
|
+
const Le = (e) => V(void 0, null, function* () {
|
|
3086
3086
|
var h, m;
|
|
3087
|
-
const { query: t, variables: n, fetchOptions: r } = e, i =
|
|
3087
|
+
const { query: t, variables: n, fetchOptions: r } = e, i = lr(nr((h = e.method) != null ? h : "post")), s = Array.isArray(e.query), o = yield i(e), a = yield hr(o, (m = r.jsonSerializer) != null ? m : Ze), c = Array.isArray(a) ? !a.some(({ data: v }) => !v) : !!a.data, f = Array.isArray(a) || !a.errors || Array.isArray(a.errors) && !a.errors.length || r.errorPolicy === "all" || r.errorPolicy === "ignore";
|
|
3088
3088
|
if (o.ok && f && c) {
|
|
3089
|
-
const
|
|
3090
|
-
return
|
|
3089
|
+
const _ = (Array.isArray(a), a), { errors: v } = _, y = G(_, ["errors"]), N = r.errorPolicy === "ignore" ? y : a;
|
|
3090
|
+
return B(E({}, s ? { data: N } : N), {
|
|
3091
3091
|
headers: o.headers,
|
|
3092
3092
|
status: o.status
|
|
3093
3093
|
});
|
|
3094
3094
|
} else {
|
|
3095
|
-
const
|
|
3095
|
+
const v = typeof a == "string" ? {
|
|
3096
3096
|
error: a
|
|
3097
3097
|
} : a;
|
|
3098
3098
|
throw new Q(
|
|
3099
3099
|
// @ts-expect-error TODO
|
|
3100
|
-
|
|
3100
|
+
B(E({}, v), { status: o.status, headers: o.headers }),
|
|
3101
3101
|
{ query: t, variables: n }
|
|
3102
3102
|
);
|
|
3103
3103
|
}
|
|
3104
|
-
}),
|
|
3105
|
-
const i = r != null ? r :
|
|
3104
|
+
}), fr = (e, t, n, r) => {
|
|
3105
|
+
const i = r != null ? r : Ze;
|
|
3106
3106
|
if (!Array.isArray(e))
|
|
3107
3107
|
return i.stringify({ query: e, variables: t, operationName: n });
|
|
3108
3108
|
if (typeof t != "undefined" && !Array.isArray(t))
|
|
3109
3109
|
throw new Error("Cannot create request body with given variable type, array expected");
|
|
3110
3110
|
const s = e.reduce((o, a, c) => (o.push({ query: a, variables: t ? t[c] : void 0 }), o), []);
|
|
3111
3111
|
return i.stringify(s);
|
|
3112
|
-
},
|
|
3112
|
+
}, hr = (e, t) => V(void 0, null, function* () {
|
|
3113
3113
|
let n;
|
|
3114
3114
|
return e.headers.forEach((r, i) => {
|
|
3115
3115
|
i.toLowerCase() === "content-type" && (n = r);
|
|
3116
3116
|
}), n && (n.toLowerCase().startsWith("application/json") || n.toLowerCase().startsWith("application/graphql+json") || n.toLowerCase().startsWith("application/graphql-response+json")) ? t.parse(yield e.text()) : e.text();
|
|
3117
|
-
}),
|
|
3118
|
-
var
|
|
3117
|
+
}), Pe = (e) => typeof e == "function" ? e() : e;
|
|
3118
|
+
var Ge = { exports: {} };
|
|
3119
3119
|
(function(e, t) {
|
|
3120
3120
|
t = e.exports = n, t.getSerialize = r;
|
|
3121
3121
|
function n(i, s, o, a) {
|
|
@@ -3133,37 +3133,37 @@ var He = { exports: {} };
|
|
|
3133
3133
|
return i == null ? f : i.call(this, c, f);
|
|
3134
3134
|
};
|
|
3135
3135
|
}
|
|
3136
|
-
})(
|
|
3137
|
-
var
|
|
3138
|
-
const
|
|
3139
|
-
var
|
|
3140
|
-
return
|
|
3136
|
+
})(Ge, Ge.exports);
|
|
3137
|
+
var dr = Ge.exports;
|
|
3138
|
+
const Di = /* @__PURE__ */ et(dr);
|
|
3139
|
+
var _e = function() {
|
|
3140
|
+
return _e = Object.assign || function(t) {
|
|
3141
3141
|
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
3142
3142
|
n = arguments[r];
|
|
3143
3143
|
for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
3144
3144
|
}
|
|
3145
3145
|
return t;
|
|
3146
|
-
},
|
|
3147
|
-
},
|
|
3148
|
-
function
|
|
3146
|
+
}, _e.apply(this, arguments);
|
|
3147
|
+
}, Ee = /* @__PURE__ */ new Map(), Ye = /* @__PURE__ */ new Map(), $t = !0, Te = !1;
|
|
3148
|
+
function Ut(e) {
|
|
3149
3149
|
return e.replace(/[\s,]+/g, " ").trim();
|
|
3150
3150
|
}
|
|
3151
|
-
function
|
|
3152
|
-
return
|
|
3151
|
+
function pr(e) {
|
|
3152
|
+
return Ut(e.source.body.substring(e.start, e.end));
|
|
3153
3153
|
}
|
|
3154
|
-
function
|
|
3154
|
+
function mr(e) {
|
|
3155
3155
|
var t = /* @__PURE__ */ new Set(), n = [];
|
|
3156
3156
|
return e.definitions.forEach(function(r) {
|
|
3157
3157
|
if (r.kind === "FragmentDefinition") {
|
|
3158
|
-
var i = r.name.value, s =
|
|
3159
|
-
o && !o.has(s) ?
|
|
3158
|
+
var i = r.name.value, s = pr(r.loc), o = Ye.get(i);
|
|
3159
|
+
o && !o.has(s) ? $t && console.warn("Warning: fragment with name " + i + ` already exists.
|
|
3160
3160
|
graphql-tag enforces all fragment names across your application to be unique; read more about
|
|
3161
|
-
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`) : o ||
|
|
3161
|
+
this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`) : o || Ye.set(i, o = /* @__PURE__ */ new Set()), o.add(s), t.has(s) || (t.add(s), n.push(r));
|
|
3162
3162
|
} else
|
|
3163
3163
|
n.push(r);
|
|
3164
|
-
}),
|
|
3164
|
+
}), _e(_e({}, e), { definitions: n });
|
|
3165
3165
|
}
|
|
3166
|
-
function
|
|
3166
|
+
function gr(e) {
|
|
3167
3167
|
var t = new Set(e.definitions);
|
|
3168
3168
|
t.forEach(function(r) {
|
|
3169
3169
|
r.loc && delete r.loc, Object.keys(r).forEach(function(i) {
|
|
@@ -3174,57 +3174,57 @@ function fr(e) {
|
|
|
3174
3174
|
var n = e.loc;
|
|
3175
3175
|
return n && (delete n.startToken, delete n.endToken), e;
|
|
3176
3176
|
}
|
|
3177
|
-
function
|
|
3178
|
-
var t =
|
|
3179
|
-
if (!
|
|
3180
|
-
var n =
|
|
3181
|
-
experimentalFragmentVariables:
|
|
3182
|
-
allowLegacyFragmentVariables:
|
|
3177
|
+
function yr(e) {
|
|
3178
|
+
var t = Ut(e);
|
|
3179
|
+
if (!Ee.has(t)) {
|
|
3180
|
+
var n = Ft(e, {
|
|
3181
|
+
experimentalFragmentVariables: Te,
|
|
3182
|
+
allowLegacyFragmentVariables: Te
|
|
3183
3183
|
});
|
|
3184
3184
|
if (!n || n.kind !== "Document")
|
|
3185
3185
|
throw new Error("Not a valid GraphQL document.");
|
|
3186
|
-
|
|
3186
|
+
Ee.set(t, gr(mr(n)));
|
|
3187
3187
|
}
|
|
3188
|
-
return
|
|
3188
|
+
return Ee.get(t);
|
|
3189
3189
|
}
|
|
3190
|
-
function
|
|
3190
|
+
function k(e) {
|
|
3191
3191
|
for (var t = [], n = 1; n < arguments.length; n++)
|
|
3192
3192
|
t[n - 1] = arguments[n];
|
|
3193
3193
|
typeof e == "string" && (e = [e]);
|
|
3194
3194
|
var r = e[0];
|
|
3195
3195
|
return t.forEach(function(i, s) {
|
|
3196
3196
|
i && i.kind === "Document" ? r += i.loc.source.body : r += i, r += e[s + 1];
|
|
3197
|
-
}),
|
|
3197
|
+
}), yr(r);
|
|
3198
3198
|
}
|
|
3199
|
-
function
|
|
3200
|
-
|
|
3199
|
+
function Er() {
|
|
3200
|
+
Ee.clear(), Ye.clear();
|
|
3201
3201
|
}
|
|
3202
|
-
function
|
|
3203
|
-
|
|
3202
|
+
function _r() {
|
|
3203
|
+
$t = !1;
|
|
3204
3204
|
}
|
|
3205
|
-
function
|
|
3206
|
-
|
|
3205
|
+
function Tr() {
|
|
3206
|
+
Te = !0;
|
|
3207
3207
|
}
|
|
3208
|
-
function
|
|
3209
|
-
|
|
3208
|
+
function Sr() {
|
|
3209
|
+
Te = !1;
|
|
3210
3210
|
}
|
|
3211
3211
|
var ne = {
|
|
3212
|
-
gql:
|
|
3213
|
-
resetCaches:
|
|
3214
|
-
disableFragmentWarnings:
|
|
3215
|
-
enableExperimentalFragmentVariables:
|
|
3216
|
-
disableExperimentalFragmentVariables:
|
|
3212
|
+
gql: k,
|
|
3213
|
+
resetCaches: Er,
|
|
3214
|
+
disableFragmentWarnings: _r,
|
|
3215
|
+
enableExperimentalFragmentVariables: Tr,
|
|
3216
|
+
disableExperimentalFragmentVariables: Sr
|
|
3217
3217
|
};
|
|
3218
3218
|
(function(e) {
|
|
3219
3219
|
e.gql = ne.gql, e.resetCaches = ne.resetCaches, e.disableFragmentWarnings = ne.disableFragmentWarnings, e.enableExperimentalFragmentVariables = ne.enableExperimentalFragmentVariables, e.disableExperimentalFragmentVariables = ne.disableExperimentalFragmentVariables;
|
|
3220
|
-
})(
|
|
3221
|
-
|
|
3222
|
-
const
|
|
3220
|
+
})(k || (k = {}));
|
|
3221
|
+
k.default = k;
|
|
3222
|
+
const Bt = k`
|
|
3223
3223
|
fragment MatchParts on MatchConfig {
|
|
3224
3224
|
regexValue
|
|
3225
3225
|
matchValue
|
|
3226
3226
|
}
|
|
3227
|
-
`,
|
|
3227
|
+
`, vr = k`
|
|
3228
3228
|
mutation PushPayload(
|
|
3229
3229
|
$session_secure_id: String!
|
|
3230
3230
|
$payload_id: ID!
|
|
@@ -3250,7 +3250,7 @@ const Ft = R`
|
|
|
3250
3250
|
highlight_logs: $highlight_logs
|
|
3251
3251
|
)
|
|
3252
3252
|
}
|
|
3253
|
-
`,
|
|
3253
|
+
`, Ar = k`
|
|
3254
3254
|
mutation PushSessionEvents(
|
|
3255
3255
|
$session_secure_id: String!
|
|
3256
3256
|
$payload_id: Int64ID!
|
|
@@ -3262,7 +3262,7 @@ const Ft = R`
|
|
|
3262
3262
|
data: $data
|
|
3263
3263
|
)
|
|
3264
3264
|
}
|
|
3265
|
-
`,
|
|
3265
|
+
`, Nr = k`
|
|
3266
3266
|
mutation identifySession(
|
|
3267
3267
|
$session_secure_id: String!
|
|
3268
3268
|
$user_identifier: String!
|
|
@@ -3274,7 +3274,7 @@ const Ft = R`
|
|
|
3274
3274
|
user_object: $user_object
|
|
3275
3275
|
)
|
|
3276
3276
|
}
|
|
3277
|
-
`,
|
|
3277
|
+
`, Ir = k`
|
|
3278
3278
|
mutation addSessionProperties(
|
|
3279
3279
|
$session_secure_id: String!
|
|
3280
3280
|
$properties_object: Any
|
|
@@ -3284,11 +3284,11 @@ const Ft = R`
|
|
|
3284
3284
|
properties_object: $properties_object
|
|
3285
3285
|
)
|
|
3286
3286
|
}
|
|
3287
|
-
`,
|
|
3287
|
+
`, br = k`
|
|
3288
3288
|
mutation pushMetrics($metrics: [MetricInput]!) {
|
|
3289
3289
|
pushMetrics(metrics: $metrics)
|
|
3290
3290
|
}
|
|
3291
|
-
`,
|
|
3291
|
+
`, xr = k`
|
|
3292
3292
|
mutation addSessionFeedback(
|
|
3293
3293
|
$session_secure_id: String!
|
|
3294
3294
|
$user_name: String
|
|
@@ -3304,7 +3304,7 @@ const Ft = R`
|
|
|
3304
3304
|
timestamp: $timestamp
|
|
3305
3305
|
)
|
|
3306
3306
|
}
|
|
3307
|
-
`,
|
|
3307
|
+
`, Or = k`
|
|
3308
3308
|
mutation initializeSession(
|
|
3309
3309
|
$session_secure_id: String!
|
|
3310
3310
|
$session_key: String
|
|
@@ -3391,12 +3391,12 @@ const Ft = R`
|
|
|
3391
3391
|
}
|
|
3392
3392
|
}
|
|
3393
3393
|
}
|
|
3394
|
-
${
|
|
3395
|
-
`,
|
|
3394
|
+
${Bt}
|
|
3395
|
+
`, Dr = k`
|
|
3396
3396
|
query Ignore($id: ID!) {
|
|
3397
3397
|
ignore(id: $id)
|
|
3398
3398
|
}
|
|
3399
|
-
`,
|
|
3399
|
+
`, wr = k`
|
|
3400
3400
|
query GetSamplingConfig($organization_verbose_id: String!) {
|
|
3401
3401
|
sampling(organization_verbose_id: $organization_verbose_id) {
|
|
3402
3402
|
spans {
|
|
@@ -3445,16 +3445,16 @@ const Ft = R`
|
|
|
3445
3445
|
}
|
|
3446
3446
|
}
|
|
3447
3447
|
}
|
|
3448
|
-
${
|
|
3449
|
-
`,
|
|
3450
|
-
function
|
|
3448
|
+
${Bt}
|
|
3449
|
+
`, Cr = (e, t, n, r) => e();
|
|
3450
|
+
function wi(e, t = Cr) {
|
|
3451
3451
|
return {
|
|
3452
3452
|
PushPayload(n, r) {
|
|
3453
3453
|
return t(
|
|
3454
3454
|
(i) => e.request(
|
|
3455
|
-
|
|
3455
|
+
vr,
|
|
3456
3456
|
n,
|
|
3457
|
-
|
|
3457
|
+
E(E({}, r), i)
|
|
3458
3458
|
),
|
|
3459
3459
|
"PushPayload",
|
|
3460
3460
|
"mutation",
|
|
@@ -3464,9 +3464,9 @@ function Ni(e, t = br) {
|
|
|
3464
3464
|
PushSessionEvents(n, r) {
|
|
3465
3465
|
return t(
|
|
3466
3466
|
(i) => e.request(
|
|
3467
|
-
|
|
3467
|
+
Ar,
|
|
3468
3468
|
n,
|
|
3469
|
-
|
|
3469
|
+
E(E({}, r), i)
|
|
3470
3470
|
),
|
|
3471
3471
|
"PushSessionEvents",
|
|
3472
3472
|
"mutation",
|
|
@@ -3476,9 +3476,9 @@ function Ni(e, t = br) {
|
|
|
3476
3476
|
identifySession(n, r) {
|
|
3477
3477
|
return t(
|
|
3478
3478
|
(i) => e.request(
|
|
3479
|
-
|
|
3479
|
+
Nr,
|
|
3480
3480
|
n,
|
|
3481
|
-
|
|
3481
|
+
E(E({}, r), i)
|
|
3482
3482
|
),
|
|
3483
3483
|
"identifySession",
|
|
3484
3484
|
"mutation",
|
|
@@ -3488,9 +3488,9 @@ function Ni(e, t = br) {
|
|
|
3488
3488
|
addSessionProperties(n, r) {
|
|
3489
3489
|
return t(
|
|
3490
3490
|
(i) => e.request(
|
|
3491
|
-
|
|
3491
|
+
Ir,
|
|
3492
3492
|
n,
|
|
3493
|
-
|
|
3493
|
+
E(E({}, r), i)
|
|
3494
3494
|
),
|
|
3495
3495
|
"addSessionProperties",
|
|
3496
3496
|
"mutation",
|
|
@@ -3500,9 +3500,9 @@ function Ni(e, t = br) {
|
|
|
3500
3500
|
pushMetrics(n, r) {
|
|
3501
3501
|
return t(
|
|
3502
3502
|
(i) => e.request(
|
|
3503
|
-
|
|
3503
|
+
br,
|
|
3504
3504
|
n,
|
|
3505
|
-
|
|
3505
|
+
E(E({}, r), i)
|
|
3506
3506
|
),
|
|
3507
3507
|
"pushMetrics",
|
|
3508
3508
|
"mutation",
|
|
@@ -3512,9 +3512,9 @@ function Ni(e, t = br) {
|
|
|
3512
3512
|
addSessionFeedback(n, r) {
|
|
3513
3513
|
return t(
|
|
3514
3514
|
(i) => e.request(
|
|
3515
|
-
|
|
3515
|
+
xr,
|
|
3516
3516
|
n,
|
|
3517
|
-
|
|
3517
|
+
E(E({}, r), i)
|
|
3518
3518
|
),
|
|
3519
3519
|
"addSessionFeedback",
|
|
3520
3520
|
"mutation",
|
|
@@ -3524,9 +3524,9 @@ function Ni(e, t = br) {
|
|
|
3524
3524
|
initializeSession(n, r) {
|
|
3525
3525
|
return t(
|
|
3526
3526
|
(i) => e.request(
|
|
3527
|
-
|
|
3527
|
+
Or,
|
|
3528
3528
|
n,
|
|
3529
|
-
|
|
3529
|
+
E(E({}, r), i)
|
|
3530
3530
|
),
|
|
3531
3531
|
"initializeSession",
|
|
3532
3532
|
"mutation",
|
|
@@ -3535,7 +3535,7 @@ function Ni(e, t = br) {
|
|
|
3535
3535
|
},
|
|
3536
3536
|
Ignore(n, r) {
|
|
3537
3537
|
return t(
|
|
3538
|
-
(i) => e.request(
|
|
3538
|
+
(i) => e.request(Dr, n, E(E({}, r), i)),
|
|
3539
3539
|
"Ignore",
|
|
3540
3540
|
"query",
|
|
3541
3541
|
n
|
|
@@ -3544,9 +3544,9 @@ function Ni(e, t = br) {
|
|
|
3544
3544
|
GetSamplingConfig(n, r) {
|
|
3545
3545
|
return t(
|
|
3546
3546
|
(i) => e.request(
|
|
3547
|
-
|
|
3547
|
+
wr,
|
|
3548
3548
|
n,
|
|
3549
|
-
|
|
3549
|
+
E(E({}, r), i)
|
|
3550
3550
|
),
|
|
3551
3551
|
"GetSamplingConfig",
|
|
3552
3552
|
"query",
|
|
@@ -3555,7 +3555,7 @@ function Ni(e, t = br) {
|
|
|
3555
3555
|
}
|
|
3556
3556
|
};
|
|
3557
3557
|
}
|
|
3558
|
-
function
|
|
3558
|
+
function Ci(e, t, n) {
|
|
3559
3559
|
try {
|
|
3560
3560
|
if (!(t in e))
|
|
3561
3561
|
return () => {
|
|
@@ -3574,7 +3574,7 @@ function Ii(e, t, n) {
|
|
|
3574
3574
|
};
|
|
3575
3575
|
}
|
|
3576
3576
|
}
|
|
3577
|
-
function
|
|
3577
|
+
function kr(e) {
|
|
3578
3578
|
if (!e || !e.outerHTML)
|
|
3579
3579
|
return "";
|
|
3580
3580
|
let t = "";
|
|
@@ -3593,19 +3593,19 @@ function xr(e) {
|
|
|
3593
3593
|
}
|
|
3594
3594
|
return t;
|
|
3595
3595
|
}
|
|
3596
|
-
function
|
|
3596
|
+
function ze(e) {
|
|
3597
3597
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
3598
3598
|
}
|
|
3599
|
-
function
|
|
3599
|
+
function Vt(e, t) {
|
|
3600
3600
|
if (t === 0)
|
|
3601
3601
|
return !0;
|
|
3602
3602
|
const n = Object.keys(e);
|
|
3603
3603
|
for (const r of n)
|
|
3604
|
-
if (
|
|
3604
|
+
if (ze(e[r]) && Vt(e[r], t - 1))
|
|
3605
3605
|
return !0;
|
|
3606
3606
|
return !1;
|
|
3607
3607
|
}
|
|
3608
|
-
function
|
|
3608
|
+
function ki(e, t) {
|
|
3609
3609
|
const n = {
|
|
3610
3610
|
numOfKeysLimit: 50,
|
|
3611
3611
|
depthOfLimit: 4
|
|
@@ -3626,7 +3626,7 @@ function bi(e, t) {
|
|
|
3626
3626
|
const f = {};
|
|
3627
3627
|
for (const h in c) {
|
|
3628
3628
|
const m = c[h];
|
|
3629
|
-
Array.isArray(m) ? f[h] =
|
|
3629
|
+
Array.isArray(m) ? f[h] = kr(
|
|
3630
3630
|
m.length ? m[0] : null
|
|
3631
3631
|
) : f[h] = m;
|
|
3632
3632
|
}
|
|
@@ -3640,19 +3640,19 @@ function bi(e, t) {
|
|
|
3640
3640
|
return c;
|
|
3641
3641
|
});
|
|
3642
3642
|
function s(a) {
|
|
3643
|
-
return
|
|
3643
|
+
return ze(a) && Object.keys(a).length > n.numOfKeysLimit || typeof a == "function" ? !0 : a instanceof Event && a.isTrusted === !1 ? Object.keys(a).length === 1 : !!(ze(a) && Vt(a, n.depthOfLimit));
|
|
3644
3644
|
}
|
|
3645
3645
|
function o(a) {
|
|
3646
3646
|
let c = a.toString();
|
|
3647
3647
|
return n.stringLengthLimit && c.length > n.stringLengthLimit && (c = `${c.slice(0, n.stringLengthLimit)}...`), c;
|
|
3648
3648
|
}
|
|
3649
3649
|
}
|
|
3650
|
-
function
|
|
3650
|
+
function Rr() {
|
|
3651
3651
|
var e = document.createElement("canvas");
|
|
3652
3652
|
return e.getContext && e.getContext("2d") ? e.toDataURL("image/webp").indexOf("data:image/webp") == 0 : !1;
|
|
3653
3653
|
}
|
|
3654
|
-
function
|
|
3655
|
-
return
|
|
3654
|
+
function Ri() {
|
|
3655
|
+
return Rr() ? {
|
|
3656
3656
|
type: "image/webp",
|
|
3657
3657
|
quality: 0.9
|
|
3658
3658
|
} : {
|
|
@@ -3660,10 +3660,10 @@ function xi() {
|
|
|
3660
3660
|
quality: 0.6
|
|
3661
3661
|
};
|
|
3662
3662
|
}
|
|
3663
|
-
function
|
|
3663
|
+
function Li(e) {
|
|
3664
3664
|
return typeof e == "number" && !isNaN(e) && isFinite(e);
|
|
3665
3665
|
}
|
|
3666
|
-
const
|
|
3666
|
+
const Pi = "exception.message", Fi = "exception.stacktrace", Mi = "exception.type", $i = "http.response.status_code", Ui = "server.address", Bi = "service.name", Vi = "service.version", ji = "telemetry.sdk.name", qi = "telemetry.sdk.version", Hi = "url.full", Gi = "url.path", Yi = "url.query", zi = "user_agent.original", Ji = 1e3, Xi = 1e3 * 2, Lr = 4 * 60 * 60 * 1e3, tt = 15 * 60 * 1e3, Qi = {
|
|
3667
3667
|
normal: {
|
|
3668
3668
|
bytes: 1e7,
|
|
3669
3669
|
time: 4 * 60 * 1e3
|
|
@@ -3672,13 +3672,13 @@ const Di = "exception.message", wi = "exception.stacktrace", Ci = "exception.typ
|
|
|
3672
3672
|
bytes: 16e6,
|
|
3673
3673
|
time: 5e3
|
|
3674
3674
|
}
|
|
3675
|
-
},
|
|
3675
|
+
}, Ki = 100, Wi = "app.highlight.io", Zi = "https://app.launchdarkly.com", es = {
|
|
3676
3676
|
"observability.ld-stg.launchdarkly.com": "ld-stg.launchdarkly.com",
|
|
3677
3677
|
"observability.app.launchdarkly.com": "app.launchdarkly.com",
|
|
3678
3678
|
"observability.app.ld.catamorphic.com": "app.ld.catamorphic.com"
|
|
3679
|
-
},
|
|
3679
|
+
}, ts = "/projects/default", ns = new RegExp("pub\\.(?<domain>.+)");
|
|
3680
3680
|
/*! js-cookie v3.0.8 | MIT */
|
|
3681
|
-
function
|
|
3681
|
+
function he(e) {
|
|
3682
3682
|
for (var t = 1; t < arguments.length; t++) {
|
|
3683
3683
|
var n = arguments[t];
|
|
3684
3684
|
for (var r in n)
|
|
@@ -3686,7 +3686,7 @@ function le(e) {
|
|
|
3686
3686
|
}
|
|
3687
3687
|
return e;
|
|
3688
3688
|
}
|
|
3689
|
-
var
|
|
3689
|
+
var Pr = {
|
|
3690
3690
|
read: function(e) {
|
|
3691
3691
|
return e[0] === '"' && (e = e.slice(1, -1)), e.replace(/(%[\dA-F]{2})+/gi, decodeURIComponent);
|
|
3692
3692
|
},
|
|
@@ -3697,10 +3697,10 @@ var Dr = {
|
|
|
3697
3697
|
);
|
|
3698
3698
|
}
|
|
3699
3699
|
};
|
|
3700
|
-
function
|
|
3700
|
+
function Je(e, t) {
|
|
3701
3701
|
function n(i, s, o) {
|
|
3702
3702
|
if (typeof document != "undefined") {
|
|
3703
|
-
o =
|
|
3703
|
+
o = he({}, t, o), typeof o.expires == "number" && (o.expires = new Date(Date.now() + o.expires * 864e5)), o.expires && (o.expires = o.expires.toUTCString()), i = encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
|
|
3704
3704
|
var a = "";
|
|
3705
3705
|
for (var c in o)
|
|
3706
3706
|
o[c] && (a += "; " + c, o[c] !== !0 && (a += "=" + o[c].split(";")[0]));
|
|
@@ -3729,16 +3729,16 @@ function ze(e, t) {
|
|
|
3729
3729
|
n(
|
|
3730
3730
|
i,
|
|
3731
3731
|
"",
|
|
3732
|
-
|
|
3732
|
+
he({}, s, {
|
|
3733
3733
|
expires: -1
|
|
3734
3734
|
})
|
|
3735
3735
|
);
|
|
3736
3736
|
},
|
|
3737
3737
|
withAttributes: function(i) {
|
|
3738
|
-
return
|
|
3738
|
+
return Je(this.converter, he({}, this.attributes, i));
|
|
3739
3739
|
},
|
|
3740
3740
|
withConverter: function(i) {
|
|
3741
|
-
return
|
|
3741
|
+
return Je(he({}, this.converter, i), this.attributes);
|
|
3742
3742
|
}
|
|
3743
3743
|
},
|
|
3744
3744
|
{
|
|
@@ -3747,9 +3747,9 @@ function ze(e, t) {
|
|
|
3747
3747
|
}
|
|
3748
3748
|
);
|
|
3749
3749
|
}
|
|
3750
|
-
var
|
|
3751
|
-
let
|
|
3752
|
-
class
|
|
3750
|
+
var de = Je(Pr, { path: "/" }), Fr = /* @__PURE__ */ ((e) => (e.CLIENT_ID = "highlightClientID", e))(Fr || {});
|
|
3751
|
+
let Se = "localStorage", Xe = !0, ie;
|
|
3752
|
+
class Mr {
|
|
3753
3753
|
constructor() {
|
|
3754
3754
|
Y(this, "storage", {});
|
|
3755
3755
|
}
|
|
@@ -3771,31 +3771,33 @@ class Cr {
|
|
|
3771
3771
|
delete this.storage[t];
|
|
3772
3772
|
}
|
|
3773
3773
|
}
|
|
3774
|
-
class
|
|
3774
|
+
class $r {
|
|
3775
3775
|
getItem(t) {
|
|
3776
3776
|
var n;
|
|
3777
|
-
return (n =
|
|
3777
|
+
return (n = de.get(t)) != null ? n : "";
|
|
3778
3778
|
}
|
|
3779
3779
|
setItem(t, n) {
|
|
3780
|
-
if (!
|
|
3780
|
+
if (!Xe)
|
|
3781
3781
|
return;
|
|
3782
3782
|
const r = /* @__PURE__ */ new Date();
|
|
3783
|
-
r.setTime(r.getTime() +
|
|
3783
|
+
r.setTime(r.getTime() + tt), de.set(t, n, E({
|
|
3784
|
+
expires: r
|
|
3785
|
+
}, ie ? { domain: ie } : {}));
|
|
3784
3786
|
}
|
|
3785
3787
|
removeItem(t) {
|
|
3786
|
-
|
|
3788
|
+
Xe && de.remove(t, ie ? { domain: ie } : void 0);
|
|
3787
3789
|
}
|
|
3788
3790
|
keys() {
|
|
3789
3791
|
var t;
|
|
3790
|
-
return Object.keys((t =
|
|
3792
|
+
return Object.keys((t = de.get()) != null ? t : {});
|
|
3791
3793
|
}
|
|
3792
3794
|
}
|
|
3793
|
-
const K = new
|
|
3795
|
+
const K = new Mr(), W = new $r(), Ie = () => {
|
|
3794
3796
|
let e = null;
|
|
3795
3797
|
if (typeof window == "undefined")
|
|
3796
3798
|
return K;
|
|
3797
3799
|
try {
|
|
3798
|
-
switch (
|
|
3800
|
+
switch (Se) {
|
|
3799
3801
|
case "localStorage":
|
|
3800
3802
|
e = window.localStorage;
|
|
3801
3803
|
break;
|
|
@@ -3807,7 +3809,7 @@ const K = new Cr(), W = new Rr(), Ae = () => {
|
|
|
3807
3809
|
"storage",
|
|
3808
3810
|
"getPersistentStorage",
|
|
3809
3811
|
"debug",
|
|
3810
|
-
`persistent storage was not found for mode ${
|
|
3812
|
+
`persistent storage was not found for mode ${Se}; using global storage`
|
|
3811
3813
|
), e = K);
|
|
3812
3814
|
} catch (t) {
|
|
3813
3815
|
$(
|
|
@@ -3819,13 +3821,15 @@ const K = new Cr(), W = new Rr(), Ae = () => {
|
|
|
3819
3821
|
), e = K;
|
|
3820
3822
|
}
|
|
3821
3823
|
return e;
|
|
3822
|
-
},
|
|
3823
|
-
|
|
3824
|
-
},
|
|
3825
|
-
|
|
3826
|
-
},
|
|
3824
|
+
}, Ur = (e) => {
|
|
3825
|
+
Se = e;
|
|
3826
|
+
}, gt = (e) => {
|
|
3827
|
+
Xe = e;
|
|
3828
|
+
}, Br = (e) => {
|
|
3829
|
+
ie = e;
|
|
3830
|
+
}, nt = (e) => {
|
|
3827
3831
|
try {
|
|
3828
|
-
return
|
|
3832
|
+
return Ie().getItem(e);
|
|
3829
3833
|
} catch (t) {
|
|
3830
3834
|
return $(
|
|
3831
3835
|
"storage",
|
|
@@ -3835,10 +3839,10 @@ const K = new Cr(), W = new Rr(), Ae = () => {
|
|
|
3835
3839
|
t
|
|
3836
3840
|
), K.getItem(e);
|
|
3837
3841
|
}
|
|
3838
|
-
},
|
|
3842
|
+
}, jt = (e, t) => {
|
|
3839
3843
|
W.setItem(e, t);
|
|
3840
3844
|
try {
|
|
3841
|
-
return
|
|
3845
|
+
return Ie().setItem(e, t);
|
|
3842
3846
|
} catch (n) {
|
|
3843
3847
|
return $(
|
|
3844
3848
|
"storage",
|
|
@@ -3848,10 +3852,10 @@ const K = new Cr(), W = new Rr(), Ae = () => {
|
|
|
3848
3852
|
n
|
|
3849
3853
|
), K.setItem(e, t);
|
|
3850
3854
|
}
|
|
3851
|
-
},
|
|
3855
|
+
}, rt = (e) => {
|
|
3852
3856
|
W.removeItem(e);
|
|
3853
3857
|
try {
|
|
3854
|
-
return
|
|
3858
|
+
return Ie().removeItem(e);
|
|
3855
3859
|
} catch (t) {
|
|
3856
3860
|
return $(
|
|
3857
3861
|
"storage",
|
|
@@ -3861,8 +3865,8 @@ const K = new Cr(), W = new Rr(), Ae = () => {
|
|
|
3861
3865
|
t
|
|
3862
3866
|
), K.removeItem(e);
|
|
3863
3867
|
}
|
|
3864
|
-
},
|
|
3865
|
-
if (
|
|
3868
|
+
}, rs = (e) => {
|
|
3869
|
+
if (Se === "sessionStorage") {
|
|
3866
3870
|
$(
|
|
3867
3871
|
"segment",
|
|
3868
3872
|
"sessionStorage",
|
|
@@ -3887,45 +3891,71 @@ const K = new Cr(), W = new Rr(), Ae = () => {
|
|
|
3887
3891
|
};
|
|
3888
3892
|
};
|
|
3889
3893
|
var ee = /* @__PURE__ */ ((e) => (e.SEGMENT_LAST_SENT_HASH_KEY = "HIGHLIGHT_SEGMENT_LAST_SENT_HASH_KEY", e.SESSION_ID = "sessionID", e.SESSION_DATA = "sessionData", e.USER_IDENTIFIER = "highlightIdentifier", e.USER_OBJECT = "highlightUserObject", e))(ee || {});
|
|
3890
|
-
const
|
|
3894
|
+
const oe = (e) => `${ee.SESSION_DATA}_${e}`, qt = () => {
|
|
3891
3895
|
var e;
|
|
3892
|
-
return typeof globalThis != "undefined" && ((e = globalThis.persistentSessionSecureID) != null && e.length) ? globalThis.persistentSessionSecureID :
|
|
3893
|
-
},
|
|
3896
|
+
return typeof globalThis != "undefined" && ((e = globalThis.persistentSessionSecureID) != null && e.length) ? globalThis.persistentSessionSecureID : Ht();
|
|
3897
|
+
}, Vr = (e) => {
|
|
3894
3898
|
typeof globalThis != "undefined" && (e != null && e.length) && (globalThis.persistentSessionSecureID = e);
|
|
3895
|
-
},
|
|
3899
|
+
}, Ht = () => {
|
|
3896
3900
|
var e;
|
|
3897
|
-
return (e =
|
|
3898
|
-
},
|
|
3899
|
-
|
|
3900
|
-
},
|
|
3901
|
-
const t =
|
|
3902
|
-
return JSON.parse(
|
|
3903
|
-
},
|
|
3904
|
-
e || (e =
|
|
3905
|
-
let t =
|
|
3906
|
-
if (t && t.lastPushTime && Date.now() - t.lastPushTime <
|
|
3901
|
+
return (e = nt(ee.SESSION_ID)) != null ? e : "";
|
|
3902
|
+
}, Gt = (e) => {
|
|
3903
|
+
jt(ee.SESSION_ID, e);
|
|
3904
|
+
}, Yt = (e) => {
|
|
3905
|
+
const t = oe(e);
|
|
3906
|
+
return JSON.parse(nt(t) || "{}");
|
|
3907
|
+
}, zt = (e, t) => !e.sessionKey && !!e.sessionStartTime && t - e.sessionStartTime > Lr, jr = (e) => {
|
|
3908
|
+
e || (e = Ht());
|
|
3909
|
+
let t = Yt(e);
|
|
3910
|
+
if (t && t.lastPushTime && Date.now() - t.lastPushTime < tt && // A recent push does not extend a session past its maximum length.
|
|
3911
|
+
!zt(t, Date.now()))
|
|
3907
3912
|
return t;
|
|
3908
|
-
|
|
3909
|
-
},
|
|
3913
|
+
rt(oe(e));
|
|
3914
|
+
}, qr = 10 * 1e3;
|
|
3915
|
+
let yt = 0;
|
|
3916
|
+
const is = () => {
|
|
3917
|
+
const e = Date.now();
|
|
3918
|
+
if (!(e - yt < qr)) {
|
|
3919
|
+
yt = e;
|
|
3920
|
+
try {
|
|
3921
|
+
const t = Yt(qt());
|
|
3922
|
+
if (!(t != null && t.sessionSecureID))
|
|
3923
|
+
return;
|
|
3924
|
+
if (zt(t, e)) {
|
|
3925
|
+
rt(oe(t.sessionSecureID));
|
|
3926
|
+
return;
|
|
3927
|
+
}
|
|
3928
|
+
it(B(E({}, t), { lastPushTime: e }));
|
|
3929
|
+
} catch (t) {
|
|
3930
|
+
$(
|
|
3931
|
+
"highlightSession",
|
|
3932
|
+
"touchSession",
|
|
3933
|
+
"debug",
|
|
3934
|
+
"failed to refresh session activity",
|
|
3935
|
+
t
|
|
3936
|
+
);
|
|
3937
|
+
}
|
|
3938
|
+
}
|
|
3939
|
+
}, it = function(e) {
|
|
3910
3940
|
if (!(e != null && e.sessionSecureID)) return;
|
|
3911
3941
|
const t = e.sessionSecureID;
|
|
3912
|
-
|
|
3913
|
-
const n =
|
|
3914
|
-
|
|
3915
|
-
},
|
|
3942
|
+
Vr(t);
|
|
3943
|
+
const n = oe(t);
|
|
3944
|
+
jt(n, JSON.stringify(e)), Gr(n);
|
|
3945
|
+
}, Hr = function() {
|
|
3916
3946
|
const e = W.getItem(
|
|
3917
3947
|
ee.SESSION_ID
|
|
3918
3948
|
);
|
|
3919
|
-
|
|
3920
|
-
const t =
|
|
3949
|
+
Gt(e);
|
|
3950
|
+
const t = oe(e), n = W.getItem(t);
|
|
3921
3951
|
try {
|
|
3922
|
-
|
|
3952
|
+
it(JSON.parse(n));
|
|
3923
3953
|
} catch (r) {
|
|
3924
3954
|
}
|
|
3925
3955
|
};
|
|
3926
|
-
function
|
|
3956
|
+
function Gr(e) {
|
|
3927
3957
|
var i;
|
|
3928
|
-
const t = `${ee.SESSION_DATA}_`, n = /* @__PURE__ */ new Set(), r =
|
|
3958
|
+
const t = `${ee.SESSION_DATA}_`, n = /* @__PURE__ */ new Set(), r = Ie();
|
|
3929
3959
|
for (let s = r.length - 1; s >= 0; s--) {
|
|
3930
3960
|
const o = r.key(s);
|
|
3931
3961
|
o && o.startsWith(t) && o !== e && n.add(o);
|
|
@@ -3935,8 +3965,8 @@ function Ur(e) {
|
|
|
3935
3965
|
for (const s of n) {
|
|
3936
3966
|
let o = !0;
|
|
3937
3967
|
try {
|
|
3938
|
-
const a =
|
|
3939
|
-
o = f === void 0 || Date.now() - f >=
|
|
3968
|
+
const a = nt(s) || W.getItem(s) || "{}", c = JSON.parse(a), f = (i = c.lastPushTime) != null ? i : c.sessionStartTime;
|
|
3969
|
+
o = f === void 0 || Date.now() - f >= tt;
|
|
3940
3970
|
} catch (a) {
|
|
3941
3971
|
}
|
|
3942
3972
|
o && ($(
|
|
@@ -3944,27 +3974,27 @@ function Ur(e) {
|
|
|
3944
3974
|
"pruneSessionData",
|
|
3945
3975
|
"debug",
|
|
3946
3976
|
`removing session data for stale key ${s}`
|
|
3947
|
-
),
|
|
3977
|
+
), rt(s));
|
|
3948
3978
|
}
|
|
3949
3979
|
}
|
|
3950
|
-
var
|
|
3951
|
-
const
|
|
3980
|
+
var Jt = /* @__PURE__ */ ((e) => (e.BillingQuotaExceeded = "BillingQuotaExceeded", e))(Jt || {});
|
|
3981
|
+
const Yr = 3, zr = 1e3, Jr = 500, Xr = [Jt.BillingQuotaExceeded.toString()], Qr = (e) => {
|
|
3952
3982
|
var n;
|
|
3953
3983
|
return ((n = e.response.errors) == null ? void 0 : n.find(
|
|
3954
|
-
(r) =>
|
|
3984
|
+
(r) => Xr.includes(r.message)
|
|
3955
3985
|
)) === void 0;
|
|
3956
|
-
},
|
|
3957
|
-
const e = (t, n, r, i, s = 0) =>
|
|
3986
|
+
}, ss = () => {
|
|
3987
|
+
const e = (t, n, r, i, s = 0) => V(void 0, null, function* () {
|
|
3958
3988
|
try {
|
|
3959
3989
|
return yield t();
|
|
3960
3990
|
} catch (o) {
|
|
3961
|
-
if (o instanceof Q && !
|
|
3991
|
+
if (o instanceof Q && !Qr(o))
|
|
3962
3992
|
throw o;
|
|
3963
|
-
if (s <
|
|
3993
|
+
if (s < Yr)
|
|
3964
3994
|
return yield new Promise(
|
|
3965
3995
|
(a) => setTimeout(
|
|
3966
3996
|
a,
|
|
3967
|
-
|
|
3997
|
+
zr + Jr * Math.pow(2, s)
|
|
3968
3998
|
)
|
|
3969
3999
|
), yield e(
|
|
3970
4000
|
t,
|
|
@@ -3973,14 +4003,14 @@ const Br = 3, Vr = 1e3, jr = 500, qr = [qt.BillingQuotaExceeded.toString()], Hr
|
|
|
3973
4003
|
i,
|
|
3974
4004
|
s + 1
|
|
3975
4005
|
);
|
|
3976
|
-
throw
|
|
4006
|
+
throw hn(
|
|
3977
4007
|
"error",
|
|
3978
4008
|
`highlight.io: data request failed after ${s} retries`
|
|
3979
4009
|
), o;
|
|
3980
4010
|
}
|
|
3981
4011
|
});
|
|
3982
4012
|
return e;
|
|
3983
|
-
}, C = "feature_flag",
|
|
4013
|
+
}, C = "feature_flag", Xt = "launchdarkly", Qt = "evaluation", Kr = `${C}.${Qt}`, os = `${C}.set.id`, Wr = `${C}.key`, Zr = `${C}.contextKeys`, ei = `${C}.context.id`, ti = `${C}.result.value`, ni = `${C}.provider.name`, Et = {
|
|
3984
4014
|
kind: `${C}.result.reason.kind`,
|
|
3985
4015
|
errorKind: `${C}.result.reason.errorKind`,
|
|
3986
4016
|
ruleIndex: `${C}.result.reason.ruleIndex`,
|
|
@@ -3988,61 +4018,61 @@ const Br = 3, Vr = 1e3, jr = 500, qr = [qt.BillingQuotaExceeded.toString()], Hr
|
|
|
3988
4018
|
prerequisiteKey: `${C}.result.reason.prerequisiteKey`,
|
|
3989
4019
|
inExperiment: `${C}.result.reason.inExperiment`,
|
|
3990
4020
|
bigSegmentsStatus: `${C}.result.reason.bigSegmentsStatus`
|
|
3991
|
-
},
|
|
3992
|
-
function
|
|
4021
|
+
}, ri = `${C}.result.variationIndex`, as = `${Xt}.application.id`, cs = `${Xt}.application.version`, ii = "context", us = `${ii}.contextKeys`, si = "$ld:telemetry:session:init", _t = "$ld:telemetry:track", ls = "launchdarkly.track", fs = "page_view", hs = "document_load", ds = "result.status";
|
|
4022
|
+
function Tt(e) {
|
|
3993
4023
|
return e.includes("%") || e.includes(":") ? e.replace(/%/g, "%25").replace(/:/g, "%3A") : e;
|
|
3994
4024
|
}
|
|
3995
|
-
function
|
|
4025
|
+
function Kt(e) {
|
|
3996
4026
|
return e.kind === "multi";
|
|
3997
4027
|
}
|
|
3998
|
-
function
|
|
3999
|
-
return
|
|
4028
|
+
function St(e) {
|
|
4029
|
+
return Kt(e) ? Object.keys(e).sort().filter((t) => t !== "kind").map((t) => `${t}:${Tt(e[t].key)}`).join(":") : "kind" in e && e.kind === "user" ? e.key : "kind" in e ? `${e.kind}:${Tt(e.key)}` : e.key;
|
|
4000
4030
|
}
|
|
4001
|
-
function
|
|
4002
|
-
return
|
|
4031
|
+
function vt(e) {
|
|
4032
|
+
return Kt(e) ? Object.keys(e).sort().filter((t) => t !== "kind").map((t) => ({
|
|
4003
4033
|
[t]: e[t].key
|
|
4004
|
-
})).reduce((t, n) =>
|
|
4034
|
+
})).reduce((t, n) => E(E({}, t), n), {}) : "kind" in e ? {
|
|
4005
4035
|
[e.kind]: e.key
|
|
4006
4036
|
} : {
|
|
4007
4037
|
user: e.key
|
|
4008
4038
|
};
|
|
4009
4039
|
}
|
|
4010
|
-
function
|
|
4040
|
+
function ps(e, t, n) {
|
|
4011
4041
|
t.addHook({
|
|
4012
4042
|
getMetadata: () => ({
|
|
4013
4043
|
name: "highlight.run"
|
|
4014
4044
|
}),
|
|
4015
4045
|
afterIdentify: (r, i, s) => {
|
|
4016
4046
|
var a, c;
|
|
4017
|
-
const o =
|
|
4018
|
-
key: (c = (a = n == null ? void 0 : n.contextFriendlyName) == null ? void 0 : a.call(n, r.context)) != null ? c :
|
|
4047
|
+
const o = B(E({}, vt(r.context)), {
|
|
4048
|
+
key: (c = (a = n == null ? void 0 : n.contextFriendlyName) == null ? void 0 : a.call(n, r.context)) != null ? c : St(r.context)
|
|
4019
4049
|
});
|
|
4020
4050
|
return e.log("LD.identify", "INFO", o), s.status === "completed" && e.identify(o.key, o, "LaunchDarkly"), i;
|
|
4021
4051
|
},
|
|
4022
4052
|
afterEvaluation: (r, i, s) => {
|
|
4023
|
-
const o =
|
|
4024
|
-
[
|
|
4025
|
-
[
|
|
4026
|
-
[
|
|
4053
|
+
const o = E({
|
|
4054
|
+
[ni]: "LaunchDarkly",
|
|
4055
|
+
[Wr]: r.flagKey,
|
|
4056
|
+
[ti]: JSON.stringify(s.value)
|
|
4027
4057
|
}, s.variationIndex !== void 0 && s.variationIndex !== null ? {
|
|
4028
|
-
[
|
|
4058
|
+
[ri]: s.variationIndex
|
|
4029
4059
|
} : {});
|
|
4030
4060
|
if (s.reason)
|
|
4031
|
-
for (const a in
|
|
4061
|
+
for (const a in Et) {
|
|
4032
4062
|
const c = a, f = s.reason[c];
|
|
4033
|
-
f != null && (o[
|
|
4063
|
+
f != null && (o[Et[c]] = f);
|
|
4034
4064
|
}
|
|
4035
|
-
return r.context && (o[
|
|
4036
|
-
|
|
4037
|
-
), o[
|
|
4065
|
+
return r.context && (o[Zr] = JSON.stringify(
|
|
4066
|
+
vt(r.context)
|
|
4067
|
+
), o[ei] = St(
|
|
4038
4068
|
r.context
|
|
4039
|
-
)), e.startSpan(
|
|
4040
|
-
a && a.addEvent(
|
|
4069
|
+
)), e.startSpan(Qt, (a) => {
|
|
4070
|
+
a && a.addEvent(Kr, o);
|
|
4041
4071
|
}), i;
|
|
4042
4072
|
}
|
|
4043
4073
|
});
|
|
4044
4074
|
}
|
|
4045
|
-
class
|
|
4075
|
+
class oi {
|
|
4046
4076
|
constructor(t, n) {
|
|
4047
4077
|
Y(this, "client");
|
|
4048
4078
|
Y(this, "metadata");
|
|
@@ -4052,7 +4082,7 @@ class ei {
|
|
|
4052
4082
|
return [];
|
|
4053
4083
|
}
|
|
4054
4084
|
init(t) {
|
|
4055
|
-
this.client.track(
|
|
4085
|
+
this.client.track(si, {
|
|
4056
4086
|
sessionID: t
|
|
4057
4087
|
});
|
|
4058
4088
|
}
|
|
@@ -4065,18 +4095,18 @@ class ei {
|
|
|
4065
4095
|
track(t, n) {
|
|
4066
4096
|
const r = n.event;
|
|
4067
4097
|
this.client.track(
|
|
4068
|
-
r ? `${
|
|
4069
|
-
|
|
4098
|
+
r ? `${_t}:${r}` : _t,
|
|
4099
|
+
B(E({}, n), {
|
|
4070
4100
|
sessionID: t
|
|
4071
4101
|
})
|
|
4072
4102
|
);
|
|
4073
4103
|
}
|
|
4074
4104
|
}
|
|
4075
|
-
class
|
|
4105
|
+
class ms extends dn {
|
|
4076
4106
|
constructor(n, r) {
|
|
4077
4107
|
super();
|
|
4078
4108
|
Y(this, "client");
|
|
4079
|
-
this.client = new
|
|
4109
|
+
this.client = new oi(n, r);
|
|
4080
4110
|
}
|
|
4081
4111
|
getHooks(n) {
|
|
4082
4112
|
return [
|
|
@@ -4109,7 +4139,7 @@ class us extends cn {
|
|
|
4109
4139
|
return this._bufferCall("track", [n, r]);
|
|
4110
4140
|
}
|
|
4111
4141
|
}
|
|
4112
|
-
const
|
|
4142
|
+
const gs = (e) => {
|
|
4113
4143
|
e(window.location.href);
|
|
4114
4144
|
const t = history.pushState;
|
|
4115
4145
|
history.pushState = /* @__PURE__ */ ((s) => function() {
|
|
@@ -4131,15 +4161,15 @@ const ls = (e) => {
|
|
|
4131
4161
|
return window.addEventListener("locationchange", i), () => {
|
|
4132
4162
|
window.removeEventListener("popstate", r), window.removeEventListener("locationchange", i), history.pushState = t, history.replaceState = n;
|
|
4133
4163
|
};
|
|
4134
|
-
},
|
|
4135
|
-
version:
|
|
4136
|
-
},
|
|
4137
|
-
let L,
|
|
4138
|
-
function
|
|
4139
|
-
return e.nodeType, Node.ELEMENT_NODE,
|
|
4140
|
-
return
|
|
4164
|
+
}, ai = "1.4.1", ci = {
|
|
4165
|
+
version: ai
|
|
4166
|
+
}, ys = ci.version;
|
|
4167
|
+
let L, st;
|
|
4168
|
+
function Es(e, t) {
|
|
4169
|
+
return e.nodeType, Node.ELEMENT_NODE, Qe(e);
|
|
4170
|
+
return ui(e, t);
|
|
4141
4171
|
}
|
|
4142
|
-
function
|
|
4172
|
+
function _s(e) {
|
|
4143
4173
|
if (e.id.length)
|
|
4144
4174
|
return `#${e.id}`;
|
|
4145
4175
|
if (e.classList.length) {
|
|
@@ -4150,7 +4180,7 @@ function ds(e) {
|
|
|
4150
4180
|
}
|
|
4151
4181
|
return e.nodeName.toLowerCase();
|
|
4152
4182
|
}
|
|
4153
|
-
function
|
|
4183
|
+
function ui(e, t) {
|
|
4154
4184
|
if (e.tagName.toLowerCase() === "html")
|
|
4155
4185
|
return "html";
|
|
4156
4186
|
try {
|
|
@@ -4166,14 +4196,14 @@ function ri(e, t) {
|
|
|
4166
4196
|
maxNumberOfTries: 1e3,
|
|
4167
4197
|
optimized: !0
|
|
4168
4198
|
};
|
|
4169
|
-
L =
|
|
4170
|
-
let r =
|
|
4199
|
+
L = E(E({}, n), t), st = li(L.root, n);
|
|
4200
|
+
let r = Fe(
|
|
4171
4201
|
e,
|
|
4172
4202
|
0,
|
|
4173
|
-
() =>
|
|
4203
|
+
() => Fe(
|
|
4174
4204
|
e,
|
|
4175
4205
|
1,
|
|
4176
|
-
() =>
|
|
4206
|
+
() => Fe(
|
|
4177
4207
|
e,
|
|
4178
4208
|
2
|
|
4179
4209
|
/* One */
|
|
@@ -4182,54 +4212,54 @@ function ri(e, t) {
|
|
|
4182
4212
|
);
|
|
4183
4213
|
if (r) {
|
|
4184
4214
|
if (L.optimized) {
|
|
4185
|
-
const i =
|
|
4215
|
+
const i = en(tn(r, e));
|
|
4186
4216
|
i.length > 0 && (r = i[0]);
|
|
4187
4217
|
}
|
|
4188
|
-
return
|
|
4218
|
+
return be(r);
|
|
4189
4219
|
} else
|
|
4190
|
-
return
|
|
4220
|
+
return Qe(e);
|
|
4191
4221
|
} catch (n) {
|
|
4192
|
-
return
|
|
4222
|
+
return Qe(e);
|
|
4193
4223
|
}
|
|
4194
4224
|
}
|
|
4195
|
-
function
|
|
4225
|
+
function li(e, t) {
|
|
4196
4226
|
return e.nodeType === Node.DOCUMENT_NODE ? e : e === t.root ? e.ownerDocument : e;
|
|
4197
4227
|
}
|
|
4198
|
-
function
|
|
4228
|
+
function Fe(e, t, n) {
|
|
4199
4229
|
let r = null, i = [], s = e, o = 0;
|
|
4200
4230
|
for (; s && s !== L.root.parentElement; ) {
|
|
4201
|
-
let a =
|
|
4202
|
-
const c =
|
|
4231
|
+
let a = pe(fi(s)) || pe(...hi(s)) || pe(...di(s)) || pe(pi(s)) || [mi()];
|
|
4232
|
+
const c = gi(s);
|
|
4203
4233
|
if (t === 0)
|
|
4204
4234
|
c && (a = a.concat(
|
|
4205
|
-
a.filter(
|
|
4235
|
+
a.filter($e).map((f) => Me(f, c))
|
|
4206
4236
|
));
|
|
4207
4237
|
else if (t === 1)
|
|
4208
4238
|
a = a.slice(0, 1), c && (a = a.concat(
|
|
4209
|
-
a.filter(
|
|
4239
|
+
a.filter($e).map((f) => Me(f, c))
|
|
4210
4240
|
));
|
|
4211
4241
|
else if (t === 2) {
|
|
4212
4242
|
const [f] = a = a.slice(0, 1);
|
|
4213
|
-
c &&
|
|
4243
|
+
c && $e(f) && (a = [Me(f, c)]);
|
|
4214
4244
|
}
|
|
4215
4245
|
for (let f of a)
|
|
4216
4246
|
f.level = o;
|
|
4217
|
-
if (i.push(a), i.length >= L.seedMinLength && (r =
|
|
4247
|
+
if (i.push(a), i.length >= L.seedMinLength && (r = At(i, n), r))
|
|
4218
4248
|
break;
|
|
4219
4249
|
s = s.parentElement, o++;
|
|
4220
4250
|
}
|
|
4221
|
-
return r || (r =
|
|
4251
|
+
return r || (r = At(i, n)), r;
|
|
4222
4252
|
}
|
|
4223
|
-
function
|
|
4224
|
-
const n =
|
|
4253
|
+
function At(e, t) {
|
|
4254
|
+
const n = en(Zt(e));
|
|
4225
4255
|
if (n.length > L.threshold)
|
|
4226
4256
|
return t ? t() : null;
|
|
4227
4257
|
for (let r of n)
|
|
4228
|
-
if (
|
|
4258
|
+
if (Wt(r))
|
|
4229
4259
|
return r;
|
|
4230
4260
|
return null;
|
|
4231
4261
|
}
|
|
4232
|
-
function
|
|
4262
|
+
function be(e) {
|
|
4233
4263
|
let t = e[0], n = t.name;
|
|
4234
4264
|
for (let r = 1; r < e.length; r++) {
|
|
4235
4265
|
const i = e[r].level || 0;
|
|
@@ -4237,11 +4267,11 @@ function Ie(e) {
|
|
|
4237
4267
|
}
|
|
4238
4268
|
return n;
|
|
4239
4269
|
}
|
|
4240
|
-
function
|
|
4270
|
+
function Nt(e) {
|
|
4241
4271
|
return e.map((t) => t.penalty).reduce((t, n) => t + n, 0);
|
|
4242
4272
|
}
|
|
4243
|
-
function
|
|
4244
|
-
switch (
|
|
4273
|
+
function Wt(e) {
|
|
4274
|
+
switch (st.querySelectorAll(be(e)).length) {
|
|
4245
4275
|
case 0:
|
|
4246
4276
|
return !0;
|
|
4247
4277
|
case 1:
|
|
@@ -4250,45 +4280,45 @@ function zt(e) {
|
|
|
4250
4280
|
return !1;
|
|
4251
4281
|
}
|
|
4252
4282
|
}
|
|
4253
|
-
function
|
|
4283
|
+
function fi(e) {
|
|
4254
4284
|
const t = e.getAttribute("id");
|
|
4255
4285
|
return t && L.idName(t) ? {
|
|
4256
|
-
name: "#" +
|
|
4286
|
+
name: "#" + ve(t, { isIdentifier: !0 }),
|
|
4257
4287
|
penalty: 0
|
|
4258
4288
|
} : null;
|
|
4259
4289
|
}
|
|
4260
|
-
function
|
|
4290
|
+
function hi(e) {
|
|
4261
4291
|
return Array.from(e.attributes).filter(
|
|
4262
4292
|
(n) => L.attr(n.name, n.value)
|
|
4263
4293
|
).map(
|
|
4264
4294
|
(n) => ({
|
|
4265
|
-
name: "[" +
|
|
4295
|
+
name: "[" + ve(n.name, { isIdentifier: !0 }) + '="' + ve(n.value) + '"]',
|
|
4266
4296
|
penalty: 0.5
|
|
4267
4297
|
})
|
|
4268
4298
|
);
|
|
4269
4299
|
}
|
|
4270
|
-
function
|
|
4300
|
+
function di(e) {
|
|
4271
4301
|
return Array.from(e.classList).filter(L.className).map(
|
|
4272
4302
|
(n) => ({
|
|
4273
|
-
name: "." +
|
|
4303
|
+
name: "." + ve(n, { isIdentifier: !0 }),
|
|
4274
4304
|
penalty: 1
|
|
4275
4305
|
})
|
|
4276
4306
|
);
|
|
4277
4307
|
}
|
|
4278
|
-
function
|
|
4308
|
+
function pi(e) {
|
|
4279
4309
|
const t = e.tagName.toLowerCase();
|
|
4280
4310
|
return L.tagName(t) ? {
|
|
4281
4311
|
name: t,
|
|
4282
4312
|
penalty: 2
|
|
4283
4313
|
} : null;
|
|
4284
4314
|
}
|
|
4285
|
-
function
|
|
4315
|
+
function mi() {
|
|
4286
4316
|
return {
|
|
4287
4317
|
name: "*",
|
|
4288
4318
|
penalty: 3
|
|
4289
4319
|
};
|
|
4290
4320
|
}
|
|
4291
|
-
function
|
|
4321
|
+
function gi(e) {
|
|
4292
4322
|
const t = e.parentNode;
|
|
4293
4323
|
if (!t)
|
|
4294
4324
|
return null;
|
|
@@ -4300,33 +4330,33 @@ function li(e) {
|
|
|
4300
4330
|
n = n.nextSibling;
|
|
4301
4331
|
return r;
|
|
4302
4332
|
}
|
|
4303
|
-
function
|
|
4333
|
+
function Me(e, t) {
|
|
4304
4334
|
return {
|
|
4305
4335
|
name: e.name + `:nth-child(${t})`,
|
|
4306
4336
|
penalty: e.penalty + 1
|
|
4307
4337
|
};
|
|
4308
4338
|
}
|
|
4309
|
-
function
|
|
4339
|
+
function $e(e) {
|
|
4310
4340
|
return e.name !== "html" && !e.name.startsWith("#");
|
|
4311
4341
|
}
|
|
4312
|
-
function
|
|
4313
|
-
const t = e.filter(
|
|
4342
|
+
function pe(...e) {
|
|
4343
|
+
const t = e.filter(yi);
|
|
4314
4344
|
return t.length > 0 ? t : null;
|
|
4315
4345
|
}
|
|
4316
|
-
function
|
|
4346
|
+
function yi(e) {
|
|
4317
4347
|
return e != null;
|
|
4318
4348
|
}
|
|
4319
|
-
function*
|
|
4349
|
+
function* Zt(e, t = []) {
|
|
4320
4350
|
if (e.length > 0)
|
|
4321
4351
|
for (let n of e[0])
|
|
4322
|
-
yield*
|
|
4352
|
+
yield* Ce(Zt(e.slice(1, e.length), t.concat(n)));
|
|
4323
4353
|
else
|
|
4324
4354
|
yield t;
|
|
4325
4355
|
}
|
|
4326
|
-
function
|
|
4327
|
-
return Array.from(e).sort((t, n) =>
|
|
4356
|
+
function en(e) {
|
|
4357
|
+
return Array.from(e).sort((t, n) => Nt(t) - Nt(n));
|
|
4328
4358
|
}
|
|
4329
|
-
function*
|
|
4359
|
+
function* tn(e, t, n = {
|
|
4330
4360
|
counter: 0,
|
|
4331
4361
|
visited: /* @__PURE__ */ new Map()
|
|
4332
4362
|
}) {
|
|
@@ -4337,23 +4367,23 @@ function* Qt(e, t, n = {
|
|
|
4337
4367
|
n.counter += 1;
|
|
4338
4368
|
const i = [...e];
|
|
4339
4369
|
i.splice(r, 1);
|
|
4340
|
-
const s =
|
|
4370
|
+
const s = be(i);
|
|
4341
4371
|
if (n.visited.has(s))
|
|
4342
4372
|
return;
|
|
4343
|
-
|
|
4373
|
+
Wt(i) && Ei(i, t) && (yield i, n.visited.set(s, !0), yield* Ce(tn(i, t, n)));
|
|
4344
4374
|
}
|
|
4345
4375
|
}
|
|
4346
|
-
function
|
|
4347
|
-
return
|
|
4376
|
+
function Ei(e, t) {
|
|
4377
|
+
return st.querySelector(be(e)) === t;
|
|
4348
4378
|
}
|
|
4349
|
-
const
|
|
4379
|
+
const _i = /[ -,\.\/:-@\[-\^`\{-~]/, Ti = /[ -,\.\/:-@\[\]\^`\{-~]/, Si = /(^|\\+)?(\\[A-F0-9]{1,6})\x20(?![a-fA-F0-9\x20])/g, vi = {
|
|
4350
4380
|
escapeEverything: !1,
|
|
4351
4381
|
isIdentifier: !1,
|
|
4352
4382
|
quotes: "single",
|
|
4353
4383
|
wrap: !1
|
|
4354
4384
|
};
|
|
4355
|
-
function
|
|
4356
|
-
const n =
|
|
4385
|
+
function ve(e, t = {}) {
|
|
4386
|
+
const n = E(E({}, vi), t);
|
|
4357
4387
|
n.quotes != "single" && n.quotes != "double" && (n.quotes = "single");
|
|
4358
4388
|
const r = n.quotes == "double" ? '"' : "'", i = n.isIdentifier, s = e.charAt(0);
|
|
4359
4389
|
let o = "", a = 0;
|
|
@@ -4363,23 +4393,23 @@ function Te(e, t = {}) {
|
|
|
4363
4393
|
let h = f.charCodeAt(0), m;
|
|
4364
4394
|
if (h < 32 || h > 126) {
|
|
4365
4395
|
if (h >= 55296 && h <= 56319 && a < c) {
|
|
4366
|
-
const
|
|
4367
|
-
(
|
|
4396
|
+
const _ = e.charCodeAt(a++);
|
|
4397
|
+
(_ & 64512) == 56320 ? h = ((h & 1023) << 10) + (_ & 1023) + 65536 : a--;
|
|
4368
4398
|
}
|
|
4369
4399
|
m = "\\" + h.toString(16).toUpperCase() + " ";
|
|
4370
4400
|
} else
|
|
4371
|
-
n.escapeEverything ?
|
|
4401
|
+
n.escapeEverything ? _i.test(f) ? m = "\\" + f : m = "\\" + h.toString(16).toUpperCase() + " " : /[\t\n\f\r\x0B]/.test(f) ? m = "\\" + h.toString(16).toUpperCase() + " " : f == "\\" || !i && (f == '"' && r == f || f == "'" && r == f) || i && Ti.test(f) ? m = "\\" + f : m = f;
|
|
4372
4402
|
o += m;
|
|
4373
4403
|
}
|
|
4374
|
-
return i && (/^-[-\d]/.test(o) ? o = "\\-" + o.slice(1) : /\d/.test(s) && (o = "\\3" + s + " " + o.slice(1))), o = o.replace(
|
|
4404
|
+
return i && (/^-[-\d]/.test(o) ? o = "\\-" + o.slice(1) : /\d/.test(s) && (o = "\\3" + s + " " + o.slice(1))), o = o.replace(Si, function(f, h, m) {
|
|
4375
4405
|
return h && h.length % 2 ? f : (h || "") + m;
|
|
4376
4406
|
}), !i && n.wrap ? r + o + r : o;
|
|
4377
4407
|
}
|
|
4378
|
-
const
|
|
4408
|
+
const Qe = (e) => {
|
|
4379
4409
|
let t = "";
|
|
4380
4410
|
const n = e.getAttribute("class"), r = e.getAttribute("id");
|
|
4381
|
-
return r && (t = t.concat(
|
|
4382
|
-
},
|
|
4411
|
+
return r && (t = t.concat(It(r, "#"))), n && (t = t.concat(It(n, "."))), t === "" && (t = t.concat(e.tagName.toLowerCase())), t;
|
|
4412
|
+
}, It = (e, t) => `${t}${e.trim().split(" ").join(t)}`, Ts = (e) => {
|
|
4383
4413
|
let t;
|
|
4384
4414
|
const r = () => {
|
|
4385
4415
|
clearTimeout(t), t = setTimeout(() => {
|
|
@@ -4397,7 +4427,7 @@ const Xe = (e) => {
|
|
|
4397
4427
|
};
|
|
4398
4428
|
return window.addEventListener("resize", r), r(), () => window.removeEventListener("resize", r);
|
|
4399
4429
|
};
|
|
4400
|
-
var
|
|
4430
|
+
var nn = { exports: {} };
|
|
4401
4431
|
/**
|
|
4402
4432
|
* @preserve
|
|
4403
4433
|
* JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
|
|
@@ -4450,21 +4480,21 @@ var Kt = { exports: {} };
|
|
|
4450
4480
|
return this.h1 = typeof r == "number" ? r : 0, this.rem = this.k1 = this.len = 0, this;
|
|
4451
4481
|
}, t = new n(), e.exports = n;
|
|
4452
4482
|
})();
|
|
4453
|
-
})(
|
|
4454
|
-
var
|
|
4455
|
-
const
|
|
4483
|
+
})(nn);
|
|
4484
|
+
var Ai = nn.exports;
|
|
4485
|
+
const Ni = /* @__PURE__ */ et(Ai), Ue = 28, J = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", Ii = 2246822507, bt = (e) => {
|
|
4456
4486
|
var n;
|
|
4457
4487
|
var t = "";
|
|
4458
4488
|
if (e) {
|
|
4459
|
-
const r =
|
|
4460
|
-
for (let i = 0; i <
|
|
4461
|
-
const o = ((r ^ i *
|
|
4489
|
+
const r = Ni(e).result();
|
|
4490
|
+
for (let i = 0; i < Ue; i++) {
|
|
4491
|
+
const o = ((r ^ i * Ii) >>> 0) % J.length;
|
|
4462
4492
|
t += J.charAt(o);
|
|
4463
4493
|
}
|
|
4464
4494
|
} else {
|
|
4465
|
-
const r = typeof window != "undefined" && ((n = window.crypto) == null ? void 0 : n.getRandomValues), i = new Uint32Array(
|
|
4495
|
+
const r = typeof window != "undefined" && ((n = window.crypto) == null ? void 0 : n.getRandomValues), i = new Uint32Array(Ue);
|
|
4466
4496
|
r && window.crypto.getRandomValues(i);
|
|
4467
|
-
for (let s = 0; s <
|
|
4497
|
+
for (let s = 0; s < Ue; s++)
|
|
4468
4498
|
r ? t += J.charAt(
|
|
4469
4499
|
i[s] % J.length
|
|
4470
4500
|
) : t += J.charAt(
|
|
@@ -4473,13 +4503,13 @@ const Ei = /* @__PURE__ */ Ze(yi), $e = 28, J = "abcdefghijklmnopqrstuvwxyzABCDE
|
|
|
4473
4503
|
}
|
|
4474
4504
|
return t;
|
|
4475
4505
|
};
|
|
4476
|
-
class
|
|
4506
|
+
class Ss {
|
|
4477
4507
|
constructor(t) {
|
|
4478
4508
|
Y(this, "sessionSecureID");
|
|
4479
4509
|
try {
|
|
4480
|
-
t != null && t.storageMode &&
|
|
4510
|
+
t != null && t.storageMode && Ur(t == null ? void 0 : t.storageMode), gt(!!(t != null && t.sessionCookie)), (t == null ? void 0 : t.sessionCookieDomain) !== void 0 && Br(t.sessionCookieDomain), t != null && t.sessionCookie ? Hr() : gt(!1);
|
|
4481
4511
|
} catch (n) {
|
|
4482
|
-
|
|
4512
|
+
ct(
|
|
4483
4513
|
"Error initializing @launchdarkly observability plugin",
|
|
4484
4514
|
"error",
|
|
4485
4515
|
n
|
|
@@ -4488,13 +4518,13 @@ class ms {
|
|
|
4488
4518
|
}
|
|
4489
4519
|
configureSession(t, n) {
|
|
4490
4520
|
try {
|
|
4491
|
-
const r =
|
|
4492
|
-
let i =
|
|
4521
|
+
const r = qt();
|
|
4522
|
+
let i = jr(
|
|
4493
4523
|
r
|
|
4494
4524
|
);
|
|
4495
|
-
i != null && i.sessionSecureID ? this.sessionSecureID = i.sessionSecureID : (n != null && n.sessionKey ? this.sessionSecureID =
|
|
4525
|
+
i != null && i.sessionSecureID ? this.sessionSecureID = i.sessionSecureID : (n != null && n.sessionKey ? this.sessionSecureID = bt(
|
|
4496
4526
|
`${t}-${n.sessionKey}`
|
|
4497
|
-
) : this.sessionSecureID =
|
|
4527
|
+
) : this.sessionSecureID = bt(), Gt(this.sessionSecureID), it({
|
|
4498
4528
|
sessionSecureID: this.sessionSecureID,
|
|
4499
4529
|
sessionKey: n == null ? void 0 : n.sessionKey,
|
|
4500
4530
|
projectID: 0,
|
|
@@ -4502,7 +4532,7 @@ class ms {
|
|
|
4502
4532
|
lastPushTime: Date.now()
|
|
4503
4533
|
}));
|
|
4504
4534
|
} catch (r) {
|
|
4505
|
-
|
|
4535
|
+
ct(
|
|
4506
4536
|
"Error configuring session in @launchdarkly observability plugin",
|
|
4507
4537
|
"error",
|
|
4508
4538
|
r
|
|
@@ -4511,84 +4541,86 @@ class ms {
|
|
|
4511
4541
|
}
|
|
4512
4542
|
}
|
|
4513
4543
|
export {
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
|
|
4518
|
-
|
|
4519
|
-
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
|
|
4525
|
-
|
|
4526
|
-
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4544
|
+
Yr as $,
|
|
4545
|
+
rs as A,
|
|
4546
|
+
ns as B,
|
|
4547
|
+
Zi as C,
|
|
4548
|
+
es as D,
|
|
4549
|
+
ts as E,
|
|
4550
|
+
Ji as F,
|
|
4551
|
+
bt as G,
|
|
4552
|
+
Wi as H,
|
|
4553
|
+
Ss as I,
|
|
4554
|
+
St as J,
|
|
4555
|
+
vt as K,
|
|
4556
|
+
ms as L,
|
|
4557
|
+
Lr as M,
|
|
4558
|
+
cs as N,
|
|
4559
|
+
as as O,
|
|
4560
|
+
gs as P,
|
|
4561
|
+
ni as Q,
|
|
4562
|
+
os as R,
|
|
4533
4563
|
ee as S,
|
|
4534
|
-
|
|
4535
|
-
|
|
4536
|
-
|
|
4537
|
-
|
|
4538
|
-
|
|
4539
|
-
|
|
4540
|
-
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
|
|
4564
|
+
qi as T,
|
|
4565
|
+
ji as U,
|
|
4566
|
+
Ki as V,
|
|
4567
|
+
ar as W,
|
|
4568
|
+
et as X,
|
|
4569
|
+
Ci as Y,
|
|
4570
|
+
ki as Z,
|
|
4571
|
+
qt as _,
|
|
4572
|
+
nt as a,
|
|
4573
|
+
zr as a0,
|
|
4574
|
+
Jr as a1,
|
|
4575
|
+
Hi as a2,
|
|
4576
|
+
fs as a3,
|
|
4577
|
+
$i as a4,
|
|
4578
|
+
is as a5,
|
|
4579
|
+
zi as a6,
|
|
4580
|
+
Vi as a7,
|
|
4551
4581
|
Bi as a8,
|
|
4552
|
-
|
|
4553
|
-
|
|
4554
|
-
|
|
4555
|
-
|
|
4556
|
-
|
|
4557
|
-
|
|
4558
|
-
|
|
4559
|
-
|
|
4560
|
-
|
|
4561
|
-
|
|
4562
|
-
|
|
4563
|
-
|
|
4564
|
-
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
|
|
4569
|
-
|
|
4570
|
-
|
|
4571
|
-
|
|
4572
|
-
jt as
|
|
4573
|
-
|
|
4574
|
-
|
|
4575
|
-
|
|
4576
|
-
|
|
4577
|
-
|
|
4578
|
-
|
|
4579
|
-
|
|
4580
|
-
|
|
4581
|
-
|
|
4582
|
-
|
|
4583
|
-
|
|
4584
|
-
|
|
4585
|
-
|
|
4586
|
-
|
|
4587
|
-
|
|
4588
|
-
|
|
4589
|
-
|
|
4590
|
-
|
|
4591
|
-
|
|
4592
|
-
|
|
4582
|
+
hs as a9,
|
|
4583
|
+
Yi as aa,
|
|
4584
|
+
Gi as ab,
|
|
4585
|
+
Mi as ac,
|
|
4586
|
+
Pi as ad,
|
|
4587
|
+
Fi as ae,
|
|
4588
|
+
us as af,
|
|
4589
|
+
Ui as ag,
|
|
4590
|
+
ls as ah,
|
|
4591
|
+
ti as ai,
|
|
4592
|
+
Qt as aj,
|
|
4593
|
+
C as ak,
|
|
4594
|
+
ri as al,
|
|
4595
|
+
Wr as am,
|
|
4596
|
+
Et as an,
|
|
4597
|
+
Zr as ao,
|
|
4598
|
+
ei as ap,
|
|
4599
|
+
ds as aq,
|
|
4600
|
+
Ri as b,
|
|
4601
|
+
wi as c,
|
|
4602
|
+
jt as d,
|
|
4603
|
+
Gt as e,
|
|
4604
|
+
it as f,
|
|
4605
|
+
jr as g,
|
|
4606
|
+
Ts as h,
|
|
4607
|
+
Xi as i,
|
|
4608
|
+
gt as j,
|
|
4609
|
+
Br as k,
|
|
4610
|
+
Qi as l,
|
|
4611
|
+
Fr as m,
|
|
4612
|
+
Ur as n,
|
|
4613
|
+
ss as o,
|
|
4614
|
+
Zn as p,
|
|
4615
|
+
Oi as q,
|
|
4616
|
+
rt as r,
|
|
4617
|
+
Di as s,
|
|
4618
|
+
_s as t,
|
|
4619
|
+
Li as u,
|
|
4620
|
+
Ar as v,
|
|
4621
|
+
ps as w,
|
|
4622
|
+
Hr as x,
|
|
4623
|
+
ys as y,
|
|
4624
|
+
Es as z
|
|
4593
4625
|
};
|
|
4594
|
-
//# sourceMappingURL=common-
|
|
4626
|
+
//# sourceMappingURL=common-D8kkCWo3.js.map
|