@everymatrix/casino-categories-slider-nd 1.86.26 → 1.86.28
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategoriesSliderNd-DuJnkBEW.cjs → CasinoCategoriesSliderNd-7co-j2C6.cjs} +4 -4
- package/components/{CasinoCategoriesSliderNd-iyxXh0t3.js → CasinoCategoriesSliderNd-B6VKvNBc.js} +846 -836
- package/components/{CasinoCategoriesSliderNd-DP88nZba.js → CasinoCategoriesSliderNd-WCGFkEUT.js} +823 -813
- package/components/{CasinoSliderNd-C_peB6vv.js → CasinoSliderNd-B190YBUU.js} +1 -1
- package/components/{CasinoSliderNd-BWvm077c.js → CasinoSliderNd-CxU4-wQV.js} +1 -1
- package/components/{CasinoSliderNd-C_b1HIyO.cjs → CasinoSliderNd-CzglhGy_.cjs} +1 -1
- package/es2015/casino-categories-slider-nd.cjs +1 -1
- package/es2015/casino-categories-slider-nd.js +1 -1
- package/esnext/casino-categories-slider-nd.js +1 -1
- package/package.json +1 -1
package/components/{CasinoCategoriesSliderNd-DP88nZba.js → CasinoCategoriesSliderNd-WCGFkEUT.js}
RENAMED
|
@@ -1,50 +1,50 @@
|
|
|
1
|
-
function
|
|
1
|
+
function L() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function Dt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function gt() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
|
-
function
|
|
10
|
-
e.forEach(
|
|
9
|
+
function re(e) {
|
|
10
|
+
e.forEach(Dt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function ut(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function Ft(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
return e === t ? !0 : (
|
|
18
|
+
let pe;
|
|
19
|
+
function _s(e, t) {
|
|
20
|
+
return e === t ? !0 : (pe || (pe = document.createElement("a")), pe.href = t, e === pe.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Cr(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function $t(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
29
|
-
return
|
|
29
|
+
return L;
|
|
30
30
|
}
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Rr(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push($t(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function jt(e, t) {
|
|
38
38
|
e.appendChild(t);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
40
|
+
function Gr(e, t, r) {
|
|
41
|
+
const n = Ur(e);
|
|
42
42
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
43
|
+
const i = V("style");
|
|
44
|
+
i.id = t, i.textContent = r, Dr(n, i);
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Ur(e) {
|
|
48
48
|
if (!e)
|
|
49
49
|
return document;
|
|
50
50
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,56 +54,56 @@ function Rr(e) {
|
|
|
54
54
|
t
|
|
55
55
|
) : e.ownerDocument;
|
|
56
56
|
}
|
|
57
|
-
function
|
|
58
|
-
return
|
|
57
|
+
function Dr(e, t) {
|
|
58
|
+
return jt(
|
|
59
59
|
/** @type {Document} */
|
|
60
60
|
e.head || e,
|
|
61
61
|
t
|
|
62
62
|
), t.sheet;
|
|
63
63
|
}
|
|
64
|
-
function
|
|
64
|
+
function fe(e, t, r) {
|
|
65
65
|
e.insertBefore(t, r || null);
|
|
66
66
|
}
|
|
67
|
-
function
|
|
67
|
+
function ne(e) {
|
|
68
68
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
69
|
}
|
|
70
|
-
function
|
|
70
|
+
function Es(e, t) {
|
|
71
71
|
for (let r = 0; r < e.length; r += 1)
|
|
72
72
|
e[r] && e[r].d(t);
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function V(e) {
|
|
75
75
|
return document.createElement(e);
|
|
76
76
|
}
|
|
77
|
-
function
|
|
77
|
+
function xs(e) {
|
|
78
78
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function kt(e) {
|
|
81
81
|
return document.createTextNode(e);
|
|
82
82
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
83
|
+
function Ss() {
|
|
84
|
+
return kt(" ");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function ws() {
|
|
87
|
+
return kt("");
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function Ts(e, t, r, n) {
|
|
90
90
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function ie(e, t, r) {
|
|
93
93
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
94
94
|
}
|
|
95
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 : ie(e, t, r);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Fr(e) {
|
|
100
100
|
return Array.from(e.childNodes);
|
|
101
101
|
}
|
|
102
|
-
function
|
|
102
|
+
function Hs(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,131 +112,131 @@ function Dr(e) {
|
|
|
112
112
|
}
|
|
113
113
|
), t;
|
|
114
114
|
}
|
|
115
|
-
let
|
|
116
|
-
function
|
|
117
|
-
|
|
115
|
+
let he;
|
|
116
|
+
function ue(e) {
|
|
117
|
+
he = e;
|
|
118
118
|
}
|
|
119
|
-
function
|
|
120
|
-
if (!
|
|
119
|
+
function jr() {
|
|
120
|
+
if (!he)
|
|
121
121
|
throw new Error("Function called outside component initialization");
|
|
122
|
-
return
|
|
122
|
+
return he;
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
|
|
124
|
+
function kr(e) {
|
|
125
|
+
jr().$$.on_mount.push(e);
|
|
126
126
|
}
|
|
127
|
-
const
|
|
128
|
-
let
|
|
129
|
-
const
|
|
130
|
-
let
|
|
131
|
-
function
|
|
132
|
-
|
|
127
|
+
const Q = [], ke = [];
|
|
128
|
+
let Y = [];
|
|
129
|
+
const yt = [], Vt = /* @__PURE__ */ Promise.resolve();
|
|
130
|
+
let Ve = !1;
|
|
131
|
+
function Xt() {
|
|
132
|
+
Ve || (Ve = !0, Vt.then(E));
|
|
133
133
|
}
|
|
134
|
-
function
|
|
135
|
-
return
|
|
134
|
+
function Vr() {
|
|
135
|
+
return Xt(), Vt;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
|
|
137
|
+
function Xe(e) {
|
|
138
|
+
Y.push(e);
|
|
139
139
|
}
|
|
140
|
-
const
|
|
141
|
-
let
|
|
142
|
-
function
|
|
143
|
-
if (
|
|
140
|
+
const Ce = /* @__PURE__ */ new Set();
|
|
141
|
+
let Z = 0;
|
|
142
|
+
function E() {
|
|
143
|
+
if (Z !== 0)
|
|
144
144
|
return;
|
|
145
|
-
const e =
|
|
145
|
+
const e = he;
|
|
146
146
|
do {
|
|
147
147
|
try {
|
|
148
|
-
for (;
|
|
149
|
-
const t =
|
|
150
|
-
|
|
148
|
+
for (; Z < Q.length; ) {
|
|
149
|
+
const t = Q[Z];
|
|
150
|
+
Z++, ue(t), Xr(t.$$);
|
|
151
151
|
}
|
|
152
152
|
} catch (t) {
|
|
153
|
-
throw
|
|
153
|
+
throw Q.length = 0, Z = 0, t;
|
|
154
154
|
}
|
|
155
|
-
for (
|
|
156
|
-
|
|
157
|
-
for (let t = 0; t <
|
|
158
|
-
const r =
|
|
159
|
-
|
|
155
|
+
for (ue(null), Q.length = 0, Z = 0; ke.length; )
|
|
156
|
+
ke.pop()();
|
|
157
|
+
for (let t = 0; t < Y.length; t += 1) {
|
|
158
|
+
const r = Y[t];
|
|
159
|
+
Ce.has(r) || (Ce.add(r), r());
|
|
160
160
|
}
|
|
161
|
-
|
|
162
|
-
} while (
|
|
163
|
-
for (;
|
|
164
|
-
|
|
165
|
-
|
|
161
|
+
Y.length = 0;
|
|
162
|
+
} while (Q.length);
|
|
163
|
+
for (; yt.length; )
|
|
164
|
+
yt.pop()();
|
|
165
|
+
Ve = !1, Ce.clear(), ue(e);
|
|
166
166
|
}
|
|
167
|
-
function
|
|
167
|
+
function Xr(e) {
|
|
168
168
|
if (e.fragment !== null) {
|
|
169
|
-
e.update(),
|
|
169
|
+
e.update(), re(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(Xe);
|
|
172
172
|
}
|
|
173
173
|
}
|
|
174
|
-
function
|
|
174
|
+
function Wr(e) {
|
|
175
175
|
const t = [], r = [];
|
|
176
|
-
|
|
176
|
+
Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
|
|
177
177
|
}
|
|
178
|
-
const
|
|
179
|
-
function
|
|
180
|
-
e && e.i && (
|
|
178
|
+
const zr = /* @__PURE__ */ new Set();
|
|
179
|
+
function Wt(e, t) {
|
|
180
|
+
e && e.i && (zr.delete(e), e.i(t));
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function As(e) {
|
|
183
183
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
184
184
|
}
|
|
185
|
-
function
|
|
185
|
+
function Bs(e, t) {
|
|
186
186
|
e.d(1), t.delete(e.key);
|
|
187
187
|
}
|
|
188
|
-
function
|
|
188
|
+
function Ps(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
189
189
|
let c = e.length, d = s.length, p = c;
|
|
190
190
|
const b = {};
|
|
191
191
|
for (; p--; )
|
|
192
192
|
b[e[p].key] = p;
|
|
193
|
-
const w = [],
|
|
193
|
+
const w = [], I = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), T = [];
|
|
194
194
|
for (p = d; p--; ) {
|
|
195
195
|
const _ = m(i, s, p), N = r(_);
|
|
196
|
-
let
|
|
197
|
-
|
|
196
|
+
let B = o.get(N);
|
|
197
|
+
B ? T.push(() => B.p(_, t)) : (B = u(N, _), B.c()), I.set(N, w[p] = B), N in b && P.set(N, Math.abs(p - b[N]));
|
|
198
198
|
}
|
|
199
199
|
const O = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set();
|
|
200
|
-
function
|
|
201
|
-
|
|
200
|
+
function M(_) {
|
|
201
|
+
Wt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
|
202
202
|
}
|
|
203
203
|
for (; c && d; ) {
|
|
204
|
-
const _ = w[d - 1], N = e[c - 1],
|
|
205
|
-
_ === N ? (l = _.first, c--, d--) :
|
|
204
|
+
const _ = w[d - 1], N = e[c - 1], B = _.key, F = N.key;
|
|
205
|
+
_ === N ? (l = _.first, c--, d--) : I.has(F) ? !o.has(B) || O.has(B) ? M(_) : H.has(F) ? c-- : P.get(B) > P.get(F) ? (H.add(B), M(_)) : (O.add(F), c--) : (h(N, o), c--);
|
|
206
206
|
}
|
|
207
207
|
for (; c--; ) {
|
|
208
208
|
const _ = e[c];
|
|
209
|
-
|
|
209
|
+
I.has(_.key) || h(_, o);
|
|
210
210
|
}
|
|
211
211
|
for (; d; )
|
|
212
|
-
|
|
213
|
-
return
|
|
212
|
+
M(w[d - 1]);
|
|
213
|
+
return re(T), w;
|
|
214
214
|
}
|
|
215
|
-
function
|
|
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), Xe(() => {
|
|
218
|
+
const s = e.$$.on_mount.map(Dt).filter(ut);
|
|
219
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
|
|
220
|
+
}), i.forEach(Xe);
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function qr(e, t) {
|
|
223
223
|
const r = e.$$;
|
|
224
|
-
r.fragment !== null && (
|
|
224
|
+
r.fragment !== null && (Wr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
225
225
|
}
|
|
226
|
-
function
|
|
227
|
-
e.$$.dirty[0] === -1 && (
|
|
226
|
+
function Qr(e, t) {
|
|
227
|
+
e.$$.dirty[0] === -1 && (Q.push(e), Xt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
const h =
|
|
231
|
-
|
|
229
|
+
function Yr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
230
|
+
const h = he;
|
|
231
|
+
ue(e);
|
|
232
232
|
const u = e.$$ = {
|
|
233
233
|
fragment: null,
|
|
234
234
|
ctx: [],
|
|
235
235
|
// state
|
|
236
236
|
props: s,
|
|
237
|
-
update:
|
|
237
|
+
update: L,
|
|
238
238
|
not_equal: i,
|
|
239
|
-
bound:
|
|
239
|
+
bound: gt(),
|
|
240
240
|
// lifecycle
|
|
241
241
|
on_mount: [],
|
|
242
242
|
on_destroy: [],
|
|
@@ -245,7 +245,7 @@ function qr(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: gt(),
|
|
249
249
|
dirty: a,
|
|
250
250
|
skip_bound: !1,
|
|
251
251
|
root: t.target || h.$$.root
|
|
@@ -254,19 +254,19 @@ function qr(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
254
254
|
let l = !1;
|
|
255
255
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
|
256
256
|
const p = d.length ? d[0] : c;
|
|
257
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = p) && (!u.skip_bound && u.bound[m] && u.bound[m](p), l &&
|
|
258
|
-
}) : [], u.update(), l = !0,
|
|
257
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = p) && (!u.skip_bound && u.bound[m] && u.bound[m](p), l && Qr(e, m)), c;
|
|
258
|
+
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
259
259
|
if (t.hydrate) {
|
|
260
|
-
const m =
|
|
261
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
|
260
|
+
const m = Fr(t.target);
|
|
261
|
+
u.fragment && u.fragment.l(m), m.forEach(ne);
|
|
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), E();
|
|
265
265
|
}
|
|
266
|
-
|
|
266
|
+
ue(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,29 +308,29 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
308
308
|
let s;
|
|
309
309
|
return {
|
|
310
310
|
c: function() {
|
|
311
|
-
s =
|
|
311
|
+
s = V("slot"), i !== "default" && ie(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
|
+
fe(h, s, u);
|
|
319
319
|
},
|
|
320
320
|
d: function(h) {
|
|
321
|
-
h &&
|
|
321
|
+
h && ne(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) {
|
|
332
332
|
const s = this.$$g_p(i.name);
|
|
333
|
-
s in this.$$d || (this.$$d[s] =
|
|
333
|
+
s in this.$$d || (this.$$d[s] = ve(s, i.value, this.$$p_d, "toProp"));
|
|
334
334
|
}
|
|
335
335
|
for (const i in this.$$p_d)
|
|
336
336
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
348
348
|
this.$$r = !0;
|
|
349
349
|
for (const i in this.$$p_d)
|
|
350
350
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
351
|
-
const s =
|
|
351
|
+
const s = ve(
|
|
352
352
|
i,
|
|
353
353
|
this.$$d[i],
|
|
354
354
|
this.$$p_d,
|
|
@@ -370,7 +370,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
370
370
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
371
371
|
// and setting attributes through setAttribute etc, this is helpful
|
|
372
372
|
attributeChangedCallback(e, t, r) {
|
|
373
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
373
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
374
374
|
}
|
|
375
375
|
disconnectedCallback() {
|
|
376
376
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -383,7 +383,7 @@ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
|
|
|
383
383
|
) || e;
|
|
384
384
|
}
|
|
385
385
|
});
|
|
386
|
-
function
|
|
386
|
+
function ve(e, t, r, n) {
|
|
387
387
|
const i = r[e]?.type;
|
|
388
388
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
389
389
|
return t;
|
|
@@ -412,8 +412,8 @@ function ye(e, t, r, n) {
|
|
|
412
412
|
return t;
|
|
413
413
|
}
|
|
414
414
|
}
|
|
415
|
-
function
|
|
416
|
-
let o = class extends
|
|
415
|
+
function Jr(e, t, r, n, i, s) {
|
|
416
|
+
let o = class extends zt {
|
|
417
417
|
constructor() {
|
|
418
418
|
super(e, r, i), this.$$p_d = t;
|
|
419
419
|
}
|
|
@@ -429,7 +429,7 @@ function Qr(e, t, r, n, i, s) {
|
|
|
429
429
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
430
430
|
},
|
|
431
431
|
set(h) {
|
|
432
|
-
h =
|
|
432
|
+
h = ve(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
433
433
|
}
|
|
434
434
|
});
|
|
435
435
|
}), n.forEach((a) => {
|
|
@@ -441,7 +441,7 @@ function Qr(e, t, r, n, i, s) {
|
|
|
441
441
|
}), e.element = /** @type {any} */
|
|
442
442
|
o, o;
|
|
443
443
|
}
|
|
444
|
-
class
|
|
444
|
+
class Kr {
|
|
445
445
|
/**
|
|
446
446
|
* ### PRIVATE API
|
|
447
447
|
*
|
|
@@ -460,7 +460,7 @@ class Yr {
|
|
|
460
460
|
$$set = void 0;
|
|
461
461
|
/** @returns {void} */
|
|
462
462
|
$destroy() {
|
|
463
|
-
|
|
463
|
+
qr(this, 1), this.$destroy = L;
|
|
464
464
|
}
|
|
465
465
|
/**
|
|
466
466
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -469,8 +469,8 @@ class Yr {
|
|
|
469
469
|
* @returns {() => void}
|
|
470
470
|
*/
|
|
471
471
|
$on(t, r) {
|
|
472
|
-
if (!
|
|
473
|
-
return
|
|
472
|
+
if (!ut(r))
|
|
473
|
+
return L;
|
|
474
474
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
475
475
|
return n.push(r), () => {
|
|
476
476
|
const i = n.indexOf(r);
|
|
@@ -482,11 +482,11 @@ class Yr {
|
|
|
482
482
|
* @returns {void}
|
|
483
483
|
*/
|
|
484
484
|
$set(t) {
|
|
485
|
-
this.$$set && !
|
|
485
|
+
this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
486
486
|
}
|
|
487
487
|
}
|
|
488
|
-
const
|
|
489
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
488
|
+
const en = "4";
|
|
489
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
|
|
490
490
|
/*! *****************************************************************************
|
|
491
491
|
Copyright (c) Microsoft Corporation.
|
|
492
492
|
|
|
@@ -501,24 +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 We = function(e, t) {
|
|
505
|
+
return We = 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
|
+
}, We(e, t);
|
|
511
511
|
};
|
|
512
|
-
function
|
|
512
|
+
function me(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
|
+
We(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
|
-
function
|
|
521
|
+
function ze(e) {
|
|
522
522
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
523
523
|
if (r)
|
|
524
524
|
return r.call(e);
|
|
@@ -530,7 +530,7 @@ function We(e) {
|
|
|
530
530
|
};
|
|
531
531
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function Ze(e, t) {
|
|
534
534
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
535
535
|
if (!r)
|
|
536
536
|
return e;
|
|
@@ -550,7 +550,7 @@ function ze(e, t) {
|
|
|
550
550
|
}
|
|
551
551
|
return s;
|
|
552
552
|
}
|
|
553
|
-
function
|
|
553
|
+
function qe(e, t, r) {
|
|
554
554
|
if (arguments.length === 2)
|
|
555
555
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
556
556
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
@@ -559,13 +559,13 @@ function Ze(e, t, r) {
|
|
|
559
559
|
function U(e) {
|
|
560
560
|
return typeof e == "function";
|
|
561
561
|
}
|
|
562
|
-
function
|
|
562
|
+
function Zt(e) {
|
|
563
563
|
var t = function(n) {
|
|
564
564
|
Error.call(n), n.stack = new Error().stack;
|
|
565
565
|
}, r = e(t);
|
|
566
566
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
567
567
|
}
|
|
568
|
-
var
|
|
568
|
+
var Re = Zt(function(e) {
|
|
569
569
|
return function(r) {
|
|
570
570
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
571
571
|
` + r.map(function(n, i) {
|
|
@@ -574,13 +574,13 @@ var Ce = Wt(function(e) {
|
|
|
574
574
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
575
575
|
};
|
|
576
576
|
});
|
|
577
|
-
function
|
|
577
|
+
function Qe(e, t) {
|
|
578
578
|
if (e) {
|
|
579
579
|
var r = e.indexOf(t);
|
|
580
580
|
0 <= r && e.splice(r, 1);
|
|
581
581
|
}
|
|
582
582
|
}
|
|
583
|
-
var
|
|
583
|
+
var He = function() {
|
|
584
584
|
function e(t) {
|
|
585
585
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
586
586
|
}
|
|
@@ -592,7 +592,7 @@ var Te = function() {
|
|
|
592
592
|
if (o)
|
|
593
593
|
if (this._parentage = null, Array.isArray(o))
|
|
594
594
|
try {
|
|
595
|
-
for (var a =
|
|
595
|
+
for (var a = ze(o), h = a.next(); !h.done; h = a.next()) {
|
|
596
596
|
var u = h.value;
|
|
597
597
|
u.remove(this);
|
|
598
598
|
}
|
|
@@ -613,18 +613,18 @@ var Te = function() {
|
|
|
613
613
|
try {
|
|
614
614
|
l();
|
|
615
615
|
} catch (b) {
|
|
616
|
-
s = b instanceof
|
|
616
|
+
s = b instanceof Re ? b.errors : [b];
|
|
617
617
|
}
|
|
618
618
|
var m = this._finalizers;
|
|
619
619
|
if (m) {
|
|
620
620
|
this._finalizers = null;
|
|
621
621
|
try {
|
|
622
|
-
for (var c =
|
|
622
|
+
for (var c = ze(m), d = c.next(); !d.done; d = c.next()) {
|
|
623
623
|
var p = d.value;
|
|
624
624
|
try {
|
|
625
|
-
|
|
625
|
+
vt(p);
|
|
626
626
|
} catch (b) {
|
|
627
|
-
s = s ?? [], b instanceof
|
|
627
|
+
s = s ?? [], b instanceof Re ? s = qe(qe([], Ze(s)), Ze(b.errors)) : s.push(b);
|
|
628
628
|
}
|
|
629
629
|
}
|
|
630
630
|
} catch (b) {
|
|
@@ -639,13 +639,13 @@ var Te = function() {
|
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
641
|
if (s)
|
|
642
|
-
throw new
|
|
642
|
+
throw new Re(s);
|
|
643
643
|
}
|
|
644
644
|
}, e.prototype.add = function(t) {
|
|
645
645
|
var r;
|
|
646
646
|
if (t && t !== this)
|
|
647
647
|
if (this.closed)
|
|
648
|
-
|
|
648
|
+
vt(t);
|
|
649
649
|
else {
|
|
650
650
|
if (t instanceof e) {
|
|
651
651
|
if (t.closed || t._hasParent(this))
|
|
@@ -662,52 +662,52 @@ var Te = function() {
|
|
|
662
662
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
663
663
|
}, e.prototype._removeParent = function(t) {
|
|
664
664
|
var r = this._parentage;
|
|
665
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
665
|
+
r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
|
|
666
666
|
}, e.prototype.remove = function(t) {
|
|
667
667
|
var r = this._finalizers;
|
|
668
|
-
r &&
|
|
668
|
+
r && Qe(r, t), t instanceof e && t._removeParent(this);
|
|
669
669
|
}, e.EMPTY = function() {
|
|
670
670
|
var t = new e();
|
|
671
671
|
return t.closed = !0, t;
|
|
672
672
|
}(), e;
|
|
673
|
-
}(),
|
|
674
|
-
function
|
|
675
|
-
return e instanceof
|
|
673
|
+
}(), qt = He.EMPTY;
|
|
674
|
+
function Qt(e) {
|
|
675
|
+
return e instanceof He || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
|
|
676
676
|
}
|
|
677
|
-
function
|
|
677
|
+
function vt(e) {
|
|
678
678
|
U(e) ? e() : e.unsubscribe();
|
|
679
679
|
}
|
|
680
|
-
var
|
|
680
|
+
var tn = {
|
|
681
681
|
Promise: void 0
|
|
682
|
-
},
|
|
682
|
+
}, rn = {
|
|
683
683
|
setTimeout: function(e, t) {
|
|
684
684
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
685
685
|
r[n - 2] = arguments[n];
|
|
686
|
-
return setTimeout.apply(void 0,
|
|
686
|
+
return setTimeout.apply(void 0, qe([e, t], Ze(r)));
|
|
687
687
|
},
|
|
688
688
|
clearTimeout: function(e) {
|
|
689
689
|
return clearTimeout(e);
|
|
690
690
|
},
|
|
691
691
|
delegate: void 0
|
|
692
692
|
};
|
|
693
|
-
function
|
|
694
|
-
|
|
693
|
+
function nn(e) {
|
|
694
|
+
rn.setTimeout(function() {
|
|
695
695
|
throw e;
|
|
696
696
|
});
|
|
697
697
|
}
|
|
698
|
-
function
|
|
698
|
+
function _t() {
|
|
699
699
|
}
|
|
700
|
-
function
|
|
700
|
+
function _e(e) {
|
|
701
701
|
e();
|
|
702
702
|
}
|
|
703
|
-
var
|
|
704
|
-
|
|
703
|
+
var Yt = function(e) {
|
|
704
|
+
me(t, e);
|
|
705
705
|
function t(r) {
|
|
706
706
|
var n = e.call(this) || this;
|
|
707
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
707
|
+
return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = an, n;
|
|
708
708
|
}
|
|
709
709
|
return t.create = function(r, n, i) {
|
|
710
|
-
return new
|
|
710
|
+
return new Ye(r, n, i);
|
|
711
711
|
}, t.prototype.next = function(r) {
|
|
712
712
|
this.isStopped || this._next(r);
|
|
713
713
|
}, t.prototype.error = function(r) {
|
|
@@ -731,7 +731,7 @@ var qt = function(e) {
|
|
|
731
731
|
this.unsubscribe();
|
|
732
732
|
}
|
|
733
733
|
}, t;
|
|
734
|
-
}(
|
|
734
|
+
}(He), sn = function() {
|
|
735
735
|
function e(t) {
|
|
736
736
|
this.partialObserver = t;
|
|
737
737
|
}
|
|
@@ -741,7 +741,7 @@ var qt = function(e) {
|
|
|
741
741
|
try {
|
|
742
742
|
r.next(t);
|
|
743
743
|
} catch (n) {
|
|
744
|
-
|
|
744
|
+
ge(n);
|
|
745
745
|
}
|
|
746
746
|
}, e.prototype.error = function(t) {
|
|
747
747
|
var r = this.partialObserver;
|
|
@@ -749,56 +749,56 @@ var qt = function(e) {
|
|
|
749
749
|
try {
|
|
750
750
|
r.error(t);
|
|
751
751
|
} catch (n) {
|
|
752
|
-
|
|
752
|
+
ge(n);
|
|
753
753
|
}
|
|
754
754
|
else
|
|
755
|
-
|
|
755
|
+
ge(t);
|
|
756
756
|
}, e.prototype.complete = function() {
|
|
757
757
|
var t = this.partialObserver;
|
|
758
758
|
if (t.complete)
|
|
759
759
|
try {
|
|
760
760
|
t.complete();
|
|
761
761
|
} catch (r) {
|
|
762
|
-
|
|
762
|
+
ge(r);
|
|
763
763
|
}
|
|
764
764
|
}, e;
|
|
765
|
-
}(),
|
|
766
|
-
|
|
765
|
+
}(), Ye = function(e) {
|
|
766
|
+
me(t, e);
|
|
767
767
|
function t(r, n, i) {
|
|
768
768
|
var s = e.call(this) || this, o;
|
|
769
769
|
return U(r) || !r ? o = {
|
|
770
770
|
next: r ?? void 0,
|
|
771
771
|
error: n ?? void 0,
|
|
772
772
|
complete: i ?? void 0
|
|
773
|
-
} : o = r, s.destination = new
|
|
773
|
+
} : o = r, s.destination = new sn(o), s;
|
|
774
774
|
}
|
|
775
775
|
return t;
|
|
776
|
-
}(
|
|
777
|
-
function
|
|
778
|
-
|
|
776
|
+
}(Yt);
|
|
777
|
+
function ge(e) {
|
|
778
|
+
nn(e);
|
|
779
779
|
}
|
|
780
|
-
function
|
|
780
|
+
function on(e) {
|
|
781
781
|
throw e;
|
|
782
782
|
}
|
|
783
|
-
var
|
|
783
|
+
var an = {
|
|
784
784
|
closed: !0,
|
|
785
|
-
next:
|
|
786
|
-
error:
|
|
787
|
-
complete:
|
|
788
|
-
},
|
|
785
|
+
next: _t,
|
|
786
|
+
error: on,
|
|
787
|
+
complete: _t
|
|
788
|
+
}, un = function() {
|
|
789
789
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
790
790
|
}();
|
|
791
|
-
function
|
|
791
|
+
function hn(e) {
|
|
792
792
|
return e;
|
|
793
793
|
}
|
|
794
|
-
function
|
|
795
|
-
return e.length === 0 ?
|
|
794
|
+
function ln(e) {
|
|
795
|
+
return e.length === 0 ? hn : e.length === 1 ? e[0] : function(r) {
|
|
796
796
|
return e.reduce(function(n, i) {
|
|
797
797
|
return i(n);
|
|
798
798
|
}, r);
|
|
799
799
|
};
|
|
800
800
|
}
|
|
801
|
-
var
|
|
801
|
+
var Et = function() {
|
|
802
802
|
function e(t) {
|
|
803
803
|
t && (this._subscribe = t);
|
|
804
804
|
}
|
|
@@ -806,8 +806,8 @@ var vt = function() {
|
|
|
806
806
|
var r = new e();
|
|
807
807
|
return r.source = this, r.operator = t, r;
|
|
808
808
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
809
|
-
var i = this, s =
|
|
810
|
-
return
|
|
809
|
+
var i = this, s = fn(t) ? t : new Ye(t, r, n);
|
|
810
|
+
return _e(function() {
|
|
811
811
|
var o = i, a = o.operator, h = o.source;
|
|
812
812
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
813
813
|
}), s;
|
|
@@ -819,8 +819,8 @@ var vt = function() {
|
|
|
819
819
|
}
|
|
820
820
|
}, e.prototype.forEach = function(t, r) {
|
|
821
821
|
var n = this;
|
|
822
|
-
return r =
|
|
823
|
-
var o = new
|
|
822
|
+
return r = xt(r), new r(function(i, s) {
|
|
823
|
+
var o = new Ye({
|
|
824
824
|
next: function(a) {
|
|
825
825
|
try {
|
|
826
826
|
t(a);
|
|
@@ -836,15 +836,15 @@ var vt = function() {
|
|
|
836
836
|
}, e.prototype._subscribe = function(t) {
|
|
837
837
|
var r;
|
|
838
838
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
839
|
-
}, e.prototype[
|
|
839
|
+
}, e.prototype[un] = function() {
|
|
840
840
|
return this;
|
|
841
841
|
}, e.prototype.pipe = function() {
|
|
842
842
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
843
843
|
t[r] = arguments[r];
|
|
844
|
-
return
|
|
844
|
+
return ln(t)(this);
|
|
845
845
|
}, e.prototype.toPromise = function(t) {
|
|
846
846
|
var r = this;
|
|
847
|
-
return t =
|
|
847
|
+
return t = xt(t), new t(function(n, i) {
|
|
848
848
|
var s;
|
|
849
849
|
r.subscribe(function(o) {
|
|
850
850
|
return s = o;
|
|
@@ -858,40 +858,40 @@ var vt = function() {
|
|
|
858
858
|
return new e(t);
|
|
859
859
|
}, e;
|
|
860
860
|
}();
|
|
861
|
-
function
|
|
861
|
+
function xt(e) {
|
|
862
862
|
var t;
|
|
863
|
-
return (t = e ??
|
|
863
|
+
return (t = e ?? tn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
864
864
|
}
|
|
865
|
-
function
|
|
865
|
+
function cn(e) {
|
|
866
866
|
return e && U(e.next) && U(e.error) && U(e.complete);
|
|
867
867
|
}
|
|
868
|
-
function
|
|
869
|
-
return e && e instanceof
|
|
868
|
+
function fn(e) {
|
|
869
|
+
return e && e instanceof Yt || cn(e) && Qt(e);
|
|
870
870
|
}
|
|
871
|
-
var
|
|
871
|
+
var mn = Zt(function(e) {
|
|
872
872
|
return function() {
|
|
873
873
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
874
874
|
};
|
|
875
|
-
}),
|
|
876
|
-
|
|
875
|
+
}), Jt = function(e) {
|
|
876
|
+
me(t, e);
|
|
877
877
|
function t() {
|
|
878
878
|
var r = e.call(this) || this;
|
|
879
879
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
880
880
|
}
|
|
881
881
|
return t.prototype.lift = function(r) {
|
|
882
|
-
var n = new
|
|
882
|
+
var n = new St(this, this);
|
|
883
883
|
return n.operator = r, n;
|
|
884
884
|
}, t.prototype._throwIfClosed = function() {
|
|
885
885
|
if (this.closed)
|
|
886
|
-
throw new
|
|
886
|
+
throw new mn();
|
|
887
887
|
}, t.prototype.next = function(r) {
|
|
888
888
|
var n = this;
|
|
889
|
-
|
|
889
|
+
_e(function() {
|
|
890
890
|
var i, s;
|
|
891
891
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
892
892
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
893
893
|
try {
|
|
894
|
-
for (var o =
|
|
894
|
+
for (var o = ze(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
895
895
|
var h = a.value;
|
|
896
896
|
h.next(r);
|
|
897
897
|
}
|
|
@@ -909,7 +909,7 @@ var cn = Wt(function(e) {
|
|
|
909
909
|
});
|
|
910
910
|
}, t.prototype.error = function(r) {
|
|
911
911
|
var n = this;
|
|
912
|
-
|
|
912
|
+
_e(function() {
|
|
913
913
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
914
914
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
915
915
|
for (var i = n.observers; i.length; )
|
|
@@ -918,7 +918,7 @@ var cn = Wt(function(e) {
|
|
|
918
918
|
});
|
|
919
919
|
}, t.prototype.complete = function() {
|
|
920
920
|
var r = this;
|
|
921
|
-
|
|
921
|
+
_e(function() {
|
|
922
922
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
923
923
|
r.isStopped = !0;
|
|
924
924
|
for (var n = r.observers; n.length; )
|
|
@@ -940,20 +940,20 @@ var cn = Wt(function(e) {
|
|
|
940
940
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
941
941
|
}, t.prototype._innerSubscribe = function(r) {
|
|
942
942
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
943
|
-
return s || o ?
|
|
944
|
-
n.currentObservers = null,
|
|
943
|
+
return s || o ? qt : (this.currentObservers = null, a.push(r), new He(function() {
|
|
944
|
+
n.currentObservers = null, Qe(a, r);
|
|
945
945
|
}));
|
|
946
946
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
947
947
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
948
948
|
i ? r.error(s) : o && r.complete();
|
|
949
949
|
}, t.prototype.asObservable = function() {
|
|
950
|
-
var r = new
|
|
950
|
+
var r = new Et();
|
|
951
951
|
return r.source = this, r;
|
|
952
952
|
}, t.create = function(r, n) {
|
|
953
|
-
return new
|
|
953
|
+
return new St(r, n);
|
|
954
954
|
}, t;
|
|
955
|
-
}(
|
|
956
|
-
|
|
955
|
+
}(Et), St = function(e) {
|
|
956
|
+
me(t, e);
|
|
957
957
|
function t(r, n) {
|
|
958
958
|
var i = e.call(this) || this;
|
|
959
959
|
return i.destination = r, i.source = n, i;
|
|
@@ -969,17 +969,17 @@ var cn = Wt(function(e) {
|
|
|
969
969
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
970
970
|
}, t.prototype._subscribe = function(r) {
|
|
971
971
|
var n, i;
|
|
972
|
-
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;
|
|
973
973
|
}, t;
|
|
974
|
-
}(
|
|
974
|
+
}(Jt), Kt = {
|
|
975
975
|
now: function() {
|
|
976
|
-
return (
|
|
976
|
+
return (Kt.delegate || Date).now();
|
|
977
977
|
},
|
|
978
978
|
delegate: void 0
|
|
979
|
-
},
|
|
980
|
-
|
|
979
|
+
}, dn = function(e) {
|
|
980
|
+
me(t, e);
|
|
981
981
|
function t(r, n, i) {
|
|
982
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
982
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Kt);
|
|
983
983
|
var s = e.call(this) || this;
|
|
984
984
|
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
|
985
985
|
}
|
|
@@ -999,62 +999,62 @@ var cn = Wt(function(e) {
|
|
|
999
999
|
u && s.splice(0, u + 1);
|
|
1000
1000
|
}
|
|
1001
1001
|
}, t;
|
|
1002
|
-
}(
|
|
1003
|
-
const
|
|
1004
|
-
if (
|
|
1005
|
-
const r = new
|
|
1006
|
-
|
|
1002
|
+
}(Jt);
|
|
1003
|
+
const wt = [], Tt = {}, bn = (e, t = 0) => {
|
|
1004
|
+
if (wt.indexOf(e) == -1) {
|
|
1005
|
+
const r = new dn(t);
|
|
1006
|
+
Tt[e] = r, wt.push(e);
|
|
1007
1007
|
}
|
|
1008
|
-
return
|
|
1009
|
-
},
|
|
1010
|
-
function
|
|
1008
|
+
return Tt[e];
|
|
1009
|
+
}, q = [];
|
|
1010
|
+
function pn(e, t) {
|
|
1011
1011
|
return {
|
|
1012
|
-
subscribe:
|
|
1012
|
+
subscribe: Ae(e, t).subscribe
|
|
1013
1013
|
};
|
|
1014
1014
|
}
|
|
1015
|
-
function
|
|
1015
|
+
function Ae(e, t = L) {
|
|
1016
1016
|
let r;
|
|
1017
1017
|
const n = /* @__PURE__ */ new Set();
|
|
1018
1018
|
function i(a) {
|
|
1019
|
-
if (
|
|
1020
|
-
const h = !
|
|
1019
|
+
if (Ft(e, a) && (e = a, r)) {
|
|
1020
|
+
const h = !q.length;
|
|
1021
1021
|
for (const u of n)
|
|
1022
|
-
u[1](),
|
|
1022
|
+
u[1](), q.push(u, e);
|
|
1023
1023
|
if (h) {
|
|
1024
|
-
for (let u = 0; u <
|
|
1025
|
-
|
|
1026
|
-
|
|
1024
|
+
for (let u = 0; u < q.length; u += 2)
|
|
1025
|
+
q[u][0](q[u + 1]);
|
|
1026
|
+
q.length = 0;
|
|
1027
1027
|
}
|
|
1028
1028
|
}
|
|
1029
1029
|
}
|
|
1030
1030
|
function s(a) {
|
|
1031
1031
|
i(a(e));
|
|
1032
1032
|
}
|
|
1033
|
-
function o(a, h =
|
|
1033
|
+
function o(a, h = L) {
|
|
1034
1034
|
const u = [a, h];
|
|
1035
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
|
1035
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || L), a(e), () => {
|
|
1036
1036
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1037
1037
|
};
|
|
1038
1038
|
}
|
|
1039
1039
|
return { set: i, update: s, subscribe: o };
|
|
1040
1040
|
}
|
|
1041
|
-
function
|
|
1041
|
+
function se(e, t, r) {
|
|
1042
1042
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1043
1043
|
if (!i.every(Boolean))
|
|
1044
1044
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1045
1045
|
const s = t.length < 2;
|
|
1046
|
-
return
|
|
1046
|
+
return pn(r, (o, a) => {
|
|
1047
1047
|
let h = !1;
|
|
1048
1048
|
const u = [];
|
|
1049
|
-
let l = 0, m =
|
|
1049
|
+
let l = 0, m = L;
|
|
1050
1050
|
const c = () => {
|
|
1051
1051
|
if (l)
|
|
1052
1052
|
return;
|
|
1053
1053
|
m();
|
|
1054
1054
|
const p = t(n ? u[0] : u, o, a);
|
|
1055
|
-
s ? o(p) : m =
|
|
1055
|
+
s ? o(p) : m = ut(p) ? p : L;
|
|
1056
1056
|
}, d = i.map(
|
|
1057
|
-
(p, b) =>
|
|
1057
|
+
(p, b) => $t(
|
|
1058
1058
|
p,
|
|
1059
1059
|
(w) => {
|
|
1060
1060
|
u[b] = w, l &= ~(1 << b), h && c();
|
|
@@ -1065,96 +1065,96 @@ function ie(e, t, r) {
|
|
|
1065
1065
|
)
|
|
1066
1066
|
);
|
|
1067
1067
|
return h = !0, c(), function() {
|
|
1068
|
-
|
|
1068
|
+
re(d), m(), h = !1;
|
|
1069
1069
|
};
|
|
1070
1070
|
});
|
|
1071
1071
|
}
|
|
1072
|
-
function
|
|
1072
|
+
function gn(e) {
|
|
1073
1073
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1074
1074
|
}
|
|
1075
|
-
var
|
|
1076
|
-
return
|
|
1075
|
+
var yn = function(t) {
|
|
1076
|
+
return vn(t) && !_n(t);
|
|
1077
1077
|
};
|
|
1078
|
-
function
|
|
1078
|
+
function vn(e) {
|
|
1079
1079
|
return !!e && typeof e == "object";
|
|
1080
1080
|
}
|
|
1081
|
-
function
|
|
1081
|
+
function _n(e) {
|
|
1082
1082
|
var t = Object.prototype.toString.call(e);
|
|
1083
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1083
|
+
return t === "[object RegExp]" || t === "[object Date]" || Sn(e);
|
|
1084
1084
|
}
|
|
1085
|
-
var
|
|
1086
|
-
function
|
|
1087
|
-
return e.$$typeof ===
|
|
1085
|
+
var En = typeof Symbol == "function" && Symbol.for, xn = En ? Symbol.for("react.element") : 60103;
|
|
1086
|
+
function Sn(e) {
|
|
1087
|
+
return e.$$typeof === xn;
|
|
1088
1088
|
}
|
|
1089
|
-
function
|
|
1089
|
+
function wn(e) {
|
|
1090
1090
|
return Array.isArray(e) ? [] : {};
|
|
1091
1091
|
}
|
|
1092
|
-
function
|
|
1093
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1092
|
+
function le(e, t) {
|
|
1093
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? J(wn(e), e, t) : e;
|
|
1094
1094
|
}
|
|
1095
|
-
function
|
|
1095
|
+
function Tn(e, t, r) {
|
|
1096
1096
|
return e.concat(t).map(function(n) {
|
|
1097
|
-
return
|
|
1097
|
+
return le(n, r);
|
|
1098
1098
|
});
|
|
1099
1099
|
}
|
|
1100
|
-
function
|
|
1100
|
+
function Hn(e, t) {
|
|
1101
1101
|
if (!t.customMerge)
|
|
1102
|
-
return
|
|
1102
|
+
return J;
|
|
1103
1103
|
var r = t.customMerge(e);
|
|
1104
|
-
return typeof r == "function" ? r :
|
|
1104
|
+
return typeof r == "function" ? r : J;
|
|
1105
1105
|
}
|
|
1106
|
-
function
|
|
1106
|
+
function An(e) {
|
|
1107
1107
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1108
1108
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1109
1109
|
}) : [];
|
|
1110
1110
|
}
|
|
1111
|
-
function
|
|
1112
|
-
return Object.keys(e).concat(
|
|
1111
|
+
function Ht(e) {
|
|
1112
|
+
return Object.keys(e).concat(An(e));
|
|
1113
1113
|
}
|
|
1114
|
-
function
|
|
1114
|
+
function er(e, t) {
|
|
1115
1115
|
try {
|
|
1116
1116
|
return t in e;
|
|
1117
1117
|
} catch {
|
|
1118
1118
|
return !1;
|
|
1119
1119
|
}
|
|
1120
1120
|
}
|
|
1121
|
-
function
|
|
1122
|
-
return
|
|
1121
|
+
function Bn(e, t) {
|
|
1122
|
+
return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1124
|
+
function Pn(e, t, r) {
|
|
1125
1125
|
var n = {};
|
|
1126
|
-
return r.isMergeableObject(e) &&
|
|
1127
|
-
n[i] =
|
|
1128
|
-
}),
|
|
1129
|
-
|
|
1126
|
+
return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
|
|
1127
|
+
n[i] = le(e[i], r);
|
|
1128
|
+
}), Ht(t).forEach(function(i) {
|
|
1129
|
+
Bn(e, i) || (er(e, i) && r.isMergeableObject(t[i]) ? n[i] = Hn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
|
1130
1130
|
}), n;
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1133
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1132
|
+
function J(e, t, r) {
|
|
1133
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Tn, r.isMergeableObject = r.isMergeableObject || yn, r.cloneUnlessOtherwiseSpecified = le;
|
|
1134
1134
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1135
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1135
|
+
return s ? n ? r.arrayMerge(e, t, r) : Pn(e, t, r) : le(t, r);
|
|
1136
1136
|
}
|
|
1137
|
-
|
|
1137
|
+
J.all = function(t, r) {
|
|
1138
1138
|
if (!Array.isArray(t))
|
|
1139
1139
|
throw new Error("first argument should be an array");
|
|
1140
1140
|
return t.reduce(function(n, i) {
|
|
1141
|
-
return
|
|
1141
|
+
return J(n, i, r);
|
|
1142
1142
|
}, {});
|
|
1143
1143
|
};
|
|
1144
|
-
var
|
|
1145
|
-
const
|
|
1146
|
-
var
|
|
1147
|
-
return
|
|
1144
|
+
var On = J, Nn = On;
|
|
1145
|
+
const Ln = /* @__PURE__ */ gn(Nn);
|
|
1146
|
+
var Je = function(e, t) {
|
|
1147
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1148
1148
|
r.__proto__ = n;
|
|
1149
1149
|
} || function(r, n) {
|
|
1150
1150
|
for (var i in n)
|
|
1151
1151
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1152
|
-
},
|
|
1152
|
+
}, Je(e, t);
|
|
1153
1153
|
};
|
|
1154
|
-
function
|
|
1154
|
+
function Be(e, t) {
|
|
1155
1155
|
if (typeof t != "function" && t !== null)
|
|
1156
1156
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1157
|
-
|
|
1157
|
+
Je(e, t);
|
|
1158
1158
|
function r() {
|
|
1159
1159
|
this.constructor = e;
|
|
1160
1160
|
}
|
|
@@ -1170,7 +1170,7 @@ var R = function() {
|
|
|
1170
1170
|
return t;
|
|
1171
1171
|
}, R.apply(this, arguments);
|
|
1172
1172
|
};
|
|
1173
|
-
function
|
|
1173
|
+
function In(e, t) {
|
|
1174
1174
|
var r = {};
|
|
1175
1175
|
for (var n in e)
|
|
1176
1176
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1179,43 +1179,43 @@ function Nn(e, t) {
|
|
|
1179
1179
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1180
1180
|
return r;
|
|
1181
1181
|
}
|
|
1182
|
-
function
|
|
1182
|
+
function Ge(e, t, r) {
|
|
1183
1183
|
if (r || arguments.length === 2)
|
|
1184
1184
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
1185
1185
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
1186
1186
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1189
|
-
var r = t && t.cache ? t.cache :
|
|
1188
|
+
function Ue(e, t) {
|
|
1189
|
+
var r = t && t.cache ? t.cache : Fn, n = t && t.serializer ? t.serializer : Un, i = t && t.strategy ? t.strategy : Rn;
|
|
1190
1190
|
return i(e, {
|
|
1191
1191
|
cache: r,
|
|
1192
1192
|
serializer: n
|
|
1193
1193
|
});
|
|
1194
1194
|
}
|
|
1195
|
-
function
|
|
1195
|
+
function Mn(e) {
|
|
1196
1196
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1197
1197
|
}
|
|
1198
|
-
function
|
|
1199
|
-
var i =
|
|
1198
|
+
function Cn(e, t, r, n) {
|
|
1199
|
+
var i = Mn(n) ? n : r(n), s = t.get(i);
|
|
1200
1200
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1201
1201
|
}
|
|
1202
|
-
function
|
|
1202
|
+
function tr(e, t, r) {
|
|
1203
1203
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1204
1204
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1205
1205
|
}
|
|
1206
|
-
function
|
|
1206
|
+
function rr(e, t, r, n, i) {
|
|
1207
1207
|
return r.bind(t, e, n, i);
|
|
1208
1208
|
}
|
|
1209
|
-
function
|
|
1210
|
-
var r = e.length === 1 ?
|
|
1211
|
-
return
|
|
1209
|
+
function Rn(e, t) {
|
|
1210
|
+
var r = e.length === 1 ? Cn : tr;
|
|
1211
|
+
return rr(e, this, r, t.cache.create(), t.serializer);
|
|
1212
1212
|
}
|
|
1213
|
-
function
|
|
1214
|
-
return
|
|
1213
|
+
function Gn(e, t) {
|
|
1214
|
+
return rr(e, this, tr, t.cache.create(), t.serializer);
|
|
1215
1215
|
}
|
|
1216
|
-
var
|
|
1216
|
+
var Un = function() {
|
|
1217
1217
|
return JSON.stringify(arguments);
|
|
1218
|
-
},
|
|
1218
|
+
}, Dn = (
|
|
1219
1219
|
/** @class */
|
|
1220
1220
|
function() {
|
|
1221
1221
|
function e() {
|
|
@@ -1227,71 +1227,71 @@ var Rn = function() {
|
|
|
1227
1227
|
this.cache[t] = r;
|
|
1228
1228
|
}, e;
|
|
1229
1229
|
}()
|
|
1230
|
-
),
|
|
1230
|
+
), Fn = {
|
|
1231
1231
|
create: function() {
|
|
1232
|
-
return new
|
|
1232
|
+
return new Dn();
|
|
1233
1233
|
}
|
|
1234
|
-
},
|
|
1235
|
-
variadic:
|
|
1236
|
-
},
|
|
1237
|
-
return
|
|
1234
|
+
}, De = {
|
|
1235
|
+
variadic: Gn
|
|
1236
|
+
}, Se = function() {
|
|
1237
|
+
return Se = Object.assign || function(t) {
|
|
1238
1238
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1239
1239
|
r = arguments[n];
|
|
1240
1240
|
for (var s in r)
|
|
1241
1241
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1242
1242
|
}
|
|
1243
1243
|
return t;
|
|
1244
|
-
},
|
|
1244
|
+
}, Se.apply(this, arguments);
|
|
1245
1245
|
};
|
|
1246
1246
|
var g;
|
|
1247
1247
|
(function(e) {
|
|
1248
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";
|
|
1249
1249
|
})(g || (g = {}));
|
|
1250
|
-
var
|
|
1250
|
+
var x;
|
|
1251
1251
|
(function(e) {
|
|
1252
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";
|
|
1253
|
-
})(
|
|
1254
|
-
var
|
|
1253
|
+
})(x || (x = {}));
|
|
1254
|
+
var K;
|
|
1255
1255
|
(function(e) {
|
|
1256
1256
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1257
|
-
})(
|
|
1258
|
-
function
|
|
1259
|
-
return e.type ===
|
|
1260
|
-
}
|
|
1261
|
-
function Dn(e) {
|
|
1262
|
-
return e.type === E.argument;
|
|
1263
|
-
}
|
|
1264
|
-
function tr(e) {
|
|
1265
|
-
return e.type === E.number;
|
|
1257
|
+
})(K || (K = {}));
|
|
1258
|
+
function At(e) {
|
|
1259
|
+
return e.type === x.literal;
|
|
1266
1260
|
}
|
|
1267
|
-
function
|
|
1268
|
-
return e.type ===
|
|
1261
|
+
function $n(e) {
|
|
1262
|
+
return e.type === x.argument;
|
|
1269
1263
|
}
|
|
1270
1264
|
function nr(e) {
|
|
1271
|
-
return e.type ===
|
|
1265
|
+
return e.type === x.number;
|
|
1272
1266
|
}
|
|
1273
1267
|
function ir(e) {
|
|
1274
|
-
return e.type ===
|
|
1268
|
+
return e.type === x.date;
|
|
1275
1269
|
}
|
|
1276
1270
|
function sr(e) {
|
|
1277
|
-
return e.type ===
|
|
1278
|
-
}
|
|
1279
|
-
function $n(e) {
|
|
1280
|
-
return e.type === E.pound;
|
|
1271
|
+
return e.type === x.time;
|
|
1281
1272
|
}
|
|
1282
1273
|
function or(e) {
|
|
1283
|
-
return e.type ===
|
|
1274
|
+
return e.type === x.select;
|
|
1284
1275
|
}
|
|
1285
1276
|
function ar(e) {
|
|
1286
|
-
return
|
|
1277
|
+
return e.type === x.plural;
|
|
1287
1278
|
}
|
|
1288
|
-
function Je(e) {
|
|
1289
|
-
return !!(e && typeof e == "object" && e.type === J.dateTime);
|
|
1290
|
-
}
|
|
1291
|
-
var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fn = /(?:[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
1279
|
function jn(e) {
|
|
1280
|
+
return e.type === x.pound;
|
|
1281
|
+
}
|
|
1282
|
+
function ur(e) {
|
|
1283
|
+
return e.type === x.tag;
|
|
1284
|
+
}
|
|
1285
|
+
function hr(e) {
|
|
1286
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
|
1287
|
+
}
|
|
1288
|
+
function Ke(e) {
|
|
1289
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
|
1290
|
+
}
|
|
1291
|
+
var lr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, kn = /(?:[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 Vn(e) {
|
|
1293
1293
|
var t = {};
|
|
1294
|
-
return e.replace(
|
|
1294
|
+
return e.replace(kn, function(r) {
|
|
1295
1295
|
var n = r.length;
|
|
1296
1296
|
switch (r[0]) {
|
|
1297
1297
|
case "G":
|
|
@@ -1390,11 +1390,11 @@ var S = function() {
|
|
|
1390
1390
|
return t;
|
|
1391
1391
|
}, S.apply(this, arguments);
|
|
1392
1392
|
};
|
|
1393
|
-
var
|
|
1394
|
-
function
|
|
1393
|
+
var Xn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1394
|
+
function Wn(e) {
|
|
1395
1395
|
if (e.length === 0)
|
|
1396
1396
|
throw new Error("Number skeleton cannot be empty");
|
|
1397
|
-
for (var t = e.split(
|
|
1397
|
+
for (var t = e.split(Xn).filter(function(c) {
|
|
1398
1398
|
return c.length > 0;
|
|
1399
1399
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1400
1400
|
var s = i[n], o = s.split("/");
|
|
@@ -1409,17 +1409,17 @@ function Vn(e) {
|
|
|
1409
1409
|
}
|
|
1410
1410
|
return r;
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function zn(e) {
|
|
1413
1413
|
return e.replace(/^(.*?)-/, "");
|
|
1414
1414
|
}
|
|
1415
|
-
var
|
|
1416
|
-
function
|
|
1415
|
+
var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Zn = /(\*)(0+)|(#+)(0+)|(0+)/g, fr = /^(0+)$/;
|
|
1416
|
+
function Pt(e) {
|
|
1417
1417
|
var t = {};
|
|
1418
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
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) {
|
|
1419
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)), "";
|
|
1420
1420
|
}), t;
|
|
1421
1421
|
}
|
|
1422
|
-
function
|
|
1422
|
+
function mr(e) {
|
|
1423
1423
|
switch (e) {
|
|
1424
1424
|
case "sign-auto":
|
|
1425
1425
|
return {
|
|
@@ -1459,7 +1459,7 @@ function cr(e) {
|
|
|
1459
1459
|
};
|
|
1460
1460
|
}
|
|
1461
1461
|
}
|
|
1462
|
-
function
|
|
1462
|
+
function qn(e) {
|
|
1463
1463
|
var t;
|
|
1464
1464
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1465
1465
|
notation: "engineering"
|
|
@@ -1467,17 +1467,17 @@ function zn(e) {
|
|
|
1467
1467
|
notation: "scientific"
|
|
1468
1468
|
}, e = e.slice(1)), t) {
|
|
1469
1469
|
var r = e.slice(0, 2);
|
|
1470
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1470
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !fr.test(e))
|
|
1471
1471
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1472
1472
|
t.minimumIntegerDigits = e.length;
|
|
1473
1473
|
}
|
|
1474
1474
|
return t;
|
|
1475
1475
|
}
|
|
1476
|
-
function
|
|
1477
|
-
var t = {}, r =
|
|
1476
|
+
function Ot(e) {
|
|
1477
|
+
var t = {}, r = mr(e);
|
|
1478
1478
|
return r || t;
|
|
1479
1479
|
}
|
|
1480
|
-
function
|
|
1480
|
+
function Qn(e) {
|
|
1481
1481
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1482
1482
|
var i = n[r];
|
|
1483
1483
|
switch (i.stem) {
|
|
@@ -1501,7 +1501,7 @@ function Zn(e) {
|
|
|
1501
1501
|
continue;
|
|
1502
1502
|
case "measure-unit":
|
|
1503
1503
|
case "unit":
|
|
1504
|
-
t.style = "unit", t.unit =
|
|
1504
|
+
t.style = "unit", t.unit = zn(i.options[0]);
|
|
1505
1505
|
continue;
|
|
1506
1506
|
case "compact-short":
|
|
1507
1507
|
case "K":
|
|
@@ -1513,12 +1513,12 @@ function Zn(e) {
|
|
|
1513
1513
|
continue;
|
|
1514
1514
|
case "scientific":
|
|
1515
1515
|
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1516
|
-
return S(S({}, h),
|
|
1516
|
+
return S(S({}, h), Ot(u));
|
|
1517
1517
|
}, {}));
|
|
1518
1518
|
continue;
|
|
1519
1519
|
case "engineering":
|
|
1520
1520
|
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1521
|
-
return S(S({}, h),
|
|
1521
|
+
return S(S({}, h), Ot(u));
|
|
1522
1522
|
}, {}));
|
|
1523
1523
|
continue;
|
|
1524
1524
|
case "notation-simple":
|
|
@@ -1563,7 +1563,7 @@ function Zn(e) {
|
|
|
1563
1563
|
case "integer-width":
|
|
1564
1564
|
if (i.options.length > 1)
|
|
1565
1565
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1566
|
-
i.options[0].replace(
|
|
1566
|
+
i.options[0].replace(Zn, function(h, u, l, m, c, d) {
|
|
1567
1567
|
if (u)
|
|
1568
1568
|
t.minimumIntegerDigits = l.length;
|
|
1569
1569
|
else {
|
|
@@ -1576,32 +1576,32 @@ function Zn(e) {
|
|
|
1576
1576
|
});
|
|
1577
1577
|
continue;
|
|
1578
1578
|
}
|
|
1579
|
-
if (
|
|
1579
|
+
if (fr.test(i.stem)) {
|
|
1580
1580
|
t.minimumIntegerDigits = i.stem.length;
|
|
1581
1581
|
continue;
|
|
1582
1582
|
}
|
|
1583
|
-
if (
|
|
1583
|
+
if (Bt.test(i.stem)) {
|
|
1584
1584
|
if (i.options.length > 1)
|
|
1585
1585
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1586
|
-
i.stem.replace(
|
|
1586
|
+
i.stem.replace(Bt, function(h, u, l, m, c, d) {
|
|
1587
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), "";
|
|
1588
1588
|
});
|
|
1589
1589
|
var s = i.options[0];
|
|
1590
|
-
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t),
|
|
1590
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), Pt(s)));
|
|
1591
1591
|
continue;
|
|
1592
1592
|
}
|
|
1593
|
-
if (
|
|
1594
|
-
t = S(S({}, t),
|
|
1593
|
+
if (cr.test(i.stem)) {
|
|
1594
|
+
t = S(S({}, t), Pt(i.stem));
|
|
1595
1595
|
continue;
|
|
1596
1596
|
}
|
|
1597
|
-
var o =
|
|
1597
|
+
var o = mr(i.stem);
|
|
1598
1598
|
o && (t = S(S({}, t), o));
|
|
1599
|
-
var a =
|
|
1599
|
+
var a = qn(i.stem);
|
|
1600
1600
|
a && (t = S(S({}, t), a));
|
|
1601
1601
|
}
|
|
1602
1602
|
return t;
|
|
1603
1603
|
}
|
|
1604
|
-
var
|
|
1604
|
+
var ye = {
|
|
1605
1605
|
"001": [
|
|
1606
1606
|
"H",
|
|
1607
1607
|
"h"
|
|
@@ -3016,13 +3016,13 @@ var ge = {
|
|
|
3016
3016
|
"h"
|
|
3017
3017
|
]
|
|
3018
3018
|
};
|
|
3019
|
-
function
|
|
3019
|
+
function Yn(e, t) {
|
|
3020
3020
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3021
3021
|
var i = e.charAt(n);
|
|
3022
3022
|
if (i === "j") {
|
|
3023
3023
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3024
3024
|
s++, n++;
|
|
3025
|
-
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 = Jn(t);
|
|
3026
3026
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3027
3027
|
r += h;
|
|
3028
3028
|
for (; o-- > 0; )
|
|
@@ -3032,7 +3032,7 @@ function qn(e, t) {
|
|
|
3032
3032
|
}
|
|
3033
3033
|
return r;
|
|
3034
3034
|
}
|
|
3035
|
-
function
|
|
3035
|
+
function Jn(e) {
|
|
3036
3036
|
var t = e.hourCycle;
|
|
3037
3037
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3038
3038
|
e.hourCycles && // @ts-ignore
|
|
@@ -3051,23 +3051,23 @@ function Qn(e) {
|
|
|
3051
3051
|
}
|
|
3052
3052
|
var r = e.language, n;
|
|
3053
3053
|
r !== "root" && (n = e.maximize().region);
|
|
3054
|
-
var i =
|
|
3054
|
+
var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
|
|
3055
3055
|
return i[0];
|
|
3056
3056
|
}
|
|
3057
|
-
var
|
|
3057
|
+
var Fe, Kn = new RegExp("^".concat(lr.source, "*")), ei = new RegExp("".concat(lr.source, "*$"));
|
|
3058
3058
|
function y(e, t) {
|
|
3059
3059
|
return { start: e, end: t };
|
|
3060
3060
|
}
|
|
3061
|
-
var
|
|
3061
|
+
var ti = !!String.prototype.startsWith && "_a".startsWith("a", 1), ri = !!String.fromCodePoint, ni = !!Object.fromEntries, ii = !!String.prototype.codePointAt, si = !!String.prototype.trimStart, oi = !!String.prototype.trimEnd, ai = !!Number.isSafeInteger, ui = ai ? Number.isSafeInteger : function(e) {
|
|
3062
3062
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3063
|
-
},
|
|
3063
|
+
}, et = !0;
|
|
3064
3064
|
try {
|
|
3065
|
-
var
|
|
3066
|
-
|
|
3065
|
+
var hi = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3066
|
+
et = ((Fe = hi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
|
|
3067
3067
|
} catch {
|
|
3068
|
-
|
|
3068
|
+
et = !1;
|
|
3069
3069
|
}
|
|
3070
|
-
var
|
|
3070
|
+
var Nt = ti ? (
|
|
3071
3071
|
// Native
|
|
3072
3072
|
function(t, r, n) {
|
|
3073
3073
|
return t.startsWith(r, n);
|
|
@@ -3077,7 +3077,7 @@ var Pt = Kn ? (
|
|
|
3077
3077
|
function(t, r, n) {
|
|
3078
3078
|
return t.slice(n, n + r.length) === r;
|
|
3079
3079
|
}
|
|
3080
|
-
),
|
|
3080
|
+
), tt = ri ? String.fromCodePoint : (
|
|
3081
3081
|
// IE11
|
|
3082
3082
|
function() {
|
|
3083
3083
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3089,9 +3089,9 @@ var Pt = Kn ? (
|
|
|
3089
3089
|
}
|
|
3090
3090
|
return n;
|
|
3091
3091
|
}
|
|
3092
|
-
),
|
|
3092
|
+
), Lt = (
|
|
3093
3093
|
// native
|
|
3094
|
-
|
|
3094
|
+
ni ? Object.fromEntries : (
|
|
3095
3095
|
// Ponyfill
|
|
3096
3096
|
function(t) {
|
|
3097
3097
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3101,7 +3101,7 @@ var Pt = Kn ? (
|
|
|
3101
3101
|
return r;
|
|
3102
3102
|
}
|
|
3103
3103
|
)
|
|
3104
|
-
),
|
|
3104
|
+
), dr = ii ? (
|
|
3105
3105
|
// Native
|
|
3106
3106
|
function(t, r) {
|
|
3107
3107
|
return t.codePointAt(r);
|
|
@@ -3115,7 +3115,7 @@ var Pt = Kn ? (
|
|
|
3115
3115
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3116
3116
|
}
|
|
3117
3117
|
}
|
|
3118
|
-
),
|
|
3118
|
+
), li = si ? (
|
|
3119
3119
|
// Native
|
|
3120
3120
|
function(t) {
|
|
3121
3121
|
return t.trimStart();
|
|
@@ -3123,9 +3123,9 @@ var Pt = Kn ? (
|
|
|
3123
3123
|
) : (
|
|
3124
3124
|
// Ponyfill
|
|
3125
3125
|
function(t) {
|
|
3126
|
-
return t.replace(
|
|
3126
|
+
return t.replace(Kn, "");
|
|
3127
3127
|
}
|
|
3128
|
-
),
|
|
3128
|
+
), ci = oi ? (
|
|
3129
3129
|
// Native
|
|
3130
3130
|
function(t) {
|
|
3131
3131
|
return t.trimEnd();
|
|
@@ -3133,32 +3133,32 @@ var Pt = Kn ? (
|
|
|
3133
3133
|
) : (
|
|
3134
3134
|
// Ponyfill
|
|
3135
3135
|
function(t) {
|
|
3136
|
-
return t.replace(
|
|
3136
|
+
return t.replace(ei, "");
|
|
3137
3137
|
}
|
|
3138
3138
|
);
|
|
3139
|
-
function
|
|
3139
|
+
function br(e, t) {
|
|
3140
3140
|
return new RegExp(e, t);
|
|
3141
3141
|
}
|
|
3142
|
-
var
|
|
3143
|
-
if (
|
|
3144
|
-
var
|
|
3145
|
-
|
|
3142
|
+
var rt;
|
|
3143
|
+
if (et) {
|
|
3144
|
+
var It = br("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3145
|
+
rt = function(t, r) {
|
|
3146
3146
|
var n;
|
|
3147
|
-
|
|
3148
|
-
var i =
|
|
3147
|
+
It.lastIndex = r;
|
|
3148
|
+
var i = It.exec(t);
|
|
3149
3149
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3150
3150
|
};
|
|
3151
3151
|
} else
|
|
3152
|
-
|
|
3152
|
+
rt = function(t, r) {
|
|
3153
3153
|
for (var n = []; ; ) {
|
|
3154
|
-
var i =
|
|
3155
|
-
if (i === void 0 ||
|
|
3154
|
+
var i = dr(t, r);
|
|
3155
|
+
if (i === void 0 || pr(i) || bi(i))
|
|
3156
3156
|
break;
|
|
3157
3157
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3158
3158
|
}
|
|
3159
|
-
return
|
|
3159
|
+
return tt.apply(void 0, n);
|
|
3160
3160
|
};
|
|
3161
|
-
var
|
|
3161
|
+
var fi = (
|
|
3162
3162
|
/** @class */
|
|
3163
3163
|
function() {
|
|
3164
3164
|
function e(t, r) {
|
|
@@ -3182,14 +3182,14 @@ var li = (
|
|
|
3182
3182
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3183
3183
|
var a = this.clonePosition();
|
|
3184
3184
|
this.bump(), i.push({
|
|
3185
|
-
type:
|
|
3185
|
+
type: x.pound,
|
|
3186
3186
|
location: y(a, this.clonePosition())
|
|
3187
3187
|
});
|
|
3188
3188
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3189
3189
|
if (n)
|
|
3190
3190
|
break;
|
|
3191
3191
|
return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3192
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3192
|
+
} else if (s === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
3193
3193
|
var o = this.parseTag(t, r);
|
|
3194
3194
|
if (o.err)
|
|
3195
3195
|
return o;
|
|
@@ -3210,7 +3210,7 @@ var li = (
|
|
|
3210
3210
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3211
3211
|
return {
|
|
3212
3212
|
val: {
|
|
3213
|
-
type:
|
|
3213
|
+
type: x.literal,
|
|
3214
3214
|
value: "<".concat(i, "/>"),
|
|
3215
3215
|
location: y(n, this.clonePosition())
|
|
3216
3216
|
},
|
|
@@ -3222,12 +3222,12 @@ var li = (
|
|
|
3222
3222
|
return s;
|
|
3223
3223
|
var o = s.val, a = this.clonePosition();
|
|
3224
3224
|
if (this.bumpIf("</")) {
|
|
3225
|
-
if (this.isEOF() || !
|
|
3225
|
+
if (this.isEOF() || !nt(this.char()))
|
|
3226
3226
|
return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
|
|
3227
3227
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3228
3228
|
return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3229
3229
|
val: {
|
|
3230
|
-
type:
|
|
3230
|
+
type: x.tag,
|
|
3231
3231
|
value: i,
|
|
3232
3232
|
children: o,
|
|
3233
3233
|
location: y(n, this.clonePosition())
|
|
@@ -3240,7 +3240,7 @@ var li = (
|
|
|
3240
3240
|
return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
|
|
3241
3241
|
}, e.prototype.parseTagName = function() {
|
|
3242
3242
|
var t = this.offset();
|
|
3243
|
-
for (this.bump(); !this.isEOF() &&
|
|
3243
|
+
for (this.bump(); !this.isEOF() && di(this.char()); )
|
|
3244
3244
|
this.bump();
|
|
3245
3245
|
return this.message.slice(t, this.offset());
|
|
3246
3246
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3264,12 +3264,12 @@ var li = (
|
|
|
3264
3264
|
}
|
|
3265
3265
|
var h = y(n, this.clonePosition());
|
|
3266
3266
|
return {
|
|
3267
|
-
val: { type:
|
|
3267
|
+
val: { type: x.literal, value: i, location: h },
|
|
3268
3268
|
err: null
|
|
3269
3269
|
};
|
|
3270
3270
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3271
3271
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3272
|
-
!
|
|
3272
|
+
!mi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3273
3273
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3274
3274
|
if (this.isEOF() || this.char() !== 39)
|
|
3275
3275
|
return null;
|
|
@@ -3303,12 +3303,12 @@ var li = (
|
|
|
3303
3303
|
r.push(n);
|
|
3304
3304
|
this.bump();
|
|
3305
3305
|
}
|
|
3306
|
-
return
|
|
3306
|
+
return tt.apply(void 0, r);
|
|
3307
3307
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3308
3308
|
if (this.isEOF())
|
|
3309
3309
|
return null;
|
|
3310
3310
|
var n = this.char();
|
|
3311
|
-
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(), tt(n));
|
|
3312
3312
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3313
3313
|
var n = this.clonePosition();
|
|
3314
3314
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3324,7 +3324,7 @@ var li = (
|
|
|
3324
3324
|
case 125:
|
|
3325
3325
|
return this.bump(), {
|
|
3326
3326
|
val: {
|
|
3327
|
-
type:
|
|
3327
|
+
type: x.argument,
|
|
3328
3328
|
// value does not include the opening and closing braces.
|
|
3329
3329
|
value: i,
|
|
3330
3330
|
location: y(n, this.clonePosition())
|
|
@@ -3337,7 +3337,7 @@ var li = (
|
|
|
3337
3337
|
return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3338
3338
|
}
|
|
3339
3339
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3340
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3340
|
+
var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
|
|
3341
3341
|
this.bumpTo(i);
|
|
3342
3342
|
var s = this.clonePosition(), o = y(t, s);
|
|
3343
3343
|
return { value: n, location: o };
|
|
@@ -3356,7 +3356,7 @@ var li = (
|
|
|
3356
3356
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
3357
3357
|
if (m.err)
|
|
3358
3358
|
return m;
|
|
3359
|
-
var c =
|
|
3359
|
+
var c = ci(m.val);
|
|
3360
3360
|
if (c.length === 0)
|
|
3361
3361
|
return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3362
3362
|
var d = y(l, this.clonePosition());
|
|
@@ -3366,25 +3366,25 @@ var li = (
|
|
|
3366
3366
|
if (p.err)
|
|
3367
3367
|
return p;
|
|
3368
3368
|
var b = y(i, this.clonePosition());
|
|
3369
|
-
if (u &&
|
|
3370
|
-
var w =
|
|
3369
|
+
if (u && Nt(u?.style, "::", 0)) {
|
|
3370
|
+
var w = li(u.style.slice(2));
|
|
3371
3371
|
if (a === "number") {
|
|
3372
3372
|
var m = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3373
3373
|
return m.err ? m : {
|
|
3374
|
-
val: { type:
|
|
3374
|
+
val: { type: x.number, value: n, location: b, style: m.val },
|
|
3375
3375
|
err: null
|
|
3376
3376
|
};
|
|
3377
3377
|
} else {
|
|
3378
3378
|
if (w.length === 0)
|
|
3379
3379
|
return this.error(g.EXPECT_DATE_TIME_SKELETON, b);
|
|
3380
|
-
var
|
|
3381
|
-
this.locale && (
|
|
3380
|
+
var I = w;
|
|
3381
|
+
this.locale && (I = Yn(w, this.locale));
|
|
3382
3382
|
var c = {
|
|
3383
|
-
type:
|
|
3384
|
-
pattern:
|
|
3383
|
+
type: K.dateTime,
|
|
3384
|
+
pattern: I,
|
|
3385
3385
|
location: u.styleLocation,
|
|
3386
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3387
|
-
}, P = a === "date" ?
|
|
3386
|
+
parsedOptions: this.shouldParseSkeletons ? Vn(I) : {}
|
|
3387
|
+
}, P = a === "date" ? x.date : x.time;
|
|
3388
3388
|
return {
|
|
3389
3389
|
val: { type: P, value: n, location: b, style: c },
|
|
3390
3390
|
err: null
|
|
@@ -3393,7 +3393,7 @@ var li = (
|
|
|
3393
3393
|
}
|
|
3394
3394
|
return {
|
|
3395
3395
|
val: {
|
|
3396
|
-
type: a === "number" ?
|
|
3396
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3397
3397
|
value: n,
|
|
3398
3398
|
location: b,
|
|
3399
3399
|
style: (s = u?.style) !== null && s !== void 0 ? s : null
|
|
@@ -3406,7 +3406,7 @@ var li = (
|
|
|
3406
3406
|
case "select": {
|
|
3407
3407
|
var T = this.clonePosition();
|
|
3408
3408
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3409
|
-
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T,
|
|
3409
|
+
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, Se({}, T)));
|
|
3410
3410
|
this.bumpSpace();
|
|
3411
3411
|
var O = this.parseIdentifierIfPossible(), H = 0;
|
|
3412
3412
|
if (a !== "select" && O.value === "offset") {
|
|
@@ -3418,26 +3418,26 @@ var li = (
|
|
|
3418
3418
|
return m;
|
|
3419
3419
|
this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = m.val;
|
|
3420
3420
|
}
|
|
3421
|
-
var
|
|
3422
|
-
if (
|
|
3423
|
-
return
|
|
3421
|
+
var M = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
|
3422
|
+
if (M.err)
|
|
3423
|
+
return M;
|
|
3424
3424
|
var p = this.tryParseArgumentClose(i);
|
|
3425
3425
|
if (p.err)
|
|
3426
3426
|
return p;
|
|
3427
3427
|
var _ = y(i, this.clonePosition());
|
|
3428
3428
|
return a === "select" ? {
|
|
3429
3429
|
val: {
|
|
3430
|
-
type:
|
|
3430
|
+
type: x.select,
|
|
3431
3431
|
value: n,
|
|
3432
|
-
options:
|
|
3432
|
+
options: Lt(M.val),
|
|
3433
3433
|
location: _
|
|
3434
3434
|
},
|
|
3435
3435
|
err: null
|
|
3436
3436
|
} : {
|
|
3437
3437
|
val: {
|
|
3438
|
-
type:
|
|
3438
|
+
type: x.plural,
|
|
3439
3439
|
value: n,
|
|
3440
|
-
options:
|
|
3440
|
+
options: Lt(M.val),
|
|
3441
3441
|
offset: H,
|
|
3442
3442
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3443
3443
|
location: _
|
|
@@ -3488,16 +3488,16 @@ var li = (
|
|
|
3488
3488
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3489
3489
|
var n = [];
|
|
3490
3490
|
try {
|
|
3491
|
-
n =
|
|
3491
|
+
n = Wn(t);
|
|
3492
3492
|
} catch {
|
|
3493
3493
|
return this.error(g.INVALID_NUMBER_SKELETON, r);
|
|
3494
3494
|
}
|
|
3495
3495
|
return {
|
|
3496
3496
|
val: {
|
|
3497
|
-
type:
|
|
3497
|
+
type: K.number,
|
|
3498
3498
|
tokens: n,
|
|
3499
3499
|
location: r,
|
|
3500
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3500
|
+
parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
|
|
3501
3501
|
},
|
|
3502
3502
|
err: null
|
|
3503
3503
|
};
|
|
@@ -3545,7 +3545,7 @@ var li = (
|
|
|
3545
3545
|
break;
|
|
3546
3546
|
}
|
|
3547
3547
|
var h = y(i, this.clonePosition());
|
|
3548
|
-
return s ? (o *= n,
|
|
3548
|
+
return s ? (o *= n, ui(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3549
3549
|
}, e.prototype.offset = function() {
|
|
3550
3550
|
return this.position.offset;
|
|
3551
3551
|
}, e.prototype.isEOF = function() {
|
|
@@ -3560,7 +3560,7 @@ var li = (
|
|
|
3560
3560
|
var t = this.position.offset;
|
|
3561
3561
|
if (t >= this.message.length)
|
|
3562
3562
|
throw Error("out of bound");
|
|
3563
|
-
var r =
|
|
3563
|
+
var r = dr(this.message, t);
|
|
3564
3564
|
if (r === void 0)
|
|
3565
3565
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3566
3566
|
return r;
|
|
@@ -3579,7 +3579,7 @@ var li = (
|
|
|
3579
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);
|
|
3580
3580
|
}
|
|
3581
3581
|
}, e.prototype.bumpIf = function(t) {
|
|
3582
|
-
if (
|
|
3582
|
+
if (Nt(this.message, t, this.offset())) {
|
|
3583
3583
|
for (var r = 0; r < t.length; r++)
|
|
3584
3584
|
this.bump();
|
|
3585
3585
|
return !0;
|
|
@@ -3601,7 +3601,7 @@ var li = (
|
|
|
3601
3601
|
break;
|
|
3602
3602
|
}
|
|
3603
3603
|
}, e.prototype.bumpSpace = function() {
|
|
3604
|
-
for (; !this.isEOF() &&
|
|
3604
|
+
for (; !this.isEOF() && pr(this.char()); )
|
|
3605
3605
|
this.bump();
|
|
3606
3606
|
}, e.prototype.peek = function() {
|
|
3607
3607
|
if (this.isEOF())
|
|
@@ -3611,47 +3611,47 @@ var li = (
|
|
|
3611
3611
|
}, e;
|
|
3612
3612
|
}()
|
|
3613
3613
|
);
|
|
3614
|
-
function
|
|
3614
|
+
function nt(e) {
|
|
3615
3615
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3616
3616
|
}
|
|
3617
|
-
function
|
|
3618
|
-
return
|
|
3617
|
+
function mi(e) {
|
|
3618
|
+
return nt(e) || e === 47;
|
|
3619
3619
|
}
|
|
3620
|
-
function
|
|
3620
|
+
function di(e) {
|
|
3621
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;
|
|
3622
3622
|
}
|
|
3623
|
-
function
|
|
3623
|
+
function pr(e) {
|
|
3624
3624
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3625
3625
|
}
|
|
3626
|
-
function
|
|
3626
|
+
function bi(e) {
|
|
3627
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;
|
|
3628
3628
|
}
|
|
3629
|
-
function
|
|
3629
|
+
function it(e) {
|
|
3630
3630
|
e.forEach(function(t) {
|
|
3631
|
-
if (delete t.location,
|
|
3631
|
+
if (delete t.location, or(t) || ar(t))
|
|
3632
3632
|
for (var r in t.options)
|
|
3633
|
-
delete t.options[r].location,
|
|
3633
|
+
delete t.options[r].location, it(t.options[r].value);
|
|
3634
3634
|
else
|
|
3635
|
-
|
|
3635
|
+
nr(t) && hr(t.style) || (ir(t) || sr(t)) && Ke(t.style) ? delete t.style.location : ur(t) && it(t.children);
|
|
3636
3636
|
});
|
|
3637
3637
|
}
|
|
3638
|
-
function
|
|
3639
|
-
t === void 0 && (t = {}), t =
|
|
3640
|
-
var r = new
|
|
3638
|
+
function pi(e, t) {
|
|
3639
|
+
t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3640
|
+
var r = new fi(e, t).parse();
|
|
3641
3641
|
if (r.err) {
|
|
3642
3642
|
var n = SyntaxError(g[r.err.kind]);
|
|
3643
3643
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3644
3644
|
}
|
|
3645
|
-
return t?.captureLocation ||
|
|
3645
|
+
return t?.captureLocation || it(r.val), r.val;
|
|
3646
3646
|
}
|
|
3647
|
-
var
|
|
3647
|
+
var ee;
|
|
3648
3648
|
(function(e) {
|
|
3649
3649
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3650
|
-
})(
|
|
3651
|
-
var
|
|
3650
|
+
})(ee || (ee = {}));
|
|
3651
|
+
var Pe = (
|
|
3652
3652
|
/** @class */
|
|
3653
3653
|
function(e) {
|
|
3654
|
-
|
|
3654
|
+
Be(t, e);
|
|
3655
3655
|
function t(r, n, i) {
|
|
3656
3656
|
var s = e.call(this, r) || this;
|
|
3657
3657
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3660,152 +3660,152 @@ var Be = (
|
|
|
3660
3660
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3661
3661
|
}, t;
|
|
3662
3662
|
}(Error)
|
|
3663
|
-
),
|
|
3663
|
+
), Mt = (
|
|
3664
3664
|
/** @class */
|
|
3665
3665
|
function(e) {
|
|
3666
|
-
|
|
3666
|
+
Be(t, e);
|
|
3667
3667
|
function t(r, n, i, s) {
|
|
3668
|
-
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('", "'), '"'), ee.INVALID_VALUE, s) || this;
|
|
3669
3669
|
}
|
|
3670
3670
|
return t;
|
|
3671
|
-
}(
|
|
3672
|
-
),
|
|
3671
|
+
}(Pe)
|
|
3672
|
+
), gi = (
|
|
3673
3673
|
/** @class */
|
|
3674
3674
|
function(e) {
|
|
3675
|
-
|
|
3675
|
+
Be(t, e);
|
|
3676
3676
|
function t(r, n, i) {
|
|
3677
|
-
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), ee.INVALID_VALUE, i) || this;
|
|
3678
3678
|
}
|
|
3679
3679
|
return t;
|
|
3680
|
-
}(
|
|
3681
|
-
),
|
|
3680
|
+
}(Pe)
|
|
3681
|
+
), yi = (
|
|
3682
3682
|
/** @class */
|
|
3683
3683
|
function(e) {
|
|
3684
|
-
|
|
3684
|
+
Be(t, e);
|
|
3685
3685
|
function t(r, n) {
|
|
3686
|
-
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, '"'), ee.MISSING_VALUE, n) || this;
|
|
3687
3687
|
}
|
|
3688
3688
|
return t;
|
|
3689
|
-
}(
|
|
3690
|
-
),
|
|
3689
|
+
}(Pe)
|
|
3690
|
+
), A;
|
|
3691
3691
|
(function(e) {
|
|
3692
3692
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3693
|
-
})(
|
|
3694
|
-
function
|
|
3693
|
+
})(A || (A = {}));
|
|
3694
|
+
function vi(e) {
|
|
3695
3695
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3696
3696
|
var n = t[t.length - 1];
|
|
3697
|
-
return !n || n.type !==
|
|
3697
|
+
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3698
3698
|
}, []);
|
|
3699
3699
|
}
|
|
3700
|
-
function
|
|
3700
|
+
function _i(e) {
|
|
3701
3701
|
return typeof e == "function";
|
|
3702
3702
|
}
|
|
3703
|
-
function
|
|
3704
|
-
if (e.length === 1 &&
|
|
3703
|
+
function Ee(e, t, r, n, i, s, o) {
|
|
3704
|
+
if (e.length === 1 && At(e[0]))
|
|
3705
3705
|
return [
|
|
3706
3706
|
{
|
|
3707
|
-
type:
|
|
3707
|
+
type: A.literal,
|
|
3708
3708
|
value: e[0].value
|
|
3709
3709
|
}
|
|
3710
3710
|
];
|
|
3711
3711
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3712
3712
|
var l = u[h];
|
|
3713
|
-
if (
|
|
3713
|
+
if (At(l)) {
|
|
3714
3714
|
a.push({
|
|
3715
|
-
type:
|
|
3715
|
+
type: A.literal,
|
|
3716
3716
|
value: l.value
|
|
3717
3717
|
});
|
|
3718
3718
|
continue;
|
|
3719
3719
|
}
|
|
3720
|
-
if (
|
|
3720
|
+
if (jn(l)) {
|
|
3721
3721
|
typeof s == "number" && a.push({
|
|
3722
|
-
type:
|
|
3722
|
+
type: A.literal,
|
|
3723
3723
|
value: r.getNumberFormat(t).format(s)
|
|
3724
3724
|
});
|
|
3725
3725
|
continue;
|
|
3726
3726
|
}
|
|
3727
3727
|
var m = l.value;
|
|
3728
3728
|
if (!(i && m in i))
|
|
3729
|
-
throw new
|
|
3729
|
+
throw new yi(m, o);
|
|
3730
3730
|
var c = i[m];
|
|
3731
|
-
if (
|
|
3731
|
+
if ($n(l)) {
|
|
3732
3732
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3733
|
-
type: typeof c == "string" ?
|
|
3733
|
+
type: typeof c == "string" ? A.literal : A.object,
|
|
3734
3734
|
value: c
|
|
3735
3735
|
});
|
|
3736
3736
|
continue;
|
|
3737
3737
|
}
|
|
3738
|
-
if (
|
|
3739
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
|
3738
|
+
if (ir(l)) {
|
|
3739
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Ke(l.style) ? l.style.parsedOptions : void 0;
|
|
3740
3740
|
a.push({
|
|
3741
|
-
type:
|
|
3741
|
+
type: A.literal,
|
|
3742
3742
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3743
3743
|
});
|
|
3744
3744
|
continue;
|
|
3745
3745
|
}
|
|
3746
|
-
if (
|
|
3747
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
|
3746
|
+
if (sr(l)) {
|
|
3747
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Ke(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3748
3748
|
a.push({
|
|
3749
|
-
type:
|
|
3749
|
+
type: A.literal,
|
|
3750
3750
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3751
3751
|
});
|
|
3752
3752
|
continue;
|
|
3753
3753
|
}
|
|
3754
|
-
if (
|
|
3755
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
|
3754
|
+
if (nr(l)) {
|
|
3755
|
+
var d = typeof l.style == "string" ? n.number[l.style] : hr(l.style) ? l.style.parsedOptions : void 0;
|
|
3756
3756
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3757
|
-
type:
|
|
3757
|
+
type: A.literal,
|
|
3758
3758
|
value: r.getNumberFormat(t, d).format(c)
|
|
3759
3759
|
});
|
|
3760
3760
|
continue;
|
|
3761
3761
|
}
|
|
3762
|
-
if (
|
|
3762
|
+
if (ur(l)) {
|
|
3763
3763
|
var p = l.children, b = l.value, w = i[b];
|
|
3764
|
-
if (!
|
|
3765
|
-
throw new
|
|
3766
|
-
var
|
|
3764
|
+
if (!_i(w))
|
|
3765
|
+
throw new gi(b, "function", o);
|
|
3766
|
+
var I = Ee(p, t, r, n, i, s), P = w(I.map(function(H) {
|
|
3767
3767
|
return H.value;
|
|
3768
3768
|
}));
|
|
3769
3769
|
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(H) {
|
|
3770
3770
|
return {
|
|
3771
|
-
type: typeof H == "string" ?
|
|
3771
|
+
type: typeof H == "string" ? A.literal : A.object,
|
|
3772
3772
|
value: H
|
|
3773
3773
|
};
|
|
3774
3774
|
}));
|
|
3775
3775
|
}
|
|
3776
|
-
if (
|
|
3776
|
+
if (or(l)) {
|
|
3777
3777
|
var T = l.options[c] || l.options.other;
|
|
3778
3778
|
if (!T)
|
|
3779
|
-
throw new
|
|
3780
|
-
a.push.apply(a,
|
|
3779
|
+
throw new Mt(l.value, c, Object.keys(l.options), o);
|
|
3780
|
+
a.push.apply(a, Ee(T.value, t, r, n, i));
|
|
3781
3781
|
continue;
|
|
3782
3782
|
}
|
|
3783
|
-
if (
|
|
3783
|
+
if (ar(l)) {
|
|
3784
3784
|
var T = l.options["=".concat(c)];
|
|
3785
3785
|
if (!T) {
|
|
3786
3786
|
if (!Intl.PluralRules)
|
|
3787
|
-
throw new
|
|
3787
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
|
3788
3788
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3789
|
-
`,
|
|
3789
|
+
`, ee.MISSING_INTL_API, o);
|
|
3790
3790
|
var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3791
3791
|
T = l.options[O] || l.options.other;
|
|
3792
3792
|
}
|
|
3793
3793
|
if (!T)
|
|
3794
|
-
throw new
|
|
3795
|
-
a.push.apply(a,
|
|
3794
|
+
throw new Mt(l.value, c, Object.keys(l.options), o);
|
|
3795
|
+
a.push.apply(a, Ee(T.value, t, r, n, i, c - (l.offset || 0)));
|
|
3796
3796
|
continue;
|
|
3797
3797
|
}
|
|
3798
3798
|
}
|
|
3799
|
-
return
|
|
3799
|
+
return vi(a);
|
|
3800
3800
|
}
|
|
3801
|
-
function
|
|
3801
|
+
function Ei(e, t) {
|
|
3802
3802
|
return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3803
3803
|
return r[n] = R(R({}, e[n]), t[n] || {}), r;
|
|
3804
3804
|
}, {})) : e;
|
|
3805
3805
|
}
|
|
3806
|
-
function
|
|
3806
|
+
function xi(e, t) {
|
|
3807
3807
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3808
|
-
return r[n] =
|
|
3808
|
+
return r[n] = Ei(e[n], t[n]), r;
|
|
3809
3809
|
}, R({}, e)) : e;
|
|
3810
3810
|
}
|
|
3811
3811
|
function $e(e) {
|
|
@@ -3822,39 +3822,39 @@ function $e(e) {
|
|
|
3822
3822
|
}
|
|
3823
3823
|
};
|
|
3824
3824
|
}
|
|
3825
|
-
function
|
|
3825
|
+
function Si(e) {
|
|
3826
3826
|
return e === void 0 && (e = {
|
|
3827
3827
|
number: {},
|
|
3828
3828
|
dateTime: {},
|
|
3829
3829
|
pluralRules: {}
|
|
3830
3830
|
}), {
|
|
3831
|
-
getNumberFormat:
|
|
3831
|
+
getNumberFormat: Ue(function() {
|
|
3832
3832
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3833
3833
|
r[n] = arguments[n];
|
|
3834
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3834
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
|
|
3835
3835
|
}, {
|
|
3836
3836
|
cache: $e(e.number),
|
|
3837
|
-
strategy:
|
|
3837
|
+
strategy: De.variadic
|
|
3838
3838
|
}),
|
|
3839
|
-
getDateTimeFormat:
|
|
3839
|
+
getDateTimeFormat: Ue(function() {
|
|
3840
3840
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3841
3841
|
r[n] = arguments[n];
|
|
3842
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3842
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
|
|
3843
3843
|
}, {
|
|
3844
3844
|
cache: $e(e.dateTime),
|
|
3845
|
-
strategy:
|
|
3845
|
+
strategy: De.variadic
|
|
3846
3846
|
}),
|
|
3847
|
-
getPluralRules:
|
|
3847
|
+
getPluralRules: Ue(function() {
|
|
3848
3848
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3849
3849
|
r[n] = arguments[n];
|
|
3850
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3850
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
|
|
3851
3851
|
}, {
|
|
3852
3852
|
cache: $e(e.pluralRules),
|
|
3853
|
-
strategy:
|
|
3853
|
+
strategy: De.variadic
|
|
3854
3854
|
})
|
|
3855
3855
|
};
|
|
3856
3856
|
}
|
|
3857
|
-
var
|
|
3857
|
+
var wi = (
|
|
3858
3858
|
/** @class */
|
|
3859
3859
|
function() {
|
|
3860
3860
|
function e(t, r, n, i) {
|
|
@@ -3869,11 +3869,11 @@ var xi = (
|
|
|
3869
3869
|
if (u.length === 1)
|
|
3870
3870
|
return u[0].value;
|
|
3871
3871
|
var l = u.reduce(function(m, c) {
|
|
3872
|
-
return !m.length || c.type !==
|
|
3872
|
+
return !m.length || c.type !== A.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
|
|
3873
3873
|
}, []);
|
|
3874
3874
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3875
3875
|
}, this.formatToParts = function(h) {
|
|
3876
|
-
return
|
|
3876
|
+
return Ee(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3877
3877
|
}, this.resolvedOptions = function() {
|
|
3878
3878
|
var h;
|
|
3879
3879
|
return {
|
|
@@ -3886,13 +3886,13 @@ var xi = (
|
|
|
3886
3886
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3887
3887
|
var o = i || {};
|
|
3888
3888
|
o.formatters;
|
|
3889
|
-
var a =
|
|
3889
|
+
var a = In(o, ["formatters"]);
|
|
3890
3890
|
this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
|
|
3891
3891
|
} else
|
|
3892
3892
|
this.ast = t;
|
|
3893
3893
|
if (!Array.isArray(this.ast))
|
|
3894
3894
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3895
|
-
this.formats =
|
|
3895
|
+
this.formats = xi(e.formats, n), this.formatters = i && i.formatters || Si(this.formatterCache);
|
|
3896
3896
|
}
|
|
3897
3897
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3898
3898
|
get: function() {
|
|
@@ -3905,7 +3905,7 @@ var xi = (
|
|
|
3905
3905
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3906
3906
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3907
3907
|
}
|
|
3908
|
-
}, e.__parse =
|
|
3908
|
+
}, e.__parse = pi, e.formats = {
|
|
3909
3909
|
number: {
|
|
3910
3910
|
integer: {
|
|
3911
3911
|
maximumFractionDigits: 0
|
|
@@ -3966,7 +3966,7 @@ var xi = (
|
|
|
3966
3966
|
}, e;
|
|
3967
3967
|
}()
|
|
3968
3968
|
);
|
|
3969
|
-
function
|
|
3969
|
+
function Ti(e, t) {
|
|
3970
3970
|
if (t == null)
|
|
3971
3971
|
return;
|
|
3972
3972
|
if (t in e)
|
|
@@ -3987,92 +3987,92 @@ function Si(e, t) {
|
|
|
3987
3987
|
n = void 0;
|
|
3988
3988
|
return n;
|
|
3989
3989
|
}
|
|
3990
|
-
const D = {},
|
|
3990
|
+
const D = {}, Hi = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), gr = (e, t) => {
|
|
3991
3991
|
if (t == null)
|
|
3992
3992
|
return;
|
|
3993
3993
|
if (t in D && e in D[t])
|
|
3994
3994
|
return D[t][e];
|
|
3995
|
-
const r =
|
|
3995
|
+
const r = Oe(t);
|
|
3996
3996
|
for (let n = 0; n < r.length; n++) {
|
|
3997
|
-
const i = r[n], s =
|
|
3997
|
+
const i = r[n], s = Bi(i, e);
|
|
3998
3998
|
if (s)
|
|
3999
|
-
return
|
|
3999
|
+
return Hi(e, t, s);
|
|
4000
4000
|
}
|
|
4001
4001
|
};
|
|
4002
|
-
let
|
|
4003
|
-
const
|
|
4004
|
-
function
|
|
4005
|
-
return
|
|
4002
|
+
let ht;
|
|
4003
|
+
const de = Ae({});
|
|
4004
|
+
function Ai(e) {
|
|
4005
|
+
return ht[e] || null;
|
|
4006
4006
|
}
|
|
4007
|
-
function
|
|
4008
|
-
return e in
|
|
4007
|
+
function yr(e) {
|
|
4008
|
+
return e in ht;
|
|
4009
4009
|
}
|
|
4010
|
-
function
|
|
4011
|
-
if (!
|
|
4010
|
+
function Bi(e, t) {
|
|
4011
|
+
if (!yr(e))
|
|
4012
4012
|
return null;
|
|
4013
|
-
const r =
|
|
4014
|
-
return
|
|
4013
|
+
const r = Ai(e);
|
|
4014
|
+
return Ti(r, t);
|
|
4015
4015
|
}
|
|
4016
|
-
function
|
|
4016
|
+
function Pi(e) {
|
|
4017
4017
|
if (e == null)
|
|
4018
4018
|
return;
|
|
4019
|
-
const t =
|
|
4019
|
+
const t = Oe(e);
|
|
4020
4020
|
for (let r = 0; r < t.length; r++) {
|
|
4021
4021
|
const n = t[r];
|
|
4022
|
-
if (
|
|
4022
|
+
if (yr(n))
|
|
4023
4023
|
return n;
|
|
4024
4024
|
}
|
|
4025
4025
|
}
|
|
4026
|
-
function
|
|
4027
|
-
delete D[e],
|
|
4026
|
+
function vr(e, ...t) {
|
|
4027
|
+
delete D[e], de.update((r) => (r[e] = Ln.all([r[e] || {}, ...t]), r));
|
|
4028
4028
|
}
|
|
4029
|
-
|
|
4030
|
-
[
|
|
4029
|
+
se(
|
|
4030
|
+
[de],
|
|
4031
4031
|
([e]) => Object.keys(e)
|
|
4032
4032
|
);
|
|
4033
|
-
|
|
4034
|
-
const
|
|
4035
|
-
function
|
|
4036
|
-
|
|
4033
|
+
de.subscribe((e) => ht = e);
|
|
4034
|
+
const xe = {};
|
|
4035
|
+
function Oi(e, t) {
|
|
4036
|
+
xe[e].delete(t), xe[e].size === 0 && delete xe[e];
|
|
4037
4037
|
}
|
|
4038
|
-
function
|
|
4039
|
-
return
|
|
4038
|
+
function _r(e) {
|
|
4039
|
+
return xe[e];
|
|
4040
4040
|
}
|
|
4041
|
-
function
|
|
4042
|
-
return
|
|
4043
|
-
const r =
|
|
4041
|
+
function Ni(e) {
|
|
4042
|
+
return Oe(e).map((t) => {
|
|
4043
|
+
const r = _r(t);
|
|
4044
4044
|
return [t, r ? [...r] : []];
|
|
4045
4045
|
}).filter(([, t]) => t.length > 0);
|
|
4046
4046
|
}
|
|
4047
|
-
function
|
|
4048
|
-
return e == null ? !1 :
|
|
4047
|
+
function st(e) {
|
|
4048
|
+
return e == null ? !1 : Oe(e).some(
|
|
4049
4049
|
(t) => {
|
|
4050
4050
|
var r;
|
|
4051
|
-
return (r =
|
|
4051
|
+
return (r = _r(t)) == null ? void 0 : r.size;
|
|
4052
4052
|
}
|
|
4053
4053
|
);
|
|
4054
4054
|
}
|
|
4055
|
-
function
|
|
4055
|
+
function Li(e, t) {
|
|
4056
4056
|
return Promise.all(
|
|
4057
|
-
t.map((n) => (
|
|
4058
|
-
).then((n) =>
|
|
4059
|
-
}
|
|
4060
|
-
const
|
|
4061
|
-
function
|
|
4062
|
-
if (!
|
|
4063
|
-
return e in
|
|
4064
|
-
const t =
|
|
4065
|
-
return
|
|
4057
|
+
t.map((n) => (Oi(e, n), n().then((i) => i.default || i)))
|
|
4058
|
+
).then((n) => vr(e, ...n));
|
|
4059
|
+
}
|
|
4060
|
+
const ae = {};
|
|
4061
|
+
function Er(e) {
|
|
4062
|
+
if (!st(e))
|
|
4063
|
+
return e in ae ? ae[e] : Promise.resolve();
|
|
4064
|
+
const t = Ni(e);
|
|
4065
|
+
return ae[e] = Promise.all(
|
|
4066
4066
|
t.map(
|
|
4067
|
-
([r, n]) =>
|
|
4067
|
+
([r, n]) => Li(r, n)
|
|
4068
4068
|
)
|
|
4069
4069
|
).then(() => {
|
|
4070
|
-
if (
|
|
4071
|
-
return
|
|
4072
|
-
delete
|
|
4073
|
-
}),
|
|
4070
|
+
if (st(e))
|
|
4071
|
+
return Er(e);
|
|
4072
|
+
delete ae[e];
|
|
4073
|
+
}), ae[e];
|
|
4074
4074
|
}
|
|
4075
|
-
const
|
|
4075
|
+
const Ii = {
|
|
4076
4076
|
number: {
|
|
4077
4077
|
scientific: { notation: "scientific" },
|
|
4078
4078
|
engineering: { notation: "engineering" },
|
|
@@ -4101,150 +4101,150 @@ const Ni = {
|
|
|
4101
4101
|
timeZoneName: "short"
|
|
4102
4102
|
}
|
|
4103
4103
|
}
|
|
4104
|
-
},
|
|
4104
|
+
}, Mi = {
|
|
4105
4105
|
fallbackLocale: null,
|
|
4106
4106
|
loadingDelay: 200,
|
|
4107
|
-
formats:
|
|
4107
|
+
formats: Ii,
|
|
4108
4108
|
warnOnMissingMessages: !0,
|
|
4109
4109
|
handleMissingMessage: void 0,
|
|
4110
4110
|
ignoreTag: !0
|
|
4111
|
-
},
|
|
4112
|
-
function
|
|
4113
|
-
return
|
|
4111
|
+
}, Ci = Mi;
|
|
4112
|
+
function te() {
|
|
4113
|
+
return Ci;
|
|
4114
4114
|
}
|
|
4115
|
-
const
|
|
4116
|
-
var
|
|
4115
|
+
const je = Ae(!1);
|
|
4116
|
+
var Ri = Object.defineProperty, Gi = Object.defineProperties, Ui = Object.getOwnPropertyDescriptors, Ct = Object.getOwnPropertySymbols, Di = Object.prototype.hasOwnProperty, Fi = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $i = (e, t) => {
|
|
4117
4117
|
for (var r in t || (t = {}))
|
|
4118
|
-
|
|
4119
|
-
if (
|
|
4120
|
-
for (var r of
|
|
4121
|
-
|
|
4118
|
+
Di.call(t, r) && Rt(e, r, t[r]);
|
|
4119
|
+
if (Ct)
|
|
4120
|
+
for (var r of Ct(t))
|
|
4121
|
+
Fi.call(t, r) && Rt(e, r, t[r]);
|
|
4122
4122
|
return e;
|
|
4123
|
-
},
|
|
4124
|
-
let
|
|
4125
|
-
const
|
|
4126
|
-
function
|
|
4123
|
+
}, ji = (e, t) => Gi(e, Ui(t));
|
|
4124
|
+
let ot;
|
|
4125
|
+
const we = Ae(null);
|
|
4126
|
+
function Gt(e) {
|
|
4127
4127
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4128
4128
|
}
|
|
4129
|
-
function
|
|
4130
|
-
const r =
|
|
4131
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4129
|
+
function Oe(e, t = te().fallbackLocale) {
|
|
4130
|
+
const r = Gt(e);
|
|
4131
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
|
|
4132
4132
|
}
|
|
4133
|
-
function
|
|
4134
|
-
return
|
|
4133
|
+
function X() {
|
|
4134
|
+
return ot ?? void 0;
|
|
4135
4135
|
}
|
|
4136
|
-
|
|
4137
|
-
|
|
4136
|
+
we.subscribe((e) => {
|
|
4137
|
+
ot = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4138
4138
|
});
|
|
4139
|
-
const
|
|
4140
|
-
if (e &&
|
|
4141
|
-
const { loadingDelay: t } =
|
|
4139
|
+
const ki = (e) => {
|
|
4140
|
+
if (e && Pi(e) && st(e)) {
|
|
4141
|
+
const { loadingDelay: t } = te();
|
|
4142
4142
|
let r;
|
|
4143
|
-
return typeof window < "u" &&
|
|
4144
|
-
() =>
|
|
4143
|
+
return typeof window < "u" && X() != null && t ? r = window.setTimeout(
|
|
4144
|
+
() => je.set(!0),
|
|
4145
4145
|
t
|
|
4146
|
-
) :
|
|
4147
|
-
|
|
4146
|
+
) : je.set(!0), Er(e).then(() => {
|
|
4147
|
+
we.set(e);
|
|
4148
4148
|
}).finally(() => {
|
|
4149
|
-
clearTimeout(r),
|
|
4149
|
+
clearTimeout(r), je.set(!1);
|
|
4150
4150
|
});
|
|
4151
4151
|
}
|
|
4152
|
-
return
|
|
4153
|
-
},
|
|
4154
|
-
set:
|
|
4155
|
-
}),
|
|
4152
|
+
return we.set(e);
|
|
4153
|
+
}, be = ji($i({}, we), {
|
|
4154
|
+
set: ki
|
|
4155
|
+
}), Ne = (e) => {
|
|
4156
4156
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4157
4157
|
return (n) => {
|
|
4158
4158
|
const i = JSON.stringify(n);
|
|
4159
4159
|
return i in t ? t[i] : t[i] = e(n);
|
|
4160
4160
|
};
|
|
4161
4161
|
};
|
|
4162
|
-
var
|
|
4162
|
+
var Vi = Object.defineProperty, Te = Object.getOwnPropertySymbols, xr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4163
4163
|
for (var r in t || (t = {}))
|
|
4164
|
-
|
|
4165
|
-
if (
|
|
4166
|
-
for (var r of
|
|
4167
|
-
|
|
4164
|
+
xr.call(t, r) && Ut(e, r, t[r]);
|
|
4165
|
+
if (Te)
|
|
4166
|
+
for (var r of Te(t))
|
|
4167
|
+
Sr.call(t, r) && Ut(e, r, t[r]);
|
|
4168
4168
|
return e;
|
|
4169
|
-
},
|
|
4169
|
+
}, oe = (e, t) => {
|
|
4170
4170
|
var r = {};
|
|
4171
4171
|
for (var n in e)
|
|
4172
|
-
|
|
4173
|
-
if (e != null &&
|
|
4174
|
-
for (var n of
|
|
4175
|
-
t.indexOf(n) < 0 &&
|
|
4172
|
+
xr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4173
|
+
if (e != null && Te)
|
|
4174
|
+
for (var n of Te(e))
|
|
4175
|
+
t.indexOf(n) < 0 && Sr.call(e, n) && (r[n] = e[n]);
|
|
4176
4176
|
return r;
|
|
4177
4177
|
};
|
|
4178
|
-
const
|
|
4179
|
-
const { formats: r } =
|
|
4178
|
+
const ce = (e, t) => {
|
|
4179
|
+
const { formats: r } = te();
|
|
4180
4180
|
if (e in r && t in r[e])
|
|
4181
4181
|
return r[e][t];
|
|
4182
4182
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4183
|
-
},
|
|
4183
|
+
}, Xi = Ne(
|
|
4184
4184
|
(e) => {
|
|
4185
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4185
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4186
4186
|
if (r == null)
|
|
4187
4187
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4188
|
-
return n && (i =
|
|
4188
|
+
return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
|
|
4189
4189
|
}
|
|
4190
|
-
),
|
|
4190
|
+
), Wi = Ne(
|
|
4191
4191
|
(e) => {
|
|
4192
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4192
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4193
4193
|
if (r == null)
|
|
4194
4194
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4195
|
-
return n ? i =
|
|
4195
|
+
return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4196
4196
|
}
|
|
4197
|
-
),
|
|
4197
|
+
), zi = Ne(
|
|
4198
4198
|
(e) => {
|
|
4199
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4199
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4200
4200
|
if (r == null)
|
|
4201
4201
|
throw new Error(
|
|
4202
4202
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4203
4203
|
);
|
|
4204
|
-
return n ? i =
|
|
4204
|
+
return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4205
4205
|
}
|
|
4206
|
-
),
|
|
4206
|
+
), Zi = (e = {}) => {
|
|
4207
4207
|
var t = e, {
|
|
4208
|
-
locale: r =
|
|
4209
|
-
} = t, n =
|
|
4208
|
+
locale: r = X()
|
|
4209
|
+
} = t, n = oe(t, [
|
|
4210
4210
|
"locale"
|
|
4211
4211
|
]);
|
|
4212
|
-
return
|
|
4213
|
-
},
|
|
4212
|
+
return Xi(lt({ locale: r }, n));
|
|
4213
|
+
}, qi = (e = {}) => {
|
|
4214
4214
|
var t = e, {
|
|
4215
|
-
locale: r =
|
|
4216
|
-
} = t, n =
|
|
4215
|
+
locale: r = X()
|
|
4216
|
+
} = t, n = oe(t, [
|
|
4217
4217
|
"locale"
|
|
4218
4218
|
]);
|
|
4219
|
-
return
|
|
4220
|
-
},
|
|
4219
|
+
return Wi(lt({ locale: r }, n));
|
|
4220
|
+
}, Qi = (e = {}) => {
|
|
4221
4221
|
var t = e, {
|
|
4222
|
-
locale: r =
|
|
4223
|
-
} = t, n =
|
|
4222
|
+
locale: r = X()
|
|
4223
|
+
} = t, n = oe(t, [
|
|
4224
4224
|
"locale"
|
|
4225
4225
|
]);
|
|
4226
|
-
return
|
|
4227
|
-
},
|
|
4226
|
+
return zi(lt({ locale: r }, n));
|
|
4227
|
+
}, Yi = Ne(
|
|
4228
4228
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4229
|
-
(e, t =
|
|
4230
|
-
ignoreTag:
|
|
4229
|
+
(e, t = X()) => new wi(e, t, te().formats, {
|
|
4230
|
+
ignoreTag: te().ignoreTag
|
|
4231
4231
|
})
|
|
4232
|
-
),
|
|
4232
|
+
), Ji = (e, t = {}) => {
|
|
4233
4233
|
var r, n, i, s;
|
|
4234
4234
|
let o = t;
|
|
4235
4235
|
typeof e == "object" && (o = e, e = o.id);
|
|
4236
4236
|
const {
|
|
4237
4237
|
values: a,
|
|
4238
|
-
locale: h =
|
|
4238
|
+
locale: h = X(),
|
|
4239
4239
|
default: u
|
|
4240
4240
|
} = o;
|
|
4241
4241
|
if (h == null)
|
|
4242
4242
|
throw new Error(
|
|
4243
4243
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4244
4244
|
);
|
|
4245
|
-
let l =
|
|
4245
|
+
let l = gr(e, h);
|
|
4246
4246
|
if (!l)
|
|
4247
|
-
l = (s = (i = (n = (r =
|
|
4247
|
+
l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
4248
4248
|
else if (typeof l != "string")
|
|
4249
4249
|
return console.warn(
|
|
4250
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.`
|
|
@@ -4253,7 +4253,7 @@ const le = (e, t) => {
|
|
|
4253
4253
|
return l;
|
|
4254
4254
|
let m = l;
|
|
4255
4255
|
try {
|
|
4256
|
-
m =
|
|
4256
|
+
m = Yi(l, h).format(a);
|
|
4257
4257
|
} catch (c) {
|
|
4258
4258
|
c instanceof Error && console.warn(
|
|
4259
4259
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4261,18 +4261,18 @@ const le = (e, t) => {
|
|
|
4261
4261
|
);
|
|
4262
4262
|
}
|
|
4263
4263
|
return m;
|
|
4264
|
-
},
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
window.emWidgets = { topic:
|
|
4270
|
-
const
|
|
4264
|
+
}, Ki = (e, t) => Qi(t).format(e), es = (e, t) => qi(t).format(e), ts = (e, t) => Zi(t).format(e), rs = (e, t = X()) => gr(e, t), ns = se([be, de], () => Ji);
|
|
4265
|
+
se([be], () => Ki);
|
|
4266
|
+
se([be], () => es);
|
|
4267
|
+
se([be], () => ts);
|
|
4268
|
+
se([be, de], () => rs);
|
|
4269
|
+
window.emWidgets = { topic: bn };
|
|
4270
|
+
const is = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4271
4271
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4272
|
-
function
|
|
4273
|
-
|
|
4272
|
+
function ss(e, t) {
|
|
4273
|
+
vr(e, t);
|
|
4274
4274
|
}
|
|
4275
|
-
const
|
|
4275
|
+
const os = {
|
|
4276
4276
|
en: {
|
|
4277
4277
|
lobbyName: "Lobby",
|
|
4278
4278
|
myGamesName: "My games"
|
|
@@ -4346,13 +4346,13 @@ const is = {
|
|
|
4346
4346
|
myGamesName: "My games"
|
|
4347
4347
|
}
|
|
4348
4348
|
};
|
|
4349
|
-
function
|
|
4349
|
+
function as(e, t) {
|
|
4350
4350
|
if (e) {
|
|
4351
4351
|
const r = document.createElement("style");
|
|
4352
4352
|
r.innerHTML = t, e.appendChild(r);
|
|
4353
4353
|
}
|
|
4354
4354
|
}
|
|
4355
|
-
function
|
|
4355
|
+
function us(e, t) {
|
|
4356
4356
|
if (!e || !t)
|
|
4357
4357
|
return;
|
|
4358
4358
|
const r = new URL(t);
|
|
@@ -4363,7 +4363,7 @@ function os(e, t) {
|
|
|
4363
4363
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4364
4364
|
});
|
|
4365
4365
|
}
|
|
4366
|
-
function
|
|
4366
|
+
function hs(e, t, r) {
|
|
4367
4367
|
if (window.emMessageBus) {
|
|
4368
4368
|
const n = document.createElement("style");
|
|
4369
4369
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4383,21 +4383,21 @@ if (typeof window < "u") {
|
|
|
4383
4383
|
}
|
|
4384
4384
|
};
|
|
4385
4385
|
};
|
|
4386
|
-
customElements.define = e(customElements.define), import("./CasinoSliderNd-
|
|
4386
|
+
customElements.define = e(customElements.define), import("./CasinoSliderNd-CxU4-wQV.js").then(({ default: t }) => {
|
|
4387
4387
|
!customElements.get("casino-slider-nd") && customElements.define("casino-slider-nd", t.element);
|
|
4388
4388
|
});
|
|
4389
4389
|
}
|
|
4390
|
-
function
|
|
4390
|
+
function ls(e, t, r) {
|
|
4391
4391
|
window.emMessageBus && window.emMessageBus.subscribe(e, r);
|
|
4392
4392
|
}
|
|
4393
|
-
function
|
|
4394
|
-
|
|
4393
|
+
function cs(e) {
|
|
4394
|
+
Gr(e, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
|
|
4395
4395
|
}
|
|
4396
|
-
function
|
|
4396
|
+
function fs(e) {
|
|
4397
4397
|
let t, r;
|
|
4398
4398
|
return {
|
|
4399
4399
|
c() {
|
|
4400
|
-
t =
|
|
4400
|
+
t = V("div"), r = V("casino-slider-nd"), v(
|
|
4401
4401
|
r,
|
|
4402
4402
|
"lang",
|
|
4403
4403
|
/*lang*/
|
|
@@ -4412,7 +4412,7 @@ function ls(e) {
|
|
|
4412
4412
|
"endpoint",
|
|
4413
4413
|
/*endpoint*/
|
|
4414
4414
|
e[1]
|
|
4415
|
-
), v(r, "identity",
|
|
4415
|
+
), v(r, "identity", at), v(
|
|
4416
4416
|
r,
|
|
4417
4417
|
"favoritesnumber",
|
|
4418
4418
|
/*numberOfFavoredGames*/
|
|
@@ -4467,10 +4467,10 @@ function ls(e) {
|
|
|
4467
4467
|
"mbsource",
|
|
4468
4468
|
/*mbsource*/
|
|
4469
4469
|
e[4]
|
|
4470
|
-
), v(r, "class", "svelte-ciaihq"),
|
|
4470
|
+
), v(r, "class", "svelte-ciaihq"), ie(t, "class", "CasinoCategoriesContainer svelte-ciaihq");
|
|
4471
4471
|
},
|
|
4472
4472
|
m(n, i) {
|
|
4473
|
-
|
|
4473
|
+
fe(n, t, i), jt(t, r);
|
|
4474
4474
|
},
|
|
4475
4475
|
p(n, i) {
|
|
4476
4476
|
i[0] & /*lang*/
|
|
@@ -4560,157 +4560,159 @@ function ls(e) {
|
|
|
4560
4560
|
);
|
|
4561
4561
|
},
|
|
4562
4562
|
d(n) {
|
|
4563
|
-
n &&
|
|
4563
|
+
n && ne(t);
|
|
4564
4564
|
}
|
|
4565
4565
|
};
|
|
4566
4566
|
}
|
|
4567
|
-
function
|
|
4567
|
+
function ms(e) {
|
|
4568
4568
|
let t;
|
|
4569
4569
|
return {
|
|
4570
4570
|
c() {
|
|
4571
|
-
t =
|
|
4571
|
+
t = V("p"), t.textContent = "500 Error - Internal Server Error.", ie(t, "class", "SearchLoading svelte-ciaihq");
|
|
4572
4572
|
},
|
|
4573
4573
|
m(r, n) {
|
|
4574
|
-
|
|
4574
|
+
fe(r, t, n);
|
|
4575
4575
|
},
|
|
4576
|
-
p:
|
|
4576
|
+
p: L,
|
|
4577
4577
|
d(r) {
|
|
4578
|
-
r &&
|
|
4578
|
+
r && ne(t);
|
|
4579
4579
|
}
|
|
4580
4580
|
};
|
|
4581
4581
|
}
|
|
4582
|
-
function
|
|
4582
|
+
function ds(e) {
|
|
4583
4583
|
let t;
|
|
4584
4584
|
return {
|
|
4585
4585
|
c() {
|
|
4586
|
-
t =
|
|
4586
|
+
t = V("div"), ie(t, "class", "CasinoCategoriesLoading svelte-ciaihq");
|
|
4587
4587
|
},
|
|
4588
4588
|
m(r, n) {
|
|
4589
|
-
|
|
4589
|
+
fe(r, t, n);
|
|
4590
4590
|
},
|
|
4591
|
-
p:
|
|
4591
|
+
p: L,
|
|
4592
4592
|
d(r) {
|
|
4593
|
-
r &&
|
|
4593
|
+
r && ne(t);
|
|
4594
4594
|
}
|
|
4595
4595
|
};
|
|
4596
4596
|
}
|
|
4597
|
-
function
|
|
4597
|
+
function bs(e) {
|
|
4598
4598
|
let t;
|
|
4599
4599
|
function r(s, o) {
|
|
4600
4600
|
return (
|
|
4601
4601
|
/*isLoading*/
|
|
4602
|
-
s[13] ||
|
|
4602
|
+
s[13] || ps || gs ? ds : (
|
|
4603
4603
|
/*hasErrors*/
|
|
4604
|
-
s[15] ?
|
|
4604
|
+
s[15] ? ms : fs
|
|
4605
4605
|
)
|
|
4606
4606
|
);
|
|
4607
4607
|
}
|
|
4608
4608
|
let n = r(e), i = n(e);
|
|
4609
4609
|
return {
|
|
4610
4610
|
c() {
|
|
4611
|
-
t =
|
|
4611
|
+
t = V("div"), i.c(), ie(t, "class", "svelte-ciaihq");
|
|
4612
4612
|
},
|
|
4613
4613
|
m(s, o) {
|
|
4614
|
-
|
|
4614
|
+
fe(s, t, o), i.m(t, null), e[27](t);
|
|
4615
4615
|
},
|
|
4616
4616
|
p(s, o) {
|
|
4617
4617
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
|
4618
4618
|
},
|
|
4619
|
-
i:
|
|
4620
|
-
o:
|
|
4619
|
+
i: L,
|
|
4620
|
+
o: L,
|
|
4621
4621
|
d(s) {
|
|
4622
|
-
s &&
|
|
4622
|
+
s && ne(t), i.d(), e[27](null);
|
|
4623
4623
|
}
|
|
4624
4624
|
};
|
|
4625
4625
|
}
|
|
4626
|
-
let
|
|
4627
|
-
function
|
|
4626
|
+
let at = "CasinoSliderData", ps = !1, gs = !1;
|
|
4627
|
+
function ys(e, t, r) {
|
|
4628
4628
|
let n;
|
|
4629
|
-
|
|
4630
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { mbsource: c } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: w = "" } = t, { sessioncheck:
|
|
4631
|
-
const
|
|
4632
|
-
Object.keys(f).forEach((
|
|
4633
|
-
|
|
4629
|
+
Rr(e, ns, (f) => r(33, n = f));
|
|
4630
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { mbsource: c } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: w = "" } = t, { sessioncheck: I = "" } = t, { location: P = "secondaryMenu" } = t, { showsubgroups: T = "false" } = t, { filteredcategories: O = "" } = t, { translationurl: H = "" } = t, { categoriesicon: M = "" } = t, { lobbyiconimage: _ = "" } = t, { mygamesiconimage: N = "" } = t, { customizecategoryicon: B = "false" } = t, F, ct, $ = !0, W, z = [], j = !1, wr = window.navigator.userAgent, G, Tr, ft, mt = !1, Le = !1;
|
|
4631
|
+
const Ie = (f) => {
|
|
4632
|
+
Object.keys(f).forEach((C) => {
|
|
4633
|
+
ss(C, f[C]);
|
|
4634
4634
|
});
|
|
4635
|
-
},
|
|
4636
|
-
fetch(H).then((
|
|
4637
|
-
|
|
4638
|
-
}).catch((
|
|
4639
|
-
console.log(
|
|
4635
|
+
}, Hr = () => {
|
|
4636
|
+
fetch(H).then((C) => C.json()).then((C) => {
|
|
4637
|
+
Ie(C);
|
|
4638
|
+
}).catch((C) => {
|
|
4639
|
+
console.log(C);
|
|
4640
4640
|
});
|
|
4641
4641
|
};
|
|
4642
|
-
|
|
4643
|
-
const
|
|
4644
|
-
|
|
4642
|
+
Ie(os);
|
|
4643
|
+
const Ar = () => {
|
|
4644
|
+
mt == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
|
|
4645
4645
|
// @ts-ignore
|
|
4646
4646
|
id: "MYGAMES",
|
|
4647
|
-
name:
|
|
4647
|
+
name: F,
|
|
4648
4648
|
href: "",
|
|
4649
4649
|
games: []
|
|
4650
|
-
}),
|
|
4651
|
-
},
|
|
4652
|
-
if (
|
|
4650
|
+
}), Vr(), mt = !0, r(26, Le = !0), dt();
|
|
4651
|
+
}, Br = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(15, j = !0), r(13, $ = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(15, j = !0), r(13, $ = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(15, j = !0), r(13, $ = !1), console.error(W)), j), Pr = () => {
|
|
4652
|
+
if (F = n("myGamesName"), ct = n("lobbyName"), !Br()) {
|
|
4653
4653
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
|
4654
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4654
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", is(wr));
|
|
4655
|
+
let C = "id,name,games(href),flags";
|
|
4656
|
+
B === "true" && (C += ",icon"), f.searchParams.append("fields", C), fetch(f).then((k) => k.json()).then(
|
|
4657
|
+
(k) => {
|
|
4658
|
+
let Lr = O.split(","), Ir = k.items.filter((pt) => {
|
|
4659
|
+
let Me = !1;
|
|
4660
|
+
if (pt.games.total > 0 && (Me = !0, O))
|
|
4661
|
+
for (let Mr of Lr)
|
|
4662
|
+
pt.flags == Mr && (Me = !1);
|
|
4663
|
+
return Me;
|
|
4662
4664
|
});
|
|
4663
|
-
|
|
4665
|
+
z = [], z = z.concat(Ir), z.unshift({
|
|
4664
4666
|
// @ts-ignore
|
|
4665
4667
|
id: "LOBBY",
|
|
4666
|
-
name:
|
|
4668
|
+
name: ct,
|
|
4667
4669
|
href: "",
|
|
4668
4670
|
games: []
|
|
4669
|
-
}), r(13,
|
|
4671
|
+
}), r(13, $ = !1);
|
|
4670
4672
|
},
|
|
4671
|
-
(
|
|
4672
|
-
r(15, j = !0), console.error("There was an error while fetching the categories",
|
|
4673
|
+
(k) => {
|
|
4674
|
+
r(15, j = !0), console.error("There was an error while fetching the categories", k);
|
|
4673
4675
|
}
|
|
4674
|
-
).catch((
|
|
4675
|
-
r(15, j = !0), console.error("There was an error while fetching the categories",
|
|
4676
|
+
).catch((k) => {
|
|
4677
|
+
r(15, j = !0), console.error("There was an error while fetching the categories", k);
|
|
4676
4678
|
});
|
|
4677
4679
|
}
|
|
4678
|
-
},
|
|
4680
|
+
}, Or = () => {
|
|
4679
4681
|
let f = b.split("$");
|
|
4680
4682
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
|
4681
|
-
},
|
|
4683
|
+
}, dt = () => {
|
|
4682
4684
|
window.postMessage(
|
|
4683
4685
|
{
|
|
4684
4686
|
type: "SliderData",
|
|
4685
|
-
identity:
|
|
4686
|
-
data:
|
|
4687
|
+
identity: at,
|
|
4688
|
+
data: z
|
|
4687
4689
|
},
|
|
4688
4690
|
window.location.href
|
|
4689
4691
|
);
|
|
4690
|
-
},
|
|
4691
|
-
f.data && f.data.type == "SliderMounted" && f.data.identity ==
|
|
4692
|
+
}, bt = (f) => {
|
|
4693
|
+
f.data && f.data.type == "SliderMounted" && f.data.identity == at && dt();
|
|
4692
4694
|
};
|
|
4693
|
-
|
|
4694
|
-
window.removeEventListener("message",
|
|
4695
|
+
kr(() => (window.addEventListener("message", bt), () => {
|
|
4696
|
+
window.removeEventListener("message", bt);
|
|
4695
4697
|
}));
|
|
4696
|
-
function
|
|
4697
|
-
|
|
4698
|
+
function Nr(f) {
|
|
4699
|
+
ke[f ? "unshift" : "push"](() => {
|
|
4698
4700
|
G = f, r(14, G);
|
|
4699
4701
|
});
|
|
4700
4702
|
}
|
|
4701
4703
|
return e.$$set = (f) => {
|
|
4702
|
-
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "mbsource" in f && r(4, c = f.mbsource), "clientstyling" in f && r(5, d = f.clientstyling), "clientstylingurl" in f && r(6, p = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(7, w = f.actionevent), "sessioncheck" in f && r(22,
|
|
4704
|
+
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "mbsource" in f && r(4, c = f.mbsource), "clientstyling" in f && r(5, d = f.clientstyling), "clientstylingurl" in f && r(6, p = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(7, w = f.actionevent), "sessioncheck" in f && r(22, I = f.sessioncheck), "location" in f && r(8, P = f.location), "showsubgroups" in f && r(9, T = f.showsubgroups), "filteredcategories" in f && r(23, O = f.filteredcategories), "translationurl" in f && r(24, H = f.translationurl), "categoriesicon" in f && r(10, M = f.categoriesicon), "lobbyiconimage" in f && r(11, _ = f.lobbyiconimage), "mygamesiconimage" in f && r(12, N = f.mygamesiconimage), "customizecategoryicon" in f && r(25, B = f.customizecategoryicon);
|
|
4703
4705
|
}, e.$$.update = () => {
|
|
4704
4706
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
4705
|
-
14 && i && s && o &&
|
|
4706
|
-
3940354 && i && h && (u || l || m) &&
|
|
4707
|
-
|
|
4708
|
-
16777216 && H &&
|
|
4709
|
-
16416 && d && G &&
|
|
4710
|
-
16448 && p && G &&
|
|
4711
|
-
16400 && c && G &&
|
|
4712
|
-
16777232 && c && !H &&
|
|
4713
|
-
}, r(16,
|
|
4707
|
+
14 && i && s && o && Pr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
4708
|
+
3940354 && i && h && (u || l || m) && !$ && Ar(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
4709
|
+
67379201 && !$ && b && (!h || Le) && Or(), e.$$.dirty[0] & /*translationurl*/
|
|
4710
|
+
16777216 && H && Hr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4711
|
+
16416 && d && G && as(G, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4712
|
+
16448 && p && G && us(G, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4713
|
+
16400 && c && G && hs(G, `${c}.Style`), e.$$.dirty[0] & /*mbsource, translationurl*/
|
|
4714
|
+
16777232 && c && !H && ls(`${c}.Translation`, Tr, Ie);
|
|
4715
|
+
}, r(16, ft = 0), [
|
|
4714
4716
|
b,
|
|
4715
4717
|
i,
|
|
4716
4718
|
s,
|
|
@@ -4721,33 +4723,34 @@ function ps(e, t, r) {
|
|
|
4721
4723
|
w,
|
|
4722
4724
|
P,
|
|
4723
4725
|
T,
|
|
4724
|
-
|
|
4726
|
+
M,
|
|
4725
4727
|
_,
|
|
4726
4728
|
N,
|
|
4727
|
-
|
|
4729
|
+
$,
|
|
4728
4730
|
G,
|
|
4729
4731
|
j,
|
|
4730
|
-
|
|
4732
|
+
ft,
|
|
4731
4733
|
a,
|
|
4732
4734
|
h,
|
|
4733
4735
|
u,
|
|
4734
4736
|
l,
|
|
4735
4737
|
m,
|
|
4736
|
-
|
|
4738
|
+
I,
|
|
4737
4739
|
O,
|
|
4738
4740
|
H,
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
+
B,
|
|
4742
|
+
Le,
|
|
4743
|
+
Nr
|
|
4741
4744
|
];
|
|
4742
4745
|
}
|
|
4743
|
-
class
|
|
4746
|
+
class vs extends Kr {
|
|
4744
4747
|
constructor(t) {
|
|
4745
|
-
super(),
|
|
4748
|
+
super(), Yr(
|
|
4746
4749
|
this,
|
|
4747
4750
|
t,
|
|
4748
|
-
|
|
4749
|
-
|
|
4750
|
-
|
|
4751
|
+
ys,
|
|
4752
|
+
bs,
|
|
4753
|
+
Ft,
|
|
4751
4754
|
{
|
|
4752
4755
|
endpoint: 1,
|
|
4753
4756
|
datasource: 2,
|
|
@@ -4769,9 +4772,10 @@ class gs extends Yr {
|
|
|
4769
4772
|
translationurl: 24,
|
|
4770
4773
|
categoriesicon: 10,
|
|
4771
4774
|
lobbyiconimage: 11,
|
|
4772
|
-
mygamesiconimage: 12
|
|
4775
|
+
mygamesiconimage: 12,
|
|
4776
|
+
customizecategoryicon: 25
|
|
4773
4777
|
},
|
|
4774
|
-
|
|
4778
|
+
cs,
|
|
4775
4779
|
[-1, -1]
|
|
4776
4780
|
);
|
|
4777
4781
|
}
|
|
@@ -4779,163 +4783,169 @@ class gs extends Yr {
|
|
|
4779
4783
|
return this.$$.ctx[1];
|
|
4780
4784
|
}
|
|
4781
4785
|
set endpoint(t) {
|
|
4782
|
-
this.$$set({ endpoint: t }),
|
|
4786
|
+
this.$$set({ endpoint: t }), E();
|
|
4783
4787
|
}
|
|
4784
4788
|
get datasource() {
|
|
4785
4789
|
return this.$$.ctx[2];
|
|
4786
4790
|
}
|
|
4787
4791
|
set datasource(t) {
|
|
4788
|
-
this.$$set({ datasource: t }),
|
|
4792
|
+
this.$$set({ datasource: t }), E();
|
|
4789
4793
|
}
|
|
4790
4794
|
get lang() {
|
|
4791
4795
|
return this.$$.ctx[3];
|
|
4792
4796
|
}
|
|
4793
4797
|
set lang(t) {
|
|
4794
|
-
this.$$set({ lang: t }),
|
|
4798
|
+
this.$$set({ lang: t }), E();
|
|
4795
4799
|
}
|
|
4796
4800
|
get userid() {
|
|
4797
4801
|
return this.$$.ctx[17];
|
|
4798
4802
|
}
|
|
4799
4803
|
set userid(t) {
|
|
4800
|
-
this.$$set({ userid: t }),
|
|
4804
|
+
this.$$set({ userid: t }), E();
|
|
4801
4805
|
}
|
|
4802
4806
|
get session() {
|
|
4803
4807
|
return this.$$.ctx[18];
|
|
4804
4808
|
}
|
|
4805
4809
|
set session(t) {
|
|
4806
|
-
this.$$set({ session: t }),
|
|
4810
|
+
this.$$set({ session: t }), E();
|
|
4807
4811
|
}
|
|
4808
4812
|
get mostplayed() {
|
|
4809
4813
|
return this.$$.ctx[19];
|
|
4810
4814
|
}
|
|
4811
4815
|
set mostplayed(t) {
|
|
4812
|
-
this.$$set({ mostplayed: t }),
|
|
4816
|
+
this.$$set({ mostplayed: t }), E();
|
|
4813
4817
|
}
|
|
4814
4818
|
get lastplayed() {
|
|
4815
4819
|
return this.$$.ctx[20];
|
|
4816
4820
|
}
|
|
4817
4821
|
set lastplayed(t) {
|
|
4818
|
-
this.$$set({ lastplayed: t }),
|
|
4822
|
+
this.$$set({ lastplayed: t }), E();
|
|
4819
4823
|
}
|
|
4820
4824
|
get favorites() {
|
|
4821
4825
|
return this.$$.ctx[21];
|
|
4822
4826
|
}
|
|
4823
4827
|
set favorites(t) {
|
|
4824
|
-
this.$$set({ favorites: t }),
|
|
4828
|
+
this.$$set({ favorites: t }), E();
|
|
4825
4829
|
}
|
|
4826
4830
|
get mbsource() {
|
|
4827
4831
|
return this.$$.ctx[4];
|
|
4828
4832
|
}
|
|
4829
4833
|
set mbsource(t) {
|
|
4830
|
-
this.$$set({ mbsource: t }),
|
|
4834
|
+
this.$$set({ mbsource: t }), E();
|
|
4831
4835
|
}
|
|
4832
4836
|
get clientstyling() {
|
|
4833
4837
|
return this.$$.ctx[5];
|
|
4834
4838
|
}
|
|
4835
4839
|
set clientstyling(t) {
|
|
4836
|
-
this.$$set({ clientstyling: t }),
|
|
4840
|
+
this.$$set({ clientstyling: t }), E();
|
|
4837
4841
|
}
|
|
4838
4842
|
get clientstylingurl() {
|
|
4839
4843
|
return this.$$.ctx[6];
|
|
4840
4844
|
}
|
|
4841
4845
|
set clientstylingurl(t) {
|
|
4842
|
-
this.$$set({ clientstylingurl: t }),
|
|
4846
|
+
this.$$set({ clientstylingurl: t }), E();
|
|
4843
4847
|
}
|
|
4844
4848
|
get activecategory() {
|
|
4845
4849
|
return this.$$.ctx[0];
|
|
4846
4850
|
}
|
|
4847
4851
|
set activecategory(t) {
|
|
4848
|
-
this.$$set({ activecategory: t }),
|
|
4852
|
+
this.$$set({ activecategory: t }), E();
|
|
4849
4853
|
}
|
|
4850
4854
|
get actionevent() {
|
|
4851
4855
|
return this.$$.ctx[7];
|
|
4852
4856
|
}
|
|
4853
4857
|
set actionevent(t) {
|
|
4854
|
-
this.$$set({ actionevent: t }),
|
|
4858
|
+
this.$$set({ actionevent: t }), E();
|
|
4855
4859
|
}
|
|
4856
4860
|
get sessioncheck() {
|
|
4857
4861
|
return this.$$.ctx[22];
|
|
4858
4862
|
}
|
|
4859
4863
|
set sessioncheck(t) {
|
|
4860
|
-
this.$$set({ sessioncheck: t }),
|
|
4864
|
+
this.$$set({ sessioncheck: t }), E();
|
|
4861
4865
|
}
|
|
4862
4866
|
get location() {
|
|
4863
4867
|
return this.$$.ctx[8];
|
|
4864
4868
|
}
|
|
4865
4869
|
set location(t) {
|
|
4866
|
-
this.$$set({ location: t }),
|
|
4870
|
+
this.$$set({ location: t }), E();
|
|
4867
4871
|
}
|
|
4868
4872
|
get showsubgroups() {
|
|
4869
4873
|
return this.$$.ctx[9];
|
|
4870
4874
|
}
|
|
4871
4875
|
set showsubgroups(t) {
|
|
4872
|
-
this.$$set({ showsubgroups: t }),
|
|
4876
|
+
this.$$set({ showsubgroups: t }), E();
|
|
4873
4877
|
}
|
|
4874
4878
|
get filteredcategories() {
|
|
4875
4879
|
return this.$$.ctx[23];
|
|
4876
4880
|
}
|
|
4877
4881
|
set filteredcategories(t) {
|
|
4878
|
-
this.$$set({ filteredcategories: t }),
|
|
4882
|
+
this.$$set({ filteredcategories: t }), E();
|
|
4879
4883
|
}
|
|
4880
4884
|
get translationurl() {
|
|
4881
4885
|
return this.$$.ctx[24];
|
|
4882
4886
|
}
|
|
4883
4887
|
set translationurl(t) {
|
|
4884
|
-
this.$$set({ translationurl: t }),
|
|
4888
|
+
this.$$set({ translationurl: t }), E();
|
|
4885
4889
|
}
|
|
4886
4890
|
get categoriesicon() {
|
|
4887
4891
|
return this.$$.ctx[10];
|
|
4888
4892
|
}
|
|
4889
4893
|
set categoriesicon(t) {
|
|
4890
|
-
this.$$set({ categoriesicon: t }),
|
|
4894
|
+
this.$$set({ categoriesicon: t }), E();
|
|
4891
4895
|
}
|
|
4892
4896
|
get lobbyiconimage() {
|
|
4893
4897
|
return this.$$.ctx[11];
|
|
4894
4898
|
}
|
|
4895
4899
|
set lobbyiconimage(t) {
|
|
4896
|
-
this.$$set({ lobbyiconimage: t }),
|
|
4900
|
+
this.$$set({ lobbyiconimage: t }), E();
|
|
4897
4901
|
}
|
|
4898
4902
|
get mygamesiconimage() {
|
|
4899
4903
|
return this.$$.ctx[12];
|
|
4900
4904
|
}
|
|
4901
4905
|
set mygamesiconimage(t) {
|
|
4902
|
-
this.$$set({ mygamesiconimage: t }),
|
|
4906
|
+
this.$$set({ mygamesiconimage: t }), E();
|
|
4907
|
+
}
|
|
4908
|
+
get customizecategoryicon() {
|
|
4909
|
+
return this.$$.ctx[25];
|
|
4910
|
+
}
|
|
4911
|
+
set customizecategoryicon(t) {
|
|
4912
|
+
this.$$set({ customizecategoryicon: t }), E();
|
|
4903
4913
|
}
|
|
4904
4914
|
}
|
|
4905
|
-
|
|
4915
|
+
Jr(vs, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, customizecategoryicon: {} }, [], [], !0);
|
|
4906
4916
|
export {
|
|
4907
|
-
|
|
4908
|
-
|
|
4909
|
-
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4919
|
-
|
|
4920
|
-
|
|
4921
|
-
|
|
4922
|
-
|
|
4923
|
-
|
|
4924
|
-
|
|
4925
|
-
k,
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4932
|
-
|
|
4933
|
-
|
|
4934
|
-
|
|
4935
|
-
|
|
4936
|
-
|
|
4937
|
-
|
|
4938
|
-
|
|
4939
|
-
|
|
4940
|
-
|
|
4917
|
+
be as $,
|
|
4918
|
+
xs as A,
|
|
4919
|
+
_s as B,
|
|
4920
|
+
as as C,
|
|
4921
|
+
us as D,
|
|
4922
|
+
hs as E,
|
|
4923
|
+
vs as F,
|
|
4924
|
+
Kr as S,
|
|
4925
|
+
de as a,
|
|
4926
|
+
vr as b,
|
|
4927
|
+
Jr as c,
|
|
4928
|
+
Gr as d,
|
|
4929
|
+
ne as e,
|
|
4930
|
+
E as f,
|
|
4931
|
+
ie as g,
|
|
4932
|
+
fe as h,
|
|
4933
|
+
Yr as i,
|
|
4934
|
+
jt as j,
|
|
4935
|
+
V as k,
|
|
4936
|
+
Ts as l,
|
|
4937
|
+
Ss as m,
|
|
4938
|
+
L as n,
|
|
4939
|
+
is as o,
|
|
4940
|
+
kr as p,
|
|
4941
|
+
As as q,
|
|
4942
|
+
re as r,
|
|
4943
|
+
Ft as s,
|
|
4944
|
+
ws as t,
|
|
4945
|
+
Ps as u,
|
|
4946
|
+
ke as v,
|
|
4947
|
+
Hs as w,
|
|
4948
|
+
kt as x,
|
|
4949
|
+
Es as y,
|
|
4950
|
+
Bs as z
|
|
4941
4951
|
};
|