@everymatrix/casino-my-games-nd 1.77.19 → 1.77.20
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/CasinoFavoritesSectionNd-BVC1650M.cjs +16 -0
- package/components/{CasinoFavoritesSectionNd-yL7bG7cr.js → CasinoFavoritesSectionNd-BW053lHx.js} +1159 -1129
- package/components/{CasinoFavoritesSectionNd-CIaQmLaZ.js → CasinoFavoritesSectionNd-nG2ynMJJ.js} +1123 -1093
- package/components/{CasinoFilter-Do8RpGVV.js → CasinoFilter-BNyX6f2y.js} +157 -225
- package/components/CasinoFilter-D_bF3IJE.cjs +3 -0
- package/components/{CasinoFilter-C9-vbAdr.js → CasinoFilter-Dj714vut.js} +239 -309
- package/components/{CasinoGameThumbnailNd-Bfc5gihp.js → CasinoGameThumbnailNd-CWjsIAeY.js} +3 -3
- package/components/{CasinoGameThumbnailNd-aSAssa6M.cjs → CasinoGameThumbnailNd-Dd3kp87R.cjs} +1 -1
- package/components/{CasinoGameThumbnailNd-CIzMLSSe.js → CasinoGameThumbnailNd-o2OCgL48.js} +3 -3
- package/components/{CasinoGamesCategorySectionNd-Dc_wSU_N.js → CasinoGamesCategorySectionNd-BpWe-6bs.js} +60 -60
- package/components/{CasinoGamesCategorySectionNd-ByRcEXhY.js → CasinoGamesCategorySectionNd-CLedgRK9.js} +127 -127
- package/components/{CasinoGamesCategorySectionNd-DTFGyINc.cjs → CasinoGamesCategorySectionNd-upR5fOZe.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-EqZB4qaX.cjs → CasinoLastPlayedSectionNd-5jzzfUzp.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-1sY6IwWp.js → CasinoLastPlayedSectionNd-BJ4ENstr.js} +36 -36
- package/components/{CasinoLastPlayedSectionNd-CeP6reIP.js → CasinoLastPlayedSectionNd-C6RqMd30.js} +36 -36
- package/components/{CasinoMostPlayedSectionNd-CYQhxyW8.js → CasinoMostPlayedSectionNd-BSTtmAYL.js} +26 -26
- package/components/{CasinoMostPlayedSectionNd-BJup9vMb.js → CasinoMostPlayedSectionNd-DDcuJkEU.js} +26 -26
- package/components/{CasinoMostPlayedSectionNd-B6Oa9omn.cjs → CasinoMostPlayedSectionNd-se3ZyDIi.cjs} +1 -1
- package/components/{CasinoMyGamesNd-Dzi-kA2k.js → CasinoMyGamesNd-CsLusGyl.js} +21 -21
- package/components/{CasinoMyGamesNd-CT2PNyPj.cjs → CasinoMyGamesNd-D_u-w13U.cjs} +1 -1
- package/components/{CasinoMyGamesNd-CYQuetAd.js → CasinoMyGamesNd-LmN1UL9A.js} +23 -23
- package/components/{CasinoSort-Cij3MZNh.js → CasinoSort-CE2_DwIO.js} +13 -13
- package/components/{CasinoSort-C1FHS127.js → CasinoSort-DG_n7paF.js} +13 -13
- package/components/{CasinoSort-CzuM3yRC.cjs → CasinoSort-DTc5vM44.cjs} +1 -1
- package/es2015/casino-my-games-nd.cjs +1 -1
- package/es2015/casino-my-games-nd.js +1 -1
- package/esnext/casino-my-games-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-B0NIExnR.js} +2 -2
- package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-D6HPqRtr.js} +2 -2
- package/stencil/index-97d17652-DNpK20ur.cjs +1 -0
- package/stencil/{ui-image-CHeV8e9p.js → ui-image-BY8ZO6br.js} +1 -1
- package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-DJSOH8ZL.cjs} +1 -1
- package/stencil/{ui-image-C7s6Uvn5.js → ui-image-DfVgiF6v.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-BXmf73Ou.js} +1 -1
- package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-DaWM2RbJ.cjs} +1 -1
- package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-c0NIgcTj.js} +1 -1
- package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Cdo33umq.cjs} +1 -1
- package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-DbQ7SENq.js} +2 -2
- package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-L-CYescb.js} +2 -2
- package/components/CasinoFavoritesSectionNd-BXf5dIxF.cjs +0 -3
- package/components/CasinoFilter-C0HjHa4h.cjs +0 -16
- package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
package/components/{CasinoFavoritesSectionNd-yL7bG7cr.js → CasinoFavoritesSectionNd-BW053lHx.js}
RENAMED
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var
|
|
10
|
-
|
|
1
|
+
var Gt = Object.defineProperty, Ft = Object.defineProperties;
|
|
2
|
+
var jt = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Fe = Object.getOwnPropertySymbols;
|
|
4
|
+
var kt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var pe = (e, t, n) => t in e ? Gt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, je = (e, t) => {
|
|
6
|
+
for (var n in t || (t = {}))
|
|
7
|
+
kt.call(t, n) && pe(e, n, t[n]);
|
|
8
|
+
if (Fe)
|
|
9
|
+
for (var n of Fe(t))
|
|
10
|
+
Vt.call(t, n) && pe(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var B = (e, t,
|
|
14
|
-
var
|
|
12
|
+
}, ke = (e, t) => Ft(e, jt(t));
|
|
13
|
+
var B = (e, t, n) => (pe(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
14
|
+
var Ve = (e, t, n) => new Promise((r, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
u(
|
|
18
|
-
} catch (
|
|
19
|
-
i(
|
|
17
|
+
u(n.next(l));
|
|
18
|
+
} catch (o) {
|
|
19
|
+
i(o);
|
|
20
20
|
}
|
|
21
|
-
},
|
|
21
|
+
}, a = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
u(
|
|
24
|
-
} catch (
|
|
25
|
-
i(
|
|
23
|
+
u(n.throw(l));
|
|
24
|
+
} catch (o) {
|
|
25
|
+
i(o);
|
|
26
26
|
}
|
|
27
|
-
}, u = (l) => l.done ?
|
|
28
|
-
u((
|
|
27
|
+
}, u = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(s, a);
|
|
28
|
+
u((n = n.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function L() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function ot(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Xe() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function z(e) {
|
|
39
|
+
e.forEach(ot);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function $e(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function ut(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 ie;
|
|
48
|
+
function oi(e, t) {
|
|
49
|
+
return e === t ? !0 : (ie || (ie = document.createElement("a")), ie.href = t, e === ie.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Xt(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function ht(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
|
-
for (const
|
|
57
|
-
|
|
56
|
+
for (const r of t)
|
|
57
|
+
r(void 0);
|
|
58
58
|
return L;
|
|
59
59
|
}
|
|
60
|
-
const
|
|
61
|
-
return
|
|
60
|
+
const n = e.subscribe(...t);
|
|
61
|
+
return n.unsubscribe ? () => n.unsubscribe() : n;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function ui(e, t, n) {
|
|
64
|
+
e.$$.on_destroy.push(ht(t, n));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function zt(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const
|
|
71
|
-
if (!
|
|
69
|
+
function Wt(e, t, n) {
|
|
70
|
+
const r = Zt(e);
|
|
71
|
+
if (!r.getElementById(t)) {
|
|
72
72
|
const i = ne("style");
|
|
73
|
-
i.id = t, i.textContent =
|
|
73
|
+
i.id = t, i.textContent = n, Qt(r, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Zt(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,65 +83,65 @@ function qt(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function Qt(e, t) {
|
|
87
|
+
return zt(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
90
90
|
t
|
|
91
91
|
), t.sheet;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
94
|
-
e.insertBefore(t,
|
|
93
|
+
function fe(e, t, n) {
|
|
94
|
+
e.insertBefore(t, n || null);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function te(e) {
|
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
100
|
-
for (let
|
|
101
|
-
e[
|
|
99
|
+
function hi(e, t) {
|
|
100
|
+
for (let n = 0; n < e.length; n += 1)
|
|
101
|
+
e[n] && e[n].d(t);
|
|
102
102
|
}
|
|
103
103
|
function ne(e) {
|
|
104
104
|
return document.createElement(e);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function qt(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 li() {
|
|
113
|
+
return lt(" ");
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
return
|
|
115
|
+
function fi() {
|
|
116
|
+
return lt("");
|
|
117
117
|
}
|
|
118
|
-
function
|
|
119
|
-
return e.addEventListener(t,
|
|
118
|
+
function ci(e, t, n, r) {
|
|
119
|
+
return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
122
|
-
|
|
121
|
+
function Ue(e, t, n) {
|
|
122
|
+
n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
|
|
123
123
|
}
|
|
124
|
-
function g(e, t,
|
|
125
|
-
const
|
|
126
|
-
|
|
124
|
+
function g(e, t, n) {
|
|
125
|
+
const r = t.toLowerCase();
|
|
126
|
+
r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : Ue(e, t, n);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function Jt(e) {
|
|
129
129
|
return Array.from(e.childNodes);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function mi(e, t) {
|
|
132
132
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
133
133
|
t);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function gi(e, t) {
|
|
136
136
|
e.value = t == null ? "" : t;
|
|
137
137
|
}
|
|
138
|
-
function
|
|
139
|
-
|
|
138
|
+
function di(e, t, n, r) {
|
|
139
|
+
n == null ? e.style.removeProperty(t) : e.style.setProperty(t, n, "");
|
|
140
140
|
}
|
|
141
|
-
function
|
|
142
|
-
e.classList.toggle(t, !!
|
|
141
|
+
function bi(e, t, n) {
|
|
142
|
+
e.classList.toggle(t, !!n);
|
|
143
143
|
}
|
|
144
|
-
class
|
|
144
|
+
class pi {
|
|
145
145
|
constructor(t = !1) {
|
|
146
146
|
/**
|
|
147
147
|
* @private
|
|
@@ -171,17 +171,17 @@ class Ei {
|
|
|
171
171
|
* @param {HTMLElement | SVGElement} anchor
|
|
172
172
|
* @returns {void}
|
|
173
173
|
*/
|
|
174
|
-
m(t,
|
|
175
|
-
this.e || (this.is_svg ? this.e =
|
|
174
|
+
m(t, n, r = null) {
|
|
175
|
+
this.e || (this.is_svg ? this.e = qt(
|
|
176
176
|
/** @type {keyof SVGElementTagNameMap} */
|
|
177
|
-
|
|
177
|
+
n.nodeName
|
|
178
178
|
) : this.e = ne(
|
|
179
179
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
180
|
-
|
|
181
|
-
), this.t =
|
|
180
|
+
n.nodeType === 11 ? "TEMPLATE" : n.nodeName
|
|
181
|
+
), this.t = n.tagName !== "TEMPLATE" ? n : (
|
|
182
182
|
/** @type {HTMLTemplateElement} */
|
|
183
|
-
|
|
184
|
-
), this.c(t)), this.i(
|
|
183
|
+
n.content
|
|
184
|
+
), this.c(t)), this.i(r);
|
|
185
185
|
}
|
|
186
186
|
/**
|
|
187
187
|
* @param {string} html
|
|
@@ -195,8 +195,8 @@ class Ei {
|
|
|
195
195
|
/**
|
|
196
196
|
* @returns {void} */
|
|
197
197
|
i(t) {
|
|
198
|
-
for (let
|
|
199
|
-
|
|
198
|
+
for (let n = 0; n < this.n.length; n += 1)
|
|
199
|
+
fe(this.t, this.n[n], t);
|
|
200
200
|
}
|
|
201
201
|
/**
|
|
202
202
|
* @param {string} html
|
|
@@ -208,146 +208,146 @@ class Ei {
|
|
|
208
208
|
/**
|
|
209
209
|
* @returns {void} */
|
|
210
210
|
d() {
|
|
211
|
-
this.n.forEach(
|
|
211
|
+
this.n.forEach(te);
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Yt(e) {
|
|
215
215
|
const t = {};
|
|
216
216
|
return e.childNodes.forEach(
|
|
217
217
|
/** @param {Element} node */
|
|
218
|
-
(
|
|
219
|
-
t[
|
|
218
|
+
(n) => {
|
|
219
|
+
t[n.slot || "default"] = !0;
|
|
220
220
|
}
|
|
221
221
|
), t;
|
|
222
222
|
}
|
|
223
|
-
let
|
|
224
|
-
function
|
|
225
|
-
|
|
223
|
+
let Y;
|
|
224
|
+
function J(e) {
|
|
225
|
+
Y = e;
|
|
226
226
|
}
|
|
227
|
-
function
|
|
228
|
-
if (!
|
|
227
|
+
function ft() {
|
|
228
|
+
if (!Y)
|
|
229
229
|
throw new Error("Function called outside component initialization");
|
|
230
|
-
return
|
|
230
|
+
return Y;
|
|
231
231
|
}
|
|
232
|
-
function
|
|
233
|
-
|
|
232
|
+
function Kt(e) {
|
|
233
|
+
ft().$$.on_mount.push(e);
|
|
234
234
|
}
|
|
235
|
-
function
|
|
236
|
-
|
|
235
|
+
function yi(e) {
|
|
236
|
+
ft().$$.on_destroy.push(e);
|
|
237
237
|
}
|
|
238
|
-
const
|
|
239
|
-
let
|
|
240
|
-
const
|
|
241
|
-
let
|
|
242
|
-
function
|
|
243
|
-
|
|
238
|
+
const G = [], Se = [];
|
|
239
|
+
let F = [];
|
|
240
|
+
const ze = [], ct = /* @__PURE__ */ Promise.resolve();
|
|
241
|
+
let Be = !1;
|
|
242
|
+
function mt() {
|
|
243
|
+
Be || (Be = !0, ct.then(H));
|
|
244
244
|
}
|
|
245
|
-
function
|
|
246
|
-
return
|
|
245
|
+
function Ei() {
|
|
246
|
+
return mt(), ct;
|
|
247
247
|
}
|
|
248
|
-
function
|
|
249
|
-
|
|
248
|
+
function Ae(e) {
|
|
249
|
+
F.push(e);
|
|
250
250
|
}
|
|
251
|
-
const
|
|
252
|
-
let
|
|
251
|
+
const ye = /* @__PURE__ */ new Set();
|
|
252
|
+
let U = 0;
|
|
253
253
|
function H() {
|
|
254
|
-
if (
|
|
254
|
+
if (U !== 0)
|
|
255
255
|
return;
|
|
256
|
-
const e =
|
|
256
|
+
const e = Y;
|
|
257
257
|
do {
|
|
258
258
|
try {
|
|
259
|
-
for (;
|
|
260
|
-
const t =
|
|
261
|
-
|
|
259
|
+
for (; U < G.length; ) {
|
|
260
|
+
const t = G[U];
|
|
261
|
+
U++, J(t), en(t.$$);
|
|
262
262
|
}
|
|
263
263
|
} catch (t) {
|
|
264
|
-
throw
|
|
264
|
+
throw G.length = 0, U = 0, t;
|
|
265
265
|
}
|
|
266
|
-
for (
|
|
267
|
-
|
|
268
|
-
for (let t = 0; t <
|
|
269
|
-
const
|
|
270
|
-
|
|
266
|
+
for (J(null), G.length = 0, U = 0; Se.length; )
|
|
267
|
+
Se.pop()();
|
|
268
|
+
for (let t = 0; t < F.length; t += 1) {
|
|
269
|
+
const n = F[t];
|
|
270
|
+
ye.has(n) || (ye.add(n), n());
|
|
271
271
|
}
|
|
272
|
-
|
|
273
|
-
} while (
|
|
274
|
-
for (;
|
|
275
|
-
|
|
276
|
-
|
|
272
|
+
F.length = 0;
|
|
273
|
+
} while (G.length);
|
|
274
|
+
for (; ze.length; )
|
|
275
|
+
ze.pop()();
|
|
276
|
+
Be = !1, ye.clear(), J(e);
|
|
277
277
|
}
|
|
278
|
-
function
|
|
278
|
+
function en(e) {
|
|
279
279
|
if (e.fragment !== null) {
|
|
280
|
-
e.update(),
|
|
280
|
+
e.update(), z(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(Ae);
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
|
-
function
|
|
286
|
-
const t = [],
|
|
287
|
-
|
|
285
|
+
function tn(e) {
|
|
286
|
+
const t = [], n = [];
|
|
287
|
+
F.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), F = t;
|
|
288
288
|
}
|
|
289
|
-
const
|
|
290
|
-
function
|
|
291
|
-
e && e.i && (
|
|
289
|
+
const nn = /* @__PURE__ */ new Set();
|
|
290
|
+
function gt(e, t) {
|
|
291
|
+
e && e.i && (nn.delete(e), e.i(t));
|
|
292
292
|
}
|
|
293
|
-
function
|
|
293
|
+
function vi(e) {
|
|
294
294
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
295
295
|
}
|
|
296
|
-
function
|
|
296
|
+
function _i(e, t) {
|
|
297
297
|
e.d(1), t.delete(e.key);
|
|
298
298
|
}
|
|
299
|
-
function
|
|
299
|
+
function xi(e, t, n, r, i, s, a, u, l, o, h, c) {
|
|
300
300
|
let f = e.length, b = s.length, y = f;
|
|
301
301
|
const x = {};
|
|
302
302
|
for (; y--; )
|
|
303
303
|
x[e[y].key] = y;
|
|
304
304
|
const S = [], O = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), A = [];
|
|
305
305
|
for (y = b; y--; ) {
|
|
306
|
-
const
|
|
307
|
-
let C =
|
|
308
|
-
C ? A.push(() => C.p(
|
|
306
|
+
const _ = c(i, s, y), m = n(_);
|
|
307
|
+
let C = a.get(m);
|
|
308
|
+
C ? A.push(() => C.p(_, t)) : (C = o(m, _), C.c()), O.set(m, S[y] = C), m in x && P.set(m, Math.abs(y - x[m]));
|
|
309
309
|
}
|
|
310
310
|
const I = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
|
|
311
|
-
function T(
|
|
312
|
-
|
|
311
|
+
function T(_) {
|
|
312
|
+
gt(_, 1), _.m(u, h), a.set(_.key, _), h = _.first, b--;
|
|
313
313
|
}
|
|
314
314
|
for (; f && b; ) {
|
|
315
|
-
const
|
|
316
|
-
|
|
315
|
+
const _ = S[b - 1], m = e[f - 1], C = _.key, re = m.key;
|
|
316
|
+
_ === m ? (h = _.first, f--, b--) : O.has(re) ? !a.has(C) || I.has(C) ? T(_) : N.has(re) ? f-- : P.get(C) > P.get(re) ? (N.add(C), T(_)) : (I.add(re), f--) : (l(m, a), f--);
|
|
317
317
|
}
|
|
318
318
|
for (; f--; ) {
|
|
319
|
-
const
|
|
320
|
-
O.has(
|
|
319
|
+
const _ = e[f];
|
|
320
|
+
O.has(_.key) || l(_, a);
|
|
321
321
|
}
|
|
322
322
|
for (; b; )
|
|
323
323
|
T(S[b - 1]);
|
|
324
|
-
return
|
|
325
|
-
}
|
|
326
|
-
function
|
|
327
|
-
const { fragment:
|
|
328
|
-
|
|
329
|
-
const s = e.$$.on_mount.map(
|
|
330
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
331
|
-
}), i.forEach(
|
|
332
|
-
}
|
|
333
|
-
function
|
|
334
|
-
const
|
|
335
|
-
|
|
336
|
-
}
|
|
337
|
-
function
|
|
338
|
-
e.$$.dirty[0] === -1 && (
|
|
339
|
-
}
|
|
340
|
-
function
|
|
341
|
-
const l =
|
|
342
|
-
|
|
343
|
-
const
|
|
324
|
+
return z(A), S;
|
|
325
|
+
}
|
|
326
|
+
function rn(e, t, n) {
|
|
327
|
+
const { fragment: r, after_update: i } = e.$$;
|
|
328
|
+
r && r.m(t, n), Ae(() => {
|
|
329
|
+
const s = e.$$.on_mount.map(ot).filter($e);
|
|
330
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
|
|
331
|
+
}), i.forEach(Ae);
|
|
332
|
+
}
|
|
333
|
+
function sn(e, t) {
|
|
334
|
+
const n = e.$$;
|
|
335
|
+
n.fragment !== null && (tn(n.after_update), z(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
|
|
336
|
+
}
|
|
337
|
+
function an(e, t) {
|
|
338
|
+
e.$$.dirty[0] === -1 && (G.push(e), mt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
339
|
+
}
|
|
340
|
+
function on(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
341
|
+
const l = Y;
|
|
342
|
+
J(e);
|
|
343
|
+
const o = e.$$ = {
|
|
344
344
|
fragment: null,
|
|
345
345
|
ctx: [],
|
|
346
346
|
// state
|
|
347
347
|
props: s,
|
|
348
348
|
update: L,
|
|
349
349
|
not_equal: i,
|
|
350
|
-
bound:
|
|
350
|
+
bound: Xe(),
|
|
351
351
|
// lifecycle
|
|
352
352
|
on_mount: [],
|
|
353
353
|
on_destroy: [],
|
|
@@ -356,29 +356,29 @@ function ur(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
356
356
|
after_update: [],
|
|
357
357
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
358
358
|
// everything else
|
|
359
|
-
callbacks:
|
|
359
|
+
callbacks: Xe(),
|
|
360
360
|
dirty: u,
|
|
361
361
|
skip_bound: !1,
|
|
362
362
|
root: t.target || l.$$.root
|
|
363
363
|
};
|
|
364
|
-
|
|
364
|
+
a && a(o.root);
|
|
365
365
|
let h = !1;
|
|
366
|
-
if (
|
|
366
|
+
if (o.ctx = n ? n(e, t.props || {}, (c, f, ...b) => {
|
|
367
367
|
const y = b.length ? b[0] : f;
|
|
368
|
-
return
|
|
369
|
-
}) : [],
|
|
368
|
+
return o.ctx && i(o.ctx[c], o.ctx[c] = y) && (!o.skip_bound && o.bound[c] && o.bound[c](y), h && an(e, c)), f;
|
|
369
|
+
}) : [], o.update(), h = !0, z(o.before_update), o.fragment = r ? r(o.ctx) : !1, t.target) {
|
|
370
370
|
if (t.hydrate) {
|
|
371
|
-
const c =
|
|
372
|
-
|
|
371
|
+
const c = Jt(t.target);
|
|
372
|
+
o.fragment && o.fragment.l(c), c.forEach(te);
|
|
373
373
|
} else
|
|
374
|
-
|
|
375
|
-
t.intro &&
|
|
374
|
+
o.fragment && o.fragment.c();
|
|
375
|
+
t.intro && gt(e.$$.fragment), rn(e, t.target, t.anchor), H();
|
|
376
376
|
}
|
|
377
|
-
|
|
377
|
+
J(l);
|
|
378
378
|
}
|
|
379
|
-
let
|
|
380
|
-
typeof HTMLElement == "function" && (
|
|
381
|
-
constructor(t,
|
|
379
|
+
let dt;
|
|
380
|
+
typeof HTMLElement == "function" && (dt = class extends HTMLElement {
|
|
381
|
+
constructor(t, n, r) {
|
|
382
382
|
super();
|
|
383
383
|
/** The Svelte component constructor */
|
|
384
384
|
B(this, "$$ctor");
|
|
@@ -398,59 +398,59 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
398
398
|
B(this, "$$l", {});
|
|
399
399
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
400
400
|
B(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
401
|
-
this.$$ctor = t, this.$$s =
|
|
401
|
+
this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
|
|
402
402
|
}
|
|
403
|
-
addEventListener(t,
|
|
404
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(
|
|
405
|
-
const i = this.$$c.$on(t,
|
|
406
|
-
this.$$l_u.set(
|
|
403
|
+
addEventListener(t, n, r) {
|
|
404
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
|
|
405
|
+
const i = this.$$c.$on(t, n);
|
|
406
|
+
this.$$l_u.set(n, i);
|
|
407
407
|
}
|
|
408
|
-
super.addEventListener(t,
|
|
408
|
+
super.addEventListener(t, n, r);
|
|
409
409
|
}
|
|
410
|
-
removeEventListener(t,
|
|
411
|
-
if (super.removeEventListener(t,
|
|
412
|
-
const i = this.$$l_u.get(
|
|
413
|
-
i && (i(), this.$$l_u.delete(
|
|
410
|
+
removeEventListener(t, n, r) {
|
|
411
|
+
if (super.removeEventListener(t, n, r), this.$$c) {
|
|
412
|
+
const i = this.$$l_u.get(n);
|
|
413
|
+
i && (i(), this.$$l_u.delete(n));
|
|
414
414
|
}
|
|
415
415
|
}
|
|
416
416
|
connectedCallback() {
|
|
417
|
-
return
|
|
417
|
+
return Ve(this, null, function* () {
|
|
418
418
|
if (this.$$cn = !0, !this.$$c) {
|
|
419
419
|
let t = function(s) {
|
|
420
420
|
return () => {
|
|
421
|
-
let
|
|
421
|
+
let a;
|
|
422
422
|
return {
|
|
423
423
|
c: function() {
|
|
424
|
-
|
|
424
|
+
a = ne("slot"), s !== "default" && Ue(a, "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(o, h) {
|
|
431
|
+
fe(o, a, h);
|
|
432
432
|
},
|
|
433
|
-
d: function(
|
|
434
|
-
|
|
433
|
+
d: function(o) {
|
|
434
|
+
o && te(a);
|
|
435
435
|
}
|
|
436
436
|
};
|
|
437
437
|
};
|
|
438
438
|
};
|
|
439
439
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
440
440
|
return;
|
|
441
|
-
const
|
|
441
|
+
const n = {}, r = Yt(this);
|
|
442
442
|
for (const s of this.$$s)
|
|
443
|
-
s in
|
|
443
|
+
s in r && (n[s] = [t(s)]);
|
|
444
444
|
for (const s of this.attributes) {
|
|
445
|
-
const
|
|
446
|
-
|
|
445
|
+
const a = this.$$g_p(s.name);
|
|
446
|
+
a in this.$$d || (this.$$d[a] = ae(a, s.value, this.$$p_d, "toProp"));
|
|
447
447
|
}
|
|
448
448
|
for (const s in this.$$p_d)
|
|
449
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:
|
|
453
|
-
$$slots:
|
|
452
|
+
props: ke(je({}, this.$$d), {
|
|
453
|
+
$$slots: n,
|
|
454
454
|
$$scope: {
|
|
455
455
|
ctx: []
|
|
456
456
|
}
|
|
@@ -460,21 +460,21 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
460
460
|
this.$$r = !0;
|
|
461
461
|
for (const s in this.$$p_d)
|
|
462
462
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
463
|
-
const
|
|
463
|
+
const a = ae(
|
|
464
464
|
s,
|
|
465
465
|
this.$$d[s],
|
|
466
466
|
this.$$p_d,
|
|
467
467
|
"toAttribute"
|
|
468
468
|
);
|
|
469
|
-
|
|
469
|
+
a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
|
|
470
470
|
}
|
|
471
471
|
this.$$r = !1;
|
|
472
472
|
};
|
|
473
473
|
this.$$c.$$.after_update.push(i), i();
|
|
474
474
|
for (const s in this.$$l)
|
|
475
|
-
for (const
|
|
476
|
-
const u = this.$$c.$on(s,
|
|
477
|
-
this.$$l_u.set(
|
|
475
|
+
for (const a of this.$$l[s]) {
|
|
476
|
+
const u = this.$$c.$on(s, a);
|
|
477
|
+
this.$$l_u.set(a, u);
|
|
478
478
|
}
|
|
479
479
|
this.$$l = {};
|
|
480
480
|
}
|
|
@@ -482,9 +482,9 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
482
482
|
}
|
|
483
483
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
484
484
|
// and setting attributes through setAttribute etc, this is helpful
|
|
485
|
-
attributeChangedCallback(t,
|
|
485
|
+
attributeChangedCallback(t, n, r) {
|
|
486
486
|
var i;
|
|
487
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t,
|
|
487
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t, r, 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(() => {
|
|
@@ -493,16 +493,16 @@ typeof HTMLElement == "function" && (pt = class extends HTMLElement {
|
|
|
493
493
|
}
|
|
494
494
|
$$g_p(t) {
|
|
495
495
|
return Object.keys(this.$$p_d).find(
|
|
496
|
-
(
|
|
496
|
+
(n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
|
|
497
497
|
) || t;
|
|
498
498
|
}
|
|
499
499
|
});
|
|
500
|
-
function ae(e, t,
|
|
500
|
+
function ae(e, t, n, r) {
|
|
501
501
|
var s;
|
|
502
|
-
const i = (s =
|
|
503
|
-
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
502
|
+
const i = (s = n[e]) == null ? void 0 : s.type;
|
|
503
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
|
|
504
504
|
return t;
|
|
505
|
-
if (
|
|
505
|
+
if (r === "toAttribute")
|
|
506
506
|
switch (i) {
|
|
507
507
|
case "Object":
|
|
508
508
|
case "Array":
|
|
@@ -527,10 +527,10 @@ function ae(e, t, r, n) {
|
|
|
527
527
|
return t;
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
function
|
|
531
|
-
let
|
|
530
|
+
function un(e, t, n, r, i, s) {
|
|
531
|
+
let a = class extends dt {
|
|
532
532
|
constructor() {
|
|
533
|
-
super(e,
|
|
533
|
+
super(e, n, i), this.$$p_d = t;
|
|
534
534
|
}
|
|
535
535
|
static get observedAttributes() {
|
|
536
536
|
return Object.keys(t).map(
|
|
@@ -539,26 +539,26 @@ function hr(e, t, r, n, i, s) {
|
|
|
539
539
|
}
|
|
540
540
|
};
|
|
541
541
|
return Object.keys(t).forEach((u) => {
|
|
542
|
-
Object.defineProperty(
|
|
542
|
+
Object.defineProperty(a.prototype, u, {
|
|
543
543
|
get() {
|
|
544
544
|
return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
|
|
545
545
|
},
|
|
546
546
|
set(l) {
|
|
547
|
-
var
|
|
548
|
-
l = ae(u, l, t), this.$$d[u] = l, (
|
|
547
|
+
var o;
|
|
548
|
+
l = ae(u, l, t), this.$$d[u] = l, (o = this.$$c) == null || o.$set({ [u]: l });
|
|
549
549
|
}
|
|
550
550
|
});
|
|
551
|
-
}),
|
|
552
|
-
Object.defineProperty(
|
|
551
|
+
}), r.forEach((u) => {
|
|
552
|
+
Object.defineProperty(a.prototype, u, {
|
|
553
553
|
get() {
|
|
554
554
|
var l;
|
|
555
555
|
return (l = this.$$c) == null ? void 0 : l[u];
|
|
556
556
|
}
|
|
557
557
|
});
|
|
558
558
|
}), e.element = /** @type {any} */
|
|
559
|
-
|
|
559
|
+
a, a;
|
|
560
560
|
}
|
|
561
|
-
class
|
|
561
|
+
class hn {
|
|
562
562
|
constructor() {
|
|
563
563
|
/**
|
|
564
564
|
* ### PRIVATE API
|
|
@@ -579,7 +579,7 @@ class lr {
|
|
|
579
579
|
}
|
|
580
580
|
/** @returns {void} */
|
|
581
581
|
$destroy() {
|
|
582
|
-
|
|
582
|
+
sn(this, 1), this.$destroy = L;
|
|
583
583
|
}
|
|
584
584
|
/**
|
|
585
585
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -587,13 +587,13 @@ class lr {
|
|
|
587
587
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
588
588
|
* @returns {() => void}
|
|
589
589
|
*/
|
|
590
|
-
$on(t,
|
|
591
|
-
if (
|
|
590
|
+
$on(t, n) {
|
|
591
|
+
if (!$e(n))
|
|
592
592
|
return L;
|
|
593
|
-
const
|
|
594
|
-
return
|
|
595
|
-
const i =
|
|
596
|
-
i !== -1 &&
|
|
593
|
+
const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
594
|
+
return r.push(n), () => {
|
|
595
|
+
const i = r.indexOf(n);
|
|
596
|
+
i !== -1 && r.splice(i, 1);
|
|
597
597
|
};
|
|
598
598
|
}
|
|
599
599
|
/**
|
|
@@ -601,63 +601,151 @@ class lr {
|
|
|
601
601
|
* @returns {void}
|
|
602
602
|
*/
|
|
603
603
|
$set(t) {
|
|
604
|
-
this.$$set && !
|
|
604
|
+
this.$$set && !Xt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
605
|
+
}
|
|
606
|
+
}
|
|
607
|
+
const ln = "4";
|
|
608
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ln);
|
|
609
|
+
/*! *****************************************************************************
|
|
610
|
+
Copyright (c) Microsoft Corporation.
|
|
611
|
+
|
|
612
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
613
|
+
purpose with or without fee is hereby granted.
|
|
614
|
+
|
|
615
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
616
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
617
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
618
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
619
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
620
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
621
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
622
|
+
***************************************************************************** */
|
|
623
|
+
var we = function(e, t) {
|
|
624
|
+
return we = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
625
|
+
n.__proto__ = r;
|
|
626
|
+
} || function(n, r) {
|
|
627
|
+
for (var i in r)
|
|
628
|
+
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
629
|
+
}, we(e, t);
|
|
630
|
+
};
|
|
631
|
+
function ce(e, t) {
|
|
632
|
+
if (typeof t != "function" && t !== null)
|
|
633
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
634
|
+
we(e, t);
|
|
635
|
+
function n() {
|
|
636
|
+
this.constructor = e;
|
|
637
|
+
}
|
|
638
|
+
e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
|
|
639
|
+
}
|
|
640
|
+
var E = function() {
|
|
641
|
+
return E = Object.assign || function(t) {
|
|
642
|
+
for (var n, r = 1, i = arguments.length; r < i; r++) {
|
|
643
|
+
n = arguments[r];
|
|
644
|
+
for (var s in n)
|
|
645
|
+
Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
|
|
646
|
+
}
|
|
647
|
+
return t;
|
|
648
|
+
}, E.apply(this, arguments);
|
|
649
|
+
};
|
|
650
|
+
function fn(e, t) {
|
|
651
|
+
var n = {};
|
|
652
|
+
for (var r in e)
|
|
653
|
+
Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
654
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
655
|
+
for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
|
|
656
|
+
t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
|
|
657
|
+
return n;
|
|
658
|
+
}
|
|
659
|
+
function Hi(e) {
|
|
660
|
+
var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
|
|
661
|
+
if (n)
|
|
662
|
+
return n.call(e);
|
|
663
|
+
if (e && typeof e.length == "number")
|
|
664
|
+
return {
|
|
665
|
+
next: function() {
|
|
666
|
+
return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
|
|
667
|
+
}
|
|
668
|
+
};
|
|
669
|
+
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
670
|
+
}
|
|
671
|
+
function Ti(e, t) {
|
|
672
|
+
var n = typeof Symbol == "function" && e[Symbol.iterator];
|
|
673
|
+
if (!n)
|
|
674
|
+
return e;
|
|
675
|
+
var r = n.call(e), i, s = [], a;
|
|
676
|
+
try {
|
|
677
|
+
for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
|
|
678
|
+
s.push(i.value);
|
|
679
|
+
} catch (u) {
|
|
680
|
+
a = { error: u };
|
|
681
|
+
} finally {
|
|
682
|
+
try {
|
|
683
|
+
i && !i.done && (n = r.return) && n.call(r);
|
|
684
|
+
} finally {
|
|
685
|
+
if (a)
|
|
686
|
+
throw a.error;
|
|
687
|
+
}
|
|
605
688
|
}
|
|
689
|
+
return s;
|
|
606
690
|
}
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
691
|
+
function Ee(e, t, n) {
|
|
692
|
+
if (n || arguments.length === 2)
|
|
693
|
+
for (var r = 0, i = t.length, s; r < i; r++)
|
|
694
|
+
(s || !(r in t)) && (s || (s = Array.prototype.slice.call(t, 0, r)), s[r] = t[r]);
|
|
695
|
+
return e.concat(s || t);
|
|
696
|
+
}
|
|
697
|
+
const D = [];
|
|
698
|
+
function cn(e, t) {
|
|
611
699
|
return {
|
|
612
|
-
subscribe:
|
|
700
|
+
subscribe: me(e, t).subscribe
|
|
613
701
|
};
|
|
614
702
|
}
|
|
615
|
-
function
|
|
616
|
-
let
|
|
617
|
-
const
|
|
703
|
+
function me(e, t = L) {
|
|
704
|
+
let n;
|
|
705
|
+
const r = /* @__PURE__ */ new Set();
|
|
618
706
|
function i(u) {
|
|
619
|
-
if (
|
|
620
|
-
const l = !
|
|
621
|
-
for (const
|
|
622
|
-
|
|
707
|
+
if (ut(e, u) && (e = u, n)) {
|
|
708
|
+
const l = !D.length;
|
|
709
|
+
for (const o of r)
|
|
710
|
+
o[1](), D.push(o, e);
|
|
623
711
|
if (l) {
|
|
624
|
-
for (let
|
|
625
|
-
|
|
626
|
-
|
|
712
|
+
for (let o = 0; o < D.length; o += 2)
|
|
713
|
+
D[o][0](D[o + 1]);
|
|
714
|
+
D.length = 0;
|
|
627
715
|
}
|
|
628
716
|
}
|
|
629
717
|
}
|
|
630
718
|
function s(u) {
|
|
631
719
|
i(u(e));
|
|
632
720
|
}
|
|
633
|
-
function
|
|
634
|
-
const
|
|
635
|
-
return
|
|
636
|
-
|
|
721
|
+
function a(u, l = L) {
|
|
722
|
+
const o = [u, l];
|
|
723
|
+
return r.add(o), r.size === 1 && (n = t(i, s) || L), u(e), () => {
|
|
724
|
+
r.delete(o), r.size === 0 && n && (n(), n = null);
|
|
637
725
|
};
|
|
638
726
|
}
|
|
639
|
-
return { set: i, update: s, subscribe:
|
|
727
|
+
return { set: i, update: s, subscribe: a };
|
|
640
728
|
}
|
|
641
|
-
function
|
|
642
|
-
const
|
|
729
|
+
function W(e, t, n) {
|
|
730
|
+
const r = !Array.isArray(e), i = r ? [e] : e;
|
|
643
731
|
if (!i.every(Boolean))
|
|
644
732
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
645
733
|
const s = t.length < 2;
|
|
646
|
-
return
|
|
734
|
+
return cn(n, (a, u) => {
|
|
647
735
|
let l = !1;
|
|
648
|
-
const
|
|
736
|
+
const o = [];
|
|
649
737
|
let h = 0, c = L;
|
|
650
738
|
const f = () => {
|
|
651
739
|
if (h)
|
|
652
740
|
return;
|
|
653
741
|
c();
|
|
654
|
-
const y = t(
|
|
655
|
-
s ?
|
|
742
|
+
const y = t(r ? o[0] : o, a, u);
|
|
743
|
+
s ? a(y) : c = $e(y) ? y : L;
|
|
656
744
|
}, b = i.map(
|
|
657
|
-
(y, x) =>
|
|
745
|
+
(y, x) => ht(
|
|
658
746
|
y,
|
|
659
747
|
(S) => {
|
|
660
|
-
|
|
748
|
+
o[x] = S, h &= ~(1 << x), l && f();
|
|
661
749
|
},
|
|
662
750
|
() => {
|
|
663
751
|
h |= 1 << x;
|
|
@@ -665,157 +753,115 @@ function Z(e, t, r) {
|
|
|
665
753
|
)
|
|
666
754
|
);
|
|
667
755
|
return l = !0, f(), function() {
|
|
668
|
-
|
|
756
|
+
z(b), c(), l = !1;
|
|
669
757
|
};
|
|
670
758
|
});
|
|
671
759
|
}
|
|
672
|
-
function
|
|
760
|
+
function mn(e) {
|
|
673
761
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
674
762
|
}
|
|
675
|
-
var
|
|
676
|
-
return
|
|
763
|
+
var gn = function(t) {
|
|
764
|
+
return dn(t) && !bn(t);
|
|
677
765
|
};
|
|
678
|
-
function
|
|
766
|
+
function dn(e) {
|
|
679
767
|
return !!e && typeof e == "object";
|
|
680
768
|
}
|
|
681
|
-
function
|
|
769
|
+
function bn(e) {
|
|
682
770
|
var t = Object.prototype.toString.call(e);
|
|
683
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
771
|
+
return t === "[object RegExp]" || t === "[object Date]" || En(e);
|
|
684
772
|
}
|
|
685
|
-
var
|
|
686
|
-
function
|
|
687
|
-
return e.$$typeof ===
|
|
773
|
+
var pn = typeof Symbol == "function" && Symbol.for, yn = pn ? Symbol.for("react.element") : 60103;
|
|
774
|
+
function En(e) {
|
|
775
|
+
return e.$$typeof === yn;
|
|
688
776
|
}
|
|
689
|
-
function
|
|
777
|
+
function vn(e) {
|
|
690
778
|
return Array.isArray(e) ? [] : {};
|
|
691
779
|
}
|
|
692
|
-
function
|
|
693
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
780
|
+
function K(e, t) {
|
|
781
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(vn(e), e, t) : e;
|
|
694
782
|
}
|
|
695
|
-
function
|
|
696
|
-
return e.concat(t).map(function(
|
|
697
|
-
return
|
|
783
|
+
function _n(e, t, n) {
|
|
784
|
+
return e.concat(t).map(function(r) {
|
|
785
|
+
return K(r, n);
|
|
698
786
|
});
|
|
699
787
|
}
|
|
700
|
-
function
|
|
788
|
+
function xn(e, t) {
|
|
701
789
|
if (!t.customMerge)
|
|
702
|
-
return
|
|
703
|
-
var
|
|
704
|
-
return typeof
|
|
790
|
+
return j;
|
|
791
|
+
var n = t.customMerge(e);
|
|
792
|
+
return typeof n == "function" ? n : j;
|
|
705
793
|
}
|
|
706
|
-
function
|
|
794
|
+
function Hn(e) {
|
|
707
795
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
708
796
|
return Object.propertyIsEnumerable.call(e, t);
|
|
709
797
|
}) : [];
|
|
710
798
|
}
|
|
711
|
-
function
|
|
712
|
-
return Object.keys(e).concat(
|
|
799
|
+
function We(e) {
|
|
800
|
+
return Object.keys(e).concat(Hn(e));
|
|
713
801
|
}
|
|
714
|
-
function
|
|
802
|
+
function bt(e, t) {
|
|
715
803
|
try {
|
|
716
804
|
return t in e;
|
|
717
|
-
} catch (
|
|
805
|
+
} catch (n) {
|
|
718
806
|
return !1;
|
|
719
807
|
}
|
|
720
808
|
}
|
|
721
|
-
function
|
|
722
|
-
return
|
|
809
|
+
function Tn(e, t) {
|
|
810
|
+
return bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
723
811
|
}
|
|
724
|
-
function
|
|
725
|
-
var
|
|
726
|
-
return
|
|
727
|
-
|
|
728
|
-
}),
|
|
729
|
-
|
|
730
|
-
}),
|
|
731
|
-
}
|
|
732
|
-
function
|
|
733
|
-
|
|
734
|
-
var
|
|
735
|
-
return s ?
|
|
736
|
-
}
|
|
737
|
-
|
|
812
|
+
function Sn(e, t, n) {
|
|
813
|
+
var r = {};
|
|
814
|
+
return n.isMergeableObject(e) && We(e).forEach(function(i) {
|
|
815
|
+
r[i] = K(e[i], n);
|
|
816
|
+
}), We(t).forEach(function(i) {
|
|
817
|
+
Tn(e, i) || (bt(e, i) && n.isMergeableObject(t[i]) ? r[i] = xn(i, n)(e[i], t[i], n) : r[i] = K(t[i], n));
|
|
818
|
+
}), r;
|
|
819
|
+
}
|
|
820
|
+
function j(e, t, n) {
|
|
821
|
+
n = n || {}, n.arrayMerge = n.arrayMerge || _n, n.isMergeableObject = n.isMergeableObject || gn, n.cloneUnlessOtherwiseSpecified = K;
|
|
822
|
+
var r = Array.isArray(t), i = Array.isArray(e), s = r === i;
|
|
823
|
+
return s ? r ? n.arrayMerge(e, t, n) : Sn(e, t, n) : K(t, n);
|
|
824
|
+
}
|
|
825
|
+
j.all = function(t, n) {
|
|
738
826
|
if (!Array.isArray(t))
|
|
739
827
|
throw new Error("first argument should be an array");
|
|
740
|
-
return t.reduce(function(
|
|
741
|
-
return
|
|
828
|
+
return t.reduce(function(r, i) {
|
|
829
|
+
return j(r, i, n);
|
|
742
830
|
}, {});
|
|
743
831
|
};
|
|
744
|
-
var
|
|
745
|
-
const
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
r.__proto__ = n;
|
|
749
|
-
} || function(r, n) {
|
|
750
|
-
for (var i in n)
|
|
751
|
-
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
752
|
-
}, Ne(e, t);
|
|
753
|
-
};
|
|
754
|
-
function de(e, t) {
|
|
755
|
-
if (typeof t != "function" && t !== null)
|
|
756
|
-
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
757
|
-
Ne(e, t);
|
|
758
|
-
function r() {
|
|
759
|
-
this.constructor = e;
|
|
760
|
-
}
|
|
761
|
-
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
762
|
-
}
|
|
763
|
-
var M = function() {
|
|
764
|
-
return M = Object.assign || function(t) {
|
|
765
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
766
|
-
r = arguments[n];
|
|
767
|
-
for (var s in r)
|
|
768
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
769
|
-
}
|
|
770
|
-
return t;
|
|
771
|
-
}, M.apply(this, arguments);
|
|
772
|
-
};
|
|
773
|
-
function Pr(e, t) {
|
|
774
|
-
var r = {};
|
|
775
|
-
for (var n in e)
|
|
776
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
777
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
778
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
779
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
780
|
-
return r;
|
|
781
|
-
}
|
|
782
|
-
function _e(e, t, r) {
|
|
783
|
-
if (r || arguments.length === 2)
|
|
784
|
-
for (var n = 0, i = t.length, s; n < i; n++)
|
|
785
|
-
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
786
|
-
return e.concat(s || Array.prototype.slice.call(t));
|
|
787
|
-
}
|
|
788
|
-
function xe(e, t) {
|
|
789
|
-
var r = t && t.cache ? t.cache : Rr, n = t && t.serializer ? t.serializer : Cr, i = t && t.strategy ? t.strategy : Ir;
|
|
832
|
+
var Bn = j, An = Bn;
|
|
833
|
+
const wn = /* @__PURE__ */ mn(An);
|
|
834
|
+
function ve(e, t) {
|
|
835
|
+
var n = t && t.cache ? t.cache : Mn, r = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : On;
|
|
790
836
|
return i(e, {
|
|
791
|
-
cache:
|
|
792
|
-
serializer:
|
|
837
|
+
cache: n,
|
|
838
|
+
serializer: r
|
|
793
839
|
});
|
|
794
840
|
}
|
|
795
|
-
function
|
|
841
|
+
function Pn(e) {
|
|
796
842
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
797
843
|
}
|
|
798
|
-
function
|
|
799
|
-
var i =
|
|
800
|
-
return typeof s == "undefined" && (s = e.call(this,
|
|
844
|
+
function Nn(e, t, n, r) {
|
|
845
|
+
var i = Pn(r) ? r : n(r), s = t.get(i);
|
|
846
|
+
return typeof s == "undefined" && (s = e.call(this, r), t.set(i, s)), s;
|
|
801
847
|
}
|
|
802
|
-
function
|
|
803
|
-
var
|
|
804
|
-
return typeof s == "undefined" && (s = e.apply(this,
|
|
848
|
+
function pt(e, t, n) {
|
|
849
|
+
var r = Array.prototype.slice.call(arguments, 3), i = n(r), s = t.get(i);
|
|
850
|
+
return typeof s == "undefined" && (s = e.apply(this, r), t.set(i, s)), s;
|
|
805
851
|
}
|
|
806
|
-
function
|
|
807
|
-
return
|
|
852
|
+
function yt(e, t, n, r, i) {
|
|
853
|
+
return n.bind(t, e, r, i);
|
|
808
854
|
}
|
|
809
|
-
function
|
|
810
|
-
var
|
|
811
|
-
return
|
|
855
|
+
function On(e, t) {
|
|
856
|
+
var n = e.length === 1 ? Nn : pt;
|
|
857
|
+
return yt(e, this, n, t.cache.create(), t.serializer);
|
|
812
858
|
}
|
|
813
|
-
function
|
|
814
|
-
return
|
|
859
|
+
function In(e, t) {
|
|
860
|
+
return yt(e, this, pt, t.cache.create(), t.serializer);
|
|
815
861
|
}
|
|
816
|
-
var
|
|
862
|
+
var Ln = function() {
|
|
817
863
|
return JSON.stringify(arguments);
|
|
818
|
-
},
|
|
864
|
+
}, Cn = (
|
|
819
865
|
/** @class */
|
|
820
866
|
function() {
|
|
821
867
|
function e() {
|
|
@@ -823,82 +869,72 @@ var Cr = function() {
|
|
|
823
869
|
}
|
|
824
870
|
return e.prototype.get = function(t) {
|
|
825
871
|
return this.cache[t];
|
|
826
|
-
}, e.prototype.set = function(t,
|
|
827
|
-
this.cache[t] =
|
|
872
|
+
}, e.prototype.set = function(t, n) {
|
|
873
|
+
this.cache[t] = n;
|
|
828
874
|
}, e;
|
|
829
875
|
}()
|
|
830
|
-
),
|
|
876
|
+
), Mn = {
|
|
831
877
|
create: function() {
|
|
832
|
-
return new
|
|
878
|
+
return new Cn();
|
|
833
879
|
}
|
|
834
|
-
},
|
|
835
|
-
variadic:
|
|
836
|
-
},
|
|
837
|
-
return le = Object.assign || function(t) {
|
|
838
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
839
|
-
r = arguments[n];
|
|
840
|
-
for (var s in r)
|
|
841
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
842
|
-
}
|
|
843
|
-
return t;
|
|
844
|
-
}, le.apply(this, arguments);
|
|
845
|
-
};
|
|
846
|
-
var d;
|
|
880
|
+
}, _e = {
|
|
881
|
+
variadic: In
|
|
882
|
+
}, d;
|
|
847
883
|
(function(e) {
|
|
848
884
|
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";
|
|
849
885
|
})(d || (d = {}));
|
|
850
|
-
var
|
|
886
|
+
var v;
|
|
851
887
|
(function(e) {
|
|
852
888
|
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";
|
|
853
|
-
})(
|
|
854
|
-
var
|
|
889
|
+
})(v || (v = {}));
|
|
890
|
+
var k;
|
|
855
891
|
(function(e) {
|
|
856
892
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
857
|
-
})(
|
|
858
|
-
function
|
|
859
|
-
return e.type ===
|
|
893
|
+
})(k || (k = {}));
|
|
894
|
+
function Ze(e) {
|
|
895
|
+
return e.type === v.literal;
|
|
896
|
+
}
|
|
897
|
+
function Rn(e) {
|
|
898
|
+
return e.type === v.argument;
|
|
899
|
+
}
|
|
900
|
+
function Et(e) {
|
|
901
|
+
return e.type === v.number;
|
|
860
902
|
}
|
|
861
|
-
function
|
|
862
|
-
return e.type ===
|
|
903
|
+
function vt(e) {
|
|
904
|
+
return e.type === v.date;
|
|
863
905
|
}
|
|
864
906
|
function _t(e) {
|
|
865
|
-
return e.type ===
|
|
907
|
+
return e.type === v.time;
|
|
866
908
|
}
|
|
867
909
|
function xt(e) {
|
|
868
|
-
return e.type ===
|
|
910
|
+
return e.type === v.select;
|
|
869
911
|
}
|
|
870
912
|
function Ht(e) {
|
|
871
|
-
return e.type ===
|
|
913
|
+
return e.type === v.plural;
|
|
914
|
+
}
|
|
915
|
+
function $n(e) {
|
|
916
|
+
return e.type === v.pound;
|
|
872
917
|
}
|
|
873
918
|
function Tt(e) {
|
|
874
|
-
return e.type ===
|
|
919
|
+
return e.type === v.tag;
|
|
875
920
|
}
|
|
876
921
|
function St(e) {
|
|
877
|
-
return e.type ===
|
|
878
|
-
}
|
|
879
|
-
function Ur(e) {
|
|
880
|
-
return e.type === E.pound;
|
|
881
|
-
}
|
|
882
|
-
function Bt(e) {
|
|
883
|
-
return e.type === E.tag;
|
|
922
|
+
return !!(e && typeof e == "object" && e.type === k.number);
|
|
884
923
|
}
|
|
885
|
-
function
|
|
886
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
887
|
-
}
|
|
888
|
-
function Oe(e) {
|
|
889
|
-
return !!(e && typeof e == "object" && e.type === V.dateTime);
|
|
924
|
+
function Pe(e) {
|
|
925
|
+
return !!(e && typeof e == "object" && e.type === k.dateTime);
|
|
890
926
|
}
|
|
891
|
-
var
|
|
892
|
-
function
|
|
927
|
+
var Bt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Un = /(?:[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;
|
|
928
|
+
function Dn(e) {
|
|
893
929
|
var t = {};
|
|
894
|
-
return e.replace(
|
|
895
|
-
var
|
|
896
|
-
switch (
|
|
930
|
+
return e.replace(Un, function(n) {
|
|
931
|
+
var r = n.length;
|
|
932
|
+
switch (n[0]) {
|
|
897
933
|
case "G":
|
|
898
|
-
t.era =
|
|
934
|
+
t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
|
|
899
935
|
break;
|
|
900
936
|
case "y":
|
|
901
|
-
t.year =
|
|
937
|
+
t.year = r === 2 ? "2-digit" : "numeric";
|
|
902
938
|
break;
|
|
903
939
|
case "Y":
|
|
904
940
|
case "u":
|
|
@@ -910,30 +946,30 @@ function Gr(e) {
|
|
|
910
946
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
911
947
|
case "M":
|
|
912
948
|
case "L":
|
|
913
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
949
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
|
|
914
950
|
break;
|
|
915
951
|
case "w":
|
|
916
952
|
case "W":
|
|
917
953
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
918
954
|
case "d":
|
|
919
|
-
t.day = ["numeric", "2-digit"][
|
|
955
|
+
t.day = ["numeric", "2-digit"][r - 1];
|
|
920
956
|
break;
|
|
921
957
|
case "D":
|
|
922
958
|
case "F":
|
|
923
959
|
case "g":
|
|
924
960
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
925
961
|
case "E":
|
|
926
|
-
t.weekday =
|
|
962
|
+
t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
|
|
927
963
|
break;
|
|
928
964
|
case "e":
|
|
929
|
-
if (
|
|
965
|
+
if (r < 4)
|
|
930
966
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
931
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
967
|
+
t.weekday = ["short", "long", "narrow", "short"][r - 4];
|
|
932
968
|
break;
|
|
933
969
|
case "c":
|
|
934
|
-
if (
|
|
970
|
+
if (r < 4)
|
|
935
971
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
936
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
972
|
+
t.weekday = ["short", "long", "narrow", "short"][r - 4];
|
|
937
973
|
break;
|
|
938
974
|
case "a":
|
|
939
975
|
t.hour12 = !0;
|
|
@@ -942,32 +978,32 @@ function Gr(e) {
|
|
|
942
978
|
case "B":
|
|
943
979
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
944
980
|
case "h":
|
|
945
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
981
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
|
|
946
982
|
break;
|
|
947
983
|
case "H":
|
|
948
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
984
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
|
|
949
985
|
break;
|
|
950
986
|
case "K":
|
|
951
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
987
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
|
|
952
988
|
break;
|
|
953
989
|
case "k":
|
|
954
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
990
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
|
|
955
991
|
break;
|
|
956
992
|
case "j":
|
|
957
993
|
case "J":
|
|
958
994
|
case "C":
|
|
959
995
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
960
996
|
case "m":
|
|
961
|
-
t.minute = ["numeric", "2-digit"][
|
|
997
|
+
t.minute = ["numeric", "2-digit"][r - 1];
|
|
962
998
|
break;
|
|
963
999
|
case "s":
|
|
964
|
-
t.second = ["numeric", "2-digit"][
|
|
1000
|
+
t.second = ["numeric", "2-digit"][r - 1];
|
|
965
1001
|
break;
|
|
966
1002
|
case "S":
|
|
967
1003
|
case "A":
|
|
968
1004
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
969
1005
|
case "z":
|
|
970
|
-
t.timeZoneName =
|
|
1006
|
+
t.timeZoneName = r < 4 ? "short" : "long";
|
|
971
1007
|
break;
|
|
972
1008
|
case "Z":
|
|
973
1009
|
case "O":
|
|
@@ -980,46 +1016,36 @@ function Gr(e) {
|
|
|
980
1016
|
return "";
|
|
981
1017
|
}), t;
|
|
982
1018
|
}
|
|
983
|
-
var
|
|
984
|
-
|
|
985
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
986
|
-
r = arguments[n];
|
|
987
|
-
for (var s in r)
|
|
988
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
989
|
-
}
|
|
990
|
-
return t;
|
|
991
|
-
}, _.apply(this, arguments);
|
|
992
|
-
};
|
|
993
|
-
var Fr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
994
|
-
function jr(e) {
|
|
1019
|
+
var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1020
|
+
function Fn(e) {
|
|
995
1021
|
if (e.length === 0)
|
|
996
1022
|
throw new Error("Number skeleton cannot be empty");
|
|
997
|
-
for (var t = e.split(
|
|
1023
|
+
for (var t = e.split(Gn).filter(function(f) {
|
|
998
1024
|
return f.length > 0;
|
|
999
|
-
}),
|
|
1000
|
-
var s = i[
|
|
1001
|
-
if (
|
|
1025
|
+
}), n = [], r = 0, i = t; r < i.length; r++) {
|
|
1026
|
+
var s = i[r], a = s.split("/");
|
|
1027
|
+
if (a.length === 0)
|
|
1002
1028
|
throw new Error("Invalid number skeleton");
|
|
1003
|
-
for (var u =
|
|
1004
|
-
var c = h[
|
|
1029
|
+
for (var u = a[0], l = a.slice(1), o = 0, h = l; o < h.length; o++) {
|
|
1030
|
+
var c = h[o];
|
|
1005
1031
|
if (c.length === 0)
|
|
1006
1032
|
throw new Error("Invalid number skeleton");
|
|
1007
1033
|
}
|
|
1008
|
-
|
|
1034
|
+
n.push({ stem: u, options: l });
|
|
1009
1035
|
}
|
|
1010
|
-
return
|
|
1036
|
+
return n;
|
|
1011
1037
|
}
|
|
1012
|
-
function
|
|
1038
|
+
function jn(e) {
|
|
1013
1039
|
return e.replace(/^(.*?)-/, "");
|
|
1014
1040
|
}
|
|
1015
|
-
var
|
|
1016
|
-
function
|
|
1041
|
+
var Qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, At = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, wt = /^(0+)$/;
|
|
1042
|
+
function qe(e) {
|
|
1017
1043
|
var t = {};
|
|
1018
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1019
|
-
return typeof i != "string" ? (t.minimumSignificantDigits =
|
|
1044
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(At, function(n, r, i) {
|
|
1045
|
+
return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
|
|
1020
1046
|
}), t;
|
|
1021
1047
|
}
|
|
1022
|
-
function
|
|
1048
|
+
function Pt(e) {
|
|
1023
1049
|
switch (e) {
|
|
1024
1050
|
case "sign-auto":
|
|
1025
1051
|
return {
|
|
@@ -1059,27 +1085,27 @@ function Ot(e) {
|
|
|
1059
1085
|
};
|
|
1060
1086
|
}
|
|
1061
1087
|
}
|
|
1062
|
-
function
|
|
1088
|
+
function Vn(e) {
|
|
1063
1089
|
var t;
|
|
1064
1090
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1065
1091
|
notation: "engineering"
|
|
1066
1092
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
1067
1093
|
notation: "scientific"
|
|
1068
1094
|
}, e = e.slice(1)), t) {
|
|
1069
|
-
var
|
|
1070
|
-
if (
|
|
1095
|
+
var n = e.slice(0, 2);
|
|
1096
|
+
if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !wt.test(e))
|
|
1071
1097
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1072
1098
|
t.minimumIntegerDigits = e.length;
|
|
1073
1099
|
}
|
|
1074
1100
|
return t;
|
|
1075
1101
|
}
|
|
1076
|
-
function
|
|
1077
|
-
var t = {},
|
|
1078
|
-
return
|
|
1102
|
+
function Je(e) {
|
|
1103
|
+
var t = {}, n = Pt(e);
|
|
1104
|
+
return n || t;
|
|
1079
1105
|
}
|
|
1080
|
-
function
|
|
1081
|
-
for (var t = {},
|
|
1082
|
-
var i = n
|
|
1106
|
+
function Xn(e) {
|
|
1107
|
+
for (var t = {}, n = 0, r = e; n < r.length; n++) {
|
|
1108
|
+
var i = r[n];
|
|
1083
1109
|
switch (i.stem) {
|
|
1084
1110
|
case "percent":
|
|
1085
1111
|
case "%":
|
|
@@ -1101,7 +1127,7 @@ function zr(e) {
|
|
|
1101
1127
|
continue;
|
|
1102
1128
|
case "measure-unit":
|
|
1103
1129
|
case "unit":
|
|
1104
|
-
t.style = "unit", t.unit =
|
|
1130
|
+
t.style = "unit", t.unit = jn(i.options[0]);
|
|
1105
1131
|
continue;
|
|
1106
1132
|
case "compact-short":
|
|
1107
1133
|
case "K":
|
|
@@ -1112,13 +1138,13 @@ function zr(e) {
|
|
|
1112
1138
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1113
1139
|
continue;
|
|
1114
1140
|
case "scientific":
|
|
1115
|
-
t =
|
|
1116
|
-
return
|
|
1141
|
+
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
|
|
1142
|
+
return E(E({}, l), Je(o));
|
|
1117
1143
|
}, {}));
|
|
1118
1144
|
continue;
|
|
1119
1145
|
case "engineering":
|
|
1120
|
-
t =
|
|
1121
|
-
return
|
|
1146
|
+
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
|
|
1147
|
+
return E(E({}, l), Je(o));
|
|
1122
1148
|
}, {}));
|
|
1123
1149
|
continue;
|
|
1124
1150
|
case "notation-simple":
|
|
@@ -1163,8 +1189,8 @@ function zr(e) {
|
|
|
1163
1189
|
case "integer-width":
|
|
1164
1190
|
if (i.options.length > 1)
|
|
1165
1191
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1166
|
-
i.options[0].replace(
|
|
1167
|
-
if (
|
|
1192
|
+
i.options[0].replace(kn, function(l, o, h, c, f, b) {
|
|
1193
|
+
if (o)
|
|
1168
1194
|
t.minimumIntegerDigits = h.length;
|
|
1169
1195
|
else {
|
|
1170
1196
|
if (c && f)
|
|
@@ -1176,32 +1202,32 @@ function zr(e) {
|
|
|
1176
1202
|
});
|
|
1177
1203
|
continue;
|
|
1178
1204
|
}
|
|
1179
|
-
if (
|
|
1205
|
+
if (wt.test(i.stem)) {
|
|
1180
1206
|
t.minimumIntegerDigits = i.stem.length;
|
|
1181
1207
|
continue;
|
|
1182
1208
|
}
|
|
1183
|
-
if (
|
|
1209
|
+
if (Qe.test(i.stem)) {
|
|
1184
1210
|
if (i.options.length > 1)
|
|
1185
1211
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1186
|
-
i.stem.replace(
|
|
1187
|
-
return h === "*" ? t.minimumFractionDigits =
|
|
1212
|
+
i.stem.replace(Qe, function(l, o, h, c, f, b) {
|
|
1213
|
+
return h === "*" ? t.minimumFractionDigits = o.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
|
|
1188
1214
|
});
|
|
1189
1215
|
var s = i.options[0];
|
|
1190
|
-
s === "w" ? t =
|
|
1216
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), qe(s)));
|
|
1191
1217
|
continue;
|
|
1192
1218
|
}
|
|
1193
|
-
if (
|
|
1194
|
-
t =
|
|
1219
|
+
if (At.test(i.stem)) {
|
|
1220
|
+
t = E(E({}, t), qe(i.stem));
|
|
1195
1221
|
continue;
|
|
1196
1222
|
}
|
|
1197
|
-
var
|
|
1198
|
-
|
|
1199
|
-
var u =
|
|
1200
|
-
u && (t =
|
|
1223
|
+
var a = Pt(i.stem);
|
|
1224
|
+
a && (t = E(E({}, t), a));
|
|
1225
|
+
var u = Vn(i.stem);
|
|
1226
|
+
u && (t = E(E({}, t), u));
|
|
1201
1227
|
}
|
|
1202
1228
|
return t;
|
|
1203
1229
|
}
|
|
1204
|
-
var
|
|
1230
|
+
var se = {
|
|
1205
1231
|
"001": [
|
|
1206
1232
|
"H",
|
|
1207
1233
|
"h"
|
|
@@ -2616,23 +2642,23 @@ var oe = {
|
|
|
2616
2642
|
"h"
|
|
2617
2643
|
]
|
|
2618
2644
|
};
|
|
2619
|
-
function
|
|
2620
|
-
for (var
|
|
2621
|
-
var i = e.charAt(
|
|
2645
|
+
function zn(e, t) {
|
|
2646
|
+
for (var n = "", r = 0; r < e.length; r++) {
|
|
2647
|
+
var i = e.charAt(r);
|
|
2622
2648
|
if (i === "j") {
|
|
2623
|
-
for (var s = 0;
|
|
2624
|
-
s++,
|
|
2625
|
-
var
|
|
2626
|
-
for ((
|
|
2627
|
-
|
|
2628
|
-
for (;
|
|
2629
|
-
|
|
2649
|
+
for (var s = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
|
|
2650
|
+
s++, r++;
|
|
2651
|
+
var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Wn(t);
|
|
2652
|
+
for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
|
|
2653
|
+
n += l;
|
|
2654
|
+
for (; a-- > 0; )
|
|
2655
|
+
n = o + n;
|
|
2630
2656
|
} else
|
|
2631
|
-
i === "J" ?
|
|
2657
|
+
i === "J" ? n += "H" : n += i;
|
|
2632
2658
|
}
|
|
2633
|
-
return
|
|
2659
|
+
return n;
|
|
2634
2660
|
}
|
|
2635
|
-
function
|
|
2661
|
+
function Wn(e) {
|
|
2636
2662
|
var t = e.hourCycle;
|
|
2637
2663
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2638
2664
|
e.hourCycles && // @ts-ignore
|
|
@@ -2649,73 +2675,73 @@ function Zr(e) {
|
|
|
2649
2675
|
default:
|
|
2650
2676
|
throw new Error("Invalid hourCycle");
|
|
2651
2677
|
}
|
|
2652
|
-
var
|
|
2653
|
-
|
|
2654
|
-
var i =
|
|
2678
|
+
var n = e.language, r;
|
|
2679
|
+
n !== "root" && (r = e.maximize().region);
|
|
2680
|
+
var i = se[r || ""] || se[n || ""] || se["".concat(n, "-001")] || se["001"];
|
|
2655
2681
|
return i[0];
|
|
2656
2682
|
}
|
|
2657
|
-
var
|
|
2683
|
+
var xe, Zn = new RegExp("^".concat(Bt.source, "*")), Qn = new RegExp("".concat(Bt.source, "*$"));
|
|
2658
2684
|
function p(e, t) {
|
|
2659
2685
|
return { start: e, end: t };
|
|
2660
2686
|
}
|
|
2661
|
-
var
|
|
2687
|
+
var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jn = !!String.fromCodePoint, Yn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, er = !!String.prototype.trimStart, tr = !!String.prototype.trimEnd, nr = !!Number.isSafeInteger, rr = nr ? Number.isSafeInteger : function(e) {
|
|
2662
2688
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2663
|
-
},
|
|
2689
|
+
}, Ne = !0;
|
|
2664
2690
|
try {
|
|
2665
|
-
var
|
|
2666
|
-
|
|
2691
|
+
var ir = Ot("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2692
|
+
Ne = ((xe = ir.exec("a")) === null || xe === void 0 ? void 0 : xe[0]) === "a";
|
|
2667
2693
|
} catch (e) {
|
|
2668
|
-
|
|
2694
|
+
Ne = !1;
|
|
2669
2695
|
}
|
|
2670
|
-
var
|
|
2696
|
+
var Ye = qn ? (
|
|
2671
2697
|
// Native
|
|
2672
|
-
function(t,
|
|
2673
|
-
return t.startsWith(
|
|
2698
|
+
function(t, n, r) {
|
|
2699
|
+
return t.startsWith(n, r);
|
|
2674
2700
|
}
|
|
2675
2701
|
) : (
|
|
2676
2702
|
// For IE11
|
|
2677
|
-
function(t,
|
|
2678
|
-
return t.slice(
|
|
2703
|
+
function(t, n, r) {
|
|
2704
|
+
return t.slice(r, r + n.length) === n;
|
|
2679
2705
|
}
|
|
2680
|
-
),
|
|
2706
|
+
), Oe = Jn ? String.fromCodePoint : (
|
|
2681
2707
|
// IE11
|
|
2682
2708
|
function() {
|
|
2683
|
-
for (var t = [],
|
|
2684
|
-
t[
|
|
2685
|
-
for (var
|
|
2686
|
-
if (
|
|
2687
|
-
throw RangeError(
|
|
2688
|
-
|
|
2709
|
+
for (var t = [], n = 0; n < arguments.length; n++)
|
|
2710
|
+
t[n] = arguments[n];
|
|
2711
|
+
for (var r = "", i = t.length, s = 0, a; i > s; ) {
|
|
2712
|
+
if (a = t[s++], a > 1114111)
|
|
2713
|
+
throw RangeError(a + " is not a valid code point");
|
|
2714
|
+
r += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
2689
2715
|
}
|
|
2690
|
-
return
|
|
2716
|
+
return r;
|
|
2691
2717
|
}
|
|
2692
|
-
),
|
|
2718
|
+
), Ke = (
|
|
2693
2719
|
// native
|
|
2694
|
-
|
|
2720
|
+
Yn ? Object.fromEntries : (
|
|
2695
2721
|
// Ponyfill
|
|
2696
2722
|
function(t) {
|
|
2697
|
-
for (var
|
|
2698
|
-
var s = i[
|
|
2699
|
-
|
|
2723
|
+
for (var n = {}, r = 0, i = t; r < i.length; r++) {
|
|
2724
|
+
var s = i[r], a = s[0], u = s[1];
|
|
2725
|
+
n[a] = u;
|
|
2700
2726
|
}
|
|
2701
|
-
return
|
|
2727
|
+
return n;
|
|
2702
2728
|
}
|
|
2703
2729
|
)
|
|
2704
|
-
),
|
|
2730
|
+
), Nt = Kn ? (
|
|
2705
2731
|
// Native
|
|
2706
|
-
function(t,
|
|
2707
|
-
return t.codePointAt(
|
|
2732
|
+
function(t, n) {
|
|
2733
|
+
return t.codePointAt(n);
|
|
2708
2734
|
}
|
|
2709
2735
|
) : (
|
|
2710
2736
|
// IE 11
|
|
2711
|
-
function(t,
|
|
2712
|
-
var
|
|
2713
|
-
if (!(
|
|
2714
|
-
var i = t.charCodeAt(
|
|
2715
|
-
return i < 55296 || i > 56319 ||
|
|
2737
|
+
function(t, n) {
|
|
2738
|
+
var r = t.length;
|
|
2739
|
+
if (!(n < 0 || n >= r)) {
|
|
2740
|
+
var i = t.charCodeAt(n), s;
|
|
2741
|
+
return i < 55296 || i > 56319 || n + 1 === r || (s = t.charCodeAt(n + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2716
2742
|
}
|
|
2717
2743
|
}
|
|
2718
|
-
),
|
|
2744
|
+
), sr = er ? (
|
|
2719
2745
|
// Native
|
|
2720
2746
|
function(t) {
|
|
2721
2747
|
return t.trimStart();
|
|
@@ -2723,9 +2749,9 @@ var et = Jr ? (
|
|
|
2723
2749
|
) : (
|
|
2724
2750
|
// Ponyfill
|
|
2725
2751
|
function(t) {
|
|
2726
|
-
return t.replace(
|
|
2752
|
+
return t.replace(Zn, "");
|
|
2727
2753
|
}
|
|
2728
|
-
),
|
|
2754
|
+
), ar = tr ? (
|
|
2729
2755
|
// Native
|
|
2730
2756
|
function(t) {
|
|
2731
2757
|
return t.trimEnd();
|
|
@@ -2733,126 +2759,126 @@ var et = Jr ? (
|
|
|
2733
2759
|
) : (
|
|
2734
2760
|
// Ponyfill
|
|
2735
2761
|
function(t) {
|
|
2736
|
-
return t.replace(
|
|
2762
|
+
return t.replace(Qn, "");
|
|
2737
2763
|
}
|
|
2738
2764
|
);
|
|
2739
|
-
function
|
|
2765
|
+
function Ot(e, t) {
|
|
2740
2766
|
return new RegExp(e, t);
|
|
2741
2767
|
}
|
|
2742
|
-
var
|
|
2743
|
-
if (
|
|
2744
|
-
var
|
|
2745
|
-
|
|
2746
|
-
var
|
|
2747
|
-
|
|
2748
|
-
var i =
|
|
2749
|
-
return (
|
|
2768
|
+
var Ie;
|
|
2769
|
+
if (Ne) {
|
|
2770
|
+
var et = Ot("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2771
|
+
Ie = function(t, n) {
|
|
2772
|
+
var r;
|
|
2773
|
+
et.lastIndex = n;
|
|
2774
|
+
var i = et.exec(t);
|
|
2775
|
+
return (r = i[1]) !== null && r !== void 0 ? r : "";
|
|
2750
2776
|
};
|
|
2751
2777
|
} else
|
|
2752
|
-
|
|
2753
|
-
for (var
|
|
2754
|
-
var i =
|
|
2755
|
-
if (i === void 0 ||
|
|
2778
|
+
Ie = function(t, n) {
|
|
2779
|
+
for (var r = []; ; ) {
|
|
2780
|
+
var i = Nt(t, n);
|
|
2781
|
+
if (i === void 0 || It(i) || lr(i))
|
|
2756
2782
|
break;
|
|
2757
|
-
|
|
2783
|
+
r.push(i), n += i >= 65536 ? 2 : 1;
|
|
2758
2784
|
}
|
|
2759
|
-
return
|
|
2785
|
+
return Oe.apply(void 0, r);
|
|
2760
2786
|
};
|
|
2761
|
-
var
|
|
2787
|
+
var or = (
|
|
2762
2788
|
/** @class */
|
|
2763
2789
|
function() {
|
|
2764
|
-
function e(t,
|
|
2765
|
-
|
|
2790
|
+
function e(t, n) {
|
|
2791
|
+
n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
|
|
2766
2792
|
}
|
|
2767
2793
|
return e.prototype.parse = function() {
|
|
2768
2794
|
if (this.offset() !== 0)
|
|
2769
2795
|
throw Error("parser can only be used once");
|
|
2770
2796
|
return this.parseMessage(0, "", !1);
|
|
2771
|
-
}, e.prototype.parseMessage = function(t,
|
|
2797
|
+
}, e.prototype.parseMessage = function(t, n, r) {
|
|
2772
2798
|
for (var i = []; !this.isEOF(); ) {
|
|
2773
2799
|
var s = this.char();
|
|
2774
2800
|
if (s === 123) {
|
|
2775
|
-
var
|
|
2776
|
-
if (
|
|
2777
|
-
return
|
|
2778
|
-
i.push(
|
|
2801
|
+
var a = this.parseArgument(t, r);
|
|
2802
|
+
if (a.err)
|
|
2803
|
+
return a;
|
|
2804
|
+
i.push(a.val);
|
|
2779
2805
|
} else {
|
|
2780
2806
|
if (s === 125 && t > 0)
|
|
2781
2807
|
break;
|
|
2782
|
-
if (s === 35 && (
|
|
2808
|
+
if (s === 35 && (n === "plural" || n === "selectordinal")) {
|
|
2783
2809
|
var u = this.clonePosition();
|
|
2784
2810
|
this.bump(), i.push({
|
|
2785
|
-
type:
|
|
2811
|
+
type: v.pound,
|
|
2786
2812
|
location: p(u, this.clonePosition())
|
|
2787
2813
|
});
|
|
2788
2814
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2789
|
-
if (
|
|
2815
|
+
if (r)
|
|
2790
2816
|
break;
|
|
2791
2817
|
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2792
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2793
|
-
var
|
|
2794
|
-
if (
|
|
2795
|
-
return
|
|
2796
|
-
i.push(
|
|
2818
|
+
} else if (s === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
|
|
2819
|
+
var a = this.parseTag(t, n);
|
|
2820
|
+
if (a.err)
|
|
2821
|
+
return a;
|
|
2822
|
+
i.push(a.val);
|
|
2797
2823
|
} else {
|
|
2798
|
-
var
|
|
2799
|
-
if (
|
|
2800
|
-
return
|
|
2801
|
-
i.push(
|
|
2824
|
+
var a = this.parseLiteral(t, n);
|
|
2825
|
+
if (a.err)
|
|
2826
|
+
return a;
|
|
2827
|
+
i.push(a.val);
|
|
2802
2828
|
}
|
|
2803
2829
|
}
|
|
2804
2830
|
}
|
|
2805
2831
|
return { val: i, err: null };
|
|
2806
|
-
}, e.prototype.parseTag = function(t,
|
|
2807
|
-
var
|
|
2832
|
+
}, e.prototype.parseTag = function(t, n) {
|
|
2833
|
+
var r = this.clonePosition();
|
|
2808
2834
|
this.bump();
|
|
2809
2835
|
var i = this.parseTagName();
|
|
2810
2836
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2811
2837
|
return {
|
|
2812
2838
|
val: {
|
|
2813
|
-
type:
|
|
2839
|
+
type: v.literal,
|
|
2814
2840
|
value: "<".concat(i, "/>"),
|
|
2815
|
-
location: p(
|
|
2841
|
+
location: p(r, this.clonePosition())
|
|
2816
2842
|
},
|
|
2817
2843
|
err: null
|
|
2818
2844
|
};
|
|
2819
2845
|
if (this.bumpIf(">")) {
|
|
2820
|
-
var s = this.parseMessage(t + 1,
|
|
2846
|
+
var s = this.parseMessage(t + 1, n, !0);
|
|
2821
2847
|
if (s.err)
|
|
2822
2848
|
return s;
|
|
2823
|
-
var
|
|
2849
|
+
var a = s.val, u = this.clonePosition();
|
|
2824
2850
|
if (this.bumpIf("</")) {
|
|
2825
|
-
if (this.isEOF() || !
|
|
2851
|
+
if (this.isEOF() || !Le(this.char()))
|
|
2826
2852
|
return this.error(d.INVALID_TAG, p(u, this.clonePosition()));
|
|
2827
|
-
var l = this.clonePosition(),
|
|
2828
|
-
return i !==
|
|
2853
|
+
var l = this.clonePosition(), o = this.parseTagName();
|
|
2854
|
+
return i !== o ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2829
2855
|
val: {
|
|
2830
|
-
type:
|
|
2856
|
+
type: v.tag,
|
|
2831
2857
|
value: i,
|
|
2832
|
-
children:
|
|
2833
|
-
location: p(
|
|
2858
|
+
children: a,
|
|
2859
|
+
location: p(r, this.clonePosition())
|
|
2834
2860
|
},
|
|
2835
2861
|
err: null
|
|
2836
2862
|
} : this.error(d.INVALID_TAG, p(u, this.clonePosition())));
|
|
2837
2863
|
} else
|
|
2838
|
-
return this.error(d.UNCLOSED_TAG, p(
|
|
2864
|
+
return this.error(d.UNCLOSED_TAG, p(r, this.clonePosition()));
|
|
2839
2865
|
} else
|
|
2840
|
-
return this.error(d.INVALID_TAG, p(
|
|
2866
|
+
return this.error(d.INVALID_TAG, p(r, this.clonePosition()));
|
|
2841
2867
|
}, e.prototype.parseTagName = function() {
|
|
2842
2868
|
var t = this.offset();
|
|
2843
|
-
for (this.bump(); !this.isEOF() &&
|
|
2869
|
+
for (this.bump(); !this.isEOF() && hr(this.char()); )
|
|
2844
2870
|
this.bump();
|
|
2845
2871
|
return this.message.slice(t, this.offset());
|
|
2846
|
-
}, e.prototype.parseLiteral = function(t,
|
|
2847
|
-
for (var
|
|
2848
|
-
var s = this.tryParseQuote(
|
|
2872
|
+
}, e.prototype.parseLiteral = function(t, n) {
|
|
2873
|
+
for (var r = this.clonePosition(), i = ""; ; ) {
|
|
2874
|
+
var s = this.tryParseQuote(n);
|
|
2849
2875
|
if (s) {
|
|
2850
2876
|
i += s;
|
|
2851
2877
|
continue;
|
|
2852
2878
|
}
|
|
2853
|
-
var
|
|
2854
|
-
if (
|
|
2855
|
-
i +=
|
|
2879
|
+
var a = this.tryParseUnquoted(t, n);
|
|
2880
|
+
if (a) {
|
|
2881
|
+
i += a;
|
|
2856
2882
|
continue;
|
|
2857
2883
|
}
|
|
2858
2884
|
var u = this.tryParseLeftAngleBracket();
|
|
@@ -2862,14 +2888,14 @@ var hn = (
|
|
|
2862
2888
|
}
|
|
2863
2889
|
break;
|
|
2864
2890
|
}
|
|
2865
|
-
var l = p(
|
|
2891
|
+
var l = p(r, this.clonePosition());
|
|
2866
2892
|
return {
|
|
2867
|
-
val: { type:
|
|
2893
|
+
val: { type: v.literal, value: i, location: l },
|
|
2868
2894
|
err: null
|
|
2869
2895
|
};
|
|
2870
2896
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2871
2897
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2872
|
-
!
|
|
2898
|
+
!ur(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2873
2899
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2874
2900
|
if (this.isEOF() || this.char() !== 39)
|
|
2875
2901
|
return null;
|
|
@@ -2889,114 +2915,114 @@ var hn = (
|
|
|
2889
2915
|
return null;
|
|
2890
2916
|
}
|
|
2891
2917
|
this.bump();
|
|
2892
|
-
var
|
|
2918
|
+
var n = [this.char()];
|
|
2893
2919
|
for (this.bump(); !this.isEOF(); ) {
|
|
2894
|
-
var
|
|
2895
|
-
if (
|
|
2920
|
+
var r = this.char();
|
|
2921
|
+
if (r === 39)
|
|
2896
2922
|
if (this.peek() === 39)
|
|
2897
|
-
|
|
2923
|
+
n.push(39), this.bump();
|
|
2898
2924
|
else {
|
|
2899
2925
|
this.bump();
|
|
2900
2926
|
break;
|
|
2901
2927
|
}
|
|
2902
2928
|
else
|
|
2903
|
-
|
|
2929
|
+
n.push(r);
|
|
2904
2930
|
this.bump();
|
|
2905
2931
|
}
|
|
2906
|
-
return
|
|
2907
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
2932
|
+
return Oe.apply(void 0, n);
|
|
2933
|
+
}, e.prototype.tryParseUnquoted = function(t, n) {
|
|
2908
2934
|
if (this.isEOF())
|
|
2909
2935
|
return null;
|
|
2910
|
-
var
|
|
2911
|
-
return
|
|
2912
|
-
}, e.prototype.parseArgument = function(t,
|
|
2913
|
-
var
|
|
2936
|
+
var r = this.char();
|
|
2937
|
+
return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), Oe(r));
|
|
2938
|
+
}, e.prototype.parseArgument = function(t, n) {
|
|
2939
|
+
var r = this.clonePosition();
|
|
2914
2940
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2915
|
-
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2941
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
|
|
2916
2942
|
if (this.char() === 125)
|
|
2917
|
-
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(
|
|
2943
|
+
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(r, this.clonePosition()));
|
|
2918
2944
|
var i = this.parseIdentifierIfPossible().value;
|
|
2919
2945
|
if (!i)
|
|
2920
|
-
return this.error(d.MALFORMED_ARGUMENT, p(
|
|
2946
|
+
return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
|
|
2921
2947
|
if (this.bumpSpace(), this.isEOF())
|
|
2922
|
-
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2948
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition()));
|
|
2923
2949
|
switch (this.char()) {
|
|
2924
2950
|
case 125:
|
|
2925
2951
|
return this.bump(), {
|
|
2926
2952
|
val: {
|
|
2927
|
-
type:
|
|
2953
|
+
type: v.argument,
|
|
2928
2954
|
// value does not include the opening and closing braces.
|
|
2929
2955
|
value: i,
|
|
2930
|
-
location: p(
|
|
2956
|
+
location: p(r, this.clonePosition())
|
|
2931
2957
|
},
|
|
2932
2958
|
err: null
|
|
2933
2959
|
};
|
|
2934
2960
|
case 44:
|
|
2935
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2961
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
|
|
2936
2962
|
default:
|
|
2937
|
-
return this.error(d.MALFORMED_ARGUMENT, p(
|
|
2963
|
+
return this.error(d.MALFORMED_ARGUMENT, p(r, this.clonePosition()));
|
|
2938
2964
|
}
|
|
2939
2965
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2940
|
-
var t = this.clonePosition(),
|
|
2966
|
+
var t = this.clonePosition(), n = this.offset(), r = Ie(this.message, n), i = n + r.length;
|
|
2941
2967
|
this.bumpTo(i);
|
|
2942
|
-
var s = this.clonePosition(),
|
|
2943
|
-
return { value:
|
|
2944
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
2945
|
-
var s,
|
|
2968
|
+
var s = this.clonePosition(), a = p(t, s);
|
|
2969
|
+
return { value: r, location: a };
|
|
2970
|
+
}, e.prototype.parseArgumentOptions = function(t, n, r, i) {
|
|
2971
|
+
var s, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2946
2972
|
switch (u) {
|
|
2947
2973
|
case "":
|
|
2948
|
-
return this.error(d.EXPECT_ARGUMENT_TYPE, p(
|
|
2974
|
+
return this.error(d.EXPECT_ARGUMENT_TYPE, p(a, l));
|
|
2949
2975
|
case "number":
|
|
2950
2976
|
case "date":
|
|
2951
2977
|
case "time": {
|
|
2952
2978
|
this.bumpSpace();
|
|
2953
|
-
var
|
|
2979
|
+
var o = null;
|
|
2954
2980
|
if (this.bumpIf(",")) {
|
|
2955
2981
|
this.bumpSpace();
|
|
2956
2982
|
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2957
2983
|
if (c.err)
|
|
2958
2984
|
return c;
|
|
2959
|
-
var f =
|
|
2985
|
+
var f = ar(c.val);
|
|
2960
2986
|
if (f.length === 0)
|
|
2961
2987
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2962
2988
|
var b = p(h, this.clonePosition());
|
|
2963
|
-
|
|
2989
|
+
o = { style: f, styleLocation: b };
|
|
2964
2990
|
}
|
|
2965
2991
|
var y = this.tryParseArgumentClose(i);
|
|
2966
2992
|
if (y.err)
|
|
2967
2993
|
return y;
|
|
2968
2994
|
var x = p(i, this.clonePosition());
|
|
2969
|
-
if (
|
|
2970
|
-
var S =
|
|
2995
|
+
if (o && Ye(o == null ? void 0 : o.style, "::", 0)) {
|
|
2996
|
+
var S = sr(o.style.slice(2));
|
|
2971
2997
|
if (u === "number") {
|
|
2972
|
-
var c = this.parseNumberSkeletonFromString(S,
|
|
2998
|
+
var c = this.parseNumberSkeletonFromString(S, o.styleLocation);
|
|
2973
2999
|
return c.err ? c : {
|
|
2974
|
-
val: { type:
|
|
3000
|
+
val: { type: v.number, value: r, location: x, style: c.val },
|
|
2975
3001
|
err: null
|
|
2976
3002
|
};
|
|
2977
3003
|
} else {
|
|
2978
3004
|
if (S.length === 0)
|
|
2979
3005
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, x);
|
|
2980
3006
|
var O = S;
|
|
2981
|
-
this.locale && (O =
|
|
3007
|
+
this.locale && (O = zn(S, this.locale));
|
|
2982
3008
|
var f = {
|
|
2983
|
-
type:
|
|
3009
|
+
type: k.dateTime,
|
|
2984
3010
|
pattern: O,
|
|
2985
|
-
location:
|
|
2986
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2987
|
-
}, P = u === "date" ?
|
|
3011
|
+
location: o.styleLocation,
|
|
3012
|
+
parsedOptions: this.shouldParseSkeletons ? Dn(O) : {}
|
|
3013
|
+
}, P = u === "date" ? v.date : v.time;
|
|
2988
3014
|
return {
|
|
2989
|
-
val: { type: P, value:
|
|
3015
|
+
val: { type: P, value: r, location: x, style: f },
|
|
2990
3016
|
err: null
|
|
2991
3017
|
};
|
|
2992
3018
|
}
|
|
2993
3019
|
}
|
|
2994
3020
|
return {
|
|
2995
3021
|
val: {
|
|
2996
|
-
type: u === "number" ?
|
|
2997
|
-
value:
|
|
3022
|
+
type: u === "number" ? v.number : u === "date" ? v.date : v.time,
|
|
3023
|
+
value: r,
|
|
2998
3024
|
location: x,
|
|
2999
|
-
style: (s =
|
|
3025
|
+
style: (s = o == null ? void 0 : o.style) !== null && s !== void 0 ? s : null
|
|
3000
3026
|
},
|
|
3001
3027
|
err: null
|
|
3002
3028
|
};
|
|
@@ -3006,7 +3032,7 @@ var hn = (
|
|
|
3006
3032
|
case "select": {
|
|
3007
3033
|
var A = this.clonePosition();
|
|
3008
3034
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3009
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(A,
|
|
3035
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(A, E({}, A)));
|
|
3010
3036
|
this.bumpSpace();
|
|
3011
3037
|
var I = this.parseIdentifierIfPossible(), N = 0;
|
|
3012
3038
|
if (u !== "select" && I.value === "offset") {
|
|
@@ -3018,42 +3044,42 @@ var hn = (
|
|
|
3018
3044
|
return c;
|
|
3019
3045
|
this.bumpSpace(), I = this.parseIdentifierIfPossible(), N = c.val;
|
|
3020
3046
|
}
|
|
3021
|
-
var T = this.tryParsePluralOrSelectOptions(t, u,
|
|
3047
|
+
var T = this.tryParsePluralOrSelectOptions(t, u, n, I);
|
|
3022
3048
|
if (T.err)
|
|
3023
3049
|
return T;
|
|
3024
3050
|
var y = this.tryParseArgumentClose(i);
|
|
3025
3051
|
if (y.err)
|
|
3026
3052
|
return y;
|
|
3027
|
-
var
|
|
3053
|
+
var _ = p(i, this.clonePosition());
|
|
3028
3054
|
return u === "select" ? {
|
|
3029
3055
|
val: {
|
|
3030
|
-
type:
|
|
3031
|
-
value:
|
|
3032
|
-
options:
|
|
3033
|
-
location:
|
|
3056
|
+
type: v.select,
|
|
3057
|
+
value: r,
|
|
3058
|
+
options: Ke(T.val),
|
|
3059
|
+
location: _
|
|
3034
3060
|
},
|
|
3035
3061
|
err: null
|
|
3036
3062
|
} : {
|
|
3037
3063
|
val: {
|
|
3038
|
-
type:
|
|
3039
|
-
value:
|
|
3040
|
-
options:
|
|
3064
|
+
type: v.plural,
|
|
3065
|
+
value: r,
|
|
3066
|
+
options: Ke(T.val),
|
|
3041
3067
|
offset: N,
|
|
3042
3068
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
3043
|
-
location:
|
|
3069
|
+
location: _
|
|
3044
3070
|
},
|
|
3045
3071
|
err: null
|
|
3046
3072
|
};
|
|
3047
3073
|
}
|
|
3048
3074
|
default:
|
|
3049
|
-
return this.error(d.INVALID_ARGUMENT_TYPE, p(
|
|
3075
|
+
return this.error(d.INVALID_ARGUMENT_TYPE, p(a, l));
|
|
3050
3076
|
}
|
|
3051
3077
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3052
3078
|
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3053
3079
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3054
|
-
for (var t = 0,
|
|
3055
|
-
var
|
|
3056
|
-
switch (
|
|
3080
|
+
for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
|
|
3081
|
+
var r = this.char();
|
|
3082
|
+
switch (r) {
|
|
3057
3083
|
case 39: {
|
|
3058
3084
|
this.bump();
|
|
3059
3085
|
var i = this.clonePosition();
|
|
@@ -3071,7 +3097,7 @@ var hn = (
|
|
|
3071
3097
|
t -= 1;
|
|
3072
3098
|
else
|
|
3073
3099
|
return {
|
|
3074
|
-
val: this.message.slice(
|
|
3100
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
3075
3101
|
err: null
|
|
3076
3102
|
};
|
|
3077
3103
|
break;
|
|
@@ -3082,70 +3108,70 @@ var hn = (
|
|
|
3082
3108
|
}
|
|
3083
3109
|
}
|
|
3084
3110
|
return {
|
|
3085
|
-
val: this.message.slice(
|
|
3111
|
+
val: this.message.slice(n.offset, this.offset()),
|
|
3086
3112
|
err: null
|
|
3087
3113
|
};
|
|
3088
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
3089
|
-
var
|
|
3114
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, n) {
|
|
3115
|
+
var r = [];
|
|
3090
3116
|
try {
|
|
3091
|
-
|
|
3117
|
+
r = Fn(t);
|
|
3092
3118
|
} catch (i) {
|
|
3093
|
-
return this.error(d.INVALID_NUMBER_SKELETON,
|
|
3119
|
+
return this.error(d.INVALID_NUMBER_SKELETON, n);
|
|
3094
3120
|
}
|
|
3095
3121
|
return {
|
|
3096
3122
|
val: {
|
|
3097
|
-
type:
|
|
3098
|
-
tokens:
|
|
3099
|
-
location:
|
|
3100
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3123
|
+
type: k.number,
|
|
3124
|
+
tokens: r,
|
|
3125
|
+
location: n,
|
|
3126
|
+
parsedOptions: this.shouldParseSkeletons ? Xn(r) : {}
|
|
3101
3127
|
},
|
|
3102
3128
|
err: null
|
|
3103
3129
|
};
|
|
3104
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
3105
|
-
for (var s,
|
|
3106
|
-
if (
|
|
3130
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
|
|
3131
|
+
for (var s, a = !1, u = [], l = /* @__PURE__ */ new Set(), o = i.value, h = i.location; ; ) {
|
|
3132
|
+
if (o.length === 0) {
|
|
3107
3133
|
var c = this.clonePosition();
|
|
3108
|
-
if (
|
|
3134
|
+
if (n !== "select" && this.bumpIf("=")) {
|
|
3109
3135
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3110
3136
|
if (f.err)
|
|
3111
3137
|
return f;
|
|
3112
|
-
h = p(c, this.clonePosition()),
|
|
3138
|
+
h = p(c, this.clonePosition()), o = this.message.slice(c.offset, this.offset());
|
|
3113
3139
|
} else
|
|
3114
3140
|
break;
|
|
3115
3141
|
}
|
|
3116
|
-
if (l.has(
|
|
3117
|
-
return this.error(
|
|
3118
|
-
|
|
3142
|
+
if (l.has(o))
|
|
3143
|
+
return this.error(n === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3144
|
+
o === "other" && (a = !0), this.bumpSpace();
|
|
3119
3145
|
var b = this.clonePosition();
|
|
3120
3146
|
if (!this.bumpIf("{"))
|
|
3121
|
-
return this.error(
|
|
3122
|
-
var y = this.parseMessage(t + 1,
|
|
3147
|
+
return this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
|
|
3148
|
+
var y = this.parseMessage(t + 1, n, r);
|
|
3123
3149
|
if (y.err)
|
|
3124
3150
|
return y;
|
|
3125
3151
|
var x = this.tryParseArgumentClose(b);
|
|
3126
3152
|
if (x.err)
|
|
3127
3153
|
return x;
|
|
3128
3154
|
u.push([
|
|
3129
|
-
|
|
3155
|
+
o,
|
|
3130
3156
|
{
|
|
3131
3157
|
value: y.val,
|
|
3132
3158
|
location: p(b, this.clonePosition())
|
|
3133
3159
|
}
|
|
3134
|
-
]), l.add(
|
|
3160
|
+
]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
|
|
3135
3161
|
}
|
|
3136
|
-
return u.length === 0 ? this.error(
|
|
3137
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
3138
|
-
var
|
|
3139
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3140
|
-
for (var s = !1,
|
|
3162
|
+
return u.length === 0 ? this.error(n === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
3163
|
+
}, e.prototype.tryParseDecimalInteger = function(t, n) {
|
|
3164
|
+
var r = 1, i = this.clonePosition();
|
|
3165
|
+
this.bumpIf("+") || this.bumpIf("-") && (r = -1);
|
|
3166
|
+
for (var s = !1, a = 0; !this.isEOF(); ) {
|
|
3141
3167
|
var u = this.char();
|
|
3142
3168
|
if (u >= 48 && u <= 57)
|
|
3143
|
-
s = !0,
|
|
3169
|
+
s = !0, a = a * 10 + (u - 48), this.bump();
|
|
3144
3170
|
else
|
|
3145
3171
|
break;
|
|
3146
3172
|
}
|
|
3147
3173
|
var l = p(i, this.clonePosition());
|
|
3148
|
-
return s ? (
|
|
3174
|
+
return s ? (a *= r, rr(a) ? { val: a, err: null } : this.error(n, l)) : this.error(t, l);
|
|
3149
3175
|
}, e.prototype.offset = function() {
|
|
3150
3176
|
return this.position.offset;
|
|
3151
3177
|
}, e.prototype.isEOF = function() {
|
|
@@ -3160,17 +3186,17 @@ var hn = (
|
|
|
3160
3186
|
var t = this.position.offset;
|
|
3161
3187
|
if (t >= this.message.length)
|
|
3162
3188
|
throw Error("out of bound");
|
|
3163
|
-
var
|
|
3164
|
-
if (
|
|
3189
|
+
var n = Nt(this.message, t);
|
|
3190
|
+
if (n === void 0)
|
|
3165
3191
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3166
|
-
return
|
|
3167
|
-
}, e.prototype.error = function(t,
|
|
3192
|
+
return n;
|
|
3193
|
+
}, e.prototype.error = function(t, n) {
|
|
3168
3194
|
return {
|
|
3169
3195
|
val: null,
|
|
3170
3196
|
err: {
|
|
3171
3197
|
kind: t,
|
|
3172
3198
|
message: this.message,
|
|
3173
|
-
location:
|
|
3199
|
+
location: n
|
|
3174
3200
|
}
|
|
3175
3201
|
};
|
|
3176
3202
|
}, e.prototype.bump = function() {
|
|
@@ -3179,191 +3205,191 @@ var hn = (
|
|
|
3179
3205
|
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);
|
|
3180
3206
|
}
|
|
3181
3207
|
}, e.prototype.bumpIf = function(t) {
|
|
3182
|
-
if (
|
|
3183
|
-
for (var
|
|
3208
|
+
if (Ye(this.message, t, this.offset())) {
|
|
3209
|
+
for (var n = 0; n < t.length; n++)
|
|
3184
3210
|
this.bump();
|
|
3185
3211
|
return !0;
|
|
3186
3212
|
}
|
|
3187
3213
|
return !1;
|
|
3188
3214
|
}, e.prototype.bumpUntil = function(t) {
|
|
3189
|
-
var
|
|
3190
|
-
return
|
|
3215
|
+
var n = this.offset(), r = this.message.indexOf(t, n);
|
|
3216
|
+
return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
|
|
3191
3217
|
}, e.prototype.bumpTo = function(t) {
|
|
3192
3218
|
if (this.offset() > t)
|
|
3193
3219
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3194
3220
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3195
|
-
var
|
|
3196
|
-
if (
|
|
3221
|
+
var n = this.offset();
|
|
3222
|
+
if (n === t)
|
|
3197
3223
|
break;
|
|
3198
|
-
if (
|
|
3224
|
+
if (n > t)
|
|
3199
3225
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3200
3226
|
if (this.bump(), this.isEOF())
|
|
3201
3227
|
break;
|
|
3202
3228
|
}
|
|
3203
3229
|
}, e.prototype.bumpSpace = function() {
|
|
3204
|
-
for (; !this.isEOF() &&
|
|
3230
|
+
for (; !this.isEOF() && It(this.char()); )
|
|
3205
3231
|
this.bump();
|
|
3206
3232
|
}, e.prototype.peek = function() {
|
|
3207
3233
|
if (this.isEOF())
|
|
3208
3234
|
return null;
|
|
3209
|
-
var t = this.char(),
|
|
3210
|
-
return
|
|
3235
|
+
var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
|
|
3236
|
+
return r != null ? r : null;
|
|
3211
3237
|
}, e;
|
|
3212
3238
|
}()
|
|
3213
3239
|
);
|
|
3214
|
-
function
|
|
3240
|
+
function Le(e) {
|
|
3215
3241
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3216
3242
|
}
|
|
3217
|
-
function
|
|
3218
|
-
return
|
|
3243
|
+
function ur(e) {
|
|
3244
|
+
return Le(e) || e === 47;
|
|
3219
3245
|
}
|
|
3220
|
-
function
|
|
3246
|
+
function hr(e) {
|
|
3221
3247
|
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;
|
|
3222
3248
|
}
|
|
3223
|
-
function
|
|
3249
|
+
function It(e) {
|
|
3224
3250
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3225
3251
|
}
|
|
3226
|
-
function
|
|
3252
|
+
function lr(e) {
|
|
3227
3253
|
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;
|
|
3228
3254
|
}
|
|
3229
|
-
function
|
|
3255
|
+
function Ce(e) {
|
|
3230
3256
|
e.forEach(function(t) {
|
|
3231
|
-
if (delete t.location,
|
|
3232
|
-
for (var
|
|
3233
|
-
delete t.options[
|
|
3257
|
+
if (delete t.location, xt(t) || Ht(t))
|
|
3258
|
+
for (var n in t.options)
|
|
3259
|
+
delete t.options[n].location, Ce(t.options[n].value);
|
|
3234
3260
|
else
|
|
3235
|
-
|
|
3261
|
+
Et(t) && St(t.style) || (vt(t) || _t(t)) && Pe(t.style) ? delete t.style.location : Tt(t) && Ce(t.children);
|
|
3236
3262
|
});
|
|
3237
3263
|
}
|
|
3238
|
-
function
|
|
3239
|
-
t === void 0 && (t = {}), t =
|
|
3240
|
-
var
|
|
3241
|
-
if (
|
|
3242
|
-
var
|
|
3243
|
-
throw
|
|
3264
|
+
function fr(e, t) {
|
|
3265
|
+
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3266
|
+
var n = new or(e, t).parse();
|
|
3267
|
+
if (n.err) {
|
|
3268
|
+
var r = SyntaxError(d[n.err.kind]);
|
|
3269
|
+
throw r.location = n.err.location, r.originalMessage = n.err.message, r;
|
|
3244
3270
|
}
|
|
3245
|
-
return t != null && t.captureLocation ||
|
|
3271
|
+
return t != null && t.captureLocation || Ce(n.val), n.val;
|
|
3246
3272
|
}
|
|
3247
|
-
var
|
|
3273
|
+
var V;
|
|
3248
3274
|
(function(e) {
|
|
3249
3275
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3250
|
-
})(
|
|
3251
|
-
var
|
|
3276
|
+
})(V || (V = {}));
|
|
3277
|
+
var ge = (
|
|
3252
3278
|
/** @class */
|
|
3253
3279
|
function(e) {
|
|
3254
|
-
|
|
3255
|
-
function t(
|
|
3256
|
-
var s = e.call(this,
|
|
3257
|
-
return s.code =
|
|
3280
|
+
ce(t, e);
|
|
3281
|
+
function t(n, r, i) {
|
|
3282
|
+
var s = e.call(this, n) || this;
|
|
3283
|
+
return s.code = r, s.originalMessage = i, s;
|
|
3258
3284
|
}
|
|
3259
3285
|
return t.prototype.toString = function() {
|
|
3260
3286
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3261
3287
|
}, t;
|
|
3262
3288
|
}(Error)
|
|
3263
|
-
),
|
|
3289
|
+
), tt = (
|
|
3264
3290
|
/** @class */
|
|
3265
3291
|
function(e) {
|
|
3266
|
-
|
|
3267
|
-
function t(
|
|
3268
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
3292
|
+
ce(t, e);
|
|
3293
|
+
function t(n, r, i, s) {
|
|
3294
|
+
return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
|
|
3269
3295
|
}
|
|
3270
3296
|
return t;
|
|
3271
|
-
}(
|
|
3272
|
-
),
|
|
3297
|
+
}(ge)
|
|
3298
|
+
), cr = (
|
|
3273
3299
|
/** @class */
|
|
3274
3300
|
function(e) {
|
|
3275
|
-
|
|
3276
|
-
function t(
|
|
3277
|
-
return e.call(this, 'Value for "'.concat(
|
|
3301
|
+
ce(t, e);
|
|
3302
|
+
function t(n, r, i) {
|
|
3303
|
+
return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), V.INVALID_VALUE, i) || this;
|
|
3278
3304
|
}
|
|
3279
3305
|
return t;
|
|
3280
|
-
}(
|
|
3281
|
-
),
|
|
3306
|
+
}(ge)
|
|
3307
|
+
), mr = (
|
|
3282
3308
|
/** @class */
|
|
3283
3309
|
function(e) {
|
|
3284
|
-
|
|
3285
|
-
function t(
|
|
3286
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
3310
|
+
ce(t, e);
|
|
3311
|
+
function t(n, r) {
|
|
3312
|
+
return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), V.MISSING_VALUE, r) || this;
|
|
3287
3313
|
}
|
|
3288
3314
|
return t;
|
|
3289
|
-
}(
|
|
3315
|
+
}(ge)
|
|
3290
3316
|
), w;
|
|
3291
3317
|
(function(e) {
|
|
3292
3318
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3293
3319
|
})(w || (w = {}));
|
|
3294
|
-
function
|
|
3295
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
3296
|
-
var
|
|
3297
|
-
return !
|
|
3320
|
+
function gr(e) {
|
|
3321
|
+
return e.length < 2 ? e : e.reduce(function(t, n) {
|
|
3322
|
+
var r = t[t.length - 1];
|
|
3323
|
+
return !r || r.type !== w.literal || n.type !== w.literal ? t.push(n) : r.value += n.value, t;
|
|
3298
3324
|
}, []);
|
|
3299
3325
|
}
|
|
3300
|
-
function
|
|
3326
|
+
function dr(e) {
|
|
3301
3327
|
return typeof e == "function";
|
|
3302
3328
|
}
|
|
3303
|
-
function
|
|
3304
|
-
if (e.length === 1 &&
|
|
3329
|
+
function oe(e, t, n, r, i, s, a) {
|
|
3330
|
+
if (e.length === 1 && Ze(e[0]))
|
|
3305
3331
|
return [
|
|
3306
3332
|
{
|
|
3307
3333
|
type: w.literal,
|
|
3308
3334
|
value: e[0].value
|
|
3309
3335
|
}
|
|
3310
3336
|
];
|
|
3311
|
-
for (var u = [], l = 0,
|
|
3312
|
-
var h =
|
|
3313
|
-
if (
|
|
3337
|
+
for (var u = [], l = 0, o = e; l < o.length; l++) {
|
|
3338
|
+
var h = o[l];
|
|
3339
|
+
if (Ze(h)) {
|
|
3314
3340
|
u.push({
|
|
3315
3341
|
type: w.literal,
|
|
3316
3342
|
value: h.value
|
|
3317
3343
|
});
|
|
3318
3344
|
continue;
|
|
3319
3345
|
}
|
|
3320
|
-
if (
|
|
3346
|
+
if ($n(h)) {
|
|
3321
3347
|
typeof s == "number" && u.push({
|
|
3322
3348
|
type: w.literal,
|
|
3323
|
-
value:
|
|
3349
|
+
value: n.getNumberFormat(t).format(s)
|
|
3324
3350
|
});
|
|
3325
3351
|
continue;
|
|
3326
3352
|
}
|
|
3327
3353
|
var c = h.value;
|
|
3328
3354
|
if (!(i && c in i))
|
|
3329
|
-
throw new
|
|
3355
|
+
throw new mr(c, a);
|
|
3330
3356
|
var f = i[c];
|
|
3331
|
-
if (
|
|
3357
|
+
if (Rn(h)) {
|
|
3332
3358
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3333
3359
|
type: typeof f == "string" ? w.literal : w.object,
|
|
3334
3360
|
value: f
|
|
3335
3361
|
});
|
|
3336
3362
|
continue;
|
|
3337
3363
|
}
|
|
3338
|
-
if (
|
|
3339
|
-
var b = typeof h.style == "string" ?
|
|
3364
|
+
if (vt(h)) {
|
|
3365
|
+
var b = typeof h.style == "string" ? r.date[h.style] : Pe(h.style) ? h.style.parsedOptions : void 0;
|
|
3340
3366
|
u.push({
|
|
3341
3367
|
type: w.literal,
|
|
3342
|
-
value:
|
|
3368
|
+
value: n.getDateTimeFormat(t, b).format(f)
|
|
3343
3369
|
});
|
|
3344
3370
|
continue;
|
|
3345
3371
|
}
|
|
3346
|
-
if (
|
|
3347
|
-
var b = typeof h.style == "string" ?
|
|
3372
|
+
if (_t(h)) {
|
|
3373
|
+
var b = typeof h.style == "string" ? r.time[h.style] : Pe(h.style) ? h.style.parsedOptions : r.time.medium;
|
|
3348
3374
|
u.push({
|
|
3349
3375
|
type: w.literal,
|
|
3350
|
-
value:
|
|
3376
|
+
value: n.getDateTimeFormat(t, b).format(f)
|
|
3351
3377
|
});
|
|
3352
3378
|
continue;
|
|
3353
3379
|
}
|
|
3354
|
-
if (
|
|
3355
|
-
var b = typeof h.style == "string" ?
|
|
3380
|
+
if (Et(h)) {
|
|
3381
|
+
var b = typeof h.style == "string" ? r.number[h.style] : St(h.style) ? h.style.parsedOptions : void 0;
|
|
3356
3382
|
b && b.scale && (f = f * (b.scale || 1)), u.push({
|
|
3357
3383
|
type: w.literal,
|
|
3358
|
-
value:
|
|
3384
|
+
value: n.getNumberFormat(t, b).format(f)
|
|
3359
3385
|
});
|
|
3360
3386
|
continue;
|
|
3361
3387
|
}
|
|
3362
|
-
if (
|
|
3388
|
+
if (Tt(h)) {
|
|
3363
3389
|
var y = h.children, x = h.value, S = i[x];
|
|
3364
|
-
if (!
|
|
3365
|
-
throw new
|
|
3366
|
-
var O =
|
|
3390
|
+
if (!dr(S))
|
|
3391
|
+
throw new cr(x, "function", a);
|
|
3392
|
+
var O = oe(y, t, n, r, i, s), P = S(O.map(function(N) {
|
|
3367
3393
|
return N.value;
|
|
3368
3394
|
}));
|
|
3369
3395
|
Array.isArray(P) || (P = [P]), u.push.apply(u, P.map(function(N) {
|
|
@@ -3373,107 +3399,107 @@ function ue(e, t, r, n, i, s, o) {
|
|
|
3373
3399
|
};
|
|
3374
3400
|
}));
|
|
3375
3401
|
}
|
|
3376
|
-
if (
|
|
3402
|
+
if (xt(h)) {
|
|
3377
3403
|
var A = h.options[f] || h.options.other;
|
|
3378
3404
|
if (!A)
|
|
3379
|
-
throw new
|
|
3380
|
-
u.push.apply(u,
|
|
3405
|
+
throw new tt(h.value, f, Object.keys(h.options), a);
|
|
3406
|
+
u.push.apply(u, oe(A.value, t, n, r, i));
|
|
3381
3407
|
continue;
|
|
3382
3408
|
}
|
|
3383
|
-
if (
|
|
3409
|
+
if (Ht(h)) {
|
|
3384
3410
|
var A = h.options["=".concat(f)];
|
|
3385
3411
|
if (!A) {
|
|
3386
3412
|
if (!Intl.PluralRules)
|
|
3387
|
-
throw new
|
|
3413
|
+
throw new ge(`Intl.PluralRules is not available in this environment.
|
|
3388
3414
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3389
|
-
`,
|
|
3390
|
-
var I =
|
|
3415
|
+
`, V.MISSING_INTL_API, a);
|
|
3416
|
+
var I = n.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3391
3417
|
A = h.options[I] || h.options.other;
|
|
3392
3418
|
}
|
|
3393
3419
|
if (!A)
|
|
3394
|
-
throw new
|
|
3395
|
-
u.push.apply(u,
|
|
3420
|
+
throw new tt(h.value, f, Object.keys(h.options), a);
|
|
3421
|
+
u.push.apply(u, oe(A.value, t, n, r, i, f - (h.offset || 0)));
|
|
3396
3422
|
continue;
|
|
3397
3423
|
}
|
|
3398
3424
|
}
|
|
3399
|
-
return
|
|
3425
|
+
return gr(u);
|
|
3400
3426
|
}
|
|
3401
|
-
function
|
|
3402
|
-
return t ?
|
|
3403
|
-
return r
|
|
3427
|
+
function br(e, t) {
|
|
3428
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
|
|
3429
|
+
return n[r] = E(E({}, e[r]), t[r] || {}), n;
|
|
3404
3430
|
}, {})) : e;
|
|
3405
3431
|
}
|
|
3406
|
-
function
|
|
3407
|
-
return t ? Object.keys(e).reduce(function(
|
|
3408
|
-
return r
|
|
3409
|
-
},
|
|
3432
|
+
function pr(e, t) {
|
|
3433
|
+
return t ? Object.keys(e).reduce(function(n, r) {
|
|
3434
|
+
return n[r] = br(e[r], t[r]), n;
|
|
3435
|
+
}, E({}, e)) : e;
|
|
3410
3436
|
}
|
|
3411
|
-
function
|
|
3437
|
+
function He(e) {
|
|
3412
3438
|
return {
|
|
3413
3439
|
create: function() {
|
|
3414
3440
|
return {
|
|
3415
3441
|
get: function(t) {
|
|
3416
3442
|
return e[t];
|
|
3417
3443
|
},
|
|
3418
|
-
set: function(t,
|
|
3419
|
-
e[t] =
|
|
3444
|
+
set: function(t, n) {
|
|
3445
|
+
e[t] = n;
|
|
3420
3446
|
}
|
|
3421
3447
|
};
|
|
3422
3448
|
}
|
|
3423
3449
|
};
|
|
3424
3450
|
}
|
|
3425
|
-
function
|
|
3451
|
+
function yr(e) {
|
|
3426
3452
|
return e === void 0 && (e = {
|
|
3427
3453
|
number: {},
|
|
3428
3454
|
dateTime: {},
|
|
3429
3455
|
pluralRules: {}
|
|
3430
3456
|
}), {
|
|
3431
|
-
getNumberFormat:
|
|
3432
|
-
for (var t,
|
|
3433
|
-
r
|
|
3434
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3457
|
+
getNumberFormat: ve(function() {
|
|
3458
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3459
|
+
n[r] = arguments[r];
|
|
3460
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], n, !1)))();
|
|
3435
3461
|
}, {
|
|
3436
|
-
cache:
|
|
3437
|
-
strategy:
|
|
3462
|
+
cache: He(e.number),
|
|
3463
|
+
strategy: _e.variadic
|
|
3438
3464
|
}),
|
|
3439
|
-
getDateTimeFormat:
|
|
3440
|
-
for (var t,
|
|
3441
|
-
r
|
|
3442
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3465
|
+
getDateTimeFormat: ve(function() {
|
|
3466
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3467
|
+
n[r] = arguments[r];
|
|
3468
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], n, !1)))();
|
|
3443
3469
|
}, {
|
|
3444
|
-
cache:
|
|
3445
|
-
strategy:
|
|
3470
|
+
cache: He(e.dateTime),
|
|
3471
|
+
strategy: _e.variadic
|
|
3446
3472
|
}),
|
|
3447
|
-
getPluralRules:
|
|
3448
|
-
for (var t,
|
|
3449
|
-
r
|
|
3450
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3473
|
+
getPluralRules: ve(function() {
|
|
3474
|
+
for (var t, n = [], r = 0; r < arguments.length; r++)
|
|
3475
|
+
n[r] = arguments[r];
|
|
3476
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], n, !1)))();
|
|
3451
3477
|
}, {
|
|
3452
|
-
cache:
|
|
3453
|
-
strategy:
|
|
3478
|
+
cache: He(e.pluralRules),
|
|
3479
|
+
strategy: _e.variadic
|
|
3454
3480
|
})
|
|
3455
3481
|
};
|
|
3456
3482
|
}
|
|
3457
|
-
var
|
|
3483
|
+
var Er = (
|
|
3458
3484
|
/** @class */
|
|
3459
3485
|
function() {
|
|
3460
|
-
function e(t,
|
|
3461
|
-
|
|
3486
|
+
function e(t, n, r, i) {
|
|
3487
|
+
n === void 0 && (n = e.defaultLocale);
|
|
3462
3488
|
var s = this;
|
|
3463
3489
|
if (this.formatterCache = {
|
|
3464
3490
|
number: {},
|
|
3465
3491
|
dateTime: {},
|
|
3466
3492
|
pluralRules: {}
|
|
3467
3493
|
}, this.format = function(l) {
|
|
3468
|
-
var
|
|
3469
|
-
if (
|
|
3470
|
-
return
|
|
3471
|
-
var h =
|
|
3494
|
+
var o = s.formatToParts(l);
|
|
3495
|
+
if (o.length === 1)
|
|
3496
|
+
return o[0].value;
|
|
3497
|
+
var h = o.reduce(function(c, f) {
|
|
3472
3498
|
return !c.length || f.type !== w.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3473
3499
|
}, []);
|
|
3474
3500
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3475
3501
|
}, this.formatToParts = function(l) {
|
|
3476
|
-
return
|
|
3502
|
+
return oe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3477
3503
|
}, this.resolvedOptions = function() {
|
|
3478
3504
|
var l;
|
|
3479
3505
|
return {
|
|
@@ -3481,18 +3507,18 @@ var _n = (
|
|
|
3481
3507
|
};
|
|
3482
3508
|
}, this.getAst = function() {
|
|
3483
3509
|
return s.ast;
|
|
3484
|
-
}, this.locales =
|
|
3510
|
+
}, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
|
|
3485
3511
|
if (this.message = t, !e.__parse)
|
|
3486
3512
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3487
|
-
var
|
|
3488
|
-
|
|
3489
|
-
var u =
|
|
3490
|
-
this.ast = e.__parse(t,
|
|
3513
|
+
var a = i || {};
|
|
3514
|
+
a.formatters;
|
|
3515
|
+
var u = fn(a, ["formatters"]);
|
|
3516
|
+
this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
|
|
3491
3517
|
} else
|
|
3492
3518
|
this.ast = t;
|
|
3493
3519
|
if (!Array.isArray(this.ast))
|
|
3494
3520
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3495
|
-
this.formats =
|
|
3521
|
+
this.formats = pr(e.formats, r), this.formatters = i && i.formatters || yr(this.formatterCache);
|
|
3496
3522
|
}
|
|
3497
3523
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3498
3524
|
get: function() {
|
|
@@ -3502,10 +3528,10 @@ var _n = (
|
|
|
3502
3528
|
configurable: !0
|
|
3503
3529
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3504
3530
|
if (typeof Intl.Locale != "undefined") {
|
|
3505
|
-
var
|
|
3506
|
-
return
|
|
3531
|
+
var n = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3532
|
+
return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3507
3533
|
}
|
|
3508
|
-
}, e.__parse =
|
|
3534
|
+
}, e.__parse = fr, e.formats = {
|
|
3509
3535
|
number: {
|
|
3510
3536
|
integer: {
|
|
3511
3537
|
maximumFractionDigits: 0
|
|
@@ -3566,113 +3592,113 @@ var _n = (
|
|
|
3566
3592
|
}, e;
|
|
3567
3593
|
}()
|
|
3568
3594
|
);
|
|
3569
|
-
function
|
|
3595
|
+
function vr(e, t) {
|
|
3570
3596
|
if (t == null)
|
|
3571
3597
|
return;
|
|
3572
3598
|
if (t in e)
|
|
3573
3599
|
return e[t];
|
|
3574
|
-
const
|
|
3575
|
-
let
|
|
3576
|
-
for (let i = 0; i <
|
|
3577
|
-
if (typeof
|
|
3600
|
+
const n = t.split(".");
|
|
3601
|
+
let r = e;
|
|
3602
|
+
for (let i = 0; i < n.length; i++)
|
|
3603
|
+
if (typeof r == "object") {
|
|
3578
3604
|
if (i > 0) {
|
|
3579
|
-
const s =
|
|
3580
|
-
if (s in
|
|
3581
|
-
|
|
3605
|
+
const s = n.slice(i, n.length).join(".");
|
|
3606
|
+
if (s in r) {
|
|
3607
|
+
r = r[s];
|
|
3582
3608
|
break;
|
|
3583
3609
|
}
|
|
3584
3610
|
}
|
|
3585
|
-
|
|
3611
|
+
r = r[n[i]];
|
|
3586
3612
|
} else
|
|
3587
|
-
|
|
3588
|
-
return
|
|
3613
|
+
r = void 0;
|
|
3614
|
+
return r;
|
|
3589
3615
|
}
|
|
3590
|
-
const
|
|
3616
|
+
const M = {}, _r = (e, t, n) => n && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = n), n), Lt = (e, t) => {
|
|
3591
3617
|
if (t == null)
|
|
3592
3618
|
return;
|
|
3593
|
-
if (t in
|
|
3594
|
-
return
|
|
3595
|
-
const
|
|
3596
|
-
for (let
|
|
3597
|
-
const i = r
|
|
3619
|
+
if (t in M && e in M[t])
|
|
3620
|
+
return M[t][e];
|
|
3621
|
+
const n = de(t);
|
|
3622
|
+
for (let r = 0; r < n.length; r++) {
|
|
3623
|
+
const i = n[r], s = Hr(i, e);
|
|
3598
3624
|
if (s)
|
|
3599
|
-
return
|
|
3625
|
+
return _r(e, t, s);
|
|
3600
3626
|
}
|
|
3601
3627
|
};
|
|
3602
|
-
let
|
|
3603
|
-
const
|
|
3604
|
-
function
|
|
3605
|
-
return
|
|
3628
|
+
let De;
|
|
3629
|
+
const Z = me({});
|
|
3630
|
+
function xr(e) {
|
|
3631
|
+
return De[e] || null;
|
|
3606
3632
|
}
|
|
3607
|
-
function
|
|
3608
|
-
return e in
|
|
3633
|
+
function Ct(e) {
|
|
3634
|
+
return e in De;
|
|
3609
3635
|
}
|
|
3610
|
-
function
|
|
3611
|
-
if (!
|
|
3636
|
+
function Hr(e, t) {
|
|
3637
|
+
if (!Ct(e))
|
|
3612
3638
|
return null;
|
|
3613
|
-
const
|
|
3614
|
-
return
|
|
3639
|
+
const n = xr(e);
|
|
3640
|
+
return vr(n, t);
|
|
3615
3641
|
}
|
|
3616
|
-
function
|
|
3642
|
+
function Tr(e) {
|
|
3617
3643
|
if (e == null)
|
|
3618
3644
|
return;
|
|
3619
|
-
const t =
|
|
3620
|
-
for (let
|
|
3621
|
-
const
|
|
3622
|
-
if (
|
|
3623
|
-
return
|
|
3645
|
+
const t = de(e);
|
|
3646
|
+
for (let n = 0; n < t.length; n++) {
|
|
3647
|
+
const r = t[n];
|
|
3648
|
+
if (Ct(r))
|
|
3649
|
+
return r;
|
|
3624
3650
|
}
|
|
3625
3651
|
}
|
|
3626
|
-
function
|
|
3627
|
-
delete
|
|
3652
|
+
function Sr(e, ...t) {
|
|
3653
|
+
delete M[e], Z.update((n) => (n[e] = wn.all([n[e] || {}, ...t]), n));
|
|
3628
3654
|
}
|
|
3629
|
-
|
|
3630
|
-
[
|
|
3655
|
+
W(
|
|
3656
|
+
[Z],
|
|
3631
3657
|
([e]) => Object.keys(e)
|
|
3632
3658
|
);
|
|
3633
|
-
|
|
3634
|
-
const
|
|
3635
|
-
function
|
|
3636
|
-
|
|
3637
|
-
}
|
|
3638
|
-
function
|
|
3639
|
-
return
|
|
3640
|
-
}
|
|
3641
|
-
function
|
|
3642
|
-
return
|
|
3643
|
-
const
|
|
3644
|
-
return [t,
|
|
3659
|
+
Z.subscribe((e) => De = e);
|
|
3660
|
+
const ue = {};
|
|
3661
|
+
function Br(e, t) {
|
|
3662
|
+
ue[e].delete(t), ue[e].size === 0 && delete ue[e];
|
|
3663
|
+
}
|
|
3664
|
+
function Mt(e) {
|
|
3665
|
+
return ue[e];
|
|
3666
|
+
}
|
|
3667
|
+
function Ar(e) {
|
|
3668
|
+
return de(e).map((t) => {
|
|
3669
|
+
const n = Mt(t);
|
|
3670
|
+
return [t, n ? [...n] : []];
|
|
3645
3671
|
}).filter(([, t]) => t.length > 0);
|
|
3646
3672
|
}
|
|
3647
|
-
function
|
|
3648
|
-
return e == null ? !1 :
|
|
3673
|
+
function Me(e) {
|
|
3674
|
+
return e == null ? !1 : de(e).some(
|
|
3649
3675
|
(t) => {
|
|
3650
|
-
var
|
|
3651
|
-
return (
|
|
3676
|
+
var n;
|
|
3677
|
+
return (n = Mt(t)) == null ? void 0 : n.size;
|
|
3652
3678
|
}
|
|
3653
3679
|
);
|
|
3654
3680
|
}
|
|
3655
|
-
function
|
|
3681
|
+
function wr(e, t) {
|
|
3656
3682
|
return Promise.all(
|
|
3657
|
-
t.map((
|
|
3658
|
-
).then((
|
|
3659
|
-
}
|
|
3660
|
-
const
|
|
3661
|
-
function
|
|
3662
|
-
if (
|
|
3663
|
-
return e in
|
|
3664
|
-
const t =
|
|
3665
|
-
return
|
|
3683
|
+
t.map((r) => (Br(e, r), r().then((i) => i.default || i)))
|
|
3684
|
+
).then((r) => Sr(e, ...r));
|
|
3685
|
+
}
|
|
3686
|
+
const q = {};
|
|
3687
|
+
function Rt(e) {
|
|
3688
|
+
if (!Me(e))
|
|
3689
|
+
return e in q ? q[e] : Promise.resolve();
|
|
3690
|
+
const t = Ar(e);
|
|
3691
|
+
return q[e] = Promise.all(
|
|
3666
3692
|
t.map(
|
|
3667
|
-
([
|
|
3693
|
+
([n, r]) => wr(n, r)
|
|
3668
3694
|
)
|
|
3669
3695
|
).then(() => {
|
|
3670
|
-
if (
|
|
3671
|
-
return
|
|
3672
|
-
delete
|
|
3673
|
-
}),
|
|
3696
|
+
if (Me(e))
|
|
3697
|
+
return Rt(e);
|
|
3698
|
+
delete q[e];
|
|
3699
|
+
}), q[e];
|
|
3674
3700
|
}
|
|
3675
|
-
const
|
|
3701
|
+
const Pr = {
|
|
3676
3702
|
number: {
|
|
3677
3703
|
scientific: { notation: "scientific" },
|
|
3678
3704
|
engineering: { notation: "engineering" },
|
|
@@ -3701,150 +3727,150 @@ const On = {
|
|
|
3701
3727
|
timeZoneName: "short"
|
|
3702
3728
|
}
|
|
3703
3729
|
}
|
|
3704
|
-
},
|
|
3730
|
+
}, Nr = {
|
|
3705
3731
|
fallbackLocale: null,
|
|
3706
3732
|
loadingDelay: 200,
|
|
3707
|
-
formats:
|
|
3733
|
+
formats: Pr,
|
|
3708
3734
|
warnOnMissingMessages: !0,
|
|
3709
3735
|
handleMissingMessage: void 0,
|
|
3710
3736
|
ignoreTag: !0
|
|
3711
|
-
},
|
|
3712
|
-
function
|
|
3713
|
-
return
|
|
3714
|
-
}
|
|
3715
|
-
const
|
|
3716
|
-
var
|
|
3717
|
-
for (var
|
|
3718
|
-
|
|
3719
|
-
if (
|
|
3720
|
-
for (var
|
|
3721
|
-
|
|
3737
|
+
}, Or = Nr;
|
|
3738
|
+
function X() {
|
|
3739
|
+
return Or;
|
|
3740
|
+
}
|
|
3741
|
+
const Te = me(!1);
|
|
3742
|
+
var Ir = Object.defineProperty, Lr = Object.defineProperties, Cr = Object.getOwnPropertyDescriptors, nt = Object.getOwnPropertySymbols, Mr = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable, rt = (e, t, n) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, $r = (e, t) => {
|
|
3743
|
+
for (var n in t || (t = {}))
|
|
3744
|
+
Mr.call(t, n) && rt(e, n, t[n]);
|
|
3745
|
+
if (nt)
|
|
3746
|
+
for (var n of nt(t))
|
|
3747
|
+
Rr.call(t, n) && rt(e, n, t[n]);
|
|
3722
3748
|
return e;
|
|
3723
|
-
},
|
|
3724
|
-
let
|
|
3725
|
-
const
|
|
3726
|
-
function
|
|
3727
|
-
return e.split("-").map((t,
|
|
3749
|
+
}, Ur = (e, t) => Lr(e, Cr(t));
|
|
3750
|
+
let Re;
|
|
3751
|
+
const he = me(null);
|
|
3752
|
+
function it(e) {
|
|
3753
|
+
return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
|
|
3728
3754
|
}
|
|
3729
|
-
function
|
|
3730
|
-
const
|
|
3731
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
3755
|
+
function de(e, t = X().fallbackLocale) {
|
|
3756
|
+
const n = it(e);
|
|
3757
|
+
return t ? [.../* @__PURE__ */ new Set([...n, ...it(t)])] : n;
|
|
3732
3758
|
}
|
|
3733
|
-
function
|
|
3734
|
-
return
|
|
3759
|
+
function $() {
|
|
3760
|
+
return Re != null ? Re : void 0;
|
|
3735
3761
|
}
|
|
3736
|
-
|
|
3737
|
-
|
|
3762
|
+
he.subscribe((e) => {
|
|
3763
|
+
Re = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3738
3764
|
});
|
|
3739
|
-
const
|
|
3740
|
-
if (e &&
|
|
3741
|
-
const { loadingDelay: t } =
|
|
3742
|
-
let
|
|
3743
|
-
return typeof window != "undefined" &&
|
|
3744
|
-
() =>
|
|
3765
|
+
const Dr = (e) => {
|
|
3766
|
+
if (e && Tr(e) && Me(e)) {
|
|
3767
|
+
const { loadingDelay: t } = X();
|
|
3768
|
+
let n;
|
|
3769
|
+
return typeof window != "undefined" && $() != null && t ? n = window.setTimeout(
|
|
3770
|
+
() => Te.set(!0),
|
|
3745
3771
|
t
|
|
3746
|
-
) :
|
|
3747
|
-
|
|
3772
|
+
) : Te.set(!0), Rt(e).then(() => {
|
|
3773
|
+
he.set(e);
|
|
3748
3774
|
}).finally(() => {
|
|
3749
|
-
clearTimeout(
|
|
3775
|
+
clearTimeout(n), Te.set(!1);
|
|
3750
3776
|
});
|
|
3751
3777
|
}
|
|
3752
|
-
return
|
|
3753
|
-
},
|
|
3754
|
-
set:
|
|
3755
|
-
}),
|
|
3778
|
+
return he.set(e);
|
|
3779
|
+
}, R = Ur($r({}, he), {
|
|
3780
|
+
set: Dr
|
|
3781
|
+
}), be = (e) => {
|
|
3756
3782
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3757
|
-
return (
|
|
3758
|
-
const i = JSON.stringify(
|
|
3759
|
-
return i in t ? t[i] : t[i] = e(
|
|
3783
|
+
return (r) => {
|
|
3784
|
+
const i = JSON.stringify(r);
|
|
3785
|
+
return i in t ? t[i] : t[i] = e(r);
|
|
3760
3786
|
};
|
|
3761
3787
|
};
|
|
3762
|
-
var
|
|
3763
|
-
for (var
|
|
3764
|
-
|
|
3765
|
-
if (
|
|
3766
|
-
for (var
|
|
3767
|
-
|
|
3788
|
+
var Gr = Object.defineProperty, le = Object.getOwnPropertySymbols, $t = Object.prototype.hasOwnProperty, Ut = Object.prototype.propertyIsEnumerable, st = (e, t, n) => t in e ? Gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ge = (e, t) => {
|
|
3789
|
+
for (var n in t || (t = {}))
|
|
3790
|
+
$t.call(t, n) && st(e, n, t[n]);
|
|
3791
|
+
if (le)
|
|
3792
|
+
for (var n of le(t))
|
|
3793
|
+
Ut.call(t, n) && st(e, n, t[n]);
|
|
3768
3794
|
return e;
|
|
3769
|
-
},
|
|
3770
|
-
var
|
|
3771
|
-
for (var
|
|
3772
|
-
|
|
3773
|
-
if (e != null &&
|
|
3774
|
-
for (var
|
|
3775
|
-
t.indexOf(
|
|
3776
|
-
return
|
|
3795
|
+
}, Q = (e, t) => {
|
|
3796
|
+
var n = {};
|
|
3797
|
+
for (var r in e)
|
|
3798
|
+
$t.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
|
|
3799
|
+
if (e != null && le)
|
|
3800
|
+
for (var r of le(e))
|
|
3801
|
+
t.indexOf(r) < 0 && Ut.call(e, r) && (n[r] = e[r]);
|
|
3802
|
+
return n;
|
|
3777
3803
|
};
|
|
3778
|
-
const
|
|
3779
|
-
const { formats:
|
|
3780
|
-
if (e in
|
|
3781
|
-
return
|
|
3804
|
+
const ee = (e, t) => {
|
|
3805
|
+
const { formats: n } = X();
|
|
3806
|
+
if (e in n && t in n[e])
|
|
3807
|
+
return n[e][t];
|
|
3782
3808
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3783
|
-
},
|
|
3809
|
+
}, Fr = be(
|
|
3784
3810
|
(e) => {
|
|
3785
|
-
var t = e, { locale:
|
|
3786
|
-
if (
|
|
3811
|
+
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3812
|
+
if (n == null)
|
|
3787
3813
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3788
|
-
return
|
|
3814
|
+
return r && (i = ee("number", r)), new Intl.NumberFormat(n, i);
|
|
3789
3815
|
}
|
|
3790
|
-
),
|
|
3816
|
+
), jr = be(
|
|
3791
3817
|
(e) => {
|
|
3792
|
-
var t = e, { locale:
|
|
3793
|
-
if (
|
|
3818
|
+
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3819
|
+
if (n == null)
|
|
3794
3820
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3795
|
-
return
|
|
3821
|
+
return r ? i = ee("date", r) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(n, i);
|
|
3796
3822
|
}
|
|
3797
|
-
),
|
|
3823
|
+
), kr = be(
|
|
3798
3824
|
(e) => {
|
|
3799
|
-
var t = e, { locale:
|
|
3800
|
-
if (
|
|
3825
|
+
var t = e, { locale: n, format: r } = t, i = Q(t, ["locale", "format"]);
|
|
3826
|
+
if (n == null)
|
|
3801
3827
|
throw new Error(
|
|
3802
3828
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3803
3829
|
);
|
|
3804
|
-
return
|
|
3830
|
+
return r ? i = ee("time", r) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(n, i);
|
|
3805
3831
|
}
|
|
3806
|
-
),
|
|
3832
|
+
), Vr = (e = {}) => {
|
|
3807
3833
|
var t = e, {
|
|
3808
|
-
locale:
|
|
3809
|
-
} = t,
|
|
3834
|
+
locale: n = $()
|
|
3835
|
+
} = t, r = Q(t, [
|
|
3810
3836
|
"locale"
|
|
3811
3837
|
]);
|
|
3812
|
-
return
|
|
3813
|
-
},
|
|
3838
|
+
return Fr(Ge({ locale: n }, r));
|
|
3839
|
+
}, Xr = (e = {}) => {
|
|
3814
3840
|
var t = e, {
|
|
3815
|
-
locale:
|
|
3816
|
-
} = t,
|
|
3841
|
+
locale: n = $()
|
|
3842
|
+
} = t, r = Q(t, [
|
|
3817
3843
|
"locale"
|
|
3818
3844
|
]);
|
|
3819
|
-
return
|
|
3820
|
-
},
|
|
3845
|
+
return jr(Ge({ locale: n }, r));
|
|
3846
|
+
}, zr = (e = {}) => {
|
|
3821
3847
|
var t = e, {
|
|
3822
|
-
locale:
|
|
3823
|
-
} = t,
|
|
3848
|
+
locale: n = $()
|
|
3849
|
+
} = t, r = Q(t, [
|
|
3824
3850
|
"locale"
|
|
3825
3851
|
]);
|
|
3826
|
-
return
|
|
3827
|
-
},
|
|
3852
|
+
return kr(Ge({ locale: n }, r));
|
|
3853
|
+
}, Wr = be(
|
|
3828
3854
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3829
|
-
(e, t =
|
|
3830
|
-
ignoreTag:
|
|
3855
|
+
(e, t = $()) => new Er(e, t, X().formats, {
|
|
3856
|
+
ignoreTag: X().ignoreTag
|
|
3831
3857
|
})
|
|
3832
|
-
),
|
|
3833
|
-
var
|
|
3834
|
-
let
|
|
3835
|
-
typeof e == "object" && (
|
|
3858
|
+
), Zr = (e, t = {}) => {
|
|
3859
|
+
var n, r, i, s;
|
|
3860
|
+
let a = t;
|
|
3861
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
3836
3862
|
const {
|
|
3837
3863
|
values: u,
|
|
3838
|
-
locale: l =
|
|
3839
|
-
default:
|
|
3840
|
-
} =
|
|
3864
|
+
locale: l = $(),
|
|
3865
|
+
default: o
|
|
3866
|
+
} = a;
|
|
3841
3867
|
if (l == null)
|
|
3842
3868
|
throw new Error(
|
|
3843
3869
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3844
3870
|
);
|
|
3845
|
-
let h =
|
|
3871
|
+
let h = Lt(e, l);
|
|
3846
3872
|
if (!h)
|
|
3847
|
-
h = (s = (i = (
|
|
3873
|
+
h = (s = (i = (r = (n = X()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
|
|
3848
3874
|
else if (typeof h != "string")
|
|
3849
3875
|
return console.warn(
|
|
3850
3876
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3853,7 +3879,7 @@ const te = (e, t) => {
|
|
|
3853
3879
|
return h;
|
|
3854
3880
|
let c = h;
|
|
3855
3881
|
try {
|
|
3856
|
-
c =
|
|
3882
|
+
c = Wr(h, l).format(u);
|
|
3857
3883
|
} catch (f) {
|
|
3858
3884
|
f instanceof Error && console.warn(
|
|
3859
3885
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3861,59 +3887,59 @@ const te = (e, t) => {
|
|
|
3861
3887
|
);
|
|
3862
3888
|
}
|
|
3863
3889
|
return c;
|
|
3864
|
-
},
|
|
3865
|
-
|
|
3866
|
-
|
|
3867
|
-
|
|
3868
|
-
|
|
3869
|
-
function
|
|
3890
|
+
}, Qr = (e, t) => zr(t).format(e), qr = (e, t) => Xr(t).format(e), Jr = (e, t) => Vr(t).format(e), Yr = (e, t = $()) => Lt(e, t), Si = W([R, Z], () => Zr);
|
|
3891
|
+
W([R], () => Qr);
|
|
3892
|
+
W([R], () => qr);
|
|
3893
|
+
W([R], () => Jr);
|
|
3894
|
+
W([R, Z], () => Yr);
|
|
3895
|
+
function Kr(e, t) {
|
|
3870
3896
|
if (e) {
|
|
3871
|
-
const
|
|
3872
|
-
|
|
3897
|
+
const n = document.createElement("style");
|
|
3898
|
+
n.innerHTML = t, e.appendChild(n);
|
|
3873
3899
|
}
|
|
3874
3900
|
}
|
|
3875
|
-
function
|
|
3876
|
-
const
|
|
3877
|
-
fetch(
|
|
3901
|
+
function ei(e, t) {
|
|
3902
|
+
const n = new URL(t);
|
|
3903
|
+
fetch(n.href).then((r) => r.text()).then((r) => {
|
|
3878
3904
|
const i = document.createElement("style");
|
|
3879
|
-
i.innerHTML =
|
|
3880
|
-
}).catch((
|
|
3881
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
3905
|
+
i.innerHTML = r, e && e.appendChild(i);
|
|
3906
|
+
}).catch((r) => {
|
|
3907
|
+
console.error("There was an error while trying to load client styling from URL", r);
|
|
3882
3908
|
});
|
|
3883
3909
|
}
|
|
3884
|
-
function
|
|
3910
|
+
function ti(e, t, n) {
|
|
3885
3911
|
if (window.emMessageBus) {
|
|
3886
|
-
const
|
|
3912
|
+
const r = document.createElement("style");
|
|
3887
3913
|
window.emMessageBus.subscribe(t, (i) => {
|
|
3888
|
-
|
|
3914
|
+
r.innerHTML = i, e && e.appendChild(r);
|
|
3889
3915
|
});
|
|
3890
3916
|
}
|
|
3891
3917
|
}
|
|
3892
|
-
function
|
|
3893
|
-
|
|
3894
|
-
|
|
3918
|
+
function ni({ withLocale: e, translations: t }) {
|
|
3919
|
+
R.subscribe((n) => {
|
|
3920
|
+
n == null && (Z.set(t), R.set(e));
|
|
3895
3921
|
});
|
|
3896
3922
|
}
|
|
3897
3923
|
if (typeof window != "undefined") {
|
|
3898
3924
|
let e = function(t) {
|
|
3899
|
-
return function(...
|
|
3925
|
+
return function(...n) {
|
|
3900
3926
|
try {
|
|
3901
|
-
return t.apply(this,
|
|
3902
|
-
} catch (
|
|
3903
|
-
if (
|
|
3927
|
+
return t.apply(this, n);
|
|
3928
|
+
} catch (r) {
|
|
3929
|
+
if (r instanceof DOMException && r.message.includes("has already been used with this registry") || r.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
3904
3930
|
return !1;
|
|
3905
|
-
throw
|
|
3931
|
+
throw r;
|
|
3906
3932
|
}
|
|
3907
3933
|
};
|
|
3908
3934
|
};
|
|
3909
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-
|
|
3935
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySectionNd-CLedgRK9.js").then(({ default: t }) => {
|
|
3910
3936
|
!customElements.get("casino-games-category-section-nd") && customElements.define("casino-games-category-section-nd", t.element);
|
|
3911
3937
|
});
|
|
3912
3938
|
}
|
|
3913
|
-
function
|
|
3914
|
-
|
|
3939
|
+
function ri(e) {
|
|
3940
|
+
Wt(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
3915
3941
|
}
|
|
3916
|
-
function
|
|
3942
|
+
function at(e) {
|
|
3917
3943
|
let t;
|
|
3918
3944
|
return {
|
|
3919
3945
|
c() {
|
|
@@ -4014,178 +4040,178 @@ function ut(e) {
|
|
|
4014
4040
|
e[6]
|
|
4015
4041
|
);
|
|
4016
4042
|
},
|
|
4017
|
-
m(
|
|
4018
|
-
|
|
4043
|
+
m(n, r) {
|
|
4044
|
+
fe(n, t, r);
|
|
4019
4045
|
},
|
|
4020
|
-
p(
|
|
4021
|
-
|
|
4046
|
+
p(n, r) {
|
|
4047
|
+
r & /*session*/
|
|
4022
4048
|
16 && g(
|
|
4023
4049
|
t,
|
|
4024
4050
|
"session",
|
|
4025
4051
|
/*session*/
|
|
4026
|
-
|
|
4027
|
-
),
|
|
4052
|
+
n[4]
|
|
4053
|
+
), r & /*userid*/
|
|
4028
4054
|
32 && g(
|
|
4029
4055
|
t,
|
|
4030
4056
|
"userid",
|
|
4031
4057
|
/*userid*/
|
|
4032
|
-
|
|
4033
|
-
),
|
|
4058
|
+
n[5]
|
|
4059
|
+
), r & /*endpoint*/
|
|
4034
4060
|
1 && g(
|
|
4035
4061
|
t,
|
|
4036
4062
|
"endpoint",
|
|
4037
4063
|
/*endpoint*/
|
|
4038
|
-
|
|
4039
|
-
),
|
|
4064
|
+
n[0]
|
|
4065
|
+
), r & /*datasource*/
|
|
4040
4066
|
2 && g(
|
|
4041
4067
|
t,
|
|
4042
4068
|
"datasource",
|
|
4043
4069
|
/*datasource*/
|
|
4044
|
-
|
|
4045
|
-
),
|
|
4070
|
+
n[1]
|
|
4071
|
+
), r & /*lang*/
|
|
4046
4072
|
8 && g(
|
|
4047
4073
|
t,
|
|
4048
4074
|
"lang",
|
|
4049
4075
|
/*lang*/
|
|
4050
|
-
|
|
4051
|
-
),
|
|
4076
|
+
n[3]
|
|
4077
|
+
), r & /*currency*/
|
|
4052
4078
|
4 && g(
|
|
4053
4079
|
t,
|
|
4054
4080
|
"currency",
|
|
4055
4081
|
/*currency*/
|
|
4056
|
-
|
|
4057
|
-
),
|
|
4082
|
+
n[2]
|
|
4083
|
+
), r & /*favorites*/
|
|
4058
4084
|
65536 && g(
|
|
4059
4085
|
t,
|
|
4060
4086
|
"favorites",
|
|
4061
4087
|
/*favorites*/
|
|
4062
|
-
|
|
4063
|
-
),
|
|
4088
|
+
n[16]
|
|
4089
|
+
), r & /*fetchviaevent*/
|
|
4064
4090
|
262144 && g(
|
|
4065
4091
|
t,
|
|
4066
4092
|
"fetchviaevent",
|
|
4067
4093
|
/*fetchviaevent*/
|
|
4068
|
-
|
|
4069
|
-
),
|
|
4094
|
+
n[18]
|
|
4095
|
+
), r & /*showgamename*/
|
|
4070
4096
|
8192 && g(
|
|
4071
4097
|
t,
|
|
4072
4098
|
"showgamename",
|
|
4073
4099
|
/*showgamename*/
|
|
4074
|
-
|
|
4075
|
-
),
|
|
4100
|
+
n[13]
|
|
4101
|
+
), r & /*clientstyling*/
|
|
4076
4102
|
128 && g(
|
|
4077
4103
|
t,
|
|
4078
4104
|
"clientstyling",
|
|
4079
4105
|
/*clientstyling*/
|
|
4080
|
-
|
|
4081
|
-
),
|
|
4106
|
+
n[7]
|
|
4107
|
+
), r & /*clientstylingurl*/
|
|
4082
4108
|
256 && g(
|
|
4083
4109
|
t,
|
|
4084
4110
|
"clientstylingurl",
|
|
4085
4111
|
/*clientstylingurl*/
|
|
4086
|
-
|
|
4087
|
-
),
|
|
4112
|
+
n[8]
|
|
4113
|
+
), r & /*translationurl*/
|
|
4088
4114
|
512 && g(
|
|
4089
4115
|
t,
|
|
4090
4116
|
"translationurl",
|
|
4091
4117
|
/*translationurl*/
|
|
4092
|
-
|
|
4093
|
-
),
|
|
4118
|
+
n[9]
|
|
4119
|
+
), r & /*livecasino*/
|
|
4094
4120
|
1024 && g(
|
|
4095
4121
|
t,
|
|
4096
4122
|
"livecasino",
|
|
4097
4123
|
/*livecasino*/
|
|
4098
|
-
|
|
4099
|
-
),
|
|
4124
|
+
n[10]
|
|
4125
|
+
), r & /*visiblegames*/
|
|
4100
4126
|
32768 && g(
|
|
4101
4127
|
t,
|
|
4102
4128
|
"visiblegames",
|
|
4103
4129
|
/*visiblegames*/
|
|
4104
|
-
|
|
4105
|
-
),
|
|
4130
|
+
n[15]
|
|
4131
|
+
), r & /*gamepagemodalurl*/
|
|
4106
4132
|
16384 && g(
|
|
4107
4133
|
t,
|
|
4108
4134
|
"gamepagemodalurl",
|
|
4109
4135
|
/*gamepagemodalurl*/
|
|
4110
|
-
|
|
4111
|
-
),
|
|
4136
|
+
n[14]
|
|
4137
|
+
), r & /*integratedgameframedesktop*/
|
|
4112
4138
|
4096 && g(
|
|
4113
4139
|
t,
|
|
4114
4140
|
"integratedgameframedesktop",
|
|
4115
4141
|
/*integratedgameframedesktop*/
|
|
4116
|
-
|
|
4117
|
-
),
|
|
4142
|
+
n[12]
|
|
4143
|
+
), r & /*integratedgameframemobile*/
|
|
4118
4144
|
2048 && g(
|
|
4119
4145
|
t,
|
|
4120
4146
|
"integratedgameframemobile",
|
|
4121
4147
|
/*integratedgameframemobile*/
|
|
4122
|
-
|
|
4123
|
-
),
|
|
4148
|
+
n[11]
|
|
4149
|
+
), r & /*casinomygames*/
|
|
4124
4150
|
131072 && g(
|
|
4125
4151
|
t,
|
|
4126
4152
|
"casinomygames",
|
|
4127
4153
|
/*casinomygames*/
|
|
4128
|
-
|
|
4129
|
-
),
|
|
4154
|
+
n[17]
|
|
4155
|
+
), r & /*mbsource*/
|
|
4130
4156
|
64 && g(
|
|
4131
4157
|
t,
|
|
4132
4158
|
"mbsource",
|
|
4133
4159
|
/*mbsource*/
|
|
4134
|
-
|
|
4160
|
+
n[6]
|
|
4135
4161
|
);
|
|
4136
4162
|
},
|
|
4137
|
-
d(
|
|
4138
|
-
|
|
4163
|
+
d(n) {
|
|
4164
|
+
n && te(t);
|
|
4139
4165
|
}
|
|
4140
4166
|
};
|
|
4141
4167
|
}
|
|
4142
|
-
function
|
|
4143
|
-
let t,
|
|
4168
|
+
function ii(e) {
|
|
4169
|
+
let t, n = (
|
|
4144
4170
|
/*session*/
|
|
4145
|
-
e[4] &&
|
|
4171
|
+
e[4] && at(e)
|
|
4146
4172
|
);
|
|
4147
4173
|
return {
|
|
4148
4174
|
c() {
|
|
4149
|
-
t = ne("div"),
|
|
4175
|
+
t = ne("div"), n && n.c(), Ue(t, "class", "CasinoFavoritesSectionContainer");
|
|
4150
4176
|
},
|
|
4151
|
-
m(
|
|
4152
|
-
|
|
4177
|
+
m(r, i) {
|
|
4178
|
+
fe(r, t, i), n && n.m(t, null), e[20](t);
|
|
4153
4179
|
},
|
|
4154
|
-
p(
|
|
4180
|
+
p(r, [i]) {
|
|
4155
4181
|
/*session*/
|
|
4156
|
-
|
|
4182
|
+
r[4] ? n ? n.p(r, i) : (n = at(r), n.c(), n.m(t, null)) : n && (n.d(1), n = null);
|
|
4157
4183
|
},
|
|
4158
4184
|
i: L,
|
|
4159
4185
|
o: L,
|
|
4160
|
-
d(
|
|
4161
|
-
|
|
4186
|
+
d(r) {
|
|
4187
|
+
r && te(t), n && n.d(), e[20](null);
|
|
4162
4188
|
}
|
|
4163
4189
|
};
|
|
4164
4190
|
}
|
|
4165
|
-
function
|
|
4166
|
-
let { endpoint:
|
|
4167
|
-
|
|
4191
|
+
function si(e, t, n) {
|
|
4192
|
+
let { endpoint: r = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { mbsource: o } = t, { clientstyling: h = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { livecasino: b = "false" } = t, { integratedgameframemobile: y = "false" } = t, { integratedgameframedesktop: x = "false" } = t, { showgamename: S = "" } = t, { gamepagemodalurl: O = "false" } = t, { visiblegames: P = "" } = t, { favorites: A = "" } = t, { casinomygames: I = "false" } = t, { fetchviaevent: N = "true" } = t, T;
|
|
4193
|
+
ni({ withLocale: "en", translations: {} }), Kt(() => () => {
|
|
4168
4194
|
});
|
|
4169
|
-
function
|
|
4170
|
-
|
|
4171
|
-
T = m,
|
|
4195
|
+
function _(m) {
|
|
4196
|
+
Se[m ? "unshift" : "push"](() => {
|
|
4197
|
+
T = m, n(19, T);
|
|
4172
4198
|
});
|
|
4173
4199
|
}
|
|
4174
4200
|
return e.$$set = (m) => {
|
|
4175
|
-
"endpoint" in m &&
|
|
4201
|
+
"endpoint" in m && n(0, r = m.endpoint), "datasource" in m && n(1, i = m.datasource), "currency" in m && n(2, s = m.currency), "lang" in m && n(3, a = m.lang), "session" in m && n(4, u = m.session), "userid" in m && n(5, l = m.userid), "mbsource" in m && n(6, o = m.mbsource), "clientstyling" in m && n(7, h = m.clientstyling), "clientstylingurl" in m && n(8, c = m.clientstylingurl), "translationurl" in m && n(9, f = m.translationurl), "livecasino" in m && n(10, b = m.livecasino), "integratedgameframemobile" in m && n(11, y = m.integratedgameframemobile), "integratedgameframedesktop" in m && n(12, x = m.integratedgameframedesktop), "showgamename" in m && n(13, S = m.showgamename), "gamepagemodalurl" in m && n(14, O = m.gamepagemodalurl), "visiblegames" in m && n(15, P = m.visiblegames), "favorites" in m && n(16, A = m.favorites), "casinomygames" in m && n(17, I = m.casinomygames), "fetchviaevent" in m && n(18, N = m.fetchviaevent);
|
|
4176
4202
|
}, e.$$.update = () => {
|
|
4177
4203
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4178
|
-
524416 && h && T &&
|
|
4179
|
-
524544 && c && T &&
|
|
4180
|
-
524352 &&
|
|
4204
|
+
524416 && h && T && Kr(T, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4205
|
+
524544 && c && T && ei(T, c), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4206
|
+
524352 && o && T && ti(T, `${o}.Style`);
|
|
4181
4207
|
}, [
|
|
4182
|
-
|
|
4208
|
+
r,
|
|
4183
4209
|
i,
|
|
4184
4210
|
s,
|
|
4185
|
-
|
|
4211
|
+
a,
|
|
4186
4212
|
u,
|
|
4187
4213
|
l,
|
|
4188
|
-
|
|
4214
|
+
o,
|
|
4189
4215
|
h,
|
|
4190
4216
|
c,
|
|
4191
4217
|
f,
|
|
@@ -4199,17 +4225,17 @@ function ai(e, t, r) {
|
|
|
4199
4225
|
I,
|
|
4200
4226
|
N,
|
|
4201
4227
|
T,
|
|
4202
|
-
|
|
4228
|
+
_
|
|
4203
4229
|
];
|
|
4204
4230
|
}
|
|
4205
|
-
class
|
|
4231
|
+
class Dt extends hn {
|
|
4206
4232
|
constructor(t) {
|
|
4207
|
-
super(),
|
|
4233
|
+
super(), on(
|
|
4208
4234
|
this,
|
|
4209
4235
|
t,
|
|
4210
|
-
|
|
4211
|
-
|
|
4212
|
-
|
|
4236
|
+
si,
|
|
4237
|
+
ii,
|
|
4238
|
+
ut,
|
|
4213
4239
|
{
|
|
4214
4240
|
endpoint: 0,
|
|
4215
4241
|
datasource: 1,
|
|
@@ -4231,7 +4257,7 @@ class Ft extends lr {
|
|
|
4231
4257
|
casinomygames: 17,
|
|
4232
4258
|
fetchviaevent: 18
|
|
4233
4259
|
},
|
|
4234
|
-
|
|
4260
|
+
ri
|
|
4235
4261
|
);
|
|
4236
4262
|
}
|
|
4237
4263
|
get endpoint() {
|
|
@@ -4349,52 +4375,56 @@ class Ft extends lr {
|
|
|
4349
4375
|
this.$$set({ fetchviaevent: t }), H();
|
|
4350
4376
|
}
|
|
4351
4377
|
}
|
|
4352
|
-
|
|
4378
|
+
un(Dt, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
|
|
4353
4379
|
const Bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4354
4380
|
__proto__: null,
|
|
4355
|
-
default:
|
|
4381
|
+
default: Dt
|
|
4356
4382
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4357
4383
|
export {
|
|
4358
|
-
$,
|
|
4359
|
-
|
|
4360
|
-
|
|
4361
|
-
|
|
4362
|
-
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4375
|
-
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4384
|
+
R as $,
|
|
4385
|
+
gi as A,
|
|
4386
|
+
oi as B,
|
|
4387
|
+
Kr as C,
|
|
4388
|
+
ei as D,
|
|
4389
|
+
ti as E,
|
|
4390
|
+
un as F,
|
|
4391
|
+
Si as G,
|
|
4392
|
+
g as H,
|
|
4393
|
+
bi as I,
|
|
4394
|
+
fi as J,
|
|
4395
|
+
pi as K,
|
|
4396
|
+
di as L,
|
|
4397
|
+
Ei as M,
|
|
4398
|
+
yi as N,
|
|
4399
|
+
xi as O,
|
|
4400
|
+
_i as P,
|
|
4401
|
+
Bi as Q,
|
|
4402
|
+
hn as S,
|
|
4403
|
+
Hi as _,
|
|
4404
|
+
Ee as a,
|
|
4405
|
+
Ti as b,
|
|
4406
|
+
ce as c,
|
|
4407
|
+
Z as d,
|
|
4408
|
+
Sr as e,
|
|
4379
4409
|
H as f,
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
|
|
4385
|
-
|
|
4386
|
-
|
|
4410
|
+
Wt as g,
|
|
4411
|
+
te as h,
|
|
4412
|
+
on as i,
|
|
4413
|
+
fe as j,
|
|
4414
|
+
ne as k,
|
|
4415
|
+
ui as l,
|
|
4416
|
+
Se as m,
|
|
4387
4417
|
L as n,
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
-
|
|
4398
|
-
|
|
4399
|
-
|
|
4418
|
+
Kt as o,
|
|
4419
|
+
Ue as p,
|
|
4420
|
+
vi as q,
|
|
4421
|
+
hi as r,
|
|
4422
|
+
ut as s,
|
|
4423
|
+
z as t,
|
|
4424
|
+
mi as u,
|
|
4425
|
+
zt as v,
|
|
4426
|
+
ci as w,
|
|
4427
|
+
qt as x,
|
|
4428
|
+
li as y,
|
|
4429
|
+
lt as z
|
|
4400
4430
|
};
|