@everymatrix/player-account-self-exclusion 1.68.0 → 1.69.2
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-BKN9JVO4.js → PlayerAccountGeneralConfirmationModal-CF0gIxAh.js} +586 -591
- package/components/PlayerAccountGeneralConfirmationModal-CepZsQsl.cjs +21 -0
- package/components/{PlayerAccountGeneralConfirmationModal-DwFITP5S.js → PlayerAccountGeneralConfirmationModal-DTX1CBzd.js} +600 -605
- package/components/{PlayerAccountModal-R-m2HDSJ.js → PlayerAccountModal-CJKwahNB.js} +1 -1
- package/components/{PlayerAccountModal-B4PkbUrK.cjs → PlayerAccountModal-D5N72NeZ.cjs} +1 -1
- package/components/{PlayerAccountModal-D9_poky6.js → PlayerAccountModal-Db-SglWF.js} +1 -1
- package/components/{PlayerAccountSelfExclusion-DFpWHsbN.js → PlayerAccountSelfExclusion-CHQy_oYZ.js} +4 -4
- package/components/{PlayerAccountSelfExclusion-D38b_LDy.js → PlayerAccountSelfExclusion-DE2K_beM.js} +4 -4
- package/components/{PlayerAccountSelfExclusion-CFB8NF8x.cjs → PlayerAccountSelfExclusion-DaCLG_ac.cjs} +2 -2
- package/es2015/player-account-self-exclusion.cjs +1 -1
- package/es2015/player-account-self-exclusion.js +1 -1
- package/esnext/player-account-self-exclusion.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-b2193545-CPztmidm.js → index-b2193545-0nBa8-YE.js} +1 -1
- package/stencil/{index-b2193545-D1Z0k4-D.cjs → index-b2193545-CYERCBaJ.cjs} +1 -1
- package/stencil/{index-b2193545-BcYyCldH.js → index-b2193545-fV0AjNrh.js} +1 -1
- package/stencil/{ui-skeleton-1cb75d00-z2mX3TRi.js → ui-skeleton-161699c3-BPPr6sEf.js} +61 -41
- package/stencil/{ui-skeleton-1cb75d00-CXHx_pAM.js → ui-skeleton-161699c3-DjmPsRvg.js} +61 -41
- package/stencil/ui-skeleton-161699c3-KSM-Cr8Z.cjs +73 -0
- package/stencil/{ui-skeleton-CCXvjIzA.cjs → ui-skeleton-D9ekrDIX.cjs} +1 -1
- package/stencil/{ui-skeleton-4ifa-7wH.js → ui-skeleton-mS4_ikDc.js} +3 -3
- package/stencil/{ui-skeleton-Bk5dn5mu.js → ui-skeleton-rSrQAgGU.js} +3 -3
- package/components/PlayerAccountGeneralConfirmationModal-AfetEGjy.cjs +0 -21
- package/stencil/ui-skeleton-1cb75d00-CUSs6C3A.cjs +0 -73
|
@@ -2,15 +2,15 @@ var Nr = Object.defineProperty, Lr = Object.defineProperties;
|
|
|
2
2
|
var $r = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var mt = Object.getOwnPropertySymbols;
|
|
4
4
|
var Rr = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
5
|
+
var Me = (e, t, r) => t in e ? Nr(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
|
-
Rr.call(t, r) &&
|
|
7
|
+
Rr.call(t, r) && Me(e, r, t[r]);
|
|
8
8
|
if (mt)
|
|
9
9
|
for (var r of mt(t))
|
|
10
|
-
Gr.call(t, r) &&
|
|
10
|
+
Gr.call(t, r) && Me(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, dt = (e, t) => Lr(e, $r(t));
|
|
13
|
-
var
|
|
13
|
+
var O = (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 {
|
|
@@ -27,7 +27,7 @@ var bt = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function N() {
|
|
31
31
|
}
|
|
32
32
|
const Ur = (e) => e;
|
|
33
33
|
function Dr(e, t) {
|
|
@@ -44,10 +44,10 @@ function zt(e) {
|
|
|
44
44
|
function gt() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function U(e) {
|
|
48
48
|
e.forEach(zt);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function He(e) {
|
|
51
51
|
return typeof e == "function";
|
|
52
52
|
}
|
|
53
53
|
function Wt(e, t) {
|
|
@@ -60,7 +60,7 @@ function Zt(e, ...t) {
|
|
|
60
60
|
if (e == null) {
|
|
61
61
|
for (const n of t)
|
|
62
62
|
n(void 0);
|
|
63
|
-
return
|
|
63
|
+
return N;
|
|
64
64
|
}
|
|
65
65
|
const r = e.subscribe(...t);
|
|
66
66
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -108,21 +108,21 @@ function zr(e) {
|
|
|
108
108
|
return -1;
|
|
109
109
|
}
|
|
110
110
|
const Jt = typeof window != "undefined";
|
|
111
|
-
let Wr = Jt ? () => window.performance.now() : () => Date.now(),
|
|
112
|
-
const
|
|
111
|
+
let Wr = Jt ? () => window.performance.now() : () => Date.now(), at = Jt ? (e) => requestAnimationFrame(e) : N;
|
|
112
|
+
const z = /* @__PURE__ */ new Set();
|
|
113
113
|
function qt(e) {
|
|
114
|
-
|
|
115
|
-
t.c(e) || (
|
|
116
|
-
}),
|
|
114
|
+
z.forEach((t) => {
|
|
115
|
+
t.c(e) || (z.delete(t), t.f());
|
|
116
|
+
}), z.size !== 0 && at(qt);
|
|
117
117
|
}
|
|
118
118
|
function Zr(e) {
|
|
119
119
|
let t;
|
|
120
|
-
return
|
|
120
|
+
return z.size === 0 && at(qt), {
|
|
121
121
|
promise: new Promise((r) => {
|
|
122
|
-
|
|
122
|
+
z.add(t = { c: e, f: r });
|
|
123
123
|
}),
|
|
124
124
|
abort() {
|
|
125
|
-
|
|
125
|
+
z.delete(t);
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
128
|
}
|
|
@@ -130,13 +130,13 @@ function C(e, t) {
|
|
|
130
130
|
e.appendChild(t);
|
|
131
131
|
}
|
|
132
132
|
function Qr(e, t, r) {
|
|
133
|
-
const n =
|
|
133
|
+
const n = ut(e);
|
|
134
134
|
if (!n.getElementById(t)) {
|
|
135
|
-
const i =
|
|
135
|
+
const i = M("style");
|
|
136
136
|
i.id = t, i.textContent = r, Yt(n, i);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
function
|
|
139
|
+
function ut(e) {
|
|
140
140
|
if (!e)
|
|
141
141
|
return document;
|
|
142
142
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -147,8 +147,8 @@ function lt(e) {
|
|
|
147
147
|
) : e.ownerDocument;
|
|
148
148
|
}
|
|
149
149
|
function Jr(e) {
|
|
150
|
-
const t =
|
|
151
|
-
return t.textContent = "/* empty */", Yt(
|
|
150
|
+
const t = M("style");
|
|
151
|
+
return t.textContent = "/* empty */", Yt(ut(e), t), t.sheet;
|
|
152
152
|
}
|
|
153
153
|
function Yt(e, t) {
|
|
154
154
|
return C(
|
|
@@ -157,32 +157,32 @@ function Yt(e, t) {
|
|
|
157
157
|
t
|
|
158
158
|
), t.sheet;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
160
|
+
function ae(e, t, r) {
|
|
161
161
|
e.insertBefore(t, r || null);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
163
|
+
function D(e) {
|
|
164
164
|
e.parentNode && e.parentNode.removeChild(e);
|
|
165
165
|
}
|
|
166
166
|
function Lo(e, t) {
|
|
167
167
|
for (let r = 0; r < e.length; r += 1)
|
|
168
168
|
e[r] && e[r].d(t);
|
|
169
169
|
}
|
|
170
|
-
function
|
|
170
|
+
function M(e) {
|
|
171
171
|
return document.createElement(e);
|
|
172
172
|
}
|
|
173
173
|
function yt(e) {
|
|
174
174
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function ue(e) {
|
|
177
177
|
return document.createTextNode(e);
|
|
178
178
|
}
|
|
179
179
|
function fe() {
|
|
180
|
-
return
|
|
180
|
+
return ue(" ");
|
|
181
181
|
}
|
|
182
182
|
function $o() {
|
|
183
|
-
return
|
|
183
|
+
return ue("");
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function ke(e, t, r, n) {
|
|
186
186
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
187
187
|
}
|
|
188
188
|
function H(e, t, r) {
|
|
@@ -195,7 +195,7 @@ function Ro(e, t, r) {
|
|
|
195
195
|
function qr(e) {
|
|
196
196
|
return Array.from(e.childNodes);
|
|
197
197
|
}
|
|
198
|
-
function
|
|
198
|
+
function lt(e, t) {
|
|
199
199
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
200
200
|
t);
|
|
201
201
|
}
|
|
@@ -217,8 +217,8 @@ function Kr(e) {
|
|
|
217
217
|
}
|
|
218
218
|
), t;
|
|
219
219
|
}
|
|
220
|
-
const
|
|
221
|
-
let
|
|
220
|
+
const _e = /* @__PURE__ */ new Map();
|
|
221
|
+
let xe = 0;
|
|
222
222
|
function en(e) {
|
|
223
223
|
let t = 5381, r = e.length;
|
|
224
224
|
for (; r--; )
|
|
@@ -227,119 +227,119 @@ function en(e) {
|
|
|
227
227
|
}
|
|
228
228
|
function tn(e, t) {
|
|
229
229
|
const r = { stylesheet: Jr(t), rules: {} };
|
|
230
|
-
return
|
|
230
|
+
return _e.set(e, r), r;
|
|
231
231
|
}
|
|
232
232
|
function vt(e, t, r, n, i, o, s, a = 0) {
|
|
233
233
|
const l = 16.666 / n;
|
|
234
234
|
let u = `{
|
|
235
235
|
`;
|
|
236
236
|
for (let g = 0; g <= 1; g += l) {
|
|
237
|
-
const
|
|
238
|
-
u += g * 100 + `%{${s(
|
|
237
|
+
const A = t + (r - t) * o(g);
|
|
238
|
+
u += g * 100 + `%{${s(A, 1 - A)}}
|
|
239
239
|
`;
|
|
240
240
|
}
|
|
241
241
|
const h = u + `100% {${s(r, 1 - r)}}
|
|
242
|
-
}`, c = `__svelte_${en(h)}_${a}`, f =
|
|
243
|
-
m[c] || (m[c] = !0,
|
|
244
|
-
const
|
|
245
|
-
return e.style.animation = `${
|
|
242
|
+
}`, c = `__svelte_${en(h)}_${a}`, f = ut(e), { stylesheet: p, rules: m } = _e.get(f) || tn(f, e);
|
|
243
|
+
m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
244
|
+
const d = e.style.animation || "";
|
|
245
|
+
return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
|
|
246
246
|
}
|
|
247
247
|
function rn(e, t) {
|
|
248
248
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
249
249
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
250
250
|
// remove all Svelte animations
|
|
251
251
|
), i = r.length - n.length;
|
|
252
|
-
i && (e.style.animation = n.join(", "),
|
|
252
|
+
i && (e.style.animation = n.join(", "), xe -= i, xe || nn());
|
|
253
253
|
}
|
|
254
254
|
function nn() {
|
|
255
|
-
|
|
256
|
-
|
|
255
|
+
at(() => {
|
|
256
|
+
xe || (_e.forEach((e) => {
|
|
257
257
|
const { ownerNode: t } = e.stylesheet;
|
|
258
|
-
t &&
|
|
259
|
-
}),
|
|
258
|
+
t && D(t);
|
|
259
|
+
}), _e.clear());
|
|
260
260
|
});
|
|
261
261
|
}
|
|
262
|
-
let
|
|
263
|
-
function
|
|
264
|
-
|
|
262
|
+
let ie;
|
|
263
|
+
function ne(e) {
|
|
264
|
+
ie = e;
|
|
265
265
|
}
|
|
266
266
|
function on() {
|
|
267
|
-
if (!
|
|
267
|
+
if (!ie)
|
|
268
268
|
throw new Error("Function called outside component initialization");
|
|
269
|
-
return
|
|
269
|
+
return ie;
|
|
270
270
|
}
|
|
271
271
|
function sn(e) {
|
|
272
272
|
on().$$.on_mount.push(e);
|
|
273
273
|
}
|
|
274
|
-
const
|
|
275
|
-
let
|
|
274
|
+
const X = [], Ve = [];
|
|
275
|
+
let W = [];
|
|
276
276
|
const _t = [], an = /* @__PURE__ */ Promise.resolve();
|
|
277
|
-
let
|
|
277
|
+
let Xe = !1;
|
|
278
278
|
function un() {
|
|
279
|
-
|
|
279
|
+
Xe || (Xe = !0, an.then(I));
|
|
280
280
|
}
|
|
281
|
-
function
|
|
282
|
-
|
|
281
|
+
function Ee(e) {
|
|
282
|
+
W.push(e);
|
|
283
283
|
}
|
|
284
|
-
const
|
|
285
|
-
let
|
|
286
|
-
function
|
|
287
|
-
if (
|
|
284
|
+
const Ne = /* @__PURE__ */ new Set();
|
|
285
|
+
let k = 0;
|
|
286
|
+
function I() {
|
|
287
|
+
if (k !== 0)
|
|
288
288
|
return;
|
|
289
|
-
const e =
|
|
289
|
+
const e = ie;
|
|
290
290
|
do {
|
|
291
291
|
try {
|
|
292
|
-
for (;
|
|
293
|
-
const t =
|
|
294
|
-
|
|
292
|
+
for (; k < X.length; ) {
|
|
293
|
+
const t = X[k];
|
|
294
|
+
k++, ne(t), ln(t.$$);
|
|
295
295
|
}
|
|
296
296
|
} catch (t) {
|
|
297
|
-
throw
|
|
297
|
+
throw X.length = 0, k = 0, t;
|
|
298
298
|
}
|
|
299
|
-
for (
|
|
300
|
-
|
|
301
|
-
for (let t = 0; t <
|
|
302
|
-
const r =
|
|
303
|
-
|
|
299
|
+
for (ne(null), X.length = 0, k = 0; Ve.length; )
|
|
300
|
+
Ve.pop()();
|
|
301
|
+
for (let t = 0; t < W.length; t += 1) {
|
|
302
|
+
const r = W[t];
|
|
303
|
+
Ne.has(r) || (Ne.add(r), r());
|
|
304
304
|
}
|
|
305
|
-
|
|
306
|
-
} while (
|
|
305
|
+
W.length = 0;
|
|
306
|
+
} while (X.length);
|
|
307
307
|
for (; _t.length; )
|
|
308
308
|
_t.pop()();
|
|
309
|
-
|
|
309
|
+
Xe = !1, Ne.clear(), ne(e);
|
|
310
310
|
}
|
|
311
311
|
function ln(e) {
|
|
312
312
|
if (e.fragment !== null) {
|
|
313
|
-
e.update(),
|
|
313
|
+
e.update(), U(e.before_update);
|
|
314
314
|
const t = e.dirty;
|
|
315
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
315
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
|
|
316
316
|
}
|
|
317
317
|
}
|
|
318
318
|
function hn(e) {
|
|
319
319
|
const t = [], r = [];
|
|
320
|
-
|
|
320
|
+
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
321
321
|
}
|
|
322
|
-
let
|
|
322
|
+
let te;
|
|
323
323
|
function cn() {
|
|
324
|
-
return
|
|
325
|
-
|
|
326
|
-
})),
|
|
324
|
+
return te || (te = Promise.resolve(), te.then(() => {
|
|
325
|
+
te = null;
|
|
326
|
+
})), te;
|
|
327
327
|
}
|
|
328
|
-
function
|
|
328
|
+
function Le(e, t, r) {
|
|
329
329
|
e.dispatchEvent(Yr(`${t ? "intro" : "outro"}${r}`));
|
|
330
330
|
}
|
|
331
331
|
const de = /* @__PURE__ */ new Set();
|
|
332
|
-
let
|
|
332
|
+
let $;
|
|
333
333
|
function Do() {
|
|
334
|
-
|
|
334
|
+
$ = {
|
|
335
335
|
r: 0,
|
|
336
336
|
c: [],
|
|
337
|
-
p:
|
|
337
|
+
p: $
|
|
338
338
|
// parent group
|
|
339
339
|
};
|
|
340
340
|
}
|
|
341
341
|
function Fo() {
|
|
342
|
-
|
|
342
|
+
$.r || U($.c), $ = $.p;
|
|
343
343
|
}
|
|
344
344
|
function Kt(e, t) {
|
|
345
345
|
e && e.i && (de.delete(e), e.i(t));
|
|
@@ -348,7 +348,7 @@ function fn(e, t, r, n) {
|
|
|
348
348
|
if (e && e.o) {
|
|
349
349
|
if (de.has(e))
|
|
350
350
|
return;
|
|
351
|
-
de.add(e),
|
|
351
|
+
de.add(e), $.c.push(() => {
|
|
352
352
|
de.delete(e), n && (r && e.d(1), n());
|
|
353
353
|
}), e.o(t);
|
|
354
354
|
} else
|
|
@@ -360,48 +360,48 @@ function jo(e, t, r, n) {
|
|
|
360
360
|
function c() {
|
|
361
361
|
u && rn(e, u);
|
|
362
362
|
}
|
|
363
|
-
function f(m,
|
|
363
|
+
function f(m, d) {
|
|
364
364
|
const g = (
|
|
365
365
|
/** @type {Program['d']} */
|
|
366
366
|
m.b - s
|
|
367
367
|
);
|
|
368
|
-
return
|
|
368
|
+
return d *= Math.abs(g), {
|
|
369
369
|
a: s,
|
|
370
370
|
b: m.b,
|
|
371
371
|
d: g,
|
|
372
|
-
duration:
|
|
372
|
+
duration: d,
|
|
373
373
|
start: m.start,
|
|
374
|
-
end: m.start +
|
|
374
|
+
end: m.start + d,
|
|
375
375
|
group: m.group
|
|
376
376
|
};
|
|
377
377
|
}
|
|
378
|
-
function
|
|
378
|
+
function p(m) {
|
|
379
379
|
const {
|
|
380
|
-
delay:
|
|
380
|
+
delay: d = 0,
|
|
381
381
|
duration: g = 300,
|
|
382
|
-
easing:
|
|
383
|
-
tick:
|
|
384
|
-
css:
|
|
382
|
+
easing: A = Ur,
|
|
383
|
+
tick: T = N,
|
|
384
|
+
css: x
|
|
385
385
|
} = o || mn, E = {
|
|
386
|
-
start: Wr() +
|
|
386
|
+
start: Wr() + d,
|
|
387
387
|
b: m
|
|
388
388
|
};
|
|
389
|
-
m || (E.group =
|
|
390
|
-
e.inert, e.inert = !0)), a || l ? l = E : (
|
|
391
|
-
if (l &&
|
|
389
|
+
m || (E.group = $, $.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
390
|
+
e.inert, e.inert = !0)), a || l ? l = E : (x && (c(), u = vt(e, s, m, g, d, A, x)), m && T(0, 1), a = f(E, g), Ee(() => Le(e, m, "start")), Zr((b) => {
|
|
391
|
+
if (l && b > l.start && (a = f(l, g), l = null, Le(e, a.b, "start"), x && (c(), u = vt(
|
|
392
392
|
e,
|
|
393
393
|
s,
|
|
394
394
|
a.b,
|
|
395
395
|
a.duration,
|
|
396
396
|
0,
|
|
397
|
-
|
|
397
|
+
A,
|
|
398
398
|
o.css
|
|
399
399
|
))), a) {
|
|
400
|
-
if (
|
|
401
|
-
|
|
402
|
-
else if (
|
|
403
|
-
const
|
|
404
|
-
s = a.a + a.d * B
|
|
400
|
+
if (b >= a.end)
|
|
401
|
+
T(s = a.b, 1 - s), Le(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
|
|
402
|
+
else if (b >= a.start) {
|
|
403
|
+
const B = b - a.start;
|
|
404
|
+
s = a.a + a.d * A(B / a.duration), T(s, 1 - s);
|
|
405
405
|
}
|
|
406
406
|
}
|
|
407
407
|
return !!(a || l);
|
|
@@ -409,9 +409,9 @@ function jo(e, t, r, n) {
|
|
|
409
409
|
}
|
|
410
410
|
return {
|
|
411
411
|
run(m) {
|
|
412
|
-
|
|
413
|
-
o = o({ direction: m ? "in" : "out" }),
|
|
414
|
-
}) :
|
|
412
|
+
He(o) ? cn().then(() => {
|
|
413
|
+
o = o({ direction: m ? "in" : "out" }), p(m);
|
|
414
|
+
}) : p(m);
|
|
415
415
|
},
|
|
416
416
|
end() {
|
|
417
417
|
c(), a = l = null;
|
|
@@ -423,27 +423,27 @@ function ko(e) {
|
|
|
423
423
|
}
|
|
424
424
|
function pn(e, t, r) {
|
|
425
425
|
const { fragment: n, after_update: i } = e.$$;
|
|
426
|
-
n && n.m(t, r),
|
|
427
|
-
const o = e.$$.on_mount.map(zt).filter(
|
|
428
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
429
|
-
}), i.forEach(
|
|
426
|
+
n && n.m(t, r), Ee(() => {
|
|
427
|
+
const o = e.$$.on_mount.map(zt).filter(He);
|
|
428
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
|
|
429
|
+
}), i.forEach(Ee);
|
|
430
430
|
}
|
|
431
431
|
function dn(e, t) {
|
|
432
432
|
const r = e.$$;
|
|
433
|
-
r.fragment !== null && (hn(r.after_update),
|
|
433
|
+
r.fragment !== null && (hn(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
434
434
|
}
|
|
435
435
|
function bn(e, t) {
|
|
436
|
-
e.$$.dirty[0] === -1 && (
|
|
436
|
+
e.$$.dirty[0] === -1 && (X.push(e), un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
437
437
|
}
|
|
438
438
|
function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
439
|
-
const l =
|
|
440
|
-
|
|
439
|
+
const l = ie;
|
|
440
|
+
ne(e);
|
|
441
441
|
const u = e.$$ = {
|
|
442
442
|
fragment: null,
|
|
443
443
|
ctx: [],
|
|
444
444
|
// state
|
|
445
445
|
props: o,
|
|
446
|
-
update:
|
|
446
|
+
update: N,
|
|
447
447
|
not_equal: i,
|
|
448
448
|
bound: gt(),
|
|
449
449
|
// lifecycle
|
|
@@ -461,41 +461,41 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
461
461
|
};
|
|
462
462
|
s && s(u.root);
|
|
463
463
|
let h = !1;
|
|
464
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
465
|
-
const m =
|
|
464
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
465
|
+
const m = p.length ? p[0] : f;
|
|
466
466
|
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && bn(e, c)), f;
|
|
467
|
-
}) : [], u.update(), h = !0,
|
|
467
|
+
}) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
468
468
|
if (t.hydrate) {
|
|
469
469
|
const c = qr(t.target);
|
|
470
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
470
|
+
u.fragment && u.fragment.l(c), c.forEach(D);
|
|
471
471
|
} else
|
|
472
472
|
u.fragment && u.fragment.c();
|
|
473
|
-
t.intro && Kt(e.$$.fragment), pn(e, t.target, t.anchor),
|
|
473
|
+
t.intro && Kt(e.$$.fragment), pn(e, t.target, t.anchor), I();
|
|
474
474
|
}
|
|
475
|
-
|
|
475
|
+
ne(l);
|
|
476
476
|
}
|
|
477
477
|
let er;
|
|
478
478
|
typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
479
479
|
constructor(t, r, n) {
|
|
480
480
|
super();
|
|
481
481
|
/** The Svelte component constructor */
|
|
482
|
-
|
|
482
|
+
O(this, "$$ctor");
|
|
483
483
|
/** Slots */
|
|
484
|
-
|
|
484
|
+
O(this, "$$s");
|
|
485
485
|
/** The Svelte component instance */
|
|
486
|
-
|
|
486
|
+
O(this, "$$c");
|
|
487
487
|
/** Whether or not the custom element is connected */
|
|
488
|
-
|
|
488
|
+
O(this, "$$cn", !1);
|
|
489
489
|
/** Component props data */
|
|
490
|
-
|
|
490
|
+
O(this, "$$d", {});
|
|
491
491
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
492
|
-
|
|
492
|
+
O(this, "$$r", !1);
|
|
493
493
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
494
|
-
|
|
494
|
+
O(this, "$$p_d", {});
|
|
495
495
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
496
|
-
|
|
496
|
+
O(this, "$$l", {});
|
|
497
497
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
498
|
-
|
|
498
|
+
O(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
499
499
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
500
500
|
}
|
|
501
501
|
addEventListener(t, r, n) {
|
|
@@ -519,17 +519,17 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
519
519
|
let s;
|
|
520
520
|
return {
|
|
521
521
|
c: function() {
|
|
522
|
-
s =
|
|
522
|
+
s = M("slot"), o !== "default" && H(s, "name", o);
|
|
523
523
|
},
|
|
524
524
|
/**
|
|
525
525
|
* @param {HTMLElement} target
|
|
526
526
|
* @param {HTMLElement} [anchor]
|
|
527
527
|
*/
|
|
528
528
|
m: function(u, h) {
|
|
529
|
-
|
|
529
|
+
ae(u, s, h);
|
|
530
530
|
},
|
|
531
531
|
d: function(u) {
|
|
532
|
-
u &&
|
|
532
|
+
u && D(s);
|
|
533
533
|
}
|
|
534
534
|
};
|
|
535
535
|
};
|
|
@@ -665,7 +665,7 @@ class vn {
|
|
|
665
665
|
*
|
|
666
666
|
* @type {any}
|
|
667
667
|
*/
|
|
668
|
-
|
|
668
|
+
O(this, "$$");
|
|
669
669
|
/**
|
|
670
670
|
* ### PRIVATE API
|
|
671
671
|
*
|
|
@@ -673,11 +673,11 @@ class vn {
|
|
|
673
673
|
*
|
|
674
674
|
* @type {any}
|
|
675
675
|
*/
|
|
676
|
-
|
|
676
|
+
O(this, "$$set");
|
|
677
677
|
}
|
|
678
678
|
/** @returns {void} */
|
|
679
679
|
$destroy() {
|
|
680
|
-
dn(this, 1), this.$destroy =
|
|
680
|
+
dn(this, 1), this.$destroy = N;
|
|
681
681
|
}
|
|
682
682
|
/**
|
|
683
683
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -686,8 +686,8 @@ class vn {
|
|
|
686
686
|
* @returns {() => void}
|
|
687
687
|
*/
|
|
688
688
|
$on(t, r) {
|
|
689
|
-
if (!
|
|
690
|
-
return
|
|
689
|
+
if (!He(r))
|
|
690
|
+
return N;
|
|
691
691
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
692
692
|
return n.push(r), () => {
|
|
693
693
|
const i = n.indexOf(r);
|
|
@@ -718,24 +718,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
718
718
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
719
719
|
PERFORMANCE OF THIS SOFTWARE.
|
|
720
720
|
***************************************************************************** */
|
|
721
|
-
var
|
|
722
|
-
return
|
|
721
|
+
var ze = function(e, t) {
|
|
722
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
723
723
|
r.__proto__ = n;
|
|
724
724
|
} || function(r, n) {
|
|
725
725
|
for (var i in n)
|
|
726
726
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
727
|
-
},
|
|
727
|
+
}, ze(e, t);
|
|
728
728
|
};
|
|
729
|
-
function
|
|
729
|
+
function le(e, t) {
|
|
730
730
|
if (typeof t != "function" && t !== null)
|
|
731
731
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
732
|
-
|
|
732
|
+
ze(e, t);
|
|
733
733
|
function r() {
|
|
734
734
|
this.constructor = e;
|
|
735
735
|
}
|
|
736
736
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
737
737
|
}
|
|
738
|
-
function
|
|
738
|
+
function We(e) {
|
|
739
739
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
740
740
|
if (r)
|
|
741
741
|
return r.call(e);
|
|
@@ -747,7 +747,7 @@ function Ze(e) {
|
|
|
747
747
|
};
|
|
748
748
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
749
749
|
}
|
|
750
|
-
function
|
|
750
|
+
function Ze(e, t) {
|
|
751
751
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
752
752
|
if (!r)
|
|
753
753
|
return e;
|
|
@@ -767,13 +767,13 @@ function Qe(e, t) {
|
|
|
767
767
|
}
|
|
768
768
|
return o;
|
|
769
769
|
}
|
|
770
|
-
function
|
|
770
|
+
function Qe(e, t, r) {
|
|
771
771
|
if (arguments.length === 2)
|
|
772
772
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
773
773
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
774
774
|
return e.concat(o || t);
|
|
775
775
|
}
|
|
776
|
-
function
|
|
776
|
+
function R(e) {
|
|
777
777
|
return typeof e == "function";
|
|
778
778
|
}
|
|
779
779
|
function tr(e) {
|
|
@@ -782,7 +782,7 @@ function tr(e) {
|
|
|
782
782
|
}, r = e(t);
|
|
783
783
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
784
784
|
}
|
|
785
|
-
var
|
|
785
|
+
var $e = tr(function(e) {
|
|
786
786
|
return function(r) {
|
|
787
787
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
788
788
|
` + r.map(function(n, i) {
|
|
@@ -791,7 +791,7 @@ var Re = tr(function(e) {
|
|
|
791
791
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
792
792
|
};
|
|
793
793
|
});
|
|
794
|
-
function
|
|
794
|
+
function Je(e, t) {
|
|
795
795
|
if (e) {
|
|
796
796
|
var r = e.indexOf(t);
|
|
797
797
|
0 <= r && e.splice(r, 1);
|
|
@@ -809,12 +809,12 @@ var Ae = function() {
|
|
|
809
809
|
if (s)
|
|
810
810
|
if (this._parentage = null, Array.isArray(s))
|
|
811
811
|
try {
|
|
812
|
-
for (var a =
|
|
812
|
+
for (var a = We(s), l = a.next(); !l.done; l = a.next()) {
|
|
813
813
|
var u = l.value;
|
|
814
814
|
u.remove(this);
|
|
815
815
|
}
|
|
816
|
-
} catch (
|
|
817
|
-
t = { error:
|
|
816
|
+
} catch (d) {
|
|
817
|
+
t = { error: d };
|
|
818
818
|
} finally {
|
|
819
819
|
try {
|
|
820
820
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -826,29 +826,29 @@ var Ae = function() {
|
|
|
826
826
|
else
|
|
827
827
|
s.remove(this);
|
|
828
828
|
var h = this.initialTeardown;
|
|
829
|
-
if (
|
|
829
|
+
if (R(h))
|
|
830
830
|
try {
|
|
831
831
|
h();
|
|
832
|
-
} catch (
|
|
833
|
-
o =
|
|
832
|
+
} catch (d) {
|
|
833
|
+
o = d instanceof $e ? d.errors : [d];
|
|
834
834
|
}
|
|
835
835
|
var c = this._finalizers;
|
|
836
836
|
if (c) {
|
|
837
837
|
this._finalizers = null;
|
|
838
838
|
try {
|
|
839
|
-
for (var f =
|
|
840
|
-
var m =
|
|
839
|
+
for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
|
|
840
|
+
var m = p.value;
|
|
841
841
|
try {
|
|
842
842
|
xt(m);
|
|
843
|
-
} catch (
|
|
844
|
-
o = o != null ? o : [],
|
|
843
|
+
} catch (d) {
|
|
844
|
+
o = o != null ? o : [], d instanceof $e ? o = Qe(Qe([], Ze(o)), Ze(d.errors)) : o.push(d);
|
|
845
845
|
}
|
|
846
846
|
}
|
|
847
|
-
} catch (
|
|
848
|
-
n = { error:
|
|
847
|
+
} catch (d) {
|
|
848
|
+
n = { error: d };
|
|
849
849
|
} finally {
|
|
850
850
|
try {
|
|
851
|
-
|
|
851
|
+
p && !p.done && (i = f.return) && i.call(f);
|
|
852
852
|
} finally {
|
|
853
853
|
if (n)
|
|
854
854
|
throw n.error;
|
|
@@ -856,7 +856,7 @@ var Ae = function() {
|
|
|
856
856
|
}
|
|
857
857
|
}
|
|
858
858
|
if (o)
|
|
859
|
-
throw new
|
|
859
|
+
throw new $e(o);
|
|
860
860
|
}
|
|
861
861
|
}, e.prototype.add = function(t) {
|
|
862
862
|
var r;
|
|
@@ -879,20 +879,20 @@ var Ae = function() {
|
|
|
879
879
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
880
880
|
}, e.prototype._removeParent = function(t) {
|
|
881
881
|
var r = this._parentage;
|
|
882
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
882
|
+
r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
|
|
883
883
|
}, e.prototype.remove = function(t) {
|
|
884
884
|
var r = this._finalizers;
|
|
885
|
-
r &&
|
|
885
|
+
r && Je(r, t), t instanceof e && t._removeParent(this);
|
|
886
886
|
}, e.EMPTY = function() {
|
|
887
887
|
var t = new e();
|
|
888
888
|
return t.closed = !0, t;
|
|
889
889
|
}(), e;
|
|
890
890
|
}(), rr = Ae.EMPTY;
|
|
891
891
|
function nr(e) {
|
|
892
|
-
return e instanceof Ae || e && "closed" in e &&
|
|
892
|
+
return e instanceof Ae || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
893
893
|
}
|
|
894
894
|
function xt(e) {
|
|
895
|
-
|
|
895
|
+
R(e) ? e() : e.unsubscribe();
|
|
896
896
|
}
|
|
897
897
|
var xn = {
|
|
898
898
|
Promise: void 0
|
|
@@ -900,14 +900,14 @@ var xn = {
|
|
|
900
900
|
setTimeout: function(e, t) {
|
|
901
901
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
902
902
|
r[n - 2] = arguments[n];
|
|
903
|
-
return setTimeout.apply(void 0,
|
|
903
|
+
return setTimeout.apply(void 0, Qe([e, t], Ze(r)));
|
|
904
904
|
},
|
|
905
905
|
clearTimeout: function(e) {
|
|
906
906
|
return clearTimeout(e);
|
|
907
907
|
},
|
|
908
908
|
delegate: void 0
|
|
909
909
|
};
|
|
910
|
-
function
|
|
910
|
+
function wn(e) {
|
|
911
911
|
En.setTimeout(function() {
|
|
912
912
|
throw e;
|
|
913
913
|
});
|
|
@@ -918,13 +918,13 @@ function ge(e) {
|
|
|
918
918
|
e();
|
|
919
919
|
}
|
|
920
920
|
var ir = function(e) {
|
|
921
|
-
|
|
921
|
+
le(t, e);
|
|
922
922
|
function t(r) {
|
|
923
923
|
var n = e.call(this) || this;
|
|
924
924
|
return n.isStopped = !1, r ? (n.destination = r, nr(r) && r.add(n)) : n.destination = Hn, n;
|
|
925
925
|
}
|
|
926
926
|
return t.create = function(r, n, i) {
|
|
927
|
-
return new
|
|
927
|
+
return new qe(r, n, i);
|
|
928
928
|
}, t.prototype.next = function(r) {
|
|
929
929
|
this.isStopped || this._next(r);
|
|
930
930
|
}, t.prototype.error = function(r) {
|
|
@@ -948,7 +948,7 @@ var ir = function(e) {
|
|
|
948
948
|
this.unsubscribe();
|
|
949
949
|
}
|
|
950
950
|
}, t;
|
|
951
|
-
}(Ae),
|
|
951
|
+
}(Ae), Sn = function() {
|
|
952
952
|
function e(t) {
|
|
953
953
|
this.partialObserver = t;
|
|
954
954
|
}
|
|
@@ -979,20 +979,20 @@ var ir = function(e) {
|
|
|
979
979
|
me(r);
|
|
980
980
|
}
|
|
981
981
|
}, e;
|
|
982
|
-
}(),
|
|
983
|
-
|
|
982
|
+
}(), qe = function(e) {
|
|
983
|
+
le(t, e);
|
|
984
984
|
function t(r, n, i) {
|
|
985
985
|
var o = e.call(this) || this, s;
|
|
986
|
-
return
|
|
986
|
+
return R(r) || !r ? s = {
|
|
987
987
|
next: r != null ? r : void 0,
|
|
988
988
|
error: n != null ? n : void 0,
|
|
989
989
|
complete: i != null ? i : void 0
|
|
990
|
-
} : s = r, o.destination = new
|
|
990
|
+
} : s = r, o.destination = new Sn(s), o;
|
|
991
991
|
}
|
|
992
992
|
return t;
|
|
993
993
|
}(ir);
|
|
994
994
|
function me(e) {
|
|
995
|
-
|
|
995
|
+
wn(e);
|
|
996
996
|
}
|
|
997
997
|
function Tn(e) {
|
|
998
998
|
throw e;
|
|
@@ -1002,20 +1002,20 @@ var Hn = {
|
|
|
1002
1002
|
next: Et,
|
|
1003
1003
|
error: Tn,
|
|
1004
1004
|
complete: Et
|
|
1005
|
-
},
|
|
1005
|
+
}, An = function() {
|
|
1006
1006
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1007
1007
|
}();
|
|
1008
|
-
function
|
|
1008
|
+
function Bn(e) {
|
|
1009
1009
|
return e;
|
|
1010
1010
|
}
|
|
1011
1011
|
function Cn(e) {
|
|
1012
|
-
return e.length === 0 ?
|
|
1012
|
+
return e.length === 0 ? Bn : e.length === 1 ? e[0] : function(r) {
|
|
1013
1013
|
return e.reduce(function(n, i) {
|
|
1014
1014
|
return i(n);
|
|
1015
1015
|
}, r);
|
|
1016
1016
|
};
|
|
1017
1017
|
}
|
|
1018
|
-
var
|
|
1018
|
+
var wt = function() {
|
|
1019
1019
|
function e(t) {
|
|
1020
1020
|
t && (this._subscribe = t);
|
|
1021
1021
|
}
|
|
@@ -1023,7 +1023,7 @@ var St = function() {
|
|
|
1023
1023
|
var r = new e();
|
|
1024
1024
|
return r.source = this, r.operator = t, r;
|
|
1025
1025
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1026
|
-
var i = this, o = On(t) ? t : new
|
|
1026
|
+
var i = this, o = On(t) ? t : new qe(t, r, n);
|
|
1027
1027
|
return ge(function() {
|
|
1028
1028
|
var s = i, a = s.operator, l = s.source;
|
|
1029
1029
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1036,8 +1036,8 @@ var St = function() {
|
|
|
1036
1036
|
}
|
|
1037
1037
|
}, e.prototype.forEach = function(t, r) {
|
|
1038
1038
|
var n = this;
|
|
1039
|
-
return r =
|
|
1040
|
-
var s = new
|
|
1039
|
+
return r = St(r), new r(function(i, o) {
|
|
1040
|
+
var s = new qe({
|
|
1041
1041
|
next: function(a) {
|
|
1042
1042
|
try {
|
|
1043
1043
|
t(a);
|
|
@@ -1053,7 +1053,7 @@ var St = function() {
|
|
|
1053
1053
|
}, e.prototype._subscribe = function(t) {
|
|
1054
1054
|
var r;
|
|
1055
1055
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1056
|
-
}, e.prototype[
|
|
1056
|
+
}, e.prototype[An] = function() {
|
|
1057
1057
|
return this;
|
|
1058
1058
|
}, e.prototype.pipe = function() {
|
|
1059
1059
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -1061,7 +1061,7 @@ var St = function() {
|
|
|
1061
1061
|
return Cn(t)(this);
|
|
1062
1062
|
}, e.prototype.toPromise = function(t) {
|
|
1063
1063
|
var r = this;
|
|
1064
|
-
return t =
|
|
1064
|
+
return t = St(t), new t(function(n, i) {
|
|
1065
1065
|
var o;
|
|
1066
1066
|
r.subscribe(function(s) {
|
|
1067
1067
|
return o = s;
|
|
@@ -1075,12 +1075,12 @@ var St = function() {
|
|
|
1075
1075
|
return new e(t);
|
|
1076
1076
|
}, e;
|
|
1077
1077
|
}();
|
|
1078
|
-
function
|
|
1078
|
+
function St(e) {
|
|
1079
1079
|
var t;
|
|
1080
1080
|
return (t = e != null ? e : xn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1081
1081
|
}
|
|
1082
1082
|
function Pn(e) {
|
|
1083
|
-
return e &&
|
|
1083
|
+
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
1084
1084
|
}
|
|
1085
1085
|
function On(e) {
|
|
1086
1086
|
return e && e instanceof ir || Pn(e) && nr(e);
|
|
@@ -1090,7 +1090,7 @@ var In = tr(function(e) {
|
|
|
1090
1090
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1091
1091
|
};
|
|
1092
1092
|
}), or = function(e) {
|
|
1093
|
-
|
|
1093
|
+
le(t, e);
|
|
1094
1094
|
function t() {
|
|
1095
1095
|
var r = e.call(this) || this;
|
|
1096
1096
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -1108,7 +1108,7 @@ var In = tr(function(e) {
|
|
|
1108
1108
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1109
1109
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1110
1110
|
try {
|
|
1111
|
-
for (var s =
|
|
1111
|
+
for (var s = We(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
1112
1112
|
var l = a.value;
|
|
1113
1113
|
l.next(r);
|
|
1114
1114
|
}
|
|
@@ -1158,19 +1158,19 @@ var In = tr(function(e) {
|
|
|
1158
1158
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1159
1159
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1160
1160
|
return o || s ? rr : (this.currentObservers = null, a.push(r), new Ae(function() {
|
|
1161
|
-
n.currentObservers = null,
|
|
1161
|
+
n.currentObservers = null, Je(a, r);
|
|
1162
1162
|
}));
|
|
1163
1163
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1164
1164
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1165
1165
|
i ? r.error(o) : s && r.complete();
|
|
1166
1166
|
}, t.prototype.asObservable = function() {
|
|
1167
|
-
var r = new
|
|
1167
|
+
var r = new wt();
|
|
1168
1168
|
return r.source = this, r;
|
|
1169
1169
|
}, t.create = function(r, n) {
|
|
1170
1170
|
return new Tt(r, n);
|
|
1171
1171
|
}, t;
|
|
1172
|
-
}(
|
|
1173
|
-
|
|
1172
|
+
}(wt), Tt = function(e) {
|
|
1173
|
+
le(t, e);
|
|
1174
1174
|
function t(r, n) {
|
|
1175
1175
|
var i = e.call(this) || this;
|
|
1176
1176
|
return i.destination = r, i.source = n, i;
|
|
@@ -1194,7 +1194,7 @@ var In = tr(function(e) {
|
|
|
1194
1194
|
},
|
|
1195
1195
|
delegate: void 0
|
|
1196
1196
|
}, Mn = function(e) {
|
|
1197
|
-
|
|
1197
|
+
le(t, e);
|
|
1198
1198
|
function t(r, n, i) {
|
|
1199
1199
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
|
|
1200
1200
|
var o = e.call(this) || this;
|
|
@@ -1217,45 +1217,45 @@ var In = tr(function(e) {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
}, t;
|
|
1219
1219
|
}(or);
|
|
1220
|
-
const Ht = [],
|
|
1220
|
+
const Ht = [], At = {}, Nn = (e, t = 0) => {
|
|
1221
1221
|
if (Ht.indexOf(e) == -1) {
|
|
1222
1222
|
const r = new Mn(t);
|
|
1223
|
-
|
|
1223
|
+
At[e] = r, Ht.push(e);
|
|
1224
1224
|
}
|
|
1225
|
-
return
|
|
1226
|
-
},
|
|
1225
|
+
return At[e];
|
|
1226
|
+
}, V = [];
|
|
1227
1227
|
function Ln(e, t) {
|
|
1228
1228
|
return {
|
|
1229
|
-
subscribe:
|
|
1229
|
+
subscribe: Be(e, t).subscribe
|
|
1230
1230
|
};
|
|
1231
1231
|
}
|
|
1232
|
-
function
|
|
1232
|
+
function Be(e, t = N) {
|
|
1233
1233
|
let r;
|
|
1234
1234
|
const n = /* @__PURE__ */ new Set();
|
|
1235
1235
|
function i(a) {
|
|
1236
1236
|
if (Wt(e, a) && (e = a, r)) {
|
|
1237
|
-
const l = !
|
|
1237
|
+
const l = !V.length;
|
|
1238
1238
|
for (const u of n)
|
|
1239
|
-
u[1](),
|
|
1239
|
+
u[1](), V.push(u, e);
|
|
1240
1240
|
if (l) {
|
|
1241
|
-
for (let u = 0; u <
|
|
1242
|
-
|
|
1243
|
-
|
|
1241
|
+
for (let u = 0; u < V.length; u += 2)
|
|
1242
|
+
V[u][0](V[u + 1]);
|
|
1243
|
+
V.length = 0;
|
|
1244
1244
|
}
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
1247
|
function o(a) {
|
|
1248
1248
|
i(a(e));
|
|
1249
1249
|
}
|
|
1250
|
-
function s(a, l =
|
|
1250
|
+
function s(a, l = N) {
|
|
1251
1251
|
const u = [a, l];
|
|
1252
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1252
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
|
|
1253
1253
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1254
1254
|
};
|
|
1255
1255
|
}
|
|
1256
1256
|
return { set: i, update: o, subscribe: s };
|
|
1257
1257
|
}
|
|
1258
|
-
function
|
|
1258
|
+
function Y(e, t, r) {
|
|
1259
1259
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1260
1260
|
if (!i.every(Boolean))
|
|
1261
1261
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1263,26 +1263,26 @@ function ee(e, t, r) {
|
|
|
1263
1263
|
return Ln(r, (s, a) => {
|
|
1264
1264
|
let l = !1;
|
|
1265
1265
|
const u = [];
|
|
1266
|
-
let h = 0, c =
|
|
1266
|
+
let h = 0, c = N;
|
|
1267
1267
|
const f = () => {
|
|
1268
1268
|
if (h)
|
|
1269
1269
|
return;
|
|
1270
1270
|
c();
|
|
1271
1271
|
const m = t(n ? u[0] : u, s, a);
|
|
1272
|
-
o ? s(m) : c =
|
|
1273
|
-
},
|
|
1274
|
-
(m,
|
|
1272
|
+
o ? s(m) : c = He(m) ? m : N;
|
|
1273
|
+
}, p = i.map(
|
|
1274
|
+
(m, d) => Zt(
|
|
1275
1275
|
m,
|
|
1276
1276
|
(g) => {
|
|
1277
|
-
u[
|
|
1277
|
+
u[d] = g, h &= ~(1 << d), l && f();
|
|
1278
1278
|
},
|
|
1279
1279
|
() => {
|
|
1280
|
-
h |= 1 <<
|
|
1280
|
+
h |= 1 << d;
|
|
1281
1281
|
}
|
|
1282
1282
|
)
|
|
1283
1283
|
);
|
|
1284
1284
|
return l = !0, f(), function() {
|
|
1285
|
-
|
|
1285
|
+
U(p), c(), l = !1;
|
|
1286
1286
|
};
|
|
1287
1287
|
});
|
|
1288
1288
|
}
|
|
@@ -1307,26 +1307,26 @@ function jn(e) {
|
|
|
1307
1307
|
function kn(e) {
|
|
1308
1308
|
return Array.isArray(e) ? [] : {};
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1311
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1310
|
+
function oe(e, t) {
|
|
1311
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(kn(e), e, t) : e;
|
|
1312
1312
|
}
|
|
1313
1313
|
function Vn(e, t, r) {
|
|
1314
1314
|
return e.concat(t).map(function(n) {
|
|
1315
|
-
return
|
|
1315
|
+
return oe(n, r);
|
|
1316
1316
|
});
|
|
1317
1317
|
}
|
|
1318
1318
|
function Xn(e, t) {
|
|
1319
1319
|
if (!t.customMerge)
|
|
1320
|
-
return
|
|
1320
|
+
return Z;
|
|
1321
1321
|
var r = t.customMerge(e);
|
|
1322
|
-
return typeof r == "function" ? r :
|
|
1322
|
+
return typeof r == "function" ? r : Z;
|
|
1323
1323
|
}
|
|
1324
1324
|
function zn(e) {
|
|
1325
1325
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1326
1326
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1327
1327
|
}) : [];
|
|
1328
1328
|
}
|
|
1329
|
-
function
|
|
1329
|
+
function Bt(e) {
|
|
1330
1330
|
return Object.keys(e).concat(zn(e));
|
|
1331
1331
|
}
|
|
1332
1332
|
function ar(e, t) {
|
|
@@ -1341,52 +1341,52 @@ function Wn(e, t) {
|
|
|
1341
1341
|
}
|
|
1342
1342
|
function Zn(e, t, r) {
|
|
1343
1343
|
var n = {};
|
|
1344
|
-
return r.isMergeableObject(e) &&
|
|
1345
|
-
n[i] =
|
|
1346
|
-
}),
|
|
1347
|
-
Wn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] =
|
|
1344
|
+
return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
|
|
1345
|
+
n[i] = oe(e[i], r);
|
|
1346
|
+
}), Bt(t).forEach(function(i) {
|
|
1347
|
+
Wn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1348
1348
|
}), n;
|
|
1349
1349
|
}
|
|
1350
|
-
function
|
|
1351
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified =
|
|
1350
|
+
function Z(e, t, r) {
|
|
1351
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1352
1352
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1353
|
-
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) :
|
|
1353
|
+
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : oe(t, r);
|
|
1354
1354
|
}
|
|
1355
|
-
|
|
1355
|
+
Z.all = function(t, r) {
|
|
1356
1356
|
if (!Array.isArray(t))
|
|
1357
1357
|
throw new Error("first argument should be an array");
|
|
1358
1358
|
return t.reduce(function(n, i) {
|
|
1359
|
-
return
|
|
1359
|
+
return Z(n, i, r);
|
|
1360
1360
|
}, {});
|
|
1361
1361
|
};
|
|
1362
|
-
var Qn =
|
|
1362
|
+
var Qn = Z, Jn = Qn;
|
|
1363
1363
|
const qn = /* @__PURE__ */ $n(Jn);
|
|
1364
|
-
var
|
|
1365
|
-
return
|
|
1364
|
+
var Ye = function(e, t) {
|
|
1365
|
+
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1366
1366
|
r.__proto__ = n;
|
|
1367
1367
|
} || function(r, n) {
|
|
1368
1368
|
for (var i in n)
|
|
1369
1369
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1370
|
-
},
|
|
1370
|
+
}, Ye(e, t);
|
|
1371
1371
|
};
|
|
1372
|
-
function
|
|
1372
|
+
function Ce(e, t) {
|
|
1373
1373
|
if (typeof t != "function" && t !== null)
|
|
1374
1374
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1375
|
-
|
|
1375
|
+
Ye(e, t);
|
|
1376
1376
|
function r() {
|
|
1377
1377
|
this.constructor = e;
|
|
1378
1378
|
}
|
|
1379
1379
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1380
1380
|
}
|
|
1381
|
-
var
|
|
1382
|
-
return
|
|
1381
|
+
var L = function() {
|
|
1382
|
+
return L = Object.assign || function(t) {
|
|
1383
1383
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1384
1384
|
r = arguments[n];
|
|
1385
1385
|
for (var o in r)
|
|
1386
1386
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1387
1387
|
}
|
|
1388
1388
|
return t;
|
|
1389
|
-
},
|
|
1389
|
+
}, L.apply(this, arguments);
|
|
1390
1390
|
};
|
|
1391
1391
|
function Yn(e, t) {
|
|
1392
1392
|
var r = {};
|
|
@@ -1397,13 +1397,13 @@ function Yn(e, t) {
|
|
|
1397
1397
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1398
1398
|
return r;
|
|
1399
1399
|
}
|
|
1400
|
-
function
|
|
1400
|
+
function Re(e, t, r) {
|
|
1401
1401
|
if (r || arguments.length === 2)
|
|
1402
1402
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1403
1403
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1404
1404
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1405
1405
|
}
|
|
1406
|
-
function
|
|
1406
|
+
function Ge(e, t) {
|
|
1407
1407
|
var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ti;
|
|
1408
1408
|
return i(e, {
|
|
1409
1409
|
cache: r,
|
|
@@ -1449,7 +1449,7 @@ var ni = function() {
|
|
|
1449
1449
|
create: function() {
|
|
1450
1450
|
return new ii();
|
|
1451
1451
|
}
|
|
1452
|
-
},
|
|
1452
|
+
}, Ue = {
|
|
1453
1453
|
variadic: ri
|
|
1454
1454
|
}, we = function() {
|
|
1455
1455
|
return we = Object.assign || function(t) {
|
|
@@ -1461,18 +1461,18 @@ var ni = function() {
|
|
|
1461
1461
|
return t;
|
|
1462
1462
|
}, we.apply(this, arguments);
|
|
1463
1463
|
};
|
|
1464
|
-
var
|
|
1464
|
+
var y;
|
|
1465
1465
|
(function(e) {
|
|
1466
1466
|
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";
|
|
1467
|
-
})(
|
|
1467
|
+
})(y || (y = {}));
|
|
1468
1468
|
var w;
|
|
1469
1469
|
(function(e) {
|
|
1470
1470
|
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";
|
|
1471
1471
|
})(w || (w = {}));
|
|
1472
|
-
var
|
|
1472
|
+
var Q;
|
|
1473
1473
|
(function(e) {
|
|
1474
1474
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1475
|
-
})(
|
|
1475
|
+
})(Q || (Q = {}));
|
|
1476
1476
|
function Ct(e) {
|
|
1477
1477
|
return e.type === w.literal;
|
|
1478
1478
|
}
|
|
@@ -1501,10 +1501,10 @@ function dr(e) {
|
|
|
1501
1501
|
return e.type === w.tag;
|
|
1502
1502
|
}
|
|
1503
1503
|
function br(e) {
|
|
1504
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1504
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1505
1505
|
}
|
|
1506
|
-
function
|
|
1507
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1506
|
+
function Ke(e) {
|
|
1507
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1508
1508
|
}
|
|
1509
1509
|
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ui = /(?:[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;
|
|
1510
1510
|
function li(e) {
|
|
@@ -1598,15 +1598,15 @@ function li(e) {
|
|
|
1598
1598
|
return "";
|
|
1599
1599
|
}), t;
|
|
1600
1600
|
}
|
|
1601
|
-
var
|
|
1602
|
-
return
|
|
1601
|
+
var S = function() {
|
|
1602
|
+
return S = Object.assign || function(t) {
|
|
1603
1603
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1604
1604
|
r = arguments[n];
|
|
1605
1605
|
for (var o in r)
|
|
1606
1606
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1607
1607
|
}
|
|
1608
1608
|
return t;
|
|
1609
|
-
},
|
|
1609
|
+
}, S.apply(this, arguments);
|
|
1610
1610
|
};
|
|
1611
1611
|
var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1612
1612
|
function ci(e) {
|
|
@@ -1730,13 +1730,13 @@ function di(e) {
|
|
|
1730
1730
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1731
1731
|
continue;
|
|
1732
1732
|
case "scientific":
|
|
1733
|
-
t =
|
|
1734
|
-
return
|
|
1733
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1734
|
+
return S(S({}, l), It(u));
|
|
1735
1735
|
}, {}));
|
|
1736
1736
|
continue;
|
|
1737
1737
|
case "engineering":
|
|
1738
|
-
t =
|
|
1739
|
-
return
|
|
1738
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1739
|
+
return S(S({}, l), It(u));
|
|
1740
1740
|
}, {}));
|
|
1741
1741
|
continue;
|
|
1742
1742
|
case "notation-simple":
|
|
@@ -1781,13 +1781,13 @@ function di(e) {
|
|
|
1781
1781
|
case "integer-width":
|
|
1782
1782
|
if (i.options.length > 1)
|
|
1783
1783
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1784
|
-
i.options[0].replace(mi, function(l, u, h, c, f,
|
|
1784
|
+
i.options[0].replace(mi, function(l, u, h, c, f, p) {
|
|
1785
1785
|
if (u)
|
|
1786
1786
|
t.minimumIntegerDigits = h.length;
|
|
1787
1787
|
else {
|
|
1788
1788
|
if (c && f)
|
|
1789
1789
|
throw new Error("We currently do not support maximum integer digits");
|
|
1790
|
-
if (
|
|
1790
|
+
if (p)
|
|
1791
1791
|
throw new Error("We currently do not support exact integer digits");
|
|
1792
1792
|
}
|
|
1793
1793
|
return "";
|
|
@@ -1801,21 +1801,21 @@ function di(e) {
|
|
|
1801
1801
|
if (Pt.test(i.stem)) {
|
|
1802
1802
|
if (i.options.length > 1)
|
|
1803
1803
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1804
|
-
i.stem.replace(Pt, function(l, u, h, c, f,
|
|
1805
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1804
|
+
i.stem.replace(Pt, function(l, u, h, c, f, p) {
|
|
1805
|
+
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), "";
|
|
1806
1806
|
});
|
|
1807
1807
|
var o = i.options[0];
|
|
1808
|
-
o === "w" ? t =
|
|
1808
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ot(o)));
|
|
1809
1809
|
continue;
|
|
1810
1810
|
}
|
|
1811
1811
|
if (yr.test(i.stem)) {
|
|
1812
|
-
t =
|
|
1812
|
+
t = S(S({}, t), Ot(i.stem));
|
|
1813
1813
|
continue;
|
|
1814
1814
|
}
|
|
1815
1815
|
var s = _r(i.stem);
|
|
1816
|
-
s && (t =
|
|
1816
|
+
s && (t = S(S({}, t), s));
|
|
1817
1817
|
var a = pi(i.stem);
|
|
1818
|
-
a && (t =
|
|
1818
|
+
a && (t = S(S({}, t), a));
|
|
1819
1819
|
}
|
|
1820
1820
|
return t;
|
|
1821
1821
|
}
|
|
@@ -3272,18 +3272,18 @@ function gi(e) {
|
|
|
3272
3272
|
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
|
3273
3273
|
return i[0];
|
|
3274
3274
|
}
|
|
3275
|
-
var
|
|
3276
|
-
function
|
|
3275
|
+
var De, yi = new RegExp("^".concat(gr.source, "*")), vi = new RegExp("".concat(gr.source, "*$"));
|
|
3276
|
+
function _(e, t) {
|
|
3277
3277
|
return { start: e, end: t };
|
|
3278
3278
|
}
|
|
3279
|
-
var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, Ei = !!Object.fromEntries,
|
|
3279
|
+
var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, Ei = !!Object.fromEntries, wi = !!String.prototype.codePointAt, Si = !!String.prototype.trimStart, Ti = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Ai = Hi ? Number.isSafeInteger : function(e) {
|
|
3280
3280
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3281
|
-
},
|
|
3281
|
+
}, et = !0;
|
|
3282
3282
|
try {
|
|
3283
|
-
var
|
|
3284
|
-
|
|
3283
|
+
var Bi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3284
|
+
et = ((De = Bi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
|
3285
3285
|
} catch (e) {
|
|
3286
|
-
|
|
3286
|
+
et = !1;
|
|
3287
3287
|
}
|
|
3288
3288
|
var Mt = _i ? (
|
|
3289
3289
|
// Native
|
|
@@ -3295,7 +3295,7 @@ var Mt = _i ? (
|
|
|
3295
3295
|
function(t, r, n) {
|
|
3296
3296
|
return t.slice(n, n + r.length) === r;
|
|
3297
3297
|
}
|
|
3298
|
-
),
|
|
3298
|
+
), tt = xi ? String.fromCodePoint : (
|
|
3299
3299
|
// IE11
|
|
3300
3300
|
function() {
|
|
3301
3301
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3319,7 +3319,7 @@ var Mt = _i ? (
|
|
|
3319
3319
|
return r;
|
|
3320
3320
|
}
|
|
3321
3321
|
)
|
|
3322
|
-
), xr =
|
|
3322
|
+
), xr = wi ? (
|
|
3323
3323
|
// Native
|
|
3324
3324
|
function(t, r) {
|
|
3325
3325
|
return t.codePointAt(r);
|
|
@@ -3333,7 +3333,7 @@ var Mt = _i ? (
|
|
|
3333
3333
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3334
3334
|
}
|
|
3335
3335
|
}
|
|
3336
|
-
), Ci =
|
|
3336
|
+
), Ci = Si ? (
|
|
3337
3337
|
// Native
|
|
3338
3338
|
function(t) {
|
|
3339
3339
|
return t.trimStart();
|
|
@@ -3357,24 +3357,24 @@ var Mt = _i ? (
|
|
|
3357
3357
|
function Er(e, t) {
|
|
3358
3358
|
return new RegExp(e, t);
|
|
3359
3359
|
}
|
|
3360
|
-
var
|
|
3361
|
-
if (
|
|
3360
|
+
var rt;
|
|
3361
|
+
if (et) {
|
|
3362
3362
|
var Lt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3363
|
-
|
|
3363
|
+
rt = function(t, r) {
|
|
3364
3364
|
var n;
|
|
3365
3365
|
Lt.lastIndex = r;
|
|
3366
3366
|
var i = Lt.exec(t);
|
|
3367
3367
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3368
3368
|
};
|
|
3369
3369
|
} else
|
|
3370
|
-
|
|
3370
|
+
rt = function(t, r) {
|
|
3371
3371
|
for (var n = []; ; ) {
|
|
3372
3372
|
var i = xr(t, r);
|
|
3373
|
-
if (i === void 0 ||
|
|
3373
|
+
if (i === void 0 || wr(i) || Ni(i))
|
|
3374
3374
|
break;
|
|
3375
3375
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3376
3376
|
}
|
|
3377
|
-
return
|
|
3377
|
+
return tt.apply(void 0, n);
|
|
3378
3378
|
};
|
|
3379
3379
|
var Oi = (
|
|
3380
3380
|
/** @class */
|
|
@@ -3401,13 +3401,13 @@ var Oi = (
|
|
|
3401
3401
|
var a = this.clonePosition();
|
|
3402
3402
|
this.bump(), i.push({
|
|
3403
3403
|
type: w.pound,
|
|
3404
|
-
location:
|
|
3404
|
+
location: _(a, this.clonePosition())
|
|
3405
3405
|
});
|
|
3406
3406
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3407
3407
|
if (n)
|
|
3408
3408
|
break;
|
|
3409
|
-
return this.error(
|
|
3410
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3409
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3410
|
+
} else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
3411
3411
|
var s = this.parseTag(t, r);
|
|
3412
3412
|
if (s.err)
|
|
3413
3413
|
return s;
|
|
@@ -3430,7 +3430,7 @@ var Oi = (
|
|
|
3430
3430
|
val: {
|
|
3431
3431
|
type: w.literal,
|
|
3432
3432
|
value: "<".concat(i, "/>"),
|
|
3433
|
-
location:
|
|
3433
|
+
location: _(n, this.clonePosition())
|
|
3434
3434
|
},
|
|
3435
3435
|
err: null
|
|
3436
3436
|
};
|
|
@@ -3440,22 +3440,22 @@ var Oi = (
|
|
|
3440
3440
|
return o;
|
|
3441
3441
|
var s = o.val, a = this.clonePosition();
|
|
3442
3442
|
if (this.bumpIf("</")) {
|
|
3443
|
-
if (this.isEOF() || !
|
|
3444
|
-
return this.error(
|
|
3443
|
+
if (this.isEOF() || !nt(this.char()))
|
|
3444
|
+
return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
|
|
3445
3445
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3446
|
-
return i !== u ? this.error(
|
|
3446
|
+
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3447
3447
|
val: {
|
|
3448
3448
|
type: w.tag,
|
|
3449
3449
|
value: i,
|
|
3450
3450
|
children: s,
|
|
3451
|
-
location:
|
|
3451
|
+
location: _(n, this.clonePosition())
|
|
3452
3452
|
},
|
|
3453
3453
|
err: null
|
|
3454
|
-
} : this.error(
|
|
3454
|
+
} : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
|
|
3455
3455
|
} else
|
|
3456
|
-
return this.error(
|
|
3456
|
+
return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
|
|
3457
3457
|
} else
|
|
3458
|
-
return this.error(
|
|
3458
|
+
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
3459
3459
|
}, e.prototype.parseTagName = function() {
|
|
3460
3460
|
var t = this.offset();
|
|
3461
3461
|
for (this.bump(); !this.isEOF() && Mi(this.char()); )
|
|
@@ -3480,7 +3480,7 @@ var Oi = (
|
|
|
3480
3480
|
}
|
|
3481
3481
|
break;
|
|
3482
3482
|
}
|
|
3483
|
-
var l =
|
|
3483
|
+
var l = _(n, this.clonePosition());
|
|
3484
3484
|
return {
|
|
3485
3485
|
val: { type: w.literal, value: i, location: l },
|
|
3486
3486
|
err: null
|
|
@@ -3521,23 +3521,23 @@ var Oi = (
|
|
|
3521
3521
|
r.push(n);
|
|
3522
3522
|
this.bump();
|
|
3523
3523
|
}
|
|
3524
|
-
return
|
|
3524
|
+
return tt.apply(void 0, r);
|
|
3525
3525
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3526
3526
|
if (this.isEOF())
|
|
3527
3527
|
return null;
|
|
3528
3528
|
var n = this.char();
|
|
3529
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3529
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
|
|
3530
3530
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3531
3531
|
var n = this.clonePosition();
|
|
3532
3532
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3533
|
-
return this.error(
|
|
3533
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
3534
3534
|
if (this.char() === 125)
|
|
3535
|
-
return this.bump(), this.error(
|
|
3535
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
|
|
3536
3536
|
var i = this.parseIdentifierIfPossible().value;
|
|
3537
3537
|
if (!i)
|
|
3538
|
-
return this.error(
|
|
3538
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3539
3539
|
if (this.bumpSpace(), this.isEOF())
|
|
3540
|
-
return this.error(
|
|
3540
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
3541
3541
|
switch (this.char()) {
|
|
3542
3542
|
case 125:
|
|
3543
3543
|
return this.bump(), {
|
|
@@ -3545,25 +3545,25 @@ var Oi = (
|
|
|
3545
3545
|
type: w.argument,
|
|
3546
3546
|
// value does not include the opening and closing braces.
|
|
3547
3547
|
value: i,
|
|
3548
|
-
location:
|
|
3548
|
+
location: _(n, this.clonePosition())
|
|
3549
3549
|
},
|
|
3550
3550
|
err: null
|
|
3551
3551
|
};
|
|
3552
3552
|
case 44:
|
|
3553
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3553
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3554
3554
|
default:
|
|
3555
|
-
return this.error(
|
|
3555
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3556
3556
|
}
|
|
3557
3557
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3558
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3558
|
+
var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
|
|
3559
3559
|
this.bumpTo(i);
|
|
3560
|
-
var o = this.clonePosition(), s =
|
|
3560
|
+
var o = this.clonePosition(), s = _(t, o);
|
|
3561
3561
|
return { value: n, location: s };
|
|
3562
3562
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3563
3563
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3564
3564
|
switch (a) {
|
|
3565
3565
|
case "":
|
|
3566
|
-
return this.error(
|
|
3566
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, l));
|
|
3567
3567
|
case "number":
|
|
3568
3568
|
case "date":
|
|
3569
3569
|
case "time": {
|
|
@@ -3576,35 +3576,35 @@ var Oi = (
|
|
|
3576
3576
|
return c;
|
|
3577
3577
|
var f = Pi(c.val);
|
|
3578
3578
|
if (f.length === 0)
|
|
3579
|
-
return this.error(
|
|
3580
|
-
var
|
|
3581
|
-
u = { style: f, styleLocation:
|
|
3579
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3580
|
+
var p = _(h, this.clonePosition());
|
|
3581
|
+
u = { style: f, styleLocation: p };
|
|
3582
3582
|
}
|
|
3583
3583
|
var m = this.tryParseArgumentClose(i);
|
|
3584
3584
|
if (m.err)
|
|
3585
3585
|
return m;
|
|
3586
|
-
var
|
|
3586
|
+
var d = _(i, this.clonePosition());
|
|
3587
3587
|
if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3588
3588
|
var g = Ci(u.style.slice(2));
|
|
3589
3589
|
if (a === "number") {
|
|
3590
3590
|
var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
|
3591
3591
|
return c.err ? c : {
|
|
3592
|
-
val: { type: w.number, value: n, location:
|
|
3592
|
+
val: { type: w.number, value: n, location: d, style: c.val },
|
|
3593
3593
|
err: null
|
|
3594
3594
|
};
|
|
3595
3595
|
} else {
|
|
3596
3596
|
if (g.length === 0)
|
|
3597
|
-
return this.error(
|
|
3598
|
-
var
|
|
3599
|
-
this.locale && (
|
|
3597
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, d);
|
|
3598
|
+
var A = g;
|
|
3599
|
+
this.locale && (A = bi(g, this.locale));
|
|
3600
3600
|
var f = {
|
|
3601
|
-
type:
|
|
3602
|
-
pattern:
|
|
3601
|
+
type: Q.dateTime,
|
|
3602
|
+
pattern: A,
|
|
3603
3603
|
location: u.styleLocation,
|
|
3604
|
-
parsedOptions: this.shouldParseSkeletons ? li(
|
|
3605
|
-
},
|
|
3604
|
+
parsedOptions: this.shouldParseSkeletons ? li(A) : {}
|
|
3605
|
+
}, T = a === "date" ? w.date : w.time;
|
|
3606
3606
|
return {
|
|
3607
|
-
val: { type:
|
|
3607
|
+
val: { type: T, value: n, location: d, style: f },
|
|
3608
3608
|
err: null
|
|
3609
3609
|
};
|
|
3610
3610
|
}
|
|
@@ -3613,7 +3613,7 @@ var Oi = (
|
|
|
3613
3613
|
val: {
|
|
3614
3614
|
type: a === "number" ? w.number : a === "date" ? w.date : w.time,
|
|
3615
3615
|
value: n,
|
|
3616
|
-
location:
|
|
3616
|
+
location: d,
|
|
3617
3617
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3618
3618
|
},
|
|
3619
3619
|
err: null
|
|
@@ -3622,52 +3622,52 @@ var Oi = (
|
|
|
3622
3622
|
case "plural":
|
|
3623
3623
|
case "selectordinal":
|
|
3624
3624
|
case "select": {
|
|
3625
|
-
var
|
|
3625
|
+
var x = this.clonePosition();
|
|
3626
3626
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3627
|
-
return this.error(
|
|
3627
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, we({}, x)));
|
|
3628
3628
|
this.bumpSpace();
|
|
3629
|
-
var E = this.parseIdentifierIfPossible(),
|
|
3629
|
+
var E = this.parseIdentifierIfPossible(), b = 0;
|
|
3630
3630
|
if (a !== "select" && E.value === "offset") {
|
|
3631
3631
|
if (!this.bumpIf(":"))
|
|
3632
|
-
return this.error(
|
|
3632
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3633
3633
|
this.bumpSpace();
|
|
3634
|
-
var c = this.tryParseDecimalInteger(
|
|
3634
|
+
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3635
3635
|
if (c.err)
|
|
3636
3636
|
return c;
|
|
3637
|
-
this.bumpSpace(), E = this.parseIdentifierIfPossible(),
|
|
3637
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), b = c.val;
|
|
3638
3638
|
}
|
|
3639
|
-
var
|
|
3640
|
-
if (
|
|
3641
|
-
return
|
|
3639
|
+
var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
|
|
3640
|
+
if (B.err)
|
|
3641
|
+
return B;
|
|
3642
3642
|
var m = this.tryParseArgumentClose(i);
|
|
3643
3643
|
if (m.err)
|
|
3644
3644
|
return m;
|
|
3645
|
-
var
|
|
3645
|
+
var ce = _(i, this.clonePosition());
|
|
3646
3646
|
return a === "select" ? {
|
|
3647
3647
|
val: {
|
|
3648
3648
|
type: w.select,
|
|
3649
3649
|
value: n,
|
|
3650
|
-
options: Nt(
|
|
3651
|
-
location:
|
|
3650
|
+
options: Nt(B.val),
|
|
3651
|
+
location: ce
|
|
3652
3652
|
},
|
|
3653
3653
|
err: null
|
|
3654
3654
|
} : {
|
|
3655
3655
|
val: {
|
|
3656
3656
|
type: w.plural,
|
|
3657
3657
|
value: n,
|
|
3658
|
-
options: Nt(
|
|
3659
|
-
offset:
|
|
3658
|
+
options: Nt(B.val),
|
|
3659
|
+
offset: b,
|
|
3660
3660
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3661
|
-
location:
|
|
3661
|
+
location: ce
|
|
3662
3662
|
},
|
|
3663
3663
|
err: null
|
|
3664
3664
|
};
|
|
3665
3665
|
}
|
|
3666
3666
|
default:
|
|
3667
|
-
return this.error(
|
|
3667
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, _(s, l));
|
|
3668
3668
|
}
|
|
3669
3669
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3670
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3670
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3671
3671
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3672
3672
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3673
3673
|
var n = this.char();
|
|
@@ -3676,7 +3676,7 @@ var Oi = (
|
|
|
3676
3676
|
this.bump();
|
|
3677
3677
|
var i = this.clonePosition();
|
|
3678
3678
|
if (!this.bumpUntil("'"))
|
|
3679
|
-
return this.error(
|
|
3679
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
|
|
3680
3680
|
this.bump();
|
|
3681
3681
|
break;
|
|
3682
3682
|
}
|
|
@@ -3708,11 +3708,11 @@ var Oi = (
|
|
|
3708
3708
|
try {
|
|
3709
3709
|
n = ci(t);
|
|
3710
3710
|
} catch (i) {
|
|
3711
|
-
return this.error(
|
|
3711
|
+
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3712
3712
|
}
|
|
3713
3713
|
return {
|
|
3714
3714
|
val: {
|
|
3715
|
-
type:
|
|
3715
|
+
type: Q.number,
|
|
3716
3716
|
tokens: n,
|
|
3717
3717
|
location: r,
|
|
3718
3718
|
parsedOptions: this.shouldParseSkeletons ? di(n) : {}
|
|
@@ -3724,34 +3724,34 @@ var Oi = (
|
|
|
3724
3724
|
if (u.length === 0) {
|
|
3725
3725
|
var c = this.clonePosition();
|
|
3726
3726
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3727
|
-
var f = this.tryParseDecimalInteger(
|
|
3727
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3728
3728
|
if (f.err)
|
|
3729
3729
|
return f;
|
|
3730
|
-
h =
|
|
3730
|
+
h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3731
3731
|
} else
|
|
3732
3732
|
break;
|
|
3733
3733
|
}
|
|
3734
3734
|
if (l.has(u))
|
|
3735
|
-
return this.error(r === "select" ?
|
|
3735
|
+
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3736
3736
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3737
|
-
var
|
|
3737
|
+
var p = this.clonePosition();
|
|
3738
3738
|
if (!this.bumpIf("{"))
|
|
3739
|
-
return this.error(r === "select" ?
|
|
3739
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3740
3740
|
var m = this.parseMessage(t + 1, r, n);
|
|
3741
3741
|
if (m.err)
|
|
3742
3742
|
return m;
|
|
3743
|
-
var
|
|
3744
|
-
if (
|
|
3745
|
-
return
|
|
3743
|
+
var d = this.tryParseArgumentClose(p);
|
|
3744
|
+
if (d.err)
|
|
3745
|
+
return d;
|
|
3746
3746
|
a.push([
|
|
3747
3747
|
u,
|
|
3748
3748
|
{
|
|
3749
3749
|
value: m.val,
|
|
3750
|
-
location:
|
|
3750
|
+
location: _(p, this.clonePosition())
|
|
3751
3751
|
}
|
|
3752
3752
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3753
3753
|
}
|
|
3754
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3754
|
+
return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3755
3755
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3756
3756
|
var n = 1, i = this.clonePosition();
|
|
3757
3757
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3762,8 +3762,8 @@ var Oi = (
|
|
|
3762
3762
|
else
|
|
3763
3763
|
break;
|
|
3764
3764
|
}
|
|
3765
|
-
var l =
|
|
3766
|
-
return o ? (s *= n,
|
|
3765
|
+
var l = _(i, this.clonePosition());
|
|
3766
|
+
return o ? (s *= n, Ai(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3767
3767
|
}, e.prototype.offset = function() {
|
|
3768
3768
|
return this.position.offset;
|
|
3769
3769
|
}, e.prototype.isEOF = function() {
|
|
@@ -3819,7 +3819,7 @@ var Oi = (
|
|
|
3819
3819
|
break;
|
|
3820
3820
|
}
|
|
3821
3821
|
}, e.prototype.bumpSpace = function() {
|
|
3822
|
-
for (; !this.isEOF() &&
|
|
3822
|
+
for (; !this.isEOF() && wr(this.char()); )
|
|
3823
3823
|
this.bump();
|
|
3824
3824
|
}, e.prototype.peek = function() {
|
|
3825
3825
|
if (this.isEOF())
|
|
@@ -3829,47 +3829,47 @@ var Oi = (
|
|
|
3829
3829
|
}, e;
|
|
3830
3830
|
}()
|
|
3831
3831
|
);
|
|
3832
|
-
function
|
|
3832
|
+
function nt(e) {
|
|
3833
3833
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3834
3834
|
}
|
|
3835
3835
|
function Ii(e) {
|
|
3836
|
-
return
|
|
3836
|
+
return nt(e) || e === 47;
|
|
3837
3837
|
}
|
|
3838
3838
|
function Mi(e) {
|
|
3839
3839
|
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;
|
|
3840
3840
|
}
|
|
3841
|
-
function
|
|
3841
|
+
function wr(e) {
|
|
3842
3842
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3843
3843
|
}
|
|
3844
3844
|
function Ni(e) {
|
|
3845
3845
|
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;
|
|
3846
3846
|
}
|
|
3847
|
-
function
|
|
3847
|
+
function it(e) {
|
|
3848
3848
|
e.forEach(function(t) {
|
|
3849
3849
|
if (delete t.location, mr(t) || pr(t))
|
|
3850
3850
|
for (var r in t.options)
|
|
3851
|
-
delete t.options[r].location,
|
|
3851
|
+
delete t.options[r].location, it(t.options[r].value);
|
|
3852
3852
|
else
|
|
3853
|
-
hr(t) && br(t.style) || (cr(t) || fr(t)) &&
|
|
3853
|
+
hr(t) && br(t.style) || (cr(t) || fr(t)) && Ke(t.style) ? delete t.style.location : dr(t) && it(t.children);
|
|
3854
3854
|
});
|
|
3855
3855
|
}
|
|
3856
3856
|
function Li(e, t) {
|
|
3857
3857
|
t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3858
3858
|
var r = new Oi(e, t).parse();
|
|
3859
3859
|
if (r.err) {
|
|
3860
|
-
var n = SyntaxError(
|
|
3860
|
+
var n = SyntaxError(y[r.err.kind]);
|
|
3861
3861
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3862
3862
|
}
|
|
3863
|
-
return t != null && t.captureLocation ||
|
|
3863
|
+
return t != null && t.captureLocation || it(r.val), r.val;
|
|
3864
3864
|
}
|
|
3865
|
-
var
|
|
3865
|
+
var J;
|
|
3866
3866
|
(function(e) {
|
|
3867
3867
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3868
|
-
})(
|
|
3869
|
-
var
|
|
3868
|
+
})(J || (J = {}));
|
|
3869
|
+
var Pe = (
|
|
3870
3870
|
/** @class */
|
|
3871
3871
|
function(e) {
|
|
3872
|
-
|
|
3872
|
+
Ce(t, e);
|
|
3873
3873
|
function t(r, n, i) {
|
|
3874
3874
|
var o = e.call(this, r) || this;
|
|
3875
3875
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3881,30 +3881,30 @@ var Oe = (
|
|
|
3881
3881
|
), $t = (
|
|
3882
3882
|
/** @class */
|
|
3883
3883
|
function(e) {
|
|
3884
|
-
|
|
3884
|
+
Ce(t, e);
|
|
3885
3885
|
function t(r, n, i, o) {
|
|
3886
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3886
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3887
3887
|
}
|
|
3888
3888
|
return t;
|
|
3889
|
-
}(
|
|
3889
|
+
}(Pe)
|
|
3890
3890
|
), $i = (
|
|
3891
3891
|
/** @class */
|
|
3892
3892
|
function(e) {
|
|
3893
|
-
|
|
3893
|
+
Ce(t, e);
|
|
3894
3894
|
function t(r, n, i) {
|
|
3895
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3895
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3896
3896
|
}
|
|
3897
3897
|
return t;
|
|
3898
|
-
}(
|
|
3898
|
+
}(Pe)
|
|
3899
3899
|
), Ri = (
|
|
3900
3900
|
/** @class */
|
|
3901
3901
|
function(e) {
|
|
3902
|
-
|
|
3902
|
+
Ce(t, e);
|
|
3903
3903
|
function t(r, n) {
|
|
3904
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3904
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3905
3905
|
}
|
|
3906
3906
|
return t;
|
|
3907
|
-
}(
|
|
3907
|
+
}(Pe)
|
|
3908
3908
|
), P;
|
|
3909
3909
|
(function(e) {
|
|
3910
3910
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3954,79 +3954,79 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3954
3954
|
continue;
|
|
3955
3955
|
}
|
|
3956
3956
|
if (cr(h)) {
|
|
3957
|
-
var
|
|
3957
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
|
|
3958
3958
|
a.push({
|
|
3959
3959
|
type: P.literal,
|
|
3960
|
-
value: r.getDateTimeFormat(t,
|
|
3960
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3961
3961
|
});
|
|
3962
3962
|
continue;
|
|
3963
3963
|
}
|
|
3964
3964
|
if (fr(h)) {
|
|
3965
|
-
var
|
|
3965
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Ke(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3966
3966
|
a.push({
|
|
3967
3967
|
type: P.literal,
|
|
3968
|
-
value: r.getDateTimeFormat(t,
|
|
3968
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3969
3969
|
});
|
|
3970
3970
|
continue;
|
|
3971
3971
|
}
|
|
3972
3972
|
if (hr(h)) {
|
|
3973
|
-
var
|
|
3974
|
-
|
|
3973
|
+
var p = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
|
|
3974
|
+
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3975
3975
|
type: P.literal,
|
|
3976
|
-
value: r.getNumberFormat(t,
|
|
3976
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3977
3977
|
});
|
|
3978
3978
|
continue;
|
|
3979
3979
|
}
|
|
3980
3980
|
if (dr(h)) {
|
|
3981
|
-
var m = h.children,
|
|
3981
|
+
var m = h.children, d = h.value, g = i[d];
|
|
3982
3982
|
if (!Ui(g))
|
|
3983
|
-
throw new $i(
|
|
3984
|
-
var
|
|
3985
|
-
return
|
|
3983
|
+
throw new $i(d, "function", s);
|
|
3984
|
+
var A = ye(m, t, r, n, i, o), T = g(A.map(function(b) {
|
|
3985
|
+
return b.value;
|
|
3986
3986
|
}));
|
|
3987
|
-
Array.isArray(
|
|
3987
|
+
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(b) {
|
|
3988
3988
|
return {
|
|
3989
|
-
type: typeof
|
|
3990
|
-
value:
|
|
3989
|
+
type: typeof b == "string" ? P.literal : P.object,
|
|
3990
|
+
value: b
|
|
3991
3991
|
};
|
|
3992
3992
|
}));
|
|
3993
3993
|
}
|
|
3994
3994
|
if (mr(h)) {
|
|
3995
|
-
var
|
|
3996
|
-
if (!
|
|
3995
|
+
var x = h.options[f] || h.options.other;
|
|
3996
|
+
if (!x)
|
|
3997
3997
|
throw new $t(h.value, f, Object.keys(h.options), s);
|
|
3998
|
-
a.push.apply(a, ye(
|
|
3998
|
+
a.push.apply(a, ye(x.value, t, r, n, i));
|
|
3999
3999
|
continue;
|
|
4000
4000
|
}
|
|
4001
4001
|
if (pr(h)) {
|
|
4002
|
-
var
|
|
4003
|
-
if (!
|
|
4002
|
+
var x = h.options["=".concat(f)];
|
|
4003
|
+
if (!x) {
|
|
4004
4004
|
if (!Intl.PluralRules)
|
|
4005
|
-
throw new
|
|
4005
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
4006
4006
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4007
|
-
`,
|
|
4007
|
+
`, J.MISSING_INTL_API, s);
|
|
4008
4008
|
var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
4009
|
-
|
|
4009
|
+
x = h.options[E] || h.options.other;
|
|
4010
4010
|
}
|
|
4011
|
-
if (!
|
|
4011
|
+
if (!x)
|
|
4012
4012
|
throw new $t(h.value, f, Object.keys(h.options), s);
|
|
4013
|
-
a.push.apply(a, ye(
|
|
4013
|
+
a.push.apply(a, ye(x.value, t, r, n, i, f - (h.offset || 0)));
|
|
4014
4014
|
continue;
|
|
4015
4015
|
}
|
|
4016
4016
|
}
|
|
4017
4017
|
return Gi(a);
|
|
4018
4018
|
}
|
|
4019
4019
|
function Di(e, t) {
|
|
4020
|
-
return t ?
|
|
4021
|
-
return r[n] =
|
|
4020
|
+
return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4021
|
+
return r[n] = L(L({}, e[n]), t[n] || {}), r;
|
|
4022
4022
|
}, {})) : e;
|
|
4023
4023
|
}
|
|
4024
4024
|
function Fi(e, t) {
|
|
4025
4025
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4026
4026
|
return r[n] = Di(e[n], t[n]), r;
|
|
4027
|
-
},
|
|
4027
|
+
}, L({}, e)) : e;
|
|
4028
4028
|
}
|
|
4029
|
-
function
|
|
4029
|
+
function Fe(e) {
|
|
4030
4030
|
return {
|
|
4031
4031
|
create: function() {
|
|
4032
4032
|
return {
|
|
@@ -4046,29 +4046,29 @@ function ji(e) {
|
|
|
4046
4046
|
dateTime: {},
|
|
4047
4047
|
pluralRules: {}
|
|
4048
4048
|
}), {
|
|
4049
|
-
getNumberFormat:
|
|
4049
|
+
getNumberFormat: Ge(function() {
|
|
4050
4050
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4051
4051
|
r[n] = arguments[n];
|
|
4052
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4052
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
4053
4053
|
}, {
|
|
4054
|
-
cache:
|
|
4055
|
-
strategy:
|
|
4054
|
+
cache: Fe(e.number),
|
|
4055
|
+
strategy: Ue.variadic
|
|
4056
4056
|
}),
|
|
4057
|
-
getDateTimeFormat:
|
|
4057
|
+
getDateTimeFormat: Ge(function() {
|
|
4058
4058
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4059
4059
|
r[n] = arguments[n];
|
|
4060
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4060
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
4061
4061
|
}, {
|
|
4062
|
-
cache:
|
|
4063
|
-
strategy:
|
|
4062
|
+
cache: Fe(e.dateTime),
|
|
4063
|
+
strategy: Ue.variadic
|
|
4064
4064
|
}),
|
|
4065
|
-
getPluralRules:
|
|
4065
|
+
getPluralRules: Ge(function() {
|
|
4066
4066
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4067
4067
|
r[n] = arguments[n];
|
|
4068
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4068
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
|
|
4069
4069
|
}, {
|
|
4070
|
-
cache:
|
|
4071
|
-
strategy:
|
|
4070
|
+
cache: Fe(e.pluralRules),
|
|
4071
|
+
strategy: Ue.variadic
|
|
4072
4072
|
})
|
|
4073
4073
|
};
|
|
4074
4074
|
}
|
|
@@ -4105,7 +4105,7 @@ var ki = (
|
|
|
4105
4105
|
var s = i || {};
|
|
4106
4106
|
s.formatters;
|
|
4107
4107
|
var a = Yn(s, ["formatters"]);
|
|
4108
|
-
this.ast = e.__parse(t,
|
|
4108
|
+
this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
|
|
4109
4109
|
} else
|
|
4110
4110
|
this.ast = t;
|
|
4111
4111
|
if (!Array.isArray(this.ast))
|
|
@@ -4205,12 +4205,12 @@ function Vi(e, t) {
|
|
|
4205
4205
|
n = void 0;
|
|
4206
4206
|
return n;
|
|
4207
4207
|
}
|
|
4208
|
-
const
|
|
4208
|
+
const G = {}, Xi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Sr = (e, t) => {
|
|
4209
4209
|
if (t == null)
|
|
4210
4210
|
return;
|
|
4211
|
-
if (t in
|
|
4212
|
-
return
|
|
4213
|
-
const r =
|
|
4211
|
+
if (t in G && e in G[t])
|
|
4212
|
+
return G[t][e];
|
|
4213
|
+
const r = Oe(t);
|
|
4214
4214
|
for (let n = 0; n < r.length; n++) {
|
|
4215
4215
|
const i = r[n], o = Wi(i, e);
|
|
4216
4216
|
if (o)
|
|
@@ -4218,7 +4218,7 @@ const U = {}, Xi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][
|
|
|
4218
4218
|
}
|
|
4219
4219
|
};
|
|
4220
4220
|
let ht;
|
|
4221
|
-
const
|
|
4221
|
+
const he = Be({});
|
|
4222
4222
|
function zi(e) {
|
|
4223
4223
|
return ht[e] || null;
|
|
4224
4224
|
}
|
|
@@ -4234,7 +4234,7 @@ function Wi(e, t) {
|
|
|
4234
4234
|
function Zi(e) {
|
|
4235
4235
|
if (e == null)
|
|
4236
4236
|
return;
|
|
4237
|
-
const t =
|
|
4237
|
+
const t = Oe(e);
|
|
4238
4238
|
for (let r = 0; r < t.length; r++) {
|
|
4239
4239
|
const n = t[r];
|
|
4240
4240
|
if (Tr(n))
|
|
@@ -4242,31 +4242,31 @@ function Zi(e) {
|
|
|
4242
4242
|
}
|
|
4243
4243
|
}
|
|
4244
4244
|
function Hr(e, ...t) {
|
|
4245
|
-
delete
|
|
4245
|
+
delete G[e], he.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
|
|
4246
4246
|
}
|
|
4247
|
-
|
|
4248
|
-
[
|
|
4247
|
+
Y(
|
|
4248
|
+
[he],
|
|
4249
4249
|
([e]) => Object.keys(e)
|
|
4250
4250
|
);
|
|
4251
|
-
|
|
4251
|
+
he.subscribe((e) => ht = e);
|
|
4252
4252
|
const ve = {};
|
|
4253
4253
|
function Qi(e, t) {
|
|
4254
4254
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
4255
4255
|
}
|
|
4256
|
-
function
|
|
4256
|
+
function Ar(e) {
|
|
4257
4257
|
return ve[e];
|
|
4258
4258
|
}
|
|
4259
4259
|
function Ji(e) {
|
|
4260
|
-
return
|
|
4261
|
-
const r =
|
|
4260
|
+
return Oe(e).map((t) => {
|
|
4261
|
+
const r = Ar(t);
|
|
4262
4262
|
return [t, r ? [...r] : []];
|
|
4263
4263
|
}).filter(([, t]) => t.length > 0);
|
|
4264
4264
|
}
|
|
4265
|
-
function
|
|
4266
|
-
return e == null ? !1 :
|
|
4265
|
+
function ot(e) {
|
|
4266
|
+
return e == null ? !1 : Oe(e).some(
|
|
4267
4267
|
(t) => {
|
|
4268
4268
|
var r;
|
|
4269
|
-
return (r =
|
|
4269
|
+
return (r = Ar(t)) == null ? void 0 : r.size;
|
|
4270
4270
|
}
|
|
4271
4271
|
);
|
|
4272
4272
|
}
|
|
@@ -4275,20 +4275,20 @@ function qi(e, t) {
|
|
|
4275
4275
|
t.map((n) => (Qi(e, n), n().then((i) => i.default || i)))
|
|
4276
4276
|
).then((n) => Hr(e, ...n));
|
|
4277
4277
|
}
|
|
4278
|
-
const
|
|
4279
|
-
function
|
|
4280
|
-
if (!
|
|
4281
|
-
return e in
|
|
4278
|
+
const re = {};
|
|
4279
|
+
function Br(e) {
|
|
4280
|
+
if (!ot(e))
|
|
4281
|
+
return e in re ? re[e] : Promise.resolve();
|
|
4282
4282
|
const t = Ji(e);
|
|
4283
|
-
return
|
|
4283
|
+
return re[e] = Promise.all(
|
|
4284
4284
|
t.map(
|
|
4285
4285
|
([r, n]) => qi(r, n)
|
|
4286
4286
|
)
|
|
4287
4287
|
).then(() => {
|
|
4288
|
-
if (
|
|
4289
|
-
return
|
|
4290
|
-
delete
|
|
4291
|
-
}),
|
|
4288
|
+
if (ot(e))
|
|
4289
|
+
return Br(e);
|
|
4290
|
+
delete re[e];
|
|
4291
|
+
}), re[e];
|
|
4292
4292
|
}
|
|
4293
4293
|
const Yi = {
|
|
4294
4294
|
number: {
|
|
@@ -4327,10 +4327,10 @@ const Yi = {
|
|
|
4327
4327
|
handleMissingMessage: void 0,
|
|
4328
4328
|
ignoreTag: !0
|
|
4329
4329
|
}, eo = Ki;
|
|
4330
|
-
function
|
|
4330
|
+
function q() {
|
|
4331
4331
|
return eo;
|
|
4332
4332
|
}
|
|
4333
|
-
const
|
|
4333
|
+
const je = Be(!1);
|
|
4334
4334
|
var to = Object.defineProperty, ro = Object.defineProperties, no = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, so = (e, t) => {
|
|
4335
4335
|
for (var r in t || (t = {}))
|
|
4336
4336
|
io.call(t, r) && Gt(e, r, t[r]);
|
|
@@ -4339,113 +4339,113 @@ var to = Object.defineProperty, ro = Object.defineProperties, no = Object.getOwn
|
|
|
4339
4339
|
oo.call(t, r) && Gt(e, r, t[r]);
|
|
4340
4340
|
return e;
|
|
4341
4341
|
}, ao = (e, t) => ro(e, no(t));
|
|
4342
|
-
let
|
|
4343
|
-
const
|
|
4342
|
+
let st;
|
|
4343
|
+
const Se = Be(null);
|
|
4344
4344
|
function Ut(e) {
|
|
4345
4345
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4346
4346
|
}
|
|
4347
|
-
function
|
|
4347
|
+
function Oe(e, t = q().fallbackLocale) {
|
|
4348
4348
|
const r = Ut(e);
|
|
4349
4349
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
|
4350
4350
|
}
|
|
4351
|
-
function
|
|
4352
|
-
return
|
|
4351
|
+
function F() {
|
|
4352
|
+
return st != null ? st : void 0;
|
|
4353
4353
|
}
|
|
4354
|
-
|
|
4355
|
-
|
|
4354
|
+
Se.subscribe((e) => {
|
|
4355
|
+
st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4356
4356
|
});
|
|
4357
4357
|
const uo = (e) => {
|
|
4358
|
-
if (e && Zi(e) &&
|
|
4359
|
-
const { loadingDelay: t } =
|
|
4358
|
+
if (e && Zi(e) && ot(e)) {
|
|
4359
|
+
const { loadingDelay: t } = q();
|
|
4360
4360
|
let r;
|
|
4361
|
-
return typeof window != "undefined" &&
|
|
4362
|
-
() =>
|
|
4361
|
+
return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
|
|
4362
|
+
() => je.set(!0),
|
|
4363
4363
|
t
|
|
4364
|
-
) :
|
|
4365
|
-
|
|
4364
|
+
) : je.set(!0), Br(e).then(() => {
|
|
4365
|
+
Se.set(e);
|
|
4366
4366
|
}).finally(() => {
|
|
4367
|
-
clearTimeout(r),
|
|
4367
|
+
clearTimeout(r), je.set(!1);
|
|
4368
4368
|
});
|
|
4369
4369
|
}
|
|
4370
|
-
return
|
|
4371
|
-
},
|
|
4370
|
+
return Se.set(e);
|
|
4371
|
+
}, K = ao(so({}, Se), {
|
|
4372
4372
|
set: uo
|
|
4373
|
-
}),
|
|
4373
|
+
}), Ie = (e) => {
|
|
4374
4374
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4375
4375
|
return (n) => {
|
|
4376
4376
|
const i = JSON.stringify(n);
|
|
4377
4377
|
return i in t ? t[i] : t[i] = e(n);
|
|
4378
4378
|
};
|
|
4379
4379
|
};
|
|
4380
|
-
var lo = Object.defineProperty,
|
|
4380
|
+
var lo = Object.defineProperty, Te = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
|
|
4381
4381
|
for (var r in t || (t = {}))
|
|
4382
4382
|
Cr.call(t, r) && Dt(e, r, t[r]);
|
|
4383
|
-
if (
|
|
4384
|
-
for (var r of
|
|
4383
|
+
if (Te)
|
|
4384
|
+
for (var r of Te(t))
|
|
4385
4385
|
Pr.call(t, r) && Dt(e, r, t[r]);
|
|
4386
4386
|
return e;
|
|
4387
|
-
},
|
|
4387
|
+
}, ee = (e, t) => {
|
|
4388
4388
|
var r = {};
|
|
4389
4389
|
for (var n in e)
|
|
4390
4390
|
Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4391
|
-
if (e != null &&
|
|
4392
|
-
for (var n of
|
|
4391
|
+
if (e != null && Te)
|
|
4392
|
+
for (var n of Te(e))
|
|
4393
4393
|
t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
|
|
4394
4394
|
return r;
|
|
4395
4395
|
};
|
|
4396
|
-
const
|
|
4397
|
-
const { formats: r } =
|
|
4396
|
+
const se = (e, t) => {
|
|
4397
|
+
const { formats: r } = q();
|
|
4398
4398
|
if (e in r && t in r[e])
|
|
4399
4399
|
return r[e][t];
|
|
4400
4400
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4401
|
-
}, ho =
|
|
4401
|
+
}, ho = Ie(
|
|
4402
4402
|
(e) => {
|
|
4403
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4403
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4404
4404
|
if (r == null)
|
|
4405
4405
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4406
|
-
return n && (i =
|
|
4406
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4407
4407
|
}
|
|
4408
|
-
), co =
|
|
4408
|
+
), co = Ie(
|
|
4409
4409
|
(e) => {
|
|
4410
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4410
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4411
4411
|
if (r == null)
|
|
4412
4412
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4413
|
-
return n ? i =
|
|
4413
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4414
4414
|
}
|
|
4415
|
-
), fo =
|
|
4415
|
+
), fo = Ie(
|
|
4416
4416
|
(e) => {
|
|
4417
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4417
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4418
4418
|
if (r == null)
|
|
4419
4419
|
throw new Error(
|
|
4420
4420
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4421
4421
|
);
|
|
4422
|
-
return n ? i =
|
|
4422
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4423
4423
|
}
|
|
4424
4424
|
), mo = (e = {}) => {
|
|
4425
4425
|
var t = e, {
|
|
4426
|
-
locale: r =
|
|
4427
|
-
} = t, n =
|
|
4426
|
+
locale: r = F()
|
|
4427
|
+
} = t, n = ee(t, [
|
|
4428
4428
|
"locale"
|
|
4429
4429
|
]);
|
|
4430
4430
|
return ho(ct({ locale: r }, n));
|
|
4431
4431
|
}, po = (e = {}) => {
|
|
4432
4432
|
var t = e, {
|
|
4433
|
-
locale: r =
|
|
4434
|
-
} = t, n =
|
|
4433
|
+
locale: r = F()
|
|
4434
|
+
} = t, n = ee(t, [
|
|
4435
4435
|
"locale"
|
|
4436
4436
|
]);
|
|
4437
4437
|
return co(ct({ locale: r }, n));
|
|
4438
4438
|
}, bo = (e = {}) => {
|
|
4439
4439
|
var t = e, {
|
|
4440
|
-
locale: r =
|
|
4441
|
-
} = t, n =
|
|
4440
|
+
locale: r = F()
|
|
4441
|
+
} = t, n = ee(t, [
|
|
4442
4442
|
"locale"
|
|
4443
4443
|
]);
|
|
4444
4444
|
return fo(ct({ locale: r }, n));
|
|
4445
|
-
}, go =
|
|
4445
|
+
}, go = Ie(
|
|
4446
4446
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4447
|
-
(e, t =
|
|
4448
|
-
ignoreTag:
|
|
4447
|
+
(e, t = F()) => new ki(e, t, q().formats, {
|
|
4448
|
+
ignoreTag: q().ignoreTag
|
|
4449
4449
|
})
|
|
4450
4450
|
), yo = (e, t = {}) => {
|
|
4451
4451
|
var r, n, i, o;
|
|
@@ -4453,16 +4453,16 @@ const ue = (e, t) => {
|
|
|
4453
4453
|
typeof e == "object" && (s = e, e = s.id);
|
|
4454
4454
|
const {
|
|
4455
4455
|
values: a,
|
|
4456
|
-
locale: l =
|
|
4456
|
+
locale: l = F(),
|
|
4457
4457
|
default: u
|
|
4458
4458
|
} = s;
|
|
4459
4459
|
if (l == null)
|
|
4460
4460
|
throw new Error(
|
|
4461
4461
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4462
4462
|
);
|
|
4463
|
-
let h =
|
|
4463
|
+
let h = Sr(e, l);
|
|
4464
4464
|
if (!h)
|
|
4465
|
-
h = (o = (i = (n = (r =
|
|
4465
|
+
h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4466
4466
|
else if (typeof h != "string")
|
|
4467
4467
|
return console.warn(
|
|
4468
4468
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4479,13 +4479,13 @@ const ue = (e, t) => {
|
|
|
4479
4479
|
);
|
|
4480
4480
|
}
|
|
4481
4481
|
return c;
|
|
4482
|
-
}, vo = (e, t) => bo(t).format(e), _o = (e, t) => po(t).format(e), xo = (e, t) => mo(t).format(e), Eo = (e, t =
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4486
|
-
|
|
4482
|
+
}, vo = (e, t) => bo(t).format(e), _o = (e, t) => po(t).format(e), xo = (e, t) => mo(t).format(e), Eo = (e, t = F()) => Sr(e, t), wo = Y([K, he], () => yo);
|
|
4483
|
+
Y([K], () => vo);
|
|
4484
|
+
Y([K], () => _o);
|
|
4485
|
+
Y([K], () => xo);
|
|
4486
|
+
Y([K, he], () => Eo);
|
|
4487
4487
|
window.emWidgets = { topic: Nn };
|
|
4488
|
-
const
|
|
4488
|
+
const So = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4489
4489
|
function To(e, t) {
|
|
4490
4490
|
if (e) {
|
|
4491
4491
|
const r = document.createElement("style");
|
|
@@ -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 Ao(e, t, r) {
|
|
4505
4505
|
if (window.emMessageBus) {
|
|
4506
4506
|
const n = document.createElement("style");
|
|
4507
4507
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4512,8 +4512,8 @@ function Bo(e, t, r) {
|
|
|
4512
4512
|
function Ft(e, t) {
|
|
4513
4513
|
Hr(e, t);
|
|
4514
4514
|
}
|
|
4515
|
-
function
|
|
4516
|
-
|
|
4515
|
+
function Bo(e) {
|
|
4516
|
+
K.set(e);
|
|
4517
4517
|
}
|
|
4518
4518
|
const jt = {
|
|
4519
4519
|
en: {
|
|
@@ -4562,7 +4562,7 @@ const jt = {
|
|
|
4562
4562
|
}
|
|
4563
4563
|
};
|
|
4564
4564
|
function Co(e) {
|
|
4565
|
-
Qr(e, "svelte-
|
|
4565
|
+
Qr(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
4567
|
const Po = (e) => ({}), kt = (e) => ({});
|
|
4568
4568
|
function Oo(e) {
|
|
@@ -4572,11 +4572,11 @@ function Oo(e) {
|
|
|
4572
4572
|
t = yt("svg"), r = yt("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4573
4573
|
},
|
|
4574
4574
|
m(n, i) {
|
|
4575
|
-
|
|
4575
|
+
ae(n, t, i), C(t, r);
|
|
4576
4576
|
},
|
|
4577
|
-
p:
|
|
4577
|
+
p: N,
|
|
4578
4578
|
d(n) {
|
|
4579
|
-
n &&
|
|
4579
|
+
n && D(t);
|
|
4580
4580
|
}
|
|
4581
4581
|
};
|
|
4582
4582
|
}
|
|
@@ -4584,24 +4584,24 @@ function Vt(e) {
|
|
|
4584
4584
|
let t, r, n;
|
|
4585
4585
|
return {
|
|
4586
4586
|
c() {
|
|
4587
|
-
t =
|
|
4587
|
+
t = M("div"), r = M("h2"), n = ue(
|
|
4588
4588
|
/*modaltitle*/
|
|
4589
4589
|
e[1]
|
|
4590
4590
|
), H(t, "class", "GeneralConfirmationTitle");
|
|
4591
4591
|
},
|
|
4592
4592
|
m(i, o) {
|
|
4593
|
-
|
|
4593
|
+
ae(i, t, o), C(t, r), C(r, n);
|
|
4594
4594
|
},
|
|
4595
4595
|
p(i, o) {
|
|
4596
4596
|
o & /*modaltitle*/
|
|
4597
|
-
2 &&
|
|
4597
|
+
2 && lt(
|
|
4598
4598
|
n,
|
|
4599
4599
|
/*modaltitle*/
|
|
4600
4600
|
i[1]
|
|
4601
4601
|
);
|
|
4602
4602
|
},
|
|
4603
4603
|
d(i) {
|
|
4604
|
-
i &&
|
|
4604
|
+
i && D(t);
|
|
4605
4605
|
}
|
|
4606
4606
|
};
|
|
4607
4607
|
}
|
|
@@ -4612,10 +4612,10 @@ function Xt(e) {
|
|
|
4612
4612
|
), n, i, o;
|
|
4613
4613
|
return {
|
|
4614
4614
|
c() {
|
|
4615
|
-
t =
|
|
4615
|
+
t = M("button"), n = ue(r), H(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*/
|
|
@@ -4625,161 +4625,156 @@ function Xt(e) {
|
|
|
4625
4625
|
p(s, a) {
|
|
4626
4626
|
a & /*$_*/
|
|
4627
4627
|
16 && r !== (r = /*$_*/
|
|
4628
|
-
s[4]("cancel") + "") &&
|
|
4628
|
+
s[4]("cancel") + "") && lt(n, r);
|
|
4629
4629
|
},
|
|
4630
4630
|
d(s) {
|
|
4631
|
-
s &&
|
|
4631
|
+
s && D(t), i = !1, o();
|
|
4632
4632
|
}
|
|
4633
4633
|
};
|
|
4634
4634
|
}
|
|
4635
4635
|
function Io(e) {
|
|
4636
|
-
let t, r, n, i, o, s, a, l, u, h, c
|
|
4636
|
+
let t, r, n, i, o, s, a, l, u, h, c = (
|
|
4637
4637
|
/*$_*/
|
|
4638
4638
|
e[4]("confirm") + ""
|
|
4639
|
-
),
|
|
4640
|
-
const
|
|
4639
|
+
), f, p, m, d;
|
|
4640
|
+
const g = (
|
|
4641
4641
|
/*#slots*/
|
|
4642
4642
|
e[16].close
|
|
4643
4643
|
), A = kr(
|
|
4644
|
-
|
|
4644
|
+
g,
|
|
4645
4645
|
e,
|
|
4646
4646
|
/*$$scope*/
|
|
4647
4647
|
e[15],
|
|
4648
4648
|
kt
|
|
4649
|
-
),
|
|
4650
|
-
let
|
|
4649
|
+
), T = A || Oo();
|
|
4650
|
+
let x = (
|
|
4651
4651
|
/*modaltitle*/
|
|
4652
4652
|
e[1] && Vt(e)
|
|
4653
|
-
),
|
|
4653
|
+
), E = (
|
|
4654
4654
|
/*hascancelbutton*/
|
|
4655
4655
|
e[2] && Xt(e)
|
|
4656
4656
|
);
|
|
4657
4657
|
return {
|
|
4658
4658
|
c() {
|
|
4659
|
-
t =
|
|
4660
|
-
/*modaltext*/
|
|
4661
|
-
e[0]
|
|
4662
|
-
), l = fe(), u = N("div"), x && x.c(), h = fe(), c = N("button"), d = Q(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4659
|
+
t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = fe(), x && x.c(), o = fe(), s = M("div"), a = fe(), l = M("div"), E && E.c(), u = fe(), h = M("button"), f = ue(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
|
|
4663
4660
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4664
4661
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4665
4662
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4666
4663
|
},
|
|
4667
|
-
m(
|
|
4668
|
-
|
|
4669
|
-
|
|
4664
|
+
m(b, B) {
|
|
4665
|
+
ae(b, t, B), C(t, r), C(r, n), T && T.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
|
|
4666
|
+
e[0], C(r, a), C(r, l), E && E.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), p = !0, m || (d = [
|
|
4667
|
+
ke(
|
|
4670
4668
|
n,
|
|
4671
4669
|
"click",
|
|
4672
4670
|
/*close*/
|
|
4673
4671
|
e[6]
|
|
4674
4672
|
),
|
|
4675
|
-
|
|
4676
|
-
|
|
4673
|
+
ke(
|
|
4674
|
+
h,
|
|
4677
4675
|
"click",
|
|
4678
4676
|
/*click_handler_1*/
|
|
4679
4677
|
e[18]
|
|
4680
4678
|
)
|
|
4681
|
-
],
|
|
4679
|
+
], m = !0);
|
|
4682
4680
|
},
|
|
4683
|
-
p(
|
|
4684
|
-
A && A.p && (!
|
|
4681
|
+
p(b, [B]) {
|
|
4682
|
+
A && A.p && (!p || B & /*$$scope*/
|
|
4685
4683
|
32768) && Xr(
|
|
4686
4684
|
A,
|
|
4687
|
-
|
|
4688
|
-
|
|
4685
|
+
g,
|
|
4686
|
+
b,
|
|
4689
4687
|
/*$$scope*/
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4688
|
+
b[15],
|
|
4689
|
+
p ? Vr(
|
|
4690
|
+
g,
|
|
4693
4691
|
/*$$scope*/
|
|
4694
|
-
|
|
4695
|
-
|
|
4692
|
+
b[15],
|
|
4693
|
+
B,
|
|
4696
4694
|
Po
|
|
4697
4695
|
) : zr(
|
|
4698
4696
|
/*$$scope*/
|
|
4699
|
-
|
|
4697
|
+
b[15]
|
|
4700
4698
|
),
|
|
4701
4699
|
kt
|
|
4702
4700
|
), /*modaltitle*/
|
|
4703
|
-
|
|
4704
|
-
1) &&
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
),
|
|
4709
|
-
_[2] ? x ? x.p(_, O) : (x = Xt(_), x.c(), x.m(u, h)) : x && (x.d(1), x = null), (!m || O & /*$_*/
|
|
4710
|
-
16) && f !== (f = /*$_*/
|
|
4711
|
-
_[4]("confirm") + "") && _e(d, f);
|
|
4701
|
+
b[1] ? x ? x.p(b, B) : (x = Vt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!p || B & /*modaltext*/
|
|
4702
|
+
1) && (s.innerHTML = /*modaltext*/
|
|
4703
|
+
b[0]), /*hascancelbutton*/
|
|
4704
|
+
b[2] ? E ? E.p(b, B) : (E = Xt(b), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!p || B & /*$_*/
|
|
4705
|
+
16) && c !== (c = /*$_*/
|
|
4706
|
+
b[4]("confirm") + "") && lt(f, c);
|
|
4712
4707
|
},
|
|
4713
|
-
i(
|
|
4714
|
-
|
|
4708
|
+
i(b) {
|
|
4709
|
+
p || (Kt(T, b), p = !0);
|
|
4715
4710
|
},
|
|
4716
|
-
o(
|
|
4717
|
-
fn(
|
|
4711
|
+
o(b) {
|
|
4712
|
+
fn(T, b), p = !1;
|
|
4718
4713
|
},
|
|
4719
|
-
d(
|
|
4720
|
-
|
|
4714
|
+
d(b) {
|
|
4715
|
+
b && D(t), T && T.d(b), x && x.d(), E && E.d(), e[19](null), m = !1, U(d);
|
|
4721
4716
|
}
|
|
4722
4717
|
};
|
|
4723
4718
|
}
|
|
4724
4719
|
function Mo(e, t, r) {
|
|
4725
4720
|
let n;
|
|
4726
|
-
jr(e,
|
|
4727
|
-
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, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl:
|
|
4728
|
-
const
|
|
4721
|
+
jr(e, wo, (v) => r(4, n = v));
|
|
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, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: m = "" } = t, { mbsource: d } = t, g, A = window.navigator.userAgent, T = So(A) !== "PC";
|
|
4723
|
+
const x = () => {
|
|
4729
4724
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4730
|
-
}, E = (
|
|
4731
|
-
|
|
4732
|
-
},
|
|
4733
|
-
fetch(m).then((
|
|
4734
|
-
Object.keys(
|
|
4735
|
-
Ft(ft,
|
|
4725
|
+
}, E = (v) => {
|
|
4726
|
+
v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
|
|
4727
|
+
}, b = () => {
|
|
4728
|
+
fetch(m).then((j) => j.json()).then((j) => {
|
|
4729
|
+
Object.keys(j).forEach((ft) => {
|
|
4730
|
+
Ft(ft, j[ft]);
|
|
4736
4731
|
});
|
|
4737
|
-
}).catch((
|
|
4738
|
-
console.log(
|
|
4732
|
+
}).catch((j) => {
|
|
4733
|
+
console.log(j);
|
|
4739
4734
|
});
|
|
4740
4735
|
};
|
|
4741
|
-
Object.keys(jt).forEach((
|
|
4742
|
-
Ft(
|
|
4736
|
+
Object.keys(jt).forEach((v) => {
|
|
4737
|
+
Ft(v, jt[v]);
|
|
4743
4738
|
});
|
|
4744
|
-
const
|
|
4745
|
-
|
|
4739
|
+
const B = () => {
|
|
4740
|
+
Bo(c);
|
|
4746
4741
|
};
|
|
4747
4742
|
sn(() => () => {
|
|
4748
4743
|
});
|
|
4749
|
-
const
|
|
4750
|
-
function Mr(
|
|
4751
|
-
|
|
4752
|
-
g =
|
|
4744
|
+
const ce = () => E("cancel"), Ir = () => E("confirm");
|
|
4745
|
+
function Mr(v) {
|
|
4746
|
+
Ve[v ? "unshift" : "push"](() => {
|
|
4747
|
+
g = v, r(3, g);
|
|
4753
4748
|
});
|
|
4754
4749
|
}
|
|
4755
|
-
return e.$$set = (
|
|
4756
|
-
"modaltext" in
|
|
4750
|
+
return e.$$set = (v) => {
|
|
4751
|
+
"modaltext" in v && r(0, s = v.modaltext), "modaltitle" in v && r(1, a = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12, p = v.clientstylingurl), "translationurl" in v && r(13, m = v.translationurl), "mbsource" in v && r(14, d = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
|
|
4757
4752
|
}, e.$$.update = () => {
|
|
4758
4753
|
e.$$.dirty & /*modaltext, lang*/
|
|
4759
|
-
1025 && s && c &&
|
|
4754
|
+
1025 && s && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4760
4755
|
2056 && f && g && To(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4761
|
-
4104 &&
|
|
4762
|
-
16392 &&
|
|
4763
|
-
8192 && m &&
|
|
4756
|
+
4104 && p && g && Ho(g, p), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4757
|
+
16392 && d && g && Ao(g, `${d}.Style`), e.$$.dirty & /*translationurl*/
|
|
4758
|
+
8192 && m && b();
|
|
4764
4759
|
}, [
|
|
4765
4760
|
s,
|
|
4766
4761
|
a,
|
|
4767
4762
|
l,
|
|
4768
4763
|
g,
|
|
4769
4764
|
n,
|
|
4770
|
-
|
|
4771
|
-
|
|
4765
|
+
T,
|
|
4766
|
+
x,
|
|
4772
4767
|
E,
|
|
4773
4768
|
u,
|
|
4774
4769
|
h,
|
|
4775
4770
|
c,
|
|
4776
4771
|
f,
|
|
4777
|
-
d,
|
|
4778
|
-
m,
|
|
4779
4772
|
p,
|
|
4773
|
+
m,
|
|
4774
|
+
d,
|
|
4780
4775
|
o,
|
|
4781
4776
|
i,
|
|
4782
|
-
|
|
4777
|
+
ce,
|
|
4783
4778
|
Ir,
|
|
4784
4779
|
Mr
|
|
4785
4780
|
];
|
|
@@ -4811,61 +4806,61 @@ class Or extends vn {
|
|
|
4811
4806
|
return this.$$.ctx[0];
|
|
4812
4807
|
}
|
|
4813
4808
|
set modaltext(t) {
|
|
4814
|
-
this.$$set({ modaltext: t }),
|
|
4809
|
+
this.$$set({ modaltext: t }), I();
|
|
4815
4810
|
}
|
|
4816
4811
|
get modaltitle() {
|
|
4817
4812
|
return this.$$.ctx[1];
|
|
4818
4813
|
}
|
|
4819
4814
|
set modaltitle(t) {
|
|
4820
|
-
this.$$set({ modaltitle: t }),
|
|
4815
|
+
this.$$set({ modaltitle: t }), I();
|
|
4821
4816
|
}
|
|
4822
4817
|
get hascancelbutton() {
|
|
4823
4818
|
return this.$$.ctx[2];
|
|
4824
4819
|
}
|
|
4825
4820
|
set hascancelbutton(t) {
|
|
4826
|
-
this.$$set({ hascancelbutton: t }),
|
|
4821
|
+
this.$$set({ hascancelbutton: t }), I();
|
|
4827
4822
|
}
|
|
4828
4823
|
get modalconfirmevent() {
|
|
4829
4824
|
return this.$$.ctx[8];
|
|
4830
4825
|
}
|
|
4831
4826
|
set modalconfirmevent(t) {
|
|
4832
|
-
this.$$set({ modalconfirmevent: t }),
|
|
4827
|
+
this.$$set({ modalconfirmevent: t }), I();
|
|
4833
4828
|
}
|
|
4834
4829
|
get modalcancelevent() {
|
|
4835
4830
|
return this.$$.ctx[9];
|
|
4836
4831
|
}
|
|
4837
4832
|
set modalcancelevent(t) {
|
|
4838
|
-
this.$$set({ modalcancelevent: t }),
|
|
4833
|
+
this.$$set({ modalcancelevent: t }), I();
|
|
4839
4834
|
}
|
|
4840
4835
|
get lang() {
|
|
4841
4836
|
return this.$$.ctx[10];
|
|
4842
4837
|
}
|
|
4843
4838
|
set lang(t) {
|
|
4844
|
-
this.$$set({ lang: t }),
|
|
4839
|
+
this.$$set({ lang: t }), I();
|
|
4845
4840
|
}
|
|
4846
4841
|
get clientstyling() {
|
|
4847
4842
|
return this.$$.ctx[11];
|
|
4848
4843
|
}
|
|
4849
4844
|
set clientstyling(t) {
|
|
4850
|
-
this.$$set({ clientstyling: t }),
|
|
4845
|
+
this.$$set({ clientstyling: t }), I();
|
|
4851
4846
|
}
|
|
4852
4847
|
get clientstylingurl() {
|
|
4853
4848
|
return this.$$.ctx[12];
|
|
4854
4849
|
}
|
|
4855
4850
|
set clientstylingurl(t) {
|
|
4856
|
-
this.$$set({ clientstylingurl: t }),
|
|
4851
|
+
this.$$set({ clientstylingurl: t }), I();
|
|
4857
4852
|
}
|
|
4858
4853
|
get translationurl() {
|
|
4859
4854
|
return this.$$.ctx[13];
|
|
4860
4855
|
}
|
|
4861
4856
|
set translationurl(t) {
|
|
4862
|
-
this.$$set({ translationurl: t }),
|
|
4857
|
+
this.$$set({ translationurl: t }), I();
|
|
4863
4858
|
}
|
|
4864
4859
|
get mbsource() {
|
|
4865
4860
|
return this.$$.ctx[14];
|
|
4866
4861
|
}
|
|
4867
4862
|
set mbsource(t) {
|
|
4868
|
-
this.$$set({ mbsource: t }),
|
|
4863
|
+
this.$$set({ mbsource: t }), I();
|
|
4869
4864
|
}
|
|
4870
4865
|
}
|
|
4871
4866
|
yn(Or, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
@@ -4874,52 +4869,52 @@ const Xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4874
4869
|
default: Or
|
|
4875
4870
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4876
4871
|
export {
|
|
4877
|
-
|
|
4872
|
+
K as $,
|
|
4878
4873
|
yn as A,
|
|
4879
4874
|
Vo as B,
|
|
4880
4875
|
$n as C,
|
|
4881
4876
|
Hr as D,
|
|
4882
|
-
|
|
4877
|
+
N as E,
|
|
4883
4878
|
jr as F,
|
|
4884
|
-
|
|
4879
|
+
So as G,
|
|
4885
4880
|
fe as H,
|
|
4886
4881
|
Ro as I,
|
|
4887
4882
|
Go as J,
|
|
4888
4883
|
ko as K,
|
|
4889
4884
|
Lo as L,
|
|
4890
|
-
|
|
4891
|
-
|
|
4885
|
+
U as M,
|
|
4886
|
+
lt as N,
|
|
4892
4887
|
Uo as O,
|
|
4893
|
-
|
|
4894
|
-
Q,
|
|
4888
|
+
ke as P,
|
|
4889
|
+
ue as Q,
|
|
4895
4890
|
yt as R,
|
|
4896
4891
|
vn as S,
|
|
4897
|
-
|
|
4892
|
+
wo as T,
|
|
4898
4893
|
Xo as U,
|
|
4899
4894
|
gn as a,
|
|
4900
4895
|
Qr as b,
|
|
4901
4896
|
Kt as c,
|
|
4902
|
-
|
|
4897
|
+
D as d,
|
|
4903
4898
|
Fo as e,
|
|
4904
|
-
|
|
4905
|
-
|
|
4899
|
+
I as f,
|
|
4900
|
+
ae as g,
|
|
4906
4901
|
$o as h,
|
|
4907
4902
|
Ur as i,
|
|
4908
4903
|
kr as j,
|
|
4909
4904
|
jo as k,
|
|
4910
|
-
|
|
4905
|
+
Ee as l,
|
|
4911
4906
|
zr as m,
|
|
4912
4907
|
Vr as n,
|
|
4913
4908
|
sn as o,
|
|
4914
4909
|
C as p,
|
|
4915
|
-
|
|
4910
|
+
M as q,
|
|
4916
4911
|
H as r,
|
|
4917
4912
|
Wt as s,
|
|
4918
4913
|
fn as t,
|
|
4919
4914
|
Xr as u,
|
|
4920
|
-
|
|
4915
|
+
Ve as v,
|
|
4921
4916
|
Do as w,
|
|
4922
4917
|
To as x,
|
|
4923
4918
|
Ho as y,
|
|
4924
|
-
|
|
4919
|
+
Ao as z
|
|
4925
4920
|
};
|