@everymatrix/player-account-product-restriction 0.1.0 → 0.2.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-D9Y8ItGW.js → PlayerAccountGeneralConfirmationModal-Ci-p2WXL.js} +586 -591
- package/components/{PlayerAccountGeneralConfirmationModal-DO7Dbjfl.js → PlayerAccountGeneralConfirmationModal-D6Sn8c65.js} +600 -605
- package/components/PlayerAccountGeneralConfirmationModal-PCbzMqfA.cjs +21 -0
- package/components/{PlayerAccountModal-z4XXRR_C.cjs → PlayerAccountModal-Bj4WVhh1.cjs} +1 -1
- package/components/{PlayerAccountModal-BmV9_cqv.js → PlayerAccountModal-Bue5yCqX.js} +1 -1
- package/components/{PlayerAccountModal-CzwgzzXB.js → PlayerAccountModal-CEI9nYut.js} +1 -1
- package/components/{PlayerAccountProductRestriction-DujE4sj_.cjs → PlayerAccountProductRestriction-B281rnmZ.cjs} +264 -264
- package/components/{PlayerAccountProductRestriction-CMD0kVzJ.js → PlayerAccountProductRestriction-DawPwMUW.js} +2128 -2139
- package/components/{PlayerAccountProductRestriction-Chdjs0PO.js → PlayerAccountProductRestriction-uoYgUtdj.js} +2145 -2156
- package/es2015/player-account-product-restriction.cjs +1 -1
- package/es2015/player-account-product-restriction.js +1 -1
- package/esnext/player-account-product-restriction.js +1 -1
- package/package.json +1 -1
- 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-CXHx_pAM.js → ui-skeleton-161699c3-BPPr6sEf.js} +61 -41
- package/stencil/{ui-skeleton-1cb75d00-z2mX3TRi.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-C5QSZMvd.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
|
}
|
|
@@ -214,8 +214,8 @@ function Kr(e) {
|
|
|
214
214
|
}
|
|
215
215
|
), t;
|
|
216
216
|
}
|
|
217
|
-
const
|
|
218
|
-
let
|
|
217
|
+
const _e = /* @__PURE__ */ new Map();
|
|
218
|
+
let xe = 0;
|
|
219
219
|
function en(e) {
|
|
220
220
|
let t = 5381, r = e.length;
|
|
221
221
|
for (; r--; )
|
|
@@ -224,119 +224,119 @@ function en(e) {
|
|
|
224
224
|
}
|
|
225
225
|
function tn(e, t) {
|
|
226
226
|
const r = { stylesheet: Jr(t), rules: {} };
|
|
227
|
-
return
|
|
227
|
+
return _e.set(e, r), r;
|
|
228
228
|
}
|
|
229
229
|
function vt(e, t, r, n, i, o, s, a = 0) {
|
|
230
230
|
const l = 16.666 / n;
|
|
231
231
|
let u = `{
|
|
232
232
|
`;
|
|
233
233
|
for (let g = 0; g <= 1; g += l) {
|
|
234
|
-
const
|
|
235
|
-
u += g * 100 + `%{${s(
|
|
234
|
+
const A = t + (r - t) * o(g);
|
|
235
|
+
u += g * 100 + `%{${s(A, 1 - A)}}
|
|
236
236
|
`;
|
|
237
237
|
}
|
|
238
238
|
const h = u + `100% {${s(r, 1 - r)}}
|
|
239
|
-
}`, c = `__svelte_${en(h)}_${a}`, f =
|
|
240
|
-
m[c] || (m[c] = !0,
|
|
241
|
-
const
|
|
242
|
-
return e.style.animation = `${
|
|
239
|
+
}`, c = `__svelte_${en(h)}_${a}`, f = ut(e), { stylesheet: p, rules: m } = _e.get(f) || tn(f, e);
|
|
240
|
+
m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
241
|
+
const d = e.style.animation || "";
|
|
242
|
+
return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
|
|
243
243
|
}
|
|
244
244
|
function rn(e, t) {
|
|
245
245
|
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
246
246
|
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
247
247
|
// remove all Svelte animations
|
|
248
248
|
), i = r.length - n.length;
|
|
249
|
-
i && (e.style.animation = n.join(", "),
|
|
249
|
+
i && (e.style.animation = n.join(", "), xe -= i, xe || nn());
|
|
250
250
|
}
|
|
251
251
|
function nn() {
|
|
252
|
-
|
|
253
|
-
|
|
252
|
+
at(() => {
|
|
253
|
+
xe || (_e.forEach((e) => {
|
|
254
254
|
const { ownerNode: t } = e.stylesheet;
|
|
255
|
-
t &&
|
|
256
|
-
}),
|
|
255
|
+
t && D(t);
|
|
256
|
+
}), _e.clear());
|
|
257
257
|
});
|
|
258
258
|
}
|
|
259
|
-
let
|
|
260
|
-
function
|
|
261
|
-
|
|
259
|
+
let ie;
|
|
260
|
+
function ne(e) {
|
|
261
|
+
ie = e;
|
|
262
262
|
}
|
|
263
263
|
function on() {
|
|
264
|
-
if (!
|
|
264
|
+
if (!ie)
|
|
265
265
|
throw new Error("Function called outside component initialization");
|
|
266
|
-
return
|
|
266
|
+
return ie;
|
|
267
267
|
}
|
|
268
268
|
function sn(e) {
|
|
269
269
|
on().$$.on_mount.push(e);
|
|
270
270
|
}
|
|
271
|
-
const
|
|
272
|
-
let
|
|
271
|
+
const X = [], Ve = [];
|
|
272
|
+
let W = [];
|
|
273
273
|
const _t = [], an = /* @__PURE__ */ Promise.resolve();
|
|
274
|
-
let
|
|
274
|
+
let Xe = !1;
|
|
275
275
|
function un() {
|
|
276
|
-
|
|
276
|
+
Xe || (Xe = !0, an.then(I));
|
|
277
277
|
}
|
|
278
|
-
function
|
|
279
|
-
|
|
278
|
+
function Ee(e) {
|
|
279
|
+
W.push(e);
|
|
280
280
|
}
|
|
281
|
-
const
|
|
282
|
-
let
|
|
283
|
-
function
|
|
284
|
-
if (
|
|
281
|
+
const Ne = /* @__PURE__ */ new Set();
|
|
282
|
+
let k = 0;
|
|
283
|
+
function I() {
|
|
284
|
+
if (k !== 0)
|
|
285
285
|
return;
|
|
286
|
-
const e =
|
|
286
|
+
const e = ie;
|
|
287
287
|
do {
|
|
288
288
|
try {
|
|
289
|
-
for (;
|
|
290
|
-
const t =
|
|
291
|
-
|
|
289
|
+
for (; k < X.length; ) {
|
|
290
|
+
const t = X[k];
|
|
291
|
+
k++, ne(t), ln(t.$$);
|
|
292
292
|
}
|
|
293
293
|
} catch (t) {
|
|
294
|
-
throw
|
|
294
|
+
throw X.length = 0, k = 0, t;
|
|
295
295
|
}
|
|
296
|
-
for (
|
|
297
|
-
|
|
298
|
-
for (let t = 0; t <
|
|
299
|
-
const r =
|
|
300
|
-
|
|
296
|
+
for (ne(null), X.length = 0, k = 0; Ve.length; )
|
|
297
|
+
Ve.pop()();
|
|
298
|
+
for (let t = 0; t < W.length; t += 1) {
|
|
299
|
+
const r = W[t];
|
|
300
|
+
Ne.has(r) || (Ne.add(r), r());
|
|
301
301
|
}
|
|
302
|
-
|
|
303
|
-
} while (
|
|
302
|
+
W.length = 0;
|
|
303
|
+
} while (X.length);
|
|
304
304
|
for (; _t.length; )
|
|
305
305
|
_t.pop()();
|
|
306
|
-
|
|
306
|
+
Xe = !1, Ne.clear(), ne(e);
|
|
307
307
|
}
|
|
308
308
|
function ln(e) {
|
|
309
309
|
if (e.fragment !== null) {
|
|
310
|
-
e.update(),
|
|
310
|
+
e.update(), U(e.before_update);
|
|
311
311
|
const t = e.dirty;
|
|
312
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
312
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
|
|
313
313
|
}
|
|
314
314
|
}
|
|
315
315
|
function hn(e) {
|
|
316
316
|
const t = [], r = [];
|
|
317
|
-
|
|
317
|
+
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
318
318
|
}
|
|
319
|
-
let
|
|
319
|
+
let te;
|
|
320
320
|
function cn() {
|
|
321
|
-
return
|
|
322
|
-
|
|
323
|
-
})),
|
|
321
|
+
return te || (te = Promise.resolve(), te.then(() => {
|
|
322
|
+
te = null;
|
|
323
|
+
})), te;
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function Le(e, t, r) {
|
|
326
326
|
e.dispatchEvent(Yr(`${t ? "intro" : "outro"}${r}`));
|
|
327
327
|
}
|
|
328
328
|
const de = /* @__PURE__ */ new Set();
|
|
329
|
-
let
|
|
329
|
+
let $;
|
|
330
330
|
function Uo() {
|
|
331
|
-
|
|
331
|
+
$ = {
|
|
332
332
|
r: 0,
|
|
333
333
|
c: [],
|
|
334
|
-
p:
|
|
334
|
+
p: $
|
|
335
335
|
// parent group
|
|
336
336
|
};
|
|
337
337
|
}
|
|
338
338
|
function Do() {
|
|
339
|
-
|
|
339
|
+
$.r || U($.c), $ = $.p;
|
|
340
340
|
}
|
|
341
341
|
function Kt(e, t) {
|
|
342
342
|
e && e.i && (de.delete(e), e.i(t));
|
|
@@ -345,7 +345,7 @@ function fn(e, t, r, n) {
|
|
|
345
345
|
if (e && e.o) {
|
|
346
346
|
if (de.has(e))
|
|
347
347
|
return;
|
|
348
|
-
de.add(e),
|
|
348
|
+
de.add(e), $.c.push(() => {
|
|
349
349
|
de.delete(e), n && (r && e.d(1), n());
|
|
350
350
|
}), e.o(t);
|
|
351
351
|
} else
|
|
@@ -357,48 +357,48 @@ function Fo(e, t, r, n) {
|
|
|
357
357
|
function c() {
|
|
358
358
|
u && rn(e, u);
|
|
359
359
|
}
|
|
360
|
-
function f(m,
|
|
360
|
+
function f(m, d) {
|
|
361
361
|
const g = (
|
|
362
362
|
/** @type {Program['d']} */
|
|
363
363
|
m.b - s
|
|
364
364
|
);
|
|
365
|
-
return
|
|
365
|
+
return d *= Math.abs(g), {
|
|
366
366
|
a: s,
|
|
367
367
|
b: m.b,
|
|
368
368
|
d: g,
|
|
369
|
-
duration:
|
|
369
|
+
duration: d,
|
|
370
370
|
start: m.start,
|
|
371
|
-
end: m.start +
|
|
371
|
+
end: m.start + d,
|
|
372
372
|
group: m.group
|
|
373
373
|
};
|
|
374
374
|
}
|
|
375
|
-
function
|
|
375
|
+
function p(m) {
|
|
376
376
|
const {
|
|
377
|
-
delay:
|
|
377
|
+
delay: d = 0,
|
|
378
378
|
duration: g = 300,
|
|
379
|
-
easing:
|
|
380
|
-
tick:
|
|
381
|
-
css:
|
|
379
|
+
easing: A = Ur,
|
|
380
|
+
tick: T = N,
|
|
381
|
+
css: x
|
|
382
382
|
} = o || mn, E = {
|
|
383
|
-
start: Wr() +
|
|
383
|
+
start: Wr() + d,
|
|
384
384
|
b: m
|
|
385
385
|
};
|
|
386
|
-
m || (E.group =
|
|
387
|
-
e.inert, e.inert = !0)), a || l ? l = E : (
|
|
388
|
-
if (l &&
|
|
386
|
+
m || (E.group = $, $.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
387
|
+
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) => {
|
|
388
|
+
if (l && b > l.start && (a = f(l, g), l = null, Le(e, a.b, "start"), x && (c(), u = vt(
|
|
389
389
|
e,
|
|
390
390
|
s,
|
|
391
391
|
a.b,
|
|
392
392
|
a.duration,
|
|
393
393
|
0,
|
|
394
|
-
|
|
394
|
+
A,
|
|
395
395
|
o.css
|
|
396
396
|
))), a) {
|
|
397
|
-
if (
|
|
398
|
-
|
|
399
|
-
else if (
|
|
400
|
-
const
|
|
401
|
-
s = a.a + a.d * B
|
|
397
|
+
if (b >= a.end)
|
|
398
|
+
T(s = a.b, 1 - s), Le(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
|
|
399
|
+
else if (b >= a.start) {
|
|
400
|
+
const B = b - a.start;
|
|
401
|
+
s = a.a + a.d * A(B / a.duration), T(s, 1 - s);
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
return !!(a || l);
|
|
@@ -406,9 +406,9 @@ function Fo(e, t, r, n) {
|
|
|
406
406
|
}
|
|
407
407
|
return {
|
|
408
408
|
run(m) {
|
|
409
|
-
|
|
410
|
-
o = o({ direction: m ? "in" : "out" }),
|
|
411
|
-
}) :
|
|
409
|
+
He(o) ? cn().then(() => {
|
|
410
|
+
o = o({ direction: m ? "in" : "out" }), p(m);
|
|
411
|
+
}) : p(m);
|
|
412
412
|
},
|
|
413
413
|
end() {
|
|
414
414
|
c(), a = l = null;
|
|
@@ -420,27 +420,27 @@ function jo(e) {
|
|
|
420
420
|
}
|
|
421
421
|
function pn(e, t, r) {
|
|
422
422
|
const { fragment: n, after_update: i } = e.$$;
|
|
423
|
-
n && n.m(t, r),
|
|
424
|
-
const o = e.$$.on_mount.map(zt).filter(
|
|
425
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
426
|
-
}), i.forEach(
|
|
423
|
+
n && n.m(t, r), Ee(() => {
|
|
424
|
+
const o = e.$$.on_mount.map(zt).filter(He);
|
|
425
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
|
|
426
|
+
}), i.forEach(Ee);
|
|
427
427
|
}
|
|
428
428
|
function dn(e, t) {
|
|
429
429
|
const r = e.$$;
|
|
430
|
-
r.fragment !== null && (hn(r.after_update),
|
|
430
|
+
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 = []);
|
|
431
431
|
}
|
|
432
432
|
function bn(e, t) {
|
|
433
|
-
e.$$.dirty[0] === -1 && (
|
|
433
|
+
e.$$.dirty[0] === -1 && (X.push(e), un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
434
434
|
}
|
|
435
435
|
function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
436
|
-
const l =
|
|
437
|
-
|
|
436
|
+
const l = ie;
|
|
437
|
+
ne(e);
|
|
438
438
|
const u = e.$$ = {
|
|
439
439
|
fragment: null,
|
|
440
440
|
ctx: [],
|
|
441
441
|
// state
|
|
442
442
|
props: o,
|
|
443
|
-
update:
|
|
443
|
+
update: N,
|
|
444
444
|
not_equal: i,
|
|
445
445
|
bound: gt(),
|
|
446
446
|
// lifecycle
|
|
@@ -458,41 +458,41 @@ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
458
458
|
};
|
|
459
459
|
s && s(u.root);
|
|
460
460
|
let h = !1;
|
|
461
|
-
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...
|
|
462
|
-
const m =
|
|
461
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
462
|
+
const m = p.length ? p[0] : f;
|
|
463
463
|
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;
|
|
464
|
-
}) : [], u.update(), h = !0,
|
|
464
|
+
}) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
465
465
|
if (t.hydrate) {
|
|
466
466
|
const c = qr(t.target);
|
|
467
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
467
|
+
u.fragment && u.fragment.l(c), c.forEach(D);
|
|
468
468
|
} else
|
|
469
469
|
u.fragment && u.fragment.c();
|
|
470
|
-
t.intro && Kt(e.$$.fragment), pn(e, t.target, t.anchor),
|
|
470
|
+
t.intro && Kt(e.$$.fragment), pn(e, t.target, t.anchor), I();
|
|
471
471
|
}
|
|
472
|
-
|
|
472
|
+
ne(l);
|
|
473
473
|
}
|
|
474
474
|
let er;
|
|
475
475
|
typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
476
476
|
constructor(t, r, n) {
|
|
477
477
|
super();
|
|
478
478
|
/** The Svelte component constructor */
|
|
479
|
-
|
|
479
|
+
O(this, "$$ctor");
|
|
480
480
|
/** Slots */
|
|
481
|
-
|
|
481
|
+
O(this, "$$s");
|
|
482
482
|
/** The Svelte component instance */
|
|
483
|
-
|
|
483
|
+
O(this, "$$c");
|
|
484
484
|
/** Whether or not the custom element is connected */
|
|
485
|
-
|
|
485
|
+
O(this, "$$cn", !1);
|
|
486
486
|
/** Component props data */
|
|
487
|
-
|
|
487
|
+
O(this, "$$d", {});
|
|
488
488
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
489
|
-
|
|
489
|
+
O(this, "$$r", !1);
|
|
490
490
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
491
|
-
|
|
491
|
+
O(this, "$$p_d", {});
|
|
492
492
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
493
|
-
|
|
493
|
+
O(this, "$$l", {});
|
|
494
494
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
495
|
-
|
|
495
|
+
O(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
496
496
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
497
497
|
}
|
|
498
498
|
addEventListener(t, r, n) {
|
|
@@ -516,17 +516,17 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
|
|
|
516
516
|
let s;
|
|
517
517
|
return {
|
|
518
518
|
c: function() {
|
|
519
|
-
s =
|
|
519
|
+
s = M("slot"), o !== "default" && H(s, "name", o);
|
|
520
520
|
},
|
|
521
521
|
/**
|
|
522
522
|
* @param {HTMLElement} target
|
|
523
523
|
* @param {HTMLElement} [anchor]
|
|
524
524
|
*/
|
|
525
525
|
m: function(u, h) {
|
|
526
|
-
|
|
526
|
+
ae(u, s, h);
|
|
527
527
|
},
|
|
528
528
|
d: function(u) {
|
|
529
|
-
u &&
|
|
529
|
+
u && D(s);
|
|
530
530
|
}
|
|
531
531
|
};
|
|
532
532
|
};
|
|
@@ -662,7 +662,7 @@ class vn {
|
|
|
662
662
|
*
|
|
663
663
|
* @type {any}
|
|
664
664
|
*/
|
|
665
|
-
|
|
665
|
+
O(this, "$$");
|
|
666
666
|
/**
|
|
667
667
|
* ### PRIVATE API
|
|
668
668
|
*
|
|
@@ -670,11 +670,11 @@ class vn {
|
|
|
670
670
|
*
|
|
671
671
|
* @type {any}
|
|
672
672
|
*/
|
|
673
|
-
|
|
673
|
+
O(this, "$$set");
|
|
674
674
|
}
|
|
675
675
|
/** @returns {void} */
|
|
676
676
|
$destroy() {
|
|
677
|
-
dn(this, 1), this.$destroy =
|
|
677
|
+
dn(this, 1), this.$destroy = N;
|
|
678
678
|
}
|
|
679
679
|
/**
|
|
680
680
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -683,8 +683,8 @@ class vn {
|
|
|
683
683
|
* @returns {() => void}
|
|
684
684
|
*/
|
|
685
685
|
$on(t, r) {
|
|
686
|
-
if (!
|
|
687
|
-
return
|
|
686
|
+
if (!He(r))
|
|
687
|
+
return N;
|
|
688
688
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
689
689
|
return n.push(r), () => {
|
|
690
690
|
const i = n.indexOf(r);
|
|
@@ -715,24 +715,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
715
715
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
716
716
|
PERFORMANCE OF THIS SOFTWARE.
|
|
717
717
|
***************************************************************************** */
|
|
718
|
-
var
|
|
719
|
-
return
|
|
718
|
+
var ze = function(e, t) {
|
|
719
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
720
720
|
r.__proto__ = n;
|
|
721
721
|
} || function(r, n) {
|
|
722
722
|
for (var i in n)
|
|
723
723
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
724
|
-
},
|
|
724
|
+
}, ze(e, t);
|
|
725
725
|
};
|
|
726
|
-
function
|
|
726
|
+
function le(e, t) {
|
|
727
727
|
if (typeof t != "function" && t !== null)
|
|
728
728
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
729
|
-
|
|
729
|
+
ze(e, t);
|
|
730
730
|
function r() {
|
|
731
731
|
this.constructor = e;
|
|
732
732
|
}
|
|
733
733
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function We(e) {
|
|
736
736
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
737
737
|
if (r)
|
|
738
738
|
return r.call(e);
|
|
@@ -744,7 +744,7 @@ function Ze(e) {
|
|
|
744
744
|
};
|
|
745
745
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
746
746
|
}
|
|
747
|
-
function
|
|
747
|
+
function Ze(e, t) {
|
|
748
748
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
749
749
|
if (!r)
|
|
750
750
|
return e;
|
|
@@ -764,13 +764,13 @@ function Qe(e, t) {
|
|
|
764
764
|
}
|
|
765
765
|
return o;
|
|
766
766
|
}
|
|
767
|
-
function
|
|
767
|
+
function Qe(e, t, r) {
|
|
768
768
|
if (arguments.length === 2)
|
|
769
769
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
770
770
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
771
771
|
return e.concat(o || t);
|
|
772
772
|
}
|
|
773
|
-
function
|
|
773
|
+
function R(e) {
|
|
774
774
|
return typeof e == "function";
|
|
775
775
|
}
|
|
776
776
|
function tr(e) {
|
|
@@ -779,7 +779,7 @@ function tr(e) {
|
|
|
779
779
|
}, r = e(t);
|
|
780
780
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
781
781
|
}
|
|
782
|
-
var
|
|
782
|
+
var $e = tr(function(e) {
|
|
783
783
|
return function(r) {
|
|
784
784
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
785
785
|
` + r.map(function(n, i) {
|
|
@@ -788,7 +788,7 @@ var Re = tr(function(e) {
|
|
|
788
788
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
789
789
|
};
|
|
790
790
|
});
|
|
791
|
-
function
|
|
791
|
+
function Je(e, t) {
|
|
792
792
|
if (e) {
|
|
793
793
|
var r = e.indexOf(t);
|
|
794
794
|
0 <= r && e.splice(r, 1);
|
|
@@ -806,12 +806,12 @@ var Ae = function() {
|
|
|
806
806
|
if (s)
|
|
807
807
|
if (this._parentage = null, Array.isArray(s))
|
|
808
808
|
try {
|
|
809
|
-
for (var a =
|
|
809
|
+
for (var a = We(s), l = a.next(); !l.done; l = a.next()) {
|
|
810
810
|
var u = l.value;
|
|
811
811
|
u.remove(this);
|
|
812
812
|
}
|
|
813
|
-
} catch (
|
|
814
|
-
t = { error:
|
|
813
|
+
} catch (d) {
|
|
814
|
+
t = { error: d };
|
|
815
815
|
} finally {
|
|
816
816
|
try {
|
|
817
817
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -823,29 +823,29 @@ var Ae = function() {
|
|
|
823
823
|
else
|
|
824
824
|
s.remove(this);
|
|
825
825
|
var h = this.initialTeardown;
|
|
826
|
-
if (
|
|
826
|
+
if (R(h))
|
|
827
827
|
try {
|
|
828
828
|
h();
|
|
829
|
-
} catch (
|
|
830
|
-
o =
|
|
829
|
+
} catch (d) {
|
|
830
|
+
o = d instanceof $e ? d.errors : [d];
|
|
831
831
|
}
|
|
832
832
|
var c = this._finalizers;
|
|
833
833
|
if (c) {
|
|
834
834
|
this._finalizers = null;
|
|
835
835
|
try {
|
|
836
|
-
for (var f =
|
|
837
|
-
var m =
|
|
836
|
+
for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
|
|
837
|
+
var m = p.value;
|
|
838
838
|
try {
|
|
839
839
|
xt(m);
|
|
840
|
-
} catch (
|
|
841
|
-
o = o != null ? o : [],
|
|
840
|
+
} catch (d) {
|
|
841
|
+
o = o != null ? o : [], d instanceof $e ? o = Qe(Qe([], Ze(o)), Ze(d.errors)) : o.push(d);
|
|
842
842
|
}
|
|
843
843
|
}
|
|
844
|
-
} catch (
|
|
845
|
-
n = { error:
|
|
844
|
+
} catch (d) {
|
|
845
|
+
n = { error: d };
|
|
846
846
|
} finally {
|
|
847
847
|
try {
|
|
848
|
-
|
|
848
|
+
p && !p.done && (i = f.return) && i.call(f);
|
|
849
849
|
} finally {
|
|
850
850
|
if (n)
|
|
851
851
|
throw n.error;
|
|
@@ -853,7 +853,7 @@ var Ae = function() {
|
|
|
853
853
|
}
|
|
854
854
|
}
|
|
855
855
|
if (o)
|
|
856
|
-
throw new
|
|
856
|
+
throw new $e(o);
|
|
857
857
|
}
|
|
858
858
|
}, e.prototype.add = function(t) {
|
|
859
859
|
var r;
|
|
@@ -876,20 +876,20 @@ var Ae = function() {
|
|
|
876
876
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
877
877
|
}, e.prototype._removeParent = function(t) {
|
|
878
878
|
var r = this._parentage;
|
|
879
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
879
|
+
r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
|
|
880
880
|
}, e.prototype.remove = function(t) {
|
|
881
881
|
var r = this._finalizers;
|
|
882
|
-
r &&
|
|
882
|
+
r && Je(r, t), t instanceof e && t._removeParent(this);
|
|
883
883
|
}, e.EMPTY = function() {
|
|
884
884
|
var t = new e();
|
|
885
885
|
return t.closed = !0, t;
|
|
886
886
|
}(), e;
|
|
887
887
|
}(), rr = Ae.EMPTY;
|
|
888
888
|
function nr(e) {
|
|
889
|
-
return e instanceof Ae || e && "closed" in e &&
|
|
889
|
+
return e instanceof Ae || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
|
|
890
890
|
}
|
|
891
891
|
function xt(e) {
|
|
892
|
-
|
|
892
|
+
R(e) ? e() : e.unsubscribe();
|
|
893
893
|
}
|
|
894
894
|
var xn = {
|
|
895
895
|
Promise: void 0
|
|
@@ -897,14 +897,14 @@ var xn = {
|
|
|
897
897
|
setTimeout: function(e, t) {
|
|
898
898
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
899
899
|
r[n - 2] = arguments[n];
|
|
900
|
-
return setTimeout.apply(void 0,
|
|
900
|
+
return setTimeout.apply(void 0, Qe([e, t], Ze(r)));
|
|
901
901
|
},
|
|
902
902
|
clearTimeout: function(e) {
|
|
903
903
|
return clearTimeout(e);
|
|
904
904
|
},
|
|
905
905
|
delegate: void 0
|
|
906
906
|
};
|
|
907
|
-
function
|
|
907
|
+
function wn(e) {
|
|
908
908
|
En.setTimeout(function() {
|
|
909
909
|
throw e;
|
|
910
910
|
});
|
|
@@ -915,13 +915,13 @@ function ge(e) {
|
|
|
915
915
|
e();
|
|
916
916
|
}
|
|
917
917
|
var ir = function(e) {
|
|
918
|
-
|
|
918
|
+
le(t, e);
|
|
919
919
|
function t(r) {
|
|
920
920
|
var n = e.call(this) || this;
|
|
921
921
|
return n.isStopped = !1, r ? (n.destination = r, nr(r) && r.add(n)) : n.destination = Hn, n;
|
|
922
922
|
}
|
|
923
923
|
return t.create = function(r, n, i) {
|
|
924
|
-
return new
|
|
924
|
+
return new qe(r, n, i);
|
|
925
925
|
}, t.prototype.next = function(r) {
|
|
926
926
|
this.isStopped || this._next(r);
|
|
927
927
|
}, t.prototype.error = function(r) {
|
|
@@ -945,7 +945,7 @@ var ir = function(e) {
|
|
|
945
945
|
this.unsubscribe();
|
|
946
946
|
}
|
|
947
947
|
}, t;
|
|
948
|
-
}(Ae),
|
|
948
|
+
}(Ae), Sn = function() {
|
|
949
949
|
function e(t) {
|
|
950
950
|
this.partialObserver = t;
|
|
951
951
|
}
|
|
@@ -976,20 +976,20 @@ var ir = function(e) {
|
|
|
976
976
|
me(r);
|
|
977
977
|
}
|
|
978
978
|
}, e;
|
|
979
|
-
}(),
|
|
980
|
-
|
|
979
|
+
}(), qe = function(e) {
|
|
980
|
+
le(t, e);
|
|
981
981
|
function t(r, n, i) {
|
|
982
982
|
var o = e.call(this) || this, s;
|
|
983
|
-
return
|
|
983
|
+
return R(r) || !r ? s = {
|
|
984
984
|
next: r != null ? r : void 0,
|
|
985
985
|
error: n != null ? n : void 0,
|
|
986
986
|
complete: i != null ? i : void 0
|
|
987
|
-
} : s = r, o.destination = new
|
|
987
|
+
} : s = r, o.destination = new Sn(s), o;
|
|
988
988
|
}
|
|
989
989
|
return t;
|
|
990
990
|
}(ir);
|
|
991
991
|
function me(e) {
|
|
992
|
-
|
|
992
|
+
wn(e);
|
|
993
993
|
}
|
|
994
994
|
function Tn(e) {
|
|
995
995
|
throw e;
|
|
@@ -999,20 +999,20 @@ var Hn = {
|
|
|
999
999
|
next: Et,
|
|
1000
1000
|
error: Tn,
|
|
1001
1001
|
complete: Et
|
|
1002
|
-
},
|
|
1002
|
+
}, An = function() {
|
|
1003
1003
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1004
1004
|
}();
|
|
1005
|
-
function
|
|
1005
|
+
function Bn(e) {
|
|
1006
1006
|
return e;
|
|
1007
1007
|
}
|
|
1008
1008
|
function Cn(e) {
|
|
1009
|
-
return e.length === 0 ?
|
|
1009
|
+
return e.length === 0 ? Bn : e.length === 1 ? e[0] : function(r) {
|
|
1010
1010
|
return e.reduce(function(n, i) {
|
|
1011
1011
|
return i(n);
|
|
1012
1012
|
}, r);
|
|
1013
1013
|
};
|
|
1014
1014
|
}
|
|
1015
|
-
var
|
|
1015
|
+
var wt = function() {
|
|
1016
1016
|
function e(t) {
|
|
1017
1017
|
t && (this._subscribe = t);
|
|
1018
1018
|
}
|
|
@@ -1020,7 +1020,7 @@ var St = function() {
|
|
|
1020
1020
|
var r = new e();
|
|
1021
1021
|
return r.source = this, r.operator = t, r;
|
|
1022
1022
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
1023
|
-
var i = this, o = On(t) ? t : new
|
|
1023
|
+
var i = this, o = On(t) ? t : new qe(t, r, n);
|
|
1024
1024
|
return ge(function() {
|
|
1025
1025
|
var s = i, a = s.operator, l = s.source;
|
|
1026
1026
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1033,8 +1033,8 @@ var St = function() {
|
|
|
1033
1033
|
}
|
|
1034
1034
|
}, e.prototype.forEach = function(t, r) {
|
|
1035
1035
|
var n = this;
|
|
1036
|
-
return r =
|
|
1037
|
-
var s = new
|
|
1036
|
+
return r = St(r), new r(function(i, o) {
|
|
1037
|
+
var s = new qe({
|
|
1038
1038
|
next: function(a) {
|
|
1039
1039
|
try {
|
|
1040
1040
|
t(a);
|
|
@@ -1050,7 +1050,7 @@ var St = function() {
|
|
|
1050
1050
|
}, e.prototype._subscribe = function(t) {
|
|
1051
1051
|
var r;
|
|
1052
1052
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1053
|
-
}, e.prototype[
|
|
1053
|
+
}, e.prototype[An] = function() {
|
|
1054
1054
|
return this;
|
|
1055
1055
|
}, e.prototype.pipe = function() {
|
|
1056
1056
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -1058,7 +1058,7 @@ var St = function() {
|
|
|
1058
1058
|
return Cn(t)(this);
|
|
1059
1059
|
}, e.prototype.toPromise = function(t) {
|
|
1060
1060
|
var r = this;
|
|
1061
|
-
return t =
|
|
1061
|
+
return t = St(t), new t(function(n, i) {
|
|
1062
1062
|
var o;
|
|
1063
1063
|
r.subscribe(function(s) {
|
|
1064
1064
|
return o = s;
|
|
@@ -1072,12 +1072,12 @@ var St = function() {
|
|
|
1072
1072
|
return new e(t);
|
|
1073
1073
|
}, e;
|
|
1074
1074
|
}();
|
|
1075
|
-
function
|
|
1075
|
+
function St(e) {
|
|
1076
1076
|
var t;
|
|
1077
1077
|
return (t = e != null ? e : xn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1078
1078
|
}
|
|
1079
1079
|
function Pn(e) {
|
|
1080
|
-
return e &&
|
|
1080
|
+
return e && R(e.next) && R(e.error) && R(e.complete);
|
|
1081
1081
|
}
|
|
1082
1082
|
function On(e) {
|
|
1083
1083
|
return e && e instanceof ir || Pn(e) && nr(e);
|
|
@@ -1087,7 +1087,7 @@ var In = tr(function(e) {
|
|
|
1087
1087
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1088
1088
|
};
|
|
1089
1089
|
}), or = function(e) {
|
|
1090
|
-
|
|
1090
|
+
le(t, e);
|
|
1091
1091
|
function t() {
|
|
1092
1092
|
var r = e.call(this) || this;
|
|
1093
1093
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -1105,7 +1105,7 @@ var In = tr(function(e) {
|
|
|
1105
1105
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1106
1106
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1107
1107
|
try {
|
|
1108
|
-
for (var s =
|
|
1108
|
+
for (var s = We(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
1109
1109
|
var l = a.value;
|
|
1110
1110
|
l.next(r);
|
|
1111
1111
|
}
|
|
@@ -1155,19 +1155,19 @@ var In = tr(function(e) {
|
|
|
1155
1155
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1156
1156
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
1157
1157
|
return o || s ? rr : (this.currentObservers = null, a.push(r), new Ae(function() {
|
|
1158
|
-
n.currentObservers = null,
|
|
1158
|
+
n.currentObservers = null, Je(a, r);
|
|
1159
1159
|
}));
|
|
1160
1160
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1161
1161
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
1162
1162
|
i ? r.error(o) : s && r.complete();
|
|
1163
1163
|
}, t.prototype.asObservable = function() {
|
|
1164
|
-
var r = new
|
|
1164
|
+
var r = new wt();
|
|
1165
1165
|
return r.source = this, r;
|
|
1166
1166
|
}, t.create = function(r, n) {
|
|
1167
1167
|
return new Tt(r, n);
|
|
1168
1168
|
}, t;
|
|
1169
|
-
}(
|
|
1170
|
-
|
|
1169
|
+
}(wt), Tt = function(e) {
|
|
1170
|
+
le(t, e);
|
|
1171
1171
|
function t(r, n) {
|
|
1172
1172
|
var i = e.call(this) || this;
|
|
1173
1173
|
return i.destination = r, i.source = n, i;
|
|
@@ -1191,7 +1191,7 @@ var In = tr(function(e) {
|
|
|
1191
1191
|
},
|
|
1192
1192
|
delegate: void 0
|
|
1193
1193
|
}, Mn = function(e) {
|
|
1194
|
-
|
|
1194
|
+
le(t, e);
|
|
1195
1195
|
function t(r, n, i) {
|
|
1196
1196
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
|
|
1197
1197
|
var o = e.call(this) || this;
|
|
@@ -1214,45 +1214,45 @@ var In = tr(function(e) {
|
|
|
1214
1214
|
}
|
|
1215
1215
|
}, t;
|
|
1216
1216
|
}(or);
|
|
1217
|
-
const Ht = [],
|
|
1217
|
+
const Ht = [], At = {}, Nn = (e, t = 0) => {
|
|
1218
1218
|
if (Ht.indexOf(e) == -1) {
|
|
1219
1219
|
const r = new Mn(t);
|
|
1220
|
-
|
|
1220
|
+
At[e] = r, Ht.push(e);
|
|
1221
1221
|
}
|
|
1222
|
-
return
|
|
1223
|
-
},
|
|
1222
|
+
return At[e];
|
|
1223
|
+
}, V = [];
|
|
1224
1224
|
function Ln(e, t) {
|
|
1225
1225
|
return {
|
|
1226
|
-
subscribe:
|
|
1226
|
+
subscribe: Be(e, t).subscribe
|
|
1227
1227
|
};
|
|
1228
1228
|
}
|
|
1229
|
-
function
|
|
1229
|
+
function Be(e, t = N) {
|
|
1230
1230
|
let r;
|
|
1231
1231
|
const n = /* @__PURE__ */ new Set();
|
|
1232
1232
|
function i(a) {
|
|
1233
1233
|
if (Wt(e, a) && (e = a, r)) {
|
|
1234
|
-
const l = !
|
|
1234
|
+
const l = !V.length;
|
|
1235
1235
|
for (const u of n)
|
|
1236
|
-
u[1](),
|
|
1236
|
+
u[1](), V.push(u, e);
|
|
1237
1237
|
if (l) {
|
|
1238
|
-
for (let u = 0; u <
|
|
1239
|
-
|
|
1240
|
-
|
|
1238
|
+
for (let u = 0; u < V.length; u += 2)
|
|
1239
|
+
V[u][0](V[u + 1]);
|
|
1240
|
+
V.length = 0;
|
|
1241
1241
|
}
|
|
1242
1242
|
}
|
|
1243
1243
|
}
|
|
1244
1244
|
function o(a) {
|
|
1245
1245
|
i(a(e));
|
|
1246
1246
|
}
|
|
1247
|
-
function s(a, l =
|
|
1247
|
+
function s(a, l = N) {
|
|
1248
1248
|
const u = [a, l];
|
|
1249
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1249
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
|
|
1250
1250
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1251
1251
|
};
|
|
1252
1252
|
}
|
|
1253
1253
|
return { set: i, update: o, subscribe: s };
|
|
1254
1254
|
}
|
|
1255
|
-
function
|
|
1255
|
+
function Y(e, t, r) {
|
|
1256
1256
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1257
1257
|
if (!i.every(Boolean))
|
|
1258
1258
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1260,26 +1260,26 @@ function ee(e, t, r) {
|
|
|
1260
1260
|
return Ln(r, (s, a) => {
|
|
1261
1261
|
let l = !1;
|
|
1262
1262
|
const u = [];
|
|
1263
|
-
let h = 0, c =
|
|
1263
|
+
let h = 0, c = N;
|
|
1264
1264
|
const f = () => {
|
|
1265
1265
|
if (h)
|
|
1266
1266
|
return;
|
|
1267
1267
|
c();
|
|
1268
1268
|
const m = t(n ? u[0] : u, s, a);
|
|
1269
|
-
o ? s(m) : c =
|
|
1270
|
-
},
|
|
1271
|
-
(m,
|
|
1269
|
+
o ? s(m) : c = He(m) ? m : N;
|
|
1270
|
+
}, p = i.map(
|
|
1271
|
+
(m, d) => Zt(
|
|
1272
1272
|
m,
|
|
1273
1273
|
(g) => {
|
|
1274
|
-
u[
|
|
1274
|
+
u[d] = g, h &= ~(1 << d), l && f();
|
|
1275
1275
|
},
|
|
1276
1276
|
() => {
|
|
1277
|
-
h |= 1 <<
|
|
1277
|
+
h |= 1 << d;
|
|
1278
1278
|
}
|
|
1279
1279
|
)
|
|
1280
1280
|
);
|
|
1281
1281
|
return l = !0, f(), function() {
|
|
1282
|
-
|
|
1282
|
+
U(p), c(), l = !1;
|
|
1283
1283
|
};
|
|
1284
1284
|
});
|
|
1285
1285
|
}
|
|
@@ -1304,26 +1304,26 @@ function jn(e) {
|
|
|
1304
1304
|
function kn(e) {
|
|
1305
1305
|
return Array.isArray(e) ? [] : {};
|
|
1306
1306
|
}
|
|
1307
|
-
function
|
|
1308
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1307
|
+
function oe(e, t) {
|
|
1308
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(kn(e), e, t) : e;
|
|
1309
1309
|
}
|
|
1310
1310
|
function Vn(e, t, r) {
|
|
1311
1311
|
return e.concat(t).map(function(n) {
|
|
1312
|
-
return
|
|
1312
|
+
return oe(n, r);
|
|
1313
1313
|
});
|
|
1314
1314
|
}
|
|
1315
1315
|
function Xn(e, t) {
|
|
1316
1316
|
if (!t.customMerge)
|
|
1317
|
-
return
|
|
1317
|
+
return Z;
|
|
1318
1318
|
var r = t.customMerge(e);
|
|
1319
|
-
return typeof r == "function" ? r :
|
|
1319
|
+
return typeof r == "function" ? r : Z;
|
|
1320
1320
|
}
|
|
1321
1321
|
function zn(e) {
|
|
1322
1322
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1323
1323
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1324
1324
|
}) : [];
|
|
1325
1325
|
}
|
|
1326
|
-
function
|
|
1326
|
+
function Bt(e) {
|
|
1327
1327
|
return Object.keys(e).concat(zn(e));
|
|
1328
1328
|
}
|
|
1329
1329
|
function ar(e, t) {
|
|
@@ -1338,52 +1338,52 @@ function Wn(e, t) {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
function Zn(e, t, r) {
|
|
1340
1340
|
var n = {};
|
|
1341
|
-
return r.isMergeableObject(e) &&
|
|
1342
|
-
n[i] =
|
|
1343
|
-
}),
|
|
1344
|
-
Wn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] =
|
|
1341
|
+
return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
|
|
1342
|
+
n[i] = oe(e[i], r);
|
|
1343
|
+
}), Bt(t).forEach(function(i) {
|
|
1344
|
+
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));
|
|
1345
1345
|
}), n;
|
|
1346
1346
|
}
|
|
1347
|
-
function
|
|
1348
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified =
|
|
1347
|
+
function Z(e, t, r) {
|
|
1348
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1349
1349
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1350
|
-
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) :
|
|
1350
|
+
return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : oe(t, r);
|
|
1351
1351
|
}
|
|
1352
|
-
|
|
1352
|
+
Z.all = function(t, r) {
|
|
1353
1353
|
if (!Array.isArray(t))
|
|
1354
1354
|
throw new Error("first argument should be an array");
|
|
1355
1355
|
return t.reduce(function(n, i) {
|
|
1356
|
-
return
|
|
1356
|
+
return Z(n, i, r);
|
|
1357
1357
|
}, {});
|
|
1358
1358
|
};
|
|
1359
|
-
var Qn =
|
|
1359
|
+
var Qn = Z, Jn = Qn;
|
|
1360
1360
|
const qn = /* @__PURE__ */ $n(Jn);
|
|
1361
|
-
var
|
|
1362
|
-
return
|
|
1361
|
+
var Ye = function(e, t) {
|
|
1362
|
+
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1363
1363
|
r.__proto__ = n;
|
|
1364
1364
|
} || function(r, n) {
|
|
1365
1365
|
for (var i in n)
|
|
1366
1366
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1367
|
-
},
|
|
1367
|
+
}, Ye(e, t);
|
|
1368
1368
|
};
|
|
1369
|
-
function
|
|
1369
|
+
function Ce(e, t) {
|
|
1370
1370
|
if (typeof t != "function" && t !== null)
|
|
1371
1371
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1372
|
-
|
|
1372
|
+
Ye(e, t);
|
|
1373
1373
|
function r() {
|
|
1374
1374
|
this.constructor = e;
|
|
1375
1375
|
}
|
|
1376
1376
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1377
1377
|
}
|
|
1378
|
-
var
|
|
1379
|
-
return
|
|
1378
|
+
var L = function() {
|
|
1379
|
+
return L = Object.assign || function(t) {
|
|
1380
1380
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1381
1381
|
r = arguments[n];
|
|
1382
1382
|
for (var o in r)
|
|
1383
1383
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1384
1384
|
}
|
|
1385
1385
|
return t;
|
|
1386
|
-
},
|
|
1386
|
+
}, L.apply(this, arguments);
|
|
1387
1387
|
};
|
|
1388
1388
|
function Yn(e, t) {
|
|
1389
1389
|
var r = {};
|
|
@@ -1394,13 +1394,13 @@ function Yn(e, t) {
|
|
|
1394
1394
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1395
1395
|
return r;
|
|
1396
1396
|
}
|
|
1397
|
-
function
|
|
1397
|
+
function Re(e, t, r) {
|
|
1398
1398
|
if (r || arguments.length === 2)
|
|
1399
1399
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1400
1400
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1401
1401
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1402
1402
|
}
|
|
1403
|
-
function
|
|
1403
|
+
function Ge(e, t) {
|
|
1404
1404
|
var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ti;
|
|
1405
1405
|
return i(e, {
|
|
1406
1406
|
cache: r,
|
|
@@ -1446,7 +1446,7 @@ var ni = function() {
|
|
|
1446
1446
|
create: function() {
|
|
1447
1447
|
return new ii();
|
|
1448
1448
|
}
|
|
1449
|
-
},
|
|
1449
|
+
}, Ue = {
|
|
1450
1450
|
variadic: ri
|
|
1451
1451
|
}, we = function() {
|
|
1452
1452
|
return we = Object.assign || function(t) {
|
|
@@ -1458,18 +1458,18 @@ var ni = function() {
|
|
|
1458
1458
|
return t;
|
|
1459
1459
|
}, we.apply(this, arguments);
|
|
1460
1460
|
};
|
|
1461
|
-
var
|
|
1461
|
+
var y;
|
|
1462
1462
|
(function(e) {
|
|
1463
1463
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1464
|
-
})(
|
|
1464
|
+
})(y || (y = {}));
|
|
1465
1465
|
var w;
|
|
1466
1466
|
(function(e) {
|
|
1467
1467
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1468
1468
|
})(w || (w = {}));
|
|
1469
|
-
var
|
|
1469
|
+
var Q;
|
|
1470
1470
|
(function(e) {
|
|
1471
1471
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1472
|
-
})(
|
|
1472
|
+
})(Q || (Q = {}));
|
|
1473
1473
|
function Ct(e) {
|
|
1474
1474
|
return e.type === w.literal;
|
|
1475
1475
|
}
|
|
@@ -1498,10 +1498,10 @@ function dr(e) {
|
|
|
1498
1498
|
return e.type === w.tag;
|
|
1499
1499
|
}
|
|
1500
1500
|
function br(e) {
|
|
1501
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1501
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1502
1502
|
}
|
|
1503
|
-
function
|
|
1504
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1503
|
+
function Ke(e) {
|
|
1504
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1505
1505
|
}
|
|
1506
1506
|
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;
|
|
1507
1507
|
function li(e) {
|
|
@@ -1595,15 +1595,15 @@ function li(e) {
|
|
|
1595
1595
|
return "";
|
|
1596
1596
|
}), t;
|
|
1597
1597
|
}
|
|
1598
|
-
var
|
|
1599
|
-
return
|
|
1598
|
+
var S = function() {
|
|
1599
|
+
return S = Object.assign || function(t) {
|
|
1600
1600
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1601
1601
|
r = arguments[n];
|
|
1602
1602
|
for (var o in r)
|
|
1603
1603
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1604
1604
|
}
|
|
1605
1605
|
return t;
|
|
1606
|
-
},
|
|
1606
|
+
}, S.apply(this, arguments);
|
|
1607
1607
|
};
|
|
1608
1608
|
var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1609
1609
|
function ci(e) {
|
|
@@ -1727,13 +1727,13 @@ function di(e) {
|
|
|
1727
1727
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1728
1728
|
continue;
|
|
1729
1729
|
case "scientific":
|
|
1730
|
-
t =
|
|
1731
|
-
return
|
|
1730
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1731
|
+
return S(S({}, l), It(u));
|
|
1732
1732
|
}, {}));
|
|
1733
1733
|
continue;
|
|
1734
1734
|
case "engineering":
|
|
1735
|
-
t =
|
|
1736
|
-
return
|
|
1735
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1736
|
+
return S(S({}, l), It(u));
|
|
1737
1737
|
}, {}));
|
|
1738
1738
|
continue;
|
|
1739
1739
|
case "notation-simple":
|
|
@@ -1778,13 +1778,13 @@ function di(e) {
|
|
|
1778
1778
|
case "integer-width":
|
|
1779
1779
|
if (i.options.length > 1)
|
|
1780
1780
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1781
|
-
i.options[0].replace(mi, function(l, u, h, c, f,
|
|
1781
|
+
i.options[0].replace(mi, function(l, u, h, c, f, p) {
|
|
1782
1782
|
if (u)
|
|
1783
1783
|
t.minimumIntegerDigits = h.length;
|
|
1784
1784
|
else {
|
|
1785
1785
|
if (c && f)
|
|
1786
1786
|
throw new Error("We currently do not support maximum integer digits");
|
|
1787
|
-
if (
|
|
1787
|
+
if (p)
|
|
1788
1788
|
throw new Error("We currently do not support exact integer digits");
|
|
1789
1789
|
}
|
|
1790
1790
|
return "";
|
|
@@ -1798,21 +1798,21 @@ function di(e) {
|
|
|
1798
1798
|
if (Pt.test(i.stem)) {
|
|
1799
1799
|
if (i.options.length > 1)
|
|
1800
1800
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1801
|
-
i.stem.replace(Pt, function(l, u, h, c, f,
|
|
1802
|
-
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f &&
|
|
1801
|
+
i.stem.replace(Pt, function(l, u, h, c, f, p) {
|
|
1802
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1803
1803
|
});
|
|
1804
1804
|
var o = i.options[0];
|
|
1805
|
-
o === "w" ? t =
|
|
1805
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ot(o)));
|
|
1806
1806
|
continue;
|
|
1807
1807
|
}
|
|
1808
1808
|
if (yr.test(i.stem)) {
|
|
1809
|
-
t =
|
|
1809
|
+
t = S(S({}, t), Ot(i.stem));
|
|
1810
1810
|
continue;
|
|
1811
1811
|
}
|
|
1812
1812
|
var s = _r(i.stem);
|
|
1813
|
-
s && (t =
|
|
1813
|
+
s && (t = S(S({}, t), s));
|
|
1814
1814
|
var a = pi(i.stem);
|
|
1815
|
-
a && (t =
|
|
1815
|
+
a && (t = S(S({}, t), a));
|
|
1816
1816
|
}
|
|
1817
1817
|
return t;
|
|
1818
1818
|
}
|
|
@@ -3269,18 +3269,18 @@ function gi(e) {
|
|
|
3269
3269
|
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
|
3270
3270
|
return i[0];
|
|
3271
3271
|
}
|
|
3272
|
-
var
|
|
3273
|
-
function
|
|
3272
|
+
var De, yi = new RegExp("^".concat(gr.source, "*")), vi = new RegExp("".concat(gr.source, "*$"));
|
|
3273
|
+
function _(e, t) {
|
|
3274
3274
|
return { start: e, end: t };
|
|
3275
3275
|
}
|
|
3276
|
-
var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, Ei = !!Object.fromEntries,
|
|
3276
|
+
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) {
|
|
3277
3277
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3278
|
-
},
|
|
3278
|
+
}, et = !0;
|
|
3279
3279
|
try {
|
|
3280
|
-
var
|
|
3281
|
-
|
|
3280
|
+
var Bi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3281
|
+
et = ((De = Bi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
|
3282
3282
|
} catch (e) {
|
|
3283
|
-
|
|
3283
|
+
et = !1;
|
|
3284
3284
|
}
|
|
3285
3285
|
var Mt = _i ? (
|
|
3286
3286
|
// Native
|
|
@@ -3292,7 +3292,7 @@ var Mt = _i ? (
|
|
|
3292
3292
|
function(t, r, n) {
|
|
3293
3293
|
return t.slice(n, n + r.length) === r;
|
|
3294
3294
|
}
|
|
3295
|
-
),
|
|
3295
|
+
), tt = xi ? String.fromCodePoint : (
|
|
3296
3296
|
// IE11
|
|
3297
3297
|
function() {
|
|
3298
3298
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3316,7 +3316,7 @@ var Mt = _i ? (
|
|
|
3316
3316
|
return r;
|
|
3317
3317
|
}
|
|
3318
3318
|
)
|
|
3319
|
-
), xr =
|
|
3319
|
+
), xr = wi ? (
|
|
3320
3320
|
// Native
|
|
3321
3321
|
function(t, r) {
|
|
3322
3322
|
return t.codePointAt(r);
|
|
@@ -3330,7 +3330,7 @@ var Mt = _i ? (
|
|
|
3330
3330
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3331
3331
|
}
|
|
3332
3332
|
}
|
|
3333
|
-
), Ci =
|
|
3333
|
+
), Ci = Si ? (
|
|
3334
3334
|
// Native
|
|
3335
3335
|
function(t) {
|
|
3336
3336
|
return t.trimStart();
|
|
@@ -3354,24 +3354,24 @@ var Mt = _i ? (
|
|
|
3354
3354
|
function Er(e, t) {
|
|
3355
3355
|
return new RegExp(e, t);
|
|
3356
3356
|
}
|
|
3357
|
-
var
|
|
3358
|
-
if (
|
|
3357
|
+
var rt;
|
|
3358
|
+
if (et) {
|
|
3359
3359
|
var Lt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3360
|
-
|
|
3360
|
+
rt = function(t, r) {
|
|
3361
3361
|
var n;
|
|
3362
3362
|
Lt.lastIndex = r;
|
|
3363
3363
|
var i = Lt.exec(t);
|
|
3364
3364
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3365
3365
|
};
|
|
3366
3366
|
} else
|
|
3367
|
-
|
|
3367
|
+
rt = function(t, r) {
|
|
3368
3368
|
for (var n = []; ; ) {
|
|
3369
3369
|
var i = xr(t, r);
|
|
3370
|
-
if (i === void 0 ||
|
|
3370
|
+
if (i === void 0 || wr(i) || Ni(i))
|
|
3371
3371
|
break;
|
|
3372
3372
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3373
3373
|
}
|
|
3374
|
-
return
|
|
3374
|
+
return tt.apply(void 0, n);
|
|
3375
3375
|
};
|
|
3376
3376
|
var Oi = (
|
|
3377
3377
|
/** @class */
|
|
@@ -3398,13 +3398,13 @@ var Oi = (
|
|
|
3398
3398
|
var a = this.clonePosition();
|
|
3399
3399
|
this.bump(), i.push({
|
|
3400
3400
|
type: w.pound,
|
|
3401
|
-
location:
|
|
3401
|
+
location: _(a, this.clonePosition())
|
|
3402
3402
|
});
|
|
3403
3403
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3404
3404
|
if (n)
|
|
3405
3405
|
break;
|
|
3406
|
-
return this.error(
|
|
3407
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3406
|
+
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
3407
|
+
} else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
3408
3408
|
var s = this.parseTag(t, r);
|
|
3409
3409
|
if (s.err)
|
|
3410
3410
|
return s;
|
|
@@ -3427,7 +3427,7 @@ var Oi = (
|
|
|
3427
3427
|
val: {
|
|
3428
3428
|
type: w.literal,
|
|
3429
3429
|
value: "<".concat(i, "/>"),
|
|
3430
|
-
location:
|
|
3430
|
+
location: _(n, this.clonePosition())
|
|
3431
3431
|
},
|
|
3432
3432
|
err: null
|
|
3433
3433
|
};
|
|
@@ -3437,22 +3437,22 @@ var Oi = (
|
|
|
3437
3437
|
return o;
|
|
3438
3438
|
var s = o.val, a = this.clonePosition();
|
|
3439
3439
|
if (this.bumpIf("</")) {
|
|
3440
|
-
if (this.isEOF() || !
|
|
3441
|
-
return this.error(
|
|
3440
|
+
if (this.isEOF() || !nt(this.char()))
|
|
3441
|
+
return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
|
|
3442
3442
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3443
|
-
return i !== u ? this.error(
|
|
3443
|
+
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3444
3444
|
val: {
|
|
3445
3445
|
type: w.tag,
|
|
3446
3446
|
value: i,
|
|
3447
3447
|
children: s,
|
|
3448
|
-
location:
|
|
3448
|
+
location: _(n, this.clonePosition())
|
|
3449
3449
|
},
|
|
3450
3450
|
err: null
|
|
3451
|
-
} : this.error(
|
|
3451
|
+
} : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
|
|
3452
3452
|
} else
|
|
3453
|
-
return this.error(
|
|
3453
|
+
return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
|
|
3454
3454
|
} else
|
|
3455
|
-
return this.error(
|
|
3455
|
+
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
3456
3456
|
}, e.prototype.parseTagName = function() {
|
|
3457
3457
|
var t = this.offset();
|
|
3458
3458
|
for (this.bump(); !this.isEOF() && Mi(this.char()); )
|
|
@@ -3477,7 +3477,7 @@ var Oi = (
|
|
|
3477
3477
|
}
|
|
3478
3478
|
break;
|
|
3479
3479
|
}
|
|
3480
|
-
var l =
|
|
3480
|
+
var l = _(n, this.clonePosition());
|
|
3481
3481
|
return {
|
|
3482
3482
|
val: { type: w.literal, value: i, location: l },
|
|
3483
3483
|
err: null
|
|
@@ -3518,23 +3518,23 @@ var Oi = (
|
|
|
3518
3518
|
r.push(n);
|
|
3519
3519
|
this.bump();
|
|
3520
3520
|
}
|
|
3521
|
-
return
|
|
3521
|
+
return tt.apply(void 0, r);
|
|
3522
3522
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3523
3523
|
if (this.isEOF())
|
|
3524
3524
|
return null;
|
|
3525
3525
|
var n = this.char();
|
|
3526
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3526
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
|
|
3527
3527
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3528
3528
|
var n = this.clonePosition();
|
|
3529
3529
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3530
|
-
return this.error(
|
|
3530
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
3531
3531
|
if (this.char() === 125)
|
|
3532
|
-
return this.bump(), this.error(
|
|
3532
|
+
return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
|
|
3533
3533
|
var i = this.parseIdentifierIfPossible().value;
|
|
3534
3534
|
if (!i)
|
|
3535
|
-
return this.error(
|
|
3535
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3536
3536
|
if (this.bumpSpace(), this.isEOF())
|
|
3537
|
-
return this.error(
|
|
3537
|
+
return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
3538
3538
|
switch (this.char()) {
|
|
3539
3539
|
case 125:
|
|
3540
3540
|
return this.bump(), {
|
|
@@ -3542,25 +3542,25 @@ var Oi = (
|
|
|
3542
3542
|
type: w.argument,
|
|
3543
3543
|
// value does not include the opening and closing braces.
|
|
3544
3544
|
value: i,
|
|
3545
|
-
location:
|
|
3545
|
+
location: _(n, this.clonePosition())
|
|
3546
3546
|
},
|
|
3547
3547
|
err: null
|
|
3548
3548
|
};
|
|
3549
3549
|
case 44:
|
|
3550
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3550
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3551
3551
|
default:
|
|
3552
|
-
return this.error(
|
|
3552
|
+
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
3553
3553
|
}
|
|
3554
3554
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3555
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3555
|
+
var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
|
|
3556
3556
|
this.bumpTo(i);
|
|
3557
|
-
var o = this.clonePosition(), s =
|
|
3557
|
+
var o = this.clonePosition(), s = _(t, o);
|
|
3558
3558
|
return { value: n, location: s };
|
|
3559
3559
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3560
3560
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3561
3561
|
switch (a) {
|
|
3562
3562
|
case "":
|
|
3563
|
-
return this.error(
|
|
3563
|
+
return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, l));
|
|
3564
3564
|
case "number":
|
|
3565
3565
|
case "date":
|
|
3566
3566
|
case "time": {
|
|
@@ -3573,35 +3573,35 @@ var Oi = (
|
|
|
3573
3573
|
return c;
|
|
3574
3574
|
var f = Pi(c.val);
|
|
3575
3575
|
if (f.length === 0)
|
|
3576
|
-
return this.error(
|
|
3577
|
-
var
|
|
3578
|
-
u = { style: f, styleLocation:
|
|
3576
|
+
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
3577
|
+
var p = _(h, this.clonePosition());
|
|
3578
|
+
u = { style: f, styleLocation: p };
|
|
3579
3579
|
}
|
|
3580
3580
|
var m = this.tryParseArgumentClose(i);
|
|
3581
3581
|
if (m.err)
|
|
3582
3582
|
return m;
|
|
3583
|
-
var
|
|
3583
|
+
var d = _(i, this.clonePosition());
|
|
3584
3584
|
if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3585
3585
|
var g = Ci(u.style.slice(2));
|
|
3586
3586
|
if (a === "number") {
|
|
3587
3587
|
var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
|
|
3588
3588
|
return c.err ? c : {
|
|
3589
|
-
val: { type: w.number, value: n, location:
|
|
3589
|
+
val: { type: w.number, value: n, location: d, style: c.val },
|
|
3590
3590
|
err: null
|
|
3591
3591
|
};
|
|
3592
3592
|
} else {
|
|
3593
3593
|
if (g.length === 0)
|
|
3594
|
-
return this.error(
|
|
3595
|
-
var
|
|
3596
|
-
this.locale && (
|
|
3594
|
+
return this.error(y.EXPECT_DATE_TIME_SKELETON, d);
|
|
3595
|
+
var A = g;
|
|
3596
|
+
this.locale && (A = bi(g, this.locale));
|
|
3597
3597
|
var f = {
|
|
3598
|
-
type:
|
|
3599
|
-
pattern:
|
|
3598
|
+
type: Q.dateTime,
|
|
3599
|
+
pattern: A,
|
|
3600
3600
|
location: u.styleLocation,
|
|
3601
|
-
parsedOptions: this.shouldParseSkeletons ? li(
|
|
3602
|
-
},
|
|
3601
|
+
parsedOptions: this.shouldParseSkeletons ? li(A) : {}
|
|
3602
|
+
}, T = a === "date" ? w.date : w.time;
|
|
3603
3603
|
return {
|
|
3604
|
-
val: { type:
|
|
3604
|
+
val: { type: T, value: n, location: d, style: f },
|
|
3605
3605
|
err: null
|
|
3606
3606
|
};
|
|
3607
3607
|
}
|
|
@@ -3610,7 +3610,7 @@ var Oi = (
|
|
|
3610
3610
|
val: {
|
|
3611
3611
|
type: a === "number" ? w.number : a === "date" ? w.date : w.time,
|
|
3612
3612
|
value: n,
|
|
3613
|
-
location:
|
|
3613
|
+
location: d,
|
|
3614
3614
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3615
3615
|
},
|
|
3616
3616
|
err: null
|
|
@@ -3619,52 +3619,52 @@ var Oi = (
|
|
|
3619
3619
|
case "plural":
|
|
3620
3620
|
case "selectordinal":
|
|
3621
3621
|
case "select": {
|
|
3622
|
-
var
|
|
3622
|
+
var x = this.clonePosition();
|
|
3623
3623
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3624
|
-
return this.error(
|
|
3624
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, we({}, x)));
|
|
3625
3625
|
this.bumpSpace();
|
|
3626
|
-
var E = this.parseIdentifierIfPossible(),
|
|
3626
|
+
var E = this.parseIdentifierIfPossible(), b = 0;
|
|
3627
3627
|
if (a !== "select" && E.value === "offset") {
|
|
3628
3628
|
if (!this.bumpIf(":"))
|
|
3629
|
-
return this.error(
|
|
3629
|
+
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
3630
3630
|
this.bumpSpace();
|
|
3631
|
-
var c = this.tryParseDecimalInteger(
|
|
3631
|
+
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3632
3632
|
if (c.err)
|
|
3633
3633
|
return c;
|
|
3634
|
-
this.bumpSpace(), E = this.parseIdentifierIfPossible(),
|
|
3634
|
+
this.bumpSpace(), E = this.parseIdentifierIfPossible(), b = c.val;
|
|
3635
3635
|
}
|
|
3636
|
-
var
|
|
3637
|
-
if (
|
|
3638
|
-
return
|
|
3636
|
+
var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
|
|
3637
|
+
if (B.err)
|
|
3638
|
+
return B;
|
|
3639
3639
|
var m = this.tryParseArgumentClose(i);
|
|
3640
3640
|
if (m.err)
|
|
3641
3641
|
return m;
|
|
3642
|
-
var
|
|
3642
|
+
var ce = _(i, this.clonePosition());
|
|
3643
3643
|
return a === "select" ? {
|
|
3644
3644
|
val: {
|
|
3645
3645
|
type: w.select,
|
|
3646
3646
|
value: n,
|
|
3647
|
-
options: Nt(
|
|
3648
|
-
location:
|
|
3647
|
+
options: Nt(B.val),
|
|
3648
|
+
location: ce
|
|
3649
3649
|
},
|
|
3650
3650
|
err: null
|
|
3651
3651
|
} : {
|
|
3652
3652
|
val: {
|
|
3653
3653
|
type: w.plural,
|
|
3654
3654
|
value: n,
|
|
3655
|
-
options: Nt(
|
|
3656
|
-
offset:
|
|
3655
|
+
options: Nt(B.val),
|
|
3656
|
+
offset: b,
|
|
3657
3657
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3658
|
-
location:
|
|
3658
|
+
location: ce
|
|
3659
3659
|
},
|
|
3660
3660
|
err: null
|
|
3661
3661
|
};
|
|
3662
3662
|
}
|
|
3663
3663
|
default:
|
|
3664
|
-
return this.error(
|
|
3664
|
+
return this.error(y.INVALID_ARGUMENT_TYPE, _(s, l));
|
|
3665
3665
|
}
|
|
3666
3666
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3667
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3667
|
+
return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3668
3668
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3669
3669
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3670
3670
|
var n = this.char();
|
|
@@ -3673,7 +3673,7 @@ var Oi = (
|
|
|
3673
3673
|
this.bump();
|
|
3674
3674
|
var i = this.clonePosition();
|
|
3675
3675
|
if (!this.bumpUntil("'"))
|
|
3676
|
-
return this.error(
|
|
3676
|
+
return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
|
|
3677
3677
|
this.bump();
|
|
3678
3678
|
break;
|
|
3679
3679
|
}
|
|
@@ -3705,11 +3705,11 @@ var Oi = (
|
|
|
3705
3705
|
try {
|
|
3706
3706
|
n = ci(t);
|
|
3707
3707
|
} catch (i) {
|
|
3708
|
-
return this.error(
|
|
3708
|
+
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3709
3709
|
}
|
|
3710
3710
|
return {
|
|
3711
3711
|
val: {
|
|
3712
|
-
type:
|
|
3712
|
+
type: Q.number,
|
|
3713
3713
|
tokens: n,
|
|
3714
3714
|
location: r,
|
|
3715
3715
|
parsedOptions: this.shouldParseSkeletons ? di(n) : {}
|
|
@@ -3721,34 +3721,34 @@ var Oi = (
|
|
|
3721
3721
|
if (u.length === 0) {
|
|
3722
3722
|
var c = this.clonePosition();
|
|
3723
3723
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3724
|
-
var f = this.tryParseDecimalInteger(
|
|
3724
|
+
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3725
3725
|
if (f.err)
|
|
3726
3726
|
return f;
|
|
3727
|
-
h =
|
|
3727
|
+
h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3728
3728
|
} else
|
|
3729
3729
|
break;
|
|
3730
3730
|
}
|
|
3731
3731
|
if (l.has(u))
|
|
3732
|
-
return this.error(r === "select" ?
|
|
3732
|
+
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3733
3733
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3734
|
-
var
|
|
3734
|
+
var p = this.clonePosition();
|
|
3735
3735
|
if (!this.bumpIf("{"))
|
|
3736
|
-
return this.error(r === "select" ?
|
|
3736
|
+
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
3737
3737
|
var m = this.parseMessage(t + 1, r, n);
|
|
3738
3738
|
if (m.err)
|
|
3739
3739
|
return m;
|
|
3740
|
-
var
|
|
3741
|
-
if (
|
|
3742
|
-
return
|
|
3740
|
+
var d = this.tryParseArgumentClose(p);
|
|
3741
|
+
if (d.err)
|
|
3742
|
+
return d;
|
|
3743
3743
|
a.push([
|
|
3744
3744
|
u,
|
|
3745
3745
|
{
|
|
3746
3746
|
value: m.val,
|
|
3747
|
-
location:
|
|
3747
|
+
location: _(p, this.clonePosition())
|
|
3748
3748
|
}
|
|
3749
3749
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3750
3750
|
}
|
|
3751
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3751
|
+
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 };
|
|
3752
3752
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3753
3753
|
var n = 1, i = this.clonePosition();
|
|
3754
3754
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3759,8 +3759,8 @@ var Oi = (
|
|
|
3759
3759
|
else
|
|
3760
3760
|
break;
|
|
3761
3761
|
}
|
|
3762
|
-
var l =
|
|
3763
|
-
return o ? (s *= n,
|
|
3762
|
+
var l = _(i, this.clonePosition());
|
|
3763
|
+
return o ? (s *= n, Ai(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3764
3764
|
}, e.prototype.offset = function() {
|
|
3765
3765
|
return this.position.offset;
|
|
3766
3766
|
}, e.prototype.isEOF = function() {
|
|
@@ -3816,7 +3816,7 @@ var Oi = (
|
|
|
3816
3816
|
break;
|
|
3817
3817
|
}
|
|
3818
3818
|
}, e.prototype.bumpSpace = function() {
|
|
3819
|
-
for (; !this.isEOF() &&
|
|
3819
|
+
for (; !this.isEOF() && wr(this.char()); )
|
|
3820
3820
|
this.bump();
|
|
3821
3821
|
}, e.prototype.peek = function() {
|
|
3822
3822
|
if (this.isEOF())
|
|
@@ -3826,47 +3826,47 @@ var Oi = (
|
|
|
3826
3826
|
}, e;
|
|
3827
3827
|
}()
|
|
3828
3828
|
);
|
|
3829
|
-
function
|
|
3829
|
+
function nt(e) {
|
|
3830
3830
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3831
3831
|
}
|
|
3832
3832
|
function Ii(e) {
|
|
3833
|
-
return
|
|
3833
|
+
return nt(e) || e === 47;
|
|
3834
3834
|
}
|
|
3835
3835
|
function Mi(e) {
|
|
3836
3836
|
return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
|
|
3837
3837
|
}
|
|
3838
|
-
function
|
|
3838
|
+
function wr(e) {
|
|
3839
3839
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3840
3840
|
}
|
|
3841
3841
|
function Ni(e) {
|
|
3842
3842
|
return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
|
|
3843
3843
|
}
|
|
3844
|
-
function
|
|
3844
|
+
function it(e) {
|
|
3845
3845
|
e.forEach(function(t) {
|
|
3846
3846
|
if (delete t.location, mr(t) || pr(t))
|
|
3847
3847
|
for (var r in t.options)
|
|
3848
|
-
delete t.options[r].location,
|
|
3848
|
+
delete t.options[r].location, it(t.options[r].value);
|
|
3849
3849
|
else
|
|
3850
|
-
hr(t) && br(t.style) || (cr(t) || fr(t)) &&
|
|
3850
|
+
hr(t) && br(t.style) || (cr(t) || fr(t)) && Ke(t.style) ? delete t.style.location : dr(t) && it(t.children);
|
|
3851
3851
|
});
|
|
3852
3852
|
}
|
|
3853
3853
|
function Li(e, t) {
|
|
3854
3854
|
t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3855
3855
|
var r = new Oi(e, t).parse();
|
|
3856
3856
|
if (r.err) {
|
|
3857
|
-
var n = SyntaxError(
|
|
3857
|
+
var n = SyntaxError(y[r.err.kind]);
|
|
3858
3858
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3859
3859
|
}
|
|
3860
|
-
return t != null && t.captureLocation ||
|
|
3860
|
+
return t != null && t.captureLocation || it(r.val), r.val;
|
|
3861
3861
|
}
|
|
3862
|
-
var
|
|
3862
|
+
var J;
|
|
3863
3863
|
(function(e) {
|
|
3864
3864
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3865
|
-
})(
|
|
3866
|
-
var
|
|
3865
|
+
})(J || (J = {}));
|
|
3866
|
+
var Pe = (
|
|
3867
3867
|
/** @class */
|
|
3868
3868
|
function(e) {
|
|
3869
|
-
|
|
3869
|
+
Ce(t, e);
|
|
3870
3870
|
function t(r, n, i) {
|
|
3871
3871
|
var o = e.call(this, r) || this;
|
|
3872
3872
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3878,30 +3878,30 @@ var Oe = (
|
|
|
3878
3878
|
), $t = (
|
|
3879
3879
|
/** @class */
|
|
3880
3880
|
function(e) {
|
|
3881
|
-
|
|
3881
|
+
Ce(t, e);
|
|
3882
3882
|
function t(r, n, i, o) {
|
|
3883
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3883
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3884
3884
|
}
|
|
3885
3885
|
return t;
|
|
3886
|
-
}(
|
|
3886
|
+
}(Pe)
|
|
3887
3887
|
), $i = (
|
|
3888
3888
|
/** @class */
|
|
3889
3889
|
function(e) {
|
|
3890
|
-
|
|
3890
|
+
Ce(t, e);
|
|
3891
3891
|
function t(r, n, i) {
|
|
3892
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3892
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3893
3893
|
}
|
|
3894
3894
|
return t;
|
|
3895
|
-
}(
|
|
3895
|
+
}(Pe)
|
|
3896
3896
|
), Ri = (
|
|
3897
3897
|
/** @class */
|
|
3898
3898
|
function(e) {
|
|
3899
|
-
|
|
3899
|
+
Ce(t, e);
|
|
3900
3900
|
function t(r, n) {
|
|
3901
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3901
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3902
3902
|
}
|
|
3903
3903
|
return t;
|
|
3904
|
-
}(
|
|
3904
|
+
}(Pe)
|
|
3905
3905
|
), P;
|
|
3906
3906
|
(function(e) {
|
|
3907
3907
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
@@ -3951,79 +3951,79 @@ function ye(e, t, r, n, i, o, s) {
|
|
|
3951
3951
|
continue;
|
|
3952
3952
|
}
|
|
3953
3953
|
if (cr(h)) {
|
|
3954
|
-
var
|
|
3954
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
|
|
3955
3955
|
a.push({
|
|
3956
3956
|
type: P.literal,
|
|
3957
|
-
value: r.getDateTimeFormat(t,
|
|
3957
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3958
3958
|
});
|
|
3959
3959
|
continue;
|
|
3960
3960
|
}
|
|
3961
3961
|
if (fr(h)) {
|
|
3962
|
-
var
|
|
3962
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Ke(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3963
3963
|
a.push({
|
|
3964
3964
|
type: P.literal,
|
|
3965
|
-
value: r.getDateTimeFormat(t,
|
|
3965
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
3966
3966
|
});
|
|
3967
3967
|
continue;
|
|
3968
3968
|
}
|
|
3969
3969
|
if (hr(h)) {
|
|
3970
|
-
var
|
|
3971
|
-
|
|
3970
|
+
var p = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
|
|
3971
|
+
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3972
3972
|
type: P.literal,
|
|
3973
|
-
value: r.getNumberFormat(t,
|
|
3973
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
3974
3974
|
});
|
|
3975
3975
|
continue;
|
|
3976
3976
|
}
|
|
3977
3977
|
if (dr(h)) {
|
|
3978
|
-
var m = h.children,
|
|
3978
|
+
var m = h.children, d = h.value, g = i[d];
|
|
3979
3979
|
if (!Ui(g))
|
|
3980
|
-
throw new $i(
|
|
3981
|
-
var
|
|
3982
|
-
return
|
|
3980
|
+
throw new $i(d, "function", s);
|
|
3981
|
+
var A = ye(m, t, r, n, i, o), T = g(A.map(function(b) {
|
|
3982
|
+
return b.value;
|
|
3983
3983
|
}));
|
|
3984
|
-
Array.isArray(
|
|
3984
|
+
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(b) {
|
|
3985
3985
|
return {
|
|
3986
|
-
type: typeof
|
|
3987
|
-
value:
|
|
3986
|
+
type: typeof b == "string" ? P.literal : P.object,
|
|
3987
|
+
value: b
|
|
3988
3988
|
};
|
|
3989
3989
|
}));
|
|
3990
3990
|
}
|
|
3991
3991
|
if (mr(h)) {
|
|
3992
|
-
var
|
|
3993
|
-
if (!
|
|
3992
|
+
var x = h.options[f] || h.options.other;
|
|
3993
|
+
if (!x)
|
|
3994
3994
|
throw new $t(h.value, f, Object.keys(h.options), s);
|
|
3995
|
-
a.push.apply(a, ye(
|
|
3995
|
+
a.push.apply(a, ye(x.value, t, r, n, i));
|
|
3996
3996
|
continue;
|
|
3997
3997
|
}
|
|
3998
3998
|
if (pr(h)) {
|
|
3999
|
-
var
|
|
4000
|
-
if (!
|
|
3999
|
+
var x = h.options["=".concat(f)];
|
|
4000
|
+
if (!x) {
|
|
4001
4001
|
if (!Intl.PluralRules)
|
|
4002
|
-
throw new
|
|
4002
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
4003
4003
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4004
|
-
`,
|
|
4004
|
+
`, J.MISSING_INTL_API, s);
|
|
4005
4005
|
var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
4006
|
-
|
|
4006
|
+
x = h.options[E] || h.options.other;
|
|
4007
4007
|
}
|
|
4008
|
-
if (!
|
|
4008
|
+
if (!x)
|
|
4009
4009
|
throw new $t(h.value, f, Object.keys(h.options), s);
|
|
4010
|
-
a.push.apply(a, ye(
|
|
4010
|
+
a.push.apply(a, ye(x.value, t, r, n, i, f - (h.offset || 0)));
|
|
4011
4011
|
continue;
|
|
4012
4012
|
}
|
|
4013
4013
|
}
|
|
4014
4014
|
return Gi(a);
|
|
4015
4015
|
}
|
|
4016
4016
|
function Di(e, t) {
|
|
4017
|
-
return t ?
|
|
4018
|
-
return r[n] =
|
|
4017
|
+
return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4018
|
+
return r[n] = L(L({}, e[n]), t[n] || {}), r;
|
|
4019
4019
|
}, {})) : e;
|
|
4020
4020
|
}
|
|
4021
4021
|
function Fi(e, t) {
|
|
4022
4022
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4023
4023
|
return r[n] = Di(e[n], t[n]), r;
|
|
4024
|
-
},
|
|
4024
|
+
}, L({}, e)) : e;
|
|
4025
4025
|
}
|
|
4026
|
-
function
|
|
4026
|
+
function Fe(e) {
|
|
4027
4027
|
return {
|
|
4028
4028
|
create: function() {
|
|
4029
4029
|
return {
|
|
@@ -4043,29 +4043,29 @@ function ji(e) {
|
|
|
4043
4043
|
dateTime: {},
|
|
4044
4044
|
pluralRules: {}
|
|
4045
4045
|
}), {
|
|
4046
|
-
getNumberFormat:
|
|
4046
|
+
getNumberFormat: Ge(function() {
|
|
4047
4047
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4048
4048
|
r[n] = arguments[n];
|
|
4049
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
4049
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
4050
4050
|
}, {
|
|
4051
|
-
cache:
|
|
4052
|
-
strategy:
|
|
4051
|
+
cache: Fe(e.number),
|
|
4052
|
+
strategy: Ue.variadic
|
|
4053
4053
|
}),
|
|
4054
|
-
getDateTimeFormat:
|
|
4054
|
+
getDateTimeFormat: Ge(function() {
|
|
4055
4055
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4056
4056
|
r[n] = arguments[n];
|
|
4057
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
4057
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
4058
4058
|
}, {
|
|
4059
|
-
cache:
|
|
4060
|
-
strategy:
|
|
4059
|
+
cache: Fe(e.dateTime),
|
|
4060
|
+
strategy: Ue.variadic
|
|
4061
4061
|
}),
|
|
4062
|
-
getPluralRules:
|
|
4062
|
+
getPluralRules: Ge(function() {
|
|
4063
4063
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4064
4064
|
r[n] = arguments[n];
|
|
4065
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
4065
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
|
|
4066
4066
|
}, {
|
|
4067
|
-
cache:
|
|
4068
|
-
strategy:
|
|
4067
|
+
cache: Fe(e.pluralRules),
|
|
4068
|
+
strategy: Ue.variadic
|
|
4069
4069
|
})
|
|
4070
4070
|
};
|
|
4071
4071
|
}
|
|
@@ -4102,7 +4102,7 @@ var ki = (
|
|
|
4102
4102
|
var s = i || {};
|
|
4103
4103
|
s.formatters;
|
|
4104
4104
|
var a = Yn(s, ["formatters"]);
|
|
4105
|
-
this.ast = e.__parse(t,
|
|
4105
|
+
this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
|
|
4106
4106
|
} else
|
|
4107
4107
|
this.ast = t;
|
|
4108
4108
|
if (!Array.isArray(this.ast))
|
|
@@ -4202,12 +4202,12 @@ function Vi(e, t) {
|
|
|
4202
4202
|
n = void 0;
|
|
4203
4203
|
return n;
|
|
4204
4204
|
}
|
|
4205
|
-
const
|
|
4205
|
+
const G = {}, Xi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Sr = (e, t) => {
|
|
4206
4206
|
if (t == null)
|
|
4207
4207
|
return;
|
|
4208
|
-
if (t in
|
|
4209
|
-
return
|
|
4210
|
-
const r =
|
|
4208
|
+
if (t in G && e in G[t])
|
|
4209
|
+
return G[t][e];
|
|
4210
|
+
const r = Oe(t);
|
|
4211
4211
|
for (let n = 0; n < r.length; n++) {
|
|
4212
4212
|
const i = r[n], o = Wi(i, e);
|
|
4213
4213
|
if (o)
|
|
@@ -4215,7 +4215,7 @@ const U = {}, Xi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][
|
|
|
4215
4215
|
}
|
|
4216
4216
|
};
|
|
4217
4217
|
let ht;
|
|
4218
|
-
const
|
|
4218
|
+
const he = Be({});
|
|
4219
4219
|
function zi(e) {
|
|
4220
4220
|
return ht[e] || null;
|
|
4221
4221
|
}
|
|
@@ -4231,7 +4231,7 @@ function Wi(e, t) {
|
|
|
4231
4231
|
function Zi(e) {
|
|
4232
4232
|
if (e == null)
|
|
4233
4233
|
return;
|
|
4234
|
-
const t =
|
|
4234
|
+
const t = Oe(e);
|
|
4235
4235
|
for (let r = 0; r < t.length; r++) {
|
|
4236
4236
|
const n = t[r];
|
|
4237
4237
|
if (Tr(n))
|
|
@@ -4239,31 +4239,31 @@ function Zi(e) {
|
|
|
4239
4239
|
}
|
|
4240
4240
|
}
|
|
4241
4241
|
function Hr(e, ...t) {
|
|
4242
|
-
delete
|
|
4242
|
+
delete G[e], he.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
|
|
4243
4243
|
}
|
|
4244
|
-
|
|
4245
|
-
[
|
|
4244
|
+
Y(
|
|
4245
|
+
[he],
|
|
4246
4246
|
([e]) => Object.keys(e)
|
|
4247
4247
|
);
|
|
4248
|
-
|
|
4248
|
+
he.subscribe((e) => ht = e);
|
|
4249
4249
|
const ve = {};
|
|
4250
4250
|
function Qi(e, t) {
|
|
4251
4251
|
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
4252
4252
|
}
|
|
4253
|
-
function
|
|
4253
|
+
function Ar(e) {
|
|
4254
4254
|
return ve[e];
|
|
4255
4255
|
}
|
|
4256
4256
|
function Ji(e) {
|
|
4257
|
-
return
|
|
4258
|
-
const r =
|
|
4257
|
+
return Oe(e).map((t) => {
|
|
4258
|
+
const r = Ar(t);
|
|
4259
4259
|
return [t, r ? [...r] : []];
|
|
4260
4260
|
}).filter(([, t]) => t.length > 0);
|
|
4261
4261
|
}
|
|
4262
|
-
function
|
|
4263
|
-
return e == null ? !1 :
|
|
4262
|
+
function ot(e) {
|
|
4263
|
+
return e == null ? !1 : Oe(e).some(
|
|
4264
4264
|
(t) => {
|
|
4265
4265
|
var r;
|
|
4266
|
-
return (r =
|
|
4266
|
+
return (r = Ar(t)) == null ? void 0 : r.size;
|
|
4267
4267
|
}
|
|
4268
4268
|
);
|
|
4269
4269
|
}
|
|
@@ -4272,20 +4272,20 @@ function qi(e, t) {
|
|
|
4272
4272
|
t.map((n) => (Qi(e, n), n().then((i) => i.default || i)))
|
|
4273
4273
|
).then((n) => Hr(e, ...n));
|
|
4274
4274
|
}
|
|
4275
|
-
const
|
|
4276
|
-
function
|
|
4277
|
-
if (!
|
|
4278
|
-
return e in
|
|
4275
|
+
const re = {};
|
|
4276
|
+
function Br(e) {
|
|
4277
|
+
if (!ot(e))
|
|
4278
|
+
return e in re ? re[e] : Promise.resolve();
|
|
4279
4279
|
const t = Ji(e);
|
|
4280
|
-
return
|
|
4280
|
+
return re[e] = Promise.all(
|
|
4281
4281
|
t.map(
|
|
4282
4282
|
([r, n]) => qi(r, n)
|
|
4283
4283
|
)
|
|
4284
4284
|
).then(() => {
|
|
4285
|
-
if (
|
|
4286
|
-
return
|
|
4287
|
-
delete
|
|
4288
|
-
}),
|
|
4285
|
+
if (ot(e))
|
|
4286
|
+
return Br(e);
|
|
4287
|
+
delete re[e];
|
|
4288
|
+
}), re[e];
|
|
4289
4289
|
}
|
|
4290
4290
|
const Yi = {
|
|
4291
4291
|
number: {
|
|
@@ -4324,10 +4324,10 @@ const Yi = {
|
|
|
4324
4324
|
handleMissingMessage: void 0,
|
|
4325
4325
|
ignoreTag: !0
|
|
4326
4326
|
}, eo = Ki;
|
|
4327
|
-
function
|
|
4327
|
+
function q() {
|
|
4328
4328
|
return eo;
|
|
4329
4329
|
}
|
|
4330
|
-
const
|
|
4330
|
+
const je = Be(!1);
|
|
4331
4331
|
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) => {
|
|
4332
4332
|
for (var r in t || (t = {}))
|
|
4333
4333
|
io.call(t, r) && Gt(e, r, t[r]);
|
|
@@ -4336,113 +4336,113 @@ var to = Object.defineProperty, ro = Object.defineProperties, no = Object.getOwn
|
|
|
4336
4336
|
oo.call(t, r) && Gt(e, r, t[r]);
|
|
4337
4337
|
return e;
|
|
4338
4338
|
}, ao = (e, t) => ro(e, no(t));
|
|
4339
|
-
let
|
|
4340
|
-
const
|
|
4339
|
+
let st;
|
|
4340
|
+
const Se = Be(null);
|
|
4341
4341
|
function Ut(e) {
|
|
4342
4342
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4343
4343
|
}
|
|
4344
|
-
function
|
|
4344
|
+
function Oe(e, t = q().fallbackLocale) {
|
|
4345
4345
|
const r = Ut(e);
|
|
4346
4346
|
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
|
4347
4347
|
}
|
|
4348
|
-
function
|
|
4349
|
-
return
|
|
4348
|
+
function F() {
|
|
4349
|
+
return st != null ? st : void 0;
|
|
4350
4350
|
}
|
|
4351
|
-
|
|
4352
|
-
|
|
4351
|
+
Se.subscribe((e) => {
|
|
4352
|
+
st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4353
4353
|
});
|
|
4354
4354
|
const uo = (e) => {
|
|
4355
|
-
if (e && Zi(e) &&
|
|
4356
|
-
const { loadingDelay: t } =
|
|
4355
|
+
if (e && Zi(e) && ot(e)) {
|
|
4356
|
+
const { loadingDelay: t } = q();
|
|
4357
4357
|
let r;
|
|
4358
|
-
return typeof window != "undefined" &&
|
|
4359
|
-
() =>
|
|
4358
|
+
return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
|
|
4359
|
+
() => je.set(!0),
|
|
4360
4360
|
t
|
|
4361
|
-
) :
|
|
4362
|
-
|
|
4361
|
+
) : je.set(!0), Br(e).then(() => {
|
|
4362
|
+
Se.set(e);
|
|
4363
4363
|
}).finally(() => {
|
|
4364
|
-
clearTimeout(r),
|
|
4364
|
+
clearTimeout(r), je.set(!1);
|
|
4365
4365
|
});
|
|
4366
4366
|
}
|
|
4367
|
-
return
|
|
4368
|
-
},
|
|
4367
|
+
return Se.set(e);
|
|
4368
|
+
}, K = ao(so({}, Se), {
|
|
4369
4369
|
set: uo
|
|
4370
|
-
}),
|
|
4370
|
+
}), Ie = (e) => {
|
|
4371
4371
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4372
4372
|
return (n) => {
|
|
4373
4373
|
const i = JSON.stringify(n);
|
|
4374
4374
|
return i in t ? t[i] : t[i] = e(n);
|
|
4375
4375
|
};
|
|
4376
4376
|
};
|
|
4377
|
-
var lo = Object.defineProperty,
|
|
4377
|
+
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) => {
|
|
4378
4378
|
for (var r in t || (t = {}))
|
|
4379
4379
|
Cr.call(t, r) && Dt(e, r, t[r]);
|
|
4380
|
-
if (
|
|
4381
|
-
for (var r of
|
|
4380
|
+
if (Te)
|
|
4381
|
+
for (var r of Te(t))
|
|
4382
4382
|
Pr.call(t, r) && Dt(e, r, t[r]);
|
|
4383
4383
|
return e;
|
|
4384
|
-
},
|
|
4384
|
+
}, ee = (e, t) => {
|
|
4385
4385
|
var r = {};
|
|
4386
4386
|
for (var n in e)
|
|
4387
4387
|
Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4388
|
-
if (e != null &&
|
|
4389
|
-
for (var n of
|
|
4388
|
+
if (e != null && Te)
|
|
4389
|
+
for (var n of Te(e))
|
|
4390
4390
|
t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
|
|
4391
4391
|
return r;
|
|
4392
4392
|
};
|
|
4393
|
-
const
|
|
4394
|
-
const { formats: r } =
|
|
4393
|
+
const se = (e, t) => {
|
|
4394
|
+
const { formats: r } = q();
|
|
4395
4395
|
if (e in r && t in r[e])
|
|
4396
4396
|
return r[e][t];
|
|
4397
4397
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4398
|
-
}, ho =
|
|
4398
|
+
}, ho = Ie(
|
|
4399
4399
|
(e) => {
|
|
4400
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4400
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4401
4401
|
if (r == null)
|
|
4402
4402
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4403
|
-
return n && (i =
|
|
4403
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4404
4404
|
}
|
|
4405
|
-
), co =
|
|
4405
|
+
), co = Ie(
|
|
4406
4406
|
(e) => {
|
|
4407
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4407
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4408
4408
|
if (r == null)
|
|
4409
4409
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4410
|
-
return n ? i =
|
|
4410
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4411
4411
|
}
|
|
4412
|
-
), fo =
|
|
4412
|
+
), fo = Ie(
|
|
4413
4413
|
(e) => {
|
|
4414
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4414
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4415
4415
|
if (r == null)
|
|
4416
4416
|
throw new Error(
|
|
4417
4417
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4418
4418
|
);
|
|
4419
|
-
return n ? i =
|
|
4419
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4420
4420
|
}
|
|
4421
4421
|
), mo = (e = {}) => {
|
|
4422
4422
|
var t = e, {
|
|
4423
|
-
locale: r =
|
|
4424
|
-
} = t, n =
|
|
4423
|
+
locale: r = F()
|
|
4424
|
+
} = t, n = ee(t, [
|
|
4425
4425
|
"locale"
|
|
4426
4426
|
]);
|
|
4427
4427
|
return ho(ct({ locale: r }, n));
|
|
4428
4428
|
}, po = (e = {}) => {
|
|
4429
4429
|
var t = e, {
|
|
4430
|
-
locale: r =
|
|
4431
|
-
} = t, n =
|
|
4430
|
+
locale: r = F()
|
|
4431
|
+
} = t, n = ee(t, [
|
|
4432
4432
|
"locale"
|
|
4433
4433
|
]);
|
|
4434
4434
|
return co(ct({ locale: r }, n));
|
|
4435
4435
|
}, bo = (e = {}) => {
|
|
4436
4436
|
var t = e, {
|
|
4437
|
-
locale: r =
|
|
4438
|
-
} = t, n =
|
|
4437
|
+
locale: r = F()
|
|
4438
|
+
} = t, n = ee(t, [
|
|
4439
4439
|
"locale"
|
|
4440
4440
|
]);
|
|
4441
4441
|
return fo(ct({ locale: r }, n));
|
|
4442
|
-
}, go =
|
|
4442
|
+
}, go = Ie(
|
|
4443
4443
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4444
|
-
(e, t =
|
|
4445
|
-
ignoreTag:
|
|
4444
|
+
(e, t = F()) => new ki(e, t, q().formats, {
|
|
4445
|
+
ignoreTag: q().ignoreTag
|
|
4446
4446
|
})
|
|
4447
4447
|
), yo = (e, t = {}) => {
|
|
4448
4448
|
var r, n, i, o;
|
|
@@ -4450,16 +4450,16 @@ const ue = (e, t) => {
|
|
|
4450
4450
|
typeof e == "object" && (s = e, e = s.id);
|
|
4451
4451
|
const {
|
|
4452
4452
|
values: a,
|
|
4453
|
-
locale: l =
|
|
4453
|
+
locale: l = F(),
|
|
4454
4454
|
default: u
|
|
4455
4455
|
} = s;
|
|
4456
4456
|
if (l == null)
|
|
4457
4457
|
throw new Error(
|
|
4458
4458
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4459
4459
|
);
|
|
4460
|
-
let h =
|
|
4460
|
+
let h = Sr(e, l);
|
|
4461
4461
|
if (!h)
|
|
4462
|
-
h = (o = (i = (n = (r =
|
|
4462
|
+
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;
|
|
4463
4463
|
else if (typeof h != "string")
|
|
4464
4464
|
return console.warn(
|
|
4465
4465
|
`[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.`
|
|
@@ -4476,13 +4476,13 @@ const ue = (e, t) => {
|
|
|
4476
4476
|
);
|
|
4477
4477
|
}
|
|
4478
4478
|
return c;
|
|
4479
|
-
}, vo = (e, t) => bo(t).format(e), _o = (e, t) => po(t).format(e), xo = (e, t) => mo(t).format(e), Eo = (e, t =
|
|
4480
|
-
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4479
|
+
}, 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);
|
|
4480
|
+
Y([K], () => vo);
|
|
4481
|
+
Y([K], () => _o);
|
|
4482
|
+
Y([K], () => xo);
|
|
4483
|
+
Y([K, he], () => Eo);
|
|
4484
4484
|
window.emWidgets = { topic: Nn };
|
|
4485
|
-
const
|
|
4485
|
+
const So = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4486
4486
|
function To(e, t) {
|
|
4487
4487
|
if (e) {
|
|
4488
4488
|
const r = document.createElement("style");
|
|
@@ -4498,7 +4498,7 @@ function Ho(e, t) {
|
|
|
4498
4498
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4499
4499
|
});
|
|
4500
4500
|
}
|
|
4501
|
-
function
|
|
4501
|
+
function Ao(e, t, r) {
|
|
4502
4502
|
if (window.emMessageBus) {
|
|
4503
4503
|
const n = document.createElement("style");
|
|
4504
4504
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4509,8 +4509,8 @@ function Bo(e, t, r) {
|
|
|
4509
4509
|
function Ft(e, t) {
|
|
4510
4510
|
Hr(e, t);
|
|
4511
4511
|
}
|
|
4512
|
-
function
|
|
4513
|
-
|
|
4512
|
+
function Bo(e) {
|
|
4513
|
+
K.set(e);
|
|
4514
4514
|
}
|
|
4515
4515
|
const jt = {
|
|
4516
4516
|
en: {
|
|
@@ -4559,7 +4559,7 @@ const jt = {
|
|
|
4559
4559
|
}
|
|
4560
4560
|
};
|
|
4561
4561
|
function Co(e) {
|
|
4562
|
-
Qr(e, "svelte-
|
|
4562
|
+
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}');
|
|
4563
4563
|
}
|
|
4564
4564
|
const Po = (e) => ({}), kt = (e) => ({});
|
|
4565
4565
|
function Oo(e) {
|
|
@@ -4569,11 +4569,11 @@ function Oo(e) {
|
|
|
4569
4569
|
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");
|
|
4570
4570
|
},
|
|
4571
4571
|
m(n, i) {
|
|
4572
|
-
|
|
4572
|
+
ae(n, t, i), C(t, r);
|
|
4573
4573
|
},
|
|
4574
|
-
p:
|
|
4574
|
+
p: N,
|
|
4575
4575
|
d(n) {
|
|
4576
|
-
n &&
|
|
4576
|
+
n && D(t);
|
|
4577
4577
|
}
|
|
4578
4578
|
};
|
|
4579
4579
|
}
|
|
@@ -4581,24 +4581,24 @@ function Vt(e) {
|
|
|
4581
4581
|
let t, r, n;
|
|
4582
4582
|
return {
|
|
4583
4583
|
c() {
|
|
4584
|
-
t =
|
|
4584
|
+
t = M("div"), r = M("h2"), n = ue(
|
|
4585
4585
|
/*modaltitle*/
|
|
4586
4586
|
e[1]
|
|
4587
4587
|
), H(t, "class", "GeneralConfirmationTitle");
|
|
4588
4588
|
},
|
|
4589
4589
|
m(i, o) {
|
|
4590
|
-
|
|
4590
|
+
ae(i, t, o), C(t, r), C(r, n);
|
|
4591
4591
|
},
|
|
4592
4592
|
p(i, o) {
|
|
4593
4593
|
o & /*modaltitle*/
|
|
4594
|
-
2 &&
|
|
4594
|
+
2 && lt(
|
|
4595
4595
|
n,
|
|
4596
4596
|
/*modaltitle*/
|
|
4597
4597
|
i[1]
|
|
4598
4598
|
);
|
|
4599
4599
|
},
|
|
4600
4600
|
d(i) {
|
|
4601
|
-
i &&
|
|
4601
|
+
i && D(t);
|
|
4602
4602
|
}
|
|
4603
4603
|
};
|
|
4604
4604
|
}
|
|
@@ -4609,10 +4609,10 @@ function Xt(e) {
|
|
|
4609
4609
|
), n, i, o;
|
|
4610
4610
|
return {
|
|
4611
4611
|
c() {
|
|
4612
|
-
t =
|
|
4612
|
+
t = M("button"), n = ue(r), H(t, "class", "GeneralCancelButton");
|
|
4613
4613
|
},
|
|
4614
4614
|
m(s, a) {
|
|
4615
|
-
|
|
4615
|
+
ae(s, t, a), C(t, n), i || (o = ke(
|
|
4616
4616
|
t,
|
|
4617
4617
|
"click",
|
|
4618
4618
|
/*click_handler*/
|
|
@@ -4622,161 +4622,156 @@ function Xt(e) {
|
|
|
4622
4622
|
p(s, a) {
|
|
4623
4623
|
a & /*$_*/
|
|
4624
4624
|
16 && r !== (r = /*$_*/
|
|
4625
|
-
s[4]("cancel") + "") &&
|
|
4625
|
+
s[4]("cancel") + "") && lt(n, r);
|
|
4626
4626
|
},
|
|
4627
4627
|
d(s) {
|
|
4628
|
-
s &&
|
|
4628
|
+
s && D(t), i = !1, o();
|
|
4629
4629
|
}
|
|
4630
4630
|
};
|
|
4631
4631
|
}
|
|
4632
4632
|
function Io(e) {
|
|
4633
|
-
let t, r, n, i, o, s, a, l, u, h, c
|
|
4633
|
+
let t, r, n, i, o, s, a, l, u, h, c = (
|
|
4634
4634
|
/*$_*/
|
|
4635
4635
|
e[4]("confirm") + ""
|
|
4636
|
-
),
|
|
4637
|
-
const
|
|
4636
|
+
), f, p, m, d;
|
|
4637
|
+
const g = (
|
|
4638
4638
|
/*#slots*/
|
|
4639
4639
|
e[16].close
|
|
4640
4640
|
), A = kr(
|
|
4641
|
-
|
|
4641
|
+
g,
|
|
4642
4642
|
e,
|
|
4643
4643
|
/*$$scope*/
|
|
4644
4644
|
e[15],
|
|
4645
4645
|
kt
|
|
4646
|
-
),
|
|
4647
|
-
let
|
|
4646
|
+
), T = A || Oo();
|
|
4647
|
+
let x = (
|
|
4648
4648
|
/*modaltitle*/
|
|
4649
4649
|
e[1] && Vt(e)
|
|
4650
|
-
),
|
|
4650
|
+
), E = (
|
|
4651
4651
|
/*hascancelbutton*/
|
|
4652
4652
|
e[2] && Xt(e)
|
|
4653
4653
|
);
|
|
4654
4654
|
return {
|
|
4655
4655
|
c() {
|
|
4656
|
-
t =
|
|
4657
|
-
/*modaltext*/
|
|
4658
|
-
e[0]
|
|
4659
|
-
), 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*/
|
|
4656
|
+
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*/
|
|
4660
4657
|
(e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
|
|
4661
4658
|
(e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
|
|
4662
4659
|
(e[5] ? "GeneralConfirmationMobileWrapper" : ""));
|
|
4663
4660
|
},
|
|
4664
|
-
m(
|
|
4665
|
-
|
|
4666
|
-
|
|
4661
|
+
m(b, B) {
|
|
4662
|
+
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*/
|
|
4663
|
+
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 = [
|
|
4664
|
+
ke(
|
|
4667
4665
|
n,
|
|
4668
4666
|
"click",
|
|
4669
4667
|
/*close*/
|
|
4670
4668
|
e[6]
|
|
4671
4669
|
),
|
|
4672
|
-
|
|
4673
|
-
|
|
4670
|
+
ke(
|
|
4671
|
+
h,
|
|
4674
4672
|
"click",
|
|
4675
4673
|
/*click_handler_1*/
|
|
4676
4674
|
e[18]
|
|
4677
4675
|
)
|
|
4678
|
-
],
|
|
4676
|
+
], m = !0);
|
|
4679
4677
|
},
|
|
4680
|
-
p(
|
|
4681
|
-
A && A.p && (!
|
|
4678
|
+
p(b, [B]) {
|
|
4679
|
+
A && A.p && (!p || B & /*$$scope*/
|
|
4682
4680
|
32768) && Xr(
|
|
4683
4681
|
A,
|
|
4684
|
-
|
|
4685
|
-
|
|
4682
|
+
g,
|
|
4683
|
+
b,
|
|
4686
4684
|
/*$$scope*/
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4685
|
+
b[15],
|
|
4686
|
+
p ? Vr(
|
|
4687
|
+
g,
|
|
4690
4688
|
/*$$scope*/
|
|
4691
|
-
|
|
4692
|
-
|
|
4689
|
+
b[15],
|
|
4690
|
+
B,
|
|
4693
4691
|
Po
|
|
4694
4692
|
) : zr(
|
|
4695
4693
|
/*$$scope*/
|
|
4696
|
-
|
|
4694
|
+
b[15]
|
|
4697
4695
|
),
|
|
4698
4696
|
kt
|
|
4699
4697
|
), /*modaltitle*/
|
|
4700
|
-
|
|
4701
|
-
1) &&
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
),
|
|
4706
|
-
_[2] ? x ? x.p(_, O) : (x = Xt(_), x.c(), x.m(u, h)) : x && (x.d(1), x = null), (!m || O & /*$_*/
|
|
4707
|
-
16) && f !== (f = /*$_*/
|
|
4708
|
-
_[4]("confirm") + "") && _e(d, f);
|
|
4698
|
+
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*/
|
|
4699
|
+
1) && (s.innerHTML = /*modaltext*/
|
|
4700
|
+
b[0]), /*hascancelbutton*/
|
|
4701
|
+
b[2] ? E ? E.p(b, B) : (E = Xt(b), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!p || B & /*$_*/
|
|
4702
|
+
16) && c !== (c = /*$_*/
|
|
4703
|
+
b[4]("confirm") + "") && lt(f, c);
|
|
4709
4704
|
},
|
|
4710
|
-
i(
|
|
4711
|
-
|
|
4705
|
+
i(b) {
|
|
4706
|
+
p || (Kt(T, b), p = !0);
|
|
4712
4707
|
},
|
|
4713
|
-
o(
|
|
4714
|
-
fn(
|
|
4708
|
+
o(b) {
|
|
4709
|
+
fn(T, b), p = !1;
|
|
4715
4710
|
},
|
|
4716
|
-
d(
|
|
4717
|
-
|
|
4711
|
+
d(b) {
|
|
4712
|
+
b && D(t), T && T.d(b), x && x.d(), E && E.d(), e[19](null), m = !1, U(d);
|
|
4718
4713
|
}
|
|
4719
4714
|
};
|
|
4720
4715
|
}
|
|
4721
4716
|
function Mo(e, t, r) {
|
|
4722
4717
|
let n;
|
|
4723
|
-
jr(e,
|
|
4724
|
-
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:
|
|
4725
|
-
const
|
|
4718
|
+
jr(e, wo, (v) => r(4, n = v));
|
|
4719
|
+
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";
|
|
4720
|
+
const x = () => {
|
|
4726
4721
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4727
|
-
}, E = (
|
|
4728
|
-
|
|
4729
|
-
},
|
|
4730
|
-
fetch(m).then((
|
|
4731
|
-
Object.keys(
|
|
4732
|
-
Ft(ft,
|
|
4722
|
+
}, E = (v) => {
|
|
4723
|
+
v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
|
|
4724
|
+
}, b = () => {
|
|
4725
|
+
fetch(m).then((j) => j.json()).then((j) => {
|
|
4726
|
+
Object.keys(j).forEach((ft) => {
|
|
4727
|
+
Ft(ft, j[ft]);
|
|
4733
4728
|
});
|
|
4734
|
-
}).catch((
|
|
4735
|
-
console.log(
|
|
4729
|
+
}).catch((j) => {
|
|
4730
|
+
console.log(j);
|
|
4736
4731
|
});
|
|
4737
4732
|
};
|
|
4738
|
-
Object.keys(jt).forEach((
|
|
4739
|
-
Ft(
|
|
4733
|
+
Object.keys(jt).forEach((v) => {
|
|
4734
|
+
Ft(v, jt[v]);
|
|
4740
4735
|
});
|
|
4741
|
-
const
|
|
4742
|
-
|
|
4736
|
+
const B = () => {
|
|
4737
|
+
Bo(c);
|
|
4743
4738
|
};
|
|
4744
4739
|
sn(() => () => {
|
|
4745
4740
|
});
|
|
4746
|
-
const
|
|
4747
|
-
function Mr(
|
|
4748
|
-
|
|
4749
|
-
g =
|
|
4741
|
+
const ce = () => E("cancel"), Ir = () => E("confirm");
|
|
4742
|
+
function Mr(v) {
|
|
4743
|
+
Ve[v ? "unshift" : "push"](() => {
|
|
4744
|
+
g = v, r(3, g);
|
|
4750
4745
|
});
|
|
4751
4746
|
}
|
|
4752
|
-
return e.$$set = (
|
|
4753
|
-
"modaltext" in
|
|
4747
|
+
return e.$$set = (v) => {
|
|
4748
|
+
"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);
|
|
4754
4749
|
}, e.$$.update = () => {
|
|
4755
4750
|
e.$$.dirty & /*modaltext, lang*/
|
|
4756
|
-
1025 && s && c &&
|
|
4751
|
+
1025 && s && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4757
4752
|
2056 && f && g && To(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4758
|
-
4104 &&
|
|
4759
|
-
16392 &&
|
|
4760
|
-
8192 && m &&
|
|
4753
|
+
4104 && p && g && Ho(g, p), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4754
|
+
16392 && d && g && Ao(g, `${d}.Style`), e.$$.dirty & /*translationurl*/
|
|
4755
|
+
8192 && m && b();
|
|
4761
4756
|
}, [
|
|
4762
4757
|
s,
|
|
4763
4758
|
a,
|
|
4764
4759
|
l,
|
|
4765
4760
|
g,
|
|
4766
4761
|
n,
|
|
4767
|
-
|
|
4768
|
-
|
|
4762
|
+
T,
|
|
4763
|
+
x,
|
|
4769
4764
|
E,
|
|
4770
4765
|
u,
|
|
4771
4766
|
h,
|
|
4772
4767
|
c,
|
|
4773
4768
|
f,
|
|
4774
|
-
d,
|
|
4775
|
-
m,
|
|
4776
4769
|
p,
|
|
4770
|
+
m,
|
|
4771
|
+
d,
|
|
4777
4772
|
o,
|
|
4778
4773
|
i,
|
|
4779
|
-
|
|
4774
|
+
ce,
|
|
4780
4775
|
Ir,
|
|
4781
4776
|
Mr
|
|
4782
4777
|
];
|
|
@@ -4808,61 +4803,61 @@ class Or extends vn {
|
|
|
4808
4803
|
return this.$$.ctx[0];
|
|
4809
4804
|
}
|
|
4810
4805
|
set modaltext(t) {
|
|
4811
|
-
this.$$set({ modaltext: t }),
|
|
4806
|
+
this.$$set({ modaltext: t }), I();
|
|
4812
4807
|
}
|
|
4813
4808
|
get modaltitle() {
|
|
4814
4809
|
return this.$$.ctx[1];
|
|
4815
4810
|
}
|
|
4816
4811
|
set modaltitle(t) {
|
|
4817
|
-
this.$$set({ modaltitle: t }),
|
|
4812
|
+
this.$$set({ modaltitle: t }), I();
|
|
4818
4813
|
}
|
|
4819
4814
|
get hascancelbutton() {
|
|
4820
4815
|
return this.$$.ctx[2];
|
|
4821
4816
|
}
|
|
4822
4817
|
set hascancelbutton(t) {
|
|
4823
|
-
this.$$set({ hascancelbutton: t }),
|
|
4818
|
+
this.$$set({ hascancelbutton: t }), I();
|
|
4824
4819
|
}
|
|
4825
4820
|
get modalconfirmevent() {
|
|
4826
4821
|
return this.$$.ctx[8];
|
|
4827
4822
|
}
|
|
4828
4823
|
set modalconfirmevent(t) {
|
|
4829
|
-
this.$$set({ modalconfirmevent: t }),
|
|
4824
|
+
this.$$set({ modalconfirmevent: t }), I();
|
|
4830
4825
|
}
|
|
4831
4826
|
get modalcancelevent() {
|
|
4832
4827
|
return this.$$.ctx[9];
|
|
4833
4828
|
}
|
|
4834
4829
|
set modalcancelevent(t) {
|
|
4835
|
-
this.$$set({ modalcancelevent: t }),
|
|
4830
|
+
this.$$set({ modalcancelevent: t }), I();
|
|
4836
4831
|
}
|
|
4837
4832
|
get lang() {
|
|
4838
4833
|
return this.$$.ctx[10];
|
|
4839
4834
|
}
|
|
4840
4835
|
set lang(t) {
|
|
4841
|
-
this.$$set({ lang: t }),
|
|
4836
|
+
this.$$set({ lang: t }), I();
|
|
4842
4837
|
}
|
|
4843
4838
|
get clientstyling() {
|
|
4844
4839
|
return this.$$.ctx[11];
|
|
4845
4840
|
}
|
|
4846
4841
|
set clientstyling(t) {
|
|
4847
|
-
this.$$set({ clientstyling: t }),
|
|
4842
|
+
this.$$set({ clientstyling: t }), I();
|
|
4848
4843
|
}
|
|
4849
4844
|
get clientstylingurl() {
|
|
4850
4845
|
return this.$$.ctx[12];
|
|
4851
4846
|
}
|
|
4852
4847
|
set clientstylingurl(t) {
|
|
4853
|
-
this.$$set({ clientstylingurl: t }),
|
|
4848
|
+
this.$$set({ clientstylingurl: t }), I();
|
|
4854
4849
|
}
|
|
4855
4850
|
get translationurl() {
|
|
4856
4851
|
return this.$$.ctx[13];
|
|
4857
4852
|
}
|
|
4858
4853
|
set translationurl(t) {
|
|
4859
|
-
this.$$set({ translationurl: t }),
|
|
4854
|
+
this.$$set({ translationurl: t }), I();
|
|
4860
4855
|
}
|
|
4861
4856
|
get mbsource() {
|
|
4862
4857
|
return this.$$.ctx[14];
|
|
4863
4858
|
}
|
|
4864
4859
|
set mbsource(t) {
|
|
4865
|
-
this.$$set({ mbsource: t }),
|
|
4860
|
+
this.$$set({ mbsource: t }), I();
|
|
4866
4861
|
}
|
|
4867
4862
|
}
|
|
4868
4863
|
yn(Or, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
|
|
@@ -4871,51 +4866,51 @@ const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4871
4866
|
default: Or
|
|
4872
4867
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4873
4868
|
export {
|
|
4874
|
-
|
|
4869
|
+
K as $,
|
|
4875
4870
|
yn as A,
|
|
4876
4871
|
ko as B,
|
|
4877
4872
|
$n as C,
|
|
4878
4873
|
Hr as D,
|
|
4879
|
-
|
|
4874
|
+
N as E,
|
|
4880
4875
|
jr as F,
|
|
4881
|
-
|
|
4876
|
+
So as G,
|
|
4882
4877
|
jo as H,
|
|
4883
4878
|
Lo as I,
|
|
4884
4879
|
fe as J,
|
|
4885
4880
|
Ro as K,
|
|
4886
|
-
|
|
4887
|
-
|
|
4881
|
+
U as L,
|
|
4882
|
+
lt as M,
|
|
4888
4883
|
Go as N,
|
|
4889
|
-
|
|
4884
|
+
ke as O,
|
|
4890
4885
|
yt as P,
|
|
4891
|
-
Q,
|
|
4892
|
-
|
|
4886
|
+
ue as Q,
|
|
4887
|
+
wo as R,
|
|
4893
4888
|
vn as S,
|
|
4894
4889
|
Vo as T,
|
|
4895
4890
|
gn as a,
|
|
4896
4891
|
Qr as b,
|
|
4897
4892
|
Kt as c,
|
|
4898
|
-
|
|
4893
|
+
D as d,
|
|
4899
4894
|
Do as e,
|
|
4900
|
-
|
|
4901
|
-
|
|
4895
|
+
I as f,
|
|
4896
|
+
ae as g,
|
|
4902
4897
|
$o as h,
|
|
4903
4898
|
Ur as i,
|
|
4904
4899
|
kr as j,
|
|
4905
4900
|
Fo as k,
|
|
4906
|
-
|
|
4901
|
+
Ee as l,
|
|
4907
4902
|
zr as m,
|
|
4908
4903
|
Vr as n,
|
|
4909
4904
|
sn as o,
|
|
4910
4905
|
C as p,
|
|
4911
|
-
|
|
4906
|
+
M as q,
|
|
4912
4907
|
H as r,
|
|
4913
4908
|
Wt as s,
|
|
4914
4909
|
fn as t,
|
|
4915
4910
|
Xr as u,
|
|
4916
|
-
|
|
4911
|
+
Ve as v,
|
|
4917
4912
|
Uo as w,
|
|
4918
4913
|
To as x,
|
|
4919
4914
|
Ho as y,
|
|
4920
|
-
|
|
4915
|
+
Ao as z
|
|
4921
4916
|
};
|