@everymatrix/casino-betslip-indicator 1.55.0 → 1.56.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/{CasinoBetslipIndicator-emfmxups.cjs → CasinoBetslipIndicator-C5fgTNOy.cjs} +17 -4
- package/components/{CasinoBetslipIndicator-Df3ZgxwD.js → CasinoBetslipIndicator-Cbr684dS.js} +501 -440
- package/components/{CasinoBetslipIndicator-C4ktCL-e.js → CasinoBetslipIndicator-CxgKuX53.js} +617 -556
- package/es2015/casino-betslip-indicator.cjs +1 -1
- package/es2015/casino-betslip-indicator.js +1 -1
- package/esnext/casino-betslip-indicator.js +1 -1
- package/package.json +1 -1
package/components/{CasinoBetslipIndicator-C4ktCL-e.js → CasinoBetslipIndicator-CxgKuX53.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function w() {
|
|
2
2
|
}
|
|
3
3
|
function yt(e) {
|
|
4
4
|
return e();
|
|
@@ -6,13 +6,13 @@ function yt(e) {
|
|
|
6
6
|
function Ze() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
9
|
+
function ee(e) {
|
|
10
10
|
e.forEach(yt);
|
|
11
11
|
}
|
|
12
12
|
function je(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function gt(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
18
|
function Yt(e) {
|
|
@@ -22,12 +22,12 @@ function qt(e, ...t) {
|
|
|
22
22
|
if (e == null) {
|
|
23
23
|
for (const n of t)
|
|
24
24
|
n(void 0);
|
|
25
|
-
return
|
|
25
|
+
return w;
|
|
26
26
|
}
|
|
27
27
|
const r = e.subscribe(...t);
|
|
28
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function T(e, t) {
|
|
31
31
|
e.appendChild(t);
|
|
32
32
|
}
|
|
33
33
|
function Kt(e, t, r) {
|
|
@@ -38,7 +38,8 @@ function Kt(e, t, r) {
|
|
|
38
38
|
}
|
|
39
39
|
}
|
|
40
40
|
function er(e) {
|
|
41
|
-
if (!e)
|
|
41
|
+
if (!e)
|
|
42
|
+
return document;
|
|
42
43
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
43
44
|
return t && /** @type {ShadowRoot} */
|
|
44
45
|
t.host ? (
|
|
@@ -47,13 +48,13 @@ function er(e) {
|
|
|
47
48
|
) : e.ownerDocument;
|
|
48
49
|
}
|
|
49
50
|
function tr(e, t) {
|
|
50
|
-
return
|
|
51
|
+
return T(
|
|
51
52
|
/** @type {Document} */
|
|
52
53
|
e.head || e,
|
|
53
54
|
t
|
|
54
55
|
), t.sheet;
|
|
55
56
|
}
|
|
56
|
-
function
|
|
57
|
+
function te(e, t, r) {
|
|
57
58
|
e.insertBefore(t, r || null);
|
|
58
59
|
}
|
|
59
60
|
function V(e) {
|
|
@@ -65,16 +66,16 @@ function D(e) {
|
|
|
65
66
|
function C(e) {
|
|
66
67
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
67
68
|
}
|
|
68
|
-
function
|
|
69
|
+
function vt(e) {
|
|
69
70
|
return document.createTextNode(e);
|
|
70
71
|
}
|
|
71
72
|
function rr() {
|
|
72
|
-
return
|
|
73
|
+
return vt(" ");
|
|
73
74
|
}
|
|
74
75
|
function nr(e, t, r, n) {
|
|
75
76
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
76
77
|
}
|
|
77
|
-
function
|
|
78
|
+
function _(e, t, r) {
|
|
78
79
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
79
80
|
}
|
|
80
81
|
function ir(e) {
|
|
@@ -96,56 +97,58 @@ function ar(e) {
|
|
|
96
97
|
}
|
|
97
98
|
), t;
|
|
98
99
|
}
|
|
99
|
-
let
|
|
100
|
+
let Y;
|
|
100
101
|
function Q(e) {
|
|
101
|
-
|
|
102
|
+
Y = e;
|
|
102
103
|
}
|
|
103
104
|
function ur() {
|
|
104
|
-
if (!
|
|
105
|
-
|
|
105
|
+
if (!Y)
|
|
106
|
+
throw new Error("Function called outside component initialization");
|
|
107
|
+
return Y;
|
|
106
108
|
}
|
|
107
109
|
function hr(e) {
|
|
108
110
|
ur().$$.on_mount.push(e);
|
|
109
111
|
}
|
|
110
|
-
const
|
|
112
|
+
const $ = [], Te = [];
|
|
111
113
|
let R = [];
|
|
112
114
|
const Qe = [], lr = /* @__PURE__ */ Promise.resolve();
|
|
113
115
|
let Be = !1;
|
|
114
116
|
function cr() {
|
|
115
|
-
Be || (Be = !0, lr.then(
|
|
117
|
+
Be || (Be = !0, lr.then(J));
|
|
116
118
|
}
|
|
117
119
|
function Ae(e) {
|
|
118
120
|
R.push(e);
|
|
119
121
|
}
|
|
120
|
-
const
|
|
122
|
+
const ge = /* @__PURE__ */ new Set();
|
|
121
123
|
let L = 0;
|
|
122
|
-
function
|
|
124
|
+
function J() {
|
|
123
125
|
if (L !== 0)
|
|
124
126
|
return;
|
|
125
|
-
const e =
|
|
127
|
+
const e = Y;
|
|
126
128
|
do {
|
|
127
129
|
try {
|
|
128
|
-
for (; L <
|
|
129
|
-
const t =
|
|
130
|
+
for (; L < $.length; ) {
|
|
131
|
+
const t = $[L];
|
|
130
132
|
L++, Q(t), fr(t.$$);
|
|
131
133
|
}
|
|
132
134
|
} catch (t) {
|
|
133
|
-
throw
|
|
135
|
+
throw $.length = 0, L = 0, t;
|
|
134
136
|
}
|
|
135
|
-
for (Q(null),
|
|
137
|
+
for (Q(null), $.length = 0, L = 0; Te.length; )
|
|
138
|
+
Te.pop()();
|
|
136
139
|
for (let t = 0; t < R.length; t += 1) {
|
|
137
140
|
const r = R[t];
|
|
138
|
-
|
|
141
|
+
ge.has(r) || (ge.add(r), r());
|
|
139
142
|
}
|
|
140
143
|
R.length = 0;
|
|
141
|
-
} while (
|
|
144
|
+
} while ($.length);
|
|
142
145
|
for (; Qe.length; )
|
|
143
146
|
Qe.pop()();
|
|
144
|
-
Be = !1,
|
|
147
|
+
Be = !1, ge.clear(), Q(e);
|
|
145
148
|
}
|
|
146
149
|
function fr(e) {
|
|
147
150
|
if (e.fragment !== null) {
|
|
148
|
-
e.update(),
|
|
151
|
+
e.update(), ee(e.before_update);
|
|
149
152
|
const t = e.dirty;
|
|
150
153
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ae);
|
|
151
154
|
}
|
|
@@ -162,25 +165,25 @@ function br(e, t, r) {
|
|
|
162
165
|
const { fragment: n, after_update: i } = e.$$;
|
|
163
166
|
n && n.m(t, r), Ae(() => {
|
|
164
167
|
const o = e.$$.on_mount.map(yt).filter(je);
|
|
165
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
168
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
|
166
169
|
}), i.forEach(Ae);
|
|
167
170
|
}
|
|
168
171
|
function yr(e, t) {
|
|
169
172
|
const r = e.$$;
|
|
170
|
-
r.fragment !== null && (mr(r.after_update),
|
|
173
|
+
r.fragment !== null && (mr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
171
174
|
}
|
|
172
|
-
function
|
|
173
|
-
e.$$.dirty[0] === -1 && (
|
|
175
|
+
function gr(e, t) {
|
|
176
|
+
e.$$.dirty[0] === -1 && ($.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
174
177
|
}
|
|
175
|
-
function
|
|
176
|
-
const h =
|
|
178
|
+
function vr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
179
|
+
const h = Y;
|
|
177
180
|
Q(e);
|
|
178
181
|
const u = e.$$ = {
|
|
179
182
|
fragment: null,
|
|
180
183
|
ctx: [],
|
|
181
184
|
// state
|
|
182
185
|
props: o,
|
|
183
|
-
update:
|
|
186
|
+
update: w,
|
|
184
187
|
not_equal: i,
|
|
185
188
|
bound: Ze(),
|
|
186
189
|
// lifecycle
|
|
@@ -192,22 +195,22 @@ function gr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
192
195
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
193
196
|
// everything else
|
|
194
197
|
callbacks: Ze(),
|
|
195
|
-
dirty:
|
|
198
|
+
dirty: a,
|
|
196
199
|
skip_bound: !1,
|
|
197
200
|
root: t.target || h.$$.root
|
|
198
201
|
};
|
|
199
|
-
|
|
202
|
+
s && s(u.root);
|
|
200
203
|
let l = !1;
|
|
201
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
202
|
-
const v =
|
|
203
|
-
return u.ctx && i(u.ctx[
|
|
204
|
-
}) : [], u.update(), l = !0,
|
|
204
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
205
|
+
const v = p.length ? p[0] : c;
|
|
206
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = v) && (!u.skip_bound && u.bound[f] && u.bound[f](v), l && gr(e, f)), c;
|
|
207
|
+
}) : [], u.update(), l = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
205
208
|
if (t.hydrate) {
|
|
206
|
-
const
|
|
207
|
-
u.fragment && u.fragment.l(
|
|
209
|
+
const f = ir(t.target);
|
|
210
|
+
u.fragment && u.fragment.l(f), f.forEach(V);
|
|
208
211
|
} else
|
|
209
212
|
u.fragment && u.fragment.c();
|
|
210
|
-
t.intro && dr(e.$$.fragment), br(e, t.target, t.anchor),
|
|
213
|
+
t.intro && dr(e.$$.fragment), br(e, t.target, t.anchor), J();
|
|
211
214
|
}
|
|
212
215
|
Q(h);
|
|
213
216
|
}
|
|
@@ -254,14 +257,14 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
254
257
|
let o;
|
|
255
258
|
return {
|
|
256
259
|
c: function() {
|
|
257
|
-
o = D("slot"), i !== "default" &&
|
|
260
|
+
o = D("slot"), i !== "default" && _(o, "name", i);
|
|
258
261
|
},
|
|
259
262
|
/**
|
|
260
263
|
* @param {HTMLElement} target
|
|
261
264
|
* @param {HTMLElement} [anchor]
|
|
262
265
|
*/
|
|
263
266
|
m: function(h, u) {
|
|
264
|
-
|
|
267
|
+
te(h, o, u);
|
|
265
268
|
},
|
|
266
269
|
d: function(h) {
|
|
267
270
|
h && V(o);
|
|
@@ -276,7 +279,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
276
279
|
i in r && (t[i] = [e(i)]);
|
|
277
280
|
for (const i of this.attributes) {
|
|
278
281
|
const o = this.$$g_p(i.name);
|
|
279
|
-
o in this.$$d || (this.$$d[o] =
|
|
282
|
+
o in this.$$d || (this.$$d[o] = ae(o, i.value, this.$$p_d, "toProp"));
|
|
280
283
|
}
|
|
281
284
|
for (const i in this.$$p_d)
|
|
282
285
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -294,7 +297,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
294
297
|
this.$$r = !0;
|
|
295
298
|
for (const i in this.$$p_d)
|
|
296
299
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
297
|
-
const o =
|
|
300
|
+
const o = ae(
|
|
298
301
|
i,
|
|
299
302
|
this.$$d[i],
|
|
300
303
|
this.$$p_d,
|
|
@@ -307,8 +310,8 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
307
310
|
this.$$c.$$.after_update.push(n), n();
|
|
308
311
|
for (const i in this.$$l)
|
|
309
312
|
for (const o of this.$$l[i]) {
|
|
310
|
-
const
|
|
311
|
-
this.$$l_u.set(o,
|
|
313
|
+
const s = this.$$c.$on(i, o);
|
|
314
|
+
this.$$l_u.set(o, s);
|
|
312
315
|
}
|
|
313
316
|
this.$$l = {};
|
|
314
317
|
}
|
|
@@ -316,7 +319,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
316
319
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
317
320
|
// and setting attributes through setAttribute etc, this is helpful
|
|
318
321
|
attributeChangedCallback(e, t, r) {
|
|
319
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
322
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ae(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
320
323
|
}
|
|
321
324
|
disconnectedCallback() {
|
|
322
325
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -329,7 +332,7 @@ typeof HTMLElement == "function" && (xt = class extends HTMLElement {
|
|
|
329
332
|
) || e;
|
|
330
333
|
}
|
|
331
334
|
});
|
|
332
|
-
function
|
|
335
|
+
function ae(e, t, r, n) {
|
|
333
336
|
const i = r[e]?.type;
|
|
334
337
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
335
338
|
return t;
|
|
@@ -359,33 +362,33 @@ function se(e, t, r, n) {
|
|
|
359
362
|
}
|
|
360
363
|
}
|
|
361
364
|
function xr(e, t, r, n, i, o) {
|
|
362
|
-
let
|
|
365
|
+
let s = class extends xt {
|
|
363
366
|
constructor() {
|
|
364
367
|
super(e, r, i), this.$$p_d = t;
|
|
365
368
|
}
|
|
366
369
|
static get observedAttributes() {
|
|
367
370
|
return Object.keys(t).map(
|
|
368
|
-
(
|
|
371
|
+
(a) => (t[a].attribute || a).toLowerCase()
|
|
369
372
|
);
|
|
370
373
|
}
|
|
371
374
|
};
|
|
372
|
-
return Object.keys(t).forEach((
|
|
373
|
-
Object.defineProperty(
|
|
375
|
+
return Object.keys(t).forEach((a) => {
|
|
376
|
+
Object.defineProperty(s.prototype, a, {
|
|
374
377
|
get() {
|
|
375
|
-
return this.$$c &&
|
|
378
|
+
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
376
379
|
},
|
|
377
380
|
set(h) {
|
|
378
|
-
h =
|
|
381
|
+
h = ae(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
379
382
|
}
|
|
380
383
|
});
|
|
381
|
-
}), n.forEach((
|
|
382
|
-
Object.defineProperty(
|
|
384
|
+
}), n.forEach((a) => {
|
|
385
|
+
Object.defineProperty(s.prototype, a, {
|
|
383
386
|
get() {
|
|
384
|
-
return this.$$c?.[
|
|
387
|
+
return this.$$c?.[a];
|
|
385
388
|
}
|
|
386
389
|
});
|
|
387
390
|
}), e.element = /** @type {any} */
|
|
388
|
-
|
|
391
|
+
s, s;
|
|
389
392
|
}
|
|
390
393
|
class _r {
|
|
391
394
|
/**
|
|
@@ -406,7 +409,7 @@ class _r {
|
|
|
406
409
|
$$set = void 0;
|
|
407
410
|
/** @returns {void} */
|
|
408
411
|
$destroy() {
|
|
409
|
-
yr(this, 1), this.$destroy =
|
|
412
|
+
yr(this, 1), this.$destroy = w;
|
|
410
413
|
}
|
|
411
414
|
/**
|
|
412
415
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -416,7 +419,7 @@ class _r {
|
|
|
416
419
|
*/
|
|
417
420
|
$on(t, r) {
|
|
418
421
|
if (!je(r))
|
|
419
|
-
return
|
|
422
|
+
return w;
|
|
420
423
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
421
424
|
return n.push(r), () => {
|
|
422
425
|
const i = n.indexOf(r);
|
|
@@ -433,14 +436,29 @@ class _r {
|
|
|
433
436
|
}
|
|
434
437
|
const Er = "4";
|
|
435
438
|
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
|
|
439
|
+
/*! *****************************************************************************
|
|
440
|
+
Copyright (c) Microsoft Corporation.
|
|
441
|
+
|
|
442
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
443
|
+
purpose with or without fee is hereby granted.
|
|
444
|
+
|
|
445
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
446
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
447
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
448
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
449
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
450
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
451
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
452
|
+
***************************************************************************** */
|
|
436
453
|
var Pe = function(e, t) {
|
|
437
454
|
return Pe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
438
455
|
r.__proto__ = n;
|
|
439
456
|
} || function(r, n) {
|
|
440
|
-
for (var i in n)
|
|
457
|
+
for (var i in n)
|
|
458
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
441
459
|
}, Pe(e, t);
|
|
442
460
|
};
|
|
443
|
-
function
|
|
461
|
+
function A(e, t) {
|
|
444
462
|
if (typeof t != "function" && t !== null)
|
|
445
463
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
446
464
|
Pe(e, t);
|
|
@@ -449,18 +467,20 @@ function P(e, t) {
|
|
|
449
467
|
}
|
|
450
468
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
451
469
|
}
|
|
452
|
-
var
|
|
453
|
-
return
|
|
470
|
+
var g = function() {
|
|
471
|
+
return g = Object.assign || function(t) {
|
|
454
472
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
455
473
|
r = arguments[n];
|
|
456
|
-
for (var o in r)
|
|
474
|
+
for (var o in r)
|
|
475
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
457
476
|
}
|
|
458
477
|
return t;
|
|
459
|
-
},
|
|
478
|
+
}, g.apply(this, arguments);
|
|
460
479
|
};
|
|
461
480
|
function Sr(e, t) {
|
|
462
481
|
var r = {};
|
|
463
|
-
for (var n in e)
|
|
482
|
+
for (var n in e)
|
|
483
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
464
484
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
465
485
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
466
486
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
@@ -468,37 +488,43 @@ function Sr(e, t) {
|
|
|
468
488
|
}
|
|
469
489
|
function Oe(e) {
|
|
470
490
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
471
|
-
if (r)
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
|
|
491
|
+
if (r)
|
|
492
|
+
return r.call(e);
|
|
493
|
+
if (e && typeof e.length == "number")
|
|
494
|
+
return {
|
|
495
|
+
next: function() {
|
|
496
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
497
|
+
}
|
|
498
|
+
};
|
|
477
499
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
478
500
|
}
|
|
479
501
|
function Ie(e, t) {
|
|
480
502
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
481
|
-
if (!r)
|
|
482
|
-
|
|
503
|
+
if (!r)
|
|
504
|
+
return e;
|
|
505
|
+
var n = r.call(e), i, o = [], s;
|
|
483
506
|
try {
|
|
484
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
485
|
-
|
|
486
|
-
|
|
507
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
508
|
+
o.push(i.value);
|
|
509
|
+
} catch (a) {
|
|
510
|
+
s = { error: a };
|
|
487
511
|
} finally {
|
|
488
512
|
try {
|
|
489
513
|
i && !i.done && (r = n.return) && r.call(n);
|
|
490
514
|
} finally {
|
|
491
|
-
if (
|
|
515
|
+
if (s)
|
|
516
|
+
throw s.error;
|
|
492
517
|
}
|
|
493
518
|
}
|
|
494
519
|
return o;
|
|
495
520
|
}
|
|
496
521
|
function U(e, t, r) {
|
|
497
|
-
if (r || arguments.length === 2)
|
|
498
|
-
(
|
|
499
|
-
|
|
522
|
+
if (r || arguments.length === 2)
|
|
523
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
524
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
525
|
+
return e.concat(o || t);
|
|
500
526
|
}
|
|
501
|
-
function
|
|
527
|
+
function B(e) {
|
|
502
528
|
return typeof e == "function";
|
|
503
529
|
}
|
|
504
530
|
function _t(e) {
|
|
@@ -507,7 +533,7 @@ function _t(e) {
|
|
|
507
533
|
}, r = e(t);
|
|
508
534
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
509
535
|
}
|
|
510
|
-
var
|
|
536
|
+
var ve = _t(function(e) {
|
|
511
537
|
return function(r) {
|
|
512
538
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
513
539
|
` + r.map(function(n, i) {
|
|
@@ -530,11 +556,11 @@ var me = function() {
|
|
|
530
556
|
var t, r, n, i, o;
|
|
531
557
|
if (!this.closed) {
|
|
532
558
|
this.closed = !0;
|
|
533
|
-
var
|
|
534
|
-
if (
|
|
535
|
-
if (this._parentage = null, Array.isArray(
|
|
559
|
+
var s = this._parentage;
|
|
560
|
+
if (s)
|
|
561
|
+
if (this._parentage = null, Array.isArray(s))
|
|
536
562
|
try {
|
|
537
|
-
for (var
|
|
563
|
+
for (var a = Oe(s), h = a.next(); !h.done; h = a.next()) {
|
|
538
564
|
var u = h.value;
|
|
539
565
|
u.remove(this);
|
|
540
566
|
}
|
|
@@ -542,44 +568,46 @@ var me = function() {
|
|
|
542
568
|
t = { error: m };
|
|
543
569
|
} finally {
|
|
544
570
|
try {
|
|
545
|
-
h && !h.done && (r =
|
|
571
|
+
h && !h.done && (r = a.return) && r.call(a);
|
|
546
572
|
} finally {
|
|
547
|
-
if (t)
|
|
573
|
+
if (t)
|
|
574
|
+
throw t.error;
|
|
548
575
|
}
|
|
549
576
|
}
|
|
550
577
|
else
|
|
551
|
-
|
|
578
|
+
s.remove(this);
|
|
552
579
|
var l = this.initialTeardown;
|
|
553
|
-
if (
|
|
580
|
+
if (B(l))
|
|
554
581
|
try {
|
|
555
582
|
l();
|
|
556
583
|
} catch (m) {
|
|
557
|
-
o = m instanceof
|
|
584
|
+
o = m instanceof ve ? m.errors : [m];
|
|
558
585
|
}
|
|
559
|
-
var
|
|
560
|
-
if (
|
|
586
|
+
var f = this._finalizers;
|
|
587
|
+
if (f) {
|
|
561
588
|
this._finalizers = null;
|
|
562
589
|
try {
|
|
563
|
-
for (var
|
|
564
|
-
var v =
|
|
590
|
+
for (var c = Oe(f), p = c.next(); !p.done; p = c.next()) {
|
|
591
|
+
var v = p.value;
|
|
565
592
|
try {
|
|
566
593
|
Je(v);
|
|
567
594
|
} catch (m) {
|
|
568
|
-
o = o ?? [], m instanceof
|
|
595
|
+
o = o ?? [], m instanceof ve ? o = U(U([], Ie(o)), Ie(m.errors)) : o.push(m);
|
|
569
596
|
}
|
|
570
597
|
}
|
|
571
598
|
} catch (m) {
|
|
572
599
|
n = { error: m };
|
|
573
600
|
} finally {
|
|
574
601
|
try {
|
|
575
|
-
|
|
602
|
+
p && !p.done && (i = c.return) && i.call(c);
|
|
576
603
|
} finally {
|
|
577
|
-
if (n)
|
|
604
|
+
if (n)
|
|
605
|
+
throw n.error;
|
|
578
606
|
}
|
|
579
607
|
}
|
|
580
608
|
}
|
|
581
609
|
if (o)
|
|
582
|
-
throw new
|
|
610
|
+
throw new ve(o);
|
|
583
611
|
}
|
|
584
612
|
}, e.prototype.add = function(t) {
|
|
585
613
|
var r;
|
|
@@ -612,10 +640,10 @@ var me = function() {
|
|
|
612
640
|
}(), e;
|
|
613
641
|
}(), Et = me.EMPTY;
|
|
614
642
|
function St(e) {
|
|
615
|
-
return e instanceof me || e && "closed" in e &&
|
|
643
|
+
return e instanceof me || e && "closed" in e && B(e.remove) && B(e.add) && B(e.unsubscribe);
|
|
616
644
|
}
|
|
617
645
|
function Je(e) {
|
|
618
|
-
|
|
646
|
+
B(e) ? e() : e.unsubscribe();
|
|
619
647
|
}
|
|
620
648
|
var wt = {
|
|
621
649
|
onUnhandledError: null,
|
|
@@ -641,11 +669,11 @@ function Hr(e) {
|
|
|
641
669
|
}
|
|
642
670
|
function Ye() {
|
|
643
671
|
}
|
|
644
|
-
function
|
|
672
|
+
function ue(e) {
|
|
645
673
|
e();
|
|
646
674
|
}
|
|
647
675
|
var Ht = function(e) {
|
|
648
|
-
|
|
676
|
+
A(t, e);
|
|
649
677
|
function t(r) {
|
|
650
678
|
var n = e.call(this) || this;
|
|
651
679
|
return n.isStopped = !1, r ? (n.destination = r, St(r) && r.add(n)) : n.destination = Pr, n;
|
|
@@ -689,7 +717,7 @@ var Br = function() {
|
|
|
689
717
|
try {
|
|
690
718
|
r.next(t);
|
|
691
719
|
} catch (n) {
|
|
692
|
-
|
|
720
|
+
oe(n);
|
|
693
721
|
}
|
|
694
722
|
}, e.prototype.error = function(t) {
|
|
695
723
|
var r = this.partialObserver;
|
|
@@ -697,44 +725,44 @@ var Br = function() {
|
|
|
697
725
|
try {
|
|
698
726
|
r.error(t);
|
|
699
727
|
} catch (n) {
|
|
700
|
-
|
|
728
|
+
oe(n);
|
|
701
729
|
}
|
|
702
730
|
else
|
|
703
|
-
|
|
731
|
+
oe(t);
|
|
704
732
|
}, e.prototype.complete = function() {
|
|
705
733
|
var t = this.partialObserver;
|
|
706
734
|
if (t.complete)
|
|
707
735
|
try {
|
|
708
736
|
t.complete();
|
|
709
737
|
} catch (r) {
|
|
710
|
-
|
|
738
|
+
oe(r);
|
|
711
739
|
}
|
|
712
740
|
}, e;
|
|
713
741
|
}(), Ne = function(e) {
|
|
714
|
-
|
|
742
|
+
A(t, e);
|
|
715
743
|
function t(r, n, i) {
|
|
716
|
-
var o = e.call(this) || this,
|
|
717
|
-
if (
|
|
718
|
-
|
|
744
|
+
var o = e.call(this) || this, s;
|
|
745
|
+
if (B(r) || !r)
|
|
746
|
+
s = {
|
|
719
747
|
next: r ?? void 0,
|
|
720
748
|
error: n ?? void 0,
|
|
721
749
|
complete: i ?? void 0
|
|
722
750
|
};
|
|
723
751
|
else {
|
|
724
|
-
var
|
|
725
|
-
o && wt.useDeprecatedNextContext ? (
|
|
752
|
+
var a;
|
|
753
|
+
o && wt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
726
754
|
return o.unsubscribe();
|
|
727
|
-
},
|
|
728
|
-
next: r.next && xe(r.next,
|
|
729
|
-
error: r.error && xe(r.error,
|
|
730
|
-
complete: r.complete && xe(r.complete,
|
|
731
|
-
}) :
|
|
755
|
+
}, s = {
|
|
756
|
+
next: r.next && xe(r.next, a),
|
|
757
|
+
error: r.error && xe(r.error, a),
|
|
758
|
+
complete: r.complete && xe(r.complete, a)
|
|
759
|
+
}) : s = r;
|
|
732
760
|
}
|
|
733
|
-
return o.destination = new Br(
|
|
761
|
+
return o.destination = new Br(s), o;
|
|
734
762
|
}
|
|
735
763
|
return t;
|
|
736
764
|
}(Ht);
|
|
737
|
-
function
|
|
765
|
+
function oe(e) {
|
|
738
766
|
Hr(e);
|
|
739
767
|
}
|
|
740
768
|
function Ar(e) {
|
|
@@ -767,9 +795,9 @@ var qe = function() {
|
|
|
767
795
|
return r.source = this, r.operator = t, r;
|
|
768
796
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
769
797
|
var i = this, o = Lr(t) ? t : new Ne(t, r, n);
|
|
770
|
-
return
|
|
771
|
-
var
|
|
772
|
-
o.add(
|
|
798
|
+
return ue(function() {
|
|
799
|
+
var s = i, a = s.operator, h = s.source;
|
|
800
|
+
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
773
801
|
}), o;
|
|
774
802
|
}, e.prototype._trySubscribe = function(t) {
|
|
775
803
|
try {
|
|
@@ -780,18 +808,18 @@ var qe = function() {
|
|
|
780
808
|
}, e.prototype.forEach = function(t, r) {
|
|
781
809
|
var n = this;
|
|
782
810
|
return r = Ke(r), new r(function(i, o) {
|
|
783
|
-
var
|
|
784
|
-
next: function(
|
|
811
|
+
var s = new Ne({
|
|
812
|
+
next: function(a) {
|
|
785
813
|
try {
|
|
786
|
-
t(
|
|
814
|
+
t(a);
|
|
787
815
|
} catch (h) {
|
|
788
|
-
o(h),
|
|
816
|
+
o(h), s.unsubscribe();
|
|
789
817
|
}
|
|
790
818
|
},
|
|
791
819
|
error: o,
|
|
792
820
|
complete: i
|
|
793
821
|
});
|
|
794
|
-
n.subscribe(
|
|
822
|
+
n.subscribe(s);
|
|
795
823
|
});
|
|
796
824
|
}, e.prototype._subscribe = function(t) {
|
|
797
825
|
var r;
|
|
@@ -806,10 +834,10 @@ var qe = function() {
|
|
|
806
834
|
var r = this;
|
|
807
835
|
return t = Ke(t), new t(function(n, i) {
|
|
808
836
|
var o;
|
|
809
|
-
r.subscribe(function(
|
|
810
|
-
return o =
|
|
811
|
-
}, function(
|
|
812
|
-
return i(
|
|
837
|
+
r.subscribe(function(s) {
|
|
838
|
+
return o = s;
|
|
839
|
+
}, function(s) {
|
|
840
|
+
return i(s);
|
|
813
841
|
}, function() {
|
|
814
842
|
return n(o);
|
|
815
843
|
});
|
|
@@ -823,17 +851,17 @@ function Ke(e) {
|
|
|
823
851
|
return (t = e ?? wt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
824
852
|
}
|
|
825
853
|
function Nr(e) {
|
|
826
|
-
return e &&
|
|
854
|
+
return e && B(e.next) && B(e.error) && B(e.complete);
|
|
827
855
|
}
|
|
828
856
|
function Lr(e) {
|
|
829
857
|
return e && e instanceof Ht || Nr(e) && St(e);
|
|
830
858
|
}
|
|
831
|
-
var
|
|
859
|
+
var Mr = _t(function(e) {
|
|
832
860
|
return function() {
|
|
833
861
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
834
862
|
};
|
|
835
863
|
}), Tt = function(e) {
|
|
836
|
-
|
|
864
|
+
A(t, e);
|
|
837
865
|
function t() {
|
|
838
866
|
var r = e.call(this) || this;
|
|
839
867
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
@@ -843,32 +871,33 @@ var $r = _t(function(e) {
|
|
|
843
871
|
return n.operator = r, n;
|
|
844
872
|
}, t.prototype._throwIfClosed = function() {
|
|
845
873
|
if (this.closed)
|
|
846
|
-
throw new
|
|
874
|
+
throw new Mr();
|
|
847
875
|
}, t.prototype.next = function(r) {
|
|
848
876
|
var n = this;
|
|
849
|
-
|
|
877
|
+
ue(function() {
|
|
850
878
|
var i, o;
|
|
851
879
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
852
880
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
853
881
|
try {
|
|
854
|
-
for (var
|
|
855
|
-
var h =
|
|
882
|
+
for (var s = Oe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
883
|
+
var h = a.value;
|
|
856
884
|
h.next(r);
|
|
857
885
|
}
|
|
858
886
|
} catch (u) {
|
|
859
887
|
i = { error: u };
|
|
860
888
|
} finally {
|
|
861
889
|
try {
|
|
862
|
-
|
|
890
|
+
a && !a.done && (o = s.return) && o.call(s);
|
|
863
891
|
} finally {
|
|
864
|
-
if (i)
|
|
892
|
+
if (i)
|
|
893
|
+
throw i.error;
|
|
865
894
|
}
|
|
866
895
|
}
|
|
867
896
|
}
|
|
868
897
|
});
|
|
869
898
|
}, t.prototype.error = function(r) {
|
|
870
899
|
var n = this;
|
|
871
|
-
|
|
900
|
+
ue(function() {
|
|
872
901
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
873
902
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
874
903
|
for (var i = n.observers; i.length; )
|
|
@@ -877,7 +906,7 @@ var $r = _t(function(e) {
|
|
|
877
906
|
});
|
|
878
907
|
}, t.prototype.complete = function() {
|
|
879
908
|
var r = this;
|
|
880
|
-
|
|
909
|
+
ue(function() {
|
|
881
910
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
882
911
|
r.isStopped = !0;
|
|
883
912
|
for (var n = r.observers; n.length; )
|
|
@@ -898,13 +927,13 @@ var $r = _t(function(e) {
|
|
|
898
927
|
}, t.prototype._subscribe = function(r) {
|
|
899
928
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
900
929
|
}, t.prototype._innerSubscribe = function(r) {
|
|
901
|
-
var n = this, i = this, o = i.hasError,
|
|
902
|
-
return o ||
|
|
903
|
-
n.currentObservers = null, Ce(
|
|
930
|
+
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
931
|
+
return o || s ? Et : (this.currentObservers = null, a.push(r), new me(function() {
|
|
932
|
+
n.currentObservers = null, Ce(a, r);
|
|
904
933
|
}));
|
|
905
934
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
906
|
-
var n = this, i = n.hasError, o = n.thrownError,
|
|
907
|
-
i ? r.error(o) :
|
|
935
|
+
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
936
|
+
i ? r.error(o) : s && r.complete();
|
|
908
937
|
}, t.prototype.asObservable = function() {
|
|
909
938
|
var r = new qe();
|
|
910
939
|
return r.source = this, r;
|
|
@@ -912,7 +941,7 @@ var $r = _t(function(e) {
|
|
|
912
941
|
return new et(r, n);
|
|
913
942
|
}, t;
|
|
914
943
|
}(qe), et = function(e) {
|
|
915
|
-
|
|
944
|
+
A(t, e);
|
|
916
945
|
function t(r, n) {
|
|
917
946
|
var i = e.call(this) || this;
|
|
918
947
|
return i.destination = r, i.source = n, i;
|
|
@@ -935,24 +964,24 @@ var $r = _t(function(e) {
|
|
|
935
964
|
return (Bt.delegate || Date).now();
|
|
936
965
|
},
|
|
937
966
|
delegate: void 0
|
|
938
|
-
},
|
|
939
|
-
|
|
967
|
+
}, $r = function(e) {
|
|
968
|
+
A(t, e);
|
|
940
969
|
function t(r, n, i) {
|
|
941
970
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Bt);
|
|
942
971
|
var o = e.call(this) || this;
|
|
943
972
|
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;
|
|
944
973
|
}
|
|
945
974
|
return t.prototype.next = function(r) {
|
|
946
|
-
var n = this, i = n.isStopped, o = n._buffer,
|
|
947
|
-
i || (o.push(r), !
|
|
975
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
|
|
976
|
+
i || (o.push(r), !s && o.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
948
977
|
}, t.prototype._subscribe = function(r) {
|
|
949
978
|
this._throwIfClosed(), this._trimBuffer();
|
|
950
|
-
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow,
|
|
951
|
-
r.next(
|
|
979
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), h = 0; h < a.length && !r.closed; h += o ? 1 : 2)
|
|
980
|
+
r.next(a[h]);
|
|
952
981
|
return this._checkFinalizedStatuses(r), n;
|
|
953
982
|
}, t.prototype._trimBuffer = function() {
|
|
954
|
-
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer,
|
|
955
|
-
if (n < 1 / 0 &&
|
|
983
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
984
|
+
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
956
985
|
for (var h = i.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
|
|
957
986
|
u = l;
|
|
958
987
|
u && o.splice(0, u + 1);
|
|
@@ -961,70 +990,70 @@ var $r = _t(function(e) {
|
|
|
961
990
|
}(Tt);
|
|
962
991
|
const tt = [], rt = {}, Rr = (e, t = 0) => {
|
|
963
992
|
if (tt.indexOf(e) == -1) {
|
|
964
|
-
const r = new
|
|
993
|
+
const r = new $r(t);
|
|
965
994
|
rt[e] = r, tt.push(e);
|
|
966
995
|
}
|
|
967
996
|
return rt[e];
|
|
968
|
-
},
|
|
997
|
+
}, M = [];
|
|
969
998
|
function Ur(e, t) {
|
|
970
999
|
return {
|
|
971
1000
|
subscribe: pe(e, t).subscribe
|
|
972
1001
|
};
|
|
973
1002
|
}
|
|
974
|
-
function pe(e, t =
|
|
1003
|
+
function pe(e, t = w) {
|
|
975
1004
|
let r;
|
|
976
1005
|
const n = /* @__PURE__ */ new Set();
|
|
977
|
-
function i(
|
|
978
|
-
if (
|
|
979
|
-
const h =
|
|
1006
|
+
function i(a) {
|
|
1007
|
+
if (gt(e, a) && (e = a, r)) {
|
|
1008
|
+
const h = !M.length;
|
|
980
1009
|
for (const u of n)
|
|
981
|
-
u[1](),
|
|
1010
|
+
u[1](), M.push(u, e);
|
|
982
1011
|
if (h) {
|
|
983
|
-
for (let u = 0; u <
|
|
984
|
-
|
|
985
|
-
|
|
1012
|
+
for (let u = 0; u < M.length; u += 2)
|
|
1013
|
+
M[u][0](M[u + 1]);
|
|
1014
|
+
M.length = 0;
|
|
986
1015
|
}
|
|
987
1016
|
}
|
|
988
1017
|
}
|
|
989
|
-
function o(
|
|
990
|
-
i(
|
|
1018
|
+
function o(a) {
|
|
1019
|
+
i(a(e));
|
|
991
1020
|
}
|
|
992
|
-
function a
|
|
993
|
-
const u = [
|
|
994
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1021
|
+
function s(a, h = w) {
|
|
1022
|
+
const u = [a, h];
|
|
1023
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || w), a(e), () => {
|
|
995
1024
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
996
1025
|
};
|
|
997
1026
|
}
|
|
998
|
-
return { set: i, update: o, subscribe:
|
|
1027
|
+
return { set: i, update: o, subscribe: s };
|
|
999
1028
|
}
|
|
1000
1029
|
function X(e, t, r) {
|
|
1001
1030
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1002
1031
|
if (!i.every(Boolean))
|
|
1003
1032
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1004
1033
|
const o = t.length < 2;
|
|
1005
|
-
return Ur(r, (
|
|
1034
|
+
return Ur(r, (s, a) => {
|
|
1006
1035
|
let h = !1;
|
|
1007
1036
|
const u = [];
|
|
1008
|
-
let l = 0,
|
|
1009
|
-
const
|
|
1037
|
+
let l = 0, f = w;
|
|
1038
|
+
const c = () => {
|
|
1010
1039
|
if (l)
|
|
1011
1040
|
return;
|
|
1012
|
-
|
|
1013
|
-
const v = t(n ? u[0] : u,
|
|
1014
|
-
o ?
|
|
1015
|
-
},
|
|
1041
|
+
f();
|
|
1042
|
+
const v = t(n ? u[0] : u, s, a);
|
|
1043
|
+
o ? s(v) : f = je(v) ? v : w;
|
|
1044
|
+
}, p = i.map(
|
|
1016
1045
|
(v, m) => qt(
|
|
1017
1046
|
v,
|
|
1018
|
-
(
|
|
1019
|
-
u[m] =
|
|
1047
|
+
(d) => {
|
|
1048
|
+
u[m] = d, l &= ~(1 << m), h && c();
|
|
1020
1049
|
},
|
|
1021
1050
|
() => {
|
|
1022
1051
|
l |= 1 << m;
|
|
1023
1052
|
}
|
|
1024
1053
|
)
|
|
1025
1054
|
);
|
|
1026
|
-
return h = !0,
|
|
1027
|
-
|
|
1055
|
+
return h = !0, c(), function() {
|
|
1056
|
+
ee(p), f(), h = !1;
|
|
1028
1057
|
};
|
|
1029
1058
|
});
|
|
1030
1059
|
}
|
|
@@ -1045,15 +1074,15 @@ var kr = typeof Symbol == "function" && Symbol.for, Vr = kr ? Symbol.for("react.
|
|
|
1045
1074
|
function Xr(e) {
|
|
1046
1075
|
return e.$$typeof === Vr;
|
|
1047
1076
|
}
|
|
1048
|
-
function
|
|
1077
|
+
function zr(e) {
|
|
1049
1078
|
return Array.isArray(e) ? [] : {};
|
|
1050
1079
|
}
|
|
1051
|
-
function
|
|
1052
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
1080
|
+
function q(e, t) {
|
|
1081
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(zr(e), e, t) : e;
|
|
1053
1082
|
}
|
|
1054
|
-
function
|
|
1083
|
+
function Wr(e, t, r) {
|
|
1055
1084
|
return e.concat(t).map(function(n) {
|
|
1056
|
-
return
|
|
1085
|
+
return q(n, r);
|
|
1057
1086
|
});
|
|
1058
1087
|
}
|
|
1059
1088
|
function Zr(e, t) {
|
|
@@ -1083,15 +1112,15 @@ function Jr(e, t) {
|
|
|
1083
1112
|
function Yr(e, t, r) {
|
|
1084
1113
|
var n = {};
|
|
1085
1114
|
return r.isMergeableObject(e) && nt(e).forEach(function(i) {
|
|
1086
|
-
n[i] =
|
|
1115
|
+
n[i] = q(e[i], r);
|
|
1087
1116
|
}), nt(t).forEach(function(i) {
|
|
1088
|
-
Jr(e, i) || (At(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] =
|
|
1117
|
+
Jr(e, i) || (At(e, i) && r.isMergeableObject(t[i]) ? n[i] = Zr(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
|
|
1089
1118
|
}), n;
|
|
1090
1119
|
}
|
|
1091
1120
|
function F(e, t, r) {
|
|
1092
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1121
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Wr, r.isMergeableObject = r.isMergeableObject || Fr, r.cloneUnlessOtherwiseSpecified = q;
|
|
1093
1122
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1094
|
-
return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) :
|
|
1123
|
+
return o ? n ? r.arrayMerge(e, t, r) : Yr(e, t, r) : q(t, r);
|
|
1095
1124
|
}
|
|
1096
1125
|
F.all = function(t, r) {
|
|
1097
1126
|
if (!Array.isArray(t))
|
|
@@ -1152,10 +1181,10 @@ var an = {
|
|
|
1152
1181
|
}, Ee = {
|
|
1153
1182
|
variadic: nn,
|
|
1154
1183
|
monadic: on
|
|
1155
|
-
},
|
|
1184
|
+
}, b;
|
|
1156
1185
|
(function(e) {
|
|
1157
1186
|
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";
|
|
1158
|
-
})(
|
|
1187
|
+
})(b || (b = {}));
|
|
1159
1188
|
var x;
|
|
1160
1189
|
(function(e) {
|
|
1161
1190
|
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";
|
|
@@ -1182,13 +1211,13 @@ function Nt(e) {
|
|
|
1182
1211
|
function Lt(e) {
|
|
1183
1212
|
return e.type === x.select;
|
|
1184
1213
|
}
|
|
1185
|
-
function
|
|
1214
|
+
function Mt(e) {
|
|
1186
1215
|
return e.type === x.plural;
|
|
1187
1216
|
}
|
|
1188
1217
|
function hn(e) {
|
|
1189
1218
|
return e.type === x.pound;
|
|
1190
1219
|
}
|
|
1191
|
-
function
|
|
1220
|
+
function $t(e) {
|
|
1192
1221
|
return e.type === x.tag;
|
|
1193
1222
|
}
|
|
1194
1223
|
function Rt(e) {
|
|
@@ -1293,18 +1322,18 @@ var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
|
1293
1322
|
function mn(e) {
|
|
1294
1323
|
if (e.length === 0)
|
|
1295
1324
|
throw new Error("Number skeleton cannot be empty");
|
|
1296
|
-
for (var t = e.split(fn).filter(function(
|
|
1297
|
-
return
|
|
1325
|
+
for (var t = e.split(fn).filter(function(c) {
|
|
1326
|
+
return c.length > 0;
|
|
1298
1327
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1299
|
-
var o = i[n],
|
|
1300
|
-
if (
|
|
1328
|
+
var o = i[n], s = o.split("/");
|
|
1329
|
+
if (s.length === 0)
|
|
1301
1330
|
throw new Error("Invalid number skeleton");
|
|
1302
|
-
for (var
|
|
1303
|
-
var
|
|
1304
|
-
if (
|
|
1331
|
+
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1332
|
+
var f = l[u];
|
|
1333
|
+
if (f.length === 0)
|
|
1305
1334
|
throw new Error("Invalid number skeleton");
|
|
1306
1335
|
}
|
|
1307
|
-
r.push({ stem:
|
|
1336
|
+
r.push({ stem: a, options: h });
|
|
1308
1337
|
}
|
|
1309
1338
|
return r;
|
|
1310
1339
|
}
|
|
@@ -1411,13 +1440,13 @@ function yn(e) {
|
|
|
1411
1440
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1412
1441
|
continue;
|
|
1413
1442
|
case "scientific":
|
|
1414
|
-
t =
|
|
1415
|
-
return
|
|
1443
|
+
t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1444
|
+
return g(g({}, h), at(u));
|
|
1416
1445
|
}, {}));
|
|
1417
1446
|
continue;
|
|
1418
1447
|
case "engineering":
|
|
1419
|
-
t =
|
|
1420
|
-
return
|
|
1448
|
+
t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1449
|
+
return g(g({}, h), at(u));
|
|
1421
1450
|
}, {}));
|
|
1422
1451
|
continue;
|
|
1423
1452
|
case "notation-simple":
|
|
@@ -1462,13 +1491,13 @@ function yn(e) {
|
|
|
1462
1491
|
case "integer-width":
|
|
1463
1492
|
if (i.options.length > 1)
|
|
1464
1493
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1465
|
-
i.options[0].replace(dn, function(h, u, l,
|
|
1494
|
+
i.options[0].replace(dn, function(h, u, l, f, c, p) {
|
|
1466
1495
|
if (u)
|
|
1467
1496
|
t.minimumIntegerDigits = l.length;
|
|
1468
1497
|
else {
|
|
1469
|
-
if (
|
|
1498
|
+
if (f && c)
|
|
1470
1499
|
throw new Error("We currently do not support maximum integer digits");
|
|
1471
|
-
if (
|
|
1500
|
+
if (p)
|
|
1472
1501
|
throw new Error("We currently do not support exact integer digits");
|
|
1473
1502
|
}
|
|
1474
1503
|
return "";
|
|
@@ -1482,25 +1511,25 @@ function yn(e) {
|
|
|
1482
1511
|
if (ot.test(i.stem)) {
|
|
1483
1512
|
if (i.options.length > 1)
|
|
1484
1513
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1485
|
-
i.stem.replace(ot, function(h, u, l,
|
|
1486
|
-
return l === "*" ? t.minimumFractionDigits = u.length :
|
|
1514
|
+
i.stem.replace(ot, function(h, u, l, f, c, p) {
|
|
1515
|
+
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1487
1516
|
});
|
|
1488
1517
|
var o = i.options[0];
|
|
1489
|
-
o === "w" ? t =
|
|
1518
|
+
o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), st(o)));
|
|
1490
1519
|
continue;
|
|
1491
1520
|
}
|
|
1492
1521
|
if (Dt.test(i.stem)) {
|
|
1493
|
-
t =
|
|
1522
|
+
t = g(g({}, t), st(i.stem));
|
|
1494
1523
|
continue;
|
|
1495
1524
|
}
|
|
1496
|
-
var
|
|
1497
|
-
|
|
1498
|
-
var
|
|
1499
|
-
|
|
1525
|
+
var s = Gt(i.stem);
|
|
1526
|
+
s && (t = g(g({}, t), s));
|
|
1527
|
+
var a = bn(i.stem);
|
|
1528
|
+
a && (t = g(g({}, t), a));
|
|
1500
1529
|
}
|
|
1501
1530
|
return t;
|
|
1502
1531
|
}
|
|
1503
|
-
var
|
|
1532
|
+
var se = {
|
|
1504
1533
|
"001": [
|
|
1505
1534
|
"H",
|
|
1506
1535
|
"h"
|
|
@@ -2915,22 +2944,23 @@ var oe = {
|
|
|
2915
2944
|
"h"
|
|
2916
2945
|
]
|
|
2917
2946
|
};
|
|
2918
|
-
function
|
|
2947
|
+
function gn(e, t) {
|
|
2919
2948
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2920
2949
|
var i = e.charAt(n);
|
|
2921
2950
|
if (i === "j") {
|
|
2922
2951
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2923
2952
|
o++, n++;
|
|
2924
|
-
var
|
|
2925
|
-
for ((u == "H" || u == "k") && (
|
|
2953
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = vn(t);
|
|
2954
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2926
2955
|
r += h;
|
|
2927
|
-
for (;
|
|
2956
|
+
for (; s-- > 0; )
|
|
2928
2957
|
r = u + r;
|
|
2929
|
-
} else
|
|
2958
|
+
} else
|
|
2959
|
+
i === "J" ? r += "H" : r += i;
|
|
2930
2960
|
}
|
|
2931
2961
|
return r;
|
|
2932
2962
|
}
|
|
2933
|
-
function
|
|
2963
|
+
function vn(e) {
|
|
2934
2964
|
var t = e.hourCycle;
|
|
2935
2965
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2936
2966
|
e.hourCycles && // @ts-ignore
|
|
@@ -2949,21 +2979,21 @@ function gn(e) {
|
|
|
2949
2979
|
}
|
|
2950
2980
|
var r = e.language, n;
|
|
2951
2981
|
r !== "root" && (n = e.maximize().region);
|
|
2952
|
-
var i =
|
|
2982
|
+
var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
|
|
2953
2983
|
return i[0];
|
|
2954
2984
|
}
|
|
2955
2985
|
var Se, xn = new RegExp("^".concat(Ut.source, "*")), _n = new RegExp("".concat(Ut.source, "*$"));
|
|
2956
|
-
function
|
|
2986
|
+
function y(e, t) {
|
|
2957
2987
|
return { start: e, end: t };
|
|
2958
2988
|
}
|
|
2959
2989
|
var En = !!String.prototype.startsWith && "_a".startsWith("a", 1), Sn = !!String.fromCodePoint, wn = !!Object.fromEntries, Hn = !!String.prototype.codePointAt, Tn = !!String.prototype.trimStart, Bn = !!String.prototype.trimEnd, An = !!Number.isSafeInteger, Pn = An ? Number.isSafeInteger : function(e) {
|
|
2960
2990
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2961
|
-
},
|
|
2991
|
+
}, Me = !0;
|
|
2962
2992
|
try {
|
|
2963
2993
|
var On = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2964
|
-
|
|
2994
|
+
Me = ((Se = On.exec("a")) === null || Se === void 0 ? void 0 : Se[0]) === "a";
|
|
2965
2995
|
} catch {
|
|
2966
|
-
|
|
2996
|
+
Me = !1;
|
|
2967
2997
|
}
|
|
2968
2998
|
var ut = En ? (
|
|
2969
2999
|
// Native
|
|
@@ -2975,15 +3005,15 @@ var ut = En ? (
|
|
|
2975
3005
|
function(t, r, n) {
|
|
2976
3006
|
return t.slice(n, n + r.length) === r;
|
|
2977
3007
|
}
|
|
2978
|
-
),
|
|
3008
|
+
), $e = Sn ? String.fromCodePoint : (
|
|
2979
3009
|
// IE11
|
|
2980
3010
|
function() {
|
|
2981
3011
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2982
3012
|
t[r] = arguments[r];
|
|
2983
|
-
for (var n = "", i = t.length, o = 0,
|
|
2984
|
-
if (
|
|
2985
|
-
throw RangeError(
|
|
2986
|
-
n +=
|
|
3013
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
|
3014
|
+
if (s = t[o++], s > 1114111)
|
|
3015
|
+
throw RangeError(s + " is not a valid code point");
|
|
3016
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
2987
3017
|
}
|
|
2988
3018
|
return n;
|
|
2989
3019
|
}
|
|
@@ -2993,8 +3023,8 @@ var ut = En ? (
|
|
|
2993
3023
|
// Ponyfill
|
|
2994
3024
|
function(t) {
|
|
2995
3025
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2996
|
-
var o = i[n],
|
|
2997
|
-
r[
|
|
3026
|
+
var o = i[n], s = o[0], a = o[1];
|
|
3027
|
+
r[s] = a;
|
|
2998
3028
|
}
|
|
2999
3029
|
return r;
|
|
3000
3030
|
}
|
|
@@ -3038,7 +3068,7 @@ function kt(e, t) {
|
|
|
3038
3068
|
return new RegExp(e, t);
|
|
3039
3069
|
}
|
|
3040
3070
|
var Re;
|
|
3041
|
-
if (
|
|
3071
|
+
if (Me) {
|
|
3042
3072
|
var lt = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3043
3073
|
Re = function(t, r) {
|
|
3044
3074
|
var n;
|
|
@@ -3050,11 +3080,11 @@ if ($e) {
|
|
|
3050
3080
|
Re = function(t, r) {
|
|
3051
3081
|
for (var n = []; ; ) {
|
|
3052
3082
|
var i = jt(t, r);
|
|
3053
|
-
if (i === void 0 || Vt(i) ||
|
|
3083
|
+
if (i === void 0 || Vt(i) || $n(i))
|
|
3054
3084
|
break;
|
|
3055
3085
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3056
3086
|
}
|
|
3057
|
-
return
|
|
3087
|
+
return $e.apply(void 0, n);
|
|
3058
3088
|
};
|
|
3059
3089
|
var Nn = (
|
|
3060
3090
|
/** @class */
|
|
@@ -3070,33 +3100,33 @@ var Nn = (
|
|
|
3070
3100
|
for (var i = []; !this.isEOF(); ) {
|
|
3071
3101
|
var o = this.char();
|
|
3072
3102
|
if (o === 123) {
|
|
3073
|
-
var
|
|
3074
|
-
if (
|
|
3075
|
-
return
|
|
3076
|
-
i.push(
|
|
3103
|
+
var s = this.parseArgument(t, n);
|
|
3104
|
+
if (s.err)
|
|
3105
|
+
return s;
|
|
3106
|
+
i.push(s.val);
|
|
3077
3107
|
} else {
|
|
3078
3108
|
if (o === 125 && t > 0)
|
|
3079
3109
|
break;
|
|
3080
3110
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3081
|
-
var
|
|
3111
|
+
var a = this.clonePosition();
|
|
3082
3112
|
this.bump(), i.push({
|
|
3083
3113
|
type: x.pound,
|
|
3084
|
-
location:
|
|
3114
|
+
location: y(a, this.clonePosition())
|
|
3085
3115
|
});
|
|
3086
3116
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3087
3117
|
if (n)
|
|
3088
3118
|
break;
|
|
3089
|
-
return this.error(
|
|
3119
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3090
3120
|
} else if (o === 60 && !this.ignoreTag && Ue(this.peek() || 0)) {
|
|
3091
|
-
var
|
|
3092
|
-
if (
|
|
3093
|
-
return
|
|
3094
|
-
i.push(
|
|
3121
|
+
var s = this.parseTag(t, r);
|
|
3122
|
+
if (s.err)
|
|
3123
|
+
return s;
|
|
3124
|
+
i.push(s.val);
|
|
3095
3125
|
} else {
|
|
3096
|
-
var
|
|
3097
|
-
if (
|
|
3098
|
-
return
|
|
3099
|
-
i.push(
|
|
3126
|
+
var s = this.parseLiteral(t, r);
|
|
3127
|
+
if (s.err)
|
|
3128
|
+
return s;
|
|
3129
|
+
i.push(s.val);
|
|
3100
3130
|
}
|
|
3101
3131
|
}
|
|
3102
3132
|
}
|
|
@@ -3110,7 +3140,7 @@ var Nn = (
|
|
|
3110
3140
|
val: {
|
|
3111
3141
|
type: x.literal,
|
|
3112
3142
|
value: "<".concat(i, "/>"),
|
|
3113
|
-
location:
|
|
3143
|
+
location: y(n, this.clonePosition())
|
|
3114
3144
|
},
|
|
3115
3145
|
err: null
|
|
3116
3146
|
};
|
|
@@ -3118,27 +3148,27 @@ var Nn = (
|
|
|
3118
3148
|
var o = this.parseMessage(t + 1, r, !0);
|
|
3119
3149
|
if (o.err)
|
|
3120
3150
|
return o;
|
|
3121
|
-
var
|
|
3151
|
+
var s = o.val, a = this.clonePosition();
|
|
3122
3152
|
if (this.bumpIf("</")) {
|
|
3123
3153
|
if (this.isEOF() || !Ue(this.char()))
|
|
3124
|
-
return this.error(
|
|
3154
|
+
return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
|
|
3125
3155
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3126
|
-
return i !== u ? this.error(
|
|
3156
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3127
3157
|
val: {
|
|
3128
3158
|
type: x.tag,
|
|
3129
3159
|
value: i,
|
|
3130
|
-
children:
|
|
3131
|
-
location:
|
|
3160
|
+
children: s,
|
|
3161
|
+
location: y(n, this.clonePosition())
|
|
3132
3162
|
},
|
|
3133
3163
|
err: null
|
|
3134
|
-
} : this.error(
|
|
3164
|
+
} : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
|
|
3135
3165
|
} else
|
|
3136
|
-
return this.error(
|
|
3166
|
+
return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
3137
3167
|
} else
|
|
3138
|
-
return this.error(
|
|
3168
|
+
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
3139
3169
|
}, e.prototype.parseTagName = function() {
|
|
3140
3170
|
var t = this.offset();
|
|
3141
|
-
for (this.bump(); !this.isEOF() &&
|
|
3171
|
+
for (this.bump(); !this.isEOF() && Mn(this.char()); )
|
|
3142
3172
|
this.bump();
|
|
3143
3173
|
return this.message.slice(t, this.offset());
|
|
3144
3174
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3148,19 +3178,19 @@ var Nn = (
|
|
|
3148
3178
|
i += o;
|
|
3149
3179
|
continue;
|
|
3150
3180
|
}
|
|
3151
|
-
var
|
|
3152
|
-
if (a) {
|
|
3153
|
-
i += a;
|
|
3154
|
-
continue;
|
|
3155
|
-
}
|
|
3156
|
-
var s = this.tryParseLeftAngleBracket();
|
|
3181
|
+
var s = this.tryParseUnquoted(t, r);
|
|
3157
3182
|
if (s) {
|
|
3158
3183
|
i += s;
|
|
3159
3184
|
continue;
|
|
3160
3185
|
}
|
|
3186
|
+
var a = this.tryParseLeftAngleBracket();
|
|
3187
|
+
if (a) {
|
|
3188
|
+
i += a;
|
|
3189
|
+
continue;
|
|
3190
|
+
}
|
|
3161
3191
|
break;
|
|
3162
3192
|
}
|
|
3163
|
-
var h =
|
|
3193
|
+
var h = y(n, this.clonePosition());
|
|
3164
3194
|
return {
|
|
3165
3195
|
val: { type: x.literal, value: i, location: h },
|
|
3166
3196
|
err: null
|
|
@@ -3201,23 +3231,23 @@ var Nn = (
|
|
|
3201
3231
|
r.push(n);
|
|
3202
3232
|
this.bump();
|
|
3203
3233
|
}
|
|
3204
|
-
return
|
|
3234
|
+
return $e.apply(void 0, r);
|
|
3205
3235
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3206
3236
|
if (this.isEOF())
|
|
3207
3237
|
return null;
|
|
3208
3238
|
var n = this.char();
|
|
3209
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3239
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), $e(n));
|
|
3210
3240
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3211
3241
|
var n = this.clonePosition();
|
|
3212
3242
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3213
|
-
return this.error(
|
|
3243
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3214
3244
|
if (this.char() === 125)
|
|
3215
|
-
return this.bump(), this.error(
|
|
3245
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
|
|
3216
3246
|
var i = this.parseIdentifierIfPossible().value;
|
|
3217
3247
|
if (!i)
|
|
3218
|
-
return this.error(
|
|
3248
|
+
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3219
3249
|
if (this.bumpSpace(), this.isEOF())
|
|
3220
|
-
return this.error(
|
|
3250
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3221
3251
|
switch (this.char()) {
|
|
3222
3252
|
case 125:
|
|
3223
3253
|
return this.bump(), {
|
|
@@ -3225,25 +3255,25 @@ var Nn = (
|
|
|
3225
3255
|
type: x.argument,
|
|
3226
3256
|
// value does not include the opening and closing braces.
|
|
3227
3257
|
value: i,
|
|
3228
|
-
location:
|
|
3258
|
+
location: y(n, this.clonePosition())
|
|
3229
3259
|
},
|
|
3230
3260
|
err: null
|
|
3231
3261
|
};
|
|
3232
3262
|
case 44:
|
|
3233
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3263
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3234
3264
|
default:
|
|
3235
|
-
return this.error(
|
|
3265
|
+
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3236
3266
|
}
|
|
3237
3267
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3238
3268
|
var t = this.clonePosition(), r = this.offset(), n = Re(this.message, r), i = r + n.length;
|
|
3239
3269
|
this.bumpTo(i);
|
|
3240
|
-
var o = this.clonePosition(),
|
|
3241
|
-
return { value: n, location:
|
|
3270
|
+
var o = this.clonePosition(), s = y(t, o);
|
|
3271
|
+
return { value: n, location: s };
|
|
3242
3272
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3243
|
-
var o,
|
|
3244
|
-
switch (
|
|
3273
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3274
|
+
switch (a) {
|
|
3245
3275
|
case "":
|
|
3246
|
-
return this.error(
|
|
3276
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, y(s, h));
|
|
3247
3277
|
case "number":
|
|
3248
3278
|
case "date":
|
|
3249
3279
|
case "time": {
|
|
@@ -3251,47 +3281,47 @@ var Nn = (
|
|
|
3251
3281
|
var u = null;
|
|
3252
3282
|
if (this.bumpIf(",")) {
|
|
3253
3283
|
this.bumpSpace();
|
|
3254
|
-
var l = this.clonePosition(),
|
|
3255
|
-
if (
|
|
3256
|
-
return
|
|
3257
|
-
var
|
|
3258
|
-
if (
|
|
3259
|
-
return this.error(
|
|
3260
|
-
var
|
|
3261
|
-
u = { style:
|
|
3284
|
+
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3285
|
+
if (f.err)
|
|
3286
|
+
return f;
|
|
3287
|
+
var c = Cn(f.val);
|
|
3288
|
+
if (c.length === 0)
|
|
3289
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3290
|
+
var p = y(l, this.clonePosition());
|
|
3291
|
+
u = { style: c, styleLocation: p };
|
|
3262
3292
|
}
|
|
3263
3293
|
var v = this.tryParseArgumentClose(i);
|
|
3264
3294
|
if (v.err)
|
|
3265
3295
|
return v;
|
|
3266
|
-
var m =
|
|
3296
|
+
var m = y(i, this.clonePosition());
|
|
3267
3297
|
if (u && ut(u?.style, "::", 0)) {
|
|
3268
|
-
var
|
|
3269
|
-
if (
|
|
3270
|
-
var
|
|
3271
|
-
return
|
|
3272
|
-
val: { type: x.number, value: n, location: m, style:
|
|
3298
|
+
var d = In(u.style.slice(2));
|
|
3299
|
+
if (a === "number") {
|
|
3300
|
+
var f = this.parseNumberSkeletonFromString(d, u.styleLocation);
|
|
3301
|
+
return f.err ? f : {
|
|
3302
|
+
val: { type: x.number, value: n, location: m, style: f.val },
|
|
3273
3303
|
err: null
|
|
3274
3304
|
};
|
|
3275
3305
|
} else {
|
|
3276
|
-
if (
|
|
3277
|
-
return this.error(
|
|
3278
|
-
var
|
|
3279
|
-
this.locale && (
|
|
3280
|
-
var
|
|
3306
|
+
if (d.length === 0)
|
|
3307
|
+
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3308
|
+
var S = d;
|
|
3309
|
+
this.locale && (S = gn(d, this.locale));
|
|
3310
|
+
var c = {
|
|
3281
3311
|
type: G.dateTime,
|
|
3282
|
-
pattern:
|
|
3312
|
+
pattern: S,
|
|
3283
3313
|
location: u.styleLocation,
|
|
3284
|
-
parsedOptions: this.shouldParseSkeletons ? cn(
|
|
3285
|
-
},
|
|
3314
|
+
parsedOptions: this.shouldParseSkeletons ? cn(S) : {}
|
|
3315
|
+
}, P = a === "date" ? x.date : x.time;
|
|
3286
3316
|
return {
|
|
3287
|
-
val: { type:
|
|
3317
|
+
val: { type: P, value: n, location: m, style: c },
|
|
3288
3318
|
err: null
|
|
3289
3319
|
};
|
|
3290
3320
|
}
|
|
3291
3321
|
}
|
|
3292
3322
|
return {
|
|
3293
3323
|
val: {
|
|
3294
|
-
type:
|
|
3324
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3295
3325
|
value: n,
|
|
3296
3326
|
location: m,
|
|
3297
3327
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
@@ -3302,52 +3332,52 @@ var Nn = (
|
|
|
3302
3332
|
case "plural":
|
|
3303
3333
|
case "selectordinal":
|
|
3304
3334
|
case "select": {
|
|
3305
|
-
var
|
|
3335
|
+
var H = this.clonePosition();
|
|
3306
3336
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3307
|
-
return this.error(
|
|
3337
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(H, g({}, H)));
|
|
3308
3338
|
this.bumpSpace();
|
|
3309
|
-
var
|
|
3310
|
-
if (
|
|
3339
|
+
var W = this.parseIdentifierIfPossible(), I = 0;
|
|
3340
|
+
if (a !== "select" && W.value === "offset") {
|
|
3311
3341
|
if (!this.bumpIf(":"))
|
|
3312
|
-
return this.error(
|
|
3342
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3313
3343
|
this.bumpSpace();
|
|
3314
|
-
var
|
|
3315
|
-
if (
|
|
3316
|
-
return
|
|
3317
|
-
this.bumpSpace(),
|
|
3344
|
+
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3345
|
+
if (f.err)
|
|
3346
|
+
return f;
|
|
3347
|
+
this.bumpSpace(), W = this.parseIdentifierIfPossible(), I = f.val;
|
|
3318
3348
|
}
|
|
3319
|
-
var
|
|
3320
|
-
if (
|
|
3321
|
-
return
|
|
3349
|
+
var ie = this.tryParsePluralOrSelectOptions(t, a, r, W);
|
|
3350
|
+
if (ie.err)
|
|
3351
|
+
return ie;
|
|
3322
3352
|
var v = this.tryParseArgumentClose(i);
|
|
3323
3353
|
if (v.err)
|
|
3324
3354
|
return v;
|
|
3325
|
-
var
|
|
3326
|
-
return
|
|
3355
|
+
var We = y(i, this.clonePosition());
|
|
3356
|
+
return a === "select" ? {
|
|
3327
3357
|
val: {
|
|
3328
3358
|
type: x.select,
|
|
3329
3359
|
value: n,
|
|
3330
|
-
options: ht(
|
|
3331
|
-
location:
|
|
3360
|
+
options: ht(ie.val),
|
|
3361
|
+
location: We
|
|
3332
3362
|
},
|
|
3333
3363
|
err: null
|
|
3334
3364
|
} : {
|
|
3335
3365
|
val: {
|
|
3336
3366
|
type: x.plural,
|
|
3337
3367
|
value: n,
|
|
3338
|
-
options: ht(
|
|
3368
|
+
options: ht(ie.val),
|
|
3339
3369
|
offset: I,
|
|
3340
|
-
pluralType:
|
|
3341
|
-
location:
|
|
3370
|
+
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3371
|
+
location: We
|
|
3342
3372
|
},
|
|
3343
3373
|
err: null
|
|
3344
3374
|
};
|
|
3345
3375
|
}
|
|
3346
3376
|
default:
|
|
3347
|
-
return this.error(
|
|
3377
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, y(s, h));
|
|
3348
3378
|
}
|
|
3349
3379
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3350
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3380
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3351
3381
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3352
3382
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3353
3383
|
var n = this.char();
|
|
@@ -3356,7 +3386,7 @@ var Nn = (
|
|
|
3356
3386
|
this.bump();
|
|
3357
3387
|
var i = this.clonePosition();
|
|
3358
3388
|
if (!this.bumpUntil("'"))
|
|
3359
|
-
return this.error(
|
|
3389
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
|
|
3360
3390
|
this.bump();
|
|
3361
3391
|
break;
|
|
3362
3392
|
}
|
|
@@ -3388,7 +3418,7 @@ var Nn = (
|
|
|
3388
3418
|
try {
|
|
3389
3419
|
n = mn(t);
|
|
3390
3420
|
} catch {
|
|
3391
|
-
return this.error(
|
|
3421
|
+
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3392
3422
|
}
|
|
3393
3423
|
return {
|
|
3394
3424
|
val: {
|
|
@@ -3400,50 +3430,50 @@ var Nn = (
|
|
|
3400
3430
|
err: null
|
|
3401
3431
|
};
|
|
3402
3432
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3403
|
-
for (var o,
|
|
3433
|
+
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3404
3434
|
if (u.length === 0) {
|
|
3405
|
-
var
|
|
3435
|
+
var f = this.clonePosition();
|
|
3406
3436
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3407
|
-
var
|
|
3408
|
-
if (
|
|
3409
|
-
return
|
|
3410
|
-
l =
|
|
3437
|
+
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3438
|
+
if (c.err)
|
|
3439
|
+
return c;
|
|
3440
|
+
l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3411
3441
|
} else
|
|
3412
3442
|
break;
|
|
3413
3443
|
}
|
|
3414
3444
|
if (h.has(u))
|
|
3415
|
-
return this.error(r === "select" ?
|
|
3416
|
-
u === "other" && (
|
|
3417
|
-
var
|
|
3445
|
+
return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3446
|
+
u === "other" && (s = !0), this.bumpSpace();
|
|
3447
|
+
var p = this.clonePosition();
|
|
3418
3448
|
if (!this.bumpIf("{"))
|
|
3419
|
-
return this.error(r === "select" ?
|
|
3449
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3420
3450
|
var v = this.parseMessage(t + 1, r, n);
|
|
3421
3451
|
if (v.err)
|
|
3422
3452
|
return v;
|
|
3423
|
-
var m = this.tryParseArgumentClose(
|
|
3453
|
+
var m = this.tryParseArgumentClose(p);
|
|
3424
3454
|
if (m.err)
|
|
3425
3455
|
return m;
|
|
3426
|
-
|
|
3456
|
+
a.push([
|
|
3427
3457
|
u,
|
|
3428
3458
|
{
|
|
3429
3459
|
value: v.val,
|
|
3430
|
-
location:
|
|
3460
|
+
location: y(p, this.clonePosition())
|
|
3431
3461
|
}
|
|
3432
3462
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3433
3463
|
}
|
|
3434
|
-
return
|
|
3464
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3435
3465
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3436
3466
|
var n = 1, i = this.clonePosition();
|
|
3437
3467
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3438
|
-
for (var o = !1,
|
|
3439
|
-
var
|
|
3440
|
-
if (
|
|
3441
|
-
o = !0,
|
|
3468
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3469
|
+
var a = this.char();
|
|
3470
|
+
if (a >= 48 && a <= 57)
|
|
3471
|
+
o = !0, s = s * 10 + (a - 48), this.bump();
|
|
3442
3472
|
else
|
|
3443
3473
|
break;
|
|
3444
3474
|
}
|
|
3445
|
-
var h =
|
|
3446
|
-
return o ? (
|
|
3475
|
+
var h = y(i, this.clonePosition());
|
|
3476
|
+
return o ? (s *= n, Pn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3447
3477
|
}, e.prototype.offset = function() {
|
|
3448
3478
|
return this.position.offset;
|
|
3449
3479
|
}, e.prototype.isEOF = function() {
|
|
@@ -3515,28 +3545,29 @@ function Ue(e) {
|
|
|
3515
3545
|
function Ln(e) {
|
|
3516
3546
|
return Ue(e) || e === 47;
|
|
3517
3547
|
}
|
|
3518
|
-
function
|
|
3548
|
+
function Mn(e) {
|
|
3519
3549
|
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;
|
|
3520
3550
|
}
|
|
3521
3551
|
function Vt(e) {
|
|
3522
3552
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3523
3553
|
}
|
|
3524
|
-
function
|
|
3554
|
+
function $n(e) {
|
|
3525
3555
|
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;
|
|
3526
3556
|
}
|
|
3527
3557
|
function De(e) {
|
|
3528
3558
|
e.forEach(function(t) {
|
|
3529
|
-
if (delete t.location, Lt(t) ||
|
|
3559
|
+
if (delete t.location, Lt(t) || Mt(t))
|
|
3530
3560
|
for (var r in t.options)
|
|
3531
3561
|
delete t.options[r].location, De(t.options[r].value);
|
|
3532
|
-
else
|
|
3562
|
+
else
|
|
3563
|
+
It(t) && Rt(t.style) || (Ct(t) || Nt(t)) && Le(t.style) ? delete t.style.location : $t(t) && De(t.children);
|
|
3533
3564
|
});
|
|
3534
3565
|
}
|
|
3535
3566
|
function Rn(e, t) {
|
|
3536
|
-
t === void 0 && (t = {}), t =
|
|
3567
|
+
t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3537
3568
|
var r = new Nn(e, t).parse();
|
|
3538
3569
|
if (r.err) {
|
|
3539
|
-
var n = SyntaxError(
|
|
3570
|
+
var n = SyntaxError(b[r.err.kind]);
|
|
3540
3571
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3541
3572
|
}
|
|
3542
3573
|
return t?.captureLocation || De(r.val), r.val;
|
|
@@ -3548,7 +3579,7 @@ var j;
|
|
|
3548
3579
|
var de = (
|
|
3549
3580
|
/** @class */
|
|
3550
3581
|
function(e) {
|
|
3551
|
-
|
|
3582
|
+
A(t, e);
|
|
3552
3583
|
function t(r, n, i) {
|
|
3553
3584
|
var o = e.call(this, r) || this;
|
|
3554
3585
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3560,7 +3591,7 @@ var de = (
|
|
|
3560
3591
|
), ct = (
|
|
3561
3592
|
/** @class */
|
|
3562
3593
|
function(e) {
|
|
3563
|
-
|
|
3594
|
+
A(t, e);
|
|
3564
3595
|
function t(r, n, i, o) {
|
|
3565
3596
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
|
|
3566
3597
|
}
|
|
@@ -3569,7 +3600,7 @@ var de = (
|
|
|
3569
3600
|
), Un = (
|
|
3570
3601
|
/** @class */
|
|
3571
3602
|
function(e) {
|
|
3572
|
-
|
|
3603
|
+
A(t, e);
|
|
3573
3604
|
function t(r, n, i) {
|
|
3574
3605
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
|
|
3575
3606
|
}
|
|
@@ -3578,132 +3609,132 @@ var de = (
|
|
|
3578
3609
|
), Dn = (
|
|
3579
3610
|
/** @class */
|
|
3580
3611
|
function(e) {
|
|
3581
|
-
|
|
3612
|
+
A(t, e);
|
|
3582
3613
|
function t(r, n) {
|
|
3583
3614
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
|
|
3584
3615
|
}
|
|
3585
3616
|
return t;
|
|
3586
3617
|
}(de)
|
|
3587
|
-
),
|
|
3618
|
+
), E;
|
|
3588
3619
|
(function(e) {
|
|
3589
3620
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3590
|
-
})(
|
|
3621
|
+
})(E || (E = {}));
|
|
3591
3622
|
function Fn(e) {
|
|
3592
3623
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3593
3624
|
var n = t[t.length - 1];
|
|
3594
|
-
return !n || n.type !==
|
|
3625
|
+
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3595
3626
|
}, []);
|
|
3596
3627
|
}
|
|
3597
3628
|
function Gn(e) {
|
|
3598
3629
|
return typeof e == "function";
|
|
3599
3630
|
}
|
|
3600
|
-
function
|
|
3631
|
+
function he(e, t, r, n, i, o, s) {
|
|
3601
3632
|
if (e.length === 1 && it(e[0]))
|
|
3602
3633
|
return [
|
|
3603
3634
|
{
|
|
3604
|
-
type:
|
|
3635
|
+
type: E.literal,
|
|
3605
3636
|
value: e[0].value
|
|
3606
3637
|
}
|
|
3607
3638
|
];
|
|
3608
|
-
for (var
|
|
3639
|
+
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3609
3640
|
var l = u[h];
|
|
3610
3641
|
if (it(l)) {
|
|
3611
|
-
|
|
3612
|
-
type:
|
|
3642
|
+
a.push({
|
|
3643
|
+
type: E.literal,
|
|
3613
3644
|
value: l.value
|
|
3614
3645
|
});
|
|
3615
3646
|
continue;
|
|
3616
3647
|
}
|
|
3617
3648
|
if (hn(l)) {
|
|
3618
|
-
typeof o == "number" &&
|
|
3619
|
-
type:
|
|
3649
|
+
typeof o == "number" && a.push({
|
|
3650
|
+
type: E.literal,
|
|
3620
3651
|
value: r.getNumberFormat(t).format(o)
|
|
3621
3652
|
});
|
|
3622
3653
|
continue;
|
|
3623
3654
|
}
|
|
3624
|
-
var
|
|
3625
|
-
if (!(i &&
|
|
3626
|
-
throw new Dn(
|
|
3627
|
-
var
|
|
3655
|
+
var f = l.value;
|
|
3656
|
+
if (!(i && f in i))
|
|
3657
|
+
throw new Dn(f, s);
|
|
3658
|
+
var c = i[f];
|
|
3628
3659
|
if (un(l)) {
|
|
3629
|
-
(!
|
|
3630
|
-
type: typeof
|
|
3631
|
-
value:
|
|
3660
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3661
|
+
type: typeof c == "string" ? E.literal : E.object,
|
|
3662
|
+
value: c
|
|
3632
3663
|
});
|
|
3633
3664
|
continue;
|
|
3634
3665
|
}
|
|
3635
3666
|
if (Ct(l)) {
|
|
3636
|
-
var
|
|
3637
|
-
|
|
3638
|
-
type:
|
|
3639
|
-
value: r.getDateTimeFormat(t,
|
|
3667
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Le(l.style) ? l.style.parsedOptions : void 0;
|
|
3668
|
+
a.push({
|
|
3669
|
+
type: E.literal,
|
|
3670
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3640
3671
|
});
|
|
3641
3672
|
continue;
|
|
3642
3673
|
}
|
|
3643
3674
|
if (Nt(l)) {
|
|
3644
|
-
var
|
|
3645
|
-
|
|
3646
|
-
type:
|
|
3647
|
-
value: r.getDateTimeFormat(t,
|
|
3675
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Le(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3676
|
+
a.push({
|
|
3677
|
+
type: E.literal,
|
|
3678
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3648
3679
|
});
|
|
3649
3680
|
continue;
|
|
3650
3681
|
}
|
|
3651
3682
|
if (It(l)) {
|
|
3652
|
-
var
|
|
3653
|
-
|
|
3654
|
-
type:
|
|
3655
|
-
value: r.getNumberFormat(t,
|
|
3683
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Rt(l.style) ? l.style.parsedOptions : void 0;
|
|
3684
|
+
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3685
|
+
type: E.literal,
|
|
3686
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3656
3687
|
});
|
|
3657
3688
|
continue;
|
|
3658
3689
|
}
|
|
3659
|
-
if (
|
|
3660
|
-
var v = l.children, m = l.value,
|
|
3661
|
-
if (!Gn(
|
|
3662
|
-
throw new Un(m, "function",
|
|
3663
|
-
var
|
|
3690
|
+
if ($t(l)) {
|
|
3691
|
+
var v = l.children, m = l.value, d = i[m];
|
|
3692
|
+
if (!Gn(d))
|
|
3693
|
+
throw new Un(m, "function", s);
|
|
3694
|
+
var S = he(v, t, r, n, i, o), P = d(S.map(function(I) {
|
|
3664
3695
|
return I.value;
|
|
3665
3696
|
}));
|
|
3666
|
-
Array.isArray(
|
|
3697
|
+
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(I) {
|
|
3667
3698
|
return {
|
|
3668
|
-
type: typeof I == "string" ?
|
|
3699
|
+
type: typeof I == "string" ? E.literal : E.object,
|
|
3669
3700
|
value: I
|
|
3670
3701
|
};
|
|
3671
3702
|
}));
|
|
3672
3703
|
}
|
|
3673
3704
|
if (Lt(l)) {
|
|
3674
|
-
var
|
|
3675
|
-
if (!
|
|
3676
|
-
throw new ct(l.value,
|
|
3677
|
-
|
|
3705
|
+
var H = l.options[c] || l.options.other;
|
|
3706
|
+
if (!H)
|
|
3707
|
+
throw new ct(l.value, c, Object.keys(l.options), s);
|
|
3708
|
+
a.push.apply(a, he(H.value, t, r, n, i));
|
|
3678
3709
|
continue;
|
|
3679
3710
|
}
|
|
3680
|
-
if (
|
|
3681
|
-
var
|
|
3682
|
-
if (!
|
|
3711
|
+
if (Mt(l)) {
|
|
3712
|
+
var H = l.options["=".concat(c)];
|
|
3713
|
+
if (!H) {
|
|
3683
3714
|
if (!Intl.PluralRules)
|
|
3684
3715
|
throw new de(`Intl.PluralRules is not available in this environment.
|
|
3685
3716
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3686
|
-
`, j.MISSING_INTL_API,
|
|
3687
|
-
var
|
|
3688
|
-
|
|
3717
|
+
`, j.MISSING_INTL_API, s);
|
|
3718
|
+
var W = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3719
|
+
H = l.options[W] || l.options.other;
|
|
3689
3720
|
}
|
|
3690
|
-
if (!
|
|
3691
|
-
throw new ct(l.value,
|
|
3692
|
-
|
|
3721
|
+
if (!H)
|
|
3722
|
+
throw new ct(l.value, c, Object.keys(l.options), s);
|
|
3723
|
+
a.push.apply(a, he(H.value, t, r, n, i, c - (l.offset || 0)));
|
|
3693
3724
|
continue;
|
|
3694
3725
|
}
|
|
3695
3726
|
}
|
|
3696
|
-
return Fn(
|
|
3727
|
+
return Fn(a);
|
|
3697
3728
|
}
|
|
3698
3729
|
function jn(e, t) {
|
|
3699
|
-
return t ?
|
|
3700
|
-
return r[n] =
|
|
3730
|
+
return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3731
|
+
return r[n] = g(g({}, e[n]), t[n] || {}), r;
|
|
3701
3732
|
}, {})) : e;
|
|
3702
3733
|
}
|
|
3703
3734
|
function kn(e, t) {
|
|
3704
3735
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3705
3736
|
return r[n] = jn(e[n], t[n]), r;
|
|
3706
|
-
},
|
|
3737
|
+
}, g({}, e)) : e;
|
|
3707
3738
|
}
|
|
3708
3739
|
function we(e) {
|
|
3709
3740
|
return {
|
|
@@ -3765,12 +3796,12 @@ var Xn = (
|
|
|
3765
3796
|
var u = o.formatToParts(h);
|
|
3766
3797
|
if (u.length === 1)
|
|
3767
3798
|
return u[0].value;
|
|
3768
|
-
var l = u.reduce(function(
|
|
3769
|
-
return !
|
|
3799
|
+
var l = u.reduce(function(f, c) {
|
|
3800
|
+
return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3770
3801
|
}, []);
|
|
3771
3802
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3772
3803
|
}, this.formatToParts = function(h) {
|
|
3773
|
-
return
|
|
3804
|
+
return he(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3774
3805
|
}, this.resolvedOptions = function() {
|
|
3775
3806
|
var h;
|
|
3776
3807
|
return {
|
|
@@ -3781,10 +3812,10 @@ var Xn = (
|
|
|
3781
3812
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3782
3813
|
if (this.message = t, !e.__parse)
|
|
3783
3814
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3784
|
-
var
|
|
3785
|
-
|
|
3786
|
-
var
|
|
3787
|
-
this.ast = e.__parse(t,
|
|
3815
|
+
var s = i || {};
|
|
3816
|
+
s.formatters;
|
|
3817
|
+
var a = Sr(s, ["formatters"]);
|
|
3818
|
+
this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
|
|
3788
3819
|
} else
|
|
3789
3820
|
this.ast = t;
|
|
3790
3821
|
if (!Array.isArray(this.ast))
|
|
@@ -3863,7 +3894,7 @@ var Xn = (
|
|
|
3863
3894
|
}, e;
|
|
3864
3895
|
}()
|
|
3865
3896
|
);
|
|
3866
|
-
function
|
|
3897
|
+
function zn(e, t) {
|
|
3867
3898
|
if (t == null)
|
|
3868
3899
|
return;
|
|
3869
3900
|
if (t in e)
|
|
@@ -3884,7 +3915,7 @@ function Wn(e, t) {
|
|
|
3884
3915
|
n = void 0;
|
|
3885
3916
|
return n;
|
|
3886
3917
|
}
|
|
3887
|
-
const O = {},
|
|
3918
|
+
const O = {}, Wn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Xt = (e, t) => {
|
|
3888
3919
|
if (t == null)
|
|
3889
3920
|
return;
|
|
3890
3921
|
if (t in O && e in O[t])
|
|
@@ -3893,22 +3924,22 @@ const O = {}, zn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][
|
|
|
3893
3924
|
for (let n = 0; n < r.length; n++) {
|
|
3894
3925
|
const i = r[n], o = Qn(i, e);
|
|
3895
3926
|
if (o)
|
|
3896
|
-
return
|
|
3927
|
+
return Wn(e, t, o);
|
|
3897
3928
|
}
|
|
3898
3929
|
};
|
|
3899
3930
|
let Xe;
|
|
3900
|
-
const
|
|
3931
|
+
const re = pe({});
|
|
3901
3932
|
function Zn(e) {
|
|
3902
3933
|
return Xe[e] || null;
|
|
3903
3934
|
}
|
|
3904
|
-
function
|
|
3935
|
+
function zt(e) {
|
|
3905
3936
|
return e in Xe;
|
|
3906
3937
|
}
|
|
3907
3938
|
function Qn(e, t) {
|
|
3908
|
-
if (!
|
|
3939
|
+
if (!zt(e))
|
|
3909
3940
|
return null;
|
|
3910
3941
|
const r = Zn(e);
|
|
3911
|
-
return
|
|
3942
|
+
return zn(r, t);
|
|
3912
3943
|
}
|
|
3913
3944
|
function Jn(e) {
|
|
3914
3945
|
if (e == null)
|
|
@@ -3916,28 +3947,28 @@ function Jn(e) {
|
|
|
3916
3947
|
const t = be(e);
|
|
3917
3948
|
for (let r = 0; r < t.length; r++) {
|
|
3918
3949
|
const n = t[r];
|
|
3919
|
-
if (
|
|
3950
|
+
if (zt(n))
|
|
3920
3951
|
return n;
|
|
3921
3952
|
}
|
|
3922
3953
|
}
|
|
3923
3954
|
function Yn(e, ...t) {
|
|
3924
|
-
delete O[e],
|
|
3955
|
+
delete O[e], re.update((r) => (r[e] = en.all([r[e] || {}, ...t]), r));
|
|
3925
3956
|
}
|
|
3926
3957
|
X(
|
|
3927
|
-
[
|
|
3958
|
+
[re],
|
|
3928
3959
|
([e]) => Object.keys(e)
|
|
3929
3960
|
);
|
|
3930
|
-
|
|
3931
|
-
const
|
|
3961
|
+
re.subscribe((e) => Xe = e);
|
|
3962
|
+
const le = {};
|
|
3932
3963
|
function qn(e, t) {
|
|
3933
|
-
|
|
3964
|
+
le[e].delete(t), le[e].size === 0 && delete le[e];
|
|
3934
3965
|
}
|
|
3935
|
-
function
|
|
3936
|
-
return
|
|
3966
|
+
function Wt(e) {
|
|
3967
|
+
return le[e];
|
|
3937
3968
|
}
|
|
3938
3969
|
function Kn(e) {
|
|
3939
3970
|
return be(e).map((t) => {
|
|
3940
|
-
const r =
|
|
3971
|
+
const r = Wt(t);
|
|
3941
3972
|
return [t, r ? [...r] : []];
|
|
3942
3973
|
}).filter(([, t]) => t.length > 0);
|
|
3943
3974
|
}
|
|
@@ -3945,7 +3976,7 @@ function Fe(e) {
|
|
|
3945
3976
|
return e == null ? !1 : be(e).some(
|
|
3946
3977
|
(t) => {
|
|
3947
3978
|
var r;
|
|
3948
|
-
return (r =
|
|
3979
|
+
return (r = Wt(t)) == null ? void 0 : r.size;
|
|
3949
3980
|
}
|
|
3950
3981
|
);
|
|
3951
3982
|
}
|
|
@@ -4047,7 +4078,7 @@ const ci = (e) => {
|
|
|
4047
4078
|
});
|
|
4048
4079
|
}
|
|
4049
4080
|
return ce.set(e);
|
|
4050
|
-
},
|
|
4081
|
+
}, ne = li(hi({}, ce), {
|
|
4051
4082
|
set: ci
|
|
4052
4083
|
}), ye = (e) => {
|
|
4053
4084
|
const t = /* @__PURE__ */ Object.create(null);
|
|
@@ -4056,14 +4087,14 @@ const ci = (e) => {
|
|
|
4056
4087
|
return i in t ? t[i] : t[i] = e(n);
|
|
4057
4088
|
};
|
|
4058
4089
|
};
|
|
4059
|
-
var fi = Object.defineProperty, fe = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r,
|
|
4090
|
+
var fi = Object.defineProperty, fe = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
|
|
4060
4091
|
for (var r in t || (t = {}))
|
|
4061
4092
|
Qt.call(t, r) && dt(e, r, t[r]);
|
|
4062
4093
|
if (fe)
|
|
4063
4094
|
for (var r of fe(t))
|
|
4064
4095
|
Jt.call(t, r) && dt(e, r, t[r]);
|
|
4065
4096
|
return e;
|
|
4066
|
-
},
|
|
4097
|
+
}, z = (e, t) => {
|
|
4067
4098
|
var r = {};
|
|
4068
4099
|
for (var n in e)
|
|
4069
4100
|
Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -4072,69 +4103,69 @@ var fi = Object.defineProperty, fe = Object.getOwnPropertySymbols, Qt = Object.p
|
|
|
4072
4103
|
t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
|
|
4073
4104
|
return r;
|
|
4074
4105
|
};
|
|
4075
|
-
const
|
|
4106
|
+
const K = (e, t) => {
|
|
4076
4107
|
const { formats: r } = k();
|
|
4077
4108
|
if (e in r && t in r[e])
|
|
4078
4109
|
return r[e][t];
|
|
4079
4110
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4080
4111
|
}, mi = ye(
|
|
4081
4112
|
(e) => {
|
|
4082
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4113
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4083
4114
|
if (r == null)
|
|
4084
4115
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4085
|
-
return n && (i =
|
|
4116
|
+
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
4086
4117
|
}
|
|
4087
4118
|
), pi = ye(
|
|
4088
4119
|
(e) => {
|
|
4089
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4120
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4090
4121
|
if (r == null)
|
|
4091
4122
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4092
|
-
return n ? i =
|
|
4123
|
+
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4093
4124
|
}
|
|
4094
4125
|
), di = ye(
|
|
4095
4126
|
(e) => {
|
|
4096
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4127
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4097
4128
|
if (r == null)
|
|
4098
4129
|
throw new Error(
|
|
4099
4130
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4100
4131
|
);
|
|
4101
|
-
return n ? i =
|
|
4132
|
+
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4102
4133
|
}
|
|
4103
4134
|
), bi = (e = {}) => {
|
|
4104
4135
|
var t = e, {
|
|
4105
4136
|
locale: r = N()
|
|
4106
|
-
} = t, n =
|
|
4137
|
+
} = t, n = z(t, [
|
|
4107
4138
|
"locale"
|
|
4108
4139
|
]);
|
|
4109
|
-
return mi(
|
|
4140
|
+
return mi(ze({ locale: r }, n));
|
|
4110
4141
|
}, yi = (e = {}) => {
|
|
4111
4142
|
var t = e, {
|
|
4112
4143
|
locale: r = N()
|
|
4113
|
-
} = t, n =
|
|
4144
|
+
} = t, n = z(t, [
|
|
4114
4145
|
"locale"
|
|
4115
4146
|
]);
|
|
4116
|
-
return pi(
|
|
4117
|
-
},
|
|
4147
|
+
return pi(ze({ locale: r }, n));
|
|
4148
|
+
}, gi = (e = {}) => {
|
|
4118
4149
|
var t = e, {
|
|
4119
4150
|
locale: r = N()
|
|
4120
|
-
} = t, n =
|
|
4151
|
+
} = t, n = z(t, [
|
|
4121
4152
|
"locale"
|
|
4122
4153
|
]);
|
|
4123
|
-
return di(
|
|
4124
|
-
},
|
|
4154
|
+
return di(ze({ locale: r }, n));
|
|
4155
|
+
}, vi = ye(
|
|
4125
4156
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4126
4157
|
(e, t = N()) => new Xn(e, t, k().formats, {
|
|
4127
4158
|
ignoreTag: k().ignoreTag
|
|
4128
4159
|
})
|
|
4129
4160
|
), xi = (e, t = {}) => {
|
|
4130
4161
|
var r, n, i, o;
|
|
4131
|
-
let
|
|
4132
|
-
typeof e == "object" && (
|
|
4162
|
+
let s = t;
|
|
4163
|
+
typeof e == "object" && (s = e, e = s.id);
|
|
4133
4164
|
const {
|
|
4134
|
-
values:
|
|
4165
|
+
values: a,
|
|
4135
4166
|
locale: h = N(),
|
|
4136
4167
|
default: u
|
|
4137
|
-
} =
|
|
4168
|
+
} = s;
|
|
4138
4169
|
if (h == null)
|
|
4139
4170
|
throw new Error(
|
|
4140
4171
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
@@ -4146,72 +4177,95 @@ const q = (e, t) => {
|
|
|
4146
4177
|
return console.warn(
|
|
4147
4178
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4148
4179
|
), l;
|
|
4149
|
-
if (!
|
|
4180
|
+
if (!a)
|
|
4150
4181
|
return l;
|
|
4151
|
-
let
|
|
4182
|
+
let f = l;
|
|
4152
4183
|
try {
|
|
4153
|
-
|
|
4154
|
-
} catch (
|
|
4155
|
-
|
|
4184
|
+
f = vi(l, h).format(a);
|
|
4185
|
+
} catch (c) {
|
|
4186
|
+
c instanceof Error && console.warn(
|
|
4156
4187
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4157
|
-
|
|
4188
|
+
c.message
|
|
4158
4189
|
);
|
|
4159
4190
|
}
|
|
4160
|
-
return
|
|
4161
|
-
}, _i = (e, t) =>
|
|
4162
|
-
X([
|
|
4163
|
-
X([
|
|
4164
|
-
X([
|
|
4165
|
-
X([
|
|
4166
|
-
X([
|
|
4191
|
+
return f;
|
|
4192
|
+
}, _i = (e, t) => gi(t).format(e), Ei = (e, t) => yi(t).format(e), Si = (e, t) => bi(t).format(e), wi = (e, t = N()) => Xt(e, t);
|
|
4193
|
+
X([ne, re], () => xi);
|
|
4194
|
+
X([ne], () => _i);
|
|
4195
|
+
X([ne], () => Ei);
|
|
4196
|
+
X([ne], () => Si);
|
|
4197
|
+
X([ne, re], () => wi);
|
|
4167
4198
|
window.emWidgets = { topic: Rr };
|
|
4168
4199
|
const Hi = (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));
|
|
4169
|
-
function Ti(e) {
|
|
4170
|
-
|
|
4200
|
+
function Ti(e, t) {
|
|
4201
|
+
if (e) {
|
|
4202
|
+
const r = document.createElement("style");
|
|
4203
|
+
r.innerHTML = t, e.appendChild(r);
|
|
4204
|
+
}
|
|
4205
|
+
}
|
|
4206
|
+
function Bi(e, t) {
|
|
4207
|
+
const r = new URL(t);
|
|
4208
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4209
|
+
const i = document.createElement("style");
|
|
4210
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
4211
|
+
}).catch((n) => {
|
|
4212
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4213
|
+
});
|
|
4214
|
+
}
|
|
4215
|
+
function Ai(e, t, r) {
|
|
4216
|
+
if (window.emMessageBus) {
|
|
4217
|
+
const n = document.createElement("style");
|
|
4218
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
4219
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
4220
|
+
});
|
|
4221
|
+
}
|
|
4222
|
+
}
|
|
4223
|
+
function Pi(e) {
|
|
4224
|
+
Kt(e, "svelte-mm6oz3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
|
|
4171
4225
|
}
|
|
4172
4226
|
function bt(e) {
|
|
4173
|
-
let t, r, n, i, o,
|
|
4174
|
-
function d
|
|
4227
|
+
let t, r, n, i, o, s, a, h, u, l, f, c;
|
|
4228
|
+
function p(d, S) {
|
|
4175
4229
|
return (
|
|
4176
4230
|
/*isLoading*/
|
|
4177
|
-
|
|
4231
|
+
d[3] ? Ii : Oi
|
|
4178
4232
|
);
|
|
4179
4233
|
}
|
|
4180
|
-
let v =
|
|
4234
|
+
let v = p(e), m = v(e);
|
|
4181
4235
|
return {
|
|
4182
4236
|
c() {
|
|
4183
|
-
t = D("button"), r = D("small"), m.c(), n = rr(), i = C("svg"), o = C("g"),
|
|
4237
|
+
t = D("button"), r = D("small"), m.c(), n = rr(), i = C("svg"), o = C("g"), s = C("path"), a = C("path"), h = C("path"), u = C("path"), l = C("path"), _(r, "class", "betslipIndicator__number"), _(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
|
|
4184
4238
|
c0-1.1-0.9-2-2-2H6C2.7,3,0,5.7,0,9v82c0,3.3,2.7,6,6,6h11c1.1,0,2-0.9,2-2c0-7.2,5.8-13,13-13S45,87.8,45,95z M32,78
|
|
4185
4239
|
c-8.6,0-15.9,6.4-16.9,15H6c-1.1,0-2-0.9-2-2V9c0-1.1,0.9-2,2-2h9.1c1.2,9.3,9.7,15.9,19,14.8c7.7-1,13.8-7,14.8-14.8H58
|
|
4186
|
-
c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`),
|
|
4240
|
+
c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), _(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), _(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), _(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), _(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), _(i, "version", "1.1"), _(i, "id", "Layer_1"), _(i, "class", "betslipIndicator__icon"), _(i, "xmlns", "http://www.w3.org/2000/svg"), _(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), _(i, "x", "0px"), _(i, "y", "0px"), _(i, "viewBox", "0 0 64 100"), sr(i, "enable-background", "new 0 0 64 100"), _(i, "xml:space", "preserve"), _(t, "class", "betslipIndicator");
|
|
4187
4241
|
},
|
|
4188
|
-
m(
|
|
4189
|
-
|
|
4242
|
+
m(d, S) {
|
|
4243
|
+
te(d, t, S), T(t, r), m.m(r, null), T(t, n), T(t, i), T(i, o), T(o, s), T(o, a), T(o, h), T(o, u), T(o, l), f || (c = nr(
|
|
4190
4244
|
t,
|
|
4191
4245
|
"click",
|
|
4192
4246
|
/*click_handler*/
|
|
4193
|
-
e[
|
|
4194
|
-
),
|
|
4247
|
+
e[8]
|
|
4248
|
+
), f = !0);
|
|
4195
4249
|
},
|
|
4196
|
-
p(
|
|
4197
|
-
v === (v = d
|
|
4250
|
+
p(d, S) {
|
|
4251
|
+
v === (v = p(d)) && m ? m.p(d, S) : (m.d(1), m = v(d), m && (m.c(), m.m(r, null)));
|
|
4198
4252
|
},
|
|
4199
|
-
d(
|
|
4200
|
-
|
|
4253
|
+
d(d) {
|
|
4254
|
+
d && V(t), m.d(), f = !1, c();
|
|
4201
4255
|
}
|
|
4202
4256
|
};
|
|
4203
4257
|
}
|
|
4204
|
-
function
|
|
4258
|
+
function Oi(e) {
|
|
4205
4259
|
let t;
|
|
4206
4260
|
return {
|
|
4207
4261
|
c() {
|
|
4208
|
-
t =
|
|
4262
|
+
t = vt(
|
|
4209
4263
|
/*betNumber*/
|
|
4210
4264
|
e[1]
|
|
4211
4265
|
);
|
|
4212
4266
|
},
|
|
4213
4267
|
m(r, n) {
|
|
4214
|
-
|
|
4268
|
+
te(r, t, n);
|
|
4215
4269
|
},
|
|
4216
4270
|
p(r, n) {
|
|
4217
4271
|
n & /*betNumber*/
|
|
@@ -4226,22 +4280,22 @@ function Bi(e) {
|
|
|
4226
4280
|
}
|
|
4227
4281
|
};
|
|
4228
4282
|
}
|
|
4229
|
-
function
|
|
4283
|
+
function Ii(e) {
|
|
4230
4284
|
let t;
|
|
4231
4285
|
return {
|
|
4232
4286
|
c() {
|
|
4233
|
-
t = D("div"), t.textContent = "Loading...",
|
|
4287
|
+
t = D("div"), t.textContent = "Loading...", _(t, "class", "loader");
|
|
4234
4288
|
},
|
|
4235
4289
|
m(r, n) {
|
|
4236
|
-
|
|
4290
|
+
te(r, t, n);
|
|
4237
4291
|
},
|
|
4238
|
-
p:
|
|
4292
|
+
p: w,
|
|
4239
4293
|
d(r) {
|
|
4240
4294
|
r && V(t);
|
|
4241
4295
|
}
|
|
4242
4296
|
};
|
|
4243
4297
|
}
|
|
4244
|
-
function
|
|
4298
|
+
function Ci(e) {
|
|
4245
4299
|
let t, r = (
|
|
4246
4300
|
/*mobileView*/
|
|
4247
4301
|
e[2] && /*betNumber*/
|
|
@@ -4252,101 +4306,108 @@ function Pi(e) {
|
|
|
4252
4306
|
t = D("div"), r && r.c();
|
|
4253
4307
|
},
|
|
4254
4308
|
m(n, i) {
|
|
4255
|
-
|
|
4309
|
+
te(n, t, i), r && r.m(t, null), e[9](t);
|
|
4256
4310
|
},
|
|
4257
4311
|
p(n, [i]) {
|
|
4258
4312
|
/*mobileView*/
|
|
4259
4313
|
n[2] && /*betNumber*/
|
|
4260
4314
|
n[1] > 0 ? r ? r.p(n, i) : (r = bt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4261
4315
|
},
|
|
4262
|
-
i:
|
|
4263
|
-
o:
|
|
4316
|
+
i: w,
|
|
4317
|
+
o: w,
|
|
4264
4318
|
d(n) {
|
|
4265
|
-
n && V(t), r && r.d(), e[
|
|
4319
|
+
n && V(t), r && r.d(), e[9](null);
|
|
4266
4320
|
}
|
|
4267
4321
|
};
|
|
4268
4322
|
}
|
|
4269
|
-
function
|
|
4270
|
-
let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, o, a = window.navigator.userAgent,
|
|
4271
|
-
const
|
|
4323
|
+
function Ni(e, t, r) {
|
|
4324
|
+
let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: o } = t, s, a = window.navigator.userAgent, h = null, u = !1, l = !0;
|
|
4325
|
+
const f = () => {
|
|
4272
4326
|
window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
|
|
4273
|
-
}, c = (
|
|
4274
|
-
|
|
4275
|
-
|
|
4327
|
+
}, c = (d, S) => {
|
|
4328
|
+
s.dispatchEvent(new CustomEvent(
|
|
4329
|
+
d,
|
|
4276
4330
|
{
|
|
4277
|
-
detail:
|
|
4331
|
+
detail: S,
|
|
4278
4332
|
composed: !0,
|
|
4279
4333
|
bubbles: !0
|
|
4280
4334
|
// propagate across the shadow DOM
|
|
4281
4335
|
}
|
|
4282
4336
|
));
|
|
4283
|
-
},
|
|
4284
|
-
const { type:
|
|
4285
|
-
if (
|
|
4286
|
-
switch (
|
|
4337
|
+
}, p = (d) => {
|
|
4338
|
+
const { type: S, payload: P } = d.data;
|
|
4339
|
+
if (d.data)
|
|
4340
|
+
switch (S) {
|
|
4287
4341
|
case "OMFE:updateBetslipSelectionsCount":
|
|
4288
|
-
r(1,
|
|
4342
|
+
r(1, h = P.count), r(3, l = !1);
|
|
4289
4343
|
break;
|
|
4290
4344
|
}
|
|
4291
|
-
}, d = () => {
|
|
4292
|
-
let g = document.createElement("style");
|
|
4293
|
-
g.innerHTML = n, o.appendChild(g);
|
|
4294
|
-
}, v = () => {
|
|
4295
|
-
let g = new URL(i), H = document.createElement("style");
|
|
4296
|
-
fetch(g.href).then((S) => S.text()).then((S) => {
|
|
4297
|
-
H.innerHTML = S, setTimeout(
|
|
4298
|
-
() => {
|
|
4299
|
-
o.appendChild(H);
|
|
4300
|
-
},
|
|
4301
|
-
1
|
|
4302
|
-
);
|
|
4303
|
-
});
|
|
4304
4345
|
};
|
|
4305
|
-
hr(() => (
|
|
4306
|
-
window.removeEventListener("message",
|
|
4346
|
+
hr(() => (f(), window.addEventListener("message", p, !1), Hi(a) && r(2, u = !0), () => {
|
|
4347
|
+
window.removeEventListener("message", p);
|
|
4307
4348
|
}));
|
|
4308
|
-
const
|
|
4309
|
-
function
|
|
4310
|
-
Te[
|
|
4311
|
-
|
|
4349
|
+
const v = (d) => c("betslipClick", {});
|
|
4350
|
+
function m(d) {
|
|
4351
|
+
Te[d ? "unshift" : "push"](() => {
|
|
4352
|
+
s = d, r(0, s);
|
|
4312
4353
|
});
|
|
4313
4354
|
}
|
|
4314
|
-
return e.$$set = (
|
|
4315
|
-
"clientstyling" in
|
|
4355
|
+
return e.$$set = (d) => {
|
|
4356
|
+
"clientstyling" in d && r(5, n = d.clientstyling), "clientstylingurl" in d && r(6, i = d.clientstylingurl), "mbsource" in d && r(7, o = d.mbsource);
|
|
4316
4357
|
}, e.$$.update = () => {
|
|
4317
|
-
e.$$.dirty & /*
|
|
4318
|
-
|
|
4319
|
-
|
|
4358
|
+
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4359
|
+
33 && n && s && Ti(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4360
|
+
65 && i && s && Bi(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4361
|
+
129 && o && s && Ai(s, `${o}.Style`);
|
|
4320
4362
|
}, [
|
|
4321
|
-
o,
|
|
4322
4363
|
s,
|
|
4323
4364
|
h,
|
|
4324
4365
|
u,
|
|
4366
|
+
l,
|
|
4325
4367
|
c,
|
|
4326
4368
|
n,
|
|
4327
4369
|
i,
|
|
4328
|
-
|
|
4329
|
-
|
|
4370
|
+
o,
|
|
4371
|
+
v,
|
|
4372
|
+
m
|
|
4330
4373
|
];
|
|
4331
4374
|
}
|
|
4332
|
-
class
|
|
4375
|
+
class Li extends _r {
|
|
4333
4376
|
constructor(t) {
|
|
4334
|
-
super(),
|
|
4377
|
+
super(), vr(
|
|
4378
|
+
this,
|
|
4379
|
+
t,
|
|
4380
|
+
Ni,
|
|
4381
|
+
Ci,
|
|
4382
|
+
gt,
|
|
4383
|
+
{
|
|
4384
|
+
clientstyling: 5,
|
|
4385
|
+
clientstylingurl: 6,
|
|
4386
|
+
mbsource: 7
|
|
4387
|
+
},
|
|
4388
|
+
Pi
|
|
4389
|
+
);
|
|
4335
4390
|
}
|
|
4336
4391
|
get clientstyling() {
|
|
4337
4392
|
return this.$$.ctx[5];
|
|
4338
4393
|
}
|
|
4339
4394
|
set clientstyling(t) {
|
|
4340
|
-
this.$$set({ clientstyling: t }),
|
|
4395
|
+
this.$$set({ clientstyling: t }), J();
|
|
4341
4396
|
}
|
|
4342
4397
|
get clientstylingurl() {
|
|
4343
4398
|
return this.$$.ctx[6];
|
|
4344
4399
|
}
|
|
4345
4400
|
set clientstylingurl(t) {
|
|
4346
|
-
this.$$set({ clientstylingurl: t }),
|
|
4401
|
+
this.$$set({ clientstylingurl: t }), J();
|
|
4402
|
+
}
|
|
4403
|
+
get mbsource() {
|
|
4404
|
+
return this.$$.ctx[7];
|
|
4405
|
+
}
|
|
4406
|
+
set mbsource(t) {
|
|
4407
|
+
this.$$set({ mbsource: t }), J();
|
|
4347
4408
|
}
|
|
4348
4409
|
}
|
|
4349
|
-
xr(
|
|
4410
|
+
xr(Li, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4350
4411
|
export {
|
|
4351
|
-
|
|
4412
|
+
Li as C
|
|
4352
4413
|
};
|