@everymatrix/casino-betslip-indicator 1.60.1 → 1.61.0
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-CxgKuX53.js → CasinoBetslipIndicator-BTTRe29S.js} +558 -580
- package/components/{CasinoBetslipIndicator-Cbr684dS.js → CasinoBetslipIndicator-CRZPEe0d.js} +570 -592
- package/components/CasinoBetslipIndicator-DmmymBIC.cjs +21 -0
- 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-C5fgTNOy.cjs +0 -21
package/components/{CasinoBetslipIndicator-Cbr684dS.js → CasinoBetslipIndicator-CRZPEe0d.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Kt = Object.defineProperty, er = Object.defineProperties;
|
|
2
|
+
var tr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ze = Object.getOwnPropertySymbols;
|
|
4
|
+
var rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ge = (e, t, r) => t in e ? Kt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
rr.call(t, r) && ge(e, r, t[r]);
|
|
8
|
+
if (ze)
|
|
9
|
+
for (var r of ze(t))
|
|
10
|
+
nr.call(t, r) && ge(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var w = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, Qe = (e, t) => er(e, tr(t));
|
|
13
|
+
var w = (e, t, r) => (ge(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Je = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(h));
|
|
@@ -29,25 +29,25 @@ var Ke = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function H() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function xt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Ye() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function te(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(xt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function ke(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function _t(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function ir(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function or(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
@@ -59,14 +59,14 @@ function hr(e, ...t) {
|
|
|
59
59
|
function B(e, t) {
|
|
60
60
|
e.appendChild(t);
|
|
61
61
|
}
|
|
62
|
-
function
|
|
63
|
-
const n =
|
|
62
|
+
function sr(e, t, r) {
|
|
63
|
+
const n = ar(e);
|
|
64
64
|
if (!n.getElementById(t)) {
|
|
65
65
|
const i = F("style");
|
|
66
|
-
i.id = t, i.textContent = r,
|
|
66
|
+
i.id = t, i.textContent = r, ur(n, i);
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
|
-
function
|
|
69
|
+
function ar(e) {
|
|
70
70
|
if (!e)
|
|
71
71
|
return document;
|
|
72
72
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -76,7 +76,7 @@ function cr(e) {
|
|
|
76
76
|
t
|
|
77
77
|
) : e.ownerDocument;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function ur(e, t) {
|
|
80
80
|
return B(
|
|
81
81
|
/** @type {Document} */
|
|
82
82
|
e.head || e,
|
|
@@ -92,32 +92,32 @@ function X(e) {
|
|
|
92
92
|
function F(e) {
|
|
93
93
|
return document.createElement(e);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function C(e) {
|
|
96
96
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function Et(e) {
|
|
99
99
|
return document.createTextNode(e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
101
|
+
function hr() {
|
|
102
|
+
return Et(" ");
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function lr(e, t, r, n) {
|
|
105
105
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
106
106
|
}
|
|
107
107
|
function _(e, t, r) {
|
|
108
108
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function cr(e) {
|
|
111
111
|
return Array.from(e.childNodes);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function fr(e, t) {
|
|
114
114
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
115
115
|
t);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function mr(e, t, r, n) {
|
|
118
118
|
e.style.setProperty(t, r, "");
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function pr(e) {
|
|
121
121
|
const t = {};
|
|
122
122
|
return e.childNodes.forEach(
|
|
123
123
|
/** @param {Element} node */
|
|
@@ -130,22 +130,22 @@ let q;
|
|
|
130
130
|
function J(e) {
|
|
131
131
|
q = e;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function dr() {
|
|
134
134
|
if (!q)
|
|
135
135
|
throw new Error("Function called outside component initialization");
|
|
136
136
|
return q;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
|
|
138
|
+
function br(e) {
|
|
139
|
+
dr().$$.on_mount.push(e);
|
|
140
140
|
}
|
|
141
|
-
const R = [],
|
|
141
|
+
const R = [], Be = [];
|
|
142
142
|
let U = [];
|
|
143
|
-
const
|
|
144
|
-
let
|
|
145
|
-
function
|
|
146
|
-
|
|
143
|
+
const qe = [], vr = /* @__PURE__ */ Promise.resolve();
|
|
144
|
+
let Ae = !1;
|
|
145
|
+
function yr() {
|
|
146
|
+
Ae || (Ae = !0, vr.then(Y));
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function Pe(e) {
|
|
149
149
|
U.push(e);
|
|
150
150
|
}
|
|
151
151
|
const xe = /* @__PURE__ */ new Set();
|
|
@@ -158,53 +158,53 @@ function Y() {
|
|
|
158
158
|
try {
|
|
159
159
|
for (; M < R.length; ) {
|
|
160
160
|
const t = R[M];
|
|
161
|
-
M++, J(t),
|
|
161
|
+
M++, J(t), gr(t.$$);
|
|
162
162
|
}
|
|
163
163
|
} catch (t) {
|
|
164
164
|
throw R.length = 0, M = 0, t;
|
|
165
165
|
}
|
|
166
|
-
for (J(null), R.length = 0, M = 0;
|
|
167
|
-
|
|
166
|
+
for (J(null), R.length = 0, M = 0; Be.length; )
|
|
167
|
+
Be.pop()();
|
|
168
168
|
for (let t = 0; t < U.length; t += 1) {
|
|
169
169
|
const r = U[t];
|
|
170
170
|
xe.has(r) || (xe.add(r), r());
|
|
171
171
|
}
|
|
172
172
|
U.length = 0;
|
|
173
173
|
} while (R.length);
|
|
174
|
-
for (;
|
|
175
|
-
|
|
176
|
-
|
|
174
|
+
for (; qe.length; )
|
|
175
|
+
qe.pop()();
|
|
176
|
+
Ae = !1, xe.clear(), J(e);
|
|
177
177
|
}
|
|
178
|
-
function
|
|
178
|
+
function gr(e) {
|
|
179
179
|
if (e.fragment !== null) {
|
|
180
180
|
e.update(), te(e.before_update);
|
|
181
181
|
const t = e.dirty;
|
|
182
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
182
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Pe);
|
|
183
183
|
}
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function xr(e) {
|
|
186
186
|
const t = [], r = [];
|
|
187
187
|
U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
|
|
188
188
|
}
|
|
189
|
-
const
|
|
190
|
-
function
|
|
191
|
-
e && e.i && (
|
|
189
|
+
const _r = /* @__PURE__ */ new Set();
|
|
190
|
+
function Er(e, t) {
|
|
191
|
+
e && e.i && (_r.delete(e), e.i(t));
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function Sr(e, t, r) {
|
|
194
194
|
const { fragment: n, after_update: i } = e.$$;
|
|
195
|
-
n && n.m(t, r),
|
|
196
|
-
const o = e.$$.on_mount.map(
|
|
195
|
+
n && n.m(t, r), Pe(() => {
|
|
196
|
+
const o = e.$$.on_mount.map(xt).filter(ke);
|
|
197
197
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
|
|
198
|
-
}), i.forEach(
|
|
198
|
+
}), i.forEach(Pe);
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function wr(e, t) {
|
|
201
201
|
const r = e.$$;
|
|
202
|
-
r.fragment !== null && (
|
|
202
|
+
r.fragment !== null && (xr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
e.$$.dirty[0] === -1 && (R.push(e),
|
|
204
|
+
function Hr(e, t) {
|
|
205
|
+
e.$$.dirty[0] === -1 && (R.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
208
208
|
const h = q;
|
|
209
209
|
J(e);
|
|
210
210
|
const u = e.$$ = {
|
|
@@ -214,7 +214,7 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
214
214
|
props: o,
|
|
215
215
|
update: H,
|
|
216
216
|
not_equal: i,
|
|
217
|
-
bound:
|
|
217
|
+
bound: Ye(),
|
|
218
218
|
// lifecycle
|
|
219
219
|
on_mount: [],
|
|
220
220
|
on_destroy: [],
|
|
@@ -223,7 +223,7 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
223
223
|
after_update: [],
|
|
224
224
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
225
225
|
// everything else
|
|
226
|
-
callbacks:
|
|
226
|
+
callbacks: Ye(),
|
|
227
227
|
dirty: a,
|
|
228
228
|
skip_bound: !1,
|
|
229
229
|
root: t.target || h.$$.root
|
|
@@ -231,20 +231,20 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
231
231
|
s && s(u.root);
|
|
232
232
|
let l = !1;
|
|
233
233
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
234
|
-
const
|
|
235
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] =
|
|
234
|
+
const g = p.length ? p[0] : c;
|
|
235
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && Hr(e, f)), c;
|
|
236
236
|
}) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
237
237
|
if (t.hydrate) {
|
|
238
|
-
const f =
|
|
238
|
+
const f = cr(t.target);
|
|
239
239
|
u.fragment && u.fragment.l(f), f.forEach(X);
|
|
240
240
|
} else
|
|
241
241
|
u.fragment && u.fragment.c();
|
|
242
|
-
t.intro &&
|
|
242
|
+
t.intro && Er(e.$$.fragment), Sr(e, t.target, t.anchor), Y();
|
|
243
243
|
}
|
|
244
244
|
J(h);
|
|
245
245
|
}
|
|
246
|
-
let
|
|
247
|
-
typeof HTMLElement == "function" && (
|
|
246
|
+
let St;
|
|
247
|
+
typeof HTMLElement == "function" && (St = class extends HTMLElement {
|
|
248
248
|
constructor(t, r, n) {
|
|
249
249
|
super();
|
|
250
250
|
/** The Svelte component constructor */
|
|
@@ -281,7 +281,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
281
281
|
}
|
|
282
282
|
}
|
|
283
283
|
connectedCallback() {
|
|
284
|
-
return
|
|
284
|
+
return Je(this, null, function* () {
|
|
285
285
|
if (this.$$cn = !0, !this.$$c) {
|
|
286
286
|
let t = function(o) {
|
|
287
287
|
return () => {
|
|
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
305
305
|
};
|
|
306
306
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
307
307
|
return;
|
|
308
|
-
const r = {}, n =
|
|
308
|
+
const r = {}, n = pr(this);
|
|
309
309
|
for (const o of this.$$s)
|
|
310
310
|
o in n && (r[o] = [t(o)]);
|
|
311
311
|
for (const o of this.attributes) {
|
|
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
|
|
|
316
316
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
317
317
|
this.$$c = new this.$$ctor({
|
|
318
318
|
target: this.shadowRoot || this,
|
|
319
|
-
props:
|
|
319
|
+
props: Qe(Ze({}, this.$$d), {
|
|
320
320
|
$$slots: r,
|
|
321
321
|
$$scope: {
|
|
322
322
|
ctx: []
|
|
@@ -394,8 +394,8 @@ function ue(e, t, r, n) {
|
|
|
394
394
|
return t;
|
|
395
395
|
}
|
|
396
396
|
}
|
|
397
|
-
function
|
|
398
|
-
let s = class extends
|
|
397
|
+
function Br(e, t, r, n, i, o) {
|
|
398
|
+
let s = class extends St {
|
|
399
399
|
constructor() {
|
|
400
400
|
super(e, r, i), this.$$p_d = t;
|
|
401
401
|
}
|
|
@@ -425,7 +425,7 @@ function Ir(e, t, r, n, i, o) {
|
|
|
425
425
|
}), e.element = /** @type {any} */
|
|
426
426
|
s, s;
|
|
427
427
|
}
|
|
428
|
-
class
|
|
428
|
+
class Ar {
|
|
429
429
|
constructor() {
|
|
430
430
|
/**
|
|
431
431
|
* ### PRIVATE API
|
|
@@ -446,7 +446,7 @@ class Cr {
|
|
|
446
446
|
}
|
|
447
447
|
/** @returns {void} */
|
|
448
448
|
$destroy() {
|
|
449
|
-
|
|
449
|
+
wr(this, 1), this.$destroy = H;
|
|
450
450
|
}
|
|
451
451
|
/**
|
|
452
452
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -455,7 +455,7 @@ class Cr {
|
|
|
455
455
|
* @returns {() => void}
|
|
456
456
|
*/
|
|
457
457
|
$on(t, r) {
|
|
458
|
-
if (!
|
|
458
|
+
if (!ke(r))
|
|
459
459
|
return H;
|
|
460
460
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
461
461
|
return n.push(r), () => {
|
|
@@ -468,11 +468,11 @@ class Cr {
|
|
|
468
468
|
* @returns {void}
|
|
469
469
|
*/
|
|
470
470
|
$set(t) {
|
|
471
|
-
this.$$set && !
|
|
471
|
+
this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
472
472
|
}
|
|
473
473
|
}
|
|
474
|
-
const
|
|
475
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
474
|
+
const Pr = "4";
|
|
475
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
|
|
476
476
|
/*! *****************************************************************************
|
|
477
477
|
Copyright (c) Microsoft Corporation.
|
|
478
478
|
|
|
@@ -487,34 +487,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
487
487
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
488
488
|
PERFORMANCE OF THIS SOFTWARE.
|
|
489
489
|
***************************************************************************** */
|
|
490
|
-
var
|
|
491
|
-
return
|
|
490
|
+
var Oe = function(e, t) {
|
|
491
|
+
return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
492
492
|
r.__proto__ = n;
|
|
493
493
|
} || function(r, n) {
|
|
494
494
|
for (var i in n)
|
|
495
495
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
496
|
-
},
|
|
496
|
+
}, Oe(e, t);
|
|
497
497
|
};
|
|
498
498
|
function P(e, t) {
|
|
499
499
|
if (typeof t != "function" && t !== null)
|
|
500
500
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
501
|
-
|
|
501
|
+
Oe(e, t);
|
|
502
502
|
function r() {
|
|
503
503
|
this.constructor = e;
|
|
504
504
|
}
|
|
505
505
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
506
506
|
}
|
|
507
|
-
var
|
|
508
|
-
return
|
|
507
|
+
var y = function() {
|
|
508
|
+
return y = Object.assign || function(t) {
|
|
509
509
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
510
510
|
r = arguments[n];
|
|
511
511
|
for (var o in r)
|
|
512
512
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
513
513
|
}
|
|
514
514
|
return t;
|
|
515
|
-
},
|
|
515
|
+
}, y.apply(this, arguments);
|
|
516
516
|
};
|
|
517
|
-
function
|
|
517
|
+
function Or(e, t) {
|
|
518
518
|
var r = {};
|
|
519
519
|
for (var n in e)
|
|
520
520
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -523,7 +523,7 @@ function Lr(e, t) {
|
|
|
523
523
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
524
524
|
return r;
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
function Ie(e) {
|
|
527
527
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
528
528
|
if (r)
|
|
529
529
|
return r.call(e);
|
|
@@ -564,13 +564,13 @@ function D(e, t, r) {
|
|
|
564
564
|
function A(e) {
|
|
565
565
|
return typeof e == "function";
|
|
566
566
|
}
|
|
567
|
-
function
|
|
567
|
+
function wt(e) {
|
|
568
568
|
var t = function(n) {
|
|
569
569
|
Error.call(n), n.stack = new Error().stack;
|
|
570
570
|
}, r = e(t);
|
|
571
571
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
572
572
|
}
|
|
573
|
-
var _e =
|
|
573
|
+
var _e = wt(function(e) {
|
|
574
574
|
return function(r) {
|
|
575
575
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
576
576
|
` + r.map(function(n, i) {
|
|
@@ -579,7 +579,7 @@ var _e = Bt(function(e) {
|
|
|
579
579
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
580
580
|
};
|
|
581
581
|
});
|
|
582
|
-
function
|
|
582
|
+
function Ce(e, t) {
|
|
583
583
|
if (e) {
|
|
584
584
|
var r = e.indexOf(t);
|
|
585
585
|
0 <= r && e.splice(r, 1);
|
|
@@ -597,7 +597,7 @@ var pe = function() {
|
|
|
597
597
|
if (s)
|
|
598
598
|
if (this._parentage = null, Array.isArray(s))
|
|
599
599
|
try {
|
|
600
|
-
for (var a =
|
|
600
|
+
for (var a = Ie(s), h = a.next(); !h.done; h = a.next()) {
|
|
601
601
|
var u = h.value;
|
|
602
602
|
u.remove(this);
|
|
603
603
|
}
|
|
@@ -624,10 +624,10 @@ var pe = function() {
|
|
|
624
624
|
if (f) {
|
|
625
625
|
this._finalizers = null;
|
|
626
626
|
try {
|
|
627
|
-
for (var c =
|
|
628
|
-
var
|
|
627
|
+
for (var c = Ie(f), p = c.next(); !p.done; p = c.next()) {
|
|
628
|
+
var g = p.value;
|
|
629
629
|
try {
|
|
630
|
-
|
|
630
|
+
Ke(g);
|
|
631
631
|
} catch (m) {
|
|
632
632
|
o = o != null ? o : [], m instanceof _e ? o = D(D([], Ne(o)), Ne(m.errors)) : o.push(m);
|
|
633
633
|
}
|
|
@@ -650,7 +650,7 @@ var pe = function() {
|
|
|
650
650
|
var r;
|
|
651
651
|
if (t && t !== this)
|
|
652
652
|
if (this.closed)
|
|
653
|
-
|
|
653
|
+
Ke(t);
|
|
654
654
|
else {
|
|
655
655
|
if (t instanceof e) {
|
|
656
656
|
if (t.closed || t._hasParent(this))
|
|
@@ -667,28 +667,24 @@ var pe = function() {
|
|
|
667
667
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
668
668
|
}, e.prototype._removeParent = function(t) {
|
|
669
669
|
var r = this._parentage;
|
|
670
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
670
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ce(r, t);
|
|
671
671
|
}, e.prototype.remove = function(t) {
|
|
672
672
|
var r = this._finalizers;
|
|
673
|
-
r &&
|
|
673
|
+
r && Ce(r, t), t instanceof e && t._removeParent(this);
|
|
674
674
|
}, e.EMPTY = function() {
|
|
675
675
|
var t = new e();
|
|
676
676
|
return t.closed = !0, t;
|
|
677
677
|
}(), e;
|
|
678
|
-
}(),
|
|
679
|
-
function
|
|
678
|
+
}(), Ht = pe.EMPTY;
|
|
679
|
+
function Tt(e) {
|
|
680
680
|
return e instanceof pe || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
|
|
681
681
|
}
|
|
682
|
-
function
|
|
682
|
+
function Ke(e) {
|
|
683
683
|
A(e) ? e() : e.unsubscribe();
|
|
684
684
|
}
|
|
685
|
-
var
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
Promise: void 0,
|
|
689
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
|
690
|
-
useDeprecatedNextContext: !1
|
|
691
|
-
}, Mr = {
|
|
685
|
+
var Ir = {
|
|
686
|
+
Promise: void 0
|
|
687
|
+
}, Nr = {
|
|
692
688
|
setTimeout: function(e, t) {
|
|
693
689
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
694
690
|
r[n - 2] = arguments[n];
|
|
@@ -699,24 +695,24 @@ var Ot = {
|
|
|
699
695
|
},
|
|
700
696
|
delegate: void 0
|
|
701
697
|
};
|
|
702
|
-
function
|
|
703
|
-
|
|
698
|
+
function Cr(e) {
|
|
699
|
+
Nr.setTimeout(function() {
|
|
704
700
|
throw e;
|
|
705
701
|
});
|
|
706
702
|
}
|
|
707
|
-
function
|
|
703
|
+
function et() {
|
|
708
704
|
}
|
|
709
705
|
function he(e) {
|
|
710
706
|
e();
|
|
711
707
|
}
|
|
712
|
-
var
|
|
708
|
+
var Bt = function(e) {
|
|
713
709
|
P(t, e);
|
|
714
710
|
function t(r) {
|
|
715
711
|
var n = e.call(this) || this;
|
|
716
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
712
|
+
return n.isStopped = !1, r ? (n.destination = r, Tt(r) && r.add(n)) : n.destination = $r, n;
|
|
717
713
|
}
|
|
718
714
|
return t.create = function(r, n, i) {
|
|
719
|
-
return new
|
|
715
|
+
return new Le(r, n, i);
|
|
720
716
|
}, t.prototype.next = function(r) {
|
|
721
717
|
this.isStopped || this._next(r);
|
|
722
718
|
}, t.prototype.error = function(r) {
|
|
@@ -740,11 +736,7 @@ var It = function(e) {
|
|
|
740
736
|
this.unsubscribe();
|
|
741
737
|
}
|
|
742
738
|
}, t;
|
|
743
|
-
}(pe),
|
|
744
|
-
function Ee(e, t) {
|
|
745
|
-
return Rr.call(e, t);
|
|
746
|
-
}
|
|
747
|
-
var Ur = function() {
|
|
739
|
+
}(pe), Lr = function() {
|
|
748
740
|
function e(t) {
|
|
749
741
|
this.partialObserver = t;
|
|
750
742
|
}
|
|
@@ -775,55 +767,43 @@ var Ur = function() {
|
|
|
775
767
|
se(r);
|
|
776
768
|
}
|
|
777
769
|
}, e;
|
|
778
|
-
}(),
|
|
770
|
+
}(), Le = function(e) {
|
|
779
771
|
P(t, e);
|
|
780
772
|
function t(r, n, i) {
|
|
781
773
|
var o = e.call(this) || this, s;
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
};
|
|
788
|
-
else {
|
|
789
|
-
var a;
|
|
790
|
-
o && Ot.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
791
|
-
return o.unsubscribe();
|
|
792
|
-
}, s = {
|
|
793
|
-
next: r.next && Ee(r.next, a),
|
|
794
|
-
error: r.error && Ee(r.error, a),
|
|
795
|
-
complete: r.complete && Ee(r.complete, a)
|
|
796
|
-
}) : s = r;
|
|
797
|
-
}
|
|
798
|
-
return o.destination = new Ur(s), o;
|
|
774
|
+
return A(r) || !r ? s = {
|
|
775
|
+
next: r != null ? r : void 0,
|
|
776
|
+
error: n != null ? n : void 0,
|
|
777
|
+
complete: i != null ? i : void 0
|
|
778
|
+
} : s = r, o.destination = new Lr(s), o;
|
|
799
779
|
}
|
|
800
780
|
return t;
|
|
801
|
-
}(
|
|
781
|
+
}(Bt);
|
|
802
782
|
function se(e) {
|
|
803
|
-
|
|
783
|
+
Cr(e);
|
|
804
784
|
}
|
|
805
|
-
function
|
|
785
|
+
function Mr(e) {
|
|
806
786
|
throw e;
|
|
807
787
|
}
|
|
808
|
-
var
|
|
788
|
+
var $r = {
|
|
809
789
|
closed: !0,
|
|
810
|
-
next:
|
|
811
|
-
error:
|
|
812
|
-
complete:
|
|
813
|
-
},
|
|
790
|
+
next: et,
|
|
791
|
+
error: Mr,
|
|
792
|
+
complete: et
|
|
793
|
+
}, Rr = function() {
|
|
814
794
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
815
795
|
}();
|
|
816
|
-
function
|
|
796
|
+
function Ur(e) {
|
|
817
797
|
return e;
|
|
818
798
|
}
|
|
819
|
-
function
|
|
820
|
-
return e.length === 0 ?
|
|
799
|
+
function Dr(e) {
|
|
800
|
+
return e.length === 0 ? Ur : e.length === 1 ? e[0] : function(r) {
|
|
821
801
|
return e.reduce(function(n, i) {
|
|
822
802
|
return i(n);
|
|
823
803
|
}, r);
|
|
824
804
|
};
|
|
825
805
|
}
|
|
826
|
-
var
|
|
806
|
+
var tt = function() {
|
|
827
807
|
function e(t) {
|
|
828
808
|
t && (this._subscribe = t);
|
|
829
809
|
}
|
|
@@ -831,7 +811,7 @@ var it = function() {
|
|
|
831
811
|
var r = new e();
|
|
832
812
|
return r.source = this, r.operator = t, r;
|
|
833
813
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
834
|
-
var i = this, o =
|
|
814
|
+
var i = this, o = Gr(t) ? t : new Le(t, r, n);
|
|
835
815
|
return he(function() {
|
|
836
816
|
var s = i, a = s.operator, h = s.source;
|
|
837
817
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -844,8 +824,8 @@ var it = function() {
|
|
|
844
824
|
}
|
|
845
825
|
}, e.prototype.forEach = function(t, r) {
|
|
846
826
|
var n = this;
|
|
847
|
-
return r =
|
|
848
|
-
var s = new
|
|
827
|
+
return r = rt(r), new r(function(i, o) {
|
|
828
|
+
var s = new Le({
|
|
849
829
|
next: function(a) {
|
|
850
830
|
try {
|
|
851
831
|
t(a);
|
|
@@ -861,15 +841,15 @@ var it = function() {
|
|
|
861
841
|
}, e.prototype._subscribe = function(t) {
|
|
862
842
|
var r;
|
|
863
843
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
864
|
-
}, e.prototype[
|
|
844
|
+
}, e.prototype[Rr] = function() {
|
|
865
845
|
return this;
|
|
866
846
|
}, e.prototype.pipe = function() {
|
|
867
847
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
868
848
|
t[r] = arguments[r];
|
|
869
|
-
return
|
|
849
|
+
return Dr(t)(this);
|
|
870
850
|
}, e.prototype.toPromise = function(t) {
|
|
871
851
|
var r = this;
|
|
872
|
-
return t =
|
|
852
|
+
return t = rt(t), new t(function(n, i) {
|
|
873
853
|
var o;
|
|
874
854
|
r.subscribe(function(s) {
|
|
875
855
|
return o = s;
|
|
@@ -883,32 +863,32 @@ var it = function() {
|
|
|
883
863
|
return new e(t);
|
|
884
864
|
}, e;
|
|
885
865
|
}();
|
|
886
|
-
function
|
|
866
|
+
function rt(e) {
|
|
887
867
|
var t;
|
|
888
|
-
return (t = e != null ? e :
|
|
868
|
+
return (t = e != null ? e : Ir.Promise) !== null && t !== void 0 ? t : Promise;
|
|
889
869
|
}
|
|
890
|
-
function
|
|
870
|
+
function Fr(e) {
|
|
891
871
|
return e && A(e.next) && A(e.error) && A(e.complete);
|
|
892
872
|
}
|
|
893
|
-
function
|
|
894
|
-
return e && e instanceof
|
|
873
|
+
function Gr(e) {
|
|
874
|
+
return e && e instanceof Bt || Fr(e) && Tt(e);
|
|
895
875
|
}
|
|
896
|
-
var
|
|
876
|
+
var jr = wt(function(e) {
|
|
897
877
|
return function() {
|
|
898
878
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
899
879
|
};
|
|
900
|
-
}),
|
|
880
|
+
}), At = function(e) {
|
|
901
881
|
P(t, e);
|
|
902
882
|
function t() {
|
|
903
883
|
var r = e.call(this) || this;
|
|
904
884
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
905
885
|
}
|
|
906
886
|
return t.prototype.lift = function(r) {
|
|
907
|
-
var n = new
|
|
887
|
+
var n = new nt(this, this);
|
|
908
888
|
return n.operator = r, n;
|
|
909
889
|
}, t.prototype._throwIfClosed = function() {
|
|
910
890
|
if (this.closed)
|
|
911
|
-
throw new
|
|
891
|
+
throw new jr();
|
|
912
892
|
}, t.prototype.next = function(r) {
|
|
913
893
|
var n = this;
|
|
914
894
|
he(function() {
|
|
@@ -916,7 +896,7 @@ var zr = Bt(function(e) {
|
|
|
916
896
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
917
897
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
918
898
|
try {
|
|
919
|
-
for (var s =
|
|
899
|
+
for (var s = Ie(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
920
900
|
var h = a.value;
|
|
921
901
|
h.next(r);
|
|
922
902
|
}
|
|
@@ -965,19 +945,19 @@ var zr = Bt(function(e) {
|
|
|
965
945
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
966
946
|
}, t.prototype._innerSubscribe = function(r) {
|
|
967
947
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
968
|
-
return o || s ?
|
|
969
|
-
n.currentObservers = null,
|
|
948
|
+
return o || s ? Ht : (this.currentObservers = null, a.push(r), new pe(function() {
|
|
949
|
+
n.currentObservers = null, Ce(a, r);
|
|
970
950
|
}));
|
|
971
951
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
972
952
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
973
953
|
i ? r.error(o) : s && r.complete();
|
|
974
954
|
}, t.prototype.asObservable = function() {
|
|
975
|
-
var r = new
|
|
955
|
+
var r = new tt();
|
|
976
956
|
return r.source = this, r;
|
|
977
957
|
}, t.create = function(r, n) {
|
|
978
|
-
return new
|
|
958
|
+
return new nt(r, n);
|
|
979
959
|
}, t;
|
|
980
|
-
}(
|
|
960
|
+
}(tt), nt = function(e) {
|
|
981
961
|
P(t, e);
|
|
982
962
|
function t(r, n) {
|
|
983
963
|
var i = e.call(this) || this;
|
|
@@ -994,17 +974,17 @@ var zr = Bt(function(e) {
|
|
|
994
974
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
995
975
|
}, t.prototype._subscribe = function(r) {
|
|
996
976
|
var n, i;
|
|
997
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
977
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ht;
|
|
998
978
|
}, t;
|
|
999
|
-
}(
|
|
979
|
+
}(At), Pt = {
|
|
1000
980
|
now: function() {
|
|
1001
|
-
return (
|
|
981
|
+
return (Pt.delegate || Date).now();
|
|
1002
982
|
},
|
|
1003
983
|
delegate: void 0
|
|
1004
|
-
},
|
|
984
|
+
}, kr = function(e) {
|
|
1005
985
|
P(t, e);
|
|
1006
986
|
function t(r, n, i) {
|
|
1007
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
987
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Pt);
|
|
1008
988
|
var o = e.call(this) || this;
|
|
1009
989
|
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;
|
|
1010
990
|
}
|
|
@@ -1024,15 +1004,15 @@ var zr = Bt(function(e) {
|
|
|
1024
1004
|
u && o.splice(0, u + 1);
|
|
1025
1005
|
}
|
|
1026
1006
|
}, t;
|
|
1027
|
-
}(
|
|
1028
|
-
const
|
|
1029
|
-
if (
|
|
1030
|
-
const r = new
|
|
1031
|
-
|
|
1007
|
+
}(At);
|
|
1008
|
+
const it = [], ot = {}, Vr = (e, t = 0) => {
|
|
1009
|
+
if (it.indexOf(e) == -1) {
|
|
1010
|
+
const r = new kr(t);
|
|
1011
|
+
ot[e] = r, it.push(e);
|
|
1032
1012
|
}
|
|
1033
|
-
return
|
|
1013
|
+
return ot[e];
|
|
1034
1014
|
}, $ = [];
|
|
1035
|
-
function
|
|
1015
|
+
function Xr(e, t) {
|
|
1036
1016
|
return {
|
|
1037
1017
|
subscribe: de(e, t).subscribe
|
|
1038
1018
|
};
|
|
@@ -1041,7 +1021,7 @@ function de(e, t = H) {
|
|
|
1041
1021
|
let r;
|
|
1042
1022
|
const n = /* @__PURE__ */ new Set();
|
|
1043
1023
|
function i(a) {
|
|
1044
|
-
if (
|
|
1024
|
+
if (_t(e, a) && (e = a, r)) {
|
|
1045
1025
|
const h = !$.length;
|
|
1046
1026
|
for (const u of n)
|
|
1047
1027
|
u[1](), $.push(u, e);
|
|
@@ -1063,12 +1043,12 @@ function de(e, t = H) {
|
|
|
1063
1043
|
}
|
|
1064
1044
|
return { set: i, update: o, subscribe: s };
|
|
1065
1045
|
}
|
|
1066
|
-
function
|
|
1046
|
+
function W(e, t, r) {
|
|
1067
1047
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1068
1048
|
if (!i.every(Boolean))
|
|
1069
1049
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1070
1050
|
const o = t.length < 2;
|
|
1071
|
-
return
|
|
1051
|
+
return Xr(r, (s, a) => {
|
|
1072
1052
|
let h = !1;
|
|
1073
1053
|
const u = [];
|
|
1074
1054
|
let l = 0, f = H;
|
|
@@ -1076,11 +1056,11 @@ function z(e, t, r) {
|
|
|
1076
1056
|
if (l)
|
|
1077
1057
|
return;
|
|
1078
1058
|
f();
|
|
1079
|
-
const
|
|
1080
|
-
o ? s(
|
|
1059
|
+
const g = t(n ? u[0] : u, s, a);
|
|
1060
|
+
o ? s(g) : f = ke(g) ? g : H;
|
|
1081
1061
|
}, p = i.map(
|
|
1082
|
-
(
|
|
1083
|
-
|
|
1062
|
+
(g, m) => or(
|
|
1063
|
+
g,
|
|
1084
1064
|
(d) => {
|
|
1085
1065
|
u[m] = d, l &= ~(1 << m), h && c();
|
|
1086
1066
|
},
|
|
@@ -1094,70 +1074,70 @@ function z(e, t, r) {
|
|
|
1094
1074
|
};
|
|
1095
1075
|
});
|
|
1096
1076
|
}
|
|
1097
|
-
function
|
|
1077
|
+
function Wr(e) {
|
|
1098
1078
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1099
1079
|
}
|
|
1100
|
-
var
|
|
1101
|
-
return
|
|
1080
|
+
var zr = function(t) {
|
|
1081
|
+
return Zr(t) && !Qr(t);
|
|
1102
1082
|
};
|
|
1103
|
-
function
|
|
1083
|
+
function Zr(e) {
|
|
1104
1084
|
return !!e && typeof e == "object";
|
|
1105
1085
|
}
|
|
1106
|
-
function
|
|
1086
|
+
function Qr(e) {
|
|
1107
1087
|
var t = Object.prototype.toString.call(e);
|
|
1108
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1088
|
+
return t === "[object RegExp]" || t === "[object Date]" || qr(e);
|
|
1109
1089
|
}
|
|
1110
|
-
var
|
|
1111
|
-
function
|
|
1112
|
-
return e.$$typeof ===
|
|
1090
|
+
var Jr = typeof Symbol == "function" && Symbol.for, Yr = Jr ? Symbol.for("react.element") : 60103;
|
|
1091
|
+
function qr(e) {
|
|
1092
|
+
return e.$$typeof === Yr;
|
|
1113
1093
|
}
|
|
1114
|
-
function
|
|
1094
|
+
function Kr(e) {
|
|
1115
1095
|
return Array.isArray(e) ? [] : {};
|
|
1116
1096
|
}
|
|
1117
1097
|
function K(e, t) {
|
|
1118
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? G(
|
|
1098
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? G(Kr(e), e, t) : e;
|
|
1119
1099
|
}
|
|
1120
|
-
function
|
|
1100
|
+
function en(e, t, r) {
|
|
1121
1101
|
return e.concat(t).map(function(n) {
|
|
1122
1102
|
return K(n, r);
|
|
1123
1103
|
});
|
|
1124
1104
|
}
|
|
1125
|
-
function
|
|
1105
|
+
function tn(e, t) {
|
|
1126
1106
|
if (!t.customMerge)
|
|
1127
1107
|
return G;
|
|
1128
1108
|
var r = t.customMerge(e);
|
|
1129
1109
|
return typeof r == "function" ? r : G;
|
|
1130
1110
|
}
|
|
1131
|
-
function
|
|
1111
|
+
function rn(e) {
|
|
1132
1112
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1133
1113
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1134
1114
|
}) : [];
|
|
1135
1115
|
}
|
|
1136
|
-
function
|
|
1137
|
-
return Object.keys(e).concat(
|
|
1116
|
+
function st(e) {
|
|
1117
|
+
return Object.keys(e).concat(rn(e));
|
|
1138
1118
|
}
|
|
1139
|
-
function
|
|
1119
|
+
function Ot(e, t) {
|
|
1140
1120
|
try {
|
|
1141
1121
|
return t in e;
|
|
1142
1122
|
} catch (r) {
|
|
1143
1123
|
return !1;
|
|
1144
1124
|
}
|
|
1145
1125
|
}
|
|
1146
|
-
function
|
|
1147
|
-
return
|
|
1126
|
+
function nn(e, t) {
|
|
1127
|
+
return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1148
1128
|
}
|
|
1149
|
-
function
|
|
1129
|
+
function on(e, t, r) {
|
|
1150
1130
|
var n = {};
|
|
1151
|
-
return r.isMergeableObject(e) &&
|
|
1131
|
+
return r.isMergeableObject(e) && st(e).forEach(function(i) {
|
|
1152
1132
|
n[i] = K(e[i], r);
|
|
1153
|
-
}),
|
|
1154
|
-
|
|
1133
|
+
}), st(t).forEach(function(i) {
|
|
1134
|
+
nn(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = tn(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
|
|
1155
1135
|
}), n;
|
|
1156
1136
|
}
|
|
1157
1137
|
function G(e, t, r) {
|
|
1158
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1138
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || en, r.isMergeableObject = r.isMergeableObject || zr, r.cloneUnlessOtherwiseSpecified = K;
|
|
1159
1139
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1160
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1140
|
+
return o ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : K(t, r);
|
|
1161
1141
|
}
|
|
1162
1142
|
G.all = function(t, r) {
|
|
1163
1143
|
if (!Array.isArray(t))
|
|
@@ -1166,58 +1146,56 @@ G.all = function(t, r) {
|
|
|
1166
1146
|
return G(n, i, r);
|
|
1167
1147
|
}, {});
|
|
1168
1148
|
};
|
|
1169
|
-
var
|
|
1170
|
-
const
|
|
1171
|
-
function
|
|
1172
|
-
var r = t && t.cache ? t.cache :
|
|
1149
|
+
var sn = G, an = sn;
|
|
1150
|
+
const un = /* @__PURE__ */ Wr(an);
|
|
1151
|
+
function Ee(e, t) {
|
|
1152
|
+
var r = t && t.cache ? t.cache : dn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : cn;
|
|
1173
1153
|
return i(e, {
|
|
1174
1154
|
cache: r,
|
|
1175
1155
|
serializer: n
|
|
1176
1156
|
});
|
|
1177
1157
|
}
|
|
1178
|
-
function
|
|
1158
|
+
function hn(e) {
|
|
1179
1159
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1180
1160
|
}
|
|
1181
|
-
function
|
|
1182
|
-
var i =
|
|
1161
|
+
function ln(e, t, r, n) {
|
|
1162
|
+
var i = hn(n) ? n : r(n), o = t.get(i);
|
|
1183
1163
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1184
1164
|
}
|
|
1185
|
-
function
|
|
1165
|
+
function It(e, t, r) {
|
|
1186
1166
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1187
1167
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1188
1168
|
}
|
|
1189
|
-
function
|
|
1169
|
+
function Nt(e, t, r, n, i) {
|
|
1190
1170
|
return r.bind(t, e, n, i);
|
|
1191
1171
|
}
|
|
1192
|
-
function
|
|
1193
|
-
var r = e.length === 1 ?
|
|
1194
|
-
return
|
|
1195
|
-
}
|
|
1196
|
-
function dn(e, t) {
|
|
1197
|
-
return Xe(e, this, $t, t.cache.create(), t.serializer);
|
|
1172
|
+
function cn(e, t) {
|
|
1173
|
+
var r = e.length === 1 ? ln : It;
|
|
1174
|
+
return Nt(e, this, r, t.cache.create(), t.serializer);
|
|
1198
1175
|
}
|
|
1199
|
-
function
|
|
1200
|
-
return
|
|
1176
|
+
function fn(e, t) {
|
|
1177
|
+
return Nt(e, this, It, t.cache.create(), t.serializer);
|
|
1201
1178
|
}
|
|
1202
|
-
var
|
|
1179
|
+
var mn = function() {
|
|
1203
1180
|
return JSON.stringify(arguments);
|
|
1204
|
-
}
|
|
1205
|
-
|
|
1206
|
-
|
|
1207
|
-
|
|
1208
|
-
|
|
1209
|
-
|
|
1210
|
-
|
|
1211
|
-
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
|
-
|
|
1181
|
+
}, pn = (
|
|
1182
|
+
/** @class */
|
|
1183
|
+
function() {
|
|
1184
|
+
function e() {
|
|
1185
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1186
|
+
}
|
|
1187
|
+
return e.prototype.get = function(t) {
|
|
1188
|
+
return this.cache[t];
|
|
1189
|
+
}, e.prototype.set = function(t, r) {
|
|
1190
|
+
this.cache[t] = r;
|
|
1191
|
+
}, e;
|
|
1192
|
+
}()
|
|
1193
|
+
), dn = {
|
|
1215
1194
|
create: function() {
|
|
1216
|
-
return new
|
|
1195
|
+
return new pn();
|
|
1217
1196
|
}
|
|
1218
|
-
},
|
|
1219
|
-
variadic:
|
|
1220
|
-
monadic: bn
|
|
1197
|
+
}, Se = {
|
|
1198
|
+
variadic: fn
|
|
1221
1199
|
}, b;
|
|
1222
1200
|
(function(e) {
|
|
1223
1201
|
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";
|
|
@@ -1230,43 +1208,43 @@ var j;
|
|
|
1230
1208
|
(function(e) {
|
|
1231
1209
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1232
1210
|
})(j || (j = {}));
|
|
1233
|
-
function
|
|
1211
|
+
function at(e) {
|
|
1234
1212
|
return e.type === x.literal;
|
|
1235
1213
|
}
|
|
1236
|
-
function
|
|
1214
|
+
function bn(e) {
|
|
1237
1215
|
return e.type === x.argument;
|
|
1238
1216
|
}
|
|
1239
|
-
function
|
|
1217
|
+
function Ct(e) {
|
|
1240
1218
|
return e.type === x.number;
|
|
1241
1219
|
}
|
|
1242
|
-
function
|
|
1220
|
+
function Lt(e) {
|
|
1243
1221
|
return e.type === x.date;
|
|
1244
1222
|
}
|
|
1245
|
-
function
|
|
1223
|
+
function Mt(e) {
|
|
1246
1224
|
return e.type === x.time;
|
|
1247
1225
|
}
|
|
1248
|
-
function
|
|
1226
|
+
function $t(e) {
|
|
1249
1227
|
return e.type === x.select;
|
|
1250
1228
|
}
|
|
1251
|
-
function
|
|
1229
|
+
function Rt(e) {
|
|
1252
1230
|
return e.type === x.plural;
|
|
1253
1231
|
}
|
|
1254
|
-
function
|
|
1232
|
+
function vn(e) {
|
|
1255
1233
|
return e.type === x.pound;
|
|
1256
1234
|
}
|
|
1257
|
-
function
|
|
1235
|
+
function Ut(e) {
|
|
1258
1236
|
return e.type === x.tag;
|
|
1259
1237
|
}
|
|
1260
|
-
function
|
|
1238
|
+
function Dt(e) {
|
|
1261
1239
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
1262
1240
|
}
|
|
1263
|
-
function
|
|
1241
|
+
function Me(e) {
|
|
1264
1242
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
1265
1243
|
}
|
|
1266
|
-
var
|
|
1267
|
-
function
|
|
1244
|
+
var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
1245
|
+
function gn(e) {
|
|
1268
1246
|
var t = {};
|
|
1269
|
-
return e.replace(
|
|
1247
|
+
return e.replace(yn, function(r) {
|
|
1270
1248
|
var n = r.length;
|
|
1271
1249
|
switch (r[0]) {
|
|
1272
1250
|
case "G":
|
|
@@ -1355,11 +1333,11 @@ function En(e) {
|
|
|
1355
1333
|
return "";
|
|
1356
1334
|
}), t;
|
|
1357
1335
|
}
|
|
1358
|
-
var
|
|
1359
|
-
function
|
|
1336
|
+
var xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1337
|
+
function _n(e) {
|
|
1360
1338
|
if (e.length === 0)
|
|
1361
1339
|
throw new Error("Number skeleton cannot be empty");
|
|
1362
|
-
for (var t = e.split(
|
|
1340
|
+
for (var t = e.split(xn).filter(function(c) {
|
|
1363
1341
|
return c.length > 0;
|
|
1364
1342
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1365
1343
|
var o = i[n], s = o.split("/");
|
|
@@ -1374,17 +1352,17 @@ function wn(e) {
|
|
|
1374
1352
|
}
|
|
1375
1353
|
return r;
|
|
1376
1354
|
}
|
|
1377
|
-
function
|
|
1355
|
+
function En(e) {
|
|
1378
1356
|
return e.replace(/^(.*?)-/, "");
|
|
1379
1357
|
}
|
|
1380
|
-
var
|
|
1381
|
-
function
|
|
1358
|
+
var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, Sn = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
|
|
1359
|
+
function ht(e) {
|
|
1382
1360
|
var t = {};
|
|
1383
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1361
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
|
|
1384
1362
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1385
1363
|
}), t;
|
|
1386
1364
|
}
|
|
1387
|
-
function
|
|
1365
|
+
function kt(e) {
|
|
1388
1366
|
switch (e) {
|
|
1389
1367
|
case "sign-auto":
|
|
1390
1368
|
return {
|
|
@@ -1424,7 +1402,7 @@ function Wt(e) {
|
|
|
1424
1402
|
};
|
|
1425
1403
|
}
|
|
1426
1404
|
}
|
|
1427
|
-
function
|
|
1405
|
+
function wn(e) {
|
|
1428
1406
|
var t;
|
|
1429
1407
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1430
1408
|
notation: "engineering"
|
|
@@ -1432,17 +1410,17 @@ function Bn(e) {
|
|
|
1432
1410
|
notation: "scientific"
|
|
1433
1411
|
}, e = e.slice(1)), t) {
|
|
1434
1412
|
var r = e.slice(0, 2);
|
|
1435
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1413
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
|
|
1436
1414
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1437
1415
|
t.minimumIntegerDigits = e.length;
|
|
1438
1416
|
}
|
|
1439
1417
|
return t;
|
|
1440
1418
|
}
|
|
1441
|
-
function
|
|
1442
|
-
var t = {}, r =
|
|
1419
|
+
function lt(e) {
|
|
1420
|
+
var t = {}, r = kt(e);
|
|
1443
1421
|
return r || t;
|
|
1444
1422
|
}
|
|
1445
|
-
function
|
|
1423
|
+
function Hn(e) {
|
|
1446
1424
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1447
1425
|
var i = n[r];
|
|
1448
1426
|
switch (i.stem) {
|
|
@@ -1466,7 +1444,7 @@ function An(e) {
|
|
|
1466
1444
|
continue;
|
|
1467
1445
|
case "measure-unit":
|
|
1468
1446
|
case "unit":
|
|
1469
|
-
t.style = "unit", t.unit =
|
|
1447
|
+
t.style = "unit", t.unit = En(i.options[0]);
|
|
1470
1448
|
continue;
|
|
1471
1449
|
case "compact-short":
|
|
1472
1450
|
case "K":
|
|
@@ -1477,13 +1455,13 @@ function An(e) {
|
|
|
1477
1455
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1478
1456
|
continue;
|
|
1479
1457
|
case "scientific":
|
|
1480
|
-
t =
|
|
1481
|
-
return
|
|
1458
|
+
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1459
|
+
return y(y({}, h), lt(u));
|
|
1482
1460
|
}, {}));
|
|
1483
1461
|
continue;
|
|
1484
1462
|
case "engineering":
|
|
1485
|
-
t =
|
|
1486
|
-
return
|
|
1463
|
+
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1464
|
+
return y(y({}, h), lt(u));
|
|
1487
1465
|
}, {}));
|
|
1488
1466
|
continue;
|
|
1489
1467
|
case "notation-simple":
|
|
@@ -1528,7 +1506,7 @@ function An(e) {
|
|
|
1528
1506
|
case "integer-width":
|
|
1529
1507
|
if (i.options.length > 1)
|
|
1530
1508
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1531
|
-
i.options[0].replace(
|
|
1509
|
+
i.options[0].replace(Sn, function(h, u, l, f, c, p) {
|
|
1532
1510
|
if (u)
|
|
1533
1511
|
t.minimumIntegerDigits = l.length;
|
|
1534
1512
|
else {
|
|
@@ -1541,28 +1519,28 @@ function An(e) {
|
|
|
1541
1519
|
});
|
|
1542
1520
|
continue;
|
|
1543
1521
|
}
|
|
1544
|
-
if (
|
|
1522
|
+
if (jt.test(i.stem)) {
|
|
1545
1523
|
t.minimumIntegerDigits = i.stem.length;
|
|
1546
1524
|
continue;
|
|
1547
1525
|
}
|
|
1548
|
-
if (
|
|
1526
|
+
if (ut.test(i.stem)) {
|
|
1549
1527
|
if (i.options.length > 1)
|
|
1550
1528
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1551
|
-
i.stem.replace(
|
|
1529
|
+
i.stem.replace(ut, function(h, u, l, f, c, p) {
|
|
1552
1530
|
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), "";
|
|
1553
1531
|
});
|
|
1554
1532
|
var o = i.options[0];
|
|
1555
|
-
o === "w" ? t =
|
|
1533
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), ht(o)));
|
|
1556
1534
|
continue;
|
|
1557
1535
|
}
|
|
1558
|
-
if (
|
|
1559
|
-
t =
|
|
1536
|
+
if (Gt.test(i.stem)) {
|
|
1537
|
+
t = y(y({}, t), ht(i.stem));
|
|
1560
1538
|
continue;
|
|
1561
1539
|
}
|
|
1562
|
-
var s =
|
|
1563
|
-
s && (t =
|
|
1564
|
-
var a =
|
|
1565
|
-
a && (t =
|
|
1540
|
+
var s = kt(i.stem);
|
|
1541
|
+
s && (t = y(y({}, t), s));
|
|
1542
|
+
var a = wn(i.stem);
|
|
1543
|
+
a && (t = y(y({}, t), a));
|
|
1566
1544
|
}
|
|
1567
1545
|
return t;
|
|
1568
1546
|
}
|
|
@@ -2981,13 +2959,13 @@ var ae = {
|
|
|
2981
2959
|
"h"
|
|
2982
2960
|
]
|
|
2983
2961
|
};
|
|
2984
|
-
function
|
|
2962
|
+
function Tn(e, t) {
|
|
2985
2963
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2986
2964
|
var i = e.charAt(n);
|
|
2987
2965
|
if (i === "j") {
|
|
2988
2966
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2989
2967
|
o++, n++;
|
|
2990
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2968
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Bn(t);
|
|
2991
2969
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2992
2970
|
r += h;
|
|
2993
2971
|
for (; s-- > 0; )
|
|
@@ -2997,7 +2975,7 @@ function Pn(e, t) {
|
|
|
2997
2975
|
}
|
|
2998
2976
|
return r;
|
|
2999
2977
|
}
|
|
3000
|
-
function
|
|
2978
|
+
function Bn(e) {
|
|
3001
2979
|
var t = e.hourCycle;
|
|
3002
2980
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3003
2981
|
e.hourCycles && // @ts-ignore
|
|
@@ -3019,20 +2997,20 @@ function On(e) {
|
|
|
3019
2997
|
var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
|
|
3020
2998
|
return i[0];
|
|
3021
2999
|
}
|
|
3022
|
-
var
|
|
3023
|
-
function
|
|
3000
|
+
var we, An = new RegExp("^".concat(Ft.source, "*")), Pn = new RegExp("".concat(Ft.source, "*$"));
|
|
3001
|
+
function v(e, t) {
|
|
3024
3002
|
return { start: e, end: t };
|
|
3025
3003
|
}
|
|
3026
|
-
var
|
|
3004
|
+
var On = !!String.prototype.startsWith && "_a".startsWith("a", 1), In = !!String.fromCodePoint, Nn = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, Ln = !!String.prototype.trimStart, Mn = !!String.prototype.trimEnd, $n = !!Number.isSafeInteger, Rn = $n ? Number.isSafeInteger : function(e) {
|
|
3027
3005
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3028
|
-
},
|
|
3006
|
+
}, $e = !0;
|
|
3029
3007
|
try {
|
|
3030
|
-
var
|
|
3031
|
-
|
|
3008
|
+
var Un = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3009
|
+
$e = ((we = Un.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
|
|
3032
3010
|
} catch (e) {
|
|
3033
|
-
|
|
3011
|
+
$e = !1;
|
|
3034
3012
|
}
|
|
3035
|
-
var
|
|
3013
|
+
var ct = On ? (
|
|
3036
3014
|
// Native
|
|
3037
3015
|
function(t, r, n) {
|
|
3038
3016
|
return t.startsWith(r, n);
|
|
@@ -3042,7 +3020,7 @@ var pt = Nn ? (
|
|
|
3042
3020
|
function(t, r, n) {
|
|
3043
3021
|
return t.slice(n, n + r.length) === r;
|
|
3044
3022
|
}
|
|
3045
|
-
),
|
|
3023
|
+
), Re = In ? String.fromCodePoint : (
|
|
3046
3024
|
// IE11
|
|
3047
3025
|
function() {
|
|
3048
3026
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3054,9 +3032,9 @@ var pt = Nn ? (
|
|
|
3054
3032
|
}
|
|
3055
3033
|
return n;
|
|
3056
3034
|
}
|
|
3057
|
-
),
|
|
3035
|
+
), ft = (
|
|
3058
3036
|
// native
|
|
3059
|
-
|
|
3037
|
+
Nn ? Object.fromEntries : (
|
|
3060
3038
|
// Ponyfill
|
|
3061
3039
|
function(t) {
|
|
3062
3040
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3066,7 +3044,7 @@ var pt = Nn ? (
|
|
|
3066
3044
|
return r;
|
|
3067
3045
|
}
|
|
3068
3046
|
)
|
|
3069
|
-
),
|
|
3047
|
+
), Vt = Cn ? (
|
|
3070
3048
|
// Native
|
|
3071
3049
|
function(t, r) {
|
|
3072
3050
|
return t.codePointAt(r);
|
|
@@ -3080,7 +3058,7 @@ var pt = Nn ? (
|
|
|
3080
3058
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3081
3059
|
}
|
|
3082
3060
|
}
|
|
3083
|
-
),
|
|
3061
|
+
), Dn = Ln ? (
|
|
3084
3062
|
// Native
|
|
3085
3063
|
function(t) {
|
|
3086
3064
|
return t.trimStart();
|
|
@@ -3088,9 +3066,9 @@ var pt = Nn ? (
|
|
|
3088
3066
|
) : (
|
|
3089
3067
|
// Ponyfill
|
|
3090
3068
|
function(t) {
|
|
3091
|
-
return t.replace(
|
|
3069
|
+
return t.replace(An, "");
|
|
3092
3070
|
}
|
|
3093
|
-
),
|
|
3071
|
+
), Fn = Mn ? (
|
|
3094
3072
|
// Native
|
|
3095
3073
|
function(t) {
|
|
3096
3074
|
return t.trimEnd();
|
|
@@ -3098,32 +3076,32 @@ var pt = Nn ? (
|
|
|
3098
3076
|
) : (
|
|
3099
3077
|
// Ponyfill
|
|
3100
3078
|
function(t) {
|
|
3101
|
-
return t.replace(
|
|
3079
|
+
return t.replace(Pn, "");
|
|
3102
3080
|
}
|
|
3103
3081
|
);
|
|
3104
|
-
function
|
|
3082
|
+
function Xt(e, t) {
|
|
3105
3083
|
return new RegExp(e, t);
|
|
3106
3084
|
}
|
|
3107
|
-
var
|
|
3108
|
-
if (
|
|
3109
|
-
var
|
|
3110
|
-
|
|
3085
|
+
var Ue;
|
|
3086
|
+
if ($e) {
|
|
3087
|
+
var mt = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3088
|
+
Ue = function(t, r) {
|
|
3111
3089
|
var n;
|
|
3112
|
-
|
|
3113
|
-
var i =
|
|
3090
|
+
mt.lastIndex = r;
|
|
3091
|
+
var i = mt.exec(t);
|
|
3114
3092
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3115
3093
|
};
|
|
3116
3094
|
} else
|
|
3117
|
-
|
|
3095
|
+
Ue = function(t, r) {
|
|
3118
3096
|
for (var n = []; ; ) {
|
|
3119
|
-
var i =
|
|
3120
|
-
if (i === void 0 ||
|
|
3097
|
+
var i = Vt(t, r);
|
|
3098
|
+
if (i === void 0 || Wt(i) || Vn(i))
|
|
3121
3099
|
break;
|
|
3122
3100
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3123
3101
|
}
|
|
3124
|
-
return
|
|
3102
|
+
return Re.apply(void 0, n);
|
|
3125
3103
|
};
|
|
3126
|
-
var
|
|
3104
|
+
var Gn = (
|
|
3127
3105
|
/** @class */
|
|
3128
3106
|
function() {
|
|
3129
3107
|
function e(t, r) {
|
|
@@ -3148,13 +3126,13 @@ var Vn = (
|
|
|
3148
3126
|
var a = this.clonePosition();
|
|
3149
3127
|
this.bump(), i.push({
|
|
3150
3128
|
type: x.pound,
|
|
3151
|
-
location:
|
|
3129
|
+
location: v(a, this.clonePosition())
|
|
3152
3130
|
});
|
|
3153
3131
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3154
3132
|
if (n)
|
|
3155
3133
|
break;
|
|
3156
|
-
return this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3157
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3134
|
+
return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3135
|
+
} else if (o === 60 && !this.ignoreTag && De(this.peek() || 0)) {
|
|
3158
3136
|
var s = this.parseTag(t, r);
|
|
3159
3137
|
if (s.err)
|
|
3160
3138
|
return s;
|
|
@@ -3177,7 +3155,7 @@ var Vn = (
|
|
|
3177
3155
|
val: {
|
|
3178
3156
|
type: x.literal,
|
|
3179
3157
|
value: "<".concat(i, "/>"),
|
|
3180
|
-
location:
|
|
3158
|
+
location: v(n, this.clonePosition())
|
|
3181
3159
|
},
|
|
3182
3160
|
err: null
|
|
3183
3161
|
};
|
|
@@ -3187,25 +3165,25 @@ var Vn = (
|
|
|
3187
3165
|
return o;
|
|
3188
3166
|
var s = o.val, a = this.clonePosition();
|
|
3189
3167
|
if (this.bumpIf("</")) {
|
|
3190
|
-
if (this.isEOF() || !
|
|
3191
|
-
return this.error(b.INVALID_TAG,
|
|
3168
|
+
if (this.isEOF() || !De(this.char()))
|
|
3169
|
+
return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
|
|
3192
3170
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3193
|
-
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG,
|
|
3171
|
+
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3194
3172
|
val: {
|
|
3195
3173
|
type: x.tag,
|
|
3196
3174
|
value: i,
|
|
3197
3175
|
children: s,
|
|
3198
|
-
location:
|
|
3176
|
+
location: v(n, this.clonePosition())
|
|
3199
3177
|
},
|
|
3200
3178
|
err: null
|
|
3201
|
-
} : this.error(b.INVALID_TAG,
|
|
3179
|
+
} : this.error(b.INVALID_TAG, v(a, this.clonePosition())));
|
|
3202
3180
|
} else
|
|
3203
|
-
return this.error(b.UNCLOSED_TAG,
|
|
3181
|
+
return this.error(b.UNCLOSED_TAG, v(n, this.clonePosition()));
|
|
3204
3182
|
} else
|
|
3205
|
-
return this.error(b.INVALID_TAG,
|
|
3183
|
+
return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
|
|
3206
3184
|
}, e.prototype.parseTagName = function() {
|
|
3207
3185
|
var t = this.offset();
|
|
3208
|
-
for (this.bump(); !this.isEOF() &&
|
|
3186
|
+
for (this.bump(); !this.isEOF() && kn(this.char()); )
|
|
3209
3187
|
this.bump();
|
|
3210
3188
|
return this.message.slice(t, this.offset());
|
|
3211
3189
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3227,14 +3205,14 @@ var Vn = (
|
|
|
3227
3205
|
}
|
|
3228
3206
|
break;
|
|
3229
3207
|
}
|
|
3230
|
-
var h =
|
|
3208
|
+
var h = v(n, this.clonePosition());
|
|
3231
3209
|
return {
|
|
3232
3210
|
val: { type: x.literal, value: i, location: h },
|
|
3233
3211
|
err: null
|
|
3234
3212
|
};
|
|
3235
3213
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3236
3214
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3237
|
-
!
|
|
3215
|
+
!jn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3238
3216
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3239
3217
|
if (this.isEOF() || this.char() !== 39)
|
|
3240
3218
|
return null;
|
|
@@ -3268,23 +3246,23 @@ var Vn = (
|
|
|
3268
3246
|
r.push(n);
|
|
3269
3247
|
this.bump();
|
|
3270
3248
|
}
|
|
3271
|
-
return
|
|
3249
|
+
return Re.apply(void 0, r);
|
|
3272
3250
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3273
3251
|
if (this.isEOF())
|
|
3274
3252
|
return null;
|
|
3275
3253
|
var n = this.char();
|
|
3276
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3254
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
|
|
3277
3255
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3278
3256
|
var n = this.clonePosition();
|
|
3279
3257
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3280
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3258
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3281
3259
|
if (this.char() === 125)
|
|
3282
|
-
return this.bump(), this.error(b.EMPTY_ARGUMENT,
|
|
3260
|
+
return this.bump(), this.error(b.EMPTY_ARGUMENT, v(n, this.clonePosition()));
|
|
3283
3261
|
var i = this.parseIdentifierIfPossible().value;
|
|
3284
3262
|
if (!i)
|
|
3285
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3263
|
+
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3286
3264
|
if (this.bumpSpace(), this.isEOF())
|
|
3287
|
-
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3265
|
+
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
|
|
3288
3266
|
switch (this.char()) {
|
|
3289
3267
|
case 125:
|
|
3290
3268
|
return this.bump(), {
|
|
@@ -3292,25 +3270,25 @@ var Vn = (
|
|
|
3292
3270
|
type: x.argument,
|
|
3293
3271
|
// value does not include the opening and closing braces.
|
|
3294
3272
|
value: i,
|
|
3295
|
-
location:
|
|
3273
|
+
location: v(n, this.clonePosition())
|
|
3296
3274
|
},
|
|
3297
3275
|
err: null
|
|
3298
3276
|
};
|
|
3299
3277
|
case 44:
|
|
3300
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3278
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3301
3279
|
default:
|
|
3302
|
-
return this.error(b.MALFORMED_ARGUMENT,
|
|
3280
|
+
return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3303
3281
|
}
|
|
3304
3282
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3305
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3283
|
+
var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
|
|
3306
3284
|
this.bumpTo(i);
|
|
3307
|
-
var o = this.clonePosition(), s =
|
|
3285
|
+
var o = this.clonePosition(), s = v(t, o);
|
|
3308
3286
|
return { value: n, location: s };
|
|
3309
3287
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3310
3288
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3311
3289
|
switch (a) {
|
|
3312
3290
|
case "":
|
|
3313
|
-
return this.error(b.EXPECT_ARGUMENT_TYPE,
|
|
3291
|
+
return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, h));
|
|
3314
3292
|
case "number":
|
|
3315
3293
|
case "date":
|
|
3316
3294
|
case "time": {
|
|
@@ -3321,18 +3299,18 @@ var Vn = (
|
|
|
3321
3299
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3322
3300
|
if (f.err)
|
|
3323
3301
|
return f;
|
|
3324
|
-
var c =
|
|
3302
|
+
var c = Fn(f.val);
|
|
3325
3303
|
if (c.length === 0)
|
|
3326
|
-
return this.error(b.EXPECT_ARGUMENT_STYLE,
|
|
3327
|
-
var p =
|
|
3304
|
+
return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3305
|
+
var p = v(l, this.clonePosition());
|
|
3328
3306
|
u = { style: c, styleLocation: p };
|
|
3329
3307
|
}
|
|
3330
|
-
var
|
|
3331
|
-
if (
|
|
3332
|
-
return
|
|
3333
|
-
var m =
|
|
3334
|
-
if (u &&
|
|
3335
|
-
var d =
|
|
3308
|
+
var g = this.tryParseArgumentClose(i);
|
|
3309
|
+
if (g.err)
|
|
3310
|
+
return g;
|
|
3311
|
+
var m = v(i, this.clonePosition());
|
|
3312
|
+
if (u && ct(u == null ? void 0 : u.style, "::", 0)) {
|
|
3313
|
+
var d = Dn(u.style.slice(2));
|
|
3336
3314
|
if (a === "number") {
|
|
3337
3315
|
var f = this.parseNumberSkeletonFromString(d, u.styleLocation);
|
|
3338
3316
|
return f.err ? f : {
|
|
@@ -3343,12 +3321,12 @@ var Vn = (
|
|
|
3343
3321
|
if (d.length === 0)
|
|
3344
3322
|
return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
|
|
3345
3323
|
var S = d;
|
|
3346
|
-
this.locale && (S =
|
|
3324
|
+
this.locale && (S = Tn(d, this.locale));
|
|
3347
3325
|
var c = {
|
|
3348
3326
|
type: j.dateTime,
|
|
3349
3327
|
pattern: S,
|
|
3350
3328
|
location: u.styleLocation,
|
|
3351
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3329
|
+
parsedOptions: this.shouldParseSkeletons ? gn(S) : {}
|
|
3352
3330
|
}, O = a === "date" ? x.date : x.time;
|
|
3353
3331
|
return {
|
|
3354
3332
|
val: { type: O, value: n, location: m, style: c },
|
|
@@ -3371,50 +3349,50 @@ var Vn = (
|
|
|
3371
3349
|
case "select": {
|
|
3372
3350
|
var T = this.clonePosition();
|
|
3373
3351
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3374
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3352
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(T, y({}, T)));
|
|
3375
3353
|
this.bumpSpace();
|
|
3376
|
-
var Z = this.parseIdentifierIfPossible(),
|
|
3354
|
+
var Z = this.parseIdentifierIfPossible(), N = 0;
|
|
3377
3355
|
if (a !== "select" && Z.value === "offset") {
|
|
3378
3356
|
if (!this.bumpIf(":"))
|
|
3379
|
-
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3357
|
+
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3380
3358
|
this.bumpSpace();
|
|
3381
3359
|
var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3382
3360
|
if (f.err)
|
|
3383
3361
|
return f;
|
|
3384
|
-
this.bumpSpace(), Z = this.parseIdentifierIfPossible(),
|
|
3362
|
+
this.bumpSpace(), Z = this.parseIdentifierIfPossible(), N = f.val;
|
|
3385
3363
|
}
|
|
3386
3364
|
var oe = this.tryParsePluralOrSelectOptions(t, a, r, Z);
|
|
3387
3365
|
if (oe.err)
|
|
3388
3366
|
return oe;
|
|
3389
|
-
var
|
|
3390
|
-
if (
|
|
3391
|
-
return
|
|
3392
|
-
var
|
|
3367
|
+
var g = this.tryParseArgumentClose(i);
|
|
3368
|
+
if (g.err)
|
|
3369
|
+
return g;
|
|
3370
|
+
var We = v(i, this.clonePosition());
|
|
3393
3371
|
return a === "select" ? {
|
|
3394
3372
|
val: {
|
|
3395
3373
|
type: x.select,
|
|
3396
3374
|
value: n,
|
|
3397
|
-
options:
|
|
3398
|
-
location:
|
|
3375
|
+
options: ft(oe.val),
|
|
3376
|
+
location: We
|
|
3399
3377
|
},
|
|
3400
3378
|
err: null
|
|
3401
3379
|
} : {
|
|
3402
3380
|
val: {
|
|
3403
3381
|
type: x.plural,
|
|
3404
3382
|
value: n,
|
|
3405
|
-
options:
|
|
3406
|
-
offset:
|
|
3383
|
+
options: ft(oe.val),
|
|
3384
|
+
offset: N,
|
|
3407
3385
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3408
|
-
location:
|
|
3386
|
+
location: We
|
|
3409
3387
|
},
|
|
3410
3388
|
err: null
|
|
3411
3389
|
};
|
|
3412
3390
|
}
|
|
3413
3391
|
default:
|
|
3414
|
-
return this.error(b.INVALID_ARGUMENT_TYPE,
|
|
3392
|
+
return this.error(b.INVALID_ARGUMENT_TYPE, v(s, h));
|
|
3415
3393
|
}
|
|
3416
3394
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3417
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3395
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3418
3396
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3419
3397
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3420
3398
|
var n = this.char();
|
|
@@ -3423,7 +3401,7 @@ var Vn = (
|
|
|
3423
3401
|
this.bump();
|
|
3424
3402
|
var i = this.clonePosition();
|
|
3425
3403
|
if (!this.bumpUntil("'"))
|
|
3426
|
-
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3404
|
+
return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
|
|
3427
3405
|
this.bump();
|
|
3428
3406
|
break;
|
|
3429
3407
|
}
|
|
@@ -3453,7 +3431,7 @@ var Vn = (
|
|
|
3453
3431
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3454
3432
|
var n = [];
|
|
3455
3433
|
try {
|
|
3456
|
-
n =
|
|
3434
|
+
n = _n(t);
|
|
3457
3435
|
} catch (i) {
|
|
3458
3436
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3459
3437
|
}
|
|
@@ -3462,7 +3440,7 @@ var Vn = (
|
|
|
3462
3440
|
type: j.number,
|
|
3463
3441
|
tokens: n,
|
|
3464
3442
|
location: r,
|
|
3465
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3443
|
+
parsedOptions: this.shouldParseSkeletons ? Hn(n) : {}
|
|
3466
3444
|
},
|
|
3467
3445
|
err: null
|
|
3468
3446
|
};
|
|
@@ -3474,7 +3452,7 @@ var Vn = (
|
|
|
3474
3452
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3475
3453
|
if (c.err)
|
|
3476
3454
|
return c;
|
|
3477
|
-
l =
|
|
3455
|
+
l = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3478
3456
|
} else
|
|
3479
3457
|
break;
|
|
3480
3458
|
}
|
|
@@ -3483,22 +3461,22 @@ var Vn = (
|
|
|
3483
3461
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3484
3462
|
var p = this.clonePosition();
|
|
3485
3463
|
if (!this.bumpIf("{"))
|
|
3486
|
-
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3487
|
-
var
|
|
3488
|
-
if (
|
|
3489
|
-
return
|
|
3464
|
+
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3465
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
3466
|
+
if (g.err)
|
|
3467
|
+
return g;
|
|
3490
3468
|
var m = this.tryParseArgumentClose(p);
|
|
3491
3469
|
if (m.err)
|
|
3492
3470
|
return m;
|
|
3493
3471
|
a.push([
|
|
3494
3472
|
u,
|
|
3495
3473
|
{
|
|
3496
|
-
value:
|
|
3497
|
-
location:
|
|
3474
|
+
value: g.val,
|
|
3475
|
+
location: v(p, this.clonePosition())
|
|
3498
3476
|
}
|
|
3499
3477
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
3500
3478
|
}
|
|
3501
|
-
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3479
|
+
return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3502
3480
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3503
3481
|
var n = 1, i = this.clonePosition();
|
|
3504
3482
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3509,8 +3487,8 @@ var Vn = (
|
|
|
3509
3487
|
else
|
|
3510
3488
|
break;
|
|
3511
3489
|
}
|
|
3512
|
-
var h =
|
|
3513
|
-
return o ? (s *= n,
|
|
3490
|
+
var h = v(i, this.clonePosition());
|
|
3491
|
+
return o ? (s *= n, Rn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3514
3492
|
}, e.prototype.offset = function() {
|
|
3515
3493
|
return this.position.offset;
|
|
3516
3494
|
}, e.prototype.isEOF = function() {
|
|
@@ -3525,7 +3503,7 @@ var Vn = (
|
|
|
3525
3503
|
var t = this.position.offset;
|
|
3526
3504
|
if (t >= this.message.length)
|
|
3527
3505
|
throw Error("out of bound");
|
|
3528
|
-
var r =
|
|
3506
|
+
var r = Vt(this.message, t);
|
|
3529
3507
|
if (r === void 0)
|
|
3530
3508
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3531
3509
|
return r;
|
|
@@ -3544,7 +3522,7 @@ var Vn = (
|
|
|
3544
3522
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
|
3545
3523
|
}
|
|
3546
3524
|
}, e.prototype.bumpIf = function(t) {
|
|
3547
|
-
if (
|
|
3525
|
+
if (ct(this.message, t, this.offset())) {
|
|
3548
3526
|
for (var r = 0; r < t.length; r++)
|
|
3549
3527
|
this.bump();
|
|
3550
3528
|
return !0;
|
|
@@ -3566,7 +3544,7 @@ var Vn = (
|
|
|
3566
3544
|
break;
|
|
3567
3545
|
}
|
|
3568
3546
|
}, e.prototype.bumpSpace = function() {
|
|
3569
|
-
for (; !this.isEOF() &&
|
|
3547
|
+
for (; !this.isEOF() && Wt(this.char()); )
|
|
3570
3548
|
this.bump();
|
|
3571
3549
|
}, e.prototype.peek = function() {
|
|
3572
3550
|
if (this.isEOF())
|
|
@@ -3576,38 +3554,38 @@ var Vn = (
|
|
|
3576
3554
|
}, e;
|
|
3577
3555
|
}()
|
|
3578
3556
|
);
|
|
3579
|
-
function
|
|
3557
|
+
function De(e) {
|
|
3580
3558
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3581
3559
|
}
|
|
3582
|
-
function
|
|
3583
|
-
return
|
|
3560
|
+
function jn(e) {
|
|
3561
|
+
return De(e) || e === 47;
|
|
3584
3562
|
}
|
|
3585
|
-
function
|
|
3563
|
+
function kn(e) {
|
|
3586
3564
|
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;
|
|
3587
3565
|
}
|
|
3588
|
-
function
|
|
3566
|
+
function Wt(e) {
|
|
3589
3567
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3590
3568
|
}
|
|
3591
|
-
function
|
|
3569
|
+
function Vn(e) {
|
|
3592
3570
|
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;
|
|
3593
3571
|
}
|
|
3594
|
-
function
|
|
3572
|
+
function Fe(e) {
|
|
3595
3573
|
e.forEach(function(t) {
|
|
3596
|
-
if (delete t.location,
|
|
3574
|
+
if (delete t.location, $t(t) || Rt(t))
|
|
3597
3575
|
for (var r in t.options)
|
|
3598
|
-
delete t.options[r].location,
|
|
3576
|
+
delete t.options[r].location, Fe(t.options[r].value);
|
|
3599
3577
|
else
|
|
3600
|
-
|
|
3578
|
+
Ct(t) && Dt(t.style) || (Lt(t) || Mt(t)) && Me(t.style) ? delete t.style.location : Ut(t) && Fe(t.children);
|
|
3601
3579
|
});
|
|
3602
3580
|
}
|
|
3603
|
-
function
|
|
3604
|
-
t === void 0 && (t = {}), t =
|
|
3605
|
-
var r = new
|
|
3581
|
+
function Xn(e, t) {
|
|
3582
|
+
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3583
|
+
var r = new Gn(e, t).parse();
|
|
3606
3584
|
if (r.err) {
|
|
3607
3585
|
var n = SyntaxError(b[r.err.kind]);
|
|
3608
3586
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3609
3587
|
}
|
|
3610
|
-
return t != null && t.captureLocation ||
|
|
3588
|
+
return t != null && t.captureLocation || Fe(r.val), r.val;
|
|
3611
3589
|
}
|
|
3612
3590
|
var k;
|
|
3613
3591
|
(function(e) {
|
|
@@ -3625,7 +3603,7 @@ var be = (
|
|
|
3625
3603
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3626
3604
|
}, t;
|
|
3627
3605
|
}(Error)
|
|
3628
|
-
),
|
|
3606
|
+
), pt = (
|
|
3629
3607
|
/** @class */
|
|
3630
3608
|
function(e) {
|
|
3631
3609
|
P(t, e);
|
|
@@ -3634,7 +3612,7 @@ var be = (
|
|
|
3634
3612
|
}
|
|
3635
3613
|
return t;
|
|
3636
3614
|
}(be)
|
|
3637
|
-
),
|
|
3615
|
+
), Wn = (
|
|
3638
3616
|
/** @class */
|
|
3639
3617
|
function(e) {
|
|
3640
3618
|
P(t, e);
|
|
@@ -3643,7 +3621,7 @@ var be = (
|
|
|
3643
3621
|
}
|
|
3644
3622
|
return t;
|
|
3645
3623
|
}(be)
|
|
3646
|
-
),
|
|
3624
|
+
), zn = (
|
|
3647
3625
|
/** @class */
|
|
3648
3626
|
function(e) {
|
|
3649
3627
|
P(t, e);
|
|
@@ -3656,17 +3634,17 @@ var be = (
|
|
|
3656
3634
|
(function(e) {
|
|
3657
3635
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3658
3636
|
})(E || (E = {}));
|
|
3659
|
-
function
|
|
3637
|
+
function Zn(e) {
|
|
3660
3638
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3661
3639
|
var n = t[t.length - 1];
|
|
3662
3640
|
return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
|
|
3663
3641
|
}, []);
|
|
3664
3642
|
}
|
|
3665
|
-
function
|
|
3643
|
+
function Qn(e) {
|
|
3666
3644
|
return typeof e == "function";
|
|
3667
3645
|
}
|
|
3668
3646
|
function le(e, t, r, n, i, o, s) {
|
|
3669
|
-
if (e.length === 1 &&
|
|
3647
|
+
if (e.length === 1 && at(e[0]))
|
|
3670
3648
|
return [
|
|
3671
3649
|
{
|
|
3672
3650
|
type: E.literal,
|
|
@@ -3675,14 +3653,14 @@ function le(e, t, r, n, i, o, s) {
|
|
|
3675
3653
|
];
|
|
3676
3654
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3677
3655
|
var l = u[h];
|
|
3678
|
-
if (
|
|
3656
|
+
if (at(l)) {
|
|
3679
3657
|
a.push({
|
|
3680
3658
|
type: E.literal,
|
|
3681
3659
|
value: l.value
|
|
3682
3660
|
});
|
|
3683
3661
|
continue;
|
|
3684
3662
|
}
|
|
3685
|
-
if (
|
|
3663
|
+
if (vn(l)) {
|
|
3686
3664
|
typeof o == "number" && a.push({
|
|
3687
3665
|
type: E.literal,
|
|
3688
3666
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3691,61 +3669,61 @@ function le(e, t, r, n, i, o, s) {
|
|
|
3691
3669
|
}
|
|
3692
3670
|
var f = l.value;
|
|
3693
3671
|
if (!(i && f in i))
|
|
3694
|
-
throw new
|
|
3672
|
+
throw new zn(f, s);
|
|
3695
3673
|
var c = i[f];
|
|
3696
|
-
if (
|
|
3674
|
+
if (bn(l)) {
|
|
3697
3675
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3698
3676
|
type: typeof c == "string" ? E.literal : E.object,
|
|
3699
3677
|
value: c
|
|
3700
3678
|
});
|
|
3701
3679
|
continue;
|
|
3702
3680
|
}
|
|
3703
|
-
if (
|
|
3704
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3681
|
+
if (Lt(l)) {
|
|
3682
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Me(l.style) ? l.style.parsedOptions : void 0;
|
|
3705
3683
|
a.push({
|
|
3706
3684
|
type: E.literal,
|
|
3707
3685
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3708
3686
|
});
|
|
3709
3687
|
continue;
|
|
3710
3688
|
}
|
|
3711
|
-
if (
|
|
3712
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3689
|
+
if (Mt(l)) {
|
|
3690
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Me(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3713
3691
|
a.push({
|
|
3714
3692
|
type: E.literal,
|
|
3715
3693
|
value: r.getDateTimeFormat(t, p).format(c)
|
|
3716
3694
|
});
|
|
3717
3695
|
continue;
|
|
3718
3696
|
}
|
|
3719
|
-
if (
|
|
3720
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3697
|
+
if (Ct(l)) {
|
|
3698
|
+
var p = typeof l.style == "string" ? n.number[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
|
|
3721
3699
|
p && p.scale && (c = c * (p.scale || 1)), a.push({
|
|
3722
3700
|
type: E.literal,
|
|
3723
3701
|
value: r.getNumberFormat(t, p).format(c)
|
|
3724
3702
|
});
|
|
3725
3703
|
continue;
|
|
3726
3704
|
}
|
|
3727
|
-
if (
|
|
3728
|
-
var
|
|
3729
|
-
if (!
|
|
3730
|
-
throw new
|
|
3731
|
-
var S = le(
|
|
3732
|
-
return
|
|
3705
|
+
if (Ut(l)) {
|
|
3706
|
+
var g = l.children, m = l.value, d = i[m];
|
|
3707
|
+
if (!Qn(d))
|
|
3708
|
+
throw new Wn(m, "function", s);
|
|
3709
|
+
var S = le(g, t, r, n, i, o), O = d(S.map(function(N) {
|
|
3710
|
+
return N.value;
|
|
3733
3711
|
}));
|
|
3734
|
-
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(
|
|
3712
|
+
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(N) {
|
|
3735
3713
|
return {
|
|
3736
|
-
type: typeof
|
|
3737
|
-
value:
|
|
3714
|
+
type: typeof N == "string" ? E.literal : E.object,
|
|
3715
|
+
value: N
|
|
3738
3716
|
};
|
|
3739
3717
|
}));
|
|
3740
3718
|
}
|
|
3741
|
-
if (
|
|
3719
|
+
if ($t(l)) {
|
|
3742
3720
|
var T = l.options[c] || l.options.other;
|
|
3743
3721
|
if (!T)
|
|
3744
|
-
throw new
|
|
3722
|
+
throw new pt(l.value, c, Object.keys(l.options), s);
|
|
3745
3723
|
a.push.apply(a, le(T.value, t, r, n, i));
|
|
3746
3724
|
continue;
|
|
3747
3725
|
}
|
|
3748
|
-
if (
|
|
3726
|
+
if (Rt(l)) {
|
|
3749
3727
|
var T = l.options["=".concat(c)];
|
|
3750
3728
|
if (!T) {
|
|
3751
3729
|
if (!Intl.PluralRules)
|
|
@@ -3756,24 +3734,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3756
3734
|
T = l.options[Z] || l.options.other;
|
|
3757
3735
|
}
|
|
3758
3736
|
if (!T)
|
|
3759
|
-
throw new
|
|
3737
|
+
throw new pt(l.value, c, Object.keys(l.options), s);
|
|
3760
3738
|
a.push.apply(a, le(T.value, t, r, n, i, c - (l.offset || 0)));
|
|
3761
3739
|
continue;
|
|
3762
3740
|
}
|
|
3763
3741
|
}
|
|
3764
|
-
return
|
|
3742
|
+
return Zn(a);
|
|
3765
3743
|
}
|
|
3766
|
-
function
|
|
3767
|
-
return t ?
|
|
3768
|
-
return r[n] =
|
|
3744
|
+
function Jn(e, t) {
|
|
3745
|
+
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3746
|
+
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3769
3747
|
}, {})) : e;
|
|
3770
3748
|
}
|
|
3771
|
-
function
|
|
3749
|
+
function Yn(e, t) {
|
|
3772
3750
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3773
|
-
return r[n] =
|
|
3774
|
-
},
|
|
3751
|
+
return r[n] = Jn(e[n], t[n]), r;
|
|
3752
|
+
}, y({}, e)) : e;
|
|
3775
3753
|
}
|
|
3776
|
-
function
|
|
3754
|
+
function He(e) {
|
|
3777
3755
|
return {
|
|
3778
3756
|
create: function() {
|
|
3779
3757
|
return {
|
|
@@ -3787,39 +3765,39 @@ function Te(e) {
|
|
|
3787
3765
|
}
|
|
3788
3766
|
};
|
|
3789
3767
|
}
|
|
3790
|
-
function
|
|
3768
|
+
function qn(e) {
|
|
3791
3769
|
return e === void 0 && (e = {
|
|
3792
3770
|
number: {},
|
|
3793
3771
|
dateTime: {},
|
|
3794
3772
|
pluralRules: {}
|
|
3795
3773
|
}), {
|
|
3796
|
-
getNumberFormat:
|
|
3774
|
+
getNumberFormat: Ee(function() {
|
|
3797
3775
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3798
3776
|
r[n] = arguments[n];
|
|
3799
3777
|
return new ((t = Intl.NumberFormat).bind.apply(t, D([void 0], r, !1)))();
|
|
3800
3778
|
}, {
|
|
3801
|
-
cache:
|
|
3802
|
-
strategy:
|
|
3779
|
+
cache: He(e.number),
|
|
3780
|
+
strategy: Se.variadic
|
|
3803
3781
|
}),
|
|
3804
|
-
getDateTimeFormat:
|
|
3782
|
+
getDateTimeFormat: Ee(function() {
|
|
3805
3783
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3806
3784
|
r[n] = arguments[n];
|
|
3807
3785
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, D([void 0], r, !1)))();
|
|
3808
3786
|
}, {
|
|
3809
|
-
cache:
|
|
3810
|
-
strategy:
|
|
3787
|
+
cache: He(e.dateTime),
|
|
3788
|
+
strategy: Se.variadic
|
|
3811
3789
|
}),
|
|
3812
|
-
getPluralRules:
|
|
3790
|
+
getPluralRules: Ee(function() {
|
|
3813
3791
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3814
3792
|
r[n] = arguments[n];
|
|
3815
3793
|
return new ((t = Intl.PluralRules).bind.apply(t, D([void 0], r, !1)))();
|
|
3816
3794
|
}, {
|
|
3817
|
-
cache:
|
|
3818
|
-
strategy:
|
|
3795
|
+
cache: He(e.pluralRules),
|
|
3796
|
+
strategy: Se.variadic
|
|
3819
3797
|
})
|
|
3820
3798
|
};
|
|
3821
3799
|
}
|
|
3822
|
-
var
|
|
3800
|
+
var Kn = (
|
|
3823
3801
|
/** @class */
|
|
3824
3802
|
function() {
|
|
3825
3803
|
function e(t, r, n, i) {
|
|
@@ -3851,13 +3829,13 @@ var ri = (
|
|
|
3851
3829
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3852
3830
|
var s = i || {};
|
|
3853
3831
|
s.formatters;
|
|
3854
|
-
var a =
|
|
3855
|
-
this.ast = e.__parse(t,
|
|
3832
|
+
var a = Or(s, ["formatters"]);
|
|
3833
|
+
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3856
3834
|
} else
|
|
3857
3835
|
this.ast = t;
|
|
3858
3836
|
if (!Array.isArray(this.ast))
|
|
3859
3837
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3860
|
-
this.formats =
|
|
3838
|
+
this.formats = Yn(e.formats, n), this.formatters = i && i.formatters || qn(this.formatterCache);
|
|
3861
3839
|
}
|
|
3862
3840
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3863
3841
|
get: function() {
|
|
@@ -3870,7 +3848,7 @@ var ri = (
|
|
|
3870
3848
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3871
3849
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3872
3850
|
}
|
|
3873
|
-
}, e.__parse =
|
|
3851
|
+
}, e.__parse = Xn, e.formats = {
|
|
3874
3852
|
number: {
|
|
3875
3853
|
integer: {
|
|
3876
3854
|
maximumFractionDigits: 0
|
|
@@ -3931,7 +3909,7 @@ var ri = (
|
|
|
3931
3909
|
}, e;
|
|
3932
3910
|
}()
|
|
3933
3911
|
);
|
|
3934
|
-
function
|
|
3912
|
+
function ei(e, t) {
|
|
3935
3913
|
if (t == null)
|
|
3936
3914
|
return;
|
|
3937
3915
|
if (t in e)
|
|
@@ -3952,92 +3930,92 @@ function ni(e, t) {
|
|
|
3952
3930
|
n = void 0;
|
|
3953
3931
|
return n;
|
|
3954
3932
|
}
|
|
3955
|
-
const I = {},
|
|
3933
|
+
const I = {}, ti = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), zt = (e, t) => {
|
|
3956
3934
|
if (t == null)
|
|
3957
3935
|
return;
|
|
3958
3936
|
if (t in I && e in I[t])
|
|
3959
3937
|
return I[t][e];
|
|
3960
|
-
const r =
|
|
3938
|
+
const r = ve(t);
|
|
3961
3939
|
for (let n = 0; n < r.length; n++) {
|
|
3962
|
-
const i = r[n], o =
|
|
3940
|
+
const i = r[n], o = ni(i, e);
|
|
3963
3941
|
if (o)
|
|
3964
|
-
return
|
|
3942
|
+
return ti(e, t, o);
|
|
3965
3943
|
}
|
|
3966
3944
|
};
|
|
3967
|
-
let
|
|
3945
|
+
let Ve;
|
|
3968
3946
|
const ne = de({});
|
|
3969
|
-
function
|
|
3970
|
-
return
|
|
3947
|
+
function ri(e) {
|
|
3948
|
+
return Ve[e] || null;
|
|
3971
3949
|
}
|
|
3972
|
-
function
|
|
3973
|
-
return e in
|
|
3950
|
+
function Zt(e) {
|
|
3951
|
+
return e in Ve;
|
|
3974
3952
|
}
|
|
3975
|
-
function
|
|
3976
|
-
if (!
|
|
3953
|
+
function ni(e, t) {
|
|
3954
|
+
if (!Zt(e))
|
|
3977
3955
|
return null;
|
|
3978
|
-
const r =
|
|
3979
|
-
return
|
|
3956
|
+
const r = ri(e);
|
|
3957
|
+
return ei(r, t);
|
|
3980
3958
|
}
|
|
3981
|
-
function
|
|
3959
|
+
function ii(e) {
|
|
3982
3960
|
if (e == null)
|
|
3983
3961
|
return;
|
|
3984
|
-
const t =
|
|
3962
|
+
const t = ve(e);
|
|
3985
3963
|
for (let r = 0; r < t.length; r++) {
|
|
3986
3964
|
const n = t[r];
|
|
3987
|
-
if (
|
|
3965
|
+
if (Zt(n))
|
|
3988
3966
|
return n;
|
|
3989
3967
|
}
|
|
3990
3968
|
}
|
|
3991
|
-
function
|
|
3992
|
-
delete I[e], ne.update((r) => (r[e] =
|
|
3969
|
+
function oi(e, ...t) {
|
|
3970
|
+
delete I[e], ne.update((r) => (r[e] = un.all([r[e] || {}, ...t]), r));
|
|
3993
3971
|
}
|
|
3994
|
-
|
|
3972
|
+
W(
|
|
3995
3973
|
[ne],
|
|
3996
3974
|
([e]) => Object.keys(e)
|
|
3997
3975
|
);
|
|
3998
|
-
ne.subscribe((e) =>
|
|
3976
|
+
ne.subscribe((e) => Ve = e);
|
|
3999
3977
|
const ce = {};
|
|
4000
|
-
function
|
|
3978
|
+
function si(e, t) {
|
|
4001
3979
|
ce[e].delete(t), ce[e].size === 0 && delete ce[e];
|
|
4002
3980
|
}
|
|
4003
|
-
function
|
|
3981
|
+
function Qt(e) {
|
|
4004
3982
|
return ce[e];
|
|
4005
3983
|
}
|
|
4006
|
-
function
|
|
4007
|
-
return
|
|
4008
|
-
const r =
|
|
3984
|
+
function ai(e) {
|
|
3985
|
+
return ve(e).map((t) => {
|
|
3986
|
+
const r = Qt(t);
|
|
4009
3987
|
return [t, r ? [...r] : []];
|
|
4010
3988
|
}).filter(([, t]) => t.length > 0);
|
|
4011
3989
|
}
|
|
4012
|
-
function
|
|
4013
|
-
return e == null ? !1 :
|
|
3990
|
+
function Ge(e) {
|
|
3991
|
+
return e == null ? !1 : ve(e).some(
|
|
4014
3992
|
(t) => {
|
|
4015
3993
|
var r;
|
|
4016
|
-
return (r =
|
|
3994
|
+
return (r = Qt(t)) == null ? void 0 : r.size;
|
|
4017
3995
|
}
|
|
4018
3996
|
);
|
|
4019
3997
|
}
|
|
4020
|
-
function
|
|
3998
|
+
function ui(e, t) {
|
|
4021
3999
|
return Promise.all(
|
|
4022
|
-
t.map((n) => (
|
|
4023
|
-
).then((n) =>
|
|
4000
|
+
t.map((n) => (si(e, n), n().then((i) => i.default || i)))
|
|
4001
|
+
).then((n) => oi(e, ...n));
|
|
4024
4002
|
}
|
|
4025
4003
|
const Q = {};
|
|
4026
|
-
function
|
|
4027
|
-
if (!
|
|
4004
|
+
function Jt(e) {
|
|
4005
|
+
if (!Ge(e))
|
|
4028
4006
|
return e in Q ? Q[e] : Promise.resolve();
|
|
4029
|
-
const t =
|
|
4007
|
+
const t = ai(e);
|
|
4030
4008
|
return Q[e] = Promise.all(
|
|
4031
4009
|
t.map(
|
|
4032
|
-
([r, n]) =>
|
|
4010
|
+
([r, n]) => ui(r, n)
|
|
4033
4011
|
)
|
|
4034
4012
|
).then(() => {
|
|
4035
|
-
if (
|
|
4036
|
-
return
|
|
4013
|
+
if (Ge(e))
|
|
4014
|
+
return Jt(e);
|
|
4037
4015
|
delete Q[e];
|
|
4038
4016
|
}), Q[e];
|
|
4039
4017
|
}
|
|
4040
|
-
const
|
|
4018
|
+
const hi = {
|
|
4041
4019
|
number: {
|
|
4042
4020
|
scientific: { notation: "scientific" },
|
|
4043
4021
|
engineering: { notation: "engineering" },
|
|
@@ -4066,78 +4044,78 @@ const fi = {
|
|
|
4066
4044
|
timeZoneName: "short"
|
|
4067
4045
|
}
|
|
4068
4046
|
}
|
|
4069
|
-
},
|
|
4047
|
+
}, li = {
|
|
4070
4048
|
fallbackLocale: null,
|
|
4071
4049
|
loadingDelay: 200,
|
|
4072
|
-
formats:
|
|
4050
|
+
formats: hi,
|
|
4073
4051
|
warnOnMissingMessages: !0,
|
|
4074
4052
|
handleMissingMessage: void 0,
|
|
4075
4053
|
ignoreTag: !0
|
|
4076
|
-
},
|
|
4054
|
+
}, ci = li;
|
|
4077
4055
|
function V() {
|
|
4078
|
-
return
|
|
4056
|
+
return ci;
|
|
4079
4057
|
}
|
|
4080
|
-
const
|
|
4081
|
-
var
|
|
4058
|
+
const Te = de(!1);
|
|
4059
|
+
var fi = Object.defineProperty, mi = Object.defineProperties, pi = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vi = (e, t) => {
|
|
4082
4060
|
for (var r in t || (t = {}))
|
|
4083
|
-
|
|
4084
|
-
if (
|
|
4085
|
-
for (var r of
|
|
4086
|
-
|
|
4061
|
+
di.call(t, r) && bt(e, r, t[r]);
|
|
4062
|
+
if (dt)
|
|
4063
|
+
for (var r of dt(t))
|
|
4064
|
+
bi.call(t, r) && bt(e, r, t[r]);
|
|
4087
4065
|
return e;
|
|
4088
|
-
},
|
|
4089
|
-
let
|
|
4066
|
+
}, yi = (e, t) => mi(e, pi(t));
|
|
4067
|
+
let je;
|
|
4090
4068
|
const fe = de(null);
|
|
4091
|
-
function
|
|
4069
|
+
function vt(e) {
|
|
4092
4070
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4093
4071
|
}
|
|
4094
|
-
function
|
|
4095
|
-
const r =
|
|
4096
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4072
|
+
function ve(e, t = V().fallbackLocale) {
|
|
4073
|
+
const r = vt(e);
|
|
4074
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
|
|
4097
4075
|
}
|
|
4098
4076
|
function L() {
|
|
4099
|
-
return
|
|
4077
|
+
return je != null ? je : void 0;
|
|
4100
4078
|
}
|
|
4101
4079
|
fe.subscribe((e) => {
|
|
4102
|
-
|
|
4080
|
+
je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4103
4081
|
});
|
|
4104
|
-
const
|
|
4105
|
-
if (e &&
|
|
4082
|
+
const gi = (e) => {
|
|
4083
|
+
if (e && ii(e) && Ge(e)) {
|
|
4106
4084
|
const { loadingDelay: t } = V();
|
|
4107
4085
|
let r;
|
|
4108
4086
|
return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
|
|
4109
|
-
() =>
|
|
4087
|
+
() => Te.set(!0),
|
|
4110
4088
|
t
|
|
4111
|
-
) :
|
|
4089
|
+
) : Te.set(!0), Jt(e).then(() => {
|
|
4112
4090
|
fe.set(e);
|
|
4113
4091
|
}).finally(() => {
|
|
4114
|
-
clearTimeout(r),
|
|
4092
|
+
clearTimeout(r), Te.set(!1);
|
|
4115
4093
|
});
|
|
4116
4094
|
}
|
|
4117
4095
|
return fe.set(e);
|
|
4118
|
-
}, ie =
|
|
4119
|
-
set:
|
|
4120
|
-
}),
|
|
4096
|
+
}, ie = yi(vi({}, fe), {
|
|
4097
|
+
set: gi
|
|
4098
|
+
}), ye = (e) => {
|
|
4121
4099
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4122
4100
|
return (n) => {
|
|
4123
4101
|
const i = JSON.stringify(n);
|
|
4124
4102
|
return i in t ? t[i] : t[i] = e(n);
|
|
4125
4103
|
};
|
|
4126
4104
|
};
|
|
4127
|
-
var
|
|
4105
|
+
var xi = Object.defineProperty, me = Object.getOwnPropertySymbols, Yt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
|
|
4128
4106
|
for (var r in t || (t = {}))
|
|
4129
|
-
|
|
4107
|
+
Yt.call(t, r) && yt(e, r, t[r]);
|
|
4130
4108
|
if (me)
|
|
4131
4109
|
for (var r of me(t))
|
|
4132
|
-
|
|
4110
|
+
qt.call(t, r) && yt(e, r, t[r]);
|
|
4133
4111
|
return e;
|
|
4134
|
-
},
|
|
4112
|
+
}, z = (e, t) => {
|
|
4135
4113
|
var r = {};
|
|
4136
4114
|
for (var n in e)
|
|
4137
|
-
|
|
4115
|
+
Yt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4138
4116
|
if (e != null && me)
|
|
4139
4117
|
for (var n of me(e))
|
|
4140
|
-
t.indexOf(n) < 0 &&
|
|
4118
|
+
t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
|
|
4141
4119
|
return r;
|
|
4142
4120
|
};
|
|
4143
4121
|
const ee = (e, t) => {
|
|
@@ -4145,56 +4123,56 @@ const ee = (e, t) => {
|
|
|
4145
4123
|
if (e in r && t in r[e])
|
|
4146
4124
|
return r[e][t];
|
|
4147
4125
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4148
|
-
},
|
|
4126
|
+
}, _i = ye(
|
|
4149
4127
|
(e) => {
|
|
4150
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4128
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4151
4129
|
if (r == null)
|
|
4152
4130
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4153
4131
|
return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
|
|
4154
4132
|
}
|
|
4155
|
-
),
|
|
4133
|
+
), Ei = ye(
|
|
4156
4134
|
(e) => {
|
|
4157
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4135
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4158
4136
|
if (r == null)
|
|
4159
4137
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4160
4138
|
return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4161
4139
|
}
|
|
4162
|
-
),
|
|
4140
|
+
), Si = ye(
|
|
4163
4141
|
(e) => {
|
|
4164
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4142
|
+
var t = e, { locale: r, format: n } = t, i = z(t, ["locale", "format"]);
|
|
4165
4143
|
if (r == null)
|
|
4166
4144
|
throw new Error(
|
|
4167
4145
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4168
4146
|
);
|
|
4169
4147
|
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4170
4148
|
}
|
|
4171
|
-
),
|
|
4149
|
+
), wi = (e = {}) => {
|
|
4172
4150
|
var t = e, {
|
|
4173
4151
|
locale: r = L()
|
|
4174
|
-
} = t, n =
|
|
4152
|
+
} = t, n = z(t, [
|
|
4175
4153
|
"locale"
|
|
4176
4154
|
]);
|
|
4177
|
-
return
|
|
4178
|
-
},
|
|
4155
|
+
return _i(Xe({ locale: r }, n));
|
|
4156
|
+
}, Hi = (e = {}) => {
|
|
4179
4157
|
var t = e, {
|
|
4180
4158
|
locale: r = L()
|
|
4181
|
-
} = t, n =
|
|
4159
|
+
} = t, n = z(t, [
|
|
4182
4160
|
"locale"
|
|
4183
4161
|
]);
|
|
4184
|
-
return
|
|
4185
|
-
},
|
|
4162
|
+
return Ei(Xe({ locale: r }, n));
|
|
4163
|
+
}, Ti = (e = {}) => {
|
|
4186
4164
|
var t = e, {
|
|
4187
4165
|
locale: r = L()
|
|
4188
|
-
} = t, n =
|
|
4166
|
+
} = t, n = z(t, [
|
|
4189
4167
|
"locale"
|
|
4190
4168
|
]);
|
|
4191
|
-
return
|
|
4192
|
-
},
|
|
4169
|
+
return Si(Xe({ locale: r }, n));
|
|
4170
|
+
}, Bi = ye(
|
|
4193
4171
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4194
|
-
(e, t = L()) => new
|
|
4172
|
+
(e, t = L()) => new Kn(e, t, V().formats, {
|
|
4195
4173
|
ignoreTag: V().ignoreTag
|
|
4196
4174
|
})
|
|
4197
|
-
),
|
|
4175
|
+
), Ai = (e, t = {}) => {
|
|
4198
4176
|
var r, n, i, o;
|
|
4199
4177
|
let s = t;
|
|
4200
4178
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4207,7 +4185,7 @@ const ee = (e, t) => {
|
|
|
4207
4185
|
throw new Error(
|
|
4208
4186
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4209
4187
|
);
|
|
4210
|
-
let l =
|
|
4188
|
+
let l = zt(e, h);
|
|
4211
4189
|
if (!l)
|
|
4212
4190
|
l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4213
4191
|
else if (typeof l != "string")
|
|
@@ -4218,7 +4196,7 @@ const ee = (e, t) => {
|
|
|
4218
4196
|
return l;
|
|
4219
4197
|
let f = l;
|
|
4220
4198
|
try {
|
|
4221
|
-
f =
|
|
4199
|
+
f = Bi(l, h).format(a);
|
|
4222
4200
|
} catch (c) {
|
|
4223
4201
|
c instanceof Error && console.warn(
|
|
4224
4202
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4226,21 +4204,21 @@ const ee = (e, t) => {
|
|
|
4226
4204
|
);
|
|
4227
4205
|
}
|
|
4228
4206
|
return f;
|
|
4229
|
-
},
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
-
|
|
4234
|
-
|
|
4235
|
-
window.emWidgets = { topic:
|
|
4236
|
-
const
|
|
4237
|
-
function
|
|
4207
|
+
}, Pi = (e, t) => Ti(t).format(e), Oi = (e, t) => Hi(t).format(e), Ii = (e, t) => wi(t).format(e), Ni = (e, t = L()) => zt(e, t);
|
|
4208
|
+
W([ie, ne], () => Ai);
|
|
4209
|
+
W([ie], () => Pi);
|
|
4210
|
+
W([ie], () => Oi);
|
|
4211
|
+
W([ie], () => Ii);
|
|
4212
|
+
W([ie, ne], () => Ni);
|
|
4213
|
+
window.emWidgets = { topic: Vr };
|
|
4214
|
+
const Ci = (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));
|
|
4215
|
+
function Li(e, t) {
|
|
4238
4216
|
if (e) {
|
|
4239
4217
|
const r = document.createElement("style");
|
|
4240
4218
|
r.innerHTML = t, e.appendChild(r);
|
|
4241
4219
|
}
|
|
4242
4220
|
}
|
|
4243
|
-
function
|
|
4221
|
+
function Mi(e, t) {
|
|
4244
4222
|
const r = new URL(t);
|
|
4245
4223
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4246
4224
|
const i = document.createElement("style");
|
|
@@ -4249,7 +4227,7 @@ function Ui(e, t) {
|
|
|
4249
4227
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4250
4228
|
});
|
|
4251
4229
|
}
|
|
4252
|
-
function
|
|
4230
|
+
function $i(e, t, r) {
|
|
4253
4231
|
if (window.emMessageBus) {
|
|
4254
4232
|
const n = document.createElement("style");
|
|
4255
4233
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4257,27 +4235,27 @@ function Di(e, t, r) {
|
|
|
4257
4235
|
});
|
|
4258
4236
|
}
|
|
4259
4237
|
}
|
|
4260
|
-
function
|
|
4261
|
-
|
|
4238
|
+
function Ri(e) {
|
|
4239
|
+
sr(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}}");
|
|
4262
4240
|
}
|
|
4263
|
-
function
|
|
4241
|
+
function gt(e) {
|
|
4264
4242
|
let t, r, n, i, o, s, a, h, u, l, f, c;
|
|
4265
4243
|
function p(d, S) {
|
|
4266
4244
|
return (
|
|
4267
4245
|
/*isLoading*/
|
|
4268
|
-
d[3] ?
|
|
4246
|
+
d[3] ? Di : Ui
|
|
4269
4247
|
);
|
|
4270
4248
|
}
|
|
4271
|
-
let
|
|
4249
|
+
let g = p(e), m = g(e);
|
|
4272
4250
|
return {
|
|
4273
4251
|
c() {
|
|
4274
|
-
t = F("button"), r = F("small"), m.c(), n =
|
|
4252
|
+
t = F("button"), r = F("small"), m.c(), n = hr(), 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
|
|
4275
4253
|
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
|
|
4276
4254
|
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
|
|
4277
|
-
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"),
|
|
4255
|
+
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"), mr(i, "enable-background", "new 0 0 64 100"), _(i, "xml:space", "preserve"), _(t, "class", "betslipIndicator");
|
|
4278
4256
|
},
|
|
4279
4257
|
m(d, S) {
|
|
4280
|
-
re(d, t, S), B(t, r), m.m(r, null), B(t, n), B(t, i), B(i, o), B(o, s), B(o, a), B(o, h), B(o, u), B(o, l), f || (c =
|
|
4258
|
+
re(d, t, S), B(t, r), m.m(r, null), B(t, n), B(t, i), B(i, o), B(o, s), B(o, a), B(o, h), B(o, u), B(o, l), f || (c = lr(
|
|
4281
4259
|
t,
|
|
4282
4260
|
"click",
|
|
4283
4261
|
/*click_handler*/
|
|
@@ -4285,18 +4263,18 @@ function Et(e) {
|
|
|
4285
4263
|
), f = !0);
|
|
4286
4264
|
},
|
|
4287
4265
|
p(d, S) {
|
|
4288
|
-
|
|
4266
|
+
g === (g = p(d)) && m ? m.p(d, S) : (m.d(1), m = g(d), m && (m.c(), m.m(r, null)));
|
|
4289
4267
|
},
|
|
4290
4268
|
d(d) {
|
|
4291
4269
|
d && X(t), m.d(), f = !1, c();
|
|
4292
4270
|
}
|
|
4293
4271
|
};
|
|
4294
4272
|
}
|
|
4295
|
-
function
|
|
4273
|
+
function Ui(e) {
|
|
4296
4274
|
let t;
|
|
4297
4275
|
return {
|
|
4298
4276
|
c() {
|
|
4299
|
-
t =
|
|
4277
|
+
t = Et(
|
|
4300
4278
|
/*betNumber*/
|
|
4301
4279
|
e[1]
|
|
4302
4280
|
);
|
|
@@ -4306,7 +4284,7 @@ function Gi(e) {
|
|
|
4306
4284
|
},
|
|
4307
4285
|
p(r, n) {
|
|
4308
4286
|
n & /*betNumber*/
|
|
4309
|
-
2 &&
|
|
4287
|
+
2 && fr(
|
|
4310
4288
|
t,
|
|
4311
4289
|
/*betNumber*/
|
|
4312
4290
|
r[1]
|
|
@@ -4317,7 +4295,7 @@ function Gi(e) {
|
|
|
4317
4295
|
}
|
|
4318
4296
|
};
|
|
4319
4297
|
}
|
|
4320
|
-
function
|
|
4298
|
+
function Di(e) {
|
|
4321
4299
|
let t;
|
|
4322
4300
|
return {
|
|
4323
4301
|
c() {
|
|
@@ -4332,11 +4310,11 @@ function ji(e) {
|
|
|
4332
4310
|
}
|
|
4333
4311
|
};
|
|
4334
4312
|
}
|
|
4335
|
-
function
|
|
4313
|
+
function Fi(e) {
|
|
4336
4314
|
let t, r = (
|
|
4337
4315
|
/*mobileView*/
|
|
4338
4316
|
e[2] && /*betNumber*/
|
|
4339
|
-
e[1] > 0 &&
|
|
4317
|
+
e[1] > 0 && gt(e)
|
|
4340
4318
|
);
|
|
4341
4319
|
return {
|
|
4342
4320
|
c() {
|
|
@@ -4348,7 +4326,7 @@ function ki(e) {
|
|
|
4348
4326
|
p(n, [i]) {
|
|
4349
4327
|
/*mobileView*/
|
|
4350
4328
|
n[2] && /*betNumber*/
|
|
4351
|
-
n[1] > 0 ? r ? r.p(n, i) : (r =
|
|
4329
|
+
n[1] > 0 ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4352
4330
|
},
|
|
4353
4331
|
i: H,
|
|
4354
4332
|
o: H,
|
|
@@ -4357,7 +4335,7 @@ function ki(e) {
|
|
|
4357
4335
|
}
|
|
4358
4336
|
};
|
|
4359
4337
|
}
|
|
4360
|
-
function
|
|
4338
|
+
function Gi(e, t, r) {
|
|
4361
4339
|
let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, { mbsource: o } = t, s, a = window.navigator.userAgent, h = null, u = !1, l = !0;
|
|
4362
4340
|
const f = () => {
|
|
4363
4341
|
window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
|
|
@@ -4380,12 +4358,12 @@ function Vi(e, t, r) {
|
|
|
4380
4358
|
break;
|
|
4381
4359
|
}
|
|
4382
4360
|
};
|
|
4383
|
-
|
|
4361
|
+
br(() => (f(), window.addEventListener("message", p, !1), Ci(a) && r(2, u = !0), () => {
|
|
4384
4362
|
window.removeEventListener("message", p);
|
|
4385
4363
|
}));
|
|
4386
|
-
const
|
|
4364
|
+
const g = (d) => c("betslipClick", {});
|
|
4387
4365
|
function m(d) {
|
|
4388
|
-
|
|
4366
|
+
Be[d ? "unshift" : "push"](() => {
|
|
4389
4367
|
s = d, r(0, s);
|
|
4390
4368
|
});
|
|
4391
4369
|
}
|
|
@@ -4393,9 +4371,9 @@ function Vi(e, t, r) {
|
|
|
4393
4371
|
"clientstyling" in d && r(5, n = d.clientstyling), "clientstylingurl" in d && r(6, i = d.clientstylingurl), "mbsource" in d && r(7, o = d.mbsource);
|
|
4394
4372
|
}, e.$$.update = () => {
|
|
4395
4373
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4396
|
-
33 && n && s &&
|
|
4397
|
-
65 && i && s &&
|
|
4398
|
-
129 && o && s &&
|
|
4374
|
+
33 && n && s && Li(s, n), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4375
|
+
65 && i && s && Mi(s, i), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4376
|
+
129 && o && s && $i(s, `${o}.Style`);
|
|
4399
4377
|
}, [
|
|
4400
4378
|
s,
|
|
4401
4379
|
h,
|
|
@@ -4405,24 +4383,24 @@ function Vi(e, t, r) {
|
|
|
4405
4383
|
n,
|
|
4406
4384
|
i,
|
|
4407
4385
|
o,
|
|
4408
|
-
|
|
4386
|
+
g,
|
|
4409
4387
|
m
|
|
4410
4388
|
];
|
|
4411
4389
|
}
|
|
4412
|
-
class
|
|
4390
|
+
class ji extends Ar {
|
|
4413
4391
|
constructor(t) {
|
|
4414
|
-
super(),
|
|
4392
|
+
super(), Tr(
|
|
4415
4393
|
this,
|
|
4416
4394
|
t,
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4395
|
+
Gi,
|
|
4396
|
+
Fi,
|
|
4397
|
+
_t,
|
|
4420
4398
|
{
|
|
4421
4399
|
clientstyling: 5,
|
|
4422
4400
|
clientstylingurl: 6,
|
|
4423
4401
|
mbsource: 7
|
|
4424
4402
|
},
|
|
4425
|
-
|
|
4403
|
+
Ri
|
|
4426
4404
|
);
|
|
4427
4405
|
}
|
|
4428
4406
|
get clientstyling() {
|
|
@@ -4444,7 +4422,7 @@ class Xi extends Cr {
|
|
|
4444
4422
|
this.$$set({ mbsource: t }), Y();
|
|
4445
4423
|
}
|
|
4446
4424
|
}
|
|
4447
|
-
|
|
4425
|
+
Br(ji, { clientstyling: {}, clientstylingurl: {}, mbsource: {} }, [], [], !0);
|
|
4448
4426
|
export {
|
|
4449
|
-
|
|
4427
|
+
ji as default
|
|
4450
4428
|
};
|