@everymatrix/player-account-product-restriction 1.86.12 → 1.86.21
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/{PlayerAccountGeneralConfirmationModal-DuVksImo.js → PlayerAccountGeneralConfirmationModal-CR6AoSyA.js} +498 -482
- package/components/{PlayerAccountGeneralConfirmationModal-DjoR1ciT.cjs → PlayerAccountGeneralConfirmationModal-DM3iJdli.cjs} +6 -6
- package/components/{PlayerAccountGeneralConfirmationModal-Dsb3QBRi.js → PlayerAccountGeneralConfirmationModal-mfKyZsdG.js} +532 -516
- package/components/{PlayerAccountModal-DT8jP5ZF.cjs → PlayerAccountModal-CaflKyjZ.cjs} +1 -1
- package/components/{PlayerAccountModal-hfvwdtCD.js → PlayerAccountModal-DAvLb1RB.js} +1 -1
- package/components/{PlayerAccountModal-Dxlx0FMo.js → PlayerAccountModal-Dk-M1NrJ.js} +1 -1
- package/components/{PlayerAccountProductRestriction-D1tQkRwh.js → PlayerAccountProductRestriction-BrDntLjc.js} +1062 -1055
- package/components/{PlayerAccountProductRestriction-CHi2R6Ax.cjs → PlayerAccountProductRestriction-DpnTYl2R.cjs} +242 -242
- package/components/{PlayerAccountProductRestriction-DT9tTM1d.js → PlayerAccountProductRestriction-yD3kGq6y.js} +1069 -1062
- package/es2015/player-account-product-restriction.cjs +1 -1
- package/es2015/player-account-product-restriction.js +1 -1
- package/esnext/player-account-product-restriction.js +1 -1
- package/package.json +1 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
1
|
+
var Lr = Object.defineProperty, Rr = Object.defineProperties;
|
|
2
2
|
var $r = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var mt = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var Me = (e, t, r) => t in e ?
|
|
4
|
+
var Gr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Me = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
Gr.call(t, r) && Me(e, r, t[r]);
|
|
8
8
|
if (mt)
|
|
9
9
|
for (var r of mt(t))
|
|
10
|
-
|
|
10
|
+
Ur.call(t, r) && Me(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
}, dt = (e, t) =>
|
|
13
|
-
var
|
|
12
|
+
}, dt = (e, t) => Rr(e, $r(t));
|
|
13
|
+
var I = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var bt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
@@ -29,8 +29,8 @@ var bt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function N() {
|
|
31
31
|
}
|
|
32
|
-
const
|
|
33
|
-
function
|
|
32
|
+
const Dr = (e) => e;
|
|
33
|
+
function Fr(e, t) {
|
|
34
34
|
for (const r in t)
|
|
35
35
|
e[r] = t[r];
|
|
36
36
|
return (
|
|
@@ -53,7 +53,7 @@ function He(e) {
|
|
|
53
53
|
function Wt(e, t) {
|
|
54
54
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
function
|
|
56
|
+
function jr(e) {
|
|
57
57
|
return Object.keys(e).length === 0;
|
|
58
58
|
}
|
|
59
59
|
function Zt(e, ...t) {
|
|
@@ -65,19 +65,19 @@ function Zt(e, ...t) {
|
|
|
65
65
|
const r = e.subscribe(...t);
|
|
66
66
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function kr(e, t, r) {
|
|
69
69
|
e.$$.on_destroy.push(Zt(t, r));
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Vr(e, t, r, n) {
|
|
72
72
|
if (e) {
|
|
73
73
|
const i = Qt(e, t, r, n);
|
|
74
74
|
return e[0](i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
function Qt(e, t, r, n) {
|
|
78
|
-
return e[1] && n ?
|
|
78
|
+
return e[1] && n ? Fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Xr(e, t, r, n) {
|
|
81
81
|
if (e[2] && n) {
|
|
82
82
|
const i = e[2](n(r));
|
|
83
83
|
if (t.dirty === void 0)
|
|
@@ -92,13 +92,13 @@ function Vr(e, t, r, n) {
|
|
|
92
92
|
}
|
|
93
93
|
return t.dirty;
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function zr(e, t, r, n, i, o) {
|
|
96
96
|
if (i) {
|
|
97
97
|
const s = Qt(t, r, n, o);
|
|
98
98
|
e.p(s, i);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function Wr(e) {
|
|
102
102
|
if (e.ctx.length > 32) {
|
|
103
103
|
const t = [], r = e.ctx.length / 32;
|
|
104
104
|
for (let n = 0; n < r; n++)
|
|
@@ -108,14 +108,14 @@ function zr(e) {
|
|
|
108
108
|
return -1;
|
|
109
109
|
}
|
|
110
110
|
const Jt = typeof window != "undefined";
|
|
111
|
-
let
|
|
111
|
+
let Zr = Jt ? () => window.performance.now() : () => Date.now(), at = Jt ? (e) => requestAnimationFrame(e) : N;
|
|
112
112
|
const z = /* @__PURE__ */ new Set();
|
|
113
113
|
function qt(e) {
|
|
114
114
|
z.forEach((t) => {
|
|
115
115
|
t.c(e) || (z.delete(t), t.f());
|
|
116
116
|
}), z.size !== 0 && at(qt);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Qr(e) {
|
|
119
119
|
let t;
|
|
120
120
|
return z.size === 0 && at(qt), {
|
|
121
121
|
promise: new Promise((r) => {
|
|
@@ -129,7 +129,7 @@ function Zr(e) {
|
|
|
129
129
|
function C(e, t) {
|
|
130
130
|
e.appendChild(t);
|
|
131
131
|
}
|
|
132
|
-
function
|
|
132
|
+
function Jr(e, t, r) {
|
|
133
133
|
const n = ut(e);
|
|
134
134
|
if (!n.getElementById(t)) {
|
|
135
135
|
const i = M("style");
|
|
@@ -146,7 +146,7 @@ function ut(e) {
|
|
|
146
146
|
t
|
|
147
147
|
) : e.ownerDocument;
|
|
148
148
|
}
|
|
149
|
-
function
|
|
149
|
+
function qr(e) {
|
|
150
150
|
const t = M("style");
|
|
151
151
|
return t.textContent = "/* empty */", Yt(ut(e), t), t.sheet;
|
|
152
152
|
}
|
|
@@ -163,7 +163,7 @@ function ae(e, t, r) {
|
|
|
163
163
|
function D(e) {
|
|
164
164
|
e.parentNode && e.parentNode.removeChild(e);
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Ro(e, t) {
|
|
167
167
|
for (let r = 0; r < e.length; r += 1)
|
|
168
168
|
e[r] && e[r].d(t);
|
|
169
169
|
}
|
|
@@ -185,27 +185,27 @@ function $o() {
|
|
|
185
185
|
function ke(e, t, r, n) {
|
|
186
186
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function A(e, t, r) {
|
|
189
189
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function Go(e, t, r) {
|
|
192
192
|
const n = t.toLowerCase();
|
|
193
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
193
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : A(e, t, r);
|
|
194
194
|
}
|
|
195
|
-
function
|
|
195
|
+
function Yr(e) {
|
|
196
196
|
return Array.from(e.childNodes);
|
|
197
197
|
}
|
|
198
198
|
function lt(e, t) {
|
|
199
199
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
200
200
|
t);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function Uo(e, t, r) {
|
|
203
203
|
e.classList.toggle(t, !!r);
|
|
204
204
|
}
|
|
205
|
-
function
|
|
205
|
+
function Kr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
206
206
|
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
207
207
|
}
|
|
208
|
-
function
|
|
208
|
+
function en(e) {
|
|
209
209
|
const t = {};
|
|
210
210
|
return e.childNodes.forEach(
|
|
211
211
|
/** @param {Element} node */
|
|
@@ -216,39 +216,39 @@ function Kr(e) {
|
|
|
216
216
|
}
|
|
217
217
|
const _e = /* @__PURE__ */ new Map();
|
|
218
218
|
let xe = 0;
|
|
219
|
-
function
|
|
219
|
+
function tn(e) {
|
|
220
220
|
let t = 5381, r = e.length;
|
|
221
221
|
for (; r--; )
|
|
222
222
|
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
223
223
|
return t >>> 0;
|
|
224
224
|
}
|
|
225
|
-
function
|
|
226
|
-
const r = { stylesheet:
|
|
225
|
+
function rn(e, t) {
|
|
226
|
+
const r = { stylesheet: qr(t), rules: {} };
|
|
227
227
|
return _e.set(e, r), r;
|
|
228
228
|
}
|
|
229
229
|
function vt(e, t, r, n, i, o, s, a = 0) {
|
|
230
230
|
const l = 16.666 / n;
|
|
231
231
|
let u = `{
|
|
232
232
|
`;
|
|
233
|
-
for (let
|
|
234
|
-
const
|
|
235
|
-
u +=
|
|
233
|
+
for (let x = 0; x <= 1; x += l) {
|
|
234
|
+
const E = t + (r - t) * o(x);
|
|
235
|
+
u += x * 100 + `%{${s(E, 1 - E)}}
|
|
236
236
|
`;
|
|
237
237
|
}
|
|
238
238
|
const h = u + `100% {${s(r, 1 - r)}}
|
|
239
|
-
}`, c = `__svelte_${
|
|
239
|
+
}`, c = `__svelte_${tn(h)}_${a}`, f = ut(e), { stylesheet: p, rules: m } = _e.get(f) || rn(f, e);
|
|
240
240
|
m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
241
241
|
const d = e.style.animation || "";
|
|
242
242
|
return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function nn(e, t) {
|
|
245
245
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
246
246
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
247
247
|
// remove all Svelte animations
|
|
248
248
|
), i = r.length - n.length;
|
|
249
|
-
i && (e.style.animation = n.join(", "), xe -= i, xe ||
|
|
249
|
+
i && (e.style.animation = n.join(", "), xe -= i, xe || on());
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function on() {
|
|
252
252
|
at(() => {
|
|
253
253
|
xe || (_e.forEach((e) => {
|
|
254
254
|
const { ownerNode: t } = e.stylesheet;
|
|
@@ -260,27 +260,27 @@ let ie;
|
|
|
260
260
|
function ne(e) {
|
|
261
261
|
ie = e;
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function sn() {
|
|
264
264
|
if (!ie)
|
|
265
265
|
throw new Error("Function called outside component initialization");
|
|
266
266
|
return ie;
|
|
267
267
|
}
|
|
268
|
-
function
|
|
269
|
-
|
|
268
|
+
function an(e) {
|
|
269
|
+
sn().$$.on_mount.push(e);
|
|
270
270
|
}
|
|
271
271
|
const X = [], Ve = [];
|
|
272
272
|
let W = [];
|
|
273
|
-
const _t = [],
|
|
273
|
+
const _t = [], un = /* @__PURE__ */ Promise.resolve();
|
|
274
274
|
let Xe = !1;
|
|
275
|
-
function
|
|
276
|
-
Xe || (Xe = !0,
|
|
275
|
+
function ln() {
|
|
276
|
+
Xe || (Xe = !0, un.then(O));
|
|
277
277
|
}
|
|
278
278
|
function Ee(e) {
|
|
279
279
|
W.push(e);
|
|
280
280
|
}
|
|
281
281
|
const Ne = /* @__PURE__ */ new Set();
|
|
282
282
|
let k = 0;
|
|
283
|
-
function
|
|
283
|
+
function O() {
|
|
284
284
|
if (k !== 0)
|
|
285
285
|
return;
|
|
286
286
|
const e = ie;
|
|
@@ -288,7 +288,7 @@ function I() {
|
|
|
288
288
|
try {
|
|
289
289
|
for (; k < X.length; ) {
|
|
290
290
|
const t = X[k];
|
|
291
|
-
k++, ne(t),
|
|
291
|
+
k++, ne(t), hn(t.$$);
|
|
292
292
|
}
|
|
293
293
|
} catch (t) {
|
|
294
294
|
throw X.length = 0, k = 0, t;
|
|
@@ -305,67 +305,67 @@ function I() {
|
|
|
305
305
|
_t.pop()();
|
|
306
306
|
Xe = !1, Ne.clear(), ne(e);
|
|
307
307
|
}
|
|
308
|
-
function
|
|
308
|
+
function hn(e) {
|
|
309
309
|
if (e.fragment !== null) {
|
|
310
310
|
e.update(), U(e.before_update);
|
|
311
311
|
const t = e.dirty;
|
|
312
312
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
|
-
function
|
|
315
|
+
function cn(e) {
|
|
316
316
|
const t = [], r = [];
|
|
317
317
|
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
318
318
|
}
|
|
319
319
|
let te;
|
|
320
|
-
function
|
|
320
|
+
function fn() {
|
|
321
321
|
return te || (te = Promise.resolve(), te.then(() => {
|
|
322
322
|
te = null;
|
|
323
323
|
})), te;
|
|
324
324
|
}
|
|
325
325
|
function Le(e, t, r) {
|
|
326
|
-
e.dispatchEvent(
|
|
326
|
+
e.dispatchEvent(Kr(`${t ? "intro" : "outro"}${r}`));
|
|
327
327
|
}
|
|
328
328
|
const de = /* @__PURE__ */ new Set();
|
|
329
|
-
let
|
|
330
|
-
function
|
|
331
|
-
|
|
329
|
+
let R;
|
|
330
|
+
function Do() {
|
|
331
|
+
R = {
|
|
332
332
|
r: 0,
|
|
333
333
|
c: [],
|
|
334
|
-
p:
|
|
334
|
+
p: R
|
|
335
335
|
// parent group
|
|
336
336
|
};
|
|
337
337
|
}
|
|
338
|
-
function
|
|
339
|
-
|
|
338
|
+
function Fo() {
|
|
339
|
+
R.r || U(R.c), R = R.p;
|
|
340
340
|
}
|
|
341
341
|
function Kt(e, t) {
|
|
342
342
|
e && e.i && (de.delete(e), e.i(t));
|
|
343
343
|
}
|
|
344
|
-
function
|
|
344
|
+
function mn(e, t, r, n) {
|
|
345
345
|
if (e && e.o) {
|
|
346
346
|
if (de.has(e))
|
|
347
347
|
return;
|
|
348
|
-
de.add(e),
|
|
348
|
+
de.add(e), R.c.push(() => {
|
|
349
349
|
de.delete(e), n && (r && e.d(1), n());
|
|
350
350
|
}), e.o(t);
|
|
351
351
|
} else
|
|
352
352
|
n && n();
|
|
353
353
|
}
|
|
354
|
-
const
|
|
355
|
-
function
|
|
354
|
+
const pn = { duration: 0 };
|
|
355
|
+
function jo(e, t, r, n) {
|
|
356
356
|
let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, l = null, u = null, h;
|
|
357
357
|
function c() {
|
|
358
|
-
u &&
|
|
358
|
+
u && nn(e, u);
|
|
359
359
|
}
|
|
360
360
|
function f(m, d) {
|
|
361
|
-
const
|
|
361
|
+
const x = (
|
|
362
362
|
/** @type {Program['d']} */
|
|
363
363
|
m.b - s
|
|
364
364
|
);
|
|
365
|
-
return d *= Math.abs(
|
|
365
|
+
return d *= Math.abs(x), {
|
|
366
366
|
a: s,
|
|
367
367
|
b: m.b,
|
|
368
|
-
d:
|
|
368
|
+
d: x,
|
|
369
369
|
duration: d,
|
|
370
370
|
start: m.start,
|
|
371
371
|
end: m.start + d,
|
|
@@ -375,30 +375,30 @@ function Fo(e, t, r, n) {
|
|
|
375
375
|
function p(m) {
|
|
376
376
|
const {
|
|
377
377
|
delay: d = 0,
|
|
378
|
-
duration:
|
|
379
|
-
easing:
|
|
380
|
-
tick:
|
|
381
|
-
css:
|
|
382
|
-
} = o ||
|
|
383
|
-
start:
|
|
378
|
+
duration: x = 300,
|
|
379
|
+
easing: E = Dr,
|
|
380
|
+
tick: H = N,
|
|
381
|
+
css: _
|
|
382
|
+
} = o || pn, S = {
|
|
383
|
+
start: Zr() + d,
|
|
384
384
|
b: m
|
|
385
385
|
};
|
|
386
|
-
m || (
|
|
387
|
-
e.inert, e.inert = !0)), a || l ? l =
|
|
388
|
-
if (l && b > l.start && (a = f(l,
|
|
386
|
+
m || (S.group = R, R.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
387
|
+
e.inert, e.inert = !0)), a || l ? l = S : (_ && (c(), u = vt(e, s, m, x, d, E, _)), m && H(0, 1), a = f(S, x), Ee(() => Le(e, m, "start")), Qr((b) => {
|
|
388
|
+
if (l && b > l.start && (a = f(l, x), l = null, Le(e, a.b, "start"), _ && (c(), u = vt(
|
|
389
389
|
e,
|
|
390
390
|
s,
|
|
391
391
|
a.b,
|
|
392
392
|
a.duration,
|
|
393
393
|
0,
|
|
394
|
-
|
|
394
|
+
E,
|
|
395
395
|
o.css
|
|
396
396
|
))), a) {
|
|
397
397
|
if (b >= a.end)
|
|
398
|
-
|
|
398
|
+
H(s = a.b, 1 - s), Le(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
|
|
399
399
|
else if (b >= a.start) {
|
|
400
400
|
const B = b - a.start;
|
|
401
|
-
s = a.a + a.d *
|
|
401
|
+
s = a.a + a.d * E(B / a.duration), H(s, 1 - s);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
return !!(a || l);
|
|
@@ -406,7 +406,7 @@ function Fo(e, t, r, n) {
|
|
|
406
406
|
}
|
|
407
407
|
return {
|
|
408
408
|
run(m) {
|
|
409
|
-
He(o) ?
|
|
409
|
+
He(o) ? fn().then(() => {
|
|
410
410
|
o = o({ direction: m ? "in" : "out" }), p(m);
|
|
411
411
|
}) : p(m);
|
|
412
412
|
},
|
|
@@ -415,24 +415,24 @@ function Fo(e, t, r, n) {
|
|
|
415
415
|
}
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function ko(e) {
|
|
419
419
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
420
420
|
}
|
|
421
|
-
function
|
|
421
|
+
function dn(e, t, r) {
|
|
422
422
|
const { fragment: n, after_update: i } = e.$$;
|
|
423
423
|
n && n.m(t, r), Ee(() => {
|
|
424
424
|
const o = e.$$.on_mount.map(zt).filter(He);
|
|
425
425
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
|
|
426
426
|
}), i.forEach(Ee);
|
|
427
427
|
}
|
|
428
|
-
function
|
|
428
|
+
function bn(e, t) {
|
|
429
429
|
const r = e.$$;
|
|
430
|
-
r.fragment !== null && (
|
|
430
|
+
r.fragment !== null && (cn(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
431
431
|
}
|
|
432
|
-
function
|
|
433
|
-
e.$$.dirty[0] === -1 && (X.push(e),
|
|
432
|
+
function gn(e, t) {
|
|
433
|
+
e.$$.dirty[0] === -1 && (X.push(e), ln(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
434
434
|
}
|
|
435
|
-
function
|
|
435
|
+
function yn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
436
436
|
const l = ie;
|
|
437
437
|
ne(e);
|
|
438
438
|
const u = e.$$ = {
|
|
@@ -460,14 +460,14 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
460
460
|
let h = !1;
|
|
461
461
|
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
462
462
|
const m = p.length ? p[0] : f;
|
|
463
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h &&
|
|
463
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && gn(e, c)), f;
|
|
464
464
|
}) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
465
465
|
if (t.hydrate) {
|
|
466
|
-
const c =
|
|
466
|
+
const c = Yr(t.target);
|
|
467
467
|
u.fragment && u.fragment.l(c), c.forEach(D);
|
|
468
468
|
} else
|
|
469
469
|
u.fragment && u.fragment.c();
|
|
470
|
-
t.intro && Kt(e.$$.fragment),
|
|
470
|
+
t.intro && Kt(e.$$.fragment), dn(e, t.target, t.anchor), O();
|
|
471
471
|
}
|
|
472
472
|
ne(l);
|
|
473
473
|
}
|
|
@@ -476,23 +476,23 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
476
476
|
constructor(t, r, n) {
|
|
477
477
|
super();
|
|
478
478
|
/** The Svelte component constructor */
|
|
479
|
-
|
|
479
|
+
I(this, "$$ctor");
|
|
480
480
|
/** Slots */
|
|
481
|
-
|
|
481
|
+
I(this, "$$s");
|
|
482
482
|
/** The Svelte component instance */
|
|
483
|
-
|
|
483
|
+
I(this, "$$c");
|
|
484
484
|
/** Whether or not the custom element is connected */
|
|
485
|
-
|
|
485
|
+
I(this, "$$cn", !1);
|
|
486
486
|
/** Component props data */
|
|
487
|
-
|
|
487
|
+
I(this, "$$d", {});
|
|
488
488
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
489
|
-
|
|
489
|
+
I(this, "$$r", !1);
|
|
490
490
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
491
|
-
|
|
491
|
+
I(this, "$$p_d", {});
|
|
492
492
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
493
|
-
|
|
493
|
+
I(this, "$$l", {});
|
|
494
494
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
495
|
-
|
|
495
|
+
I(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
496
496
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
497
497
|
}
|
|
498
498
|
addEventListener(t, r, n) {
|
|
@@ -516,7 +516,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
516
516
|
let s;
|
|
517
517
|
return {
|
|
518
518
|
c: function() {
|
|
519
|
-
s = M("slot"), o !== "default" &&
|
|
519
|
+
s = M("slot"), o !== "default" && A(s, "name", o);
|
|
520
520
|
},
|
|
521
521
|
/**
|
|
522
522
|
* @param {HTMLElement} target
|
|
@@ -533,7 +533,7 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
533
533
|
};
|
|
534
534
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
535
535
|
return;
|
|
536
|
-
const r = {}, n =
|
|
536
|
+
const r = {}, n = en(this);
|
|
537
537
|
for (const o of this.$$s)
|
|
538
538
|
o in n && (r[o] = [t(o)]);
|
|
539
539
|
for (const o of this.attributes) {
|
|
@@ -622,7 +622,7 @@ function be(e, t, r, n) {
|
|
|
622
622
|
return t;
|
|
623
623
|
}
|
|
624
624
|
}
|
|
625
|
-
function
|
|
625
|
+
function vn(e, t, r, n, i, o) {
|
|
626
626
|
let s = class extends er {
|
|
627
627
|
constructor() {
|
|
628
628
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -653,7 +653,7 @@ function yn(e, t, r, n, i, o) {
|
|
|
653
653
|
}), e.element = /** @type {any} */
|
|
654
654
|
s, s;
|
|
655
655
|
}
|
|
656
|
-
class
|
|
656
|
+
class _n {
|
|
657
657
|
constructor() {
|
|
658
658
|
/**
|
|
659
659
|
* ### PRIVATE API
|
|
@@ -662,7 +662,7 @@ class vn {
|
|
|
662
662
|
*
|
|
663
663
|
* @type {any}
|
|
664
664
|
*/
|
|
665
|
-
|
|
665
|
+
I(this, "$$");
|
|
666
666
|
/**
|
|
667
667
|
* ### PRIVATE API
|
|
668
668
|
*
|
|
@@ -670,11 +670,11 @@ class vn {
|
|
|
670
670
|
*
|
|
671
671
|
* @type {any}
|
|
672
672
|
*/
|
|
673
|
-
|
|
673
|
+
I(this, "$$set");
|
|
674
674
|
}
|
|
675
675
|
/** @returns {void} */
|
|
676
676
|
$destroy() {
|
|
677
|
-
|
|
677
|
+
bn(this, 1), this.$destroy = N;
|
|
678
678
|
}
|
|
679
679
|
/**
|
|
680
680
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -696,11 +696,11 @@ class vn {
|
|
|
696
696
|
* @returns {void}
|
|
697
697
|
*/
|
|
698
698
|
$set(t) {
|
|
699
|
-
this.$$set && !
|
|
699
|
+
this.$$set && !jr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
700
700
|
}
|
|
701
701
|
}
|
|
702
|
-
const
|
|
703
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
702
|
+
const xn = "4";
|
|
703
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xn);
|
|
704
704
|
/*! *****************************************************************************
|
|
705
705
|
Copyright (c) Microsoft Corporation.
|
|
706
706
|
|
|
@@ -770,7 +770,7 @@ function Qe(e, t, r) {
|
|
|
770
770
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
771
771
|
return e.concat(o || t);
|
|
772
772
|
}
|
|
773
|
-
function
|
|
773
|
+
function $(e) {
|
|
774
774
|
return typeof e == "function";
|
|
775
775
|
}
|
|
776
776
|
function tr(e) {
|
|
@@ -779,7 +779,7 @@ function tr(e) {
|
|
|
779
779
|
}, r = e(t);
|
|
780
780
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
781
781
|
}
|
|
782
|
-
var
|
|
782
|
+
var Re = tr(function(e) {
|
|
783
783
|
return function(r) {
|
|
784
784
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
785
785
|
` + r.map(function(n, i) {
|
|
@@ -823,11 +823,11 @@ var Ae = function() {
|
|
|
823
823
|
else
|
|
824
824
|
s.remove(this);
|
|
825
825
|
var h = this.initialTeardown;
|
|
826
|
-
if (
|
|
826
|
+
if ($(h))
|
|
827
827
|
try {
|
|
828
828
|
h();
|
|
829
829
|
} catch (d) {
|
|
830
|
-
o = d instanceof
|
|
830
|
+
o = d instanceof Re ? d.errors : [d];
|
|
831
831
|
}
|
|
832
832
|
var c = this._finalizers;
|
|
833
833
|
if (c) {
|
|
@@ -838,7 +838,7 @@ var Ae = function() {
|
|
|
838
838
|
try {
|
|
839
839
|
xt(m);
|
|
840
840
|
} catch (d) {
|
|
841
|
-
o = o != null ? o : [], d instanceof
|
|
841
|
+
o = o != null ? o : [], d instanceof Re ? o = Qe(Qe([], Ze(o)), Ze(d.errors)) : o.push(d);
|
|
842
842
|
}
|
|
843
843
|
}
|
|
844
844
|
} catch (d) {
|
|
@@ -853,7 +853,7 @@ var Ae = function() {
|
|
|
853
853
|
}
|
|
854
854
|
}
|
|
855
855
|
if (o)
|
|
856
|
-
throw new
|
|
856
|
+
throw new Re(o);
|
|
857
857
|
}
|
|
858
858
|
}, e.prototype.add = function(t) {
|
|
859
859
|
var r;
|
|
@@ -886,14 +886,14 @@ var Ae = function() {
|
|
|
886
886
|
}(), e;
|
|
887
887
|
}(), rr = Ae.EMPTY;
|
|
888
888
|
function nr(e) {
|
|
889
|
-
return e instanceof Ae || e && "closed" in e &&
|
|
889
|
+
return e instanceof Ae || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
890
890
|
}
|
|
891
891
|
function xt(e) {
|
|
892
|
-
|
|
892
|
+
$(e) ? e() : e.unsubscribe();
|
|
893
893
|
}
|
|
894
|
-
var
|
|
894
|
+
var En = {
|
|
895
895
|
Promise: void 0
|
|
896
|
-
},
|
|
896
|
+
}, Sn = {
|
|
897
897
|
setTimeout: function(e, t) {
|
|
898
898
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
899
899
|
r[n - 2] = arguments[n];
|
|
@@ -904,8 +904,8 @@ var xn = {
|
|
|
904
904
|
},
|
|
905
905
|
delegate: void 0
|
|
906
906
|
};
|
|
907
|
-
function
|
|
908
|
-
|
|
907
|
+
function wn(e) {
|
|
908
|
+
Sn.setTimeout(function() {
|
|
909
909
|
throw e;
|
|
910
910
|
});
|
|
911
911
|
}
|
|
@@ -918,7 +918,7 @@ var ir = function(e) {
|
|
|
918
918
|
le(t, e);
|
|
919
919
|
function t(r) {
|
|
920
920
|
var n = e.call(this) || this;
|
|
921
|
-
return n.isStopped = !1, r ? (n.destination = r, nr(r) && r.add(n)) : n.destination =
|
|
921
|
+
return n.isStopped = !1, r ? (n.destination = r, nr(r) && r.add(n)) : n.destination = An, n;
|
|
922
922
|
}
|
|
923
923
|
return t.create = function(r, n, i) {
|
|
924
924
|
return new qe(r, n, i);
|
|
@@ -945,7 +945,7 @@ var ir = function(e) {
|
|
|
945
945
|
this.unsubscribe();
|
|
946
946
|
}
|
|
947
947
|
}, t;
|
|
948
|
-
}(Ae),
|
|
948
|
+
}(Ae), Tn = function() {
|
|
949
949
|
function e(t) {
|
|
950
950
|
this.partialObserver = t;
|
|
951
951
|
}
|
|
@@ -980,33 +980,33 @@ var ir = function(e) {
|
|
|
980
980
|
le(t, e);
|
|
981
981
|
function t(r, n, i) {
|
|
982
982
|
var o = e.call(this) || this, s;
|
|
983
|
-
return
|
|
983
|
+
return $(r) || !r ? s = {
|
|
984
984
|
next: r != null ? r : void 0,
|
|
985
985
|
error: n != null ? n : void 0,
|
|
986
986
|
complete: i != null ? i : void 0
|
|
987
|
-
} : s = r, o.destination = new
|
|
987
|
+
} : s = r, o.destination = new Tn(s), o;
|
|
988
988
|
}
|
|
989
989
|
return t;
|
|
990
990
|
}(ir);
|
|
991
991
|
function me(e) {
|
|
992
|
-
|
|
992
|
+
wn(e);
|
|
993
993
|
}
|
|
994
|
-
function
|
|
994
|
+
function Hn(e) {
|
|
995
995
|
throw e;
|
|
996
996
|
}
|
|
997
|
-
var
|
|
997
|
+
var An = {
|
|
998
998
|
closed: !0,
|
|
999
999
|
next: Et,
|
|
1000
|
-
error:
|
|
1000
|
+
error: Hn,
|
|
1001
1001
|
complete: Et
|
|
1002
|
-
},
|
|
1002
|
+
}, Bn = function() {
|
|
1003
1003
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1004
1004
|
}();
|
|
1005
|
-
function
|
|
1005
|
+
function Cn(e) {
|
|
1006
1006
|
return e;
|
|
1007
1007
|
}
|
|
1008
|
-
function
|
|
1009
|
-
return e.length === 0 ?
|
|
1008
|
+
function Pn(e) {
|
|
1009
|
+
return e.length === 0 ? Cn : e.length === 1 ? e[0] : function(r) {
|
|
1010
1010
|
return e.reduce(function(n, i) {
|
|
1011
1011
|
return i(n);
|
|
1012
1012
|
}, r);
|
|
@@ -1020,7 +1020,7 @@ var St = function() {
|
|
|
1020
1020
|
var r = new e();
|
|
1021
1021
|
return r.source = this, r.operator = t, r;
|
|
1022
1022
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1023
|
-
var i = this, o =
|
|
1023
|
+
var i = this, o = In(t) ? t : new qe(t, r, n);
|
|
1024
1024
|
return ge(function() {
|
|
1025
1025
|
var s = i, a = s.operator, l = s.source;
|
|
1026
1026
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1050,12 +1050,12 @@ var St = function() {
|
|
|
1050
1050
|
}, e.prototype._subscribe = function(t) {
|
|
1051
1051
|
var r;
|
|
1052
1052
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1053
|
-
}, e.prototype[
|
|
1053
|
+
}, e.prototype[Bn] = function() {
|
|
1054
1054
|
return this;
|
|
1055
1055
|
}, e.prototype.pipe = function() {
|
|
1056
1056
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1057
1057
|
t[r] = arguments[r];
|
|
1058
|
-
return
|
|
1058
|
+
return Pn(t)(this);
|
|
1059
1059
|
}, e.prototype.toPromise = function(t) {
|
|
1060
1060
|
var r = this;
|
|
1061
1061
|
return t = wt(t), new t(function(n, i) {
|
|
@@ -1074,15 +1074,15 @@ var St = function() {
|
|
|
1074
1074
|
}();
|
|
1075
1075
|
function wt(e) {
|
|
1076
1076
|
var t;
|
|
1077
|
-
return (t = e != null ? e :
|
|
1078
|
-
}
|
|
1079
|
-
function Pn(e) {
|
|
1080
|
-
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
1077
|
+
return (t = e != null ? e : En.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1081
1078
|
}
|
|
1082
1079
|
function On(e) {
|
|
1083
|
-
return e && e
|
|
1080
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
1081
|
+
}
|
|
1082
|
+
function In(e) {
|
|
1083
|
+
return e && e instanceof ir || On(e) && nr(e);
|
|
1084
1084
|
}
|
|
1085
|
-
var
|
|
1085
|
+
var Mn = tr(function(e) {
|
|
1086
1086
|
return function() {
|
|
1087
1087
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1088
1088
|
};
|
|
@@ -1097,7 +1097,7 @@ var In = tr(function(e) {
|
|
|
1097
1097
|
return n.operator = r, n;
|
|
1098
1098
|
}, t.prototype._throwIfClosed = function() {
|
|
1099
1099
|
if (this.closed)
|
|
1100
|
-
throw new
|
|
1100
|
+
throw new Mn();
|
|
1101
1101
|
}, t.prototype.next = function(r) {
|
|
1102
1102
|
var n = this;
|
|
1103
1103
|
ge(function() {
|
|
@@ -1190,7 +1190,7 @@ var In = tr(function(e) {
|
|
|
1190
1190
|
return (sr.delegate || Date).now();
|
|
1191
1191
|
},
|
|
1192
1192
|
delegate: void 0
|
|
1193
|
-
},
|
|
1193
|
+
}, Nn = function(e) {
|
|
1194
1194
|
le(t, e);
|
|
1195
1195
|
function t(r, n, i) {
|
|
1196
1196
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
|
|
@@ -1214,14 +1214,14 @@ var In = tr(function(e) {
|
|
|
1214
1214
|
}
|
|
1215
1215
|
}, t;
|
|
1216
1216
|
}(or);
|
|
1217
|
-
const Ht = [], At = {},
|
|
1217
|
+
const Ht = [], At = {}, Ln = (e, t = 0) => {
|
|
1218
1218
|
if (Ht.indexOf(e) == -1) {
|
|
1219
|
-
const r = new
|
|
1219
|
+
const r = new Nn(t);
|
|
1220
1220
|
At[e] = r, Ht.push(e);
|
|
1221
1221
|
}
|
|
1222
1222
|
return At[e];
|
|
1223
1223
|
}, V = [];
|
|
1224
|
-
function
|
|
1224
|
+
function Rn(e, t) {
|
|
1225
1225
|
return {
|
|
1226
1226
|
subscribe: Be(e, t).subscribe
|
|
1227
1227
|
};
|
|
@@ -1257,7 +1257,7 @@ function Y(e, t, r) {
|
|
|
1257
1257
|
if (!i.every(Boolean))
|
|
1258
1258
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1259
1259
|
const o = t.length < 2;
|
|
1260
|
-
return
|
|
1260
|
+
return Rn(r, (s, a) => {
|
|
1261
1261
|
let l = !1;
|
|
1262
1262
|
const u = [];
|
|
1263
1263
|
let h = 0, c = N;
|
|
@@ -1270,8 +1270,8 @@ function Y(e, t, r) {
|
|
|
1270
1270
|
}, p = i.map(
|
|
1271
1271
|
(m, d) => Zt(
|
|
1272
1272
|
m,
|
|
1273
|
-
(
|
|
1274
|
-
u[d] =
|
|
1273
|
+
(x) => {
|
|
1274
|
+
u[d] = x, h &= ~(1 << d), l && f();
|
|
1275
1275
|
},
|
|
1276
1276
|
() => {
|
|
1277
1277
|
h |= 1 << d;
|
|
@@ -1283,48 +1283,48 @@ function Y(e, t, r) {
|
|
|
1283
1283
|
};
|
|
1284
1284
|
});
|
|
1285
1285
|
}
|
|
1286
|
-
var
|
|
1286
|
+
var Vo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
1287
1287
|
function $n(e) {
|
|
1288
1288
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1289
1289
|
}
|
|
1290
|
-
var
|
|
1291
|
-
return
|
|
1290
|
+
var Gn = function(t) {
|
|
1291
|
+
return Un(t) && !Dn(t);
|
|
1292
1292
|
};
|
|
1293
|
-
function
|
|
1293
|
+
function Un(e) {
|
|
1294
1294
|
return !!e && typeof e == "object";
|
|
1295
1295
|
}
|
|
1296
|
-
function
|
|
1296
|
+
function Dn(e) {
|
|
1297
1297
|
var t = Object.prototype.toString.call(e);
|
|
1298
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1299
|
-
}
|
|
1300
|
-
var Dn = typeof Symbol == "function" && Symbol.for, Fn = Dn ? Symbol.for("react.element") : 60103;
|
|
1301
|
-
function jn(e) {
|
|
1302
|
-
return e.$$typeof === Fn;
|
|
1298
|
+
return t === "[object RegExp]" || t === "[object Date]" || kn(e);
|
|
1303
1299
|
}
|
|
1300
|
+
var Fn = typeof Symbol == "function" && Symbol.for, jn = Fn ? Symbol.for("react.element") : 60103;
|
|
1304
1301
|
function kn(e) {
|
|
1302
|
+
return e.$$typeof === jn;
|
|
1303
|
+
}
|
|
1304
|
+
function Vn(e) {
|
|
1305
1305
|
return Array.isArray(e) ? [] : {};
|
|
1306
1306
|
}
|
|
1307
1307
|
function oe(e, t) {
|
|
1308
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? Z(
|
|
1308
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(Vn(e), e, t) : e;
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1310
|
+
function Xn(e, t, r) {
|
|
1311
1311
|
return e.concat(t).map(function(n) {
|
|
1312
1312
|
return oe(n, r);
|
|
1313
1313
|
});
|
|
1314
1314
|
}
|
|
1315
|
-
function
|
|
1315
|
+
function zn(e, t) {
|
|
1316
1316
|
if (!t.customMerge)
|
|
1317
1317
|
return Z;
|
|
1318
1318
|
var r = t.customMerge(e);
|
|
1319
1319
|
return typeof r == "function" ? r : Z;
|
|
1320
1320
|
}
|
|
1321
|
-
function
|
|
1321
|
+
function Wn(e) {
|
|
1322
1322
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1323
1323
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1324
1324
|
}) : [];
|
|
1325
1325
|
}
|
|
1326
1326
|
function Bt(e) {
|
|
1327
|
-
return Object.keys(e).concat(
|
|
1327
|
+
return Object.keys(e).concat(Wn(e));
|
|
1328
1328
|
}
|
|
1329
1329
|
function ar(e, t) {
|
|
1330
1330
|
try {
|
|
@@ -1333,21 +1333,21 @@ function ar(e, t) {
|
|
|
1333
1333
|
return !1;
|
|
1334
1334
|
}
|
|
1335
1335
|
}
|
|
1336
|
-
function
|
|
1336
|
+
function Zn(e, t) {
|
|
1337
1337
|
return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1338
1338
|
}
|
|
1339
|
-
function
|
|
1339
|
+
function Qn(e, t, r) {
|
|
1340
1340
|
var n = {};
|
|
1341
1341
|
return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
|
|
1342
1342
|
n[i] = oe(e[i], r);
|
|
1343
1343
|
}), Bt(t).forEach(function(i) {
|
|
1344
|
-
|
|
1344
|
+
Zn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = zn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1345
1345
|
}), n;
|
|
1346
1346
|
}
|
|
1347
1347
|
function Z(e, t, r) {
|
|
1348
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1348
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Xn, r.isMergeableObject = r.isMergeableObject || Gn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1349
1349
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1350
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1350
|
+
return o ? n ? r.arrayMerge(e, t, r) : Qn(e, t, r) : oe(t, r);
|
|
1351
1351
|
}
|
|
1352
1352
|
Z.all = function(t, r) {
|
|
1353
1353
|
if (!Array.isArray(t))
|
|
@@ -1356,8 +1356,8 @@ Z.all = function(t, r) {
|
|
|
1356
1356
|
return Z(n, i, r);
|
|
1357
1357
|
}, {});
|
|
1358
1358
|
};
|
|
1359
|
-
var
|
|
1360
|
-
const
|
|
1359
|
+
var Jn = Z, qn = Jn;
|
|
1360
|
+
const Yn = /* @__PURE__ */ $n(qn);
|
|
1361
1361
|
var Ye = function(e, t) {
|
|
1362
1362
|
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1363
1363
|
r.__proto__ = n;
|
|
@@ -1385,7 +1385,7 @@ var L = function() {
|
|
|
1385
1385
|
return t;
|
|
1386
1386
|
}, L.apply(this, arguments);
|
|
1387
1387
|
};
|
|
1388
|
-
function
|
|
1388
|
+
function Kn(e, t) {
|
|
1389
1389
|
var r = {};
|
|
1390
1390
|
for (var n in e)
|
|
1391
1391
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1394,24 +1394,24 @@ function Yn(e, t) {
|
|
|
1394
1394
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1395
1395
|
return r;
|
|
1396
1396
|
}
|
|
1397
|
-
function
|
|
1397
|
+
function $e(e, t, r) {
|
|
1398
1398
|
if (r || arguments.length === 2)
|
|
1399
1399
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1400
1400
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1401
1401
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1402
1402
|
}
|
|
1403
1403
|
function Ge(e, t) {
|
|
1404
|
-
var r = t && t.cache ? t.cache :
|
|
1404
|
+
var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : ii, i = t && t.strategy ? t.strategy : ri;
|
|
1405
1405
|
return i(e, {
|
|
1406
1406
|
cache: r,
|
|
1407
1407
|
serializer: n
|
|
1408
1408
|
});
|
|
1409
1409
|
}
|
|
1410
|
-
function
|
|
1410
|
+
function ei(e) {
|
|
1411
1411
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1412
1412
|
}
|
|
1413
|
-
function
|
|
1414
|
-
var i =
|
|
1413
|
+
function ti(e, t, r, n) {
|
|
1414
|
+
var i = ei(n) ? n : r(n), o = t.get(i);
|
|
1415
1415
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1416
1416
|
}
|
|
1417
1417
|
function ur(e, t, r) {
|
|
@@ -1421,16 +1421,16 @@ function ur(e, t, r) {
|
|
|
1421
1421
|
function lr(e, t, r, n, i) {
|
|
1422
1422
|
return r.bind(t, e, n, i);
|
|
1423
1423
|
}
|
|
1424
|
-
function
|
|
1425
|
-
var r = e.length === 1 ?
|
|
1424
|
+
function ri(e, t) {
|
|
1425
|
+
var r = e.length === 1 ? ti : ur;
|
|
1426
1426
|
return lr(e, this, r, t.cache.create(), t.serializer);
|
|
1427
1427
|
}
|
|
1428
|
-
function
|
|
1428
|
+
function ni(e, t) {
|
|
1429
1429
|
return lr(e, this, ur, t.cache.create(), t.serializer);
|
|
1430
1430
|
}
|
|
1431
|
-
var
|
|
1431
|
+
var ii = function() {
|
|
1432
1432
|
return JSON.stringify(arguments);
|
|
1433
|
-
},
|
|
1433
|
+
}, oi = (
|
|
1434
1434
|
/** @class */
|
|
1435
1435
|
function() {
|
|
1436
1436
|
function e() {
|
|
@@ -1442,12 +1442,12 @@ var ni = function() {
|
|
|
1442
1442
|
this.cache[t] = r;
|
|
1443
1443
|
}, e;
|
|
1444
1444
|
}()
|
|
1445
|
-
),
|
|
1445
|
+
), si = {
|
|
1446
1446
|
create: function() {
|
|
1447
|
-
return new
|
|
1447
|
+
return new oi();
|
|
1448
1448
|
}
|
|
1449
1449
|
}, Ue = {
|
|
1450
|
-
variadic:
|
|
1450
|
+
variadic: ni
|
|
1451
1451
|
}, Se = function() {
|
|
1452
1452
|
return Se = Object.assign || function(t) {
|
|
1453
1453
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
@@ -1462,40 +1462,40 @@ var y;
|
|
|
1462
1462
|
(function(e) {
|
|
1463
1463
|
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";
|
|
1464
1464
|
})(y || (y = {}));
|
|
1465
|
-
var
|
|
1465
|
+
var w;
|
|
1466
1466
|
(function(e) {
|
|
1467
1467
|
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";
|
|
1468
|
-
})(
|
|
1468
|
+
})(w || (w = {}));
|
|
1469
1469
|
var Q;
|
|
1470
1470
|
(function(e) {
|
|
1471
1471
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1472
1472
|
})(Q || (Q = {}));
|
|
1473
1473
|
function Ct(e) {
|
|
1474
|
-
return e.type ===
|
|
1474
|
+
return e.type === w.literal;
|
|
1475
1475
|
}
|
|
1476
|
-
function
|
|
1477
|
-
return e.type ===
|
|
1476
|
+
function ai(e) {
|
|
1477
|
+
return e.type === w.argument;
|
|
1478
1478
|
}
|
|
1479
1479
|
function hr(e) {
|
|
1480
|
-
return e.type ===
|
|
1480
|
+
return e.type === w.number;
|
|
1481
1481
|
}
|
|
1482
1482
|
function cr(e) {
|
|
1483
|
-
return e.type ===
|
|
1483
|
+
return e.type === w.date;
|
|
1484
1484
|
}
|
|
1485
1485
|
function fr(e) {
|
|
1486
|
-
return e.type ===
|
|
1486
|
+
return e.type === w.time;
|
|
1487
1487
|
}
|
|
1488
1488
|
function mr(e) {
|
|
1489
|
-
return e.type ===
|
|
1489
|
+
return e.type === w.select;
|
|
1490
1490
|
}
|
|
1491
1491
|
function pr(e) {
|
|
1492
|
-
return e.type ===
|
|
1492
|
+
return e.type === w.plural;
|
|
1493
1493
|
}
|
|
1494
|
-
function
|
|
1495
|
-
return e.type ===
|
|
1494
|
+
function ui(e) {
|
|
1495
|
+
return e.type === w.pound;
|
|
1496
1496
|
}
|
|
1497
1497
|
function dr(e) {
|
|
1498
|
-
return e.type ===
|
|
1498
|
+
return e.type === w.tag;
|
|
1499
1499
|
}
|
|
1500
1500
|
function br(e) {
|
|
1501
1501
|
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
@@ -1503,10 +1503,10 @@ function br(e) {
|
|
|
1503
1503
|
function Ke(e) {
|
|
1504
1504
|
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1505
1505
|
}
|
|
1506
|
-
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
1507
|
-
function
|
|
1506
|
+
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, li = /(?:[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;
|
|
1507
|
+
function hi(e) {
|
|
1508
1508
|
var t = {};
|
|
1509
|
-
return e.replace(
|
|
1509
|
+
return e.replace(li, function(r) {
|
|
1510
1510
|
var n = r.length;
|
|
1511
1511
|
switch (r[0]) {
|
|
1512
1512
|
case "G":
|
|
@@ -1595,21 +1595,21 @@ function li(e) {
|
|
|
1595
1595
|
return "";
|
|
1596
1596
|
}), t;
|
|
1597
1597
|
}
|
|
1598
|
-
var
|
|
1599
|
-
return
|
|
1598
|
+
var T = function() {
|
|
1599
|
+
return T = Object.assign || function(t) {
|
|
1600
1600
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1601
1601
|
r = arguments[n];
|
|
1602
1602
|
for (var o in r)
|
|
1603
1603
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1604
1604
|
}
|
|
1605
1605
|
return t;
|
|
1606
|
-
},
|
|
1606
|
+
}, T.apply(this, arguments);
|
|
1607
1607
|
};
|
|
1608
|
-
var
|
|
1609
|
-
function
|
|
1608
|
+
var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1609
|
+
function fi(e) {
|
|
1610
1610
|
if (e.length === 0)
|
|
1611
1611
|
throw new Error("Number skeleton cannot be empty");
|
|
1612
|
-
for (var t = e.split(
|
|
1612
|
+
for (var t = e.split(ci).filter(function(f) {
|
|
1613
1613
|
return f.length > 0;
|
|
1614
1614
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1615
1615
|
var o = i[n], s = o.split("/");
|
|
@@ -1624,10 +1624,10 @@ function ci(e) {
|
|
|
1624
1624
|
}
|
|
1625
1625
|
return r;
|
|
1626
1626
|
}
|
|
1627
|
-
function
|
|
1627
|
+
function mi(e) {
|
|
1628
1628
|
return e.replace(/^(.*?)-/, "");
|
|
1629
1629
|
}
|
|
1630
|
-
var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
1630
|
+
var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, pi = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
|
|
1631
1631
|
function Ot(e) {
|
|
1632
1632
|
var t = {};
|
|
1633
1633
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, n, i) {
|
|
@@ -1674,7 +1674,7 @@ function _r(e) {
|
|
|
1674
1674
|
};
|
|
1675
1675
|
}
|
|
1676
1676
|
}
|
|
1677
|
-
function
|
|
1677
|
+
function di(e) {
|
|
1678
1678
|
var t;
|
|
1679
1679
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1680
1680
|
notation: "engineering"
|
|
@@ -1692,7 +1692,7 @@ function It(e) {
|
|
|
1692
1692
|
var t = {}, r = _r(e);
|
|
1693
1693
|
return r || t;
|
|
1694
1694
|
}
|
|
1695
|
-
function
|
|
1695
|
+
function bi(e) {
|
|
1696
1696
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1697
1697
|
var i = n[r];
|
|
1698
1698
|
switch (i.stem) {
|
|
@@ -1716,7 +1716,7 @@ function di(e) {
|
|
|
1716
1716
|
continue;
|
|
1717
1717
|
case "measure-unit":
|
|
1718
1718
|
case "unit":
|
|
1719
|
-
t.style = "unit", t.unit =
|
|
1719
|
+
t.style = "unit", t.unit = mi(i.options[0]);
|
|
1720
1720
|
continue;
|
|
1721
1721
|
case "compact-short":
|
|
1722
1722
|
case "K":
|
|
@@ -1727,13 +1727,13 @@ function di(e) {
|
|
|
1727
1727
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1728
1728
|
continue;
|
|
1729
1729
|
case "scientific":
|
|
1730
|
-
t =
|
|
1731
|
-
return
|
|
1730
|
+
t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1731
|
+
return T(T({}, l), It(u));
|
|
1732
1732
|
}, {}));
|
|
1733
1733
|
continue;
|
|
1734
1734
|
case "engineering":
|
|
1735
|
-
t =
|
|
1736
|
-
return
|
|
1735
|
+
t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1736
|
+
return T(T({}, l), It(u));
|
|
1737
1737
|
}, {}));
|
|
1738
1738
|
continue;
|
|
1739
1739
|
case "notation-simple":
|
|
@@ -1778,7 +1778,7 @@ function di(e) {
|
|
|
1778
1778
|
case "integer-width":
|
|
1779
1779
|
if (i.options.length > 1)
|
|
1780
1780
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1781
|
-
i.options[0].replace(
|
|
1781
|
+
i.options[0].replace(pi, function(l, u, h, c, f, p) {
|
|
1782
1782
|
if (u)
|
|
1783
1783
|
t.minimumIntegerDigits = h.length;
|
|
1784
1784
|
else {
|
|
@@ -1802,17 +1802,17 @@ function di(e) {
|
|
|
1802
1802
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1803
1803
|
});
|
|
1804
1804
|
var o = i.options[0];
|
|
1805
|
-
o === "w" ? t =
|
|
1805
|
+
o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), Ot(o)));
|
|
1806
1806
|
continue;
|
|
1807
1807
|
}
|
|
1808
1808
|
if (yr.test(i.stem)) {
|
|
1809
|
-
t =
|
|
1809
|
+
t = T(T({}, t), Ot(i.stem));
|
|
1810
1810
|
continue;
|
|
1811
1811
|
}
|
|
1812
1812
|
var s = _r(i.stem);
|
|
1813
|
-
s && (t =
|
|
1814
|
-
var a =
|
|
1815
|
-
a && (t =
|
|
1813
|
+
s && (t = T(T({}, t), s));
|
|
1814
|
+
var a = di(i.stem);
|
|
1815
|
+
a && (t = T(T({}, t), a));
|
|
1816
1816
|
}
|
|
1817
1817
|
return t;
|
|
1818
1818
|
}
|
|
@@ -3231,13 +3231,13 @@ var pe = {
|
|
|
3231
3231
|
"h"
|
|
3232
3232
|
]
|
|
3233
3233
|
};
|
|
3234
|
-
function
|
|
3234
|
+
function gi(e, t) {
|
|
3235
3235
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3236
3236
|
var i = e.charAt(n);
|
|
3237
3237
|
if (i === "j") {
|
|
3238
3238
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3239
3239
|
o++, n++;
|
|
3240
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3240
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = yi(t);
|
|
3241
3241
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3242
3242
|
r += l;
|
|
3243
3243
|
for (; s-- > 0; )
|
|
@@ -3247,7 +3247,7 @@ function bi(e, t) {
|
|
|
3247
3247
|
}
|
|
3248
3248
|
return r;
|
|
3249
3249
|
}
|
|
3250
|
-
function
|
|
3250
|
+
function yi(e) {
|
|
3251
3251
|
var t = e.hourCycle;
|
|
3252
3252
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3253
3253
|
e.hourCycles && // @ts-ignore
|
|
@@ -3269,20 +3269,20 @@ function gi(e) {
|
|
|
3269
3269
|
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
|
3270
3270
|
return i[0];
|
|
3271
3271
|
}
|
|
3272
|
-
var De,
|
|
3273
|
-
function
|
|
3272
|
+
var De, vi = new RegExp("^".concat(gr.source, "*")), _i = new RegExp("".concat(gr.source, "*$"));
|
|
3273
|
+
function v(e, t) {
|
|
3274
3274
|
return { start: e, end: t };
|
|
3275
3275
|
}
|
|
3276
|
-
var
|
|
3276
|
+
var xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ei = !!String.fromCodePoint, Si = !!Object.fromEntries, wi = !!String.prototype.codePointAt, Ti = !!String.prototype.trimStart, Hi = !!String.prototype.trimEnd, Ai = !!Number.isSafeInteger, Bi = Ai ? Number.isSafeInteger : function(e) {
|
|
3277
3277
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3278
3278
|
}, et = !0;
|
|
3279
3279
|
try {
|
|
3280
|
-
var
|
|
3281
|
-
et = ((De =
|
|
3280
|
+
var Ci = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3281
|
+
et = ((De = Ci.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
|
3282
3282
|
} catch (e) {
|
|
3283
3283
|
et = !1;
|
|
3284
3284
|
}
|
|
3285
|
-
var Mt =
|
|
3285
|
+
var Mt = xi ? (
|
|
3286
3286
|
// Native
|
|
3287
3287
|
function(t, r, n) {
|
|
3288
3288
|
return t.startsWith(r, n);
|
|
@@ -3292,7 +3292,7 @@ var Mt = _i ? (
|
|
|
3292
3292
|
function(t, r, n) {
|
|
3293
3293
|
return t.slice(n, n + r.length) === r;
|
|
3294
3294
|
}
|
|
3295
|
-
), tt =
|
|
3295
|
+
), tt = Ei ? String.fromCodePoint : (
|
|
3296
3296
|
// IE11
|
|
3297
3297
|
function() {
|
|
3298
3298
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3306,7 +3306,7 @@ var Mt = _i ? (
|
|
|
3306
3306
|
}
|
|
3307
3307
|
), Nt = (
|
|
3308
3308
|
// native
|
|
3309
|
-
|
|
3309
|
+
Si ? Object.fromEntries : (
|
|
3310
3310
|
// Ponyfill
|
|
3311
3311
|
function(t) {
|
|
3312
3312
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3316,7 +3316,7 @@ var Mt = _i ? (
|
|
|
3316
3316
|
return r;
|
|
3317
3317
|
}
|
|
3318
3318
|
)
|
|
3319
|
-
), xr =
|
|
3319
|
+
), xr = wi ? (
|
|
3320
3320
|
// Native
|
|
3321
3321
|
function(t, r) {
|
|
3322
3322
|
return t.codePointAt(r);
|
|
@@ -3330,7 +3330,7 @@ var Mt = _i ? (
|
|
|
3330
3330
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3331
3331
|
}
|
|
3332
3332
|
}
|
|
3333
|
-
),
|
|
3333
|
+
), Pi = Ti ? (
|
|
3334
3334
|
// Native
|
|
3335
3335
|
function(t) {
|
|
3336
3336
|
return t.trimStart();
|
|
@@ -3338,9 +3338,9 @@ var Mt = _i ? (
|
|
|
3338
3338
|
) : (
|
|
3339
3339
|
// Ponyfill
|
|
3340
3340
|
function(t) {
|
|
3341
|
-
return t.replace(
|
|
3341
|
+
return t.replace(vi, "");
|
|
3342
3342
|
}
|
|
3343
|
-
),
|
|
3343
|
+
), Oi = Hi ? (
|
|
3344
3344
|
// Native
|
|
3345
3345
|
function(t) {
|
|
3346
3346
|
return t.trimEnd();
|
|
@@ -3348,7 +3348,7 @@ var Mt = _i ? (
|
|
|
3348
3348
|
) : (
|
|
3349
3349
|
// Ponyfill
|
|
3350
3350
|
function(t) {
|
|
3351
|
-
return t.replace(
|
|
3351
|
+
return t.replace(_i, "");
|
|
3352
3352
|
}
|
|
3353
3353
|
);
|
|
3354
3354
|
function Er(e, t) {
|
|
@@ -3367,13 +3367,13 @@ if (et) {
|
|
|
3367
3367
|
rt = function(t, r) {
|
|
3368
3368
|
for (var n = []; ; ) {
|
|
3369
3369
|
var i = xr(t, r);
|
|
3370
|
-
if (i === void 0 || Sr(i) ||
|
|
3370
|
+
if (i === void 0 || Sr(i) || Li(i))
|
|
3371
3371
|
break;
|
|
3372
3372
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3373
3373
|
}
|
|
3374
3374
|
return tt.apply(void 0, n);
|
|
3375
3375
|
};
|
|
3376
|
-
var
|
|
3376
|
+
var Ii = (
|
|
3377
3377
|
/** @class */
|
|
3378
3378
|
function() {
|
|
3379
3379
|
function e(t, r) {
|
|
@@ -3397,13 +3397,13 @@ var Oi = (
|
|
|
3397
3397
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3398
3398
|
var a = this.clonePosition();
|
|
3399
3399
|
this.bump(), i.push({
|
|
3400
|
-
type:
|
|
3401
|
-
location:
|
|
3400
|
+
type: w.pound,
|
|
3401
|
+
location: v(a, this.clonePosition())
|
|
3402
3402
|
});
|
|
3403
3403
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3404
3404
|
if (n)
|
|
3405
3405
|
break;
|
|
3406
|
-
return this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3406
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3407
3407
|
} else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
3408
3408
|
var s = this.parseTag(t, r);
|
|
3409
3409
|
if (s.err)
|
|
@@ -3425,9 +3425,9 @@ var Oi = (
|
|
|
3425
3425
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3426
3426
|
return {
|
|
3427
3427
|
val: {
|
|
3428
|
-
type:
|
|
3428
|
+
type: w.literal,
|
|
3429
3429
|
value: "<".concat(i, "/>"),
|
|
3430
|
-
location:
|
|
3430
|
+
location: v(n, this.clonePosition())
|
|
3431
3431
|
},
|
|
3432
3432
|
err: null
|
|
3433
3433
|
};
|
|
@@ -3438,24 +3438,24 @@ var Oi = (
|
|
|
3438
3438
|
var s = o.val, a = this.clonePosition();
|
|
3439
3439
|
if (this.bumpIf("</")) {
|
|
3440
3440
|
if (this.isEOF() || !nt(this.char()))
|
|
3441
|
-
return this.error(y.INVALID_TAG,
|
|
3441
|
+
return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
|
|
3442
3442
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3443
|
-
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG,
|
|
3443
|
+
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3444
3444
|
val: {
|
|
3445
|
-
type:
|
|
3445
|
+
type: w.tag,
|
|
3446
3446
|
value: i,
|
|
3447
3447
|
children: s,
|
|
3448
|
-
location:
|
|
3448
|
+
location: v(n, this.clonePosition())
|
|
3449
3449
|
},
|
|
3450
3450
|
err: null
|
|
3451
|
-
} : this.error(y.INVALID_TAG,
|
|
3451
|
+
} : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
|
|
3452
3452
|
} else
|
|
3453
|
-
return this.error(y.UNCLOSED_TAG,
|
|
3453
|
+
return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
3454
3454
|
} else
|
|
3455
|
-
return this.error(y.INVALID_TAG,
|
|
3455
|
+
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
|
3456
3456
|
}, e.prototype.parseTagName = function() {
|
|
3457
3457
|
var t = this.offset();
|
|
3458
|
-
for (this.bump(); !this.isEOF() &&
|
|
3458
|
+
for (this.bump(); !this.isEOF() && Ni(this.char()); )
|
|
3459
3459
|
this.bump();
|
|
3460
3460
|
return this.message.slice(t, this.offset());
|
|
3461
3461
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3477,14 +3477,14 @@ var Oi = (
|
|
|
3477
3477
|
}
|
|
3478
3478
|
break;
|
|
3479
3479
|
}
|
|
3480
|
-
var l =
|
|
3480
|
+
var l = v(n, this.clonePosition());
|
|
3481
3481
|
return {
|
|
3482
|
-
val: { type:
|
|
3482
|
+
val: { type: w.literal, value: i, location: l },
|
|
3483
3483
|
err: null
|
|
3484
3484
|
};
|
|
3485
3485
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3486
3486
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3487
|
-
!
|
|
3487
|
+
!Mi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3488
3488
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3489
3489
|
if (this.isEOF() || this.char() !== 39)
|
|
3490
3490
|
return null;
|
|
@@ -3527,40 +3527,40 @@ var Oi = (
|
|
|
3527
3527
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3528
3528
|
var n = this.clonePosition();
|
|
3529
3529
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3530
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3530
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3531
3531
|
if (this.char() === 125)
|
|
3532
|
-
return this.bump(), this.error(y.EMPTY_ARGUMENT,
|
|
3532
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
|
3533
3533
|
var i = this.parseIdentifierIfPossible().value;
|
|
3534
3534
|
if (!i)
|
|
3535
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3535
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3536
3536
|
if (this.bumpSpace(), this.isEOF())
|
|
3537
|
-
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3537
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3538
3538
|
switch (this.char()) {
|
|
3539
3539
|
case 125:
|
|
3540
3540
|
return this.bump(), {
|
|
3541
3541
|
val: {
|
|
3542
|
-
type:
|
|
3542
|
+
type: w.argument,
|
|
3543
3543
|
// value does not include the opening and closing braces.
|
|
3544
3544
|
value: i,
|
|
3545
|
-
location:
|
|
3545
|
+
location: v(n, this.clonePosition())
|
|
3546
3546
|
},
|
|
3547
3547
|
err: null
|
|
3548
3548
|
};
|
|
3549
3549
|
case 44:
|
|
3550
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3550
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3551
3551
|
default:
|
|
3552
|
-
return this.error(y.MALFORMED_ARGUMENT,
|
|
3552
|
+
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3553
3553
|
}
|
|
3554
3554
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3555
3555
|
var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
|
|
3556
3556
|
this.bumpTo(i);
|
|
3557
|
-
var o = this.clonePosition(), s =
|
|
3557
|
+
var o = this.clonePosition(), s = v(t, o);
|
|
3558
3558
|
return { value: n, location: s };
|
|
3559
3559
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3560
3560
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3561
3561
|
switch (a) {
|
|
3562
3562
|
case "":
|
|
3563
|
-
return this.error(y.EXPECT_ARGUMENT_TYPE,
|
|
3563
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, l));
|
|
3564
3564
|
case "number":
|
|
3565
3565
|
case "date":
|
|
3566
3566
|
case "time": {
|
|
@@ -3571,44 +3571,44 @@ var Oi = (
|
|
|
3571
3571
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3572
3572
|
if (c.err)
|
|
3573
3573
|
return c;
|
|
3574
|
-
var f =
|
|
3574
|
+
var f = Oi(c.val);
|
|
3575
3575
|
if (f.length === 0)
|
|
3576
|
-
return this.error(y.EXPECT_ARGUMENT_STYLE,
|
|
3577
|
-
var p =
|
|
3576
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3577
|
+
var p = v(h, this.clonePosition());
|
|
3578
3578
|
u = { style: f, styleLocation: p };
|
|
3579
3579
|
}
|
|
3580
3580
|
var m = this.tryParseArgumentClose(i);
|
|
3581
3581
|
if (m.err)
|
|
3582
3582
|
return m;
|
|
3583
|
-
var d =
|
|
3583
|
+
var d = v(i, this.clonePosition());
|
|
3584
3584
|
if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3585
|
-
var
|
|
3585
|
+
var x = Pi(u.style.slice(2));
|
|
3586
3586
|
if (a === "number") {
|
|
3587
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3587
|
+
var c = this.parseNumberSkeletonFromString(x, u.styleLocation);
|
|
3588
3588
|
return c.err ? c : {
|
|
3589
|
-
val: { type:
|
|
3589
|
+
val: { type: w.number, value: n, location: d, style: c.val },
|
|
3590
3590
|
err: null
|
|
3591
3591
|
};
|
|
3592
3592
|
} else {
|
|
3593
|
-
if (
|
|
3593
|
+
if (x.length === 0)
|
|
3594
3594
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, d);
|
|
3595
|
-
var
|
|
3596
|
-
this.locale && (
|
|
3595
|
+
var E = x;
|
|
3596
|
+
this.locale && (E = gi(x, this.locale));
|
|
3597
3597
|
var f = {
|
|
3598
3598
|
type: Q.dateTime,
|
|
3599
|
-
pattern:
|
|
3599
|
+
pattern: E,
|
|
3600
3600
|
location: u.styleLocation,
|
|
3601
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3602
|
-
},
|
|
3601
|
+
parsedOptions: this.shouldParseSkeletons ? hi(E) : {}
|
|
3602
|
+
}, H = a === "date" ? w.date : w.time;
|
|
3603
3603
|
return {
|
|
3604
|
-
val: { type:
|
|
3604
|
+
val: { type: H, value: n, location: d, style: f },
|
|
3605
3605
|
err: null
|
|
3606
3606
|
};
|
|
3607
3607
|
}
|
|
3608
3608
|
}
|
|
3609
3609
|
return {
|
|
3610
3610
|
val: {
|
|
3611
|
-
type: a === "number" ?
|
|
3611
|
+
type: a === "number" ? w.number : a === "date" ? w.date : w.time,
|
|
3612
3612
|
value: n,
|
|
3613
3613
|
location: d,
|
|
3614
3614
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3619,30 +3619,30 @@ var Oi = (
|
|
|
3619
3619
|
case "plural":
|
|
3620
3620
|
case "selectordinal":
|
|
3621
3621
|
case "select": {
|
|
3622
|
-
var
|
|
3622
|
+
var _ = this.clonePosition();
|
|
3623
3623
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3624
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _
|
|
3624
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(_, Se({}, _)));
|
|
3625
3625
|
this.bumpSpace();
|
|
3626
|
-
var
|
|
3627
|
-
if (a !== "select" &&
|
|
3626
|
+
var S = this.parseIdentifierIfPossible(), b = 0;
|
|
3627
|
+
if (a !== "select" && S.value === "offset") {
|
|
3628
3628
|
if (!this.bumpIf(":"))
|
|
3629
|
-
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3629
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3630
3630
|
this.bumpSpace();
|
|
3631
3631
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3632
3632
|
if (c.err)
|
|
3633
3633
|
return c;
|
|
3634
|
-
this.bumpSpace(),
|
|
3634
|
+
this.bumpSpace(), S = this.parseIdentifierIfPossible(), b = c.val;
|
|
3635
3635
|
}
|
|
3636
|
-
var B = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3636
|
+
var B = this.tryParsePluralOrSelectOptions(t, a, r, S);
|
|
3637
3637
|
if (B.err)
|
|
3638
3638
|
return B;
|
|
3639
3639
|
var m = this.tryParseArgumentClose(i);
|
|
3640
3640
|
if (m.err)
|
|
3641
3641
|
return m;
|
|
3642
|
-
var ce =
|
|
3642
|
+
var ce = v(i, this.clonePosition());
|
|
3643
3643
|
return a === "select" ? {
|
|
3644
3644
|
val: {
|
|
3645
|
-
type:
|
|
3645
|
+
type: w.select,
|
|
3646
3646
|
value: n,
|
|
3647
3647
|
options: Nt(B.val),
|
|
3648
3648
|
location: ce
|
|
@@ -3650,7 +3650,7 @@ var Oi = (
|
|
|
3650
3650
|
err: null
|
|
3651
3651
|
} : {
|
|
3652
3652
|
val: {
|
|
3653
|
-
type:
|
|
3653
|
+
type: w.plural,
|
|
3654
3654
|
value: n,
|
|
3655
3655
|
options: Nt(B.val),
|
|
3656
3656
|
offset: b,
|
|
@@ -3661,10 +3661,10 @@ var Oi = (
|
|
|
3661
3661
|
};
|
|
3662
3662
|
}
|
|
3663
3663
|
default:
|
|
3664
|
-
return this.error(y.INVALID_ARGUMENT_TYPE,
|
|
3664
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, v(s, l));
|
|
3665
3665
|
}
|
|
3666
3666
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3667
|
-
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3667
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3668
3668
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3669
3669
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3670
3670
|
var n = this.char();
|
|
@@ -3673,7 +3673,7 @@ var Oi = (
|
|
|
3673
3673
|
this.bump();
|
|
3674
3674
|
var i = this.clonePosition();
|
|
3675
3675
|
if (!this.bumpUntil("'"))
|
|
3676
|
-
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3676
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
|
3677
3677
|
this.bump();
|
|
3678
3678
|
break;
|
|
3679
3679
|
}
|
|
@@ -3703,7 +3703,7 @@ var Oi = (
|
|
|
3703
3703
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3704
3704
|
var n = [];
|
|
3705
3705
|
try {
|
|
3706
|
-
n =
|
|
3706
|
+
n = fi(t);
|
|
3707
3707
|
} catch (i) {
|
|
3708
3708
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3709
3709
|
}
|
|
@@ -3712,7 +3712,7 @@ var Oi = (
|
|
|
3712
3712
|
type: Q.number,
|
|
3713
3713
|
tokens: n,
|
|
3714
3714
|
location: r,
|
|
3715
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3715
|
+
parsedOptions: this.shouldParseSkeletons ? bi(n) : {}
|
|
3716
3716
|
},
|
|
3717
3717
|
err: null
|
|
3718
3718
|
};
|
|
@@ -3724,7 +3724,7 @@ var Oi = (
|
|
|
3724
3724
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3725
3725
|
if (f.err)
|
|
3726
3726
|
return f;
|
|
3727
|
-
h =
|
|
3727
|
+
h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3728
3728
|
} else
|
|
3729
3729
|
break;
|
|
3730
3730
|
}
|
|
@@ -3733,7 +3733,7 @@ var Oi = (
|
|
|
3733
3733
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3734
3734
|
var p = this.clonePosition();
|
|
3735
3735
|
if (!this.bumpIf("{"))
|
|
3736
|
-
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3736
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3737
3737
|
var m = this.parseMessage(t + 1, r, n);
|
|
3738
3738
|
if (m.err)
|
|
3739
3739
|
return m;
|
|
@@ -3744,11 +3744,11 @@ var Oi = (
|
|
|
3744
3744
|
u,
|
|
3745
3745
|
{
|
|
3746
3746
|
value: m.val,
|
|
3747
|
-
location:
|
|
3747
|
+
location: v(p, this.clonePosition())
|
|
3748
3748
|
}
|
|
3749
3749
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3750
3750
|
}
|
|
3751
|
-
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3751
|
+
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3752
3752
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3753
3753
|
var n = 1, i = this.clonePosition();
|
|
3754
3754
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3759,8 +3759,8 @@ var Oi = (
|
|
|
3759
3759
|
else
|
|
3760
3760
|
break;
|
|
3761
3761
|
}
|
|
3762
|
-
var l =
|
|
3763
|
-
return o ? (s *= n,
|
|
3762
|
+
var l = v(i, this.clonePosition());
|
|
3763
|
+
return o ? (s *= n, Bi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3764
3764
|
}, e.prototype.offset = function() {
|
|
3765
3765
|
return this.position.offset;
|
|
3766
3766
|
}, e.prototype.isEOF = function() {
|
|
@@ -3829,16 +3829,16 @@ var Oi = (
|
|
|
3829
3829
|
function nt(e) {
|
|
3830
3830
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3831
3831
|
}
|
|
3832
|
-
function
|
|
3832
|
+
function Mi(e) {
|
|
3833
3833
|
return nt(e) || e === 47;
|
|
3834
3834
|
}
|
|
3835
|
-
function
|
|
3835
|
+
function Ni(e) {
|
|
3836
3836
|
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;
|
|
3837
3837
|
}
|
|
3838
3838
|
function Sr(e) {
|
|
3839
3839
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3840
3840
|
}
|
|
3841
|
-
function
|
|
3841
|
+
function Li(e) {
|
|
3842
3842
|
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;
|
|
3843
3843
|
}
|
|
3844
3844
|
function it(e) {
|
|
@@ -3850,9 +3850,9 @@ function it(e) {
|
|
|
3850
3850
|
hr(t) && br(t.style) || (cr(t) || fr(t)) && Ke(t.style) ? delete t.style.location : dr(t) && it(t.children);
|
|
3851
3851
|
});
|
|
3852
3852
|
}
|
|
3853
|
-
function
|
|
3853
|
+
function Ri(e, t) {
|
|
3854
3854
|
t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3855
|
-
var r = new
|
|
3855
|
+
var r = new Ii(e, t).parse();
|
|
3856
3856
|
if (r.err) {
|
|
3857
3857
|
var n = SyntaxError(y[r.err.kind]);
|
|
3858
3858
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
@@ -3875,7 +3875,7 @@ var Pe = (
|
|
|
3875
3875
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3876
3876
|
}, t;
|
|
3877
3877
|
}(Error)
|
|
3878
|
-
),
|
|
3878
|
+
), Rt = (
|
|
3879
3879
|
/** @class */
|
|
3880
3880
|
function(e) {
|
|
3881
3881
|
Ce(t, e);
|
|
@@ -3893,7 +3893,7 @@ var Pe = (
|
|
|
3893
3893
|
}
|
|
3894
3894
|
return t;
|
|
3895
3895
|
}(Pe)
|
|
3896
|
-
),
|
|
3896
|
+
), Gi = (
|
|
3897
3897
|
/** @class */
|
|
3898
3898
|
function(e) {
|
|
3899
3899
|
Ce(t, e);
|
|
@@ -3906,13 +3906,13 @@ var Pe = (
|
|
|
3906
3906
|
(function(e) {
|
|
3907
3907
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3908
3908
|
})(P || (P = {}));
|
|
3909
|
-
function
|
|
3909
|
+
function Ui(e) {
|
|
3910
3910
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3911
3911
|
var n = t[t.length - 1];
|
|
3912
3912
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3913
3913
|
}, []);
|
|
3914
3914
|
}
|
|
3915
|
-
function
|
|
3915
|
+
function Di(e) {
|
|
3916
3916
|
return typeof e == "function";
|
|
3917
3917
|
}
|
|
3918
3918
|
function ye(e, t, r, n, i, o, s) {
|
|
@@ -3932,7 +3932,7 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3932
3932
|
});
|
|
3933
3933
|
continue;
|
|
3934
3934
|
}
|
|
3935
|
-
if (
|
|
3935
|
+
if (ui(h)) {
|
|
3936
3936
|
typeof o == "number" && a.push({
|
|
3937
3937
|
type: P.literal,
|
|
3938
3938
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3941,9 +3941,9 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3941
3941
|
}
|
|
3942
3942
|
var c = h.value;
|
|
3943
3943
|
if (!(i && c in i))
|
|
3944
|
-
throw new
|
|
3944
|
+
throw new Gi(c, s);
|
|
3945
3945
|
var f = i[c];
|
|
3946
|
-
if (
|
|
3946
|
+
if (ai(h)) {
|
|
3947
3947
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3948
3948
|
type: typeof f == "string" ? P.literal : P.object,
|
|
3949
3949
|
value: f
|
|
@@ -3975,13 +3975,13 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3975
3975
|
continue;
|
|
3976
3976
|
}
|
|
3977
3977
|
if (dr(h)) {
|
|
3978
|
-
var m = h.children, d = h.value,
|
|
3979
|
-
if (!
|
|
3978
|
+
var m = h.children, d = h.value, x = i[d];
|
|
3979
|
+
if (!Di(x))
|
|
3980
3980
|
throw new $i(d, "function", s);
|
|
3981
|
-
var
|
|
3981
|
+
var E = ye(m, t, r, n, i, o), H = x(E.map(function(b) {
|
|
3982
3982
|
return b.value;
|
|
3983
3983
|
}));
|
|
3984
|
-
Array.isArray(
|
|
3984
|
+
Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(b) {
|
|
3985
3985
|
return {
|
|
3986
3986
|
type: typeof b == "string" ? P.literal : P.object,
|
|
3987
3987
|
value: b
|
|
@@ -3989,38 +3989,38 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3989
3989
|
}));
|
|
3990
3990
|
}
|
|
3991
3991
|
if (mr(h)) {
|
|
3992
|
-
var
|
|
3993
|
-
if (!
|
|
3994
|
-
throw new
|
|
3995
|
-
a.push.apply(a, ye(
|
|
3992
|
+
var _ = h.options[f] || h.options.other;
|
|
3993
|
+
if (!_)
|
|
3994
|
+
throw new Rt(h.value, f, Object.keys(h.options), s);
|
|
3995
|
+
a.push.apply(a, ye(_.value, t, r, n, i));
|
|
3996
3996
|
continue;
|
|
3997
3997
|
}
|
|
3998
3998
|
if (pr(h)) {
|
|
3999
|
-
var
|
|
4000
|
-
if (!
|
|
3999
|
+
var _ = h.options["=".concat(f)];
|
|
4000
|
+
if (!_) {
|
|
4001
4001
|
if (!Intl.PluralRules)
|
|
4002
4002
|
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
4003
4003
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4004
4004
|
`, J.MISSING_INTL_API, s);
|
|
4005
|
-
var
|
|
4006
|
-
|
|
4005
|
+
var S = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
4006
|
+
_ = h.options[S] || h.options.other;
|
|
4007
4007
|
}
|
|
4008
|
-
if (!
|
|
4009
|
-
throw new
|
|
4010
|
-
a.push.apply(a, ye(
|
|
4008
|
+
if (!_)
|
|
4009
|
+
throw new Rt(h.value, f, Object.keys(h.options), s);
|
|
4010
|
+
a.push.apply(a, ye(_.value, t, r, n, i, f - (h.offset || 0)));
|
|
4011
4011
|
continue;
|
|
4012
4012
|
}
|
|
4013
4013
|
}
|
|
4014
|
-
return
|
|
4014
|
+
return Ui(a);
|
|
4015
4015
|
}
|
|
4016
|
-
function
|
|
4016
|
+
function Fi(e, t) {
|
|
4017
4017
|
return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4018
4018
|
return r[n] = L(L({}, e[n]), t[n] || {}), r;
|
|
4019
4019
|
}, {})) : e;
|
|
4020
4020
|
}
|
|
4021
|
-
function
|
|
4021
|
+
function ji(e, t) {
|
|
4022
4022
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4023
|
-
return r[n] =
|
|
4023
|
+
return r[n] = Fi(e[n], t[n]), r;
|
|
4024
4024
|
}, L({}, e)) : e;
|
|
4025
4025
|
}
|
|
4026
4026
|
function Fe(e) {
|
|
@@ -4037,7 +4037,7 @@ function Fe(e) {
|
|
|
4037
4037
|
}
|
|
4038
4038
|
};
|
|
4039
4039
|
}
|
|
4040
|
-
function
|
|
4040
|
+
function ki(e) {
|
|
4041
4041
|
return e === void 0 && (e = {
|
|
4042
4042
|
number: {},
|
|
4043
4043
|
dateTime: {},
|
|
@@ -4046,7 +4046,7 @@ function ji(e) {
|
|
|
4046
4046
|
getNumberFormat: Ge(function() {
|
|
4047
4047
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4048
4048
|
r[n] = arguments[n];
|
|
4049
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4049
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
4050
4050
|
}, {
|
|
4051
4051
|
cache: Fe(e.number),
|
|
4052
4052
|
strategy: Ue.variadic
|
|
@@ -4054,7 +4054,7 @@ function ji(e) {
|
|
|
4054
4054
|
getDateTimeFormat: Ge(function() {
|
|
4055
4055
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4056
4056
|
r[n] = arguments[n];
|
|
4057
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4057
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
|
|
4058
4058
|
}, {
|
|
4059
4059
|
cache: Fe(e.dateTime),
|
|
4060
4060
|
strategy: Ue.variadic
|
|
@@ -4062,14 +4062,14 @@ function ji(e) {
|
|
|
4062
4062
|
getPluralRules: Ge(function() {
|
|
4063
4063
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4064
4064
|
r[n] = arguments[n];
|
|
4065
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4065
|
+
return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
|
|
4066
4066
|
}, {
|
|
4067
4067
|
cache: Fe(e.pluralRules),
|
|
4068
4068
|
strategy: Ue.variadic
|
|
4069
4069
|
})
|
|
4070
4070
|
};
|
|
4071
4071
|
}
|
|
4072
|
-
var
|
|
4072
|
+
var Vi = (
|
|
4073
4073
|
/** @class */
|
|
4074
4074
|
function() {
|
|
4075
4075
|
function e(t, r, n, i) {
|
|
@@ -4101,13 +4101,13 @@ var ki = (
|
|
|
4101
4101
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4102
4102
|
var s = i || {};
|
|
4103
4103
|
s.formatters;
|
|
4104
|
-
var a =
|
|
4104
|
+
var a = Kn(s, ["formatters"]);
|
|
4105
4105
|
this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
|
|
4106
4106
|
} else
|
|
4107
4107
|
this.ast = t;
|
|
4108
4108
|
if (!Array.isArray(this.ast))
|
|
4109
4109
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4110
|
-
this.formats =
|
|
4110
|
+
this.formats = ji(e.formats, n), this.formatters = i && i.formatters || ki(this.formatterCache);
|
|
4111
4111
|
}
|
|
4112
4112
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4113
4113
|
get: function() {
|
|
@@ -4120,7 +4120,7 @@ var ki = (
|
|
|
4120
4120
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4121
4121
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4122
4122
|
}
|
|
4123
|
-
}, e.__parse =
|
|
4123
|
+
}, e.__parse = Ri, e.formats = {
|
|
4124
4124
|
number: {
|
|
4125
4125
|
integer: {
|
|
4126
4126
|
maximumFractionDigits: 0
|
|
@@ -4181,7 +4181,7 @@ var ki = (
|
|
|
4181
4181
|
}, e;
|
|
4182
4182
|
}()
|
|
4183
4183
|
);
|
|
4184
|
-
function
|
|
4184
|
+
function Xi(e, t) {
|
|
4185
4185
|
if (t == null)
|
|
4186
4186
|
return;
|
|
4187
4187
|
if (t in e)
|
|
@@ -4202,33 +4202,33 @@ function Vi(e, t) {
|
|
|
4202
4202
|
n = void 0;
|
|
4203
4203
|
return n;
|
|
4204
4204
|
}
|
|
4205
|
-
const G = {},
|
|
4205
|
+
const G = {}, zi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), wr = (e, t) => {
|
|
4206
4206
|
if (t == null)
|
|
4207
4207
|
return;
|
|
4208
4208
|
if (t in G && e in G[t])
|
|
4209
4209
|
return G[t][e];
|
|
4210
4210
|
const r = Oe(t);
|
|
4211
4211
|
for (let n = 0; n < r.length; n++) {
|
|
4212
|
-
const i = r[n], o =
|
|
4212
|
+
const i = r[n], o = Zi(i, e);
|
|
4213
4213
|
if (o)
|
|
4214
|
-
return
|
|
4214
|
+
return zi(e, t, o);
|
|
4215
4215
|
}
|
|
4216
4216
|
};
|
|
4217
4217
|
let ht;
|
|
4218
4218
|
const he = Be({});
|
|
4219
|
-
function
|
|
4219
|
+
function Wi(e) {
|
|
4220
4220
|
return ht[e] || null;
|
|
4221
4221
|
}
|
|
4222
4222
|
function Tr(e) {
|
|
4223
4223
|
return e in ht;
|
|
4224
4224
|
}
|
|
4225
|
-
function
|
|
4225
|
+
function Zi(e, t) {
|
|
4226
4226
|
if (!Tr(e))
|
|
4227
4227
|
return null;
|
|
4228
|
-
const r =
|
|
4229
|
-
return
|
|
4228
|
+
const r = Wi(e);
|
|
4229
|
+
return Xi(r, t);
|
|
4230
4230
|
}
|
|
4231
|
-
function
|
|
4231
|
+
function Qi(e) {
|
|
4232
4232
|
if (e == null)
|
|
4233
4233
|
return;
|
|
4234
4234
|
const t = Oe(e);
|
|
@@ -4239,7 +4239,7 @@ function Zi(e) {
|
|
|
4239
4239
|
}
|
|
4240
4240
|
}
|
|
4241
4241
|
function Hr(e, ...t) {
|
|
4242
|
-
delete G[e], he.update((r) => (r[e] =
|
|
4242
|
+
delete G[e], he.update((r) => (r[e] = Yn.all([r[e] || {}, ...t]), r));
|
|
4243
4243
|
}
|
|
4244
4244
|
Y(
|
|
4245
4245
|
[he],
|
|
@@ -4247,13 +4247,13 @@ Y(
|
|
|
4247
4247
|
);
|
|
4248
4248
|
he.subscribe((e) => ht = e);
|
|
4249
4249
|
const ve = {};
|
|
4250
|
-
function
|
|
4250
|
+
function Ji(e, t) {
|
|
4251
4251
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
4252
4252
|
}
|
|
4253
4253
|
function Ar(e) {
|
|
4254
4254
|
return ve[e];
|
|
4255
4255
|
}
|
|
4256
|
-
function
|
|
4256
|
+
function qi(e) {
|
|
4257
4257
|
return Oe(e).map((t) => {
|
|
4258
4258
|
const r = Ar(t);
|
|
4259
4259
|
return [t, r ? [...r] : []];
|
|
@@ -4267,19 +4267,19 @@ function ot(e) {
|
|
|
4267
4267
|
}
|
|
4268
4268
|
);
|
|
4269
4269
|
}
|
|
4270
|
-
function
|
|
4270
|
+
function Yi(e, t) {
|
|
4271
4271
|
return Promise.all(
|
|
4272
|
-
t.map((n) => (
|
|
4272
|
+
t.map((n) => (Ji(e, n), n().then((i) => i.default || i)))
|
|
4273
4273
|
).then((n) => Hr(e, ...n));
|
|
4274
4274
|
}
|
|
4275
4275
|
const re = {};
|
|
4276
4276
|
function Br(e) {
|
|
4277
4277
|
if (!ot(e))
|
|
4278
4278
|
return e in re ? re[e] : Promise.resolve();
|
|
4279
|
-
const t =
|
|
4279
|
+
const t = qi(e);
|
|
4280
4280
|
return re[e] = Promise.all(
|
|
4281
4281
|
t.map(
|
|
4282
|
-
([r, n]) =>
|
|
4282
|
+
([r, n]) => Yi(r, n)
|
|
4283
4283
|
)
|
|
4284
4284
|
).then(() => {
|
|
4285
4285
|
if (ot(e))
|
|
@@ -4287,7 +4287,7 @@ function Br(e) {
|
|
|
4287
4287
|
delete re[e];
|
|
4288
4288
|
}), re[e];
|
|
4289
4289
|
}
|
|
4290
|
-
const
|
|
4290
|
+
const Ki = {
|
|
4291
4291
|
number: {
|
|
4292
4292
|
scientific: { notation: "scientific" },
|
|
4293
4293
|
engineering: { notation: "engineering" },
|
|
@@ -4316,26 +4316,26 @@ const Yi = {
|
|
|
4316
4316
|
timeZoneName: "short"
|
|
4317
4317
|
}
|
|
4318
4318
|
}
|
|
4319
|
-
},
|
|
4319
|
+
}, eo = {
|
|
4320
4320
|
fallbackLocale: null,
|
|
4321
4321
|
loadingDelay: 200,
|
|
4322
|
-
formats:
|
|
4322
|
+
formats: Ki,
|
|
4323
4323
|
warnOnMissingMessages: !0,
|
|
4324
4324
|
handleMissingMessage: void 0,
|
|
4325
4325
|
ignoreTag: !0
|
|
4326
|
-
},
|
|
4326
|
+
}, to = eo;
|
|
4327
4327
|
function q() {
|
|
4328
|
-
return
|
|
4328
|
+
return to;
|
|
4329
4329
|
}
|
|
4330
4330
|
const je = Be(!1);
|
|
4331
|
-
var
|
|
4331
|
+
var ro = Object.defineProperty, no = Object.defineProperties, io = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, oo = Object.prototype.hasOwnProperty, so = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ao = (e, t) => {
|
|
4332
4332
|
for (var r in t || (t = {}))
|
|
4333
|
-
|
|
4334
|
-
if (
|
|
4335
|
-
for (var r of
|
|
4336
|
-
|
|
4333
|
+
oo.call(t, r) && Gt(e, r, t[r]);
|
|
4334
|
+
if ($t)
|
|
4335
|
+
for (var r of $t(t))
|
|
4336
|
+
so.call(t, r) && Gt(e, r, t[r]);
|
|
4337
4337
|
return e;
|
|
4338
|
-
},
|
|
4338
|
+
}, uo = (e, t) => no(e, io(t));
|
|
4339
4339
|
let st;
|
|
4340
4340
|
const we = Be(null);
|
|
4341
4341
|
function Ut(e) {
|
|
@@ -4351,8 +4351,8 @@ function F() {
|
|
|
4351
4351
|
we.subscribe((e) => {
|
|
4352
4352
|
st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4353
4353
|
});
|
|
4354
|
-
const
|
|
4355
|
-
if (e &&
|
|
4354
|
+
const lo = (e) => {
|
|
4355
|
+
if (e && Qi(e) && ot(e)) {
|
|
4356
4356
|
const { loadingDelay: t } = q();
|
|
4357
4357
|
let r;
|
|
4358
4358
|
return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
|
|
@@ -4365,8 +4365,8 @@ const uo = (e) => {
|
|
|
4365
4365
|
});
|
|
4366
4366
|
}
|
|
4367
4367
|
return we.set(e);
|
|
4368
|
-
}, K = ao(
|
|
4369
|
-
set:
|
|
4368
|
+
}, K = uo(ao({}, we), {
|
|
4369
|
+
set: lo
|
|
4370
4370
|
}), Ie = (e) => {
|
|
4371
4371
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4372
4372
|
return (n) => {
|
|
@@ -4374,7 +4374,7 @@ const uo = (e) => {
|
|
|
4374
4374
|
return i in t ? t[i] : t[i] = e(n);
|
|
4375
4375
|
};
|
|
4376
4376
|
};
|
|
4377
|
-
var
|
|
4377
|
+
var ho = Object.defineProperty, Te = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
|
|
4378
4378
|
for (var r in t || (t = {}))
|
|
4379
4379
|
Cr.call(t, r) && Dt(e, r, t[r]);
|
|
4380
4380
|
if (Te)
|
|
@@ -4395,21 +4395,21 @@ const se = (e, t) => {
|
|
|
4395
4395
|
if (e in r && t in r[e])
|
|
4396
4396
|
return r[e][t];
|
|
4397
4397
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4398
|
-
},
|
|
4398
|
+
}, co = Ie(
|
|
4399
4399
|
(e) => {
|
|
4400
4400
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4401
4401
|
if (r == null)
|
|
4402
4402
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4403
4403
|
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4404
4404
|
}
|
|
4405
|
-
),
|
|
4405
|
+
), fo = Ie(
|
|
4406
4406
|
(e) => {
|
|
4407
4407
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4408
4408
|
if (r == null)
|
|
4409
4409
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4410
4410
|
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4411
4411
|
}
|
|
4412
|
-
),
|
|
4412
|
+
), mo = Ie(
|
|
4413
4413
|
(e) => {
|
|
4414
4414
|
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4415
4415
|
if (r == null)
|
|
@@ -4418,33 +4418,33 @@ const se = (e, t) => {
|
|
|
4418
4418
|
);
|
|
4419
4419
|
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4420
4420
|
}
|
|
4421
|
-
),
|
|
4421
|
+
), po = (e = {}) => {
|
|
4422
4422
|
var t = e, {
|
|
4423
4423
|
locale: r = F()
|
|
4424
4424
|
} = t, n = ee(t, [
|
|
4425
4425
|
"locale"
|
|
4426
4426
|
]);
|
|
4427
|
-
return
|
|
4428
|
-
},
|
|
4427
|
+
return co(ct({ locale: r }, n));
|
|
4428
|
+
}, bo = (e = {}) => {
|
|
4429
4429
|
var t = e, {
|
|
4430
4430
|
locale: r = F()
|
|
4431
4431
|
} = t, n = ee(t, [
|
|
4432
4432
|
"locale"
|
|
4433
4433
|
]);
|
|
4434
|
-
return
|
|
4435
|
-
},
|
|
4434
|
+
return fo(ct({ locale: r }, n));
|
|
4435
|
+
}, go = (e = {}) => {
|
|
4436
4436
|
var t = e, {
|
|
4437
4437
|
locale: r = F()
|
|
4438
4438
|
} = t, n = ee(t, [
|
|
4439
4439
|
"locale"
|
|
4440
4440
|
]);
|
|
4441
|
-
return
|
|
4442
|
-
},
|
|
4441
|
+
return mo(ct({ locale: r }, n));
|
|
4442
|
+
}, yo = Ie(
|
|
4443
4443
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4444
|
-
(e, t = F()) => new
|
|
4444
|
+
(e, t = F()) => new Vi(e, t, q().formats, {
|
|
4445
4445
|
ignoreTag: q().ignoreTag
|
|
4446
4446
|
})
|
|
4447
|
-
),
|
|
4447
|
+
), vo = (e, t = {}) => {
|
|
4448
4448
|
var r, n, i, o;
|
|
4449
4449
|
let s = t;
|
|
4450
4450
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4468,7 +4468,7 @@ const se = (e, t) => {
|
|
|
4468
4468
|
return h;
|
|
4469
4469
|
let c = h;
|
|
4470
4470
|
try {
|
|
4471
|
-
c =
|
|
4471
|
+
c = yo(h, l).format(a);
|
|
4472
4472
|
} catch (f) {
|
|
4473
4473
|
f instanceof Error && console.warn(
|
|
4474
4474
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4476,21 +4476,21 @@ const se = (e, t) => {
|
|
|
4476
4476
|
);
|
|
4477
4477
|
}
|
|
4478
4478
|
return c;
|
|
4479
|
-
},
|
|
4480
|
-
Y([K], () => vo);
|
|
4479
|
+
}, _o = (e, t) => go(t).format(e), xo = (e, t) => bo(t).format(e), Eo = (e, t) => po(t).format(e), So = (e, t = F()) => wr(e, t), wo = Y([K, he], () => vo);
|
|
4481
4480
|
Y([K], () => _o);
|
|
4482
4481
|
Y([K], () => xo);
|
|
4483
|
-
Y([K
|
|
4484
|
-
|
|
4485
|
-
|
|
4482
|
+
Y([K], () => Eo);
|
|
4483
|
+
Y([K, he], () => So);
|
|
4484
|
+
window.emWidgets = { topic: Ln };
|
|
4485
|
+
const To = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4486
4486
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4487
|
-
function
|
|
4487
|
+
function Ho(e, t) {
|
|
4488
4488
|
if (e) {
|
|
4489
4489
|
const r = document.createElement("style");
|
|
4490
4490
|
r.innerHTML = t, e.appendChild(r);
|
|
4491
4491
|
}
|
|
4492
4492
|
}
|
|
4493
|
-
function
|
|
4493
|
+
function Ao(e, t) {
|
|
4494
4494
|
if (!e || !t)
|
|
4495
4495
|
return;
|
|
4496
4496
|
const r = new URL(t);
|
|
@@ -4501,7 +4501,7 @@ function Ho(e, t) {
|
|
|
4501
4501
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4502
4502
|
});
|
|
4503
4503
|
}
|
|
4504
|
-
function
|
|
4504
|
+
function Bo(e, t, r) {
|
|
4505
4505
|
if (window.emMessageBus) {
|
|
4506
4506
|
const n = document.createElement("style");
|
|
4507
4507
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4512,7 +4512,7 @@ function Ao(e, t, r) {
|
|
|
4512
4512
|
function Ft(e, t) {
|
|
4513
4513
|
Hr(e, t);
|
|
4514
4514
|
}
|
|
4515
|
-
function
|
|
4515
|
+
function Co(e) {
|
|
4516
4516
|
K.set(e);
|
|
4517
4517
|
}
|
|
4518
4518
|
const jt = {
|
|
@@ -4561,15 +4561,15 @@ const jt = {
|
|
|
4561
4561
|
confirm: "Confirm"
|
|
4562
4562
|
}
|
|
4563
4563
|
};
|
|
4564
|
-
function
|
|
4565
|
-
|
|
4564
|
+
function Po(e) {
|
|
4565
|
+
Jr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
|
|
4566
4566
|
}
|
|
4567
|
-
const
|
|
4568
|
-
function
|
|
4567
|
+
const Oo = (e) => ({}), kt = (e) => ({});
|
|
4568
|
+
function Io(e) {
|
|
4569
4569
|
let t, r;
|
|
4570
4570
|
return {
|
|
4571
4571
|
c() {
|
|
4572
|
-
t = yt("svg"), r = yt("path"),
|
|
4572
|
+
t = yt("svg"), r = yt("path"), A(r, "stroke-linecap", "round"), A(r, "stroke-linejoin", "round"), A(r, "stroke-width", "2"), A(r, "d", "M6 18L18 6M6 6l12 12"), A(t, "class", "w-6 h-6"), A(t, "fill", "none"), A(t, "stroke", "currentColor"), A(t, "viewBox", "0 0 24 24"), A(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4573
4573
|
},
|
|
4574
4574
|
m(n, i) {
|
|
4575
4575
|
ae(n, t, i), C(t, r);
|
|
@@ -4587,7 +4587,7 @@ function Vt(e) {
|
|
|
4587
4587
|
t = M("div"), r = M("h2"), n = ue(
|
|
4588
4588
|
/*modaltitle*/
|
|
4589
4589
|
e[1]
|
|
4590
|
-
),
|
|
4590
|
+
), A(t, "class", "GeneralConfirmationTitle");
|
|
4591
4591
|
},
|
|
4592
4592
|
m(i, o) {
|
|
4593
4593
|
ae(i, t, o), C(t, r), C(r, n);
|
|
@@ -4612,14 +4612,14 @@ function Xt(e) {
|
|
|
4612
4612
|
), n, i, o;
|
|
4613
4613
|
return {
|
|
4614
4614
|
c() {
|
|
4615
|
-
t = M("button"), n = ue(r),
|
|
4615
|
+
t = M("button"), n = ue(r), A(t, "class", "GeneralCancelButton");
|
|
4616
4616
|
},
|
|
4617
4617
|
m(s, a) {
|
|
4618
4618
|
ae(s, t, a), C(t, n), i || (o = ke(
|
|
4619
4619
|
t,
|
|
4620
4620
|
"click",
|
|
4621
4621
|
/*click_handler*/
|
|
4622
|
-
e[
|
|
4622
|
+
e[18]
|
|
4623
4623
|
), i = !0);
|
|
4624
4624
|
},
|
|
4625
4625
|
p(s, a) {
|
|
@@ -4632,38 +4632,38 @@ function Xt(e) {
|
|
|
4632
4632
|
}
|
|
4633
4633
|
};
|
|
4634
4634
|
}
|
|
4635
|
-
function
|
|
4635
|
+
function Mo(e) {
|
|
4636
4636
|
let t, r, n, i, o, s, a, l, u, h, c = (
|
|
4637
4637
|
/*$_*/
|
|
4638
4638
|
e[4]("confirm") + ""
|
|
4639
4639
|
), f, p, m, d;
|
|
4640
|
-
const
|
|
4640
|
+
const x = (
|
|
4641
4641
|
/*#slots*/
|
|
4642
|
-
e[
|
|
4643
|
-
),
|
|
4644
|
-
|
|
4642
|
+
e[17].close
|
|
4643
|
+
), E = Vr(
|
|
4644
|
+
x,
|
|
4645
4645
|
e,
|
|
4646
4646
|
/*$$scope*/
|
|
4647
|
-
e[
|
|
4647
|
+
e[16],
|
|
4648
4648
|
kt
|
|
4649
|
-
),
|
|
4650
|
-
let
|
|
4649
|
+
), H = E || Io();
|
|
4650
|
+
let _ = (
|
|
4651
4651
|
/*modaltitle*/
|
|
4652
4652
|
e[1] && Vt(e)
|
|
4653
|
-
),
|
|
4653
|
+
), S = (
|
|
4654
4654
|
/*hascancelbutton*/
|
|
4655
4655
|
e[2] && Xt(e)
|
|
4656
4656
|
);
|
|
4657
4657
|
return {
|
|
4658
4658
|
c() {
|
|
4659
|
-
t = M("div"), r = M("div"), n = M("span"),
|
|
4660
|
-
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")),
|
|
4661
|
-
(e[5] ? "GeneralConfirmationContainerMobile" : "")),
|
|
4659
|
+
t = M("div"), r = M("div"), n = M("span"), H && H.c(), i = fe(), _ && _.c(), o = fe(), s = M("div"), a = fe(), l = M("div"), S && S.c(), u = fe(), h = M("button"), f = ue(c), A(n, "class", "ModalCloseBtn"), A(n, "role", "button"), A(s, "class", "GeneralConfirmationContent"), A(h, "class", "GeneralConfirmButton"), A(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4660
|
+
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), A(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4661
|
+
(e[5] ? "GeneralConfirmationContainerMobile" : "")), A(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4662
4662
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4663
4663
|
},
|
|
4664
4664
|
m(b, B) {
|
|
4665
|
-
ae(b, t, B), C(t, r), C(r, n),
|
|
4666
|
-
e[0], C(r, a), C(r, l),
|
|
4665
|
+
ae(b, t, B), C(t, r), C(r, n), H && H.m(n, null), C(r, i), _ && _.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
|
|
4666
|
+
e[0], C(r, a), C(r, l), S && S.m(l, null), C(l, u), C(l, h), C(h, f), e[20](t), p = !0, m || (d = [
|
|
4667
4667
|
ke(
|
|
4668
4668
|
n,
|
|
4669
4669
|
"click",
|
|
@@ -4674,58 +4674,66 @@ function Io(e) {
|
|
|
4674
4674
|
h,
|
|
4675
4675
|
"click",
|
|
4676
4676
|
/*click_handler_1*/
|
|
4677
|
-
e[
|
|
4677
|
+
e[19]
|
|
4678
4678
|
)
|
|
4679
4679
|
], m = !0);
|
|
4680
4680
|
},
|
|
4681
4681
|
p(b, [B]) {
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4682
|
+
E && E.p && (!p || B & /*$$scope*/
|
|
4683
|
+
65536) && zr(
|
|
4684
|
+
E,
|
|
4685
|
+
x,
|
|
4686
4686
|
b,
|
|
4687
4687
|
/*$$scope*/
|
|
4688
|
-
b[
|
|
4689
|
-
p ?
|
|
4690
|
-
|
|
4688
|
+
b[16],
|
|
4689
|
+
p ? Xr(
|
|
4690
|
+
x,
|
|
4691
4691
|
/*$$scope*/
|
|
4692
|
-
b[
|
|
4692
|
+
b[16],
|
|
4693
4693
|
B,
|
|
4694
|
-
|
|
4695
|
-
) :
|
|
4694
|
+
Oo
|
|
4695
|
+
) : Wr(
|
|
4696
4696
|
/*$$scope*/
|
|
4697
|
-
b[
|
|
4697
|
+
b[16]
|
|
4698
4698
|
),
|
|
4699
4699
|
kt
|
|
4700
4700
|
), /*modaltitle*/
|
|
4701
|
-
b[1] ?
|
|
4701
|
+
b[1] ? _ ? _.p(b, B) : (_ = Vt(b), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!p || B & /*modaltext*/
|
|
4702
4702
|
1) && (s.innerHTML = /*modaltext*/
|
|
4703
4703
|
b[0]), /*hascancelbutton*/
|
|
4704
|
-
b[2] ?
|
|
4704
|
+
b[2] ? S ? S.p(b, B) : (S = Xt(b), S.c(), S.m(l, u)) : S && (S.d(1), S = null), (!p || B & /*$_*/
|
|
4705
4705
|
16) && c !== (c = /*$_*/
|
|
4706
4706
|
b[4]("confirm") + "") && lt(f, c);
|
|
4707
4707
|
},
|
|
4708
4708
|
i(b) {
|
|
4709
|
-
p || (Kt(
|
|
4709
|
+
p || (Kt(H, b), p = !0);
|
|
4710
4710
|
},
|
|
4711
4711
|
o(b) {
|
|
4712
|
-
|
|
4712
|
+
mn(H, b), p = !1;
|
|
4713
4713
|
},
|
|
4714
4714
|
d(b) {
|
|
4715
|
-
b && D(t),
|
|
4715
|
+
b && D(t), H && H.d(b), _ && _.d(), S && S.d(), e[20](null), m = !1, U(d);
|
|
4716
4716
|
}
|
|
4717
4717
|
};
|
|
4718
4718
|
}
|
|
4719
|
-
function
|
|
4719
|
+
function No(e, t, r) {
|
|
4720
4720
|
let n;
|
|
4721
|
-
|
|
4722
|
-
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u =
|
|
4723
|
-
const
|
|
4721
|
+
kr(e, wo, (g) => r(4, n = g));
|
|
4722
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = "" } = t, { modalcancelevent: h = "" } = t, { modalconfirmdata: c = {} } = t, { lang: f = "en" } = t, { clientstyling: p = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: x } = t, E, H = window.navigator.userAgent, _ = To(H) !== "PC";
|
|
4723
|
+
const S = () => {
|
|
4724
4724
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4725
|
-
},
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4725
|
+
}, b = (g) => {
|
|
4726
|
+
g === "confirm" && u && E.dispatchEvent(new CustomEvent(
|
|
4727
|
+
u,
|
|
4728
|
+
{
|
|
4729
|
+
detail: c,
|
|
4730
|
+
// payload
|
|
4731
|
+
bubbles: !0,
|
|
4732
|
+
composed: !0
|
|
4733
|
+
}
|
|
4734
|
+
)), g === "cancel" && h && E.dispatchEvent(new CustomEvent(h, { bubbles: !0, composed: !0 })), S();
|
|
4735
|
+
}, B = () => {
|
|
4736
|
+
fetch(d).then((j) => j.json()).then((j) => {
|
|
4729
4737
|
Object.keys(j).forEach((ft) => {
|
|
4730
4738
|
Ft(ft, j[ft]);
|
|
4731
4739
|
});
|
|
@@ -4733,38 +4741,38 @@ function Mo(e, t, r) {
|
|
|
4733
4741
|
console.log(j);
|
|
4734
4742
|
});
|
|
4735
4743
|
};
|
|
4736
|
-
Object.keys(jt).forEach((
|
|
4737
|
-
Ft(
|
|
4744
|
+
Object.keys(jt).forEach((g) => {
|
|
4745
|
+
Ft(g, jt[g]);
|
|
4738
4746
|
});
|
|
4739
|
-
const
|
|
4740
|
-
|
|
4747
|
+
const ce = () => {
|
|
4748
|
+
Co(f);
|
|
4741
4749
|
};
|
|
4742
|
-
|
|
4750
|
+
an(() => () => {
|
|
4743
4751
|
});
|
|
4744
|
-
const
|
|
4745
|
-
function
|
|
4746
|
-
Ve[
|
|
4747
|
-
|
|
4752
|
+
const Ir = () => b("cancel"), Mr = () => b("confirm");
|
|
4753
|
+
function Nr(g) {
|
|
4754
|
+
Ve[g ? "unshift" : "push"](() => {
|
|
4755
|
+
E = g, r(3, E);
|
|
4748
4756
|
});
|
|
4749
4757
|
}
|
|
4750
|
-
return e.$$set = (
|
|
4751
|
-
"modaltext" in
|
|
4758
|
+
return e.$$set = (g) => {
|
|
4759
|
+
"modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "modalconfirmdata" in g && r(10, c = g.modalconfirmdata), "lang" in g && r(11, f = g.lang), "clientstyling" in g && r(12, p = g.clientstyling), "clientstylingurl" in g && r(13, m = g.clientstylingurl), "translationurl" in g && r(14, d = g.translationurl), "mbsource" in g && r(15, x = g.mbsource), "$$scope" in g && r(16, o = g.$$scope);
|
|
4752
4760
|
}, e.$$.update = () => {
|
|
4753
4761
|
e.$$.dirty & /*modaltext, lang*/
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
|
|
4758
|
-
|
|
4762
|
+
2049 && s && f && ce(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4763
|
+
4104 && p && E && Ho(E, p), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4764
|
+
8200 && m && E && Ao(E, m), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4765
|
+
32776 && x && E && Bo(E, `${x}.Style`), e.$$.dirty & /*translationurl*/
|
|
4766
|
+
16384 && d && B();
|
|
4759
4767
|
}, [
|
|
4760
4768
|
s,
|
|
4761
4769
|
a,
|
|
4762
4770
|
l,
|
|
4763
|
-
g,
|
|
4764
|
-
n,
|
|
4765
|
-
T,
|
|
4766
|
-
x,
|
|
4767
4771
|
E,
|
|
4772
|
+
n,
|
|
4773
|
+
_,
|
|
4774
|
+
S,
|
|
4775
|
+
b,
|
|
4768
4776
|
u,
|
|
4769
4777
|
h,
|
|
4770
4778
|
c,
|
|
@@ -4772,20 +4780,21 @@ function Mo(e, t, r) {
|
|
|
4772
4780
|
p,
|
|
4773
4781
|
m,
|
|
4774
4782
|
d,
|
|
4783
|
+
x,
|
|
4775
4784
|
o,
|
|
4776
4785
|
i,
|
|
4777
|
-
ce,
|
|
4778
4786
|
Ir,
|
|
4779
|
-
Mr
|
|
4787
|
+
Mr,
|
|
4788
|
+
Nr
|
|
4780
4789
|
];
|
|
4781
4790
|
}
|
|
4782
|
-
class Or extends
|
|
4791
|
+
class Or extends _n {
|
|
4783
4792
|
constructor(t) {
|
|
4784
|
-
super(),
|
|
4793
|
+
super(), yn(
|
|
4785
4794
|
this,
|
|
4786
4795
|
t,
|
|
4796
|
+
No,
|
|
4787
4797
|
Mo,
|
|
4788
|
-
Io,
|
|
4789
4798
|
Wt,
|
|
4790
4799
|
{
|
|
4791
4800
|
modaltext: 0,
|
|
@@ -4793,127 +4802,134 @@ class Or extends vn {
|
|
|
4793
4802
|
hascancelbutton: 2,
|
|
4794
4803
|
modalconfirmevent: 8,
|
|
4795
4804
|
modalcancelevent: 9,
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
|
|
4805
|
+
modalconfirmdata: 10,
|
|
4806
|
+
lang: 11,
|
|
4807
|
+
clientstyling: 12,
|
|
4808
|
+
clientstylingurl: 13,
|
|
4809
|
+
translationurl: 14,
|
|
4810
|
+
mbsource: 15
|
|
4801
4811
|
},
|
|
4802
|
-
|
|
4812
|
+
Po
|
|
4803
4813
|
);
|
|
4804
4814
|
}
|
|
4805
4815
|
get modaltext() {
|
|
4806
4816
|
return this.$$.ctx[0];
|
|
4807
4817
|
}
|
|
4808
4818
|
set modaltext(t) {
|
|
4809
|
-
this.$$set({ modaltext: t }),
|
|
4819
|
+
this.$$set({ modaltext: t }), O();
|
|
4810
4820
|
}
|
|
4811
4821
|
get modaltitle() {
|
|
4812
4822
|
return this.$$.ctx[1];
|
|
4813
4823
|
}
|
|
4814
4824
|
set modaltitle(t) {
|
|
4815
|
-
this.$$set({ modaltitle: t }),
|
|
4825
|
+
this.$$set({ modaltitle: t }), O();
|
|
4816
4826
|
}
|
|
4817
4827
|
get hascancelbutton() {
|
|
4818
4828
|
return this.$$.ctx[2];
|
|
4819
4829
|
}
|
|
4820
4830
|
set hascancelbutton(t) {
|
|
4821
|
-
this.$$set({ hascancelbutton: t }),
|
|
4831
|
+
this.$$set({ hascancelbutton: t }), O();
|
|
4822
4832
|
}
|
|
4823
4833
|
get modalconfirmevent() {
|
|
4824
4834
|
return this.$$.ctx[8];
|
|
4825
4835
|
}
|
|
4826
4836
|
set modalconfirmevent(t) {
|
|
4827
|
-
this.$$set({ modalconfirmevent: t }),
|
|
4837
|
+
this.$$set({ modalconfirmevent: t }), O();
|
|
4828
4838
|
}
|
|
4829
4839
|
get modalcancelevent() {
|
|
4830
4840
|
return this.$$.ctx[9];
|
|
4831
4841
|
}
|
|
4832
4842
|
set modalcancelevent(t) {
|
|
4833
|
-
this.$$set({ modalcancelevent: t }),
|
|
4843
|
+
this.$$set({ modalcancelevent: t }), O();
|
|
4834
4844
|
}
|
|
4835
|
-
get
|
|
4845
|
+
get modalconfirmdata() {
|
|
4836
4846
|
return this.$$.ctx[10];
|
|
4837
4847
|
}
|
|
4848
|
+
set modalconfirmdata(t) {
|
|
4849
|
+
this.$$set({ modalconfirmdata: t }), O();
|
|
4850
|
+
}
|
|
4851
|
+
get lang() {
|
|
4852
|
+
return this.$$.ctx[11];
|
|
4853
|
+
}
|
|
4838
4854
|
set lang(t) {
|
|
4839
|
-
this.$$set({ lang: t }),
|
|
4855
|
+
this.$$set({ lang: t }), O();
|
|
4840
4856
|
}
|
|
4841
4857
|
get clientstyling() {
|
|
4842
|
-
return this.$$.ctx[
|
|
4858
|
+
return this.$$.ctx[12];
|
|
4843
4859
|
}
|
|
4844
4860
|
set clientstyling(t) {
|
|
4845
|
-
this.$$set({ clientstyling: t }),
|
|
4861
|
+
this.$$set({ clientstyling: t }), O();
|
|
4846
4862
|
}
|
|
4847
4863
|
get clientstylingurl() {
|
|
4848
|
-
return this.$$.ctx[
|
|
4864
|
+
return this.$$.ctx[13];
|
|
4849
4865
|
}
|
|
4850
4866
|
set clientstylingurl(t) {
|
|
4851
|
-
this.$$set({ clientstylingurl: t }),
|
|
4867
|
+
this.$$set({ clientstylingurl: t }), O();
|
|
4852
4868
|
}
|
|
4853
4869
|
get translationurl() {
|
|
4854
|
-
return this.$$.ctx[
|
|
4870
|
+
return this.$$.ctx[14];
|
|
4855
4871
|
}
|
|
4856
4872
|
set translationurl(t) {
|
|
4857
|
-
this.$$set({ translationurl: t }),
|
|
4873
|
+
this.$$set({ translationurl: t }), O();
|
|
4858
4874
|
}
|
|
4859
4875
|
get mbsource() {
|
|
4860
|
-
return this.$$.ctx[
|
|
4876
|
+
return this.$$.ctx[15];
|
|
4861
4877
|
}
|
|
4862
4878
|
set mbsource(t) {
|
|
4863
|
-
this.$$set({ mbsource: t }),
|
|
4879
|
+
this.$$set({ mbsource: t }), O();
|
|
4864
4880
|
}
|
|
4865
4881
|
}
|
|
4866
|
-
|
|
4867
|
-
const
|
|
4882
|
+
vn(Or, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, modalconfirmdata: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
4883
|
+
const Xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4868
4884
|
__proto__: null,
|
|
4869
4885
|
default: Or
|
|
4870
4886
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4871
4887
|
export {
|
|
4872
4888
|
K as $,
|
|
4873
|
-
|
|
4874
|
-
|
|
4889
|
+
vn as A,
|
|
4890
|
+
Vo as B,
|
|
4875
4891
|
$n as C,
|
|
4876
4892
|
Hr as D,
|
|
4877
4893
|
N as E,
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4894
|
+
kr as F,
|
|
4895
|
+
To as G,
|
|
4896
|
+
ko as H,
|
|
4897
|
+
Ro as I,
|
|
4882
4898
|
fe as J,
|
|
4883
|
-
|
|
4899
|
+
Go as K,
|
|
4884
4900
|
U as L,
|
|
4885
4901
|
lt as M,
|
|
4886
|
-
|
|
4902
|
+
Uo as N,
|
|
4887
4903
|
ke as O,
|
|
4888
4904
|
ue as P,
|
|
4889
4905
|
yt as Q,
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4906
|
+
wo as R,
|
|
4907
|
+
_n as S,
|
|
4908
|
+
Xo as T,
|
|
4909
|
+
yn as a,
|
|
4910
|
+
Jr as b,
|
|
4895
4911
|
Kt as c,
|
|
4896
4912
|
D as d,
|
|
4897
|
-
|
|
4898
|
-
|
|
4913
|
+
Fo as e,
|
|
4914
|
+
O as f,
|
|
4899
4915
|
ae as g,
|
|
4900
4916
|
$o as h,
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4917
|
+
Dr as i,
|
|
4918
|
+
Vr as j,
|
|
4919
|
+
jo as k,
|
|
4904
4920
|
Ee as l,
|
|
4905
|
-
|
|
4906
|
-
|
|
4907
|
-
|
|
4921
|
+
Wr as m,
|
|
4922
|
+
Xr as n,
|
|
4923
|
+
an as o,
|
|
4908
4924
|
C as p,
|
|
4909
4925
|
M as q,
|
|
4910
|
-
|
|
4926
|
+
A as r,
|
|
4911
4927
|
Wt as s,
|
|
4912
|
-
|
|
4913
|
-
|
|
4928
|
+
mn as t,
|
|
4929
|
+
zr as u,
|
|
4914
4930
|
Ve as v,
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4931
|
+
Do as w,
|
|
4932
|
+
Ho as x,
|
|
4933
|
+
Ao as y,
|
|
4934
|
+
Bo as z
|
|
4919
4935
|
};
|