gt-react 10.19.17 → 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 +19 -0
- package/dist/browser.cjs +698 -871
- package/dist/browser.cjs.map +1 -1
- package/dist/browser.d.cts +9 -6
- package/dist/browser.d.cts.map +1 -1
- package/dist/browser.d.mts +9 -6
- package/dist/browser.d.mts.map +1 -1
- package/dist/browser.mjs +698 -871
- 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 +465 -639
- package/dist/macros.cjs.map +1 -1
- package/dist/macros.mjs +465 -639
- package/dist/macros.mjs.map +1 -1
- package/package.json +5 -5
package/dist/client.cjs
CHANGED
|
@@ -76,43 +76,43 @@ function S({ source: e, severity: t, whatHappened: n, reassurance: r, why: i, fi
|
|
|
76
76
|
let p = f.join(` `);
|
|
77
77
|
return l ? `${l} ${p}` : p;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function ae(e) {
|
|
80
80
|
return e instanceof Uint8Array || ArrayBuffer.isView(e) && e.constructor.name === `Uint8Array` && `BYTES_PER_ELEMENT` in e && e.BYTES_PER_ELEMENT === 1;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
83
|
-
let r =
|
|
82
|
+
function E(e, t, n = ``) {
|
|
83
|
+
let r = ae(e), i = e?.length, a = t !== void 0;
|
|
84
84
|
if (!r || a && i !== t) {
|
|
85
85
|
let o = n && `"${n}" `, s = a ? ` of length ${t}` : ``, c = r ? `length=${i}` : `type=${typeof e}`, l = o + `expected Uint8Array` + s + `, got ` + c;
|
|
86
86
|
throw r ? RangeError(l) : TypeError(l);
|
|
87
87
|
}
|
|
88
88
|
return e;
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function oe(e, t = !0) {
|
|
91
91
|
if (e.destroyed) throw Error(`Hash instance has been destroyed`);
|
|
92
92
|
if (t && e.finished) throw Error(`Hash#digest() has already been called`);
|
|
93
93
|
}
|
|
94
|
-
function
|
|
95
|
-
|
|
94
|
+
function se(e, t) {
|
|
95
|
+
E(e, void 0, `digestInto() output`);
|
|
96
96
|
let n = t.outputLen;
|
|
97
97
|
if (e.length < n) throw RangeError(`"digestInto() output" expected to be of length >=` + n);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function ce(...e) {
|
|
100
100
|
for (let t = 0; t < e.length; t++) e[t].fill(0);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function le(e) {
|
|
103
103
|
return new DataView(e.buffer, e.byteOffset, e.byteLength);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function D(e, t) {
|
|
106
106
|
return e << 32 - t | e >>> t;
|
|
107
107
|
}
|
|
108
108
|
new Uint8Array(new Uint32Array([287454020]).buffer)[0];
|
|
109
109
|
typeof Uint8Array.from([]).toHex == `function` && Uint8Array.fromHex;
|
|
110
110
|
Array.from({ length: 256 }, (e, t) => t.toString(16).padStart(2, `0`));
|
|
111
|
-
function
|
|
111
|
+
function me(e, t = {}) {
|
|
112
112
|
let n = (t, n) => e(n).update(t).digest(), r = e(void 0);
|
|
113
113
|
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);
|
|
114
114
|
}
|
|
115
|
-
const
|
|
115
|
+
const he = (e) => ({ oid: Uint8Array.from([
|
|
116
116
|
6,
|
|
117
117
|
9,
|
|
118
118
|
96,
|
|
@@ -125,13 +125,13 @@ const me = (e) => ({ oid: Uint8Array.from([
|
|
|
125
125
|
2,
|
|
126
126
|
e
|
|
127
127
|
]) });
|
|
128
|
-
function
|
|
128
|
+
function ge(e, t, n) {
|
|
129
129
|
return e & t ^ ~e & n;
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function _e(e, t, n) {
|
|
132
132
|
return e & t ^ e & n ^ t & n;
|
|
133
133
|
}
|
|
134
|
-
var
|
|
134
|
+
var ve = class {
|
|
135
135
|
blockLen;
|
|
136
136
|
outputLen;
|
|
137
137
|
canXOF = !1;
|
|
@@ -144,15 +144,15 @@ var _e = class {
|
|
|
144
144
|
pos = 0;
|
|
145
145
|
destroyed = !1;
|
|
146
146
|
constructor(e, t, n, r) {
|
|
147
|
-
this.blockLen = e, this.outputLen = t, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(e), this.view =
|
|
147
|
+
this.blockLen = e, this.outputLen = t, this.padOffset = n, this.isLE = r, this.buffer = new Uint8Array(e), this.view = le(this.buffer);
|
|
148
148
|
}
|
|
149
149
|
update(e) {
|
|
150
|
-
|
|
150
|
+
oe(this), E(e);
|
|
151
151
|
let { view: t, buffer: n, blockLen: r } = this, i = e.length;
|
|
152
152
|
for (let a = 0; a < i;) {
|
|
153
153
|
let o = Math.min(r - this.pos, i - a);
|
|
154
154
|
if (o === r) {
|
|
155
|
-
let t =
|
|
155
|
+
let t = le(e);
|
|
156
156
|
for (; r <= i - a; a += r) this.process(t, a);
|
|
157
157
|
continue;
|
|
158
158
|
}
|
|
@@ -161,12 +161,12 @@ var _e = class {
|
|
|
161
161
|
return this.length += e.length, this.roundClean(), this;
|
|
162
162
|
}
|
|
163
163
|
digestInto(e) {
|
|
164
|
-
|
|
164
|
+
oe(this), se(e, this), this.finished = !0;
|
|
165
165
|
let { buffer: t, view: n, blockLen: r, isLE: i } = this, { pos: a } = this;
|
|
166
|
-
t[a++] = 128,
|
|
166
|
+
t[a++] = 128, ce(this.buffer.subarray(a)), this.padOffset > r - a && (this.process(n, 0), a = 0);
|
|
167
167
|
for (let e = a; e < r; e++) t[e] = 0;
|
|
168
168
|
n.setBigUint64(r - 8, BigInt(this.length * 8), i), this.process(n, 0);
|
|
169
|
-
let o =
|
|
169
|
+
let o = le(e), s = this.outputLen;
|
|
170
170
|
if (s % 4) throw Error(`_sha2: outputLen must be aligned to 32bit`);
|
|
171
171
|
let c = s / 4, l = this.get();
|
|
172
172
|
if (c > l.length) throw Error(`_sha2: outputLen bigger than state`);
|
|
@@ -187,7 +187,7 @@ var _e = class {
|
|
|
187
187
|
return this._cloneInto();
|
|
188
188
|
}
|
|
189
189
|
};
|
|
190
|
-
const
|
|
190
|
+
const O = Uint32Array.from([
|
|
191
191
|
1779033703,
|
|
192
192
|
3144134277,
|
|
193
193
|
1013904242,
|
|
@@ -196,25 +196,25 @@ const k = Uint32Array.from([
|
|
|
196
196
|
2600822924,
|
|
197
197
|
528734635,
|
|
198
198
|
1541459225
|
|
199
|
-
]),
|
|
200
|
-
function
|
|
199
|
+
]), k = BigInt(2 ** 32 - 1), ye = BigInt(32);
|
|
200
|
+
function be(e, t = !1) {
|
|
201
201
|
return t ? {
|
|
202
|
-
h: Number(e &
|
|
203
|
-
l: Number(e >>
|
|
202
|
+
h: Number(e & k),
|
|
203
|
+
l: Number(e >> ye & k)
|
|
204
204
|
} : {
|
|
205
|
-
h: Number(e >>
|
|
206
|
-
l: Number(e &
|
|
205
|
+
h: Number(e >> ye & k) | 0,
|
|
206
|
+
l: Number(e & k) | 0
|
|
207
207
|
};
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function xe(e, t = !1) {
|
|
210
210
|
let n = e.length, r = new Uint32Array(n), i = new Uint32Array(n);
|
|
211
211
|
for (let a = 0; a < n; a++) {
|
|
212
|
-
let { h: n, l: o } =
|
|
212
|
+
let { h: n, l: o } = be(e[a], t);
|
|
213
213
|
[r[a], i[a]] = [n, o];
|
|
214
214
|
}
|
|
215
215
|
return [r, i];
|
|
216
216
|
}
|
|
217
|
-
const
|
|
217
|
+
const Se = Uint32Array.from([
|
|
218
218
|
1116352408,
|
|
219
219
|
1899447441,
|
|
220
220
|
3049323471,
|
|
@@ -279,8 +279,8 @@ const xe = Uint32Array.from([
|
|
|
279
279
|
2756734187,
|
|
280
280
|
3204031479,
|
|
281
281
|
3329325298
|
|
282
|
-
]),
|
|
283
|
-
var
|
|
282
|
+
]), A = new Uint32Array(64);
|
|
283
|
+
var Ce = class extends ve {
|
|
284
284
|
constructor(e) {
|
|
285
285
|
super(64, e, 8, !1);
|
|
286
286
|
}
|
|
@@ -301,41 +301,41 @@ var Se = class extends _e {
|
|
|
301
301
|
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;
|
|
302
302
|
}
|
|
303
303
|
process(e, t) {
|
|
304
|
-
for (let n = 0; n < 16; n++, t += 4)
|
|
304
|
+
for (let n = 0; n < 16; n++, t += 4) A[n] = e.getUint32(t, !1);
|
|
305
305
|
for (let e = 16; e < 64; e++) {
|
|
306
|
-
let t =
|
|
307
|
-
|
|
306
|
+
let t = A[e - 15], n = A[e - 2], r = D(t, 7) ^ D(t, 18) ^ t >>> 3;
|
|
307
|
+
A[e] = (D(n, 17) ^ D(n, 19) ^ n >>> 10) + A[e - 7] + r + A[e - 16] | 0;
|
|
308
308
|
}
|
|
309
309
|
let { A: n, B: r, C: i, D: a, E: o, F: s, G: c, H: l } = this;
|
|
310
310
|
for (let e = 0; e < 64; e++) {
|
|
311
|
-
let t =
|
|
311
|
+
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;
|
|
312
312
|
l = c, c = s, s = o, o = a + u | 0, a = i, i = r, r = n, n = u + d | 0;
|
|
313
313
|
}
|
|
314
314
|
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);
|
|
315
315
|
}
|
|
316
316
|
roundClean() {
|
|
317
|
-
|
|
317
|
+
ce(A);
|
|
318
318
|
}
|
|
319
319
|
destroy() {
|
|
320
|
-
this.destroyed = !0, this.set(0, 0, 0, 0, 0, 0, 0, 0),
|
|
321
|
-
}
|
|
322
|
-
},
|
|
323
|
-
A =
|
|
324
|
-
B =
|
|
325
|
-
C =
|
|
326
|
-
D =
|
|
327
|
-
E =
|
|
328
|
-
F =
|
|
329
|
-
G =
|
|
330
|
-
H =
|
|
320
|
+
this.destroyed = !0, this.set(0, 0, 0, 0, 0, 0, 0, 0), ce(this.buffer);
|
|
321
|
+
}
|
|
322
|
+
}, we = class extends Ce {
|
|
323
|
+
A = O[0] | 0;
|
|
324
|
+
B = O[1] | 0;
|
|
325
|
+
C = O[2] | 0;
|
|
326
|
+
D = O[3] | 0;
|
|
327
|
+
E = O[4] | 0;
|
|
328
|
+
F = O[5] | 0;
|
|
329
|
+
G = O[6] | 0;
|
|
330
|
+
H = O[7] | 0;
|
|
331
331
|
constructor() {
|
|
332
332
|
super(32);
|
|
333
333
|
}
|
|
334
334
|
};
|
|
335
|
-
const
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
const
|
|
335
|
+
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)));
|
|
336
|
+
Te[0], Te[1];
|
|
337
|
+
me(() => new we(), he(1));
|
|
338
|
+
const De = (e) => `generaltranslation Formatting Error: Invalid cutoff style: ${e}.`, Oe = `DEFAULT_TERMINATOR_KEY`, ke = {
|
|
339
339
|
ellipsis: {
|
|
340
340
|
fr: {
|
|
341
341
|
terminator: `…`,
|
|
@@ -349,17 +349,17 @@ const Ee = (e) => `generaltranslation Formatting Error: Invalid cutoff style: ${
|
|
|
349
349
|
terminator: `……`,
|
|
350
350
|
separator: void 0
|
|
351
351
|
},
|
|
352
|
-
[
|
|
352
|
+
[Oe]: {
|
|
353
353
|
terminator: `…`,
|
|
354
354
|
separator: void 0
|
|
355
355
|
}
|
|
356
356
|
},
|
|
357
|
-
none: { [
|
|
357
|
+
none: { [Oe]: {
|
|
358
358
|
terminator: void 0,
|
|
359
359
|
separator: void 0
|
|
360
360
|
} }
|
|
361
361
|
};
|
|
362
|
-
var
|
|
362
|
+
var Ae = class e {
|
|
363
363
|
static resolveLocale(e) {
|
|
364
364
|
try {
|
|
365
365
|
let t = e ? Array.isArray(e) ? e.map(String) : [String(e)] : [`en`], [n] = Intl.getCanonicalLocales(t);
|
|
@@ -371,8 +371,8 @@ var ke = class e {
|
|
|
371
371
|
constructor(t, n = {}) {
|
|
372
372
|
this.locale = e.resolveLocale(t);
|
|
373
373
|
let r = n.style ?? `ellipsis`;
|
|
374
|
-
if (!
|
|
375
|
-
let i = n.maxChars === void 0 ? void 0 :
|
|
374
|
+
if (!ke[r]) throw Error(De(r));
|
|
375
|
+
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;
|
|
376
376
|
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 = {
|
|
377
377
|
maxChars: n.maxChars,
|
|
378
378
|
style: n.maxChars === void 0 ? void 0 : r,
|
|
@@ -399,7 +399,7 @@ var ke = class e {
|
|
|
399
399
|
return this.options;
|
|
400
400
|
}
|
|
401
401
|
};
|
|
402
|
-
const
|
|
402
|
+
const je = {
|
|
403
403
|
Collator: Intl.Collator,
|
|
404
404
|
DateTimeFormat: Intl.DateTimeFormat,
|
|
405
405
|
DisplayNames: Intl.DisplayNames,
|
|
@@ -409,7 +409,7 @@ const Ae = {
|
|
|
409
409
|
PluralRules: Intl.PluralRules,
|
|
410
410
|
RelativeTimeFormat: Intl.RelativeTimeFormat,
|
|
411
411
|
Segmenter: Intl.Segmenter,
|
|
412
|
-
CutoffFormat:
|
|
412
|
+
CutoffFormat: Ae
|
|
413
413
|
};
|
|
414
414
|
new class {
|
|
415
415
|
constructor() {
|
|
@@ -422,70 +422,70 @@ new class {
|
|
|
422
422
|
let [n = `en`, r = {}] = t, i = this.generateKey(n, r), a = this.cache[e];
|
|
423
423
|
a === void 0 && (a = {}, this.cache[e] = a);
|
|
424
424
|
let o = a[i];
|
|
425
|
-
return o === void 0 && (o = new
|
|
425
|
+
return o === void 0 && (o = new je[e](...t), a[i] = o), o;
|
|
426
426
|
}
|
|
427
427
|
}();
|
|
428
|
-
var
|
|
429
|
-
__addDisposableResource: () =>
|
|
428
|
+
var j = m({
|
|
429
|
+
__addDisposableResource: () => at,
|
|
430
430
|
__assign: () => F,
|
|
431
|
-
__asyncDelegator: () =>
|
|
432
|
-
__asyncGenerator: () =>
|
|
433
|
-
__asyncValues: () =>
|
|
434
|
-
__await: () =>
|
|
435
|
-
__awaiter: () =>
|
|
436
|
-
__classPrivateFieldGet: () =>
|
|
437
|
-
__classPrivateFieldIn: () =>
|
|
438
|
-
__classPrivateFieldSet: () =>
|
|
431
|
+
__asyncDelegator: () => Ze,
|
|
432
|
+
__asyncGenerator: () => Xe,
|
|
433
|
+
__asyncValues: () => Qe,
|
|
434
|
+
__await: () => N,
|
|
435
|
+
__awaiter: () => Ue,
|
|
436
|
+
__classPrivateFieldGet: () => nt,
|
|
437
|
+
__classPrivateFieldIn: () => it,
|
|
438
|
+
__classPrivateFieldSet: () => rt,
|
|
439
439
|
__createBinding: () => I,
|
|
440
|
-
__decorate: () =>
|
|
441
|
-
__disposeResources: () =>
|
|
442
|
-
__esDecorate: () =>
|
|
443
|
-
__exportStar: () =>
|
|
444
|
-
__extends: () =>
|
|
445
|
-
__generator: () =>
|
|
446
|
-
__importDefault: () =>
|
|
447
|
-
__importStar: () =>
|
|
448
|
-
__makeTemplateObject: () =>
|
|
449
|
-
__metadata: () =>
|
|
450
|
-
__param: () =>
|
|
451
|
-
__propKey: () =>
|
|
452
|
-
__read: () =>
|
|
453
|
-
__rest: () =>
|
|
454
|
-
__rewriteRelativeImportExtension: () =>
|
|
455
|
-
__runInitializers: () =>
|
|
456
|
-
__setFunctionName: () =>
|
|
457
|
-
__spread: () =>
|
|
458
|
-
__spreadArray: () =>
|
|
459
|
-
__spreadArrays: () =>
|
|
460
|
-
__values: () =>
|
|
440
|
+
__decorate: () => Ie,
|
|
441
|
+
__disposeResources: () => ot,
|
|
442
|
+
__esDecorate: () => Re,
|
|
443
|
+
__exportStar: () => Ge,
|
|
444
|
+
__extends: () => Pe,
|
|
445
|
+
__generator: () => We,
|
|
446
|
+
__importDefault: () => tt,
|
|
447
|
+
__importStar: () => et,
|
|
448
|
+
__makeTemplateObject: () => $e,
|
|
449
|
+
__metadata: () => He,
|
|
450
|
+
__param: () => Le,
|
|
451
|
+
__propKey: () => Be,
|
|
452
|
+
__read: () => Ke,
|
|
453
|
+
__rest: () => Fe,
|
|
454
|
+
__rewriteRelativeImportExtension: () => st,
|
|
455
|
+
__runInitializers: () => ze,
|
|
456
|
+
__setFunctionName: () => Ve,
|
|
457
|
+
__spread: () => qe,
|
|
458
|
+
__spreadArray: () => Ye,
|
|
459
|
+
__spreadArrays: () => Je,
|
|
460
|
+
__values: () => M,
|
|
461
461
|
default: () => ut
|
|
462
462
|
});
|
|
463
|
-
function
|
|
463
|
+
function Pe(e, t) {
|
|
464
464
|
if (typeof t != `function` && t !== null) throw TypeError(`Class extends value ` + String(t) + ` is not a constructor or null`);
|
|
465
|
-
|
|
465
|
+
P(e, t);
|
|
466
466
|
function n() {
|
|
467
467
|
this.constructor = e;
|
|
468
468
|
}
|
|
469
469
|
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
470
470
|
}
|
|
471
|
-
function
|
|
471
|
+
function Fe(e, t) {
|
|
472
472
|
var n = {};
|
|
473
473
|
for (var r in e) Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
474
474
|
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]]);
|
|
475
475
|
return n;
|
|
476
476
|
}
|
|
477
|
-
function
|
|
477
|
+
function Ie(e, t, n, r) {
|
|
478
478
|
var i = arguments.length, a = i < 3 ? t : r === null ? r = Object.getOwnPropertyDescriptor(t, n) : r, o;
|
|
479
479
|
if (typeof Reflect == `object` && typeof Reflect.decorate == `function`) a = Reflect.decorate(e, t, n, r);
|
|
480
480
|
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);
|
|
481
481
|
return i > 3 && a && Object.defineProperty(t, n, a), a;
|
|
482
482
|
}
|
|
483
|
-
function
|
|
483
|
+
function Le(e, t) {
|
|
484
484
|
return function(n, r) {
|
|
485
485
|
t(n, r, e);
|
|
486
486
|
};
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function Re(e, t, n, r, i, a) {
|
|
489
489
|
function o(e) {
|
|
490
490
|
if (e !== void 0 && typeof e != `function`) throw TypeError(`Function expected`);
|
|
491
491
|
return e;
|
|
@@ -510,23 +510,23 @@ function Le(e, t, n, r, i, a) {
|
|
|
510
510
|
}
|
|
511
511
|
l && Object.defineProperty(l, r.name, u), f = !0;
|
|
512
512
|
}
|
|
513
|
-
function
|
|
513
|
+
function ze(e, t, n) {
|
|
514
514
|
for (var r = arguments.length > 2, i = 0; i < t.length; i++) n = r ? t[i].call(e, n) : t[i].call(e);
|
|
515
515
|
return r ? n : void 0;
|
|
516
516
|
}
|
|
517
|
-
function
|
|
517
|
+
function Be(e) {
|
|
518
518
|
return typeof e == `symbol` ? e : `${e}`;
|
|
519
519
|
}
|
|
520
|
-
function
|
|
520
|
+
function Ve(e, t, n) {
|
|
521
521
|
return typeof t == `symbol` && (t = t.description ? `[${t.description}]` : ``), Object.defineProperty(e, `name`, {
|
|
522
522
|
configurable: !0,
|
|
523
523
|
value: n ? `${n} ${t}` : t
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function He(e, t) {
|
|
527
527
|
if (typeof Reflect == `object` && typeof Reflect.metadata == `function`) return Reflect.metadata(e, t);
|
|
528
528
|
}
|
|
529
|
-
function
|
|
529
|
+
function Ue(e, t, n, r) {
|
|
530
530
|
function i(e) {
|
|
531
531
|
return e instanceof n ? e : new n(function(t) {
|
|
532
532
|
t(e);
|
|
@@ -553,7 +553,7 @@ function He(e, t, n, r) {
|
|
|
553
553
|
c((r = r.apply(e, t || [])).next());
|
|
554
554
|
});
|
|
555
555
|
}
|
|
556
|
-
function
|
|
556
|
+
function We(e, t) {
|
|
557
557
|
var n = {
|
|
558
558
|
label: 0,
|
|
559
559
|
sent: function() {
|
|
@@ -623,10 +623,10 @@ function Ue(e, t) {
|
|
|
623
623
|
};
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
function
|
|
626
|
+
function Ge(e, t) {
|
|
627
627
|
for (var n in e) n !== `default` && !Object.prototype.hasOwnProperty.call(t, n) && I(t, e, n);
|
|
628
628
|
}
|
|
629
|
-
function
|
|
629
|
+
function M(e) {
|
|
630
630
|
var t = typeof Symbol == `function` && Symbol.iterator, n = t && e[t], r = 0;
|
|
631
631
|
if (n) return n.call(e);
|
|
632
632
|
if (e && typeof e.length == `number`) return { next: function() {
|
|
@@ -637,7 +637,7 @@ function N(e) {
|
|
|
637
637
|
} };
|
|
638
638
|
throw TypeError(t ? `Object is not iterable.` : `Symbol.iterator is not defined.`);
|
|
639
639
|
}
|
|
640
|
-
function
|
|
640
|
+
function Ke(e, t) {
|
|
641
641
|
var n = typeof Symbol == `function` && e[Symbol.iterator];
|
|
642
642
|
if (!n) return e;
|
|
643
643
|
var r = n.call(e), i, a = [], o;
|
|
@@ -654,23 +654,23 @@ function Ge(e, t) {
|
|
|
654
654
|
}
|
|
655
655
|
return a;
|
|
656
656
|
}
|
|
657
|
-
function
|
|
658
|
-
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(
|
|
657
|
+
function qe() {
|
|
658
|
+
for (var e = [], t = 0; t < arguments.length; t++) e = e.concat(Ke(arguments[t]));
|
|
659
659
|
return e;
|
|
660
660
|
}
|
|
661
|
-
function
|
|
661
|
+
function Je() {
|
|
662
662
|
for (var e = 0, t = 0, n = arguments.length; t < n; t++) e += arguments[t].length;
|
|
663
663
|
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];
|
|
664
664
|
return r;
|
|
665
665
|
}
|
|
666
|
-
function
|
|
666
|
+
function Ye(e, t, n) {
|
|
667
667
|
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]);
|
|
668
668
|
return e.concat(a || Array.prototype.slice.call(t));
|
|
669
669
|
}
|
|
670
|
-
function
|
|
671
|
-
return this instanceof
|
|
670
|
+
function N(e) {
|
|
671
|
+
return this instanceof N ? (this.v = e, this) : new N(e);
|
|
672
672
|
}
|
|
673
|
-
function
|
|
673
|
+
function Xe(e, t, n) {
|
|
674
674
|
if (!Symbol.asyncIterator) throw TypeError(`Symbol.asyncIterator is not defined.`);
|
|
675
675
|
var r = n.apply(e, t || []), i, a = [];
|
|
676
676
|
return i = Object.create((typeof AsyncIterator == `function` ? AsyncIterator : Object).prototype), s(`next`), s(`throw`), s(`return`, o), i[Symbol.asyncIterator] = function() {
|
|
@@ -701,7 +701,7 @@ function Ye(e, t, n) {
|
|
|
701
701
|
}
|
|
702
702
|
}
|
|
703
703
|
function l(e) {
|
|
704
|
-
e.value instanceof
|
|
704
|
+
e.value instanceof N ? Promise.resolve(e.value.v).then(u, d) : f(a[0][2], e);
|
|
705
705
|
}
|
|
706
706
|
function u(e) {
|
|
707
707
|
c(`next`, e);
|
|
@@ -713,7 +713,7 @@ function Ye(e, t, n) {
|
|
|
713
713
|
e(t), a.shift(), a.length && c(a[0][0], a[0][1]);
|
|
714
714
|
}
|
|
715
715
|
}
|
|
716
|
-
function
|
|
716
|
+
function Ze(e) {
|
|
717
717
|
var t, n;
|
|
718
718
|
return t = {}, r(`next`), r(`throw`, function(e) {
|
|
719
719
|
throw e;
|
|
@@ -723,16 +723,16 @@ function Xe(e) {
|
|
|
723
723
|
function r(r, i) {
|
|
724
724
|
t[r] = e[r] ? function(t) {
|
|
725
725
|
return (n = !n) ? {
|
|
726
|
-
value:
|
|
726
|
+
value: N(e[r](t)),
|
|
727
727
|
done: !1
|
|
728
728
|
} : i ? i(t) : t;
|
|
729
729
|
} : i;
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
|
-
function
|
|
732
|
+
function Qe(e) {
|
|
733
733
|
if (!Symbol.asyncIterator) throw TypeError(`Symbol.asyncIterator is not defined.`);
|
|
734
734
|
var t = e[Symbol.asyncIterator], n;
|
|
735
|
-
return t ? t.call(e) : (e = typeof
|
|
735
|
+
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() {
|
|
736
736
|
return this;
|
|
737
737
|
}, n);
|
|
738
738
|
function r(t) {
|
|
@@ -751,34 +751,34 @@ function Ze(e) {
|
|
|
751
751
|
}, t);
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
-
function
|
|
754
|
+
function $e(e, t) {
|
|
755
755
|
return Object.defineProperty ? Object.defineProperty(e, `raw`, { value: t }) : e.raw = t, e;
|
|
756
756
|
}
|
|
757
|
-
function
|
|
757
|
+
function et(e) {
|
|
758
758
|
if (e && e.__esModule) return e;
|
|
759
759
|
var t = {};
|
|
760
760
|
if (e != null) for (var n = L(e), r = 0; r < n.length; r++) n[r] !== `default` && I(t, e, n[r]);
|
|
761
761
|
return ct(t, e), t;
|
|
762
762
|
}
|
|
763
|
-
function
|
|
763
|
+
function tt(e) {
|
|
764
764
|
return e && e.__esModule ? e : { default: e };
|
|
765
765
|
}
|
|
766
|
-
function
|
|
766
|
+
function nt(e, t, n, r) {
|
|
767
767
|
if (n === `a` && !r) throw TypeError(`Private accessor was defined without a getter`);
|
|
768
768
|
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`);
|
|
769
769
|
return n === `m` ? r : n === `a` ? r.call(e) : r ? r.value : t.get(e);
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function rt(e, t, n, r, i) {
|
|
772
772
|
if (r === `m`) throw TypeError(`Private method is not writable`);
|
|
773
773
|
if (r === `a` && !i) throw TypeError(`Private accessor was defined without a setter`);
|
|
774
774
|
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`);
|
|
775
775
|
return r === `a` ? i.call(e, n) : i ? i.value = n : t.set(e, n), n;
|
|
776
776
|
}
|
|
777
|
-
function
|
|
777
|
+
function it(e, t) {
|
|
778
778
|
if (t === null || typeof t != `object` && typeof t != `function`) throw TypeError(`Cannot use 'in' operator on non-object`);
|
|
779
779
|
return typeof e == `function` ? t === e : e.has(t);
|
|
780
780
|
}
|
|
781
|
-
function
|
|
781
|
+
function at(e, t, n) {
|
|
782
782
|
if (t != null) {
|
|
783
783
|
if (typeof t != `object` && typeof t != `function`) throw TypeError(`Object expected.`);
|
|
784
784
|
var r, i;
|
|
@@ -805,7 +805,7 @@ function it(e, t, n) {
|
|
|
805
805
|
} else n && e.stack.push({ async: !0 });
|
|
806
806
|
return t;
|
|
807
807
|
}
|
|
808
|
-
function
|
|
808
|
+
function ot(e) {
|
|
809
809
|
function t(t) {
|
|
810
810
|
e.error = e.hasError ? new lt(t, e.error, `An error was suppressed during disposal.`) : t, e.hasError = !0;
|
|
811
811
|
}
|
|
@@ -827,18 +827,18 @@ function at(e) {
|
|
|
827
827
|
}
|
|
828
828
|
return i();
|
|
829
829
|
}
|
|
830
|
-
function
|
|
830
|
+
function st(e, t) {
|
|
831
831
|
return typeof e == `string` && /^\.\.?\//.test(e) ? e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i, function(e, n, r, i, a) {
|
|
832
832
|
return n ? t ? `.jsx` : `.js` : r && (!i || !a) ? e : r + i + `.` + a.toLowerCase() + `js`;
|
|
833
833
|
}) : e;
|
|
834
834
|
}
|
|
835
|
-
var
|
|
836
|
-
|
|
837
|
-
return
|
|
835
|
+
var P, F, I, ct, L, lt, ut, R = f((() => {
|
|
836
|
+
P = function(e, t) {
|
|
837
|
+
return P = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(e, t) {
|
|
838
838
|
e.__proto__ = t;
|
|
839
839
|
} || function(e, t) {
|
|
840
840
|
for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
|
|
841
|
-
},
|
|
841
|
+
}, P(e, t);
|
|
842
842
|
}, F = function() {
|
|
843
843
|
return F = Object.assign || function(e) {
|
|
844
844
|
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]);
|
|
@@ -872,38 +872,38 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
872
872
|
var r = Error(n);
|
|
873
873
|
return r.name = `SuppressedError`, r.error = e, r.suppressed = t, r;
|
|
874
874
|
}, ut = {
|
|
875
|
-
__extends:
|
|
875
|
+
__extends: Pe,
|
|
876
876
|
__assign: F,
|
|
877
|
-
__rest:
|
|
878
|
-
__decorate:
|
|
879
|
-
__param:
|
|
880
|
-
__esDecorate:
|
|
881
|
-
__runInitializers:
|
|
882
|
-
__propKey:
|
|
883
|
-
__setFunctionName:
|
|
884
|
-
__metadata:
|
|
885
|
-
__awaiter:
|
|
886
|
-
__generator:
|
|
877
|
+
__rest: Fe,
|
|
878
|
+
__decorate: Ie,
|
|
879
|
+
__param: Le,
|
|
880
|
+
__esDecorate: Re,
|
|
881
|
+
__runInitializers: ze,
|
|
882
|
+
__propKey: Be,
|
|
883
|
+
__setFunctionName: Ve,
|
|
884
|
+
__metadata: He,
|
|
885
|
+
__awaiter: Ue,
|
|
886
|
+
__generator: We,
|
|
887
887
|
__createBinding: I,
|
|
888
|
-
__exportStar:
|
|
889
|
-
__values:
|
|
890
|
-
__read:
|
|
891
|
-
__spread:
|
|
892
|
-
__spreadArrays:
|
|
893
|
-
__spreadArray:
|
|
894
|
-
__await:
|
|
895
|
-
__asyncGenerator:
|
|
896
|
-
__asyncDelegator:
|
|
897
|
-
__asyncValues:
|
|
898
|
-
__makeTemplateObject:
|
|
899
|
-
__importStar:
|
|
900
|
-
__importDefault:
|
|
901
|
-
__classPrivateFieldGet:
|
|
902
|
-
__classPrivateFieldSet:
|
|
903
|
-
__classPrivateFieldIn:
|
|
904
|
-
__addDisposableResource:
|
|
905
|
-
__disposeResources:
|
|
906
|
-
__rewriteRelativeImportExtension:
|
|
888
|
+
__exportStar: Ge,
|
|
889
|
+
__values: M,
|
|
890
|
+
__read: Ke,
|
|
891
|
+
__spread: qe,
|
|
892
|
+
__spreadArrays: Je,
|
|
893
|
+
__spreadArray: Ye,
|
|
894
|
+
__await: N,
|
|
895
|
+
__asyncGenerator: Xe,
|
|
896
|
+
__asyncDelegator: Ze,
|
|
897
|
+
__asyncValues: Qe,
|
|
898
|
+
__makeTemplateObject: $e,
|
|
899
|
+
__importStar: et,
|
|
900
|
+
__importDefault: tt,
|
|
901
|
+
__classPrivateFieldGet: nt,
|
|
902
|
+
__classPrivateFieldSet: rt,
|
|
903
|
+
__classPrivateFieldIn: it,
|
|
904
|
+
__addDisposableResource: at,
|
|
905
|
+
__disposeResources: ot,
|
|
906
|
+
__rewriteRelativeImportExtension: st
|
|
907
907
|
};
|
|
908
908
|
})), dt = p(((e) => {
|
|
909
909
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.ErrorKind = void 0;
|
|
@@ -1073,7 +1073,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
1073
1073
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.WHITE_SPACE_REGEX = void 0, e.WHITE_SPACE_REGEX = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1074
1074
|
})), ht = p(((e) => {
|
|
1075
1075
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.parseNumberSkeletonFromString = r, e.parseNumberSkeleton = p;
|
|
1076
|
-
var t = (R(), g(
|
|
1076
|
+
var t = (R(), g(j)), n = mt();
|
|
1077
1077
|
function r(e) {
|
|
1078
1078
|
if (e.length === 0) throw Error(`Number skeleton cannot be empty`);
|
|
1079
1079
|
for (var t = e.split(n.WHITE_SPACE_REGEX).filter(function(e) {
|
|
@@ -1253,7 +1253,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
1253
1253
|
}
|
|
1254
1254
|
})), gt = p(((e) => {
|
|
1255
1255
|
Object.defineProperty(e, `__esModule`, { value: !0 });
|
|
1256
|
-
var t = (R(), g(
|
|
1256
|
+
var t = (R(), g(j));
|
|
1257
1257
|
t.__exportStar(pt(), e), t.__exportStar(ht(), e);
|
|
1258
1258
|
})), _t = p(((e) => {
|
|
1259
1259
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.timeData = void 0, e.timeData = {
|
|
@@ -2441,7 +2441,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2441
2441
|
}
|
|
2442
2442
|
})), yt = p(((e) => {
|
|
2443
2443
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.Parser = void 0;
|
|
2444
|
-
var t = (R(), g(
|
|
2444
|
+
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}*\$`);
|
|
2445
2445
|
function l(e, t) {
|
|
2446
2446
|
return {
|
|
2447
2447
|
start: e,
|
|
@@ -2501,7 +2501,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2501
2501
|
} else C = function(e, t) {
|
|
2502
2502
|
for (var n = [];;) {
|
|
2503
2503
|
var r = x(e, t);
|
|
2504
|
-
if (r === void 0 ||
|
|
2504
|
+
if (r === void 0 || ae(r) || E(r)) break;
|
|
2505
2505
|
n.push(r), t += r >= 65536 ? 2 : 1;
|
|
2506
2506
|
}
|
|
2507
2507
|
return y.apply(void 0, n);
|
|
@@ -2580,7 +2580,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2580
2580
|
} else return this.error(n.ErrorKind.INVALID_TAG, l(i, this.clonePosition()));
|
|
2581
2581
|
}, e.prototype.parseTagName = function() {
|
|
2582
2582
|
var e = this.offset();
|
|
2583
|
-
for (this.bump(); !this.isEOF() &&
|
|
2583
|
+
for (this.bump(); !this.isEOF() && ie(this.char());) this.bump();
|
|
2584
2584
|
return this.message.slice(e, this.offset());
|
|
2585
2585
|
}, e.prototype.parseLiteral = function(e, t) {
|
|
2586
2586
|
for (var n = this.clonePosition(), i = ``;;) {
|
|
@@ -2908,7 +2908,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2908
2908
|
if (this.bump(), this.isEOF()) break;
|
|
2909
2909
|
}
|
|
2910
2910
|
}, e.prototype.bumpSpace = function() {
|
|
2911
|
-
for (; !this.isEOF() &&
|
|
2911
|
+
for (; !this.isEOF() && ae(this.char());) this.bump();
|
|
2912
2912
|
}, e.prototype.peek = function() {
|
|
2913
2913
|
if (this.isEOF()) return null;
|
|
2914
2914
|
var e = this.char(), t = this.offset();
|
|
@@ -2921,18 +2921,18 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2921
2921
|
function re(e) {
|
|
2922
2922
|
return T(e) || e === 47;
|
|
2923
2923
|
}
|
|
2924
|
-
function
|
|
2924
|
+
function ie(e) {
|
|
2925
2925
|
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;
|
|
2926
2926
|
}
|
|
2927
|
-
function
|
|
2927
|
+
function ae(e) {
|
|
2928
2928
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
2929
2929
|
}
|
|
2930
|
-
function
|
|
2930
|
+
function E(e) {
|
|
2931
2931
|
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;
|
|
2932
2932
|
}
|
|
2933
2933
|
})), bt = p(((e) => {
|
|
2934
2934
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.hoistSelectors = s, e.isStructurallySame = l;
|
|
2935
|
-
var t = (R(), g(
|
|
2935
|
+
var t = (R(), g(j)), n = z();
|
|
2936
2936
|
function r(e) {
|
|
2937
2937
|
return Array.isArray(e) ? t.__spreadArray([], e.map(r), !0) : typeof e == `object` && e ? Object.keys(e).reduce(function(t, n) {
|
|
2938
2938
|
return t[n] = r(e[n]), t;
|
|
@@ -2991,7 +2991,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
2991
2991
|
}
|
|
2992
2992
|
})), xt = p(((e) => {
|
|
2993
2993
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.isStructurallySame = e._Parser = void 0, e.parse = o;
|
|
2994
|
-
var t = (R(), g(
|
|
2994
|
+
var t = (R(), g(j)), n = dt(), r = yt(), i = z();
|
|
2995
2995
|
function a(e) {
|
|
2996
2996
|
e.forEach(function(e) {
|
|
2997
2997
|
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);
|
|
@@ -3020,7 +3020,7 @@ var st, F, I, ct, L, lt, ut, R = f((() => {
|
|
|
3020
3020
|
});
|
|
3021
3021
|
})), St = p(((e) => {
|
|
3022
3022
|
Object.defineProperty(e, `__esModule`, { value: !0 }), e.printAST = r;
|
|
3023
|
-
var t = (R(), g(
|
|
3023
|
+
var t = (R(), g(j)), n = z();
|
|
3024
3024
|
function r(e) {
|
|
3025
3025
|
return i(e, !1);
|
|
3026
3026
|
}
|
|
@@ -3089,10 +3089,11 @@ St();
|
|
|
3089
3089
|
const U = `_gt_`;
|
|
3090
3090
|
RegExp(`^${U}\\d+$`);
|
|
3091
3091
|
RegExp(`^${U}$`);
|
|
3092
|
-
|
|
3092
|
+
RegExp(`${U}\\d+`);
|
|
3093
|
+
const Ut = `@generaltranslation/react-core`;
|
|
3093
3094
|
function W(e) {
|
|
3094
3095
|
return S({
|
|
3095
|
-
source:
|
|
3096
|
+
source: Ut,
|
|
3096
3097
|
...e
|
|
3097
3098
|
});
|
|
3098
3099
|
}
|
|
@@ -3139,16 +3140,16 @@ W({
|
|
|
3139
3140
|
whatHappened: `No dictionary was found`,
|
|
3140
3141
|
fix: `Pass a dictionary to <GTProvider> or configure a dictionary loader before rendering translations`
|
|
3141
3142
|
});
|
|
3142
|
-
`${
|
|
3143
|
-
const
|
|
3143
|
+
`${Ut}`;
|
|
3144
|
+
const mn = `generaltranslation.locale`, hn = `generaltranslation.region`;
|
|
3144
3145
|
react.use;
|
|
3145
|
-
function
|
|
3146
|
+
function Yn({ children: e }) {
|
|
3146
3147
|
return e;
|
|
3147
3148
|
}
|
|
3148
|
-
function
|
|
3149
|
-
return
|
|
3149
|
+
function Xn(e) {
|
|
3150
|
+
return Yn(e);
|
|
3150
3151
|
}
|
|
3151
|
-
|
|
3152
|
+
Yn._gtt = `derive`, Xn._gtt = `derive`;
|
|
3152
3153
|
//#endregion
|
|
3153
3154
|
//#region src/shared/cookies.ts
|
|
3154
3155
|
/**
|
|
@@ -3171,7 +3172,7 @@ function setCookieValue(cookieName, value) {
|
|
|
3171
3172
|
}
|
|
3172
3173
|
//#endregion
|
|
3173
3174
|
//#region src/react-context/provider/ClientProvider.tsx
|
|
3174
|
-
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 =
|
|
3175
|
+
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 }) {
|
|
3175
3176
|
const didMount = (0, react.useRef)(false);
|
|
3176
3177
|
const [translations, setTranslations] = (0, react.useState)(_translations);
|
|
3177
3178
|
(0, react.useEffect)(() => {
|