@everymatrix/casino-categories-slider-nd 1.74.10 → 1.75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategoriesSliderNd-DDU2i8eq.js → CasinoCategoriesSliderNd-C4GD2Xlp.js} +619 -605
- package/components/{CasinoCategoriesSliderNd-CCtYmex9.js → CasinoCategoriesSliderNd-CWEOMqG5.js} +554 -540
- package/components/CasinoCategoriesSliderNd-qkZ9UAcl.cjs +18 -0
- package/components/{CasinoSliderNd-CHo6EY-Z.js → CasinoSliderNd-C5bZuzKu.js} +4 -4
- package/components/{CasinoSliderNd-BvDipE-Q.js → CasinoSliderNd-ChZKcwUh.js} +4 -4
- package/components/{CasinoSliderNd-BHSQD9cH.cjs → CasinoSliderNd-EgM5yvqk.cjs} +1 -1
- package/es2015/casino-categories-slider-nd.cjs +1 -1
- package/es2015/casino-categories-slider-nd.js +1 -1
- package/esnext/casino-categories-slider-nd.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesSliderNd-fkz4JcNa.cjs +0 -18
package/components/{CasinoCategoriesSliderNd-DDU2i8eq.js → CasinoCategoriesSliderNd-C4GD2Xlp.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var Ie = (e, t, r) => t in e ?
|
|
1
|
+
var Dr = Object.defineProperty, Fr = Object.defineProperties;
|
|
2
|
+
var $r = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var bt = Object.getOwnPropertySymbols;
|
|
4
|
+
var jr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ie = (e, t, r) => t in e ? Dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
jr.call(t, r) && Ie(e, r, t[r]);
|
|
8
|
+
if (bt)
|
|
9
|
+
for (var r of bt(t))
|
|
10
|
+
kr.call(t, r) && Ie(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, gt = (e, t) => Fr(e, $r(t));
|
|
13
13
|
var M = (e, t, r) => (Ie(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
-
var
|
|
14
|
+
var yt = (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 pt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function I() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function kt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function vt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function ne(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(kt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function st(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Vt(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 ws(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 Vr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Xt(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,20 +60,20 @@ function kt(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 Xr(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Xt(t, r));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Wt(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function Wr(e, t, r) {
|
|
70
|
+
const n = zr(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
72
|
const i = V("style");
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
i.id = t, i.textContent = r, Zr(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function zr(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,8 +83,8 @@ function Vr(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function Zr(e, t) {
|
|
87
|
+
return Wt(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
90
90
|
t
|
|
@@ -96,43 +96,43 @@ function me(e, t, r) {
|
|
|
96
96
|
function ie(e) {
|
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Hs(e, t) {
|
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
|
101
101
|
e[r] && e[r].d(t);
|
|
102
102
|
}
|
|
103
103
|
function V(e) {
|
|
104
104
|
return document.createElement(e);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function As(e) {
|
|
107
107
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function zt(e) {
|
|
110
110
|
return document.createTextNode(e);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
return
|
|
112
|
+
function Bs() {
|
|
113
|
+
return zt(" ");
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
return
|
|
115
|
+
function Ps() {
|
|
116
|
+
return zt("");
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Ns(e, t, r, n) {
|
|
119
119
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
120
120
|
}
|
|
121
121
|
function se(e, t, r) {
|
|
122
122
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function E(e, t, r) {
|
|
125
125
|
const n = t.toLowerCase();
|
|
126
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 : se(e, t, r);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function qr(e) {
|
|
129
129
|
return Array.from(e.childNodes);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function Os(e, t) {
|
|
132
132
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
133
133
|
t);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Qr(e) {
|
|
136
136
|
const t = {};
|
|
137
137
|
return e.childNodes.forEach(
|
|
138
138
|
/** @param {Element} node */
|
|
@@ -145,25 +145,25 @@ let le;
|
|
|
145
145
|
function he(e) {
|
|
146
146
|
le = e;
|
|
147
147
|
}
|
|
148
|
-
function
|
|
148
|
+
function Yr() {
|
|
149
149
|
if (!le)
|
|
150
150
|
throw new Error("Function called outside component initialization");
|
|
151
151
|
return le;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
|
|
153
|
+
function Jr(e) {
|
|
154
|
+
Yr().$$.on_mount.push(e);
|
|
155
155
|
}
|
|
156
|
-
const Q = [],
|
|
156
|
+
const Q = [], je = [];
|
|
157
157
|
let Y = [];
|
|
158
|
-
const
|
|
159
|
-
let
|
|
160
|
-
function
|
|
161
|
-
|
|
158
|
+
const Et = [], Zt = /* @__PURE__ */ Promise.resolve();
|
|
159
|
+
let ke = !1;
|
|
160
|
+
function qt() {
|
|
161
|
+
ke || (ke = !0, Zt.then(S));
|
|
162
162
|
}
|
|
163
|
-
function
|
|
164
|
-
return
|
|
163
|
+
function Kr() {
|
|
164
|
+
return qt(), Zt;
|
|
165
165
|
}
|
|
166
|
-
function
|
|
166
|
+
function Ve(e) {
|
|
167
167
|
Y.push(e);
|
|
168
168
|
}
|
|
169
169
|
const Ce = /* @__PURE__ */ new Set();
|
|
@@ -176,86 +176,86 @@ function S() {
|
|
|
176
176
|
try {
|
|
177
177
|
for (; Z < Q.length; ) {
|
|
178
178
|
const t = Q[Z];
|
|
179
|
-
Z++, he(t),
|
|
179
|
+
Z++, he(t), en(t.$$);
|
|
180
180
|
}
|
|
181
181
|
} catch (t) {
|
|
182
182
|
throw Q.length = 0, Z = 0, t;
|
|
183
183
|
}
|
|
184
|
-
for (he(null), Q.length = 0, Z = 0;
|
|
185
|
-
|
|
184
|
+
for (he(null), Q.length = 0, Z = 0; je.length; )
|
|
185
|
+
je.pop()();
|
|
186
186
|
for (let t = 0; t < Y.length; t += 1) {
|
|
187
187
|
const r = Y[t];
|
|
188
188
|
Ce.has(r) || (Ce.add(r), r());
|
|
189
189
|
}
|
|
190
190
|
Y.length = 0;
|
|
191
191
|
} while (Q.length);
|
|
192
|
-
for (;
|
|
193
|
-
|
|
194
|
-
|
|
192
|
+
for (; Et.length; )
|
|
193
|
+
Et.pop()();
|
|
194
|
+
ke = !1, Ce.clear(), he(e);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function en(e) {
|
|
197
197
|
if (e.fragment !== null) {
|
|
198
198
|
e.update(), ne(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(Ve);
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function tn(e) {
|
|
204
204
|
const t = [], r = [];
|
|
205
205
|
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
|
206
206
|
}
|
|
207
|
-
const
|
|
208
|
-
function
|
|
209
|
-
e && e.i && (
|
|
207
|
+
const rn = /* @__PURE__ */ new Set();
|
|
208
|
+
function Qt(e, t) {
|
|
209
|
+
e && e.i && (rn.delete(e), e.i(t));
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Ls(e) {
|
|
212
212
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Is(e, t) {
|
|
215
215
|
e.d(1), t.delete(e.key);
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function Cs(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
218
218
|
let c = e.length, d = s.length, p = c;
|
|
219
219
|
const b = {};
|
|
220
220
|
for (; p--; )
|
|
221
221
|
b[e[p].key] = p;
|
|
222
222
|
const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
|
|
223
223
|
for (p = d; p--; ) {
|
|
224
|
-
const
|
|
224
|
+
const _ = m(i, s, p), O = r(_);
|
|
225
225
|
let L = o.get(O);
|
|
226
|
-
L ? w.push(() => L.p(
|
|
226
|
+
L ? w.push(() => L.p(_, t)) : (L = u(O, _), L.c()), C.set(O, T[p] = L), O in b && P.set(O, Math.abs(p - b[O]));
|
|
227
227
|
}
|
|
228
228
|
const N = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set();
|
|
229
|
-
function R(
|
|
230
|
-
|
|
229
|
+
function R(_) {
|
|
230
|
+
Qt(_, 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], O = e[c - 1], L = _.key, $ = O.key;
|
|
234
|
+
_ === O ? (l = _.first, c--, d--) : C.has($) ? !o.has(L) || N.has(L) ? R(_) : H.has($) ? c-- : P.get(L) > P.get($) ? (H.add(L), R(_)) : (N.add($), c--) : (h(O, 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
242
|
return ne(w), T;
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function nn(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(
|
|
246
|
+
n && n.m(t, r), Ve(() => {
|
|
247
|
+
const s = e.$$.on_mount.map(kt).filter(st);
|
|
248
248
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
|
|
249
|
-
}), i.forEach(
|
|
249
|
+
}), i.forEach(Ve);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function sn(e, t) {
|
|
252
252
|
const r = e.$$;
|
|
253
|
-
r.fragment !== null && (
|
|
253
|
+
r.fragment !== null && (tn(r.after_update), ne(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 && (Q.push(e),
|
|
255
|
+
function on(e, t) {
|
|
256
|
+
e.$$.dirty[0] === -1 && (Q.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
257
257
|
}
|
|
258
|
-
function
|
|
258
|
+
function an(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
259
259
|
const h = le;
|
|
260
260
|
he(e);
|
|
261
261
|
const u = e.$$ = {
|
|
@@ -265,7 +265,7 @@ function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
265
265
|
props: s,
|
|
266
266
|
update: I,
|
|
267
267
|
not_equal: i,
|
|
268
|
-
bound:
|
|
268
|
+
bound: vt(),
|
|
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: vt(),
|
|
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 p = d.length ? d[0] : c;
|
|
286
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = p) && (!u.skip_bound && u.bound[m] && u.bound[m](p), l &&
|
|
286
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = p) && (!u.skip_bound && u.bound[m] && u.bound[m](p), l && on(e, m)), c;
|
|
287
287
|
}) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
288
288
|
if (t.hydrate) {
|
|
289
|
-
const m =
|
|
289
|
+
const m = qr(t.target);
|
|
290
290
|
u.fragment && u.fragment.l(m), m.forEach(ie);
|
|
291
291
|
} else
|
|
292
292
|
u.fragment && u.fragment.c();
|
|
293
|
-
t.intro &&
|
|
293
|
+
t.intro && Qt(e.$$.fragment), nn(e, t.target, t.anchor), S();
|
|
294
294
|
}
|
|
295
295
|
he(h);
|
|
296
296
|
}
|
|
297
|
-
let
|
|
298
|
-
typeof HTMLElement == "function" && (
|
|
297
|
+
let Yt;
|
|
298
|
+
typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
299
299
|
constructor(t, r, n) {
|
|
300
300
|
super();
|
|
301
301
|
/** The Svelte component constructor */
|
|
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
connectedCallback() {
|
|
335
|
-
return
|
|
335
|
+
return yt(this, null, function* () {
|
|
336
336
|
if (this.$$cn = !0, !this.$$c) {
|
|
337
337
|
let t = function(s) {
|
|
338
338
|
return () => {
|
|
@@ -356,18 +356,18 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
356
356
|
};
|
|
357
357
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
358
358
|
return;
|
|
359
|
-
const r = {}, n =
|
|
359
|
+
const r = {}, n = Qr(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) {
|
|
363
363
|
const o = this.$$g_p(s.name);
|
|
364
|
-
o in this.$$d || (this.$$d[o] =
|
|
364
|
+
o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
|
|
365
365
|
}
|
|
366
366
|
for (const s in this.$$p_d)
|
|
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: gt(pt({}, this.$$d), {
|
|
371
371
|
$$slots: r,
|
|
372
372
|
$$scope: {
|
|
373
373
|
ctx: []
|
|
@@ -378,7 +378,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
378
378
|
this.$$r = !0;
|
|
379
379
|
for (const s in this.$$p_d)
|
|
380
380
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
381
|
-
const o =
|
|
381
|
+
const o = Ee(
|
|
382
382
|
s,
|
|
383
383
|
this.$$d[s],
|
|
384
384
|
this.$$p_d,
|
|
@@ -402,7 +402,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
402
402
|
// and setting attributes through setAttribute etc, this is helpful
|
|
403
403
|
attributeChangedCallback(t, r, n) {
|
|
404
404
|
var i;
|
|
405
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
405
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
406
406
|
}
|
|
407
407
|
disconnectedCallback() {
|
|
408
408
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -415,7 +415,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
|
415
415
|
) || t;
|
|
416
416
|
}
|
|
417
417
|
});
|
|
418
|
-
function
|
|
418
|
+
function Ee(e, t, r, n) {
|
|
419
419
|
var s;
|
|
420
420
|
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
421
421
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -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 un(e, t, r, n, i, s) {
|
|
449
|
+
let o = class extends Yt {
|
|
450
450
|
constructor() {
|
|
451
451
|
super(e, r, i), this.$$p_d = t;
|
|
452
452
|
}
|
|
@@ -463,7 +463,7 @@ function sn(e, t, r, n, i, s) {
|
|
|
463
463
|
},
|
|
464
464
|
set(h) {
|
|
465
465
|
var u;
|
|
466
|
-
h =
|
|
466
|
+
h = Ee(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
|
467
467
|
}
|
|
468
468
|
});
|
|
469
469
|
}), n.forEach((a) => {
|
|
@@ -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 hn {
|
|
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
|
+
sn(this, 1), this.$destroy = I;
|
|
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 (!st(r))
|
|
510
510
|
return I;
|
|
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 && !Vr(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 ln = "4";
|
|
526
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ln);
|
|
527
527
|
/*! *****************************************************************************
|
|
528
528
|
Copyright (c) Microsoft Corporation.
|
|
529
529
|
|
|
@@ -538,18 +538,18 @@ 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 Xe = function(e, t) {
|
|
542
|
+
return Xe = 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
|
+
}, Xe(e, t);
|
|
548
548
|
};
|
|
549
549
|
function D(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
|
+
Xe(e, t);
|
|
553
553
|
function r() {
|
|
554
554
|
this.constructor = e;
|
|
555
555
|
}
|
|
@@ -565,7 +565,7 @@ var v = function() {
|
|
|
565
565
|
return t;
|
|
566
566
|
}, v.apply(this, arguments);
|
|
567
567
|
};
|
|
568
|
-
function
|
|
568
|
+
function cn(e, t) {
|
|
569
569
|
var r = {};
|
|
570
570
|
for (var n in e)
|
|
571
571
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -574,7 +574,7 @@ function un(e, t) {
|
|
|
574
574
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
575
575
|
return r;
|
|
576
576
|
}
|
|
577
|
-
function
|
|
577
|
+
function We(e) {
|
|
578
578
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
579
579
|
if (r)
|
|
580
580
|
return r.call(e);
|
|
@@ -586,7 +586,7 @@ function Xe(e) {
|
|
|
586
586
|
};
|
|
587
587
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
588
588
|
}
|
|
589
|
-
function
|
|
589
|
+
function ze(e, t) {
|
|
590
590
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
591
591
|
if (!r)
|
|
592
592
|
return e;
|
|
@@ -615,13 +615,13 @@ function J(e, t, r) {
|
|
|
615
615
|
function U(e) {
|
|
616
616
|
return typeof e == "function";
|
|
617
617
|
}
|
|
618
|
-
function
|
|
618
|
+
function Jt(e) {
|
|
619
619
|
var t = function(n) {
|
|
620
620
|
Error.call(n), n.stack = new Error().stack;
|
|
621
621
|
}, r = e(t);
|
|
622
622
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
623
623
|
}
|
|
624
|
-
var Me =
|
|
624
|
+
var Me = Jt(function(e) {
|
|
625
625
|
return function(r) {
|
|
626
626
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
627
627
|
` + r.map(function(n, i) {
|
|
@@ -630,7 +630,7 @@ var Me = Qt(function(e) {
|
|
|
630
630
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
631
631
|
};
|
|
632
632
|
});
|
|
633
|
-
function
|
|
633
|
+
function Ze(e, t) {
|
|
634
634
|
if (e) {
|
|
635
635
|
var r = e.indexOf(t);
|
|
636
636
|
0 <= r && e.splice(r, 1);
|
|
@@ -648,7 +648,7 @@ var He = function() {
|
|
|
648
648
|
if (o)
|
|
649
649
|
if (this._parentage = null, Array.isArray(o))
|
|
650
650
|
try {
|
|
651
|
-
for (var a =
|
|
651
|
+
for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
|
|
652
652
|
var u = h.value;
|
|
653
653
|
u.remove(this);
|
|
654
654
|
}
|
|
@@ -675,12 +675,12 @@ var He = function() {
|
|
|
675
675
|
if (m) {
|
|
676
676
|
this._finalizers = null;
|
|
677
677
|
try {
|
|
678
|
-
for (var c =
|
|
678
|
+
for (var c = We(m), d = c.next(); !d.done; d = c.next()) {
|
|
679
679
|
var p = d.value;
|
|
680
680
|
try {
|
|
681
|
-
|
|
681
|
+
_t(p);
|
|
682
682
|
} catch (b) {
|
|
683
|
-
s = s != null ? s : [], b instanceof Me ? s = J(J([],
|
|
683
|
+
s = s != null ? s : [], b instanceof Me ? s = J(J([], ze(s)), ze(b.errors)) : s.push(b);
|
|
684
684
|
}
|
|
685
685
|
}
|
|
686
686
|
} catch (b) {
|
|
@@ -701,7 +701,7 @@ var He = function() {
|
|
|
701
701
|
var r;
|
|
702
702
|
if (t && t !== this)
|
|
703
703
|
if (this.closed)
|
|
704
|
-
|
|
704
|
+
_t(t);
|
|
705
705
|
else {
|
|
706
706
|
if (t instanceof e) {
|
|
707
707
|
if (t.closed || t._hasParent(this))
|
|
@@ -718,56 +718,56 @@ var He = function() {
|
|
|
718
718
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
719
719
|
}, e.prototype._removeParent = function(t) {
|
|
720
720
|
var r = this._parentage;
|
|
721
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
721
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
|
|
722
722
|
}, e.prototype.remove = function(t) {
|
|
723
723
|
var r = this._finalizers;
|
|
724
|
-
r &&
|
|
724
|
+
r && Ze(r, t), t instanceof e && t._removeParent(this);
|
|
725
725
|
}, e.EMPTY = function() {
|
|
726
726
|
var t = new e();
|
|
727
727
|
return t.closed = !0, t;
|
|
728
728
|
}(), e;
|
|
729
|
-
}(),
|
|
730
|
-
function
|
|
729
|
+
}(), Kt = He.EMPTY;
|
|
730
|
+
function er(e) {
|
|
731
731
|
return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
|
|
732
732
|
}
|
|
733
|
-
function
|
|
733
|
+
function _t(e) {
|
|
734
734
|
U(e) ? e() : e.unsubscribe();
|
|
735
735
|
}
|
|
736
|
-
var
|
|
736
|
+
var tr = {
|
|
737
737
|
onUnhandledError: null,
|
|
738
738
|
onStoppedNotification: null,
|
|
739
739
|
Promise: void 0,
|
|
740
740
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
741
741
|
useDeprecatedNextContext: !1
|
|
742
|
-
},
|
|
742
|
+
}, fn = {
|
|
743
743
|
setTimeout: function(e, t) {
|
|
744
744
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
745
745
|
r[n - 2] = arguments[n];
|
|
746
|
-
return setTimeout.apply(void 0, J([e, t],
|
|
746
|
+
return setTimeout.apply(void 0, J([e, t], ze(r)));
|
|
747
747
|
},
|
|
748
748
|
clearTimeout: function(e) {
|
|
749
749
|
return clearTimeout(e);
|
|
750
750
|
},
|
|
751
751
|
delegate: void 0
|
|
752
752
|
};
|
|
753
|
-
function
|
|
754
|
-
|
|
753
|
+
function mn(e) {
|
|
754
|
+
fn.setTimeout(function() {
|
|
755
755
|
throw e;
|
|
756
756
|
});
|
|
757
757
|
}
|
|
758
|
-
function
|
|
758
|
+
function xt() {
|
|
759
759
|
}
|
|
760
|
-
function
|
|
760
|
+
function _e(e) {
|
|
761
761
|
e();
|
|
762
762
|
}
|
|
763
|
-
var
|
|
763
|
+
var rr = function(e) {
|
|
764
764
|
D(t, e);
|
|
765
765
|
function t(r) {
|
|
766
766
|
var n = e.call(this) || this;
|
|
767
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
767
|
+
return n.isStopped = !1, r ? (n.destination = r, er(r) && r.add(n)) : n.destination = gn, n;
|
|
768
768
|
}
|
|
769
769
|
return t.create = function(r, n, i) {
|
|
770
|
-
return new
|
|
770
|
+
return new qe(r, n, i);
|
|
771
771
|
}, t.prototype.next = function(r) {
|
|
772
772
|
this.isStopped || this._next(r);
|
|
773
773
|
}, t.prototype.error = function(r) {
|
|
@@ -791,7 +791,11 @@ var Kt = function(e) {
|
|
|
791
791
|
this.unsubscribe();
|
|
792
792
|
}
|
|
793
793
|
}, t;
|
|
794
|
-
}(He),
|
|
794
|
+
}(He), dn = Function.prototype.bind;
|
|
795
|
+
function Re(e, t) {
|
|
796
|
+
return dn.call(e, t);
|
|
797
|
+
}
|
|
798
|
+
var bn = function() {
|
|
795
799
|
function e(t) {
|
|
796
800
|
this.partialObserver = t;
|
|
797
801
|
}
|
|
@@ -822,43 +826,55 @@ var Kt = function(e) {
|
|
|
822
826
|
ye(r);
|
|
823
827
|
}
|
|
824
828
|
}, e;
|
|
825
|
-
}(),
|
|
829
|
+
}(), qe = function(e) {
|
|
826
830
|
D(t, e);
|
|
827
831
|
function t(r, n, i) {
|
|
828
832
|
var s = e.call(this) || this, o;
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
|
|
832
|
-
|
|
833
|
-
|
|
833
|
+
if (U(r) || !r)
|
|
834
|
+
o = {
|
|
835
|
+
next: r != null ? r : void 0,
|
|
836
|
+
error: n != null ? n : void 0,
|
|
837
|
+
complete: i != null ? i : void 0
|
|
838
|
+
};
|
|
839
|
+
else {
|
|
840
|
+
var a;
|
|
841
|
+
s && tr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
842
|
+
return s.unsubscribe();
|
|
843
|
+
}, o = {
|
|
844
|
+
next: r.next && Re(r.next, a),
|
|
845
|
+
error: r.error && Re(r.error, a),
|
|
846
|
+
complete: r.complete && Re(r.complete, a)
|
|
847
|
+
}) : o = r;
|
|
848
|
+
}
|
|
849
|
+
return s.destination = new bn(o), s;
|
|
834
850
|
}
|
|
835
851
|
return t;
|
|
836
|
-
}(
|
|
852
|
+
}(rr);
|
|
837
853
|
function ye(e) {
|
|
838
|
-
|
|
854
|
+
mn(e);
|
|
839
855
|
}
|
|
840
|
-
function
|
|
856
|
+
function pn(e) {
|
|
841
857
|
throw e;
|
|
842
858
|
}
|
|
843
|
-
var
|
|
859
|
+
var gn = {
|
|
844
860
|
closed: !0,
|
|
845
|
-
next:
|
|
846
|
-
error:
|
|
847
|
-
complete:
|
|
848
|
-
},
|
|
861
|
+
next: xt,
|
|
862
|
+
error: pn,
|
|
863
|
+
complete: xt
|
|
864
|
+
}, yn = function() {
|
|
849
865
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
850
866
|
}();
|
|
851
|
-
function
|
|
867
|
+
function vn(e) {
|
|
852
868
|
return e;
|
|
853
869
|
}
|
|
854
|
-
function
|
|
855
|
-
return e.length === 0 ?
|
|
870
|
+
function En(e) {
|
|
871
|
+
return e.length === 0 ? vn : e.length === 1 ? e[0] : function(r) {
|
|
856
872
|
return e.reduce(function(n, i) {
|
|
857
873
|
return i(n);
|
|
858
874
|
}, r);
|
|
859
875
|
};
|
|
860
876
|
}
|
|
861
|
-
var
|
|
877
|
+
var St = function() {
|
|
862
878
|
function e(t) {
|
|
863
879
|
t && (this._subscribe = t);
|
|
864
880
|
}
|
|
@@ -866,8 +882,8 @@ var Et = function() {
|
|
|
866
882
|
var r = new e();
|
|
867
883
|
return r.source = this, r.operator = t, r;
|
|
868
884
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
869
|
-
var i = this, s =
|
|
870
|
-
return
|
|
885
|
+
var i = this, s = xn(t) ? t : new qe(t, r, n);
|
|
886
|
+
return _e(function() {
|
|
871
887
|
var o = i, a = o.operator, h = o.source;
|
|
872
888
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
873
889
|
}), s;
|
|
@@ -879,8 +895,8 @@ var Et = function() {
|
|
|
879
895
|
}
|
|
880
896
|
}, e.prototype.forEach = function(t, r) {
|
|
881
897
|
var n = this;
|
|
882
|
-
return r =
|
|
883
|
-
var o = new
|
|
898
|
+
return r = Tt(r), new r(function(i, s) {
|
|
899
|
+
var o = new qe({
|
|
884
900
|
next: function(a) {
|
|
885
901
|
try {
|
|
886
902
|
t(a);
|
|
@@ -896,15 +912,15 @@ var Et = function() {
|
|
|
896
912
|
}, e.prototype._subscribe = function(t) {
|
|
897
913
|
var r;
|
|
898
914
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
899
|
-
}, e.prototype[
|
|
915
|
+
}, e.prototype[yn] = function() {
|
|
900
916
|
return this;
|
|
901
917
|
}, e.prototype.pipe = function() {
|
|
902
918
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
903
919
|
t[r] = arguments[r];
|
|
904
|
-
return
|
|
920
|
+
return En(t)(this);
|
|
905
921
|
}, e.prototype.toPromise = function(t) {
|
|
906
922
|
var r = this;
|
|
907
|
-
return t =
|
|
923
|
+
return t = Tt(t), new t(function(n, i) {
|
|
908
924
|
var s;
|
|
909
925
|
r.subscribe(function(o) {
|
|
910
926
|
return s = o;
|
|
@@ -918,40 +934,40 @@ var Et = function() {
|
|
|
918
934
|
return new e(t);
|
|
919
935
|
}, e;
|
|
920
936
|
}();
|
|
921
|
-
function
|
|
937
|
+
function Tt(e) {
|
|
922
938
|
var t;
|
|
923
|
-
return (t = e != null ? e :
|
|
939
|
+
return (t = e != null ? e : tr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
924
940
|
}
|
|
925
|
-
function
|
|
941
|
+
function _n(e) {
|
|
926
942
|
return e && U(e.next) && U(e.error) && U(e.complete);
|
|
927
943
|
}
|
|
928
|
-
function
|
|
929
|
-
return e && e instanceof
|
|
944
|
+
function xn(e) {
|
|
945
|
+
return e && e instanceof rr || _n(e) && er(e);
|
|
930
946
|
}
|
|
931
|
-
var
|
|
947
|
+
var Sn = Jt(function(e) {
|
|
932
948
|
return function() {
|
|
933
949
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
934
950
|
};
|
|
935
|
-
}),
|
|
951
|
+
}), nr = function(e) {
|
|
936
952
|
D(t, e);
|
|
937
953
|
function t() {
|
|
938
954
|
var r = e.call(this) || this;
|
|
939
955
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
940
956
|
}
|
|
941
957
|
return t.prototype.lift = function(r) {
|
|
942
|
-
var n = new
|
|
958
|
+
var n = new wt(this, this);
|
|
943
959
|
return n.operator = r, n;
|
|
944
960
|
}, t.prototype._throwIfClosed = function() {
|
|
945
961
|
if (this.closed)
|
|
946
|
-
throw new
|
|
962
|
+
throw new Sn();
|
|
947
963
|
}, t.prototype.next = function(r) {
|
|
948
964
|
var n = this;
|
|
949
|
-
|
|
965
|
+
_e(function() {
|
|
950
966
|
var i, s;
|
|
951
967
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
952
968
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
953
969
|
try {
|
|
954
|
-
for (var o =
|
|
970
|
+
for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
955
971
|
var h = a.value;
|
|
956
972
|
h.next(r);
|
|
957
973
|
}
|
|
@@ -969,7 +985,7 @@ var _n = Qt(function(e) {
|
|
|
969
985
|
});
|
|
970
986
|
}, t.prototype.error = function(r) {
|
|
971
987
|
var n = this;
|
|
972
|
-
|
|
988
|
+
_e(function() {
|
|
973
989
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
974
990
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
975
991
|
for (var i = n.observers; i.length; )
|
|
@@ -978,7 +994,7 @@ var _n = Qt(function(e) {
|
|
|
978
994
|
});
|
|
979
995
|
}, t.prototype.complete = function() {
|
|
980
996
|
var r = this;
|
|
981
|
-
|
|
997
|
+
_e(function() {
|
|
982
998
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
983
999
|
r.isStopped = !0;
|
|
984
1000
|
for (var n = r.observers; n.length; )
|
|
@@ -1000,19 +1016,19 @@ var _n = Qt(function(e) {
|
|
|
1000
1016
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1001
1017
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1002
1018
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
1003
|
-
return s || o ?
|
|
1004
|
-
n.currentObservers = null,
|
|
1019
|
+
return s || o ? Kt : (this.currentObservers = null, a.push(r), new He(function() {
|
|
1020
|
+
n.currentObservers = null, Ze(a, r);
|
|
1005
1021
|
}));
|
|
1006
1022
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1007
1023
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
1008
1024
|
i ? r.error(s) : o && r.complete();
|
|
1009
1025
|
}, t.prototype.asObservable = function() {
|
|
1010
|
-
var r = new
|
|
1026
|
+
var r = new St();
|
|
1011
1027
|
return r.source = this, r;
|
|
1012
1028
|
}, t.create = function(r, n) {
|
|
1013
|
-
return new
|
|
1029
|
+
return new wt(r, n);
|
|
1014
1030
|
}, t;
|
|
1015
|
-
}(
|
|
1031
|
+
}(St), wt = function(e) {
|
|
1016
1032
|
D(t, e);
|
|
1017
1033
|
function t(r, n) {
|
|
1018
1034
|
var i = e.call(this) || this;
|
|
@@ -1029,17 +1045,17 @@ var _n = Qt(function(e) {
|
|
|
1029
1045
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1030
1046
|
}, t.prototype._subscribe = function(r) {
|
|
1031
1047
|
var n, i;
|
|
1032
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1048
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Kt;
|
|
1033
1049
|
}, t;
|
|
1034
|
-
}(
|
|
1050
|
+
}(nr), ir = {
|
|
1035
1051
|
now: function() {
|
|
1036
|
-
return (
|
|
1052
|
+
return (ir.delegate || Date).now();
|
|
1037
1053
|
},
|
|
1038
1054
|
delegate: void 0
|
|
1039
|
-
},
|
|
1055
|
+
}, Tn = function(e) {
|
|
1040
1056
|
D(t, e);
|
|
1041
1057
|
function t(r, n, i) {
|
|
1042
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1058
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ir);
|
|
1043
1059
|
var s = e.call(this) || this;
|
|
1044
1060
|
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;
|
|
1045
1061
|
}
|
|
@@ -1059,15 +1075,15 @@ var _n = Qt(function(e) {
|
|
|
1059
1075
|
u && s.splice(0, u + 1);
|
|
1060
1076
|
}
|
|
1061
1077
|
}, t;
|
|
1062
|
-
}(
|
|
1063
|
-
const
|
|
1064
|
-
if (
|
|
1065
|
-
const r = new
|
|
1066
|
-
|
|
1078
|
+
}(nr);
|
|
1079
|
+
const Ht = [], At = {}, wn = (e, t = 0) => {
|
|
1080
|
+
if (Ht.indexOf(e) == -1) {
|
|
1081
|
+
const r = new Tn(t);
|
|
1082
|
+
At[e] = r, Ht.push(e);
|
|
1067
1083
|
}
|
|
1068
|
-
return
|
|
1084
|
+
return At[e];
|
|
1069
1085
|
}, q = [];
|
|
1070
|
-
function
|
|
1086
|
+
function Hn(e, t) {
|
|
1071
1087
|
return {
|
|
1072
1088
|
subscribe: Ae(e, t).subscribe
|
|
1073
1089
|
};
|
|
@@ -1076,7 +1092,7 @@ function Ae(e, t = I) {
|
|
|
1076
1092
|
let r;
|
|
1077
1093
|
const n = /* @__PURE__ */ new Set();
|
|
1078
1094
|
function i(a) {
|
|
1079
|
-
if (
|
|
1095
|
+
if (Vt(e, a) && (e = a, r)) {
|
|
1080
1096
|
const h = !q.length;
|
|
1081
1097
|
for (const u of n)
|
|
1082
1098
|
u[1](), q.push(u, e);
|
|
@@ -1103,7 +1119,7 @@ function oe(e, t, r) {
|
|
|
1103
1119
|
if (!i.every(Boolean))
|
|
1104
1120
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1105
1121
|
const s = t.length < 2;
|
|
1106
|
-
return
|
|
1122
|
+
return Hn(r, (o, a) => {
|
|
1107
1123
|
let h = !1;
|
|
1108
1124
|
const u = [];
|
|
1109
1125
|
let l = 0, m = I;
|
|
@@ -1112,9 +1128,9 @@ function oe(e, t, r) {
|
|
|
1112
1128
|
return;
|
|
1113
1129
|
m();
|
|
1114
1130
|
const p = t(n ? u[0] : u, o, a);
|
|
1115
|
-
s ? o(p) : m =
|
|
1131
|
+
s ? o(p) : m = st(p) ? p : I;
|
|
1116
1132
|
}, d = i.map(
|
|
1117
|
-
(p, b) =>
|
|
1133
|
+
(p, b) => Xt(
|
|
1118
1134
|
p,
|
|
1119
1135
|
(T) => {
|
|
1120
1136
|
u[b] = T, l &= ~(1 << b), h && c();
|
|
@@ -1129,70 +1145,70 @@ function oe(e, t, r) {
|
|
|
1129
1145
|
};
|
|
1130
1146
|
});
|
|
1131
1147
|
}
|
|
1132
|
-
function
|
|
1133
|
-
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1148
|
+
function An(e) {
|
|
1149
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1134
1150
|
}
|
|
1135
|
-
var
|
|
1136
|
-
return
|
|
1151
|
+
var Bn = function(t) {
|
|
1152
|
+
return Pn(t) && !Nn(t);
|
|
1137
1153
|
};
|
|
1138
|
-
function
|
|
1154
|
+
function Pn(e) {
|
|
1139
1155
|
return !!e && typeof e == "object";
|
|
1140
1156
|
}
|
|
1141
|
-
function
|
|
1157
|
+
function Nn(e) {
|
|
1142
1158
|
var t = Object.prototype.toString.call(e);
|
|
1143
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1159
|
+
return t === "[object RegExp]" || t === "[object Date]" || In(e);
|
|
1144
1160
|
}
|
|
1145
|
-
var
|
|
1146
|
-
function
|
|
1147
|
-
return e.$$typeof ===
|
|
1161
|
+
var On = typeof Symbol == "function" && Symbol.for, Ln = On ? Symbol.for("react.element") : 60103;
|
|
1162
|
+
function In(e) {
|
|
1163
|
+
return e.$$typeof === Ln;
|
|
1148
1164
|
}
|
|
1149
|
-
function
|
|
1165
|
+
function Cn(e) {
|
|
1150
1166
|
return Array.isArray(e) ? [] : {};
|
|
1151
1167
|
}
|
|
1152
1168
|
function ce(e, t) {
|
|
1153
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? K(
|
|
1169
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(Cn(e), e, t) : e;
|
|
1154
1170
|
}
|
|
1155
|
-
function
|
|
1171
|
+
function Mn(e, t, r) {
|
|
1156
1172
|
return e.concat(t).map(function(n) {
|
|
1157
1173
|
return ce(n, r);
|
|
1158
1174
|
});
|
|
1159
1175
|
}
|
|
1160
|
-
function
|
|
1176
|
+
function Rn(e, t) {
|
|
1161
1177
|
if (!t.customMerge)
|
|
1162
1178
|
return K;
|
|
1163
1179
|
var r = t.customMerge(e);
|
|
1164
1180
|
return typeof r == "function" ? r : K;
|
|
1165
1181
|
}
|
|
1166
|
-
function
|
|
1182
|
+
function Gn(e) {
|
|
1167
1183
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1168
1184
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1169
1185
|
}) : [];
|
|
1170
1186
|
}
|
|
1171
|
-
function
|
|
1172
|
-
return Object.keys(e).concat(
|
|
1187
|
+
function Bt(e) {
|
|
1188
|
+
return Object.keys(e).concat(Gn(e));
|
|
1173
1189
|
}
|
|
1174
|
-
function
|
|
1190
|
+
function sr(e, t) {
|
|
1175
1191
|
try {
|
|
1176
1192
|
return t in e;
|
|
1177
1193
|
} catch (r) {
|
|
1178
1194
|
return !1;
|
|
1179
1195
|
}
|
|
1180
1196
|
}
|
|
1181
|
-
function
|
|
1182
|
-
return
|
|
1197
|
+
function Un(e, t) {
|
|
1198
|
+
return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1183
1199
|
}
|
|
1184
|
-
function
|
|
1200
|
+
function Dn(e, t, r) {
|
|
1185
1201
|
var n = {};
|
|
1186
|
-
return r.isMergeableObject(e) &&
|
|
1202
|
+
return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
|
|
1187
1203
|
n[i] = ce(e[i], r);
|
|
1188
|
-
}),
|
|
1189
|
-
|
|
1204
|
+
}), Bt(t).forEach(function(i) {
|
|
1205
|
+
Un(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Rn(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
|
|
1190
1206
|
}), n;
|
|
1191
1207
|
}
|
|
1192
1208
|
function K(e, t, r) {
|
|
1193
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1209
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Mn, r.isMergeableObject = r.isMergeableObject || Bn, r.cloneUnlessOtherwiseSpecified = ce;
|
|
1194
1210
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1195
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1211
|
+
return s ? n ? r.arrayMerge(e, t, r) : Dn(e, t, r) : ce(t, r);
|
|
1196
1212
|
}
|
|
1197
1213
|
K.all = function(t, r) {
|
|
1198
1214
|
if (!Array.isArray(t))
|
|
@@ -1201,60 +1217,58 @@ K.all = function(t, r) {
|
|
|
1201
1217
|
return K(n, i, r);
|
|
1202
1218
|
}, {});
|
|
1203
1219
|
};
|
|
1204
|
-
var
|
|
1205
|
-
const
|
|
1206
|
-
function
|
|
1207
|
-
var r = t && t.cache ? t.cache :
|
|
1220
|
+
var Fn = K, $n = Fn;
|
|
1221
|
+
const jn = /* @__PURE__ */ An($n);
|
|
1222
|
+
function Ge(e, t) {
|
|
1223
|
+
var r = t && t.cache ? t.cache : Zn, n = t && t.serializer ? t.serializer : zn, i = t && t.strategy ? t.strategy : Vn;
|
|
1208
1224
|
return i(e, {
|
|
1209
1225
|
cache: r,
|
|
1210
1226
|
serializer: n
|
|
1211
1227
|
});
|
|
1212
1228
|
}
|
|
1213
|
-
function
|
|
1229
|
+
function kn(e) {
|
|
1214
1230
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1215
1231
|
}
|
|
1216
|
-
function
|
|
1217
|
-
var i =
|
|
1232
|
+
function or(e, t, r, n) {
|
|
1233
|
+
var i = kn(n) ? n : r(n), s = t.get(i);
|
|
1218
1234
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1219
1235
|
}
|
|
1220
|
-
function
|
|
1236
|
+
function ar(e, t, r) {
|
|
1221
1237
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1222
1238
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1223
1239
|
}
|
|
1224
|
-
function
|
|
1240
|
+
function ot(e, t, r, n, i) {
|
|
1225
1241
|
return r.bind(t, e, n, i);
|
|
1226
1242
|
}
|
|
1227
|
-
function
|
|
1228
|
-
var r = e.length === 1 ?
|
|
1229
|
-
return
|
|
1243
|
+
function Vn(e, t) {
|
|
1244
|
+
var r = e.length === 1 ? or : ar;
|
|
1245
|
+
return ot(e, this, r, t.cache.create(), t.serializer);
|
|
1230
1246
|
}
|
|
1231
|
-
function
|
|
1232
|
-
return
|
|
1247
|
+
function Xn(e, t) {
|
|
1248
|
+
return ot(e, this, ar, t.cache.create(), t.serializer);
|
|
1233
1249
|
}
|
|
1234
|
-
function
|
|
1235
|
-
return
|
|
1250
|
+
function Wn(e, t) {
|
|
1251
|
+
return ot(e, this, or, t.cache.create(), t.serializer);
|
|
1236
1252
|
}
|
|
1237
|
-
var
|
|
1253
|
+
var zn = function() {
|
|
1238
1254
|
return JSON.stringify(arguments);
|
|
1239
|
-
}
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
}()
|
|
1251
|
-
), Wn = {
|
|
1255
|
+
};
|
|
1256
|
+
function at() {
|
|
1257
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1258
|
+
}
|
|
1259
|
+
at.prototype.get = function(e) {
|
|
1260
|
+
return this.cache[e];
|
|
1261
|
+
};
|
|
1262
|
+
at.prototype.set = function(e, t) {
|
|
1263
|
+
this.cache[e] = t;
|
|
1264
|
+
};
|
|
1265
|
+
var Zn = {
|
|
1252
1266
|
create: function() {
|
|
1253
|
-
return new
|
|
1267
|
+
return new at();
|
|
1254
1268
|
}
|
|
1255
|
-
},
|
|
1256
|
-
variadic:
|
|
1257
|
-
monadic:
|
|
1269
|
+
}, Ue = {
|
|
1270
|
+
variadic: Xn,
|
|
1271
|
+
monadic: Wn
|
|
1258
1272
|
}, g;
|
|
1259
1273
|
(function(e) {
|
|
1260
1274
|
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";
|
|
@@ -1267,43 +1281,43 @@ var ee;
|
|
|
1267
1281
|
(function(e) {
|
|
1268
1282
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1269
1283
|
})(ee || (ee = {}));
|
|
1270
|
-
function
|
|
1284
|
+
function Pt(e) {
|
|
1271
1285
|
return e.type === x.literal;
|
|
1272
1286
|
}
|
|
1273
|
-
function
|
|
1287
|
+
function qn(e) {
|
|
1274
1288
|
return e.type === x.argument;
|
|
1275
1289
|
}
|
|
1276
|
-
function
|
|
1290
|
+
function ur(e) {
|
|
1277
1291
|
return e.type === x.number;
|
|
1278
1292
|
}
|
|
1279
|
-
function
|
|
1293
|
+
function hr(e) {
|
|
1280
1294
|
return e.type === x.date;
|
|
1281
1295
|
}
|
|
1282
|
-
function
|
|
1296
|
+
function lr(e) {
|
|
1283
1297
|
return e.type === x.time;
|
|
1284
1298
|
}
|
|
1285
|
-
function
|
|
1299
|
+
function cr(e) {
|
|
1286
1300
|
return e.type === x.select;
|
|
1287
1301
|
}
|
|
1288
|
-
function
|
|
1302
|
+
function fr(e) {
|
|
1289
1303
|
return e.type === x.plural;
|
|
1290
1304
|
}
|
|
1291
|
-
function
|
|
1305
|
+
function Qn(e) {
|
|
1292
1306
|
return e.type === x.pound;
|
|
1293
1307
|
}
|
|
1294
|
-
function
|
|
1308
|
+
function mr(e) {
|
|
1295
1309
|
return e.type === x.tag;
|
|
1296
1310
|
}
|
|
1297
|
-
function
|
|
1311
|
+
function dr(e) {
|
|
1298
1312
|
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
1299
1313
|
}
|
|
1300
|
-
function
|
|
1314
|
+
function Qe(e) {
|
|
1301
1315
|
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
1302
1316
|
}
|
|
1303
|
-
var
|
|
1304
|
-
function
|
|
1317
|
+
var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yn = /(?:[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;
|
|
1318
|
+
function Jn(e) {
|
|
1305
1319
|
var t = {};
|
|
1306
|
-
return e.replace(
|
|
1320
|
+
return e.replace(Yn, function(r) {
|
|
1307
1321
|
var n = r.length;
|
|
1308
1322
|
switch (r[0]) {
|
|
1309
1323
|
case "G":
|
|
@@ -1392,11 +1406,11 @@ function Qn(e) {
|
|
|
1392
1406
|
return "";
|
|
1393
1407
|
}), t;
|
|
1394
1408
|
}
|
|
1395
|
-
var
|
|
1396
|
-
function
|
|
1409
|
+
var Kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1410
|
+
function ei(e) {
|
|
1397
1411
|
if (e.length === 0)
|
|
1398
1412
|
throw new Error("Number skeleton cannot be empty");
|
|
1399
|
-
for (var t = e.split(
|
|
1413
|
+
for (var t = e.split(Kn).filter(function(c) {
|
|
1400
1414
|
return c.length > 0;
|
|
1401
1415
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1402
1416
|
var s = i[n], o = s.split("/");
|
|
@@ -1411,17 +1425,17 @@ function Jn(e) {
|
|
|
1411
1425
|
}
|
|
1412
1426
|
return r;
|
|
1413
1427
|
}
|
|
1414
|
-
function
|
|
1428
|
+
function ti(e) {
|
|
1415
1429
|
return e.replace(/^(.*?)-/, "");
|
|
1416
1430
|
}
|
|
1417
|
-
var
|
|
1418
|
-
function
|
|
1431
|
+
var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, ri = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
|
|
1432
|
+
function Ot(e) {
|
|
1419
1433
|
var t = {};
|
|
1420
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1434
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
|
|
1421
1435
|
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)), "";
|
|
1422
1436
|
}), t;
|
|
1423
1437
|
}
|
|
1424
|
-
function
|
|
1438
|
+
function yr(e) {
|
|
1425
1439
|
switch (e) {
|
|
1426
1440
|
case "sign-auto":
|
|
1427
1441
|
return {
|
|
@@ -1461,7 +1475,7 @@ function br(e) {
|
|
|
1461
1475
|
};
|
|
1462
1476
|
}
|
|
1463
1477
|
}
|
|
1464
|
-
function
|
|
1478
|
+
function ni(e) {
|
|
1465
1479
|
var t;
|
|
1466
1480
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1467
1481
|
notation: "engineering"
|
|
@@ -1469,17 +1483,17 @@ function ti(e) {
|
|
|
1469
1483
|
notation: "scientific"
|
|
1470
1484
|
}, e = e.slice(1)), t) {
|
|
1471
1485
|
var r = e.slice(0, 2);
|
|
1472
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1486
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
|
|
1473
1487
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1474
1488
|
t.minimumIntegerDigits = e.length;
|
|
1475
1489
|
}
|
|
1476
1490
|
return t;
|
|
1477
1491
|
}
|
|
1478
|
-
function
|
|
1479
|
-
var t = {}, r =
|
|
1492
|
+
function Lt(e) {
|
|
1493
|
+
var t = {}, r = yr(e);
|
|
1480
1494
|
return r || t;
|
|
1481
1495
|
}
|
|
1482
|
-
function
|
|
1496
|
+
function ii(e) {
|
|
1483
1497
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1484
1498
|
var i = n[r];
|
|
1485
1499
|
switch (i.stem) {
|
|
@@ -1503,7 +1517,7 @@ function ri(e) {
|
|
|
1503
1517
|
continue;
|
|
1504
1518
|
case "measure-unit":
|
|
1505
1519
|
case "unit":
|
|
1506
|
-
t.style = "unit", t.unit =
|
|
1520
|
+
t.style = "unit", t.unit = ti(i.options[0]);
|
|
1507
1521
|
continue;
|
|
1508
1522
|
case "compact-short":
|
|
1509
1523
|
case "K":
|
|
@@ -1515,12 +1529,12 @@ function ri(e) {
|
|
|
1515
1529
|
continue;
|
|
1516
1530
|
case "scientific":
|
|
1517
1531
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1518
|
-
return v(v({}, h),
|
|
1532
|
+
return v(v({}, h), Lt(u));
|
|
1519
1533
|
}, {}));
|
|
1520
1534
|
continue;
|
|
1521
1535
|
case "engineering":
|
|
1522
1536
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1523
|
-
return v(v({}, h),
|
|
1537
|
+
return v(v({}, h), Lt(u));
|
|
1524
1538
|
}, {}));
|
|
1525
1539
|
continue;
|
|
1526
1540
|
case "notation-simple":
|
|
@@ -1565,7 +1579,7 @@ function ri(e) {
|
|
|
1565
1579
|
case "integer-width":
|
|
1566
1580
|
if (i.options.length > 1)
|
|
1567
1581
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1568
|
-
i.options[0].replace(
|
|
1582
|
+
i.options[0].replace(ri, function(h, u, l, m, c, d) {
|
|
1569
1583
|
if (u)
|
|
1570
1584
|
t.minimumIntegerDigits = l.length;
|
|
1571
1585
|
else {
|
|
@@ -1578,27 +1592,27 @@ function ri(e) {
|
|
|
1578
1592
|
});
|
|
1579
1593
|
continue;
|
|
1580
1594
|
}
|
|
1581
|
-
if (
|
|
1595
|
+
if (gr.test(i.stem)) {
|
|
1582
1596
|
t.minimumIntegerDigits = i.stem.length;
|
|
1583
1597
|
continue;
|
|
1584
1598
|
}
|
|
1585
|
-
if (
|
|
1599
|
+
if (Nt.test(i.stem)) {
|
|
1586
1600
|
if (i.options.length > 1)
|
|
1587
1601
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1588
|
-
i.stem.replace(
|
|
1602
|
+
i.stem.replace(Nt, function(h, u, l, m, c, d) {
|
|
1589
1603
|
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), "";
|
|
1590
1604
|
});
|
|
1591
1605
|
var s = i.options[0];
|
|
1592
|
-
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t),
|
|
1606
|
+
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Ot(s)));
|
|
1593
1607
|
continue;
|
|
1594
1608
|
}
|
|
1595
|
-
if (
|
|
1596
|
-
t = v(v({}, t),
|
|
1609
|
+
if (pr.test(i.stem)) {
|
|
1610
|
+
t = v(v({}, t), Ot(i.stem));
|
|
1597
1611
|
continue;
|
|
1598
1612
|
}
|
|
1599
|
-
var o =
|
|
1613
|
+
var o = yr(i.stem);
|
|
1600
1614
|
o && (t = v(v({}, t), o));
|
|
1601
|
-
var a =
|
|
1615
|
+
var a = ni(i.stem);
|
|
1602
1616
|
a && (t = v(v({}, t), a));
|
|
1603
1617
|
}
|
|
1604
1618
|
return t;
|
|
@@ -3018,13 +3032,13 @@ var ve = {
|
|
|
3018
3032
|
"h"
|
|
3019
3033
|
]
|
|
3020
3034
|
};
|
|
3021
|
-
function
|
|
3035
|
+
function si(e, t) {
|
|
3022
3036
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3023
3037
|
var i = e.charAt(n);
|
|
3024
3038
|
if (i === "j") {
|
|
3025
3039
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3026
3040
|
s++, n++;
|
|
3027
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
|
3041
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = oi(t);
|
|
3028
3042
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3029
3043
|
r += h;
|
|
3030
3044
|
for (; o-- > 0; )
|
|
@@ -3034,7 +3048,7 @@ function ni(e, t) {
|
|
|
3034
3048
|
}
|
|
3035
3049
|
return r;
|
|
3036
3050
|
}
|
|
3037
|
-
function
|
|
3051
|
+
function oi(e) {
|
|
3038
3052
|
var t = e.hourCycle;
|
|
3039
3053
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3040
3054
|
e.hourCycles && // @ts-ignore
|
|
@@ -3056,20 +3070,20 @@ function ii(e) {
|
|
|
3056
3070
|
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3057
3071
|
return i[0];
|
|
3058
3072
|
}
|
|
3059
|
-
var
|
|
3073
|
+
var De, ai = new RegExp("^".concat(br.source, "*")), ui = new RegExp("".concat(br.source, "*$"));
|
|
3060
3074
|
function y(e, t) {
|
|
3061
3075
|
return { start: e, end: t };
|
|
3062
3076
|
}
|
|
3063
|
-
var
|
|
3077
|
+
var hi = !!String.prototype.startsWith && "_a".startsWith("a", 1), li = !!String.fromCodePoint, ci = !!Object.fromEntries, fi = !!String.prototype.codePointAt, mi = !!String.prototype.trimStart, di = !!String.prototype.trimEnd, bi = !!Number.isSafeInteger, pi = bi ? Number.isSafeInteger : function(e) {
|
|
3064
3078
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3065
|
-
},
|
|
3079
|
+
}, Ye = !0;
|
|
3066
3080
|
try {
|
|
3067
|
-
var
|
|
3068
|
-
|
|
3081
|
+
var gi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3082
|
+
Ye = ((De = gi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
|
3069
3083
|
} catch (e) {
|
|
3070
|
-
|
|
3084
|
+
Ye = !1;
|
|
3071
3085
|
}
|
|
3072
|
-
var
|
|
3086
|
+
var It = hi ? (
|
|
3073
3087
|
// Native
|
|
3074
3088
|
function(t, r, n) {
|
|
3075
3089
|
return t.startsWith(r, n);
|
|
@@ -3079,7 +3093,7 @@ var Ot = ai ? (
|
|
|
3079
3093
|
function(t, r, n) {
|
|
3080
3094
|
return t.slice(n, n + r.length) === r;
|
|
3081
3095
|
}
|
|
3082
|
-
),
|
|
3096
|
+
), Je = li ? String.fromCodePoint : (
|
|
3083
3097
|
// IE11
|
|
3084
3098
|
function() {
|
|
3085
3099
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3091,9 +3105,9 @@ var Ot = ai ? (
|
|
|
3091
3105
|
}
|
|
3092
3106
|
return n;
|
|
3093
3107
|
}
|
|
3094
|
-
),
|
|
3108
|
+
), Ct = (
|
|
3095
3109
|
// native
|
|
3096
|
-
|
|
3110
|
+
ci ? Object.fromEntries : (
|
|
3097
3111
|
// Ponyfill
|
|
3098
3112
|
function(t) {
|
|
3099
3113
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3103,7 +3117,7 @@ var Ot = ai ? (
|
|
|
3103
3117
|
return r;
|
|
3104
3118
|
}
|
|
3105
3119
|
)
|
|
3106
|
-
),
|
|
3120
|
+
), vr = fi ? (
|
|
3107
3121
|
// Native
|
|
3108
3122
|
function(t, r) {
|
|
3109
3123
|
return t.codePointAt(r);
|
|
@@ -3117,7 +3131,7 @@ var Ot = ai ? (
|
|
|
3117
3131
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3118
3132
|
}
|
|
3119
3133
|
}
|
|
3120
|
-
),
|
|
3134
|
+
), yi = mi ? (
|
|
3121
3135
|
// Native
|
|
3122
3136
|
function(t) {
|
|
3123
3137
|
return t.trimStart();
|
|
@@ -3125,9 +3139,9 @@ var Ot = ai ? (
|
|
|
3125
3139
|
) : (
|
|
3126
3140
|
// Ponyfill
|
|
3127
3141
|
function(t) {
|
|
3128
|
-
return t.replace(
|
|
3142
|
+
return t.replace(ai, "");
|
|
3129
3143
|
}
|
|
3130
|
-
),
|
|
3144
|
+
), vi = di ? (
|
|
3131
3145
|
// Native
|
|
3132
3146
|
function(t) {
|
|
3133
3147
|
return t.trimEnd();
|
|
@@ -3135,32 +3149,32 @@ var Ot = ai ? (
|
|
|
3135
3149
|
) : (
|
|
3136
3150
|
// Ponyfill
|
|
3137
3151
|
function(t) {
|
|
3138
|
-
return t.replace(
|
|
3152
|
+
return t.replace(ui, "");
|
|
3139
3153
|
}
|
|
3140
3154
|
);
|
|
3141
|
-
function
|
|
3155
|
+
function Er(e, t) {
|
|
3142
3156
|
return new RegExp(e, t);
|
|
3143
3157
|
}
|
|
3144
|
-
var
|
|
3145
|
-
if (
|
|
3146
|
-
var
|
|
3147
|
-
|
|
3158
|
+
var Ke;
|
|
3159
|
+
if (Ye) {
|
|
3160
|
+
var Mt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3161
|
+
Ke = function(t, r) {
|
|
3148
3162
|
var n;
|
|
3149
|
-
|
|
3150
|
-
var i =
|
|
3163
|
+
Mt.lastIndex = r;
|
|
3164
|
+
var i = Mt.exec(t);
|
|
3151
3165
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3152
3166
|
};
|
|
3153
3167
|
} else
|
|
3154
|
-
|
|
3168
|
+
Ke = function(t, r) {
|
|
3155
3169
|
for (var n = []; ; ) {
|
|
3156
|
-
var i =
|
|
3157
|
-
if (i === void 0 ||
|
|
3170
|
+
var i = vr(t, r);
|
|
3171
|
+
if (i === void 0 || _r(i) || Si(i))
|
|
3158
3172
|
break;
|
|
3159
3173
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3160
3174
|
}
|
|
3161
|
-
return
|
|
3175
|
+
return Je.apply(void 0, n);
|
|
3162
3176
|
};
|
|
3163
|
-
var
|
|
3177
|
+
var Ei = (
|
|
3164
3178
|
/** @class */
|
|
3165
3179
|
function() {
|
|
3166
3180
|
function e(t, r) {
|
|
@@ -3191,7 +3205,7 @@ var yi = (
|
|
|
3191
3205
|
if (n)
|
|
3192
3206
|
break;
|
|
3193
3207
|
return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3194
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3208
|
+
} else if (s === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
|
3195
3209
|
var o = this.parseTag(t, r);
|
|
3196
3210
|
if (o.err)
|
|
3197
3211
|
return o;
|
|
@@ -3224,7 +3238,7 @@ var yi = (
|
|
|
3224
3238
|
return s;
|
|
3225
3239
|
var o = s.val, a = this.clonePosition();
|
|
3226
3240
|
if (this.bumpIf("</")) {
|
|
3227
|
-
if (this.isEOF() || !
|
|
3241
|
+
if (this.isEOF() || !et(this.char()))
|
|
3228
3242
|
return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
|
|
3229
3243
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3230
3244
|
return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3242,7 +3256,7 @@ var yi = (
|
|
|
3242
3256
|
return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
|
|
3243
3257
|
}, e.prototype.parseTagName = function() {
|
|
3244
3258
|
var t = this.offset();
|
|
3245
|
-
for (this.bump(); !this.isEOF() &&
|
|
3259
|
+
for (this.bump(); !this.isEOF() && xi(this.char()); )
|
|
3246
3260
|
this.bump();
|
|
3247
3261
|
return this.message.slice(t, this.offset());
|
|
3248
3262
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3271,7 +3285,7 @@ var yi = (
|
|
|
3271
3285
|
};
|
|
3272
3286
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3273
3287
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3274
|
-
!
|
|
3288
|
+
!_i(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3275
3289
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3276
3290
|
if (this.isEOF() || this.char() !== 39)
|
|
3277
3291
|
return null;
|
|
@@ -3305,12 +3319,12 @@ var yi = (
|
|
|
3305
3319
|
r.push(n);
|
|
3306
3320
|
this.bump();
|
|
3307
3321
|
}
|
|
3308
|
-
return
|
|
3322
|
+
return Je.apply(void 0, r);
|
|
3309
3323
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3310
3324
|
if (this.isEOF())
|
|
3311
3325
|
return null;
|
|
3312
3326
|
var n = this.char();
|
|
3313
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3327
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
|
|
3314
3328
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3315
3329
|
var n = this.clonePosition();
|
|
3316
3330
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3339,7 +3353,7 @@ var yi = (
|
|
|
3339
3353
|
return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3340
3354
|
}
|
|
3341
3355
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3342
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3356
|
+
var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
|
|
3343
3357
|
this.bumpTo(i);
|
|
3344
3358
|
var s = this.clonePosition(), o = y(t, s);
|
|
3345
3359
|
return { value: n, location: o };
|
|
@@ -3358,7 +3372,7 @@ var yi = (
|
|
|
3358
3372
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
3359
3373
|
if (m.err)
|
|
3360
3374
|
return m;
|
|
3361
|
-
var c =
|
|
3375
|
+
var c = vi(m.val);
|
|
3362
3376
|
if (c.length === 0)
|
|
3363
3377
|
return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3364
3378
|
var d = y(l, this.clonePosition());
|
|
@@ -3368,8 +3382,8 @@ var yi = (
|
|
|
3368
3382
|
if (p.err)
|
|
3369
3383
|
return p;
|
|
3370
3384
|
var b = y(i, this.clonePosition());
|
|
3371
|
-
if (u &&
|
|
3372
|
-
var T =
|
|
3385
|
+
if (u && It(u == null ? void 0 : u.style, "::", 0)) {
|
|
3386
|
+
var T = yi(u.style.slice(2));
|
|
3373
3387
|
if (a === "number") {
|
|
3374
3388
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
3375
3389
|
return m.err ? m : {
|
|
@@ -3380,12 +3394,12 @@ var yi = (
|
|
|
3380
3394
|
if (T.length === 0)
|
|
3381
3395
|
return this.error(g.EXPECT_DATE_TIME_SKELETON, b);
|
|
3382
3396
|
var C = T;
|
|
3383
|
-
this.locale && (C =
|
|
3397
|
+
this.locale && (C = si(T, this.locale));
|
|
3384
3398
|
var c = {
|
|
3385
3399
|
type: ee.dateTime,
|
|
3386
3400
|
pattern: C,
|
|
3387
3401
|
location: u.styleLocation,
|
|
3388
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3402
|
+
parsedOptions: this.shouldParseSkeletons ? Jn(C) : {}
|
|
3389
3403
|
}, P = a === "date" ? x.date : x.time;
|
|
3390
3404
|
return {
|
|
3391
3405
|
val: { type: P, value: n, location: b, style: c },
|
|
@@ -3426,23 +3440,23 @@ var yi = (
|
|
|
3426
3440
|
var p = this.tryParseArgumentClose(i);
|
|
3427
3441
|
if (p.err)
|
|
3428
3442
|
return p;
|
|
3429
|
-
var
|
|
3443
|
+
var _ = y(i, this.clonePosition());
|
|
3430
3444
|
return a === "select" ? {
|
|
3431
3445
|
val: {
|
|
3432
3446
|
type: x.select,
|
|
3433
3447
|
value: n,
|
|
3434
|
-
options:
|
|
3435
|
-
location:
|
|
3448
|
+
options: Ct(R.val),
|
|
3449
|
+
location: _
|
|
3436
3450
|
},
|
|
3437
3451
|
err: null
|
|
3438
3452
|
} : {
|
|
3439
3453
|
val: {
|
|
3440
3454
|
type: x.plural,
|
|
3441
3455
|
value: n,
|
|
3442
|
-
options:
|
|
3456
|
+
options: Ct(R.val),
|
|
3443
3457
|
offset: H,
|
|
3444
3458
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3445
|
-
location:
|
|
3459
|
+
location: _
|
|
3446
3460
|
},
|
|
3447
3461
|
err: null
|
|
3448
3462
|
};
|
|
@@ -3490,7 +3504,7 @@ var yi = (
|
|
|
3490
3504
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3491
3505
|
var n = [];
|
|
3492
3506
|
try {
|
|
3493
|
-
n =
|
|
3507
|
+
n = ei(t);
|
|
3494
3508
|
} catch (i) {
|
|
3495
3509
|
return this.error(g.INVALID_NUMBER_SKELETON, r);
|
|
3496
3510
|
}
|
|
@@ -3499,7 +3513,7 @@ var yi = (
|
|
|
3499
3513
|
type: ee.number,
|
|
3500
3514
|
tokens: n,
|
|
3501
3515
|
location: r,
|
|
3502
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3516
|
+
parsedOptions: this.shouldParseSkeletons ? ii(n) : {}
|
|
3503
3517
|
},
|
|
3504
3518
|
err: null
|
|
3505
3519
|
};
|
|
@@ -3547,7 +3561,7 @@ var yi = (
|
|
|
3547
3561
|
break;
|
|
3548
3562
|
}
|
|
3549
3563
|
var h = y(i, this.clonePosition());
|
|
3550
|
-
return s ? (o *= n,
|
|
3564
|
+
return s ? (o *= n, pi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3551
3565
|
}, e.prototype.offset = function() {
|
|
3552
3566
|
return this.position.offset;
|
|
3553
3567
|
}, e.prototype.isEOF = function() {
|
|
@@ -3562,7 +3576,7 @@ var yi = (
|
|
|
3562
3576
|
var t = this.position.offset;
|
|
3563
3577
|
if (t >= this.message.length)
|
|
3564
3578
|
throw Error("out of bound");
|
|
3565
|
-
var r =
|
|
3579
|
+
var r = vr(this.message, t);
|
|
3566
3580
|
if (r === void 0)
|
|
3567
3581
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3568
3582
|
return r;
|
|
@@ -3581,7 +3595,7 @@ var yi = (
|
|
|
3581
3595
|
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);
|
|
3582
3596
|
}
|
|
3583
3597
|
}, e.prototype.bumpIf = function(t) {
|
|
3584
|
-
if (
|
|
3598
|
+
if (It(this.message, t, this.offset())) {
|
|
3585
3599
|
for (var r = 0; r < t.length; r++)
|
|
3586
3600
|
this.bump();
|
|
3587
3601
|
return !0;
|
|
@@ -3603,7 +3617,7 @@ var yi = (
|
|
|
3603
3617
|
break;
|
|
3604
3618
|
}
|
|
3605
3619
|
}, e.prototype.bumpSpace = function() {
|
|
3606
|
-
for (; !this.isEOF() &&
|
|
3620
|
+
for (; !this.isEOF() && _r(this.char()); )
|
|
3607
3621
|
this.bump();
|
|
3608
3622
|
}, e.prototype.peek = function() {
|
|
3609
3623
|
if (this.isEOF())
|
|
@@ -3613,38 +3627,38 @@ var yi = (
|
|
|
3613
3627
|
}, e;
|
|
3614
3628
|
}()
|
|
3615
3629
|
);
|
|
3616
|
-
function
|
|
3630
|
+
function et(e) {
|
|
3617
3631
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3618
3632
|
}
|
|
3619
|
-
function vi(e) {
|
|
3620
|
-
return Ke(e) || e === 47;
|
|
3621
|
-
}
|
|
3622
3633
|
function _i(e) {
|
|
3634
|
+
return et(e) || e === 47;
|
|
3635
|
+
}
|
|
3636
|
+
function xi(e) {
|
|
3623
3637
|
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;
|
|
3624
3638
|
}
|
|
3625
|
-
function
|
|
3639
|
+
function _r(e) {
|
|
3626
3640
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3627
3641
|
}
|
|
3628
|
-
function
|
|
3642
|
+
function Si(e) {
|
|
3629
3643
|
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;
|
|
3630
3644
|
}
|
|
3631
|
-
function
|
|
3645
|
+
function tt(e) {
|
|
3632
3646
|
e.forEach(function(t) {
|
|
3633
|
-
if (delete t.location,
|
|
3647
|
+
if (delete t.location, cr(t) || fr(t))
|
|
3634
3648
|
for (var r in t.options)
|
|
3635
|
-
delete t.options[r].location,
|
|
3649
|
+
delete t.options[r].location, tt(t.options[r].value);
|
|
3636
3650
|
else
|
|
3637
|
-
|
|
3651
|
+
ur(t) && dr(t.style) || (hr(t) || lr(t)) && Qe(t.style) ? delete t.style.location : mr(t) && tt(t.children);
|
|
3638
3652
|
});
|
|
3639
3653
|
}
|
|
3640
|
-
function
|
|
3654
|
+
function Ti(e, t) {
|
|
3641
3655
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3642
|
-
var r = new
|
|
3656
|
+
var r = new Ei(e, t).parse();
|
|
3643
3657
|
if (r.err) {
|
|
3644
3658
|
var n = SyntaxError(g[r.err.kind]);
|
|
3645
3659
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3646
3660
|
}
|
|
3647
|
-
return t != null && t.captureLocation ||
|
|
3661
|
+
return t != null && t.captureLocation || tt(r.val), r.val;
|
|
3648
3662
|
}
|
|
3649
3663
|
var te;
|
|
3650
3664
|
(function(e) {
|
|
@@ -3662,7 +3676,7 @@ var Be = (
|
|
|
3662
3676
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3663
3677
|
}, t;
|
|
3664
3678
|
}(Error)
|
|
3665
|
-
),
|
|
3679
|
+
), Rt = (
|
|
3666
3680
|
/** @class */
|
|
3667
3681
|
function(e) {
|
|
3668
3682
|
D(t, e);
|
|
@@ -3671,7 +3685,7 @@ var Be = (
|
|
|
3671
3685
|
}
|
|
3672
3686
|
return t;
|
|
3673
3687
|
}(Be)
|
|
3674
|
-
),
|
|
3688
|
+
), wi = (
|
|
3675
3689
|
/** @class */
|
|
3676
3690
|
function(e) {
|
|
3677
3691
|
D(t, e);
|
|
@@ -3680,7 +3694,7 @@ var Be = (
|
|
|
3680
3694
|
}
|
|
3681
3695
|
return t;
|
|
3682
3696
|
}(Be)
|
|
3683
|
-
),
|
|
3697
|
+
), Hi = (
|
|
3684
3698
|
/** @class */
|
|
3685
3699
|
function(e) {
|
|
3686
3700
|
D(t, e);
|
|
@@ -3693,17 +3707,17 @@ var Be = (
|
|
|
3693
3707
|
(function(e) {
|
|
3694
3708
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3695
3709
|
})(A || (A = {}));
|
|
3696
|
-
function
|
|
3710
|
+
function Ai(e) {
|
|
3697
3711
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3698
3712
|
var n = t[t.length - 1];
|
|
3699
3713
|
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3700
3714
|
}, []);
|
|
3701
3715
|
}
|
|
3702
|
-
function
|
|
3716
|
+
function Bi(e) {
|
|
3703
3717
|
return typeof e == "function";
|
|
3704
3718
|
}
|
|
3705
3719
|
function xe(e, t, r, n, i, s, o) {
|
|
3706
|
-
if (e.length === 1 &&
|
|
3720
|
+
if (e.length === 1 && Pt(e[0]))
|
|
3707
3721
|
return [
|
|
3708
3722
|
{
|
|
3709
3723
|
type: A.literal,
|
|
@@ -3712,14 +3726,14 @@ function xe(e, t, r, n, i, s, o) {
|
|
|
3712
3726
|
];
|
|
3713
3727
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3714
3728
|
var l = u[h];
|
|
3715
|
-
if (
|
|
3729
|
+
if (Pt(l)) {
|
|
3716
3730
|
a.push({
|
|
3717
3731
|
type: A.literal,
|
|
3718
3732
|
value: l.value
|
|
3719
3733
|
});
|
|
3720
3734
|
continue;
|
|
3721
3735
|
}
|
|
3722
|
-
if (
|
|
3736
|
+
if (Qn(l)) {
|
|
3723
3737
|
typeof s == "number" && a.push({
|
|
3724
3738
|
type: A.literal,
|
|
3725
3739
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3728,43 +3742,43 @@ function xe(e, t, r, n, i, s, o) {
|
|
|
3728
3742
|
}
|
|
3729
3743
|
var m = l.value;
|
|
3730
3744
|
if (!(i && m in i))
|
|
3731
|
-
throw new
|
|
3745
|
+
throw new Hi(m, o);
|
|
3732
3746
|
var c = i[m];
|
|
3733
|
-
if (
|
|
3747
|
+
if (qn(l)) {
|
|
3734
3748
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3735
3749
|
type: typeof c == "string" ? A.literal : A.object,
|
|
3736
3750
|
value: c
|
|
3737
3751
|
});
|
|
3738
3752
|
continue;
|
|
3739
3753
|
}
|
|
3740
|
-
if (
|
|
3741
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
|
3754
|
+
if (hr(l)) {
|
|
3755
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Qe(l.style) ? l.style.parsedOptions : void 0;
|
|
3742
3756
|
a.push({
|
|
3743
3757
|
type: A.literal,
|
|
3744
3758
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3745
3759
|
});
|
|
3746
3760
|
continue;
|
|
3747
3761
|
}
|
|
3748
|
-
if (
|
|
3749
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
|
3762
|
+
if (lr(l)) {
|
|
3763
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Qe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3750
3764
|
a.push({
|
|
3751
3765
|
type: A.literal,
|
|
3752
3766
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3753
3767
|
});
|
|
3754
3768
|
continue;
|
|
3755
3769
|
}
|
|
3756
|
-
if (
|
|
3757
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
|
3770
|
+
if (ur(l)) {
|
|
3771
|
+
var d = typeof l.style == "string" ? n.number[l.style] : dr(l.style) ? l.style.parsedOptions : void 0;
|
|
3758
3772
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3759
3773
|
type: A.literal,
|
|
3760
3774
|
value: r.getNumberFormat(t, d).format(c)
|
|
3761
3775
|
});
|
|
3762
3776
|
continue;
|
|
3763
3777
|
}
|
|
3764
|
-
if (
|
|
3778
|
+
if (mr(l)) {
|
|
3765
3779
|
var p = l.children, b = l.value, T = i[b];
|
|
3766
|
-
if (!
|
|
3767
|
-
throw new
|
|
3780
|
+
if (!Bi(T))
|
|
3781
|
+
throw new wi(b, "function", o);
|
|
3768
3782
|
var C = xe(p, t, r, n, i, s), P = T(C.map(function(H) {
|
|
3769
3783
|
return H.value;
|
|
3770
3784
|
}));
|
|
@@ -3775,14 +3789,14 @@ function xe(e, t, r, n, i, s, o) {
|
|
|
3775
3789
|
};
|
|
3776
3790
|
}));
|
|
3777
3791
|
}
|
|
3778
|
-
if (
|
|
3792
|
+
if (cr(l)) {
|
|
3779
3793
|
var w = l.options[c] || l.options.other;
|
|
3780
3794
|
if (!w)
|
|
3781
|
-
throw new
|
|
3795
|
+
throw new Rt(l.value, c, Object.keys(l.options), o);
|
|
3782
3796
|
a.push.apply(a, xe(w.value, t, r, n, i));
|
|
3783
3797
|
continue;
|
|
3784
3798
|
}
|
|
3785
|
-
if (
|
|
3799
|
+
if (fr(l)) {
|
|
3786
3800
|
var w = l.options["=".concat(c)];
|
|
3787
3801
|
if (!w) {
|
|
3788
3802
|
if (!Intl.PluralRules)
|
|
@@ -3793,24 +3807,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
|
3793
3807
|
w = l.options[N] || l.options.other;
|
|
3794
3808
|
}
|
|
3795
3809
|
if (!w)
|
|
3796
|
-
throw new
|
|
3810
|
+
throw new Rt(l.value, c, Object.keys(l.options), o);
|
|
3797
3811
|
a.push.apply(a, xe(w.value, t, r, n, i, c - (l.offset || 0)));
|
|
3798
3812
|
continue;
|
|
3799
3813
|
}
|
|
3800
3814
|
}
|
|
3801
|
-
return
|
|
3815
|
+
return Ai(a);
|
|
3802
3816
|
}
|
|
3803
|
-
function
|
|
3817
|
+
function Pi(e, t) {
|
|
3804
3818
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3805
3819
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
|
3806
3820
|
}, {})) : e;
|
|
3807
3821
|
}
|
|
3808
|
-
function
|
|
3822
|
+
function Ni(e, t) {
|
|
3809
3823
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3810
|
-
return r[n] =
|
|
3824
|
+
return r[n] = Pi(e[n], t[n]), r;
|
|
3811
3825
|
}, v({}, e)) : e;
|
|
3812
3826
|
}
|
|
3813
|
-
function
|
|
3827
|
+
function Fe(e) {
|
|
3814
3828
|
return {
|
|
3815
3829
|
create: function() {
|
|
3816
3830
|
return {
|
|
@@ -3824,39 +3838,39 @@ function De(e) {
|
|
|
3824
3838
|
}
|
|
3825
3839
|
};
|
|
3826
3840
|
}
|
|
3827
|
-
function
|
|
3841
|
+
function Oi(e) {
|
|
3828
3842
|
return e === void 0 && (e = {
|
|
3829
3843
|
number: {},
|
|
3830
3844
|
dateTime: {},
|
|
3831
3845
|
pluralRules: {}
|
|
3832
3846
|
}), {
|
|
3833
|
-
getNumberFormat:
|
|
3847
|
+
getNumberFormat: Ge(function() {
|
|
3834
3848
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3835
3849
|
r[n] = arguments[n];
|
|
3836
3850
|
return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
|
|
3837
3851
|
}, {
|
|
3838
|
-
cache:
|
|
3839
|
-
strategy:
|
|
3852
|
+
cache: Fe(e.number),
|
|
3853
|
+
strategy: Ue.variadic
|
|
3840
3854
|
}),
|
|
3841
|
-
getDateTimeFormat:
|
|
3855
|
+
getDateTimeFormat: Ge(function() {
|
|
3842
3856
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3843
3857
|
r[n] = arguments[n];
|
|
3844
3858
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
|
|
3845
3859
|
}, {
|
|
3846
|
-
cache:
|
|
3847
|
-
strategy:
|
|
3860
|
+
cache: Fe(e.dateTime),
|
|
3861
|
+
strategy: Ue.variadic
|
|
3848
3862
|
}),
|
|
3849
|
-
getPluralRules:
|
|
3863
|
+
getPluralRules: Ge(function() {
|
|
3850
3864
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3851
3865
|
r[n] = arguments[n];
|
|
3852
3866
|
return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
|
|
3853
3867
|
}, {
|
|
3854
|
-
cache:
|
|
3855
|
-
strategy:
|
|
3868
|
+
cache: Fe(e.pluralRules),
|
|
3869
|
+
strategy: Ue.variadic
|
|
3856
3870
|
})
|
|
3857
3871
|
};
|
|
3858
3872
|
}
|
|
3859
|
-
var
|
|
3873
|
+
var Li = (
|
|
3860
3874
|
/** @class */
|
|
3861
3875
|
function() {
|
|
3862
3876
|
function e(t, r, n, i) {
|
|
@@ -3888,13 +3902,13 @@ var Ni = (
|
|
|
3888
3902
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3889
3903
|
var o = i || {};
|
|
3890
3904
|
o.formatters;
|
|
3891
|
-
var a =
|
|
3905
|
+
var a = cn(o, ["formatters"]);
|
|
3892
3906
|
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
|
3893
3907
|
} else
|
|
3894
3908
|
this.ast = t;
|
|
3895
3909
|
if (!Array.isArray(this.ast))
|
|
3896
3910
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3897
|
-
this.formats =
|
|
3911
|
+
this.formats = Ni(e.formats, n), this.formatters = i && i.formatters || Oi(this.formatterCache);
|
|
3898
3912
|
}
|
|
3899
3913
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3900
3914
|
get: function() {
|
|
@@ -3907,7 +3921,7 @@ var Ni = (
|
|
|
3907
3921
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3908
3922
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3909
3923
|
}
|
|
3910
|
-
}, e.__parse =
|
|
3924
|
+
}, e.__parse = Ti, e.formats = {
|
|
3911
3925
|
number: {
|
|
3912
3926
|
integer: {
|
|
3913
3927
|
maximumFractionDigits: 0
|
|
@@ -3968,7 +3982,7 @@ var Ni = (
|
|
|
3968
3982
|
}, e;
|
|
3969
3983
|
}()
|
|
3970
3984
|
);
|
|
3971
|
-
function
|
|
3985
|
+
function Ii(e, t) {
|
|
3972
3986
|
if (t == null)
|
|
3973
3987
|
return;
|
|
3974
3988
|
if (t in e)
|
|
@@ -3989,92 +4003,92 @@ function Oi(e, t) {
|
|
|
3989
4003
|
n = void 0;
|
|
3990
4004
|
return n;
|
|
3991
4005
|
}
|
|
3992
|
-
const F = {},
|
|
4006
|
+
const F = {}, Ci = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), xr = (e, t) => {
|
|
3993
4007
|
if (t == null)
|
|
3994
4008
|
return;
|
|
3995
4009
|
if (t in F && e in F[t])
|
|
3996
4010
|
return F[t][e];
|
|
3997
4011
|
const r = Pe(t);
|
|
3998
4012
|
for (let n = 0; n < r.length; n++) {
|
|
3999
|
-
const i = r[n], s =
|
|
4013
|
+
const i = r[n], s = Ri(i, e);
|
|
4000
4014
|
if (s)
|
|
4001
|
-
return
|
|
4015
|
+
return Ci(e, t, s);
|
|
4002
4016
|
}
|
|
4003
4017
|
};
|
|
4004
|
-
let
|
|
4018
|
+
let ut;
|
|
4005
4019
|
const de = Ae({});
|
|
4006
|
-
function
|
|
4007
|
-
return
|
|
4020
|
+
function Mi(e) {
|
|
4021
|
+
return ut[e] || null;
|
|
4008
4022
|
}
|
|
4009
|
-
function
|
|
4010
|
-
return e in
|
|
4023
|
+
function Sr(e) {
|
|
4024
|
+
return e in ut;
|
|
4011
4025
|
}
|
|
4012
|
-
function
|
|
4013
|
-
if (!
|
|
4026
|
+
function Ri(e, t) {
|
|
4027
|
+
if (!Sr(e))
|
|
4014
4028
|
return null;
|
|
4015
|
-
const r =
|
|
4016
|
-
return
|
|
4029
|
+
const r = Mi(e);
|
|
4030
|
+
return Ii(r, t);
|
|
4017
4031
|
}
|
|
4018
|
-
function
|
|
4032
|
+
function Gi(e) {
|
|
4019
4033
|
if (e == null)
|
|
4020
4034
|
return;
|
|
4021
4035
|
const t = Pe(e);
|
|
4022
4036
|
for (let r = 0; r < t.length; r++) {
|
|
4023
4037
|
const n = t[r];
|
|
4024
|
-
if (
|
|
4038
|
+
if (Sr(n))
|
|
4025
4039
|
return n;
|
|
4026
4040
|
}
|
|
4027
4041
|
}
|
|
4028
|
-
function
|
|
4029
|
-
delete F[e], de.update((r) => (r[e] =
|
|
4042
|
+
function Tr(e, ...t) {
|
|
4043
|
+
delete F[e], de.update((r) => (r[e] = jn.all([r[e] || {}, ...t]), r));
|
|
4030
4044
|
}
|
|
4031
4045
|
oe(
|
|
4032
4046
|
[de],
|
|
4033
4047
|
([e]) => Object.keys(e)
|
|
4034
4048
|
);
|
|
4035
|
-
de.subscribe((e) =>
|
|
4049
|
+
de.subscribe((e) => ut = e);
|
|
4036
4050
|
const Se = {};
|
|
4037
|
-
function
|
|
4051
|
+
function Ui(e, t) {
|
|
4038
4052
|
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
|
4039
4053
|
}
|
|
4040
|
-
function
|
|
4054
|
+
function wr(e) {
|
|
4041
4055
|
return Se[e];
|
|
4042
4056
|
}
|
|
4043
|
-
function
|
|
4057
|
+
function Di(e) {
|
|
4044
4058
|
return Pe(e).map((t) => {
|
|
4045
|
-
const r =
|
|
4059
|
+
const r = wr(t);
|
|
4046
4060
|
return [t, r ? [...r] : []];
|
|
4047
4061
|
}).filter(([, t]) => t.length > 0);
|
|
4048
4062
|
}
|
|
4049
|
-
function
|
|
4063
|
+
function rt(e) {
|
|
4050
4064
|
return e == null ? !1 : Pe(e).some(
|
|
4051
4065
|
(t) => {
|
|
4052
4066
|
var r;
|
|
4053
|
-
return (r =
|
|
4067
|
+
return (r = wr(t)) == null ? void 0 : r.size;
|
|
4054
4068
|
}
|
|
4055
4069
|
);
|
|
4056
4070
|
}
|
|
4057
|
-
function
|
|
4071
|
+
function Fi(e, t) {
|
|
4058
4072
|
return Promise.all(
|
|
4059
|
-
t.map((n) => (
|
|
4060
|
-
).then((n) =>
|
|
4073
|
+
t.map((n) => (Ui(e, n), n().then((i) => i.default || i)))
|
|
4074
|
+
).then((n) => Tr(e, ...n));
|
|
4061
4075
|
}
|
|
4062
4076
|
const ue = {};
|
|
4063
|
-
function
|
|
4064
|
-
if (!
|
|
4077
|
+
function Hr(e) {
|
|
4078
|
+
if (!rt(e))
|
|
4065
4079
|
return e in ue ? ue[e] : Promise.resolve();
|
|
4066
|
-
const t =
|
|
4080
|
+
const t = Di(e);
|
|
4067
4081
|
return ue[e] = Promise.all(
|
|
4068
4082
|
t.map(
|
|
4069
|
-
([r, n]) =>
|
|
4083
|
+
([r, n]) => Fi(r, n)
|
|
4070
4084
|
)
|
|
4071
4085
|
).then(() => {
|
|
4072
|
-
if (
|
|
4073
|
-
return
|
|
4086
|
+
if (rt(e))
|
|
4087
|
+
return Hr(e);
|
|
4074
4088
|
delete ue[e];
|
|
4075
4089
|
}), ue[e];
|
|
4076
4090
|
}
|
|
4077
|
-
const
|
|
4091
|
+
const $i = {
|
|
4078
4092
|
number: {
|
|
4079
4093
|
scientific: { notation: "scientific" },
|
|
4080
4094
|
engineering: { notation: "engineering" },
|
|
@@ -4103,57 +4117,57 @@ const Di = {
|
|
|
4103
4117
|
timeZoneName: "short"
|
|
4104
4118
|
}
|
|
4105
4119
|
}
|
|
4106
|
-
},
|
|
4120
|
+
}, ji = {
|
|
4107
4121
|
fallbackLocale: null,
|
|
4108
4122
|
loadingDelay: 200,
|
|
4109
|
-
formats:
|
|
4123
|
+
formats: $i,
|
|
4110
4124
|
warnOnMissingMessages: !0,
|
|
4111
4125
|
handleMissingMessage: void 0,
|
|
4112
4126
|
ignoreTag: !0
|
|
4113
|
-
},
|
|
4127
|
+
}, ki = ji;
|
|
4114
4128
|
function re() {
|
|
4115
|
-
return
|
|
4116
|
-
}
|
|
4117
|
-
const
|
|
4118
|
-
var
|
|
4119
|
-
for (var r in t)
|
|
4120
|
-
|
|
4121
|
-
if (
|
|
4122
|
-
for (var r of
|
|
4123
|
-
|
|
4129
|
+
return ki;
|
|
4130
|
+
}
|
|
4131
|
+
const $e = Ae(!1);
|
|
4132
|
+
var Vi = Object.defineProperty, Xi = Object.defineProperties, Wi = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, zi = Object.prototype.hasOwnProperty, Zi = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qi = (e, t) => {
|
|
4133
|
+
for (var r in t || (t = {}))
|
|
4134
|
+
zi.call(t, r) && Ut(e, r, t[r]);
|
|
4135
|
+
if (Gt)
|
|
4136
|
+
for (var r of Gt(t))
|
|
4137
|
+
Zi.call(t, r) && Ut(e, r, t[r]);
|
|
4124
4138
|
return e;
|
|
4125
|
-
},
|
|
4126
|
-
let
|
|
4139
|
+
}, Qi = (e, t) => Xi(e, Wi(t));
|
|
4140
|
+
let nt;
|
|
4127
4141
|
const Te = Ae(null);
|
|
4128
|
-
function
|
|
4142
|
+
function Dt(e) {
|
|
4129
4143
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4130
4144
|
}
|
|
4131
4145
|
function Pe(e, t = re().fallbackLocale) {
|
|
4132
|
-
const r =
|
|
4133
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4146
|
+
const r = Dt(e);
|
|
4147
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
|
|
4134
4148
|
}
|
|
4135
4149
|
function X() {
|
|
4136
|
-
return
|
|
4150
|
+
return nt != null ? nt : void 0;
|
|
4137
4151
|
}
|
|
4138
4152
|
Te.subscribe((e) => {
|
|
4139
|
-
|
|
4153
|
+
nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4140
4154
|
});
|
|
4141
|
-
const
|
|
4142
|
-
if (e &&
|
|
4155
|
+
const Yi = (e) => {
|
|
4156
|
+
if (e && Gi(e) && rt(e)) {
|
|
4143
4157
|
const { loadingDelay: t } = re();
|
|
4144
4158
|
let r;
|
|
4145
4159
|
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
|
4146
|
-
() =>
|
|
4160
|
+
() => $e.set(!0),
|
|
4147
4161
|
t
|
|
4148
|
-
) :
|
|
4162
|
+
) : $e.set(!0), Hr(e).then(() => {
|
|
4149
4163
|
Te.set(e);
|
|
4150
4164
|
}).finally(() => {
|
|
4151
|
-
clearTimeout(r),
|
|
4165
|
+
clearTimeout(r), $e.set(!1);
|
|
4152
4166
|
});
|
|
4153
4167
|
}
|
|
4154
4168
|
return Te.set(e);
|
|
4155
|
-
}, be =
|
|
4156
|
-
set:
|
|
4169
|
+
}, be = Qi(qi({}, Te), {
|
|
4170
|
+
set: Yi
|
|
4157
4171
|
}), Ne = (e) => {
|
|
4158
4172
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4159
4173
|
return (n) => {
|
|
@@ -4161,20 +4175,20 @@ const qi = (e) => {
|
|
|
4161
4175
|
return i in t ? t[i] : t[i] = e(n);
|
|
4162
4176
|
};
|
|
4163
4177
|
};
|
|
4164
|
-
var
|
|
4178
|
+
var Ji = Object.defineProperty, we = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
|
|
4165
4179
|
for (var r in t || (t = {}))
|
|
4166
|
-
|
|
4180
|
+
Ar.call(t, r) && Ft(e, r, t[r]);
|
|
4167
4181
|
if (we)
|
|
4168
4182
|
for (var r of we(t))
|
|
4169
|
-
|
|
4183
|
+
Br.call(t, r) && Ft(e, r, t[r]);
|
|
4170
4184
|
return e;
|
|
4171
4185
|
}, ae = (e, t) => {
|
|
4172
4186
|
var r = {};
|
|
4173
4187
|
for (var n in e)
|
|
4174
|
-
|
|
4188
|
+
Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4175
4189
|
if (e != null && we)
|
|
4176
4190
|
for (var n of we(e))
|
|
4177
|
-
t.indexOf(n) < 0 &&
|
|
4191
|
+
t.indexOf(n) < 0 && Br.call(e, n) && (r[n] = e[n]);
|
|
4178
4192
|
return r;
|
|
4179
4193
|
};
|
|
4180
4194
|
const fe = (e, t) => {
|
|
@@ -4182,21 +4196,21 @@ const fe = (e, t) => {
|
|
|
4182
4196
|
if (e in r && t in r[e])
|
|
4183
4197
|
return r[e][t];
|
|
4184
4198
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4185
|
-
},
|
|
4199
|
+
}, Ki = Ne(
|
|
4186
4200
|
(e) => {
|
|
4187
4201
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4188
4202
|
if (r == null)
|
|
4189
4203
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4190
4204
|
return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
|
|
4191
4205
|
}
|
|
4192
|
-
),
|
|
4206
|
+
), es = Ne(
|
|
4193
4207
|
(e) => {
|
|
4194
4208
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4195
4209
|
if (r == null)
|
|
4196
4210
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4197
4211
|
return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4198
4212
|
}
|
|
4199
|
-
),
|
|
4213
|
+
), ts = Ne(
|
|
4200
4214
|
(e) => {
|
|
4201
4215
|
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4202
4216
|
if (r == null)
|
|
@@ -4205,33 +4219,33 @@ const fe = (e, t) => {
|
|
|
4205
4219
|
);
|
|
4206
4220
|
return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4207
4221
|
}
|
|
4208
|
-
),
|
|
4222
|
+
), rs = (e = {}) => {
|
|
4209
4223
|
var t = e, {
|
|
4210
4224
|
locale: r = X()
|
|
4211
4225
|
} = t, n = ae(t, [
|
|
4212
4226
|
"locale"
|
|
4213
4227
|
]);
|
|
4214
|
-
return
|
|
4215
|
-
},
|
|
4228
|
+
return Ki(ht({ locale: r }, n));
|
|
4229
|
+
}, ns = (e = {}) => {
|
|
4216
4230
|
var t = e, {
|
|
4217
4231
|
locale: r = X()
|
|
4218
4232
|
} = t, n = ae(t, [
|
|
4219
4233
|
"locale"
|
|
4220
4234
|
]);
|
|
4221
|
-
return
|
|
4222
|
-
},
|
|
4235
|
+
return es(ht({ locale: r }, n));
|
|
4236
|
+
}, is = (e = {}) => {
|
|
4223
4237
|
var t = e, {
|
|
4224
4238
|
locale: r = X()
|
|
4225
4239
|
} = t, n = ae(t, [
|
|
4226
4240
|
"locale"
|
|
4227
4241
|
]);
|
|
4228
|
-
return
|
|
4229
|
-
},
|
|
4242
|
+
return ts(ht({ locale: r }, n));
|
|
4243
|
+
}, ss = Ne(
|
|
4230
4244
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4231
|
-
(e, t = X()) => new
|
|
4245
|
+
(e, t = X()) => new Li(e, t, re().formats, {
|
|
4232
4246
|
ignoreTag: re().ignoreTag
|
|
4233
4247
|
})
|
|
4234
|
-
),
|
|
4248
|
+
), os = (e, t = {}) => {
|
|
4235
4249
|
var r, n, i, s;
|
|
4236
4250
|
let o = t;
|
|
4237
4251
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -4244,7 +4258,7 @@ const fe = (e, t) => {
|
|
|
4244
4258
|
throw new Error(
|
|
4245
4259
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4246
4260
|
);
|
|
4247
|
-
let l =
|
|
4261
|
+
let l = xr(e, h);
|
|
4248
4262
|
if (!l)
|
|
4249
4263
|
l = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
4250
4264
|
else if (typeof l != "string")
|
|
@@ -4255,7 +4269,7 @@ const fe = (e, t) => {
|
|
|
4255
4269
|
return l;
|
|
4256
4270
|
let m = l;
|
|
4257
4271
|
try {
|
|
4258
|
-
m =
|
|
4272
|
+
m = ss(l, h).format(a);
|
|
4259
4273
|
} catch (c) {
|
|
4260
4274
|
c instanceof Error && console.warn(
|
|
4261
4275
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4263,17 +4277,17 @@ const fe = (e, t) => {
|
|
|
4263
4277
|
);
|
|
4264
4278
|
}
|
|
4265
4279
|
return m;
|
|
4266
|
-
},
|
|
4267
|
-
oe([be], () => ss);
|
|
4268
|
-
oe([be], () => os);
|
|
4280
|
+
}, as = (e, t) => is(t).format(e), us = (e, t) => ns(t).format(e), hs = (e, t) => rs(t).format(e), ls = (e, t = X()) => xr(e, t), cs = oe([be, de], () => os);
|
|
4269
4281
|
oe([be], () => as);
|
|
4270
|
-
oe([be
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4276
|
-
|
|
4282
|
+
oe([be], () => us);
|
|
4283
|
+
oe([be], () => hs);
|
|
4284
|
+
oe([be, de], () => ls);
|
|
4285
|
+
window.emWidgets = { topic: wn };
|
|
4286
|
+
const fs = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4287
|
+
function $t(e, t) {
|
|
4288
|
+
Tr(e, t);
|
|
4289
|
+
}
|
|
4290
|
+
const jt = {
|
|
4277
4291
|
en: {
|
|
4278
4292
|
lobbyName: "Lobby",
|
|
4279
4293
|
myGamesName: "My games"
|
|
@@ -4347,13 +4361,13 @@ const Ft = {
|
|
|
4347
4361
|
myGamesName: "My games"
|
|
4348
4362
|
}
|
|
4349
4363
|
};
|
|
4350
|
-
function
|
|
4364
|
+
function ms(e, t) {
|
|
4351
4365
|
if (e) {
|
|
4352
4366
|
const r = document.createElement("style");
|
|
4353
4367
|
r.innerHTML = t, e.appendChild(r);
|
|
4354
4368
|
}
|
|
4355
4369
|
}
|
|
4356
|
-
function
|
|
4370
|
+
function ds(e, t) {
|
|
4357
4371
|
const r = new URL(t);
|
|
4358
4372
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4359
4373
|
const i = document.createElement("style");
|
|
@@ -4362,7 +4376,7 @@ function fs(e, t) {
|
|
|
4362
4376
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4363
4377
|
});
|
|
4364
4378
|
}
|
|
4365
|
-
function
|
|
4379
|
+
function bs(e, t, r) {
|
|
4366
4380
|
if (window.emMessageBus) {
|
|
4367
4381
|
const n = document.createElement("style");
|
|
4368
4382
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4382,173 +4396,173 @@ if (typeof window != "undefined") {
|
|
|
4382
4396
|
}
|
|
4383
4397
|
};
|
|
4384
4398
|
};
|
|
4385
|
-
customElements.define = e(customElements.define), import("./CasinoSliderNd-
|
|
4399
|
+
customElements.define = e(customElements.define), import("./CasinoSliderNd-ChZKcwUh.js").then(({ default: t }) => {
|
|
4386
4400
|
!customElements.get("casino-slider-nd") && customElements.define("casino-slider-nd", t.element);
|
|
4387
4401
|
});
|
|
4388
4402
|
}
|
|
4389
|
-
function
|
|
4390
|
-
|
|
4403
|
+
function ps(e) {
|
|
4404
|
+
Wr(e, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
|
|
4391
4405
|
}
|
|
4392
|
-
function
|
|
4406
|
+
function gs(e) {
|
|
4393
4407
|
let t, r;
|
|
4394
4408
|
return {
|
|
4395
4409
|
c() {
|
|
4396
|
-
t = V("div"), r = V("casino-slider-nd"),
|
|
4410
|
+
t = V("div"), r = V("casino-slider-nd"), E(
|
|
4397
4411
|
r,
|
|
4398
4412
|
"lang",
|
|
4399
4413
|
/*lang*/
|
|
4400
4414
|
e[3]
|
|
4401
|
-
),
|
|
4415
|
+
), E(
|
|
4402
4416
|
r,
|
|
4403
4417
|
"datasource",
|
|
4404
4418
|
/*datasource*/
|
|
4405
4419
|
e[2]
|
|
4406
|
-
),
|
|
4420
|
+
), E(
|
|
4407
4421
|
r,
|
|
4408
4422
|
"endpoint",
|
|
4409
4423
|
/*endpoint*/
|
|
4410
4424
|
e[1]
|
|
4411
|
-
),
|
|
4425
|
+
), E(r, "identity", it), E(
|
|
4412
4426
|
r,
|
|
4413
4427
|
"favoritesnumber",
|
|
4414
4428
|
/*numberOfFavoredGames*/
|
|
4415
4429
|
e[16]
|
|
4416
|
-
),
|
|
4430
|
+
), E(
|
|
4417
4431
|
r,
|
|
4418
4432
|
"showsubgroups",
|
|
4419
4433
|
/*showsubgroups*/
|
|
4420
4434
|
e[9]
|
|
4421
|
-
),
|
|
4435
|
+
), E(
|
|
4422
4436
|
r,
|
|
4423
4437
|
"clientstyling",
|
|
4424
4438
|
/*clientstyling*/
|
|
4425
4439
|
e[5]
|
|
4426
|
-
),
|
|
4440
|
+
), E(
|
|
4427
4441
|
r,
|
|
4428
4442
|
"clientstylingurl",
|
|
4429
4443
|
/*clientstylingurl*/
|
|
4430
4444
|
e[6]
|
|
4431
|
-
),
|
|
4445
|
+
), E(
|
|
4432
4446
|
r,
|
|
4433
4447
|
"activeindex",
|
|
4434
4448
|
/*activecategory*/
|
|
4435
4449
|
e[0]
|
|
4436
|
-
),
|
|
4450
|
+
), E(
|
|
4437
4451
|
r,
|
|
4438
4452
|
"actionevent",
|
|
4439
4453
|
/*actionevent*/
|
|
4440
4454
|
e[7]
|
|
4441
|
-
),
|
|
4455
|
+
), E(
|
|
4442
4456
|
r,
|
|
4443
4457
|
"location",
|
|
4444
4458
|
/*location*/
|
|
4445
4459
|
e[8]
|
|
4446
|
-
),
|
|
4460
|
+
), E(
|
|
4447
4461
|
r,
|
|
4448
4462
|
"categoriesicon",
|
|
4449
4463
|
/*categoriesicon*/
|
|
4450
4464
|
e[10]
|
|
4451
|
-
),
|
|
4465
|
+
), E(
|
|
4452
4466
|
r,
|
|
4453
4467
|
"lobbyiconimage",
|
|
4454
4468
|
/*lobbyiconimage*/
|
|
4455
4469
|
e[11]
|
|
4456
|
-
),
|
|
4470
|
+
), E(
|
|
4457
4471
|
r,
|
|
4458
4472
|
"mygamesiconimage",
|
|
4459
4473
|
/*mygamesiconimage*/
|
|
4460
4474
|
e[12]
|
|
4461
|
-
),
|
|
4475
|
+
), E(
|
|
4462
4476
|
r,
|
|
4463
4477
|
"mbsource",
|
|
4464
4478
|
/*mbsource*/
|
|
4465
4479
|
e[4]
|
|
4466
|
-
),
|
|
4480
|
+
), E(r, "class", "svelte-ciaihq"), se(t, "class", "CasinoCategoriesContainer svelte-ciaihq");
|
|
4467
4481
|
},
|
|
4468
4482
|
m(n, i) {
|
|
4469
|
-
me(n, t, i),
|
|
4483
|
+
me(n, t, i), Wt(t, r);
|
|
4470
4484
|
},
|
|
4471
4485
|
p(n, i) {
|
|
4472
4486
|
i[0] & /*lang*/
|
|
4473
|
-
8 &&
|
|
4487
|
+
8 && E(
|
|
4474
4488
|
r,
|
|
4475
4489
|
"lang",
|
|
4476
4490
|
/*lang*/
|
|
4477
4491
|
n[3]
|
|
4478
4492
|
), i[0] & /*datasource*/
|
|
4479
|
-
4 &&
|
|
4493
|
+
4 && E(
|
|
4480
4494
|
r,
|
|
4481
4495
|
"datasource",
|
|
4482
4496
|
/*datasource*/
|
|
4483
4497
|
n[2]
|
|
4484
4498
|
), i[0] & /*endpoint*/
|
|
4485
|
-
2 &&
|
|
4499
|
+
2 && E(
|
|
4486
4500
|
r,
|
|
4487
4501
|
"endpoint",
|
|
4488
4502
|
/*endpoint*/
|
|
4489
4503
|
n[1]
|
|
4490
4504
|
), i[0] & /*numberOfFavoredGames*/
|
|
4491
|
-
65536 &&
|
|
4505
|
+
65536 && E(
|
|
4492
4506
|
r,
|
|
4493
4507
|
"favoritesnumber",
|
|
4494
4508
|
/*numberOfFavoredGames*/
|
|
4495
4509
|
n[16]
|
|
4496
4510
|
), i[0] & /*showsubgroups*/
|
|
4497
|
-
512 &&
|
|
4511
|
+
512 && E(
|
|
4498
4512
|
r,
|
|
4499
4513
|
"showsubgroups",
|
|
4500
4514
|
/*showsubgroups*/
|
|
4501
4515
|
n[9]
|
|
4502
4516
|
), i[0] & /*clientstyling*/
|
|
4503
|
-
32 &&
|
|
4517
|
+
32 && E(
|
|
4504
4518
|
r,
|
|
4505
4519
|
"clientstyling",
|
|
4506
4520
|
/*clientstyling*/
|
|
4507
4521
|
n[5]
|
|
4508
4522
|
), i[0] & /*clientstylingurl*/
|
|
4509
|
-
64 &&
|
|
4523
|
+
64 && E(
|
|
4510
4524
|
r,
|
|
4511
4525
|
"clientstylingurl",
|
|
4512
4526
|
/*clientstylingurl*/
|
|
4513
4527
|
n[6]
|
|
4514
4528
|
), i[0] & /*activecategory*/
|
|
4515
|
-
1 &&
|
|
4529
|
+
1 && E(
|
|
4516
4530
|
r,
|
|
4517
4531
|
"activeindex",
|
|
4518
4532
|
/*activecategory*/
|
|
4519
4533
|
n[0]
|
|
4520
4534
|
), i[0] & /*actionevent*/
|
|
4521
|
-
128 &&
|
|
4535
|
+
128 && E(
|
|
4522
4536
|
r,
|
|
4523
4537
|
"actionevent",
|
|
4524
4538
|
/*actionevent*/
|
|
4525
4539
|
n[7]
|
|
4526
4540
|
), i[0] & /*location*/
|
|
4527
|
-
256 &&
|
|
4541
|
+
256 && E(
|
|
4528
4542
|
r,
|
|
4529
4543
|
"location",
|
|
4530
4544
|
/*location*/
|
|
4531
4545
|
n[8]
|
|
4532
4546
|
), i[0] & /*categoriesicon*/
|
|
4533
|
-
1024 &&
|
|
4547
|
+
1024 && E(
|
|
4534
4548
|
r,
|
|
4535
4549
|
"categoriesicon",
|
|
4536
4550
|
/*categoriesicon*/
|
|
4537
4551
|
n[10]
|
|
4538
4552
|
), i[0] & /*lobbyiconimage*/
|
|
4539
|
-
2048 &&
|
|
4553
|
+
2048 && E(
|
|
4540
4554
|
r,
|
|
4541
4555
|
"lobbyiconimage",
|
|
4542
4556
|
/*lobbyiconimage*/
|
|
4543
4557
|
n[11]
|
|
4544
4558
|
), i[0] & /*mygamesiconimage*/
|
|
4545
|
-
4096 &&
|
|
4559
|
+
4096 && E(
|
|
4546
4560
|
r,
|
|
4547
4561
|
"mygamesiconimage",
|
|
4548
4562
|
/*mygamesiconimage*/
|
|
4549
4563
|
n[12]
|
|
4550
4564
|
), i[0] & /*mbsource*/
|
|
4551
|
-
16 &&
|
|
4565
|
+
16 && E(
|
|
4552
4566
|
r,
|
|
4553
4567
|
"mbsource",
|
|
4554
4568
|
/*mbsource*/
|
|
@@ -4560,7 +4574,7 @@ function bs(e) {
|
|
|
4560
4574
|
}
|
|
4561
4575
|
};
|
|
4562
4576
|
}
|
|
4563
|
-
function
|
|
4577
|
+
function ys(e) {
|
|
4564
4578
|
let t;
|
|
4565
4579
|
return {
|
|
4566
4580
|
c() {
|
|
@@ -4575,7 +4589,7 @@ function ps(e) {
|
|
|
4575
4589
|
}
|
|
4576
4590
|
};
|
|
4577
4591
|
}
|
|
4578
|
-
function
|
|
4592
|
+
function vs(e) {
|
|
4579
4593
|
let t;
|
|
4580
4594
|
return {
|
|
4581
4595
|
c() {
|
|
@@ -4590,14 +4604,14 @@ function gs(e) {
|
|
|
4590
4604
|
}
|
|
4591
4605
|
};
|
|
4592
4606
|
}
|
|
4593
|
-
function
|
|
4607
|
+
function Es(e) {
|
|
4594
4608
|
let t;
|
|
4595
4609
|
function r(s, o) {
|
|
4596
4610
|
return (
|
|
4597
4611
|
/*isLoading*/
|
|
4598
|
-
s[13] ||
|
|
4612
|
+
s[13] || _s || xs ? vs : (
|
|
4599
4613
|
/*hasErrors*/
|
|
4600
|
-
s[15] ?
|
|
4614
|
+
s[15] ? ys : gs
|
|
4601
4615
|
)
|
|
4602
4616
|
);
|
|
4603
4617
|
}
|
|
@@ -4619,44 +4633,44 @@ function ys(e) {
|
|
|
4619
4633
|
}
|
|
4620
4634
|
};
|
|
4621
4635
|
}
|
|
4622
|
-
let
|
|
4623
|
-
function
|
|
4636
|
+
let it = "CasinoSliderData", _s = !1, xs = !1;
|
|
4637
|
+
function Ss(e, t, r) {
|
|
4624
4638
|
let n;
|
|
4625
|
-
|
|
4626
|
-
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, { mbsource: c } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: T = "" } = t, { sessioncheck: C = "" } = t, { location: P = "secondaryMenu" } = t, { showsubgroups: w = "false" } = t, { filteredcategories: N = "" } = t, { translationurl: H = "" } = t, { categoriesicon: R = "" } = t, { lobbyiconimage:
|
|
4627
|
-
const
|
|
4639
|
+
Xr(e, cs, (f) => r(32, n = f));
|
|
4640
|
+
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, { mbsource: c } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: T = "" } = t, { sessioncheck: C = "" } = t, { location: P = "secondaryMenu" } = t, { showsubgroups: w = "false" } = t, { filteredcategories: N = "" } = t, { translationurl: H = "" } = t, { categoriesicon: R = "" } = t, { lobbyiconimage: _ = "" } = t, { mygamesiconimage: O = "" } = t, L, $, j = !0, W, z = [], k = !1, Nr = window.navigator.userAgent, G, lt, ct = !1, Oe = !1;
|
|
4641
|
+
const Or = () => {
|
|
4628
4642
|
fetch(H).then((B) => B.json()).then((B) => {
|
|
4629
4643
|
Object.keys(B).forEach((pe) => {
|
|
4630
|
-
|
|
4644
|
+
$t(pe, B[pe]);
|
|
4631
4645
|
});
|
|
4632
4646
|
}).catch((B) => {
|
|
4633
4647
|
console.log(B);
|
|
4634
4648
|
});
|
|
4635
4649
|
};
|
|
4636
|
-
Object.keys(
|
|
4637
|
-
|
|
4650
|
+
Object.keys(jt).forEach((f) => {
|
|
4651
|
+
$t(f, jt[f]);
|
|
4638
4652
|
});
|
|
4639
|
-
const
|
|
4640
|
-
|
|
4653
|
+
const Lr = () => {
|
|
4654
|
+
ct == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
|
|
4641
4655
|
// @ts-ignore
|
|
4642
4656
|
id: "MYGAMES",
|
|
4643
4657
|
name: L,
|
|
4644
4658
|
href: "",
|
|
4645
4659
|
games: []
|
|
4646
|
-
}),
|
|
4647
|
-
},
|
|
4648
|
-
if (L = n("myGamesName"), $ = n("lobbyName"), !
|
|
4660
|
+
}), Kr(), ct = !0, r(25, Oe = !0), ft();
|
|
4661
|
+
}, Ir = () => (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), Cr = () => {
|
|
4662
|
+
if (L = n("myGamesName"), $ = n("lobbyName"), !Ir()) {
|
|
4649
4663
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
|
4650
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
|
4664
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", fs(Nr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
|
|
4651
4665
|
(B) => {
|
|
4652
|
-
let pe = N.split(","),
|
|
4666
|
+
let pe = N.split(","), Gr = B.items.filter((dt) => {
|
|
4653
4667
|
let Le = !1;
|
|
4654
|
-
if (
|
|
4655
|
-
for (let
|
|
4656
|
-
|
|
4668
|
+
if (dt.games.total > 0 && (Le = !0, N))
|
|
4669
|
+
for (let Ur of pe)
|
|
4670
|
+
dt.flags == Ur && (Le = !1);
|
|
4657
4671
|
return Le;
|
|
4658
4672
|
});
|
|
4659
|
-
z = [], z = z.concat(
|
|
4673
|
+
z = [], z = z.concat(Gr), z.unshift({
|
|
4660
4674
|
// @ts-ignore
|
|
4661
4675
|
id: "LOBBY",
|
|
4662
4676
|
name: $,
|
|
@@ -4671,41 +4685,41 @@ function Es(e, t, r) {
|
|
|
4671
4685
|
r(15, k = !0), console.error("There was an error while fetching the categories", B);
|
|
4672
4686
|
});
|
|
4673
4687
|
}
|
|
4674
|
-
},
|
|
4688
|
+
}, Mr = () => {
|
|
4675
4689
|
let f = b.split("$");
|
|
4676
4690
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
|
4677
|
-
},
|
|
4691
|
+
}, ft = () => {
|
|
4678
4692
|
window.postMessage(
|
|
4679
4693
|
{
|
|
4680
4694
|
type: "SliderData",
|
|
4681
|
-
identity:
|
|
4695
|
+
identity: it,
|
|
4682
4696
|
data: z
|
|
4683
4697
|
},
|
|
4684
4698
|
window.location.href
|
|
4685
4699
|
);
|
|
4686
|
-
},
|
|
4687
|
-
f.data && f.data.type == "SliderMounted" && f.data.identity ==
|
|
4700
|
+
}, mt = (f) => {
|
|
4701
|
+
f.data && f.data.type == "SliderMounted" && f.data.identity == it && ft();
|
|
4688
4702
|
};
|
|
4689
|
-
|
|
4690
|
-
window.removeEventListener("message",
|
|
4703
|
+
Jr(() => (window.addEventListener("message", mt), () => {
|
|
4704
|
+
window.removeEventListener("message", mt);
|
|
4691
4705
|
}));
|
|
4692
|
-
function
|
|
4693
|
-
|
|
4706
|
+
function Rr(f) {
|
|
4707
|
+
je[f ? "unshift" : "push"](() => {
|
|
4694
4708
|
G = f, r(14, G);
|
|
4695
4709
|
});
|
|
4696
4710
|
}
|
|
4697
4711
|
return e.$$set = (f) => {
|
|
4698
|
-
"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(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "mbsource" in f && r(4, c = f.mbsource), "clientstyling" in f && r(5, d = f.clientstyling), "clientstylingurl" in f && r(6, p = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(7, T = f.actionevent), "sessioncheck" in f && r(22, C = f.sessioncheck), "location" in f && r(8, P = f.location), "showsubgroups" in f && r(9, w = f.showsubgroups), "filteredcategories" in f && r(23, N = f.filteredcategories), "translationurl" in f && r(24, H = f.translationurl), "categoriesicon" in f && r(10, R = f.categoriesicon), "lobbyiconimage" in f && r(11,
|
|
4712
|
+
"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(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "mbsource" in f && r(4, c = f.mbsource), "clientstyling" in f && r(5, d = f.clientstyling), "clientstylingurl" in f && r(6, p = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(7, T = f.actionevent), "sessioncheck" in f && r(22, C = f.sessioncheck), "location" in f && r(8, P = f.location), "showsubgroups" in f && r(9, w = f.showsubgroups), "filteredcategories" in f && r(23, N = f.filteredcategories), "translationurl" in f && r(24, H = f.translationurl), "categoriesicon" in f && r(10, R = f.categoriesicon), "lobbyiconimage" in f && r(11, _ = f.lobbyiconimage), "mygamesiconimage" in f && r(12, O = f.mygamesiconimage);
|
|
4699
4713
|
}, e.$$.update = () => {
|
|
4700
4714
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
4701
|
-
14 && i && s && o &&
|
|
4702
|
-
3940354 && i && h && (u || l || m) && !j &&
|
|
4703
|
-
33824769 && !j && b && (!h || Oe) &&
|
|
4704
|
-
16777216 && H &&
|
|
4705
|
-
16416 && d && G &&
|
|
4706
|
-
16448 && p && G &&
|
|
4707
|
-
16400 && c && G &&
|
|
4708
|
-
}, r(16,
|
|
4715
|
+
14 && i && s && o && Cr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
4716
|
+
3940354 && i && h && (u || l || m) && !j && Lr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
4717
|
+
33824769 && !j && b && (!h || Oe) && Mr(), e.$$.dirty[0] & /*translationurl*/
|
|
4718
|
+
16777216 && H && Or(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4719
|
+
16416 && d && G && ms(G, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4720
|
+
16448 && p && G && ds(G, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4721
|
+
16400 && c && G && bs(G, `${c}.Style`);
|
|
4722
|
+
}, r(16, lt = 0), [
|
|
4709
4723
|
b,
|
|
4710
4724
|
i,
|
|
4711
4725
|
s,
|
|
@@ -4717,12 +4731,12 @@ function Es(e, t, r) {
|
|
|
4717
4731
|
P,
|
|
4718
4732
|
w,
|
|
4719
4733
|
R,
|
|
4720
|
-
|
|
4734
|
+
_,
|
|
4721
4735
|
O,
|
|
4722
4736
|
j,
|
|
4723
4737
|
G,
|
|
4724
4738
|
k,
|
|
4725
|
-
|
|
4739
|
+
lt,
|
|
4726
4740
|
a,
|
|
4727
4741
|
h,
|
|
4728
4742
|
u,
|
|
@@ -4732,17 +4746,17 @@ function Es(e, t, r) {
|
|
|
4732
4746
|
N,
|
|
4733
4747
|
H,
|
|
4734
4748
|
Oe,
|
|
4735
|
-
|
|
4749
|
+
Rr
|
|
4736
4750
|
];
|
|
4737
4751
|
}
|
|
4738
|
-
class
|
|
4752
|
+
class Pr extends hn {
|
|
4739
4753
|
constructor(t) {
|
|
4740
|
-
super(),
|
|
4754
|
+
super(), an(
|
|
4741
4755
|
this,
|
|
4742
4756
|
t,
|
|
4757
|
+
Ss,
|
|
4743
4758
|
Es,
|
|
4744
|
-
|
|
4745
|
-
jt,
|
|
4759
|
+
Vt,
|
|
4746
4760
|
{
|
|
4747
4761
|
endpoint: 1,
|
|
4748
4762
|
datasource: 2,
|
|
@@ -4766,7 +4780,7 @@ class Hr extends on {
|
|
|
4766
4780
|
lobbyiconimage: 11,
|
|
4767
4781
|
mygamesiconimage: 12
|
|
4768
4782
|
},
|
|
4769
|
-
|
|
4783
|
+
ps,
|
|
4770
4784
|
[-1, -1]
|
|
4771
4785
|
);
|
|
4772
4786
|
}
|
|
@@ -4897,44 +4911,44 @@ class Hr extends on {
|
|
|
4897
4911
|
this.$$set({ mygamesiconimage: t }), S();
|
|
4898
4912
|
}
|
|
4899
4913
|
}
|
|
4900
|
-
|
|
4901
|
-
const
|
|
4914
|
+
un(Pr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
|
|
4915
|
+
const Ms = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4902
4916
|
__proto__: null,
|
|
4903
|
-
default:
|
|
4917
|
+
default: Pr
|
|
4904
4918
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4905
4919
|
export {
|
|
4906
4920
|
be as $,
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4921
|
+
Hs as A,
|
|
4922
|
+
zt as B,
|
|
4923
|
+
Os as C,
|
|
4924
|
+
As as D,
|
|
4925
|
+
ws as E,
|
|
4926
|
+
Ms as F,
|
|
4927
|
+
hn as S,
|
|
4914
4928
|
de as a,
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4929
|
+
Tr as b,
|
|
4930
|
+
un as c,
|
|
4931
|
+
Wr as d,
|
|
4918
4932
|
V as e,
|
|
4919
4933
|
S as f,
|
|
4920
|
-
|
|
4934
|
+
Bs as g,
|
|
4921
4935
|
se as h,
|
|
4922
|
-
|
|
4936
|
+
an as i,
|
|
4923
4937
|
me as j,
|
|
4924
|
-
|
|
4925
|
-
|
|
4938
|
+
Wt as k,
|
|
4939
|
+
Ns as l,
|
|
4926
4940
|
ie as m,
|
|
4927
4941
|
I as n,
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4942
|
+
fs as o,
|
|
4943
|
+
Jr as p,
|
|
4944
|
+
ds as q,
|
|
4931
4945
|
ne as r,
|
|
4932
|
-
|
|
4933
|
-
|
|
4946
|
+
Vt as s,
|
|
4947
|
+
bs as t,
|
|
4934
4948
|
Ls as u,
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4949
|
+
Ps as v,
|
|
4950
|
+
Cs as w,
|
|
4951
|
+
je as x,
|
|
4938
4952
|
ms as y,
|
|
4939
|
-
|
|
4953
|
+
Is as z
|
|
4940
4954
|
};
|