@everymatrix/casino-jackpot-banner 1.74.0 → 1.74.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/CasinoJackpotBanner-CECrloSF.cjs +18 -0
- package/components/{CasinoJackpotBanner-C06wch9B.js → CasinoJackpotBanner-D4H3-LNg.js} +746 -767
- package/components/{CasinoJackpotBanner-CBsjExI3.js → CasinoJackpotBanner-xFnu8LcC.js} +772 -793
- package/es2015/casino-jackpot-banner.cjs +1 -1
- package/es2015/casino-jackpot-banner.js +1 -1
- package/esnext/casino-jackpot-banner.js +1 -1
- package/package.json +1 -1
- package/stencil/index-97d17652-BD-QREJe.js +558 -0
- package/stencil/index-97d17652-DJqGt8q2.js +542 -0
- package/stencil/index-97d17652-tiiCeQFu.cjs +1 -0
- package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-BMiZteNE.cjs} +1 -1
- package/stencil/{ui-image-CHeV8e9p.js → ui-image-BW8AeEVd.js} +1 -1
- package/stencil/{ui-image-C7s6Uvn5.js → ui-image-CX3MBBZL.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-2Ir9VtWc.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-AJGQkQBu.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-pdIH5TBa.cjs} +1 -1
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-BGf0VFLf.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-Dh5Eqdlm.js} +2 -2
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-_K8Pt3w9.js} +2 -2
- package/components/CasinoJackpotBanner-B4RmJHSE.cjs +0 -18
- package/stencil/index-97d17652--F7PvMq9.js +0 -542
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
- package/stencil/index-97d17652-CCFHkzJw.js +0 -558
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var cn = Object.defineProperty, hn = Object.defineProperties;
|
|
2
|
+
var fn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Xt = Object.getOwnPropertySymbols;
|
|
4
|
+
var pn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var bt = (e, t, r) => t in e ? cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, zt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
pn.call(t, r) && bt(e, r, t[r]);
|
|
8
|
+
if (Xt)
|
|
9
|
+
for (var r of Xt(t))
|
|
10
|
+
dn.call(t, r) && bt(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var Q = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, Jt = (e, t) => hn(e, fn(t));
|
|
13
|
+
var Q = (e, t, r) => (bt(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Zt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -27,32 +27,32 @@ var Yt = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
import "../stencil/ui-image-
|
|
30
|
+
import "../stencil/ui-image-CX3MBBZL.js";
|
|
31
31
|
function Z() {
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Br(e) {
|
|
34
34
|
return e();
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function Qt() {
|
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
|
38
38
|
}
|
|
39
|
-
function
|
|
40
|
-
e.forEach(
|
|
39
|
+
function Je(e) {
|
|
40
|
+
e.forEach(Br);
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function jt(e) {
|
|
43
43
|
return typeof e == "function";
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Pr(e, t) {
|
|
46
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
47
47
|
}
|
|
48
48
|
let tt;
|
|
49
49
|
function Y(e, t) {
|
|
50
50
|
return e === t ? !0 : (tt || (tt = document.createElement("a")), tt.href = t, e === tt.href);
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function mn(e) {
|
|
53
53
|
return Object.keys(e).length === 0;
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function bn(e, ...t) {
|
|
56
56
|
if (e == null) {
|
|
57
57
|
for (const n of t)
|
|
58
58
|
n(void 0);
|
|
@@ -64,14 +64,14 @@ function gn(e, ...t) {
|
|
|
64
64
|
function d(e, t) {
|
|
65
65
|
e.appendChild(t);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
68
|
-
const n =
|
|
67
|
+
function gn(e, t, r) {
|
|
68
|
+
const n = yn(e);
|
|
69
69
|
if (!n.getElementById(t)) {
|
|
70
70
|
const i = m("style");
|
|
71
|
-
i.id = t, i.textContent = r,
|
|
71
|
+
i.id = t, i.textContent = r, vn(n, i);
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function yn(e) {
|
|
75
75
|
if (!e)
|
|
76
76
|
return document;
|
|
77
77
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -81,20 +81,20 @@ function vn(e) {
|
|
|
81
81
|
t
|
|
82
82
|
) : e.ownerDocument;
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function vn(e, t) {
|
|
85
85
|
return d(
|
|
86
86
|
/** @type {Document} */
|
|
87
87
|
e.head || e,
|
|
88
88
|
t
|
|
89
89
|
), t.sheet;
|
|
90
90
|
}
|
|
91
|
-
function
|
|
91
|
+
function F(e, t, r) {
|
|
92
92
|
e.insertBefore(t, r || null);
|
|
93
93
|
}
|
|
94
94
|
function D(e) {
|
|
95
95
|
e.parentNode && e.parentNode.removeChild(e);
|
|
96
96
|
}
|
|
97
|
-
function
|
|
97
|
+
function _n(e, t) {
|
|
98
98
|
for (let r = 0; r < e.length; r += 1)
|
|
99
99
|
e[r] && e[r].d(t);
|
|
100
100
|
}
|
|
@@ -104,23 +104,23 @@ function m(e) {
|
|
|
104
104
|
function U(e) {
|
|
105
105
|
return document.createTextNode(e);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function O() {
|
|
108
108
|
return U(" ");
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function En() {
|
|
111
111
|
return U("");
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function xn(e, t, r, n) {
|
|
114
114
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
115
115
|
}
|
|
116
116
|
function _(e, t, r) {
|
|
117
117
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
118
118
|
}
|
|
119
|
-
function
|
|
119
|
+
function L(e, t, r) {
|
|
120
120
|
const n = t.toLowerCase();
|
|
121
121
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : _(e, t, r);
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function Sn(e) {
|
|
124
124
|
return Array.from(e.childNodes);
|
|
125
125
|
}
|
|
126
126
|
function j(e, t) {
|
|
@@ -130,7 +130,7 @@ function j(e, t) {
|
|
|
130
130
|
function rt(e, t, r, n) {
|
|
131
131
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Tn(e) {
|
|
134
134
|
const t = {};
|
|
135
135
|
return e.childNodes.forEach(
|
|
136
136
|
/** @param {Element} node */
|
|
@@ -139,63 +139,63 @@ function wn(e) {
|
|
|
139
139
|
}
|
|
140
140
|
), t;
|
|
141
141
|
}
|
|
142
|
-
let
|
|
143
|
-
function
|
|
144
|
-
|
|
142
|
+
let We;
|
|
143
|
+
function Ve(e) {
|
|
144
|
+
We = e;
|
|
145
145
|
}
|
|
146
|
-
function
|
|
147
|
-
if (!
|
|
146
|
+
function Lr() {
|
|
147
|
+
if (!We)
|
|
148
148
|
throw new Error("Function called outside component initialization");
|
|
149
|
-
return
|
|
149
|
+
return We;
|
|
150
150
|
}
|
|
151
|
-
function
|
|
152
|
-
|
|
151
|
+
function wn(e) {
|
|
152
|
+
Lr().$$.on_mount.push(e);
|
|
153
153
|
}
|
|
154
|
-
function
|
|
155
|
-
|
|
154
|
+
function Hn(e) {
|
|
155
|
+
Lr().$$.on_destroy.push(e);
|
|
156
156
|
}
|
|
157
|
-
const Be = [],
|
|
157
|
+
const Be = [], wt = [];
|
|
158
158
|
let Pe = [];
|
|
159
|
-
const
|
|
160
|
-
let
|
|
161
|
-
function
|
|
162
|
-
|
|
159
|
+
const Yt = [], An = /* @__PURE__ */ Promise.resolve();
|
|
160
|
+
let Ht = !1;
|
|
161
|
+
function Bn() {
|
|
162
|
+
Ht || (Ht = !0, An.then(C));
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function At(e) {
|
|
165
165
|
Pe.push(e);
|
|
166
166
|
}
|
|
167
|
-
const
|
|
167
|
+
const gt = /* @__PURE__ */ new Set();
|
|
168
168
|
let He = 0;
|
|
169
|
-
function
|
|
169
|
+
function C() {
|
|
170
170
|
if (He !== 0)
|
|
171
171
|
return;
|
|
172
|
-
const e =
|
|
172
|
+
const e = We;
|
|
173
173
|
do {
|
|
174
174
|
try {
|
|
175
175
|
for (; He < Be.length; ) {
|
|
176
176
|
const t = Be[He];
|
|
177
|
-
He++,
|
|
177
|
+
He++, Ve(t), Pn(t.$$);
|
|
178
178
|
}
|
|
179
179
|
} catch (t) {
|
|
180
180
|
throw Be.length = 0, He = 0, t;
|
|
181
181
|
}
|
|
182
|
-
for (
|
|
183
|
-
|
|
182
|
+
for (Ve(null), Be.length = 0, He = 0; wt.length; )
|
|
183
|
+
wt.pop()();
|
|
184
184
|
for (let t = 0; t < Pe.length; t += 1) {
|
|
185
185
|
const r = Pe[t];
|
|
186
|
-
|
|
186
|
+
gt.has(r) || (gt.add(r), r());
|
|
187
187
|
}
|
|
188
188
|
Pe.length = 0;
|
|
189
189
|
} while (Be.length);
|
|
190
|
-
for (;
|
|
191
|
-
|
|
192
|
-
|
|
190
|
+
for (; Yt.length; )
|
|
191
|
+
Yt.pop()();
|
|
192
|
+
Ht = !1, gt.clear(), Ve(e);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function Pn(e) {
|
|
195
195
|
if (e.fragment !== null) {
|
|
196
|
-
e.update(),
|
|
196
|
+
e.update(), Je(e.before_update);
|
|
197
197
|
const t = e.dirty;
|
|
198
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
198
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(At);
|
|
199
199
|
}
|
|
200
200
|
}
|
|
201
201
|
function Ln(e) {
|
|
@@ -206,26 +206,26 @@ const Cn = /* @__PURE__ */ new Set();
|
|
|
206
206
|
function In(e, t) {
|
|
207
207
|
e && e.i && (Cn.delete(e), e.i(t));
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function qt(e) {
|
|
210
210
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
211
211
|
}
|
|
212
|
-
function
|
|
212
|
+
function On(e, t, r) {
|
|
213
213
|
const { fragment: n, after_update: i } = e.$$;
|
|
214
|
-
n && n.m(t, r),
|
|
215
|
-
const o = e.$$.on_mount.map(
|
|
216
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
217
|
-
}), i.forEach(
|
|
214
|
+
n && n.m(t, r), At(() => {
|
|
215
|
+
const o = e.$$.on_mount.map(Br).filter(jt);
|
|
216
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Je(o), e.$$.on_mount = [];
|
|
217
|
+
}), i.forEach(At);
|
|
218
218
|
}
|
|
219
|
-
function
|
|
219
|
+
function Nn(e, t) {
|
|
220
220
|
const r = e.$$;
|
|
221
|
-
r.fragment !== null && (Ln(r.after_update),
|
|
221
|
+
r.fragment !== null && (Ln(r.after_update), Je(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
222
222
|
}
|
|
223
|
-
function
|
|
224
|
-
e.$$.dirty[0] === -1 && (Be.push(e),
|
|
223
|
+
function Mn(e, t) {
|
|
224
|
+
e.$$.dirty[0] === -1 && (Be.push(e), Bn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
225
225
|
}
|
|
226
|
-
function
|
|
227
|
-
const l =
|
|
228
|
-
|
|
226
|
+
function Rn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
227
|
+
const l = We;
|
|
228
|
+
Ve(e);
|
|
229
229
|
const u = e.$$ = {
|
|
230
230
|
fragment: null,
|
|
231
231
|
ctx: [],
|
|
@@ -233,7 +233,7 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
233
233
|
props: o,
|
|
234
234
|
update: Z,
|
|
235
235
|
not_equal: i,
|
|
236
|
-
bound:
|
|
236
|
+
bound: Qt(),
|
|
237
237
|
// lifecycle
|
|
238
238
|
on_mount: [],
|
|
239
239
|
on_destroy: [],
|
|
@@ -242,7 +242,7 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
242
242
|
after_update: [],
|
|
243
243
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
244
244
|
// everything else
|
|
245
|
-
callbacks:
|
|
245
|
+
callbacks: Qt(),
|
|
246
246
|
dirty: a,
|
|
247
247
|
skip_bound: !1,
|
|
248
248
|
root: t.target || l.$$.root
|
|
@@ -251,19 +251,19 @@ function Un(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
251
251
|
let c = !1;
|
|
252
252
|
if (u.ctx = r ? r(e, t.props || {}, (p, f, ...b) => {
|
|
253
253
|
const x = b.length ? b[0] : f;
|
|
254
|
-
return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x), c &&
|
|
255
|
-
}) : [], u.update(), c = !0,
|
|
254
|
+
return u.ctx && i(u.ctx[p], u.ctx[p] = x) && (!u.skip_bound && u.bound[p] && u.bound[p](x), c && Mn(e, p)), f;
|
|
255
|
+
}) : [], u.update(), c = !0, Je(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
256
256
|
if (t.hydrate) {
|
|
257
|
-
const p =
|
|
257
|
+
const p = Sn(t.target);
|
|
258
258
|
u.fragment && u.fragment.l(p), p.forEach(D);
|
|
259
259
|
} else
|
|
260
260
|
u.fragment && u.fragment.c();
|
|
261
|
-
t.intro && In(e.$$.fragment),
|
|
261
|
+
t.intro && In(e.$$.fragment), On(e, t.target, t.anchor), C();
|
|
262
262
|
}
|
|
263
|
-
|
|
263
|
+
Ve(l);
|
|
264
264
|
}
|
|
265
|
-
let
|
|
266
|
-
typeof HTMLElement == "function" && (
|
|
265
|
+
let Cr;
|
|
266
|
+
typeof HTMLElement == "function" && (Cr = class extends HTMLElement {
|
|
267
267
|
constructor(t, r, n) {
|
|
268
268
|
super();
|
|
269
269
|
/** The Svelte component constructor */
|
|
@@ -300,7 +300,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
300
300
|
}
|
|
301
301
|
}
|
|
302
302
|
connectedCallback() {
|
|
303
|
-
return
|
|
303
|
+
return Zt(this, null, function* () {
|
|
304
304
|
if (this.$$cn = !0, !this.$$c) {
|
|
305
305
|
let t = function(o) {
|
|
306
306
|
return () => {
|
|
@@ -314,7 +314,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
314
314
|
* @param {HTMLElement} [anchor]
|
|
315
315
|
*/
|
|
316
316
|
m: function(u, c) {
|
|
317
|
-
|
|
317
|
+
F(u, s, c);
|
|
318
318
|
},
|
|
319
319
|
d: function(u) {
|
|
320
320
|
u && D(s);
|
|
@@ -324,7 +324,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
324
324
|
};
|
|
325
325
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
326
326
|
return;
|
|
327
|
-
const r = {}, n =
|
|
327
|
+
const r = {}, n = Tn(this);
|
|
328
328
|
for (const o of this.$$s)
|
|
329
329
|
o in n && (r[o] = [t(o)]);
|
|
330
330
|
for (const o of this.attributes) {
|
|
@@ -335,7 +335,7 @@ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
|
|
|
335
335
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
336
336
|
this.$$c = new this.$$ctor({
|
|
337
337
|
target: this.shadowRoot || this,
|
|
338
|
-
props:
|
|
338
|
+
props: Jt(zt({}, this.$$d), {
|
|
339
339
|
$$slots: r,
|
|
340
340
|
$$scope: {
|
|
341
341
|
ctx: []
|
|
@@ -413,8 +413,8 @@ function ot(e, t, r, n) {
|
|
|
413
413
|
return t;
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
|
-
function
|
|
417
|
-
let s = class extends
|
|
416
|
+
function Un(e, t, r, n, i, o) {
|
|
417
|
+
let s = class extends Cr {
|
|
418
418
|
constructor() {
|
|
419
419
|
super(e, r, i), this.$$p_d = t;
|
|
420
420
|
}
|
|
@@ -444,7 +444,7 @@ function Dn(e, t, r, n, i, o) {
|
|
|
444
444
|
}), e.element = /** @type {any} */
|
|
445
445
|
s, s;
|
|
446
446
|
}
|
|
447
|
-
class
|
|
447
|
+
class Dn {
|
|
448
448
|
constructor() {
|
|
449
449
|
/**
|
|
450
450
|
* ### PRIVATE API
|
|
@@ -465,7 +465,7 @@ class Gn {
|
|
|
465
465
|
}
|
|
466
466
|
/** @returns {void} */
|
|
467
467
|
$destroy() {
|
|
468
|
-
|
|
468
|
+
Nn(this, 1), this.$destroy = Z;
|
|
469
469
|
}
|
|
470
470
|
/**
|
|
471
471
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -474,7 +474,7 @@ class Gn {
|
|
|
474
474
|
* @returns {() => void}
|
|
475
475
|
*/
|
|
476
476
|
$on(t, r) {
|
|
477
|
-
if (!
|
|
477
|
+
if (!jt(r))
|
|
478
478
|
return Z;
|
|
479
479
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
480
480
|
return n.push(r), () => {
|
|
@@ -487,11 +487,11 @@ class Gn {
|
|
|
487
487
|
* @returns {void}
|
|
488
488
|
*/
|
|
489
489
|
$set(t) {
|
|
490
|
-
this.$$set && !
|
|
490
|
+
this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
491
491
|
}
|
|
492
492
|
}
|
|
493
|
-
const
|
|
494
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
493
|
+
const Gn = "4";
|
|
494
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
|
|
495
495
|
/*! *****************************************************************************
|
|
496
496
|
Copyright (c) Microsoft Corporation.
|
|
497
497
|
|
|
@@ -506,24 +506,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
506
506
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
507
507
|
PERFORMANCE OF THIS SOFTWARE.
|
|
508
508
|
***************************************************************************** */
|
|
509
|
-
var
|
|
510
|
-
return
|
|
509
|
+
var Bt = function(e, t) {
|
|
510
|
+
return Bt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
511
511
|
r.__proto__ = n;
|
|
512
512
|
} || function(r, n) {
|
|
513
513
|
for (var i in n)
|
|
514
514
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
515
|
-
},
|
|
515
|
+
}, Bt(e, t);
|
|
516
516
|
};
|
|
517
|
-
function
|
|
517
|
+
function he(e, t) {
|
|
518
518
|
if (typeof t != "function" && t !== null)
|
|
519
519
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
520
|
-
|
|
520
|
+
Bt(e, t);
|
|
521
521
|
function r() {
|
|
522
522
|
this.constructor = e;
|
|
523
523
|
}
|
|
524
524
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
525
525
|
}
|
|
526
|
-
function
|
|
526
|
+
var B = function() {
|
|
527
|
+
return B = Object.assign || function(t) {
|
|
528
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
529
|
+
r = arguments[n];
|
|
530
|
+
for (var o in r)
|
|
531
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
532
|
+
}
|
|
533
|
+
return t;
|
|
534
|
+
}, B.apply(this, arguments);
|
|
535
|
+
};
|
|
536
|
+
function kn(e, t) {
|
|
537
|
+
var r = {};
|
|
538
|
+
for (var n in e)
|
|
539
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
540
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
541
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
542
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
543
|
+
return r;
|
|
544
|
+
}
|
|
545
|
+
function Pt(e) {
|
|
527
546
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
528
547
|
if (r)
|
|
529
548
|
return r.call(e);
|
|
@@ -535,7 +554,7 @@ function Lt(e) {
|
|
|
535
554
|
};
|
|
536
555
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
537
556
|
}
|
|
538
|
-
function
|
|
557
|
+
function Lt(e, t) {
|
|
539
558
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
540
559
|
if (!r)
|
|
541
560
|
return e;
|
|
@@ -555,22 +574,22 @@ function Ct(e, t) {
|
|
|
555
574
|
}
|
|
556
575
|
return o;
|
|
557
576
|
}
|
|
558
|
-
function
|
|
559
|
-
if (arguments.length === 2)
|
|
577
|
+
function Le(e, t, r) {
|
|
578
|
+
if (r || arguments.length === 2)
|
|
560
579
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
561
580
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
562
581
|
return e.concat(o || t);
|
|
563
582
|
}
|
|
564
|
-
function
|
|
583
|
+
function ce(e) {
|
|
565
584
|
return typeof e == "function";
|
|
566
585
|
}
|
|
567
|
-
function
|
|
586
|
+
function Ir(e) {
|
|
568
587
|
var t = function(n) {
|
|
569
588
|
Error.call(n), n.stack = new Error().stack;
|
|
570
589
|
}, r = e(t);
|
|
571
590
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
572
591
|
}
|
|
573
|
-
var
|
|
592
|
+
var yt = Ir(function(e) {
|
|
574
593
|
return function(r) {
|
|
575
594
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
576
595
|
` + r.map(function(n, i) {
|
|
@@ -579,13 +598,13 @@ var _t = Nr(function(e) {
|
|
|
579
598
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
580
599
|
};
|
|
581
600
|
});
|
|
582
|
-
function
|
|
601
|
+
function Ct(e, t) {
|
|
583
602
|
if (e) {
|
|
584
603
|
var r = e.indexOf(t);
|
|
585
604
|
0 <= r && e.splice(r, 1);
|
|
586
605
|
}
|
|
587
606
|
}
|
|
588
|
-
var
|
|
607
|
+
var ht = function() {
|
|
589
608
|
function e(t) {
|
|
590
609
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
591
610
|
}
|
|
@@ -597,7 +616,7 @@ var ft = function() {
|
|
|
597
616
|
if (s)
|
|
598
617
|
if (this._parentage = null, Array.isArray(s))
|
|
599
618
|
try {
|
|
600
|
-
for (var a =
|
|
619
|
+
for (var a = Pt(s), l = a.next(); !l.done; l = a.next()) {
|
|
601
620
|
var u = l.value;
|
|
602
621
|
u.remove(this);
|
|
603
622
|
}
|
|
@@ -614,22 +633,22 @@ var ft = function() {
|
|
|
614
633
|
else
|
|
615
634
|
s.remove(this);
|
|
616
635
|
var c = this.initialTeardown;
|
|
617
|
-
if (
|
|
636
|
+
if (ce(c))
|
|
618
637
|
try {
|
|
619
638
|
c();
|
|
620
639
|
} catch (g) {
|
|
621
|
-
o = g instanceof
|
|
640
|
+
o = g instanceof yt ? g.errors : [g];
|
|
622
641
|
}
|
|
623
642
|
var p = this._finalizers;
|
|
624
643
|
if (p) {
|
|
625
644
|
this._finalizers = null;
|
|
626
645
|
try {
|
|
627
|
-
for (var f =
|
|
646
|
+
for (var f = Pt(p), b = f.next(); !b.done; b = f.next()) {
|
|
628
647
|
var x = b.value;
|
|
629
648
|
try {
|
|
630
|
-
|
|
649
|
+
Kt(x);
|
|
631
650
|
} catch (g) {
|
|
632
|
-
o = o != null ? o : [], g instanceof
|
|
651
|
+
o = o != null ? o : [], g instanceof yt ? o = Le(Le([], Lt(o)), Lt(g.errors)) : o.push(g);
|
|
633
652
|
}
|
|
634
653
|
}
|
|
635
654
|
} catch (g) {
|
|
@@ -644,13 +663,13 @@ var ft = function() {
|
|
|
644
663
|
}
|
|
645
664
|
}
|
|
646
665
|
if (o)
|
|
647
|
-
throw new
|
|
666
|
+
throw new yt(o);
|
|
648
667
|
}
|
|
649
668
|
}, e.prototype.add = function(t) {
|
|
650
669
|
var r;
|
|
651
670
|
if (t && t !== this)
|
|
652
671
|
if (this.closed)
|
|
653
|
-
|
|
672
|
+
Kt(t);
|
|
654
673
|
else {
|
|
655
674
|
if (t instanceof e) {
|
|
656
675
|
if (t.closed || t._hasParent(this))
|
|
@@ -667,28 +686,32 @@ var ft = function() {
|
|
|
667
686
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
668
687
|
}, e.prototype._removeParent = function(t) {
|
|
669
688
|
var r = this._parentage;
|
|
670
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
689
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ct(r, t);
|
|
671
690
|
}, e.prototype.remove = function(t) {
|
|
672
691
|
var r = this._finalizers;
|
|
673
|
-
r &&
|
|
692
|
+
r && Ct(r, t), t instanceof e && t._removeParent(this);
|
|
674
693
|
}, e.EMPTY = function() {
|
|
675
694
|
var t = new e();
|
|
676
695
|
return t.closed = !0, t;
|
|
677
696
|
}(), e;
|
|
678
|
-
}(),
|
|
679
|
-
function
|
|
680
|
-
return e instanceof
|
|
681
|
-
}
|
|
682
|
-
function
|
|
683
|
-
|
|
684
|
-
}
|
|
685
|
-
var
|
|
686
|
-
|
|
687
|
-
|
|
697
|
+
}(), Or = ht.EMPTY;
|
|
698
|
+
function Nr(e) {
|
|
699
|
+
return e instanceof ht || e && "closed" in e && ce(e.remove) && ce(e.add) && ce(e.unsubscribe);
|
|
700
|
+
}
|
|
701
|
+
function Kt(e) {
|
|
702
|
+
ce(e) ? e() : e.unsubscribe();
|
|
703
|
+
}
|
|
704
|
+
var Mr = {
|
|
705
|
+
onUnhandledError: null,
|
|
706
|
+
onStoppedNotification: null,
|
|
707
|
+
Promise: void 0,
|
|
708
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
709
|
+
useDeprecatedNextContext: !1
|
|
710
|
+
}, jn = {
|
|
688
711
|
setTimeout: function(e, t) {
|
|
689
712
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
690
713
|
r[n - 2] = arguments[n];
|
|
691
|
-
return setTimeout.apply(void 0,
|
|
714
|
+
return setTimeout.apply(void 0, Le([e, t], Lt(r)));
|
|
692
715
|
},
|
|
693
716
|
clearTimeout: function(e) {
|
|
694
717
|
return clearTimeout(e);
|
|
@@ -696,23 +719,23 @@ var jn = {
|
|
|
696
719
|
delegate: void 0
|
|
697
720
|
};
|
|
698
721
|
function Fn(e) {
|
|
699
|
-
|
|
722
|
+
jn.setTimeout(function() {
|
|
700
723
|
throw e;
|
|
701
724
|
});
|
|
702
725
|
}
|
|
703
|
-
function
|
|
726
|
+
function er() {
|
|
704
727
|
}
|
|
705
728
|
function st(e) {
|
|
706
729
|
e();
|
|
707
730
|
}
|
|
708
|
-
var
|
|
709
|
-
|
|
731
|
+
var Rr = function(e) {
|
|
732
|
+
he(t, e);
|
|
710
733
|
function t(r) {
|
|
711
734
|
var n = e.call(this) || this;
|
|
712
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
735
|
+
return n.isStopped = !1, r ? (n.destination = r, Nr(r) && r.add(n)) : n.destination = Xn, n;
|
|
713
736
|
}
|
|
714
737
|
return t.create = function(r, n, i) {
|
|
715
|
-
return new
|
|
738
|
+
return new It(r, n, i);
|
|
716
739
|
}, t.prototype.next = function(r) {
|
|
717
740
|
this.isStopped || this._next(r);
|
|
718
741
|
}, t.prototype.error = function(r) {
|
|
@@ -736,7 +759,11 @@ var Ur = function(e) {
|
|
|
736
759
|
this.unsubscribe();
|
|
737
760
|
}
|
|
738
761
|
}, t;
|
|
739
|
-
}(
|
|
762
|
+
}(ht), $n = Function.prototype.bind;
|
|
763
|
+
function vt(e, t) {
|
|
764
|
+
return $n.call(e, t);
|
|
765
|
+
}
|
|
766
|
+
var Vn = function() {
|
|
740
767
|
function e(t) {
|
|
741
768
|
this.partialObserver = t;
|
|
742
769
|
}
|
|
@@ -767,18 +794,30 @@ var Ur = function(e) {
|
|
|
767
794
|
nt(r);
|
|
768
795
|
}
|
|
769
796
|
}, e;
|
|
770
|
-
}(),
|
|
771
|
-
|
|
797
|
+
}(), It = function(e) {
|
|
798
|
+
he(t, e);
|
|
772
799
|
function t(r, n, i) {
|
|
773
800
|
var o = e.call(this) || this, s;
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
801
|
+
if (ce(r) || !r)
|
|
802
|
+
s = {
|
|
803
|
+
next: r != null ? r : void 0,
|
|
804
|
+
error: n != null ? n : void 0,
|
|
805
|
+
complete: i != null ? i : void 0
|
|
806
|
+
};
|
|
807
|
+
else {
|
|
808
|
+
var a;
|
|
809
|
+
o && Mr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
810
|
+
return o.unsubscribe();
|
|
811
|
+
}, s = {
|
|
812
|
+
next: r.next && vt(r.next, a),
|
|
813
|
+
error: r.error && vt(r.error, a),
|
|
814
|
+
complete: r.complete && vt(r.complete, a)
|
|
815
|
+
}) : s = r;
|
|
816
|
+
}
|
|
817
|
+
return o.destination = new Vn(s), o;
|
|
779
818
|
}
|
|
780
819
|
return t;
|
|
781
|
-
}(
|
|
820
|
+
}(Rr);
|
|
782
821
|
function nt(e) {
|
|
783
822
|
Fn(e);
|
|
784
823
|
}
|
|
@@ -787,9 +826,9 @@ function Wn(e) {
|
|
|
787
826
|
}
|
|
788
827
|
var Xn = {
|
|
789
828
|
closed: !0,
|
|
790
|
-
next:
|
|
829
|
+
next: er,
|
|
791
830
|
error: Wn,
|
|
792
|
-
complete:
|
|
831
|
+
complete: er
|
|
793
832
|
}, zn = function() {
|
|
794
833
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
795
834
|
}();
|
|
@@ -803,7 +842,7 @@ function Zn(e) {
|
|
|
803
842
|
}, r);
|
|
804
843
|
};
|
|
805
844
|
}
|
|
806
|
-
var
|
|
845
|
+
var tr = function() {
|
|
807
846
|
function e(t) {
|
|
808
847
|
t && (this._subscribe = t);
|
|
809
848
|
}
|
|
@@ -811,7 +850,7 @@ var nr = function() {
|
|
|
811
850
|
var r = new e();
|
|
812
851
|
return r.source = this, r.operator = t, r;
|
|
813
852
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
814
|
-
var i = this, o = Yn(t) ? t : new
|
|
853
|
+
var i = this, o = Yn(t) ? t : new It(t, r, n);
|
|
815
854
|
return st(function() {
|
|
816
855
|
var s = i, a = s.operator, l = s.source;
|
|
817
856
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -824,8 +863,8 @@ var nr = function() {
|
|
|
824
863
|
}
|
|
825
864
|
}, e.prototype.forEach = function(t, r) {
|
|
826
865
|
var n = this;
|
|
827
|
-
return r =
|
|
828
|
-
var s = new
|
|
866
|
+
return r = rr(r), new r(function(i, o) {
|
|
867
|
+
var s = new It({
|
|
829
868
|
next: function(a) {
|
|
830
869
|
try {
|
|
831
870
|
t(a);
|
|
@@ -849,7 +888,7 @@ var nr = function() {
|
|
|
849
888
|
return Zn(t)(this);
|
|
850
889
|
}, e.prototype.toPromise = function(t) {
|
|
851
890
|
var r = this;
|
|
852
|
-
return t =
|
|
891
|
+
return t = rr(t), new t(function(n, i) {
|
|
853
892
|
var o;
|
|
854
893
|
r.subscribe(function(s) {
|
|
855
894
|
return o = s;
|
|
@@ -863,28 +902,28 @@ var nr = function() {
|
|
|
863
902
|
return new e(t);
|
|
864
903
|
}, e;
|
|
865
904
|
}();
|
|
866
|
-
function
|
|
905
|
+
function rr(e) {
|
|
867
906
|
var t;
|
|
868
|
-
return (t = e != null ? e :
|
|
907
|
+
return (t = e != null ? e : Mr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
869
908
|
}
|
|
870
909
|
function Qn(e) {
|
|
871
|
-
return e &&
|
|
910
|
+
return e && ce(e.next) && ce(e.error) && ce(e.complete);
|
|
872
911
|
}
|
|
873
912
|
function Yn(e) {
|
|
874
|
-
return e && e instanceof
|
|
913
|
+
return e && e instanceof Rr || Qn(e) && Nr(e);
|
|
875
914
|
}
|
|
876
|
-
var qn =
|
|
915
|
+
var qn = Ir(function(e) {
|
|
877
916
|
return function() {
|
|
878
917
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
879
918
|
};
|
|
880
|
-
}),
|
|
881
|
-
|
|
919
|
+
}), Ur = function(e) {
|
|
920
|
+
he(t, e);
|
|
882
921
|
function t() {
|
|
883
922
|
var r = e.call(this) || this;
|
|
884
923
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
885
924
|
}
|
|
886
925
|
return t.prototype.lift = function(r) {
|
|
887
|
-
var n = new
|
|
926
|
+
var n = new nr(this, this);
|
|
888
927
|
return n.operator = r, n;
|
|
889
928
|
}, t.prototype._throwIfClosed = function() {
|
|
890
929
|
if (this.closed)
|
|
@@ -896,7 +935,7 @@ var qn = Nr(function(e) {
|
|
|
896
935
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
897
936
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
898
937
|
try {
|
|
899
|
-
for (var s =
|
|
938
|
+
for (var s = Pt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
900
939
|
var l = a.value;
|
|
901
940
|
l.next(r);
|
|
902
941
|
}
|
|
@@ -945,20 +984,20 @@ var qn = Nr(function(e) {
|
|
|
945
984
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
946
985
|
}, t.prototype._innerSubscribe = function(r) {
|
|
947
986
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
948
|
-
return o || s ?
|
|
949
|
-
n.currentObservers = null,
|
|
987
|
+
return o || s ? Or : (this.currentObservers = null, a.push(r), new ht(function() {
|
|
988
|
+
n.currentObservers = null, Ct(a, r);
|
|
950
989
|
}));
|
|
951
990
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
952
991
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
953
992
|
i ? r.error(o) : s && r.complete();
|
|
954
993
|
}, t.prototype.asObservable = function() {
|
|
955
|
-
var r = new
|
|
994
|
+
var r = new tr();
|
|
956
995
|
return r.source = this, r;
|
|
957
996
|
}, t.create = function(r, n) {
|
|
958
|
-
return new
|
|
997
|
+
return new nr(r, n);
|
|
959
998
|
}, t;
|
|
960
|
-
}(
|
|
961
|
-
|
|
999
|
+
}(tr), nr = function(e) {
|
|
1000
|
+
he(t, e);
|
|
962
1001
|
function t(r, n) {
|
|
963
1002
|
var i = e.call(this) || this;
|
|
964
1003
|
return i.destination = r, i.source = n, i;
|
|
@@ -974,17 +1013,17 @@ var qn = Nr(function(e) {
|
|
|
974
1013
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
975
1014
|
}, t.prototype._subscribe = function(r) {
|
|
976
1015
|
var n, i;
|
|
977
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1016
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Or;
|
|
978
1017
|
}, t;
|
|
979
|
-
}(
|
|
1018
|
+
}(Ur), Dr = {
|
|
980
1019
|
now: function() {
|
|
981
|
-
return (
|
|
1020
|
+
return (Dr.delegate || Date).now();
|
|
982
1021
|
},
|
|
983
1022
|
delegate: void 0
|
|
984
1023
|
}, Kn = function(e) {
|
|
985
|
-
|
|
1024
|
+
he(t, e);
|
|
986
1025
|
function t(r, n, i) {
|
|
987
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1026
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dr);
|
|
988
1027
|
var o = e.call(this) || this;
|
|
989
1028
|
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;
|
|
990
1029
|
}
|
|
@@ -1004,24 +1043,24 @@ var qn = Nr(function(e) {
|
|
|
1004
1043
|
u && o.splice(0, u + 1);
|
|
1005
1044
|
}
|
|
1006
1045
|
}, t;
|
|
1007
|
-
}(
|
|
1008
|
-
const
|
|
1009
|
-
if (
|
|
1046
|
+
}(Ur);
|
|
1047
|
+
const ir = [], or = {}, ei = (e, t = 0) => {
|
|
1048
|
+
if (ir.indexOf(e) == -1) {
|
|
1010
1049
|
const r = new Kn(t);
|
|
1011
|
-
|
|
1050
|
+
or[e] = r, ir.push(e);
|
|
1012
1051
|
}
|
|
1013
|
-
return
|
|
1052
|
+
return or[e];
|
|
1014
1053
|
}, Ae = [];
|
|
1015
1054
|
function ti(e, t) {
|
|
1016
1055
|
return {
|
|
1017
|
-
subscribe:
|
|
1056
|
+
subscribe: ft(e, t).subscribe
|
|
1018
1057
|
};
|
|
1019
1058
|
}
|
|
1020
|
-
function
|
|
1059
|
+
function ft(e, t = Z) {
|
|
1021
1060
|
let r;
|
|
1022
1061
|
const n = /* @__PURE__ */ new Set();
|
|
1023
1062
|
function i(a) {
|
|
1024
|
-
if (
|
|
1063
|
+
if (Pr(e, a) && (e = a, r)) {
|
|
1025
1064
|
const l = !Ae.length;
|
|
1026
1065
|
for (const u of n)
|
|
1027
1066
|
u[1](), Ae.push(u, e);
|
|
@@ -1043,7 +1082,7 @@ function pt(e, t = Z) {
|
|
|
1043
1082
|
}
|
|
1044
1083
|
return { set: i, update: o, subscribe: s };
|
|
1045
1084
|
}
|
|
1046
|
-
function
|
|
1085
|
+
function Me(e, t, r) {
|
|
1047
1086
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1048
1087
|
if (!i.every(Boolean))
|
|
1049
1088
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
@@ -1057,9 +1096,9 @@ function Ne(e, t, r) {
|
|
|
1057
1096
|
return;
|
|
1058
1097
|
p();
|
|
1059
1098
|
const x = t(n ? u[0] : u, s, a);
|
|
1060
|
-
o ? s(x) : p =
|
|
1099
|
+
o ? s(x) : p = jt(x) ? x : Z;
|
|
1061
1100
|
}, b = i.map(
|
|
1062
|
-
(x, g) =>
|
|
1101
|
+
(x, g) => bn(
|
|
1063
1102
|
x,
|
|
1064
1103
|
(v) => {
|
|
1065
1104
|
u[g] = v, c &= ~(1 << g), l && f();
|
|
@@ -1070,7 +1109,7 @@ function Ne(e, t, r) {
|
|
|
1070
1109
|
)
|
|
1071
1110
|
);
|
|
1072
1111
|
return l = !0, f(), function() {
|
|
1073
|
-
|
|
1112
|
+
Je(b), p(), l = !1;
|
|
1074
1113
|
};
|
|
1075
1114
|
});
|
|
1076
1115
|
}
|
|
@@ -1094,29 +1133,29 @@ function ui(e) {
|
|
|
1094
1133
|
function li(e) {
|
|
1095
1134
|
return Array.isArray(e) ? [] : {};
|
|
1096
1135
|
}
|
|
1097
|
-
function
|
|
1098
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1136
|
+
function Xe(e, t) {
|
|
1137
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Ce(li(e), e, t) : e;
|
|
1099
1138
|
}
|
|
1100
1139
|
function ci(e, t, r) {
|
|
1101
1140
|
return e.concat(t).map(function(n) {
|
|
1102
|
-
return
|
|
1141
|
+
return Xe(n, r);
|
|
1103
1142
|
});
|
|
1104
1143
|
}
|
|
1105
1144
|
function hi(e, t) {
|
|
1106
1145
|
if (!t.customMerge)
|
|
1107
|
-
return
|
|
1146
|
+
return Ce;
|
|
1108
1147
|
var r = t.customMerge(e);
|
|
1109
|
-
return typeof r == "function" ? r :
|
|
1148
|
+
return typeof r == "function" ? r : Ce;
|
|
1110
1149
|
}
|
|
1111
1150
|
function fi(e) {
|
|
1112
1151
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1113
1152
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1114
1153
|
}) : [];
|
|
1115
1154
|
}
|
|
1116
|
-
function
|
|
1155
|
+
function sr(e) {
|
|
1117
1156
|
return Object.keys(e).concat(fi(e));
|
|
1118
1157
|
}
|
|
1119
|
-
function
|
|
1158
|
+
function Gr(e, t) {
|
|
1120
1159
|
try {
|
|
1121
1160
|
return t in e;
|
|
1122
1161
|
} catch (r) {
|
|
@@ -1124,179 +1163,129 @@ function kr(e, t) {
|
|
|
1124
1163
|
}
|
|
1125
1164
|
}
|
|
1126
1165
|
function pi(e, t) {
|
|
1127
|
-
return
|
|
1166
|
+
return Gr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1128
1167
|
}
|
|
1129
1168
|
function di(e, t, r) {
|
|
1130
1169
|
var n = {};
|
|
1131
|
-
return r.isMergeableObject(e) &&
|
|
1132
|
-
n[i] =
|
|
1133
|
-
}),
|
|
1134
|
-
pi(e, i) || (
|
|
1170
|
+
return r.isMergeableObject(e) && sr(e).forEach(function(i) {
|
|
1171
|
+
n[i] = Xe(e[i], r);
|
|
1172
|
+
}), sr(t).forEach(function(i) {
|
|
1173
|
+
pi(e, i) || (Gr(e, i) && r.isMergeableObject(t[i]) ? n[i] = hi(i, r)(e[i], t[i], r) : n[i] = Xe(t[i], r));
|
|
1135
1174
|
}), n;
|
|
1136
1175
|
}
|
|
1137
|
-
function
|
|
1138
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ni, r.cloneUnlessOtherwiseSpecified =
|
|
1176
|
+
function Ce(e, t, r) {
|
|
1177
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ni, r.cloneUnlessOtherwiseSpecified = Xe;
|
|
1139
1178
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1140
|
-
return o ? n ? r.arrayMerge(e, t, r) : di(e, t, r) :
|
|
1179
|
+
return o ? n ? r.arrayMerge(e, t, r) : di(e, t, r) : Xe(t, r);
|
|
1141
1180
|
}
|
|
1142
|
-
|
|
1181
|
+
Ce.all = function(t, r) {
|
|
1143
1182
|
if (!Array.isArray(t))
|
|
1144
1183
|
throw new Error("first argument should be an array");
|
|
1145
1184
|
return t.reduce(function(n, i) {
|
|
1146
|
-
return
|
|
1185
|
+
return Ce(n, i, r);
|
|
1147
1186
|
}, {});
|
|
1148
1187
|
};
|
|
1149
|
-
var mi =
|
|
1188
|
+
var mi = Ce, bi = mi;
|
|
1150
1189
|
const gi = /* @__PURE__ */ ri(bi);
|
|
1151
|
-
|
|
1152
|
-
|
|
1153
|
-
r.__proto__ = n;
|
|
1154
|
-
} || function(r, n) {
|
|
1155
|
-
for (var i in n)
|
|
1156
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1157
|
-
}, Rt(e, t);
|
|
1158
|
-
};
|
|
1159
|
-
function dt(e, t) {
|
|
1160
|
-
if (typeof t != "function" && t !== null)
|
|
1161
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1162
|
-
Rt(e, t);
|
|
1163
|
-
function r() {
|
|
1164
|
-
this.constructor = e;
|
|
1165
|
-
}
|
|
1166
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1167
|
-
}
|
|
1168
|
-
var ne = function() {
|
|
1169
|
-
return ne = Object.assign || function(t) {
|
|
1170
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1171
|
-
r = arguments[n];
|
|
1172
|
-
for (var o in r)
|
|
1173
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1174
|
-
}
|
|
1175
|
-
return t;
|
|
1176
|
-
}, ne.apply(this, arguments);
|
|
1177
|
-
};
|
|
1178
|
-
function yi(e, t) {
|
|
1179
|
-
var r = {};
|
|
1180
|
-
for (var n in e)
|
|
1181
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1182
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1183
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1184
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1185
|
-
return r;
|
|
1186
|
-
}
|
|
1187
|
-
function Et(e, t, r) {
|
|
1188
|
-
if (r || arguments.length === 2)
|
|
1189
|
-
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1190
|
-
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1191
|
-
return e.concat(o || Array.prototype.slice.call(t));
|
|
1192
|
-
}
|
|
1193
|
-
function xt(e, t) {
|
|
1194
|
-
var r = t && t.cache ? t.cache : wi, n = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : Ei;
|
|
1190
|
+
function _t(e, t) {
|
|
1191
|
+
var r = t && t.cache ? t.cache : Si, n = t && t.serializer ? t.serializer : xi, i = t && t.strategy ? t.strategy : vi;
|
|
1195
1192
|
return i(e, {
|
|
1196
1193
|
cache: r,
|
|
1197
1194
|
serializer: n
|
|
1198
1195
|
});
|
|
1199
1196
|
}
|
|
1200
|
-
function
|
|
1197
|
+
function yi(e) {
|
|
1201
1198
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1202
1199
|
}
|
|
1203
|
-
function
|
|
1204
|
-
var i =
|
|
1200
|
+
function kr(e, t, r, n) {
|
|
1201
|
+
var i = yi(n) ? n : r(n), o = t.get(i);
|
|
1205
1202
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1206
1203
|
}
|
|
1207
1204
|
function jr(e, t, r) {
|
|
1208
1205
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1209
1206
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1210
1207
|
}
|
|
1211
|
-
function
|
|
1208
|
+
function Ft(e, t, r, n, i) {
|
|
1212
1209
|
return r.bind(t, e, n, i);
|
|
1213
1210
|
}
|
|
1214
|
-
function
|
|
1215
|
-
var r = e.length === 1 ?
|
|
1216
|
-
return
|
|
1211
|
+
function vi(e, t) {
|
|
1212
|
+
var r = e.length === 1 ? kr : jr;
|
|
1213
|
+
return Ft(e, this, r, t.cache.create(), t.serializer);
|
|
1217
1214
|
}
|
|
1218
|
-
function
|
|
1219
|
-
return
|
|
1215
|
+
function _i(e, t) {
|
|
1216
|
+
return Ft(e, this, jr, t.cache.create(), t.serializer);
|
|
1220
1217
|
}
|
|
1221
|
-
|
|
1218
|
+
function Ei(e, t) {
|
|
1219
|
+
return Ft(e, this, kr, t.cache.create(), t.serializer);
|
|
1220
|
+
}
|
|
1221
|
+
var xi = function() {
|
|
1222
1222
|
return JSON.stringify(arguments);
|
|
1223
|
-
}
|
|
1224
|
-
|
|
1225
|
-
|
|
1226
|
-
|
|
1227
|
-
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
}()
|
|
1235
|
-
), wi = {
|
|
1223
|
+
};
|
|
1224
|
+
function $t() {
|
|
1225
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1226
|
+
}
|
|
1227
|
+
$t.prototype.get = function(e) {
|
|
1228
|
+
return this.cache[e];
|
|
1229
|
+
};
|
|
1230
|
+
$t.prototype.set = function(e, t) {
|
|
1231
|
+
this.cache[e] = t;
|
|
1232
|
+
};
|
|
1233
|
+
var Si = {
|
|
1236
1234
|
create: function() {
|
|
1237
|
-
return new
|
|
1235
|
+
return new $t();
|
|
1238
1236
|
}
|
|
1239
|
-
},
|
|
1240
|
-
variadic:
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1244
|
-
r = arguments[n];
|
|
1245
|
-
for (var o in r)
|
|
1246
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1247
|
-
}
|
|
1248
|
-
return t;
|
|
1249
|
-
}, lt.apply(this, arguments);
|
|
1250
|
-
};
|
|
1251
|
-
var w;
|
|
1237
|
+
}, Et = {
|
|
1238
|
+
variadic: _i,
|
|
1239
|
+
monadic: Ei
|
|
1240
|
+
}, w;
|
|
1252
1241
|
(function(e) {
|
|
1253
1242
|
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";
|
|
1254
1243
|
})(w || (w = {}));
|
|
1255
|
-
var
|
|
1244
|
+
var P;
|
|
1256
1245
|
(function(e) {
|
|
1257
1246
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
|
1258
|
-
})(
|
|
1259
|
-
var
|
|
1247
|
+
})(P || (P = {}));
|
|
1248
|
+
var Ie;
|
|
1260
1249
|
(function(e) {
|
|
1261
1250
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1262
|
-
})(
|
|
1263
|
-
function
|
|
1264
|
-
return e.type ===
|
|
1251
|
+
})(Ie || (Ie = {}));
|
|
1252
|
+
function ar(e) {
|
|
1253
|
+
return e.type === P.literal;
|
|
1265
1254
|
}
|
|
1266
|
-
function
|
|
1267
|
-
return e.type ===
|
|
1255
|
+
function Ti(e) {
|
|
1256
|
+
return e.type === P.argument;
|
|
1268
1257
|
}
|
|
1269
1258
|
function Fr(e) {
|
|
1270
|
-
return e.type ===
|
|
1259
|
+
return e.type === P.number;
|
|
1260
|
+
}
|
|
1261
|
+
function $r(e) {
|
|
1262
|
+
return e.type === P.date;
|
|
1271
1263
|
}
|
|
1272
1264
|
function Vr(e) {
|
|
1273
|
-
return e.type ===
|
|
1265
|
+
return e.type === P.time;
|
|
1274
1266
|
}
|
|
1275
1267
|
function Wr(e) {
|
|
1276
|
-
return e.type ===
|
|
1268
|
+
return e.type === P.select;
|
|
1277
1269
|
}
|
|
1278
1270
|
function Xr(e) {
|
|
1279
|
-
return e.type ===
|
|
1271
|
+
return e.type === P.plural;
|
|
1280
1272
|
}
|
|
1281
|
-
function
|
|
1282
|
-
return e.type ===
|
|
1273
|
+
function wi(e) {
|
|
1274
|
+
return e.type === P.pound;
|
|
1283
1275
|
}
|
|
1284
|
-
function
|
|
1285
|
-
return e.type ===
|
|
1276
|
+
function zr(e) {
|
|
1277
|
+
return e.type === P.tag;
|
|
1286
1278
|
}
|
|
1287
1279
|
function Jr(e) {
|
|
1288
|
-
return e.type ===
|
|
1289
|
-
}
|
|
1290
|
-
function Zr(e) {
|
|
1291
|
-
return !!(e && typeof e == "object" && e.type === Le.number);
|
|
1280
|
+
return !!(e && typeof e == "object" && e.type === Ie.number);
|
|
1292
1281
|
}
|
|
1293
|
-
function
|
|
1294
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1282
|
+
function Ot(e) {
|
|
1283
|
+
return !!(e && typeof e == "object" && e.type === Ie.dateTime);
|
|
1295
1284
|
}
|
|
1296
|
-
var
|
|
1297
|
-
function
|
|
1285
|
+
var Zr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hi = /(?:[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;
|
|
1286
|
+
function Ai(e) {
|
|
1298
1287
|
var t = {};
|
|
1299
|
-
return e.replace(
|
|
1288
|
+
return e.replace(Hi, function(r) {
|
|
1300
1289
|
var n = r.length;
|
|
1301
1290
|
switch (r[0]) {
|
|
1302
1291
|
case "G":
|
|
@@ -1385,21 +1374,11 @@ function Pi(e) {
|
|
|
1385
1374
|
return "";
|
|
1386
1375
|
}), t;
|
|
1387
1376
|
}
|
|
1388
|
-
var
|
|
1389
|
-
|
|
1390
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1391
|
-
r = arguments[n];
|
|
1392
|
-
for (var o in r)
|
|
1393
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1394
|
-
}
|
|
1395
|
-
return t;
|
|
1396
|
-
}, L.apply(this, arguments);
|
|
1397
|
-
};
|
|
1398
|
-
var Oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1399
|
-
function Li(e) {
|
|
1377
|
+
var Bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1378
|
+
function Pi(e) {
|
|
1400
1379
|
if (e.length === 0)
|
|
1401
1380
|
throw new Error("Number skeleton cannot be empty");
|
|
1402
|
-
for (var t = e.split(
|
|
1381
|
+
for (var t = e.split(Bi).filter(function(f) {
|
|
1403
1382
|
return f.length > 0;
|
|
1404
1383
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1405
1384
|
var o = i[n], s = o.split("/");
|
|
@@ -1414,17 +1393,17 @@ function Li(e) {
|
|
|
1414
1393
|
}
|
|
1415
1394
|
return r;
|
|
1416
1395
|
}
|
|
1417
|
-
function
|
|
1396
|
+
function Li(e) {
|
|
1418
1397
|
return e.replace(/^(.*?)-/, "");
|
|
1419
1398
|
}
|
|
1420
|
-
var
|
|
1421
|
-
function
|
|
1399
|
+
var ur = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qr = /^(@+)?(\+|#+)?[rs]?$/g, Ci = /(\*)(0+)|(#+)(0+)|(0+)/g, Yr = /^(0+)$/;
|
|
1400
|
+
function lr(e) {
|
|
1422
1401
|
var t = {};
|
|
1423
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1402
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qr, function(r, n, i) {
|
|
1424
1403
|
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)), "";
|
|
1425
1404
|
}), t;
|
|
1426
1405
|
}
|
|
1427
|
-
function
|
|
1406
|
+
function qr(e) {
|
|
1428
1407
|
switch (e) {
|
|
1429
1408
|
case "sign-auto":
|
|
1430
1409
|
return {
|
|
@@ -1464,7 +1443,7 @@ function Kr(e) {
|
|
|
1464
1443
|
};
|
|
1465
1444
|
}
|
|
1466
1445
|
}
|
|
1467
|
-
function
|
|
1446
|
+
function Ii(e) {
|
|
1468
1447
|
var t;
|
|
1469
1448
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1470
1449
|
notation: "engineering"
|
|
@@ -1472,17 +1451,17 @@ function Ni(e) {
|
|
|
1472
1451
|
notation: "scientific"
|
|
1473
1452
|
}, e = e.slice(1)), t) {
|
|
1474
1453
|
var r = e.slice(0, 2);
|
|
1475
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1454
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yr.test(e))
|
|
1476
1455
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1477
1456
|
t.minimumIntegerDigits = e.length;
|
|
1478
1457
|
}
|
|
1479
1458
|
return t;
|
|
1480
1459
|
}
|
|
1481
|
-
function
|
|
1482
|
-
var t = {}, r =
|
|
1460
|
+
function cr(e) {
|
|
1461
|
+
var t = {}, r = qr(e);
|
|
1483
1462
|
return r || t;
|
|
1484
1463
|
}
|
|
1485
|
-
function
|
|
1464
|
+
function Oi(e) {
|
|
1486
1465
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1487
1466
|
var i = n[r];
|
|
1488
1467
|
switch (i.stem) {
|
|
@@ -1506,7 +1485,7 @@ function Mi(e) {
|
|
|
1506
1485
|
continue;
|
|
1507
1486
|
case "measure-unit":
|
|
1508
1487
|
case "unit":
|
|
1509
|
-
t.style = "unit", t.unit =
|
|
1488
|
+
t.style = "unit", t.unit = Li(i.options[0]);
|
|
1510
1489
|
continue;
|
|
1511
1490
|
case "compact-short":
|
|
1512
1491
|
case "K":
|
|
@@ -1517,13 +1496,13 @@ function Mi(e) {
|
|
|
1517
1496
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1518
1497
|
continue;
|
|
1519
1498
|
case "scientific":
|
|
1520
|
-
t =
|
|
1521
|
-
return
|
|
1499
|
+
t = B(B(B({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1500
|
+
return B(B({}, l), cr(u));
|
|
1522
1501
|
}, {}));
|
|
1523
1502
|
continue;
|
|
1524
1503
|
case "engineering":
|
|
1525
|
-
t =
|
|
1526
|
-
return
|
|
1504
|
+
t = B(B(B({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1505
|
+
return B(B({}, l), cr(u));
|
|
1527
1506
|
}, {}));
|
|
1528
1507
|
continue;
|
|
1529
1508
|
case "notation-simple":
|
|
@@ -1568,7 +1547,7 @@ function Mi(e) {
|
|
|
1568
1547
|
case "integer-width":
|
|
1569
1548
|
if (i.options.length > 1)
|
|
1570
1549
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1571
|
-
i.options[0].replace(
|
|
1550
|
+
i.options[0].replace(Ci, function(l, u, c, p, f, b) {
|
|
1572
1551
|
if (u)
|
|
1573
1552
|
t.minimumIntegerDigits = c.length;
|
|
1574
1553
|
else {
|
|
@@ -1581,28 +1560,28 @@ function Mi(e) {
|
|
|
1581
1560
|
});
|
|
1582
1561
|
continue;
|
|
1583
1562
|
}
|
|
1584
|
-
if (
|
|
1563
|
+
if (Yr.test(i.stem)) {
|
|
1585
1564
|
t.minimumIntegerDigits = i.stem.length;
|
|
1586
1565
|
continue;
|
|
1587
1566
|
}
|
|
1588
|
-
if (
|
|
1567
|
+
if (ur.test(i.stem)) {
|
|
1589
1568
|
if (i.options.length > 1)
|
|
1590
1569
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1591
|
-
i.stem.replace(
|
|
1570
|
+
i.stem.replace(ur, function(l, u, c, p, f, b) {
|
|
1592
1571
|
return c === "*" ? t.minimumFractionDigits = u.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1593
1572
|
});
|
|
1594
1573
|
var o = i.options[0];
|
|
1595
|
-
o === "w" ? t =
|
|
1574
|
+
o === "w" ? t = B(B({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = B(B({}, t), lr(o)));
|
|
1596
1575
|
continue;
|
|
1597
1576
|
}
|
|
1598
|
-
if (
|
|
1599
|
-
t =
|
|
1577
|
+
if (Qr.test(i.stem)) {
|
|
1578
|
+
t = B(B({}, t), lr(i.stem));
|
|
1600
1579
|
continue;
|
|
1601
1580
|
}
|
|
1602
|
-
var s =
|
|
1603
|
-
s && (t =
|
|
1604
|
-
var a =
|
|
1605
|
-
a && (t =
|
|
1581
|
+
var s = qr(i.stem);
|
|
1582
|
+
s && (t = B(B({}, t), s));
|
|
1583
|
+
var a = Ii(i.stem);
|
|
1584
|
+
a && (t = B(B({}, t), a));
|
|
1606
1585
|
}
|
|
1607
1586
|
return t;
|
|
1608
1587
|
}
|
|
@@ -3021,13 +3000,13 @@ var it = {
|
|
|
3021
3000
|
"h"
|
|
3022
3001
|
]
|
|
3023
3002
|
};
|
|
3024
|
-
function
|
|
3003
|
+
function Ni(e, t) {
|
|
3025
3004
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3026
3005
|
var i = e.charAt(n);
|
|
3027
3006
|
if (i === "j") {
|
|
3028
3007
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3029
3008
|
o++, n++;
|
|
3030
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3009
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Mi(t);
|
|
3031
3010
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3032
3011
|
r += l;
|
|
3033
3012
|
for (; s-- > 0; )
|
|
@@ -3037,7 +3016,7 @@ function Ri(e, t) {
|
|
|
3037
3016
|
}
|
|
3038
3017
|
return r;
|
|
3039
3018
|
}
|
|
3040
|
-
function
|
|
3019
|
+
function Mi(e) {
|
|
3041
3020
|
var t = e.hourCycle;
|
|
3042
3021
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3043
3022
|
e.hourCycles && // @ts-ignore
|
|
@@ -3059,20 +3038,20 @@ function Ui(e) {
|
|
|
3059
3038
|
var i = it[n || ""] || it[r || ""] || it["".concat(r, "-001")] || it["001"];
|
|
3060
3039
|
return i[0];
|
|
3061
3040
|
}
|
|
3062
|
-
var
|
|
3041
|
+
var xt, Ri = new RegExp("^".concat(Zr.source, "*")), Ui = new RegExp("".concat(Zr.source, "*$"));
|
|
3063
3042
|
function A(e, t) {
|
|
3064
3043
|
return { start: e, end: t };
|
|
3065
3044
|
}
|
|
3066
|
-
var
|
|
3045
|
+
var Di = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gi = !!String.fromCodePoint, ki = !!Object.fromEntries, ji = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, $i = !!String.prototype.trimEnd, Vi = !!Number.isSafeInteger, Wi = Vi ? Number.isSafeInteger : function(e) {
|
|
3067
3046
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3068
|
-
},
|
|
3047
|
+
}, Nt = !0;
|
|
3069
3048
|
try {
|
|
3070
|
-
var
|
|
3071
|
-
|
|
3049
|
+
var Xi = en("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3050
|
+
Nt = ((xt = Xi.exec("a")) === null || xt === void 0 ? void 0 : xt[0]) === "a";
|
|
3072
3051
|
} catch (e) {
|
|
3073
|
-
|
|
3052
|
+
Nt = !1;
|
|
3074
3053
|
}
|
|
3075
|
-
var
|
|
3054
|
+
var hr = Di ? (
|
|
3076
3055
|
// Native
|
|
3077
3056
|
function(t, r, n) {
|
|
3078
3057
|
return t.startsWith(r, n);
|
|
@@ -3082,7 +3061,7 @@ var pr = ki ? (
|
|
|
3082
3061
|
function(t, r, n) {
|
|
3083
3062
|
return t.slice(n, n + r.length) === r;
|
|
3084
3063
|
}
|
|
3085
|
-
),
|
|
3064
|
+
), Mt = Gi ? String.fromCodePoint : (
|
|
3086
3065
|
// IE11
|
|
3087
3066
|
function() {
|
|
3088
3067
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3094,9 +3073,9 @@ var pr = ki ? (
|
|
|
3094
3073
|
}
|
|
3095
3074
|
return n;
|
|
3096
3075
|
}
|
|
3097
|
-
),
|
|
3076
|
+
), fr = (
|
|
3098
3077
|
// native
|
|
3099
|
-
|
|
3078
|
+
ki ? Object.fromEntries : (
|
|
3100
3079
|
// Ponyfill
|
|
3101
3080
|
function(t) {
|
|
3102
3081
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3106,7 +3085,7 @@ var pr = ki ? (
|
|
|
3106
3085
|
return r;
|
|
3107
3086
|
}
|
|
3108
3087
|
)
|
|
3109
|
-
),
|
|
3088
|
+
), Kr = ji ? (
|
|
3110
3089
|
// Native
|
|
3111
3090
|
function(t, r) {
|
|
3112
3091
|
return t.codePointAt(r);
|
|
@@ -3120,7 +3099,7 @@ var pr = ki ? (
|
|
|
3120
3099
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3121
3100
|
}
|
|
3122
3101
|
}
|
|
3123
|
-
),
|
|
3102
|
+
), zi = Fi ? (
|
|
3124
3103
|
// Native
|
|
3125
3104
|
function(t) {
|
|
3126
3105
|
return t.trimStart();
|
|
@@ -3128,9 +3107,9 @@ var pr = ki ? (
|
|
|
3128
3107
|
) : (
|
|
3129
3108
|
// Ponyfill
|
|
3130
3109
|
function(t) {
|
|
3131
|
-
return t.replace(
|
|
3110
|
+
return t.replace(Ri, "");
|
|
3132
3111
|
}
|
|
3133
|
-
),
|
|
3112
|
+
), Ji = $i ? (
|
|
3134
3113
|
// Native
|
|
3135
3114
|
function(t) {
|
|
3136
3115
|
return t.trimEnd();
|
|
@@ -3138,32 +3117,32 @@ var pr = ki ? (
|
|
|
3138
3117
|
) : (
|
|
3139
3118
|
// Ponyfill
|
|
3140
3119
|
function(t) {
|
|
3141
|
-
return t.replace(
|
|
3120
|
+
return t.replace(Ui, "");
|
|
3142
3121
|
}
|
|
3143
3122
|
);
|
|
3144
|
-
function
|
|
3123
|
+
function en(e, t) {
|
|
3145
3124
|
return new RegExp(e, t);
|
|
3146
3125
|
}
|
|
3147
|
-
var
|
|
3148
|
-
if (
|
|
3149
|
-
var
|
|
3150
|
-
|
|
3126
|
+
var Rt;
|
|
3127
|
+
if (Nt) {
|
|
3128
|
+
var pr = en("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3129
|
+
Rt = function(t, r) {
|
|
3151
3130
|
var n;
|
|
3152
|
-
|
|
3153
|
-
var i =
|
|
3131
|
+
pr.lastIndex = r;
|
|
3132
|
+
var i = pr.exec(t);
|
|
3154
3133
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3155
3134
|
};
|
|
3156
3135
|
} else
|
|
3157
|
-
|
|
3136
|
+
Rt = function(t, r) {
|
|
3158
3137
|
for (var n = []; ; ) {
|
|
3159
|
-
var i =
|
|
3160
|
-
if (i === void 0 ||
|
|
3138
|
+
var i = Kr(t, r);
|
|
3139
|
+
if (i === void 0 || tn(i) || qi(i))
|
|
3161
3140
|
break;
|
|
3162
3141
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3163
3142
|
}
|
|
3164
|
-
return
|
|
3143
|
+
return Mt.apply(void 0, n);
|
|
3165
3144
|
};
|
|
3166
|
-
var
|
|
3145
|
+
var Zi = (
|
|
3167
3146
|
/** @class */
|
|
3168
3147
|
function() {
|
|
3169
3148
|
function e(t, r) {
|
|
@@ -3187,14 +3166,14 @@ var Yi = (
|
|
|
3187
3166
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3188
3167
|
var a = this.clonePosition();
|
|
3189
3168
|
this.bump(), i.push({
|
|
3190
|
-
type:
|
|
3169
|
+
type: P.pound,
|
|
3191
3170
|
location: A(a, this.clonePosition())
|
|
3192
3171
|
});
|
|
3193
3172
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3194
3173
|
if (n)
|
|
3195
3174
|
break;
|
|
3196
3175
|
return this.error(w.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
|
|
3197
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3176
|
+
} else if (o === 60 && !this.ignoreTag && Ut(this.peek() || 0)) {
|
|
3198
3177
|
var s = this.parseTag(t, r);
|
|
3199
3178
|
if (s.err)
|
|
3200
3179
|
return s;
|
|
@@ -3215,7 +3194,7 @@ var Yi = (
|
|
|
3215
3194
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3216
3195
|
return {
|
|
3217
3196
|
val: {
|
|
3218
|
-
type:
|
|
3197
|
+
type: P.literal,
|
|
3219
3198
|
value: "<".concat(i, "/>"),
|
|
3220
3199
|
location: A(n, this.clonePosition())
|
|
3221
3200
|
},
|
|
@@ -3227,12 +3206,12 @@ var Yi = (
|
|
|
3227
3206
|
return o;
|
|
3228
3207
|
var s = o.val, a = this.clonePosition();
|
|
3229
3208
|
if (this.bumpIf("</")) {
|
|
3230
|
-
if (this.isEOF() || !
|
|
3209
|
+
if (this.isEOF() || !Ut(this.char()))
|
|
3231
3210
|
return this.error(w.INVALID_TAG, A(a, this.clonePosition()));
|
|
3232
3211
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3233
3212
|
return i !== u ? this.error(w.UNMATCHED_CLOSING_TAG, A(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3234
3213
|
val: {
|
|
3235
|
-
type:
|
|
3214
|
+
type: P.tag,
|
|
3236
3215
|
value: i,
|
|
3237
3216
|
children: s,
|
|
3238
3217
|
location: A(n, this.clonePosition())
|
|
@@ -3245,7 +3224,7 @@ var Yi = (
|
|
|
3245
3224
|
return this.error(w.INVALID_TAG, A(n, this.clonePosition()));
|
|
3246
3225
|
}, e.prototype.parseTagName = function() {
|
|
3247
3226
|
var t = this.offset();
|
|
3248
|
-
for (this.bump(); !this.isEOF() &&
|
|
3227
|
+
for (this.bump(); !this.isEOF() && Yi(this.char()); )
|
|
3249
3228
|
this.bump();
|
|
3250
3229
|
return this.message.slice(t, this.offset());
|
|
3251
3230
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3269,12 +3248,12 @@ var Yi = (
|
|
|
3269
3248
|
}
|
|
3270
3249
|
var l = A(n, this.clonePosition());
|
|
3271
3250
|
return {
|
|
3272
|
-
val: { type:
|
|
3251
|
+
val: { type: P.literal, value: i, location: l },
|
|
3273
3252
|
err: null
|
|
3274
3253
|
};
|
|
3275
3254
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3276
3255
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3277
|
-
!
|
|
3256
|
+
!Qi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3278
3257
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3279
3258
|
if (this.isEOF() || this.char() !== 39)
|
|
3280
3259
|
return null;
|
|
@@ -3308,12 +3287,12 @@ var Yi = (
|
|
|
3308
3287
|
r.push(n);
|
|
3309
3288
|
this.bump();
|
|
3310
3289
|
}
|
|
3311
|
-
return
|
|
3290
|
+
return Mt.apply(void 0, r);
|
|
3312
3291
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3313
3292
|
if (this.isEOF())
|
|
3314
3293
|
return null;
|
|
3315
3294
|
var n = this.char();
|
|
3316
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3295
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Mt(n));
|
|
3317
3296
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3318
3297
|
var n = this.clonePosition();
|
|
3319
3298
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3329,7 +3308,7 @@ var Yi = (
|
|
|
3329
3308
|
case 125:
|
|
3330
3309
|
return this.bump(), {
|
|
3331
3310
|
val: {
|
|
3332
|
-
type:
|
|
3311
|
+
type: P.argument,
|
|
3333
3312
|
// value does not include the opening and closing braces.
|
|
3334
3313
|
value: i,
|
|
3335
3314
|
location: A(n, this.clonePosition())
|
|
@@ -3342,7 +3321,7 @@ var Yi = (
|
|
|
3342
3321
|
return this.error(w.MALFORMED_ARGUMENT, A(n, this.clonePosition()));
|
|
3343
3322
|
}
|
|
3344
3323
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3345
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3324
|
+
var t = this.clonePosition(), r = this.offset(), n = Rt(this.message, r), i = r + n.length;
|
|
3346
3325
|
this.bumpTo(i);
|
|
3347
3326
|
var o = this.clonePosition(), s = A(t, o);
|
|
3348
3327
|
return { value: n, location: s };
|
|
@@ -3361,7 +3340,7 @@ var Yi = (
|
|
|
3361
3340
|
var c = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
|
3362
3341
|
if (p.err)
|
|
3363
3342
|
return p;
|
|
3364
|
-
var f =
|
|
3343
|
+
var f = Ji(p.val);
|
|
3365
3344
|
if (f.length === 0)
|
|
3366
3345
|
return this.error(w.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
|
|
3367
3346
|
var b = A(c, this.clonePosition());
|
|
@@ -3371,25 +3350,25 @@ var Yi = (
|
|
|
3371
3350
|
if (x.err)
|
|
3372
3351
|
return x;
|
|
3373
3352
|
var g = A(i, this.clonePosition());
|
|
3374
|
-
if (u &&
|
|
3375
|
-
var v =
|
|
3353
|
+
if (u && hr(u == null ? void 0 : u.style, "::", 0)) {
|
|
3354
|
+
var v = zi(u.style.slice(2));
|
|
3376
3355
|
if (a === "number") {
|
|
3377
3356
|
var p = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3378
3357
|
return p.err ? p : {
|
|
3379
|
-
val: { type:
|
|
3358
|
+
val: { type: P.number, value: n, location: g, style: p.val },
|
|
3380
3359
|
err: null
|
|
3381
3360
|
};
|
|
3382
3361
|
} else {
|
|
3383
3362
|
if (v.length === 0)
|
|
3384
3363
|
return this.error(w.EXPECT_DATE_TIME_SKELETON, g);
|
|
3385
3364
|
var S = v;
|
|
3386
|
-
this.locale && (S =
|
|
3365
|
+
this.locale && (S = Ni(v, this.locale));
|
|
3387
3366
|
var f = {
|
|
3388
|
-
type:
|
|
3367
|
+
type: Ie.dateTime,
|
|
3389
3368
|
pattern: S,
|
|
3390
3369
|
location: u.styleLocation,
|
|
3391
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3392
|
-
}, y = a === "date" ?
|
|
3370
|
+
parsedOptions: this.shouldParseSkeletons ? Ai(S) : {}
|
|
3371
|
+
}, y = a === "date" ? P.date : P.time;
|
|
3393
3372
|
return {
|
|
3394
3373
|
val: { type: y, value: n, location: g, style: f },
|
|
3395
3374
|
err: null
|
|
@@ -3398,7 +3377,7 @@ var Yi = (
|
|
|
3398
3377
|
}
|
|
3399
3378
|
return {
|
|
3400
3379
|
val: {
|
|
3401
|
-
type: a === "number" ?
|
|
3380
|
+
type: a === "number" ? P.number : a === "date" ? P.date : P.time,
|
|
3402
3381
|
value: n,
|
|
3403
3382
|
location: g,
|
|
3404
3383
|
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
@@ -3411,38 +3390,38 @@ var Yi = (
|
|
|
3411
3390
|
case "select": {
|
|
3412
3391
|
var T = this.clonePosition();
|
|
3413
3392
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3414
|
-
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, A(T,
|
|
3393
|
+
return this.error(w.EXPECT_SELECT_ARGUMENT_OPTIONS, A(T, B({}, T)));
|
|
3415
3394
|
this.bumpSpace();
|
|
3416
|
-
var
|
|
3417
|
-
if (a !== "select" &&
|
|
3395
|
+
var I = this.parseIdentifierIfPossible(), G = 0;
|
|
3396
|
+
if (a !== "select" && I.value === "offset") {
|
|
3418
3397
|
if (!this.bumpIf(":"))
|
|
3419
3398
|
return this.error(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
|
|
3420
3399
|
this.bumpSpace();
|
|
3421
3400
|
var p = this.tryParseDecimalInteger(w.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3422
3401
|
if (p.err)
|
|
3423
3402
|
return p;
|
|
3424
|
-
this.bumpSpace(),
|
|
3403
|
+
this.bumpSpace(), I = this.parseIdentifierIfPossible(), G = p.val;
|
|
3425
3404
|
}
|
|
3426
|
-
var
|
|
3427
|
-
if (
|
|
3428
|
-
return
|
|
3405
|
+
var $ = this.tryParsePluralOrSelectOptions(t, a, r, I);
|
|
3406
|
+
if ($.err)
|
|
3407
|
+
return $;
|
|
3429
3408
|
var x = this.tryParseArgumentClose(i);
|
|
3430
3409
|
if (x.err)
|
|
3431
3410
|
return x;
|
|
3432
3411
|
var J = A(i, this.clonePosition());
|
|
3433
3412
|
return a === "select" ? {
|
|
3434
3413
|
val: {
|
|
3435
|
-
type:
|
|
3414
|
+
type: P.select,
|
|
3436
3415
|
value: n,
|
|
3437
|
-
options:
|
|
3416
|
+
options: fr($.val),
|
|
3438
3417
|
location: J
|
|
3439
3418
|
},
|
|
3440
3419
|
err: null
|
|
3441
3420
|
} : {
|
|
3442
3421
|
val: {
|
|
3443
|
-
type:
|
|
3422
|
+
type: P.plural,
|
|
3444
3423
|
value: n,
|
|
3445
|
-
options:
|
|
3424
|
+
options: fr($.val),
|
|
3446
3425
|
offset: G,
|
|
3447
3426
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3448
3427
|
location: J
|
|
@@ -3493,16 +3472,16 @@ var Yi = (
|
|
|
3493
3472
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3494
3473
|
var n = [];
|
|
3495
3474
|
try {
|
|
3496
|
-
n =
|
|
3475
|
+
n = Pi(t);
|
|
3497
3476
|
} catch (i) {
|
|
3498
3477
|
return this.error(w.INVALID_NUMBER_SKELETON, r);
|
|
3499
3478
|
}
|
|
3500
3479
|
return {
|
|
3501
3480
|
val: {
|
|
3502
|
-
type:
|
|
3481
|
+
type: Ie.number,
|
|
3503
3482
|
tokens: n,
|
|
3504
3483
|
location: r,
|
|
3505
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3484
|
+
parsedOptions: this.shouldParseSkeletons ? Oi(n) : {}
|
|
3506
3485
|
},
|
|
3507
3486
|
err: null
|
|
3508
3487
|
};
|
|
@@ -3550,7 +3529,7 @@ var Yi = (
|
|
|
3550
3529
|
break;
|
|
3551
3530
|
}
|
|
3552
3531
|
var l = A(i, this.clonePosition());
|
|
3553
|
-
return o ? (s *= n,
|
|
3532
|
+
return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3554
3533
|
}, e.prototype.offset = function() {
|
|
3555
3534
|
return this.position.offset;
|
|
3556
3535
|
}, e.prototype.isEOF = function() {
|
|
@@ -3565,7 +3544,7 @@ var Yi = (
|
|
|
3565
3544
|
var t = this.position.offset;
|
|
3566
3545
|
if (t >= this.message.length)
|
|
3567
3546
|
throw Error("out of bound");
|
|
3568
|
-
var r =
|
|
3547
|
+
var r = Kr(this.message, t);
|
|
3569
3548
|
if (r === void 0)
|
|
3570
3549
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3571
3550
|
return r;
|
|
@@ -3584,7 +3563,7 @@ var Yi = (
|
|
|
3584
3563
|
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);
|
|
3585
3564
|
}
|
|
3586
3565
|
}, e.prototype.bumpIf = function(t) {
|
|
3587
|
-
if (
|
|
3566
|
+
if (hr(this.message, t, this.offset())) {
|
|
3588
3567
|
for (var r = 0; r < t.length; r++)
|
|
3589
3568
|
this.bump();
|
|
3590
3569
|
return !0;
|
|
@@ -3606,7 +3585,7 @@ var Yi = (
|
|
|
3606
3585
|
break;
|
|
3607
3586
|
}
|
|
3608
3587
|
}, e.prototype.bumpSpace = function() {
|
|
3609
|
-
for (; !this.isEOF() &&
|
|
3588
|
+
for (; !this.isEOF() && tn(this.char()); )
|
|
3610
3589
|
this.bump();
|
|
3611
3590
|
}, e.prototype.peek = function() {
|
|
3612
3591
|
if (this.isEOF())
|
|
@@ -3616,47 +3595,47 @@ var Yi = (
|
|
|
3616
3595
|
}, e;
|
|
3617
3596
|
}()
|
|
3618
3597
|
);
|
|
3619
|
-
function
|
|
3598
|
+
function Ut(e) {
|
|
3620
3599
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3621
3600
|
}
|
|
3622
|
-
function
|
|
3623
|
-
return
|
|
3601
|
+
function Qi(e) {
|
|
3602
|
+
return Ut(e) || e === 47;
|
|
3624
3603
|
}
|
|
3625
|
-
function
|
|
3604
|
+
function Yi(e) {
|
|
3626
3605
|
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;
|
|
3627
3606
|
}
|
|
3628
|
-
function
|
|
3607
|
+
function tn(e) {
|
|
3629
3608
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3630
3609
|
}
|
|
3631
|
-
function
|
|
3610
|
+
function qi(e) {
|
|
3632
3611
|
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;
|
|
3633
3612
|
}
|
|
3634
|
-
function
|
|
3613
|
+
function Dt(e) {
|
|
3635
3614
|
e.forEach(function(t) {
|
|
3636
|
-
if (delete t.location,
|
|
3615
|
+
if (delete t.location, Wr(t) || Xr(t))
|
|
3637
3616
|
for (var r in t.options)
|
|
3638
|
-
delete t.options[r].location,
|
|
3617
|
+
delete t.options[r].location, Dt(t.options[r].value);
|
|
3639
3618
|
else
|
|
3640
|
-
Fr(t) &&
|
|
3619
|
+
Fr(t) && Jr(t.style) || ($r(t) || Vr(t)) && Ot(t.style) ? delete t.style.location : zr(t) && Dt(t.children);
|
|
3641
3620
|
});
|
|
3642
3621
|
}
|
|
3643
|
-
function
|
|
3644
|
-
t === void 0 && (t = {}), t =
|
|
3645
|
-
var r = new
|
|
3622
|
+
function Ki(e, t) {
|
|
3623
|
+
t === void 0 && (t = {}), t = B({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3624
|
+
var r = new Zi(e, t).parse();
|
|
3646
3625
|
if (r.err) {
|
|
3647
3626
|
var n = SyntaxError(w[r.err.kind]);
|
|
3648
3627
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3649
3628
|
}
|
|
3650
|
-
return t != null && t.captureLocation ||
|
|
3629
|
+
return t != null && t.captureLocation || Dt(r.val), r.val;
|
|
3651
3630
|
}
|
|
3652
|
-
var
|
|
3631
|
+
var Oe;
|
|
3653
3632
|
(function(e) {
|
|
3654
3633
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3655
|
-
})(
|
|
3656
|
-
var
|
|
3634
|
+
})(Oe || (Oe = {}));
|
|
3635
|
+
var pt = (
|
|
3657
3636
|
/** @class */
|
|
3658
3637
|
function(e) {
|
|
3659
|
-
|
|
3638
|
+
he(t, e);
|
|
3660
3639
|
function t(r, n, i) {
|
|
3661
3640
|
var o = e.call(this, r) || this;
|
|
3662
3641
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3665,48 +3644,48 @@ var mt = (
|
|
|
3665
3644
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3666
3645
|
}, t;
|
|
3667
3646
|
}(Error)
|
|
3668
|
-
),
|
|
3647
|
+
), dr = (
|
|
3669
3648
|
/** @class */
|
|
3670
3649
|
function(e) {
|
|
3671
|
-
|
|
3650
|
+
he(t, e);
|
|
3672
3651
|
function t(r, n, i, o) {
|
|
3673
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3652
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Oe.INVALID_VALUE, o) || this;
|
|
3674
3653
|
}
|
|
3675
3654
|
return t;
|
|
3676
|
-
}(
|
|
3677
|
-
),
|
|
3655
|
+
}(pt)
|
|
3656
|
+
), eo = (
|
|
3678
3657
|
/** @class */
|
|
3679
3658
|
function(e) {
|
|
3680
|
-
|
|
3659
|
+
he(t, e);
|
|
3681
3660
|
function t(r, n, i) {
|
|
3682
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3661
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Oe.INVALID_VALUE, i) || this;
|
|
3683
3662
|
}
|
|
3684
3663
|
return t;
|
|
3685
|
-
}(
|
|
3686
|
-
),
|
|
3664
|
+
}(pt)
|
|
3665
|
+
), to = (
|
|
3687
3666
|
/** @class */
|
|
3688
3667
|
function(e) {
|
|
3689
|
-
|
|
3668
|
+
he(t, e);
|
|
3690
3669
|
function t(r, n) {
|
|
3691
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3670
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Oe.MISSING_VALUE, n) || this;
|
|
3692
3671
|
}
|
|
3693
3672
|
return t;
|
|
3694
|
-
}(
|
|
3673
|
+
}(pt)
|
|
3695
3674
|
), k;
|
|
3696
3675
|
(function(e) {
|
|
3697
3676
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3698
3677
|
})(k || (k = {}));
|
|
3699
|
-
function
|
|
3678
|
+
function ro(e) {
|
|
3700
3679
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3701
3680
|
var n = t[t.length - 1];
|
|
3702
3681
|
return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
|
|
3703
3682
|
}, []);
|
|
3704
3683
|
}
|
|
3705
|
-
function
|
|
3684
|
+
function no(e) {
|
|
3706
3685
|
return typeof e == "function";
|
|
3707
3686
|
}
|
|
3708
3687
|
function at(e, t, r, n, i, o, s) {
|
|
3709
|
-
if (e.length === 1 &&
|
|
3688
|
+
if (e.length === 1 && ar(e[0]))
|
|
3710
3689
|
return [
|
|
3711
3690
|
{
|
|
3712
3691
|
type: k.literal,
|
|
@@ -3715,14 +3694,14 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3715
3694
|
];
|
|
3716
3695
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3717
3696
|
var c = u[l];
|
|
3718
|
-
if (
|
|
3697
|
+
if (ar(c)) {
|
|
3719
3698
|
a.push({
|
|
3720
3699
|
type: k.literal,
|
|
3721
3700
|
value: c.value
|
|
3722
3701
|
});
|
|
3723
3702
|
continue;
|
|
3724
3703
|
}
|
|
3725
|
-
if (
|
|
3704
|
+
if (wi(c)) {
|
|
3726
3705
|
typeof o == "number" && a.push({
|
|
3727
3706
|
type: k.literal,
|
|
3728
3707
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3731,25 +3710,25 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3731
3710
|
}
|
|
3732
3711
|
var p = c.value;
|
|
3733
3712
|
if (!(i && p in i))
|
|
3734
|
-
throw new
|
|
3713
|
+
throw new to(p, s);
|
|
3735
3714
|
var f = i[p];
|
|
3736
|
-
if (
|
|
3715
|
+
if (Ti(c)) {
|
|
3737
3716
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3738
3717
|
type: typeof f == "string" ? k.literal : k.object,
|
|
3739
3718
|
value: f
|
|
3740
3719
|
});
|
|
3741
3720
|
continue;
|
|
3742
3721
|
}
|
|
3743
|
-
if (
|
|
3744
|
-
var b = typeof c.style == "string" ? n.date[c.style] :
|
|
3722
|
+
if ($r(c)) {
|
|
3723
|
+
var b = typeof c.style == "string" ? n.date[c.style] : Ot(c.style) ? c.style.parsedOptions : void 0;
|
|
3745
3724
|
a.push({
|
|
3746
3725
|
type: k.literal,
|
|
3747
3726
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3748
3727
|
});
|
|
3749
3728
|
continue;
|
|
3750
3729
|
}
|
|
3751
|
-
if (
|
|
3752
|
-
var b = typeof c.style == "string" ? n.time[c.style] :
|
|
3730
|
+
if (Vr(c)) {
|
|
3731
|
+
var b = typeof c.style == "string" ? n.time[c.style] : Ot(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3753
3732
|
a.push({
|
|
3754
3733
|
type: k.literal,
|
|
3755
3734
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
@@ -3757,17 +3736,17 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3757
3736
|
continue;
|
|
3758
3737
|
}
|
|
3759
3738
|
if (Fr(c)) {
|
|
3760
|
-
var b = typeof c.style == "string" ? n.number[c.style] :
|
|
3739
|
+
var b = typeof c.style == "string" ? n.number[c.style] : Jr(c.style) ? c.style.parsedOptions : void 0;
|
|
3761
3740
|
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
|
3762
3741
|
type: k.literal,
|
|
3763
3742
|
value: r.getNumberFormat(t, b).format(f)
|
|
3764
3743
|
});
|
|
3765
3744
|
continue;
|
|
3766
3745
|
}
|
|
3767
|
-
if (
|
|
3746
|
+
if (zr(c)) {
|
|
3768
3747
|
var x = c.children, g = c.value, v = i[g];
|
|
3769
|
-
if (!
|
|
3770
|
-
throw new
|
|
3748
|
+
if (!no(v))
|
|
3749
|
+
throw new eo(g, "function", s);
|
|
3771
3750
|
var S = at(x, t, r, n, i, o), y = v(S.map(function(G) {
|
|
3772
3751
|
return G.value;
|
|
3773
3752
|
}));
|
|
@@ -3778,42 +3757,42 @@ function at(e, t, r, n, i, o, s) {
|
|
|
3778
3757
|
};
|
|
3779
3758
|
}));
|
|
3780
3759
|
}
|
|
3781
|
-
if (
|
|
3760
|
+
if (Wr(c)) {
|
|
3782
3761
|
var T = c.options[f] || c.options.other;
|
|
3783
3762
|
if (!T)
|
|
3784
|
-
throw new
|
|
3763
|
+
throw new dr(c.value, f, Object.keys(c.options), s);
|
|
3785
3764
|
a.push.apply(a, at(T.value, t, r, n, i));
|
|
3786
3765
|
continue;
|
|
3787
3766
|
}
|
|
3788
|
-
if (
|
|
3767
|
+
if (Xr(c)) {
|
|
3789
3768
|
var T = c.options["=".concat(f)];
|
|
3790
3769
|
if (!T) {
|
|
3791
3770
|
if (!Intl.PluralRules)
|
|
3792
|
-
throw new
|
|
3771
|
+
throw new pt(`Intl.PluralRules is not available in this environment.
|
|
3793
3772
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3794
|
-
`,
|
|
3795
|
-
var
|
|
3796
|
-
T = c.options[
|
|
3773
|
+
`, Oe.MISSING_INTL_API, s);
|
|
3774
|
+
var I = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
|
|
3775
|
+
T = c.options[I] || c.options.other;
|
|
3797
3776
|
}
|
|
3798
3777
|
if (!T)
|
|
3799
|
-
throw new
|
|
3778
|
+
throw new dr(c.value, f, Object.keys(c.options), s);
|
|
3800
3779
|
a.push.apply(a, at(T.value, t, r, n, i, f - (c.offset || 0)));
|
|
3801
3780
|
continue;
|
|
3802
3781
|
}
|
|
3803
3782
|
}
|
|
3804
|
-
return
|
|
3783
|
+
return ro(a);
|
|
3805
3784
|
}
|
|
3806
|
-
function
|
|
3807
|
-
return t ?
|
|
3808
|
-
return r[n] =
|
|
3785
|
+
function io(e, t) {
|
|
3786
|
+
return t ? B(B(B({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3787
|
+
return r[n] = B(B({}, e[n]), t[n] || {}), r;
|
|
3809
3788
|
}, {})) : e;
|
|
3810
3789
|
}
|
|
3811
|
-
function
|
|
3790
|
+
function oo(e, t) {
|
|
3812
3791
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3813
|
-
return r[n] =
|
|
3814
|
-
},
|
|
3792
|
+
return r[n] = io(e[n], t[n]), r;
|
|
3793
|
+
}, B({}, e)) : e;
|
|
3815
3794
|
}
|
|
3816
|
-
function
|
|
3795
|
+
function St(e) {
|
|
3817
3796
|
return {
|
|
3818
3797
|
create: function() {
|
|
3819
3798
|
return {
|
|
@@ -3827,39 +3806,39 @@ function wt(e) {
|
|
|
3827
3806
|
}
|
|
3828
3807
|
};
|
|
3829
3808
|
}
|
|
3830
|
-
function
|
|
3809
|
+
function so(e) {
|
|
3831
3810
|
return e === void 0 && (e = {
|
|
3832
3811
|
number: {},
|
|
3833
3812
|
dateTime: {},
|
|
3834
3813
|
pluralRules: {}
|
|
3835
3814
|
}), {
|
|
3836
|
-
getNumberFormat:
|
|
3815
|
+
getNumberFormat: _t(function() {
|
|
3837
3816
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3838
3817
|
r[n] = arguments[n];
|
|
3839
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3818
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Le([void 0], r, !1)))();
|
|
3840
3819
|
}, {
|
|
3841
|
-
cache:
|
|
3842
|
-
strategy:
|
|
3820
|
+
cache: St(e.number),
|
|
3821
|
+
strategy: Et.variadic
|
|
3843
3822
|
}),
|
|
3844
|
-
getDateTimeFormat:
|
|
3823
|
+
getDateTimeFormat: _t(function() {
|
|
3845
3824
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3846
3825
|
r[n] = arguments[n];
|
|
3847
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3826
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Le([void 0], r, !1)))();
|
|
3848
3827
|
}, {
|
|
3849
|
-
cache:
|
|
3850
|
-
strategy:
|
|
3828
|
+
cache: St(e.dateTime),
|
|
3829
|
+
strategy: Et.variadic
|
|
3851
3830
|
}),
|
|
3852
|
-
getPluralRules:
|
|
3831
|
+
getPluralRules: _t(function() {
|
|
3853
3832
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3854
3833
|
r[n] = arguments[n];
|
|
3855
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3834
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Le([void 0], r, !1)))();
|
|
3856
3835
|
}, {
|
|
3857
|
-
cache:
|
|
3858
|
-
strategy:
|
|
3836
|
+
cache: St(e.pluralRules),
|
|
3837
|
+
strategy: Et.variadic
|
|
3859
3838
|
})
|
|
3860
3839
|
};
|
|
3861
3840
|
}
|
|
3862
|
-
var
|
|
3841
|
+
var ao = (
|
|
3863
3842
|
/** @class */
|
|
3864
3843
|
function() {
|
|
3865
3844
|
function e(t, r, n, i) {
|
|
@@ -3891,13 +3870,13 @@ var lo = (
|
|
|
3891
3870
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3892
3871
|
var s = i || {};
|
|
3893
3872
|
s.formatters;
|
|
3894
|
-
var a =
|
|
3895
|
-
this.ast = e.__parse(t,
|
|
3873
|
+
var a = kn(s, ["formatters"]);
|
|
3874
|
+
this.ast = e.__parse(t, B(B({}, a), { locale: this.resolvedLocale }));
|
|
3896
3875
|
} else
|
|
3897
3876
|
this.ast = t;
|
|
3898
3877
|
if (!Array.isArray(this.ast))
|
|
3899
3878
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3900
|
-
this.formats =
|
|
3879
|
+
this.formats = oo(e.formats, n), this.formatters = i && i.formatters || so(this.formatterCache);
|
|
3901
3880
|
}
|
|
3902
3881
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3903
3882
|
get: function() {
|
|
@@ -3910,7 +3889,7 @@ var lo = (
|
|
|
3910
3889
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3911
3890
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3912
3891
|
}
|
|
3913
|
-
}, e.__parse =
|
|
3892
|
+
}, e.__parse = Ki, e.formats = {
|
|
3914
3893
|
number: {
|
|
3915
3894
|
integer: {
|
|
3916
3895
|
maximumFractionDigits: 0
|
|
@@ -3971,7 +3950,7 @@ var lo = (
|
|
|
3971
3950
|
}, e;
|
|
3972
3951
|
}()
|
|
3973
3952
|
);
|
|
3974
|
-
function
|
|
3953
|
+
function uo(e, t) {
|
|
3975
3954
|
if (t == null)
|
|
3976
3955
|
return;
|
|
3977
3956
|
if (t in e)
|
|
@@ -3992,92 +3971,92 @@ function co(e, t) {
|
|
|
3992
3971
|
n = void 0;
|
|
3993
3972
|
return n;
|
|
3994
3973
|
}
|
|
3995
|
-
const me = {},
|
|
3974
|
+
const me = {}, lo = (e, t, r) => r && (t in me || (me[t] = {}), e in me[t] || (me[t][e] = r), r), rn = (e, t) => {
|
|
3996
3975
|
if (t == null)
|
|
3997
3976
|
return;
|
|
3998
3977
|
if (t in me && e in me[t])
|
|
3999
3978
|
return me[t][e];
|
|
4000
|
-
const r =
|
|
3979
|
+
const r = dt(t);
|
|
4001
3980
|
for (let n = 0; n < r.length; n++) {
|
|
4002
|
-
const i = r[n], o =
|
|
3981
|
+
const i = r[n], o = ho(i, e);
|
|
4003
3982
|
if (o)
|
|
4004
|
-
return
|
|
3983
|
+
return lo(e, t, o);
|
|
4005
3984
|
}
|
|
4006
3985
|
};
|
|
4007
|
-
let
|
|
4008
|
-
const Ze =
|
|
4009
|
-
function
|
|
4010
|
-
return
|
|
3986
|
+
let Vt;
|
|
3987
|
+
const Ze = ft({});
|
|
3988
|
+
function co(e) {
|
|
3989
|
+
return Vt[e] || null;
|
|
4011
3990
|
}
|
|
4012
|
-
function
|
|
4013
|
-
return e in
|
|
3991
|
+
function nn(e) {
|
|
3992
|
+
return e in Vt;
|
|
4014
3993
|
}
|
|
4015
|
-
function
|
|
4016
|
-
if (!
|
|
3994
|
+
function ho(e, t) {
|
|
3995
|
+
if (!nn(e))
|
|
4017
3996
|
return null;
|
|
4018
|
-
const r =
|
|
4019
|
-
return
|
|
3997
|
+
const r = co(e);
|
|
3998
|
+
return uo(r, t);
|
|
4020
3999
|
}
|
|
4021
|
-
function
|
|
4000
|
+
function fo(e) {
|
|
4022
4001
|
if (e == null)
|
|
4023
4002
|
return;
|
|
4024
|
-
const t =
|
|
4003
|
+
const t = dt(e);
|
|
4025
4004
|
for (let r = 0; r < t.length; r++) {
|
|
4026
4005
|
const n = t[r];
|
|
4027
|
-
if (
|
|
4006
|
+
if (nn(n))
|
|
4028
4007
|
return n;
|
|
4029
4008
|
}
|
|
4030
4009
|
}
|
|
4031
|
-
function
|
|
4010
|
+
function on(e, ...t) {
|
|
4032
4011
|
delete me[e], Ze.update((r) => (r[e] = gi.all([r[e] || {}, ...t]), r));
|
|
4033
4012
|
}
|
|
4034
|
-
|
|
4013
|
+
Me(
|
|
4035
4014
|
[Ze],
|
|
4036
4015
|
([e]) => Object.keys(e)
|
|
4037
4016
|
);
|
|
4038
|
-
Ze.subscribe((e) =>
|
|
4017
|
+
Ze.subscribe((e) => Vt = e);
|
|
4039
4018
|
const ut = {};
|
|
4040
|
-
function
|
|
4019
|
+
function po(e, t) {
|
|
4041
4020
|
ut[e].delete(t), ut[e].size === 0 && delete ut[e];
|
|
4042
4021
|
}
|
|
4043
|
-
function
|
|
4022
|
+
function sn(e) {
|
|
4044
4023
|
return ut[e];
|
|
4045
4024
|
}
|
|
4046
|
-
function
|
|
4047
|
-
return
|
|
4048
|
-
const r =
|
|
4025
|
+
function mo(e) {
|
|
4026
|
+
return dt(e).map((t) => {
|
|
4027
|
+
const r = sn(t);
|
|
4049
4028
|
return [t, r ? [...r] : []];
|
|
4050
4029
|
}).filter(([, t]) => t.length > 0);
|
|
4051
4030
|
}
|
|
4052
|
-
function
|
|
4053
|
-
return e == null ? !1 :
|
|
4031
|
+
function Gt(e) {
|
|
4032
|
+
return e == null ? !1 : dt(e).some(
|
|
4054
4033
|
(t) => {
|
|
4055
4034
|
var r;
|
|
4056
|
-
return (r =
|
|
4035
|
+
return (r = sn(t)) == null ? void 0 : r.size;
|
|
4057
4036
|
}
|
|
4058
4037
|
);
|
|
4059
4038
|
}
|
|
4060
|
-
function
|
|
4039
|
+
function bo(e, t) {
|
|
4061
4040
|
return Promise.all(
|
|
4062
|
-
t.map((n) => (
|
|
4063
|
-
).then((n) =>
|
|
4041
|
+
t.map((n) => (po(e, n), n().then((i) => i.default || i)))
|
|
4042
|
+
).then((n) => on(e, ...n));
|
|
4064
4043
|
}
|
|
4065
4044
|
const $e = {};
|
|
4066
|
-
function
|
|
4067
|
-
if (!
|
|
4045
|
+
function an(e) {
|
|
4046
|
+
if (!Gt(e))
|
|
4068
4047
|
return e in $e ? $e[e] : Promise.resolve();
|
|
4069
|
-
const t =
|
|
4048
|
+
const t = mo(e);
|
|
4070
4049
|
return $e[e] = Promise.all(
|
|
4071
4050
|
t.map(
|
|
4072
|
-
([r, n]) =>
|
|
4051
|
+
([r, n]) => bo(r, n)
|
|
4073
4052
|
)
|
|
4074
4053
|
).then(() => {
|
|
4075
|
-
if (
|
|
4076
|
-
return
|
|
4054
|
+
if (Gt(e))
|
|
4055
|
+
return an(e);
|
|
4077
4056
|
delete $e[e];
|
|
4078
4057
|
}), $e[e];
|
|
4079
4058
|
}
|
|
4080
|
-
const
|
|
4059
|
+
const go = {
|
|
4081
4060
|
number: {
|
|
4082
4061
|
scientific: { notation: "scientific" },
|
|
4083
4062
|
engineering: { notation: "engineering" },
|
|
@@ -4106,135 +4085,135 @@ const vo = {
|
|
|
4106
4085
|
timeZoneName: "short"
|
|
4107
4086
|
}
|
|
4108
4087
|
}
|
|
4109
|
-
},
|
|
4088
|
+
}, yo = {
|
|
4110
4089
|
fallbackLocale: null,
|
|
4111
4090
|
loadingDelay: 200,
|
|
4112
|
-
formats:
|
|
4091
|
+
formats: go,
|
|
4113
4092
|
warnOnMissingMessages: !0,
|
|
4114
4093
|
handleMissingMessage: void 0,
|
|
4115
4094
|
ignoreTag: !0
|
|
4116
|
-
},
|
|
4117
|
-
function
|
|
4118
|
-
return
|
|
4095
|
+
}, vo = yo;
|
|
4096
|
+
function Ne() {
|
|
4097
|
+
return vo;
|
|
4119
4098
|
}
|
|
4120
|
-
const
|
|
4121
|
-
var
|
|
4099
|
+
const Tt = ft(!1);
|
|
4100
|
+
var _o = Object.defineProperty, Eo = Object.defineProperties, xo = Object.getOwnPropertyDescriptors, mr = Object.getOwnPropertySymbols, So = Object.prototype.hasOwnProperty, To = Object.prototype.propertyIsEnumerable, br = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wo = (e, t) => {
|
|
4122
4101
|
for (var r in t || (t = {}))
|
|
4123
|
-
|
|
4124
|
-
if (
|
|
4125
|
-
for (var r of
|
|
4126
|
-
|
|
4102
|
+
So.call(t, r) && br(e, r, t[r]);
|
|
4103
|
+
if (mr)
|
|
4104
|
+
for (var r of mr(t))
|
|
4105
|
+
To.call(t, r) && br(e, r, t[r]);
|
|
4127
4106
|
return e;
|
|
4128
|
-
},
|
|
4129
|
-
let
|
|
4130
|
-
const
|
|
4131
|
-
function
|
|
4107
|
+
}, Ho = (e, t) => Eo(e, xo(t));
|
|
4108
|
+
let kt;
|
|
4109
|
+
const lt = ft(null);
|
|
4110
|
+
function gr(e) {
|
|
4132
4111
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4133
4112
|
}
|
|
4134
|
-
function
|
|
4135
|
-
const r =
|
|
4136
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4113
|
+
function dt(e, t = Ne().fallbackLocale) {
|
|
4114
|
+
const r = gr(e);
|
|
4115
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...gr(t)])] : r;
|
|
4137
4116
|
}
|
|
4138
4117
|
function ye() {
|
|
4139
|
-
return
|
|
4118
|
+
return kt != null ? kt : void 0;
|
|
4140
4119
|
}
|
|
4141
|
-
|
|
4142
|
-
|
|
4120
|
+
lt.subscribe((e) => {
|
|
4121
|
+
kt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4143
4122
|
});
|
|
4144
|
-
const
|
|
4145
|
-
if (e &&
|
|
4146
|
-
const { loadingDelay: t } =
|
|
4123
|
+
const Ao = (e) => {
|
|
4124
|
+
if (e && fo(e) && Gt(e)) {
|
|
4125
|
+
const { loadingDelay: t } = Ne();
|
|
4147
4126
|
let r;
|
|
4148
4127
|
return typeof window != "undefined" && ye() != null && t ? r = window.setTimeout(
|
|
4149
|
-
() =>
|
|
4128
|
+
() => Tt.set(!0),
|
|
4150
4129
|
t
|
|
4151
|
-
) :
|
|
4152
|
-
|
|
4130
|
+
) : Tt.set(!0), an(e).then(() => {
|
|
4131
|
+
lt.set(e);
|
|
4153
4132
|
}).finally(() => {
|
|
4154
|
-
clearTimeout(r),
|
|
4133
|
+
clearTimeout(r), Tt.set(!1);
|
|
4155
4134
|
});
|
|
4156
4135
|
}
|
|
4157
|
-
return
|
|
4158
|
-
},
|
|
4159
|
-
set:
|
|
4160
|
-
}),
|
|
4136
|
+
return lt.set(e);
|
|
4137
|
+
}, Re = Ho(wo({}, lt), {
|
|
4138
|
+
set: Ao
|
|
4139
|
+
}), mt = (e) => {
|
|
4161
4140
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4162
4141
|
return (n) => {
|
|
4163
4142
|
const i = JSON.stringify(n);
|
|
4164
4143
|
return i in t ? t[i] : t[i] = e(n);
|
|
4165
4144
|
};
|
|
4166
4145
|
};
|
|
4167
|
-
var
|
|
4146
|
+
var Bo = Object.defineProperty, ct = Object.getOwnPropertySymbols, un = Object.prototype.hasOwnProperty, ln = Object.prototype.propertyIsEnumerable, yr = (e, t, r) => t in e ? Bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wt = (e, t) => {
|
|
4168
4147
|
for (var r in t || (t = {}))
|
|
4169
|
-
|
|
4170
|
-
if (
|
|
4171
|
-
for (var r of
|
|
4172
|
-
|
|
4148
|
+
un.call(t, r) && yr(e, r, t[r]);
|
|
4149
|
+
if (ct)
|
|
4150
|
+
for (var r of ct(t))
|
|
4151
|
+
ln.call(t, r) && yr(e, r, t[r]);
|
|
4173
4152
|
return e;
|
|
4174
|
-
},
|
|
4153
|
+
}, Ue = (e, t) => {
|
|
4175
4154
|
var r = {};
|
|
4176
4155
|
for (var n in e)
|
|
4177
|
-
|
|
4178
|
-
if (e != null &&
|
|
4179
|
-
for (var n of
|
|
4180
|
-
t.indexOf(n) < 0 &&
|
|
4156
|
+
un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4157
|
+
if (e != null && ct)
|
|
4158
|
+
for (var n of ct(e))
|
|
4159
|
+
t.indexOf(n) < 0 && ln.call(e, n) && (r[n] = e[n]);
|
|
4181
4160
|
return r;
|
|
4182
4161
|
};
|
|
4183
|
-
const
|
|
4184
|
-
const { formats: r } =
|
|
4162
|
+
const ze = (e, t) => {
|
|
4163
|
+
const { formats: r } = Ne();
|
|
4185
4164
|
if (e in r && t in r[e])
|
|
4186
4165
|
return r[e][t];
|
|
4187
4166
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4188
|
-
},
|
|
4167
|
+
}, Po = mt(
|
|
4189
4168
|
(e) => {
|
|
4190
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4169
|
+
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4191
4170
|
if (r == null)
|
|
4192
4171
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4193
|
-
return n && (i =
|
|
4172
|
+
return n && (i = ze("number", n)), new Intl.NumberFormat(r, i);
|
|
4194
4173
|
}
|
|
4195
|
-
),
|
|
4174
|
+
), Lo = mt(
|
|
4196
4175
|
(e) => {
|
|
4197
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4176
|
+
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4198
4177
|
if (r == null)
|
|
4199
4178
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4200
|
-
return n ? i =
|
|
4179
|
+
return n ? i = ze("date", n) : Object.keys(i).length === 0 && (i = ze("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4201
4180
|
}
|
|
4202
|
-
),
|
|
4181
|
+
), Co = mt(
|
|
4203
4182
|
(e) => {
|
|
4204
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4183
|
+
var t = e, { locale: r, format: n } = t, i = Ue(t, ["locale", "format"]);
|
|
4205
4184
|
if (r == null)
|
|
4206
4185
|
throw new Error(
|
|
4207
4186
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4208
4187
|
);
|
|
4209
|
-
return n ? i =
|
|
4188
|
+
return n ? i = ze("time", n) : Object.keys(i).length === 0 && (i = ze("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4210
4189
|
}
|
|
4211
|
-
),
|
|
4190
|
+
), Io = (e = {}) => {
|
|
4212
4191
|
var t = e, {
|
|
4213
4192
|
locale: r = ye()
|
|
4214
|
-
} = t, n =
|
|
4193
|
+
} = t, n = Ue(t, [
|
|
4215
4194
|
"locale"
|
|
4216
4195
|
]);
|
|
4217
|
-
return
|
|
4218
|
-
},
|
|
4196
|
+
return Po(Wt({ locale: r }, n));
|
|
4197
|
+
}, Oo = (e = {}) => {
|
|
4219
4198
|
var t = e, {
|
|
4220
4199
|
locale: r = ye()
|
|
4221
|
-
} = t, n =
|
|
4200
|
+
} = t, n = Ue(t, [
|
|
4222
4201
|
"locale"
|
|
4223
4202
|
]);
|
|
4224
|
-
return
|
|
4225
|
-
},
|
|
4203
|
+
return Lo(Wt({ locale: r }, n));
|
|
4204
|
+
}, No = (e = {}) => {
|
|
4226
4205
|
var t = e, {
|
|
4227
4206
|
locale: r = ye()
|
|
4228
|
-
} = t, n =
|
|
4207
|
+
} = t, n = Ue(t, [
|
|
4229
4208
|
"locale"
|
|
4230
4209
|
]);
|
|
4231
|
-
return
|
|
4232
|
-
},
|
|
4210
|
+
return Co(Wt({ locale: r }, n));
|
|
4211
|
+
}, Mo = mt(
|
|
4233
4212
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4234
|
-
(e, t = ye()) => new
|
|
4235
|
-
ignoreTag:
|
|
4213
|
+
(e, t = ye()) => new ao(e, t, Ne().formats, {
|
|
4214
|
+
ignoreTag: Ne().ignoreTag
|
|
4236
4215
|
})
|
|
4237
|
-
),
|
|
4216
|
+
), Ro = (e, t = {}) => {
|
|
4238
4217
|
var r, n, i, o;
|
|
4239
4218
|
let s = t;
|
|
4240
4219
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4247,9 +4226,9 @@ const Xe = (e, t) => {
|
|
|
4247
4226
|
throw new Error(
|
|
4248
4227
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4249
4228
|
);
|
|
4250
|
-
let c =
|
|
4229
|
+
let c = rn(e, l);
|
|
4251
4230
|
if (!c)
|
|
4252
|
-
c = (o = (i = (n = (r =
|
|
4231
|
+
c = (o = (i = (n = (r = Ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4253
4232
|
else if (typeof c != "string")
|
|
4254
4233
|
return console.warn(
|
|
4255
4234
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4258,7 +4237,7 @@ const Xe = (e, t) => {
|
|
|
4258
4237
|
return c;
|
|
4259
4238
|
let p = c;
|
|
4260
4239
|
try {
|
|
4261
|
-
p =
|
|
4240
|
+
p = Mo(c, l).format(a);
|
|
4262
4241
|
} catch (f) {
|
|
4263
4242
|
f instanceof Error && console.warn(
|
|
4264
4243
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4266,21 +4245,21 @@ const Xe = (e, t) => {
|
|
|
4266
4245
|
);
|
|
4267
4246
|
}
|
|
4268
4247
|
return p;
|
|
4269
|
-
},
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4248
|
+
}, Uo = (e, t) => No(t).format(e), Do = (e, t) => Oo(t).format(e), Go = (e, t) => Io(t).format(e), ko = (e, t = ye()) => rn(e, t);
|
|
4249
|
+
Me([Re, Ze], () => Ro);
|
|
4250
|
+
Me([Re], () => Uo);
|
|
4251
|
+
Me([Re], () => Do);
|
|
4252
|
+
Me([Re], () => Go);
|
|
4253
|
+
Me([Re, Ze], () => ko);
|
|
4275
4254
|
window.emWidgets = { topic: ei };
|
|
4276
|
-
const
|
|
4277
|
-
function
|
|
4255
|
+
const jo = (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));
|
|
4256
|
+
function Fo(e, t) {
|
|
4278
4257
|
if (e) {
|
|
4279
4258
|
const r = document.createElement("style");
|
|
4280
4259
|
r.innerHTML = t, e.appendChild(r);
|
|
4281
4260
|
}
|
|
4282
4261
|
}
|
|
4283
|
-
function
|
|
4262
|
+
function $o(e, t) {
|
|
4284
4263
|
const r = new URL(t);
|
|
4285
4264
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4286
4265
|
const i = document.createElement("style");
|
|
@@ -4289,7 +4268,7 @@ function Wo(e, t) {
|
|
|
4289
4268
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4290
4269
|
});
|
|
4291
4270
|
}
|
|
4292
|
-
function
|
|
4271
|
+
function Vo(e, t, r) {
|
|
4293
4272
|
if (window.emMessageBus) {
|
|
4294
4273
|
const n = document.createElement("style");
|
|
4295
4274
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4297,13 +4276,13 @@ function Xo(e, t, r) {
|
|
|
4297
4276
|
});
|
|
4298
4277
|
}
|
|
4299
4278
|
}
|
|
4300
|
-
function
|
|
4301
|
-
|
|
4279
|
+
function vr(e, t) {
|
|
4280
|
+
on(e, t);
|
|
4302
4281
|
}
|
|
4303
|
-
function
|
|
4304
|
-
|
|
4282
|
+
function Wo(e) {
|
|
4283
|
+
Re.set(e);
|
|
4305
4284
|
}
|
|
4306
|
-
const
|
|
4285
|
+
const _r = {
|
|
4307
4286
|
en: {
|
|
4308
4287
|
loadingText: "Loading, please wait..."
|
|
4309
4288
|
},
|
|
@@ -4341,27 +4320,27 @@ const xr = {
|
|
|
4341
4320
|
loadingText: "Loading, please wait..."
|
|
4342
4321
|
}
|
|
4343
4322
|
};
|
|
4344
|
-
function
|
|
4345
|
-
|
|
4323
|
+
function Xo(e) {
|
|
4324
|
+
gn(e, "svelte-w5pa6u", ':host{font-family:"Roboto", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";color:#fff}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.mainWrapper{padding:33px 3vw;background-repeat:no-repeat !important;background-size:cover !important;border-radius:7px;display:grid;grid-gap:0.5rem;z-index:0}.vendorLogo{grid-area:vendorLogo;height:44px;width:auto;min-width:130px;background-repeat:no-repeat;background-position:right center}.displayCard{position:relative;background:#1c2136;height:max(0.5vw, 1rem);padding:10px 20px 10px 24px;margin:0 8px;box-sizing:content-box;border-radius:7px;display:flex;justify-content:center;align-items:center;border:1px solid #ffc052}.displayCard .iconWrapper{width:44px;height:44px;position:absolute;left:-24px;display:flex;flex-direction:column;justify-content:flex-start;align-items:center}.displayCard .displayCardIcon{height:100%;width:auto}.displayCard .cardLabel{font-size:0.8rem;font-style:italic}.displayCard .cardTextWrapper{display:flex;justify-content:center;flex-wrap:nowrap;align-items:flex-end}.title{grid-area:title;display:flex;align-items:center}.title ui-image img{height:50px}.displayContainer{grid-area:displayArea;padding:0 0 0 20px;display:flex;gap:40px;justify-content:space-between;align-items:center}.displayContainer .jackpotValue{font-size:1.2rem;font-weight:400;display:flex;align-items:flex-end}.displayContainer .jackpot-currency{font-weight:400;font-style:italic;font-size:8px;padding-left:2px;display:flex;align-items:flex-end}.pairWrapper{width:100%;padding-left:4%;display:flex;justify-content:flex-start;gap:30px}.typeSpread{grid-template-columns:1fr 2.5fr 1fr;grid-template-areas:"title displayArea vendorLogo";align-items:center}.typeSpread.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";margin-top:25px}.typeSpread .pairWrapper{justify-content:center}.typeSpread .vendorLogo{justify-content:flex-end}.typeSpread .title{justify-content:flex-start}.typeSpread .displayContainer{justify-content:space-evenly}.typeLeft{grid-template-columns:1fr 4fr;grid-template-areas:"title displayArea" "vendorLogo displayArea";padding:44px 33px}.typeLeft.mobile{grid-template-areas:"title" "vendorLogo" "displayArea";padding:33px}.typeLeft.mobile .displayContainer{margin-top:50px;gap:2.6rem}.typeLeft .displayContainer{padding-left:2rem;width:auto;gap:2rem}.typeLeft .pairWrapper{justify-content:space-evenly}.typeLeft .title{align-items:flex-end}.typeLeft .vendorLogo{height:44px;width:auto}.mobile{grid-template-columns:1fr;grid-gap:1rem}.mobile .title{justify-content:center;align-items:center}.mobile .title ui-image img{height:80px}.mobile .displayContainer{padding-left:26px;flex-direction:column;flex-wrap:nowrap;justify-content:center;align-items:center}.mobile .vendorLogo{justify-content:center;align-items:center}.mobile .displayCard{width:40vw}.tablet .displayContainer{flex-wrap:wrap}.DisplayNone{display:none}.loadingPrompt{color:#333}.LoadingSpinner{display:block;width:80px;height:80px;margin:0 auto}.LoadingSpinner:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--color-primary, #22B04E);border-color:var(--emw--color-primary, #22B04E) transparent var(--emw--color-primary, #22B04E) transparent;animation:LoadingSpinner 1.2s linear infinite}@keyframes LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}');
|
|
4346
4325
|
}
|
|
4347
|
-
function
|
|
4326
|
+
function Er(e, t, r) {
|
|
4348
4327
|
const n = e.slice();
|
|
4349
4328
|
return n[56] = t[r], n[58] = r, n;
|
|
4350
4329
|
}
|
|
4351
|
-
function
|
|
4330
|
+
function zo(e) {
|
|
4352
4331
|
let t, r, n, i, o, s, a, l, u, c, p, f, b;
|
|
4353
4332
|
function x(S, y) {
|
|
4354
4333
|
return (
|
|
4355
4334
|
/*tabletView*/
|
|
4356
|
-
S[8] ?
|
|
4335
|
+
S[8] ? Qo : Yo
|
|
4357
4336
|
);
|
|
4358
4337
|
}
|
|
4359
4338
|
let g = x(e), v = g(e);
|
|
4360
4339
|
return {
|
|
4361
4340
|
c() {
|
|
4362
|
-
t = m("div"), r = m("div"), n = m("div"), i = m("div"), o =
|
|
4341
|
+
t = m("div"), r = m("div"), n = m("div"), i = m("div"), o = O(), s = m("div"), v.c(), a = O(), l = m("div"), u = m("ui-image"), _(i, "class", "vendorLogo"), rt(i, "background-image", "url(" + /*vendorIcon*/
|
|
4363
4342
|
e[9] + ")"), _(s, "class", "displayContainer"), Y(u.src, c = /*titleLogoImg*/
|
|
4364
|
-
e[14]) ||
|
|
4343
|
+
e[14]) || L(u, "src", c), L(u, "alt", ""), _(l, "class", "title"), _(n, "class", p = "mainWrapper " + /*visualstructure*/
|
|
4365
4344
|
e[0] + " " + /*mobileView*/
|
|
4366
4345
|
(e[7] && !/*tabletView*/
|
|
4367
4346
|
e[8] ? "mobile" : (
|
|
@@ -4371,7 +4350,7 @@ function Zo(e) {
|
|
|
4371
4350
|
e[13] + ")"), _(r, "class", "jackpotBanner"), _(t, "class", "");
|
|
4372
4351
|
},
|
|
4373
4352
|
m(S, y) {
|
|
4374
|
-
|
|
4353
|
+
F(S, t, y), d(t, r), d(r, n), d(n, i), d(n, o), d(n, s), v.m(s, null), d(n, a), d(n, l), d(l, u), f || (b = xn(
|
|
4375
4354
|
r,
|
|
4376
4355
|
"click",
|
|
4377
4356
|
/*click_handler*/
|
|
@@ -4383,7 +4362,7 @@ function Zo(e) {
|
|
|
4383
4362
|
512 && rt(i, "background-image", "url(" + /*vendorIcon*/
|
|
4384
4363
|
S[9] + ")"), g === (g = x(S)) && v ? v.p(S, y) : (v.d(1), v = g(S), v && (v.c(), v.m(s, null))), y[0] & /*titleLogoImg*/
|
|
4385
4364
|
16384 && !Y(u.src, c = /*titleLogoImg*/
|
|
4386
|
-
S[14]) &&
|
|
4365
|
+
S[14]) && L(u, "src", c), y[0] & /*visualstructure, mobileView, tabletView*/
|
|
4387
4366
|
385 && p !== (p = "mainWrapper " + /*visualstructure*/
|
|
4388
4367
|
S[0] + " " + /*mobileView*/
|
|
4389
4368
|
(S[7] && !/*tabletView*/
|
|
@@ -4399,14 +4378,14 @@ function Zo(e) {
|
|
|
4399
4378
|
}
|
|
4400
4379
|
};
|
|
4401
4380
|
}
|
|
4402
|
-
function
|
|
4381
|
+
function Jo(e) {
|
|
4403
4382
|
let t;
|
|
4404
4383
|
return {
|
|
4405
4384
|
c() {
|
|
4406
4385
|
t = m("div"), _(t, "class", "LoadingSpinner");
|
|
4407
4386
|
},
|
|
4408
4387
|
m(r, n) {
|
|
4409
|
-
|
|
4388
|
+
F(r, t, n);
|
|
4410
4389
|
},
|
|
4411
4390
|
p: Z,
|
|
4412
4391
|
d(r) {
|
|
@@ -4414,14 +4393,14 @@ function Qo(e) {
|
|
|
4414
4393
|
}
|
|
4415
4394
|
};
|
|
4416
4395
|
}
|
|
4417
|
-
function
|
|
4396
|
+
function Zo(e) {
|
|
4418
4397
|
let t;
|
|
4419
4398
|
return {
|
|
4420
4399
|
c() {
|
|
4421
4400
|
t = m("p"), t.textContent = "500 Server error";
|
|
4422
4401
|
},
|
|
4423
4402
|
m(r, n) {
|
|
4424
|
-
|
|
4403
|
+
F(r, t, n);
|
|
4425
4404
|
},
|
|
4426
4405
|
p: Z,
|
|
4427
4406
|
d(r) {
|
|
@@ -4429,7 +4408,7 @@ function Yo(e) {
|
|
|
4429
4408
|
}
|
|
4430
4409
|
};
|
|
4431
4410
|
}
|
|
4432
|
-
function
|
|
4411
|
+
function Qo(e) {
|
|
4433
4412
|
let t, r, n, i, o, s, a, l = (
|
|
4434
4413
|
/*formattedLabels*/
|
|
4435
4414
|
e[11][0] + ""
|
|
@@ -4442,10 +4421,10 @@ function qo(e) {
|
|
|
4442
4421
|
/*formattedJackpotValues*/
|
|
4443
4422
|
e[10][0]
|
|
4444
4423
|
)) + ""
|
|
4445
|
-
), x, g, v, S, y, T,
|
|
4424
|
+
), x, g, v, S, y, T, I, G, $, J = (
|
|
4446
4425
|
/*formattedLabels*/
|
|
4447
4426
|
e[11][1] + ""
|
|
4448
|
-
),
|
|
4427
|
+
), De, ve, q, be, fe = (
|
|
4449
4428
|
/*realtimeupdate*/
|
|
4450
4429
|
(e[2] === "true" ? (
|
|
4451
4430
|
/*reversedJackpotValues*/
|
|
@@ -4454,10 +4433,10 @@ function qo(e) {
|
|
|
4454
4433
|
/*formattedJackpotValues*/
|
|
4455
4434
|
e[10][1]
|
|
4456
4435
|
)) + ""
|
|
4457
|
-
), pe, _e, Ee, te,
|
|
4436
|
+
), pe, _e, Ee, te, ne, ie, M, oe, Ge, de, K = (
|
|
4458
4437
|
/*formattedLabels*/
|
|
4459
4438
|
e[11][2] + ""
|
|
4460
|
-
),
|
|
4439
|
+
), se, Qe, ee, xe, Se = (
|
|
4461
4440
|
/*realtimeupdate*/
|
|
4462
4441
|
(e[2] === "true" ? (
|
|
4463
4442
|
/*updatedJackpotValues*/
|
|
@@ -4466,10 +4445,10 @@ function qo(e) {
|
|
|
4466
4445
|
/*formattedJackpotValues*/
|
|
4467
4446
|
e[10][2]
|
|
4468
4447
|
)) + ""
|
|
4469
|
-
),
|
|
4448
|
+
), ke, Ye, qe, ae, ue, re, Te, je, we, ge = (
|
|
4470
4449
|
/*formattedLabels*/
|
|
4471
4450
|
e[11][3] + ""
|
|
4472
|
-
),
|
|
4451
|
+
), Fe, Ke, le, h, H = (
|
|
4473
4452
|
/*realtimeupdate*/
|
|
4474
4453
|
(e[2] === "true" ? (
|
|
4475
4454
|
/*updatedJackpotValues*/
|
|
@@ -4479,25 +4458,25 @@ function qo(e) {
|
|
|
4479
4458
|
e[10][3]
|
|
4480
4459
|
)) + ""
|
|
4481
4460
|
), R, et, V = !/*currencylocale*/
|
|
4482
|
-
e[3] &&
|
|
4483
|
-
e[3] &&
|
|
4484
|
-
e[3] &&
|
|
4485
|
-
e[3] &&
|
|
4461
|
+
e[3] && xr(e), W = !/*currencylocale*/
|
|
4462
|
+
e[3] && Sr(e), X = !/*currencylocale*/
|
|
4463
|
+
e[3] && Tr(e), z = !/*currencylocale*/
|
|
4464
|
+
e[3] && wr(e);
|
|
4486
4465
|
return {
|
|
4487
4466
|
c() {
|
|
4488
|
-
t = m("div"), r = m("div"), n = m("div"), i = m("ui-image"), s =
|
|
4489
|
-
e[12][0]) ||
|
|
4490
|
-
e[12][1]) ||
|
|
4491
|
-
e[12][2]) ||
|
|
4492
|
-
e[12][3]) ||
|
|
4467
|
+
t = m("div"), r = m("div"), n = m("div"), i = m("ui-image"), s = O(), a = m("span"), u = U(l), c = O(), p = m("span"), f = m("span"), x = U(b), g = O(), V && V.c(), v = O(), S = m("div"), y = m("div"), T = m("ui-image"), G = O(), $ = m("span"), De = U(J), ve = O(), q = m("span"), be = m("span"), pe = U(fe), _e = O(), W && W.c(), Ee = O(), te = m("div"), ne = m("div"), ie = m("div"), M = m("ui-image"), Ge = O(), de = m("span"), se = U(K), Qe = O(), ee = m("span"), xe = m("span"), ke = U(Se), Ye = O(), X && X.c(), qe = O(), ae = m("div"), ue = m("div"), re = m("ui-image"), je = O(), we = m("span"), Fe = U(ge), Ke = O(), le = m("span"), h = m("span"), R = U(H), et = O(), z && z.c(), L(i, "class", "displayCardIcon"), Y(i.src, o = /*caticons*/
|
|
4468
|
+
e[12][0]) || L(i, "src", o), L(i, "alt", ""), _(a, "class", "cardLabel"), _(n, "class", "iconWrapper"), _(f, "class", "jackpotValue"), _(p, "class", "cardTextWrapper"), _(r, "class", "displayCard"), L(T, "class", "displayCardIcon"), Y(T.src, I = /*caticons*/
|
|
4469
|
+
e[12][1]) || L(T, "src", I), L(T, "alt", ""), _($, "class", "cardLabel"), _(y, "class", "iconWrapper"), _(be, "class", "jackpotValue"), _(q, "class", "cardTextWrapper"), _(S, "class", "displayCard"), _(t, "class", "pairWrapper"), L(M, "class", "displayCardIcon"), Y(M.src, oe = /*caticons*/
|
|
4470
|
+
e[12][2]) || L(M, "src", oe), L(M, "alt", ""), _(de, "class", "cardLabel"), _(ie, "class", "iconWrapper"), _(xe, "class", "jackpotValue"), _(ee, "class", "cardTextWrapper"), _(ne, "class", "displayCard"), L(re, "class", "displayCardIcon"), Y(re.src, Te = /*caticons*/
|
|
4471
|
+
e[12][3]) || L(re, "src", Te), L(re, "alt", ""), _(we, "class", "cardLabel"), _(ue, "class", "iconWrapper"), _(h, "class", "jackpotValue"), _(le, "class", "cardTextWrapper"), _(ae, "class", "displayCard"), _(te, "class", "pairWrapper");
|
|
4493
4472
|
},
|
|
4494
4473
|
m(E, N) {
|
|
4495
|
-
|
|
4474
|
+
F(E, t, N), d(t, r), d(r, n), d(n, i), d(n, s), d(n, a), d(a, u), d(r, c), d(r, p), d(p, f), d(f, x), d(p, g), V && V.m(p, null), d(t, v), d(t, S), d(S, y), d(y, T), d(y, G), d(y, $), d($, De), d(S, ve), d(S, q), d(q, be), d(be, pe), d(q, _e), W && W.m(q, null), F(E, Ee, N), F(E, te, N), d(te, ne), d(ne, ie), d(ie, M), d(ie, Ge), d(ie, de), d(de, se), d(ne, Qe), d(ne, ee), d(ee, xe), d(xe, ke), d(ee, Ye), X && X.m(ee, null), d(te, qe), d(te, ae), d(ae, ue), d(ue, re), d(ue, je), d(ue, we), d(we, Fe), d(ae, Ke), d(ae, le), d(le, h), d(h, R), d(le, et), z && z.m(le, null);
|
|
4496
4475
|
},
|
|
4497
4476
|
p(E, N) {
|
|
4498
4477
|
N[0] & /*caticons*/
|
|
4499
4478
|
4096 && !Y(i.src, o = /*caticons*/
|
|
4500
|
-
E[12][0]) &&
|
|
4479
|
+
E[12][0]) && L(i, "src", o), N[0] & /*formattedLabels*/
|
|
4501
4480
|
2048 && l !== (l = /*formattedLabels*/
|
|
4502
4481
|
E[11][0] + "") && j(u, l), N[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4503
4482
|
66564 && b !== (b = /*realtimeupdate*/
|
|
@@ -4508,11 +4487,11 @@ function qo(e) {
|
|
|
4508
4487
|
/*formattedJackpotValues*/
|
|
4509
4488
|
E[10][0]
|
|
4510
4489
|
)) + "") && j(x, b), /*currencylocale*/
|
|
4511
|
-
E[3] ? V && (V.d(1), V = null) : V ? V.p(E, N) : (V =
|
|
4512
|
-
4096 && !Y(T.src,
|
|
4513
|
-
E[12][1]) &&
|
|
4490
|
+
E[3] ? V && (V.d(1), V = null) : V ? V.p(E, N) : (V = xr(E), V.c(), V.m(p, null)), N[0] & /*caticons*/
|
|
4491
|
+
4096 && !Y(T.src, I = /*caticons*/
|
|
4492
|
+
E[12][1]) && L(T, "src", I), N[0] & /*formattedLabels*/
|
|
4514
4493
|
2048 && J !== (J = /*formattedLabels*/
|
|
4515
|
-
E[11][1] + "") && j(
|
|
4494
|
+
E[11][1] + "") && j(De, J), N[0] & /*realtimeupdate, reversedJackpotValues, formattedJackpotValues*/
|
|
4516
4495
|
66564 && fe !== (fe = /*realtimeupdate*/
|
|
4517
4496
|
(E[2] === "true" ? (
|
|
4518
4497
|
/*reversedJackpotValues*/
|
|
@@ -4521,11 +4500,11 @@ function qo(e) {
|
|
|
4521
4500
|
/*formattedJackpotValues*/
|
|
4522
4501
|
E[10][1]
|
|
4523
4502
|
)) + "") && j(pe, fe), /*currencylocale*/
|
|
4524
|
-
E[3] ? W && (W.d(1), W = null) : W ? W.p(E, N) : (W =
|
|
4525
|
-
4096 && !Y(M.src,
|
|
4526
|
-
E[12][2]) &&
|
|
4503
|
+
E[3] ? W && (W.d(1), W = null) : W ? W.p(E, N) : (W = Sr(E), W.c(), W.m(q, null)), N[0] & /*caticons*/
|
|
4504
|
+
4096 && !Y(M.src, oe = /*caticons*/
|
|
4505
|
+
E[12][2]) && L(M, "src", oe), N[0] & /*formattedLabels*/
|
|
4527
4506
|
2048 && K !== (K = /*formattedLabels*/
|
|
4528
|
-
E[11][2] + "") && j(
|
|
4507
|
+
E[11][2] + "") && j(se, K), N[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4529
4508
|
1092 && Se !== (Se = /*realtimeupdate*/
|
|
4530
4509
|
(E[2] === "true" ? (
|
|
4531
4510
|
/*updatedJackpotValues*/
|
|
@@ -4533,12 +4512,12 @@ function qo(e) {
|
|
|
4533
4512
|
) : (
|
|
4534
4513
|
/*formattedJackpotValues*/
|
|
4535
4514
|
E[10][2]
|
|
4536
|
-
)) + "") && j(
|
|
4537
|
-
E[3] ? X && (X.d(1), X = null) : X ? X.p(E, N) : (X =
|
|
4515
|
+
)) + "") && j(ke, Se), /*currencylocale*/
|
|
4516
|
+
E[3] ? X && (X.d(1), X = null) : X ? X.p(E, N) : (X = Tr(E), X.c(), X.m(ee, null)), N[0] & /*caticons*/
|
|
4538
4517
|
4096 && !Y(re.src, Te = /*caticons*/
|
|
4539
|
-
E[12][3]) &&
|
|
4518
|
+
E[12][3]) && L(re, "src", Te), N[0] & /*formattedLabels*/
|
|
4540
4519
|
2048 && ge !== (ge = /*formattedLabels*/
|
|
4541
|
-
E[11][3] + "") && j(
|
|
4520
|
+
E[11][3] + "") && j(Fe, ge), N[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4542
4521
|
1092 && H !== (H = /*realtimeupdate*/
|
|
4543
4522
|
(E[2] === "true" ? (
|
|
4544
4523
|
/*updatedJackpotValues*/
|
|
@@ -4547,36 +4526,36 @@ function qo(e) {
|
|
|
4547
4526
|
/*formattedJackpotValues*/
|
|
4548
4527
|
E[10][3]
|
|
4549
4528
|
)) + "") && j(R, H), /*currencylocale*/
|
|
4550
|
-
E[3] ? z && (z.d(1), z = null) : z ? z.p(E, N) : (z =
|
|
4529
|
+
E[3] ? z && (z.d(1), z = null) : z ? z.p(E, N) : (z = wr(E), z.c(), z.m(le, null));
|
|
4551
4530
|
},
|
|
4552
4531
|
d(E) {
|
|
4553
4532
|
E && (D(t), D(Ee), D(te)), V && V.d(), W && W.d(), X && X.d(), z && z.d();
|
|
4554
4533
|
}
|
|
4555
4534
|
};
|
|
4556
4535
|
}
|
|
4557
|
-
function
|
|
4558
|
-
let t, r =
|
|
4536
|
+
function Yo(e) {
|
|
4537
|
+
let t, r = qt(Array(4)), n = [];
|
|
4559
4538
|
for (let i = 0; i < r.length; i += 1)
|
|
4560
|
-
n[i] =
|
|
4539
|
+
n[i] = Ar(Er(e, r, i));
|
|
4561
4540
|
return {
|
|
4562
4541
|
c() {
|
|
4563
4542
|
for (let i = 0; i < n.length; i += 1)
|
|
4564
4543
|
n[i].c();
|
|
4565
|
-
t =
|
|
4544
|
+
t = En();
|
|
4566
4545
|
},
|
|
4567
4546
|
m(i, o) {
|
|
4568
4547
|
for (let s = 0; s < n.length; s += 1)
|
|
4569
4548
|
n[s] && n[s].m(i, o);
|
|
4570
|
-
|
|
4549
|
+
F(i, t, o);
|
|
4571
4550
|
},
|
|
4572
4551
|
p(i, o) {
|
|
4573
4552
|
if (o[0] & /*currency, currencylocale, realtimeupdate, reversedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4574
4553
|
72718) {
|
|
4575
|
-
r =
|
|
4554
|
+
r = qt(Array(4));
|
|
4576
4555
|
let s;
|
|
4577
4556
|
for (s = 0; s < r.length; s += 1) {
|
|
4578
|
-
const a =
|
|
4579
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4557
|
+
const a = Er(i, r, s);
|
|
4558
|
+
n[s] ? n[s].p(a, o) : (n[s] = Ar(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4580
4559
|
}
|
|
4581
4560
|
for (; s < n.length; s += 1)
|
|
4582
4561
|
n[s].d(1);
|
|
@@ -4584,11 +4563,11 @@ function Ko(e) {
|
|
|
4584
4563
|
}
|
|
4585
4564
|
},
|
|
4586
4565
|
d(i) {
|
|
4587
|
-
i && D(t),
|
|
4566
|
+
i && D(t), _n(n, i);
|
|
4588
4567
|
}
|
|
4589
4568
|
};
|
|
4590
4569
|
}
|
|
4591
|
-
function
|
|
4570
|
+
function xr(e) {
|
|
4592
4571
|
let t, r;
|
|
4593
4572
|
return {
|
|
4594
4573
|
c() {
|
|
@@ -4598,7 +4577,7 @@ function Tr(e) {
|
|
|
4598
4577
|
), _(t, "class", "jackpot-currency");
|
|
4599
4578
|
},
|
|
4600
4579
|
m(n, i) {
|
|
4601
|
-
|
|
4580
|
+
F(n, t, i), d(t, r);
|
|
4602
4581
|
},
|
|
4603
4582
|
p(n, i) {
|
|
4604
4583
|
i[0] & /*currency*/
|
|
@@ -4613,7 +4592,7 @@ function Tr(e) {
|
|
|
4613
4592
|
}
|
|
4614
4593
|
};
|
|
4615
4594
|
}
|
|
4616
|
-
function
|
|
4595
|
+
function Sr(e) {
|
|
4617
4596
|
let t, r;
|
|
4618
4597
|
return {
|
|
4619
4598
|
c() {
|
|
@@ -4623,7 +4602,7 @@ function wr(e) {
|
|
|
4623
4602
|
), _(t, "class", "jackpot-currency");
|
|
4624
4603
|
},
|
|
4625
4604
|
m(n, i) {
|
|
4626
|
-
|
|
4605
|
+
F(n, t, i), d(t, r);
|
|
4627
4606
|
},
|
|
4628
4607
|
p(n, i) {
|
|
4629
4608
|
i[0] & /*currency*/
|
|
@@ -4638,7 +4617,7 @@ function wr(e) {
|
|
|
4638
4617
|
}
|
|
4639
4618
|
};
|
|
4640
4619
|
}
|
|
4641
|
-
function
|
|
4620
|
+
function Tr(e) {
|
|
4642
4621
|
let t, r;
|
|
4643
4622
|
return {
|
|
4644
4623
|
c() {
|
|
@@ -4648,7 +4627,7 @@ function Hr(e) {
|
|
|
4648
4627
|
), _(t, "class", "jackpot-currency");
|
|
4649
4628
|
},
|
|
4650
4629
|
m(n, i) {
|
|
4651
|
-
|
|
4630
|
+
F(n, t, i), d(t, r);
|
|
4652
4631
|
},
|
|
4653
4632
|
p(n, i) {
|
|
4654
4633
|
i[0] & /*currency*/
|
|
@@ -4663,7 +4642,7 @@ function Hr(e) {
|
|
|
4663
4642
|
}
|
|
4664
4643
|
};
|
|
4665
4644
|
}
|
|
4666
|
-
function
|
|
4645
|
+
function wr(e) {
|
|
4667
4646
|
let t, r;
|
|
4668
4647
|
return {
|
|
4669
4648
|
c() {
|
|
@@ -4673,7 +4652,7 @@ function Ar(e) {
|
|
|
4673
4652
|
), _(t, "class", "jackpot-currency");
|
|
4674
4653
|
},
|
|
4675
4654
|
m(n, i) {
|
|
4676
|
-
|
|
4655
|
+
F(n, t, i), d(t, r);
|
|
4677
4656
|
},
|
|
4678
4657
|
p(n, i) {
|
|
4679
4658
|
i[0] & /*currency*/
|
|
@@ -4688,7 +4667,7 @@ function Ar(e) {
|
|
|
4688
4667
|
}
|
|
4689
4668
|
};
|
|
4690
4669
|
}
|
|
4691
|
-
function
|
|
4670
|
+
function Hr(e) {
|
|
4692
4671
|
let t, r;
|
|
4693
4672
|
return {
|
|
4694
4673
|
c() {
|
|
@@ -4698,7 +4677,7 @@ function Br(e) {
|
|
|
4698
4677
|
), _(t, "class", "jackpot-currency");
|
|
4699
4678
|
},
|
|
4700
4679
|
m(n, i) {
|
|
4701
|
-
|
|
4680
|
+
F(n, t, i), d(t, r);
|
|
4702
4681
|
},
|
|
4703
4682
|
p(n, i) {
|
|
4704
4683
|
i[0] & /*currency*/
|
|
@@ -4713,7 +4692,7 @@ function Br(e) {
|
|
|
4713
4692
|
}
|
|
4714
4693
|
};
|
|
4715
4694
|
}
|
|
4716
|
-
function
|
|
4695
|
+
function Ar(e) {
|
|
4717
4696
|
var S;
|
|
4718
4697
|
let t, r, n, i, o, s, a = (
|
|
4719
4698
|
/*formattedLabels*/
|
|
@@ -4737,26 +4716,26 @@ function Pr(e) {
|
|
|
4737
4716
|
]) != null ? S : ""
|
|
4738
4717
|
)) + ""
|
|
4739
4718
|
), b, x, g, v = !/*currencylocale*/
|
|
4740
|
-
e[3] &&
|
|
4719
|
+
e[3] && Hr(e);
|
|
4741
4720
|
return {
|
|
4742
4721
|
c() {
|
|
4743
|
-
t = m("div"), r = m("div"), n = m("ui-image"), o =
|
|
4722
|
+
t = m("div"), r = m("div"), n = m("ui-image"), o = O(), s = m("span"), l = U(a), u = O(), c = m("span"), p = m("span"), b = U(f), x = O(), v && v.c(), g = O(), L(n, "class", "displayCardIcon"), Y(n.src, i = /*caticons*/
|
|
4744
4723
|
e[12][
|
|
4745
4724
|
/*i*/
|
|
4746
4725
|
e[58]
|
|
4747
|
-
]) ||
|
|
4726
|
+
]) || L(n, "src", i), L(n, "alt", ""), _(s, "class", "cardLabel"), _(r, "class", "iconWrapper"), _(p, "class", "jackpotValue"), _(c, "class", "cardTextWrapper"), _(t, "class", "displayCard");
|
|
4748
4727
|
},
|
|
4749
4728
|
m(y, T) {
|
|
4750
|
-
|
|
4729
|
+
F(y, t, T), d(t, r), d(r, n), d(r, o), d(r, s), d(s, l), d(t, u), d(t, c), d(c, p), d(p, b), d(c, x), v && v.m(c, null), d(t, g);
|
|
4751
4730
|
},
|
|
4752
4731
|
p(y, T) {
|
|
4753
|
-
var
|
|
4732
|
+
var I;
|
|
4754
4733
|
T[0] & /*caticons*/
|
|
4755
4734
|
4096 && !Y(n.src, i = /*caticons*/
|
|
4756
4735
|
y[12][
|
|
4757
4736
|
/*i*/
|
|
4758
4737
|
y[58]
|
|
4759
|
-
]) &&
|
|
4738
|
+
]) && L(n, "src", i), T[0] & /*formattedLabels*/
|
|
4760
4739
|
2048 && a !== (a = /*formattedLabels*/
|
|
4761
4740
|
y[11][
|
|
4762
4741
|
/*i*/
|
|
@@ -4771,26 +4750,26 @@ function Pr(e) {
|
|
|
4771
4750
|
]
|
|
4772
4751
|
) : (
|
|
4773
4752
|
/*formattedJackpotValues*/
|
|
4774
|
-
(
|
|
4753
|
+
(I = y[10][
|
|
4775
4754
|
/*i*/
|
|
4776
4755
|
y[58]
|
|
4777
|
-
]) != null ?
|
|
4756
|
+
]) != null ? I : ""
|
|
4778
4757
|
)) + "") && j(b, f), /*currencylocale*/
|
|
4779
|
-
y[3] ? v && (v.d(1), v = null) : v ? v.p(y, T) : (v =
|
|
4758
|
+
y[3] ? v && (v.d(1), v = null) : v ? v.p(y, T) : (v = Hr(y), v.c(), v.m(c, null));
|
|
4780
4759
|
},
|
|
4781
4760
|
d(y) {
|
|
4782
4761
|
y && D(t), v && v.d();
|
|
4783
4762
|
}
|
|
4784
4763
|
};
|
|
4785
4764
|
}
|
|
4786
|
-
function
|
|
4765
|
+
function qo(e) {
|
|
4787
4766
|
let t;
|
|
4788
4767
|
function r(o, s) {
|
|
4789
4768
|
return (
|
|
4790
4769
|
/*hasErrors*/
|
|
4791
|
-
o[15] ?
|
|
4770
|
+
o[15] ? Zo : (
|
|
4792
4771
|
/*isLoading*/
|
|
4793
|
-
o[5] ?
|
|
4772
|
+
o[5] ? Jo : zo
|
|
4794
4773
|
)
|
|
4795
4774
|
);
|
|
4796
4775
|
}
|
|
@@ -4800,7 +4779,7 @@ function es(e) {
|
|
|
4800
4779
|
t = m("div"), i.c();
|
|
4801
4780
|
},
|
|
4802
4781
|
m(o, s) {
|
|
4803
|
-
|
|
4782
|
+
F(o, t, s), i.m(t, null), e[36](t);
|
|
4804
4783
|
},
|
|
4805
4784
|
p(o, s) {
|
|
4806
4785
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4812,19 +4791,19 @@ function es(e) {
|
|
|
4812
4791
|
}
|
|
4813
4792
|
};
|
|
4814
4793
|
}
|
|
4815
|
-
function
|
|
4816
|
-
let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels: c = "" } = t, { backgroundsrc: p = "" } = t, { currency: f = "" } = t, { backgroundsrcmobile: b = "" } = t, { titlelogopath: x = "" } = t, { lang: g = "en" } = t, { clientstyling: v = "" } = t, { clientstylingurl: S = "" } = t, { translationurl: y = "" } = t, { endpoint: T = "" } = t, { gameid:
|
|
4794
|
+
function Ko(e, t, r) {
|
|
4795
|
+
let n, { visualstructure: i = "" } = t, { title: o = "" } = t, { caticon0: s = "" } = t, { caticon1: a = "" } = t, { caticon2: l = "" } = t, { caticon3: u = "" } = t, { iconlabels: c = "" } = t, { backgroundsrc: p = "" } = t, { currency: f = "" } = t, { backgroundsrcmobile: b = "" } = t, { titlelogopath: x = "" } = t, { lang: g = "en" } = t, { clientstyling: v = "" } = t, { clientstylingurl: S = "" } = t, { translationurl: y = "" } = t, { endpoint: T = "" } = t, { gameid: I = "" } = t, { mbsource: G } = t, { realtimeupdate: $ = "false" } = t, { currencylocale: J = "" } = t, De = window.navigator.userAgent, ve = !1, q = !1, be = "", fe = [], pe = [], _e = [], Ee = [], te = [], ne = "", ie = "", M, oe = !0, Ge = !1, de, K = null, se = [];
|
|
4817
4796
|
const Qe = () => {
|
|
4818
4797
|
fetch(y).then((H) => H.json()).then((H) => {
|
|
4819
4798
|
Object.keys(H).forEach((R) => {
|
|
4820
|
-
|
|
4799
|
+
vr(R, H[R]);
|
|
4821
4800
|
});
|
|
4822
4801
|
}).catch((H) => {
|
|
4823
4802
|
console.log(H);
|
|
4824
4803
|
});
|
|
4825
4804
|
};
|
|
4826
|
-
Object.keys(
|
|
4827
|
-
|
|
4805
|
+
Object.keys(_r).forEach((h) => {
|
|
4806
|
+
vr(h, _r[h]);
|
|
4828
4807
|
});
|
|
4829
4808
|
const ee = ["typeSpread", "typeLeft"], xe = (h) => {
|
|
4830
4809
|
var R;
|
|
@@ -4833,13 +4812,13 @@ function ts(e, t, r) {
|
|
|
4833
4812
|
}, Se = (h) => {
|
|
4834
4813
|
var H;
|
|
4835
4814
|
r(9, be = ((H = h == null ? void 0 : h.items[0]) == null ? void 0 : H.vendorLogo) || "");
|
|
4836
|
-
},
|
|
4815
|
+
}, ke = () => {
|
|
4837
4816
|
if (T && g && f) {
|
|
4838
4817
|
let h = new URL(`${T}/v1/casino/jackpots`);
|
|
4839
|
-
h.searchParams.append("filter", `id=${
|
|
4840
|
-
r(5,
|
|
4818
|
+
h.searchParams.append("filter", `id=${I}`), h.searchParams.append("language", g), h.searchParams.append("additionalDataCurrency", f), fetch(h.href).then((H) => H.json().then((R) => {
|
|
4819
|
+
r(5, oe = !1), de = R, pe.includes(I) && (xe(de), Se(de));
|
|
4841
4820
|
}).catch((R) => {
|
|
4842
|
-
r(15,
|
|
4821
|
+
r(15, Ge = !0), r(5, oe = !1), console.error(R);
|
|
4843
4822
|
}).finally(() => {
|
|
4844
4823
|
Ye();
|
|
4845
4824
|
}));
|
|
@@ -4852,81 +4831,81 @@ function ts(e, t, r) {
|
|
|
4852
4831
|
fetch(h.href).then((H) => H.json()).then((H) => {
|
|
4853
4832
|
r(34, pe = H.egtJackpotIds.map((R) => R));
|
|
4854
4833
|
});
|
|
4855
|
-
},
|
|
4856
|
-
r(7, ve =
|
|
4857
|
-
},
|
|
4834
|
+
}, ae = () => {
|
|
4835
|
+
r(7, ve = jo(De) && window.innerHeight / window.innerWidth > 1), r(8, q = Te()), fe.length !== 0 && (r(10, _e = re(fe)), _e.reverse()), r(11, Ee = c ? c.split(",").map((h) => h.trim().toUpperCase()) : new Array(4).fill("")), ee.includes(i.trim()) ? r(0, i = i.trim()) : (console.warn(`Invalid Attribute Value: "${i}" is not a valid value for the "visualstructure" attribute. Defaulting to "${ee[0]}"`), r(0, i = ee[0])), r(13, ne = b && ve && !q ? b : p), r(14, ie = x), r(12, te = [s, a, l, u]);
|
|
4836
|
+
}, ue = (h) => Intl.NumberFormat(J, {
|
|
4858
4837
|
minimumFractionDigits: 2,
|
|
4859
4838
|
maximumFractionDigits: 2,
|
|
4860
4839
|
style: "currency",
|
|
4861
4840
|
currency: f
|
|
4862
|
-
}).format(h).replace(/\s/g, ""), re = (h) => J ? h.map((H) =>
|
|
4841
|
+
}).format(h).replace(/\s/g, ""), re = (h) => J ? h.map((H) => ue(H)) : h.map((H) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(H)), Te = () => {
|
|
4863
4842
|
const h = window.innerHeight / window.innerWidth;
|
|
4864
4843
|
return 0.75 < h && h < 1.6;
|
|
4865
|
-
},
|
|
4866
|
-
window.postMessage({ type: "JackpotBannerClicked", gameid:
|
|
4844
|
+
}, je = () => {
|
|
4845
|
+
window.postMessage({ type: "JackpotBannerClicked", gameid: I }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
4867
4846
|
context: "JackpotBanner",
|
|
4868
|
-
gameId: `${
|
|
4847
|
+
gameId: `${I}`
|
|
4869
4848
|
});
|
|
4870
4849
|
}, we = () => {
|
|
4871
|
-
|
|
4850
|
+
Wo(g);
|
|
4872
4851
|
}, ge = (h) => {
|
|
4873
4852
|
const H = JSON.parse(h.data);
|
|
4874
|
-
if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] ===
|
|
4853
|
+
if (H.success && H.data.messageType === "UpdateEgtJackpotBalance" && H.data.jackpotAlias.split("_")[0] === I) {
|
|
4875
4854
|
const R = Number(H.data.jackpotAlias.split("_")[1]) - 1;
|
|
4876
4855
|
r(
|
|
4877
4856
|
6,
|
|
4878
|
-
|
|
4879
|
-
|
|
4857
|
+
se[R] = J ? ue(H.data.data[`${f}`].balance) : H.data.data[`${f}`].balance.toString(),
|
|
4858
|
+
se
|
|
4880
4859
|
);
|
|
4881
4860
|
}
|
|
4882
|
-
},
|
|
4883
|
-
|
|
4861
|
+
}, Fe = () => {
|
|
4862
|
+
$ === "true" && (ae(), r(6, se = ["", "", "", ""]), K = new EventSource(`${T}/v1/encoder/jackpot/*/update`), K.addEventListener("message", ge));
|
|
4884
4863
|
};
|
|
4885
|
-
|
|
4886
|
-
}),
|
|
4864
|
+
wn(() => () => {
|
|
4865
|
+
}), Hn(() => {
|
|
4887
4866
|
K && (K.removeEventListener("message", ge), K.close(), K = null);
|
|
4888
4867
|
});
|
|
4889
|
-
const Ke = () =>
|
|
4890
|
-
function
|
|
4891
|
-
|
|
4868
|
+
const Ke = () => je();
|
|
4869
|
+
function le(h) {
|
|
4870
|
+
wt[h ? "unshift" : "push"](() => {
|
|
4892
4871
|
M = h, r(4, M);
|
|
4893
4872
|
});
|
|
4894
4873
|
}
|
|
4895
4874
|
return e.$$set = (h) => {
|
|
4896
|
-
"visualstructure" in h && r(0, i = h.visualstructure), "title" in h && r(18, o = h.title), "caticon0" in h && r(19, s = h.caticon0), "caticon1" in h && r(20, a = h.caticon1), "caticon2" in h && r(21, l = h.caticon2), "caticon3" in h && r(22, u = h.caticon3), "iconlabels" in h && r(23, c = h.iconlabels), "backgroundsrc" in h && r(24, p = h.backgroundsrc), "currency" in h && r(1, f = h.currency), "backgroundsrcmobile" in h && r(25, b = h.backgroundsrcmobile), "titlelogopath" in h && r(26, x = h.titlelogopath), "lang" in h && r(27, g = h.lang), "clientstyling" in h && r(28, v = h.clientstyling), "clientstylingurl" in h && r(29, S = h.clientstylingurl), "translationurl" in h && r(30, y = h.translationurl), "endpoint" in h && r(31, T = h.endpoint), "gameid" in h && r(32,
|
|
4875
|
+
"visualstructure" in h && r(0, i = h.visualstructure), "title" in h && r(18, o = h.title), "caticon0" in h && r(19, s = h.caticon0), "caticon1" in h && r(20, a = h.caticon1), "caticon2" in h && r(21, l = h.caticon2), "caticon3" in h && r(22, u = h.caticon3), "iconlabels" in h && r(23, c = h.iconlabels), "backgroundsrc" in h && r(24, p = h.backgroundsrc), "currency" in h && r(1, f = h.currency), "backgroundsrcmobile" in h && r(25, b = h.backgroundsrcmobile), "titlelogopath" in h && r(26, x = h.titlelogopath), "lang" in h && r(27, g = h.lang), "clientstyling" in h && r(28, v = h.clientstyling), "clientstylingurl" in h && r(29, S = h.clientstylingurl), "translationurl" in h && r(30, y = h.translationurl), "endpoint" in h && r(31, T = h.endpoint), "gameid" in h && r(32, I = h.gameid), "mbsource" in h && r(33, G = h.mbsource), "realtimeupdate" in h && r(2, $ = h.realtimeupdate), "currencylocale" in h && r(3, J = h.currencylocale);
|
|
4897
4876
|
}, e.$$.update = () => {
|
|
4898
4877
|
e.$$.dirty[1] & /*endpoint*/
|
|
4899
4878
|
1 && T && qe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4900
|
-
268435472 && v && M &&
|
|
4901
|
-
536870928 && S && M &&
|
|
4879
|
+
268435472 && v && M && Fo(M, v), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4880
|
+
536870928 && S && M && $o(M, S), e.$$.dirty[0] & /*customStylingContainer*/
|
|
4902
4881
|
16 | e.$$.dirty[1] & /*mbsource*/
|
|
4903
|
-
4 && G && M &&
|
|
4882
|
+
4 && G && M && Vo(M, `${G}.Style`), e.$$.dirty[0] & /*lang, currency*/
|
|
4904
4883
|
134217730 | e.$$.dirty[1] & /*endpoint, validGameIds*/
|
|
4905
|
-
9 && T && g && f && pe.length > 0 &&
|
|
4906
|
-
134217762 && f && g && !
|
|
4884
|
+
9 && T && g && f && pe.length > 0 && ke(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4885
|
+
134217762 && f && g && !oe && ae(), e.$$.dirty[0] & /*lang*/
|
|
4907
4886
|
134217728 && g && we(), e.$$.dirty[0] & /*translationurl*/
|
|
4908
4887
|
1073741824 && y && Qe(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4909
|
-
4 &&
|
|
4910
|
-
64 && r(16, n = [...
|
|
4888
|
+
4 && $ && Fe(), e.$$.dirty[0] & /*updatedJackpotValues*/
|
|
4889
|
+
64 && r(16, n = [...se].reverse());
|
|
4911
4890
|
}, [
|
|
4912
4891
|
i,
|
|
4913
4892
|
f,
|
|
4914
|
-
|
|
4893
|
+
$,
|
|
4915
4894
|
J,
|
|
4916
4895
|
M,
|
|
4896
|
+
oe,
|
|
4917
4897
|
se,
|
|
4918
|
-
ae,
|
|
4919
4898
|
ve,
|
|
4920
4899
|
q,
|
|
4921
4900
|
be,
|
|
4922
4901
|
_e,
|
|
4923
4902
|
Ee,
|
|
4924
4903
|
te,
|
|
4904
|
+
ne,
|
|
4925
4905
|
ie,
|
|
4926
|
-
|
|
4927
|
-
De,
|
|
4906
|
+
Ge,
|
|
4928
4907
|
n,
|
|
4929
|
-
|
|
4908
|
+
je,
|
|
4930
4909
|
o,
|
|
4931
4910
|
s,
|
|
4932
4911
|
a,
|
|
@@ -4941,21 +4920,21 @@ function ts(e, t, r) {
|
|
|
4941
4920
|
S,
|
|
4942
4921
|
y,
|
|
4943
4922
|
T,
|
|
4944
|
-
|
|
4923
|
+
I,
|
|
4945
4924
|
G,
|
|
4946
4925
|
pe,
|
|
4947
4926
|
Ke,
|
|
4948
|
-
|
|
4927
|
+
le
|
|
4949
4928
|
];
|
|
4950
4929
|
}
|
|
4951
|
-
class
|
|
4930
|
+
class es extends Dn {
|
|
4952
4931
|
constructor(t) {
|
|
4953
|
-
super(),
|
|
4932
|
+
super(), Rn(
|
|
4954
4933
|
this,
|
|
4955
4934
|
t,
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4935
|
+
Ko,
|
|
4936
|
+
qo,
|
|
4937
|
+
Pr,
|
|
4959
4938
|
{
|
|
4960
4939
|
visualstructure: 0,
|
|
4961
4940
|
title: 18,
|
|
@@ -4978,7 +4957,7 @@ class rs extends Gn {
|
|
|
4978
4957
|
realtimeupdate: 2,
|
|
4979
4958
|
currencylocale: 3
|
|
4980
4959
|
},
|
|
4981
|
-
|
|
4960
|
+
Xo,
|
|
4982
4961
|
[-1, -1]
|
|
4983
4962
|
);
|
|
4984
4963
|
}
|
|
@@ -4986,124 +4965,124 @@ class rs extends Gn {
|
|
|
4986
4965
|
return this.$$.ctx[0];
|
|
4987
4966
|
}
|
|
4988
4967
|
set visualstructure(t) {
|
|
4989
|
-
this.$$set({ visualstructure: t }),
|
|
4968
|
+
this.$$set({ visualstructure: t }), C();
|
|
4990
4969
|
}
|
|
4991
4970
|
get title() {
|
|
4992
4971
|
return this.$$.ctx[18];
|
|
4993
4972
|
}
|
|
4994
4973
|
set title(t) {
|
|
4995
|
-
this.$$set({ title: t }),
|
|
4974
|
+
this.$$set({ title: t }), C();
|
|
4996
4975
|
}
|
|
4997
4976
|
get caticon0() {
|
|
4998
4977
|
return this.$$.ctx[19];
|
|
4999
4978
|
}
|
|
5000
4979
|
set caticon0(t) {
|
|
5001
|
-
this.$$set({ caticon0: t }),
|
|
4980
|
+
this.$$set({ caticon0: t }), C();
|
|
5002
4981
|
}
|
|
5003
4982
|
get caticon1() {
|
|
5004
4983
|
return this.$$.ctx[20];
|
|
5005
4984
|
}
|
|
5006
4985
|
set caticon1(t) {
|
|
5007
|
-
this.$$set({ caticon1: t }),
|
|
4986
|
+
this.$$set({ caticon1: t }), C();
|
|
5008
4987
|
}
|
|
5009
4988
|
get caticon2() {
|
|
5010
4989
|
return this.$$.ctx[21];
|
|
5011
4990
|
}
|
|
5012
4991
|
set caticon2(t) {
|
|
5013
|
-
this.$$set({ caticon2: t }),
|
|
4992
|
+
this.$$set({ caticon2: t }), C();
|
|
5014
4993
|
}
|
|
5015
4994
|
get caticon3() {
|
|
5016
4995
|
return this.$$.ctx[22];
|
|
5017
4996
|
}
|
|
5018
4997
|
set caticon3(t) {
|
|
5019
|
-
this.$$set({ caticon3: t }),
|
|
4998
|
+
this.$$set({ caticon3: t }), C();
|
|
5020
4999
|
}
|
|
5021
5000
|
get iconlabels() {
|
|
5022
5001
|
return this.$$.ctx[23];
|
|
5023
5002
|
}
|
|
5024
5003
|
set iconlabels(t) {
|
|
5025
|
-
this.$$set({ iconlabels: t }),
|
|
5004
|
+
this.$$set({ iconlabels: t }), C();
|
|
5026
5005
|
}
|
|
5027
5006
|
get backgroundsrc() {
|
|
5028
5007
|
return this.$$.ctx[24];
|
|
5029
5008
|
}
|
|
5030
5009
|
set backgroundsrc(t) {
|
|
5031
|
-
this.$$set({ backgroundsrc: t }),
|
|
5010
|
+
this.$$set({ backgroundsrc: t }), C();
|
|
5032
5011
|
}
|
|
5033
5012
|
get currency() {
|
|
5034
5013
|
return this.$$.ctx[1];
|
|
5035
5014
|
}
|
|
5036
5015
|
set currency(t) {
|
|
5037
|
-
this.$$set({ currency: t }),
|
|
5016
|
+
this.$$set({ currency: t }), C();
|
|
5038
5017
|
}
|
|
5039
5018
|
get backgroundsrcmobile() {
|
|
5040
5019
|
return this.$$.ctx[25];
|
|
5041
5020
|
}
|
|
5042
5021
|
set backgroundsrcmobile(t) {
|
|
5043
|
-
this.$$set({ backgroundsrcmobile: t }),
|
|
5022
|
+
this.$$set({ backgroundsrcmobile: t }), C();
|
|
5044
5023
|
}
|
|
5045
5024
|
get titlelogopath() {
|
|
5046
5025
|
return this.$$.ctx[26];
|
|
5047
5026
|
}
|
|
5048
5027
|
set titlelogopath(t) {
|
|
5049
|
-
this.$$set({ titlelogopath: t }),
|
|
5028
|
+
this.$$set({ titlelogopath: t }), C();
|
|
5050
5029
|
}
|
|
5051
5030
|
get lang() {
|
|
5052
5031
|
return this.$$.ctx[27];
|
|
5053
5032
|
}
|
|
5054
5033
|
set lang(t) {
|
|
5055
|
-
this.$$set({ lang: t }),
|
|
5034
|
+
this.$$set({ lang: t }), C();
|
|
5056
5035
|
}
|
|
5057
5036
|
get clientstyling() {
|
|
5058
5037
|
return this.$$.ctx[28];
|
|
5059
5038
|
}
|
|
5060
5039
|
set clientstyling(t) {
|
|
5061
|
-
this.$$set({ clientstyling: t }),
|
|
5040
|
+
this.$$set({ clientstyling: t }), C();
|
|
5062
5041
|
}
|
|
5063
5042
|
get clientstylingurl() {
|
|
5064
5043
|
return this.$$.ctx[29];
|
|
5065
5044
|
}
|
|
5066
5045
|
set clientstylingurl(t) {
|
|
5067
|
-
this.$$set({ clientstylingurl: t }),
|
|
5046
|
+
this.$$set({ clientstylingurl: t }), C();
|
|
5068
5047
|
}
|
|
5069
5048
|
get translationurl() {
|
|
5070
5049
|
return this.$$.ctx[30];
|
|
5071
5050
|
}
|
|
5072
5051
|
set translationurl(t) {
|
|
5073
|
-
this.$$set({ translationurl: t }),
|
|
5052
|
+
this.$$set({ translationurl: t }), C();
|
|
5074
5053
|
}
|
|
5075
5054
|
get endpoint() {
|
|
5076
5055
|
return this.$$.ctx[31];
|
|
5077
5056
|
}
|
|
5078
5057
|
set endpoint(t) {
|
|
5079
|
-
this.$$set({ endpoint: t }),
|
|
5058
|
+
this.$$set({ endpoint: t }), C();
|
|
5080
5059
|
}
|
|
5081
5060
|
get gameid() {
|
|
5082
5061
|
return this.$$.ctx[32];
|
|
5083
5062
|
}
|
|
5084
5063
|
set gameid(t) {
|
|
5085
|
-
this.$$set({ gameid: t }),
|
|
5064
|
+
this.$$set({ gameid: t }), C();
|
|
5086
5065
|
}
|
|
5087
5066
|
get mbsource() {
|
|
5088
5067
|
return this.$$.ctx[33];
|
|
5089
5068
|
}
|
|
5090
5069
|
set mbsource(t) {
|
|
5091
|
-
this.$$set({ mbsource: t }),
|
|
5070
|
+
this.$$set({ mbsource: t }), C();
|
|
5092
5071
|
}
|
|
5093
5072
|
get realtimeupdate() {
|
|
5094
5073
|
return this.$$.ctx[2];
|
|
5095
5074
|
}
|
|
5096
5075
|
set realtimeupdate(t) {
|
|
5097
|
-
this.$$set({ realtimeupdate: t }),
|
|
5076
|
+
this.$$set({ realtimeupdate: t }), C();
|
|
5098
5077
|
}
|
|
5099
5078
|
get currencylocale() {
|
|
5100
5079
|
return this.$$.ctx[3];
|
|
5101
5080
|
}
|
|
5102
5081
|
set currencylocale(t) {
|
|
5103
|
-
this.$$set({ currencylocale: t }),
|
|
5082
|
+
this.$$set({ currencylocale: t }), C();
|
|
5104
5083
|
}
|
|
5105
5084
|
}
|
|
5106
|
-
|
|
5085
|
+
Un(es, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {}, currencylocale: {} }, [], [], !0);
|
|
5107
5086
|
export {
|
|
5108
|
-
|
|
5087
|
+
es as default
|
|
5109
5088
|
};
|