@everymatrix/casino-categories-slider 1.62.0 → 1.62.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategoriesSlider-C_-WDvt0.js → CasinoCategoriesSlider-BBAXVRNi.js} +737 -717
- package/components/CasinoCategoriesSlider-BLnLsqGT.cjs +18 -0
- package/components/{CasinoCategoriesSlider-DP36Oo5_.js → CasinoCategoriesSlider-yLDKhmjV.js} +739 -719
- package/components/{CasinoSlider-PK9Gam30.js → CasinoSlider-Bu5cvdqr.js} +215 -216
- package/components/{CasinoSlider-Ce2yE3Ex.js → CasinoSlider-DAdBGKKb.js} +155 -156
- package/components/CasinoSlider-NWcQiku5.cjs +1 -0
- package/es2015/casino-categories-slider.cjs +1 -1
- package/es2015/casino-categories-slider.js +1 -1
- package/esnext/casino-categories-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesSlider-B4XHK2_Z.cjs +0 -18
- package/components/CasinoSlider-Cq1SbS-9.cjs +0 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/index-b7bbd57e-6KaMTlNN.js +0 -534
- package/stencil/index-b7bbd57e-BSagye0B.js +0 -550
- package/stencil/index-b7bbd57e-DIQXXTTR.cjs +0 -1
- package/stencil/ui-image-38c3c15f-CumwWbNu.js +0 -39
- package/stencil/ui-image-38c3c15f-Dxl-aZb-.js +0 -39
- package/stencil/ui-image-38c3c15f-y5t5ZLG0.cjs +0 -1
- package/stencil/ui-image-BQa5UbqU.js +0 -11
- package/stencil/ui-image-Bi4jDe3D.js +0 -29
- package/stencil/ui-image-z441BZiX.cjs +0 -1
package/components/{CasinoCategoriesSlider-C_-WDvt0.js → CasinoCategoriesSlider-BBAXVRNi.js}
RENAMED
@@ -1,22 +1,22 @@
|
|
1
1
|
function P() {
|
2
2
|
}
|
3
|
-
function
|
3
|
+
function Dt(e) {
|
4
4
|
return e();
|
5
5
|
}
|
6
|
-
function
|
6
|
+
function bt() {
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
8
8
|
}
|
9
|
-
function
|
10
|
-
e.forEach(
|
9
|
+
function te(e) {
|
10
|
+
e.forEach(Dt);
|
11
11
|
}
|
12
|
-
function
|
12
|
+
function He(e) {
|
13
13
|
return typeof e == "function";
|
14
14
|
}
|
15
|
-
function
|
15
|
+
function $t(e, t) {
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
17
17
|
}
|
18
18
|
let pe;
|
19
|
-
function
|
19
|
+
function ps(e, t) {
|
20
20
|
return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
|
21
21
|
}
|
22
22
|
function Ir(e) {
|
@@ -35,9 +35,9 @@ function Cr(e, t, r) {
|
|
35
35
|
e.$$.on_destroy.push(Ft(t, r));
|
36
36
|
}
|
37
37
|
function Mr(e) {
|
38
|
-
return e &&
|
38
|
+
return e && He(e.destroy) ? e.destroy : P;
|
39
39
|
}
|
40
|
-
function
|
40
|
+
function jt(e, t) {
|
41
41
|
e.appendChild(t);
|
42
42
|
}
|
43
43
|
function Rr(e, t, r) {
|
@@ -58,52 +58,52 @@ function Gr(e) {
|
|
58
58
|
) : e.ownerDocument;
|
59
59
|
}
|
60
60
|
function Ur(e, t) {
|
61
|
-
return
|
61
|
+
return jt(
|
62
62
|
/** @type {Document} */
|
63
63
|
e.head || e,
|
64
64
|
t
|
65
65
|
), t.sheet;
|
66
66
|
}
|
67
|
-
function
|
67
|
+
function le(e, t, r) {
|
68
68
|
e.insertBefore(t, r || null);
|
69
69
|
}
|
70
|
-
function
|
70
|
+
function re(e) {
|
71
71
|
e.parentNode && e.parentNode.removeChild(e);
|
72
72
|
}
|
73
|
-
function
|
73
|
+
function gs(e, t) {
|
74
74
|
for (let r = 0; r < e.length; r += 1)
|
75
75
|
e[r] && e[r].d(t);
|
76
76
|
}
|
77
77
|
function k(e) {
|
78
78
|
return document.createElement(e);
|
79
79
|
}
|
80
|
-
function
|
80
|
+
function kt(e) {
|
81
81
|
return document.createTextNode(e);
|
82
82
|
}
|
83
|
-
function gs() {
|
84
|
-
return jt(" ");
|
85
|
-
}
|
86
83
|
function ys() {
|
87
|
-
return
|
84
|
+
return kt(" ");
|
88
85
|
}
|
89
|
-
function vs(
|
86
|
+
function vs() {
|
87
|
+
return kt("");
|
88
|
+
}
|
89
|
+
function _s(e, t, r, n) {
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
91
91
|
}
|
92
|
-
function
|
92
|
+
function ce(e, t, r) {
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
94
94
|
}
|
95
|
-
function
|
95
|
+
function v(e, t, r) {
|
96
96
|
const n = t.toLowerCase();
|
97
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
97
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : ce(e, t, r);
|
98
98
|
}
|
99
99
|
function Dr(e) {
|
100
100
|
return Array.from(e.childNodes);
|
101
101
|
}
|
102
|
-
function
|
102
|
+
function Es(e, t) {
|
103
103
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
104
104
|
t);
|
105
105
|
}
|
106
|
-
function
|
106
|
+
function $r(e) {
|
107
107
|
const t = {};
|
108
108
|
return e.childNodes.forEach(
|
109
109
|
/** @param {Element} node */
|
@@ -112,63 +112,63 @@ function Fr(e) {
|
|
112
112
|
}
|
113
113
|
), t;
|
114
114
|
}
|
115
|
-
let
|
116
|
-
function
|
117
|
-
|
115
|
+
let ae;
|
116
|
+
function oe(e) {
|
117
|
+
ae = e;
|
118
118
|
}
|
119
|
-
function
|
120
|
-
if (!
|
119
|
+
function Fr() {
|
120
|
+
if (!ae)
|
121
121
|
throw new Error("Function called outside component initialization");
|
122
|
-
return
|
122
|
+
return ae;
|
123
123
|
}
|
124
124
|
function jr(e) {
|
125
|
-
|
125
|
+
Fr().$$.on_mount.push(e);
|
126
126
|
}
|
127
|
-
const Q = [],
|
127
|
+
const Q = [], Ve = [];
|
128
128
|
let Y = [];
|
129
|
-
const
|
130
|
-
let
|
131
|
-
function
|
132
|
-
|
129
|
+
const pt = [], Vt = /* @__PURE__ */ Promise.resolve();
|
130
|
+
let Xe = !1;
|
131
|
+
function Xt() {
|
132
|
+
Xe || (Xe = !0, Vt.then(x));
|
133
133
|
}
|
134
134
|
function kr() {
|
135
|
-
return
|
135
|
+
return Xt(), Vt;
|
136
136
|
}
|
137
|
-
function
|
137
|
+
function We(e) {
|
138
138
|
Y.push(e);
|
139
139
|
}
|
140
|
-
const
|
140
|
+
const Re = /* @__PURE__ */ new Set();
|
141
141
|
let z = 0;
|
142
|
-
function
|
142
|
+
function x() {
|
143
143
|
if (z !== 0)
|
144
144
|
return;
|
145
|
-
const e =
|
145
|
+
const e = ae;
|
146
146
|
do {
|
147
147
|
try {
|
148
148
|
for (; z < Q.length; ) {
|
149
149
|
const t = Q[z];
|
150
|
-
z++,
|
150
|
+
z++, oe(t), Vr(t.$$);
|
151
151
|
}
|
152
152
|
} catch (t) {
|
153
153
|
throw Q.length = 0, z = 0, t;
|
154
154
|
}
|
155
|
-
for (
|
156
|
-
|
155
|
+
for (oe(null), Q.length = 0, z = 0; Ve.length; )
|
156
|
+
Ve.pop()();
|
157
157
|
for (let t = 0; t < Y.length; t += 1) {
|
158
158
|
const r = Y[t];
|
159
|
-
|
159
|
+
Re.has(r) || (Re.add(r), r());
|
160
160
|
}
|
161
161
|
Y.length = 0;
|
162
162
|
} while (Q.length);
|
163
|
-
for (;
|
164
|
-
|
165
|
-
|
163
|
+
for (; pt.length; )
|
164
|
+
pt.pop()();
|
165
|
+
Xe = !1, Re.clear(), oe(e);
|
166
166
|
}
|
167
167
|
function Vr(e) {
|
168
168
|
if (e.fragment !== null) {
|
169
|
-
e.update(),
|
169
|
+
e.update(), te(e.before_update);
|
170
170
|
const t = e.dirty;
|
171
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
171
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
172
172
|
}
|
173
173
|
}
|
174
174
|
function Xr(e) {
|
@@ -176,59 +176,59 @@ function Xr(e) {
|
|
176
176
|
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
177
177
|
}
|
178
178
|
const Wr = /* @__PURE__ */ new Set();
|
179
|
-
function
|
179
|
+
function Wt(e, t) {
|
180
180
|
e && e.i && (Wr.delete(e), e.i(t));
|
181
181
|
}
|
182
|
-
function
|
182
|
+
function xs(e) {
|
183
183
|
return e?.length !== void 0 ? e : Array.from(e);
|
184
184
|
}
|
185
|
-
function
|
185
|
+
function Ss(e, t) {
|
186
186
|
e.d(1), t.delete(e.key);
|
187
187
|
}
|
188
|
-
function
|
188
|
+
function ws(e, t, r, n, i, s, o, a, h, u, l, m) {
|
189
189
|
let c = e.length, d = s.length, b = c;
|
190
190
|
const y = {};
|
191
191
|
for (; b--; )
|
192
192
|
y[e[b].key] = b;
|
193
|
-
const T = [], C = /* @__PURE__ */ new Map(),
|
193
|
+
const T = [], C = /* @__PURE__ */ new Map(), O = /* @__PURE__ */ new Map(), w = [];
|
194
194
|
for (b = d; b--; ) {
|
195
|
-
const
|
195
|
+
const _ = m(i, s, b), A = r(_);
|
196
196
|
let I = o.get(A);
|
197
|
-
I ? w.push(() => I.p(
|
197
|
+
I ? w.push(() => I.p(_, t)) : (I = u(A, _), I.c()), C.set(A, T[b] = I), A in y && O.set(A, Math.abs(b - y[A]));
|
198
198
|
}
|
199
|
-
const
|
200
|
-
function M(
|
201
|
-
|
199
|
+
const N = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
200
|
+
function M(_) {
|
201
|
+
Wt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
202
202
|
}
|
203
203
|
for (; c && d; ) {
|
204
|
-
const
|
205
|
-
|
204
|
+
const _ = T[d - 1], A = e[c - 1], I = _.key, $ = A.key;
|
205
|
+
_ === A ? (l = _.first, c--, d--) : C.has($) ? !o.has(I) || N.has(I) ? M(_) : L.has($) ? c-- : O.get(I) > O.get($) ? (L.add(I), M(_)) : (N.add($), c--) : (h(A, o), c--);
|
206
206
|
}
|
207
207
|
for (; c--; ) {
|
208
|
-
const
|
209
|
-
C.has(
|
208
|
+
const _ = e[c];
|
209
|
+
C.has(_.key) || h(_, o);
|
210
210
|
}
|
211
211
|
for (; d; )
|
212
212
|
M(T[d - 1]);
|
213
|
-
return
|
213
|
+
return te(w), T;
|
214
214
|
}
|
215
215
|
function zr(e, t, r) {
|
216
216
|
const { fragment: n, after_update: i } = e.$$;
|
217
|
-
n && n.m(t, r),
|
218
|
-
const s = e.$$.on_mount.map(
|
219
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
220
|
-
}), i.forEach(
|
217
|
+
n && n.m(t, r), We(() => {
|
218
|
+
const s = e.$$.on_mount.map(Dt).filter(He);
|
219
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
|
220
|
+
}), i.forEach(We);
|
221
221
|
}
|
222
222
|
function Zr(e, t) {
|
223
223
|
const r = e.$$;
|
224
|
-
r.fragment !== null && (Xr(r.after_update),
|
224
|
+
r.fragment !== null && (Xr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
225
225
|
}
|
226
226
|
function Qr(e, t) {
|
227
|
-
e.$$.dirty[0] === -1 && (Q.push(e),
|
227
|
+
e.$$.dirty[0] === -1 && (Q.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
228
228
|
}
|
229
229
|
function Yr(e, t, r, n, i, s, o = null, a = [-1]) {
|
230
|
-
const h =
|
231
|
-
|
230
|
+
const h = ae;
|
231
|
+
oe(e);
|
232
232
|
const u = e.$$ = {
|
233
233
|
fragment: null,
|
234
234
|
ctx: [],
|
@@ -236,7 +236,7 @@ function Yr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
236
236
|
props: s,
|
237
237
|
update: P,
|
238
238
|
not_equal: i,
|
239
|
-
bound:
|
239
|
+
bound: bt(),
|
240
240
|
// lifecycle
|
241
241
|
on_mount: [],
|
242
242
|
on_destroy: [],
|
@@ -245,7 +245,7 @@ function Yr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
245
245
|
after_update: [],
|
246
246
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
247
247
|
// everything else
|
248
|
-
callbacks:
|
248
|
+
callbacks: bt(),
|
249
249
|
dirty: a,
|
250
250
|
skip_bound: !1,
|
251
251
|
root: t.target || h.$$.root
|
@@ -255,18 +255,18 @@ function Yr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
255
255
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
256
256
|
const b = d.length ? d[0] : c;
|
257
257
|
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && Qr(e, m)), c;
|
258
|
-
}) : [], u.update(), l = !0,
|
258
|
+
}) : [], u.update(), l = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
259
259
|
if (t.hydrate) {
|
260
260
|
const m = Dr(t.target);
|
261
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
261
|
+
u.fragment && u.fragment.l(m), m.forEach(re);
|
262
262
|
} else
|
263
263
|
u.fragment && u.fragment.c();
|
264
|
-
t.intro &&
|
264
|
+
t.intro && Wt(e.$$.fragment), zr(e, t.target, t.anchor), x();
|
265
265
|
}
|
266
|
-
|
266
|
+
oe(h);
|
267
267
|
}
|
268
|
-
let
|
269
|
-
typeof HTMLElement == "function" && (
|
268
|
+
let zt;
|
269
|
+
typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
270
270
|
/** The Svelte component constructor */
|
271
271
|
$$ctor;
|
272
272
|
/** Slots */
|
@@ -308,24 +308,24 @@ typeof HTMLElement == "function" && (Wt = class extends HTMLElement {
|
|
308
308
|
let s;
|
309
309
|
return {
|
310
310
|
c: function() {
|
311
|
-
s = k("slot"), i !== "default" &&
|
311
|
+
s = k("slot"), i !== "default" && ce(s, "name", i);
|
312
312
|
},
|
313
313
|
/**
|
314
314
|
* @param {HTMLElement} target
|
315
315
|
* @param {HTMLElement} [anchor]
|
316
316
|
*/
|
317
317
|
m: function(h, u) {
|
318
|
-
|
318
|
+
le(h, s, u);
|
319
319
|
},
|
320
320
|
d: function(h) {
|
321
|
-
h &&
|
321
|
+
h && re(s);
|
322
322
|
}
|
323
323
|
};
|
324
324
|
};
|
325
325
|
};
|
326
326
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
327
327
|
return;
|
328
|
-
const t = {}, r =
|
328
|
+
const t = {}, r = $r(this);
|
329
329
|
for (const i of this.$$s)
|
330
330
|
i in r && (t[i] = [e(i)]);
|
331
331
|
for (const i of this.attributes) {
|
@@ -413,7 +413,7 @@ function ve(e, t, r, n) {
|
|
413
413
|
}
|
414
414
|
}
|
415
415
|
function qr(e, t, r, n, i, s) {
|
416
|
-
let o = class extends
|
416
|
+
let o = class extends zt {
|
417
417
|
constructor() {
|
418
418
|
super(e, r, i), this.$$p_d = t;
|
419
419
|
}
|
@@ -469,7 +469,7 @@ class Jr {
|
|
469
469
|
* @returns {() => void}
|
470
470
|
*/
|
471
471
|
$on(t, r) {
|
472
|
-
if (!
|
472
|
+
if (!He(r))
|
473
473
|
return P;
|
474
474
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
475
475
|
return n.push(r), () => {
|
@@ -501,43 +501,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
501
501
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
502
502
|
PERFORMANCE OF THIS SOFTWARE.
|
503
503
|
***************************************************************************** */
|
504
|
-
var
|
505
|
-
return
|
504
|
+
var ze = function(e, t) {
|
505
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
506
506
|
r.__proto__ = n;
|
507
507
|
} || function(r, n) {
|
508
508
|
for (var i in n)
|
509
509
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
510
|
-
},
|
510
|
+
}, ze(e, t);
|
511
511
|
};
|
512
|
-
function
|
512
|
+
function fe(e, t) {
|
513
513
|
if (typeof t != "function" && t !== null)
|
514
514
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
515
|
-
|
515
|
+
ze(e, t);
|
516
516
|
function r() {
|
517
517
|
this.constructor = e;
|
518
518
|
}
|
519
519
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
520
520
|
}
|
521
|
-
|
522
|
-
return v = Object.assign || function(t) {
|
523
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
524
|
-
r = arguments[n];
|
525
|
-
for (var s in r)
|
526
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
527
|
-
}
|
528
|
-
return t;
|
529
|
-
}, v.apply(this, arguments);
|
530
|
-
};
|
531
|
-
function en(e, t) {
|
532
|
-
var r = {};
|
533
|
-
for (var n in e)
|
534
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
535
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
536
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
537
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
538
|
-
return r;
|
539
|
-
}
|
540
|
-
function We(e) {
|
521
|
+
function Ze(e) {
|
541
522
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
542
523
|
if (r)
|
543
524
|
return r.call(e);
|
@@ -549,7 +530,7 @@ function We(e) {
|
|
549
530
|
};
|
550
531
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
551
532
|
}
|
552
|
-
function
|
533
|
+
function Qe(e, t) {
|
553
534
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
554
535
|
if (!r)
|
555
536
|
return e;
|
@@ -569,22 +550,22 @@ function ze(e, t) {
|
|
569
550
|
}
|
570
551
|
return s;
|
571
552
|
}
|
572
|
-
function
|
573
|
-
if (
|
553
|
+
function Ye(e, t, r) {
|
554
|
+
if (arguments.length === 2)
|
574
555
|
for (var n = 0, i = t.length, s; n < i; n++)
|
575
556
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
576
557
|
return e.concat(s || t);
|
577
558
|
}
|
578
|
-
function
|
559
|
+
function U(e) {
|
579
560
|
return typeof e == "function";
|
580
561
|
}
|
581
|
-
function
|
562
|
+
function Zt(e) {
|
582
563
|
var t = function(n) {
|
583
564
|
Error.call(n), n.stack = new Error().stack;
|
584
565
|
}, r = e(t);
|
585
566
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
586
567
|
}
|
587
|
-
var
|
568
|
+
var Ge = Zt(function(e) {
|
588
569
|
return function(r) {
|
589
570
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
590
571
|
` + r.map(function(n, i) {
|
@@ -593,13 +574,13 @@ var Me = zt(function(e) {
|
|
593
574
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
594
575
|
};
|
595
576
|
});
|
596
|
-
function
|
577
|
+
function qe(e, t) {
|
597
578
|
if (e) {
|
598
579
|
var r = e.indexOf(t);
|
599
580
|
0 <= r && e.splice(r, 1);
|
600
581
|
}
|
601
582
|
}
|
602
|
-
var
|
583
|
+
var Ae = function() {
|
603
584
|
function e(t) {
|
604
585
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
605
586
|
}
|
@@ -611,7 +592,7 @@ var He = function() {
|
|
611
592
|
if (o)
|
612
593
|
if (this._parentage = null, Array.isArray(o))
|
613
594
|
try {
|
614
|
-
for (var a =
|
595
|
+
for (var a = Ze(o), h = a.next(); !h.done; h = a.next()) {
|
615
596
|
var u = h.value;
|
616
597
|
u.remove(this);
|
617
598
|
}
|
@@ -628,22 +609,22 @@ var He = function() {
|
|
628
609
|
else
|
629
610
|
o.remove(this);
|
630
611
|
var l = this.initialTeardown;
|
631
|
-
if (
|
612
|
+
if (U(l))
|
632
613
|
try {
|
633
614
|
l();
|
634
615
|
} catch (y) {
|
635
|
-
s = y instanceof
|
616
|
+
s = y instanceof Ge ? y.errors : [y];
|
636
617
|
}
|
637
618
|
var m = this._finalizers;
|
638
619
|
if (m) {
|
639
620
|
this._finalizers = null;
|
640
621
|
try {
|
641
|
-
for (var c =
|
622
|
+
for (var c = Ze(m), d = c.next(); !d.done; d = c.next()) {
|
642
623
|
var b = d.value;
|
643
624
|
try {
|
644
|
-
|
625
|
+
gt(b);
|
645
626
|
} catch (y) {
|
646
|
-
s = s ?? [], y instanceof
|
627
|
+
s = s ?? [], y instanceof Ge ? s = Ye(Ye([], Qe(s)), Qe(y.errors)) : s.push(y);
|
647
628
|
}
|
648
629
|
}
|
649
630
|
} catch (y) {
|
@@ -658,13 +639,13 @@ var He = function() {
|
|
658
639
|
}
|
659
640
|
}
|
660
641
|
if (s)
|
661
|
-
throw new
|
642
|
+
throw new Ge(s);
|
662
643
|
}
|
663
644
|
}, e.prototype.add = function(t) {
|
664
645
|
var r;
|
665
646
|
if (t && t !== this)
|
666
647
|
if (this.closed)
|
667
|
-
|
648
|
+
gt(t);
|
668
649
|
else {
|
669
650
|
if (t instanceof e) {
|
670
651
|
if (t.closed || t._hasParent(this))
|
@@ -681,32 +662,28 @@ var He = function() {
|
|
681
662
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
682
663
|
}, e.prototype._removeParent = function(t) {
|
683
664
|
var r = this._parentage;
|
684
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
665
|
+
r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
|
685
666
|
}, e.prototype.remove = function(t) {
|
686
667
|
var r = this._finalizers;
|
687
|
-
r &&
|
668
|
+
r && qe(r, t), t instanceof e && t._removeParent(this);
|
688
669
|
}, e.EMPTY = function() {
|
689
670
|
var t = new e();
|
690
671
|
return t.closed = !0, t;
|
691
672
|
}(), e;
|
692
|
-
}(),
|
693
|
-
function
|
694
|
-
return e instanceof
|
695
|
-
}
|
696
|
-
function
|
697
|
-
|
698
|
-
}
|
699
|
-
var
|
700
|
-
|
701
|
-
onStoppedNotification: null,
|
702
|
-
Promise: void 0,
|
703
|
-
useDeprecatedSynchronousErrorHandling: !1,
|
704
|
-
useDeprecatedNextContext: !1
|
673
|
+
}(), Qt = Ae.EMPTY;
|
674
|
+
function Yt(e) {
|
675
|
+
return e instanceof Ae || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
|
676
|
+
}
|
677
|
+
function gt(e) {
|
678
|
+
U(e) ? e() : e.unsubscribe();
|
679
|
+
}
|
680
|
+
var en = {
|
681
|
+
Promise: void 0
|
705
682
|
}, tn = {
|
706
683
|
setTimeout: function(e, t) {
|
707
684
|
for (var r = [], n = 2; n < arguments.length; n++)
|
708
685
|
r[n - 2] = arguments[n];
|
709
|
-
return setTimeout.apply(void 0,
|
686
|
+
return setTimeout.apply(void 0, Ye([e, t], Qe(r)));
|
710
687
|
},
|
711
688
|
clearTimeout: function(e) {
|
712
689
|
return clearTimeout(e);
|
@@ -718,19 +695,19 @@ function rn(e) {
|
|
718
695
|
throw e;
|
719
696
|
});
|
720
697
|
}
|
721
|
-
function
|
698
|
+
function yt() {
|
722
699
|
}
|
723
700
|
function _e(e) {
|
724
701
|
e();
|
725
702
|
}
|
726
703
|
var qt = function(e) {
|
727
|
-
|
704
|
+
fe(t, e);
|
728
705
|
function t(r) {
|
729
706
|
var n = e.call(this) || this;
|
730
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
707
|
+
return n.isStopped = !1, r ? (n.destination = r, Yt(r) && r.add(n)) : n.destination = on, n;
|
731
708
|
}
|
732
709
|
return t.create = function(r, n, i) {
|
733
|
-
return new
|
710
|
+
return new Je(r, n, i);
|
734
711
|
}, t.prototype.next = function(r) {
|
735
712
|
this.isStopped || this._next(r);
|
736
713
|
}, t.prototype.error = function(r) {
|
@@ -754,11 +731,7 @@ var qt = function(e) {
|
|
754
731
|
this.unsubscribe();
|
755
732
|
}
|
756
733
|
}, t;
|
757
|
-
}(
|
758
|
-
function Re(e, t) {
|
759
|
-
return nn.call(e, t);
|
760
|
-
}
|
761
|
-
var sn = function() {
|
734
|
+
}(Ae), nn = function() {
|
762
735
|
function e(t) {
|
763
736
|
this.partialObserver = t;
|
764
737
|
}
|
@@ -789,55 +762,43 @@ var sn = function() {
|
|
789
762
|
ge(r);
|
790
763
|
}
|
791
764
|
}, e;
|
792
|
-
}(),
|
793
|
-
|
765
|
+
}(), Je = function(e) {
|
766
|
+
fe(t, e);
|
794
767
|
function t(r, n, i) {
|
795
768
|
var s = e.call(this) || this, o;
|
796
|
-
|
797
|
-
|
798
|
-
|
799
|
-
|
800
|
-
|
801
|
-
};
|
802
|
-
else {
|
803
|
-
var a;
|
804
|
-
s && Yt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
805
|
-
return s.unsubscribe();
|
806
|
-
}, o = {
|
807
|
-
next: r.next && Re(r.next, a),
|
808
|
-
error: r.error && Re(r.error, a),
|
809
|
-
complete: r.complete && Re(r.complete, a)
|
810
|
-
}) : o = r;
|
811
|
-
}
|
812
|
-
return s.destination = new sn(o), s;
|
769
|
+
return U(r) || !r ? o = {
|
770
|
+
next: r ?? void 0,
|
771
|
+
error: n ?? void 0,
|
772
|
+
complete: i ?? void 0
|
773
|
+
} : o = r, s.destination = new nn(o), s;
|
813
774
|
}
|
814
775
|
return t;
|
815
776
|
}(qt);
|
816
777
|
function ge(e) {
|
817
778
|
rn(e);
|
818
779
|
}
|
819
|
-
function
|
780
|
+
function sn(e) {
|
820
781
|
throw e;
|
821
782
|
}
|
822
|
-
var
|
783
|
+
var on = {
|
823
784
|
closed: !0,
|
824
|
-
next:
|
825
|
-
error:
|
826
|
-
complete:
|
827
|
-
},
|
785
|
+
next: yt,
|
786
|
+
error: sn,
|
787
|
+
complete: yt
|
788
|
+
}, an = function() {
|
828
789
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
829
790
|
}();
|
830
|
-
function
|
791
|
+
function un(e) {
|
831
792
|
return e;
|
832
793
|
}
|
833
|
-
function
|
834
|
-
return e.length === 0 ?
|
794
|
+
function hn(e) {
|
795
|
+
return e.length === 0 ? un : e.length === 1 ? e[0] : function(r) {
|
835
796
|
return e.reduce(function(n, i) {
|
836
797
|
return i(n);
|
837
798
|
}, r);
|
838
799
|
};
|
839
800
|
}
|
840
|
-
var
|
801
|
+
var vt = function() {
|
841
802
|
function e(t) {
|
842
803
|
t && (this._subscribe = t);
|
843
804
|
}
|
@@ -845,7 +806,7 @@ var yt = function() {
|
|
845
806
|
var r = new e();
|
846
807
|
return r.source = this, r.operator = t, r;
|
847
808
|
}, e.prototype.subscribe = function(t, r, n) {
|
848
|
-
var i = this, s =
|
809
|
+
var i = this, s = cn(t) ? t : new Je(t, r, n);
|
849
810
|
return _e(function() {
|
850
811
|
var o = i, a = o.operator, h = o.source;
|
851
812
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
@@ -858,8 +819,8 @@ var yt = function() {
|
|
858
819
|
}
|
859
820
|
}, e.prototype.forEach = function(t, r) {
|
860
821
|
var n = this;
|
861
|
-
return r =
|
862
|
-
var o = new
|
822
|
+
return r = _t(r), new r(function(i, s) {
|
823
|
+
var o = new Je({
|
863
824
|
next: function(a) {
|
864
825
|
try {
|
865
826
|
t(a);
|
@@ -875,15 +836,15 @@ var yt = function() {
|
|
875
836
|
}, e.prototype._subscribe = function(t) {
|
876
837
|
var r;
|
877
838
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
878
|
-
}, e.prototype[
|
839
|
+
}, e.prototype[an] = function() {
|
879
840
|
return this;
|
880
841
|
}, e.prototype.pipe = function() {
|
881
842
|
for (var t = [], r = 0; r < arguments.length; r++)
|
882
843
|
t[r] = arguments[r];
|
883
|
-
return
|
844
|
+
return hn(t)(this);
|
884
845
|
}, e.prototype.toPromise = function(t) {
|
885
846
|
var r = this;
|
886
|
-
return t =
|
847
|
+
return t = _t(t), new t(function(n, i) {
|
887
848
|
var s;
|
888
849
|
r.subscribe(function(o) {
|
889
850
|
return s = o;
|
@@ -897,32 +858,32 @@ var yt = function() {
|
|
897
858
|
return new e(t);
|
898
859
|
}, e;
|
899
860
|
}();
|
900
|
-
function
|
861
|
+
function _t(e) {
|
901
862
|
var t;
|
902
|
-
return (t = e ??
|
863
|
+
return (t = e ?? en.Promise) !== null && t !== void 0 ? t : Promise;
|
903
864
|
}
|
904
|
-
function
|
905
|
-
return e &&
|
865
|
+
function ln(e) {
|
866
|
+
return e && U(e.next) && U(e.error) && U(e.complete);
|
906
867
|
}
|
907
|
-
function
|
908
|
-
return e && e instanceof qt ||
|
868
|
+
function cn(e) {
|
869
|
+
return e && e instanceof qt || ln(e) && Yt(e);
|
909
870
|
}
|
910
|
-
var
|
871
|
+
var fn = Zt(function(e) {
|
911
872
|
return function() {
|
912
873
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
913
874
|
};
|
914
875
|
}), Jt = function(e) {
|
915
|
-
|
876
|
+
fe(t, e);
|
916
877
|
function t() {
|
917
878
|
var r = e.call(this) || this;
|
918
879
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
919
880
|
}
|
920
881
|
return t.prototype.lift = function(r) {
|
921
|
-
var n = new
|
882
|
+
var n = new Et(this, this);
|
922
883
|
return n.operator = r, n;
|
923
884
|
}, t.prototype._throwIfClosed = function() {
|
924
885
|
if (this.closed)
|
925
|
-
throw new
|
886
|
+
throw new fn();
|
926
887
|
}, t.prototype.next = function(r) {
|
927
888
|
var n = this;
|
928
889
|
_e(function() {
|
@@ -930,7 +891,7 @@ var mn = zt(function(e) {
|
|
930
891
|
if (n._throwIfClosed(), !n.isStopped) {
|
931
892
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
932
893
|
try {
|
933
|
-
for (var o =
|
894
|
+
for (var o = Ze(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
934
895
|
var h = a.value;
|
935
896
|
h.next(r);
|
936
897
|
}
|
@@ -979,20 +940,20 @@ var mn = zt(function(e) {
|
|
979
940
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
980
941
|
}, t.prototype._innerSubscribe = function(r) {
|
981
942
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
982
|
-
return s || o ?
|
983
|
-
n.currentObservers = null,
|
943
|
+
return s || o ? Qt : (this.currentObservers = null, a.push(r), new Ae(function() {
|
944
|
+
n.currentObservers = null, qe(a, r);
|
984
945
|
}));
|
985
946
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
986
947
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
987
948
|
i ? r.error(s) : o && r.complete();
|
988
949
|
}, t.prototype.asObservable = function() {
|
989
|
-
var r = new
|
950
|
+
var r = new vt();
|
990
951
|
return r.source = this, r;
|
991
952
|
}, t.create = function(r, n) {
|
992
|
-
return new
|
953
|
+
return new Et(r, n);
|
993
954
|
}, t;
|
994
|
-
}(
|
995
|
-
|
955
|
+
}(vt), Et = function(e) {
|
956
|
+
fe(t, e);
|
996
957
|
function t(r, n) {
|
997
958
|
var i = e.call(this) || this;
|
998
959
|
return i.destination = r, i.source = n, i;
|
@@ -1008,15 +969,15 @@ var mn = zt(function(e) {
|
|
1008
969
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
1009
970
|
}, t.prototype._subscribe = function(r) {
|
1010
971
|
var n, i;
|
1011
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
972
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Qt;
|
1012
973
|
}, t;
|
1013
974
|
}(Jt), Kt = {
|
1014
975
|
now: function() {
|
1015
976
|
return (Kt.delegate || Date).now();
|
1016
977
|
},
|
1017
978
|
delegate: void 0
|
1018
|
-
},
|
1019
|
-
|
979
|
+
}, mn = function(e) {
|
980
|
+
fe(t, e);
|
1020
981
|
function t(r, n, i) {
|
1021
982
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
|
1022
983
|
var s = e.call(this) || this;
|
@@ -1039,23 +1000,23 @@ var mn = zt(function(e) {
|
|
1039
1000
|
}
|
1040
1001
|
}, t;
|
1041
1002
|
}(Jt);
|
1042
|
-
const
|
1043
|
-
if (
|
1044
|
-
const r = new
|
1045
|
-
|
1003
|
+
const xt = [], St = {}, dn = (e, t = 0) => {
|
1004
|
+
if (xt.indexOf(e) == -1) {
|
1005
|
+
const r = new mn(t);
|
1006
|
+
St[e] = r, xt.push(e);
|
1046
1007
|
}
|
1047
|
-
return
|
1008
|
+
return St[e];
|
1048
1009
|
}, Z = [];
|
1049
|
-
function
|
1010
|
+
function bn(e, t) {
|
1050
1011
|
return {
|
1051
|
-
subscribe:
|
1012
|
+
subscribe: Be(e, t).subscribe
|
1052
1013
|
};
|
1053
1014
|
}
|
1054
|
-
function
|
1015
|
+
function Be(e, t = P) {
|
1055
1016
|
let r;
|
1056
1017
|
const n = /* @__PURE__ */ new Set();
|
1057
1018
|
function i(a) {
|
1058
|
-
if (
|
1019
|
+
if ($t(e, a) && (e = a, r)) {
|
1059
1020
|
const h = !Z.length;
|
1060
1021
|
for (const u of n)
|
1061
1022
|
u[1](), Z.push(u, e);
|
@@ -1077,12 +1038,12 @@ function Ae(e, t = P) {
|
|
1077
1038
|
}
|
1078
1039
|
return { set: i, update: s, subscribe: o };
|
1079
1040
|
}
|
1080
|
-
function
|
1041
|
+
function ne(e, t, r) {
|
1081
1042
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
1082
1043
|
if (!i.every(Boolean))
|
1083
1044
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1084
1045
|
const s = t.length < 2;
|
1085
|
-
return
|
1046
|
+
return bn(r, (o, a) => {
|
1086
1047
|
let h = !1;
|
1087
1048
|
const u = [];
|
1088
1049
|
let l = 0, m = P;
|
@@ -1091,7 +1052,7 @@ function ie(e, t, r) {
|
|
1091
1052
|
return;
|
1092
1053
|
m();
|
1093
1054
|
const b = t(n ? u[0] : u, o, a);
|
1094
|
-
s ? o(b) : m =
|
1055
|
+
s ? o(b) : m = He(b) ? b : P;
|
1095
1056
|
}, d = i.map(
|
1096
1057
|
(b, y) => Ft(
|
1097
1058
|
b,
|
@@ -1104,51 +1065,51 @@ function ie(e, t, r) {
|
|
1104
1065
|
)
|
1105
1066
|
);
|
1106
1067
|
return h = !0, c(), function() {
|
1107
|
-
|
1068
|
+
te(d), m(), h = !1;
|
1108
1069
|
};
|
1109
1070
|
});
|
1110
1071
|
}
|
1111
|
-
function
|
1072
|
+
function pn(e) {
|
1112
1073
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1113
1074
|
}
|
1114
|
-
var
|
1115
|
-
return
|
1075
|
+
var gn = function(t) {
|
1076
|
+
return yn(t) && !vn(t);
|
1116
1077
|
};
|
1117
|
-
function
|
1078
|
+
function yn(e) {
|
1118
1079
|
return !!e && typeof e == "object";
|
1119
1080
|
}
|
1120
|
-
function
|
1081
|
+
function vn(e) {
|
1121
1082
|
var t = Object.prototype.toString.call(e);
|
1122
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1083
|
+
return t === "[object RegExp]" || t === "[object Date]" || xn(e);
|
1123
1084
|
}
|
1124
|
-
var
|
1125
|
-
function
|
1126
|
-
return e.$$typeof ===
|
1085
|
+
var _n = typeof Symbol == "function" && Symbol.for, En = _n ? Symbol.for("react.element") : 60103;
|
1086
|
+
function xn(e) {
|
1087
|
+
return e.$$typeof === En;
|
1127
1088
|
}
|
1128
|
-
function
|
1089
|
+
function Sn(e) {
|
1129
1090
|
return Array.isArray(e) ? [] : {};
|
1130
1091
|
}
|
1131
|
-
function
|
1132
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
1092
|
+
function ue(e, t) {
|
1093
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? q(Sn(e), e, t) : e;
|
1133
1094
|
}
|
1134
|
-
function
|
1095
|
+
function wn(e, t, r) {
|
1135
1096
|
return e.concat(t).map(function(n) {
|
1136
|
-
return
|
1097
|
+
return ue(n, r);
|
1137
1098
|
});
|
1138
1099
|
}
|
1139
|
-
function
|
1100
|
+
function Tn(e, t) {
|
1140
1101
|
if (!t.customMerge)
|
1141
|
-
return
|
1102
|
+
return q;
|
1142
1103
|
var r = t.customMerge(e);
|
1143
|
-
return typeof r == "function" ? r :
|
1104
|
+
return typeof r == "function" ? r : q;
|
1144
1105
|
}
|
1145
|
-
function
|
1106
|
+
function Hn(e) {
|
1146
1107
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1147
1108
|
return Object.propertyIsEnumerable.call(e, t);
|
1148
1109
|
}) : [];
|
1149
1110
|
}
|
1150
|
-
function
|
1151
|
-
return Object.keys(e).concat(
|
1111
|
+
function wt(e) {
|
1112
|
+
return Object.keys(e).concat(Hn(e));
|
1152
1113
|
}
|
1153
1114
|
function er(e, t) {
|
1154
1115
|
try {
|
@@ -1157,33 +1118,75 @@ function er(e, t) {
|
|
1157
1118
|
return !1;
|
1158
1119
|
}
|
1159
1120
|
}
|
1160
|
-
function
|
1121
|
+
function An(e, t) {
|
1161
1122
|
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1162
1123
|
}
|
1163
|
-
function
|
1124
|
+
function Bn(e, t, r) {
|
1164
1125
|
var n = {};
|
1165
|
-
return r.isMergeableObject(e) &&
|
1166
|
-
n[i] =
|
1167
|
-
}),
|
1168
|
-
|
1126
|
+
return r.isMergeableObject(e) && wt(e).forEach(function(i) {
|
1127
|
+
n[i] = ue(e[i], r);
|
1128
|
+
}), wt(t).forEach(function(i) {
|
1129
|
+
An(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
|
1169
1130
|
}), n;
|
1170
1131
|
}
|
1171
|
-
function
|
1172
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1132
|
+
function q(e, t, r) {
|
1133
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = ue;
|
1173
1134
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
1174
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
1135
|
+
return s ? n ? r.arrayMerge(e, t, r) : Bn(e, t, r) : ue(t, r);
|
1175
1136
|
}
|
1176
|
-
|
1137
|
+
q.all = function(t, r) {
|
1177
1138
|
if (!Array.isArray(t))
|
1178
1139
|
throw new Error("first argument should be an array");
|
1179
1140
|
return t.reduce(function(n, i) {
|
1180
|
-
return
|
1141
|
+
return q(n, i, r);
|
1181
1142
|
}, {});
|
1182
1143
|
};
|
1183
|
-
var
|
1184
|
-
const
|
1185
|
-
function
|
1186
|
-
|
1144
|
+
var Pn = q, On = Pn;
|
1145
|
+
const Nn = /* @__PURE__ */ pn(On);
|
1146
|
+
var Ke = function(e, t) {
|
1147
|
+
return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
1148
|
+
r.__proto__ = n;
|
1149
|
+
} || function(r, n) {
|
1150
|
+
for (var i in n)
|
1151
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
1152
|
+
}, Ke(e, t);
|
1153
|
+
};
|
1154
|
+
function Pe(e, t) {
|
1155
|
+
if (typeof t != "function" && t !== null)
|
1156
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
1157
|
+
Ke(e, t);
|
1158
|
+
function r() {
|
1159
|
+
this.constructor = e;
|
1160
|
+
}
|
1161
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
1162
|
+
}
|
1163
|
+
var R = function() {
|
1164
|
+
return R = Object.assign || function(t) {
|
1165
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1166
|
+
r = arguments[n];
|
1167
|
+
for (var s in r)
|
1168
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1169
|
+
}
|
1170
|
+
return t;
|
1171
|
+
}, R.apply(this, arguments);
|
1172
|
+
};
|
1173
|
+
function Ln(e, t) {
|
1174
|
+
var r = {};
|
1175
|
+
for (var n in e)
|
1176
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
1177
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
1178
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
1179
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
1180
|
+
return r;
|
1181
|
+
}
|
1182
|
+
function Ue(e, t, r) {
|
1183
|
+
if (r || arguments.length === 2)
|
1184
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
1185
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
1186
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
1187
|
+
}
|
1188
|
+
function De(e, t) {
|
1189
|
+
var r = t && t.cache ? t.cache : Dn, n = t && t.serializer ? t.serializer : Gn, i = t && t.strategy ? t.strategy : Mn;
|
1187
1190
|
return i(e, {
|
1188
1191
|
cache: r,
|
1189
1192
|
serializer: n
|
@@ -1192,95 +1195,103 @@ function Ge(e, t) {
|
|
1192
1195
|
function In(e) {
|
1193
1196
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1194
1197
|
}
|
1195
|
-
function
|
1198
|
+
function Cn(e, t, r, n) {
|
1196
1199
|
var i = In(n) ? n : r(n), s = t.get(i);
|
1197
1200
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
1198
1201
|
}
|
1199
|
-
function
|
1202
|
+
function tr(e, t, r) {
|
1200
1203
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
1201
1204
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
1202
1205
|
}
|
1203
|
-
function
|
1206
|
+
function rr(e, t, r, n, i) {
|
1204
1207
|
return r.bind(t, e, n, i);
|
1205
1208
|
}
|
1206
|
-
function Cn(e, t) {
|
1207
|
-
var r = e.length === 1 ? tr : rr;
|
1208
|
-
return st(e, this, r, t.cache.create(), t.serializer);
|
1209
|
-
}
|
1210
1209
|
function Mn(e, t) {
|
1211
|
-
|
1210
|
+
var r = e.length === 1 ? Cn : tr;
|
1211
|
+
return rr(e, this, r, t.cache.create(), t.serializer);
|
1212
1212
|
}
|
1213
1213
|
function Rn(e, t) {
|
1214
|
-
return
|
1214
|
+
return rr(e, this, tr, t.cache.create(), t.serializer);
|
1215
1215
|
}
|
1216
1216
|
var Gn = function() {
|
1217
1217
|
return JSON.stringify(arguments);
|
1218
|
-
}
|
1219
|
-
|
1220
|
-
|
1221
|
-
|
1222
|
-
|
1223
|
-
|
1224
|
-
|
1225
|
-
|
1226
|
-
|
1227
|
-
|
1228
|
-
|
1218
|
+
}, Un = (
|
1219
|
+
/** @class */
|
1220
|
+
function() {
|
1221
|
+
function e() {
|
1222
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
1223
|
+
}
|
1224
|
+
return e.prototype.get = function(t) {
|
1225
|
+
return this.cache[t];
|
1226
|
+
}, e.prototype.set = function(t, r) {
|
1227
|
+
this.cache[t] = r;
|
1228
|
+
}, e;
|
1229
|
+
}()
|
1230
|
+
), Dn = {
|
1229
1231
|
create: function() {
|
1230
|
-
return new
|
1232
|
+
return new Un();
|
1231
1233
|
}
|
1232
|
-
},
|
1233
|
-
variadic:
|
1234
|
-
|
1235
|
-
|
1234
|
+
}, $e = {
|
1235
|
+
variadic: Rn
|
1236
|
+
}, Se = function() {
|
1237
|
+
return Se = Object.assign || function(t) {
|
1238
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1239
|
+
r = arguments[n];
|
1240
|
+
for (var s in r)
|
1241
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1242
|
+
}
|
1243
|
+
return t;
|
1244
|
+
}, Se.apply(this, arguments);
|
1245
|
+
};
|
1246
|
+
var p;
|
1236
1247
|
(function(e) {
|
1237
1248
|
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";
|
1238
1249
|
})(p || (p = {}));
|
1239
|
-
var
|
1250
|
+
var E;
|
1240
1251
|
(function(e) {
|
1241
1252
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
1242
|
-
})(
|
1243
|
-
var
|
1253
|
+
})(E || (E = {}));
|
1254
|
+
var J;
|
1244
1255
|
(function(e) {
|
1245
1256
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1246
|
-
})(
|
1247
|
-
function
|
1248
|
-
return e.type ===
|
1257
|
+
})(J || (J = {}));
|
1258
|
+
function Tt(e) {
|
1259
|
+
return e.type === E.literal;
|
1249
1260
|
}
|
1250
|
-
function
|
1251
|
-
return e.type ===
|
1261
|
+
function $n(e) {
|
1262
|
+
return e.type === E.argument;
|
1252
1263
|
}
|
1253
1264
|
function nr(e) {
|
1254
|
-
return e.type ===
|
1265
|
+
return e.type === E.number;
|
1255
1266
|
}
|
1256
1267
|
function ir(e) {
|
1257
|
-
return e.type ===
|
1268
|
+
return e.type === E.date;
|
1258
1269
|
}
|
1259
1270
|
function sr(e) {
|
1260
|
-
return e.type ===
|
1271
|
+
return e.type === E.time;
|
1261
1272
|
}
|
1262
1273
|
function or(e) {
|
1263
|
-
return e.type ===
|
1274
|
+
return e.type === E.select;
|
1264
1275
|
}
|
1265
1276
|
function ar(e) {
|
1266
|
-
return e.type ===
|
1277
|
+
return e.type === E.plural;
|
1267
1278
|
}
|
1268
1279
|
function Fn(e) {
|
1269
|
-
return e.type ===
|
1280
|
+
return e.type === E.pound;
|
1270
1281
|
}
|
1271
1282
|
function ur(e) {
|
1272
|
-
return e.type ===
|
1283
|
+
return e.type === E.tag;
|
1273
1284
|
}
|
1274
1285
|
function hr(e) {
|
1275
|
-
return !!(e && typeof e == "object" && e.type ===
|
1286
|
+
return !!(e && typeof e == "object" && e.type === J.number);
|
1276
1287
|
}
|
1277
|
-
function
|
1278
|
-
return !!(e && typeof e == "object" && e.type ===
|
1288
|
+
function et(e) {
|
1289
|
+
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
1279
1290
|
}
|
1280
|
-
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
1281
|
-
function
|
1291
|
+
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
|
1292
|
+
function kn(e) {
|
1282
1293
|
var t = {};
|
1283
|
-
return e.replace(
|
1294
|
+
return e.replace(jn, function(r) {
|
1284
1295
|
var n = r.length;
|
1285
1296
|
switch (r[0]) {
|
1286
1297
|
case "G":
|
@@ -1369,11 +1380,21 @@ function jn(e) {
|
|
1369
1380
|
return "";
|
1370
1381
|
}), t;
|
1371
1382
|
}
|
1372
|
-
var
|
1373
|
-
function
|
1383
|
+
var S = function() {
|
1384
|
+
return S = Object.assign || function(t) {
|
1385
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1386
|
+
r = arguments[n];
|
1387
|
+
for (var s in r)
|
1388
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
1389
|
+
}
|
1390
|
+
return t;
|
1391
|
+
}, S.apply(this, arguments);
|
1392
|
+
};
|
1393
|
+
var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1394
|
+
function Xn(e) {
|
1374
1395
|
if (e.length === 0)
|
1375
1396
|
throw new Error("Number skeleton cannot be empty");
|
1376
|
-
for (var t = e.split(
|
1397
|
+
for (var t = e.split(Vn).filter(function(c) {
|
1377
1398
|
return c.length > 0;
|
1378
1399
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1379
1400
|
var s = i[n], o = s.split("/");
|
@@ -1388,11 +1409,11 @@ function Vn(e) {
|
|
1388
1409
|
}
|
1389
1410
|
return r;
|
1390
1411
|
}
|
1391
|
-
function
|
1412
|
+
function Wn(e) {
|
1392
1413
|
return e.replace(/^(.*?)-/, "");
|
1393
1414
|
}
|
1394
|
-
var
|
1395
|
-
function
|
1415
|
+
var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, zn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
1416
|
+
function At(e) {
|
1396
1417
|
var t = {};
|
1397
1418
|
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, n, i) {
|
1398
1419
|
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)), "";
|
@@ -1438,7 +1459,7 @@ function mr(e) {
|
|
1438
1459
|
};
|
1439
1460
|
}
|
1440
1461
|
}
|
1441
|
-
function
|
1462
|
+
function Zn(e) {
|
1442
1463
|
var t;
|
1443
1464
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1444
1465
|
notation: "engineering"
|
@@ -1452,11 +1473,11 @@ function zn(e) {
|
|
1452
1473
|
}
|
1453
1474
|
return t;
|
1454
1475
|
}
|
1455
|
-
function
|
1476
|
+
function Bt(e) {
|
1456
1477
|
var t = {}, r = mr(e);
|
1457
1478
|
return r || t;
|
1458
1479
|
}
|
1459
|
-
function
|
1480
|
+
function Qn(e) {
|
1460
1481
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1461
1482
|
var i = n[r];
|
1462
1483
|
switch (i.stem) {
|
@@ -1480,7 +1501,7 @@ function Zn(e) {
|
|
1480
1501
|
continue;
|
1481
1502
|
case "measure-unit":
|
1482
1503
|
case "unit":
|
1483
|
-
t.style = "unit", t.unit =
|
1504
|
+
t.style = "unit", t.unit = Wn(i.options[0]);
|
1484
1505
|
continue;
|
1485
1506
|
case "compact-short":
|
1486
1507
|
case "K":
|
@@ -1491,13 +1512,13 @@ function Zn(e) {
|
|
1491
1512
|
t.notation = "compact", t.compactDisplay = "long";
|
1492
1513
|
continue;
|
1493
1514
|
case "scientific":
|
1494
|
-
t =
|
1495
|
-
return
|
1515
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1516
|
+
return S(S({}, h), Bt(u));
|
1496
1517
|
}, {}));
|
1497
1518
|
continue;
|
1498
1519
|
case "engineering":
|
1499
|
-
t =
|
1500
|
-
return
|
1520
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1521
|
+
return S(S({}, h), Bt(u));
|
1501
1522
|
}, {}));
|
1502
1523
|
continue;
|
1503
1524
|
case "notation-simple":
|
@@ -1542,7 +1563,7 @@ function Zn(e) {
|
|
1542
1563
|
case "integer-width":
|
1543
1564
|
if (i.options.length > 1)
|
1544
1565
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1545
|
-
i.options[0].replace(
|
1566
|
+
i.options[0].replace(zn, function(h, u, l, m, c, d) {
|
1546
1567
|
if (u)
|
1547
1568
|
t.minimumIntegerDigits = l.length;
|
1548
1569
|
else {
|
@@ -1559,24 +1580,24 @@ function Zn(e) {
|
|
1559
1580
|
t.minimumIntegerDigits = i.stem.length;
|
1560
1581
|
continue;
|
1561
1582
|
}
|
1562
|
-
if (
|
1583
|
+
if (Ht.test(i.stem)) {
|
1563
1584
|
if (i.options.length > 1)
|
1564
1585
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1565
|
-
i.stem.replace(
|
1586
|
+
i.stem.replace(Ht, function(h, u, l, m, c, d) {
|
1566
1587
|
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), "";
|
1567
1588
|
});
|
1568
1589
|
var s = i.options[0];
|
1569
|
-
s === "w" ? t =
|
1590
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), At(s)));
|
1570
1591
|
continue;
|
1571
1592
|
}
|
1572
1593
|
if (cr.test(i.stem)) {
|
1573
|
-
t =
|
1594
|
+
t = S(S({}, t), At(i.stem));
|
1574
1595
|
continue;
|
1575
1596
|
}
|
1576
1597
|
var o = mr(i.stem);
|
1577
|
-
o && (t =
|
1578
|
-
var a =
|
1579
|
-
a && (t =
|
1598
|
+
o && (t = S(S({}, t), o));
|
1599
|
+
var a = Zn(i.stem);
|
1600
|
+
a && (t = S(S({}, t), a));
|
1580
1601
|
}
|
1581
1602
|
return t;
|
1582
1603
|
}
|
@@ -2995,13 +3016,13 @@ var ye = {
|
|
2995
3016
|
"h"
|
2996
3017
|
]
|
2997
3018
|
};
|
2998
|
-
function
|
3019
|
+
function Yn(e, t) {
|
2999
3020
|
for (var r = "", n = 0; n < e.length; n++) {
|
3000
3021
|
var i = e.charAt(n);
|
3001
3022
|
if (i === "j") {
|
3002
3023
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3003
3024
|
s++, n++;
|
3004
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
3025
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = qn(t);
|
3005
3026
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
3006
3027
|
r += h;
|
3007
3028
|
for (; o-- > 0; )
|
@@ -3011,7 +3032,7 @@ function Qn(e, t) {
|
|
3011
3032
|
}
|
3012
3033
|
return r;
|
3013
3034
|
}
|
3014
|
-
function
|
3035
|
+
function qn(e) {
|
3015
3036
|
var t = e.hourCycle;
|
3016
3037
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3017
3038
|
e.hourCycles && // @ts-ignore
|
@@ -3033,20 +3054,20 @@ function Yn(e) {
|
|
3033
3054
|
var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
|
3034
3055
|
return i[0];
|
3035
3056
|
}
|
3036
|
-
var
|
3057
|
+
var Fe, Jn = new RegExp("^".concat(lr.source, "*")), Kn = new RegExp("".concat(lr.source, "*$"));
|
3037
3058
|
function g(e, t) {
|
3038
3059
|
return { start: e, end: t };
|
3039
3060
|
}
|
3040
|
-
var
|
3061
|
+
var ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), ti = !!String.fromCodePoint, ri = !!Object.fromEntries, ni = !!String.prototype.codePointAt, ii = !!String.prototype.trimStart, si = !!String.prototype.trimEnd, oi = !!Number.isSafeInteger, ai = oi ? Number.isSafeInteger : function(e) {
|
3041
3062
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3042
|
-
},
|
3063
|
+
}, tt = !0;
|
3043
3064
|
try {
|
3044
|
-
var
|
3045
|
-
|
3065
|
+
var ui = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3066
|
+
tt = ((Fe = ui.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
|
3046
3067
|
} catch {
|
3047
|
-
|
3068
|
+
tt = !1;
|
3048
3069
|
}
|
3049
|
-
var
|
3070
|
+
var Pt = ei ? (
|
3050
3071
|
// Native
|
3051
3072
|
function(t, r, n) {
|
3052
3073
|
return t.startsWith(r, n);
|
@@ -3056,7 +3077,7 @@ var Bt = Kn ? (
|
|
3056
3077
|
function(t, r, n) {
|
3057
3078
|
return t.slice(n, n + r.length) === r;
|
3058
3079
|
}
|
3059
|
-
),
|
3080
|
+
), rt = ti ? String.fromCodePoint : (
|
3060
3081
|
// IE11
|
3061
3082
|
function() {
|
3062
3083
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3068,9 +3089,9 @@ var Bt = Kn ? (
|
|
3068
3089
|
}
|
3069
3090
|
return n;
|
3070
3091
|
}
|
3071
|
-
),
|
3092
|
+
), Ot = (
|
3072
3093
|
// native
|
3073
|
-
|
3094
|
+
ri ? Object.fromEntries : (
|
3074
3095
|
// Ponyfill
|
3075
3096
|
function(t) {
|
3076
3097
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3080,7 +3101,7 @@ var Bt = Kn ? (
|
|
3080
3101
|
return r;
|
3081
3102
|
}
|
3082
3103
|
)
|
3083
|
-
), dr =
|
3104
|
+
), dr = ni ? (
|
3084
3105
|
// Native
|
3085
3106
|
function(t, r) {
|
3086
3107
|
return t.codePointAt(r);
|
@@ -3094,7 +3115,7 @@ var Bt = Kn ? (
|
|
3094
3115
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
3095
3116
|
}
|
3096
3117
|
}
|
3097
|
-
),
|
3118
|
+
), hi = ii ? (
|
3098
3119
|
// Native
|
3099
3120
|
function(t) {
|
3100
3121
|
return t.trimStart();
|
@@ -3102,9 +3123,9 @@ var Bt = Kn ? (
|
|
3102
3123
|
) : (
|
3103
3124
|
// Ponyfill
|
3104
3125
|
function(t) {
|
3105
|
-
return t.replace(
|
3126
|
+
return t.replace(Jn, "");
|
3106
3127
|
}
|
3107
|
-
),
|
3128
|
+
), li = si ? (
|
3108
3129
|
// Native
|
3109
3130
|
function(t) {
|
3110
3131
|
return t.trimEnd();
|
@@ -3112,32 +3133,32 @@ var Bt = Kn ? (
|
|
3112
3133
|
) : (
|
3113
3134
|
// Ponyfill
|
3114
3135
|
function(t) {
|
3115
|
-
return t.replace(
|
3136
|
+
return t.replace(Kn, "");
|
3116
3137
|
}
|
3117
3138
|
);
|
3118
3139
|
function br(e, t) {
|
3119
3140
|
return new RegExp(e, t);
|
3120
3141
|
}
|
3121
|
-
var
|
3122
|
-
if (
|
3142
|
+
var nt;
|
3143
|
+
if (tt) {
|
3123
3144
|
var Nt = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3124
|
-
|
3145
|
+
nt = function(t, r) {
|
3125
3146
|
var n;
|
3126
3147
|
Nt.lastIndex = r;
|
3127
3148
|
var i = Nt.exec(t);
|
3128
3149
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3129
3150
|
};
|
3130
3151
|
} else
|
3131
|
-
|
3152
|
+
nt = function(t, r) {
|
3132
3153
|
for (var n = []; ; ) {
|
3133
3154
|
var i = dr(t, r);
|
3134
|
-
if (i === void 0 || pr(i) ||
|
3155
|
+
if (i === void 0 || pr(i) || di(i))
|
3135
3156
|
break;
|
3136
3157
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3137
3158
|
}
|
3138
|
-
return
|
3159
|
+
return rt.apply(void 0, n);
|
3139
3160
|
};
|
3140
|
-
var
|
3161
|
+
var ci = (
|
3141
3162
|
/** @class */
|
3142
3163
|
function() {
|
3143
3164
|
function e(t, r) {
|
@@ -3161,14 +3182,14 @@ var li = (
|
|
3161
3182
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
3162
3183
|
var a = this.clonePosition();
|
3163
3184
|
this.bump(), i.push({
|
3164
|
-
type:
|
3185
|
+
type: E.pound,
|
3165
3186
|
location: g(a, this.clonePosition())
|
3166
3187
|
});
|
3167
3188
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
3168
3189
|
if (n)
|
3169
3190
|
break;
|
3170
3191
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
3171
|
-
} else if (s === 60 && !this.ignoreTag &&
|
3192
|
+
} else if (s === 60 && !this.ignoreTag && it(this.peek() || 0)) {
|
3172
3193
|
var o = this.parseTag(t, r);
|
3173
3194
|
if (o.err)
|
3174
3195
|
return o;
|
@@ -3189,7 +3210,7 @@ var li = (
|
|
3189
3210
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
3190
3211
|
return {
|
3191
3212
|
val: {
|
3192
|
-
type:
|
3213
|
+
type: E.literal,
|
3193
3214
|
value: "<".concat(i, "/>"),
|
3194
3215
|
location: g(n, this.clonePosition())
|
3195
3216
|
},
|
@@ -3201,12 +3222,12 @@ var li = (
|
|
3201
3222
|
return s;
|
3202
3223
|
var o = s.val, a = this.clonePosition();
|
3203
3224
|
if (this.bumpIf("</")) {
|
3204
|
-
if (this.isEOF() || !
|
3225
|
+
if (this.isEOF() || !it(this.char()))
|
3205
3226
|
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
3206
3227
|
var h = this.clonePosition(), u = this.parseTagName();
|
3207
3228
|
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
3208
3229
|
val: {
|
3209
|
-
type:
|
3230
|
+
type: E.tag,
|
3210
3231
|
value: i,
|
3211
3232
|
children: o,
|
3212
3233
|
location: g(n, this.clonePosition())
|
@@ -3219,7 +3240,7 @@ var li = (
|
|
3219
3240
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
3220
3241
|
}, e.prototype.parseTagName = function() {
|
3221
3242
|
var t = this.offset();
|
3222
|
-
for (this.bump(); !this.isEOF() &&
|
3243
|
+
for (this.bump(); !this.isEOF() && mi(this.char()); )
|
3223
3244
|
this.bump();
|
3224
3245
|
return this.message.slice(t, this.offset());
|
3225
3246
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3243,12 +3264,12 @@ var li = (
|
|
3243
3264
|
}
|
3244
3265
|
var h = g(n, this.clonePosition());
|
3245
3266
|
return {
|
3246
|
-
val: { type:
|
3267
|
+
val: { type: E.literal, value: i, location: h },
|
3247
3268
|
err: null
|
3248
3269
|
};
|
3249
3270
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3250
3271
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3251
|
-
!
|
3272
|
+
!fi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3252
3273
|
}, e.prototype.tryParseQuote = function(t) {
|
3253
3274
|
if (this.isEOF() || this.char() !== 39)
|
3254
3275
|
return null;
|
@@ -3282,12 +3303,12 @@ var li = (
|
|
3282
3303
|
r.push(n);
|
3283
3304
|
this.bump();
|
3284
3305
|
}
|
3285
|
-
return
|
3306
|
+
return rt.apply(void 0, r);
|
3286
3307
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3287
3308
|
if (this.isEOF())
|
3288
3309
|
return null;
|
3289
3310
|
var n = this.char();
|
3290
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3311
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), rt(n));
|
3291
3312
|
}, e.prototype.parseArgument = function(t, r) {
|
3292
3313
|
var n = this.clonePosition();
|
3293
3314
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -3303,7 +3324,7 @@ var li = (
|
|
3303
3324
|
case 125:
|
3304
3325
|
return this.bump(), {
|
3305
3326
|
val: {
|
3306
|
-
type:
|
3327
|
+
type: E.argument,
|
3307
3328
|
// value does not include the opening and closing braces.
|
3308
3329
|
value: i,
|
3309
3330
|
location: g(n, this.clonePosition())
|
@@ -3316,7 +3337,7 @@ var li = (
|
|
3316
3337
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
3317
3338
|
}
|
3318
3339
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3319
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3340
|
+
var t = this.clonePosition(), r = this.offset(), n = nt(this.message, r), i = r + n.length;
|
3320
3341
|
this.bumpTo(i);
|
3321
3342
|
var s = this.clonePosition(), o = g(t, s);
|
3322
3343
|
return { value: n, location: o };
|
@@ -3335,7 +3356,7 @@ var li = (
|
|
3335
3356
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
3336
3357
|
if (m.err)
|
3337
3358
|
return m;
|
3338
|
-
var c =
|
3359
|
+
var c = li(m.val);
|
3339
3360
|
if (c.length === 0)
|
3340
3361
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
3341
3362
|
var d = g(l, this.clonePosition());
|
@@ -3345,34 +3366,34 @@ var li = (
|
|
3345
3366
|
if (b.err)
|
3346
3367
|
return b;
|
3347
3368
|
var y = g(i, this.clonePosition());
|
3348
|
-
if (u &&
|
3349
|
-
var T =
|
3369
|
+
if (u && Pt(u?.style, "::", 0)) {
|
3370
|
+
var T = hi(u.style.slice(2));
|
3350
3371
|
if (a === "number") {
|
3351
3372
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
3352
3373
|
return m.err ? m : {
|
3353
|
-
val: { type:
|
3374
|
+
val: { type: E.number, value: n, location: y, style: m.val },
|
3354
3375
|
err: null
|
3355
3376
|
};
|
3356
3377
|
} else {
|
3357
3378
|
if (T.length === 0)
|
3358
3379
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
|
3359
3380
|
var C = T;
|
3360
|
-
this.locale && (C =
|
3381
|
+
this.locale && (C = Yn(T, this.locale));
|
3361
3382
|
var c = {
|
3362
|
-
type:
|
3383
|
+
type: J.dateTime,
|
3363
3384
|
pattern: C,
|
3364
3385
|
location: u.styleLocation,
|
3365
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3366
|
-
},
|
3386
|
+
parsedOptions: this.shouldParseSkeletons ? kn(C) : {}
|
3387
|
+
}, O = a === "date" ? E.date : E.time;
|
3367
3388
|
return {
|
3368
|
-
val: { type:
|
3389
|
+
val: { type: O, value: n, location: y, style: c },
|
3369
3390
|
err: null
|
3370
3391
|
};
|
3371
3392
|
}
|
3372
3393
|
}
|
3373
3394
|
return {
|
3374
3395
|
val: {
|
3375
|
-
type: a === "number" ?
|
3396
|
+
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
3376
3397
|
value: n,
|
3377
3398
|
location: y,
|
3378
3399
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
@@ -3385,41 +3406,41 @@ var li = (
|
|
3385
3406
|
case "select": {
|
3386
3407
|
var w = this.clonePosition();
|
3387
3408
|
if (this.bumpSpace(), !this.bumpIf(","))
|
3388
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w,
|
3409
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, Se({}, w)));
|
3389
3410
|
this.bumpSpace();
|
3390
|
-
var
|
3391
|
-
if (a !== "select" &&
|
3411
|
+
var N = this.parseIdentifierIfPossible(), L = 0;
|
3412
|
+
if (a !== "select" && N.value === "offset") {
|
3392
3413
|
if (!this.bumpIf(":"))
|
3393
3414
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
3394
3415
|
this.bumpSpace();
|
3395
3416
|
var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3396
3417
|
if (m.err)
|
3397
3418
|
return m;
|
3398
|
-
this.bumpSpace(),
|
3419
|
+
this.bumpSpace(), N = this.parseIdentifierIfPossible(), L = m.val;
|
3399
3420
|
}
|
3400
|
-
var M = this.tryParsePluralOrSelectOptions(t, a, r,
|
3421
|
+
var M = this.tryParsePluralOrSelectOptions(t, a, r, N);
|
3401
3422
|
if (M.err)
|
3402
3423
|
return M;
|
3403
3424
|
var b = this.tryParseArgumentClose(i);
|
3404
3425
|
if (b.err)
|
3405
3426
|
return b;
|
3406
|
-
var
|
3427
|
+
var _ = g(i, this.clonePosition());
|
3407
3428
|
return a === "select" ? {
|
3408
3429
|
val: {
|
3409
|
-
type:
|
3430
|
+
type: E.select,
|
3410
3431
|
value: n,
|
3411
|
-
options:
|
3412
|
-
location:
|
3432
|
+
options: Ot(M.val),
|
3433
|
+
location: _
|
3413
3434
|
},
|
3414
3435
|
err: null
|
3415
3436
|
} : {
|
3416
3437
|
val: {
|
3417
|
-
type:
|
3438
|
+
type: E.plural,
|
3418
3439
|
value: n,
|
3419
|
-
options:
|
3440
|
+
options: Ot(M.val),
|
3420
3441
|
offset: L,
|
3421
3442
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3422
|
-
location:
|
3443
|
+
location: _
|
3423
3444
|
},
|
3424
3445
|
err: null
|
3425
3446
|
};
|
@@ -3467,16 +3488,16 @@ var li = (
|
|
3467
3488
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3468
3489
|
var n = [];
|
3469
3490
|
try {
|
3470
|
-
n =
|
3491
|
+
n = Xn(t);
|
3471
3492
|
} catch {
|
3472
3493
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
3473
3494
|
}
|
3474
3495
|
return {
|
3475
3496
|
val: {
|
3476
|
-
type:
|
3497
|
+
type: J.number,
|
3477
3498
|
tokens: n,
|
3478
3499
|
location: r,
|
3479
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3500
|
+
parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
|
3480
3501
|
},
|
3481
3502
|
err: null
|
3482
3503
|
};
|
@@ -3524,7 +3545,7 @@ var li = (
|
|
3524
3545
|
break;
|
3525
3546
|
}
|
3526
3547
|
var h = g(i, this.clonePosition());
|
3527
|
-
return s ? (o *= n,
|
3548
|
+
return s ? (o *= n, ai(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
3528
3549
|
}, e.prototype.offset = function() {
|
3529
3550
|
return this.position.offset;
|
3530
3551
|
}, e.prototype.isEOF = function() {
|
@@ -3558,7 +3579,7 @@ var li = (
|
|
3558
3579
|
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);
|
3559
3580
|
}
|
3560
3581
|
}, e.prototype.bumpIf = function(t) {
|
3561
|
-
if (
|
3582
|
+
if (Pt(this.message, t, this.offset())) {
|
3562
3583
|
for (var r = 0; r < t.length; r++)
|
3563
3584
|
this.bump();
|
3564
3585
|
return !0;
|
@@ -3590,47 +3611,47 @@ var li = (
|
|
3590
3611
|
}, e;
|
3591
3612
|
}()
|
3592
3613
|
);
|
3593
|
-
function
|
3614
|
+
function it(e) {
|
3594
3615
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3595
3616
|
}
|
3596
|
-
function ci(e) {
|
3597
|
-
return et(e) || e === 47;
|
3598
|
-
}
|
3599
3617
|
function fi(e) {
|
3618
|
+
return it(e) || e === 47;
|
3619
|
+
}
|
3620
|
+
function mi(e) {
|
3600
3621
|
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;
|
3601
3622
|
}
|
3602
3623
|
function pr(e) {
|
3603
3624
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3604
3625
|
}
|
3605
|
-
function
|
3626
|
+
function di(e) {
|
3606
3627
|
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;
|
3607
3628
|
}
|
3608
|
-
function
|
3629
|
+
function st(e) {
|
3609
3630
|
e.forEach(function(t) {
|
3610
3631
|
if (delete t.location, or(t) || ar(t))
|
3611
3632
|
for (var r in t.options)
|
3612
|
-
delete t.options[r].location,
|
3633
|
+
delete t.options[r].location, st(t.options[r].value);
|
3613
3634
|
else
|
3614
|
-
nr(t) && hr(t.style) || (ir(t) || sr(t)) &&
|
3635
|
+
nr(t) && hr(t.style) || (ir(t) || sr(t)) && et(t.style) ? delete t.style.location : ur(t) && st(t.children);
|
3615
3636
|
});
|
3616
3637
|
}
|
3617
|
-
function
|
3618
|
-
t === void 0 && (t = {}), t =
|
3619
|
-
var r = new
|
3638
|
+
function bi(e, t) {
|
3639
|
+
t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3640
|
+
var r = new ci(e, t).parse();
|
3620
3641
|
if (r.err) {
|
3621
3642
|
var n = SyntaxError(p[r.err.kind]);
|
3622
3643
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3623
3644
|
}
|
3624
|
-
return t?.captureLocation ||
|
3645
|
+
return t?.captureLocation || st(r.val), r.val;
|
3625
3646
|
}
|
3626
|
-
var
|
3647
|
+
var K;
|
3627
3648
|
(function(e) {
|
3628
3649
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3629
|
-
})(
|
3630
|
-
var
|
3650
|
+
})(K || (K = {}));
|
3651
|
+
var Oe = (
|
3631
3652
|
/** @class */
|
3632
3653
|
function(e) {
|
3633
|
-
|
3654
|
+
Pe(t, e);
|
3634
3655
|
function t(r, n, i) {
|
3635
3656
|
var s = e.call(this, r) || this;
|
3636
3657
|
return s.code = n, s.originalMessage = i, s;
|
@@ -3639,48 +3660,48 @@ var Be = (
|
|
3639
3660
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3640
3661
|
}, t;
|
3641
3662
|
}(Error)
|
3642
|
-
),
|
3663
|
+
), Lt = (
|
3643
3664
|
/** @class */
|
3644
3665
|
function(e) {
|
3645
|
-
|
3666
|
+
Pe(t, e);
|
3646
3667
|
function t(r, n, i, s) {
|
3647
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3668
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, s) || this;
|
3648
3669
|
}
|
3649
3670
|
return t;
|
3650
|
-
}(
|
3651
|
-
),
|
3671
|
+
}(Oe)
|
3672
|
+
), pi = (
|
3652
3673
|
/** @class */
|
3653
3674
|
function(e) {
|
3654
|
-
|
3675
|
+
Pe(t, e);
|
3655
3676
|
function t(r, n, i) {
|
3656
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3677
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), K.INVALID_VALUE, i) || this;
|
3657
3678
|
}
|
3658
3679
|
return t;
|
3659
|
-
}(
|
3660
|
-
),
|
3680
|
+
}(Oe)
|
3681
|
+
), gi = (
|
3661
3682
|
/** @class */
|
3662
3683
|
function(e) {
|
3663
|
-
|
3684
|
+
Pe(t, e);
|
3664
3685
|
function t(r, n) {
|
3665
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3686
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), K.MISSING_VALUE, n) || this;
|
3666
3687
|
}
|
3667
3688
|
return t;
|
3668
|
-
}(
|
3689
|
+
}(Oe)
|
3669
3690
|
), H;
|
3670
3691
|
(function(e) {
|
3671
3692
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3672
3693
|
})(H || (H = {}));
|
3673
|
-
function
|
3694
|
+
function yi(e) {
|
3674
3695
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3675
3696
|
var n = t[t.length - 1];
|
3676
3697
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3677
3698
|
}, []);
|
3678
3699
|
}
|
3679
|
-
function
|
3700
|
+
function vi(e) {
|
3680
3701
|
return typeof e == "function";
|
3681
3702
|
}
|
3682
3703
|
function Ee(e, t, r, n, i, s, o) {
|
3683
|
-
if (e.length === 1 &&
|
3704
|
+
if (e.length === 1 && Tt(e[0]))
|
3684
3705
|
return [
|
3685
3706
|
{
|
3686
3707
|
type: H.literal,
|
@@ -3689,7 +3710,7 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3689
3710
|
];
|
3690
3711
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3691
3712
|
var l = u[h];
|
3692
|
-
if (
|
3713
|
+
if (Tt(l)) {
|
3693
3714
|
a.push({
|
3694
3715
|
type: H.literal,
|
3695
3716
|
value: l.value
|
@@ -3705,9 +3726,9 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3705
3726
|
}
|
3706
3727
|
var m = l.value;
|
3707
3728
|
if (!(i && m in i))
|
3708
|
-
throw new
|
3729
|
+
throw new gi(m, o);
|
3709
3730
|
var c = i[m];
|
3710
|
-
if (
|
3731
|
+
if ($n(l)) {
|
3711
3732
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3712
3733
|
type: typeof c == "string" ? H.literal : H.object,
|
3713
3734
|
value: c
|
@@ -3715,7 +3736,7 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3715
3736
|
continue;
|
3716
3737
|
}
|
3717
3738
|
if (ir(l)) {
|
3718
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3739
|
+
var d = typeof l.style == "string" ? n.date[l.style] : et(l.style) ? l.style.parsedOptions : void 0;
|
3719
3740
|
a.push({
|
3720
3741
|
type: H.literal,
|
3721
3742
|
value: r.getDateTimeFormat(t, d).format(c)
|
@@ -3723,7 +3744,7 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3723
3744
|
continue;
|
3724
3745
|
}
|
3725
3746
|
if (sr(l)) {
|
3726
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3747
|
+
var d = typeof l.style == "string" ? n.time[l.style] : et(l.style) ? l.style.parsedOptions : n.time.medium;
|
3727
3748
|
a.push({
|
3728
3749
|
type: H.literal,
|
3729
3750
|
value: r.getDateTimeFormat(t, d).format(c)
|
@@ -3740,12 +3761,12 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3740
3761
|
}
|
3741
3762
|
if (ur(l)) {
|
3742
3763
|
var b = l.children, y = l.value, T = i[y];
|
3743
|
-
if (!
|
3744
|
-
throw new
|
3745
|
-
var C = Ee(b, t, r, n, i, s),
|
3764
|
+
if (!vi(T))
|
3765
|
+
throw new pi(y, "function", o);
|
3766
|
+
var C = Ee(b, t, r, n, i, s), O = T(C.map(function(L) {
|
3746
3767
|
return L.value;
|
3747
3768
|
}));
|
3748
|
-
Array.isArray(
|
3769
|
+
Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(L) {
|
3749
3770
|
return {
|
3750
3771
|
type: typeof L == "string" ? H.literal : H.object,
|
3751
3772
|
value: L
|
@@ -3755,7 +3776,7 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3755
3776
|
if (or(l)) {
|
3756
3777
|
var w = l.options[c] || l.options.other;
|
3757
3778
|
if (!w)
|
3758
|
-
throw new
|
3779
|
+
throw new Lt(l.value, c, Object.keys(l.options), o);
|
3759
3780
|
a.push.apply(a, Ee(w.value, t, r, n, i));
|
3760
3781
|
continue;
|
3761
3782
|
}
|
@@ -3763,31 +3784,31 @@ function Ee(e, t, r, n, i, s, o) {
|
|
3763
3784
|
var w = l.options["=".concat(c)];
|
3764
3785
|
if (!w) {
|
3765
3786
|
if (!Intl.PluralRules)
|
3766
|
-
throw new
|
3787
|
+
throw new Oe(`Intl.PluralRules is not available in this environment.
|
3767
3788
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3768
|
-
`,
|
3769
|
-
var
|
3770
|
-
w = l.options[
|
3789
|
+
`, K.MISSING_INTL_API, o);
|
3790
|
+
var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
3791
|
+
w = l.options[N] || l.options.other;
|
3771
3792
|
}
|
3772
3793
|
if (!w)
|
3773
|
-
throw new
|
3794
|
+
throw new Lt(l.value, c, Object.keys(l.options), o);
|
3774
3795
|
a.push.apply(a, Ee(w.value, t, r, n, i, c - (l.offset || 0)));
|
3775
3796
|
continue;
|
3776
3797
|
}
|
3777
3798
|
}
|
3778
|
-
return
|
3799
|
+
return yi(a);
|
3779
3800
|
}
|
3780
|
-
function
|
3781
|
-
return t ?
|
3782
|
-
return r[n] =
|
3801
|
+
function _i(e, t) {
|
3802
|
+
return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3803
|
+
return r[n] = R(R({}, e[n]), t[n] || {}), r;
|
3783
3804
|
}, {})) : e;
|
3784
3805
|
}
|
3785
|
-
function
|
3806
|
+
function Ei(e, t) {
|
3786
3807
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3787
|
-
return r[n] =
|
3788
|
-
},
|
3808
|
+
return r[n] = _i(e[n], t[n]), r;
|
3809
|
+
}, R({}, e)) : e;
|
3789
3810
|
}
|
3790
|
-
function
|
3811
|
+
function je(e) {
|
3791
3812
|
return {
|
3792
3813
|
create: function() {
|
3793
3814
|
return {
|
@@ -3801,39 +3822,39 @@ function Fe(e) {
|
|
3801
3822
|
}
|
3802
3823
|
};
|
3803
3824
|
}
|
3804
|
-
function
|
3825
|
+
function xi(e) {
|
3805
3826
|
return e === void 0 && (e = {
|
3806
3827
|
number: {},
|
3807
3828
|
dateTime: {},
|
3808
3829
|
pluralRules: {}
|
3809
3830
|
}), {
|
3810
|
-
getNumberFormat:
|
3831
|
+
getNumberFormat: De(function() {
|
3811
3832
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3812
3833
|
r[n] = arguments[n];
|
3813
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3834
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
|
3814
3835
|
}, {
|
3815
|
-
cache:
|
3816
|
-
strategy:
|
3836
|
+
cache: je(e.number),
|
3837
|
+
strategy: $e.variadic
|
3817
3838
|
}),
|
3818
|
-
getDateTimeFormat:
|
3839
|
+
getDateTimeFormat: De(function() {
|
3819
3840
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3820
3841
|
r[n] = arguments[n];
|
3821
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3842
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
|
3822
3843
|
}, {
|
3823
|
-
cache:
|
3824
|
-
strategy:
|
3844
|
+
cache: je(e.dateTime),
|
3845
|
+
strategy: $e.variadic
|
3825
3846
|
}),
|
3826
|
-
getPluralRules:
|
3847
|
+
getPluralRules: De(function() {
|
3827
3848
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3828
3849
|
r[n] = arguments[n];
|
3829
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3850
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
|
3830
3851
|
}, {
|
3831
|
-
cache:
|
3832
|
-
strategy:
|
3852
|
+
cache: je(e.pluralRules),
|
3853
|
+
strategy: $e.variadic
|
3833
3854
|
})
|
3834
3855
|
};
|
3835
3856
|
}
|
3836
|
-
var
|
3857
|
+
var Si = (
|
3837
3858
|
/** @class */
|
3838
3859
|
function() {
|
3839
3860
|
function e(t, r, n, i) {
|
@@ -3865,13 +3886,13 @@ var xi = (
|
|
3865
3886
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3866
3887
|
var o = i || {};
|
3867
3888
|
o.formatters;
|
3868
|
-
var a =
|
3869
|
-
this.ast = e.__parse(t,
|
3889
|
+
var a = Ln(o, ["formatters"]);
|
3890
|
+
this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
|
3870
3891
|
} else
|
3871
3892
|
this.ast = t;
|
3872
3893
|
if (!Array.isArray(this.ast))
|
3873
3894
|
throw new TypeError("A message must be provided as a String or AST.");
|
3874
|
-
this.formats =
|
3895
|
+
this.formats = Ei(e.formats, n), this.formatters = i && i.formatters || xi(this.formatterCache);
|
3875
3896
|
}
|
3876
3897
|
return Object.defineProperty(e, "defaultLocale", {
|
3877
3898
|
get: function() {
|
@@ -3884,7 +3905,7 @@ var xi = (
|
|
3884
3905
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3885
3906
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3886
3907
|
}
|
3887
|
-
}, e.__parse =
|
3908
|
+
}, e.__parse = bi, e.formats = {
|
3888
3909
|
number: {
|
3889
3910
|
integer: {
|
3890
3911
|
maximumFractionDigits: 0
|
@@ -3945,7 +3966,7 @@ var xi = (
|
|
3945
3966
|
}, e;
|
3946
3967
|
}()
|
3947
3968
|
);
|
3948
|
-
function
|
3969
|
+
function wi(e, t) {
|
3949
3970
|
if (t == null)
|
3950
3971
|
return;
|
3951
3972
|
if (t in e)
|
@@ -3966,36 +3987,36 @@ function Si(e, t) {
|
|
3966
3987
|
n = void 0;
|
3967
3988
|
return n;
|
3968
3989
|
}
|
3969
|
-
const D = {},
|
3990
|
+
const D = {}, Ti = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), gr = (e, t) => {
|
3970
3991
|
if (t == null)
|
3971
3992
|
return;
|
3972
3993
|
if (t in D && e in D[t])
|
3973
3994
|
return D[t][e];
|
3974
|
-
const r =
|
3995
|
+
const r = Ne(t);
|
3975
3996
|
for (let n = 0; n < r.length; n++) {
|
3976
|
-
const i = r[n], s =
|
3997
|
+
const i = r[n], s = Ai(i, e);
|
3977
3998
|
if (s)
|
3978
|
-
return
|
3999
|
+
return Ti(e, t, s);
|
3979
4000
|
}
|
3980
4001
|
};
|
3981
|
-
let
|
3982
|
-
const me =
|
3983
|
-
function
|
3984
|
-
return
|
4002
|
+
let ht;
|
4003
|
+
const me = Be({});
|
4004
|
+
function Hi(e) {
|
4005
|
+
return ht[e] || null;
|
3985
4006
|
}
|
3986
4007
|
function yr(e) {
|
3987
|
-
return e in
|
4008
|
+
return e in ht;
|
3988
4009
|
}
|
3989
|
-
function
|
4010
|
+
function Ai(e, t) {
|
3990
4011
|
if (!yr(e))
|
3991
4012
|
return null;
|
3992
|
-
const r =
|
3993
|
-
return
|
4013
|
+
const r = Hi(e);
|
4014
|
+
return wi(r, t);
|
3994
4015
|
}
|
3995
|
-
function
|
4016
|
+
function Bi(e) {
|
3996
4017
|
if (e == null)
|
3997
4018
|
return;
|
3998
|
-
const t =
|
4019
|
+
const t = Ne(e);
|
3999
4020
|
for (let r = 0; r < t.length; r++) {
|
4000
4021
|
const n = t[r];
|
4001
4022
|
if (yr(n))
|
@@ -4003,28 +4024,28 @@ function Ai(e) {
|
|
4003
4024
|
}
|
4004
4025
|
}
|
4005
4026
|
function vr(e, ...t) {
|
4006
|
-
delete D[e], me.update((r) => (r[e] =
|
4027
|
+
delete D[e], me.update((r) => (r[e] = Nn.all([r[e] || {}, ...t]), r));
|
4007
4028
|
}
|
4008
|
-
|
4029
|
+
ne(
|
4009
4030
|
[me],
|
4010
4031
|
([e]) => Object.keys(e)
|
4011
4032
|
);
|
4012
|
-
me.subscribe((e) =>
|
4033
|
+
me.subscribe((e) => ht = e);
|
4013
4034
|
const xe = {};
|
4014
|
-
function
|
4035
|
+
function Pi(e, t) {
|
4015
4036
|
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
4016
4037
|
}
|
4017
4038
|
function _r(e) {
|
4018
4039
|
return xe[e];
|
4019
4040
|
}
|
4020
|
-
function
|
4021
|
-
return
|
4041
|
+
function Oi(e) {
|
4042
|
+
return Ne(e).map((t) => {
|
4022
4043
|
const r = _r(t);
|
4023
4044
|
return [t, r ? [...r] : []];
|
4024
4045
|
}).filter(([, t]) => t.length > 0);
|
4025
4046
|
}
|
4026
|
-
function
|
4027
|
-
return e == null ? !1 :
|
4047
|
+
function ot(e) {
|
4048
|
+
return e == null ? !1 : Ne(e).some(
|
4028
4049
|
(t) => {
|
4029
4050
|
var r;
|
4030
4051
|
return (r = _r(t)) == null ? void 0 : r.size;
|
@@ -4033,25 +4054,25 @@ function rt(e) {
|
|
4033
4054
|
}
|
4034
4055
|
function Ni(e, t) {
|
4035
4056
|
return Promise.all(
|
4036
|
-
t.map((n) => (
|
4057
|
+
t.map((n) => (Pi(e, n), n().then((i) => i.default || i)))
|
4037
4058
|
).then((n) => vr(e, ...n));
|
4038
4059
|
}
|
4039
|
-
const
|
4060
|
+
const se = {};
|
4040
4061
|
function Er(e) {
|
4041
|
-
if (!
|
4042
|
-
return e in
|
4043
|
-
const t =
|
4044
|
-
return
|
4062
|
+
if (!ot(e))
|
4063
|
+
return e in se ? se[e] : Promise.resolve();
|
4064
|
+
const t = Oi(e);
|
4065
|
+
return se[e] = Promise.all(
|
4045
4066
|
t.map(
|
4046
4067
|
([r, n]) => Ni(r, n)
|
4047
4068
|
)
|
4048
4069
|
).then(() => {
|
4049
|
-
if (
|
4070
|
+
if (ot(e))
|
4050
4071
|
return Er(e);
|
4051
|
-
delete
|
4052
|
-
}),
|
4072
|
+
delete se[e];
|
4073
|
+
}), se[e];
|
4053
4074
|
}
|
4054
|
-
const
|
4075
|
+
const Li = {
|
4055
4076
|
number: {
|
4056
4077
|
scientific: { notation: "scientific" },
|
4057
4078
|
engineering: { notation: "engineering" },
|
@@ -4080,135 +4101,135 @@ const Oi = {
|
|
4080
4101
|
timeZoneName: "short"
|
4081
4102
|
}
|
4082
4103
|
}
|
4083
|
-
},
|
4104
|
+
}, Ii = {
|
4084
4105
|
fallbackLocale: null,
|
4085
4106
|
loadingDelay: 200,
|
4086
|
-
formats:
|
4107
|
+
formats: Li,
|
4087
4108
|
warnOnMissingMessages: !0,
|
4088
4109
|
handleMissingMessage: void 0,
|
4089
4110
|
ignoreTag: !0
|
4090
|
-
},
|
4091
|
-
function
|
4092
|
-
return
|
4111
|
+
}, Ci = Ii;
|
4112
|
+
function ee() {
|
4113
|
+
return Ci;
|
4093
4114
|
}
|
4094
|
-
const
|
4095
|
-
var
|
4115
|
+
const ke = Be(!1);
|
4116
|
+
var Mi = Object.defineProperty, Ri = Object.defineProperties, Gi = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $i = (e, t) => {
|
4096
4117
|
for (var r in t || (t = {}))
|
4097
|
-
|
4098
|
-
if (
|
4099
|
-
for (var r of
|
4100
|
-
|
4118
|
+
Ui.call(t, r) && Ct(e, r, t[r]);
|
4119
|
+
if (It)
|
4120
|
+
for (var r of It(t))
|
4121
|
+
Di.call(t, r) && Ct(e, r, t[r]);
|
4101
4122
|
return e;
|
4102
|
-
}, Fi = (e, t) =>
|
4103
|
-
let
|
4104
|
-
const
|
4105
|
-
function
|
4123
|
+
}, Fi = (e, t) => Ri(e, Gi(t));
|
4124
|
+
let at;
|
4125
|
+
const we = Be(null);
|
4126
|
+
function Mt(e) {
|
4106
4127
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4107
4128
|
}
|
4108
|
-
function
|
4109
|
-
const r =
|
4110
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
4129
|
+
function Ne(e, t = ee().fallbackLocale) {
|
4130
|
+
const r = Mt(e);
|
4131
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
|
4111
4132
|
}
|
4112
4133
|
function V() {
|
4113
|
-
return
|
4134
|
+
return at ?? void 0;
|
4114
4135
|
}
|
4115
|
-
|
4116
|
-
|
4136
|
+
we.subscribe((e) => {
|
4137
|
+
at = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
4117
4138
|
});
|
4118
|
-
const
|
4119
|
-
if (e &&
|
4120
|
-
const { loadingDelay: t } =
|
4139
|
+
const ji = (e) => {
|
4140
|
+
if (e && Bi(e) && ot(e)) {
|
4141
|
+
const { loadingDelay: t } = ee();
|
4121
4142
|
let r;
|
4122
4143
|
return typeof window < "u" && V() != null && t ? r = window.setTimeout(
|
4123
|
-
() =>
|
4144
|
+
() => ke.set(!0),
|
4124
4145
|
t
|
4125
|
-
) :
|
4126
|
-
|
4146
|
+
) : ke.set(!0), Er(e).then(() => {
|
4147
|
+
we.set(e);
|
4127
4148
|
}).finally(() => {
|
4128
|
-
clearTimeout(r),
|
4149
|
+
clearTimeout(r), ke.set(!1);
|
4129
4150
|
});
|
4130
4151
|
}
|
4131
|
-
return
|
4132
|
-
}, de = Fi(
|
4133
|
-
set:
|
4134
|
-
}),
|
4152
|
+
return we.set(e);
|
4153
|
+
}, de = Fi($i({}, we), {
|
4154
|
+
set: ji
|
4155
|
+
}), Le = (e) => {
|
4135
4156
|
const t = /* @__PURE__ */ Object.create(null);
|
4136
4157
|
return (n) => {
|
4137
4158
|
const i = JSON.stringify(n);
|
4138
4159
|
return i in t ? t[i] : t[i] = e(n);
|
4139
4160
|
};
|
4140
4161
|
};
|
4141
|
-
var
|
4162
|
+
var ki = Object.defineProperty, Te = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
4142
4163
|
for (var r in t || (t = {}))
|
4143
|
-
xr.call(t, r) &&
|
4144
|
-
if (
|
4145
|
-
for (var r of
|
4146
|
-
Sr.call(t, r) &&
|
4164
|
+
xr.call(t, r) && Rt(e, r, t[r]);
|
4165
|
+
if (Te)
|
4166
|
+
for (var r of Te(t))
|
4167
|
+
Sr.call(t, r) && Rt(e, r, t[r]);
|
4147
4168
|
return e;
|
4148
|
-
},
|
4169
|
+
}, ie = (e, t) => {
|
4149
4170
|
var r = {};
|
4150
4171
|
for (var n in e)
|
4151
4172
|
xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4152
|
-
if (e != null &&
|
4153
|
-
for (var n of
|
4173
|
+
if (e != null && Te)
|
4174
|
+
for (var n of Te(e))
|
4154
4175
|
t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
|
4155
4176
|
return r;
|
4156
4177
|
};
|
4157
|
-
const
|
4158
|
-
const { formats: r } =
|
4178
|
+
const he = (e, t) => {
|
4179
|
+
const { formats: r } = ee();
|
4159
4180
|
if (e in r && t in r[e])
|
4160
4181
|
return r[e][t];
|
4161
4182
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4162
|
-
},
|
4183
|
+
}, Vi = Le(
|
4163
4184
|
(e) => {
|
4164
|
-
var t = e, { locale: r, format: n } = t, i =
|
4185
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
4165
4186
|
if (r == null)
|
4166
4187
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4167
|
-
return n && (i =
|
4188
|
+
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
4168
4189
|
}
|
4169
|
-
),
|
4190
|
+
), Xi = Le(
|
4170
4191
|
(e) => {
|
4171
|
-
var t = e, { locale: r, format: n } = t, i =
|
4192
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
4172
4193
|
if (r == null)
|
4173
4194
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4174
|
-
return n ? i =
|
4195
|
+
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
4175
4196
|
}
|
4176
|
-
),
|
4197
|
+
), Wi = Le(
|
4177
4198
|
(e) => {
|
4178
|
-
var t = e, { locale: r, format: n } = t, i =
|
4199
|
+
var t = e, { locale: r, format: n } = t, i = ie(t, ["locale", "format"]);
|
4179
4200
|
if (r == null)
|
4180
4201
|
throw new Error(
|
4181
4202
|
'[svelte-i18n] A "locale" must be set to format time values'
|
4182
4203
|
);
|
4183
|
-
return n ? i =
|
4204
|
+
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
4184
4205
|
}
|
4185
|
-
),
|
4206
|
+
), zi = (e = {}) => {
|
4186
4207
|
var t = e, {
|
4187
4208
|
locale: r = V()
|
4188
|
-
} = t, n =
|
4209
|
+
} = t, n = ie(t, [
|
4189
4210
|
"locale"
|
4190
4211
|
]);
|
4191
|
-
return
|
4192
|
-
},
|
4212
|
+
return Vi(lt({ locale: r }, n));
|
4213
|
+
}, Zi = (e = {}) => {
|
4193
4214
|
var t = e, {
|
4194
4215
|
locale: r = V()
|
4195
|
-
} = t, n =
|
4216
|
+
} = t, n = ie(t, [
|
4196
4217
|
"locale"
|
4197
4218
|
]);
|
4198
|
-
return
|
4199
|
-
},
|
4219
|
+
return Xi(lt({ locale: r }, n));
|
4220
|
+
}, Qi = (e = {}) => {
|
4200
4221
|
var t = e, {
|
4201
4222
|
locale: r = V()
|
4202
|
-
} = t, n =
|
4223
|
+
} = t, n = ie(t, [
|
4203
4224
|
"locale"
|
4204
4225
|
]);
|
4205
|
-
return
|
4206
|
-
},
|
4226
|
+
return Wi(lt({ locale: r }, n));
|
4227
|
+
}, Yi = Le(
|
4207
4228
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4208
|
-
(e, t = V()) => new
|
4209
|
-
ignoreTag:
|
4229
|
+
(e, t = V()) => new Si(e, t, ee().formats, {
|
4230
|
+
ignoreTag: ee().ignoreTag
|
4210
4231
|
})
|
4211
|
-
),
|
4232
|
+
), qi = (e, t = {}) => {
|
4212
4233
|
var r, n, i, s;
|
4213
4234
|
let o = t;
|
4214
4235
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -4223,7 +4244,7 @@ const le = (e, t) => {
|
|
4223
4244
|
);
|
4224
4245
|
let l = gr(e, h);
|
4225
4246
|
if (!l)
|
4226
|
-
l = (s = (i = (n = (r =
|
4247
|
+
l = (s = (i = (n = (r = ee()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
4227
4248
|
else if (typeof l != "string")
|
4228
4249
|
return console.warn(
|
4229
4250
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -4232,7 +4253,7 @@ const le = (e, t) => {
|
|
4232
4253
|
return l;
|
4233
4254
|
let m = l;
|
4234
4255
|
try {
|
4235
|
-
m =
|
4256
|
+
m = Yi(l, h).format(a);
|
4236
4257
|
} catch (c) {
|
4237
4258
|
c instanceof Error && console.warn(
|
4238
4259
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -4240,20 +4261,20 @@ const le = (e, t) => {
|
|
4240
4261
|
);
|
4241
4262
|
}
|
4242
4263
|
return m;
|
4243
|
-
},
|
4244
|
-
|
4245
|
-
|
4246
|
-
|
4247
|
-
|
4248
|
-
window.emWidgets = { topic:
|
4249
|
-
const
|
4250
|
-
function
|
4264
|
+
}, Ji = (e, t) => Qi(t).format(e), Ki = (e, t) => Zi(t).format(e), es = (e, t) => zi(t).format(e), ts = (e, t = V()) => gr(e, t), rs = ne([de, me], () => qi);
|
4265
|
+
ne([de], () => Ji);
|
4266
|
+
ne([de], () => Ki);
|
4267
|
+
ne([de], () => es);
|
4268
|
+
ne([de, me], () => ts);
|
4269
|
+
window.emWidgets = { topic: dn };
|
4270
|
+
const ns = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4271
|
+
function is(e, t) {
|
4251
4272
|
if (e) {
|
4252
4273
|
const r = document.createElement("style");
|
4253
4274
|
r.innerHTML = t, e.appendChild(r);
|
4254
4275
|
}
|
4255
4276
|
}
|
4256
|
-
function
|
4277
|
+
function ss(e, t) {
|
4257
4278
|
const r = new URL(t);
|
4258
4279
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4259
4280
|
const i = document.createElement("style");
|
@@ -4262,7 +4283,7 @@ function is(e, t) {
|
|
4262
4283
|
console.error("There was an error while trying to load client styling from URL", n);
|
4263
4284
|
});
|
4264
4285
|
}
|
4265
|
-
function
|
4286
|
+
function os(e, t, r) {
|
4266
4287
|
if (window.emMessageBus) {
|
4267
4288
|
const n = document.createElement("style");
|
4268
4289
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4270,10 +4291,10 @@ function ss(e, t, r) {
|
|
4270
4291
|
});
|
4271
4292
|
}
|
4272
4293
|
}
|
4273
|
-
function
|
4294
|
+
function Gt(e, t) {
|
4274
4295
|
vr(e, t);
|
4275
4296
|
}
|
4276
|
-
const
|
4297
|
+
const Ut = {
|
4277
4298
|
en: {
|
4278
4299
|
lobbyName: "Lobby",
|
4279
4300
|
myGamesName: "My games"
|
@@ -4359,176 +4380,176 @@ if (typeof window < "u") {
|
|
4359
4380
|
}
|
4360
4381
|
};
|
4361
4382
|
};
|
4362
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
4383
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-DAdBGKKb.js").then(({ default: t }) => {
|
4363
4384
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
4364
4385
|
});
|
4365
4386
|
}
|
4366
|
-
function
|
4387
|
+
function as(e) {
|
4367
4388
|
Rr(e, "svelte-2g6deg", ".CasinoCategoriesLoading.svelte-2g6deg{height:52px}p.svelte-2g6deg{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-2g6deg{background:var( --emw--categories-color-primary, var(--emw--color-primary, #D0046C))}");
|
4368
4389
|
}
|
4369
|
-
function
|
4390
|
+
function us(e) {
|
4370
4391
|
let t, r, n, i;
|
4371
4392
|
return {
|
4372
4393
|
c() {
|
4373
|
-
t = k("div"), r = k("casino-slider"),
|
4394
|
+
t = k("div"), r = k("casino-slider"), v(
|
4374
4395
|
r,
|
4375
4396
|
"lang",
|
4376
4397
|
/*lang*/
|
4377
4398
|
e[3]
|
4378
|
-
),
|
4399
|
+
), v(
|
4379
4400
|
r,
|
4380
4401
|
"datasource",
|
4381
4402
|
/*datasource*/
|
4382
4403
|
e[2]
|
4383
|
-
),
|
4404
|
+
), v(
|
4384
4405
|
r,
|
4385
4406
|
"endpoint",
|
4386
4407
|
/*endpoint*/
|
4387
4408
|
e[1]
|
4388
|
-
),
|
4409
|
+
), v(r, "identity", ut), v(
|
4389
4410
|
r,
|
4390
4411
|
"favoritesnumber",
|
4391
4412
|
/*numberOfFavoredGames*/
|
4392
4413
|
e[16]
|
4393
|
-
),
|
4414
|
+
), v(
|
4394
4415
|
r,
|
4395
4416
|
"showsubgroups",
|
4396
4417
|
/*showsubgroups*/
|
4397
4418
|
e[8]
|
4398
|
-
),
|
4419
|
+
), v(
|
4399
4420
|
r,
|
4400
4421
|
"clientstyling",
|
4401
4422
|
/*clientstyling*/
|
4402
4423
|
e[4]
|
4403
|
-
),
|
4424
|
+
), v(
|
4404
4425
|
r,
|
4405
4426
|
"clientstylingurl",
|
4406
4427
|
/*clientstylingurl*/
|
4407
4428
|
e[5]
|
4408
|
-
),
|
4429
|
+
), v(
|
4409
4430
|
r,
|
4410
4431
|
"mbsource",
|
4411
4432
|
/*mbsource*/
|
4412
4433
|
e[12]
|
4413
|
-
),
|
4434
|
+
), v(
|
4414
4435
|
r,
|
4415
4436
|
"activeindex",
|
4416
4437
|
/*activecategory*/
|
4417
4438
|
e[0]
|
4418
|
-
),
|
4439
|
+
), v(
|
4419
4440
|
r,
|
4420
4441
|
"actionevent",
|
4421
4442
|
/*actionevent*/
|
4422
4443
|
e[6]
|
4423
|
-
),
|
4444
|
+
), v(
|
4424
4445
|
r,
|
4425
4446
|
"location",
|
4426
4447
|
/*location*/
|
4427
4448
|
e[7]
|
4428
|
-
),
|
4449
|
+
), v(
|
4429
4450
|
r,
|
4430
4451
|
"categoriesicon",
|
4431
4452
|
/*categoriesicon*/
|
4432
4453
|
e[9]
|
4433
|
-
),
|
4454
|
+
), v(
|
4434
4455
|
r,
|
4435
4456
|
"lobbyiconimage",
|
4436
4457
|
/*lobbyiconimage*/
|
4437
4458
|
e[10]
|
4438
|
-
),
|
4459
|
+
), v(
|
4439
4460
|
r,
|
4440
4461
|
"mygamesiconimage",
|
4441
4462
|
/*mygamesiconimage*/
|
4442
4463
|
e[11]
|
4443
|
-
),
|
4464
|
+
), ce(t, "class", "CasinoCategoriesContainer svelte-2g6deg");
|
4444
4465
|
},
|
4445
4466
|
m(s, o) {
|
4446
|
-
|
4467
|
+
le(s, t, o), jt(t, r), n || (i = Mr(
|
4447
4468
|
/*sendSliderData*/
|
4448
4469
|
e[17].call(null, r)
|
4449
4470
|
), n = !0);
|
4450
4471
|
},
|
4451
4472
|
p(s, o) {
|
4452
4473
|
o[0] & /*lang*/
|
4453
|
-
8 &&
|
4474
|
+
8 && v(
|
4454
4475
|
r,
|
4455
4476
|
"lang",
|
4456
4477
|
/*lang*/
|
4457
4478
|
s[3]
|
4458
4479
|
), o[0] & /*datasource*/
|
4459
|
-
4 &&
|
4480
|
+
4 && v(
|
4460
4481
|
r,
|
4461
4482
|
"datasource",
|
4462
4483
|
/*datasource*/
|
4463
4484
|
s[2]
|
4464
4485
|
), o[0] & /*endpoint*/
|
4465
|
-
2 &&
|
4486
|
+
2 && v(
|
4466
4487
|
r,
|
4467
4488
|
"endpoint",
|
4468
4489
|
/*endpoint*/
|
4469
4490
|
s[1]
|
4470
4491
|
), o[0] & /*numberOfFavoredGames*/
|
4471
|
-
65536 &&
|
4492
|
+
65536 && v(
|
4472
4493
|
r,
|
4473
4494
|
"favoritesnumber",
|
4474
4495
|
/*numberOfFavoredGames*/
|
4475
4496
|
s[16]
|
4476
4497
|
), o[0] & /*showsubgroups*/
|
4477
|
-
256 &&
|
4498
|
+
256 && v(
|
4478
4499
|
r,
|
4479
4500
|
"showsubgroups",
|
4480
4501
|
/*showsubgroups*/
|
4481
4502
|
s[8]
|
4482
4503
|
), o[0] & /*clientstyling*/
|
4483
|
-
16 &&
|
4504
|
+
16 && v(
|
4484
4505
|
r,
|
4485
4506
|
"clientstyling",
|
4486
4507
|
/*clientstyling*/
|
4487
4508
|
s[4]
|
4488
4509
|
), o[0] & /*clientstylingurl*/
|
4489
|
-
32 &&
|
4510
|
+
32 && v(
|
4490
4511
|
r,
|
4491
4512
|
"clientstylingurl",
|
4492
4513
|
/*clientstylingurl*/
|
4493
4514
|
s[5]
|
4494
4515
|
), o[0] & /*mbsource*/
|
4495
|
-
4096 &&
|
4516
|
+
4096 && v(
|
4496
4517
|
r,
|
4497
4518
|
"mbsource",
|
4498
4519
|
/*mbsource*/
|
4499
4520
|
s[12]
|
4500
4521
|
), o[0] & /*activecategory*/
|
4501
|
-
1 &&
|
4522
|
+
1 && v(
|
4502
4523
|
r,
|
4503
4524
|
"activeindex",
|
4504
4525
|
/*activecategory*/
|
4505
4526
|
s[0]
|
4506
4527
|
), o[0] & /*actionevent*/
|
4507
|
-
64 &&
|
4528
|
+
64 && v(
|
4508
4529
|
r,
|
4509
4530
|
"actionevent",
|
4510
4531
|
/*actionevent*/
|
4511
4532
|
s[6]
|
4512
4533
|
), o[0] & /*location*/
|
4513
|
-
128 &&
|
4534
|
+
128 && v(
|
4514
4535
|
r,
|
4515
4536
|
"location",
|
4516
4537
|
/*location*/
|
4517
4538
|
s[7]
|
4518
4539
|
), o[0] & /*categoriesicon*/
|
4519
|
-
512 &&
|
4540
|
+
512 && v(
|
4520
4541
|
r,
|
4521
4542
|
"categoriesicon",
|
4522
4543
|
/*categoriesicon*/
|
4523
4544
|
s[9]
|
4524
4545
|
), o[0] & /*lobbyiconimage*/
|
4525
|
-
1024 &&
|
4546
|
+
1024 && v(
|
4526
4547
|
r,
|
4527
4548
|
"lobbyiconimage",
|
4528
4549
|
/*lobbyiconimage*/
|
4529
4550
|
s[10]
|
4530
4551
|
), o[0] & /*mygamesiconimage*/
|
4531
|
-
2048 &&
|
4552
|
+
2048 && v(
|
4532
4553
|
r,
|
4533
4554
|
"mygamesiconimage",
|
4534
4555
|
/*mygamesiconimage*/
|
@@ -4536,48 +4557,48 @@ function as(e) {
|
|
4536
4557
|
);
|
4537
4558
|
},
|
4538
4559
|
d(s) {
|
4539
|
-
s &&
|
4560
|
+
s && re(t), n = !1, i();
|
4540
4561
|
}
|
4541
4562
|
};
|
4542
4563
|
}
|
4543
|
-
function
|
4564
|
+
function hs(e) {
|
4544
4565
|
let t;
|
4545
4566
|
return {
|
4546
4567
|
c() {
|
4547
|
-
t = k("p"), t.textContent = "500 Error - Internal Server Error.",
|
4568
|
+
t = k("p"), t.textContent = "500 Error - Internal Server Error.", ce(t, "class", "SearchLoading svelte-2g6deg");
|
4548
4569
|
},
|
4549
4570
|
m(r, n) {
|
4550
|
-
|
4571
|
+
le(r, t, n);
|
4551
4572
|
},
|
4552
4573
|
p: P,
|
4553
4574
|
d(r) {
|
4554
|
-
r &&
|
4575
|
+
r && re(t);
|
4555
4576
|
}
|
4556
4577
|
};
|
4557
4578
|
}
|
4558
|
-
function
|
4579
|
+
function ls(e) {
|
4559
4580
|
let t;
|
4560
4581
|
return {
|
4561
4582
|
c() {
|
4562
|
-
t = k("div"),
|
4583
|
+
t = k("div"), ce(t, "class", "CasinoCategoriesLoading svelte-2g6deg");
|
4563
4584
|
},
|
4564
4585
|
m(r, n) {
|
4565
|
-
|
4586
|
+
le(r, t, n);
|
4566
4587
|
},
|
4567
4588
|
p: P,
|
4568
4589
|
d(r) {
|
4569
|
-
r &&
|
4590
|
+
r && re(t);
|
4570
4591
|
}
|
4571
4592
|
};
|
4572
4593
|
}
|
4573
|
-
function
|
4594
|
+
function cs(e) {
|
4574
4595
|
let t;
|
4575
4596
|
function r(s, o) {
|
4576
4597
|
return (
|
4577
4598
|
/*isLoading*/
|
4578
|
-
s[13] ||
|
4599
|
+
s[13] || fs || ms ? ls : (
|
4579
4600
|
/*hasErrors*/
|
4580
|
-
s[15] ?
|
4601
|
+
s[15] ? hs : us
|
4581
4602
|
)
|
4582
4603
|
);
|
4583
4604
|
}
|
@@ -4587,7 +4608,7 @@ function ls(e) {
|
|
4587
4608
|
t = k("div"), i.c();
|
4588
4609
|
},
|
4589
4610
|
m(s, o) {
|
4590
|
-
|
4611
|
+
le(s, t, o), i.m(t, null), e[27](t);
|
4591
4612
|
},
|
4592
4613
|
p(s, o) {
|
4593
4614
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
@@ -4595,54 +4616,54 @@ function ls(e) {
|
|
4595
4616
|
i: P,
|
4596
4617
|
o: P,
|
4597
4618
|
d(s) {
|
4598
|
-
s &&
|
4619
|
+
s && re(t), i.d(), e[27](null);
|
4599
4620
|
}
|
4600
4621
|
};
|
4601
4622
|
}
|
4602
|
-
let
|
4603
|
-
function
|
4623
|
+
let ut = "CasinoSliderData", fs = !1, ms = !1;
|
4624
|
+
function ds(e, t, r) {
|
4604
4625
|
let n;
|
4605
|
-
Cr(e,
|
4606
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups:
|
4626
|
+
Cr(e, rs, (f) => r(33, n = f));
|
4627
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: y = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: O = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: N = "" } = t, { categoriesicon: L = "" } = t, { lobbyiconimage: M = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, I, $, F = !0, X, W = [], j = !1, wr = window.navigator.userAgent, G, ct, ft = !1, Ie = !1;
|
4607
4628
|
const Tr = () => {
|
4608
|
-
fetch(
|
4629
|
+
fetch(N).then((B) => B.json()).then((B) => {
|
4609
4630
|
Object.keys(B).forEach((be) => {
|
4610
|
-
|
4631
|
+
Gt(be, B[be]);
|
4611
4632
|
});
|
4612
4633
|
}).catch((B) => {
|
4613
4634
|
console.log(B);
|
4614
4635
|
});
|
4615
4636
|
};
|
4616
|
-
Object.keys(
|
4617
|
-
|
4637
|
+
Object.keys(Ut).forEach((f) => {
|
4638
|
+
Gt(f, Ut[f]);
|
4618
4639
|
});
|
4619
4640
|
const Hr = () => {
|
4620
|
-
|
4641
|
+
ft == !1 && (m == "true" || u == "true" || l == "true") && W.splice(1, 0, {
|
4621
4642
|
// @ts-ignore
|
4622
4643
|
id: "MYGAMES",
|
4623
|
-
name:
|
4644
|
+
name: I,
|
4624
4645
|
href: "",
|
4625
4646
|
games: []
|
4626
|
-
}), kr(),
|
4627
|
-
}, Ar = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13,
|
4628
|
-
if (
|
4647
|
+
}), kr(), ft = !0, r(26, Ie = !0), Ce();
|
4648
|
+
}, Ar = () => (i || (X = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, F = !1), console.error(X)), s || (X = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, F = !1), console.error(X)), (!o || o.length < 2) && (X = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, F = !1), console.error(X)), j), Br = () => {
|
4649
|
+
if (I = n("myGamesName"), $ = n("lobbyName"), !Ar()) {
|
4629
4650
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
4630
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
4651
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", ns(wr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
|
4631
4652
|
(B) => {
|
4632
|
-
let be = w.split(","),
|
4633
|
-
let
|
4634
|
-
if (
|
4653
|
+
let be = w.split(","), Nr = B.items.filter((dt) => {
|
4654
|
+
let Me = !1;
|
4655
|
+
if (dt.games.total > 0 && (Me = !0, w))
|
4635
4656
|
for (let Lr of be)
|
4636
|
-
|
4637
|
-
return
|
4657
|
+
dt.flags == Lr && (Me = !1);
|
4658
|
+
return Me;
|
4638
4659
|
});
|
4639
|
-
W = [], W = W.concat(
|
4660
|
+
W = [], W = W.concat(Nr), W.unshift({
|
4640
4661
|
// @ts-ignore
|
4641
4662
|
id: "LOBBY",
|
4642
|
-
name:
|
4663
|
+
name: $,
|
4643
4664
|
href: "",
|
4644
4665
|
games: []
|
4645
|
-
}), r(13,
|
4666
|
+
}), r(13, F = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
|
4646
4667
|
},
|
4647
4668
|
(B) => {
|
4648
4669
|
r(15, j = !0), console.error("There was an error while fetching the categories", B);
|
@@ -4654,38 +4675,38 @@ function ms(e, t, r) {
|
|
4654
4675
|
}, Pr = () => {
|
4655
4676
|
let f = b.split("$");
|
4656
4677
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
4657
|
-
},
|
4678
|
+
}, Ce = () => {
|
4658
4679
|
window.postMessage(
|
4659
4680
|
{
|
4660
4681
|
type: "SliderData",
|
4661
|
-
identity:
|
4682
|
+
identity: ut,
|
4662
4683
|
data: W
|
4663
4684
|
},
|
4664
4685
|
window.location.href
|
4665
4686
|
);
|
4666
|
-
},
|
4667
|
-
f.data && f.data.type == "SliderLoaded" &&
|
4687
|
+
}, mt = (f) => {
|
4688
|
+
f.data && f.data.type == "SliderLoaded" && ut == f.data.identity && Ce();
|
4668
4689
|
};
|
4669
|
-
jr(() => (window.addEventListener("message",
|
4670
|
-
window.
|
4690
|
+
jr(() => (window.addEventListener("message", mt, !1), () => {
|
4691
|
+
window.removeEventListener("message", mt);
|
4671
4692
|
}));
|
4672
|
-
function
|
4673
|
-
|
4674
|
-
|
4693
|
+
function Or(f) {
|
4694
|
+
Ve[f ? "unshift" : "push"](() => {
|
4695
|
+
G = f, r(14, G);
|
4675
4696
|
});
|
4676
4697
|
}
|
4677
4698
|
return e.$$set = (f) => {
|
4678
|
-
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(18, a = f.userid), "session" in f && r(19, h = f.session), "mostplayed" in f && r(20, u = f.mostplayed), "lastplayed" in f && r(21, l = f.lastplayed), "favorites" in f && r(22, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(23, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8,
|
4699
|
+
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(18, a = f.userid), "session" in f && r(19, h = f.session), "mostplayed" in f && r(20, u = f.mostplayed), "lastplayed" in f && r(21, l = f.lastplayed), "favorites" in f && r(22, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, y = f.actionevent), "sessioncheck" in f && r(23, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, O = f.showsubgroups), "filteredcategories" in f && r(24, w = f.filteredcategories), "translationurl" in f && r(25, N = f.translationurl), "categoriesicon" in f && r(9, L = f.categoriesicon), "lobbyiconimage" in f && r(10, M = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
|
4679
4700
|
}, e.$$.update = () => {
|
4680
4701
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4681
4702
|
14 && i && s && o && Br(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
4682
|
-
7872514 && i && h && (u || l || m) &&
|
4683
|
-
67641345 &&
|
4684
|
-
33554432 &&
|
4685
|
-
16400 && c &&
|
4686
|
-
16416 && d &&
|
4687
|
-
20480 &&
|
4688
|
-
}, r(16,
|
4703
|
+
7872514 && i && h && (u || l || m) && !F && Hr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
4704
|
+
67641345 && !F && b && (!h || Ie) && Pr(), e.$$.dirty[0] & /*translationurl*/
|
4705
|
+
33554432 && N && Tr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4706
|
+
16400 && c && G && is(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4707
|
+
16416 && d && G && ss(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4708
|
+
20480 && G && os(G, `${A}.Style`);
|
4709
|
+
}, r(16, ct = 0), [
|
4689
4710
|
b,
|
4690
4711
|
i,
|
4691
4712
|
s,
|
@@ -4694,16 +4715,16 @@ function ms(e, t, r) {
|
|
4694
4715
|
d,
|
4695
4716
|
y,
|
4696
4717
|
C,
|
4697
|
-
|
4718
|
+
O,
|
4698
4719
|
L,
|
4699
4720
|
M,
|
4700
|
-
|
4721
|
+
_,
|
4701
4722
|
A,
|
4702
|
-
|
4703
|
-
|
4723
|
+
F,
|
4724
|
+
G,
|
4704
4725
|
j,
|
4705
|
-
|
4706
|
-
|
4726
|
+
ct,
|
4727
|
+
Ce,
|
4707
4728
|
a,
|
4708
4729
|
h,
|
4709
4730
|
u,
|
@@ -4711,19 +4732,19 @@ function ms(e, t, r) {
|
|
4711
4732
|
m,
|
4712
4733
|
T,
|
4713
4734
|
w,
|
4714
|
-
|
4715
|
-
|
4716
|
-
|
4735
|
+
N,
|
4736
|
+
Ie,
|
4737
|
+
Or
|
4717
4738
|
];
|
4718
4739
|
}
|
4719
|
-
class
|
4740
|
+
class bs extends Jr {
|
4720
4741
|
constructor(t) {
|
4721
4742
|
super(), Yr(
|
4722
4743
|
this,
|
4723
4744
|
t,
|
4724
|
-
|
4725
|
-
|
4726
|
-
|
4745
|
+
ds,
|
4746
|
+
cs,
|
4747
|
+
$t,
|
4727
4748
|
{
|
4728
4749
|
endpoint: 1,
|
4729
4750
|
datasource: 2,
|
@@ -4747,7 +4768,7 @@ class ds extends Jr {
|
|
4747
4768
|
mygamesiconimage: 11,
|
4748
4769
|
mbsource: 12
|
4749
4770
|
},
|
4750
|
-
|
4771
|
+
as,
|
4751
4772
|
[-1, -1]
|
4752
4773
|
);
|
4753
4774
|
}
|
@@ -4755,162 +4776,161 @@ class ds extends Jr {
|
|
4755
4776
|
return this.$$.ctx[1];
|
4756
4777
|
}
|
4757
4778
|
set endpoint(t) {
|
4758
|
-
this.$$set({ endpoint: t }),
|
4779
|
+
this.$$set({ endpoint: t }), x();
|
4759
4780
|
}
|
4760
4781
|
get datasource() {
|
4761
4782
|
return this.$$.ctx[2];
|
4762
4783
|
}
|
4763
4784
|
set datasource(t) {
|
4764
|
-
this.$$set({ datasource: t }),
|
4785
|
+
this.$$set({ datasource: t }), x();
|
4765
4786
|
}
|
4766
4787
|
get lang() {
|
4767
4788
|
return this.$$.ctx[3];
|
4768
4789
|
}
|
4769
4790
|
set lang(t) {
|
4770
|
-
this.$$set({ lang: t }),
|
4791
|
+
this.$$set({ lang: t }), x();
|
4771
4792
|
}
|
4772
4793
|
get userid() {
|
4773
4794
|
return this.$$.ctx[18];
|
4774
4795
|
}
|
4775
4796
|
set userid(t) {
|
4776
|
-
this.$$set({ userid: t }),
|
4797
|
+
this.$$set({ userid: t }), x();
|
4777
4798
|
}
|
4778
4799
|
get session() {
|
4779
4800
|
return this.$$.ctx[19];
|
4780
4801
|
}
|
4781
4802
|
set session(t) {
|
4782
|
-
this.$$set({ session: t }),
|
4803
|
+
this.$$set({ session: t }), x();
|
4783
4804
|
}
|
4784
4805
|
get mostplayed() {
|
4785
4806
|
return this.$$.ctx[20];
|
4786
4807
|
}
|
4787
4808
|
set mostplayed(t) {
|
4788
|
-
this.$$set({ mostplayed: t }),
|
4809
|
+
this.$$set({ mostplayed: t }), x();
|
4789
4810
|
}
|
4790
4811
|
get lastplayed() {
|
4791
4812
|
return this.$$.ctx[21];
|
4792
4813
|
}
|
4793
4814
|
set lastplayed(t) {
|
4794
|
-
this.$$set({ lastplayed: t }),
|
4815
|
+
this.$$set({ lastplayed: t }), x();
|
4795
4816
|
}
|
4796
4817
|
get favorites() {
|
4797
4818
|
return this.$$.ctx[22];
|
4798
4819
|
}
|
4799
4820
|
set favorites(t) {
|
4800
|
-
this.$$set({ favorites: t }),
|
4821
|
+
this.$$set({ favorites: t }), x();
|
4801
4822
|
}
|
4802
4823
|
get clientstyling() {
|
4803
4824
|
return this.$$.ctx[4];
|
4804
4825
|
}
|
4805
4826
|
set clientstyling(t) {
|
4806
|
-
this.$$set({ clientstyling: t }),
|
4827
|
+
this.$$set({ clientstyling: t }), x();
|
4807
4828
|
}
|
4808
4829
|
get clientstylingurl() {
|
4809
4830
|
return this.$$.ctx[5];
|
4810
4831
|
}
|
4811
4832
|
set clientstylingurl(t) {
|
4812
|
-
this.$$set({ clientstylingurl: t }),
|
4833
|
+
this.$$set({ clientstylingurl: t }), x();
|
4813
4834
|
}
|
4814
4835
|
get activecategory() {
|
4815
4836
|
return this.$$.ctx[0];
|
4816
4837
|
}
|
4817
4838
|
set activecategory(t) {
|
4818
|
-
this.$$set({ activecategory: t }),
|
4839
|
+
this.$$set({ activecategory: t }), x();
|
4819
4840
|
}
|
4820
4841
|
get actionevent() {
|
4821
4842
|
return this.$$.ctx[6];
|
4822
4843
|
}
|
4823
4844
|
set actionevent(t) {
|
4824
|
-
this.$$set({ actionevent: t }),
|
4845
|
+
this.$$set({ actionevent: t }), x();
|
4825
4846
|
}
|
4826
4847
|
get sessioncheck() {
|
4827
4848
|
return this.$$.ctx[23];
|
4828
4849
|
}
|
4829
4850
|
set sessioncheck(t) {
|
4830
|
-
this.$$set({ sessioncheck: t }),
|
4851
|
+
this.$$set({ sessioncheck: t }), x();
|
4831
4852
|
}
|
4832
4853
|
get location() {
|
4833
4854
|
return this.$$.ctx[7];
|
4834
4855
|
}
|
4835
4856
|
set location(t) {
|
4836
|
-
this.$$set({ location: t }),
|
4857
|
+
this.$$set({ location: t }), x();
|
4837
4858
|
}
|
4838
4859
|
get showsubgroups() {
|
4839
4860
|
return this.$$.ctx[8];
|
4840
4861
|
}
|
4841
4862
|
set showsubgroups(t) {
|
4842
|
-
this.$$set({ showsubgroups: t }),
|
4863
|
+
this.$$set({ showsubgroups: t }), x();
|
4843
4864
|
}
|
4844
4865
|
get filteredcategories() {
|
4845
4866
|
return this.$$.ctx[24];
|
4846
4867
|
}
|
4847
4868
|
set filteredcategories(t) {
|
4848
|
-
this.$$set({ filteredcategories: t }),
|
4869
|
+
this.$$set({ filteredcategories: t }), x();
|
4849
4870
|
}
|
4850
4871
|
get translationurl() {
|
4851
4872
|
return this.$$.ctx[25];
|
4852
4873
|
}
|
4853
4874
|
set translationurl(t) {
|
4854
|
-
this.$$set({ translationurl: t }),
|
4875
|
+
this.$$set({ translationurl: t }), x();
|
4855
4876
|
}
|
4856
4877
|
get categoriesicon() {
|
4857
4878
|
return this.$$.ctx[9];
|
4858
4879
|
}
|
4859
4880
|
set categoriesicon(t) {
|
4860
|
-
this.$$set({ categoriesicon: t }),
|
4881
|
+
this.$$set({ categoriesicon: t }), x();
|
4861
4882
|
}
|
4862
4883
|
get lobbyiconimage() {
|
4863
4884
|
return this.$$.ctx[10];
|
4864
4885
|
}
|
4865
4886
|
set lobbyiconimage(t) {
|
4866
|
-
this.$$set({ lobbyiconimage: t }),
|
4887
|
+
this.$$set({ lobbyiconimage: t }), x();
|
4867
4888
|
}
|
4868
4889
|
get mygamesiconimage() {
|
4869
4890
|
return this.$$.ctx[11];
|
4870
4891
|
}
|
4871
4892
|
set mygamesiconimage(t) {
|
4872
|
-
this.$$set({ mygamesiconimage: t }),
|
4893
|
+
this.$$set({ mygamesiconimage: t }), x();
|
4873
4894
|
}
|
4874
4895
|
get mbsource() {
|
4875
4896
|
return this.$$.ctx[12];
|
4876
4897
|
}
|
4877
4898
|
set mbsource(t) {
|
4878
|
-
this.$$set({ mbsource: t }),
|
4899
|
+
this.$$set({ mbsource: t }), x();
|
4879
4900
|
}
|
4880
4901
|
}
|
4881
|
-
qr(
|
4902
|
+
qr(bs, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4882
4903
|
export {
|
4883
4904
|
de as $,
|
4884
|
-
|
4885
|
-
|
4886
|
-
|
4887
|
-
|
4888
|
-
ds as E,
|
4905
|
+
is as A,
|
4906
|
+
ss as B,
|
4907
|
+
os as C,
|
4908
|
+
bs as D,
|
4889
4909
|
Jr as S,
|
4890
4910
|
me as a,
|
4891
4911
|
vr as b,
|
4892
4912
|
qr as c,
|
4893
4913
|
Rr as d,
|
4894
|
-
|
4895
|
-
|
4896
|
-
|
4897
|
-
|
4914
|
+
re as e,
|
4915
|
+
x as f,
|
4916
|
+
ce as g,
|
4917
|
+
le as h,
|
4898
4918
|
Yr as i,
|
4899
|
-
|
4900
|
-
|
4901
|
-
|
4902
|
-
|
4919
|
+
jt as j,
|
4920
|
+
k,
|
4921
|
+
_s as l,
|
4922
|
+
ys as m,
|
4903
4923
|
P as n,
|
4904
4924
|
jr as o,
|
4905
|
-
|
4906
|
-
|
4907
|
-
|
4908
|
-
|
4909
|
-
|
4910
|
-
|
4911
|
-
|
4912
|
-
|
4913
|
-
|
4914
|
-
|
4915
|
-
|
4925
|
+
xs as p,
|
4926
|
+
vs as q,
|
4927
|
+
te as r,
|
4928
|
+
$t as s,
|
4929
|
+
Ve as t,
|
4930
|
+
ws as u,
|
4931
|
+
ps as v,
|
4932
|
+
Es as w,
|
4933
|
+
kt as x,
|
4934
|
+
gs as y,
|
4935
|
+
Ss as z
|
4916
4936
|
};
|