@everymatrix/casino-categories-slider 1.54.12 → 1.56.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-B-t2GyDd.cjs +5 -0
- package/components/{CasinoCategoriesSlider-B5ByVpyu.js → CasinoCategoriesSlider-D-Hw4YqW.js} +814 -781
- package/components/{CasinoCategoriesSlider-NJG60d3O.js → CasinoCategoriesSlider-DsCJHycs.js} +797 -764
- package/components/CasinoSlider-DPIZ5CnV.js +797 -0
- package/components/CasinoSlider-EFId2L7-.js +803 -0
- package/components/CasinoSlider-N_Ph_cLc.cjs +1 -0
- package/es2015/casino-categories-slider.cjs +1 -1
- package/es2015/casino-categories-slider.js +1 -1
- package/esnext/casino-categories-slider.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesSlider-zO1o-0pi.cjs +0 -5
- package/components/CasinoSlider-DjsPeF2Z.js +0 -800
- package/components/CasinoSlider-Mt6fzaYh.js +0 -806
- package/components/CasinoSlider-nt3NjNI9.cjs +0 -1
package/components/{CasinoCategoriesSlider-B5ByVpyu.js → CasinoCategoriesSlider-D-Hw4YqW.js}
RENAMED
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var
|
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
|
-
},
|
13
|
-
var
|
14
|
-
var
|
12
|
+
}, dt = (e, t) => Rr(e, Gr(t));
|
13
|
+
var M = (e, t, r) => Me(e, typeof t != "symbol" ? t + "" : t, r);
|
14
|
+
var bt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var s = (h) => {
|
16
16
|
try {
|
17
17
|
a(r.next(h));
|
@@ -27,56 +27,56 @@ var dt = (e, t, r) => new Promise((n, i) => {
|
|
27
27
|
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
|
28
28
|
a((r = r.apply(e, t)).next());
|
29
29
|
});
|
30
|
-
function
|
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
|
-
function
|
39
|
-
e.forEach(
|
38
|
+
function ne(e) {
|
39
|
+
e.forEach(Ft);
|
40
40
|
}
|
41
|
-
function
|
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
|
-
let
|
48
|
-
function
|
49
|
-
return e === t ? !0 : (
|
47
|
+
let ge;
|
48
|
+
function Ss(e, t) {
|
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);
|
58
|
-
return
|
58
|
+
return P;
|
59
59
|
}
|
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
|
67
|
-
return e &&
|
66
|
+
function jr(e) {
|
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) return document;
|
81
81
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
82
82
|
return t && /** @type {ShadowRoot} */
|
@@ -85,53 +85,53 @@ function Xr(e) {
|
|
85
85
|
t
|
86
86
|
) : e.ownerDocument;
|
87
87
|
}
|
88
|
-
function
|
89
|
-
return
|
88
|
+
function Xr(e, t) {
|
89
|
+
return kt(
|
90
90
|
/** @type {Document} */
|
91
91
|
e.head || e,
|
92
92
|
t
|
93
93
|
), t.sheet;
|
94
94
|
}
|
95
|
-
function
|
95
|
+
function fe(e, t, r) {
|
96
96
|
e.insertBefore(t, r || null);
|
97
97
|
}
|
98
|
-
function
|
98
|
+
function ie(e) {
|
99
99
|
e.parentNode && e.parentNode.removeChild(e);
|
100
100
|
}
|
101
|
-
function
|
101
|
+
function ws(e, t) {
|
102
102
|
for (let r = 0; r < e.length; r += 1)
|
103
103
|
e[r] && e[r].d(t);
|
104
104
|
}
|
105
105
|
function V(e) {
|
106
106
|
return document.createElement(e);
|
107
107
|
}
|
108
|
-
function
|
108
|
+
function Vt(e) {
|
109
109
|
return document.createTextNode(e);
|
110
110
|
}
|
111
|
-
function Ss() {
|
112
|
-
return kt(" ");
|
113
|
-
}
|
114
111
|
function Ts() {
|
115
|
-
return
|
112
|
+
return Vt(" ");
|
113
|
+
}
|
114
|
+
function Hs() {
|
115
|
+
return Vt("");
|
116
116
|
}
|
117
|
-
function
|
117
|
+
function As(e, t, r, n) {
|
118
118
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
119
119
|
}
|
120
|
-
function
|
120
|
+
function me(e, t, r) {
|
121
121
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
122
122
|
}
|
123
123
|
function E(e, t, r) {
|
124
124
|
const n = t.toLowerCase();
|
125
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
125
|
+
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);
|
126
126
|
}
|
127
|
-
function
|
127
|
+
function Wr(e) {
|
128
128
|
return Array.from(e.childNodes);
|
129
129
|
}
|
130
|
-
function
|
130
|
+
function Bs(e, t) {
|
131
131
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
132
132
|
t);
|
133
133
|
}
|
134
|
-
function
|
134
|
+
function zr(e) {
|
135
135
|
const t = {};
|
136
136
|
return e.childNodes.forEach(
|
137
137
|
/** @param {Element} node */
|
@@ -140,127 +140,127 @@ function Zr(e) {
|
|
140
140
|
}
|
141
141
|
), t;
|
142
142
|
}
|
143
|
-
let
|
144
|
-
function
|
145
|
-
|
143
|
+
let he;
|
144
|
+
function ue(e) {
|
145
|
+
he = e;
|
146
146
|
}
|
147
|
-
function
|
148
|
-
if (!
|
149
|
-
return
|
147
|
+
function Zr() {
|
148
|
+
if (!he) throw new Error("Function called outside component initialization");
|
149
|
+
return he;
|
150
150
|
}
|
151
|
-
function
|
152
|
-
|
151
|
+
function Qr(e) {
|
152
|
+
Zr().$$.on_mount.push(e);
|
153
153
|
}
|
154
|
-
const Y = [],
|
154
|
+
const Y = [], ke = [];
|
155
155
|
let q = [];
|
156
|
-
const
|
157
|
-
let
|
158
|
-
function
|
159
|
-
|
156
|
+
const gt = [], Xt = /* @__PURE__ */ Promise.resolve();
|
157
|
+
let Ve = !1;
|
158
|
+
function Wt() {
|
159
|
+
Ve || (Ve = !0, Xt.then(S));
|
160
160
|
}
|
161
|
-
function
|
162
|
-
return
|
161
|
+
function Yr() {
|
162
|
+
return Wt(), Xt;
|
163
163
|
}
|
164
|
-
function
|
164
|
+
function Xe(e) {
|
165
165
|
q.push(e);
|
166
166
|
}
|
167
|
-
const
|
167
|
+
const Re = /* @__PURE__ */ new Set();
|
168
168
|
let Z = 0;
|
169
169
|
function S() {
|
170
170
|
if (Z !== 0)
|
171
171
|
return;
|
172
|
-
const e =
|
172
|
+
const e = he;
|
173
173
|
do {
|
174
174
|
try {
|
175
175
|
for (; Z < Y.length; ) {
|
176
176
|
const t = Y[Z];
|
177
|
-
Z++,
|
177
|
+
Z++, ue(t), qr(t.$$);
|
178
178
|
}
|
179
179
|
} catch (t) {
|
180
180
|
throw Y.length = 0, Z = 0, t;
|
181
181
|
}
|
182
|
-
for (
|
182
|
+
for (ue(null), Y.length = 0, Z = 0; ke.length; ) ke.pop()();
|
183
183
|
for (let t = 0; t < q.length; t += 1) {
|
184
184
|
const r = q[t];
|
185
|
-
|
185
|
+
Re.has(r) || (Re.add(r), r());
|
186
186
|
}
|
187
187
|
q.length = 0;
|
188
188
|
} while (Y.length);
|
189
|
-
for (;
|
190
|
-
|
191
|
-
|
189
|
+
for (; gt.length; )
|
190
|
+
gt.pop()();
|
191
|
+
Ve = !1, Re.clear(), ue(e);
|
192
192
|
}
|
193
|
-
function
|
193
|
+
function qr(e) {
|
194
194
|
if (e.fragment !== null) {
|
195
|
-
e.update(),
|
195
|
+
e.update(), ne(e.before_update);
|
196
196
|
const t = e.dirty;
|
197
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
197
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
|
198
198
|
}
|
199
199
|
}
|
200
|
-
function
|
200
|
+
function Jr(e) {
|
201
201
|
const t = [], r = [];
|
202
202
|
q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
|
203
203
|
}
|
204
|
-
const
|
205
|
-
function
|
206
|
-
e && e.i && (
|
204
|
+
const Kr = /* @__PURE__ */ new Set();
|
205
|
+
function zt(e, t) {
|
206
|
+
e && e.i && (Kr.delete(e), e.i(t));
|
207
207
|
}
|
208
|
-
function
|
208
|
+
function Ps(e) {
|
209
209
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
210
210
|
}
|
211
|
-
function
|
211
|
+
function Ns(e, t) {
|
212
212
|
e.d(1), t.delete(e.key);
|
213
213
|
}
|
214
|
-
function
|
214
|
+
function Os(e, t, r, n, i, s, o, a, h, u, l, m) {
|
215
215
|
let c = e.length, d = s.length, b = c;
|
216
216
|
const y = {};
|
217
217
|
for (; b--; ) y[e[b].key] = b;
|
218
|
-
const
|
218
|
+
const T = [], C = /* @__PURE__ */ new Map(), N = /* @__PURE__ */ new Map(), w = [];
|
219
219
|
for (b = d; b--; ) {
|
220
|
-
const _ = m(i, s, b),
|
221
|
-
let
|
222
|
-
|
220
|
+
const _ = m(i, s, b), A = r(_);
|
221
|
+
let I = o.get(A);
|
222
|
+
I ? w.push(() => I.p(_, t)) : (I = u(A, _), I.c()), C.set(A, T[b] = I), A in y && N.set(A, Math.abs(b - y[A]));
|
223
223
|
}
|
224
|
-
const
|
225
|
-
function
|
226
|
-
|
224
|
+
const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
225
|
+
function R(_) {
|
226
|
+
zt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
227
227
|
}
|
228
228
|
for (; c && d; ) {
|
229
|
-
const _ =
|
230
|
-
_ ===
|
229
|
+
const _ = T[d - 1], A = e[c - 1], I = _.key, $ = A.key;
|
230
|
+
_ === A ? (l = _.first, c--, d--) : C.has($) ? !o.has(I) || O.has(I) ? R(_) : L.has($) ? c-- : N.get(I) > N.get($) ? (L.add(I), R(_)) : (O.add($), c--) : (h(A, o), c--);
|
231
231
|
}
|
232
232
|
for (; c--; ) {
|
233
233
|
const _ = e[c];
|
234
|
-
|
234
|
+
C.has(_.key) || h(_, o);
|
235
235
|
}
|
236
|
-
for (; d; )
|
237
|
-
return
|
236
|
+
for (; d; ) R(T[d - 1]);
|
237
|
+
return ne(w), T;
|
238
238
|
}
|
239
|
-
function
|
239
|
+
function en(e, t, r) {
|
240
240
|
const { fragment: n, after_update: i } = e.$$;
|
241
|
-
n && n.m(t, r),
|
242
|
-
const s = e.$$.on_mount.map(
|
243
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
244
|
-
}), i.forEach(
|
241
|
+
n && n.m(t, r), Xe(() => {
|
242
|
+
const s = e.$$.on_mount.map(Ft).filter(He);
|
243
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
|
244
|
+
}), i.forEach(Xe);
|
245
245
|
}
|
246
|
-
function
|
246
|
+
function tn(e, t) {
|
247
247
|
const r = e.$$;
|
248
|
-
r.fragment !== null && (
|
248
|
+
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 = []);
|
249
249
|
}
|
250
|
-
function
|
251
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
250
|
+
function rn(e, t) {
|
251
|
+
e.$$.dirty[0] === -1 && (Y.push(e), Wt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
252
252
|
}
|
253
|
-
function
|
254
|
-
const h =
|
255
|
-
|
253
|
+
function nn(e, t, r, n, i, s, o = null, a = [-1]) {
|
254
|
+
const h = he;
|
255
|
+
ue(e);
|
256
256
|
const u = e.$$ = {
|
257
257
|
fragment: null,
|
258
258
|
ctx: [],
|
259
259
|
// state
|
260
260
|
props: s,
|
261
|
-
update:
|
261
|
+
update: P,
|
262
262
|
not_equal: i,
|
263
|
-
bound:
|
263
|
+
bound: pt(),
|
264
264
|
// lifecycle
|
265
265
|
on_mount: [],
|
266
266
|
on_destroy: [],
|
@@ -269,7 +269,7 @@ function sn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
269
269
|
after_update: [],
|
270
270
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
271
271
|
// everything else
|
272
|
-
callbacks:
|
272
|
+
callbacks: pt(),
|
273
273
|
dirty: a,
|
274
274
|
skip_bound: !1,
|
275
275
|
root: t.target || h.$$.root
|
@@ -278,39 +278,39 @@ function sn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
278
278
|
let l = !1;
|
279
279
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
280
280
|
const b = d.length ? d[0] : c;
|
281
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l &&
|
282
|
-
}) : [], u.update(), l = !0,
|
281
|
+
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;
|
282
|
+
}) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
283
283
|
if (t.hydrate) {
|
284
|
-
const m =
|
285
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
284
|
+
const m = Wr(t.target);
|
285
|
+
u.fragment && u.fragment.l(m), m.forEach(ie);
|
286
286
|
} else
|
287
287
|
u.fragment && u.fragment.c();
|
288
|
-
t.intro &&
|
288
|
+
t.intro && zt(e.$$.fragment), en(e, t.target, t.anchor), S();
|
289
289
|
}
|
290
|
-
|
290
|
+
ue(h);
|
291
291
|
}
|
292
|
-
let
|
293
|
-
typeof HTMLElement == "function" && (
|
292
|
+
let Zt;
|
293
|
+
typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
|
294
294
|
constructor(t, r, n) {
|
295
295
|
super();
|
296
296
|
/** The Svelte component constructor */
|
297
|
-
|
297
|
+
M(this, "$$ctor");
|
298
298
|
/** Slots */
|
299
|
-
|
299
|
+
M(this, "$$s");
|
300
300
|
/** The Svelte component instance */
|
301
|
-
|
301
|
+
M(this, "$$c");
|
302
302
|
/** Whether or not the custom element is connected */
|
303
|
-
|
303
|
+
M(this, "$$cn", !1);
|
304
304
|
/** Component props data */
|
305
|
-
|
305
|
+
M(this, "$$d", {});
|
306
306
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
307
|
-
|
307
|
+
M(this, "$$r", !1);
|
308
308
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
309
|
-
|
309
|
+
M(this, "$$p_d", {});
|
310
310
|
/** @type {Record<string, Function[]>} Event listeners */
|
311
|
-
|
311
|
+
M(this, "$$l", {});
|
312
312
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
313
|
-
|
313
|
+
M(this, "$$l_u", /* @__PURE__ */ new Map());
|
314
314
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
315
315
|
}
|
316
316
|
addEventListener(t, r, n) {
|
@@ -327,42 +327,42 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
327
327
|
}
|
328
328
|
}
|
329
329
|
connectedCallback() {
|
330
|
-
return
|
330
|
+
return bt(this, null, function* () {
|
331
331
|
if (this.$$cn = !0, !this.$$c) {
|
332
332
|
let t = function(s) {
|
333
333
|
return () => {
|
334
334
|
let o;
|
335
335
|
return {
|
336
336
|
c: function() {
|
337
|
-
o = V("slot"), s !== "default" &&
|
337
|
+
o = V("slot"), s !== "default" && me(o, "name", s);
|
338
338
|
},
|
339
339
|
/**
|
340
340
|
* @param {HTMLElement} target
|
341
341
|
* @param {HTMLElement} [anchor]
|
342
342
|
*/
|
343
343
|
m: function(u, l) {
|
344
|
-
|
344
|
+
fe(u, o, l);
|
345
345
|
},
|
346
346
|
d: function(u) {
|
347
|
-
u &&
|
347
|
+
u && ie(o);
|
348
348
|
}
|
349
349
|
};
|
350
350
|
};
|
351
351
|
};
|
352
352
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
353
353
|
return;
|
354
|
-
const r = {}, n =
|
354
|
+
const r = {}, n = zr(this);
|
355
355
|
for (const s of this.$$s)
|
356
356
|
s in n && (r[s] = [t(s)]);
|
357
357
|
for (const s of this.attributes) {
|
358
358
|
const o = this.$$g_p(s.name);
|
359
|
-
o in this.$$d || (this.$$d[o] =
|
359
|
+
o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
|
360
360
|
}
|
361
361
|
for (const s in this.$$p_d)
|
362
362
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
363
363
|
this.$$c = new this.$$ctor({
|
364
364
|
target: this.shadowRoot || this,
|
365
|
-
props: mt(
|
365
|
+
props: dt(mt({}, this.$$d), {
|
366
366
|
$$slots: r,
|
367
367
|
$$scope: {
|
368
368
|
ctx: []
|
@@ -373,7 +373,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
373
373
|
this.$$r = !0;
|
374
374
|
for (const s in this.$$p_d)
|
375
375
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
376
|
-
const o =
|
376
|
+
const o = Ee(
|
377
377
|
s,
|
378
378
|
this.$$d[s],
|
379
379
|
this.$$p_d,
|
@@ -397,7 +397,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
397
397
|
// and setting attributes through setAttribute etc, this is helpful
|
398
398
|
attributeChangedCallback(t, r, n) {
|
399
399
|
var i;
|
400
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
400
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
401
401
|
}
|
402
402
|
disconnectedCallback() {
|
403
403
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -410,7 +410,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
|
|
410
410
|
) || t;
|
411
411
|
}
|
412
412
|
});
|
413
|
-
function
|
413
|
+
function Ee(e, t, r, n) {
|
414
414
|
var s;
|
415
415
|
const i = (s = r[e]) == null ? void 0 : s.type;
|
416
416
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
@@ -440,8 +440,8 @@ function ve(e, t, r, n) {
|
|
440
440
|
return t;
|
441
441
|
}
|
442
442
|
}
|
443
|
-
function
|
444
|
-
let o = class extends
|
443
|
+
function sn(e, t, r, n, i, s) {
|
444
|
+
let o = class extends Zt {
|
445
445
|
constructor() {
|
446
446
|
super(e, r, i), this.$$p_d = t;
|
447
447
|
}
|
@@ -458,7 +458,7 @@ function on(e, t, r, n, i, s) {
|
|
458
458
|
},
|
459
459
|
set(h) {
|
460
460
|
var u;
|
461
|
-
h =
|
461
|
+
h = Ee(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
462
462
|
}
|
463
463
|
});
|
464
464
|
}), n.forEach((a) => {
|
@@ -471,7 +471,7 @@ function on(e, t, r, n, i, s) {
|
|
471
471
|
}), e.element = /** @type {any} */
|
472
472
|
o, o;
|
473
473
|
}
|
474
|
-
class
|
474
|
+
class on {
|
475
475
|
constructor() {
|
476
476
|
/**
|
477
477
|
* ### PRIVATE API
|
@@ -480,7 +480,7 @@ class an {
|
|
480
480
|
*
|
481
481
|
* @type {any}
|
482
482
|
*/
|
483
|
-
|
483
|
+
M(this, "$$");
|
484
484
|
/**
|
485
485
|
* ### PRIVATE API
|
486
486
|
*
|
@@ -488,11 +488,11 @@ class an {
|
|
488
488
|
*
|
489
489
|
* @type {any}
|
490
490
|
*/
|
491
|
-
|
491
|
+
M(this, "$$set");
|
492
492
|
}
|
493
493
|
/** @returns {void} */
|
494
494
|
$destroy() {
|
495
|
-
|
495
|
+
tn(this, 1), this.$destroy = P;
|
496
496
|
}
|
497
497
|
/**
|
498
498
|
* @template {Extract<keyof Events, string>} K
|
@@ -501,8 +501,8 @@ class an {
|
|
501
501
|
* @returns {() => void}
|
502
502
|
*/
|
503
503
|
$on(t, r) {
|
504
|
-
if (!
|
505
|
-
return
|
504
|
+
if (!He(r))
|
505
|
+
return P;
|
506
506
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
507
507
|
return n.push(r), () => {
|
508
508
|
const i = n.indexOf(r);
|
@@ -514,22 +514,22 @@ class an {
|
|
514
514
|
* @returns {void}
|
515
515
|
*/
|
516
516
|
$set(t) {
|
517
|
-
this.$$set &&
|
517
|
+
this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
518
518
|
}
|
519
519
|
}
|
520
|
-
const
|
521
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
522
|
-
var
|
523
|
-
return
|
520
|
+
const an = "4";
|
521
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(an);
|
522
|
+
var We = function(e, t) {
|
523
|
+
return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
524
524
|
r.__proto__ = n;
|
525
525
|
} || function(r, n) {
|
526
526
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
527
|
-
},
|
527
|
+
}, We(e, t);
|
528
528
|
};
|
529
529
|
function D(e, t) {
|
530
530
|
if (typeof t != "function" && t !== null)
|
531
531
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
532
|
-
|
532
|
+
We(e, t);
|
533
533
|
function r() {
|
534
534
|
this.constructor = e;
|
535
535
|
}
|
@@ -544,7 +544,7 @@ var v = function() {
|
|
544
544
|
return t;
|
545
545
|
}, v.apply(this, arguments);
|
546
546
|
};
|
547
|
-
function
|
547
|
+
function un(e, t) {
|
548
548
|
var r = {};
|
549
549
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
550
550
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
@@ -552,7 +552,7 @@ function hn(e, t) {
|
|
552
552
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
553
553
|
return r;
|
554
554
|
}
|
555
|
-
function
|
555
|
+
function ze(e) {
|
556
556
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
557
557
|
if (r) return r.call(e);
|
558
558
|
if (e && typeof e.length == "number") return {
|
@@ -562,7 +562,7 @@ function We(e) {
|
|
562
562
|
};
|
563
563
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
564
564
|
}
|
565
|
-
function
|
565
|
+
function Ze(e, t) {
|
566
566
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
567
567
|
if (!r) return e;
|
568
568
|
var n = r.call(e), i, s = [], o;
|
@@ -587,13 +587,13 @@ function J(e, t, r) {
|
|
587
587
|
function U(e) {
|
588
588
|
return typeof e == "function";
|
589
589
|
}
|
590
|
-
function
|
590
|
+
function Qt(e) {
|
591
591
|
var t = function(n) {
|
592
592
|
Error.call(n), n.stack = new Error().stack;
|
593
593
|
}, r = e(t);
|
594
594
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
595
595
|
}
|
596
|
-
var
|
596
|
+
var Ge = Qt(function(e) {
|
597
597
|
return function(r) {
|
598
598
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
599
599
|
` + r.map(function(n, i) {
|
@@ -602,13 +602,13 @@ var Re = Zt(function(e) {
|
|
602
602
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
603
603
|
};
|
604
604
|
});
|
605
|
-
function
|
605
|
+
function Qe(e, t) {
|
606
606
|
if (e) {
|
607
607
|
var r = e.indexOf(t);
|
608
608
|
0 <= r && e.splice(r, 1);
|
609
609
|
}
|
610
610
|
}
|
611
|
-
var
|
611
|
+
var Ae = function() {
|
612
612
|
function e(t) {
|
613
613
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
614
614
|
}
|
@@ -620,7 +620,7 @@ var He = function() {
|
|
620
620
|
if (o)
|
621
621
|
if (this._parentage = null, Array.isArray(o))
|
622
622
|
try {
|
623
|
-
for (var a =
|
623
|
+
for (var a = ze(o), h = a.next(); !h.done; h = a.next()) {
|
624
624
|
var u = h.value;
|
625
625
|
u.remove(this);
|
626
626
|
}
|
@@ -640,18 +640,18 @@ var He = function() {
|
|
640
640
|
try {
|
641
641
|
l();
|
642
642
|
} catch (y) {
|
643
|
-
s = y instanceof
|
643
|
+
s = y instanceof Ge ? y.errors : [y];
|
644
644
|
}
|
645
645
|
var m = this._finalizers;
|
646
646
|
if (m) {
|
647
647
|
this._finalizers = null;
|
648
648
|
try {
|
649
|
-
for (var c =
|
649
|
+
for (var c = ze(m), d = c.next(); !d.done; d = c.next()) {
|
650
650
|
var b = d.value;
|
651
651
|
try {
|
652
|
-
|
652
|
+
yt(b);
|
653
653
|
} catch (y) {
|
654
|
-
s = s != null ? s : [], y instanceof
|
654
|
+
s = s != null ? s : [], y instanceof Ge ? s = J(J([], Ze(s)), Ze(y.errors)) : s.push(y);
|
655
655
|
}
|
656
656
|
}
|
657
657
|
} catch (y) {
|
@@ -665,13 +665,13 @@ var He = function() {
|
|
665
665
|
}
|
666
666
|
}
|
667
667
|
if (s)
|
668
|
-
throw new
|
668
|
+
throw new Ge(s);
|
669
669
|
}
|
670
670
|
}, e.prototype.add = function(t) {
|
671
671
|
var r;
|
672
672
|
if (t && t !== this)
|
673
673
|
if (this.closed)
|
674
|
-
|
674
|
+
yt(t);
|
675
675
|
else {
|
676
676
|
if (t instanceof e) {
|
677
677
|
if (t.closed || t._hasParent(this))
|
@@ -688,52 +688,52 @@ var He = function() {
|
|
688
688
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
689
689
|
}, e.prototype._removeParent = function(t) {
|
690
690
|
var r = this._parentage;
|
691
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
691
|
+
r === t ? this._parentage = null : Array.isArray(r) && Qe(r, t);
|
692
692
|
}, e.prototype.remove = function(t) {
|
693
693
|
var r = this._finalizers;
|
694
|
-
r &&
|
694
|
+
r && Qe(r, t), t instanceof e && t._removeParent(this);
|
695
695
|
}, e.EMPTY = function() {
|
696
696
|
var t = new e();
|
697
697
|
return t.closed = !0, t;
|
698
698
|
}(), e;
|
699
|
-
}(),
|
700
|
-
function
|
701
|
-
return e instanceof
|
699
|
+
}(), Yt = Ae.EMPTY;
|
700
|
+
function qt(e) {
|
701
|
+
return e instanceof Ae || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
|
702
702
|
}
|
703
|
-
function
|
703
|
+
function yt(e) {
|
704
704
|
U(e) ? e() : e.unsubscribe();
|
705
705
|
}
|
706
|
-
var
|
706
|
+
var hn = {
|
707
707
|
Promise: void 0
|
708
|
-
},
|
708
|
+
}, ln = {
|
709
709
|
setTimeout: function(e, t) {
|
710
710
|
for (var r = [], n = 2; n < arguments.length; n++)
|
711
711
|
r[n - 2] = arguments[n];
|
712
|
-
return setTimeout.apply(void 0, J([e, t],
|
712
|
+
return setTimeout.apply(void 0, J([e, t], Ze(r)));
|
713
713
|
},
|
714
714
|
clearTimeout: function(e) {
|
715
715
|
return clearTimeout(e);
|
716
716
|
},
|
717
717
|
delegate: void 0
|
718
718
|
};
|
719
|
-
function
|
720
|
-
|
719
|
+
function cn(e) {
|
720
|
+
ln.setTimeout(function() {
|
721
721
|
throw e;
|
722
722
|
});
|
723
723
|
}
|
724
|
-
function
|
724
|
+
function vt() {
|
725
725
|
}
|
726
|
-
function
|
726
|
+
function _e(e) {
|
727
727
|
e();
|
728
728
|
}
|
729
|
-
var
|
729
|
+
var Jt = function(e) {
|
730
730
|
D(t, e);
|
731
731
|
function t(r) {
|
732
732
|
var n = e.call(this) || this;
|
733
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
733
|
+
return n.isStopped = !1, r ? (n.destination = r, qt(r) && r.add(n)) : n.destination = dn, n;
|
734
734
|
}
|
735
735
|
return t.create = function(r, n, i) {
|
736
|
-
return new
|
736
|
+
return new Ye(r, n, i);
|
737
737
|
}, t.prototype.next = function(r) {
|
738
738
|
this.isStopped || this._next(r);
|
739
739
|
}, t.prototype.error = function(r) {
|
@@ -757,7 +757,7 @@ var qt = function(e) {
|
|
757
757
|
this.unsubscribe();
|
758
758
|
}
|
759
759
|
}, t;
|
760
|
-
}(
|
760
|
+
}(Ae), fn = function() {
|
761
761
|
function e(t) {
|
762
762
|
this.partialObserver = t;
|
763
763
|
}
|
@@ -767,7 +767,7 @@ var qt = function(e) {
|
|
767
767
|
try {
|
768
768
|
r.next(t);
|
769
769
|
} catch (n) {
|
770
|
-
|
770
|
+
ye(n);
|
771
771
|
}
|
772
772
|
}, e.prototype.error = function(t) {
|
773
773
|
var r = this.partialObserver;
|
@@ -775,20 +775,20 @@ var qt = function(e) {
|
|
775
775
|
try {
|
776
776
|
r.error(t);
|
777
777
|
} catch (n) {
|
778
|
-
|
778
|
+
ye(n);
|
779
779
|
}
|
780
780
|
else
|
781
|
-
|
781
|
+
ye(t);
|
782
782
|
}, e.prototype.complete = function() {
|
783
783
|
var t = this.partialObserver;
|
784
784
|
if (t.complete)
|
785
785
|
try {
|
786
786
|
t.complete();
|
787
787
|
} catch (r) {
|
788
|
-
|
788
|
+
ye(r);
|
789
789
|
}
|
790
790
|
}, e;
|
791
|
-
}(),
|
791
|
+
}(), Ye = function(e) {
|
792
792
|
D(t, e);
|
793
793
|
function t(r, n, i) {
|
794
794
|
var s = e.call(this) || this, o;
|
@@ -796,35 +796,35 @@ var qt = function(e) {
|
|
796
796
|
next: r != null ? r : void 0,
|
797
797
|
error: n != null ? n : void 0,
|
798
798
|
complete: i != null ? i : void 0
|
799
|
-
} : o = r, s.destination = new
|
799
|
+
} : o = r, s.destination = new fn(o), s;
|
800
800
|
}
|
801
801
|
return t;
|
802
|
-
}(
|
803
|
-
function
|
804
|
-
|
802
|
+
}(Jt);
|
803
|
+
function ye(e) {
|
804
|
+
cn(e);
|
805
805
|
}
|
806
|
-
function
|
806
|
+
function mn(e) {
|
807
807
|
throw e;
|
808
808
|
}
|
809
|
-
var
|
809
|
+
var dn = {
|
810
810
|
closed: !0,
|
811
|
-
next:
|
812
|
-
error:
|
813
|
-
complete:
|
814
|
-
},
|
811
|
+
next: vt,
|
812
|
+
error: mn,
|
813
|
+
complete: vt
|
814
|
+
}, bn = function() {
|
815
815
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
816
816
|
}();
|
817
|
-
function
|
817
|
+
function pn(e) {
|
818
818
|
return e;
|
819
819
|
}
|
820
|
-
function
|
821
|
-
return e.length === 0 ?
|
820
|
+
function gn(e) {
|
821
|
+
return e.length === 0 ? pn : e.length === 1 ? e[0] : function(r) {
|
822
822
|
return e.reduce(function(n, i) {
|
823
823
|
return i(n);
|
824
824
|
}, r);
|
825
825
|
};
|
826
826
|
}
|
827
|
-
var
|
827
|
+
var Et = function() {
|
828
828
|
function e(t) {
|
829
829
|
t && (this._subscribe = t);
|
830
830
|
}
|
@@ -832,8 +832,8 @@ var vt = function() {
|
|
832
832
|
var r = new e();
|
833
833
|
return r.source = this, r.operator = t, r;
|
834
834
|
}, e.prototype.subscribe = function(t, r, n) {
|
835
|
-
var i = this, s =
|
836
|
-
return
|
835
|
+
var i = this, s = vn(t) ? t : new Ye(t, r, n);
|
836
|
+
return _e(function() {
|
837
837
|
var o = i, a = o.operator, h = o.source;
|
838
838
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
839
839
|
}), s;
|
@@ -845,8 +845,8 @@ var vt = function() {
|
|
845
845
|
}
|
846
846
|
}, e.prototype.forEach = function(t, r) {
|
847
847
|
var n = this;
|
848
|
-
return r =
|
849
|
-
var o = new
|
848
|
+
return r = _t(r), new r(function(i, s) {
|
849
|
+
var o = new Ye({
|
850
850
|
next: function(a) {
|
851
851
|
try {
|
852
852
|
t(a);
|
@@ -862,15 +862,15 @@ var vt = function() {
|
|
862
862
|
}, e.prototype._subscribe = function(t) {
|
863
863
|
var r;
|
864
864
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
865
|
-
}, e.prototype[
|
865
|
+
}, e.prototype[bn] = function() {
|
866
866
|
return this;
|
867
867
|
}, e.prototype.pipe = function() {
|
868
868
|
for (var t = [], r = 0; r < arguments.length; r++)
|
869
869
|
t[r] = arguments[r];
|
870
|
-
return
|
870
|
+
return gn(t)(this);
|
871
871
|
}, e.prototype.toPromise = function(t) {
|
872
872
|
var r = this;
|
873
|
-
return t =
|
873
|
+
return t = _t(t), new t(function(n, i) {
|
874
874
|
var s;
|
875
875
|
r.subscribe(function(o) {
|
876
876
|
return s = o;
|
@@ -884,40 +884,40 @@ var vt = function() {
|
|
884
884
|
return new e(t);
|
885
885
|
}, e;
|
886
886
|
}();
|
887
|
-
function
|
887
|
+
function _t(e) {
|
888
888
|
var t;
|
889
|
-
return (t = e != null ? e :
|
889
|
+
return (t = e != null ? e : hn.Promise) !== null && t !== void 0 ? t : Promise;
|
890
890
|
}
|
891
|
-
function
|
891
|
+
function yn(e) {
|
892
892
|
return e && U(e.next) && U(e.error) && U(e.complete);
|
893
893
|
}
|
894
|
-
function
|
895
|
-
return e && e instanceof
|
894
|
+
function vn(e) {
|
895
|
+
return e && e instanceof Jt || yn(e) && qt(e);
|
896
896
|
}
|
897
|
-
var
|
897
|
+
var En = Qt(function(e) {
|
898
898
|
return function() {
|
899
899
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
900
900
|
};
|
901
|
-
}),
|
901
|
+
}), Kt = function(e) {
|
902
902
|
D(t, e);
|
903
903
|
function t() {
|
904
904
|
var r = e.call(this) || this;
|
905
905
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
906
906
|
}
|
907
907
|
return t.prototype.lift = function(r) {
|
908
|
-
var n = new
|
908
|
+
var n = new xt(this, this);
|
909
909
|
return n.operator = r, n;
|
910
910
|
}, t.prototype._throwIfClosed = function() {
|
911
911
|
if (this.closed)
|
912
|
-
throw new
|
912
|
+
throw new En();
|
913
913
|
}, t.prototype.next = function(r) {
|
914
914
|
var n = this;
|
915
|
-
|
915
|
+
_e(function() {
|
916
916
|
var i, s;
|
917
917
|
if (n._throwIfClosed(), !n.isStopped) {
|
918
918
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
919
919
|
try {
|
920
|
-
for (var o =
|
920
|
+
for (var o = ze(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
921
921
|
var h = a.value;
|
922
922
|
h.next(r);
|
923
923
|
}
|
@@ -934,7 +934,7 @@ var _n = Zt(function(e) {
|
|
934
934
|
});
|
935
935
|
}, t.prototype.error = function(r) {
|
936
936
|
var n = this;
|
937
|
-
|
937
|
+
_e(function() {
|
938
938
|
if (n._throwIfClosed(), !n.isStopped) {
|
939
939
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
940
940
|
for (var i = n.observers; i.length; )
|
@@ -943,7 +943,7 @@ var _n = Zt(function(e) {
|
|
943
943
|
});
|
944
944
|
}, t.prototype.complete = function() {
|
945
945
|
var r = this;
|
946
|
-
|
946
|
+
_e(function() {
|
947
947
|
if (r._throwIfClosed(), !r.isStopped) {
|
948
948
|
r.isStopped = !0;
|
949
949
|
for (var n = r.observers; n.length; )
|
@@ -965,19 +965,19 @@ var _n = Zt(function(e) {
|
|
965
965
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
966
966
|
}, t.prototype._innerSubscribe = function(r) {
|
967
967
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
968
|
-
return s || o ?
|
969
|
-
n.currentObservers = null,
|
968
|
+
return s || o ? Yt : (this.currentObservers = null, a.push(r), new Ae(function() {
|
969
|
+
n.currentObservers = null, Qe(a, r);
|
970
970
|
}));
|
971
971
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
972
972
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
973
973
|
i ? r.error(s) : o && r.complete();
|
974
974
|
}, t.prototype.asObservable = function() {
|
975
|
-
var r = new
|
975
|
+
var r = new Et();
|
976
976
|
return r.source = this, r;
|
977
977
|
}, t.create = function(r, n) {
|
978
|
-
return new
|
978
|
+
return new xt(r, n);
|
979
979
|
}, t;
|
980
|
-
}(
|
980
|
+
}(Et), xt = function(e) {
|
981
981
|
D(t, e);
|
982
982
|
function t(r, n) {
|
983
983
|
var i = e.call(this) || this;
|
@@ -994,17 +994,17 @@ var _n = Zt(function(e) {
|
|
994
994
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
995
995
|
}, t.prototype._subscribe = function(r) {
|
996
996
|
var n, i;
|
997
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
997
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yt;
|
998
998
|
}, t;
|
999
|
-
}(
|
999
|
+
}(Kt), er = {
|
1000
1000
|
now: function() {
|
1001
|
-
return (
|
1001
|
+
return (er.delegate || Date).now();
|
1002
1002
|
},
|
1003
1003
|
delegate: void 0
|
1004
|
-
},
|
1004
|
+
}, _n = function(e) {
|
1005
1005
|
D(t, e);
|
1006
1006
|
function t(r, n, i) {
|
1007
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
1007
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = er);
|
1008
1008
|
var s = e.call(this) || this;
|
1009
1009
|
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;
|
1010
1010
|
}
|
@@ -1024,24 +1024,24 @@ var _n = Zt(function(e) {
|
|
1024
1024
|
u && s.splice(0, u + 1);
|
1025
1025
|
}
|
1026
1026
|
}, t;
|
1027
|
-
}(
|
1028
|
-
const
|
1029
|
-
if (
|
1030
|
-
const r = new
|
1031
|
-
|
1027
|
+
}(Kt);
|
1028
|
+
const St = [], wt = {}, xn = (e, t = 0) => {
|
1029
|
+
if (St.indexOf(e) == -1) {
|
1030
|
+
const r = new _n(t);
|
1031
|
+
wt[e] = r, St.push(e);
|
1032
1032
|
}
|
1033
|
-
return
|
1033
|
+
return wt[e];
|
1034
1034
|
}, Q = [];
|
1035
|
-
function
|
1035
|
+
function Sn(e, t) {
|
1036
1036
|
return {
|
1037
|
-
subscribe:
|
1037
|
+
subscribe: Be(e, t).subscribe
|
1038
1038
|
};
|
1039
1039
|
}
|
1040
|
-
function
|
1040
|
+
function Be(e, t = P) {
|
1041
1041
|
let r;
|
1042
1042
|
const n = /* @__PURE__ */ new Set();
|
1043
1043
|
function i(a) {
|
1044
|
-
if (
|
1044
|
+
if ($t(e, a) && (e = a, r)) {
|
1045
1045
|
const h = !Q.length;
|
1046
1046
|
for (const u of n)
|
1047
1047
|
u[1](), Q.push(u, e);
|
@@ -1055,34 +1055,34 @@ function Ae(e, t = B) {
|
|
1055
1055
|
function s(a) {
|
1056
1056
|
i(a(e));
|
1057
1057
|
}
|
1058
|
-
function o(a, h =
|
1058
|
+
function o(a, h = P) {
|
1059
1059
|
const u = [a, h];
|
1060
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
1060
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || P), a(e), () => {
|
1061
1061
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
1062
1062
|
};
|
1063
1063
|
}
|
1064
1064
|
return { set: i, update: s, subscribe: o };
|
1065
1065
|
}
|
1066
|
-
function
|
1066
|
+
function se(e, t, r) {
|
1067
1067
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
1068
1068
|
if (!i.every(Boolean))
|
1069
1069
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1070
1070
|
const s = t.length < 2;
|
1071
|
-
return
|
1071
|
+
return Sn(r, (o, a) => {
|
1072
1072
|
let h = !1;
|
1073
1073
|
const u = [];
|
1074
|
-
let l = 0, m =
|
1074
|
+
let l = 0, m = P;
|
1075
1075
|
const c = () => {
|
1076
1076
|
if (l)
|
1077
1077
|
return;
|
1078
1078
|
m();
|
1079
1079
|
const b = t(n ? u[0] : u, o, a);
|
1080
|
-
s ? o(b) : m =
|
1080
|
+
s ? o(b) : m = He(b) ? b : P;
|
1081
1081
|
}, d = i.map(
|
1082
|
-
(b, y) =>
|
1082
|
+
(b, y) => jt(
|
1083
1083
|
b,
|
1084
|
-
(
|
1085
|
-
u[y] =
|
1084
|
+
(T) => {
|
1085
|
+
u[y] = T, l &= ~(1 << y), h && c();
|
1086
1086
|
},
|
1087
1087
|
() => {
|
1088
1088
|
l |= 1 << y;
|
@@ -1090,115 +1090,115 @@ function oe(e, t, r) {
|
|
1090
1090
|
)
|
1091
1091
|
);
|
1092
1092
|
return h = !0, c(), function() {
|
1093
|
-
|
1093
|
+
ne(d), m(), h = !1;
|
1094
1094
|
};
|
1095
1095
|
});
|
1096
1096
|
}
|
1097
1097
|
function wn(e) {
|
1098
1098
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1099
1099
|
}
|
1100
|
-
var
|
1101
|
-
return
|
1100
|
+
var Tn = function(t) {
|
1101
|
+
return Hn(t) && !An(t);
|
1102
1102
|
};
|
1103
|
-
function
|
1103
|
+
function Hn(e) {
|
1104
1104
|
return !!e && typeof e == "object";
|
1105
1105
|
}
|
1106
|
-
function
|
1106
|
+
function An(e) {
|
1107
1107
|
var t = Object.prototype.toString.call(e);
|
1108
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1108
|
+
return t === "[object RegExp]" || t === "[object Date]" || Nn(e);
|
1109
1109
|
}
|
1110
|
-
var
|
1111
|
-
function
|
1112
|
-
return e.$$typeof ===
|
1110
|
+
var Bn = typeof Symbol == "function" && Symbol.for, Pn = Bn ? Symbol.for("react.element") : 60103;
|
1111
|
+
function Nn(e) {
|
1112
|
+
return e.$$typeof === Pn;
|
1113
1113
|
}
|
1114
|
-
function
|
1114
|
+
function On(e) {
|
1115
1115
|
return Array.isArray(e) ? [] : {};
|
1116
1116
|
}
|
1117
|
-
function
|
1118
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
1117
|
+
function le(e, t) {
|
1118
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(On(e), e, t) : e;
|
1119
1119
|
}
|
1120
|
-
function
|
1120
|
+
function Ln(e, t, r) {
|
1121
1121
|
return e.concat(t).map(function(n) {
|
1122
|
-
return
|
1122
|
+
return le(n, r);
|
1123
1123
|
});
|
1124
1124
|
}
|
1125
1125
|
function In(e, t) {
|
1126
1126
|
if (!t.customMerge)
|
1127
|
-
return
|
1127
|
+
return K;
|
1128
1128
|
var r = t.customMerge(e);
|
1129
|
-
return typeof r == "function" ? r :
|
1129
|
+
return typeof r == "function" ? r : K;
|
1130
1130
|
}
|
1131
|
-
function
|
1131
|
+
function Cn(e) {
|
1132
1132
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1133
1133
|
return Object.propertyIsEnumerable.call(e, t);
|
1134
1134
|
}) : [];
|
1135
1135
|
}
|
1136
1136
|
function Tt(e) {
|
1137
|
-
return Object.keys(e).concat(
|
1137
|
+
return Object.keys(e).concat(Cn(e));
|
1138
1138
|
}
|
1139
|
-
function
|
1139
|
+
function tr(e, t) {
|
1140
1140
|
try {
|
1141
1141
|
return t in e;
|
1142
1142
|
} catch (r) {
|
1143
1143
|
return !1;
|
1144
1144
|
}
|
1145
1145
|
}
|
1146
|
-
function
|
1147
|
-
return
|
1146
|
+
function Mn(e, t) {
|
1147
|
+
return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1148
1148
|
}
|
1149
|
-
function
|
1149
|
+
function Rn(e, t, r) {
|
1150
1150
|
var n = {};
|
1151
1151
|
return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
|
1152
|
-
n[i] =
|
1152
|
+
n[i] = le(e[i], r);
|
1153
1153
|
}), Tt(t).forEach(function(i) {
|
1154
|
-
|
1154
|
+
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));
|
1155
1155
|
}), n;
|
1156
1156
|
}
|
1157
|
-
function
|
1158
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1157
|
+
function K(e, t, r) {
|
1158
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Ln, r.isMergeableObject = r.isMergeableObject || Tn, r.cloneUnlessOtherwiseSpecified = le;
|
1159
1159
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
1160
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
1160
|
+
return s ? n ? r.arrayMerge(e, t, r) : Rn(e, t, r) : le(t, r);
|
1161
1161
|
}
|
1162
|
-
|
1162
|
+
K.all = function(t, r) {
|
1163
1163
|
if (!Array.isArray(t))
|
1164
1164
|
throw new Error("first argument should be an array");
|
1165
1165
|
return t.reduce(function(n, i) {
|
1166
|
-
return
|
1166
|
+
return K(n, i, r);
|
1167
1167
|
}, {});
|
1168
1168
|
};
|
1169
|
-
var
|
1170
|
-
const
|
1171
|
-
function
|
1172
|
-
var r = t && t.cache ? t.cache :
|
1169
|
+
var Gn = K, Un = Gn;
|
1170
|
+
const Dn = /* @__PURE__ */ wn(Un);
|
1171
|
+
function Ue(e, t) {
|
1172
|
+
var r = t && t.cache ? t.cache : Wn, n = t && t.serializer ? t.serializer : Vn, i = t && t.strategy ? t.strategy : jn;
|
1173
1173
|
return i(e, {
|
1174
1174
|
cache: r,
|
1175
1175
|
serializer: n
|
1176
1176
|
});
|
1177
1177
|
}
|
1178
|
-
function
|
1178
|
+
function Fn(e) {
|
1179
1179
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1180
1180
|
}
|
1181
|
-
function
|
1182
|
-
var i =
|
1181
|
+
function $n(e, t, r, n) {
|
1182
|
+
var i = Fn(n) ? n : r(n), s = t.get(i);
|
1183
1183
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
1184
1184
|
}
|
1185
|
-
function
|
1185
|
+
function rr(e, t, r) {
|
1186
1186
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
1187
1187
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
1188
1188
|
}
|
1189
|
-
function
|
1189
|
+
function nr(e, t, r, n, i) {
|
1190
1190
|
return r.bind(t, e, n, i);
|
1191
1191
|
}
|
1192
|
-
function
|
1193
|
-
var r = e.length === 1 ?
|
1194
|
-
return
|
1192
|
+
function jn(e, t) {
|
1193
|
+
var r = e.length === 1 ? $n : rr;
|
1194
|
+
return nr(e, this, r, t.cache.create(), t.serializer);
|
1195
1195
|
}
|
1196
|
-
function
|
1197
|
-
return
|
1196
|
+
function kn(e, t) {
|
1197
|
+
return nr(e, this, rr, t.cache.create(), t.serializer);
|
1198
1198
|
}
|
1199
|
-
var
|
1199
|
+
var Vn = function() {
|
1200
1200
|
return JSON.stringify(arguments);
|
1201
|
-
},
|
1201
|
+
}, Xn = (
|
1202
1202
|
/** @class */
|
1203
1203
|
function() {
|
1204
1204
|
function e() {
|
@@ -1210,12 +1210,12 @@ var Xn = function() {
|
|
1210
1210
|
this.cache[t] = r;
|
1211
1211
|
}, e;
|
1212
1212
|
}()
|
1213
|
-
),
|
1213
|
+
), Wn = {
|
1214
1214
|
create: function() {
|
1215
|
-
return new
|
1215
|
+
return new Xn();
|
1216
1216
|
}
|
1217
|
-
},
|
1218
|
-
variadic:
|
1217
|
+
}, De = {
|
1218
|
+
variadic: kn
|
1219
1219
|
}, p;
|
1220
1220
|
(function(e) {
|
1221
1221
|
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";
|
@@ -1224,47 +1224,47 @@ var x;
|
|
1224
1224
|
(function(e) {
|
1225
1225
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
1226
1226
|
})(x || (x = {}));
|
1227
|
-
var
|
1227
|
+
var ee;
|
1228
1228
|
(function(e) {
|
1229
1229
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1230
|
-
})(
|
1231
|
-
function
|
1230
|
+
})(ee || (ee = {}));
|
1231
|
+
function Ht(e) {
|
1232
1232
|
return e.type === x.literal;
|
1233
1233
|
}
|
1234
|
-
function
|
1234
|
+
function zn(e) {
|
1235
1235
|
return e.type === x.argument;
|
1236
1236
|
}
|
1237
|
-
function
|
1237
|
+
function ir(e) {
|
1238
1238
|
return e.type === x.number;
|
1239
1239
|
}
|
1240
|
-
function
|
1240
|
+
function sr(e) {
|
1241
1241
|
return e.type === x.date;
|
1242
1242
|
}
|
1243
|
-
function
|
1243
|
+
function or(e) {
|
1244
1244
|
return e.type === x.time;
|
1245
1245
|
}
|
1246
|
-
function
|
1246
|
+
function ar(e) {
|
1247
1247
|
return e.type === x.select;
|
1248
1248
|
}
|
1249
|
-
function
|
1249
|
+
function ur(e) {
|
1250
1250
|
return e.type === x.plural;
|
1251
1251
|
}
|
1252
|
-
function
|
1252
|
+
function Zn(e) {
|
1253
1253
|
return e.type === x.pound;
|
1254
1254
|
}
|
1255
|
-
function
|
1255
|
+
function hr(e) {
|
1256
1256
|
return e.type === x.tag;
|
1257
1257
|
}
|
1258
|
-
function
|
1259
|
-
return !!(e && typeof e == "object" && e.type ===
|
1258
|
+
function lr(e) {
|
1259
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
1260
1260
|
}
|
1261
|
-
function
|
1262
|
-
return !!(e && typeof e == "object" && e.type ===
|
1261
|
+
function qe(e) {
|
1262
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
1263
1263
|
}
|
1264
|
-
var
|
1265
|
-
function
|
1264
|
+
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;
|
1265
|
+
function Yn(e) {
|
1266
1266
|
var t = {};
|
1267
|
-
return e.replace(
|
1267
|
+
return e.replace(Qn, function(r) {
|
1268
1268
|
var n = r.length;
|
1269
1269
|
switch (r[0]) {
|
1270
1270
|
case "G":
|
@@ -1353,11 +1353,11 @@ function qn(e) {
|
|
1353
1353
|
return "";
|
1354
1354
|
}), t;
|
1355
1355
|
}
|
1356
|
-
var
|
1357
|
-
function
|
1356
|
+
var qn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1357
|
+
function Jn(e) {
|
1358
1358
|
if (e.length === 0)
|
1359
1359
|
throw new Error("Number skeleton cannot be empty");
|
1360
|
-
for (var t = e.split(
|
1360
|
+
for (var t = e.split(qn).filter(function(c) {
|
1361
1361
|
return c.length > 0;
|
1362
1362
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1363
1363
|
var s = i[n], o = s.split("/");
|
@@ -1372,17 +1372,17 @@ function Kn(e) {
|
|
1372
1372
|
}
|
1373
1373
|
return r;
|
1374
1374
|
}
|
1375
|
-
function
|
1375
|
+
function Kn(e) {
|
1376
1376
|
return e.replace(/^(.*?)-/, "");
|
1377
1377
|
}
|
1378
|
-
var
|
1379
|
-
function
|
1378
|
+
var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, ei = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
|
1379
|
+
function Bt(e) {
|
1380
1380
|
var t = {};
|
1381
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
1381
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, n, i) {
|
1382
1382
|
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)), "";
|
1383
1383
|
}), t;
|
1384
1384
|
}
|
1385
|
-
function
|
1385
|
+
function dr(e) {
|
1386
1386
|
switch (e) {
|
1387
1387
|
case "sign-auto":
|
1388
1388
|
return {
|
@@ -1422,7 +1422,7 @@ function mr(e) {
|
|
1422
1422
|
};
|
1423
1423
|
}
|
1424
1424
|
}
|
1425
|
-
function
|
1425
|
+
function ti(e) {
|
1426
1426
|
var t;
|
1427
1427
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1428
1428
|
notation: "engineering"
|
@@ -1430,17 +1430,17 @@ function ri(e) {
|
|
1430
1430
|
notation: "scientific"
|
1431
1431
|
}, e = e.slice(1)), t) {
|
1432
1432
|
var r = e.slice(0, 2);
|
1433
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1433
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
|
1434
1434
|
throw new Error("Malformed concise eng/scientific notation");
|
1435
1435
|
t.minimumIntegerDigits = e.length;
|
1436
1436
|
}
|
1437
1437
|
return t;
|
1438
1438
|
}
|
1439
|
-
function
|
1440
|
-
var t = {}, r =
|
1439
|
+
function Pt(e) {
|
1440
|
+
var t = {}, r = dr(e);
|
1441
1441
|
return r || t;
|
1442
1442
|
}
|
1443
|
-
function
|
1443
|
+
function ri(e) {
|
1444
1444
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1445
1445
|
var i = n[r];
|
1446
1446
|
switch (i.stem) {
|
@@ -1464,7 +1464,7 @@ function ni(e) {
|
|
1464
1464
|
continue;
|
1465
1465
|
case "measure-unit":
|
1466
1466
|
case "unit":
|
1467
|
-
t.style = "unit", t.unit =
|
1467
|
+
t.style = "unit", t.unit = Kn(i.options[0]);
|
1468
1468
|
continue;
|
1469
1469
|
case "compact-short":
|
1470
1470
|
case "K":
|
@@ -1476,12 +1476,12 @@ function ni(e) {
|
|
1476
1476
|
continue;
|
1477
1477
|
case "scientific":
|
1478
1478
|
t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
1479
|
-
return v(v({}, h),
|
1479
|
+
return v(v({}, h), Pt(u));
|
1480
1480
|
}, {}));
|
1481
1481
|
continue;
|
1482
1482
|
case "engineering":
|
1483
1483
|
t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
1484
|
-
return v(v({}, h),
|
1484
|
+
return v(v({}, h), Pt(u));
|
1485
1485
|
}, {}));
|
1486
1486
|
continue;
|
1487
1487
|
case "notation-simple":
|
@@ -1526,7 +1526,7 @@ function ni(e) {
|
|
1526
1526
|
case "integer-width":
|
1527
1527
|
if (i.options.length > 1)
|
1528
1528
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1529
|
-
i.options[0].replace(
|
1529
|
+
i.options[0].replace(ei, function(h, u, l, m, c, d) {
|
1530
1530
|
if (u)
|
1531
1531
|
t.minimumIntegerDigits = l.length;
|
1532
1532
|
else {
|
@@ -1539,32 +1539,32 @@ function ni(e) {
|
|
1539
1539
|
});
|
1540
1540
|
continue;
|
1541
1541
|
}
|
1542
|
-
if (
|
1542
|
+
if (mr.test(i.stem)) {
|
1543
1543
|
t.minimumIntegerDigits = i.stem.length;
|
1544
1544
|
continue;
|
1545
1545
|
}
|
1546
|
-
if (
|
1546
|
+
if (At.test(i.stem)) {
|
1547
1547
|
if (i.options.length > 1)
|
1548
1548
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1549
|
-
i.stem.replace(
|
1549
|
+
i.stem.replace(At, function(h, u, l, m, c, d) {
|
1550
1550
|
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), "";
|
1551
1551
|
});
|
1552
1552
|
var s = i.options[0];
|
1553
|
-
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t),
|
1553
|
+
s === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = v(v({}, t), Bt(s)));
|
1554
1554
|
continue;
|
1555
1555
|
}
|
1556
|
-
if (
|
1557
|
-
t = v(v({}, t),
|
1556
|
+
if (fr.test(i.stem)) {
|
1557
|
+
t = v(v({}, t), Bt(i.stem));
|
1558
1558
|
continue;
|
1559
1559
|
}
|
1560
|
-
var o =
|
1560
|
+
var o = dr(i.stem);
|
1561
1561
|
o && (t = v(v({}, t), o));
|
1562
|
-
var a =
|
1562
|
+
var a = ti(i.stem);
|
1563
1563
|
a && (t = v(v({}, t), a));
|
1564
1564
|
}
|
1565
1565
|
return t;
|
1566
1566
|
}
|
1567
|
-
var
|
1567
|
+
var ve = {
|
1568
1568
|
"001": [
|
1569
1569
|
"H",
|
1570
1570
|
"h"
|
@@ -2979,13 +2979,13 @@ var ye = {
|
|
2979
2979
|
"h"
|
2980
2980
|
]
|
2981
2981
|
};
|
2982
|
-
function
|
2982
|
+
function ni(e, t) {
|
2983
2983
|
for (var r = "", n = 0; n < e.length; n++) {
|
2984
2984
|
var i = e.charAt(n);
|
2985
2985
|
if (i === "j") {
|
2986
2986
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
2987
2987
|
s++, n++;
|
2988
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
2988
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ii(t);
|
2989
2989
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
2990
2990
|
r += h;
|
2991
2991
|
for (; o-- > 0; )
|
@@ -2994,7 +2994,7 @@ function ii(e, t) {
|
|
2994
2994
|
}
|
2995
2995
|
return r;
|
2996
2996
|
}
|
2997
|
-
function
|
2997
|
+
function ii(e) {
|
2998
2998
|
var t = e.hourCycle;
|
2999
2999
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3000
3000
|
e.hourCycles && // @ts-ignore
|
@@ -3013,23 +3013,23 @@ function si(e) {
|
|
3013
3013
|
}
|
3014
3014
|
var r = e.language, n;
|
3015
3015
|
r !== "root" && (n = e.maximize().region);
|
3016
|
-
var i =
|
3016
|
+
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
3017
3017
|
return i[0];
|
3018
3018
|
}
|
3019
|
-
var
|
3019
|
+
var Fe, si = new RegExp("^".concat(cr.source, "*")), oi = new RegExp("".concat(cr.source, "*$"));
|
3020
3020
|
function g(e, t) {
|
3021
3021
|
return { start: e, end: t };
|
3022
3022
|
}
|
3023
|
-
var
|
3023
|
+
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) {
|
3024
3024
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3025
|
-
},
|
3025
|
+
}, Je = !0;
|
3026
3026
|
try {
|
3027
|
-
var
|
3028
|
-
|
3027
|
+
var bi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3028
|
+
Je = ((Fe = bi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
|
3029
3029
|
} catch (e) {
|
3030
|
-
|
3030
|
+
Je = !1;
|
3031
3031
|
}
|
3032
|
-
var
|
3032
|
+
var Nt = ai ? (
|
3033
3033
|
// Native
|
3034
3034
|
function(t, r, n) {
|
3035
3035
|
return t.startsWith(r, n);
|
@@ -3039,7 +3039,7 @@ var Pt = ui ? (
|
|
3039
3039
|
function(t, r, n) {
|
3040
3040
|
return t.slice(n, n + r.length) === r;
|
3041
3041
|
}
|
3042
|
-
),
|
3042
|
+
), Ke = ui ? String.fromCodePoint : (
|
3043
3043
|
// IE11
|
3044
3044
|
function() {
|
3045
3045
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3051,9 +3051,9 @@ var Pt = ui ? (
|
|
3051
3051
|
}
|
3052
3052
|
return n;
|
3053
3053
|
}
|
3054
|
-
),
|
3054
|
+
), Ot = (
|
3055
3055
|
// native
|
3056
|
-
|
3056
|
+
hi ? Object.fromEntries : (
|
3057
3057
|
// Ponyfill
|
3058
3058
|
function(t) {
|
3059
3059
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3063,7 +3063,7 @@ var Pt = ui ? (
|
|
3063
3063
|
return r;
|
3064
3064
|
}
|
3065
3065
|
)
|
3066
|
-
),
|
3066
|
+
), br = li ? (
|
3067
3067
|
// Native
|
3068
3068
|
function(t, r) {
|
3069
3069
|
return t.codePointAt(r);
|
@@ -3077,7 +3077,7 @@ var Pt = ui ? (
|
|
3077
3077
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
3078
3078
|
}
|
3079
3079
|
}
|
3080
|
-
),
|
3080
|
+
), pi = ci ? (
|
3081
3081
|
// Native
|
3082
3082
|
function(t) {
|
3083
3083
|
return t.trimStart();
|
@@ -3085,9 +3085,9 @@ var Pt = ui ? (
|
|
3085
3085
|
) : (
|
3086
3086
|
// Ponyfill
|
3087
3087
|
function(t) {
|
3088
|
-
return t.replace(
|
3088
|
+
return t.replace(si, "");
|
3089
3089
|
}
|
3090
|
-
),
|
3090
|
+
), gi = fi ? (
|
3091
3091
|
// Native
|
3092
3092
|
function(t) {
|
3093
3093
|
return t.trimEnd();
|
@@ -3095,32 +3095,32 @@ var Pt = ui ? (
|
|
3095
3095
|
) : (
|
3096
3096
|
// Ponyfill
|
3097
3097
|
function(t) {
|
3098
|
-
return t.replace(
|
3098
|
+
return t.replace(oi, "");
|
3099
3099
|
}
|
3100
3100
|
);
|
3101
|
-
function
|
3101
|
+
function pr(e, t) {
|
3102
3102
|
return new RegExp(e, t);
|
3103
3103
|
}
|
3104
|
-
var
|
3105
|
-
if (
|
3106
|
-
var
|
3107
|
-
|
3104
|
+
var et;
|
3105
|
+
if (Je) {
|
3106
|
+
var Lt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3107
|
+
et = function(t, r) {
|
3108
3108
|
var n;
|
3109
|
-
|
3110
|
-
var i =
|
3109
|
+
Lt.lastIndex = r;
|
3110
|
+
var i = Lt.exec(t);
|
3111
3111
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3112
3112
|
};
|
3113
3113
|
} else
|
3114
|
-
|
3114
|
+
et = function(t, r) {
|
3115
3115
|
for (var n = []; ; ) {
|
3116
|
-
var i =
|
3117
|
-
if (i === void 0 ||
|
3116
|
+
var i = br(t, r);
|
3117
|
+
if (i === void 0 || gr(i) || _i(i))
|
3118
3118
|
break;
|
3119
3119
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3120
3120
|
}
|
3121
|
-
return
|
3121
|
+
return Ke.apply(void 0, n);
|
3122
3122
|
};
|
3123
|
-
var
|
3123
|
+
var yi = (
|
3124
3124
|
/** @class */
|
3125
3125
|
function() {
|
3126
3126
|
function e(t, r) {
|
@@ -3151,7 +3151,7 @@ var vi = (
|
|
3151
3151
|
if (n)
|
3152
3152
|
break;
|
3153
3153
|
return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
|
3154
|
-
} else if (s === 60 && !this.ignoreTag &&
|
3154
|
+
} else if (s === 60 && !this.ignoreTag && tt(this.peek() || 0)) {
|
3155
3155
|
var o = this.parseTag(t, r);
|
3156
3156
|
if (o.err)
|
3157
3157
|
return o;
|
@@ -3184,7 +3184,7 @@ var vi = (
|
|
3184
3184
|
return s;
|
3185
3185
|
var o = s.val, a = this.clonePosition();
|
3186
3186
|
if (this.bumpIf("</")) {
|
3187
|
-
if (this.isEOF() || !
|
3187
|
+
if (this.isEOF() || !tt(this.char()))
|
3188
3188
|
return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
|
3189
3189
|
var h = this.clonePosition(), u = this.parseTagName();
|
3190
3190
|
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
@@ -3202,7 +3202,7 @@ var vi = (
|
|
3202
3202
|
return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
|
3203
3203
|
}, e.prototype.parseTagName = function() {
|
3204
3204
|
var t = this.offset();
|
3205
|
-
for (this.bump(); !this.isEOF() &&
|
3205
|
+
for (this.bump(); !this.isEOF() && Ei(this.char()); )
|
3206
3206
|
this.bump();
|
3207
3207
|
return this.message.slice(t, this.offset());
|
3208
3208
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3231,7 +3231,7 @@ var vi = (
|
|
3231
3231
|
};
|
3232
3232
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3233
3233
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3234
|
-
!
|
3234
|
+
!vi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3235
3235
|
}, e.prototype.tryParseQuote = function(t) {
|
3236
3236
|
if (this.isEOF() || this.char() !== 39)
|
3237
3237
|
return null;
|
@@ -3265,12 +3265,12 @@ var vi = (
|
|
3265
3265
|
r.push(n);
|
3266
3266
|
this.bump();
|
3267
3267
|
}
|
3268
|
-
return
|
3268
|
+
return Ke.apply(void 0, r);
|
3269
3269
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3270
3270
|
if (this.isEOF())
|
3271
3271
|
return null;
|
3272
3272
|
var n = this.char();
|
3273
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3273
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ke(n));
|
3274
3274
|
}, e.prototype.parseArgument = function(t, r) {
|
3275
3275
|
var n = this.clonePosition();
|
3276
3276
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
@@ -3299,7 +3299,7 @@ var vi = (
|
|
3299
3299
|
return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
|
3300
3300
|
}
|
3301
3301
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3302
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3302
|
+
var t = this.clonePosition(), r = this.offset(), n = et(this.message, r), i = r + n.length;
|
3303
3303
|
this.bumpTo(i);
|
3304
3304
|
var s = this.clonePosition(), o = g(t, s);
|
3305
3305
|
return { value: n, location: o };
|
@@ -3318,7 +3318,7 @@ var vi = (
|
|
3318
3318
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
3319
3319
|
if (m.err)
|
3320
3320
|
return m;
|
3321
|
-
var c =
|
3321
|
+
var c = gi(m.val);
|
3322
3322
|
if (c.length === 0)
|
3323
3323
|
return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
|
3324
3324
|
var d = g(l, this.clonePosition());
|
@@ -3328,27 +3328,27 @@ var vi = (
|
|
3328
3328
|
if (b.err)
|
3329
3329
|
return b;
|
3330
3330
|
var y = g(i, this.clonePosition());
|
3331
|
-
if (u &&
|
3332
|
-
var
|
3331
|
+
if (u && Nt(u == null ? void 0 : u.style, "::", 0)) {
|
3332
|
+
var T = pi(u.style.slice(2));
|
3333
3333
|
if (a === "number") {
|
3334
|
-
var m = this.parseNumberSkeletonFromString(
|
3334
|
+
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
3335
3335
|
return m.err ? m : {
|
3336
3336
|
val: { type: x.number, value: n, location: y, style: m.val },
|
3337
3337
|
err: null
|
3338
3338
|
};
|
3339
3339
|
} else {
|
3340
|
-
if (
|
3340
|
+
if (T.length === 0)
|
3341
3341
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, y);
|
3342
|
-
var
|
3343
|
-
this.locale && (
|
3342
|
+
var C = T;
|
3343
|
+
this.locale && (C = ni(T, this.locale));
|
3344
3344
|
var c = {
|
3345
|
-
type:
|
3346
|
-
pattern:
|
3345
|
+
type: ee.dateTime,
|
3346
|
+
pattern: C,
|
3347
3347
|
location: u.styleLocation,
|
3348
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3349
|
-
},
|
3348
|
+
parsedOptions: this.shouldParseSkeletons ? Yn(C) : {}
|
3349
|
+
}, N = a === "date" ? x.date : x.time;
|
3350
3350
|
return {
|
3351
|
-
val: { type:
|
3351
|
+
val: { type: N, value: n, location: y, style: c },
|
3352
3352
|
err: null
|
3353
3353
|
};
|
3354
3354
|
}
|
@@ -3366,23 +3366,23 @@ var vi = (
|
|
3366
3366
|
case "plural":
|
3367
3367
|
case "selectordinal":
|
3368
3368
|
case "select": {
|
3369
|
-
var
|
3369
|
+
var w = this.clonePosition();
|
3370
3370
|
if (this.bumpSpace(), !this.bumpIf(","))
|
3371
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(
|
3371
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(w, v({}, w)));
|
3372
3372
|
this.bumpSpace();
|
3373
|
-
var
|
3374
|
-
if (a !== "select" &&
|
3373
|
+
var O = this.parseIdentifierIfPossible(), L = 0;
|
3374
|
+
if (a !== "select" && O.value === "offset") {
|
3375
3375
|
if (!this.bumpIf(":"))
|
3376
3376
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
|
3377
3377
|
this.bumpSpace();
|
3378
3378
|
var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3379
3379
|
if (m.err)
|
3380
3380
|
return m;
|
3381
|
-
this.bumpSpace(),
|
3381
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = m.val;
|
3382
3382
|
}
|
3383
|
-
var
|
3384
|
-
if (
|
3385
|
-
return
|
3383
|
+
var R = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
3384
|
+
if (R.err)
|
3385
|
+
return R;
|
3386
3386
|
var b = this.tryParseArgumentClose(i);
|
3387
3387
|
if (b.err)
|
3388
3388
|
return b;
|
@@ -3391,7 +3391,7 @@ var vi = (
|
|
3391
3391
|
val: {
|
3392
3392
|
type: x.select,
|
3393
3393
|
value: n,
|
3394
|
-
options:
|
3394
|
+
options: Ot(R.val),
|
3395
3395
|
location: _
|
3396
3396
|
},
|
3397
3397
|
err: null
|
@@ -3399,8 +3399,8 @@ var vi = (
|
|
3399
3399
|
val: {
|
3400
3400
|
type: x.plural,
|
3401
3401
|
value: n,
|
3402
|
-
options:
|
3403
|
-
offset:
|
3402
|
+
options: Ot(R.val),
|
3403
|
+
offset: L,
|
3404
3404
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3405
3405
|
location: _
|
3406
3406
|
},
|
@@ -3450,16 +3450,16 @@ var vi = (
|
|
3450
3450
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3451
3451
|
var n = [];
|
3452
3452
|
try {
|
3453
|
-
n =
|
3453
|
+
n = Jn(t);
|
3454
3454
|
} catch (i) {
|
3455
3455
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
3456
3456
|
}
|
3457
3457
|
return {
|
3458
3458
|
val: {
|
3459
|
-
type:
|
3459
|
+
type: ee.number,
|
3460
3460
|
tokens: n,
|
3461
3461
|
location: r,
|
3462
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3462
|
+
parsedOptions: this.shouldParseSkeletons ? ri(n) : {}
|
3463
3463
|
},
|
3464
3464
|
err: null
|
3465
3465
|
};
|
@@ -3507,7 +3507,7 @@ var vi = (
|
|
3507
3507
|
break;
|
3508
3508
|
}
|
3509
3509
|
var h = g(i, this.clonePosition());
|
3510
|
-
return s ? (o *= n,
|
3510
|
+
return s ? (o *= n, di(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
3511
3511
|
}, e.prototype.offset = function() {
|
3512
3512
|
return this.position.offset;
|
3513
3513
|
}, e.prototype.isEOF = function() {
|
@@ -3522,7 +3522,7 @@ var vi = (
|
|
3522
3522
|
var t = this.position.offset;
|
3523
3523
|
if (t >= this.message.length)
|
3524
3524
|
throw Error("out of bound");
|
3525
|
-
var r =
|
3525
|
+
var r = br(this.message, t);
|
3526
3526
|
if (r === void 0)
|
3527
3527
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3528
3528
|
return r;
|
@@ -3541,7 +3541,7 @@ var vi = (
|
|
3541
3541
|
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);
|
3542
3542
|
}
|
3543
3543
|
}, e.prototype.bumpIf = function(t) {
|
3544
|
-
if (
|
3544
|
+
if (Nt(this.message, t, this.offset())) {
|
3545
3545
|
for (var r = 0; r < t.length; r++)
|
3546
3546
|
this.bump();
|
3547
3547
|
return !0;
|
@@ -3563,7 +3563,7 @@ var vi = (
|
|
3563
3563
|
break;
|
3564
3564
|
}
|
3565
3565
|
}, e.prototype.bumpSpace = function() {
|
3566
|
-
for (; !this.isEOF() &&
|
3566
|
+
for (; !this.isEOF() && gr(this.char()); )
|
3567
3567
|
this.bump();
|
3568
3568
|
}, e.prototype.peek = function() {
|
3569
3569
|
if (this.isEOF())
|
@@ -3573,43 +3573,43 @@ var vi = (
|
|
3573
3573
|
}, e;
|
3574
3574
|
}()
|
3575
3575
|
);
|
3576
|
-
function
|
3576
|
+
function tt(e) {
|
3577
3577
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3578
3578
|
}
|
3579
|
-
function
|
3580
|
-
return
|
3579
|
+
function vi(e) {
|
3580
|
+
return tt(e) || e === 47;
|
3581
3581
|
}
|
3582
|
-
function
|
3582
|
+
function Ei(e) {
|
3583
3583
|
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;
|
3584
3584
|
}
|
3585
|
-
function
|
3585
|
+
function gr(e) {
|
3586
3586
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3587
3587
|
}
|
3588
|
-
function
|
3588
|
+
function _i(e) {
|
3589
3589
|
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;
|
3590
3590
|
}
|
3591
|
-
function
|
3591
|
+
function rt(e) {
|
3592
3592
|
e.forEach(function(t) {
|
3593
|
-
if (delete t.location,
|
3593
|
+
if (delete t.location, ar(t) || ur(t))
|
3594
3594
|
for (var r in t.options)
|
3595
|
-
delete t.options[r].location,
|
3596
|
-
else
|
3595
|
+
delete t.options[r].location, rt(t.options[r].value);
|
3596
|
+
else ir(t) && lr(t.style) || (sr(t) || or(t)) && qe(t.style) ? delete t.style.location : hr(t) && rt(t.children);
|
3597
3597
|
});
|
3598
3598
|
}
|
3599
|
-
function
|
3599
|
+
function xi(e, t) {
|
3600
3600
|
t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3601
|
-
var r = new
|
3601
|
+
var r = new yi(e, t).parse();
|
3602
3602
|
if (r.err) {
|
3603
3603
|
var n = SyntaxError(p[r.err.kind]);
|
3604
3604
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3605
3605
|
}
|
3606
|
-
return t != null && t.captureLocation ||
|
3606
|
+
return t != null && t.captureLocation || rt(r.val), r.val;
|
3607
3607
|
}
|
3608
|
-
var
|
3608
|
+
var te;
|
3609
3609
|
(function(e) {
|
3610
3610
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3611
|
-
})(
|
3612
|
-
var
|
3611
|
+
})(te || (te = {}));
|
3612
|
+
var Pe = (
|
3613
3613
|
/** @class */
|
3614
3614
|
function(e) {
|
3615
3615
|
D(t, e);
|
@@ -3621,66 +3621,66 @@ var Be = (
|
|
3621
3621
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3622
3622
|
}, t;
|
3623
3623
|
}(Error)
|
3624
|
-
),
|
3624
|
+
), It = (
|
3625
3625
|
/** @class */
|
3626
3626
|
function(e) {
|
3627
3627
|
D(t, e);
|
3628
3628
|
function t(r, n, i, s) {
|
3629
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3629
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
|
3630
3630
|
}
|
3631
3631
|
return t;
|
3632
|
-
}(
|
3633
|
-
),
|
3632
|
+
}(Pe)
|
3633
|
+
), Si = (
|
3634
3634
|
/** @class */
|
3635
3635
|
function(e) {
|
3636
3636
|
D(t, e);
|
3637
3637
|
function t(r, n, i) {
|
3638
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3638
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
|
3639
3639
|
}
|
3640
3640
|
return t;
|
3641
|
-
}(
|
3641
|
+
}(Pe)
|
3642
3642
|
), wi = (
|
3643
3643
|
/** @class */
|
3644
3644
|
function(e) {
|
3645
3645
|
D(t, e);
|
3646
3646
|
function t(r, n) {
|
3647
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3647
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
|
3648
3648
|
}
|
3649
3649
|
return t;
|
3650
|
-
}(
|
3651
|
-
),
|
3650
|
+
}(Pe)
|
3651
|
+
), H;
|
3652
3652
|
(function(e) {
|
3653
3653
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3654
|
-
})(
|
3655
|
-
function
|
3654
|
+
})(H || (H = {}));
|
3655
|
+
function Ti(e) {
|
3656
3656
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3657
3657
|
var n = t[t.length - 1];
|
3658
|
-
return !n || n.type !==
|
3658
|
+
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
3659
3659
|
}, []);
|
3660
3660
|
}
|
3661
|
-
function
|
3661
|
+
function Hi(e) {
|
3662
3662
|
return typeof e == "function";
|
3663
3663
|
}
|
3664
|
-
function
|
3665
|
-
if (e.length === 1 &&
|
3664
|
+
function xe(e, t, r, n, i, s, o) {
|
3665
|
+
if (e.length === 1 && Ht(e[0]))
|
3666
3666
|
return [
|
3667
3667
|
{
|
3668
|
-
type:
|
3668
|
+
type: H.literal,
|
3669
3669
|
value: e[0].value
|
3670
3670
|
}
|
3671
3671
|
];
|
3672
3672
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
3673
3673
|
var l = u[h];
|
3674
|
-
if (
|
3674
|
+
if (Ht(l)) {
|
3675
3675
|
a.push({
|
3676
|
-
type:
|
3676
|
+
type: H.literal,
|
3677
3677
|
value: l.value
|
3678
3678
|
});
|
3679
3679
|
continue;
|
3680
3680
|
}
|
3681
|
-
if (
|
3681
|
+
if (Zn(l)) {
|
3682
3682
|
typeof s == "number" && a.push({
|
3683
|
-
type:
|
3683
|
+
type: H.literal,
|
3684
3684
|
value: r.getNumberFormat(t).format(s)
|
3685
3685
|
});
|
3686
3686
|
continue;
|
@@ -3689,87 +3689,87 @@ function _e(e, t, r, n, i, s, o) {
|
|
3689
3689
|
if (!(i && m in i))
|
3690
3690
|
throw new wi(m, o);
|
3691
3691
|
var c = i[m];
|
3692
|
-
if (
|
3692
|
+
if (zn(l)) {
|
3693
3693
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3694
|
-
type: typeof c == "string" ?
|
3694
|
+
type: typeof c == "string" ? H.literal : H.object,
|
3695
3695
|
value: c
|
3696
3696
|
});
|
3697
3697
|
continue;
|
3698
3698
|
}
|
3699
|
-
if (
|
3700
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
3699
|
+
if (sr(l)) {
|
3700
|
+
var d = typeof l.style == "string" ? n.date[l.style] : qe(l.style) ? l.style.parsedOptions : void 0;
|
3701
3701
|
a.push({
|
3702
|
-
type:
|
3702
|
+
type: H.literal,
|
3703
3703
|
value: r.getDateTimeFormat(t, d).format(c)
|
3704
3704
|
});
|
3705
3705
|
continue;
|
3706
3706
|
}
|
3707
|
-
if (
|
3708
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
3707
|
+
if (or(l)) {
|
3708
|
+
var d = typeof l.style == "string" ? n.time[l.style] : qe(l.style) ? l.style.parsedOptions : n.time.medium;
|
3709
3709
|
a.push({
|
3710
|
-
type:
|
3710
|
+
type: H.literal,
|
3711
3711
|
value: r.getDateTimeFormat(t, d).format(c)
|
3712
3712
|
});
|
3713
3713
|
continue;
|
3714
3714
|
}
|
3715
|
-
if (
|
3716
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
3715
|
+
if (ir(l)) {
|
3716
|
+
var d = typeof l.style == "string" ? n.number[l.style] : lr(l.style) ? l.style.parsedOptions : void 0;
|
3717
3717
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
3718
|
-
type:
|
3718
|
+
type: H.literal,
|
3719
3719
|
value: r.getNumberFormat(t, d).format(c)
|
3720
3720
|
});
|
3721
3721
|
continue;
|
3722
3722
|
}
|
3723
|
-
if (
|
3724
|
-
var b = l.children, y = l.value,
|
3725
|
-
if (!
|
3726
|
-
throw new
|
3727
|
-
var
|
3728
|
-
return
|
3723
|
+
if (hr(l)) {
|
3724
|
+
var b = l.children, y = l.value, T = i[y];
|
3725
|
+
if (!Hi(T))
|
3726
|
+
throw new Si(y, "function", o);
|
3727
|
+
var C = xe(b, t, r, n, i, s), N = T(C.map(function(L) {
|
3728
|
+
return L.value;
|
3729
3729
|
}));
|
3730
|
-
Array.isArray(
|
3730
|
+
Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(L) {
|
3731
3731
|
return {
|
3732
|
-
type: typeof
|
3733
|
-
value:
|
3732
|
+
type: typeof L == "string" ? H.literal : H.object,
|
3733
|
+
value: L
|
3734
3734
|
};
|
3735
3735
|
}));
|
3736
3736
|
}
|
3737
|
-
if (
|
3738
|
-
var
|
3739
|
-
if (!
|
3740
|
-
throw new
|
3741
|
-
a.push.apply(a,
|
3737
|
+
if (ar(l)) {
|
3738
|
+
var w = l.options[c] || l.options.other;
|
3739
|
+
if (!w)
|
3740
|
+
throw new It(l.value, c, Object.keys(l.options), o);
|
3741
|
+
a.push.apply(a, xe(w.value, t, r, n, i));
|
3742
3742
|
continue;
|
3743
3743
|
}
|
3744
|
-
if (
|
3745
|
-
var
|
3746
|
-
if (!
|
3744
|
+
if (ur(l)) {
|
3745
|
+
var w = l.options["=".concat(c)];
|
3746
|
+
if (!w) {
|
3747
3747
|
if (!Intl.PluralRules)
|
3748
|
-
throw new
|
3748
|
+
throw new Pe(`Intl.PluralRules is not available in this environment.
|
3749
3749
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3750
|
-
`,
|
3751
|
-
var
|
3752
|
-
|
3750
|
+
`, te.MISSING_INTL_API, o);
|
3751
|
+
var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
3752
|
+
w = l.options[O] || l.options.other;
|
3753
3753
|
}
|
3754
|
-
if (!
|
3755
|
-
throw new
|
3756
|
-
a.push.apply(a,
|
3754
|
+
if (!w)
|
3755
|
+
throw new It(l.value, c, Object.keys(l.options), o);
|
3756
|
+
a.push.apply(a, xe(w.value, t, r, n, i, c - (l.offset || 0)));
|
3757
3757
|
continue;
|
3758
3758
|
}
|
3759
3759
|
}
|
3760
|
-
return
|
3760
|
+
return Ti(a);
|
3761
3761
|
}
|
3762
|
-
function
|
3762
|
+
function Ai(e, t) {
|
3763
3763
|
return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3764
3764
|
return r[n] = v(v({}, e[n]), t[n] || {}), r;
|
3765
3765
|
}, {})) : e;
|
3766
3766
|
}
|
3767
|
-
function
|
3767
|
+
function Bi(e, t) {
|
3768
3768
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3769
|
-
return r[n] =
|
3769
|
+
return r[n] = Ai(e[n], t[n]), r;
|
3770
3770
|
}, v({}, e)) : e;
|
3771
3771
|
}
|
3772
|
-
function
|
3772
|
+
function $e(e) {
|
3773
3773
|
return {
|
3774
3774
|
create: function() {
|
3775
3775
|
return {
|
@@ -3783,39 +3783,39 @@ function Fe(e) {
|
|
3783
3783
|
}
|
3784
3784
|
};
|
3785
3785
|
}
|
3786
|
-
function
|
3786
|
+
function Pi(e) {
|
3787
3787
|
return e === void 0 && (e = {
|
3788
3788
|
number: {},
|
3789
3789
|
dateTime: {},
|
3790
3790
|
pluralRules: {}
|
3791
3791
|
}), {
|
3792
|
-
getNumberFormat:
|
3792
|
+
getNumberFormat: Ue(function() {
|
3793
3793
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3794
3794
|
r[n] = arguments[n];
|
3795
3795
|
return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
|
3796
3796
|
}, {
|
3797
|
-
cache:
|
3798
|
-
strategy:
|
3797
|
+
cache: $e(e.number),
|
3798
|
+
strategy: De.variadic
|
3799
3799
|
}),
|
3800
|
-
getDateTimeFormat:
|
3800
|
+
getDateTimeFormat: Ue(function() {
|
3801
3801
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3802
3802
|
r[n] = arguments[n];
|
3803
3803
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
|
3804
3804
|
}, {
|
3805
|
-
cache:
|
3806
|
-
strategy:
|
3805
|
+
cache: $e(e.dateTime),
|
3806
|
+
strategy: De.variadic
|
3807
3807
|
}),
|
3808
|
-
getPluralRules:
|
3808
|
+
getPluralRules: Ue(function() {
|
3809
3809
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3810
3810
|
r[n] = arguments[n];
|
3811
3811
|
return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
|
3812
3812
|
}, {
|
3813
|
-
cache:
|
3814
|
-
strategy:
|
3813
|
+
cache: $e(e.pluralRules),
|
3814
|
+
strategy: De.variadic
|
3815
3815
|
})
|
3816
3816
|
};
|
3817
3817
|
}
|
3818
|
-
var
|
3818
|
+
var Ni = (
|
3819
3819
|
/** @class */
|
3820
3820
|
function() {
|
3821
3821
|
function e(t, r, n, i) {
|
@@ -3830,11 +3830,11 @@ var Oi = (
|
|
3830
3830
|
if (u.length === 1)
|
3831
3831
|
return u[0].value;
|
3832
3832
|
var l = u.reduce(function(m, c) {
|
3833
|
-
return !m.length || c.type !==
|
3833
|
+
return !m.length || c.type !== H.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
|
3834
3834
|
}, []);
|
3835
3835
|
return l.length <= 1 ? l[0] || "" : l;
|
3836
3836
|
}, this.formatToParts = function(h) {
|
3837
|
-
return
|
3837
|
+
return xe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
3838
3838
|
}, this.resolvedOptions = function() {
|
3839
3839
|
var h;
|
3840
3840
|
return {
|
@@ -3847,13 +3847,13 @@ var Oi = (
|
|
3847
3847
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3848
3848
|
var o = i || {};
|
3849
3849
|
o.formatters;
|
3850
|
-
var a =
|
3850
|
+
var a = un(o, ["formatters"]);
|
3851
3851
|
this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
|
3852
3852
|
} else
|
3853
3853
|
this.ast = t;
|
3854
3854
|
if (!Array.isArray(this.ast))
|
3855
3855
|
throw new TypeError("A message must be provided as a String or AST.");
|
3856
|
-
this.formats =
|
3856
|
+
this.formats = Bi(e.formats, n), this.formatters = i && i.formatters || Pi(this.formatterCache);
|
3857
3857
|
}
|
3858
3858
|
return Object.defineProperty(e, "defaultLocale", {
|
3859
3859
|
get: function() {
|
@@ -3866,7 +3866,7 @@ var Oi = (
|
|
3866
3866
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3867
3867
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3868
3868
|
}
|
3869
|
-
}, e.__parse =
|
3869
|
+
}, e.__parse = xi, e.formats = {
|
3870
3870
|
number: {
|
3871
3871
|
integer: {
|
3872
3872
|
maximumFractionDigits: 0
|
@@ -3927,7 +3927,7 @@ var Oi = (
|
|
3927
3927
|
}, e;
|
3928
3928
|
}()
|
3929
3929
|
);
|
3930
|
-
function
|
3930
|
+
function Oi(e, t) {
|
3931
3931
|
if (t == null)
|
3932
3932
|
return;
|
3933
3933
|
if (t in e)
|
@@ -3948,92 +3948,92 @@ function Li(e, t) {
|
|
3948
3948
|
n = void 0;
|
3949
3949
|
return n;
|
3950
3950
|
}
|
3951
|
-
const
|
3951
|
+
const F = {}, Li = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), yr = (e, t) => {
|
3952
3952
|
if (t == null)
|
3953
3953
|
return;
|
3954
|
-
if (t in
|
3955
|
-
return
|
3956
|
-
const r =
|
3954
|
+
if (t in F && e in F[t])
|
3955
|
+
return F[t][e];
|
3956
|
+
const r = Ne(t);
|
3957
3957
|
for (let n = 0; n < r.length; n++) {
|
3958
|
-
const i = r[n], s =
|
3958
|
+
const i = r[n], s = Ci(i, e);
|
3959
3959
|
if (s)
|
3960
|
-
return
|
3960
|
+
return Li(e, t, s);
|
3961
3961
|
}
|
3962
3962
|
};
|
3963
|
-
let
|
3964
|
-
const de =
|
3963
|
+
let ot;
|
3964
|
+
const de = Be({});
|
3965
3965
|
function Ii(e) {
|
3966
|
-
return
|
3966
|
+
return ot[e] || null;
|
3967
3967
|
}
|
3968
|
-
function
|
3969
|
-
return e in
|
3968
|
+
function vr(e) {
|
3969
|
+
return e in ot;
|
3970
3970
|
}
|
3971
|
-
function
|
3972
|
-
if (!
|
3971
|
+
function Ci(e, t) {
|
3972
|
+
if (!vr(e))
|
3973
3973
|
return null;
|
3974
3974
|
const r = Ii(e);
|
3975
|
-
return
|
3975
|
+
return Oi(r, t);
|
3976
3976
|
}
|
3977
|
-
function
|
3977
|
+
function Mi(e) {
|
3978
3978
|
if (e == null)
|
3979
3979
|
return;
|
3980
|
-
const t =
|
3980
|
+
const t = Ne(e);
|
3981
3981
|
for (let r = 0; r < t.length; r++) {
|
3982
3982
|
const n = t[r];
|
3983
|
-
if (
|
3983
|
+
if (vr(n))
|
3984
3984
|
return n;
|
3985
3985
|
}
|
3986
3986
|
}
|
3987
|
-
function
|
3988
|
-
delete
|
3987
|
+
function Er(e, ...t) {
|
3988
|
+
delete F[e], de.update((r) => (r[e] = Dn.all([r[e] || {}, ...t]), r));
|
3989
3989
|
}
|
3990
|
-
|
3990
|
+
se(
|
3991
3991
|
[de],
|
3992
3992
|
([e]) => Object.keys(e)
|
3993
3993
|
);
|
3994
|
-
de.subscribe((e) =>
|
3995
|
-
const
|
3996
|
-
function
|
3997
|
-
|
3994
|
+
de.subscribe((e) => ot = e);
|
3995
|
+
const Se = {};
|
3996
|
+
function Ri(e, t) {
|
3997
|
+
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
3998
3998
|
}
|
3999
|
-
function
|
4000
|
-
return
|
3999
|
+
function _r(e) {
|
4000
|
+
return Se[e];
|
4001
4001
|
}
|
4002
|
-
function
|
4003
|
-
return
|
4004
|
-
const r =
|
4002
|
+
function Gi(e) {
|
4003
|
+
return Ne(e).map((t) => {
|
4004
|
+
const r = _r(t);
|
4005
4005
|
return [t, r ? [...r] : []];
|
4006
4006
|
}).filter(([, t]) => t.length > 0);
|
4007
4007
|
}
|
4008
|
-
function
|
4009
|
-
return e == null ? !1 :
|
4008
|
+
function nt(e) {
|
4009
|
+
return e == null ? !1 : Ne(e).some(
|
4010
4010
|
(t) => {
|
4011
4011
|
var r;
|
4012
|
-
return (r =
|
4012
|
+
return (r = _r(t)) == null ? void 0 : r.size;
|
4013
4013
|
}
|
4014
4014
|
);
|
4015
4015
|
}
|
4016
|
-
function
|
4016
|
+
function Ui(e, t) {
|
4017
4017
|
return Promise.all(
|
4018
|
-
t.map((n) => (
|
4019
|
-
).then((n) =>
|
4020
|
-
}
|
4021
|
-
const
|
4022
|
-
function
|
4023
|
-
if (!
|
4024
|
-
return e in
|
4025
|
-
const t =
|
4026
|
-
return
|
4018
|
+
t.map((n) => (Ri(e, n), n().then((i) => i.default || i)))
|
4019
|
+
).then((n) => Er(e, ...n));
|
4020
|
+
}
|
4021
|
+
const ae = {};
|
4022
|
+
function xr(e) {
|
4023
|
+
if (!nt(e))
|
4024
|
+
return e in ae ? ae[e] : Promise.resolve();
|
4025
|
+
const t = Gi(e);
|
4026
|
+
return ae[e] = Promise.all(
|
4027
4027
|
t.map(
|
4028
|
-
([r, n]) =>
|
4028
|
+
([r, n]) => Ui(r, n)
|
4029
4029
|
)
|
4030
4030
|
).then(() => {
|
4031
|
-
if (
|
4032
|
-
return
|
4033
|
-
delete
|
4034
|
-
}),
|
4031
|
+
if (nt(e))
|
4032
|
+
return xr(e);
|
4033
|
+
delete ae[e];
|
4034
|
+
}), ae[e];
|
4035
4035
|
}
|
4036
|
-
const
|
4036
|
+
const Di = {
|
4037
4037
|
number: {
|
4038
4038
|
scientific: { notation: "scientific" },
|
4039
4039
|
engineering: { notation: "engineering" },
|
@@ -4062,135 +4062,135 @@ const Fi = {
|
|
4062
4062
|
timeZoneName: "short"
|
4063
4063
|
}
|
4064
4064
|
}
|
4065
|
-
},
|
4065
|
+
}, Fi = {
|
4066
4066
|
fallbackLocale: null,
|
4067
4067
|
loadingDelay: 200,
|
4068
|
-
formats:
|
4068
|
+
formats: Di,
|
4069
4069
|
warnOnMissingMessages: !0,
|
4070
4070
|
handleMissingMessage: void 0,
|
4071
4071
|
ignoreTag: !0
|
4072
|
-
},
|
4073
|
-
function
|
4074
|
-
return
|
4072
|
+
}, $i = Fi;
|
4073
|
+
function re() {
|
4074
|
+
return $i;
|
4075
4075
|
}
|
4076
|
-
const
|
4077
|
-
var
|
4076
|
+
const je = Be(!1);
|
4077
|
+
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) => {
|
4078
4078
|
for (var r in t || (t = {}))
|
4079
|
-
|
4079
|
+
Xi.call(t, r) && Mt(e, r, t[r]);
|
4080
4080
|
if (Ct)
|
4081
4081
|
for (var r of Ct(t))
|
4082
|
-
|
4082
|
+
Wi.call(t, r) && Mt(e, r, t[r]);
|
4083
4083
|
return e;
|
4084
|
-
},
|
4085
|
-
let
|
4086
|
-
const
|
4087
|
-
function
|
4084
|
+
}, Zi = (e, t) => ki(e, Vi(t));
|
4085
|
+
let it;
|
4086
|
+
const we = Be(null);
|
4087
|
+
function Rt(e) {
|
4088
4088
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4089
4089
|
}
|
4090
|
-
function
|
4091
|
-
const r =
|
4092
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
4090
|
+
function Ne(e, t = re().fallbackLocale) {
|
4091
|
+
const r = Rt(e);
|
4092
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
|
4093
4093
|
}
|
4094
4094
|
function X() {
|
4095
|
-
return
|
4095
|
+
return it != null ? it : void 0;
|
4096
4096
|
}
|
4097
|
-
|
4098
|
-
|
4097
|
+
we.subscribe((e) => {
|
4098
|
+
it = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
4099
4099
|
});
|
4100
|
-
const
|
4101
|
-
if (e &&
|
4102
|
-
const { loadingDelay: t } =
|
4100
|
+
const Qi = (e) => {
|
4101
|
+
if (e && Mi(e) && nt(e)) {
|
4102
|
+
const { loadingDelay: t } = re();
|
4103
4103
|
let r;
|
4104
4104
|
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
4105
|
-
() =>
|
4105
|
+
() => je.set(!0),
|
4106
4106
|
t
|
4107
|
-
) :
|
4108
|
-
|
4107
|
+
) : je.set(!0), xr(e).then(() => {
|
4108
|
+
we.set(e);
|
4109
4109
|
}).finally(() => {
|
4110
|
-
clearTimeout(r),
|
4110
|
+
clearTimeout(r), je.set(!1);
|
4111
4111
|
});
|
4112
4112
|
}
|
4113
|
-
return
|
4114
|
-
}, be =
|
4115
|
-
set:
|
4116
|
-
}),
|
4113
|
+
return we.set(e);
|
4114
|
+
}, be = Zi(zi({}, we), {
|
4115
|
+
set: Qi
|
4116
|
+
}), Oe = (e) => {
|
4117
4117
|
const t = /* @__PURE__ */ Object.create(null);
|
4118
4118
|
return (n) => {
|
4119
4119
|
const i = JSON.stringify(n);
|
4120
4120
|
return i in t ? t[i] : t[i] = e(n);
|
4121
4121
|
};
|
4122
4122
|
};
|
4123
|
-
var
|
4123
|
+
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) => {
|
4124
4124
|
for (var r in t || (t = {}))
|
4125
|
-
|
4125
|
+
Sr.call(t, r) && Gt(e, r, t[r]);
|
4126
4126
|
if (Te)
|
4127
4127
|
for (var r of Te(t))
|
4128
|
-
|
4128
|
+
wr.call(t, r) && Gt(e, r, t[r]);
|
4129
4129
|
return e;
|
4130
|
-
},
|
4130
|
+
}, oe = (e, t) => {
|
4131
4131
|
var r = {};
|
4132
4132
|
for (var n in e)
|
4133
|
-
|
4133
|
+
Sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4134
4134
|
if (e != null && Te)
|
4135
4135
|
for (var n of Te(e))
|
4136
|
-
t.indexOf(n) < 0 &&
|
4136
|
+
t.indexOf(n) < 0 && wr.call(e, n) && (r[n] = e[n]);
|
4137
4137
|
return r;
|
4138
4138
|
};
|
4139
|
-
const
|
4140
|
-
const { formats: r } =
|
4139
|
+
const ce = (e, t) => {
|
4140
|
+
const { formats: r } = re();
|
4141
4141
|
if (e in r && t in r[e])
|
4142
4142
|
return r[e][t];
|
4143
4143
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4144
|
-
},
|
4144
|
+
}, qi = Oe(
|
4145
4145
|
(e) => {
|
4146
|
-
var t = e, { locale: r, format: n } = t, i =
|
4146
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
4147
4147
|
if (r == null)
|
4148
4148
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4149
|
-
return n && (i =
|
4149
|
+
return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
|
4150
4150
|
}
|
4151
|
-
),
|
4151
|
+
), Ji = Oe(
|
4152
4152
|
(e) => {
|
4153
|
-
var t = e, { locale: r, format: n } = t, i =
|
4153
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
4154
4154
|
if (r == null)
|
4155
4155
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4156
|
-
return n ? i =
|
4156
|
+
return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
|
4157
4157
|
}
|
4158
|
-
),
|
4158
|
+
), Ki = Oe(
|
4159
4159
|
(e) => {
|
4160
|
-
var t = e, { locale: r, format: n } = t, i =
|
4160
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
4161
4161
|
if (r == null)
|
4162
4162
|
throw new Error(
|
4163
4163
|
'[svelte-i18n] A "locale" must be set to format time values'
|
4164
4164
|
);
|
4165
|
-
return n ? i =
|
4165
|
+
return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
|
4166
4166
|
}
|
4167
|
-
),
|
4167
|
+
), es = (e = {}) => {
|
4168
4168
|
var t = e, {
|
4169
4169
|
locale: r = X()
|
4170
|
-
} = t, n =
|
4170
|
+
} = t, n = oe(t, [
|
4171
4171
|
"locale"
|
4172
4172
|
]);
|
4173
|
-
return
|
4174
|
-
},
|
4173
|
+
return qi(at({ locale: r }, n));
|
4174
|
+
}, ts = (e = {}) => {
|
4175
4175
|
var t = e, {
|
4176
4176
|
locale: r = X()
|
4177
|
-
} = t, n =
|
4177
|
+
} = t, n = oe(t, [
|
4178
4178
|
"locale"
|
4179
4179
|
]);
|
4180
|
-
return
|
4181
|
-
},
|
4180
|
+
return Ji(at({ locale: r }, n));
|
4181
|
+
}, rs = (e = {}) => {
|
4182
4182
|
var t = e, {
|
4183
4183
|
locale: r = X()
|
4184
|
-
} = t, n =
|
4184
|
+
} = t, n = oe(t, [
|
4185
4185
|
"locale"
|
4186
4186
|
]);
|
4187
|
-
return
|
4188
|
-
},
|
4187
|
+
return Ki(at({ locale: r }, n));
|
4188
|
+
}, ns = Oe(
|
4189
4189
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4190
|
-
(e, t = X()) => new
|
4191
|
-
ignoreTag:
|
4190
|
+
(e, t = X()) => new Ni(e, t, re().formats, {
|
4191
|
+
ignoreTag: re().ignoreTag
|
4192
4192
|
})
|
4193
|
-
),
|
4193
|
+
), is = (e, t = {}) => {
|
4194
4194
|
var r, n, i, s;
|
4195
4195
|
let o = t;
|
4196
4196
|
typeof e == "object" && (o = e, e = o.id);
|
@@ -4203,9 +4203,9 @@ const fe = (e, t) => {
|
|
4203
4203
|
throw new Error(
|
4204
4204
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4205
4205
|
);
|
4206
|
-
let l =
|
4206
|
+
let l = yr(e, h);
|
4207
4207
|
if (!l)
|
4208
|
-
l = (s = (i = (n = (r =
|
4208
|
+
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;
|
4209
4209
|
else if (typeof l != "string")
|
4210
4210
|
return console.warn(
|
4211
4211
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
@@ -4214,7 +4214,7 @@ const fe = (e, t) => {
|
|
4214
4214
|
return l;
|
4215
4215
|
let m = l;
|
4216
4216
|
try {
|
4217
|
-
m =
|
4217
|
+
m = ns(l, h).format(a);
|
4218
4218
|
} catch (c) {
|
4219
4219
|
c instanceof Error && console.warn(
|
4220
4220
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
@@ -4222,17 +4222,40 @@ const fe = (e, t) => {
|
|
4222
4222
|
);
|
4223
4223
|
}
|
4224
4224
|
return m;
|
4225
|
-
},
|
4226
|
-
|
4227
|
-
|
4228
|
-
|
4229
|
-
|
4230
|
-
window.emWidgets = { topic:
|
4231
|
-
const
|
4232
|
-
function
|
4233
|
-
|
4234
|
-
|
4235
|
-
|
4225
|
+
}, 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);
|
4226
|
+
se([be], () => ss);
|
4227
|
+
se([be], () => os);
|
4228
|
+
se([be], () => as);
|
4229
|
+
se([be, de], () => us);
|
4230
|
+
window.emWidgets = { topic: xn };
|
4231
|
+
const ls = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4232
|
+
function cs(e, t) {
|
4233
|
+
if (e) {
|
4234
|
+
const r = document.createElement("style");
|
4235
|
+
r.innerHTML = t, e.appendChild(r);
|
4236
|
+
}
|
4237
|
+
}
|
4238
|
+
function fs(e, t) {
|
4239
|
+
const r = new URL(t);
|
4240
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
4241
|
+
const i = document.createElement("style");
|
4242
|
+
i.innerHTML = n, e && e.appendChild(i);
|
4243
|
+
}).catch((n) => {
|
4244
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
4245
|
+
});
|
4246
|
+
}
|
4247
|
+
function ms(e, t, r) {
|
4248
|
+
if (window.emMessageBus) {
|
4249
|
+
const n = document.createElement("style");
|
4250
|
+
window.emMessageBus.subscribe(t, (i) => {
|
4251
|
+
n.innerHTML = i, e && e.appendChild(n);
|
4252
|
+
});
|
4253
|
+
}
|
4254
|
+
}
|
4255
|
+
function Ut(e, t) {
|
4256
|
+
Er(e, t);
|
4257
|
+
}
|
4258
|
+
const Dt = {
|
4236
4259
|
en: {
|
4237
4260
|
lobbyName: "Lobby",
|
4238
4261
|
myGamesName: "My games"
|
@@ -4318,14 +4341,14 @@ if (typeof window != "undefined") {
|
|
4318
4341
|
}
|
4319
4342
|
};
|
4320
4343
|
};
|
4321
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
4344
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-EFId2L7-.js").then(({ default: t }) => {
|
4322
4345
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
4323
4346
|
});
|
4324
4347
|
}
|
4325
|
-
function
|
4326
|
-
|
4348
|
+
function ds(e) {
|
4349
|
+
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))}");
|
4327
4350
|
}
|
4328
|
-
function
|
4351
|
+
function bs(e) {
|
4329
4352
|
let t, r, n, i;
|
4330
4353
|
return {
|
4331
4354
|
c() {
|
@@ -4344,11 +4367,11 @@ function ms(e) {
|
|
4344
4367
|
"endpoint",
|
4345
4368
|
/*endpoint*/
|
4346
4369
|
e[1]
|
4347
|
-
), E(r, "identity",
|
4370
|
+
), E(r, "identity", st), E(
|
4348
4371
|
r,
|
4349
4372
|
"favoritesnumber",
|
4350
4373
|
/*numberOfFavoredGames*/
|
4351
|
-
e[
|
4374
|
+
e[16]
|
4352
4375
|
), E(
|
4353
4376
|
r,
|
4354
4377
|
"showsubgroups",
|
@@ -4364,6 +4387,11 @@ function ms(e) {
|
|
4364
4387
|
"clientstylingurl",
|
4365
4388
|
/*clientstylingurl*/
|
4366
4389
|
e[5]
|
4390
|
+
), E(
|
4391
|
+
r,
|
4392
|
+
"mbsource",
|
4393
|
+
/*mbsource*/
|
4394
|
+
e[12]
|
4367
4395
|
), E(
|
4368
4396
|
r,
|
4369
4397
|
"activeindex",
|
@@ -4394,12 +4422,12 @@ function ms(e) {
|
|
4394
4422
|
"mygamesiconimage",
|
4395
4423
|
/*mygamesiconimage*/
|
4396
4424
|
e[11]
|
4397
|
-
),
|
4425
|
+
), me(t, "class", "CasinoCategoriesContainer svelte-2g6deg");
|
4398
4426
|
},
|
4399
4427
|
m(s, o) {
|
4400
|
-
|
4428
|
+
fe(s, t, o), kt(t, r), n || (i = jr(
|
4401
4429
|
/*sendSliderData*/
|
4402
|
-
e[
|
4430
|
+
e[17].call(null, r)
|
4403
4431
|
), n = !0);
|
4404
4432
|
},
|
4405
4433
|
p(s, o) {
|
@@ -4422,11 +4450,11 @@ function ms(e) {
|
|
4422
4450
|
/*endpoint*/
|
4423
4451
|
s[1]
|
4424
4452
|
), o[0] & /*numberOfFavoredGames*/
|
4425
|
-
|
4453
|
+
65536 && E(
|
4426
4454
|
r,
|
4427
4455
|
"favoritesnumber",
|
4428
4456
|
/*numberOfFavoredGames*/
|
4429
|
-
s[
|
4457
|
+
s[16]
|
4430
4458
|
), o[0] & /*showsubgroups*/
|
4431
4459
|
256 && E(
|
4432
4460
|
r,
|
@@ -4445,6 +4473,12 @@ function ms(e) {
|
|
4445
4473
|
"clientstylingurl",
|
4446
4474
|
/*clientstylingurl*/
|
4447
4475
|
s[5]
|
4476
|
+
), o[0] & /*mbsource*/
|
4477
|
+
4096 && E(
|
4478
|
+
r,
|
4479
|
+
"mbsource",
|
4480
|
+
/*mbsource*/
|
4481
|
+
s[12]
|
4448
4482
|
), o[0] & /*activecategory*/
|
4449
4483
|
1 && E(
|
4450
4484
|
r,
|
@@ -4484,48 +4518,48 @@ function ms(e) {
|
|
4484
4518
|
);
|
4485
4519
|
},
|
4486
4520
|
d(s) {
|
4487
|
-
s &&
|
4521
|
+
s && ie(t), n = !1, i();
|
4488
4522
|
}
|
4489
4523
|
};
|
4490
4524
|
}
|
4491
|
-
function
|
4525
|
+
function ps(e) {
|
4492
4526
|
let t;
|
4493
4527
|
return {
|
4494
4528
|
c() {
|
4495
|
-
t = V("p"), t.textContent = "500 Error - Internal Server Error.",
|
4529
|
+
t = V("p"), t.textContent = "500 Error - Internal Server Error.", me(t, "class", "SearchLoading svelte-2g6deg");
|
4496
4530
|
},
|
4497
4531
|
m(r, n) {
|
4498
|
-
|
4532
|
+
fe(r, t, n);
|
4499
4533
|
},
|
4500
|
-
p:
|
4534
|
+
p: P,
|
4501
4535
|
d(r) {
|
4502
|
-
r &&
|
4536
|
+
r && ie(t);
|
4503
4537
|
}
|
4504
4538
|
};
|
4505
4539
|
}
|
4506
|
-
function
|
4540
|
+
function gs(e) {
|
4507
4541
|
let t;
|
4508
4542
|
return {
|
4509
4543
|
c() {
|
4510
|
-
t = V("div"),
|
4544
|
+
t = V("div"), me(t, "class", "CasinoCategoriesLoading svelte-2g6deg");
|
4511
4545
|
},
|
4512
4546
|
m(r, n) {
|
4513
|
-
|
4547
|
+
fe(r, t, n);
|
4514
4548
|
},
|
4515
|
-
p:
|
4549
|
+
p: P,
|
4516
4550
|
d(r) {
|
4517
|
-
r &&
|
4551
|
+
r && ie(t);
|
4518
4552
|
}
|
4519
4553
|
};
|
4520
4554
|
}
|
4521
|
-
function
|
4555
|
+
function ys(e) {
|
4522
4556
|
let t;
|
4523
4557
|
function r(s, o) {
|
4524
4558
|
return (
|
4525
4559
|
/*isLoading*/
|
4526
|
-
s[
|
4560
|
+
s[13] || vs || Es ? gs : (
|
4527
4561
|
/*hasErrors*/
|
4528
|
-
s[
|
4562
|
+
s[15] ? ps : bs
|
4529
4563
|
)
|
4530
4564
|
);
|
4531
4565
|
}
|
@@ -4535,117 +4569,105 @@ function ps(e) {
|
|
4535
4569
|
t = V("div"), i.c();
|
4536
4570
|
},
|
4537
4571
|
m(s, o) {
|
4538
|
-
|
4572
|
+
fe(s, t, o), i.m(t, null), e[27](t);
|
4539
4573
|
},
|
4540
4574
|
p(s, o) {
|
4541
4575
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
4542
4576
|
},
|
4543
|
-
i:
|
4544
|
-
o:
|
4577
|
+
i: P,
|
4578
|
+
o: P,
|
4545
4579
|
d(s) {
|
4546
|
-
s &&
|
4580
|
+
s && ie(t), i.d(), e[27](null);
|
4547
4581
|
}
|
4548
4582
|
};
|
4549
4583
|
}
|
4550
|
-
let
|
4551
|
-
function
|
4584
|
+
let st = "CasinoSliderData", vs = !1, Es = !1;
|
4585
|
+
function _s(e, t, r) {
|
4552
4586
|
let n;
|
4553
|
-
|
4554
|
-
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:
|
4555
|
-
const
|
4556
|
-
fetch(
|
4557
|
-
Object.keys(
|
4558
|
-
|
4587
|
+
$r(e, hs, (f) => r(33, n = f));
|
4588
|
+
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: _ = "" } = t, { mbsource: A } = t, I, $, j = !0, W, z = [], k = !1, Hr = window.navigator.userAgent, G, ut, ht = !1, Le = !1;
|
4589
|
+
const Ar = () => {
|
4590
|
+
fetch(O).then((B) => B.json()).then((B) => {
|
4591
|
+
Object.keys(B).forEach((pe) => {
|
4592
|
+
Ut(pe, B[pe]);
|
4559
4593
|
});
|
4560
|
-
}).catch((
|
4561
|
-
console.log(
|
4594
|
+
}).catch((B) => {
|
4595
|
+
console.log(B);
|
4562
4596
|
});
|
4563
4597
|
};
|
4564
|
-
Object.keys(
|
4565
|
-
|
4598
|
+
Object.keys(Dt).forEach((f) => {
|
4599
|
+
Ut(f, Dt[f]);
|
4566
4600
|
});
|
4567
|
-
const
|
4568
|
-
|
4601
|
+
const Br = () => {
|
4602
|
+
ht == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
|
4569
4603
|
// @ts-ignore
|
4570
4604
|
id: "MYGAMES",
|
4571
|
-
name:
|
4605
|
+
name: I,
|
4572
4606
|
href: "",
|
4573
4607
|
games: []
|
4574
|
-
}),
|
4575
|
-
},
|
4576
|
-
if (
|
4608
|
+
}), Yr(), ht = !0, r(26, Le = !0), Ie();
|
4609
|
+
}, 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 = () => {
|
4610
|
+
if (I = n("myGamesName"), $ = n("lobbyName"), !Pr()) {
|
4577
4611
|
let f = new URL(`${i}/v1/casino/groups/${s}`);
|
4578
|
-
f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform",
|
4579
|
-
(
|
4580
|
-
let
|
4612
|
+
f.searchParams.append("datasource", s), f.searchParams.append("language", o), f.searchParams.append("platform", ls(Hr)), fetch(f).then((B) => B.json()).then(
|
4613
|
+
(B) => {
|
4614
|
+
let pe = w.split(","), Ir = B.items.filter((ct) => {
|
4581
4615
|
let Ce = !1;
|
4582
|
-
if (
|
4583
|
-
for (let
|
4584
|
-
|
4616
|
+
if (ct.games.total > 0 && (Ce = !0, w))
|
4617
|
+
for (let Cr of pe)
|
4618
|
+
ct.flags == Cr && (Ce = !1);
|
4585
4619
|
return Ce;
|
4586
4620
|
});
|
4587
4621
|
z = [], z = z.concat(Ir), z.unshift({
|
4588
4622
|
// @ts-ignore
|
4589
4623
|
id: "LOBBY",
|
4590
|
-
name:
|
4624
|
+
name: $,
|
4591
4625
|
href: "",
|
4592
4626
|
games: []
|
4593
|
-
}), r(
|
4627
|
+
}), r(13, j = !1), window.postMessage({ type: "CategoriesLoadedForSlider" }, window.location.href);
|
4594
4628
|
},
|
4595
|
-
(
|
4596
|
-
r(
|
4629
|
+
(B) => {
|
4630
|
+
r(15, k = !0), console.error("There was an error while fetching the categories", B);
|
4597
4631
|
}
|
4598
|
-
).catch((
|
4599
|
-
r(
|
4632
|
+
).catch((B) => {
|
4633
|
+
r(15, k = !0), console.error("There was an error while fetching the categories", B);
|
4600
4634
|
});
|
4601
4635
|
}
|
4602
|
-
},
|
4636
|
+
}, Or = () => {
|
4603
4637
|
let f = b.split("$");
|
4604
4638
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
4605
|
-
},
|
4606
|
-
let f = document.createElement("style");
|
4607
|
-
f.innerHTML = c, k.appendChild(f);
|
4608
|
-
}, Lr = () => {
|
4609
|
-
let f = document.createElement("style"), H = new URL(d);
|
4610
|
-
fetch(H.href).then((F) => F.text()).then((F) => {
|
4611
|
-
f.innerHTML = F, setTimeout(
|
4612
|
-
() => {
|
4613
|
-
k.appendChild(f);
|
4614
|
-
},
|
4615
|
-
1
|
4616
|
-
);
|
4617
|
-
});
|
4618
|
-
}, Le = () => {
|
4639
|
+
}, Ie = () => {
|
4619
4640
|
window.postMessage(
|
4620
4641
|
{
|
4621
4642
|
type: "SliderData",
|
4622
|
-
identity:
|
4643
|
+
identity: st,
|
4623
4644
|
data: z
|
4624
4645
|
},
|
4625
4646
|
window.location.href
|
4626
4647
|
);
|
4627
|
-
},
|
4628
|
-
f.data && f.data.type == "SliderLoaded" &&
|
4648
|
+
}, lt = (f) => {
|
4649
|
+
f.data && f.data.type == "SliderLoaded" && st == f.data.identity && Ie();
|
4629
4650
|
};
|
4630
|
-
|
4631
|
-
window.removeEventListener("message",
|
4651
|
+
Qr(() => (window.addEventListener("message", lt, !1), () => {
|
4652
|
+
window.removeEventListener("message", lt);
|
4632
4653
|
}));
|
4633
|
-
function
|
4634
|
-
|
4635
|
-
|
4654
|
+
function Lr(f) {
|
4655
|
+
ke[f ? "unshift" : "push"](() => {
|
4656
|
+
G = f, r(14, G);
|
4636
4657
|
});
|
4637
4658
|
}
|
4638
4659
|
return e.$$set = (f) => {
|
4639
|
-
"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(
|
4660
|
+
"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, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
|
4640
4661
|
}, e.$$.update = () => {
|
4641
4662
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
4642
|
-
14 && i && s && o &&
|
4643
|
-
|
4644
|
-
|
4645
|
-
|
4646
|
-
|
4647
|
-
|
4648
|
-
|
4663
|
+
14 && i && s && o && Nr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
4664
|
+
7872514 && i && h && (u || l || m) && !j && Br(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
4665
|
+
67641345 && !j && b && (!h || Le) && Or(), e.$$.dirty[0] & /*translationurl*/
|
4666
|
+
33554432 && O && Ar(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4667
|
+
16400 && c && G && cs(G, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4668
|
+
16416 && d && G && fs(G, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4669
|
+
20480 && G && ms(G, `${A}.Style`);
|
4670
|
+
}, r(16, ut = 0), [
|
4649
4671
|
b,
|
4650
4672
|
i,
|
4651
4673
|
s,
|
@@ -4653,59 +4675,61 @@ function vs(e, t, r) {
|
|
4653
4675
|
c,
|
4654
4676
|
d,
|
4655
4677
|
y,
|
4656
|
-
|
4657
|
-
|
4658
|
-
|
4659
|
-
|
4678
|
+
C,
|
4679
|
+
N,
|
4680
|
+
L,
|
4681
|
+
R,
|
4660
4682
|
_,
|
4661
|
-
|
4662
|
-
k,
|
4683
|
+
A,
|
4663
4684
|
j,
|
4664
|
-
|
4665
|
-
|
4685
|
+
G,
|
4686
|
+
k,
|
4687
|
+
ut,
|
4688
|
+
Ie,
|
4666
4689
|
a,
|
4667
4690
|
h,
|
4668
4691
|
u,
|
4669
4692
|
l,
|
4670
4693
|
m,
|
4671
|
-
w,
|
4672
4694
|
T,
|
4673
|
-
|
4674
|
-
|
4675
|
-
|
4695
|
+
w,
|
4696
|
+
O,
|
4697
|
+
Le,
|
4698
|
+
Lr
|
4676
4699
|
];
|
4677
4700
|
}
|
4678
|
-
class Tr extends
|
4701
|
+
class Tr extends on {
|
4679
4702
|
constructor(t) {
|
4680
|
-
super(),
|
4703
|
+
super(), nn(
|
4681
4704
|
this,
|
4682
4705
|
t,
|
4683
|
-
|
4684
|
-
|
4685
|
-
|
4706
|
+
_s,
|
4707
|
+
ys,
|
4708
|
+
$t,
|
4686
4709
|
{
|
4687
4710
|
endpoint: 1,
|
4688
4711
|
datasource: 2,
|
4689
4712
|
lang: 3,
|
4690
|
-
userid:
|
4691
|
-
session:
|
4692
|
-
mostplayed:
|
4693
|
-
lastplayed:
|
4694
|
-
favorites:
|
4713
|
+
userid: 18,
|
4714
|
+
session: 19,
|
4715
|
+
mostplayed: 20,
|
4716
|
+
lastplayed: 21,
|
4717
|
+
favorites: 22,
|
4695
4718
|
clientstyling: 4,
|
4696
4719
|
clientstylingurl: 5,
|
4697
4720
|
activecategory: 0,
|
4698
4721
|
actionevent: 6,
|
4699
|
-
sessioncheck:
|
4722
|
+
sessioncheck: 23,
|
4700
4723
|
location: 7,
|
4701
4724
|
showsubgroups: 8,
|
4702
|
-
filteredcategories:
|
4703
|
-
translationurl:
|
4725
|
+
filteredcategories: 24,
|
4726
|
+
translationurl: 25,
|
4704
4727
|
categoriesicon: 9,
|
4705
4728
|
lobbyiconimage: 10,
|
4706
|
-
mygamesiconimage: 11
|
4729
|
+
mygamesiconimage: 11,
|
4730
|
+
mbsource: 12
|
4707
4731
|
},
|
4708
|
-
|
4732
|
+
ds,
|
4709
4733
|
[-1, -1]
|
4710
4734
|
);
|
4711
4735
|
}
|
@@ -4728,31 +4752,31 @@ class Tr extends an {
|
|
4728
4752
|
this.$$set({ lang: t }), S();
|
4729
4753
|
}
|
4730
4754
|
get userid() {
|
4731
|
-
return this.$$.ctx[
|
4755
|
+
return this.$$.ctx[18];
|
4732
4756
|
}
|
4733
4757
|
set userid(t) {
|
4734
4758
|
this.$$set({ userid: t }), S();
|
4735
4759
|
}
|
4736
4760
|
get session() {
|
4737
|
-
return this.$$.ctx[
|
4761
|
+
return this.$$.ctx[19];
|
4738
4762
|
}
|
4739
4763
|
set session(t) {
|
4740
4764
|
this.$$set({ session: t }), S();
|
4741
4765
|
}
|
4742
4766
|
get mostplayed() {
|
4743
|
-
return this.$$.ctx[
|
4767
|
+
return this.$$.ctx[20];
|
4744
4768
|
}
|
4745
4769
|
set mostplayed(t) {
|
4746
4770
|
this.$$set({ mostplayed: t }), S();
|
4747
4771
|
}
|
4748
4772
|
get lastplayed() {
|
4749
|
-
return this.$$.ctx[
|
4773
|
+
return this.$$.ctx[21];
|
4750
4774
|
}
|
4751
4775
|
set lastplayed(t) {
|
4752
4776
|
this.$$set({ lastplayed: t }), S();
|
4753
4777
|
}
|
4754
4778
|
get favorites() {
|
4755
|
-
return this.$$.ctx[
|
4779
|
+
return this.$$.ctx[22];
|
4756
4780
|
}
|
4757
4781
|
set favorites(t) {
|
4758
4782
|
this.$$set({ favorites: t }), S();
|
@@ -4782,7 +4806,7 @@ class Tr extends an {
|
|
4782
4806
|
this.$$set({ actionevent: t }), S();
|
4783
4807
|
}
|
4784
4808
|
get sessioncheck() {
|
4785
|
-
return this.$$.ctx[
|
4809
|
+
return this.$$.ctx[23];
|
4786
4810
|
}
|
4787
4811
|
set sessioncheck(t) {
|
4788
4812
|
this.$$set({ sessioncheck: t }), S();
|
@@ -4800,13 +4824,13 @@ class Tr extends an {
|
|
4800
4824
|
this.$$set({ showsubgroups: t }), S();
|
4801
4825
|
}
|
4802
4826
|
get filteredcategories() {
|
4803
|
-
return this.$$.ctx[
|
4827
|
+
return this.$$.ctx[24];
|
4804
4828
|
}
|
4805
4829
|
set filteredcategories(t) {
|
4806
4830
|
this.$$set({ filteredcategories: t }), S();
|
4807
4831
|
}
|
4808
4832
|
get translationurl() {
|
4809
|
-
return this.$$.ctx[
|
4833
|
+
return this.$$.ctx[25];
|
4810
4834
|
}
|
4811
4835
|
set translationurl(t) {
|
4812
4836
|
this.$$set({ translationurl: t }), S();
|
@@ -4829,40 +4853,49 @@ class Tr extends an {
|
|
4829
4853
|
set mygamesiconimage(t) {
|
4830
4854
|
this.$$set({ mygamesiconimage: t }), S();
|
4831
4855
|
}
|
4856
|
+
get mbsource() {
|
4857
|
+
return this.$$.ctx[12];
|
4858
|
+
}
|
4859
|
+
set mbsource(t) {
|
4860
|
+
this.$$set({ mbsource: t }), S();
|
4861
|
+
}
|
4832
4862
|
}
|
4833
|
-
|
4834
|
-
const
|
4863
|
+
sn(Tr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
4864
|
+
const Ls = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4835
4865
|
__proto__: null,
|
4836
4866
|
default: Tr
|
4837
4867
|
}, Symbol.toStringTag, { value: "Module" }));
|
4838
4868
|
export {
|
4839
4869
|
be as $,
|
4840
|
-
|
4841
|
-
|
4870
|
+
fs as A,
|
4871
|
+
ms as B,
|
4872
|
+
sn as C,
|
4873
|
+
Ls as D,
|
4874
|
+
on as S,
|
4842
4875
|
de as a,
|
4843
|
-
|
4844
|
-
|
4845
|
-
|
4846
|
-
|
4876
|
+
Er as b,
|
4877
|
+
kr as c,
|
4878
|
+
ie as d,
|
4879
|
+
me as e,
|
4847
4880
|
S as f,
|
4848
|
-
|
4849
|
-
|
4850
|
-
|
4881
|
+
fe as g,
|
4882
|
+
kt as h,
|
4883
|
+
nn as i,
|
4851
4884
|
V as j,
|
4852
|
-
|
4853
|
-
|
4854
|
-
|
4855
|
-
|
4856
|
-
|
4857
|
-
|
4858
|
-
|
4859
|
-
|
4860
|
-
|
4861
|
-
|
4862
|
-
|
4863
|
-
|
4864
|
-
|
4865
|
-
|
4866
|
-
|
4867
|
-
|
4885
|
+
Ts as k,
|
4886
|
+
As as l,
|
4887
|
+
Ps as m,
|
4888
|
+
P as n,
|
4889
|
+
Qr as o,
|
4890
|
+
Hs as p,
|
4891
|
+
ke as q,
|
4892
|
+
ne as r,
|
4893
|
+
$t as s,
|
4894
|
+
Ss as t,
|
4895
|
+
Os as u,
|
4896
|
+
Bs as v,
|
4897
|
+
Vt as w,
|
4898
|
+
ws as x,
|
4899
|
+
Ns as y,
|
4900
|
+
cs as z
|
4868
4901
|
};
|