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