@everymatrix/cashier-receipt-page-nd 0.1.2 → 0.1.3
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-D8uXC0d6.js → CashierError-2JTB_G8Y.js} +829 -797
- package/components/CashierError-BLpMSo_b.cjs +21 -0
- package/components/{CashierError-CNXQNZZh.js → CashierError-DEbZ5be6.js} +808 -776
- package/components/{CashierReceiptPage-I7pC1qy8.js → CashierReceiptPage-BoVGREGa.js} +535 -584
- package/components/{CashierReceiptPage-DU5vkhNt.js → CashierReceiptPage-DF6_dEIY.js} +539 -588
- package/components/{CashierReceiptPage-BEHtPF47.cjs → CashierReceiptPage-sj16x01S.cjs} +3 -16
- 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 +1 -1
- package/stencil/index-97d17652-DvplcHtm.js +558 -0
- package/stencil/index-97d17652-ILzgTtTR.cjs +1 -0
- package/stencil/index-97d17652-p-iQtjus.js +542 -0
- package/stencil/{ui-image-BX-FBhad.cjs → ui-image-BDXyFHck.cjs} +1 -1
- package/stencil/{ui-image-CP8Lp7fB.js → ui-image-Cc8wLmDe.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-BKRtoUuG.js → ui-image-b7b48fe5-CBB2FKRZ.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-MC0x5ZQd.cjs → ui-image-b7b48fe5-DjCO-ZF4.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-HA45CrsG.js → ui-image-b7b48fe5-rCWcyktd.js} +1 -1
- package/stencil/{ui-image-Ch-GHki1.js → ui-image-wH6lu7wS.js} +1 -1
- package/stencil/{ui-image_2-CmVho0dS.js → ui-image_2-BESQEo1l.js} +2 -2
- package/stencil/{ui-image_2-Daq38JGa.js → ui-image_2-BfZmduAK.js} +2 -2
- package/stencil/{ui-image_2-CyqE6j_W.cjs → ui-image_2-ZFidgTXM.cjs} +1 -1
- package/components/CashierError-CcXkeFHB.cjs +0 -8
- package/stencil/index-97d17652-B6BYeRne.js +0 -542
- package/stencil/index-97d17652-BOr4KAqq.js +0 -558
- package/stencil/index-97d17652-zTl06Vn9.cjs +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../stencil/ui-image-
|
|
1
|
+
import "../stencil/ui-image-wH6lu7wS.js";
|
|
2
2
|
function w() {
|
|
3
3
|
}
|
|
4
4
|
const At = (e) => e;
|
|
@@ -16,18 +16,18 @@ function Pt(e) {
|
|
|
16
16
|
function it() {
|
|
17
17
|
return /* @__PURE__ */ Object.create(null);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function L(e) {
|
|
20
20
|
e.forEach(Pt);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function se(e) {
|
|
23
23
|
return typeof e == "function";
|
|
24
24
|
}
|
|
25
25
|
function Ot(e, t) {
|
|
26
26
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
27
27
|
}
|
|
28
|
-
let
|
|
28
|
+
let le;
|
|
29
29
|
function st(e, t) {
|
|
30
|
-
return e === t ? !0 : (
|
|
30
|
+
return e === t ? !0 : (le || (le = document.createElement("a")), le.href = t, e === le.href);
|
|
31
31
|
}
|
|
32
32
|
function gr(e) {
|
|
33
33
|
return Object.keys(e).length === 0;
|
|
@@ -44,7 +44,7 @@ function It(e, ...t) {
|
|
|
44
44
|
function br(e, t, r) {
|
|
45
45
|
e.$$.on_destroy.push(It(t, r));
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function he(e, t, r, n) {
|
|
48
48
|
if (e) {
|
|
49
49
|
const i = Ct(e, t, r, n);
|
|
50
50
|
return e[0](i);
|
|
@@ -53,28 +53,28 @@ function ce(e, t, r, n) {
|
|
|
53
53
|
function Ct(e, t, r, n) {
|
|
54
54
|
return e[1] && n ? pr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function ce(e, t, r, n) {
|
|
57
57
|
if (e[2] && n) {
|
|
58
58
|
const i = e[2](n(r));
|
|
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;
|
|
68
68
|
}
|
|
69
69
|
return t.dirty;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function fe(e, t, r, n, i, s) {
|
|
72
72
|
if (i) {
|
|
73
|
-
const
|
|
74
|
-
e.p(
|
|
73
|
+
const a = Ct(t, r, n, s);
|
|
74
|
+
e.p(a, i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function me(e) {
|
|
78
78
|
if (e.ctx.length > 32) {
|
|
79
79
|
const t = [], r = e.ctx.length / 32;
|
|
80
80
|
for (let n = 0; n < r; n++)
|
|
@@ -84,35 +84,35 @@ function de(e) {
|
|
|
84
84
|
return -1;
|
|
85
85
|
}
|
|
86
86
|
const Nt = typeof window < "u";
|
|
87
|
-
let
|
|
88
|
-
const
|
|
89
|
-
function
|
|
90
|
-
|
|
91
|
-
t.c(e) || (
|
|
92
|
-
}),
|
|
87
|
+
let Mt = Nt ? () => window.performance.now() : () => Date.now(), Qe = Nt ? (e) => requestAnimationFrame(e) : w;
|
|
88
|
+
const k = /* @__PURE__ */ new Set();
|
|
89
|
+
function Lt(e) {
|
|
90
|
+
k.forEach((t) => {
|
|
91
|
+
t.c(e) || (k.delete(t), t.f());
|
|
92
|
+
}), k.size !== 0 && Qe(Lt);
|
|
93
93
|
}
|
|
94
94
|
function $t(e) {
|
|
95
95
|
let t;
|
|
96
|
-
return
|
|
96
|
+
return k.size === 0 && Qe(Lt), {
|
|
97
97
|
promise: new Promise((r) => {
|
|
98
|
-
|
|
98
|
+
k.add(t = { c: e, f: r });
|
|
99
99
|
}),
|
|
100
100
|
abort() {
|
|
101
|
-
|
|
101
|
+
k.delete(t);
|
|
102
102
|
}
|
|
103
103
|
};
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function P(e, t) {
|
|
106
106
|
e.appendChild(t);
|
|
107
107
|
}
|
|
108
108
|
function yr(e, t, r) {
|
|
109
|
-
const n =
|
|
109
|
+
const n = Ye(e);
|
|
110
110
|
if (!n.getElementById(t)) {
|
|
111
|
-
const i =
|
|
111
|
+
const i = A("style");
|
|
112
112
|
i.id = t, i.textContent = r, Rt(n, i);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function Ye(e) {
|
|
116
116
|
if (!e)
|
|
117
117
|
return document;
|
|
118
118
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -123,50 +123,50 @@ function et(e) {
|
|
|
123
123
|
) : e.ownerDocument;
|
|
124
124
|
}
|
|
125
125
|
function _r(e) {
|
|
126
|
-
const t =
|
|
127
|
-
return t.textContent = "/* empty */", Rt(
|
|
126
|
+
const t = A("style");
|
|
127
|
+
return t.textContent = "/* empty */", Rt(Ye(e), t), t.sheet;
|
|
128
128
|
}
|
|
129
129
|
function Rt(e, t) {
|
|
130
|
-
return
|
|
130
|
+
return P(
|
|
131
131
|
/** @type {Document} */
|
|
132
132
|
e.head || e,
|
|
133
133
|
t
|
|
134
134
|
), t.sheet;
|
|
135
135
|
}
|
|
136
|
-
function
|
|
136
|
+
function W(e, t, r) {
|
|
137
137
|
e.insertBefore(t, r || null);
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function C(e) {
|
|
140
140
|
e.parentNode && e.parentNode.removeChild(e);
|
|
141
141
|
}
|
|
142
|
-
function
|
|
142
|
+
function Wi(e, t) {
|
|
143
143
|
for (let r = 0; r < e.length; r += 1)
|
|
144
144
|
e[r] && e[r].d(t);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function A(e) {
|
|
147
147
|
return document.createElement(e);
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function Zi(e) {
|
|
150
150
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
151
151
|
}
|
|
152
|
-
function
|
|
152
|
+
function Be(e) {
|
|
153
153
|
return document.createTextNode(e);
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
return
|
|
155
|
+
function Ce() {
|
|
156
|
+
return Be(" ");
|
|
157
157
|
}
|
|
158
|
-
function
|
|
159
|
-
return
|
|
158
|
+
function vr() {
|
|
159
|
+
return Be("");
|
|
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 F(e, t, r) {
|
|
165
165
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function de(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 : F(e, t, r);
|
|
170
170
|
}
|
|
171
171
|
function xr(e) {
|
|
172
172
|
return Array.from(e.childNodes);
|
|
@@ -187,8 +187,8 @@ function Hr(e) {
|
|
|
187
187
|
}
|
|
188
188
|
), t;
|
|
189
189
|
}
|
|
190
|
-
const
|
|
191
|
-
let
|
|
190
|
+
const Ee = /* @__PURE__ */ new Map();
|
|
191
|
+
let xe = 0;
|
|
192
192
|
function wr(e) {
|
|
193
193
|
let t = 5381, r = e.length;
|
|
194
194
|
for (; r--; )
|
|
@@ -197,157 +197,157 @@ function wr(e) {
|
|
|
197
197
|
}
|
|
198
198
|
function Sr(e, t) {
|
|
199
199
|
const r = { stylesheet: _r(t), rules: {} };
|
|
200
|
-
return
|
|
200
|
+
return Ee.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 E = t + (r - t) * s(
|
|
208
|
-
u +=
|
|
206
|
+
for (let x = 0; x <= 1; x += h) {
|
|
207
|
+
const E = t + (r - t) * s(x);
|
|
208
|
+
u += x * 100 + `%{${a(E, 1 - E)}}
|
|
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 = Ye(e), { stylesheet: d, rules: p } = Ee.get(m) || Sr(m, e);
|
|
213
213
|
p[c] || (p[c] = !0, d.insertRule(`@keyframes ${c} ${l}`, d.cssRules.length));
|
|
214
|
-
const
|
|
215
|
-
return e.style.animation = `${
|
|
214
|
+
const v = e.style.animation || "";
|
|
215
|
+
return e.style.animation = `${v ? `${v}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function ke(e, t) {
|
|
218
218
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
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(", "),
|
|
222
|
+
i && (e.style.animation = n.join(", "), xe -= i, xe || Br());
|
|
223
223
|
}
|
|
224
224
|
function Br() {
|
|
225
|
-
|
|
226
|
-
|
|
225
|
+
Qe(() => {
|
|
226
|
+
xe || (Ee.forEach((e) => {
|
|
227
227
|
const { ownerNode: t } = e.stylesheet;
|
|
228
|
-
t &&
|
|
229
|
-
}),
|
|
228
|
+
t && C(t);
|
|
229
|
+
}), Ee.clear());
|
|
230
230
|
});
|
|
231
231
|
}
|
|
232
|
-
let
|
|
233
|
-
function
|
|
234
|
-
|
|
232
|
+
let te;
|
|
233
|
+
function ee(e) {
|
|
234
|
+
te = e;
|
|
235
235
|
}
|
|
236
236
|
function Ar() {
|
|
237
|
-
if (!
|
|
237
|
+
if (!te)
|
|
238
238
|
throw new Error("Function called outside component initialization");
|
|
239
|
-
return
|
|
239
|
+
return te;
|
|
240
240
|
}
|
|
241
241
|
function Pr(e) {
|
|
242
242
|
Ar().$$.on_mount.push(e);
|
|
243
243
|
}
|
|
244
|
-
const
|
|
245
|
-
let
|
|
246
|
-
const
|
|
247
|
-
let
|
|
244
|
+
const U = [], Ge = [];
|
|
245
|
+
let G = [];
|
|
246
|
+
const at = [], Or = /* @__PURE__ */ Promise.resolve();
|
|
247
|
+
let Fe = !1;
|
|
248
248
|
function Ir() {
|
|
249
|
-
|
|
249
|
+
Fe || (Fe = !0, Or.then(B));
|
|
250
250
|
}
|
|
251
|
-
function
|
|
252
|
-
|
|
251
|
+
function re(e) {
|
|
252
|
+
G.push(e);
|
|
253
253
|
}
|
|
254
|
-
const
|
|
255
|
-
let
|
|
256
|
-
function
|
|
257
|
-
if (
|
|
254
|
+
const Ne = /* @__PURE__ */ new Set();
|
|
255
|
+
let R = 0;
|
|
256
|
+
function B() {
|
|
257
|
+
if (R !== 0)
|
|
258
258
|
return;
|
|
259
|
-
const e =
|
|
259
|
+
const e = te;
|
|
260
260
|
do {
|
|
261
261
|
try {
|
|
262
|
-
for (;
|
|
263
|
-
const t =
|
|
264
|
-
|
|
262
|
+
for (; R < U.length; ) {
|
|
263
|
+
const t = U[R];
|
|
264
|
+
R++, ee(t), Cr(t.$$);
|
|
265
265
|
}
|
|
266
266
|
} catch (t) {
|
|
267
|
-
throw
|
|
267
|
+
throw U.length = 0, R = 0, t;
|
|
268
268
|
}
|
|
269
|
-
for (
|
|
270
|
-
|
|
271
|
-
for (let t = 0; t <
|
|
272
|
-
const r =
|
|
273
|
-
|
|
269
|
+
for (ee(null), U.length = 0, R = 0; Ge.length; )
|
|
270
|
+
Ge.pop()();
|
|
271
|
+
for (let t = 0; t < G.length; t += 1) {
|
|
272
|
+
const r = G[t];
|
|
273
|
+
Ne.has(r) || (Ne.add(r), r());
|
|
274
274
|
}
|
|
275
|
-
|
|
276
|
-
} while (
|
|
277
|
-
for (;
|
|
278
|
-
|
|
279
|
-
|
|
275
|
+
G.length = 0;
|
|
276
|
+
} while (U.length);
|
|
277
|
+
for (; at.length; )
|
|
278
|
+
at.pop()();
|
|
279
|
+
Fe = !1, Ne.clear(), ee(e);
|
|
280
280
|
}
|
|
281
281
|
function Cr(e) {
|
|
282
282
|
if (e.fragment !== null) {
|
|
283
|
-
e.update(),
|
|
283
|
+
e.update(), L(e.before_update);
|
|
284
284
|
const t = e.dirty;
|
|
285
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
285
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(re);
|
|
286
286
|
}
|
|
287
287
|
}
|
|
288
288
|
function Nr(e) {
|
|
289
289
|
const t = [], r = [];
|
|
290
|
-
|
|
290
|
+
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
291
291
|
}
|
|
292
|
-
let
|
|
292
|
+
let q;
|
|
293
293
|
function kt() {
|
|
294
|
-
return
|
|
295
|
-
|
|
296
|
-
})),
|
|
294
|
+
return q || (q = Promise.resolve(), q.then(() => {
|
|
295
|
+
q = null;
|
|
296
|
+
})), q;
|
|
297
297
|
}
|
|
298
|
-
function
|
|
298
|
+
function Te(e, t, r) {
|
|
299
299
|
e.dispatchEvent(Tr(`${t ? "intro" : "outro"}${r}`));
|
|
300
300
|
}
|
|
301
|
-
const
|
|
302
|
-
let
|
|
303
|
-
function
|
|
304
|
-
|
|
301
|
+
const be = /* @__PURE__ */ new Set();
|
|
302
|
+
let O;
|
|
303
|
+
function Ji() {
|
|
304
|
+
O = {
|
|
305
305
|
r: 0,
|
|
306
306
|
c: [],
|
|
307
|
-
p:
|
|
307
|
+
p: O
|
|
308
308
|
// parent group
|
|
309
309
|
};
|
|
310
310
|
}
|
|
311
|
-
function
|
|
312
|
-
|
|
311
|
+
function qi() {
|
|
312
|
+
O.r || L(O.c), O = O.p;
|
|
313
313
|
}
|
|
314
|
-
function
|
|
315
|
-
e && e.i && (
|
|
314
|
+
function Y(e, t) {
|
|
315
|
+
e && e.i && (be.delete(e), e.i(t));
|
|
316
316
|
}
|
|
317
|
-
function
|
|
317
|
+
function pe(e, t, r, n) {
|
|
318
318
|
if (e && e.o) {
|
|
319
|
-
if (
|
|
319
|
+
if (be.has(e))
|
|
320
320
|
return;
|
|
321
|
-
|
|
322
|
-
|
|
321
|
+
be.add(e), O.c.push(() => {
|
|
322
|
+
be.delete(e), n && (r && e.d(1), n());
|
|
323
323
|
}), e.o(t);
|
|
324
324
|
} else
|
|
325
325
|
n && n();
|
|
326
326
|
}
|
|
327
327
|
const Gt = { duration: 0 };
|
|
328
|
-
function
|
|
328
|
+
function Qi(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 && ke(e, a);
|
|
333
333
|
}
|
|
334
334
|
function l() {
|
|
335
335
|
const {
|
|
336
336
|
delay: m = 0,
|
|
337
337
|
duration: d = 300,
|
|
338
338
|
easing: p = At,
|
|
339
|
-
tick:
|
|
340
|
-
css:
|
|
339
|
+
tick: v = w,
|
|
340
|
+
css: x
|
|
341
341
|
} = i || Gt;
|
|
342
|
-
|
|
343
|
-
const E =
|
|
344
|
-
|
|
342
|
+
x && (a = Ut(e, 0, 1, d, m, p, x, h++)), v(0, 1);
|
|
343
|
+
const E = Mt() + m, f = E + d;
|
|
344
|
+
o && o.abort(), s = !0, re(() => Te(e, !0, "start")), o = $t((g) => {
|
|
345
345
|
if (s) {
|
|
346
346
|
if (g >= f)
|
|
347
|
-
return
|
|
347
|
+
return v(1, 0), Te(e, !0, "end"), u(), s = !1;
|
|
348
348
|
if (g >= E) {
|
|
349
349
|
const S = p((g - E) / d);
|
|
350
|
-
|
|
350
|
+
v(S, 1 - S);
|
|
351
351
|
}
|
|
352
352
|
}
|
|
353
353
|
return s;
|
|
@@ -356,7 +356,7 @@ function Yi(e, t, r) {
|
|
|
356
356
|
let c = !1;
|
|
357
357
|
return {
|
|
358
358
|
start() {
|
|
359
|
-
c || (c = !0,
|
|
359
|
+
c || (c = !0, ke(e), se(i) ? (i = i(n), kt().then(l)) : l());
|
|
360
360
|
},
|
|
361
361
|
invalidate() {
|
|
362
362
|
c = !1;
|
|
@@ -366,11 +366,11 @@ function Yi(e, t, r) {
|
|
|
366
366
|
}
|
|
367
367
|
};
|
|
368
368
|
}
|
|
369
|
-
function
|
|
369
|
+
function Yi(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 = O;
|
|
373
|
+
o.r += 1;
|
|
374
374
|
let h;
|
|
375
375
|
function u() {
|
|
376
376
|
const {
|
|
@@ -380,49 +380,49 @@ function Ki(e, t, r) {
|
|
|
380
380
|
tick: d = w,
|
|
381
381
|
css: p
|
|
382
382
|
} = i || Gt;
|
|
383
|
-
p && (
|
|
384
|
-
const
|
|
385
|
-
|
|
383
|
+
p && (a = Ut(e, 1, 0, c, l, m, p));
|
|
384
|
+
const v = Mt() + l, x = v + c;
|
|
385
|
+
re(() => Te(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
|
|
386
386
|
e.inert, e.inert = !0), $t((E) => {
|
|
387
387
|
if (s) {
|
|
388
|
-
if (E >=
|
|
389
|
-
return d(0, 1),
|
|
390
|
-
if (E >=
|
|
391
|
-
const f = m((E -
|
|
388
|
+
if (E >= x)
|
|
389
|
+
return d(0, 1), Te(e, !1, "end"), --o.r || L(o.c), !1;
|
|
390
|
+
if (E >= v) {
|
|
391
|
+
const f = m((E - v) / c);
|
|
392
392
|
d(1 - f, f);
|
|
393
393
|
}
|
|
394
394
|
}
|
|
395
395
|
return s;
|
|
396
396
|
});
|
|
397
397
|
}
|
|
398
|
-
return
|
|
398
|
+
return se(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 && ke(e, a), s = !1);
|
|
403
403
|
}
|
|
404
404
|
};
|
|
405
405
|
}
|
|
406
|
-
function
|
|
406
|
+
function Ki(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
|
-
n && n.m(t, r),
|
|
412
|
-
const s = e.$$.on_mount.map(Pt).filter(
|
|
413
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
414
|
-
}), i.forEach(
|
|
411
|
+
n && n.m(t, r), re(() => {
|
|
412
|
+
const s = e.$$.on_mount.map(Pt).filter(se);
|
|
413
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : L(s), e.$$.on_mount = [];
|
|
414
|
+
}), i.forEach(re);
|
|
415
415
|
}
|
|
416
|
-
function
|
|
416
|
+
function Lr(e, t) {
|
|
417
417
|
const r = e.$$;
|
|
418
|
-
r.fragment !== null && (Nr(r.after_update),
|
|
418
|
+
r.fragment !== null && (Nr(r.after_update), L(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 && (
|
|
421
|
+
e.$$.dirty[0] === -1 && (U.push(e), Ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
422
422
|
}
|
|
423
|
-
function Rr(e, t, r, n, i, s,
|
|
424
|
-
const h =
|
|
425
|
-
|
|
423
|
+
function Rr(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
424
|
+
const h = te;
|
|
425
|
+
ee(e);
|
|
426
426
|
const u = e.$$ = {
|
|
427
427
|
fragment: null,
|
|
428
428
|
ctx: [],
|
|
@@ -440,24 +440,24 @@ 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;
|
|
451
451
|
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && $r(e, c)), m;
|
|
452
|
-
}) : [], u.update(), l = !0,
|
|
452
|
+
}) : [], u.update(), l = !0, L(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(C);
|
|
456
456
|
} else
|
|
457
457
|
u.fragment && u.fragment.c();
|
|
458
|
-
t.intro &&
|
|
458
|
+
t.intro && Y(e.$$.fragment), Mr(e, t.target, t.anchor), B();
|
|
459
459
|
}
|
|
460
|
-
|
|
460
|
+
ee(h);
|
|
461
461
|
}
|
|
462
462
|
let Ft;
|
|
463
463
|
typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
@@ -502,17 +502,17 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
502
502
|
let s;
|
|
503
503
|
return {
|
|
504
504
|
c: function() {
|
|
505
|
-
s =
|
|
505
|
+
s = A("slot"), i !== "default" && F(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
|
+
W(h, s, u);
|
|
513
513
|
},
|
|
514
514
|
d: function(h) {
|
|
515
|
-
h &&
|
|
515
|
+
h && C(s);
|
|
516
516
|
}
|
|
517
517
|
};
|
|
518
518
|
};
|
|
@@ -524,7 +524,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
524
524
|
i in r && (t[i] = [e(i)]);
|
|
525
525
|
for (const i of this.attributes) {
|
|
526
526
|
const s = this.$$g_p(i.name);
|
|
527
|
-
s in this.$$d || (this.$$d[s] =
|
|
527
|
+
s in this.$$d || (this.$$d[s] = ye(s, i.value, this.$$p_d, "toProp"));
|
|
528
528
|
}
|
|
529
529
|
for (const i in this.$$p_d)
|
|
530
530
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -542,7 +542,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
542
542
|
this.$$r = !0;
|
|
543
543
|
for (const i in this.$$p_d)
|
|
544
544
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
545
|
-
const s =
|
|
545
|
+
const s = ye(
|
|
546
546
|
i,
|
|
547
547
|
this.$$d[i],
|
|
548
548
|
this.$$p_d,
|
|
@@ -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
|
}
|
|
@@ -564,7 +564,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
564
564
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
565
565
|
// and setting attributes through setAttribute etc, this is helpful
|
|
566
566
|
attributeChangedCallback(e, t, r) {
|
|
567
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
567
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ye(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
568
568
|
}
|
|
569
569
|
disconnectedCallback() {
|
|
570
570
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -577,7 +577,7 @@ typeof HTMLElement == "function" && (Ft = class extends HTMLElement {
|
|
|
577
577
|
) || e;
|
|
578
578
|
}
|
|
579
579
|
});
|
|
580
|
-
function
|
|
580
|
+
function ye(e, t, r, n) {
|
|
581
581
|
const i = r[e]?.type;
|
|
582
582
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
583
583
|
return t;
|
|
@@ -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 =
|
|
626
|
+
h = ye(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
|
+
Lr(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 (!se(r))
|
|
667
667
|
return w;
|
|
668
668
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
669
669
|
return n.push(r), () => {
|
|
@@ -681,44 +681,44 @@ class Ur {
|
|
|
681
681
|
}
|
|
682
682
|
const kr = "4";
|
|
683
683
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
|
|
684
|
-
const
|
|
684
|
+
const D = [];
|
|
685
685
|
function Gr(e, t) {
|
|
686
686
|
return {
|
|
687
|
-
subscribe:
|
|
687
|
+
subscribe: Ae(e, t).subscribe
|
|
688
688
|
};
|
|
689
689
|
}
|
|
690
|
-
function
|
|
690
|
+
function Ae(e, t = w) {
|
|
691
691
|
let r;
|
|
692
692
|
const n = /* @__PURE__ */ new Set();
|
|
693
|
-
function i(
|
|
694
|
-
if (Ot(e,
|
|
695
|
-
const h = !
|
|
693
|
+
function i(o) {
|
|
694
|
+
if (Ot(e, o) && (e = o, r)) {
|
|
695
|
+
const h = !D.length;
|
|
696
696
|
for (const u of n)
|
|
697
|
-
u[1](),
|
|
697
|
+
u[1](), D.push(u, e);
|
|
698
698
|
if (h) {
|
|
699
|
-
for (let u = 0; u <
|
|
700
|
-
|
|
701
|
-
|
|
699
|
+
for (let u = 0; u < D.length; u += 2)
|
|
700
|
+
D[u][0](D[u + 1]);
|
|
701
|
+
D.length = 0;
|
|
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
|
-
function
|
|
716
|
+
function Z(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,25 +726,25 @@ 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 = se(p) ? p : w;
|
|
731
731
|
}, d = i.map(
|
|
732
|
-
(p,
|
|
732
|
+
(p, v) => It(
|
|
733
733
|
p,
|
|
734
|
-
(
|
|
735
|
-
u[
|
|
734
|
+
(x) => {
|
|
735
|
+
u[v] = x, l &= ~(1 << v), h && m();
|
|
736
736
|
},
|
|
737
737
|
() => {
|
|
738
|
-
l |= 1 <<
|
|
738
|
+
l |= 1 << v;
|
|
739
739
|
}
|
|
740
740
|
)
|
|
741
741
|
);
|
|
742
742
|
return h = !0, m(), function() {
|
|
743
|
-
|
|
743
|
+
L(d), c(), h = !1;
|
|
744
744
|
};
|
|
745
745
|
});
|
|
746
746
|
}
|
|
747
|
-
var
|
|
747
|
+
var es = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
748
748
|
function Fr(e) {
|
|
749
749
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
750
750
|
}
|
|
@@ -765,26 +765,26 @@ function Zr(e) {
|
|
|
765
765
|
function Jr(e) {
|
|
766
766
|
return Array.isArray(e) ? [] : {};
|
|
767
767
|
}
|
|
768
|
-
function
|
|
769
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
768
|
+
function ne(e, t) {
|
|
769
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(Jr(e), e, t) : e;
|
|
770
770
|
}
|
|
771
771
|
function qr(e, t, r) {
|
|
772
772
|
return e.concat(t).map(function(n) {
|
|
773
|
-
return
|
|
773
|
+
return ne(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
790
|
function jt(e, t) {
|
|
@@ -799,52 +799,66 @@ function Kr(e, t) {
|
|
|
799
799
|
}
|
|
800
800
|
function en(e, t, r) {
|
|
801
801
|
var n = {};
|
|
802
|
-
return r.isMergeableObject(e) &&
|
|
803
|
-
n[i] =
|
|
804
|
-
}),
|
|
805
|
-
Kr(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] =
|
|
802
|
+
return r.isMergeableObject(e) && ot(e).forEach(function(i) {
|
|
803
|
+
n[i] = ne(e[i], r);
|
|
804
|
+
}), ot(t).forEach(function(i) {
|
|
805
|
+
Kr(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Qr(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
|
|
806
806
|
}), n;
|
|
807
807
|
}
|
|
808
|
-
function
|
|
809
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified =
|
|
808
|
+
function j(e, t, r) {
|
|
809
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || qr, r.isMergeableObject = r.isMergeableObject || jr, r.cloneUnlessOtherwiseSpecified = ne;
|
|
810
810
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
811
|
-
return s ? n ? r.arrayMerge(e, t, r) : en(e, t, r) :
|
|
811
|
+
return s ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : ne(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
|
-
|
|
823
|
-
|
|
822
|
+
/*! *****************************************************************************
|
|
823
|
+
Copyright (c) Microsoft Corporation.
|
|
824
|
+
|
|
825
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
826
|
+
purpose with or without fee is hereby granted.
|
|
827
|
+
|
|
828
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
829
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
830
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
831
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
832
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
833
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
834
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
835
|
+
***************************************************************************** */
|
|
836
|
+
var je = function(e, t) {
|
|
837
|
+
return je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
824
838
|
r.__proto__ = n;
|
|
825
839
|
} || function(r, n) {
|
|
826
840
|
for (var i in n)
|
|
827
841
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
828
|
-
},
|
|
842
|
+
}, je(e, t);
|
|
829
843
|
};
|
|
830
|
-
function
|
|
844
|
+
function Pe(e, t) {
|
|
831
845
|
if (typeof t != "function" && t !== null)
|
|
832
846
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
833
|
-
|
|
847
|
+
je(e, t);
|
|
834
848
|
function r() {
|
|
835
849
|
this.constructor = e;
|
|
836
850
|
}
|
|
837
851
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
838
852
|
}
|
|
839
|
-
var
|
|
840
|
-
return
|
|
853
|
+
var _ = function() {
|
|
854
|
+
return _ = Object.assign || function(t) {
|
|
841
855
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
842
856
|
r = arguments[n];
|
|
843
857
|
for (var s in r)
|
|
844
858
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
845
859
|
}
|
|
846
860
|
return t;
|
|
847
|
-
},
|
|
861
|
+
}, _.apply(this, arguments);
|
|
848
862
|
};
|
|
849
863
|
function sn(e, t) {
|
|
850
864
|
var r = {};
|
|
@@ -855,119 +869,143 @@ function sn(e, t) {
|
|
|
855
869
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
856
870
|
return r;
|
|
857
871
|
}
|
|
858
|
-
function
|
|
872
|
+
function ts(e) {
|
|
873
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
874
|
+
if (r)
|
|
875
|
+
return r.call(e);
|
|
876
|
+
if (e && typeof e.length == "number")
|
|
877
|
+
return {
|
|
878
|
+
next: function() {
|
|
879
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
880
|
+
}
|
|
881
|
+
};
|
|
882
|
+
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
883
|
+
}
|
|
884
|
+
function rs(e, t) {
|
|
885
|
+
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
886
|
+
if (!r)
|
|
887
|
+
return e;
|
|
888
|
+
var n = r.call(e), i, s = [], a;
|
|
889
|
+
try {
|
|
890
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
891
|
+
s.push(i.value);
|
|
892
|
+
} catch (o) {
|
|
893
|
+
a = { error: o };
|
|
894
|
+
} finally {
|
|
895
|
+
try {
|
|
896
|
+
i && !i.done && (r = n.return) && r.call(n);
|
|
897
|
+
} finally {
|
|
898
|
+
if (a)
|
|
899
|
+
throw a.error;
|
|
900
|
+
}
|
|
901
|
+
}
|
|
902
|
+
return s;
|
|
903
|
+
}
|
|
904
|
+
function Me(e, t, r) {
|
|
859
905
|
if (r || arguments.length === 2)
|
|
860
906
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
861
907
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
862
|
-
return e.concat(s ||
|
|
908
|
+
return e.concat(s || t);
|
|
863
909
|
}
|
|
864
|
-
function
|
|
865
|
-
var r = t && t.cache ? t.cache :
|
|
910
|
+
function Le(e, t) {
|
|
911
|
+
var r = t && t.cache ? t.cache : cn, n = t && t.serializer ? t.serializer : hn, i = t && t.strategy ? t.strategy : on;
|
|
866
912
|
return i(e, {
|
|
867
913
|
cache: r,
|
|
868
914
|
serializer: n
|
|
869
915
|
});
|
|
870
916
|
}
|
|
871
|
-
function
|
|
917
|
+
function an(e) {
|
|
872
918
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
873
919
|
}
|
|
874
|
-
function
|
|
875
|
-
var i =
|
|
920
|
+
function zt(e, t, r, n) {
|
|
921
|
+
var i = an(n) ? n : r(n), s = t.get(i);
|
|
876
922
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
877
923
|
}
|
|
878
|
-
function
|
|
924
|
+
function Vt(e, t, r) {
|
|
879
925
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
880
926
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
881
927
|
}
|
|
882
|
-
function
|
|
928
|
+
function Ke(e, t, r, n, i) {
|
|
883
929
|
return r.bind(t, e, n, i);
|
|
884
930
|
}
|
|
931
|
+
function on(e, t) {
|
|
932
|
+
var r = e.length === 1 ? zt : Vt;
|
|
933
|
+
return Ke(e, this, r, t.cache.create(), t.serializer);
|
|
934
|
+
}
|
|
885
935
|
function un(e, t) {
|
|
886
|
-
|
|
887
|
-
return Vt(e, this, r, t.cache.create(), t.serializer);
|
|
936
|
+
return Ke(e, this, Vt, t.cache.create(), t.serializer);
|
|
888
937
|
}
|
|
889
938
|
function ln(e, t) {
|
|
890
|
-
return
|
|
939
|
+
return Ke(e, this, zt, t.cache.create(), t.serializer);
|
|
891
940
|
}
|
|
892
941
|
var hn = function() {
|
|
893
942
|
return JSON.stringify(arguments);
|
|
894
|
-
}
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
}()
|
|
906
|
-
), fn = {
|
|
943
|
+
};
|
|
944
|
+
function et() {
|
|
945
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
946
|
+
}
|
|
947
|
+
et.prototype.get = function(e) {
|
|
948
|
+
return this.cache[e];
|
|
949
|
+
};
|
|
950
|
+
et.prototype.set = function(e, t) {
|
|
951
|
+
this.cache[e] = t;
|
|
952
|
+
};
|
|
953
|
+
var cn = {
|
|
907
954
|
create: function() {
|
|
908
|
-
return new
|
|
955
|
+
return new et();
|
|
909
956
|
}
|
|
910
|
-
},
|
|
911
|
-
variadic:
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
915
|
-
r = arguments[n];
|
|
916
|
-
for (var s in r)
|
|
917
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
918
|
-
}
|
|
919
|
-
return t;
|
|
920
|
-
}, we.apply(this, arguments);
|
|
921
|
-
};
|
|
922
|
-
var b;
|
|
957
|
+
}, $e = {
|
|
958
|
+
variadic: un,
|
|
959
|
+
monadic: ln
|
|
960
|
+
}, b;
|
|
923
961
|
(function(e) {
|
|
924
962
|
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";
|
|
925
963
|
})(b || (b = {}));
|
|
926
|
-
var
|
|
964
|
+
var T;
|
|
927
965
|
(function(e) {
|
|
928
966
|
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";
|
|
929
|
-
})(
|
|
930
|
-
var
|
|
967
|
+
})(T || (T = {}));
|
|
968
|
+
var z;
|
|
931
969
|
(function(e) {
|
|
932
970
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
933
|
-
})(
|
|
971
|
+
})(z || (z = {}));
|
|
934
972
|
function ut(e) {
|
|
935
|
-
return e.type ===
|
|
973
|
+
return e.type === T.literal;
|
|
936
974
|
}
|
|
937
|
-
function
|
|
938
|
-
return e.type ===
|
|
975
|
+
function fn(e) {
|
|
976
|
+
return e.type === T.argument;
|
|
939
977
|
}
|
|
940
978
|
function Xt(e) {
|
|
941
|
-
return e.type ===
|
|
979
|
+
return e.type === T.number;
|
|
942
980
|
}
|
|
943
981
|
function Wt(e) {
|
|
944
|
-
return e.type ===
|
|
982
|
+
return e.type === T.date;
|
|
945
983
|
}
|
|
946
984
|
function Zt(e) {
|
|
947
|
-
return e.type ===
|
|
985
|
+
return e.type === T.time;
|
|
948
986
|
}
|
|
949
987
|
function Jt(e) {
|
|
950
|
-
return e.type ===
|
|
988
|
+
return e.type === T.select;
|
|
951
989
|
}
|
|
952
990
|
function qt(e) {
|
|
953
|
-
return e.type ===
|
|
991
|
+
return e.type === T.plural;
|
|
954
992
|
}
|
|
955
|
-
function
|
|
956
|
-
return e.type ===
|
|
993
|
+
function mn(e) {
|
|
994
|
+
return e.type === T.pound;
|
|
957
995
|
}
|
|
958
996
|
function Qt(e) {
|
|
959
|
-
return e.type ===
|
|
997
|
+
return e.type === T.tag;
|
|
960
998
|
}
|
|
961
999
|
function Yt(e) {
|
|
962
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1000
|
+
return !!(e && typeof e == "object" && e.type === z.number);
|
|
963
1001
|
}
|
|
964
|
-
function
|
|
965
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1002
|
+
function ze(e) {
|
|
1003
|
+
return !!(e && typeof e == "object" && e.type === z.dateTime);
|
|
966
1004
|
}
|
|
967
|
-
var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
968
|
-
function
|
|
1005
|
+
var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, dn = /(?:[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;
|
|
1006
|
+
function pn(e) {
|
|
969
1007
|
var t = {};
|
|
970
|
-
return e.replace(
|
|
1008
|
+
return e.replace(dn, function(r) {
|
|
971
1009
|
var n = r.length;
|
|
972
1010
|
switch (r[0]) {
|
|
973
1011
|
case "G":
|
|
@@ -1056,39 +1094,29 @@ function gn(e) {
|
|
|
1056
1094
|
return "";
|
|
1057
1095
|
}), t;
|
|
1058
1096
|
}
|
|
1059
|
-
var
|
|
1060
|
-
|
|
1061
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1062
|
-
r = arguments[n];
|
|
1063
|
-
for (var s in r)
|
|
1064
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1065
|
-
}
|
|
1066
|
-
return t;
|
|
1067
|
-
}, T.apply(this, arguments);
|
|
1068
|
-
};
|
|
1069
|
-
var bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1070
|
-
function yn(e) {
|
|
1097
|
+
var gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1098
|
+
function bn(e) {
|
|
1071
1099
|
if (e.length === 0)
|
|
1072
1100
|
throw new Error("Number skeleton cannot be empty");
|
|
1073
|
-
for (var t = e.split(
|
|
1101
|
+
for (var t = e.split(gn).filter(function(m) {
|
|
1074
1102
|
return m.length > 0;
|
|
1075
1103
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1076
|
-
var s = i[n],
|
|
1077
|
-
if (
|
|
1104
|
+
var s = i[n], a = s.split("/");
|
|
1105
|
+
if (a.length === 0)
|
|
1078
1106
|
throw new Error("Invalid number skeleton");
|
|
1079
|
-
for (var
|
|
1107
|
+
for (var o = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1080
1108
|
var c = l[u];
|
|
1081
1109
|
if (c.length === 0)
|
|
1082
1110
|
throw new Error("Invalid number skeleton");
|
|
1083
1111
|
}
|
|
1084
|
-
r.push({ stem:
|
|
1112
|
+
r.push({ stem: o, options: h });
|
|
1085
1113
|
}
|
|
1086
1114
|
return r;
|
|
1087
1115
|
}
|
|
1088
|
-
function
|
|
1116
|
+
function yn(e) {
|
|
1089
1117
|
return e.replace(/^(.*?)-/, "");
|
|
1090
1118
|
}
|
|
1091
|
-
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1119
|
+
var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, _n = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
|
|
1092
1120
|
function ht(e) {
|
|
1093
1121
|
var t = {};
|
|
1094
1122
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
|
|
@@ -1153,7 +1181,7 @@ function ct(e) {
|
|
|
1153
1181
|
var t = {}, r = rr(e);
|
|
1154
1182
|
return r || t;
|
|
1155
1183
|
}
|
|
1156
|
-
function
|
|
1184
|
+
function En(e) {
|
|
1157
1185
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1158
1186
|
var i = n[r];
|
|
1159
1187
|
switch (i.stem) {
|
|
@@ -1177,7 +1205,7 @@ function xn(e) {
|
|
|
1177
1205
|
continue;
|
|
1178
1206
|
case "measure-unit":
|
|
1179
1207
|
case "unit":
|
|
1180
|
-
t.style = "unit", t.unit =
|
|
1208
|
+
t.style = "unit", t.unit = yn(i.options[0]);
|
|
1181
1209
|
continue;
|
|
1182
1210
|
case "compact-short":
|
|
1183
1211
|
case "K":
|
|
@@ -1188,13 +1216,13 @@ function xn(e) {
|
|
|
1188
1216
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1189
1217
|
continue;
|
|
1190
1218
|
case "scientific":
|
|
1191
|
-
t =
|
|
1192
|
-
return
|
|
1219
|
+
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1220
|
+
return _(_({}, h), ct(u));
|
|
1193
1221
|
}, {}));
|
|
1194
1222
|
continue;
|
|
1195
1223
|
case "engineering":
|
|
1196
|
-
t =
|
|
1197
|
-
return
|
|
1224
|
+
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1225
|
+
return _(_({}, h), ct(u));
|
|
1198
1226
|
}, {}));
|
|
1199
1227
|
continue;
|
|
1200
1228
|
case "notation-simple":
|
|
@@ -1239,7 +1267,7 @@ function xn(e) {
|
|
|
1239
1267
|
case "integer-width":
|
|
1240
1268
|
if (i.options.length > 1)
|
|
1241
1269
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1242
|
-
i.options[0].replace(
|
|
1270
|
+
i.options[0].replace(_n, function(h, u, l, c, m, d) {
|
|
1243
1271
|
if (u)
|
|
1244
1272
|
t.minimumIntegerDigits = l.length;
|
|
1245
1273
|
else {
|
|
@@ -1263,21 +1291,21 @@ function xn(e) {
|
|
|
1263
1291
|
return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1264
1292
|
});
|
|
1265
1293
|
var s = i.options[0];
|
|
1266
|
-
s === "w" ? t =
|
|
1294
|
+
s === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = _(_({}, t), ht(s)));
|
|
1267
1295
|
continue;
|
|
1268
1296
|
}
|
|
1269
1297
|
if (er.test(i.stem)) {
|
|
1270
|
-
t =
|
|
1298
|
+
t = _(_({}, t), ht(i.stem));
|
|
1271
1299
|
continue;
|
|
1272
1300
|
}
|
|
1273
|
-
var
|
|
1274
|
-
|
|
1275
|
-
var
|
|
1276
|
-
|
|
1301
|
+
var a = rr(i.stem);
|
|
1302
|
+
a && (t = _(_({}, t), a));
|
|
1303
|
+
var o = vn(i.stem);
|
|
1304
|
+
o && (t = _(_({}, t), o));
|
|
1277
1305
|
}
|
|
1278
1306
|
return t;
|
|
1279
1307
|
}
|
|
1280
|
-
var
|
|
1308
|
+
var ge = {
|
|
1281
1309
|
"001": [
|
|
1282
1310
|
"H",
|
|
1283
1311
|
"h"
|
|
@@ -2692,23 +2720,23 @@ var be = {
|
|
|
2692
2720
|
"h"
|
|
2693
2721
|
]
|
|
2694
2722
|
};
|
|
2695
|
-
function
|
|
2723
|
+
function xn(e, t) {
|
|
2696
2724
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2697
2725
|
var i = e.charAt(n);
|
|
2698
2726
|
if (i === "j") {
|
|
2699
2727
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2700
2728
|
s++, n++;
|
|
2701
|
-
var
|
|
2702
|
-
for ((u == "H" || u == "k") && (
|
|
2729
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = Tn(t);
|
|
2730
|
+
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2703
2731
|
r += h;
|
|
2704
|
-
for (;
|
|
2732
|
+
for (; a-- > 0; )
|
|
2705
2733
|
r = u + r;
|
|
2706
2734
|
} else
|
|
2707
2735
|
i === "J" ? r += "H" : r += i;
|
|
2708
2736
|
}
|
|
2709
2737
|
return r;
|
|
2710
2738
|
}
|
|
2711
|
-
function
|
|
2739
|
+
function Tn(e) {
|
|
2712
2740
|
var t = e.hourCycle;
|
|
2713
2741
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2714
2742
|
e.hourCycles && // @ts-ignore
|
|
@@ -2727,23 +2755,23 @@ function Hn(e) {
|
|
|
2727
2755
|
}
|
|
2728
2756
|
var r = e.language, n;
|
|
2729
2757
|
r !== "root" && (n = e.maximize().region);
|
|
2730
|
-
var i =
|
|
2758
|
+
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
|
2731
2759
|
return i[0];
|
|
2732
2760
|
}
|
|
2733
|
-
var
|
|
2761
|
+
var Re, Hn = new RegExp("^".concat(Kt.source, "*")), wn = new RegExp("".concat(Kt.source, "*$"));
|
|
2734
2762
|
function y(e, t) {
|
|
2735
2763
|
return { start: e, end: t };
|
|
2736
2764
|
}
|
|
2737
|
-
var
|
|
2765
|
+
var Sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Bn = !!String.fromCodePoint, An = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, On = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Cn = !!Number.isSafeInteger, Nn = Cn ? Number.isSafeInteger : function(e) {
|
|
2738
2766
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2739
|
-
},
|
|
2767
|
+
}, Ve = !0;
|
|
2740
2768
|
try {
|
|
2741
2769
|
var Mn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2742
|
-
|
|
2770
|
+
Ve = ((Re = Mn.exec("a")) === null || Re === void 0 ? void 0 : Re[0]) === "a";
|
|
2743
2771
|
} catch {
|
|
2744
|
-
|
|
2772
|
+
Ve = !1;
|
|
2745
2773
|
}
|
|
2746
|
-
var ft =
|
|
2774
|
+
var ft = Sn ? (
|
|
2747
2775
|
// Native
|
|
2748
2776
|
function(t, r, n) {
|
|
2749
2777
|
return t.startsWith(r, n);
|
|
@@ -2753,31 +2781,31 @@ var ft = Bn ? (
|
|
|
2753
2781
|
function(t, r, n) {
|
|
2754
2782
|
return t.slice(n, n + r.length) === r;
|
|
2755
2783
|
}
|
|
2756
|
-
),
|
|
2784
|
+
), Xe = Bn ? String.fromCodePoint : (
|
|
2757
2785
|
// IE11
|
|
2758
2786
|
function() {
|
|
2759
2787
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2760
2788
|
t[r] = arguments[r];
|
|
2761
|
-
for (var n = "", i = t.length, s = 0,
|
|
2762
|
-
if (
|
|
2763
|
-
throw RangeError(
|
|
2764
|
-
n +=
|
|
2789
|
+
for (var n = "", i = t.length, s = 0, a; i > s; ) {
|
|
2790
|
+
if (a = t[s++], a > 1114111)
|
|
2791
|
+
throw RangeError(a + " is not a valid code point");
|
|
2792
|
+
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
2765
2793
|
}
|
|
2766
2794
|
return n;
|
|
2767
2795
|
}
|
|
2768
2796
|
), mt = (
|
|
2769
2797
|
// native
|
|
2770
|
-
|
|
2798
|
+
An ? Object.fromEntries : (
|
|
2771
2799
|
// Ponyfill
|
|
2772
2800
|
function(t) {
|
|
2773
2801
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2774
|
-
var s = i[n],
|
|
2775
|
-
r[
|
|
2802
|
+
var s = i[n], a = s[0], o = s[1];
|
|
2803
|
+
r[a] = o;
|
|
2776
2804
|
}
|
|
2777
2805
|
return r;
|
|
2778
2806
|
}
|
|
2779
2807
|
)
|
|
2780
|
-
), nr =
|
|
2808
|
+
), nr = Pn ? (
|
|
2781
2809
|
// Native
|
|
2782
2810
|
function(t, r) {
|
|
2783
2811
|
return t.codePointAt(r);
|
|
@@ -2791,7 +2819,7 @@ var ft = Bn ? (
|
|
|
2791
2819
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2792
2820
|
}
|
|
2793
2821
|
}
|
|
2794
|
-
),
|
|
2822
|
+
), Ln = On ? (
|
|
2795
2823
|
// Native
|
|
2796
2824
|
function(t) {
|
|
2797
2825
|
return t.trimStart();
|
|
@@ -2799,9 +2827,9 @@ var ft = Bn ? (
|
|
|
2799
2827
|
) : (
|
|
2800
2828
|
// Ponyfill
|
|
2801
2829
|
function(t) {
|
|
2802
|
-
return t.replace(
|
|
2830
|
+
return t.replace(Hn, "");
|
|
2803
2831
|
}
|
|
2804
|
-
),
|
|
2832
|
+
), $n = In ? (
|
|
2805
2833
|
// Native
|
|
2806
2834
|
function(t) {
|
|
2807
2835
|
return t.trimEnd();
|
|
@@ -2809,32 +2837,32 @@ var ft = Bn ? (
|
|
|
2809
2837
|
) : (
|
|
2810
2838
|
// Ponyfill
|
|
2811
2839
|
function(t) {
|
|
2812
|
-
return t.replace(
|
|
2840
|
+
return t.replace(wn, "");
|
|
2813
2841
|
}
|
|
2814
2842
|
);
|
|
2815
2843
|
function ir(e, t) {
|
|
2816
2844
|
return new RegExp(e, t);
|
|
2817
2845
|
}
|
|
2818
|
-
var
|
|
2819
|
-
if (
|
|
2846
|
+
var We;
|
|
2847
|
+
if (Ve) {
|
|
2820
2848
|
var dt = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2821
|
-
|
|
2849
|
+
We = function(t, r) {
|
|
2822
2850
|
var n;
|
|
2823
2851
|
dt.lastIndex = r;
|
|
2824
2852
|
var i = dt.exec(t);
|
|
2825
2853
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2826
2854
|
};
|
|
2827
2855
|
} else
|
|
2828
|
-
|
|
2856
|
+
We = function(t, r) {
|
|
2829
2857
|
for (var n = []; ; ) {
|
|
2830
2858
|
var i = nr(t, r);
|
|
2831
|
-
if (i === void 0 || sr(i) ||
|
|
2859
|
+
if (i === void 0 || sr(i) || kn(i))
|
|
2832
2860
|
break;
|
|
2833
2861
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2834
2862
|
}
|
|
2835
|
-
return
|
|
2863
|
+
return Xe.apply(void 0, n);
|
|
2836
2864
|
};
|
|
2837
|
-
var
|
|
2865
|
+
var Rn = (
|
|
2838
2866
|
/** @class */
|
|
2839
2867
|
function() {
|
|
2840
2868
|
function e(t, r) {
|
|
@@ -2848,33 +2876,33 @@ var Dn = (
|
|
|
2848
2876
|
for (var i = []; !this.isEOF(); ) {
|
|
2849
2877
|
var s = this.char();
|
|
2850
2878
|
if (s === 123) {
|
|
2851
|
-
var
|
|
2852
|
-
if (
|
|
2853
|
-
return
|
|
2854
|
-
i.push(
|
|
2879
|
+
var a = this.parseArgument(t, n);
|
|
2880
|
+
if (a.err)
|
|
2881
|
+
return a;
|
|
2882
|
+
i.push(a.val);
|
|
2855
2883
|
} else {
|
|
2856
2884
|
if (s === 125 && t > 0)
|
|
2857
2885
|
break;
|
|
2858
2886
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2859
|
-
var
|
|
2887
|
+
var o = this.clonePosition();
|
|
2860
2888
|
this.bump(), i.push({
|
|
2861
|
-
type:
|
|
2862
|
-
location: y(
|
|
2889
|
+
type: T.pound,
|
|
2890
|
+
location: y(o, this.clonePosition())
|
|
2863
2891
|
});
|
|
2864
2892
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2865
2893
|
if (n)
|
|
2866
2894
|
break;
|
|
2867
2895
|
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(
|
|
2896
|
+
} else if (s === 60 && !this.ignoreTag && Ze(this.peek() || 0)) {
|
|
2897
|
+
var a = this.parseTag(t, r);
|
|
2898
|
+
if (a.err)
|
|
2899
|
+
return a;
|
|
2900
|
+
i.push(a.val);
|
|
2873
2901
|
} else {
|
|
2874
|
-
var
|
|
2875
|
-
if (
|
|
2876
|
-
return
|
|
2877
|
-
i.push(
|
|
2902
|
+
var a = this.parseLiteral(t, r);
|
|
2903
|
+
if (a.err)
|
|
2904
|
+
return a;
|
|
2905
|
+
i.push(a.val);
|
|
2878
2906
|
}
|
|
2879
2907
|
}
|
|
2880
2908
|
}
|
|
@@ -2886,7 +2914,7 @@ var Dn = (
|
|
|
2886
2914
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2887
2915
|
return {
|
|
2888
2916
|
val: {
|
|
2889
|
-
type:
|
|
2917
|
+
type: T.literal,
|
|
2890
2918
|
value: "<".concat(i, "/>"),
|
|
2891
2919
|
location: y(n, this.clonePosition())
|
|
2892
2920
|
},
|
|
@@ -2896,27 +2924,27 @@ var Dn = (
|
|
|
2896
2924
|
var s = this.parseMessage(t + 1, r, !0);
|
|
2897
2925
|
if (s.err)
|
|
2898
2926
|
return s;
|
|
2899
|
-
var
|
|
2927
|
+
var a = s.val, o = this.clonePosition();
|
|
2900
2928
|
if (this.bumpIf("</")) {
|
|
2901
|
-
if (this.isEOF() || !
|
|
2902
|
-
return this.error(b.INVALID_TAG, y(
|
|
2929
|
+
if (this.isEOF() || !Ze(this.char()))
|
|
2930
|
+
return this.error(b.INVALID_TAG, y(o, this.clonePosition()));
|
|
2903
2931
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
2904
2932
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2905
2933
|
val: {
|
|
2906
|
-
type:
|
|
2934
|
+
type: T.tag,
|
|
2907
2935
|
value: i,
|
|
2908
|
-
children:
|
|
2936
|
+
children: a,
|
|
2909
2937
|
location: y(n, this.clonePosition())
|
|
2910
2938
|
},
|
|
2911
2939
|
err: null
|
|
2912
|
-
} : this.error(b.INVALID_TAG, y(
|
|
2940
|
+
} : this.error(b.INVALID_TAG, y(o, this.clonePosition())));
|
|
2913
2941
|
} else
|
|
2914
2942
|
return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
2915
2943
|
} else
|
|
2916
2944
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
2917
2945
|
}, e.prototype.parseTagName = function() {
|
|
2918
2946
|
var t = this.offset();
|
|
2919
|
-
for (this.bump(); !this.isEOF() &&
|
|
2947
|
+
for (this.bump(); !this.isEOF() && Un(this.char()); )
|
|
2920
2948
|
this.bump();
|
|
2921
2949
|
return this.message.slice(t, this.offset());
|
|
2922
2950
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2926,26 +2954,26 @@ var Dn = (
|
|
|
2926
2954
|
i += s;
|
|
2927
2955
|
continue;
|
|
2928
2956
|
}
|
|
2929
|
-
var
|
|
2930
|
-
if (o) {
|
|
2931
|
-
i += o;
|
|
2932
|
-
continue;
|
|
2933
|
-
}
|
|
2934
|
-
var a = this.tryParseLeftAngleBracket();
|
|
2957
|
+
var a = this.tryParseUnquoted(t, r);
|
|
2935
2958
|
if (a) {
|
|
2936
2959
|
i += a;
|
|
2937
2960
|
continue;
|
|
2938
2961
|
}
|
|
2962
|
+
var o = this.tryParseLeftAngleBracket();
|
|
2963
|
+
if (o) {
|
|
2964
|
+
i += o;
|
|
2965
|
+
continue;
|
|
2966
|
+
}
|
|
2939
2967
|
break;
|
|
2940
2968
|
}
|
|
2941
2969
|
var h = y(n, this.clonePosition());
|
|
2942
2970
|
return {
|
|
2943
|
-
val: { type:
|
|
2971
|
+
val: { type: T.literal, value: i, location: h },
|
|
2944
2972
|
err: null
|
|
2945
2973
|
};
|
|
2946
2974
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2947
2975
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2948
|
-
!
|
|
2976
|
+
!Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2949
2977
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2950
2978
|
if (this.isEOF() || this.char() !== 39)
|
|
2951
2979
|
return null;
|
|
@@ -2979,12 +3007,12 @@ var Dn = (
|
|
|
2979
3007
|
r.push(n);
|
|
2980
3008
|
this.bump();
|
|
2981
3009
|
}
|
|
2982
|
-
return
|
|
3010
|
+
return Xe.apply(void 0, r);
|
|
2983
3011
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2984
3012
|
if (this.isEOF())
|
|
2985
3013
|
return null;
|
|
2986
3014
|
var n = this.char();
|
|
2987
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3015
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
|
|
2988
3016
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2989
3017
|
var n = this.clonePosition();
|
|
2990
3018
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3000,7 +3028,7 @@ var Dn = (
|
|
|
3000
3028
|
case 125:
|
|
3001
3029
|
return this.bump(), {
|
|
3002
3030
|
val: {
|
|
3003
|
-
type:
|
|
3031
|
+
type: T.argument,
|
|
3004
3032
|
// value does not include the opening and closing braces.
|
|
3005
3033
|
value: i,
|
|
3006
3034
|
location: y(n, this.clonePosition())
|
|
@@ -3013,15 +3041,15 @@ var Dn = (
|
|
|
3013
3041
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3014
3042
|
}
|
|
3015
3043
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3016
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3044
|
+
var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
|
|
3017
3045
|
this.bumpTo(i);
|
|
3018
|
-
var s = this.clonePosition(),
|
|
3019
|
-
return { value: n, location:
|
|
3046
|
+
var s = this.clonePosition(), a = y(t, s);
|
|
3047
|
+
return { value: n, location: a };
|
|
3020
3048
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3021
|
-
var s,
|
|
3022
|
-
switch (
|
|
3049
|
+
var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3050
|
+
switch (o) {
|
|
3023
3051
|
case "":
|
|
3024
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE, y(
|
|
3052
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, y(a, h));
|
|
3025
3053
|
case "number":
|
|
3026
3054
|
case "date":
|
|
3027
3055
|
case "time": {
|
|
@@ -3032,7 +3060,7 @@ var Dn = (
|
|
|
3032
3060
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3033
3061
|
if (c.err)
|
|
3034
3062
|
return c;
|
|
3035
|
-
var m =
|
|
3063
|
+
var m = $n(c.val);
|
|
3036
3064
|
if (m.length === 0)
|
|
3037
3065
|
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3038
3066
|
var d = y(l, this.clonePosition());
|
|
@@ -3041,37 +3069,37 @@ var Dn = (
|
|
|
3041
3069
|
var p = this.tryParseArgumentClose(i);
|
|
3042
3070
|
if (p.err)
|
|
3043
3071
|
return p;
|
|
3044
|
-
var
|
|
3072
|
+
var v = y(i, this.clonePosition());
|
|
3045
3073
|
if (u && ft(u?.style, "::", 0)) {
|
|
3046
|
-
var
|
|
3047
|
-
if (
|
|
3048
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3074
|
+
var x = Ln(u.style.slice(2));
|
|
3075
|
+
if (o === "number") {
|
|
3076
|
+
var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
|
|
3049
3077
|
return c.err ? c : {
|
|
3050
|
-
val: { type:
|
|
3078
|
+
val: { type: T.number, value: n, location: v, style: c.val },
|
|
3051
3079
|
err: null
|
|
3052
3080
|
};
|
|
3053
3081
|
} else {
|
|
3054
|
-
if (
|
|
3055
|
-
return this.error(b.EXPECT_DATE_TIME_SKELETON,
|
|
3056
|
-
var E =
|
|
3057
|
-
this.locale && (E =
|
|
3082
|
+
if (x.length === 0)
|
|
3083
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, v);
|
|
3084
|
+
var E = x;
|
|
3085
|
+
this.locale && (E = xn(x, this.locale));
|
|
3058
3086
|
var m = {
|
|
3059
|
-
type:
|
|
3087
|
+
type: z.dateTime,
|
|
3060
3088
|
pattern: E,
|
|
3061
3089
|
location: u.styleLocation,
|
|
3062
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3063
|
-
}, f =
|
|
3090
|
+
parsedOptions: this.shouldParseSkeletons ? pn(E) : {}
|
|
3091
|
+
}, f = o === "date" ? T.date : T.time;
|
|
3064
3092
|
return {
|
|
3065
|
-
val: { type: f, value: n, location:
|
|
3093
|
+
val: { type: f, value: n, location: v, style: m },
|
|
3066
3094
|
err: null
|
|
3067
3095
|
};
|
|
3068
3096
|
}
|
|
3069
3097
|
}
|
|
3070
3098
|
return {
|
|
3071
3099
|
val: {
|
|
3072
|
-
type:
|
|
3100
|
+
type: o === "number" ? T.number : o === "date" ? T.date : T.time,
|
|
3073
3101
|
value: n,
|
|
3074
|
-
location:
|
|
3102
|
+
location: v,
|
|
3075
3103
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
3076
3104
|
},
|
|
3077
3105
|
err: null
|
|
@@ -3082,10 +3110,10 @@ var Dn = (
|
|
|
3082
3110
|
case "select": {
|
|
3083
3111
|
var g = this.clonePosition();
|
|
3084
3112
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3085
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g,
|
|
3113
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, _({}, g)));
|
|
3086
3114
|
this.bumpSpace();
|
|
3087
3115
|
var S = this.parseIdentifierIfPossible(), M = 0;
|
|
3088
|
-
if (
|
|
3116
|
+
if (o !== "select" && S.value === "offset") {
|
|
3089
3117
|
if (!this.bumpIf(":"))
|
|
3090
3118
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3091
3119
|
this.bumpSpace();
|
|
@@ -3094,35 +3122,35 @@ var Dn = (
|
|
|
3094
3122
|
return c;
|
|
3095
3123
|
this.bumpSpace(), S = this.parseIdentifierIfPossible(), M = c.val;
|
|
3096
3124
|
}
|
|
3097
|
-
var
|
|
3098
|
-
if (
|
|
3099
|
-
return
|
|
3125
|
+
var ue = this.tryParsePluralOrSelectOptions(t, o, r, S);
|
|
3126
|
+
if (ue.err)
|
|
3127
|
+
return ue;
|
|
3100
3128
|
var p = this.tryParseArgumentClose(i);
|
|
3101
3129
|
if (p.err)
|
|
3102
3130
|
return p;
|
|
3103
3131
|
var nt = y(i, this.clonePosition());
|
|
3104
|
-
return
|
|
3132
|
+
return o === "select" ? {
|
|
3105
3133
|
val: {
|
|
3106
|
-
type:
|
|
3134
|
+
type: T.select,
|
|
3107
3135
|
value: n,
|
|
3108
|
-
options: mt(
|
|
3136
|
+
options: mt(ue.val),
|
|
3109
3137
|
location: nt
|
|
3110
3138
|
},
|
|
3111
3139
|
err: null
|
|
3112
3140
|
} : {
|
|
3113
3141
|
val: {
|
|
3114
|
-
type:
|
|
3142
|
+
type: T.plural,
|
|
3115
3143
|
value: n,
|
|
3116
|
-
options: mt(
|
|
3144
|
+
options: mt(ue.val),
|
|
3117
3145
|
offset: M,
|
|
3118
|
-
pluralType:
|
|
3146
|
+
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
3119
3147
|
location: nt
|
|
3120
3148
|
},
|
|
3121
3149
|
err: null
|
|
3122
3150
|
};
|
|
3123
3151
|
}
|
|
3124
3152
|
default:
|
|
3125
|
-
return this.error(b.INVALID_ARGUMENT_TYPE, y(
|
|
3153
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, y(a, h));
|
|
3126
3154
|
}
|
|
3127
3155
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3128
3156
|
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3164,21 +3192,21 @@ var Dn = (
|
|
|
3164
3192
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3165
3193
|
var n = [];
|
|
3166
3194
|
try {
|
|
3167
|
-
n =
|
|
3195
|
+
n = bn(t);
|
|
3168
3196
|
} catch {
|
|
3169
3197
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3170
3198
|
}
|
|
3171
3199
|
return {
|
|
3172
3200
|
val: {
|
|
3173
|
-
type:
|
|
3201
|
+
type: z.number,
|
|
3174
3202
|
tokens: n,
|
|
3175
3203
|
location: r,
|
|
3176
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3204
|
+
parsedOptions: this.shouldParseSkeletons ? En(n) : {}
|
|
3177
3205
|
},
|
|
3178
3206
|
err: null
|
|
3179
3207
|
};
|
|
3180
3208
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3181
|
-
for (var s,
|
|
3209
|
+
for (var s, a = !1, o = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3182
3210
|
if (u.length === 0) {
|
|
3183
3211
|
var c = this.clonePosition();
|
|
3184
3212
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3191,17 +3219,17 @@ var Dn = (
|
|
|
3191
3219
|
}
|
|
3192
3220
|
if (h.has(u))
|
|
3193
3221
|
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3194
|
-
u === "other" && (
|
|
3222
|
+
u === "other" && (a = !0), this.bumpSpace();
|
|
3195
3223
|
var d = this.clonePosition();
|
|
3196
3224
|
if (!this.bumpIf("{"))
|
|
3197
3225
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3198
3226
|
var p = this.parseMessage(t + 1, r, n);
|
|
3199
3227
|
if (p.err)
|
|
3200
3228
|
return p;
|
|
3201
|
-
var
|
|
3202
|
-
if (
|
|
3203
|
-
return
|
|
3204
|
-
|
|
3229
|
+
var v = this.tryParseArgumentClose(d);
|
|
3230
|
+
if (v.err)
|
|
3231
|
+
return v;
|
|
3232
|
+
o.push([
|
|
3205
3233
|
u,
|
|
3206
3234
|
{
|
|
3207
3235
|
value: p.val,
|
|
@@ -3209,19 +3237,19 @@ var Dn = (
|
|
|
3209
3237
|
}
|
|
3210
3238
|
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
|
3211
3239
|
}
|
|
3212
|
-
return
|
|
3240
|
+
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
3241
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3214
3242
|
var n = 1, i = this.clonePosition();
|
|
3215
3243
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3216
|
-
for (var s = !1,
|
|
3217
|
-
var
|
|
3218
|
-
if (
|
|
3219
|
-
s = !0,
|
|
3244
|
+
for (var s = !1, a = 0; !this.isEOF(); ) {
|
|
3245
|
+
var o = this.char();
|
|
3246
|
+
if (o >= 48 && o <= 57)
|
|
3247
|
+
s = !0, a = a * 10 + (o - 48), this.bump();
|
|
3220
3248
|
else
|
|
3221
3249
|
break;
|
|
3222
3250
|
}
|
|
3223
3251
|
var h = y(i, this.clonePosition());
|
|
3224
|
-
return s ? (
|
|
3252
|
+
return s ? (a *= n, Nn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3225
3253
|
}, e.prototype.offset = function() {
|
|
3226
3254
|
return this.position.offset;
|
|
3227
3255
|
}, e.prototype.isEOF = function() {
|
|
@@ -3287,47 +3315,47 @@ var Dn = (
|
|
|
3287
3315
|
}, e;
|
|
3288
3316
|
}()
|
|
3289
3317
|
);
|
|
3290
|
-
function
|
|
3318
|
+
function Ze(e) {
|
|
3291
3319
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3292
3320
|
}
|
|
3293
|
-
function
|
|
3294
|
-
return
|
|
3321
|
+
function Dn(e) {
|
|
3322
|
+
return Ze(e) || e === 47;
|
|
3295
3323
|
}
|
|
3296
|
-
function
|
|
3324
|
+
function Un(e) {
|
|
3297
3325
|
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;
|
|
3298
3326
|
}
|
|
3299
3327
|
function sr(e) {
|
|
3300
3328
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3301
3329
|
}
|
|
3302
|
-
function
|
|
3330
|
+
function kn(e) {
|
|
3303
3331
|
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;
|
|
3304
3332
|
}
|
|
3305
|
-
function
|
|
3333
|
+
function Je(e) {
|
|
3306
3334
|
e.forEach(function(t) {
|
|
3307
3335
|
if (delete t.location, Jt(t) || qt(t))
|
|
3308
3336
|
for (var r in t.options)
|
|
3309
|
-
delete t.options[r].location,
|
|
3337
|
+
delete t.options[r].location, Je(t.options[r].value);
|
|
3310
3338
|
else
|
|
3311
|
-
Xt(t) && Yt(t.style) || (Wt(t) || Zt(t)) &&
|
|
3339
|
+
Xt(t) && Yt(t.style) || (Wt(t) || Zt(t)) && ze(t.style) ? delete t.style.location : Qt(t) && Je(t.children);
|
|
3312
3340
|
});
|
|
3313
3341
|
}
|
|
3314
|
-
function
|
|
3315
|
-
t === void 0 && (t = {}), t =
|
|
3316
|
-
var r = new
|
|
3342
|
+
function Gn(e, t) {
|
|
3343
|
+
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3344
|
+
var r = new Rn(e, t).parse();
|
|
3317
3345
|
if (r.err) {
|
|
3318
3346
|
var n = SyntaxError(b[r.err.kind]);
|
|
3319
3347
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3320
3348
|
}
|
|
3321
|
-
return t?.captureLocation ||
|
|
3349
|
+
return t?.captureLocation || Je(r.val), r.val;
|
|
3322
3350
|
}
|
|
3323
|
-
var
|
|
3351
|
+
var V;
|
|
3324
3352
|
(function(e) {
|
|
3325
3353
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3326
|
-
})(
|
|
3327
|
-
var
|
|
3354
|
+
})(V || (V = {}));
|
|
3355
|
+
var Oe = (
|
|
3328
3356
|
/** @class */
|
|
3329
3357
|
function(e) {
|
|
3330
|
-
|
|
3358
|
+
Pe(t, e);
|
|
3331
3359
|
function t(r, n, i) {
|
|
3332
3360
|
var s = e.call(this, r) || this;
|
|
3333
3361
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3339,44 +3367,44 @@ var Ce = (
|
|
|
3339
3367
|
), pt = (
|
|
3340
3368
|
/** @class */
|
|
3341
3369
|
function(e) {
|
|
3342
|
-
|
|
3370
|
+
Pe(t, e);
|
|
3343
3371
|
function t(r, n, i, s) {
|
|
3344
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3372
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
|
|
3345
3373
|
}
|
|
3346
3374
|
return t;
|
|
3347
|
-
}(
|
|
3348
|
-
),
|
|
3375
|
+
}(Oe)
|
|
3376
|
+
), Fn = (
|
|
3349
3377
|
/** @class */
|
|
3350
3378
|
function(e) {
|
|
3351
|
-
|
|
3379
|
+
Pe(t, e);
|
|
3352
3380
|
function t(r, n, i) {
|
|
3353
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3381
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
|
|
3354
3382
|
}
|
|
3355
3383
|
return t;
|
|
3356
|
-
}(
|
|
3357
|
-
),
|
|
3384
|
+
}(Oe)
|
|
3385
|
+
), jn = (
|
|
3358
3386
|
/** @class */
|
|
3359
3387
|
function(e) {
|
|
3360
|
-
|
|
3388
|
+
Pe(t, e);
|
|
3361
3389
|
function t(r, n) {
|
|
3362
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3390
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
|
|
3363
3391
|
}
|
|
3364
3392
|
return t;
|
|
3365
|
-
}(
|
|
3393
|
+
}(Oe)
|
|
3366
3394
|
), H;
|
|
3367
3395
|
(function(e) {
|
|
3368
3396
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3369
3397
|
})(H || (H = {}));
|
|
3370
|
-
function
|
|
3398
|
+
function zn(e) {
|
|
3371
3399
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3372
3400
|
var n = t[t.length - 1];
|
|
3373
3401
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
|
3374
3402
|
}, []);
|
|
3375
3403
|
}
|
|
3376
|
-
function
|
|
3404
|
+
function Vn(e) {
|
|
3377
3405
|
return typeof e == "function";
|
|
3378
3406
|
}
|
|
3379
|
-
function
|
|
3407
|
+
function _e(e, t, r, n, i, s, a) {
|
|
3380
3408
|
if (e.length === 1 && ut(e[0]))
|
|
3381
3409
|
return [
|
|
3382
3410
|
{
|
|
@@ -3384,17 +3412,17 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3384
3412
|
value: e[0].value
|
|
3385
3413
|
}
|
|
3386
3414
|
];
|
|
3387
|
-
for (var
|
|
3415
|
+
for (var o = [], h = 0, u = e; h < u.length; h++) {
|
|
3388
3416
|
var l = u[h];
|
|
3389
3417
|
if (ut(l)) {
|
|
3390
|
-
|
|
3418
|
+
o.push({
|
|
3391
3419
|
type: H.literal,
|
|
3392
3420
|
value: l.value
|
|
3393
3421
|
});
|
|
3394
3422
|
continue;
|
|
3395
3423
|
}
|
|
3396
|
-
if (
|
|
3397
|
-
typeof s == "number" &&
|
|
3424
|
+
if (mn(l)) {
|
|
3425
|
+
typeof s == "number" && o.push({
|
|
3398
3426
|
type: H.literal,
|
|
3399
3427
|
value: r.getNumberFormat(t).format(s)
|
|
3400
3428
|
});
|
|
@@ -3402,26 +3430,26 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3402
3430
|
}
|
|
3403
3431
|
var c = l.value;
|
|
3404
3432
|
if (!(i && c in i))
|
|
3405
|
-
throw new
|
|
3433
|
+
throw new jn(c, a);
|
|
3406
3434
|
var m = i[c];
|
|
3407
|
-
if (
|
|
3408
|
-
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""),
|
|
3435
|
+
if (fn(l)) {
|
|
3436
|
+
(!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
|
|
3409
3437
|
type: typeof m == "string" ? H.literal : H.object,
|
|
3410
3438
|
value: m
|
|
3411
3439
|
});
|
|
3412
3440
|
continue;
|
|
3413
3441
|
}
|
|
3414
3442
|
if (Wt(l)) {
|
|
3415
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
|
3416
|
-
|
|
3443
|
+
var d = typeof l.style == "string" ? n.date[l.style] : ze(l.style) ? l.style.parsedOptions : void 0;
|
|
3444
|
+
o.push({
|
|
3417
3445
|
type: H.literal,
|
|
3418
3446
|
value: r.getDateTimeFormat(t, d).format(m)
|
|
3419
3447
|
});
|
|
3420
3448
|
continue;
|
|
3421
3449
|
}
|
|
3422
3450
|
if (Zt(l)) {
|
|
3423
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
|
3424
|
-
|
|
3451
|
+
var d = typeof l.style == "string" ? n.time[l.style] : ze(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3452
|
+
o.push({
|
|
3425
3453
|
type: H.literal,
|
|
3426
3454
|
value: r.getDateTimeFormat(t, d).format(m)
|
|
3427
3455
|
});
|
|
@@ -3429,20 +3457,20 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3429
3457
|
}
|
|
3430
3458
|
if (Xt(l)) {
|
|
3431
3459
|
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)),
|
|
3460
|
+
d && d.scale && (m = m * (d.scale || 1)), o.push({
|
|
3433
3461
|
type: H.literal,
|
|
3434
3462
|
value: r.getNumberFormat(t, d).format(m)
|
|
3435
3463
|
});
|
|
3436
3464
|
continue;
|
|
3437
3465
|
}
|
|
3438
3466
|
if (Qt(l)) {
|
|
3439
|
-
var p = l.children,
|
|
3440
|
-
if (!
|
|
3441
|
-
throw new
|
|
3442
|
-
var E =
|
|
3467
|
+
var p = l.children, v = l.value, x = i[v];
|
|
3468
|
+
if (!Vn(x))
|
|
3469
|
+
throw new Fn(v, "function", a);
|
|
3470
|
+
var E = _e(p, t, r, n, i, s), f = x(E.map(function(M) {
|
|
3443
3471
|
return M.value;
|
|
3444
3472
|
}));
|
|
3445
|
-
Array.isArray(f) || (f = [f]),
|
|
3473
|
+
Array.isArray(f) || (f = [f]), o.push.apply(o, f.map(function(M) {
|
|
3446
3474
|
return {
|
|
3447
3475
|
type: typeof M == "string" ? H.literal : H.object,
|
|
3448
3476
|
value: M
|
|
@@ -3452,39 +3480,39 @@ function Ee(e, t, r, n, i, s, o) {
|
|
|
3452
3480
|
if (Jt(l)) {
|
|
3453
3481
|
var g = l.options[m] || l.options.other;
|
|
3454
3482
|
if (!g)
|
|
3455
|
-
throw new pt(l.value, m, Object.keys(l.options),
|
|
3456
|
-
|
|
3483
|
+
throw new pt(l.value, m, Object.keys(l.options), a);
|
|
3484
|
+
o.push.apply(o, _e(g.value, t, r, n, i));
|
|
3457
3485
|
continue;
|
|
3458
3486
|
}
|
|
3459
3487
|
if (qt(l)) {
|
|
3460
3488
|
var g = l.options["=".concat(m)];
|
|
3461
3489
|
if (!g) {
|
|
3462
3490
|
if (!Intl.PluralRules)
|
|
3463
|
-
throw new
|
|
3491
|
+
throw new Oe(`Intl.PluralRules is not available in this environment.
|
|
3464
3492
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3465
|
-
`,
|
|
3493
|
+
`, V.MISSING_INTL_API, a);
|
|
3466
3494
|
var S = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
|
|
3467
3495
|
g = l.options[S] || l.options.other;
|
|
3468
3496
|
}
|
|
3469
3497
|
if (!g)
|
|
3470
|
-
throw new pt(l.value, m, Object.keys(l.options),
|
|
3471
|
-
|
|
3498
|
+
throw new pt(l.value, m, Object.keys(l.options), a);
|
|
3499
|
+
o.push.apply(o, _e(g.value, t, r, n, i, m - (l.offset || 0)));
|
|
3472
3500
|
continue;
|
|
3473
3501
|
}
|
|
3474
3502
|
}
|
|
3475
|
-
return
|
|
3503
|
+
return zn(o);
|
|
3476
3504
|
}
|
|
3477
|
-
function
|
|
3478
|
-
return t ?
|
|
3479
|
-
return r[n] =
|
|
3505
|
+
function Xn(e, t) {
|
|
3506
|
+
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3507
|
+
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3480
3508
|
}, {})) : e;
|
|
3481
3509
|
}
|
|
3482
|
-
function
|
|
3510
|
+
function Wn(e, t) {
|
|
3483
3511
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3484
|
-
return r[n] =
|
|
3485
|
-
},
|
|
3512
|
+
return r[n] = Xn(e[n], t[n]), r;
|
|
3513
|
+
}, _({}, e)) : e;
|
|
3486
3514
|
}
|
|
3487
|
-
function
|
|
3515
|
+
function De(e) {
|
|
3488
3516
|
return {
|
|
3489
3517
|
create: function() {
|
|
3490
3518
|
return {
|
|
@@ -3498,39 +3526,39 @@ function ke(e) {
|
|
|
3498
3526
|
}
|
|
3499
3527
|
};
|
|
3500
3528
|
}
|
|
3501
|
-
function
|
|
3529
|
+
function Zn(e) {
|
|
3502
3530
|
return e === void 0 && (e = {
|
|
3503
3531
|
number: {},
|
|
3504
3532
|
dateTime: {},
|
|
3505
3533
|
pluralRules: {}
|
|
3506
3534
|
}), {
|
|
3507
|
-
getNumberFormat:
|
|
3535
|
+
getNumberFormat: Le(function() {
|
|
3508
3536
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3509
3537
|
r[n] = arguments[n];
|
|
3510
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3538
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Me([void 0], r, !1)))();
|
|
3511
3539
|
}, {
|
|
3512
|
-
cache:
|
|
3513
|
-
strategy:
|
|
3540
|
+
cache: De(e.number),
|
|
3541
|
+
strategy: $e.variadic
|
|
3514
3542
|
}),
|
|
3515
|
-
getDateTimeFormat:
|
|
3543
|
+
getDateTimeFormat: Le(function() {
|
|
3516
3544
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3517
3545
|
r[n] = arguments[n];
|
|
3518
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3546
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Me([void 0], r, !1)))();
|
|
3519
3547
|
}, {
|
|
3520
|
-
cache:
|
|
3521
|
-
strategy:
|
|
3548
|
+
cache: De(e.dateTime),
|
|
3549
|
+
strategy: $e.variadic
|
|
3522
3550
|
}),
|
|
3523
|
-
getPluralRules:
|
|
3551
|
+
getPluralRules: Le(function() {
|
|
3524
3552
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3525
3553
|
r[n] = arguments[n];
|
|
3526
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3554
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Me([void 0], r, !1)))();
|
|
3527
3555
|
}, {
|
|
3528
|
-
cache:
|
|
3529
|
-
strategy:
|
|
3556
|
+
cache: De(e.pluralRules),
|
|
3557
|
+
strategy: $e.variadic
|
|
3530
3558
|
})
|
|
3531
3559
|
};
|
|
3532
3560
|
}
|
|
3533
|
-
var
|
|
3561
|
+
var ar = (
|
|
3534
3562
|
/** @class */
|
|
3535
3563
|
function() {
|
|
3536
3564
|
function e(t, r, n, i) {
|
|
@@ -3549,7 +3577,7 @@ var or = (
|
|
|
3549
3577
|
}, []);
|
|
3550
3578
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3551
3579
|
}, this.formatToParts = function(h) {
|
|
3552
|
-
return
|
|
3580
|
+
return _e(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3553
3581
|
}, this.resolvedOptions = function() {
|
|
3554
3582
|
var h;
|
|
3555
3583
|
return {
|
|
@@ -3560,15 +3588,15 @@ var or = (
|
|
|
3560
3588
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3561
3589
|
if (this.message = t, !e.__parse)
|
|
3562
3590
|
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,
|
|
3591
|
+
var a = i || {};
|
|
3592
|
+
a.formatters;
|
|
3593
|
+
var o = sn(a, ["formatters"]);
|
|
3594
|
+
this.ast = e.__parse(t, _(_({}, o), { locale: this.resolvedLocale }));
|
|
3567
3595
|
} else
|
|
3568
3596
|
this.ast = t;
|
|
3569
3597
|
if (!Array.isArray(this.ast))
|
|
3570
3598
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3571
|
-
this.formats =
|
|
3599
|
+
this.formats = Wn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
|
|
3572
3600
|
}
|
|
3573
3601
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3574
3602
|
get: function() {
|
|
@@ -3581,7 +3609,7 @@ var or = (
|
|
|
3581
3609
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3582
3610
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3583
3611
|
}
|
|
3584
|
-
}, e.__parse =
|
|
3612
|
+
}, e.__parse = Gn, e.formats = {
|
|
3585
3613
|
number: {
|
|
3586
3614
|
integer: {
|
|
3587
3615
|
maximumFractionDigits: 0
|
|
@@ -3642,7 +3670,7 @@ var or = (
|
|
|
3642
3670
|
}, e;
|
|
3643
3671
|
}()
|
|
3644
3672
|
);
|
|
3645
|
-
function
|
|
3673
|
+
function Jn(e, t) {
|
|
3646
3674
|
if (t == null)
|
|
3647
3675
|
return;
|
|
3648
3676
|
if (t in e)
|
|
@@ -3663,36 +3691,36 @@ function qn(e, t) {
|
|
|
3663
3691
|
n = void 0;
|
|
3664
3692
|
return n;
|
|
3665
3693
|
}
|
|
3666
|
-
const
|
|
3694
|
+
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
3695
|
if (t == null)
|
|
3668
3696
|
return;
|
|
3669
|
-
if (t in
|
|
3670
|
-
return
|
|
3671
|
-
const r =
|
|
3697
|
+
if (t in I && e in I[t])
|
|
3698
|
+
return I[t][e];
|
|
3699
|
+
const r = oe(t);
|
|
3672
3700
|
for (let n = 0; n < r.length; n++) {
|
|
3673
|
-
const i = r[n], s =
|
|
3701
|
+
const i = r[n], s = Yn(i, e);
|
|
3674
3702
|
if (s)
|
|
3675
|
-
return
|
|
3703
|
+
return qn(e, t, s);
|
|
3676
3704
|
}
|
|
3677
3705
|
};
|
|
3678
3706
|
let tt;
|
|
3679
|
-
const ae =
|
|
3680
|
-
function
|
|
3707
|
+
const ae = Ae({});
|
|
3708
|
+
function Qn(e) {
|
|
3681
3709
|
return tt[e] || null;
|
|
3682
3710
|
}
|
|
3683
3711
|
function ur(e) {
|
|
3684
3712
|
return e in tt;
|
|
3685
3713
|
}
|
|
3686
|
-
function
|
|
3714
|
+
function Yn(e, t) {
|
|
3687
3715
|
if (!ur(e))
|
|
3688
3716
|
return null;
|
|
3689
|
-
const r =
|
|
3690
|
-
return
|
|
3717
|
+
const r = Qn(e);
|
|
3718
|
+
return Jn(r, t);
|
|
3691
3719
|
}
|
|
3692
|
-
function
|
|
3720
|
+
function Kn(e) {
|
|
3693
3721
|
if (e == null)
|
|
3694
3722
|
return;
|
|
3695
|
-
const t =
|
|
3723
|
+
const t = oe(e);
|
|
3696
3724
|
for (let r = 0; r < t.length; r++) {
|
|
3697
3725
|
const n = t[r];
|
|
3698
3726
|
if (ur(n))
|
|
@@ -3700,61 +3728,61 @@ function ei(e) {
|
|
|
3700
3728
|
}
|
|
3701
3729
|
}
|
|
3702
3730
|
function lr(e, ...t) {
|
|
3703
|
-
delete
|
|
3731
|
+
delete I[e], ae.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
|
|
3704
3732
|
}
|
|
3705
|
-
|
|
3733
|
+
Z(
|
|
3706
3734
|
[ae],
|
|
3707
3735
|
([e]) => Object.keys(e)
|
|
3708
3736
|
);
|
|
3709
3737
|
ae.subscribe((e) => tt = e);
|
|
3710
3738
|
const ve = {};
|
|
3711
|
-
function
|
|
3739
|
+
function ei(e, t) {
|
|
3712
3740
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
3713
3741
|
}
|
|
3714
3742
|
function hr(e) {
|
|
3715
3743
|
return ve[e];
|
|
3716
3744
|
}
|
|
3717
|
-
function
|
|
3718
|
-
return
|
|
3745
|
+
function ti(e) {
|
|
3746
|
+
return oe(e).map((t) => {
|
|
3719
3747
|
const r = hr(t);
|
|
3720
3748
|
return [t, r ? [...r] : []];
|
|
3721
3749
|
}).filter(([, t]) => t.length > 0);
|
|
3722
3750
|
}
|
|
3723
|
-
function
|
|
3724
|
-
return e == null ? !1 :
|
|
3751
|
+
function He(e) {
|
|
3752
|
+
return e == null ? !1 : oe(e).some(
|
|
3725
3753
|
(t) => {
|
|
3726
3754
|
var r;
|
|
3727
3755
|
return (r = hr(t)) == null ? void 0 : r.size;
|
|
3728
3756
|
}
|
|
3729
3757
|
);
|
|
3730
3758
|
}
|
|
3731
|
-
function
|
|
3759
|
+
function ri(e, t) {
|
|
3732
3760
|
return Promise.all(
|
|
3733
|
-
t.map((n) => (
|
|
3761
|
+
t.map((n) => (ei(e, n), n().then((i) => i.default || i)))
|
|
3734
3762
|
).then((n) => lr(e, ...n));
|
|
3735
3763
|
}
|
|
3736
|
-
const
|
|
3764
|
+
const Q = {};
|
|
3737
3765
|
function cr(e) {
|
|
3738
|
-
if (!
|
|
3739
|
-
return e in
|
|
3740
|
-
const t =
|
|
3741
|
-
return
|
|
3766
|
+
if (!He(e))
|
|
3767
|
+
return e in Q ? Q[e] : Promise.resolve();
|
|
3768
|
+
const t = ti(e);
|
|
3769
|
+
return Q[e] = Promise.all(
|
|
3742
3770
|
t.map(
|
|
3743
|
-
([r, n]) =>
|
|
3771
|
+
([r, n]) => ri(r, n)
|
|
3744
3772
|
)
|
|
3745
3773
|
).then(() => {
|
|
3746
|
-
if (
|
|
3774
|
+
if (He(e))
|
|
3747
3775
|
return cr(e);
|
|
3748
|
-
delete
|
|
3749
|
-
}),
|
|
3776
|
+
delete Q[e];
|
|
3777
|
+
}), Q[e];
|
|
3750
3778
|
}
|
|
3751
|
-
var gt = Object.getOwnPropertySymbols,
|
|
3779
|
+
var gt = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, si = (e, t) => {
|
|
3752
3780
|
var r = {};
|
|
3753
3781
|
for (var n in e)
|
|
3754
|
-
|
|
3782
|
+
ni.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3755
3783
|
if (e != null && gt)
|
|
3756
3784
|
for (var n of gt(e))
|
|
3757
|
-
t.indexOf(n) < 0 &&
|
|
3785
|
+
t.indexOf(n) < 0 && ii.call(e, n) && (r[n] = e[n]);
|
|
3758
3786
|
return r;
|
|
3759
3787
|
};
|
|
3760
3788
|
const ai = {
|
|
@@ -3787,183 +3815,183 @@ const ai = {
|
|
|
3787
3815
|
}
|
|
3788
3816
|
}
|
|
3789
3817
|
};
|
|
3790
|
-
function
|
|
3818
|
+
function oi({ locale: e, id: t }) {
|
|
3791
3819
|
console.warn(
|
|
3792
|
-
`[svelte-i18n] The message "${t}" was not found in "${
|
|
3820
|
+
`[svelte-i18n] The message "${t}" was not found in "${oe(
|
|
3793
3821
|
e
|
|
3794
|
-
).join('", "')}".${
|
|
3822
|
+
).join('", "')}".${He(N()) ? `
|
|
3795
3823
|
|
|
3796
3824
|
Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
|
|
3797
3825
|
);
|
|
3798
3826
|
}
|
|
3799
|
-
const
|
|
3827
|
+
const ui = {
|
|
3800
3828
|
fallbackLocale: null,
|
|
3801
3829
|
loadingDelay: 200,
|
|
3802
3830
|
formats: ai,
|
|
3803
3831
|
warnOnMissingMessages: !0,
|
|
3804
3832
|
handleMissingMessage: void 0,
|
|
3805
3833
|
ignoreTag: !0
|
|
3806
|
-
},
|
|
3807
|
-
function
|
|
3808
|
-
return
|
|
3834
|
+
}, K = ui;
|
|
3835
|
+
function X() {
|
|
3836
|
+
return K;
|
|
3809
3837
|
}
|
|
3810
|
-
function
|
|
3811
|
-
const t = e, { formats: r } = t, n =
|
|
3838
|
+
function li(e) {
|
|
3839
|
+
const t = e, { formats: r } = t, n = si(t, ["formats"]);
|
|
3812
3840
|
let i = e.fallbackLocale;
|
|
3813
3841
|
if (e.initialLocale)
|
|
3814
3842
|
try {
|
|
3815
|
-
|
|
3843
|
+
ar.resolveLocale(e.initialLocale) && (i = e.initialLocale);
|
|
3816
3844
|
} catch {
|
|
3817
3845
|
console.warn(
|
|
3818
3846
|
`[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
|
|
3819
3847
|
);
|
|
3820
3848
|
}
|
|
3821
|
-
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage =
|
|
3849
|
+
return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = oi : console.warn(
|
|
3822
3850
|
'[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
|
|
3823
|
-
)), Object.assign(
|
|
3851
|
+
)), Object.assign(K, n, { initialLocale: i }), r && ("number" in r && Object.assign(K.formats.number, r.number), "date" in r && Object.assign(K.formats.date, r.date), "time" in r && Object.assign(K.formats.time, r.time)), $.set(i);
|
|
3824
3852
|
}
|
|
3825
|
-
const
|
|
3826
|
-
var
|
|
3853
|
+
const Ue = Ae(!1);
|
|
3854
|
+
var hi = Object.defineProperty, ci = Object.defineProperties, fi = Object.getOwnPropertyDescriptors, bt = Object.getOwnPropertySymbols, mi = Object.prototype.hasOwnProperty, di = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pi = (e, t) => {
|
|
3827
3855
|
for (var r in t || (t = {}))
|
|
3828
|
-
|
|
3856
|
+
mi.call(t, r) && yt(e, r, t[r]);
|
|
3829
3857
|
if (bt)
|
|
3830
3858
|
for (var r of bt(t))
|
|
3831
|
-
|
|
3859
|
+
di.call(t, r) && yt(e, r, t[r]);
|
|
3832
3860
|
return e;
|
|
3833
|
-
},
|
|
3834
|
-
let
|
|
3835
|
-
const
|
|
3861
|
+
}, gi = (e, t) => ci(e, fi(t));
|
|
3862
|
+
let qe;
|
|
3863
|
+
const we = Ae(null);
|
|
3836
3864
|
function _t(e) {
|
|
3837
3865
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3838
3866
|
}
|
|
3839
|
-
function
|
|
3867
|
+
function oe(e, t = X().fallbackLocale) {
|
|
3840
3868
|
const r = _t(e);
|
|
3841
3869
|
return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
|
|
3842
3870
|
}
|
|
3843
|
-
function
|
|
3844
|
-
return
|
|
3871
|
+
function N() {
|
|
3872
|
+
return qe ?? void 0;
|
|
3845
3873
|
}
|
|
3846
|
-
|
|
3847
|
-
|
|
3874
|
+
we.subscribe((e) => {
|
|
3875
|
+
qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3848
3876
|
});
|
|
3849
|
-
const
|
|
3850
|
-
if (e &&
|
|
3851
|
-
const { loadingDelay: t } =
|
|
3877
|
+
const bi = (e) => {
|
|
3878
|
+
if (e && Kn(e) && He(e)) {
|
|
3879
|
+
const { loadingDelay: t } = X();
|
|
3852
3880
|
let r;
|
|
3853
|
-
return typeof window < "u" &&
|
|
3854
|
-
() =>
|
|
3881
|
+
return typeof window < "u" && N() != null && t ? r = window.setTimeout(
|
|
3882
|
+
() => Ue.set(!0),
|
|
3855
3883
|
t
|
|
3856
|
-
) :
|
|
3857
|
-
|
|
3884
|
+
) : Ue.set(!0), cr(e).then(() => {
|
|
3885
|
+
we.set(e);
|
|
3858
3886
|
}).finally(() => {
|
|
3859
|
-
clearTimeout(r),
|
|
3887
|
+
clearTimeout(r), Ue.set(!1);
|
|
3860
3888
|
});
|
|
3861
3889
|
}
|
|
3862
|
-
return
|
|
3863
|
-
},
|
|
3864
|
-
set:
|
|
3865
|
-
}),
|
|
3890
|
+
return we.set(e);
|
|
3891
|
+
}, $ = gi(pi({}, we), {
|
|
3892
|
+
set: bi
|
|
3893
|
+
}), Ie = (e) => {
|
|
3866
3894
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3867
3895
|
return (n) => {
|
|
3868
3896
|
const i = JSON.stringify(n);
|
|
3869
3897
|
return i in t ? t[i] : t[i] = e(n);
|
|
3870
3898
|
};
|
|
3871
3899
|
};
|
|
3872
|
-
var
|
|
3900
|
+
var yi = Object.defineProperty, Se = Object.getOwnPropertySymbols, fr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
|
|
3873
3901
|
for (var r in t || (t = {}))
|
|
3874
|
-
fr.call(t, r) &&
|
|
3875
|
-
if (
|
|
3876
|
-
for (var r of
|
|
3877
|
-
mr.call(t, r) &&
|
|
3902
|
+
fr.call(t, r) && vt(e, r, t[r]);
|
|
3903
|
+
if (Se)
|
|
3904
|
+
for (var r of Se(t))
|
|
3905
|
+
mr.call(t, r) && vt(e, r, t[r]);
|
|
3878
3906
|
return e;
|
|
3879
|
-
},
|
|
3907
|
+
}, J = (e, t) => {
|
|
3880
3908
|
var r = {};
|
|
3881
3909
|
for (var n in e)
|
|
3882
3910
|
fr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3883
|
-
if (e != null &&
|
|
3884
|
-
for (var n of
|
|
3911
|
+
if (e != null && Se)
|
|
3912
|
+
for (var n of Se(e))
|
|
3885
3913
|
t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
|
|
3886
3914
|
return r;
|
|
3887
3915
|
};
|
|
3888
|
-
const
|
|
3889
|
-
const { formats: r } =
|
|
3916
|
+
const ie = (e, t) => {
|
|
3917
|
+
const { formats: r } = X();
|
|
3890
3918
|
if (e in r && t in r[e])
|
|
3891
3919
|
return r[e][t];
|
|
3892
3920
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3893
|
-
},
|
|
3921
|
+
}, _i = Ie(
|
|
3894
3922
|
(e) => {
|
|
3895
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3923
|
+
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
3896
3924
|
if (r == null)
|
|
3897
3925
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3898
|
-
return n && (i =
|
|
3926
|
+
return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
|
|
3899
3927
|
}
|
|
3900
|
-
), vi =
|
|
3928
|
+
), vi = Ie(
|
|
3901
3929
|
(e) => {
|
|
3902
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3930
|
+
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
3903
3931
|
if (r == null)
|
|
3904
3932
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3905
|
-
return n ? i =
|
|
3933
|
+
return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3906
3934
|
}
|
|
3907
|
-
),
|
|
3935
|
+
), Ei = Ie(
|
|
3908
3936
|
(e) => {
|
|
3909
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3937
|
+
var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
|
|
3910
3938
|
if (r == null)
|
|
3911
3939
|
throw new Error(
|
|
3912
3940
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3913
3941
|
);
|
|
3914
|
-
return n ? i =
|
|
3942
|
+
return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3915
3943
|
}
|
|
3916
|
-
),
|
|
3944
|
+
), xi = (e = {}) => {
|
|
3917
3945
|
var t = e, {
|
|
3918
|
-
locale: r =
|
|
3919
|
-
} = t, n =
|
|
3946
|
+
locale: r = N()
|
|
3947
|
+
} = t, n = J(t, [
|
|
3920
3948
|
"locale"
|
|
3921
3949
|
]);
|
|
3922
|
-
return
|
|
3923
|
-
},
|
|
3950
|
+
return _i(rt({ locale: r }, n));
|
|
3951
|
+
}, Ti = (e = {}) => {
|
|
3924
3952
|
var t = e, {
|
|
3925
|
-
locale: r =
|
|
3926
|
-
} = t, n =
|
|
3953
|
+
locale: r = N()
|
|
3954
|
+
} = t, n = J(t, [
|
|
3927
3955
|
"locale"
|
|
3928
3956
|
]);
|
|
3929
3957
|
return vi(rt({ locale: r }, n));
|
|
3930
|
-
},
|
|
3958
|
+
}, Hi = (e = {}) => {
|
|
3931
3959
|
var t = e, {
|
|
3932
|
-
locale: r =
|
|
3933
|
-
} = t, n =
|
|
3960
|
+
locale: r = N()
|
|
3961
|
+
} = t, n = J(t, [
|
|
3934
3962
|
"locale"
|
|
3935
3963
|
]);
|
|
3936
|
-
return
|
|
3937
|
-
},
|
|
3964
|
+
return Ei(rt({ locale: r }, n));
|
|
3965
|
+
}, wi = Ie(
|
|
3938
3966
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3939
|
-
(e, t =
|
|
3940
|
-
ignoreTag:
|
|
3967
|
+
(e, t = N()) => new ar(e, t, X().formats, {
|
|
3968
|
+
ignoreTag: X().ignoreTag
|
|
3941
3969
|
})
|
|
3942
|
-
),
|
|
3970
|
+
), Si = (e, t = {}) => {
|
|
3943
3971
|
var r, n, i, s;
|
|
3944
|
-
let
|
|
3945
|
-
typeof e == "object" && (
|
|
3972
|
+
let a = t;
|
|
3973
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
3946
3974
|
const {
|
|
3947
|
-
values:
|
|
3948
|
-
locale: h =
|
|
3975
|
+
values: o,
|
|
3976
|
+
locale: h = N(),
|
|
3949
3977
|
default: u
|
|
3950
|
-
} =
|
|
3978
|
+
} = a;
|
|
3951
3979
|
if (h == null)
|
|
3952
3980
|
throw new Error(
|
|
3953
3981
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3954
3982
|
);
|
|
3955
|
-
let l =
|
|
3983
|
+
let l = or(e, h);
|
|
3956
3984
|
if (!l)
|
|
3957
|
-
l = (s = (i = (n = (r =
|
|
3985
|
+
l = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3958
3986
|
else if (typeof l != "string")
|
|
3959
3987
|
return console.warn(
|
|
3960
3988
|
`[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
3989
|
), l;
|
|
3962
|
-
if (!
|
|
3990
|
+
if (!o)
|
|
3963
3991
|
return l;
|
|
3964
3992
|
let c = l;
|
|
3965
3993
|
try {
|
|
3966
|
-
c =
|
|
3994
|
+
c = wi(l, h).format(o);
|
|
3967
3995
|
} catch (m) {
|
|
3968
3996
|
m instanceof Error && console.warn(
|
|
3969
3997
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3971,18 +3999,18 @@ const se = (e, t) => {
|
|
|
3971
3999
|
);
|
|
3972
4000
|
}
|
|
3973
4001
|
return c;
|
|
3974
|
-
},
|
|
3975
|
-
|
|
3976
|
-
|
|
3977
|
-
|
|
3978
|
-
|
|
3979
|
-
function
|
|
4002
|
+
}, Bi = (e, t) => Hi(t).format(e), Ai = (e, t) => Ti(t).format(e), Pi = (e, t) => xi(t).format(e), Oi = (e, t = N()) => or(e, t), Ii = Z([$, ae], () => Si);
|
|
4003
|
+
Z([$], () => Bi);
|
|
4004
|
+
Z([$], () => Ai);
|
|
4005
|
+
Z([$], () => Pi);
|
|
4006
|
+
Z([$, ae], () => Oi);
|
|
4007
|
+
function Ci(e, t) {
|
|
3980
4008
|
if (e) {
|
|
3981
4009
|
const r = document.createElement("style");
|
|
3982
4010
|
r.innerHTML = t, e.appendChild(r);
|
|
3983
4011
|
}
|
|
3984
4012
|
}
|
|
3985
|
-
function
|
|
4013
|
+
function Ni(e, t) {
|
|
3986
4014
|
if (!e || !t)
|
|
3987
4015
|
return;
|
|
3988
4016
|
const r = new URL(t);
|
|
@@ -4001,13 +4029,13 @@ function Mi(e, t, r) {
|
|
|
4001
4029
|
});
|
|
4002
4030
|
}
|
|
4003
4031
|
}
|
|
4004
|
-
function
|
|
4032
|
+
function Et(e, t) {
|
|
4005
4033
|
lr(e, t);
|
|
4006
4034
|
}
|
|
4007
|
-
function
|
|
4008
|
-
|
|
4035
|
+
function Li(e) {
|
|
4036
|
+
li({
|
|
4009
4037
|
fallbackLocale: "en"
|
|
4010
|
-
}),
|
|
4038
|
+
}), $.set(e);
|
|
4011
4039
|
}
|
|
4012
4040
|
const xt = {
|
|
4013
4041
|
en: {
|
|
@@ -4063,52 +4091,52 @@ const xt = {
|
|
|
4063
4091
|
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."
|
|
4064
4092
|
}
|
|
4065
4093
|
};
|
|
4066
|
-
function
|
|
4094
|
+
function $i(e) {
|
|
4067
4095
|
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
4096
|
}
|
|
4069
|
-
const
|
|
4097
|
+
const Ri = (e) => ({}), Tt = (e) => ({}), Di = (e) => ({}), Ht = (e) => ({}), Ui = (e) => ({}), wt = (e) => ({}), ki = (e) => ({}), St = (e) => ({ class: "CashierErrorIcon" });
|
|
4070
4098
|
function Bt(e) {
|
|
4071
4099
|
let t, r;
|
|
4072
4100
|
return {
|
|
4073
4101
|
c() {
|
|
4074
|
-
t =
|
|
4075
|
-
e[0]}/error-general-icon.png`) ||
|
|
4102
|
+
t = A("ui-image"), st(t.src, r = `${/*assetsurl*/
|
|
4103
|
+
e[0]}/error-general-icon.png`) || de(t, "src", r), de(t, "width", "300px"), de(t, "alt", "error");
|
|
4076
4104
|
},
|
|
4077
4105
|
m(n, i) {
|
|
4078
|
-
|
|
4106
|
+
W(n, t, i);
|
|
4079
4107
|
},
|
|
4080
4108
|
p(n, i) {
|
|
4081
4109
|
i & /*assetsurl*/
|
|
4082
4110
|
1 && !st(t.src, r = `${/*assetsurl*/
|
|
4083
|
-
n[0]}/error-general-icon.png`) &&
|
|
4111
|
+
n[0]}/error-general-icon.png`) && de(t, "src", r);
|
|
4084
4112
|
},
|
|
4085
4113
|
d(n) {
|
|
4086
|
-
n &&
|
|
4114
|
+
n && C(t);
|
|
4087
4115
|
}
|
|
4088
4116
|
};
|
|
4089
4117
|
}
|
|
4090
|
-
function
|
|
4118
|
+
function Gi(e) {
|
|
4091
4119
|
let t, r = (
|
|
4092
4120
|
/*assetsurl*/
|
|
4093
4121
|
e[0] && Bt(e)
|
|
4094
4122
|
);
|
|
4095
4123
|
return {
|
|
4096
4124
|
c() {
|
|
4097
|
-
r && r.c(), t =
|
|
4125
|
+
r && r.c(), t = vr();
|
|
4098
4126
|
},
|
|
4099
4127
|
m(n, i) {
|
|
4100
|
-
r && r.m(n, i),
|
|
4128
|
+
r && r.m(n, i), W(n, t, i);
|
|
4101
4129
|
},
|
|
4102
4130
|
p(n, i) {
|
|
4103
4131
|
/*assetsurl*/
|
|
4104
4132
|
n[0] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
4105
4133
|
},
|
|
4106
4134
|
d(n) {
|
|
4107
|
-
n &&
|
|
4135
|
+
n && C(t), r && r.d(n);
|
|
4108
4136
|
}
|
|
4109
4137
|
};
|
|
4110
4138
|
}
|
|
4111
|
-
function
|
|
4139
|
+
function Fi(e) {
|
|
4112
4140
|
let t, r = (
|
|
4113
4141
|
/*$_*/
|
|
4114
4142
|
e[3](`${/*errorcode*/
|
|
@@ -4116,10 +4144,10 @@ function ji(e) {
|
|
|
4116
4144
|
), n;
|
|
4117
4145
|
return {
|
|
4118
4146
|
c() {
|
|
4119
|
-
t =
|
|
4147
|
+
t = A("span"), n = Be(r), F(t, "class", "CashierErrorText");
|
|
4120
4148
|
},
|
|
4121
4149
|
m(i, s) {
|
|
4122
|
-
|
|
4150
|
+
W(i, t, s), P(t, n);
|
|
4123
4151
|
},
|
|
4124
4152
|
p(i, s) {
|
|
4125
4153
|
s & /*$_, errorcode*/
|
|
@@ -4128,52 +4156,52 @@ function ji(e) {
|
|
|
4128
4156
|
i[1] || "errorGeneralText"}`) + "") && Dt(n, r);
|
|
4129
4157
|
},
|
|
4130
4158
|
d(i) {
|
|
4131
|
-
i &&
|
|
4159
|
+
i && C(t);
|
|
4132
4160
|
}
|
|
4133
4161
|
};
|
|
4134
4162
|
}
|
|
4135
|
-
function
|
|
4163
|
+
function ji(e) {
|
|
4136
4164
|
let t, r, n = (
|
|
4137
4165
|
/*$_*/
|
|
4138
4166
|
e[3]("errorGeneralButton") + ""
|
|
4139
|
-
), i, s,
|
|
4167
|
+
), i, s, a;
|
|
4140
4168
|
return {
|
|
4141
4169
|
c() {
|
|
4142
|
-
t =
|
|
4170
|
+
t = A("button"), r = A("span"), i = Be(n), F(t, "class", "CashierErrorButton");
|
|
4143
4171
|
},
|
|
4144
|
-
m(
|
|
4145
|
-
|
|
4172
|
+
m(o, h) {
|
|
4173
|
+
W(o, t, h), P(t, r), P(r, i), s || (a = Er(
|
|
4146
4174
|
t,
|
|
4147
4175
|
"click",
|
|
4148
4176
|
/*close*/
|
|
4149
4177
|
e[4]
|
|
4150
4178
|
), s = !0);
|
|
4151
4179
|
},
|
|
4152
|
-
p(
|
|
4180
|
+
p(o, h) {
|
|
4153
4181
|
h & /*$_*/
|
|
4154
4182
|
8 && n !== (n = /*$_*/
|
|
4155
|
-
|
|
4183
|
+
o[3]("errorGeneralButton") + "") && Dt(i, n);
|
|
4156
4184
|
},
|
|
4157
|
-
d(
|
|
4158
|
-
|
|
4185
|
+
d(o) {
|
|
4186
|
+
o && C(t), s = !1, a();
|
|
4159
4187
|
}
|
|
4160
4188
|
};
|
|
4161
4189
|
}
|
|
4162
|
-
function
|
|
4163
|
-
let t, r, n, i, s,
|
|
4164
|
-
const
|
|
4190
|
+
function zi(e) {
|
|
4191
|
+
let t, r, n, i, s, a;
|
|
4192
|
+
const o = (
|
|
4165
4193
|
/*#slots*/
|
|
4166
4194
|
e[11].icon
|
|
4167
|
-
), h =
|
|
4168
|
-
|
|
4195
|
+
), h = he(
|
|
4196
|
+
o,
|
|
4169
4197
|
e,
|
|
4170
4198
|
/*$$scope*/
|
|
4171
4199
|
e[10],
|
|
4172
4200
|
St
|
|
4173
|
-
), u = h ||
|
|
4201
|
+
), u = h || Gi(e), l = (
|
|
4174
4202
|
/*#slots*/
|
|
4175
4203
|
e[11].title
|
|
4176
|
-
), c =
|
|
4204
|
+
), c = he(
|
|
4177
4205
|
l,
|
|
4178
4206
|
e,
|
|
4179
4207
|
/*$$scope*/
|
|
@@ -4182,162 +4210,162 @@ function Vi(e) {
|
|
|
4182
4210
|
), m = (
|
|
4183
4211
|
/*#slots*/
|
|
4184
4212
|
e[11].text
|
|
4185
|
-
), d =
|
|
4213
|
+
), d = he(
|
|
4186
4214
|
m,
|
|
4187
4215
|
e,
|
|
4188
4216
|
/*$$scope*/
|
|
4189
4217
|
e[10],
|
|
4190
4218
|
Ht
|
|
4191
|
-
), p = d ||
|
|
4219
|
+
), p = d || Fi(e), v = (
|
|
4192
4220
|
/*#slots*/
|
|
4193
4221
|
e[11].button
|
|
4194
|
-
),
|
|
4195
|
-
|
|
4222
|
+
), x = he(
|
|
4223
|
+
v,
|
|
4196
4224
|
e,
|
|
4197
4225
|
/*$$scope*/
|
|
4198
4226
|
e[10],
|
|
4199
4227
|
Tt
|
|
4200
|
-
), E =
|
|
4228
|
+
), E = x || ji(e);
|
|
4201
4229
|
return {
|
|
4202
4230
|
c() {
|
|
4203
|
-
t =
|
|
4231
|
+
t = A("div"), r = A("div"), u && u.c(), n = Ce(), c && c.c(), i = Ce(), p && p.c(), s = Ce(), E && E.c(), F(r, "class", "CashierErrorContent"), F(t, "class", "CashierError");
|
|
4204
4232
|
},
|
|
4205
4233
|
m(f, g) {
|
|
4206
|
-
|
|
4234
|
+
W(f, t, g), P(t, r), u && u.m(r, null), P(r, n), c && c.m(r, null), P(r, i), p && p.m(r, null), P(r, s), E && E.m(r, null), e[12](t), a = !0;
|
|
4207
4235
|
},
|
|
4208
4236
|
p(f, [g]) {
|
|
4209
|
-
h ? h.p && (!
|
|
4210
|
-
1024) &&
|
|
4237
|
+
h ? h.p && (!a || g & /*$$scope*/
|
|
4238
|
+
1024) && fe(
|
|
4211
4239
|
h,
|
|
4212
|
-
|
|
4240
|
+
o,
|
|
4213
4241
|
f,
|
|
4214
4242
|
/*$$scope*/
|
|
4215
4243
|
f[10],
|
|
4216
|
-
|
|
4217
|
-
|
|
4244
|
+
a ? ce(
|
|
4245
|
+
o,
|
|
4218
4246
|
/*$$scope*/
|
|
4219
4247
|
f[10],
|
|
4220
4248
|
g,
|
|
4221
|
-
|
|
4222
|
-
) :
|
|
4249
|
+
ki
|
|
4250
|
+
) : me(
|
|
4223
4251
|
/*$$scope*/
|
|
4224
4252
|
f[10]
|
|
4225
4253
|
),
|
|
4226
4254
|
St
|
|
4227
|
-
) : u && u.p && (!
|
|
4228
|
-
1) && u.p(f,
|
|
4229
|
-
1024) &&
|
|
4255
|
+
) : u && u.p && (!a || g & /*assetsurl*/
|
|
4256
|
+
1) && u.p(f, a ? g : -1), c && c.p && (!a || g & /*$$scope*/
|
|
4257
|
+
1024) && fe(
|
|
4230
4258
|
c,
|
|
4231
4259
|
l,
|
|
4232
4260
|
f,
|
|
4233
4261
|
/*$$scope*/
|
|
4234
4262
|
f[10],
|
|
4235
|
-
|
|
4263
|
+
a ? ce(
|
|
4236
4264
|
l,
|
|
4237
4265
|
/*$$scope*/
|
|
4238
4266
|
f[10],
|
|
4239
4267
|
g,
|
|
4240
|
-
|
|
4241
|
-
) :
|
|
4268
|
+
Ui
|
|
4269
|
+
) : me(
|
|
4242
4270
|
/*$$scope*/
|
|
4243
4271
|
f[10]
|
|
4244
4272
|
),
|
|
4245
4273
|
wt
|
|
4246
|
-
), d ? d.p && (!
|
|
4247
|
-
1024) &&
|
|
4274
|
+
), d ? d.p && (!a || g & /*$$scope*/
|
|
4275
|
+
1024) && fe(
|
|
4248
4276
|
d,
|
|
4249
4277
|
m,
|
|
4250
4278
|
f,
|
|
4251
4279
|
/*$$scope*/
|
|
4252
4280
|
f[10],
|
|
4253
|
-
|
|
4281
|
+
a ? ce(
|
|
4254
4282
|
m,
|
|
4255
4283
|
/*$$scope*/
|
|
4256
4284
|
f[10],
|
|
4257
4285
|
g,
|
|
4258
|
-
|
|
4259
|
-
) :
|
|
4286
|
+
Di
|
|
4287
|
+
) : me(
|
|
4260
4288
|
/*$$scope*/
|
|
4261
4289
|
f[10]
|
|
4262
4290
|
),
|
|
4263
4291
|
Ht
|
|
4264
|
-
) : p && p.p && (!
|
|
4265
|
-
10) && p.p(f,
|
|
4266
|
-
1024) &&
|
|
4292
|
+
) : p && p.p && (!a || g & /*$_, errorcode*/
|
|
4293
|
+
10) && p.p(f, a ? g : -1), x ? x.p && (!a || g & /*$$scope*/
|
|
4294
|
+
1024) && fe(
|
|
4295
|
+
x,
|
|
4267
4296
|
v,
|
|
4268
|
-
_,
|
|
4269
4297
|
f,
|
|
4270
4298
|
/*$$scope*/
|
|
4271
4299
|
f[10],
|
|
4272
|
-
|
|
4273
|
-
|
|
4300
|
+
a ? ce(
|
|
4301
|
+
v,
|
|
4274
4302
|
/*$$scope*/
|
|
4275
4303
|
f[10],
|
|
4276
4304
|
g,
|
|
4277
|
-
|
|
4278
|
-
) :
|
|
4305
|
+
Ri
|
|
4306
|
+
) : me(
|
|
4279
4307
|
/*$$scope*/
|
|
4280
4308
|
f[10]
|
|
4281
4309
|
),
|
|
4282
4310
|
Tt
|
|
4283
|
-
) : E && E.p && (!
|
|
4284
|
-
8) && E.p(f,
|
|
4311
|
+
) : E && E.p && (!a || g & /*$_*/
|
|
4312
|
+
8) && E.p(f, a ? g : -1);
|
|
4285
4313
|
},
|
|
4286
4314
|
i(f) {
|
|
4287
|
-
|
|
4315
|
+
a || (Y(u, f), Y(c, f), Y(p, f), Y(E, f), a = !0);
|
|
4288
4316
|
},
|
|
4289
4317
|
o(f) {
|
|
4290
|
-
|
|
4318
|
+
pe(u, f), pe(c, f), pe(p, f), pe(E, f), a = !1;
|
|
4291
4319
|
},
|
|
4292
4320
|
d(f) {
|
|
4293
|
-
f &&
|
|
4321
|
+
f && C(t), u && u.d(f), c && c.d(f), p && p.d(f), E && E.d(f), e[12](null);
|
|
4294
4322
|
}
|
|
4295
4323
|
};
|
|
4296
4324
|
}
|
|
4297
|
-
function
|
|
4325
|
+
function Vi(e, t, r) {
|
|
4298
4326
|
let n;
|
|
4299
|
-
br(e,
|
|
4300
|
-
let { $$slots: i = {}, $$scope: s } = t, { assetsurl:
|
|
4327
|
+
br(e, Ii, (f) => r(3, n = f));
|
|
4328
|
+
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
4329
|
const p = () => {
|
|
4302
|
-
|
|
4303
|
-
},
|
|
4330
|
+
Li(o);
|
|
4331
|
+
}, v = () => {
|
|
4304
4332
|
fetch(c).then((g) => g.json()).then((g) => {
|
|
4305
4333
|
Object.keys(g).forEach((S) => {
|
|
4306
|
-
|
|
4334
|
+
Et(S, g[S]);
|
|
4307
4335
|
});
|
|
4308
4336
|
}).catch((g) => {
|
|
4309
4337
|
console.error(g);
|
|
4310
4338
|
});
|
|
4311
4339
|
};
|
|
4312
4340
|
Object.keys(xt).forEach((f) => {
|
|
4313
|
-
|
|
4341
|
+
Et(f, xt[f]);
|
|
4314
4342
|
});
|
|
4315
|
-
const
|
|
4343
|
+
const x = () => {
|
|
4316
4344
|
window.postMessage({ type: "ErrorClose" }, window.location.href);
|
|
4317
4345
|
};
|
|
4318
4346
|
Pr(() => () => {
|
|
4319
4347
|
});
|
|
4320
4348
|
function E(f) {
|
|
4321
|
-
|
|
4349
|
+
Ge[f ? "unshift" : "push"](() => {
|
|
4322
4350
|
d = f, r(2, d);
|
|
4323
4351
|
});
|
|
4324
4352
|
}
|
|
4325
4353
|
return e.$$set = (f) => {
|
|
4326
|
-
"assetsurl" in f && r(0,
|
|
4354
|
+
"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
4355
|
}, e.$$.update = () => {
|
|
4328
4356
|
e.$$.dirty & /*lang*/
|
|
4329
|
-
32 &&
|
|
4330
|
-
68 && u && d &&
|
|
4331
|
-
132 && l && d &&
|
|
4357
|
+
32 && o && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4358
|
+
68 && u && d && Ci(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4359
|
+
132 && l && d && Ni(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4332
4360
|
516 && m && d && Mi(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
|
|
4333
|
-
256 && c &&
|
|
4361
|
+
256 && c && v();
|
|
4334
4362
|
}, [
|
|
4335
|
-
|
|
4363
|
+
a,
|
|
4336
4364
|
h,
|
|
4337
4365
|
d,
|
|
4338
4366
|
n,
|
|
4339
|
-
|
|
4340
|
-
|
|
4367
|
+
x,
|
|
4368
|
+
o,
|
|
4341
4369
|
u,
|
|
4342
4370
|
l,
|
|
4343
4371
|
c,
|
|
@@ -4352,8 +4380,8 @@ class dr extends Ur {
|
|
|
4352
4380
|
super(), Rr(
|
|
4353
4381
|
this,
|
|
4354
4382
|
t,
|
|
4355
|
-
Xi,
|
|
4356
4383
|
Vi,
|
|
4384
|
+
zi,
|
|
4357
4385
|
Ot,
|
|
4358
4386
|
{
|
|
4359
4387
|
assetsurl: 0,
|
|
@@ -4364,100 +4392,104 @@ class dr extends Ur {
|
|
|
4364
4392
|
translationurl: 8,
|
|
4365
4393
|
mbsource: 9
|
|
4366
4394
|
},
|
|
4367
|
-
|
|
4395
|
+
$i
|
|
4368
4396
|
);
|
|
4369
4397
|
}
|
|
4370
4398
|
get assetsurl() {
|
|
4371
4399
|
return this.$$.ctx[0];
|
|
4372
4400
|
}
|
|
4373
4401
|
set assetsurl(t) {
|
|
4374
|
-
this.$$set({ assetsurl: t }),
|
|
4402
|
+
this.$$set({ assetsurl: t }), B();
|
|
4375
4403
|
}
|
|
4376
4404
|
get lang() {
|
|
4377
4405
|
return this.$$.ctx[5];
|
|
4378
4406
|
}
|
|
4379
4407
|
set lang(t) {
|
|
4380
|
-
this.$$set({ lang: t }),
|
|
4408
|
+
this.$$set({ lang: t }), B();
|
|
4381
4409
|
}
|
|
4382
4410
|
get errorcode() {
|
|
4383
4411
|
return this.$$.ctx[1];
|
|
4384
4412
|
}
|
|
4385
4413
|
set errorcode(t) {
|
|
4386
|
-
this.$$set({ errorcode: t }),
|
|
4414
|
+
this.$$set({ errorcode: t }), B();
|
|
4387
4415
|
}
|
|
4388
4416
|
get clientstyling() {
|
|
4389
4417
|
return this.$$.ctx[6];
|
|
4390
4418
|
}
|
|
4391
4419
|
set clientstyling(t) {
|
|
4392
|
-
this.$$set({ clientstyling: t }),
|
|
4420
|
+
this.$$set({ clientstyling: t }), B();
|
|
4393
4421
|
}
|
|
4394
4422
|
get clientstylingurl() {
|
|
4395
4423
|
return this.$$.ctx[7];
|
|
4396
4424
|
}
|
|
4397
4425
|
set clientstylingurl(t) {
|
|
4398
|
-
this.$$set({ clientstylingurl: t }),
|
|
4426
|
+
this.$$set({ clientstylingurl: t }), B();
|
|
4399
4427
|
}
|
|
4400
4428
|
get translationurl() {
|
|
4401
4429
|
return this.$$.ctx[8];
|
|
4402
4430
|
}
|
|
4403
4431
|
set translationurl(t) {
|
|
4404
|
-
this.$$set({ translationurl: t }),
|
|
4432
|
+
this.$$set({ translationurl: t }), B();
|
|
4405
4433
|
}
|
|
4406
4434
|
get mbsource() {
|
|
4407
4435
|
return this.$$.ctx[9];
|
|
4408
4436
|
}
|
|
4409
4437
|
set mbsource(t) {
|
|
4410
|
-
this.$$set({ mbsource: t }),
|
|
4438
|
+
this.$$set({ mbsource: t }), B();
|
|
4411
4439
|
}
|
|
4412
4440
|
}
|
|
4413
4441
|
Dr(dr, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
|
|
4414
|
-
const
|
|
4442
|
+
const ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4415
4443
|
__proto__: null,
|
|
4416
4444
|
default: dr
|
|
4417
4445
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4418
4446
|
export {
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4447
|
+
$,
|
|
4448
|
+
Y as A,
|
|
4449
|
+
Ji as B,
|
|
4422
4450
|
pe as C,
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
|
|
4426
|
-
|
|
4427
|
-
|
|
4428
|
-
|
|
4429
|
-
|
|
4430
|
-
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
|
|
4434
|
-
|
|
4435
|
-
|
|
4451
|
+
qi as D,
|
|
4452
|
+
Be as E,
|
|
4453
|
+
Dt as F,
|
|
4454
|
+
re as G,
|
|
4455
|
+
Qi as H,
|
|
4456
|
+
Yi as I,
|
|
4457
|
+
de as J,
|
|
4458
|
+
Ii as K,
|
|
4459
|
+
vr as L,
|
|
4460
|
+
Er as M,
|
|
4461
|
+
Ki as N,
|
|
4462
|
+
Wi as O,
|
|
4463
|
+
Zi as P,
|
|
4464
|
+
st as Q,
|
|
4465
|
+
L as R,
|
|
4436
4466
|
Ur as S,
|
|
4467
|
+
ns as T,
|
|
4468
|
+
ts as _,
|
|
4437
4469
|
lr as a,
|
|
4438
|
-
|
|
4439
|
-
|
|
4440
|
-
|
|
4441
|
-
|
|
4442
|
-
|
|
4470
|
+
li as b,
|
|
4471
|
+
es as c,
|
|
4472
|
+
Me as d,
|
|
4473
|
+
rs as e,
|
|
4474
|
+
Pe as f,
|
|
4443
4475
|
Fr as g,
|
|
4444
|
-
|
|
4476
|
+
Dr as h,
|
|
4445
4477
|
At as i,
|
|
4446
|
-
|
|
4447
|
-
|
|
4448
|
-
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
|
|
4478
|
+
Rr as j,
|
|
4479
|
+
B as k,
|
|
4480
|
+
yr as l,
|
|
4481
|
+
A as m,
|
|
4482
|
+
F as n,
|
|
4483
|
+
W as o,
|
|
4484
|
+
w as p,
|
|
4485
|
+
C as q,
|
|
4486
|
+
br as r,
|
|
4455
4487
|
Ot as s,
|
|
4456
|
-
|
|
4457
|
-
|
|
4458
|
-
|
|
4459
|
-
|
|
4460
|
-
|
|
4461
|
-
|
|
4462
|
-
|
|
4488
|
+
Pr as t,
|
|
4489
|
+
Mi as u,
|
|
4490
|
+
Ge as v,
|
|
4491
|
+
Ci as w,
|
|
4492
|
+
Ni as x,
|
|
4493
|
+
Ce as y,
|
|
4494
|
+
P as z
|
|
4463
4495
|
};
|