@everymatrix/casino-calendar 1.62.0 → 1.62.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/{CasinoCalendar-DGMmEWkl.js → CasinoCalendar-7Y1WAoHH.js} +792 -771
- package/components/{CasinoCalendar-ByQUhrym.js → CasinoCalendar-DHelJgW_.js} +762 -741
- package/components/CasinoCalendar-uvVZ2LLV.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-anpko84d.js → CasinoCalendarDailyDetails-BJe8kB_P.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-XbVuWeVq.cjs → CasinoCalendarDailyDetails-CmCqL-Eh.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-DC7I6ddj.js → CasinoCalendarDailyDetails-Cp9jGim1.js} +50 -50
- package/components/{CasinoCalendarDailyItem-CV8D8I0n.cjs → CasinoCalendarDailyItem-DpnwJ0_H.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-Eo6NNIP8.js → CasinoCalendarDailyItem-DwBAzv4M.js} +32 -32
- package/components/{CasinoCalendarDailyItem-DX-p5nsk.js → CasinoCalendarDailyItem-oljhf5g4.js} +33 -33
- package/es2015/casino-calendar.cjs +1 -1
- package/es2015/casino-calendar.js +1 -1
- package/esnext/casino-calendar.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-B8yQdy7J.js +542 -0
- package/stencil/index-97d17652-C616IYj2.js +558 -0
- package/stencil/index-97d17652-C9Ph2JiE.cjs +1 -0
- package/stencil/ui-image-7da92f1f-26DzsVFt.js +39 -0
- package/stencil/ui-image-7da92f1f-BAghvEDf.js +39 -0
- package/stencil/ui-image-7da92f1f-BiVBd_OW.cjs +1 -0
- package/stencil/ui-image-Bz0nQwNJ.cjs +1 -0
- package/stencil/ui-image-DX8NqsyA.js +25 -0
- package/stencil/ui-image-o9dMcntc.js +7 -0
- package/stencil/ui-image_2-BXgptLvl.js +154 -0
- package/stencil/ui-image_2-Cctik3aF.cjs +73 -0
- package/stencil/ui-image_2-Cyqb4u7k.js +154 -0
- package/components/CasinoCalendar-CQqQO56A.cjs +0 -19
- package/stencil/index-b7bbd57e-6KaMTlNN.js +0 -534
- package/stencil/index-b7bbd57e-BSagye0B.js +0 -550
- package/stencil/index-b7bbd57e-DIQXXTTR.cjs +0 -1
- package/stencil/ui-image-38c3c15f-CumwWbNu.js +0 -39
- package/stencil/ui-image-38c3c15f-Dxl-aZb-.js +0 -39
- package/stencil/ui-image-38c3c15f-y5t5ZLG0.cjs +0 -1
- package/stencil/ui-image-BQa5UbqU.js +0 -11
- package/stencil/ui-image-Bi4jDe3D.js +0 -29
- package/stencil/ui-image-z441BZiX.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var xr = Object.defineProperty, Sr = Object.defineProperties;
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
2
|
+
var wr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var st = Object.getOwnPropertySymbols;
|
|
4
|
+
var Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ae = (e, t, r) => t in e ? xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
Hr.call(t, r) &&
|
|
7
|
+
Tr.call(t, r) && Ae(e, r, t[r]);
|
|
8
|
+
if (st)
|
|
9
|
+
for (var r of st(t))
|
|
10
|
+
Hr.call(t, r) && Ae(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var x = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, ut = (e, t) => Sr(e, wr(t));
|
|
13
|
+
var x = (e, t, r) => (Ae(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var lt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -37,29 +37,29 @@ function Br(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function Dt(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function ht() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
|
-
function
|
|
47
|
-
e.forEach(
|
|
46
|
+
function Y(e) {
|
|
47
|
+
e.forEach(Dt);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function tt(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Ut(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
55
|
let he;
|
|
56
|
-
function
|
|
56
|
+
function bo(e, t) {
|
|
57
57
|
return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
|
|
58
58
|
}
|
|
59
59
|
function Ar(e) {
|
|
60
60
|
return Object.keys(e).length === 0;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function Gt(e, ...t) {
|
|
63
63
|
if (e == null) {
|
|
64
64
|
for (const n of t)
|
|
65
65
|
n(void 0);
|
|
@@ -69,18 +69,18 @@ function Dt(e, ...t) {
|
|
|
69
69
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
70
70
|
}
|
|
71
71
|
function Pr(e, t, r) {
|
|
72
|
-
e.$$.on_destroy.push(
|
|
72
|
+
e.$$.on_destroy.push(Gt(t, r));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function yo(e, t, r, n) {
|
|
75
75
|
if (e) {
|
|
76
|
-
const i =
|
|
76
|
+
const i = Ft(e, t, r, n);
|
|
77
77
|
return e[0](i);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function Ft(e, t, r, n) {
|
|
81
81
|
return e[1] && n ? Br(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function go(e, t, r, n) {
|
|
84
84
|
if (e[2] && n) {
|
|
85
85
|
const i = e[2](n(r));
|
|
86
86
|
if (t.dirty === void 0)
|
|
@@ -95,13 +95,13 @@ function yo(e, t, r, n) {
|
|
|
95
95
|
}
|
|
96
96
|
return t.dirty;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function vo(e, t, r, n, i, o) {
|
|
99
99
|
if (i) {
|
|
100
|
-
const a =
|
|
100
|
+
const a = Ft(t, r, n, o);
|
|
101
101
|
e.p(a, i);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function _o(e) {
|
|
105
105
|
if (e.ctx.length > 32) {
|
|
106
106
|
const t = [], r = e.ctx.length / 32;
|
|
107
107
|
for (let n = 0; n < r; n++)
|
|
@@ -110,13 +110,13 @@ function vo(e) {
|
|
|
110
110
|
}
|
|
111
111
|
return -1;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function Ee(e, t) {
|
|
114
114
|
e.appendChild(t);
|
|
115
115
|
}
|
|
116
116
|
function Or(e, t, r) {
|
|
117
117
|
const n = Ir(e);
|
|
118
118
|
if (!n.getElementById(t)) {
|
|
119
|
-
const i =
|
|
119
|
+
const i = O("style");
|
|
120
120
|
i.id = t, i.textContent = r, Cr(n, i);
|
|
121
121
|
}
|
|
122
122
|
}
|
|
@@ -131,7 +131,7 @@ function Ir(e) {
|
|
|
131
131
|
) : e.ownerDocument;
|
|
132
132
|
}
|
|
133
133
|
function Cr(e, t) {
|
|
134
|
-
return
|
|
134
|
+
return Ee(
|
|
135
135
|
/** @type {Document} */
|
|
136
136
|
e.head || e,
|
|
137
137
|
t
|
|
@@ -140,29 +140,29 @@ function Cr(e, t) {
|
|
|
140
140
|
function U(e, t, r) {
|
|
141
141
|
e.insertBefore(t, r || null);
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function N(e) {
|
|
144
144
|
e.parentNode && e.parentNode.removeChild(e);
|
|
145
145
|
}
|
|
146
146
|
function Lr(e, t) {
|
|
147
147
|
for (let r = 0; r < e.length; r += 1)
|
|
148
148
|
e[r] && e[r].d(t);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function O(e) {
|
|
151
151
|
return document.createElement(e);
|
|
152
152
|
}
|
|
153
153
|
function Nr(e) {
|
|
154
154
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
155
155
|
}
|
|
156
|
-
function
|
|
156
|
+
function rt(e) {
|
|
157
157
|
return document.createTextNode(e);
|
|
158
158
|
}
|
|
159
159
|
function Mr() {
|
|
160
|
-
return
|
|
160
|
+
return rt(" ");
|
|
161
161
|
}
|
|
162
|
-
function
|
|
163
|
-
return
|
|
162
|
+
function Eo() {
|
|
163
|
+
return rt("");
|
|
164
164
|
}
|
|
165
|
-
function
|
|
165
|
+
function xo(e, t, r, n) {
|
|
166
166
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
167
167
|
}
|
|
168
168
|
function D(e, t, r) {
|
|
@@ -179,10 +179,10 @@ function $r(e, t) {
|
|
|
179
179
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
180
180
|
t);
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function So(e, t, r, n) {
|
|
183
183
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
184
184
|
}
|
|
185
|
-
class
|
|
185
|
+
class wo {
|
|
186
186
|
constructor(t = !1) {
|
|
187
187
|
/**
|
|
188
188
|
* @private
|
|
@@ -216,7 +216,7 @@ class So {
|
|
|
216
216
|
this.e || (this.is_svg ? this.e = Nr(
|
|
217
217
|
/** @type {keyof SVGElementTagNameMap} */
|
|
218
218
|
r.nodeName
|
|
219
|
-
) : this.e =
|
|
219
|
+
) : this.e = O(
|
|
220
220
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
221
221
|
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
222
222
|
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
@@ -249,7 +249,7 @@ class So {
|
|
|
249
249
|
/**
|
|
250
250
|
* @returns {void} */
|
|
251
251
|
d() {
|
|
252
|
-
this.n.forEach(
|
|
252
|
+
this.n.forEach(N);
|
|
253
253
|
}
|
|
254
254
|
}
|
|
255
255
|
function Dr(e) {
|
|
@@ -261,60 +261,60 @@ function Dr(e) {
|
|
|
261
261
|
}
|
|
262
262
|
), t;
|
|
263
263
|
}
|
|
264
|
-
let
|
|
265
|
-
function
|
|
266
|
-
|
|
264
|
+
let ie;
|
|
265
|
+
function ne(e) {
|
|
266
|
+
ie = e;
|
|
267
267
|
}
|
|
268
268
|
function Ur() {
|
|
269
|
-
if (!
|
|
269
|
+
if (!ie)
|
|
270
270
|
throw new Error("Function called outside component initialization");
|
|
271
|
-
return
|
|
271
|
+
return ie;
|
|
272
272
|
}
|
|
273
273
|
function Gr(e) {
|
|
274
274
|
Ur().$$.on_mount.push(e);
|
|
275
275
|
}
|
|
276
|
-
const W = [],
|
|
276
|
+
const W = [], $e = [];
|
|
277
277
|
let z = [];
|
|
278
|
-
const
|
|
279
|
-
let
|
|
278
|
+
const ct = [], Fr = /* @__PURE__ */ Promise.resolve();
|
|
279
|
+
let De = !1;
|
|
280
280
|
function jr() {
|
|
281
|
-
|
|
281
|
+
De || (De = !0, Fr.then(A));
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function Ue(e) {
|
|
284
284
|
z.push(e);
|
|
285
285
|
}
|
|
286
|
-
const
|
|
286
|
+
const Pe = /* @__PURE__ */ new Set();
|
|
287
287
|
let V = 0;
|
|
288
288
|
function A() {
|
|
289
289
|
if (V !== 0)
|
|
290
290
|
return;
|
|
291
|
-
const e =
|
|
291
|
+
const e = ie;
|
|
292
292
|
do {
|
|
293
293
|
try {
|
|
294
294
|
for (; V < W.length; ) {
|
|
295
295
|
const t = W[V];
|
|
296
|
-
V++,
|
|
296
|
+
V++, ne(t), kr(t.$$);
|
|
297
297
|
}
|
|
298
298
|
} catch (t) {
|
|
299
299
|
throw W.length = 0, V = 0, t;
|
|
300
300
|
}
|
|
301
|
-
for (
|
|
302
|
-
|
|
301
|
+
for (ne(null), W.length = 0, V = 0; $e.length; )
|
|
302
|
+
$e.pop()();
|
|
303
303
|
for (let t = 0; t < z.length; t += 1) {
|
|
304
304
|
const r = z[t];
|
|
305
|
-
|
|
305
|
+
Pe.has(r) || (Pe.add(r), r());
|
|
306
306
|
}
|
|
307
307
|
z.length = 0;
|
|
308
308
|
} while (W.length);
|
|
309
|
-
for (;
|
|
310
|
-
|
|
311
|
-
|
|
309
|
+
for (; ct.length; )
|
|
310
|
+
ct.pop()();
|
|
311
|
+
De = !1, Pe.clear(), ne(e);
|
|
312
312
|
}
|
|
313
313
|
function kr(e) {
|
|
314
314
|
if (e.fragment !== null) {
|
|
315
|
-
e.update(),
|
|
315
|
+
e.update(), Y(e.before_update);
|
|
316
316
|
const t = e.dirty;
|
|
317
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
317
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
function Vr(e) {
|
|
@@ -331,13 +331,13 @@ function To() {
|
|
|
331
331
|
// parent group
|
|
332
332
|
};
|
|
333
333
|
}
|
|
334
|
-
function
|
|
335
|
-
F.r ||
|
|
334
|
+
function Ho() {
|
|
335
|
+
F.r || Y(F.c), F = F.p;
|
|
336
336
|
}
|
|
337
337
|
function Xr(e, t) {
|
|
338
338
|
e && e.i && (de.delete(e), e.i(t));
|
|
339
339
|
}
|
|
340
|
-
function
|
|
340
|
+
function Bo(e, t, r, n) {
|
|
341
341
|
if (e && e.o) {
|
|
342
342
|
if (de.has(e))
|
|
343
343
|
return;
|
|
@@ -347,26 +347,26 @@ function Ho(e, t, r, n) {
|
|
|
347
347
|
} else
|
|
348
348
|
n && n();
|
|
349
349
|
}
|
|
350
|
-
function
|
|
350
|
+
function ft(e) {
|
|
351
351
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
352
352
|
}
|
|
353
353
|
function Wr(e, t, r) {
|
|
354
354
|
const { fragment: n, after_update: i } = e.$$;
|
|
355
|
-
n && n.m(t, r),
|
|
356
|
-
const o = e.$$.on_mount.map(
|
|
357
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
358
|
-
}), i.forEach(
|
|
355
|
+
n && n.m(t, r), Ue(() => {
|
|
356
|
+
const o = e.$$.on_mount.map(Dt).filter(tt);
|
|
357
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Y(o), e.$$.on_mount = [];
|
|
358
|
+
}), i.forEach(Ue);
|
|
359
359
|
}
|
|
360
360
|
function zr(e, t) {
|
|
361
361
|
const r = e.$$;
|
|
362
|
-
r.fragment !== null && (Vr(r.after_update),
|
|
362
|
+
r.fragment !== null && (Vr(r.after_update), Y(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
363
363
|
}
|
|
364
364
|
function Zr(e, t) {
|
|
365
365
|
e.$$.dirty[0] === -1 && (W.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
366
366
|
}
|
|
367
367
|
function Qr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
368
|
-
const l =
|
|
369
|
-
|
|
368
|
+
const l = ie;
|
|
369
|
+
ne(e);
|
|
370
370
|
const u = e.$$ = {
|
|
371
371
|
fragment: null,
|
|
372
372
|
ctx: [],
|
|
@@ -374,7 +374,7 @@ function Qr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
374
374
|
props: o,
|
|
375
375
|
update: B,
|
|
376
376
|
not_equal: i,
|
|
377
|
-
bound:
|
|
377
|
+
bound: ht(),
|
|
378
378
|
// lifecycle
|
|
379
379
|
on_mount: [],
|
|
380
380
|
on_destroy: [],
|
|
@@ -383,7 +383,7 @@ function Qr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
383
383
|
after_update: [],
|
|
384
384
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
385
385
|
// everything else
|
|
386
|
-
callbacks:
|
|
386
|
+
callbacks: ht(),
|
|
387
387
|
dirty: s,
|
|
388
388
|
skip_bound: !1,
|
|
389
389
|
root: t.target || l.$$.root
|
|
@@ -391,20 +391,20 @@ function Qr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
391
391
|
a && a(u.root);
|
|
392
392
|
let h = !1;
|
|
393
393
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
|
|
394
|
-
const
|
|
395
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
396
|
-
}) : [], u.update(), h = !0,
|
|
394
|
+
const v = y.length ? y[0] : c;
|
|
395
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), h && Zr(e, f)), c;
|
|
396
|
+
}) : [], u.update(), h = !0, Y(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
397
397
|
if (t.hydrate) {
|
|
398
398
|
const f = Rr(t.target);
|
|
399
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
399
|
+
u.fragment && u.fragment.l(f), f.forEach(N);
|
|
400
400
|
} else
|
|
401
401
|
u.fragment && u.fragment.c();
|
|
402
402
|
t.intro && Xr(e.$$.fragment), Wr(e, t.target, t.anchor), A();
|
|
403
403
|
}
|
|
404
|
-
|
|
404
|
+
ne(l);
|
|
405
405
|
}
|
|
406
|
-
let
|
|
407
|
-
typeof HTMLElement == "function" && (
|
|
406
|
+
let jt;
|
|
407
|
+
typeof HTMLElement == "function" && (jt = class extends HTMLElement {
|
|
408
408
|
constructor(t, r, n) {
|
|
409
409
|
super();
|
|
410
410
|
/** The Svelte component constructor */
|
|
@@ -441,14 +441,14 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
|
|
|
441
441
|
}
|
|
442
442
|
}
|
|
443
443
|
connectedCallback() {
|
|
444
|
-
return
|
|
444
|
+
return lt(this, null, function* () {
|
|
445
445
|
if (this.$$cn = !0, !this.$$c) {
|
|
446
446
|
let t = function(o) {
|
|
447
447
|
return () => {
|
|
448
448
|
let a;
|
|
449
449
|
return {
|
|
450
450
|
c: function() {
|
|
451
|
-
a =
|
|
451
|
+
a = O("slot"), o !== "default" && D(a, "name", o);
|
|
452
452
|
},
|
|
453
453
|
/**
|
|
454
454
|
* @param {HTMLElement} target
|
|
@@ -458,7 +458,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
|
|
|
458
458
|
U(u, a, h);
|
|
459
459
|
},
|
|
460
460
|
d: function(u) {
|
|
461
|
-
u &&
|
|
461
|
+
u && N(a);
|
|
462
462
|
}
|
|
463
463
|
};
|
|
464
464
|
};
|
|
@@ -476,7 +476,7 @@ typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
|
|
|
476
476
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
477
477
|
this.$$c = new this.$$ctor({
|
|
478
478
|
target: this.shadowRoot || this,
|
|
479
|
-
props:
|
|
479
|
+
props: ut(at({}, this.$$d), {
|
|
480
480
|
$$slots: r,
|
|
481
481
|
$$scope: {
|
|
482
482
|
ctx: []
|
|
@@ -555,7 +555,7 @@ function pe(e, t, r, n) {
|
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
557
|
function Jr(e, t, r, n, i, o) {
|
|
558
|
-
let a = class extends
|
|
558
|
+
let a = class extends jt {
|
|
559
559
|
constructor() {
|
|
560
560
|
super(e, r, i), this.$$p_d = t;
|
|
561
561
|
}
|
|
@@ -615,7 +615,7 @@ class qr {
|
|
|
615
615
|
* @returns {() => void}
|
|
616
616
|
*/
|
|
617
617
|
$on(t, r) {
|
|
618
|
-
if (!
|
|
618
|
+
if (!tt(r))
|
|
619
619
|
return B;
|
|
620
620
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
621
621
|
return n.push(r), () => {
|
|
@@ -647,43 +647,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
647
647
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
648
648
|
PERFORMANCE OF THIS SOFTWARE.
|
|
649
649
|
***************************************************************************** */
|
|
650
|
-
var
|
|
651
|
-
return
|
|
650
|
+
var Ge = function(e, t) {
|
|
651
|
+
return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
652
652
|
r.__proto__ = n;
|
|
653
653
|
} || function(r, n) {
|
|
654
654
|
for (var i in n)
|
|
655
655
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
656
|
-
},
|
|
656
|
+
}, Ge(e, t);
|
|
657
657
|
};
|
|
658
|
-
function
|
|
658
|
+
function ae(e, t) {
|
|
659
659
|
if (typeof t != "function" && t !== null)
|
|
660
660
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
661
|
-
|
|
661
|
+
Ge(e, t);
|
|
662
662
|
function r() {
|
|
663
663
|
this.constructor = e;
|
|
664
664
|
}
|
|
665
665
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
666
666
|
}
|
|
667
|
-
|
|
668
|
-
return g = Object.assign || function(t) {
|
|
669
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
670
|
-
r = arguments[n];
|
|
671
|
-
for (var o in r)
|
|
672
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
673
|
-
}
|
|
674
|
-
return t;
|
|
675
|
-
}, g.apply(this, arguments);
|
|
676
|
-
};
|
|
677
|
-
function Kr(e, t) {
|
|
678
|
-
var r = {};
|
|
679
|
-
for (var n in e)
|
|
680
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
681
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
682
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
683
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
684
|
-
return r;
|
|
685
|
-
}
|
|
686
|
-
function Ue(e) {
|
|
667
|
+
function Fe(e) {
|
|
687
668
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
688
669
|
if (r)
|
|
689
670
|
return r.call(e);
|
|
@@ -695,7 +676,7 @@ function Ue(e) {
|
|
|
695
676
|
};
|
|
696
677
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
697
678
|
}
|
|
698
|
-
function
|
|
679
|
+
function je(e, t) {
|
|
699
680
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
700
681
|
if (!r)
|
|
701
682
|
return e;
|
|
@@ -715,22 +696,22 @@ function Ge(e, t) {
|
|
|
715
696
|
}
|
|
716
697
|
return o;
|
|
717
698
|
}
|
|
718
|
-
function
|
|
719
|
-
if (
|
|
699
|
+
function ke(e, t, r) {
|
|
700
|
+
if (arguments.length === 2)
|
|
720
701
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
721
702
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
722
703
|
return e.concat(o || t);
|
|
723
704
|
}
|
|
724
|
-
function
|
|
705
|
+
function L(e) {
|
|
725
706
|
return typeof e == "function";
|
|
726
707
|
}
|
|
727
|
-
function
|
|
708
|
+
function kt(e) {
|
|
728
709
|
var t = function(n) {
|
|
729
710
|
Error.call(n), n.stack = new Error().stack;
|
|
730
711
|
}, r = e(t);
|
|
731
712
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
732
713
|
}
|
|
733
|
-
var
|
|
714
|
+
var Oe = kt(function(e) {
|
|
734
715
|
return function(r) {
|
|
735
716
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
736
717
|
` + r.map(function(n, i) {
|
|
@@ -739,13 +720,13 @@ var Ae = Ft(function(e) {
|
|
|
739
720
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
740
721
|
};
|
|
741
722
|
});
|
|
742
|
-
function
|
|
723
|
+
function Ve(e, t) {
|
|
743
724
|
if (e) {
|
|
744
725
|
var r = e.indexOf(t);
|
|
745
726
|
0 <= r && e.splice(r, 1);
|
|
746
727
|
}
|
|
747
728
|
}
|
|
748
|
-
var
|
|
729
|
+
var xe = function() {
|
|
749
730
|
function e(t) {
|
|
750
731
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
751
732
|
}
|
|
@@ -757,12 +738,12 @@ var Ee = function() {
|
|
|
757
738
|
if (a)
|
|
758
739
|
if (this._parentage = null, Array.isArray(a))
|
|
759
740
|
try {
|
|
760
|
-
for (var s =
|
|
741
|
+
for (var s = Fe(a), l = s.next(); !l.done; l = s.next()) {
|
|
761
742
|
var u = l.value;
|
|
762
743
|
u.remove(this);
|
|
763
744
|
}
|
|
764
|
-
} catch (
|
|
765
|
-
t = { error:
|
|
745
|
+
} catch (g) {
|
|
746
|
+
t = { error: g };
|
|
766
747
|
} finally {
|
|
767
748
|
try {
|
|
768
749
|
l && !l.done && (r = s.return) && r.call(s);
|
|
@@ -774,26 +755,26 @@ var Ee = function() {
|
|
|
774
755
|
else
|
|
775
756
|
a.remove(this);
|
|
776
757
|
var h = this.initialTeardown;
|
|
777
|
-
if (
|
|
758
|
+
if (L(h))
|
|
778
759
|
try {
|
|
779
760
|
h();
|
|
780
|
-
} catch (
|
|
781
|
-
o =
|
|
761
|
+
} catch (g) {
|
|
762
|
+
o = g instanceof Oe ? g.errors : [g];
|
|
782
763
|
}
|
|
783
764
|
var f = this._finalizers;
|
|
784
765
|
if (f) {
|
|
785
766
|
this._finalizers = null;
|
|
786
767
|
try {
|
|
787
|
-
for (var c =
|
|
788
|
-
var
|
|
768
|
+
for (var c = Fe(f), y = c.next(); !y.done; y = c.next()) {
|
|
769
|
+
var v = y.value;
|
|
789
770
|
try {
|
|
790
|
-
|
|
791
|
-
} catch (
|
|
792
|
-
o = o != null ? o : [],
|
|
771
|
+
dt(v);
|
|
772
|
+
} catch (g) {
|
|
773
|
+
o = o != null ? o : [], g instanceof Oe ? o = ke(ke([], je(o)), je(g.errors)) : o.push(g);
|
|
793
774
|
}
|
|
794
775
|
}
|
|
795
|
-
} catch (
|
|
796
|
-
n = { error:
|
|
776
|
+
} catch (g) {
|
|
777
|
+
n = { error: g };
|
|
797
778
|
} finally {
|
|
798
779
|
try {
|
|
799
780
|
y && !y.done && (i = c.return) && i.call(c);
|
|
@@ -804,13 +785,13 @@ var Ee = function() {
|
|
|
804
785
|
}
|
|
805
786
|
}
|
|
806
787
|
if (o)
|
|
807
|
-
throw new
|
|
788
|
+
throw new Oe(o);
|
|
808
789
|
}
|
|
809
790
|
}, e.prototype.add = function(t) {
|
|
810
791
|
var r;
|
|
811
792
|
if (t && t !== this)
|
|
812
793
|
if (this.closed)
|
|
813
|
-
|
|
794
|
+
dt(t);
|
|
814
795
|
else {
|
|
815
796
|
if (t instanceof e) {
|
|
816
797
|
if (t.closed || t._hasParent(this))
|
|
@@ -827,32 +808,28 @@ var Ee = function() {
|
|
|
827
808
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
828
809
|
}, e.prototype._removeParent = function(t) {
|
|
829
810
|
var r = this._parentage;
|
|
830
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
811
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ve(r, t);
|
|
831
812
|
}, e.prototype.remove = function(t) {
|
|
832
813
|
var r = this._finalizers;
|
|
833
|
-
r &&
|
|
814
|
+
r && Ve(r, t), t instanceof e && t._removeParent(this);
|
|
834
815
|
}, e.EMPTY = function() {
|
|
835
816
|
var t = new e();
|
|
836
817
|
return t.closed = !0, t;
|
|
837
818
|
}(), e;
|
|
838
|
-
}(),
|
|
839
|
-
function
|
|
840
|
-
return e instanceof
|
|
819
|
+
}(), Vt = xe.EMPTY;
|
|
820
|
+
function Xt(e) {
|
|
821
|
+
return e instanceof xe || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
|
|
841
822
|
}
|
|
842
|
-
function
|
|
843
|
-
|
|
823
|
+
function dt(e) {
|
|
824
|
+
L(e) ? e() : e.unsubscribe();
|
|
844
825
|
}
|
|
845
|
-
var
|
|
846
|
-
|
|
847
|
-
onStoppedNotification: null,
|
|
848
|
-
Promise: void 0,
|
|
849
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
850
|
-
useDeprecatedNextContext: !1
|
|
826
|
+
var Kr = {
|
|
827
|
+
Promise: void 0
|
|
851
828
|
}, en = {
|
|
852
829
|
setTimeout: function(e, t) {
|
|
853
830
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
854
831
|
r[n - 2] = arguments[n];
|
|
855
|
-
return setTimeout.apply(void 0,
|
|
832
|
+
return setTimeout.apply(void 0, ke([e, t], je(r)));
|
|
856
833
|
},
|
|
857
834
|
clearTimeout: function(e) {
|
|
858
835
|
return clearTimeout(e);
|
|
@@ -864,19 +841,19 @@ function tn(e) {
|
|
|
864
841
|
throw e;
|
|
865
842
|
});
|
|
866
843
|
}
|
|
867
|
-
function
|
|
844
|
+
function pt() {
|
|
868
845
|
}
|
|
869
846
|
function me(e) {
|
|
870
847
|
e();
|
|
871
848
|
}
|
|
872
|
-
var
|
|
873
|
-
|
|
849
|
+
var Wt = function(e) {
|
|
850
|
+
ae(t, e);
|
|
874
851
|
function t(r) {
|
|
875
852
|
var n = e.call(this) || this;
|
|
876
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
853
|
+
return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = on, n;
|
|
877
854
|
}
|
|
878
855
|
return t.create = function(r, n, i) {
|
|
879
|
-
return new
|
|
856
|
+
return new Xe(r, n, i);
|
|
880
857
|
}, t.prototype.next = function(r) {
|
|
881
858
|
this.isStopped || this._next(r);
|
|
882
859
|
}, t.prototype.error = function(r) {
|
|
@@ -900,11 +877,7 @@ var Xt = function(e) {
|
|
|
900
877
|
this.unsubscribe();
|
|
901
878
|
}
|
|
902
879
|
}, t;
|
|
903
|
-
}(
|
|
904
|
-
function Pe(e, t) {
|
|
905
|
-
return rn.call(e, t);
|
|
906
|
-
}
|
|
907
|
-
var nn = function() {
|
|
880
|
+
}(xe), rn = function() {
|
|
908
881
|
function e(t) {
|
|
909
882
|
this.partialObserver = t;
|
|
910
883
|
}
|
|
@@ -935,55 +908,43 @@ var nn = function() {
|
|
|
935
908
|
ce(r);
|
|
936
909
|
}
|
|
937
910
|
}, e;
|
|
938
|
-
}(),
|
|
939
|
-
|
|
911
|
+
}(), Xe = function(e) {
|
|
912
|
+
ae(t, e);
|
|
940
913
|
function t(r, n, i) {
|
|
941
914
|
var o = e.call(this) || this, a;
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
|
|
945
|
-
|
|
946
|
-
|
|
947
|
-
};
|
|
948
|
-
else {
|
|
949
|
-
var s;
|
|
950
|
-
o && Vt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
951
|
-
return o.unsubscribe();
|
|
952
|
-
}, a = {
|
|
953
|
-
next: r.next && Pe(r.next, s),
|
|
954
|
-
error: r.error && Pe(r.error, s),
|
|
955
|
-
complete: r.complete && Pe(r.complete, s)
|
|
956
|
-
}) : a = r;
|
|
957
|
-
}
|
|
958
|
-
return o.destination = new nn(a), o;
|
|
915
|
+
return L(r) || !r ? a = {
|
|
916
|
+
next: r != null ? r : void 0,
|
|
917
|
+
error: n != null ? n : void 0,
|
|
918
|
+
complete: i != null ? i : void 0
|
|
919
|
+
} : a = r, o.destination = new rn(a), o;
|
|
959
920
|
}
|
|
960
921
|
return t;
|
|
961
|
-
}(
|
|
922
|
+
}(Wt);
|
|
962
923
|
function ce(e) {
|
|
963
924
|
tn(e);
|
|
964
925
|
}
|
|
965
|
-
function
|
|
926
|
+
function nn(e) {
|
|
966
927
|
throw e;
|
|
967
928
|
}
|
|
968
|
-
var
|
|
929
|
+
var on = {
|
|
969
930
|
closed: !0,
|
|
970
|
-
next:
|
|
971
|
-
error:
|
|
972
|
-
complete:
|
|
973
|
-
},
|
|
931
|
+
next: pt,
|
|
932
|
+
error: nn,
|
|
933
|
+
complete: pt
|
|
934
|
+
}, sn = function() {
|
|
974
935
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
975
936
|
}();
|
|
976
|
-
function
|
|
937
|
+
function an(e) {
|
|
977
938
|
return e;
|
|
978
939
|
}
|
|
979
|
-
function
|
|
980
|
-
return e.length === 0 ?
|
|
940
|
+
function un(e) {
|
|
941
|
+
return e.length === 0 ? an : e.length === 1 ? e[0] : function(r) {
|
|
981
942
|
return e.reduce(function(n, i) {
|
|
982
943
|
return i(n);
|
|
983
944
|
}, r);
|
|
984
945
|
};
|
|
985
946
|
}
|
|
986
|
-
var
|
|
947
|
+
var mt = function() {
|
|
987
948
|
function e(t) {
|
|
988
949
|
t && (this._subscribe = t);
|
|
989
950
|
}
|
|
@@ -991,7 +952,7 @@ var dt = function() {
|
|
|
991
952
|
var r = new e();
|
|
992
953
|
return r.source = this, r.operator = t, r;
|
|
993
954
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
994
|
-
var i = this, o =
|
|
955
|
+
var i = this, o = hn(t) ? t : new Xe(t, r, n);
|
|
995
956
|
return me(function() {
|
|
996
957
|
var a = i, s = a.operator, l = a.source;
|
|
997
958
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -1004,8 +965,8 @@ var dt = function() {
|
|
|
1004
965
|
}
|
|
1005
966
|
}, e.prototype.forEach = function(t, r) {
|
|
1006
967
|
var n = this;
|
|
1007
|
-
return r =
|
|
1008
|
-
var a = new
|
|
968
|
+
return r = bt(r), new r(function(i, o) {
|
|
969
|
+
var a = new Xe({
|
|
1009
970
|
next: function(s) {
|
|
1010
971
|
try {
|
|
1011
972
|
t(s);
|
|
@@ -1021,15 +982,15 @@ var dt = function() {
|
|
|
1021
982
|
}, e.prototype._subscribe = function(t) {
|
|
1022
983
|
var r;
|
|
1023
984
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1024
|
-
}, e.prototype[
|
|
985
|
+
}, e.prototype[sn] = function() {
|
|
1025
986
|
return this;
|
|
1026
987
|
}, e.prototype.pipe = function() {
|
|
1027
988
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1028
989
|
t[r] = arguments[r];
|
|
1029
|
-
return
|
|
990
|
+
return un(t)(this);
|
|
1030
991
|
}, e.prototype.toPromise = function(t) {
|
|
1031
992
|
var r = this;
|
|
1032
|
-
return t =
|
|
993
|
+
return t = bt(t), new t(function(n, i) {
|
|
1033
994
|
var o;
|
|
1034
995
|
r.subscribe(function(a) {
|
|
1035
996
|
return o = a;
|
|
@@ -1043,32 +1004,32 @@ var dt = function() {
|
|
|
1043
1004
|
return new e(t);
|
|
1044
1005
|
}, e;
|
|
1045
1006
|
}();
|
|
1046
|
-
function
|
|
1007
|
+
function bt(e) {
|
|
1047
1008
|
var t;
|
|
1048
|
-
return (t = e != null ? e :
|
|
1009
|
+
return (t = e != null ? e : Kr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1049
1010
|
}
|
|
1050
|
-
function
|
|
1051
|
-
return e &&
|
|
1011
|
+
function ln(e) {
|
|
1012
|
+
return e && L(e.next) && L(e.error) && L(e.complete);
|
|
1052
1013
|
}
|
|
1053
|
-
function
|
|
1054
|
-
return e && e instanceof
|
|
1014
|
+
function hn(e) {
|
|
1015
|
+
return e && e instanceof Wt || ln(e) && Xt(e);
|
|
1055
1016
|
}
|
|
1056
|
-
var
|
|
1017
|
+
var cn = kt(function(e) {
|
|
1057
1018
|
return function() {
|
|
1058
1019
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1059
1020
|
};
|
|
1060
|
-
}),
|
|
1061
|
-
|
|
1021
|
+
}), zt = function(e) {
|
|
1022
|
+
ae(t, e);
|
|
1062
1023
|
function t() {
|
|
1063
1024
|
var r = e.call(this) || this;
|
|
1064
1025
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1065
1026
|
}
|
|
1066
1027
|
return t.prototype.lift = function(r) {
|
|
1067
|
-
var n = new
|
|
1028
|
+
var n = new yt(this, this);
|
|
1068
1029
|
return n.operator = r, n;
|
|
1069
1030
|
}, t.prototype._throwIfClosed = function() {
|
|
1070
1031
|
if (this.closed)
|
|
1071
|
-
throw new
|
|
1032
|
+
throw new cn();
|
|
1072
1033
|
}, t.prototype.next = function(r) {
|
|
1073
1034
|
var n = this;
|
|
1074
1035
|
me(function() {
|
|
@@ -1076,7 +1037,7 @@ var fn = Ft(function(e) {
|
|
|
1076
1037
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1077
1038
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1078
1039
|
try {
|
|
1079
|
-
for (var a =
|
|
1040
|
+
for (var a = Fe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1080
1041
|
var l = s.value;
|
|
1081
1042
|
l.next(r);
|
|
1082
1043
|
}
|
|
@@ -1125,20 +1086,20 @@ var fn = Ft(function(e) {
|
|
|
1125
1086
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1126
1087
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1127
1088
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1128
|
-
return o || a ?
|
|
1129
|
-
n.currentObservers = null,
|
|
1089
|
+
return o || a ? Vt : (this.currentObservers = null, s.push(r), new xe(function() {
|
|
1090
|
+
n.currentObservers = null, Ve(s, r);
|
|
1130
1091
|
}));
|
|
1131
1092
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1132
1093
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1133
1094
|
i ? r.error(o) : a && r.complete();
|
|
1134
1095
|
}, t.prototype.asObservable = function() {
|
|
1135
|
-
var r = new
|
|
1096
|
+
var r = new mt();
|
|
1136
1097
|
return r.source = this, r;
|
|
1137
1098
|
}, t.create = function(r, n) {
|
|
1138
|
-
return new
|
|
1099
|
+
return new yt(r, n);
|
|
1139
1100
|
}, t;
|
|
1140
|
-
}(
|
|
1141
|
-
|
|
1101
|
+
}(mt), yt = function(e) {
|
|
1102
|
+
ae(t, e);
|
|
1142
1103
|
function t(r, n) {
|
|
1143
1104
|
var i = e.call(this) || this;
|
|
1144
1105
|
return i.destination = r, i.source = n, i;
|
|
@@ -1154,17 +1115,17 @@ var fn = Ft(function(e) {
|
|
|
1154
1115
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1155
1116
|
}, t.prototype._subscribe = function(r) {
|
|
1156
1117
|
var n, i;
|
|
1157
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1118
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
|
|
1158
1119
|
}, t;
|
|
1159
|
-
}(
|
|
1120
|
+
}(zt), Zt = {
|
|
1160
1121
|
now: function() {
|
|
1161
|
-
return (
|
|
1122
|
+
return (Zt.delegate || Date).now();
|
|
1162
1123
|
},
|
|
1163
1124
|
delegate: void 0
|
|
1164
|
-
},
|
|
1165
|
-
|
|
1125
|
+
}, fn = function(e) {
|
|
1126
|
+
ae(t, e);
|
|
1166
1127
|
function t(r, n, i) {
|
|
1167
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1128
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
|
|
1168
1129
|
var o = e.call(this) || this;
|
|
1169
1130
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1170
1131
|
}
|
|
@@ -1184,24 +1145,24 @@ var fn = Ft(function(e) {
|
|
|
1184
1145
|
u && o.splice(0, u + 1);
|
|
1185
1146
|
}
|
|
1186
1147
|
}, t;
|
|
1187
|
-
}(
|
|
1188
|
-
const
|
|
1189
|
-
if (
|
|
1190
|
-
const r = new
|
|
1191
|
-
|
|
1148
|
+
}(zt);
|
|
1149
|
+
const gt = [], vt = {}, dn = (e, t = 0) => {
|
|
1150
|
+
if (gt.indexOf(e) == -1) {
|
|
1151
|
+
const r = new fn(t);
|
|
1152
|
+
vt[e] = r, gt.push(e);
|
|
1192
1153
|
}
|
|
1193
|
-
return
|
|
1154
|
+
return vt[e];
|
|
1194
1155
|
}, X = [];
|
|
1195
|
-
function
|
|
1156
|
+
function pn(e, t) {
|
|
1196
1157
|
return {
|
|
1197
|
-
subscribe:
|
|
1158
|
+
subscribe: Se(e, t).subscribe
|
|
1198
1159
|
};
|
|
1199
1160
|
}
|
|
1200
|
-
function
|
|
1161
|
+
function Se(e, t = B) {
|
|
1201
1162
|
let r;
|
|
1202
1163
|
const n = /* @__PURE__ */ new Set();
|
|
1203
1164
|
function i(s) {
|
|
1204
|
-
if (
|
|
1165
|
+
if (Ut(e, s) && (e = s, r)) {
|
|
1205
1166
|
const l = !X.length;
|
|
1206
1167
|
for (const u of n)
|
|
1207
1168
|
u[1](), X.push(u, e);
|
|
@@ -1223,12 +1184,12 @@ function xe(e, t = B) {
|
|
|
1223
1184
|
}
|
|
1224
1185
|
return { set: i, update: o, subscribe: a };
|
|
1225
1186
|
}
|
|
1226
|
-
function
|
|
1187
|
+
function K(e, t, r) {
|
|
1227
1188
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1228
1189
|
if (!i.every(Boolean))
|
|
1229
1190
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1230
1191
|
const o = t.length < 2;
|
|
1231
|
-
return
|
|
1192
|
+
return pn(r, (a, s) => {
|
|
1232
1193
|
let l = !1;
|
|
1233
1194
|
const u = [];
|
|
1234
1195
|
let h = 0, f = B;
|
|
@@ -1236,100 +1197,142 @@ function ee(e, t, r) {
|
|
|
1236
1197
|
if (h)
|
|
1237
1198
|
return;
|
|
1238
1199
|
f();
|
|
1239
|
-
const
|
|
1240
|
-
o ? a(
|
|
1200
|
+
const v = t(n ? u[0] : u, a, s);
|
|
1201
|
+
o ? a(v) : f = tt(v) ? v : B;
|
|
1241
1202
|
}, y = i.map(
|
|
1242
|
-
(
|
|
1243
|
-
|
|
1203
|
+
(v, g) => Gt(
|
|
1204
|
+
v,
|
|
1244
1205
|
(H) => {
|
|
1245
|
-
u[
|
|
1206
|
+
u[g] = H, h &= ~(1 << g), l && c();
|
|
1246
1207
|
},
|
|
1247
1208
|
() => {
|
|
1248
|
-
h |= 1 <<
|
|
1209
|
+
h |= 1 << g;
|
|
1249
1210
|
}
|
|
1250
1211
|
)
|
|
1251
1212
|
);
|
|
1252
1213
|
return l = !0, c(), function() {
|
|
1253
|
-
|
|
1214
|
+
Y(y), f(), l = !1;
|
|
1254
1215
|
};
|
|
1255
1216
|
});
|
|
1256
1217
|
}
|
|
1257
|
-
function
|
|
1218
|
+
function mn(e) {
|
|
1258
1219
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1259
1220
|
}
|
|
1260
|
-
var
|
|
1261
|
-
return
|
|
1221
|
+
var bn = function(t) {
|
|
1222
|
+
return yn(t) && !gn(t);
|
|
1262
1223
|
};
|
|
1263
|
-
function
|
|
1224
|
+
function yn(e) {
|
|
1264
1225
|
return !!e && typeof e == "object";
|
|
1265
1226
|
}
|
|
1266
|
-
function
|
|
1227
|
+
function gn(e) {
|
|
1267
1228
|
var t = Object.prototype.toString.call(e);
|
|
1268
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1229
|
+
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
|
1269
1230
|
}
|
|
1270
|
-
var
|
|
1271
|
-
function
|
|
1272
|
-
return e.$$typeof ===
|
|
1231
|
+
var vn = typeof Symbol == "function" && Symbol.for, _n = vn ? Symbol.for("react.element") : 60103;
|
|
1232
|
+
function En(e) {
|
|
1233
|
+
return e.$$typeof === _n;
|
|
1273
1234
|
}
|
|
1274
|
-
function
|
|
1235
|
+
function xn(e) {
|
|
1275
1236
|
return Array.isArray(e) ? [] : {};
|
|
1276
1237
|
}
|
|
1277
|
-
function
|
|
1278
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1238
|
+
function oe(e, t) {
|
|
1239
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(xn(e), e, t) : e;
|
|
1279
1240
|
}
|
|
1280
|
-
function
|
|
1241
|
+
function Sn(e, t, r) {
|
|
1281
1242
|
return e.concat(t).map(function(n) {
|
|
1282
|
-
return
|
|
1243
|
+
return oe(n, r);
|
|
1283
1244
|
});
|
|
1284
1245
|
}
|
|
1285
1246
|
function wn(e, t) {
|
|
1286
1247
|
if (!t.customMerge)
|
|
1287
|
-
return
|
|
1248
|
+
return Z;
|
|
1288
1249
|
var r = t.customMerge(e);
|
|
1289
|
-
return typeof r == "function" ? r :
|
|
1250
|
+
return typeof r == "function" ? r : Z;
|
|
1290
1251
|
}
|
|
1291
|
-
function
|
|
1252
|
+
function Tn(e) {
|
|
1292
1253
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1293
1254
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1294
1255
|
}) : [];
|
|
1295
1256
|
}
|
|
1296
|
-
function
|
|
1297
|
-
return Object.keys(e).concat(
|
|
1257
|
+
function _t(e) {
|
|
1258
|
+
return Object.keys(e).concat(Tn(e));
|
|
1298
1259
|
}
|
|
1299
|
-
function
|
|
1260
|
+
function Qt(e, t) {
|
|
1300
1261
|
try {
|
|
1301
1262
|
return t in e;
|
|
1302
1263
|
} catch (r) {
|
|
1303
1264
|
return !1;
|
|
1304
1265
|
}
|
|
1305
1266
|
}
|
|
1306
|
-
function
|
|
1307
|
-
return
|
|
1267
|
+
function Hn(e, t) {
|
|
1268
|
+
return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1308
1269
|
}
|
|
1309
|
-
function
|
|
1270
|
+
function Bn(e, t, r) {
|
|
1310
1271
|
var n = {};
|
|
1311
|
-
return r.isMergeableObject(e) &&
|
|
1312
|
-
n[i] =
|
|
1313
|
-
}),
|
|
1314
|
-
|
|
1272
|
+
return r.isMergeableObject(e) && _t(e).forEach(function(i) {
|
|
1273
|
+
n[i] = oe(e[i], r);
|
|
1274
|
+
}), _t(t).forEach(function(i) {
|
|
1275
|
+
Hn(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = wn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
1315
1276
|
}), n;
|
|
1316
1277
|
}
|
|
1317
|
-
function
|
|
1318
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1278
|
+
function Z(e, t, r) {
|
|
1279
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Sn, r.isMergeableObject = r.isMergeableObject || bn, r.cloneUnlessOtherwiseSpecified = oe;
|
|
1319
1280
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1320
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1281
|
+
return o ? n ? r.arrayMerge(e, t, r) : Bn(e, t, r) : oe(t, r);
|
|
1321
1282
|
}
|
|
1322
|
-
|
|
1283
|
+
Z.all = function(t, r) {
|
|
1323
1284
|
if (!Array.isArray(t))
|
|
1324
1285
|
throw new Error("first argument should be an array");
|
|
1325
1286
|
return t.reduce(function(n, i) {
|
|
1326
|
-
return
|
|
1287
|
+
return Z(n, i, r);
|
|
1327
1288
|
}, {});
|
|
1328
1289
|
};
|
|
1329
|
-
var
|
|
1330
|
-
const
|
|
1331
|
-
function
|
|
1332
|
-
|
|
1290
|
+
var An = Z, Pn = An;
|
|
1291
|
+
const On = /* @__PURE__ */ mn(Pn);
|
|
1292
|
+
var We = function(e, t) {
|
|
1293
|
+
return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1294
|
+
r.__proto__ = n;
|
|
1295
|
+
} || function(r, n) {
|
|
1296
|
+
for (var i in n)
|
|
1297
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1298
|
+
}, We(e, t);
|
|
1299
|
+
};
|
|
1300
|
+
function we(e, t) {
|
|
1301
|
+
if (typeof t != "function" && t !== null)
|
|
1302
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1303
|
+
We(e, t);
|
|
1304
|
+
function r() {
|
|
1305
|
+
this.constructor = e;
|
|
1306
|
+
}
|
|
1307
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1308
|
+
}
|
|
1309
|
+
var P = function() {
|
|
1310
|
+
return P = Object.assign || function(t) {
|
|
1311
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1312
|
+
r = arguments[n];
|
|
1313
|
+
for (var o in r)
|
|
1314
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1315
|
+
}
|
|
1316
|
+
return t;
|
|
1317
|
+
}, P.apply(this, arguments);
|
|
1318
|
+
};
|
|
1319
|
+
function In(e, t) {
|
|
1320
|
+
var r = {};
|
|
1321
|
+
for (var n in e)
|
|
1322
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1323
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1324
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1325
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1326
|
+
return r;
|
|
1327
|
+
}
|
|
1328
|
+
function Ie(e, t, r) {
|
|
1329
|
+
if (r || arguments.length === 2)
|
|
1330
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1331
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1332
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1333
|
+
}
|
|
1334
|
+
function Ce(e, t) {
|
|
1335
|
+
var r = t && t.cache ? t.cache : Dn, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Nn;
|
|
1333
1336
|
return i(e, {
|
|
1334
1337
|
cache: r,
|
|
1335
1338
|
serializer: n
|
|
@@ -1338,7 +1341,7 @@ function Oe(e, t) {
|
|
|
1338
1341
|
function Cn(e) {
|
|
1339
1342
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1340
1343
|
}
|
|
1341
|
-
function
|
|
1344
|
+
function Ln(e, t, r, n) {
|
|
1342
1345
|
var i = Cn(n) ? n : r(n), o = t.get(i);
|
|
1343
1346
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1344
1347
|
}
|
|
@@ -1346,87 +1349,95 @@ function Jt(e, t, r) {
|
|
|
1346
1349
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1347
1350
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1348
1351
|
}
|
|
1349
|
-
function
|
|
1352
|
+
function qt(e, t, r, n, i) {
|
|
1350
1353
|
return r.bind(t, e, n, i);
|
|
1351
1354
|
}
|
|
1352
|
-
function Ln(e, t) {
|
|
1353
|
-
var r = e.length === 1 ? Qt : Jt;
|
|
1354
|
-
return Ke(e, this, r, t.cache.create(), t.serializer);
|
|
1355
|
-
}
|
|
1356
1355
|
function Nn(e, t) {
|
|
1357
|
-
|
|
1356
|
+
var r = e.length === 1 ? Ln : Jt;
|
|
1357
|
+
return qt(e, this, r, t.cache.create(), t.serializer);
|
|
1358
1358
|
}
|
|
1359
1359
|
function Mn(e, t) {
|
|
1360
|
-
return
|
|
1360
|
+
return qt(e, this, Jt, t.cache.create(), t.serializer);
|
|
1361
1361
|
}
|
|
1362
1362
|
var Rn = function() {
|
|
1363
1363
|
return JSON.stringify(arguments);
|
|
1364
|
-
}
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1364
|
+
}, $n = (
|
|
1365
|
+
/** @class */
|
|
1366
|
+
function() {
|
|
1367
|
+
function e() {
|
|
1368
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1369
|
+
}
|
|
1370
|
+
return e.prototype.get = function(t) {
|
|
1371
|
+
return this.cache[t];
|
|
1372
|
+
}, e.prototype.set = function(t, r) {
|
|
1373
|
+
this.cache[t] = r;
|
|
1374
|
+
}, e;
|
|
1375
|
+
}()
|
|
1376
|
+
), Dn = {
|
|
1375
1377
|
create: function() {
|
|
1376
|
-
return new
|
|
1378
|
+
return new $n();
|
|
1377
1379
|
}
|
|
1378
|
-
},
|
|
1379
|
-
variadic:
|
|
1380
|
-
|
|
1381
|
-
|
|
1380
|
+
}, Le = {
|
|
1381
|
+
variadic: Mn
|
|
1382
|
+
}, ge = function() {
|
|
1383
|
+
return ge = Object.assign || function(t) {
|
|
1384
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1385
|
+
r = arguments[n];
|
|
1386
|
+
for (var o in r)
|
|
1387
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1388
|
+
}
|
|
1389
|
+
return t;
|
|
1390
|
+
}, ge.apply(this, arguments);
|
|
1391
|
+
};
|
|
1392
|
+
var m;
|
|
1382
1393
|
(function(e) {
|
|
1383
1394
|
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";
|
|
1384
1395
|
})(m || (m = {}));
|
|
1385
|
-
var
|
|
1396
|
+
var _;
|
|
1386
1397
|
(function(e) {
|
|
1387
1398
|
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";
|
|
1388
|
-
})(
|
|
1389
|
-
var
|
|
1399
|
+
})(_ || (_ = {}));
|
|
1400
|
+
var Q;
|
|
1390
1401
|
(function(e) {
|
|
1391
1402
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1392
|
-
})(
|
|
1393
|
-
function
|
|
1394
|
-
return e.type ===
|
|
1395
|
-
}
|
|
1396
|
-
function Dn(e) {
|
|
1397
|
-
return e.type === E.argument;
|
|
1403
|
+
})(Q || (Q = {}));
|
|
1404
|
+
function Et(e) {
|
|
1405
|
+
return e.type === _.literal;
|
|
1398
1406
|
}
|
|
1399
|
-
function
|
|
1400
|
-
return e.type ===
|
|
1407
|
+
function Un(e) {
|
|
1408
|
+
return e.type === _.argument;
|
|
1401
1409
|
}
|
|
1402
1410
|
function Yt(e) {
|
|
1403
|
-
return e.type ===
|
|
1411
|
+
return e.type === _.number;
|
|
1404
1412
|
}
|
|
1405
1413
|
function Kt(e) {
|
|
1406
|
-
return e.type ===
|
|
1414
|
+
return e.type === _.date;
|
|
1407
1415
|
}
|
|
1408
1416
|
function er(e) {
|
|
1409
|
-
return e.type ===
|
|
1417
|
+
return e.type === _.time;
|
|
1410
1418
|
}
|
|
1411
1419
|
function tr(e) {
|
|
1412
|
-
return e.type ===
|
|
1413
|
-
}
|
|
1414
|
-
function Un(e) {
|
|
1415
|
-
return e.type === E.pound;
|
|
1420
|
+
return e.type === _.select;
|
|
1416
1421
|
}
|
|
1417
1422
|
function rr(e) {
|
|
1418
|
-
return e.type ===
|
|
1423
|
+
return e.type === _.plural;
|
|
1424
|
+
}
|
|
1425
|
+
function Gn(e) {
|
|
1426
|
+
return e.type === _.pound;
|
|
1419
1427
|
}
|
|
1420
1428
|
function nr(e) {
|
|
1421
|
-
return
|
|
1429
|
+
return e.type === _.tag;
|
|
1422
1430
|
}
|
|
1423
|
-
function
|
|
1424
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1431
|
+
function ir(e) {
|
|
1432
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1425
1433
|
}
|
|
1426
|
-
|
|
1427
|
-
|
|
1434
|
+
function ze(e) {
|
|
1435
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1436
|
+
}
|
|
1437
|
+
var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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;
|
|
1438
|
+
function jn(e) {
|
|
1428
1439
|
var t = {};
|
|
1429
|
-
return e.replace(
|
|
1440
|
+
return e.replace(Fn, function(r) {
|
|
1430
1441
|
var n = r.length;
|
|
1431
1442
|
switch (r[0]) {
|
|
1432
1443
|
case "G":
|
|
@@ -1515,11 +1526,21 @@ function Fn(e) {
|
|
|
1515
1526
|
return "";
|
|
1516
1527
|
}), t;
|
|
1517
1528
|
}
|
|
1518
|
-
var
|
|
1519
|
-
function
|
|
1529
|
+
var E = function() {
|
|
1530
|
+
return E = Object.assign || function(t) {
|
|
1531
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1532
|
+
r = arguments[n];
|
|
1533
|
+
for (var o in r)
|
|
1534
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1535
|
+
}
|
|
1536
|
+
return t;
|
|
1537
|
+
}, E.apply(this, arguments);
|
|
1538
|
+
};
|
|
1539
|
+
var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1540
|
+
function Vn(e) {
|
|
1520
1541
|
if (e.length === 0)
|
|
1521
1542
|
throw new Error("Number skeleton cannot be empty");
|
|
1522
|
-
for (var t = e.split(
|
|
1543
|
+
for (var t = e.split(kn).filter(function(c) {
|
|
1523
1544
|
return c.length > 0;
|
|
1524
1545
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1525
1546
|
var o = i[n], a = o.split("/");
|
|
@@ -1534,17 +1555,17 @@ function kn(e) {
|
|
|
1534
1555
|
}
|
|
1535
1556
|
return r;
|
|
1536
1557
|
}
|
|
1537
|
-
function
|
|
1558
|
+
function Xn(e) {
|
|
1538
1559
|
return e.replace(/^(.*?)-/, "");
|
|
1539
1560
|
}
|
|
1540
|
-
var
|
|
1541
|
-
function
|
|
1561
|
+
var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
|
|
1562
|
+
function St(e) {
|
|
1542
1563
|
var t = {};
|
|
1543
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1564
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
|
|
1544
1565
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1545
1566
|
}), t;
|
|
1546
1567
|
}
|
|
1547
|
-
function
|
|
1568
|
+
function ur(e) {
|
|
1548
1569
|
switch (e) {
|
|
1549
1570
|
case "sign-auto":
|
|
1550
1571
|
return {
|
|
@@ -1584,7 +1605,7 @@ function ar(e) {
|
|
|
1584
1605
|
};
|
|
1585
1606
|
}
|
|
1586
1607
|
}
|
|
1587
|
-
function
|
|
1608
|
+
function zn(e) {
|
|
1588
1609
|
var t;
|
|
1589
1610
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1590
1611
|
notation: "engineering"
|
|
@@ -1592,17 +1613,17 @@ function Wn(e) {
|
|
|
1592
1613
|
notation: "scientific"
|
|
1593
1614
|
}, e = e.slice(1)), t) {
|
|
1594
1615
|
var r = e.slice(0, 2);
|
|
1595
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1616
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
|
|
1596
1617
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1597
1618
|
t.minimumIntegerDigits = e.length;
|
|
1598
1619
|
}
|
|
1599
1620
|
return t;
|
|
1600
1621
|
}
|
|
1601
|
-
function
|
|
1602
|
-
var t = {}, r =
|
|
1622
|
+
function wt(e) {
|
|
1623
|
+
var t = {}, r = ur(e);
|
|
1603
1624
|
return r || t;
|
|
1604
1625
|
}
|
|
1605
|
-
function
|
|
1626
|
+
function Zn(e) {
|
|
1606
1627
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1607
1628
|
var i = n[r];
|
|
1608
1629
|
switch (i.stem) {
|
|
@@ -1626,7 +1647,7 @@ function zn(e) {
|
|
|
1626
1647
|
continue;
|
|
1627
1648
|
case "measure-unit":
|
|
1628
1649
|
case "unit":
|
|
1629
|
-
t.style = "unit", t.unit =
|
|
1650
|
+
t.style = "unit", t.unit = Xn(i.options[0]);
|
|
1630
1651
|
continue;
|
|
1631
1652
|
case "compact-short":
|
|
1632
1653
|
case "K":
|
|
@@ -1637,13 +1658,13 @@ function zn(e) {
|
|
|
1637
1658
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1638
1659
|
continue;
|
|
1639
1660
|
case "scientific":
|
|
1640
|
-
t =
|
|
1641
|
-
return
|
|
1661
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1662
|
+
return E(E({}, l), wt(u));
|
|
1642
1663
|
}, {}));
|
|
1643
1664
|
continue;
|
|
1644
1665
|
case "engineering":
|
|
1645
|
-
t =
|
|
1646
|
-
return
|
|
1666
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1667
|
+
return E(E({}, l), wt(u));
|
|
1647
1668
|
}, {}));
|
|
1648
1669
|
continue;
|
|
1649
1670
|
case "notation-simple":
|
|
@@ -1688,7 +1709,7 @@ function zn(e) {
|
|
|
1688
1709
|
case "integer-width":
|
|
1689
1710
|
if (i.options.length > 1)
|
|
1690
1711
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1691
|
-
i.options[0].replace(
|
|
1712
|
+
i.options[0].replace(Wn, function(l, u, h, f, c, y) {
|
|
1692
1713
|
if (u)
|
|
1693
1714
|
t.minimumIntegerDigits = h.length;
|
|
1694
1715
|
else {
|
|
@@ -1701,28 +1722,28 @@ function zn(e) {
|
|
|
1701
1722
|
});
|
|
1702
1723
|
continue;
|
|
1703
1724
|
}
|
|
1704
|
-
if (
|
|
1725
|
+
if (ar.test(i.stem)) {
|
|
1705
1726
|
t.minimumIntegerDigits = i.stem.length;
|
|
1706
1727
|
continue;
|
|
1707
1728
|
}
|
|
1708
|
-
if (
|
|
1729
|
+
if (xt.test(i.stem)) {
|
|
1709
1730
|
if (i.options.length > 1)
|
|
1710
1731
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1711
|
-
i.stem.replace(
|
|
1732
|
+
i.stem.replace(xt, function(l, u, h, f, c, y) {
|
|
1712
1733
|
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1713
1734
|
});
|
|
1714
1735
|
var o = i.options[0];
|
|
1715
|
-
o === "w" ? t =
|
|
1736
|
+
o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), St(o)));
|
|
1716
1737
|
continue;
|
|
1717
1738
|
}
|
|
1718
|
-
if (
|
|
1719
|
-
t =
|
|
1739
|
+
if (sr.test(i.stem)) {
|
|
1740
|
+
t = E(E({}, t), St(i.stem));
|
|
1720
1741
|
continue;
|
|
1721
1742
|
}
|
|
1722
|
-
var a =
|
|
1723
|
-
a && (t =
|
|
1724
|
-
var s =
|
|
1725
|
-
s && (t =
|
|
1743
|
+
var a = ur(i.stem);
|
|
1744
|
+
a && (t = E(E({}, t), a));
|
|
1745
|
+
var s = zn(i.stem);
|
|
1746
|
+
s && (t = E(E({}, t), s));
|
|
1726
1747
|
}
|
|
1727
1748
|
return t;
|
|
1728
1749
|
}
|
|
@@ -3141,13 +3162,13 @@ var fe = {
|
|
|
3141
3162
|
"h"
|
|
3142
3163
|
]
|
|
3143
3164
|
};
|
|
3144
|
-
function
|
|
3165
|
+
function Qn(e, t) {
|
|
3145
3166
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3146
3167
|
var i = e.charAt(n);
|
|
3147
3168
|
if (i === "j") {
|
|
3148
3169
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3149
3170
|
o++, n++;
|
|
3150
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3171
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Jn(t);
|
|
3151
3172
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3152
3173
|
r += l;
|
|
3153
3174
|
for (; a-- > 0; )
|
|
@@ -3157,7 +3178,7 @@ function Zn(e, t) {
|
|
|
3157
3178
|
}
|
|
3158
3179
|
return r;
|
|
3159
3180
|
}
|
|
3160
|
-
function
|
|
3181
|
+
function Jn(e) {
|
|
3161
3182
|
var t = e.hourCycle;
|
|
3162
3183
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3163
3184
|
e.hourCycles && // @ts-ignore
|
|
@@ -3179,20 +3200,20 @@ function Qn(e) {
|
|
|
3179
3200
|
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
3180
3201
|
return i[0];
|
|
3181
3202
|
}
|
|
3182
|
-
var
|
|
3203
|
+
var Ne, qn = new RegExp("^".concat(or.source, "*")), Yn = new RegExp("".concat(or.source, "*$"));
|
|
3183
3204
|
function b(e, t) {
|
|
3184
3205
|
return { start: e, end: t };
|
|
3185
3206
|
}
|
|
3186
|
-
var
|
|
3207
|
+
var Kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ei = !!String.fromCodePoint, ti = !!Object.fromEntries, ri = !!String.prototype.codePointAt, ni = !!String.prototype.trimStart, ii = !!String.prototype.trimEnd, oi = !!Number.isSafeInteger, si = oi ? Number.isSafeInteger : function(e) {
|
|
3187
3208
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3188
|
-
},
|
|
3209
|
+
}, Ze = !0;
|
|
3189
3210
|
try {
|
|
3190
|
-
var
|
|
3191
|
-
|
|
3211
|
+
var ai = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3212
|
+
Ze = ((Ne = ai.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
|
|
3192
3213
|
} catch (e) {
|
|
3193
|
-
|
|
3214
|
+
Ze = !1;
|
|
3194
3215
|
}
|
|
3195
|
-
var
|
|
3216
|
+
var Tt = Kn ? (
|
|
3196
3217
|
// Native
|
|
3197
3218
|
function(t, r, n) {
|
|
3198
3219
|
return t.startsWith(r, n);
|
|
@@ -3202,7 +3223,7 @@ var St = Yn ? (
|
|
|
3202
3223
|
function(t, r, n) {
|
|
3203
3224
|
return t.slice(n, n + r.length) === r;
|
|
3204
3225
|
}
|
|
3205
|
-
),
|
|
3226
|
+
), Qe = ei ? String.fromCodePoint : (
|
|
3206
3227
|
// IE11
|
|
3207
3228
|
function() {
|
|
3208
3229
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3214,9 +3235,9 @@ var St = Yn ? (
|
|
|
3214
3235
|
}
|
|
3215
3236
|
return n;
|
|
3216
3237
|
}
|
|
3217
|
-
),
|
|
3238
|
+
), Ht = (
|
|
3218
3239
|
// native
|
|
3219
|
-
|
|
3240
|
+
ti ? Object.fromEntries : (
|
|
3220
3241
|
// Ponyfill
|
|
3221
3242
|
function(t) {
|
|
3222
3243
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3226,7 +3247,7 @@ var St = Yn ? (
|
|
|
3226
3247
|
return r;
|
|
3227
3248
|
}
|
|
3228
3249
|
)
|
|
3229
|
-
),
|
|
3250
|
+
), lr = ri ? (
|
|
3230
3251
|
// Native
|
|
3231
3252
|
function(t, r) {
|
|
3232
3253
|
return t.codePointAt(r);
|
|
@@ -3240,7 +3261,7 @@ var St = Yn ? (
|
|
|
3240
3261
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3241
3262
|
}
|
|
3242
3263
|
}
|
|
3243
|
-
),
|
|
3264
|
+
), ui = ni ? (
|
|
3244
3265
|
// Native
|
|
3245
3266
|
function(t) {
|
|
3246
3267
|
return t.trimStart();
|
|
@@ -3248,9 +3269,9 @@ var St = Yn ? (
|
|
|
3248
3269
|
) : (
|
|
3249
3270
|
// Ponyfill
|
|
3250
3271
|
function(t) {
|
|
3251
|
-
return t.replace(
|
|
3272
|
+
return t.replace(qn, "");
|
|
3252
3273
|
}
|
|
3253
|
-
),
|
|
3274
|
+
), li = ii ? (
|
|
3254
3275
|
// Native
|
|
3255
3276
|
function(t) {
|
|
3256
3277
|
return t.trimEnd();
|
|
@@ -3258,32 +3279,32 @@ var St = Yn ? (
|
|
|
3258
3279
|
) : (
|
|
3259
3280
|
// Ponyfill
|
|
3260
3281
|
function(t) {
|
|
3261
|
-
return t.replace(
|
|
3282
|
+
return t.replace(Yn, "");
|
|
3262
3283
|
}
|
|
3263
3284
|
);
|
|
3264
|
-
function
|
|
3285
|
+
function hr(e, t) {
|
|
3265
3286
|
return new RegExp(e, t);
|
|
3266
3287
|
}
|
|
3267
|
-
var
|
|
3268
|
-
if (
|
|
3269
|
-
var
|
|
3270
|
-
|
|
3288
|
+
var Je;
|
|
3289
|
+
if (Ze) {
|
|
3290
|
+
var Bt = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3291
|
+
Je = function(t, r) {
|
|
3271
3292
|
var n;
|
|
3272
|
-
|
|
3273
|
-
var i =
|
|
3293
|
+
Bt.lastIndex = r;
|
|
3294
|
+
var i = Bt.exec(t);
|
|
3274
3295
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3275
3296
|
};
|
|
3276
3297
|
} else
|
|
3277
|
-
|
|
3298
|
+
Je = function(t, r) {
|
|
3278
3299
|
for (var n = []; ; ) {
|
|
3279
|
-
var i =
|
|
3280
|
-
if (i === void 0 ||
|
|
3300
|
+
var i = lr(t, r);
|
|
3301
|
+
if (i === void 0 || cr(i) || di(i))
|
|
3281
3302
|
break;
|
|
3282
3303
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3283
3304
|
}
|
|
3284
|
-
return
|
|
3305
|
+
return Qe.apply(void 0, n);
|
|
3285
3306
|
};
|
|
3286
|
-
var
|
|
3307
|
+
var hi = (
|
|
3287
3308
|
/** @class */
|
|
3288
3309
|
function() {
|
|
3289
3310
|
function e(t, r) {
|
|
@@ -3307,14 +3328,14 @@ var li = (
|
|
|
3307
3328
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3308
3329
|
var s = this.clonePosition();
|
|
3309
3330
|
this.bump(), i.push({
|
|
3310
|
-
type:
|
|
3331
|
+
type: _.pound,
|
|
3311
3332
|
location: b(s, this.clonePosition())
|
|
3312
3333
|
});
|
|
3313
3334
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3314
3335
|
if (n)
|
|
3315
3336
|
break;
|
|
3316
3337
|
return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
3317
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3338
|
+
} else if (o === 60 && !this.ignoreTag && qe(this.peek() || 0)) {
|
|
3318
3339
|
var a = this.parseTag(t, r);
|
|
3319
3340
|
if (a.err)
|
|
3320
3341
|
return a;
|
|
@@ -3335,7 +3356,7 @@ var li = (
|
|
|
3335
3356
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3336
3357
|
return {
|
|
3337
3358
|
val: {
|
|
3338
|
-
type:
|
|
3359
|
+
type: _.literal,
|
|
3339
3360
|
value: "<".concat(i, "/>"),
|
|
3340
3361
|
location: b(n, this.clonePosition())
|
|
3341
3362
|
},
|
|
@@ -3347,12 +3368,12 @@ var li = (
|
|
|
3347
3368
|
return o;
|
|
3348
3369
|
var a = o.val, s = this.clonePosition();
|
|
3349
3370
|
if (this.bumpIf("</")) {
|
|
3350
|
-
if (this.isEOF() || !
|
|
3371
|
+
if (this.isEOF() || !qe(this.char()))
|
|
3351
3372
|
return this.error(m.INVALID_TAG, b(s, this.clonePosition()));
|
|
3352
3373
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3353
3374
|
return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3354
3375
|
val: {
|
|
3355
|
-
type:
|
|
3376
|
+
type: _.tag,
|
|
3356
3377
|
value: i,
|
|
3357
3378
|
children: a,
|
|
3358
3379
|
location: b(n, this.clonePosition())
|
|
@@ -3365,7 +3386,7 @@ var li = (
|
|
|
3365
3386
|
return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
|
|
3366
3387
|
}, e.prototype.parseTagName = function() {
|
|
3367
3388
|
var t = this.offset();
|
|
3368
|
-
for (this.bump(); !this.isEOF() &&
|
|
3389
|
+
for (this.bump(); !this.isEOF() && fi(this.char()); )
|
|
3369
3390
|
this.bump();
|
|
3370
3391
|
return this.message.slice(t, this.offset());
|
|
3371
3392
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3389,12 +3410,12 @@ var li = (
|
|
|
3389
3410
|
}
|
|
3390
3411
|
var l = b(n, this.clonePosition());
|
|
3391
3412
|
return {
|
|
3392
|
-
val: { type:
|
|
3413
|
+
val: { type: _.literal, value: i, location: l },
|
|
3393
3414
|
err: null
|
|
3394
3415
|
};
|
|
3395
3416
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3396
3417
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3397
|
-
!
|
|
3418
|
+
!ci(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3398
3419
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3399
3420
|
if (this.isEOF() || this.char() !== 39)
|
|
3400
3421
|
return null;
|
|
@@ -3428,12 +3449,12 @@ var li = (
|
|
|
3428
3449
|
r.push(n);
|
|
3429
3450
|
this.bump();
|
|
3430
3451
|
}
|
|
3431
|
-
return
|
|
3452
|
+
return Qe.apply(void 0, r);
|
|
3432
3453
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3433
3454
|
if (this.isEOF())
|
|
3434
3455
|
return null;
|
|
3435
3456
|
var n = this.char();
|
|
3436
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3457
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
|
|
3437
3458
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3438
3459
|
var n = this.clonePosition();
|
|
3439
3460
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3449,7 +3470,7 @@ var li = (
|
|
|
3449
3470
|
case 125:
|
|
3450
3471
|
return this.bump(), {
|
|
3451
3472
|
val: {
|
|
3452
|
-
type:
|
|
3473
|
+
type: _.argument,
|
|
3453
3474
|
// value does not include the opening and closing braces.
|
|
3454
3475
|
value: i,
|
|
3455
3476
|
location: b(n, this.clonePosition())
|
|
@@ -3462,7 +3483,7 @@ var li = (
|
|
|
3462
3483
|
return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3463
3484
|
}
|
|
3464
3485
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3465
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3486
|
+
var t = this.clonePosition(), r = this.offset(), n = Je(this.message, r), i = r + n.length;
|
|
3466
3487
|
this.bumpTo(i);
|
|
3467
3488
|
var o = this.clonePosition(), a = b(t, o);
|
|
3468
3489
|
return { value: n, location: a };
|
|
@@ -3481,46 +3502,46 @@ var li = (
|
|
|
3481
3502
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3482
3503
|
if (f.err)
|
|
3483
3504
|
return f;
|
|
3484
|
-
var c =
|
|
3505
|
+
var c = li(f.val);
|
|
3485
3506
|
if (c.length === 0)
|
|
3486
3507
|
return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3487
3508
|
var y = b(h, this.clonePosition());
|
|
3488
3509
|
u = { style: c, styleLocation: y };
|
|
3489
3510
|
}
|
|
3490
|
-
var
|
|
3491
|
-
if (
|
|
3492
|
-
return
|
|
3493
|
-
var
|
|
3494
|
-
if (u &&
|
|
3495
|
-
var H =
|
|
3511
|
+
var v = this.tryParseArgumentClose(i);
|
|
3512
|
+
if (v.err)
|
|
3513
|
+
return v;
|
|
3514
|
+
var g = b(i, this.clonePosition());
|
|
3515
|
+
if (u && Tt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3516
|
+
var H = ui(u.style.slice(2));
|
|
3496
3517
|
if (s === "number") {
|
|
3497
3518
|
var f = this.parseNumberSkeletonFromString(H, u.styleLocation);
|
|
3498
3519
|
return f.err ? f : {
|
|
3499
|
-
val: { type:
|
|
3520
|
+
val: { type: _.number, value: n, location: g, style: f.val },
|
|
3500
3521
|
err: null
|
|
3501
3522
|
};
|
|
3502
3523
|
} else {
|
|
3503
3524
|
if (H.length === 0)
|
|
3504
|
-
return this.error(m.EXPECT_DATE_TIME_SKELETON,
|
|
3525
|
+
return this.error(m.EXPECT_DATE_TIME_SKELETON, g);
|
|
3505
3526
|
var M = H;
|
|
3506
|
-
this.locale && (M =
|
|
3527
|
+
this.locale && (M = Qn(H, this.locale));
|
|
3507
3528
|
var c = {
|
|
3508
|
-
type:
|
|
3529
|
+
type: Q.dateTime,
|
|
3509
3530
|
pattern: M,
|
|
3510
3531
|
location: u.styleLocation,
|
|
3511
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3512
|
-
},
|
|
3532
|
+
parsedOptions: this.shouldParseSkeletons ? jn(M) : {}
|
|
3533
|
+
}, I = s === "date" ? _.date : _.time;
|
|
3513
3534
|
return {
|
|
3514
|
-
val: { type:
|
|
3535
|
+
val: { type: I, value: n, location: g, style: c },
|
|
3515
3536
|
err: null
|
|
3516
3537
|
};
|
|
3517
3538
|
}
|
|
3518
3539
|
}
|
|
3519
3540
|
return {
|
|
3520
3541
|
val: {
|
|
3521
|
-
type: s === "number" ?
|
|
3542
|
+
type: s === "number" ? _.number : s === "date" ? _.date : _.time,
|
|
3522
3543
|
value: n,
|
|
3523
|
-
location:
|
|
3544
|
+
location: g,
|
|
3524
3545
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3525
3546
|
},
|
|
3526
3547
|
err: null
|
|
@@ -3529,11 +3550,11 @@ var li = (
|
|
|
3529
3550
|
case "plural":
|
|
3530
3551
|
case "selectordinal":
|
|
3531
3552
|
case "select": {
|
|
3532
|
-
var
|
|
3553
|
+
var w = this.clonePosition();
|
|
3533
3554
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3534
|
-
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(
|
|
3555
|
+
return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(w, ge({}, w)));
|
|
3535
3556
|
this.bumpSpace();
|
|
3536
|
-
var G = this.parseIdentifierIfPossible(),
|
|
3557
|
+
var G = this.parseIdentifierIfPossible(), C = 0;
|
|
3537
3558
|
if (s !== "select" && G.value === "offset") {
|
|
3538
3559
|
if (!this.bumpIf(":"))
|
|
3539
3560
|
return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
@@ -3541,29 +3562,29 @@ var li = (
|
|
|
3541
3562
|
var f = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3542
3563
|
if (f.err)
|
|
3543
3564
|
return f;
|
|
3544
|
-
this.bumpSpace(), G = this.parseIdentifierIfPossible(),
|
|
3565
|
+
this.bumpSpace(), G = this.parseIdentifierIfPossible(), C = f.val;
|
|
3545
3566
|
}
|
|
3546
3567
|
var k = this.tryParsePluralOrSelectOptions(t, s, r, G);
|
|
3547
3568
|
if (k.err)
|
|
3548
3569
|
return k;
|
|
3549
|
-
var
|
|
3550
|
-
if (
|
|
3551
|
-
return
|
|
3570
|
+
var v = this.tryParseArgumentClose(i);
|
|
3571
|
+
if (v.err)
|
|
3572
|
+
return v;
|
|
3552
3573
|
var le = b(i, this.clonePosition());
|
|
3553
3574
|
return s === "select" ? {
|
|
3554
3575
|
val: {
|
|
3555
|
-
type:
|
|
3576
|
+
type: _.select,
|
|
3556
3577
|
value: n,
|
|
3557
|
-
options:
|
|
3578
|
+
options: Ht(k.val),
|
|
3558
3579
|
location: le
|
|
3559
3580
|
},
|
|
3560
3581
|
err: null
|
|
3561
3582
|
} : {
|
|
3562
3583
|
val: {
|
|
3563
|
-
type:
|
|
3584
|
+
type: _.plural,
|
|
3564
3585
|
value: n,
|
|
3565
|
-
options:
|
|
3566
|
-
offset:
|
|
3586
|
+
options: Ht(k.val),
|
|
3587
|
+
offset: C,
|
|
3567
3588
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3568
3589
|
location: le
|
|
3569
3590
|
},
|
|
@@ -3613,16 +3634,16 @@ var li = (
|
|
|
3613
3634
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3614
3635
|
var n = [];
|
|
3615
3636
|
try {
|
|
3616
|
-
n =
|
|
3637
|
+
n = Vn(t);
|
|
3617
3638
|
} catch (i) {
|
|
3618
3639
|
return this.error(m.INVALID_NUMBER_SKELETON, r);
|
|
3619
3640
|
}
|
|
3620
3641
|
return {
|
|
3621
3642
|
val: {
|
|
3622
|
-
type:
|
|
3643
|
+
type: Q.number,
|
|
3623
3644
|
tokens: n,
|
|
3624
3645
|
location: r,
|
|
3625
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3646
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(n) : {}
|
|
3626
3647
|
},
|
|
3627
3648
|
err: null
|
|
3628
3649
|
};
|
|
@@ -3644,16 +3665,16 @@ var li = (
|
|
|
3644
3665
|
var y = this.clonePosition();
|
|
3645
3666
|
if (!this.bumpIf("{"))
|
|
3646
3667
|
return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
3647
|
-
var
|
|
3648
|
-
if (_.err)
|
|
3649
|
-
return _;
|
|
3650
|
-
var v = this.tryParseArgumentClose(y);
|
|
3668
|
+
var v = this.parseMessage(t + 1, r, n);
|
|
3651
3669
|
if (v.err)
|
|
3652
3670
|
return v;
|
|
3671
|
+
var g = this.tryParseArgumentClose(y);
|
|
3672
|
+
if (g.err)
|
|
3673
|
+
return g;
|
|
3653
3674
|
s.push([
|
|
3654
3675
|
u,
|
|
3655
3676
|
{
|
|
3656
|
-
value:
|
|
3677
|
+
value: v.val,
|
|
3657
3678
|
location: b(y, this.clonePosition())
|
|
3658
3679
|
}
|
|
3659
3680
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
@@ -3670,7 +3691,7 @@ var li = (
|
|
|
3670
3691
|
break;
|
|
3671
3692
|
}
|
|
3672
3693
|
var l = b(i, this.clonePosition());
|
|
3673
|
-
return o ? (a *= n,
|
|
3694
|
+
return o ? (a *= n, si(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3674
3695
|
}, e.prototype.offset = function() {
|
|
3675
3696
|
return this.position.offset;
|
|
3676
3697
|
}, e.prototype.isEOF = function() {
|
|
@@ -3685,7 +3706,7 @@ var li = (
|
|
|
3685
3706
|
var t = this.position.offset;
|
|
3686
3707
|
if (t >= this.message.length)
|
|
3687
3708
|
throw Error("out of bound");
|
|
3688
|
-
var r =
|
|
3709
|
+
var r = lr(this.message, t);
|
|
3689
3710
|
if (r === void 0)
|
|
3690
3711
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3691
3712
|
return r;
|
|
@@ -3704,7 +3725,7 @@ var li = (
|
|
|
3704
3725
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3705
3726
|
}
|
|
3706
3727
|
}, e.prototype.bumpIf = function(t) {
|
|
3707
|
-
if (
|
|
3728
|
+
if (Tt(this.message, t, this.offset())) {
|
|
3708
3729
|
for (var r = 0; r < t.length; r++)
|
|
3709
3730
|
this.bump();
|
|
3710
3731
|
return !0;
|
|
@@ -3726,7 +3747,7 @@ var li = (
|
|
|
3726
3747
|
break;
|
|
3727
3748
|
}
|
|
3728
3749
|
}, e.prototype.bumpSpace = function() {
|
|
3729
|
-
for (; !this.isEOF() &&
|
|
3750
|
+
for (; !this.isEOF() && cr(this.char()); )
|
|
3730
3751
|
this.bump();
|
|
3731
3752
|
}, e.prototype.peek = function() {
|
|
3732
3753
|
if (this.isEOF())
|
|
@@ -3736,47 +3757,47 @@ var li = (
|
|
|
3736
3757
|
}, e;
|
|
3737
3758
|
}()
|
|
3738
3759
|
);
|
|
3739
|
-
function
|
|
3760
|
+
function qe(e) {
|
|
3740
3761
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3741
3762
|
}
|
|
3742
|
-
function hi(e) {
|
|
3743
|
-
return ze(e) || e === 47;
|
|
3744
|
-
}
|
|
3745
3763
|
function ci(e) {
|
|
3764
|
+
return qe(e) || e === 47;
|
|
3765
|
+
}
|
|
3766
|
+
function fi(e) {
|
|
3746
3767
|
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;
|
|
3747
3768
|
}
|
|
3748
|
-
function
|
|
3769
|
+
function cr(e) {
|
|
3749
3770
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3750
3771
|
}
|
|
3751
|
-
function
|
|
3772
|
+
function di(e) {
|
|
3752
3773
|
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;
|
|
3753
3774
|
}
|
|
3754
|
-
function
|
|
3775
|
+
function Ye(e) {
|
|
3755
3776
|
e.forEach(function(t) {
|
|
3756
|
-
if (delete t.location,
|
|
3777
|
+
if (delete t.location, tr(t) || rr(t))
|
|
3757
3778
|
for (var r in t.options)
|
|
3758
|
-
delete t.options[r].location,
|
|
3779
|
+
delete t.options[r].location, Ye(t.options[r].value);
|
|
3759
3780
|
else
|
|
3760
|
-
|
|
3781
|
+
Yt(t) && ir(t.style) || (Kt(t) || er(t)) && ze(t.style) ? delete t.style.location : nr(t) && Ye(t.children);
|
|
3761
3782
|
});
|
|
3762
3783
|
}
|
|
3763
|
-
function
|
|
3764
|
-
t === void 0 && (t = {}), t =
|
|
3765
|
-
var r = new
|
|
3784
|
+
function pi(e, t) {
|
|
3785
|
+
t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3786
|
+
var r = new hi(e, t).parse();
|
|
3766
3787
|
if (r.err) {
|
|
3767
3788
|
var n = SyntaxError(m[r.err.kind]);
|
|
3768
3789
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3769
3790
|
}
|
|
3770
|
-
return t != null && t.captureLocation ||
|
|
3791
|
+
return t != null && t.captureLocation || Ye(r.val), r.val;
|
|
3771
3792
|
}
|
|
3772
|
-
var
|
|
3793
|
+
var J;
|
|
3773
3794
|
(function(e) {
|
|
3774
3795
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3775
|
-
})(
|
|
3776
|
-
var
|
|
3796
|
+
})(J || (J = {}));
|
|
3797
|
+
var Te = (
|
|
3777
3798
|
/** @class */
|
|
3778
3799
|
function(e) {
|
|
3779
|
-
|
|
3800
|
+
we(t, e);
|
|
3780
3801
|
function t(r, n, i) {
|
|
3781
3802
|
var o = e.call(this, r) || this;
|
|
3782
3803
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3785,48 +3806,48 @@ var Se = (
|
|
|
3785
3806
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3786
3807
|
}, t;
|
|
3787
3808
|
}(Error)
|
|
3788
|
-
),
|
|
3809
|
+
), At = (
|
|
3789
3810
|
/** @class */
|
|
3790
3811
|
function(e) {
|
|
3791
|
-
|
|
3812
|
+
we(t, e);
|
|
3792
3813
|
function t(r, n, i, o) {
|
|
3793
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3814
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3794
3815
|
}
|
|
3795
3816
|
return t;
|
|
3796
|
-
}(
|
|
3797
|
-
),
|
|
3817
|
+
}(Te)
|
|
3818
|
+
), mi = (
|
|
3798
3819
|
/** @class */
|
|
3799
3820
|
function(e) {
|
|
3800
|
-
|
|
3821
|
+
we(t, e);
|
|
3801
3822
|
function t(r, n, i) {
|
|
3802
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3823
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3803
3824
|
}
|
|
3804
3825
|
return t;
|
|
3805
|
-
}(
|
|
3806
|
-
),
|
|
3826
|
+
}(Te)
|
|
3827
|
+
), bi = (
|
|
3807
3828
|
/** @class */
|
|
3808
3829
|
function(e) {
|
|
3809
|
-
|
|
3830
|
+
we(t, e);
|
|
3810
3831
|
function t(r, n) {
|
|
3811
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3832
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3812
3833
|
}
|
|
3813
3834
|
return t;
|
|
3814
|
-
}(
|
|
3835
|
+
}(Te)
|
|
3815
3836
|
), S;
|
|
3816
3837
|
(function(e) {
|
|
3817
3838
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3818
3839
|
})(S || (S = {}));
|
|
3819
|
-
function
|
|
3840
|
+
function yi(e) {
|
|
3820
3841
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3821
3842
|
var n = t[t.length - 1];
|
|
3822
3843
|
return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
|
|
3823
3844
|
}, []);
|
|
3824
3845
|
}
|
|
3825
|
-
function
|
|
3846
|
+
function gi(e) {
|
|
3826
3847
|
return typeof e == "function";
|
|
3827
3848
|
}
|
|
3828
3849
|
function be(e, t, r, n, i, o, a) {
|
|
3829
|
-
if (e.length === 1 &&
|
|
3850
|
+
if (e.length === 1 && Et(e[0]))
|
|
3830
3851
|
return [
|
|
3831
3852
|
{
|
|
3832
3853
|
type: S.literal,
|
|
@@ -3835,14 +3856,14 @@ function be(e, t, r, n, i, o, a) {
|
|
|
3835
3856
|
];
|
|
3836
3857
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3837
3858
|
var h = u[l];
|
|
3838
|
-
if (
|
|
3859
|
+
if (Et(h)) {
|
|
3839
3860
|
s.push({
|
|
3840
3861
|
type: S.literal,
|
|
3841
3862
|
value: h.value
|
|
3842
3863
|
});
|
|
3843
3864
|
continue;
|
|
3844
3865
|
}
|
|
3845
|
-
if (
|
|
3866
|
+
if (Gn(h)) {
|
|
3846
3867
|
typeof o == "number" && s.push({
|
|
3847
3868
|
type: S.literal,
|
|
3848
3869
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3851,89 +3872,89 @@ function be(e, t, r, n, i, o, a) {
|
|
|
3851
3872
|
}
|
|
3852
3873
|
var f = h.value;
|
|
3853
3874
|
if (!(i && f in i))
|
|
3854
|
-
throw new
|
|
3875
|
+
throw new bi(f, a);
|
|
3855
3876
|
var c = i[f];
|
|
3856
|
-
if (
|
|
3877
|
+
if (Un(h)) {
|
|
3857
3878
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3858
3879
|
type: typeof c == "string" ? S.literal : S.object,
|
|
3859
3880
|
value: c
|
|
3860
3881
|
});
|
|
3861
3882
|
continue;
|
|
3862
3883
|
}
|
|
3863
|
-
if (
|
|
3864
|
-
var y = typeof h.style == "string" ? n.date[h.style] :
|
|
3884
|
+
if (Kt(h)) {
|
|
3885
|
+
var y = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
|
|
3865
3886
|
s.push({
|
|
3866
3887
|
type: S.literal,
|
|
3867
3888
|
value: r.getDateTimeFormat(t, y).format(c)
|
|
3868
3889
|
});
|
|
3869
3890
|
continue;
|
|
3870
3891
|
}
|
|
3871
|
-
if (
|
|
3872
|
-
var y = typeof h.style == "string" ? n.time[h.style] :
|
|
3892
|
+
if (er(h)) {
|
|
3893
|
+
var y = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3873
3894
|
s.push({
|
|
3874
3895
|
type: S.literal,
|
|
3875
3896
|
value: r.getDateTimeFormat(t, y).format(c)
|
|
3876
3897
|
});
|
|
3877
3898
|
continue;
|
|
3878
3899
|
}
|
|
3879
|
-
if (
|
|
3880
|
-
var y = typeof h.style == "string" ? n.number[h.style] :
|
|
3900
|
+
if (Yt(h)) {
|
|
3901
|
+
var y = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
|
|
3881
3902
|
y && y.scale && (c = c * (y.scale || 1)), s.push({
|
|
3882
3903
|
type: S.literal,
|
|
3883
3904
|
value: r.getNumberFormat(t, y).format(c)
|
|
3884
3905
|
});
|
|
3885
3906
|
continue;
|
|
3886
3907
|
}
|
|
3887
|
-
if (
|
|
3888
|
-
var
|
|
3889
|
-
if (!
|
|
3890
|
-
throw new
|
|
3891
|
-
var M = be(
|
|
3892
|
-
return
|
|
3908
|
+
if (nr(h)) {
|
|
3909
|
+
var v = h.children, g = h.value, H = i[g];
|
|
3910
|
+
if (!gi(H))
|
|
3911
|
+
throw new mi(g, "function", a);
|
|
3912
|
+
var M = be(v, t, r, n, i, o), I = H(M.map(function(C) {
|
|
3913
|
+
return C.value;
|
|
3893
3914
|
}));
|
|
3894
|
-
Array.isArray(
|
|
3915
|
+
Array.isArray(I) || (I = [I]), s.push.apply(s, I.map(function(C) {
|
|
3895
3916
|
return {
|
|
3896
|
-
type: typeof
|
|
3897
|
-
value:
|
|
3917
|
+
type: typeof C == "string" ? S.literal : S.object,
|
|
3918
|
+
value: C
|
|
3898
3919
|
};
|
|
3899
3920
|
}));
|
|
3900
3921
|
}
|
|
3901
|
-
if (
|
|
3902
|
-
var
|
|
3903
|
-
if (!
|
|
3904
|
-
throw new
|
|
3905
|
-
s.push.apply(s, be(
|
|
3922
|
+
if (tr(h)) {
|
|
3923
|
+
var w = h.options[c] || h.options.other;
|
|
3924
|
+
if (!w)
|
|
3925
|
+
throw new At(h.value, c, Object.keys(h.options), a);
|
|
3926
|
+
s.push.apply(s, be(w.value, t, r, n, i));
|
|
3906
3927
|
continue;
|
|
3907
3928
|
}
|
|
3908
|
-
if (
|
|
3909
|
-
var
|
|
3910
|
-
if (!
|
|
3929
|
+
if (rr(h)) {
|
|
3930
|
+
var w = h.options["=".concat(c)];
|
|
3931
|
+
if (!w) {
|
|
3911
3932
|
if (!Intl.PluralRules)
|
|
3912
|
-
throw new
|
|
3933
|
+
throw new Te(`Intl.PluralRules is not available in this environment.
|
|
3913
3934
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3914
|
-
`,
|
|
3935
|
+
`, J.MISSING_INTL_API, a);
|
|
3915
3936
|
var G = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3916
|
-
|
|
3937
|
+
w = h.options[G] || h.options.other;
|
|
3917
3938
|
}
|
|
3918
|
-
if (!
|
|
3919
|
-
throw new
|
|
3920
|
-
s.push.apply(s, be(
|
|
3939
|
+
if (!w)
|
|
3940
|
+
throw new At(h.value, c, Object.keys(h.options), a);
|
|
3941
|
+
s.push.apply(s, be(w.value, t, r, n, i, c - (h.offset || 0)));
|
|
3921
3942
|
continue;
|
|
3922
3943
|
}
|
|
3923
3944
|
}
|
|
3924
|
-
return
|
|
3945
|
+
return yi(s);
|
|
3925
3946
|
}
|
|
3926
|
-
function
|
|
3927
|
-
return t ?
|
|
3928
|
-
return r[n] =
|
|
3947
|
+
function vi(e, t) {
|
|
3948
|
+
return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3949
|
+
return r[n] = P(P({}, e[n]), t[n] || {}), r;
|
|
3929
3950
|
}, {})) : e;
|
|
3930
3951
|
}
|
|
3931
|
-
function
|
|
3952
|
+
function _i(e, t) {
|
|
3932
3953
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3933
|
-
return r[n] =
|
|
3934
|
-
},
|
|
3954
|
+
return r[n] = vi(e[n], t[n]), r;
|
|
3955
|
+
}, P({}, e)) : e;
|
|
3935
3956
|
}
|
|
3936
|
-
function
|
|
3957
|
+
function Me(e) {
|
|
3937
3958
|
return {
|
|
3938
3959
|
create: function() {
|
|
3939
3960
|
return {
|
|
@@ -3947,39 +3968,39 @@ function Le(e) {
|
|
|
3947
3968
|
}
|
|
3948
3969
|
};
|
|
3949
3970
|
}
|
|
3950
|
-
function
|
|
3971
|
+
function Ei(e) {
|
|
3951
3972
|
return e === void 0 && (e = {
|
|
3952
3973
|
number: {},
|
|
3953
3974
|
dateTime: {},
|
|
3954
3975
|
pluralRules: {}
|
|
3955
3976
|
}), {
|
|
3956
|
-
getNumberFormat:
|
|
3977
|
+
getNumberFormat: Ce(function() {
|
|
3957
3978
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3958
3979
|
r[n] = arguments[n];
|
|
3959
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3980
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3960
3981
|
}, {
|
|
3961
|
-
cache:
|
|
3962
|
-
strategy:
|
|
3982
|
+
cache: Me(e.number),
|
|
3983
|
+
strategy: Le.variadic
|
|
3963
3984
|
}),
|
|
3964
|
-
getDateTimeFormat:
|
|
3985
|
+
getDateTimeFormat: Ce(function() {
|
|
3965
3986
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3966
3987
|
r[n] = arguments[n];
|
|
3967
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3988
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3968
3989
|
}, {
|
|
3969
|
-
cache:
|
|
3970
|
-
strategy:
|
|
3990
|
+
cache: Me(e.dateTime),
|
|
3991
|
+
strategy: Le.variadic
|
|
3971
3992
|
}),
|
|
3972
|
-
getPluralRules:
|
|
3993
|
+
getPluralRules: Ce(function() {
|
|
3973
3994
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3974
3995
|
r[n] = arguments[n];
|
|
3975
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3996
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
|
|
3976
3997
|
}, {
|
|
3977
|
-
cache:
|
|
3978
|
-
strategy:
|
|
3998
|
+
cache: Me(e.pluralRules),
|
|
3999
|
+
strategy: Le.variadic
|
|
3979
4000
|
})
|
|
3980
4001
|
};
|
|
3981
4002
|
}
|
|
3982
|
-
var
|
|
4003
|
+
var xi = (
|
|
3983
4004
|
/** @class */
|
|
3984
4005
|
function() {
|
|
3985
4006
|
function e(t, r, n, i) {
|
|
@@ -4011,13 +4032,13 @@ var Ei = (
|
|
|
4011
4032
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4012
4033
|
var a = i || {};
|
|
4013
4034
|
a.formatters;
|
|
4014
|
-
var s =
|
|
4015
|
-
this.ast = e.__parse(t,
|
|
4035
|
+
var s = In(a, ["formatters"]);
|
|
4036
|
+
this.ast = e.__parse(t, P(P({}, s), { locale: this.resolvedLocale }));
|
|
4016
4037
|
} else
|
|
4017
4038
|
this.ast = t;
|
|
4018
4039
|
if (!Array.isArray(this.ast))
|
|
4019
4040
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4020
|
-
this.formats =
|
|
4041
|
+
this.formats = _i(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
|
|
4021
4042
|
}
|
|
4022
4043
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4023
4044
|
get: function() {
|
|
@@ -4030,7 +4051,7 @@ var Ei = (
|
|
|
4030
4051
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4031
4052
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4032
4053
|
}
|
|
4033
|
-
}, e.__parse =
|
|
4054
|
+
}, e.__parse = pi, e.formats = {
|
|
4034
4055
|
number: {
|
|
4035
4056
|
integer: {
|
|
4036
4057
|
maximumFractionDigits: 0
|
|
@@ -4091,7 +4112,7 @@ var Ei = (
|
|
|
4091
4112
|
}, e;
|
|
4092
4113
|
}()
|
|
4093
4114
|
);
|
|
4094
|
-
function
|
|
4115
|
+
function Si(e, t) {
|
|
4095
4116
|
if (t == null)
|
|
4096
4117
|
return;
|
|
4097
4118
|
if (t in e)
|
|
@@ -4112,92 +4133,92 @@ function xi(e, t) {
|
|
|
4112
4133
|
n = void 0;
|
|
4113
4134
|
return n;
|
|
4114
4135
|
}
|
|
4115
|
-
const $ = {},
|
|
4136
|
+
const $ = {}, wi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), fr = (e, t) => {
|
|
4116
4137
|
if (t == null)
|
|
4117
4138
|
return;
|
|
4118
4139
|
if (t in $ && e in $[t])
|
|
4119
4140
|
return $[t][e];
|
|
4120
|
-
const r =
|
|
4141
|
+
const r = He(t);
|
|
4121
4142
|
for (let n = 0; n < r.length; n++) {
|
|
4122
|
-
const i = r[n], o =
|
|
4143
|
+
const i = r[n], o = Hi(i, e);
|
|
4123
4144
|
if (o)
|
|
4124
|
-
return
|
|
4145
|
+
return wi(e, t, o);
|
|
4125
4146
|
}
|
|
4126
4147
|
};
|
|
4127
|
-
let
|
|
4128
|
-
const ue =
|
|
4148
|
+
let nt;
|
|
4149
|
+
const ue = Se({});
|
|
4129
4150
|
function Ti(e) {
|
|
4130
|
-
return
|
|
4151
|
+
return nt[e] || null;
|
|
4131
4152
|
}
|
|
4132
|
-
function
|
|
4133
|
-
return e in
|
|
4153
|
+
function dr(e) {
|
|
4154
|
+
return e in nt;
|
|
4134
4155
|
}
|
|
4135
|
-
function
|
|
4136
|
-
if (!
|
|
4156
|
+
function Hi(e, t) {
|
|
4157
|
+
if (!dr(e))
|
|
4137
4158
|
return null;
|
|
4138
4159
|
const r = Ti(e);
|
|
4139
|
-
return
|
|
4160
|
+
return Si(r, t);
|
|
4140
4161
|
}
|
|
4141
|
-
function
|
|
4162
|
+
function Bi(e) {
|
|
4142
4163
|
if (e == null)
|
|
4143
4164
|
return;
|
|
4144
|
-
const t =
|
|
4165
|
+
const t = He(e);
|
|
4145
4166
|
for (let r = 0; r < t.length; r++) {
|
|
4146
4167
|
const n = t[r];
|
|
4147
|
-
if (
|
|
4168
|
+
if (dr(n))
|
|
4148
4169
|
return n;
|
|
4149
4170
|
}
|
|
4150
4171
|
}
|
|
4151
|
-
function
|
|
4152
|
-
delete $[e], ue.update((r) => (r[e] =
|
|
4172
|
+
function pr(e, ...t) {
|
|
4173
|
+
delete $[e], ue.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
|
|
4153
4174
|
}
|
|
4154
|
-
|
|
4175
|
+
K(
|
|
4155
4176
|
[ue],
|
|
4156
4177
|
([e]) => Object.keys(e)
|
|
4157
4178
|
);
|
|
4158
|
-
ue.subscribe((e) =>
|
|
4179
|
+
ue.subscribe((e) => nt = e);
|
|
4159
4180
|
const ye = {};
|
|
4160
|
-
function
|
|
4181
|
+
function Ai(e, t) {
|
|
4161
4182
|
ye[e].delete(t), ye[e].size === 0 && delete ye[e];
|
|
4162
4183
|
}
|
|
4163
|
-
function
|
|
4184
|
+
function mr(e) {
|
|
4164
4185
|
return ye[e];
|
|
4165
4186
|
}
|
|
4166
|
-
function
|
|
4167
|
-
return
|
|
4168
|
-
const r =
|
|
4187
|
+
function Pi(e) {
|
|
4188
|
+
return He(e).map((t) => {
|
|
4189
|
+
const r = mr(t);
|
|
4169
4190
|
return [t, r ? [...r] : []];
|
|
4170
4191
|
}).filter(([, t]) => t.length > 0);
|
|
4171
4192
|
}
|
|
4172
|
-
function
|
|
4173
|
-
return e == null ? !1 :
|
|
4193
|
+
function Ke(e) {
|
|
4194
|
+
return e == null ? !1 : He(e).some(
|
|
4174
4195
|
(t) => {
|
|
4175
4196
|
var r;
|
|
4176
|
-
return (r =
|
|
4197
|
+
return (r = mr(t)) == null ? void 0 : r.size;
|
|
4177
4198
|
}
|
|
4178
4199
|
);
|
|
4179
4200
|
}
|
|
4180
|
-
function
|
|
4201
|
+
function Oi(e, t) {
|
|
4181
4202
|
return Promise.all(
|
|
4182
|
-
t.map((n) => (
|
|
4183
|
-
).then((n) =>
|
|
4184
|
-
}
|
|
4185
|
-
const
|
|
4186
|
-
function
|
|
4187
|
-
if (!
|
|
4188
|
-
return e in
|
|
4189
|
-
const t =
|
|
4190
|
-
return
|
|
4203
|
+
t.map((n) => (Ai(e, n), n().then((i) => i.default || i)))
|
|
4204
|
+
).then((n) => pr(e, ...n));
|
|
4205
|
+
}
|
|
4206
|
+
const re = {};
|
|
4207
|
+
function br(e) {
|
|
4208
|
+
if (!Ke(e))
|
|
4209
|
+
return e in re ? re[e] : Promise.resolve();
|
|
4210
|
+
const t = Pi(e);
|
|
4211
|
+
return re[e] = Promise.all(
|
|
4191
4212
|
t.map(
|
|
4192
|
-
([r, n]) =>
|
|
4213
|
+
([r, n]) => Oi(r, n)
|
|
4193
4214
|
)
|
|
4194
4215
|
).then(() => {
|
|
4195
|
-
if (
|
|
4196
|
-
return
|
|
4197
|
-
delete
|
|
4198
|
-
}),
|
|
4216
|
+
if (Ke(e))
|
|
4217
|
+
return br(e);
|
|
4218
|
+
delete re[e];
|
|
4219
|
+
}), re[e];
|
|
4199
4220
|
}
|
|
4200
|
-
const
|
|
4221
|
+
const Ii = {
|
|
4201
4222
|
number: {
|
|
4202
4223
|
scientific: { notation: "scientific" },
|
|
4203
4224
|
engineering: { notation: "engineering" },
|
|
@@ -4226,135 +4247,135 @@ const Oi = {
|
|
|
4226
4247
|
timeZoneName: "short"
|
|
4227
4248
|
}
|
|
4228
4249
|
}
|
|
4229
|
-
},
|
|
4250
|
+
}, Ci = {
|
|
4230
4251
|
fallbackLocale: null,
|
|
4231
4252
|
loadingDelay: 200,
|
|
4232
|
-
formats:
|
|
4253
|
+
formats: Ii,
|
|
4233
4254
|
warnOnMissingMessages: !0,
|
|
4234
4255
|
handleMissingMessage: void 0,
|
|
4235
4256
|
ignoreTag: !0
|
|
4236
|
-
},
|
|
4237
|
-
function
|
|
4238
|
-
return
|
|
4257
|
+
}, Li = Ci;
|
|
4258
|
+
function q() {
|
|
4259
|
+
return Li;
|
|
4239
4260
|
}
|
|
4240
|
-
const
|
|
4241
|
-
var
|
|
4261
|
+
const Re = Se(!1);
|
|
4262
|
+
var Ni = Object.defineProperty, Mi = Object.defineProperties, Ri = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, $i = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ui = (e, t) => {
|
|
4242
4263
|
for (var r in t || (t = {}))
|
|
4243
|
-
|
|
4244
|
-
if (
|
|
4245
|
-
for (var r of
|
|
4246
|
-
|
|
4264
|
+
$i.call(t, r) && Ot(e, r, t[r]);
|
|
4265
|
+
if (Pt)
|
|
4266
|
+
for (var r of Pt(t))
|
|
4267
|
+
Di.call(t, r) && Ot(e, r, t[r]);
|
|
4247
4268
|
return e;
|
|
4248
|
-
},
|
|
4249
|
-
let
|
|
4250
|
-
const
|
|
4251
|
-
function
|
|
4269
|
+
}, Gi = (e, t) => Mi(e, Ri(t));
|
|
4270
|
+
let et;
|
|
4271
|
+
const ve = Se(null);
|
|
4272
|
+
function It(e) {
|
|
4252
4273
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4253
4274
|
}
|
|
4254
|
-
function
|
|
4255
|
-
const r =
|
|
4256
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4275
|
+
function He(e, t = q().fallbackLocale) {
|
|
4276
|
+
const r = It(e);
|
|
4277
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
|
|
4257
4278
|
}
|
|
4258
4279
|
function j() {
|
|
4259
|
-
return
|
|
4280
|
+
return et != null ? et : void 0;
|
|
4260
4281
|
}
|
|
4261
|
-
|
|
4262
|
-
|
|
4282
|
+
ve.subscribe((e) => {
|
|
4283
|
+
et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4263
4284
|
});
|
|
4264
|
-
const
|
|
4265
|
-
if (e &&
|
|
4266
|
-
const { loadingDelay: t } =
|
|
4285
|
+
const Fi = (e) => {
|
|
4286
|
+
if (e && Bi(e) && Ke(e)) {
|
|
4287
|
+
const { loadingDelay: t } = q();
|
|
4267
4288
|
let r;
|
|
4268
4289
|
return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
|
|
4269
|
-
() =>
|
|
4290
|
+
() => Re.set(!0),
|
|
4270
4291
|
t
|
|
4271
|
-
) :
|
|
4272
|
-
|
|
4292
|
+
) : Re.set(!0), br(e).then(() => {
|
|
4293
|
+
ve.set(e);
|
|
4273
4294
|
}).finally(() => {
|
|
4274
|
-
clearTimeout(r),
|
|
4295
|
+
clearTimeout(r), Re.set(!1);
|
|
4275
4296
|
});
|
|
4276
4297
|
}
|
|
4277
|
-
return
|
|
4278
|
-
},
|
|
4279
|
-
set:
|
|
4280
|
-
}),
|
|
4298
|
+
return ve.set(e);
|
|
4299
|
+
}, ee = Gi(Ui({}, ve), {
|
|
4300
|
+
set: Fi
|
|
4301
|
+
}), Be = (e) => {
|
|
4281
4302
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4282
4303
|
return (n) => {
|
|
4283
4304
|
const i = JSON.stringify(n);
|
|
4284
4305
|
return i in t ? t[i] : t[i] = e(n);
|
|
4285
4306
|
};
|
|
4286
4307
|
};
|
|
4287
|
-
var
|
|
4308
|
+
var ji = Object.defineProperty, _e = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
|
|
4288
4309
|
for (var r in t || (t = {}))
|
|
4289
|
-
|
|
4290
|
-
if (
|
|
4291
|
-
for (var r of
|
|
4292
|
-
|
|
4310
|
+
yr.call(t, r) && Ct(e, r, t[r]);
|
|
4311
|
+
if (_e)
|
|
4312
|
+
for (var r of _e(t))
|
|
4313
|
+
gr.call(t, r) && Ct(e, r, t[r]);
|
|
4293
4314
|
return e;
|
|
4294
|
-
},
|
|
4315
|
+
}, te = (e, t) => {
|
|
4295
4316
|
var r = {};
|
|
4296
4317
|
for (var n in e)
|
|
4297
|
-
|
|
4298
|
-
if (e != null &&
|
|
4299
|
-
for (var n of
|
|
4300
|
-
t.indexOf(n) < 0 &&
|
|
4318
|
+
yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4319
|
+
if (e != null && _e)
|
|
4320
|
+
for (var n of _e(e))
|
|
4321
|
+
t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
|
|
4301
4322
|
return r;
|
|
4302
4323
|
};
|
|
4303
|
-
const
|
|
4304
|
-
const { formats: r } =
|
|
4324
|
+
const se = (e, t) => {
|
|
4325
|
+
const { formats: r } = q();
|
|
4305
4326
|
if (e in r && t in r[e])
|
|
4306
4327
|
return r[e][t];
|
|
4307
4328
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4308
|
-
},
|
|
4329
|
+
}, ki = Be(
|
|
4309
4330
|
(e) => {
|
|
4310
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4331
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4311
4332
|
if (r == null)
|
|
4312
4333
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4313
|
-
return n && (i =
|
|
4334
|
+
return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
|
|
4314
4335
|
}
|
|
4315
|
-
),
|
|
4336
|
+
), Vi = Be(
|
|
4316
4337
|
(e) => {
|
|
4317
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4338
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4318
4339
|
if (r == null)
|
|
4319
4340
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4320
|
-
return n ? i =
|
|
4341
|
+
return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4321
4342
|
}
|
|
4322
|
-
),
|
|
4343
|
+
), Xi = Be(
|
|
4323
4344
|
(e) => {
|
|
4324
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4345
|
+
var t = e, { locale: r, format: n } = t, i = te(t, ["locale", "format"]);
|
|
4325
4346
|
if (r == null)
|
|
4326
4347
|
throw new Error(
|
|
4327
4348
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4328
4349
|
);
|
|
4329
|
-
return n ? i =
|
|
4350
|
+
return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4330
4351
|
}
|
|
4331
|
-
),
|
|
4352
|
+
), Wi = (e = {}) => {
|
|
4332
4353
|
var t = e, {
|
|
4333
4354
|
locale: r = j()
|
|
4334
|
-
} = t, n =
|
|
4355
|
+
} = t, n = te(t, [
|
|
4335
4356
|
"locale"
|
|
4336
4357
|
]);
|
|
4337
|
-
return
|
|
4338
|
-
},
|
|
4358
|
+
return ki(it({ locale: r }, n));
|
|
4359
|
+
}, zi = (e = {}) => {
|
|
4339
4360
|
var t = e, {
|
|
4340
4361
|
locale: r = j()
|
|
4341
|
-
} = t, n =
|
|
4362
|
+
} = t, n = te(t, [
|
|
4342
4363
|
"locale"
|
|
4343
4364
|
]);
|
|
4344
|
-
return
|
|
4345
|
-
},
|
|
4365
|
+
return Vi(it({ locale: r }, n));
|
|
4366
|
+
}, Zi = (e = {}) => {
|
|
4346
4367
|
var t = e, {
|
|
4347
4368
|
locale: r = j()
|
|
4348
|
-
} = t, n =
|
|
4369
|
+
} = t, n = te(t, [
|
|
4349
4370
|
"locale"
|
|
4350
4371
|
]);
|
|
4351
|
-
return
|
|
4352
|
-
},
|
|
4372
|
+
return Xi(it({ locale: r }, n));
|
|
4373
|
+
}, Qi = Be(
|
|
4353
4374
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4354
|
-
(e, t = j()) => new
|
|
4355
|
-
ignoreTag:
|
|
4375
|
+
(e, t = j()) => new xi(e, t, q().formats, {
|
|
4376
|
+
ignoreTag: q().ignoreTag
|
|
4356
4377
|
})
|
|
4357
|
-
),
|
|
4378
|
+
), Ji = (e, t = {}) => {
|
|
4358
4379
|
var r, n, i, o;
|
|
4359
4380
|
let a = t;
|
|
4360
4381
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4367,9 +4388,9 @@ const ae = (e, t) => {
|
|
|
4367
4388
|
throw new Error(
|
|
4368
4389
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4369
4390
|
);
|
|
4370
|
-
let h =
|
|
4391
|
+
let h = fr(e, l);
|
|
4371
4392
|
if (!h)
|
|
4372
|
-
h = (o = (i = (n = (r =
|
|
4393
|
+
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;
|
|
4373
4394
|
else if (typeof h != "string")
|
|
4374
4395
|
return console.warn(
|
|
4375
4396
|
`[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.`
|
|
@@ -4378,7 +4399,7 @@ const ae = (e, t) => {
|
|
|
4378
4399
|
return h;
|
|
4379
4400
|
let f = h;
|
|
4380
4401
|
try {
|
|
4381
|
-
f =
|
|
4402
|
+
f = Qi(h, l).format(s);
|
|
4382
4403
|
} catch (c) {
|
|
4383
4404
|
c instanceof Error && console.warn(
|
|
4384
4405
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4386,20 +4407,20 @@ const ae = (e, t) => {
|
|
|
4386
4407
|
);
|
|
4387
4408
|
}
|
|
4388
4409
|
return f;
|
|
4389
|
-
},
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
window.emWidgets = { topic:
|
|
4395
|
-
const
|
|
4396
|
-
function
|
|
4410
|
+
}, qi = (e, t) => Zi(t).format(e), Yi = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), eo = (e, t = j()) => fr(e, t), to = K([ee, ue], () => Ji);
|
|
4411
|
+
K([ee], () => qi);
|
|
4412
|
+
K([ee], () => Yi);
|
|
4413
|
+
K([ee], () => Ki);
|
|
4414
|
+
K([ee, ue], () => eo);
|
|
4415
|
+
window.emWidgets = { topic: dn };
|
|
4416
|
+
const ro = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), no = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4417
|
+
function io(e, t) {
|
|
4397
4418
|
if (e) {
|
|
4398
4419
|
const r = document.createElement("style");
|
|
4399
4420
|
r.innerHTML = t, e.appendChild(r);
|
|
4400
4421
|
}
|
|
4401
4422
|
}
|
|
4402
|
-
function
|
|
4423
|
+
function oo(e, t) {
|
|
4403
4424
|
const r = new URL(t);
|
|
4404
4425
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4405
4426
|
const i = document.createElement("style");
|
|
@@ -4408,7 +4429,7 @@ function io(e, t) {
|
|
|
4408
4429
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4409
4430
|
});
|
|
4410
4431
|
}
|
|
4411
|
-
function
|
|
4432
|
+
function so(e, t, r) {
|
|
4412
4433
|
if (window.emMessageBus) {
|
|
4413
4434
|
const n = document.createElement("style");
|
|
4414
4435
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4416,13 +4437,13 @@ function oo(e, t, r) {
|
|
|
4416
4437
|
});
|
|
4417
4438
|
}
|
|
4418
4439
|
}
|
|
4419
|
-
function
|
|
4420
|
-
|
|
4440
|
+
function Lt(e, t) {
|
|
4441
|
+
pr(e, t);
|
|
4421
4442
|
}
|
|
4422
|
-
function
|
|
4423
|
-
|
|
4443
|
+
function ao(e) {
|
|
4444
|
+
ee.set(e);
|
|
4424
4445
|
}
|
|
4425
|
-
const
|
|
4446
|
+
const Nt = {
|
|
4426
4447
|
en: {
|
|
4427
4448
|
error: "500 Error - Internal Server Error"
|
|
4428
4449
|
},
|
|
@@ -4454,7 +4475,7 @@ if (typeof window != "undefined") {
|
|
|
4454
4475
|
}
|
|
4455
4476
|
};
|
|
4456
4477
|
};
|
|
4457
|
-
customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-
|
|
4478
|
+
customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-Cp9jGim1.js").then(({ default: t }) => {
|
|
4458
4479
|
!customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
|
|
4459
4480
|
});
|
|
4460
4481
|
}
|
|
@@ -4470,32 +4491,32 @@ if (typeof window != "undefined") {
|
|
|
4470
4491
|
}
|
|
4471
4492
|
};
|
|
4472
4493
|
};
|
|
4473
|
-
customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-
|
|
4494
|
+
customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DwBAzv4M.js").then(({ default: t }) => {
|
|
4474
4495
|
!customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
|
|
4475
4496
|
});
|
|
4476
4497
|
}
|
|
4477
|
-
function
|
|
4498
|
+
function uo(e) {
|
|
4478
4499
|
Or(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
|
|
4479
4500
|
}.LoadingSpinner.svelte-61avp5:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-61avp5-LoadingSpinner 1.2s linear infinite}@keyframes svelte-61avp5-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
|
|
4480
4501
|
}
|
|
4481
|
-
function
|
|
4502
|
+
function Mt(e, t, r) {
|
|
4482
4503
|
const n = e.slice();
|
|
4483
4504
|
return n[26] = t[r], n[28] = r, n;
|
|
4484
4505
|
}
|
|
4485
|
-
function
|
|
4486
|
-
let t, r, n, i =
|
|
4506
|
+
function lo(e) {
|
|
4507
|
+
let t, r, n, i = ft(
|
|
4487
4508
|
/*calendarCollections*/
|
|
4488
4509
|
e[6]
|
|
4489
4510
|
), o = [];
|
|
4490
4511
|
for (let s = 0; s < i.length; s += 1)
|
|
4491
|
-
o[s] =
|
|
4512
|
+
o[s] = Rt(Mt(e, i, s));
|
|
4492
4513
|
let a = (
|
|
4493
4514
|
/*calendarModalOpened*/
|
|
4494
|
-
e[11] == !0 &&
|
|
4515
|
+
e[11] == !0 && $t(e)
|
|
4495
4516
|
);
|
|
4496
4517
|
return {
|
|
4497
4518
|
c() {
|
|
4498
|
-
t =
|
|
4519
|
+
t = O("div");
|
|
4499
4520
|
for (let s = 0; s < o.length; s += 1)
|
|
4500
4521
|
o[s].c();
|
|
4501
4522
|
r = Mr(), a && a.c(), D(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
|
|
@@ -4505,60 +4526,60 @@ function uo(e) {
|
|
|
4505
4526
|
U(s, t, l);
|
|
4506
4527
|
for (let u = 0; u < o.length; u += 1)
|
|
4507
4528
|
o[u] && o[u].m(t, null);
|
|
4508
|
-
|
|
4529
|
+
Ee(t, r), a && a.m(t, null);
|
|
4509
4530
|
},
|
|
4510
4531
|
p(s, l) {
|
|
4511
4532
|
if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
|
|
4512
4533
|
95) {
|
|
4513
|
-
i =
|
|
4534
|
+
i = ft(
|
|
4514
4535
|
/*calendarCollections*/
|
|
4515
4536
|
s[6]
|
|
4516
4537
|
);
|
|
4517
4538
|
let u;
|
|
4518
4539
|
for (u = 0; u < i.length; u += 1) {
|
|
4519
|
-
const h =
|
|
4520
|
-
o[u] ? o[u].p(h, l) : (o[u] =
|
|
4540
|
+
const h = Mt(s, i, u);
|
|
4541
|
+
o[u] ? o[u].p(h, l) : (o[u] = Rt(h), o[u].c(), o[u].m(t, r));
|
|
4521
4542
|
}
|
|
4522
4543
|
for (; u < o.length; u += 1)
|
|
4523
4544
|
o[u].d(1);
|
|
4524
4545
|
o.length = i.length;
|
|
4525
4546
|
}
|
|
4526
4547
|
/*calendarModalOpened*/
|
|
4527
|
-
s[11] == !0 ? a ? a.p(s, l) : (a =
|
|
4548
|
+
s[11] == !0 ? a ? a.p(s, l) : (a = $t(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
|
|
4528
4549
|
1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
|
|
4529
4550
|
(s[10] ? "Mobile" : "") + " svelte-61avp5") && D(t, "class", n);
|
|
4530
4551
|
},
|
|
4531
4552
|
d(s) {
|
|
4532
|
-
s &&
|
|
4553
|
+
s && N(t), Lr(o, s), a && a.d();
|
|
4533
4554
|
}
|
|
4534
4555
|
};
|
|
4535
4556
|
}
|
|
4536
|
-
function
|
|
4557
|
+
function ho(e) {
|
|
4537
4558
|
let t;
|
|
4538
4559
|
return {
|
|
4539
4560
|
c() {
|
|
4540
|
-
t =
|
|
4561
|
+
t = O("div"), D(t, "class", "LoadingSpinner svelte-61avp5");
|
|
4541
4562
|
},
|
|
4542
4563
|
m(r, n) {
|
|
4543
4564
|
U(r, t, n);
|
|
4544
4565
|
},
|
|
4545
4566
|
p: B,
|
|
4546
4567
|
d(r) {
|
|
4547
|
-
r &&
|
|
4568
|
+
r && N(t);
|
|
4548
4569
|
}
|
|
4549
4570
|
};
|
|
4550
4571
|
}
|
|
4551
|
-
function
|
|
4572
|
+
function co(e) {
|
|
4552
4573
|
let t, r = (
|
|
4553
4574
|
/*$_*/
|
|
4554
4575
|
e[12]("error") + ""
|
|
4555
4576
|
), n;
|
|
4556
4577
|
return {
|
|
4557
4578
|
c() {
|
|
4558
|
-
t =
|
|
4579
|
+
t = O("p"), n = rt(r), D(t, "class", "SearchLoading svelte-61avp5");
|
|
4559
4580
|
},
|
|
4560
4581
|
m(i, o) {
|
|
4561
|
-
U(i, t, o),
|
|
4582
|
+
U(i, t, o), Ee(t, n);
|
|
4562
4583
|
},
|
|
4563
4584
|
p(i, o) {
|
|
4564
4585
|
o & /*$_*/
|
|
@@ -4566,15 +4587,15 @@ function ho(e) {
|
|
|
4566
4587
|
i[12]("error") + "") && $r(n, r);
|
|
4567
4588
|
},
|
|
4568
4589
|
d(i) {
|
|
4569
|
-
i &&
|
|
4590
|
+
i && N(t);
|
|
4570
4591
|
}
|
|
4571
4592
|
};
|
|
4572
4593
|
}
|
|
4573
|
-
function
|
|
4594
|
+
function Rt(e) {
|
|
4574
4595
|
let t, r, n, i, o, a;
|
|
4575
4596
|
return {
|
|
4576
4597
|
c() {
|
|
4577
|
-
t =
|
|
4598
|
+
t = O("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
|
|
4578
4599
|
e[26].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
|
|
4579
4600
|
e[26].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
|
|
4580
4601
|
e[26].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
|
|
@@ -4658,15 +4679,15 @@ function Nt(e) {
|
|
|
4658
4679
|
);
|
|
4659
4680
|
},
|
|
4660
4681
|
d(s) {
|
|
4661
|
-
s &&
|
|
4682
|
+
s && N(t);
|
|
4662
4683
|
}
|
|
4663
4684
|
};
|
|
4664
4685
|
}
|
|
4665
|
-
function
|
|
4686
|
+
function $t(e) {
|
|
4666
4687
|
let t, r, n, i, o, a, s, l;
|
|
4667
4688
|
return {
|
|
4668
4689
|
c() {
|
|
4669
|
-
t =
|
|
4690
|
+
t = O("div"), r = O("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
|
|
4670
4691
|
e[6][
|
|
4671
4692
|
/*selectedIndex*/
|
|
4672
4693
|
e[7]
|
|
@@ -4718,7 +4739,7 @@ function Mt(e) {
|
|
|
4718
4739
|
), d(r, "class", "svelte-61avp5"), D(t, "class", "CalendarDetailsWrapper svelte-61avp5");
|
|
4719
4740
|
},
|
|
4720
4741
|
m(u, h) {
|
|
4721
|
-
U(u, t, h),
|
|
4742
|
+
U(u, t, h), Ee(t, r);
|
|
4722
4743
|
},
|
|
4723
4744
|
p(u, h) {
|
|
4724
4745
|
h & /*calendarCollections, selectedIndex*/
|
|
@@ -4784,11 +4805,11 @@ function Mt(e) {
|
|
|
4784
4805
|
);
|
|
4785
4806
|
},
|
|
4786
4807
|
d(u) {
|
|
4787
|
-
u &&
|
|
4808
|
+
u && N(t);
|
|
4788
4809
|
}
|
|
4789
4810
|
};
|
|
4790
4811
|
}
|
|
4791
|
-
function
|
|
4812
|
+
function fo(e) {
|
|
4792
4813
|
let t;
|
|
4793
4814
|
function r(o, a) {
|
|
4794
4815
|
var s;
|
|
@@ -4796,22 +4817,22 @@ function co(e) {
|
|
|
4796
4817
|
/*hasErrors*/
|
|
4797
4818
|
o[9]
|
|
4798
4819
|
)
|
|
4799
|
-
return
|
|
4820
|
+
return co;
|
|
4800
4821
|
if (
|
|
4801
4822
|
/*isLoading*/
|
|
4802
4823
|
o[8]
|
|
4803
4824
|
)
|
|
4804
|
-
return
|
|
4825
|
+
return ho;
|
|
4805
4826
|
if (
|
|
4806
4827
|
/*calendarCollections*/
|
|
4807
4828
|
(s = o[6]) != null && s.length
|
|
4808
4829
|
)
|
|
4809
|
-
return
|
|
4830
|
+
return lo;
|
|
4810
4831
|
}
|
|
4811
4832
|
let n = r(e), i = n && n(e);
|
|
4812
4833
|
return {
|
|
4813
4834
|
c() {
|
|
4814
|
-
t =
|
|
4835
|
+
t = O("div"), i && i.c(), D(t, "class", "svelte-61avp5");
|
|
4815
4836
|
},
|
|
4816
4837
|
m(o, a) {
|
|
4817
4838
|
U(o, t, a), i && i.m(t, null), e[16](t);
|
|
@@ -4822,66 +4843,66 @@ function co(e) {
|
|
|
4822
4843
|
i: B,
|
|
4823
4844
|
o: B,
|
|
4824
4845
|
d(o) {
|
|
4825
|
-
o &&
|
|
4846
|
+
o && N(t), i && i.d(), e[16](null);
|
|
4826
4847
|
}
|
|
4827
4848
|
};
|
|
4828
4849
|
}
|
|
4829
|
-
function
|
|
4850
|
+
function po(e, t, r) {
|
|
4830
4851
|
let n;
|
|
4831
|
-
Pr(e,
|
|
4832
|
-
let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, y,
|
|
4833
|
-
const
|
|
4834
|
-
|
|
4852
|
+
Pr(e, to, (p) => r(12, n = p));
|
|
4853
|
+
let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, y, v = 0, g = !0, H = !1, M = !1, I = window.navigator.userAgent, w = !1;
|
|
4854
|
+
const G = () => {
|
|
4855
|
+
ao(s);
|
|
4835
4856
|
};
|
|
4836
|
-
Object.keys(
|
|
4837
|
-
|
|
4857
|
+
Object.keys(Nt).forEach((p) => {
|
|
4858
|
+
Lt(p, Nt[p]);
|
|
4838
4859
|
});
|
|
4839
|
-
const
|
|
4860
|
+
const C = () => {
|
|
4840
4861
|
let p = h;
|
|
4841
4862
|
if (p)
|
|
4842
|
-
return fetch(p).then((
|
|
4843
|
-
Object.keys(
|
|
4844
|
-
|
|
4863
|
+
return fetch(p).then((T) => T.json()).then((T) => {
|
|
4864
|
+
Object.keys(T).forEach((R) => {
|
|
4865
|
+
Lt(R, T[R]);
|
|
4845
4866
|
});
|
|
4846
|
-
}).catch((
|
|
4847
|
-
console.log(
|
|
4867
|
+
}).catch((T) => {
|
|
4868
|
+
console.log(T);
|
|
4848
4869
|
});
|
|
4849
|
-
},
|
|
4850
|
-
r(8,
|
|
4870
|
+
}, k = () => {
|
|
4871
|
+
r(8, g = !0);
|
|
4851
4872
|
let p = new URL(`${i}/${s}/daily-calendar`);
|
|
4852
4873
|
p.searchParams.append("userRoles", a), p.searchParams.append("env", o);
|
|
4853
|
-
let
|
|
4854
|
-
|
|
4874
|
+
let T = no(I);
|
|
4875
|
+
T && (T === "PC" ? p.searchParams.append("device", "dk") : T === "iPad" || T === "iPhone" ? p.searchParams.append("device", "ios") : p.searchParams.append("device", "mtWeb")), fetch(p.href).then((R) => R.json()).then((R) => {
|
|
4855
4876
|
r(6, y = R);
|
|
4856
4877
|
}).catch((R) => {
|
|
4857
4878
|
console.log(R), r(9, H = !0);
|
|
4858
4879
|
}).finally(() => {
|
|
4859
|
-
|
|
4880
|
+
le(), r(8, g = !1);
|
|
4860
4881
|
});
|
|
4861
|
-
},
|
|
4882
|
+
}, le = () => {
|
|
4862
4883
|
const p = c.getRootNode().host;
|
|
4863
4884
|
p.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: p } }));
|
|
4864
4885
|
}, _r = () => {
|
|
4865
|
-
|
|
4866
|
-
},
|
|
4867
|
-
var
|
|
4868
|
-
p.data && p.data.type == "OpenCalendar" && (r(7,
|
|
4886
|
+
k();
|
|
4887
|
+
}, ot = (p) => {
|
|
4888
|
+
var T;
|
|
4889
|
+
p.data && p.data.type == "OpenCalendar" && (r(7, v = p.data.index), r(11, w = !0), window.postMessage(
|
|
4869
4890
|
{
|
|
4870
4891
|
type: "ShowModal",
|
|
4871
|
-
selectedIndex:
|
|
4892
|
+
selectedIndex: v,
|
|
4872
4893
|
identifier: "Calendar"
|
|
4873
4894
|
},
|
|
4874
4895
|
window.location.href
|
|
4875
4896
|
), window.postMessage({
|
|
4876
4897
|
type: "DailyEventsData",
|
|
4877
|
-
data: (
|
|
4878
|
-
})), p.data && p.data.type == "ModalClosed" && r(11,
|
|
4898
|
+
data: (T = y[v]) == null ? void 0 : T.dailyEvents
|
|
4899
|
+
})), p.data && p.data.type == "ModalClosed" && r(11, w = !1);
|
|
4879
4900
|
};
|
|
4880
|
-
Gr(() => (window.addEventListener("message",
|
|
4881
|
-
window.
|
|
4901
|
+
Gr(() => (window.addEventListener("message", ot, !1), ro(I) && r(10, M = !0), () => {
|
|
4902
|
+
window.removeEventListener("message", ot);
|
|
4882
4903
|
}));
|
|
4883
4904
|
function Er(p) {
|
|
4884
|
-
|
|
4905
|
+
$e[p ? "unshift" : "push"](() => {
|
|
4885
4906
|
c = p, r(5, c);
|
|
4886
4907
|
});
|
|
4887
4908
|
}
|
|
@@ -4890,11 +4911,11 @@ function fo(e, t, r) {
|
|
|
4890
4911
|
}, e.$$.update = () => {
|
|
4891
4912
|
e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
|
|
4892
4913
|
57345 && i && s && o && a && _r(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4893
|
-
34 && l && c &&
|
|
4894
|
-
36 && u && c &&
|
|
4895
|
-
48 && c &&
|
|
4896
|
-
1 && s &&
|
|
4897
|
-
9 && s && h &&
|
|
4914
|
+
34 && l && c && io(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4915
|
+
36 && u && c && oo(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4916
|
+
48 && c && so(c, `${f}.Style`), e.$$.dirty & /*lang*/
|
|
4917
|
+
1 && s && G(), e.$$.dirty & /*lang, translationurl*/
|
|
4918
|
+
9 && s && h && C();
|
|
4898
4919
|
}, [
|
|
4899
4920
|
s,
|
|
4900
4921
|
l,
|
|
@@ -4903,11 +4924,11 @@ function fo(e, t, r) {
|
|
|
4903
4924
|
f,
|
|
4904
4925
|
c,
|
|
4905
4926
|
y,
|
|
4906
|
-
_,
|
|
4907
4927
|
v,
|
|
4928
|
+
g,
|
|
4908
4929
|
H,
|
|
4909
4930
|
M,
|
|
4910
|
-
|
|
4931
|
+
w,
|
|
4911
4932
|
n,
|
|
4912
4933
|
i,
|
|
4913
4934
|
o,
|
|
@@ -4915,14 +4936,14 @@ function fo(e, t, r) {
|
|
|
4915
4936
|
Er
|
|
4916
4937
|
];
|
|
4917
4938
|
}
|
|
4918
|
-
class
|
|
4939
|
+
class vr extends qr {
|
|
4919
4940
|
constructor(t) {
|
|
4920
4941
|
super(), Qr(
|
|
4921
4942
|
this,
|
|
4922
4943
|
t,
|
|
4944
|
+
po,
|
|
4923
4945
|
fo,
|
|
4924
|
-
|
|
4925
|
-
$t,
|
|
4946
|
+
Ut,
|
|
4926
4947
|
{
|
|
4927
4948
|
cmsendpoint: 13,
|
|
4928
4949
|
env: 14,
|
|
@@ -4933,7 +4954,7 @@ class gr extends qr {
|
|
|
4933
4954
|
translationurl: 3,
|
|
4934
4955
|
mbsource: 4
|
|
4935
4956
|
},
|
|
4936
|
-
|
|
4957
|
+
uo
|
|
4937
4958
|
);
|
|
4938
4959
|
}
|
|
4939
4960
|
get cmsendpoint() {
|
|
@@ -4985,53 +5006,53 @@ class gr extends qr {
|
|
|
4985
5006
|
this.$$set({ mbsource: t }), A();
|
|
4986
5007
|
}
|
|
4987
5008
|
}
|
|
4988
|
-
Jr(
|
|
4989
|
-
const
|
|
5009
|
+
Jr(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
5010
|
+
const Ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4990
5011
|
__proto__: null,
|
|
4991
|
-
default:
|
|
5012
|
+
default: vr
|
|
4992
5013
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4993
5014
|
export {
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5015
|
+
ee as $,
|
|
5016
|
+
$e as A,
|
|
5017
|
+
bo as B,
|
|
5018
|
+
d as C,
|
|
5019
|
+
Nr as D,
|
|
5020
|
+
Eo as E,
|
|
5021
|
+
So as F,
|
|
5022
|
+
To as G,
|
|
5023
|
+
wo as H,
|
|
5024
|
+
ro as I,
|
|
5025
|
+
io as J,
|
|
5026
|
+
oo as K,
|
|
5027
|
+
so as L,
|
|
5028
|
+
Jr as M,
|
|
5029
|
+
to as N,
|
|
5030
|
+
Ao as O,
|
|
5010
5031
|
qr as S,
|
|
5011
|
-
|
|
5032
|
+
pr as a,
|
|
5012
5033
|
Or as b,
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5034
|
+
Xr as c,
|
|
5035
|
+
N as d,
|
|
5036
|
+
Ho as e,
|
|
5016
5037
|
A as f,
|
|
5017
|
-
|
|
5018
|
-
|
|
5038
|
+
U as g,
|
|
5039
|
+
O as h,
|
|
5019
5040
|
Qr as i,
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5041
|
+
Pr as j,
|
|
5042
|
+
$r as k,
|
|
5043
|
+
Ee as l,
|
|
5044
|
+
rt as m,
|
|
5045
|
+
B as n,
|
|
5025
5046
|
Gr as o,
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5047
|
+
D as p,
|
|
5048
|
+
yo as q,
|
|
5049
|
+
ft as r,
|
|
5050
|
+
Ut as s,
|
|
5051
|
+
Bo as t,
|
|
5052
|
+
Lr as u,
|
|
5053
|
+
vo as v,
|
|
5054
|
+
_o as w,
|
|
5055
|
+
go as x,
|
|
5056
|
+
xo as y,
|
|
5057
|
+
Mr as z
|
|
5037
5058
|
};
|