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/index.cjs
CHANGED
|
@@ -308,43 +308,43 @@ function S({ source: e, severity: t, whatHappened: n, reassurance: r, why: i, fi
|
|
|
308
308
|
let p = f.join(` `);
|
|
309
309
|
return l ? `${l} ${p}` : p;
|
|
310
310
|
}
|
|
311
|
-
function
|
|
311
|
+
function ae(e) {
|
|
312
312
|
return e instanceof Uint8Array || ArrayBuffer.isView(e) && e.constructor.name === `Uint8Array` && `BYTES_PER_ELEMENT` in e && e.BYTES_PER_ELEMENT === 1;
|
|
313
313
|
}
|
|
314
|
-
function
|
|
315
|
-
let r =
|
|
314
|
+
function E(e, t, n = ``) {
|
|
315
|
+
let r = ae(e), i = e?.length, a = t !== void 0;
|
|
316
316
|
if (!r || a && i !== t) {
|
|
317
317
|
let o = n && `"${n}" `, s = a ? ` of length ${t}` : ``, c = r ? `length=${i}` : `type=${typeof e}`, l = o + `expected Uint8Array` + s + `, got ` + c;
|
|
318
318
|
throw r ? RangeError(l) : TypeError(l);
|
|
319
319
|
}
|
|
320
320
|
return e;
|
|
321
321
|
}
|
|
322
|
-
function
|
|
322
|
+
function oe(e, t = !0) {
|
|
323
323
|
if (e.destroyed) throw Error(`Hash instance has been destroyed`);
|
|
324
324
|
if (t && e.finished) throw Error(`Hash#digest() has already been called`);
|
|
325
325
|
}
|
|
326
|
-
function
|
|
327
|
-
|
|
326
|
+
function se(e, t) {
|
|
327
|
+
E(e, void 0, `digestInto() output`);
|
|
328
328
|
let n = t.outputLen;
|
|
329
329
|
if (e.length < n) throw RangeError(`"digestInto() output" expected to be of length >=` + n);
|
|
330
330
|
}
|
|
331
|
-
function
|
|
331
|
+
function ce(...e) {
|
|
332
332
|
for (let t = 0; t < e.length; t++) e[t].fill(0);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function le(e) {
|
|
335
335
|
return new DataView(e.buffer, e.byteOffset, e.byteLength);
|
|
336
336
|
}
|
|
337
|
-
function
|
|
337
|
+
function D(e, t) {
|
|
338
338
|
return e << 32 - t | e >>> t;
|
|
339
339
|
}
|
|
340
340
|
new Uint8Array(new Uint32Array([287454020]).buffer)[0];
|
|
341
341
|
typeof Uint8Array.from([]).toHex == `function` && Uint8Array.fromHex;
|
|
342
342
|
Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, `0`));
|
|
343
|
-
function
|
|
343
|
+
function me(e, t = {}) {
|
|
344
344
|
let n = (t, n) => e(n).update(t).digest(), r = e(void 0);
|
|
345
345
|
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);
|
|
346
346
|
}
|
|
347
|
-
const
|
|
347
|
+
const he = (e) => ({ oid: Uint8Array.from([
|
|
348
348
|
6,
|
|
349
349
|
9,
|
|
350
350
|
96,
|
|
@@ -357,13 +357,13 @@ const me = (e) => ({ oid: Uint8Array.from([
|
|
|
357
357
|
2,
|
|
358
358
|
e
|
|
359
359
|
]) });
|
|
360
|
-
function
|
|
360
|
+
function ge(e, t, n) {
|
|
361
361
|
return e & t ^ ~e & n;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
363
|
+
function _e(e, t, n) {
|
|
364
364
|
return e & t ^ e & n ^ t & n;
|
|
365
365
|
}
|
|
366
|
-
var
|
|
366
|
+
var ve = class {
|
|
367
367
|
blockLen;
|
|
368
368
|
outputLen;
|
|
369
369
|
canXOF = !1;
|
|
@@ -376,15 +376,15 @@ var _e = class {
|
|
|
376
376
|
pos = 0;
|
|
377
377
|
destroyed = !1;
|
|
378
378
|
constructor(e, t, n, r) {
|
|
379
|
-
this.blockLen = e, this.outputLen = t, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(e), this.view =
|
|
379
|
+
this.blockLen = e, this.outputLen = t, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(e), this.view = le(this.buffer);
|
|
380
380
|
}
|
|
381
381
|
update(e) {
|
|
382
|
-
|
|
382
|
+
oe(this), E(e);
|
|
383
383
|
let { view: t, buffer: n, blockLen: r } = this, i = e.length;
|
|
384
384
|
for (let a = 0; a < i;) {
|
|
385
385
|
let o = Math.min(r - this.pos, i - a);
|
|
386
386
|
if (o === r) {
|
|
387
|
-
let t =
|
|
387
|
+
let t = le(e);
|
|
388
388
|
for (; r <= i - a; a += r) this.process(t, a);
|
|
389
389
|
continue;
|
|
390
390
|
}
|
|
@@ -393,12 +393,12 @@ var _e = class {
|
|
|
393
393
|
return this.length += e.length, this.roundClean(), this;
|
|
394
394
|
}
|
|
395
395
|
digestInto(e) {
|
|
396
|
-
|
|
396
|
+
oe(this), se(e, this), this.finished = !0;
|
|
397
397
|
let { buffer: t, view: n, blockLen: r, isLE: i } = this, { pos: a } = this;
|
|
398
|
-
t[a++] = 128,
|
|
398
|
+
t[a++] = 128, ce(this.buffer.subarray(a)), this.padOffset > r - a && (this.process(n, 0), a = 0);
|
|
399
399
|
for (let e = a; e < r; e++) t[e] = 0;
|
|
400
400
|
n.setBigUint64(r - 8, BigInt(this.length * 8), i), this.process(n, 0);
|
|
401
|
-
let o =
|
|
401
|
+
let o = le(e), s = this.outputLen;
|
|
402
402
|
if (s % 4) throw Error(`_sha2: outputLen must be aligned to 32bit`);
|
|
403
403
|
let c = s / 4, l = this.get();
|
|
404
404
|
if (c > l.length) throw Error(`_sha2: outputLen bigger than state`);
|
|
@@ -419,7 +419,7 @@ var _e = class {
|
|
|
419
419
|
return this._cloneInto();
|
|
420
420
|
}
|
|
421
421
|
};
|
|
422
|
-
const
|
|
422
|
+
const O = Uint32Array.from([
|
|
423
423
|
1779033703,
|
|
424
424
|
3144134277,
|
|
425
425
|
1013904242,
|
|
@@ -428,25 +428,25 @@ const k = Uint32Array.from([
|
|
|
428
428
|
2600822924,
|
|
429
429
|
528734635,
|
|
430
430
|
1541459225
|
|
431
|
-
]),
|
|
432
|
-
function
|
|
431
|
+
]), k = BigInt(2 ** 32 - 1), ye = BigInt(32);
|
|
432
|
+
function be(e, t = !1) {
|
|
433
433
|
return t ? {
|
|
434
|
-
h: Number(e &
|
|
435
|
-
l: Number(e >>
|
|
434
|
+
h: Number(e & k),
|
|
435
|
+
l: Number(e >> ye & k)
|
|
436
436
|
} : {
|
|
437
|
-
h: Number(e >>
|
|
438
|
-
l: Number(e &
|
|
437
|
+
h: Number(e >> ye & k) | 0,
|
|
438
|
+
l: Number(e & k) | 0
|
|
439
439
|
};
|
|
440
440
|
}
|
|
441
|
-
function
|
|
441
|
+
function xe(e, t = !1) {
|
|
442
442
|
let n = e.length, r = new Uint32Array(n), i = new Uint32Array(n);
|
|
443
443
|
for (let a = 0; a < n; a++) {
|
|
444
|
-
let { h: n, l: o } =
|
|
444
|
+
let { h: n, l: o } = be(e[a], t);
|
|
445
445
|
[r[a], i[a]] = [n, o];
|
|
446
446
|
}
|
|
447
447
|
return [r, i];
|
|
448
448
|
}
|
|
449
|
-
const
|
|
449
|
+
const Se = Uint32Array.from([
|
|
450
450
|
1116352408,
|
|
451
451
|
1899447441,
|
|
452
452
|
3049323471,
|
|
@@ -511,8 +511,8 @@ const xe = Uint32Array.from([
|
|
|
511
511
|
2756734187,
|
|
512
512
|
3204031479,
|
|
513
513
|
3329325298
|
|
514
|
-
]),
|
|
515
|
-
var
|
|
514
|
+
]), A = new Uint32Array(64);
|
|
515
|
+
var Ce = class extends ve {
|
|
516
516
|
constructor(e) {
|
|
517
517
|
super(64, e, 8, !1);
|
|
518
518
|
}
|
|
@@ -533,41 +533,41 @@ var Se = class extends _e {
|
|
|
533
533
|
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;
|
|
534
534
|
}
|
|
535
535
|
process(e, t) {
|
|
536
|
-
for (let n = 0; n < 16; n++, t += 4)
|
|
536
|
+
for (let n = 0; n < 16; n++, t += 4) A[n] = e.getUint32(t, !1);
|
|
537
537
|
for (let e = 16; e < 64; e++) {
|
|
538
|
-
let t =
|
|
539
|
-
|
|
538
|
+
let t = A[e - 15], n = A[e - 2], r = D(t, 7) ^ D(t, 18) ^ t >>> 3;
|
|
539
|
+
A[e] = (D(n, 17) ^ D(n, 19) ^ n >>> 10) + A[e - 7] + r + A[e - 16] | 0;
|
|
540
540
|
}
|
|
541
541
|
let { A: n, B: r, C: i, D: a, E: o, F: s, G: c, H: l } = this;
|
|
542
542
|
for (let e = 0; e < 64; e++) {
|
|
543
|
-
let t =
|
|
543
|
+
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;
|
|
544
544
|
l = c, c = s, s = o, o = a + u | 0, a = i, i = r, r = n, n = u + d | 0;
|
|
545
545
|
}
|
|
546
546
|
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);
|
|
547
547
|
}
|
|
548
548
|
roundClean() {
|
|
549
|
-
|
|
549
|
+
ce(A);
|
|
550
550
|
}
|
|
551
551
|
destroy() {
|
|
552
|
-
this.destroyed = !0, this.set(0, 0, 0, 0, 0, 0, 0, 0),
|
|
553
|
-
}
|
|
554
|
-
},
|
|
555
|
-
A =
|
|
556
|
-
B =
|
|
557
|
-
C =
|
|
558
|
-
D =
|
|
559
|
-
E =
|
|
560
|
-
F =
|
|
561
|
-
G =
|
|
562
|
-
H =
|
|
552
|
+
this.destroyed = !0, this.set(0, 0, 0, 0, 0, 0, 0, 0), ce(this.buffer);
|
|
553
|
+
}
|
|
554
|
+
}, we = class extends Ce {
|
|
555
|
+
A = O[0] | 0;
|
|
556
|
+
B = O[1] | 0;
|
|
557
|
+
C = O[2] | 0;
|
|
558
|
+
D = O[3] | 0;
|
|
559
|
+
E = O[4] | 0;
|
|
560
|
+
F = O[5] | 0;
|
|
561
|
+
G = O[6] | 0;
|
|
562
|
+
H = O[7] | 0;
|
|
563
563
|
constructor() {
|
|
564
564
|
super(32);
|
|
565
565
|
}
|
|
566
566
|
};
|
|
567
|
-
const
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
const
|
|
567
|
+
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)));
|
|
568
|
+
Te[0], Te[1];
|
|
569
|
+
me(() => new we(), he(1));
|
|
570
|
+
const De = (e) => `generaltranslation Formatting Error: Invalid cutoff style: ${e}.`, Oe = `DEFAULT_TERMINATOR_KEY`, ke = {
|
|
571
571
|
ellipsis: {
|
|
572
572
|
fr: {
|
|
573
573
|
terminator: `…`,
|
|
@@ -581,17 +581,17 @@ const Ee = (e) => `generaltranslation Formatting Error: Invalid cutoff style: ${
|
|
|
581
581
|
terminator: `……`,
|
|
582
582
|
separator: void 0
|
|
583
583
|
},
|
|
584
|
-
[
|
|
584
|
+
[Oe]: {
|
|
585
585
|
terminator: `…`,
|
|
586
586
|
separator: void 0
|
|
587
587
|
}
|
|
588
588
|
},
|
|
589
|
-
none: { [
|
|
589
|
+
none: { [Oe]: {
|
|
590
590
|
terminator: void 0,
|
|
591
591
|
separator: void 0
|
|
592
592
|
} }
|
|
593
593
|
};
|
|
594
|
-
var
|
|
594
|
+
var Ae = class e {
|
|
595
595
|
static resolveLocale(e) {
|
|
596
596
|
try {
|
|
597
597
|
let t = e ? Array.isArray(e) ? e.map(String) : [String(e)] : [`en`], [n] = Intl.getCanonicalLocales(t);
|
|
@@ -603,8 +603,8 @@ var ke = class e {
|
|
|
603
603
|
constructor(t, n = {}) {
|
|
604
604
|
this.locale = e.resolveLocale(t);
|
|
605
605
|
let r = n.style ?? `ellipsis`;
|
|
606
|
-
if (!
|
|
607
|
-
let i = n.maxChars === void 0 ? void 0 :
|
|
606
|
+
if (!ke[r]) throw Error(De(r));
|
|
607
|
+
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;
|
|
608
608
|
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 = {
|
|
609
609
|
maxChars: n.maxChars,
|
|
610
610
|
style: n.maxChars === void 0 ? void 0 : r,
|
|
@@ -631,7 +631,7 @@ var ke = class e {
|
|
|
631
631
|
return this.options;
|
|
632
632
|
}
|
|
633
633
|
};
|
|
634
|
-
const
|
|
634
|
+
const je = {
|
|
635
635
|
Collator: Intl.Collator,
|
|
636
636
|
DateTimeFormat: Intl.DateTimeFormat,
|
|
637
637
|
DisplayNames: Intl.DisplayNames,
|
|
@@ -641,7 +641,7 @@ const Ae = {
|
|
|
641
641
|
PluralRules: Intl.PluralRules,
|
|
642
642
|
RelativeTimeFormat: Intl.RelativeTimeFormat,
|
|
643
643
|
Segmenter: Intl.Segmenter,
|
|
644
|
-
CutoffFormat:
|
|
644
|
+
CutoffFormat: Ae
|
|
645
645
|
};
|
|
646
646
|
new class {
|
|
647
647
|
constructor() {
|
|
@@ -654,70 +654,70 @@ new class {
|
|
|
654
654
|
let [n = `en`, r = {}] = t, i = this.generateKey(n, r), a = this.cache[e];
|
|
655
655
|
a === void 0 && (a = {}, this.cache[e] = a);
|
|
656
656
|
let o = a[i];
|
|
657
|
-
return o === void 0 && (o = new
|
|
657
|
+
return o === void 0 && (o = new je[e](...t), a[i] = o), o;
|
|
658
658
|
}
|
|
659
659
|
}();
|
|
660
|
-
var
|
|
661
|
-
__addDisposableResource: () =>
|
|
660
|
+
var j = m({
|
|
661
|
+
__addDisposableResource: () => at,
|
|
662
662
|
__assign: () => F,
|
|
663
|
-
__asyncDelegator: () =>
|
|
664
|
-
__asyncGenerator: () =>
|
|
665
|
-
__asyncValues: () =>
|
|
666
|
-
__await: () =>
|
|
667
|
-
__awaiter: () =>
|
|
668
|
-
__classPrivateFieldGet: () =>
|
|
669
|
-
__classPrivateFieldIn: () =>
|
|
670
|
-
__classPrivateFieldSet: () =>
|
|
663
|
+
__asyncDelegator: () => Ze,
|
|
664
|
+
__asyncGenerator: () => Xe,
|
|
665
|
+
__asyncValues: () => Qe,
|
|
666
|
+
__await: () => N,
|
|
667
|
+
__awaiter: () => Ue,
|
|
668
|
+
__classPrivateFieldGet: () => nt,
|
|
669
|
+
__classPrivateFieldIn: () => it,
|
|
670
|
+
__classPrivateFieldSet: () => rt,
|
|
671
671
|
__createBinding: () => I,
|
|
672
|
-
__decorate: () =>
|
|
673
|
-
__disposeResources: () =>
|
|
674
|
-
__esDecorate: () =>
|
|
675
|
-
__exportStar: () =>
|
|
676
|
-
__extends: () =>
|
|
677
|
-
__generator: () =>
|
|
678
|
-
__importDefault: () =>
|
|
679
|
-
__importStar: () =>
|
|
680
|
-
__makeTemplateObject: () =>
|
|
681
|
-
__metadata: () =>
|
|
682
|
-
__param: () =>
|
|
683
|
-
__propKey: () =>
|
|
684
|
-
__read: () =>
|
|
685
|
-
__rest: () =>
|
|
686
|
-
__rewriteRelativeImportExtension: () =>
|
|
687
|
-
__runInitializers: () =>
|
|
688
|
-
__setFunctionName: () =>
|
|
689
|
-
__spread: () =>
|
|
690
|
-
__spreadArray: () =>
|
|
691
|
-
__spreadArrays: () =>
|
|
692
|
-
__values: () =>
|
|
672
|
+
__decorate: () => Ie,
|
|
673
|
+
__disposeResources: () => ot,
|
|
674
|
+
__esDecorate: () => Re,
|
|
675
|
+
__exportStar: () => Ge,
|
|
676
|
+
__extends: () => Pe,
|
|
677
|
+
__generator: () => We,
|
|
678
|
+
__importDefault: () => tt,
|
|
679
|
+
__importStar: () => et,
|
|
680
|
+
__makeTemplateObject: () => $e,
|
|
681
|
+
__metadata: () => He,
|
|
682
|
+
__param: () => Le,
|
|
683
|
+
__propKey: () => Be,
|
|
684
|
+
__read: () => Ke,
|
|
685
|
+
__rest: () => Fe,
|
|
686
|
+
__rewriteRelativeImportExtension: () => st,
|
|
687
|
+
__runInitializers: () => ze,
|
|
688
|
+
__setFunctionName: () => Ve,
|
|
689
|
+
__spread: () => qe,
|
|
690
|
+
__spreadArray: () => Ye,
|
|
691
|
+
__spreadArrays: () => Je,
|
|
692
|
+
__values: () => M,
|
|
693
693
|
default: () => ut
|
|
694
694
|
});
|
|
695
|
-
function
|
|
695
|
+
function Pe(e, t) {
|
|
696
696
|
if (typeof t != `function` && t !== null) throw TypeError(`Class extends value ` + String(t) + ` is not a constructor or null`);
|
|
697
|
-
|
|
697
|
+
P(e, t);
|
|
698
698
|
function n() {
|
|
699
699
|
this.constructor = e;
|
|
700
700
|
}
|
|
701
701
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
702
702
|
}
|
|
703
|
-
function
|
|
703
|
+
function Fe(e, t) {
|
|
704
704
|
var n = {};
|
|
705
705
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
706
706
|
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]]);
|
|
707
707
|
return n;
|
|
708
708
|
}
|
|
709
|
-
function
|
|
709
|
+
function Ie(e, t, n, r) {
|
|
710
710
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
711
711
|
if (typeof Reflect == `object` && typeof Reflect.decorate == `function`) a = Reflect.decorate(e, t, n, r);
|
|
712
712
|
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);
|
|
713
713
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
714
714
|
}
|
|
715
|
-
function
|
|
715
|
+
function Le(e, t) {
|
|
716
716
|
return function(n, r) {
|
|
717
717
|
t(n, r, e);
|
|
718
718
|
};
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function Re(e, t, n, r, i, a) {
|
|
721
721
|
function o(e) {
|
|
722
722
|
if (e !== void 0 && typeof e != `function`) throw TypeError(`Function expected`);
|
|
723
723
|
return e;
|
|
@@ -742,23 +742,23 @@ function Le(e, t, n, r, i, a) {
|
|
|
742
742
|
}
|
|
743
743
|
l && Object.defineProperty(l, r.name, u), f = !0;
|
|
744
744
|
}
|
|
745
|
-
function
|
|
745
|
+
function ze(e, t, n) {
|
|
746
746
|
for (var r = arguments.length > 2, i = 0; i < t.length; i++) n = r ? t[i].call(e, n) : t[i].call(e);
|
|
747
747
|
return r ? n : void 0;
|
|
748
748
|
}
|
|
749
|
-
function
|
|
749
|
+
function Be(e) {
|
|
750
750
|
return typeof e == `symbol` ? e : `${e}`;
|
|
751
751
|
}
|
|
752
|
-
function
|
|
752
|
+
function Ve(e, t, n) {
|
|
753
753
|
return typeof t == `symbol` && (t = t.description ? `[${t.description}]` : ``), Object.defineProperty(e, `name`, {
|
|
754
754
|
configurable: !0,
|
|
755
755
|
value: n ? `${n} ${t}` : t
|
|
756
756
|
});
|
|
757
757
|
}
|
|
758
|
-
function
|
|
758
|
+
function He(e, t) {
|
|
759
759
|
if (typeof Reflect == `object` && typeof Reflect.metadata == `function`) return Reflect.metadata(e, t);
|
|
760
760
|
}
|
|
761
|
-
function
|
|
761
|
+
function Ue(e, t, n, r) {
|
|
762
762
|
function i(e) {
|
|
763
763
|
return e instanceof n ? e : new n(function(t) {
|
|
764
764
|
t(e);
|
|
@@ -785,7 +785,7 @@ function He(e, t, n, r) {
|
|
|
785
785
|
c((r = r.apply(e, t || [])).next());
|
|
786
786
|
});
|
|
787
787
|
}
|
|
788
|
-
function
|
|
788
|
+
function We(e, t) {
|
|
789
789
|
var n = {
|
|
790
790
|
label: 0,
|
|
791
791
|
sent: function() {
|
|
@@ -855,10 +855,10 @@ function Ue(e, t) {
|
|
|
855
855
|
};
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
|
-
function
|
|
858
|
+
function Ge(e, t) {
|
|
859
859
|
for (var n in e) n !== `default` && !Object.prototype.hasOwnProperty.call(t, n) && I(t, e, n);
|
|
860
860
|
}
|
|
861
|
-
function
|
|
861
|
+
function M(e) {
|
|
862
862
|
var t = typeof Symbol == `function` && Symbol.iterator, n = t && e[t], r = 0;
|
|
863
863
|
if (n) return n.call(e);
|
|
864
864
|
if (e && typeof e.length == `number`) return { next: function() {
|
|
@@ -869,7 +869,7 @@ function N(e) {
|
|
|
869
869
|
} };
|
|
870
870
|
throw TypeError(t ? `Object is not iterable.` : `Symbol.iterator is not defined.`);
|
|
871
871
|
}
|
|
872
|
-
function
|
|
872
|
+
function Ke(e, t) {
|
|
873
873
|
var n = typeof Symbol == `function` && e[Symbol.iterator];
|
|
874
874
|
if (!n) return e;
|
|
875
875
|
var r = n.call(e), i, a = [], o;
|
|
@@ -886,23 +886,23 @@ function Ge(e, t) {
|
|
|
886
886
|
}
|
|
887
887
|
return a;
|
|
888
888
|
}
|
|
889
|
-
function
|
|
890
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
889
|
+
function qe() {
|
|
890
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(Ke(arguments[t]));
|
|
891
891
|
return e;
|
|
892
892
|
}
|
|
893
|
-
function
|
|
893
|
+
function Je() {
|
|
894
894
|
for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length;
|
|
895
895
|
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];
|
|
896
896
|
return r;
|
|
897
897
|
}
|
|
898
|
-
function
|
|
898
|
+
function Ye(e, t, n) {
|
|
899
899
|
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]);
|
|
900
900
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
901
901
|
}
|
|
902
|
-
function
|
|
903
|
-
return this instanceof
|
|
902
|
+
function N(e) {
|
|
903
|
+
return this instanceof N ? (this.v = e, this) : new N(e);
|
|
904
904
|
}
|
|
905
|
-
function
|
|
905
|
+
function Xe(e, t, n) {
|
|
906
906
|
if (!Symbol.asyncIterator) throw TypeError(`Symbol.asyncIterator is not defined.`);
|
|
907
907
|
var r = n.apply(e, t || []), i, a = [];
|
|
908
908
|
return i = Object.create((typeof AsyncIterator == `function` ? AsyncIterator : Object).prototype), s(`next`), s(`throw`), s(`return`, o), i[Symbol.asyncIterator] = function() {
|
|
@@ -933,7 +933,7 @@ function Ye(e, t, n) {
|
|
|
933
933
|
}
|
|
934
934
|
}
|
|
935
935
|
function l(e) {
|
|
936
|
-
e.value instanceof
|
|
936
|
+
e.value instanceof N ? Promise.resolve(e.value.v).then(u, d) : f(a[0][2], e);
|
|
937
937
|
}
|
|
938
938
|
function u(e) {
|
|
939
939
|
c(`next`, e);
|
|
@@ -945,7 +945,7 @@ function Ye(e, t, n) {
|
|
|
945
945
|
e(t), a.shift(), a.length && c(a[0][0], a[0][1]);
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
|
-
function
|
|
948
|
+
function Ze(e) {
|
|
949
949
|
var t, n;
|
|
950
950
|
return t = {}, r(`next`), r(`throw`, function(e) {
|
|
951
951
|
throw e;
|
|
@@ -955,16 +955,16 @@ function Xe(e) {
|
|
|
955
955
|
function r(r, i) {
|
|
956
956
|
t[r] = e[r] ? function(t) {
|
|
957
957
|
return (n = !n) ? {
|
|
958
|
-
value:
|
|
958
|
+
value: N(e[r](t)),
|
|
959
959
|
done: !1
|
|
960
960
|
} : i ? i(t) : t;
|
|
961
961
|
} : i;
|
|
962
962
|
}
|
|
963
963
|
}
|
|
964
|
-
function
|
|
964
|
+
function Qe(e) {
|
|
965
965
|
if (!Symbol.asyncIterator) throw TypeError(`Symbol.asyncIterator is not defined.`);
|
|
966
966
|
var t = e[Symbol.asyncIterator], n;
|
|
967
|
-
return t ? t.call(e) : (e = typeof
|
|
967
|
+
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() {
|
|
968
968
|
return this;
|
|
969
969
|
}, n);
|
|
970
970
|
function r(t) {
|
|
@@ -983,34 +983,34 @@ function Ze(e) {
|
|
|
983
983
|
}, t);
|
|
984
984
|
}
|
|
985
985
|
}
|
|
986
|
-
function
|
|
986
|
+
function $e(e, t) {
|
|
987
987
|
return Object.defineProperty ? Object.defineProperty(e, `raw`, { value: t }) : e.raw = t, e;
|
|
988
988
|
}
|
|
989
|
-
function
|
|
989
|
+
function et(e) {
|
|
990
990
|
if (e && e.__esModule) return e;
|
|
991
991
|
var t = {};
|
|
992
992
|
if (e != null) for (var n = L(e), r = 0; r < n.length; r++) n[r] !== `default` && I(t, e, n[r]);
|
|
993
993
|
return ct(t, e), t;
|
|
994
994
|
}
|
|
995
|
-
function
|
|
995
|
+
function tt(e) {
|
|
996
996
|
return e && e.__esModule ? e : { default: e };
|
|
997
997
|
}
|
|
998
|
-
function
|
|
998
|
+
function nt(e, t, n, r) {
|
|
999
999
|
if (n === `a` && !r) throw TypeError(`Private accessor was defined without a getter`);
|
|
1000
1000
|
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`);
|
|
1001
1001
|
return n === `m` ? r : n === `a` ? r.call(e) : r ? r.value : t.get(e);
|
|
1002
1002
|
}
|
|
1003
|
-
function
|
|
1003
|
+
function rt(e, t, n, r, i) {
|
|
1004
1004
|
if (r === `m`) throw TypeError(`Private method is not writable`);
|
|
1005
1005
|
if (r === `a` && !i) throw TypeError(`Private accessor was defined without a setter`);
|
|
1006
1006
|
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`);
|
|
1007
1007
|
return r === `a` ? i.call(e, n) : i ? i.value = n : t.set(e, n), n;
|
|
1008
1008
|
}
|
|
1009
|
-
function
|
|
1009
|
+
function it(e, t) {
|
|
1010
1010
|
if (t === null || typeof t != `object` && typeof t != `function`) throw TypeError(`Cannot use 'in' operator on non-object`);
|
|
1011
1011
|
return typeof e == `function` ? t === e : e.has(t);
|
|
1012
1012
|
}
|
|
1013
|
-
function
|
|
1013
|
+
function at(e, t, n) {
|
|
1014
1014
|
if (t != null) {
|
|
1015
1015
|
if (typeof t != `object` && typeof t != `function`) throw TypeError(`Object expected.`);
|
|
1016
1016
|
var r, i;
|
|
@@ -1037,7 +1037,7 @@ function it(e, t, n) {
|
|
|
1037
1037
|
} else n && e.stack.push({ async: !0 });
|
|
1038
1038
|
return t;
|
|
1039
1039
|
}
|
|
1040
|
-
function
|
|
1040
|
+
function ot(e) {
|
|
1041
1041
|
function t(t) {
|
|
1042
1042
|
e.error = e.hasError ? new lt(t, e.error, `An error was suppressed during disposal.`) : t, e.hasError = !0;
|
|
1043
1043
|
}
|
|
@@ -1059,18 +1059,18 @@ function at(e) {
|
|
|
1059
1059
|
}
|
|
1060
1060
|
return i();
|
|
1061
1061
|
}
|
|
1062
|
-
function
|
|
1062
|
+
function st(e, t) {
|
|
1063
1063
|
return typeof e == `string` && /^\.\.?\//.test(e) ? e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(e, n, r, i, a) {
|
|
1064
1064
|
return n ? t ? `.jsx` : `.js` : r && (!i || !a) ? e : r + i + `.` + a.toLowerCase() + `js`;
|
|
1065
1065
|
}) : e;
|
|
1066
1066
|
}
|
|
1067
|
-
var
|
|
1068
|
-
|
|
1069
|
-
return
|
|
1067
|
+
var P, F, I, ct, L, lt, ut, R = f((() => {
|
|
1068
|
+
P = function(e, t) {
|
|
1069
|
+
return P = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
1070
1070
|
e.__proto__ = t;
|
|
1071
1071
|
} || function(e, t) {
|
|
1072
1072
|
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
1073
|
-
},
|
|
1073
|
+
}, P(e, t);
|
|
1074
1074
|
}, F = function() {
|
|
1075
1075
|
return F = Object.assign || function(e) {
|
|
1076
1076
|
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]);
|
|
@@ -1104,38 +1104,38 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
1104
1104
|
var r = Error(n);
|
|
1105
1105
|
return r.name = `SuppressedError`, r.error = e, r.suppressed = t, r;
|
|
1106
1106
|
}, ut = {
|
|
1107
|
-
__extends:
|
|
1107
|
+
__extends: Pe,
|
|
1108
1108
|
__assign: F,
|
|
1109
|
-
__rest:
|
|
1110
|
-
__decorate:
|
|
1111
|
-
__param:
|
|
1112
|
-
__esDecorate:
|
|
1113
|
-
__runInitializers:
|
|
1114
|
-
__propKey:
|
|
1115
|
-
__setFunctionName:
|
|
1116
|
-
__metadata:
|
|
1117
|
-
__awaiter:
|
|
1118
|
-
__generator:
|
|
1109
|
+
__rest: Fe,
|
|
1110
|
+
__decorate: Ie,
|
|
1111
|
+
__param: Le,
|
|
1112
|
+
__esDecorate: Re,
|
|
1113
|
+
__runInitializers: ze,
|
|
1114
|
+
__propKey: Be,
|
|
1115
|
+
__setFunctionName: Ve,
|
|
1116
|
+
__metadata: He,
|
|
1117
|
+
__awaiter: Ue,
|
|
1118
|
+
__generator: We,
|
|
1119
1119
|
__createBinding: I,
|
|
1120
|
-
__exportStar:
|
|
1121
|
-
__values:
|
|
1122
|
-
__read:
|
|
1123
|
-
__spread:
|
|
1124
|
-
__spreadArrays:
|
|
1125
|
-
__spreadArray:
|
|
1126
|
-
__await:
|
|
1127
|
-
__asyncGenerator:
|
|
1128
|
-
__asyncDelegator:
|
|
1129
|
-
__asyncValues:
|
|
1130
|
-
__makeTemplateObject:
|
|
1131
|
-
__importStar:
|
|
1132
|
-
__importDefault:
|
|
1133
|
-
__classPrivateFieldGet:
|
|
1134
|
-
__classPrivateFieldSet:
|
|
1135
|
-
__classPrivateFieldIn:
|
|
1136
|
-
__addDisposableResource:
|
|
1137
|
-
__disposeResources:
|
|
1138
|
-
__rewriteRelativeImportExtension:
|
|
1120
|
+
__exportStar: Ge,
|
|
1121
|
+
__values: M,
|
|
1122
|
+
__read: Ke,
|
|
1123
|
+
__spread: qe,
|
|
1124
|
+
__spreadArrays: Je,
|
|
1125
|
+
__spreadArray: Ye,
|
|
1126
|
+
__await: N,
|
|
1127
|
+
__asyncGenerator: Xe,
|
|
1128
|
+
__asyncDelegator: Ze,
|
|
1129
|
+
__asyncValues: Qe,
|
|
1130
|
+
__makeTemplateObject: $e,
|
|
1131
|
+
__importStar: et,
|
|
1132
|
+
__importDefault: tt,
|
|
1133
|
+
__classPrivateFieldGet: nt,
|
|
1134
|
+
__classPrivateFieldSet: rt,
|
|
1135
|
+
__classPrivateFieldIn: it,
|
|
1136
|
+
__addDisposableResource: at,
|
|
1137
|
+
__disposeResources: ot,
|
|
1138
|
+
__rewriteRelativeImportExtension: st
|
|
1139
1139
|
};
|
|
1140
1140
|
})), dt = p(((e) => {
|
|
1141
1141
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.ErrorKind = void 0;
|
|
@@ -1305,7 +1305,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
1305
1305
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.WHITE_SPACE_REGEX = void 0, e.WHITE_SPACE_REGEX = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1306
1306
|
})), ht = p(((e) => {
|
|
1307
1307
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.parseNumberSkeletonFromString = r, e.parseNumberSkeleton = p;
|
|
1308
|
-
var t = (R(), g(
|
|
1308
|
+
var t = (R(), g(j)), n = mt();
|
|
1309
1309
|
function r(e) {
|
|
1310
1310
|
if (e.length === 0) throw Error(`Number skeleton cannot be empty`);
|
|
1311
1311
|
for (var t = e.split(n.WHITE_SPACE_REGEX).filter(function(e) {
|
|
@@ -1485,7 +1485,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
1485
1485
|
}
|
|
1486
1486
|
})), gt = p(((e) => {
|
|
1487
1487
|
Object.defineProperty(e, `__esModule`, { value: !0 });
|
|
1488
|
-
var t = (R(), g(
|
|
1488
|
+
var t = (R(), g(j));
|
|
1489
1489
|
t.__exportStar(pt(), e), t.__exportStar(ht(), e);
|
|
1490
1490
|
})), _t = p(((e) => {
|
|
1491
1491
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.timeData = void 0, e.timeData = {
|
|
@@ -2673,7 +2673,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2673
2673
|
}
|
|
2674
2674
|
})), yt = p(((e) => {
|
|
2675
2675
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.Parser = void 0;
|
|
2676
|
-
var t = (R(), g(
|
|
2676
|
+
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}*\$`);
|
|
2677
2677
|
function l(e, t) {
|
|
2678
2678
|
return {
|
|
2679
2679
|
start: e,
|
|
@@ -2733,7 +2733,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2733
2733
|
} else C = function(e, t) {
|
|
2734
2734
|
for (var n = [];;) {
|
|
2735
2735
|
var r = x(e, t);
|
|
2736
|
-
if (r === void 0 ||
|
|
2736
|
+
if (r === void 0 || ae(r) || E(r)) break;
|
|
2737
2737
|
n.push(r), t += r >= 65536 ? 2 : 1;
|
|
2738
2738
|
}
|
|
2739
2739
|
return y.apply(void 0, n);
|
|
@@ -2812,7 +2812,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2812
2812
|
} else return this.error(n.ErrorKind.INVALID_TAG, l(i, this.clonePosition()));
|
|
2813
2813
|
}, e.prototype.parseTagName = function() {
|
|
2814
2814
|
var e = this.offset();
|
|
2815
|
-
for (this.bump(); !this.isEOF() &&
|
|
2815
|
+
for (this.bump(); !this.isEOF() && ie(this.char());) this.bump();
|
|
2816
2816
|
return this.message.slice(e, this.offset());
|
|
2817
2817
|
}, e.prototype.parseLiteral = function(e, t) {
|
|
2818
2818
|
for (var n = this.clonePosition(), i = ``;;) {
|
|
@@ -3140,7 +3140,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
3140
3140
|
if (this.bump(), this.isEOF()) break;
|
|
3141
3141
|
}
|
|
3142
3142
|
}, e.prototype.bumpSpace = function() {
|
|
3143
|
-
for (; !this.isEOF() &&
|
|
3143
|
+
for (; !this.isEOF() && ae(this.char());) this.bump();
|
|
3144
3144
|
}, e.prototype.peek = function() {
|
|
3145
3145
|
if (this.isEOF()) return null;
|
|
3146
3146
|
var e = this.char(), t = this.offset();
|
|
@@ -3153,18 +3153,18 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
3153
3153
|
function re(e) {
|
|
3154
3154
|
return T(e) || e === 47;
|
|
3155
3155
|
}
|
|
3156
|
-
function
|
|
3156
|
+
function ie(e) {
|
|
3157
3157
|
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;
|
|
3158
3158
|
}
|
|
3159
|
-
function
|
|
3159
|
+
function ae(e) {
|
|
3160
3160
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3161
3161
|
}
|
|
3162
|
-
function
|
|
3162
|
+
function E(e) {
|
|
3163
3163
|
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;
|
|
3164
3164
|
}
|
|
3165
3165
|
})), bt = p(((e) => {
|
|
3166
3166
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.hoistSelectors = s, e.isStructurallySame = l;
|
|
3167
|
-
var t = (R(), g(
|
|
3167
|
+
var t = (R(), g(j)), n = z();
|
|
3168
3168
|
function r(e) {
|
|
3169
3169
|
return Array.isArray(e) ? t.__spreadArray([], e.map(r), !0) : typeof e == `object` && e ? Object.keys(e).reduce(function(t, n) {
|
|
3170
3170
|
return t[n] = r(e[n]), t;
|
|
@@ -3223,7 +3223,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
3223
3223
|
}
|
|
3224
3224
|
})), xt = p(((e) => {
|
|
3225
3225
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.isStructurallySame = e._Parser = void 0, e.parse = o;
|
|
3226
|
-
var t = (R(), g(
|
|
3226
|
+
var t = (R(), g(j)), n = dt(), r = yt(), i = z();
|
|
3227
3227
|
function a(e) {
|
|
3228
3228
|
e.forEach(function(e) {
|
|
3229
3229
|
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);
|
|
@@ -3252,7 +3252,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
3252
3252
|
});
|
|
3253
3253
|
})), St = p(((e) => {
|
|
3254
3254
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.printAST = r;
|
|
3255
|
-
var t = (R(), g(
|
|
3255
|
+
var t = (R(), g(j)), n = z();
|
|
3256
3256
|
function r(e) {
|
|
3257
3257
|
return i(e, !1);
|
|
3258
3258
|
}
|
|
@@ -3321,10 +3321,11 @@ St();
|
|
|
3321
3321
|
const U = `_gt_`;
|
|
3322
3322
|
RegExp(`^${U}\\d+$`);
|
|
3323
3323
|
RegExp(`^${U}$`);
|
|
3324
|
-
|
|
3324
|
+
RegExp(`${U}\\d+`);
|
|
3325
|
+
const Ut = `@generaltranslation/react-core`;
|
|
3325
3326
|
function W(e) {
|
|
3326
3327
|
return S({
|
|
3327
|
-
source:
|
|
3328
|
+
source: Ut,
|
|
3328
3329
|
...e
|
|
3329
3330
|
});
|
|
3330
3331
|
}
|
|
@@ -3371,16 +3372,16 @@ W({
|
|
|
3371
3372
|
whatHappened: `No dictionary was found`,
|
|
3372
3373
|
fix: `Pass a dictionary to <GTProvider> or configure a dictionary loader before rendering translations`
|
|
3373
3374
|
});
|
|
3374
|
-
`${
|
|
3375
|
-
const
|
|
3375
|
+
`${Ut}`;
|
|
3376
|
+
const mn = `generaltranslation.locale`;
|
|
3376
3377
|
react.use;
|
|
3377
|
-
function
|
|
3378
|
+
function Yn({ children: e }) {
|
|
3378
3379
|
return e;
|
|
3379
3380
|
}
|
|
3380
|
-
function
|
|
3381
|
-
return
|
|
3381
|
+
function Xn(e) {
|
|
3382
|
+
return Yn(e);
|
|
3382
3383
|
}
|
|
3383
|
-
|
|
3384
|
+
Yn._gtt = `derive`, Xn._gtt = `derive`;
|
|
3384
3385
|
//#endregion
|
|
3385
3386
|
//#region src/shared/messages.ts
|
|
3386
3387
|
const PACKAGE_NAME = "gt-react";
|
|
@@ -3404,7 +3405,7 @@ createDiagnosticMessage({
|
|
|
3404
3405
|
});
|
|
3405
3406
|
//#endregion
|
|
3406
3407
|
//#region src/react-context/provider/hooks/locales/useDetermineLocale.ts
|
|
3407
|
-
function useDetermineLocale({ locale: initialLocale = "", defaultLocale = "en", locales: initialLocales = [], localeCookieName =
|
|
3408
|
+
function useDetermineLocale({ locale: initialLocale = "", defaultLocale = "en", locales: initialLocales = [], localeCookieName = mn, ssr = true, customMapping, enableI18n, reloadOnLocaleUpdate = false }) {
|
|
3408
3409
|
const _locale = (0, react.useMemo)(() => (0, _generaltranslation_format.resolveAliasLocale)(initialLocale, customMapping), [initialLocale, customMapping]);
|
|
3409
3410
|
const locales = (0, react.useMemo)(() => initialLocales.map((locale) => (0, _generaltranslation_format.resolveAliasLocale)(locale, customMapping)), [initialLocales, customMapping]);
|
|
3410
3411
|
/**
|