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