@everymatrix/casino-random-game 1.77.20 → 1.77.21
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/{CasinoRandomGame-ByCdDwkD.js → CasinoRandomGame-BCx6_mSm.js} +799 -756
- package/components/CasinoRandomGame-CIt395QJ.cjs +19 -0
- package/components/{CasinoRandomGame-YGA85kwE.js → CasinoRandomGame-DGqtZD9p.js} +805 -762
- package/es2015/casino-random-game.cjs +1 -1
- package/es2015/casino-random-game.js +1 -1
- package/esnext/casino-random-game.js +1 -1
- package/package.json +1 -1
- package/components/CasinoRandomGame-TZXxfhwD.cjs +0 -19
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Zr = Object.defineProperty, Qr = Object.defineProperties;
|
|
2
|
+
var Yr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var yt = Object.getOwnPropertySymbols;
|
|
4
|
+
var qr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var $e = (e, t, r) => t in e ? Zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, vt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
qr.call(t, r) && $e(e, r, t[r]);
|
|
8
|
+
if (yt)
|
|
9
|
+
for (var r of yt(t))
|
|
10
|
+
Kr.call(t, r) && $e(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var N = (e, t, r) => (
|
|
12
|
+
}, _t = (e, t) => Qr(e, Yr(t));
|
|
13
|
+
var N = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
14
|
var ye = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (h) => {
|
|
16
16
|
try {
|
|
@@ -27,9 +27,9 @@ var ye = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, s = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, a);
|
|
28
28
|
s((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function G() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function en(e, t) {
|
|
33
33
|
for (const r in t)
|
|
34
34
|
e[r] = t[r];
|
|
35
35
|
return (
|
|
@@ -37,50 +37,50 @@ function Zr(e, t) {
|
|
|
37
37
|
e
|
|
38
38
|
);
|
|
39
39
|
}
|
|
40
|
-
function
|
|
40
|
+
function qt(e) {
|
|
41
41
|
return e();
|
|
42
42
|
}
|
|
43
|
-
function
|
|
43
|
+
function xt() {
|
|
44
44
|
return /* @__PURE__ */ Object.create(null);
|
|
45
45
|
}
|
|
46
46
|
function J(e) {
|
|
47
|
-
e.forEach(
|
|
47
|
+
e.forEach(qt);
|
|
48
48
|
}
|
|
49
|
-
function
|
|
49
|
+
function ft(e) {
|
|
50
50
|
return typeof e == "function";
|
|
51
51
|
}
|
|
52
|
-
function
|
|
52
|
+
function Kt(e, t) {
|
|
53
53
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
54
54
|
}
|
|
55
55
|
let ve;
|
|
56
|
-
function
|
|
56
|
+
function Et(e, t) {
|
|
57
57
|
return e === t ? !0 : (ve || (ve = document.createElement("a")), ve.href = t, e === ve.href);
|
|
58
58
|
}
|
|
59
|
-
function
|
|
59
|
+
function tn(e) {
|
|
60
60
|
return Object.keys(e).length === 0;
|
|
61
61
|
}
|
|
62
|
-
function
|
|
62
|
+
function er(e, ...t) {
|
|
63
63
|
if (e == null) {
|
|
64
64
|
for (const n of t)
|
|
65
65
|
n(void 0);
|
|
66
|
-
return
|
|
66
|
+
return G;
|
|
67
67
|
}
|
|
68
68
|
const r = e.subscribe(...t);
|
|
69
69
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
70
70
|
}
|
|
71
|
-
function
|
|
72
|
-
e.$$.on_destroy.push(
|
|
71
|
+
function rn(e, t, r) {
|
|
72
|
+
e.$$.on_destroy.push(er(t, r));
|
|
73
73
|
}
|
|
74
|
-
function
|
|
74
|
+
function nn(e, t, r, n) {
|
|
75
75
|
if (e) {
|
|
76
|
-
const i =
|
|
76
|
+
const i = tr(e, t, r, n);
|
|
77
77
|
return e[0](i);
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
81
|
-
return e[1] && n ?
|
|
80
|
+
function tr(e, t, r, n) {
|
|
81
|
+
return e[1] && n ? en(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
82
82
|
}
|
|
83
|
-
function
|
|
83
|
+
function on(e, t, r, n) {
|
|
84
84
|
if (e[2] && n) {
|
|
85
85
|
const i = e[2](n(r));
|
|
86
86
|
if (t.dirty === void 0)
|
|
@@ -95,13 +95,13 @@ function Kr(e, t, r, n) {
|
|
|
95
95
|
}
|
|
96
96
|
return t.dirty;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function an(e, t, r, n, i, o) {
|
|
99
99
|
if (i) {
|
|
100
|
-
const a =
|
|
100
|
+
const a = tr(t, r, n, o);
|
|
101
101
|
e.p(a, i);
|
|
102
102
|
}
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function sn(e) {
|
|
105
105
|
if (e.ctx.length > 32) {
|
|
106
106
|
const t = [], r = e.ctx.length / 32;
|
|
107
107
|
for (let n = 0; n < r; n++)
|
|
@@ -110,17 +110,17 @@ function tn(e) {
|
|
|
110
110
|
}
|
|
111
111
|
return -1;
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function _(e, t) {
|
|
114
114
|
e.appendChild(t);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
117
|
-
const n =
|
|
116
|
+
function un(e, t, r) {
|
|
117
|
+
const n = ln(e);
|
|
118
118
|
if (!n.getElementById(t)) {
|
|
119
|
-
const i =
|
|
120
|
-
i.id = t, i.textContent = r,
|
|
119
|
+
const i = w("style");
|
|
120
|
+
i.id = t, i.textContent = r, hn(n, i);
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function ln(e) {
|
|
124
124
|
if (!e)
|
|
125
125
|
return document;
|
|
126
126
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -130,8 +130,8 @@ function nn(e) {
|
|
|
130
130
|
t
|
|
131
131
|
) : e.ownerDocument;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
return
|
|
133
|
+
function hn(e, t) {
|
|
134
|
+
return _(
|
|
135
135
|
/** @type {Document} */
|
|
136
136
|
e.head || e,
|
|
137
137
|
t
|
|
@@ -140,17 +140,17 @@ function on(e, t) {
|
|
|
140
140
|
function I(e, t, r) {
|
|
141
141
|
e.insertBefore(t, r || null);
|
|
142
142
|
}
|
|
143
|
-
function
|
|
143
|
+
function O(e) {
|
|
144
144
|
e.parentNode && e.parentNode.removeChild(e);
|
|
145
145
|
}
|
|
146
|
-
function
|
|
146
|
+
function cn(e, t) {
|
|
147
147
|
for (let r = 0; r < e.length; r += 1)
|
|
148
148
|
e[r] && e[r].d(t);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function w(e) {
|
|
151
151
|
return document.createElement(e);
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function wt(e) {
|
|
154
154
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
155
155
|
}
|
|
156
156
|
function k(e) {
|
|
@@ -165,14 +165,14 @@ function Be(e, t, r, n) {
|
|
|
165
165
|
function g(e, t, r) {
|
|
166
166
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
167
167
|
}
|
|
168
|
-
function
|
|
168
|
+
function fn(e) {
|
|
169
169
|
return Array.from(e.childNodes);
|
|
170
170
|
}
|
|
171
171
|
function z(e, t) {
|
|
172
172
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
173
173
|
t);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function mn(e) {
|
|
176
176
|
const t = {};
|
|
177
177
|
return e.childNodes.forEach(
|
|
178
178
|
/** @param {Element} node */
|
|
@@ -181,72 +181,72 @@ function un(e) {
|
|
|
181
181
|
}
|
|
182
182
|
), t;
|
|
183
183
|
}
|
|
184
|
-
let
|
|
185
|
-
function
|
|
186
|
-
|
|
184
|
+
let fe;
|
|
185
|
+
function he(e) {
|
|
186
|
+
fe = e;
|
|
187
187
|
}
|
|
188
|
-
function
|
|
189
|
-
if (!
|
|
188
|
+
function dn() {
|
|
189
|
+
if (!fe)
|
|
190
190
|
throw new Error("Function called outside component initialization");
|
|
191
|
-
return
|
|
191
|
+
return fe;
|
|
192
192
|
}
|
|
193
|
-
function
|
|
194
|
-
|
|
193
|
+
function pn(e) {
|
|
194
|
+
dn().$$.on_mount.push(e);
|
|
195
195
|
}
|
|
196
196
|
const K = [], Ae = [];
|
|
197
197
|
let ee = [];
|
|
198
|
-
const
|
|
199
|
-
let
|
|
200
|
-
function
|
|
201
|
-
|
|
198
|
+
const St = [], rr = /* @__PURE__ */ Promise.resolve();
|
|
199
|
+
let Je = !1;
|
|
200
|
+
function nr() {
|
|
201
|
+
Je || (Je = !0, rr.then(R));
|
|
202
202
|
}
|
|
203
|
-
function
|
|
204
|
-
return
|
|
203
|
+
function bn() {
|
|
204
|
+
return nr(), rr;
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function Ze(e) {
|
|
207
207
|
ee.push(e);
|
|
208
208
|
}
|
|
209
|
-
const
|
|
209
|
+
const Fe = /* @__PURE__ */ new Set();
|
|
210
210
|
let Y = 0;
|
|
211
|
-
function
|
|
211
|
+
function R() {
|
|
212
212
|
if (Y !== 0)
|
|
213
213
|
return;
|
|
214
|
-
const e =
|
|
214
|
+
const e = fe;
|
|
215
215
|
do {
|
|
216
216
|
try {
|
|
217
217
|
for (; Y < K.length; ) {
|
|
218
218
|
const t = K[Y];
|
|
219
|
-
Y++,
|
|
219
|
+
Y++, he(t), gn(t.$$);
|
|
220
220
|
}
|
|
221
221
|
} catch (t) {
|
|
222
222
|
throw K.length = 0, Y = 0, t;
|
|
223
223
|
}
|
|
224
|
-
for (
|
|
224
|
+
for (he(null), K.length = 0, Y = 0; Ae.length; )
|
|
225
225
|
Ae.pop()();
|
|
226
226
|
for (let t = 0; t < ee.length; t += 1) {
|
|
227
227
|
const r = ee[t];
|
|
228
|
-
|
|
228
|
+
Fe.has(r) || (Fe.add(r), r());
|
|
229
229
|
}
|
|
230
230
|
ee.length = 0;
|
|
231
231
|
} while (K.length);
|
|
232
|
-
for (;
|
|
233
|
-
|
|
234
|
-
|
|
232
|
+
for (; St.length; )
|
|
233
|
+
St.pop()();
|
|
234
|
+
Je = !1, Fe.clear(), he(e);
|
|
235
235
|
}
|
|
236
|
-
function
|
|
236
|
+
function gn(e) {
|
|
237
237
|
if (e.fragment !== null) {
|
|
238
238
|
e.update(), J(e.before_update);
|
|
239
239
|
const t = e.dirty;
|
|
240
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
240
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
|
|
241
241
|
}
|
|
242
242
|
}
|
|
243
|
-
function
|
|
243
|
+
function yn(e) {
|
|
244
244
|
const t = [], r = [];
|
|
245
245
|
ee.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ee = t;
|
|
246
246
|
}
|
|
247
247
|
const Ee = /* @__PURE__ */ new Set();
|
|
248
248
|
let X;
|
|
249
|
-
function
|
|
249
|
+
function vn() {
|
|
250
250
|
X = {
|
|
251
251
|
r: 0,
|
|
252
252
|
c: [],
|
|
@@ -254,13 +254,13 @@ function dn() {
|
|
|
254
254
|
// parent group
|
|
255
255
|
};
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function _n() {
|
|
258
258
|
X.r || J(X.c), X = X.p;
|
|
259
259
|
}
|
|
260
|
-
function
|
|
260
|
+
function ce(e, t) {
|
|
261
261
|
e && e.i && (Ee.delete(e), e.i(t));
|
|
262
262
|
}
|
|
263
|
-
function
|
|
263
|
+
function Qe(e, t, r, n) {
|
|
264
264
|
if (e && e.o) {
|
|
265
265
|
if (Ee.has(e))
|
|
266
266
|
return;
|
|
@@ -270,34 +270,34 @@ function ze(e, t, r, n) {
|
|
|
270
270
|
} else
|
|
271
271
|
n && n();
|
|
272
272
|
}
|
|
273
|
-
function
|
|
273
|
+
function Tt(e) {
|
|
274
274
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function xn(e, t, r) {
|
|
277
277
|
const { fragment: n, after_update: i } = e.$$;
|
|
278
|
-
n && n.m(t, r),
|
|
279
|
-
const o = e.$$.on_mount.map(
|
|
278
|
+
n && n.m(t, r), Ze(() => {
|
|
279
|
+
const o = e.$$.on_mount.map(qt).filter(ft);
|
|
280
280
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
|
|
281
|
-
}), i.forEach(
|
|
281
|
+
}), i.forEach(Ze);
|
|
282
282
|
}
|
|
283
|
-
function
|
|
283
|
+
function En(e, t) {
|
|
284
284
|
const r = e.$$;
|
|
285
|
-
r.fragment !== null && (
|
|
285
|
+
r.fragment !== null && (yn(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
286
286
|
}
|
|
287
|
-
function
|
|
288
|
-
e.$$.dirty[0] === -1 && (K.push(e),
|
|
287
|
+
function wn(e, t) {
|
|
288
|
+
e.$$.dirty[0] === -1 && (K.push(e), nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
289
289
|
}
|
|
290
|
-
function
|
|
291
|
-
const h =
|
|
292
|
-
|
|
290
|
+
function Sn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
291
|
+
const h = fe;
|
|
292
|
+
he(e);
|
|
293
293
|
const l = e.$$ = {
|
|
294
294
|
fragment: null,
|
|
295
295
|
ctx: [],
|
|
296
296
|
// state
|
|
297
297
|
props: o,
|
|
298
|
-
update:
|
|
298
|
+
update: G,
|
|
299
299
|
not_equal: i,
|
|
300
|
-
bound:
|
|
300
|
+
bound: xt(),
|
|
301
301
|
// lifecycle
|
|
302
302
|
on_mount: [],
|
|
303
303
|
on_destroy: [],
|
|
@@ -306,7 +306,7 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
306
306
|
after_update: [],
|
|
307
307
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
308
308
|
// everything else
|
|
309
|
-
callbacks:
|
|
309
|
+
callbacks: xt(),
|
|
310
310
|
dirty: s,
|
|
311
311
|
skip_bound: !1,
|
|
312
312
|
root: t.target || h.$$.root
|
|
@@ -315,19 +315,19 @@ function vn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
315
315
|
let u = !1;
|
|
316
316
|
if (l.ctx = r ? r(e, t.props || {}, (f, c, ...m) => {
|
|
317
317
|
const d = m.length ? m[0] : c;
|
|
318
|
-
return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u &&
|
|
318
|
+
return l.ctx && i(l.ctx[f], l.ctx[f] = d) && (!l.skip_bound && l.bound[f] && l.bound[f](d), u && wn(e, f)), c;
|
|
319
319
|
}) : [], l.update(), u = !0, J(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
|
320
320
|
if (t.hydrate) {
|
|
321
|
-
const f =
|
|
322
|
-
l.fragment && l.fragment.l(f), f.forEach(
|
|
321
|
+
const f = fn(t.target);
|
|
322
|
+
l.fragment && l.fragment.l(f), f.forEach(O);
|
|
323
323
|
} else
|
|
324
324
|
l.fragment && l.fragment.c();
|
|
325
|
-
t.intro &&
|
|
325
|
+
t.intro && ce(e.$$.fragment), xn(e, t.target, t.anchor), R();
|
|
326
326
|
}
|
|
327
|
-
|
|
327
|
+
he(h);
|
|
328
328
|
}
|
|
329
|
-
let
|
|
330
|
-
typeof HTMLElement == "function" && (
|
|
329
|
+
let ir;
|
|
330
|
+
typeof HTMLElement == "function" && (ir = class extends HTMLElement {
|
|
331
331
|
constructor(t, r, n) {
|
|
332
332
|
super();
|
|
333
333
|
/** The Svelte component constructor */
|
|
@@ -371,7 +371,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
371
371
|
let a;
|
|
372
372
|
return {
|
|
373
373
|
c: function() {
|
|
374
|
-
a =
|
|
374
|
+
a = w("slot"), o !== "default" && g(a, "name", o);
|
|
375
375
|
},
|
|
376
376
|
/**
|
|
377
377
|
* @param {HTMLElement} target
|
|
@@ -381,14 +381,14 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
381
381
|
I(l, a, u);
|
|
382
382
|
},
|
|
383
383
|
d: function(l) {
|
|
384
|
-
l &&
|
|
384
|
+
l && O(a);
|
|
385
385
|
}
|
|
386
386
|
};
|
|
387
387
|
};
|
|
388
388
|
};
|
|
389
389
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
390
390
|
return;
|
|
391
|
-
const r = {}, n =
|
|
391
|
+
const r = {}, n = mn(this);
|
|
392
392
|
for (const o of this.$$s)
|
|
393
393
|
o in n && (r[o] = [t(o)]);
|
|
394
394
|
for (const o of this.attributes) {
|
|
@@ -399,7 +399,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
399
399
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
400
400
|
this.$$c = new this.$$ctor({
|
|
401
401
|
target: this.shadowRoot || this,
|
|
402
|
-
props:
|
|
402
|
+
props: _t(vt({}, this.$$d), {
|
|
403
403
|
$$slots: r,
|
|
404
404
|
$$scope: {
|
|
405
405
|
ctx: []
|
|
@@ -477,8 +477,8 @@ function we(e, t, r, n) {
|
|
|
477
477
|
return t;
|
|
478
478
|
}
|
|
479
479
|
}
|
|
480
|
-
function
|
|
481
|
-
let a = class extends
|
|
480
|
+
function Tn(e, t, r, n, i, o) {
|
|
481
|
+
let a = class extends ir {
|
|
482
482
|
constructor() {
|
|
483
483
|
super(e, r, i), this.$$p_d = t;
|
|
484
484
|
}
|
|
@@ -508,7 +508,7 @@ function _n(e, t, r, n, i, o) {
|
|
|
508
508
|
}), e.element = /** @type {any} */
|
|
509
509
|
a, a;
|
|
510
510
|
}
|
|
511
|
-
class
|
|
511
|
+
class Hn {
|
|
512
512
|
constructor() {
|
|
513
513
|
/**
|
|
514
514
|
* ### PRIVATE API
|
|
@@ -529,7 +529,7 @@ class xn {
|
|
|
529
529
|
}
|
|
530
530
|
/** @returns {void} */
|
|
531
531
|
$destroy() {
|
|
532
|
-
|
|
532
|
+
En(this, 1), this.$destroy = G;
|
|
533
533
|
}
|
|
534
534
|
/**
|
|
535
535
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -538,8 +538,8 @@ class xn {
|
|
|
538
538
|
* @returns {() => void}
|
|
539
539
|
*/
|
|
540
540
|
$on(t, r) {
|
|
541
|
-
if (!
|
|
542
|
-
return
|
|
541
|
+
if (!ft(r))
|
|
542
|
+
return G;
|
|
543
543
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
544
544
|
return n.push(r), () => {
|
|
545
545
|
const i = n.indexOf(r);
|
|
@@ -551,11 +551,11 @@ class xn {
|
|
|
551
551
|
* @returns {void}
|
|
552
552
|
*/
|
|
553
553
|
$set(t) {
|
|
554
|
-
this.$$set && !
|
|
554
|
+
this.$$set && !tn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
555
555
|
}
|
|
556
556
|
}
|
|
557
|
-
const
|
|
558
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
557
|
+
const Bn = "4";
|
|
558
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Bn);
|
|
559
559
|
/*! *****************************************************************************
|
|
560
560
|
Copyright (c) Microsoft Corporation.
|
|
561
561
|
|
|
@@ -570,43 +570,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
570
570
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
571
571
|
PERFORMANCE OF THIS SOFTWARE.
|
|
572
572
|
***************************************************************************** */
|
|
573
|
-
var
|
|
574
|
-
return
|
|
573
|
+
var Ye = function(e, t) {
|
|
574
|
+
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
575
575
|
r.__proto__ = n;
|
|
576
576
|
} || function(r, n) {
|
|
577
577
|
for (var i in n)
|
|
578
578
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
579
|
-
},
|
|
579
|
+
}, Ye(e, t);
|
|
580
580
|
};
|
|
581
|
-
function
|
|
581
|
+
function pe(e, t) {
|
|
582
582
|
if (typeof t != "function" && t !== null)
|
|
583
583
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
584
|
-
|
|
584
|
+
Ye(e, t);
|
|
585
585
|
function r() {
|
|
586
586
|
this.constructor = e;
|
|
587
587
|
}
|
|
588
588
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
589
589
|
}
|
|
590
|
-
|
|
591
|
-
return _ = Object.assign || function(t) {
|
|
592
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
593
|
-
r = arguments[n];
|
|
594
|
-
for (var o in r)
|
|
595
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
596
|
-
}
|
|
597
|
-
return t;
|
|
598
|
-
}, _.apply(this, arguments);
|
|
599
|
-
};
|
|
600
|
-
function wn(e, t) {
|
|
601
|
-
var r = {};
|
|
602
|
-
for (var n in e)
|
|
603
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
604
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
605
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
606
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
607
|
-
return r;
|
|
608
|
-
}
|
|
609
|
-
function Ze(e) {
|
|
590
|
+
function qe(e) {
|
|
610
591
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
611
592
|
if (r)
|
|
612
593
|
return r.call(e);
|
|
@@ -618,7 +599,7 @@ function Ze(e) {
|
|
|
618
599
|
};
|
|
619
600
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
620
601
|
}
|
|
621
|
-
function
|
|
602
|
+
function Ke(e, t) {
|
|
622
603
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
623
604
|
if (!r)
|
|
624
605
|
return e;
|
|
@@ -638,8 +619,8 @@ function Qe(e, t) {
|
|
|
638
619
|
}
|
|
639
620
|
return o;
|
|
640
621
|
}
|
|
641
|
-
function
|
|
642
|
-
if (
|
|
622
|
+
function et(e, t, r) {
|
|
623
|
+
if (arguments.length === 2)
|
|
643
624
|
for (var n = 0, i = t.length, o; n < i; n++)
|
|
644
625
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
645
626
|
return e.concat(o || t);
|
|
@@ -647,13 +628,13 @@ function te(e, t, r) {
|
|
|
647
628
|
function D(e) {
|
|
648
629
|
return typeof e == "function";
|
|
649
630
|
}
|
|
650
|
-
function
|
|
631
|
+
function or(e) {
|
|
651
632
|
var t = function(n) {
|
|
652
633
|
Error.call(n), n.stack = new Error().stack;
|
|
653
634
|
}, r = e(t);
|
|
654
635
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
655
636
|
}
|
|
656
|
-
var
|
|
637
|
+
var De = or(function(e) {
|
|
657
638
|
return function(r) {
|
|
658
639
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
659
640
|
` + r.map(function(n, i) {
|
|
@@ -662,13 +643,13 @@ var Fe = er(function(e) {
|
|
|
662
643
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
663
644
|
};
|
|
664
645
|
});
|
|
665
|
-
function
|
|
646
|
+
function tt(e, t) {
|
|
666
647
|
if (e) {
|
|
667
648
|
var r = e.indexOf(t);
|
|
668
649
|
0 <= r && e.splice(r, 1);
|
|
669
650
|
}
|
|
670
651
|
}
|
|
671
|
-
var
|
|
652
|
+
var Ie = function() {
|
|
672
653
|
function e(t) {
|
|
673
654
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
674
655
|
}
|
|
@@ -680,7 +661,7 @@ var Oe = function() {
|
|
|
680
661
|
if (a)
|
|
681
662
|
if (this._parentage = null, Array.isArray(a))
|
|
682
663
|
try {
|
|
683
|
-
for (var s =
|
|
664
|
+
for (var s = qe(a), h = s.next(); !h.done; h = s.next()) {
|
|
684
665
|
var l = h.value;
|
|
685
666
|
l.remove(this);
|
|
686
667
|
}
|
|
@@ -701,18 +682,18 @@ var Oe = function() {
|
|
|
701
682
|
try {
|
|
702
683
|
u();
|
|
703
684
|
} catch (p) {
|
|
704
|
-
o = p instanceof
|
|
685
|
+
o = p instanceof De ? p.errors : [p];
|
|
705
686
|
}
|
|
706
687
|
var f = this._finalizers;
|
|
707
688
|
if (f) {
|
|
708
689
|
this._finalizers = null;
|
|
709
690
|
try {
|
|
710
|
-
for (var c =
|
|
691
|
+
for (var c = qe(f), m = c.next(); !m.done; m = c.next()) {
|
|
711
692
|
var d = m.value;
|
|
712
693
|
try {
|
|
713
|
-
|
|
694
|
+
Ht(d);
|
|
714
695
|
} catch (p) {
|
|
715
|
-
o = o != null ? o : [], p instanceof
|
|
696
|
+
o = o != null ? o : [], p instanceof De ? o = et(et([], Ke(o)), Ke(p.errors)) : o.push(p);
|
|
716
697
|
}
|
|
717
698
|
}
|
|
718
699
|
} catch (p) {
|
|
@@ -727,13 +708,13 @@ var Oe = function() {
|
|
|
727
708
|
}
|
|
728
709
|
}
|
|
729
710
|
if (o)
|
|
730
|
-
throw new
|
|
711
|
+
throw new De(o);
|
|
731
712
|
}
|
|
732
713
|
}, e.prototype.add = function(t) {
|
|
733
714
|
var r;
|
|
734
715
|
if (t && t !== this)
|
|
735
716
|
if (this.closed)
|
|
736
|
-
|
|
717
|
+
Ht(t);
|
|
737
718
|
else {
|
|
738
719
|
if (t instanceof e) {
|
|
739
720
|
if (t.closed || t._hasParent(this))
|
|
@@ -750,52 +731,52 @@ var Oe = function() {
|
|
|
750
731
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
751
732
|
}, e.prototype._removeParent = function(t) {
|
|
752
733
|
var r = this._parentage;
|
|
753
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
734
|
+
r === t ? this._parentage = null : Array.isArray(r) && tt(r, t);
|
|
754
735
|
}, e.prototype.remove = function(t) {
|
|
755
736
|
var r = this._finalizers;
|
|
756
|
-
r &&
|
|
737
|
+
r && tt(r, t), t instanceof e && t._removeParent(this);
|
|
757
738
|
}, e.EMPTY = function() {
|
|
758
739
|
var t = new e();
|
|
759
740
|
return t.closed = !0, t;
|
|
760
741
|
}(), e;
|
|
761
|
-
}(),
|
|
762
|
-
function
|
|
763
|
-
return e instanceof
|
|
742
|
+
}(), ar = Ie.EMPTY;
|
|
743
|
+
function sr(e) {
|
|
744
|
+
return e instanceof Ie || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
|
764
745
|
}
|
|
765
|
-
function
|
|
746
|
+
function Ht(e) {
|
|
766
747
|
D(e) ? e() : e.unsubscribe();
|
|
767
748
|
}
|
|
768
|
-
var
|
|
749
|
+
var An = {
|
|
769
750
|
Promise: void 0
|
|
770
|
-
},
|
|
751
|
+
}, Pn = {
|
|
771
752
|
setTimeout: function(e, t) {
|
|
772
753
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
773
754
|
r[n - 2] = arguments[n];
|
|
774
|
-
return setTimeout.apply(void 0,
|
|
755
|
+
return setTimeout.apply(void 0, et([e, t], Ke(r)));
|
|
775
756
|
},
|
|
776
757
|
clearTimeout: function(e) {
|
|
777
758
|
return clearTimeout(e);
|
|
778
759
|
},
|
|
779
760
|
delegate: void 0
|
|
780
761
|
};
|
|
781
|
-
function
|
|
782
|
-
|
|
762
|
+
function On(e) {
|
|
763
|
+
Pn.setTimeout(function() {
|
|
783
764
|
throw e;
|
|
784
765
|
});
|
|
785
766
|
}
|
|
786
|
-
function
|
|
767
|
+
function Bt() {
|
|
787
768
|
}
|
|
788
769
|
function Se(e) {
|
|
789
770
|
e();
|
|
790
771
|
}
|
|
791
|
-
var
|
|
792
|
-
|
|
772
|
+
var ur = function(e) {
|
|
773
|
+
pe(t, e);
|
|
793
774
|
function t(r) {
|
|
794
775
|
var n = e.call(this) || this;
|
|
795
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
776
|
+
return n.isStopped = !1, r ? (n.destination = r, sr(r) && r.add(n)) : n.destination = Nn, n;
|
|
796
777
|
}
|
|
797
778
|
return t.create = function(r, n, i) {
|
|
798
|
-
return new
|
|
779
|
+
return new rt(r, n, i);
|
|
799
780
|
}, t.prototype.next = function(r) {
|
|
800
781
|
this.isStopped || this._next(r);
|
|
801
782
|
}, t.prototype.error = function(r) {
|
|
@@ -819,7 +800,7 @@ var nr = function(e) {
|
|
|
819
800
|
this.unsubscribe();
|
|
820
801
|
}
|
|
821
802
|
}, t;
|
|
822
|
-
}(
|
|
803
|
+
}(Ie), Rn = function() {
|
|
823
804
|
function e(t) {
|
|
824
805
|
this.partialObserver = t;
|
|
825
806
|
}
|
|
@@ -850,43 +831,43 @@ var nr = function(e) {
|
|
|
850
831
|
_e(r);
|
|
851
832
|
}
|
|
852
833
|
}, e;
|
|
853
|
-
}(),
|
|
854
|
-
|
|
834
|
+
}(), rt = function(e) {
|
|
835
|
+
pe(t, e);
|
|
855
836
|
function t(r, n, i) {
|
|
856
837
|
var o = e.call(this) || this, a;
|
|
857
838
|
return D(r) || !r ? a = {
|
|
858
839
|
next: r != null ? r : void 0,
|
|
859
840
|
error: n != null ? n : void 0,
|
|
860
841
|
complete: i != null ? i : void 0
|
|
861
|
-
} : a = r, o.destination = new
|
|
842
|
+
} : a = r, o.destination = new Rn(a), o;
|
|
862
843
|
}
|
|
863
844
|
return t;
|
|
864
|
-
}(
|
|
845
|
+
}(ur);
|
|
865
846
|
function _e(e) {
|
|
866
|
-
|
|
847
|
+
On(e);
|
|
867
848
|
}
|
|
868
|
-
function
|
|
849
|
+
function In(e) {
|
|
869
850
|
throw e;
|
|
870
851
|
}
|
|
871
|
-
var
|
|
852
|
+
var Nn = {
|
|
872
853
|
closed: !0,
|
|
873
|
-
next:
|
|
874
|
-
error:
|
|
875
|
-
complete:
|
|
876
|
-
},
|
|
854
|
+
next: Bt,
|
|
855
|
+
error: In,
|
|
856
|
+
complete: Bt
|
|
857
|
+
}, Ln = function() {
|
|
877
858
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
878
859
|
}();
|
|
879
|
-
function
|
|
860
|
+
function Mn(e) {
|
|
880
861
|
return e;
|
|
881
862
|
}
|
|
882
|
-
function
|
|
883
|
-
return e.length === 0 ?
|
|
863
|
+
function Cn(e) {
|
|
864
|
+
return e.length === 0 ? Mn : e.length === 1 ? e[0] : function(r) {
|
|
884
865
|
return e.reduce(function(n, i) {
|
|
885
866
|
return i(n);
|
|
886
867
|
}, r);
|
|
887
868
|
};
|
|
888
869
|
}
|
|
889
|
-
var
|
|
870
|
+
var At = function() {
|
|
890
871
|
function e(t) {
|
|
891
872
|
t && (this._subscribe = t);
|
|
892
873
|
}
|
|
@@ -894,7 +875,7 @@ var wt = function() {
|
|
|
894
875
|
var r = new e();
|
|
895
876
|
return r.source = this, r.operator = t, r;
|
|
896
877
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
897
|
-
var i = this, o =
|
|
878
|
+
var i = this, o = Un(t) ? t : new rt(t, r, n);
|
|
898
879
|
return Se(function() {
|
|
899
880
|
var a = i, s = a.operator, h = a.source;
|
|
900
881
|
o.add(s ? s.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -907,8 +888,8 @@ var wt = function() {
|
|
|
907
888
|
}
|
|
908
889
|
}, e.prototype.forEach = function(t, r) {
|
|
909
890
|
var n = this;
|
|
910
|
-
return r =
|
|
911
|
-
var a = new
|
|
891
|
+
return r = Pt(r), new r(function(i, o) {
|
|
892
|
+
var a = new rt({
|
|
912
893
|
next: function(s) {
|
|
913
894
|
try {
|
|
914
895
|
t(s);
|
|
@@ -924,15 +905,15 @@ var wt = function() {
|
|
|
924
905
|
}, e.prototype._subscribe = function(t) {
|
|
925
906
|
var r;
|
|
926
907
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
927
|
-
}, e.prototype[
|
|
908
|
+
}, e.prototype[Ln] = function() {
|
|
928
909
|
return this;
|
|
929
910
|
}, e.prototype.pipe = function() {
|
|
930
911
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
931
912
|
t[r] = arguments[r];
|
|
932
|
-
return
|
|
913
|
+
return Cn(t)(this);
|
|
933
914
|
}, e.prototype.toPromise = function(t) {
|
|
934
915
|
var r = this;
|
|
935
|
-
return t =
|
|
916
|
+
return t = Pt(t), new t(function(n, i) {
|
|
936
917
|
var o;
|
|
937
918
|
r.subscribe(function(a) {
|
|
938
919
|
return o = a;
|
|
@@ -946,32 +927,32 @@ var wt = function() {
|
|
|
946
927
|
return new e(t);
|
|
947
928
|
}, e;
|
|
948
929
|
}();
|
|
949
|
-
function
|
|
930
|
+
function Pt(e) {
|
|
950
931
|
var t;
|
|
951
|
-
return (t = e != null ? e :
|
|
932
|
+
return (t = e != null ? e : An.Promise) !== null && t !== void 0 ? t : Promise;
|
|
952
933
|
}
|
|
953
|
-
function
|
|
934
|
+
function Gn(e) {
|
|
954
935
|
return e && D(e.next) && D(e.error) && D(e.complete);
|
|
955
936
|
}
|
|
956
|
-
function
|
|
957
|
-
return e && e instanceof
|
|
937
|
+
function Un(e) {
|
|
938
|
+
return e && e instanceof ur || Gn(e) && sr(e);
|
|
958
939
|
}
|
|
959
|
-
var
|
|
940
|
+
var $n = or(function(e) {
|
|
960
941
|
return function() {
|
|
961
942
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
962
943
|
};
|
|
963
|
-
}),
|
|
964
|
-
|
|
944
|
+
}), lr = function(e) {
|
|
945
|
+
pe(t, e);
|
|
965
946
|
function t() {
|
|
966
947
|
var r = e.call(this) || this;
|
|
967
948
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
968
949
|
}
|
|
969
950
|
return t.prototype.lift = function(r) {
|
|
970
|
-
var n = new
|
|
951
|
+
var n = new Ot(this, this);
|
|
971
952
|
return n.operator = r, n;
|
|
972
953
|
}, t.prototype._throwIfClosed = function() {
|
|
973
954
|
if (this.closed)
|
|
974
|
-
throw new
|
|
955
|
+
throw new $n();
|
|
975
956
|
}, t.prototype.next = function(r) {
|
|
976
957
|
var n = this;
|
|
977
958
|
Se(function() {
|
|
@@ -979,7 +960,7 @@ var Mn = er(function(e) {
|
|
|
979
960
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
980
961
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
981
962
|
try {
|
|
982
|
-
for (var a =
|
|
963
|
+
for (var a = qe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
983
964
|
var h = s.value;
|
|
984
965
|
h.next(r);
|
|
985
966
|
}
|
|
@@ -1028,20 +1009,20 @@ var Mn = er(function(e) {
|
|
|
1028
1009
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1029
1010
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1030
1011
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1031
|
-
return o || a ?
|
|
1032
|
-
n.currentObservers = null,
|
|
1012
|
+
return o || a ? ar : (this.currentObservers = null, s.push(r), new Ie(function() {
|
|
1013
|
+
n.currentObservers = null, tt(s, r);
|
|
1033
1014
|
}));
|
|
1034
1015
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1035
1016
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1036
1017
|
i ? r.error(o) : a && r.complete();
|
|
1037
1018
|
}, t.prototype.asObservable = function() {
|
|
1038
|
-
var r = new
|
|
1019
|
+
var r = new At();
|
|
1039
1020
|
return r.source = this, r;
|
|
1040
1021
|
}, t.create = function(r, n) {
|
|
1041
|
-
return new
|
|
1022
|
+
return new Ot(r, n);
|
|
1042
1023
|
}, t;
|
|
1043
|
-
}(
|
|
1044
|
-
|
|
1024
|
+
}(At), Ot = function(e) {
|
|
1025
|
+
pe(t, e);
|
|
1045
1026
|
function t(r, n) {
|
|
1046
1027
|
var i = e.call(this) || this;
|
|
1047
1028
|
return i.destination = r, i.source = n, i;
|
|
@@ -1057,17 +1038,17 @@ var Mn = er(function(e) {
|
|
|
1057
1038
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1058
1039
|
}, t.prototype._subscribe = function(r) {
|
|
1059
1040
|
var n, i;
|
|
1060
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1041
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : ar;
|
|
1061
1042
|
}, t;
|
|
1062
|
-
}(
|
|
1043
|
+
}(lr), hr = {
|
|
1063
1044
|
now: function() {
|
|
1064
|
-
return (
|
|
1045
|
+
return (hr.delegate || Date).now();
|
|
1065
1046
|
},
|
|
1066
1047
|
delegate: void 0
|
|
1067
|
-
},
|
|
1068
|
-
|
|
1048
|
+
}, Fn = function(e) {
|
|
1049
|
+
pe(t, e);
|
|
1069
1050
|
function t(r, n, i) {
|
|
1070
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1051
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = hr);
|
|
1071
1052
|
var o = e.call(this) || this;
|
|
1072
1053
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1073
1054
|
}
|
|
@@ -1087,24 +1068,24 @@ var Mn = er(function(e) {
|
|
|
1087
1068
|
l && o.splice(0, l + 1);
|
|
1088
1069
|
}
|
|
1089
1070
|
}, t;
|
|
1090
|
-
}(
|
|
1091
|
-
const
|
|
1092
|
-
if (
|
|
1093
|
-
const r = new
|
|
1094
|
-
|
|
1071
|
+
}(lr);
|
|
1072
|
+
const Rt = [], It = {}, Dn = (e, t = 0) => {
|
|
1073
|
+
if (Rt.indexOf(e) == -1) {
|
|
1074
|
+
const r = new Fn(t);
|
|
1075
|
+
It[e] = r, Rt.push(e);
|
|
1095
1076
|
}
|
|
1096
|
-
return
|
|
1077
|
+
return It[e];
|
|
1097
1078
|
}, q = [];
|
|
1098
|
-
function
|
|
1079
|
+
function jn(e, t) {
|
|
1099
1080
|
return {
|
|
1100
|
-
subscribe:
|
|
1081
|
+
subscribe: Ne(e, t).subscribe
|
|
1101
1082
|
};
|
|
1102
1083
|
}
|
|
1103
|
-
function
|
|
1084
|
+
function Ne(e, t = G) {
|
|
1104
1085
|
let r;
|
|
1105
1086
|
const n = /* @__PURE__ */ new Set();
|
|
1106
1087
|
function i(s) {
|
|
1107
|
-
if (
|
|
1088
|
+
if (Kt(e, s) && (e = s, r)) {
|
|
1108
1089
|
const h = !q.length;
|
|
1109
1090
|
for (const l of n)
|
|
1110
1091
|
l[1](), q.push(l, e);
|
|
@@ -1118,31 +1099,31 @@ function Ie(e, t = C) {
|
|
|
1118
1099
|
function o(s) {
|
|
1119
1100
|
i(s(e));
|
|
1120
1101
|
}
|
|
1121
|
-
function a(s, h =
|
|
1102
|
+
function a(s, h = G) {
|
|
1122
1103
|
const l = [s, h];
|
|
1123
|
-
return n.add(l), n.size === 1 && (r = t(i, o) ||
|
|
1104
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || G), s(e), () => {
|
|
1124
1105
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
|
1125
1106
|
};
|
|
1126
1107
|
}
|
|
1127
1108
|
return { set: i, update: o, subscribe: a };
|
|
1128
1109
|
}
|
|
1129
|
-
function
|
|
1110
|
+
function oe(e, t, r) {
|
|
1130
1111
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1131
1112
|
if (!i.every(Boolean))
|
|
1132
1113
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1133
1114
|
const o = t.length < 2;
|
|
1134
|
-
return
|
|
1115
|
+
return jn(r, (a, s) => {
|
|
1135
1116
|
let h = !1;
|
|
1136
1117
|
const l = [];
|
|
1137
|
-
let u = 0, f =
|
|
1118
|
+
let u = 0, f = G;
|
|
1138
1119
|
const c = () => {
|
|
1139
1120
|
if (u)
|
|
1140
1121
|
return;
|
|
1141
1122
|
f();
|
|
1142
1123
|
const d = t(n ? l[0] : l, a, s);
|
|
1143
|
-
o ? a(d) : f =
|
|
1124
|
+
o ? a(d) : f = ft(d) ? d : G;
|
|
1144
1125
|
}, m = i.map(
|
|
1145
|
-
(d, p) =>
|
|
1126
|
+
(d, p) => er(
|
|
1146
1127
|
d,
|
|
1147
1128
|
(A) => {
|
|
1148
1129
|
l[p] = A, u &= ~(1 << p), h && c();
|
|
@@ -1157,111 +1138,153 @@ function ae(e, t, r) {
|
|
|
1157
1138
|
};
|
|
1158
1139
|
});
|
|
1159
1140
|
}
|
|
1160
|
-
function
|
|
1141
|
+
function kn(e) {
|
|
1161
1142
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1162
1143
|
}
|
|
1163
|
-
var
|
|
1164
|
-
return
|
|
1144
|
+
var Vn = function(t) {
|
|
1145
|
+
return Wn(t) && !Xn(t);
|
|
1165
1146
|
};
|
|
1166
|
-
function
|
|
1147
|
+
function Wn(e) {
|
|
1167
1148
|
return !!e && typeof e == "object";
|
|
1168
1149
|
}
|
|
1169
|
-
function
|
|
1150
|
+
function Xn(e) {
|
|
1170
1151
|
var t = Object.prototype.toString.call(e);
|
|
1171
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1152
|
+
return t === "[object RegExp]" || t === "[object Date]" || Zn(e);
|
|
1172
1153
|
}
|
|
1173
|
-
var
|
|
1174
|
-
function
|
|
1175
|
-
return e.$$typeof ===
|
|
1154
|
+
var zn = typeof Symbol == "function" && Symbol.for, Jn = zn ? Symbol.for("react.element") : 60103;
|
|
1155
|
+
function Zn(e) {
|
|
1156
|
+
return e.$$typeof === Jn;
|
|
1176
1157
|
}
|
|
1177
|
-
function
|
|
1158
|
+
function Qn(e) {
|
|
1178
1159
|
return Array.isArray(e) ? [] : {};
|
|
1179
1160
|
}
|
|
1180
|
-
function
|
|
1181
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1161
|
+
function me(e, t) {
|
|
1162
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? te(Qn(e), e, t) : e;
|
|
1182
1163
|
}
|
|
1183
|
-
function
|
|
1164
|
+
function Yn(e, t, r) {
|
|
1184
1165
|
return e.concat(t).map(function(n) {
|
|
1185
|
-
return
|
|
1166
|
+
return me(n, r);
|
|
1186
1167
|
});
|
|
1187
1168
|
}
|
|
1188
|
-
function
|
|
1169
|
+
function qn(e, t) {
|
|
1189
1170
|
if (!t.customMerge)
|
|
1190
|
-
return
|
|
1171
|
+
return te;
|
|
1191
1172
|
var r = t.customMerge(e);
|
|
1192
|
-
return typeof r == "function" ? r :
|
|
1173
|
+
return typeof r == "function" ? r : te;
|
|
1193
1174
|
}
|
|
1194
|
-
function
|
|
1175
|
+
function Kn(e) {
|
|
1195
1176
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1196
1177
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1197
1178
|
}) : [];
|
|
1198
1179
|
}
|
|
1199
|
-
function
|
|
1200
|
-
return Object.keys(e).concat(
|
|
1180
|
+
function Nt(e) {
|
|
1181
|
+
return Object.keys(e).concat(Kn(e));
|
|
1201
1182
|
}
|
|
1202
|
-
function
|
|
1183
|
+
function cr(e, t) {
|
|
1203
1184
|
try {
|
|
1204
1185
|
return t in e;
|
|
1205
1186
|
} catch (r) {
|
|
1206
1187
|
return !1;
|
|
1207
1188
|
}
|
|
1208
1189
|
}
|
|
1209
|
-
function
|
|
1210
|
-
return
|
|
1190
|
+
function ei(e, t) {
|
|
1191
|
+
return cr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1211
1192
|
}
|
|
1212
|
-
function
|
|
1193
|
+
function ti(e, t, r) {
|
|
1213
1194
|
var n = {};
|
|
1214
|
-
return r.isMergeableObject(e) &&
|
|
1215
|
-
n[i] =
|
|
1216
|
-
}),
|
|
1217
|
-
|
|
1195
|
+
return r.isMergeableObject(e) && Nt(e).forEach(function(i) {
|
|
1196
|
+
n[i] = me(e[i], r);
|
|
1197
|
+
}), Nt(t).forEach(function(i) {
|
|
1198
|
+
ei(e, i) || (cr(e, i) && r.isMergeableObject(t[i]) ? n[i] = qn(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
|
|
1218
1199
|
}), n;
|
|
1219
1200
|
}
|
|
1220
|
-
function
|
|
1221
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1201
|
+
function te(e, t, r) {
|
|
1202
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Yn, r.isMergeableObject = r.isMergeableObject || Vn, r.cloneUnlessOtherwiseSpecified = me;
|
|
1222
1203
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1223
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1204
|
+
return o ? n ? r.arrayMerge(e, t, r) : ti(e, t, r) : me(t, r);
|
|
1224
1205
|
}
|
|
1225
|
-
|
|
1206
|
+
te.all = function(t, r) {
|
|
1226
1207
|
if (!Array.isArray(t))
|
|
1227
1208
|
throw new Error("first argument should be an array");
|
|
1228
1209
|
return t.reduce(function(n, i) {
|
|
1229
|
-
return
|
|
1210
|
+
return te(n, i, r);
|
|
1230
1211
|
}, {});
|
|
1231
1212
|
};
|
|
1232
|
-
var
|
|
1233
|
-
const
|
|
1234
|
-
function
|
|
1235
|
-
|
|
1213
|
+
var ri = te, ni = ri;
|
|
1214
|
+
const ii = /* @__PURE__ */ kn(ni);
|
|
1215
|
+
var nt = function(e, t) {
|
|
1216
|
+
return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1217
|
+
r.__proto__ = n;
|
|
1218
|
+
} || function(r, n) {
|
|
1219
|
+
for (var i in n)
|
|
1220
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1221
|
+
}, nt(e, t);
|
|
1222
|
+
};
|
|
1223
|
+
function Le(e, t) {
|
|
1224
|
+
if (typeof t != "function" && t !== null)
|
|
1225
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1226
|
+
nt(e, t);
|
|
1227
|
+
function r() {
|
|
1228
|
+
this.constructor = e;
|
|
1229
|
+
}
|
|
1230
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1231
|
+
}
|
|
1232
|
+
var C = function() {
|
|
1233
|
+
return C = Object.assign || function(t) {
|
|
1234
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1235
|
+
r = arguments[n];
|
|
1236
|
+
for (var o in r)
|
|
1237
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1238
|
+
}
|
|
1239
|
+
return t;
|
|
1240
|
+
}, C.apply(this, arguments);
|
|
1241
|
+
};
|
|
1242
|
+
function oi(e, t) {
|
|
1243
|
+
var r = {};
|
|
1244
|
+
for (var n in e)
|
|
1245
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1246
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1247
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1248
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1249
|
+
return r;
|
|
1250
|
+
}
|
|
1251
|
+
function je(e, t, r) {
|
|
1252
|
+
if (r || arguments.length === 2)
|
|
1253
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1254
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1255
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1256
|
+
}
|
|
1257
|
+
function ke(e, t) {
|
|
1258
|
+
var r = t && t.cache ? t.cache : fi, n = t && t.serializer ? t.serializer : hi, i = t && t.strategy ? t.strategy : ui;
|
|
1236
1259
|
return i(e, {
|
|
1237
1260
|
cache: r,
|
|
1238
1261
|
serializer: n
|
|
1239
1262
|
});
|
|
1240
1263
|
}
|
|
1241
|
-
function
|
|
1264
|
+
function ai(e) {
|
|
1242
1265
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1243
1266
|
}
|
|
1244
|
-
function
|
|
1245
|
-
var i =
|
|
1267
|
+
function si(e, t, r, n) {
|
|
1268
|
+
var i = ai(n) ? n : r(n), o = t.get(i);
|
|
1246
1269
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1247
1270
|
}
|
|
1248
|
-
function
|
|
1271
|
+
function fr(e, t, r) {
|
|
1249
1272
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1250
1273
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1251
1274
|
}
|
|
1252
|
-
function
|
|
1275
|
+
function mr(e, t, r, n, i) {
|
|
1253
1276
|
return r.bind(t, e, n, i);
|
|
1254
1277
|
}
|
|
1255
|
-
function
|
|
1256
|
-
var r = e.length === 1 ?
|
|
1257
|
-
return
|
|
1278
|
+
function ui(e, t) {
|
|
1279
|
+
var r = e.length === 1 ? si : fr;
|
|
1280
|
+
return mr(e, this, r, t.cache.create(), t.serializer);
|
|
1258
1281
|
}
|
|
1259
|
-
function
|
|
1260
|
-
return
|
|
1282
|
+
function li(e, t) {
|
|
1283
|
+
return mr(e, this, fr, t.cache.create(), t.serializer);
|
|
1261
1284
|
}
|
|
1262
|
-
var
|
|
1285
|
+
var hi = function() {
|
|
1263
1286
|
return JSON.stringify(arguments);
|
|
1264
|
-
},
|
|
1287
|
+
}, ci = (
|
|
1265
1288
|
/** @class */
|
|
1266
1289
|
function() {
|
|
1267
1290
|
function e() {
|
|
@@ -1273,61 +1296,71 @@ var oi = function() {
|
|
|
1273
1296
|
this.cache[t] = r;
|
|
1274
1297
|
}, e;
|
|
1275
1298
|
}()
|
|
1276
|
-
),
|
|
1299
|
+
), fi = {
|
|
1277
1300
|
create: function() {
|
|
1278
|
-
return new
|
|
1301
|
+
return new ci();
|
|
1279
1302
|
}
|
|
1280
|
-
},
|
|
1281
|
-
variadic:
|
|
1282
|
-
},
|
|
1303
|
+
}, Ve = {
|
|
1304
|
+
variadic: li
|
|
1305
|
+
}, Pe = function() {
|
|
1306
|
+
return Pe = Object.assign || function(t) {
|
|
1307
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1308
|
+
r = arguments[n];
|
|
1309
|
+
for (var o in r)
|
|
1310
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1311
|
+
}
|
|
1312
|
+
return t;
|
|
1313
|
+
}, Pe.apply(this, arguments);
|
|
1314
|
+
};
|
|
1315
|
+
var y;
|
|
1283
1316
|
(function(e) {
|
|
1284
1317
|
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";
|
|
1285
1318
|
})(y || (y = {}));
|
|
1286
|
-
var
|
|
1319
|
+
var E;
|
|
1287
1320
|
(function(e) {
|
|
1288
1321
|
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";
|
|
1289
|
-
})(
|
|
1290
|
-
var
|
|
1322
|
+
})(E || (E = {}));
|
|
1323
|
+
var re;
|
|
1291
1324
|
(function(e) {
|
|
1292
1325
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1293
|
-
})(
|
|
1294
|
-
function
|
|
1295
|
-
return e.type ===
|
|
1326
|
+
})(re || (re = {}));
|
|
1327
|
+
function Lt(e) {
|
|
1328
|
+
return e.type === E.literal;
|
|
1296
1329
|
}
|
|
1297
|
-
function
|
|
1298
|
-
return e.type ===
|
|
1330
|
+
function mi(e) {
|
|
1331
|
+
return e.type === E.argument;
|
|
1299
1332
|
}
|
|
1300
|
-
function
|
|
1301
|
-
return e.type ===
|
|
1333
|
+
function dr(e) {
|
|
1334
|
+
return e.type === E.number;
|
|
1302
1335
|
}
|
|
1303
|
-
function
|
|
1304
|
-
return e.type ===
|
|
1336
|
+
function pr(e) {
|
|
1337
|
+
return e.type === E.date;
|
|
1305
1338
|
}
|
|
1306
|
-
function
|
|
1307
|
-
return e.type ===
|
|
1339
|
+
function br(e) {
|
|
1340
|
+
return e.type === E.time;
|
|
1308
1341
|
}
|
|
1309
|
-
function
|
|
1310
|
-
return e.type ===
|
|
1342
|
+
function gr(e) {
|
|
1343
|
+
return e.type === E.select;
|
|
1311
1344
|
}
|
|
1312
|
-
function
|
|
1313
|
-
return e.type ===
|
|
1345
|
+
function yr(e) {
|
|
1346
|
+
return e.type === E.plural;
|
|
1314
1347
|
}
|
|
1315
|
-
function
|
|
1316
|
-
return e.type ===
|
|
1348
|
+
function di(e) {
|
|
1349
|
+
return e.type === E.pound;
|
|
1317
1350
|
}
|
|
1318
|
-
function
|
|
1319
|
-
return e.type ===
|
|
1351
|
+
function vr(e) {
|
|
1352
|
+
return e.type === E.tag;
|
|
1320
1353
|
}
|
|
1321
|
-
function
|
|
1322
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1354
|
+
function _r(e) {
|
|
1355
|
+
return !!(e && typeof e == "object" && e.type === re.number);
|
|
1323
1356
|
}
|
|
1324
|
-
function
|
|
1325
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1357
|
+
function it(e) {
|
|
1358
|
+
return !!(e && typeof e == "object" && e.type === re.dateTime);
|
|
1326
1359
|
}
|
|
1327
|
-
var
|
|
1328
|
-
function
|
|
1360
|
+
var xr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, pi = /(?:[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;
|
|
1361
|
+
function bi(e) {
|
|
1329
1362
|
var t = {};
|
|
1330
|
-
return e.replace(
|
|
1363
|
+
return e.replace(pi, function(r) {
|
|
1331
1364
|
var n = r.length;
|
|
1332
1365
|
switch (r[0]) {
|
|
1333
1366
|
case "G":
|
|
@@ -1416,11 +1449,21 @@ function ci(e) {
|
|
|
1416
1449
|
return "";
|
|
1417
1450
|
}), t;
|
|
1418
1451
|
}
|
|
1419
|
-
var
|
|
1420
|
-
function
|
|
1452
|
+
var S = function() {
|
|
1453
|
+
return S = Object.assign || function(t) {
|
|
1454
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1455
|
+
r = arguments[n];
|
|
1456
|
+
for (var o in r)
|
|
1457
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1458
|
+
}
|
|
1459
|
+
return t;
|
|
1460
|
+
}, S.apply(this, arguments);
|
|
1461
|
+
};
|
|
1462
|
+
var gi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1463
|
+
function yi(e) {
|
|
1421
1464
|
if (e.length === 0)
|
|
1422
1465
|
throw new Error("Number skeleton cannot be empty");
|
|
1423
|
-
for (var t = e.split(
|
|
1466
|
+
for (var t = e.split(gi).filter(function(c) {
|
|
1424
1467
|
return c.length > 0;
|
|
1425
1468
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1426
1469
|
var o = i[n], a = o.split("/");
|
|
@@ -1435,17 +1478,17 @@ function mi(e) {
|
|
|
1435
1478
|
}
|
|
1436
1479
|
return r;
|
|
1437
1480
|
}
|
|
1438
|
-
function
|
|
1481
|
+
function vi(e) {
|
|
1439
1482
|
return e.replace(/^(.*?)-/, "");
|
|
1440
1483
|
}
|
|
1441
|
-
var
|
|
1442
|
-
function
|
|
1484
|
+
var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Er = /^(@+)?(\+|#+)?[rs]?$/g, _i = /(\*)(0+)|(#+)(0+)|(0+)/g, wr = /^(0+)$/;
|
|
1485
|
+
function Ct(e) {
|
|
1443
1486
|
var t = {};
|
|
1444
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1487
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Er, function(r, n, i) {
|
|
1445
1488
|
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)), "";
|
|
1446
1489
|
}), t;
|
|
1447
1490
|
}
|
|
1448
|
-
function
|
|
1491
|
+
function Sr(e) {
|
|
1449
1492
|
switch (e) {
|
|
1450
1493
|
case "sign-auto":
|
|
1451
1494
|
return {
|
|
@@ -1485,7 +1528,7 @@ function vr(e) {
|
|
|
1485
1528
|
};
|
|
1486
1529
|
}
|
|
1487
1530
|
}
|
|
1488
|
-
function
|
|
1531
|
+
function xi(e) {
|
|
1489
1532
|
var t;
|
|
1490
1533
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1491
1534
|
notation: "engineering"
|
|
@@ -1493,17 +1536,17 @@ function bi(e) {
|
|
|
1493
1536
|
notation: "scientific"
|
|
1494
1537
|
}, e = e.slice(1)), t) {
|
|
1495
1538
|
var r = e.slice(0, 2);
|
|
1496
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1539
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wr.test(e))
|
|
1497
1540
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1498
1541
|
t.minimumIntegerDigits = e.length;
|
|
1499
1542
|
}
|
|
1500
1543
|
return t;
|
|
1501
1544
|
}
|
|
1502
|
-
function
|
|
1503
|
-
var t = {}, r =
|
|
1545
|
+
function Gt(e) {
|
|
1546
|
+
var t = {}, r = Sr(e);
|
|
1504
1547
|
return r || t;
|
|
1505
1548
|
}
|
|
1506
|
-
function
|
|
1549
|
+
function Ei(e) {
|
|
1507
1550
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1508
1551
|
var i = n[r];
|
|
1509
1552
|
switch (i.stem) {
|
|
@@ -1527,7 +1570,7 @@ function gi(e) {
|
|
|
1527
1570
|
continue;
|
|
1528
1571
|
case "measure-unit":
|
|
1529
1572
|
case "unit":
|
|
1530
|
-
t.style = "unit", t.unit =
|
|
1573
|
+
t.style = "unit", t.unit = vi(i.options[0]);
|
|
1531
1574
|
continue;
|
|
1532
1575
|
case "compact-short":
|
|
1533
1576
|
case "K":
|
|
@@ -1538,13 +1581,13 @@ function gi(e) {
|
|
|
1538
1581
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1539
1582
|
continue;
|
|
1540
1583
|
case "scientific":
|
|
1541
|
-
t =
|
|
1542
|
-
return
|
|
1584
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, l) {
|
|
1585
|
+
return S(S({}, h), Gt(l));
|
|
1543
1586
|
}, {}));
|
|
1544
1587
|
continue;
|
|
1545
1588
|
case "engineering":
|
|
1546
|
-
t =
|
|
1547
|
-
return
|
|
1589
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, l) {
|
|
1590
|
+
return S(S({}, h), Gt(l));
|
|
1548
1591
|
}, {}));
|
|
1549
1592
|
continue;
|
|
1550
1593
|
case "notation-simple":
|
|
@@ -1589,7 +1632,7 @@ function gi(e) {
|
|
|
1589
1632
|
case "integer-width":
|
|
1590
1633
|
if (i.options.length > 1)
|
|
1591
1634
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1592
|
-
i.options[0].replace(
|
|
1635
|
+
i.options[0].replace(_i, function(h, l, u, f, c, m) {
|
|
1593
1636
|
if (l)
|
|
1594
1637
|
t.minimumIntegerDigits = u.length;
|
|
1595
1638
|
else {
|
|
@@ -1602,28 +1645,28 @@ function gi(e) {
|
|
|
1602
1645
|
});
|
|
1603
1646
|
continue;
|
|
1604
1647
|
}
|
|
1605
|
-
if (
|
|
1648
|
+
if (wr.test(i.stem)) {
|
|
1606
1649
|
t.minimumIntegerDigits = i.stem.length;
|
|
1607
1650
|
continue;
|
|
1608
1651
|
}
|
|
1609
|
-
if (
|
|
1652
|
+
if (Mt.test(i.stem)) {
|
|
1610
1653
|
if (i.options.length > 1)
|
|
1611
1654
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1612
|
-
i.stem.replace(
|
|
1655
|
+
i.stem.replace(Mt, function(h, l, u, f, c, m) {
|
|
1613
1656
|
return u === "*" ? t.minimumFractionDigits = l.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
|
1614
1657
|
});
|
|
1615
1658
|
var o = i.options[0];
|
|
1616
|
-
o === "w" ? t =
|
|
1659
|
+
o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ct(o)));
|
|
1617
1660
|
continue;
|
|
1618
1661
|
}
|
|
1619
|
-
if (
|
|
1620
|
-
t =
|
|
1662
|
+
if (Er.test(i.stem)) {
|
|
1663
|
+
t = S(S({}, t), Ct(i.stem));
|
|
1621
1664
|
continue;
|
|
1622
1665
|
}
|
|
1623
|
-
var a =
|
|
1624
|
-
a && (t =
|
|
1625
|
-
var s =
|
|
1626
|
-
s && (t =
|
|
1666
|
+
var a = Sr(i.stem);
|
|
1667
|
+
a && (t = S(S({}, t), a));
|
|
1668
|
+
var s = xi(i.stem);
|
|
1669
|
+
s && (t = S(S({}, t), s));
|
|
1627
1670
|
}
|
|
1628
1671
|
return t;
|
|
1629
1672
|
}
|
|
@@ -3042,13 +3085,13 @@ var xe = {
|
|
|
3042
3085
|
"h"
|
|
3043
3086
|
]
|
|
3044
3087
|
};
|
|
3045
|
-
function
|
|
3088
|
+
function wi(e, t) {
|
|
3046
3089
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3047
3090
|
var i = e.charAt(n);
|
|
3048
3091
|
if (i === "j") {
|
|
3049
3092
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3050
3093
|
o++, n++;
|
|
3051
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l =
|
|
3094
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", l = Si(t);
|
|
3052
3095
|
for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
|
|
3053
3096
|
r += h;
|
|
3054
3097
|
for (; a-- > 0; )
|
|
@@ -3058,7 +3101,7 @@ function yi(e, t) {
|
|
|
3058
3101
|
}
|
|
3059
3102
|
return r;
|
|
3060
3103
|
}
|
|
3061
|
-
function
|
|
3104
|
+
function Si(e) {
|
|
3062
3105
|
var t = e.hourCycle;
|
|
3063
3106
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3064
3107
|
e.hourCycles && // @ts-ignore
|
|
@@ -3080,20 +3123,20 @@ function vi(e) {
|
|
|
3080
3123
|
var i = xe[n || ""] || xe[r || ""] || xe["".concat(r, "-001")] || xe["001"];
|
|
3081
3124
|
return i[0];
|
|
3082
3125
|
}
|
|
3083
|
-
var
|
|
3126
|
+
var We, Ti = new RegExp("^".concat(xr.source, "*")), Hi = new RegExp("".concat(xr.source, "*$"));
|
|
3084
3127
|
function v(e, t) {
|
|
3085
3128
|
return { start: e, end: t };
|
|
3086
3129
|
}
|
|
3087
|
-
var
|
|
3130
|
+
var Bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ai = !!String.fromCodePoint, Pi = !!Object.fromEntries, Oi = !!String.prototype.codePointAt, Ri = !!String.prototype.trimStart, Ii = !!String.prototype.trimEnd, Ni = !!Number.isSafeInteger, Li = Ni ? Number.isSafeInteger : function(e) {
|
|
3088
3131
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3089
|
-
},
|
|
3132
|
+
}, ot = !0;
|
|
3090
3133
|
try {
|
|
3091
|
-
var
|
|
3092
|
-
|
|
3134
|
+
var Mi = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3135
|
+
ot = ((We = Mi.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
|
|
3093
3136
|
} catch (e) {
|
|
3094
|
-
|
|
3137
|
+
ot = !1;
|
|
3095
3138
|
}
|
|
3096
|
-
var
|
|
3139
|
+
var Ut = Bi ? (
|
|
3097
3140
|
// Native
|
|
3098
3141
|
function(t, r, n) {
|
|
3099
3142
|
return t.startsWith(r, n);
|
|
@@ -3103,7 +3146,7 @@ var Nt = Ei ? (
|
|
|
3103
3146
|
function(t, r, n) {
|
|
3104
3147
|
return t.slice(n, n + r.length) === r;
|
|
3105
3148
|
}
|
|
3106
|
-
),
|
|
3149
|
+
), at = Ai ? String.fromCodePoint : (
|
|
3107
3150
|
// IE11
|
|
3108
3151
|
function() {
|
|
3109
3152
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3115,9 +3158,9 @@ var Nt = Ei ? (
|
|
|
3115
3158
|
}
|
|
3116
3159
|
return n;
|
|
3117
3160
|
}
|
|
3118
|
-
),
|
|
3161
|
+
), $t = (
|
|
3119
3162
|
// native
|
|
3120
|
-
|
|
3163
|
+
Pi ? Object.fromEntries : (
|
|
3121
3164
|
// Ponyfill
|
|
3122
3165
|
function(t) {
|
|
3123
3166
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3127,7 +3170,7 @@ var Nt = Ei ? (
|
|
|
3127
3170
|
return r;
|
|
3128
3171
|
}
|
|
3129
3172
|
)
|
|
3130
|
-
),
|
|
3173
|
+
), Tr = Oi ? (
|
|
3131
3174
|
// Native
|
|
3132
3175
|
function(t, r) {
|
|
3133
3176
|
return t.codePointAt(r);
|
|
@@ -3141,7 +3184,7 @@ var Nt = Ei ? (
|
|
|
3141
3184
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3142
3185
|
}
|
|
3143
3186
|
}
|
|
3144
|
-
),
|
|
3187
|
+
), Ci = Ri ? (
|
|
3145
3188
|
// Native
|
|
3146
3189
|
function(t) {
|
|
3147
3190
|
return t.trimStart();
|
|
@@ -3149,9 +3192,9 @@ var Nt = Ei ? (
|
|
|
3149
3192
|
) : (
|
|
3150
3193
|
// Ponyfill
|
|
3151
3194
|
function(t) {
|
|
3152
|
-
return t.replace(
|
|
3195
|
+
return t.replace(Ti, "");
|
|
3153
3196
|
}
|
|
3154
|
-
),
|
|
3197
|
+
), Gi = Ii ? (
|
|
3155
3198
|
// Native
|
|
3156
3199
|
function(t) {
|
|
3157
3200
|
return t.trimEnd();
|
|
@@ -3159,32 +3202,32 @@ var Nt = Ei ? (
|
|
|
3159
3202
|
) : (
|
|
3160
3203
|
// Ponyfill
|
|
3161
3204
|
function(t) {
|
|
3162
|
-
return t.replace(
|
|
3205
|
+
return t.replace(Hi, "");
|
|
3163
3206
|
}
|
|
3164
3207
|
);
|
|
3165
|
-
function
|
|
3208
|
+
function Hr(e, t) {
|
|
3166
3209
|
return new RegExp(e, t);
|
|
3167
3210
|
}
|
|
3168
|
-
var
|
|
3169
|
-
if (
|
|
3170
|
-
var
|
|
3171
|
-
|
|
3211
|
+
var st;
|
|
3212
|
+
if (ot) {
|
|
3213
|
+
var Ft = Hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3214
|
+
st = function(t, r) {
|
|
3172
3215
|
var n;
|
|
3173
|
-
|
|
3174
|
-
var i =
|
|
3216
|
+
Ft.lastIndex = r;
|
|
3217
|
+
var i = Ft.exec(t);
|
|
3175
3218
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3176
3219
|
};
|
|
3177
3220
|
} else
|
|
3178
|
-
|
|
3221
|
+
st = function(t, r) {
|
|
3179
3222
|
for (var n = []; ; ) {
|
|
3180
|
-
var i =
|
|
3181
|
-
if (i === void 0 ||
|
|
3223
|
+
var i = Tr(t, r);
|
|
3224
|
+
if (i === void 0 || Br(i) || Di(i))
|
|
3182
3225
|
break;
|
|
3183
3226
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3184
3227
|
}
|
|
3185
|
-
return
|
|
3228
|
+
return at.apply(void 0, n);
|
|
3186
3229
|
};
|
|
3187
|
-
var
|
|
3230
|
+
var Ui = (
|
|
3188
3231
|
/** @class */
|
|
3189
3232
|
function() {
|
|
3190
3233
|
function e(t, r) {
|
|
@@ -3208,14 +3251,14 @@ var Ni = (
|
|
|
3208
3251
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3209
3252
|
var s = this.clonePosition();
|
|
3210
3253
|
this.bump(), i.push({
|
|
3211
|
-
type:
|
|
3254
|
+
type: E.pound,
|
|
3212
3255
|
location: v(s, this.clonePosition())
|
|
3213
3256
|
});
|
|
3214
3257
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3215
3258
|
if (n)
|
|
3216
3259
|
break;
|
|
3217
3260
|
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3218
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3261
|
+
} else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
|
|
3219
3262
|
var a = this.parseTag(t, r);
|
|
3220
3263
|
if (a.err)
|
|
3221
3264
|
return a;
|
|
@@ -3236,7 +3279,7 @@ var Ni = (
|
|
|
3236
3279
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3237
3280
|
return {
|
|
3238
3281
|
val: {
|
|
3239
|
-
type:
|
|
3282
|
+
type: E.literal,
|
|
3240
3283
|
value: "<".concat(i, "/>"),
|
|
3241
3284
|
location: v(n, this.clonePosition())
|
|
3242
3285
|
},
|
|
@@ -3248,12 +3291,12 @@ var Ni = (
|
|
|
3248
3291
|
return o;
|
|
3249
3292
|
var a = o.val, s = this.clonePosition();
|
|
3250
3293
|
if (this.bumpIf("</")) {
|
|
3251
|
-
if (this.isEOF() || !
|
|
3294
|
+
if (this.isEOF() || !ut(this.char()))
|
|
3252
3295
|
return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
|
|
3253
3296
|
var h = this.clonePosition(), l = this.parseTagName();
|
|
3254
3297
|
return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3255
3298
|
val: {
|
|
3256
|
-
type:
|
|
3299
|
+
type: E.tag,
|
|
3257
3300
|
value: i,
|
|
3258
3301
|
children: a,
|
|
3259
3302
|
location: v(n, this.clonePosition())
|
|
@@ -3266,7 +3309,7 @@ var Ni = (
|
|
|
3266
3309
|
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
|
3267
3310
|
}, e.prototype.parseTagName = function() {
|
|
3268
3311
|
var t = this.offset();
|
|
3269
|
-
for (this.bump(); !this.isEOF() &&
|
|
3312
|
+
for (this.bump(); !this.isEOF() && Fi(this.char()); )
|
|
3270
3313
|
this.bump();
|
|
3271
3314
|
return this.message.slice(t, this.offset());
|
|
3272
3315
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3290,12 +3333,12 @@ var Ni = (
|
|
|
3290
3333
|
}
|
|
3291
3334
|
var h = v(n, this.clonePosition());
|
|
3292
3335
|
return {
|
|
3293
|
-
val: { type:
|
|
3336
|
+
val: { type: E.literal, value: i, location: h },
|
|
3294
3337
|
err: null
|
|
3295
3338
|
};
|
|
3296
3339
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3297
3340
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3298
|
-
|
|
3341
|
+
!$i(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3299
3342
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3300
3343
|
if (this.isEOF() || this.char() !== 39)
|
|
3301
3344
|
return null;
|
|
@@ -3329,12 +3372,12 @@ var Ni = (
|
|
|
3329
3372
|
r.push(n);
|
|
3330
3373
|
this.bump();
|
|
3331
3374
|
}
|
|
3332
|
-
return
|
|
3375
|
+
return at.apply(void 0, r);
|
|
3333
3376
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3334
3377
|
if (this.isEOF())
|
|
3335
3378
|
return null;
|
|
3336
3379
|
var n = this.char();
|
|
3337
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3380
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), at(n));
|
|
3338
3381
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3339
3382
|
var n = this.clonePosition();
|
|
3340
3383
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3350,7 +3393,7 @@ var Ni = (
|
|
|
3350
3393
|
case 125:
|
|
3351
3394
|
return this.bump(), {
|
|
3352
3395
|
val: {
|
|
3353
|
-
type:
|
|
3396
|
+
type: E.argument,
|
|
3354
3397
|
// value does not include the opening and closing braces.
|
|
3355
3398
|
value: i,
|
|
3356
3399
|
location: v(n, this.clonePosition())
|
|
@@ -3363,7 +3406,7 @@ var Ni = (
|
|
|
3363
3406
|
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3364
3407
|
}
|
|
3365
3408
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3366
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3409
|
+
var t = this.clonePosition(), r = this.offset(), n = st(this.message, r), i = r + n.length;
|
|
3367
3410
|
this.bumpTo(i);
|
|
3368
3411
|
var o = this.clonePosition(), a = v(t, o);
|
|
3369
3412
|
return { value: n, location: a };
|
|
@@ -3382,7 +3425,7 @@ var Ni = (
|
|
|
3382
3425
|
var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3383
3426
|
if (f.err)
|
|
3384
3427
|
return f;
|
|
3385
|
-
var c =
|
|
3428
|
+
var c = Gi(f.val);
|
|
3386
3429
|
if (c.length === 0)
|
|
3387
3430
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3388
3431
|
var m = v(u, this.clonePosition());
|
|
@@ -3392,25 +3435,25 @@ var Ni = (
|
|
|
3392
3435
|
if (d.err)
|
|
3393
3436
|
return d;
|
|
3394
3437
|
var p = v(i, this.clonePosition());
|
|
3395
|
-
if (l &&
|
|
3396
|
-
var A =
|
|
3438
|
+
if (l && Ut(l == null ? void 0 : l.style, "::", 0)) {
|
|
3439
|
+
var A = Ci(l.style.slice(2));
|
|
3397
3440
|
if (s === "number") {
|
|
3398
3441
|
var f = this.parseNumberSkeletonFromString(A, l.styleLocation);
|
|
3399
3442
|
return f.err ? f : {
|
|
3400
|
-
val: { type:
|
|
3443
|
+
val: { type: E.number, value: n, location: p, style: f.val },
|
|
3401
3444
|
err: null
|
|
3402
3445
|
};
|
|
3403
3446
|
} else {
|
|
3404
3447
|
if (A.length === 0)
|
|
3405
3448
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, p);
|
|
3406
3449
|
var H = A;
|
|
3407
|
-
this.locale && (H =
|
|
3450
|
+
this.locale && (H = wi(A, this.locale));
|
|
3408
3451
|
var c = {
|
|
3409
|
-
type:
|
|
3452
|
+
type: re.dateTime,
|
|
3410
3453
|
pattern: H,
|
|
3411
3454
|
location: l.styleLocation,
|
|
3412
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3413
|
-
}, T = s === "date" ?
|
|
3455
|
+
parsedOptions: this.shouldParseSkeletons ? bi(H) : {}
|
|
3456
|
+
}, T = s === "date" ? E.date : E.time;
|
|
3414
3457
|
return {
|
|
3415
3458
|
val: { type: T, value: n, location: p, style: c },
|
|
3416
3459
|
err: null
|
|
@@ -3419,7 +3462,7 @@ var Ni = (
|
|
|
3419
3462
|
}
|
|
3420
3463
|
return {
|
|
3421
3464
|
val: {
|
|
3422
|
-
type: s === "number" ?
|
|
3465
|
+
type: s === "number" ? E.number : s === "date" ? E.date : E.time,
|
|
3423
3466
|
value: n,
|
|
3424
3467
|
location: p,
|
|
3425
3468
|
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
|
@@ -3432,7 +3475,7 @@ var Ni = (
|
|
|
3432
3475
|
case "select": {
|
|
3433
3476
|
var B = this.clonePosition();
|
|
3434
3477
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3435
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B,
|
|
3478
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(B, Pe({}, B)));
|
|
3436
3479
|
this.bumpSpace();
|
|
3437
3480
|
var L = this.parseIdentifierIfPossible(), M = 0;
|
|
3438
3481
|
if (s !== "select" && L.value === "offset") {
|
|
@@ -3444,26 +3487,26 @@ var Ni = (
|
|
|
3444
3487
|
return f;
|
|
3445
3488
|
this.bumpSpace(), L = this.parseIdentifierIfPossible(), M = f.val;
|
|
3446
3489
|
}
|
|
3447
|
-
var
|
|
3448
|
-
if (
|
|
3449
|
-
return
|
|
3490
|
+
var U = this.tryParsePluralOrSelectOptions(t, s, r, L);
|
|
3491
|
+
if (U.err)
|
|
3492
|
+
return U;
|
|
3450
3493
|
var d = this.tryParseArgumentClose(i);
|
|
3451
3494
|
if (d.err)
|
|
3452
3495
|
return d;
|
|
3453
3496
|
var be = v(i, this.clonePosition());
|
|
3454
3497
|
return s === "select" ? {
|
|
3455
3498
|
val: {
|
|
3456
|
-
type:
|
|
3499
|
+
type: E.select,
|
|
3457
3500
|
value: n,
|
|
3458
|
-
options:
|
|
3501
|
+
options: $t(U.val),
|
|
3459
3502
|
location: be
|
|
3460
3503
|
},
|
|
3461
3504
|
err: null
|
|
3462
3505
|
} : {
|
|
3463
3506
|
val: {
|
|
3464
|
-
type:
|
|
3507
|
+
type: E.plural,
|
|
3465
3508
|
value: n,
|
|
3466
|
-
options:
|
|
3509
|
+
options: $t(U.val),
|
|
3467
3510
|
offset: M,
|
|
3468
3511
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3469
3512
|
location: be
|
|
@@ -3514,16 +3557,16 @@ var Ni = (
|
|
|
3514
3557
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3515
3558
|
var n = [];
|
|
3516
3559
|
try {
|
|
3517
|
-
n =
|
|
3560
|
+
n = yi(t);
|
|
3518
3561
|
} catch (i) {
|
|
3519
3562
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3520
3563
|
}
|
|
3521
3564
|
return {
|
|
3522
3565
|
val: {
|
|
3523
|
-
type:
|
|
3566
|
+
type: re.number,
|
|
3524
3567
|
tokens: n,
|
|
3525
3568
|
location: r,
|
|
3526
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3569
|
+
parsedOptions: this.shouldParseSkeletons ? Ei(n) : {}
|
|
3527
3570
|
},
|
|
3528
3571
|
err: null
|
|
3529
3572
|
};
|
|
@@ -3571,7 +3614,7 @@ var Ni = (
|
|
|
3571
3614
|
break;
|
|
3572
3615
|
}
|
|
3573
3616
|
var h = v(i, this.clonePosition());
|
|
3574
|
-
return o ? (a *= n,
|
|
3617
|
+
return o ? (a *= n, Li(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3575
3618
|
}, e.prototype.offset = function() {
|
|
3576
3619
|
return this.position.offset;
|
|
3577
3620
|
}, e.prototype.isEOF = function() {
|
|
@@ -3586,7 +3629,7 @@ var Ni = (
|
|
|
3586
3629
|
var t = this.position.offset;
|
|
3587
3630
|
if (t >= this.message.length)
|
|
3588
3631
|
throw Error("out of bound");
|
|
3589
|
-
var r =
|
|
3632
|
+
var r = Tr(this.message, t);
|
|
3590
3633
|
if (r === void 0)
|
|
3591
3634
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3592
3635
|
return r;
|
|
@@ -3605,7 +3648,7 @@ var Ni = (
|
|
|
3605
3648
|
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);
|
|
3606
3649
|
}
|
|
3607
3650
|
}, e.prototype.bumpIf = function(t) {
|
|
3608
|
-
if (
|
|
3651
|
+
if (Ut(this.message, t, this.offset())) {
|
|
3609
3652
|
for (var r = 0; r < t.length; r++)
|
|
3610
3653
|
this.bump();
|
|
3611
3654
|
return !0;
|
|
@@ -3627,7 +3670,7 @@ var Ni = (
|
|
|
3627
3670
|
break;
|
|
3628
3671
|
}
|
|
3629
3672
|
}, e.prototype.bumpSpace = function() {
|
|
3630
|
-
for (; !this.isEOF() &&
|
|
3673
|
+
for (; !this.isEOF() && Br(this.char()); )
|
|
3631
3674
|
this.bump();
|
|
3632
3675
|
}, e.prototype.peek = function() {
|
|
3633
3676
|
if (this.isEOF())
|
|
@@ -3637,47 +3680,47 @@ var Ni = (
|
|
|
3637
3680
|
}, e;
|
|
3638
3681
|
}()
|
|
3639
3682
|
);
|
|
3640
|
-
function
|
|
3683
|
+
function ut(e) {
|
|
3641
3684
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3642
3685
|
}
|
|
3643
|
-
function
|
|
3644
|
-
return
|
|
3686
|
+
function $i(e) {
|
|
3687
|
+
return ut(e) || e === 47;
|
|
3645
3688
|
}
|
|
3646
|
-
function
|
|
3689
|
+
function Fi(e) {
|
|
3647
3690
|
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;
|
|
3648
3691
|
}
|
|
3649
|
-
function
|
|
3692
|
+
function Br(e) {
|
|
3650
3693
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3651
3694
|
}
|
|
3652
|
-
function
|
|
3695
|
+
function Di(e) {
|
|
3653
3696
|
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;
|
|
3654
3697
|
}
|
|
3655
|
-
function
|
|
3698
|
+
function lt(e) {
|
|
3656
3699
|
e.forEach(function(t) {
|
|
3657
|
-
if (delete t.location,
|
|
3700
|
+
if (delete t.location, gr(t) || yr(t))
|
|
3658
3701
|
for (var r in t.options)
|
|
3659
|
-
delete t.options[r].location,
|
|
3702
|
+
delete t.options[r].location, lt(t.options[r].value);
|
|
3660
3703
|
else
|
|
3661
|
-
|
|
3704
|
+
dr(t) && _r(t.style) || (pr(t) || br(t)) && it(t.style) ? delete t.style.location : vr(t) && lt(t.children);
|
|
3662
3705
|
});
|
|
3663
3706
|
}
|
|
3664
|
-
function
|
|
3665
|
-
t === void 0 && (t = {}), t =
|
|
3666
|
-
var r = new
|
|
3707
|
+
function ji(e, t) {
|
|
3708
|
+
t === void 0 && (t = {}), t = Pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3709
|
+
var r = new Ui(e, t).parse();
|
|
3667
3710
|
if (r.err) {
|
|
3668
3711
|
var n = SyntaxError(y[r.err.kind]);
|
|
3669
3712
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3670
3713
|
}
|
|
3671
|
-
return t != null && t.captureLocation ||
|
|
3714
|
+
return t != null && t.captureLocation || lt(r.val), r.val;
|
|
3672
3715
|
}
|
|
3673
|
-
var
|
|
3716
|
+
var ne;
|
|
3674
3717
|
(function(e) {
|
|
3675
3718
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3676
|
-
})(
|
|
3677
|
-
var
|
|
3719
|
+
})(ne || (ne = {}));
|
|
3720
|
+
var Me = (
|
|
3678
3721
|
/** @class */
|
|
3679
3722
|
function(e) {
|
|
3680
|
-
|
|
3723
|
+
Le(t, e);
|
|
3681
3724
|
function t(r, n, i) {
|
|
3682
3725
|
var o = e.call(this, r) || this;
|
|
3683
3726
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3686,48 +3729,48 @@ var Ne = (
|
|
|
3686
3729
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3687
3730
|
}, t;
|
|
3688
3731
|
}(Error)
|
|
3689
|
-
),
|
|
3732
|
+
), Dt = (
|
|
3690
3733
|
/** @class */
|
|
3691
3734
|
function(e) {
|
|
3692
|
-
|
|
3735
|
+
Le(t, e);
|
|
3693
3736
|
function t(r, n, i, o) {
|
|
3694
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3737
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ne.INVALID_VALUE, o) || this;
|
|
3695
3738
|
}
|
|
3696
3739
|
return t;
|
|
3697
|
-
}(
|
|
3698
|
-
),
|
|
3740
|
+
}(Me)
|
|
3741
|
+
), ki = (
|
|
3699
3742
|
/** @class */
|
|
3700
3743
|
function(e) {
|
|
3701
|
-
|
|
3744
|
+
Le(t, e);
|
|
3702
3745
|
function t(r, n, i) {
|
|
3703
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3746
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ne.INVALID_VALUE, i) || this;
|
|
3704
3747
|
}
|
|
3705
3748
|
return t;
|
|
3706
|
-
}(
|
|
3707
|
-
),
|
|
3749
|
+
}(Me)
|
|
3750
|
+
), Vi = (
|
|
3708
3751
|
/** @class */
|
|
3709
3752
|
function(e) {
|
|
3710
|
-
|
|
3753
|
+
Le(t, e);
|
|
3711
3754
|
function t(r, n) {
|
|
3712
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3755
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ne.MISSING_VALUE, n) || this;
|
|
3713
3756
|
}
|
|
3714
3757
|
return t;
|
|
3715
|
-
}(
|
|
3758
|
+
}(Me)
|
|
3716
3759
|
), P;
|
|
3717
3760
|
(function(e) {
|
|
3718
3761
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3719
3762
|
})(P || (P = {}));
|
|
3720
|
-
function
|
|
3763
|
+
function Wi(e) {
|
|
3721
3764
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3722
3765
|
var n = t[t.length - 1];
|
|
3723
3766
|
return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
|
|
3724
3767
|
}, []);
|
|
3725
3768
|
}
|
|
3726
|
-
function
|
|
3769
|
+
function Xi(e) {
|
|
3727
3770
|
return typeof e == "function";
|
|
3728
3771
|
}
|
|
3729
3772
|
function Te(e, t, r, n, i, o, a) {
|
|
3730
|
-
if (e.length === 1 &&
|
|
3773
|
+
if (e.length === 1 && Lt(e[0]))
|
|
3731
3774
|
return [
|
|
3732
3775
|
{
|
|
3733
3776
|
type: P.literal,
|
|
@@ -3736,14 +3779,14 @@ function Te(e, t, r, n, i, o, a) {
|
|
|
3736
3779
|
];
|
|
3737
3780
|
for (var s = [], h = 0, l = e; h < l.length; h++) {
|
|
3738
3781
|
var u = l[h];
|
|
3739
|
-
if (
|
|
3782
|
+
if (Lt(u)) {
|
|
3740
3783
|
s.push({
|
|
3741
3784
|
type: P.literal,
|
|
3742
3785
|
value: u.value
|
|
3743
3786
|
});
|
|
3744
3787
|
continue;
|
|
3745
3788
|
}
|
|
3746
|
-
if (
|
|
3789
|
+
if (di(u)) {
|
|
3747
3790
|
typeof o == "number" && s.push({
|
|
3748
3791
|
type: P.literal,
|
|
3749
3792
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3752,43 +3795,43 @@ function Te(e, t, r, n, i, o, a) {
|
|
|
3752
3795
|
}
|
|
3753
3796
|
var f = u.value;
|
|
3754
3797
|
if (!(i && f in i))
|
|
3755
|
-
throw new
|
|
3798
|
+
throw new Vi(f, a);
|
|
3756
3799
|
var c = i[f];
|
|
3757
|
-
if (
|
|
3800
|
+
if (mi(u)) {
|
|
3758
3801
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3759
3802
|
type: typeof c == "string" ? P.literal : P.object,
|
|
3760
3803
|
value: c
|
|
3761
3804
|
});
|
|
3762
3805
|
continue;
|
|
3763
3806
|
}
|
|
3764
|
-
if (
|
|
3765
|
-
var m = typeof u.style == "string" ? n.date[u.style] :
|
|
3807
|
+
if (pr(u)) {
|
|
3808
|
+
var m = typeof u.style == "string" ? n.date[u.style] : it(u.style) ? u.style.parsedOptions : void 0;
|
|
3766
3809
|
s.push({
|
|
3767
3810
|
type: P.literal,
|
|
3768
3811
|
value: r.getDateTimeFormat(t, m).format(c)
|
|
3769
3812
|
});
|
|
3770
3813
|
continue;
|
|
3771
3814
|
}
|
|
3772
|
-
if (
|
|
3773
|
-
var m = typeof u.style == "string" ? n.time[u.style] :
|
|
3815
|
+
if (br(u)) {
|
|
3816
|
+
var m = typeof u.style == "string" ? n.time[u.style] : it(u.style) ? u.style.parsedOptions : n.time.medium;
|
|
3774
3817
|
s.push({
|
|
3775
3818
|
type: P.literal,
|
|
3776
3819
|
value: r.getDateTimeFormat(t, m).format(c)
|
|
3777
3820
|
});
|
|
3778
3821
|
continue;
|
|
3779
3822
|
}
|
|
3780
|
-
if (
|
|
3781
|
-
var m = typeof u.style == "string" ? n.number[u.style] :
|
|
3823
|
+
if (dr(u)) {
|
|
3824
|
+
var m = typeof u.style == "string" ? n.number[u.style] : _r(u.style) ? u.style.parsedOptions : void 0;
|
|
3782
3825
|
m && m.scale && (c = c * (m.scale || 1)), s.push({
|
|
3783
3826
|
type: P.literal,
|
|
3784
3827
|
value: r.getNumberFormat(t, m).format(c)
|
|
3785
3828
|
});
|
|
3786
3829
|
continue;
|
|
3787
3830
|
}
|
|
3788
|
-
if (
|
|
3831
|
+
if (vr(u)) {
|
|
3789
3832
|
var d = u.children, p = u.value, A = i[p];
|
|
3790
|
-
if (
|
|
3791
|
-
throw new
|
|
3833
|
+
if (!Xi(A))
|
|
3834
|
+
throw new ki(p, "function", a);
|
|
3792
3835
|
var H = Te(d, t, r, n, i, o), T = A(H.map(function(M) {
|
|
3793
3836
|
return M.value;
|
|
3794
3837
|
}));
|
|
@@ -3799,42 +3842,42 @@ function Te(e, t, r, n, i, o, a) {
|
|
|
3799
3842
|
};
|
|
3800
3843
|
}));
|
|
3801
3844
|
}
|
|
3802
|
-
if (
|
|
3845
|
+
if (gr(u)) {
|
|
3803
3846
|
var B = u.options[c] || u.options.other;
|
|
3804
3847
|
if (!B)
|
|
3805
|
-
throw new
|
|
3848
|
+
throw new Dt(u.value, c, Object.keys(u.options), a);
|
|
3806
3849
|
s.push.apply(s, Te(B.value, t, r, n, i));
|
|
3807
3850
|
continue;
|
|
3808
3851
|
}
|
|
3809
|
-
if (
|
|
3852
|
+
if (yr(u)) {
|
|
3810
3853
|
var B = u.options["=".concat(c)];
|
|
3811
3854
|
if (!B) {
|
|
3812
3855
|
if (!Intl.PluralRules)
|
|
3813
|
-
throw new
|
|
3856
|
+
throw new Me(`Intl.PluralRules is not available in this environment.
|
|
3814
3857
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3815
|
-
`,
|
|
3858
|
+
`, ne.MISSING_INTL_API, a);
|
|
3816
3859
|
var L = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
|
|
3817
3860
|
B = u.options[L] || u.options.other;
|
|
3818
3861
|
}
|
|
3819
3862
|
if (!B)
|
|
3820
|
-
throw new
|
|
3863
|
+
throw new Dt(u.value, c, Object.keys(u.options), a);
|
|
3821
3864
|
s.push.apply(s, Te(B.value, t, r, n, i, c - (u.offset || 0)));
|
|
3822
3865
|
continue;
|
|
3823
3866
|
}
|
|
3824
3867
|
}
|
|
3825
|
-
return
|
|
3868
|
+
return Wi(s);
|
|
3826
3869
|
}
|
|
3827
|
-
function
|
|
3828
|
-
return t ?
|
|
3829
|
-
return r[n] =
|
|
3870
|
+
function zi(e, t) {
|
|
3871
|
+
return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3872
|
+
return r[n] = C(C({}, e[n]), t[n] || {}), r;
|
|
3830
3873
|
}, {})) : e;
|
|
3831
3874
|
}
|
|
3832
|
-
function
|
|
3875
|
+
function Ji(e, t) {
|
|
3833
3876
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3834
|
-
return r[n] =
|
|
3835
|
-
},
|
|
3877
|
+
return r[n] = zi(e[n], t[n]), r;
|
|
3878
|
+
}, C({}, e)) : e;
|
|
3836
3879
|
}
|
|
3837
|
-
function
|
|
3880
|
+
function Xe(e) {
|
|
3838
3881
|
return {
|
|
3839
3882
|
create: function() {
|
|
3840
3883
|
return {
|
|
@@ -3848,39 +3891,39 @@ function ke(e) {
|
|
|
3848
3891
|
}
|
|
3849
3892
|
};
|
|
3850
3893
|
}
|
|
3851
|
-
function
|
|
3894
|
+
function Zi(e) {
|
|
3852
3895
|
return e === void 0 && (e = {
|
|
3853
3896
|
number: {},
|
|
3854
3897
|
dateTime: {},
|
|
3855
3898
|
pluralRules: {}
|
|
3856
3899
|
}), {
|
|
3857
|
-
getNumberFormat:
|
|
3900
|
+
getNumberFormat: ke(function() {
|
|
3858
3901
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3859
3902
|
r[n] = arguments[n];
|
|
3860
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3903
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, je([void 0], r, !1)))();
|
|
3861
3904
|
}, {
|
|
3862
|
-
cache:
|
|
3863
|
-
strategy:
|
|
3905
|
+
cache: Xe(e.number),
|
|
3906
|
+
strategy: Ve.variadic
|
|
3864
3907
|
}),
|
|
3865
|
-
getDateTimeFormat:
|
|
3908
|
+
getDateTimeFormat: ke(function() {
|
|
3866
3909
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3867
3910
|
r[n] = arguments[n];
|
|
3868
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3911
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, je([void 0], r, !1)))();
|
|
3869
3912
|
}, {
|
|
3870
|
-
cache:
|
|
3871
|
-
strategy:
|
|
3913
|
+
cache: Xe(e.dateTime),
|
|
3914
|
+
strategy: Ve.variadic
|
|
3872
3915
|
}),
|
|
3873
|
-
getPluralRules:
|
|
3916
|
+
getPluralRules: ke(function() {
|
|
3874
3917
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3875
3918
|
r[n] = arguments[n];
|
|
3876
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3919
|
+
return new ((t = Intl.PluralRules).bind.apply(t, je([void 0], r, !1)))();
|
|
3877
3920
|
}, {
|
|
3878
|
-
cache:
|
|
3879
|
-
strategy:
|
|
3921
|
+
cache: Xe(e.pluralRules),
|
|
3922
|
+
strategy: Ve.variadic
|
|
3880
3923
|
})
|
|
3881
3924
|
};
|
|
3882
3925
|
}
|
|
3883
|
-
var
|
|
3926
|
+
var Qi = (
|
|
3884
3927
|
/** @class */
|
|
3885
3928
|
function() {
|
|
3886
3929
|
function e(t, r, n, i) {
|
|
@@ -3912,13 +3955,13 @@ var Wi = (
|
|
|
3912
3955
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3913
3956
|
var a = i || {};
|
|
3914
3957
|
a.formatters;
|
|
3915
|
-
var s =
|
|
3916
|
-
this.ast = e.__parse(t,
|
|
3958
|
+
var s = oi(a, ["formatters"]);
|
|
3959
|
+
this.ast = e.__parse(t, C(C({}, s), { locale: this.resolvedLocale }));
|
|
3917
3960
|
} else
|
|
3918
3961
|
this.ast = t;
|
|
3919
3962
|
if (!Array.isArray(this.ast))
|
|
3920
3963
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3921
|
-
this.formats =
|
|
3964
|
+
this.formats = Ji(e.formats, n), this.formatters = i && i.formatters || Zi(this.formatterCache);
|
|
3922
3965
|
}
|
|
3923
3966
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3924
3967
|
get: function() {
|
|
@@ -3931,7 +3974,7 @@ var Wi = (
|
|
|
3931
3974
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3932
3975
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3933
3976
|
}
|
|
3934
|
-
}, e.__parse =
|
|
3977
|
+
}, e.__parse = ji, e.formats = {
|
|
3935
3978
|
number: {
|
|
3936
3979
|
integer: {
|
|
3937
3980
|
maximumFractionDigits: 0
|
|
@@ -3992,7 +4035,7 @@ var Wi = (
|
|
|
3992
4035
|
}, e;
|
|
3993
4036
|
}()
|
|
3994
4037
|
);
|
|
3995
|
-
function
|
|
4038
|
+
function Yi(e, t) {
|
|
3996
4039
|
if (t == null)
|
|
3997
4040
|
return;
|
|
3998
4041
|
if (t in e)
|
|
@@ -4013,92 +4056,92 @@ function Xi(e, t) {
|
|
|
4013
4056
|
n = void 0;
|
|
4014
4057
|
return n;
|
|
4015
4058
|
}
|
|
4016
|
-
const j = {},
|
|
4059
|
+
const j = {}, qi = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), Ar = (e, t) => {
|
|
4017
4060
|
if (t == null)
|
|
4018
4061
|
return;
|
|
4019
4062
|
if (t in j && e in j[t])
|
|
4020
4063
|
return j[t][e];
|
|
4021
|
-
const r =
|
|
4064
|
+
const r = Ce(t);
|
|
4022
4065
|
for (let n = 0; n < r.length; n++) {
|
|
4023
|
-
const i = r[n], o =
|
|
4066
|
+
const i = r[n], o = eo(i, e);
|
|
4024
4067
|
if (o)
|
|
4025
|
-
return
|
|
4068
|
+
return qi(e, t, o);
|
|
4026
4069
|
}
|
|
4027
4070
|
};
|
|
4028
|
-
let
|
|
4029
|
-
const
|
|
4030
|
-
function
|
|
4031
|
-
return
|
|
4071
|
+
let mt;
|
|
4072
|
+
const ae = Ne({});
|
|
4073
|
+
function Ki(e) {
|
|
4074
|
+
return mt[e] || null;
|
|
4032
4075
|
}
|
|
4033
|
-
function
|
|
4034
|
-
return e in
|
|
4076
|
+
function Pr(e) {
|
|
4077
|
+
return e in mt;
|
|
4035
4078
|
}
|
|
4036
|
-
function
|
|
4037
|
-
if (!
|
|
4079
|
+
function eo(e, t) {
|
|
4080
|
+
if (!Pr(e))
|
|
4038
4081
|
return null;
|
|
4039
|
-
const r =
|
|
4040
|
-
return
|
|
4082
|
+
const r = Ki(e);
|
|
4083
|
+
return Yi(r, t);
|
|
4041
4084
|
}
|
|
4042
|
-
function
|
|
4085
|
+
function to(e) {
|
|
4043
4086
|
if (e == null)
|
|
4044
4087
|
return;
|
|
4045
|
-
const t =
|
|
4088
|
+
const t = Ce(e);
|
|
4046
4089
|
for (let r = 0; r < t.length; r++) {
|
|
4047
4090
|
const n = t[r];
|
|
4048
|
-
if (
|
|
4091
|
+
if (Pr(n))
|
|
4049
4092
|
return n;
|
|
4050
4093
|
}
|
|
4051
4094
|
}
|
|
4052
|
-
function
|
|
4053
|
-
delete j[e],
|
|
4095
|
+
function Or(e, ...t) {
|
|
4096
|
+
delete j[e], ae.update((r) => (r[e] = ii.all([r[e] || {}, ...t]), r));
|
|
4054
4097
|
}
|
|
4055
|
-
|
|
4056
|
-
[
|
|
4098
|
+
oe(
|
|
4099
|
+
[ae],
|
|
4057
4100
|
([e]) => Object.keys(e)
|
|
4058
4101
|
);
|
|
4059
|
-
|
|
4102
|
+
ae.subscribe((e) => mt = e);
|
|
4060
4103
|
const He = {};
|
|
4061
|
-
function
|
|
4104
|
+
function ro(e, t) {
|
|
4062
4105
|
He[e].delete(t), He[e].size === 0 && delete He[e];
|
|
4063
4106
|
}
|
|
4064
|
-
function
|
|
4107
|
+
function Rr(e) {
|
|
4065
4108
|
return He[e];
|
|
4066
4109
|
}
|
|
4067
|
-
function
|
|
4068
|
-
return
|
|
4069
|
-
const r =
|
|
4110
|
+
function no(e) {
|
|
4111
|
+
return Ce(e).map((t) => {
|
|
4112
|
+
const r = Rr(t);
|
|
4070
4113
|
return [t, r ? [...r] : []];
|
|
4071
4114
|
}).filter(([, t]) => t.length > 0);
|
|
4072
4115
|
}
|
|
4073
|
-
function
|
|
4074
|
-
return e == null ? !1 :
|
|
4116
|
+
function ht(e) {
|
|
4117
|
+
return e == null ? !1 : Ce(e).some(
|
|
4075
4118
|
(t) => {
|
|
4076
4119
|
var r;
|
|
4077
|
-
return (r =
|
|
4120
|
+
return (r = Rr(t)) == null ? void 0 : r.size;
|
|
4078
4121
|
}
|
|
4079
4122
|
);
|
|
4080
4123
|
}
|
|
4081
|
-
function
|
|
4124
|
+
function io(e, t) {
|
|
4082
4125
|
return Promise.all(
|
|
4083
|
-
t.map((n) => (
|
|
4084
|
-
).then((n) =>
|
|
4085
|
-
}
|
|
4086
|
-
const
|
|
4087
|
-
function
|
|
4088
|
-
if (!
|
|
4089
|
-
return e in
|
|
4090
|
-
const t =
|
|
4091
|
-
return
|
|
4126
|
+
t.map((n) => (ro(e, n), n().then((i) => i.default || i)))
|
|
4127
|
+
).then((n) => Or(e, ...n));
|
|
4128
|
+
}
|
|
4129
|
+
const le = {};
|
|
4130
|
+
function Ir(e) {
|
|
4131
|
+
if (!ht(e))
|
|
4132
|
+
return e in le ? le[e] : Promise.resolve();
|
|
4133
|
+
const t = no(e);
|
|
4134
|
+
return le[e] = Promise.all(
|
|
4092
4135
|
t.map(
|
|
4093
|
-
([r, n]) =>
|
|
4136
|
+
([r, n]) => io(r, n)
|
|
4094
4137
|
)
|
|
4095
4138
|
).then(() => {
|
|
4096
|
-
if (
|
|
4097
|
-
return
|
|
4098
|
-
delete
|
|
4099
|
-
}),
|
|
4139
|
+
if (ht(e))
|
|
4140
|
+
return Ir(e);
|
|
4141
|
+
delete le[e];
|
|
4142
|
+
}), le[e];
|
|
4100
4143
|
}
|
|
4101
|
-
const
|
|
4144
|
+
const oo = {
|
|
4102
4145
|
number: {
|
|
4103
4146
|
scientific: { notation: "scientific" },
|
|
4104
4147
|
engineering: { notation: "engineering" },
|
|
@@ -4127,135 +4170,135 @@ const eo = {
|
|
|
4127
4170
|
timeZoneName: "short"
|
|
4128
4171
|
}
|
|
4129
4172
|
}
|
|
4130
|
-
},
|
|
4173
|
+
}, ao = {
|
|
4131
4174
|
fallbackLocale: null,
|
|
4132
4175
|
loadingDelay: 200,
|
|
4133
|
-
formats:
|
|
4176
|
+
formats: oo,
|
|
4134
4177
|
warnOnMissingMessages: !0,
|
|
4135
4178
|
handleMissingMessage: void 0,
|
|
4136
4179
|
ignoreTag: !0
|
|
4137
|
-
},
|
|
4138
|
-
function
|
|
4139
|
-
return
|
|
4180
|
+
}, so = ao;
|
|
4181
|
+
function ie() {
|
|
4182
|
+
return so;
|
|
4140
4183
|
}
|
|
4141
|
-
const
|
|
4142
|
-
var
|
|
4184
|
+
const ze = Ne(!1);
|
|
4185
|
+
var uo = Object.defineProperty, lo = Object.defineProperties, ho = Object.getOwnPropertyDescriptors, jt = Object.getOwnPropertySymbols, co = Object.prototype.hasOwnProperty, fo = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, mo = (e, t) => {
|
|
4143
4186
|
for (var r in t || (t = {}))
|
|
4144
|
-
|
|
4145
|
-
if (
|
|
4146
|
-
for (var r of
|
|
4147
|
-
|
|
4187
|
+
co.call(t, r) && kt(e, r, t[r]);
|
|
4188
|
+
if (jt)
|
|
4189
|
+
for (var r of jt(t))
|
|
4190
|
+
fo.call(t, r) && kt(e, r, t[r]);
|
|
4148
4191
|
return e;
|
|
4149
|
-
},
|
|
4150
|
-
let
|
|
4151
|
-
const
|
|
4152
|
-
function
|
|
4192
|
+
}, po = (e, t) => lo(e, ho(t));
|
|
4193
|
+
let ct;
|
|
4194
|
+
const Oe = Ne(null);
|
|
4195
|
+
function Vt(e) {
|
|
4153
4196
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4154
4197
|
}
|
|
4155
|
-
function
|
|
4156
|
-
const r =
|
|
4157
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4198
|
+
function Ce(e, t = ie().fallbackLocale) {
|
|
4199
|
+
const r = Vt(e);
|
|
4200
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Vt(t)])] : r;
|
|
4158
4201
|
}
|
|
4159
4202
|
function Z() {
|
|
4160
|
-
return
|
|
4203
|
+
return ct != null ? ct : void 0;
|
|
4161
4204
|
}
|
|
4162
|
-
|
|
4163
|
-
|
|
4205
|
+
Oe.subscribe((e) => {
|
|
4206
|
+
ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4164
4207
|
});
|
|
4165
|
-
const
|
|
4166
|
-
if (e &&
|
|
4167
|
-
const { loadingDelay: t } =
|
|
4208
|
+
const bo = (e) => {
|
|
4209
|
+
if (e && to(e) && ht(e)) {
|
|
4210
|
+
const { loadingDelay: t } = ie();
|
|
4168
4211
|
let r;
|
|
4169
4212
|
return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
|
|
4170
|
-
() =>
|
|
4213
|
+
() => ze.set(!0),
|
|
4171
4214
|
t
|
|
4172
|
-
) :
|
|
4173
|
-
|
|
4215
|
+
) : ze.set(!0), Ir(e).then(() => {
|
|
4216
|
+
Oe.set(e);
|
|
4174
4217
|
}).finally(() => {
|
|
4175
|
-
clearTimeout(r),
|
|
4218
|
+
clearTimeout(r), ze.set(!1);
|
|
4176
4219
|
});
|
|
4177
4220
|
}
|
|
4178
|
-
return
|
|
4179
|
-
}, W =
|
|
4180
|
-
set:
|
|
4181
|
-
}),
|
|
4221
|
+
return Oe.set(e);
|
|
4222
|
+
}, W = po(mo({}, Oe), {
|
|
4223
|
+
set: bo
|
|
4224
|
+
}), Ge = (e) => {
|
|
4182
4225
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4183
4226
|
return (n) => {
|
|
4184
4227
|
const i = JSON.stringify(n);
|
|
4185
4228
|
return i in t ? t[i] : t[i] = e(n);
|
|
4186
4229
|
};
|
|
4187
4230
|
};
|
|
4188
|
-
var
|
|
4231
|
+
var go = Object.defineProperty, Re = Object.getOwnPropertySymbols, Nr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? go(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
|
|
4189
4232
|
for (var r in t || (t = {}))
|
|
4190
|
-
|
|
4233
|
+
Nr.call(t, r) && Wt(e, r, t[r]);
|
|
4191
4234
|
if (Re)
|
|
4192
4235
|
for (var r of Re(t))
|
|
4193
|
-
|
|
4236
|
+
Lr.call(t, r) && Wt(e, r, t[r]);
|
|
4194
4237
|
return e;
|
|
4195
|
-
},
|
|
4238
|
+
}, se = (e, t) => {
|
|
4196
4239
|
var r = {};
|
|
4197
4240
|
for (var n in e)
|
|
4198
|
-
|
|
4241
|
+
Nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4199
4242
|
if (e != null && Re)
|
|
4200
4243
|
for (var n of Re(e))
|
|
4201
|
-
t.indexOf(n) < 0 &&
|
|
4244
|
+
t.indexOf(n) < 0 && Lr.call(e, n) && (r[n] = e[n]);
|
|
4202
4245
|
return r;
|
|
4203
4246
|
};
|
|
4204
|
-
const
|
|
4205
|
-
const { formats: r } =
|
|
4247
|
+
const de = (e, t) => {
|
|
4248
|
+
const { formats: r } = ie();
|
|
4206
4249
|
if (e in r && t in r[e])
|
|
4207
4250
|
return r[e][t];
|
|
4208
4251
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4209
|
-
},
|
|
4252
|
+
}, yo = Ge(
|
|
4210
4253
|
(e) => {
|
|
4211
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4254
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4212
4255
|
if (r == null)
|
|
4213
4256
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4214
|
-
return n && (i =
|
|
4257
|
+
return n && (i = de("number", n)), new Intl.NumberFormat(r, i);
|
|
4215
4258
|
}
|
|
4216
|
-
),
|
|
4259
|
+
), vo = Ge(
|
|
4217
4260
|
(e) => {
|
|
4218
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4261
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4219
4262
|
if (r == null)
|
|
4220
4263
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4221
|
-
return n ? i =
|
|
4264
|
+
return n ? i = de("date", n) : Object.keys(i).length === 0 && (i = de("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4222
4265
|
}
|
|
4223
|
-
),
|
|
4266
|
+
), _o = Ge(
|
|
4224
4267
|
(e) => {
|
|
4225
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4268
|
+
var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
|
|
4226
4269
|
if (r == null)
|
|
4227
4270
|
throw new Error(
|
|
4228
4271
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4229
4272
|
);
|
|
4230
|
-
return n ? i =
|
|
4273
|
+
return n ? i = de("time", n) : Object.keys(i).length === 0 && (i = de("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4231
4274
|
}
|
|
4232
|
-
),
|
|
4275
|
+
), xo = (e = {}) => {
|
|
4233
4276
|
var t = e, {
|
|
4234
4277
|
locale: r = Z()
|
|
4235
|
-
} = t, n =
|
|
4278
|
+
} = t, n = se(t, [
|
|
4236
4279
|
"locale"
|
|
4237
4280
|
]);
|
|
4238
|
-
return
|
|
4239
|
-
},
|
|
4281
|
+
return yo(dt({ locale: r }, n));
|
|
4282
|
+
}, Eo = (e = {}) => {
|
|
4240
4283
|
var t = e, {
|
|
4241
4284
|
locale: r = Z()
|
|
4242
|
-
} = t, n =
|
|
4285
|
+
} = t, n = se(t, [
|
|
4243
4286
|
"locale"
|
|
4244
4287
|
]);
|
|
4245
|
-
return
|
|
4246
|
-
},
|
|
4288
|
+
return vo(dt({ locale: r }, n));
|
|
4289
|
+
}, wo = (e = {}) => {
|
|
4247
4290
|
var t = e, {
|
|
4248
4291
|
locale: r = Z()
|
|
4249
|
-
} = t, n =
|
|
4292
|
+
} = t, n = se(t, [
|
|
4250
4293
|
"locale"
|
|
4251
4294
|
]);
|
|
4252
|
-
return
|
|
4253
|
-
},
|
|
4295
|
+
return _o(dt({ locale: r }, n));
|
|
4296
|
+
}, So = Ge(
|
|
4254
4297
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4255
|
-
(e, t = Z()) => new
|
|
4256
|
-
ignoreTag:
|
|
4298
|
+
(e, t = Z()) => new Qi(e, t, ie().formats, {
|
|
4299
|
+
ignoreTag: ie().ignoreTag
|
|
4257
4300
|
})
|
|
4258
|
-
),
|
|
4301
|
+
), To = (e, t = {}) => {
|
|
4259
4302
|
var r, n, i, o;
|
|
4260
4303
|
let a = t;
|
|
4261
4304
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4268,9 +4311,9 @@ const pe = (e, t) => {
|
|
|
4268
4311
|
throw new Error(
|
|
4269
4312
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4270
4313
|
);
|
|
4271
|
-
let u =
|
|
4314
|
+
let u = Ar(e, h);
|
|
4272
4315
|
if (!u)
|
|
4273
|
-
u = (o = (i = (n = (r =
|
|
4316
|
+
u = (o = (i = (n = (r = ie()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
|
4274
4317
|
else if (typeof u != "string")
|
|
4275
4318
|
return console.warn(
|
|
4276
4319
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4279,7 +4322,7 @@ const pe = (e, t) => {
|
|
|
4279
4322
|
return u;
|
|
4280
4323
|
let f = u;
|
|
4281
4324
|
try {
|
|
4282
|
-
f =
|
|
4325
|
+
f = So(u, h).format(s);
|
|
4283
4326
|
} catch (c) {
|
|
4284
4327
|
c instanceof Error && console.warn(
|
|
4285
4328
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4287,20 +4330,20 @@ const pe = (e, t) => {
|
|
|
4287
4330
|
);
|
|
4288
4331
|
}
|
|
4289
4332
|
return f;
|
|
4290
|
-
},
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
window.emWidgets = { topic:
|
|
4296
|
-
const
|
|
4297
|
-
function
|
|
4333
|
+
}, Ho = (e, t) => wo(t).format(e), Bo = (e, t) => Eo(t).format(e), Ao = (e, t) => xo(t).format(e), Po = (e, t = Z()) => Ar(e, t), Oo = oe([W, ae], () => To);
|
|
4334
|
+
oe([W], () => Ho);
|
|
4335
|
+
oe([W], () => Bo);
|
|
4336
|
+
oe([W], () => Ao);
|
|
4337
|
+
oe([W, ae], () => Po);
|
|
4338
|
+
window.emWidgets = { topic: Dn };
|
|
4339
|
+
const Ro = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4340
|
+
function Io(e, t) {
|
|
4298
4341
|
if (e) {
|
|
4299
4342
|
const r = document.createElement("style");
|
|
4300
4343
|
r.innerHTML = t, e.appendChild(r);
|
|
4301
4344
|
}
|
|
4302
4345
|
}
|
|
4303
|
-
function
|
|
4346
|
+
function No(e, t) {
|
|
4304
4347
|
const r = new URL(t);
|
|
4305
4348
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4306
4349
|
const i = document.createElement("style");
|
|
@@ -4309,7 +4352,7 @@ function Ao(e, t) {
|
|
|
4309
4352
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4310
4353
|
});
|
|
4311
4354
|
}
|
|
4312
|
-
function
|
|
4355
|
+
function Lo(e, t, r) {
|
|
4313
4356
|
if (window.emMessageBus) {
|
|
4314
4357
|
const n = document.createElement("style");
|
|
4315
4358
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4317,18 +4360,18 @@ function Po(e, t, r) {
|
|
|
4317
4360
|
});
|
|
4318
4361
|
}
|
|
4319
4362
|
}
|
|
4320
|
-
function
|
|
4363
|
+
function Mo({ withLocale: e, translations: t }) {
|
|
4321
4364
|
W.subscribe((r) => {
|
|
4322
|
-
r == null && (
|
|
4365
|
+
r == null && (ae.set(t), W.set(e));
|
|
4323
4366
|
});
|
|
4324
4367
|
}
|
|
4325
|
-
function
|
|
4326
|
-
|
|
4368
|
+
function Xt(e, t) {
|
|
4369
|
+
Or(e, t);
|
|
4327
4370
|
}
|
|
4328
|
-
function
|
|
4371
|
+
function Co(e) {
|
|
4329
4372
|
W.set(e);
|
|
4330
4373
|
}
|
|
4331
|
-
const
|
|
4374
|
+
const zt = {
|
|
4332
4375
|
en: {
|
|
4333
4376
|
playRandomGame: "Play a random game",
|
|
4334
4377
|
randomGameLoading: "Selecting ...",
|
|
@@ -4402,39 +4445,39 @@ const jt = {
|
|
|
4402
4445
|
noGames: "There are no random games to play"
|
|
4403
4446
|
}
|
|
4404
4447
|
};
|
|
4405
|
-
function
|
|
4406
|
-
|
|
4448
|
+
function Go(e) {
|
|
4449
|
+
un(e, "svelte-kfgfhx", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.ModalWindow{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:rgba(0, 0, 0, 0.9)}.ModalWindow .ModalContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:90vw;min-height:380px;max-width:500px;padding:50px;border-top:3px solid var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));border-radius:5px;background:var(--emw--color-white, #FFFFFF)}.ModalWindow .ModalCloseBtn{position:absolute;top:10px;right:10px;border-radius:50%;color:var(--emw--color-secondary, var(--emw--color-secondary, #FD2839));background:rgba(255, 255, 255, 0.1);cursor:pointer;transition:all 150ms ease-in-out;width:28px;height:28px}.ModalWindow .ModalCloseBtn svg{width:28px;height:28px}.ModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.ModalWindow .ModalMobileContainer{padding:10px;border-top:none}.ModalWindow .ModalMobileContainer .ModalCloseBtn{margin:10px}.ModalWindow .ModalMobileContainer .ModalCloseBtn svg{width:24px;height:24px}.CasinoPlayRandomGameWrapper{min-height:0}.RandomGameWrapper{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;position:relative;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameWrapper .RandomGamesSliderWrapper{overflow:hidden;height:170px}.RandomGameWrapper .GamesContainer{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;height:100%}.RandomGameWrapper .RandomGameLoading{padding:30px 0}.RandomGameWrapper .RandomGameImage{width:256px;height:170px;border-radius:5px;-webkit-transform-style:preserve-3d;-webkit-backface-visibility:hidden}.RandomTryAgain{position:absolute;bottom:85px;right:-10px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--color-white, #FFFFFF);display:flex;align-items:center;padding:6px;border:none;border-radius:50%;cursor:pointer}.RandomTryAgain svg{width:22px;height:22px}.item{position:relative;-webkit-backface-visibility:hidden;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0)}.RandomGameDetails{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px}.RandomGameDetails .RandomGameTitle{margin:5px 0;font-size:16px;line-height:18px;text-align:center}.RandomGameDetails .RandomGameVendor{font-size:10px;margin-bottom:10px}.RandomGameDetails .RandomGamePlay{background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;width:200px;height:40px;font-size:14px;cursor:pointer}.RandomButtonWrapper{display:flex;justify-content:center;margin-top:30px;width:100%}.RandomButtonWrapper .RandomButton{display:flex;align-items:center;gap:5px;background:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:none;border-radius:5px;padding:0 30px;height:50px;font-size:16px;cursor:pointer}");
|
|
4407
4450
|
}
|
|
4408
|
-
function
|
|
4451
|
+
function Jt(e, t, r) {
|
|
4409
4452
|
const n = e.slice();
|
|
4410
4453
|
return n[41] = t[r], n;
|
|
4411
4454
|
}
|
|
4412
|
-
const
|
|
4413
|
-
function
|
|
4455
|
+
const Uo = (e) => ({}), Zt = (e) => ({});
|
|
4456
|
+
function Qt(e) {
|
|
4414
4457
|
let t, r, n, i, o, a, s;
|
|
4415
4458
|
const h = (
|
|
4416
4459
|
/*#slots*/
|
|
4417
4460
|
e[23].close
|
|
4418
|
-
), l =
|
|
4461
|
+
), l = nn(
|
|
4419
4462
|
h,
|
|
4420
4463
|
e,
|
|
4421
4464
|
/*$$scope*/
|
|
4422
4465
|
e[22],
|
|
4423
|
-
|
|
4424
|
-
), u = l ||
|
|
4466
|
+
Zt
|
|
4467
|
+
), u = l || $o();
|
|
4425
4468
|
function f(d, p) {
|
|
4426
4469
|
return (
|
|
4427
4470
|
/*hasRandomGames*/
|
|
4428
|
-
d[7] ?
|
|
4471
|
+
d[7] ? Do : Fo
|
|
4429
4472
|
);
|
|
4430
4473
|
}
|
|
4431
4474
|
let c = f(e), m = c(e);
|
|
4432
4475
|
return {
|
|
4433
4476
|
c() {
|
|
4434
|
-
t =
|
|
4477
|
+
t = w("div"), r = w("div"), n = w("span"), u && u.c(), i = V(), m.c(), g(n, "class", "ModalCloseBtn"), g(n, "role", "button"), g(r, "class", "ModalContainer"), g(t, "class", "ModalWindow");
|
|
4435
4478
|
},
|
|
4436
4479
|
m(d, p) {
|
|
4437
|
-
I(d, t, p),
|
|
4480
|
+
I(d, t, p), _(t, r), _(r, n), u && u.m(n, null), _(r, i), m.m(r, null), o = !0, a || (s = Be(
|
|
4438
4481
|
n,
|
|
4439
4482
|
"click",
|
|
4440
4483
|
/*closeModal*/
|
|
@@ -4443,62 +4486,62 @@ function Wt(e) {
|
|
|
4443
4486
|
},
|
|
4444
4487
|
p(d, p) {
|
|
4445
4488
|
l && l.p && (!o || p[0] & /*$$scope*/
|
|
4446
|
-
4194304) &&
|
|
4489
|
+
4194304) && an(
|
|
4447
4490
|
l,
|
|
4448
4491
|
h,
|
|
4449
4492
|
d,
|
|
4450
4493
|
/*$$scope*/
|
|
4451
4494
|
d[22],
|
|
4452
|
-
o ?
|
|
4495
|
+
o ? on(
|
|
4453
4496
|
h,
|
|
4454
4497
|
/*$$scope*/
|
|
4455
4498
|
d[22],
|
|
4456
4499
|
p,
|
|
4457
|
-
|
|
4458
|
-
) :
|
|
4500
|
+
Uo
|
|
4501
|
+
) : sn(
|
|
4459
4502
|
/*$$scope*/
|
|
4460
4503
|
d[22]
|
|
4461
4504
|
),
|
|
4462
|
-
|
|
4505
|
+
Zt
|
|
4463
4506
|
), c === (c = f(d)) && m ? m.p(d, p) : (m.d(1), m = c(d), m && (m.c(), m.m(r, null)));
|
|
4464
4507
|
},
|
|
4465
4508
|
i(d) {
|
|
4466
|
-
o || (
|
|
4509
|
+
o || (ce(u, d), o = !0);
|
|
4467
4510
|
},
|
|
4468
4511
|
o(d) {
|
|
4469
|
-
|
|
4512
|
+
Qe(u, d), o = !1;
|
|
4470
4513
|
},
|
|
4471
4514
|
d(d) {
|
|
4472
|
-
d &&
|
|
4515
|
+
d && O(t), u && u.d(d), m.d(), a = !1, s();
|
|
4473
4516
|
}
|
|
4474
4517
|
};
|
|
4475
4518
|
}
|
|
4476
|
-
function
|
|
4519
|
+
function $o(e) {
|
|
4477
4520
|
let t, r;
|
|
4478
4521
|
return {
|
|
4479
4522
|
c() {
|
|
4480
|
-
t =
|
|
4523
|
+
t = wt("svg"), r = wt("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4481
4524
|
},
|
|
4482
4525
|
m(n, i) {
|
|
4483
|
-
I(n, t, i),
|
|
4526
|
+
I(n, t, i), _(t, r);
|
|
4484
4527
|
},
|
|
4485
|
-
p:
|
|
4528
|
+
p: G,
|
|
4486
4529
|
d(n) {
|
|
4487
|
-
n &&
|
|
4530
|
+
n && O(t);
|
|
4488
4531
|
}
|
|
4489
4532
|
};
|
|
4490
4533
|
}
|
|
4491
|
-
function
|
|
4534
|
+
function Fo(e) {
|
|
4492
4535
|
let t, r = (
|
|
4493
4536
|
/*$_*/
|
|
4494
4537
|
e[9]("noGames") + ""
|
|
4495
4538
|
), n;
|
|
4496
4539
|
return {
|
|
4497
4540
|
c() {
|
|
4498
|
-
t =
|
|
4541
|
+
t = w("p"), n = k(r), g(t, "class", "RandomGameLoading");
|
|
4499
4542
|
},
|
|
4500
4543
|
m(i, o) {
|
|
4501
|
-
I(i, t, o),
|
|
4544
|
+
I(i, t, o), _(t, n);
|
|
4502
4545
|
},
|
|
4503
4546
|
p(i, o) {
|
|
4504
4547
|
o[0] & /*$_*/
|
|
@@ -4506,48 +4549,48 @@ function Mo(e) {
|
|
|
4506
4549
|
i[9]("noGames") + "") && z(n, r);
|
|
4507
4550
|
},
|
|
4508
4551
|
d(i) {
|
|
4509
|
-
i &&
|
|
4552
|
+
i && O(t);
|
|
4510
4553
|
}
|
|
4511
4554
|
};
|
|
4512
4555
|
}
|
|
4513
|
-
function
|
|
4514
|
-
let t, r, n, i, o =
|
|
4556
|
+
function Do(e) {
|
|
4557
|
+
let t, r, n, i, o = Tt(
|
|
4515
4558
|
/*gamesToShow*/
|
|
4516
4559
|
e[4]
|
|
4517
4560
|
), a = [];
|
|
4518
4561
|
for (let u = 0; u < o.length; u += 1)
|
|
4519
|
-
a[u] =
|
|
4562
|
+
a[u] = Yt(Jt(e, o, u));
|
|
4520
4563
|
function s(u, f) {
|
|
4521
4564
|
return (
|
|
4522
4565
|
/*animationDone*/
|
|
4523
|
-
u[6] ?
|
|
4566
|
+
u[6] ? ko : jo
|
|
4524
4567
|
);
|
|
4525
4568
|
}
|
|
4526
4569
|
let h = s(e), l = h(e);
|
|
4527
4570
|
return {
|
|
4528
4571
|
c() {
|
|
4529
|
-
t =
|
|
4572
|
+
t = w("div"), r = w("main"), n = w("div");
|
|
4530
4573
|
for (let u = 0; u < a.length; u += 1)
|
|
4531
4574
|
a[u].c();
|
|
4532
4575
|
i = V(), l.c(), g(n, "class", "GamesContainer"), g(r, "class", "RandomGamesSliderWrapper"), g(t, "class", "RandomGameWrapper");
|
|
4533
4576
|
},
|
|
4534
4577
|
m(u, f) {
|
|
4535
|
-
I(u, t, f),
|
|
4578
|
+
I(u, t, f), _(t, r), _(r, n);
|
|
4536
4579
|
for (let c = 0; c < a.length; c += 1)
|
|
4537
4580
|
a[c] && a[c].m(n, null);
|
|
4538
|
-
e[24](n),
|
|
4581
|
+
e[24](n), _(t, i), l.m(t, null);
|
|
4539
4582
|
},
|
|
4540
4583
|
p(u, f) {
|
|
4541
4584
|
if (f[0] & /*gamesToShow*/
|
|
4542
4585
|
16) {
|
|
4543
|
-
o =
|
|
4586
|
+
o = Tt(
|
|
4544
4587
|
/*gamesToShow*/
|
|
4545
4588
|
u[4]
|
|
4546
4589
|
);
|
|
4547
4590
|
let c;
|
|
4548
4591
|
for (c = 0; c < o.length; c += 1) {
|
|
4549
|
-
const m =
|
|
4550
|
-
a[c] ? a[c].p(m, f) : (a[c] =
|
|
4592
|
+
const m = Jt(u, o, c);
|
|
4593
|
+
a[c] ? a[c].p(m, f) : (a[c] = Yt(m), a[c].c(), a[c].m(n, null));
|
|
4551
4594
|
}
|
|
4552
4595
|
for (; c < a.length; c += 1)
|
|
4553
4596
|
a[c].d(1);
|
|
@@ -4556,25 +4599,25 @@ function Co(e) {
|
|
|
4556
4599
|
h === (h = s(u)) && l ? l.p(u, f) : (l.d(1), l = h(u), l && (l.c(), l.m(t, null)));
|
|
4557
4600
|
},
|
|
4558
4601
|
d(u) {
|
|
4559
|
-
u &&
|
|
4602
|
+
u && O(t), cn(a, u), e[24](null), l.d();
|
|
4560
4603
|
}
|
|
4561
4604
|
};
|
|
4562
4605
|
}
|
|
4563
|
-
function
|
|
4606
|
+
function Yt(e) {
|
|
4564
4607
|
let t, r, n, i, o, a;
|
|
4565
4608
|
return {
|
|
4566
4609
|
c() {
|
|
4567
|
-
t =
|
|
4610
|
+
t = w("div"), r = w("img"), a = V(), g(r, "class", "RandomGameImage"), Et(r.src, n = /*game*/
|
|
4568
4611
|
e[41].thumbnail) || g(r, "src", n), g(r, "alt", i = /*game*/
|
|
4569
4612
|
e[41].name), g(r, "title", o = /*game*/
|
|
4570
4613
|
e[41].name), g(t, "class", "item");
|
|
4571
4614
|
},
|
|
4572
4615
|
m(s, h) {
|
|
4573
|
-
I(s, t, h),
|
|
4616
|
+
I(s, t, h), _(t, r), _(t, a);
|
|
4574
4617
|
},
|
|
4575
4618
|
p(s, h) {
|
|
4576
4619
|
h[0] & /*gamesToShow*/
|
|
4577
|
-
16 && !
|
|
4620
|
+
16 && !Et(r.src, n = /*game*/
|
|
4578
4621
|
s[41].thumbnail) && g(r, "src", n), h[0] & /*gamesToShow*/
|
|
4579
4622
|
16 && i !== (i = /*game*/
|
|
4580
4623
|
s[41].name) && g(r, "alt", i), h[0] & /*gamesToShow*/
|
|
@@ -4582,21 +4625,21 @@ function Xt(e) {
|
|
|
4582
4625
|
s[41].name) && g(r, "title", o);
|
|
4583
4626
|
},
|
|
4584
4627
|
d(s) {
|
|
4585
|
-
s &&
|
|
4628
|
+
s && O(t);
|
|
4586
4629
|
}
|
|
4587
4630
|
};
|
|
4588
4631
|
}
|
|
4589
|
-
function
|
|
4632
|
+
function jo(e) {
|
|
4590
4633
|
let t, r = (
|
|
4591
4634
|
/*$_*/
|
|
4592
4635
|
e[9]("randomGameLoading") + ""
|
|
4593
4636
|
), n;
|
|
4594
4637
|
return {
|
|
4595
4638
|
c() {
|
|
4596
|
-
t =
|
|
4639
|
+
t = w("p"), n = k(r), g(t, "class", "RandomGameLoading");
|
|
4597
4640
|
},
|
|
4598
4641
|
m(i, o) {
|
|
4599
|
-
I(i, t, o),
|
|
4642
|
+
I(i, t, o), _(t, n);
|
|
4600
4643
|
},
|
|
4601
4644
|
p(i, o) {
|
|
4602
4645
|
o[0] & /*$_*/
|
|
@@ -4604,11 +4647,11 @@ function Go(e) {
|
|
|
4604
4647
|
i[9]("randomGameLoading") + "") && z(n, r);
|
|
4605
4648
|
},
|
|
4606
4649
|
d(i) {
|
|
4607
|
-
i &&
|
|
4650
|
+
i && O(t);
|
|
4608
4651
|
}
|
|
4609
4652
|
};
|
|
4610
4653
|
}
|
|
4611
|
-
function
|
|
4654
|
+
function ko(e) {
|
|
4612
4655
|
let t, r, n, i, o = (
|
|
4613
4656
|
/*randomGame*/
|
|
4614
4657
|
e[3].name + ""
|
|
@@ -4621,11 +4664,11 @@ function Uo(e) {
|
|
|
4621
4664
|
), d, p, A;
|
|
4622
4665
|
return {
|
|
4623
4666
|
c() {
|
|
4624
|
-
t =
|
|
4625
|
-
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, r = V(), n =
|
|
4667
|
+
t = w("button"), t.innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="Layer_1" x="0px" y="0px" viewBox="0 0 200 200" style="enable-background:new 0 0 200 200;" xml:space="preserve"><style type="text/css">.st0{fill:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));}
|
|
4668
|
+
</style><path class="st0" d="M162.4,161.2C145.3,178.5,122.7,187,100,187c-19.1,0-38.2-6.2-54-18.4l2.2,24c0.4,3.6-2.4,6.9-6,7.3h-0.7 c-3.3,0-6.2-2.7-6.7-6l-3.8-41.1c-0.4-3.6,2.4-6.9,6-7.3l40.9-3.8c3.6-0.4,6.9,2.4,7.3,6c0.4,3.6-2.4,6.9-6,7.3l-26,2.4 c29.3,23.3,72.4,21.6,99.5-5.6c19.8-19.8,26.9-48.7,18.4-75.3c-1.1-3.6,0.9-7.3,4.4-8.4c3.6-1.1,7.3,0.9,8.4,4.4 C194,103.9,185.8,137.9,162.4,161.2L162.4,161.2z M47.1,47.9c27.1-27.1,70.2-29.1,99.5-5.6l-26,2.4c-3.6,0.4-6.4,3.6-6,7.3 c0.2,3.6,3.3,6,6.7,6h0.7l40.9-3.8c3.6-0.4,6.4-3.6,6-7.3l-4-41.1c-0.4-3.6-3.6-6.4-7.3-6c-3.6,0.4-6.4,3.6-6,7.3l2.2,24 C119.3,4.4,69.3,6.8,37.6,38.6C14.2,61.9,6,95.9,15.8,127.2c0.9,2.9,3.6,4.7,6.4,4.7c0.7,0,1.3,0,2-0.2c3.6-1.1,5.6-4.9,4.4-8.4 C20.2,96.6,27.4,67.7,47.1,47.9L47.1,47.9z"></path></svg>`, r = V(), n = w("div"), i = w("p"), a = k(o), s = V(), h = w("p"), u = k(l), f = V(), c = w("button"), d = k(m), g(t, "class", "RandomTryAgain"), g(i, "class", "RandomGameTitle"), g(h, "class", "RandomGameVendor"), g(c, "class", "RandomGamePlay"), g(n, "class", "RandomGameDetails");
|
|
4626
4669
|
},
|
|
4627
4670
|
m(H, T) {
|
|
4628
|
-
I(H, t, T), I(H, r, T), I(H, n, T),
|
|
4671
|
+
I(H, t, T), I(H, r, T), I(H, n, T), _(n, i), _(i, a), _(n, s), _(n, h), _(h, u), _(n, f), _(n, c), _(c, d), p || (A = [
|
|
4629
4672
|
Be(
|
|
4630
4673
|
t,
|
|
4631
4674
|
"click",
|
|
@@ -4650,21 +4693,21 @@ function Uo(e) {
|
|
|
4650
4693
|
H[9]("playNowRandomGame") + "") && z(d, m);
|
|
4651
4694
|
},
|
|
4652
4695
|
d(H) {
|
|
4653
|
-
H && (
|
|
4696
|
+
H && (O(t), O(r), O(n)), p = !1, J(A);
|
|
4654
4697
|
}
|
|
4655
4698
|
};
|
|
4656
4699
|
}
|
|
4657
|
-
function
|
|
4700
|
+
function Vo(e) {
|
|
4658
4701
|
let t, r = (
|
|
4659
4702
|
/*$_*/
|
|
4660
4703
|
e[9]("playRandomGame") + ""
|
|
4661
4704
|
), n;
|
|
4662
4705
|
return {
|
|
4663
4706
|
c() {
|
|
4664
|
-
t =
|
|
4707
|
+
t = w("span"), n = k(r), g(t, "class", "RandomButtonText");
|
|
4665
4708
|
},
|
|
4666
4709
|
m(i, o) {
|
|
4667
|
-
I(i, t, o),
|
|
4710
|
+
I(i, t, o), _(t, n);
|
|
4668
4711
|
},
|
|
4669
4712
|
p(i, o) {
|
|
4670
4713
|
o[0] & /*$_*/
|
|
@@ -4672,21 +4715,21 @@ function Fo(e) {
|
|
|
4672
4715
|
i[9]("playRandomGame") + "") && z(n, r);
|
|
4673
4716
|
},
|
|
4674
4717
|
d(i) {
|
|
4675
|
-
i &&
|
|
4718
|
+
i && O(t);
|
|
4676
4719
|
}
|
|
4677
4720
|
};
|
|
4678
4721
|
}
|
|
4679
|
-
function
|
|
4722
|
+
function Wo(e) {
|
|
4680
4723
|
let t, r;
|
|
4681
4724
|
return {
|
|
4682
4725
|
c() {
|
|
4683
|
-
t =
|
|
4726
|
+
t = w("span"), r = k(
|
|
4684
4727
|
/*buttontext*/
|
|
4685
4728
|
e[1]
|
|
4686
4729
|
), g(t, "class", "RandomButtonText");
|
|
4687
4730
|
},
|
|
4688
4731
|
m(n, i) {
|
|
4689
|
-
I(n, t, i),
|
|
4732
|
+
I(n, t, i), _(t, r);
|
|
4690
4733
|
},
|
|
4691
4734
|
p(n, i) {
|
|
4692
4735
|
i[0] & /*buttontext*/
|
|
@@ -4697,32 +4740,32 @@ function Do(e) {
|
|
|
4697
4740
|
);
|
|
4698
4741
|
},
|
|
4699
4742
|
d(n) {
|
|
4700
|
-
n &&
|
|
4743
|
+
n && O(t);
|
|
4701
4744
|
}
|
|
4702
4745
|
};
|
|
4703
4746
|
}
|
|
4704
|
-
function
|
|
4747
|
+
function Xo(e) {
|
|
4705
4748
|
let t, r, n, i, o, a, s, h, l, u = (
|
|
4706
4749
|
/*show*/
|
|
4707
|
-
e[5] &&
|
|
4750
|
+
e[5] && Qt(e)
|
|
4708
4751
|
);
|
|
4709
4752
|
function f(d, p) {
|
|
4710
4753
|
if (
|
|
4711
4754
|
/*buttontext*/
|
|
4712
4755
|
d[1]
|
|
4713
4756
|
)
|
|
4714
|
-
return
|
|
4757
|
+
return Wo;
|
|
4715
4758
|
if (!/*buttontext*/
|
|
4716
4759
|
d[1])
|
|
4717
|
-
return
|
|
4760
|
+
return Vo;
|
|
4718
4761
|
}
|
|
4719
4762
|
let c = f(e), m = c && c(e);
|
|
4720
4763
|
return {
|
|
4721
4764
|
c() {
|
|
4722
|
-
t =
|
|
4765
|
+
t = w("div"), u && u.c(), r = V(), n = w("div"), i = w("button"), m && m.c(), o = V(), a = w("span"), g(a, "class", "RandomButtonIcon"), g(i, "class", "RandomButton"), g(n, "class", "RandomButtonWrapper");
|
|
4723
4766
|
},
|
|
4724
4767
|
m(d, p) {
|
|
4725
|
-
I(d, t, p), u && u.m(t, null),
|
|
4768
|
+
I(d, t, p), u && u.m(t, null), _(t, r), _(t, n), _(n, i), m && m.m(i, null), _(i, o), _(i, a), a.innerHTML = /*randombuttonicon*/
|
|
4726
4769
|
e[0], e[28](t), s = !0, h || (l = Be(
|
|
4727
4770
|
i,
|
|
4728
4771
|
"click",
|
|
@@ -4733,75 +4776,75 @@ function $o(e) {
|
|
|
4733
4776
|
p(d, p) {
|
|
4734
4777
|
/*show*/
|
|
4735
4778
|
d[5] ? u ? (u.p(d, p), p[0] & /*show*/
|
|
4736
|
-
32 &&
|
|
4779
|
+
32 && ce(u, 1)) : (u = Qt(d), u.c(), ce(u, 1), u.m(t, r)) : u && (vn(), Qe(u, 1, 1, () => {
|
|
4737
4780
|
u = null;
|
|
4738
|
-
}),
|
|
4781
|
+
}), _n()), c === (c = f(d)) && m ? m.p(d, p) : (m && m.d(1), m = c && c(d), m && (m.c(), m.m(i, o))), (!s || p[0] & /*randombuttonicon*/
|
|
4739
4782
|
1) && (a.innerHTML = /*randombuttonicon*/
|
|
4740
4783
|
d[0]);
|
|
4741
4784
|
},
|
|
4742
4785
|
i(d) {
|
|
4743
|
-
s || (
|
|
4786
|
+
s || (ce(u), s = !0);
|
|
4744
4787
|
},
|
|
4745
4788
|
o(d) {
|
|
4746
|
-
|
|
4789
|
+
Qe(u), s = !1;
|
|
4747
4790
|
},
|
|
4748
4791
|
d(d) {
|
|
4749
|
-
d &&
|
|
4792
|
+
d && O(t), u && u.d(), m && m.d(), e[28](null), h = !1, l();
|
|
4750
4793
|
}
|
|
4751
4794
|
};
|
|
4752
4795
|
}
|
|
4753
|
-
function
|
|
4796
|
+
function zo(e, t, r) {
|
|
4754
4797
|
let n;
|
|
4755
|
-
|
|
4756
|
-
let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, L = !1, M = !1,
|
|
4757
|
-
|
|
4758
|
-
const
|
|
4759
|
-
fetch(c).then((
|
|
4760
|
-
Object.keys(
|
|
4761
|
-
|
|
4798
|
+
rn(e, Oo, (b) => r(9, n = b));
|
|
4799
|
+
let { $$slots: i = {}, $$scope: o } = t, { endpoint: a = "" } = t, { datasource: s = "" } = t, { gameevent: h = "" } = t, { lang: l = "" } = t, { randombuttonicon: u = "" } = t, { buttontext: f = "" } = t, { translationurl: c = "" } = t, { clientstyling: m = "" } = t, { clientstylingurl: d = "" } = t, { filteredrandomgamecategories: p = "" } = t, { mbsource: A } = t, H = [], T = "", B, L = !1, M = !1, U = !1, be = window.navigator.userAgent, $, Q, pt, ge, bt = null;
|
|
4800
|
+
Mo({ withLocale: "en", translations: {} });
|
|
4801
|
+
const Mr = () => {
|
|
4802
|
+
fetch(c).then((x) => x.json()).then((x) => {
|
|
4803
|
+
Object.keys(x).forEach((F) => {
|
|
4804
|
+
Xt(F, x[F]);
|
|
4762
4805
|
});
|
|
4763
|
-
}).catch((
|
|
4764
|
-
console.log(
|
|
4806
|
+
}).catch((x) => {
|
|
4807
|
+
console.log(x);
|
|
4765
4808
|
});
|
|
4766
4809
|
};
|
|
4767
|
-
Object.keys(
|
|
4768
|
-
|
|
4810
|
+
Object.keys(zt).forEach((b) => {
|
|
4811
|
+
Xt(b, zt[b]);
|
|
4769
4812
|
});
|
|
4770
|
-
const
|
|
4813
|
+
const Cr = () => {
|
|
4771
4814
|
let b = new URL(`${a}/v1/casino/games`);
|
|
4772
|
-
b.searchParams.append("platform",
|
|
4773
|
-
H =
|
|
4774
|
-
}).catch((
|
|
4775
|
-
console.log(
|
|
4815
|
+
b.searchParams.append("platform", Ro(be)), b.searchParams.append("datasource", s), b.searchParams.append("fields", "gId,id,href,thumbnail,name,vendor,categories"), p && b.searchParams.append("filter", `groups=${p}`), b.searchParams.append("expand", "categories,vendor"), b.searchParams.append("pagination", "offset=0,limit=1000"), fetch(b.href).then((x) => x.json()).then((x) => {
|
|
4816
|
+
H = x.items, H.length ? (r(4, B = Gr(H.slice(0, 19))), r(7, U = !0)) : (r(4, B = []), r(7, U = !1));
|
|
4817
|
+
}).catch((x) => {
|
|
4818
|
+
console.log(x), r(7, U = !1);
|
|
4776
4819
|
});
|
|
4777
|
-
},
|
|
4778
|
-
const
|
|
4779
|
-
return
|
|
4780
|
-
},
|
|
4781
|
-
yield
|
|
4782
|
-
}),
|
|
4783
|
-
r(6, M = !1), r(5, L = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield
|
|
4784
|
-
const b = window.getComputedStyle(Q).getPropertyValue("gap"),
|
|
4820
|
+
}, Gr = (b) => {
|
|
4821
|
+
const x = $r(b);
|
|
4822
|
+
return x.concat(x);
|
|
4823
|
+
}, Ur = () => ye(this, null, function* () {
|
|
4824
|
+
yield bn(), ge = Math.floor(Math.random() * (B.length / 2)) + B.length / 2, r(3, T = B[ge]), pt = Q.children[ge];
|
|
4825
|
+
}), Ue = () => ye(this, null, function* () {
|
|
4826
|
+
r(6, M = !1), r(5, L = !0), window.postMessage({ type: "RandomWidgetState", state: !0 }, window.location.href), yield Ur();
|
|
4827
|
+
const b = window.getComputedStyle(Q).getPropertyValue("gap"), x = parseInt(b, 10) || 0, ue = (pt.offsetHeight + x) * ge, zr = [
|
|
4785
4828
|
{ transform: "translateX(0px)" },
|
|
4786
4829
|
{ filter: "blur(5px)" },
|
|
4787
4830
|
{
|
|
4788
|
-
transform: `translateY(-${
|
|
4831
|
+
transform: `translateY(-${ue}px)`
|
|
4789
4832
|
}
|
|
4790
|
-
],
|
|
4833
|
+
], Jr = {
|
|
4791
4834
|
duration: 2e3,
|
|
4792
4835
|
easing: "cubic-bezier(0.5, 0, 0.5, 1.2)",
|
|
4793
4836
|
fill: "forwards"
|
|
4794
4837
|
};
|
|
4795
|
-
|
|
4838
|
+
bt = Q.animate(zr, Jr), bt.onfinish = () => {
|
|
4796
4839
|
r(6, M = !0);
|
|
4797
4840
|
};
|
|
4798
|
-
}),
|
|
4799
|
-
const
|
|
4800
|
-
let F =
|
|
4841
|
+
}), $r = (b) => {
|
|
4842
|
+
const x = structuredClone(b);
|
|
4843
|
+
let F = x.length, ue;
|
|
4801
4844
|
for (; F != 0; )
|
|
4802
|
-
|
|
4803
|
-
return
|
|
4804
|
-
},
|
|
4845
|
+
ue = Math.floor(Math.random() * F), F--, [x[F], x[ue]] = [x[ue], x[F]];
|
|
4846
|
+
return x;
|
|
4847
|
+
}, gt = () => {
|
|
4805
4848
|
window.postMessage(
|
|
4806
4849
|
{
|
|
4807
4850
|
type: h,
|
|
@@ -4812,48 +4855,48 @@ function jo(e, t, r) {
|
|
|
4812
4855
|
context: "RandomGameWidget",
|
|
4813
4856
|
gameId: `${T.gId || T.id}`
|
|
4814
4857
|
});
|
|
4815
|
-
},
|
|
4858
|
+
}, Fr = () => {
|
|
4816
4859
|
r(5, L = !1), window.postMessage({ type: "RandomWidgetState", state: L }, window.location.href);
|
|
4817
|
-
},
|
|
4818
|
-
|
|
4860
|
+
}, Dr = () => {
|
|
4861
|
+
Co(l);
|
|
4819
4862
|
};
|
|
4820
|
-
|
|
4863
|
+
pn(() => () => {
|
|
4821
4864
|
});
|
|
4822
|
-
function
|
|
4865
|
+
function jr(b) {
|
|
4823
4866
|
Ae[b ? "unshift" : "push"](() => {
|
|
4824
4867
|
Q = b, r(8, Q);
|
|
4825
4868
|
});
|
|
4826
4869
|
}
|
|
4827
|
-
const
|
|
4828
|
-
function
|
|
4870
|
+
const kr = () => Ue(), Vr = () => gt(), Wr = () => Ue();
|
|
4871
|
+
function Xr(b) {
|
|
4829
4872
|
Ae[b ? "unshift" : "push"](() => {
|
|
4830
|
-
|
|
4873
|
+
$ = b, r(2, $);
|
|
4831
4874
|
});
|
|
4832
4875
|
}
|
|
4833
4876
|
return e.$$set = (b) => {
|
|
4834
4877
|
"endpoint" in b && r(13, a = b.endpoint), "datasource" in b && r(14, s = b.datasource), "gameevent" in b && r(15, h = b.gameevent), "lang" in b && r(16, l = b.lang), "randombuttonicon" in b && r(0, u = b.randombuttonicon), "buttontext" in b && r(1, f = b.buttontext), "translationurl" in b && r(17, c = b.translationurl), "clientstyling" in b && r(18, m = b.clientstyling), "clientstylingurl" in b && r(19, d = b.clientstylingurl), "filteredrandomgamecategories" in b && r(20, p = b.filteredrandomgamecategories), "mbsource" in b && r(21, A = b.mbsource), "$$scope" in b && r(22, o = b.$$scope);
|
|
4835
4878
|
}, e.$$.update = () => {
|
|
4836
4879
|
e.$$.dirty[0] & /*lang*/
|
|
4837
|
-
65536 && l &&
|
|
4838
|
-
131072 && c &&
|
|
4839
|
-
24576 && a && s &&
|
|
4840
|
-
262148 && m &&
|
|
4841
|
-
524292 && d &&
|
|
4842
|
-
2097156 &&
|
|
4880
|
+
65536 && l && Dr(), e.$$.dirty[0] & /*translationurl*/
|
|
4881
|
+
131072 && c && Mr(), e.$$.dirty[0] & /*endpoint, datasource*/
|
|
4882
|
+
24576 && a && s && Cr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4883
|
+
262148 && m && $ && Io($, m), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4884
|
+
524292 && d && $ && No($, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4885
|
+
2097156 && $ && Lo($, `${A}.Style`);
|
|
4843
4886
|
}, [
|
|
4844
4887
|
u,
|
|
4845
4888
|
f,
|
|
4846
|
-
|
|
4889
|
+
$,
|
|
4847
4890
|
T,
|
|
4848
4891
|
B,
|
|
4849
4892
|
L,
|
|
4850
4893
|
M,
|
|
4851
|
-
|
|
4894
|
+
U,
|
|
4852
4895
|
Q,
|
|
4853
4896
|
n,
|
|
4854
|
-
|
|
4855
|
-
|
|
4856
|
-
|
|
4897
|
+
Ue,
|
|
4898
|
+
gt,
|
|
4899
|
+
Fr,
|
|
4857
4900
|
a,
|
|
4858
4901
|
s,
|
|
4859
4902
|
h,
|
|
@@ -4865,21 +4908,21 @@ function jo(e, t, r) {
|
|
|
4865
4908
|
A,
|
|
4866
4909
|
o,
|
|
4867
4910
|
i,
|
|
4868
|
-
|
|
4869
|
-
|
|
4870
|
-
|
|
4871
|
-
|
|
4872
|
-
|
|
4911
|
+
jr,
|
|
4912
|
+
kr,
|
|
4913
|
+
Vr,
|
|
4914
|
+
Wr,
|
|
4915
|
+
Xr
|
|
4873
4916
|
];
|
|
4874
4917
|
}
|
|
4875
|
-
class
|
|
4918
|
+
class Jo extends Hn {
|
|
4876
4919
|
constructor(t) {
|
|
4877
|
-
super(),
|
|
4920
|
+
super(), Sn(
|
|
4878
4921
|
this,
|
|
4879
4922
|
t,
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4923
|
+
zo,
|
|
4924
|
+
Xo,
|
|
4925
|
+
Kt,
|
|
4883
4926
|
{
|
|
4884
4927
|
endpoint: 13,
|
|
4885
4928
|
datasource: 14,
|
|
@@ -4893,7 +4936,7 @@ class ko extends xn {
|
|
|
4893
4936
|
filteredrandomgamecategories: 20,
|
|
4894
4937
|
mbsource: 21
|
|
4895
4938
|
},
|
|
4896
|
-
|
|
4939
|
+
Go,
|
|
4897
4940
|
[-1, -1]
|
|
4898
4941
|
);
|
|
4899
4942
|
}
|
|
@@ -4901,70 +4944,70 @@ class ko extends xn {
|
|
|
4901
4944
|
return this.$$.ctx[13];
|
|
4902
4945
|
}
|
|
4903
4946
|
set endpoint(t) {
|
|
4904
|
-
this.$$set({ endpoint: t }),
|
|
4947
|
+
this.$$set({ endpoint: t }), R();
|
|
4905
4948
|
}
|
|
4906
4949
|
get datasource() {
|
|
4907
4950
|
return this.$$.ctx[14];
|
|
4908
4951
|
}
|
|
4909
4952
|
set datasource(t) {
|
|
4910
|
-
this.$$set({ datasource: t }),
|
|
4953
|
+
this.$$set({ datasource: t }), R();
|
|
4911
4954
|
}
|
|
4912
4955
|
get gameevent() {
|
|
4913
4956
|
return this.$$.ctx[15];
|
|
4914
4957
|
}
|
|
4915
4958
|
set gameevent(t) {
|
|
4916
|
-
this.$$set({ gameevent: t }),
|
|
4959
|
+
this.$$set({ gameevent: t }), R();
|
|
4917
4960
|
}
|
|
4918
4961
|
get lang() {
|
|
4919
4962
|
return this.$$.ctx[16];
|
|
4920
4963
|
}
|
|
4921
4964
|
set lang(t) {
|
|
4922
|
-
this.$$set({ lang: t }),
|
|
4965
|
+
this.$$set({ lang: t }), R();
|
|
4923
4966
|
}
|
|
4924
4967
|
get randombuttonicon() {
|
|
4925
4968
|
return this.$$.ctx[0];
|
|
4926
4969
|
}
|
|
4927
4970
|
set randombuttonicon(t) {
|
|
4928
|
-
this.$$set({ randombuttonicon: t }),
|
|
4971
|
+
this.$$set({ randombuttonicon: t }), R();
|
|
4929
4972
|
}
|
|
4930
4973
|
get buttontext() {
|
|
4931
4974
|
return this.$$.ctx[1];
|
|
4932
4975
|
}
|
|
4933
4976
|
set buttontext(t) {
|
|
4934
|
-
this.$$set({ buttontext: t }),
|
|
4977
|
+
this.$$set({ buttontext: t }), R();
|
|
4935
4978
|
}
|
|
4936
4979
|
get translationurl() {
|
|
4937
4980
|
return this.$$.ctx[17];
|
|
4938
4981
|
}
|
|
4939
4982
|
set translationurl(t) {
|
|
4940
|
-
this.$$set({ translationurl: t }),
|
|
4983
|
+
this.$$set({ translationurl: t }), R();
|
|
4941
4984
|
}
|
|
4942
4985
|
get clientstyling() {
|
|
4943
4986
|
return this.$$.ctx[18];
|
|
4944
4987
|
}
|
|
4945
4988
|
set clientstyling(t) {
|
|
4946
|
-
this.$$set({ clientstyling: t }),
|
|
4989
|
+
this.$$set({ clientstyling: t }), R();
|
|
4947
4990
|
}
|
|
4948
4991
|
get clientstylingurl() {
|
|
4949
4992
|
return this.$$.ctx[19];
|
|
4950
4993
|
}
|
|
4951
4994
|
set clientstylingurl(t) {
|
|
4952
|
-
this.$$set({ clientstylingurl: t }),
|
|
4995
|
+
this.$$set({ clientstylingurl: t }), R();
|
|
4953
4996
|
}
|
|
4954
4997
|
get filteredrandomgamecategories() {
|
|
4955
4998
|
return this.$$.ctx[20];
|
|
4956
4999
|
}
|
|
4957
5000
|
set filteredrandomgamecategories(t) {
|
|
4958
|
-
this.$$set({ filteredrandomgamecategories: t }),
|
|
5001
|
+
this.$$set({ filteredrandomgamecategories: t }), R();
|
|
4959
5002
|
}
|
|
4960
5003
|
get mbsource() {
|
|
4961
5004
|
return this.$$.ctx[21];
|
|
4962
5005
|
}
|
|
4963
5006
|
set mbsource(t) {
|
|
4964
|
-
this.$$set({ mbsource: t }),
|
|
5007
|
+
this.$$set({ mbsource: t }), R();
|
|
4965
5008
|
}
|
|
4966
5009
|
}
|
|
4967
|
-
|
|
5010
|
+
Tn(Jo, { endpoint: {}, datasource: {}, gameevent: {}, lang: {}, randombuttonicon: {}, buttontext: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, filteredrandomgamecategories: {}, mbsource: {} }, ["close"], [], !0);
|
|
4968
5011
|
export {
|
|
4969
|
-
|
|
5012
|
+
Jo as default
|
|
4970
5013
|
};
|