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