@everymatrix/cashier-receipt-page-nd 1.69.190 → 1.69.304
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-CDMMAaXq.js → CashierError-B-08axGv.js} +480 -445
- package/components/{CashierError-B-JgaWUg.js → CashierError-C2zSZXp0.js} +552 -517
- package/components/{CashierError-CcXkeFHB.cjs → CashierError-Sfo_uA5-.cjs} +5 -5
- package/components/CashierReceiptPage-CKi2hhnN.cjs +43 -0
- package/components/{CashierReceiptPage-Df7VRX41.js → CashierReceiptPage-CeMCU_Vf.js} +674 -582
- package/components/{CashierReceiptPage-Bb7XSwhh.js → CashierReceiptPage-_UZ-_aEu.js} +630 -538
- package/es2015/cashier-receipt-page-nd.cjs +1 -1
- package/es2015/cashier-receipt-page-nd.js +1 -1
- package/esnext/cashier-receipt-page-nd.js +1 -1
- package/package.json +3 -2
- package/components/CashierReceiptPage-fDyojfbE.cjs +0 -43
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import "../stencil/ui-image-Ch-GHki1.js";
|
|
2
2
|
function w() {
|
|
3
3
|
}
|
|
4
|
-
const
|
|
4
|
+
const Bt = (e) => e;
|
|
5
5
|
function pr(e, t) {
|
|
6
6
|
for (const r in t)
|
|
7
7
|
e[r] = t[r];
|
|
@@ -19,7 +19,7 @@ function it() {
|
|
|
19
19
|
function $(e) {
|
|
20
20
|
e.forEach(Pt);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function ae(e) {
|
|
23
23
|
return typeof e == "function";
|
|
24
24
|
}
|
|
25
25
|
function Ot(e, t) {
|
|
@@ -32,7 +32,7 @@ function st(e, t) {
|
|
|
32
32
|
function gr(e) {
|
|
33
33
|
return Object.keys(e).length === 0;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Ct(e, ...t) {
|
|
36
36
|
if (e == null) {
|
|
37
37
|
for (const n of t)
|
|
38
38
|
n(void 0);
|
|
@@ -42,15 +42,15 @@ function It(e, ...t) {
|
|
|
42
42
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
43
43
|
}
|
|
44
44
|
function br(e, t, r) {
|
|
45
|
-
e.$$.on_destroy.push(
|
|
45
|
+
e.$$.on_destroy.push(Ct(t, r));
|
|
46
46
|
}
|
|
47
47
|
function ce(e, t, r, n) {
|
|
48
48
|
if (e) {
|
|
49
|
-
const i =
|
|
49
|
+
const i = It(e, t, r, n);
|
|
50
50
|
return e[0](i);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
|
-
function
|
|
53
|
+
function It(e, t, r, n) {
|
|
54
54
|
return e[1] && n ? pr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
55
55
|
}
|
|
56
56
|
function fe(e, t, r, n) {
|
|
@@ -59,9 +59,9 @@ function fe(e, t, r, n) {
|
|
|
59
59
|
if (t.dirty === void 0)
|
|
60
60
|
return i;
|
|
61
61
|
if (typeof i == "object") {
|
|
62
|
-
const s = [],
|
|
63
|
-
for (let
|
|
64
|
-
s[
|
|
62
|
+
const s = [], a = Math.max(t.dirty.length, i.length);
|
|
63
|
+
for (let o = 0; o < a; o += 1)
|
|
64
|
+
s[o] = t.dirty[o] | i[o];
|
|
65
65
|
return s;
|
|
66
66
|
}
|
|
67
67
|
return t.dirty | i;
|
|
@@ -70,8 +70,8 @@ function fe(e, t, r, n) {
|
|
|
70
70
|
}
|
|
71
71
|
function me(e, t, r, n, i, s) {
|
|
72
72
|
if (i) {
|
|
73
|
-
const
|
|
74
|
-
e.p(
|
|
73
|
+
const a = It(t, r, n, s);
|
|
74
|
+
e.p(a, i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
function de(e) {
|
|
@@ -83,17 +83,17 @@ function de(e) {
|
|
|
83
83
|
}
|
|
84
84
|
return -1;
|
|
85
85
|
}
|
|
86
|
-
const
|
|
87
|
-
let
|
|
86
|
+
const Lt = typeof window < "u";
|
|
87
|
+
let Mt = Lt ? () => window.performance.now() : () => Date.now(), Ke = Lt ? (e) => requestAnimationFrame(e) : w;
|
|
88
88
|
const G = /* @__PURE__ */ new Set();
|
|
89
|
-
function
|
|
89
|
+
function Nt(e) {
|
|
90
90
|
G.forEach((t) => {
|
|
91
91
|
t.c(e) || (G.delete(t), t.f());
|
|
92
|
-
}), G.size !== 0 && Ke(
|
|
92
|
+
}), G.size !== 0 && Ke(Nt);
|
|
93
93
|
}
|
|
94
94
|
function $t(e) {
|
|
95
95
|
let t;
|
|
96
|
-
return G.size === 0 && Ke(
|
|
96
|
+
return G.size === 0 && Ke(Nt), {
|
|
97
97
|
promise: new Promise((r) => {
|
|
98
98
|
G.add(t = { c: e, f: r });
|
|
99
99
|
}),
|
|
@@ -133,13 +133,13 @@ function Rt(e, t) {
|
|
|
133
133
|
t
|
|
134
134
|
), t.sheet;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function q(e, t, r) {
|
|
137
137
|
e.insertBefore(t, r || null);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function L(e) {
|
|
140
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function qi(e, t) {
|
|
143
143
|
for (let r = 0; r < e.length; r += 1)
|
|
144
144
|
e[r] && e[r].d(t);
|
|
145
145
|
}
|
|
@@ -152,21 +152,21 @@ function Ji(e) {
|
|
|
152
152
|
function Pe(e) {
|
|
153
153
|
return document.createTextNode(e);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
155
|
+
function Me() {
|
|
156
156
|
return Pe(" ");
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function vr() {
|
|
159
159
|
return Pe("");
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Er(e, t, r, n) {
|
|
162
162
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function z(e, t, r) {
|
|
165
165
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
166
166
|
}
|
|
167
167
|
function pe(e, t, r) {
|
|
168
168
|
const n = t.toLowerCase();
|
|
169
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
169
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : z(e, t, r);
|
|
170
170
|
}
|
|
171
171
|
function xr(e) {
|
|
172
172
|
return Array.from(e.childNodes);
|
|
@@ -199,17 +199,17 @@ function Sr(e, t) {
|
|
|
199
199
|
const r = { stylesheet: _r(t), rules: {} };
|
|
200
200
|
return xe.set(e, r), r;
|
|
201
201
|
}
|
|
202
|
-
function Ut(e, t, r, n, i, s,
|
|
202
|
+
function Ut(e, t, r, n, i, s, a, o = 0) {
|
|
203
203
|
const h = 16.666 / n;
|
|
204
204
|
let u = `{
|
|
205
205
|
`;
|
|
206
|
-
for (let
|
|
207
|
-
const
|
|
208
|
-
u +=
|
|
206
|
+
for (let E = 0; E <= 1; E += h) {
|
|
207
|
+
const v = t + (r - t) * s(E);
|
|
208
|
+
u += E * 100 + `%{${a(v, 1 - v)}}
|
|
209
209
|
`;
|
|
210
210
|
}
|
|
211
|
-
const l = u + `100% {${
|
|
212
|
-
}`, c = `__svelte_${wr(l)}_${
|
|
211
|
+
const l = u + `100% {${a(r, 1 - r)}}
|
|
212
|
+
}`, c = `__svelte_${wr(l)}_${o}`, m = et(e), { stylesheet: d, rules: p } = xe.get(m) || Sr(m, e);
|
|
213
213
|
p[c] || (p[c] = !0, d.insertRule(`@keyframes ${c} ${l}`, d.cssRules.length));
|
|
214
214
|
const _ = e.style.animation || "";
|
|
215
215
|
return e.style.animation = `${_ ? `${_}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, Te += 1, c;
|
|
@@ -219,13 +219,13 @@ function Fe(e, t) {
|
|
|
219
219
|
t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
|
|
220
220
|
// remove all Svelte animations
|
|
221
221
|
), i = r.length - n.length;
|
|
222
|
-
i && (e.style.animation = n.join(", "), Te -= i, Te ||
|
|
222
|
+
i && (e.style.animation = n.join(", "), Te -= i, Te || Ar());
|
|
223
223
|
}
|
|
224
|
-
function
|
|
224
|
+
function Ar() {
|
|
225
225
|
Ke(() => {
|
|
226
226
|
Te || (xe.forEach((e) => {
|
|
227
227
|
const { ownerNode: t } = e.stylesheet;
|
|
228
|
-
t &&
|
|
228
|
+
t && L(t);
|
|
229
229
|
}), xe.clear());
|
|
230
230
|
});
|
|
231
231
|
}
|
|
@@ -233,27 +233,27 @@ let re;
|
|
|
233
233
|
function te(e) {
|
|
234
234
|
re = e;
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function Br() {
|
|
237
237
|
if (!re)
|
|
238
238
|
throw new Error("Function called outside component initialization");
|
|
239
239
|
return re;
|
|
240
240
|
}
|
|
241
241
|
function Pr(e) {
|
|
242
|
-
|
|
242
|
+
Br().$$.on_mount.push(e);
|
|
243
243
|
}
|
|
244
|
-
const k = [],
|
|
244
|
+
const k = [], ze = [];
|
|
245
245
|
let F = [];
|
|
246
|
-
const
|
|
247
|
-
let
|
|
248
|
-
function
|
|
249
|
-
|
|
246
|
+
const at = [], Or = /* @__PURE__ */ Promise.resolve();
|
|
247
|
+
let je = !1;
|
|
248
|
+
function Cr() {
|
|
249
|
+
je || (je = !0, Or.then(B));
|
|
250
250
|
}
|
|
251
251
|
function ne(e) {
|
|
252
252
|
F.push(e);
|
|
253
253
|
}
|
|
254
|
-
const
|
|
254
|
+
const Ne = /* @__PURE__ */ new Set();
|
|
255
255
|
let D = 0;
|
|
256
|
-
function
|
|
256
|
+
function B() {
|
|
257
257
|
if (D !== 0)
|
|
258
258
|
return;
|
|
259
259
|
const e = re;
|
|
@@ -261,31 +261,31 @@ function A() {
|
|
|
261
261
|
try {
|
|
262
262
|
for (; D < k.length; ) {
|
|
263
263
|
const t = k[D];
|
|
264
|
-
D++, te(t),
|
|
264
|
+
D++, te(t), Ir(t.$$);
|
|
265
265
|
}
|
|
266
266
|
} catch (t) {
|
|
267
267
|
throw k.length = 0, D = 0, t;
|
|
268
268
|
}
|
|
269
|
-
for (te(null), k.length = 0, D = 0;
|
|
270
|
-
|
|
269
|
+
for (te(null), k.length = 0, D = 0; ze.length; )
|
|
270
|
+
ze.pop()();
|
|
271
271
|
for (let t = 0; t < F.length; t += 1) {
|
|
272
272
|
const r = F[t];
|
|
273
|
-
|
|
273
|
+
Ne.has(r) || (Ne.add(r), r());
|
|
274
274
|
}
|
|
275
275
|
F.length = 0;
|
|
276
276
|
} while (k.length);
|
|
277
|
-
for (;
|
|
278
|
-
|
|
279
|
-
|
|
277
|
+
for (; at.length; )
|
|
278
|
+
at.pop()();
|
|
279
|
+
je = !1, Ne.clear(), te(e);
|
|
280
280
|
}
|
|
281
|
-
function
|
|
281
|
+
function Ir(e) {
|
|
282
282
|
if (e.fragment !== null) {
|
|
283
283
|
e.update(), $(e.before_update);
|
|
284
284
|
const t = e.dirty;
|
|
285
285
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ne);
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
|
-
function
|
|
288
|
+
function Lr(e) {
|
|
289
289
|
const t = [], r = [];
|
|
290
290
|
F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
|
|
291
291
|
}
|
|
@@ -299,17 +299,17 @@ function He(e, t, r) {
|
|
|
299
299
|
e.dispatchEvent(Tr(`${t ? "intro" : "outro"}${r}`));
|
|
300
300
|
}
|
|
301
301
|
const ye = /* @__PURE__ */ new Set();
|
|
302
|
-
let
|
|
303
|
-
function
|
|
304
|
-
|
|
302
|
+
let C;
|
|
303
|
+
function Zi() {
|
|
304
|
+
C = {
|
|
305
305
|
r: 0,
|
|
306
306
|
c: [],
|
|
307
|
-
p:
|
|
307
|
+
p: C
|
|
308
308
|
// parent group
|
|
309
309
|
};
|
|
310
310
|
}
|
|
311
311
|
function Qi() {
|
|
312
|
-
|
|
312
|
+
C.r || $(C.c), C = C.p;
|
|
313
313
|
}
|
|
314
314
|
function K(e, t) {
|
|
315
315
|
e && e.i && (ye.delete(e), e.i(t));
|
|
@@ -318,7 +318,7 @@ function ge(e, t, r, n) {
|
|
|
318
318
|
if (e && e.o) {
|
|
319
319
|
if (ye.has(e))
|
|
320
320
|
return;
|
|
321
|
-
ye.add(e),
|
|
321
|
+
ye.add(e), C.c.push(() => {
|
|
322
322
|
ye.delete(e), n && (r && e.d(1), n());
|
|
323
323
|
}), e.o(t);
|
|
324
324
|
} else
|
|
@@ -327,26 +327,26 @@ function ge(e, t, r, n) {
|
|
|
327
327
|
const Gt = { duration: 0 };
|
|
328
328
|
function Yi(e, t, r) {
|
|
329
329
|
const n = { direction: "in" };
|
|
330
|
-
let i = t(e, r, n), s = !1,
|
|
330
|
+
let i = t(e, r, n), s = !1, a, o, h = 0;
|
|
331
331
|
function u() {
|
|
332
|
-
|
|
332
|
+
a && Fe(e, a);
|
|
333
333
|
}
|
|
334
334
|
function l() {
|
|
335
335
|
const {
|
|
336
336
|
delay: m = 0,
|
|
337
337
|
duration: d = 300,
|
|
338
|
-
easing: p =
|
|
338
|
+
easing: p = Bt,
|
|
339
339
|
tick: _ = w,
|
|
340
|
-
css:
|
|
340
|
+
css: E
|
|
341
341
|
} = i || Gt;
|
|
342
|
-
|
|
343
|
-
const
|
|
344
|
-
|
|
342
|
+
E && (a = Ut(e, 0, 1, d, m, p, E, h++)), _(0, 1);
|
|
343
|
+
const v = Mt() + m, f = v + d;
|
|
344
|
+
o && o.abort(), s = !0, ne(() => He(e, !0, "start")), o = $t((g) => {
|
|
345
345
|
if (s) {
|
|
346
346
|
if (g >= f)
|
|
347
347
|
return _(1, 0), He(e, !0, "end"), u(), s = !1;
|
|
348
|
-
if (g >=
|
|
349
|
-
const S = p((g -
|
|
348
|
+
if (g >= v) {
|
|
349
|
+
const S = p((g - v) / d);
|
|
350
350
|
_(S, 1 - S);
|
|
351
351
|
}
|
|
352
352
|
}
|
|
@@ -356,7 +356,7 @@ function Yi(e, t, r) {
|
|
|
356
356
|
let c = !1;
|
|
357
357
|
return {
|
|
358
358
|
start() {
|
|
359
|
-
c || (c = !0, Fe(e),
|
|
359
|
+
c || (c = !0, Fe(e), ae(i) ? (i = i(n), kt().then(l)) : l());
|
|
360
360
|
},
|
|
361
361
|
invalidate() {
|
|
362
362
|
c = !1;
|
|
@@ -368,59 +368,59 @@ function Yi(e, t, r) {
|
|
|
368
368
|
}
|
|
369
369
|
function Ki(e, t, r) {
|
|
370
370
|
const n = { direction: "out" };
|
|
371
|
-
let i = t(e, r, n), s = !0,
|
|
372
|
-
const
|
|
373
|
-
|
|
371
|
+
let i = t(e, r, n), s = !0, a;
|
|
372
|
+
const o = C;
|
|
373
|
+
o.r += 1;
|
|
374
374
|
let h;
|
|
375
375
|
function u() {
|
|
376
376
|
const {
|
|
377
377
|
delay: l = 0,
|
|
378
378
|
duration: c = 300,
|
|
379
|
-
easing: m =
|
|
379
|
+
easing: m = Bt,
|
|
380
380
|
tick: d = w,
|
|
381
381
|
css: p
|
|
382
382
|
} = i || Gt;
|
|
383
|
-
p && (
|
|
384
|
-
const _ =
|
|
383
|
+
p && (a = Ut(e, 1, 0, c, l, m, p));
|
|
384
|
+
const _ = Mt() + l, E = _ + c;
|
|
385
385
|
ne(() => He(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
|
|
386
|
-
e.inert, e.inert = !0), $t((
|
|
386
|
+
e.inert, e.inert = !0), $t((v) => {
|
|
387
387
|
if (s) {
|
|
388
|
-
if (
|
|
389
|
-
return d(0, 1), He(e, !1, "end"), --
|
|
390
|
-
if (
|
|
391
|
-
const f = m((
|
|
388
|
+
if (v >= E)
|
|
389
|
+
return d(0, 1), He(e, !1, "end"), --o.r || $(o.c), !1;
|
|
390
|
+
if (v >= _) {
|
|
391
|
+
const f = m((v - _) / c);
|
|
392
392
|
d(1 - f, f);
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
return s;
|
|
396
396
|
});
|
|
397
397
|
}
|
|
398
|
-
return
|
|
398
|
+
return ae(i) ? kt().then(() => {
|
|
399
399
|
i = i(n), u();
|
|
400
400
|
}) : u(), {
|
|
401
401
|
end(l) {
|
|
402
|
-
l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (
|
|
402
|
+
l && "inert" in e && (e.inert = h), l && i.tick && i.tick(1, 0), s && (a && Fe(e, a), s = !1);
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
406
|
function es(e) {
|
|
407
407
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
408
408
|
}
|
|
409
|
-
function
|
|
409
|
+
function Mr(e, t, r) {
|
|
410
410
|
const { fragment: n, after_update: i } = e.$$;
|
|
411
411
|
n && n.m(t, r), ne(() => {
|
|
412
|
-
const s = e.$$.on_mount.map(Pt).filter(
|
|
412
|
+
const s = e.$$.on_mount.map(Pt).filter(ae);
|
|
413
413
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : $(s), e.$$.on_mount = [];
|
|
414
414
|
}), i.forEach(ne);
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function Nr(e, t) {
|
|
417
417
|
const r = e.$$;
|
|
418
|
-
r.fragment !== null && (
|
|
418
|
+
r.fragment !== null && (Lr(r.after_update), $(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
419
419
|
}
|
|
420
420
|
function $r(e, t) {
|
|
421
|
-
e.$$.dirty[0] === -1 && (k.push(e),
|
|
421
|
+
e.$$.dirty[0] === -1 && (k.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
422
422
|
}
|
|
423
|
-
function Rr(e, t, r, n, i, s,
|
|
423
|
+
function Rr(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
424
424
|
const h = re;
|
|
425
425
|
te(e);
|
|
426
426
|
const u = e.$$ = {
|
|
@@ -440,11 +440,11 @@ function Rr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
440
440
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
441
441
|
// everything else
|
|
442
442
|
callbacks: it(),
|
|
443
|
-
dirty:
|
|
443
|
+
dirty: o,
|
|
444
444
|
skip_bound: !1,
|
|
445
445
|
root: t.target || h.$$.root
|
|
446
446
|
};
|
|
447
|
-
|
|
447
|
+
a && a(u.root);
|
|
448
448
|
let l = !1;
|
|
449
449
|
if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
|
|
450
450
|
const p = d.length ? d[0] : m;
|
|
@@ -452,10 +452,10 @@ function Rr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
452
452
|
}) : [], u.update(), l = !0, $(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
453
453
|
if (t.hydrate) {
|
|
454
454
|
const c = xr(t.target);
|
|
455
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
455
|
+
u.fragment && u.fragment.l(c), c.forEach(L);
|
|
456
456
|
} else
|
|
457
457
|
u.fragment && u.fragment.c();
|
|
458
|
-
t.intro && K(e.$$.fragment),
|
|
458
|
+
t.intro && K(e.$$.fragment), Mr(e, t.target, t.anchor), B();
|
|
459
459
|
}
|
|
460
460
|
te(h);
|
|
461
461
|
}
|
|
@@ -502,17 +502,17 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
502
502
|
let s;
|
|
503
503
|
return {
|
|
504
504
|
c: function() {
|
|
505
|
-
s = P("slot"), i !== "default" &&
|
|
505
|
+
s = P("slot"), i !== "default" && z(s, "name", i);
|
|
506
506
|
},
|
|
507
507
|
/**
|
|
508
508
|
* @param {HTMLElement} target
|
|
509
509
|
* @param {HTMLElement} [anchor]
|
|
510
510
|
*/
|
|
511
511
|
m: function(h, u) {
|
|
512
|
-
|
|
512
|
+
q(h, s, u);
|
|
513
513
|
},
|
|
514
514
|
d: function(h) {
|
|
515
|
-
h &&
|
|
515
|
+
h && L(s);
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
518
|
};
|
|
@@ -555,8 +555,8 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
555
555
|
this.$$c.$$.after_update.push(n), n();
|
|
556
556
|
for (const i in this.$$l)
|
|
557
557
|
for (const s of this.$$l[i]) {
|
|
558
|
-
const
|
|
559
|
-
this.$$l_u.set(s,
|
|
558
|
+
const a = this.$$c.$on(i, s);
|
|
559
|
+
this.$$l_u.set(s, a);
|
|
560
560
|
}
|
|
561
561
|
this.$$l = {};
|
|
562
562
|
}
|
|
@@ -607,33 +607,33 @@ function _e(e, t, r, n) {
|
|
|
607
607
|
}
|
|
608
608
|
}
|
|
609
609
|
function Dr(e, t, r, n, i, s) {
|
|
610
|
-
let
|
|
610
|
+
let a = class extends Ft {
|
|
611
611
|
constructor() {
|
|
612
612
|
super(e, r, i), this.$$p_d = t;
|
|
613
613
|
}
|
|
614
614
|
static get observedAttributes() {
|
|
615
615
|
return Object.keys(t).map(
|
|
616
|
-
(
|
|
616
|
+
(o) => (t[o].attribute || o).toLowerCase()
|
|
617
617
|
);
|
|
618
618
|
}
|
|
619
619
|
};
|
|
620
|
-
return Object.keys(t).forEach((
|
|
621
|
-
Object.defineProperty(
|
|
620
|
+
return Object.keys(t).forEach((o) => {
|
|
621
|
+
Object.defineProperty(a.prototype, o, {
|
|
622
622
|
get() {
|
|
623
|
-
return this.$$c &&
|
|
623
|
+
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
624
624
|
},
|
|
625
625
|
set(h) {
|
|
626
|
-
h = _e(
|
|
626
|
+
h = _e(o, h, t), this.$$d[o] = h, this.$$c?.$set({ [o]: h });
|
|
627
627
|
}
|
|
628
628
|
});
|
|
629
|
-
}), n.forEach((
|
|
630
|
-
Object.defineProperty(
|
|
629
|
+
}), n.forEach((o) => {
|
|
630
|
+
Object.defineProperty(a.prototype, o, {
|
|
631
631
|
get() {
|
|
632
|
-
return this.$$c?.[
|
|
632
|
+
return this.$$c?.[o];
|
|
633
633
|
}
|
|
634
634
|
});
|
|
635
635
|
}), e.element = /** @type {any} */
|
|
636
|
-
|
|
636
|
+
a, a;
|
|
637
637
|
}
|
|
638
638
|
class Ur {
|
|
639
639
|
/**
|
|
@@ -654,7 +654,7 @@ class Ur {
|
|
|
654
654
|
$$set = void 0;
|
|
655
655
|
/** @returns {void} */
|
|
656
656
|
$destroy() {
|
|
657
|
-
|
|
657
|
+
Nr(this, 1), this.$destroy = w;
|
|
658
658
|
}
|
|
659
659
|
/**
|
|
660
660
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -663,7 +663,7 @@ class Ur {
|
|
|
663
663
|
* @returns {() => void}
|
|
664
664
|
*/
|
|
665
665
|
$on(t, r) {
|
|
666
|
-
if (!
|
|
666
|
+
if (!ae(r))
|
|
667
667
|
return w;
|
|
668
668
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
669
669
|
return n.push(r), () => {
|
|
@@ -690,8 +690,8 @@ function Gr(e, t) {
|
|
|
690
690
|
function Oe(e, t = w) {
|
|
691
691
|
let r;
|
|
692
692
|
const n = /* @__PURE__ */ new Set();
|
|
693
|
-
function i(
|
|
694
|
-
if (Ot(e,
|
|
693
|
+
function i(o) {
|
|
694
|
+
if (Ot(e, o) && (e = o, r)) {
|
|
695
695
|
const h = !U.length;
|
|
696
696
|
for (const u of n)
|
|
697
697
|
u[1](), U.push(u, e);
|
|
@@ -702,23 +702,23 @@ function Oe(e, t = w) {
|
|
|
702
702
|
}
|
|
703
703
|
}
|
|
704
704
|
}
|
|
705
|
-
function s(
|
|
706
|
-
i(
|
|
705
|
+
function s(o) {
|
|
706
|
+
i(o(e));
|
|
707
707
|
}
|
|
708
|
-
function o
|
|
709
|
-
const u = [
|
|
710
|
-
return n.add(u), n.size === 1 && (r = t(i, s) || w),
|
|
708
|
+
function a(o, h = w) {
|
|
709
|
+
const u = [o, h];
|
|
710
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || w), o(e), () => {
|
|
711
711
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
712
712
|
};
|
|
713
713
|
}
|
|
714
|
-
return { set: i, update: s, subscribe:
|
|
714
|
+
return { set: i, update: s, subscribe: a };
|
|
715
715
|
}
|
|
716
716
|
function J(e, t, r) {
|
|
717
717
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
718
718
|
if (!i.every(Boolean))
|
|
719
719
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
720
720
|
const s = t.length < 2;
|
|
721
|
-
return Gr(r, (
|
|
721
|
+
return Gr(r, (a, o) => {
|
|
722
722
|
let h = !1;
|
|
723
723
|
const u = [];
|
|
724
724
|
let l = 0, c = w;
|
|
@@ -726,13 +726,13 @@ function J(e, t, r) {
|
|
|
726
726
|
if (l)
|
|
727
727
|
return;
|
|
728
728
|
c();
|
|
729
|
-
const p = t(n ? u[0] : u,
|
|
730
|
-
s ?
|
|
729
|
+
const p = t(n ? u[0] : u, a, o);
|
|
730
|
+
s ? a(p) : c = ae(p) ? p : w;
|
|
731
731
|
}, d = i.map(
|
|
732
|
-
(p, _) =>
|
|
732
|
+
(p, _) => Ct(
|
|
733
733
|
p,
|
|
734
|
-
(
|
|
735
|
-
u[_] =
|
|
734
|
+
(E) => {
|
|
735
|
+
u[_] = E, l &= ~(1 << _), h && m();
|
|
736
736
|
},
|
|
737
737
|
() => {
|
|
738
738
|
l |= 1 << _;
|
|
@@ -748,46 +748,46 @@ var ts = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
748
748
|
function Fr(e) {
|
|
749
749
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
750
750
|
}
|
|
751
|
-
var
|
|
752
|
-
return
|
|
751
|
+
var zr = function(t) {
|
|
752
|
+
return jr(t) && !Vr(t);
|
|
753
753
|
};
|
|
754
|
-
function
|
|
754
|
+
function jr(e) {
|
|
755
755
|
return !!e && typeof e == "object";
|
|
756
756
|
}
|
|
757
757
|
function Vr(e) {
|
|
758
758
|
var t = Object.prototype.toString.call(e);
|
|
759
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
759
|
+
return t === "[object RegExp]" || t === "[object Date]" || qr(e);
|
|
760
760
|
}
|
|
761
761
|
var Xr = typeof Symbol == "function" && Symbol.for, Wr = Xr ? Symbol.for("react.element") : 60103;
|
|
762
|
-
function
|
|
762
|
+
function qr(e) {
|
|
763
763
|
return e.$$typeof === Wr;
|
|
764
764
|
}
|
|
765
765
|
function Jr(e) {
|
|
766
766
|
return Array.isArray(e) ? [] : {};
|
|
767
767
|
}
|
|
768
768
|
function ie(e, t) {
|
|
769
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
769
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(Jr(e), e, t) : e;
|
|
770
770
|
}
|
|
771
|
-
function
|
|
771
|
+
function Zr(e, t, r) {
|
|
772
772
|
return e.concat(t).map(function(n) {
|
|
773
773
|
return ie(n, r);
|
|
774
774
|
});
|
|
775
775
|
}
|
|
776
776
|
function Qr(e, t) {
|
|
777
777
|
if (!t.customMerge)
|
|
778
|
-
return
|
|
778
|
+
return j;
|
|
779
779
|
var r = t.customMerge(e);
|
|
780
|
-
return typeof r == "function" ? r :
|
|
780
|
+
return typeof r == "function" ? r : j;
|
|
781
781
|
}
|
|
782
782
|
function Yr(e) {
|
|
783
783
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
784
784
|
return Object.propertyIsEnumerable.call(e, t);
|
|
785
785
|
}) : [];
|
|
786
786
|
}
|
|
787
|
-
function
|
|
787
|
+
function ot(e) {
|
|
788
788
|
return Object.keys(e).concat(Yr(e));
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function zt(e, t) {
|
|
791
791
|
try {
|
|
792
792
|
return t in e;
|
|
793
793
|
} catch {
|
|
@@ -795,29 +795,29 @@ function jt(e, t) {
|
|
|
795
795
|
}
|
|
796
796
|
}
|
|
797
797
|
function Kr(e, t) {
|
|
798
|
-
return
|
|
798
|
+
return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
799
799
|
}
|
|
800
800
|
function en(e, t, r) {
|
|
801
801
|
var n = {};
|
|
802
|
-
return r.isMergeableObject(e) &&
|
|
802
|
+
return r.isMergeableObject(e) && ot(e).forEach(function(i) {
|
|
803
803
|
n[i] = ie(e[i], r);
|
|
804
|
-
}),
|
|
805
|
-
Kr(e, i) || (
|
|
804
|
+
}), ot(t).forEach(function(i) {
|
|
805
|
+
Kr(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
|
|
806
806
|
}), n;
|
|
807
807
|
}
|
|
808
|
-
function
|
|
809
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
808
|
+
function j(e, t, r) {
|
|
809
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Zr, r.isMergeableObject = r.isMergeableObject || zr, r.cloneUnlessOtherwiseSpecified = ie;
|
|
810
810
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
811
811
|
return s ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : ie(t, r);
|
|
812
812
|
}
|
|
813
|
-
|
|
813
|
+
j.all = function(t, r) {
|
|
814
814
|
if (!Array.isArray(t))
|
|
815
815
|
throw new Error("first argument should be an array");
|
|
816
816
|
return t.reduce(function(n, i) {
|
|
817
|
-
return
|
|
817
|
+
return j(n, i, r);
|
|
818
818
|
}, {});
|
|
819
819
|
};
|
|
820
|
-
var tn =
|
|
820
|
+
var tn = j, rn = tn;
|
|
821
821
|
const nn = /* @__PURE__ */ Fr(rn);
|
|
822
822
|
var Ve = function(e, t) {
|
|
823
823
|
return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
@@ -827,7 +827,7 @@ var Ve = function(e, t) {
|
|
|
827
827
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
828
828
|
}, Ve(e, t);
|
|
829
829
|
};
|
|
830
|
-
function
|
|
830
|
+
function Ce(e, t) {
|
|
831
831
|
if (typeof t != "function" && t !== null)
|
|
832
832
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
833
833
|
Ve(e, t);
|
|
@@ -836,15 +836,15 @@ function Ie(e, t) {
|
|
|
836
836
|
}
|
|
837
837
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
838
838
|
}
|
|
839
|
-
var
|
|
840
|
-
return
|
|
839
|
+
var A = function() {
|
|
840
|
+
return A = Object.assign || function(t) {
|
|
841
841
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
842
842
|
r = arguments[n];
|
|
843
843
|
for (var s in r)
|
|
844
844
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
845
845
|
}
|
|
846
846
|
return t;
|
|
847
|
-
},
|
|
847
|
+
}, A.apply(this, arguments);
|
|
848
848
|
};
|
|
849
849
|
function sn(e, t) {
|
|
850
850
|
var r = {};
|
|
@@ -868,14 +868,14 @@ function Re(e, t) {
|
|
|
868
868
|
serializer: n
|
|
869
869
|
});
|
|
870
870
|
}
|
|
871
|
-
function
|
|
871
|
+
function an(e) {
|
|
872
872
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
873
873
|
}
|
|
874
|
-
function
|
|
875
|
-
var i =
|
|
874
|
+
function on(e, t, r, n) {
|
|
875
|
+
var i = an(n) ? n : r(n), s = t.get(i);
|
|
876
876
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
877
877
|
}
|
|
878
|
-
function
|
|
878
|
+
function jt(e, t, r) {
|
|
879
879
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
880
880
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
881
881
|
}
|
|
@@ -883,11 +883,11 @@ function Vt(e, t, r, n, i) {
|
|
|
883
883
|
return r.bind(t, e, n, i);
|
|
884
884
|
}
|
|
885
885
|
function un(e, t) {
|
|
886
|
-
var r = e.length === 1 ?
|
|
886
|
+
var r = e.length === 1 ? on : jt;
|
|
887
887
|
return Vt(e, this, r, t.cache.create(), t.serializer);
|
|
888
888
|
}
|
|
889
889
|
function ln(e, t) {
|
|
890
|
-
return Vt(e, this,
|
|
890
|
+
return Vt(e, this, jt, t.cache.create(), t.serializer);
|
|
891
891
|
}
|
|
892
892
|
var hn = function() {
|
|
893
893
|
return JSON.stringify(arguments);
|
|
@@ -943,13 +943,13 @@ function Xt(e) {
|
|
|
943
943
|
function Wt(e) {
|
|
944
944
|
return e.type === x.date;
|
|
945
945
|
}
|
|
946
|
-
function
|
|
946
|
+
function qt(e) {
|
|
947
947
|
return e.type === x.time;
|
|
948
948
|
}
|
|
949
949
|
function Jt(e) {
|
|
950
950
|
return e.type === x.select;
|
|
951
951
|
}
|
|
952
|
-
function
|
|
952
|
+
function Zt(e) {
|
|
953
953
|
return e.type === x.plural;
|
|
954
954
|
}
|
|
955
955
|
function dn(e) {
|
|
@@ -1073,22 +1073,22 @@ function yn(e) {
|
|
|
1073
1073
|
for (var t = e.split(bn).filter(function(m) {
|
|
1074
1074
|
return m.length > 0;
|
|
1075
1075
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1076
|
-
var s = i[n],
|
|
1077
|
-
if (
|
|
1076
|
+
var s = i[n], a = s.split("/");
|
|
1077
|
+
if (a.length === 0)
|
|
1078
1078
|
throw new Error("Invalid number skeleton");
|
|
1079
|
-
for (var
|
|
1079
|
+
for (var o = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1080
1080
|
var c = l[u];
|
|
1081
1081
|
if (c.length === 0)
|
|
1082
1082
|
throw new Error("Invalid number skeleton");
|
|
1083
1083
|
}
|
|
1084
|
-
r.push({ stem:
|
|
1084
|
+
r.push({ stem: o, options: h });
|
|
1085
1085
|
}
|
|
1086
1086
|
return r;
|
|
1087
1087
|
}
|
|
1088
1088
|
function _n(e) {
|
|
1089
1089
|
return e.replace(/^(.*?)-/, "");
|
|
1090
1090
|
}
|
|
1091
|
-
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1091
|
+
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
|
|
1092
1092
|
function ht(e) {
|
|
1093
1093
|
var t = {};
|
|
1094
1094
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
|
|
@@ -1135,7 +1135,7 @@ function rr(e) {
|
|
|
1135
1135
|
};
|
|
1136
1136
|
}
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function En(e) {
|
|
1139
1139
|
var t;
|
|
1140
1140
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1141
1141
|
notation: "engineering"
|
|
@@ -1239,7 +1239,7 @@ function xn(e) {
|
|
|
1239
1239
|
case "integer-width":
|
|
1240
1240
|
if (i.options.length > 1)
|
|
1241
1241
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1242
|
-
i.options[0].replace(
|
|
1242
|
+
i.options[0].replace(vn, function(h, u, l, c, m, d) {
|
|
1243
1243
|
if (u)
|
|
1244
1244
|
t.minimumIntegerDigits = l.length;
|
|
1245
1245
|
else {
|
|
@@ -1270,10 +1270,10 @@ function xn(e) {
|
|
|
1270
1270
|
t = T(T({}, t), ht(i.stem));
|
|
1271
1271
|
continue;
|
|
1272
1272
|
}
|
|
1273
|
-
var
|
|
1274
|
-
o && (t = T(T({}, t), o));
|
|
1275
|
-
var a = vn(i.stem);
|
|
1273
|
+
var a = rr(i.stem);
|
|
1276
1274
|
a && (t = T(T({}, t), a));
|
|
1275
|
+
var o = En(i.stem);
|
|
1276
|
+
o && (t = T(T({}, t), o));
|
|
1277
1277
|
}
|
|
1278
1278
|
return t;
|
|
1279
1279
|
}
|
|
@@ -2698,10 +2698,10 @@ function Tn(e, t) {
|
|
|
2698
2698
|
if (i === "j") {
|
|
2699
2699
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2700
2700
|
s++, n++;
|
|
2701
|
-
var
|
|
2702
|
-
for ((u == "H" || u == "k") && (
|
|
2701
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Hn(t);
|
|
2702
|
+
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2703
2703
|
r += h;
|
|
2704
|
-
for (;
|
|
2704
|
+
for (; a-- > 0; )
|
|
2705
2705
|
r = u + r;
|
|
2706
2706
|
} else
|
|
2707
2707
|
i === "J" ? r += "H" : r += i;
|
|
@@ -2734,16 +2734,16 @@ var Ue, wn = new RegExp("^".concat(Kt.source, "*")), Sn = new RegExp("".concat(K
|
|
|
2734
2734
|
function y(e, t) {
|
|
2735
2735
|
return { start: e, end: t };
|
|
2736
2736
|
}
|
|
2737
|
-
var
|
|
2737
|
+
var An = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bn = !!String.fromCodePoint, Pn = !!Object.fromEntries, On = !!String.prototype.codePointAt, Cn = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Ln = !!Number.isSafeInteger, Mn = Ln ? Number.isSafeInteger : function(e) {
|
|
2738
2738
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2739
2739
|
}, We = !0;
|
|
2740
2740
|
try {
|
|
2741
|
-
var
|
|
2742
|
-
We = ((Ue =
|
|
2741
|
+
var Nn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2742
|
+
We = ((Ue = Nn.exec("a")) === null || Ue === void 0 ? void 0 : Ue[0]) === "a";
|
|
2743
2743
|
} catch {
|
|
2744
2744
|
We = !1;
|
|
2745
2745
|
}
|
|
2746
|
-
var ft =
|
|
2746
|
+
var ft = An ? (
|
|
2747
2747
|
// Native
|
|
2748
2748
|
function(t, r, n) {
|
|
2749
2749
|
return t.startsWith(r, n);
|
|
@@ -2753,15 +2753,15 @@ var ft = Bn ? (
|
|
|
2753
2753
|
function(t, r, n) {
|
|
2754
2754
|
return t.slice(n, n + r.length) === r;
|
|
2755
2755
|
}
|
|
2756
|
-
),
|
|
2756
|
+
), qe = Bn ? String.fromCodePoint : (
|
|
2757
2757
|
// IE11
|
|
2758
2758
|
function() {
|
|
2759
2759
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2760
2760
|
t[r] = arguments[r];
|
|
2761
|
-
for (var n = "", i = t.length, s = 0,
|
|
2762
|
-
if (
|
|
2763
|
-
throw RangeError(
|
|
2764
|
-
n +=
|
|
2761
|
+
for (var n = "", i = t.length, s = 0, a; i > s; ) {
|
|
2762
|
+
if (a = t[s++], a > 1114111)
|
|
2763
|
+
throw RangeError(a + " is not a valid code point");
|
|
2764
|
+
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
2765
2765
|
}
|
|
2766
2766
|
return n;
|
|
2767
2767
|
}
|
|
@@ -2771,8 +2771,8 @@ var ft = Bn ? (
|
|
|
2771
2771
|
// Ponyfill
|
|
2772
2772
|
function(t) {
|
|
2773
2773
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2774
|
-
var s = i[n],
|
|
2775
|
-
r[
|
|
2774
|
+
var s = i[n], a = s[0], o = s[1];
|
|
2775
|
+
r[a] = o;
|
|
2776
2776
|
}
|
|
2777
2777
|
return r;
|
|
2778
2778
|
}
|
|
@@ -2791,7 +2791,7 @@ var ft = Bn ? (
|
|
|
2791
2791
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2792
2792
|
}
|
|
2793
2793
|
}
|
|
2794
|
-
), $n =
|
|
2794
|
+
), $n = Cn ? (
|
|
2795
2795
|
// Native
|
|
2796
2796
|
function(t) {
|
|
2797
2797
|
return t.trimStart();
|
|
@@ -2801,7 +2801,7 @@ var ft = Bn ? (
|
|
|
2801
2801
|
function(t) {
|
|
2802
2802
|
return t.replace(wn, "");
|
|
2803
2803
|
}
|
|
2804
|
-
), Rn =
|
|
2804
|
+
), Rn = In ? (
|
|
2805
2805
|
// Native
|
|
2806
2806
|
function(t) {
|
|
2807
2807
|
return t.trimEnd();
|
|
@@ -2832,7 +2832,7 @@ if (We) {
|
|
|
2832
2832
|
break;
|
|
2833
2833
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2834
2834
|
}
|
|
2835
|
-
return
|
|
2835
|
+
return qe.apply(void 0, n);
|
|
2836
2836
|
};
|
|
2837
2837
|
var Dn = (
|
|
2838
2838
|
/** @class */
|
|
@@ -2848,33 +2848,33 @@ var Dn = (
|
|
|
2848
2848
|
for (var i = []; !this.isEOF(); ) {
|
|
2849
2849
|
var s = this.char();
|
|
2850
2850
|
if (s === 123) {
|
|
2851
|
-
var
|
|
2852
|
-
if (
|
|
2853
|
-
return
|
|
2854
|
-
i.push(
|
|
2851
|
+
var a = this.parseArgument(t, n);
|
|
2852
|
+
if (a.err)
|
|
2853
|
+
return a;
|
|
2854
|
+
i.push(a.val);
|
|
2855
2855
|
} else {
|
|
2856
2856
|
if (s === 125 && t > 0)
|
|
2857
2857
|
break;
|
|
2858
2858
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2859
|
-
var
|
|
2859
|
+
var o = this.clonePosition();
|
|
2860
2860
|
this.bump(), i.push({
|
|
2861
2861
|
type: x.pound,
|
|
2862
|
-
location: y(
|
|
2862
|
+
location: y(o, this.clonePosition())
|
|
2863
2863
|
});
|
|
2864
2864
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2865
2865
|
if (n)
|
|
2866
2866
|
break;
|
|
2867
2867
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
2868
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2869
|
-
var
|
|
2870
|
-
if (
|
|
2871
|
-
return
|
|
2872
|
-
i.push(
|
|
2868
|
+
} else if (s === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
|
|
2869
|
+
var a = this.parseTag(t, r);
|
|
2870
|
+
if (a.err)
|
|
2871
|
+
return a;
|
|
2872
|
+
i.push(a.val);
|
|
2873
2873
|
} else {
|
|
2874
|
-
var
|
|
2875
|
-
if (
|
|
2876
|
-
return
|
|
2877
|
-
i.push(
|
|
2874
|
+
var a = this.parseLiteral(t, r);
|
|
2875
|
+
if (a.err)
|
|
2876
|
+
return a;
|
|
2877
|
+
i.push(a.val);
|
|
2878
2878
|
}
|
|
2879
2879
|
}
|
|
2880
2880
|
}
|
|
@@ -2896,20 +2896,20 @@ var Dn = (
|
|
|
2896
2896
|
var s = this.parseMessage(t + 1, r, !0);
|
|
2897
2897
|
if (s.err)
|
|
2898
2898
|
return s;
|
|
2899
|
-
var
|
|
2899
|
+
var a = s.val, o = this.clonePosition();
|
|
2900
2900
|
if (this.bumpIf("</")) {
|
|
2901
|
-
if (this.isEOF() || !
|
|
2902
|
-
return this.error(b.INVALID_TAG, y(
|
|
2901
|
+
if (this.isEOF() || !Ze(this.char()))
|
|
2902
|
+
return this.error(b.INVALID_TAG, y(o, this.clonePosition()));
|
|
2903
2903
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2904
2904
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2905
2905
|
val: {
|
|
2906
2906
|
type: x.tag,
|
|
2907
2907
|
value: i,
|
|
2908
|
-
children:
|
|
2908
|
+
children: a,
|
|
2909
2909
|
location: y(n, this.clonePosition())
|
|
2910
2910
|
},
|
|
2911
2911
|
err: null
|
|
2912
|
-
} : this.error(b.INVALID_TAG, y(
|
|
2912
|
+
} : this.error(b.INVALID_TAG, y(o, this.clonePosition())));
|
|
2913
2913
|
} else
|
|
2914
2914
|
return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
2915
2915
|
} else
|
|
@@ -2926,16 +2926,16 @@ var Dn = (
|
|
|
2926
2926
|
i += s;
|
|
2927
2927
|
continue;
|
|
2928
2928
|
}
|
|
2929
|
-
var
|
|
2930
|
-
if (o) {
|
|
2931
|
-
i += o;
|
|
2932
|
-
continue;
|
|
2933
|
-
}
|
|
2934
|
-
var a = this.tryParseLeftAngleBracket();
|
|
2929
|
+
var a = this.tryParseUnquoted(t, r);
|
|
2935
2930
|
if (a) {
|
|
2936
2931
|
i += a;
|
|
2937
2932
|
continue;
|
|
2938
2933
|
}
|
|
2934
|
+
var o = this.tryParseLeftAngleBracket();
|
|
2935
|
+
if (o) {
|
|
2936
|
+
i += o;
|
|
2937
|
+
continue;
|
|
2938
|
+
}
|
|
2939
2939
|
break;
|
|
2940
2940
|
}
|
|
2941
2941
|
var h = y(n, this.clonePosition());
|
|
@@ -2979,12 +2979,12 @@ var Dn = (
|
|
|
2979
2979
|
r.push(n);
|
|
2980
2980
|
this.bump();
|
|
2981
2981
|
}
|
|
2982
|
-
return
|
|
2982
|
+
return qe.apply(void 0, r);
|
|
2983
2983
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2984
2984
|
if (this.isEOF())
|
|
2985
2985
|
return null;
|
|
2986
2986
|
var n = this.char();
|
|
2987
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2987
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), qe(n));
|
|
2988
2988
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2989
2989
|
var n = this.clonePosition();
|
|
2990
2990
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3015,13 +3015,13 @@ var Dn = (
|
|
|
3015
3015
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3016
3016
|
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
3017
3017
|
this.bumpTo(i);
|
|
3018
|
-
var s = this.clonePosition(),
|
|
3019
|
-
return { value: n, location:
|
|
3018
|
+
var s = this.clonePosition(), a = y(t, s);
|
|
3019
|
+
return { value: n, location: a };
|
|
3020
3020
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3021
|
-
var s,
|
|
3022
|
-
switch (
|
|
3021
|
+
var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3022
|
+
switch (o) {
|
|
3023
3023
|
case "":
|
|
3024
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE, y(
|
|
3024
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, h));
|
|
3025
3025
|
case "number":
|
|
3026
3026
|
case "date":
|
|
3027
3027
|
case "time": {
|
|
@@ -3043,24 +3043,24 @@ var Dn = (
|
|
|
3043
3043
|
return p;
|
|
3044
3044
|
var _ = y(i, this.clonePosition());
|
|
3045
3045
|
if (u && ft(u?.style, "::", 0)) {
|
|
3046
|
-
var
|
|
3047
|
-
if (
|
|
3048
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3046
|
+
var E = $n(u.style.slice(2));
|
|
3047
|
+
if (o === "number") {
|
|
3048
|
+
var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
|
|
3049
3049
|
return c.err ? c : {
|
|
3050
3050
|
val: { type: x.number, value: n, location: _, style: c.val },
|
|
3051
3051
|
err: null
|
|
3052
3052
|
};
|
|
3053
3053
|
} else {
|
|
3054
|
-
if (
|
|
3054
|
+
if (E.length === 0)
|
|
3055
3055
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, _);
|
|
3056
|
-
var
|
|
3057
|
-
this.locale && (
|
|
3056
|
+
var v = E;
|
|
3057
|
+
this.locale && (v = Tn(E, this.locale));
|
|
3058
3058
|
var m = {
|
|
3059
3059
|
type: V.dateTime,
|
|
3060
|
-
pattern:
|
|
3060
|
+
pattern: v,
|
|
3061
3061
|
location: u.styleLocation,
|
|
3062
|
-
parsedOptions: this.shouldParseSkeletons ? gn(
|
|
3063
|
-
}, f =
|
|
3062
|
+
parsedOptions: this.shouldParseSkeletons ? gn(v) : {}
|
|
3063
|
+
}, f = o === "date" ? x.date : x.time;
|
|
3064
3064
|
return {
|
|
3065
3065
|
val: { type: f, value: n, location: _, style: m },
|
|
3066
3066
|
err: null
|
|
@@ -3069,7 +3069,7 @@ var Dn = (
|
|
|
3069
3069
|
}
|
|
3070
3070
|
return {
|
|
3071
3071
|
val: {
|
|
3072
|
-
type:
|
|
3072
|
+
type: o === "number" ? x.number : o === "date" ? x.date : x.time,
|
|
3073
3073
|
value: n,
|
|
3074
3074
|
location: _,
|
|
3075
3075
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
@@ -3084,24 +3084,24 @@ var Dn = (
|
|
|
3084
3084
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3085
3085
|
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, we({}, g)));
|
|
3086
3086
|
this.bumpSpace();
|
|
3087
|
-
var S = this.parseIdentifierIfPossible(),
|
|
3088
|
-
if (
|
|
3087
|
+
var S = this.parseIdentifierIfPossible(), N = 0;
|
|
3088
|
+
if (o !== "select" && S.value === "offset") {
|
|
3089
3089
|
if (!this.bumpIf(":"))
|
|
3090
3090
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3091
3091
|
this.bumpSpace();
|
|
3092
3092
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3093
3093
|
if (c.err)
|
|
3094
3094
|
return c;
|
|
3095
|
-
this.bumpSpace(), S = this.parseIdentifierIfPossible(),
|
|
3095
|
+
this.bumpSpace(), S = this.parseIdentifierIfPossible(), N = c.val;
|
|
3096
3096
|
}
|
|
3097
|
-
var le = this.tryParsePluralOrSelectOptions(t,
|
|
3097
|
+
var le = this.tryParsePluralOrSelectOptions(t, o, r, S);
|
|
3098
3098
|
if (le.err)
|
|
3099
3099
|
return le;
|
|
3100
3100
|
var p = this.tryParseArgumentClose(i);
|
|
3101
3101
|
if (p.err)
|
|
3102
3102
|
return p;
|
|
3103
3103
|
var nt = y(i, this.clonePosition());
|
|
3104
|
-
return
|
|
3104
|
+
return o === "select" ? {
|
|
3105
3105
|
val: {
|
|
3106
3106
|
type: x.select,
|
|
3107
3107
|
value: n,
|
|
@@ -3114,15 +3114,15 @@ var Dn = (
|
|
|
3114
3114
|
type: x.plural,
|
|
3115
3115
|
value: n,
|
|
3116
3116
|
options: mt(le.val),
|
|
3117
|
-
offset:
|
|
3118
|
-
pluralType:
|
|
3117
|
+
offset: N,
|
|
3118
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3119
3119
|
location: nt
|
|
3120
3120
|
},
|
|
3121
3121
|
err: null
|
|
3122
3122
|
};
|
|
3123
3123
|
}
|
|
3124
3124
|
default:
|
|
3125
|
-
return this.error(b.INVALID_ARGUMENT_TYPE, y(
|
|
3125
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, y(a, h));
|
|
3126
3126
|
}
|
|
3127
3127
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3128
3128
|
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3178,7 +3178,7 @@ var Dn = (
|
|
|
3178
3178
|
err: null
|
|
3179
3179
|
};
|
|
3180
3180
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3181
|
-
for (var s,
|
|
3181
|
+
for (var s, a = !1, o = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3182
3182
|
if (u.length === 0) {
|
|
3183
3183
|
var c = this.clonePosition();
|
|
3184
3184
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3191,7 +3191,7 @@ var Dn = (
|
|
|
3191
3191
|
}
|
|
3192
3192
|
if (h.has(u))
|
|
3193
3193
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3194
|
-
u === "other" && (
|
|
3194
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3195
3195
|
var d = this.clonePosition();
|
|
3196
3196
|
if (!this.bumpIf("{"))
|
|
3197
3197
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
@@ -3201,7 +3201,7 @@ var Dn = (
|
|
|
3201
3201
|
var _ = this.tryParseArgumentClose(d);
|
|
3202
3202
|
if (_.err)
|
|
3203
3203
|
return _;
|
|
3204
|
-
|
|
3204
|
+
o.push([
|
|
3205
3205
|
u,
|
|
3206
3206
|
{
|
|
3207
3207
|
value: p.val,
|
|
@@ -3209,19 +3209,19 @@ var Dn = (
|
|
|
3209
3209
|
}
|
|
3210
3210
|
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
|
3211
3211
|
}
|
|
3212
|
-
return
|
|
3212
|
+
return o.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: o, err: null };
|
|
3213
3213
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3214
3214
|
var n = 1, i = this.clonePosition();
|
|
3215
3215
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3216
|
-
for (var s = !1,
|
|
3217
|
-
var
|
|
3218
|
-
if (
|
|
3219
|
-
s = !0,
|
|
3216
|
+
for (var s = !1, a = 0; !this.isEOF(); ) {
|
|
3217
|
+
var o = this.char();
|
|
3218
|
+
if (o >= 48 && o <= 57)
|
|
3219
|
+
s = !0, a = a * 10 + (o - 48), this.bump();
|
|
3220
3220
|
else
|
|
3221
3221
|
break;
|
|
3222
3222
|
}
|
|
3223
3223
|
var h = y(i, this.clonePosition());
|
|
3224
|
-
return s ? (
|
|
3224
|
+
return s ? (a *= n, Mn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3225
3225
|
}, e.prototype.offset = function() {
|
|
3226
3226
|
return this.position.offset;
|
|
3227
3227
|
}, e.prototype.isEOF = function() {
|
|
@@ -3287,11 +3287,11 @@ var Dn = (
|
|
|
3287
3287
|
}, e;
|
|
3288
3288
|
}()
|
|
3289
3289
|
);
|
|
3290
|
-
function
|
|
3290
|
+
function Ze(e) {
|
|
3291
3291
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3292
3292
|
}
|
|
3293
3293
|
function Un(e) {
|
|
3294
|
-
return
|
|
3294
|
+
return Ze(e) || e === 47;
|
|
3295
3295
|
}
|
|
3296
3296
|
function kn(e) {
|
|
3297
3297
|
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;
|
|
@@ -3304,11 +3304,11 @@ function Gn(e) {
|
|
|
3304
3304
|
}
|
|
3305
3305
|
function Qe(e) {
|
|
3306
3306
|
e.forEach(function(t) {
|
|
3307
|
-
if (delete t.location, Jt(t) ||
|
|
3307
|
+
if (delete t.location, Jt(t) || Zt(t))
|
|
3308
3308
|
for (var r in t.options)
|
|
3309
3309
|
delete t.options[r].location, Qe(t.options[r].value);
|
|
3310
3310
|
else
|
|
3311
|
-
Xt(t) && Yt(t.style) || (Wt(t) ||
|
|
3311
|
+
Xt(t) && Yt(t.style) || (Wt(t) || qt(t)) && Xe(t.style) ? delete t.style.location : Qt(t) && Qe(t.children);
|
|
3312
3312
|
});
|
|
3313
3313
|
}
|
|
3314
3314
|
function Fn(e, t) {
|
|
@@ -3324,10 +3324,10 @@ var X;
|
|
|
3324
3324
|
(function(e) {
|
|
3325
3325
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3326
3326
|
})(X || (X = {}));
|
|
3327
|
-
var
|
|
3327
|
+
var Ie = (
|
|
3328
3328
|
/** @class */
|
|
3329
3329
|
function(e) {
|
|
3330
|
-
|
|
3330
|
+
Ce(t, e);
|
|
3331
3331
|
function t(r, n, i) {
|
|
3332
3332
|
var s = e.call(this, r) || this;
|
|
3333
3333
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3339,30 +3339,30 @@ var Ce = (
|
|
|
3339
3339
|
), pt = (
|
|
3340
3340
|
/** @class */
|
|
3341
3341
|
function(e) {
|
|
3342
|
-
|
|
3342
|
+
Ce(t, e);
|
|
3343
3343
|
function t(r, n, i, s) {
|
|
3344
3344
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
|
|
3345
3345
|
}
|
|
3346
3346
|
return t;
|
|
3347
|
-
}(
|
|
3348
|
-
),
|
|
3347
|
+
}(Ie)
|
|
3348
|
+
), zn = (
|
|
3349
3349
|
/** @class */
|
|
3350
3350
|
function(e) {
|
|
3351
|
-
|
|
3351
|
+
Ce(t, e);
|
|
3352
3352
|
function t(r, n, i) {
|
|
3353
3353
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
|
|
3354
3354
|
}
|
|
3355
3355
|
return t;
|
|
3356
|
-
}(
|
|
3357
|
-
),
|
|
3356
|
+
}(Ie)
|
|
3357
|
+
), jn = (
|
|
3358
3358
|
/** @class */
|
|
3359
3359
|
function(e) {
|
|
3360
|
-
|
|
3360
|
+
Ce(t, e);
|
|
3361
3361
|
function t(r, n) {
|
|
3362
3362
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
|
|
3363
3363
|
}
|
|
3364
3364
|
return t;
|
|
3365
|
-
}(
|
|
3365
|
+
}(Ie)
|
|
3366
3366
|
), H;
|
|
3367
3367
|
(function(e) {
|
|
3368
3368
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3376,7 +3376,7 @@ function Vn(e) {
|
|
|
3376
3376
|
function Xn(e) {
|
|
3377
3377
|
return typeof e == "function";
|
|
3378
3378
|
}
|
|
3379
|
-
function
|
|
3379
|
+
function ve(e, t, r, n, i, s, a) {
|
|
3380
3380
|
if (e.length === 1 && ut(e[0]))
|
|
3381
3381
|
return [
|
|
3382
3382
|
{
|
|
@@ -3384,17 +3384,17 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3384
3384
|
value: e[0].value
|
|
3385
3385
|
}
|
|
3386
3386
|
];
|
|
3387
|
-
for (var
|
|
3387
|
+
for (var o = [], h = 0, u = e; h < u.length; h++) {
|
|
3388
3388
|
var l = u[h];
|
|
3389
3389
|
if (ut(l)) {
|
|
3390
|
-
|
|
3390
|
+
o.push({
|
|
3391
3391
|
type: H.literal,
|
|
3392
3392
|
value: l.value
|
|
3393
3393
|
});
|
|
3394
3394
|
continue;
|
|
3395
3395
|
}
|
|
3396
3396
|
if (dn(l)) {
|
|
3397
|
-
typeof s == "number" &&
|
|
3397
|
+
typeof s == "number" && o.push({
|
|
3398
3398
|
type: H.literal,
|
|
3399
3399
|
value: r.getNumberFormat(t).format(s)
|
|
3400
3400
|
});
|
|
@@ -3402,10 +3402,10 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3402
3402
|
}
|
|
3403
3403
|
var c = l.value;
|
|
3404
3404
|
if (!(i && c in i))
|
|
3405
|
-
throw new
|
|
3405
|
+
throw new jn(c, a);
|
|
3406
3406
|
var m = i[c];
|
|
3407
3407
|
if (mn(l)) {
|
|
3408
|
-
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""),
|
|
3408
|
+
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
|
|
3409
3409
|
type: typeof m == "string" ? H.literal : H.object,
|
|
3410
3410
|
value: m
|
|
3411
3411
|
});
|
|
@@ -3413,15 +3413,15 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3413
3413
|
}
|
|
3414
3414
|
if (Wt(l)) {
|
|
3415
3415
|
var d = typeof l.style == "string" ? n.date[l.style] : Xe(l.style) ? l.style.parsedOptions : void 0;
|
|
3416
|
-
|
|
3416
|
+
o.push({
|
|
3417
3417
|
type: H.literal,
|
|
3418
3418
|
value: r.getDateTimeFormat(t, d).format(m)
|
|
3419
3419
|
});
|
|
3420
3420
|
continue;
|
|
3421
3421
|
}
|
|
3422
|
-
if (
|
|
3422
|
+
if (qt(l)) {
|
|
3423
3423
|
var d = typeof l.style == "string" ? n.time[l.style] : Xe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3424
|
-
|
|
3424
|
+
o.push({
|
|
3425
3425
|
type: H.literal,
|
|
3426
3426
|
value: r.getDateTimeFormat(t, d).format(m)
|
|
3427
3427
|
});
|
|
@@ -3429,60 +3429,60 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3429
3429
|
}
|
|
3430
3430
|
if (Xt(l)) {
|
|
3431
3431
|
var d = typeof l.style == "string" ? n.number[l.style] : Yt(l.style) ? l.style.parsedOptions : void 0;
|
|
3432
|
-
d && d.scale && (m = m * (d.scale || 1)),
|
|
3432
|
+
d && d.scale && (m = m * (d.scale || 1)), o.push({
|
|
3433
3433
|
type: H.literal,
|
|
3434
3434
|
value: r.getNumberFormat(t, d).format(m)
|
|
3435
3435
|
});
|
|
3436
3436
|
continue;
|
|
3437
3437
|
}
|
|
3438
3438
|
if (Qt(l)) {
|
|
3439
|
-
var p = l.children, _ = l.value,
|
|
3440
|
-
if (!Xn(
|
|
3441
|
-
throw new
|
|
3442
|
-
var
|
|
3443
|
-
return
|
|
3439
|
+
var p = l.children, _ = l.value, E = i[_];
|
|
3440
|
+
if (!Xn(E))
|
|
3441
|
+
throw new zn(_, "function", a);
|
|
3442
|
+
var v = ve(p, t, r, n, i, s), f = E(v.map(function(N) {
|
|
3443
|
+
return N.value;
|
|
3444
3444
|
}));
|
|
3445
|
-
Array.isArray(f) || (f = [f]),
|
|
3445
|
+
Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function(N) {
|
|
3446
3446
|
return {
|
|
3447
|
-
type: typeof
|
|
3448
|
-
value:
|
|
3447
|
+
type: typeof N == "string" ? H.literal : H.object,
|
|
3448
|
+
value: N
|
|
3449
3449
|
};
|
|
3450
3450
|
}));
|
|
3451
3451
|
}
|
|
3452
3452
|
if (Jt(l)) {
|
|
3453
3453
|
var g = l.options[m] || l.options.other;
|
|
3454
3454
|
if (!g)
|
|
3455
|
-
throw new pt(l.value, m, Object.keys(l.options),
|
|
3456
|
-
|
|
3455
|
+
throw new pt(l.value, m, Object.keys(l.options), a);
|
|
3456
|
+
o.push.apply(o, ve(g.value, t, r, n, i));
|
|
3457
3457
|
continue;
|
|
3458
3458
|
}
|
|
3459
|
-
if (
|
|
3459
|
+
if (Zt(l)) {
|
|
3460
3460
|
var g = l.options["=".concat(m)];
|
|
3461
3461
|
if (!g) {
|
|
3462
3462
|
if (!Intl.PluralRules)
|
|
3463
|
-
throw new
|
|
3463
|
+
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
3464
3464
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3465
|
-
`, X.MISSING_INTL_API,
|
|
3465
|
+
`, X.MISSING_INTL_API, a);
|
|
3466
3466
|
var S = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
|
|
3467
3467
|
g = l.options[S] || l.options.other;
|
|
3468
3468
|
}
|
|
3469
3469
|
if (!g)
|
|
3470
|
-
throw new pt(l.value, m, Object.keys(l.options),
|
|
3471
|
-
|
|
3470
|
+
throw new pt(l.value, m, Object.keys(l.options), a);
|
|
3471
|
+
o.push.apply(o, ve(g.value, t, r, n, i, m - (l.offset || 0)));
|
|
3472
3472
|
continue;
|
|
3473
3473
|
}
|
|
3474
3474
|
}
|
|
3475
|
-
return Vn(
|
|
3475
|
+
return Vn(o);
|
|
3476
3476
|
}
|
|
3477
3477
|
function Wn(e, t) {
|
|
3478
|
-
return t ?
|
|
3479
|
-
return r[n] =
|
|
3478
|
+
return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3479
|
+
return r[n] = A(A({}, e[n]), t[n] || {}), r;
|
|
3480
3480
|
}, {})) : e;
|
|
3481
3481
|
}
|
|
3482
|
-
function
|
|
3482
|
+
function qn(e, t) {
|
|
3483
3483
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3484
3484
|
return r[n] = Wn(e[n], t[n]), r;
|
|
3485
|
-
},
|
|
3485
|
+
}, A({}, e)) : e;
|
|
3486
3486
|
}
|
|
3487
3487
|
function ke(e) {
|
|
3488
3488
|
return {
|
|
@@ -3530,7 +3530,7 @@ function Jn(e) {
|
|
|
3530
3530
|
})
|
|
3531
3531
|
};
|
|
3532
3532
|
}
|
|
3533
|
-
var
|
|
3533
|
+
var ar = (
|
|
3534
3534
|
/** @class */
|
|
3535
3535
|
function() {
|
|
3536
3536
|
function e(t, r, n, i) {
|
|
@@ -3549,7 +3549,7 @@ var or = (
|
|
|
3549
3549
|
}, []);
|
|
3550
3550
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3551
3551
|
}, this.formatToParts = function(h) {
|
|
3552
|
-
return
|
|
3552
|
+
return ve(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3553
3553
|
}, this.resolvedOptions = function() {
|
|
3554
3554
|
var h;
|
|
3555
3555
|
return {
|
|
@@ -3560,15 +3560,15 @@ var or = (
|
|
|
3560
3560
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3561
3561
|
if (this.message = t, !e.__parse)
|
|
3562
3562
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3563
|
-
var
|
|
3564
|
-
|
|
3565
|
-
var
|
|
3566
|
-
this.ast = e.__parse(t,
|
|
3563
|
+
var a = i || {};
|
|
3564
|
+
a.formatters;
|
|
3565
|
+
var o = sn(a, ["formatters"]);
|
|
3566
|
+
this.ast = e.__parse(t, A(A({}, o), { locale: this.resolvedLocale }));
|
|
3567
3567
|
} else
|
|
3568
3568
|
this.ast = t;
|
|
3569
3569
|
if (!Array.isArray(this.ast))
|
|
3570
3570
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3571
|
-
this.formats =
|
|
3571
|
+
this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Jn(this.formatterCache);
|
|
3572
3572
|
}
|
|
3573
3573
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3574
3574
|
get: function() {
|
|
@@ -3642,7 +3642,7 @@ var or = (
|
|
|
3642
3642
|
}, e;
|
|
3643
3643
|
}()
|
|
3644
3644
|
);
|
|
3645
|
-
function
|
|
3645
|
+
function Zn(e, t) {
|
|
3646
3646
|
if (t == null)
|
|
3647
3647
|
return;
|
|
3648
3648
|
if (t in e)
|
|
@@ -3663,11 +3663,11 @@ function qn(e, t) {
|
|
|
3663
3663
|
n = void 0;
|
|
3664
3664
|
return n;
|
|
3665
3665
|
}
|
|
3666
|
-
const
|
|
3666
|
+
const I = {}, Qn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), or = (e, t) => {
|
|
3667
3667
|
if (t == null)
|
|
3668
3668
|
return;
|
|
3669
|
-
if (t in
|
|
3670
|
-
return
|
|
3669
|
+
if (t in I && e in I[t])
|
|
3670
|
+
return I[t][e];
|
|
3671
3671
|
const r = ue(t);
|
|
3672
3672
|
for (let n = 0; n < r.length; n++) {
|
|
3673
3673
|
const i = r[n], s = Kn(i, e);
|
|
@@ -3676,7 +3676,7 @@ const C = {}, Qn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][
|
|
|
3676
3676
|
}
|
|
3677
3677
|
};
|
|
3678
3678
|
let tt;
|
|
3679
|
-
const
|
|
3679
|
+
const oe = Oe({});
|
|
3680
3680
|
function Yn(e) {
|
|
3681
3681
|
return tt[e] || null;
|
|
3682
3682
|
}
|
|
@@ -3687,7 +3687,7 @@ function Kn(e, t) {
|
|
|
3687
3687
|
if (!ur(e))
|
|
3688
3688
|
return null;
|
|
3689
3689
|
const r = Yn(e);
|
|
3690
|
-
return
|
|
3690
|
+
return Zn(r, t);
|
|
3691
3691
|
}
|
|
3692
3692
|
function ei(e) {
|
|
3693
3693
|
if (e == null)
|
|
@@ -3700,19 +3700,19 @@ function ei(e) {
|
|
|
3700
3700
|
}
|
|
3701
3701
|
}
|
|
3702
3702
|
function lr(e, ...t) {
|
|
3703
|
-
delete
|
|
3703
|
+
delete I[e], oe.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
|
|
3704
3704
|
}
|
|
3705
3705
|
J(
|
|
3706
|
-
[
|
|
3706
|
+
[oe],
|
|
3707
3707
|
([e]) => Object.keys(e)
|
|
3708
3708
|
);
|
|
3709
|
-
|
|
3710
|
-
const
|
|
3709
|
+
oe.subscribe((e) => tt = e);
|
|
3710
|
+
const Ee = {};
|
|
3711
3711
|
function ti(e, t) {
|
|
3712
|
-
|
|
3712
|
+
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
3713
3713
|
}
|
|
3714
3714
|
function hr(e) {
|
|
3715
|
-
return
|
|
3715
|
+
return Ee[e];
|
|
3716
3716
|
}
|
|
3717
3717
|
function ri(e) {
|
|
3718
3718
|
return ue(e).map((t) => {
|
|
@@ -3748,7 +3748,7 @@ function cr(e) {
|
|
|
3748
3748
|
delete Y[e];
|
|
3749
3749
|
}), Y[e];
|
|
3750
3750
|
}
|
|
3751
|
-
var gt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable,
|
|
3751
|
+
var gt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, ai = (e, t) => {
|
|
3752
3752
|
var r = {};
|
|
3753
3753
|
for (var n in e)
|
|
3754
3754
|
ii.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -3757,7 +3757,7 @@ var gt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si
|
|
|
3757
3757
|
t.indexOf(n) < 0 && si.call(e, n) && (r[n] = e[n]);
|
|
3758
3758
|
return r;
|
|
3759
3759
|
};
|
|
3760
|
-
const
|
|
3760
|
+
const oi = {
|
|
3761
3761
|
number: {
|
|
3762
3762
|
scientific: { notation: "scientific" },
|
|
3763
3763
|
engineering: { notation: "engineering" },
|
|
@@ -3791,7 +3791,7 @@ function ui({ locale: e, id: t }) {
|
|
|
3791
3791
|
console.warn(
|
|
3792
3792
|
`[svelte-i18n] The message "${t}" was not found in "${ue(
|
|
3793
3793
|
e
|
|
3794
|
-
).join('", "')}".${Se(
|
|
3794
|
+
).join('", "')}".${Se(M()) ? `
|
|
3795
3795
|
|
|
3796
3796
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3797
3797
|
);
|
|
@@ -3799,7 +3799,7 @@ Note: there are at least one loader still registered to this locale that wasn't
|
|
|
3799
3799
|
const li = {
|
|
3800
3800
|
fallbackLocale: null,
|
|
3801
3801
|
loadingDelay: 200,
|
|
3802
|
-
formats:
|
|
3802
|
+
formats: oi,
|
|
3803
3803
|
warnOnMissingMessages: !0,
|
|
3804
3804
|
handleMissingMessage: void 0,
|
|
3805
3805
|
ignoreTag: !0
|
|
@@ -3808,11 +3808,11 @@ function W() {
|
|
|
3808
3808
|
return ee;
|
|
3809
3809
|
}
|
|
3810
3810
|
function hi(e) {
|
|
3811
|
-
const t = e, { formats: r } = t, n =
|
|
3811
|
+
const t = e, { formats: r } = t, n = ai(t, ["formats"]);
|
|
3812
3812
|
let i = e.fallbackLocale;
|
|
3813
3813
|
if (e.initialLocale)
|
|
3814
3814
|
try {
|
|
3815
|
-
|
|
3815
|
+
ar.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3816
3816
|
} catch {
|
|
3817
3817
|
console.warn(
|
|
3818
3818
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
@@ -3832,7 +3832,7 @@ var ci = Object.defineProperty, fi = Object.defineProperties, mi = Object.getOwn
|
|
|
3832
3832
|
return e;
|
|
3833
3833
|
}, bi = (e, t) => fi(e, mi(t));
|
|
3834
3834
|
let Ye;
|
|
3835
|
-
const
|
|
3835
|
+
const Ae = Oe(null);
|
|
3836
3836
|
function _t(e) {
|
|
3837
3837
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3838
3838
|
}
|
|
@@ -3840,48 +3840,48 @@ function ue(e, t = W().fallbackLocale) {
|
|
|
3840
3840
|
const r = _t(e);
|
|
3841
3841
|
return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
|
|
3842
3842
|
}
|
|
3843
|
-
function
|
|
3843
|
+
function M() {
|
|
3844
3844
|
return Ye ?? void 0;
|
|
3845
3845
|
}
|
|
3846
|
-
|
|
3846
|
+
Ae.subscribe((e) => {
|
|
3847
3847
|
Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3848
3848
|
});
|
|
3849
3849
|
const yi = (e) => {
|
|
3850
3850
|
if (e && ei(e) && Se(e)) {
|
|
3851
3851
|
const { loadingDelay: t } = W();
|
|
3852
3852
|
let r;
|
|
3853
|
-
return typeof window < "u" &&
|
|
3853
|
+
return typeof window < "u" && M() != null && t ? r = window.setTimeout(
|
|
3854
3854
|
() => Ge.set(!0),
|
|
3855
3855
|
t
|
|
3856
3856
|
) : Ge.set(!0), cr(e).then(() => {
|
|
3857
|
-
|
|
3857
|
+
Ae.set(e);
|
|
3858
3858
|
}).finally(() => {
|
|
3859
3859
|
clearTimeout(r), Ge.set(!1);
|
|
3860
3860
|
});
|
|
3861
3861
|
}
|
|
3862
|
-
return
|
|
3863
|
-
}, R = bi(gi({},
|
|
3862
|
+
return Ae.set(e);
|
|
3863
|
+
}, R = bi(gi({}, Ae), {
|
|
3864
3864
|
set: yi
|
|
3865
|
-
}),
|
|
3865
|
+
}), Le = (e) => {
|
|
3866
3866
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3867
3867
|
return (n) => {
|
|
3868
3868
|
const i = JSON.stringify(n);
|
|
3869
3869
|
return i in t ? t[i] : t[i] = e(n);
|
|
3870
3870
|
};
|
|
3871
3871
|
};
|
|
3872
|
-
var _i = Object.defineProperty,
|
|
3872
|
+
var _i = Object.defineProperty, Be = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
|
|
3873
3873
|
for (var r in t || (t = {}))
|
|
3874
|
-
fr.call(t, r) &&
|
|
3875
|
-
if (
|
|
3876
|
-
for (var r of
|
|
3877
|
-
mr.call(t, r) &&
|
|
3874
|
+
fr.call(t, r) && vt(e, r, t[r]);
|
|
3875
|
+
if (Be)
|
|
3876
|
+
for (var r of Be(t))
|
|
3877
|
+
mr.call(t, r) && vt(e, r, t[r]);
|
|
3878
3878
|
return e;
|
|
3879
|
-
},
|
|
3879
|
+
}, Z = (e, t) => {
|
|
3880
3880
|
var r = {};
|
|
3881
3881
|
for (var n in e)
|
|
3882
3882
|
fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3883
|
-
if (e != null &&
|
|
3884
|
-
for (var n of
|
|
3883
|
+
if (e != null && Be)
|
|
3884
|
+
for (var n of Be(e))
|
|
3885
3885
|
t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
|
|
3886
3886
|
return r;
|
|
3887
3887
|
};
|
|
@@ -3890,23 +3890,23 @@ const se = (e, t) => {
|
|
|
3890
3890
|
if (e in r && t in r[e])
|
|
3891
3891
|
return r[e][t];
|
|
3892
3892
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3893
|
-
},
|
|
3893
|
+
}, vi = Le(
|
|
3894
3894
|
(e) => {
|
|
3895
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3895
|
+
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3896
3896
|
if (r == null)
|
|
3897
3897
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3898
3898
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
3899
3899
|
}
|
|
3900
|
-
),
|
|
3900
|
+
), Ei = Le(
|
|
3901
3901
|
(e) => {
|
|
3902
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3902
|
+
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3903
3903
|
if (r == null)
|
|
3904
3904
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3905
3905
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3906
3906
|
}
|
|
3907
|
-
), xi =
|
|
3907
|
+
), xi = Le(
|
|
3908
3908
|
(e) => {
|
|
3909
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3909
|
+
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3910
3910
|
if (r == null)
|
|
3911
3911
|
throw new Error(
|
|
3912
3912
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
@@ -3915,55 +3915,55 @@ const se = (e, t) => {
|
|
|
3915
3915
|
}
|
|
3916
3916
|
), Ti = (e = {}) => {
|
|
3917
3917
|
var t = e, {
|
|
3918
|
-
locale: r =
|
|
3919
|
-
} = t, n =
|
|
3918
|
+
locale: r = M()
|
|
3919
|
+
} = t, n = Z(t, [
|
|
3920
3920
|
"locale"
|
|
3921
3921
|
]);
|
|
3922
|
-
return
|
|
3922
|
+
return vi(rt({ locale: r }, n));
|
|
3923
3923
|
}, Hi = (e = {}) => {
|
|
3924
3924
|
var t = e, {
|
|
3925
|
-
locale: r =
|
|
3926
|
-
} = t, n =
|
|
3925
|
+
locale: r = M()
|
|
3926
|
+
} = t, n = Z(t, [
|
|
3927
3927
|
"locale"
|
|
3928
3928
|
]);
|
|
3929
|
-
return
|
|
3929
|
+
return Ei(rt({ locale: r }, n));
|
|
3930
3930
|
}, wi = (e = {}) => {
|
|
3931
3931
|
var t = e, {
|
|
3932
|
-
locale: r =
|
|
3933
|
-
} = t, n =
|
|
3932
|
+
locale: r = M()
|
|
3933
|
+
} = t, n = Z(t, [
|
|
3934
3934
|
"locale"
|
|
3935
3935
|
]);
|
|
3936
3936
|
return xi(rt({ locale: r }, n));
|
|
3937
|
-
}, Si =
|
|
3937
|
+
}, Si = Le(
|
|
3938
3938
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3939
|
-
(e, t =
|
|
3939
|
+
(e, t = M()) => new ar(e, t, W().formats, {
|
|
3940
3940
|
ignoreTag: W().ignoreTag
|
|
3941
3941
|
})
|
|
3942
|
-
),
|
|
3942
|
+
), Ai = (e, t = {}) => {
|
|
3943
3943
|
var r, n, i, s;
|
|
3944
|
-
let
|
|
3945
|
-
typeof e == "object" && (
|
|
3944
|
+
let a = t;
|
|
3945
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
3946
3946
|
const {
|
|
3947
|
-
values:
|
|
3948
|
-
locale: h =
|
|
3947
|
+
values: o,
|
|
3948
|
+
locale: h = M(),
|
|
3949
3949
|
default: u
|
|
3950
|
-
} =
|
|
3950
|
+
} = a;
|
|
3951
3951
|
if (h == null)
|
|
3952
3952
|
throw new Error(
|
|
3953
3953
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3954
3954
|
);
|
|
3955
|
-
let l =
|
|
3955
|
+
let l = or(e, h);
|
|
3956
3956
|
if (!l)
|
|
3957
3957
|
l = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3958
3958
|
else if (typeof l != "string")
|
|
3959
3959
|
return console.warn(
|
|
3960
3960
|
`[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.`
|
|
3961
3961
|
), l;
|
|
3962
|
-
if (!
|
|
3962
|
+
if (!o)
|
|
3963
3963
|
return l;
|
|
3964
3964
|
let c = l;
|
|
3965
3965
|
try {
|
|
3966
|
-
c = Si(l, h).format(
|
|
3966
|
+
c = Si(l, h).format(o);
|
|
3967
3967
|
} catch (m) {
|
|
3968
3968
|
m instanceof Error && console.warn(
|
|
3969
3969
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3971,18 +3971,18 @@ const se = (e, t) => {
|
|
|
3971
3971
|
);
|
|
3972
3972
|
}
|
|
3973
3973
|
return c;
|
|
3974
|
-
},
|
|
3975
|
-
J([R], () =>
|
|
3974
|
+
}, Bi = (e, t) => wi(t).format(e), Pi = (e, t) => Hi(t).format(e), Oi = (e, t) => Ti(t).format(e), Ci = (e, t = M()) => or(e, t), Ii = J([R, oe], () => Ai);
|
|
3975
|
+
J([R], () => Bi);
|
|
3976
3976
|
J([R], () => Pi);
|
|
3977
3977
|
J([R], () => Oi);
|
|
3978
|
-
J([R,
|
|
3979
|
-
function
|
|
3978
|
+
J([R, oe], () => Ci);
|
|
3979
|
+
function Li(e, t) {
|
|
3980
3980
|
if (e) {
|
|
3981
3981
|
const r = document.createElement("style");
|
|
3982
3982
|
r.innerHTML = t, e.appendChild(r);
|
|
3983
3983
|
}
|
|
3984
3984
|
}
|
|
3985
|
-
function
|
|
3985
|
+
function Mi(e, t) {
|
|
3986
3986
|
if (!e || !t)
|
|
3987
3987
|
return;
|
|
3988
3988
|
const r = new URL(t);
|
|
@@ -3993,7 +3993,7 @@ function Li(e, t) {
|
|
|
3993
3993
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3994
3994
|
});
|
|
3995
3995
|
}
|
|
3996
|
-
function
|
|
3996
|
+
function Ni(e, t, r) {
|
|
3997
3997
|
if (window.emMessageBus) {
|
|
3998
3998
|
const n = document.createElement("style");
|
|
3999
3999
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4001,7 +4001,7 @@ function Mi(e, t, r) {
|
|
|
4001
4001
|
});
|
|
4002
4002
|
}
|
|
4003
4003
|
}
|
|
4004
|
-
function
|
|
4004
|
+
function Et(e, t) {
|
|
4005
4005
|
lr(e, t);
|
|
4006
4006
|
}
|
|
4007
4007
|
function $i(e) {
|
|
@@ -4034,7 +4034,10 @@ const xt = {
|
|
|
4034
4034
|
TransactionCodeIsInvalid: "Transaction code is invalid",
|
|
4035
4035
|
InvalidSession: "Your session has expired. Please try again",
|
|
4036
4036
|
TwoFactorAuthRequired: "Two-factor authentication is required",
|
|
4037
|
-
DeclinedByMerchant: "We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance."
|
|
4037
|
+
DeclinedByMerchant: "We apologise, but transaction has been closed by merchant. Please contact Customer Support for further assistance.",
|
|
4038
|
+
FraudSuspectedError: "We apologise, but we are unable to process your transaction at this time, please try later or contact Customer Support for further assistance. Error Code 22020",
|
|
4039
|
+
OnlyOnePendingTransactionPerUserlsAllowed: "Only one pending transaction per user is allowed",
|
|
4040
|
+
TransactionFrequencyLimitReached: "Transaction frequency limit reached"
|
|
4038
4041
|
},
|
|
4039
4042
|
tr: {
|
|
4040
4043
|
errorGeneralTitle: "Hata oluştu",
|
|
@@ -4060,14 +4063,46 @@ const xt = {
|
|
|
4060
4063
|
TransactionCodeIsInvalid: "Transaction code is invalid",
|
|
4061
4064
|
InvalidSession: "Beklenmedik bir hata oluştu, lütfen tekrar deneyin.",
|
|
4062
4065
|
TwoFactorAuthRequired: "İki faktörlü kimlik doğrulama gereklidi",
|
|
4063
|
-
DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin."
|
|
4066
|
+
DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin.",
|
|
4067
|
+
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.",
|
|
4068
|
+
OnlyOnePendingTransactionPerUserlsAllowed: "Devam eden bir talebiniz olduğu için șu anda yeni bir işlem başlatılamaz.",
|
|
4069
|
+
TransactionFrequencyLimitReached: "İşlem sıklığı limiti aşıldı"
|
|
4070
|
+
},
|
|
4071
|
+
fr: {
|
|
4072
|
+
errorGeneralTitle: "Une erreur s’est produite",
|
|
4073
|
+
errorGeneralText: "Une erreur est survenue",
|
|
4074
|
+
errorGeneralButton: "FERMER",
|
|
4075
|
+
PlayerSessionIsNotValid: "La session du joueur n’est pas valide",
|
|
4076
|
+
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",
|
|
4077
|
+
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",
|
|
4078
|
+
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",
|
|
4079
|
+
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",
|
|
4080
|
+
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",
|
|
4081
|
+
JwtTokenError: "IDX12741 : le JWT doit comporter trois segments (JWS) ou cinq segments (JWE).",
|
|
4082
|
+
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",
|
|
4083
|
+
InsufficientCasinoFunds: "Votre retrait dépasse votre solde disponible. Veuillez vérifier votre solde disponible afin d’ajuster le montant du retrait",
|
|
4084
|
+
DepositWageringLimit: "Attention ! Le solde de vos gains est inférieur au montant que vous souhaitez retirer.",
|
|
4085
|
+
AmountMinLimitExceeded: "Le montant est inférieur à la limite minimale du moyen de paiement",
|
|
4086
|
+
AmountMaxLimitExceeded: "Le montant est supérieur à la limite maximale du moyen de paiement",
|
|
4087
|
+
AmountIsMissing: "Le montant est manquant",
|
|
4088
|
+
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",
|
|
4089
|
+
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",
|
|
4090
|
+
MerchantUserAccountIsInactive: "Refusé : le compte utilisateur marchand est inactif",
|
|
4091
|
+
MerchantUserHasDepositDenyRole: "Refusé : l’utilisateur marchand a un rôle interdisant les dépôts",
|
|
4092
|
+
TransactionCodeIsInvalid: "Le code de transaction n’est pas valide",
|
|
4093
|
+
InvalidSession: "Votre session a expiré. Veuillez réessayer",
|
|
4094
|
+
TwoFactorAuthRequired: "L’authentification à deux facteurs est requise",
|
|
4095
|
+
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.",
|
|
4096
|
+
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",
|
|
4097
|
+
OnlyOnePendingTransactionPerUserlsAllowed: "Une seule transaction en attente par utilisateur est autorisée",
|
|
4098
|
+
TransactionFrequencyLimitReached: "Limite de fréquence des transactions atteinte"
|
|
4064
4099
|
}
|
|
4065
4100
|
};
|
|
4066
4101
|
function Ri(e) {
|
|
4067
4102
|
yr(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}");
|
|
4068
4103
|
}
|
|
4069
4104
|
const Di = (e) => ({}), Tt = (e) => ({}), Ui = (e) => ({}), Ht = (e) => ({}), ki = (e) => ({}), wt = (e) => ({}), Gi = (e) => ({}), St = (e) => ({ class: "CashierErrorIcon" });
|
|
4070
|
-
function
|
|
4105
|
+
function At(e) {
|
|
4071
4106
|
let t, r;
|
|
4072
4107
|
return {
|
|
4073
4108
|
c() {
|
|
@@ -4075,7 +4110,7 @@ function Bt(e) {
|
|
|
4075
4110
|
e[0]}/error-general-icon.png`) || pe(t, "src", r), pe(t, "width", "300px"), pe(t, "alt", "error");
|
|
4076
4111
|
},
|
|
4077
4112
|
m(n, i) {
|
|
4078
|
-
|
|
4113
|
+
q(n, t, i);
|
|
4079
4114
|
},
|
|
4080
4115
|
p(n, i) {
|
|
4081
4116
|
i & /*assetsurl*/
|
|
@@ -4083,32 +4118,32 @@ function Bt(e) {
|
|
|
4083
4118
|
n[0]}/error-general-icon.png`) && pe(t, "src", r);
|
|
4084
4119
|
},
|
|
4085
4120
|
d(n) {
|
|
4086
|
-
n &&
|
|
4121
|
+
n && L(t);
|
|
4087
4122
|
}
|
|
4088
4123
|
};
|
|
4089
4124
|
}
|
|
4090
4125
|
function Fi(e) {
|
|
4091
4126
|
let t, r = (
|
|
4092
4127
|
/*assetsurl*/
|
|
4093
|
-
e[0] &&
|
|
4128
|
+
e[0] && At(e)
|
|
4094
4129
|
);
|
|
4095
4130
|
return {
|
|
4096
4131
|
c() {
|
|
4097
|
-
r && r.c(), t =
|
|
4132
|
+
r && r.c(), t = vr();
|
|
4098
4133
|
},
|
|
4099
4134
|
m(n, i) {
|
|
4100
|
-
r && r.m(n, i),
|
|
4135
|
+
r && r.m(n, i), q(n, t, i);
|
|
4101
4136
|
},
|
|
4102
4137
|
p(n, i) {
|
|
4103
4138
|
/*assetsurl*/
|
|
4104
|
-
n[0] ? r ? r.p(n, i) : (r =
|
|
4139
|
+
n[0] ? r ? r.p(n, i) : (r = At(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
4105
4140
|
},
|
|
4106
4141
|
d(n) {
|
|
4107
|
-
n &&
|
|
4142
|
+
n && L(t), r && r.d(n);
|
|
4108
4143
|
}
|
|
4109
4144
|
};
|
|
4110
4145
|
}
|
|
4111
|
-
function
|
|
4146
|
+
function zi(e) {
|
|
4112
4147
|
let t, r = (
|
|
4113
4148
|
/*$_*/
|
|
4114
4149
|
e[3](`${/*errorcode*/
|
|
@@ -4116,10 +4151,10 @@ function ji(e) {
|
|
|
4116
4151
|
), n;
|
|
4117
4152
|
return {
|
|
4118
4153
|
c() {
|
|
4119
|
-
t = P("span"), n = Pe(r),
|
|
4154
|
+
t = P("span"), n = Pe(r), z(t, "class", "CashierErrorText");
|
|
4120
4155
|
},
|
|
4121
4156
|
m(i, s) {
|
|
4122
|
-
|
|
4157
|
+
q(i, t, s), O(t, n);
|
|
4123
4158
|
},
|
|
4124
4159
|
p(i, s) {
|
|
4125
4160
|
s & /*$_, errorcode*/
|
|
@@ -4128,44 +4163,44 @@ function ji(e) {
|
|
|
4128
4163
|
i[1] || "errorGeneralText"}`) + "") && Dt(n, r);
|
|
4129
4164
|
},
|
|
4130
4165
|
d(i) {
|
|
4131
|
-
i &&
|
|
4166
|
+
i && L(t);
|
|
4132
4167
|
}
|
|
4133
4168
|
};
|
|
4134
4169
|
}
|
|
4135
|
-
function
|
|
4170
|
+
function ji(e) {
|
|
4136
4171
|
let t, r, n = (
|
|
4137
4172
|
/*$_*/
|
|
4138
4173
|
e[3]("errorGeneralButton") + ""
|
|
4139
|
-
), i, s,
|
|
4174
|
+
), i, s, a;
|
|
4140
4175
|
return {
|
|
4141
4176
|
c() {
|
|
4142
|
-
t = P("button"), r = P("span"), i = Pe(n),
|
|
4177
|
+
t = P("button"), r = P("span"), i = Pe(n), z(t, "class", "CashierErrorButton");
|
|
4143
4178
|
},
|
|
4144
|
-
m(
|
|
4145
|
-
|
|
4179
|
+
m(o, h) {
|
|
4180
|
+
q(o, t, h), O(t, r), O(r, i), s || (a = Er(
|
|
4146
4181
|
t,
|
|
4147
4182
|
"click",
|
|
4148
4183
|
/*close*/
|
|
4149
4184
|
e[4]
|
|
4150
4185
|
), s = !0);
|
|
4151
4186
|
},
|
|
4152
|
-
p(
|
|
4187
|
+
p(o, h) {
|
|
4153
4188
|
h & /*$_*/
|
|
4154
4189
|
8 && n !== (n = /*$_*/
|
|
4155
|
-
|
|
4190
|
+
o[3]("errorGeneralButton") + "") && Dt(i, n);
|
|
4156
4191
|
},
|
|
4157
|
-
d(
|
|
4158
|
-
|
|
4192
|
+
d(o) {
|
|
4193
|
+
o && L(t), s = !1, a();
|
|
4159
4194
|
}
|
|
4160
4195
|
};
|
|
4161
4196
|
}
|
|
4162
4197
|
function Vi(e) {
|
|
4163
|
-
let t, r, n, i, s,
|
|
4164
|
-
const
|
|
4198
|
+
let t, r, n, i, s, a;
|
|
4199
|
+
const o = (
|
|
4165
4200
|
/*#slots*/
|
|
4166
4201
|
e[11].icon
|
|
4167
4202
|
), h = ce(
|
|
4168
|
-
|
|
4203
|
+
o,
|
|
4169
4204
|
e,
|
|
4170
4205
|
/*$$scope*/
|
|
4171
4206
|
e[10],
|
|
@@ -4188,33 +4223,33 @@ function Vi(e) {
|
|
|
4188
4223
|
/*$$scope*/
|
|
4189
4224
|
e[10],
|
|
4190
4225
|
Ht
|
|
4191
|
-
), p = d ||
|
|
4226
|
+
), p = d || zi(e), _ = (
|
|
4192
4227
|
/*#slots*/
|
|
4193
4228
|
e[11].button
|
|
4194
|
-
),
|
|
4229
|
+
), E = ce(
|
|
4195
4230
|
_,
|
|
4196
4231
|
e,
|
|
4197
4232
|
/*$$scope*/
|
|
4198
4233
|
e[10],
|
|
4199
4234
|
Tt
|
|
4200
|
-
),
|
|
4235
|
+
), v = E || ji(e);
|
|
4201
4236
|
return {
|
|
4202
4237
|
c() {
|
|
4203
|
-
t = P("div"), r = P("div"), u && u.c(), n =
|
|
4238
|
+
t = P("div"), r = P("div"), u && u.c(), n = Me(), c && c.c(), i = Me(), p && p.c(), s = Me(), v && v.c(), z(r, "class", "CashierErrorContent"), z(t, "class", "CashierError");
|
|
4204
4239
|
},
|
|
4205
4240
|
m(f, g) {
|
|
4206
|
-
|
|
4241
|
+
q(f, t, g), O(t, r), u && u.m(r, null), O(r, n), c && c.m(r, null), O(r, i), p && p.m(r, null), O(r, s), v && v.m(r, null), e[12](t), a = !0;
|
|
4207
4242
|
},
|
|
4208
4243
|
p(f, [g]) {
|
|
4209
|
-
h ? h.p && (!
|
|
4244
|
+
h ? h.p && (!a || g & /*$$scope*/
|
|
4210
4245
|
1024) && me(
|
|
4211
4246
|
h,
|
|
4212
|
-
|
|
4247
|
+
o,
|
|
4213
4248
|
f,
|
|
4214
4249
|
/*$$scope*/
|
|
4215
4250
|
f[10],
|
|
4216
|
-
|
|
4217
|
-
|
|
4251
|
+
a ? fe(
|
|
4252
|
+
o,
|
|
4218
4253
|
/*$$scope*/
|
|
4219
4254
|
f[10],
|
|
4220
4255
|
g,
|
|
@@ -4224,15 +4259,15 @@ function Vi(e) {
|
|
|
4224
4259
|
f[10]
|
|
4225
4260
|
),
|
|
4226
4261
|
St
|
|
4227
|
-
) : u && u.p && (!
|
|
4228
|
-
1) && u.p(f,
|
|
4262
|
+
) : u && u.p && (!a || g & /*assetsurl*/
|
|
4263
|
+
1) && u.p(f, a ? g : -1), c && c.p && (!a || g & /*$$scope*/
|
|
4229
4264
|
1024) && me(
|
|
4230
4265
|
c,
|
|
4231
4266
|
l,
|
|
4232
4267
|
f,
|
|
4233
4268
|
/*$$scope*/
|
|
4234
4269
|
f[10],
|
|
4235
|
-
|
|
4270
|
+
a ? fe(
|
|
4236
4271
|
l,
|
|
4237
4272
|
/*$$scope*/
|
|
4238
4273
|
f[10],
|
|
@@ -4243,14 +4278,14 @@ function Vi(e) {
|
|
|
4243
4278
|
f[10]
|
|
4244
4279
|
),
|
|
4245
4280
|
wt
|
|
4246
|
-
), d ? d.p && (!
|
|
4281
|
+
), d ? d.p && (!a || g & /*$$scope*/
|
|
4247
4282
|
1024) && me(
|
|
4248
4283
|
d,
|
|
4249
4284
|
m,
|
|
4250
4285
|
f,
|
|
4251
4286
|
/*$$scope*/
|
|
4252
4287
|
f[10],
|
|
4253
|
-
|
|
4288
|
+
a ? fe(
|
|
4254
4289
|
m,
|
|
4255
4290
|
/*$$scope*/
|
|
4256
4291
|
f[10],
|
|
@@ -4261,15 +4296,15 @@ function Vi(e) {
|
|
|
4261
4296
|
f[10]
|
|
4262
4297
|
),
|
|
4263
4298
|
Ht
|
|
4264
|
-
) : p && p.p && (!
|
|
4265
|
-
10) && p.p(f,
|
|
4299
|
+
) : p && p.p && (!a || g & /*$_, errorcode*/
|
|
4300
|
+
10) && p.p(f, a ? g : -1), E ? E.p && (!a || g & /*$$scope*/
|
|
4266
4301
|
1024) && me(
|
|
4267
|
-
|
|
4302
|
+
E,
|
|
4268
4303
|
_,
|
|
4269
4304
|
f,
|
|
4270
4305
|
/*$$scope*/
|
|
4271
4306
|
f[10],
|
|
4272
|
-
|
|
4307
|
+
a ? fe(
|
|
4273
4308
|
_,
|
|
4274
4309
|
/*$$scope*/
|
|
4275
4310
|
f[10],
|
|
@@ -4280,71 +4315,71 @@ function Vi(e) {
|
|
|
4280
4315
|
f[10]
|
|
4281
4316
|
),
|
|
4282
4317
|
Tt
|
|
4283
|
-
) :
|
|
4284
|
-
8) &&
|
|
4318
|
+
) : v && v.p && (!a || g & /*$_*/
|
|
4319
|
+
8) && v.p(f, a ? g : -1);
|
|
4285
4320
|
},
|
|
4286
4321
|
i(f) {
|
|
4287
|
-
|
|
4322
|
+
a || (K(u, f), K(c, f), K(p, f), K(v, f), a = !0);
|
|
4288
4323
|
},
|
|
4289
4324
|
o(f) {
|
|
4290
|
-
ge(u, f), ge(c, f), ge(p, f), ge(
|
|
4325
|
+
ge(u, f), ge(c, f), ge(p, f), ge(v, f), a = !1;
|
|
4291
4326
|
},
|
|
4292
4327
|
d(f) {
|
|
4293
|
-
f &&
|
|
4328
|
+
f && L(t), u && u.d(f), c && c.d(f), p && p.d(f), v && v.d(f), e[12](null);
|
|
4294
4329
|
}
|
|
4295
4330
|
};
|
|
4296
4331
|
}
|
|
4297
4332
|
function Xi(e, t, r) {
|
|
4298
4333
|
let n;
|
|
4299
|
-
br(e,
|
|
4300
|
-
let { $$slots: i = {}, $$scope: s } = t, { assetsurl:
|
|
4334
|
+
br(e, Ii, (f) => r(3, n = f));
|
|
4335
|
+
let { $$slots: i = {}, $$scope: s } = t, { assetsurl: a = "" } = t, { lang: o = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
|
|
4301
4336
|
const p = () => {
|
|
4302
|
-
$i(
|
|
4337
|
+
$i(o);
|
|
4303
4338
|
}, _ = () => {
|
|
4304
4339
|
fetch(c).then((g) => g.json()).then((g) => {
|
|
4305
4340
|
Object.keys(g).forEach((S) => {
|
|
4306
|
-
|
|
4341
|
+
Et(S, g[S]);
|
|
4307
4342
|
});
|
|
4308
4343
|
}).catch((g) => {
|
|
4309
4344
|
console.error(g);
|
|
4310
4345
|
});
|
|
4311
4346
|
};
|
|
4312
4347
|
Object.keys(xt).forEach((f) => {
|
|
4313
|
-
|
|
4348
|
+
Et(f, xt[f]);
|
|
4314
4349
|
});
|
|
4315
|
-
const
|
|
4350
|
+
const E = () => {
|
|
4316
4351
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
4317
4352
|
};
|
|
4318
4353
|
Pr(() => () => {
|
|
4319
4354
|
});
|
|
4320
|
-
function
|
|
4321
|
-
|
|
4355
|
+
function v(f) {
|
|
4356
|
+
ze[f ? "unshift" : "push"](() => {
|
|
4322
4357
|
d = f, r(2, d);
|
|
4323
4358
|
});
|
|
4324
4359
|
}
|
|
4325
4360
|
return e.$$set = (f) => {
|
|
4326
|
-
"assetsurl" in f && r(0,
|
|
4361
|
+
"assetsurl" in f && r(0, a = f.assetsurl), "lang" in f && r(5, o = f.lang), "errorcode" in f && r(1, h = f.errorcode), "clientstyling" in f && r(6, u = f.clientstyling), "clientstylingurl" in f && r(7, l = f.clientstylingurl), "translationurl" in f && r(8, c = f.translationurl), "mbsource" in f && r(9, m = f.mbsource), "$$scope" in f && r(10, s = f.$$scope);
|
|
4327
4362
|
}, e.$$.update = () => {
|
|
4328
4363
|
e.$$.dirty & /*lang*/
|
|
4329
|
-
32 &&
|
|
4330
|
-
68 && u && d &&
|
|
4331
|
-
132 && l && d &&
|
|
4332
|
-
516 && m && d &&
|
|
4364
|
+
32 && o && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4365
|
+
68 && u && d && Li(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4366
|
+
132 && l && d && Mi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4367
|
+
516 && m && d && Ni(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
|
|
4333
4368
|
256 && c && _();
|
|
4334
4369
|
}, [
|
|
4335
|
-
|
|
4370
|
+
a,
|
|
4336
4371
|
h,
|
|
4337
4372
|
d,
|
|
4338
4373
|
n,
|
|
4339
|
-
|
|
4340
|
-
|
|
4374
|
+
E,
|
|
4375
|
+
o,
|
|
4341
4376
|
u,
|
|
4342
4377
|
l,
|
|
4343
4378
|
c,
|
|
4344
4379
|
m,
|
|
4345
4380
|
s,
|
|
4346
4381
|
i,
|
|
4347
|
-
|
|
4382
|
+
v
|
|
4348
4383
|
];
|
|
4349
4384
|
}
|
|
4350
4385
|
class dr extends Ur {
|
|
@@ -4371,43 +4406,43 @@ class dr extends Ur {
|
|
|
4371
4406
|
return this.$$.ctx[0];
|
|
4372
4407
|
}
|
|
4373
4408
|
set assetsurl(t) {
|
|
4374
|
-
this.$$set({ assetsurl: t }),
|
|
4409
|
+
this.$$set({ assetsurl: t }), B();
|
|
4375
4410
|
}
|
|
4376
4411
|
get lang() {
|
|
4377
4412
|
return this.$$.ctx[5];
|
|
4378
4413
|
}
|
|
4379
4414
|
set lang(t) {
|
|
4380
|
-
this.$$set({ lang: t }),
|
|
4415
|
+
this.$$set({ lang: t }), B();
|
|
4381
4416
|
}
|
|
4382
4417
|
get errorcode() {
|
|
4383
4418
|
return this.$$.ctx[1];
|
|
4384
4419
|
}
|
|
4385
4420
|
set errorcode(t) {
|
|
4386
|
-
this.$$set({ errorcode: t }),
|
|
4421
|
+
this.$$set({ errorcode: t }), B();
|
|
4387
4422
|
}
|
|
4388
4423
|
get clientstyling() {
|
|
4389
4424
|
return this.$$.ctx[6];
|
|
4390
4425
|
}
|
|
4391
4426
|
set clientstyling(t) {
|
|
4392
|
-
this.$$set({ clientstyling: t }),
|
|
4427
|
+
this.$$set({ clientstyling: t }), B();
|
|
4393
4428
|
}
|
|
4394
4429
|
get clientstylingurl() {
|
|
4395
4430
|
return this.$$.ctx[7];
|
|
4396
4431
|
}
|
|
4397
4432
|
set clientstylingurl(t) {
|
|
4398
|
-
this.$$set({ clientstylingurl: t }),
|
|
4433
|
+
this.$$set({ clientstylingurl: t }), B();
|
|
4399
4434
|
}
|
|
4400
4435
|
get translationurl() {
|
|
4401
4436
|
return this.$$.ctx[8];
|
|
4402
4437
|
}
|
|
4403
4438
|
set translationurl(t) {
|
|
4404
|
-
this.$$set({ translationurl: t }),
|
|
4439
|
+
this.$$set({ translationurl: t }), B();
|
|
4405
4440
|
}
|
|
4406
4441
|
get mbsource() {
|
|
4407
4442
|
return this.$$.ctx[9];
|
|
4408
4443
|
}
|
|
4409
4444
|
set mbsource(t) {
|
|
4410
|
-
this.$$set({ mbsource: t }),
|
|
4445
|
+
this.$$set({ mbsource: t }), B();
|
|
4411
4446
|
}
|
|
4412
4447
|
}
|
|
4413
4448
|
Dr(dr, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
@@ -4421,17 +4456,17 @@ export {
|
|
|
4421
4456
|
Pe as B,
|
|
4422
4457
|
pe as C,
|
|
4423
4458
|
$ as D,
|
|
4424
|
-
|
|
4425
|
-
|
|
4459
|
+
Er as E,
|
|
4460
|
+
vr as F,
|
|
4426
4461
|
es as G,
|
|
4427
|
-
|
|
4462
|
+
qi as H,
|
|
4428
4463
|
Ji as I,
|
|
4429
4464
|
st as J,
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4465
|
+
Zi as K,
|
|
4466
|
+
Ii as L,
|
|
4467
|
+
Li as M,
|
|
4468
|
+
Mi as N,
|
|
4469
|
+
Ni as O,
|
|
4435
4470
|
rs as P,
|
|
4436
4471
|
Ur as S,
|
|
4437
4472
|
lr as a,
|
|
@@ -4439,24 +4474,24 @@ export {
|
|
|
4439
4474
|
ts as c,
|
|
4440
4475
|
Dr as d,
|
|
4441
4476
|
Rr as e,
|
|
4442
|
-
|
|
4477
|
+
B as f,
|
|
4443
4478
|
Fr as g,
|
|
4444
4479
|
yr as h,
|
|
4445
|
-
|
|
4446
|
-
|
|
4447
|
-
|
|
4480
|
+
Bt as i,
|
|
4481
|
+
L as j,
|
|
4482
|
+
q as k,
|
|
4448
4483
|
P as l,
|
|
4449
|
-
|
|
4484
|
+
z as m,
|
|
4450
4485
|
w as n,
|
|
4451
4486
|
br as o,
|
|
4452
4487
|
Pr as p,
|
|
4453
|
-
|
|
4488
|
+
ze as q,
|
|
4454
4489
|
ge as r,
|
|
4455
4490
|
Ot as s,
|
|
4456
4491
|
K as t,
|
|
4457
4492
|
Qi as u,
|
|
4458
4493
|
O as v,
|
|
4459
|
-
|
|
4494
|
+
Me as w,
|
|
4460
4495
|
Ki as x,
|
|
4461
4496
|
ne as y,
|
|
4462
4497
|
Yi as z
|