@everymatrix/cashier-error 1.87.13 → 1.87.15
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/components/{CashierError-CeRREYho.js → CashierError-8t9yqAM1.js} +429 -400
- package/components/{CashierError-DHk6rA6T.cjs → CashierError-D1H2wo86.cjs} +3 -3
- package/components/{CashierError-S1lIkYk9.js → CashierError-DjgN9EAb.js} +462 -433
- package/es2015/cashier-error.cjs +1 -1
- package/es2015/cashier-error.js +1 -1
- package/esnext/cashier-error.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../stencil/ui-image-Ch-GHki1.js";
|
|
2
2
|
function B() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function Zt(e, t) {
|
|
5
5
|
for (const r in t)
|
|
6
6
|
e[r] = t[r];
|
|
7
7
|
return (
|
|
@@ -9,14 +9,14 @@ function qt(e, t) {
|
|
|
9
9
|
e
|
|
10
10
|
);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function vt(e) {
|
|
13
13
|
return e();
|
|
14
14
|
}
|
|
15
15
|
function Je() {
|
|
16
16
|
return /* @__PURE__ */ Object.create(null);
|
|
17
17
|
}
|
|
18
18
|
function te(e) {
|
|
19
|
-
e.forEach(
|
|
19
|
+
e.forEach(vt);
|
|
20
20
|
}
|
|
21
21
|
function Ve(e) {
|
|
22
22
|
return typeof e == "function";
|
|
@@ -24,14 +24,14 @@ function Ve(e) {
|
|
|
24
24
|
function Et(e, t) {
|
|
25
25
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
26
26
|
}
|
|
27
|
-
let
|
|
28
|
-
function
|
|
29
|
-
return e === t ? !0 : (
|
|
27
|
+
let oe;
|
|
28
|
+
function Ze(e, t) {
|
|
29
|
+
return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
|
|
30
30
|
}
|
|
31
31
|
function Qt(e) {
|
|
32
32
|
return Object.keys(e).length === 0;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function _t(e, ...t) {
|
|
35
35
|
if (e == null) {
|
|
36
36
|
for (const n of t)
|
|
37
37
|
n(void 0);
|
|
@@ -41,16 +41,16 @@ function vt(e, ...t) {
|
|
|
41
41
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
42
42
|
}
|
|
43
43
|
function Yt(e, t, r) {
|
|
44
|
-
e.$$.on_destroy.push(
|
|
44
|
+
e.$$.on_destroy.push(_t(t, r));
|
|
45
45
|
}
|
|
46
|
-
function
|
|
46
|
+
function ae(e, t, r, n) {
|
|
47
47
|
if (e) {
|
|
48
48
|
const i = xt(e, t, r, n);
|
|
49
49
|
return e[0](i);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
function xt(e, t, r, n) {
|
|
53
|
-
return e[1] && n ?
|
|
53
|
+
return e[1] && n ? Zt(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
54
54
|
}
|
|
55
55
|
function se(e, t, r, n) {
|
|
56
56
|
if (e[2] && n) {
|
|
@@ -58,19 +58,19 @@ function se(e, t, r, n) {
|
|
|
58
58
|
if (t.dirty === void 0)
|
|
59
59
|
return i;
|
|
60
60
|
if (typeof i == "object") {
|
|
61
|
-
const
|
|
62
|
-
for (let s = 0; s <
|
|
63
|
-
|
|
64
|
-
return
|
|
61
|
+
const o = [], a = Math.max(t.dirty.length, i.length);
|
|
62
|
+
for (let s = 0; s < a; s += 1)
|
|
63
|
+
o[s] = t.dirty[s] | i[s];
|
|
64
|
+
return o;
|
|
65
65
|
}
|
|
66
66
|
return t.dirty | i;
|
|
67
67
|
}
|
|
68
68
|
return t.dirty;
|
|
69
69
|
}
|
|
70
|
-
function ue(e, t, r, n, i,
|
|
70
|
+
function ue(e, t, r, n, i, o) {
|
|
71
71
|
if (i) {
|
|
72
|
-
const
|
|
73
|
-
e.p(
|
|
72
|
+
const a = xt(t, r, n, o);
|
|
73
|
+
e.p(a, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
76
|
function le(e) {
|
|
@@ -88,7 +88,7 @@ function P(e, t) {
|
|
|
88
88
|
function Kt(e, t, r) {
|
|
89
89
|
const n = er(e);
|
|
90
90
|
if (!n.getElementById(t)) {
|
|
91
|
-
const i =
|
|
91
|
+
const i = C("style");
|
|
92
92
|
i.id = t, i.textContent = r, tr(n, i);
|
|
93
93
|
}
|
|
94
94
|
}
|
|
@@ -112,20 +112,20 @@ function tr(e, t) {
|
|
|
112
112
|
function V(e, t, r) {
|
|
113
113
|
e.insertBefore(t, r || null);
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function M(e) {
|
|
116
116
|
e.parentNode && e.parentNode.removeChild(e);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function C(e) {
|
|
119
119
|
return document.createElement(e);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function _e(e) {
|
|
122
122
|
return document.createTextNode(e);
|
|
123
123
|
}
|
|
124
124
|
function Se() {
|
|
125
|
-
return
|
|
125
|
+
return _e(" ");
|
|
126
126
|
}
|
|
127
127
|
function rr() {
|
|
128
|
-
return
|
|
128
|
+
return _e("");
|
|
129
129
|
}
|
|
130
130
|
function nr(e, t, r, n) {
|
|
131
131
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
@@ -144,7 +144,7 @@ function Tt(e, t) {
|
|
|
144
144
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
145
145
|
t);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function or(e) {
|
|
148
148
|
const t = {};
|
|
149
149
|
return e.childNodes.forEach(
|
|
150
150
|
/** @param {Element} node */
|
|
@@ -157,41 +157,41 @@ let Y;
|
|
|
157
157
|
function Q(e) {
|
|
158
158
|
Y = e;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function ar() {
|
|
161
161
|
if (!Y)
|
|
162
162
|
throw new Error("Function called outside component initialization");
|
|
163
163
|
return Y;
|
|
164
164
|
}
|
|
165
165
|
function sr(e) {
|
|
166
|
-
|
|
166
|
+
ar().$$.on_mount.push(e);
|
|
167
167
|
}
|
|
168
|
-
const D = [],
|
|
168
|
+
const D = [], Me = [];
|
|
169
169
|
let U = [];
|
|
170
170
|
const Qe = [], ur = /* @__PURE__ */ Promise.resolve();
|
|
171
|
-
let
|
|
171
|
+
let Ne = !1;
|
|
172
172
|
function lr() {
|
|
173
|
-
|
|
173
|
+
Ne || (Ne = !0, ur.then(S));
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Re(e) {
|
|
176
176
|
U.push(e);
|
|
177
177
|
}
|
|
178
178
|
const Be = /* @__PURE__ */ new Set();
|
|
179
|
-
let
|
|
179
|
+
let R = 0;
|
|
180
180
|
function S() {
|
|
181
|
-
if (
|
|
181
|
+
if (R !== 0)
|
|
182
182
|
return;
|
|
183
183
|
const e = Y;
|
|
184
184
|
do {
|
|
185
185
|
try {
|
|
186
|
-
for (;
|
|
187
|
-
const t = D[
|
|
188
|
-
|
|
186
|
+
for (; R < D.length; ) {
|
|
187
|
+
const t = D[R];
|
|
188
|
+
R++, Q(t), hr(t.$$);
|
|
189
189
|
}
|
|
190
190
|
} catch (t) {
|
|
191
|
-
throw D.length = 0,
|
|
191
|
+
throw D.length = 0, R = 0, t;
|
|
192
192
|
}
|
|
193
|
-
for (Q(null), D.length = 0,
|
|
194
|
-
|
|
193
|
+
for (Q(null), D.length = 0, R = 0; Me.length; )
|
|
194
|
+
Me.pop()();
|
|
195
195
|
for (let t = 0; t < U.length; t += 1) {
|
|
196
196
|
const r = U[t];
|
|
197
197
|
Be.has(r) || (Be.add(r), r());
|
|
@@ -200,13 +200,13 @@ function S() {
|
|
|
200
200
|
} while (D.length);
|
|
201
201
|
for (; Qe.length; )
|
|
202
202
|
Qe.pop()();
|
|
203
|
-
|
|
203
|
+
Ne = !1, Be.clear(), Q(e);
|
|
204
204
|
}
|
|
205
205
|
function hr(e) {
|
|
206
206
|
if (e.fragment !== null) {
|
|
207
207
|
e.update(), te(e.before_update);
|
|
208
208
|
const t = e.dirty;
|
|
209
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
209
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
function cr(e) {
|
|
@@ -229,10 +229,10 @@ function ce(e, t, r, n) {
|
|
|
229
229
|
}
|
|
230
230
|
function mr(e, t, r) {
|
|
231
231
|
const { fragment: n, after_update: i } = e.$$;
|
|
232
|
-
n && n.m(t, r),
|
|
233
|
-
const
|
|
234
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
235
|
-
}), i.forEach(
|
|
232
|
+
n && n.m(t, r), Re(() => {
|
|
233
|
+
const o = e.$$.on_mount.map(vt).filter(Ve);
|
|
234
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
|
235
|
+
}), i.forEach(Re);
|
|
236
236
|
}
|
|
237
237
|
function dr(e, t) {
|
|
238
238
|
const r = e.$$;
|
|
@@ -241,14 +241,14 @@ function dr(e, t) {
|
|
|
241
241
|
function pr(e, t) {
|
|
242
242
|
e.$$.dirty[0] === -1 && (D.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
243
243
|
}
|
|
244
|
-
function br(e, t, r, n, i,
|
|
244
|
+
function br(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
245
245
|
const h = Y;
|
|
246
246
|
Q(e);
|
|
247
247
|
const u = e.$$ = {
|
|
248
248
|
fragment: null,
|
|
249
249
|
ctx: [],
|
|
250
250
|
// state
|
|
251
|
-
props:
|
|
251
|
+
props: o,
|
|
252
252
|
update: B,
|
|
253
253
|
not_equal: i,
|
|
254
254
|
bound: Je(),
|
|
@@ -265,7 +265,7 @@ function br(e, t, r, n, i, a, o = null, s = [-1]) {
|
|
|
265
265
|
skip_bound: !1,
|
|
266
266
|
root: t.target || h.$$.root
|
|
267
267
|
};
|
|
268
|
-
|
|
268
|
+
a && a(u.root);
|
|
269
269
|
let l = !1;
|
|
270
270
|
if (u.ctx = r ? r(e, t.props || {}, (f, m, ...d) => {
|
|
271
271
|
const p = d.length ? d[0] : m;
|
|
@@ -273,7 +273,7 @@ function br(e, t, r, n, i, a, o = null, s = [-1]) {
|
|
|
273
273
|
}) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
274
274
|
if (t.hydrate) {
|
|
275
275
|
const f = ir(t.target);
|
|
276
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
276
|
+
u.fragment && u.fragment.l(f), f.forEach(M);
|
|
277
277
|
} else
|
|
278
278
|
u.fragment && u.fragment.c();
|
|
279
279
|
t.intro && J(e.$$.fragment), mr(e, t.target, t.anchor), S();
|
|
@@ -320,32 +320,32 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
|
320
320
|
if (this.$$cn = !0, !this.$$c) {
|
|
321
321
|
let e = function(i) {
|
|
322
322
|
return () => {
|
|
323
|
-
let
|
|
323
|
+
let o;
|
|
324
324
|
return {
|
|
325
325
|
c: function() {
|
|
326
|
-
|
|
326
|
+
o = C("slot"), i !== "default" && k(o, "name", i);
|
|
327
327
|
},
|
|
328
328
|
/**
|
|
329
329
|
* @param {HTMLElement} target
|
|
330
330
|
* @param {HTMLElement} [anchor]
|
|
331
331
|
*/
|
|
332
332
|
m: function(h, u) {
|
|
333
|
-
V(h,
|
|
333
|
+
V(h, o, u);
|
|
334
334
|
},
|
|
335
335
|
d: function(h) {
|
|
336
|
-
h &&
|
|
336
|
+
h && M(o);
|
|
337
337
|
}
|
|
338
338
|
};
|
|
339
339
|
};
|
|
340
340
|
};
|
|
341
341
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
342
342
|
return;
|
|
343
|
-
const t = {}, r =
|
|
343
|
+
const t = {}, r = or(this);
|
|
344
344
|
for (const i of this.$$s)
|
|
345
345
|
i in r && (t[i] = [e(i)]);
|
|
346
346
|
for (const i of this.attributes) {
|
|
347
|
-
const
|
|
348
|
-
|
|
347
|
+
const o = this.$$g_p(i.name);
|
|
348
|
+
o in this.$$d || (this.$$d[o] = de(o, i.value, this.$$p_d, "toProp"));
|
|
349
349
|
}
|
|
350
350
|
for (const i in this.$$p_d)
|
|
351
351
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -363,21 +363,21 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
|
363
363
|
this.$$r = !0;
|
|
364
364
|
for (const i in this.$$p_d)
|
|
365
365
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
366
|
-
const
|
|
366
|
+
const o = de(
|
|
367
367
|
i,
|
|
368
368
|
this.$$d[i],
|
|
369
369
|
this.$$p_d,
|
|
370
370
|
"toAttribute"
|
|
371
371
|
);
|
|
372
|
-
|
|
372
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
373
373
|
}
|
|
374
374
|
this.$$r = !1;
|
|
375
375
|
};
|
|
376
376
|
this.$$c.$$.after_update.push(n), n();
|
|
377
377
|
for (const i in this.$$l)
|
|
378
|
-
for (const
|
|
379
|
-
const
|
|
380
|
-
this.$$l_u.set(
|
|
378
|
+
for (const o of this.$$l[i]) {
|
|
379
|
+
const a = this.$$c.$on(i, o);
|
|
380
|
+
this.$$l_u.set(o, a);
|
|
381
381
|
}
|
|
382
382
|
this.$$l = {};
|
|
383
383
|
}
|
|
@@ -427,8 +427,8 @@ function de(e, t, r, n) {
|
|
|
427
427
|
return t;
|
|
428
428
|
}
|
|
429
429
|
}
|
|
430
|
-
function gr(e, t, r, n, i,
|
|
431
|
-
let
|
|
430
|
+
function gr(e, t, r, n, i, o) {
|
|
431
|
+
let a = class extends Ht {
|
|
432
432
|
constructor() {
|
|
433
433
|
super(e, r, i), this.$$p_d = t;
|
|
434
434
|
}
|
|
@@ -439,7 +439,7 @@ function gr(e, t, r, n, i, a) {
|
|
|
439
439
|
}
|
|
440
440
|
};
|
|
441
441
|
return Object.keys(t).forEach((s) => {
|
|
442
|
-
Object.defineProperty(
|
|
442
|
+
Object.defineProperty(a.prototype, s, {
|
|
443
443
|
get() {
|
|
444
444
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
445
445
|
},
|
|
@@ -448,13 +448,13 @@ function gr(e, t, r, n, i, a) {
|
|
|
448
448
|
}
|
|
449
449
|
});
|
|
450
450
|
}), n.forEach((s) => {
|
|
451
|
-
Object.defineProperty(
|
|
451
|
+
Object.defineProperty(a.prototype, s, {
|
|
452
452
|
get() {
|
|
453
453
|
return this.$$c?.[s];
|
|
454
454
|
}
|
|
455
455
|
});
|
|
456
456
|
}), e.element = /** @type {any} */
|
|
457
|
-
|
|
457
|
+
a, a;
|
|
458
458
|
}
|
|
459
459
|
class yr {
|
|
460
460
|
/**
|
|
@@ -500,15 +500,15 @@ class yr {
|
|
|
500
500
|
this.$$set && !Qt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
const
|
|
504
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
503
|
+
const vr = "4";
|
|
504
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
|
|
505
505
|
function Er(e, t) {
|
|
506
506
|
if (e) {
|
|
507
507
|
const r = document.createElement("style");
|
|
508
508
|
r.innerHTML = t, e.appendChild(r);
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
|
-
function
|
|
511
|
+
function _r(e, t) {
|
|
512
512
|
if (!e || !t)
|
|
513
513
|
return;
|
|
514
514
|
const r = new URL(t);
|
|
@@ -527,7 +527,7 @@ function xr(e, t, r) {
|
|
|
527
527
|
});
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
const
|
|
530
|
+
const $ = [];
|
|
531
531
|
function Tr(e, t) {
|
|
532
532
|
return {
|
|
533
533
|
subscribe: xe(e, t).subscribe
|
|
@@ -538,33 +538,33 @@ function xe(e, t = B) {
|
|
|
538
538
|
const n = /* @__PURE__ */ new Set();
|
|
539
539
|
function i(s) {
|
|
540
540
|
if (Et(e, s) && (e = s, r)) {
|
|
541
|
-
const h =
|
|
541
|
+
const h = !$.length;
|
|
542
542
|
for (const u of n)
|
|
543
|
-
u[1](),
|
|
543
|
+
u[1](), $.push(u, e);
|
|
544
544
|
if (h) {
|
|
545
|
-
for (let u = 0; u <
|
|
546
|
-
|
|
547
|
-
|
|
545
|
+
for (let u = 0; u < $.length; u += 2)
|
|
546
|
+
$[u][0]($[u + 1]);
|
|
547
|
+
$.length = 0;
|
|
548
548
|
}
|
|
549
549
|
}
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function o(s) {
|
|
552
552
|
i(s(e));
|
|
553
553
|
}
|
|
554
|
-
function
|
|
554
|
+
function a(s, h = B) {
|
|
555
555
|
const u = [s, h];
|
|
556
|
-
return n.add(u), n.size === 1 && (r = t(i,
|
|
556
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || B), s(e), () => {
|
|
557
557
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
558
558
|
};
|
|
559
559
|
}
|
|
560
|
-
return { set: i, update:
|
|
560
|
+
return { set: i, update: o, subscribe: a };
|
|
561
561
|
}
|
|
562
562
|
function X(e, t, r) {
|
|
563
563
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
564
564
|
if (!i.every(Boolean))
|
|
565
565
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
566
|
-
const
|
|
567
|
-
return Tr(r, (
|
|
566
|
+
const o = t.length < 2;
|
|
567
|
+
return Tr(r, (a, s) => {
|
|
568
568
|
let h = !1;
|
|
569
569
|
const u = [];
|
|
570
570
|
let l = 0, f = B;
|
|
@@ -572,16 +572,16 @@ function X(e, t, r) {
|
|
|
572
572
|
if (l)
|
|
573
573
|
return;
|
|
574
574
|
f();
|
|
575
|
-
const p = t(n ? u[0] : u,
|
|
576
|
-
|
|
575
|
+
const p = t(n ? u[0] : u, a, s);
|
|
576
|
+
o ? a(p) : f = Ve(p) ? p : B;
|
|
577
577
|
}, d = i.map(
|
|
578
|
-
(p,
|
|
578
|
+
(p, _) => _t(
|
|
579
579
|
p,
|
|
580
580
|
(T) => {
|
|
581
|
-
u[
|
|
581
|
+
u[_] = T, l &= ~(1 << _), h && m();
|
|
582
582
|
},
|
|
583
583
|
() => {
|
|
584
|
-
l |= 1 <<
|
|
584
|
+
l |= 1 << _;
|
|
585
585
|
}
|
|
586
586
|
)
|
|
587
587
|
);
|
|
@@ -607,13 +607,13 @@ var Ar = typeof Symbol == "function" && Symbol.for, Pr = Ar ? Symbol.for("react.
|
|
|
607
607
|
function Or(e) {
|
|
608
608
|
return e.$$typeof === Pr;
|
|
609
609
|
}
|
|
610
|
-
function
|
|
610
|
+
function Cr(e) {
|
|
611
611
|
return Array.isArray(e) ? [] : {};
|
|
612
612
|
}
|
|
613
613
|
function K(e, t) {
|
|
614
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? G(
|
|
614
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? G(Cr(e), e, t) : e;
|
|
615
615
|
}
|
|
616
|
-
function
|
|
616
|
+
function Ir(e, t, r) {
|
|
617
617
|
return e.concat(t).map(function(n) {
|
|
618
618
|
return K(n, r);
|
|
619
619
|
});
|
|
@@ -624,13 +624,13 @@ function Lr(e, t) {
|
|
|
624
624
|
var r = t.customMerge(e);
|
|
625
625
|
return typeof r == "function" ? r : G;
|
|
626
626
|
}
|
|
627
|
-
function
|
|
627
|
+
function Mr(e) {
|
|
628
628
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
629
629
|
return Object.propertyIsEnumerable.call(e, t);
|
|
630
630
|
}) : [];
|
|
631
631
|
}
|
|
632
632
|
function Ye(e) {
|
|
633
|
-
return Object.keys(e).concat(
|
|
633
|
+
return Object.keys(e).concat(Mr(e));
|
|
634
634
|
}
|
|
635
635
|
function wt(e, t) {
|
|
636
636
|
try {
|
|
@@ -639,21 +639,21 @@ function wt(e, t) {
|
|
|
639
639
|
return !1;
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
|
-
function
|
|
642
|
+
function Nr(e, t) {
|
|
643
643
|
return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
644
644
|
}
|
|
645
|
-
function
|
|
645
|
+
function Rr(e, t, r) {
|
|
646
646
|
var n = {};
|
|
647
647
|
return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
|
|
648
648
|
n[i] = K(e[i], r);
|
|
649
649
|
}), Ye(t).forEach(function(i) {
|
|
650
|
-
|
|
650
|
+
Nr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Lr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
|
|
651
651
|
}), n;
|
|
652
652
|
}
|
|
653
653
|
function G(e, t, r) {
|
|
654
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
655
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
656
|
-
return
|
|
654
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ir, r.isMergeableObject = r.isMergeableObject || wr, r.cloneUnlessOtherwiseSpecified = K;
|
|
655
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
656
|
+
return o ? n ? r.arrayMerge(e, t, r) : Rr(e, t, r) : K(t, r);
|
|
657
657
|
}
|
|
658
658
|
G.all = function(t, r) {
|
|
659
659
|
if (!Array.isArray(t))
|
|
@@ -662,20 +662,20 @@ G.all = function(t, r) {
|
|
|
662
662
|
return G(n, i, r);
|
|
663
663
|
}, {});
|
|
664
664
|
};
|
|
665
|
-
var
|
|
665
|
+
var $r = G, Dr = $r;
|
|
666
666
|
const Ur = /* @__PURE__ */ Hr(Dr);
|
|
667
|
-
var
|
|
668
|
-
return
|
|
667
|
+
var $e = function(e, t) {
|
|
668
|
+
return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
669
669
|
r.__proto__ = n;
|
|
670
670
|
} || function(r, n) {
|
|
671
671
|
for (var i in n)
|
|
672
672
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
673
|
-
},
|
|
673
|
+
}, $e(e, t);
|
|
674
674
|
};
|
|
675
675
|
function Te(e, t) {
|
|
676
676
|
if (typeof t != "function" && t !== null)
|
|
677
677
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
678
|
-
|
|
678
|
+
$e(e, t);
|
|
679
679
|
function r() {
|
|
680
680
|
this.constructor = e;
|
|
681
681
|
}
|
|
@@ -685,8 +685,8 @@ var w = function() {
|
|
|
685
685
|
return w = Object.assign || function(t) {
|
|
686
686
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
687
687
|
r = arguments[n];
|
|
688
|
-
for (var
|
|
689
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
688
|
+
for (var o in r)
|
|
689
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
690
690
|
}
|
|
691
691
|
return t;
|
|
692
692
|
}, w.apply(this, arguments);
|
|
@@ -702,12 +702,12 @@ function kr(e, t) {
|
|
|
702
702
|
}
|
|
703
703
|
function Ae(e, t, r) {
|
|
704
704
|
if (r || arguments.length === 2)
|
|
705
|
-
for (var n = 0, i = t.length,
|
|
706
|
-
(
|
|
707
|
-
return e.concat(
|
|
705
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
706
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
707
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
708
708
|
}
|
|
709
709
|
function Pe(e, t) {
|
|
710
|
-
var r = t && t.cache ? t.cache : Wr, n = t && t.serializer ? t.serializer : Vr, i = t && t.strategy ? t.strategy :
|
|
710
|
+
var r = t && t.cache ? t.cache : Wr, n = t && t.serializer ? t.serializer : Vr, i = t && t.strategy ? t.strategy : zr;
|
|
711
711
|
return i(e, {
|
|
712
712
|
cache: r,
|
|
713
713
|
serializer: n
|
|
@@ -717,21 +717,21 @@ function Gr(e) {
|
|
|
717
717
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
718
718
|
}
|
|
719
719
|
function Fr(e, t, r, n) {
|
|
720
|
-
var i = Gr(n) ? n : r(n),
|
|
721
|
-
return typeof
|
|
720
|
+
var i = Gr(n) ? n : r(n), o = t.get(i);
|
|
721
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
722
722
|
}
|
|
723
723
|
function St(e, t, r) {
|
|
724
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
725
|
-
return typeof
|
|
724
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
725
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
726
726
|
}
|
|
727
727
|
function Bt(e, t, r, n, i) {
|
|
728
728
|
return r.bind(t, e, n, i);
|
|
729
729
|
}
|
|
730
|
-
function
|
|
730
|
+
function zr(e, t) {
|
|
731
731
|
var r = e.length === 1 ? Fr : St;
|
|
732
732
|
return Bt(e, this, r, t.cache.create(), t.serializer);
|
|
733
733
|
}
|
|
734
|
-
function
|
|
734
|
+
function jr(e, t) {
|
|
735
735
|
return Bt(e, this, St, t.cache.create(), t.serializer);
|
|
736
736
|
}
|
|
737
737
|
var Vr = function() {
|
|
@@ -753,13 +753,13 @@ var Vr = function() {
|
|
|
753
753
|
return new Xr();
|
|
754
754
|
}
|
|
755
755
|
}, Oe = {
|
|
756
|
-
variadic:
|
|
756
|
+
variadic: jr
|
|
757
757
|
}, ge = function() {
|
|
758
758
|
return ge = Object.assign || function(t) {
|
|
759
759
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
760
760
|
r = arguments[n];
|
|
761
|
-
for (var
|
|
762
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
761
|
+
for (var o in r)
|
|
762
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
763
763
|
}
|
|
764
764
|
return t;
|
|
765
765
|
}, ge.apply(this, arguments);
|
|
@@ -768,51 +768,51 @@ var b;
|
|
|
768
768
|
(function(e) {
|
|
769
769
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
770
770
|
})(b || (b = {}));
|
|
771
|
-
var
|
|
771
|
+
var v;
|
|
772
772
|
(function(e) {
|
|
773
773
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
774
|
-
})(
|
|
774
|
+
})(v || (v = {}));
|
|
775
775
|
var F;
|
|
776
776
|
(function(e) {
|
|
777
777
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
778
778
|
})(F || (F = {}));
|
|
779
779
|
function Ke(e) {
|
|
780
|
-
return e.type ===
|
|
780
|
+
return e.type === v.literal;
|
|
781
781
|
}
|
|
782
|
-
function
|
|
783
|
-
return e.type ===
|
|
782
|
+
function qr(e) {
|
|
783
|
+
return e.type === v.argument;
|
|
784
784
|
}
|
|
785
785
|
function At(e) {
|
|
786
|
-
return e.type ===
|
|
786
|
+
return e.type === v.number;
|
|
787
787
|
}
|
|
788
788
|
function Pt(e) {
|
|
789
|
-
return e.type ===
|
|
789
|
+
return e.type === v.date;
|
|
790
790
|
}
|
|
791
791
|
function Ot(e) {
|
|
792
|
-
return e.type ===
|
|
793
|
-
}
|
|
794
|
-
function It(e) {
|
|
795
|
-
return e.type === _.select;
|
|
792
|
+
return e.type === v.time;
|
|
796
793
|
}
|
|
797
794
|
function Ct(e) {
|
|
798
|
-
return e.type ===
|
|
795
|
+
return e.type === v.select;
|
|
796
|
+
}
|
|
797
|
+
function It(e) {
|
|
798
|
+
return e.type === v.plural;
|
|
799
799
|
}
|
|
800
800
|
function Jr(e) {
|
|
801
|
-
return e.type ===
|
|
801
|
+
return e.type === v.pound;
|
|
802
802
|
}
|
|
803
803
|
function Lt(e) {
|
|
804
|
-
return e.type ===
|
|
804
|
+
return e.type === v.tag;
|
|
805
805
|
}
|
|
806
|
-
function
|
|
806
|
+
function Mt(e) {
|
|
807
807
|
return !!(e && typeof e == "object" && e.type === F.number);
|
|
808
808
|
}
|
|
809
809
|
function De(e) {
|
|
810
810
|
return !!(e && typeof e == "object" && e.type === F.dateTime);
|
|
811
811
|
}
|
|
812
|
-
var
|
|
812
|
+
var Nt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
813
813
|
function Qr(e) {
|
|
814
814
|
var t = {};
|
|
815
|
-
return e.replace(
|
|
815
|
+
return e.replace(Zr, function(r) {
|
|
816
816
|
var n = r.length;
|
|
817
817
|
switch (r[0]) {
|
|
818
818
|
case "G":
|
|
@@ -905,8 +905,8 @@ var E = function() {
|
|
|
905
905
|
return E = Object.assign || function(t) {
|
|
906
906
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
907
907
|
r = arguments[n];
|
|
908
|
-
for (var
|
|
909
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
908
|
+
for (var o in r)
|
|
909
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
910
910
|
}
|
|
911
911
|
return t;
|
|
912
912
|
}, E.apply(this, arguments);
|
|
@@ -918,10 +918,10 @@ function Kr(e) {
|
|
|
918
918
|
for (var t = e.split(Yr).filter(function(m) {
|
|
919
919
|
return m.length > 0;
|
|
920
920
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
921
|
-
var
|
|
922
|
-
if (
|
|
921
|
+
var o = i[n], a = o.split("/");
|
|
922
|
+
if (a.length === 0)
|
|
923
923
|
throw new Error("Invalid number skeleton");
|
|
924
|
-
for (var s =
|
|
924
|
+
for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
925
925
|
var f = l[u];
|
|
926
926
|
if (f.length === 0)
|
|
927
927
|
throw new Error("Invalid number skeleton");
|
|
@@ -933,10 +933,10 @@ function Kr(e) {
|
|
|
933
933
|
function en(e) {
|
|
934
934
|
return e.replace(/^(.*?)-/, "");
|
|
935
935
|
}
|
|
936
|
-
var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,
|
|
936
|
+
var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, tn = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
|
|
937
937
|
function tt(e) {
|
|
938
938
|
var t = {};
|
|
939
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
939
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
|
|
940
940
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
941
941
|
}), t;
|
|
942
942
|
}
|
|
@@ -988,7 +988,7 @@ function rn(e) {
|
|
|
988
988
|
notation: "scientific"
|
|
989
989
|
}, e = e.slice(1)), t) {
|
|
990
990
|
var r = e.slice(0, 2);
|
|
991
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)),
|
|
991
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$t.test(e))
|
|
992
992
|
throw new Error("Malformed concise eng/scientific notation");
|
|
993
993
|
t.minimumIntegerDigits = e.length;
|
|
994
994
|
}
|
|
@@ -1097,7 +1097,7 @@ function nn(e) {
|
|
|
1097
1097
|
});
|
|
1098
1098
|
continue;
|
|
1099
1099
|
}
|
|
1100
|
-
if (
|
|
1100
|
+
if ($t.test(i.stem)) {
|
|
1101
1101
|
t.minimumIntegerDigits = i.stem.length;
|
|
1102
1102
|
continue;
|
|
1103
1103
|
}
|
|
@@ -1107,16 +1107,16 @@ function nn(e) {
|
|
|
1107
1107
|
i.stem.replace(et, function(h, u, l, f, m, d) {
|
|
1108
1108
|
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1109
1109
|
});
|
|
1110
|
-
var
|
|
1111
|
-
|
|
1110
|
+
var o = i.options[0];
|
|
1111
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), tt(o)));
|
|
1112
1112
|
continue;
|
|
1113
1113
|
}
|
|
1114
|
-
if (
|
|
1114
|
+
if (Rt.test(i.stem)) {
|
|
1115
1115
|
t = E(E({}, t), tt(i.stem));
|
|
1116
1116
|
continue;
|
|
1117
1117
|
}
|
|
1118
|
-
var
|
|
1119
|
-
|
|
1118
|
+
var a = Dt(i.stem);
|
|
1119
|
+
a && (t = E(E({}, t), a));
|
|
1120
1120
|
var s = rn(i.stem);
|
|
1121
1121
|
s && (t = E(E({}, t), s));
|
|
1122
1122
|
}
|
|
@@ -2537,23 +2537,23 @@ var fe = {
|
|
|
2537
2537
|
"h"
|
|
2538
2538
|
]
|
|
2539
2539
|
};
|
|
2540
|
-
function
|
|
2540
|
+
function on(e, t) {
|
|
2541
2541
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2542
2542
|
var i = e.charAt(n);
|
|
2543
2543
|
if (i === "j") {
|
|
2544
|
-
for (var
|
|
2545
|
-
|
|
2546
|
-
var
|
|
2544
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2545
|
+
o++, n++;
|
|
2546
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = an(t);
|
|
2547
2547
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
2548
2548
|
r += h;
|
|
2549
|
-
for (;
|
|
2549
|
+
for (; a-- > 0; )
|
|
2550
2550
|
r = u + r;
|
|
2551
2551
|
} else
|
|
2552
2552
|
i === "J" ? r += "H" : r += i;
|
|
2553
2553
|
}
|
|
2554
2554
|
return r;
|
|
2555
2555
|
}
|
|
2556
|
-
function
|
|
2556
|
+
function an(e) {
|
|
2557
2557
|
var t = e.hourCycle;
|
|
2558
2558
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2559
2559
|
e.hourCycles && // @ts-ignore
|
|
@@ -2575,7 +2575,7 @@ function on(e) {
|
|
|
2575
2575
|
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
2576
2576
|
return i[0];
|
|
2577
2577
|
}
|
|
2578
|
-
var
|
|
2578
|
+
var Ce, sn = new RegExp("^".concat(Nt.source, "*")), un = new RegExp("".concat(Nt.source, "*$"));
|
|
2579
2579
|
function y(e, t) {
|
|
2580
2580
|
return { start: e, end: t };
|
|
2581
2581
|
}
|
|
@@ -2584,7 +2584,7 @@ var ln = !!String.prototype.startsWith && "_a".startsWith("a", 1), hn = !!String
|
|
|
2584
2584
|
}, Ue = !0;
|
|
2585
2585
|
try {
|
|
2586
2586
|
var gn = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2587
|
-
Ue = ((
|
|
2587
|
+
Ue = ((Ce = gn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
|
|
2588
2588
|
} catch {
|
|
2589
2589
|
Ue = !1;
|
|
2590
2590
|
}
|
|
@@ -2603,10 +2603,10 @@ var nt = ln ? (
|
|
|
2603
2603
|
function() {
|
|
2604
2604
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2605
2605
|
t[r] = arguments[r];
|
|
2606
|
-
for (var n = "", i = t.length,
|
|
2607
|
-
if (
|
|
2608
|
-
throw RangeError(
|
|
2609
|
-
n +=
|
|
2606
|
+
for (var n = "", i = t.length, o = 0, a; i > o; ) {
|
|
2607
|
+
if (a = t[o++], a > 1114111)
|
|
2608
|
+
throw RangeError(a + " is not a valid code point");
|
|
2609
|
+
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
2610
2610
|
}
|
|
2611
2611
|
return n;
|
|
2612
2612
|
}
|
|
@@ -2616,8 +2616,8 @@ var nt = ln ? (
|
|
|
2616
2616
|
// Ponyfill
|
|
2617
2617
|
function(t) {
|
|
2618
2618
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2619
|
-
var
|
|
2620
|
-
r[
|
|
2619
|
+
var o = i[n], a = o[0], s = o[1];
|
|
2620
|
+
r[a] = s;
|
|
2621
2621
|
}
|
|
2622
2622
|
return r;
|
|
2623
2623
|
}
|
|
@@ -2632,8 +2632,8 @@ var nt = ln ? (
|
|
|
2632
2632
|
function(t, r) {
|
|
2633
2633
|
var n = t.length;
|
|
2634
2634
|
if (!(r < 0 || r >= n)) {
|
|
2635
|
-
var i = t.charCodeAt(r),
|
|
2636
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
2635
|
+
var i = t.charCodeAt(r), o;
|
|
2636
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2637
2637
|
}
|
|
2638
2638
|
}
|
|
2639
2639
|
), yn = mn ? (
|
|
@@ -2646,7 +2646,7 @@ var nt = ln ? (
|
|
|
2646
2646
|
function(t) {
|
|
2647
2647
|
return t.replace(sn, "");
|
|
2648
2648
|
}
|
|
2649
|
-
),
|
|
2649
|
+
), vn = dn ? (
|
|
2650
2650
|
// Native
|
|
2651
2651
|
function(t) {
|
|
2652
2652
|
return t.trimEnd();
|
|
@@ -2662,11 +2662,11 @@ function kt(e, t) {
|
|
|
2662
2662
|
}
|
|
2663
2663
|
var Ge;
|
|
2664
2664
|
if (Ue) {
|
|
2665
|
-
var
|
|
2665
|
+
var ot = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2666
2666
|
Ge = function(t, r) {
|
|
2667
2667
|
var n;
|
|
2668
|
-
|
|
2669
|
-
var i =
|
|
2668
|
+
ot.lastIndex = r;
|
|
2669
|
+
var i = ot.exec(t);
|
|
2670
2670
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2671
2671
|
};
|
|
2672
2672
|
} else
|
|
@@ -2691,35 +2691,35 @@ var En = (
|
|
|
2691
2691
|
return this.parseMessage(0, "", !1);
|
|
2692
2692
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2693
2693
|
for (var i = []; !this.isEOF(); ) {
|
|
2694
|
-
var
|
|
2695
|
-
if (
|
|
2696
|
-
var
|
|
2697
|
-
if (
|
|
2698
|
-
return
|
|
2699
|
-
i.push(
|
|
2694
|
+
var o = this.char();
|
|
2695
|
+
if (o === 123) {
|
|
2696
|
+
var a = this.parseArgument(t, n);
|
|
2697
|
+
if (a.err)
|
|
2698
|
+
return a;
|
|
2699
|
+
i.push(a.val);
|
|
2700
2700
|
} else {
|
|
2701
|
-
if (
|
|
2701
|
+
if (o === 125 && t > 0)
|
|
2702
2702
|
break;
|
|
2703
|
-
if (
|
|
2703
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2704
2704
|
var s = this.clonePosition();
|
|
2705
2705
|
this.bump(), i.push({
|
|
2706
|
-
type:
|
|
2706
|
+
type: v.pound,
|
|
2707
2707
|
location: y(s, this.clonePosition())
|
|
2708
2708
|
});
|
|
2709
|
-
} else if (
|
|
2709
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2710
2710
|
if (n)
|
|
2711
2711
|
break;
|
|
2712
2712
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
2713
|
-
} else if (
|
|
2714
|
-
var
|
|
2715
|
-
if (
|
|
2716
|
-
return
|
|
2717
|
-
i.push(
|
|
2713
|
+
} else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
|
|
2714
|
+
var a = this.parseTag(t, r);
|
|
2715
|
+
if (a.err)
|
|
2716
|
+
return a;
|
|
2717
|
+
i.push(a.val);
|
|
2718
2718
|
} else {
|
|
2719
|
-
var
|
|
2720
|
-
if (
|
|
2721
|
-
return
|
|
2722
|
-
i.push(
|
|
2719
|
+
var a = this.parseLiteral(t, r);
|
|
2720
|
+
if (a.err)
|
|
2721
|
+
return a;
|
|
2722
|
+
i.push(a.val);
|
|
2723
2723
|
}
|
|
2724
2724
|
}
|
|
2725
2725
|
}
|
|
@@ -2731,26 +2731,26 @@ var En = (
|
|
|
2731
2731
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2732
2732
|
return {
|
|
2733
2733
|
val: {
|
|
2734
|
-
type:
|
|
2734
|
+
type: v.literal,
|
|
2735
2735
|
value: "<".concat(i, "/>"),
|
|
2736
2736
|
location: y(n, this.clonePosition())
|
|
2737
2737
|
},
|
|
2738
2738
|
err: null
|
|
2739
2739
|
};
|
|
2740
2740
|
if (this.bumpIf(">")) {
|
|
2741
|
-
var
|
|
2742
|
-
if (
|
|
2743
|
-
return
|
|
2744
|
-
var
|
|
2741
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
2742
|
+
if (o.err)
|
|
2743
|
+
return o;
|
|
2744
|
+
var a = o.val, s = this.clonePosition();
|
|
2745
2745
|
if (this.bumpIf("</")) {
|
|
2746
2746
|
if (this.isEOF() || !Fe(this.char()))
|
|
2747
2747
|
return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
|
|
2748
2748
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2749
2749
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2750
2750
|
val: {
|
|
2751
|
-
type:
|
|
2751
|
+
type: v.tag,
|
|
2752
2752
|
value: i,
|
|
2753
|
-
children:
|
|
2753
|
+
children: a,
|
|
2754
2754
|
location: y(n, this.clonePosition())
|
|
2755
2755
|
},
|
|
2756
2756
|
err: null
|
|
@@ -2766,16 +2766,16 @@ var En = (
|
|
|
2766
2766
|
return this.message.slice(t, this.offset());
|
|
2767
2767
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
2768
2768
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2769
|
-
var
|
|
2770
|
-
if (a) {
|
|
2771
|
-
i += a;
|
|
2772
|
-
continue;
|
|
2773
|
-
}
|
|
2774
|
-
var o = this.tryParseUnquoted(t, r);
|
|
2769
|
+
var o = this.tryParseQuote(r);
|
|
2775
2770
|
if (o) {
|
|
2776
2771
|
i += o;
|
|
2777
2772
|
continue;
|
|
2778
2773
|
}
|
|
2774
|
+
var a = this.tryParseUnquoted(t, r);
|
|
2775
|
+
if (a) {
|
|
2776
|
+
i += a;
|
|
2777
|
+
continue;
|
|
2778
|
+
}
|
|
2779
2779
|
var s = this.tryParseLeftAngleBracket();
|
|
2780
2780
|
if (s) {
|
|
2781
2781
|
i += s;
|
|
@@ -2785,12 +2785,12 @@ var En = (
|
|
|
2785
2785
|
}
|
|
2786
2786
|
var h = y(n, this.clonePosition());
|
|
2787
2787
|
return {
|
|
2788
|
-
val: { type:
|
|
2788
|
+
val: { type: v.literal, value: i, location: h },
|
|
2789
2789
|
err: null
|
|
2790
2790
|
};
|
|
2791
2791
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2792
2792
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2793
|
-
!
|
|
2793
|
+
!_n(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2794
2794
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2795
2795
|
if (this.isEOF() || this.char() !== 39)
|
|
2796
2796
|
return null;
|
|
@@ -2845,7 +2845,7 @@ var En = (
|
|
|
2845
2845
|
case 125:
|
|
2846
2846
|
return this.bump(), {
|
|
2847
2847
|
val: {
|
|
2848
|
-
type:
|
|
2848
|
+
type: v.argument,
|
|
2849
2849
|
// value does not include the opening and closing braces.
|
|
2850
2850
|
value: i,
|
|
2851
2851
|
location: y(n, this.clonePosition())
|
|
@@ -2860,13 +2860,13 @@ var En = (
|
|
|
2860
2860
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2861
2861
|
var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
|
|
2862
2862
|
this.bumpTo(i);
|
|
2863
|
-
var
|
|
2864
|
-
return { value: n, location:
|
|
2863
|
+
var o = this.clonePosition(), a = y(t, o);
|
|
2864
|
+
return { value: n, location: a };
|
|
2865
2865
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2866
|
-
var
|
|
2866
|
+
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
2867
2867
|
switch (s) {
|
|
2868
2868
|
case "":
|
|
2869
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE, y(
|
|
2869
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, h));
|
|
2870
2870
|
case "number":
|
|
2871
2871
|
case "date":
|
|
2872
2872
|
case "time": {
|
|
@@ -2877,7 +2877,7 @@ var En = (
|
|
|
2877
2877
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2878
2878
|
if (f.err)
|
|
2879
2879
|
return f;
|
|
2880
|
-
var m =
|
|
2880
|
+
var m = vn(f.val);
|
|
2881
2881
|
if (m.length === 0)
|
|
2882
2882
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
2883
2883
|
var d = y(l, this.clonePosition());
|
|
@@ -2886,38 +2886,38 @@ var En = (
|
|
|
2886
2886
|
var p = this.tryParseArgumentClose(i);
|
|
2887
2887
|
if (p.err)
|
|
2888
2888
|
return p;
|
|
2889
|
-
var
|
|
2889
|
+
var _ = y(i, this.clonePosition());
|
|
2890
2890
|
if (u && nt(u?.style, "::", 0)) {
|
|
2891
2891
|
var T = yn(u.style.slice(2));
|
|
2892
2892
|
if (s === "number") {
|
|
2893
2893
|
var f = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2894
2894
|
return f.err ? f : {
|
|
2895
|
-
val: { type:
|
|
2895
|
+
val: { type: v.number, value: n, location: _, style: f.val },
|
|
2896
2896
|
err: null
|
|
2897
2897
|
};
|
|
2898
2898
|
} else {
|
|
2899
2899
|
if (T.length === 0)
|
|
2900
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
2900
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, _);
|
|
2901
2901
|
var x = T;
|
|
2902
|
-
this.locale && (x =
|
|
2902
|
+
this.locale && (x = on(T, this.locale));
|
|
2903
2903
|
var m = {
|
|
2904
2904
|
type: F.dateTime,
|
|
2905
2905
|
pattern: x,
|
|
2906
2906
|
location: u.styleLocation,
|
|
2907
2907
|
parsedOptions: this.shouldParseSkeletons ? Qr(x) : {}
|
|
2908
|
-
}, c = s === "date" ?
|
|
2908
|
+
}, c = s === "date" ? v.date : v.time;
|
|
2909
2909
|
return {
|
|
2910
|
-
val: { type: c, value: n, location:
|
|
2910
|
+
val: { type: c, value: n, location: _, style: m },
|
|
2911
2911
|
err: null
|
|
2912
2912
|
};
|
|
2913
2913
|
}
|
|
2914
2914
|
}
|
|
2915
2915
|
return {
|
|
2916
2916
|
val: {
|
|
2917
|
-
type: s === "number" ?
|
|
2917
|
+
type: s === "number" ? v.number : s === "date" ? v.date : v.time,
|
|
2918
2918
|
value: n,
|
|
2919
|
-
location:
|
|
2920
|
-
style: (
|
|
2919
|
+
location: _,
|
|
2920
|
+
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
2921
2921
|
},
|
|
2922
2922
|
err: null
|
|
2923
2923
|
};
|
|
@@ -2945,29 +2945,29 @@ var En = (
|
|
|
2945
2945
|
var p = this.tryParseArgumentClose(i);
|
|
2946
2946
|
if (p.err)
|
|
2947
2947
|
return p;
|
|
2948
|
-
var
|
|
2948
|
+
var qe = y(i, this.clonePosition());
|
|
2949
2949
|
return s === "select" ? {
|
|
2950
2950
|
val: {
|
|
2951
|
-
type:
|
|
2951
|
+
type: v.select,
|
|
2952
2952
|
value: n,
|
|
2953
2953
|
options: it(ie.val),
|
|
2954
|
-
location:
|
|
2954
|
+
location: qe
|
|
2955
2955
|
},
|
|
2956
2956
|
err: null
|
|
2957
2957
|
} : {
|
|
2958
2958
|
val: {
|
|
2959
|
-
type:
|
|
2959
|
+
type: v.plural,
|
|
2960
2960
|
value: n,
|
|
2961
2961
|
options: it(ie.val),
|
|
2962
2962
|
offset: L,
|
|
2963
2963
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
2964
|
-
location:
|
|
2964
|
+
location: qe
|
|
2965
2965
|
},
|
|
2966
2966
|
err: null
|
|
2967
2967
|
};
|
|
2968
2968
|
}
|
|
2969
2969
|
default:
|
|
2970
|
-
return this.error(b.INVALID_ARGUMENT_TYPE, y(
|
|
2970
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, y(a, h));
|
|
2971
2971
|
}
|
|
2972
2972
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2973
2973
|
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3023,7 +3023,7 @@ var En = (
|
|
|
3023
3023
|
err: null
|
|
3024
3024
|
};
|
|
3025
3025
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3026
|
-
for (var
|
|
3026
|
+
for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3027
3027
|
if (u.length === 0) {
|
|
3028
3028
|
var f = this.clonePosition();
|
|
3029
3029
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3036,37 +3036,37 @@ var En = (
|
|
|
3036
3036
|
}
|
|
3037
3037
|
if (h.has(u))
|
|
3038
3038
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3039
|
-
u === "other" && (
|
|
3039
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3040
3040
|
var d = this.clonePosition();
|
|
3041
3041
|
if (!this.bumpIf("{"))
|
|
3042
3042
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3043
3043
|
var p = this.parseMessage(t + 1, r, n);
|
|
3044
3044
|
if (p.err)
|
|
3045
3045
|
return p;
|
|
3046
|
-
var
|
|
3047
|
-
if (
|
|
3048
|
-
return
|
|
3046
|
+
var _ = this.tryParseArgumentClose(d);
|
|
3047
|
+
if (_.err)
|
|
3048
|
+
return _;
|
|
3049
3049
|
s.push([
|
|
3050
3050
|
u,
|
|
3051
3051
|
{
|
|
3052
3052
|
value: p.val,
|
|
3053
3053
|
location: y(d, this.clonePosition())
|
|
3054
3054
|
}
|
|
3055
|
-
]), h.add(u), this.bumpSpace(),
|
|
3055
|
+
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3056
3056
|
}
|
|
3057
|
-
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
|
3057
|
+
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3058
3058
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3059
3059
|
var n = 1, i = this.clonePosition();
|
|
3060
3060
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3061
|
-
for (var
|
|
3061
|
+
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
3062
3062
|
var s = this.char();
|
|
3063
3063
|
if (s >= 48 && s <= 57)
|
|
3064
|
-
|
|
3064
|
+
o = !0, a = a * 10 + (s - 48), this.bump();
|
|
3065
3065
|
else
|
|
3066
3066
|
break;
|
|
3067
3067
|
}
|
|
3068
3068
|
var h = y(i, this.clonePosition());
|
|
3069
|
-
return
|
|
3069
|
+
return o ? (a *= n, bn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3070
3070
|
}, e.prototype.offset = function() {
|
|
3071
3071
|
return this.position.offset;
|
|
3072
3072
|
}, e.prototype.isEOF = function() {
|
|
@@ -3135,7 +3135,7 @@ var En = (
|
|
|
3135
3135
|
function Fe(e) {
|
|
3136
3136
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3137
3137
|
}
|
|
3138
|
-
function
|
|
3138
|
+
function _n(e) {
|
|
3139
3139
|
return Fe(e) || e === 47;
|
|
3140
3140
|
}
|
|
3141
3141
|
function xn(e) {
|
|
@@ -3147,13 +3147,13 @@ function Gt(e) {
|
|
|
3147
3147
|
function Tn(e) {
|
|
3148
3148
|
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;
|
|
3149
3149
|
}
|
|
3150
|
-
function
|
|
3150
|
+
function ze(e) {
|
|
3151
3151
|
e.forEach(function(t) {
|
|
3152
|
-
if (delete t.location,
|
|
3152
|
+
if (delete t.location, Ct(t) || It(t))
|
|
3153
3153
|
for (var r in t.options)
|
|
3154
|
-
delete t.options[r].location,
|
|
3154
|
+
delete t.options[r].location, ze(t.options[r].value);
|
|
3155
3155
|
else
|
|
3156
|
-
At(t) &&
|
|
3156
|
+
At(t) && Mt(t.style) || (Pt(t) || Ot(t)) && De(t.style) ? delete t.style.location : Lt(t) && ze(t.children);
|
|
3157
3157
|
});
|
|
3158
3158
|
}
|
|
3159
3159
|
function Hn(e, t) {
|
|
@@ -3163,30 +3163,30 @@ function Hn(e, t) {
|
|
|
3163
3163
|
var n = SyntaxError(b[r.err.kind]);
|
|
3164
3164
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3165
3165
|
}
|
|
3166
|
-
return t?.captureLocation ||
|
|
3166
|
+
return t?.captureLocation || ze(r.val), r.val;
|
|
3167
3167
|
}
|
|
3168
|
-
var
|
|
3168
|
+
var z;
|
|
3169
3169
|
(function(e) {
|
|
3170
3170
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3171
|
-
})(
|
|
3171
|
+
})(z || (z = {}));
|
|
3172
3172
|
var He = (
|
|
3173
3173
|
/** @class */
|
|
3174
3174
|
function(e) {
|
|
3175
3175
|
Te(t, e);
|
|
3176
3176
|
function t(r, n, i) {
|
|
3177
|
-
var
|
|
3178
|
-
return
|
|
3177
|
+
var o = e.call(this, r) || this;
|
|
3178
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3179
3179
|
}
|
|
3180
3180
|
return t.prototype.toString = function() {
|
|
3181
3181
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3182
3182
|
}, t;
|
|
3183
3183
|
}(Error)
|
|
3184
|
-
),
|
|
3184
|
+
), at = (
|
|
3185
3185
|
/** @class */
|
|
3186
3186
|
function(e) {
|
|
3187
3187
|
Te(t, e);
|
|
3188
|
-
function t(r, n, i,
|
|
3189
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3188
|
+
function t(r, n, i, o) {
|
|
3189
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
|
|
3190
3190
|
}
|
|
3191
3191
|
return t;
|
|
3192
3192
|
}(He)
|
|
@@ -3195,7 +3195,7 @@ var He = (
|
|
|
3195
3195
|
function(e) {
|
|
3196
3196
|
Te(t, e);
|
|
3197
3197
|
function t(r, n, i) {
|
|
3198
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3198
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
|
|
3199
3199
|
}
|
|
3200
3200
|
return t;
|
|
3201
3201
|
}(He)
|
|
@@ -3204,7 +3204,7 @@ var He = (
|
|
|
3204
3204
|
function(e) {
|
|
3205
3205
|
Te(t, e);
|
|
3206
3206
|
function t(r, n) {
|
|
3207
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3207
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
|
|
3208
3208
|
}
|
|
3209
3209
|
return t;
|
|
3210
3210
|
}(He)
|
|
@@ -3221,7 +3221,7 @@ function Bn(e) {
|
|
|
3221
3221
|
function An(e) {
|
|
3222
3222
|
return typeof e == "function";
|
|
3223
3223
|
}
|
|
3224
|
-
function pe(e, t, r, n, i,
|
|
3224
|
+
function pe(e, t, r, n, i, o, a) {
|
|
3225
3225
|
if (e.length === 1 && Ke(e[0]))
|
|
3226
3226
|
return [
|
|
3227
3227
|
{
|
|
@@ -3239,17 +3239,17 @@ function pe(e, t, r, n, i, a, o) {
|
|
|
3239
3239
|
continue;
|
|
3240
3240
|
}
|
|
3241
3241
|
if (Jr(l)) {
|
|
3242
|
-
typeof
|
|
3242
|
+
typeof o == "number" && s.push({
|
|
3243
3243
|
type: H.literal,
|
|
3244
|
-
value: r.getNumberFormat(t).format(
|
|
3244
|
+
value: r.getNumberFormat(t).format(o)
|
|
3245
3245
|
});
|
|
3246
3246
|
continue;
|
|
3247
3247
|
}
|
|
3248
3248
|
var f = l.value;
|
|
3249
3249
|
if (!(i && f in i))
|
|
3250
|
-
throw new Sn(f,
|
|
3250
|
+
throw new Sn(f, a);
|
|
3251
3251
|
var m = i[f];
|
|
3252
|
-
if (
|
|
3252
|
+
if (qr(l)) {
|
|
3253
3253
|
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), s.push({
|
|
3254
3254
|
type: typeof m == "string" ? H.literal : H.object,
|
|
3255
3255
|
value: m
|
|
@@ -3273,7 +3273,7 @@ function pe(e, t, r, n, i, a, o) {
|
|
|
3273
3273
|
continue;
|
|
3274
3274
|
}
|
|
3275
3275
|
if (At(l)) {
|
|
3276
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
|
3276
|
+
var d = typeof l.style == "string" ? n.number[l.style] : Mt(l.style) ? l.style.parsedOptions : void 0;
|
|
3277
3277
|
d && d.scale && (m = m * (d.scale || 1)), s.push({
|
|
3278
3278
|
type: H.literal,
|
|
3279
3279
|
value: r.getNumberFormat(t, d).format(m)
|
|
@@ -3281,10 +3281,10 @@ function pe(e, t, r, n, i, a, o) {
|
|
|
3281
3281
|
continue;
|
|
3282
3282
|
}
|
|
3283
3283
|
if (Lt(l)) {
|
|
3284
|
-
var p = l.children,
|
|
3284
|
+
var p = l.children, _ = l.value, T = i[_];
|
|
3285
3285
|
if (!An(T))
|
|
3286
|
-
throw new wn(
|
|
3287
|
-
var x = pe(p, t, r, n, i,
|
|
3286
|
+
throw new wn(_, "function", a);
|
|
3287
|
+
var x = pe(p, t, r, n, i, o), c = T(x.map(function(L) {
|
|
3288
3288
|
return L.value;
|
|
3289
3289
|
}));
|
|
3290
3290
|
Array.isArray(c) || (c = [c]), s.push.apply(s, c.map(function(L) {
|
|
@@ -3294,25 +3294,25 @@ function pe(e, t, r, n, i, a, o) {
|
|
|
3294
3294
|
};
|
|
3295
3295
|
}));
|
|
3296
3296
|
}
|
|
3297
|
-
if (
|
|
3297
|
+
if (Ct(l)) {
|
|
3298
3298
|
var g = l.options[m] || l.options.other;
|
|
3299
3299
|
if (!g)
|
|
3300
|
-
throw new
|
|
3300
|
+
throw new at(l.value, m, Object.keys(l.options), a);
|
|
3301
3301
|
s.push.apply(s, pe(g.value, t, r, n, i));
|
|
3302
3302
|
continue;
|
|
3303
3303
|
}
|
|
3304
|
-
if (
|
|
3304
|
+
if (It(l)) {
|
|
3305
3305
|
var g = l.options["=".concat(m)];
|
|
3306
3306
|
if (!g) {
|
|
3307
3307
|
if (!Intl.PluralRules)
|
|
3308
3308
|
throw new He(`Intl.PluralRules is not available in this environment.
|
|
3309
3309
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3310
|
-
`,
|
|
3310
|
+
`, z.MISSING_INTL_API, a);
|
|
3311
3311
|
var A = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
|
|
3312
3312
|
g = l.options[A] || l.options.other;
|
|
3313
3313
|
}
|
|
3314
3314
|
if (!g)
|
|
3315
|
-
throw new
|
|
3315
|
+
throw new at(l.value, m, Object.keys(l.options), a);
|
|
3316
3316
|
s.push.apply(s, pe(g.value, t, r, n, i, m - (l.offset || 0)));
|
|
3317
3317
|
continue;
|
|
3318
3318
|
}
|
|
@@ -3329,7 +3329,7 @@ function On(e, t) {
|
|
|
3329
3329
|
return r[n] = Pn(e[n], t[n]), r;
|
|
3330
3330
|
}, w({}, e)) : e;
|
|
3331
3331
|
}
|
|
3332
|
-
function
|
|
3332
|
+
function Ie(e) {
|
|
3333
3333
|
return {
|
|
3334
3334
|
create: function() {
|
|
3335
3335
|
return {
|
|
@@ -3343,7 +3343,7 @@ function Ce(e) {
|
|
|
3343
3343
|
}
|
|
3344
3344
|
};
|
|
3345
3345
|
}
|
|
3346
|
-
function
|
|
3346
|
+
function Cn(e) {
|
|
3347
3347
|
return e === void 0 && (e = {
|
|
3348
3348
|
number: {},
|
|
3349
3349
|
dateTime: {},
|
|
@@ -3354,7 +3354,7 @@ function In(e) {
|
|
|
3354
3354
|
r[n] = arguments[n];
|
|
3355
3355
|
return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3356
3356
|
}, {
|
|
3357
|
-
cache:
|
|
3357
|
+
cache: Ie(e.number),
|
|
3358
3358
|
strategy: Oe.variadic
|
|
3359
3359
|
}),
|
|
3360
3360
|
getDateTimeFormat: Pe(function() {
|
|
@@ -3362,7 +3362,7 @@ function In(e) {
|
|
|
3362
3362
|
r[n] = arguments[n];
|
|
3363
3363
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3364
3364
|
}, {
|
|
3365
|
-
cache:
|
|
3365
|
+
cache: Ie(e.dateTime),
|
|
3366
3366
|
strategy: Oe.variadic
|
|
3367
3367
|
}),
|
|
3368
3368
|
getPluralRules: Pe(function() {
|
|
@@ -3370,7 +3370,7 @@ function In(e) {
|
|
|
3370
3370
|
r[n] = arguments[n];
|
|
3371
3371
|
return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
|
|
3372
3372
|
}, {
|
|
3373
|
-
cache:
|
|
3373
|
+
cache: Ie(e.pluralRules),
|
|
3374
3374
|
strategy: Oe.variadic
|
|
3375
3375
|
})
|
|
3376
3376
|
};
|
|
@@ -3380,13 +3380,13 @@ var Ft = (
|
|
|
3380
3380
|
function() {
|
|
3381
3381
|
function e(t, r, n, i) {
|
|
3382
3382
|
r === void 0 && (r = e.defaultLocale);
|
|
3383
|
-
var
|
|
3383
|
+
var o = this;
|
|
3384
3384
|
if (this.formatterCache = {
|
|
3385
3385
|
number: {},
|
|
3386
3386
|
dateTime: {},
|
|
3387
3387
|
pluralRules: {}
|
|
3388
3388
|
}, this.format = function(h) {
|
|
3389
|
-
var u =
|
|
3389
|
+
var u = o.formatToParts(h);
|
|
3390
3390
|
if (u.length === 1)
|
|
3391
3391
|
return u[0].value;
|
|
3392
3392
|
var l = u.reduce(function(f, m) {
|
|
@@ -3394,26 +3394,26 @@ var Ft = (
|
|
|
3394
3394
|
}, []);
|
|
3395
3395
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3396
3396
|
}, this.formatToParts = function(h) {
|
|
3397
|
-
return pe(
|
|
3397
|
+
return pe(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3398
3398
|
}, this.resolvedOptions = function() {
|
|
3399
3399
|
var h;
|
|
3400
3400
|
return {
|
|
3401
|
-
locale: ((h =
|
|
3401
|
+
locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3402
3402
|
};
|
|
3403
3403
|
}, this.getAst = function() {
|
|
3404
|
-
return
|
|
3404
|
+
return o.ast;
|
|
3405
3405
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3406
3406
|
if (this.message = t, !e.__parse)
|
|
3407
3407
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3408
|
-
var
|
|
3409
|
-
|
|
3410
|
-
var s = kr(
|
|
3408
|
+
var a = i || {};
|
|
3409
|
+
a.formatters;
|
|
3410
|
+
var s = kr(a, ["formatters"]);
|
|
3411
3411
|
this.ast = e.__parse(t, w(w({}, s), { locale: this.resolvedLocale }));
|
|
3412
3412
|
} else
|
|
3413
3413
|
this.ast = t;
|
|
3414
3414
|
if (!Array.isArray(this.ast))
|
|
3415
3415
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3416
|
-
this.formats = On(e.formats, n), this.formatters = i && i.formatters ||
|
|
3416
|
+
this.formats = On(e.formats, n), this.formatters = i && i.formatters || Cn(this.formatterCache);
|
|
3417
3417
|
}
|
|
3418
3418
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3419
3419
|
get: function() {
|
|
@@ -3487,7 +3487,7 @@ var Ft = (
|
|
|
3487
3487
|
}, e;
|
|
3488
3488
|
}()
|
|
3489
3489
|
);
|
|
3490
|
-
function
|
|
3490
|
+
function In(e, t) {
|
|
3491
3491
|
if (t == null)
|
|
3492
3492
|
return;
|
|
3493
3493
|
if (t in e)
|
|
@@ -3497,9 +3497,9 @@ function Cn(e, t) {
|
|
|
3497
3497
|
for (let i = 0; i < r.length; i++)
|
|
3498
3498
|
if (typeof n == "object") {
|
|
3499
3499
|
if (i > 0) {
|
|
3500
|
-
const
|
|
3501
|
-
if (
|
|
3502
|
-
n = n[
|
|
3500
|
+
const o = r.slice(i, r.length).join(".");
|
|
3501
|
+
if (o in n) {
|
|
3502
|
+
n = n[o];
|
|
3503
3503
|
break;
|
|
3504
3504
|
}
|
|
3505
3505
|
}
|
|
@@ -3508,39 +3508,39 @@ function Cn(e, t) {
|
|
|
3508
3508
|
n = void 0;
|
|
3509
3509
|
return n;
|
|
3510
3510
|
}
|
|
3511
|
-
const O = {}, Ln = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r),
|
|
3511
|
+
const O = {}, Ln = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), zt = (e, t) => {
|
|
3512
3512
|
if (t == null)
|
|
3513
3513
|
return;
|
|
3514
3514
|
if (t in O && e in O[t])
|
|
3515
3515
|
return O[t][e];
|
|
3516
3516
|
const r = ne(t);
|
|
3517
3517
|
for (let n = 0; n < r.length; n++) {
|
|
3518
|
-
const i = r[n],
|
|
3519
|
-
if (
|
|
3520
|
-
return Ln(e, t,
|
|
3518
|
+
const i = r[n], o = Nn(i, e);
|
|
3519
|
+
if (o)
|
|
3520
|
+
return Ln(e, t, o);
|
|
3521
3521
|
}
|
|
3522
3522
|
};
|
|
3523
3523
|
let Xe;
|
|
3524
3524
|
const re = xe({});
|
|
3525
|
-
function
|
|
3525
|
+
function Mn(e) {
|
|
3526
3526
|
return Xe[e] || null;
|
|
3527
3527
|
}
|
|
3528
|
-
function
|
|
3528
|
+
function jt(e) {
|
|
3529
3529
|
return e in Xe;
|
|
3530
3530
|
}
|
|
3531
|
-
function
|
|
3532
|
-
if (!
|
|
3531
|
+
function Nn(e, t) {
|
|
3532
|
+
if (!jt(e))
|
|
3533
3533
|
return null;
|
|
3534
|
-
const r =
|
|
3535
|
-
return
|
|
3534
|
+
const r = Mn(e);
|
|
3535
|
+
return In(r, t);
|
|
3536
3536
|
}
|
|
3537
|
-
function
|
|
3537
|
+
function Rn(e) {
|
|
3538
3538
|
if (e == null)
|
|
3539
3539
|
return;
|
|
3540
3540
|
const t = ne(e);
|
|
3541
3541
|
for (let r = 0; r < t.length; r++) {
|
|
3542
3542
|
const n = t[r];
|
|
3543
|
-
if (
|
|
3543
|
+
if (jt(n))
|
|
3544
3544
|
return n;
|
|
3545
3545
|
}
|
|
3546
3546
|
}
|
|
@@ -3553,7 +3553,7 @@ X(
|
|
|
3553
3553
|
);
|
|
3554
3554
|
re.subscribe((e) => Xe = e);
|
|
3555
3555
|
const be = {};
|
|
3556
|
-
function
|
|
3556
|
+
function $n(e, t) {
|
|
3557
3557
|
be[e].delete(t), be[e].size === 0 && delete be[e];
|
|
3558
3558
|
}
|
|
3559
3559
|
function Xt(e) {
|
|
@@ -3575,23 +3575,23 @@ function ye(e) {
|
|
|
3575
3575
|
}
|
|
3576
3576
|
function Un(e, t) {
|
|
3577
3577
|
return Promise.all(
|
|
3578
|
-
t.map((n) => (
|
|
3578
|
+
t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
|
|
3579
3579
|
).then((n) => Vt(e, ...n));
|
|
3580
3580
|
}
|
|
3581
|
-
const
|
|
3581
|
+
const q = {};
|
|
3582
3582
|
function Wt(e) {
|
|
3583
3583
|
if (!ye(e))
|
|
3584
|
-
return e in
|
|
3584
|
+
return e in q ? q[e] : Promise.resolve();
|
|
3585
3585
|
const t = Dn(e);
|
|
3586
|
-
return
|
|
3586
|
+
return q[e] = Promise.all(
|
|
3587
3587
|
t.map(
|
|
3588
3588
|
([r, n]) => Un(r, n)
|
|
3589
3589
|
)
|
|
3590
3590
|
).then(() => {
|
|
3591
3591
|
if (ye(e))
|
|
3592
3592
|
return Wt(e);
|
|
3593
|
-
delete
|
|
3594
|
-
}),
|
|
3593
|
+
delete q[e];
|
|
3594
|
+
}), q[e];
|
|
3595
3595
|
}
|
|
3596
3596
|
var st = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, Fn = (e, t) => {
|
|
3597
3597
|
var r = {};
|
|
@@ -3602,7 +3602,7 @@ var st = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Gn
|
|
|
3602
3602
|
t.indexOf(n) < 0 && Gn.call(e, n) && (r[n] = e[n]);
|
|
3603
3603
|
return r;
|
|
3604
3604
|
};
|
|
3605
|
-
const
|
|
3605
|
+
const zn = {
|
|
3606
3606
|
number: {
|
|
3607
3607
|
scientific: { notation: "scientific" },
|
|
3608
3608
|
engineering: { notation: "engineering" },
|
|
@@ -3632,11 +3632,11 @@ const jn = {
|
|
|
3632
3632
|
}
|
|
3633
3633
|
}
|
|
3634
3634
|
};
|
|
3635
|
-
function
|
|
3635
|
+
function jn({ locale: e, id: t }) {
|
|
3636
3636
|
console.warn(
|
|
3637
3637
|
`[svelte-i18n] The message "${t}" was not found in "${ne(
|
|
3638
3638
|
e
|
|
3639
|
-
).join('", "')}".${ye(
|
|
3639
|
+
).join('", "')}".${ye(I()) ? `
|
|
3640
3640
|
|
|
3641
3641
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3642
3642
|
);
|
|
@@ -3644,13 +3644,13 @@ Note: there are at least one loader still registered to this locale that wasn't
|
|
|
3644
3644
|
const Vn = {
|
|
3645
3645
|
fallbackLocale: null,
|
|
3646
3646
|
loadingDelay: 200,
|
|
3647
|
-
formats:
|
|
3647
|
+
formats: zn,
|
|
3648
3648
|
warnOnMissingMessages: !0,
|
|
3649
3649
|
handleMissingMessage: void 0,
|
|
3650
3650
|
ignoreTag: !0
|
|
3651
|
-
},
|
|
3652
|
-
function
|
|
3653
|
-
return
|
|
3651
|
+
}, Z = Vn;
|
|
3652
|
+
function j() {
|
|
3653
|
+
return Z;
|
|
3654
3654
|
}
|
|
3655
3655
|
function Xn(e) {
|
|
3656
3656
|
const t = e, { formats: r } = t, n = Fn(t, ["formats"]);
|
|
@@ -3663,49 +3663,49 @@ function Xn(e) {
|
|
|
3663
3663
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3664
3664
|
);
|
|
3665
3665
|
}
|
|
3666
|
-
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage =
|
|
3666
|
+
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = jn : console.warn(
|
|
3667
3667
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3668
|
-
)), Object.assign(
|
|
3668
|
+
)), Object.assign(Z, n, { initialLocale: i }), r && ("number" in r && Object.assign(Z.formats.number, r.number), "date" in r && Object.assign(Z.formats.date, r.date), "time" in r && Object.assign(Z.formats.time, r.time)), N.set(i);
|
|
3669
3669
|
}
|
|
3670
3670
|
const Le = xe(!1);
|
|
3671
|
-
var Wn = Object.defineProperty,
|
|
3671
|
+
var Wn = Object.defineProperty, qn = Object.defineProperties, Jn = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
|
|
3672
3672
|
for (var r in t || (t = {}))
|
|
3673
|
-
|
|
3673
|
+
Zn.call(t, r) && lt(e, r, t[r]);
|
|
3674
3674
|
if (ut)
|
|
3675
3675
|
for (var r of ut(t))
|
|
3676
3676
|
Qn.call(t, r) && lt(e, r, t[r]);
|
|
3677
3677
|
return e;
|
|
3678
|
-
}, Kn = (e, t) =>
|
|
3679
|
-
let
|
|
3680
|
-
const
|
|
3678
|
+
}, Kn = (e, t) => qn(e, Jn(t));
|
|
3679
|
+
let je;
|
|
3680
|
+
const ve = xe(null);
|
|
3681
3681
|
function ht(e) {
|
|
3682
3682
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3683
3683
|
}
|
|
3684
|
-
function ne(e, t =
|
|
3684
|
+
function ne(e, t = j().fallbackLocale) {
|
|
3685
3685
|
const r = ht(e);
|
|
3686
3686
|
return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
|
|
3687
3687
|
}
|
|
3688
|
-
function
|
|
3689
|
-
return
|
|
3688
|
+
function I() {
|
|
3689
|
+
return je ?? void 0;
|
|
3690
3690
|
}
|
|
3691
|
-
|
|
3692
|
-
|
|
3691
|
+
ve.subscribe((e) => {
|
|
3692
|
+
je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3693
3693
|
});
|
|
3694
3694
|
const ei = (e) => {
|
|
3695
|
-
if (e &&
|
|
3696
|
-
const { loadingDelay: t } =
|
|
3695
|
+
if (e && Rn(e) && ye(e)) {
|
|
3696
|
+
const { loadingDelay: t } = j();
|
|
3697
3697
|
let r;
|
|
3698
|
-
return typeof window < "u" &&
|
|
3698
|
+
return typeof window < "u" && I() != null && t ? r = window.setTimeout(
|
|
3699
3699
|
() => Le.set(!0),
|
|
3700
3700
|
t
|
|
3701
3701
|
) : Le.set(!0), Wt(e).then(() => {
|
|
3702
|
-
|
|
3702
|
+
ve.set(e);
|
|
3703
3703
|
}).finally(() => {
|
|
3704
3704
|
clearTimeout(r), Le.set(!1);
|
|
3705
3705
|
});
|
|
3706
3706
|
}
|
|
3707
|
-
return
|
|
3708
|
-
},
|
|
3707
|
+
return ve.set(e);
|
|
3708
|
+
}, N = Kn(Yn({}, ve), {
|
|
3709
3709
|
set: ei
|
|
3710
3710
|
}), we = (e) => {
|
|
3711
3711
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -3714,9 +3714,9 @@ const ei = (e) => {
|
|
|
3714
3714
|
return i in t ? t[i] : t[i] = e(n);
|
|
3715
3715
|
};
|
|
3716
3716
|
};
|
|
3717
|
-
var ti = Object.defineProperty, Ee = Object.getOwnPropertySymbols,
|
|
3717
|
+
var ti = Object.defineProperty, Ee = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
|
|
3718
3718
|
for (var r in t || (t = {}))
|
|
3719
|
-
|
|
3719
|
+
qt.call(t, r) && ct(e, r, t[r]);
|
|
3720
3720
|
if (Ee)
|
|
3721
3721
|
for (var r of Ee(t))
|
|
3722
3722
|
Jt.call(t, r) && ct(e, r, t[r]);
|
|
@@ -3724,14 +3724,14 @@ var ti = Object.defineProperty, Ee = Object.getOwnPropertySymbols, Zt = Object.p
|
|
|
3724
3724
|
}, W = (e, t) => {
|
|
3725
3725
|
var r = {};
|
|
3726
3726
|
for (var n in e)
|
|
3727
|
-
|
|
3727
|
+
qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3728
3728
|
if (e != null && Ee)
|
|
3729
3729
|
for (var n of Ee(e))
|
|
3730
3730
|
t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
|
|
3731
3731
|
return r;
|
|
3732
3732
|
};
|
|
3733
3733
|
const ee = (e, t) => {
|
|
3734
|
-
const { formats: r } =
|
|
3734
|
+
const { formats: r } = j();
|
|
3735
3735
|
if (e in r && t in r[e])
|
|
3736
3736
|
return r[e][t];
|
|
3737
3737
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
@@ -3758,48 +3758,48 @@ const ee = (e, t) => {
|
|
|
3758
3758
|
);
|
|
3759
3759
|
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3760
3760
|
}
|
|
3761
|
-
),
|
|
3761
|
+
), oi = (e = {}) => {
|
|
3762
3762
|
var t = e, {
|
|
3763
|
-
locale: r =
|
|
3763
|
+
locale: r = I()
|
|
3764
3764
|
} = t, n = W(t, [
|
|
3765
3765
|
"locale"
|
|
3766
3766
|
]);
|
|
3767
3767
|
return ri(We({ locale: r }, n));
|
|
3768
|
-
},
|
|
3768
|
+
}, ai = (e = {}) => {
|
|
3769
3769
|
var t = e, {
|
|
3770
|
-
locale: r =
|
|
3770
|
+
locale: r = I()
|
|
3771
3771
|
} = t, n = W(t, [
|
|
3772
3772
|
"locale"
|
|
3773
3773
|
]);
|
|
3774
3774
|
return ni(We({ locale: r }, n));
|
|
3775
3775
|
}, si = (e = {}) => {
|
|
3776
3776
|
var t = e, {
|
|
3777
|
-
locale: r =
|
|
3777
|
+
locale: r = I()
|
|
3778
3778
|
} = t, n = W(t, [
|
|
3779
3779
|
"locale"
|
|
3780
3780
|
]);
|
|
3781
3781
|
return ii(We({ locale: r }, n));
|
|
3782
3782
|
}, ui = we(
|
|
3783
3783
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3784
|
-
(e, t =
|
|
3785
|
-
ignoreTag:
|
|
3784
|
+
(e, t = I()) => new Ft(e, t, j().formats, {
|
|
3785
|
+
ignoreTag: j().ignoreTag
|
|
3786
3786
|
})
|
|
3787
3787
|
), li = (e, t = {}) => {
|
|
3788
|
-
var r, n, i,
|
|
3789
|
-
let
|
|
3790
|
-
typeof e == "object" && (
|
|
3788
|
+
var r, n, i, o;
|
|
3789
|
+
let a = t;
|
|
3790
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
3791
3791
|
const {
|
|
3792
3792
|
values: s,
|
|
3793
|
-
locale: h =
|
|
3793
|
+
locale: h = I(),
|
|
3794
3794
|
default: u
|
|
3795
|
-
} =
|
|
3795
|
+
} = a;
|
|
3796
3796
|
if (h == null)
|
|
3797
3797
|
throw new Error(
|
|
3798
3798
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3799
3799
|
);
|
|
3800
|
-
let l =
|
|
3800
|
+
let l = zt(e, h);
|
|
3801
3801
|
if (!l)
|
|
3802
|
-
l = (
|
|
3802
|
+
l = (o = (i = (n = (r = j()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
3803
3803
|
else if (typeof l != "string")
|
|
3804
3804
|
return console.warn(
|
|
3805
3805
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3816,18 +3816,18 @@ const ee = (e, t) => {
|
|
|
3816
3816
|
);
|
|
3817
3817
|
}
|
|
3818
3818
|
return f;
|
|
3819
|
-
}, hi = (e, t) => si(t).format(e), ci = (e, t) =>
|
|
3820
|
-
X([
|
|
3821
|
-
X([
|
|
3822
|
-
X([
|
|
3823
|
-
X([
|
|
3819
|
+
}, hi = (e, t) => si(t).format(e), ci = (e, t) => ai(t).format(e), fi = (e, t) => oi(t).format(e), mi = (e, t = I()) => zt(e, t), di = X([N, re], () => li);
|
|
3820
|
+
X([N], () => hi);
|
|
3821
|
+
X([N], () => ci);
|
|
3822
|
+
X([N], () => fi);
|
|
3823
|
+
X([N, re], () => mi);
|
|
3824
3824
|
function ft(e, t) {
|
|
3825
3825
|
Vt(e, t);
|
|
3826
3826
|
}
|
|
3827
3827
|
function pi(e) {
|
|
3828
3828
|
Xn({
|
|
3829
3829
|
fallbackLocale: "en"
|
|
3830
|
-
}),
|
|
3830
|
+
}), N.set(e);
|
|
3831
3831
|
}
|
|
3832
3832
|
const mt = {
|
|
3833
3833
|
en: {
|
|
@@ -3887,17 +3887,46 @@ const mt = {
|
|
|
3887
3887
|
FraudSuspectedError: "Üzgünüz, ancak işleminizi şu anda gerçekleştiremiyoruz. Lütfen daha sonra tekrar deneyin veya daha fazla yardım için Müşteri Desteği ile iletişime geçin. Hata Kodu 22020.",
|
|
3888
3888
|
OnlyOnePendingTransactionPerUserlsAllowed: "Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",
|
|
3889
3889
|
TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı"
|
|
3890
|
+
},
|
|
3891
|
+
fr: {
|
|
3892
|
+
errorGeneralTitle: "Une erreur s’est produite",
|
|
3893
|
+
errorGeneralText: "Une erreur est survenue",
|
|
3894
|
+
errorGeneralButton: "FERMER",
|
|
3895
|
+
PlayerSessionIsNotValid: "La session du joueur n’est pas valide",
|
|
3896
|
+
VendorCommunicationError: "Nous sommes désolés, mais votre prestataire de paiement a refusé de traiter la demande en raison d’une erreur technique. Veuillez réessayer plus tard ou contacter votre prestataire de paiement pour obtenir de l’aide. Code d’erreur 21297",
|
|
3897
|
+
PaymentMethodNotAllowed: "Nous sommes désolés, mais ce moyen de paiement n’est pas disponible pour le moment. Veuillez contacter le service client pour obtenir de l’aide. Code d’erreur 11402",
|
|
3898
|
+
InvalidPaymentDetails: "Nous sommes désolés, mais vos informations de paiement ne sont pas valides. Veuillez vérifier que vous avez correctement saisi toutes les informations de paiement et réessayer, ou contacter le service client pour obtenir de l’aide. Code d’erreur 13555",
|
|
3899
|
+
MerchantUserHasWithdrawBlockRole: "Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de retrait depuis votre compte joueur. Code d’erreur : 21122",
|
|
3900
|
+
MerchantUserHasDepositBlockRole: "Cher joueur ! Veuillez noter que vous n’êtes actuellement pas autorisé à initier des opérations de dépôt depuis votre compte joueur. Code d’erreur : 21123",
|
|
3901
|
+
JwtTokenError: "IDX12741 : le JWT doit comporter trois segments (JWS) ou cinq segments (JWE).",
|
|
3902
|
+
TransactionIsBlockedDueToNotCompletedKyc: "Nous sommes désolés, mais nous ne pouvons pas traiter la transaction car vous n’avez pas complété le KYC. Veuillez vérifier votre identité ou contacter le service client pour obtenir de l’aide. Code d’erreur 23601",
|
|
3903
|
+
InsufficientCasinoFunds: "Votre retrait dépasse votre solde disponible. Veuillez vérifier votre solde disponible afin d’ajuster le montant du retrait",
|
|
3904
|
+
DepositWageringLimit: "Attention ! Le solde de vos gains est inférieur au montant que vous souhaitez retirer.",
|
|
3905
|
+
AmountMinLimitExceeded: "Le montant est inférieur à la limite minimale du moyen de paiement",
|
|
3906
|
+
AmountMaxLimitExceeded: "Le montant est supérieur à la limite maximale du moyen de paiement",
|
|
3907
|
+
AmountIsMissing: "Le montant est manquant",
|
|
3908
|
+
MaxCustomerTransactionsCountReached: "Il semble que vous ayez atteint la limite de fréquence des tentatives de transaction par minute. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard",
|
|
3909
|
+
VendorTimeoutError: "Il semble que le prestataire de paiement rencontre des problèmes. Le serveur met trop de temps à répondre. Veuillez patienter un moment et réessayer plus tard. Code d’erreur 21292",
|
|
3910
|
+
MerchantUserAccountIsInactive: "Refusé : le compte utilisateur marchand est inactif",
|
|
3911
|
+
MerchantUserHasDepositDenyRole: "Refusé : l’utilisateur marchand a un rôle interdisant les dépôts",
|
|
3912
|
+
TransactionCodeIsInvalid: "Le code de transaction n’est pas valide",
|
|
3913
|
+
InvalidSession: "Votre session a expiré. Veuillez réessayer",
|
|
3914
|
+
TwoFactorAuthRequired: "L’authentification à deux facteurs est requise",
|
|
3915
|
+
DeclinedByMerchant: "Nous sommes désolés, mais la transaction a été clôturée par le marchand. Veuillez contacter le service client pour obtenir de l’aide.",
|
|
3916
|
+
FraudSuspectedError: "Nous sommes désolés, mais nous ne pouvons pas traiter votre transaction pour le moment. Veuillez réessayer plus tard ou contacter le service client pour obtenir de l’aide. Code d’erreur 22020",
|
|
3917
|
+
OnlyOnePendingTransactionPerUserlsAllowed: "Une seule transaction en attente par utilisateur est autorisée",
|
|
3918
|
+
TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte"
|
|
3890
3919
|
}
|
|
3891
3920
|
};
|
|
3892
3921
|
function bi(e) {
|
|
3893
3922
|
Kt(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-typography-button, var(--emw--color-black, #000000));text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
|
|
3894
3923
|
}
|
|
3895
|
-
const gi = (e) => ({}), dt = (e) => ({}), yi = (e) => ({}), pt = (e) => ({}),
|
|
3924
|
+
const gi = (e) => ({}), dt = (e) => ({}), yi = (e) => ({}), pt = (e) => ({}), vi = (e) => ({}), bt = (e) => ({}), Ei = (e) => ({}), gt = (e) => ({ class: "CashierErrorIcon" });
|
|
3896
3925
|
function yt(e) {
|
|
3897
3926
|
let t, r;
|
|
3898
3927
|
return {
|
|
3899
3928
|
c() {
|
|
3900
|
-
t =
|
|
3929
|
+
t = C("ui-image"), Ze(t.src, r = `${/*assetsurl*/
|
|
3901
3930
|
e[0]}/error-general-icon.png`) || he(t, "src", r), he(t, "width", "300px"), he(t, "alt", "error");
|
|
3902
3931
|
},
|
|
3903
3932
|
m(n, i) {
|
|
@@ -3905,15 +3934,15 @@ function yt(e) {
|
|
|
3905
3934
|
},
|
|
3906
3935
|
p(n, i) {
|
|
3907
3936
|
i & /*assetsurl*/
|
|
3908
|
-
1 && !
|
|
3937
|
+
1 && !Ze(t.src, r = `${/*assetsurl*/
|
|
3909
3938
|
n[0]}/error-general-icon.png`) && he(t, "src", r);
|
|
3910
3939
|
},
|
|
3911
3940
|
d(n) {
|
|
3912
|
-
n &&
|
|
3941
|
+
n && M(t);
|
|
3913
3942
|
}
|
|
3914
3943
|
};
|
|
3915
3944
|
}
|
|
3916
|
-
function
|
|
3945
|
+
function _i(e) {
|
|
3917
3946
|
let t, r = (
|
|
3918
3947
|
/*assetsurl*/
|
|
3919
3948
|
e[0] && yt(e)
|
|
@@ -3930,7 +3959,7 @@ function vi(e) {
|
|
|
3930
3959
|
n[0] ? r ? r.p(n, i) : (r = yt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
3931
3960
|
},
|
|
3932
3961
|
d(n) {
|
|
3933
|
-
n &&
|
|
3962
|
+
n && M(t), r && r.d(n);
|
|
3934
3963
|
}
|
|
3935
3964
|
};
|
|
3936
3965
|
}
|
|
@@ -3942,19 +3971,19 @@ function xi(e) {
|
|
|
3942
3971
|
), n;
|
|
3943
3972
|
return {
|
|
3944
3973
|
c() {
|
|
3945
|
-
t =
|
|
3974
|
+
t = C("span"), n = _e(r), k(t, "class", "CashierErrorText");
|
|
3946
3975
|
},
|
|
3947
|
-
m(i,
|
|
3948
|
-
V(i, t,
|
|
3976
|
+
m(i, o) {
|
|
3977
|
+
V(i, t, o), P(t, n);
|
|
3949
3978
|
},
|
|
3950
|
-
p(i,
|
|
3951
|
-
|
|
3979
|
+
p(i, o) {
|
|
3980
|
+
o & /*$_, errorcode*/
|
|
3952
3981
|
10 && r !== (r = /*$_*/
|
|
3953
3982
|
i[3](`${/*errorcode*/
|
|
3954
3983
|
i[1] || "errorGeneralText"}`) + "") && Tt(n, r);
|
|
3955
3984
|
},
|
|
3956
3985
|
d(i) {
|
|
3957
|
-
i &&
|
|
3986
|
+
i && M(t);
|
|
3958
3987
|
}
|
|
3959
3988
|
};
|
|
3960
3989
|
}
|
|
@@ -3962,18 +3991,18 @@ function Ti(e) {
|
|
|
3962
3991
|
let t, r, n = (
|
|
3963
3992
|
/*$_*/
|
|
3964
3993
|
e[3]("errorGeneralButton") + ""
|
|
3965
|
-
), i,
|
|
3994
|
+
), i, o, a;
|
|
3966
3995
|
return {
|
|
3967
3996
|
c() {
|
|
3968
|
-
t =
|
|
3997
|
+
t = C("button"), r = C("span"), i = _e(n), k(t, "class", "CashierErrorButton");
|
|
3969
3998
|
},
|
|
3970
3999
|
m(s, h) {
|
|
3971
|
-
V(s, t, h), P(t, r), P(r, i),
|
|
4000
|
+
V(s, t, h), P(t, r), P(r, i), o || (a = nr(
|
|
3972
4001
|
t,
|
|
3973
4002
|
"click",
|
|
3974
4003
|
/*close*/
|
|
3975
4004
|
e[4]
|
|
3976
|
-
),
|
|
4005
|
+
), o = !0);
|
|
3977
4006
|
},
|
|
3978
4007
|
p(s, h) {
|
|
3979
4008
|
h & /*$_*/
|
|
@@ -3981,25 +4010,25 @@ function Ti(e) {
|
|
|
3981
4010
|
s[3]("errorGeneralButton") + "") && Tt(i, n);
|
|
3982
4011
|
},
|
|
3983
4012
|
d(s) {
|
|
3984
|
-
s &&
|
|
4013
|
+
s && M(t), o = !1, a();
|
|
3985
4014
|
}
|
|
3986
4015
|
};
|
|
3987
4016
|
}
|
|
3988
4017
|
function Hi(e) {
|
|
3989
|
-
let t, r, n, i,
|
|
4018
|
+
let t, r, n, i, o, a;
|
|
3990
4019
|
const s = (
|
|
3991
4020
|
/*#slots*/
|
|
3992
4021
|
e[11].icon
|
|
3993
|
-
), h =
|
|
4022
|
+
), h = ae(
|
|
3994
4023
|
s,
|
|
3995
4024
|
e,
|
|
3996
4025
|
/*$$scope*/
|
|
3997
4026
|
e[10],
|
|
3998
4027
|
gt
|
|
3999
|
-
), u = h ||
|
|
4028
|
+
), u = h || _i(e), l = (
|
|
4000
4029
|
/*#slots*/
|
|
4001
4030
|
e[11].title
|
|
4002
|
-
), f =
|
|
4031
|
+
), f = ae(
|
|
4003
4032
|
l,
|
|
4004
4033
|
e,
|
|
4005
4034
|
/*$$scope*/
|
|
@@ -4008,17 +4037,17 @@ function Hi(e) {
|
|
|
4008
4037
|
), m = (
|
|
4009
4038
|
/*#slots*/
|
|
4010
4039
|
e[11].text
|
|
4011
|
-
), d =
|
|
4040
|
+
), d = ae(
|
|
4012
4041
|
m,
|
|
4013
4042
|
e,
|
|
4014
4043
|
/*$$scope*/
|
|
4015
4044
|
e[10],
|
|
4016
4045
|
pt
|
|
4017
|
-
), p = d || xi(e),
|
|
4046
|
+
), p = d || xi(e), _ = (
|
|
4018
4047
|
/*#slots*/
|
|
4019
4048
|
e[11].button
|
|
4020
|
-
), T =
|
|
4021
|
-
|
|
4049
|
+
), T = ae(
|
|
4050
|
+
_,
|
|
4022
4051
|
e,
|
|
4023
4052
|
/*$$scope*/
|
|
4024
4053
|
e[10],
|
|
@@ -4026,20 +4055,20 @@ function Hi(e) {
|
|
|
4026
4055
|
), x = T || Ti(e);
|
|
4027
4056
|
return {
|
|
4028
4057
|
c() {
|
|
4029
|
-
t =
|
|
4058
|
+
t = C("div"), r = C("div"), u && u.c(), n = Se(), f && f.c(), i = Se(), p && p.c(), o = Se(), x && x.c(), k(r, "class", "CashierErrorContent"), k(t, "class", "CashierError");
|
|
4030
4059
|
},
|
|
4031
4060
|
m(c, g) {
|
|
4032
|
-
V(c, t, g), P(t, r), u && u.m(r, null), P(r, n), f && f.m(r, null), P(r, i), p && p.m(r, null), P(r,
|
|
4061
|
+
V(c, t, g), P(t, r), u && u.m(r, null), P(r, n), f && f.m(r, null), P(r, i), p && p.m(r, null), P(r, o), x && x.m(r, null), e[12](t), a = !0;
|
|
4033
4062
|
},
|
|
4034
4063
|
p(c, [g]) {
|
|
4035
|
-
h ? h.p && (!
|
|
4064
|
+
h ? h.p && (!a || g & /*$$scope*/
|
|
4036
4065
|
1024) && ue(
|
|
4037
4066
|
h,
|
|
4038
4067
|
s,
|
|
4039
4068
|
c,
|
|
4040
4069
|
/*$$scope*/
|
|
4041
4070
|
c[10],
|
|
4042
|
-
|
|
4071
|
+
a ? se(
|
|
4043
4072
|
s,
|
|
4044
4073
|
/*$$scope*/
|
|
4045
4074
|
c[10],
|
|
@@ -4050,33 +4079,33 @@ function Hi(e) {
|
|
|
4050
4079
|
c[10]
|
|
4051
4080
|
),
|
|
4052
4081
|
gt
|
|
4053
|
-
) : u && u.p && (!
|
|
4054
|
-
1) && u.p(c,
|
|
4082
|
+
) : u && u.p && (!a || g & /*assetsurl*/
|
|
4083
|
+
1) && u.p(c, a ? g : -1), f && f.p && (!a || g & /*$$scope*/
|
|
4055
4084
|
1024) && ue(
|
|
4056
4085
|
f,
|
|
4057
4086
|
l,
|
|
4058
4087
|
c,
|
|
4059
4088
|
/*$$scope*/
|
|
4060
4089
|
c[10],
|
|
4061
|
-
|
|
4090
|
+
a ? se(
|
|
4062
4091
|
l,
|
|
4063
4092
|
/*$$scope*/
|
|
4064
4093
|
c[10],
|
|
4065
4094
|
g,
|
|
4066
|
-
|
|
4095
|
+
vi
|
|
4067
4096
|
) : le(
|
|
4068
4097
|
/*$$scope*/
|
|
4069
4098
|
c[10]
|
|
4070
4099
|
),
|
|
4071
4100
|
bt
|
|
4072
|
-
), d ? d.p && (!
|
|
4101
|
+
), d ? d.p && (!a || g & /*$$scope*/
|
|
4073
4102
|
1024) && ue(
|
|
4074
4103
|
d,
|
|
4075
4104
|
m,
|
|
4076
4105
|
c,
|
|
4077
4106
|
/*$$scope*/
|
|
4078
4107
|
c[10],
|
|
4079
|
-
|
|
4108
|
+
a ? se(
|
|
4080
4109
|
m,
|
|
4081
4110
|
/*$$scope*/
|
|
4082
4111
|
c[10],
|
|
@@ -4087,16 +4116,16 @@ function Hi(e) {
|
|
|
4087
4116
|
c[10]
|
|
4088
4117
|
),
|
|
4089
4118
|
pt
|
|
4090
|
-
) : p && p.p && (!
|
|
4091
|
-
10) && p.p(c,
|
|
4119
|
+
) : p && p.p && (!a || g & /*$_, errorcode*/
|
|
4120
|
+
10) && p.p(c, a ? g : -1), T ? T.p && (!a || g & /*$$scope*/
|
|
4092
4121
|
1024) && ue(
|
|
4093
4122
|
T,
|
|
4094
|
-
|
|
4123
|
+
_,
|
|
4095
4124
|
c,
|
|
4096
4125
|
/*$$scope*/
|
|
4097
4126
|
c[10],
|
|
4098
|
-
|
|
4099
|
-
|
|
4127
|
+
a ? se(
|
|
4128
|
+
_,
|
|
4100
4129
|
/*$$scope*/
|
|
4101
4130
|
c[10],
|
|
4102
4131
|
g,
|
|
@@ -4106,27 +4135,27 @@ function Hi(e) {
|
|
|
4106
4135
|
c[10]
|
|
4107
4136
|
),
|
|
4108
4137
|
dt
|
|
4109
|
-
) : x && x.p && (!
|
|
4110
|
-
8) && x.p(c,
|
|
4138
|
+
) : x && x.p && (!a || g & /*$_*/
|
|
4139
|
+
8) && x.p(c, a ? g : -1);
|
|
4111
4140
|
},
|
|
4112
4141
|
i(c) {
|
|
4113
|
-
|
|
4142
|
+
a || (J(u, c), J(f, c), J(p, c), J(x, c), a = !0);
|
|
4114
4143
|
},
|
|
4115
4144
|
o(c) {
|
|
4116
|
-
ce(u, c), ce(f, c), ce(p, c), ce(x, c),
|
|
4145
|
+
ce(u, c), ce(f, c), ce(p, c), ce(x, c), a = !1;
|
|
4117
4146
|
},
|
|
4118
4147
|
d(c) {
|
|
4119
|
-
c &&
|
|
4148
|
+
c && M(t), u && u.d(c), f && f.d(c), p && p.d(c), x && x.d(c), e[12](null);
|
|
4120
4149
|
}
|
|
4121
4150
|
};
|
|
4122
4151
|
}
|
|
4123
4152
|
function wi(e, t, r) {
|
|
4124
4153
|
let n;
|
|
4125
4154
|
Yt(e, di, (c) => r(3, n = c));
|
|
4126
|
-
let { $$slots: i = {}, $$scope:
|
|
4155
|
+
let { $$slots: i = {}, $$scope: o } = t, { assetsurl: a = "" } = t, { lang: s = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { mbsource: m = "" } = t, d;
|
|
4127
4156
|
const p = () => {
|
|
4128
4157
|
pi(s);
|
|
4129
|
-
},
|
|
4158
|
+
}, _ = () => {
|
|
4130
4159
|
fetch(f).then((g) => g.json()).then((g) => {
|
|
4131
4160
|
Object.keys(g).forEach((A) => {
|
|
4132
4161
|
ft(A, g[A]);
|
|
@@ -4144,21 +4173,21 @@ function wi(e, t, r) {
|
|
|
4144
4173
|
sr(() => () => {
|
|
4145
4174
|
});
|
|
4146
4175
|
function x(c) {
|
|
4147
|
-
|
|
4176
|
+
Me[c ? "unshift" : "push"](() => {
|
|
4148
4177
|
d = c, r(2, d);
|
|
4149
4178
|
});
|
|
4150
4179
|
}
|
|
4151
4180
|
return e.$$set = (c) => {
|
|
4152
|
-
"assetsurl" in c && r(0,
|
|
4181
|
+
"assetsurl" in c && r(0, a = c.assetsurl), "lang" in c && r(5, s = c.lang), "errorcode" in c && r(1, h = c.errorcode), "clientstyling" in c && r(6, u = c.clientstyling), "clientstylingurl" in c && r(7, l = c.clientstylingurl), "translationurl" in c && r(8, f = c.translationurl), "mbsource" in c && r(9, m = c.mbsource), "$$scope" in c && r(10, o = c.$$scope);
|
|
4153
4182
|
}, e.$$.update = () => {
|
|
4154
4183
|
e.$$.dirty & /*lang*/
|
|
4155
4184
|
32 && s && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4156
4185
|
68 && u && d && Er(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4157
|
-
132 && l && d &&
|
|
4186
|
+
132 && l && d && _r(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4158
4187
|
516 && m && d && xr(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
|
|
4159
|
-
256 && f &&
|
|
4188
|
+
256 && f && _();
|
|
4160
4189
|
}, [
|
|
4161
|
-
|
|
4190
|
+
a,
|
|
4162
4191
|
h,
|
|
4163
4192
|
d,
|
|
4164
4193
|
n,
|
|
@@ -4168,7 +4197,7 @@ function wi(e, t, r) {
|
|
|
4168
4197
|
l,
|
|
4169
4198
|
f,
|
|
4170
4199
|
m,
|
|
4171
|
-
|
|
4200
|
+
o,
|
|
4172
4201
|
i,
|
|
4173
4202
|
x
|
|
4174
4203
|
];
|