@everymatrix/casino-categories-slider 1.61.1 → 1.62.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategoriesSlider-DMp9E6ZU.js → CasinoCategoriesSlider-BBAXVRNi.js} +828 -786
- package/components/CasinoCategoriesSlider-BLnLsqGT.cjs +18 -0
- package/components/{CasinoCategoriesSlider-Wb7NifNx.js → CasinoCategoriesSlider-yLDKhmjV.js} +844 -802
- package/components/{CasinoSlider-CpTqnanI.js → CasinoSlider-Bu5cvdqr.js} +208 -209
- package/components/{CasinoSlider-BKAL5Uy4.js → CasinoSlider-DAdBGKKb.js} +141 -142
- package/components/CasinoSlider-NWcQiku5.cjs +1 -0
- package/es2015/casino-categories-slider.cjs +1 -1
- package/es2015/casino-categories-slider.js +1 -1
- package/esnext/casino-categories-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesSlider-CcROtmEV.cjs +0 -18
- package/components/CasinoSlider-DSB0sHpO.cjs +0 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/index-b7bbd57e-BBUBsGhp.js +0 -550
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +0 -1
- package/stencil/index-b7bbd57e-wJC_uAuk.js +0 -534
- package/stencil/ui-image-38c3c15f-ByZECnci.js +0 -39
- package/stencil/ui-image-38c3c15f-D_V48h1L.js +0 -39
- package/stencil/ui-image-38c3c15f-VguNkCIq.cjs +0 -1
- package/stencil/ui-image-BNrzgSpe.js +0 -11
- package/stencil/ui-image-CLghOqUz.cjs +0 -1
- package/stencil/ui-image-CPH6BqjQ.js +0 -29
package/components/{CasinoCategoriesSlider-Wb7NifNx.js → CasinoCategoriesSlider-yLDKhmjV.js}
RENAMED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var
|
1
|
+
var $r = Object.defineProperty, Fr = Object.defineProperties;
|
2
|
+
var jr = Object.getOwnPropertyDescriptors;
|
3
|
+
var gt = Object.getOwnPropertySymbols;
|
4
|
+
var kr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Ge = (e, t, r) => t in e ? $r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
kr.call(t, r) && Ge(e, r, t[r]);
|
8
|
+
if (gt)
|
9
|
+
for (var r of gt(t))
|
10
|
+
Vr.call(t, r) && Ge(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var M = (e, t, r) => (
|
14
|
-
var
|
12
|
+
}, vt = (e, t) => Fr(e, jr(t));
|
13
|
+
var M = (e, t, r) => (Ge(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var _t = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var s = (h) => {
|
16
16
|
try {
|
17
17
|
a(r.next(h));
|
@@ -29,29 +29,29 @@ var bt = (e, t, r) => new Promise((n, i) => {
|
|
29
29
|
});
|
30
30
|
function P() {
|
31
31
|
}
|
32
|
-
function
|
32
|
+
function Xt(e) {
|
33
33
|
return e();
|
34
34
|
}
|
35
|
-
function
|
35
|
+
function Et() {
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
37
37
|
}
|
38
|
-
function
|
39
|
-
e.forEach(
|
38
|
+
function re(e) {
|
39
|
+
e.forEach(Xt);
|
40
40
|
}
|
41
|
-
function
|
41
|
+
function Ae(e) {
|
42
42
|
return typeof e == "function";
|
43
43
|
}
|
44
|
-
function
|
44
|
+
function Wt(e, t) {
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
46
46
|
}
|
47
47
|
let ge;
|
48
|
-
function
|
48
|
+
function Bs(e, t) {
|
49
49
|
return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
|
50
50
|
}
|
51
|
-
function
|
51
|
+
function Xr(e) {
|
52
52
|
return Object.keys(e).length === 0;
|
53
53
|
}
|
54
|
-
function
|
54
|
+
function zt(e, ...t) {
|
55
55
|
if (e == null) {
|
56
56
|
for (const n of t)
|
57
57
|
n(void 0);
|
@@ -60,23 +60,23 @@ function jt(e, ...t) {
|
|
60
60
|
const r = e.subscribe(...t);
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
62
62
|
}
|
63
|
-
function
|
64
|
-
e.$$.on_destroy.push(
|
63
|
+
function Wr(e, t, r) {
|
64
|
+
e.$$.on_destroy.push(zt(t, r));
|
65
65
|
}
|
66
|
-
function
|
67
|
-
return e &&
|
66
|
+
function zr(e) {
|
67
|
+
return e && Ae(e.destroy) ? e.destroy : P;
|
68
68
|
}
|
69
|
-
function
|
69
|
+
function Zt(e, t) {
|
70
70
|
e.appendChild(t);
|
71
71
|
}
|
72
|
-
function
|
73
|
-
const n =
|
72
|
+
function Zr(e, t, r) {
|
73
|
+
const n = Qr(e);
|
74
74
|
if (!n.getElementById(t)) {
|
75
75
|
const i = V("style");
|
76
|
-
i.id = t, i.textContent = r,
|
76
|
+
i.id = t, i.textContent = r, Yr(n, i);
|
77
77
|
}
|
78
78
|
}
|
79
|
-
function
|
79
|
+
function Qr(e) {
|
80
80
|
if (!e)
|
81
81
|
return document;
|
82
82
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -86,53 +86,53 @@ function Vr(e) {
|
|
86
86
|
t
|
87
87
|
) : e.ownerDocument;
|
88
88
|
}
|
89
|
-
function
|
90
|
-
return
|
89
|
+
function Yr(e, t) {
|
90
|
+
return Zt(
|
91
91
|
/** @type {Document} */
|
92
92
|
e.head || e,
|
93
93
|
t
|
94
94
|
), t.sheet;
|
95
95
|
}
|
96
|
-
function
|
96
|
+
function ce(e, t, r) {
|
97
97
|
e.insertBefore(t, r || null);
|
98
98
|
}
|
99
|
-
function
|
99
|
+
function ne(e) {
|
100
100
|
e.parentNode && e.parentNode.removeChild(e);
|
101
101
|
}
|
102
|
-
function
|
102
|
+
function Ps(e, t) {
|
103
103
|
for (let r = 0; r < e.length; r += 1)
|
104
104
|
e[r] && e[r].d(t);
|
105
105
|
}
|
106
106
|
function V(e) {
|
107
107
|
return document.createElement(e);
|
108
108
|
}
|
109
|
-
function
|
109
|
+
function Qt(e) {
|
110
110
|
return document.createTextNode(e);
|
111
111
|
}
|
112
|
-
function
|
113
|
-
return
|
112
|
+
function Os() {
|
113
|
+
return Qt(" ");
|
114
114
|
}
|
115
|
-
function
|
116
|
-
return
|
115
|
+
function Ns() {
|
116
|
+
return Qt("");
|
117
117
|
}
|
118
|
-
function
|
118
|
+
function Ls(e, t, r, n) {
|
119
119
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
120
120
|
}
|
121
|
-
function
|
121
|
+
function fe(e, t, r) {
|
122
122
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
123
123
|
}
|
124
|
-
function
|
124
|
+
function v(e, t, r) {
|
125
125
|
const n = t.toLowerCase();
|
126
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
126
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : fe(e, t, r);
|
127
127
|
}
|
128
|
-
function
|
128
|
+
function qr(e) {
|
129
129
|
return Array.from(e.childNodes);
|
130
130
|
}
|
131
|
-
function
|
131
|
+
function Is(e, t) {
|
132
132
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
133
133
|
t);
|
134
134
|
}
|
135
|
-
function
|
135
|
+
function Jr(e) {
|
136
136
|
const t = {};
|
137
137
|
return e.childNodes.forEach(
|
138
138
|
/** @param {Element} node */
|
@@ -141,123 +141,123 @@ function zr(e) {
|
|
141
141
|
}
|
142
142
|
), t;
|
143
143
|
}
|
144
|
-
let
|
145
|
-
function
|
146
|
-
|
144
|
+
let ue;
|
145
|
+
function ae(e) {
|
146
|
+
ue = e;
|
147
147
|
}
|
148
|
-
function
|
149
|
-
if (!
|
148
|
+
function Kr() {
|
149
|
+
if (!ue)
|
150
150
|
throw new Error("Function called outside component initialization");
|
151
|
-
return
|
151
|
+
return ue;
|
152
152
|
}
|
153
|
-
function
|
154
|
-
|
153
|
+
function en(e) {
|
154
|
+
Kr().$$.on_mount.push(e);
|
155
155
|
}
|
156
|
-
const Y = [],
|
156
|
+
const Y = [], We = [];
|
157
157
|
let q = [];
|
158
|
-
const
|
159
|
-
let
|
160
|
-
function
|
161
|
-
|
158
|
+
const xt = [], Yt = /* @__PURE__ */ Promise.resolve();
|
159
|
+
let ze = !1;
|
160
|
+
function qt() {
|
161
|
+
ze || (ze = !0, Yt.then(x));
|
162
162
|
}
|
163
|
-
function
|
164
|
-
return
|
163
|
+
function tn() {
|
164
|
+
return qt(), Yt;
|
165
165
|
}
|
166
|
-
function
|
166
|
+
function Ze(e) {
|
167
167
|
q.push(e);
|
168
168
|
}
|
169
|
-
const
|
169
|
+
const Ue = /* @__PURE__ */ new Set();
|
170
170
|
let Z = 0;
|
171
|
-
function
|
171
|
+
function x() {
|
172
172
|
if (Z !== 0)
|
173
173
|
return;
|
174
|
-
const e =
|
174
|
+
const e = ue;
|
175
175
|
do {
|
176
176
|
try {
|
177
177
|
for (; Z < Y.length; ) {
|
178
178
|
const t = Y[Z];
|
179
|
-
Z++,
|
179
|
+
Z++, ae(t), rn(t.$$);
|
180
180
|
}
|
181
181
|
} catch (t) {
|
182
182
|
throw Y.length = 0, Z = 0, t;
|
183
183
|
}
|
184
|
-
for (
|
185
|
-
|
184
|
+
for (ae(null), Y.length = 0, Z = 0; We.length; )
|
185
|
+
We.pop()();
|
186
186
|
for (let t = 0; t < q.length; t += 1) {
|
187
187
|
const r = q[t];
|
188
|
-
|
188
|
+
Ue.has(r) || (Ue.add(r), r());
|
189
189
|
}
|
190
190
|
q.length = 0;
|
191
191
|
} while (Y.length);
|
192
|
-
for (;
|
193
|
-
|
194
|
-
|
192
|
+
for (; xt.length; )
|
193
|
+
xt.pop()();
|
194
|
+
ze = !1, Ue.clear(), ae(e);
|
195
195
|
}
|
196
|
-
function
|
196
|
+
function rn(e) {
|
197
197
|
if (e.fragment !== null) {
|
198
|
-
e.update(),
|
198
|
+
e.update(), re(e.before_update);
|
199
199
|
const t = e.dirty;
|
200
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
200
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
|
201
201
|
}
|
202
202
|
}
|
203
|
-
function
|
203
|
+
function nn(e) {
|
204
204
|
const t = [], r = [];
|
205
205
|
q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
|
206
206
|
}
|
207
|
-
const
|
208
|
-
function
|
209
|
-
e && e.i && (
|
207
|
+
const sn = /* @__PURE__ */ new Set();
|
208
|
+
function Jt(e, t) {
|
209
|
+
e && e.i && (sn.delete(e), e.i(t));
|
210
210
|
}
|
211
|
-
function
|
211
|
+
function Cs(e) {
|
212
212
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
213
213
|
}
|
214
|
-
function
|
214
|
+
function Ms(e, t) {
|
215
215
|
e.d(1), t.delete(e.key);
|
216
216
|
}
|
217
|
-
function
|
217
|
+
function Rs(e, t, r, n, i, s, o, a, h, u, l, m) {
|
218
218
|
let c = e.length, d = s.length, b = c;
|
219
219
|
const y = {};
|
220
220
|
for (; b--; )
|
221
221
|
y[e[b].key] = b;
|
222
|
-
const T = [], C = /* @__PURE__ */ new Map(),
|
222
|
+
const T = [], C = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map(), w = [];
|
223
223
|
for (b = d; b--; ) {
|
224
|
-
const
|
224
|
+
const _ = m(i, s, b), A = r(_);
|
225
225
|
let I = o.get(A);
|
226
|
-
I ? w.push(() => I.p(
|
226
|
+
I ? w.push(() => I.p(_, t)) : (I = u(A, _), I.c()), C.set(A, T[b] = I), A in y && O.set(A, Math.abs(b - y[A]));
|
227
227
|
}
|
228
|
-
const
|
229
|
-
function R(
|
230
|
-
|
228
|
+
const N = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
229
|
+
function R(_) {
|
230
|
+
Jt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
231
231
|
}
|
232
232
|
for (; c && d; ) {
|
233
|
-
const
|
234
|
-
|
233
|
+
const _ = T[d - 1], A = e[c - 1], I = _.key, F = A.key;
|
234
|
+
_ === A ? (l = _.first, c--, d--) : C.has(F) ? !o.has(I) || N.has(I) ? R(_) : L.has(F) ? c-- : O.get(I) > O.get(F) ? (L.add(I), R(_)) : (N.add(F), c--) : (h(A, o), c--);
|
235
235
|
}
|
236
236
|
for (; c--; ) {
|
237
|
-
const
|
238
|
-
C.has(
|
237
|
+
const _ = e[c];
|
238
|
+
C.has(_.key) || h(_, o);
|
239
239
|
}
|
240
240
|
for (; d; )
|
241
241
|
R(T[d - 1]);
|
242
|
-
return
|
242
|
+
return re(w), T;
|
243
243
|
}
|
244
|
-
function
|
244
|
+
function on(e, t, r) {
|
245
245
|
const { fragment: n, after_update: i } = e.$$;
|
246
|
-
n && n.m(t, r),
|
247
|
-
const s = e.$$.on_mount.map(
|
248
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
249
|
-
}), i.forEach(
|
246
|
+
n && n.m(t, r), Ze(() => {
|
247
|
+
const s = e.$$.on_mount.map(Xt).filter(Ae);
|
248
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
|
249
|
+
}), i.forEach(Ze);
|
250
250
|
}
|
251
|
-
function
|
251
|
+
function an(e, t) {
|
252
252
|
const r = e.$$;
|
253
|
-
r.fragment !== null && (
|
253
|
+
r.fragment !== null && (nn(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
254
254
|
}
|
255
|
-
function
|
256
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
255
|
+
function un(e, t) {
|
256
|
+
e.$$.dirty[0] === -1 && (Y.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
257
257
|
}
|
258
|
-
function
|
259
|
-
const h =
|
260
|
-
|
258
|
+
function hn(e, t, r, n, i, s, o = null, a = [-1]) {
|
259
|
+
const h = ue;
|
260
|
+
ae(e);
|
261
261
|
const u = e.$$ = {
|
262
262
|
fragment: null,
|
263
263
|
ctx: [],
|
@@ -265,7 +265,7 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
265
265
|
props: s,
|
266
266
|
update: P,
|
267
267
|
not_equal: i,
|
268
|
-
bound:
|
268
|
+
bound: Et(),
|
269
269
|
// lifecycle
|
270
270
|
on_mount: [],
|
271
271
|
on_destroy: [],
|
@@ -274,7 +274,7 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
274
274
|
after_update: [],
|
275
275
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
276
276
|
// everything else
|
277
|
-
callbacks:
|
277
|
+
callbacks: Et(),
|
278
278
|
dirty: a,
|
279
279
|
skip_bound: !1,
|
280
280
|
root: t.target || h.$$.root
|
@@ -283,19 +283,19 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
283
283
|
let l = !1;
|
284
284
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
285
285
|
const b = d.length ? d[0] : c;
|
286
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l &&
|
287
|
-
}) : [], u.update(), l = !0,
|
286
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && un(e, m)), c;
|
287
|
+
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
288
288
|
if (t.hydrate) {
|
289
|
-
const m =
|
290
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
289
|
+
const m = qr(t.target);
|
290
|
+
u.fragment && u.fragment.l(m), m.forEach(ne);
|
291
291
|
} else
|
292
292
|
u.fragment && u.fragment.c();
|
293
|
-
t.intro &&
|
293
|
+
t.intro && Jt(e.$$.fragment), on(e, t.target, t.anchor), x();
|
294
294
|
}
|
295
|
-
|
295
|
+
ae(h);
|
296
296
|
}
|
297
|
-
let
|
298
|
-
typeof HTMLElement == "function" && (
|
297
|
+
let Kt;
|
298
|
+
typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
299
299
|
constructor(t, r, n) {
|
300
300
|
super();
|
301
301
|
/** The Svelte component constructor */
|
@@ -332,31 +332,31 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
332
332
|
}
|
333
333
|
}
|
334
334
|
connectedCallback() {
|
335
|
-
return
|
335
|
+
return _t(this, null, function* () {
|
336
336
|
if (this.$$cn = !0, !this.$$c) {
|
337
337
|
let t = function(s) {
|
338
338
|
return () => {
|
339
339
|
let o;
|
340
340
|
return {
|
341
341
|
c: function() {
|
342
|
-
o = V("slot"), s !== "default" &&
|
342
|
+
o = V("slot"), s !== "default" && fe(o, "name", s);
|
343
343
|
},
|
344
344
|
/**
|
345
345
|
* @param {HTMLElement} target
|
346
346
|
* @param {HTMLElement} [anchor]
|
347
347
|
*/
|
348
348
|
m: function(u, l) {
|
349
|
-
|
349
|
+
ce(u, o, l);
|
350
350
|
},
|
351
351
|
d: function(u) {
|
352
|
-
u &&
|
352
|
+
u && ne(o);
|
353
353
|
}
|
354
354
|
};
|
355
355
|
};
|
356
356
|
};
|
357
357
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
358
358
|
return;
|
359
|
-
const r = {}, n =
|
359
|
+
const r = {}, n = Jr(this);
|
360
360
|
for (const s of this.$$s)
|
361
361
|
s in n && (r[s] = [t(s)]);
|
362
362
|
for (const s of this.attributes) {
|
@@ -367,7 +367,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
|
367
367
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
368
368
|
this.$$c = new this.$$ctor({
|
369
369
|
target: this.shadowRoot || this,
|
370
|
-
props:
|
370
|
+
props: vt(yt({}, this.$$d), {
|
371
371
|
$$slots: r,
|
372
372
|
$$scope: {
|
373
373
|
ctx: []
|
@@ -445,8 +445,8 @@ function _e(e, t, r, n) {
|
|
445
445
|
return t;
|
446
446
|
}
|
447
447
|
}
|
448
|
-
function
|
449
|
-
let o = class extends
|
448
|
+
function ln(e, t, r, n, i, s) {
|
449
|
+
let o = class extends Kt {
|
450
450
|
constructor() {
|
451
451
|
super(e, r, i), this.$$p_d = t;
|
452
452
|
}
|
@@ -476,7 +476,7 @@ function sn(e, t, r, n, i, s) {
|
|
476
476
|
}), e.element = /** @type {any} */
|
477
477
|
o, o;
|
478
478
|
}
|
479
|
-
class
|
479
|
+
class cn {
|
480
480
|
constructor() {
|
481
481
|
/**
|
482
482
|
* ### PRIVATE API
|
@@ -497,7 +497,7 @@ class on {
|
|
497
497
|
}
|
498
498
|
/** @returns {void} */
|
499
499
|
$destroy() {
|
500
|
-
|
500
|
+
an(this, 1), this.$destroy = P;
|
501
501
|
}
|
502
502
|
/**
|
503
503
|
* @template {Extract<keyof Events, string>} K
|
@@ -506,7 +506,7 @@ class on {
|
|
506
506
|
* @returns {() => void}
|
507
507
|
*/
|
508
508
|
$on(t, r) {
|
509
|
-
if (!
|
509
|
+
if (!Ae(r))
|
510
510
|
return P;
|
511
511
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
512
512
|
return n.push(r), () => {
|
@@ -519,11 +519,11 @@ class on {
|
|
519
519
|
* @returns {void}
|
520
520
|
*/
|
521
521
|
$set(t) {
|
522
|
-
this.$$set && !
|
522
|
+
this.$$set && !Xr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
523
523
|
}
|
524
524
|
}
|
525
|
-
const
|
526
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
525
|
+
const fn = "4";
|
526
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fn);
|
527
527
|
/*! *****************************************************************************
|
528
528
|
Copyright (c) Microsoft Corporation.
|
529
529
|
|
@@ -538,43 +538,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
538
538
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
539
539
|
PERFORMANCE OF THIS SOFTWARE.
|
540
540
|
***************************************************************************** */
|
541
|
-
var
|
542
|
-
return
|
541
|
+
var Qe = function(e, t) {
|
542
|
+
return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
543
543
|
r.__proto__ = n;
|
544
544
|
} || function(r, n) {
|
545
545
|
for (var i in n)
|
546
546
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
547
|
-
},
|
547
|
+
}, Qe(e, t);
|
548
548
|
};
|
549
|
-
function
|
549
|
+
function me(e, t) {
|
550
550
|
if (typeof t != "function" && t !== null)
|
551
551
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
552
|
-
|
552
|
+
Qe(e, t);
|
553
553
|
function r() {
|
554
554
|
this.constructor = e;
|
555
555
|
}
|
556
556
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
557
557
|
}
|
558
|
-
|
559
|
-
return v = Object.assign || function(t) {
|
560
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
561
|
-
r = arguments[n];
|
562
|
-
for (var s in r)
|
563
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
564
|
-
}
|
565
|
-
return t;
|
566
|
-
}, v.apply(this, arguments);
|
567
|
-
};
|
568
|
-
function un(e, t) {
|
569
|
-
var r = {};
|
570
|
-
for (var n in e)
|
571
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
572
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
573
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
574
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
575
|
-
return r;
|
576
|
-
}
|
577
|
-
function ze(e) {
|
558
|
+
function Ye(e) {
|
578
559
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
579
560
|
if (r)
|
580
561
|
return r.call(e);
|
@@ -586,7 +567,7 @@ function ze(e) {
|
|
586
567
|
};
|
587
568
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
588
569
|
}
|
589
|
-
function
|
570
|
+
function qe(e, t) {
|
590
571
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
591
572
|
if (!r)
|
592
573
|
return e;
|
@@ -606,22 +587,22 @@ function Ze(e, t) {
|
|
606
587
|
}
|
607
588
|
return s;
|
608
589
|
}
|
609
|
-
function
|
610
|
-
if (
|
590
|
+
function Je(e, t, r) {
|
591
|
+
if (arguments.length === 2)
|
611
592
|
for (var n = 0, i = t.length, s; n < i; n++)
|
612
593
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
613
594
|
return e.concat(s || t);
|
614
595
|
}
|
615
|
-
function
|
596
|
+
function D(e) {
|
616
597
|
return typeof e == "function";
|
617
598
|
}
|
618
|
-
function
|
599
|
+
function er(e) {
|
619
600
|
var t = function(n) {
|
620
601
|
Error.call(n), n.stack = new Error().stack;
|
621
602
|
}, r = e(t);
|
622
603
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
623
604
|
}
|
624
|
-
var
|
605
|
+
var De = er(function(e) {
|
625
606
|
return function(r) {
|
626
607
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
627
608
|
` + r.map(function(n, i) {
|
@@ -630,13 +611,13 @@ var Ge = Qt(function(e) {
|
|
630
611
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
631
612
|
};
|
632
613
|
});
|
633
|
-
function
|
614
|
+
function Ke(e, t) {
|
634
615
|
if (e) {
|
635
616
|
var r = e.indexOf(t);
|
636
617
|
0 <= r && e.splice(r, 1);
|
637
618
|
}
|
638
619
|
}
|
639
|
-
var
|
620
|
+
var Be = function() {
|
640
621
|
function e(t) {
|
641
622
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
642
623
|
}
|
@@ -648,7 +629,7 @@ var Ae = function() {
|
|
648
629
|
if (o)
|
649
630
|
if (this._parentage = null, Array.isArray(o))
|
650
631
|
try {
|
651
|
-
for (var a =
|
632
|
+
for (var a = Ye(o), h = a.next(); !h.done; h = a.next()) {
|
652
633
|
var u = h.value;
|
653
634
|
u.remove(this);
|
654
635
|
}
|
@@ -665,22 +646,22 @@ var Ae = function() {
|
|
665
646
|
else
|
666
647
|
o.remove(this);
|
667
648
|
var l = this.initialTeardown;
|
668
|
-
if (
|
649
|
+
if (D(l))
|
669
650
|
try {
|
670
651
|
l();
|
671
652
|
} catch (y) {
|
672
|
-
s = y instanceof
|
653
|
+
s = y instanceof De ? y.errors : [y];
|
673
654
|
}
|
674
655
|
var m = this._finalizers;
|
675
656
|
if (m) {
|
676
657
|
this._finalizers = null;
|
677
658
|
try {
|
678
|
-
for (var c =
|
659
|
+
for (var c = Ye(m), d = c.next(); !d.done; d = c.next()) {
|
679
660
|
var b = d.value;
|
680
661
|
try {
|
681
|
-
|
662
|
+
St(b);
|
682
663
|
} catch (y) {
|
683
|
-
s = s != null ? s : [], y instanceof
|
664
|
+
s = s != null ? s : [], y instanceof De ? s = Je(Je([], qe(s)), qe(y.errors)) : s.push(y);
|
684
665
|
}
|
685
666
|
}
|
686
667
|
} catch (y) {
|
@@ -695,13 +676,13 @@ var Ae = function() {
|
|
695
676
|
}
|
696
677
|
}
|
697
678
|
if (s)
|
698
|
-
throw new
|
679
|
+
throw new De(s);
|
699
680
|
}
|
700
681
|
}, e.prototype.add = function(t) {
|
701
682
|
var r;
|
702
683
|
if (t && t !== this)
|
703
684
|
if (this.closed)
|
704
|
-
|
685
|
+
St(t);
|
705
686
|
else {
|
706
687
|
if (t instanceof e) {
|
707
688
|
if (t.closed || t._hasParent(this))
|
@@ -718,52 +699,52 @@ var Ae = function() {
|
|
718
699
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
719
700
|
}, e.prototype._removeParent = function(t) {
|
720
701
|
var r = this._parentage;
|
721
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
702
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ke(r, t);
|
722
703
|
}, e.prototype.remove = function(t) {
|
723
704
|
var r = this._finalizers;
|
724
|
-
r &&
|
705
|
+
r && Ke(r, t), t instanceof e && t._removeParent(this);
|
725
706
|
}, e.EMPTY = function() {
|
726
707
|
var t = new e();
|
727
708
|
return t.closed = !0, t;
|
728
709
|
}(), e;
|
729
|
-
}(),
|
730
|
-
function
|
731
|
-
return e instanceof
|
710
|
+
}(), tr = Be.EMPTY;
|
711
|
+
function rr(e) {
|
712
|
+
return e instanceof Be || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
732
713
|
}
|
733
|
-
function
|
734
|
-
|
714
|
+
function St(e) {
|
715
|
+
D(e) ? e() : e.unsubscribe();
|
735
716
|
}
|
736
|
-
var
|
717
|
+
var mn = {
|
737
718
|
Promise: void 0
|
738
|
-
},
|
719
|
+
}, dn = {
|
739
720
|
setTimeout: function(e, t) {
|
740
721
|
for (var r = [], n = 2; n < arguments.length; n++)
|
741
722
|
r[n - 2] = arguments[n];
|
742
|
-
return setTimeout.apply(void 0,
|
723
|
+
return setTimeout.apply(void 0, Je([e, t], qe(r)));
|
743
724
|
},
|
744
725
|
clearTimeout: function(e) {
|
745
726
|
return clearTimeout(e);
|
746
727
|
},
|
747
728
|
delegate: void 0
|
748
729
|
};
|
749
|
-
function
|
750
|
-
|
730
|
+
function bn(e) {
|
731
|
+
dn.setTimeout(function() {
|
751
732
|
throw e;
|
752
733
|
});
|
753
734
|
}
|
754
|
-
function
|
735
|
+
function wt() {
|
755
736
|
}
|
756
737
|
function Ee(e) {
|
757
738
|
e();
|
758
739
|
}
|
759
|
-
var
|
760
|
-
|
740
|
+
var nr = function(e) {
|
741
|
+
me(t, e);
|
761
742
|
function t(r) {
|
762
743
|
var n = e.call(this) || this;
|
763
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
744
|
+
return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = yn, n;
|
764
745
|
}
|
765
746
|
return t.create = function(r, n, i) {
|
766
|
-
return new
|
747
|
+
return new et(r, n, i);
|
767
748
|
}, t.prototype.next = function(r) {
|
768
749
|
this.isStopped || this._next(r);
|
769
750
|
}, t.prototype.error = function(r) {
|
@@ -787,7 +768,7 @@ var Jt = function(e) {
|
|
787
768
|
this.unsubscribe();
|
788
769
|
}
|
789
770
|
}, t;
|
790
|
-
}(
|
771
|
+
}(Be), pn = function() {
|
791
772
|
function e(t) {
|
792
773
|
this.partialObserver = t;
|
793
774
|
}
|
@@ -818,43 +799,43 @@ var Jt = function(e) {
|
|
818
799
|
ye(r);
|
819
800
|
}
|
820
801
|
}, e;
|
821
|
-
}(),
|
822
|
-
|
802
|
+
}(), et = function(e) {
|
803
|
+
me(t, e);
|
823
804
|
function t(r, n, i) {
|
824
805
|
var s = e.call(this) || this, o;
|
825
|
-
return
|
806
|
+
return D(r) || !r ? o = {
|
826
807
|
next: r != null ? r : void 0,
|
827
808
|
error: n != null ? n : void 0,
|
828
809
|
complete: i != null ? i : void 0
|
829
|
-
} : o = r, s.destination = new
|
810
|
+
} : o = r, s.destination = new pn(o), s;
|
830
811
|
}
|
831
812
|
return t;
|
832
|
-
}(
|
813
|
+
}(nr);
|
833
814
|
function ye(e) {
|
834
|
-
|
815
|
+
bn(e);
|
835
816
|
}
|
836
|
-
function
|
817
|
+
function gn(e) {
|
837
818
|
throw e;
|
838
819
|
}
|
839
|
-
var
|
820
|
+
var yn = {
|
840
821
|
closed: !0,
|
841
|
-
next:
|
842
|
-
error:
|
843
|
-
complete:
|
844
|
-
},
|
822
|
+
next: wt,
|
823
|
+
error: gn,
|
824
|
+
complete: wt
|
825
|
+
}, vn = function() {
|
845
826
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
846
827
|
}();
|
847
|
-
function
|
828
|
+
function _n(e) {
|
848
829
|
return e;
|
849
830
|
}
|
850
|
-
function
|
851
|
-
return e.length === 0 ?
|
831
|
+
function En(e) {
|
832
|
+
return e.length === 0 ? _n : e.length === 1 ? e[0] : function(r) {
|
852
833
|
return e.reduce(function(n, i) {
|
853
834
|
return i(n);
|
854
835
|
}, r);
|
855
836
|
};
|
856
837
|
}
|
857
|
-
var
|
838
|
+
var Tt = function() {
|
858
839
|
function e(t) {
|
859
840
|
t && (this._subscribe = t);
|
860
841
|
}
|
@@ -862,7 +843,7 @@ var _t = function() {
|
|
862
843
|
var r = new e();
|
863
844
|
return r.source = this, r.operator = t, r;
|
864
845
|
}, e.prototype.subscribe = function(t, r, n) {
|
865
|
-
var i = this, s =
|
846
|
+
var i = this, s = Sn(t) ? t : new et(t, r, n);
|
866
847
|
return Ee(function() {
|
867
848
|
var o = i, a = o.operator, h = o.source;
|
868
849
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
@@ -875,8 +856,8 @@ var _t = function() {
|
|
875
856
|
}
|
876
857
|
}, e.prototype.forEach = function(t, r) {
|
877
858
|
var n = this;
|
878
|
-
return r =
|
879
|
-
var o = new
|
859
|
+
return r = Ht(r), new r(function(i, s) {
|
860
|
+
var o = new et({
|
880
861
|
next: function(a) {
|
881
862
|
try {
|
882
863
|
t(a);
|
@@ -892,15 +873,15 @@ var _t = function() {
|
|
892
873
|
}, e.prototype._subscribe = function(t) {
|
893
874
|
var r;
|
894
875
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
895
|
-
}, e.prototype[
|
876
|
+
}, e.prototype[vn] = function() {
|
896
877
|
return this;
|
897
878
|
}, e.prototype.pipe = function() {
|
898
879
|
for (var t = [], r = 0; r < arguments.length; r++)
|
899
880
|
t[r] = arguments[r];
|
900
|
-
return
|
881
|
+
return En(t)(this);
|
901
882
|
}, e.prototype.toPromise = function(t) {
|
902
883
|
var r = this;
|
903
|
-
return t =
|
884
|
+
return t = Ht(t), new t(function(n, i) {
|
904
885
|
var s;
|
905
886
|
r.subscribe(function(o) {
|
906
887
|
return s = o;
|
@@ -914,32 +895,32 @@ var _t = function() {
|
|
914
895
|
return new e(t);
|
915
896
|
}, e;
|
916
897
|
}();
|
917
|
-
function
|
898
|
+
function Ht(e) {
|
918
899
|
var t;
|
919
|
-
return (t = e != null ? e :
|
900
|
+
return (t = e != null ? e : mn.Promise) !== null && t !== void 0 ? t : Promise;
|
920
901
|
}
|
921
|
-
function
|
922
|
-
return e &&
|
902
|
+
function xn(e) {
|
903
|
+
return e && D(e.next) && D(e.error) && D(e.complete);
|
923
904
|
}
|
924
|
-
function
|
925
|
-
return e && e instanceof
|
905
|
+
function Sn(e) {
|
906
|
+
return e && e instanceof nr || xn(e) && rr(e);
|
926
907
|
}
|
927
|
-
var
|
908
|
+
var wn = er(function(e) {
|
928
909
|
return function() {
|
929
910
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
930
911
|
};
|
931
|
-
}),
|
932
|
-
|
912
|
+
}), ir = function(e) {
|
913
|
+
me(t, e);
|
933
914
|
function t() {
|
934
915
|
var r = e.call(this) || this;
|
935
916
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
936
917
|
}
|
937
918
|
return t.prototype.lift = function(r) {
|
938
|
-
var n = new
|
919
|
+
var n = new At(this, this);
|
939
920
|
return n.operator = r, n;
|
940
921
|
}, t.prototype._throwIfClosed = function() {
|
941
922
|
if (this.closed)
|
942
|
-
throw new
|
923
|
+
throw new wn();
|
943
924
|
}, t.prototype.next = function(r) {
|
944
925
|
var n = this;
|
945
926
|
Ee(function() {
|
@@ -947,7 +928,7 @@ var _n = Qt(function(e) {
|
|
947
928
|
if (n._throwIfClosed(), !n.isStopped) {
|
948
929
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
949
930
|
try {
|
950
|
-
for (var o =
|
931
|
+
for (var o = Ye(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
951
932
|
var h = a.value;
|
952
933
|
h.next(r);
|
953
934
|
}
|
@@ -996,20 +977,20 @@ var _n = Qt(function(e) {
|
|
996
977
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
997
978
|
}, t.prototype._innerSubscribe = function(r) {
|
998
979
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
999
|
-
return s || o ?
|
1000
|
-
n.currentObservers = null,
|
980
|
+
return s || o ? tr : (this.currentObservers = null, a.push(r), new Be(function() {
|
981
|
+
n.currentObservers = null, Ke(a, r);
|
1001
982
|
}));
|
1002
983
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
1003
984
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
1004
985
|
i ? r.error(s) : o && r.complete();
|
1005
986
|
}, t.prototype.asObservable = function() {
|
1006
|
-
var r = new
|
987
|
+
var r = new Tt();
|
1007
988
|
return r.source = this, r;
|
1008
989
|
}, t.create = function(r, n) {
|
1009
|
-
return new
|
990
|
+
return new At(r, n);
|
1010
991
|
}, t;
|
1011
|
-
}(
|
1012
|
-
|
992
|
+
}(Tt), At = function(e) {
|
993
|
+
me(t, e);
|
1013
994
|
function t(r, n) {
|
1014
995
|
var i = e.call(this) || this;
|
1015
996
|
return i.destination = r, i.source = n, i;
|
@@ -1025,17 +1006,17 @@ var _n = Qt(function(e) {
|
|
1025
1006
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
1026
1007
|
}, t.prototype._subscribe = function(r) {
|
1027
1008
|
var n, i;
|
1028
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
1009
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
|
1029
1010
|
}, t;
|
1030
|
-
}(
|
1011
|
+
}(ir), sr = {
|
1031
1012
|
now: function() {
|
1032
|
-
return (
|
1013
|
+
return (sr.delegate || Date).now();
|
1033
1014
|
},
|
1034
1015
|
delegate: void 0
|
1035
|
-
},
|
1036
|
-
|
1016
|
+
}, Tn = function(e) {
|
1017
|
+
me(t, e);
|
1037
1018
|
function t(r, n, i) {
|
1038
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
1019
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
|
1039
1020
|
var s = e.call(this) || this;
|
1040
1021
|
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
1041
1022
|
}
|
@@ -1055,24 +1036,24 @@ var _n = Qt(function(e) {
|
|
1055
1036
|
u && s.splice(0, u + 1);
|
1056
1037
|
}
|
1057
1038
|
}, t;
|
1058
|
-
}(
|
1059
|
-
const
|
1060
|
-
if (
|
1061
|
-
const r = new
|
1062
|
-
|
1039
|
+
}(ir);
|
1040
|
+
const Bt = [], Pt = {}, Hn = (e, t = 0) => {
|
1041
|
+
if (Bt.indexOf(e) == -1) {
|
1042
|
+
const r = new Tn(t);
|
1043
|
+
Pt[e] = r, Bt.push(e);
|
1063
1044
|
}
|
1064
|
-
return
|
1045
|
+
return Pt[e];
|
1065
1046
|
}, Q = [];
|
1066
|
-
function
|
1047
|
+
function An(e, t) {
|
1067
1048
|
return {
|
1068
|
-
subscribe:
|
1049
|
+
subscribe: Pe(e, t).subscribe
|
1069
1050
|
};
|
1070
1051
|
}
|
1071
|
-
function
|
1052
|
+
function Pe(e, t = P) {
|
1072
1053
|
let r;
|
1073
1054
|
const n = /* @__PURE__ */ new Set();
|
1074
1055
|
function i(a) {
|
1075
|
-
if (
|
1056
|
+
if (Wt(e, a) && (e = a, r)) {
|
1076
1057
|
const h = !Q.length;
|
1077
1058
|
for (const u of n)
|
1078
1059
|
u[1](), Q.push(u, e);
|
@@ -1094,12 +1075,12 @@ function Be(e, t = P) {
|
|
1094
1075
|
}
|
1095
1076
|
return { set: i, update: s, subscribe: o };
|
1096
1077
|
}
|
1097
|
-
function
|
1078
|
+
function ie(e, t, r) {
|
1098
1079
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
1099
1080
|
if (!i.every(Boolean))
|
1100
1081
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1101
1082
|
const s = t.length < 2;
|
1102
|
-
return
|
1083
|
+
return An(r, (o, a) => {
|
1103
1084
|
let h = !1;
|
1104
1085
|
const u = [];
|
1105
1086
|
let l = 0, m = P;
|
@@ -1108,9 +1089,9 @@ function se(e, t, r) {
|
|
1108
1089
|
return;
|
1109
1090
|
m();
|
1110
1091
|
const b = t(n ? u[0] : u, o, a);
|
1111
|
-
s ? o(b) : m =
|
1092
|
+
s ? o(b) : m = Ae(b) ? b : P;
|
1112
1093
|
}, d = i.map(
|
1113
|
-
(b, y) =>
|
1094
|
+
(b, y) => zt(
|
1114
1095
|
b,
|
1115
1096
|
(T) => {
|
1116
1097
|
u[y] = T, l &= ~(1 << y), h && c();
|
@@ -1121,115 +1102,157 @@ function se(e, t, r) {
|
|
1121
1102
|
)
|
1122
1103
|
);
|
1123
1104
|
return h = !0, c(), function() {
|
1124
|
-
|
1105
|
+
re(d), m(), h = !1;
|
1125
1106
|
};
|
1126
1107
|
});
|
1127
1108
|
}
|
1128
|
-
function
|
1109
|
+
function Bn(e) {
|
1129
1110
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1130
1111
|
}
|
1131
|
-
var
|
1132
|
-
return
|
1112
|
+
var Pn = function(t) {
|
1113
|
+
return On(t) && !Nn(t);
|
1133
1114
|
};
|
1134
|
-
function
|
1115
|
+
function On(e) {
|
1135
1116
|
return !!e && typeof e == "object";
|
1136
1117
|
}
|
1137
|
-
function
|
1118
|
+
function Nn(e) {
|
1138
1119
|
var t = Object.prototype.toString.call(e);
|
1139
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1120
|
+
return t === "[object RegExp]" || t === "[object Date]" || Cn(e);
|
1140
1121
|
}
|
1141
|
-
var
|
1142
|
-
function
|
1143
|
-
return e.$$typeof ===
|
1122
|
+
var Ln = typeof Symbol == "function" && Symbol.for, In = Ln ? Symbol.for("react.element") : 60103;
|
1123
|
+
function Cn(e) {
|
1124
|
+
return e.$$typeof === In;
|
1144
1125
|
}
|
1145
|
-
function
|
1126
|
+
function Mn(e) {
|
1146
1127
|
return Array.isArray(e) ? [] : {};
|
1147
1128
|
}
|
1148
|
-
function
|
1149
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
1129
|
+
function he(e, t) {
|
1130
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(Mn(e), e, t) : e;
|
1150
1131
|
}
|
1151
|
-
function
|
1132
|
+
function Rn(e, t, r) {
|
1152
1133
|
return e.concat(t).map(function(n) {
|
1153
|
-
return
|
1134
|
+
return he(n, r);
|
1154
1135
|
});
|
1155
1136
|
}
|
1156
|
-
function
|
1137
|
+
function Gn(e, t) {
|
1157
1138
|
if (!t.customMerge)
|
1158
|
-
return
|
1139
|
+
return J;
|
1159
1140
|
var r = t.customMerge(e);
|
1160
|
-
return typeof r == "function" ? r :
|
1141
|
+
return typeof r == "function" ? r : J;
|
1161
1142
|
}
|
1162
|
-
function
|
1143
|
+
function Un(e) {
|
1163
1144
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1164
1145
|
return Object.propertyIsEnumerable.call(e, t);
|
1165
1146
|
}) : [];
|
1166
1147
|
}
|
1167
|
-
function
|
1168
|
-
return Object.keys(e).concat(
|
1148
|
+
function Ot(e) {
|
1149
|
+
return Object.keys(e).concat(Un(e));
|
1169
1150
|
}
|
1170
|
-
function
|
1151
|
+
function or(e, t) {
|
1171
1152
|
try {
|
1172
1153
|
return t in e;
|
1173
1154
|
} catch (r) {
|
1174
1155
|
return !1;
|
1175
1156
|
}
|
1176
1157
|
}
|
1177
|
-
function
|
1178
|
-
return
|
1158
|
+
function Dn(e, t) {
|
1159
|
+
return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1179
1160
|
}
|
1180
|
-
function
|
1161
|
+
function $n(e, t, r) {
|
1181
1162
|
var n = {};
|
1182
|
-
return r.isMergeableObject(e) &&
|
1183
|
-
n[i] =
|
1184
|
-
}),
|
1185
|
-
|
1163
|
+
return r.isMergeableObject(e) && Ot(e).forEach(function(i) {
|
1164
|
+
n[i] = he(e[i], r);
|
1165
|
+
}), Ot(t).forEach(function(i) {
|
1166
|
+
Dn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = he(t[i], r));
|
1186
1167
|
}), n;
|
1187
1168
|
}
|
1188
|
-
function
|
1189
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1169
|
+
function J(e, t, r) {
|
1170
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Rn, r.isMergeableObject = r.isMergeableObject || Pn, r.cloneUnlessOtherwiseSpecified = he;
|
1190
1171
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
1191
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
1172
|
+
return s ? n ? r.arrayMerge(e, t, r) : $n(e, t, r) : he(t, r);
|
1192
1173
|
}
|
1193
|
-
|
1174
|
+
J.all = function(t, r) {
|
1194
1175
|
if (!Array.isArray(t))
|
1195
1176
|
throw new Error("first argument should be an array");
|
1196
1177
|
return t.reduce(function(n, i) {
|
1197
|
-
return
|
1178
|
+
return J(n, i, r);
|
1198
1179
|
}, {});
|
1199
1180
|
};
|
1200
|
-
var
|
1201
|
-
const
|
1202
|
-
function
|
1203
|
-
|
1181
|
+
var Fn = J, jn = Fn;
|
1182
|
+
const kn = /* @__PURE__ */ Bn(jn);
|
1183
|
+
var tt = function(e, t) {
|
1184
|
+
return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
1185
|
+
r.__proto__ = n;
|
1186
|
+
} || function(r, n) {
|
1187
|
+
for (var i in n)
|
1188
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
1189
|
+
}, tt(e, t);
|
1190
|
+
};
|
1191
|
+
function Oe(e, t) {
|
1192
|
+
if (typeof t != "function" && t !== null)
|
1193
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
1194
|
+
tt(e, t);
|
1195
|
+
function r() {
|
1196
|
+
this.constructor = e;
|
1197
|
+
}
|
1198
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
1199
|
+
}
|
1200
|
+
var G = function() {
|
1201
|
+
return G = Object.assign || function(t) {
|
1202
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1203
|
+
r = arguments[n];
|
1204
|
+
for (var s in r)
|
1205
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1206
|
+
}
|
1207
|
+
return t;
|
1208
|
+
}, G.apply(this, arguments);
|
1209
|
+
};
|
1210
|
+
function Vn(e, t) {
|
1211
|
+
var r = {};
|
1212
|
+
for (var n in e)
|
1213
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
1214
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
1215
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
1216
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
1217
|
+
return r;
|
1218
|
+
}
|
1219
|
+
function $e(e, t, r) {
|
1220
|
+
if (r || arguments.length === 2)
|
1221
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
1222
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
1223
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
1224
|
+
}
|
1225
|
+
function Fe(e, t) {
|
1226
|
+
var r = t && t.cache ? t.cache : qn, n = t && t.serializer ? t.serializer : Qn, i = t && t.strategy ? t.strategy : zn;
|
1204
1227
|
return i(e, {
|
1205
1228
|
cache: r,
|
1206
1229
|
serializer: n
|
1207
1230
|
});
|
1208
1231
|
}
|
1209
|
-
function
|
1232
|
+
function Xn(e) {
|
1210
1233
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1211
1234
|
}
|
1212
|
-
function
|
1213
|
-
var i =
|
1235
|
+
function Wn(e, t, r, n) {
|
1236
|
+
var i = Xn(n) ? n : r(n), s = t.get(i);
|
1214
1237
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
1215
1238
|
}
|
1216
|
-
function
|
1239
|
+
function ar(e, t, r) {
|
1217
1240
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
1218
1241
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
1219
1242
|
}
|
1220
|
-
function
|
1243
|
+
function ur(e, t, r, n, i) {
|
1221
1244
|
return r.bind(t, e, n, i);
|
1222
1245
|
}
|
1223
|
-
function
|
1224
|
-
var r = e.length === 1 ?
|
1225
|
-
return
|
1246
|
+
function zn(e, t) {
|
1247
|
+
var r = e.length === 1 ? Wn : ar;
|
1248
|
+
return ur(e, this, r, t.cache.create(), t.serializer);
|
1226
1249
|
}
|
1227
|
-
function
|
1228
|
-
return
|
1250
|
+
function Zn(e, t) {
|
1251
|
+
return ur(e, this, ar, t.cache.create(), t.serializer);
|
1229
1252
|
}
|
1230
|
-
var
|
1253
|
+
var Qn = function() {
|
1231
1254
|
return JSON.stringify(arguments);
|
1232
|
-
},
|
1255
|
+
}, Yn = (
|
1233
1256
|
/** @class */
|
1234
1257
|
function() {
|
1235
1258
|
function e() {
|
@@ -1241,61 +1264,71 @@ var Vn = function() {
|
|
1241
1264
|
this.cache[t] = r;
|
1242
1265
|
}, e;
|
1243
1266
|
}()
|
1244
|
-
),
|
1267
|
+
), qn = {
|
1245
1268
|
create: function() {
|
1246
|
-
return new
|
1269
|
+
return new Yn();
|
1247
1270
|
}
|
1248
|
-
},
|
1249
|
-
variadic:
|
1250
|
-
},
|
1271
|
+
}, je = {
|
1272
|
+
variadic: Zn
|
1273
|
+
}, we = function() {
|
1274
|
+
return we = Object.assign || function(t) {
|
1275
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1276
|
+
r = arguments[n];
|
1277
|
+
for (var s in r)
|
1278
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1279
|
+
}
|
1280
|
+
return t;
|
1281
|
+
}, we.apply(this, arguments);
|
1282
|
+
};
|
1283
|
+
var p;
|
1251
1284
|
(function(e) {
|
1252
1285
|
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";
|
1253
1286
|
})(p || (p = {}));
|
1254
|
-
var
|
1287
|
+
var E;
|
1255
1288
|
(function(e) {
|
1256
1289
|
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";
|
1257
|
-
})(
|
1258
|
-
var
|
1290
|
+
})(E || (E = {}));
|
1291
|
+
var K;
|
1259
1292
|
(function(e) {
|
1260
1293
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1261
|
-
})(
|
1262
|
-
function
|
1263
|
-
return e.type ===
|
1294
|
+
})(K || (K = {}));
|
1295
|
+
function Nt(e) {
|
1296
|
+
return e.type === E.literal;
|
1264
1297
|
}
|
1265
|
-
function
|
1266
|
-
return e.type ===
|
1298
|
+
function Jn(e) {
|
1299
|
+
return e.type === E.argument;
|
1267
1300
|
}
|
1268
|
-
function
|
1269
|
-
return e.type ===
|
1301
|
+
function hr(e) {
|
1302
|
+
return e.type === E.number;
|
1270
1303
|
}
|
1271
|
-
function
|
1272
|
-
return e.type ===
|
1304
|
+
function lr(e) {
|
1305
|
+
return e.type === E.date;
|
1273
1306
|
}
|
1274
|
-
function
|
1275
|
-
return e.type ===
|
1307
|
+
function cr(e) {
|
1308
|
+
return e.type === E.time;
|
1276
1309
|
}
|
1277
|
-
function
|
1278
|
-
return e.type ===
|
1310
|
+
function fr(e) {
|
1311
|
+
return e.type === E.select;
|
1279
1312
|
}
|
1280
|
-
function
|
1281
|
-
return e.type ===
|
1313
|
+
function mr(e) {
|
1314
|
+
return e.type === E.plural;
|
1282
1315
|
}
|
1283
|
-
function
|
1284
|
-
return e.type ===
|
1316
|
+
function Kn(e) {
|
1317
|
+
return e.type === E.pound;
|
1285
1318
|
}
|
1286
|
-
function
|
1287
|
-
return e.type ===
|
1319
|
+
function dr(e) {
|
1320
|
+
return e.type === E.tag;
|
1288
1321
|
}
|
1289
|
-
function
|
1290
|
-
return !!(e && typeof e == "object" && e.type ===
|
1322
|
+
function br(e) {
|
1323
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
1291
1324
|
}
|
1292
|
-
function
|
1293
|
-
return !!(e && typeof e == "object" && e.type ===
|
1325
|
+
function rt(e) {
|
1326
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
1294
1327
|
}
|
1295
|
-
var
|
1296
|
-
function
|
1328
|
+
var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ei = /(?:[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;
|
1329
|
+
function ti(e) {
|
1297
1330
|
var t = {};
|
1298
|
-
return e.replace(
|
1331
|
+
return e.replace(ei, function(r) {
|
1299
1332
|
var n = r.length;
|
1300
1333
|
switch (r[0]) {
|
1301
1334
|
case "G":
|
@@ -1384,11 +1417,21 @@ function Yn(e) {
|
|
1384
1417
|
return "";
|
1385
1418
|
}), t;
|
1386
1419
|
}
|
1387
|
-
var
|
1388
|
-
function
|
1420
|
+
var S = function() {
|
1421
|
+
return S = Object.assign || function(t) {
|
1422
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1423
|
+
r = arguments[n];
|
1424
|
+
for (var s in r)
|
1425
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1426
|
+
}
|
1427
|
+
return t;
|
1428
|
+
}, S.apply(this, arguments);
|
1429
|
+
};
|
1430
|
+
var ri = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1431
|
+
function ni(e) {
|
1389
1432
|
if (e.length === 0)
|
1390
1433
|
throw new Error("Number skeleton cannot be empty");
|
1391
|
-
for (var t = e.split(
|
1434
|
+
for (var t = e.split(ri).filter(function(c) {
|
1392
1435
|
return c.length > 0;
|
1393
1436
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1394
1437
|
var s = i[n], o = s.split("/");
|
@@ -1403,17 +1446,17 @@ function Jn(e) {
|
|
1403
1446
|
}
|
1404
1447
|
return r;
|
1405
1448
|
}
|
1406
|
-
function
|
1449
|
+
function ii(e) {
|
1407
1450
|
return e.replace(/^(.*?)-/, "");
|
1408
1451
|
}
|
1409
|
-
var
|
1410
|
-
function
|
1452
|
+
var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, si = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
|
1453
|
+
function It(e) {
|
1411
1454
|
var t = {};
|
1412
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
1455
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
|
1413
1456
|
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)), "";
|
1414
1457
|
}), t;
|
1415
1458
|
}
|
1416
|
-
function
|
1459
|
+
function vr(e) {
|
1417
1460
|
switch (e) {
|
1418
1461
|
case "sign-auto":
|
1419
1462
|
return {
|
@@ -1453,7 +1496,7 @@ function dr(e) {
|
|
1453
1496
|
};
|
1454
1497
|
}
|
1455
1498
|
}
|
1456
|
-
function
|
1499
|
+
function oi(e) {
|
1457
1500
|
var t;
|
1458
1501
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1459
1502
|
notation: "engineering"
|
@@ -1461,17 +1504,17 @@ function ti(e) {
|
|
1461
1504
|
notation: "scientific"
|
1462
1505
|
}, e = e.slice(1)), t) {
|
1463
1506
|
var r = e.slice(0, 2);
|
1464
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1507
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
|
1465
1508
|
throw new Error("Malformed concise eng/scientific notation");
|
1466
1509
|
t.minimumIntegerDigits = e.length;
|
1467
1510
|
}
|
1468
1511
|
return t;
|
1469
1512
|
}
|
1470
|
-
function
|
1471
|
-
var t = {}, r =
|
1513
|
+
function Ct(e) {
|
1514
|
+
var t = {}, r = vr(e);
|
1472
1515
|
return r || t;
|
1473
1516
|
}
|
1474
|
-
function
|
1517
|
+
function ai(e) {
|
1475
1518
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1476
1519
|
var i = n[r];
|
1477
1520
|
switch (i.stem) {
|
@@ -1495,7 +1538,7 @@ function ri(e) {
|
|
1495
1538
|
continue;
|
1496
1539
|
case "measure-unit":
|
1497
1540
|
case "unit":
|
1498
|
-
t.style = "unit", t.unit =
|
1541
|
+
t.style = "unit", t.unit = ii(i.options[0]);
|
1499
1542
|
continue;
|
1500
1543
|
case "compact-short":
|
1501
1544
|
case "K":
|
@@ -1506,13 +1549,13 @@ function ri(e) {
|
|
1506
1549
|
t.notation = "compact", t.compactDisplay = "long";
|
1507
1550
|
continue;
|
1508
1551
|
case "scientific":
|
1509
|
-
t =
|
1510
|
-
return
|
1552
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1553
|
+
return S(S({}, h), Ct(u));
|
1511
1554
|
}, {}));
|
1512
1555
|
continue;
|
1513
1556
|
case "engineering":
|
1514
|
-
t =
|
1515
|
-
return
|
1557
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1558
|
+
return S(S({}, h), Ct(u));
|
1516
1559
|
}, {}));
|
1517
1560
|
continue;
|
1518
1561
|
case "notation-simple":
|
@@ -1557,7 +1600,7 @@ function ri(e) {
|
|
1557
1600
|
case "integer-width":
|
1558
1601
|
if (i.options.length > 1)
|
1559
1602
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1560
|
-
i.options[0].replace(
|
1603
|
+
i.options[0].replace(si, function(h, u, l, m, c, d) {
|
1561
1604
|
if (u)
|
1562
1605
|
t.minimumIntegerDigits = l.length;
|
1563
1606
|
else {
|
@@ -1570,28 +1613,28 @@ function ri(e) {
|
|
1570
1613
|
});
|
1571
1614
|
continue;
|
1572
1615
|
}
|
1573
|
-
if (
|
1616
|
+
if (yr.test(i.stem)) {
|
1574
1617
|
t.minimumIntegerDigits = i.stem.length;
|
1575
1618
|
continue;
|
1576
1619
|
}
|
1577
|
-
if (
|
1620
|
+
if (Lt.test(i.stem)) {
|
1578
1621
|
if (i.options.length > 1)
|
1579
1622
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1580
|
-
i.stem.replace(
|
1623
|
+
i.stem.replace(Lt, function(h, u, l, m, c, d) {
|
1581
1624
|
return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
1582
1625
|
});
|
1583
1626
|
var s = i.options[0];
|
1584
|
-
s === "w" ? t =
|
1627
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), It(s)));
|
1585
1628
|
continue;
|
1586
1629
|
}
|
1587
|
-
if (
|
1588
|
-
t =
|
1630
|
+
if (gr.test(i.stem)) {
|
1631
|
+
t = S(S({}, t), It(i.stem));
|
1589
1632
|
continue;
|
1590
1633
|
}
|
1591
|
-
var o =
|
1592
|
-
o && (t =
|
1593
|
-
var a =
|
1594
|
-
a && (t =
|
1634
|
+
var o = vr(i.stem);
|
1635
|
+
o && (t = S(S({}, t), o));
|
1636
|
+
var a = oi(i.stem);
|
1637
|
+
a && (t = S(S({}, t), a));
|
1595
1638
|
}
|
1596
1639
|
return t;
|
1597
1640
|
}
|
@@ -3010,13 +3053,13 @@ var ve = {
|
|
3010
3053
|
"h"
|
3011
3054
|
]
|
3012
3055
|
};
|
3013
|
-
function
|
3056
|
+
function ui(e, t) {
|
3014
3057
|
for (var r = "", n = 0; n < e.length; n++) {
|
3015
3058
|
var i = e.charAt(n);
|
3016
3059
|
if (i === "j") {
|
3017
3060
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3018
3061
|
s++, n++;
|
3019
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
3062
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = hi(t);
|
3020
3063
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
3021
3064
|
r += h;
|
3022
3065
|
for (; o-- > 0; )
|
@@ -3026,7 +3069,7 @@ function ni(e, t) {
|
|
3026
3069
|
}
|
3027
3070
|
return r;
|
3028
3071
|
}
|
3029
|
-
function
|
3072
|
+
function hi(e) {
|
3030
3073
|
var t = e.hourCycle;
|
3031
3074
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3032
3075
|
e.hourCycles && // @ts-ignore
|
@@ -3048,20 +3091,20 @@ function ii(e) {
|
|
3048
3091
|
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
3049
3092
|
return i[0];
|
3050
3093
|
}
|
3051
|
-
var
|
3094
|
+
var ke, li = new RegExp("^".concat(pr.source, "*")), ci = new RegExp("".concat(pr.source, "*$"));
|
3052
3095
|
function g(e, t) {
|
3053
3096
|
return { start: e, end: t };
|
3054
3097
|
}
|
3055
|
-
var
|
3098
|
+
var fi = !!String.prototype.startsWith && "_a".startsWith("a", 1), mi = !!String.fromCodePoint, di = !!Object.fromEntries, bi = !!String.prototype.codePointAt, pi = !!String.prototype.trimStart, gi = !!String.prototype.trimEnd, yi = !!Number.isSafeInteger, vi = yi ? Number.isSafeInteger : function(e) {
|
3056
3099
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3057
|
-
},
|
3100
|
+
}, nt = !0;
|
3058
3101
|
try {
|
3059
|
-
var
|
3060
|
-
|
3102
|
+
var _i = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3103
|
+
nt = ((ke = _i.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
|
3061
3104
|
} catch (e) {
|
3062
|
-
|
3105
|
+
nt = !1;
|
3063
3106
|
}
|
3064
|
-
var
|
3107
|
+
var Mt = fi ? (
|
3065
3108
|
// Native
|
3066
3109
|
function(t, r, n) {
|
3067
3110
|
return t.startsWith(r, n);
|
@@ -3071,7 +3114,7 @@ var Nt = ai ? (
|
|
3071
3114
|
function(t, r, n) {
|
3072
3115
|
return t.slice(n, n + r.length) === r;
|
3073
3116
|
}
|
3074
|
-
),
|
3117
|
+
), it = mi ? String.fromCodePoint : (
|
3075
3118
|
// IE11
|
3076
3119
|
function() {
|
3077
3120
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3083,9 +3126,9 @@ var Nt = ai ? (
|
|
3083
3126
|
}
|
3084
3127
|
return n;
|
3085
3128
|
}
|
3086
|
-
),
|
3129
|
+
), Rt = (
|
3087
3130
|
// native
|
3088
|
-
|
3131
|
+
di ? Object.fromEntries : (
|
3089
3132
|
// Ponyfill
|
3090
3133
|
function(t) {
|
3091
3134
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3095,7 +3138,7 @@ var Nt = ai ? (
|
|
3095
3138
|
return r;
|
3096
3139
|
}
|
3097
3140
|
)
|
3098
|
-
),
|
3141
|
+
), _r = bi ? (
|
3099
3142
|
// Native
|
3100
3143
|
function(t, r) {
|
3101
3144
|
return t.codePointAt(r);
|
@@ -3109,7 +3152,7 @@ var Nt = ai ? (
|
|
3109
3152
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
3110
3153
|
}
|
3111
3154
|
}
|
3112
|
-
),
|
3155
|
+
), Ei = pi ? (
|
3113
3156
|
// Native
|
3114
3157
|
function(t) {
|
3115
3158
|
return t.trimStart();
|
@@ -3117,9 +3160,9 @@ var Nt = ai ? (
|
|
3117
3160
|
) : (
|
3118
3161
|
// Ponyfill
|
3119
3162
|
function(t) {
|
3120
|
-
return t.replace(
|
3163
|
+
return t.replace(li, "");
|
3121
3164
|
}
|
3122
|
-
),
|
3165
|
+
), xi = gi ? (
|
3123
3166
|
// Native
|
3124
3167
|
function(t) {
|
3125
3168
|
return t.trimEnd();
|
@@ -3127,32 +3170,32 @@ var Nt = ai ? (
|
|
3127
3170
|
) : (
|
3128
3171
|
// Ponyfill
|
3129
3172
|
function(t) {
|
3130
|
-
return t.replace(
|
3173
|
+
return t.replace(ci, "");
|
3131
3174
|
}
|
3132
3175
|
);
|
3133
|
-
function
|
3176
|
+
function Er(e, t) {
|
3134
3177
|
return new RegExp(e, t);
|
3135
3178
|
}
|
3136
|
-
var
|
3137
|
-
if (
|
3138
|
-
var
|
3139
|
-
|
3179
|
+
var st;
|
3180
|
+
if (nt) {
|
3181
|
+
var Gt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3182
|
+
st = function(t, r) {
|
3140
3183
|
var n;
|
3141
|
-
|
3142
|
-
var i =
|
3184
|
+
Gt.lastIndex = r;
|
3185
|
+
var i = Gt.exec(t);
|
3143
3186
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3144
3187
|
};
|
3145
3188
|
} else
|
3146
|
-
|
3189
|
+
st = function(t, r) {
|
3147
3190
|
for (var n = []; ; ) {
|
3148
|
-
var i =
|
3149
|
-
if (i === void 0 ||
|
3191
|
+
var i = _r(t, r);
|
3192
|
+
if (i === void 0 || xr(i) || Hi(i))
|
3150
3193
|
break;
|
3151
3194
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3152
3195
|
}
|
3153
|
-
return
|
3196
|
+
return it.apply(void 0, n);
|
3154
3197
|
};
|
3155
|
-
var
|
3198
|
+
var Si = (
|
3156
3199
|
/** @class */
|
3157
3200
|
function() {
|
3158
3201
|
function e(t, r) {
|
@@ -3176,14 +3219,14 @@ var yi = (
|
|
3176
3219
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
3177
3220
|
var a = this.clonePosition();
|
3178
3221
|
this.bump(), i.push({
|
3179
|
-
type:
|
3222
|
+
type: E.pound,
|
3180
3223
|
location: g(a, this.clonePosition())
|
3181
3224
|
});
|
3182
3225
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
3183
3226
|
if (n)
|
3184
3227
|
break;
|
3185
3228
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
3186
|
-
} else if (s === 60 && !this.ignoreTag &&
|
3229
|
+
} else if (s === 60 && !this.ignoreTag && ot(this.peek() || 0)) {
|
3187
3230
|
var o = this.parseTag(t, r);
|
3188
3231
|
if (o.err)
|
3189
3232
|
return o;
|
@@ -3204,7 +3247,7 @@ var yi = (
|
|
3204
3247
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
3205
3248
|
return {
|
3206
3249
|
val: {
|
3207
|
-
type:
|
3250
|
+
type: E.literal,
|
3208
3251
|
value: "<".concat(i, "/>"),
|
3209
3252
|
location: g(n, this.clonePosition())
|
3210
3253
|
},
|
@@ -3216,12 +3259,12 @@ var yi = (
|
|
3216
3259
|
return s;
|
3217
3260
|
var o = s.val, a = this.clonePosition();
|
3218
3261
|
if (this.bumpIf("</")) {
|
3219
|
-
if (this.isEOF() || !
|
3262
|
+
if (this.isEOF() || !ot(this.char()))
|
3220
3263
|
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
3221
3264
|
var h = this.clonePosition(), u = this.parseTagName();
|
3222
3265
|
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
3223
3266
|
val: {
|
3224
|
-
type:
|
3267
|
+
type: E.tag,
|
3225
3268
|
value: i,
|
3226
3269
|
children: o,
|
3227
3270
|
location: g(n, this.clonePosition())
|
@@ -3234,7 +3277,7 @@ var yi = (
|
|
3234
3277
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
3235
3278
|
}, e.prototype.parseTagName = function() {
|
3236
3279
|
var t = this.offset();
|
3237
|
-
for (this.bump(); !this.isEOF() &&
|
3280
|
+
for (this.bump(); !this.isEOF() && Ti(this.char()); )
|
3238
3281
|
this.bump();
|
3239
3282
|
return this.message.slice(t, this.offset());
|
3240
3283
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3258,12 +3301,12 @@ var yi = (
|
|
3258
3301
|
}
|
3259
3302
|
var h = g(n, this.clonePosition());
|
3260
3303
|
return {
|
3261
|
-
val: { type:
|
3304
|
+
val: { type: E.literal, value: i, location: h },
|
3262
3305
|
err: null
|
3263
3306
|
};
|
3264
3307
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3265
3308
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3266
|
-
!
|
3309
|
+
!wi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3267
3310
|
}, e.prototype.tryParseQuote = function(t) {
|
3268
3311
|
if (this.isEOF() || this.char() !== 39)
|
3269
3312
|
return null;
|
@@ -3297,12 +3340,12 @@ var yi = (
|
|
3297
3340
|
r.push(n);
|
3298
3341
|
this.bump();
|
3299
3342
|
}
|
3300
|
-
return
|
3343
|
+
return it.apply(void 0, r);
|
3301
3344
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3302
3345
|
if (this.isEOF())
|
3303
3346
|
return null;
|
3304
3347
|
var n = this.char();
|
3305
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3348
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), it(n));
|
3306
3349
|
}, e.prototype.parseArgument = function(t, r) {
|
3307
3350
|
var n = this.clonePosition();
|
3308
3351
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -3318,7 +3361,7 @@ var yi = (
|
|
3318
3361
|
case 125:
|
3319
3362
|
return this.bump(), {
|
3320
3363
|
val: {
|
3321
|
-
type:
|
3364
|
+
type: E.argument,
|
3322
3365
|
// value does not include the opening and closing braces.
|
3323
3366
|
value: i,
|
3324
3367
|
location: g(n, this.clonePosition())
|
@@ -3331,7 +3374,7 @@ var yi = (
|
|
3331
3374
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
3332
3375
|
}
|
3333
3376
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3334
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3377
|
+
var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
|
3335
3378
|
this.bumpTo(i);
|
3336
3379
|
var s = this.clonePosition(), o = g(t, s);
|
3337
3380
|
return { value: n, location: o };
|
@@ -3350,7 +3393,7 @@ var yi = (
|
|
3350
3393
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
3351
3394
|
if (m.err)
|
3352
3395
|
return m;
|
3353
|
-
var c =
|
3396
|
+
var c = xi(m.val);
|
3354
3397
|
if (c.length === 0)
|
3355
3398
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
3356
3399
|
var d = g(l, this.clonePosition());
|
@@ -3360,34 +3403,34 @@ var yi = (
|
|
3360
3403
|
if (b.err)
|
3361
3404
|
return b;
|
3362
3405
|
var y = g(i, this.clonePosition());
|
3363
|
-
if (u &&
|
3364
|
-
var T =
|
3406
|
+
if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
|
3407
|
+
var T = Ei(u.style.slice(2));
|
3365
3408
|
if (a === "number") {
|
3366
3409
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
3367
3410
|
return m.err ? m : {
|
3368
|
-
val: { type:
|
3411
|
+
val: { type: E.number, value: n, location: y, style: m.val },
|
3369
3412
|
err: null
|
3370
3413
|
};
|
3371
3414
|
} else {
|
3372
3415
|
if (T.length === 0)
|
3373
3416
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
|
3374
3417
|
var C = T;
|
3375
|
-
this.locale && (C =
|
3418
|
+
this.locale && (C = ui(T, this.locale));
|
3376
3419
|
var c = {
|
3377
|
-
type:
|
3420
|
+
type: K.dateTime,
|
3378
3421
|
pattern: C,
|
3379
3422
|
location: u.styleLocation,
|
3380
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3381
|
-
},
|
3423
|
+
parsedOptions: this.shouldParseSkeletons ? ti(C) : {}
|
3424
|
+
}, O = a === "date" ? E.date : E.time;
|
3382
3425
|
return {
|
3383
|
-
val: { type:
|
3426
|
+
val: { type: O, value: n, location: y, style: c },
|
3384
3427
|
err: null
|
3385
3428
|
};
|
3386
3429
|
}
|
3387
3430
|
}
|
3388
3431
|
return {
|
3389
3432
|
val: {
|
3390
|
-
type: a === "number" ?
|
3433
|
+
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
3391
3434
|
value: n,
|
3392
3435
|
location: y,
|
3393
3436
|
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
@@ -3400,41 +3443,41 @@ var yi = (
|
|
3400
3443
|
case "select": {
|
3401
3444
|
var w = this.clonePosition();
|
3402
3445
|
if (this.bumpSpace(), !this.bumpIf(","))
|
3403
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w,
|
3446
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, we({}, w)));
|
3404
3447
|
this.bumpSpace();
|
3405
|
-
var
|
3406
|
-
if (a !== "select" &&
|
3448
|
+
var N = this.parseIdentifierIfPossible(), L = 0;
|
3449
|
+
if (a !== "select" && N.value === "offset") {
|
3407
3450
|
if (!this.bumpIf(":"))
|
3408
3451
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
3409
3452
|
this.bumpSpace();
|
3410
3453
|
var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3411
3454
|
if (m.err)
|
3412
3455
|
return m;
|
3413
|
-
this.bumpSpace(),
|
3456
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), L = m.val;
|
3414
3457
|
}
|
3415
|
-
var R = this.tryParsePluralOrSelectOptions(t, a, r,
|
3458
|
+
var R = this.tryParsePluralOrSelectOptions(t, a, r, N);
|
3416
3459
|
if (R.err)
|
3417
3460
|
return R;
|
3418
3461
|
var b = this.tryParseArgumentClose(i);
|
3419
3462
|
if (b.err)
|
3420
3463
|
return b;
|
3421
|
-
var
|
3464
|
+
var _ = g(i, this.clonePosition());
|
3422
3465
|
return a === "select" ? {
|
3423
3466
|
val: {
|
3424
|
-
type:
|
3467
|
+
type: E.select,
|
3425
3468
|
value: n,
|
3426
|
-
options:
|
3427
|
-
location:
|
3469
|
+
options: Rt(R.val),
|
3470
|
+
location: _
|
3428
3471
|
},
|
3429
3472
|
err: null
|
3430
3473
|
} : {
|
3431
3474
|
val: {
|
3432
|
-
type:
|
3475
|
+
type: E.plural,
|
3433
3476
|
value: n,
|
3434
|
-
options:
|
3477
|
+
options: Rt(R.val),
|
3435
3478
|
offset: L,
|
3436
3479
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3437
|
-
location:
|
3480
|
+
location: _
|
3438
3481
|
},
|
3439
3482
|
err: null
|
3440
3483
|
};
|
@@ -3482,16 +3525,16 @@ var yi = (
|
|
3482
3525
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3483
3526
|
var n = [];
|
3484
3527
|
try {
|
3485
|
-
n =
|
3528
|
+
n = ni(t);
|
3486
3529
|
} catch (i) {
|
3487
3530
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
3488
3531
|
}
|
3489
3532
|
return {
|
3490
3533
|
val: {
|
3491
|
-
type:
|
3534
|
+
type: K.number,
|
3492
3535
|
tokens: n,
|
3493
3536
|
location: r,
|
3494
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3537
|
+
parsedOptions: this.shouldParseSkeletons ? ai(n) : {}
|
3495
3538
|
},
|
3496
3539
|
err: null
|
3497
3540
|
};
|
@@ -3539,7 +3582,7 @@ var yi = (
|
|
3539
3582
|
break;
|
3540
3583
|
}
|
3541
3584
|
var h = g(i, this.clonePosition());
|
3542
|
-
return s ? (o *= n,
|
3585
|
+
return s ? (o *= n, vi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
3543
3586
|
}, e.prototype.offset = function() {
|
3544
3587
|
return this.position.offset;
|
3545
3588
|
}, e.prototype.isEOF = function() {
|
@@ -3554,7 +3597,7 @@ var yi = (
|
|
3554
3597
|
var t = this.position.offset;
|
3555
3598
|
if (t >= this.message.length)
|
3556
3599
|
throw Error("out of bound");
|
3557
|
-
var r =
|
3600
|
+
var r = _r(this.message, t);
|
3558
3601
|
if (r === void 0)
|
3559
3602
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3560
3603
|
return r;
|
@@ -3573,7 +3616,7 @@ var yi = (
|
|
3573
3616
|
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);
|
3574
3617
|
}
|
3575
3618
|
}, e.prototype.bumpIf = function(t) {
|
3576
|
-
if (
|
3619
|
+
if (Mt(this.message, t, this.offset())) {
|
3577
3620
|
for (var r = 0; r < t.length; r++)
|
3578
3621
|
this.bump();
|
3579
3622
|
return !0;
|
@@ -3595,7 +3638,7 @@ var yi = (
|
|
3595
3638
|
break;
|
3596
3639
|
}
|
3597
3640
|
}, e.prototype.bumpSpace = function() {
|
3598
|
-
for (; !this.isEOF() &&
|
3641
|
+
for (; !this.isEOF() && xr(this.char()); )
|
3599
3642
|
this.bump();
|
3600
3643
|
}, e.prototype.peek = function() {
|
3601
3644
|
if (this.isEOF())
|
@@ -3605,47 +3648,47 @@ var yi = (
|
|
3605
3648
|
}, e;
|
3606
3649
|
}()
|
3607
3650
|
);
|
3608
|
-
function
|
3651
|
+
function ot(e) {
|
3609
3652
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3610
3653
|
}
|
3611
|
-
function
|
3612
|
-
return
|
3654
|
+
function wi(e) {
|
3655
|
+
return ot(e) || e === 47;
|
3613
3656
|
}
|
3614
|
-
function
|
3657
|
+
function Ti(e) {
|
3615
3658
|
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;
|
3616
3659
|
}
|
3617
|
-
function
|
3660
|
+
function xr(e) {
|
3618
3661
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3619
3662
|
}
|
3620
|
-
function
|
3663
|
+
function Hi(e) {
|
3621
3664
|
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;
|
3622
3665
|
}
|
3623
|
-
function
|
3666
|
+
function at(e) {
|
3624
3667
|
e.forEach(function(t) {
|
3625
|
-
if (delete t.location,
|
3668
|
+
if (delete t.location, fr(t) || mr(t))
|
3626
3669
|
for (var r in t.options)
|
3627
|
-
delete t.options[r].location,
|
3670
|
+
delete t.options[r].location, at(t.options[r].value);
|
3628
3671
|
else
|
3629
|
-
|
3672
|
+
hr(t) && br(t.style) || (lr(t) || cr(t)) && rt(t.style) ? delete t.style.location : dr(t) && at(t.children);
|
3630
3673
|
});
|
3631
3674
|
}
|
3632
|
-
function
|
3633
|
-
t === void 0 && (t = {}), t =
|
3634
|
-
var r = new
|
3675
|
+
function Ai(e, t) {
|
3676
|
+
t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3677
|
+
var r = new Si(e, t).parse();
|
3635
3678
|
if (r.err) {
|
3636
3679
|
var n = SyntaxError(p[r.err.kind]);
|
3637
3680
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3638
3681
|
}
|
3639
|
-
return t != null && t.captureLocation ||
|
3682
|
+
return t != null && t.captureLocation || at(r.val), r.val;
|
3640
3683
|
}
|
3641
|
-
var
|
3684
|
+
var ee;
|
3642
3685
|
(function(e) {
|
3643
3686
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3644
|
-
})(
|
3645
|
-
var
|
3687
|
+
})(ee || (ee = {}));
|
3688
|
+
var Ne = (
|
3646
3689
|
/** @class */
|
3647
3690
|
function(e) {
|
3648
|
-
|
3691
|
+
Oe(t, e);
|
3649
3692
|
function t(r, n, i) {
|
3650
3693
|
var s = e.call(this, r) || this;
|
3651
3694
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3654,48 +3697,48 @@ var Pe = (
|
|
3654
3697
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3655
3698
|
}, t;
|
3656
3699
|
}(Error)
|
3657
|
-
),
|
3700
|
+
), Ut = (
|
3658
3701
|
/** @class */
|
3659
3702
|
function(e) {
|
3660
|
-
|
3703
|
+
Oe(t, e);
|
3661
3704
|
function t(r, n, i, s) {
|
3662
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3705
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
|
3663
3706
|
}
|
3664
3707
|
return t;
|
3665
|
-
}(
|
3666
|
-
),
|
3708
|
+
}(Ne)
|
3709
|
+
), Bi = (
|
3667
3710
|
/** @class */
|
3668
3711
|
function(e) {
|
3669
|
-
|
3712
|
+
Oe(t, e);
|
3670
3713
|
function t(r, n, i) {
|
3671
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3714
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
|
3672
3715
|
}
|
3673
3716
|
return t;
|
3674
|
-
}(
|
3675
|
-
),
|
3717
|
+
}(Ne)
|
3718
|
+
), Pi = (
|
3676
3719
|
/** @class */
|
3677
3720
|
function(e) {
|
3678
|
-
|
3721
|
+
Oe(t, e);
|
3679
3722
|
function t(r, n) {
|
3680
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3723
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
|
3681
3724
|
}
|
3682
3725
|
return t;
|
3683
|
-
}(
|
3726
|
+
}(Ne)
|
3684
3727
|
), H;
|
3685
3728
|
(function(e) {
|
3686
3729
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3687
3730
|
})(H || (H = {}));
|
3688
|
-
function
|
3731
|
+
function Oi(e) {
|
3689
3732
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3690
3733
|
var n = t[t.length - 1];
|
3691
3734
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3692
3735
|
}, []);
|
3693
3736
|
}
|
3694
|
-
function
|
3737
|
+
function Ni(e) {
|
3695
3738
|
return typeof e == "function";
|
3696
3739
|
}
|
3697
3740
|
function xe(e, t, r, n, i, s, o) {
|
3698
|
-
if (e.length === 1 &&
|
3741
|
+
if (e.length === 1 && Nt(e[0]))
|
3699
3742
|
return [
|
3700
3743
|
{
|
3701
3744
|
type: H.literal,
|
@@ -3704,14 +3747,14 @@ function xe(e, t, r, n, i, s, o) {
|
|
3704
3747
|
];
|
3705
3748
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3706
3749
|
var l = u[h];
|
3707
|
-
if (
|
3750
|
+
if (Nt(l)) {
|
3708
3751
|
a.push({
|
3709
3752
|
type: H.literal,
|
3710
3753
|
value: l.value
|
3711
3754
|
});
|
3712
3755
|
continue;
|
3713
3756
|
}
|
3714
|
-
if (
|
3757
|
+
if (Kn(l)) {
|
3715
3758
|
typeof s == "number" && a.push({
|
3716
3759
|
type: H.literal,
|
3717
3760
|
value: r.getNumberFormat(t).format(s)
|
@@ -3720,89 +3763,89 @@ function xe(e, t, r, n, i, s, o) {
|
|
3720
3763
|
}
|
3721
3764
|
var m = l.value;
|
3722
3765
|
if (!(i && m in i))
|
3723
|
-
throw new
|
3766
|
+
throw new Pi(m, o);
|
3724
3767
|
var c = i[m];
|
3725
|
-
if (
|
3768
|
+
if (Jn(l)) {
|
3726
3769
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3727
3770
|
type: typeof c == "string" ? H.literal : H.object,
|
3728
3771
|
value: c
|
3729
3772
|
});
|
3730
3773
|
continue;
|
3731
3774
|
}
|
3732
|
-
if (
|
3733
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3775
|
+
if (lr(l)) {
|
3776
|
+
var d = typeof l.style == "string" ? n.date[l.style] : rt(l.style) ? l.style.parsedOptions : void 0;
|
3734
3777
|
a.push({
|
3735
3778
|
type: H.literal,
|
3736
3779
|
value: r.getDateTimeFormat(t, d).format(c)
|
3737
3780
|
});
|
3738
3781
|
continue;
|
3739
3782
|
}
|
3740
|
-
if (
|
3741
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3783
|
+
if (cr(l)) {
|
3784
|
+
var d = typeof l.style == "string" ? n.time[l.style] : rt(l.style) ? l.style.parsedOptions : n.time.medium;
|
3742
3785
|
a.push({
|
3743
3786
|
type: H.literal,
|
3744
3787
|
value: r.getDateTimeFormat(t, d).format(c)
|
3745
3788
|
});
|
3746
3789
|
continue;
|
3747
3790
|
}
|
3748
|
-
if (
|
3749
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
3791
|
+
if (hr(l)) {
|
3792
|
+
var d = typeof l.style == "string" ? n.number[l.style] : br(l.style) ? l.style.parsedOptions : void 0;
|
3750
3793
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3751
3794
|
type: H.literal,
|
3752
3795
|
value: r.getNumberFormat(t, d).format(c)
|
3753
3796
|
});
|
3754
3797
|
continue;
|
3755
3798
|
}
|
3756
|
-
if (
|
3799
|
+
if (dr(l)) {
|
3757
3800
|
var b = l.children, y = l.value, T = i[y];
|
3758
|
-
if (!
|
3759
|
-
throw new
|
3760
|
-
var C = xe(b, t, r, n, i, s),
|
3801
|
+
if (!Ni(T))
|
3802
|
+
throw new Bi(y, "function", o);
|
3803
|
+
var C = xe(b, t, r, n, i, s), O = T(C.map(function(L) {
|
3761
3804
|
return L.value;
|
3762
3805
|
}));
|
3763
|
-
Array.isArray(
|
3806
|
+
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(L) {
|
3764
3807
|
return {
|
3765
3808
|
type: typeof L == "string" ? H.literal : H.object,
|
3766
3809
|
value: L
|
3767
3810
|
};
|
3768
3811
|
}));
|
3769
3812
|
}
|
3770
|
-
if (
|
3813
|
+
if (fr(l)) {
|
3771
3814
|
var w = l.options[c] || l.options.other;
|
3772
3815
|
if (!w)
|
3773
|
-
throw new
|
3816
|
+
throw new Ut(l.value, c, Object.keys(l.options), o);
|
3774
3817
|
a.push.apply(a, xe(w.value, t, r, n, i));
|
3775
3818
|
continue;
|
3776
3819
|
}
|
3777
|
-
if (
|
3820
|
+
if (mr(l)) {
|
3778
3821
|
var w = l.options["=".concat(c)];
|
3779
3822
|
if (!w) {
|
3780
3823
|
if (!Intl.PluralRules)
|
3781
|
-
throw new
|
3824
|
+
throw new Ne(`Intl.PluralRules is not available in this environment.
|
3782
3825
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3783
|
-
`,
|
3784
|
-
var
|
3785
|
-
w = l.options[
|
3826
|
+
`, ee.MISSING_INTL_API, o);
|
3827
|
+
var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
3828
|
+
w = l.options[N] || l.options.other;
|
3786
3829
|
}
|
3787
3830
|
if (!w)
|
3788
|
-
throw new
|
3831
|
+
throw new Ut(l.value, c, Object.keys(l.options), o);
|
3789
3832
|
a.push.apply(a, xe(w.value, t, r, n, i, c - (l.offset || 0)));
|
3790
3833
|
continue;
|
3791
3834
|
}
|
3792
3835
|
}
|
3793
|
-
return
|
3836
|
+
return Oi(a);
|
3794
3837
|
}
|
3795
|
-
function
|
3796
|
-
return t ?
|
3797
|
-
return r[n] =
|
3838
|
+
function Li(e, t) {
|
3839
|
+
return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3840
|
+
return r[n] = G(G({}, e[n]), t[n] || {}), r;
|
3798
3841
|
}, {})) : e;
|
3799
3842
|
}
|
3800
|
-
function
|
3843
|
+
function Ii(e, t) {
|
3801
3844
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3802
|
-
return r[n] =
|
3803
|
-
},
|
3845
|
+
return r[n] = Li(e[n], t[n]), r;
|
3846
|
+
}, G({}, e)) : e;
|
3804
3847
|
}
|
3805
|
-
function
|
3848
|
+
function Ve(e) {
|
3806
3849
|
return {
|
3807
3850
|
create: function() {
|
3808
3851
|
return {
|
@@ -3816,39 +3859,39 @@ function $e(e) {
|
|
3816
3859
|
}
|
3817
3860
|
};
|
3818
3861
|
}
|
3819
|
-
function
|
3862
|
+
function Ci(e) {
|
3820
3863
|
return e === void 0 && (e = {
|
3821
3864
|
number: {},
|
3822
3865
|
dateTime: {},
|
3823
3866
|
pluralRules: {}
|
3824
3867
|
}), {
|
3825
|
-
getNumberFormat:
|
3868
|
+
getNumberFormat: Fe(function() {
|
3826
3869
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3827
3870
|
r[n] = arguments[n];
|
3828
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3871
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, $e([void 0], r, !1)))();
|
3829
3872
|
}, {
|
3830
|
-
cache:
|
3831
|
-
strategy:
|
3873
|
+
cache: Ve(e.number),
|
3874
|
+
strategy: je.variadic
|
3832
3875
|
}),
|
3833
|
-
getDateTimeFormat:
|
3876
|
+
getDateTimeFormat: Fe(function() {
|
3834
3877
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3835
3878
|
r[n] = arguments[n];
|
3836
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3879
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, $e([void 0], r, !1)))();
|
3837
3880
|
}, {
|
3838
|
-
cache:
|
3839
|
-
strategy:
|
3881
|
+
cache: Ve(e.dateTime),
|
3882
|
+
strategy: je.variadic
|
3840
3883
|
}),
|
3841
|
-
getPluralRules:
|
3884
|
+
getPluralRules: Fe(function() {
|
3842
3885
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3843
3886
|
r[n] = arguments[n];
|
3844
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3887
|
+
return new ((t = Intl.PluralRules).bind.apply(t, $e([void 0], r, !1)))();
|
3845
3888
|
}, {
|
3846
|
-
cache:
|
3847
|
-
strategy:
|
3889
|
+
cache: Ve(e.pluralRules),
|
3890
|
+
strategy: je.variadic
|
3848
3891
|
})
|
3849
3892
|
};
|
3850
3893
|
}
|
3851
|
-
var
|
3894
|
+
var Mi = (
|
3852
3895
|
/** @class */
|
3853
3896
|
function() {
|
3854
3897
|
function e(t, r, n, i) {
|
@@ -3880,13 +3923,13 @@ var Ni = (
|
|
3880
3923
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3881
3924
|
var o = i || {};
|
3882
3925
|
o.formatters;
|
3883
|
-
var a =
|
3884
|
-
this.ast = e.__parse(t,
|
3926
|
+
var a = Vn(o, ["formatters"]);
|
3927
|
+
this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
|
3885
3928
|
} else
|
3886
3929
|
this.ast = t;
|
3887
3930
|
if (!Array.isArray(this.ast))
|
3888
3931
|
throw new TypeError("A message must be provided as a String or AST.");
|
3889
|
-
this.formats =
|
3932
|
+
this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
|
3890
3933
|
}
|
3891
3934
|
return Object.defineProperty(e, "defaultLocale", {
|
3892
3935
|
get: function() {
|
@@ -3899,7 +3942,7 @@ var Ni = (
|
|
3899
3942
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3900
3943
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3901
3944
|
}
|
3902
|
-
}, e.__parse =
|
3945
|
+
}, e.__parse = Ai, e.formats = {
|
3903
3946
|
number: {
|
3904
3947
|
integer: {
|
3905
3948
|
maximumFractionDigits: 0
|
@@ -3960,7 +4003,7 @@ var Ni = (
|
|
3960
4003
|
}, e;
|
3961
4004
|
}()
|
3962
4005
|
);
|
3963
|
-
function
|
4006
|
+
function Ri(e, t) {
|
3964
4007
|
if (t == null)
|
3965
4008
|
return;
|
3966
4009
|
if (t in e)
|
@@ -3981,92 +4024,92 @@ function Oi(e, t) {
|
|
3981
4024
|
n = void 0;
|
3982
4025
|
return n;
|
3983
4026
|
}
|
3984
|
-
const
|
4027
|
+
const $ = {}, Gi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Sr = (e, t) => {
|
3985
4028
|
if (t == null)
|
3986
4029
|
return;
|
3987
|
-
if (t in
|
3988
|
-
return
|
3989
|
-
const r =
|
4030
|
+
if (t in $ && e in $[t])
|
4031
|
+
return $[t][e];
|
4032
|
+
const r = Le(t);
|
3990
4033
|
for (let n = 0; n < r.length; n++) {
|
3991
|
-
const i = r[n], s =
|
4034
|
+
const i = r[n], s = Di(i, e);
|
3992
4035
|
if (s)
|
3993
|
-
return
|
4036
|
+
return Gi(e, t, s);
|
3994
4037
|
}
|
3995
4038
|
};
|
3996
|
-
let
|
3997
|
-
const de =
|
3998
|
-
function
|
3999
|
-
return
|
4039
|
+
let ct;
|
4040
|
+
const de = Pe({});
|
4041
|
+
function Ui(e) {
|
4042
|
+
return ct[e] || null;
|
4000
4043
|
}
|
4001
|
-
function
|
4002
|
-
return e in
|
4044
|
+
function wr(e) {
|
4045
|
+
return e in ct;
|
4003
4046
|
}
|
4004
|
-
function
|
4005
|
-
if (!
|
4047
|
+
function Di(e, t) {
|
4048
|
+
if (!wr(e))
|
4006
4049
|
return null;
|
4007
|
-
const r =
|
4008
|
-
return
|
4050
|
+
const r = Ui(e);
|
4051
|
+
return Ri(r, t);
|
4009
4052
|
}
|
4010
|
-
function
|
4053
|
+
function $i(e) {
|
4011
4054
|
if (e == null)
|
4012
4055
|
return;
|
4013
|
-
const t =
|
4056
|
+
const t = Le(e);
|
4014
4057
|
for (let r = 0; r < t.length; r++) {
|
4015
4058
|
const n = t[r];
|
4016
|
-
if (
|
4059
|
+
if (wr(n))
|
4017
4060
|
return n;
|
4018
4061
|
}
|
4019
4062
|
}
|
4020
|
-
function
|
4021
|
-
delete
|
4063
|
+
function Tr(e, ...t) {
|
4064
|
+
delete $[e], de.update((r) => (r[e] = kn.all([r[e] || {}, ...t]), r));
|
4022
4065
|
}
|
4023
|
-
|
4066
|
+
ie(
|
4024
4067
|
[de],
|
4025
4068
|
([e]) => Object.keys(e)
|
4026
4069
|
);
|
4027
|
-
de.subscribe((e) =>
|
4070
|
+
de.subscribe((e) => ct = e);
|
4028
4071
|
const Se = {};
|
4029
|
-
function
|
4072
|
+
function Fi(e, t) {
|
4030
4073
|
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
4031
4074
|
}
|
4032
|
-
function
|
4075
|
+
function Hr(e) {
|
4033
4076
|
return Se[e];
|
4034
4077
|
}
|
4035
|
-
function
|
4036
|
-
return
|
4037
|
-
const r =
|
4078
|
+
function ji(e) {
|
4079
|
+
return Le(e).map((t) => {
|
4080
|
+
const r = Hr(t);
|
4038
4081
|
return [t, r ? [...r] : []];
|
4039
4082
|
}).filter(([, t]) => t.length > 0);
|
4040
4083
|
}
|
4041
|
-
function
|
4042
|
-
return e == null ? !1 :
|
4084
|
+
function ut(e) {
|
4085
|
+
return e == null ? !1 : Le(e).some(
|
4043
4086
|
(t) => {
|
4044
4087
|
var r;
|
4045
|
-
return (r =
|
4088
|
+
return (r = Hr(t)) == null ? void 0 : r.size;
|
4046
4089
|
}
|
4047
4090
|
);
|
4048
4091
|
}
|
4049
|
-
function
|
4092
|
+
function ki(e, t) {
|
4050
4093
|
return Promise.all(
|
4051
|
-
t.map((n) => (
|
4052
|
-
).then((n) =>
|
4053
|
-
}
|
4054
|
-
const
|
4055
|
-
function
|
4056
|
-
if (!
|
4057
|
-
return e in
|
4058
|
-
const t =
|
4059
|
-
return
|
4094
|
+
t.map((n) => (Fi(e, n), n().then((i) => i.default || i)))
|
4095
|
+
).then((n) => Tr(e, ...n));
|
4096
|
+
}
|
4097
|
+
const oe = {};
|
4098
|
+
function Ar(e) {
|
4099
|
+
if (!ut(e))
|
4100
|
+
return e in oe ? oe[e] : Promise.resolve();
|
4101
|
+
const t = ji(e);
|
4102
|
+
return oe[e] = Promise.all(
|
4060
4103
|
t.map(
|
4061
|
-
([r, n]) =>
|
4104
|
+
([r, n]) => ki(r, n)
|
4062
4105
|
)
|
4063
4106
|
).then(() => {
|
4064
|
-
if (
|
4065
|
-
return
|
4066
|
-
delete
|
4067
|
-
}),
|
4107
|
+
if (ut(e))
|
4108
|
+
return Ar(e);
|
4109
|
+
delete oe[e];
|
4110
|
+
}), oe[e];
|
4068
4111
|
}
|
4069
|
-
const
|
4112
|
+
const Vi = {
|
4070
4113
|
number: {
|
4071
4114
|
scientific: { notation: "scientific" },
|
4072
4115
|
engineering: { notation: "engineering" },
|
@@ -4095,135 +4138,135 @@ const Di = {
|
|
4095
4138
|
timeZoneName: "short"
|
4096
4139
|
}
|
4097
4140
|
}
|
4098
|
-
},
|
4141
|
+
}, Xi = {
|
4099
4142
|
fallbackLocale: null,
|
4100
4143
|
loadingDelay: 200,
|
4101
|
-
formats:
|
4144
|
+
formats: Vi,
|
4102
4145
|
warnOnMissingMessages: !0,
|
4103
4146
|
handleMissingMessage: void 0,
|
4104
4147
|
ignoreTag: !0
|
4105
|
-
},
|
4106
|
-
function
|
4107
|
-
return
|
4148
|
+
}, Wi = Xi;
|
4149
|
+
function te() {
|
4150
|
+
return Wi;
|
4108
4151
|
}
|
4109
|
-
const
|
4110
|
-
var
|
4152
|
+
const Xe = Pe(!1);
|
4153
|
+
var zi = Object.defineProperty, Zi = Object.defineProperties, Qi = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Yi = Object.prototype.hasOwnProperty, qi = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ji = (e, t) => {
|
4111
4154
|
for (var r in t || (t = {}))
|
4112
|
-
|
4113
|
-
if (
|
4114
|
-
for (var r of
|
4115
|
-
|
4155
|
+
Yi.call(t, r) && $t(e, r, t[r]);
|
4156
|
+
if (Dt)
|
4157
|
+
for (var r of Dt(t))
|
4158
|
+
qi.call(t, r) && $t(e, r, t[r]);
|
4116
4159
|
return e;
|
4117
|
-
},
|
4118
|
-
let
|
4119
|
-
const
|
4120
|
-
function
|
4160
|
+
}, Ki = (e, t) => Zi(e, Qi(t));
|
4161
|
+
let ht;
|
4162
|
+
const Te = Pe(null);
|
4163
|
+
function Ft(e) {
|
4121
4164
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4122
4165
|
}
|
4123
|
-
function
|
4124
|
-
const r =
|
4125
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
4166
|
+
function Le(e, t = te().fallbackLocale) {
|
4167
|
+
const r = Ft(e);
|
4168
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
|
4126
4169
|
}
|
4127
4170
|
function X() {
|
4128
|
-
return
|
4171
|
+
return ht != null ? ht : void 0;
|
4129
4172
|
}
|
4130
|
-
|
4131
|
-
|
4173
|
+
Te.subscribe((e) => {
|
4174
|
+
ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
4132
4175
|
});
|
4133
|
-
const
|
4134
|
-
if (e &&
|
4135
|
-
const { loadingDelay: t } =
|
4176
|
+
const es = (e) => {
|
4177
|
+
if (e && $i(e) && ut(e)) {
|
4178
|
+
const { loadingDelay: t } = te();
|
4136
4179
|
let r;
|
4137
4180
|
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
4138
|
-
() =>
|
4181
|
+
() => Xe.set(!0),
|
4139
4182
|
t
|
4140
|
-
) :
|
4141
|
-
|
4183
|
+
) : Xe.set(!0), Ar(e).then(() => {
|
4184
|
+
Te.set(e);
|
4142
4185
|
}).finally(() => {
|
4143
|
-
clearTimeout(r),
|
4186
|
+
clearTimeout(r), Xe.set(!1);
|
4144
4187
|
});
|
4145
4188
|
}
|
4146
|
-
return
|
4147
|
-
}, be =
|
4148
|
-
set:
|
4149
|
-
}),
|
4189
|
+
return Te.set(e);
|
4190
|
+
}, be = Ki(Ji({}, Te), {
|
4191
|
+
set: es
|
4192
|
+
}), Ie = (e) => {
|
4150
4193
|
const t = /* @__PURE__ */ Object.create(null);
|
4151
4194
|
return (n) => {
|
4152
4195
|
const i = JSON.stringify(n);
|
4153
4196
|
return i in t ? t[i] : t[i] = e(n);
|
4154
4197
|
};
|
4155
4198
|
};
|
4156
|
-
var
|
4199
|
+
var ts = Object.defineProperty, He = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? ts(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
|
4157
4200
|
for (var r in t || (t = {}))
|
4158
|
-
|
4159
|
-
if (
|
4160
|
-
for (var r of
|
4161
|
-
|
4201
|
+
Br.call(t, r) && jt(e, r, t[r]);
|
4202
|
+
if (He)
|
4203
|
+
for (var r of He(t))
|
4204
|
+
Pr.call(t, r) && jt(e, r, t[r]);
|
4162
4205
|
return e;
|
4163
|
-
},
|
4206
|
+
}, se = (e, t) => {
|
4164
4207
|
var r = {};
|
4165
4208
|
for (var n in e)
|
4166
|
-
|
4167
|
-
if (e != null &&
|
4168
|
-
for (var n of
|
4169
|
-
t.indexOf(n) < 0 &&
|
4209
|
+
Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4210
|
+
if (e != null && He)
|
4211
|
+
for (var n of He(e))
|
4212
|
+
t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
|
4170
4213
|
return r;
|
4171
4214
|
};
|
4172
|
-
const
|
4173
|
-
const { formats: r } =
|
4215
|
+
const le = (e, t) => {
|
4216
|
+
const { formats: r } = te();
|
4174
4217
|
if (e in r && t in r[e])
|
4175
4218
|
return r[e][t];
|
4176
4219
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4177
|
-
},
|
4220
|
+
}, rs = Ie(
|
4178
4221
|
(e) => {
|
4179
|
-
var t = e, { locale: r, format: n } = t, i =
|
4222
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4180
4223
|
if (r == null)
|
4181
4224
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4182
|
-
return n && (i =
|
4225
|
+
return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
|
4183
4226
|
}
|
4184
|
-
),
|
4227
|
+
), ns = Ie(
|
4185
4228
|
(e) => {
|
4186
|
-
var t = e, { locale: r, format: n } = t, i =
|
4229
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4187
4230
|
if (r == null)
|
4188
4231
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4189
|
-
return n ? i =
|
4232
|
+
return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
|
4190
4233
|
}
|
4191
|
-
),
|
4234
|
+
), is = Ie(
|
4192
4235
|
(e) => {
|
4193
|
-
var t = e, { locale: r, format: n } = t, i =
|
4236
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
4194
4237
|
if (r == null)
|
4195
4238
|
throw new Error(
|
4196
4239
|
'[svelte-i18n] A "locale" must be set to format time values'
|
4197
4240
|
);
|
4198
|
-
return n ? i =
|
4241
|
+
return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
|
4199
4242
|
}
|
4200
|
-
),
|
4243
|
+
), ss = (e = {}) => {
|
4201
4244
|
var t = e, {
|
4202
4245
|
locale: r = X()
|
4203
|
-
} = t, n =
|
4246
|
+
} = t, n = se(t, [
|
4204
4247
|
"locale"
|
4205
4248
|
]);
|
4206
|
-
return
|
4207
|
-
},
|
4249
|
+
return rs(ft({ locale: r }, n));
|
4250
|
+
}, os = (e = {}) => {
|
4208
4251
|
var t = e, {
|
4209
4252
|
locale: r = X()
|
4210
|
-
} = t, n =
|
4253
|
+
} = t, n = se(t, [
|
4211
4254
|
"locale"
|
4212
4255
|
]);
|
4213
|
-
return
|
4214
|
-
},
|
4256
|
+
return ns(ft({ locale: r }, n));
|
4257
|
+
}, as = (e = {}) => {
|
4215
4258
|
var t = e, {
|
4216
4259
|
locale: r = X()
|
4217
|
-
} = t, n =
|
4260
|
+
} = t, n = se(t, [
|
4218
4261
|
"locale"
|
4219
4262
|
]);
|
4220
|
-
return
|
4221
|
-
},
|
4263
|
+
return is(ft({ locale: r }, n));
|
4264
|
+
}, us = Ie(
|
4222
4265
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4223
|
-
(e, t = X()) => new
|
4224
|
-
ignoreTag:
|
4266
|
+
(e, t = X()) => new Mi(e, t, te().formats, {
|
4267
|
+
ignoreTag: te().ignoreTag
|
4225
4268
|
})
|
4226
|
-
),
|
4269
|
+
), hs = (e, t = {}) => {
|
4227
4270
|
var r, n, i, s;
|
4228
4271
|
let o = t;
|
4229
4272
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -4236,9 +4279,9 @@ const ce = (e, t) => {
|
|
4236
4279
|
throw new Error(
|
4237
4280
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4238
4281
|
);
|
4239
|
-
let l =
|
4282
|
+
let l = Sr(e, h);
|
4240
4283
|
if (!l)
|
4241
|
-
l = (s = (i = (n = (r =
|
4284
|
+
l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
4242
4285
|
else if (typeof l != "string")
|
4243
4286
|
return console.warn(
|
4244
4287
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -4247,7 +4290,7 @@ const ce = (e, t) => {
|
|
4247
4290
|
return l;
|
4248
4291
|
let m = l;
|
4249
4292
|
try {
|
4250
|
-
m =
|
4293
|
+
m = us(l, h).format(a);
|
4251
4294
|
} catch (c) {
|
4252
4295
|
c instanceof Error && console.warn(
|
4253
4296
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -4255,20 +4298,20 @@ const ce = (e, t) => {
|
|
4255
4298
|
);
|
4256
4299
|
}
|
4257
4300
|
return m;
|
4258
|
-
},
|
4259
|
-
|
4260
|
-
|
4261
|
-
|
4262
|
-
|
4263
|
-
window.emWidgets = { topic:
|
4264
|
-
const
|
4265
|
-
function
|
4301
|
+
}, ls = (e, t) => as(t).format(e), cs = (e, t) => os(t).format(e), fs = (e, t) => ss(t).format(e), ms = (e, t = X()) => Sr(e, t), ds = ie([be, de], () => hs);
|
4302
|
+
ie([be], () => ls);
|
4303
|
+
ie([be], () => cs);
|
4304
|
+
ie([be], () => fs);
|
4305
|
+
ie([be, de], () => ms);
|
4306
|
+
window.emWidgets = { topic: Hn };
|
4307
|
+
const bs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4308
|
+
function ps(e, t) {
|
4266
4309
|
if (e) {
|
4267
4310
|
const r = document.createElement("style");
|
4268
4311
|
r.innerHTML = t, e.appendChild(r);
|
4269
4312
|
}
|
4270
4313
|
}
|
4271
|
-
function
|
4314
|
+
function gs(e, t) {
|
4272
4315
|
const r = new URL(t);
|
4273
4316
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4274
4317
|
const i = document.createElement("style");
|
@@ -4277,7 +4320,7 @@ function fs(e, t) {
|
|
4277
4320
|
console.error("There was an error while trying to load client styling from URL", n);
|
4278
4321
|
});
|
4279
4322
|
}
|
4280
|
-
function
|
4323
|
+
function ys(e, t, r) {
|
4281
4324
|
if (window.emMessageBus) {
|
4282
4325
|
const n = document.createElement("style");
|
4283
4326
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4285,10 +4328,10 @@ function ms(e, t, r) {
|
|
4285
4328
|
});
|
4286
4329
|
}
|
4287
4330
|
}
|
4288
|
-
function
|
4289
|
-
|
4331
|
+
function kt(e, t) {
|
4332
|
+
Tr(e, t);
|
4290
4333
|
}
|
4291
|
-
const
|
4334
|
+
const Vt = {
|
4292
4335
|
en: {
|
4293
4336
|
lobbyName: "Lobby",
|
4294
4337
|
myGamesName: "My games"
|
@@ -4374,176 +4417,176 @@ if (typeof window != "undefined") {
|
|
4374
4417
|
}
|
4375
4418
|
};
|
4376
4419
|
};
|
4377
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
4420
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-Bu5cvdqr.js").then(({ default: t }) => {
|
4378
4421
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
4379
4422
|
});
|
4380
4423
|
}
|
4381
|
-
function
|
4382
|
-
|
4424
|
+
function vs(e) {
|
4425
|
+
Zr(e, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
|
4383
4426
|
}
|
4384
|
-
function
|
4427
|
+
function _s(e) {
|
4385
4428
|
let t, r, n, i;
|
4386
4429
|
return {
|
4387
4430
|
c() {
|
4388
|
-
t = V("div"), r = V("casino-slider"),
|
4431
|
+
t = V("div"), r = V("casino-slider"), v(
|
4389
4432
|
r,
|
4390
4433
|
"lang",
|
4391
4434
|
/*lang*/
|
4392
4435
|
e[3]
|
4393
|
-
),
|
4436
|
+
), v(
|
4394
4437
|
r,
|
4395
4438
|
"datasource",
|
4396
4439
|
/*datasource*/
|
4397
4440
|
e[2]
|
4398
|
-
),
|
4441
|
+
), v(
|
4399
4442
|
r,
|
4400
4443
|
"endpoint",
|
4401
4444
|
/*endpoint*/
|
4402
4445
|
e[1]
|
4403
|
-
),
|
4446
|
+
), v(r, "identity", lt), v(
|
4404
4447
|
r,
|
4405
4448
|
"favoritesnumber",
|
4406
4449
|
/*numberOfFavoredGames*/
|
4407
4450
|
e[16]
|
4408
|
-
),
|
4451
|
+
), v(
|
4409
4452
|
r,
|
4410
4453
|
"showsubgroups",
|
4411
4454
|
/*showsubgroups*/
|
4412
4455
|
e[8]
|
4413
|
-
),
|
4456
|
+
), v(
|
4414
4457
|
r,
|
4415
4458
|
"clientstyling",
|
4416
4459
|
/*clientstyling*/
|
4417
4460
|
e[4]
|
4418
|
-
),
|
4461
|
+
), v(
|
4419
4462
|
r,
|
4420
4463
|
"clientstylingurl",
|
4421
4464
|
/*clientstylingurl*/
|
4422
4465
|
e[5]
|
4423
|
-
),
|
4466
|
+
), v(
|
4424
4467
|
r,
|
4425
4468
|
"mbsource",
|
4426
4469
|
/*mbsource*/
|
4427
4470
|
e[12]
|
4428
|
-
),
|
4471
|
+
), v(
|
4429
4472
|
r,
|
4430
4473
|
"activeindex",
|
4431
4474
|
/*activecategory*/
|
4432
4475
|
e[0]
|
4433
|
-
),
|
4476
|
+
), v(
|
4434
4477
|
r,
|
4435
4478
|
"actionevent",
|
4436
4479
|
/*actionevent*/
|
4437
4480
|
e[6]
|
4438
|
-
),
|
4481
|
+
), v(
|
4439
4482
|
r,
|
4440
4483
|
"location",
|
4441
4484
|
/*location*/
|
4442
4485
|
e[7]
|
4443
|
-
),
|
4486
|
+
), v(
|
4444
4487
|
r,
|
4445
4488
|
"categoriesicon",
|
4446
4489
|
/*categoriesicon*/
|
4447
4490
|
e[9]
|
4448
|
-
),
|
4491
|
+
), v(
|
4449
4492
|
r,
|
4450
4493
|
"lobbyiconimage",
|
4451
4494
|
/*lobbyiconimage*/
|
4452
4495
|
e[10]
|
4453
|
-
),
|
4496
|
+
), v(
|
4454
4497
|
r,
|
4455
4498
|
"mygamesiconimage",
|
4456
4499
|
/*mygamesiconimage*/
|
4457
4500
|
e[11]
|
4458
|
-
),
|
4501
|
+
), fe(t, "class", "CasinoCategoriesContainer svelte-2g6deg");
|
4459
4502
|
},
|
4460
4503
|
m(s, o) {
|
4461
|
-
|
4504
|
+
ce(s, t, o), Zt(t, r), n || (i = zr(
|
4462
4505
|
/*sendSliderData*/
|
4463
4506
|
e[17].call(null, r)
|
4464
4507
|
), n = !0);
|
4465
4508
|
},
|
4466
4509
|
p(s, o) {
|
4467
4510
|
o[0] & /*lang*/
|
4468
|
-
8 &&
|
4511
|
+
8 && v(
|
4469
4512
|
r,
|
4470
4513
|
"lang",
|
4471
4514
|
/*lang*/
|
4472
4515
|
s[3]
|
4473
4516
|
), o[0] & /*datasource*/
|
4474
|
-
4 &&
|
4517
|
+
4 && v(
|
4475
4518
|
r,
|
4476
4519
|
"datasource",
|
4477
4520
|
/*datasource*/
|
4478
4521
|
s[2]
|
4479
4522
|
), o[0] & /*endpoint*/
|
4480
|
-
2 &&
|
4523
|
+
2 && v(
|
4481
4524
|
r,
|
4482
4525
|
"endpoint",
|
4483
4526
|
/*endpoint*/
|
4484
4527
|
s[1]
|
4485
4528
|
), o[0] & /*numberOfFavoredGames*/
|
4486
|
-
65536 &&
|
4529
|
+
65536 && v(
|
4487
4530
|
r,
|
4488
4531
|
"favoritesnumber",
|
4489
4532
|
/*numberOfFavoredGames*/
|
4490
4533
|
s[16]
|
4491
4534
|
), o[0] & /*showsubgroups*/
|
4492
|
-
256 &&
|
4535
|
+
256 && v(
|
4493
4536
|
r,
|
4494
4537
|
"showsubgroups",
|
4495
4538
|
/*showsubgroups*/
|
4496
4539
|
s[8]
|
4497
4540
|
), o[0] & /*clientstyling*/
|
4498
|
-
16 &&
|
4541
|
+
16 && v(
|
4499
4542
|
r,
|
4500
4543
|
"clientstyling",
|
4501
4544
|
/*clientstyling*/
|
4502
4545
|
s[4]
|
4503
4546
|
), o[0] & /*clientstylingurl*/
|
4504
|
-
32 &&
|
4547
|
+
32 && v(
|
4505
4548
|
r,
|
4506
4549
|
"clientstylingurl",
|
4507
4550
|
/*clientstylingurl*/
|
4508
4551
|
s[5]
|
4509
4552
|
), o[0] & /*mbsource*/
|
4510
|
-
4096 &&
|
4553
|
+
4096 && v(
|
4511
4554
|
r,
|
4512
4555
|
"mbsource",
|
4513
4556
|
/*mbsource*/
|
4514
4557
|
s[12]
|
4515
4558
|
), o[0] & /*activecategory*/
|
4516
|
-
1 &&
|
4559
|
+
1 && v(
|
4517
4560
|
r,
|
4518
4561
|
"activeindex",
|
4519
4562
|
/*activecategory*/
|
4520
4563
|
s[0]
|
4521
4564
|
), o[0] & /*actionevent*/
|
4522
|
-
64 &&
|
4565
|
+
64 && v(
|
4523
4566
|
r,
|
4524
4567
|
"actionevent",
|
4525
4568
|
/*actionevent*/
|
4526
4569
|
s[6]
|
4527
4570
|
), o[0] & /*location*/
|
4528
|
-
128 &&
|
4571
|
+
128 && v(
|
4529
4572
|
r,
|
4530
4573
|
"location",
|
4531
4574
|
/*location*/
|
4532
4575
|
s[7]
|
4533
4576
|
), o[0] & /*categoriesicon*/
|
4534
|
-
512 &&
|
4577
|
+
512 && v(
|
4535
4578
|
r,
|
4536
4579
|
"categoriesicon",
|
4537
4580
|
/*categoriesicon*/
|
4538
4581
|
s[9]
|
4539
4582
|
), o[0] & /*lobbyiconimage*/
|
4540
|
-
1024 &&
|
4583
|
+
1024 && v(
|
4541
4584
|
r,
|
4542
4585
|
"lobbyiconimage",
|
4543
4586
|
/*lobbyiconimage*/
|
4544
4587
|
s[10]
|
4545
4588
|
), o[0] & /*mygamesiconimage*/
|
4546
|
-
2048 &&
|
4589
|
+
2048 && v(
|
4547
4590
|
r,
|
4548
4591
|
"mygamesiconimage",
|
4549
4592
|
/*mygamesiconimage*/
|
@@ -4551,48 +4594,48 @@ function bs(e) {
|
|
4551
4594
|
);
|
4552
4595
|
},
|
4553
4596
|
d(s) {
|
4554
|
-
s &&
|
4597
|
+
s && ne(t), n = !1, i();
|
4555
4598
|
}
|
4556
4599
|
};
|
4557
4600
|
}
|
4558
|
-
function
|
4601
|
+
function Es(e) {
|
4559
4602
|
let t;
|
4560
4603
|
return {
|
4561
4604
|
c() {
|
4562
|
-
t = V("p"), t.textContent = "500 Error - Internal Server Error.",
|
4605
|
+
t = V("p"), t.textContent = "500 Error - Internal Server Error.", fe(t, "class", "SearchLoading svelte-2g6deg");
|
4563
4606
|
},
|
4564
4607
|
m(r, n) {
|
4565
|
-
|
4608
|
+
ce(r, t, n);
|
4566
4609
|
},
|
4567
4610
|
p: P,
|
4568
4611
|
d(r) {
|
4569
|
-
r &&
|
4612
|
+
r && ne(t);
|
4570
4613
|
}
|
4571
4614
|
};
|
4572
4615
|
}
|
4573
|
-
function
|
4616
|
+
function xs(e) {
|
4574
4617
|
let t;
|
4575
4618
|
return {
|
4576
4619
|
c() {
|
4577
|
-
t = V("div"),
|
4620
|
+
t = V("div"), fe(t, "class", "CasinoCategoriesLoading svelte-2g6deg");
|
4578
4621
|
},
|
4579
4622
|
m(r, n) {
|
4580
|
-
|
4623
|
+
ce(r, t, n);
|
4581
4624
|
},
|
4582
4625
|
p: P,
|
4583
4626
|
d(r) {
|
4584
|
-
r &&
|
4627
|
+
r && ne(t);
|
4585
4628
|
}
|
4586
4629
|
};
|
4587
4630
|
}
|
4588
|
-
function
|
4631
|
+
function Ss(e) {
|
4589
4632
|
let t;
|
4590
4633
|
function r(s, o) {
|
4591
4634
|
return (
|
4592
4635
|
/*isLoading*/
|
4593
|
-
s[13] ||
|
4636
|
+
s[13] || ws || Ts ? xs : (
|
4594
4637
|
/*hasErrors*/
|
4595
|
-
s[15] ?
|
4638
|
+
s[15] ? Es : _s
|
4596
4639
|
)
|
4597
4640
|
);
|
4598
4641
|
}
|
@@ -4602,7 +4645,7 @@ function ys(e) {
|
|
4602
4645
|
t = V("div"), i.c();
|
4603
4646
|
},
|
4604
4647
|
m(s, o) {
|
4605
|
-
|
4648
|
+
ce(s, t, o), i.m(t, null), e[27](t);
|
4606
4649
|
},
|
4607
4650
|
p(s, o) {
|
4608
4651
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
@@ -4610,51 +4653,51 @@ function ys(e) {
|
|
4610
4653
|
i: P,
|
4611
4654
|
o: P,
|
4612
4655
|
d(s) {
|
4613
|
-
s &&
|
4656
|
+
s && ne(t), i.d(), e[27](null);
|
4614
4657
|
}
|
4615
4658
|
};
|
4616
4659
|
}
|
4617
|
-
let
|
4618
|
-
function
|
4660
|
+
let lt = "CasinoSliderData", ws = !1, Ts = !1;
|
4661
|
+
function Hs(e, t, r) {
|
4619
4662
|
let n;
|
4620
|
-
|
4621
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups:
|
4622
|
-
const
|
4623
|
-
fetch(
|
4663
|
+
Wr(e, ds, (f) => r(33, n = f));
|
4664
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: O = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: L = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, I, F, j = !0, W, z = [], k = !1, Nr = window.navigator.userAgent, U, mt, dt = !1, Ce = !1;
|
4665
|
+
const Lr = () => {
|
4666
|
+
fetch(N).then((B) => B.json()).then((B) => {
|
4624
4667
|
Object.keys(B).forEach((pe) => {
|
4625
|
-
|
4668
|
+
kt(pe, B[pe]);
|
4626
4669
|
});
|
4627
4670
|
}).catch((B) => {
|
4628
4671
|
console.log(B);
|
4629
4672
|
});
|
4630
4673
|
};
|
4631
|
-
Object.keys(
|
4632
|
-
|
4674
|
+
Object.keys(Vt).forEach((f) => {
|
4675
|
+
kt(f, Vt[f]);
|
4633
4676
|
});
|
4634
|
-
const
|
4635
|
-
|
4677
|
+
const Ir = () => {
|
4678
|
+
dt == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
|
4636
4679
|
// @ts-ignore
|
4637
4680
|
id: "MYGAMES",
|
4638
4681
|
name: I,
|
4639
4682
|
href: "",
|
4640
4683
|
games: []
|
4641
|
-
}),
|
4642
|
-
},
|
4643
|
-
if (I = n("myGamesName"),
|
4684
|
+
}), tn(), dt = !0, r(26, Ce = !0), Me();
|
4685
|
+
}, Cr = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(15, k = !0), r(13, j = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(15, k = !0), r(13, j = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(15, k = !0), r(13, j = !1), console.error(W)), k), Mr = () => {
|
4686
|
+
if (I = n("myGamesName"), F = n("lobbyName"), !Cr()) {
|
4644
4687
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
4645
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
4688
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", bs(Nr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
|
4646
4689
|
(B) => {
|
4647
|
-
let pe = w.split(","),
|
4648
|
-
let
|
4649
|
-
if (
|
4650
|
-
for (let
|
4651
|
-
|
4652
|
-
return
|
4690
|
+
let pe = w.split(","), Ur = B.items.filter((pt) => {
|
4691
|
+
let Re = !1;
|
4692
|
+
if (pt.games.total > 0 && (Re = !0, w))
|
4693
|
+
for (let Dr of pe)
|
4694
|
+
pt.flags == Dr && (Re = !1);
|
4695
|
+
return Re;
|
4653
4696
|
});
|
4654
|
-
z = [], z = z.concat(
|
4697
|
+
z = [], z = z.concat(Ur), z.unshift({
|
4655
4698
|
// @ts-ignore
|
4656
4699
|
id: "LOBBY",
|
4657
|
-
name:
|
4700
|
+
name: F,
|
4658
4701
|
href: "",
|
4659
4702
|
games: []
|
4660
4703
|
}), r(13, j = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
|
@@ -4666,41 +4709,41 @@ function Es(e, t, r) {
|
|
4666
4709
|
r(15, k = !0), console.error("There was an error while fetching the categories", B);
|
4667
4710
|
});
|
4668
4711
|
}
|
4669
|
-
},
|
4712
|
+
}, Rr = () => {
|
4670
4713
|
let f = b.split("$");
|
4671
4714
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
4672
|
-
},
|
4715
|
+
}, Me = () => {
|
4673
4716
|
window.postMessage(
|
4674
4717
|
{
|
4675
4718
|
type: "SliderData",
|
4676
|
-
identity:
|
4719
|
+
identity: lt,
|
4677
4720
|
data: z
|
4678
4721
|
},
|
4679
4722
|
window.location.href
|
4680
4723
|
);
|
4681
|
-
},
|
4682
|
-
f.data && f.data.type == "SliderLoaded" &&
|
4724
|
+
}, bt = (f) => {
|
4725
|
+
f.data && f.data.type == "SliderLoaded" && lt == f.data.identity && Me();
|
4683
4726
|
};
|
4684
|
-
|
4685
|
-
window.removeEventListener("message",
|
4727
|
+
en(() => (window.addEventListener("message", bt, !1), () => {
|
4728
|
+
window.removeEventListener("message", bt);
|
4686
4729
|
}));
|
4687
|
-
function
|
4688
|
-
|
4689
|
-
|
4730
|
+
function Gr(f) {
|
4731
|
+
We[f ? "unshift" : "push"](() => {
|
4732
|
+
U = f, r(14, U);
|
4690
4733
|
});
|
4691
4734
|
}
|
4692
4735
|
return e.$$set = (f) => {
|
4693
|
-
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(18, a = f.userid), "session" in f && r(19, h = f.session), "mostplayed" in f && r(20, u = f.mostplayed), "lastplayed" in f && r(21, l = f.lastplayed), "favorites" in f && r(22, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(23, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8,
|
4736
|
+
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(18, a = f.userid), "session" in f && r(19, h = f.session), "mostplayed" in f && r(20, u = f.mostplayed), "lastplayed" in f && r(21, l = f.lastplayed), "favorites" in f && r(22, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(23, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, O = f.showsubgroups), "filteredcategories" in f && r(24, w = f.filteredcategories), "translationurl" in f && r(25, N = f.translationurl), "categoriesicon" in f && r(9, L = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
|
4694
4737
|
}, e.$$.update = () => {
|
4695
4738
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4696
|
-
14 && i && s && o &&
|
4697
|
-
7872514 && i && h && (u || l || m) && !j &&
|
4698
|
-
67641345 && !j && b && (!h ||
|
4699
|
-
33554432 &&
|
4700
|
-
16400 && c &&
|
4701
|
-
16416 && d &&
|
4702
|
-
20480 &&
|
4703
|
-
}, r(16,
|
4739
|
+
14 && i && s && o && Mr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
4740
|
+
7872514 && i && h && (u || l || m) && !j && Ir(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
4741
|
+
67641345 && !j && b && (!h || Ce) && Rr(), e.$$.dirty[0] & /*translationurl*/
|
4742
|
+
33554432 && N && Lr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4743
|
+
16400 && c && U && ps(U, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4744
|
+
16416 && d && U && gs(U, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4745
|
+
20480 && U && ys(U, `${A}.Style`);
|
4746
|
+
}, r(16, mt = 0), [
|
4704
4747
|
b,
|
4705
4748
|
i,
|
4706
4749
|
s,
|
@@ -4709,16 +4752,16 @@ function Es(e, t, r) {
|
|
4709
4752
|
d,
|
4710
4753
|
y,
|
4711
4754
|
C,
|
4712
|
-
|
4755
|
+
O,
|
4713
4756
|
L,
|
4714
4757
|
R,
|
4715
|
-
|
4758
|
+
_,
|
4716
4759
|
A,
|
4717
4760
|
j,
|
4718
|
-
|
4761
|
+
U,
|
4719
4762
|
k,
|
4720
|
-
|
4721
|
-
|
4763
|
+
mt,
|
4764
|
+
Me,
|
4722
4765
|
a,
|
4723
4766
|
h,
|
4724
4767
|
u,
|
@@ -4726,19 +4769,19 @@ function Es(e, t, r) {
|
|
4726
4769
|
m,
|
4727
4770
|
T,
|
4728
4771
|
w,
|
4729
|
-
|
4730
|
-
|
4731
|
-
|
4772
|
+
N,
|
4773
|
+
Ce,
|
4774
|
+
Gr
|
4732
4775
|
];
|
4733
4776
|
}
|
4734
|
-
class
|
4777
|
+
class Or extends cn {
|
4735
4778
|
constructor(t) {
|
4736
|
-
super(),
|
4779
|
+
super(), hn(
|
4737
4780
|
this,
|
4738
4781
|
t,
|
4739
|
-
|
4740
|
-
|
4741
|
-
|
4782
|
+
Hs,
|
4783
|
+
Ss,
|
4784
|
+
Wt,
|
4742
4785
|
{
|
4743
4786
|
endpoint: 1,
|
4744
4787
|
datasource: 2,
|
@@ -4762,7 +4805,7 @@ class Tr extends on {
|
|
4762
4805
|
mygamesiconimage: 11,
|
4763
4806
|
mbsource: 12
|
4764
4807
|
},
|
4765
|
-
|
4808
|
+
vs,
|
4766
4809
|
[-1, -1]
|
4767
4810
|
);
|
4768
4811
|
}
|
@@ -4770,166 +4813,165 @@ class Tr extends on {
|
|
4770
4813
|
return this.$$.ctx[1];
|
4771
4814
|
}
|
4772
4815
|
set endpoint(t) {
|
4773
|
-
this.$$set({ endpoint: t }),
|
4816
|
+
this.$$set({ endpoint: t }), x();
|
4774
4817
|
}
|
4775
4818
|
get datasource() {
|
4776
4819
|
return this.$$.ctx[2];
|
4777
4820
|
}
|
4778
4821
|
set datasource(t) {
|
4779
|
-
this.$$set({ datasource: t }),
|
4822
|
+
this.$$set({ datasource: t }), x();
|
4780
4823
|
}
|
4781
4824
|
get lang() {
|
4782
4825
|
return this.$$.ctx[3];
|
4783
4826
|
}
|
4784
4827
|
set lang(t) {
|
4785
|
-
this.$$set({ lang: t }),
|
4828
|
+
this.$$set({ lang: t }), x();
|
4786
4829
|
}
|
4787
4830
|
get userid() {
|
4788
4831
|
return this.$$.ctx[18];
|
4789
4832
|
}
|
4790
4833
|
set userid(t) {
|
4791
|
-
this.$$set({ userid: t }),
|
4834
|
+
this.$$set({ userid: t }), x();
|
4792
4835
|
}
|
4793
4836
|
get session() {
|
4794
4837
|
return this.$$.ctx[19];
|
4795
4838
|
}
|
4796
4839
|
set session(t) {
|
4797
|
-
this.$$set({ session: t }),
|
4840
|
+
this.$$set({ session: t }), x();
|
4798
4841
|
}
|
4799
4842
|
get mostplayed() {
|
4800
4843
|
return this.$$.ctx[20];
|
4801
4844
|
}
|
4802
4845
|
set mostplayed(t) {
|
4803
|
-
this.$$set({ mostplayed: t }),
|
4846
|
+
this.$$set({ mostplayed: t }), x();
|
4804
4847
|
}
|
4805
4848
|
get lastplayed() {
|
4806
4849
|
return this.$$.ctx[21];
|
4807
4850
|
}
|
4808
4851
|
set lastplayed(t) {
|
4809
|
-
this.$$set({ lastplayed: t }),
|
4852
|
+
this.$$set({ lastplayed: t }), x();
|
4810
4853
|
}
|
4811
4854
|
get favorites() {
|
4812
4855
|
return this.$$.ctx[22];
|
4813
4856
|
}
|
4814
4857
|
set favorites(t) {
|
4815
|
-
this.$$set({ favorites: t }),
|
4858
|
+
this.$$set({ favorites: t }), x();
|
4816
4859
|
}
|
4817
4860
|
get clientstyling() {
|
4818
4861
|
return this.$$.ctx[4];
|
4819
4862
|
}
|
4820
4863
|
set clientstyling(t) {
|
4821
|
-
this.$$set({ clientstyling: t }),
|
4864
|
+
this.$$set({ clientstyling: t }), x();
|
4822
4865
|
}
|
4823
4866
|
get clientstylingurl() {
|
4824
4867
|
return this.$$.ctx[5];
|
4825
4868
|
}
|
4826
4869
|
set clientstylingurl(t) {
|
4827
|
-
this.$$set({ clientstylingurl: t }),
|
4870
|
+
this.$$set({ clientstylingurl: t }), x();
|
4828
4871
|
}
|
4829
4872
|
get activecategory() {
|
4830
4873
|
return this.$$.ctx[0];
|
4831
4874
|
}
|
4832
4875
|
set activecategory(t) {
|
4833
|
-
this.$$set({ activecategory: t }),
|
4876
|
+
this.$$set({ activecategory: t }), x();
|
4834
4877
|
}
|
4835
4878
|
get actionevent() {
|
4836
4879
|
return this.$$.ctx[6];
|
4837
4880
|
}
|
4838
4881
|
set actionevent(t) {
|
4839
|
-
this.$$set({ actionevent: t }),
|
4882
|
+
this.$$set({ actionevent: t }), x();
|
4840
4883
|
}
|
4841
4884
|
get sessioncheck() {
|
4842
4885
|
return this.$$.ctx[23];
|
4843
4886
|
}
|
4844
4887
|
set sessioncheck(t) {
|
4845
|
-
this.$$set({ sessioncheck: t }),
|
4888
|
+
this.$$set({ sessioncheck: t }), x();
|
4846
4889
|
}
|
4847
4890
|
get location() {
|
4848
4891
|
return this.$$.ctx[7];
|
4849
4892
|
}
|
4850
4893
|
set location(t) {
|
4851
|
-
this.$$set({ location: t }),
|
4894
|
+
this.$$set({ location: t }), x();
|
4852
4895
|
}
|
4853
4896
|
get showsubgroups() {
|
4854
4897
|
return this.$$.ctx[8];
|
4855
4898
|
}
|
4856
4899
|
set showsubgroups(t) {
|
4857
|
-
this.$$set({ showsubgroups: t }),
|
4900
|
+
this.$$set({ showsubgroups: t }), x();
|
4858
4901
|
}
|
4859
4902
|
get filteredcategories() {
|
4860
4903
|
return this.$$.ctx[24];
|
4861
4904
|
}
|
4862
4905
|
set filteredcategories(t) {
|
4863
|
-
this.$$set({ filteredcategories: t }),
|
4906
|
+
this.$$set({ filteredcategories: t }), x();
|
4864
4907
|
}
|
4865
4908
|
get translationurl() {
|
4866
4909
|
return this.$$.ctx[25];
|
4867
4910
|
}
|
4868
4911
|
set translationurl(t) {
|
4869
|
-
this.$$set({ translationurl: t }),
|
4912
|
+
this.$$set({ translationurl: t }), x();
|
4870
4913
|
}
|
4871
4914
|
get categoriesicon() {
|
4872
4915
|
return this.$$.ctx[9];
|
4873
4916
|
}
|
4874
4917
|
set categoriesicon(t) {
|
4875
|
-
this.$$set({ categoriesicon: t }),
|
4918
|
+
this.$$set({ categoriesicon: t }), x();
|
4876
4919
|
}
|
4877
4920
|
get lobbyiconimage() {
|
4878
4921
|
return this.$$.ctx[10];
|
4879
4922
|
}
|
4880
4923
|
set lobbyiconimage(t) {
|
4881
|
-
this.$$set({ lobbyiconimage: t }),
|
4924
|
+
this.$$set({ lobbyiconimage: t }), x();
|
4882
4925
|
}
|
4883
4926
|
get mygamesiconimage() {
|
4884
4927
|
return this.$$.ctx[11];
|
4885
4928
|
}
|
4886
4929
|
set mygamesiconimage(t) {
|
4887
|
-
this.$$set({ mygamesiconimage: t }),
|
4930
|
+
this.$$set({ mygamesiconimage: t }), x();
|
4888
4931
|
}
|
4889
4932
|
get mbsource() {
|
4890
4933
|
return this.$$.ctx[12];
|
4891
4934
|
}
|
4892
4935
|
set mbsource(t) {
|
4893
|
-
this.$$set({ mbsource: t }),
|
4936
|
+
this.$$set({ mbsource: t }), x();
|
4894
4937
|
}
|
4895
4938
|
}
|
4896
|
-
|
4897
|
-
const
|
4939
|
+
ln(Or, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4940
|
+
const Gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4898
4941
|
__proto__: null,
|
4899
|
-
default:
|
4942
|
+
default: Or
|
4900
4943
|
}, Symbol.toStringTag, { value: "Module" }));
|
4901
4944
|
export {
|
4902
4945
|
be as $,
|
4903
|
-
|
4904
|
-
|
4905
|
-
|
4906
|
-
|
4907
|
-
|
4908
|
-
on as S,
|
4946
|
+
gs as A,
|
4947
|
+
ys as B,
|
4948
|
+
ln as C,
|
4949
|
+
Gs as D,
|
4950
|
+
cn as S,
|
4909
4951
|
de as a,
|
4910
|
-
|
4911
|
-
|
4912
|
-
|
4913
|
-
|
4914
|
-
|
4915
|
-
|
4916
|
-
|
4917
|
-
|
4952
|
+
Tr as b,
|
4953
|
+
Zr as c,
|
4954
|
+
ne as d,
|
4955
|
+
fe as e,
|
4956
|
+
x as f,
|
4957
|
+
ce as g,
|
4958
|
+
Zt as h,
|
4959
|
+
hn as i,
|
4918
4960
|
V as j,
|
4919
|
-
|
4920
|
-
|
4921
|
-
|
4961
|
+
Os as k,
|
4962
|
+
Ls as l,
|
4963
|
+
Cs as m,
|
4922
4964
|
P as n,
|
4923
|
-
|
4924
|
-
|
4925
|
-
|
4926
|
-
|
4927
|
-
|
4928
|
-
|
4929
|
-
|
4930
|
-
|
4931
|
-
|
4932
|
-
|
4933
|
-
|
4934
|
-
|
4965
|
+
en as o,
|
4966
|
+
Ns as p,
|
4967
|
+
We as q,
|
4968
|
+
re as r,
|
4969
|
+
Wt as s,
|
4970
|
+
Bs as t,
|
4971
|
+
Rs as u,
|
4972
|
+
Is as v,
|
4973
|
+
Qt as w,
|
4974
|
+
Ps as x,
|
4975
|
+
Ms as y,
|
4976
|
+
ps as z
|
4935
4977
|
};
|