@everymatrix/casino-last-played-section 1.87.26 → 1.87.27
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/CasinoFilter-Bq27fkl0.cjs +1 -0
- package/components/CasinoFilter-RGuOjNV-.js +644 -0
- package/components/CasinoFilter-ur0N0e_q.js +645 -0
- package/components/CasinoGameThumbnail-CWi08UB2.js +1831 -0
- package/components/CasinoGameThumbnail-Ck10-v-p.js +1847 -0
- package/components/CasinoGameThumbnail-D8eKiOCc.cjs +38 -0
- package/components/CasinoGamesCategorySection-BIc39Efl.js +5745 -0
- package/components/CasinoGamesCategorySection-BxPHrlVj.js +5713 -0
- package/components/CasinoGamesCategorySection-Y8eLR0W5.cjs +10 -0
- package/components/CasinoLastPlayedSection-DrrWbeZS.cjs +18 -0
- package/components/{CasinoFilter-BTVMoy_t.js → CasinoLastPlayedSection-jaTKdLsf.js} +1631 -1644
- package/components/{CasinoFilter-aZNjaj7s.js → CasinoLastPlayedSection-tw4aeVIv.js} +1553 -1570
- package/components/{CasinoSort-BllIwG-L.js → CasinoSort-CliCKl9a.js} +110 -109
- package/components/CasinoSort-CwwPvIGU.cjs +1 -0
- package/components/{CasinoSort-tQyhZT1U.js → CasinoSort-OyxicsAe.js} +96 -97
- package/es2015/casino-last-played-section.cjs +1 -1
- package/es2015/casino-last-played-section.js +7 -7
- package/esnext/casino-last-played-section.js +1 -1
- package/package.json +1 -1
- package/components/CasinoFilter-ChNOJ2MK.cjs +0 -18
- package/components/CasinoGameThumbnail-BRddAcBN.js +0 -4359
- package/components/CasinoGameThumbnail-D5aY7MyL.cjs +0 -47
- package/components/CasinoGameThumbnail-rFXSnS2v.js +0 -4375
- package/components/CasinoGamesCategorySection-6xzUZp3K.js +0 -3185
- package/components/CasinoGamesCategorySection-BHDp-KJ4.js +0 -3217
- package/components/CasinoGamesCategorySection-k99QzULe.cjs +0 -1
- package/components/CasinoLastPlayedSection-CKRaykV6.js +0 -601
- package/components/CasinoLastPlayedSection-CjV0ylzn.js +0 -601
- package/components/CasinoLastPlayedSection-ds7jt5iT.cjs +0 -1
- package/components/CasinoSort-Bjtm0zBv.cjs +0 -1
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Mr = Object.defineProperty, Rr = Object.defineProperties;
|
|
2
|
+
var Ur = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var dt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Gr = Object.prototype.hasOwnProperty, Dr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Ne = (e, t, r) => t in e ? Mr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Gr.call(t, r) && Ne(e, r, t[r]);
|
|
8
|
+
if (dt)
|
|
9
|
+
for (var r of dt(t))
|
|
10
|
+
Dr.call(t, r) && Ne(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
15
|
-
var
|
|
12
|
+
}, bt = (e, t) => Rr(e, Ur(t));
|
|
13
|
+
var T = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var gt = (e, t, r) => new Promise((n, i) => {
|
|
15
|
+
var s = (h) => {
|
|
16
16
|
try {
|
|
17
|
-
a(r.next(
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
a(r.next(h));
|
|
18
|
+
} catch (u) {
|
|
19
|
+
i(u);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, o = (h) => {
|
|
22
22
|
try {
|
|
23
|
-
a(r.throw(
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
a(r.throw(h));
|
|
24
|
+
} catch (u) {
|
|
25
|
+
i(u);
|
|
26
26
|
}
|
|
27
|
-
}, a = (
|
|
27
|
+
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function G() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function jt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function yt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function re(e) {
|
|
39
|
+
e.forEach(jt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function ot(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function kt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
47
|
+
let ge;
|
|
48
|
+
function Ss(e, t) {
|
|
49
|
+
return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function $r(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Vt(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
58
|
-
return
|
|
58
|
+
return G;
|
|
59
59
|
}
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function Fr(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Vt(t, r));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function at(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function jr(e, t, r) {
|
|
70
|
+
const n = kr(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
|
-
const i =
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
72
|
+
const i = X("style");
|
|
73
|
+
i.id = t, i.textContent = r, Vr(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function kr(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,76 +83,76 @@ function Yr(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function Vr(e, t) {
|
|
87
|
+
return at(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
90
90
|
t
|
|
91
91
|
), t.sheet;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function me(e, t, r) {
|
|
94
94
|
e.insertBefore(t, r || null);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function ne(e) {
|
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function ws(e, t) {
|
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
|
101
101
|
e[r] && e[r].d(t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function X(e) {
|
|
104
104
|
return document.createElement(e);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Xr(e) {
|
|
107
107
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function ut(e) {
|
|
110
110
|
return document.createTextNode(e);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
return
|
|
112
|
+
function Ts() {
|
|
113
|
+
return ut(" ");
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
return
|
|
115
|
+
function Hs() {
|
|
116
|
+
return ut("");
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Ps(e, t, r, n) {
|
|
119
119
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function he(e, t, r) {
|
|
122
122
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
123
123
|
}
|
|
124
|
-
function
|
|
124
|
+
function p(e, t, r) {
|
|
125
125
|
const n = t.toLowerCase();
|
|
126
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
126
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : he(e, t, r);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function Wr(e) {
|
|
129
129
|
return Array.from(e.childNodes);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function zr(e, t) {
|
|
132
132
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
133
133
|
t);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function As(e, t) {
|
|
136
136
|
e.value = t == null ? "" : t;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
138
|
+
function Bs(e, t, r) {
|
|
139
139
|
e.classList.toggle(t, !!r);
|
|
140
140
|
}
|
|
141
|
-
class
|
|
141
|
+
class Os {
|
|
142
142
|
constructor(t = !1) {
|
|
143
143
|
/**
|
|
144
144
|
* @private
|
|
145
145
|
* @default false
|
|
146
146
|
*/
|
|
147
|
-
|
|
147
|
+
T(this, "is_svg", !1);
|
|
148
148
|
/** parent for creating node */
|
|
149
|
-
|
|
149
|
+
T(this, "e");
|
|
150
150
|
/** html tag nodes */
|
|
151
|
-
|
|
151
|
+
T(this, "n");
|
|
152
152
|
/** target */
|
|
153
|
-
|
|
153
|
+
T(this, "t");
|
|
154
154
|
/** anchor */
|
|
155
|
-
|
|
155
|
+
T(this, "a");
|
|
156
156
|
this.is_svg = t, this.e = this.n = null;
|
|
157
157
|
}
|
|
158
158
|
/**
|
|
@@ -169,10 +169,10 @@ class Ro {
|
|
|
169
169
|
* @returns {void}
|
|
170
170
|
*/
|
|
171
171
|
m(t, r, n = null) {
|
|
172
|
-
this.e || (this.is_svg ? this.e =
|
|
172
|
+
this.e || (this.is_svg ? this.e = Xr(
|
|
173
173
|
/** @type {keyof SVGElementTagNameMap} */
|
|
174
174
|
r.nodeName
|
|
175
|
-
) : this.e =
|
|
175
|
+
) : this.e = X(
|
|
176
176
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
177
177
|
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
178
178
|
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
@@ -193,7 +193,7 @@ class Ro {
|
|
|
193
193
|
* @returns {void} */
|
|
194
194
|
i(t) {
|
|
195
195
|
for (let r = 0; r < this.n.length; r += 1)
|
|
196
|
-
|
|
196
|
+
me(this.t, this.n[r], t);
|
|
197
197
|
}
|
|
198
198
|
/**
|
|
199
199
|
* @param {string} html
|
|
@@ -205,10 +205,10 @@ class Ro {
|
|
|
205
205
|
/**
|
|
206
206
|
* @returns {void} */
|
|
207
207
|
d() {
|
|
208
|
-
this.n.forEach(
|
|
208
|
+
this.n.forEach(ne);
|
|
209
209
|
}
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Zr(e) {
|
|
212
212
|
const t = {};
|
|
213
213
|
return e.childNodes.forEach(
|
|
214
214
|
/** @param {Element} node */
|
|
@@ -217,184 +217,184 @@ function rn(e) {
|
|
|
217
217
|
}
|
|
218
218
|
), t;
|
|
219
219
|
}
|
|
220
|
-
let
|
|
221
|
-
function
|
|
222
|
-
|
|
220
|
+
let le;
|
|
221
|
+
function ue(e) {
|
|
222
|
+
le = e;
|
|
223
223
|
}
|
|
224
|
-
function
|
|
225
|
-
if (!
|
|
224
|
+
function Xt() {
|
|
225
|
+
if (!le)
|
|
226
226
|
throw new Error("Function called outside component initialization");
|
|
227
|
-
return
|
|
227
|
+
return le;
|
|
228
228
|
}
|
|
229
|
-
function
|
|
230
|
-
|
|
229
|
+
function qr(e) {
|
|
230
|
+
Xt().$$.on_mount.push(e);
|
|
231
231
|
}
|
|
232
|
-
function
|
|
233
|
-
|
|
232
|
+
function Ls(e) {
|
|
233
|
+
Xt().$$.on_destroy.push(e);
|
|
234
234
|
}
|
|
235
|
-
const
|
|
236
|
-
let
|
|
237
|
-
const
|
|
238
|
-
let
|
|
239
|
-
function
|
|
240
|
-
|
|
235
|
+
const q = [], je = [];
|
|
236
|
+
let J = [];
|
|
237
|
+
const vt = [], Wt = /* @__PURE__ */ Promise.resolve();
|
|
238
|
+
let ke = !1;
|
|
239
|
+
function zt() {
|
|
240
|
+
ke || (ke = !0, Wt.then(E));
|
|
241
241
|
}
|
|
242
|
-
function
|
|
243
|
-
return
|
|
242
|
+
function Cs() {
|
|
243
|
+
return zt(), Wt;
|
|
244
244
|
}
|
|
245
|
-
function
|
|
246
|
-
|
|
245
|
+
function Ve(e) {
|
|
246
|
+
J.push(e);
|
|
247
247
|
}
|
|
248
|
-
const
|
|
249
|
-
let
|
|
250
|
-
function
|
|
251
|
-
if (
|
|
248
|
+
const Ie = /* @__PURE__ */ new Set();
|
|
249
|
+
let z = 0;
|
|
250
|
+
function E() {
|
|
251
|
+
if (z !== 0)
|
|
252
252
|
return;
|
|
253
|
-
const e =
|
|
253
|
+
const e = le;
|
|
254
254
|
do {
|
|
255
255
|
try {
|
|
256
|
-
for (;
|
|
257
|
-
const t =
|
|
258
|
-
|
|
256
|
+
for (; z < q.length; ) {
|
|
257
|
+
const t = q[z];
|
|
258
|
+
z++, ue(t), Yr(t.$$);
|
|
259
259
|
}
|
|
260
260
|
} catch (t) {
|
|
261
|
-
throw
|
|
261
|
+
throw q.length = 0, z = 0, t;
|
|
262
262
|
}
|
|
263
|
-
for (
|
|
264
|
-
|
|
265
|
-
for (let t = 0; t <
|
|
266
|
-
const r =
|
|
267
|
-
|
|
263
|
+
for (ue(null), q.length = 0, z = 0; je.length; )
|
|
264
|
+
je.pop()();
|
|
265
|
+
for (let t = 0; t < J.length; t += 1) {
|
|
266
|
+
const r = J[t];
|
|
267
|
+
Ie.has(r) || (Ie.add(r), r());
|
|
268
268
|
}
|
|
269
|
-
|
|
270
|
-
} while (
|
|
271
|
-
for (;
|
|
272
|
-
|
|
273
|
-
|
|
269
|
+
J.length = 0;
|
|
270
|
+
} while (q.length);
|
|
271
|
+
for (; vt.length; )
|
|
272
|
+
vt.pop()();
|
|
273
|
+
ke = !1, Ie.clear(), ue(e);
|
|
274
274
|
}
|
|
275
|
-
function
|
|
275
|
+
function Yr(e) {
|
|
276
276
|
if (e.fragment !== null) {
|
|
277
|
-
e.update(),
|
|
277
|
+
e.update(), re(e.before_update);
|
|
278
278
|
const t = e.dirty;
|
|
279
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
279
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
|
|
280
280
|
}
|
|
281
281
|
}
|
|
282
|
-
function
|
|
282
|
+
function Jr(e) {
|
|
283
283
|
const t = [], r = [];
|
|
284
|
-
|
|
284
|
+
J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
|
|
285
285
|
}
|
|
286
|
-
const
|
|
287
|
-
function
|
|
288
|
-
e && e.i && (
|
|
286
|
+
const Qr = /* @__PURE__ */ new Set();
|
|
287
|
+
function Zt(e, t) {
|
|
288
|
+
e && e.i && (Qr.delete(e), e.i(t));
|
|
289
289
|
}
|
|
290
|
-
function
|
|
290
|
+
function Ns(e) {
|
|
291
291
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function Is(e, t) {
|
|
294
294
|
e.d(1), t.delete(e.key);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
297
|
-
let c = e.length,
|
|
298
|
-
const
|
|
299
|
-
for (;
|
|
300
|
-
|
|
301
|
-
const
|
|
302
|
-
for (
|
|
303
|
-
const
|
|
304
|
-
let N =
|
|
305
|
-
N ?
|
|
296
|
+
function Ms(e, t, r, n, i, s, o, a, h, u, l, f) {
|
|
297
|
+
let c = e.length, d = s.length, b = c;
|
|
298
|
+
const v = {};
|
|
299
|
+
for (; b--; )
|
|
300
|
+
v[e[b].key] = b;
|
|
301
|
+
const w = [], I = /* @__PURE__ */ new Map(), B = /* @__PURE__ */ new Map(), H = [];
|
|
302
|
+
for (b = d; b--; ) {
|
|
303
|
+
const _ = f(i, s, b), L = r(_);
|
|
304
|
+
let N = o.get(L);
|
|
305
|
+
N ? H.push(() => N.p(_, t)) : (N = u(L, _), N.c()), I.set(L, w[b] = N), L in v && B.set(L, Math.abs(b - v[L]));
|
|
306
306
|
}
|
|
307
|
-
const
|
|
308
|
-
function R(
|
|
309
|
-
|
|
307
|
+
const M = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
|
|
308
|
+
function R(_) {
|
|
309
|
+
Zt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
|
310
310
|
}
|
|
311
|
-
for (; c &&
|
|
312
|
-
const
|
|
313
|
-
|
|
311
|
+
for (; c && d; ) {
|
|
312
|
+
const _ = w[d - 1], L = e[c - 1], N = _.key, j = L.key;
|
|
313
|
+
_ === L ? (l = _.first, c--, d--) : I.has(j) ? !o.has(N) || M.has(N) ? R(_) : O.has(j) ? c-- : B.get(N) > B.get(j) ? (O.add(N), R(_)) : (M.add(j), c--) : (h(L, o), c--);
|
|
314
314
|
}
|
|
315
315
|
for (; c--; ) {
|
|
316
|
-
const
|
|
317
|
-
|
|
316
|
+
const _ = e[c];
|
|
317
|
+
I.has(_.key) || h(_, o);
|
|
318
318
|
}
|
|
319
|
-
for (;
|
|
320
|
-
R(
|
|
321
|
-
return
|
|
319
|
+
for (; d; )
|
|
320
|
+
R(w[d - 1]);
|
|
321
|
+
return re(H), w;
|
|
322
322
|
}
|
|
323
|
-
function
|
|
323
|
+
function Kr(e, t, r) {
|
|
324
324
|
const { fragment: n, after_update: i } = e.$$;
|
|
325
|
-
n && n.m(t, r),
|
|
326
|
-
const
|
|
327
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...
|
|
328
|
-
}), i.forEach(
|
|
325
|
+
n && n.m(t, r), Ve(() => {
|
|
326
|
+
const s = e.$$.on_mount.map(jt).filter(ot);
|
|
327
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
|
|
328
|
+
}), i.forEach(Ve);
|
|
329
329
|
}
|
|
330
|
-
function
|
|
330
|
+
function en(e, t) {
|
|
331
331
|
const r = e.$$;
|
|
332
|
-
r.fragment !== null && (
|
|
332
|
+
r.fragment !== null && (Jr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
335
|
-
e.$$.dirty[0] === -1 && (
|
|
334
|
+
function tn(e, t) {
|
|
335
|
+
e.$$.dirty[0] === -1 && (q.push(e), zt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
336
336
|
}
|
|
337
|
-
function
|
|
338
|
-
const
|
|
339
|
-
|
|
340
|
-
const
|
|
337
|
+
function rn(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
338
|
+
const h = le;
|
|
339
|
+
ue(e);
|
|
340
|
+
const u = e.$$ = {
|
|
341
341
|
fragment: null,
|
|
342
342
|
ctx: [],
|
|
343
343
|
// state
|
|
344
|
-
props:
|
|
345
|
-
update:
|
|
344
|
+
props: s,
|
|
345
|
+
update: G,
|
|
346
346
|
not_equal: i,
|
|
347
|
-
bound:
|
|
347
|
+
bound: yt(),
|
|
348
348
|
// lifecycle
|
|
349
349
|
on_mount: [],
|
|
350
350
|
on_destroy: [],
|
|
351
351
|
on_disconnect: [],
|
|
352
352
|
before_update: [],
|
|
353
353
|
after_update: [],
|
|
354
|
-
context: new Map(t.context || (
|
|
354
|
+
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
355
355
|
// everything else
|
|
356
|
-
callbacks:
|
|
356
|
+
callbacks: yt(),
|
|
357
357
|
dirty: a,
|
|
358
358
|
skip_bound: !1,
|
|
359
|
-
root: t.target ||
|
|
359
|
+
root: t.target || h.$$.root
|
|
360
360
|
};
|
|
361
|
-
|
|
362
|
-
let
|
|
363
|
-
if (
|
|
364
|
-
const
|
|
365
|
-
return
|
|
366
|
-
}) : [],
|
|
361
|
+
o && o(u.root);
|
|
362
|
+
let l = !1;
|
|
363
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
|
|
364
|
+
const b = d.length ? d[0] : c;
|
|
365
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && tn(e, f)), c;
|
|
366
|
+
}) : [], u.update(), l = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
367
367
|
if (t.hydrate) {
|
|
368
|
-
const
|
|
369
|
-
|
|
368
|
+
const f = Wr(t.target);
|
|
369
|
+
u.fragment && u.fragment.l(f), f.forEach(ne);
|
|
370
370
|
} else
|
|
371
|
-
|
|
372
|
-
t.intro &&
|
|
371
|
+
u.fragment && u.fragment.c();
|
|
372
|
+
t.intro && Zt(e.$$.fragment), Kr(e, t.target, t.anchor), E();
|
|
373
373
|
}
|
|
374
|
-
|
|
374
|
+
ue(h);
|
|
375
375
|
}
|
|
376
|
-
let
|
|
377
|
-
typeof HTMLElement == "function" && (
|
|
376
|
+
let qt;
|
|
377
|
+
typeof HTMLElement == "function" && (qt = class extends HTMLElement {
|
|
378
378
|
constructor(t, r, n) {
|
|
379
379
|
super();
|
|
380
380
|
/** The Svelte component constructor */
|
|
381
|
-
|
|
381
|
+
T(this, "$$ctor");
|
|
382
382
|
/** Slots */
|
|
383
|
-
|
|
383
|
+
T(this, "$$s");
|
|
384
384
|
/** The Svelte component instance */
|
|
385
|
-
|
|
385
|
+
T(this, "$$c");
|
|
386
386
|
/** Whether or not the custom element is connected */
|
|
387
|
-
|
|
387
|
+
T(this, "$$cn", !1);
|
|
388
388
|
/** Component props data */
|
|
389
|
-
|
|
389
|
+
T(this, "$$d", {});
|
|
390
390
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
391
|
-
|
|
391
|
+
T(this, "$$r", !1);
|
|
392
392
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
393
|
-
|
|
393
|
+
T(this, "$$p_d", {});
|
|
394
394
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
395
|
-
|
|
395
|
+
T(this, "$$l", {});
|
|
396
396
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
397
|
-
|
|
397
|
+
T(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
398
398
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
399
399
|
}
|
|
400
400
|
addEventListener(t, r, n) {
|
|
@@ -411,42 +411,42 @@ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
|
|
|
411
411
|
}
|
|
412
412
|
}
|
|
413
413
|
connectedCallback() {
|
|
414
|
-
return
|
|
414
|
+
return gt(this, null, function* () {
|
|
415
415
|
if (this.$$cn = !0, !this.$$c) {
|
|
416
|
-
let t = function(
|
|
416
|
+
let t = function(s) {
|
|
417
417
|
return () => {
|
|
418
|
-
let
|
|
418
|
+
let o;
|
|
419
419
|
return {
|
|
420
420
|
c: function() {
|
|
421
|
-
|
|
421
|
+
o = X("slot"), s !== "default" && he(o, "name", s);
|
|
422
422
|
},
|
|
423
423
|
/**
|
|
424
424
|
* @param {HTMLElement} target
|
|
425
425
|
* @param {HTMLElement} [anchor]
|
|
426
426
|
*/
|
|
427
|
-
m: function(
|
|
428
|
-
|
|
427
|
+
m: function(u, l) {
|
|
428
|
+
me(u, o, l);
|
|
429
429
|
},
|
|
430
|
-
d: function(
|
|
431
|
-
|
|
430
|
+
d: function(u) {
|
|
431
|
+
u && ne(o);
|
|
432
432
|
}
|
|
433
433
|
};
|
|
434
434
|
};
|
|
435
435
|
};
|
|
436
436
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
437
437
|
return;
|
|
438
|
-
const r = {}, n =
|
|
439
|
-
for (const
|
|
440
|
-
|
|
441
|
-
for (const
|
|
442
|
-
const
|
|
443
|
-
|
|
438
|
+
const r = {}, n = Zr(this);
|
|
439
|
+
for (const s of this.$$s)
|
|
440
|
+
s in n && (r[s] = [t(s)]);
|
|
441
|
+
for (const s of this.attributes) {
|
|
442
|
+
const o = this.$$g_p(s.name);
|
|
443
|
+
o in this.$$d || (this.$$d[o] = _e(o, s.value, this.$$p_d, "toProp"));
|
|
444
444
|
}
|
|
445
|
-
for (const
|
|
446
|
-
!(
|
|
445
|
+
for (const s in this.$$p_d)
|
|
446
|
+
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
447
447
|
this.$$c = new this.$$ctor({
|
|
448
448
|
target: this.shadowRoot || this,
|
|
449
|
-
props:
|
|
449
|
+
props: bt(pt({}, this.$$d), {
|
|
450
450
|
$$slots: r,
|
|
451
451
|
$$scope: {
|
|
452
452
|
ctx: []
|
|
@@ -455,23 +455,23 @@ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
|
|
|
455
455
|
});
|
|
456
456
|
const i = () => {
|
|
457
457
|
this.$$r = !0;
|
|
458
|
-
for (const
|
|
459
|
-
if (this.$$d[
|
|
460
|
-
const
|
|
461
|
-
|
|
462
|
-
this.$$d[
|
|
458
|
+
for (const s in this.$$p_d)
|
|
459
|
+
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
460
|
+
const o = _e(
|
|
461
|
+
s,
|
|
462
|
+
this.$$d[s],
|
|
463
463
|
this.$$p_d,
|
|
464
464
|
"toAttribute"
|
|
465
465
|
);
|
|
466
|
-
|
|
466
|
+
o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
|
|
467
467
|
}
|
|
468
468
|
this.$$r = !1;
|
|
469
469
|
};
|
|
470
470
|
this.$$c.$$.after_update.push(i), i();
|
|
471
|
-
for (const
|
|
472
|
-
for (const
|
|
473
|
-
const a = this.$$c.$on(
|
|
474
|
-
this.$$l_u.set(
|
|
471
|
+
for (const s in this.$$l)
|
|
472
|
+
for (const o of this.$$l[s]) {
|
|
473
|
+
const a = this.$$c.$on(s, o);
|
|
474
|
+
this.$$l_u.set(o, a);
|
|
475
475
|
}
|
|
476
476
|
this.$$l = {};
|
|
477
477
|
}
|
|
@@ -481,7 +481,7 @@ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
|
|
|
481
481
|
// and setting attributes through setAttribute etc, this is helpful
|
|
482
482
|
attributeChangedCallback(t, r, n) {
|
|
483
483
|
var i;
|
|
484
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
484
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = _e(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
485
485
|
}
|
|
486
486
|
disconnectedCallback() {
|
|
487
487
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -494,9 +494,9 @@ typeof HTMLElement == "function" && (cr = class extends HTMLElement {
|
|
|
494
494
|
) || t;
|
|
495
495
|
}
|
|
496
496
|
});
|
|
497
|
-
function
|
|
498
|
-
var
|
|
499
|
-
const i = (
|
|
497
|
+
function _e(e, t, r, n) {
|
|
498
|
+
var s;
|
|
499
|
+
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
500
500
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
501
501
|
return t;
|
|
502
502
|
if (n === "toAttribute")
|
|
@@ -524,8 +524,8 @@ function Le(e, t, r, n) {
|
|
|
524
524
|
return t;
|
|
525
525
|
}
|
|
526
526
|
}
|
|
527
|
-
function
|
|
528
|
-
let
|
|
527
|
+
function nn(e, t, r, n, i, s) {
|
|
528
|
+
let o = class extends qt {
|
|
529
529
|
constructor() {
|
|
530
530
|
super(e, r, i), this.$$p_d = t;
|
|
531
531
|
}
|
|
@@ -536,26 +536,26 @@ function fn(e, t, r, n, i, o) {
|
|
|
536
536
|
}
|
|
537
537
|
};
|
|
538
538
|
return Object.keys(t).forEach((a) => {
|
|
539
|
-
Object.defineProperty(
|
|
539
|
+
Object.defineProperty(o.prototype, a, {
|
|
540
540
|
get() {
|
|
541
541
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
542
542
|
},
|
|
543
|
-
set(
|
|
544
|
-
var
|
|
545
|
-
|
|
543
|
+
set(h) {
|
|
544
|
+
var u;
|
|
545
|
+
h = _e(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
|
546
546
|
}
|
|
547
547
|
});
|
|
548
548
|
}), n.forEach((a) => {
|
|
549
|
-
Object.defineProperty(
|
|
549
|
+
Object.defineProperty(o.prototype, a, {
|
|
550
550
|
get() {
|
|
551
|
-
var
|
|
552
|
-
return (
|
|
551
|
+
var h;
|
|
552
|
+
return (h = this.$$c) == null ? void 0 : h[a];
|
|
553
553
|
}
|
|
554
554
|
});
|
|
555
555
|
}), e.element = /** @type {any} */
|
|
556
|
-
|
|
556
|
+
o, o;
|
|
557
557
|
}
|
|
558
|
-
class
|
|
558
|
+
class sn {
|
|
559
559
|
constructor() {
|
|
560
560
|
/**
|
|
561
561
|
* ### PRIVATE API
|
|
@@ -564,7 +564,7 @@ class pn {
|
|
|
564
564
|
*
|
|
565
565
|
* @type {any}
|
|
566
566
|
*/
|
|
567
|
-
|
|
567
|
+
T(this, "$$");
|
|
568
568
|
/**
|
|
569
569
|
* ### PRIVATE API
|
|
570
570
|
*
|
|
@@ -572,11 +572,11 @@ class pn {
|
|
|
572
572
|
*
|
|
573
573
|
* @type {any}
|
|
574
574
|
*/
|
|
575
|
-
|
|
575
|
+
T(this, "$$set");
|
|
576
576
|
}
|
|
577
577
|
/** @returns {void} */
|
|
578
578
|
$destroy() {
|
|
579
|
-
|
|
579
|
+
en(this, 1), this.$destroy = G;
|
|
580
580
|
}
|
|
581
581
|
/**
|
|
582
582
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -585,8 +585,8 @@ class pn {
|
|
|
585
585
|
* @returns {() => void}
|
|
586
586
|
*/
|
|
587
587
|
$on(t, r) {
|
|
588
|
-
if (!
|
|
589
|
-
return
|
|
588
|
+
if (!ot(r))
|
|
589
|
+
return G;
|
|
590
590
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
591
591
|
return n.push(r), () => {
|
|
592
592
|
const i = n.indexOf(r);
|
|
@@ -598,11 +598,11 @@ class pn {
|
|
|
598
598
|
* @returns {void}
|
|
599
599
|
*/
|
|
600
600
|
$set(t) {
|
|
601
|
-
this.$$set &&
|
|
601
|
+
this.$$set && !$r(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
602
602
|
}
|
|
603
603
|
}
|
|
604
|
-
const
|
|
605
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
604
|
+
const on = "4";
|
|
605
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(on);
|
|
606
606
|
/*! *****************************************************************************
|
|
607
607
|
Copyright (c) Microsoft Corporation.
|
|
608
608
|
|
|
@@ -617,24 +617,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
617
617
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
618
618
|
PERFORMANCE OF THIS SOFTWARE.
|
|
619
619
|
***************************************************************************** */
|
|
620
|
-
var
|
|
621
|
-
return
|
|
620
|
+
var Xe = function(e, t) {
|
|
621
|
+
return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
622
622
|
r.__proto__ = n;
|
|
623
623
|
} || function(r, n) {
|
|
624
624
|
for (var i in n)
|
|
625
625
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
626
|
-
},
|
|
626
|
+
}, Xe(e, t);
|
|
627
627
|
};
|
|
628
|
-
function
|
|
628
|
+
function de(e, t) {
|
|
629
629
|
if (typeof t != "function" && t !== null)
|
|
630
630
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
631
|
-
|
|
631
|
+
Xe(e, t);
|
|
632
632
|
function r() {
|
|
633
633
|
this.constructor = e;
|
|
634
634
|
}
|
|
635
635
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
636
636
|
}
|
|
637
|
-
function
|
|
637
|
+
function We(e) {
|
|
638
638
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
639
639
|
if (r)
|
|
640
640
|
return r.call(e);
|
|
@@ -646,42 +646,42 @@ function at(e) {
|
|
|
646
646
|
};
|
|
647
647
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
648
648
|
}
|
|
649
|
-
function
|
|
649
|
+
function ze(e, t) {
|
|
650
650
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
651
651
|
if (!r)
|
|
652
652
|
return e;
|
|
653
|
-
var n = r.call(e), i,
|
|
653
|
+
var n = r.call(e), i, s = [], o;
|
|
654
654
|
try {
|
|
655
655
|
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
656
|
-
|
|
656
|
+
s.push(i.value);
|
|
657
657
|
} catch (a) {
|
|
658
|
-
|
|
658
|
+
o = { error: a };
|
|
659
659
|
} finally {
|
|
660
660
|
try {
|
|
661
661
|
i && !i.done && (r = n.return) && r.call(n);
|
|
662
662
|
} finally {
|
|
663
|
-
if (
|
|
664
|
-
throw
|
|
663
|
+
if (o)
|
|
664
|
+
throw o.error;
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
|
-
return
|
|
667
|
+
return s;
|
|
668
668
|
}
|
|
669
|
-
function
|
|
669
|
+
function Ze(e, t, r) {
|
|
670
670
|
if (arguments.length === 2)
|
|
671
|
-
for (var n = 0, i = t.length,
|
|
672
|
-
(
|
|
673
|
-
return e.concat(
|
|
671
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
672
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
673
|
+
return e.concat(s || t);
|
|
674
674
|
}
|
|
675
|
-
function
|
|
675
|
+
function F(e) {
|
|
676
676
|
return typeof e == "function";
|
|
677
677
|
}
|
|
678
|
-
function
|
|
678
|
+
function Yt(e) {
|
|
679
679
|
var t = function(n) {
|
|
680
680
|
Error.call(n), n.stack = new Error().stack;
|
|
681
681
|
}, r = e(t);
|
|
682
682
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
683
683
|
}
|
|
684
|
-
var
|
|
684
|
+
var Me = Yt(function(e) {
|
|
685
685
|
return function(r) {
|
|
686
686
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
687
687
|
` + r.map(function(n, i) {
|
|
@@ -690,78 +690,78 @@ var Qe = fr(function(e) {
|
|
|
690
690
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
691
691
|
};
|
|
692
692
|
});
|
|
693
|
-
function
|
|
693
|
+
function qe(e, t) {
|
|
694
694
|
if (e) {
|
|
695
695
|
var r = e.indexOf(t);
|
|
696
696
|
0 <= r && e.splice(r, 1);
|
|
697
697
|
}
|
|
698
698
|
}
|
|
699
|
-
var
|
|
699
|
+
var Pe = function() {
|
|
700
700
|
function e(t) {
|
|
701
701
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
702
702
|
}
|
|
703
703
|
return e.prototype.unsubscribe = function() {
|
|
704
|
-
var t, r, n, i,
|
|
704
|
+
var t, r, n, i, s;
|
|
705
705
|
if (!this.closed) {
|
|
706
706
|
this.closed = !0;
|
|
707
|
-
var
|
|
708
|
-
if (
|
|
709
|
-
if (this._parentage = null, Array.isArray(
|
|
707
|
+
var o = this._parentage;
|
|
708
|
+
if (o)
|
|
709
|
+
if (this._parentage = null, Array.isArray(o))
|
|
710
710
|
try {
|
|
711
|
-
for (var a =
|
|
712
|
-
var
|
|
713
|
-
|
|
711
|
+
for (var a = We(o), h = a.next(); !h.done; h = a.next()) {
|
|
712
|
+
var u = h.value;
|
|
713
|
+
u.remove(this);
|
|
714
714
|
}
|
|
715
|
-
} catch (
|
|
716
|
-
t = { error:
|
|
715
|
+
} catch (v) {
|
|
716
|
+
t = { error: v };
|
|
717
717
|
} finally {
|
|
718
718
|
try {
|
|
719
|
-
|
|
719
|
+
h && !h.done && (r = a.return) && r.call(a);
|
|
720
720
|
} finally {
|
|
721
721
|
if (t)
|
|
722
722
|
throw t.error;
|
|
723
723
|
}
|
|
724
724
|
}
|
|
725
725
|
else
|
|
726
|
-
|
|
727
|
-
var
|
|
728
|
-
if (
|
|
726
|
+
o.remove(this);
|
|
727
|
+
var l = this.initialTeardown;
|
|
728
|
+
if (F(l))
|
|
729
729
|
try {
|
|
730
|
-
|
|
731
|
-
} catch (
|
|
732
|
-
|
|
730
|
+
l();
|
|
731
|
+
} catch (v) {
|
|
732
|
+
s = v instanceof Me ? v.errors : [v];
|
|
733
733
|
}
|
|
734
|
-
var
|
|
735
|
-
if (
|
|
734
|
+
var f = this._finalizers;
|
|
735
|
+
if (f) {
|
|
736
736
|
this._finalizers = null;
|
|
737
737
|
try {
|
|
738
|
-
for (var c =
|
|
739
|
-
var
|
|
738
|
+
for (var c = We(f), d = c.next(); !d.done; d = c.next()) {
|
|
739
|
+
var b = d.value;
|
|
740
740
|
try {
|
|
741
|
-
|
|
742
|
-
} catch (
|
|
743
|
-
|
|
741
|
+
_t(b);
|
|
742
|
+
} catch (v) {
|
|
743
|
+
s = s != null ? s : [], v instanceof Me ? s = Ze(Ze([], ze(s)), ze(v.errors)) : s.push(v);
|
|
744
744
|
}
|
|
745
745
|
}
|
|
746
|
-
} catch (
|
|
747
|
-
n = { error:
|
|
746
|
+
} catch (v) {
|
|
747
|
+
n = { error: v };
|
|
748
748
|
} finally {
|
|
749
749
|
try {
|
|
750
|
-
|
|
750
|
+
d && !d.done && (i = c.return) && i.call(c);
|
|
751
751
|
} finally {
|
|
752
752
|
if (n)
|
|
753
753
|
throw n.error;
|
|
754
754
|
}
|
|
755
755
|
}
|
|
756
756
|
}
|
|
757
|
-
if (
|
|
758
|
-
throw new
|
|
757
|
+
if (s)
|
|
758
|
+
throw new Me(s);
|
|
759
759
|
}
|
|
760
760
|
}, e.prototype.add = function(t) {
|
|
761
761
|
var r;
|
|
762
762
|
if (t && t !== this)
|
|
763
763
|
if (this.closed)
|
|
764
|
-
|
|
764
|
+
_t(t);
|
|
765
765
|
else {
|
|
766
766
|
if (t instanceof e) {
|
|
767
767
|
if (t.closed || t._hasParent(this))
|
|
@@ -778,52 +778,52 @@ var ke = function() {
|
|
|
778
778
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
779
779
|
}, e.prototype._removeParent = function(t) {
|
|
780
780
|
var r = this._parentage;
|
|
781
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
781
|
+
r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
|
|
782
782
|
}, e.prototype.remove = function(t) {
|
|
783
783
|
var r = this._finalizers;
|
|
784
|
-
r &&
|
|
784
|
+
r && qe(r, t), t instanceof e && t._removeParent(this);
|
|
785
785
|
}, e.EMPTY = function() {
|
|
786
786
|
var t = new e();
|
|
787
787
|
return t.closed = !0, t;
|
|
788
788
|
}(), e;
|
|
789
|
-
}(),
|
|
790
|
-
function
|
|
791
|
-
return e instanceof
|
|
789
|
+
}(), Jt = Pe.EMPTY;
|
|
790
|
+
function Qt(e) {
|
|
791
|
+
return e instanceof Pe || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
|
|
792
792
|
}
|
|
793
|
-
function
|
|
794
|
-
|
|
793
|
+
function _t(e) {
|
|
794
|
+
F(e) ? e() : e.unsubscribe();
|
|
795
795
|
}
|
|
796
|
-
var
|
|
796
|
+
var an = {
|
|
797
797
|
Promise: void 0
|
|
798
|
-
},
|
|
798
|
+
}, un = {
|
|
799
799
|
setTimeout: function(e, t) {
|
|
800
800
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
801
801
|
r[n - 2] = arguments[n];
|
|
802
|
-
return setTimeout.apply(void 0,
|
|
802
|
+
return setTimeout.apply(void 0, Ze([e, t], ze(r)));
|
|
803
803
|
},
|
|
804
804
|
clearTimeout: function(e) {
|
|
805
805
|
return clearTimeout(e);
|
|
806
806
|
},
|
|
807
807
|
delegate: void 0
|
|
808
808
|
};
|
|
809
|
-
function
|
|
810
|
-
|
|
809
|
+
function hn(e) {
|
|
810
|
+
un.setTimeout(function() {
|
|
811
811
|
throw e;
|
|
812
812
|
});
|
|
813
813
|
}
|
|
814
|
-
function
|
|
814
|
+
function Et() {
|
|
815
815
|
}
|
|
816
|
-
function
|
|
816
|
+
function Ee(e) {
|
|
817
817
|
e();
|
|
818
818
|
}
|
|
819
|
-
var
|
|
820
|
-
|
|
819
|
+
var Kt = function(e) {
|
|
820
|
+
de(t, e);
|
|
821
821
|
function t(r) {
|
|
822
822
|
var n = e.call(this) || this;
|
|
823
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
823
|
+
return n.isStopped = !1, r ? (n.destination = r, Qt(r) && r.add(n)) : n.destination = fn, n;
|
|
824
824
|
}
|
|
825
825
|
return t.create = function(r, n, i) {
|
|
826
|
-
return new
|
|
826
|
+
return new Ye(r, n, i);
|
|
827
827
|
}, t.prototype.next = function(r) {
|
|
828
828
|
this.isStopped || this._next(r);
|
|
829
829
|
}, t.prototype.error = function(r) {
|
|
@@ -847,7 +847,7 @@ var mr = function(e) {
|
|
|
847
847
|
this.unsubscribe();
|
|
848
848
|
}
|
|
849
849
|
}, t;
|
|
850
|
-
}(
|
|
850
|
+
}(Pe), ln = function() {
|
|
851
851
|
function e(t) {
|
|
852
852
|
this.partialObserver = t;
|
|
853
853
|
}
|
|
@@ -857,7 +857,7 @@ var mr = function(e) {
|
|
|
857
857
|
try {
|
|
858
858
|
r.next(t);
|
|
859
859
|
} catch (n) {
|
|
860
|
-
|
|
860
|
+
ye(n);
|
|
861
861
|
}
|
|
862
862
|
}, e.prototype.error = function(t) {
|
|
863
863
|
var r = this.partialObserver;
|
|
@@ -865,56 +865,56 @@ var mr = function(e) {
|
|
|
865
865
|
try {
|
|
866
866
|
r.error(t);
|
|
867
867
|
} catch (n) {
|
|
868
|
-
|
|
868
|
+
ye(n);
|
|
869
869
|
}
|
|
870
870
|
else
|
|
871
|
-
|
|
871
|
+
ye(t);
|
|
872
872
|
}, e.prototype.complete = function() {
|
|
873
873
|
var t = this.partialObserver;
|
|
874
874
|
if (t.complete)
|
|
875
875
|
try {
|
|
876
876
|
t.complete();
|
|
877
877
|
} catch (r) {
|
|
878
|
-
|
|
878
|
+
ye(r);
|
|
879
879
|
}
|
|
880
880
|
}, e;
|
|
881
|
-
}(),
|
|
882
|
-
|
|
881
|
+
}(), Ye = function(e) {
|
|
882
|
+
de(t, e);
|
|
883
883
|
function t(r, n, i) {
|
|
884
|
-
var
|
|
885
|
-
return
|
|
884
|
+
var s = e.call(this) || this, o;
|
|
885
|
+
return F(r) || !r ? o = {
|
|
886
886
|
next: r != null ? r : void 0,
|
|
887
887
|
error: n != null ? n : void 0,
|
|
888
888
|
complete: i != null ? i : void 0
|
|
889
|
-
} :
|
|
889
|
+
} : o = r, s.destination = new ln(o), s;
|
|
890
890
|
}
|
|
891
891
|
return t;
|
|
892
|
-
}(
|
|
893
|
-
function
|
|
894
|
-
|
|
892
|
+
}(Kt);
|
|
893
|
+
function ye(e) {
|
|
894
|
+
hn(e);
|
|
895
895
|
}
|
|
896
|
-
function
|
|
896
|
+
function cn(e) {
|
|
897
897
|
throw e;
|
|
898
898
|
}
|
|
899
|
-
var
|
|
899
|
+
var fn = {
|
|
900
900
|
closed: !0,
|
|
901
|
-
next:
|
|
902
|
-
error:
|
|
903
|
-
complete:
|
|
904
|
-
},
|
|
901
|
+
next: Et,
|
|
902
|
+
error: cn,
|
|
903
|
+
complete: Et
|
|
904
|
+
}, mn = function() {
|
|
905
905
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
906
906
|
}();
|
|
907
|
-
function
|
|
907
|
+
function dn(e) {
|
|
908
908
|
return e;
|
|
909
909
|
}
|
|
910
|
-
function
|
|
911
|
-
return e.length === 0 ?
|
|
910
|
+
function pn(e) {
|
|
911
|
+
return e.length === 0 ? dn : e.length === 1 ? e[0] : function(r) {
|
|
912
912
|
return e.reduce(function(n, i) {
|
|
913
913
|
return i(n);
|
|
914
914
|
}, r);
|
|
915
915
|
};
|
|
916
916
|
}
|
|
917
|
-
var
|
|
917
|
+
var xt = function() {
|
|
918
918
|
function e(t) {
|
|
919
919
|
t && (this._subscribe = t);
|
|
920
920
|
}
|
|
@@ -922,11 +922,11 @@ var Mt = function() {
|
|
|
922
922
|
var r = new e();
|
|
923
923
|
return r.source = this, r.operator = t, r;
|
|
924
924
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
925
|
-
var i = this,
|
|
926
|
-
return
|
|
927
|
-
var
|
|
928
|
-
|
|
929
|
-
}),
|
|
925
|
+
var i = this, s = gn(t) ? t : new Ye(t, r, n);
|
|
926
|
+
return Ee(function() {
|
|
927
|
+
var o = i, a = o.operator, h = o.source;
|
|
928
|
+
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
929
|
+
}), s;
|
|
930
930
|
}, e.prototype._trySubscribe = function(t) {
|
|
931
931
|
try {
|
|
932
932
|
return this._subscribe(t);
|
|
@@ -935,87 +935,87 @@ var Mt = function() {
|
|
|
935
935
|
}
|
|
936
936
|
}, e.prototype.forEach = function(t, r) {
|
|
937
937
|
var n = this;
|
|
938
|
-
return r =
|
|
939
|
-
var
|
|
938
|
+
return r = St(r), new r(function(i, s) {
|
|
939
|
+
var o = new Ye({
|
|
940
940
|
next: function(a) {
|
|
941
941
|
try {
|
|
942
942
|
t(a);
|
|
943
|
-
} catch (
|
|
944
|
-
|
|
943
|
+
} catch (h) {
|
|
944
|
+
s(h), o.unsubscribe();
|
|
945
945
|
}
|
|
946
946
|
},
|
|
947
|
-
error:
|
|
947
|
+
error: s,
|
|
948
948
|
complete: i
|
|
949
949
|
});
|
|
950
|
-
n.subscribe(
|
|
950
|
+
n.subscribe(o);
|
|
951
951
|
});
|
|
952
952
|
}, e.prototype._subscribe = function(t) {
|
|
953
953
|
var r;
|
|
954
954
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
955
|
-
}, e.prototype[
|
|
955
|
+
}, e.prototype[mn] = function() {
|
|
956
956
|
return this;
|
|
957
957
|
}, e.prototype.pipe = function() {
|
|
958
958
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
959
959
|
t[r] = arguments[r];
|
|
960
|
-
return
|
|
960
|
+
return pn(t)(this);
|
|
961
961
|
}, e.prototype.toPromise = function(t) {
|
|
962
962
|
var r = this;
|
|
963
|
-
return t =
|
|
964
|
-
var
|
|
965
|
-
r.subscribe(function(
|
|
966
|
-
return
|
|
967
|
-
}, function(
|
|
968
|
-
return i(
|
|
963
|
+
return t = St(t), new t(function(n, i) {
|
|
964
|
+
var s;
|
|
965
|
+
r.subscribe(function(o) {
|
|
966
|
+
return s = o;
|
|
967
|
+
}, function(o) {
|
|
968
|
+
return i(o);
|
|
969
969
|
}, function() {
|
|
970
|
-
return n(
|
|
970
|
+
return n(s);
|
|
971
971
|
});
|
|
972
972
|
});
|
|
973
973
|
}, e.create = function(t) {
|
|
974
974
|
return new e(t);
|
|
975
975
|
}, e;
|
|
976
976
|
}();
|
|
977
|
-
function
|
|
977
|
+
function St(e) {
|
|
978
978
|
var t;
|
|
979
|
-
return (t = e != null ? e :
|
|
979
|
+
return (t = e != null ? e : an.Promise) !== null && t !== void 0 ? t : Promise;
|
|
980
980
|
}
|
|
981
|
-
function
|
|
982
|
-
return e &&
|
|
981
|
+
function bn(e) {
|
|
982
|
+
return e && F(e.next) && F(e.error) && F(e.complete);
|
|
983
983
|
}
|
|
984
|
-
function
|
|
985
|
-
return e && e instanceof
|
|
984
|
+
function gn(e) {
|
|
985
|
+
return e && e instanceof Kt || bn(e) && Qt(e);
|
|
986
986
|
}
|
|
987
|
-
var
|
|
987
|
+
var yn = Yt(function(e) {
|
|
988
988
|
return function() {
|
|
989
989
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
990
990
|
};
|
|
991
|
-
}),
|
|
992
|
-
|
|
991
|
+
}), er = function(e) {
|
|
992
|
+
de(t, e);
|
|
993
993
|
function t() {
|
|
994
994
|
var r = e.call(this) || this;
|
|
995
995
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
996
996
|
}
|
|
997
997
|
return t.prototype.lift = function(r) {
|
|
998
|
-
var n = new
|
|
998
|
+
var n = new wt(this, this);
|
|
999
999
|
return n.operator = r, n;
|
|
1000
1000
|
}, t.prototype._throwIfClosed = function() {
|
|
1001
1001
|
if (this.closed)
|
|
1002
|
-
throw new
|
|
1002
|
+
throw new yn();
|
|
1003
1003
|
}, t.prototype.next = function(r) {
|
|
1004
1004
|
var n = this;
|
|
1005
|
-
|
|
1006
|
-
var i,
|
|
1005
|
+
Ee(function() {
|
|
1006
|
+
var i, s;
|
|
1007
1007
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1008
1008
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1009
1009
|
try {
|
|
1010
|
-
for (var
|
|
1011
|
-
var
|
|
1012
|
-
|
|
1010
|
+
for (var o = We(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
1011
|
+
var h = a.value;
|
|
1012
|
+
h.next(r);
|
|
1013
1013
|
}
|
|
1014
|
-
} catch (
|
|
1015
|
-
i = { error:
|
|
1014
|
+
} catch (u) {
|
|
1015
|
+
i = { error: u };
|
|
1016
1016
|
} finally {
|
|
1017
1017
|
try {
|
|
1018
|
-
a && !a.done && (
|
|
1018
|
+
a && !a.done && (s = o.return) && s.call(o);
|
|
1019
1019
|
} finally {
|
|
1020
1020
|
if (i)
|
|
1021
1021
|
throw i.error;
|
|
@@ -1025,7 +1025,7 @@ var Hn = fr(function(e) {
|
|
|
1025
1025
|
});
|
|
1026
1026
|
}, t.prototype.error = function(r) {
|
|
1027
1027
|
var n = this;
|
|
1028
|
-
|
|
1028
|
+
Ee(function() {
|
|
1029
1029
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1030
1030
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1031
1031
|
for (var i = n.observers; i.length; )
|
|
@@ -1034,7 +1034,7 @@ var Hn = fr(function(e) {
|
|
|
1034
1034
|
});
|
|
1035
1035
|
}, t.prototype.complete = function() {
|
|
1036
1036
|
var r = this;
|
|
1037
|
-
|
|
1037
|
+
Ee(function() {
|
|
1038
1038
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1039
1039
|
r.isStopped = !0;
|
|
1040
1040
|
for (var n = r.observers; n.length; )
|
|
@@ -1055,21 +1055,21 @@ var Hn = fr(function(e) {
|
|
|
1055
1055
|
}, t.prototype._subscribe = function(r) {
|
|
1056
1056
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1057
1057
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1058
|
-
var n = this, i = this,
|
|
1059
|
-
return
|
|
1060
|
-
n.currentObservers = null,
|
|
1058
|
+
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
1059
|
+
return s || o ? Jt : (this.currentObservers = null, a.push(r), new Pe(function() {
|
|
1060
|
+
n.currentObservers = null, qe(a, r);
|
|
1061
1061
|
}));
|
|
1062
1062
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1063
|
-
var n = this, i = n.hasError,
|
|
1064
|
-
i ? r.error(
|
|
1063
|
+
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
1064
|
+
i ? r.error(s) : o && r.complete();
|
|
1065
1065
|
}, t.prototype.asObservable = function() {
|
|
1066
|
-
var r = new
|
|
1066
|
+
var r = new xt();
|
|
1067
1067
|
return r.source = this, r;
|
|
1068
1068
|
}, t.create = function(r, n) {
|
|
1069
|
-
return new
|
|
1069
|
+
return new wt(r, n);
|
|
1070
1070
|
}, t;
|
|
1071
|
-
}(
|
|
1072
|
-
|
|
1071
|
+
}(xt), wt = function(e) {
|
|
1072
|
+
de(t, e);
|
|
1073
1073
|
function t(r, n) {
|
|
1074
1074
|
var i = e.call(this) || this;
|
|
1075
1075
|
return i.destination = r, i.source = n, i;
|
|
@@ -1085,208 +1085,208 @@ var Hn = fr(function(e) {
|
|
|
1085
1085
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1086
1086
|
}, t.prototype._subscribe = function(r) {
|
|
1087
1087
|
var n, i;
|
|
1088
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1088
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Jt;
|
|
1089
1089
|
}, t;
|
|
1090
|
-
}(
|
|
1090
|
+
}(er), tr = {
|
|
1091
1091
|
now: function() {
|
|
1092
|
-
return (
|
|
1092
|
+
return (tr.delegate || Date).now();
|
|
1093
1093
|
},
|
|
1094
1094
|
delegate: void 0
|
|
1095
|
-
},
|
|
1096
|
-
|
|
1095
|
+
}, vn = function(e) {
|
|
1096
|
+
de(t, e);
|
|
1097
1097
|
function t(r, n, i) {
|
|
1098
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1099
|
-
var
|
|
1100
|
-
return
|
|
1098
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = tr);
|
|
1099
|
+
var s = e.call(this) || this;
|
|
1100
|
+
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
|
1101
1101
|
}
|
|
1102
1102
|
return t.prototype.next = function(r) {
|
|
1103
|
-
var n = this, i = n.isStopped,
|
|
1104
|
-
i || (
|
|
1103
|
+
var n = this, i = n.isStopped, s = n._buffer, o = n._infiniteTimeWindow, a = n._timestampProvider, h = n._windowTime;
|
|
1104
|
+
i || (s.push(r), !o && s.push(a.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1105
1105
|
}, t.prototype._subscribe = function(r) {
|
|
1106
1106
|
this._throwIfClosed(), this._trimBuffer();
|
|
1107
|
-
for (var n = this._innerSubscribe(r), i = this,
|
|
1108
|
-
r.next(a[
|
|
1107
|
+
for (var n = this._innerSubscribe(r), i = this, s = i._infiniteTimeWindow, o = i._buffer, a = o.slice(), h = 0; h < a.length && !r.closed; h += s ? 1 : 2)
|
|
1108
|
+
r.next(a[h]);
|
|
1109
1109
|
return this._checkFinalizedStatuses(r), n;
|
|
1110
1110
|
}, t.prototype._trimBuffer = function() {
|
|
1111
|
-
var r = this, n = r._bufferSize, i = r._timestampProvider,
|
|
1112
|
-
if (n < 1 / 0 && a <
|
|
1113
|
-
for (var
|
|
1114
|
-
|
|
1115
|
-
|
|
1111
|
+
var r = this, n = r._bufferSize, i = r._timestampProvider, s = r._buffer, o = r._infiniteTimeWindow, a = (o ? 1 : 2) * n;
|
|
1112
|
+
if (n < 1 / 0 && a < s.length && s.splice(0, s.length - a), !o) {
|
|
1113
|
+
for (var h = i.now(), u = 0, l = 1; l < s.length && s[l] <= h; l += 2)
|
|
1114
|
+
u = l;
|
|
1115
|
+
u && s.splice(0, u + 1);
|
|
1116
1116
|
}
|
|
1117
1117
|
}, t;
|
|
1118
|
-
}(
|
|
1119
|
-
const
|
|
1120
|
-
if (
|
|
1121
|
-
const r = new
|
|
1122
|
-
|
|
1118
|
+
}(er);
|
|
1119
|
+
const Tt = [], Ht = {}, _n = (e, t = 0) => {
|
|
1120
|
+
if (Tt.indexOf(e) == -1) {
|
|
1121
|
+
const r = new vn(t);
|
|
1122
|
+
Ht[e] = r, Tt.push(e);
|
|
1123
1123
|
}
|
|
1124
|
-
return
|
|
1125
|
-
},
|
|
1126
|
-
function
|
|
1124
|
+
return Ht[e];
|
|
1125
|
+
}, Z = [];
|
|
1126
|
+
function En(e, t) {
|
|
1127
1127
|
return {
|
|
1128
|
-
subscribe:
|
|
1128
|
+
subscribe: Ae(e, t).subscribe
|
|
1129
1129
|
};
|
|
1130
1130
|
}
|
|
1131
|
-
function
|
|
1131
|
+
function Ae(e, t = G) {
|
|
1132
1132
|
let r;
|
|
1133
1133
|
const n = /* @__PURE__ */ new Set();
|
|
1134
1134
|
function i(a) {
|
|
1135
|
-
if (
|
|
1136
|
-
const
|
|
1137
|
-
for (const
|
|
1138
|
-
|
|
1139
|
-
if (
|
|
1140
|
-
for (let
|
|
1141
|
-
|
|
1142
|
-
|
|
1135
|
+
if (kt(e, a) && (e = a, r)) {
|
|
1136
|
+
const h = !Z.length;
|
|
1137
|
+
for (const u of n)
|
|
1138
|
+
u[1](), Z.push(u, e);
|
|
1139
|
+
if (h) {
|
|
1140
|
+
for (let u = 0; u < Z.length; u += 2)
|
|
1141
|
+
Z[u][0](Z[u + 1]);
|
|
1142
|
+
Z.length = 0;
|
|
1143
1143
|
}
|
|
1144
1144
|
}
|
|
1145
1145
|
}
|
|
1146
|
-
function
|
|
1146
|
+
function s(a) {
|
|
1147
1147
|
i(a(e));
|
|
1148
1148
|
}
|
|
1149
|
-
function
|
|
1150
|
-
const
|
|
1151
|
-
return n.add(
|
|
1152
|
-
n.delete(
|
|
1149
|
+
function o(a, h = G) {
|
|
1150
|
+
const u = [a, h];
|
|
1151
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || G), a(e), () => {
|
|
1152
|
+
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1153
1153
|
};
|
|
1154
1154
|
}
|
|
1155
|
-
return { set: i, update:
|
|
1155
|
+
return { set: i, update: s, subscribe: o };
|
|
1156
1156
|
}
|
|
1157
|
-
function
|
|
1157
|
+
function ie(e, t, r) {
|
|
1158
1158
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1159
1159
|
if (!i.every(Boolean))
|
|
1160
1160
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1161
|
-
const
|
|
1162
|
-
return
|
|
1163
|
-
let
|
|
1164
|
-
const
|
|
1165
|
-
let
|
|
1161
|
+
const s = t.length < 2;
|
|
1162
|
+
return En(r, (o, a) => {
|
|
1163
|
+
let h = !1;
|
|
1164
|
+
const u = [];
|
|
1165
|
+
let l = 0, f = G;
|
|
1166
1166
|
const c = () => {
|
|
1167
|
-
if (
|
|
1167
|
+
if (l)
|
|
1168
1168
|
return;
|
|
1169
|
-
|
|
1170
|
-
const
|
|
1171
|
-
|
|
1172
|
-
},
|
|
1173
|
-
(
|
|
1174
|
-
|
|
1175
|
-
(
|
|
1176
|
-
|
|
1169
|
+
f();
|
|
1170
|
+
const b = t(n ? u[0] : u, o, a);
|
|
1171
|
+
s ? o(b) : f = ot(b) ? b : G;
|
|
1172
|
+
}, d = i.map(
|
|
1173
|
+
(b, v) => Vt(
|
|
1174
|
+
b,
|
|
1175
|
+
(w) => {
|
|
1176
|
+
u[v] = w, l &= ~(1 << v), h && c();
|
|
1177
1177
|
},
|
|
1178
1178
|
() => {
|
|
1179
|
-
|
|
1179
|
+
l |= 1 << v;
|
|
1180
1180
|
}
|
|
1181
1181
|
)
|
|
1182
1182
|
);
|
|
1183
|
-
return
|
|
1184
|
-
|
|
1183
|
+
return h = !0, c(), function() {
|
|
1184
|
+
re(d), f(), h = !1;
|
|
1185
1185
|
};
|
|
1186
1186
|
});
|
|
1187
1187
|
}
|
|
1188
|
-
function
|
|
1188
|
+
function xn(e) {
|
|
1189
1189
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1190
1190
|
}
|
|
1191
|
-
var
|
|
1192
|
-
return
|
|
1191
|
+
var Sn = function(t) {
|
|
1192
|
+
return wn(t) && !Tn(t);
|
|
1193
1193
|
};
|
|
1194
|
-
function
|
|
1194
|
+
function wn(e) {
|
|
1195
1195
|
return !!e && typeof e == "object";
|
|
1196
1196
|
}
|
|
1197
|
-
function
|
|
1197
|
+
function Tn(e) {
|
|
1198
1198
|
var t = Object.prototype.toString.call(e);
|
|
1199
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1199
|
+
return t === "[object RegExp]" || t === "[object Date]" || An(e);
|
|
1200
1200
|
}
|
|
1201
|
-
var
|
|
1202
|
-
function
|
|
1203
|
-
return e.$$typeof ===
|
|
1201
|
+
var Hn = typeof Symbol == "function" && Symbol.for, Pn = Hn ? Symbol.for("react.element") : 60103;
|
|
1202
|
+
function An(e) {
|
|
1203
|
+
return e.$$typeof === Pn;
|
|
1204
1204
|
}
|
|
1205
|
-
function
|
|
1205
|
+
function Bn(e) {
|
|
1206
1206
|
return Array.isArray(e) ? [] : {};
|
|
1207
1207
|
}
|
|
1208
|
-
function
|
|
1209
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1208
|
+
function ce(e, t) {
|
|
1209
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(Bn(e), e, t) : e;
|
|
1210
1210
|
}
|
|
1211
|
-
function
|
|
1211
|
+
function On(e, t, r) {
|
|
1212
1212
|
return e.concat(t).map(function(n) {
|
|
1213
|
-
return
|
|
1213
|
+
return ce(n, r);
|
|
1214
1214
|
});
|
|
1215
1215
|
}
|
|
1216
|
-
function
|
|
1216
|
+
function Ln(e, t) {
|
|
1217
1217
|
if (!t.customMerge)
|
|
1218
|
-
return
|
|
1218
|
+
return Q;
|
|
1219
1219
|
var r = t.customMerge(e);
|
|
1220
|
-
return typeof r == "function" ? r :
|
|
1220
|
+
return typeof r == "function" ? r : Q;
|
|
1221
1221
|
}
|
|
1222
|
-
function
|
|
1222
|
+
function Cn(e) {
|
|
1223
1223
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1224
1224
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1225
1225
|
}) : [];
|
|
1226
1226
|
}
|
|
1227
|
-
function
|
|
1228
|
-
return Object.keys(e).concat(
|
|
1227
|
+
function Pt(e) {
|
|
1228
|
+
return Object.keys(e).concat(Cn(e));
|
|
1229
1229
|
}
|
|
1230
|
-
function
|
|
1230
|
+
function rr(e, t) {
|
|
1231
1231
|
try {
|
|
1232
1232
|
return t in e;
|
|
1233
1233
|
} catch (r) {
|
|
1234
1234
|
return !1;
|
|
1235
1235
|
}
|
|
1236
1236
|
}
|
|
1237
|
-
function
|
|
1238
|
-
return
|
|
1237
|
+
function Nn(e, t) {
|
|
1238
|
+
return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1239
1239
|
}
|
|
1240
|
-
function
|
|
1240
|
+
function In(e, t, r) {
|
|
1241
1241
|
var n = {};
|
|
1242
|
-
return r.isMergeableObject(e) &&
|
|
1243
|
-
n[i] =
|
|
1244
|
-
}),
|
|
1245
|
-
|
|
1242
|
+
return r.isMergeableObject(e) && Pt(e).forEach(function(i) {
|
|
1243
|
+
n[i] = ce(e[i], r);
|
|
1244
|
+
}), Pt(t).forEach(function(i) {
|
|
1245
|
+
Nn(e, i) || (rr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ln(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
|
|
1246
1246
|
}), n;
|
|
1247
1247
|
}
|
|
1248
|
-
function
|
|
1249
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1250
|
-
var n = Array.isArray(t), i = Array.isArray(e),
|
|
1251
|
-
return
|
|
1248
|
+
function Q(e, t, r) {
|
|
1249
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || On, r.isMergeableObject = r.isMergeableObject || Sn, r.cloneUnlessOtherwiseSpecified = ce;
|
|
1250
|
+
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1251
|
+
return s ? n ? r.arrayMerge(e, t, r) : In(e, t, r) : ce(t, r);
|
|
1252
1252
|
}
|
|
1253
|
-
|
|
1253
|
+
Q.all = function(t, r) {
|
|
1254
1254
|
if (!Array.isArray(t))
|
|
1255
1255
|
throw new Error("first argument should be an array");
|
|
1256
1256
|
return t.reduce(function(n, i) {
|
|
1257
|
-
return
|
|
1257
|
+
return Q(n, i, r);
|
|
1258
1258
|
}, {});
|
|
1259
1259
|
};
|
|
1260
|
-
var
|
|
1261
|
-
const
|
|
1262
|
-
var
|
|
1263
|
-
return
|
|
1260
|
+
var Mn = Q, Rn = Mn;
|
|
1261
|
+
const Un = /* @__PURE__ */ xn(Rn);
|
|
1262
|
+
var Je = function(e, t) {
|
|
1263
|
+
return Je = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1264
1264
|
r.__proto__ = n;
|
|
1265
1265
|
} || function(r, n) {
|
|
1266
1266
|
for (var i in n)
|
|
1267
1267
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1268
|
-
},
|
|
1268
|
+
}, Je(e, t);
|
|
1269
1269
|
};
|
|
1270
|
-
function
|
|
1270
|
+
function Be(e, t) {
|
|
1271
1271
|
if (typeof t != "function" && t !== null)
|
|
1272
1272
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1273
|
-
|
|
1273
|
+
Je(e, t);
|
|
1274
1274
|
function r() {
|
|
1275
1275
|
this.constructor = e;
|
|
1276
1276
|
}
|
|
1277
1277
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1278
1278
|
}
|
|
1279
|
-
var
|
|
1280
|
-
return
|
|
1279
|
+
var D = function() {
|
|
1280
|
+
return D = Object.assign || function(t) {
|
|
1281
1281
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1282
1282
|
r = arguments[n];
|
|
1283
|
-
for (var
|
|
1284
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
1283
|
+
for (var s in r)
|
|
1284
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1285
1285
|
}
|
|
1286
1286
|
return t;
|
|
1287
|
-
},
|
|
1287
|
+
}, D.apply(this, arguments);
|
|
1288
1288
|
};
|
|
1289
|
-
function
|
|
1289
|
+
function Gn(e, t) {
|
|
1290
1290
|
var r = {};
|
|
1291
1291
|
for (var n in e)
|
|
1292
1292
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1295,43 +1295,43 @@ function Wn(e, t) {
|
|
|
1295
1295
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1296
1296
|
return r;
|
|
1297
1297
|
}
|
|
1298
|
-
function
|
|
1298
|
+
function Re(e, t, r) {
|
|
1299
1299
|
if (r || arguments.length === 2)
|
|
1300
|
-
for (var n = 0, i = t.length,
|
|
1301
|
-
(
|
|
1302
|
-
return e.concat(
|
|
1300
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
1301
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
1302
|
+
return e.concat(s || Array.prototype.slice.call(t));
|
|
1303
1303
|
}
|
|
1304
|
-
function
|
|
1305
|
-
var r = t && t.cache ? t.cache :
|
|
1304
|
+
function Ue(e, t) {
|
|
1305
|
+
var r = t && t.cache ? t.cache : Xn, n = t && t.serializer ? t.serializer : kn, i = t && t.strategy ? t.strategy : Fn;
|
|
1306
1306
|
return i(e, {
|
|
1307
1307
|
cache: r,
|
|
1308
1308
|
serializer: n
|
|
1309
1309
|
});
|
|
1310
1310
|
}
|
|
1311
|
-
function
|
|
1311
|
+
function Dn(e) {
|
|
1312
1312
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1313
1313
|
}
|
|
1314
|
-
function
|
|
1315
|
-
var i =
|
|
1316
|
-
return typeof
|
|
1314
|
+
function $n(e, t, r, n) {
|
|
1315
|
+
var i = Dn(n) ? n : r(n), s = t.get(i);
|
|
1316
|
+
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1317
1317
|
}
|
|
1318
|
-
function
|
|
1319
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n),
|
|
1320
|
-
return typeof
|
|
1318
|
+
function nr(e, t, r) {
|
|
1319
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1320
|
+
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function ir(e, t, r, n, i) {
|
|
1323
1323
|
return r.bind(t, e, n, i);
|
|
1324
1324
|
}
|
|
1325
|
-
function
|
|
1326
|
-
var r = e.length === 1 ?
|
|
1327
|
-
return
|
|
1325
|
+
function Fn(e, t) {
|
|
1326
|
+
var r = e.length === 1 ? $n : nr;
|
|
1327
|
+
return ir(e, this, r, t.cache.create(), t.serializer);
|
|
1328
1328
|
}
|
|
1329
|
-
function
|
|
1330
|
-
return
|
|
1329
|
+
function jn(e, t) {
|
|
1330
|
+
return ir(e, this, nr, t.cache.create(), t.serializer);
|
|
1331
1331
|
}
|
|
1332
|
-
var
|
|
1332
|
+
var kn = function() {
|
|
1333
1333
|
return JSON.stringify(arguments);
|
|
1334
|
-
},
|
|
1334
|
+
}, Vn = (
|
|
1335
1335
|
/** @class */
|
|
1336
1336
|
function() {
|
|
1337
1337
|
function e() {
|
|
@@ -1343,71 +1343,71 @@ var qn = function() {
|
|
|
1343
1343
|
this.cache[t] = r;
|
|
1344
1344
|
}, e;
|
|
1345
1345
|
}()
|
|
1346
|
-
),
|
|
1346
|
+
), Xn = {
|
|
1347
1347
|
create: function() {
|
|
1348
|
-
return new
|
|
1348
|
+
return new Vn();
|
|
1349
1349
|
}
|
|
1350
|
-
},
|
|
1351
|
-
variadic:
|
|
1352
|
-
},
|
|
1353
|
-
return
|
|
1350
|
+
}, Ge = {
|
|
1351
|
+
variadic: jn
|
|
1352
|
+
}, we = function() {
|
|
1353
|
+
return we = Object.assign || function(t) {
|
|
1354
1354
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1355
1355
|
r = arguments[n];
|
|
1356
|
-
for (var
|
|
1357
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
1356
|
+
for (var s in r)
|
|
1357
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1358
1358
|
}
|
|
1359
1359
|
return t;
|
|
1360
|
-
},
|
|
1360
|
+
}, we.apply(this, arguments);
|
|
1361
1361
|
};
|
|
1362
|
-
var
|
|
1362
|
+
var g;
|
|
1363
1363
|
(function(e) {
|
|
1364
1364
|
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";
|
|
1365
|
-
})(
|
|
1366
|
-
var
|
|
1365
|
+
})(g || (g = {}));
|
|
1366
|
+
var x;
|
|
1367
1367
|
(function(e) {
|
|
1368
1368
|
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";
|
|
1369
|
-
})(
|
|
1370
|
-
var
|
|
1369
|
+
})(x || (x = {}));
|
|
1370
|
+
var K;
|
|
1371
1371
|
(function(e) {
|
|
1372
1372
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1373
|
-
})(
|
|
1374
|
-
function
|
|
1375
|
-
return e.type ===
|
|
1373
|
+
})(K || (K = {}));
|
|
1374
|
+
function At(e) {
|
|
1375
|
+
return e.type === x.literal;
|
|
1376
1376
|
}
|
|
1377
|
-
function
|
|
1378
|
-
return e.type ===
|
|
1377
|
+
function Wn(e) {
|
|
1378
|
+
return e.type === x.argument;
|
|
1379
1379
|
}
|
|
1380
|
-
function
|
|
1381
|
-
return e.type ===
|
|
1380
|
+
function sr(e) {
|
|
1381
|
+
return e.type === x.number;
|
|
1382
1382
|
}
|
|
1383
|
-
function
|
|
1384
|
-
return e.type ===
|
|
1383
|
+
function or(e) {
|
|
1384
|
+
return e.type === x.date;
|
|
1385
1385
|
}
|
|
1386
|
-
function
|
|
1387
|
-
return e.type ===
|
|
1386
|
+
function ar(e) {
|
|
1387
|
+
return e.type === x.time;
|
|
1388
1388
|
}
|
|
1389
|
-
function
|
|
1390
|
-
return e.type ===
|
|
1389
|
+
function ur(e) {
|
|
1390
|
+
return e.type === x.select;
|
|
1391
1391
|
}
|
|
1392
|
-
function
|
|
1393
|
-
return e.type ===
|
|
1392
|
+
function hr(e) {
|
|
1393
|
+
return e.type === x.plural;
|
|
1394
1394
|
}
|
|
1395
|
-
function
|
|
1396
|
-
return e.type ===
|
|
1395
|
+
function zn(e) {
|
|
1396
|
+
return e.type === x.pound;
|
|
1397
1397
|
}
|
|
1398
|
-
function
|
|
1399
|
-
return e.type ===
|
|
1398
|
+
function lr(e) {
|
|
1399
|
+
return e.type === x.tag;
|
|
1400
1400
|
}
|
|
1401
|
-
function
|
|
1402
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1401
|
+
function cr(e) {
|
|
1402
|
+
return !!(e && typeof e == "object" && e.type === K.number);
|
|
1403
1403
|
}
|
|
1404
|
-
function
|
|
1405
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1404
|
+
function Qe(e) {
|
|
1405
|
+
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
|
1406
1406
|
}
|
|
1407
|
-
var
|
|
1408
|
-
function
|
|
1407
|
+
var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zn = /(?:[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;
|
|
1408
|
+
function qn(e) {
|
|
1409
1409
|
var t = {};
|
|
1410
|
-
return e.replace(
|
|
1410
|
+
return e.replace(Zn, function(r) {
|
|
1411
1411
|
var n = r.length;
|
|
1412
1412
|
switch (r[0]) {
|
|
1413
1413
|
case "G":
|
|
@@ -1496,46 +1496,46 @@ function ni(e) {
|
|
|
1496
1496
|
return "";
|
|
1497
1497
|
}), t;
|
|
1498
1498
|
}
|
|
1499
|
-
var
|
|
1500
|
-
return
|
|
1499
|
+
var S = function() {
|
|
1500
|
+
return S = Object.assign || function(t) {
|
|
1501
1501
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1502
1502
|
r = arguments[n];
|
|
1503
|
-
for (var
|
|
1504
|
-
Object.prototype.hasOwnProperty.call(r,
|
|
1503
|
+
for (var s in r)
|
|
1504
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1505
1505
|
}
|
|
1506
1506
|
return t;
|
|
1507
|
-
},
|
|
1507
|
+
}, S.apply(this, arguments);
|
|
1508
1508
|
};
|
|
1509
|
-
var
|
|
1510
|
-
function
|
|
1509
|
+
var Yn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1510
|
+
function Jn(e) {
|
|
1511
1511
|
if (e.length === 0)
|
|
1512
1512
|
throw new Error("Number skeleton cannot be empty");
|
|
1513
|
-
for (var t = e.split(
|
|
1513
|
+
for (var t = e.split(Yn).filter(function(c) {
|
|
1514
1514
|
return c.length > 0;
|
|
1515
1515
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1516
|
-
var
|
|
1517
|
-
if (
|
|
1516
|
+
var s = i[n], o = s.split("/");
|
|
1517
|
+
if (o.length === 0)
|
|
1518
1518
|
throw new Error("Invalid number skeleton");
|
|
1519
|
-
for (var a =
|
|
1520
|
-
var
|
|
1521
|
-
if (
|
|
1519
|
+
for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1520
|
+
var f = l[u];
|
|
1521
|
+
if (f.length === 0)
|
|
1522
1522
|
throw new Error("Invalid number skeleton");
|
|
1523
1523
|
}
|
|
1524
|
-
r.push({ stem: a, options:
|
|
1524
|
+
r.push({ stem: a, options: h });
|
|
1525
1525
|
}
|
|
1526
1526
|
return r;
|
|
1527
1527
|
}
|
|
1528
|
-
function
|
|
1528
|
+
function Qn(e) {
|
|
1529
1529
|
return e.replace(/^(.*?)-/, "");
|
|
1530
1530
|
}
|
|
1531
|
-
var
|
|
1532
|
-
function
|
|
1531
|
+
var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, mr = /^(@+)?(\+|#+)?[rs]?$/g, Kn = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
|
|
1532
|
+
function Ot(e) {
|
|
1533
1533
|
var t = {};
|
|
1534
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1534
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(mr, function(r, n, i) {
|
|
1535
1535
|
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)), "";
|
|
1536
1536
|
}), t;
|
|
1537
1537
|
}
|
|
1538
|
-
function
|
|
1538
|
+
function pr(e) {
|
|
1539
1539
|
switch (e) {
|
|
1540
1540
|
case "sign-auto":
|
|
1541
1541
|
return {
|
|
@@ -1575,7 +1575,7 @@ function Cr(e) {
|
|
|
1575
1575
|
};
|
|
1576
1576
|
}
|
|
1577
1577
|
}
|
|
1578
|
-
function
|
|
1578
|
+
function ei(e) {
|
|
1579
1579
|
var t;
|
|
1580
1580
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1581
1581
|
notation: "engineering"
|
|
@@ -1583,17 +1583,17 @@ function li(e) {
|
|
|
1583
1583
|
notation: "scientific"
|
|
1584
1584
|
}, e = e.slice(1)), t) {
|
|
1585
1585
|
var r = e.slice(0, 2);
|
|
1586
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1586
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
|
|
1587
1587
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1588
1588
|
t.minimumIntegerDigits = e.length;
|
|
1589
1589
|
}
|
|
1590
1590
|
return t;
|
|
1591
1591
|
}
|
|
1592
|
-
function
|
|
1593
|
-
var t = {}, r =
|
|
1592
|
+
function Lt(e) {
|
|
1593
|
+
var t = {}, r = pr(e);
|
|
1594
1594
|
return r || t;
|
|
1595
1595
|
}
|
|
1596
|
-
function
|
|
1596
|
+
function ti(e) {
|
|
1597
1597
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1598
1598
|
var i = n[r];
|
|
1599
1599
|
switch (i.stem) {
|
|
@@ -1617,7 +1617,7 @@ function ui(e) {
|
|
|
1617
1617
|
continue;
|
|
1618
1618
|
case "measure-unit":
|
|
1619
1619
|
case "unit":
|
|
1620
|
-
t.style = "unit", t.unit =
|
|
1620
|
+
t.style = "unit", t.unit = Qn(i.options[0]);
|
|
1621
1621
|
continue;
|
|
1622
1622
|
case "compact-short":
|
|
1623
1623
|
case "K":
|
|
@@ -1628,13 +1628,13 @@ function ui(e) {
|
|
|
1628
1628
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1629
1629
|
continue;
|
|
1630
1630
|
case "scientific":
|
|
1631
|
-
t =
|
|
1632
|
-
return
|
|
1631
|
+
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1632
|
+
return S(S({}, h), Lt(u));
|
|
1633
1633
|
}, {}));
|
|
1634
1634
|
continue;
|
|
1635
1635
|
case "engineering":
|
|
1636
|
-
t =
|
|
1637
|
-
return
|
|
1636
|
+
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1637
|
+
return S(S({}, h), Lt(u));
|
|
1638
1638
|
}, {}));
|
|
1639
1639
|
continue;
|
|
1640
1640
|
case "notation-simple":
|
|
@@ -1679,45 +1679,45 @@ function ui(e) {
|
|
|
1679
1679
|
case "integer-width":
|
|
1680
1680
|
if (i.options.length > 1)
|
|
1681
1681
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1682
|
-
i.options[0].replace(
|
|
1683
|
-
if (
|
|
1684
|
-
t.minimumIntegerDigits =
|
|
1682
|
+
i.options[0].replace(Kn, function(h, u, l, f, c, d) {
|
|
1683
|
+
if (u)
|
|
1684
|
+
t.minimumIntegerDigits = l.length;
|
|
1685
1685
|
else {
|
|
1686
|
-
if (
|
|
1686
|
+
if (f && c)
|
|
1687
1687
|
throw new Error("We currently do not support maximum integer digits");
|
|
1688
|
-
if (
|
|
1688
|
+
if (d)
|
|
1689
1689
|
throw new Error("We currently do not support exact integer digits");
|
|
1690
1690
|
}
|
|
1691
1691
|
return "";
|
|
1692
1692
|
});
|
|
1693
1693
|
continue;
|
|
1694
1694
|
}
|
|
1695
|
-
if (
|
|
1695
|
+
if (dr.test(i.stem)) {
|
|
1696
1696
|
t.minimumIntegerDigits = i.stem.length;
|
|
1697
1697
|
continue;
|
|
1698
1698
|
}
|
|
1699
|
-
if (
|
|
1699
|
+
if (Bt.test(i.stem)) {
|
|
1700
1700
|
if (i.options.length > 1)
|
|
1701
1701
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1702
|
-
i.stem.replace(
|
|
1703
|
-
return
|
|
1702
|
+
i.stem.replace(Bt, function(h, u, l, f, c, d) {
|
|
1703
|
+
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1704
1704
|
});
|
|
1705
|
-
var
|
|
1706
|
-
|
|
1705
|
+
var s = i.options[0];
|
|
1706
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), Ot(s)));
|
|
1707
1707
|
continue;
|
|
1708
1708
|
}
|
|
1709
|
-
if (
|
|
1710
|
-
t =
|
|
1709
|
+
if (mr.test(i.stem)) {
|
|
1710
|
+
t = S(S({}, t), Ot(i.stem));
|
|
1711
1711
|
continue;
|
|
1712
1712
|
}
|
|
1713
|
-
var
|
|
1714
|
-
|
|
1715
|
-
var a =
|
|
1716
|
-
a && (t =
|
|
1713
|
+
var o = pr(i.stem);
|
|
1714
|
+
o && (t = S(S({}, t), o));
|
|
1715
|
+
var a = ei(i.stem);
|
|
1716
|
+
a && (t = S(S({}, t), a));
|
|
1717
1717
|
}
|
|
1718
1718
|
return t;
|
|
1719
1719
|
}
|
|
1720
|
-
var
|
|
1720
|
+
var ve = {
|
|
1721
1721
|
"001": [
|
|
1722
1722
|
"H",
|
|
1723
1723
|
"h"
|
|
@@ -3132,23 +3132,23 @@ var Ie = {
|
|
|
3132
3132
|
"h"
|
|
3133
3133
|
]
|
|
3134
3134
|
};
|
|
3135
|
-
function
|
|
3135
|
+
function ri(e, t) {
|
|
3136
3136
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3137
3137
|
var i = e.charAt(n);
|
|
3138
3138
|
if (i === "j") {
|
|
3139
|
-
for (var
|
|
3140
|
-
|
|
3141
|
-
var
|
|
3142
|
-
for ((
|
|
3143
|
-
r +=
|
|
3144
|
-
for (;
|
|
3145
|
-
r =
|
|
3139
|
+
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3140
|
+
s++, n++;
|
|
3141
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = ni(t);
|
|
3142
|
+
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3143
|
+
r += h;
|
|
3144
|
+
for (; o-- > 0; )
|
|
3145
|
+
r = u + r;
|
|
3146
3146
|
} else
|
|
3147
3147
|
i === "J" ? r += "H" : r += i;
|
|
3148
3148
|
}
|
|
3149
3149
|
return r;
|
|
3150
3150
|
}
|
|
3151
|
-
function
|
|
3151
|
+
function ni(e) {
|
|
3152
3152
|
var t = e.hourCycle;
|
|
3153
3153
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3154
3154
|
e.hourCycles && // @ts-ignore
|
|
@@ -3167,23 +3167,23 @@ function ci(e) {
|
|
|
3167
3167
|
}
|
|
3168
3168
|
var r = e.language, n;
|
|
3169
3169
|
r !== "root" && (n = e.maximize().region);
|
|
3170
|
-
var i =
|
|
3170
|
+
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3171
3171
|
return i[0];
|
|
3172
3172
|
}
|
|
3173
|
-
var
|
|
3174
|
-
function
|
|
3173
|
+
var De, ii = new RegExp("^".concat(fr.source, "*")), si = new RegExp("".concat(fr.source, "*$"));
|
|
3174
|
+
function y(e, t) {
|
|
3175
3175
|
return { start: e, end: t };
|
|
3176
3176
|
}
|
|
3177
|
-
var
|
|
3177
|
+
var oi = !!String.prototype.startsWith && "_a".startsWith("a", 1), ai = !!String.fromCodePoint, ui = !!Object.fromEntries, hi = !!String.prototype.codePointAt, li = !!String.prototype.trimStart, ci = !!String.prototype.trimEnd, fi = !!Number.isSafeInteger, mi = fi ? Number.isSafeInteger : function(e) {
|
|
3178
3178
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3179
|
-
},
|
|
3179
|
+
}, Ke = !0;
|
|
3180
3180
|
try {
|
|
3181
|
-
var
|
|
3182
|
-
|
|
3181
|
+
var di = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3182
|
+
Ke = ((De = di.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
|
|
3183
3183
|
} catch (e) {
|
|
3184
|
-
|
|
3184
|
+
Ke = !1;
|
|
3185
3185
|
}
|
|
3186
|
-
var
|
|
3186
|
+
var Ct = oi ? (
|
|
3187
3187
|
// Native
|
|
3188
3188
|
function(t, r, n) {
|
|
3189
3189
|
return t.startsWith(r, n);
|
|
@@ -3193,31 +3193,31 @@ var Wt = di ? (
|
|
|
3193
3193
|
function(t, r, n) {
|
|
3194
3194
|
return t.slice(n, n + r.length) === r;
|
|
3195
3195
|
}
|
|
3196
|
-
),
|
|
3196
|
+
), et = ai ? String.fromCodePoint : (
|
|
3197
3197
|
// IE11
|
|
3198
3198
|
function() {
|
|
3199
3199
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3200
3200
|
t[r] = arguments[r];
|
|
3201
|
-
for (var n = "", i = t.length,
|
|
3202
|
-
if (
|
|
3203
|
-
throw RangeError(
|
|
3204
|
-
n +=
|
|
3201
|
+
for (var n = "", i = t.length, s = 0, o; i > s; ) {
|
|
3202
|
+
if (o = t[s++], o > 1114111)
|
|
3203
|
+
throw RangeError(o + " is not a valid code point");
|
|
3204
|
+
n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
|
|
3205
3205
|
}
|
|
3206
3206
|
return n;
|
|
3207
3207
|
}
|
|
3208
|
-
),
|
|
3208
|
+
), Nt = (
|
|
3209
3209
|
// native
|
|
3210
|
-
|
|
3210
|
+
ui ? Object.fromEntries : (
|
|
3211
3211
|
// Ponyfill
|
|
3212
3212
|
function(t) {
|
|
3213
3213
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3214
|
-
var
|
|
3215
|
-
r[
|
|
3214
|
+
var s = i[n], o = s[0], a = s[1];
|
|
3215
|
+
r[o] = a;
|
|
3216
3216
|
}
|
|
3217
3217
|
return r;
|
|
3218
3218
|
}
|
|
3219
3219
|
)
|
|
3220
|
-
),
|
|
3220
|
+
), br = hi ? (
|
|
3221
3221
|
// Native
|
|
3222
3222
|
function(t, r) {
|
|
3223
3223
|
return t.codePointAt(r);
|
|
@@ -3227,11 +3227,11 @@ var Wt = di ? (
|
|
|
3227
3227
|
function(t, r) {
|
|
3228
3228
|
var n = t.length;
|
|
3229
3229
|
if (!(r < 0 || r >= n)) {
|
|
3230
|
-
var i = t.charCodeAt(r),
|
|
3231
|
-
return i < 55296 || i > 56319 || r + 1 === n || (
|
|
3230
|
+
var i = t.charCodeAt(r), s;
|
|
3231
|
+
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3232
3232
|
}
|
|
3233
3233
|
}
|
|
3234
|
-
),
|
|
3234
|
+
), pi = li ? (
|
|
3235
3235
|
// Native
|
|
3236
3236
|
function(t) {
|
|
3237
3237
|
return t.trimStart();
|
|
@@ -3239,9 +3239,9 @@ var Wt = di ? (
|
|
|
3239
3239
|
) : (
|
|
3240
3240
|
// Ponyfill
|
|
3241
3241
|
function(t) {
|
|
3242
|
-
return t.replace(
|
|
3242
|
+
return t.replace(ii, "");
|
|
3243
3243
|
}
|
|
3244
|
-
),
|
|
3244
|
+
), bi = ci ? (
|
|
3245
3245
|
// Native
|
|
3246
3246
|
function(t) {
|
|
3247
3247
|
return t.trimEnd();
|
|
@@ -3249,32 +3249,32 @@ var Wt = di ? (
|
|
|
3249
3249
|
) : (
|
|
3250
3250
|
// Ponyfill
|
|
3251
3251
|
function(t) {
|
|
3252
|
-
return t.replace(
|
|
3252
|
+
return t.replace(si, "");
|
|
3253
3253
|
}
|
|
3254
3254
|
);
|
|
3255
|
-
function
|
|
3255
|
+
function gr(e, t) {
|
|
3256
3256
|
return new RegExp(e, t);
|
|
3257
3257
|
}
|
|
3258
|
-
var
|
|
3259
|
-
if (
|
|
3260
|
-
var
|
|
3261
|
-
|
|
3258
|
+
var tt;
|
|
3259
|
+
if (Ke) {
|
|
3260
|
+
var It = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3261
|
+
tt = function(t, r) {
|
|
3262
3262
|
var n;
|
|
3263
|
-
|
|
3264
|
-
var i =
|
|
3263
|
+
It.lastIndex = r;
|
|
3264
|
+
var i = It.exec(t);
|
|
3265
3265
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3266
3266
|
};
|
|
3267
3267
|
} else
|
|
3268
|
-
|
|
3268
|
+
tt = function(t, r) {
|
|
3269
3269
|
for (var n = []; ; ) {
|
|
3270
|
-
var i =
|
|
3271
|
-
if (i === void 0 ||
|
|
3270
|
+
var i = br(t, r);
|
|
3271
|
+
if (i === void 0 || yr(i) || _i(i))
|
|
3272
3272
|
break;
|
|
3273
3273
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3274
3274
|
}
|
|
3275
|
-
return
|
|
3275
|
+
return et.apply(void 0, n);
|
|
3276
3276
|
};
|
|
3277
|
-
var
|
|
3277
|
+
var gi = (
|
|
3278
3278
|
/** @class */
|
|
3279
3279
|
function() {
|
|
3280
3280
|
function e(t, r) {
|
|
@@ -3286,35 +3286,35 @@ var Ti = (
|
|
|
3286
3286
|
return this.parseMessage(0, "", !1);
|
|
3287
3287
|
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3288
3288
|
for (var i = []; !this.isEOF(); ) {
|
|
3289
|
-
var
|
|
3290
|
-
if (
|
|
3291
|
-
var
|
|
3292
|
-
if (
|
|
3293
|
-
return
|
|
3294
|
-
i.push(
|
|
3289
|
+
var s = this.char();
|
|
3290
|
+
if (s === 123) {
|
|
3291
|
+
var o = this.parseArgument(t, n);
|
|
3292
|
+
if (o.err)
|
|
3293
|
+
return o;
|
|
3294
|
+
i.push(o.val);
|
|
3295
3295
|
} else {
|
|
3296
|
-
if (
|
|
3296
|
+
if (s === 125 && t > 0)
|
|
3297
3297
|
break;
|
|
3298
|
-
if (
|
|
3298
|
+
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3299
3299
|
var a = this.clonePosition();
|
|
3300
3300
|
this.bump(), i.push({
|
|
3301
|
-
type:
|
|
3302
|
-
location:
|
|
3301
|
+
type: x.pound,
|
|
3302
|
+
location: y(a, this.clonePosition())
|
|
3303
3303
|
});
|
|
3304
|
-
} else if (
|
|
3304
|
+
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3305
3305
|
if (n)
|
|
3306
3306
|
break;
|
|
3307
|
-
return this.error(
|
|
3308
|
-
} else if (
|
|
3309
|
-
var
|
|
3310
|
-
if (
|
|
3311
|
-
return
|
|
3312
|
-
i.push(
|
|
3307
|
+
return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3308
|
+
} else if (s === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
|
|
3309
|
+
var o = this.parseTag(t, r);
|
|
3310
|
+
if (o.err)
|
|
3311
|
+
return o;
|
|
3312
|
+
i.push(o.val);
|
|
3313
3313
|
} else {
|
|
3314
|
-
var
|
|
3315
|
-
if (
|
|
3316
|
-
return
|
|
3317
|
-
i.push(
|
|
3314
|
+
var o = this.parseLiteral(t, r);
|
|
3315
|
+
if (o.err)
|
|
3316
|
+
return o;
|
|
3317
|
+
i.push(o.val);
|
|
3318
3318
|
}
|
|
3319
3319
|
}
|
|
3320
3320
|
}
|
|
@@ -3326,51 +3326,51 @@ var Ti = (
|
|
|
3326
3326
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3327
3327
|
return {
|
|
3328
3328
|
val: {
|
|
3329
|
-
type:
|
|
3329
|
+
type: x.literal,
|
|
3330
3330
|
value: "<".concat(i, "/>"),
|
|
3331
|
-
location:
|
|
3331
|
+
location: y(n, this.clonePosition())
|
|
3332
3332
|
},
|
|
3333
3333
|
err: null
|
|
3334
3334
|
};
|
|
3335
3335
|
if (this.bumpIf(">")) {
|
|
3336
|
-
var
|
|
3337
|
-
if (
|
|
3338
|
-
return
|
|
3339
|
-
var
|
|
3336
|
+
var s = this.parseMessage(t + 1, r, !0);
|
|
3337
|
+
if (s.err)
|
|
3338
|
+
return s;
|
|
3339
|
+
var o = s.val, a = this.clonePosition();
|
|
3340
3340
|
if (this.bumpIf("</")) {
|
|
3341
|
-
if (this.isEOF() || !
|
|
3342
|
-
return this.error(
|
|
3343
|
-
var
|
|
3344
|
-
return i !==
|
|
3341
|
+
if (this.isEOF() || !rt(this.char()))
|
|
3342
|
+
return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
|
|
3343
|
+
var h = this.clonePosition(), u = this.parseTagName();
|
|
3344
|
+
return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3345
3345
|
val: {
|
|
3346
|
-
type:
|
|
3346
|
+
type: x.tag,
|
|
3347
3347
|
value: i,
|
|
3348
|
-
children:
|
|
3349
|
-
location:
|
|
3348
|
+
children: o,
|
|
3349
|
+
location: y(n, this.clonePosition())
|
|
3350
3350
|
},
|
|
3351
3351
|
err: null
|
|
3352
|
-
} : this.error(
|
|
3352
|
+
} : this.error(g.INVALID_TAG, y(a, this.clonePosition())));
|
|
3353
3353
|
} else
|
|
3354
|
-
return this.error(
|
|
3354
|
+
return this.error(g.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
3355
3355
|
} else
|
|
3356
|
-
return this.error(
|
|
3356
|
+
return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
|
|
3357
3357
|
}, e.prototype.parseTagName = function() {
|
|
3358
3358
|
var t = this.offset();
|
|
3359
|
-
for (this.bump(); !this.isEOF() &&
|
|
3359
|
+
for (this.bump(); !this.isEOF() && vi(this.char()); )
|
|
3360
3360
|
this.bump();
|
|
3361
3361
|
return this.message.slice(t, this.offset());
|
|
3362
3362
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
3363
3363
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3364
|
-
var
|
|
3365
|
-
if (o) {
|
|
3366
|
-
i += o;
|
|
3367
|
-
continue;
|
|
3368
|
-
}
|
|
3369
|
-
var s = this.tryParseUnquoted(t, r);
|
|
3364
|
+
var s = this.tryParseQuote(r);
|
|
3370
3365
|
if (s) {
|
|
3371
3366
|
i += s;
|
|
3372
3367
|
continue;
|
|
3373
3368
|
}
|
|
3369
|
+
var o = this.tryParseUnquoted(t, r);
|
|
3370
|
+
if (o) {
|
|
3371
|
+
i += o;
|
|
3372
|
+
continue;
|
|
3373
|
+
}
|
|
3374
3374
|
var a = this.tryParseLeftAngleBracket();
|
|
3375
3375
|
if (a) {
|
|
3376
3376
|
i += a;
|
|
@@ -3378,14 +3378,14 @@ var Ti = (
|
|
|
3378
3378
|
}
|
|
3379
3379
|
break;
|
|
3380
3380
|
}
|
|
3381
|
-
var
|
|
3381
|
+
var h = y(n, this.clonePosition());
|
|
3382
3382
|
return {
|
|
3383
|
-
val: { type:
|
|
3383
|
+
val: { type: x.literal, value: i, location: h },
|
|
3384
3384
|
err: null
|
|
3385
3385
|
};
|
|
3386
3386
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3387
3387
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3388
|
-
!
|
|
3388
|
+
!yi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3389
3389
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3390
3390
|
if (this.isEOF() || this.char() !== 39)
|
|
3391
3391
|
return null;
|
|
@@ -3419,100 +3419,100 @@ var Ti = (
|
|
|
3419
3419
|
r.push(n);
|
|
3420
3420
|
this.bump();
|
|
3421
3421
|
}
|
|
3422
|
-
return
|
|
3422
|
+
return et.apply(void 0, r);
|
|
3423
3423
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3424
3424
|
if (this.isEOF())
|
|
3425
3425
|
return null;
|
|
3426
3426
|
var n = this.char();
|
|
3427
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3427
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), et(n));
|
|
3428
3428
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3429
3429
|
var n = this.clonePosition();
|
|
3430
3430
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3431
|
-
return this.error(
|
|
3431
|
+
return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3432
3432
|
if (this.char() === 125)
|
|
3433
|
-
return this.bump(), this.error(
|
|
3433
|
+
return this.bump(), this.error(g.EMPTY_ARGUMENT, y(n, this.clonePosition()));
|
|
3434
3434
|
var i = this.parseIdentifierIfPossible().value;
|
|
3435
3435
|
if (!i)
|
|
3436
|
-
return this.error(
|
|
3436
|
+
return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3437
3437
|
if (this.bumpSpace(), this.isEOF())
|
|
3438
|
-
return this.error(
|
|
3438
|
+
return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3439
3439
|
switch (this.char()) {
|
|
3440
3440
|
case 125:
|
|
3441
3441
|
return this.bump(), {
|
|
3442
3442
|
val: {
|
|
3443
|
-
type:
|
|
3443
|
+
type: x.argument,
|
|
3444
3444
|
// value does not include the opening and closing braces.
|
|
3445
3445
|
value: i,
|
|
3446
|
-
location:
|
|
3446
|
+
location: y(n, this.clonePosition())
|
|
3447
3447
|
},
|
|
3448
3448
|
err: null
|
|
3449
3449
|
};
|
|
3450
3450
|
case 44:
|
|
3451
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
|
3451
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3452
3452
|
default:
|
|
3453
|
-
return this.error(
|
|
3453
|
+
return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3454
3454
|
}
|
|
3455
3455
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3456
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3456
|
+
var t = this.clonePosition(), r = this.offset(), n = tt(this.message, r), i = r + n.length;
|
|
3457
3457
|
this.bumpTo(i);
|
|
3458
|
-
var
|
|
3459
|
-
return { value: n, location:
|
|
3458
|
+
var s = this.clonePosition(), o = y(t, s);
|
|
3459
|
+
return { value: n, location: o };
|
|
3460
3460
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3461
|
-
var
|
|
3461
|
+
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3462
3462
|
switch (a) {
|
|
3463
3463
|
case "":
|
|
3464
|
-
return this.error(
|
|
3464
|
+
return this.error(g.EXPECT_ARGUMENT_TYPE, y(o, h));
|
|
3465
3465
|
case "number":
|
|
3466
3466
|
case "date":
|
|
3467
3467
|
case "time": {
|
|
3468
3468
|
this.bumpSpace();
|
|
3469
|
-
var
|
|
3469
|
+
var u = null;
|
|
3470
3470
|
if (this.bumpIf(",")) {
|
|
3471
3471
|
this.bumpSpace();
|
|
3472
|
-
var
|
|
3473
|
-
if (
|
|
3474
|
-
return
|
|
3475
|
-
var c =
|
|
3472
|
+
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3473
|
+
if (f.err)
|
|
3474
|
+
return f;
|
|
3475
|
+
var c = bi(f.val);
|
|
3476
3476
|
if (c.length === 0)
|
|
3477
|
-
return this.error(
|
|
3478
|
-
var
|
|
3479
|
-
|
|
3477
|
+
return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3478
|
+
var d = y(l, this.clonePosition());
|
|
3479
|
+
u = { style: c, styleLocation: d };
|
|
3480
3480
|
}
|
|
3481
|
-
var
|
|
3482
|
-
if (
|
|
3483
|
-
return
|
|
3484
|
-
var
|
|
3485
|
-
if (
|
|
3486
|
-
var
|
|
3481
|
+
var b = this.tryParseArgumentClose(i);
|
|
3482
|
+
if (b.err)
|
|
3483
|
+
return b;
|
|
3484
|
+
var v = y(i, this.clonePosition());
|
|
3485
|
+
if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
|
|
3486
|
+
var w = pi(u.style.slice(2));
|
|
3487
3487
|
if (a === "number") {
|
|
3488
|
-
var
|
|
3489
|
-
return
|
|
3490
|
-
val: { type:
|
|
3488
|
+
var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3489
|
+
return f.err ? f : {
|
|
3490
|
+
val: { type: x.number, value: n, location: v, style: f.val },
|
|
3491
3491
|
err: null
|
|
3492
3492
|
};
|
|
3493
3493
|
} else {
|
|
3494
|
-
if (
|
|
3495
|
-
return this.error(
|
|
3496
|
-
var
|
|
3497
|
-
this.locale && (
|
|
3494
|
+
if (w.length === 0)
|
|
3495
|
+
return this.error(g.EXPECT_DATE_TIME_SKELETON, v);
|
|
3496
|
+
var I = w;
|
|
3497
|
+
this.locale && (I = ri(w, this.locale));
|
|
3498
3498
|
var c = {
|
|
3499
|
-
type:
|
|
3500
|
-
pattern:
|
|
3501
|
-
location:
|
|
3502
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3503
|
-
},
|
|
3499
|
+
type: K.dateTime,
|
|
3500
|
+
pattern: I,
|
|
3501
|
+
location: u.styleLocation,
|
|
3502
|
+
parsedOptions: this.shouldParseSkeletons ? qn(I) : {}
|
|
3503
|
+
}, B = a === "date" ? x.date : x.time;
|
|
3504
3504
|
return {
|
|
3505
|
-
val: { type:
|
|
3505
|
+
val: { type: B, value: n, location: v, style: c },
|
|
3506
3506
|
err: null
|
|
3507
3507
|
};
|
|
3508
3508
|
}
|
|
3509
3509
|
}
|
|
3510
3510
|
return {
|
|
3511
3511
|
val: {
|
|
3512
|
-
type: a === "number" ?
|
|
3512
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3513
3513
|
value: n,
|
|
3514
|
-
location:
|
|
3515
|
-
style: (
|
|
3514
|
+
location: v,
|
|
3515
|
+
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
3516
3516
|
},
|
|
3517
3517
|
err: null
|
|
3518
3518
|
};
|
|
@@ -3520,52 +3520,52 @@ var Ti = (
|
|
|
3520
3520
|
case "plural":
|
|
3521
3521
|
case "selectordinal":
|
|
3522
3522
|
case "select": {
|
|
3523
|
-
var
|
|
3523
|
+
var H = this.clonePosition();
|
|
3524
3524
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3525
|
-
return this.error(
|
|
3525
|
+
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(H, we({}, H)));
|
|
3526
3526
|
this.bumpSpace();
|
|
3527
|
-
var
|
|
3528
|
-
if (a !== "select" &&
|
|
3527
|
+
var M = this.parseIdentifierIfPossible(), O = 0;
|
|
3528
|
+
if (a !== "select" && M.value === "offset") {
|
|
3529
3529
|
if (!this.bumpIf(":"))
|
|
3530
|
-
return this.error(
|
|
3530
|
+
return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3531
3531
|
this.bumpSpace();
|
|
3532
|
-
var
|
|
3533
|
-
if (
|
|
3534
|
-
return
|
|
3535
|
-
this.bumpSpace(),
|
|
3532
|
+
var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3533
|
+
if (f.err)
|
|
3534
|
+
return f;
|
|
3535
|
+
this.bumpSpace(), M = this.parseIdentifierIfPossible(), O = f.val;
|
|
3536
3536
|
}
|
|
3537
|
-
var R = this.tryParsePluralOrSelectOptions(t, a, r,
|
|
3537
|
+
var R = this.tryParsePluralOrSelectOptions(t, a, r, M);
|
|
3538
3538
|
if (R.err)
|
|
3539
3539
|
return R;
|
|
3540
|
-
var
|
|
3541
|
-
if (
|
|
3542
|
-
return
|
|
3543
|
-
var
|
|
3540
|
+
var b = this.tryParseArgumentClose(i);
|
|
3541
|
+
if (b.err)
|
|
3542
|
+
return b;
|
|
3543
|
+
var _ = y(i, this.clonePosition());
|
|
3544
3544
|
return a === "select" ? {
|
|
3545
3545
|
val: {
|
|
3546
|
-
type:
|
|
3546
|
+
type: x.select,
|
|
3547
3547
|
value: n,
|
|
3548
|
-
options:
|
|
3549
|
-
location:
|
|
3548
|
+
options: Nt(R.val),
|
|
3549
|
+
location: _
|
|
3550
3550
|
},
|
|
3551
3551
|
err: null
|
|
3552
3552
|
} : {
|
|
3553
3553
|
val: {
|
|
3554
|
-
type:
|
|
3554
|
+
type: x.plural,
|
|
3555
3555
|
value: n,
|
|
3556
|
-
options:
|
|
3557
|
-
offset:
|
|
3556
|
+
options: Nt(R.val),
|
|
3557
|
+
offset: O,
|
|
3558
3558
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3559
|
-
location:
|
|
3559
|
+
location: _
|
|
3560
3560
|
},
|
|
3561
3561
|
err: null
|
|
3562
3562
|
};
|
|
3563
3563
|
}
|
|
3564
3564
|
default:
|
|
3565
|
-
return this.error(
|
|
3565
|
+
return this.error(g.INVALID_ARGUMENT_TYPE, y(o, h));
|
|
3566
3566
|
}
|
|
3567
3567
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3568
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
|
3568
|
+
return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3569
3569
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3570
3570
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3571
3571
|
var n = this.char();
|
|
@@ -3574,7 +3574,7 @@ var Ti = (
|
|
|
3574
3574
|
this.bump();
|
|
3575
3575
|
var i = this.clonePosition();
|
|
3576
3576
|
if (!this.bumpUntil("'"))
|
|
3577
|
-
return this.error(
|
|
3577
|
+
return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
|
|
3578
3578
|
this.bump();
|
|
3579
3579
|
break;
|
|
3580
3580
|
}
|
|
@@ -3604,64 +3604,64 @@ var Ti = (
|
|
|
3604
3604
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3605
3605
|
var n = [];
|
|
3606
3606
|
try {
|
|
3607
|
-
n =
|
|
3607
|
+
n = Jn(t);
|
|
3608
3608
|
} catch (i) {
|
|
3609
|
-
return this.error(
|
|
3609
|
+
return this.error(g.INVALID_NUMBER_SKELETON, r);
|
|
3610
3610
|
}
|
|
3611
3611
|
return {
|
|
3612
3612
|
val: {
|
|
3613
|
-
type:
|
|
3613
|
+
type: K.number,
|
|
3614
3614
|
tokens: n,
|
|
3615
3615
|
location: r,
|
|
3616
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3616
|
+
parsedOptions: this.shouldParseSkeletons ? ti(n) : {}
|
|
3617
3617
|
},
|
|
3618
3618
|
err: null
|
|
3619
3619
|
};
|
|
3620
3620
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3621
|
-
for (var
|
|
3622
|
-
if (
|
|
3623
|
-
var
|
|
3621
|
+
for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3622
|
+
if (u.length === 0) {
|
|
3623
|
+
var f = this.clonePosition();
|
|
3624
3624
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3625
|
-
var c = this.tryParseDecimalInteger(
|
|
3625
|
+
var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3626
3626
|
if (c.err)
|
|
3627
3627
|
return c;
|
|
3628
|
-
|
|
3628
|
+
l = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3629
3629
|
} else
|
|
3630
3630
|
break;
|
|
3631
3631
|
}
|
|
3632
|
-
if (
|
|
3633
|
-
return this.error(r === "select" ?
|
|
3634
|
-
|
|
3635
|
-
var
|
|
3632
|
+
if (h.has(u))
|
|
3633
|
+
return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3634
|
+
u === "other" && (o = !0), this.bumpSpace();
|
|
3635
|
+
var d = this.clonePosition();
|
|
3636
3636
|
if (!this.bumpIf("{"))
|
|
3637
|
-
return this.error(r === "select" ?
|
|
3638
|
-
var
|
|
3637
|
+
return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3638
|
+
var b = this.parseMessage(t + 1, r, n);
|
|
3639
|
+
if (b.err)
|
|
3640
|
+
return b;
|
|
3641
|
+
var v = this.tryParseArgumentClose(d);
|
|
3639
3642
|
if (v.err)
|
|
3640
3643
|
return v;
|
|
3641
|
-
var y = this.tryParseArgumentClose(m);
|
|
3642
|
-
if (y.err)
|
|
3643
|
-
return y;
|
|
3644
3644
|
a.push([
|
|
3645
|
-
|
|
3645
|
+
u,
|
|
3646
3646
|
{
|
|
3647
|
-
value:
|
|
3648
|
-
location:
|
|
3647
|
+
value: b.val,
|
|
3648
|
+
location: y(d, this.clonePosition())
|
|
3649
3649
|
}
|
|
3650
|
-
]),
|
|
3650
|
+
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
|
3651
3651
|
}
|
|
3652
|
-
return a.length === 0 ? this.error(r === "select" ?
|
|
3652
|
+
return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(g.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3653
3653
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3654
3654
|
var n = 1, i = this.clonePosition();
|
|
3655
3655
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3656
|
-
for (var
|
|
3656
|
+
for (var s = !1, o = 0; !this.isEOF(); ) {
|
|
3657
3657
|
var a = this.char();
|
|
3658
3658
|
if (a >= 48 && a <= 57)
|
|
3659
|
-
|
|
3659
|
+
s = !0, o = o * 10 + (a - 48), this.bump();
|
|
3660
3660
|
else
|
|
3661
3661
|
break;
|
|
3662
3662
|
}
|
|
3663
|
-
var
|
|
3664
|
-
return
|
|
3663
|
+
var h = y(i, this.clonePosition());
|
|
3664
|
+
return s ? (o *= n, mi(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3665
3665
|
}, e.prototype.offset = function() {
|
|
3666
3666
|
return this.position.offset;
|
|
3667
3667
|
}, e.prototype.isEOF = function() {
|
|
@@ -3676,7 +3676,7 @@ var Ti = (
|
|
|
3676
3676
|
var t = this.position.offset;
|
|
3677
3677
|
if (t >= this.message.length)
|
|
3678
3678
|
throw Error("out of bound");
|
|
3679
|
-
var r =
|
|
3679
|
+
var r = br(this.message, t);
|
|
3680
3680
|
if (r === void 0)
|
|
3681
3681
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3682
3682
|
return r;
|
|
@@ -3695,7 +3695,7 @@ var Ti = (
|
|
|
3695
3695
|
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);
|
|
3696
3696
|
}
|
|
3697
3697
|
}, e.prototype.bumpIf = function(t) {
|
|
3698
|
-
if (
|
|
3698
|
+
if (Ct(this.message, t, this.offset())) {
|
|
3699
3699
|
for (var r = 0; r < t.length; r++)
|
|
3700
3700
|
this.bump();
|
|
3701
3701
|
return !0;
|
|
@@ -3717,7 +3717,7 @@ var Ti = (
|
|
|
3717
3717
|
break;
|
|
3718
3718
|
}
|
|
3719
3719
|
}, e.prototype.bumpSpace = function() {
|
|
3720
|
-
for (; !this.isEOF() &&
|
|
3720
|
+
for (; !this.isEOF() && yr(this.char()); )
|
|
3721
3721
|
this.bump();
|
|
3722
3722
|
}, e.prototype.peek = function() {
|
|
3723
3723
|
if (this.isEOF())
|
|
@@ -3727,204 +3727,204 @@ var Ti = (
|
|
|
3727
3727
|
}, e;
|
|
3728
3728
|
}()
|
|
3729
3729
|
);
|
|
3730
|
-
function
|
|
3730
|
+
function rt(e) {
|
|
3731
3731
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3732
3732
|
}
|
|
3733
|
-
function
|
|
3734
|
-
return
|
|
3733
|
+
function yi(e) {
|
|
3734
|
+
return rt(e) || e === 47;
|
|
3735
3735
|
}
|
|
3736
|
-
function
|
|
3736
|
+
function vi(e) {
|
|
3737
3737
|
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;
|
|
3738
3738
|
}
|
|
3739
|
-
function
|
|
3739
|
+
function yr(e) {
|
|
3740
3740
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3741
3741
|
}
|
|
3742
|
-
function
|
|
3742
|
+
function _i(e) {
|
|
3743
3743
|
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;
|
|
3744
3744
|
}
|
|
3745
|
-
function
|
|
3745
|
+
function nt(e) {
|
|
3746
3746
|
e.forEach(function(t) {
|
|
3747
|
-
if (delete t.location,
|
|
3747
|
+
if (delete t.location, ur(t) || hr(t))
|
|
3748
3748
|
for (var r in t.options)
|
|
3749
|
-
delete t.options[r].location,
|
|
3749
|
+
delete t.options[r].location, nt(t.options[r].value);
|
|
3750
3750
|
else
|
|
3751
|
-
|
|
3751
|
+
sr(t) && cr(t.style) || (or(t) || ar(t)) && Qe(t.style) ? delete t.style.location : lr(t) && nt(t.children);
|
|
3752
3752
|
});
|
|
3753
3753
|
}
|
|
3754
|
-
function
|
|
3755
|
-
t === void 0 && (t = {}), t =
|
|
3756
|
-
var r = new
|
|
3754
|
+
function Ei(e, t) {
|
|
3755
|
+
t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3756
|
+
var r = new gi(e, t).parse();
|
|
3757
3757
|
if (r.err) {
|
|
3758
|
-
var n = SyntaxError(
|
|
3758
|
+
var n = SyntaxError(g[r.err.kind]);
|
|
3759
3759
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3760
3760
|
}
|
|
3761
|
-
return t != null && t.captureLocation ||
|
|
3761
|
+
return t != null && t.captureLocation || nt(r.val), r.val;
|
|
3762
3762
|
}
|
|
3763
|
-
var
|
|
3763
|
+
var ee;
|
|
3764
3764
|
(function(e) {
|
|
3765
3765
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3766
|
-
})(
|
|
3767
|
-
var
|
|
3766
|
+
})(ee || (ee = {}));
|
|
3767
|
+
var Oe = (
|
|
3768
3768
|
/** @class */
|
|
3769
3769
|
function(e) {
|
|
3770
|
-
|
|
3770
|
+
Be(t, e);
|
|
3771
3771
|
function t(r, n, i) {
|
|
3772
|
-
var
|
|
3773
|
-
return
|
|
3772
|
+
var s = e.call(this, r) || this;
|
|
3773
|
+
return s.code = n, s.originalMessage = i, s;
|
|
3774
3774
|
}
|
|
3775
3775
|
return t.prototype.toString = function() {
|
|
3776
3776
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3777
3777
|
}, t;
|
|
3778
3778
|
}(Error)
|
|
3779
|
-
),
|
|
3779
|
+
), Mt = (
|
|
3780
3780
|
/** @class */
|
|
3781
3781
|
function(e) {
|
|
3782
|
-
|
|
3783
|
-
function t(r, n, i,
|
|
3784
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3782
|
+
Be(t, e);
|
|
3783
|
+
function t(r, n, i, s) {
|
|
3784
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ee.INVALID_VALUE, s) || this;
|
|
3785
3785
|
}
|
|
3786
3786
|
return t;
|
|
3787
|
-
}(
|
|
3788
|
-
),
|
|
3787
|
+
}(Oe)
|
|
3788
|
+
), xi = (
|
|
3789
3789
|
/** @class */
|
|
3790
3790
|
function(e) {
|
|
3791
|
-
|
|
3791
|
+
Be(t, e);
|
|
3792
3792
|
function t(r, n, i) {
|
|
3793
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3793
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ee.INVALID_VALUE, i) || this;
|
|
3794
3794
|
}
|
|
3795
3795
|
return t;
|
|
3796
|
-
}(
|
|
3797
|
-
),
|
|
3796
|
+
}(Oe)
|
|
3797
|
+
), Si = (
|
|
3798
3798
|
/** @class */
|
|
3799
3799
|
function(e) {
|
|
3800
|
-
|
|
3800
|
+
Be(t, e);
|
|
3801
3801
|
function t(r, n) {
|
|
3802
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3802
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ee.MISSING_VALUE, n) || this;
|
|
3803
3803
|
}
|
|
3804
3804
|
return t;
|
|
3805
|
-
}(
|
|
3806
|
-
),
|
|
3805
|
+
}(Oe)
|
|
3806
|
+
), A;
|
|
3807
3807
|
(function(e) {
|
|
3808
3808
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3809
|
-
})(
|
|
3810
|
-
function
|
|
3809
|
+
})(A || (A = {}));
|
|
3810
|
+
function wi(e) {
|
|
3811
3811
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3812
3812
|
var n = t[t.length - 1];
|
|
3813
|
-
return !n || n.type !==
|
|
3813
|
+
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3814
3814
|
}, []);
|
|
3815
3815
|
}
|
|
3816
|
-
function
|
|
3816
|
+
function Ti(e) {
|
|
3817
3817
|
return typeof e == "function";
|
|
3818
3818
|
}
|
|
3819
|
-
function
|
|
3820
|
-
if (e.length === 1 &&
|
|
3819
|
+
function xe(e, t, r, n, i, s, o) {
|
|
3820
|
+
if (e.length === 1 && At(e[0]))
|
|
3821
3821
|
return [
|
|
3822
3822
|
{
|
|
3823
|
-
type:
|
|
3823
|
+
type: A.literal,
|
|
3824
3824
|
value: e[0].value
|
|
3825
3825
|
}
|
|
3826
3826
|
];
|
|
3827
|
-
for (var a = [],
|
|
3828
|
-
var
|
|
3829
|
-
if (
|
|
3827
|
+
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3828
|
+
var l = u[h];
|
|
3829
|
+
if (At(l)) {
|
|
3830
3830
|
a.push({
|
|
3831
|
-
type:
|
|
3832
|
-
value:
|
|
3831
|
+
type: A.literal,
|
|
3832
|
+
value: l.value
|
|
3833
3833
|
});
|
|
3834
3834
|
continue;
|
|
3835
3835
|
}
|
|
3836
|
-
if (
|
|
3837
|
-
typeof
|
|
3838
|
-
type:
|
|
3839
|
-
value: r.getNumberFormat(t).format(
|
|
3836
|
+
if (zn(l)) {
|
|
3837
|
+
typeof s == "number" && a.push({
|
|
3838
|
+
type: A.literal,
|
|
3839
|
+
value: r.getNumberFormat(t).format(s)
|
|
3840
3840
|
});
|
|
3841
3841
|
continue;
|
|
3842
3842
|
}
|
|
3843
|
-
var
|
|
3844
|
-
if (!(i &&
|
|
3845
|
-
throw new
|
|
3846
|
-
var c = i[
|
|
3847
|
-
if (
|
|
3843
|
+
var f = l.value;
|
|
3844
|
+
if (!(i && f in i))
|
|
3845
|
+
throw new Si(f, o);
|
|
3846
|
+
var c = i[f];
|
|
3847
|
+
if (Wn(l)) {
|
|
3848
3848
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3849
|
-
type: typeof c == "string" ?
|
|
3849
|
+
type: typeof c == "string" ? A.literal : A.object,
|
|
3850
3850
|
value: c
|
|
3851
3851
|
});
|
|
3852
3852
|
continue;
|
|
3853
3853
|
}
|
|
3854
|
-
if (
|
|
3855
|
-
var
|
|
3854
|
+
if (or(l)) {
|
|
3855
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Qe(l.style) ? l.style.parsedOptions : void 0;
|
|
3856
3856
|
a.push({
|
|
3857
|
-
type:
|
|
3858
|
-
value: r.getDateTimeFormat(t,
|
|
3857
|
+
type: A.literal,
|
|
3858
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3859
3859
|
});
|
|
3860
3860
|
continue;
|
|
3861
3861
|
}
|
|
3862
|
-
if (
|
|
3863
|
-
var
|
|
3862
|
+
if (ar(l)) {
|
|
3863
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Qe(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3864
3864
|
a.push({
|
|
3865
|
-
type:
|
|
3866
|
-
value: r.getDateTimeFormat(t,
|
|
3865
|
+
type: A.literal,
|
|
3866
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3867
3867
|
});
|
|
3868
3868
|
continue;
|
|
3869
3869
|
}
|
|
3870
|
-
if (
|
|
3871
|
-
var
|
|
3872
|
-
|
|
3873
|
-
type:
|
|
3874
|
-
value: r.getNumberFormat(t,
|
|
3870
|
+
if (sr(l)) {
|
|
3871
|
+
var d = typeof l.style == "string" ? n.number[l.style] : cr(l.style) ? l.style.parsedOptions : void 0;
|
|
3872
|
+
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3873
|
+
type: A.literal,
|
|
3874
|
+
value: r.getNumberFormat(t, d).format(c)
|
|
3875
3875
|
});
|
|
3876
3876
|
continue;
|
|
3877
3877
|
}
|
|
3878
|
-
if (
|
|
3879
|
-
var
|
|
3880
|
-
if (!
|
|
3881
|
-
throw new
|
|
3882
|
-
var
|
|
3883
|
-
return
|
|
3878
|
+
if (lr(l)) {
|
|
3879
|
+
var b = l.children, v = l.value, w = i[v];
|
|
3880
|
+
if (!Ti(w))
|
|
3881
|
+
throw new xi(v, "function", o);
|
|
3882
|
+
var I = xe(b, t, r, n, i, s), B = w(I.map(function(O) {
|
|
3883
|
+
return O.value;
|
|
3884
3884
|
}));
|
|
3885
|
-
Array.isArray(
|
|
3885
|
+
Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function(O) {
|
|
3886
3886
|
return {
|
|
3887
|
-
type: typeof
|
|
3888
|
-
value:
|
|
3887
|
+
type: typeof O == "string" ? A.literal : A.object,
|
|
3888
|
+
value: O
|
|
3889
3889
|
};
|
|
3890
3890
|
}));
|
|
3891
3891
|
}
|
|
3892
|
-
if (
|
|
3893
|
-
var
|
|
3894
|
-
if (!
|
|
3895
|
-
throw new
|
|
3896
|
-
a.push.apply(a,
|
|
3892
|
+
if (ur(l)) {
|
|
3893
|
+
var H = l.options[c] || l.options.other;
|
|
3894
|
+
if (!H)
|
|
3895
|
+
throw new Mt(l.value, c, Object.keys(l.options), o);
|
|
3896
|
+
a.push.apply(a, xe(H.value, t, r, n, i));
|
|
3897
3897
|
continue;
|
|
3898
3898
|
}
|
|
3899
|
-
if (
|
|
3900
|
-
var
|
|
3901
|
-
if (!
|
|
3899
|
+
if (hr(l)) {
|
|
3900
|
+
var H = l.options["=".concat(c)];
|
|
3901
|
+
if (!H) {
|
|
3902
3902
|
if (!Intl.PluralRules)
|
|
3903
|
-
throw new
|
|
3903
|
+
throw new Oe(`Intl.PluralRules is not available in this environment.
|
|
3904
3904
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3905
|
-
`,
|
|
3906
|
-
var
|
|
3907
|
-
|
|
3905
|
+
`, ee.MISSING_INTL_API, o);
|
|
3906
|
+
var M = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3907
|
+
H = l.options[M] || l.options.other;
|
|
3908
3908
|
}
|
|
3909
|
-
if (!
|
|
3910
|
-
throw new
|
|
3911
|
-
a.push.apply(a,
|
|
3909
|
+
if (!H)
|
|
3910
|
+
throw new Mt(l.value, c, Object.keys(l.options), o);
|
|
3911
|
+
a.push.apply(a, xe(H.value, t, r, n, i, c - (l.offset || 0)));
|
|
3912
3912
|
continue;
|
|
3913
3913
|
}
|
|
3914
3914
|
}
|
|
3915
|
-
return
|
|
3915
|
+
return wi(a);
|
|
3916
3916
|
}
|
|
3917
|
-
function
|
|
3918
|
-
return t ?
|
|
3919
|
-
return r[n] =
|
|
3917
|
+
function Hi(e, t) {
|
|
3918
|
+
return t ? D(D(D({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3919
|
+
return r[n] = D(D({}, e[n]), t[n] || {}), r;
|
|
3920
3920
|
}, {})) : e;
|
|
3921
3921
|
}
|
|
3922
|
-
function
|
|
3922
|
+
function Pi(e, t) {
|
|
3923
3923
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3924
|
-
return r[n] =
|
|
3925
|
-
},
|
|
3924
|
+
return r[n] = Hi(e[n], t[n]), r;
|
|
3925
|
+
}, D({}, e)) : e;
|
|
3926
3926
|
}
|
|
3927
|
-
function
|
|
3927
|
+
function $e(e) {
|
|
3928
3928
|
return {
|
|
3929
3929
|
create: function() {
|
|
3930
3930
|
return {
|
|
@@ -3938,77 +3938,77 @@ function tt(e) {
|
|
|
3938
3938
|
}
|
|
3939
3939
|
};
|
|
3940
3940
|
}
|
|
3941
|
-
function
|
|
3941
|
+
function Ai(e) {
|
|
3942
3942
|
return e === void 0 && (e = {
|
|
3943
3943
|
number: {},
|
|
3944
3944
|
dateTime: {},
|
|
3945
3945
|
pluralRules: {}
|
|
3946
3946
|
}), {
|
|
3947
|
-
getNumberFormat:
|
|
3947
|
+
getNumberFormat: Ue(function() {
|
|
3948
3948
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3949
3949
|
r[n] = arguments[n];
|
|
3950
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3950
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
3951
3951
|
}, {
|
|
3952
|
-
cache:
|
|
3953
|
-
strategy:
|
|
3952
|
+
cache: $e(e.number),
|
|
3953
|
+
strategy: Ge.variadic
|
|
3954
3954
|
}),
|
|
3955
|
-
getDateTimeFormat:
|
|
3955
|
+
getDateTimeFormat: Ue(function() {
|
|
3956
3956
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3957
3957
|
r[n] = arguments[n];
|
|
3958
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3958
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
|
|
3959
3959
|
}, {
|
|
3960
|
-
cache:
|
|
3961
|
-
strategy:
|
|
3960
|
+
cache: $e(e.dateTime),
|
|
3961
|
+
strategy: Ge.variadic
|
|
3962
3962
|
}),
|
|
3963
|
-
getPluralRules:
|
|
3963
|
+
getPluralRules: Ue(function() {
|
|
3964
3964
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3965
3965
|
r[n] = arguments[n];
|
|
3966
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3966
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
|
|
3967
3967
|
}, {
|
|
3968
|
-
cache:
|
|
3969
|
-
strategy:
|
|
3968
|
+
cache: $e(e.pluralRules),
|
|
3969
|
+
strategy: Ge.variadic
|
|
3970
3970
|
})
|
|
3971
3971
|
};
|
|
3972
3972
|
}
|
|
3973
|
-
var
|
|
3973
|
+
var Bi = (
|
|
3974
3974
|
/** @class */
|
|
3975
3975
|
function() {
|
|
3976
3976
|
function e(t, r, n, i) {
|
|
3977
3977
|
r === void 0 && (r = e.defaultLocale);
|
|
3978
|
-
var
|
|
3978
|
+
var s = this;
|
|
3979
3979
|
if (this.formatterCache = {
|
|
3980
3980
|
number: {},
|
|
3981
3981
|
dateTime: {},
|
|
3982
3982
|
pluralRules: {}
|
|
3983
|
-
}, this.format = function(
|
|
3984
|
-
var
|
|
3985
|
-
if (
|
|
3986
|
-
return
|
|
3987
|
-
var
|
|
3988
|
-
return !
|
|
3983
|
+
}, this.format = function(h) {
|
|
3984
|
+
var u = s.formatToParts(h);
|
|
3985
|
+
if (u.length === 1)
|
|
3986
|
+
return u[0].value;
|
|
3987
|
+
var l = u.reduce(function(f, c) {
|
|
3988
|
+
return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3989
3989
|
}, []);
|
|
3990
|
-
return
|
|
3991
|
-
}, this.formatToParts = function(
|
|
3992
|
-
return
|
|
3990
|
+
return l.length <= 1 ? l[0] || "" : l;
|
|
3991
|
+
}, this.formatToParts = function(h) {
|
|
3992
|
+
return xe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3993
3993
|
}, this.resolvedOptions = function() {
|
|
3994
|
-
var
|
|
3994
|
+
var h;
|
|
3995
3995
|
return {
|
|
3996
|
-
locale: ((
|
|
3996
|
+
locale: ((h = s.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
|
|
3997
3997
|
};
|
|
3998
3998
|
}, this.getAst = function() {
|
|
3999
|
-
return
|
|
3999
|
+
return s.ast;
|
|
4000
4000
|
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
4001
4001
|
if (this.message = t, !e.__parse)
|
|
4002
4002
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4003
|
-
var
|
|
4004
|
-
|
|
4005
|
-
var a =
|
|
4006
|
-
this.ast = e.__parse(t,
|
|
4003
|
+
var o = i || {};
|
|
4004
|
+
o.formatters;
|
|
4005
|
+
var a = Gn(o, ["formatters"]);
|
|
4006
|
+
this.ast = e.__parse(t, D(D({}, a), { locale: this.resolvedLocale }));
|
|
4007
4007
|
} else
|
|
4008
4008
|
this.ast = t;
|
|
4009
4009
|
if (!Array.isArray(this.ast))
|
|
4010
4010
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4011
|
-
this.formats =
|
|
4011
|
+
this.formats = Pi(e.formats, n), this.formatters = i && i.formatters || Ai(this.formatterCache);
|
|
4012
4012
|
}
|
|
4013
4013
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4014
4014
|
get: function() {
|
|
@@ -4021,7 +4021,7 @@ var Ri = (
|
|
|
4021
4021
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4022
4022
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4023
4023
|
}
|
|
4024
|
-
}, e.__parse =
|
|
4024
|
+
}, e.__parse = Ei, e.formats = {
|
|
4025
4025
|
number: {
|
|
4026
4026
|
integer: {
|
|
4027
4027
|
maximumFractionDigits: 0
|
|
@@ -4082,7 +4082,7 @@ var Ri = (
|
|
|
4082
4082
|
}, e;
|
|
4083
4083
|
}()
|
|
4084
4084
|
);
|
|
4085
|
-
function
|
|
4085
|
+
function Oi(e, t) {
|
|
4086
4086
|
if (t == null)
|
|
4087
4087
|
return;
|
|
4088
4088
|
if (t in e)
|
|
@@ -4092,9 +4092,9 @@ function $i(e, t) {
|
|
|
4092
4092
|
for (let i = 0; i < r.length; i++)
|
|
4093
4093
|
if (typeof n == "object") {
|
|
4094
4094
|
if (i > 0) {
|
|
4095
|
-
const
|
|
4096
|
-
if (
|
|
4097
|
-
n = n[
|
|
4095
|
+
const s = r.slice(i, r.length).join(".");
|
|
4096
|
+
if (s in n) {
|
|
4097
|
+
n = n[s];
|
|
4098
4098
|
break;
|
|
4099
4099
|
}
|
|
4100
4100
|
}
|
|
@@ -4103,92 +4103,92 @@ function $i(e, t) {
|
|
|
4103
4103
|
n = void 0;
|
|
4104
4104
|
return n;
|
|
4105
4105
|
}
|
|
4106
|
-
const
|
|
4106
|
+
const V = {}, Li = (e, t, r) => r && (t in V || (V[t] = {}), e in V[t] || (V[t][e] = r), r), vr = (e, t) => {
|
|
4107
4107
|
if (t == null)
|
|
4108
4108
|
return;
|
|
4109
|
-
if (t in
|
|
4110
|
-
return
|
|
4111
|
-
const r =
|
|
4109
|
+
if (t in V && e in V[t])
|
|
4110
|
+
return V[t][e];
|
|
4111
|
+
const r = Le(t);
|
|
4112
4112
|
for (let n = 0; n < r.length; n++) {
|
|
4113
|
-
const i = r[n],
|
|
4114
|
-
if (
|
|
4115
|
-
return
|
|
4113
|
+
const i = r[n], s = Ni(i, e);
|
|
4114
|
+
if (s)
|
|
4115
|
+
return Li(e, t, s);
|
|
4116
4116
|
}
|
|
4117
4117
|
};
|
|
4118
|
-
let
|
|
4119
|
-
const
|
|
4120
|
-
function
|
|
4121
|
-
return
|
|
4118
|
+
let ht;
|
|
4119
|
+
const pe = Ae({});
|
|
4120
|
+
function Ci(e) {
|
|
4121
|
+
return ht[e] || null;
|
|
4122
4122
|
}
|
|
4123
|
-
function
|
|
4124
|
-
return e in
|
|
4123
|
+
function _r(e) {
|
|
4124
|
+
return e in ht;
|
|
4125
4125
|
}
|
|
4126
|
-
function
|
|
4127
|
-
if (!
|
|
4126
|
+
function Ni(e, t) {
|
|
4127
|
+
if (!_r(e))
|
|
4128
4128
|
return null;
|
|
4129
|
-
const r =
|
|
4130
|
-
return
|
|
4129
|
+
const r = Ci(e);
|
|
4130
|
+
return Oi(r, t);
|
|
4131
4131
|
}
|
|
4132
|
-
function
|
|
4132
|
+
function Ii(e) {
|
|
4133
4133
|
if (e == null)
|
|
4134
4134
|
return;
|
|
4135
|
-
const t =
|
|
4135
|
+
const t = Le(e);
|
|
4136
4136
|
for (let r = 0; r < t.length; r++) {
|
|
4137
4137
|
const n = t[r];
|
|
4138
|
-
if (
|
|
4138
|
+
if (_r(n))
|
|
4139
4139
|
return n;
|
|
4140
4140
|
}
|
|
4141
4141
|
}
|
|
4142
|
-
function
|
|
4143
|
-
delete
|
|
4142
|
+
function Er(e, ...t) {
|
|
4143
|
+
delete V[e], pe.update((r) => (r[e] = Un.all([r[e] || {}, ...t]), r));
|
|
4144
4144
|
}
|
|
4145
|
-
|
|
4146
|
-
[
|
|
4145
|
+
ie(
|
|
4146
|
+
[pe],
|
|
4147
4147
|
([e]) => Object.keys(e)
|
|
4148
4148
|
);
|
|
4149
|
-
|
|
4150
|
-
const
|
|
4151
|
-
function
|
|
4152
|
-
|
|
4149
|
+
pe.subscribe((e) => ht = e);
|
|
4150
|
+
const Se = {};
|
|
4151
|
+
function Mi(e, t) {
|
|
4152
|
+
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
|
4153
4153
|
}
|
|
4154
|
-
function
|
|
4155
|
-
return
|
|
4154
|
+
function xr(e) {
|
|
4155
|
+
return Se[e];
|
|
4156
4156
|
}
|
|
4157
|
-
function
|
|
4158
|
-
return
|
|
4159
|
-
const r =
|
|
4157
|
+
function Ri(e) {
|
|
4158
|
+
return Le(e).map((t) => {
|
|
4159
|
+
const r = xr(t);
|
|
4160
4160
|
return [t, r ? [...r] : []];
|
|
4161
4161
|
}).filter(([, t]) => t.length > 0);
|
|
4162
4162
|
}
|
|
4163
|
-
function
|
|
4164
|
-
return e == null ? !1 :
|
|
4163
|
+
function it(e) {
|
|
4164
|
+
return e == null ? !1 : Le(e).some(
|
|
4165
4165
|
(t) => {
|
|
4166
4166
|
var r;
|
|
4167
|
-
return (r =
|
|
4167
|
+
return (r = xr(t)) == null ? void 0 : r.size;
|
|
4168
4168
|
}
|
|
4169
4169
|
);
|
|
4170
4170
|
}
|
|
4171
|
-
function
|
|
4171
|
+
function Ui(e, t) {
|
|
4172
4172
|
return Promise.all(
|
|
4173
|
-
t.map((n) => (
|
|
4174
|
-
).then((n) =>
|
|
4175
|
-
}
|
|
4176
|
-
const
|
|
4177
|
-
function
|
|
4178
|
-
if (!
|
|
4179
|
-
return e in
|
|
4180
|
-
const t =
|
|
4181
|
-
return
|
|
4173
|
+
t.map((n) => (Mi(e, n), n().then((i) => i.default || i)))
|
|
4174
|
+
).then((n) => Er(e, ...n));
|
|
4175
|
+
}
|
|
4176
|
+
const ae = {};
|
|
4177
|
+
function Sr(e) {
|
|
4178
|
+
if (!it(e))
|
|
4179
|
+
return e in ae ? ae[e] : Promise.resolve();
|
|
4180
|
+
const t = Ri(e);
|
|
4181
|
+
return ae[e] = Promise.all(
|
|
4182
4182
|
t.map(
|
|
4183
|
-
([r, n]) =>
|
|
4183
|
+
([r, n]) => Ui(r, n)
|
|
4184
4184
|
)
|
|
4185
4185
|
).then(() => {
|
|
4186
|
-
if (
|
|
4187
|
-
return
|
|
4188
|
-
delete
|
|
4189
|
-
}),
|
|
4186
|
+
if (it(e))
|
|
4187
|
+
return Sr(e);
|
|
4188
|
+
delete ae[e];
|
|
4189
|
+
}), ae[e];
|
|
4190
4190
|
}
|
|
4191
|
-
const
|
|
4191
|
+
const Gi = {
|
|
4192
4192
|
number: {
|
|
4193
4193
|
scientific: { notation: "scientific" },
|
|
4194
4194
|
engineering: { notation: "engineering" },
|
|
@@ -4217,176 +4217,176 @@ const Wi = {
|
|
|
4217
4217
|
timeZoneName: "short"
|
|
4218
4218
|
}
|
|
4219
4219
|
}
|
|
4220
|
-
},
|
|
4220
|
+
}, Di = {
|
|
4221
4221
|
fallbackLocale: null,
|
|
4222
4222
|
loadingDelay: 200,
|
|
4223
|
-
formats:
|
|
4223
|
+
formats: Gi,
|
|
4224
4224
|
warnOnMissingMessages: !0,
|
|
4225
4225
|
handleMissingMessage: void 0,
|
|
4226
4226
|
ignoreTag: !0
|
|
4227
|
-
},
|
|
4228
|
-
function
|
|
4229
|
-
return
|
|
4227
|
+
}, $i = Di;
|
|
4228
|
+
function te() {
|
|
4229
|
+
return $i;
|
|
4230
4230
|
}
|
|
4231
|
-
const
|
|
4232
|
-
var
|
|
4231
|
+
const Fe = Ae(!1);
|
|
4232
|
+
var Fi = Object.defineProperty, ji = Object.defineProperties, ki = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, Vi = Object.prototype.hasOwnProperty, Xi = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Wi = (e, t) => {
|
|
4233
4233
|
for (var r in t || (t = {}))
|
|
4234
|
-
|
|
4235
|
-
if (
|
|
4236
|
-
for (var r of
|
|
4237
|
-
|
|
4234
|
+
Vi.call(t, r) && Ut(e, r, t[r]);
|
|
4235
|
+
if (Rt)
|
|
4236
|
+
for (var r of Rt(t))
|
|
4237
|
+
Xi.call(t, r) && Ut(e, r, t[r]);
|
|
4238
4238
|
return e;
|
|
4239
|
-
},
|
|
4240
|
-
let
|
|
4241
|
-
const
|
|
4242
|
-
function
|
|
4239
|
+
}, zi = (e, t) => ji(e, ki(t));
|
|
4240
|
+
let st;
|
|
4241
|
+
const Te = Ae(null);
|
|
4242
|
+
function Gt(e) {
|
|
4243
4243
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4244
4244
|
}
|
|
4245
|
-
function
|
|
4246
|
-
const r =
|
|
4247
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4245
|
+
function Le(e, t = te().fallbackLocale) {
|
|
4246
|
+
const r = Gt(e);
|
|
4247
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Gt(t)])] : r;
|
|
4248
4248
|
}
|
|
4249
|
-
function
|
|
4250
|
-
return
|
|
4249
|
+
function W() {
|
|
4250
|
+
return st != null ? st : void 0;
|
|
4251
4251
|
}
|
|
4252
|
-
|
|
4253
|
-
|
|
4252
|
+
Te.subscribe((e) => {
|
|
4253
|
+
st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4254
4254
|
});
|
|
4255
|
-
const
|
|
4256
|
-
if (e &&
|
|
4257
|
-
const { loadingDelay: t } =
|
|
4255
|
+
const Zi = (e) => {
|
|
4256
|
+
if (e && Ii(e) && it(e)) {
|
|
4257
|
+
const { loadingDelay: t } = te();
|
|
4258
4258
|
let r;
|
|
4259
|
-
return typeof window != "undefined" &&
|
|
4260
|
-
() =>
|
|
4259
|
+
return typeof window != "undefined" && W() != null && t ? r = window.setTimeout(
|
|
4260
|
+
() => Fe.set(!0),
|
|
4261
4261
|
t
|
|
4262
|
-
) :
|
|
4263
|
-
|
|
4262
|
+
) : Fe.set(!0), Sr(e).then(() => {
|
|
4263
|
+
Te.set(e);
|
|
4264
4264
|
}).finally(() => {
|
|
4265
|
-
clearTimeout(r),
|
|
4265
|
+
clearTimeout(r), Fe.set(!1);
|
|
4266
4266
|
});
|
|
4267
4267
|
}
|
|
4268
|
-
return
|
|
4269
|
-
},
|
|
4270
|
-
set:
|
|
4271
|
-
}),
|
|
4268
|
+
return Te.set(e);
|
|
4269
|
+
}, se = zi(Wi({}, Te), {
|
|
4270
|
+
set: Zi
|
|
4271
|
+
}), Ce = (e) => {
|
|
4272
4272
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4273
4273
|
return (n) => {
|
|
4274
4274
|
const i = JSON.stringify(n);
|
|
4275
4275
|
return i in t ? t[i] : t[i] = e(n);
|
|
4276
4276
|
};
|
|
4277
4277
|
};
|
|
4278
|
-
var
|
|
4278
|
+
var qi = Object.defineProperty, He = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
|
|
4279
4279
|
for (var r in t || (t = {}))
|
|
4280
|
-
|
|
4281
|
-
if (
|
|
4282
|
-
for (var r of
|
|
4283
|
-
|
|
4280
|
+
wr.call(t, r) && Dt(e, r, t[r]);
|
|
4281
|
+
if (He)
|
|
4282
|
+
for (var r of He(t))
|
|
4283
|
+
Tr.call(t, r) && Dt(e, r, t[r]);
|
|
4284
4284
|
return e;
|
|
4285
|
-
},
|
|
4285
|
+
}, oe = (e, t) => {
|
|
4286
4286
|
var r = {};
|
|
4287
4287
|
for (var n in e)
|
|
4288
|
-
|
|
4289
|
-
if (e != null &&
|
|
4290
|
-
for (var n of
|
|
4291
|
-
t.indexOf(n) < 0 &&
|
|
4288
|
+
wr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4289
|
+
if (e != null && He)
|
|
4290
|
+
for (var n of He(e))
|
|
4291
|
+
t.indexOf(n) < 0 && Tr.call(e, n) && (r[n] = e[n]);
|
|
4292
4292
|
return r;
|
|
4293
4293
|
};
|
|
4294
|
-
const
|
|
4295
|
-
const { formats: r } =
|
|
4294
|
+
const fe = (e, t) => {
|
|
4295
|
+
const { formats: r } = te();
|
|
4296
4296
|
if (e in r && t in r[e])
|
|
4297
4297
|
return r[e][t];
|
|
4298
4298
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4299
|
-
},
|
|
4299
|
+
}, Yi = Ce(
|
|
4300
4300
|
(e) => {
|
|
4301
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4301
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4302
4302
|
if (r == null)
|
|
4303
4303
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4304
|
-
return n && (i =
|
|
4304
|
+
return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
|
|
4305
4305
|
}
|
|
4306
|
-
),
|
|
4306
|
+
), Ji = Ce(
|
|
4307
4307
|
(e) => {
|
|
4308
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4308
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4309
4309
|
if (r == null)
|
|
4310
4310
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4311
|
-
return n ? i =
|
|
4311
|
+
return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4312
4312
|
}
|
|
4313
|
-
),
|
|
4313
|
+
), Qi = Ce(
|
|
4314
4314
|
(e) => {
|
|
4315
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4315
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4316
4316
|
if (r == null)
|
|
4317
4317
|
throw new Error(
|
|
4318
4318
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4319
4319
|
);
|
|
4320
|
-
return n ? i =
|
|
4320
|
+
return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4321
4321
|
}
|
|
4322
|
-
),
|
|
4322
|
+
), Ki = (e = {}) => {
|
|
4323
4323
|
var t = e, {
|
|
4324
|
-
locale: r =
|
|
4325
|
-
} = t, n =
|
|
4324
|
+
locale: r = W()
|
|
4325
|
+
} = t, n = oe(t, [
|
|
4326
4326
|
"locale"
|
|
4327
4327
|
]);
|
|
4328
|
-
return
|
|
4329
|
-
},
|
|
4328
|
+
return Yi(lt({ locale: r }, n));
|
|
4329
|
+
}, es = (e = {}) => {
|
|
4330
4330
|
var t = e, {
|
|
4331
|
-
locale: r =
|
|
4332
|
-
} = t, n =
|
|
4331
|
+
locale: r = W()
|
|
4332
|
+
} = t, n = oe(t, [
|
|
4333
4333
|
"locale"
|
|
4334
4334
|
]);
|
|
4335
|
-
return
|
|
4336
|
-
},
|
|
4335
|
+
return Ji(lt({ locale: r }, n));
|
|
4336
|
+
}, ts = (e = {}) => {
|
|
4337
4337
|
var t = e, {
|
|
4338
|
-
locale: r =
|
|
4339
|
-
} = t, n =
|
|
4338
|
+
locale: r = W()
|
|
4339
|
+
} = t, n = oe(t, [
|
|
4340
4340
|
"locale"
|
|
4341
4341
|
]);
|
|
4342
|
-
return
|
|
4343
|
-
},
|
|
4342
|
+
return Qi(lt({ locale: r }, n));
|
|
4343
|
+
}, rs = Ce(
|
|
4344
4344
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4345
|
-
(e, t =
|
|
4346
|
-
ignoreTag:
|
|
4345
|
+
(e, t = W()) => new Bi(e, t, te().formats, {
|
|
4346
|
+
ignoreTag: te().ignoreTag
|
|
4347
4347
|
})
|
|
4348
|
-
),
|
|
4349
|
-
var r, n, i,
|
|
4350
|
-
let
|
|
4351
|
-
typeof e == "object" && (
|
|
4348
|
+
), ns = (e, t = {}) => {
|
|
4349
|
+
var r, n, i, s;
|
|
4350
|
+
let o = t;
|
|
4351
|
+
typeof e == "object" && (o = e, e = o.id);
|
|
4352
4352
|
const {
|
|
4353
4353
|
values: a,
|
|
4354
|
-
locale:
|
|
4355
|
-
default:
|
|
4356
|
-
} =
|
|
4357
|
-
if (
|
|
4354
|
+
locale: h = W(),
|
|
4355
|
+
default: u
|
|
4356
|
+
} = o;
|
|
4357
|
+
if (h == null)
|
|
4358
4358
|
throw new Error(
|
|
4359
4359
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4360
4360
|
);
|
|
4361
|
-
let
|
|
4362
|
-
if (!
|
|
4363
|
-
|
|
4364
|
-
else if (typeof
|
|
4361
|
+
let l = vr(e, h);
|
|
4362
|
+
if (!l)
|
|
4363
|
+
l = (s = (i = (n = (r = te()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
4364
|
+
else if (typeof l != "string")
|
|
4365
4365
|
return console.warn(
|
|
4366
|
-
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof
|
|
4367
|
-
),
|
|
4366
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4367
|
+
), l;
|
|
4368
4368
|
if (!a)
|
|
4369
|
-
return
|
|
4370
|
-
let
|
|
4369
|
+
return l;
|
|
4370
|
+
let f = l;
|
|
4371
4371
|
try {
|
|
4372
|
-
|
|
4372
|
+
f = rs(l, h).format(a);
|
|
4373
4373
|
} catch (c) {
|
|
4374
4374
|
c instanceof Error && console.warn(
|
|
4375
4375
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4376
4376
|
c.message
|
|
4377
4377
|
);
|
|
4378
4378
|
}
|
|
4379
|
-
return
|
|
4380
|
-
},
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
window.emWidgets = { topic:
|
|
4386
|
-
const
|
|
4387
|
-
function
|
|
4379
|
+
return f;
|
|
4380
|
+
}, is = (e, t) => ts(t).format(e), ss = (e, t) => es(t).format(e), os = (e, t) => Ki(t).format(e), as = (e, t = W()) => vr(e, t), us = ie([se, pe], () => ns);
|
|
4381
|
+
ie([se], () => is);
|
|
4382
|
+
ie([se], () => ss);
|
|
4383
|
+
ie([se], () => os);
|
|
4384
|
+
ie([se, pe], () => as);
|
|
4385
|
+
window.emWidgets = { topic: _n };
|
|
4386
|
+
const hs = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), ls = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4387
|
+
function Rs(e, t) {
|
|
4388
4388
|
const r = window.navigator.userAgent;
|
|
4389
|
-
return
|
|
4389
|
+
return hs(r) ? t = e.filter((n) => {
|
|
4390
4390
|
if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
|
|
4391
4391
|
return n;
|
|
4392
4392
|
}) : t = e.filter((n) => {
|
|
@@ -4395,13 +4395,14 @@ function ko(e, t) {
|
|
|
4395
4395
|
}), t;
|
|
4396
4396
|
}
|
|
4397
4397
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4398
|
-
|
|
4398
|
+
const Y = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4399
|
+
function cs(e, t) {
|
|
4399
4400
|
if (e) {
|
|
4400
4401
|
const r = document.createElement("style");
|
|
4401
4402
|
r.innerHTML = t, e.appendChild(r);
|
|
4402
4403
|
}
|
|
4403
4404
|
}
|
|
4404
|
-
function
|
|
4405
|
+
function fs(e, t) {
|
|
4405
4406
|
if (!e || !t)
|
|
4406
4407
|
return;
|
|
4407
4408
|
const r = new URL(t);
|
|
@@ -4412,700 +4413,686 @@ function xo(e, t) {
|
|
|
4412
4413
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4413
4414
|
});
|
|
4414
4415
|
}
|
|
4415
|
-
function
|
|
4416
|
-
if (window.emMessageBus)
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4416
|
+
function ms(e, t, r, n = !1) {
|
|
4417
|
+
if (!window.emMessageBus)
|
|
4418
|
+
return;
|
|
4419
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4420
|
+
return r = ds(e, t), r;
|
|
4421
|
+
window[Y] || (window[Y] = {}), r = ps(e, t);
|
|
4422
|
+
const s = r.unsubscribe.bind(r), o = () => {
|
|
4423
|
+
if (window[Y][t]) {
|
|
4424
|
+
const a = window[Y][t];
|
|
4425
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[Y][t];
|
|
4426
|
+
}
|
|
4427
|
+
s();
|
|
4428
|
+
};
|
|
4429
|
+
return r.unsubscribe = o, r;
|
|
4430
|
+
}
|
|
4431
|
+
function ds(e, t) {
|
|
4432
|
+
const r = document.createElement("style");
|
|
4433
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
4434
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
4435
|
+
});
|
|
4422
4436
|
}
|
|
4423
|
-
function
|
|
4424
|
-
|
|
4425
|
-
|
|
4437
|
+
function ps(e, t) {
|
|
4438
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
4439
|
+
var a;
|
|
4440
|
+
if (!e)
|
|
4441
|
+
return;
|
|
4442
|
+
const n = e.getRootNode(), i = window[Y];
|
|
4443
|
+
let s = (a = i[t]) == null ? void 0 : a.sheet;
|
|
4444
|
+
s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
|
|
4445
|
+
sheet: s,
|
|
4446
|
+
refCount: 1
|
|
4447
|
+
});
|
|
4448
|
+
const o = n.adoptedStyleSheets || [];
|
|
4449
|
+
o.includes(s) || (n.adoptedStyleSheets = [...o, s]);
|
|
4426
4450
|
});
|
|
4427
4451
|
}
|
|
4428
|
-
function
|
|
4429
|
-
|
|
4452
|
+
function $t(e, t) {
|
|
4453
|
+
Er(e, t);
|
|
4454
|
+
}
|
|
4455
|
+
function bs(e) {
|
|
4456
|
+
se.set(e);
|
|
4430
4457
|
}
|
|
4431
|
-
const
|
|
4458
|
+
const Ft = {
|
|
4432
4459
|
en: {
|
|
4433
|
-
|
|
4434
|
-
filterby: "Filter by:",
|
|
4435
|
-
all: "All",
|
|
4436
|
-
clear: "Clear all"
|
|
4437
|
-
},
|
|
4438
|
-
zh: {
|
|
4439
|
-
providers: "Providers:",
|
|
4440
|
-
filterby: "Filter by",
|
|
4441
|
-
all: "all",
|
|
4442
|
-
clear: "Clear all"
|
|
4460
|
+
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
4443
4461
|
},
|
|
4444
4462
|
de: {
|
|
4445
|
-
|
|
4446
|
-
filterby: "Filter by:",
|
|
4447
|
-
all: "all",
|
|
4448
|
-
clear: "Clear all"
|
|
4449
|
-
},
|
|
4450
|
-
it: {
|
|
4451
|
-
providers: "Providers:",
|
|
4452
|
-
filterby: "Filter by:",
|
|
4453
|
-
all: "all",
|
|
4454
|
-
clear: "Clear all"
|
|
4455
|
-
},
|
|
4456
|
-
fr: {
|
|
4457
|
-
providers: "Providers:",
|
|
4458
|
-
filterby: "Filter by:",
|
|
4459
|
-
all: "all",
|
|
4460
|
-
clear: "Clear all"
|
|
4463
|
+
noRecentGames: "Du hast bisher noch nicht gespielt, aber hier findest du in Zukunft eine Liste deiner Spiele."
|
|
4461
4464
|
},
|
|
4462
4465
|
es: {
|
|
4463
|
-
|
|
4464
|
-
filterby: "Filtrar Por:",
|
|
4465
|
-
all: "Todos",
|
|
4466
|
-
clear: "Limpiar todos"
|
|
4467
|
-
},
|
|
4468
|
-
tr: {
|
|
4469
|
-
providers: "Sağlayıcılar:",
|
|
4470
|
-
filterby: "Filtrele:",
|
|
4471
|
-
all: "Hepsi",
|
|
4472
|
-
clear: "Tümünü Temizle"
|
|
4473
|
-
},
|
|
4474
|
-
ru: {
|
|
4475
|
-
providers: "Providers:",
|
|
4476
|
-
filterby: "Filter by:",
|
|
4477
|
-
all: "all",
|
|
4478
|
-
clear: "Clear all"
|
|
4479
|
-
},
|
|
4480
|
-
ro: {
|
|
4481
|
-
providers: "Providers:",
|
|
4482
|
-
filterby: "Filter by:",
|
|
4483
|
-
all: "all",
|
|
4484
|
-
clear: "Clear all"
|
|
4466
|
+
noRecentGames: "No has jugado aún pero aquí encontrarás en el futuro una lista de tus juegos."
|
|
4485
4467
|
},
|
|
4486
4468
|
hr: {
|
|
4487
|
-
|
|
4488
|
-
filterby: "Filtrirati po:",
|
|
4489
|
-
all: "Sve",
|
|
4490
|
-
clear: "Očisti sve"
|
|
4491
|
-
},
|
|
4492
|
-
hu: {
|
|
4493
|
-
providers: "Providers:",
|
|
4494
|
-
filterby: "Filter by:",
|
|
4495
|
-
all: "all",
|
|
4496
|
-
clear: "Clear all"
|
|
4497
|
-
},
|
|
4498
|
-
pl: {
|
|
4499
|
-
providers: "Providers:",
|
|
4500
|
-
filterby: "Filter by:",
|
|
4501
|
-
all: "all",
|
|
4502
|
-
clear: "Clear all"
|
|
4503
|
-
},
|
|
4504
|
-
pt: {
|
|
4505
|
-
providers: "Providers:",
|
|
4506
|
-
filterby: "Filter by:",
|
|
4507
|
-
all: "all",
|
|
4508
|
-
clear: "Clear all"
|
|
4509
|
-
},
|
|
4510
|
-
sl: {
|
|
4511
|
-
providers: "Providers:",
|
|
4512
|
-
filterby: "Filter by:",
|
|
4513
|
-
all: "all",
|
|
4514
|
-
clear: "Clear all"
|
|
4515
|
-
},
|
|
4516
|
-
sr: {
|
|
4517
|
-
providers: "Providers:",
|
|
4518
|
-
filterby: "Filter by:",
|
|
4519
|
-
all: "all",
|
|
4520
|
-
clear: "Clear all"
|
|
4469
|
+
noRecentGames: "Još niste igrali, ali ovdje ćete u budućnosti pronaći popis svojih igara."
|
|
4521
4470
|
},
|
|
4522
4471
|
"pt-br": {
|
|
4523
|
-
|
|
4524
|
-
filterby: "Filtrar por",
|
|
4525
|
-
all: "Tudo",
|
|
4526
|
-
clear: "Apagar tudo"
|
|
4472
|
+
noRecentGames: "Você ainda não jogou, mas aqui você encontrará a lista futura de jogos jogados."
|
|
4527
4473
|
},
|
|
4528
4474
|
"es-mx": {
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4532
|
-
|
|
4475
|
+
noRecentGames: "Aún no has jugado pero aquí encontrarás la futura lista de juegos jugados."
|
|
4476
|
+
},
|
|
4477
|
+
tr: {
|
|
4478
|
+
noRecentGames: "Henüz oynamadınız ama burada gelecekte oyun listenizi bulacaksınız."
|
|
4533
4479
|
},
|
|
4534
4480
|
"en-us": {
|
|
4535
|
-
|
|
4536
|
-
filterby: "Filter by:",
|
|
4537
|
-
all: "All",
|
|
4538
|
-
clear: "Clear all"
|
|
4481
|
+
noRecentGames: "You haven't played yet but here you will find in the future a list of your games."
|
|
4539
4482
|
}
|
|
4540
4483
|
};
|
|
4541
|
-
|
|
4542
|
-
|
|
4543
|
-
|
|
4544
|
-
|
|
4545
|
-
|
|
4546
|
-
|
|
4547
|
-
|
|
4548
|
-
|
|
4549
|
-
|
|
4550
|
-
/*$_*/
|
|
4551
|
-
e[11]("filterby") + ""
|
|
4552
|
-
), h, p, c, m, v = (
|
|
4553
|
-
/*$_*/
|
|
4554
|
-
e[11]("providers") + ""
|
|
4555
|
-
), y, T, H, S, b, I, L, R, A, P, N, Z, V, K = (
|
|
4556
|
-
/*$_*/
|
|
4557
|
-
e[11]("clear") + ""
|
|
4558
|
-
), oe, ee, se, te, ae, Pe;
|
|
4559
|
-
function Be(d, C) {
|
|
4560
|
-
return (
|
|
4561
|
-
/*fullSelection*/
|
|
4562
|
-
d[7] ? Po : Ao
|
|
4563
|
-
);
|
|
4564
|
-
}
|
|
4565
|
-
let le = Be(e), D = le(e), Q = It(
|
|
4566
|
-
/*vendorArray*/
|
|
4567
|
-
e[5]
|
|
4568
|
-
), f = [];
|
|
4569
|
-
for (let d = 0; d < Q.length; d += 1)
|
|
4570
|
-
f[d] = nr(rr(e, Q, d));
|
|
4571
|
-
return {
|
|
4572
|
-
c() {
|
|
4573
|
-
t = B("div"), r = B("div"), n = B("div"), i = Ee("svg"), o = Ee("path"), s = X(), a = B("div"), u = B("span"), h = G(l), p = X(), c = B("div"), m = B("span"), y = G(v), T = X(), D.c(), H = X(), S = B("span"), b = Ee("svg"), I = Ee("path"), A = X(), P = B("div"), N = B("ul");
|
|
4574
|
-
for (let d = 0; d < f.length; d += 1)
|
|
4575
|
-
f[d].c();
|
|
4576
|
-
Z = X(), V = B("button"), oe = G(K), g(o, "id", "noun_filter_736223"), g(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), g(o, "transform", "translate(-5 -6.2)"), g(o, "fill", "#fff"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "16"), g(i, "height", "16"), g(i, "viewBox", "0 0 16 16"), g(u, "class", "FilterName"), g(c, "class", "FilterValueContainer"), g(a, "class", "FilterTextContainer"), g(n, "class", "FilterMainArea"), g(I, "id", "arrow"), g(I, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(I, "transform", "translate(-274.511 -441.088)"), g(I, "fill", "#d1d1d1"), g(b, "xmlns", "http://www.w3.org/2000/svg"), g(b, "width", "14"), g(b, "height", "6.835"), g(b, "viewBox", "0 0 14 6.835"), g(S, "class", L = "TriangleInactive " + /*isFilterActive*/
|
|
4577
|
-
(e[4] ? "TriangleActive" : "")), g(r, "class", R = "FilterSelector " + /*isFilterActive*/
|
|
4578
|
-
(e[4] ? "FilterSelectorOpen" : "")), g(N, "class", "FilterDropdown"), g(V, "class", "ClearFilters"), V.disabled = ee = /*fullSelection*/
|
|
4579
|
-
e[7] && /*selectedVendorArray*/
|
|
4580
|
-
e[6].length != /*vendorArray*/
|
|
4581
|
-
e[5].length, g(P, "class", se = "FilterDropdownContainer " + /*isFilterActive*/
|
|
4582
|
-
(e[4] ? "FilterOpen" : "")), g(t, "class", te = "FilterContainer " + /*addfilterselector*/
|
|
4583
|
-
(e[0] == "true" && /*addsortingselector*/
|
|
4584
|
-
e[1] == "true" ? "FilerContainerSplit" : ""));
|
|
4585
|
-
},
|
|
4586
|
-
m(d, C) {
|
|
4587
|
-
z(d, t, C), _(t, r), _(r, n), _(n, i), _(i, o), _(n, s), _(n, a), _(a, u), _(u, h), _(a, p), _(a, c), _(c, m), _(m, y), _(c, T), D.m(c, null), _(r, H), _(r, S), _(S, b), _(b, I), _(t, A), _(t, P), _(P, N);
|
|
4588
|
-
for (let x = 0; x < f.length; x += 1)
|
|
4589
|
-
f[x] && f[x].m(N, null);
|
|
4590
|
-
_(P, Z), _(P, V), _(V, oe), ae || (Pe = [
|
|
4591
|
-
$e(
|
|
4592
|
-
r,
|
|
4593
|
-
"click",
|
|
4594
|
-
/*click_handler*/
|
|
4595
|
-
e[24]
|
|
4596
|
-
),
|
|
4597
|
-
$e(
|
|
4598
|
-
V,
|
|
4599
|
-
"click",
|
|
4600
|
-
/*click_handler_2*/
|
|
4601
|
-
e[27]
|
|
4602
|
-
)
|
|
4603
|
-
], ae = !0);
|
|
4604
|
-
},
|
|
4605
|
-
p(d, C) {
|
|
4606
|
-
if (C[0] & /*$_*/
|
|
4607
|
-
2048 && l !== (l = /*$_*/
|
|
4608
|
-
d[11]("filterby") + "") && re(h, l), C[0] & /*$_*/
|
|
4609
|
-
2048 && v !== (v = /*$_*/
|
|
4610
|
-
d[11]("providers") + "") && re(y, v), le === (le = Be(d)) && D ? D.p(d, C) : (D.d(1), D = le(d), D && (D.c(), D.m(c, null))), C[0] & /*isFilterActive*/
|
|
4611
|
-
16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
|
|
4612
|
-
(d[4] ? "TriangleActive" : "")) && g(S, "class", L), C[0] & /*isFilterActive*/
|
|
4613
|
-
16 && R !== (R = "FilterSelector " + /*isFilterActive*/
|
|
4614
|
-
(d[4] ? "FilterSelectorOpen" : "")) && g(r, "class", R), C[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
|
4615
|
-
8228) {
|
|
4616
|
-
Q = It(
|
|
4617
|
-
/*vendorArray*/
|
|
4618
|
-
d[5]
|
|
4619
|
-
);
|
|
4620
|
-
let x;
|
|
4621
|
-
for (x = 0; x < Q.length; x += 1) {
|
|
4622
|
-
const ue = rr(d, Q, x);
|
|
4623
|
-
f[x] ? f[x].p(ue, C) : (f[x] = nr(ue), f[x].c(), f[x].m(N, null));
|
|
4624
|
-
}
|
|
4625
|
-
for (; x < f.length; x += 1)
|
|
4626
|
-
f[x].d(1);
|
|
4627
|
-
f.length = Q.length;
|
|
4484
|
+
if (typeof window != "undefined") {
|
|
4485
|
+
let e = function(t) {
|
|
4486
|
+
return function(...r) {
|
|
4487
|
+
try {
|
|
4488
|
+
return t.apply(this, r);
|
|
4489
|
+
} catch (n) {
|
|
4490
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
4491
|
+
return !1;
|
|
4492
|
+
throw n;
|
|
4628
4493
|
}
|
|
4629
|
-
|
|
4630
|
-
2048 && K !== (K = /*$_*/
|
|
4631
|
-
d[11]("clear") + "") && re(oe, K), C[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
|
4632
|
-
224 && ee !== (ee = /*fullSelection*/
|
|
4633
|
-
d[7] && /*selectedVendorArray*/
|
|
4634
|
-
d[6].length != /*vendorArray*/
|
|
4635
|
-
d[5].length) && (V.disabled = ee), C[0] & /*isFilterActive*/
|
|
4636
|
-
16 && se !== (se = "FilterDropdownContainer " + /*isFilterActive*/
|
|
4637
|
-
(d[4] ? "FilterOpen" : "")) && g(P, "class", se), C[0] & /*addfilterselector, addsortingselector*/
|
|
4638
|
-
3 && te !== (te = "FilterContainer " + /*addfilterselector*/
|
|
4639
|
-
(d[0] == "true" && /*addsortingselector*/
|
|
4640
|
-
d[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", te);
|
|
4641
|
-
},
|
|
4642
|
-
d(d) {
|
|
4643
|
-
d && j(t), D.d(), en(f, d), ae = !1, Y(Pe);
|
|
4644
|
-
}
|
|
4494
|
+
};
|
|
4645
4495
|
};
|
|
4496
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-BIc39Efl.js").then((t) => t.C).then(({ default: t }) => {
|
|
4497
|
+
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
4498
|
+
});
|
|
4646
4499
|
}
|
|
4647
|
-
function
|
|
4648
|
-
|
|
4649
|
-
/*$_*/
|
|
4650
|
-
e[11]("500") + ""
|
|
4651
|
-
);
|
|
4652
|
-
return {
|
|
4653
|
-
c() {
|
|
4654
|
-
t = B("p"), g(t, "class", "SearchLoading");
|
|
4655
|
-
},
|
|
4656
|
-
m(n, i) {
|
|
4657
|
-
z(n, t, i), t.innerHTML = r;
|
|
4658
|
-
},
|
|
4659
|
-
p(n, i) {
|
|
4660
|
-
i[0] & /*$_*/
|
|
4661
|
-
2048 && r !== (r = /*$_*/
|
|
4662
|
-
n[11]("500") + "") && (t.innerHTML = r);
|
|
4663
|
-
},
|
|
4664
|
-
d(n) {
|
|
4665
|
-
n && j(t);
|
|
4666
|
-
}
|
|
4667
|
-
};
|
|
4500
|
+
function gs(e) {
|
|
4501
|
+
jr(e, "svelte-9pcrt1", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CasinoLastPlayedSection{background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
4668
4502
|
}
|
|
4669
|
-
function
|
|
4670
|
-
let t
|
|
4503
|
+
function ys(e) {
|
|
4504
|
+
let t;
|
|
4671
4505
|
return {
|
|
4672
4506
|
c() {
|
|
4673
|
-
t =
|
|
4674
|
-
|
|
4507
|
+
t = X("casino-games-category-section"), p(
|
|
4508
|
+
t,
|
|
4509
|
+
"session",
|
|
4510
|
+
/*session*/
|
|
4511
|
+
e[4]
|
|
4512
|
+
), p(
|
|
4513
|
+
t,
|
|
4514
|
+
"userid",
|
|
4515
|
+
/*userid*/
|
|
4516
|
+
e[5]
|
|
4517
|
+
), p(
|
|
4518
|
+
t,
|
|
4519
|
+
"endpoint",
|
|
4520
|
+
/*endpoint*/
|
|
4521
|
+
e[0]
|
|
4522
|
+
), p(
|
|
4523
|
+
t,
|
|
4524
|
+
"datasource",
|
|
4525
|
+
/*datasource*/
|
|
4526
|
+
e[1]
|
|
4527
|
+
), p(
|
|
4528
|
+
t,
|
|
4529
|
+
"lang",
|
|
4530
|
+
/*lang*/
|
|
4531
|
+
e[3]
|
|
4532
|
+
), p(
|
|
4533
|
+
t,
|
|
4534
|
+
"currency",
|
|
4535
|
+
/*currency*/
|
|
4536
|
+
e[2]
|
|
4537
|
+
), p(
|
|
4538
|
+
t,
|
|
4539
|
+
"favorites",
|
|
4540
|
+
/*favorites*/
|
|
4541
|
+
e[15]
|
|
4542
|
+
), p(
|
|
4543
|
+
t,
|
|
4544
|
+
"fetchviaevent",
|
|
4545
|
+
/*fetchviaevent*/
|
|
4546
|
+
e[17]
|
|
4547
|
+
), p(t, "categoryid", "LASTPLAYED"), p(t, "categoryindex", "1"), p(t, "categorygames", "9"), p(t, "class", "CategoryContainer"), p(
|
|
4548
|
+
t,
|
|
4549
|
+
"mbsource",
|
|
4550
|
+
/*mbsource*/
|
|
4551
|
+
e[18]
|
|
4552
|
+
), p(
|
|
4553
|
+
t,
|
|
4554
|
+
"showgamename",
|
|
4555
|
+
/*showgamename*/
|
|
4556
|
+
e[13]
|
|
4557
|
+
), p(
|
|
4558
|
+
t,
|
|
4559
|
+
"clientstyling",
|
|
4560
|
+
/*clientstyling*/
|
|
4561
|
+
e[6]
|
|
4562
|
+
), p(
|
|
4563
|
+
t,
|
|
4564
|
+
"clientstylingurl",
|
|
4565
|
+
/*clientstylingurl*/
|
|
4566
|
+
e[7]
|
|
4567
|
+
), p(
|
|
4568
|
+
t,
|
|
4569
|
+
"translationurl",
|
|
4570
|
+
/*translationurl*/
|
|
4675
4571
|
e[8]
|
|
4676
|
-
),
|
|
4572
|
+
), p(
|
|
4573
|
+
t,
|
|
4574
|
+
"livecasino",
|
|
4575
|
+
/*livecasino*/
|
|
4576
|
+
e[9]
|
|
4577
|
+
), p(
|
|
4578
|
+
t,
|
|
4579
|
+
"visiblegames",
|
|
4580
|
+
/*visiblegames*/
|
|
4581
|
+
e[14]
|
|
4582
|
+
), p(
|
|
4583
|
+
t,
|
|
4584
|
+
"gamepagemodalurl",
|
|
4585
|
+
/*gamepagemodalurl*/
|
|
4586
|
+
e[12]
|
|
4587
|
+
), p(
|
|
4588
|
+
t,
|
|
4589
|
+
"integratedgameframedesktop",
|
|
4590
|
+
/*integratedgameframedesktop*/
|
|
4591
|
+
e[11]
|
|
4592
|
+
), p(
|
|
4593
|
+
t,
|
|
4594
|
+
"integratedgameframemobile",
|
|
4595
|
+
/*integratedgameframemobile*/
|
|
4596
|
+
e[10]
|
|
4597
|
+
), p(
|
|
4598
|
+
t,
|
|
4599
|
+
"casinomygames",
|
|
4600
|
+
/*casinomygames*/
|
|
4601
|
+
e[16]
|
|
4602
|
+
);
|
|
4677
4603
|
},
|
|
4678
|
-
m(
|
|
4679
|
-
|
|
4604
|
+
m(r, n) {
|
|
4605
|
+
me(r, t, n);
|
|
4680
4606
|
},
|
|
4681
|
-
p(
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4607
|
+
p(r, n) {
|
|
4608
|
+
n[0] & /*session*/
|
|
4609
|
+
16 && p(
|
|
4610
|
+
t,
|
|
4611
|
+
"session",
|
|
4612
|
+
/*session*/
|
|
4613
|
+
r[4]
|
|
4614
|
+
), n[0] & /*userid*/
|
|
4615
|
+
32 && p(
|
|
4616
|
+
t,
|
|
4617
|
+
"userid",
|
|
4618
|
+
/*userid*/
|
|
4619
|
+
r[5]
|
|
4620
|
+
), n[0] & /*endpoint*/
|
|
4621
|
+
1 && p(
|
|
4622
|
+
t,
|
|
4623
|
+
"endpoint",
|
|
4624
|
+
/*endpoint*/
|
|
4625
|
+
r[0]
|
|
4626
|
+
), n[0] & /*datasource*/
|
|
4627
|
+
2 && p(
|
|
4628
|
+
t,
|
|
4629
|
+
"datasource",
|
|
4630
|
+
/*datasource*/
|
|
4631
|
+
r[1]
|
|
4632
|
+
), n[0] & /*lang*/
|
|
4633
|
+
8 && p(
|
|
4634
|
+
t,
|
|
4635
|
+
"lang",
|
|
4636
|
+
/*lang*/
|
|
4637
|
+
r[3]
|
|
4638
|
+
), n[0] & /*currency*/
|
|
4639
|
+
4 && p(
|
|
4640
|
+
t,
|
|
4641
|
+
"currency",
|
|
4642
|
+
/*currency*/
|
|
4643
|
+
r[2]
|
|
4644
|
+
), n[0] & /*favorites*/
|
|
4645
|
+
32768 && p(
|
|
4646
|
+
t,
|
|
4647
|
+
"favorites",
|
|
4648
|
+
/*favorites*/
|
|
4649
|
+
r[15]
|
|
4650
|
+
), n[0] & /*fetchviaevent*/
|
|
4651
|
+
131072 && p(
|
|
4652
|
+
t,
|
|
4653
|
+
"fetchviaevent",
|
|
4654
|
+
/*fetchviaevent*/
|
|
4655
|
+
r[17]
|
|
4656
|
+
), n[0] & /*mbsource*/
|
|
4657
|
+
262144 && p(
|
|
4658
|
+
t,
|
|
4659
|
+
"mbsource",
|
|
4660
|
+
/*mbsource*/
|
|
4661
|
+
r[18]
|
|
4662
|
+
), n[0] & /*showgamename*/
|
|
4663
|
+
8192 && p(
|
|
4664
|
+
t,
|
|
4665
|
+
"showgamename",
|
|
4666
|
+
/*showgamename*/
|
|
4667
|
+
r[13]
|
|
4668
|
+
), n[0] & /*clientstyling*/
|
|
4669
|
+
64 && p(
|
|
4670
|
+
t,
|
|
4671
|
+
"clientstyling",
|
|
4672
|
+
/*clientstyling*/
|
|
4673
|
+
r[6]
|
|
4674
|
+
), n[0] & /*clientstylingurl*/
|
|
4675
|
+
128 && p(
|
|
4676
|
+
t,
|
|
4677
|
+
"clientstylingurl",
|
|
4678
|
+
/*clientstylingurl*/
|
|
4679
|
+
r[7]
|
|
4680
|
+
), n[0] & /*translationurl*/
|
|
4681
|
+
256 && p(
|
|
4682
|
+
t,
|
|
4683
|
+
"translationurl",
|
|
4684
|
+
/*translationurl*/
|
|
4685
|
+
r[8]
|
|
4686
|
+
), n[0] & /*livecasino*/
|
|
4687
|
+
512 && p(
|
|
4688
|
+
t,
|
|
4689
|
+
"livecasino",
|
|
4690
|
+
/*livecasino*/
|
|
4691
|
+
r[9]
|
|
4692
|
+
), n[0] & /*visiblegames*/
|
|
4693
|
+
16384 && p(
|
|
4694
|
+
t,
|
|
4695
|
+
"visiblegames",
|
|
4696
|
+
/*visiblegames*/
|
|
4697
|
+
r[14]
|
|
4698
|
+
), n[0] & /*gamepagemodalurl*/
|
|
4699
|
+
4096 && p(
|
|
4700
|
+
t,
|
|
4701
|
+
"gamepagemodalurl",
|
|
4702
|
+
/*gamepagemodalurl*/
|
|
4703
|
+
r[12]
|
|
4704
|
+
), n[0] & /*integratedgameframedesktop*/
|
|
4705
|
+
2048 && p(
|
|
4706
|
+
t,
|
|
4707
|
+
"integratedgameframedesktop",
|
|
4708
|
+
/*integratedgameframedesktop*/
|
|
4709
|
+
r[11]
|
|
4710
|
+
), n[0] & /*integratedgameframemobile*/
|
|
4711
|
+
1024 && p(
|
|
4712
|
+
t,
|
|
4713
|
+
"integratedgameframemobile",
|
|
4714
|
+
/*integratedgameframemobile*/
|
|
4715
|
+
r[10]
|
|
4716
|
+
), n[0] & /*casinomygames*/
|
|
4717
|
+
65536 && p(
|
|
4718
|
+
t,
|
|
4719
|
+
"casinomygames",
|
|
4720
|
+
/*casinomygames*/
|
|
4721
|
+
r[16]
|
|
4687
4722
|
);
|
|
4688
4723
|
},
|
|
4689
|
-
d(
|
|
4690
|
-
|
|
4724
|
+
d(r) {
|
|
4725
|
+
r && ne(t);
|
|
4691
4726
|
}
|
|
4692
4727
|
};
|
|
4693
4728
|
}
|
|
4694
|
-
function
|
|
4729
|
+
function vs(e) {
|
|
4695
4730
|
let t, r = (
|
|
4696
4731
|
/*$_*/
|
|
4697
|
-
e[
|
|
4732
|
+
e[21]("noRecentGames") + ""
|
|
4698
4733
|
), n;
|
|
4699
4734
|
return {
|
|
4700
4735
|
c() {
|
|
4701
|
-
t =
|
|
4736
|
+
t = X("p"), n = ut(r), he(t, "class", "SearchLoading");
|
|
4702
4737
|
},
|
|
4703
|
-
m(i,
|
|
4704
|
-
|
|
4738
|
+
m(i, s) {
|
|
4739
|
+
me(i, t, s), at(t, n);
|
|
4705
4740
|
},
|
|
4706
|
-
p(i,
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
i[
|
|
4741
|
+
p(i, s) {
|
|
4742
|
+
s[0] & /*$_*/
|
|
4743
|
+
2097152 && r !== (r = /*$_*/
|
|
4744
|
+
i[21]("noRecentGames") + "") && zr(n, r);
|
|
4710
4745
|
},
|
|
4711
4746
|
d(i) {
|
|
4712
|
-
i &&
|
|
4747
|
+
i && ne(t);
|
|
4713
4748
|
}
|
|
4714
4749
|
};
|
|
4715
4750
|
}
|
|
4716
|
-
function
|
|
4751
|
+
function _s(e) {
|
|
4717
4752
|
let t, r;
|
|
4718
|
-
|
|
4719
|
-
c() {
|
|
4720
|
-
t = B("img"), Ft(t.src, r = /*vendor*/
|
|
4721
|
-
e[37].logo) || g(t, "src", r), g(t, "alt", "vendor logo");
|
|
4722
|
-
},
|
|
4723
|
-
m(n, i) {
|
|
4724
|
-
z(n, t, i);
|
|
4725
|
-
},
|
|
4726
|
-
p(n, i) {
|
|
4727
|
-
i[0] & /*vendorArray*/
|
|
4728
|
-
32 && !Ft(t.src, r = /*vendor*/
|
|
4729
|
-
n[37].logo) && g(t, "src", r);
|
|
4730
|
-
},
|
|
4731
|
-
d(n) {
|
|
4732
|
-
n && j(t);
|
|
4733
|
-
}
|
|
4734
|
-
};
|
|
4735
|
-
}
|
|
4736
|
-
function Fo(e) {
|
|
4737
|
-
let t, r, n = (
|
|
4738
|
-
/*vendor*/
|
|
4739
|
-
e[37].name + ""
|
|
4740
|
-
), i, o, s, a, u = (
|
|
4741
|
-
/*vendor*/
|
|
4742
|
-
e[37].games.total + ""
|
|
4743
|
-
), l, h;
|
|
4744
|
-
return {
|
|
4745
|
-
c() {
|
|
4746
|
-
t = B("div"), r = B("span"), i = G(n), o = X(), s = B("span"), a = G("("), l = G(u), h = G(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
|
|
4747
|
-
},
|
|
4748
|
-
m(p, c) {
|
|
4749
|
-
z(p, t, c), _(t, r), _(r, i), _(t, o), _(t, s), _(s, a), _(s, l), _(s, h);
|
|
4750
|
-
},
|
|
4751
|
-
p(p, c) {
|
|
4752
|
-
c[0] & /*vendorArray*/
|
|
4753
|
-
32 && n !== (n = /*vendor*/
|
|
4754
|
-
p[37].name + "") && re(i, n), c[0] & /*vendorArray*/
|
|
4755
|
-
32 && u !== (u = /*vendor*/
|
|
4756
|
-
p[37].games.total + "") && re(l, u);
|
|
4757
|
-
},
|
|
4758
|
-
d(p) {
|
|
4759
|
-
p && j(t);
|
|
4760
|
-
}
|
|
4761
|
-
};
|
|
4762
|
-
}
|
|
4763
|
-
function nr(e) {
|
|
4764
|
-
let t, r, n, i, o, s, a, u, l, h, p, c;
|
|
4765
|
-
function m() {
|
|
4766
|
-
e[25].call(
|
|
4767
|
-
n,
|
|
4768
|
-
/*each_value*/
|
|
4769
|
-
e[38],
|
|
4770
|
-
/*vendor_index*/
|
|
4771
|
-
e[39]
|
|
4772
|
-
);
|
|
4773
|
-
}
|
|
4774
|
-
function v() {
|
|
4753
|
+
function n(o, a) {
|
|
4775
4754
|
return (
|
|
4776
|
-
/*
|
|
4777
|
-
|
|
4778
|
-
/*vendor*/
|
|
4779
|
-
e[37]
|
|
4780
|
-
)
|
|
4755
|
+
/*lastPlayedEmpty*/
|
|
4756
|
+
o[20] ? vs : ys
|
|
4781
4757
|
);
|
|
4782
4758
|
}
|
|
4783
|
-
|
|
4784
|
-
if (
|
|
4785
|
-
/*filterbylogo*/
|
|
4786
|
-
S[2] === "false"
|
|
4787
|
-
)
|
|
4788
|
-
return Fo;
|
|
4789
|
-
if (
|
|
4790
|
-
/*filterbylogo*/
|
|
4791
|
-
S[2] === "true"
|
|
4792
|
-
)
|
|
4793
|
-
return Bo;
|
|
4794
|
-
}
|
|
4795
|
-
let T = y(e), H = T && T(e);
|
|
4796
|
-
return {
|
|
4797
|
-
c() {
|
|
4798
|
-
t = B("li"), r = B("label"), n = B("input"), o = X(), s = B("span"), a = X(), H && H.c(), u = X(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
|
|
4799
|
-
e[37].name, Ct(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
|
|
4800
|
-
(e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
|
|
4801
|
-
e[37].name;
|
|
4802
|
-
},
|
|
4803
|
-
m(S, b) {
|
|
4804
|
-
z(S, t, b), _(t, r), _(r, n), n.checked = /*vendor*/
|
|
4805
|
-
e[37].isFilterSelected, _(r, o), _(r, s), _(r, a), H && H.m(r, null), _(t, u), p || (c = [
|
|
4806
|
-
$e(n, "change", m),
|
|
4807
|
-
$e(n, "click", v)
|
|
4808
|
-
], p = !0);
|
|
4809
|
-
},
|
|
4810
|
-
p(S, b) {
|
|
4811
|
-
e = S, b[0] & /*vendorArray*/
|
|
4812
|
-
32 && i !== (i = /*vendor*/
|
|
4813
|
-
e[37].name) && (n.__value = i, Ct(n, n.__value)), b[0] & /*vendorArray*/
|
|
4814
|
-
32 && (n.checked = /*vendor*/
|
|
4815
|
-
e[37].isFilterSelected), T === (T = y(e)) && H ? H.p(e, b) : (H && H.d(1), H = T && T(e), H && (H.c(), H.m(r, null))), b[0] & /*filterbylogo*/
|
|
4816
|
-
4 && l !== (l = "FilterItem " + /*filterbylogo*/
|
|
4817
|
-
(e[2] === "true" ? "FilterItemWithLogos" : "")) && g(t, "class", l), b[0] & /*vendorArray*/
|
|
4818
|
-
32 && h !== (h = /*vendor*/
|
|
4819
|
-
e[37].name) && (t.value = h);
|
|
4820
|
-
},
|
|
4821
|
-
d(S) {
|
|
4822
|
-
S && j(t), H && H.d(), p = !1, Y(c);
|
|
4823
|
-
}
|
|
4824
|
-
};
|
|
4825
|
-
}
|
|
4826
|
-
function Co(e) {
|
|
4827
|
-
let t;
|
|
4828
|
-
function r(o, s) {
|
|
4829
|
-
if (
|
|
4830
|
-
/*hasErrors*/
|
|
4831
|
-
o[10]
|
|
4832
|
-
)
|
|
4833
|
-
return Ho;
|
|
4834
|
-
if (!/*isLoading*/
|
|
4835
|
-
o[9])
|
|
4836
|
-
return To;
|
|
4837
|
-
}
|
|
4838
|
-
let n = r(e), i = n && n(e);
|
|
4759
|
+
let i = n(e), s = i(e);
|
|
4839
4760
|
return {
|
|
4840
4761
|
c() {
|
|
4841
|
-
t =
|
|
4762
|
+
t = X("div"), r = X("div"), s.c(), he(r, "class", "CasinoLastPlayedSection"), he(t, "class", "CasinoGamesCategorySectionContainer");
|
|
4842
4763
|
},
|
|
4843
|
-
m(o,
|
|
4844
|
-
|
|
4764
|
+
m(o, a) {
|
|
4765
|
+
me(o, t, a), at(t, r), s.m(r, null), e[26](t);
|
|
4845
4766
|
},
|
|
4846
|
-
p(o,
|
|
4847
|
-
|
|
4767
|
+
p(o, a) {
|
|
4768
|
+
i === (i = n(o)) && s ? s.p(o, a) : (s.d(1), s = i(o), s && (s.c(), s.m(r, null)));
|
|
4848
4769
|
},
|
|
4849
|
-
i:
|
|
4850
|
-
o:
|
|
4770
|
+
i: G,
|
|
4771
|
+
o: G,
|
|
4851
4772
|
d(o) {
|
|
4852
|
-
o &&
|
|
4773
|
+
o && ne(t), s.d(), e[26](null);
|
|
4853
4774
|
}
|
|
4854
4775
|
};
|
|
4855
4776
|
}
|
|
4856
|
-
function
|
|
4777
|
+
function Es(e, t, r) {
|
|
4857
4778
|
let n;
|
|
4858
|
-
|
|
4859
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang:
|
|
4860
|
-
|
|
4861
|
-
|
|
4862
|
-
|
|
4863
|
-
|
|
4864
|
-
er(C, d[C]);
|
|
4779
|
+
Fr(e, us, (m) => r(21, n = m));
|
|
4780
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { currency: o = "" } = t, { lang: a = "" } = t, { session: h = "" } = t, { userid: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: c = "" } = t, { livecasino: d = "false" } = t, { integratedgameframemobile: b = "false" } = t, { integratedgameframedesktop: v = "false" } = t, { gamepagemodalurl: w = "false" } = t, { showgamename: I = "" } = t, { visiblegames: B = "" } = t, { favorites: H = "" } = t, { lastplayedperiod: M = "Last30Days" } = t, { lastplayedorder: O = "" } = t, { lastplayedlimit: R = "" } = t, { casinomygames: _ = "false" } = t, { lastplayedunique: L = "true" } = t, { fetchviaevent: N = "true" } = t, { mbsource: j } = t, Pr = window.navigator.userAgent, Ar, ct = !1, be = [], ft, $;
|
|
4781
|
+
const Br = () => {
|
|
4782
|
+
fetch(c).then((U) => U.json()).then((U) => {
|
|
4783
|
+
Object.keys(U).forEach((P) => {
|
|
4784
|
+
$t(P, U[P]);
|
|
4865
4785
|
});
|
|
4866
|
-
}).catch((
|
|
4867
|
-
console.log(
|
|
4786
|
+
}).catch((U) => {
|
|
4787
|
+
console.log(U);
|
|
4868
4788
|
});
|
|
4869
4789
|
};
|
|
4870
|
-
Object.keys(
|
|
4871
|
-
|
|
4872
|
-
})
|
|
4873
|
-
const
|
|
4874
|
-
|
|
4875
|
-
|
|
4876
|
-
|
|
4877
|
-
|
|
4878
|
-
|
|
4879
|
-
|
|
4880
|
-
|
|
4881
|
-
|
|
4882
|
-
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
}).
|
|
4887
|
-
|
|
4790
|
+
Object.keys(Ft).forEach((m) => {
|
|
4791
|
+
$t(m, Ft[m]);
|
|
4792
|
+
});
|
|
4793
|
+
const Or = () => new Promise((m, U) => {
|
|
4794
|
+
let P = new URL(`${i}/v1/player/${u}/games/last-played`);
|
|
4795
|
+
P.searchParams.append("unique", L), P.searchParams.append("limit", R), P.searchParams.append("order", O), P.searchParams.append("period", M), ls(Pr) === "PC" ? P.searchParams.append("device", "Desktop") : P.searchParams.append("device", "Mobile"), ft = d ? P : P.href, fetch(ft).then((C) => C.json()).then((C) => {
|
|
4796
|
+
C.items = C.items.filter((Ir) => {
|
|
4797
|
+
let mt = !0;
|
|
4798
|
+
return Ir.gameCode == "OddsMatrix2" && (C.count--, mt = !1), mt;
|
|
4799
|
+
}), m(C), window.postMessage(
|
|
4800
|
+
{
|
|
4801
|
+
type: "AddNewCategory",
|
|
4802
|
+
category: { name: "Last Played", id: "LASTPLAYED" }
|
|
4803
|
+
},
|
|
4804
|
+
window.location.href
|
|
4805
|
+
), window.postMessage({ type: "LastPlayedGames", data: C }, window.location.href);
|
|
4806
|
+
}).catch((C) => {
|
|
4807
|
+
console.error(C), U(C);
|
|
4888
4808
|
});
|
|
4889
|
-
})
|
|
4890
|
-
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
|
|
4894
|
-
|
|
4895
|
-
|
|
4896
|
-
|
|
4897
|
-
|
|
4898
|
-
|
|
4899
|
-
|
|
4900
|
-
|
|
4901
|
-
|
|
4902
|
-
|
|
4903
|
-
|
|
4904
|
-
r(6, b = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
|
|
4905
|
-
[y === "true" ? "*" : h]: b.map((f) => f.id)
|
|
4906
|
-
})), S.forEach((f) => f.isFilterSelected = !1), r(5, S), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, T = !1);
|
|
4907
|
-
}, ae = (f) => {
|
|
4908
|
-
f.data.type == "SortingOpened" && r(4, T = !1);
|
|
4809
|
+
}), Lr = () => {
|
|
4810
|
+
Or().then((m) => {
|
|
4811
|
+
if (m.count > 0) {
|
|
4812
|
+
let U = [];
|
|
4813
|
+
m.items.forEach((P) => {
|
|
4814
|
+
let k = new URL(`${i}/v1/casino/games/${P.gameId}`);
|
|
4815
|
+
k.searchParams.append("datasource", s), d ? U.push(fetch(k.href).then((C) => C.json())) : U.push(fetch(k.href).then((C) => C.json()));
|
|
4816
|
+
}), Promise.all(U).then((P) => {
|
|
4817
|
+
be = P.filter((k) => !("error" in k)).map((k) => k[0]), _ === "true" && (be = be.slice(0, JSON.parse(B))), window.postMessage({ type: "LastPlayedData", lastPlayedGames: be }, window.location.href);
|
|
4818
|
+
});
|
|
4819
|
+
} else
|
|
4820
|
+
r(20, ct = !0);
|
|
4821
|
+
});
|
|
4822
|
+
}, Cr = () => {
|
|
4823
|
+
bs(a);
|
|
4909
4824
|
};
|
|
4910
|
-
|
|
4911
|
-
|
|
4912
|
-
|
|
4913
|
-
|
|
4914
|
-
|
|
4915
|
-
f[d].isFilterSelected = this.checked, r(5, S);
|
|
4916
|
-
}
|
|
4917
|
-
const le = (f) => oe(f), D = () => te();
|
|
4918
|
-
function Q(f) {
|
|
4919
|
-
nt[f ? "unshift" : "push"](() => {
|
|
4920
|
-
P = f, r(3, P);
|
|
4825
|
+
qr(() => () => {
|
|
4826
|
+
});
|
|
4827
|
+
function Nr(m) {
|
|
4828
|
+
je[m ? "unshift" : "push"](() => {
|
|
4829
|
+
$ = m, r(19, $);
|
|
4921
4830
|
});
|
|
4922
4831
|
}
|
|
4923
|
-
return e.$$set = (
|
|
4924
|
-
"endpoint" in
|
|
4832
|
+
return e.$$set = (m) => {
|
|
4833
|
+
"endpoint" in m && r(0, i = m.endpoint), "datasource" in m && r(1, s = m.datasource), "currency" in m && r(2, o = m.currency), "lang" in m && r(3, a = m.lang), "session" in m && r(4, h = m.session), "userid" in m && r(5, u = m.userid), "clientstyling" in m && r(6, l = m.clientstyling), "clientstylingurl" in m && r(7, f = m.clientstylingurl), "translationurl" in m && r(8, c = m.translationurl), "livecasino" in m && r(9, d = m.livecasino), "integratedgameframemobile" in m && r(10, b = m.integratedgameframemobile), "integratedgameframedesktop" in m && r(11, v = m.integratedgameframedesktop), "gamepagemodalurl" in m && r(12, w = m.gamepagemodalurl), "showgamename" in m && r(13, I = m.showgamename), "visiblegames" in m && r(14, B = m.visiblegames), "favorites" in m && r(15, H = m.favorites), "lastplayedperiod" in m && r(22, M = m.lastplayedperiod), "lastplayedorder" in m && r(23, O = m.lastplayedorder), "lastplayedlimit" in m && r(24, R = m.lastplayedlimit), "casinomygames" in m && r(16, _ = m.casinomygames), "lastplayedunique" in m && r(25, L = m.lastplayedunique), "fetchviaevent" in m && r(17, N = m.fetchviaevent), "mbsource" in m && r(18, j = m.mbsource);
|
|
4925
4834
|
}, e.$$.update = () => {
|
|
4926
|
-
e.$$.dirty[0] & /*endpoint,
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
4931
|
-
|
|
4835
|
+
e.$$.dirty[0] & /*endpoint, userid, lang*/
|
|
4836
|
+
41 && i && u && a && Lr(), e.$$.dirty[0] & /*translationurl*/
|
|
4837
|
+
256 && c && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4838
|
+
524352 && l && $ && cs($, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4839
|
+
524416 && f && $ && fs($, f), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4840
|
+
786432 && $ && ms($, `${j}.Style`, Ar), e.$$.dirty[0] & /*lang*/
|
|
4841
|
+
8 && a && Cr();
|
|
4932
4842
|
}, [
|
|
4933
|
-
p,
|
|
4934
|
-
c,
|
|
4935
|
-
m,
|
|
4936
|
-
P,
|
|
4937
|
-
T,
|
|
4938
|
-
S,
|
|
4939
|
-
b,
|
|
4940
|
-
L,
|
|
4941
|
-
R,
|
|
4942
|
-
A,
|
|
4943
|
-
N,
|
|
4944
|
-
n,
|
|
4945
|
-
V,
|
|
4946
|
-
oe,
|
|
4947
|
-
te,
|
|
4948
4843
|
i,
|
|
4949
|
-
o,
|
|
4950
4844
|
s,
|
|
4845
|
+
o,
|
|
4951
4846
|
a,
|
|
4847
|
+
h,
|
|
4952
4848
|
u,
|
|
4953
4849
|
l,
|
|
4954
|
-
|
|
4850
|
+
f,
|
|
4851
|
+
c,
|
|
4852
|
+
d,
|
|
4853
|
+
b,
|
|
4955
4854
|
v,
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4855
|
+
w,
|
|
4856
|
+
I,
|
|
4857
|
+
B,
|
|
4858
|
+
H,
|
|
4859
|
+
_,
|
|
4860
|
+
N,
|
|
4861
|
+
j,
|
|
4862
|
+
$,
|
|
4863
|
+
ct,
|
|
4864
|
+
n,
|
|
4865
|
+
M,
|
|
4866
|
+
O,
|
|
4867
|
+
R,
|
|
4868
|
+
L,
|
|
4869
|
+
Nr
|
|
4962
4870
|
];
|
|
4963
4871
|
}
|
|
4964
|
-
class
|
|
4872
|
+
class Hr extends sn {
|
|
4965
4873
|
constructor(t) {
|
|
4966
|
-
super(),
|
|
4874
|
+
super(), rn(
|
|
4967
4875
|
this,
|
|
4968
4876
|
t,
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4877
|
+
Es,
|
|
4878
|
+
_s,
|
|
4879
|
+
kt,
|
|
4972
4880
|
{
|
|
4973
|
-
endpoint:
|
|
4974
|
-
datasource:
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4984
|
-
|
|
4881
|
+
endpoint: 0,
|
|
4882
|
+
datasource: 1,
|
|
4883
|
+
currency: 2,
|
|
4884
|
+
lang: 3,
|
|
4885
|
+
session: 4,
|
|
4886
|
+
userid: 5,
|
|
4887
|
+
clientstyling: 6,
|
|
4888
|
+
clientstylingurl: 7,
|
|
4889
|
+
translationurl: 8,
|
|
4890
|
+
livecasino: 9,
|
|
4891
|
+
integratedgameframemobile: 10,
|
|
4892
|
+
integratedgameframedesktop: 11,
|
|
4893
|
+
gamepagemodalurl: 12,
|
|
4894
|
+
showgamename: 13,
|
|
4895
|
+
visiblegames: 14,
|
|
4896
|
+
favorites: 15,
|
|
4897
|
+
lastplayedperiod: 22,
|
|
4898
|
+
lastplayedorder: 23,
|
|
4899
|
+
lastplayedlimit: 24,
|
|
4900
|
+
casinomygames: 16,
|
|
4901
|
+
lastplayedunique: 25,
|
|
4902
|
+
fetchviaevent: 17,
|
|
4903
|
+
mbsource: 18
|
|
4985
4904
|
},
|
|
4986
|
-
|
|
4905
|
+
gs,
|
|
4987
4906
|
[-1, -1]
|
|
4988
4907
|
);
|
|
4989
4908
|
}
|
|
4990
4909
|
get endpoint() {
|
|
4991
|
-
return this.$$.ctx[
|
|
4910
|
+
return this.$$.ctx[0];
|
|
4992
4911
|
}
|
|
4993
4912
|
set endpoint(t) {
|
|
4994
|
-
this.$$set({ endpoint: t }),
|
|
4913
|
+
this.$$set({ endpoint: t }), E();
|
|
4995
4914
|
}
|
|
4996
4915
|
get datasource() {
|
|
4997
|
-
return this.$$.ctx[
|
|
4916
|
+
return this.$$.ctx[1];
|
|
4998
4917
|
}
|
|
4999
4918
|
set datasource(t) {
|
|
5000
|
-
this.$$set({ datasource: t }),
|
|
4919
|
+
this.$$set({ datasource: t }), E();
|
|
4920
|
+
}
|
|
4921
|
+
get currency() {
|
|
4922
|
+
return this.$$.ctx[2];
|
|
4923
|
+
}
|
|
4924
|
+
set currency(t) {
|
|
4925
|
+
this.$$set({ currency: t }), E();
|
|
5001
4926
|
}
|
|
5002
4927
|
get lang() {
|
|
5003
|
-
return this.$$.ctx[
|
|
4928
|
+
return this.$$.ctx[3];
|
|
5004
4929
|
}
|
|
5005
4930
|
set lang(t) {
|
|
5006
|
-
this.$$set({ lang: t }),
|
|
4931
|
+
this.$$set({ lang: t }), E();
|
|
5007
4932
|
}
|
|
5008
|
-
get
|
|
5009
|
-
return this.$$.ctx[
|
|
4933
|
+
get session() {
|
|
4934
|
+
return this.$$.ctx[4];
|
|
5010
4935
|
}
|
|
5011
|
-
set
|
|
5012
|
-
this.$$set({
|
|
4936
|
+
set session(t) {
|
|
4937
|
+
this.$$set({ session: t }), E();
|
|
4938
|
+
}
|
|
4939
|
+
get userid() {
|
|
4940
|
+
return this.$$.ctx[5];
|
|
4941
|
+
}
|
|
4942
|
+
set userid(t) {
|
|
4943
|
+
this.$$set({ userid: t }), E();
|
|
5013
4944
|
}
|
|
5014
4945
|
get clientstyling() {
|
|
5015
|
-
return this.$$.ctx[
|
|
4946
|
+
return this.$$.ctx[6];
|
|
5016
4947
|
}
|
|
5017
4948
|
set clientstyling(t) {
|
|
5018
|
-
this.$$set({ clientstyling: t }),
|
|
4949
|
+
this.$$set({ clientstyling: t }), E();
|
|
5019
4950
|
}
|
|
5020
4951
|
get clientstylingurl() {
|
|
5021
|
-
return this.$$.ctx[
|
|
4952
|
+
return this.$$.ctx[7];
|
|
5022
4953
|
}
|
|
5023
4954
|
set clientstylingurl(t) {
|
|
5024
|
-
this.$$set({ clientstylingurl: t }),
|
|
4955
|
+
this.$$set({ clientstylingurl: t }), E();
|
|
5025
4956
|
}
|
|
5026
|
-
get
|
|
5027
|
-
return this.$$.ctx[
|
|
4957
|
+
get translationurl() {
|
|
4958
|
+
return this.$$.ctx[8];
|
|
5028
4959
|
}
|
|
5029
|
-
set
|
|
5030
|
-
this.$$set({
|
|
4960
|
+
set translationurl(t) {
|
|
4961
|
+
this.$$set({ translationurl: t }), E();
|
|
5031
4962
|
}
|
|
5032
|
-
get
|
|
5033
|
-
return this.$$.ctx[
|
|
4963
|
+
get livecasino() {
|
|
4964
|
+
return this.$$.ctx[9];
|
|
5034
4965
|
}
|
|
5035
|
-
set
|
|
5036
|
-
this.$$set({
|
|
4966
|
+
set livecasino(t) {
|
|
4967
|
+
this.$$set({ livecasino: t }), E();
|
|
5037
4968
|
}
|
|
5038
|
-
get
|
|
5039
|
-
return this.$$.ctx[
|
|
4969
|
+
get integratedgameframemobile() {
|
|
4970
|
+
return this.$$.ctx[10];
|
|
5040
4971
|
}
|
|
5041
|
-
set
|
|
5042
|
-
this.$$set({
|
|
4972
|
+
set integratedgameframemobile(t) {
|
|
4973
|
+
this.$$set({ integratedgameframemobile: t }), E();
|
|
5043
4974
|
}
|
|
5044
|
-
get
|
|
5045
|
-
return this.$$.ctx[
|
|
4975
|
+
get integratedgameframedesktop() {
|
|
4976
|
+
return this.$$.ctx[11];
|
|
5046
4977
|
}
|
|
5047
|
-
set
|
|
5048
|
-
this.$$set({
|
|
4978
|
+
set integratedgameframedesktop(t) {
|
|
4979
|
+
this.$$set({ integratedgameframedesktop: t }), E();
|
|
5049
4980
|
}
|
|
5050
|
-
get
|
|
4981
|
+
get gamepagemodalurl() {
|
|
4982
|
+
return this.$$.ctx[12];
|
|
4983
|
+
}
|
|
4984
|
+
set gamepagemodalurl(t) {
|
|
4985
|
+
this.$$set({ gamepagemodalurl: t }), E();
|
|
4986
|
+
}
|
|
4987
|
+
get showgamename() {
|
|
4988
|
+
return this.$$.ctx[13];
|
|
4989
|
+
}
|
|
4990
|
+
set showgamename(t) {
|
|
4991
|
+
this.$$set({ showgamename: t }), E();
|
|
4992
|
+
}
|
|
4993
|
+
get visiblegames() {
|
|
4994
|
+
return this.$$.ctx[14];
|
|
4995
|
+
}
|
|
4996
|
+
set visiblegames(t) {
|
|
4997
|
+
this.$$set({ visiblegames: t }), E();
|
|
4998
|
+
}
|
|
4999
|
+
get favorites() {
|
|
5000
|
+
return this.$$.ctx[15];
|
|
5001
|
+
}
|
|
5002
|
+
set favorites(t) {
|
|
5003
|
+
this.$$set({ favorites: t }), E();
|
|
5004
|
+
}
|
|
5005
|
+
get lastplayedperiod() {
|
|
5051
5006
|
return this.$$.ctx[22];
|
|
5052
5007
|
}
|
|
5053
|
-
set
|
|
5054
|
-
this.$$set({
|
|
5008
|
+
set lastplayedperiod(t) {
|
|
5009
|
+
this.$$set({ lastplayedperiod: t }), E();
|
|
5055
5010
|
}
|
|
5056
|
-
get
|
|
5011
|
+
get lastplayedorder() {
|
|
5057
5012
|
return this.$$.ctx[23];
|
|
5058
5013
|
}
|
|
5059
|
-
set
|
|
5060
|
-
this.$$set({
|
|
5014
|
+
set lastplayedorder(t) {
|
|
5015
|
+
this.$$set({ lastplayedorder: t }), E();
|
|
5016
|
+
}
|
|
5017
|
+
get lastplayedlimit() {
|
|
5018
|
+
return this.$$.ctx[24];
|
|
5019
|
+
}
|
|
5020
|
+
set lastplayedlimit(t) {
|
|
5021
|
+
this.$$set({ lastplayedlimit: t }), E();
|
|
5022
|
+
}
|
|
5023
|
+
get casinomygames() {
|
|
5024
|
+
return this.$$.ctx[16];
|
|
5025
|
+
}
|
|
5026
|
+
set casinomygames(t) {
|
|
5027
|
+
this.$$set({ casinomygames: t }), E();
|
|
5028
|
+
}
|
|
5029
|
+
get lastplayedunique() {
|
|
5030
|
+
return this.$$.ctx[25];
|
|
5031
|
+
}
|
|
5032
|
+
set lastplayedunique(t) {
|
|
5033
|
+
this.$$set({ lastplayedunique: t }), E();
|
|
5034
|
+
}
|
|
5035
|
+
get fetchviaevent() {
|
|
5036
|
+
return this.$$.ctx[17];
|
|
5037
|
+
}
|
|
5038
|
+
set fetchviaevent(t) {
|
|
5039
|
+
this.$$set({ fetchviaevent: t }), E();
|
|
5040
|
+
}
|
|
5041
|
+
get mbsource() {
|
|
5042
|
+
return this.$$.ctx[18];
|
|
5043
|
+
}
|
|
5044
|
+
set mbsource(t) {
|
|
5045
|
+
this.$$set({ mbsource: t }), E();
|
|
5061
5046
|
}
|
|
5062
5047
|
}
|
|
5063
|
-
|
|
5064
|
-
const
|
|
5048
|
+
nn(Hr, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, gamepagemodalurl: {}, showgamename: {}, visiblegames: {}, favorites: {}, lastplayedperiod: {}, lastplayedorder: {}, lastplayedlimit: {}, casinomygames: {}, lastplayedunique: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
5049
|
+
const Us = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
5065
5050
|
__proto__: null,
|
|
5066
|
-
default:
|
|
5051
|
+
default: Hr
|
|
5067
5052
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
5068
5053
|
export {
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
|
|
5084
|
-
|
|
5085
|
-
|
|
5086
|
-
|
|
5087
|
-
|
|
5088
|
-
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
|
|
5098
|
-
|
|
5099
|
-
|
|
5100
|
-
|
|
5101
|
-
|
|
5102
|
-
|
|
5103
|
-
|
|
5104
|
-
|
|
5105
|
-
|
|
5106
|
-
|
|
5107
|
-
|
|
5108
|
-
|
|
5109
|
-
|
|
5110
|
-
|
|
5054
|
+
se as $,
|
|
5055
|
+
ws as A,
|
|
5056
|
+
Ps as B,
|
|
5057
|
+
Xr as C,
|
|
5058
|
+
cs as D,
|
|
5059
|
+
fs as E,
|
|
5060
|
+
ms as F,
|
|
5061
|
+
nn as G,
|
|
5062
|
+
us as H,
|
|
5063
|
+
Ss as I,
|
|
5064
|
+
Bs as J,
|
|
5065
|
+
Os as K,
|
|
5066
|
+
Cs as L,
|
|
5067
|
+
pe as M,
|
|
5068
|
+
re as N,
|
|
5069
|
+
As as O,
|
|
5070
|
+
Us as P,
|
|
5071
|
+
sn as S,
|
|
5072
|
+
Er as a,
|
|
5073
|
+
jr as b,
|
|
5074
|
+
me as c,
|
|
5075
|
+
ne as d,
|
|
5076
|
+
X as e,
|
|
5077
|
+
E as f,
|
|
5078
|
+
he as g,
|
|
5079
|
+
Fr as h,
|
|
5080
|
+
rn as i,
|
|
5081
|
+
qr as j,
|
|
5082
|
+
je as k,
|
|
5083
|
+
Hs as l,
|
|
5084
|
+
at as m,
|
|
5085
|
+
G as n,
|
|
5086
|
+
Ls as o,
|
|
5087
|
+
Rs as p,
|
|
5088
|
+
Ts as q,
|
|
5089
|
+
hs as r,
|
|
5090
|
+
kt as s,
|
|
5091
|
+
ls as t,
|
|
5092
|
+
zr as u,
|
|
5093
|
+
ut as v,
|
|
5094
|
+
Ns as w,
|
|
5095
|
+
Ms as x,
|
|
5096
|
+
p as y,
|
|
5097
|
+
Is as z
|
|
5111
5098
|
};
|