@everymatrix/casino-jackpot-banner 1.54.12 → 1.55.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoJackpotBanner-C0nxN4sv.js → CasinoJackpotBanner-B53UX5U3.js} +1297 -1184
- package/components/CasinoJackpotBanner-Bf-iJFxW.cjs +5 -0
- package/components/{CasinoJackpotBanner-aWKPIMtc.js → CasinoJackpotBanner-DaLKAPoG.js} +1138 -1025
- 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-DLOYVntD.cjs +0 -5
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Kr = Object.defineProperty, en = Object.defineProperties;
|
|
2
|
+
var tn = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var kt = Object.getOwnPropertySymbols;
|
|
4
|
+
var rn = Object.prototype.hasOwnProperty, nn = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var ht = (e, t, r) => t in e ? Kr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $t = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
rn.call(t, r) && ht(e, r, t[r]);
|
|
8
|
+
if (kt)
|
|
9
|
+
for (var r of kt(t))
|
|
10
|
+
nn.call(t, r) && ht(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
12
|
+
}, Ft = (e, t) => en(e, tn(t));
|
|
13
|
+
var G = (e, t, r) => ht(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
+
var Vt = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
18
18
|
} catch (u) {
|
|
19
19
|
i(u);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, s = (l) => {
|
|
22
22
|
try {
|
|
23
23
|
a(r.throw(l));
|
|
24
24
|
} catch (u) {
|
|
25
25
|
i(u);
|
|
26
26
|
}
|
|
27
|
-
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(
|
|
27
|
+
}, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function D() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function yr(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Wt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function $e(e) {
|
|
39
|
+
e.forEach(yr);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Mt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function vr(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
47
|
+
let ze;
|
|
48
|
+
function j(e, t) {
|
|
49
|
+
return e === t ? !0 : (ze || (ze = document.createElement("a")), ze.href = t, e === ze.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function on(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function sn(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
58
|
-
return
|
|
58
|
+
return D;
|
|
59
59
|
}
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
@@ -63,14 +63,14 @@ function en(e, ...t) {
|
|
|
63
63
|
function m(e, t) {
|
|
64
64
|
e.appendChild(t);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
const n =
|
|
66
|
+
function an(e, t, r) {
|
|
67
|
+
const n = un(e);
|
|
68
68
|
if (!n.getElementById(t)) {
|
|
69
69
|
const i = b("style");
|
|
70
|
-
i.id = t, i.textContent = r,
|
|
70
|
+
i.id = t, i.textContent = r, ln(n, i);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function un(e) {
|
|
74
74
|
if (!e) return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
76
76
|
return t && /** @type {ShadowRoot} */
|
|
@@ -79,20 +79,20 @@ function rn(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function ln(e, t) {
|
|
83
83
|
return m(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function K(e, t, r) {
|
|
90
90
|
e.insertBefore(t, r || null);
|
|
91
91
|
}
|
|
92
92
|
function W(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function hn(e, t) {
|
|
96
96
|
for (let r = 0; r < e.length; r += 1)
|
|
97
97
|
e[r] && e[r].d(t);
|
|
98
98
|
}
|
|
@@ -102,29 +102,29 @@ function b(e) {
|
|
|
102
102
|
function N(e) {
|
|
103
103
|
return document.createTextNode(e);
|
|
104
104
|
}
|
|
105
|
-
function
|
|
105
|
+
function q() {
|
|
106
106
|
return N(" ");
|
|
107
107
|
}
|
|
108
|
-
function
|
|
108
|
+
function cn() {
|
|
109
109
|
return N("");
|
|
110
110
|
}
|
|
111
|
-
function
|
|
111
|
+
function fn(e, t, r, n) {
|
|
112
112
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
113
113
|
}
|
|
114
114
|
function d(e, t, r) {
|
|
115
115
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function pn(e) {
|
|
118
118
|
return Array.from(e.childNodes);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function M(e, t) {
|
|
121
121
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
122
122
|
t);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function Je(e, t, r, n) {
|
|
125
125
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
126
126
|
}
|
|
127
|
-
function
|
|
127
|
+
function dn(e) {
|
|
128
128
|
const t = {};
|
|
129
129
|
return e.childNodes.forEach(
|
|
130
130
|
/** @param {Element} node */
|
|
@@ -133,89 +133,99 @@ function ln(e) {
|
|
|
133
133
|
}
|
|
134
134
|
), t;
|
|
135
135
|
}
|
|
136
|
-
let
|
|
137
|
-
function
|
|
138
|
-
|
|
136
|
+
let Ge;
|
|
137
|
+
function De(e) {
|
|
138
|
+
Ge = e;
|
|
139
139
|
}
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
function
|
|
145
|
-
|
|
140
|
+
function _r() {
|
|
141
|
+
if (!Ge) throw new Error("Function called outside component initialization");
|
|
142
|
+
return Ge;
|
|
143
|
+
}
|
|
144
|
+
function mn(e) {
|
|
145
|
+
_r().$$.on_mount.push(e);
|
|
146
|
+
}
|
|
147
|
+
function bn(e) {
|
|
148
|
+
_r().$$.on_destroy.push(e);
|
|
146
149
|
}
|
|
147
|
-
|
|
148
|
-
|
|
150
|
+
const Se = [], vt = [];
|
|
151
|
+
let Te = [];
|
|
152
|
+
const Xt = [], gn = /* @__PURE__ */ Promise.resolve();
|
|
153
|
+
let _t = !1;
|
|
154
|
+
function yn() {
|
|
155
|
+
_t || (_t = !0, gn.then(C));
|
|
149
156
|
}
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
157
|
+
function Et(e) {
|
|
158
|
+
Te.push(e);
|
|
159
|
+
}
|
|
160
|
+
const ct = /* @__PURE__ */ new Set();
|
|
161
|
+
let Ee = 0;
|
|
162
|
+
function C() {
|
|
163
|
+
if (Ee !== 0)
|
|
154
164
|
return;
|
|
155
|
-
const e =
|
|
165
|
+
const e = Ge;
|
|
156
166
|
do {
|
|
157
167
|
try {
|
|
158
|
-
for (;
|
|
159
|
-
const t =
|
|
160
|
-
|
|
168
|
+
for (; Ee < Se.length; ) {
|
|
169
|
+
const t = Se[Ee];
|
|
170
|
+
Ee++, De(t), vn(t.$$);
|
|
161
171
|
}
|
|
162
172
|
} catch (t) {
|
|
163
|
-
throw
|
|
173
|
+
throw Se.length = 0, Ee = 0, t;
|
|
164
174
|
}
|
|
165
|
-
for (
|
|
166
|
-
for (let t = 0; t <
|
|
167
|
-
const r =
|
|
168
|
-
|
|
175
|
+
for (De(null), Se.length = 0, Ee = 0; vt.length; ) vt.pop()();
|
|
176
|
+
for (let t = 0; t < Te.length; t += 1) {
|
|
177
|
+
const r = Te[t];
|
|
178
|
+
ct.has(r) || (ct.add(r), r());
|
|
169
179
|
}
|
|
170
|
-
|
|
171
|
-
} while (
|
|
172
|
-
for (;
|
|
173
|
-
|
|
174
|
-
|
|
180
|
+
Te.length = 0;
|
|
181
|
+
} while (Se.length);
|
|
182
|
+
for (; Xt.length; )
|
|
183
|
+
Xt.pop()();
|
|
184
|
+
_t = !1, ct.clear(), De(e);
|
|
175
185
|
}
|
|
176
|
-
function
|
|
186
|
+
function vn(e) {
|
|
177
187
|
if (e.fragment !== null) {
|
|
178
|
-
e.update(),
|
|
188
|
+
e.update(), $e(e.before_update);
|
|
179
189
|
const t = e.dirty;
|
|
180
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
190
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Et);
|
|
181
191
|
}
|
|
182
192
|
}
|
|
183
|
-
function
|
|
193
|
+
function _n(e) {
|
|
184
194
|
const t = [], r = [];
|
|
185
|
-
|
|
195
|
+
Te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Te = t;
|
|
186
196
|
}
|
|
187
|
-
const
|
|
188
|
-
function
|
|
189
|
-
e && e.i && (
|
|
197
|
+
const En = /* @__PURE__ */ new Set();
|
|
198
|
+
function xn(e, t) {
|
|
199
|
+
e && e.i && (En.delete(e), e.i(t));
|
|
190
200
|
}
|
|
191
|
-
function
|
|
201
|
+
function zt(e) {
|
|
192
202
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
193
203
|
}
|
|
194
|
-
function
|
|
204
|
+
function Sn(e, t, r) {
|
|
195
205
|
const { fragment: n, after_update: i } = e.$$;
|
|
196
|
-
n && n.m(t, r),
|
|
197
|
-
const
|
|
198
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
199
|
-
}), i.forEach(
|
|
206
|
+
n && n.m(t, r), Et(() => {
|
|
207
|
+
const o = e.$$.on_mount.map(yr).filter(Mt);
|
|
208
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : $e(o), e.$$.on_mount = [];
|
|
209
|
+
}), i.forEach(Et);
|
|
200
210
|
}
|
|
201
|
-
function
|
|
211
|
+
function Tn(e, t) {
|
|
202
212
|
const r = e.$$;
|
|
203
|
-
r.fragment !== null && (
|
|
213
|
+
r.fragment !== null && (_n(r.after_update), $e(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
204
214
|
}
|
|
205
|
-
function
|
|
206
|
-
e.$$.dirty[0] === -1 && (
|
|
215
|
+
function wn(e, t) {
|
|
216
|
+
e.$$.dirty[0] === -1 && (Se.push(e), yn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
207
217
|
}
|
|
208
|
-
function
|
|
209
|
-
const l =
|
|
210
|
-
|
|
218
|
+
function Hn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
219
|
+
const l = Ge;
|
|
220
|
+
De(e);
|
|
211
221
|
const u = e.$$ = {
|
|
212
222
|
fragment: null,
|
|
213
223
|
ctx: [],
|
|
214
224
|
// state
|
|
215
|
-
props:
|
|
216
|
-
update:
|
|
225
|
+
props: o,
|
|
226
|
+
update: D,
|
|
217
227
|
not_equal: i,
|
|
218
|
-
bound:
|
|
228
|
+
bound: Wt(),
|
|
219
229
|
// lifecycle
|
|
220
230
|
on_mount: [],
|
|
221
231
|
on_destroy: [],
|
|
@@ -224,48 +234,48 @@ function vn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
224
234
|
after_update: [],
|
|
225
235
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
226
236
|
// everything else
|
|
227
|
-
callbacks:
|
|
237
|
+
callbacks: Wt(),
|
|
228
238
|
dirty: a,
|
|
229
239
|
skip_bound: !1,
|
|
230
240
|
root: t.target || l.$$.root
|
|
231
241
|
};
|
|
232
|
-
|
|
242
|
+
s && s(u.root);
|
|
233
243
|
let h = !1;
|
|
234
244
|
if (u.ctx = r ? r(e, t.props || {}, (c, p, ...g) => {
|
|
235
245
|
const y = g.length ? g[0] : p;
|
|
236
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h &&
|
|
237
|
-
}) : [], u.update(), h = !0,
|
|
246
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && wn(e, c)), p;
|
|
247
|
+
}) : [], u.update(), h = !0, $e(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
238
248
|
if (t.hydrate) {
|
|
239
|
-
const c =
|
|
249
|
+
const c = pn(t.target);
|
|
240
250
|
u.fragment && u.fragment.l(c), c.forEach(W);
|
|
241
251
|
} else
|
|
242
252
|
u.fragment && u.fragment.c();
|
|
243
|
-
t.intro &&
|
|
253
|
+
t.intro && xn(e.$$.fragment), Sn(e, t.target, t.anchor), C();
|
|
244
254
|
}
|
|
245
|
-
|
|
255
|
+
De(l);
|
|
246
256
|
}
|
|
247
|
-
let
|
|
248
|
-
typeof HTMLElement == "function" && (
|
|
257
|
+
let Er;
|
|
258
|
+
typeof HTMLElement == "function" && (Er = class extends HTMLElement {
|
|
249
259
|
constructor(t, r, n) {
|
|
250
260
|
super();
|
|
251
261
|
/** The Svelte component constructor */
|
|
252
|
-
|
|
262
|
+
G(this, "$$ctor");
|
|
253
263
|
/** Slots */
|
|
254
|
-
|
|
264
|
+
G(this, "$$s");
|
|
255
265
|
/** The Svelte component instance */
|
|
256
|
-
|
|
266
|
+
G(this, "$$c");
|
|
257
267
|
/** Whether or not the custom element is connected */
|
|
258
|
-
|
|
268
|
+
G(this, "$$cn", !1);
|
|
259
269
|
/** Component props data */
|
|
260
|
-
|
|
270
|
+
G(this, "$$d", {});
|
|
261
271
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
262
|
-
|
|
272
|
+
G(this, "$$r", !1);
|
|
263
273
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
264
|
-
|
|
274
|
+
G(this, "$$p_d", {});
|
|
265
275
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
266
|
-
|
|
276
|
+
G(this, "$$l", {});
|
|
267
277
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
268
|
-
|
|
278
|
+
G(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
269
279
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
270
280
|
}
|
|
271
281
|
addEventListener(t, r, n) {
|
|
@@ -282,42 +292,42 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
282
292
|
}
|
|
283
293
|
}
|
|
284
294
|
connectedCallback() {
|
|
285
|
-
return
|
|
295
|
+
return Vt(this, null, function* () {
|
|
286
296
|
if (this.$$cn = !0, !this.$$c) {
|
|
287
|
-
let t = function(
|
|
297
|
+
let t = function(o) {
|
|
288
298
|
return () => {
|
|
289
|
-
let
|
|
299
|
+
let s;
|
|
290
300
|
return {
|
|
291
301
|
c: function() {
|
|
292
|
-
|
|
302
|
+
s = b("slot"), o !== "default" && d(s, "name", o);
|
|
293
303
|
},
|
|
294
304
|
/**
|
|
295
305
|
* @param {HTMLElement} target
|
|
296
306
|
* @param {HTMLElement} [anchor]
|
|
297
307
|
*/
|
|
298
308
|
m: function(u, h) {
|
|
299
|
-
|
|
309
|
+
K(u, s, h);
|
|
300
310
|
},
|
|
301
311
|
d: function(u) {
|
|
302
|
-
u && W(
|
|
312
|
+
u && W(s);
|
|
303
313
|
}
|
|
304
314
|
};
|
|
305
315
|
};
|
|
306
316
|
};
|
|
307
317
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
308
318
|
return;
|
|
309
|
-
const r = {}, n =
|
|
310
|
-
for (const
|
|
311
|
-
|
|
312
|
-
for (const
|
|
313
|
-
const
|
|
314
|
-
|
|
319
|
+
const r = {}, n = dn(this);
|
|
320
|
+
for (const o of this.$$s)
|
|
321
|
+
o in n && (r[o] = [t(o)]);
|
|
322
|
+
for (const o of this.attributes) {
|
|
323
|
+
const s = this.$$g_p(o.name);
|
|
324
|
+
s in this.$$d || (this.$$d[s] = Ye(s, o.value, this.$$p_d, "toProp"));
|
|
315
325
|
}
|
|
316
|
-
for (const
|
|
317
|
-
!(
|
|
326
|
+
for (const o in this.$$p_d)
|
|
327
|
+
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
318
328
|
this.$$c = new this.$$ctor({
|
|
319
329
|
target: this.shadowRoot || this,
|
|
320
|
-
props: $t(
|
|
330
|
+
props: Ft($t({}, this.$$d), {
|
|
321
331
|
$$slots: r,
|
|
322
332
|
$$scope: {
|
|
323
333
|
ctx: []
|
|
@@ -326,23 +336,23 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
326
336
|
});
|
|
327
337
|
const i = () => {
|
|
328
338
|
this.$$r = !0;
|
|
329
|
-
for (const
|
|
330
|
-
if (this.$$d[
|
|
331
|
-
const
|
|
332
|
-
|
|
333
|
-
this.$$d[
|
|
339
|
+
for (const o in this.$$p_d)
|
|
340
|
+
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
341
|
+
const s = Ye(
|
|
342
|
+
o,
|
|
343
|
+
this.$$d[o],
|
|
334
344
|
this.$$p_d,
|
|
335
345
|
"toAttribute"
|
|
336
346
|
);
|
|
337
|
-
|
|
347
|
+
s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
|
|
338
348
|
}
|
|
339
349
|
this.$$r = !1;
|
|
340
350
|
};
|
|
341
351
|
this.$$c.$$.after_update.push(i), i();
|
|
342
|
-
for (const
|
|
343
|
-
for (const
|
|
344
|
-
const a = this.$$c.$on(
|
|
345
|
-
this.$$l_u.set(
|
|
352
|
+
for (const o in this.$$l)
|
|
353
|
+
for (const s of this.$$l[o]) {
|
|
354
|
+
const a = this.$$c.$on(o, s);
|
|
355
|
+
this.$$l_u.set(s, a);
|
|
346
356
|
}
|
|
347
357
|
this.$$l = {};
|
|
348
358
|
}
|
|
@@ -352,7 +362,7 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
352
362
|
// and setting attributes through setAttribute etc, this is helpful
|
|
353
363
|
attributeChangedCallback(t, r, n) {
|
|
354
364
|
var i;
|
|
355
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
365
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ye(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
356
366
|
}
|
|
357
367
|
disconnectedCallback() {
|
|
358
368
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -365,9 +375,9 @@ typeof HTMLElement == "function" && (gr = class extends HTMLElement {
|
|
|
365
375
|
) || t;
|
|
366
376
|
}
|
|
367
377
|
});
|
|
368
|
-
function
|
|
369
|
-
var
|
|
370
|
-
const i = (
|
|
378
|
+
function Ye(e, t, r, n) {
|
|
379
|
+
var o;
|
|
380
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
371
381
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
372
382
|
return t;
|
|
373
383
|
if (n === "toAttribute")
|
|
@@ -395,8 +405,8 @@ function Qe(e, t, r, n) {
|
|
|
395
405
|
return t;
|
|
396
406
|
}
|
|
397
407
|
}
|
|
398
|
-
function
|
|
399
|
-
let
|
|
408
|
+
function An(e, t, r, n, i, o) {
|
|
409
|
+
let s = class extends Er {
|
|
400
410
|
constructor() {
|
|
401
411
|
super(e, r, i), this.$$p_d = t;
|
|
402
412
|
}
|
|
@@ -407,26 +417,26 @@ function _n(e, t, r, n, i, s) {
|
|
|
407
417
|
}
|
|
408
418
|
};
|
|
409
419
|
return Object.keys(t).forEach((a) => {
|
|
410
|
-
Object.defineProperty(
|
|
420
|
+
Object.defineProperty(s.prototype, a, {
|
|
411
421
|
get() {
|
|
412
422
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
413
423
|
},
|
|
414
424
|
set(l) {
|
|
415
425
|
var u;
|
|
416
|
-
l =
|
|
426
|
+
l = Ye(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
|
|
417
427
|
}
|
|
418
428
|
});
|
|
419
429
|
}), n.forEach((a) => {
|
|
420
|
-
Object.defineProperty(
|
|
430
|
+
Object.defineProperty(s.prototype, a, {
|
|
421
431
|
get() {
|
|
422
432
|
var l;
|
|
423
433
|
return (l = this.$$c) == null ? void 0 : l[a];
|
|
424
434
|
}
|
|
425
435
|
});
|
|
426
436
|
}), e.element = /** @type {any} */
|
|
427
|
-
|
|
437
|
+
s, s;
|
|
428
438
|
}
|
|
429
|
-
class
|
|
439
|
+
class Bn {
|
|
430
440
|
constructor() {
|
|
431
441
|
/**
|
|
432
442
|
* ### PRIVATE API
|
|
@@ -435,7 +445,7 @@ class xn {
|
|
|
435
445
|
*
|
|
436
446
|
* @type {any}
|
|
437
447
|
*/
|
|
438
|
-
|
|
448
|
+
G(this, "$$");
|
|
439
449
|
/**
|
|
440
450
|
* ### PRIVATE API
|
|
441
451
|
*
|
|
@@ -443,11 +453,11 @@ class xn {
|
|
|
443
453
|
*
|
|
444
454
|
* @type {any}
|
|
445
455
|
*/
|
|
446
|
-
|
|
456
|
+
G(this, "$$set");
|
|
447
457
|
}
|
|
448
458
|
/** @returns {void} */
|
|
449
459
|
$destroy() {
|
|
450
|
-
|
|
460
|
+
Tn(this, 1), this.$destroy = D;
|
|
451
461
|
}
|
|
452
462
|
/**
|
|
453
463
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -456,8 +466,8 @@ class xn {
|
|
|
456
466
|
* @returns {() => void}
|
|
457
467
|
*/
|
|
458
468
|
$on(t, r) {
|
|
459
|
-
if (!
|
|
460
|
-
return
|
|
469
|
+
if (!Mt(r))
|
|
470
|
+
return D;
|
|
461
471
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
462
472
|
return n.push(r), () => {
|
|
463
473
|
const i = n.indexOf(r);
|
|
@@ -469,37 +479,37 @@ class xn {
|
|
|
469
479
|
* @returns {void}
|
|
470
480
|
*/
|
|
471
481
|
$set(t) {
|
|
472
|
-
this.$$set && !
|
|
482
|
+
this.$$set && !on(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
473
483
|
}
|
|
474
484
|
}
|
|
475
|
-
const
|
|
476
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
477
|
-
var
|
|
478
|
-
return
|
|
485
|
+
const Pn = "4";
|
|
486
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pn);
|
|
487
|
+
var xt = function(e, t) {
|
|
488
|
+
return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
479
489
|
r.__proto__ = n;
|
|
480
490
|
} || function(r, n) {
|
|
481
491
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
482
|
-
},
|
|
492
|
+
}, xt(e, t);
|
|
483
493
|
};
|
|
484
|
-
function
|
|
494
|
+
function re(e, t) {
|
|
485
495
|
if (typeof t != "function" && t !== null)
|
|
486
496
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
487
|
-
|
|
497
|
+
xt(e, t);
|
|
488
498
|
function r() {
|
|
489
499
|
this.constructor = e;
|
|
490
500
|
}
|
|
491
501
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
492
502
|
}
|
|
493
|
-
var
|
|
494
|
-
return
|
|
503
|
+
var H = function() {
|
|
504
|
+
return H = Object.assign || function(t) {
|
|
495
505
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
496
506
|
r = arguments[n];
|
|
497
|
-
for (var
|
|
507
|
+
for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
498
508
|
}
|
|
499
509
|
return t;
|
|
500
|
-
},
|
|
510
|
+
}, H.apply(this, arguments);
|
|
501
511
|
};
|
|
502
|
-
function
|
|
512
|
+
function Cn(e, t) {
|
|
503
513
|
var r = {};
|
|
504
514
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
505
515
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -507,7 +517,7 @@ function Sn(e, t) {
|
|
|
507
517
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
508
518
|
return r;
|
|
509
519
|
}
|
|
510
|
-
function
|
|
520
|
+
function St(e) {
|
|
511
521
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
512
522
|
if (r) return r.call(e);
|
|
513
523
|
if (e && typeof e.length == "number") return {
|
|
@@ -517,38 +527,38 @@ function xt(e) {
|
|
|
517
527
|
};
|
|
518
528
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
519
529
|
}
|
|
520
|
-
function
|
|
530
|
+
function Tt(e, t) {
|
|
521
531
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
522
532
|
if (!r) return e;
|
|
523
|
-
var n = r.call(e), i,
|
|
533
|
+
var n = r.call(e), i, o = [], s;
|
|
524
534
|
try {
|
|
525
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
535
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
|
|
526
536
|
} catch (a) {
|
|
527
|
-
|
|
537
|
+
s = { error: a };
|
|
528
538
|
} finally {
|
|
529
539
|
try {
|
|
530
540
|
i && !i.done && (r = n.return) && r.call(n);
|
|
531
541
|
} finally {
|
|
532
|
-
if (
|
|
542
|
+
if (s) throw s.error;
|
|
533
543
|
}
|
|
534
544
|
}
|
|
535
|
-
return
|
|
545
|
+
return o;
|
|
536
546
|
}
|
|
537
|
-
function
|
|
538
|
-
if (r || arguments.length === 2) for (var n = 0, i = t.length,
|
|
539
|
-
(
|
|
540
|
-
return e.concat(
|
|
547
|
+
function we(e, t, r) {
|
|
548
|
+
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
549
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
550
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
541
551
|
}
|
|
542
|
-
function
|
|
552
|
+
function te(e) {
|
|
543
553
|
return typeof e == "function";
|
|
544
554
|
}
|
|
545
|
-
function
|
|
555
|
+
function xr(e) {
|
|
546
556
|
var t = function(n) {
|
|
547
557
|
Error.call(n), n.stack = new Error().stack;
|
|
548
558
|
}, r = e(t);
|
|
549
559
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
550
560
|
}
|
|
551
|
-
var
|
|
561
|
+
var ft = xr(function(e) {
|
|
552
562
|
return function(r) {
|
|
553
563
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
554
564
|
` + r.map(function(n, i) {
|
|
@@ -557,25 +567,25 @@ var ct = yr(function(e) {
|
|
|
557
567
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
558
568
|
};
|
|
559
569
|
});
|
|
560
|
-
function
|
|
570
|
+
function wt(e, t) {
|
|
561
571
|
if (e) {
|
|
562
572
|
var r = e.indexOf(t);
|
|
563
573
|
0 <= r && e.splice(r, 1);
|
|
564
574
|
}
|
|
565
575
|
}
|
|
566
|
-
var
|
|
576
|
+
var nt = function() {
|
|
567
577
|
function e(t) {
|
|
568
578
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
569
579
|
}
|
|
570
580
|
return e.prototype.unsubscribe = function() {
|
|
571
|
-
var t, r, n, i,
|
|
581
|
+
var t, r, n, i, o;
|
|
572
582
|
if (!this.closed) {
|
|
573
583
|
this.closed = !0;
|
|
574
|
-
var
|
|
575
|
-
if (
|
|
576
|
-
if (this._parentage = null, Array.isArray(
|
|
584
|
+
var s = this._parentage;
|
|
585
|
+
if (s)
|
|
586
|
+
if (this._parentage = null, Array.isArray(s))
|
|
577
587
|
try {
|
|
578
|
-
for (var a =
|
|
588
|
+
for (var a = St(s), l = a.next(); !l.done; l = a.next()) {
|
|
579
589
|
var u = l.value;
|
|
580
590
|
u.remove(this);
|
|
581
591
|
}
|
|
@@ -589,24 +599,24 @@ var rt = function() {
|
|
|
589
599
|
}
|
|
590
600
|
}
|
|
591
601
|
else
|
|
592
|
-
|
|
602
|
+
s.remove(this);
|
|
593
603
|
var h = this.initialTeardown;
|
|
594
|
-
if (
|
|
604
|
+
if (te(h))
|
|
595
605
|
try {
|
|
596
606
|
h();
|
|
597
607
|
} catch (_) {
|
|
598
|
-
|
|
608
|
+
o = _ instanceof ft ? _.errors : [_];
|
|
599
609
|
}
|
|
600
610
|
var c = this._finalizers;
|
|
601
611
|
if (c) {
|
|
602
612
|
this._finalizers = null;
|
|
603
613
|
try {
|
|
604
|
-
for (var p =
|
|
614
|
+
for (var p = St(c), g = p.next(); !g.done; g = p.next()) {
|
|
605
615
|
var y = g.value;
|
|
606
616
|
try {
|
|
607
|
-
|
|
617
|
+
Jt(y);
|
|
608
618
|
} catch (_) {
|
|
609
|
-
|
|
619
|
+
o = o != null ? o : [], _ instanceof ft ? o = we(we([], Tt(o)), Tt(_.errors)) : o.push(_);
|
|
610
620
|
}
|
|
611
621
|
}
|
|
612
622
|
} catch (_) {
|
|
@@ -619,14 +629,14 @@ var rt = function() {
|
|
|
619
629
|
}
|
|
620
630
|
}
|
|
621
631
|
}
|
|
622
|
-
if (
|
|
623
|
-
throw new
|
|
632
|
+
if (o)
|
|
633
|
+
throw new ft(o);
|
|
624
634
|
}
|
|
625
635
|
}, e.prototype.add = function(t) {
|
|
626
636
|
var r;
|
|
627
637
|
if (t && t !== this)
|
|
628
638
|
if (this.closed)
|
|
629
|
-
|
|
639
|
+
Jt(t);
|
|
630
640
|
else {
|
|
631
641
|
if (t instanceof e) {
|
|
632
642
|
if (t.closed || t._hasParent(this))
|
|
@@ -643,52 +653,56 @@ var rt = function() {
|
|
|
643
653
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
644
654
|
}, e.prototype._removeParent = function(t) {
|
|
645
655
|
var r = this._parentage;
|
|
646
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
656
|
+
r === t ? this._parentage = null : Array.isArray(r) && wt(r, t);
|
|
647
657
|
}, e.prototype.remove = function(t) {
|
|
648
658
|
var r = this._finalizers;
|
|
649
|
-
r &&
|
|
659
|
+
r && wt(r, t), t instanceof e && t._removeParent(this);
|
|
650
660
|
}, e.EMPTY = function() {
|
|
651
661
|
var t = new e();
|
|
652
662
|
return t.closed = !0, t;
|
|
653
663
|
}(), e;
|
|
654
|
-
}(),
|
|
655
|
-
function
|
|
656
|
-
return e instanceof
|
|
664
|
+
}(), Sr = nt.EMPTY;
|
|
665
|
+
function Tr(e) {
|
|
666
|
+
return e instanceof nt || e && "closed" in e && te(e.remove) && te(e.add) && te(e.unsubscribe);
|
|
657
667
|
}
|
|
658
|
-
function
|
|
659
|
-
|
|
660
|
-
}
|
|
661
|
-
var
|
|
662
|
-
|
|
663
|
-
|
|
668
|
+
function Jt(e) {
|
|
669
|
+
te(e) ? e() : e.unsubscribe();
|
|
670
|
+
}
|
|
671
|
+
var wr = {
|
|
672
|
+
onUnhandledError: null,
|
|
673
|
+
onStoppedNotification: null,
|
|
674
|
+
Promise: void 0,
|
|
675
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
676
|
+
useDeprecatedNextContext: !1
|
|
677
|
+
}, Ln = {
|
|
664
678
|
setTimeout: function(e, t) {
|
|
665
679
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
666
680
|
r[n - 2] = arguments[n];
|
|
667
|
-
return setTimeout.apply(void 0,
|
|
681
|
+
return setTimeout.apply(void 0, we([e, t], Tt(r)));
|
|
668
682
|
},
|
|
669
683
|
clearTimeout: function(e) {
|
|
670
684
|
return clearTimeout(e);
|
|
671
685
|
},
|
|
672
686
|
delegate: void 0
|
|
673
687
|
};
|
|
674
|
-
function
|
|
675
|
-
|
|
688
|
+
function In(e) {
|
|
689
|
+
Ln.setTimeout(function() {
|
|
676
690
|
throw e;
|
|
677
691
|
});
|
|
678
692
|
}
|
|
679
|
-
function
|
|
693
|
+
function Zt() {
|
|
680
694
|
}
|
|
681
|
-
function
|
|
695
|
+
function qe(e) {
|
|
682
696
|
e();
|
|
683
697
|
}
|
|
684
|
-
var
|
|
685
|
-
|
|
698
|
+
var Hr = function(e) {
|
|
699
|
+
re(t, e);
|
|
686
700
|
function t(r) {
|
|
687
701
|
var n = e.call(this) || this;
|
|
688
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
702
|
+
return n.isStopped = !1, r ? (n.destination = r, Tr(r) && r.add(n)) : n.destination = Rn, n;
|
|
689
703
|
}
|
|
690
704
|
return t.create = function(r, n, i) {
|
|
691
|
-
return new
|
|
705
|
+
return new Ht(r, n, i);
|
|
692
706
|
}, t.prototype.next = function(r) {
|
|
693
707
|
this.isStopped || this._next(r);
|
|
694
708
|
}, t.prototype.error = function(r) {
|
|
@@ -712,7 +726,11 @@ var xr = function(e) {
|
|
|
712
726
|
this.unsubscribe();
|
|
713
727
|
}
|
|
714
728
|
}, t;
|
|
715
|
-
}(
|
|
729
|
+
}(nt), On = Function.prototype.bind;
|
|
730
|
+
function pt(e, t) {
|
|
731
|
+
return On.call(e, t);
|
|
732
|
+
}
|
|
733
|
+
var Nn = function() {
|
|
716
734
|
function e(t) {
|
|
717
735
|
this.partialObserver = t;
|
|
718
736
|
}
|
|
@@ -722,7 +740,7 @@ var xr = function(e) {
|
|
|
722
740
|
try {
|
|
723
741
|
r.next(t);
|
|
724
742
|
} catch (n) {
|
|
725
|
-
|
|
743
|
+
Ze(n);
|
|
726
744
|
}
|
|
727
745
|
}, e.prototype.error = function(t) {
|
|
728
746
|
var r = this.partialObserver;
|
|
@@ -730,56 +748,68 @@ var xr = function(e) {
|
|
|
730
748
|
try {
|
|
731
749
|
r.error(t);
|
|
732
750
|
} catch (n) {
|
|
733
|
-
|
|
751
|
+
Ze(n);
|
|
734
752
|
}
|
|
735
753
|
else
|
|
736
|
-
|
|
754
|
+
Ze(t);
|
|
737
755
|
}, e.prototype.complete = function() {
|
|
738
756
|
var t = this.partialObserver;
|
|
739
757
|
if (t.complete)
|
|
740
758
|
try {
|
|
741
759
|
t.complete();
|
|
742
760
|
} catch (r) {
|
|
743
|
-
|
|
761
|
+
Ze(r);
|
|
744
762
|
}
|
|
745
763
|
}, e;
|
|
746
|
-
}(),
|
|
747
|
-
|
|
764
|
+
}(), Ht = function(e) {
|
|
765
|
+
re(t, e);
|
|
748
766
|
function t(r, n, i) {
|
|
749
|
-
var
|
|
750
|
-
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
767
|
+
var o = e.call(this) || this, s;
|
|
768
|
+
if (te(r) || !r)
|
|
769
|
+
s = {
|
|
770
|
+
next: r != null ? r : void 0,
|
|
771
|
+
error: n != null ? n : void 0,
|
|
772
|
+
complete: i != null ? i : void 0
|
|
773
|
+
};
|
|
774
|
+
else {
|
|
775
|
+
var a;
|
|
776
|
+
o && wr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
777
|
+
return o.unsubscribe();
|
|
778
|
+
}, s = {
|
|
779
|
+
next: r.next && pt(r.next, a),
|
|
780
|
+
error: r.error && pt(r.error, a),
|
|
781
|
+
complete: r.complete && pt(r.complete, a)
|
|
782
|
+
}) : s = r;
|
|
783
|
+
}
|
|
784
|
+
return o.destination = new Nn(s), o;
|
|
755
785
|
}
|
|
756
786
|
return t;
|
|
757
|
-
}(
|
|
758
|
-
function
|
|
759
|
-
|
|
787
|
+
}(Hr);
|
|
788
|
+
function Ze(e) {
|
|
789
|
+
In(e);
|
|
760
790
|
}
|
|
761
|
-
function
|
|
791
|
+
function Mn(e) {
|
|
762
792
|
throw e;
|
|
763
793
|
}
|
|
764
|
-
var
|
|
794
|
+
var Rn = {
|
|
765
795
|
closed: !0,
|
|
766
|
-
next:
|
|
767
|
-
error:
|
|
768
|
-
complete:
|
|
769
|
-
},
|
|
796
|
+
next: Zt,
|
|
797
|
+
error: Mn,
|
|
798
|
+
complete: Zt
|
|
799
|
+
}, Un = function() {
|
|
770
800
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
771
801
|
}();
|
|
772
|
-
function
|
|
802
|
+
function Dn(e) {
|
|
773
803
|
return e;
|
|
774
804
|
}
|
|
775
|
-
function
|
|
776
|
-
return e.length === 0 ?
|
|
805
|
+
function Gn(e) {
|
|
806
|
+
return e.length === 0 ? Dn : e.length === 1 ? e[0] : function(r) {
|
|
777
807
|
return e.reduce(function(n, i) {
|
|
778
808
|
return i(n);
|
|
779
809
|
}, r);
|
|
780
810
|
};
|
|
781
811
|
}
|
|
782
|
-
var
|
|
812
|
+
var Qt = function() {
|
|
783
813
|
function e(t) {
|
|
784
814
|
t && (this._subscribe = t);
|
|
785
815
|
}
|
|
@@ -787,11 +817,11 @@ var zt = function() {
|
|
|
787
817
|
var r = new e();
|
|
788
818
|
return r.source = this, r.operator = t, r;
|
|
789
819
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
790
|
-
var i = this,
|
|
791
|
-
return
|
|
792
|
-
var
|
|
793
|
-
|
|
794
|
-
}),
|
|
820
|
+
var i = this, o = kn(t) ? t : new Ht(t, r, n);
|
|
821
|
+
return qe(function() {
|
|
822
|
+
var s = i, a = s.operator, l = s.source;
|
|
823
|
+
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
824
|
+
}), o;
|
|
795
825
|
}, e.prototype._trySubscribe = function(t) {
|
|
796
826
|
try {
|
|
797
827
|
return this._subscribe(t);
|
|
@@ -800,79 +830,79 @@ var zt = function() {
|
|
|
800
830
|
}
|
|
801
831
|
}, e.prototype.forEach = function(t, r) {
|
|
802
832
|
var n = this;
|
|
803
|
-
return r =
|
|
804
|
-
var
|
|
833
|
+
return r = Yt(r), new r(function(i, o) {
|
|
834
|
+
var s = new Ht({
|
|
805
835
|
next: function(a) {
|
|
806
836
|
try {
|
|
807
837
|
t(a);
|
|
808
838
|
} catch (l) {
|
|
809
|
-
|
|
839
|
+
o(l), s.unsubscribe();
|
|
810
840
|
}
|
|
811
841
|
},
|
|
812
|
-
error:
|
|
842
|
+
error: o,
|
|
813
843
|
complete: i
|
|
814
844
|
});
|
|
815
|
-
n.subscribe(
|
|
845
|
+
n.subscribe(s);
|
|
816
846
|
});
|
|
817
847
|
}, e.prototype._subscribe = function(t) {
|
|
818
848
|
var r;
|
|
819
849
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
820
|
-
}, e.prototype[
|
|
850
|
+
}, e.prototype[Un] = function() {
|
|
821
851
|
return this;
|
|
822
852
|
}, e.prototype.pipe = function() {
|
|
823
853
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
824
854
|
t[r] = arguments[r];
|
|
825
|
-
return
|
|
855
|
+
return Gn(t)(this);
|
|
826
856
|
}, e.prototype.toPromise = function(t) {
|
|
827
857
|
var r = this;
|
|
828
|
-
return t =
|
|
829
|
-
var
|
|
830
|
-
r.subscribe(function(
|
|
831
|
-
return
|
|
832
|
-
}, function(
|
|
833
|
-
return i(
|
|
858
|
+
return t = Yt(t), new t(function(n, i) {
|
|
859
|
+
var o;
|
|
860
|
+
r.subscribe(function(s) {
|
|
861
|
+
return o = s;
|
|
862
|
+
}, function(s) {
|
|
863
|
+
return i(s);
|
|
834
864
|
}, function() {
|
|
835
|
-
return n(
|
|
865
|
+
return n(o);
|
|
836
866
|
});
|
|
837
867
|
});
|
|
838
868
|
}, e.create = function(t) {
|
|
839
869
|
return new e(t);
|
|
840
870
|
}, e;
|
|
841
871
|
}();
|
|
842
|
-
function
|
|
872
|
+
function Yt(e) {
|
|
843
873
|
var t;
|
|
844
|
-
return (t = e != null ? e :
|
|
874
|
+
return (t = e != null ? e : wr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
845
875
|
}
|
|
846
|
-
function
|
|
847
|
-
return e &&
|
|
876
|
+
function jn(e) {
|
|
877
|
+
return e && te(e.next) && te(e.error) && te(e.complete);
|
|
848
878
|
}
|
|
849
|
-
function
|
|
850
|
-
return e && e instanceof
|
|
879
|
+
function kn(e) {
|
|
880
|
+
return e && e instanceof Hr || jn(e) && Tr(e);
|
|
851
881
|
}
|
|
852
|
-
var
|
|
882
|
+
var $n = xr(function(e) {
|
|
853
883
|
return function() {
|
|
854
884
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
855
885
|
};
|
|
856
|
-
}),
|
|
857
|
-
|
|
886
|
+
}), Ar = function(e) {
|
|
887
|
+
re(t, e);
|
|
858
888
|
function t() {
|
|
859
889
|
var r = e.call(this) || this;
|
|
860
890
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
861
891
|
}
|
|
862
892
|
return t.prototype.lift = function(r) {
|
|
863
|
-
var n = new
|
|
893
|
+
var n = new qt(this, this);
|
|
864
894
|
return n.operator = r, n;
|
|
865
895
|
}, t.prototype._throwIfClosed = function() {
|
|
866
896
|
if (this.closed)
|
|
867
|
-
throw new
|
|
897
|
+
throw new $n();
|
|
868
898
|
}, t.prototype.next = function(r) {
|
|
869
899
|
var n = this;
|
|
870
|
-
|
|
871
|
-
var i,
|
|
900
|
+
qe(function() {
|
|
901
|
+
var i, o;
|
|
872
902
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
873
903
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
874
904
|
try {
|
|
875
|
-
for (var
|
|
905
|
+
for (var s = St(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
876
906
|
var l = a.value;
|
|
877
907
|
l.next(r);
|
|
878
908
|
}
|
|
@@ -880,7 +910,7 @@ var Mn = yr(function(e) {
|
|
|
880
910
|
i = { error: u };
|
|
881
911
|
} finally {
|
|
882
912
|
try {
|
|
883
|
-
a && !a.done && (
|
|
913
|
+
a && !a.done && (o = s.return) && o.call(s);
|
|
884
914
|
} finally {
|
|
885
915
|
if (i) throw i.error;
|
|
886
916
|
}
|
|
@@ -889,7 +919,7 @@ var Mn = yr(function(e) {
|
|
|
889
919
|
});
|
|
890
920
|
}, t.prototype.error = function(r) {
|
|
891
921
|
var n = this;
|
|
892
|
-
|
|
922
|
+
qe(function() {
|
|
893
923
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
894
924
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
895
925
|
for (var i = n.observers; i.length; )
|
|
@@ -898,7 +928,7 @@ var Mn = yr(function(e) {
|
|
|
898
928
|
});
|
|
899
929
|
}, t.prototype.complete = function() {
|
|
900
930
|
var r = this;
|
|
901
|
-
|
|
931
|
+
qe(function() {
|
|
902
932
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
903
933
|
r.isStopped = !0;
|
|
904
934
|
for (var n = r.observers; n.length; )
|
|
@@ -919,21 +949,21 @@ var Mn = yr(function(e) {
|
|
|
919
949
|
}, t.prototype._subscribe = function(r) {
|
|
920
950
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
921
951
|
}, t.prototype._innerSubscribe = function(r) {
|
|
922
|
-
var n = this, i = this,
|
|
923
|
-
return
|
|
924
|
-
n.currentObservers = null,
|
|
952
|
+
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
953
|
+
return o || s ? Sr : (this.currentObservers = null, a.push(r), new nt(function() {
|
|
954
|
+
n.currentObservers = null, wt(a, r);
|
|
925
955
|
}));
|
|
926
956
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
927
|
-
var n = this, i = n.hasError,
|
|
928
|
-
i ? r.error(
|
|
957
|
+
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
958
|
+
i ? r.error(o) : s && r.complete();
|
|
929
959
|
}, t.prototype.asObservable = function() {
|
|
930
|
-
var r = new
|
|
960
|
+
var r = new Qt();
|
|
931
961
|
return r.source = this, r;
|
|
932
962
|
}, t.create = function(r, n) {
|
|
933
|
-
return new
|
|
963
|
+
return new qt(r, n);
|
|
934
964
|
}, t;
|
|
935
|
-
}(
|
|
936
|
-
|
|
965
|
+
}(Qt), qt = function(e) {
|
|
966
|
+
re(t, e);
|
|
937
967
|
function t(r, n) {
|
|
938
968
|
var i = e.call(this) || this;
|
|
939
969
|
return i.destination = r, i.source = n, i;
|
|
@@ -949,95 +979,95 @@ var Mn = yr(function(e) {
|
|
|
949
979
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
950
980
|
}, t.prototype._subscribe = function(r) {
|
|
951
981
|
var n, i;
|
|
952
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
982
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Sr;
|
|
953
983
|
}, t;
|
|
954
|
-
}(
|
|
984
|
+
}(Ar), Br = {
|
|
955
985
|
now: function() {
|
|
956
|
-
return (
|
|
986
|
+
return (Br.delegate || Date).now();
|
|
957
987
|
},
|
|
958
988
|
delegate: void 0
|
|
959
|
-
},
|
|
960
|
-
|
|
989
|
+
}, Fn = function(e) {
|
|
990
|
+
re(t, e);
|
|
961
991
|
function t(r, n, i) {
|
|
962
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
963
|
-
var
|
|
964
|
-
return
|
|
992
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Br);
|
|
993
|
+
var o = e.call(this) || this;
|
|
994
|
+
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;
|
|
965
995
|
}
|
|
966
996
|
return t.prototype.next = function(r) {
|
|
967
|
-
var n = this, i = n.isStopped,
|
|
968
|
-
i || (
|
|
997
|
+
var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
|
|
998
|
+
i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
969
999
|
}, t.prototype._subscribe = function(r) {
|
|
970
1000
|
this._throwIfClosed(), this._trimBuffer();
|
|
971
|
-
for (var n = this._innerSubscribe(r), i = this,
|
|
1001
|
+
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
|
|
972
1002
|
r.next(a[l]);
|
|
973
1003
|
return this._checkFinalizedStatuses(r), n;
|
|
974
1004
|
}, t.prototype._trimBuffer = function() {
|
|
975
|
-
var r = this, n = r._bufferSize, i = r._timestampProvider,
|
|
976
|
-
if (n < 1 / 0 && a <
|
|
977
|
-
for (var l = i.now(), u = 0, h = 1; h <
|
|
1005
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
|
|
1006
|
+
if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
|
|
1007
|
+
for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
978
1008
|
u = h;
|
|
979
|
-
u &&
|
|
1009
|
+
u && o.splice(0, u + 1);
|
|
980
1010
|
}
|
|
981
1011
|
}, t;
|
|
982
|
-
}(
|
|
983
|
-
const
|
|
984
|
-
if (
|
|
985
|
-
const r = new
|
|
986
|
-
|
|
1012
|
+
}(Ar);
|
|
1013
|
+
const Kt = [], er = {}, Vn = (e, t = 0) => {
|
|
1014
|
+
if (Kt.indexOf(e) == -1) {
|
|
1015
|
+
const r = new Fn(t);
|
|
1016
|
+
er[e] = r, Kt.push(e);
|
|
987
1017
|
}
|
|
988
|
-
return
|
|
989
|
-
},
|
|
990
|
-
function
|
|
1018
|
+
return er[e];
|
|
1019
|
+
}, xe = [];
|
|
1020
|
+
function Wn(e, t) {
|
|
991
1021
|
return {
|
|
992
|
-
subscribe:
|
|
1022
|
+
subscribe: it(e, t).subscribe
|
|
993
1023
|
};
|
|
994
1024
|
}
|
|
995
|
-
function
|
|
1025
|
+
function it(e, t = D) {
|
|
996
1026
|
let r;
|
|
997
1027
|
const n = /* @__PURE__ */ new Set();
|
|
998
1028
|
function i(a) {
|
|
999
|
-
if (
|
|
1000
|
-
const l = !
|
|
1029
|
+
if (vr(e, a) && (e = a, r)) {
|
|
1030
|
+
const l = !xe.length;
|
|
1001
1031
|
for (const u of n)
|
|
1002
|
-
u[1](),
|
|
1032
|
+
u[1](), xe.push(u, e);
|
|
1003
1033
|
if (l) {
|
|
1004
|
-
for (let u = 0; u <
|
|
1005
|
-
|
|
1006
|
-
|
|
1034
|
+
for (let u = 0; u < xe.length; u += 2)
|
|
1035
|
+
xe[u][0](xe[u + 1]);
|
|
1036
|
+
xe.length = 0;
|
|
1007
1037
|
}
|
|
1008
1038
|
}
|
|
1009
1039
|
}
|
|
1010
|
-
function
|
|
1040
|
+
function o(a) {
|
|
1011
1041
|
i(a(e));
|
|
1012
1042
|
}
|
|
1013
|
-
function
|
|
1043
|
+
function s(a, l = D) {
|
|
1014
1044
|
const u = [a, l];
|
|
1015
|
-
return n.add(u), n.size === 1 && (r = t(i,
|
|
1045
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || D), a(e), () => {
|
|
1016
1046
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1017
1047
|
};
|
|
1018
1048
|
}
|
|
1019
|
-
return { set: i, update:
|
|
1049
|
+
return { set: i, update: o, subscribe: s };
|
|
1020
1050
|
}
|
|
1021
|
-
function
|
|
1051
|
+
function Ce(e, t, r) {
|
|
1022
1052
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1023
1053
|
if (!i.every(Boolean))
|
|
1024
1054
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1025
|
-
const
|
|
1026
|
-
return
|
|
1055
|
+
const o = t.length < 2;
|
|
1056
|
+
return Wn(r, (s, a) => {
|
|
1027
1057
|
let l = !1;
|
|
1028
1058
|
const u = [];
|
|
1029
|
-
let h = 0, c =
|
|
1059
|
+
let h = 0, c = D;
|
|
1030
1060
|
const p = () => {
|
|
1031
1061
|
if (h)
|
|
1032
1062
|
return;
|
|
1033
1063
|
c();
|
|
1034
|
-
const y = t(n ? u[0] : u,
|
|
1035
|
-
|
|
1064
|
+
const y = t(n ? u[0] : u, s, a);
|
|
1065
|
+
o ? s(y) : c = Mt(y) ? y : D;
|
|
1036
1066
|
}, g = i.map(
|
|
1037
|
-
(y, _) =>
|
|
1067
|
+
(y, _) => sn(
|
|
1038
1068
|
y,
|
|
1039
|
-
(
|
|
1040
|
-
u[_] =
|
|
1069
|
+
(v) => {
|
|
1070
|
+
u[_] = v, h &= ~(1 << _), l && p();
|
|
1041
1071
|
},
|
|
1042
1072
|
() => {
|
|
1043
1073
|
h |= 1 << _;
|
|
@@ -1045,181 +1075,183 @@ function Ae(e, t, r) {
|
|
|
1045
1075
|
)
|
|
1046
1076
|
);
|
|
1047
1077
|
return l = !0, p(), function() {
|
|
1048
|
-
|
|
1078
|
+
$e(g), c(), l = !1;
|
|
1049
1079
|
};
|
|
1050
1080
|
});
|
|
1051
1081
|
}
|
|
1052
|
-
function
|
|
1082
|
+
function Xn(e) {
|
|
1053
1083
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1054
1084
|
}
|
|
1055
|
-
var
|
|
1056
|
-
return
|
|
1085
|
+
var zn = function(t) {
|
|
1086
|
+
return Jn(t) && !Zn(t);
|
|
1057
1087
|
};
|
|
1058
|
-
function
|
|
1088
|
+
function Jn(e) {
|
|
1059
1089
|
return !!e && typeof e == "object";
|
|
1060
1090
|
}
|
|
1061
|
-
function
|
|
1091
|
+
function Zn(e) {
|
|
1062
1092
|
var t = Object.prototype.toString.call(e);
|
|
1063
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1093
|
+
return t === "[object RegExp]" || t === "[object Date]" || qn(e);
|
|
1064
1094
|
}
|
|
1065
|
-
var
|
|
1066
|
-
function
|
|
1067
|
-
return e.$$typeof ===
|
|
1095
|
+
var Qn = typeof Symbol == "function" && Symbol.for, Yn = Qn ? Symbol.for("react.element") : 60103;
|
|
1096
|
+
function qn(e) {
|
|
1097
|
+
return e.$$typeof === Yn;
|
|
1068
1098
|
}
|
|
1069
|
-
function
|
|
1099
|
+
function Kn(e) {
|
|
1070
1100
|
return Array.isArray(e) ? [] : {};
|
|
1071
1101
|
}
|
|
1072
|
-
function
|
|
1073
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1102
|
+
function je(e, t) {
|
|
1103
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? He(Kn(e), e, t) : e;
|
|
1074
1104
|
}
|
|
1075
|
-
function
|
|
1105
|
+
function ei(e, t, r) {
|
|
1076
1106
|
return e.concat(t).map(function(n) {
|
|
1077
|
-
return
|
|
1107
|
+
return je(n, r);
|
|
1078
1108
|
});
|
|
1079
1109
|
}
|
|
1080
|
-
function
|
|
1110
|
+
function ti(e, t) {
|
|
1081
1111
|
if (!t.customMerge)
|
|
1082
|
-
return
|
|
1112
|
+
return He;
|
|
1083
1113
|
var r = t.customMerge(e);
|
|
1084
|
-
return typeof r == "function" ? r :
|
|
1114
|
+
return typeof r == "function" ? r : He;
|
|
1085
1115
|
}
|
|
1086
|
-
function
|
|
1116
|
+
function ri(e) {
|
|
1087
1117
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1088
1118
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1089
1119
|
}) : [];
|
|
1090
1120
|
}
|
|
1091
|
-
function
|
|
1092
|
-
return Object.keys(e).concat(
|
|
1121
|
+
function tr(e) {
|
|
1122
|
+
return Object.keys(e).concat(ri(e));
|
|
1093
1123
|
}
|
|
1094
|
-
function
|
|
1124
|
+
function Pr(e, t) {
|
|
1095
1125
|
try {
|
|
1096
1126
|
return t in e;
|
|
1097
1127
|
} catch (r) {
|
|
1098
1128
|
return !1;
|
|
1099
1129
|
}
|
|
1100
1130
|
}
|
|
1101
|
-
function
|
|
1102
|
-
return
|
|
1131
|
+
function ni(e, t) {
|
|
1132
|
+
return Pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1103
1133
|
}
|
|
1104
|
-
function
|
|
1134
|
+
function ii(e, t, r) {
|
|
1105
1135
|
var n = {};
|
|
1106
|
-
return r.isMergeableObject(e) &&
|
|
1107
|
-
n[i] =
|
|
1108
|
-
}),
|
|
1109
|
-
|
|
1136
|
+
return r.isMergeableObject(e) && tr(e).forEach(function(i) {
|
|
1137
|
+
n[i] = je(e[i], r);
|
|
1138
|
+
}), tr(t).forEach(function(i) {
|
|
1139
|
+
ni(e, i) || (Pr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ti(i, r)(e[i], t[i], r) : n[i] = je(t[i], r));
|
|
1110
1140
|
}), n;
|
|
1111
1141
|
}
|
|
1112
|
-
function
|
|
1113
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1114
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
1115
|
-
return
|
|
1142
|
+
function He(e, t, r) {
|
|
1143
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ei, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = je;
|
|
1144
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1145
|
+
return o ? n ? r.arrayMerge(e, t, r) : ii(e, t, r) : je(t, r);
|
|
1116
1146
|
}
|
|
1117
|
-
|
|
1147
|
+
He.all = function(t, r) {
|
|
1118
1148
|
if (!Array.isArray(t))
|
|
1119
1149
|
throw new Error("first argument should be an array");
|
|
1120
1150
|
return t.reduce(function(n, i) {
|
|
1121
|
-
return
|
|
1151
|
+
return He(n, i, r);
|
|
1122
1152
|
}, {});
|
|
1123
1153
|
};
|
|
1124
|
-
var
|
|
1125
|
-
const
|
|
1126
|
-
function
|
|
1127
|
-
var r = t && t.cache ? t.cache :
|
|
1154
|
+
var oi = He, si = oi;
|
|
1155
|
+
const ai = /* @__PURE__ */ Xn(si);
|
|
1156
|
+
function dt(e, t) {
|
|
1157
|
+
var r = t && t.cache ? t.cache : pi, n = t && t.serializer ? t.serializer : fi, i = t && t.strategy ? t.strategy : li;
|
|
1128
1158
|
return i(e, {
|
|
1129
1159
|
cache: r,
|
|
1130
1160
|
serializer: n
|
|
1131
1161
|
});
|
|
1132
1162
|
}
|
|
1133
|
-
function
|
|
1163
|
+
function ui(e) {
|
|
1134
1164
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1135
1165
|
}
|
|
1136
|
-
function
|
|
1137
|
-
var i =
|
|
1138
|
-
return typeof
|
|
1166
|
+
function Cr(e, t, r, n) {
|
|
1167
|
+
var i = ui(n) ? n : r(n), o = t.get(i);
|
|
1168
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1139
1169
|
}
|
|
1140
|
-
function
|
|
1141
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
1142
|
-
return typeof
|
|
1170
|
+
function Lr(e, t, r) {
|
|
1171
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1172
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1143
1173
|
}
|
|
1144
|
-
function
|
|
1174
|
+
function Rt(e, t, r, n, i) {
|
|
1145
1175
|
return r.bind(t, e, n, i);
|
|
1146
1176
|
}
|
|
1147
|
-
function
|
|
1148
|
-
var r = e.length === 1 ?
|
|
1149
|
-
return
|
|
1177
|
+
function li(e, t) {
|
|
1178
|
+
var r = e.length === 1 ? Cr : Lr;
|
|
1179
|
+
return Rt(e, this, r, t.cache.create(), t.serializer);
|
|
1180
|
+
}
|
|
1181
|
+
function hi(e, t) {
|
|
1182
|
+
return Rt(e, this, Lr, t.cache.create(), t.serializer);
|
|
1150
1183
|
}
|
|
1151
|
-
function
|
|
1152
|
-
return
|
|
1184
|
+
function ci(e, t) {
|
|
1185
|
+
return Rt(e, this, Cr, t.cache.create(), t.serializer);
|
|
1153
1186
|
}
|
|
1154
|
-
var
|
|
1187
|
+
var fi = function() {
|
|
1155
1188
|
return JSON.stringify(arguments);
|
|
1156
|
-
}
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1164
|
-
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
}()
|
|
1168
|
-
), ai = {
|
|
1189
|
+
};
|
|
1190
|
+
function Ut() {
|
|
1191
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1192
|
+
}
|
|
1193
|
+
Ut.prototype.get = function(e) {
|
|
1194
|
+
return this.cache[e];
|
|
1195
|
+
};
|
|
1196
|
+
Ut.prototype.set = function(e, t) {
|
|
1197
|
+
this.cache[e] = t;
|
|
1198
|
+
};
|
|
1199
|
+
var pi = {
|
|
1169
1200
|
create: function() {
|
|
1170
|
-
return new
|
|
1201
|
+
return new Ut();
|
|
1171
1202
|
}
|
|
1172
|
-
},
|
|
1173
|
-
variadic:
|
|
1203
|
+
}, mt = {
|
|
1204
|
+
variadic: hi,
|
|
1205
|
+
monadic: ci
|
|
1174
1206
|
}, x;
|
|
1175
1207
|
(function(e) {
|
|
1176
1208
|
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";
|
|
1177
1209
|
})(x || (x = {}));
|
|
1178
|
-
var
|
|
1210
|
+
var P;
|
|
1179
1211
|
(function(e) {
|
|
1180
1212
|
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";
|
|
1181
|
-
})(
|
|
1182
|
-
var
|
|
1213
|
+
})(P || (P = {}));
|
|
1214
|
+
var Ae;
|
|
1183
1215
|
(function(e) {
|
|
1184
1216
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1185
|
-
})(
|
|
1186
|
-
function
|
|
1187
|
-
return e.type ===
|
|
1217
|
+
})(Ae || (Ae = {}));
|
|
1218
|
+
function rr(e) {
|
|
1219
|
+
return e.type === P.literal;
|
|
1188
1220
|
}
|
|
1189
|
-
function
|
|
1190
|
-
return e.type ===
|
|
1221
|
+
function di(e) {
|
|
1222
|
+
return e.type === P.argument;
|
|
1191
1223
|
}
|
|
1192
|
-
function
|
|
1193
|
-
return e.type ===
|
|
1224
|
+
function Ir(e) {
|
|
1225
|
+
return e.type === P.number;
|
|
1194
1226
|
}
|
|
1195
|
-
function
|
|
1196
|
-
return e.type ===
|
|
1227
|
+
function Or(e) {
|
|
1228
|
+
return e.type === P.date;
|
|
1197
1229
|
}
|
|
1198
|
-
function
|
|
1199
|
-
return e.type ===
|
|
1230
|
+
function Nr(e) {
|
|
1231
|
+
return e.type === P.time;
|
|
1200
1232
|
}
|
|
1201
|
-
function
|
|
1202
|
-
return e.type ===
|
|
1233
|
+
function Mr(e) {
|
|
1234
|
+
return e.type === P.select;
|
|
1203
1235
|
}
|
|
1204
|
-
function
|
|
1205
|
-
return e.type ===
|
|
1236
|
+
function Rr(e) {
|
|
1237
|
+
return e.type === P.plural;
|
|
1206
1238
|
}
|
|
1207
|
-
function
|
|
1208
|
-
return e.type ===
|
|
1239
|
+
function mi(e) {
|
|
1240
|
+
return e.type === P.pound;
|
|
1209
1241
|
}
|
|
1210
|
-
function
|
|
1211
|
-
return e.type ===
|
|
1242
|
+
function Ur(e) {
|
|
1243
|
+
return e.type === P.tag;
|
|
1212
1244
|
}
|
|
1213
|
-
function
|
|
1214
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1245
|
+
function Dr(e) {
|
|
1246
|
+
return !!(e && typeof e == "object" && e.type === Ae.number);
|
|
1215
1247
|
}
|
|
1216
|
-
function
|
|
1217
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1248
|
+
function At(e) {
|
|
1249
|
+
return !!(e && typeof e == "object" && e.type === Ae.dateTime);
|
|
1218
1250
|
}
|
|
1219
|
-
var
|
|
1220
|
-
function
|
|
1251
|
+
var Gr = /[ \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;
|
|
1252
|
+
function gi(e) {
|
|
1221
1253
|
var t = {};
|
|
1222
|
-
return e.replace(
|
|
1254
|
+
return e.replace(bi, function(r) {
|
|
1223
1255
|
var n = r.length;
|
|
1224
1256
|
switch (r[0]) {
|
|
1225
1257
|
case "G":
|
|
@@ -1308,17 +1340,17 @@ function ci(e) {
|
|
|
1308
1340
|
return "";
|
|
1309
1341
|
}), t;
|
|
1310
1342
|
}
|
|
1311
|
-
var
|
|
1312
|
-
function
|
|
1343
|
+
var yi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1344
|
+
function vi(e) {
|
|
1313
1345
|
if (e.length === 0)
|
|
1314
1346
|
throw new Error("Number skeleton cannot be empty");
|
|
1315
|
-
for (var t = e.split(
|
|
1347
|
+
for (var t = e.split(yi).filter(function(p) {
|
|
1316
1348
|
return p.length > 0;
|
|
1317
1349
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1318
|
-
var
|
|
1319
|
-
if (
|
|
1350
|
+
var o = i[n], s = o.split("/");
|
|
1351
|
+
if (s.length === 0)
|
|
1320
1352
|
throw new Error("Invalid number skeleton");
|
|
1321
|
-
for (var a =
|
|
1353
|
+
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1322
1354
|
var c = h[u];
|
|
1323
1355
|
if (c.length === 0)
|
|
1324
1356
|
throw new Error("Invalid number skeleton");
|
|
@@ -1327,17 +1359,17 @@ function pi(e) {
|
|
|
1327
1359
|
}
|
|
1328
1360
|
return r;
|
|
1329
1361
|
}
|
|
1330
|
-
function
|
|
1362
|
+
function _i(e) {
|
|
1331
1363
|
return e.replace(/^(.*?)-/, "");
|
|
1332
1364
|
}
|
|
1333
|
-
var
|
|
1334
|
-
function
|
|
1365
|
+
var nr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jr = /^(@+)?(\+|#+)?[rs]?$/g, Ei = /(\*)(0+)|(#+)(0+)|(0+)/g, kr = /^(0+)$/;
|
|
1366
|
+
function ir(e) {
|
|
1335
1367
|
var t = {};
|
|
1336
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1368
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jr, function(r, n, i) {
|
|
1337
1369
|
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)), "";
|
|
1338
1370
|
}), t;
|
|
1339
1371
|
}
|
|
1340
|
-
function
|
|
1372
|
+
function $r(e) {
|
|
1341
1373
|
switch (e) {
|
|
1342
1374
|
case "sign-auto":
|
|
1343
1375
|
return {
|
|
@@ -1377,7 +1409,7 @@ function Ur(e) {
|
|
|
1377
1409
|
};
|
|
1378
1410
|
}
|
|
1379
1411
|
}
|
|
1380
|
-
function
|
|
1412
|
+
function xi(e) {
|
|
1381
1413
|
var t;
|
|
1382
1414
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1383
1415
|
notation: "engineering"
|
|
@@ -1385,17 +1417,17 @@ function bi(e) {
|
|
|
1385
1417
|
notation: "scientific"
|
|
1386
1418
|
}, e = e.slice(1)), t) {
|
|
1387
1419
|
var r = e.slice(0, 2);
|
|
1388
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1420
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kr.test(e))
|
|
1389
1421
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1390
1422
|
t.minimumIntegerDigits = e.length;
|
|
1391
1423
|
}
|
|
1392
1424
|
return t;
|
|
1393
1425
|
}
|
|
1394
|
-
function
|
|
1395
|
-
var t = {}, r =
|
|
1426
|
+
function or(e) {
|
|
1427
|
+
var t = {}, r = $r(e);
|
|
1396
1428
|
return r || t;
|
|
1397
1429
|
}
|
|
1398
|
-
function
|
|
1430
|
+
function Si(e) {
|
|
1399
1431
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1400
1432
|
var i = n[r];
|
|
1401
1433
|
switch (i.stem) {
|
|
@@ -1419,7 +1451,7 @@ function gi(e) {
|
|
|
1419
1451
|
continue;
|
|
1420
1452
|
case "measure-unit":
|
|
1421
1453
|
case "unit":
|
|
1422
|
-
t.style = "unit", t.unit =
|
|
1454
|
+
t.style = "unit", t.unit = _i(i.options[0]);
|
|
1423
1455
|
continue;
|
|
1424
1456
|
case "compact-short":
|
|
1425
1457
|
case "K":
|
|
@@ -1430,13 +1462,13 @@ function gi(e) {
|
|
|
1430
1462
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1431
1463
|
continue;
|
|
1432
1464
|
case "scientific":
|
|
1433
|
-
t =
|
|
1434
|
-
return
|
|
1465
|
+
t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1466
|
+
return H(H({}, l), or(u));
|
|
1435
1467
|
}, {}));
|
|
1436
1468
|
continue;
|
|
1437
1469
|
case "engineering":
|
|
1438
|
-
t =
|
|
1439
|
-
return
|
|
1470
|
+
t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1471
|
+
return H(H({}, l), or(u));
|
|
1440
1472
|
}, {}));
|
|
1441
1473
|
continue;
|
|
1442
1474
|
case "notation-simple":
|
|
@@ -1481,7 +1513,7 @@ function gi(e) {
|
|
|
1481
1513
|
case "integer-width":
|
|
1482
1514
|
if (i.options.length > 1)
|
|
1483
1515
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1484
|
-
i.options[0].replace(
|
|
1516
|
+
i.options[0].replace(Ei, function(l, u, h, c, p, g) {
|
|
1485
1517
|
if (u)
|
|
1486
1518
|
t.minimumIntegerDigits = h.length;
|
|
1487
1519
|
else {
|
|
@@ -1494,32 +1526,32 @@ function gi(e) {
|
|
|
1494
1526
|
});
|
|
1495
1527
|
continue;
|
|
1496
1528
|
}
|
|
1497
|
-
if (
|
|
1529
|
+
if (kr.test(i.stem)) {
|
|
1498
1530
|
t.minimumIntegerDigits = i.stem.length;
|
|
1499
1531
|
continue;
|
|
1500
1532
|
}
|
|
1501
|
-
if (
|
|
1533
|
+
if (nr.test(i.stem)) {
|
|
1502
1534
|
if (i.options.length > 1)
|
|
1503
1535
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1504
|
-
i.stem.replace(
|
|
1536
|
+
i.stem.replace(nr, function(l, u, h, c, p, g) {
|
|
1505
1537
|
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && g ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1506
1538
|
});
|
|
1507
|
-
var
|
|
1508
|
-
|
|
1539
|
+
var o = i.options[0];
|
|
1540
|
+
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), ir(o)));
|
|
1509
1541
|
continue;
|
|
1510
1542
|
}
|
|
1511
|
-
if (
|
|
1512
|
-
t =
|
|
1543
|
+
if (jr.test(i.stem)) {
|
|
1544
|
+
t = H(H({}, t), ir(i.stem));
|
|
1513
1545
|
continue;
|
|
1514
1546
|
}
|
|
1515
|
-
var
|
|
1516
|
-
|
|
1517
|
-
var a =
|
|
1518
|
-
a && (t =
|
|
1547
|
+
var s = $r(i.stem);
|
|
1548
|
+
s && (t = H(H({}, t), s));
|
|
1549
|
+
var a = xi(i.stem);
|
|
1550
|
+
a && (t = H(H({}, t), a));
|
|
1519
1551
|
}
|
|
1520
1552
|
return t;
|
|
1521
1553
|
}
|
|
1522
|
-
var
|
|
1554
|
+
var Qe = {
|
|
1523
1555
|
"001": [
|
|
1524
1556
|
"H",
|
|
1525
1557
|
"h"
|
|
@@ -2934,22 +2966,22 @@ var Ze = {
|
|
|
2934
2966
|
"h"
|
|
2935
2967
|
]
|
|
2936
2968
|
};
|
|
2937
|
-
function
|
|
2969
|
+
function Ti(e, t) {
|
|
2938
2970
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2939
2971
|
var i = e.charAt(n);
|
|
2940
2972
|
if (i === "j") {
|
|
2941
|
-
for (var
|
|
2942
|
-
|
|
2943
|
-
var
|
|
2973
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2974
|
+
o++, n++;
|
|
2975
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = wi(t);
|
|
2944
2976
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2945
2977
|
r += l;
|
|
2946
|
-
for (;
|
|
2978
|
+
for (; s-- > 0; )
|
|
2947
2979
|
r = u + r;
|
|
2948
2980
|
} else i === "J" ? r += "H" : r += i;
|
|
2949
2981
|
}
|
|
2950
2982
|
return r;
|
|
2951
2983
|
}
|
|
2952
|
-
function
|
|
2984
|
+
function wi(e) {
|
|
2953
2985
|
var t = e.hourCycle;
|
|
2954
2986
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2955
2987
|
e.hourCycles && // @ts-ignore
|
|
@@ -2968,23 +3000,23 @@ function vi(e) {
|
|
|
2968
3000
|
}
|
|
2969
3001
|
var r = e.language, n;
|
|
2970
3002
|
r !== "root" && (n = e.maximize().region);
|
|
2971
|
-
var i =
|
|
3003
|
+
var i = Qe[n || ""] || Qe[r || ""] || Qe["".concat(r, "-001")] || Qe["001"];
|
|
2972
3004
|
return i[0];
|
|
2973
3005
|
}
|
|
2974
|
-
var
|
|
3006
|
+
var bt, Hi = new RegExp("^".concat(Gr.source, "*")), Ai = new RegExp("".concat(Gr.source, "*$"));
|
|
2975
3007
|
function S(e, t) {
|
|
2976
3008
|
return { start: e, end: t };
|
|
2977
3009
|
}
|
|
2978
|
-
var
|
|
3010
|
+
var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pi = !!String.fromCodePoint, Ci = !!Object.fromEntries, Li = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Oi = !!String.prototype.trimEnd, Ni = !!Number.isSafeInteger, Mi = Ni ? Number.isSafeInteger : function(e) {
|
|
2979
3011
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2980
|
-
},
|
|
3012
|
+
}, Bt = !0;
|
|
2981
3013
|
try {
|
|
2982
|
-
var
|
|
2983
|
-
|
|
3014
|
+
var Ri = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3015
|
+
Bt = ((bt = Ri.exec("a")) === null || bt === void 0 ? void 0 : bt[0]) === "a";
|
|
2984
3016
|
} catch (e) {
|
|
2985
|
-
|
|
3017
|
+
Bt = !1;
|
|
2986
3018
|
}
|
|
2987
|
-
var
|
|
3019
|
+
var sr = Bi ? (
|
|
2988
3020
|
// Native
|
|
2989
3021
|
function(t, r, n) {
|
|
2990
3022
|
return t.startsWith(r, n);
|
|
@@ -2994,31 +3026,31 @@ var nr = Ei ? (
|
|
|
2994
3026
|
function(t, r, n) {
|
|
2995
3027
|
return t.slice(n, n + r.length) === r;
|
|
2996
3028
|
}
|
|
2997
|
-
),
|
|
3029
|
+
), Pt = Pi ? String.fromCodePoint : (
|
|
2998
3030
|
// IE11
|
|
2999
3031
|
function() {
|
|
3000
3032
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3001
3033
|
t[r] = arguments[r];
|
|
3002
|
-
for (var n = "", i = t.length,
|
|
3003
|
-
if (
|
|
3004
|
-
throw RangeError(
|
|
3005
|
-
n +=
|
|
3034
|
+
for (var n = "", i = t.length, o = 0, s; i > o; ) {
|
|
3035
|
+
if (s = t[o++], s > 1114111)
|
|
3036
|
+
throw RangeError(s + " is not a valid code point");
|
|
3037
|
+
n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
|
|
3006
3038
|
}
|
|
3007
3039
|
return n;
|
|
3008
3040
|
}
|
|
3009
|
-
),
|
|
3041
|
+
), ar = (
|
|
3010
3042
|
// native
|
|
3011
|
-
|
|
3043
|
+
Ci ? Object.fromEntries : (
|
|
3012
3044
|
// Ponyfill
|
|
3013
3045
|
function(t) {
|
|
3014
3046
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3015
|
-
var
|
|
3016
|
-
r[
|
|
3047
|
+
var o = i[n], s = o[0], a = o[1];
|
|
3048
|
+
r[s] = a;
|
|
3017
3049
|
}
|
|
3018
3050
|
return r;
|
|
3019
3051
|
}
|
|
3020
3052
|
)
|
|
3021
|
-
),
|
|
3053
|
+
), Fr = Li ? (
|
|
3022
3054
|
// Native
|
|
3023
3055
|
function(t, r) {
|
|
3024
3056
|
return t.codePointAt(r);
|
|
@@ -3028,11 +3060,11 @@ var nr = Ei ? (
|
|
|
3028
3060
|
function(t, r) {
|
|
3029
3061
|
var n = t.length;
|
|
3030
3062
|
if (!(r < 0 || r >= n)) {
|
|
3031
|
-
var i = t.charCodeAt(r),
|
|
3032
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
3063
|
+
var i = t.charCodeAt(r), o;
|
|
3064
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3033
3065
|
}
|
|
3034
3066
|
}
|
|
3035
|
-
),
|
|
3067
|
+
), Ui = Ii ? (
|
|
3036
3068
|
// Native
|
|
3037
3069
|
function(t) {
|
|
3038
3070
|
return t.trimStart();
|
|
@@ -3040,9 +3072,9 @@ var nr = Ei ? (
|
|
|
3040
3072
|
) : (
|
|
3041
3073
|
// Ponyfill
|
|
3042
3074
|
function(t) {
|
|
3043
|
-
return t.replace(
|
|
3075
|
+
return t.replace(Hi, "");
|
|
3044
3076
|
}
|
|
3045
|
-
),
|
|
3077
|
+
), Di = Oi ? (
|
|
3046
3078
|
// Native
|
|
3047
3079
|
function(t) {
|
|
3048
3080
|
return t.trimEnd();
|
|
@@ -3050,32 +3082,32 @@ var nr = Ei ? (
|
|
|
3050
3082
|
) : (
|
|
3051
3083
|
// Ponyfill
|
|
3052
3084
|
function(t) {
|
|
3053
|
-
return t.replace(
|
|
3085
|
+
return t.replace(Ai, "");
|
|
3054
3086
|
}
|
|
3055
3087
|
);
|
|
3056
|
-
function
|
|
3088
|
+
function Vr(e, t) {
|
|
3057
3089
|
return new RegExp(e, t);
|
|
3058
3090
|
}
|
|
3059
|
-
var
|
|
3060
|
-
if (
|
|
3061
|
-
var
|
|
3062
|
-
|
|
3091
|
+
var Ct;
|
|
3092
|
+
if (Bt) {
|
|
3093
|
+
var ur = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3094
|
+
Ct = function(t, r) {
|
|
3063
3095
|
var n;
|
|
3064
|
-
|
|
3065
|
-
var i =
|
|
3096
|
+
ur.lastIndex = r;
|
|
3097
|
+
var i = ur.exec(t);
|
|
3066
3098
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3067
3099
|
};
|
|
3068
3100
|
} else
|
|
3069
|
-
|
|
3101
|
+
Ct = function(t, r) {
|
|
3070
3102
|
for (var n = []; ; ) {
|
|
3071
|
-
var i =
|
|
3072
|
-
if (i === void 0 ||
|
|
3103
|
+
var i = Fr(t, r);
|
|
3104
|
+
if (i === void 0 || Wr(i) || $i(i))
|
|
3073
3105
|
break;
|
|
3074
3106
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3075
3107
|
}
|
|
3076
|
-
return
|
|
3108
|
+
return Pt.apply(void 0, n);
|
|
3077
3109
|
};
|
|
3078
|
-
var
|
|
3110
|
+
var Gi = (
|
|
3079
3111
|
/** @class */
|
|
3080
3112
|
function() {
|
|
3081
3113
|
function e(t, r) {
|
|
@@ -3087,35 +3119,35 @@ var Li = (
|
|
|
3087
3119
|
return this.parseMessage(0, "", !1);
|
|
3088
3120
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3089
3121
|
for (var i = []; !this.isEOF(); ) {
|
|
3090
|
-
var
|
|
3091
|
-
if (
|
|
3092
|
-
var
|
|
3093
|
-
if (
|
|
3094
|
-
return
|
|
3095
|
-
i.push(
|
|
3122
|
+
var o = this.char();
|
|
3123
|
+
if (o === 123) {
|
|
3124
|
+
var s = this.parseArgument(t, n);
|
|
3125
|
+
if (s.err)
|
|
3126
|
+
return s;
|
|
3127
|
+
i.push(s.val);
|
|
3096
3128
|
} else {
|
|
3097
|
-
if (
|
|
3129
|
+
if (o === 125 && t > 0)
|
|
3098
3130
|
break;
|
|
3099
|
-
if (
|
|
3131
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3100
3132
|
var a = this.clonePosition();
|
|
3101
3133
|
this.bump(), i.push({
|
|
3102
|
-
type:
|
|
3134
|
+
type: P.pound,
|
|
3103
3135
|
location: S(a, this.clonePosition())
|
|
3104
3136
|
});
|
|
3105
|
-
} else if (
|
|
3137
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3106
3138
|
if (n)
|
|
3107
3139
|
break;
|
|
3108
3140
|
return this.error(x.UNMATCHED_CLOSING_TAG, S(this.clonePosition(), this.clonePosition()));
|
|
3109
|
-
} else if (
|
|
3110
|
-
var
|
|
3111
|
-
if (
|
|
3112
|
-
return
|
|
3113
|
-
i.push(
|
|
3141
|
+
} else if (o === 60 && !this.ignoreTag && Lt(this.peek() || 0)) {
|
|
3142
|
+
var s = this.parseTag(t, r);
|
|
3143
|
+
if (s.err)
|
|
3144
|
+
return s;
|
|
3145
|
+
i.push(s.val);
|
|
3114
3146
|
} else {
|
|
3115
|
-
var
|
|
3116
|
-
if (
|
|
3117
|
-
return
|
|
3118
|
-
i.push(
|
|
3147
|
+
var s = this.parseLiteral(t, r);
|
|
3148
|
+
if (s.err)
|
|
3149
|
+
return s;
|
|
3150
|
+
i.push(s.val);
|
|
3119
3151
|
}
|
|
3120
3152
|
}
|
|
3121
3153
|
}
|
|
@@ -3127,26 +3159,26 @@ var Li = (
|
|
|
3127
3159
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3128
3160
|
return {
|
|
3129
3161
|
val: {
|
|
3130
|
-
type:
|
|
3162
|
+
type: P.literal,
|
|
3131
3163
|
value: "<".concat(i, "/>"),
|
|
3132
3164
|
location: S(n, this.clonePosition())
|
|
3133
3165
|
},
|
|
3134
3166
|
err: null
|
|
3135
3167
|
};
|
|
3136
3168
|
if (this.bumpIf(">")) {
|
|
3137
|
-
var
|
|
3138
|
-
if (
|
|
3139
|
-
return
|
|
3140
|
-
var
|
|
3169
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
3170
|
+
if (o.err)
|
|
3171
|
+
return o;
|
|
3172
|
+
var s = o.val, a = this.clonePosition();
|
|
3141
3173
|
if (this.bumpIf("</")) {
|
|
3142
|
-
if (this.isEOF() || !
|
|
3174
|
+
if (this.isEOF() || !Lt(this.char()))
|
|
3143
3175
|
return this.error(x.INVALID_TAG, S(a, this.clonePosition()));
|
|
3144
3176
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3145
3177
|
return i !== u ? this.error(x.UNMATCHED_CLOSING_TAG, S(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3146
3178
|
val: {
|
|
3147
|
-
type:
|
|
3179
|
+
type: P.tag,
|
|
3148
3180
|
value: i,
|
|
3149
|
-
children:
|
|
3181
|
+
children: s,
|
|
3150
3182
|
location: S(n, this.clonePosition())
|
|
3151
3183
|
},
|
|
3152
3184
|
err: null
|
|
@@ -3157,21 +3189,21 @@ var Li = (
|
|
|
3157
3189
|
return this.error(x.INVALID_TAG, S(n, this.clonePosition()));
|
|
3158
3190
|
}, e.prototype.parseTagName = function() {
|
|
3159
3191
|
var t = this.offset();
|
|
3160
|
-
for (this.bump(); !this.isEOF() &&
|
|
3192
|
+
for (this.bump(); !this.isEOF() && ki(this.char()); )
|
|
3161
3193
|
this.bump();
|
|
3162
3194
|
return this.message.slice(t, this.offset());
|
|
3163
3195
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3164
3196
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3165
|
-
var
|
|
3166
|
-
if (s) {
|
|
3167
|
-
i += s;
|
|
3168
|
-
continue;
|
|
3169
|
-
}
|
|
3170
|
-
var o = this.tryParseUnquoted(t, r);
|
|
3197
|
+
var o = this.tryParseQuote(r);
|
|
3171
3198
|
if (o) {
|
|
3172
3199
|
i += o;
|
|
3173
3200
|
continue;
|
|
3174
3201
|
}
|
|
3202
|
+
var s = this.tryParseUnquoted(t, r);
|
|
3203
|
+
if (s) {
|
|
3204
|
+
i += s;
|
|
3205
|
+
continue;
|
|
3206
|
+
}
|
|
3175
3207
|
var a = this.tryParseLeftAngleBracket();
|
|
3176
3208
|
if (a) {
|
|
3177
3209
|
i += a;
|
|
@@ -3181,12 +3213,12 @@ var Li = (
|
|
|
3181
3213
|
}
|
|
3182
3214
|
var l = S(n, this.clonePosition());
|
|
3183
3215
|
return {
|
|
3184
|
-
val: { type:
|
|
3216
|
+
val: { type: P.literal, value: i, location: l },
|
|
3185
3217
|
err: null
|
|
3186
3218
|
};
|
|
3187
3219
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3188
3220
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3189
|
-
!
|
|
3221
|
+
!ji(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3190
3222
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3191
3223
|
if (this.isEOF() || this.char() !== 39)
|
|
3192
3224
|
return null;
|
|
@@ -3220,12 +3252,12 @@ var Li = (
|
|
|
3220
3252
|
r.push(n);
|
|
3221
3253
|
this.bump();
|
|
3222
3254
|
}
|
|
3223
|
-
return
|
|
3255
|
+
return Pt.apply(void 0, r);
|
|
3224
3256
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3225
3257
|
if (this.isEOF())
|
|
3226
3258
|
return null;
|
|
3227
3259
|
var n = this.char();
|
|
3228
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3260
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Pt(n));
|
|
3229
3261
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3230
3262
|
var n = this.clonePosition();
|
|
3231
3263
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3241,7 +3273,7 @@ var Li = (
|
|
|
3241
3273
|
case 125:
|
|
3242
3274
|
return this.bump(), {
|
|
3243
3275
|
val: {
|
|
3244
|
-
type:
|
|
3276
|
+
type: P.argument,
|
|
3245
3277
|
// value does not include the opening and closing braces.
|
|
3246
3278
|
value: i,
|
|
3247
3279
|
location: S(n, this.clonePosition())
|
|
@@ -3254,15 +3286,15 @@ var Li = (
|
|
|
3254
3286
|
return this.error(x.MALFORMED_ARGUMENT, S(n, this.clonePosition()));
|
|
3255
3287
|
}
|
|
3256
3288
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3257
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3289
|
+
var t = this.clonePosition(), r = this.offset(), n = Ct(this.message, r), i = r + n.length;
|
|
3258
3290
|
this.bumpTo(i);
|
|
3259
|
-
var
|
|
3260
|
-
return { value: n, location:
|
|
3291
|
+
var o = this.clonePosition(), s = S(t, o);
|
|
3292
|
+
return { value: n, location: s };
|
|
3261
3293
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3262
|
-
var
|
|
3294
|
+
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3263
3295
|
switch (a) {
|
|
3264
3296
|
case "":
|
|
3265
|
-
return this.error(x.EXPECT_ARGUMENT_TYPE, S(
|
|
3297
|
+
return this.error(x.EXPECT_ARGUMENT_TYPE, S(s, l));
|
|
3266
3298
|
case "number":
|
|
3267
3299
|
case "date":
|
|
3268
3300
|
case "time": {
|
|
@@ -3273,7 +3305,7 @@ var Li = (
|
|
|
3273
3305
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3274
3306
|
if (c.err)
|
|
3275
3307
|
return c;
|
|
3276
|
-
var p =
|
|
3308
|
+
var p = Di(c.val);
|
|
3277
3309
|
if (p.length === 0)
|
|
3278
3310
|
return this.error(x.EXPECT_ARGUMENT_STYLE, S(this.clonePosition(), this.clonePosition()));
|
|
3279
3311
|
var g = S(h, this.clonePosition());
|
|
@@ -3283,37 +3315,37 @@ var Li = (
|
|
|
3283
3315
|
if (y.err)
|
|
3284
3316
|
return y;
|
|
3285
3317
|
var _ = S(i, this.clonePosition());
|
|
3286
|
-
if (u &&
|
|
3287
|
-
var
|
|
3318
|
+
if (u && sr(u == null ? void 0 : u.style, "::", 0)) {
|
|
3319
|
+
var v = Ui(u.style.slice(2));
|
|
3288
3320
|
if (a === "number") {
|
|
3289
|
-
var c = this.parseNumberSkeletonFromString(
|
|
3321
|
+
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
3290
3322
|
return c.err ? c : {
|
|
3291
|
-
val: { type:
|
|
3323
|
+
val: { type: P.number, value: n, location: _, style: c.val },
|
|
3292
3324
|
err: null
|
|
3293
3325
|
};
|
|
3294
3326
|
} else {
|
|
3295
|
-
if (
|
|
3327
|
+
if (v.length === 0)
|
|
3296
3328
|
return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
|
|
3297
|
-
var
|
|
3298
|
-
this.locale && (
|
|
3329
|
+
var E = v;
|
|
3330
|
+
this.locale && (E = Ti(v, this.locale));
|
|
3299
3331
|
var p = {
|
|
3300
|
-
type:
|
|
3301
|
-
pattern:
|
|
3332
|
+
type: Ae.dateTime,
|
|
3333
|
+
pattern: E,
|
|
3302
3334
|
location: u.styleLocation,
|
|
3303
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3304
|
-
},
|
|
3335
|
+
parsedOptions: this.shouldParseSkeletons ? gi(E) : {}
|
|
3336
|
+
}, T = a === "date" ? P.date : P.time;
|
|
3305
3337
|
return {
|
|
3306
|
-
val: { type:
|
|
3338
|
+
val: { type: T, value: n, location: _, style: p },
|
|
3307
3339
|
err: null
|
|
3308
3340
|
};
|
|
3309
3341
|
}
|
|
3310
3342
|
}
|
|
3311
3343
|
return {
|
|
3312
3344
|
val: {
|
|
3313
|
-
type: a === "number" ?
|
|
3345
|
+
type: a === "number" ? P.number : a === "date" ? P.date : P.time,
|
|
3314
3346
|
value: n,
|
|
3315
3347
|
location: _,
|
|
3316
|
-
style: (
|
|
3348
|
+
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
3317
3349
|
},
|
|
3318
3350
|
err: null
|
|
3319
3351
|
};
|
|
@@ -3321,49 +3353,49 @@ var Li = (
|
|
|
3321
3353
|
case "plural":
|
|
3322
3354
|
case "selectordinal":
|
|
3323
3355
|
case "select": {
|
|
3324
|
-
var
|
|
3356
|
+
var B = this.clonePosition();
|
|
3325
3357
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3326
|
-
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, S(
|
|
3358
|
+
return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, S(B, H({}, B)));
|
|
3327
3359
|
this.bumpSpace();
|
|
3328
|
-
var
|
|
3329
|
-
if (a !== "select" &&
|
|
3360
|
+
var U = this.parseIdentifierIfPossible(), O = 0;
|
|
3361
|
+
if (a !== "select" && U.value === "offset") {
|
|
3330
3362
|
if (!this.bumpIf(":"))
|
|
3331
3363
|
return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, S(this.clonePosition(), this.clonePosition()));
|
|
3332
3364
|
this.bumpSpace();
|
|
3333
3365
|
var c = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3334
3366
|
if (c.err)
|
|
3335
3367
|
return c;
|
|
3336
|
-
this.bumpSpace(),
|
|
3368
|
+
this.bumpSpace(), U = this.parseIdentifierIfPossible(), O = c.val;
|
|
3337
3369
|
}
|
|
3338
|
-
var
|
|
3339
|
-
if (
|
|
3340
|
-
return
|
|
3370
|
+
var k = this.tryParsePluralOrSelectOptions(t, a, r, U);
|
|
3371
|
+
if (k.err)
|
|
3372
|
+
return k;
|
|
3341
3373
|
var y = this.tryParseArgumentClose(i);
|
|
3342
3374
|
if (y.err)
|
|
3343
3375
|
return y;
|
|
3344
|
-
var
|
|
3376
|
+
var X = S(i, this.clonePosition());
|
|
3345
3377
|
return a === "select" ? {
|
|
3346
3378
|
val: {
|
|
3347
|
-
type:
|
|
3379
|
+
type: P.select,
|
|
3348
3380
|
value: n,
|
|
3349
|
-
options:
|
|
3350
|
-
location:
|
|
3381
|
+
options: ar(k.val),
|
|
3382
|
+
location: X
|
|
3351
3383
|
},
|
|
3352
3384
|
err: null
|
|
3353
3385
|
} : {
|
|
3354
3386
|
val: {
|
|
3355
|
-
type:
|
|
3387
|
+
type: P.plural,
|
|
3356
3388
|
value: n,
|
|
3357
|
-
options:
|
|
3358
|
-
offset:
|
|
3389
|
+
options: ar(k.val),
|
|
3390
|
+
offset: O,
|
|
3359
3391
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3360
|
-
location:
|
|
3392
|
+
location: X
|
|
3361
3393
|
},
|
|
3362
3394
|
err: null
|
|
3363
3395
|
};
|
|
3364
3396
|
}
|
|
3365
3397
|
default:
|
|
3366
|
-
return this.error(x.INVALID_ARGUMENT_TYPE, S(
|
|
3398
|
+
return this.error(x.INVALID_ARGUMENT_TYPE, S(s, l));
|
|
3367
3399
|
}
|
|
3368
3400
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3369
3401
|
return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, S(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
@@ -3405,21 +3437,21 @@ var Li = (
|
|
|
3405
3437
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3406
3438
|
var n = [];
|
|
3407
3439
|
try {
|
|
3408
|
-
n =
|
|
3440
|
+
n = vi(t);
|
|
3409
3441
|
} catch (i) {
|
|
3410
3442
|
return this.error(x.INVALID_NUMBER_SKELETON, r);
|
|
3411
3443
|
}
|
|
3412
3444
|
return {
|
|
3413
3445
|
val: {
|
|
3414
|
-
type:
|
|
3446
|
+
type: Ae.number,
|
|
3415
3447
|
tokens: n,
|
|
3416
3448
|
location: r,
|
|
3417
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3449
|
+
parsedOptions: this.shouldParseSkeletons ? Si(n) : {}
|
|
3418
3450
|
},
|
|
3419
3451
|
err: null
|
|
3420
3452
|
};
|
|
3421
3453
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3422
|
-
for (var
|
|
3454
|
+
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3423
3455
|
if (u.length === 0) {
|
|
3424
3456
|
var c = this.clonePosition();
|
|
3425
3457
|
if (r !== "select" && this.bumpIf("=")) {
|
|
@@ -3432,7 +3464,7 @@ var Li = (
|
|
|
3432
3464
|
}
|
|
3433
3465
|
if (l.has(u))
|
|
3434
3466
|
return this.error(r === "select" ? x.DUPLICATE_SELECT_ARGUMENT_SELECTOR : x.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3435
|
-
u === "other" && (
|
|
3467
|
+
u === "other" && (s = !0), this.bumpSpace();
|
|
3436
3468
|
var g = this.clonePosition();
|
|
3437
3469
|
if (!this.bumpIf("{"))
|
|
3438
3470
|
return this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, S(this.clonePosition(), this.clonePosition()));
|
|
@@ -3448,21 +3480,21 @@ var Li = (
|
|
|
3448
3480
|
value: y.val,
|
|
3449
3481
|
location: S(g, this.clonePosition())
|
|
3450
3482
|
}
|
|
3451
|
-
]), l.add(u), this.bumpSpace(),
|
|
3483
|
+
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3452
3484
|
}
|
|
3453
|
-
return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !
|
|
3485
|
+
return a.length === 0 ? this.error(r === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, S(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, S(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3454
3486
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3455
3487
|
var n = 1, i = this.clonePosition();
|
|
3456
3488
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3457
|
-
for (var
|
|
3489
|
+
for (var o = !1, s = 0; !this.isEOF(); ) {
|
|
3458
3490
|
var a = this.char();
|
|
3459
3491
|
if (a >= 48 && a <= 57)
|
|
3460
|
-
|
|
3492
|
+
o = !0, s = s * 10 + (a - 48), this.bump();
|
|
3461
3493
|
else
|
|
3462
3494
|
break;
|
|
3463
3495
|
}
|
|
3464
3496
|
var l = S(i, this.clonePosition());
|
|
3465
|
-
return
|
|
3497
|
+
return o ? (s *= n, Mi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3466
3498
|
}, e.prototype.offset = function() {
|
|
3467
3499
|
return this.position.offset;
|
|
3468
3500
|
}, e.prototype.isEOF = function() {
|
|
@@ -3477,7 +3509,7 @@ var Li = (
|
|
|
3477
3509
|
var t = this.position.offset;
|
|
3478
3510
|
if (t >= this.message.length)
|
|
3479
3511
|
throw Error("out of bound");
|
|
3480
|
-
var r =
|
|
3512
|
+
var r = Fr(this.message, t);
|
|
3481
3513
|
if (r === void 0)
|
|
3482
3514
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3483
3515
|
return r;
|
|
@@ -3496,7 +3528,7 @@ var Li = (
|
|
|
3496
3528
|
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);
|
|
3497
3529
|
}
|
|
3498
3530
|
}, e.prototype.bumpIf = function(t) {
|
|
3499
|
-
if (
|
|
3531
|
+
if (sr(this.message, t, this.offset())) {
|
|
3500
3532
|
for (var r = 0; r < t.length; r++)
|
|
3501
3533
|
this.bump();
|
|
3502
3534
|
return !0;
|
|
@@ -3518,7 +3550,7 @@ var Li = (
|
|
|
3518
3550
|
break;
|
|
3519
3551
|
}
|
|
3520
3552
|
}, e.prototype.bumpSpace = function() {
|
|
3521
|
-
for (; !this.isEOF() &&
|
|
3553
|
+
for (; !this.isEOF() && Wr(this.char()); )
|
|
3522
3554
|
this.bump();
|
|
3523
3555
|
}, e.prototype.peek = function() {
|
|
3524
3556
|
if (this.isEOF())
|
|
@@ -3528,203 +3560,203 @@ var Li = (
|
|
|
3528
3560
|
}, e;
|
|
3529
3561
|
}()
|
|
3530
3562
|
);
|
|
3531
|
-
function
|
|
3563
|
+
function Lt(e) {
|
|
3532
3564
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3533
3565
|
}
|
|
3534
|
-
function
|
|
3535
|
-
return
|
|
3566
|
+
function ji(e) {
|
|
3567
|
+
return Lt(e) || e === 47;
|
|
3536
3568
|
}
|
|
3537
|
-
function
|
|
3569
|
+
function ki(e) {
|
|
3538
3570
|
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;
|
|
3539
3571
|
}
|
|
3540
|
-
function
|
|
3572
|
+
function Wr(e) {
|
|
3541
3573
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3542
3574
|
}
|
|
3543
|
-
function
|
|
3575
|
+
function $i(e) {
|
|
3544
3576
|
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;
|
|
3545
3577
|
}
|
|
3546
|
-
function
|
|
3578
|
+
function It(e) {
|
|
3547
3579
|
e.forEach(function(t) {
|
|
3548
|
-
if (delete t.location,
|
|
3580
|
+
if (delete t.location, Mr(t) || Rr(t))
|
|
3549
3581
|
for (var r in t.options)
|
|
3550
|
-
delete t.options[r].location,
|
|
3551
|
-
else
|
|
3582
|
+
delete t.options[r].location, It(t.options[r].value);
|
|
3583
|
+
else Ir(t) && Dr(t.style) || (Or(t) || Nr(t)) && At(t.style) ? delete t.style.location : Ur(t) && It(t.children);
|
|
3552
3584
|
});
|
|
3553
3585
|
}
|
|
3554
|
-
function
|
|
3555
|
-
t === void 0 && (t = {}), t =
|
|
3556
|
-
var r = new
|
|
3586
|
+
function Fi(e, t) {
|
|
3587
|
+
t === void 0 && (t = {}), t = H({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3588
|
+
var r = new Gi(e, t).parse();
|
|
3557
3589
|
if (r.err) {
|
|
3558
3590
|
var n = SyntaxError(x[r.err.kind]);
|
|
3559
3591
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3560
3592
|
}
|
|
3561
|
-
return t != null && t.captureLocation ||
|
|
3593
|
+
return t != null && t.captureLocation || It(r.val), r.val;
|
|
3562
3594
|
}
|
|
3563
|
-
var
|
|
3595
|
+
var Be;
|
|
3564
3596
|
(function(e) {
|
|
3565
3597
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3566
|
-
})(
|
|
3567
|
-
var
|
|
3598
|
+
})(Be || (Be = {}));
|
|
3599
|
+
var ot = (
|
|
3568
3600
|
/** @class */
|
|
3569
3601
|
function(e) {
|
|
3570
|
-
|
|
3602
|
+
re(t, e);
|
|
3571
3603
|
function t(r, n, i) {
|
|
3572
|
-
var
|
|
3573
|
-
return
|
|
3604
|
+
var o = e.call(this, r) || this;
|
|
3605
|
+
return o.code = n, o.originalMessage = i, o;
|
|
3574
3606
|
}
|
|
3575
3607
|
return t.prototype.toString = function() {
|
|
3576
3608
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3577
3609
|
}, t;
|
|
3578
3610
|
}(Error)
|
|
3579
|
-
),
|
|
3611
|
+
), lr = (
|
|
3580
3612
|
/** @class */
|
|
3581
3613
|
function(e) {
|
|
3582
|
-
|
|
3583
|
-
function t(r, n, i,
|
|
3584
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3614
|
+
re(t, e);
|
|
3615
|
+
function t(r, n, i, o) {
|
|
3616
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Be.INVALID_VALUE, o) || this;
|
|
3585
3617
|
}
|
|
3586
3618
|
return t;
|
|
3587
|
-
}(
|
|
3588
|
-
),
|
|
3619
|
+
}(ot)
|
|
3620
|
+
), Vi = (
|
|
3589
3621
|
/** @class */
|
|
3590
3622
|
function(e) {
|
|
3591
|
-
|
|
3623
|
+
re(t, e);
|
|
3592
3624
|
function t(r, n, i) {
|
|
3593
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3625
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Be.INVALID_VALUE, i) || this;
|
|
3594
3626
|
}
|
|
3595
3627
|
return t;
|
|
3596
|
-
}(
|
|
3597
|
-
),
|
|
3628
|
+
}(ot)
|
|
3629
|
+
), Wi = (
|
|
3598
3630
|
/** @class */
|
|
3599
3631
|
function(e) {
|
|
3600
|
-
|
|
3632
|
+
re(t, e);
|
|
3601
3633
|
function t(r, n) {
|
|
3602
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3634
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Be.MISSING_VALUE, n) || this;
|
|
3603
3635
|
}
|
|
3604
3636
|
return t;
|
|
3605
|
-
}(
|
|
3606
|
-
),
|
|
3637
|
+
}(ot)
|
|
3638
|
+
), R;
|
|
3607
3639
|
(function(e) {
|
|
3608
3640
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3609
|
-
})(
|
|
3610
|
-
function
|
|
3641
|
+
})(R || (R = {}));
|
|
3642
|
+
function Xi(e) {
|
|
3611
3643
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3612
3644
|
var n = t[t.length - 1];
|
|
3613
|
-
return !n || n.type !==
|
|
3645
|
+
return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
|
|
3614
3646
|
}, []);
|
|
3615
3647
|
}
|
|
3616
|
-
function
|
|
3648
|
+
function zi(e) {
|
|
3617
3649
|
return typeof e == "function";
|
|
3618
3650
|
}
|
|
3619
|
-
function
|
|
3620
|
-
if (e.length === 1 &&
|
|
3651
|
+
function Ke(e, t, r, n, i, o, s) {
|
|
3652
|
+
if (e.length === 1 && rr(e[0]))
|
|
3621
3653
|
return [
|
|
3622
3654
|
{
|
|
3623
|
-
type:
|
|
3655
|
+
type: R.literal,
|
|
3624
3656
|
value: e[0].value
|
|
3625
3657
|
}
|
|
3626
3658
|
];
|
|
3627
3659
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3628
3660
|
var h = u[l];
|
|
3629
|
-
if (
|
|
3661
|
+
if (rr(h)) {
|
|
3630
3662
|
a.push({
|
|
3631
|
-
type:
|
|
3663
|
+
type: R.literal,
|
|
3632
3664
|
value: h.value
|
|
3633
3665
|
});
|
|
3634
3666
|
continue;
|
|
3635
3667
|
}
|
|
3636
|
-
if (
|
|
3637
|
-
typeof
|
|
3638
|
-
type:
|
|
3639
|
-
value: r.getNumberFormat(t).format(
|
|
3668
|
+
if (mi(h)) {
|
|
3669
|
+
typeof o == "number" && a.push({
|
|
3670
|
+
type: R.literal,
|
|
3671
|
+
value: r.getNumberFormat(t).format(o)
|
|
3640
3672
|
});
|
|
3641
3673
|
continue;
|
|
3642
3674
|
}
|
|
3643
3675
|
var c = h.value;
|
|
3644
3676
|
if (!(i && c in i))
|
|
3645
|
-
throw new
|
|
3677
|
+
throw new Wi(c, s);
|
|
3646
3678
|
var p = i[c];
|
|
3647
|
-
if (
|
|
3679
|
+
if (di(h)) {
|
|
3648
3680
|
(!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
|
|
3649
|
-
type: typeof p == "string" ?
|
|
3681
|
+
type: typeof p == "string" ? R.literal : R.object,
|
|
3650
3682
|
value: p
|
|
3651
3683
|
});
|
|
3652
3684
|
continue;
|
|
3653
3685
|
}
|
|
3654
|
-
if (
|
|
3655
|
-
var g = typeof h.style == "string" ? n.date[h.style] :
|
|
3686
|
+
if (Or(h)) {
|
|
3687
|
+
var g = typeof h.style == "string" ? n.date[h.style] : At(h.style) ? h.style.parsedOptions : void 0;
|
|
3656
3688
|
a.push({
|
|
3657
|
-
type:
|
|
3689
|
+
type: R.literal,
|
|
3658
3690
|
value: r.getDateTimeFormat(t, g).format(p)
|
|
3659
3691
|
});
|
|
3660
3692
|
continue;
|
|
3661
3693
|
}
|
|
3662
|
-
if (
|
|
3663
|
-
var g = typeof h.style == "string" ? n.time[h.style] :
|
|
3694
|
+
if (Nr(h)) {
|
|
3695
|
+
var g = typeof h.style == "string" ? n.time[h.style] : At(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3664
3696
|
a.push({
|
|
3665
|
-
type:
|
|
3697
|
+
type: R.literal,
|
|
3666
3698
|
value: r.getDateTimeFormat(t, g).format(p)
|
|
3667
3699
|
});
|
|
3668
3700
|
continue;
|
|
3669
3701
|
}
|
|
3670
|
-
if (
|
|
3671
|
-
var g = typeof h.style == "string" ? n.number[h.style] :
|
|
3702
|
+
if (Ir(h)) {
|
|
3703
|
+
var g = typeof h.style == "string" ? n.number[h.style] : Dr(h.style) ? h.style.parsedOptions : void 0;
|
|
3672
3704
|
g && g.scale && (p = p * (g.scale || 1)), a.push({
|
|
3673
|
-
type:
|
|
3705
|
+
type: R.literal,
|
|
3674
3706
|
value: r.getNumberFormat(t, g).format(p)
|
|
3675
3707
|
});
|
|
3676
3708
|
continue;
|
|
3677
3709
|
}
|
|
3678
|
-
if (
|
|
3679
|
-
var y = h.children, _ = h.value,
|
|
3680
|
-
if (!
|
|
3681
|
-
throw new
|
|
3682
|
-
var
|
|
3683
|
-
return
|
|
3710
|
+
if (Ur(h)) {
|
|
3711
|
+
var y = h.children, _ = h.value, v = i[_];
|
|
3712
|
+
if (!zi(v))
|
|
3713
|
+
throw new Vi(_, "function", s);
|
|
3714
|
+
var E = Ke(y, t, r, n, i, o), T = v(E.map(function(O) {
|
|
3715
|
+
return O.value;
|
|
3684
3716
|
}));
|
|
3685
|
-
Array.isArray(
|
|
3717
|
+
Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(O) {
|
|
3686
3718
|
return {
|
|
3687
|
-
type: typeof
|
|
3688
|
-
value:
|
|
3719
|
+
type: typeof O == "string" ? R.literal : R.object,
|
|
3720
|
+
value: O
|
|
3689
3721
|
};
|
|
3690
3722
|
}));
|
|
3691
3723
|
}
|
|
3692
|
-
if (
|
|
3693
|
-
var
|
|
3694
|
-
if (!
|
|
3695
|
-
throw new
|
|
3696
|
-
a.push.apply(a,
|
|
3724
|
+
if (Mr(h)) {
|
|
3725
|
+
var B = h.options[p] || h.options.other;
|
|
3726
|
+
if (!B)
|
|
3727
|
+
throw new lr(h.value, p, Object.keys(h.options), s);
|
|
3728
|
+
a.push.apply(a, Ke(B.value, t, r, n, i));
|
|
3697
3729
|
continue;
|
|
3698
3730
|
}
|
|
3699
|
-
if (
|
|
3700
|
-
var
|
|
3701
|
-
if (!
|
|
3731
|
+
if (Rr(h)) {
|
|
3732
|
+
var B = h.options["=".concat(p)];
|
|
3733
|
+
if (!B) {
|
|
3702
3734
|
if (!Intl.PluralRules)
|
|
3703
|
-
throw new
|
|
3735
|
+
throw new ot(`Intl.PluralRules is not available in this environment.
|
|
3704
3736
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3705
|
-
`,
|
|
3706
|
-
var
|
|
3707
|
-
|
|
3737
|
+
`, Be.MISSING_INTL_API, s);
|
|
3738
|
+
var U = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
|
|
3739
|
+
B = h.options[U] || h.options.other;
|
|
3708
3740
|
}
|
|
3709
|
-
if (!
|
|
3710
|
-
throw new
|
|
3711
|
-
a.push.apply(a,
|
|
3741
|
+
if (!B)
|
|
3742
|
+
throw new lr(h.value, p, Object.keys(h.options), s);
|
|
3743
|
+
a.push.apply(a, Ke(B.value, t, r, n, i, p - (h.offset || 0)));
|
|
3712
3744
|
continue;
|
|
3713
3745
|
}
|
|
3714
3746
|
}
|
|
3715
|
-
return
|
|
3747
|
+
return Xi(a);
|
|
3716
3748
|
}
|
|
3717
|
-
function
|
|
3718
|
-
return t ?
|
|
3719
|
-
return r[n] =
|
|
3749
|
+
function Ji(e, t) {
|
|
3750
|
+
return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3751
|
+
return r[n] = H(H({}, e[n]), t[n] || {}), r;
|
|
3720
3752
|
}, {})) : e;
|
|
3721
3753
|
}
|
|
3722
|
-
function
|
|
3754
|
+
function Zi(e, t) {
|
|
3723
3755
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3724
|
-
return r[n] =
|
|
3725
|
-
},
|
|
3756
|
+
return r[n] = Ji(e[n], t[n]), r;
|
|
3757
|
+
}, H({}, e)) : e;
|
|
3726
3758
|
}
|
|
3727
|
-
function
|
|
3759
|
+
function gt(e) {
|
|
3728
3760
|
return {
|
|
3729
3761
|
create: function() {
|
|
3730
3762
|
return {
|
|
@@ -3738,77 +3770,77 @@ function mt(e) {
|
|
|
3738
3770
|
}
|
|
3739
3771
|
};
|
|
3740
3772
|
}
|
|
3741
|
-
function
|
|
3773
|
+
function Qi(e) {
|
|
3742
3774
|
return e === void 0 && (e = {
|
|
3743
3775
|
number: {},
|
|
3744
3776
|
dateTime: {},
|
|
3745
3777
|
pluralRules: {}
|
|
3746
3778
|
}), {
|
|
3747
|
-
getNumberFormat:
|
|
3779
|
+
getNumberFormat: dt(function() {
|
|
3748
3780
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3749
3781
|
r[n] = arguments[n];
|
|
3750
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3782
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
|
|
3751
3783
|
}, {
|
|
3752
|
-
cache:
|
|
3753
|
-
strategy:
|
|
3784
|
+
cache: gt(e.number),
|
|
3785
|
+
strategy: mt.variadic
|
|
3754
3786
|
}),
|
|
3755
|
-
getDateTimeFormat:
|
|
3787
|
+
getDateTimeFormat: dt(function() {
|
|
3756
3788
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3757
3789
|
r[n] = arguments[n];
|
|
3758
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3790
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
|
|
3759
3791
|
}, {
|
|
3760
|
-
cache:
|
|
3761
|
-
strategy:
|
|
3792
|
+
cache: gt(e.dateTime),
|
|
3793
|
+
strategy: mt.variadic
|
|
3762
3794
|
}),
|
|
3763
|
-
getPluralRules:
|
|
3795
|
+
getPluralRules: dt(function() {
|
|
3764
3796
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3765
3797
|
r[n] = arguments[n];
|
|
3766
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3798
|
+
return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
|
|
3767
3799
|
}, {
|
|
3768
|
-
cache:
|
|
3769
|
-
strategy:
|
|
3800
|
+
cache: gt(e.pluralRules),
|
|
3801
|
+
strategy: mt.variadic
|
|
3770
3802
|
})
|
|
3771
3803
|
};
|
|
3772
3804
|
}
|
|
3773
|
-
var
|
|
3805
|
+
var Yi = (
|
|
3774
3806
|
/** @class */
|
|
3775
3807
|
function() {
|
|
3776
3808
|
function e(t, r, n, i) {
|
|
3777
3809
|
r === void 0 && (r = e.defaultLocale);
|
|
3778
|
-
var
|
|
3810
|
+
var o = this;
|
|
3779
3811
|
if (this.formatterCache = {
|
|
3780
3812
|
number: {},
|
|
3781
3813
|
dateTime: {},
|
|
3782
3814
|
pluralRules: {}
|
|
3783
3815
|
}, this.format = function(l) {
|
|
3784
|
-
var u =
|
|
3816
|
+
var u = o.formatToParts(l);
|
|
3785
3817
|
if (u.length === 1)
|
|
3786
3818
|
return u[0].value;
|
|
3787
3819
|
var h = u.reduce(function(c, p) {
|
|
3788
|
-
return !c.length || p.type !==
|
|
3820
|
+
return !c.length || p.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
|
|
3789
3821
|
}, []);
|
|
3790
3822
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3791
3823
|
}, this.formatToParts = function(l) {
|
|
3792
|
-
return
|
|
3824
|
+
return Ke(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3793
3825
|
}, this.resolvedOptions = function() {
|
|
3794
3826
|
var l;
|
|
3795
3827
|
return {
|
|
3796
|
-
locale: ((l =
|
|
3828
|
+
locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
3797
3829
|
};
|
|
3798
3830
|
}, this.getAst = function() {
|
|
3799
|
-
return
|
|
3831
|
+
return o.ast;
|
|
3800
3832
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3801
3833
|
if (this.message = t, !e.__parse)
|
|
3802
3834
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3803
|
-
var
|
|
3804
|
-
|
|
3805
|
-
var a =
|
|
3806
|
-
this.ast = e.__parse(t,
|
|
3835
|
+
var s = i || {};
|
|
3836
|
+
s.formatters;
|
|
3837
|
+
var a = Cn(s, ["formatters"]);
|
|
3838
|
+
this.ast = e.__parse(t, H(H({}, a), { locale: this.resolvedLocale }));
|
|
3807
3839
|
} else
|
|
3808
3840
|
this.ast = t;
|
|
3809
3841
|
if (!Array.isArray(this.ast))
|
|
3810
3842
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3811
|
-
this.formats =
|
|
3843
|
+
this.formats = Zi(e.formats, n), this.formatters = i && i.formatters || Qi(this.formatterCache);
|
|
3812
3844
|
}
|
|
3813
3845
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3814
3846
|
get: function() {
|
|
@@ -3821,7 +3853,7 @@ var Wi = (
|
|
|
3821
3853
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3822
3854
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3823
3855
|
}
|
|
3824
|
-
}, e.__parse =
|
|
3856
|
+
}, e.__parse = Fi, e.formats = {
|
|
3825
3857
|
number: {
|
|
3826
3858
|
integer: {
|
|
3827
3859
|
maximumFractionDigits: 0
|
|
@@ -3882,7 +3914,7 @@ var Wi = (
|
|
|
3882
3914
|
}, e;
|
|
3883
3915
|
}()
|
|
3884
3916
|
);
|
|
3885
|
-
function
|
|
3917
|
+
function qi(e, t) {
|
|
3886
3918
|
if (t == null)
|
|
3887
3919
|
return;
|
|
3888
3920
|
if (t in e)
|
|
@@ -3892,9 +3924,9 @@ function Xi(e, t) {
|
|
|
3892
3924
|
for (let i = 0; i < r.length; i++)
|
|
3893
3925
|
if (typeof n == "object") {
|
|
3894
3926
|
if (i > 0) {
|
|
3895
|
-
const
|
|
3896
|
-
if (
|
|
3897
|
-
n = n[
|
|
3927
|
+
const o = r.slice(i, r.length).join(".");
|
|
3928
|
+
if (o in n) {
|
|
3929
|
+
n = n[o];
|
|
3898
3930
|
break;
|
|
3899
3931
|
}
|
|
3900
3932
|
}
|
|
@@ -3903,60 +3935,60 @@ function Xi(e, t) {
|
|
|
3903
3935
|
n = void 0;
|
|
3904
3936
|
return n;
|
|
3905
3937
|
}
|
|
3906
|
-
const
|
|
3938
|
+
const ae = {}, Ki = (e, t, r) => r && (t in ae || (ae[t] = {}), e in ae[t] || (ae[t][e] = r), r), Xr = (e, t) => {
|
|
3907
3939
|
if (t == null)
|
|
3908
3940
|
return;
|
|
3909
|
-
if (t in
|
|
3910
|
-
return
|
|
3941
|
+
if (t in ae && e in ae[t])
|
|
3942
|
+
return ae[t][e];
|
|
3911
3943
|
const r = st(t);
|
|
3912
3944
|
for (let n = 0; n < r.length; n++) {
|
|
3913
|
-
const i = r[n],
|
|
3914
|
-
if (
|
|
3915
|
-
return
|
|
3945
|
+
const i = r[n], o = to(i, e);
|
|
3946
|
+
if (o)
|
|
3947
|
+
return Ki(e, t, o);
|
|
3916
3948
|
}
|
|
3917
3949
|
};
|
|
3918
|
-
let
|
|
3919
|
-
const
|
|
3920
|
-
function
|
|
3921
|
-
return
|
|
3950
|
+
let Dt;
|
|
3951
|
+
const Fe = it({});
|
|
3952
|
+
function eo(e) {
|
|
3953
|
+
return Dt[e] || null;
|
|
3922
3954
|
}
|
|
3923
|
-
function
|
|
3924
|
-
return e in
|
|
3955
|
+
function zr(e) {
|
|
3956
|
+
return e in Dt;
|
|
3925
3957
|
}
|
|
3926
|
-
function
|
|
3927
|
-
if (!
|
|
3958
|
+
function to(e, t) {
|
|
3959
|
+
if (!zr(e))
|
|
3928
3960
|
return null;
|
|
3929
|
-
const r =
|
|
3930
|
-
return
|
|
3961
|
+
const r = eo(e);
|
|
3962
|
+
return qi(r, t);
|
|
3931
3963
|
}
|
|
3932
|
-
function
|
|
3964
|
+
function ro(e) {
|
|
3933
3965
|
if (e == null)
|
|
3934
3966
|
return;
|
|
3935
3967
|
const t = st(e);
|
|
3936
3968
|
for (let r = 0; r < t.length; r++) {
|
|
3937
3969
|
const n = t[r];
|
|
3938
|
-
if (
|
|
3970
|
+
if (zr(n))
|
|
3939
3971
|
return n;
|
|
3940
3972
|
}
|
|
3941
3973
|
}
|
|
3942
|
-
function
|
|
3943
|
-
delete
|
|
3974
|
+
function Jr(e, ...t) {
|
|
3975
|
+
delete ae[e], Fe.update((r) => (r[e] = ai.all([r[e] || {}, ...t]), r));
|
|
3944
3976
|
}
|
|
3945
|
-
|
|
3946
|
-
[
|
|
3977
|
+
Ce(
|
|
3978
|
+
[Fe],
|
|
3947
3979
|
([e]) => Object.keys(e)
|
|
3948
3980
|
);
|
|
3949
|
-
|
|
3950
|
-
const
|
|
3951
|
-
function
|
|
3952
|
-
|
|
3981
|
+
Fe.subscribe((e) => Dt = e);
|
|
3982
|
+
const et = {};
|
|
3983
|
+
function no(e, t) {
|
|
3984
|
+
et[e].delete(t), et[e].size === 0 && delete et[e];
|
|
3953
3985
|
}
|
|
3954
|
-
function
|
|
3955
|
-
return
|
|
3986
|
+
function Zr(e) {
|
|
3987
|
+
return et[e];
|
|
3956
3988
|
}
|
|
3957
|
-
function
|
|
3989
|
+
function io(e) {
|
|
3958
3990
|
return st(e).map((t) => {
|
|
3959
|
-
const r =
|
|
3991
|
+
const r = Zr(t);
|
|
3960
3992
|
return [t, r ? [...r] : []];
|
|
3961
3993
|
}).filter(([, t]) => t.length > 0);
|
|
3962
3994
|
}
|
|
@@ -3964,31 +3996,31 @@ function Ot(e) {
|
|
|
3964
3996
|
return e == null ? !1 : st(e).some(
|
|
3965
3997
|
(t) => {
|
|
3966
3998
|
var r;
|
|
3967
|
-
return (r =
|
|
3999
|
+
return (r = Zr(t)) == null ? void 0 : r.size;
|
|
3968
4000
|
}
|
|
3969
4001
|
);
|
|
3970
4002
|
}
|
|
3971
|
-
function
|
|
4003
|
+
function oo(e, t) {
|
|
3972
4004
|
return Promise.all(
|
|
3973
|
-
t.map((n) => (
|
|
3974
|
-
).then((n) =>
|
|
4005
|
+
t.map((n) => (no(e, n), n().then((i) => i.default || i)))
|
|
4006
|
+
).then((n) => Jr(e, ...n));
|
|
3975
4007
|
}
|
|
3976
|
-
const
|
|
3977
|
-
function
|
|
4008
|
+
const Ue = {};
|
|
4009
|
+
function Qr(e) {
|
|
3978
4010
|
if (!Ot(e))
|
|
3979
|
-
return e in
|
|
3980
|
-
const t =
|
|
3981
|
-
return
|
|
4011
|
+
return e in Ue ? Ue[e] : Promise.resolve();
|
|
4012
|
+
const t = io(e);
|
|
4013
|
+
return Ue[e] = Promise.all(
|
|
3982
4014
|
t.map(
|
|
3983
|
-
([r, n]) =>
|
|
4015
|
+
([r, n]) => oo(r, n)
|
|
3984
4016
|
)
|
|
3985
4017
|
).then(() => {
|
|
3986
4018
|
if (Ot(e))
|
|
3987
|
-
return
|
|
3988
|
-
delete
|
|
3989
|
-
}),
|
|
4019
|
+
return Qr(e);
|
|
4020
|
+
delete Ue[e];
|
|
4021
|
+
}), Ue[e];
|
|
3990
4022
|
}
|
|
3991
|
-
const
|
|
4023
|
+
const so = {
|
|
3992
4024
|
number: {
|
|
3993
4025
|
scientific: { notation: "scientific" },
|
|
3994
4026
|
engineering: { notation: "engineering" },
|
|
@@ -4017,150 +4049,150 @@ const es = {
|
|
|
4017
4049
|
timeZoneName: "short"
|
|
4018
4050
|
}
|
|
4019
4051
|
}
|
|
4020
|
-
},
|
|
4052
|
+
}, ao = {
|
|
4021
4053
|
fallbackLocale: null,
|
|
4022
4054
|
loadingDelay: 200,
|
|
4023
|
-
formats:
|
|
4055
|
+
formats: so,
|
|
4024
4056
|
warnOnMissingMessages: !0,
|
|
4025
4057
|
handleMissingMessage: void 0,
|
|
4026
4058
|
ignoreTag: !0
|
|
4027
|
-
},
|
|
4028
|
-
function
|
|
4029
|
-
return
|
|
4059
|
+
}, uo = ao;
|
|
4060
|
+
function Pe() {
|
|
4061
|
+
return uo;
|
|
4030
4062
|
}
|
|
4031
|
-
const
|
|
4032
|
-
var
|
|
4063
|
+
const yt = it(!1);
|
|
4064
|
+
var lo = Object.defineProperty, ho = Object.defineProperties, co = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, fo = Object.prototype.hasOwnProperty, po = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
|
|
4033
4065
|
for (var r in t || (t = {}))
|
|
4034
|
-
|
|
4035
|
-
if (
|
|
4036
|
-
for (var r of
|
|
4037
|
-
|
|
4066
|
+
fo.call(t, r) && cr(e, r, t[r]);
|
|
4067
|
+
if (hr)
|
|
4068
|
+
for (var r of hr(t))
|
|
4069
|
+
po.call(t, r) && cr(e, r, t[r]);
|
|
4038
4070
|
return e;
|
|
4039
|
-
},
|
|
4040
|
-
let
|
|
4041
|
-
const
|
|
4042
|
-
function
|
|
4071
|
+
}, bo = (e, t) => ho(e, co(t));
|
|
4072
|
+
let Nt;
|
|
4073
|
+
const tt = it(null);
|
|
4074
|
+
function fr(e) {
|
|
4043
4075
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4044
4076
|
}
|
|
4045
|
-
function st(e, t =
|
|
4046
|
-
const r =
|
|
4047
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4077
|
+
function st(e, t = Pe().fallbackLocale) {
|
|
4078
|
+
const r = fr(e);
|
|
4079
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...fr(t)])] : r;
|
|
4048
4080
|
}
|
|
4049
|
-
function
|
|
4050
|
-
return
|
|
4081
|
+
function fe() {
|
|
4082
|
+
return Nt != null ? Nt : void 0;
|
|
4051
4083
|
}
|
|
4052
|
-
|
|
4053
|
-
|
|
4084
|
+
tt.subscribe((e) => {
|
|
4085
|
+
Nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4054
4086
|
});
|
|
4055
|
-
const
|
|
4056
|
-
if (e &&
|
|
4057
|
-
const { loadingDelay: t } =
|
|
4087
|
+
const go = (e) => {
|
|
4088
|
+
if (e && ro(e) && Ot(e)) {
|
|
4089
|
+
const { loadingDelay: t } = Pe();
|
|
4058
4090
|
let r;
|
|
4059
|
-
return typeof window != "undefined" &&
|
|
4060
|
-
() =>
|
|
4091
|
+
return typeof window != "undefined" && fe() != null && t ? r = window.setTimeout(
|
|
4092
|
+
() => yt.set(!0),
|
|
4061
4093
|
t
|
|
4062
|
-
) :
|
|
4063
|
-
|
|
4094
|
+
) : yt.set(!0), Qr(e).then(() => {
|
|
4095
|
+
tt.set(e);
|
|
4064
4096
|
}).finally(() => {
|
|
4065
|
-
clearTimeout(r),
|
|
4097
|
+
clearTimeout(r), yt.set(!1);
|
|
4066
4098
|
});
|
|
4067
4099
|
}
|
|
4068
|
-
return
|
|
4069
|
-
},
|
|
4070
|
-
set:
|
|
4071
|
-
}),
|
|
4100
|
+
return tt.set(e);
|
|
4101
|
+
}, Le = bo(mo({}, tt), {
|
|
4102
|
+
set: go
|
|
4103
|
+
}), at = (e) => {
|
|
4072
4104
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4073
4105
|
return (n) => {
|
|
4074
4106
|
const i = JSON.stringify(n);
|
|
4075
4107
|
return i in t ? t[i] : t[i] = e(n);
|
|
4076
4108
|
};
|
|
4077
4109
|
};
|
|
4078
|
-
var
|
|
4110
|
+
var yo = Object.defineProperty, rt = Object.getOwnPropertySymbols, Yr = Object.prototype.hasOwnProperty, qr = Object.prototype.propertyIsEnumerable, pr = (e, t, r) => t in e ? yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gt = (e, t) => {
|
|
4079
4111
|
for (var r in t || (t = {}))
|
|
4080
|
-
|
|
4081
|
-
if (
|
|
4082
|
-
for (var r of
|
|
4083
|
-
|
|
4112
|
+
Yr.call(t, r) && pr(e, r, t[r]);
|
|
4113
|
+
if (rt)
|
|
4114
|
+
for (var r of rt(t))
|
|
4115
|
+
qr.call(t, r) && pr(e, r, t[r]);
|
|
4084
4116
|
return e;
|
|
4085
|
-
},
|
|
4117
|
+
}, Ie = (e, t) => {
|
|
4086
4118
|
var r = {};
|
|
4087
4119
|
for (var n in e)
|
|
4088
|
-
|
|
4089
|
-
if (e != null &&
|
|
4090
|
-
for (var n of
|
|
4091
|
-
t.indexOf(n) < 0 &&
|
|
4120
|
+
Yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4121
|
+
if (e != null && rt)
|
|
4122
|
+
for (var n of rt(e))
|
|
4123
|
+
t.indexOf(n) < 0 && qr.call(e, n) && (r[n] = e[n]);
|
|
4092
4124
|
return r;
|
|
4093
4125
|
};
|
|
4094
|
-
const
|
|
4095
|
-
const { formats: r } =
|
|
4126
|
+
const ke = (e, t) => {
|
|
4127
|
+
const { formats: r } = Pe();
|
|
4096
4128
|
if (e in r && t in r[e])
|
|
4097
4129
|
return r[e][t];
|
|
4098
4130
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4099
|
-
},
|
|
4131
|
+
}, vo = at(
|
|
4100
4132
|
(e) => {
|
|
4101
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4133
|
+
var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
|
|
4102
4134
|
if (r == null)
|
|
4103
4135
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4104
|
-
return n && (i =
|
|
4136
|
+
return n && (i = ke("number", n)), new Intl.NumberFormat(r, i);
|
|
4105
4137
|
}
|
|
4106
|
-
),
|
|
4138
|
+
), _o = at(
|
|
4107
4139
|
(e) => {
|
|
4108
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4140
|
+
var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
|
|
4109
4141
|
if (r == null)
|
|
4110
4142
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4111
|
-
return n ? i =
|
|
4143
|
+
return n ? i = ke("date", n) : Object.keys(i).length === 0 && (i = ke("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4112
4144
|
}
|
|
4113
|
-
),
|
|
4145
|
+
), Eo = at(
|
|
4114
4146
|
(e) => {
|
|
4115
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4147
|
+
var t = e, { locale: r, format: n } = t, i = Ie(t, ["locale", "format"]);
|
|
4116
4148
|
if (r == null)
|
|
4117
4149
|
throw new Error(
|
|
4118
4150
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4119
4151
|
);
|
|
4120
|
-
return n ? i =
|
|
4152
|
+
return n ? i = ke("time", n) : Object.keys(i).length === 0 && (i = ke("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4121
4153
|
}
|
|
4122
|
-
),
|
|
4154
|
+
), xo = (e = {}) => {
|
|
4123
4155
|
var t = e, {
|
|
4124
|
-
locale: r =
|
|
4125
|
-
} = t, n =
|
|
4156
|
+
locale: r = fe()
|
|
4157
|
+
} = t, n = Ie(t, [
|
|
4126
4158
|
"locale"
|
|
4127
4159
|
]);
|
|
4128
|
-
return
|
|
4129
|
-
},
|
|
4160
|
+
return vo(Gt({ locale: r }, n));
|
|
4161
|
+
}, So = (e = {}) => {
|
|
4130
4162
|
var t = e, {
|
|
4131
|
-
locale: r =
|
|
4132
|
-
} = t, n =
|
|
4163
|
+
locale: r = fe()
|
|
4164
|
+
} = t, n = Ie(t, [
|
|
4133
4165
|
"locale"
|
|
4134
4166
|
]);
|
|
4135
|
-
return
|
|
4136
|
-
},
|
|
4167
|
+
return _o(Gt({ locale: r }, n));
|
|
4168
|
+
}, To = (e = {}) => {
|
|
4137
4169
|
var t = e, {
|
|
4138
|
-
locale: r =
|
|
4139
|
-
} = t, n =
|
|
4170
|
+
locale: r = fe()
|
|
4171
|
+
} = t, n = Ie(t, [
|
|
4140
4172
|
"locale"
|
|
4141
4173
|
]);
|
|
4142
|
-
return
|
|
4143
|
-
},
|
|
4174
|
+
return Eo(Gt({ locale: r }, n));
|
|
4175
|
+
}, wo = at(
|
|
4144
4176
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4145
|
-
(e, t =
|
|
4146
|
-
ignoreTag:
|
|
4177
|
+
(e, t = fe()) => new Yi(e, t, Pe().formats, {
|
|
4178
|
+
ignoreTag: Pe().ignoreTag
|
|
4147
4179
|
})
|
|
4148
|
-
),
|
|
4149
|
-
var r, n, i,
|
|
4150
|
-
let
|
|
4151
|
-
typeof e == "object" && (
|
|
4180
|
+
), Ho = (e, t = {}) => {
|
|
4181
|
+
var r, n, i, o;
|
|
4182
|
+
let s = t;
|
|
4183
|
+
typeof e == "object" && (s = e, e = s.id);
|
|
4152
4184
|
const {
|
|
4153
4185
|
values: a,
|
|
4154
|
-
locale: l =
|
|
4186
|
+
locale: l = fe(),
|
|
4155
4187
|
default: u
|
|
4156
|
-
} =
|
|
4188
|
+
} = s;
|
|
4157
4189
|
if (l == null)
|
|
4158
4190
|
throw new Error(
|
|
4159
4191
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4160
4192
|
);
|
|
4161
|
-
let h =
|
|
4193
|
+
let h = Xr(e, l);
|
|
4162
4194
|
if (!h)
|
|
4163
|
-
h = (
|
|
4195
|
+
h = (o = (i = (n = (r = Pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4164
4196
|
else if (typeof h != "string")
|
|
4165
4197
|
return console.warn(
|
|
4166
4198
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4169,7 +4201,7 @@ const De = (e, t) => {
|
|
|
4169
4201
|
return h;
|
|
4170
4202
|
let c = h;
|
|
4171
4203
|
try {
|
|
4172
|
-
c =
|
|
4204
|
+
c = wo(h, l).format(a);
|
|
4173
4205
|
} catch (p) {
|
|
4174
4206
|
p instanceof Error && console.warn(
|
|
4175
4207
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4177,21 +4209,30 @@ const De = (e, t) => {
|
|
|
4177
4209
|
);
|
|
4178
4210
|
}
|
|
4179
4211
|
return c;
|
|
4180
|
-
},
|
|
4181
|
-
|
|
4182
|
-
|
|
4183
|
-
|
|
4184
|
-
|
|
4185
|
-
|
|
4186
|
-
window.emWidgets = { topic:
|
|
4187
|
-
const
|
|
4188
|
-
function
|
|
4189
|
-
|
|
4190
|
-
|
|
4191
|
-
|
|
4192
|
-
|
|
4193
|
-
}
|
|
4194
|
-
|
|
4212
|
+
}, Ao = (e, t) => To(t).format(e), Bo = (e, t) => So(t).format(e), Po = (e, t) => xo(t).format(e), Co = (e, t = fe()) => Xr(e, t);
|
|
4213
|
+
Ce([Le, Fe], () => Ho);
|
|
4214
|
+
Ce([Le], () => Ao);
|
|
4215
|
+
Ce([Le], () => Bo);
|
|
4216
|
+
Ce([Le], () => Po);
|
|
4217
|
+
Ce([Le, Fe], () => Co);
|
|
4218
|
+
window.emWidgets = { topic: Vn };
|
|
4219
|
+
const Lo = (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));
|
|
4220
|
+
function Io(e, t) {
|
|
4221
|
+
const r = new URL(t);
|
|
4222
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4223
|
+
const i = document.createElement("style");
|
|
4224
|
+
i.innerHTML = n;
|
|
4225
|
+
}).catch((n) => {
|
|
4226
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
4227
|
+
});
|
|
4228
|
+
}
|
|
4229
|
+
function dr(e, t) {
|
|
4230
|
+
Jr(e, t);
|
|
4231
|
+
}
|
|
4232
|
+
function Oo(e) {
|
|
4233
|
+
Le.set(e);
|
|
4234
|
+
}
|
|
4235
|
+
const mr = {
|
|
4195
4236
|
en: {
|
|
4196
4237
|
loadingText: "Loading, please wait..."
|
|
4197
4238
|
},
|
|
@@ -4229,301 +4270,361 @@ const fr = {
|
|
|
4229
4270
|
loadingText: "Loading, please wait..."
|
|
4230
4271
|
}
|
|
4231
4272
|
};
|
|
4232
|
-
function
|
|
4233
|
-
|
|
4273
|
+
function No(e) {
|
|
4274
|
+
an(e, "svelte-4fxl7w", ':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}.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 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 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)}}');
|
|
4234
4275
|
}
|
|
4235
|
-
function
|
|
4276
|
+
function br(e, t, r) {
|
|
4236
4277
|
const n = e.slice();
|
|
4237
|
-
return n[
|
|
4278
|
+
return n[52] = t[r], n[54] = r, n;
|
|
4238
4279
|
}
|
|
4239
|
-
function
|
|
4240
|
-
let t, r, n, i,
|
|
4241
|
-
function
|
|
4280
|
+
function Mo(e) {
|
|
4281
|
+
let t, r, n, i, o, s, a, l, u, h, c, p, g;
|
|
4282
|
+
function y(E, T) {
|
|
4242
4283
|
return (
|
|
4243
4284
|
/*tabletView*/
|
|
4244
|
-
|
|
4285
|
+
E[6] ? Do : Go
|
|
4245
4286
|
);
|
|
4246
4287
|
}
|
|
4247
|
-
let
|
|
4288
|
+
let _ = y(e), v = _(e);
|
|
4248
4289
|
return {
|
|
4249
4290
|
c() {
|
|
4250
|
-
t = b("div"), r = b("div"), n = b("div"), i = b("div"),
|
|
4251
|
-
e[
|
|
4252
|
-
e[
|
|
4291
|
+
t = b("div"), r = b("div"), n = b("div"), i = b("div"), o = q(), s = b("div"), v.c(), a = q(), l = b("div"), u = b("img"), d(i, "class", "vendorLogo"), Je(i, "background-image", "url(" + /*vendorIcon*/
|
|
4292
|
+
e[7] + ")"), d(s, "class", "displayContainer"), j(u.src, h = /*titleLogoImg*/
|
|
4293
|
+
e[12]) || d(u, "src", h), d(u, "alt", ""), d(l, "class", "title"), d(n, "class", c = "mainWrapper " + /*visualstructure*/
|
|
4253
4294
|
e[0] + " " + /*mobileView*/
|
|
4254
|
-
(e[
|
|
4255
|
-
e[
|
|
4295
|
+
(e[5] && !/*tabletView*/
|
|
4296
|
+
e[6] ? "mobile" : (
|
|
4256
4297
|
/*tabletView*/
|
|
4257
|
-
e[
|
|
4258
|
-
))),
|
|
4259
|
-
e[
|
|
4260
|
-
e[12] ? "DisplayNone" : ""), d(t, "part", g = /*displayNone*/
|
|
4261
|
-
e[12] ? "DisplayNone" : "");
|
|
4298
|
+
e[6] ? "tablet" : ""
|
|
4299
|
+
))), Je(n, "background", "url(" + /*backgroundImg*/
|
|
4300
|
+
e[11] + ")"), d(r, "class", "jackpotBanner"), d(t, "class", ""), d(t, "part", "");
|
|
4262
4301
|
},
|
|
4263
|
-
m(
|
|
4264
|
-
|
|
4302
|
+
m(E, T) {
|
|
4303
|
+
K(E, t, T), m(t, r), m(r, n), m(n, i), m(n, o), m(n, s), v.m(s, null), m(n, a), m(n, l), m(l, u), p || (g = fn(
|
|
4265
4304
|
r,
|
|
4266
4305
|
"click",
|
|
4267
4306
|
/*click_handler*/
|
|
4268
|
-
e[
|
|
4269
|
-
),
|
|
4307
|
+
e[33]
|
|
4308
|
+
), p = !0);
|
|
4270
4309
|
},
|
|
4271
|
-
p(
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
(
|
|
4280
|
-
|
|
4310
|
+
p(E, T) {
|
|
4311
|
+
T[0] & /*vendorIcon*/
|
|
4312
|
+
128 && Je(i, "background-image", "url(" + /*vendorIcon*/
|
|
4313
|
+
E[7] + ")"), _ === (_ = y(E)) && v ? v.p(E, T) : (v.d(1), v = _(E), v && (v.c(), v.m(s, null))), T[0] & /*titleLogoImg*/
|
|
4314
|
+
4096 && !j(u.src, h = /*titleLogoImg*/
|
|
4315
|
+
E[12]) && d(u, "src", h), T[0] & /*visualstructure, mobileView, tabletView*/
|
|
4316
|
+
97 && c !== (c = "mainWrapper " + /*visualstructure*/
|
|
4317
|
+
E[0] + " " + /*mobileView*/
|
|
4318
|
+
(E[5] && !/*tabletView*/
|
|
4319
|
+
E[6] ? "mobile" : (
|
|
4281
4320
|
/*tabletView*/
|
|
4282
|
-
|
|
4283
|
-
))) && d(n, "class", c),
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
4096 && p !== (p = /*displayNone*/
|
|
4287
|
-
v[12] ? "DisplayNone" : "") && d(t, "class", p), P[0] & /*displayNone*/
|
|
4288
|
-
4096 && g !== (g = /*displayNone*/
|
|
4289
|
-
v[12] ? "DisplayNone" : "") && d(t, "part", g);
|
|
4321
|
+
E[6] ? "tablet" : ""
|
|
4322
|
+
))) && d(n, "class", c), T[0] & /*backgroundImg*/
|
|
4323
|
+
2048 && Je(n, "background", "url(" + /*backgroundImg*/
|
|
4324
|
+
E[11] + ")");
|
|
4290
4325
|
},
|
|
4291
|
-
d(
|
|
4292
|
-
|
|
4326
|
+
d(E) {
|
|
4327
|
+
E && W(t), v.d(), p = !1, g();
|
|
4293
4328
|
}
|
|
4294
4329
|
};
|
|
4295
4330
|
}
|
|
4296
|
-
function
|
|
4331
|
+
function Ro(e) {
|
|
4297
4332
|
let t;
|
|
4298
4333
|
return {
|
|
4299
4334
|
c() {
|
|
4300
4335
|
t = b("div"), d(t, "class", "LoadingSpinner"), d(t, "part", "LoadingSpinner");
|
|
4301
4336
|
},
|
|
4302
4337
|
m(r, n) {
|
|
4303
|
-
|
|
4338
|
+
K(r, t, n);
|
|
4304
4339
|
},
|
|
4305
|
-
p:
|
|
4340
|
+
p: D,
|
|
4306
4341
|
d(r) {
|
|
4307
4342
|
r && W(t);
|
|
4308
4343
|
}
|
|
4309
4344
|
};
|
|
4310
4345
|
}
|
|
4311
|
-
function
|
|
4346
|
+
function Uo(e) {
|
|
4312
4347
|
let t;
|
|
4313
4348
|
return {
|
|
4314
4349
|
c() {
|
|
4315
4350
|
t = b("p"), t.textContent = "500 Server error";
|
|
4316
4351
|
},
|
|
4317
4352
|
m(r, n) {
|
|
4318
|
-
|
|
4353
|
+
K(r, t, n);
|
|
4319
4354
|
},
|
|
4320
|
-
p:
|
|
4355
|
+
p: D,
|
|
4321
4356
|
d(r) {
|
|
4322
4357
|
r && W(t);
|
|
4323
4358
|
}
|
|
4324
4359
|
};
|
|
4325
4360
|
}
|
|
4326
|
-
function
|
|
4327
|
-
let t, r, n, i,
|
|
4361
|
+
function Do(e) {
|
|
4362
|
+
let t, r, n, i, o, s, a = (
|
|
4328
4363
|
/*formattedLabels*/
|
|
4329
|
-
e[
|
|
4364
|
+
e[9][0] + ""
|
|
4330
4365
|
), l, u, h, c = (
|
|
4331
|
-
/*
|
|
4332
|
-
e[
|
|
4333
|
-
|
|
4366
|
+
/*realtimeupdate*/
|
|
4367
|
+
(e[2] === "true" ? (
|
|
4368
|
+
/*updatedJackpotValues*/
|
|
4369
|
+
e[14][0]
|
|
4370
|
+
) : (
|
|
4371
|
+
/*formattedJackpotValues*/
|
|
4372
|
+
e[8][0]
|
|
4373
|
+
)) + ""
|
|
4374
|
+
), p, g, y, _, v, E, T, B, U, O, k = (
|
|
4334
4375
|
/*formattedLabels*/
|
|
4335
|
-
e[
|
|
4336
|
-
),
|
|
4337
|
-
/*
|
|
4338
|
-
e[
|
|
4339
|
-
|
|
4376
|
+
e[9][1] + ""
|
|
4377
|
+
), X, z, ue, ne = (
|
|
4378
|
+
/*realtimeupdate*/
|
|
4379
|
+
(e[2] === "true" ? (
|
|
4380
|
+
/*updatedJackpotValues*/
|
|
4381
|
+
e[14][1]
|
|
4382
|
+
) : (
|
|
4383
|
+
/*formattedJackpotValues*/
|
|
4384
|
+
e[8][1]
|
|
4385
|
+
)) + ""
|
|
4386
|
+
), ie, Oe, le, pe, de, J, Z, Q, $, oe, F, ee = (
|
|
4340
4387
|
/*formattedLabels*/
|
|
4341
|
-
e[
|
|
4342
|
-
),
|
|
4343
|
-
/*
|
|
4344
|
-
e[
|
|
4345
|
-
|
|
4388
|
+
e[9][2] + ""
|
|
4389
|
+
), Ne, Y, me, be = (
|
|
4390
|
+
/*realtimeupdate*/
|
|
4391
|
+
(e[2] === "true" ? (
|
|
4392
|
+
/*updatedJackpotValues*/
|
|
4393
|
+
e[14][2]
|
|
4394
|
+
) : (
|
|
4395
|
+
/*formattedJackpotValues*/
|
|
4396
|
+
e[8][2]
|
|
4397
|
+
)) + ""
|
|
4398
|
+
), Me, Ve, he, Re, We, se, ce, V, ge, ye, ve = (
|
|
4346
4399
|
/*formattedLabels*/
|
|
4347
|
-
e[
|
|
4348
|
-
),
|
|
4349
|
-
/*
|
|
4350
|
-
e[
|
|
4351
|
-
|
|
4400
|
+
e[9][3] + ""
|
|
4401
|
+
), f, w, I, _e = (
|
|
4402
|
+
/*realtimeupdate*/
|
|
4403
|
+
(e[2] === "true" ? (
|
|
4404
|
+
/*updatedJackpotValues*/
|
|
4405
|
+
e[14][3]
|
|
4406
|
+
) : (
|
|
4407
|
+
/*formattedJackpotValues*/
|
|
4408
|
+
e[8][3]
|
|
4409
|
+
)) + ""
|
|
4410
|
+
), ut, jt, Xe, lt;
|
|
4352
4411
|
return {
|
|
4353
4412
|
c() {
|
|
4354
|
-
t = b("div"), r = b("div"), n = b("div"), i = b("img"),
|
|
4413
|
+
t = b("div"), r = b("div"), n = b("div"), i = b("img"), s = b("span"), l = N(a), u = b("span"), h = b("span"), p = N(c), g = q(), y = b("span"), _ = N(
|
|
4355
4414
|
/*currency*/
|
|
4356
4415
|
e[1]
|
|
4357
|
-
),
|
|
4416
|
+
), v = q(), E = b("div"), T = b("div"), B = b("img"), O = b("span"), X = N(k), z = b("span"), ue = b("span"), ie = N(ne), Oe = q(), le = b("span"), pe = N(
|
|
4358
4417
|
/*currency*/
|
|
4359
4418
|
e[1]
|
|
4360
|
-
),
|
|
4419
|
+
), de = q(), J = b("div"), Z = b("div"), Q = b("div"), $ = b("img"), F = b("span"), Ne = N(ee), Y = b("span"), me = b("span"), Me = N(be), Ve = q(), he = b("span"), Re = N(
|
|
4361
4420
|
/*currency*/
|
|
4362
4421
|
e[1]
|
|
4363
|
-
),
|
|
4422
|
+
), We = q(), se = b("div"), ce = b("div"), V = b("img"), ye = b("span"), f = N(ve), w = b("span"), I = b("span"), ut = N(_e), jt = q(), Xe = b("span"), lt = N(
|
|
4364
4423
|
/*currency*/
|
|
4365
4424
|
e[1]
|
|
4366
|
-
), d(i, "class", "displayCardIcon"),
|
|
4367
|
-
e[
|
|
4368
|
-
e[
|
|
4369
|
-
e[
|
|
4370
|
-
e[
|
|
4425
|
+
), d(i, "class", "displayCardIcon"), j(i.src, o = /*caticons*/
|
|
4426
|
+
e[10][0]) || d(i, "src", o), d(i, "alt", ""), d(s, "class", "cardLabel"), d(n, "class", "iconWrapper"), d(h, "class", "jackpotValue"), d(y, "class", "jackpot-currency"), d(u, "class", "cardTextWrapper"), d(r, "class", "displayCard"), d(B, "class", "displayCardIcon"), j(B.src, U = /*caticons*/
|
|
4427
|
+
e[10][1]) || d(B, "src", U), d(B, "alt", ""), d(O, "class", "cardLabel"), d(T, "class", "iconWrapper"), d(ue, "class", "jackpotValue"), d(le, "class", "jackpot-currency"), d(z, "class", "cardTextWrapper"), d(E, "class", "displayCard"), d(t, "class", "pairWrapper"), d($, "class", "displayCardIcon"), j($.src, oe = /*caticons*/
|
|
4428
|
+
e[10][2]) || d($, "src", oe), d($, "alt", ""), d(F, "class", "cardLabel"), d(Q, "class", "iconWrapper"), d(me, "class", "jackpotValue"), d(he, "class", "jackpot-currency"), d(Y, "class", "cardTextWrapper"), d(Z, "class", "displayCard"), d(V, "class", "displayCardIcon"), j(V.src, ge = /*caticons*/
|
|
4429
|
+
e[10][3]) || d(V, "src", ge), d(V, "alt", ""), d(ye, "class", "cardLabel"), d(ce, "class", "iconWrapper"), d(I, "class", "jackpotValue"), d(Xe, "class", "jackpot-currency"), d(w, "class", "cardTextWrapper"), d(se, "class", "displayCard"), d(J, "class", "pairWrapper");
|
|
4371
4430
|
},
|
|
4372
|
-
m(
|
|
4373
|
-
|
|
4431
|
+
m(A, L) {
|
|
4432
|
+
K(A, t, L), m(t, r), m(r, n), m(n, i), m(n, s), m(s, l), m(r, u), m(u, h), m(h, p), m(u, g), m(u, y), m(y, _), m(t, v), m(t, E), m(E, T), m(T, B), m(T, O), m(O, X), m(E, z), m(z, ue), m(ue, ie), m(z, Oe), m(z, le), m(le, pe), K(A, de, L), K(A, J, L), m(J, Z), m(Z, Q), m(Q, $), m(Q, F), m(F, Ne), m(Z, Y), m(Y, me), m(me, Me), m(Y, Ve), m(Y, he), m(he, Re), m(J, We), m(J, se), m(se, ce), m(ce, V), m(ce, ye), m(ye, f), m(se, w), m(w, I), m(I, ut), m(w, jt), m(w, Xe), m(Xe, lt);
|
|
4374
4433
|
},
|
|
4375
|
-
p(
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4434
|
+
p(A, L) {
|
|
4435
|
+
L[0] & /*caticons*/
|
|
4436
|
+
1024 && !j(i.src, o = /*caticons*/
|
|
4437
|
+
A[10][0]) && d(i, "src", o), L[0] & /*formattedLabels*/
|
|
4438
|
+
512 && a !== (a = /*formattedLabels*/
|
|
4439
|
+
A[9][0] + "") && M(l, a), L[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4440
|
+
16644 && c !== (c = /*realtimeupdate*/
|
|
4441
|
+
(A[2] === "true" ? (
|
|
4442
|
+
/*updatedJackpotValues*/
|
|
4443
|
+
A[14][0]
|
|
4444
|
+
) : (
|
|
4445
|
+
/*formattedJackpotValues*/
|
|
4446
|
+
A[8][0]
|
|
4447
|
+
)) + "") && M(p, c), L[0] & /*currency*/
|
|
4448
|
+
2 && M(
|
|
4384
4449
|
_,
|
|
4385
4450
|
/*currency*/
|
|
4386
|
-
|
|
4387
|
-
),
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4451
|
+
A[1]
|
|
4452
|
+
), L[0] & /*caticons*/
|
|
4453
|
+
1024 && !j(B.src, U = /*caticons*/
|
|
4454
|
+
A[10][1]) && d(B, "src", U), L[0] & /*formattedLabels*/
|
|
4455
|
+
512 && k !== (k = /*formattedLabels*/
|
|
4456
|
+
A[9][1] + "") && M(X, k), L[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4457
|
+
16644 && ne !== (ne = /*realtimeupdate*/
|
|
4458
|
+
(A[2] === "true" ? (
|
|
4459
|
+
/*updatedJackpotValues*/
|
|
4460
|
+
A[14][1]
|
|
4461
|
+
) : (
|
|
4462
|
+
/*formattedJackpotValues*/
|
|
4463
|
+
A[8][1]
|
|
4464
|
+
)) + "") && M(ie, ne), L[0] & /*currency*/
|
|
4465
|
+
2 && M(
|
|
4466
|
+
pe,
|
|
4396
4467
|
/*currency*/
|
|
4397
|
-
|
|
4398
|
-
),
|
|
4399
|
-
|
|
4400
|
-
|
|
4401
|
-
|
|
4402
|
-
|
|
4403
|
-
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4468
|
+
A[1]
|
|
4469
|
+
), L[0] & /*caticons*/
|
|
4470
|
+
1024 && !j($.src, oe = /*caticons*/
|
|
4471
|
+
A[10][2]) && d($, "src", oe), L[0] & /*formattedLabels*/
|
|
4472
|
+
512 && ee !== (ee = /*formattedLabels*/
|
|
4473
|
+
A[9][2] + "") && M(Ne, ee), L[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4474
|
+
16644 && be !== (be = /*realtimeupdate*/
|
|
4475
|
+
(A[2] === "true" ? (
|
|
4476
|
+
/*updatedJackpotValues*/
|
|
4477
|
+
A[14][2]
|
|
4478
|
+
) : (
|
|
4479
|
+
/*formattedJackpotValues*/
|
|
4480
|
+
A[8][2]
|
|
4481
|
+
)) + "") && M(Me, be), L[0] & /*currency*/
|
|
4482
|
+
2 && M(
|
|
4483
|
+
Re,
|
|
4407
4484
|
/*currency*/
|
|
4408
|
-
|
|
4409
|
-
),
|
|
4410
|
-
|
|
4411
|
-
|
|
4412
|
-
|
|
4413
|
-
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
|
|
4417
|
-
|
|
4485
|
+
A[1]
|
|
4486
|
+
), L[0] & /*caticons*/
|
|
4487
|
+
1024 && !j(V.src, ge = /*caticons*/
|
|
4488
|
+
A[10][3]) && d(V, "src", ge), L[0] & /*formattedLabels*/
|
|
4489
|
+
512 && ve !== (ve = /*formattedLabels*/
|
|
4490
|
+
A[9][3] + "") && M(f, ve), L[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4491
|
+
16644 && _e !== (_e = /*realtimeupdate*/
|
|
4492
|
+
(A[2] === "true" ? (
|
|
4493
|
+
/*updatedJackpotValues*/
|
|
4494
|
+
A[14][3]
|
|
4495
|
+
) : (
|
|
4496
|
+
/*formattedJackpotValues*/
|
|
4497
|
+
A[8][3]
|
|
4498
|
+
)) + "") && M(ut, _e), L[0] & /*currency*/
|
|
4499
|
+
2 && M(
|
|
4500
|
+
lt,
|
|
4418
4501
|
/*currency*/
|
|
4419
|
-
|
|
4502
|
+
A[1]
|
|
4420
4503
|
);
|
|
4421
4504
|
},
|
|
4422
|
-
d(
|
|
4423
|
-
|
|
4505
|
+
d(A) {
|
|
4506
|
+
A && (W(t), W(de), W(J));
|
|
4424
4507
|
}
|
|
4425
4508
|
};
|
|
4426
4509
|
}
|
|
4427
|
-
function
|
|
4428
|
-
let t, r =
|
|
4510
|
+
function Go(e) {
|
|
4511
|
+
let t, r = zt(Array(4)), n = [];
|
|
4429
4512
|
for (let i = 0; i < r.length; i += 1)
|
|
4430
|
-
n[i] =
|
|
4513
|
+
n[i] = gr(br(e, r, i));
|
|
4431
4514
|
return {
|
|
4432
4515
|
c() {
|
|
4433
4516
|
for (let i = 0; i < n.length; i += 1)
|
|
4434
4517
|
n[i].c();
|
|
4435
|
-
t =
|
|
4518
|
+
t = cn();
|
|
4436
4519
|
},
|
|
4437
|
-
m(i,
|
|
4438
|
-
for (let
|
|
4439
|
-
n[
|
|
4440
|
-
|
|
4520
|
+
m(i, o) {
|
|
4521
|
+
for (let s = 0; s < n.length; s += 1)
|
|
4522
|
+
n[s] && n[s].m(i, o);
|
|
4523
|
+
K(i, t, o);
|
|
4441
4524
|
},
|
|
4442
|
-
p(i,
|
|
4443
|
-
if (
|
|
4444
|
-
|
|
4445
|
-
r =
|
|
4446
|
-
let
|
|
4447
|
-
for (
|
|
4448
|
-
const a =
|
|
4449
|
-
n[
|
|
4525
|
+
p(i, o) {
|
|
4526
|
+
if (o[0] & /*currency, realtimeupdate, updatedJackpotValues, formattedJackpotValues, formattedLabels, caticons*/
|
|
4527
|
+
18182) {
|
|
4528
|
+
r = zt(Array(4));
|
|
4529
|
+
let s;
|
|
4530
|
+
for (s = 0; s < r.length; s += 1) {
|
|
4531
|
+
const a = br(i, r, s);
|
|
4532
|
+
n[s] ? n[s].p(a, o) : (n[s] = gr(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4450
4533
|
}
|
|
4451
|
-
for (;
|
|
4452
|
-
n[
|
|
4534
|
+
for (; s < n.length; s += 1)
|
|
4535
|
+
n[s].d(1);
|
|
4453
4536
|
n.length = r.length;
|
|
4454
4537
|
}
|
|
4455
4538
|
},
|
|
4456
4539
|
d(i) {
|
|
4457
|
-
i && W(t),
|
|
4540
|
+
i && W(t), hn(n, i);
|
|
4458
4541
|
}
|
|
4459
4542
|
};
|
|
4460
4543
|
}
|
|
4461
|
-
function
|
|
4544
|
+
function gr(e) {
|
|
4462
4545
|
var _;
|
|
4463
|
-
let t, r, n, i,
|
|
4546
|
+
let t, r, n, i, o, s = (
|
|
4464
4547
|
/*formattedLabels*/
|
|
4465
|
-
e[
|
|
4548
|
+
e[9][
|
|
4466
4549
|
/*i*/
|
|
4467
|
-
e[
|
|
4550
|
+
e[54]
|
|
4468
4551
|
] + ""
|
|
4469
4552
|
), a, l, u, h = (
|
|
4470
|
-
/*
|
|
4471
|
-
(
|
|
4472
|
-
/*
|
|
4473
|
-
e[
|
|
4474
|
-
|
|
4553
|
+
/*realtimeupdate*/
|
|
4554
|
+
(e[2] === "true" ? (
|
|
4555
|
+
/*updatedJackpotValues*/
|
|
4556
|
+
e[14][
|
|
4557
|
+
/*i*/
|
|
4558
|
+
e[54]
|
|
4559
|
+
]
|
|
4560
|
+
) : (
|
|
4561
|
+
/*formattedJackpotValues*/
|
|
4562
|
+
(_ = e[8][
|
|
4563
|
+
/*i*/
|
|
4564
|
+
e[54]
|
|
4565
|
+
]) != null ? _ : ""
|
|
4566
|
+
)) + ""
|
|
4475
4567
|
), c, p, g, y;
|
|
4476
4568
|
return {
|
|
4477
4569
|
c() {
|
|
4478
|
-
t = b("div"), r = b("div"), n = b("img"),
|
|
4570
|
+
t = b("div"), r = b("div"), n = b("img"), o = b("span"), a = N(s), l = b("span"), u = b("span"), c = N(h), p = q(), g = b("span"), y = N(
|
|
4479
4571
|
/*currency*/
|
|
4480
4572
|
e[1]
|
|
4481
|
-
), d(n, "class", "displayCardIcon"),
|
|
4482
|
-
e[
|
|
4573
|
+
), d(n, "class", "displayCardIcon"), j(n.src, i = /*caticons*/
|
|
4574
|
+
e[10][
|
|
4483
4575
|
/*i*/
|
|
4484
|
-
e[
|
|
4485
|
-
]) || d(n, "src", i), d(n, "alt", ""), d(
|
|
4576
|
+
e[54]
|
|
4577
|
+
]) || d(n, "src", i), d(n, "alt", ""), d(o, "class", "cardLabel"), d(r, "class", "iconWrapper"), d(u, "class", "jackpotValue"), d(g, "class", "jackpot-currency"), d(l, "class", "cardTextWrapper"), d(t, "class", "displayCard");
|
|
4486
4578
|
},
|
|
4487
|
-
m(
|
|
4488
|
-
|
|
4579
|
+
m(v, E) {
|
|
4580
|
+
K(v, t, E), m(t, r), m(r, n), m(r, o), m(o, a), m(t, l), m(l, u), m(u, c), m(l, p), m(l, g), m(g, y);
|
|
4489
4581
|
},
|
|
4490
|
-
p(
|
|
4491
|
-
var
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4582
|
+
p(v, E) {
|
|
4583
|
+
var T;
|
|
4584
|
+
E[0] & /*caticons*/
|
|
4585
|
+
1024 && !j(n.src, i = /*caticons*/
|
|
4586
|
+
v[10][
|
|
4495
4587
|
/*i*/
|
|
4496
|
-
|
|
4497
|
-
]) && d(n, "src", i),
|
|
4498
|
-
|
|
4499
|
-
|
|
4588
|
+
v[54]
|
|
4589
|
+
]) && d(n, "src", i), E[0] & /*formattedLabels*/
|
|
4590
|
+
512 && s !== (s = /*formattedLabels*/
|
|
4591
|
+
v[9][
|
|
4500
4592
|
/*i*/
|
|
4501
|
-
|
|
4502
|
-
] + "") &&
|
|
4503
|
-
|
|
4504
|
-
(
|
|
4505
|
-
/*
|
|
4506
|
-
|
|
4507
|
-
|
|
4508
|
-
|
|
4593
|
+
v[54]
|
|
4594
|
+
] + "") && M(a, s), E[0] & /*realtimeupdate, updatedJackpotValues, formattedJackpotValues*/
|
|
4595
|
+
16644 && h !== (h = /*realtimeupdate*/
|
|
4596
|
+
(v[2] === "true" ? (
|
|
4597
|
+
/*updatedJackpotValues*/
|
|
4598
|
+
v[14][
|
|
4599
|
+
/*i*/
|
|
4600
|
+
v[54]
|
|
4601
|
+
]
|
|
4602
|
+
) : (
|
|
4603
|
+
/*formattedJackpotValues*/
|
|
4604
|
+
(T = v[8][
|
|
4605
|
+
/*i*/
|
|
4606
|
+
v[54]
|
|
4607
|
+
]) != null ? T : ""
|
|
4608
|
+
)) + "") && M(c, h), E[0] & /*currency*/
|
|
4609
|
+
2 && M(
|
|
4509
4610
|
y,
|
|
4510
4611
|
/*currency*/
|
|
4511
|
-
|
|
4612
|
+
v[1]
|
|
4512
4613
|
);
|
|
4513
4614
|
},
|
|
4514
|
-
d(
|
|
4515
|
-
|
|
4615
|
+
d(v) {
|
|
4616
|
+
v && W(t);
|
|
4516
4617
|
}
|
|
4517
4618
|
};
|
|
4518
4619
|
}
|
|
4519
|
-
function
|
|
4620
|
+
function jo(e) {
|
|
4520
4621
|
let t;
|
|
4521
|
-
function r(
|
|
4622
|
+
function r(o, s) {
|
|
4522
4623
|
return (
|
|
4523
4624
|
/*hasErrors*/
|
|
4524
|
-
|
|
4625
|
+
o[13] ? Uo : (
|
|
4525
4626
|
/*isLoading*/
|
|
4526
|
-
|
|
4627
|
+
o[4] ? Ro : Mo
|
|
4527
4628
|
)
|
|
4528
4629
|
);
|
|
4529
4630
|
}
|
|
@@ -4532,121 +4633,118 @@ function Is(e) {
|
|
|
4532
4633
|
c() {
|
|
4533
4634
|
t = b("div"), i.c();
|
|
4534
4635
|
},
|
|
4535
|
-
m(
|
|
4536
|
-
|
|
4636
|
+
m(o, s) {
|
|
4637
|
+
K(o, t, s), i.m(t, null), e[34](t);
|
|
4537
4638
|
},
|
|
4538
|
-
p(
|
|
4539
|
-
n === (n = r(
|
|
4639
|
+
p(o, s) {
|
|
4640
|
+
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4540
4641
|
},
|
|
4541
|
-
i:
|
|
4542
|
-
o:
|
|
4543
|
-
d(
|
|
4544
|
-
|
|
4642
|
+
i: D,
|
|
4643
|
+
o: D,
|
|
4644
|
+
d(o) {
|
|
4645
|
+
o && W(t), i.d(), e[34](null);
|
|
4545
4646
|
}
|
|
4546
4647
|
};
|
|
4547
4648
|
}
|
|
4548
|
-
function
|
|
4549
|
-
let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0:
|
|
4550
|
-
const
|
|
4551
|
-
fetch(
|
|
4552
|
-
Object.keys(
|
|
4553
|
-
|
|
4649
|
+
function ko(e, t, r) {
|
|
4650
|
+
let { visualstructure: n = "" } = t, { title: i = "" } = t, { caticon0: o = "" } = t, { caticon1: s = "" } = t, { caticon2: a = "" } = t, { caticon3: l = "" } = t, { iconlabels: u = "" } = t, { backgroundsrc: h = "" } = t, { currency: c = "" } = t, { backgroundsrcmobile: p = "" } = t, { titlelogopath: g = "" } = t, { lang: y = "en" } = t, { clientstyling: _ = "" } = t, { clientstylingurl: v = "" } = t, { translationurl: E = "" } = t, { endpoint: T = "" } = t, { gameid: B = "" } = t, { mbsource: U } = t, { realtimeupdate: O = "false" } = t, k = window.navigator.userAgent, X = !1, z = !1, ue = "", ne = [], ie = [], Oe = [], le = [], pe = [], de = "", J = "", Z, Q = !0, $ = !1, oe, F = null, ee = [];
|
|
4651
|
+
const Ne = () => {
|
|
4652
|
+
fetch(E).then((w) => w.json()).then((w) => {
|
|
4653
|
+
Object.keys(w).forEach((I) => {
|
|
4654
|
+
dr(I, w[I]);
|
|
4554
4655
|
});
|
|
4555
|
-
}).catch((
|
|
4556
|
-
console.log(
|
|
4656
|
+
}).catch((w) => {
|
|
4657
|
+
console.log(w);
|
|
4557
4658
|
});
|
|
4558
4659
|
};
|
|
4559
|
-
Object.keys(
|
|
4560
|
-
|
|
4660
|
+
Object.keys(mr).forEach((f) => {
|
|
4661
|
+
dr(f, mr[f]);
|
|
4561
4662
|
});
|
|
4562
|
-
const
|
|
4563
|
-
var
|
|
4564
|
-
const
|
|
4565
|
-
|
|
4566
|
-
},
|
|
4567
|
-
var
|
|
4568
|
-
r(
|
|
4569
|
-
},
|
|
4570
|
-
if (
|
|
4571
|
-
let f = new URL(`${
|
|
4572
|
-
f.searchParams.append("filter", `id=${
|
|
4573
|
-
r(
|
|
4574
|
-
}).catch((
|
|
4575
|
-
r(13,
|
|
4663
|
+
const Y = ["typeSpread", "typeLeft"], me = (f) => {
|
|
4664
|
+
var I;
|
|
4665
|
+
const w = (I = f == null ? void 0 : f.items[0]) == null ? void 0 : I.additionalData;
|
|
4666
|
+
w && Object.values(w).forEach((_e) => ne.push(+_e));
|
|
4667
|
+
}, be = (f) => {
|
|
4668
|
+
var w;
|
|
4669
|
+
r(7, ue = ((w = f == null ? void 0 : f.items[0]) == null ? void 0 : w.vendorLogo) || "");
|
|
4670
|
+
}, Me = () => {
|
|
4671
|
+
if (T && y && c) {
|
|
4672
|
+
let f = new URL(`${T}/v1/casino/jackpots`);
|
|
4673
|
+
f.searchParams.append("filter", `id=${B}`), f.searchParams.append("language", y), f.searchParams.append("additionalDataCurrency", c), fetch(f.href).then((w) => w.json().then((I) => {
|
|
4674
|
+
r(4, Q = !1), oe = I, ie.includes(B) && (me(oe), be(oe));
|
|
4675
|
+
}).catch((I) => {
|
|
4676
|
+
r(13, $ = !0), r(4, Q = !1), console.error(I);
|
|
4576
4677
|
}));
|
|
4577
4678
|
}
|
|
4578
|
-
},
|
|
4579
|
-
let f = new URL(`${
|
|
4580
|
-
fetch(f.href).then((
|
|
4581
|
-
r(
|
|
4679
|
+
}, Ve = () => {
|
|
4680
|
+
let f = new URL(`${T}/v1/casino/jackpots/config`);
|
|
4681
|
+
fetch(f.href).then((w) => w.json()).then((w) => {
|
|
4682
|
+
r(32, ie = w.egtJackpotIds.map((I) => I));
|
|
4582
4683
|
});
|
|
4583
|
-
},
|
|
4584
|
-
r(
|
|
4585
|
-
},
|
|
4684
|
+
}, he = () => {
|
|
4685
|
+
r(5, X = Lo(k) && window.innerHeight / window.innerWidth > 1), r(6, z = We()), ne.length !== 0 && r(8, Oe = Re(ne)), r(9, le = u ? u.split(",").map((f) => f.trim().toUpperCase()) : new Array(4).fill("")), Y.includes(n.trim()) ? r(0, n = n.trim()) : (console.warn(`Invalid Attribute Value: "${n}" is not a valid value for the "visualstructure" attribute. Defaulting to "${Y[0]}"`), r(0, n = Y[0])), r(11, de = p && X && !z ? p : h), r(12, J = g), r(10, pe = [o, s, a, l]);
|
|
4686
|
+
}, Re = (f) => f.map((w) => Intl.NumberFormat("en-US", { maximumFractionDigits: 2 }).format(w)), We = () => {
|
|
4586
4687
|
const f = window.innerHeight / window.innerWidth;
|
|
4587
4688
|
return 0.75 < f && f < 1.6;
|
|
4588
|
-
},
|
|
4589
|
-
window.postMessage({ type: "JackpotBannerClicked", gameid:
|
|
4689
|
+
}, se = () => {
|
|
4690
|
+
window.postMessage({ type: "JackpotBannerClicked", gameid: B }, window.location.href), typeof gtag == "function" && gtag("event", "JackpotBannerClicked", {
|
|
4590
4691
|
context: "JackpotBanner",
|
|
4591
|
-
gameId: `${
|
|
4692
|
+
gameId: `${B}`
|
|
4592
4693
|
});
|
|
4593
|
-
},
|
|
4594
|
-
|
|
4595
|
-
|
|
4596
|
-
|
|
4597
|
-
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
|
|
4601
|
-
|
|
4602
|
-
|
|
4603
|
-
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
|
-
|
|
4607
|
-
|
|
4608
|
-
|
|
4609
|
-
|
|
4610
|
-
|
|
4611
|
-
|
|
4612
|
-
}, ue = () => {
|
|
4613
|
-
ws(y);
|
|
4614
|
-
}, le = () => ae();
|
|
4615
|
-
function J(f) {
|
|
4616
|
-
gt[f ? "unshift" : "push"](() => {
|
|
4617
|
-
k = f, r(2, k);
|
|
4694
|
+
}, ce = () => {
|
|
4695
|
+
Oo(y);
|
|
4696
|
+
}, V = (f) => {
|
|
4697
|
+
const w = JSON.parse(f.data);
|
|
4698
|
+
if (w.success && w.data.messageType === "UpdateEgtJackpotBalance" && w.data.jackpotAlias.split("_")[0] === B) {
|
|
4699
|
+
const I = Number(w.data.jackpotAlias.split("_")[1]) - 1;
|
|
4700
|
+
r(14, ee[I] = w.data.data[`${c}`].balance.toString(), ee);
|
|
4701
|
+
}
|
|
4702
|
+
}, ge = () => {
|
|
4703
|
+
O === "true" && (he(), r(14, ee = ["", "", "", ""]), F = new EventSource(`${T}/v1/encoder/jackpot/*/update`), F.addEventListener("message", V));
|
|
4704
|
+
};
|
|
4705
|
+
mn(() => () => {
|
|
4706
|
+
}), bn(() => {
|
|
4707
|
+
F && (F.removeEventListener("message", V), F.close(), F = null);
|
|
4708
|
+
});
|
|
4709
|
+
const ye = () => se();
|
|
4710
|
+
function ve(f) {
|
|
4711
|
+
vt[f ? "unshift" : "push"](() => {
|
|
4712
|
+
Z = f, r(3, Z);
|
|
4618
4713
|
});
|
|
4619
4714
|
}
|
|
4620
4715
|
return e.$$set = (f) => {
|
|
4621
|
-
"visualstructure" in f && r(0, n = f.visualstructure), "title" in f && r(
|
|
4716
|
+
"visualstructure" in f && r(0, n = f.visualstructure), "title" in f && r(16, i = f.title), "caticon0" in f && r(17, o = f.caticon0), "caticon1" in f && r(18, s = f.caticon1), "caticon2" in f && r(19, a = f.caticon2), "caticon3" in f && r(20, l = f.caticon3), "iconlabels" in f && r(21, u = f.iconlabels), "backgroundsrc" in f && r(22, h = f.backgroundsrc), "currency" in f && r(1, c = f.currency), "backgroundsrcmobile" in f && r(23, p = f.backgroundsrcmobile), "titlelogopath" in f && r(24, g = f.titlelogopath), "lang" in f && r(25, y = f.lang), "clientstyling" in f && r(26, _ = f.clientstyling), "clientstylingurl" in f && r(27, v = f.clientstylingurl), "translationurl" in f && r(28, E = f.translationurl), "endpoint" in f && r(29, T = f.endpoint), "gameid" in f && r(30, B = f.gameid), "mbsource" in f && r(31, U = f.mbsource), "realtimeupdate" in f && r(2, O = f.realtimeupdate);
|
|
4622
4717
|
}, e.$$.update = () => {
|
|
4623
4718
|
e.$$.dirty[0] & /*endpoint*/
|
|
4624
|
-
|
|
4625
|
-
|
|
4626
|
-
|
|
4627
|
-
|
|
4628
|
-
|
|
4629
|
-
|
|
4630
|
-
|
|
4719
|
+
536870912 && T && Ve(), e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
|
|
4720
|
+
67108872, e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
|
|
4721
|
+
134217736 && Z && v && Io(), e.$$.dirty[0] & /*endpoint, lang, currency*/
|
|
4722
|
+
570425346 | e.$$.dirty[1] & /*validGameIds*/
|
|
4723
|
+
2 && T && y && c && ie.length > 0 && Me(), e.$$.dirty[0] & /*currency, lang, isLoading*/
|
|
4724
|
+
33554450 && c && y && !Q && he(), e.$$.dirty[0] & /*lang*/
|
|
4725
|
+
33554432 && y && ce(), e.$$.dirty[0] & /*translationurl*/
|
|
4726
|
+
268435456 && E && Ne(), e.$$.dirty[0] & /*realtimeupdate*/
|
|
4727
|
+
4 && O && ge();
|
|
4631
4728
|
}, [
|
|
4632
4729
|
n,
|
|
4633
4730
|
c,
|
|
4634
|
-
|
|
4731
|
+
O,
|
|
4732
|
+
Z,
|
|
4733
|
+
Q,
|
|
4734
|
+
X,
|
|
4635
4735
|
z,
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4736
|
+
ue,
|
|
4737
|
+
Oe,
|
|
4738
|
+
le,
|
|
4739
|
+
pe,
|
|
4740
|
+
de,
|
|
4741
|
+
J,
|
|
4742
|
+
$,
|
|
4743
|
+
ee,
|
|
4639
4744
|
se,
|
|
4640
|
-
ce,
|
|
4641
|
-
Ce,
|
|
4642
|
-
oe,
|
|
4643
|
-
fe,
|
|
4644
|
-
V,
|
|
4645
|
-
te,
|
|
4646
|
-
ae,
|
|
4647
4745
|
i,
|
|
4648
|
-
s,
|
|
4649
4746
|
o,
|
|
4747
|
+
s,
|
|
4650
4748
|
a,
|
|
4651
4749
|
l,
|
|
4652
4750
|
u,
|
|
@@ -4655,43 +4753,46 @@ function Ls(e, t, r) {
|
|
|
4655
4753
|
g,
|
|
4656
4754
|
y,
|
|
4657
4755
|
_,
|
|
4658
|
-
T,
|
|
4659
|
-
H,
|
|
4660
|
-
E,
|
|
4661
4756
|
v,
|
|
4662
|
-
|
|
4663
|
-
|
|
4664
|
-
|
|
4757
|
+
E,
|
|
4758
|
+
T,
|
|
4759
|
+
B,
|
|
4760
|
+
U,
|
|
4761
|
+
ie,
|
|
4762
|
+
ye,
|
|
4763
|
+
ve
|
|
4665
4764
|
];
|
|
4666
4765
|
}
|
|
4667
|
-
class
|
|
4766
|
+
class $o extends Bn {
|
|
4668
4767
|
constructor(t) {
|
|
4669
|
-
super(),
|
|
4768
|
+
super(), Hn(
|
|
4670
4769
|
this,
|
|
4671
4770
|
t,
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4771
|
+
ko,
|
|
4772
|
+
jo,
|
|
4773
|
+
vr,
|
|
4675
4774
|
{
|
|
4676
4775
|
visualstructure: 0,
|
|
4677
|
-
title:
|
|
4678
|
-
caticon0:
|
|
4679
|
-
caticon1:
|
|
4680
|
-
caticon2:
|
|
4681
|
-
caticon3:
|
|
4682
|
-
iconlabels:
|
|
4683
|
-
backgroundsrc:
|
|
4776
|
+
title: 16,
|
|
4777
|
+
caticon0: 17,
|
|
4778
|
+
caticon1: 18,
|
|
4779
|
+
caticon2: 19,
|
|
4780
|
+
caticon3: 20,
|
|
4781
|
+
iconlabels: 21,
|
|
4782
|
+
backgroundsrc: 22,
|
|
4684
4783
|
currency: 1,
|
|
4685
|
-
backgroundsrcmobile:
|
|
4686
|
-
titlelogopath:
|
|
4687
|
-
lang:
|
|
4688
|
-
clientstyling:
|
|
4689
|
-
clientstylingurl:
|
|
4690
|
-
translationurl:
|
|
4691
|
-
endpoint:
|
|
4692
|
-
gameid:
|
|
4784
|
+
backgroundsrcmobile: 23,
|
|
4785
|
+
titlelogopath: 24,
|
|
4786
|
+
lang: 25,
|
|
4787
|
+
clientstyling: 26,
|
|
4788
|
+
clientstylingurl: 27,
|
|
4789
|
+
translationurl: 28,
|
|
4790
|
+
endpoint: 29,
|
|
4791
|
+
gameid: 30,
|
|
4792
|
+
mbsource: 31,
|
|
4793
|
+
realtimeupdate: 2
|
|
4693
4794
|
},
|
|
4694
|
-
|
|
4795
|
+
No,
|
|
4695
4796
|
[-1, -1]
|
|
4696
4797
|
);
|
|
4697
4798
|
}
|
|
@@ -4699,106 +4800,118 @@ class Ns extends xn {
|
|
|
4699
4800
|
return this.$$.ctx[0];
|
|
4700
4801
|
}
|
|
4701
4802
|
set visualstructure(t) {
|
|
4702
|
-
this.$$set({ visualstructure: t }),
|
|
4803
|
+
this.$$set({ visualstructure: t }), C();
|
|
4703
4804
|
}
|
|
4704
4805
|
get title() {
|
|
4705
|
-
return this.$$.ctx[
|
|
4806
|
+
return this.$$.ctx[16];
|
|
4706
4807
|
}
|
|
4707
4808
|
set title(t) {
|
|
4708
|
-
this.$$set({ title: t }),
|
|
4809
|
+
this.$$set({ title: t }), C();
|
|
4709
4810
|
}
|
|
4710
4811
|
get caticon0() {
|
|
4711
|
-
return this.$$.ctx[
|
|
4812
|
+
return this.$$.ctx[17];
|
|
4712
4813
|
}
|
|
4713
4814
|
set caticon0(t) {
|
|
4714
|
-
this.$$set({ caticon0: t }),
|
|
4815
|
+
this.$$set({ caticon0: t }), C();
|
|
4715
4816
|
}
|
|
4716
4817
|
get caticon1() {
|
|
4717
|
-
return this.$$.ctx[
|
|
4818
|
+
return this.$$.ctx[18];
|
|
4718
4819
|
}
|
|
4719
4820
|
set caticon1(t) {
|
|
4720
|
-
this.$$set({ caticon1: t }),
|
|
4821
|
+
this.$$set({ caticon1: t }), C();
|
|
4721
4822
|
}
|
|
4722
4823
|
get caticon2() {
|
|
4723
|
-
return this.$$.ctx[
|
|
4824
|
+
return this.$$.ctx[19];
|
|
4724
4825
|
}
|
|
4725
4826
|
set caticon2(t) {
|
|
4726
|
-
this.$$set({ caticon2: t }),
|
|
4827
|
+
this.$$set({ caticon2: t }), C();
|
|
4727
4828
|
}
|
|
4728
4829
|
get caticon3() {
|
|
4729
|
-
return this.$$.ctx[
|
|
4830
|
+
return this.$$.ctx[20];
|
|
4730
4831
|
}
|
|
4731
4832
|
set caticon3(t) {
|
|
4732
|
-
this.$$set({ caticon3: t }),
|
|
4833
|
+
this.$$set({ caticon3: t }), C();
|
|
4733
4834
|
}
|
|
4734
4835
|
get iconlabels() {
|
|
4735
|
-
return this.$$.ctx[
|
|
4836
|
+
return this.$$.ctx[21];
|
|
4736
4837
|
}
|
|
4737
4838
|
set iconlabels(t) {
|
|
4738
|
-
this.$$set({ iconlabels: t }),
|
|
4839
|
+
this.$$set({ iconlabels: t }), C();
|
|
4739
4840
|
}
|
|
4740
4841
|
get backgroundsrc() {
|
|
4741
|
-
return this.$$.ctx[
|
|
4842
|
+
return this.$$.ctx[22];
|
|
4742
4843
|
}
|
|
4743
4844
|
set backgroundsrc(t) {
|
|
4744
|
-
this.$$set({ backgroundsrc: t }),
|
|
4845
|
+
this.$$set({ backgroundsrc: t }), C();
|
|
4745
4846
|
}
|
|
4746
4847
|
get currency() {
|
|
4747
4848
|
return this.$$.ctx[1];
|
|
4748
4849
|
}
|
|
4749
4850
|
set currency(t) {
|
|
4750
|
-
this.$$set({ currency: t }),
|
|
4851
|
+
this.$$set({ currency: t }), C();
|
|
4751
4852
|
}
|
|
4752
4853
|
get backgroundsrcmobile() {
|
|
4753
|
-
return this.$$.ctx[
|
|
4854
|
+
return this.$$.ctx[23];
|
|
4754
4855
|
}
|
|
4755
4856
|
set backgroundsrcmobile(t) {
|
|
4756
|
-
this.$$set({ backgroundsrcmobile: t }),
|
|
4857
|
+
this.$$set({ backgroundsrcmobile: t }), C();
|
|
4757
4858
|
}
|
|
4758
4859
|
get titlelogopath() {
|
|
4759
|
-
return this.$$.ctx[
|
|
4860
|
+
return this.$$.ctx[24];
|
|
4760
4861
|
}
|
|
4761
4862
|
set titlelogopath(t) {
|
|
4762
|
-
this.$$set({ titlelogopath: t }),
|
|
4863
|
+
this.$$set({ titlelogopath: t }), C();
|
|
4763
4864
|
}
|
|
4764
4865
|
get lang() {
|
|
4765
|
-
return this.$$.ctx[
|
|
4866
|
+
return this.$$.ctx[25];
|
|
4766
4867
|
}
|
|
4767
4868
|
set lang(t) {
|
|
4768
|
-
this.$$set({ lang: t }),
|
|
4869
|
+
this.$$set({ lang: t }), C();
|
|
4769
4870
|
}
|
|
4770
4871
|
get clientstyling() {
|
|
4771
|
-
return this.$$.ctx[
|
|
4872
|
+
return this.$$.ctx[26];
|
|
4772
4873
|
}
|
|
4773
4874
|
set clientstyling(t) {
|
|
4774
|
-
this.$$set({ clientstyling: t }),
|
|
4875
|
+
this.$$set({ clientstyling: t }), C();
|
|
4775
4876
|
}
|
|
4776
4877
|
get clientstylingurl() {
|
|
4777
|
-
return this.$$.ctx[
|
|
4878
|
+
return this.$$.ctx[27];
|
|
4778
4879
|
}
|
|
4779
4880
|
set clientstylingurl(t) {
|
|
4780
|
-
this.$$set({ clientstylingurl: t }),
|
|
4881
|
+
this.$$set({ clientstylingurl: t }), C();
|
|
4781
4882
|
}
|
|
4782
4883
|
get translationurl() {
|
|
4783
|
-
return this.$$.ctx[
|
|
4884
|
+
return this.$$.ctx[28];
|
|
4784
4885
|
}
|
|
4785
4886
|
set translationurl(t) {
|
|
4786
|
-
this.$$set({ translationurl: t }),
|
|
4887
|
+
this.$$set({ translationurl: t }), C();
|
|
4787
4888
|
}
|
|
4788
4889
|
get endpoint() {
|
|
4789
|
-
return this.$$.ctx[
|
|
4890
|
+
return this.$$.ctx[29];
|
|
4790
4891
|
}
|
|
4791
4892
|
set endpoint(t) {
|
|
4792
|
-
this.$$set({ endpoint: t }),
|
|
4893
|
+
this.$$set({ endpoint: t }), C();
|
|
4793
4894
|
}
|
|
4794
4895
|
get gameid() {
|
|
4795
|
-
return this.$$.ctx[
|
|
4896
|
+
return this.$$.ctx[30];
|
|
4796
4897
|
}
|
|
4797
4898
|
set gameid(t) {
|
|
4798
|
-
this.$$set({ gameid: t }),
|
|
4899
|
+
this.$$set({ gameid: t }), C();
|
|
4900
|
+
}
|
|
4901
|
+
get mbsource() {
|
|
4902
|
+
return this.$$.ctx[31];
|
|
4903
|
+
}
|
|
4904
|
+
set mbsource(t) {
|
|
4905
|
+
this.$$set({ mbsource: t }), C();
|
|
4906
|
+
}
|
|
4907
|
+
get realtimeupdate() {
|
|
4908
|
+
return this.$$.ctx[2];
|
|
4909
|
+
}
|
|
4910
|
+
set realtimeupdate(t) {
|
|
4911
|
+
this.$$set({ realtimeupdate: t }), C();
|
|
4799
4912
|
}
|
|
4800
4913
|
}
|
|
4801
|
-
|
|
4914
|
+
An($o, { visualstructure: {}, title: {}, caticon0: {}, caticon1: {}, caticon2: {}, caticon3: {}, iconlabels: {}, backgroundsrc: {}, currency: {}, backgroundsrcmobile: {}, titlelogopath: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, endpoint: {}, gameid: {}, mbsource: {}, realtimeupdate: {} }, [], [], !0);
|
|
4802
4915
|
export {
|
|
4803
|
-
|
|
4916
|
+
$o as default
|
|
4804
4917
|
};
|