@everymatrix/casino-tournaments-thumbnail-games 1.87.26 → 1.87.28
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/{CasinoTournamentsThumbnailGames-Ck0JK0i_.js → CasinoTournamentsThumbnailGames-CJIIdYDT.js} +952 -924
- package/components/{CasinoTournamentsThumbnailGames-F0mlkU4B.js → CasinoTournamentsThumbnailGames-CKJgCsGk.js} +871 -842
- package/components/{CasinoTournamentsThumbnailGames-CqSvghVB.cjs → CasinoTournamentsThumbnailGames-S7TnDbQx.cjs} +4 -4
- package/es2015/casino-tournaments-thumbnail-games.cjs +1 -1
- package/es2015/casino-tournaments-thumbnail-games.js +1 -1
- package/esnext/casino-tournaments-thumbnail-games.js +1 -1
- package/package.json +1 -1
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import "../stencil/ui-image-Ch-GHki1.js";
|
|
2
|
-
function
|
|
2
|
+
function R() {
|
|
3
3
|
}
|
|
4
|
-
function
|
|
4
|
+
function Xt(e) {
|
|
5
5
|
return e();
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function dt() {
|
|
8
8
|
return /* @__PURE__ */ Object.create(null);
|
|
9
9
|
}
|
|
10
|
-
function
|
|
11
|
-
e.forEach(
|
|
10
|
+
function ae(e) {
|
|
11
|
+
e.forEach(Xt);
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function Oe(e) {
|
|
14
14
|
return typeof e == "function";
|
|
15
15
|
}
|
|
16
|
-
function
|
|
16
|
+
function Wt(e, t) {
|
|
17
17
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
18
18
|
}
|
|
19
|
-
let
|
|
20
|
-
function
|
|
21
|
-
return e === t ? !0 : (
|
|
19
|
+
let ge;
|
|
20
|
+
function bt(e, t) {
|
|
21
|
+
return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function Cr(e) {
|
|
24
24
|
return Object.keys(e).length === 0;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
26
|
+
function zt(e, ...t) {
|
|
27
27
|
if (e == null) {
|
|
28
28
|
for (const n of t)
|
|
29
29
|
n(void 0);
|
|
30
|
-
return
|
|
30
|
+
return R;
|
|
31
31
|
}
|
|
32
32
|
const r = e.subscribe(...t);
|
|
33
33
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
e.$$.on_destroy.push(
|
|
35
|
+
function Nr(e, t, r) {
|
|
36
|
+
e.$$.on_destroy.push(zt(t, r));
|
|
37
37
|
}
|
|
38
38
|
function x(e, t) {
|
|
39
39
|
e.appendChild(t);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
const n =
|
|
41
|
+
function Ir(e, t, r) {
|
|
42
|
+
const n = Lr(e);
|
|
43
43
|
if (!n.getElementById(t)) {
|
|
44
|
-
const i =
|
|
45
|
-
i.id = t, i.textContent = r,
|
|
44
|
+
const i = A("style");
|
|
45
|
+
i.id = t, i.textContent = r, Mr(n, i);
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function Lr(e) {
|
|
49
49
|
if (!e)
|
|
50
50
|
return document;
|
|
51
51
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -55,56 +55,56 @@ function Cr(e) {
|
|
|
55
55
|
t
|
|
56
56
|
) : e.ownerDocument;
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function Mr(e, t) {
|
|
59
59
|
return x(
|
|
60
60
|
/** @type {Document} */
|
|
61
61
|
e.head || e,
|
|
62
62
|
t
|
|
63
63
|
), t.sheet;
|
|
64
64
|
}
|
|
65
|
-
function
|
|
65
|
+
function D(e, t, r) {
|
|
66
66
|
e.insertBefore(t, r || null);
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function G(e) {
|
|
69
69
|
e.parentNode && e.parentNode.removeChild(e);
|
|
70
70
|
}
|
|
71
|
-
function
|
|
71
|
+
function Zt(e, t) {
|
|
72
72
|
for (let r = 0; r < e.length; r += 1)
|
|
73
73
|
e[r] && e[r].d(t);
|
|
74
74
|
}
|
|
75
|
-
function
|
|
75
|
+
function A(e) {
|
|
76
76
|
return document.createElement(e);
|
|
77
77
|
}
|
|
78
|
-
function
|
|
78
|
+
function ve(e) {
|
|
79
79
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
80
80
|
}
|
|
81
|
-
function
|
|
81
|
+
function U(e) {
|
|
82
82
|
return document.createTextNode(e);
|
|
83
83
|
}
|
|
84
84
|
function j() {
|
|
85
|
-
return
|
|
85
|
+
return U(" ");
|
|
86
86
|
}
|
|
87
|
-
function
|
|
88
|
-
return
|
|
87
|
+
function Rr() {
|
|
88
|
+
return U("");
|
|
89
89
|
}
|
|
90
|
-
function
|
|
90
|
+
function Xe(e, t, r, n) {
|
|
91
91
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function g(e, t, r) {
|
|
94
94
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function C(e, t, r) {
|
|
97
97
|
const n = t.toLowerCase();
|
|
98
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
98
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : g(e, t, r);
|
|
99
99
|
}
|
|
100
|
-
function
|
|
100
|
+
function Gr(e) {
|
|
101
101
|
return Array.from(e.childNodes);
|
|
102
102
|
}
|
|
103
103
|
function W(e, t) {
|
|
104
104
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
105
105
|
t);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function $r(e) {
|
|
108
108
|
const t = {};
|
|
109
109
|
return e.childNodes.forEach(
|
|
110
110
|
/** @param {Element} node */
|
|
@@ -113,101 +113,101 @@ function Rr(e) {
|
|
|
113
113
|
}
|
|
114
114
|
), t;
|
|
115
115
|
}
|
|
116
|
-
let
|
|
117
|
-
function
|
|
118
|
-
|
|
116
|
+
let pe;
|
|
117
|
+
function fe(e) {
|
|
118
|
+
pe = e;
|
|
119
119
|
}
|
|
120
|
-
function
|
|
121
|
-
if (!
|
|
120
|
+
function Qt() {
|
|
121
|
+
if (!pe)
|
|
122
122
|
throw new Error("Function called outside component initialization");
|
|
123
|
-
return
|
|
123
|
+
return pe;
|
|
124
124
|
}
|
|
125
|
-
function
|
|
126
|
-
|
|
125
|
+
function Ur(e) {
|
|
126
|
+
Qt().$$.on_mount.push(e);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
|
|
128
|
+
function Dr(e) {
|
|
129
|
+
Qt().$$.on_destroy.push(e);
|
|
130
130
|
}
|
|
131
131
|
const ee = [], Te = [];
|
|
132
|
-
let
|
|
133
|
-
const
|
|
134
|
-
let
|
|
135
|
-
function
|
|
136
|
-
|
|
137
|
-
}
|
|
138
|
-
function
|
|
139
|
-
|
|
140
|
-
}
|
|
141
|
-
const
|
|
142
|
-
let
|
|
143
|
-
function
|
|
144
|
-
if (
|
|
132
|
+
let re = [];
|
|
133
|
+
const gt = [], Fr = /* @__PURE__ */ Promise.resolve();
|
|
134
|
+
let We = !1;
|
|
135
|
+
function jr() {
|
|
136
|
+
We || (We = !0, Fr.then(J));
|
|
137
|
+
}
|
|
138
|
+
function ze(e) {
|
|
139
|
+
re.push(e);
|
|
140
|
+
}
|
|
141
|
+
const Ge = /* @__PURE__ */ new Set();
|
|
142
|
+
let q = 0;
|
|
143
|
+
function J() {
|
|
144
|
+
if (q !== 0)
|
|
145
145
|
return;
|
|
146
|
-
const e =
|
|
146
|
+
const e = pe;
|
|
147
147
|
do {
|
|
148
148
|
try {
|
|
149
|
-
for (;
|
|
150
|
-
const t = ee[
|
|
151
|
-
|
|
149
|
+
for (; q < ee.length; ) {
|
|
150
|
+
const t = ee[q];
|
|
151
|
+
q++, fe(t), kr(t.$$);
|
|
152
152
|
}
|
|
153
153
|
} catch (t) {
|
|
154
|
-
throw ee.length = 0,
|
|
154
|
+
throw ee.length = 0, q = 0, t;
|
|
155
155
|
}
|
|
156
|
-
for (
|
|
156
|
+
for (fe(null), ee.length = 0, q = 0; Te.length; )
|
|
157
157
|
Te.pop()();
|
|
158
|
-
for (let t = 0; t <
|
|
159
|
-
const r =
|
|
160
|
-
|
|
158
|
+
for (let t = 0; t < re.length; t += 1) {
|
|
159
|
+
const r = re[t];
|
|
160
|
+
Ge.has(r) || (Ge.add(r), r());
|
|
161
161
|
}
|
|
162
|
-
|
|
162
|
+
re.length = 0;
|
|
163
163
|
} while (ee.length);
|
|
164
|
-
for (;
|
|
165
|
-
|
|
166
|
-
|
|
164
|
+
for (; gt.length; )
|
|
165
|
+
gt.pop()();
|
|
166
|
+
We = !1, Ge.clear(), fe(e);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function kr(e) {
|
|
169
169
|
if (e.fragment !== null) {
|
|
170
|
-
e.update(),
|
|
170
|
+
e.update(), ae(e.before_update);
|
|
171
171
|
const t = e.dirty;
|
|
172
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
172
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
|
|
173
173
|
}
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Vr(e) {
|
|
176
176
|
const t = [], r = [];
|
|
177
|
-
|
|
177
|
+
re.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), re = t;
|
|
178
178
|
}
|
|
179
|
-
const
|
|
180
|
-
function
|
|
181
|
-
e && e.i && (
|
|
179
|
+
const Xr = /* @__PURE__ */ new Set();
|
|
180
|
+
function Wr(e, t) {
|
|
181
|
+
e && e.i && (Xr.delete(e), e.i(t));
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function He(e) {
|
|
184
184
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
185
185
|
}
|
|
186
|
-
function
|
|
186
|
+
function zr(e, t, r) {
|
|
187
187
|
const { fragment: n, after_update: i } = e.$$;
|
|
188
|
-
n && n.m(t, r),
|
|
189
|
-
const o = e.$$.on_mount.map(
|
|
190
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
191
|
-
}), i.forEach(
|
|
188
|
+
n && n.m(t, r), ze(() => {
|
|
189
|
+
const o = e.$$.on_mount.map(Xt).filter(Oe);
|
|
190
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
|
|
191
|
+
}), i.forEach(ze);
|
|
192
192
|
}
|
|
193
|
-
function
|
|
193
|
+
function Zr(e, t) {
|
|
194
194
|
const r = e.$$;
|
|
195
|
-
r.fragment !== null && (
|
|
195
|
+
r.fragment !== null && (Vr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
198
|
-
e.$$.dirty[0] === -1 && (ee.push(e),
|
|
197
|
+
function Qr(e, t) {
|
|
198
|
+
e.$$.dirty[0] === -1 && (ee.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
199
199
|
}
|
|
200
|
-
function
|
|
201
|
-
const l =
|
|
202
|
-
|
|
200
|
+
function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
201
|
+
const l = pe;
|
|
202
|
+
fe(e);
|
|
203
203
|
const u = e.$$ = {
|
|
204
204
|
fragment: null,
|
|
205
205
|
ctx: [],
|
|
206
206
|
// state
|
|
207
207
|
props: o,
|
|
208
|
-
update:
|
|
208
|
+
update: R,
|
|
209
209
|
not_equal: i,
|
|
210
|
-
bound:
|
|
210
|
+
bound: dt(),
|
|
211
211
|
// lifecycle
|
|
212
212
|
on_mount: [],
|
|
213
213
|
on_destroy: [],
|
|
@@ -216,7 +216,7 @@ function Zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
216
216
|
after_update: [],
|
|
217
217
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
218
218
|
// everything else
|
|
219
|
-
callbacks:
|
|
219
|
+
callbacks: dt(),
|
|
220
220
|
dirty: a,
|
|
221
221
|
skip_bound: !1,
|
|
222
222
|
root: t.target || l.$$.root
|
|
@@ -225,19 +225,19 @@ function Zr(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
225
225
|
let h = !1;
|
|
226
226
|
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
|
227
227
|
const b = d.length ? d[0] : c;
|
|
228
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h &&
|
|
229
|
-
}) : [], u.update(), h = !0,
|
|
228
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && Qr(e, f)), c;
|
|
229
|
+
}) : [], u.update(), h = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
230
230
|
if (t.hydrate) {
|
|
231
|
-
const f =
|
|
232
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
231
|
+
const f = Gr(t.target);
|
|
232
|
+
u.fragment && u.fragment.l(f), f.forEach(G);
|
|
233
233
|
} else
|
|
234
234
|
u.fragment && u.fragment.c();
|
|
235
|
-
t.intro &&
|
|
235
|
+
t.intro && Wr(e.$$.fragment), zr(e, t.target, t.anchor), J();
|
|
236
236
|
}
|
|
237
|
-
|
|
237
|
+
fe(l);
|
|
238
238
|
}
|
|
239
|
-
let
|
|
240
|
-
typeof HTMLElement == "function" && (
|
|
239
|
+
let Jt;
|
|
240
|
+
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
241
241
|
/** The Svelte component constructor */
|
|
242
242
|
$$ctor;
|
|
243
243
|
/** Slots */
|
|
@@ -279,29 +279,29 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
279
279
|
let o;
|
|
280
280
|
return {
|
|
281
281
|
c: function() {
|
|
282
|
-
o =
|
|
282
|
+
o = A("slot"), i !== "default" && g(o, "name", i);
|
|
283
283
|
},
|
|
284
284
|
/**
|
|
285
285
|
* @param {HTMLElement} target
|
|
286
286
|
* @param {HTMLElement} [anchor]
|
|
287
287
|
*/
|
|
288
288
|
m: function(l, u) {
|
|
289
|
-
|
|
289
|
+
D(l, o, u);
|
|
290
290
|
},
|
|
291
291
|
d: function(l) {
|
|
292
|
-
l &&
|
|
292
|
+
l && G(o);
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
};
|
|
296
296
|
};
|
|
297
297
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
298
298
|
return;
|
|
299
|
-
const t = {}, r =
|
|
299
|
+
const t = {}, r = $r(this);
|
|
300
300
|
for (const i of this.$$s)
|
|
301
301
|
i in r && (t[i] = [e(i)]);
|
|
302
302
|
for (const i of this.attributes) {
|
|
303
303
|
const o = this.$$g_p(i.name);
|
|
304
|
-
o in this.$$d || (this.$$d[o] =
|
|
304
|
+
o in this.$$d || (this.$$d[o] = Ee(o, i.value, this.$$p_d, "toProp"));
|
|
305
305
|
}
|
|
306
306
|
for (const i in this.$$p_d)
|
|
307
307
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
319
319
|
this.$$r = !0;
|
|
320
320
|
for (const i in this.$$p_d)
|
|
321
321
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
322
|
-
const o =
|
|
322
|
+
const o = Ee(
|
|
323
323
|
i,
|
|
324
324
|
this.$$d[i],
|
|
325
325
|
this.$$p_d,
|
|
@@ -341,7 +341,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
341
341
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
342
342
|
// and setting attributes through setAttribute etc, this is helpful
|
|
343
343
|
attributeChangedCallback(e, t, r) {
|
|
344
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
344
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ee(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
345
345
|
}
|
|
346
346
|
disconnectedCallback() {
|
|
347
347
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
|
354
354
|
) || e;
|
|
355
355
|
}
|
|
356
356
|
});
|
|
357
|
-
function
|
|
357
|
+
function Ee(e, t, r, n) {
|
|
358
358
|
const i = r[e]?.type;
|
|
359
359
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
360
360
|
return t;
|
|
@@ -383,8 +383,8 @@ function _e(e, t, r, n) {
|
|
|
383
383
|
return t;
|
|
384
384
|
}
|
|
385
385
|
}
|
|
386
|
-
function
|
|
387
|
-
let s = class extends
|
|
386
|
+
function Yr(e, t, r, n, i, o) {
|
|
387
|
+
let s = class extends Jt {
|
|
388
388
|
constructor() {
|
|
389
389
|
super(e, r, i), this.$$p_d = t;
|
|
390
390
|
}
|
|
@@ -400,7 +400,7 @@ function Qr(e, t, r, n, i, o) {
|
|
|
400
400
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
401
401
|
},
|
|
402
402
|
set(l) {
|
|
403
|
-
l =
|
|
403
|
+
l = Ee(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
|
|
404
404
|
}
|
|
405
405
|
});
|
|
406
406
|
}), n.forEach((a) => {
|
|
@@ -412,7 +412,7 @@ function Qr(e, t, r, n, i, o) {
|
|
|
412
412
|
}), e.element = /** @type {any} */
|
|
413
413
|
s, s;
|
|
414
414
|
}
|
|
415
|
-
class
|
|
415
|
+
class qr {
|
|
416
416
|
/**
|
|
417
417
|
* ### PRIVATE API
|
|
418
418
|
*
|
|
@@ -431,7 +431,7 @@ class Jr {
|
|
|
431
431
|
$$set = void 0;
|
|
432
432
|
/** @returns {void} */
|
|
433
433
|
$destroy() {
|
|
434
|
-
|
|
434
|
+
Zr(this, 1), this.$destroy = R;
|
|
435
435
|
}
|
|
436
436
|
/**
|
|
437
437
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -440,8 +440,8 @@ class Jr {
|
|
|
440
440
|
* @returns {() => void}
|
|
441
441
|
*/
|
|
442
442
|
$on(t, r) {
|
|
443
|
-
if (!
|
|
444
|
-
return
|
|
443
|
+
if (!Oe(r))
|
|
444
|
+
return R;
|
|
445
445
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
446
446
|
return n.push(r), () => {
|
|
447
447
|
const i = n.indexOf(r);
|
|
@@ -453,18 +453,19 @@ class Jr {
|
|
|
453
453
|
* @returns {void}
|
|
454
454
|
*/
|
|
455
455
|
$set(t) {
|
|
456
|
-
this.$$set && !
|
|
456
|
+
this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
457
457
|
}
|
|
458
458
|
}
|
|
459
|
-
const
|
|
460
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
461
|
-
|
|
459
|
+
const Kr = "4";
|
|
460
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kr);
|
|
461
|
+
const te = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
462
|
+
function en(e, t) {
|
|
462
463
|
if (e) {
|
|
463
464
|
const r = document.createElement("style");
|
|
464
465
|
r.innerHTML = t, e.appendChild(r);
|
|
465
466
|
}
|
|
466
467
|
}
|
|
467
|
-
function
|
|
468
|
+
function tn(e, t) {
|
|
468
469
|
if (!e || !t)
|
|
469
470
|
return;
|
|
470
471
|
const r = new URL(t);
|
|
@@ -475,13 +476,40 @@ function Kr(e, t) {
|
|
|
475
476
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
476
477
|
});
|
|
477
478
|
}
|
|
478
|
-
function
|
|
479
|
-
if (window.emMessageBus)
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
479
|
+
function rn(e, t, r, n = !1) {
|
|
480
|
+
if (!window.emMessageBus)
|
|
481
|
+
return;
|
|
482
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
483
|
+
return r = nn(e, t), r;
|
|
484
|
+
window[te] || (window[te] = {}), r = on(e, t);
|
|
485
|
+
const o = r.unsubscribe.bind(r), s = () => {
|
|
486
|
+
if (window[te][t]) {
|
|
487
|
+
const a = window[te][t];
|
|
488
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[te][t];
|
|
489
|
+
}
|
|
490
|
+
o();
|
|
491
|
+
};
|
|
492
|
+
return r.unsubscribe = s, r;
|
|
493
|
+
}
|
|
494
|
+
function nn(e, t) {
|
|
495
|
+
const r = document.createElement("style");
|
|
496
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
497
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
498
|
+
});
|
|
499
|
+
}
|
|
500
|
+
function on(e, t) {
|
|
501
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
502
|
+
if (!e)
|
|
503
|
+
return;
|
|
504
|
+
const n = e.getRootNode(), i = window[te];
|
|
505
|
+
let o = i[t]?.sheet;
|
|
506
|
+
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
507
|
+
sheet: o,
|
|
508
|
+
refCount: 1
|
|
483
509
|
});
|
|
484
|
-
|
|
510
|
+
const s = n.adoptedStyleSheets || [];
|
|
511
|
+
s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
|
|
512
|
+
});
|
|
485
513
|
}
|
|
486
514
|
/*! *****************************************************************************
|
|
487
515
|
Copyright (c) Microsoft Corporation.
|
|
@@ -497,24 +525,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
497
525
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
498
526
|
PERFORMANCE OF THIS SOFTWARE.
|
|
499
527
|
***************************************************************************** */
|
|
500
|
-
var
|
|
501
|
-
return
|
|
528
|
+
var Ze = function(e, t) {
|
|
529
|
+
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
502
530
|
r.__proto__ = n;
|
|
503
531
|
} || function(r, n) {
|
|
504
532
|
for (var i in n)
|
|
505
533
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
506
|
-
},
|
|
534
|
+
}, Ze(e, t);
|
|
507
535
|
};
|
|
508
|
-
function
|
|
536
|
+
function be(e, t) {
|
|
509
537
|
if (typeof t != "function" && t !== null)
|
|
510
538
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
511
|
-
|
|
539
|
+
Ze(e, t);
|
|
512
540
|
function r() {
|
|
513
541
|
this.constructor = e;
|
|
514
542
|
}
|
|
515
543
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
516
544
|
}
|
|
517
|
-
function
|
|
545
|
+
function Qe(e) {
|
|
518
546
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
519
547
|
if (r)
|
|
520
548
|
return r.call(e);
|
|
@@ -526,7 +554,7 @@ function Ze(e) {
|
|
|
526
554
|
};
|
|
527
555
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
528
556
|
}
|
|
529
|
-
function
|
|
557
|
+
function Je(e, t) {
|
|
530
558
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
531
559
|
if (!r)
|
|
532
560
|
return e;
|
|
@@ -546,7 +574,7 @@ function Qe(e, t) {
|
|
|
546
574
|
}
|
|
547
575
|
return o;
|
|
548
576
|
}
|
|
549
|
-
function
|
|
577
|
+
function Ye(e, t, r) {
|
|
550
578
|
if (arguments.length === 2)
|
|
551
579
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
552
580
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
@@ -555,13 +583,13 @@ function Je(e, t, r) {
|
|
|
555
583
|
function k(e) {
|
|
556
584
|
return typeof e == "function";
|
|
557
585
|
}
|
|
558
|
-
function
|
|
586
|
+
function Yt(e) {
|
|
559
587
|
var t = function(n) {
|
|
560
588
|
Error.call(n), n.stack = new Error().stack;
|
|
561
589
|
}, r = e(t);
|
|
562
590
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
563
591
|
}
|
|
564
|
-
var
|
|
592
|
+
var $e = Yt(function(e) {
|
|
565
593
|
return function(r) {
|
|
566
594
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
567
595
|
` + r.map(function(n, i) {
|
|
@@ -576,7 +604,7 @@ function qe(e, t) {
|
|
|
576
604
|
0 <= r && e.splice(r, 1);
|
|
577
605
|
}
|
|
578
606
|
}
|
|
579
|
-
var
|
|
607
|
+
var Ce = function() {
|
|
580
608
|
function e(t) {
|
|
581
609
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
582
610
|
}
|
|
@@ -588,12 +616,12 @@ var Oe = function() {
|
|
|
588
616
|
if (s)
|
|
589
617
|
if (this._parentage = null, Array.isArray(s))
|
|
590
618
|
try {
|
|
591
|
-
for (var a =
|
|
619
|
+
for (var a = Qe(s), l = a.next(); !l.done; l = a.next()) {
|
|
592
620
|
var u = l.value;
|
|
593
621
|
u.remove(this);
|
|
594
622
|
}
|
|
595
|
-
} catch (
|
|
596
|
-
t = { error:
|
|
623
|
+
} catch (v) {
|
|
624
|
+
t = { error: v };
|
|
597
625
|
} finally {
|
|
598
626
|
try {
|
|
599
627
|
l && !l.done && (r = a.return) && r.call(a);
|
|
@@ -608,23 +636,23 @@ var Oe = function() {
|
|
|
608
636
|
if (k(h))
|
|
609
637
|
try {
|
|
610
638
|
h();
|
|
611
|
-
} catch (
|
|
612
|
-
o =
|
|
639
|
+
} catch (v) {
|
|
640
|
+
o = v instanceof $e ? v.errors : [v];
|
|
613
641
|
}
|
|
614
642
|
var f = this._finalizers;
|
|
615
643
|
if (f) {
|
|
616
644
|
this._finalizers = null;
|
|
617
645
|
try {
|
|
618
|
-
for (var c =
|
|
646
|
+
for (var c = Qe(f), d = c.next(); !d.done; d = c.next()) {
|
|
619
647
|
var b = d.value;
|
|
620
648
|
try {
|
|
621
|
-
|
|
622
|
-
} catch (
|
|
623
|
-
o = o ?? [],
|
|
649
|
+
vt(b);
|
|
650
|
+
} catch (v) {
|
|
651
|
+
o = o ?? [], v instanceof $e ? o = Ye(Ye([], Je(o)), Je(v.errors)) : o.push(v);
|
|
624
652
|
}
|
|
625
653
|
}
|
|
626
|
-
} catch (
|
|
627
|
-
n = { error:
|
|
654
|
+
} catch (v) {
|
|
655
|
+
n = { error: v };
|
|
628
656
|
} finally {
|
|
629
657
|
try {
|
|
630
658
|
d && !d.done && (i = c.return) && i.call(c);
|
|
@@ -635,13 +663,13 @@ var Oe = function() {
|
|
|
635
663
|
}
|
|
636
664
|
}
|
|
637
665
|
if (o)
|
|
638
|
-
throw new
|
|
666
|
+
throw new $e(o);
|
|
639
667
|
}
|
|
640
668
|
}, e.prototype.add = function(t) {
|
|
641
669
|
var r;
|
|
642
670
|
if (t && t !== this)
|
|
643
671
|
if (this.closed)
|
|
644
|
-
|
|
672
|
+
vt(t);
|
|
645
673
|
else {
|
|
646
674
|
if (t instanceof e) {
|
|
647
675
|
if (t.closed || t._hasParent(this))
|
|
@@ -666,44 +694,44 @@ var Oe = function() {
|
|
|
666
694
|
var t = new e();
|
|
667
695
|
return t.closed = !0, t;
|
|
668
696
|
}(), e;
|
|
669
|
-
}(),
|
|
670
|
-
function
|
|
671
|
-
return e instanceof
|
|
697
|
+
}(), qt = Ce.EMPTY;
|
|
698
|
+
function Kt(e) {
|
|
699
|
+
return e instanceof Ce || e && "closed" in e && k(e.remove) && k(e.add) && k(e.unsubscribe);
|
|
672
700
|
}
|
|
673
|
-
function
|
|
701
|
+
function vt(e) {
|
|
674
702
|
k(e) ? e() : e.unsubscribe();
|
|
675
703
|
}
|
|
676
|
-
var
|
|
704
|
+
var sn = {
|
|
677
705
|
Promise: void 0
|
|
678
|
-
},
|
|
706
|
+
}, an = {
|
|
679
707
|
setTimeout: function(e, t) {
|
|
680
708
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
681
709
|
r[n - 2] = arguments[n];
|
|
682
|
-
return setTimeout.apply(void 0,
|
|
710
|
+
return setTimeout.apply(void 0, Ye([e, t], Je(r)));
|
|
683
711
|
},
|
|
684
712
|
clearTimeout: function(e) {
|
|
685
713
|
return clearTimeout(e);
|
|
686
714
|
},
|
|
687
715
|
delegate: void 0
|
|
688
716
|
};
|
|
689
|
-
function
|
|
690
|
-
|
|
717
|
+
function un(e) {
|
|
718
|
+
an.setTimeout(function() {
|
|
691
719
|
throw e;
|
|
692
720
|
});
|
|
693
721
|
}
|
|
694
|
-
function
|
|
722
|
+
function yt() {
|
|
695
723
|
}
|
|
696
|
-
function
|
|
724
|
+
function xe(e) {
|
|
697
725
|
e();
|
|
698
726
|
}
|
|
699
|
-
var
|
|
700
|
-
|
|
727
|
+
var er = function(e) {
|
|
728
|
+
be(t, e);
|
|
701
729
|
function t(r) {
|
|
702
730
|
var n = e.call(this) || this;
|
|
703
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
731
|
+
return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = cn, n;
|
|
704
732
|
}
|
|
705
733
|
return t.create = function(r, n, i) {
|
|
706
|
-
return new
|
|
734
|
+
return new Ke(r, n, i);
|
|
707
735
|
}, t.prototype.next = function(r) {
|
|
708
736
|
this.isStopped || this._next(r);
|
|
709
737
|
}, t.prototype.error = function(r) {
|
|
@@ -727,7 +755,7 @@ var Yt = function(e) {
|
|
|
727
755
|
this.unsubscribe();
|
|
728
756
|
}
|
|
729
757
|
}, t;
|
|
730
|
-
}(
|
|
758
|
+
}(Ce), ln = function() {
|
|
731
759
|
function e(t) {
|
|
732
760
|
this.partialObserver = t;
|
|
733
761
|
}
|
|
@@ -737,7 +765,7 @@ var Yt = function(e) {
|
|
|
737
765
|
try {
|
|
738
766
|
r.next(t);
|
|
739
767
|
} catch (n) {
|
|
740
|
-
|
|
768
|
+
ye(n);
|
|
741
769
|
}
|
|
742
770
|
}, e.prototype.error = function(t) {
|
|
743
771
|
var r = this.partialObserver;
|
|
@@ -745,56 +773,56 @@ var Yt = function(e) {
|
|
|
745
773
|
try {
|
|
746
774
|
r.error(t);
|
|
747
775
|
} catch (n) {
|
|
748
|
-
|
|
776
|
+
ye(n);
|
|
749
777
|
}
|
|
750
778
|
else
|
|
751
|
-
|
|
779
|
+
ye(t);
|
|
752
780
|
}, e.prototype.complete = function() {
|
|
753
781
|
var t = this.partialObserver;
|
|
754
782
|
if (t.complete)
|
|
755
783
|
try {
|
|
756
784
|
t.complete();
|
|
757
785
|
} catch (r) {
|
|
758
|
-
|
|
786
|
+
ye(r);
|
|
759
787
|
}
|
|
760
788
|
}, e;
|
|
761
|
-
}(),
|
|
762
|
-
|
|
789
|
+
}(), Ke = function(e) {
|
|
790
|
+
be(t, e);
|
|
763
791
|
function t(r, n, i) {
|
|
764
792
|
var o = e.call(this) || this, s;
|
|
765
793
|
return k(r) || !r ? s = {
|
|
766
794
|
next: r ?? void 0,
|
|
767
795
|
error: n ?? void 0,
|
|
768
796
|
complete: i ?? void 0
|
|
769
|
-
} : s = r, o.destination = new
|
|
797
|
+
} : s = r, o.destination = new ln(s), o;
|
|
770
798
|
}
|
|
771
799
|
return t;
|
|
772
|
-
}(
|
|
773
|
-
function
|
|
774
|
-
|
|
800
|
+
}(er);
|
|
801
|
+
function ye(e) {
|
|
802
|
+
un(e);
|
|
775
803
|
}
|
|
776
|
-
function
|
|
804
|
+
function hn(e) {
|
|
777
805
|
throw e;
|
|
778
806
|
}
|
|
779
|
-
var
|
|
807
|
+
var cn = {
|
|
780
808
|
closed: !0,
|
|
781
|
-
next:
|
|
782
|
-
error:
|
|
783
|
-
complete:
|
|
784
|
-
},
|
|
809
|
+
next: yt,
|
|
810
|
+
error: hn,
|
|
811
|
+
complete: yt
|
|
812
|
+
}, fn = function() {
|
|
785
813
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
786
814
|
}();
|
|
787
|
-
function
|
|
815
|
+
function pn(e) {
|
|
788
816
|
return e;
|
|
789
817
|
}
|
|
790
|
-
function
|
|
791
|
-
return e.length === 0 ?
|
|
818
|
+
function mn(e) {
|
|
819
|
+
return e.length === 0 ? pn : e.length === 1 ? e[0] : function(r) {
|
|
792
820
|
return e.reduce(function(n, i) {
|
|
793
821
|
return i(n);
|
|
794
822
|
}, r);
|
|
795
823
|
};
|
|
796
824
|
}
|
|
797
|
-
var
|
|
825
|
+
var _t = function() {
|
|
798
826
|
function e(t) {
|
|
799
827
|
t && (this._subscribe = t);
|
|
800
828
|
}
|
|
@@ -802,8 +830,8 @@ var vt = function() {
|
|
|
802
830
|
var r = new e();
|
|
803
831
|
return r.source = this, r.operator = t, r;
|
|
804
832
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
805
|
-
var i = this, o =
|
|
806
|
-
return
|
|
833
|
+
var i = this, o = bn(t) ? t : new Ke(t, r, n);
|
|
834
|
+
return xe(function() {
|
|
807
835
|
var s = i, a = s.operator, l = s.source;
|
|
808
836
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
809
837
|
}), o;
|
|
@@ -815,8 +843,8 @@ var vt = function() {
|
|
|
815
843
|
}
|
|
816
844
|
}, e.prototype.forEach = function(t, r) {
|
|
817
845
|
var n = this;
|
|
818
|
-
return r =
|
|
819
|
-
var s = new
|
|
846
|
+
return r = Et(r), new r(function(i, o) {
|
|
847
|
+
var s = new Ke({
|
|
820
848
|
next: function(a) {
|
|
821
849
|
try {
|
|
822
850
|
t(a);
|
|
@@ -832,15 +860,15 @@ var vt = function() {
|
|
|
832
860
|
}, e.prototype._subscribe = function(t) {
|
|
833
861
|
var r;
|
|
834
862
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
835
|
-
}, e.prototype[
|
|
863
|
+
}, e.prototype[fn] = function() {
|
|
836
864
|
return this;
|
|
837
865
|
}, e.prototype.pipe = function() {
|
|
838
866
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
839
867
|
t[r] = arguments[r];
|
|
840
|
-
return
|
|
868
|
+
return mn(t)(this);
|
|
841
869
|
}, e.prototype.toPromise = function(t) {
|
|
842
870
|
var r = this;
|
|
843
|
-
return t =
|
|
871
|
+
return t = Et(t), new t(function(n, i) {
|
|
844
872
|
var o;
|
|
845
873
|
r.subscribe(function(s) {
|
|
846
874
|
return o = s;
|
|
@@ -854,40 +882,40 @@ var vt = function() {
|
|
|
854
882
|
return new e(t);
|
|
855
883
|
}, e;
|
|
856
884
|
}();
|
|
857
|
-
function
|
|
885
|
+
function Et(e) {
|
|
858
886
|
var t;
|
|
859
|
-
return (t = e ??
|
|
887
|
+
return (t = e ?? sn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
860
888
|
}
|
|
861
|
-
function
|
|
889
|
+
function dn(e) {
|
|
862
890
|
return e && k(e.next) && k(e.error) && k(e.complete);
|
|
863
891
|
}
|
|
864
|
-
function
|
|
865
|
-
return e && e instanceof
|
|
892
|
+
function bn(e) {
|
|
893
|
+
return e && e instanceof er || dn(e) && Kt(e);
|
|
866
894
|
}
|
|
867
|
-
var
|
|
895
|
+
var gn = Yt(function(e) {
|
|
868
896
|
return function() {
|
|
869
897
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
870
898
|
};
|
|
871
|
-
}),
|
|
872
|
-
|
|
899
|
+
}), tr = function(e) {
|
|
900
|
+
be(t, e);
|
|
873
901
|
function t() {
|
|
874
902
|
var r = e.call(this) || this;
|
|
875
903
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
876
904
|
}
|
|
877
905
|
return t.prototype.lift = function(r) {
|
|
878
|
-
var n = new
|
|
906
|
+
var n = new xt(this, this);
|
|
879
907
|
return n.operator = r, n;
|
|
880
908
|
}, t.prototype._throwIfClosed = function() {
|
|
881
909
|
if (this.closed)
|
|
882
|
-
throw new
|
|
910
|
+
throw new gn();
|
|
883
911
|
}, t.prototype.next = function(r) {
|
|
884
912
|
var n = this;
|
|
885
|
-
|
|
913
|
+
xe(function() {
|
|
886
914
|
var i, o;
|
|
887
915
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
888
916
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
889
917
|
try {
|
|
890
|
-
for (var s =
|
|
918
|
+
for (var s = Qe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
891
919
|
var l = a.value;
|
|
892
920
|
l.next(r);
|
|
893
921
|
}
|
|
@@ -905,7 +933,7 @@ var pn = Qt(function(e) {
|
|
|
905
933
|
});
|
|
906
934
|
}, t.prototype.error = function(r) {
|
|
907
935
|
var n = this;
|
|
908
|
-
|
|
936
|
+
xe(function() {
|
|
909
937
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
910
938
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
911
939
|
for (var i = n.observers; i.length; )
|
|
@@ -914,7 +942,7 @@ var pn = Qt(function(e) {
|
|
|
914
942
|
});
|
|
915
943
|
}, t.prototype.complete = function() {
|
|
916
944
|
var r = this;
|
|
917
|
-
|
|
945
|
+
xe(function() {
|
|
918
946
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
919
947
|
r.isStopped = !0;
|
|
920
948
|
for (var n = r.observers; n.length; )
|
|
@@ -936,20 +964,20 @@ var pn = Qt(function(e) {
|
|
|
936
964
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
937
965
|
}, t.prototype._innerSubscribe = function(r) {
|
|
938
966
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
939
|
-
return o || s ?
|
|
967
|
+
return o || s ? qt : (this.currentObservers = null, a.push(r), new Ce(function() {
|
|
940
968
|
n.currentObservers = null, qe(a, r);
|
|
941
969
|
}));
|
|
942
970
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
943
971
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
944
972
|
i ? r.error(o) : s && r.complete();
|
|
945
973
|
}, t.prototype.asObservable = function() {
|
|
946
|
-
var r = new
|
|
974
|
+
var r = new _t();
|
|
947
975
|
return r.source = this, r;
|
|
948
976
|
}, t.create = function(r, n) {
|
|
949
|
-
return new
|
|
977
|
+
return new xt(r, n);
|
|
950
978
|
}, t;
|
|
951
|
-
}(
|
|
952
|
-
|
|
979
|
+
}(_t), xt = function(e) {
|
|
980
|
+
be(t, e);
|
|
953
981
|
function t(r, n) {
|
|
954
982
|
var i = e.call(this) || this;
|
|
955
983
|
return i.destination = r, i.source = n, i;
|
|
@@ -965,17 +993,17 @@ var pn = Qt(function(e) {
|
|
|
965
993
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
966
994
|
}, t.prototype._subscribe = function(r) {
|
|
967
995
|
var n, i;
|
|
968
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
996
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qt;
|
|
969
997
|
}, t;
|
|
970
|
-
}(
|
|
998
|
+
}(tr), rr = {
|
|
971
999
|
now: function() {
|
|
972
|
-
return (
|
|
1000
|
+
return (rr.delegate || Date).now();
|
|
973
1001
|
},
|
|
974
1002
|
delegate: void 0
|
|
975
|
-
},
|
|
976
|
-
|
|
1003
|
+
}, vn = function(e) {
|
|
1004
|
+
be(t, e);
|
|
977
1005
|
function t(r, n, i) {
|
|
978
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1006
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = rr);
|
|
979
1007
|
var o = e.call(this) || this;
|
|
980
1008
|
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;
|
|
981
1009
|
}
|
|
@@ -995,24 +1023,24 @@ var pn = Qt(function(e) {
|
|
|
995
1023
|
u && o.splice(0, u + 1);
|
|
996
1024
|
}
|
|
997
1025
|
}, t;
|
|
998
|
-
}(
|
|
999
|
-
const
|
|
1000
|
-
if (
|
|
1001
|
-
const r = new
|
|
1002
|
-
|
|
1026
|
+
}(tr);
|
|
1027
|
+
const wt = [], St = {}, yn = (e, t = 0) => {
|
|
1028
|
+
if (wt.indexOf(e) == -1) {
|
|
1029
|
+
const r = new vn(t);
|
|
1030
|
+
St[e] = r, wt.push(e);
|
|
1003
1031
|
}
|
|
1004
|
-
return
|
|
1032
|
+
return St[e];
|
|
1005
1033
|
}, K = [];
|
|
1006
|
-
function
|
|
1034
|
+
function _n(e, t) {
|
|
1007
1035
|
return {
|
|
1008
1036
|
subscribe: Ne(e, t).subscribe
|
|
1009
1037
|
};
|
|
1010
1038
|
}
|
|
1011
|
-
function Ne(e, t =
|
|
1039
|
+
function Ne(e, t = R) {
|
|
1012
1040
|
let r;
|
|
1013
1041
|
const n = /* @__PURE__ */ new Set();
|
|
1014
1042
|
function i(a) {
|
|
1015
|
-
if (
|
|
1043
|
+
if (Wt(e, a) && (e = a, r)) {
|
|
1016
1044
|
const l = !K.length;
|
|
1017
1045
|
for (const u of n)
|
|
1018
1046
|
u[1](), K.push(u, e);
|
|
@@ -1026,147 +1054,147 @@ function Ne(e, t = G) {
|
|
|
1026
1054
|
function o(a) {
|
|
1027
1055
|
i(a(e));
|
|
1028
1056
|
}
|
|
1029
|
-
function s(a, l =
|
|
1057
|
+
function s(a, l = R) {
|
|
1030
1058
|
const u = [a, l];
|
|
1031
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
1059
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || R), a(e), () => {
|
|
1032
1060
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1033
1061
|
};
|
|
1034
1062
|
}
|
|
1035
1063
|
return { set: i, update: o, subscribe: s };
|
|
1036
1064
|
}
|
|
1037
|
-
function
|
|
1065
|
+
function ue(e, t, r) {
|
|
1038
1066
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1039
1067
|
if (!i.every(Boolean))
|
|
1040
1068
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1041
1069
|
const o = t.length < 2;
|
|
1042
|
-
return
|
|
1070
|
+
return _n(r, (s, a) => {
|
|
1043
1071
|
let l = !1;
|
|
1044
1072
|
const u = [];
|
|
1045
|
-
let h = 0, f =
|
|
1073
|
+
let h = 0, f = R;
|
|
1046
1074
|
const c = () => {
|
|
1047
1075
|
if (h)
|
|
1048
1076
|
return;
|
|
1049
1077
|
f();
|
|
1050
1078
|
const b = t(n ? u[0] : u, s, a);
|
|
1051
|
-
o ? s(b) : f =
|
|
1079
|
+
o ? s(b) : f = Oe(b) ? b : R;
|
|
1052
1080
|
}, d = i.map(
|
|
1053
|
-
(b,
|
|
1081
|
+
(b, v) => zt(
|
|
1054
1082
|
b,
|
|
1055
|
-
(
|
|
1056
|
-
u[
|
|
1083
|
+
(S) => {
|
|
1084
|
+
u[v] = S, h &= ~(1 << v), l && c();
|
|
1057
1085
|
},
|
|
1058
1086
|
() => {
|
|
1059
|
-
h |= 1 <<
|
|
1087
|
+
h |= 1 << v;
|
|
1060
1088
|
}
|
|
1061
1089
|
)
|
|
1062
1090
|
);
|
|
1063
1091
|
return l = !0, c(), function() {
|
|
1064
|
-
|
|
1092
|
+
ae(d), f(), l = !1;
|
|
1065
1093
|
};
|
|
1066
1094
|
});
|
|
1067
1095
|
}
|
|
1068
|
-
function
|
|
1096
|
+
function En(e) {
|
|
1069
1097
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1070
1098
|
}
|
|
1071
|
-
var
|
|
1072
|
-
return
|
|
1099
|
+
var xn = function(t) {
|
|
1100
|
+
return wn(t) && !Sn(t);
|
|
1073
1101
|
};
|
|
1074
|
-
function
|
|
1102
|
+
function wn(e) {
|
|
1075
1103
|
return !!e && typeof e == "object";
|
|
1076
1104
|
}
|
|
1077
|
-
function
|
|
1105
|
+
function Sn(e) {
|
|
1078
1106
|
var t = Object.prototype.toString.call(e);
|
|
1079
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1107
|
+
return t === "[object RegExp]" || t === "[object Date]" || Bn(e);
|
|
1080
1108
|
}
|
|
1081
|
-
var
|
|
1082
|
-
function
|
|
1083
|
-
return e.$$typeof ===
|
|
1109
|
+
var Tn = typeof Symbol == "function" && Symbol.for, Hn = Tn ? Symbol.for("react.element") : 60103;
|
|
1110
|
+
function Bn(e) {
|
|
1111
|
+
return e.$$typeof === Hn;
|
|
1084
1112
|
}
|
|
1085
|
-
function
|
|
1113
|
+
function Pn(e) {
|
|
1086
1114
|
return Array.isArray(e) ? [] : {};
|
|
1087
1115
|
}
|
|
1088
|
-
function
|
|
1089
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1116
|
+
function me(e, t) {
|
|
1117
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(Pn(e), e, t) : e;
|
|
1090
1118
|
}
|
|
1091
|
-
function
|
|
1119
|
+
function An(e, t, r) {
|
|
1092
1120
|
return e.concat(t).map(function(n) {
|
|
1093
|
-
return
|
|
1121
|
+
return me(n, r);
|
|
1094
1122
|
});
|
|
1095
1123
|
}
|
|
1096
|
-
function
|
|
1124
|
+
function On(e, t) {
|
|
1097
1125
|
if (!t.customMerge)
|
|
1098
|
-
return
|
|
1126
|
+
return ne;
|
|
1099
1127
|
var r = t.customMerge(e);
|
|
1100
|
-
return typeof r == "function" ? r :
|
|
1128
|
+
return typeof r == "function" ? r : ne;
|
|
1101
1129
|
}
|
|
1102
|
-
function
|
|
1130
|
+
function Cn(e) {
|
|
1103
1131
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1104
1132
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1105
1133
|
}) : [];
|
|
1106
1134
|
}
|
|
1107
|
-
function
|
|
1108
|
-
return Object.keys(e).concat(
|
|
1135
|
+
function Tt(e) {
|
|
1136
|
+
return Object.keys(e).concat(Cn(e));
|
|
1109
1137
|
}
|
|
1110
|
-
function
|
|
1138
|
+
function nr(e, t) {
|
|
1111
1139
|
try {
|
|
1112
1140
|
return t in e;
|
|
1113
1141
|
} catch {
|
|
1114
1142
|
return !1;
|
|
1115
1143
|
}
|
|
1116
1144
|
}
|
|
1117
|
-
function
|
|
1118
|
-
return
|
|
1145
|
+
function Nn(e, t) {
|
|
1146
|
+
return nr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1119
1147
|
}
|
|
1120
|
-
function
|
|
1148
|
+
function In(e, t, r) {
|
|
1121
1149
|
var n = {};
|
|
1122
|
-
return r.isMergeableObject(e) &&
|
|
1123
|
-
n[i] =
|
|
1124
|
-
}),
|
|
1125
|
-
|
|
1150
|
+
return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
|
|
1151
|
+
n[i] = me(e[i], r);
|
|
1152
|
+
}), Tt(t).forEach(function(i) {
|
|
1153
|
+
Nn(e, i) || (nr(e, i) && r.isMergeableObject(t[i]) ? n[i] = On(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
|
|
1126
1154
|
}), n;
|
|
1127
1155
|
}
|
|
1128
|
-
function
|
|
1129
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1156
|
+
function ne(e, t, r) {
|
|
1157
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || An, r.isMergeableObject = r.isMergeableObject || xn, r.cloneUnlessOtherwiseSpecified = me;
|
|
1130
1158
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1131
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1159
|
+
return o ? n ? r.arrayMerge(e, t, r) : In(e, t, r) : me(t, r);
|
|
1132
1160
|
}
|
|
1133
|
-
|
|
1161
|
+
ne.all = function(t, r) {
|
|
1134
1162
|
if (!Array.isArray(t))
|
|
1135
1163
|
throw new Error("first argument should be an array");
|
|
1136
1164
|
return t.reduce(function(n, i) {
|
|
1137
|
-
return
|
|
1165
|
+
return ne(n, i, r);
|
|
1138
1166
|
}, {});
|
|
1139
1167
|
};
|
|
1140
|
-
var
|
|
1141
|
-
const
|
|
1142
|
-
var
|
|
1143
|
-
return
|
|
1168
|
+
var Ln = ne, Mn = Ln;
|
|
1169
|
+
const Rn = /* @__PURE__ */ En(Mn);
|
|
1170
|
+
var et = function(e, t) {
|
|
1171
|
+
return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1144
1172
|
r.__proto__ = n;
|
|
1145
1173
|
} || function(r, n) {
|
|
1146
1174
|
for (var i in n)
|
|
1147
1175
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1148
|
-
},
|
|
1176
|
+
}, et(e, t);
|
|
1149
1177
|
};
|
|
1150
|
-
function
|
|
1178
|
+
function Ie(e, t) {
|
|
1151
1179
|
if (typeof t != "function" && t !== null)
|
|
1152
1180
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1153
|
-
|
|
1181
|
+
et(e, t);
|
|
1154
1182
|
function r() {
|
|
1155
1183
|
this.constructor = e;
|
|
1156
1184
|
}
|
|
1157
1185
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1158
1186
|
}
|
|
1159
|
-
var
|
|
1160
|
-
return
|
|
1187
|
+
var $ = function() {
|
|
1188
|
+
return $ = Object.assign || function(t) {
|
|
1161
1189
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1162
1190
|
r = arguments[n];
|
|
1163
1191
|
for (var o in r)
|
|
1164
1192
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1165
1193
|
}
|
|
1166
1194
|
return t;
|
|
1167
|
-
},
|
|
1195
|
+
}, $.apply(this, arguments);
|
|
1168
1196
|
};
|
|
1169
|
-
function
|
|
1197
|
+
function Gn(e, t) {
|
|
1170
1198
|
var r = {};
|
|
1171
1199
|
for (var n in e)
|
|
1172
1200
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1175,43 +1203,43 @@ function In(e, t) {
|
|
|
1175
1203
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1176
1204
|
return r;
|
|
1177
1205
|
}
|
|
1178
|
-
function
|
|
1206
|
+
function Ue(e, t, r) {
|
|
1179
1207
|
if (r || arguments.length === 2)
|
|
1180
1208
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1181
1209
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1182
1210
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
1183
1211
|
}
|
|
1184
|
-
function
|
|
1185
|
-
var r = t && t.cache ? t.cache :
|
|
1212
|
+
function De(e, t) {
|
|
1213
|
+
var r = t && t.cache ? t.cache : Vn, n = t && t.serializer ? t.serializer : jn, i = t && t.strategy ? t.strategy : Dn;
|
|
1186
1214
|
return i(e, {
|
|
1187
1215
|
cache: r,
|
|
1188
1216
|
serializer: n
|
|
1189
1217
|
});
|
|
1190
1218
|
}
|
|
1191
|
-
function
|
|
1219
|
+
function $n(e) {
|
|
1192
1220
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1193
1221
|
}
|
|
1194
|
-
function
|
|
1195
|
-
var i =
|
|
1222
|
+
function Un(e, t, r, n) {
|
|
1223
|
+
var i = $n(n) ? n : r(n), o = t.get(i);
|
|
1196
1224
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1197
1225
|
}
|
|
1198
|
-
function
|
|
1226
|
+
function ir(e, t, r) {
|
|
1199
1227
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1200
1228
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1201
1229
|
}
|
|
1202
|
-
function
|
|
1230
|
+
function or(e, t, r, n, i) {
|
|
1203
1231
|
return r.bind(t, e, n, i);
|
|
1204
1232
|
}
|
|
1205
|
-
function
|
|
1206
|
-
var r = e.length === 1 ?
|
|
1207
|
-
return
|
|
1233
|
+
function Dn(e, t) {
|
|
1234
|
+
var r = e.length === 1 ? Un : ir;
|
|
1235
|
+
return or(e, this, r, t.cache.create(), t.serializer);
|
|
1208
1236
|
}
|
|
1209
|
-
function
|
|
1210
|
-
return
|
|
1237
|
+
function Fn(e, t) {
|
|
1238
|
+
return or(e, this, ir, t.cache.create(), t.serializer);
|
|
1211
1239
|
}
|
|
1212
|
-
var
|
|
1240
|
+
var jn = function() {
|
|
1213
1241
|
return JSON.stringify(arguments);
|
|
1214
|
-
},
|
|
1242
|
+
}, kn = (
|
|
1215
1243
|
/** @class */
|
|
1216
1244
|
function() {
|
|
1217
1245
|
function e() {
|
|
@@ -1223,71 +1251,71 @@ var $n = function() {
|
|
|
1223
1251
|
this.cache[t] = r;
|
|
1224
1252
|
}, e;
|
|
1225
1253
|
}()
|
|
1226
|
-
),
|
|
1254
|
+
), Vn = {
|
|
1227
1255
|
create: function() {
|
|
1228
|
-
return new
|
|
1256
|
+
return new kn();
|
|
1229
1257
|
}
|
|
1230
|
-
},
|
|
1231
|
-
variadic:
|
|
1232
|
-
},
|
|
1233
|
-
return
|
|
1258
|
+
}, Fe = {
|
|
1259
|
+
variadic: Fn
|
|
1260
|
+
}, Be = function() {
|
|
1261
|
+
return Be = Object.assign || function(t) {
|
|
1234
1262
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1235
1263
|
r = arguments[n];
|
|
1236
1264
|
for (var o in r)
|
|
1237
1265
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1238
1266
|
}
|
|
1239
1267
|
return t;
|
|
1240
|
-
},
|
|
1268
|
+
}, Be.apply(this, arguments);
|
|
1241
1269
|
};
|
|
1242
|
-
var
|
|
1270
|
+
var _;
|
|
1243
1271
|
(function(e) {
|
|
1244
1272
|
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";
|
|
1245
|
-
})(
|
|
1246
|
-
var
|
|
1273
|
+
})(_ || (_ = {}));
|
|
1274
|
+
var H;
|
|
1247
1275
|
(function(e) {
|
|
1248
1276
|
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";
|
|
1249
|
-
})(
|
|
1250
|
-
var
|
|
1277
|
+
})(H || (H = {}));
|
|
1278
|
+
var ie;
|
|
1251
1279
|
(function(e) {
|
|
1252
1280
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1253
|
-
})(
|
|
1254
|
-
function
|
|
1255
|
-
return e.type ===
|
|
1256
|
-
}
|
|
1257
|
-
function Fn(e) {
|
|
1258
|
-
return e.type === S.argument;
|
|
1259
|
-
}
|
|
1260
|
-
function ir(e) {
|
|
1261
|
-
return e.type === S.number;
|
|
1281
|
+
})(ie || (ie = {}));
|
|
1282
|
+
function Ht(e) {
|
|
1283
|
+
return e.type === H.literal;
|
|
1262
1284
|
}
|
|
1263
|
-
function
|
|
1264
|
-
return e.type ===
|
|
1285
|
+
function Xn(e) {
|
|
1286
|
+
return e.type === H.argument;
|
|
1265
1287
|
}
|
|
1266
1288
|
function sr(e) {
|
|
1267
|
-
return e.type ===
|
|
1289
|
+
return e.type === H.number;
|
|
1268
1290
|
}
|
|
1269
1291
|
function ar(e) {
|
|
1270
|
-
return e.type ===
|
|
1292
|
+
return e.type === H.date;
|
|
1271
1293
|
}
|
|
1272
1294
|
function ur(e) {
|
|
1273
|
-
return e.type ===
|
|
1274
|
-
}
|
|
1275
|
-
function jn(e) {
|
|
1276
|
-
return e.type === S.pound;
|
|
1295
|
+
return e.type === H.time;
|
|
1277
1296
|
}
|
|
1278
1297
|
function lr(e) {
|
|
1279
|
-
return e.type ===
|
|
1298
|
+
return e.type === H.select;
|
|
1280
1299
|
}
|
|
1281
1300
|
function hr(e) {
|
|
1282
|
-
return
|
|
1301
|
+
return e.type === H.plural;
|
|
1302
|
+
}
|
|
1303
|
+
function Wn(e) {
|
|
1304
|
+
return e.type === H.pound;
|
|
1283
1305
|
}
|
|
1284
|
-
function
|
|
1285
|
-
return
|
|
1306
|
+
function cr(e) {
|
|
1307
|
+
return e.type === H.tag;
|
|
1286
1308
|
}
|
|
1287
|
-
|
|
1288
|
-
|
|
1309
|
+
function fr(e) {
|
|
1310
|
+
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1311
|
+
}
|
|
1312
|
+
function tt(e) {
|
|
1313
|
+
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1314
|
+
}
|
|
1315
|
+
var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, zn = /(?:[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;
|
|
1316
|
+
function Zn(e) {
|
|
1289
1317
|
var t = {};
|
|
1290
|
-
return e.replace(
|
|
1318
|
+
return e.replace(zn, function(r) {
|
|
1291
1319
|
var n = r.length;
|
|
1292
1320
|
switch (r[0]) {
|
|
1293
1321
|
case "G":
|
|
@@ -1386,11 +1414,11 @@ var P = function() {
|
|
|
1386
1414
|
return t;
|
|
1387
1415
|
}, P.apply(this, arguments);
|
|
1388
1416
|
};
|
|
1389
|
-
var
|
|
1390
|
-
function
|
|
1417
|
+
var Qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1418
|
+
function Jn(e) {
|
|
1391
1419
|
if (e.length === 0)
|
|
1392
1420
|
throw new Error("Number skeleton cannot be empty");
|
|
1393
|
-
for (var t = e.split(
|
|
1421
|
+
for (var t = e.split(Qn).filter(function(c) {
|
|
1394
1422
|
return c.length > 0;
|
|
1395
1423
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1396
1424
|
var o = i[n], s = o.split("/");
|
|
@@ -1405,17 +1433,17 @@ function Wn(e) {
|
|
|
1405
1433
|
}
|
|
1406
1434
|
return r;
|
|
1407
1435
|
}
|
|
1408
|
-
function
|
|
1436
|
+
function Yn(e) {
|
|
1409
1437
|
return e.replace(/^(.*?)-/, "");
|
|
1410
1438
|
}
|
|
1411
|
-
var
|
|
1412
|
-
function
|
|
1439
|
+
var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, qn = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
|
|
1440
|
+
function Pt(e) {
|
|
1413
1441
|
var t = {};
|
|
1414
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1442
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
|
|
1415
1443
|
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)), "";
|
|
1416
1444
|
}), t;
|
|
1417
1445
|
}
|
|
1418
|
-
function
|
|
1446
|
+
function br(e) {
|
|
1419
1447
|
switch (e) {
|
|
1420
1448
|
case "sign-auto":
|
|
1421
1449
|
return {
|
|
@@ -1455,7 +1483,7 @@ function mr(e) {
|
|
|
1455
1483
|
};
|
|
1456
1484
|
}
|
|
1457
1485
|
}
|
|
1458
|
-
function
|
|
1486
|
+
function Kn(e) {
|
|
1459
1487
|
var t;
|
|
1460
1488
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1461
1489
|
notation: "engineering"
|
|
@@ -1463,17 +1491,17 @@ function Qn(e) {
|
|
|
1463
1491
|
notation: "scientific"
|
|
1464
1492
|
}, e = e.slice(1)), t) {
|
|
1465
1493
|
var r = e.slice(0, 2);
|
|
1466
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1494
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
|
|
1467
1495
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1468
1496
|
t.minimumIntegerDigits = e.length;
|
|
1469
1497
|
}
|
|
1470
1498
|
return t;
|
|
1471
1499
|
}
|
|
1472
|
-
function
|
|
1473
|
-
var t = {}, r =
|
|
1500
|
+
function At(e) {
|
|
1501
|
+
var t = {}, r = br(e);
|
|
1474
1502
|
return r || t;
|
|
1475
1503
|
}
|
|
1476
|
-
function
|
|
1504
|
+
function ei(e) {
|
|
1477
1505
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1478
1506
|
var i = n[r];
|
|
1479
1507
|
switch (i.stem) {
|
|
@@ -1497,7 +1525,7 @@ function Jn(e) {
|
|
|
1497
1525
|
continue;
|
|
1498
1526
|
case "measure-unit":
|
|
1499
1527
|
case "unit":
|
|
1500
|
-
t.style = "unit", t.unit =
|
|
1528
|
+
t.style = "unit", t.unit = Yn(i.options[0]);
|
|
1501
1529
|
continue;
|
|
1502
1530
|
case "compact-short":
|
|
1503
1531
|
case "K":
|
|
@@ -1509,12 +1537,12 @@ function Jn(e) {
|
|
|
1509
1537
|
continue;
|
|
1510
1538
|
case "scientific":
|
|
1511
1539
|
t = P(P(P({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1512
|
-
return P(P({}, l),
|
|
1540
|
+
return P(P({}, l), At(u));
|
|
1513
1541
|
}, {}));
|
|
1514
1542
|
continue;
|
|
1515
1543
|
case "engineering":
|
|
1516
1544
|
t = P(P(P({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1517
|
-
return P(P({}, l),
|
|
1545
|
+
return P(P({}, l), At(u));
|
|
1518
1546
|
}, {}));
|
|
1519
1547
|
continue;
|
|
1520
1548
|
case "notation-simple":
|
|
@@ -1559,7 +1587,7 @@ function Jn(e) {
|
|
|
1559
1587
|
case "integer-width":
|
|
1560
1588
|
if (i.options.length > 1)
|
|
1561
1589
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1562
|
-
i.options[0].replace(
|
|
1590
|
+
i.options[0].replace(qn, function(l, u, h, f, c, d) {
|
|
1563
1591
|
if (u)
|
|
1564
1592
|
t.minimumIntegerDigits = h.length;
|
|
1565
1593
|
else {
|
|
@@ -1572,32 +1600,32 @@ function Jn(e) {
|
|
|
1572
1600
|
});
|
|
1573
1601
|
continue;
|
|
1574
1602
|
}
|
|
1575
|
-
if (
|
|
1603
|
+
if (dr.test(i.stem)) {
|
|
1576
1604
|
t.minimumIntegerDigits = i.stem.length;
|
|
1577
1605
|
continue;
|
|
1578
1606
|
}
|
|
1579
|
-
if (
|
|
1607
|
+
if (Bt.test(i.stem)) {
|
|
1580
1608
|
if (i.options.length > 1)
|
|
1581
1609
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1582
|
-
i.stem.replace(
|
|
1610
|
+
i.stem.replace(Bt, function(l, u, h, f, c, d) {
|
|
1583
1611
|
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1584
1612
|
});
|
|
1585
1613
|
var o = i.options[0];
|
|
1586
|
-
o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t),
|
|
1614
|
+
o === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = P(P({}, t), Pt(o)));
|
|
1587
1615
|
continue;
|
|
1588
1616
|
}
|
|
1589
|
-
if (
|
|
1590
|
-
t = P(P({}, t),
|
|
1617
|
+
if (mr.test(i.stem)) {
|
|
1618
|
+
t = P(P({}, t), Pt(i.stem));
|
|
1591
1619
|
continue;
|
|
1592
1620
|
}
|
|
1593
|
-
var s =
|
|
1621
|
+
var s = br(i.stem);
|
|
1594
1622
|
s && (t = P(P({}, t), s));
|
|
1595
|
-
var a =
|
|
1623
|
+
var a = Kn(i.stem);
|
|
1596
1624
|
a && (t = P(P({}, t), a));
|
|
1597
1625
|
}
|
|
1598
1626
|
return t;
|
|
1599
1627
|
}
|
|
1600
|
-
var
|
|
1628
|
+
var _e = {
|
|
1601
1629
|
"001": [
|
|
1602
1630
|
"H",
|
|
1603
1631
|
"h"
|
|
@@ -3012,13 +3040,13 @@ var ye = {
|
|
|
3012
3040
|
"h"
|
|
3013
3041
|
]
|
|
3014
3042
|
};
|
|
3015
|
-
function
|
|
3043
|
+
function ti(e, t) {
|
|
3016
3044
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3017
3045
|
var i = e.charAt(n);
|
|
3018
3046
|
if (i === "j") {
|
|
3019
3047
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3020
3048
|
o++, n++;
|
|
3021
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3049
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ri(t);
|
|
3022
3050
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3023
3051
|
r += l;
|
|
3024
3052
|
for (; s-- > 0; )
|
|
@@ -3028,7 +3056,7 @@ function qn(e, t) {
|
|
|
3028
3056
|
}
|
|
3029
3057
|
return r;
|
|
3030
3058
|
}
|
|
3031
|
-
function
|
|
3059
|
+
function ri(e) {
|
|
3032
3060
|
var t = e.hourCycle;
|
|
3033
3061
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3034
3062
|
e.hourCycles && // @ts-ignore
|
|
@@ -3047,23 +3075,23 @@ function Yn(e) {
|
|
|
3047
3075
|
}
|
|
3048
3076
|
var r = e.language, n;
|
|
3049
3077
|
r !== "root" && (n = e.maximize().region);
|
|
3050
|
-
var i =
|
|
3078
|
+
var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
|
|
3051
3079
|
return i[0];
|
|
3052
3080
|
}
|
|
3053
|
-
var
|
|
3081
|
+
var je, ni = new RegExp("^".concat(pr.source, "*")), ii = new RegExp("".concat(pr.source, "*$"));
|
|
3054
3082
|
function E(e, t) {
|
|
3055
3083
|
return { start: e, end: t };
|
|
3056
3084
|
}
|
|
3057
|
-
var
|
|
3085
|
+
var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), si = !!String.fromCodePoint, ai = !!Object.fromEntries, ui = !!String.prototype.codePointAt, li = !!String.prototype.trimStart, hi = !!String.prototype.trimEnd, ci = !!Number.isSafeInteger, fi = ci ? Number.isSafeInteger : function(e) {
|
|
3058
3086
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3059
|
-
},
|
|
3087
|
+
}, rt = !0;
|
|
3060
3088
|
try {
|
|
3061
|
-
var
|
|
3062
|
-
|
|
3089
|
+
var pi = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3090
|
+
rt = ((je = pi.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
3063
3091
|
} catch {
|
|
3064
|
-
|
|
3092
|
+
rt = !1;
|
|
3065
3093
|
}
|
|
3066
|
-
var
|
|
3094
|
+
var Ot = oi ? (
|
|
3067
3095
|
// Native
|
|
3068
3096
|
function(t, r, n) {
|
|
3069
3097
|
return t.startsWith(r, n);
|
|
@@ -3073,7 +3101,7 @@ var Bt = ti ? (
|
|
|
3073
3101
|
function(t, r, n) {
|
|
3074
3102
|
return t.slice(n, n + r.length) === r;
|
|
3075
3103
|
}
|
|
3076
|
-
),
|
|
3104
|
+
), nt = si ? String.fromCodePoint : (
|
|
3077
3105
|
// IE11
|
|
3078
3106
|
function() {
|
|
3079
3107
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3085,9 +3113,9 @@ var Bt = ti ? (
|
|
|
3085
3113
|
}
|
|
3086
3114
|
return n;
|
|
3087
3115
|
}
|
|
3088
|
-
),
|
|
3116
|
+
), Ct = (
|
|
3089
3117
|
// native
|
|
3090
|
-
|
|
3118
|
+
ai ? Object.fromEntries : (
|
|
3091
3119
|
// Ponyfill
|
|
3092
3120
|
function(t) {
|
|
3093
3121
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3097,7 +3125,7 @@ var Bt = ti ? (
|
|
|
3097
3125
|
return r;
|
|
3098
3126
|
}
|
|
3099
3127
|
)
|
|
3100
|
-
),
|
|
3128
|
+
), gr = ui ? (
|
|
3101
3129
|
// Native
|
|
3102
3130
|
function(t, r) {
|
|
3103
3131
|
return t.codePointAt(r);
|
|
@@ -3111,7 +3139,7 @@ var Bt = ti ? (
|
|
|
3111
3139
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3112
3140
|
}
|
|
3113
3141
|
}
|
|
3114
|
-
),
|
|
3142
|
+
), mi = li ? (
|
|
3115
3143
|
// Native
|
|
3116
3144
|
function(t) {
|
|
3117
3145
|
return t.trimStart();
|
|
@@ -3119,9 +3147,9 @@ var Bt = ti ? (
|
|
|
3119
3147
|
) : (
|
|
3120
3148
|
// Ponyfill
|
|
3121
3149
|
function(t) {
|
|
3122
|
-
return t.replace(
|
|
3150
|
+
return t.replace(ni, "");
|
|
3123
3151
|
}
|
|
3124
|
-
),
|
|
3152
|
+
), di = hi ? (
|
|
3125
3153
|
// Native
|
|
3126
3154
|
function(t) {
|
|
3127
3155
|
return t.trimEnd();
|
|
@@ -3129,32 +3157,32 @@ var Bt = ti ? (
|
|
|
3129
3157
|
) : (
|
|
3130
3158
|
// Ponyfill
|
|
3131
3159
|
function(t) {
|
|
3132
|
-
return t.replace(
|
|
3160
|
+
return t.replace(ii, "");
|
|
3133
3161
|
}
|
|
3134
3162
|
);
|
|
3135
|
-
function
|
|
3163
|
+
function vr(e, t) {
|
|
3136
3164
|
return new RegExp(e, t);
|
|
3137
3165
|
}
|
|
3138
|
-
var
|
|
3139
|
-
if (
|
|
3140
|
-
var
|
|
3141
|
-
|
|
3166
|
+
var it;
|
|
3167
|
+
if (rt) {
|
|
3168
|
+
var Nt = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3169
|
+
it = function(t, r) {
|
|
3142
3170
|
var n;
|
|
3143
|
-
|
|
3144
|
-
var i =
|
|
3171
|
+
Nt.lastIndex = r;
|
|
3172
|
+
var i = Nt.exec(t);
|
|
3145
3173
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3146
3174
|
};
|
|
3147
3175
|
} else
|
|
3148
|
-
|
|
3176
|
+
it = function(t, r) {
|
|
3149
3177
|
for (var n = []; ; ) {
|
|
3150
|
-
var i =
|
|
3151
|
-
if (i === void 0 ||
|
|
3178
|
+
var i = gr(t, r);
|
|
3179
|
+
if (i === void 0 || yr(i) || yi(i))
|
|
3152
3180
|
break;
|
|
3153
3181
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3154
3182
|
}
|
|
3155
|
-
return
|
|
3183
|
+
return nt.apply(void 0, n);
|
|
3156
3184
|
};
|
|
3157
|
-
var
|
|
3185
|
+
var bi = (
|
|
3158
3186
|
/** @class */
|
|
3159
3187
|
function() {
|
|
3160
3188
|
function e(t, r) {
|
|
@@ -3178,14 +3206,14 @@ var fi = (
|
|
|
3178
3206
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3179
3207
|
var a = this.clonePosition();
|
|
3180
3208
|
this.bump(), i.push({
|
|
3181
|
-
type:
|
|
3209
|
+
type: H.pound,
|
|
3182
3210
|
location: E(a, this.clonePosition())
|
|
3183
3211
|
});
|
|
3184
3212
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3185
3213
|
if (n)
|
|
3186
3214
|
break;
|
|
3187
|
-
return this.error(
|
|
3188
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3215
|
+
return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
|
|
3216
|
+
} else if (o === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
|
|
3189
3217
|
var s = this.parseTag(t, r);
|
|
3190
3218
|
if (s.err)
|
|
3191
3219
|
return s;
|
|
@@ -3206,7 +3234,7 @@ var fi = (
|
|
|
3206
3234
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3207
3235
|
return {
|
|
3208
3236
|
val: {
|
|
3209
|
-
type:
|
|
3237
|
+
type: H.literal,
|
|
3210
3238
|
value: "<".concat(i, "/>"),
|
|
3211
3239
|
location: E(n, this.clonePosition())
|
|
3212
3240
|
},
|
|
@@ -3218,25 +3246,25 @@ var fi = (
|
|
|
3218
3246
|
return o;
|
|
3219
3247
|
var s = o.val, a = this.clonePosition();
|
|
3220
3248
|
if (this.bumpIf("</")) {
|
|
3221
|
-
if (this.isEOF() || !
|
|
3222
|
-
return this.error(
|
|
3249
|
+
if (this.isEOF() || !ot(this.char()))
|
|
3250
|
+
return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
|
|
3223
3251
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3224
|
-
return i !== u ? this.error(
|
|
3252
|
+
return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3225
3253
|
val: {
|
|
3226
|
-
type:
|
|
3254
|
+
type: H.tag,
|
|
3227
3255
|
value: i,
|
|
3228
3256
|
children: s,
|
|
3229
3257
|
location: E(n, this.clonePosition())
|
|
3230
3258
|
},
|
|
3231
3259
|
err: null
|
|
3232
|
-
} : this.error(
|
|
3260
|
+
} : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
|
|
3233
3261
|
} else
|
|
3234
|
-
return this.error(
|
|
3262
|
+
return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
|
|
3235
3263
|
} else
|
|
3236
|
-
return this.error(
|
|
3264
|
+
return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
|
|
3237
3265
|
}, e.prototype.parseTagName = function() {
|
|
3238
3266
|
var t = this.offset();
|
|
3239
|
-
for (this.bump(); !this.isEOF() &&
|
|
3267
|
+
for (this.bump(); !this.isEOF() && vi(this.char()); )
|
|
3240
3268
|
this.bump();
|
|
3241
3269
|
return this.message.slice(t, this.offset());
|
|
3242
3270
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3260,12 +3288,12 @@ var fi = (
|
|
|
3260
3288
|
}
|
|
3261
3289
|
var l = E(n, this.clonePosition());
|
|
3262
3290
|
return {
|
|
3263
|
-
val: { type:
|
|
3291
|
+
val: { type: H.literal, value: i, location: l },
|
|
3264
3292
|
err: null
|
|
3265
3293
|
};
|
|
3266
3294
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3267
3295
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3268
|
-
!
|
|
3296
|
+
!gi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3269
3297
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3270
3298
|
if (this.isEOF() || this.char() !== 39)
|
|
3271
3299
|
return null;
|
|
@@ -3299,28 +3327,28 @@ var fi = (
|
|
|
3299
3327
|
r.push(n);
|
|
3300
3328
|
this.bump();
|
|
3301
3329
|
}
|
|
3302
|
-
return
|
|
3330
|
+
return nt.apply(void 0, r);
|
|
3303
3331
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3304
3332
|
if (this.isEOF())
|
|
3305
3333
|
return null;
|
|
3306
3334
|
var n = this.char();
|
|
3307
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3335
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
|
|
3308
3336
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3309
3337
|
var n = this.clonePosition();
|
|
3310
3338
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3311
|
-
return this.error(
|
|
3339
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
3312
3340
|
if (this.char() === 125)
|
|
3313
|
-
return this.bump(), this.error(
|
|
3341
|
+
return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
|
|
3314
3342
|
var i = this.parseIdentifierIfPossible().value;
|
|
3315
3343
|
if (!i)
|
|
3316
|
-
return this.error(
|
|
3344
|
+
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3317
3345
|
if (this.bumpSpace(), this.isEOF())
|
|
3318
|
-
return this.error(
|
|
3346
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
|
|
3319
3347
|
switch (this.char()) {
|
|
3320
3348
|
case 125:
|
|
3321
3349
|
return this.bump(), {
|
|
3322
3350
|
val: {
|
|
3323
|
-
type:
|
|
3351
|
+
type: H.argument,
|
|
3324
3352
|
// value does not include the opening and closing braces.
|
|
3325
3353
|
value: i,
|
|
3326
3354
|
location: E(n, this.clonePosition())
|
|
@@ -3328,12 +3356,12 @@ var fi = (
|
|
|
3328
3356
|
err: null
|
|
3329
3357
|
};
|
|
3330
3358
|
case 44:
|
|
3331
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3359
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3332
3360
|
default:
|
|
3333
|
-
return this.error(
|
|
3361
|
+
return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
|
|
3334
3362
|
}
|
|
3335
3363
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3336
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3364
|
+
var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
|
|
3337
3365
|
this.bumpTo(i);
|
|
3338
3366
|
var o = this.clonePosition(), s = E(t, o);
|
|
3339
3367
|
return { value: n, location: s };
|
|
@@ -3341,7 +3369,7 @@ var fi = (
|
|
|
3341
3369
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3342
3370
|
switch (a) {
|
|
3343
3371
|
case "":
|
|
3344
|
-
return this.error(
|
|
3372
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, E(s, l));
|
|
3345
3373
|
case "number":
|
|
3346
3374
|
case "date":
|
|
3347
3375
|
case "time": {
|
|
@@ -3352,46 +3380,46 @@ var fi = (
|
|
|
3352
3380
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3353
3381
|
if (f.err)
|
|
3354
3382
|
return f;
|
|
3355
|
-
var c =
|
|
3383
|
+
var c = di(f.val);
|
|
3356
3384
|
if (c.length === 0)
|
|
3357
|
-
return this.error(
|
|
3385
|
+
return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
|
|
3358
3386
|
var d = E(h, this.clonePosition());
|
|
3359
3387
|
u = { style: c, styleLocation: d };
|
|
3360
3388
|
}
|
|
3361
3389
|
var b = this.tryParseArgumentClose(i);
|
|
3362
3390
|
if (b.err)
|
|
3363
3391
|
return b;
|
|
3364
|
-
var
|
|
3365
|
-
if (u &&
|
|
3366
|
-
var
|
|
3392
|
+
var v = E(i, this.clonePosition());
|
|
3393
|
+
if (u && Ot(u?.style, "::", 0)) {
|
|
3394
|
+
var S = mi(u.style.slice(2));
|
|
3367
3395
|
if (a === "number") {
|
|
3368
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3396
|
+
var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3369
3397
|
return f.err ? f : {
|
|
3370
|
-
val: { type:
|
|
3398
|
+
val: { type: H.number, value: n, location: v, style: f.val },
|
|
3371
3399
|
err: null
|
|
3372
3400
|
};
|
|
3373
3401
|
} else {
|
|
3374
|
-
if (
|
|
3375
|
-
return this.error(
|
|
3376
|
-
var
|
|
3377
|
-
this.locale && (
|
|
3402
|
+
if (S.length === 0)
|
|
3403
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, v);
|
|
3404
|
+
var T = S;
|
|
3405
|
+
this.locale && (T = ti(S, this.locale));
|
|
3378
3406
|
var c = {
|
|
3379
|
-
type:
|
|
3380
|
-
pattern:
|
|
3407
|
+
type: ie.dateTime,
|
|
3408
|
+
pattern: T,
|
|
3381
3409
|
location: u.styleLocation,
|
|
3382
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3383
|
-
},
|
|
3410
|
+
parsedOptions: this.shouldParseSkeletons ? Zn(T) : {}
|
|
3411
|
+
}, y = a === "date" ? H.date : H.time;
|
|
3384
3412
|
return {
|
|
3385
|
-
val: { type:
|
|
3413
|
+
val: { type: y, value: n, location: v, style: c },
|
|
3386
3414
|
err: null
|
|
3387
3415
|
};
|
|
3388
3416
|
}
|
|
3389
3417
|
}
|
|
3390
3418
|
return {
|
|
3391
3419
|
val: {
|
|
3392
|
-
type: a === "number" ?
|
|
3420
|
+
type: a === "number" ? H.number : a === "date" ? H.date : H.time,
|
|
3393
3421
|
value: n,
|
|
3394
|
-
location:
|
|
3422
|
+
location: v,
|
|
3395
3423
|
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3396
3424
|
},
|
|
3397
3425
|
err: null
|
|
@@ -3400,52 +3428,52 @@ var fi = (
|
|
|
3400
3428
|
case "plural":
|
|
3401
3429
|
case "selectordinal":
|
|
3402
3430
|
case "select": {
|
|
3403
|
-
var
|
|
3431
|
+
var p = this.clonePosition();
|
|
3404
3432
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3405
|
-
return this.error(
|
|
3433
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(p, Be({}, p)));
|
|
3406
3434
|
this.bumpSpace();
|
|
3407
|
-
var
|
|
3408
|
-
if (a !== "select" &&
|
|
3435
|
+
var B = this.parseIdentifierIfPossible(), w = 0;
|
|
3436
|
+
if (a !== "select" && B.value === "offset") {
|
|
3409
3437
|
if (!this.bumpIf(":"))
|
|
3410
|
-
return this.error(
|
|
3438
|
+
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
|
|
3411
3439
|
this.bumpSpace();
|
|
3412
|
-
var f = this.tryParseDecimalInteger(
|
|
3440
|
+
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3413
3441
|
if (f.err)
|
|
3414
3442
|
return f;
|
|
3415
|
-
this.bumpSpace(),
|
|
3443
|
+
this.bumpSpace(), B = this.parseIdentifierIfPossible(), w = f.val;
|
|
3416
3444
|
}
|
|
3417
|
-
var
|
|
3418
|
-
if (
|
|
3419
|
-
return
|
|
3445
|
+
var N = this.tryParsePluralOrSelectOptions(t, a, r, B);
|
|
3446
|
+
if (N.err)
|
|
3447
|
+
return N;
|
|
3420
3448
|
var b = this.tryParseArgumentClose(i);
|
|
3421
3449
|
if (b.err)
|
|
3422
3450
|
return b;
|
|
3423
|
-
var
|
|
3451
|
+
var F = E(i, this.clonePosition());
|
|
3424
3452
|
return a === "select" ? {
|
|
3425
3453
|
val: {
|
|
3426
|
-
type:
|
|
3454
|
+
type: H.select,
|
|
3427
3455
|
value: n,
|
|
3428
|
-
options:
|
|
3429
|
-
location:
|
|
3456
|
+
options: Ct(N.val),
|
|
3457
|
+
location: F
|
|
3430
3458
|
},
|
|
3431
3459
|
err: null
|
|
3432
3460
|
} : {
|
|
3433
3461
|
val: {
|
|
3434
|
-
type:
|
|
3462
|
+
type: H.plural,
|
|
3435
3463
|
value: n,
|
|
3436
|
-
options:
|
|
3464
|
+
options: Ct(N.val),
|
|
3437
3465
|
offset: w,
|
|
3438
3466
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3439
|
-
location:
|
|
3467
|
+
location: F
|
|
3440
3468
|
},
|
|
3441
3469
|
err: null
|
|
3442
3470
|
};
|
|
3443
3471
|
}
|
|
3444
3472
|
default:
|
|
3445
|
-
return this.error(
|
|
3473
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, E(s, l));
|
|
3446
3474
|
}
|
|
3447
3475
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3448
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3476
|
+
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3449
3477
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3450
3478
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3451
3479
|
var n = this.char();
|
|
@@ -3454,7 +3482,7 @@ var fi = (
|
|
|
3454
3482
|
this.bump();
|
|
3455
3483
|
var i = this.clonePosition();
|
|
3456
3484
|
if (!this.bumpUntil("'"))
|
|
3457
|
-
return this.error(
|
|
3485
|
+
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
|
|
3458
3486
|
this.bump();
|
|
3459
3487
|
break;
|
|
3460
3488
|
}
|
|
@@ -3484,16 +3512,16 @@ var fi = (
|
|
|
3484
3512
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3485
3513
|
var n = [];
|
|
3486
3514
|
try {
|
|
3487
|
-
n =
|
|
3515
|
+
n = Jn(t);
|
|
3488
3516
|
} catch {
|
|
3489
|
-
return this.error(
|
|
3517
|
+
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
|
3490
3518
|
}
|
|
3491
3519
|
return {
|
|
3492
3520
|
val: {
|
|
3493
|
-
type:
|
|
3521
|
+
type: ie.number,
|
|
3494
3522
|
tokens: n,
|
|
3495
3523
|
location: r,
|
|
3496
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3524
|
+
parsedOptions: this.shouldParseSkeletons ? ei(n) : {}
|
|
3497
3525
|
},
|
|
3498
3526
|
err: null
|
|
3499
3527
|
};
|
|
@@ -3502,7 +3530,7 @@ var fi = (
|
|
|
3502
3530
|
if (u.length === 0) {
|
|
3503
3531
|
var f = this.clonePosition();
|
|
3504
3532
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3505
|
-
var c = this.tryParseDecimalInteger(
|
|
3533
|
+
var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3506
3534
|
if (c.err)
|
|
3507
3535
|
return c;
|
|
3508
3536
|
h = E(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
@@ -3510,17 +3538,17 @@ var fi = (
|
|
|
3510
3538
|
break;
|
|
3511
3539
|
}
|
|
3512
3540
|
if (l.has(u))
|
|
3513
|
-
return this.error(r === "select" ?
|
|
3541
|
+
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3514
3542
|
u === "other" && (s = !0), this.bumpSpace();
|
|
3515
3543
|
var d = this.clonePosition();
|
|
3516
3544
|
if (!this.bumpIf("{"))
|
|
3517
|
-
return this.error(r === "select" ?
|
|
3545
|
+
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
|
|
3518
3546
|
var b = this.parseMessage(t + 1, r, n);
|
|
3519
3547
|
if (b.err)
|
|
3520
3548
|
return b;
|
|
3521
|
-
var
|
|
3522
|
-
if (
|
|
3523
|
-
return
|
|
3549
|
+
var v = this.tryParseArgumentClose(d);
|
|
3550
|
+
if (v.err)
|
|
3551
|
+
return v;
|
|
3524
3552
|
a.push([
|
|
3525
3553
|
u,
|
|
3526
3554
|
{
|
|
@@ -3529,7 +3557,7 @@ var fi = (
|
|
|
3529
3557
|
}
|
|
3530
3558
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3531
3559
|
}
|
|
3532
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3560
|
+
return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3533
3561
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3534
3562
|
var n = 1, i = this.clonePosition();
|
|
3535
3563
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3541,7 +3569,7 @@ var fi = (
|
|
|
3541
3569
|
break;
|
|
3542
3570
|
}
|
|
3543
3571
|
var l = E(i, this.clonePosition());
|
|
3544
|
-
return o ? (s *= n,
|
|
3572
|
+
return o ? (s *= n, fi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3545
3573
|
}, e.prototype.offset = function() {
|
|
3546
3574
|
return this.position.offset;
|
|
3547
3575
|
}, e.prototype.isEOF = function() {
|
|
@@ -3556,7 +3584,7 @@ var fi = (
|
|
|
3556
3584
|
var t = this.position.offset;
|
|
3557
3585
|
if (t >= this.message.length)
|
|
3558
3586
|
throw Error("out of bound");
|
|
3559
|
-
var r =
|
|
3587
|
+
var r = gr(this.message, t);
|
|
3560
3588
|
if (r === void 0)
|
|
3561
3589
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3562
3590
|
return r;
|
|
@@ -3575,7 +3603,7 @@ var fi = (
|
|
|
3575
3603
|
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);
|
|
3576
3604
|
}
|
|
3577
3605
|
}, e.prototype.bumpIf = function(t) {
|
|
3578
|
-
if (
|
|
3606
|
+
if (Ot(this.message, t, this.offset())) {
|
|
3579
3607
|
for (var r = 0; r < t.length; r++)
|
|
3580
3608
|
this.bump();
|
|
3581
3609
|
return !0;
|
|
@@ -3597,7 +3625,7 @@ var fi = (
|
|
|
3597
3625
|
break;
|
|
3598
3626
|
}
|
|
3599
3627
|
}, e.prototype.bumpSpace = function() {
|
|
3600
|
-
for (; !this.isEOF() &&
|
|
3628
|
+
for (; !this.isEOF() && yr(this.char()); )
|
|
3601
3629
|
this.bump();
|
|
3602
3630
|
}, e.prototype.peek = function() {
|
|
3603
3631
|
if (this.isEOF())
|
|
@@ -3607,47 +3635,47 @@ var fi = (
|
|
|
3607
3635
|
}, e;
|
|
3608
3636
|
}()
|
|
3609
3637
|
);
|
|
3610
|
-
function
|
|
3638
|
+
function ot(e) {
|
|
3611
3639
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3612
3640
|
}
|
|
3613
|
-
function
|
|
3614
|
-
return
|
|
3641
|
+
function gi(e) {
|
|
3642
|
+
return ot(e) || e === 47;
|
|
3615
3643
|
}
|
|
3616
|
-
function
|
|
3644
|
+
function vi(e) {
|
|
3617
3645
|
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;
|
|
3618
3646
|
}
|
|
3619
|
-
function
|
|
3647
|
+
function yr(e) {
|
|
3620
3648
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3621
3649
|
}
|
|
3622
|
-
function
|
|
3650
|
+
function yi(e) {
|
|
3623
3651
|
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;
|
|
3624
3652
|
}
|
|
3625
|
-
function
|
|
3653
|
+
function st(e) {
|
|
3626
3654
|
e.forEach(function(t) {
|
|
3627
|
-
if (delete t.location,
|
|
3655
|
+
if (delete t.location, lr(t) || hr(t))
|
|
3628
3656
|
for (var r in t.options)
|
|
3629
|
-
delete t.options[r].location,
|
|
3657
|
+
delete t.options[r].location, st(t.options[r].value);
|
|
3630
3658
|
else
|
|
3631
|
-
|
|
3659
|
+
sr(t) && fr(t.style) || (ar(t) || ur(t)) && tt(t.style) ? delete t.style.location : cr(t) && st(t.children);
|
|
3632
3660
|
});
|
|
3633
3661
|
}
|
|
3634
|
-
function
|
|
3635
|
-
t === void 0 && (t = {}), t =
|
|
3636
|
-
var r = new
|
|
3662
|
+
function _i(e, t) {
|
|
3663
|
+
t === void 0 && (t = {}), t = Be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3664
|
+
var r = new bi(e, t).parse();
|
|
3637
3665
|
if (r.err) {
|
|
3638
|
-
var n = SyntaxError(
|
|
3666
|
+
var n = SyntaxError(_[r.err.kind]);
|
|
3639
3667
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3640
3668
|
}
|
|
3641
|
-
return t?.captureLocation ||
|
|
3669
|
+
return t?.captureLocation || st(r.val), r.val;
|
|
3642
3670
|
}
|
|
3643
|
-
var
|
|
3671
|
+
var oe;
|
|
3644
3672
|
(function(e) {
|
|
3645
3673
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3646
|
-
})(
|
|
3647
|
-
var
|
|
3674
|
+
})(oe || (oe = {}));
|
|
3675
|
+
var Le = (
|
|
3648
3676
|
/** @class */
|
|
3649
3677
|
function(e) {
|
|
3650
|
-
|
|
3678
|
+
Ie(t, e);
|
|
3651
3679
|
function t(r, n, i) {
|
|
3652
3680
|
var o = e.call(this, r) || this;
|
|
3653
3681
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3656,155 +3684,155 @@ var Ie = (
|
|
|
3656
3684
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3657
3685
|
}, t;
|
|
3658
3686
|
}(Error)
|
|
3659
|
-
),
|
|
3687
|
+
), It = (
|
|
3660
3688
|
/** @class */
|
|
3661
3689
|
function(e) {
|
|
3662
|
-
|
|
3690
|
+
Ie(t, e);
|
|
3663
3691
|
function t(r, n, i, o) {
|
|
3664
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3692
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
|
|
3665
3693
|
}
|
|
3666
3694
|
return t;
|
|
3667
|
-
}(
|
|
3668
|
-
),
|
|
3695
|
+
}(Le)
|
|
3696
|
+
), Ei = (
|
|
3669
3697
|
/** @class */
|
|
3670
3698
|
function(e) {
|
|
3671
|
-
|
|
3699
|
+
Ie(t, e);
|
|
3672
3700
|
function t(r, n, i) {
|
|
3673
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3701
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
|
|
3674
3702
|
}
|
|
3675
3703
|
return t;
|
|
3676
|
-
}(
|
|
3677
|
-
),
|
|
3704
|
+
}(Le)
|
|
3705
|
+
), xi = (
|
|
3678
3706
|
/** @class */
|
|
3679
3707
|
function(e) {
|
|
3680
|
-
|
|
3708
|
+
Ie(t, e);
|
|
3681
3709
|
function t(r, n) {
|
|
3682
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3710
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
|
|
3683
3711
|
}
|
|
3684
3712
|
return t;
|
|
3685
|
-
}(
|
|
3686
|
-
),
|
|
3713
|
+
}(Le)
|
|
3714
|
+
), I;
|
|
3687
3715
|
(function(e) {
|
|
3688
3716
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3689
|
-
})(
|
|
3690
|
-
function
|
|
3717
|
+
})(I || (I = {}));
|
|
3718
|
+
function wi(e) {
|
|
3691
3719
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3692
3720
|
var n = t[t.length - 1];
|
|
3693
|
-
return !n || n.type !==
|
|
3721
|
+
return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
|
|
3694
3722
|
}, []);
|
|
3695
3723
|
}
|
|
3696
|
-
function
|
|
3724
|
+
function Si(e) {
|
|
3697
3725
|
return typeof e == "function";
|
|
3698
3726
|
}
|
|
3699
|
-
function
|
|
3700
|
-
if (e.length === 1 &&
|
|
3727
|
+
function we(e, t, r, n, i, o, s) {
|
|
3728
|
+
if (e.length === 1 && Ht(e[0]))
|
|
3701
3729
|
return [
|
|
3702
3730
|
{
|
|
3703
|
-
type:
|
|
3731
|
+
type: I.literal,
|
|
3704
3732
|
value: e[0].value
|
|
3705
3733
|
}
|
|
3706
3734
|
];
|
|
3707
3735
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3708
3736
|
var h = u[l];
|
|
3709
|
-
if (
|
|
3737
|
+
if (Ht(h)) {
|
|
3710
3738
|
a.push({
|
|
3711
|
-
type:
|
|
3739
|
+
type: I.literal,
|
|
3712
3740
|
value: h.value
|
|
3713
3741
|
});
|
|
3714
3742
|
continue;
|
|
3715
3743
|
}
|
|
3716
|
-
if (
|
|
3744
|
+
if (Wn(h)) {
|
|
3717
3745
|
typeof o == "number" && a.push({
|
|
3718
|
-
type:
|
|
3746
|
+
type: I.literal,
|
|
3719
3747
|
value: r.getNumberFormat(t).format(o)
|
|
3720
3748
|
});
|
|
3721
3749
|
continue;
|
|
3722
3750
|
}
|
|
3723
3751
|
var f = h.value;
|
|
3724
3752
|
if (!(i && f in i))
|
|
3725
|
-
throw new
|
|
3753
|
+
throw new xi(f, s);
|
|
3726
3754
|
var c = i[f];
|
|
3727
|
-
if (
|
|
3755
|
+
if (Xn(h)) {
|
|
3728
3756
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3729
|
-
type: typeof c == "string" ?
|
|
3757
|
+
type: typeof c == "string" ? I.literal : I.object,
|
|
3730
3758
|
value: c
|
|
3731
3759
|
});
|
|
3732
3760
|
continue;
|
|
3733
3761
|
}
|
|
3734
|
-
if (
|
|
3735
|
-
var d = typeof h.style == "string" ? n.date[h.style] :
|
|
3762
|
+
if (ar(h)) {
|
|
3763
|
+
var d = typeof h.style == "string" ? n.date[h.style] : tt(h.style) ? h.style.parsedOptions : void 0;
|
|
3736
3764
|
a.push({
|
|
3737
|
-
type:
|
|
3765
|
+
type: I.literal,
|
|
3738
3766
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3739
3767
|
});
|
|
3740
3768
|
continue;
|
|
3741
3769
|
}
|
|
3742
|
-
if (
|
|
3743
|
-
var d = typeof h.style == "string" ? n.time[h.style] :
|
|
3770
|
+
if (ur(h)) {
|
|
3771
|
+
var d = typeof h.style == "string" ? n.time[h.style] : tt(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3744
3772
|
a.push({
|
|
3745
|
-
type:
|
|
3773
|
+
type: I.literal,
|
|
3746
3774
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3747
3775
|
});
|
|
3748
3776
|
continue;
|
|
3749
3777
|
}
|
|
3750
|
-
if (
|
|
3751
|
-
var d = typeof h.style == "string" ? n.number[h.style] :
|
|
3778
|
+
if (sr(h)) {
|
|
3779
|
+
var d = typeof h.style == "string" ? n.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
|
|
3752
3780
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3753
|
-
type:
|
|
3781
|
+
type: I.literal,
|
|
3754
3782
|
value: r.getNumberFormat(t, d).format(c)
|
|
3755
3783
|
});
|
|
3756
3784
|
continue;
|
|
3757
3785
|
}
|
|
3758
|
-
if (
|
|
3759
|
-
var b = h.children,
|
|
3760
|
-
if (!
|
|
3761
|
-
throw new
|
|
3762
|
-
var
|
|
3786
|
+
if (cr(h)) {
|
|
3787
|
+
var b = h.children, v = h.value, S = i[v];
|
|
3788
|
+
if (!Si(S))
|
|
3789
|
+
throw new Ei(v, "function", s);
|
|
3790
|
+
var T = we(b, t, r, n, i, o), y = S(T.map(function(w) {
|
|
3763
3791
|
return w.value;
|
|
3764
3792
|
}));
|
|
3765
|
-
Array.isArray(
|
|
3793
|
+
Array.isArray(y) || (y = [y]), a.push.apply(a, y.map(function(w) {
|
|
3766
3794
|
return {
|
|
3767
|
-
type: typeof w == "string" ?
|
|
3795
|
+
type: typeof w == "string" ? I.literal : I.object,
|
|
3768
3796
|
value: w
|
|
3769
3797
|
};
|
|
3770
3798
|
}));
|
|
3771
3799
|
}
|
|
3772
|
-
if (
|
|
3773
|
-
var
|
|
3774
|
-
if (!
|
|
3775
|
-
throw new
|
|
3776
|
-
a.push.apply(a,
|
|
3800
|
+
if (lr(h)) {
|
|
3801
|
+
var p = h.options[c] || h.options.other;
|
|
3802
|
+
if (!p)
|
|
3803
|
+
throw new It(h.value, c, Object.keys(h.options), s);
|
|
3804
|
+
a.push.apply(a, we(p.value, t, r, n, i));
|
|
3777
3805
|
continue;
|
|
3778
3806
|
}
|
|
3779
|
-
if (
|
|
3780
|
-
var
|
|
3781
|
-
if (!
|
|
3807
|
+
if (hr(h)) {
|
|
3808
|
+
var p = h.options["=".concat(c)];
|
|
3809
|
+
if (!p) {
|
|
3782
3810
|
if (!Intl.PluralRules)
|
|
3783
|
-
throw new
|
|
3811
|
+
throw new Le(`Intl.PluralRules is not available in this environment.
|
|
3784
3812
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3785
|
-
`,
|
|
3786
|
-
var
|
|
3787
|
-
|
|
3813
|
+
`, oe.MISSING_INTL_API, s);
|
|
3814
|
+
var B = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3815
|
+
p = h.options[B] || h.options.other;
|
|
3788
3816
|
}
|
|
3789
|
-
if (!
|
|
3790
|
-
throw new
|
|
3791
|
-
a.push.apply(a,
|
|
3817
|
+
if (!p)
|
|
3818
|
+
throw new It(h.value, c, Object.keys(h.options), s);
|
|
3819
|
+
a.push.apply(a, we(p.value, t, r, n, i, c - (h.offset || 0)));
|
|
3792
3820
|
continue;
|
|
3793
3821
|
}
|
|
3794
3822
|
}
|
|
3795
|
-
return
|
|
3823
|
+
return wi(a);
|
|
3796
3824
|
}
|
|
3797
|
-
function
|
|
3798
|
-
return t ?
|
|
3799
|
-
return r[n] =
|
|
3825
|
+
function Ti(e, t) {
|
|
3826
|
+
return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3827
|
+
return r[n] = $($({}, e[n]), t[n] || {}), r;
|
|
3800
3828
|
}, {})) : e;
|
|
3801
3829
|
}
|
|
3802
|
-
function
|
|
3830
|
+
function Hi(e, t) {
|
|
3803
3831
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3804
|
-
return r[n] =
|
|
3805
|
-
},
|
|
3832
|
+
return r[n] = Ti(e[n], t[n]), r;
|
|
3833
|
+
}, $({}, e)) : e;
|
|
3806
3834
|
}
|
|
3807
|
-
function
|
|
3835
|
+
function ke(e) {
|
|
3808
3836
|
return {
|
|
3809
3837
|
create: function() {
|
|
3810
3838
|
return {
|
|
@@ -3818,39 +3846,39 @@ function je(e) {
|
|
|
3818
3846
|
}
|
|
3819
3847
|
};
|
|
3820
3848
|
}
|
|
3821
|
-
function
|
|
3849
|
+
function Bi(e) {
|
|
3822
3850
|
return e === void 0 && (e = {
|
|
3823
3851
|
number: {},
|
|
3824
3852
|
dateTime: {},
|
|
3825
3853
|
pluralRules: {}
|
|
3826
3854
|
}), {
|
|
3827
|
-
getNumberFormat:
|
|
3855
|
+
getNumberFormat: De(function() {
|
|
3828
3856
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3829
3857
|
r[n] = arguments[n];
|
|
3830
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3858
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
|
|
3831
3859
|
}, {
|
|
3832
|
-
cache:
|
|
3833
|
-
strategy:
|
|
3860
|
+
cache: ke(e.number),
|
|
3861
|
+
strategy: Fe.variadic
|
|
3834
3862
|
}),
|
|
3835
|
-
getDateTimeFormat:
|
|
3863
|
+
getDateTimeFormat: De(function() {
|
|
3836
3864
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3837
3865
|
r[n] = arguments[n];
|
|
3838
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3866
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
|
|
3839
3867
|
}, {
|
|
3840
|
-
cache:
|
|
3841
|
-
strategy:
|
|
3868
|
+
cache: ke(e.dateTime),
|
|
3869
|
+
strategy: Fe.variadic
|
|
3842
3870
|
}),
|
|
3843
|
-
getPluralRules:
|
|
3871
|
+
getPluralRules: De(function() {
|
|
3844
3872
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3845
3873
|
r[n] = arguments[n];
|
|
3846
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3874
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
|
|
3847
3875
|
}, {
|
|
3848
|
-
cache:
|
|
3849
|
-
strategy:
|
|
3876
|
+
cache: ke(e.pluralRules),
|
|
3877
|
+
strategy: Fe.variadic
|
|
3850
3878
|
})
|
|
3851
3879
|
};
|
|
3852
3880
|
}
|
|
3853
|
-
var
|
|
3881
|
+
var Pi = (
|
|
3854
3882
|
/** @class */
|
|
3855
3883
|
function() {
|
|
3856
3884
|
function e(t, r, n, i) {
|
|
@@ -3865,11 +3893,11 @@ var Ti = (
|
|
|
3865
3893
|
if (u.length === 1)
|
|
3866
3894
|
return u[0].value;
|
|
3867
3895
|
var h = u.reduce(function(f, c) {
|
|
3868
|
-
return !f.length || c.type !==
|
|
3896
|
+
return !f.length || c.type !== I.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3869
3897
|
}, []);
|
|
3870
3898
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3871
3899
|
}, this.formatToParts = function(l) {
|
|
3872
|
-
return
|
|
3900
|
+
return we(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3873
3901
|
}, this.resolvedOptions = function() {
|
|
3874
3902
|
var l;
|
|
3875
3903
|
return {
|
|
@@ -3882,13 +3910,13 @@ var Ti = (
|
|
|
3882
3910
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3883
3911
|
var s = i || {};
|
|
3884
3912
|
s.formatters;
|
|
3885
|
-
var a =
|
|
3886
|
-
this.ast = e.__parse(t,
|
|
3913
|
+
var a = Gn(s, ["formatters"]);
|
|
3914
|
+
this.ast = e.__parse(t, $($({}, a), { locale: this.resolvedLocale }));
|
|
3887
3915
|
} else
|
|
3888
3916
|
this.ast = t;
|
|
3889
3917
|
if (!Array.isArray(this.ast))
|
|
3890
3918
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3891
|
-
this.formats =
|
|
3919
|
+
this.formats = Hi(e.formats, n), this.formatters = i && i.formatters || Bi(this.formatterCache);
|
|
3892
3920
|
}
|
|
3893
3921
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3894
3922
|
get: function() {
|
|
@@ -3901,7 +3929,7 @@ var Ti = (
|
|
|
3901
3929
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3902
3930
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3903
3931
|
}
|
|
3904
|
-
}, e.__parse =
|
|
3932
|
+
}, e.__parse = _i, e.formats = {
|
|
3905
3933
|
number: {
|
|
3906
3934
|
integer: {
|
|
3907
3935
|
maximumFractionDigits: 0
|
|
@@ -3962,7 +3990,7 @@ var Ti = (
|
|
|
3962
3990
|
}, e;
|
|
3963
3991
|
}()
|
|
3964
3992
|
);
|
|
3965
|
-
function
|
|
3993
|
+
function Ai(e, t) {
|
|
3966
3994
|
if (t == null)
|
|
3967
3995
|
return;
|
|
3968
3996
|
if (t in e)
|
|
@@ -3983,92 +4011,92 @@ function Si(e, t) {
|
|
|
3983
4011
|
n = void 0;
|
|
3984
4012
|
return n;
|
|
3985
4013
|
}
|
|
3986
|
-
const X = {},
|
|
4014
|
+
const X = {}, Oi = (e, t, r) => r && (t in X || (X[t] = {}), e in X[t] || (X[t][e] = r), r), _r = (e, t) => {
|
|
3987
4015
|
if (t == null)
|
|
3988
4016
|
return;
|
|
3989
4017
|
if (t in X && e in X[t])
|
|
3990
4018
|
return X[t][e];
|
|
3991
|
-
const r =
|
|
4019
|
+
const r = Me(t);
|
|
3992
4020
|
for (let n = 0; n < r.length; n++) {
|
|
3993
|
-
const i = r[n], o =
|
|
4021
|
+
const i = r[n], o = Ni(i, e);
|
|
3994
4022
|
if (o)
|
|
3995
|
-
return
|
|
4023
|
+
return Oi(e, t, o);
|
|
3996
4024
|
}
|
|
3997
4025
|
};
|
|
3998
|
-
let
|
|
3999
|
-
const
|
|
4000
|
-
function
|
|
4001
|
-
return
|
|
4026
|
+
let ht;
|
|
4027
|
+
const le = Ne({});
|
|
4028
|
+
function Ci(e) {
|
|
4029
|
+
return ht[e] || null;
|
|
4002
4030
|
}
|
|
4003
|
-
function
|
|
4004
|
-
return e in
|
|
4031
|
+
function Er(e) {
|
|
4032
|
+
return e in ht;
|
|
4005
4033
|
}
|
|
4006
|
-
function
|
|
4007
|
-
if (!
|
|
4034
|
+
function Ni(e, t) {
|
|
4035
|
+
if (!Er(e))
|
|
4008
4036
|
return null;
|
|
4009
|
-
const r =
|
|
4010
|
-
return
|
|
4037
|
+
const r = Ci(e);
|
|
4038
|
+
return Ai(r, t);
|
|
4011
4039
|
}
|
|
4012
|
-
function
|
|
4040
|
+
function Ii(e) {
|
|
4013
4041
|
if (e == null)
|
|
4014
4042
|
return;
|
|
4015
|
-
const t =
|
|
4043
|
+
const t = Me(e);
|
|
4016
4044
|
for (let r = 0; r < t.length; r++) {
|
|
4017
4045
|
const n = t[r];
|
|
4018
|
-
if (
|
|
4046
|
+
if (Er(n))
|
|
4019
4047
|
return n;
|
|
4020
4048
|
}
|
|
4021
4049
|
}
|
|
4022
|
-
function
|
|
4023
|
-
delete X[e],
|
|
4050
|
+
function xr(e, ...t) {
|
|
4051
|
+
delete X[e], le.update((r) => (r[e] = Rn.all([r[e] || {}, ...t]), r));
|
|
4024
4052
|
}
|
|
4025
|
-
|
|
4026
|
-
[
|
|
4053
|
+
ue(
|
|
4054
|
+
[le],
|
|
4027
4055
|
([e]) => Object.keys(e)
|
|
4028
4056
|
);
|
|
4029
|
-
|
|
4030
|
-
const
|
|
4031
|
-
function
|
|
4032
|
-
|
|
4057
|
+
le.subscribe((e) => ht = e);
|
|
4058
|
+
const Se = {};
|
|
4059
|
+
function Li(e, t) {
|
|
4060
|
+
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
|
4033
4061
|
}
|
|
4034
|
-
function
|
|
4035
|
-
return
|
|
4062
|
+
function wr(e) {
|
|
4063
|
+
return Se[e];
|
|
4036
4064
|
}
|
|
4037
|
-
function
|
|
4038
|
-
return
|
|
4039
|
-
const r =
|
|
4065
|
+
function Mi(e) {
|
|
4066
|
+
return Me(e).map((t) => {
|
|
4067
|
+
const r = wr(t);
|
|
4040
4068
|
return [t, r ? [...r] : []];
|
|
4041
4069
|
}).filter(([, t]) => t.length > 0);
|
|
4042
4070
|
}
|
|
4043
|
-
function
|
|
4044
|
-
return e == null ? !1 :
|
|
4071
|
+
function at(e) {
|
|
4072
|
+
return e == null ? !1 : Me(e).some(
|
|
4045
4073
|
(t) => {
|
|
4046
4074
|
var r;
|
|
4047
|
-
return (r =
|
|
4075
|
+
return (r = wr(t)) == null ? void 0 : r.size;
|
|
4048
4076
|
}
|
|
4049
4077
|
);
|
|
4050
4078
|
}
|
|
4051
|
-
function
|
|
4079
|
+
function Ri(e, t) {
|
|
4052
4080
|
return Promise.all(
|
|
4053
|
-
t.map((n) => (
|
|
4054
|
-
).then((n) =>
|
|
4055
|
-
}
|
|
4056
|
-
const
|
|
4057
|
-
function
|
|
4058
|
-
if (!
|
|
4059
|
-
return e in
|
|
4060
|
-
const t =
|
|
4061
|
-
return
|
|
4081
|
+
t.map((n) => (Li(e, n), n().then((i) => i.default || i)))
|
|
4082
|
+
).then((n) => xr(e, ...n));
|
|
4083
|
+
}
|
|
4084
|
+
const ce = {};
|
|
4085
|
+
function Sr(e) {
|
|
4086
|
+
if (!at(e))
|
|
4087
|
+
return e in ce ? ce[e] : Promise.resolve();
|
|
4088
|
+
const t = Mi(e);
|
|
4089
|
+
return ce[e] = Promise.all(
|
|
4062
4090
|
t.map(
|
|
4063
|
-
([r, n]) =>
|
|
4091
|
+
([r, n]) => Ri(r, n)
|
|
4064
4092
|
)
|
|
4065
4093
|
).then(() => {
|
|
4066
|
-
if (
|
|
4067
|
-
return
|
|
4068
|
-
delete
|
|
4069
|
-
}),
|
|
4094
|
+
if (at(e))
|
|
4095
|
+
return Sr(e);
|
|
4096
|
+
delete ce[e];
|
|
4097
|
+
}), ce[e];
|
|
4070
4098
|
}
|
|
4071
|
-
const
|
|
4099
|
+
const Gi = {
|
|
4072
4100
|
number: {
|
|
4073
4101
|
scientific: { notation: "scientific" },
|
|
4074
4102
|
engineering: { notation: "engineering" },
|
|
@@ -4097,150 +4125,150 @@ const Ii = {
|
|
|
4097
4125
|
timeZoneName: "short"
|
|
4098
4126
|
}
|
|
4099
4127
|
}
|
|
4100
|
-
},
|
|
4128
|
+
}, $i = {
|
|
4101
4129
|
fallbackLocale: null,
|
|
4102
4130
|
loadingDelay: 200,
|
|
4103
|
-
formats:
|
|
4131
|
+
formats: Gi,
|
|
4104
4132
|
warnOnMissingMessages: !0,
|
|
4105
4133
|
handleMissingMessage: void 0,
|
|
4106
4134
|
ignoreTag: !0
|
|
4107
|
-
},
|
|
4108
|
-
function
|
|
4109
|
-
return
|
|
4135
|
+
}, Ui = $i;
|
|
4136
|
+
function se() {
|
|
4137
|
+
return Ui;
|
|
4110
4138
|
}
|
|
4111
|
-
const
|
|
4112
|
-
var
|
|
4139
|
+
const Ve = Ne(!1);
|
|
4140
|
+
var Di = Object.defineProperty, Fi = Object.defineProperties, ji = Object.getOwnPropertyDescriptors, Lt = Object.getOwnPropertySymbols, ki = Object.prototype.hasOwnProperty, Vi = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xi = (e, t) => {
|
|
4113
4141
|
for (var r in t || (t = {}))
|
|
4114
|
-
|
|
4115
|
-
if (
|
|
4116
|
-
for (var r of
|
|
4117
|
-
|
|
4142
|
+
ki.call(t, r) && Mt(e, r, t[r]);
|
|
4143
|
+
if (Lt)
|
|
4144
|
+
for (var r of Lt(t))
|
|
4145
|
+
Vi.call(t, r) && Mt(e, r, t[r]);
|
|
4118
4146
|
return e;
|
|
4119
|
-
},
|
|
4120
|
-
let
|
|
4147
|
+
}, Wi = (e, t) => Fi(e, ji(t));
|
|
4148
|
+
let ut;
|
|
4121
4149
|
const Pe = Ne(null);
|
|
4122
|
-
function
|
|
4150
|
+
function Rt(e) {
|
|
4123
4151
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4124
4152
|
}
|
|
4125
|
-
function
|
|
4126
|
-
const r =
|
|
4127
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4153
|
+
function Me(e, t = se().fallbackLocale) {
|
|
4154
|
+
const r = Rt(e);
|
|
4155
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
|
|
4128
4156
|
}
|
|
4129
|
-
function
|
|
4130
|
-
return
|
|
4157
|
+
function Y() {
|
|
4158
|
+
return ut ?? void 0;
|
|
4131
4159
|
}
|
|
4132
4160
|
Pe.subscribe((e) => {
|
|
4133
|
-
|
|
4161
|
+
ut = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4134
4162
|
});
|
|
4135
|
-
const
|
|
4136
|
-
if (e &&
|
|
4137
|
-
const { loadingDelay: t } =
|
|
4163
|
+
const zi = (e) => {
|
|
4164
|
+
if (e && Ii(e) && at(e)) {
|
|
4165
|
+
const { loadingDelay: t } = se();
|
|
4138
4166
|
let r;
|
|
4139
|
-
return typeof window < "u" &&
|
|
4140
|
-
() =>
|
|
4167
|
+
return typeof window < "u" && Y() != null && t ? r = window.setTimeout(
|
|
4168
|
+
() => Ve.set(!0),
|
|
4141
4169
|
t
|
|
4142
|
-
) :
|
|
4170
|
+
) : Ve.set(!0), Sr(e).then(() => {
|
|
4143
4171
|
Pe.set(e);
|
|
4144
4172
|
}).finally(() => {
|
|
4145
|
-
clearTimeout(r),
|
|
4173
|
+
clearTimeout(r), Ve.set(!1);
|
|
4146
4174
|
});
|
|
4147
4175
|
}
|
|
4148
4176
|
return Pe.set(e);
|
|
4149
|
-
}, z =
|
|
4150
|
-
set:
|
|
4151
|
-
}),
|
|
4177
|
+
}, z = Wi(Xi({}, Pe), {
|
|
4178
|
+
set: zi
|
|
4179
|
+
}), Re = (e) => {
|
|
4152
4180
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4153
4181
|
return (n) => {
|
|
4154
4182
|
const i = JSON.stringify(n);
|
|
4155
4183
|
return i in t ? t[i] : t[i] = e(n);
|
|
4156
4184
|
};
|
|
4157
4185
|
};
|
|
4158
|
-
var
|
|
4186
|
+
var Zi = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
|
|
4159
4187
|
for (var r in t || (t = {}))
|
|
4160
|
-
|
|
4161
|
-
if (
|
|
4162
|
-
for (var r of
|
|
4163
|
-
|
|
4188
|
+
Tr.call(t, r) && Gt(e, r, t[r]);
|
|
4189
|
+
if (Ae)
|
|
4190
|
+
for (var r of Ae(t))
|
|
4191
|
+
Hr.call(t, r) && Gt(e, r, t[r]);
|
|
4164
4192
|
return e;
|
|
4165
|
-
},
|
|
4193
|
+
}, he = (e, t) => {
|
|
4166
4194
|
var r = {};
|
|
4167
4195
|
for (var n in e)
|
|
4168
|
-
|
|
4169
|
-
if (e != null &&
|
|
4170
|
-
for (var n of
|
|
4171
|
-
t.indexOf(n) < 0 &&
|
|
4196
|
+
Tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4197
|
+
if (e != null && Ae)
|
|
4198
|
+
for (var n of Ae(e))
|
|
4199
|
+
t.indexOf(n) < 0 && Hr.call(e, n) && (r[n] = e[n]);
|
|
4172
4200
|
return r;
|
|
4173
4201
|
};
|
|
4174
|
-
const
|
|
4175
|
-
const { formats: r } =
|
|
4202
|
+
const de = (e, t) => {
|
|
4203
|
+
const { formats: r } = se();
|
|
4176
4204
|
if (e in r && t in r[e])
|
|
4177
4205
|
return r[e][t];
|
|
4178
4206
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4179
|
-
},
|
|
4207
|
+
}, Qi = Re(
|
|
4180
4208
|
(e) => {
|
|
4181
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4209
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4182
4210
|
if (r == null)
|
|
4183
4211
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4184
|
-
return n && (i =
|
|
4212
|
+
return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
|
|
4185
4213
|
}
|
|
4186
|
-
),
|
|
4214
|
+
), Ji = Re(
|
|
4187
4215
|
(e) => {
|
|
4188
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4216
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4189
4217
|
if (r == null)
|
|
4190
4218
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4191
|
-
return n ? i =
|
|
4219
|
+
return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4192
4220
|
}
|
|
4193
|
-
),
|
|
4221
|
+
), Yi = Re(
|
|
4194
4222
|
(e) => {
|
|
4195
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4223
|
+
var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
|
|
4196
4224
|
if (r == null)
|
|
4197
4225
|
throw new Error(
|
|
4198
4226
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4199
4227
|
);
|
|
4200
|
-
return n ? i =
|
|
4228
|
+
return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4201
4229
|
}
|
|
4202
|
-
),
|
|
4230
|
+
), qi = (e = {}) => {
|
|
4203
4231
|
var t = e, {
|
|
4204
|
-
locale: r =
|
|
4205
|
-
} = t, n =
|
|
4232
|
+
locale: r = Y()
|
|
4233
|
+
} = t, n = he(t, [
|
|
4206
4234
|
"locale"
|
|
4207
4235
|
]);
|
|
4208
|
-
return
|
|
4209
|
-
},
|
|
4236
|
+
return Qi(ct({ locale: r }, n));
|
|
4237
|
+
}, Ki = (e = {}) => {
|
|
4210
4238
|
var t = e, {
|
|
4211
|
-
locale: r =
|
|
4212
|
-
} = t, n =
|
|
4239
|
+
locale: r = Y()
|
|
4240
|
+
} = t, n = he(t, [
|
|
4213
4241
|
"locale"
|
|
4214
4242
|
]);
|
|
4215
|
-
return
|
|
4216
|
-
},
|
|
4243
|
+
return Ji(ct({ locale: r }, n));
|
|
4244
|
+
}, eo = (e = {}) => {
|
|
4217
4245
|
var t = e, {
|
|
4218
|
-
locale: r =
|
|
4219
|
-
} = t, n =
|
|
4246
|
+
locale: r = Y()
|
|
4247
|
+
} = t, n = he(t, [
|
|
4220
4248
|
"locale"
|
|
4221
4249
|
]);
|
|
4222
|
-
return
|
|
4223
|
-
},
|
|
4250
|
+
return Yi(ct({ locale: r }, n));
|
|
4251
|
+
}, to = Re(
|
|
4224
4252
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4225
|
-
(e, t =
|
|
4226
|
-
ignoreTag:
|
|
4253
|
+
(e, t = Y()) => new Pi(e, t, se().formats, {
|
|
4254
|
+
ignoreTag: se().ignoreTag
|
|
4227
4255
|
})
|
|
4228
|
-
),
|
|
4256
|
+
), ro = (e, t = {}) => {
|
|
4229
4257
|
var r, n, i, o;
|
|
4230
4258
|
let s = t;
|
|
4231
4259
|
typeof e == "object" && (s = e, e = s.id);
|
|
4232
4260
|
const {
|
|
4233
4261
|
values: a,
|
|
4234
|
-
locale: l =
|
|
4262
|
+
locale: l = Y(),
|
|
4235
4263
|
default: u
|
|
4236
4264
|
} = s;
|
|
4237
4265
|
if (l == null)
|
|
4238
4266
|
throw new Error(
|
|
4239
4267
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4240
4268
|
);
|
|
4241
|
-
let h =
|
|
4269
|
+
let h = _r(e, l);
|
|
4242
4270
|
if (!h)
|
|
4243
|
-
h = (o = (i = (n = (r =
|
|
4271
|
+
h = (o = (i = (n = (r = se()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4244
4272
|
else if (typeof h != "string")
|
|
4245
4273
|
return console.warn(
|
|
4246
4274
|
`[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.`
|
|
@@ -4249,7 +4277,7 @@ const me = (e, t) => {
|
|
|
4249
4277
|
return h;
|
|
4250
4278
|
let f = h;
|
|
4251
4279
|
try {
|
|
4252
|
-
f =
|
|
4280
|
+
f = to(h, l).format(a);
|
|
4253
4281
|
} catch (c) {
|
|
4254
4282
|
c instanceof Error && console.warn(
|
|
4255
4283
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4257,26 +4285,26 @@ const me = (e, t) => {
|
|
|
4257
4285
|
);
|
|
4258
4286
|
}
|
|
4259
4287
|
return f;
|
|
4260
|
-
},
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
window.emWidgets = { topic:
|
|
4266
|
-
const
|
|
4288
|
+
}, no = (e, t) => eo(t).format(e), io = (e, t) => Ki(t).format(e), oo = (e, t) => qi(t).format(e), so = (e, t = Y()) => _r(e, t), ao = ue([z, le], () => ro);
|
|
4289
|
+
ue([z], () => no);
|
|
4290
|
+
ue([z], () => io);
|
|
4291
|
+
ue([z], () => oo);
|
|
4292
|
+
ue([z, le], () => so);
|
|
4293
|
+
window.emWidgets = { topic: yn };
|
|
4294
|
+
const uo = (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));
|
|
4267
4295
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4268
|
-
function
|
|
4296
|
+
function lo({ withLocale: e, translations: t }) {
|
|
4269
4297
|
z.subscribe((r) => {
|
|
4270
|
-
r == null && (
|
|
4298
|
+
r == null && (le.set(t), z.set(e));
|
|
4271
4299
|
});
|
|
4272
4300
|
}
|
|
4273
|
-
function
|
|
4274
|
-
|
|
4301
|
+
function $t(e, t) {
|
|
4302
|
+
xr(e, t);
|
|
4275
4303
|
}
|
|
4276
|
-
function
|
|
4304
|
+
function ho(e) {
|
|
4277
4305
|
z.set(e);
|
|
4278
4306
|
}
|
|
4279
|
-
const
|
|
4307
|
+
const Ut = {
|
|
4280
4308
|
en: {
|
|
4281
4309
|
loading: "Loading, please wait ...",
|
|
4282
4310
|
playNow: "Play Now",
|
|
@@ -4287,56 +4315,56 @@ const Gt = {
|
|
|
4287
4315
|
noMoreGames: "No more games"
|
|
4288
4316
|
}
|
|
4289
4317
|
};
|
|
4290
|
-
function
|
|
4291
|
-
|
|
4318
|
+
function co(e) {
|
|
4319
|
+
Ir(e, "svelte-h1f7fe", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.hidden{display:none}.GamesWrapper .items{display:flex;transition:transform 0.4s ease-in-out;transform:translateX(0px);flex-wrap:wrap;gap:var(--emw--spacing-small, 12px)}.GamesWrapper .item{height:100px;margin:0 4px;display:flex;justify-content:center;align-items:center}.GamesWrapper .item ui-image img{width:135px}.GamesWrapper .PlayNowButton{position:absolute;background:var(--emw--color-green, #48952a);display:block;box-sizing:border-box;padding:0.8rem 0.5rem;color:var(--emw--color-white, #FFFFFF);text-transform:uppercase;text-align:center;font-weight:600;font-size:var(--emw--font-size-medium, 0.7rem);cursor:pointer;transition:opacity 0.4s linear;opacity:0;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.GamesWrapper .PlayNowButton:hover{opacity:0.8}.GamesWrapper .NoGames,.GamesWrapper .LoadingGames,.GamesWrapper .SportsPage{color:var(--emw--color-gray-100, #B5B5B5);font-size:var(--emw--font-size-small, 12px);padding:30px 30px}.GamesWrapper .NoGames .LoadingGames{margin-top:var(--emw--spacing-medium, 20px)}.GamesWrapper .SportsPage .Market{margin-top:var(--emw--spacing-medium, 20px);font-size:var(--emw--font-size-small, 12px)}.TournamentsPaginationControlsArea{clear:both;margin-top:30px;display:flex;justify-content:center;width:100%}.TournamentsPaginationControlsArea.SinglePage{display:none}.TournamentsPaginationControls{background:var(--emw--color-green, transparent);width:60%;height:35px;text-align:center;color:var(--emw--color-white, #FFFFFF);border:solid var(--emw--color-green, #48952a) 1px;text-transform:uppercase;display:flex;justify-content:center;align-items:center;gap:20px;font-size:14px;cursor:pointer;width:190px}.TournamentsPaginationControls.Disabled{color:var(--emw--color-gray-100, #B5B5B5);border-color:var(--emw--color-gray-100, #B5B5B5);opacity:50%;cursor:default}.TournamentsPaginationControlsArea{justify-content:center;gap:30px}.TournamentsPaginationControlsArea .TournamentsPaginationControls{align-items:center}.TournamentsPaginationControlsArea .TournamentsPaginationControlsText{font-size:var(--emw--size-standard, 16px)}.GamesTabNav{max-width:500px;min-width:300px;width:30%}.MobileClass .GamesTabNav{width:100%}.MobileClass .GamesWrapper .GameList.items{max-height:calc(100vh - 350px);overflow-y:auto}");
|
|
4292
4320
|
}
|
|
4293
|
-
function
|
|
4321
|
+
function Dt(e, t, r) {
|
|
4294
4322
|
const n = e.slice();
|
|
4295
4323
|
return n[32] = t[r], n;
|
|
4296
4324
|
}
|
|
4297
|
-
function
|
|
4325
|
+
function Ft(e, t, r) {
|
|
4298
4326
|
const n = e.slice();
|
|
4299
4327
|
return n[32] = t[r], n[36] = r, n;
|
|
4300
4328
|
}
|
|
4301
|
-
function
|
|
4329
|
+
function jt(e) {
|
|
4302
4330
|
let t, r;
|
|
4303
4331
|
return {
|
|
4304
4332
|
c() {
|
|
4305
|
-
t =
|
|
4333
|
+
t = A("div"), r = A("casino-tournaments-tab"), C(r, "part", "TournamentGames"), C(r, "tabs", "casino,sports"), C(r, "tab", "casino"), C(r, "tid", lt), C(
|
|
4306
4334
|
r,
|
|
4307
4335
|
"clientstyling",
|
|
4308
4336
|
/*clientstyling*/
|
|
4309
4337
|
e[0]
|
|
4310
|
-
),
|
|
4338
|
+
), C(
|
|
4311
4339
|
r,
|
|
4312
4340
|
"clientstylingurl",
|
|
4313
4341
|
/*clientstylingurl*/
|
|
4314
4342
|
e[1]
|
|
4315
|
-
),
|
|
4343
|
+
), C(
|
|
4316
4344
|
r,
|
|
4317
4345
|
"mbsource",
|
|
4318
4346
|
/*mbsource*/
|
|
4319
4347
|
e[2]
|
|
4320
|
-
),
|
|
4348
|
+
), g(t, "class", "GamesTabNav");
|
|
4321
4349
|
},
|
|
4322
4350
|
m(n, i) {
|
|
4323
|
-
|
|
4351
|
+
D(n, t, i), x(t, r);
|
|
4324
4352
|
},
|
|
4325
4353
|
p(n, i) {
|
|
4326
4354
|
i[0] & /*clientstyling*/
|
|
4327
|
-
1 &&
|
|
4355
|
+
1 && C(
|
|
4328
4356
|
r,
|
|
4329
4357
|
"clientstyling",
|
|
4330
4358
|
/*clientstyling*/
|
|
4331
4359
|
n[0]
|
|
4332
4360
|
), i[0] & /*clientstylingurl*/
|
|
4333
|
-
2 &&
|
|
4361
|
+
2 && C(
|
|
4334
4362
|
r,
|
|
4335
4363
|
"clientstylingurl",
|
|
4336
4364
|
/*clientstylingurl*/
|
|
4337
4365
|
n[1]
|
|
4338
4366
|
), i[0] & /*mbsource*/
|
|
4339
|
-
4 &&
|
|
4367
|
+
4 && C(
|
|
4340
4368
|
r,
|
|
4341
4369
|
"mbsource",
|
|
4342
4370
|
/*mbsource*/
|
|
@@ -4344,21 +4372,21 @@ function Dt(e) {
|
|
|
4344
4372
|
);
|
|
4345
4373
|
},
|
|
4346
4374
|
d(n) {
|
|
4347
|
-
n &&
|
|
4375
|
+
n && G(t);
|
|
4348
4376
|
}
|
|
4349
4377
|
};
|
|
4350
4378
|
}
|
|
4351
|
-
function
|
|
4379
|
+
function fo(e) {
|
|
4352
4380
|
let t, r = (
|
|
4353
4381
|
/*$_*/
|
|
4354
4382
|
e[13]("noGamesAvailable") + ""
|
|
4355
4383
|
), n;
|
|
4356
4384
|
return {
|
|
4357
4385
|
c() {
|
|
4358
|
-
t =
|
|
4386
|
+
t = A("div"), n = U(r), g(t, "class", "NoGames");
|
|
4359
4387
|
},
|
|
4360
4388
|
m(i, o) {
|
|
4361
|
-
|
|
4389
|
+
D(i, t, o), x(t, n);
|
|
4362
4390
|
},
|
|
4363
4391
|
p(i, o) {
|
|
4364
4392
|
o[0] & /*$_*/
|
|
@@ -4366,21 +4394,21 @@ function uo(e) {
|
|
|
4366
4394
|
i[13]("noGamesAvailable") + "") && W(n, r);
|
|
4367
4395
|
},
|
|
4368
4396
|
d(i) {
|
|
4369
|
-
i &&
|
|
4397
|
+
i && G(t);
|
|
4370
4398
|
}
|
|
4371
4399
|
};
|
|
4372
4400
|
}
|
|
4373
|
-
function
|
|
4401
|
+
function po(e) {
|
|
4374
4402
|
let t, r = (
|
|
4375
4403
|
/*$_*/
|
|
4376
4404
|
e[13]("noMoreGames") + ""
|
|
4377
4405
|
), n;
|
|
4378
4406
|
return {
|
|
4379
4407
|
c() {
|
|
4380
|
-
t =
|
|
4408
|
+
t = A("div"), n = U(r), g(t, "class", "NoGames");
|
|
4381
4409
|
},
|
|
4382
4410
|
m(i, o) {
|
|
4383
|
-
|
|
4411
|
+
D(i, t, o), x(t, n);
|
|
4384
4412
|
},
|
|
4385
4413
|
p(i, o) {
|
|
4386
4414
|
o[0] & /*$_*/
|
|
@@ -4388,21 +4416,21 @@ function lo(e) {
|
|
|
4388
4416
|
i[13]("noMoreGames") + "") && W(n, r);
|
|
4389
4417
|
},
|
|
4390
4418
|
d(i) {
|
|
4391
|
-
i &&
|
|
4419
|
+
i && G(t);
|
|
4392
4420
|
}
|
|
4393
4421
|
};
|
|
4394
4422
|
}
|
|
4395
|
-
function
|
|
4423
|
+
function mo(e) {
|
|
4396
4424
|
let t, r = (
|
|
4397
4425
|
/*$_*/
|
|
4398
4426
|
e[13]("loading") + ""
|
|
4399
4427
|
), n;
|
|
4400
4428
|
return {
|
|
4401
4429
|
c() {
|
|
4402
|
-
t =
|
|
4430
|
+
t = A("div"), n = U(r), g(t, "class", "LoadingGames");
|
|
4403
4431
|
},
|
|
4404
4432
|
m(i, o) {
|
|
4405
|
-
|
|
4433
|
+
D(i, t, o), x(t, n);
|
|
4406
4434
|
},
|
|
4407
4435
|
p(i, o) {
|
|
4408
4436
|
o[0] & /*$_*/
|
|
@@ -4410,39 +4438,39 @@ function ho(e) {
|
|
|
4410
4438
|
i[13]("loading") + "") && W(n, r);
|
|
4411
4439
|
},
|
|
4412
4440
|
d(i) {
|
|
4413
|
-
i &&
|
|
4441
|
+
i && G(t);
|
|
4414
4442
|
}
|
|
4415
4443
|
};
|
|
4416
4444
|
}
|
|
4417
|
-
function
|
|
4418
|
-
let t, r =
|
|
4445
|
+
function bo(e) {
|
|
4446
|
+
let t, r = He(
|
|
4419
4447
|
/*casinoGames*/
|
|
4420
4448
|
e[8]
|
|
4421
4449
|
), n = [];
|
|
4422
4450
|
for (let i = 0; i < r.length; i += 1)
|
|
4423
|
-
n[i] = Ft(
|
|
4451
|
+
n[i] = kt(Ft(e, r, i));
|
|
4424
4452
|
return {
|
|
4425
4453
|
c() {
|
|
4426
4454
|
for (let i = 0; i < n.length; i += 1)
|
|
4427
4455
|
n[i].c();
|
|
4428
|
-
t =
|
|
4456
|
+
t = Rr();
|
|
4429
4457
|
},
|
|
4430
4458
|
m(i, o) {
|
|
4431
4459
|
for (let s = 0; s < n.length; s += 1)
|
|
4432
4460
|
n[s] && n[s].m(i, o);
|
|
4433
|
-
|
|
4461
|
+
D(i, t, o);
|
|
4434
4462
|
},
|
|
4435
4463
|
p(i, o) {
|
|
4436
4464
|
if (o[0] & /*gameClicked, casinoGames, $_*/
|
|
4437
4465
|
41216) {
|
|
4438
|
-
r =
|
|
4466
|
+
r = He(
|
|
4439
4467
|
/*casinoGames*/
|
|
4440
4468
|
i[8]
|
|
4441
4469
|
);
|
|
4442
4470
|
let s;
|
|
4443
4471
|
for (s = 0; s < r.length; s += 1) {
|
|
4444
|
-
const a =
|
|
4445
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4472
|
+
const a = Ft(i, r, s);
|
|
4473
|
+
n[s] ? n[s].p(a, o) : (n[s] = kt(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4446
4474
|
}
|
|
4447
4475
|
for (; s < n.length; s += 1)
|
|
4448
4476
|
n[s].d(1);
|
|
@@ -4450,26 +4478,26 @@ function co(e) {
|
|
|
4450
4478
|
}
|
|
4451
4479
|
},
|
|
4452
4480
|
d(i) {
|
|
4453
|
-
i &&
|
|
4481
|
+
i && G(t), Zt(n, i);
|
|
4454
4482
|
}
|
|
4455
4483
|
};
|
|
4456
4484
|
}
|
|
4457
|
-
function
|
|
4485
|
+
function kt(e) {
|
|
4458
4486
|
let t, r, n = (
|
|
4459
4487
|
/*$_*/
|
|
4460
4488
|
e[13]("playNow") + ""
|
|
4461
4489
|
), i, o, s, a, l, u, h, f, c;
|
|
4462
4490
|
return {
|
|
4463
4491
|
c() {
|
|
4464
|
-
t =
|
|
4465
|
-
e[32].thumbnail) ||
|
|
4466
|
-
e[32].name),
|
|
4467
|
-
e[32].name),
|
|
4468
|
-
e[36]),
|
|
4492
|
+
t = A("div"), r = A("span"), i = U(n), o = j(), s = A("ui-image"), h = j(), g(r, "class", "PlayNowButton"), bt(s.src, a = /*item*/
|
|
4493
|
+
e[32].thumbnail) || C(s, "src", a), C(s, "width", "132px"), C(s, "height", "100px"), C(s, "alt", l = /*item*/
|
|
4494
|
+
e[32].name), C(s, "title", u = /*item*/
|
|
4495
|
+
e[32].name), g(t, "class", "item"), g(t, "id", "g_" + /*idx*/
|
|
4496
|
+
e[36]), g(t, "role", "button"), g(t, "tabindex", "0");
|
|
4469
4497
|
},
|
|
4470
4498
|
m(d, b) {
|
|
4471
|
-
|
|
4472
|
-
|
|
4499
|
+
D(d, t, b), x(t, r), x(r, i), x(t, o), x(t, s), x(t, h), f || (c = Xe(t, "click", function() {
|
|
4500
|
+
Oe(
|
|
4473
4501
|
/*gameClicked*/
|
|
4474
4502
|
e[15](
|
|
4475
4503
|
/*item*/
|
|
@@ -4485,47 +4513,47 @@ function Ft(e) {
|
|
|
4485
4513
|
e = d, b[0] & /*$_*/
|
|
4486
4514
|
8192 && n !== (n = /*$_*/
|
|
4487
4515
|
e[13]("playNow") + "") && W(i, n), b[0] & /*casinoGames*/
|
|
4488
|
-
256 && !
|
|
4489
|
-
e[32].thumbnail) &&
|
|
4516
|
+
256 && !bt(s.src, a = /*item*/
|
|
4517
|
+
e[32].thumbnail) && C(s, "src", a), b[0] & /*casinoGames*/
|
|
4490
4518
|
256 && l !== (l = /*item*/
|
|
4491
|
-
e[32].name) &&
|
|
4519
|
+
e[32].name) && C(s, "alt", l), b[0] & /*casinoGames*/
|
|
4492
4520
|
256 && u !== (u = /*item*/
|
|
4493
|
-
e[32].name) &&
|
|
4521
|
+
e[32].name) && C(s, "title", u);
|
|
4494
4522
|
},
|
|
4495
4523
|
d(d) {
|
|
4496
|
-
d &&
|
|
4524
|
+
d && G(t), f = !1, c();
|
|
4497
4525
|
}
|
|
4498
4526
|
};
|
|
4499
4527
|
}
|
|
4500
|
-
function
|
|
4528
|
+
function go(e) {
|
|
4501
4529
|
let t, r, n, i, o, s, a, l = (
|
|
4502
4530
|
/*$_*/
|
|
4503
4531
|
e[13]("previous") + ""
|
|
4504
|
-
), u, h, f, c, d, b,
|
|
4532
|
+
), u, h, f, c, d, b, v = (
|
|
4505
4533
|
/*$_*/
|
|
4506
4534
|
e[13]("next") + ""
|
|
4507
|
-
),
|
|
4535
|
+
), S, T, y, p, B, w, N, F, V, Z;
|
|
4508
4536
|
return {
|
|
4509
4537
|
c() {
|
|
4510
|
-
t =
|
|
4511
|
-
e[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"),
|
|
4538
|
+
t = A("div"), r = A("button"), n = ve("svg"), i = ve("path"), s = j(), a = A("span"), u = U(l), c = j(), d = A("button"), b = A("span"), S = U(v), T = j(), y = ve("svg"), p = ve("path"), g(i, "fill", o = /*hasPreviousPage*/
|
|
4539
|
+
e[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), g(i, "class", "a"), g(i, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), g(i, "transform", "translate(19.246 -6.188) rotate(90)"), g(n, "xmlns", "http://www.w3.org/2000/svg"), g(n, "width", "8"), g(n, "height", "13.992"), g(n, "viewBox", "0 0 8 13.992"), g(a, "class", "TournamentsPaginationControlsText"), g(r, "class", h = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
|
|
4512
4540
|
e[10] ? "" : "Disabled")), r.disabled = f = /*hasPreviousPage*/
|
|
4513
|
-
!e[10],
|
|
4514
|
-
e[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"),
|
|
4515
|
-
e[11] ? "" : "Disabled")), d.disabled =
|
|
4516
|
-
!e[11],
|
|
4541
|
+
!e[10], g(b, "class", "TournamentsPaginationControlsText"), g(p, "fill", B = /*hasNextPage*/
|
|
4542
|
+
e[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)"), g(p, "class", "a"), g(p, "d", "M13.186,16.835l5.291-5.295a1,1,0,0,1,1.412,0,1.008,1.008,0,0,1,0,1.416l-5.995,6a1,1,0,0,1-1.379.029L6.479,12.961a1,1,0,0,1,1.412-1.416Z"), g(p, "transform", "translate(-11.246 20.179) rotate(-90)"), g(y, "xmlns", "http://www.w3.org/2000/svg"), g(y, "width", "8"), g(y, "height", "13.992"), g(y, "viewBox", "0 0 8 13.992"), g(d, "class", w = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
|
|
4543
|
+
e[11] ? "" : "Disabled")), d.disabled = N = /*hasNextPage*/
|
|
4544
|
+
!e[11], g(t, "class", F = "TournamentsPaginationControlsArea " + (!/*hasPreviousPage*/
|
|
4517
4545
|
e[10] && !/*hasNextPage*/
|
|
4518
4546
|
e[11] ? "SinglePage" : ""));
|
|
4519
4547
|
},
|
|
4520
|
-
m(
|
|
4521
|
-
|
|
4522
|
-
|
|
4548
|
+
m(O, L) {
|
|
4549
|
+
D(O, t, L), x(t, r), x(r, n), x(n, i), x(r, s), x(r, a), x(a, u), x(t, c), x(t, d), x(d, b), x(b, S), x(d, T), x(d, y), x(y, p), V || (Z = [
|
|
4550
|
+
Xe(
|
|
4523
4551
|
r,
|
|
4524
4552
|
"click",
|
|
4525
4553
|
/*gotoPage*/
|
|
4526
4554
|
e[16].bind(this, -1)
|
|
4527
4555
|
),
|
|
4528
|
-
|
|
4556
|
+
Xe(
|
|
4529
4557
|
d,
|
|
4530
4558
|
"click",
|
|
4531
4559
|
/*gotoPage*/
|
|
@@ -4533,34 +4561,34 @@ function fo(e) {
|
|
|
4533
4561
|
)
|
|
4534
4562
|
], V = !0);
|
|
4535
4563
|
},
|
|
4536
|
-
p(
|
|
4564
|
+
p(O, L) {
|
|
4537
4565
|
L[0] & /*hasPreviousPage*/
|
|
4538
4566
|
1024 && o !== (o = /*hasPreviousPage*/
|
|
4539
|
-
|
|
4567
|
+
O[10] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && g(i, "fill", o), L[0] & /*$_*/
|
|
4540
4568
|
8192 && l !== (l = /*$_*/
|
|
4541
|
-
|
|
4569
|
+
O[13]("previous") + "") && W(u, l), L[0] & /*hasPreviousPage*/
|
|
4542
4570
|
1024 && h !== (h = "TournamentsButton TournamentsPaginationControls " + (/*hasPreviousPage*/
|
|
4543
|
-
|
|
4571
|
+
O[10] ? "" : "Disabled")) && g(r, "class", h), L[0] & /*hasPreviousPage*/
|
|
4544
4572
|
1024 && f !== (f = /*hasPreviousPage*/
|
|
4545
|
-
!
|
|
4546
|
-
8192 &&
|
|
4547
|
-
|
|
4548
|
-
2048 &&
|
|
4549
|
-
|
|
4573
|
+
!O[10]) && (r.disabled = f), L[0] & /*$_*/
|
|
4574
|
+
8192 && v !== (v = /*$_*/
|
|
4575
|
+
O[13]("next") + "") && W(S, v), L[0] & /*hasNextPage*/
|
|
4576
|
+
2048 && B !== (B = /*hasNextPage*/
|
|
4577
|
+
O[11] ? "var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))" : "var(--emw--color-gray-100, #E6E6E6)") && g(p, "fill", B), L[0] & /*hasNextPage*/
|
|
4550
4578
|
2048 && w !== (w = "TournamentsButton TournamentsPaginationControls " + (/*hasNextPage*/
|
|
4551
|
-
|
|
4552
|
-
2048 &&
|
|
4553
|
-
!
|
|
4554
|
-
3072 &&
|
|
4555
|
-
|
|
4556
|
-
|
|
4579
|
+
O[11] ? "" : "Disabled")) && g(d, "class", w), L[0] & /*hasNextPage*/
|
|
4580
|
+
2048 && N !== (N = /*hasNextPage*/
|
|
4581
|
+
!O[11]) && (d.disabled = N), L[0] & /*hasPreviousPage, hasNextPage*/
|
|
4582
|
+
3072 && F !== (F = "TournamentsPaginationControlsArea " + (!/*hasPreviousPage*/
|
|
4583
|
+
O[10] && !/*hasNextPage*/
|
|
4584
|
+
O[11] ? "SinglePage" : "")) && g(t, "class", F);
|
|
4557
4585
|
},
|
|
4558
|
-
d(
|
|
4559
|
-
|
|
4586
|
+
d(O) {
|
|
4587
|
+
O && G(t), V = !1, ae(Z);
|
|
4560
4588
|
}
|
|
4561
4589
|
};
|
|
4562
4590
|
}
|
|
4563
|
-
function
|
|
4591
|
+
function Vt(e) {
|
|
4564
4592
|
let t, r = (
|
|
4565
4593
|
/*item*/
|
|
4566
4594
|
e[32].rule + ""
|
|
@@ -4570,10 +4598,10 @@ function jt(e) {
|
|
|
4570
4598
|
), s;
|
|
4571
4599
|
return {
|
|
4572
4600
|
c() {
|
|
4573
|
-
t =
|
|
4601
|
+
t = A("li"), n = U(r), i = j(), s = U(o), g(t, "part", "li"), g(t, "class", "Market");
|
|
4574
4602
|
},
|
|
4575
4603
|
m(a, l) {
|
|
4576
|
-
|
|
4604
|
+
D(a, t, l), x(t, n), x(t, i), x(t, s);
|
|
4577
4605
|
},
|
|
4578
4606
|
p(a, l) {
|
|
4579
4607
|
l[0] & /*sportsRules*/
|
|
@@ -4583,115 +4611,115 @@ function jt(e) {
|
|
|
4583
4611
|
a[13]("contribution") + "") && W(s, o);
|
|
4584
4612
|
},
|
|
4585
4613
|
d(a) {
|
|
4586
|
-
a &&
|
|
4614
|
+
a && G(t);
|
|
4587
4615
|
}
|
|
4588
4616
|
};
|
|
4589
4617
|
}
|
|
4590
|
-
function
|
|
4618
|
+
function vo(e) {
|
|
4591
4619
|
let t, r, n, i, o, s, a, l, u, h, f, c = (
|
|
4592
4620
|
/*tournamentdetails*/
|
|
4593
4621
|
e[3] && /*tournamentdetails*/
|
|
4594
4622
|
e[3].wallet?.sports && /*tournamentdetails*/
|
|
4595
|
-
e[3].wallet?.casino &&
|
|
4623
|
+
e[3].wallet?.casino && jt(e)
|
|
4596
4624
|
);
|
|
4597
|
-
function d(
|
|
4625
|
+
function d(p, B) {
|
|
4598
4626
|
return (
|
|
4599
4627
|
/*casinoGames*/
|
|
4600
|
-
|
|
4628
|
+
p[8]?.length ? bo : (
|
|
4601
4629
|
/*isLoadingGames*/
|
|
4602
|
-
|
|
4630
|
+
p[12] ? mo : (
|
|
4603
4631
|
/*noMoreGamesWhenPagination*/
|
|
4604
|
-
|
|
4632
|
+
p[9] ? po : fo
|
|
4605
4633
|
)
|
|
4606
4634
|
)
|
|
4607
4635
|
);
|
|
4608
4636
|
}
|
|
4609
|
-
let b = d(e),
|
|
4610
|
-
e[14] &&
|
|
4637
|
+
let b = d(e), v = b(e), S = !/*isMobileDevice*/
|
|
4638
|
+
e[14] && go(e), T = He(
|
|
4611
4639
|
/*sportsRules*/
|
|
4612
4640
|
e[7]
|
|
4613
|
-
),
|
|
4614
|
-
for (let
|
|
4615
|
-
|
|
4641
|
+
), y = [];
|
|
4642
|
+
for (let p = 0; p < T.length; p += 1)
|
|
4643
|
+
y[p] = Vt(Dt(e, T, p));
|
|
4616
4644
|
return {
|
|
4617
4645
|
c() {
|
|
4618
|
-
t =
|
|
4619
|
-
for (let
|
|
4620
|
-
|
|
4621
|
-
|
|
4622
|
-
(e[6] != "casino" ? "hidden" : "")),
|
|
4623
|
-
(e[6] != "sports" ? "hidden" : "")),
|
|
4646
|
+
t = A("div"), c && c.c(), r = j(), n = A("div"), i = A("div"), o = A("div"), v.c(), s = j(), S && S.c(), l = j(), u = A("div"), h = A("ul");
|
|
4647
|
+
for (let p = 0; p < y.length; p += 1)
|
|
4648
|
+
y[p].c();
|
|
4649
|
+
g(o, "class", "GameList items"), g(i, "class", a = "TabContent GamesContent " + /*activeTab*/
|
|
4650
|
+
(e[6] != "casino" ? "hidden" : "")), g(h, "class", "SportsPage"), g(u, "class", f = "TabContent GamesContent " + /*activeTab*/
|
|
4651
|
+
(e[6] != "sports" ? "hidden" : "")), g(n, "class", "GamesWrapper"), g(
|
|
4624
4652
|
t,
|
|
4625
4653
|
"class",
|
|
4626
4654
|
/*isMobileDevice*/
|
|
4627
4655
|
e[14] ? "MobileClass" : ""
|
|
4628
4656
|
);
|
|
4629
4657
|
},
|
|
4630
|
-
m(
|
|
4631
|
-
|
|
4632
|
-
for (let w = 0; w <
|
|
4633
|
-
|
|
4658
|
+
m(p, B) {
|
|
4659
|
+
D(p, t, B), c && c.m(t, null), x(t, r), x(t, n), x(n, i), x(i, o), v.m(o, null), e[19](o), x(i, s), S && S.m(i, null), x(n, l), x(n, u), x(u, h);
|
|
4660
|
+
for (let w = 0; w < y.length; w += 1)
|
|
4661
|
+
y[w] && y[w].m(h, null);
|
|
4634
4662
|
e[20](t);
|
|
4635
4663
|
},
|
|
4636
|
-
p(
|
|
4664
|
+
p(p, B) {
|
|
4637
4665
|
if (/*tournamentdetails*/
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4666
|
+
p[3] && /*tournamentdetails*/
|
|
4667
|
+
p[3].wallet?.sports && /*tournamentdetails*/
|
|
4668
|
+
p[3].wallet?.casino ? c ? c.p(p, B) : (c = jt(p), c.c(), c.m(t, r)) : c && (c.d(1), c = null), b === (b = d(p)) && v ? v.p(p, B) : (v.d(1), v = b(p), v && (v.c(), v.m(o, null))), /*isMobileDevice*/
|
|
4669
|
+
p[14] || S.p(p, B), B[0] & /*activeTab*/
|
|
4642
4670
|
64 && a !== (a = "TabContent GamesContent " + /*activeTab*/
|
|
4643
|
-
(
|
|
4671
|
+
(p[6] != "casino" ? "hidden" : "")) && g(i, "class", a), B[0] & /*$_, sportsRules*/
|
|
4644
4672
|
8320) {
|
|
4645
|
-
|
|
4673
|
+
T = He(
|
|
4646
4674
|
/*sportsRules*/
|
|
4647
|
-
|
|
4675
|
+
p[7]
|
|
4648
4676
|
);
|
|
4649
4677
|
let w;
|
|
4650
|
-
for (w = 0; w <
|
|
4651
|
-
const
|
|
4652
|
-
|
|
4678
|
+
for (w = 0; w < T.length; w += 1) {
|
|
4679
|
+
const N = Dt(p, T, w);
|
|
4680
|
+
y[w] ? y[w].p(N, B) : (y[w] = Vt(N), y[w].c(), y[w].m(h, null));
|
|
4653
4681
|
}
|
|
4654
|
-
for (; w <
|
|
4655
|
-
|
|
4656
|
-
|
|
4682
|
+
for (; w < y.length; w += 1)
|
|
4683
|
+
y[w].d(1);
|
|
4684
|
+
y.length = T.length;
|
|
4657
4685
|
}
|
|
4658
|
-
|
|
4686
|
+
B[0] & /*activeTab*/
|
|
4659
4687
|
64 && f !== (f = "TabContent GamesContent " + /*activeTab*/
|
|
4660
|
-
(
|
|
4688
|
+
(p[6] != "sports" ? "hidden" : "")) && g(u, "class", f);
|
|
4661
4689
|
},
|
|
4662
|
-
i:
|
|
4663
|
-
o:
|
|
4664
|
-
d(
|
|
4665
|
-
|
|
4690
|
+
i: R,
|
|
4691
|
+
o: R,
|
|
4692
|
+
d(p) {
|
|
4693
|
+
p && G(t), c && c.d(), v.d(), e[19](null), S && S.d(), Zt(y, p), e[20](null);
|
|
4666
4694
|
}
|
|
4667
4695
|
};
|
|
4668
4696
|
}
|
|
4669
|
-
let
|
|
4670
|
-
function
|
|
4697
|
+
let lt = "gameTab";
|
|
4698
|
+
function yo(e, t, r) {
|
|
4671
4699
|
let n;
|
|
4672
|
-
|
|
4673
|
-
let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { translationurl: a } = t, { lang: l = "en" } = t, u = "casino", h = [], f = [], c, d = window.navigator.userAgent, b,
|
|
4674
|
-
|
|
4675
|
-
const
|
|
4676
|
-
fetch(a).then((
|
|
4677
|
-
Object.keys(
|
|
4678
|
-
|
|
4700
|
+
Nr(e, ao, (m) => r(13, n = m));
|
|
4701
|
+
let { clientstyling: i = "" } = t, { clientstylingurl: o = "" } = t, { mbsource: s } = t, { translationurl: a } = t, { lang: l = "en" } = t, u = "casino", h = [], f = [], c, d = window.navigator.userAgent, b, v, S, T, y = uo(d), p = !1;
|
|
4702
|
+
lo({ withLocale: "en", translations: {} });
|
|
4703
|
+
const B = () => {
|
|
4704
|
+
fetch(a).then((m) => m.json()).then((m) => {
|
|
4705
|
+
Object.keys(m).forEach((M) => {
|
|
4706
|
+
$t(M, m[M]);
|
|
4679
4707
|
});
|
|
4680
|
-
}).catch((
|
|
4681
|
-
console.log(
|
|
4708
|
+
}).catch((m) => {
|
|
4709
|
+
console.log(m);
|
|
4682
4710
|
});
|
|
4683
4711
|
};
|
|
4684
|
-
Object.keys(
|
|
4685
|
-
|
|
4712
|
+
Object.keys(Ut).forEach((m) => {
|
|
4713
|
+
$t(m, Ut[m]);
|
|
4686
4714
|
});
|
|
4687
|
-
const
|
|
4688
|
-
|
|
4715
|
+
const w = () => {
|
|
4716
|
+
ho(l), setTimeout(
|
|
4689
4717
|
() => {
|
|
4690
|
-
|
|
4718
|
+
N();
|
|
4691
4719
|
},
|
|
4692
4720
|
10
|
|
4693
4721
|
);
|
|
4694
|
-
},
|
|
4722
|
+
}, N = () => {
|
|
4695
4723
|
window.postMessage(
|
|
4696
4724
|
{
|
|
4697
4725
|
type: "TournamentsTabsLocalize",
|
|
@@ -4702,66 +4730,66 @@ function mo(e, t, r) {
|
|
|
4702
4730
|
},
|
|
4703
4731
|
window.location.href
|
|
4704
4732
|
);
|
|
4705
|
-
},
|
|
4733
|
+
}, F = (m) => {
|
|
4706
4734
|
window.postMessage(
|
|
4707
4735
|
{
|
|
4708
4736
|
type: "TournamentGameAction",
|
|
4709
|
-
gameId:
|
|
4710
|
-
name:
|
|
4711
|
-
launchUrl:
|
|
4737
|
+
gameId: m.id,
|
|
4738
|
+
name: m.name,
|
|
4739
|
+
launchUrl: m.launchUrl
|
|
4712
4740
|
},
|
|
4713
4741
|
window.location.href
|
|
4714
4742
|
);
|
|
4715
4743
|
};
|
|
4716
|
-
let
|
|
4717
|
-
const
|
|
4718
|
-
!
|
|
4744
|
+
let V = !1, Z = !1, O = !1;
|
|
4745
|
+
const L = (m) => {
|
|
4746
|
+
!V && m === -1 || !Z && m === 1 || (r(12, O = !0), r(8, f = []), window.postMessage(
|
|
4719
4747
|
{
|
|
4720
4748
|
type: "TournamentsLoadMoreGames",
|
|
4721
4749
|
id: c.id,
|
|
4722
|
-
isNext:
|
|
4750
|
+
isNext: m > 0
|
|
4723
4751
|
},
|
|
4724
4752
|
window.location.href
|
|
4725
4753
|
));
|
|
4726
|
-
},
|
|
4727
|
-
r(8, f = c.games?.items || []), r(9,
|
|
4728
|
-
const
|
|
4729
|
-
if (
|
|
4754
|
+
}, ft = () => {
|
|
4755
|
+
r(8, f = c.games?.items || []), r(9, p = !1), r(10, V = !1), r(11, Z = c.games?.total > c.games?.items.length), mt();
|
|
4756
|
+
const m = c.metadata?.sports?.rules;
|
|
4757
|
+
if (m) {
|
|
4730
4758
|
r(6, u = c.wallet.casino ? "casino" : "sports");
|
|
4731
4759
|
try {
|
|
4732
|
-
const
|
|
4733
|
-
r(7, h =
|
|
4734
|
-
} catch (
|
|
4735
|
-
console.error("Error parsing tournament rules",
|
|
4760
|
+
const M = JSON.parse(m);
|
|
4761
|
+
r(7, h = M[l] || M["*"]);
|
|
4762
|
+
} catch (M) {
|
|
4763
|
+
console.error("Error parsing tournament rules", M);
|
|
4736
4764
|
}
|
|
4737
4765
|
}
|
|
4738
|
-
},
|
|
4739
|
-
if (!
|
|
4766
|
+
}, pt = (m) => {
|
|
4767
|
+
if (!m.data || !m.data.type)
|
|
4740
4768
|
return;
|
|
4741
|
-
const
|
|
4742
|
-
switch (
|
|
4769
|
+
const M = m.data.tid || "";
|
|
4770
|
+
switch (m.data.type) {
|
|
4743
4771
|
case "TournamentsTabSwitch":
|
|
4744
|
-
|
|
4772
|
+
M === lt && r(6, u = m.data.tab);
|
|
4745
4773
|
break;
|
|
4746
4774
|
case "TournamentsTabListenerLoaded":
|
|
4747
|
-
|
|
4775
|
+
N();
|
|
4748
4776
|
break;
|
|
4749
4777
|
case "TournamentsGamesUpdate":
|
|
4750
|
-
r(3, c =
|
|
4778
|
+
r(3, c = m.data.details), ft();
|
|
4751
4779
|
break;
|
|
4752
4780
|
case "TournamentsLoadedMoreGames":
|
|
4753
|
-
|
|
4781
|
+
y ? m.data.games?.items.length && (r(8, f = [...f, ...m.data.games.items]), mt()) : (r(12, O = !1), r(8, f = [...m.data.games.items]), r(11, Z = m.data.hasNextPage), r(10, V = m.data.hasPreviousPage), r(9, p = !f.length));
|
|
4754
4782
|
break;
|
|
4755
4783
|
default:
|
|
4756
|
-
console.warn(`Unhandled message type: ${
|
|
4784
|
+
console.warn(`Unhandled message type: ${m.data.type}`);
|
|
4757
4785
|
break;
|
|
4758
4786
|
}
|
|
4759
4787
|
};
|
|
4760
|
-
let
|
|
4761
|
-
const
|
|
4762
|
-
|
|
4763
|
-
|
|
4764
|
-
|
|
4788
|
+
let Q;
|
|
4789
|
+
const Br = (m) => {
|
|
4790
|
+
Q = m?.lastElementChild, !(!y || T || !m || !Q) && (T = new IntersectionObserver((M) => {
|
|
4791
|
+
M.forEach((Or) => {
|
|
4792
|
+
Or.isIntersecting && (T.unobserve(Q), window.postMessage(
|
|
4765
4793
|
{
|
|
4766
4794
|
type: "TournamentsLoadMoreGames",
|
|
4767
4795
|
id: c.id,
|
|
@@ -4771,71 +4799,71 @@ function mo(e, t, r) {
|
|
|
4771
4799
|
));
|
|
4772
4800
|
});
|
|
4773
4801
|
}));
|
|
4774
|
-
},
|
|
4775
|
-
!
|
|
4802
|
+
}, mt = () => {
|
|
4803
|
+
!y || !Q || !T || !f.length || (T.unobserve(Q), Q = S.lastElementChild, T.observe(Q));
|
|
4776
4804
|
};
|
|
4777
|
-
|
|
4805
|
+
Dr(() => y && T && T.disconnect()), Ur(() => (window.postMessage(
|
|
4778
4806
|
{
|
|
4779
4807
|
type: "TournamentsGamesListenerLoaded",
|
|
4780
|
-
gamesTabTid:
|
|
4808
|
+
gamesTabTid: lt
|
|
4781
4809
|
},
|
|
4782
4810
|
window.location.href
|
|
4783
|
-
), window.addEventListener("message",
|
|
4784
|
-
window.removeEventListener("message",
|
|
4811
|
+
), window.addEventListener("message", pt, !1), () => {
|
|
4812
|
+
window.removeEventListener("message", pt);
|
|
4785
4813
|
}));
|
|
4786
|
-
function
|
|
4787
|
-
Te[
|
|
4788
|
-
|
|
4814
|
+
function Pr(m) {
|
|
4815
|
+
Te[m ? "unshift" : "push"](() => {
|
|
4816
|
+
S = m, r(5, S);
|
|
4789
4817
|
});
|
|
4790
4818
|
}
|
|
4791
|
-
function
|
|
4792
|
-
Te[
|
|
4793
|
-
b =
|
|
4819
|
+
function Ar(m) {
|
|
4820
|
+
Te[m ? "unshift" : "push"](() => {
|
|
4821
|
+
b = m, r(4, b);
|
|
4794
4822
|
});
|
|
4795
4823
|
}
|
|
4796
|
-
return e.$$set = (
|
|
4797
|
-
"clientstyling" in
|
|
4824
|
+
return e.$$set = (m) => {
|
|
4825
|
+
"clientstyling" in m && r(0, i = m.clientstyling), "clientstylingurl" in m && r(1, o = m.clientstylingurl), "mbsource" in m && r(2, s = m.mbsource), "translationurl" in m && r(17, a = m.translationurl), "lang" in m && r(18, l = m.lang);
|
|
4798
4826
|
}, e.$$.update = () => {
|
|
4799
4827
|
e.$$.dirty[0] & /*tournamentdetails*/
|
|
4800
|
-
8 && c &&
|
|
4801
|
-
262144 && l &&
|
|
4802
|
-
131072 && a &&
|
|
4803
|
-
17 && i && b &&
|
|
4804
|
-
18 && o && b &&
|
|
4805
|
-
20 && s && b &&
|
|
4806
|
-
32 &&
|
|
4828
|
+
8 && c && ft(), e.$$.dirty[0] & /*lang*/
|
|
4829
|
+
262144 && l && w(), e.$$.dirty[0] & /*translationurl*/
|
|
4830
|
+
131072 && a && B(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4831
|
+
17 && i && b && en(b, i), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4832
|
+
18 && o && b && tn(b, o), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4833
|
+
20 && s && b && rn(b, `${s}.Style`, v), e.$$.dirty[0] & /*gameListEle*/
|
|
4834
|
+
32 && S && Br(S);
|
|
4807
4835
|
}, [
|
|
4808
4836
|
i,
|
|
4809
4837
|
o,
|
|
4810
4838
|
s,
|
|
4811
4839
|
c,
|
|
4812
4840
|
b,
|
|
4813
|
-
|
|
4841
|
+
S,
|
|
4814
4842
|
u,
|
|
4815
4843
|
h,
|
|
4816
4844
|
f,
|
|
4817
|
-
|
|
4818
|
-
M,
|
|
4845
|
+
p,
|
|
4819
4846
|
V,
|
|
4820
|
-
|
|
4847
|
+
Z,
|
|
4848
|
+
O,
|
|
4821
4849
|
n,
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4850
|
+
y,
|
|
4851
|
+
F,
|
|
4852
|
+
L,
|
|
4825
4853
|
a,
|
|
4826
4854
|
l,
|
|
4827
|
-
|
|
4828
|
-
|
|
4855
|
+
Pr,
|
|
4856
|
+
Ar
|
|
4829
4857
|
];
|
|
4830
4858
|
}
|
|
4831
|
-
class
|
|
4859
|
+
class _o extends qr {
|
|
4832
4860
|
constructor(t) {
|
|
4833
|
-
super(),
|
|
4861
|
+
super(), Jr(
|
|
4834
4862
|
this,
|
|
4835
4863
|
t,
|
|
4836
|
-
|
|
4837
|
-
|
|
4838
|
-
|
|
4864
|
+
yo,
|
|
4865
|
+
vo,
|
|
4866
|
+
Wt,
|
|
4839
4867
|
{
|
|
4840
4868
|
clientstyling: 0,
|
|
4841
4869
|
clientstylingurl: 1,
|
|
@@ -4843,7 +4871,7 @@ class bo extends Jr {
|
|
|
4843
4871
|
translationurl: 17,
|
|
4844
4872
|
lang: 18
|
|
4845
4873
|
},
|
|
4846
|
-
|
|
4874
|
+
co,
|
|
4847
4875
|
[-1, -1]
|
|
4848
4876
|
);
|
|
4849
4877
|
}
|
|
@@ -4851,34 +4879,34 @@ class bo extends Jr {
|
|
|
4851
4879
|
return this.$$.ctx[0];
|
|
4852
4880
|
}
|
|
4853
4881
|
set clientstyling(t) {
|
|
4854
|
-
this.$$set({ clientstyling: t }),
|
|
4882
|
+
this.$$set({ clientstyling: t }), J();
|
|
4855
4883
|
}
|
|
4856
4884
|
get clientstylingurl() {
|
|
4857
4885
|
return this.$$.ctx[1];
|
|
4858
4886
|
}
|
|
4859
4887
|
set clientstylingurl(t) {
|
|
4860
|
-
this.$$set({ clientstylingurl: t }),
|
|
4888
|
+
this.$$set({ clientstylingurl: t }), J();
|
|
4861
4889
|
}
|
|
4862
4890
|
get mbsource() {
|
|
4863
4891
|
return this.$$.ctx[2];
|
|
4864
4892
|
}
|
|
4865
4893
|
set mbsource(t) {
|
|
4866
|
-
this.$$set({ mbsource: t }),
|
|
4894
|
+
this.$$set({ mbsource: t }), J();
|
|
4867
4895
|
}
|
|
4868
4896
|
get translationurl() {
|
|
4869
4897
|
return this.$$.ctx[17];
|
|
4870
4898
|
}
|
|
4871
4899
|
set translationurl(t) {
|
|
4872
|
-
this.$$set({ translationurl: t }),
|
|
4900
|
+
this.$$set({ translationurl: t }), J();
|
|
4873
4901
|
}
|
|
4874
4902
|
get lang() {
|
|
4875
4903
|
return this.$$.ctx[18];
|
|
4876
4904
|
}
|
|
4877
4905
|
set lang(t) {
|
|
4878
|
-
this.$$set({ lang: t }),
|
|
4906
|
+
this.$$set({ lang: t }), J();
|
|
4879
4907
|
}
|
|
4880
4908
|
}
|
|
4881
|
-
|
|
4909
|
+
Yr(_o, { clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {}, lang: {} }, [], [], !0);
|
|
4882
4910
|
export {
|
|
4883
|
-
|
|
4911
|
+
_o as C
|
|
4884
4912
|
};
|