gt-react 10.19.18 → 10.19.19
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 +10 -0
- package/dist/browser.cjs +236 -232
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.mjs +236 -232
- package/dist/browser.mjs.map +1 -1
- package/dist/client.cjs +183 -182
- package/dist/client.cjs.map +1 -1
- package/dist/client.mjs +183 -182
- package/dist/client.mjs.map +1 -1
- package/dist/index.cjs +183 -182
- package/dist/index.cjs.map +1 -1
- package/dist/index.mjs +183 -182
- package/dist/index.mjs.map +1 -1
- package/dist/internal.cjs +327 -326
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.mjs +301 -300
- package/dist/internal.mjs.map +1 -1
- package/dist/macros.cjs +4 -1
- package/dist/macros.cjs.map +1 -1
- package/dist/macros.mjs +4 -1
- package/dist/macros.mjs.map +1 -1
- package/package.json +5 -5
package/dist/client.mjs
CHANGED
|
@@ -53,43 +53,43 @@ function S({ source: e, severity: t, whatHappened: n, reassurance: r, why: i, fi
|
|
|
53
53
|
let p = f.join(` `);
|
|
54
54
|
return l ? `${l} ${p}` : p;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function ae(e) {
|
|
57
57
|
return e instanceof Uint8Array || ArrayBuffer.isView(e) && e.constructor.name === `Uint8Array` && `BYTES_PER_ELEMENT` in e && e.BYTES_PER_ELEMENT === 1;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
let r =
|
|
59
|
+
function E(e, t, n = ``) {
|
|
60
|
+
let r = ae(e), i = e?.length, a = t !== void 0;
|
|
61
61
|
if (!r || a && i !== t) {
|
|
62
62
|
let o = n && `"${n}" `, s = a ? ` of length ${t}` : ``, c = r ? `length=${i}` : `type=${typeof e}`, l = o + `expected Uint8Array` + s + `, got ` + c;
|
|
63
63
|
throw r ? RangeError(l) : TypeError(l);
|
|
64
64
|
}
|
|
65
65
|
return e;
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function oe(e, t = !0) {
|
|
68
68
|
if (e.destroyed) throw Error(`Hash instance has been destroyed`);
|
|
69
69
|
if (t && e.finished) throw Error(`Hash#digest() has already been called`);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
|
|
71
|
+
function se(e, t) {
|
|
72
|
+
E(e, void 0, `digestInto() output`);
|
|
73
73
|
let n = t.outputLen;
|
|
74
74
|
if (e.length < n) throw RangeError(`"digestInto() output" expected to be of length >=` + n);
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function ce(...e) {
|
|
77
77
|
for (let t = 0; t < e.length; t++) e[t].fill(0);
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function le(e) {
|
|
80
80
|
return new DataView(e.buffer, e.byteOffset, e.byteLength);
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function D(e, t) {
|
|
83
83
|
return e << 32 - t | e >>> t;
|
|
84
84
|
}
|
|
85
85
|
new Uint8Array(new Uint32Array([287454020]).buffer)[0];
|
|
86
86
|
typeof Uint8Array.from([]).toHex == `function` && Uint8Array.fromHex;
|
|
87
87
|
Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, `0`));
|
|
88
|
-
function
|
|
88
|
+
function me(e, t = {}) {
|
|
89
89
|
let n = (t, n) => e(n).update(t).digest(), r = e(void 0);
|
|
90
90
|
return n.outputLen = r.outputLen, n.blockLen = r.blockLen, n.canXOF = r.canXOF, n.create = (t) => e(t), Object.assign(n, t), Object.freeze(n);
|
|
91
91
|
}
|
|
92
|
-
const
|
|
92
|
+
const he = (e) => ({ oid: Uint8Array.from([
|
|
93
93
|
6,
|
|
94
94
|
9,
|
|
95
95
|
96,
|
|
@@ -102,13 +102,13 @@ const me = (e) => ({ oid: Uint8Array.from([
|
|
|
102
102
|
2,
|
|
103
103
|
e
|
|
104
104
|
]) });
|
|
105
|
-
function
|
|
105
|
+
function ge(e, t, n) {
|
|
106
106
|
return e & t ^ ~e & n;
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function _e(e, t, n) {
|
|
109
109
|
return e & t ^ e & n ^ t & n;
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var ve = class {
|
|
112
112
|
blockLen;
|
|
113
113
|
outputLen;
|
|
114
114
|
canXOF = !1;
|
|
@@ -121,15 +121,15 @@ var _e = class {
|
|
|
121
121
|
pos = 0;
|
|
122
122
|
destroyed = !1;
|
|
123
123
|
constructor(e, t, n, r) {
|
|
124
|
-
this.blockLen = e, this.outputLen = t, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(e), this.view =
|
|
124
|
+
this.blockLen = e, this.outputLen = t, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(e), this.view = le(this.buffer);
|
|
125
125
|
}
|
|
126
126
|
update(e) {
|
|
127
|
-
|
|
127
|
+
oe(this), E(e);
|
|
128
128
|
let { view: t, buffer: n, blockLen: r } = this, i = e.length;
|
|
129
129
|
for (let a = 0; a < i;) {
|
|
130
130
|
let o = Math.min(r - this.pos, i - a);
|
|
131
131
|
if (o === r) {
|
|
132
|
-
let t =
|
|
132
|
+
let t = le(e);
|
|
133
133
|
for (; r <= i - a; a += r) this.process(t, a);
|
|
134
134
|
continue;
|
|
135
135
|
}
|
|
@@ -138,12 +138,12 @@ var _e = class {
|
|
|
138
138
|
return this.length += e.length, this.roundClean(), this;
|
|
139
139
|
}
|
|
140
140
|
digestInto(e) {
|
|
141
|
-
|
|
141
|
+
oe(this), se(e, this), this.finished = !0;
|
|
142
142
|
let { buffer: t, view: n, blockLen: r, isLE: i } = this, { pos: a } = this;
|
|
143
|
-
t[a++] = 128,
|
|
143
|
+
t[a++] = 128, ce(this.buffer.subarray(a)), this.padOffset > r - a && (this.process(n, 0), a = 0);
|
|
144
144
|
for (let e = a; e < r; e++) t[e] = 0;
|
|
145
145
|
n.setBigUint64(r - 8, BigInt(this.length * 8), i), this.process(n, 0);
|
|
146
|
-
let o =
|
|
146
|
+
let o = le(e), s = this.outputLen;
|
|
147
147
|
if (s % 4) throw Error(`_sha2: outputLen must be aligned to 32bit`);
|
|
148
148
|
let c = s / 4, l = this.get();
|
|
149
149
|
if (c > l.length) throw Error(`_sha2: outputLen bigger than state`);
|
|
@@ -164,7 +164,7 @@ var _e = class {
|
|
|
164
164
|
return this._cloneInto();
|
|
165
165
|
}
|
|
166
166
|
};
|
|
167
|
-
const
|
|
167
|
+
const O = Uint32Array.from([
|
|
168
168
|
1779033703,
|
|
169
169
|
3144134277,
|
|
170
170
|
1013904242,
|
|
@@ -173,25 +173,25 @@ const k = Uint32Array.from([
|
|
|
173
173
|
2600822924,
|
|
174
174
|
528734635,
|
|
175
175
|
1541459225
|
|
176
|
-
]),
|
|
177
|
-
function
|
|
176
|
+
]), k = BigInt(2 ** 32 - 1), ye = BigInt(32);
|
|
177
|
+
function be(e, t = !1) {
|
|
178
178
|
return t ? {
|
|
179
|
-
h: Number(e &
|
|
180
|
-
l: Number(e >>
|
|
179
|
+
h: Number(e & k),
|
|
180
|
+
l: Number(e >> ye & k)
|
|
181
181
|
} : {
|
|
182
|
-
h: Number(e >>
|
|
183
|
-
l: Number(e &
|
|
182
|
+
h: Number(e >> ye & k) | 0,
|
|
183
|
+
l: Number(e & k) | 0
|
|
184
184
|
};
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function xe(e, t = !1) {
|
|
187
187
|
let n = e.length, r = new Uint32Array(n), i = new Uint32Array(n);
|
|
188
188
|
for (let a = 0; a < n; a++) {
|
|
189
|
-
let { h: n, l: o } =
|
|
189
|
+
let { h: n, l: o } = be(e[a], t);
|
|
190
190
|
[r[a], i[a]] = [n, o];
|
|
191
191
|
}
|
|
192
192
|
return [r, i];
|
|
193
193
|
}
|
|
194
|
-
const
|
|
194
|
+
const Se = Uint32Array.from([
|
|
195
195
|
1116352408,
|
|
196
196
|
1899447441,
|
|
197
197
|
3049323471,
|
|
@@ -256,8 +256,8 @@ const xe = Uint32Array.from([
|
|
|
256
256
|
2756734187,
|
|
257
257
|
3204031479,
|
|
258
258
|
3329325298
|
|
259
|
-
]),
|
|
260
|
-
var
|
|
259
|
+
]), A = new Uint32Array(64);
|
|
260
|
+
var Ce = class extends ve {
|
|
261
261
|
constructor(e) {
|
|
262
262
|
super(64, e, 8, !1);
|
|
263
263
|
}
|
|
@@ -278,41 +278,41 @@ var Se = class extends _e {
|
|
|
278
278
|
this.A = e | 0, this.B = t | 0, this.C = n | 0, this.D = r | 0, this.E = i | 0, this.F = a | 0, this.G = o | 0, this.H = s | 0;
|
|
279
279
|
}
|
|
280
280
|
process(e, t) {
|
|
281
|
-
for (let n = 0; n < 16; n++, t += 4)
|
|
281
|
+
for (let n = 0; n < 16; n++, t += 4) A[n] = e.getUint32(t, !1);
|
|
282
282
|
for (let e = 16; e < 64; e++) {
|
|
283
|
-
let t =
|
|
284
|
-
|
|
283
|
+
let t = A[e - 15], n = A[e - 2], r = D(t, 7) ^ D(t, 18) ^ t >>> 3;
|
|
284
|
+
A[e] = (D(n, 17) ^ D(n, 19) ^ n >>> 10) + A[e - 7] + r + A[e - 16] | 0;
|
|
285
285
|
}
|
|
286
286
|
let { A: n, B: r, C: i, D: a, E: o, F: s, G: c, H: l } = this;
|
|
287
287
|
for (let e = 0; e < 64; e++) {
|
|
288
|
-
let t =
|
|
288
|
+
let t = D(o, 6) ^ D(o, 11) ^ D(o, 25), u = l + t + ge(o, s, c) + Se[e] + A[e] | 0, d = (D(n, 2) ^ D(n, 13) ^ D(n, 22)) + _e(n, r, i) | 0;
|
|
289
289
|
l = c, c = s, s = o, o = a + u | 0, a = i, i = r, r = n, n = u + d | 0;
|
|
290
290
|
}
|
|
291
291
|
n = n + this.A | 0, r = r + this.B | 0, i = i + this.C | 0, a = a + this.D | 0, o = o + this.E | 0, s = s + this.F | 0, c = c + this.G | 0, l = l + this.H | 0, this.set(n, r, i, a, o, s, c, l);
|
|
292
292
|
}
|
|
293
293
|
roundClean() {
|
|
294
|
-
|
|
294
|
+
ce(A);
|
|
295
295
|
}
|
|
296
296
|
destroy() {
|
|
297
|
-
this.destroyed = !0, this.set(0, 0, 0, 0, 0, 0, 0, 0),
|
|
298
|
-
}
|
|
299
|
-
},
|
|
300
|
-
A =
|
|
301
|
-
B =
|
|
302
|
-
C =
|
|
303
|
-
D =
|
|
304
|
-
E =
|
|
305
|
-
F =
|
|
306
|
-
G =
|
|
307
|
-
H =
|
|
297
|
+
this.destroyed = !0, this.set(0, 0, 0, 0, 0, 0, 0, 0), ce(this.buffer);
|
|
298
|
+
}
|
|
299
|
+
}, we = class extends Ce {
|
|
300
|
+
A = O[0] | 0;
|
|
301
|
+
B = O[1] | 0;
|
|
302
|
+
C = O[2] | 0;
|
|
303
|
+
D = O[3] | 0;
|
|
304
|
+
E = O[4] | 0;
|
|
305
|
+
F = O[5] | 0;
|
|
306
|
+
G = O[6] | 0;
|
|
307
|
+
H = O[7] | 0;
|
|
308
308
|
constructor() {
|
|
309
309
|
super(32);
|
|
310
310
|
}
|
|
311
311
|
};
|
|
312
|
-
const
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
const
|
|
312
|
+
const Te = xe(`0x428a2f98d728ae22.0x7137449123ef65cd.0xb5c0fbcfec4d3b2f.0xe9b5dba58189dbbc.0x3956c25bf348b538.0x59f111f1b605d019.0x923f82a4af194f9b.0xab1c5ed5da6d8118.0xd807aa98a3030242.0x12835b0145706fbe.0x243185be4ee4b28c.0x550c7dc3d5ffb4e2.0x72be5d74f27b896f.0x80deb1fe3b1696b1.0x9bdc06a725c71235.0xc19bf174cf692694.0xe49b69c19ef14ad2.0xefbe4786384f25e3.0x0fc19dc68b8cd5b5.0x240ca1cc77ac9c65.0x2de92c6f592b0275.0x4a7484aa6ea6e483.0x5cb0a9dcbd41fbd4.0x76f988da831153b5.0x983e5152ee66dfab.0xa831c66d2db43210.0xb00327c898fb213f.0xbf597fc7beef0ee4.0xc6e00bf33da88fc2.0xd5a79147930aa725.0x06ca6351e003826f.0x142929670a0e6e70.0x27b70a8546d22ffc.0x2e1b21385c26c926.0x4d2c6dfc5ac42aed.0x53380d139d95b3df.0x650a73548baf63de.0x766a0abb3c77b2a8.0x81c2c92e47edaee6.0x92722c851482353b.0xa2bfe8a14cf10364.0xa81a664bbc423001.0xc24b8b70d0f89791.0xc76c51a30654be30.0xd192e819d6ef5218.0xd69906245565a910.0xf40e35855771202a.0x106aa07032bbd1b8.0x19a4c116b8d2d0c8.0x1e376c085141ab53.0x2748774cdf8eeb99.0x34b0bcb5e19b48a8.0x391c0cb3c5c95a63.0x4ed8aa4ae3418acb.0x5b9cca4f7763e373.0x682e6ff3d6b2b8a3.0x748f82ee5defb2fc.0x78a5636f43172f60.0x84c87814a1f0ab72.0x8cc702081a6439ec.0x90befffa23631e28.0xa4506cebde82bde9.0xbef9a3f7b2c67915.0xc67178f2e372532b.0xca273eceea26619c.0xd186b8c721c0c207.0xeada7dd6cde0eb1e.0xf57d4f7fee6ed178.0x06f067aa72176fba.0x0a637dc5a2c898a6.0x113f9804bef90dae.0x1b710b35131c471b.0x28db77f523047d84.0x32caab7b40c72493.0x3c9ebe0a15c9bebc.0x431d67c49c100d4c.0x4cc5d4becb3e42b6.0x597f299cfc657e2a.0x5fcb6fab3ad6faec.0x6c44198c4a475817`.split(`.`).map((e) => BigInt(e)));
|
|
313
|
+
Te[0], Te[1];
|
|
314
|
+
me(() => new we(), he(1));
|
|
315
|
+
const De = (e) => `generaltranslation Formatting Error: Invalid cutoff style: ${e}.`, Oe = `DEFAULT_TERMINATOR_KEY`, ke = {
|
|
316
316
|
ellipsis: {
|
|
317
317
|
fr: {
|
|
318
318
|
terminator: `…`,
|
|
@@ -326,17 +326,17 @@ const Ee = (e) => `generaltranslation Formatting Error: Invalid cutoff style: ${
|
|
|
326
326
|
terminator: `……`,
|
|
327
327
|
separator: void 0
|
|
328
328
|
},
|
|
329
|
-
[
|
|
329
|
+
[Oe]: {
|
|
330
330
|
terminator: `…`,
|
|
331
331
|
separator: void 0
|
|
332
332
|
}
|
|
333
333
|
},
|
|
334
|
-
none: { [
|
|
334
|
+
none: { [Oe]: {
|
|
335
335
|
terminator: void 0,
|
|
336
336
|
separator: void 0
|
|
337
337
|
} }
|
|
338
338
|
};
|
|
339
|
-
var
|
|
339
|
+
var Ae = class e {
|
|
340
340
|
static resolveLocale(e) {
|
|
341
341
|
try {
|
|
342
342
|
let t = e ? Array.isArray(e) ? e.map(String) : [String(e)] : [`en`], [n] = Intl.getCanonicalLocales(t);
|
|
@@ -348,8 +348,8 @@ var ke = class e {
|
|
|
348
348
|
constructor(t, n = {}) {
|
|
349
349
|
this.locale = e.resolveLocale(t);
|
|
350
350
|
let r = n.style ?? `ellipsis`;
|
|
351
|
-
if (!
|
|
352
|
-
let i = n.maxChars === void 0 ? void 0 :
|
|
351
|
+
if (!ke[r]) throw Error(De(r));
|
|
352
|
+
let i = n.maxChars === void 0 ? void 0 : ke[r][new Intl.Locale(this.locale).language] || ke[r].DEFAULT_TERMINATOR_KEY, a = n.terminator ?? i?.terminator, o = a == null ? void 0 : n.separator ?? i?.separator;
|
|
353
353
|
this.additionLength = (a?.length ?? 0) + (o?.length ?? 0), n.maxChars !== void 0 && Math.abs(n.maxChars) < this.additionLength && (a = void 0, o = void 0), this.options = {
|
|
354
354
|
maxChars: n.maxChars,
|
|
355
355
|
style: n.maxChars === void 0 ? void 0 : r,
|
|
@@ -376,7 +376,7 @@ var ke = class e {
|
|
|
376
376
|
return this.options;
|
|
377
377
|
}
|
|
378
378
|
};
|
|
379
|
-
const
|
|
379
|
+
const je = {
|
|
380
380
|
Collator: Intl.Collator,
|
|
381
381
|
DateTimeFormat: Intl.DateTimeFormat,
|
|
382
382
|
DisplayNames: Intl.DisplayNames,
|
|
@@ -386,7 +386,7 @@ const Ae = {
|
|
|
386
386
|
PluralRules: Intl.PluralRules,
|
|
387
387
|
RelativeTimeFormat: Intl.RelativeTimeFormat,
|
|
388
388
|
Segmenter: Intl.Segmenter,
|
|
389
|
-
CutoffFormat:
|
|
389
|
+
CutoffFormat: Ae
|
|
390
390
|
};
|
|
391
391
|
new class {
|
|
392
392
|
constructor() {
|
|
@@ -399,70 +399,70 @@ new class {
|
|
|
399
399
|
let [n = `en`, r = {}] = t, i = this.generateKey(n, r), a = this.cache[e];
|
|
400
400
|
a === void 0 && (a = {}, this.cache[e] = a);
|
|
401
401
|
let o = a[i];
|
|
402
|
-
return o === void 0 && (o = new
|
|
402
|
+
return o === void 0 && (o = new je[e](...t), a[i] = o), o;
|
|
403
403
|
}
|
|
404
404
|
}();
|
|
405
|
-
var
|
|
406
|
-
__addDisposableResource: () =>
|
|
405
|
+
var j = m({
|
|
406
|
+
__addDisposableResource: () => at,
|
|
407
407
|
__assign: () => F,
|
|
408
|
-
__asyncDelegator: () =>
|
|
409
|
-
__asyncGenerator: () =>
|
|
410
|
-
__asyncValues: () =>
|
|
411
|
-
__await: () =>
|
|
412
|
-
__awaiter: () =>
|
|
413
|
-
__classPrivateFieldGet: () =>
|
|
414
|
-
__classPrivateFieldIn: () =>
|
|
415
|
-
__classPrivateFieldSet: () =>
|
|
408
|
+
__asyncDelegator: () => Ze,
|
|
409
|
+
__asyncGenerator: () => Xe,
|
|
410
|
+
__asyncValues: () => Qe,
|
|
411
|
+
__await: () => N,
|
|
412
|
+
__awaiter: () => Ue,
|
|
413
|
+
__classPrivateFieldGet: () => nt,
|
|
414
|
+
__classPrivateFieldIn: () => it,
|
|
415
|
+
__classPrivateFieldSet: () => rt,
|
|
416
416
|
__createBinding: () => I,
|
|
417
|
-
__decorate: () =>
|
|
418
|
-
__disposeResources: () =>
|
|
419
|
-
__esDecorate: () =>
|
|
420
|
-
__exportStar: () =>
|
|
421
|
-
__extends: () =>
|
|
422
|
-
__generator: () =>
|
|
423
|
-
__importDefault: () =>
|
|
424
|
-
__importStar: () =>
|
|
425
|
-
__makeTemplateObject: () =>
|
|
426
|
-
__metadata: () =>
|
|
427
|
-
__param: () =>
|
|
428
|
-
__propKey: () =>
|
|
429
|
-
__read: () =>
|
|
430
|
-
__rest: () =>
|
|
431
|
-
__rewriteRelativeImportExtension: () =>
|
|
432
|
-
__runInitializers: () =>
|
|
433
|
-
__setFunctionName: () =>
|
|
434
|
-
__spread: () =>
|
|
435
|
-
__spreadArray: () =>
|
|
436
|
-
__spreadArrays: () =>
|
|
437
|
-
__values: () =>
|
|
417
|
+
__decorate: () => Ie,
|
|
418
|
+
__disposeResources: () => ot,
|
|
419
|
+
__esDecorate: () => Re,
|
|
420
|
+
__exportStar: () => Ge,
|
|
421
|
+
__extends: () => Pe,
|
|
422
|
+
__generator: () => We,
|
|
423
|
+
__importDefault: () => tt,
|
|
424
|
+
__importStar: () => et,
|
|
425
|
+
__makeTemplateObject: () => $e,
|
|
426
|
+
__metadata: () => He,
|
|
427
|
+
__param: () => Le,
|
|
428
|
+
__propKey: () => Be,
|
|
429
|
+
__read: () => Ke,
|
|
430
|
+
__rest: () => Fe,
|
|
431
|
+
__rewriteRelativeImportExtension: () => st,
|
|
432
|
+
__runInitializers: () => ze,
|
|
433
|
+
__setFunctionName: () => Ve,
|
|
434
|
+
__spread: () => qe,
|
|
435
|
+
__spreadArray: () => Ye,
|
|
436
|
+
__spreadArrays: () => Je,
|
|
437
|
+
__values: () => M,
|
|
438
438
|
default: () => ut
|
|
439
439
|
});
|
|
440
|
-
function
|
|
440
|
+
function Pe(e, t) {
|
|
441
441
|
if (typeof t != `function` && t !== null) throw TypeError(`Class extends value ` + String(t) + ` is not a constructor or null`);
|
|
442
|
-
|
|
442
|
+
P(e, t);
|
|
443
443
|
function n() {
|
|
444
444
|
this.constructor = e;
|
|
445
445
|
}
|
|
446
446
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
447
447
|
}
|
|
448
|
-
function
|
|
448
|
+
function Fe(e, t) {
|
|
449
449
|
var n = {};
|
|
450
450
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
451
451
|
if (e != null && typeof Object.getOwnPropertySymbols == `function`) for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++) t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
452
452
|
return n;
|
|
453
453
|
}
|
|
454
|
-
function
|
|
454
|
+
function Ie(e, t, n, r) {
|
|
455
455
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
456
456
|
if (typeof Reflect == `object` && typeof Reflect.decorate == `function`) a = Reflect.decorate(e, t, n, r);
|
|
457
457
|
else for (var s = e.length - 1; s >= 0; s--) (o = e[s]) && (a = (i < 3 ? o(a) : i > 3 ? o(t, n, a) : o(t, n)) || a);
|
|
458
458
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
459
459
|
}
|
|
460
|
-
function
|
|
460
|
+
function Le(e, t) {
|
|
461
461
|
return function(n, r) {
|
|
462
462
|
t(n, r, e);
|
|
463
463
|
};
|
|
464
464
|
}
|
|
465
|
-
function
|
|
465
|
+
function Re(e, t, n, r, i, a) {
|
|
466
466
|
function o(e) {
|
|
467
467
|
if (e !== void 0 && typeof e != `function`) throw TypeError(`Function expected`);
|
|
468
468
|
return e;
|
|
@@ -487,23 +487,23 @@ function Le(e, t, n, r, i, a) {
|
|
|
487
487
|
}
|
|
488
488
|
l && Object.defineProperty(l, r.name, u), f = !0;
|
|
489
489
|
}
|
|
490
|
-
function
|
|
490
|
+
function ze(e, t, n) {
|
|
491
491
|
for (var r = arguments.length > 2, i = 0; i < t.length; i++) n = r ? t[i].call(e, n) : t[i].call(e);
|
|
492
492
|
return r ? n : void 0;
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function Be(e) {
|
|
495
495
|
return typeof e == `symbol` ? e : `${e}`;
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function Ve(e, t, n) {
|
|
498
498
|
return typeof t == `symbol` && (t = t.description ? `[${t.description}]` : ``), Object.defineProperty(e, `name`, {
|
|
499
499
|
configurable: !0,
|
|
500
500
|
value: n ? `${n} ${t}` : t
|
|
501
501
|
});
|
|
502
502
|
}
|
|
503
|
-
function
|
|
503
|
+
function He(e, t) {
|
|
504
504
|
if (typeof Reflect == `object` && typeof Reflect.metadata == `function`) return Reflect.metadata(e, t);
|
|
505
505
|
}
|
|
506
|
-
function
|
|
506
|
+
function Ue(e, t, n, r) {
|
|
507
507
|
function i(e) {
|
|
508
508
|
return e instanceof n ? e : new n(function(t) {
|
|
509
509
|
t(e);
|
|
@@ -530,7 +530,7 @@ function He(e, t, n, r) {
|
|
|
530
530
|
c((r = r.apply(e, t || [])).next());
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function We(e, t) {
|
|
534
534
|
var n = {
|
|
535
535
|
label: 0,
|
|
536
536
|
sent: function() {
|
|
@@ -600,10 +600,10 @@ function Ue(e, t) {
|
|
|
600
600
|
};
|
|
601
601
|
}
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function Ge(e, t) {
|
|
604
604
|
for (var n in e) n !== `default` && !Object.prototype.hasOwnProperty.call(t, n) && I(t, e, n);
|
|
605
605
|
}
|
|
606
|
-
function
|
|
606
|
+
function M(e) {
|
|
607
607
|
var t = typeof Symbol == `function` && Symbol.iterator, n = t && e[t], r = 0;
|
|
608
608
|
if (n) return n.call(e);
|
|
609
609
|
if (e && typeof e.length == `number`) return { next: function() {
|
|
@@ -614,7 +614,7 @@ function N(e) {
|
|
|
614
614
|
} };
|
|
615
615
|
throw TypeError(t ? `Object is not iterable.` : `Symbol.iterator is not defined.`);
|
|
616
616
|
}
|
|
617
|
-
function
|
|
617
|
+
function Ke(e, t) {
|
|
618
618
|
var n = typeof Symbol == `function` && e[Symbol.iterator];
|
|
619
619
|
if (!n) return e;
|
|
620
620
|
var r = n.call(e), i, a = [], o;
|
|
@@ -631,23 +631,23 @@ function Ge(e, t) {
|
|
|
631
631
|
}
|
|
632
632
|
return a;
|
|
633
633
|
}
|
|
634
|
-
function
|
|
635
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
634
|
+
function qe() {
|
|
635
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(Ke(arguments[t]));
|
|
636
636
|
return e;
|
|
637
637
|
}
|
|
638
|
-
function
|
|
638
|
+
function Je() {
|
|
639
639
|
for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length;
|
|
640
640
|
for (var r = Array(e), i = 0, t = 0; t < n; t++) for (var a = arguments[t], o = 0, s = a.length; o < s; o++, i++) r[i] = a[o];
|
|
641
641
|
return r;
|
|
642
642
|
}
|
|
643
|
-
function
|
|
643
|
+
function Ye(e, t, n) {
|
|
644
644
|
if (n || arguments.length === 2) for (var r = 0, i = t.length, a; r < i; r++) (a || !(r in t)) && (a ||= Array.prototype.slice.call(t, 0, r), a[r] = t[r]);
|
|
645
645
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
646
646
|
}
|
|
647
|
-
function
|
|
648
|
-
return this instanceof
|
|
647
|
+
function N(e) {
|
|
648
|
+
return this instanceof N ? (this.v = e, this) : new N(e);
|
|
649
649
|
}
|
|
650
|
-
function
|
|
650
|
+
function Xe(e, t, n) {
|
|
651
651
|
if (!Symbol.asyncIterator) throw TypeError(`Symbol.asyncIterator is not defined.`);
|
|
652
652
|
var r = n.apply(e, t || []), i, a = [];
|
|
653
653
|
return i = Object.create((typeof AsyncIterator == `function` ? AsyncIterator : Object).prototype), s(`next`), s(`throw`), s(`return`, o), i[Symbol.asyncIterator] = function() {
|
|
@@ -678,7 +678,7 @@ function Ye(e, t, n) {
|
|
|
678
678
|
}
|
|
679
679
|
}
|
|
680
680
|
function l(e) {
|
|
681
|
-
e.value instanceof
|
|
681
|
+
e.value instanceof N ? Promise.resolve(e.value.v).then(u, d) : f(a[0][2], e);
|
|
682
682
|
}
|
|
683
683
|
function u(e) {
|
|
684
684
|
c(`next`, e);
|
|
@@ -690,7 +690,7 @@ function Ye(e, t, n) {
|
|
|
690
690
|
e(t), a.shift(), a.length && c(a[0][0], a[0][1]);
|
|
691
691
|
}
|
|
692
692
|
}
|
|
693
|
-
function
|
|
693
|
+
function Ze(e) {
|
|
694
694
|
var t, n;
|
|
695
695
|
return t = {}, r(`next`), r(`throw`, function(e) {
|
|
696
696
|
throw e;
|
|
@@ -700,16 +700,16 @@ function Xe(e) {
|
|
|
700
700
|
function r(r, i) {
|
|
701
701
|
t[r] = e[r] ? function(t) {
|
|
702
702
|
return (n = !n) ? {
|
|
703
|
-
value:
|
|
703
|
+
value: N(e[r](t)),
|
|
704
704
|
done: !1
|
|
705
705
|
} : i ? i(t) : t;
|
|
706
706
|
} : i;
|
|
707
707
|
}
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function Qe(e) {
|
|
710
710
|
if (!Symbol.asyncIterator) throw TypeError(`Symbol.asyncIterator is not defined.`);
|
|
711
711
|
var t = e[Symbol.asyncIterator], n;
|
|
712
|
-
return t ? t.call(e) : (e = typeof
|
|
712
|
+
return t ? t.call(e) : (e = typeof M == `function` ? M(e) : e[Symbol.iterator](), n = {}, r(`next`), r(`throw`), r(`return`), n[Symbol.asyncIterator] = function() {
|
|
713
713
|
return this;
|
|
714
714
|
}, n);
|
|
715
715
|
function r(t) {
|
|
@@ -728,34 +728,34 @@ function Ze(e) {
|
|
|
728
728
|
}, t);
|
|
729
729
|
}
|
|
730
730
|
}
|
|
731
|
-
function
|
|
731
|
+
function $e(e, t) {
|
|
732
732
|
return Object.defineProperty ? Object.defineProperty(e, `raw`, { value: t }) : e.raw = t, e;
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function et(e) {
|
|
735
735
|
if (e && e.__esModule) return e;
|
|
736
736
|
var t = {};
|
|
737
737
|
if (e != null) for (var n = L(e), r = 0; r < n.length; r++) n[r] !== `default` && I(t, e, n[r]);
|
|
738
738
|
return ct(t, e), t;
|
|
739
739
|
}
|
|
740
|
-
function
|
|
740
|
+
function tt(e) {
|
|
741
741
|
return e && e.__esModule ? e : { default: e };
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function nt(e, t, n, r) {
|
|
744
744
|
if (n === `a` && !r) throw TypeError(`Private accessor was defined without a getter`);
|
|
745
745
|
if (typeof t == `function` ? e !== t || !r : !t.has(e)) throw TypeError(`Cannot read private member from an object whose class did not declare it`);
|
|
746
746
|
return n === `m` ? r : n === `a` ? r.call(e) : r ? r.value : t.get(e);
|
|
747
747
|
}
|
|
748
|
-
function
|
|
748
|
+
function rt(e, t, n, r, i) {
|
|
749
749
|
if (r === `m`) throw TypeError(`Private method is not writable`);
|
|
750
750
|
if (r === `a` && !i) throw TypeError(`Private accessor was defined without a setter`);
|
|
751
751
|
if (typeof t == `function` ? e !== t || !i : !t.has(e)) throw TypeError(`Cannot write private member to an object whose class did not declare it`);
|
|
752
752
|
return r === `a` ? i.call(e, n) : i ? i.value = n : t.set(e, n), n;
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function it(e, t) {
|
|
755
755
|
if (t === null || typeof t != `object` && typeof t != `function`) throw TypeError(`Cannot use 'in' operator on non-object`);
|
|
756
756
|
return typeof e == `function` ? t === e : e.has(t);
|
|
757
757
|
}
|
|
758
|
-
function
|
|
758
|
+
function at(e, t, n) {
|
|
759
759
|
if (t != null) {
|
|
760
760
|
if (typeof t != `object` && typeof t != `function`) throw TypeError(`Object expected.`);
|
|
761
761
|
var r, i;
|
|
@@ -782,7 +782,7 @@ function it(e, t, n) {
|
|
|
782
782
|
} else n && e.stack.push({ async: !0 });
|
|
783
783
|
return t;
|
|
784
784
|
}
|
|
785
|
-
function
|
|
785
|
+
function ot(e) {
|
|
786
786
|
function t(t) {
|
|
787
787
|
e.error = e.hasError ? new lt(t, e.error, `An error was suppressed during disposal.`) : t, e.hasError = !0;
|
|
788
788
|
}
|
|
@@ -804,18 +804,18 @@ function at(e) {
|
|
|
804
804
|
}
|
|
805
805
|
return i();
|
|
806
806
|
}
|
|
807
|
-
function
|
|
807
|
+
function st(e, t) {
|
|
808
808
|
return typeof e == `string` && /^\.\.?\//.test(e) ? e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(e, n, r, i, a) {
|
|
809
809
|
return n ? t ? `.jsx` : `.js` : r && (!i || !a) ? e : r + i + `.` + a.toLowerCase() + `js`;
|
|
810
810
|
}) : e;
|
|
811
811
|
}
|
|
812
|
-
var
|
|
813
|
-
|
|
814
|
-
return
|
|
812
|
+
var P, F, I, ct, L, lt, ut, R = f((() => {
|
|
813
|
+
P = function(e, t) {
|
|
814
|
+
return P = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
815
815
|
e.__proto__ = t;
|
|
816
816
|
} || function(e, t) {
|
|
817
817
|
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
818
|
-
},
|
|
818
|
+
}, P(e, t);
|
|
819
819
|
}, F = function() {
|
|
820
820
|
return F = Object.assign || function(e) {
|
|
821
821
|
for (var t, n = 1, r = arguments.length; n < r; n++) for (var i in t = arguments[n], t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
|
|
@@ -849,38 +849,38 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
849
849
|
var r = Error(n);
|
|
850
850
|
return r.name = `SuppressedError`, r.error = e, r.suppressed = t, r;
|
|
851
851
|
}, ut = {
|
|
852
|
-
__extends:
|
|
852
|
+
__extends: Pe,
|
|
853
853
|
__assign: F,
|
|
854
|
-
__rest:
|
|
855
|
-
__decorate:
|
|
856
|
-
__param:
|
|
857
|
-
__esDecorate:
|
|
858
|
-
__runInitializers:
|
|
859
|
-
__propKey:
|
|
860
|
-
__setFunctionName:
|
|
861
|
-
__metadata:
|
|
862
|
-
__awaiter:
|
|
863
|
-
__generator:
|
|
854
|
+
__rest: Fe,
|
|
855
|
+
__decorate: Ie,
|
|
856
|
+
__param: Le,
|
|
857
|
+
__esDecorate: Re,
|
|
858
|
+
__runInitializers: ze,
|
|
859
|
+
__propKey: Be,
|
|
860
|
+
__setFunctionName: Ve,
|
|
861
|
+
__metadata: He,
|
|
862
|
+
__awaiter: Ue,
|
|
863
|
+
__generator: We,
|
|
864
864
|
__createBinding: I,
|
|
865
|
-
__exportStar:
|
|
866
|
-
__values:
|
|
867
|
-
__read:
|
|
868
|
-
__spread:
|
|
869
|
-
__spreadArrays:
|
|
870
|
-
__spreadArray:
|
|
871
|
-
__await:
|
|
872
|
-
__asyncGenerator:
|
|
873
|
-
__asyncDelegator:
|
|
874
|
-
__asyncValues:
|
|
875
|
-
__makeTemplateObject:
|
|
876
|
-
__importStar:
|
|
877
|
-
__importDefault:
|
|
878
|
-
__classPrivateFieldGet:
|
|
879
|
-
__classPrivateFieldSet:
|
|
880
|
-
__classPrivateFieldIn:
|
|
881
|
-
__addDisposableResource:
|
|
882
|
-
__disposeResources:
|
|
883
|
-
__rewriteRelativeImportExtension:
|
|
865
|
+
__exportStar: Ge,
|
|
866
|
+
__values: M,
|
|
867
|
+
__read: Ke,
|
|
868
|
+
__spread: qe,
|
|
869
|
+
__spreadArrays: Je,
|
|
870
|
+
__spreadArray: Ye,
|
|
871
|
+
__await: N,
|
|
872
|
+
__asyncGenerator: Xe,
|
|
873
|
+
__asyncDelegator: Ze,
|
|
874
|
+
__asyncValues: Qe,
|
|
875
|
+
__makeTemplateObject: $e,
|
|
876
|
+
__importStar: et,
|
|
877
|
+
__importDefault: tt,
|
|
878
|
+
__classPrivateFieldGet: nt,
|
|
879
|
+
__classPrivateFieldSet: rt,
|
|
880
|
+
__classPrivateFieldIn: it,
|
|
881
|
+
__addDisposableResource: at,
|
|
882
|
+
__disposeResources: ot,
|
|
883
|
+
__rewriteRelativeImportExtension: st
|
|
884
884
|
};
|
|
885
885
|
})), dt = p(((e) => {
|
|
886
886
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.ErrorKind = void 0;
|
|
@@ -1050,7 +1050,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
1050
1050
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.WHITE_SPACE_REGEX = void 0, e.WHITE_SPACE_REGEX = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1051
1051
|
})), ht = p(((e) => {
|
|
1052
1052
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.parseNumberSkeletonFromString = r, e.parseNumberSkeleton = p;
|
|
1053
|
-
var t = (R(), g(
|
|
1053
|
+
var t = (R(), g(j)), n = mt();
|
|
1054
1054
|
function r(e) {
|
|
1055
1055
|
if (e.length === 0) throw Error(`Number skeleton cannot be empty`);
|
|
1056
1056
|
for (var t = e.split(n.WHITE_SPACE_REGEX).filter(function(e) {
|
|
@@ -1230,7 +1230,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
1230
1230
|
}
|
|
1231
1231
|
})), gt = p(((e) => {
|
|
1232
1232
|
Object.defineProperty(e, `__esModule`, { value: !0 });
|
|
1233
|
-
var t = (R(), g(
|
|
1233
|
+
var t = (R(), g(j));
|
|
1234
1234
|
t.__exportStar(pt(), e), t.__exportStar(ht(), e);
|
|
1235
1235
|
})), _t = p(((e) => {
|
|
1236
1236
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.timeData = void 0, e.timeData = {
|
|
@@ -2418,7 +2418,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2418
2418
|
}
|
|
2419
2419
|
})), yt = p(((e) => {
|
|
2420
2420
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.Parser = void 0;
|
|
2421
|
-
var t = (R(), g(
|
|
2421
|
+
var t = (R(), g(j)), n = dt(), r = z(), i = ft(), a = gt(), o = vt(), s = RegExp(`^${i.SPACE_SEPARATOR_REGEX.source}*`), c = RegExp(`${i.SPACE_SEPARATOR_REGEX.source}*\$`);
|
|
2422
2422
|
function l(e, t) {
|
|
2423
2423
|
return {
|
|
2424
2424
|
start: e,
|
|
@@ -2478,7 +2478,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2478
2478
|
} else C = function(e, t) {
|
|
2479
2479
|
for (var n = [];;) {
|
|
2480
2480
|
var r = x(e, t);
|
|
2481
|
-
if (r === void 0 ||
|
|
2481
|
+
if (r === void 0 || ae(r) || E(r)) break;
|
|
2482
2482
|
n.push(r), t += r >= 65536 ? 2 : 1;
|
|
2483
2483
|
}
|
|
2484
2484
|
return y.apply(void 0, n);
|
|
@@ -2557,7 +2557,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2557
2557
|
} else return this.error(n.ErrorKind.INVALID_TAG, l(i, this.clonePosition()));
|
|
2558
2558
|
}, e.prototype.parseTagName = function() {
|
|
2559
2559
|
var e = this.offset();
|
|
2560
|
-
for (this.bump(); !this.isEOF() &&
|
|
2560
|
+
for (this.bump(); !this.isEOF() && ie(this.char());) this.bump();
|
|
2561
2561
|
return this.message.slice(e, this.offset());
|
|
2562
2562
|
}, e.prototype.parseLiteral = function(e, t) {
|
|
2563
2563
|
for (var n = this.clonePosition(), i = ``;;) {
|
|
@@ -2885,7 +2885,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2885
2885
|
if (this.bump(), this.isEOF()) break;
|
|
2886
2886
|
}
|
|
2887
2887
|
}, e.prototype.bumpSpace = function() {
|
|
2888
|
-
for (; !this.isEOF() &&
|
|
2888
|
+
for (; !this.isEOF() && ae(this.char());) this.bump();
|
|
2889
2889
|
}, e.prototype.peek = function() {
|
|
2890
2890
|
if (this.isEOF()) return null;
|
|
2891
2891
|
var e = this.char(), t = this.offset();
|
|
@@ -2898,18 +2898,18 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2898
2898
|
function re(e) {
|
|
2899
2899
|
return T(e) || e === 47;
|
|
2900
2900
|
}
|
|
2901
|
-
function
|
|
2901
|
+
function ie(e) {
|
|
2902
2902
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
2903
2903
|
}
|
|
2904
|
-
function
|
|
2904
|
+
function ae(e) {
|
|
2905
2905
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
2906
2906
|
}
|
|
2907
|
-
function
|
|
2907
|
+
function E(e) {
|
|
2908
2908
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
2909
2909
|
}
|
|
2910
2910
|
})), bt = p(((e) => {
|
|
2911
2911
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.hoistSelectors = s, e.isStructurallySame = l;
|
|
2912
|
-
var t = (R(), g(
|
|
2912
|
+
var t = (R(), g(j)), n = z();
|
|
2913
2913
|
function r(e) {
|
|
2914
2914
|
return Array.isArray(e) ? t.__spreadArray([], e.map(r), !0) : typeof e == `object` && e ? Object.keys(e).reduce(function(t, n) {
|
|
2915
2915
|
return t[n] = r(e[n]), t;
|
|
@@ -2968,7 +2968,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2968
2968
|
}
|
|
2969
2969
|
})), xt = p(((e) => {
|
|
2970
2970
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.isStructurallySame = e._Parser = void 0, e.parse = o;
|
|
2971
|
-
var t = (R(), g(
|
|
2971
|
+
var t = (R(), g(j)), n = dt(), r = yt(), i = z();
|
|
2972
2972
|
function a(e) {
|
|
2973
2973
|
e.forEach(function(e) {
|
|
2974
2974
|
if (delete e.location, (0, i.isSelectElement)(e) || (0, i.isPluralElement)(e)) for (var t in e.options) delete e.options[t].location, a(e.options[t].value);
|
|
@@ -2997,7 +2997,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2997
2997
|
});
|
|
2998
2998
|
})), St = p(((e) => {
|
|
2999
2999
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.printAST = r;
|
|
3000
|
-
var t = (R(), g(
|
|
3000
|
+
var t = (R(), g(j)), n = z();
|
|
3001
3001
|
function r(e) {
|
|
3002
3002
|
return i(e, !1);
|
|
3003
3003
|
}
|
|
@@ -3066,10 +3066,11 @@ St();
|
|
|
3066
3066
|
const U = `_gt_`;
|
|
3067
3067
|
RegExp(`^${U}\\d+$`);
|
|
3068
3068
|
RegExp(`^${U}$`);
|
|
3069
|
-
|
|
3069
|
+
RegExp(`${U}\\d+`);
|
|
3070
|
+
const Ut = `@generaltranslation/react-core`;
|
|
3070
3071
|
function W(e) {
|
|
3071
3072
|
return S({
|
|
3072
|
-
source:
|
|
3073
|
+
source: Ut,
|
|
3073
3074
|
...e
|
|
3074
3075
|
});
|
|
3075
3076
|
}
|
|
@@ -3116,16 +3117,16 @@ W({
|
|
|
3116
3117
|
whatHappened: `No dictionary was found`,
|
|
3117
3118
|
fix: `Pass a dictionary to <GTProvider> or configure a dictionary loader before rendering translations`
|
|
3118
3119
|
});
|
|
3119
|
-
`${
|
|
3120
|
-
const
|
|
3120
|
+
`${Ut}`;
|
|
3121
|
+
const mn = `generaltranslation.locale`, hn = `generaltranslation.region`;
|
|
3121
3122
|
e.use;
|
|
3122
|
-
function
|
|
3123
|
+
function Yn({ children: e }) {
|
|
3123
3124
|
return e;
|
|
3124
3125
|
}
|
|
3125
|
-
function
|
|
3126
|
-
return
|
|
3126
|
+
function Xn(e) {
|
|
3127
|
+
return Yn(e);
|
|
3127
3128
|
}
|
|
3128
|
-
|
|
3129
|
+
Yn._gtt = `derive`, Xn._gtt = `derive`;
|
|
3129
3130
|
//#endregion
|
|
3130
3131
|
//#region src/shared/cookies.ts
|
|
3131
3132
|
/**
|
|
@@ -3148,7 +3149,7 @@ function setCookieValue(cookieName, value) {
|
|
|
3148
3149
|
}
|
|
3149
3150
|
//#endregion
|
|
3150
3151
|
//#region src/react-context/provider/ClientProvider.tsx
|
|
3151
|
-
function ClientProvider({ children, dictionary: _dictionary, dictionaryTranslations: _dictionaryTranslations, translations: _translations, locale: _locale, region: _region, _versionId, defaultLocale, translationRequired, dialectTranslationRequired, locales = [], renderSettings, projectId, devApiKey, runtimeUrl, developmentApiEnabled, resetLocaleCookieName, localeCookieName =
|
|
3152
|
+
function ClientProvider({ children, dictionary: _dictionary, dictionaryTranslations: _dictionaryTranslations, translations: _translations, locale: _locale, region: _region, _versionId, defaultLocale, translationRequired, dialectTranslationRequired, locales = [], renderSettings, projectId, devApiKey, runtimeUrl, developmentApiEnabled, resetLocaleCookieName, localeCookieName = mn, regionCookieName = hn, customMapping, environment, reloadServer }) {
|
|
3152
3153
|
const didMount = useRef(false);
|
|
3153
3154
|
const [translations, setTranslations] = useState(_translations);
|
|
3154
3155
|
useEffect(() => {
|