@everymatrix/casino-winners 1.94.2 → 1.94.4
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/{CasinoWinners-B3860msq.js → CasinoWinners-By0aVAWJ.js} +1151 -1133
- package/components/CasinoWinners-Cbt1OuCR.cjs +18 -0
- package/components/{CasinoWinners-CCRNCmKz.js → CasinoWinners-bp6470MA.js} +1080 -1062
- package/components/{GeneralAnimationLoading-BK0oUMeZ.cjs → GeneralAnimationLoading-8mALBtMf.cjs} +1 -1
- package/components/{GeneralAnimationLoading-79ftLjDN.js → GeneralAnimationLoading-Bys4Xygv.js} +1 -1
- package/components/{GeneralAnimationLoading-Bam6JmFJ.js → GeneralAnimationLoading-CrcKn1I0.js} +1 -1
- package/es2015/casino-winners.cjs +1 -1
- package/es2015/casino-winners.js +1 -1
- package/esnext/casino-winners.js +1 -1
- package/package.json +1 -1
- package/components/CasinoWinners-4yID918P.cjs +0 -18
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
function
|
|
1
|
+
function V() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function _r(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function kt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function me(e) {
|
|
10
|
+
e.forEach(_r);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function At(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Er(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
return e === t ? !0 : (
|
|
18
|
+
let Me;
|
|
19
|
+
function $t(e, t) {
|
|
20
|
+
return e === t ? !0 : (Me || (Me = document.createElement("a")), Me.href = t, e === Me.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Tn(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function xr(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
29
|
-
return
|
|
29
|
+
return V;
|
|
30
30
|
}
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Bn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(xr(t, r));
|
|
36
36
|
}
|
|
37
37
|
function w(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function Hn(e, t, r) {
|
|
41
|
+
const n = An(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = A("style");
|
|
44
|
+
i.id = t, i.textContent = r, Cn(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function An(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,7 +54,7 @@ function Bn(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
57
|
+
function Cn(e, t) {
|
|
58
58
|
return w(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
@@ -67,43 +67,43 @@ function j(e, t, r) {
|
|
|
67
67
|
function D(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function wr(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function A(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function Ne(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function ee(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
83
|
+
function z() {
|
|
84
|
+
return ee(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function Ct() {
|
|
87
|
+
return ee("");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Se(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function d(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function X(e, t, r) {
|
|
96
96
|
const n = t.toLowerCase();
|
|
97
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
97
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : d(e, t, r);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function On(e) {
|
|
100
100
|
return Array.from(e.childNodes);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function ae(e, t) {
|
|
103
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
104
104
|
t);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Pn(e) {
|
|
107
107
|
const t = {};
|
|
108
108
|
return e.childNodes.forEach(
|
|
109
109
|
/** @param {Element} node */
|
|
@@ -112,101 +112,101 @@ function Cn(e) {
|
|
|
112
112
|
}
|
|
113
113
|
), t;
|
|
114
114
|
}
|
|
115
|
-
let
|
|
116
|
-
function
|
|
117
|
-
|
|
115
|
+
let Te;
|
|
116
|
+
function xe(e) {
|
|
117
|
+
Te = e;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
if (!
|
|
119
|
+
function Mn() {
|
|
120
|
+
if (!Te)
|
|
121
121
|
throw new Error("Function called outside component initialization");
|
|
122
|
-
return
|
|
122
|
+
return Te;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
|
|
124
|
+
function Nn(e) {
|
|
125
|
+
Mn().$$.on_mount.push(e);
|
|
126
126
|
}
|
|
127
|
-
const
|
|
128
|
-
let
|
|
129
|
-
const
|
|
130
|
-
let
|
|
131
|
-
function
|
|
132
|
-
|
|
127
|
+
const oe = [], we = [];
|
|
128
|
+
let ue = [];
|
|
129
|
+
const Vt = [], Sr = /* @__PURE__ */ Promise.resolve();
|
|
130
|
+
let ct = !1;
|
|
131
|
+
function Tr() {
|
|
132
|
+
ct || (ct = !0, Sr.then(S));
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
return
|
|
134
|
+
function Xt() {
|
|
135
|
+
return Tr(), Sr;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
|
|
137
|
+
function ft(e) {
|
|
138
|
+
ue.push(e);
|
|
139
139
|
}
|
|
140
|
-
const
|
|
141
|
-
let
|
|
142
|
-
function
|
|
143
|
-
if (
|
|
140
|
+
const nt = /* @__PURE__ */ new Set();
|
|
141
|
+
let ne = 0;
|
|
142
|
+
function S() {
|
|
143
|
+
if (ne !== 0)
|
|
144
144
|
return;
|
|
145
|
-
const e =
|
|
145
|
+
const e = Te;
|
|
146
146
|
do {
|
|
147
147
|
try {
|
|
148
|
-
for (;
|
|
149
|
-
const t =
|
|
150
|
-
|
|
148
|
+
for (; ne < oe.length; ) {
|
|
149
|
+
const t = oe[ne];
|
|
150
|
+
ne++, xe(t), In(t.$$);
|
|
151
151
|
}
|
|
152
152
|
} catch (t) {
|
|
153
|
-
throw
|
|
153
|
+
throw oe.length = 0, ne = 0, t;
|
|
154
154
|
}
|
|
155
|
-
for (
|
|
156
|
-
|
|
157
|
-
for (let t = 0; t <
|
|
158
|
-
const r =
|
|
159
|
-
|
|
155
|
+
for (xe(null), oe.length = 0, ne = 0; we.length; )
|
|
156
|
+
we.pop()();
|
|
157
|
+
for (let t = 0; t < ue.length; t += 1) {
|
|
158
|
+
const r = ue[t];
|
|
159
|
+
nt.has(r) || (nt.add(r), r());
|
|
160
160
|
}
|
|
161
|
-
|
|
162
|
-
} while (
|
|
163
|
-
for (;
|
|
164
|
-
|
|
165
|
-
|
|
161
|
+
ue.length = 0;
|
|
162
|
+
} while (oe.length);
|
|
163
|
+
for (; Vt.length; )
|
|
164
|
+
Vt.pop()();
|
|
165
|
+
ct = !1, nt.clear(), xe(e);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function In(e) {
|
|
168
168
|
if (e.fragment !== null) {
|
|
169
|
-
e.update(),
|
|
169
|
+
e.update(), me(e.before_update);
|
|
170
170
|
const t = e.dirty;
|
|
171
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
171
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ft);
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Ln(e) {
|
|
175
175
|
const t = [], r = [];
|
|
176
|
-
|
|
176
|
+
ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
|
|
177
177
|
}
|
|
178
|
-
const
|
|
179
|
-
function
|
|
180
|
-
e && e.i && (
|
|
178
|
+
const Rn = /* @__PURE__ */ new Set();
|
|
179
|
+
function Wn(e, t) {
|
|
180
|
+
e && e.i && (Rn.delete(e), e.i(t));
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Ge(e) {
|
|
183
183
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Un(e, t, r) {
|
|
186
186
|
const { fragment: n, after_update: i } = e.$$;
|
|
187
|
-
n && n.m(t, r),
|
|
188
|
-
const o = e.$$.on_mount.map(
|
|
189
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
190
|
-
}), i.forEach(
|
|
187
|
+
n && n.m(t, r), ft(() => {
|
|
188
|
+
const o = e.$$.on_mount.map(_r).filter(At);
|
|
189
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : me(o), e.$$.on_mount = [];
|
|
190
|
+
}), i.forEach(ft);
|
|
191
191
|
}
|
|
192
|
-
function
|
|
192
|
+
function Fn(e, t) {
|
|
193
193
|
const r = e.$$;
|
|
194
|
-
r.fragment !== null && (
|
|
194
|
+
r.fragment !== null && (Ln(r.after_update), me(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
197
|
-
e.$$.dirty[0] === -1 && (
|
|
196
|
+
function Gn(e, t) {
|
|
197
|
+
e.$$.dirty[0] === -1 && (oe.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
198
198
|
}
|
|
199
|
-
function
|
|
200
|
-
const u =
|
|
201
|
-
|
|
199
|
+
function Dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
200
|
+
const u = Te;
|
|
201
|
+
xe(e);
|
|
202
202
|
const l = e.$$ = {
|
|
203
203
|
fragment: null,
|
|
204
204
|
ctx: [],
|
|
205
205
|
// state
|
|
206
206
|
props: o,
|
|
207
|
-
update:
|
|
207
|
+
update: V,
|
|
208
208
|
not_equal: i,
|
|
209
|
-
bound:
|
|
209
|
+
bound: kt(),
|
|
210
210
|
// lifecycle
|
|
211
211
|
on_mount: [],
|
|
212
212
|
on_destroy: [],
|
|
@@ -215,28 +215,28 @@ function Fn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
215
215
|
after_update: [],
|
|
216
216
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
|
217
217
|
// everything else
|
|
218
|
-
callbacks:
|
|
218
|
+
callbacks: kt(),
|
|
219
219
|
dirty: a,
|
|
220
220
|
skip_bound: !1,
|
|
221
221
|
root: t.target || u.$$.root
|
|
222
222
|
};
|
|
223
223
|
s && s(l.root);
|
|
224
224
|
let c = !1;
|
|
225
|
-
if (l.ctx = r ? r(e, t.props || {}, (
|
|
225
|
+
if (l.ctx = r ? r(e, t.props || {}, (m, f, ...p) => {
|
|
226
226
|
const g = p.length ? p[0] : f;
|
|
227
|
-
return l.ctx && i(l.ctx[
|
|
228
|
-
}) : [], l.update(), c = !0,
|
|
227
|
+
return l.ctx && i(l.ctx[m], l.ctx[m] = g) && (!l.skip_bound && l.bound[m] && l.bound[m](g), c && Gn(e, m)), f;
|
|
228
|
+
}) : [], l.update(), c = !0, me(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
229
229
|
if (t.hydrate) {
|
|
230
|
-
const
|
|
231
|
-
l.fragment && l.fragment.l(
|
|
230
|
+
const m = On(t.target);
|
|
231
|
+
l.fragment && l.fragment.l(m), m.forEach(D);
|
|
232
232
|
} else
|
|
233
233
|
l.fragment && l.fragment.c();
|
|
234
|
-
t.intro &&
|
|
234
|
+
t.intro && Wn(e.$$.fragment), Un(e, t.target, t.anchor), S();
|
|
235
235
|
}
|
|
236
|
-
|
|
236
|
+
xe(u);
|
|
237
237
|
}
|
|
238
|
-
let
|
|
239
|
-
typeof HTMLElement == "function" && (
|
|
238
|
+
let Br;
|
|
239
|
+
typeof HTMLElement == "function" && (Br = class extends HTMLElement {
|
|
240
240
|
/** The Svelte component constructor */
|
|
241
241
|
$$ctor;
|
|
242
242
|
/** Slots */
|
|
@@ -278,7 +278,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
278
278
|
let o;
|
|
279
279
|
return {
|
|
280
280
|
c: function() {
|
|
281
|
-
o =
|
|
281
|
+
o = A("slot"), i !== "default" && d(o, "name", i);
|
|
282
282
|
},
|
|
283
283
|
/**
|
|
284
284
|
* @param {HTMLElement} target
|
|
@@ -295,12 +295,12 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
295
295
|
};
|
|
296
296
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
297
297
|
return;
|
|
298
|
-
const t = {}, r =
|
|
298
|
+
const t = {}, r = Pn(this);
|
|
299
299
|
for (const i of this.$$s)
|
|
300
300
|
i in r && (t[i] = [e(i)]);
|
|
301
301
|
for (const i of this.attributes) {
|
|
302
302
|
const o = this.$$g_p(i.name);
|
|
303
|
-
o in this.$$d || (this.$$d[o] =
|
|
303
|
+
o in this.$$d || (this.$$d[o] = Re(o, i.value, this.$$p_d, "toProp"));
|
|
304
304
|
}
|
|
305
305
|
for (const i in this.$$p_d)
|
|
306
306
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -318,7 +318,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
318
318
|
this.$$r = !0;
|
|
319
319
|
for (const i in this.$$p_d)
|
|
320
320
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
321
|
-
const o =
|
|
321
|
+
const o = Re(
|
|
322
322
|
i,
|
|
323
323
|
this.$$d[i],
|
|
324
324
|
this.$$p_d,
|
|
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
340
340
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
341
341
|
// and setting attributes through setAttribute etc, this is helpful
|
|
342
342
|
attributeChangedCallback(e, t, r) {
|
|
343
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
343
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = Re(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
344
344
|
}
|
|
345
345
|
disconnectedCallback() {
|
|
346
346
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -353,7 +353,7 @@ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
|
|
|
353
353
|
) || e;
|
|
354
354
|
}
|
|
355
355
|
});
|
|
356
|
-
function
|
|
356
|
+
function Re(e, t, r, n) {
|
|
357
357
|
const i = r[e]?.type;
|
|
358
358
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
359
359
|
return t;
|
|
@@ -382,8 +382,8 @@ function Ne(e, t, r, n) {
|
|
|
382
382
|
return t;
|
|
383
383
|
}
|
|
384
384
|
}
|
|
385
|
-
function
|
|
386
|
-
let s = class extends
|
|
385
|
+
function jn(e, t, r, n, i, o) {
|
|
386
|
+
let s = class extends Br {
|
|
387
387
|
constructor() {
|
|
388
388
|
super(e, r, i), this.$$p_d = t;
|
|
389
389
|
}
|
|
@@ -399,7 +399,7 @@ function Gn(e, t, r, n, i, o) {
|
|
|
399
399
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
400
400
|
},
|
|
401
401
|
set(u) {
|
|
402
|
-
u =
|
|
402
|
+
u = Re(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
|
|
403
403
|
}
|
|
404
404
|
});
|
|
405
405
|
}), n.forEach((a) => {
|
|
@@ -411,7 +411,7 @@ function Gn(e, t, r, n, i, o) {
|
|
|
411
411
|
}), e.element = /** @type {any} */
|
|
412
412
|
s, s;
|
|
413
413
|
}
|
|
414
|
-
class
|
|
414
|
+
class kn {
|
|
415
415
|
/**
|
|
416
416
|
* ### PRIVATE API
|
|
417
417
|
*
|
|
@@ -430,7 +430,7 @@ class Dn {
|
|
|
430
430
|
$$set = void 0;
|
|
431
431
|
/** @returns {void} */
|
|
432
432
|
$destroy() {
|
|
433
|
-
|
|
433
|
+
Fn(this, 1), this.$destroy = V;
|
|
434
434
|
}
|
|
435
435
|
/**
|
|
436
436
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -439,8 +439,8 @@ class Dn {
|
|
|
439
439
|
* @returns {() => void}
|
|
440
440
|
*/
|
|
441
441
|
$on(t, r) {
|
|
442
|
-
if (!
|
|
443
|
-
return
|
|
442
|
+
if (!At(r))
|
|
443
|
+
return V;
|
|
444
444
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
445
445
|
return n.push(r), () => {
|
|
446
446
|
const i = n.indexOf(r);
|
|
@@ -452,38 +452,38 @@ class Dn {
|
|
|
452
452
|
* @returns {void}
|
|
453
453
|
*/
|
|
454
454
|
$set(t) {
|
|
455
|
-
this.$$set && !
|
|
455
|
+
this.$$set && !Tn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
|
-
const
|
|
459
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
460
|
-
const
|
|
461
|
-
function
|
|
458
|
+
const $n = "4";
|
|
459
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($n);
|
|
460
|
+
const ie = [];
|
|
461
|
+
function Vn(e, t) {
|
|
462
462
|
return {
|
|
463
|
-
subscribe:
|
|
463
|
+
subscribe: $e(e, t).subscribe
|
|
464
464
|
};
|
|
465
465
|
}
|
|
466
|
-
function
|
|
466
|
+
function $e(e, t = V) {
|
|
467
467
|
let r;
|
|
468
468
|
const n = /* @__PURE__ */ new Set();
|
|
469
469
|
function i(a) {
|
|
470
|
-
if (
|
|
471
|
-
const u = !
|
|
470
|
+
if (Er(e, a) && (e = a, r)) {
|
|
471
|
+
const u = !ie.length;
|
|
472
472
|
for (const l of n)
|
|
473
|
-
l[1](),
|
|
473
|
+
l[1](), ie.push(l, e);
|
|
474
474
|
if (u) {
|
|
475
|
-
for (let l = 0; l <
|
|
476
|
-
|
|
477
|
-
|
|
475
|
+
for (let l = 0; l < ie.length; l += 2)
|
|
476
|
+
ie[l][0](ie[l + 1]);
|
|
477
|
+
ie.length = 0;
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
480
|
}
|
|
481
481
|
function o(a) {
|
|
482
482
|
i(a(e));
|
|
483
483
|
}
|
|
484
|
-
function s(a, u =
|
|
484
|
+
function s(a, u = V) {
|
|
485
485
|
const l = [a, u];
|
|
486
|
-
return n.add(l), n.size === 1 && (r = t(i, o) ||
|
|
486
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || V), a(e), () => {
|
|
487
487
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
|
488
488
|
};
|
|
489
489
|
}
|
|
@@ -494,21 +494,21 @@ function de(e, t, r) {
|
|
|
494
494
|
if (!i.every(Boolean))
|
|
495
495
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
496
496
|
const o = t.length < 2;
|
|
497
|
-
return
|
|
497
|
+
return Vn(r, (s, a) => {
|
|
498
498
|
let u = !1;
|
|
499
499
|
const l = [];
|
|
500
|
-
let c = 0,
|
|
500
|
+
let c = 0, m = V;
|
|
501
501
|
const f = () => {
|
|
502
502
|
if (c)
|
|
503
503
|
return;
|
|
504
|
-
|
|
504
|
+
m();
|
|
505
505
|
const g = t(n ? l[0] : l, s, a);
|
|
506
|
-
o ? s(g) :
|
|
506
|
+
o ? s(g) : m = At(g) ? g : V;
|
|
507
507
|
}, p = i.map(
|
|
508
|
-
(g, b) =>
|
|
508
|
+
(g, b) => xr(
|
|
509
509
|
g,
|
|
510
|
-
(
|
|
511
|
-
l[b] =
|
|
510
|
+
(C) => {
|
|
511
|
+
l[b] = C, c &= ~(1 << b), u && f();
|
|
512
512
|
},
|
|
513
513
|
() => {
|
|
514
514
|
c |= 1 << b;
|
|
@@ -516,112 +516,112 @@ function de(e, t, r) {
|
|
|
516
516
|
)
|
|
517
517
|
);
|
|
518
518
|
return u = !0, f(), function() {
|
|
519
|
-
|
|
519
|
+
me(p), m(), u = !1;
|
|
520
520
|
};
|
|
521
521
|
});
|
|
522
522
|
}
|
|
523
|
-
function
|
|
523
|
+
function Xn(e) {
|
|
524
524
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
525
525
|
}
|
|
526
|
-
var
|
|
527
|
-
return
|
|
526
|
+
var zn = function(t) {
|
|
527
|
+
return Zn(t) && !Qn(t);
|
|
528
528
|
};
|
|
529
|
-
function
|
|
529
|
+
function Zn(e) {
|
|
530
530
|
return !!e && typeof e == "object";
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function Qn(e) {
|
|
533
533
|
var t = Object.prototype.toString.call(e);
|
|
534
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
534
|
+
return t === "[object RegExp]" || t === "[object Date]" || qn(e);
|
|
535
535
|
}
|
|
536
|
-
var
|
|
537
|
-
function
|
|
538
|
-
return e.$$typeof ===
|
|
536
|
+
var Jn = typeof Symbol == "function" && Symbol.for, Yn = Jn ? Symbol.for("react.element") : 60103;
|
|
537
|
+
function qn(e) {
|
|
538
|
+
return e.$$typeof === Yn;
|
|
539
539
|
}
|
|
540
|
-
function
|
|
540
|
+
function Kn(e) {
|
|
541
541
|
return Array.isArray(e) ? [] : {};
|
|
542
542
|
}
|
|
543
|
-
function
|
|
544
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
543
|
+
function Be(e, t) {
|
|
544
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? le(Kn(e), e, t) : e;
|
|
545
545
|
}
|
|
546
|
-
function
|
|
546
|
+
function ei(e, t, r) {
|
|
547
547
|
return e.concat(t).map(function(n) {
|
|
548
|
-
return
|
|
548
|
+
return Be(n, r);
|
|
549
549
|
});
|
|
550
550
|
}
|
|
551
|
-
function
|
|
551
|
+
function ti(e, t) {
|
|
552
552
|
if (!t.customMerge)
|
|
553
|
-
return
|
|
553
|
+
return le;
|
|
554
554
|
var r = t.customMerge(e);
|
|
555
|
-
return typeof r == "function" ? r :
|
|
555
|
+
return typeof r == "function" ? r : le;
|
|
556
556
|
}
|
|
557
|
-
function
|
|
557
|
+
function ri(e) {
|
|
558
558
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
559
559
|
return Object.propertyIsEnumerable.call(e, t);
|
|
560
560
|
}) : [];
|
|
561
561
|
}
|
|
562
|
-
function
|
|
563
|
-
return Object.keys(e).concat(
|
|
562
|
+
function zt(e) {
|
|
563
|
+
return Object.keys(e).concat(ri(e));
|
|
564
564
|
}
|
|
565
|
-
function
|
|
565
|
+
function Hr(e, t) {
|
|
566
566
|
try {
|
|
567
567
|
return t in e;
|
|
568
568
|
} catch {
|
|
569
569
|
return !1;
|
|
570
570
|
}
|
|
571
571
|
}
|
|
572
|
-
function
|
|
573
|
-
return
|
|
572
|
+
function ni(e, t) {
|
|
573
|
+
return Hr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
574
574
|
}
|
|
575
|
-
function
|
|
575
|
+
function ii(e, t, r) {
|
|
576
576
|
var n = {};
|
|
577
|
-
return r.isMergeableObject(e) &&
|
|
578
|
-
n[i] =
|
|
579
|
-
}),
|
|
580
|
-
|
|
577
|
+
return r.isMergeableObject(e) && zt(e).forEach(function(i) {
|
|
578
|
+
n[i] = Be(e[i], r);
|
|
579
|
+
}), zt(t).forEach(function(i) {
|
|
580
|
+
ni(e, i) || (Hr(e, i) && r.isMergeableObject(t[i]) ? n[i] = ti(i, r)(e[i], t[i], r) : n[i] = Be(t[i], r));
|
|
581
581
|
}), n;
|
|
582
582
|
}
|
|
583
|
-
function
|
|
584
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
583
|
+
function le(e, t, r) {
|
|
584
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || ei, r.isMergeableObject = r.isMergeableObject || zn, r.cloneUnlessOtherwiseSpecified = Be;
|
|
585
585
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
586
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
586
|
+
return o ? n ? r.arrayMerge(e, t, r) : ii(e, t, r) : Be(t, r);
|
|
587
587
|
}
|
|
588
|
-
|
|
588
|
+
le.all = function(t, r) {
|
|
589
589
|
if (!Array.isArray(t))
|
|
590
590
|
throw new Error("first argument should be an array");
|
|
591
591
|
return t.reduce(function(n, i) {
|
|
592
|
-
return
|
|
592
|
+
return le(n, i, r);
|
|
593
593
|
}, {});
|
|
594
594
|
};
|
|
595
|
-
var
|
|
596
|
-
const
|
|
597
|
-
var
|
|
598
|
-
return
|
|
595
|
+
var oi = le, si = oi;
|
|
596
|
+
const ai = /* @__PURE__ */ Xn(si);
|
|
597
|
+
var mt = function(e, t) {
|
|
598
|
+
return mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
599
599
|
r.__proto__ = n;
|
|
600
600
|
} || function(r, n) {
|
|
601
601
|
for (var i in n)
|
|
602
602
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
603
|
-
},
|
|
603
|
+
}, mt(e, t);
|
|
604
604
|
};
|
|
605
|
-
function
|
|
605
|
+
function Ve(e, t) {
|
|
606
606
|
if (typeof t != "function" && t !== null)
|
|
607
607
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
608
|
-
|
|
608
|
+
mt(e, t);
|
|
609
609
|
function r() {
|
|
610
610
|
this.constructor = e;
|
|
611
611
|
}
|
|
612
612
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
613
613
|
}
|
|
614
|
-
var
|
|
615
|
-
return
|
|
614
|
+
var Z = function() {
|
|
615
|
+
return Z = Object.assign || function(t) {
|
|
616
616
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
617
617
|
r = arguments[n];
|
|
618
618
|
for (var o in r)
|
|
619
619
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
620
620
|
}
|
|
621
621
|
return t;
|
|
622
|
-
},
|
|
622
|
+
}, Z.apply(this, arguments);
|
|
623
623
|
};
|
|
624
|
-
function
|
|
624
|
+
function ui(e, t) {
|
|
625
625
|
var r = {};
|
|
626
626
|
for (var n in e)
|
|
627
627
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -630,43 +630,43 @@ function si(e, t) {
|
|
|
630
630
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
631
631
|
return r;
|
|
632
632
|
}
|
|
633
|
-
function
|
|
633
|
+
function it(e, t, r) {
|
|
634
634
|
if (r || arguments.length === 2)
|
|
635
635
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
636
636
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
637
637
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
638
638
|
}
|
|
639
|
-
function
|
|
640
|
-
var r = t && t.cache ? t.cache :
|
|
639
|
+
function ot(e, t) {
|
|
640
|
+
var r = t && t.cache ? t.cache : pi, n = t && t.serializer ? t.serializer : mi, i = t && t.strategy ? t.strategy : ci;
|
|
641
641
|
return i(e, {
|
|
642
642
|
cache: r,
|
|
643
643
|
serializer: n
|
|
644
644
|
});
|
|
645
645
|
}
|
|
646
|
-
function
|
|
646
|
+
function li(e) {
|
|
647
647
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
648
648
|
}
|
|
649
|
-
function
|
|
650
|
-
var i =
|
|
649
|
+
function hi(e, t, r, n) {
|
|
650
|
+
var i = li(n) ? n : r(n), o = t.get(i);
|
|
651
651
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
652
652
|
}
|
|
653
|
-
function
|
|
653
|
+
function Ar(e, t, r) {
|
|
654
654
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
655
655
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
656
656
|
}
|
|
657
|
-
function
|
|
657
|
+
function Cr(e, t, r, n, i) {
|
|
658
658
|
return r.bind(t, e, n, i);
|
|
659
659
|
}
|
|
660
|
-
function
|
|
661
|
-
var r = e.length === 1 ?
|
|
662
|
-
return
|
|
660
|
+
function ci(e, t) {
|
|
661
|
+
var r = e.length === 1 ? hi : Ar;
|
|
662
|
+
return Cr(e, this, r, t.cache.create(), t.serializer);
|
|
663
663
|
}
|
|
664
|
-
function
|
|
665
|
-
return
|
|
664
|
+
function fi(e, t) {
|
|
665
|
+
return Cr(e, this, Ar, t.cache.create(), t.serializer);
|
|
666
666
|
}
|
|
667
|
-
var
|
|
667
|
+
var mi = function() {
|
|
668
668
|
return JSON.stringify(arguments);
|
|
669
|
-
},
|
|
669
|
+
}, di = (
|
|
670
670
|
/** @class */
|
|
671
671
|
function() {
|
|
672
672
|
function e() {
|
|
@@ -678,71 +678,71 @@ var ci = function() {
|
|
|
678
678
|
this.cache[t] = r;
|
|
679
679
|
}, e;
|
|
680
680
|
}()
|
|
681
|
-
),
|
|
681
|
+
), pi = {
|
|
682
682
|
create: function() {
|
|
683
|
-
return new
|
|
683
|
+
return new di();
|
|
684
684
|
}
|
|
685
|
-
},
|
|
686
|
-
variadic:
|
|
687
|
-
},
|
|
688
|
-
return
|
|
685
|
+
}, st = {
|
|
686
|
+
variadic: fi
|
|
687
|
+
}, De = function() {
|
|
688
|
+
return De = Object.assign || function(t) {
|
|
689
689
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
690
690
|
r = arguments[n];
|
|
691
691
|
for (var o in r)
|
|
692
692
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
693
693
|
}
|
|
694
694
|
return t;
|
|
695
|
-
},
|
|
695
|
+
}, De.apply(this, arguments);
|
|
696
696
|
};
|
|
697
|
-
var
|
|
697
|
+
var v;
|
|
698
698
|
(function(e) {
|
|
699
699
|
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";
|
|
700
|
-
})(
|
|
701
|
-
var
|
|
700
|
+
})(v || (v = {}));
|
|
701
|
+
var B;
|
|
702
702
|
(function(e) {
|
|
703
703
|
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";
|
|
704
|
-
})(
|
|
705
|
-
var
|
|
704
|
+
})(B || (B = {}));
|
|
705
|
+
var he;
|
|
706
706
|
(function(e) {
|
|
707
707
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
708
|
-
})(
|
|
709
|
-
function
|
|
710
|
-
return e.type ===
|
|
711
|
-
}
|
|
712
|
-
function mi(e) {
|
|
713
|
-
return e.type === H.argument;
|
|
714
|
-
}
|
|
715
|
-
function Ar(e) {
|
|
716
|
-
return e.type === H.number;
|
|
708
|
+
})(he || (he = {}));
|
|
709
|
+
function Zt(e) {
|
|
710
|
+
return e.type === B.literal;
|
|
717
711
|
}
|
|
718
|
-
function
|
|
719
|
-
return e.type ===
|
|
712
|
+
function bi(e) {
|
|
713
|
+
return e.type === B.argument;
|
|
720
714
|
}
|
|
721
715
|
function Or(e) {
|
|
722
|
-
return e.type ===
|
|
716
|
+
return e.type === B.number;
|
|
723
717
|
}
|
|
724
718
|
function Pr(e) {
|
|
725
|
-
return e.type ===
|
|
719
|
+
return e.type === B.date;
|
|
726
720
|
}
|
|
727
721
|
function Mr(e) {
|
|
728
|
-
return e.type ===
|
|
729
|
-
}
|
|
730
|
-
function pi(e) {
|
|
731
|
-
return e.type === H.pound;
|
|
722
|
+
return e.type === B.time;
|
|
732
723
|
}
|
|
733
724
|
function Nr(e) {
|
|
734
|
-
return e.type ===
|
|
725
|
+
return e.type === B.select;
|
|
735
726
|
}
|
|
736
727
|
function Ir(e) {
|
|
737
|
-
return
|
|
738
|
-
}
|
|
739
|
-
function ft(e) {
|
|
740
|
-
return !!(e && typeof e == "object" && e.type === le.dateTime);
|
|
728
|
+
return e.type === B.plural;
|
|
741
729
|
}
|
|
742
|
-
var Lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, bi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
|
|
743
730
|
function gi(e) {
|
|
731
|
+
return e.type === B.pound;
|
|
732
|
+
}
|
|
733
|
+
function Lr(e) {
|
|
734
|
+
return e.type === B.tag;
|
|
735
|
+
}
|
|
736
|
+
function Rr(e) {
|
|
737
|
+
return !!(e && typeof e == "object" && e.type === he.number);
|
|
738
|
+
}
|
|
739
|
+
function dt(e) {
|
|
740
|
+
return !!(e && typeof e == "object" && e.type === he.dateTime);
|
|
741
|
+
}
|
|
742
|
+
var Wr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, yi = /(?:[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;
|
|
743
|
+
function vi(e) {
|
|
744
744
|
var t = {};
|
|
745
|
-
return e.replace(
|
|
745
|
+
return e.replace(yi, function(r) {
|
|
746
746
|
var n = r.length;
|
|
747
747
|
switch (r[0]) {
|
|
748
748
|
case "G":
|
|
@@ -831,46 +831,46 @@ function gi(e) {
|
|
|
831
831
|
return "";
|
|
832
832
|
}), t;
|
|
833
833
|
}
|
|
834
|
-
var
|
|
835
|
-
return
|
|
834
|
+
var H = function() {
|
|
835
|
+
return H = Object.assign || function(t) {
|
|
836
836
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
837
837
|
r = arguments[n];
|
|
838
838
|
for (var o in r)
|
|
839
839
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
840
840
|
}
|
|
841
841
|
return t;
|
|
842
|
-
},
|
|
842
|
+
}, H.apply(this, arguments);
|
|
843
843
|
};
|
|
844
|
-
var
|
|
845
|
-
function
|
|
844
|
+
var _i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
845
|
+
function Ei(e) {
|
|
846
846
|
if (e.length === 0)
|
|
847
847
|
throw new Error("Number skeleton cannot be empty");
|
|
848
|
-
for (var t = e.split(
|
|
848
|
+
for (var t = e.split(_i).filter(function(f) {
|
|
849
849
|
return f.length > 0;
|
|
850
850
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
851
851
|
var o = i[n], s = o.split("/");
|
|
852
852
|
if (s.length === 0)
|
|
853
853
|
throw new Error("Invalid number skeleton");
|
|
854
854
|
for (var a = s[0], u = s.slice(1), l = 0, c = u; l < c.length; l++) {
|
|
855
|
-
var
|
|
856
|
-
if (
|
|
855
|
+
var m = c[l];
|
|
856
|
+
if (m.length === 0)
|
|
857
857
|
throw new Error("Invalid number skeleton");
|
|
858
858
|
}
|
|
859
859
|
r.push({ stem: a, options: u });
|
|
860
860
|
}
|
|
861
861
|
return r;
|
|
862
862
|
}
|
|
863
|
-
function
|
|
863
|
+
function xi(e) {
|
|
864
864
|
return e.replace(/^(.*?)-/, "");
|
|
865
865
|
}
|
|
866
|
-
var
|
|
867
|
-
function
|
|
866
|
+
var Qt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ur = /^(@+)?(\+|#+)?[rs]?$/g, wi = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
|
|
867
|
+
function Jt(e) {
|
|
868
868
|
var t = {};
|
|
869
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
869
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ur, function(r, n, i) {
|
|
870
870
|
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)), "";
|
|
871
871
|
}), t;
|
|
872
872
|
}
|
|
873
|
-
function
|
|
873
|
+
function Gr(e) {
|
|
874
874
|
switch (e) {
|
|
875
875
|
case "sign-auto":
|
|
876
876
|
return {
|
|
@@ -910,7 +910,7 @@ function Ur(e) {
|
|
|
910
910
|
};
|
|
911
911
|
}
|
|
912
912
|
}
|
|
913
|
-
function
|
|
913
|
+
function Si(e) {
|
|
914
914
|
var t;
|
|
915
915
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
916
916
|
notation: "engineering"
|
|
@@ -918,17 +918,17 @@ function xi(e) {
|
|
|
918
918
|
notation: "scientific"
|
|
919
919
|
}, e = e.slice(1)), t) {
|
|
920
920
|
var r = e.slice(0, 2);
|
|
921
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
921
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fr.test(e))
|
|
922
922
|
throw new Error("Malformed concise eng/scientific notation");
|
|
923
923
|
t.minimumIntegerDigits = e.length;
|
|
924
924
|
}
|
|
925
925
|
return t;
|
|
926
926
|
}
|
|
927
|
-
function
|
|
928
|
-
var t = {}, r =
|
|
927
|
+
function Yt(e) {
|
|
928
|
+
var t = {}, r = Gr(e);
|
|
929
929
|
return r || t;
|
|
930
930
|
}
|
|
931
|
-
function
|
|
931
|
+
function Ti(e) {
|
|
932
932
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
933
933
|
var i = n[r];
|
|
934
934
|
switch (i.stem) {
|
|
@@ -952,7 +952,7 @@ function wi(e) {
|
|
|
952
952
|
continue;
|
|
953
953
|
case "measure-unit":
|
|
954
954
|
case "unit":
|
|
955
|
-
t.style = "unit", t.unit =
|
|
955
|
+
t.style = "unit", t.unit = xi(i.options[0]);
|
|
956
956
|
continue;
|
|
957
957
|
case "compact-short":
|
|
958
958
|
case "K":
|
|
@@ -963,13 +963,13 @@ function wi(e) {
|
|
|
963
963
|
t.notation = "compact", t.compactDisplay = "long";
|
|
964
964
|
continue;
|
|
965
965
|
case "scientific":
|
|
966
|
-
t =
|
|
967
|
-
return
|
|
966
|
+
t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
|
967
|
+
return H(H({}, u), Yt(l));
|
|
968
968
|
}, {}));
|
|
969
969
|
continue;
|
|
970
970
|
case "engineering":
|
|
971
|
-
t =
|
|
972
|
-
return
|
|
971
|
+
t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
|
972
|
+
return H(H({}, u), Yt(l));
|
|
973
973
|
}, {}));
|
|
974
974
|
continue;
|
|
975
975
|
case "notation-simple":
|
|
@@ -1014,11 +1014,11 @@ function wi(e) {
|
|
|
1014
1014
|
case "integer-width":
|
|
1015
1015
|
if (i.options.length > 1)
|
|
1016
1016
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1017
|
-
i.options[0].replace(
|
|
1017
|
+
i.options[0].replace(wi, function(u, l, c, m, f, p) {
|
|
1018
1018
|
if (l)
|
|
1019
1019
|
t.minimumIntegerDigits = c.length;
|
|
1020
1020
|
else {
|
|
1021
|
-
if (
|
|
1021
|
+
if (m && f)
|
|
1022
1022
|
throw new Error("We currently do not support maximum integer digits");
|
|
1023
1023
|
if (p)
|
|
1024
1024
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1027,32 +1027,32 @@ function wi(e) {
|
|
|
1027
1027
|
});
|
|
1028
1028
|
continue;
|
|
1029
1029
|
}
|
|
1030
|
-
if (
|
|
1030
|
+
if (Fr.test(i.stem)) {
|
|
1031
1031
|
t.minimumIntegerDigits = i.stem.length;
|
|
1032
1032
|
continue;
|
|
1033
1033
|
}
|
|
1034
|
-
if (
|
|
1034
|
+
if (Qt.test(i.stem)) {
|
|
1035
1035
|
if (i.options.length > 1)
|
|
1036
1036
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1037
|
-
i.stem.replace(
|
|
1038
|
-
return c === "*" ? t.minimumFractionDigits = l.length :
|
|
1037
|
+
i.stem.replace(Qt, function(u, l, c, m, f, p) {
|
|
1038
|
+
return c === "*" ? t.minimumFractionDigits = l.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1039
1039
|
});
|
|
1040
1040
|
var o = i.options[0];
|
|
1041
|
-
o === "w" ? t =
|
|
1041
|
+
o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), Jt(o)));
|
|
1042
1042
|
continue;
|
|
1043
1043
|
}
|
|
1044
|
-
if (
|
|
1045
|
-
t =
|
|
1044
|
+
if (Ur.test(i.stem)) {
|
|
1045
|
+
t = H(H({}, t), Jt(i.stem));
|
|
1046
1046
|
continue;
|
|
1047
1047
|
}
|
|
1048
|
-
var s =
|
|
1049
|
-
s && (t =
|
|
1050
|
-
var a =
|
|
1051
|
-
a && (t =
|
|
1048
|
+
var s = Gr(i.stem);
|
|
1049
|
+
s && (t = H(H({}, t), s));
|
|
1050
|
+
var a = Si(i.stem);
|
|
1051
|
+
a && (t = H(H({}, t), a));
|
|
1052
1052
|
}
|
|
1053
1053
|
return t;
|
|
1054
1054
|
}
|
|
1055
|
-
var
|
|
1055
|
+
var Ie = {
|
|
1056
1056
|
"001": [
|
|
1057
1057
|
"H",
|
|
1058
1058
|
"h"
|
|
@@ -2467,13 +2467,13 @@ var Pe = {
|
|
|
2467
2467
|
"h"
|
|
2468
2468
|
]
|
|
2469
2469
|
};
|
|
2470
|
-
function
|
|
2470
|
+
function Bi(e, t) {
|
|
2471
2471
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2472
2472
|
var i = e.charAt(n);
|
|
2473
2473
|
if (i === "j") {
|
|
2474
2474
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2475
2475
|
o++, n++;
|
|
2476
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
|
2476
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Hi(t);
|
|
2477
2477
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
|
2478
2478
|
r += u;
|
|
2479
2479
|
for (; s-- > 0; )
|
|
@@ -2483,7 +2483,7 @@ function Si(e, t) {
|
|
|
2483
2483
|
}
|
|
2484
2484
|
return r;
|
|
2485
2485
|
}
|
|
2486
|
-
function
|
|
2486
|
+
function Hi(e) {
|
|
2487
2487
|
var t = e.hourCycle;
|
|
2488
2488
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2489
2489
|
e.hourCycles && // @ts-ignore
|
|
@@ -2502,23 +2502,23 @@ function Ti(e) {
|
|
|
2502
2502
|
}
|
|
2503
2503
|
var r = e.language, n;
|
|
2504
2504
|
r !== "root" && (n = e.maximize().region);
|
|
2505
|
-
var i =
|
|
2505
|
+
var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
|
|
2506
2506
|
return i[0];
|
|
2507
2507
|
}
|
|
2508
|
-
var
|
|
2508
|
+
var at, Ai = new RegExp("^".concat(Wr.source, "*")), Ci = new RegExp("".concat(Wr.source, "*$"));
|
|
2509
2509
|
function _(e, t) {
|
|
2510
2510
|
return { start: e, end: t };
|
|
2511
2511
|
}
|
|
2512
|
-
var
|
|
2512
|
+
var Oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Pi = !!String.fromCodePoint, Mi = !!Object.fromEntries, Ni = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Li = !!String.prototype.trimEnd, Ri = !!Number.isSafeInteger, Wi = Ri ? Number.isSafeInteger : function(e) {
|
|
2513
2513
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2514
|
-
},
|
|
2514
|
+
}, pt = !0;
|
|
2515
2515
|
try {
|
|
2516
|
-
var
|
|
2517
|
-
|
|
2516
|
+
var Ui = jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2517
|
+
pt = ((at = Ui.exec("a")) === null || at === void 0 ? void 0 : at[0]) === "a";
|
|
2518
2518
|
} catch {
|
|
2519
|
-
|
|
2519
|
+
pt = !1;
|
|
2520
2520
|
}
|
|
2521
|
-
var
|
|
2521
|
+
var qt = Oi ? (
|
|
2522
2522
|
// Native
|
|
2523
2523
|
function(t, r, n) {
|
|
2524
2524
|
return t.startsWith(r, n);
|
|
@@ -2528,7 +2528,7 @@ var Jt = Ai ? (
|
|
|
2528
2528
|
function(t, r, n) {
|
|
2529
2529
|
return t.slice(n, n + r.length) === r;
|
|
2530
2530
|
}
|
|
2531
|
-
),
|
|
2531
|
+
), bt = Pi ? String.fromCodePoint : (
|
|
2532
2532
|
// IE11
|
|
2533
2533
|
function() {
|
|
2534
2534
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2540,9 +2540,9 @@ var Jt = Ai ? (
|
|
|
2540
2540
|
}
|
|
2541
2541
|
return n;
|
|
2542
2542
|
}
|
|
2543
|
-
),
|
|
2543
|
+
), Kt = (
|
|
2544
2544
|
// native
|
|
2545
|
-
|
|
2545
|
+
Mi ? Object.fromEntries : (
|
|
2546
2546
|
// Ponyfill
|
|
2547
2547
|
function(t) {
|
|
2548
2548
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2552,7 +2552,7 @@ var Jt = Ai ? (
|
|
|
2552
2552
|
return r;
|
|
2553
2553
|
}
|
|
2554
2554
|
)
|
|
2555
|
-
),
|
|
2555
|
+
), Dr = Ni ? (
|
|
2556
2556
|
// Native
|
|
2557
2557
|
function(t, r) {
|
|
2558
2558
|
return t.codePointAt(r);
|
|
@@ -2566,7 +2566,7 @@ var Jt = Ai ? (
|
|
|
2566
2566
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2567
2567
|
}
|
|
2568
2568
|
}
|
|
2569
|
-
),
|
|
2569
|
+
), Fi = Ii ? (
|
|
2570
2570
|
// Native
|
|
2571
2571
|
function(t) {
|
|
2572
2572
|
return t.trimStart();
|
|
@@ -2574,9 +2574,9 @@ var Jt = Ai ? (
|
|
|
2574
2574
|
) : (
|
|
2575
2575
|
// Ponyfill
|
|
2576
2576
|
function(t) {
|
|
2577
|
-
return t.replace(
|
|
2577
|
+
return t.replace(Ai, "");
|
|
2578
2578
|
}
|
|
2579
|
-
),
|
|
2579
|
+
), Gi = Li ? (
|
|
2580
2580
|
// Native
|
|
2581
2581
|
function(t) {
|
|
2582
2582
|
return t.trimEnd();
|
|
@@ -2584,32 +2584,32 @@ var Jt = Ai ? (
|
|
|
2584
2584
|
) : (
|
|
2585
2585
|
// Ponyfill
|
|
2586
2586
|
function(t) {
|
|
2587
|
-
return t.replace(
|
|
2587
|
+
return t.replace(Ci, "");
|
|
2588
2588
|
}
|
|
2589
2589
|
);
|
|
2590
|
-
function
|
|
2590
|
+
function jr(e, t) {
|
|
2591
2591
|
return new RegExp(e, t);
|
|
2592
2592
|
}
|
|
2593
|
-
var
|
|
2594
|
-
if (
|
|
2595
|
-
var
|
|
2596
|
-
|
|
2593
|
+
var gt;
|
|
2594
|
+
if (pt) {
|
|
2595
|
+
var er = jr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2596
|
+
gt = function(t, r) {
|
|
2597
2597
|
var n;
|
|
2598
|
-
|
|
2599
|
-
var i =
|
|
2598
|
+
er.lastIndex = r;
|
|
2599
|
+
var i = er.exec(t);
|
|
2600
2600
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2601
2601
|
};
|
|
2602
2602
|
} else
|
|
2603
|
-
|
|
2603
|
+
gt = function(t, r) {
|
|
2604
2604
|
for (var n = []; ; ) {
|
|
2605
|
-
var i =
|
|
2606
|
-
if (i === void 0 ||
|
|
2605
|
+
var i = Dr(t, r);
|
|
2606
|
+
if (i === void 0 || kr(i) || $i(i))
|
|
2607
2607
|
break;
|
|
2608
2608
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2609
2609
|
}
|
|
2610
|
-
return
|
|
2610
|
+
return bt.apply(void 0, n);
|
|
2611
2611
|
};
|
|
2612
|
-
var
|
|
2612
|
+
var Di = (
|
|
2613
2613
|
/** @class */
|
|
2614
2614
|
function() {
|
|
2615
2615
|
function e(t, r) {
|
|
@@ -2633,14 +2633,14 @@ var Fi = (
|
|
|
2633
2633
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2634
2634
|
var a = this.clonePosition();
|
|
2635
2635
|
this.bump(), i.push({
|
|
2636
|
-
type:
|
|
2636
|
+
type: B.pound,
|
|
2637
2637
|
location: _(a, this.clonePosition())
|
|
2638
2638
|
});
|
|
2639
2639
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2640
2640
|
if (n)
|
|
2641
2641
|
break;
|
|
2642
|
-
return this.error(
|
|
2643
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
2642
|
+
return this.error(v.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
2643
|
+
} else if (o === 60 && !this.ignoreTag && yt(this.peek() || 0)) {
|
|
2644
2644
|
var s = this.parseTag(t, r);
|
|
2645
2645
|
if (s.err)
|
|
2646
2646
|
return s;
|
|
@@ -2661,7 +2661,7 @@ var Fi = (
|
|
|
2661
2661
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2662
2662
|
return {
|
|
2663
2663
|
val: {
|
|
2664
|
-
type:
|
|
2664
|
+
type: B.literal,
|
|
2665
2665
|
value: "<".concat(i, "/>"),
|
|
2666
2666
|
location: _(n, this.clonePosition())
|
|
2667
2667
|
},
|
|
@@ -2673,25 +2673,25 @@ var Fi = (
|
|
|
2673
2673
|
return o;
|
|
2674
2674
|
var s = o.val, a = this.clonePosition();
|
|
2675
2675
|
if (this.bumpIf("</")) {
|
|
2676
|
-
if (this.isEOF() || !
|
|
2677
|
-
return this.error(
|
|
2676
|
+
if (this.isEOF() || !yt(this.char()))
|
|
2677
|
+
return this.error(v.INVALID_TAG, _(a, this.clonePosition()));
|
|
2678
2678
|
var u = this.clonePosition(), l = this.parseTagName();
|
|
2679
|
-
return i !== l ? this.error(
|
|
2679
|
+
return i !== l ? this.error(v.UNMATCHED_CLOSING_TAG, _(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2680
2680
|
val: {
|
|
2681
|
-
type:
|
|
2681
|
+
type: B.tag,
|
|
2682
2682
|
value: i,
|
|
2683
2683
|
children: s,
|
|
2684
2684
|
location: _(n, this.clonePosition())
|
|
2685
2685
|
},
|
|
2686
2686
|
err: null
|
|
2687
|
-
} : this.error(
|
|
2687
|
+
} : this.error(v.INVALID_TAG, _(a, this.clonePosition())));
|
|
2688
2688
|
} else
|
|
2689
|
-
return this.error(
|
|
2689
|
+
return this.error(v.UNCLOSED_TAG, _(n, this.clonePosition()));
|
|
2690
2690
|
} else
|
|
2691
|
-
return this.error(
|
|
2691
|
+
return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
|
|
2692
2692
|
}, e.prototype.parseTagName = function() {
|
|
2693
2693
|
var t = this.offset();
|
|
2694
|
-
for (this.bump(); !this.isEOF() &&
|
|
2694
|
+
for (this.bump(); !this.isEOF() && ki(this.char()); )
|
|
2695
2695
|
this.bump();
|
|
2696
2696
|
return this.message.slice(t, this.offset());
|
|
2697
2697
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2715,12 +2715,12 @@ var Fi = (
|
|
|
2715
2715
|
}
|
|
2716
2716
|
var u = _(n, this.clonePosition());
|
|
2717
2717
|
return {
|
|
2718
|
-
val: { type:
|
|
2718
|
+
val: { type: B.literal, value: i, location: u },
|
|
2719
2719
|
err: null
|
|
2720
2720
|
};
|
|
2721
2721
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2722
2722
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2723
|
-
!
|
|
2723
|
+
!ji(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2724
2724
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2725
2725
|
if (this.isEOF() || this.char() !== 39)
|
|
2726
2726
|
return null;
|
|
@@ -2754,28 +2754,28 @@ var Fi = (
|
|
|
2754
2754
|
r.push(n);
|
|
2755
2755
|
this.bump();
|
|
2756
2756
|
}
|
|
2757
|
-
return
|
|
2757
|
+
return bt.apply(void 0, r);
|
|
2758
2758
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2759
2759
|
if (this.isEOF())
|
|
2760
2760
|
return null;
|
|
2761
2761
|
var n = this.char();
|
|
2762
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2762
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), bt(n));
|
|
2763
2763
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2764
2764
|
var n = this.clonePosition();
|
|
2765
2765
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2766
|
-
return this.error(
|
|
2766
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
2767
2767
|
if (this.char() === 125)
|
|
2768
|
-
return this.bump(), this.error(
|
|
2768
|
+
return this.bump(), this.error(v.EMPTY_ARGUMENT, _(n, this.clonePosition()));
|
|
2769
2769
|
var i = this.parseIdentifierIfPossible().value;
|
|
2770
2770
|
if (!i)
|
|
2771
|
-
return this.error(
|
|
2771
|
+
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
2772
2772
|
if (this.bumpSpace(), this.isEOF())
|
|
2773
|
-
return this.error(
|
|
2773
|
+
return this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
|
|
2774
2774
|
switch (this.char()) {
|
|
2775
2775
|
case 125:
|
|
2776
2776
|
return this.bump(), {
|
|
2777
2777
|
val: {
|
|
2778
|
-
type:
|
|
2778
|
+
type: B.argument,
|
|
2779
2779
|
// value does not include the opening and closing braces.
|
|
2780
2780
|
value: i,
|
|
2781
2781
|
location: _(n, this.clonePosition())
|
|
@@ -2783,12 +2783,12 @@ var Fi = (
|
|
|
2783
2783
|
err: null
|
|
2784
2784
|
};
|
|
2785
2785
|
case 44:
|
|
2786
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
2786
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2787
2787
|
default:
|
|
2788
|
-
return this.error(
|
|
2788
|
+
return this.error(v.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
2789
2789
|
}
|
|
2790
2790
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2791
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2791
|
+
var t = this.clonePosition(), r = this.offset(), n = gt(this.message, r), i = r + n.length;
|
|
2792
2792
|
this.bumpTo(i);
|
|
2793
2793
|
var o = this.clonePosition(), s = _(t, o);
|
|
2794
2794
|
return { value: n, location: s };
|
|
@@ -2796,7 +2796,7 @@ var Fi = (
|
|
|
2796
2796
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
|
2797
2797
|
switch (a) {
|
|
2798
2798
|
case "":
|
|
2799
|
-
return this.error(
|
|
2799
|
+
return this.error(v.EXPECT_ARGUMENT_TYPE, _(s, u));
|
|
2800
2800
|
case "number":
|
|
2801
2801
|
case "date":
|
|
2802
2802
|
case "time": {
|
|
@@ -2804,12 +2804,12 @@ var Fi = (
|
|
|
2804
2804
|
var l = null;
|
|
2805
2805
|
if (this.bumpIf(",")) {
|
|
2806
2806
|
this.bumpSpace();
|
|
2807
|
-
var c = this.clonePosition(),
|
|
2808
|
-
if (
|
|
2809
|
-
return
|
|
2810
|
-
var f =
|
|
2807
|
+
var c = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2808
|
+
if (m.err)
|
|
2809
|
+
return m;
|
|
2810
|
+
var f = Gi(m.val);
|
|
2811
2811
|
if (f.length === 0)
|
|
2812
|
-
return this.error(
|
|
2812
|
+
return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2813
2813
|
var p = _(c, this.clonePosition());
|
|
2814
2814
|
l = { style: f, styleLocation: p };
|
|
2815
2815
|
}
|
|
@@ -2817,34 +2817,34 @@ var Fi = (
|
|
|
2817
2817
|
if (g.err)
|
|
2818
2818
|
return g;
|
|
2819
2819
|
var b = _(i, this.clonePosition());
|
|
2820
|
-
if (l &&
|
|
2821
|
-
var
|
|
2820
|
+
if (l && qt(l?.style, "::", 0)) {
|
|
2821
|
+
var C = Fi(l.style.slice(2));
|
|
2822
2822
|
if (a === "number") {
|
|
2823
|
-
var
|
|
2824
|
-
return
|
|
2825
|
-
val: { type:
|
|
2823
|
+
var m = this.parseNumberSkeletonFromString(C, l.styleLocation);
|
|
2824
|
+
return m.err ? m : {
|
|
2825
|
+
val: { type: B.number, value: n, location: b, style: m.val },
|
|
2826
2826
|
err: null
|
|
2827
2827
|
};
|
|
2828
2828
|
} else {
|
|
2829
|
-
if (
|
|
2830
|
-
return this.error(
|
|
2831
|
-
var
|
|
2832
|
-
this.locale && (
|
|
2829
|
+
if (C.length === 0)
|
|
2830
|
+
return this.error(v.EXPECT_DATE_TIME_SKELETON, b);
|
|
2831
|
+
var I = C;
|
|
2832
|
+
this.locale && (I = Bi(C, this.locale));
|
|
2833
2833
|
var f = {
|
|
2834
|
-
type:
|
|
2835
|
-
pattern:
|
|
2834
|
+
type: he.dateTime,
|
|
2835
|
+
pattern: I,
|
|
2836
2836
|
location: l.styleLocation,
|
|
2837
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2838
|
-
},
|
|
2837
|
+
parsedOptions: this.shouldParseSkeletons ? vi(I) : {}
|
|
2838
|
+
}, M = a === "date" ? B.date : B.time;
|
|
2839
2839
|
return {
|
|
2840
|
-
val: { type:
|
|
2840
|
+
val: { type: M, value: n, location: b, style: f },
|
|
2841
2841
|
err: null
|
|
2842
2842
|
};
|
|
2843
2843
|
}
|
|
2844
2844
|
}
|
|
2845
2845
|
return {
|
|
2846
2846
|
val: {
|
|
2847
|
-
type: a === "number" ?
|
|
2847
|
+
type: a === "number" ? B.number : a === "date" ? B.date : B.time,
|
|
2848
2848
|
value: n,
|
|
2849
2849
|
location: b,
|
|
2850
2850
|
style: (o = l?.style) !== null && o !== void 0 ? o : null
|
|
@@ -2855,52 +2855,52 @@ var Fi = (
|
|
|
2855
2855
|
case "plural":
|
|
2856
2856
|
case "selectordinal":
|
|
2857
2857
|
case "select": {
|
|
2858
|
-
var
|
|
2858
|
+
var T = this.clonePosition();
|
|
2859
2859
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2860
|
-
return this.error(
|
|
2860
|
+
return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(T, De({}, T)));
|
|
2861
2861
|
this.bumpSpace();
|
|
2862
|
-
var
|
|
2863
|
-
if (a !== "select" &&
|
|
2862
|
+
var O = this.parseIdentifierIfPossible(), E = 0;
|
|
2863
|
+
if (a !== "select" && O.value === "offset") {
|
|
2864
2864
|
if (!this.bumpIf(":"))
|
|
2865
|
-
return this.error(
|
|
2865
|
+
return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
2866
2866
|
this.bumpSpace();
|
|
2867
|
-
var
|
|
2868
|
-
if (
|
|
2869
|
-
return
|
|
2870
|
-
this.bumpSpace(),
|
|
2867
|
+
var m = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2868
|
+
if (m.err)
|
|
2869
|
+
return m;
|
|
2870
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), E = m.val;
|
|
2871
2871
|
}
|
|
2872
|
-
var
|
|
2873
|
-
if (
|
|
2874
|
-
return
|
|
2872
|
+
var N = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
|
2873
|
+
if (N.err)
|
|
2874
|
+
return N;
|
|
2875
2875
|
var g = this.tryParseArgumentClose(i);
|
|
2876
2876
|
if (g.err)
|
|
2877
2877
|
return g;
|
|
2878
|
-
var
|
|
2878
|
+
var R = _(i, this.clonePosition());
|
|
2879
2879
|
return a === "select" ? {
|
|
2880
2880
|
val: {
|
|
2881
|
-
type:
|
|
2881
|
+
type: B.select,
|
|
2882
2882
|
value: n,
|
|
2883
|
-
options:
|
|
2884
|
-
location:
|
|
2883
|
+
options: Kt(N.val),
|
|
2884
|
+
location: R
|
|
2885
2885
|
},
|
|
2886
2886
|
err: null
|
|
2887
2887
|
} : {
|
|
2888
2888
|
val: {
|
|
2889
|
-
type:
|
|
2889
|
+
type: B.plural,
|
|
2890
2890
|
value: n,
|
|
2891
|
-
options:
|
|
2891
|
+
options: Kt(N.val),
|
|
2892
2892
|
offset: E,
|
|
2893
2893
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
2894
|
-
location:
|
|
2894
|
+
location: R
|
|
2895
2895
|
},
|
|
2896
2896
|
err: null
|
|
2897
2897
|
};
|
|
2898
2898
|
}
|
|
2899
2899
|
default:
|
|
2900
|
-
return this.error(
|
|
2900
|
+
return this.error(v.INVALID_ARGUMENT_TYPE, _(s, u));
|
|
2901
2901
|
}
|
|
2902
2902
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2903
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
2903
|
+
return this.isEOF() || this.char() !== 125 ? this.error(v.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2904
2904
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2905
2905
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2906
2906
|
var n = this.char();
|
|
@@ -2909,7 +2909,7 @@ var Fi = (
|
|
|
2909
2909
|
this.bump();
|
|
2910
2910
|
var i = this.clonePosition();
|
|
2911
2911
|
if (!this.bumpUntil("'"))
|
|
2912
|
-
return this.error(
|
|
2912
|
+
return this.error(v.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
|
|
2913
2913
|
this.bump();
|
|
2914
2914
|
break;
|
|
2915
2915
|
}
|
|
@@ -2939,37 +2939,37 @@ var Fi = (
|
|
|
2939
2939
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2940
2940
|
var n = [];
|
|
2941
2941
|
try {
|
|
2942
|
-
n =
|
|
2942
|
+
n = Ei(t);
|
|
2943
2943
|
} catch {
|
|
2944
|
-
return this.error(
|
|
2944
|
+
return this.error(v.INVALID_NUMBER_SKELETON, r);
|
|
2945
2945
|
}
|
|
2946
2946
|
return {
|
|
2947
2947
|
val: {
|
|
2948
|
-
type:
|
|
2948
|
+
type: he.number,
|
|
2949
2949
|
tokens: n,
|
|
2950
2950
|
location: r,
|
|
2951
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2951
|
+
parsedOptions: this.shouldParseSkeletons ? Ti(n) : {}
|
|
2952
2952
|
},
|
|
2953
2953
|
err: null
|
|
2954
2954
|
};
|
|
2955
2955
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2956
2956
|
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, c = i.location; ; ) {
|
|
2957
2957
|
if (l.length === 0) {
|
|
2958
|
-
var
|
|
2958
|
+
var m = this.clonePosition();
|
|
2959
2959
|
if (r !== "select" && this.bumpIf("=")) {
|
|
2960
|
-
var f = this.tryParseDecimalInteger(
|
|
2960
|
+
var f = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_SELECTOR, v.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2961
2961
|
if (f.err)
|
|
2962
2962
|
return f;
|
|
2963
|
-
c = _(
|
|
2963
|
+
c = _(m, this.clonePosition()), l = this.message.slice(m.offset, this.offset());
|
|
2964
2964
|
} else
|
|
2965
2965
|
break;
|
|
2966
2966
|
}
|
|
2967
2967
|
if (u.has(l))
|
|
2968
|
-
return this.error(r === "select" ?
|
|
2968
|
+
return this.error(r === "select" ? v.DUPLICATE_SELECT_ARGUMENT_SELECTOR : v.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, c);
|
|
2969
2969
|
l === "other" && (s = !0), this.bumpSpace();
|
|
2970
2970
|
var p = this.clonePosition();
|
|
2971
2971
|
if (!this.bumpIf("{"))
|
|
2972
|
-
return this.error(r === "select" ?
|
|
2972
|
+
return this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : v.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
|
|
2973
2973
|
var g = this.parseMessage(t + 1, r, n);
|
|
2974
2974
|
if (g.err)
|
|
2975
2975
|
return g;
|
|
@@ -2984,7 +2984,7 @@ var Fi = (
|
|
|
2984
2984
|
}
|
|
2985
2985
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, c = o.location;
|
|
2986
2986
|
}
|
|
2987
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
2987
|
+
return a.length === 0 ? this.error(r === "select" ? v.EXPECT_SELECT_ARGUMENT_SELECTOR : v.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(v.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
2988
2988
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2989
2989
|
var n = 1, i = this.clonePosition();
|
|
2990
2990
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -2996,7 +2996,7 @@ var Fi = (
|
|
|
2996
2996
|
break;
|
|
2997
2997
|
}
|
|
2998
2998
|
var u = _(i, this.clonePosition());
|
|
2999
|
-
return o ? (s *= n,
|
|
2999
|
+
return o ? (s *= n, Wi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
|
3000
3000
|
}, e.prototype.offset = function() {
|
|
3001
3001
|
return this.position.offset;
|
|
3002
3002
|
}, e.prototype.isEOF = function() {
|
|
@@ -3011,7 +3011,7 @@ var Fi = (
|
|
|
3011
3011
|
var t = this.position.offset;
|
|
3012
3012
|
if (t >= this.message.length)
|
|
3013
3013
|
throw Error("out of bound");
|
|
3014
|
-
var r =
|
|
3014
|
+
var r = Dr(this.message, t);
|
|
3015
3015
|
if (r === void 0)
|
|
3016
3016
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3017
3017
|
return r;
|
|
@@ -3030,7 +3030,7 @@ var Fi = (
|
|
|
3030
3030
|
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);
|
|
3031
3031
|
}
|
|
3032
3032
|
}, e.prototype.bumpIf = function(t) {
|
|
3033
|
-
if (
|
|
3033
|
+
if (qt(this.message, t, this.offset())) {
|
|
3034
3034
|
for (var r = 0; r < t.length; r++)
|
|
3035
3035
|
this.bump();
|
|
3036
3036
|
return !0;
|
|
@@ -3052,7 +3052,7 @@ var Fi = (
|
|
|
3052
3052
|
break;
|
|
3053
3053
|
}
|
|
3054
3054
|
}, e.prototype.bumpSpace = function() {
|
|
3055
|
-
for (; !this.isEOF() &&
|
|
3055
|
+
for (; !this.isEOF() && kr(this.char()); )
|
|
3056
3056
|
this.bump();
|
|
3057
3057
|
}, e.prototype.peek = function() {
|
|
3058
3058
|
if (this.isEOF())
|
|
@@ -3062,47 +3062,47 @@ var Fi = (
|
|
|
3062
3062
|
}, e;
|
|
3063
3063
|
}()
|
|
3064
3064
|
);
|
|
3065
|
-
function
|
|
3065
|
+
function yt(e) {
|
|
3066
3066
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3067
3067
|
}
|
|
3068
|
-
function
|
|
3069
|
-
return
|
|
3068
|
+
function ji(e) {
|
|
3069
|
+
return yt(e) || e === 47;
|
|
3070
3070
|
}
|
|
3071
|
-
function
|
|
3071
|
+
function ki(e) {
|
|
3072
3072
|
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;
|
|
3073
3073
|
}
|
|
3074
|
-
function
|
|
3074
|
+
function kr(e) {
|
|
3075
3075
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3076
3076
|
}
|
|
3077
|
-
function
|
|
3077
|
+
function $i(e) {
|
|
3078
3078
|
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;
|
|
3079
3079
|
}
|
|
3080
|
-
function
|
|
3080
|
+
function vt(e) {
|
|
3081
3081
|
e.forEach(function(t) {
|
|
3082
|
-
if (delete t.location,
|
|
3082
|
+
if (delete t.location, Nr(t) || Ir(t))
|
|
3083
3083
|
for (var r in t.options)
|
|
3084
|
-
delete t.options[r].location,
|
|
3084
|
+
delete t.options[r].location, vt(t.options[r].value);
|
|
3085
3085
|
else
|
|
3086
|
-
|
|
3086
|
+
Or(t) && Rr(t.style) || (Pr(t) || Mr(t)) && dt(t.style) ? delete t.style.location : Lr(t) && vt(t.children);
|
|
3087
3087
|
});
|
|
3088
3088
|
}
|
|
3089
|
-
function
|
|
3090
|
-
t === void 0 && (t = {}), t =
|
|
3091
|
-
var r = new
|
|
3089
|
+
function Vi(e, t) {
|
|
3090
|
+
t === void 0 && (t = {}), t = De({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3091
|
+
var r = new Di(e, t).parse();
|
|
3092
3092
|
if (r.err) {
|
|
3093
|
-
var n = SyntaxError(
|
|
3093
|
+
var n = SyntaxError(v[r.err.kind]);
|
|
3094
3094
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3095
3095
|
}
|
|
3096
|
-
return t?.captureLocation ||
|
|
3096
|
+
return t?.captureLocation || vt(r.val), r.val;
|
|
3097
3097
|
}
|
|
3098
|
-
var
|
|
3098
|
+
var ce;
|
|
3099
3099
|
(function(e) {
|
|
3100
3100
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3101
|
-
})(
|
|
3102
|
-
var
|
|
3101
|
+
})(ce || (ce = {}));
|
|
3102
|
+
var Xe = (
|
|
3103
3103
|
/** @class */
|
|
3104
3104
|
function(e) {
|
|
3105
|
-
|
|
3105
|
+
Ve(t, e);
|
|
3106
3106
|
function t(r, n, i) {
|
|
3107
3107
|
var o = e.call(this, r) || this;
|
|
3108
3108
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3111,48 +3111,48 @@ var ke = (
|
|
|
3111
3111
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3112
3112
|
}, t;
|
|
3113
3113
|
}(Error)
|
|
3114
|
-
),
|
|
3114
|
+
), tr = (
|
|
3115
3115
|
/** @class */
|
|
3116
3116
|
function(e) {
|
|
3117
|
-
|
|
3117
|
+
Ve(t, e);
|
|
3118
3118
|
function t(r, n, i, o) {
|
|
3119
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3119
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
|
|
3120
3120
|
}
|
|
3121
3121
|
return t;
|
|
3122
|
-
}(
|
|
3123
|
-
),
|
|
3122
|
+
}(Xe)
|
|
3123
|
+
), Xi = (
|
|
3124
3124
|
/** @class */
|
|
3125
3125
|
function(e) {
|
|
3126
|
-
|
|
3126
|
+
Ve(t, e);
|
|
3127
3127
|
function t(r, n, i) {
|
|
3128
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3128
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ce.INVALID_VALUE, i) || this;
|
|
3129
3129
|
}
|
|
3130
3130
|
return t;
|
|
3131
|
-
}(
|
|
3132
|
-
),
|
|
3131
|
+
}(Xe)
|
|
3132
|
+
), zi = (
|
|
3133
3133
|
/** @class */
|
|
3134
3134
|
function(e) {
|
|
3135
|
-
|
|
3135
|
+
Ve(t, e);
|
|
3136
3136
|
function t(r, n) {
|
|
3137
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3137
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ce.MISSING_VALUE, n) || this;
|
|
3138
3138
|
}
|
|
3139
3139
|
return t;
|
|
3140
|
-
}(
|
|
3140
|
+
}(Xe)
|
|
3141
3141
|
), G;
|
|
3142
3142
|
(function(e) {
|
|
3143
3143
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3144
3144
|
})(G || (G = {}));
|
|
3145
|
-
function
|
|
3145
|
+
function Zi(e) {
|
|
3146
3146
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3147
3147
|
var n = t[t.length - 1];
|
|
3148
3148
|
return !n || n.type !== G.literal || r.type !== G.literal ? t.push(r) : n.value += r.value, t;
|
|
3149
3149
|
}, []);
|
|
3150
3150
|
}
|
|
3151
|
-
function
|
|
3151
|
+
function Qi(e) {
|
|
3152
3152
|
return typeof e == "function";
|
|
3153
3153
|
}
|
|
3154
|
-
function
|
|
3155
|
-
if (e.length === 1 &&
|
|
3154
|
+
function We(e, t, r, n, i, o, s) {
|
|
3155
|
+
if (e.length === 1 && Zt(e[0]))
|
|
3156
3156
|
return [
|
|
3157
3157
|
{
|
|
3158
3158
|
type: G.literal,
|
|
@@ -3161,105 +3161,105 @@ function Ie(e, t, r, n, i, o, s) {
|
|
|
3161
3161
|
];
|
|
3162
3162
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
|
3163
3163
|
var c = l[u];
|
|
3164
|
-
if (
|
|
3164
|
+
if (Zt(c)) {
|
|
3165
3165
|
a.push({
|
|
3166
3166
|
type: G.literal,
|
|
3167
3167
|
value: c.value
|
|
3168
3168
|
});
|
|
3169
3169
|
continue;
|
|
3170
3170
|
}
|
|
3171
|
-
if (
|
|
3171
|
+
if (gi(c)) {
|
|
3172
3172
|
typeof o == "number" && a.push({
|
|
3173
3173
|
type: G.literal,
|
|
3174
3174
|
value: r.getNumberFormat(t).format(o)
|
|
3175
3175
|
});
|
|
3176
3176
|
continue;
|
|
3177
3177
|
}
|
|
3178
|
-
var
|
|
3179
|
-
if (!(i &&
|
|
3180
|
-
throw new
|
|
3181
|
-
var f = i[
|
|
3182
|
-
if (
|
|
3178
|
+
var m = c.value;
|
|
3179
|
+
if (!(i && m in i))
|
|
3180
|
+
throw new zi(m, s);
|
|
3181
|
+
var f = i[m];
|
|
3182
|
+
if (bi(c)) {
|
|
3183
3183
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3184
3184
|
type: typeof f == "string" ? G.literal : G.object,
|
|
3185
3185
|
value: f
|
|
3186
3186
|
});
|
|
3187
3187
|
continue;
|
|
3188
3188
|
}
|
|
3189
|
-
if (
|
|
3190
|
-
var p = typeof c.style == "string" ? n.date[c.style] :
|
|
3189
|
+
if (Pr(c)) {
|
|
3190
|
+
var p = typeof c.style == "string" ? n.date[c.style] : dt(c.style) ? c.style.parsedOptions : void 0;
|
|
3191
3191
|
a.push({
|
|
3192
3192
|
type: G.literal,
|
|
3193
3193
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3194
3194
|
});
|
|
3195
3195
|
continue;
|
|
3196
3196
|
}
|
|
3197
|
-
if (
|
|
3198
|
-
var p = typeof c.style == "string" ? n.time[c.style] :
|
|
3197
|
+
if (Mr(c)) {
|
|
3198
|
+
var p = typeof c.style == "string" ? n.time[c.style] : dt(c.style) ? c.style.parsedOptions : n.time.medium;
|
|
3199
3199
|
a.push({
|
|
3200
3200
|
type: G.literal,
|
|
3201
3201
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3202
3202
|
});
|
|
3203
3203
|
continue;
|
|
3204
3204
|
}
|
|
3205
|
-
if (
|
|
3206
|
-
var p = typeof c.style == "string" ? n.number[c.style] :
|
|
3205
|
+
if (Or(c)) {
|
|
3206
|
+
var p = typeof c.style == "string" ? n.number[c.style] : Rr(c.style) ? c.style.parsedOptions : void 0;
|
|
3207
3207
|
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
|
3208
3208
|
type: G.literal,
|
|
3209
3209
|
value: r.getNumberFormat(t, p).format(f)
|
|
3210
3210
|
});
|
|
3211
3211
|
continue;
|
|
3212
3212
|
}
|
|
3213
|
-
if (
|
|
3214
|
-
var g = c.children, b = c.value,
|
|
3215
|
-
if (!
|
|
3216
|
-
throw new
|
|
3217
|
-
var
|
|
3213
|
+
if (Lr(c)) {
|
|
3214
|
+
var g = c.children, b = c.value, C = i[b];
|
|
3215
|
+
if (!Qi(C))
|
|
3216
|
+
throw new Xi(b, "function", s);
|
|
3217
|
+
var I = We(g, t, r, n, i, o), M = C(I.map(function(E) {
|
|
3218
3218
|
return E.value;
|
|
3219
3219
|
}));
|
|
3220
|
-
Array.isArray(
|
|
3220
|
+
Array.isArray(M) || (M = [M]), a.push.apply(a, M.map(function(E) {
|
|
3221
3221
|
return {
|
|
3222
3222
|
type: typeof E == "string" ? G.literal : G.object,
|
|
3223
3223
|
value: E
|
|
3224
3224
|
};
|
|
3225
3225
|
}));
|
|
3226
3226
|
}
|
|
3227
|
-
if (
|
|
3228
|
-
var
|
|
3229
|
-
if (!
|
|
3230
|
-
throw new
|
|
3231
|
-
a.push.apply(a,
|
|
3227
|
+
if (Nr(c)) {
|
|
3228
|
+
var T = c.options[f] || c.options.other;
|
|
3229
|
+
if (!T)
|
|
3230
|
+
throw new tr(c.value, f, Object.keys(c.options), s);
|
|
3231
|
+
a.push.apply(a, We(T.value, t, r, n, i));
|
|
3232
3232
|
continue;
|
|
3233
3233
|
}
|
|
3234
|
-
if (
|
|
3235
|
-
var
|
|
3236
|
-
if (!
|
|
3234
|
+
if (Ir(c)) {
|
|
3235
|
+
var T = c.options["=".concat(f)];
|
|
3236
|
+
if (!T) {
|
|
3237
3237
|
if (!Intl.PluralRules)
|
|
3238
|
-
throw new
|
|
3238
|
+
throw new Xe(`Intl.PluralRules is not available in this environment.
|
|
3239
3239
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3240
|
-
`,
|
|
3241
|
-
var
|
|
3242
|
-
|
|
3240
|
+
`, ce.MISSING_INTL_API, s);
|
|
3241
|
+
var O = r.getPluralRules(t, { type: c.pluralType }).select(f - (c.offset || 0));
|
|
3242
|
+
T = c.options[O] || c.options.other;
|
|
3243
3243
|
}
|
|
3244
|
-
if (!
|
|
3245
|
-
throw new
|
|
3246
|
-
a.push.apply(a,
|
|
3244
|
+
if (!T)
|
|
3245
|
+
throw new tr(c.value, f, Object.keys(c.options), s);
|
|
3246
|
+
a.push.apply(a, We(T.value, t, r, n, i, f - (c.offset || 0)));
|
|
3247
3247
|
continue;
|
|
3248
3248
|
}
|
|
3249
3249
|
}
|
|
3250
|
-
return
|
|
3250
|
+
return Zi(a);
|
|
3251
3251
|
}
|
|
3252
|
-
function
|
|
3253
|
-
return t ?
|
|
3254
|
-
return r[n] =
|
|
3252
|
+
function Ji(e, t) {
|
|
3253
|
+
return t ? Z(Z(Z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3254
|
+
return r[n] = Z(Z({}, e[n]), t[n] || {}), r;
|
|
3255
3255
|
}, {})) : e;
|
|
3256
3256
|
}
|
|
3257
|
-
function
|
|
3257
|
+
function Yi(e, t) {
|
|
3258
3258
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3259
|
-
return r[n] =
|
|
3260
|
-
},
|
|
3259
|
+
return r[n] = Ji(e[n], t[n]), r;
|
|
3260
|
+
}, Z({}, e)) : e;
|
|
3261
3261
|
}
|
|
3262
|
-
function
|
|
3262
|
+
function ut(e) {
|
|
3263
3263
|
return {
|
|
3264
3264
|
create: function() {
|
|
3265
3265
|
return {
|
|
@@ -3273,39 +3273,39 @@ function st(e) {
|
|
|
3273
3273
|
}
|
|
3274
3274
|
};
|
|
3275
3275
|
}
|
|
3276
|
-
function
|
|
3276
|
+
function qi(e) {
|
|
3277
3277
|
return e === void 0 && (e = {
|
|
3278
3278
|
number: {},
|
|
3279
3279
|
dateTime: {},
|
|
3280
3280
|
pluralRules: {}
|
|
3281
3281
|
}), {
|
|
3282
|
-
getNumberFormat:
|
|
3282
|
+
getNumberFormat: ot(function() {
|
|
3283
3283
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3284
3284
|
r[n] = arguments[n];
|
|
3285
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3285
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, it([void 0], r, !1)))();
|
|
3286
3286
|
}, {
|
|
3287
|
-
cache:
|
|
3288
|
-
strategy:
|
|
3287
|
+
cache: ut(e.number),
|
|
3288
|
+
strategy: st.variadic
|
|
3289
3289
|
}),
|
|
3290
|
-
getDateTimeFormat:
|
|
3290
|
+
getDateTimeFormat: ot(function() {
|
|
3291
3291
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3292
3292
|
r[n] = arguments[n];
|
|
3293
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3293
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, it([void 0], r, !1)))();
|
|
3294
3294
|
}, {
|
|
3295
|
-
cache:
|
|
3296
|
-
strategy:
|
|
3295
|
+
cache: ut(e.dateTime),
|
|
3296
|
+
strategy: st.variadic
|
|
3297
3297
|
}),
|
|
3298
|
-
getPluralRules:
|
|
3298
|
+
getPluralRules: ot(function() {
|
|
3299
3299
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3300
3300
|
r[n] = arguments[n];
|
|
3301
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3301
|
+
return new ((t = Intl.PluralRules).bind.apply(t, it([void 0], r, !1)))();
|
|
3302
3302
|
}, {
|
|
3303
|
-
cache:
|
|
3304
|
-
strategy:
|
|
3303
|
+
cache: ut(e.pluralRules),
|
|
3304
|
+
strategy: st.variadic
|
|
3305
3305
|
})
|
|
3306
3306
|
};
|
|
3307
3307
|
}
|
|
3308
|
-
var
|
|
3308
|
+
var Ki = (
|
|
3309
3309
|
/** @class */
|
|
3310
3310
|
function() {
|
|
3311
3311
|
function e(t, r, n, i) {
|
|
@@ -3319,12 +3319,12 @@ var Yi = (
|
|
|
3319
3319
|
var l = o.formatToParts(u);
|
|
3320
3320
|
if (l.length === 1)
|
|
3321
3321
|
return l[0].value;
|
|
3322
|
-
var c = l.reduce(function(
|
|
3323
|
-
return !
|
|
3322
|
+
var c = l.reduce(function(m, f) {
|
|
3323
|
+
return !m.length || f.type !== G.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
|
|
3324
3324
|
}, []);
|
|
3325
3325
|
return c.length <= 1 ? c[0] || "" : c;
|
|
3326
3326
|
}, this.formatToParts = function(u) {
|
|
3327
|
-
return
|
|
3327
|
+
return We(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
|
3328
3328
|
}, this.resolvedOptions = function() {
|
|
3329
3329
|
var u;
|
|
3330
3330
|
return {
|
|
@@ -3337,13 +3337,13 @@ var Yi = (
|
|
|
3337
3337
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3338
3338
|
var s = i || {};
|
|
3339
3339
|
s.formatters;
|
|
3340
|
-
var a =
|
|
3341
|
-
this.ast = e.__parse(t,
|
|
3340
|
+
var a = ui(s, ["formatters"]);
|
|
3341
|
+
this.ast = e.__parse(t, Z(Z({}, a), { locale: this.resolvedLocale }));
|
|
3342
3342
|
} else
|
|
3343
3343
|
this.ast = t;
|
|
3344
3344
|
if (!Array.isArray(this.ast))
|
|
3345
3345
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3346
|
-
this.formats =
|
|
3346
|
+
this.formats = Yi(e.formats, n), this.formatters = i && i.formatters || qi(this.formatterCache);
|
|
3347
3347
|
}
|
|
3348
3348
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3349
3349
|
get: function() {
|
|
@@ -3356,7 +3356,7 @@ var Yi = (
|
|
|
3356
3356
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3357
3357
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3358
3358
|
}
|
|
3359
|
-
}, e.__parse =
|
|
3359
|
+
}, e.__parse = Vi, e.formats = {
|
|
3360
3360
|
number: {
|
|
3361
3361
|
integer: {
|
|
3362
3362
|
maximumFractionDigits: 0
|
|
@@ -3417,7 +3417,7 @@ var Yi = (
|
|
|
3417
3417
|
}, e;
|
|
3418
3418
|
}()
|
|
3419
3419
|
);
|
|
3420
|
-
function
|
|
3420
|
+
function eo(e, t) {
|
|
3421
3421
|
if (t == null)
|
|
3422
3422
|
return;
|
|
3423
3423
|
if (t in e)
|
|
@@ -3438,92 +3438,92 @@ function qi(e, t) {
|
|
|
3438
3438
|
n = void 0;
|
|
3439
3439
|
return n;
|
|
3440
3440
|
}
|
|
3441
|
-
const
|
|
3441
|
+
const K = {}, to = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), $r = (e, t) => {
|
|
3442
3442
|
if (t == null)
|
|
3443
3443
|
return;
|
|
3444
|
-
if (t in
|
|
3445
|
-
return
|
|
3446
|
-
const r =
|
|
3444
|
+
if (t in K && e in K[t])
|
|
3445
|
+
return K[t][e];
|
|
3446
|
+
const r = ze(t);
|
|
3447
3447
|
for (let n = 0; n < r.length; n++) {
|
|
3448
|
-
const i = r[n], o =
|
|
3448
|
+
const i = r[n], o = no(i, e);
|
|
3449
3449
|
if (o)
|
|
3450
|
-
return
|
|
3450
|
+
return to(e, t, o);
|
|
3451
3451
|
}
|
|
3452
3452
|
};
|
|
3453
|
-
let
|
|
3454
|
-
const
|
|
3455
|
-
function
|
|
3456
|
-
return
|
|
3453
|
+
let Ot;
|
|
3454
|
+
const Ae = $e({});
|
|
3455
|
+
function ro(e) {
|
|
3456
|
+
return Ot[e] || null;
|
|
3457
3457
|
}
|
|
3458
|
-
function
|
|
3459
|
-
return e in
|
|
3458
|
+
function Vr(e) {
|
|
3459
|
+
return e in Ot;
|
|
3460
3460
|
}
|
|
3461
|
-
function
|
|
3462
|
-
if (!
|
|
3461
|
+
function no(e, t) {
|
|
3462
|
+
if (!Vr(e))
|
|
3463
3463
|
return null;
|
|
3464
|
-
const r =
|
|
3465
|
-
return
|
|
3464
|
+
const r = ro(e);
|
|
3465
|
+
return eo(r, t);
|
|
3466
3466
|
}
|
|
3467
|
-
function
|
|
3467
|
+
function io(e) {
|
|
3468
3468
|
if (e == null)
|
|
3469
3469
|
return;
|
|
3470
|
-
const t =
|
|
3470
|
+
const t = ze(e);
|
|
3471
3471
|
for (let r = 0; r < t.length; r++) {
|
|
3472
3472
|
const n = t[r];
|
|
3473
|
-
if (
|
|
3473
|
+
if (Vr(n))
|
|
3474
3474
|
return n;
|
|
3475
3475
|
}
|
|
3476
3476
|
}
|
|
3477
|
-
function
|
|
3478
|
-
delete
|
|
3477
|
+
function Xr(e, ...t) {
|
|
3478
|
+
delete K[e], Ae.update((r) => (r[e] = ai.all([r[e] || {}, ...t]), r));
|
|
3479
3479
|
}
|
|
3480
3480
|
de(
|
|
3481
|
-
[
|
|
3481
|
+
[Ae],
|
|
3482
3482
|
([e]) => Object.keys(e)
|
|
3483
3483
|
);
|
|
3484
|
-
|
|
3485
|
-
const
|
|
3486
|
-
function
|
|
3487
|
-
|
|
3484
|
+
Ae.subscribe((e) => Ot = e);
|
|
3485
|
+
const Ue = {};
|
|
3486
|
+
function oo(e, t) {
|
|
3487
|
+
Ue[e].delete(t), Ue[e].size === 0 && delete Ue[e];
|
|
3488
3488
|
}
|
|
3489
|
-
function
|
|
3490
|
-
return
|
|
3489
|
+
function zr(e) {
|
|
3490
|
+
return Ue[e];
|
|
3491
3491
|
}
|
|
3492
|
-
function
|
|
3493
|
-
return
|
|
3494
|
-
const r =
|
|
3492
|
+
function so(e) {
|
|
3493
|
+
return ze(e).map((t) => {
|
|
3494
|
+
const r = zr(t);
|
|
3495
3495
|
return [t, r ? [...r] : []];
|
|
3496
3496
|
}).filter(([, t]) => t.length > 0);
|
|
3497
3497
|
}
|
|
3498
|
-
function
|
|
3499
|
-
return e == null ? !1 :
|
|
3498
|
+
function _t(e) {
|
|
3499
|
+
return e == null ? !1 : ze(e).some(
|
|
3500
3500
|
(t) => {
|
|
3501
3501
|
var r;
|
|
3502
|
-
return (r =
|
|
3502
|
+
return (r = zr(t)) == null ? void 0 : r.size;
|
|
3503
3503
|
}
|
|
3504
3504
|
);
|
|
3505
3505
|
}
|
|
3506
|
-
function
|
|
3506
|
+
function ao(e, t) {
|
|
3507
3507
|
return Promise.all(
|
|
3508
|
-
t.map((n) => (
|
|
3509
|
-
).then((n) =>
|
|
3510
|
-
}
|
|
3511
|
-
const
|
|
3512
|
-
function
|
|
3513
|
-
if (!
|
|
3514
|
-
return e in
|
|
3515
|
-
const t =
|
|
3516
|
-
return
|
|
3508
|
+
t.map((n) => (oo(e, n), n().then((i) => i.default || i)))
|
|
3509
|
+
).then((n) => Xr(e, ...n));
|
|
3510
|
+
}
|
|
3511
|
+
const Ee = {};
|
|
3512
|
+
function Zr(e) {
|
|
3513
|
+
if (!_t(e))
|
|
3514
|
+
return e in Ee ? Ee[e] : Promise.resolve();
|
|
3515
|
+
const t = so(e);
|
|
3516
|
+
return Ee[e] = Promise.all(
|
|
3517
3517
|
t.map(
|
|
3518
|
-
([r, n]) =>
|
|
3518
|
+
([r, n]) => ao(r, n)
|
|
3519
3519
|
)
|
|
3520
3520
|
).then(() => {
|
|
3521
|
-
if (
|
|
3522
|
-
return
|
|
3523
|
-
delete
|
|
3524
|
-
}),
|
|
3521
|
+
if (_t(e))
|
|
3522
|
+
return Zr(e);
|
|
3523
|
+
delete Ee[e];
|
|
3524
|
+
}), Ee[e];
|
|
3525
3525
|
}
|
|
3526
|
-
const
|
|
3526
|
+
const uo = {
|
|
3527
3527
|
number: {
|
|
3528
3528
|
scientific: { notation: "scientific" },
|
|
3529
3529
|
engineering: { notation: "engineering" },
|
|
@@ -3552,178 +3552,178 @@ const so = {
|
|
|
3552
3552
|
timeZoneName: "short"
|
|
3553
3553
|
}
|
|
3554
3554
|
}
|
|
3555
|
-
},
|
|
3555
|
+
}, lo = {
|
|
3556
3556
|
fallbackLocale: null,
|
|
3557
3557
|
loadingDelay: 200,
|
|
3558
|
-
formats:
|
|
3558
|
+
formats: uo,
|
|
3559
3559
|
warnOnMissingMessages: !0,
|
|
3560
3560
|
handleMissingMessage: void 0,
|
|
3561
3561
|
ignoreTag: !0
|
|
3562
|
-
},
|
|
3563
|
-
function
|
|
3564
|
-
return
|
|
3562
|
+
}, ho = lo;
|
|
3563
|
+
function fe() {
|
|
3564
|
+
return ho;
|
|
3565
3565
|
}
|
|
3566
|
-
const
|
|
3567
|
-
var
|
|
3566
|
+
const lt = $e(!1);
|
|
3567
|
+
var co = Object.defineProperty, fo = Object.defineProperties, mo = Object.getOwnPropertyDescriptors, rr = Object.getOwnPropertySymbols, po = Object.prototype.hasOwnProperty, bo = Object.prototype.propertyIsEnumerable, nr = (e, t, r) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, go = (e, t) => {
|
|
3568
3568
|
for (var r in t || (t = {}))
|
|
3569
|
-
|
|
3570
|
-
if (
|
|
3571
|
-
for (var r of
|
|
3572
|
-
|
|
3569
|
+
po.call(t, r) && nr(e, r, t[r]);
|
|
3570
|
+
if (rr)
|
|
3571
|
+
for (var r of rr(t))
|
|
3572
|
+
bo.call(t, r) && nr(e, r, t[r]);
|
|
3573
3573
|
return e;
|
|
3574
|
-
},
|
|
3575
|
-
let
|
|
3576
|
-
const
|
|
3577
|
-
function
|
|
3574
|
+
}, yo = (e, t) => fo(e, mo(t));
|
|
3575
|
+
let Et;
|
|
3576
|
+
const je = $e(null);
|
|
3577
|
+
function ir(e) {
|
|
3578
3578
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3579
3579
|
}
|
|
3580
|
-
function
|
|
3581
|
-
const r =
|
|
3582
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3580
|
+
function ze(e, t = fe().fallbackLocale) {
|
|
3581
|
+
const r = ir(e);
|
|
3582
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ir(t)])] : r;
|
|
3583
3583
|
}
|
|
3584
|
-
function
|
|
3585
|
-
return
|
|
3584
|
+
function te() {
|
|
3585
|
+
return Et ?? void 0;
|
|
3586
3586
|
}
|
|
3587
|
-
|
|
3588
|
-
|
|
3587
|
+
je.subscribe((e) => {
|
|
3588
|
+
Et = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3589
3589
|
});
|
|
3590
|
-
const
|
|
3591
|
-
if (e &&
|
|
3592
|
-
const { loadingDelay: t } =
|
|
3590
|
+
const vo = (e) => {
|
|
3591
|
+
if (e && io(e) && _t(e)) {
|
|
3592
|
+
const { loadingDelay: t } = fe();
|
|
3593
3593
|
let r;
|
|
3594
|
-
return typeof window < "u" &&
|
|
3595
|
-
() =>
|
|
3594
|
+
return typeof window < "u" && te() != null && t ? r = window.setTimeout(
|
|
3595
|
+
() => lt.set(!0),
|
|
3596
3596
|
t
|
|
3597
|
-
) :
|
|
3598
|
-
|
|
3597
|
+
) : lt.set(!0), Zr(e).then(() => {
|
|
3598
|
+
je.set(e);
|
|
3599
3599
|
}).finally(() => {
|
|
3600
|
-
clearTimeout(r),
|
|
3600
|
+
clearTimeout(r), lt.set(!1);
|
|
3601
3601
|
});
|
|
3602
3602
|
}
|
|
3603
|
-
return
|
|
3604
|
-
},
|
|
3605
|
-
set:
|
|
3606
|
-
}),
|
|
3603
|
+
return je.set(e);
|
|
3604
|
+
}, pe = yo(go({}, je), {
|
|
3605
|
+
set: vo
|
|
3606
|
+
}), Ze = (e) => {
|
|
3607
3607
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3608
3608
|
return (n) => {
|
|
3609
3609
|
const i = JSON.stringify(n);
|
|
3610
3610
|
return i in t ? t[i] : t[i] = e(n);
|
|
3611
3611
|
};
|
|
3612
3612
|
};
|
|
3613
|
-
var
|
|
3613
|
+
var _o = Object.defineProperty, ke = Object.getOwnPropertySymbols, Qr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable, or = (e, t, r) => t in e ? _o(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pt = (e, t) => {
|
|
3614
3614
|
for (var r in t || (t = {}))
|
|
3615
|
-
|
|
3616
|
-
if (
|
|
3617
|
-
for (var r of
|
|
3618
|
-
|
|
3615
|
+
Qr.call(t, r) && or(e, r, t[r]);
|
|
3616
|
+
if (ke)
|
|
3617
|
+
for (var r of ke(t))
|
|
3618
|
+
Jr.call(t, r) && or(e, r, t[r]);
|
|
3619
3619
|
return e;
|
|
3620
|
-
},
|
|
3620
|
+
}, be = (e, t) => {
|
|
3621
3621
|
var r = {};
|
|
3622
3622
|
for (var n in e)
|
|
3623
|
-
|
|
3624
|
-
if (e != null &&
|
|
3625
|
-
for (var n of
|
|
3626
|
-
t.indexOf(n) < 0 &&
|
|
3623
|
+
Qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3624
|
+
if (e != null && ke)
|
|
3625
|
+
for (var n of ke(e))
|
|
3626
|
+
t.indexOf(n) < 0 && Jr.call(e, n) && (r[n] = e[n]);
|
|
3627
3627
|
return r;
|
|
3628
3628
|
};
|
|
3629
|
-
const
|
|
3630
|
-
const { formats: r } =
|
|
3629
|
+
const He = (e, t) => {
|
|
3630
|
+
const { formats: r } = fe();
|
|
3631
3631
|
if (e in r && t in r[e])
|
|
3632
3632
|
return r[e][t];
|
|
3633
3633
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3634
|
-
},
|
|
3634
|
+
}, Eo = Ze(
|
|
3635
3635
|
(e) => {
|
|
3636
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3636
|
+
var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
|
|
3637
3637
|
if (r == null)
|
|
3638
3638
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3639
|
-
return n && (i =
|
|
3639
|
+
return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
|
|
3640
3640
|
}
|
|
3641
|
-
),
|
|
3641
|
+
), xo = Ze(
|
|
3642
3642
|
(e) => {
|
|
3643
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3643
|
+
var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
|
|
3644
3644
|
if (r == null)
|
|
3645
3645
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3646
|
-
return n ? i =
|
|
3646
|
+
return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3647
3647
|
}
|
|
3648
|
-
),
|
|
3648
|
+
), wo = Ze(
|
|
3649
3649
|
(e) => {
|
|
3650
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3650
|
+
var t = e, { locale: r, format: n } = t, i = be(t, ["locale", "format"]);
|
|
3651
3651
|
if (r == null)
|
|
3652
3652
|
throw new Error(
|
|
3653
3653
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3654
3654
|
);
|
|
3655
|
-
return n ? i =
|
|
3655
|
+
return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3656
3656
|
}
|
|
3657
|
-
),
|
|
3657
|
+
), So = (e = {}) => {
|
|
3658
3658
|
var t = e, {
|
|
3659
|
-
locale: r =
|
|
3660
|
-
} = t, n =
|
|
3659
|
+
locale: r = te()
|
|
3660
|
+
} = t, n = be(t, [
|
|
3661
3661
|
"locale"
|
|
3662
3662
|
]);
|
|
3663
|
-
return
|
|
3664
|
-
},
|
|
3663
|
+
return Eo(Pt({ locale: r }, n));
|
|
3664
|
+
}, To = (e = {}) => {
|
|
3665
3665
|
var t = e, {
|
|
3666
|
-
locale: r =
|
|
3667
|
-
} = t, n =
|
|
3666
|
+
locale: r = te()
|
|
3667
|
+
} = t, n = be(t, [
|
|
3668
3668
|
"locale"
|
|
3669
3669
|
]);
|
|
3670
|
-
return
|
|
3671
|
-
},
|
|
3670
|
+
return xo(Pt({ locale: r }, n));
|
|
3671
|
+
}, Bo = (e = {}) => {
|
|
3672
3672
|
var t = e, {
|
|
3673
|
-
locale: r =
|
|
3674
|
-
} = t, n =
|
|
3673
|
+
locale: r = te()
|
|
3674
|
+
} = t, n = be(t, [
|
|
3675
3675
|
"locale"
|
|
3676
3676
|
]);
|
|
3677
|
-
return
|
|
3678
|
-
},
|
|
3677
|
+
return wo(Pt({ locale: r }, n));
|
|
3678
|
+
}, Ho = Ze(
|
|
3679
3679
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3680
|
-
(e, t =
|
|
3681
|
-
ignoreTag:
|
|
3680
|
+
(e, t = te()) => new Ki(e, t, fe().formats, {
|
|
3681
|
+
ignoreTag: fe().ignoreTag
|
|
3682
3682
|
})
|
|
3683
|
-
),
|
|
3683
|
+
), Ao = (e, t = {}) => {
|
|
3684
3684
|
var r, n, i, o;
|
|
3685
3685
|
let s = t;
|
|
3686
3686
|
typeof e == "object" && (s = e, e = s.id);
|
|
3687
3687
|
const {
|
|
3688
3688
|
values: a,
|
|
3689
|
-
locale: u =
|
|
3689
|
+
locale: u = te(),
|
|
3690
3690
|
default: l
|
|
3691
3691
|
} = s;
|
|
3692
3692
|
if (u == null)
|
|
3693
3693
|
throw new Error(
|
|
3694
3694
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3695
3695
|
);
|
|
3696
|
-
let c =
|
|
3696
|
+
let c = $r(e, u);
|
|
3697
3697
|
if (!c)
|
|
3698
|
-
c = (o = (i = (n = (r =
|
|
3698
|
+
c = (o = (i = (n = (r = fe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
3699
3699
|
else if (typeof c != "string")
|
|
3700
3700
|
return console.warn(
|
|
3701
3701
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
3702
3702
|
), c;
|
|
3703
3703
|
if (!a)
|
|
3704
3704
|
return c;
|
|
3705
|
-
let
|
|
3705
|
+
let m = c;
|
|
3706
3706
|
try {
|
|
3707
|
-
|
|
3707
|
+
m = Ho(c, u).format(a);
|
|
3708
3708
|
} catch (f) {
|
|
3709
3709
|
f instanceof Error && console.warn(
|
|
3710
3710
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
3711
3711
|
f.message
|
|
3712
3712
|
);
|
|
3713
3713
|
}
|
|
3714
|
-
return
|
|
3715
|
-
},
|
|
3716
|
-
de([
|
|
3717
|
-
de([
|
|
3718
|
-
de([
|
|
3719
|
-
de([
|
|
3720
|
-
function
|
|
3721
|
-
|
|
3722
|
-
}
|
|
3723
|
-
function
|
|
3724
|
-
|
|
3725
|
-
}
|
|
3726
|
-
const
|
|
3714
|
+
return m;
|
|
3715
|
+
}, Co = (e, t) => Bo(t).format(e), Oo = (e, t) => To(t).format(e), Po = (e, t) => So(t).format(e), Mo = (e, t = te()) => $r(e, t), No = de([pe, Ae], () => Ao);
|
|
3716
|
+
de([pe], () => Co);
|
|
3717
|
+
de([pe], () => Oo);
|
|
3718
|
+
de([pe], () => Po);
|
|
3719
|
+
de([pe, Ae], () => Mo);
|
|
3720
|
+
function Io(e, t) {
|
|
3721
|
+
Xr(e, t);
|
|
3722
|
+
}
|
|
3723
|
+
function Lo(e) {
|
|
3724
|
+
pe.set(e);
|
|
3725
|
+
}
|
|
3726
|
+
const Ro = {
|
|
3727
3727
|
en: {
|
|
3728
3728
|
recentWinners: "Recent Winners",
|
|
3729
3729
|
topWinners: "Top Winners",
|
|
@@ -3853,24 +3853,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
3853
3853
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
3854
3854
|
PERFORMANCE OF THIS SOFTWARE.
|
|
3855
3855
|
***************************************************************************** */
|
|
3856
|
-
var
|
|
3857
|
-
return
|
|
3856
|
+
var xt = function(e, t) {
|
|
3857
|
+
return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
3858
3858
|
r.__proto__ = n;
|
|
3859
3859
|
} || function(r, n) {
|
|
3860
3860
|
for (var i in n)
|
|
3861
3861
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
3862
|
-
},
|
|
3862
|
+
}, xt(e, t);
|
|
3863
3863
|
};
|
|
3864
|
-
function
|
|
3864
|
+
function Ce(e, t) {
|
|
3865
3865
|
if (typeof t != "function" && t !== null)
|
|
3866
3866
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
3867
|
-
|
|
3867
|
+
xt(e, t);
|
|
3868
3868
|
function r() {
|
|
3869
3869
|
this.constructor = e;
|
|
3870
3870
|
}
|
|
3871
3871
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
3872
3872
|
}
|
|
3873
|
-
function
|
|
3873
|
+
function wt(e) {
|
|
3874
3874
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
3875
3875
|
if (r)
|
|
3876
3876
|
return r.call(e);
|
|
@@ -3882,7 +3882,7 @@ function Et(e) {
|
|
|
3882
3882
|
};
|
|
3883
3883
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
3884
3884
|
}
|
|
3885
|
-
function
|
|
3885
|
+
function St(e, t) {
|
|
3886
3886
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
3887
3887
|
if (!r)
|
|
3888
3888
|
return e;
|
|
@@ -3902,7 +3902,7 @@ function xt(e, t) {
|
|
|
3902
3902
|
}
|
|
3903
3903
|
return o;
|
|
3904
3904
|
}
|
|
3905
|
-
function
|
|
3905
|
+
function Tt(e, t, r) {
|
|
3906
3906
|
if (arguments.length === 2)
|
|
3907
3907
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
3908
3908
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
@@ -3911,13 +3911,13 @@ function wt(e, t, r) {
|
|
|
3911
3911
|
function Q(e) {
|
|
3912
3912
|
return typeof e == "function";
|
|
3913
3913
|
}
|
|
3914
|
-
function
|
|
3914
|
+
function Yr(e) {
|
|
3915
3915
|
var t = function(n) {
|
|
3916
3916
|
Error.call(n), n.stack = new Error().stack;
|
|
3917
3917
|
}, r = e(t);
|
|
3918
3918
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
3919
3919
|
}
|
|
3920
|
-
var
|
|
3920
|
+
var ht = Yr(function(e) {
|
|
3921
3921
|
return function(r) {
|
|
3922
3922
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
3923
3923
|
` + r.map(function(n, i) {
|
|
@@ -3926,13 +3926,13 @@ var ut = Qr(function(e) {
|
|
|
3926
3926
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
3927
3927
|
};
|
|
3928
3928
|
});
|
|
3929
|
-
function
|
|
3929
|
+
function Bt(e, t) {
|
|
3930
3930
|
if (e) {
|
|
3931
3931
|
var r = e.indexOf(t);
|
|
3932
3932
|
0 <= r && e.splice(r, 1);
|
|
3933
3933
|
}
|
|
3934
3934
|
}
|
|
3935
|
-
var
|
|
3935
|
+
var Qe = function() {
|
|
3936
3936
|
function e(t) {
|
|
3937
3937
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
3938
3938
|
}
|
|
@@ -3944,7 +3944,7 @@ var Xe = function() {
|
|
|
3944
3944
|
if (s)
|
|
3945
3945
|
if (this._parentage = null, Array.isArray(s))
|
|
3946
3946
|
try {
|
|
3947
|
-
for (var a =
|
|
3947
|
+
for (var a = wt(s), u = a.next(); !u.done; u = a.next()) {
|
|
3948
3948
|
var l = u.value;
|
|
3949
3949
|
l.remove(this);
|
|
3950
3950
|
}
|
|
@@ -3965,18 +3965,18 @@ var Xe = function() {
|
|
|
3965
3965
|
try {
|
|
3966
3966
|
c();
|
|
3967
3967
|
} catch (b) {
|
|
3968
|
-
o = b instanceof
|
|
3968
|
+
o = b instanceof ht ? b.errors : [b];
|
|
3969
3969
|
}
|
|
3970
|
-
var
|
|
3971
|
-
if (
|
|
3970
|
+
var m = this._finalizers;
|
|
3971
|
+
if (m) {
|
|
3972
3972
|
this._finalizers = null;
|
|
3973
3973
|
try {
|
|
3974
|
-
for (var f =
|
|
3974
|
+
for (var f = wt(m), p = f.next(); !p.done; p = f.next()) {
|
|
3975
3975
|
var g = p.value;
|
|
3976
3976
|
try {
|
|
3977
|
-
|
|
3977
|
+
sr(g);
|
|
3978
3978
|
} catch (b) {
|
|
3979
|
-
o = o ?? [], b instanceof
|
|
3979
|
+
o = o ?? [], b instanceof ht ? o = Tt(Tt([], St(o)), St(b.errors)) : o.push(b);
|
|
3980
3980
|
}
|
|
3981
3981
|
}
|
|
3982
3982
|
} catch (b) {
|
|
@@ -3991,13 +3991,13 @@ var Xe = function() {
|
|
|
3991
3991
|
}
|
|
3992
3992
|
}
|
|
3993
3993
|
if (o)
|
|
3994
|
-
throw new
|
|
3994
|
+
throw new ht(o);
|
|
3995
3995
|
}
|
|
3996
3996
|
}, e.prototype.add = function(t) {
|
|
3997
3997
|
var r;
|
|
3998
3998
|
if (t && t !== this)
|
|
3999
3999
|
if (this.closed)
|
|
4000
|
-
|
|
4000
|
+
sr(t);
|
|
4001
4001
|
else {
|
|
4002
4002
|
if (t instanceof e) {
|
|
4003
4003
|
if (t.closed || t._hasParent(this))
|
|
@@ -4014,52 +4014,52 @@ var Xe = function() {
|
|
|
4014
4014
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
4015
4015
|
}, e.prototype._removeParent = function(t) {
|
|
4016
4016
|
var r = this._parentage;
|
|
4017
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
4017
|
+
r === t ? this._parentage = null : Array.isArray(r) && Bt(r, t);
|
|
4018
4018
|
}, e.prototype.remove = function(t) {
|
|
4019
4019
|
var r = this._finalizers;
|
|
4020
|
-
r &&
|
|
4020
|
+
r && Bt(r, t), t instanceof e && t._removeParent(this);
|
|
4021
4021
|
}, e.EMPTY = function() {
|
|
4022
4022
|
var t = new e();
|
|
4023
4023
|
return t.closed = !0, t;
|
|
4024
4024
|
}(), e;
|
|
4025
|
-
}(),
|
|
4026
|
-
function
|
|
4027
|
-
return e instanceof
|
|
4025
|
+
}(), qr = Qe.EMPTY;
|
|
4026
|
+
function Kr(e) {
|
|
4027
|
+
return e instanceof Qe || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
|
|
4028
4028
|
}
|
|
4029
|
-
function
|
|
4029
|
+
function sr(e) {
|
|
4030
4030
|
Q(e) ? e() : e.unsubscribe();
|
|
4031
4031
|
}
|
|
4032
|
-
var
|
|
4032
|
+
var Wo = {
|
|
4033
4033
|
Promise: void 0
|
|
4034
|
-
},
|
|
4034
|
+
}, Uo = {
|
|
4035
4035
|
setTimeout: function(e, t) {
|
|
4036
4036
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
4037
4037
|
r[n - 2] = arguments[n];
|
|
4038
|
-
return setTimeout.apply(void 0,
|
|
4038
|
+
return setTimeout.apply(void 0, Tt([e, t], St(r)));
|
|
4039
4039
|
},
|
|
4040
4040
|
clearTimeout: function(e) {
|
|
4041
4041
|
return clearTimeout(e);
|
|
4042
4042
|
},
|
|
4043
4043
|
delegate: void 0
|
|
4044
4044
|
};
|
|
4045
|
-
function
|
|
4046
|
-
|
|
4045
|
+
function Fo(e) {
|
|
4046
|
+
Uo.setTimeout(function() {
|
|
4047
4047
|
throw e;
|
|
4048
4048
|
});
|
|
4049
4049
|
}
|
|
4050
|
-
function
|
|
4050
|
+
function ar() {
|
|
4051
4051
|
}
|
|
4052
|
-
function
|
|
4052
|
+
function Fe(e) {
|
|
4053
4053
|
e();
|
|
4054
4054
|
}
|
|
4055
|
-
var
|
|
4056
|
-
|
|
4055
|
+
var en = function(e) {
|
|
4056
|
+
Ce(t, e);
|
|
4057
4057
|
function t(r) {
|
|
4058
4058
|
var n = e.call(this) || this;
|
|
4059
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
4059
|
+
return n.isStopped = !1, r ? (n.destination = r, Kr(r) && r.add(n)) : n.destination = jo, n;
|
|
4060
4060
|
}
|
|
4061
4061
|
return t.create = function(r, n, i) {
|
|
4062
|
-
return new
|
|
4062
|
+
return new Ht(r, n, i);
|
|
4063
4063
|
}, t.prototype.next = function(r) {
|
|
4064
4064
|
this.isStopped || this._next(r);
|
|
4065
4065
|
}, t.prototype.error = function(r) {
|
|
@@ -4083,7 +4083,7 @@ var qr = function(e) {
|
|
|
4083
4083
|
this.unsubscribe();
|
|
4084
4084
|
}
|
|
4085
4085
|
}, t;
|
|
4086
|
-
}(
|
|
4086
|
+
}(Qe), Go = function() {
|
|
4087
4087
|
function e(t) {
|
|
4088
4088
|
this.partialObserver = t;
|
|
4089
4089
|
}
|
|
@@ -4093,7 +4093,7 @@ var qr = function(e) {
|
|
|
4093
4093
|
try {
|
|
4094
4094
|
r.next(t);
|
|
4095
4095
|
} catch (n) {
|
|
4096
|
-
|
|
4096
|
+
Le(n);
|
|
4097
4097
|
}
|
|
4098
4098
|
}, e.prototype.error = function(t) {
|
|
4099
4099
|
var r = this.partialObserver;
|
|
@@ -4101,56 +4101,56 @@ var qr = function(e) {
|
|
|
4101
4101
|
try {
|
|
4102
4102
|
r.error(t);
|
|
4103
4103
|
} catch (n) {
|
|
4104
|
-
|
|
4104
|
+
Le(n);
|
|
4105
4105
|
}
|
|
4106
4106
|
else
|
|
4107
|
-
|
|
4107
|
+
Le(t);
|
|
4108
4108
|
}, e.prototype.complete = function() {
|
|
4109
4109
|
var t = this.partialObserver;
|
|
4110
4110
|
if (t.complete)
|
|
4111
4111
|
try {
|
|
4112
4112
|
t.complete();
|
|
4113
4113
|
} catch (r) {
|
|
4114
|
-
|
|
4114
|
+
Le(r);
|
|
4115
4115
|
}
|
|
4116
4116
|
}, e;
|
|
4117
|
-
}(),
|
|
4118
|
-
|
|
4117
|
+
}(), Ht = function(e) {
|
|
4118
|
+
Ce(t, e);
|
|
4119
4119
|
function t(r, n, i) {
|
|
4120
4120
|
var o = e.call(this) || this, s;
|
|
4121
4121
|
return Q(r) || !r ? s = {
|
|
4122
4122
|
next: r ?? void 0,
|
|
4123
4123
|
error: n ?? void 0,
|
|
4124
4124
|
complete: i ?? void 0
|
|
4125
|
-
} : s = r, o.destination = new
|
|
4125
|
+
} : s = r, o.destination = new Go(s), o;
|
|
4126
4126
|
}
|
|
4127
4127
|
return t;
|
|
4128
|
-
}(
|
|
4129
|
-
function
|
|
4130
|
-
|
|
4128
|
+
}(en);
|
|
4129
|
+
function Le(e) {
|
|
4130
|
+
Fo(e);
|
|
4131
4131
|
}
|
|
4132
|
-
function
|
|
4132
|
+
function Do(e) {
|
|
4133
4133
|
throw e;
|
|
4134
4134
|
}
|
|
4135
|
-
var
|
|
4135
|
+
var jo = {
|
|
4136
4136
|
closed: !0,
|
|
4137
|
-
next:
|
|
4138
|
-
error:
|
|
4139
|
-
complete:
|
|
4140
|
-
},
|
|
4137
|
+
next: ar,
|
|
4138
|
+
error: Do,
|
|
4139
|
+
complete: ar
|
|
4140
|
+
}, ko = function() {
|
|
4141
4141
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
4142
4142
|
}();
|
|
4143
|
-
function
|
|
4143
|
+
function $o(e) {
|
|
4144
4144
|
return e;
|
|
4145
4145
|
}
|
|
4146
|
-
function
|
|
4147
|
-
return e.length === 0 ?
|
|
4146
|
+
function Vo(e) {
|
|
4147
|
+
return e.length === 0 ? $o : e.length === 1 ? e[0] : function(r) {
|
|
4148
4148
|
return e.reduce(function(n, i) {
|
|
4149
4149
|
return i(n);
|
|
4150
4150
|
}, r);
|
|
4151
4151
|
};
|
|
4152
4152
|
}
|
|
4153
|
-
var
|
|
4153
|
+
var ur = function() {
|
|
4154
4154
|
function e(t) {
|
|
4155
4155
|
t && (this._subscribe = t);
|
|
4156
4156
|
}
|
|
@@ -4158,8 +4158,8 @@ var sr = function() {
|
|
|
4158
4158
|
var r = new e();
|
|
4159
4159
|
return r.source = this, r.operator = t, r;
|
|
4160
4160
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
4161
|
-
var i = this, o =
|
|
4162
|
-
return
|
|
4161
|
+
var i = this, o = zo(t) ? t : new Ht(t, r, n);
|
|
4162
|
+
return Fe(function() {
|
|
4163
4163
|
var s = i, a = s.operator, u = s.source;
|
|
4164
4164
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
|
4165
4165
|
}), o;
|
|
@@ -4171,8 +4171,8 @@ var sr = function() {
|
|
|
4171
4171
|
}
|
|
4172
4172
|
}, e.prototype.forEach = function(t, r) {
|
|
4173
4173
|
var n = this;
|
|
4174
|
-
return r =
|
|
4175
|
-
var s = new
|
|
4174
|
+
return r = lr(r), new r(function(i, o) {
|
|
4175
|
+
var s = new Ht({
|
|
4176
4176
|
next: function(a) {
|
|
4177
4177
|
try {
|
|
4178
4178
|
t(a);
|
|
@@ -4188,15 +4188,15 @@ var sr = function() {
|
|
|
4188
4188
|
}, e.prototype._subscribe = function(t) {
|
|
4189
4189
|
var r;
|
|
4190
4190
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
4191
|
-
}, e.prototype[
|
|
4191
|
+
}, e.prototype[ko] = function() {
|
|
4192
4192
|
return this;
|
|
4193
4193
|
}, e.prototype.pipe = function() {
|
|
4194
4194
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
4195
4195
|
t[r] = arguments[r];
|
|
4196
|
-
return
|
|
4196
|
+
return Vo(t)(this);
|
|
4197
4197
|
}, e.prototype.toPromise = function(t) {
|
|
4198
4198
|
var r = this;
|
|
4199
|
-
return t =
|
|
4199
|
+
return t = lr(t), new t(function(n, i) {
|
|
4200
4200
|
var o;
|
|
4201
4201
|
r.subscribe(function(s) {
|
|
4202
4202
|
return o = s;
|
|
@@ -4210,40 +4210,40 @@ var sr = function() {
|
|
|
4210
4210
|
return new e(t);
|
|
4211
4211
|
}, e;
|
|
4212
4212
|
}();
|
|
4213
|
-
function
|
|
4213
|
+
function lr(e) {
|
|
4214
4214
|
var t;
|
|
4215
|
-
return (t = e ??
|
|
4215
|
+
return (t = e ?? Wo.Promise) !== null && t !== void 0 ? t : Promise;
|
|
4216
4216
|
}
|
|
4217
|
-
function
|
|
4217
|
+
function Xo(e) {
|
|
4218
4218
|
return e && Q(e.next) && Q(e.error) && Q(e.complete);
|
|
4219
4219
|
}
|
|
4220
|
-
function
|
|
4221
|
-
return e && e instanceof
|
|
4220
|
+
function zo(e) {
|
|
4221
|
+
return e && e instanceof en || Xo(e) && Kr(e);
|
|
4222
4222
|
}
|
|
4223
|
-
var
|
|
4223
|
+
var Zo = Yr(function(e) {
|
|
4224
4224
|
return function() {
|
|
4225
4225
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
4226
4226
|
};
|
|
4227
|
-
}),
|
|
4228
|
-
|
|
4227
|
+
}), tn = function(e) {
|
|
4228
|
+
Ce(t, e);
|
|
4229
4229
|
function t() {
|
|
4230
4230
|
var r = e.call(this) || this;
|
|
4231
4231
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
4232
4232
|
}
|
|
4233
4233
|
return t.prototype.lift = function(r) {
|
|
4234
|
-
var n = new
|
|
4234
|
+
var n = new hr(this, this);
|
|
4235
4235
|
return n.operator = r, n;
|
|
4236
4236
|
}, t.prototype._throwIfClosed = function() {
|
|
4237
4237
|
if (this.closed)
|
|
4238
|
-
throw new
|
|
4238
|
+
throw new Zo();
|
|
4239
4239
|
}, t.prototype.next = function(r) {
|
|
4240
4240
|
var n = this;
|
|
4241
|
-
|
|
4241
|
+
Fe(function() {
|
|
4242
4242
|
var i, o;
|
|
4243
4243
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
4244
4244
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
4245
4245
|
try {
|
|
4246
|
-
for (var s =
|
|
4246
|
+
for (var s = wt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
4247
4247
|
var u = a.value;
|
|
4248
4248
|
u.next(r);
|
|
4249
4249
|
}
|
|
@@ -4261,7 +4261,7 @@ var Xo = Qr(function(e) {
|
|
|
4261
4261
|
});
|
|
4262
4262
|
}, t.prototype.error = function(r) {
|
|
4263
4263
|
var n = this;
|
|
4264
|
-
|
|
4264
|
+
Fe(function() {
|
|
4265
4265
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
4266
4266
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
4267
4267
|
for (var i = n.observers; i.length; )
|
|
@@ -4270,7 +4270,7 @@ var Xo = Qr(function(e) {
|
|
|
4270
4270
|
});
|
|
4271
4271
|
}, t.prototype.complete = function() {
|
|
4272
4272
|
var r = this;
|
|
4273
|
-
|
|
4273
|
+
Fe(function() {
|
|
4274
4274
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
4275
4275
|
r.isStopped = !0;
|
|
4276
4276
|
for (var n = r.observers; n.length; )
|
|
@@ -4292,20 +4292,20 @@ var Xo = Qr(function(e) {
|
|
|
4292
4292
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
4293
4293
|
}, t.prototype._innerSubscribe = function(r) {
|
|
4294
4294
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
4295
|
-
return o || s ?
|
|
4296
|
-
n.currentObservers = null,
|
|
4295
|
+
return o || s ? qr : (this.currentObservers = null, a.push(r), new Qe(function() {
|
|
4296
|
+
n.currentObservers = null, Bt(a, r);
|
|
4297
4297
|
}));
|
|
4298
4298
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
4299
4299
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
4300
4300
|
i ? r.error(o) : s && r.complete();
|
|
4301
4301
|
}, t.prototype.asObservable = function() {
|
|
4302
|
-
var r = new
|
|
4302
|
+
var r = new ur();
|
|
4303
4303
|
return r.source = this, r;
|
|
4304
4304
|
}, t.create = function(r, n) {
|
|
4305
|
-
return new
|
|
4305
|
+
return new hr(r, n);
|
|
4306
4306
|
}, t;
|
|
4307
|
-
}(
|
|
4308
|
-
|
|
4307
|
+
}(ur), hr = function(e) {
|
|
4308
|
+
Ce(t, e);
|
|
4309
4309
|
function t(r, n) {
|
|
4310
4310
|
var i = e.call(this) || this;
|
|
4311
4311
|
return i.destination = r, i.source = n, i;
|
|
@@ -4321,17 +4321,17 @@ var Xo = Qr(function(e) {
|
|
|
4321
4321
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
4322
4322
|
}, t.prototype._subscribe = function(r) {
|
|
4323
4323
|
var n, i;
|
|
4324
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
4324
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : qr;
|
|
4325
4325
|
}, t;
|
|
4326
|
-
}(
|
|
4326
|
+
}(tn), rn = {
|
|
4327
4327
|
now: function() {
|
|
4328
|
-
return (
|
|
4328
|
+
return (rn.delegate || Date).now();
|
|
4329
4329
|
},
|
|
4330
4330
|
delegate: void 0
|
|
4331
|
-
},
|
|
4332
|
-
|
|
4331
|
+
}, Qo = function(e) {
|
|
4332
|
+
Ce(t, e);
|
|
4333
4333
|
function t(r, n, i) {
|
|
4334
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
4334
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = rn);
|
|
4335
4335
|
var o = e.call(this) || this;
|
|
4336
4336
|
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;
|
|
4337
4337
|
}
|
|
@@ -4351,25 +4351,25 @@ var Xo = Qr(function(e) {
|
|
|
4351
4351
|
l && o.splice(0, l + 1);
|
|
4352
4352
|
}
|
|
4353
4353
|
}, t;
|
|
4354
|
-
}(
|
|
4355
|
-
const
|
|
4356
|
-
if (
|
|
4357
|
-
const r = new
|
|
4358
|
-
|
|
4354
|
+
}(tn);
|
|
4355
|
+
const cr = [], fr = {}, Jo = (e, t = 0) => {
|
|
4356
|
+
if (cr.indexOf(e) == -1) {
|
|
4357
|
+
const r = new Qo(t);
|
|
4358
|
+
fr[e] = r, cr.push(e);
|
|
4359
4359
|
}
|
|
4360
|
-
return
|
|
4360
|
+
return fr[e];
|
|
4361
4361
|
};
|
|
4362
|
-
window.emWidgets = { topic:
|
|
4363
|
-
const
|
|
4362
|
+
window.emWidgets = { topic: Jo };
|
|
4363
|
+
const Yo = (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));
|
|
4364
4364
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4365
|
-
const
|
|
4366
|
-
function
|
|
4365
|
+
const se = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4366
|
+
function qo(e, t) {
|
|
4367
4367
|
if (e) {
|
|
4368
4368
|
const r = document.createElement("style");
|
|
4369
4369
|
r.innerHTML = t, e.appendChild(r);
|
|
4370
4370
|
}
|
|
4371
4371
|
}
|
|
4372
|
-
function
|
|
4372
|
+
function Ko(e, t) {
|
|
4373
4373
|
if (!e || !t)
|
|
4374
4374
|
return;
|
|
4375
4375
|
const r = new URL(t);
|
|
@@ -4380,32 +4380,32 @@ function Yo(e, t) {
|
|
|
4380
4380
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4381
4381
|
});
|
|
4382
4382
|
}
|
|
4383
|
-
function
|
|
4383
|
+
function es(e, t, r, n = !1) {
|
|
4384
4384
|
if (!window.emMessageBus)
|
|
4385
4385
|
return;
|
|
4386
4386
|
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4387
|
-
return r =
|
|
4388
|
-
window[
|
|
4387
|
+
return r = ts(e, t), r;
|
|
4388
|
+
window[se] || (window[se] = {}), r = rs(e, t);
|
|
4389
4389
|
const o = r.unsubscribe.bind(r), s = () => {
|
|
4390
|
-
if (window[
|
|
4391
|
-
const a = window[
|
|
4392
|
-
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[
|
|
4390
|
+
if (window[se][t]) {
|
|
4391
|
+
const a = window[se][t];
|
|
4392
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[se][t];
|
|
4393
4393
|
}
|
|
4394
4394
|
o();
|
|
4395
4395
|
};
|
|
4396
4396
|
return r.unsubscribe = s, r;
|
|
4397
4397
|
}
|
|
4398
|
-
function
|
|
4398
|
+
function ts(e, t) {
|
|
4399
4399
|
const r = document.createElement("style");
|
|
4400
4400
|
return window.emMessageBus.subscribe(t, (n) => {
|
|
4401
4401
|
e && (r.innerHTML = n, e.appendChild(r));
|
|
4402
4402
|
});
|
|
4403
4403
|
}
|
|
4404
|
-
function
|
|
4404
|
+
function rs(e, t) {
|
|
4405
4405
|
return window.emMessageBus.subscribe(t, (r) => {
|
|
4406
4406
|
if (!e)
|
|
4407
4407
|
return;
|
|
4408
|
-
const n = e.getRootNode(), i = window[
|
|
4408
|
+
const n = e.getRootNode(), i = window[se];
|
|
4409
4409
|
let o = i[t] && i[t].sheet;
|
|
4410
4410
|
o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
|
|
4411
4411
|
sheet: o,
|
|
@@ -4415,7 +4415,7 @@ function es(e, t) {
|
|
|
4415
4415
|
s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
|
|
4416
4416
|
});
|
|
4417
4417
|
}
|
|
4418
|
-
function
|
|
4418
|
+
function ns(e, t, r) {
|
|
4419
4419
|
return window.emMessageBus && (t = window.emMessageBus.subscribe(e, r)), t;
|
|
4420
4420
|
}
|
|
4421
4421
|
if (typeof window < "u") {
|
|
@@ -4430,110 +4430,110 @@ if (typeof window < "u") {
|
|
|
4430
4430
|
}
|
|
4431
4431
|
};
|
|
4432
4432
|
};
|
|
4433
|
-
customElements.define = e(customElements.define), import("./GeneralAnimationLoading-
|
|
4433
|
+
customElements.define = e(customElements.define), import("./GeneralAnimationLoading-Bys4Xygv.js").then(({ default: t }) => {
|
|
4434
4434
|
!customElements.get("general-animation-loading") && customElements.define("general-animation-loading", t.element);
|
|
4435
4435
|
});
|
|
4436
4436
|
}
|
|
4437
|
-
function
|
|
4438
|
-
|
|
4437
|
+
function is(e) {
|
|
4438
|
+
Hn(e, "svelte-d1flp7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.Off{display:none}.CasinoWinners{background-color:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));width:100%;height:320px;margin:0 auto}.CasinoWinners.Mobile{padding:25px 10px;height:250px}.WinnersHeader{display:flex;justify-content:space-between}.SliderButton{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);height:40px;width:40px}.SliderButton.SliderButton:active{transform:translateY(1px)}.WinnerButtonsContainer{display:flex;margin-bottom:42px}.WinnersButton{border:none;background:none;color:var(--emw--casino-typography, var(--emw--color-contrast, #FFFFFF));font-size:22px;font-weight:500;margin-right:60px;cursor:pointer}.WinnersButton:hover{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton:focus{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.WinnersButton.Active{border-bottom:2px solid #22B04E;padding-bottom:10px;color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E))}.WinnersButton.Active{border-bottom:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));line-height:40px}.ButtonsContainerNone{display:none}.WinnersSlider{display:flex;justify-content:flex-start;position:relative;height:180px;overflow:hidden;-ms-overflow-style:none;scrollbar-width:none}.WinnersSlider::-webkit-scrollbar{display:none}.WinnersSlider .NoWinnersMessage{color:var(--emw--casino-typography, var(--emw--color-typography, #FFFFFF));font-size:var(--emw--font-size-medium, 16px)}.CardWrapper{position:absolute;top:0;left:0}.CardWrapperAnimation{transition:transform 2s}.WinnerCard{border:1px solid rgba(255, 255, 255, 0.2);border-radius:5px;background-color:rgba(0, 0, 25, 0.2);display:flex;align-items:center;flex-direction:column;justify-content:center;gap:4px;height:180px;min-width:191px;margin-bottom:30px;margin-right:30px}.WinnerCard p:first-of-type{color:var(--emw--color-gray-150, #828282);font-size:14px;inline-size:189px;overflow-wrap:break-word;text-align:center}.WinnerCard p:nth-child(3){text-align:center;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;width:100px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.WinnerCard p:nth-child(4){color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:14px;text-align:center}.WinnerCard p:last-of-type{color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:16px}.WinnerCard:hover{border:1px solid rgba(255, 255, 255, 0.4)}.WinnersImage{border-radius:5px;height:54px;margin-bottom:10px;width:80px;cursor:pointer}.Mobile .CasinoWinners{width:320px;max-width:320px}.Mobile .WinnersHeader{justify-content:flex-start}.Mobile .WinnersButton{font-size:18px;white-space:nowrap;margin-right:40px}.Mobile .WinnersButton:last-child{margin-right:0}.Mobile .WinnersButton.Active{padding-bottom:4px}.Mobile .WinnersSlider{overflow:scroll;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.Mobile .SliderButton{display:none}.Mobile .WinnerCard{width:140px;height:150px;min-width:140px;margin-right:12px}.Mobile .WinnerCard p:first-of-type{font-size:10px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;text-align:center;width:100px}.Mobile .WinnerCard p:nth-child(3){font-size:10px}.Mobile .WinnerCard p:nth-child(4){font-size:8px;font-weight:300;text-align:center}.Mobile .WinnerCard p:last-of-type{font-size:11px}.Mobile .WinnerButtonsContainer{margin-bottom:20px}");
|
|
4439
4439
|
}
|
|
4440
|
-
function
|
|
4440
|
+
function mr(e, t, r) {
|
|
4441
4441
|
const n = e.slice();
|
|
4442
|
-
return n[
|
|
4442
|
+
return n[76] = t[r], n;
|
|
4443
4443
|
}
|
|
4444
|
-
function
|
|
4444
|
+
function dr(e, t, r) {
|
|
4445
4445
|
const n = e.slice();
|
|
4446
|
-
return n[
|
|
4446
|
+
return n[79] = t[r], n;
|
|
4447
4447
|
}
|
|
4448
|
-
function
|
|
4449
|
-
let t, r, n, i, o, s, a, u, l, c,
|
|
4448
|
+
function os(e) {
|
|
4449
|
+
let t, r, n, i, o, s, a, u, l, c, m, f, p, g, b, C, I, M, T, O = Ge(
|
|
4450
4450
|
/*tabs*/
|
|
4451
4451
|
e[16]
|
|
4452
4452
|
), E = [];
|
|
4453
|
-
for (let
|
|
4454
|
-
E[
|
|
4455
|
-
function
|
|
4453
|
+
for (let y = 0; y < O.length; y += 1)
|
|
4454
|
+
E[y] = yr(dr(e, O, y));
|
|
4455
|
+
function N(y, P) {
|
|
4456
4456
|
return (
|
|
4457
4457
|
/*isLoadingDelayed*/
|
|
4458
|
-
|
|
4458
|
+
y[17] ? us : as
|
|
4459
4459
|
);
|
|
4460
4460
|
}
|
|
4461
|
-
let
|
|
4461
|
+
let R = N(e), L = R(e);
|
|
4462
4462
|
return {
|
|
4463
4463
|
c() {
|
|
4464
|
-
t =
|
|
4465
|
-
for (let
|
|
4466
|
-
E[
|
|
4467
|
-
i =
|
|
4464
|
+
t = A("div"), r = A("div"), n = A("div");
|
|
4465
|
+
for (let y = 0; y < E.length; y += 1)
|
|
4466
|
+
E[y].c();
|
|
4467
|
+
i = z(), o = A("div"), s = A("button"), a = Ne("svg"), u = Ne("path"), c = z(), m = A("button"), f = Ne("svg"), p = Ne("path"), C = z(), L.c(), d(n, "class", "WinnerButtonsContainer"), d(u, "style", l = /*numberOfVisibleSlides*/
|
|
4468
4468
|
e[11] >= /*winners*/
|
|
4469
|
-
e[10].length ? "fill:#F6F6F62E" : ""),
|
|
4469
|
+
e[10].length ? "fill:#F6F6F62E" : ""), d(u, "id", "Path_36"), d(u, "data-name", "Path 36"), d(u, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), d(u, "transform", "translate(14.656 0) rotate(90)"), d(u, "fill", "#fff"), d(a, "id", "Component_46_2"), d(a, "data-name", "Component 46 – 2"), d(a, "xmlns", "http://www.w3.org/2000/svg"), d(a, "width", "15"), d(a, "height", "15"), d(a, "viewBox", "0 0 16 24.656"), d(s, "class", "SliderButton"), d(p, "style", g = /*numberOfVisibleSlides*/
|
|
4470
4470
|
e[11] >= /*winners*/
|
|
4471
|
-
e[10].length ? "fill:#F6F6F62E" : ""),
|
|
4472
|
-
(e[4] == "true" ? "ButtonsContainerNone" : "")),
|
|
4471
|
+
e[10].length ? "fill:#F6F6F62E" : ""), d(p, "id", "Path_36"), d(p, "data-name", "Path 36"), d(p, "d", "M12.328,16,0,3.672,3.672,0l8.656,8.656L20.984,0l3.672,3.672Z"), d(p, "transform", "translate(0 24.656) rotate(-90)"), d(p, "fill", "#fff"), d(f, "id", "Component_46_2"), d(f, "data-name", "Component 46 – 2"), d(f, "xmlns", "http://www.w3.org/2000/svg"), d(f, "width", "15"), d(f, "height", "15"), d(f, "viewBox", "0 0 16 24.656"), d(m, "class", "SliderButton"), d(o, "class", b = "ButtonsContainer " + /*enableautoscroll*/
|
|
4472
|
+
(e[4] == "true" ? "ButtonsContainerNone" : "")), d(r, "class", "WinnersHeader"), d(t, "class", I = "CasinoWinners " + /*mobile*/
|
|
4473
4473
|
(e[12] ? "Mobile" : ""));
|
|
4474
4474
|
},
|
|
4475
|
-
m(
|
|
4476
|
-
j(
|
|
4475
|
+
m(y, P) {
|
|
4476
|
+
j(y, t, P), w(t, r), w(r, n);
|
|
4477
4477
|
for (let x = 0; x < E.length; x += 1)
|
|
4478
4478
|
E[x] && E[x].m(n, null);
|
|
4479
|
-
w(r, i), w(r, o), w(o, s), w(s, a), w(a, u), w(o, c), w(o,
|
|
4480
|
-
|
|
4479
|
+
w(r, i), w(r, o), w(o, s), w(s, a), w(a, u), w(o, c), w(o, m), w(m, f), w(f, p), w(t, C), L.m(t, null), M || (T = [
|
|
4480
|
+
Se(
|
|
4481
4481
|
s,
|
|
4482
4482
|
"click",
|
|
4483
4483
|
/*click_handler_2*/
|
|
4484
|
-
e[
|
|
4484
|
+
e[49]
|
|
4485
4485
|
),
|
|
4486
|
-
|
|
4487
|
-
|
|
4486
|
+
Se(
|
|
4487
|
+
m,
|
|
4488
4488
|
"click",
|
|
4489
4489
|
/*click_handler_3*/
|
|
4490
|
-
e[
|
|
4490
|
+
e[50]
|
|
4491
4491
|
)
|
|
4492
|
-
],
|
|
4492
|
+
], M = !0);
|
|
4493
4493
|
},
|
|
4494
|
-
p(
|
|
4495
|
-
if (
|
|
4494
|
+
p(y, P) {
|
|
4495
|
+
if (P[0] & /*winnersType, istopavailable, toggleTab, $_, tabs, isrecentavailable*/
|
|
4496
4496
|
852483) {
|
|
4497
|
-
|
|
4497
|
+
O = Ge(
|
|
4498
4498
|
/*tabs*/
|
|
4499
|
-
|
|
4499
|
+
y[16]
|
|
4500
4500
|
);
|
|
4501
4501
|
let x;
|
|
4502
|
-
for (x = 0; x <
|
|
4503
|
-
const
|
|
4504
|
-
E[x] ? E[x].p(
|
|
4502
|
+
for (x = 0; x < O.length; x += 1) {
|
|
4503
|
+
const J = dr(y, O, x);
|
|
4504
|
+
E[x] ? E[x].p(J, P) : (E[x] = yr(J), E[x].c(), E[x].m(n, null));
|
|
4505
4505
|
}
|
|
4506
4506
|
for (; x < E.length; x += 1)
|
|
4507
4507
|
E[x].d(1);
|
|
4508
|
-
E.length =
|
|
4508
|
+
E.length = O.length;
|
|
4509
4509
|
}
|
|
4510
|
-
|
|
4510
|
+
P[0] & /*numberOfVisibleSlides, winners*/
|
|
4511
4511
|
3072 && l !== (l = /*numberOfVisibleSlides*/
|
|
4512
|
-
|
|
4513
|
-
|
|
4512
|
+
y[11] >= /*winners*/
|
|
4513
|
+
y[10].length ? "fill:#F6F6F62E" : "") && d(u, "style", l), P[0] & /*numberOfVisibleSlides, winners*/
|
|
4514
4514
|
3072 && g !== (g = /*numberOfVisibleSlides*/
|
|
4515
|
-
|
|
4516
|
-
|
|
4515
|
+
y[11] >= /*winners*/
|
|
4516
|
+
y[10].length ? "fill:#F6F6F62E" : "") && d(p, "style", g), P[0] & /*enableautoscroll*/
|
|
4517
4517
|
16 && b !== (b = "ButtonsContainer " + /*enableautoscroll*/
|
|
4518
|
-
(
|
|
4519
|
-
4096 &&
|
|
4520
|
-
(
|
|
4518
|
+
(y[4] == "true" ? "ButtonsContainerNone" : "")) && d(o, "class", b), R === (R = N(y)) && L ? L.p(y, P) : (L.d(1), L = R(y), L && (L.c(), L.m(t, null))), P[0] & /*mobile*/
|
|
4519
|
+
4096 && I !== (I = "CasinoWinners " + /*mobile*/
|
|
4520
|
+
(y[12] ? "Mobile" : "")) && d(t, "class", I);
|
|
4521
4521
|
},
|
|
4522
|
-
d(
|
|
4523
|
-
|
|
4522
|
+
d(y) {
|
|
4523
|
+
y && D(t), wr(E, y), L.d(), M = !1, me(T);
|
|
4524
4524
|
}
|
|
4525
4525
|
};
|
|
4526
4526
|
}
|
|
4527
|
-
function
|
|
4527
|
+
function ss(e) {
|
|
4528
4528
|
let t;
|
|
4529
4529
|
return {
|
|
4530
4530
|
c() {
|
|
4531
|
-
t =
|
|
4531
|
+
t = A("general-animation-loading"), X(
|
|
4532
4532
|
t,
|
|
4533
4533
|
"clientstyling",
|
|
4534
4534
|
/*clientstyling*/
|
|
4535
4535
|
e[2]
|
|
4536
|
-
),
|
|
4536
|
+
), X(
|
|
4537
4537
|
t,
|
|
4538
4538
|
"clientstylingurl",
|
|
4539
4539
|
/*clientstylingurl*/
|
|
@@ -4545,13 +4545,13 @@ function is(e) {
|
|
|
4545
4545
|
},
|
|
4546
4546
|
p(r, n) {
|
|
4547
4547
|
n[0] & /*clientstyling*/
|
|
4548
|
-
4 &&
|
|
4548
|
+
4 && X(
|
|
4549
4549
|
t,
|
|
4550
4550
|
"clientstyling",
|
|
4551
4551
|
/*clientstyling*/
|
|
4552
4552
|
r[2]
|
|
4553
4553
|
), n[0] & /*clientstylingurl*/
|
|
4554
|
-
8 &&
|
|
4554
|
+
8 && X(
|
|
4555
4555
|
t,
|
|
4556
4556
|
"clientstylingurl",
|
|
4557
4557
|
/*clientstylingurl*/
|
|
@@ -4563,153 +4563,153 @@ function is(e) {
|
|
|
4563
4563
|
}
|
|
4564
4564
|
};
|
|
4565
4565
|
}
|
|
4566
|
-
function
|
|
4566
|
+
function pr(e) {
|
|
4567
4567
|
let t, r = (
|
|
4568
4568
|
/*isrecentavailable*/
|
|
4569
|
-
e[0] === "true" &&
|
|
4569
|
+
e[0] === "true" && br(e)
|
|
4570
4570
|
);
|
|
4571
4571
|
return {
|
|
4572
4572
|
c() {
|
|
4573
|
-
r && r.c(), t =
|
|
4573
|
+
r && r.c(), t = Ct();
|
|
4574
4574
|
},
|
|
4575
4575
|
m(n, i) {
|
|
4576
4576
|
r && r.m(n, i), j(n, t, i);
|
|
4577
4577
|
},
|
|
4578
4578
|
p(n, i) {
|
|
4579
4579
|
/*isrecentavailable*/
|
|
4580
|
-
n[0] === "true" ? r ? r.p(n, i) : (r =
|
|
4580
|
+
n[0] === "true" ? r ? r.p(n, i) : (r = br(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
|
|
4581
4581
|
},
|
|
4582
4582
|
d(n) {
|
|
4583
4583
|
n && D(t), r && r.d(n);
|
|
4584
4584
|
}
|
|
4585
4585
|
};
|
|
4586
4586
|
}
|
|
4587
|
-
function
|
|
4587
|
+
function br(e) {
|
|
4588
4588
|
let t, r = (
|
|
4589
4589
|
/*$_*/
|
|
4590
4590
|
e[18]("recentWinners") + ""
|
|
4591
4591
|
), n, i, o, s;
|
|
4592
4592
|
return {
|
|
4593
4593
|
c() {
|
|
4594
|
-
t =
|
|
4594
|
+
t = A("button"), n = ee(r), d(t, "class", i = "WinnersButton " + /*winnersType*/
|
|
4595
4595
|
(e[9] == "recent" ? "Active" : ""));
|
|
4596
4596
|
},
|
|
4597
4597
|
m(a, u) {
|
|
4598
|
-
j(a, t, u), w(t, n), o || (s =
|
|
4598
|
+
j(a, t, u), w(t, n), o || (s = Se(
|
|
4599
4599
|
t,
|
|
4600
4600
|
"click",
|
|
4601
4601
|
/*click_handler*/
|
|
4602
|
-
e[
|
|
4602
|
+
e[47]
|
|
4603
4603
|
), o = !0);
|
|
4604
4604
|
},
|
|
4605
4605
|
p(a, u) {
|
|
4606
4606
|
u[0] & /*$_*/
|
|
4607
4607
|
262144 && r !== (r = /*$_*/
|
|
4608
|
-
a[18]("recentWinners") + "") &&
|
|
4608
|
+
a[18]("recentWinners") + "") && ae(n, r), u[0] & /*winnersType*/
|
|
4609
4609
|
512 && i !== (i = "WinnersButton " + /*winnersType*/
|
|
4610
|
-
(a[9] == "recent" ? "Active" : "")) &&
|
|
4610
|
+
(a[9] == "recent" ? "Active" : "")) && d(t, "class", i);
|
|
4611
4611
|
},
|
|
4612
4612
|
d(a) {
|
|
4613
4613
|
a && D(t), o = !1, s();
|
|
4614
4614
|
}
|
|
4615
4615
|
};
|
|
4616
4616
|
}
|
|
4617
|
-
function
|
|
4617
|
+
function gr(e) {
|
|
4618
4618
|
let t, r = (
|
|
4619
4619
|
/*$_*/
|
|
4620
4620
|
e[18]("topWinners") + ""
|
|
4621
4621
|
), n, i, o, s, a;
|
|
4622
4622
|
return {
|
|
4623
4623
|
c() {
|
|
4624
|
-
t =
|
|
4624
|
+
t = A("button"), n = ee(r), i = z(), d(t, "class", o = "WinnersButton " + /*winnersType*/
|
|
4625
4625
|
(e[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
|
|
4626
4626
|
(e[1] == "false" ? "Off" : ""));
|
|
4627
4627
|
},
|
|
4628
4628
|
m(u, l) {
|
|
4629
|
-
j(u, t, l), w(t, n), w(t, i), s || (a =
|
|
4629
|
+
j(u, t, l), w(t, n), w(t, i), s || (a = Se(
|
|
4630
4630
|
t,
|
|
4631
4631
|
"click",
|
|
4632
4632
|
/*click_handler_1*/
|
|
4633
|
-
e[
|
|
4633
|
+
e[48]
|
|
4634
4634
|
), s = !0);
|
|
4635
4635
|
},
|
|
4636
4636
|
p(u, l) {
|
|
4637
4637
|
l[0] & /*$_*/
|
|
4638
4638
|
262144 && r !== (r = /*$_*/
|
|
4639
|
-
u[18]("topWinners") + "") &&
|
|
4639
|
+
u[18]("topWinners") + "") && ae(n, r), l[0] & /*winnersType, istopavailable*/
|
|
4640
4640
|
514 && o !== (o = "WinnersButton " + /*winnersType*/
|
|
4641
4641
|
(u[9] == "top" ? "Active" : "") + " " + /*istopavailable*/
|
|
4642
|
-
(u[1] == "false" ? "Off" : "")) &&
|
|
4642
|
+
(u[1] == "false" ? "Off" : "")) && d(t, "class", o);
|
|
4643
4643
|
},
|
|
4644
4644
|
d(u) {
|
|
4645
4645
|
u && D(t), s = !1, a();
|
|
4646
4646
|
}
|
|
4647
4647
|
};
|
|
4648
4648
|
}
|
|
4649
|
-
function
|
|
4649
|
+
function yr(e) {
|
|
4650
4650
|
let t, r, n = (
|
|
4651
4651
|
/*tab*/
|
|
4652
|
-
e[
|
|
4652
|
+
e[79] == "recent" && pr(e)
|
|
4653
4653
|
), i = (
|
|
4654
4654
|
/*tab*/
|
|
4655
|
-
e[
|
|
4655
|
+
e[79] == "top" && gr(e)
|
|
4656
4656
|
);
|
|
4657
4657
|
return {
|
|
4658
4658
|
c() {
|
|
4659
|
-
n && n.c(), t =
|
|
4659
|
+
n && n.c(), t = z(), i && i.c(), r = Ct();
|
|
4660
4660
|
},
|
|
4661
4661
|
m(o, s) {
|
|
4662
4662
|
n && n.m(o, s), j(o, t, s), i && i.m(o, s), j(o, r, s);
|
|
4663
4663
|
},
|
|
4664
4664
|
p(o, s) {
|
|
4665
4665
|
/*tab*/
|
|
4666
|
-
o[
|
|
4667
|
-
o[
|
|
4666
|
+
o[79] == "recent" ? n ? n.p(o, s) : (n = pr(o), n.c(), n.m(t.parentNode, t)) : n && (n.d(1), n = null), /*tab*/
|
|
4667
|
+
o[79] == "top" ? i ? i.p(o, s) : (i = gr(o), i.c(), i.m(r.parentNode, r)) : i && (i.d(1), i = null);
|
|
4668
4668
|
},
|
|
4669
4669
|
d(o) {
|
|
4670
4670
|
o && (D(t), D(r)), n && n.d(o), i && i.d(o);
|
|
4671
4671
|
}
|
|
4672
4672
|
};
|
|
4673
4673
|
}
|
|
4674
|
-
function
|
|
4674
|
+
function as(e) {
|
|
4675
4675
|
let t;
|
|
4676
4676
|
function r(o, s) {
|
|
4677
4677
|
return (
|
|
4678
4678
|
/*winners*/
|
|
4679
|
-
o[10].length !== 0 ?
|
|
4679
|
+
o[10].length !== 0 ? hs : ls
|
|
4680
4680
|
);
|
|
4681
4681
|
}
|
|
4682
4682
|
let n = r(e), i = n(e);
|
|
4683
4683
|
return {
|
|
4684
4684
|
c() {
|
|
4685
|
-
t =
|
|
4685
|
+
t = A("div"), i.c(), d(t, "class", "WinnersSlider");
|
|
4686
4686
|
},
|
|
4687
4687
|
m(o, s) {
|
|
4688
|
-
j(o, t, s), i.m(t, null), e[
|
|
4688
|
+
j(o, t, s), i.m(t, null), e[53](t);
|
|
4689
4689
|
},
|
|
4690
4690
|
p(o, s) {
|
|
4691
4691
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4692
4692
|
},
|
|
4693
4693
|
d(o) {
|
|
4694
|
-
o && D(t), i.d(), e[
|
|
4694
|
+
o && D(t), i.d(), e[53](null);
|
|
4695
4695
|
}
|
|
4696
4696
|
};
|
|
4697
4697
|
}
|
|
4698
|
-
function
|
|
4698
|
+
function us(e) {
|
|
4699
4699
|
let t;
|
|
4700
4700
|
return {
|
|
4701
4701
|
c() {
|
|
4702
|
-
t =
|
|
4702
|
+
t = A("general-animation-loading"), X(
|
|
4703
4703
|
t,
|
|
4704
4704
|
"clientstyling",
|
|
4705
4705
|
/*clientstyling*/
|
|
4706
4706
|
e[2]
|
|
4707
|
-
),
|
|
4707
|
+
), X(
|
|
4708
4708
|
t,
|
|
4709
4709
|
"clientstylingurl",
|
|
4710
4710
|
/*clientstylingurl*/
|
|
4711
4711
|
e[3]
|
|
4712
|
-
),
|
|
4712
|
+
), X(
|
|
4713
4713
|
t,
|
|
4714
4714
|
"mbsource",
|
|
4715
4715
|
/*mbsource*/
|
|
@@ -4721,19 +4721,19 @@ function ss(e) {
|
|
|
4721
4721
|
},
|
|
4722
4722
|
p(r, n) {
|
|
4723
4723
|
n[0] & /*clientstyling*/
|
|
4724
|
-
4 &&
|
|
4724
|
+
4 && X(
|
|
4725
4725
|
t,
|
|
4726
4726
|
"clientstyling",
|
|
4727
4727
|
/*clientstyling*/
|
|
4728
4728
|
r[2]
|
|
4729
4729
|
), n[0] & /*clientstylingurl*/
|
|
4730
|
-
8 &&
|
|
4730
|
+
8 && X(
|
|
4731
4731
|
t,
|
|
4732
4732
|
"clientstylingurl",
|
|
4733
4733
|
/*clientstylingurl*/
|
|
4734
4734
|
r[3]
|
|
4735
4735
|
), n[0] & /*mbsource*/
|
|
4736
|
-
32 &&
|
|
4736
|
+
32 && X(
|
|
4737
4737
|
t,
|
|
4738
4738
|
"mbsource",
|
|
4739
4739
|
/*mbsource*/
|
|
@@ -4745,14 +4745,14 @@ function ss(e) {
|
|
|
4745
4745
|
}
|
|
4746
4746
|
};
|
|
4747
4747
|
}
|
|
4748
|
-
function
|
|
4748
|
+
function ls(e) {
|
|
4749
4749
|
let t, r = (
|
|
4750
4750
|
/*$_*/
|
|
4751
4751
|
e[18]("noWinnersMessage") + ""
|
|
4752
4752
|
), n;
|
|
4753
4753
|
return {
|
|
4754
4754
|
c() {
|
|
4755
|
-
t =
|
|
4755
|
+
t = A("p"), n = ee(r), d(t, "class", "NoWinnersMessage");
|
|
4756
4756
|
},
|
|
4757
4757
|
m(i, o) {
|
|
4758
4758
|
j(i, t, o), w(t, n);
|
|
@@ -4760,25 +4760,25 @@ function as(e) {
|
|
|
4760
4760
|
p(i, o) {
|
|
4761
4761
|
o[0] & /*$_*/
|
|
4762
4762
|
262144 && r !== (r = /*$_*/
|
|
4763
|
-
i[18]("noWinnersMessage") + "") &&
|
|
4763
|
+
i[18]("noWinnersMessage") + "") && ae(n, r);
|
|
4764
4764
|
},
|
|
4765
4765
|
d(i) {
|
|
4766
4766
|
i && D(t);
|
|
4767
4767
|
}
|
|
4768
4768
|
};
|
|
4769
4769
|
}
|
|
4770
|
-
function
|
|
4771
|
-
let t, r =
|
|
4770
|
+
function hs(e) {
|
|
4771
|
+
let t, r = Ge(
|
|
4772
4772
|
/*winners*/
|
|
4773
4773
|
e[10]
|
|
4774
4774
|
), n = [];
|
|
4775
4775
|
for (let i = 0; i < r.length; i += 1)
|
|
4776
|
-
n[i] =
|
|
4776
|
+
n[i] = vr(mr(e, r, i));
|
|
4777
4777
|
return {
|
|
4778
4778
|
c() {
|
|
4779
4779
|
for (let i = 0; i < n.length; i += 1)
|
|
4780
4780
|
n[i].c();
|
|
4781
|
-
t =
|
|
4781
|
+
t = Ct();
|
|
4782
4782
|
},
|
|
4783
4783
|
m(i, o) {
|
|
4784
4784
|
for (let s = 0; s < n.length; s += 1)
|
|
@@ -4788,14 +4788,14 @@ function us(e) {
|
|
|
4788
4788
|
p(i, o) {
|
|
4789
4789
|
if (o[0] & /*addAnimation, winnerCardElem, getAmount, winners, $_, maskUsername, openWinnersGame*/
|
|
4790
4790
|
20219136) {
|
|
4791
|
-
r =
|
|
4791
|
+
r = Ge(
|
|
4792
4792
|
/*winners*/
|
|
4793
4793
|
i[10]
|
|
4794
4794
|
);
|
|
4795
4795
|
let s;
|
|
4796
4796
|
for (s = 0; s < r.length; s += 1) {
|
|
4797
|
-
const a =
|
|
4798
|
-
n[s] ? n[s].p(a, o) : (n[s] =
|
|
4797
|
+
const a = mr(i, r, s);
|
|
4798
|
+
n[s] ? n[s].p(a, o) : (n[s] = vr(a), n[s].c(), n[s].m(t.parentNode, t));
|
|
4799
4799
|
}
|
|
4800
4800
|
for (; s < n.length; s += 1)
|
|
4801
4801
|
n[s].d(1);
|
|
@@ -4803,272 +4803,274 @@ function us(e) {
|
|
|
4803
4803
|
}
|
|
4804
4804
|
},
|
|
4805
4805
|
d(i) {
|
|
4806
|
-
i && D(t),
|
|
4806
|
+
i && D(t), wr(n, i);
|
|
4807
4807
|
}
|
|
4808
4808
|
};
|
|
4809
4809
|
}
|
|
4810
|
-
function
|
|
4810
|
+
function vr(e) {
|
|
4811
4811
|
let t, r, n, i, o, s, a, u = (
|
|
4812
4812
|
/*winner*/
|
|
4813
|
-
e[
|
|
4814
|
-
), l, c,
|
|
4813
|
+
e[76].gameName + ""
|
|
4814
|
+
), l, c, m, f = (
|
|
4815
4815
|
/*maskUsername*/
|
|
4816
4816
|
e[20](
|
|
4817
4817
|
/*winner*/
|
|
4818
|
-
e[
|
|
4818
|
+
e[76].username
|
|
4819
4819
|
) + ""
|
|
4820
|
-
), p, g, b,
|
|
4820
|
+
), p, g, b, C = (
|
|
4821
4821
|
/*$_*/
|
|
4822
4822
|
e[18]("won") + ""
|
|
4823
|
-
),
|
|
4823
|
+
), I, M, T, O = (
|
|
4824
4824
|
/*getAmount*/
|
|
4825
4825
|
e[24](
|
|
4826
4826
|
/*winner*/
|
|
4827
|
-
e[
|
|
4827
|
+
e[76].specifiedCurrencyAmount
|
|
4828
4828
|
) + ""
|
|
4829
|
-
), E,
|
|
4830
|
-
function
|
|
4829
|
+
), E, N, R, L;
|
|
4830
|
+
function y() {
|
|
4831
4831
|
return (
|
|
4832
4832
|
/*click_handler_4*/
|
|
4833
|
-
e[
|
|
4833
|
+
e[51](
|
|
4834
4834
|
/*winner*/
|
|
4835
|
-
e[
|
|
4835
|
+
e[76]
|
|
4836
4836
|
)
|
|
4837
4837
|
);
|
|
4838
4838
|
}
|
|
4839
4839
|
return {
|
|
4840
4840
|
c() {
|
|
4841
|
-
t =
|
|
4842
|
-
e[
|
|
4843
|
-
e[
|
|
4841
|
+
t = A("div"), r = A("div"), n = A("img"), s = z(), a = A("p"), l = ee(u), c = z(), m = A("p"), p = ee(f), g = z(), b = A("p"), I = ee(C), M = z(), T = A("p"), E = z(), $t(n.src, i = /*winner*/
|
|
4842
|
+
e[76]?.gameModel?.thumbnail) || d(n, "src", i), d(n, "alt", o = /*winner*/
|
|
4843
|
+
e[76]?.gameModel?.thumbnail), d(n, "class", "WinnersImage"), d(b, "class", "WinnerUsername"), d(T, "class", "WinnerAmount"), d(r, "class", "WinnerCard"), d(t, "class", N = "CardWrapper " + /*addAnimation*/
|
|
4844
4844
|
(e[15] ? "CardWrapperAnimation" : ""));
|
|
4845
4845
|
},
|
|
4846
|
-
m(
|
|
4847
|
-
j(
|
|
4846
|
+
m(P, x) {
|
|
4847
|
+
j(P, t, x), w(t, r), w(r, n), w(r, s), w(r, a), w(a, l), w(r, c), w(r, m), w(m, p), w(r, g), w(r, b), w(b, I), w(r, M), w(r, T), T.innerHTML = O, e[52](r), w(t, E), R || (L = Se(n, "click", y), R = !0);
|
|
4848
4848
|
},
|
|
4849
|
-
p(
|
|
4850
|
-
e =
|
|
4851
|
-
1024 &&
|
|
4852
|
-
e[
|
|
4849
|
+
p(P, x) {
|
|
4850
|
+
e = P, x[0] & /*winners*/
|
|
4851
|
+
1024 && !$t(n.src, i = /*winner*/
|
|
4852
|
+
e[76]?.gameModel?.thumbnail) && d(n, "src", i), x[0] & /*winners*/
|
|
4853
4853
|
1024 && o !== (o = /*winner*/
|
|
4854
|
-
e[
|
|
4854
|
+
e[76]?.gameModel?.thumbnail) && d(n, "alt", o), x[0] & /*winners*/
|
|
4855
4855
|
1024 && u !== (u = /*winner*/
|
|
4856
|
-
e[
|
|
4856
|
+
e[76].gameName + "") && ae(l, u), x[0] & /*winners*/
|
|
4857
4857
|
1024 && f !== (f = /*maskUsername*/
|
|
4858
4858
|
e[20](
|
|
4859
4859
|
/*winner*/
|
|
4860
|
-
e[
|
|
4861
|
-
) + "") &&
|
|
4862
|
-
262144 &&
|
|
4863
|
-
e[18]("won") + "") &&
|
|
4864
|
-
1024 &&
|
|
4860
|
+
e[76].username
|
|
4861
|
+
) + "") && ae(p, f), x[0] & /*$_*/
|
|
4862
|
+
262144 && C !== (C = /*$_*/
|
|
4863
|
+
e[18]("won") + "") && ae(I, C), x[0] & /*winners*/
|
|
4864
|
+
1024 && O !== (O = /*getAmount*/
|
|
4865
4865
|
e[24](
|
|
4866
4866
|
/*winner*/
|
|
4867
|
-
e[
|
|
4868
|
-
) + "") && (
|
|
4869
|
-
32768 &&
|
|
4870
|
-
(e[15] ? "CardWrapperAnimation" : "")) &&
|
|
4867
|
+
e[76].specifiedCurrencyAmount
|
|
4868
|
+
) + "") && (T.innerHTML = O), x[0] & /*addAnimation*/
|
|
4869
|
+
32768 && N !== (N = "CardWrapper " + /*addAnimation*/
|
|
4870
|
+
(e[15] ? "CardWrapperAnimation" : "")) && d(t, "class", N);
|
|
4871
4871
|
},
|
|
4872
|
-
d(
|
|
4873
|
-
|
|
4872
|
+
d(P) {
|
|
4873
|
+
P && D(t), e[52](null), R = !1, L();
|
|
4874
4874
|
}
|
|
4875
4875
|
};
|
|
4876
4876
|
}
|
|
4877
|
-
function
|
|
4877
|
+
function cs(e) {
|
|
4878
4878
|
let t;
|
|
4879
4879
|
function r(o, s) {
|
|
4880
4880
|
return (
|
|
4881
4881
|
/*isLoading*/
|
|
4882
4882
|
o[13] || /*isLoadingCustomStyling*/
|
|
4883
|
-
o[14] ?
|
|
4883
|
+
o[14] ? ss : os
|
|
4884
4884
|
);
|
|
4885
4885
|
}
|
|
4886
4886
|
let n = r(e), i = n(e);
|
|
4887
4887
|
return {
|
|
4888
4888
|
c() {
|
|
4889
|
-
t =
|
|
4889
|
+
t = A("div"), i.c();
|
|
4890
4890
|
},
|
|
4891
4891
|
m(o, s) {
|
|
4892
|
-
j(o, t, s), i.m(t, null), e[
|
|
4892
|
+
j(o, t, s), i.m(t, null), e[54](t);
|
|
4893
4893
|
},
|
|
4894
4894
|
p(o, s) {
|
|
4895
4895
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
4896
4896
|
},
|
|
4897
|
-
i:
|
|
4898
|
-
o:
|
|
4897
|
+
i: V,
|
|
4898
|
+
o: V,
|
|
4899
4899
|
d(o) {
|
|
4900
|
-
o && D(t), i.d(), e[
|
|
4900
|
+
o && D(t), i.d(), e[54](null);
|
|
4901
4901
|
}
|
|
4902
4902
|
};
|
|
4903
4903
|
}
|
|
4904
|
-
function
|
|
4904
|
+
function fs(e, t, r) {
|
|
4905
4905
|
let n;
|
|
4906
|
-
|
|
4907
|
-
let { endpoint: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { periodrecent: a = "Today" } = t, { periodtop: u = "Last7Days" } = t, { numberusersrecent: l = "20" } = t, { numberuserstop: c = "20" } = t, { amountlimit:
|
|
4908
|
-
const
|
|
4909
|
-
Object.keys(h).forEach((
|
|
4910
|
-
|
|
4906
|
+
Bn(e, No, (h) => r(18, n = h));
|
|
4907
|
+
let { endpoint: i = "" } = t, { session: o = "" } = t, { userid: s = "" } = t, { periodrecent: a = "Today" } = t, { periodtop: u = "Last7Days" } = t, { numberusersrecent: l = "20" } = t, { numberuserstop: c = "20" } = t, { amountlimit: m = "1" } = t, { recentamountlimit: f = "" } = t, { topamountlimit: p = "" } = t, { vendorCategory: g = "All" } = t, { lang: b = "en" } = t, { isrecentavailable: C = "true" } = t, { istopavailable: I = "true" } = t, { defaultcurrency: M = "" } = t, { usercurrency: T = "" } = t, { customcurrencysymbol: O } = t, { clientstyling: E = "" } = t, { clientstylingurl: N = "" } = t, { enableautoscroll: R = "" } = t, { tabsorder: L = "" } = t, { translationurl: y = "" } = t, { winnersdatasources: P = "" } = t, { hascustomstyling: x = "false" } = t, { mbsource: J } = t, { currencylocale: Oe = "" } = t, re, ge, Y, q = [], U = 0, F = 0, nn = window.navigator.userAgent, Mt, ye, Je, $, Ye = !0, Nt = !1, It = !1, Lt, Pe, qe, ve, Rt = [], Ke = !1, on, sn;
|
|
4908
|
+
const et = (h) => {
|
|
4909
|
+
Object.keys(h).forEach((W) => {
|
|
4910
|
+
Io(W, h[W]);
|
|
4911
4911
|
});
|
|
4912
|
-
},
|
|
4913
|
-
let h = new URL(
|
|
4914
|
-
fetch(h.href).then((
|
|
4915
|
-
|
|
4916
|
-
}).catch((
|
|
4917
|
-
console.log(
|
|
4912
|
+
}, an = () => {
|
|
4913
|
+
let h = new URL(y);
|
|
4914
|
+
fetch(h.href).then((W) => W.json()).then((W) => {
|
|
4915
|
+
et(W);
|
|
4916
|
+
}).catch((W) => {
|
|
4917
|
+
console.log(W);
|
|
4918
4918
|
});
|
|
4919
4919
|
};
|
|
4920
|
-
|
|
4921
|
-
const
|
|
4922
|
-
|
|
4923
|
-
return
|
|
4920
|
+
et(Ro);
|
|
4921
|
+
const Wt = () => {
|
|
4922
|
+
Rt = P.split(",").map(function(k) {
|
|
4923
|
+
return k.trim();
|
|
4924
4924
|
});
|
|
4925
|
-
const h = new URL(`${i}/v1/casino/${
|
|
4926
|
-
r(17,
|
|
4927
|
-
|
|
4925
|
+
const h = new URL(`${i}/v1/casino/${Y}-winners`);
|
|
4926
|
+
r(17, Ke = !0), h.searchParams.append("limit", Y == "recent" ? l : c), h.searchParams.append("specifiedCurrency", ve), h.searchParams.append("period", Y == "recent" ? a : u), h.searchParams.append("language", b);
|
|
4927
|
+
const W = (Y == "recent" ? f : p) || m;
|
|
4928
|
+
h.searchParams.append("amountLimit", W), h.searchParams.append("vendorCategory", g), Rt.forEach((k) => {
|
|
4929
|
+
h.searchParams.append("dataSource", k);
|
|
4928
4930
|
}), setTimeout(
|
|
4929
4931
|
() => {
|
|
4930
|
-
fetch(h.href).then((
|
|
4931
|
-
r(10,
|
|
4932
|
+
fetch(h.href).then((k) => k.json()).then(async (k) => {
|
|
4933
|
+
r(10, q = []), r(10, q = k.items.map((_e) => _e)), r(17, Ke = !1), await Xt(), cn(), Ft(), R == "true" && (clearInterval(Pe), hn()), r(13, Ye = !1), un();
|
|
4932
4934
|
});
|
|
4933
4935
|
},
|
|
4934
4936
|
1e3
|
|
4935
4937
|
);
|
|
4936
|
-
},
|
|
4937
|
-
const h =
|
|
4938
|
+
}, un = () => {
|
|
4939
|
+
const h = $.getRootNode().host;
|
|
4938
4940
|
h.dispatchEvent(new CustomEvent("data-loaded", { bubbles: !0, detail: { target: h } }));
|
|
4939
|
-
},
|
|
4940
|
-
|
|
4941
|
-
},
|
|
4941
|
+
}, tt = (h) => {
|
|
4942
|
+
Y !== h && (r(10, q = []), r(9, Y = h), Wt());
|
|
4943
|
+
}, ln = (h) => h.slice(0, 2) + h.slice(2, -2).replace(/./g, "*") + h.slice(-2), Ut = (h, W, k, _e) => {
|
|
4942
4944
|
window.postMessage(
|
|
4943
4945
|
{
|
|
4944
4946
|
type: "OpenCasinoWinnersGame",
|
|
4945
4947
|
gameId: h,
|
|
4946
|
-
launchUrl:
|
|
4947
|
-
gameName:
|
|
4948
|
-
subVendor:
|
|
4948
|
+
launchUrl: W,
|
|
4949
|
+
gameName: k,
|
|
4950
|
+
subVendor: _e
|
|
4949
4951
|
},
|
|
4950
4952
|
window.location.href
|
|
4951
4953
|
), typeof gtag == "function" && gtag("event", "OpenGame", {
|
|
4952
4954
|
context: "WinnersWidget",
|
|
4953
4955
|
gameId: `${h}`,
|
|
4954
|
-
userId: `${
|
|
4956
|
+
userId: `${Je || "Not logged in"}`
|
|
4955
4957
|
});
|
|
4956
|
-
},
|
|
4957
|
-
const
|
|
4958
|
-
|
|
4959
|
-
|
|
4958
|
+
}, Ft = (h = 0) => {
|
|
4959
|
+
const W = [...re.children];
|
|
4960
|
+
Lt = W.length, W.forEach((k, _e) => {
|
|
4961
|
+
k.style.transform = `translateX(${100 * (_e - h)}%)`;
|
|
4960
4962
|
}), setTimeout(
|
|
4961
4963
|
() => {
|
|
4962
|
-
r(15,
|
|
4964
|
+
r(15, It = !0);
|
|
4963
4965
|
},
|
|
4964
4966
|
10
|
|
4965
4967
|
);
|
|
4966
|
-
},
|
|
4967
|
-
U = 0, F <
|
|
4968
|
+
}, hn = () => {
|
|
4969
|
+
U = 0, F < Lt ? Pe = setInterval(
|
|
4968
4970
|
() => {
|
|
4969
|
-
|
|
4971
|
+
rt();
|
|
4970
4972
|
},
|
|
4971
4973
|
3e3
|
|
4972
|
-
) : clearInterval(
|
|
4973
|
-
},
|
|
4974
|
-
|
|
4975
|
-
},
|
|
4976
|
-
await
|
|
4977
|
-
const h =
|
|
4978
|
-
|
|
4974
|
+
) : clearInterval(Pe);
|
|
4975
|
+
}, Gt = () => {
|
|
4976
|
+
Ft(U);
|
|
4977
|
+
}, cn = async () => {
|
|
4978
|
+
await Xt(), requestAnimationFrame(() => {
|
|
4979
|
+
const h = ge ? ge.offsetWidth : 0;
|
|
4980
|
+
re.offsetWidth && h ? r(11, F = Math.floor(re.offsetWidth / h)) : r(11, F = 0);
|
|
4979
4981
|
});
|
|
4980
|
-
},
|
|
4981
|
-
if (F >=
|
|
4982
|
+
}, Dt = () => {
|
|
4983
|
+
if (F >= q.length)
|
|
4982
4984
|
return;
|
|
4983
|
-
const h =
|
|
4984
|
-
U === 0 ? U = h - F : U - F < 0 ? U = 0 : U = U - F,
|
|
4985
|
-
},
|
|
4986
|
-
if (F >=
|
|
4985
|
+
const h = q.length;
|
|
4986
|
+
U === 0 ? U = h - F : U - F < 0 ? U = 0 : U = U - F, Gt();
|
|
4987
|
+
}, rt = () => {
|
|
4988
|
+
if (F >= q.length)
|
|
4987
4989
|
return;
|
|
4988
|
-
const h =
|
|
4989
|
-
|
|
4990
|
-
},
|
|
4991
|
-
|
|
4992
|
-
},
|
|
4993
|
-
r(
|
|
4994
|
-
},
|
|
4995
|
-
r(
|
|
4996
|
-
},
|
|
4997
|
-
const
|
|
4998
|
-
return `${
|
|
4990
|
+
const h = q.length;
|
|
4991
|
+
R == "true" && (U === h - F ? U = 0 : U++), R == "false" && (U === h - F ? U = 0 : h - F < U + F ? U = h - F : U += F), Gt();
|
|
4992
|
+
}, fn = () => {
|
|
4993
|
+
Lo(b);
|
|
4994
|
+
}, mn = () => {
|
|
4995
|
+
r(45, ye = !0), Je = s;
|
|
4996
|
+
}, jt = () => {
|
|
4997
|
+
r(46, ve = ye ? T : M);
|
|
4998
|
+
}, dn = (h) => {
|
|
4999
|
+
const W = O ?? (ye ? T : M);
|
|
5000
|
+
return `${Oe ? Intl.NumberFormat(Oe, {
|
|
4999
5001
|
minimumFractionDigits: 2,
|
|
5000
5002
|
maximumFractionDigits: 2,
|
|
5001
5003
|
style: "currency",
|
|
5002
|
-
currency:
|
|
5003
|
-
}).format(h).replace(/\s/g, "") : h.toFixed(2)}<span class="CurrencySymbol">${
|
|
5004
|
-
},
|
|
5005
|
-
|
|
5006
|
-
},
|
|
5007
|
-
r(16,
|
|
5004
|
+
currency: ve
|
|
5005
|
+
}).format(h).replace(/\s/g, "") : h.toFixed(2)}<span class="CurrencySymbol">${W}</span>`;
|
|
5006
|
+
}, pn = () => {
|
|
5007
|
+
x === "true" && (!E && !N && $ && console.error("clientstyling or clientstylingurl mandatory if hascustomstyling is true"), !E && N && r(14, Nt = !0));
|
|
5008
|
+
}, bn = () => {
|
|
5009
|
+
r(16, qe = L.split(",")), r(9, Y = qe[0]), jt(), r(13, Ye = !1);
|
|
5008
5010
|
};
|
|
5009
|
-
|
|
5010
|
-
clearInterval(
|
|
5011
|
+
Nn(() => (r(12, Mt = Yo(nn)), () => {
|
|
5012
|
+
clearInterval(Pe);
|
|
5011
5013
|
}));
|
|
5012
|
-
const
|
|
5013
|
-
function
|
|
5014
|
-
|
|
5015
|
-
|
|
5014
|
+
const gn = () => tt("recent"), yn = () => tt("top"), vn = () => Dt(), _n = () => rt(), En = (h) => Ut(h.gameId, h.gameModel.launchUrl, h.gameModel.name, h.gameModel.subVendor);
|
|
5015
|
+
function xn(h) {
|
|
5016
|
+
we[h ? "unshift" : "push"](() => {
|
|
5017
|
+
ge = h, r(8, ge);
|
|
5016
5018
|
});
|
|
5017
5019
|
}
|
|
5018
|
-
function
|
|
5019
|
-
|
|
5020
|
-
|
|
5020
|
+
function wn(h) {
|
|
5021
|
+
we[h ? "unshift" : "push"](() => {
|
|
5022
|
+
re = h, r(7, re);
|
|
5021
5023
|
});
|
|
5022
5024
|
}
|
|
5023
|
-
function
|
|
5024
|
-
|
|
5025
|
-
|
|
5025
|
+
function Sn(h) {
|
|
5026
|
+
we[h ? "unshift" : "push"](() => {
|
|
5027
|
+
$ = h, r(6, $);
|
|
5026
5028
|
});
|
|
5027
5029
|
}
|
|
5028
5030
|
return e.$$set = (h) => {
|
|
5029
|
-
"endpoint" in h && r(25, i = h.endpoint), "session" in h && r(26, o = h.session), "userid" in h && r(27, s = h.userid), "periodrecent" in h && r(28, a = h.periodrecent), "periodtop" in h && r(29, u = h.periodtop), "numberusersrecent" in h && r(30, l = h.numberusersrecent), "numberuserstop" in h && r(31, c = h.numberuserstop), "amountlimit" in h && r(32,
|
|
5031
|
+
"endpoint" in h && r(25, i = h.endpoint), "session" in h && r(26, o = h.session), "userid" in h && r(27, s = h.userid), "periodrecent" in h && r(28, a = h.periodrecent), "periodtop" in h && r(29, u = h.periodtop), "numberusersrecent" in h && r(30, l = h.numberusersrecent), "numberuserstop" in h && r(31, c = h.numberuserstop), "amountlimit" in h && r(32, m = h.amountlimit), "recentamountlimit" in h && r(33, f = h.recentamountlimit), "topamountlimit" in h && r(34, p = h.topamountlimit), "vendorCategory" in h && r(35, g = h.vendorCategory), "lang" in h && r(36, b = h.lang), "isrecentavailable" in h && r(0, C = h.isrecentavailable), "istopavailable" in h && r(1, I = h.istopavailable), "defaultcurrency" in h && r(37, M = h.defaultcurrency), "usercurrency" in h && r(38, T = h.usercurrency), "customcurrencysymbol" in h && r(39, O = h.customcurrencysymbol), "clientstyling" in h && r(2, E = h.clientstyling), "clientstylingurl" in h && r(3, N = h.clientstylingurl), "enableautoscroll" in h && r(4, R = h.enableautoscroll), "tabsorder" in h && r(40, L = h.tabsorder), "translationurl" in h && r(41, y = h.translationurl), "winnersdatasources" in h && r(42, P = h.winnersdatasources), "hascustomstyling" in h && r(43, x = h.hascustomstyling), "mbsource" in h && r(5, J = h.mbsource), "currencylocale" in h && r(44, Oe = h.currencylocale);
|
|
5030
5032
|
}, e.$$.update = () => {
|
|
5031
5033
|
e.$$.dirty[0] & /*isrecentavailable, istopavailable, periodrecent, periodtop, numberusersrecent*/
|
|
5032
5034
|
1879048195 | e.$$.dirty[1] & /*numberuserstop, amountlimit, vendorCategory, lang, tabsorder*/
|
|
5033
|
-
|
|
5034
|
-
67108864 && o &&
|
|
5035
|
-
|
|
5035
|
+
563 && C && I && a && u && l && c && m && g && b && L && bn(), e.$$.dirty[0] & /*session*/
|
|
5036
|
+
67108864 && o && mn(), e.$$.dirty[1] & /*isLoggedIn, usercurrency, defaultcurrency*/
|
|
5037
|
+
16576 && ye && (T || M) && jt(), e.$$.dirty[0] & /*endpoint*/
|
|
5036
5038
|
33554432 | e.$$.dirty[1] & /*winnersdatasources, currency*/
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5039
|
+
34816 && i && P && ve && Wt(), e.$$.dirty[1] & /*lang*/
|
|
5040
|
+
32 && b && fn(), e.$$.dirty[1] & /*translationurl*/
|
|
5041
|
+
1024 && y && an(), e.$$.dirty[0] & /*mbsource*/
|
|
5040
5042
|
32 | e.$$.dirty[1] & /*translationurl*/
|
|
5041
|
-
|
|
5042
|
-
|
|
5043
|
-
68 &&
|
|
5044
|
-
72 &&
|
|
5045
|
-
96 &&
|
|
5043
|
+
1024 && J && !y && ns(`${J}.Translation`, sn, et), e.$$.dirty[1] & /*hascustomstyling*/
|
|
5044
|
+
4096 && x && pn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
5045
|
+
68 && E && $ && qo($, E), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
5046
|
+
72 && N && $ && Ko($, N), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
5047
|
+
96 && $ && es($, `${J}.Style`, on);
|
|
5046
5048
|
}, [
|
|
5047
|
-
|
|
5048
|
-
|
|
5049
|
-
S,
|
|
5050
|
-
B,
|
|
5049
|
+
C,
|
|
5050
|
+
I,
|
|
5051
5051
|
E,
|
|
5052
|
-
|
|
5053
|
-
|
|
5054
|
-
Z,
|
|
5055
|
-
be,
|
|
5056
|
-
K,
|
|
5052
|
+
N,
|
|
5053
|
+
R,
|
|
5057
5054
|
J,
|
|
5055
|
+
$,
|
|
5056
|
+
re,
|
|
5057
|
+
ge,
|
|
5058
|
+
Y,
|
|
5059
|
+
q,
|
|
5058
5060
|
F,
|
|
5059
|
-
Ot,
|
|
5060
|
-
Ze,
|
|
5061
|
-
Pt,
|
|
5062
5061
|
Mt,
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5062
|
+
Ye,
|
|
5063
|
+
Nt,
|
|
5064
|
+
It,
|
|
5066
5065
|
qe,
|
|
5067
|
-
an,
|
|
5068
|
-
Rt,
|
|
5069
|
-
Ft,
|
|
5070
5066
|
Ke,
|
|
5071
|
-
|
|
5067
|
+
n,
|
|
5068
|
+
tt,
|
|
5069
|
+
ln,
|
|
5070
|
+
Ut,
|
|
5071
|
+
Dt,
|
|
5072
|
+
rt,
|
|
5073
|
+
dn,
|
|
5072
5074
|
i,
|
|
5073
5075
|
o,
|
|
5074
5076
|
s,
|
|
@@ -5076,37 +5078,39 @@ function hs(e, t, r) {
|
|
|
5076
5078
|
u,
|
|
5077
5079
|
l,
|
|
5078
5080
|
c,
|
|
5079
|
-
|
|
5081
|
+
m,
|
|
5080
5082
|
f,
|
|
5081
5083
|
p,
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
+
g,
|
|
5085
|
+
b,
|
|
5086
|
+
M,
|
|
5087
|
+
T,
|
|
5088
|
+
O,
|
|
5084
5089
|
L,
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
I,
|
|
5088
|
-
v,
|
|
5090
|
+
y,
|
|
5091
|
+
P,
|
|
5089
5092
|
x,
|
|
5090
|
-
|
|
5093
|
+
Oe,
|
|
5091
5094
|
ye,
|
|
5092
|
-
|
|
5093
|
-
bn,
|
|
5095
|
+
ve,
|
|
5094
5096
|
gn,
|
|
5095
5097
|
yn,
|
|
5096
5098
|
vn,
|
|
5097
5099
|
_n,
|
|
5098
5100
|
En,
|
|
5099
|
-
xn
|
|
5101
|
+
xn,
|
|
5102
|
+
wn,
|
|
5103
|
+
Sn
|
|
5100
5104
|
];
|
|
5101
5105
|
}
|
|
5102
|
-
class
|
|
5106
|
+
class ms extends kn {
|
|
5103
5107
|
constructor(t) {
|
|
5104
|
-
super(),
|
|
5108
|
+
super(), Dn(
|
|
5105
5109
|
this,
|
|
5106
5110
|
t,
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5111
|
+
fs,
|
|
5112
|
+
cs,
|
|
5113
|
+
Er,
|
|
5110
5114
|
{
|
|
5111
5115
|
endpoint: 25,
|
|
5112
5116
|
session: 26,
|
|
@@ -5116,24 +5120,26 @@ class cs extends Dn {
|
|
|
5116
5120
|
numberusersrecent: 30,
|
|
5117
5121
|
numberuserstop: 31,
|
|
5118
5122
|
amountlimit: 32,
|
|
5119
|
-
|
|
5120
|
-
|
|
5123
|
+
recentamountlimit: 33,
|
|
5124
|
+
topamountlimit: 34,
|
|
5125
|
+
vendorCategory: 35,
|
|
5126
|
+
lang: 36,
|
|
5121
5127
|
isrecentavailable: 0,
|
|
5122
5128
|
istopavailable: 1,
|
|
5123
|
-
defaultcurrency:
|
|
5124
|
-
usercurrency:
|
|
5125
|
-
customcurrencysymbol:
|
|
5129
|
+
defaultcurrency: 37,
|
|
5130
|
+
usercurrency: 38,
|
|
5131
|
+
customcurrencysymbol: 39,
|
|
5126
5132
|
clientstyling: 2,
|
|
5127
5133
|
clientstylingurl: 3,
|
|
5128
5134
|
enableautoscroll: 4,
|
|
5129
|
-
tabsorder:
|
|
5130
|
-
translationurl:
|
|
5131
|
-
winnersdatasources:
|
|
5132
|
-
hascustomstyling:
|
|
5135
|
+
tabsorder: 40,
|
|
5136
|
+
translationurl: 41,
|
|
5137
|
+
winnersdatasources: 42,
|
|
5138
|
+
hascustomstyling: 43,
|
|
5133
5139
|
mbsource: 5,
|
|
5134
|
-
currencylocale:
|
|
5140
|
+
currencylocale: 44
|
|
5135
5141
|
},
|
|
5136
|
-
|
|
5142
|
+
is,
|
|
5137
5143
|
[-1, -1, -1]
|
|
5138
5144
|
);
|
|
5139
5145
|
}
|
|
@@ -5141,163 +5147,175 @@ class cs extends Dn {
|
|
|
5141
5147
|
return this.$$.ctx[25];
|
|
5142
5148
|
}
|
|
5143
5149
|
set endpoint(t) {
|
|
5144
|
-
this.$$set({ endpoint: t }),
|
|
5150
|
+
this.$$set({ endpoint: t }), S();
|
|
5145
5151
|
}
|
|
5146
5152
|
get session() {
|
|
5147
5153
|
return this.$$.ctx[26];
|
|
5148
5154
|
}
|
|
5149
5155
|
set session(t) {
|
|
5150
|
-
this.$$set({ session: t }),
|
|
5156
|
+
this.$$set({ session: t }), S();
|
|
5151
5157
|
}
|
|
5152
5158
|
get userid() {
|
|
5153
5159
|
return this.$$.ctx[27];
|
|
5154
5160
|
}
|
|
5155
5161
|
set userid(t) {
|
|
5156
|
-
this.$$set({ userid: t }),
|
|
5162
|
+
this.$$set({ userid: t }), S();
|
|
5157
5163
|
}
|
|
5158
5164
|
get periodrecent() {
|
|
5159
5165
|
return this.$$.ctx[28];
|
|
5160
5166
|
}
|
|
5161
5167
|
set periodrecent(t) {
|
|
5162
|
-
this.$$set({ periodrecent: t }),
|
|
5168
|
+
this.$$set({ periodrecent: t }), S();
|
|
5163
5169
|
}
|
|
5164
5170
|
get periodtop() {
|
|
5165
5171
|
return this.$$.ctx[29];
|
|
5166
5172
|
}
|
|
5167
5173
|
set periodtop(t) {
|
|
5168
|
-
this.$$set({ periodtop: t }),
|
|
5174
|
+
this.$$set({ periodtop: t }), S();
|
|
5169
5175
|
}
|
|
5170
5176
|
get numberusersrecent() {
|
|
5171
5177
|
return this.$$.ctx[30];
|
|
5172
5178
|
}
|
|
5173
5179
|
set numberusersrecent(t) {
|
|
5174
|
-
this.$$set({ numberusersrecent: t }),
|
|
5180
|
+
this.$$set({ numberusersrecent: t }), S();
|
|
5175
5181
|
}
|
|
5176
5182
|
get numberuserstop() {
|
|
5177
5183
|
return this.$$.ctx[31];
|
|
5178
5184
|
}
|
|
5179
5185
|
set numberuserstop(t) {
|
|
5180
|
-
this.$$set({ numberuserstop: t }),
|
|
5186
|
+
this.$$set({ numberuserstop: t }), S();
|
|
5181
5187
|
}
|
|
5182
5188
|
get amountlimit() {
|
|
5183
5189
|
return this.$$.ctx[32];
|
|
5184
5190
|
}
|
|
5185
5191
|
set amountlimit(t) {
|
|
5186
|
-
this.$$set({ amountlimit: t }),
|
|
5192
|
+
this.$$set({ amountlimit: t }), S();
|
|
5187
5193
|
}
|
|
5188
|
-
get
|
|
5194
|
+
get recentamountlimit() {
|
|
5189
5195
|
return this.$$.ctx[33];
|
|
5190
5196
|
}
|
|
5197
|
+
set recentamountlimit(t) {
|
|
5198
|
+
this.$$set({ recentamountlimit: t }), S();
|
|
5199
|
+
}
|
|
5200
|
+
get topamountlimit() {
|
|
5201
|
+
return this.$$.ctx[34];
|
|
5202
|
+
}
|
|
5203
|
+
set topamountlimit(t) {
|
|
5204
|
+
this.$$set({ topamountlimit: t }), S();
|
|
5205
|
+
}
|
|
5206
|
+
get vendorCategory() {
|
|
5207
|
+
return this.$$.ctx[35];
|
|
5208
|
+
}
|
|
5191
5209
|
set vendorCategory(t) {
|
|
5192
|
-
this.$$set({ vendorCategory: t }),
|
|
5210
|
+
this.$$set({ vendorCategory: t }), S();
|
|
5193
5211
|
}
|
|
5194
5212
|
get lang() {
|
|
5195
|
-
return this.$$.ctx[
|
|
5213
|
+
return this.$$.ctx[36];
|
|
5196
5214
|
}
|
|
5197
5215
|
set lang(t) {
|
|
5198
|
-
this.$$set({ lang: t }),
|
|
5216
|
+
this.$$set({ lang: t }), S();
|
|
5199
5217
|
}
|
|
5200
5218
|
get isrecentavailable() {
|
|
5201
5219
|
return this.$$.ctx[0];
|
|
5202
5220
|
}
|
|
5203
5221
|
set isrecentavailable(t) {
|
|
5204
|
-
this.$$set({ isrecentavailable: t }),
|
|
5222
|
+
this.$$set({ isrecentavailable: t }), S();
|
|
5205
5223
|
}
|
|
5206
5224
|
get istopavailable() {
|
|
5207
5225
|
return this.$$.ctx[1];
|
|
5208
5226
|
}
|
|
5209
5227
|
set istopavailable(t) {
|
|
5210
|
-
this.$$set({ istopavailable: t }),
|
|
5228
|
+
this.$$set({ istopavailable: t }), S();
|
|
5211
5229
|
}
|
|
5212
5230
|
get defaultcurrency() {
|
|
5213
|
-
return this.$$.ctx[
|
|
5231
|
+
return this.$$.ctx[37];
|
|
5214
5232
|
}
|
|
5215
5233
|
set defaultcurrency(t) {
|
|
5216
|
-
this.$$set({ defaultcurrency: t }),
|
|
5234
|
+
this.$$set({ defaultcurrency: t }), S();
|
|
5217
5235
|
}
|
|
5218
5236
|
get usercurrency() {
|
|
5219
|
-
return this.$$.ctx[
|
|
5237
|
+
return this.$$.ctx[38];
|
|
5220
5238
|
}
|
|
5221
5239
|
set usercurrency(t) {
|
|
5222
|
-
this.$$set({ usercurrency: t }),
|
|
5240
|
+
this.$$set({ usercurrency: t }), S();
|
|
5223
5241
|
}
|
|
5224
5242
|
get customcurrencysymbol() {
|
|
5225
|
-
return this.$$.ctx[
|
|
5243
|
+
return this.$$.ctx[39];
|
|
5226
5244
|
}
|
|
5227
5245
|
set customcurrencysymbol(t) {
|
|
5228
|
-
this.$$set({ customcurrencysymbol: t }),
|
|
5246
|
+
this.$$set({ customcurrencysymbol: t }), S();
|
|
5229
5247
|
}
|
|
5230
5248
|
get clientstyling() {
|
|
5231
5249
|
return this.$$.ctx[2];
|
|
5232
5250
|
}
|
|
5233
5251
|
set clientstyling(t) {
|
|
5234
|
-
this.$$set({ clientstyling: t }),
|
|
5252
|
+
this.$$set({ clientstyling: t }), S();
|
|
5235
5253
|
}
|
|
5236
5254
|
get clientstylingurl() {
|
|
5237
5255
|
return this.$$.ctx[3];
|
|
5238
5256
|
}
|
|
5239
5257
|
set clientstylingurl(t) {
|
|
5240
|
-
this.$$set({ clientstylingurl: t }),
|
|
5258
|
+
this.$$set({ clientstylingurl: t }), S();
|
|
5241
5259
|
}
|
|
5242
5260
|
get enableautoscroll() {
|
|
5243
5261
|
return this.$$.ctx[4];
|
|
5244
5262
|
}
|
|
5245
5263
|
set enableautoscroll(t) {
|
|
5246
|
-
this.$$set({ enableautoscroll: t }),
|
|
5264
|
+
this.$$set({ enableautoscroll: t }), S();
|
|
5247
5265
|
}
|
|
5248
5266
|
get tabsorder() {
|
|
5249
|
-
return this.$$.ctx[
|
|
5267
|
+
return this.$$.ctx[40];
|
|
5250
5268
|
}
|
|
5251
5269
|
set tabsorder(t) {
|
|
5252
|
-
this.$$set({ tabsorder: t }),
|
|
5270
|
+
this.$$set({ tabsorder: t }), S();
|
|
5253
5271
|
}
|
|
5254
5272
|
get translationurl() {
|
|
5255
|
-
return this.$$.ctx[
|
|
5273
|
+
return this.$$.ctx[41];
|
|
5256
5274
|
}
|
|
5257
5275
|
set translationurl(t) {
|
|
5258
|
-
this.$$set({ translationurl: t }),
|
|
5276
|
+
this.$$set({ translationurl: t }), S();
|
|
5259
5277
|
}
|
|
5260
5278
|
get winnersdatasources() {
|
|
5261
|
-
return this.$$.ctx[
|
|
5279
|
+
return this.$$.ctx[42];
|
|
5262
5280
|
}
|
|
5263
5281
|
set winnersdatasources(t) {
|
|
5264
|
-
this.$$set({ winnersdatasources: t }),
|
|
5282
|
+
this.$$set({ winnersdatasources: t }), S();
|
|
5265
5283
|
}
|
|
5266
5284
|
get hascustomstyling() {
|
|
5267
|
-
return this.$$.ctx[
|
|
5285
|
+
return this.$$.ctx[43];
|
|
5268
5286
|
}
|
|
5269
5287
|
set hascustomstyling(t) {
|
|
5270
|
-
this.$$set({ hascustomstyling: t }),
|
|
5288
|
+
this.$$set({ hascustomstyling: t }), S();
|
|
5271
5289
|
}
|
|
5272
5290
|
get mbsource() {
|
|
5273
5291
|
return this.$$.ctx[5];
|
|
5274
5292
|
}
|
|
5275
5293
|
set mbsource(t) {
|
|
5276
|
-
this.$$set({ mbsource: t }),
|
|
5294
|
+
this.$$set({ mbsource: t }), S();
|
|
5277
5295
|
}
|
|
5278
5296
|
get currencylocale() {
|
|
5279
|
-
return this.$$.ctx[
|
|
5297
|
+
return this.$$.ctx[44];
|
|
5280
5298
|
}
|
|
5281
5299
|
set currencylocale(t) {
|
|
5282
|
-
this.$$set({ currencylocale: t }),
|
|
5300
|
+
this.$$set({ currencylocale: t }), S();
|
|
5283
5301
|
}
|
|
5284
5302
|
}
|
|
5285
|
-
|
|
5303
|
+
jn(ms, { endpoint: {}, session: {}, userid: {}, periodrecent: {}, periodtop: {}, numberusersrecent: {}, numberuserstop: {}, amountlimit: {}, recentamountlimit: {}, topamountlimit: {}, vendorCategory: {}, lang: {}, isrecentavailable: {}, istopavailable: {}, defaultcurrency: {}, usercurrency: {}, customcurrencysymbol: {}, clientstyling: {}, clientstylingurl: {}, enableautoscroll: {}, tabsorder: {}, translationurl: {}, winnersdatasources: {}, hascustomstyling: {}, mbsource: {}, currencylocale: {} }, [], [], !0);
|
|
5286
5304
|
export {
|
|
5287
|
-
|
|
5288
|
-
|
|
5289
|
-
|
|
5305
|
+
ms as C,
|
|
5306
|
+
kn as S,
|
|
5307
|
+
Hn as a,
|
|
5290
5308
|
j as b,
|
|
5291
|
-
|
|
5309
|
+
jn as c,
|
|
5292
5310
|
D as d,
|
|
5293
|
-
|
|
5294
|
-
|
|
5295
|
-
|
|
5296
|
-
|
|
5297
|
-
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5301
|
-
|
|
5302
|
-
|
|
5311
|
+
A as e,
|
|
5312
|
+
S as f,
|
|
5313
|
+
we as g,
|
|
5314
|
+
qo as h,
|
|
5315
|
+
Dn as i,
|
|
5316
|
+
Ko as j,
|
|
5317
|
+
es as k,
|
|
5318
|
+
V as n,
|
|
5319
|
+
Nn as o,
|
|
5320
|
+
Er as s
|
|
5303
5321
|
};
|