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