@everymatrix/casino-my-games 1.61.1 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFavoritesSection-ahL5hBzq.js → CasinoFavoritesSection-CVO0nFg6.js} +600 -523
- package/components/{CasinoFavoritesSection-D8DWC0Xz.js → CasinoFavoritesSection-DenJmd_u.js} +1050 -973
- package/components/CasinoFavoritesSection-XFsFvf3Q.cjs +16 -0
- package/components/CasinoFilter-BZWWEtZ5.js +1135 -0
- package/components/CasinoFilter-Bh14cS_r.js +1136 -0
- package/components/CasinoFilter-caKOfgQX.cjs +3 -0
- package/components/CasinoGameThumbnail-BvfDLcCj.js +4391 -0
- package/components/CasinoGameThumbnail-CcHfYMav.js +4407 -0
- package/components/CasinoGameThumbnail-RaFeiBWU.cjs +47 -0
- package/components/CasinoGamesCategorySection-B0vh5yby.cjs +1 -0
- package/components/{CasinoGamesCategorySection-CmJdBTJE.js → CasinoGamesCategorySection-CXH0zWBq.js} +1140 -1127
- package/components/{CasinoGamesCategorySection-WLzU_Kux.js → CasinoGamesCategorySection-DCZ52p3K.js} +760 -746
- package/components/{CasinoLastPlayedSection-D62lIQoQ.cjs → CasinoLastPlayedSection-Ct2q8ZNt.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-aeuS1Jzl.js → CasinoLastPlayedSection-DmhFbRkC.js} +26 -26
- package/components/{CasinoLastPlayedSection-iak7Ugd5.js → CasinoLastPlayedSection-x7Od0COc.js} +26 -26
- package/components/{CasinoMostPlayedSection-DvHJHgw8.cjs → CasinoMostPlayedSection-By1XriMc.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-CWF-inx9.js → CasinoMostPlayedSection-DxPZdAeh.js} +50 -50
- package/components/{CasinoMostPlayedSection-BLHBi7CP.js → CasinoMostPlayedSection-Re5EJDo_.js} +50 -50
- package/components/{CasinoMyGames-BjR1VsKZ.cjs → CasinoMyGames-BU16Ozm5.cjs} +1 -1
- package/components/{CasinoMyGames-BwawsHNL.js → CasinoMyGames-DCasVrr2.js} +63 -63
- package/components/{CasinoMyGames-DfW21p9X.js → CasinoMyGames-ik0qktOk.js} +55 -55
- package/components/{CasinoSort-BbrBJz2u.js → CasinoSort-BH4k9w3F.js} +108 -107
- package/components/{CasinoSort-CxV8D1_I.cjs → CasinoSort-CfSRZTbJ.cjs} +1 -1
- package/components/{CasinoSort-CiKQxbY-.js → CasinoSort-uFrYAkN7.js} +98 -99
- package/es2015/casino-my-games.cjs +1 -1
- package/es2015/casino-my-games.js +1 -1
- package/esnext/casino-my-games.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-CbGN-1Xz.cjs +1 -0
- package/stencil/index-b2193545-CbUHNmek.js +503 -0
- package/stencil/index-b2193545-DFFkPUVU.js +519 -0
- package/stencil/index-b7bbd57e-5H13jtcn.cjs +1 -0
- package/stencil/index-b7bbd57e-D2mZ7-kv.js +534 -0
- package/stencil/index-b7bbd57e-VSGyGiy1.js +550 -0
- package/stencil/{ui-image-38c3c15f-DHu3p_Um.cjs → ui-image-38c3c15f-3U8WBsCg.cjs} +1 -1
- package/stencil/{ui-image-38c3c15f-D8q8WO62.js → ui-image-38c3c15f-Cix0ZMEZ.js} +1 -1
- package/stencil/{ui-image-38c3c15f-DNKzX83k.js → ui-image-38c3c15f-jaErZeBj.js} +1 -1
- package/stencil/{ui-image-BWdEHrqs.js → ui-image-6OX7DHzp.js} +2 -2
- package/stencil/{ui-image-Cq69wjLL.js → ui-image-DvmqpXjR.js} +2 -2
- package/stencil/{ui-image-hWt-DWaG.cjs → ui-image-sdP0Y0JV.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-CKWpp1By.js → ui-skeleton-6d1c12ae-BpEpsLuu.js} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-DXSQpIKe.cjs → ui-skeleton-6d1c12ae-CZrIANSq.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-Cy_R_9Cz.js → ui-skeleton-6d1c12ae-koE69yYD.js} +1 -1
- package/stencil/{ui-skeleton-BMWABShx.js → ui-skeleton-BOseIl79.js} +2 -2
- package/stencil/{ui-skeleton-CkUGY95J.js → ui-skeleton-BVyEf4P7.js} +2 -2
- package/stencil/{ui-skeleton-DXc0L06e.cjs → ui-skeleton-C2O4H76Q.cjs} +1 -1
- package/components/CasinoFavoritesSection-CwYWFKps.cjs +0 -16
- package/components/CasinoFilter--1Im-Ajx.js +0 -1103
- package/components/CasinoFilter-C8l1GK9-.cjs +0 -3
- package/components/CasinoFilter-D2I9-b4o.js +0 -1102
- package/components/CasinoGameThumbnail-Cuc3hOb9.js +0 -3608
- package/components/CasinoGameThumbnail-DbVQmHkH.cjs +0 -39
- package/components/CasinoGameThumbnail-v_nBLCb9.js +0 -3592
- package/components/CasinoGamesCategorySection-Bh-4nKcu.cjs +0 -1
- package/stencil/index-b2193545-B5BzVbnP.cjs +0 -1
- package/stencil/index-b2193545-BranxwW4.js +0 -519
- package/stencil/index-b2193545-D-GB6w--.js +0 -503
- package/stencil/index-b7bbd57e-CQ75dRCG.js +0 -550
- package/stencil/index-b7bbd57e-Cacu08c5.js +0 -534
- package/stencil/index-b7bbd57e-DF6DA3M_.cjs +0 -1
package/components/{CasinoFavoritesSection-ahL5hBzq.js → CasinoFavoritesSection-CVO0nFg6.js}
RENAMED
|
@@ -1,50 +1,53 @@
|
|
|
1
|
-
function
|
|
1
|
+
function N() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function nt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Fe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function X(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(nt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function le(e) {
|
|
13
13
|
return typeof e == "function";
|
|
14
14
|
}
|
|
15
|
-
function
|
|
15
|
+
function it(e, t) {
|
|
16
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
17
17
|
}
|
|
18
|
-
let
|
|
19
|
-
function
|
|
20
|
-
return e === t ? !0 : (
|
|
18
|
+
let ne;
|
|
19
|
+
function qn(e, t) {
|
|
20
|
+
return e === t ? !0 : (ne || (ne = document.createElement("a")), ne.href = t, e === ne.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Rt(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function st(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
29
|
-
return
|
|
29
|
+
return N;
|
|
30
30
|
}
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Jn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(st(t, r));
|
|
36
|
+
}
|
|
37
|
+
function Yn(e) {
|
|
38
|
+
return e && le(e.destroy) ? e.destroy : N;
|
|
36
39
|
}
|
|
37
|
-
function
|
|
40
|
+
function $t(e, t) {
|
|
38
41
|
e.appendChild(t);
|
|
39
42
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
43
|
+
function Ut(e, t, r) {
|
|
44
|
+
const n = Dt(e);
|
|
42
45
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
46
|
+
const i = te("style");
|
|
47
|
+
i.id = t, i.textContent = r, Gt(n, i);
|
|
45
48
|
}
|
|
46
49
|
}
|
|
47
|
-
function
|
|
50
|
+
function Dt(e) {
|
|
48
51
|
if (!e)
|
|
49
52
|
return document;
|
|
50
53
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,39 +57,39 @@ function $t(e) {
|
|
|
54
57
|
t
|
|
55
58
|
) : e.ownerDocument;
|
|
56
59
|
}
|
|
57
|
-
function
|
|
58
|
-
return
|
|
60
|
+
function Gt(e, t) {
|
|
61
|
+
return $t(
|
|
59
62
|
/** @type {Document} */
|
|
60
63
|
e.head || e,
|
|
61
64
|
t
|
|
62
65
|
), t.sheet;
|
|
63
66
|
}
|
|
64
|
-
function
|
|
67
|
+
function fe(e, t, r) {
|
|
65
68
|
e.insertBefore(t, r || null);
|
|
66
69
|
}
|
|
67
|
-
function
|
|
70
|
+
function ee(e) {
|
|
68
71
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
72
|
}
|
|
70
|
-
function
|
|
73
|
+
function Kn(e, t) {
|
|
71
74
|
for (let r = 0; r < e.length; r += 1)
|
|
72
75
|
e[r] && e[r].d(t);
|
|
73
76
|
}
|
|
74
|
-
function
|
|
77
|
+
function te(e) {
|
|
75
78
|
return document.createElement(e);
|
|
76
79
|
}
|
|
77
|
-
function
|
|
80
|
+
function Ft(e) {
|
|
78
81
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
82
|
}
|
|
80
|
-
function
|
|
83
|
+
function at(e) {
|
|
81
84
|
return document.createTextNode(e);
|
|
82
85
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
86
|
+
function ei() {
|
|
87
|
+
return at(" ");
|
|
85
88
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
89
|
+
function ti() {
|
|
90
|
+
return at("");
|
|
88
91
|
}
|
|
89
|
-
function
|
|
92
|
+
function ri(e, t, r, n) {
|
|
90
93
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
94
|
}
|
|
92
95
|
function Re(e, t, r) {
|
|
@@ -96,20 +99,90 @@ function g(e, t, r) {
|
|
|
96
99
|
const n = t.toLowerCase();
|
|
97
100
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Re(e, t, r);
|
|
98
101
|
}
|
|
99
|
-
function
|
|
102
|
+
function jt(e) {
|
|
100
103
|
return Array.from(e.childNodes);
|
|
101
104
|
}
|
|
102
|
-
function
|
|
105
|
+
function ni(e, t) {
|
|
103
106
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
104
107
|
t);
|
|
105
108
|
}
|
|
106
|
-
function
|
|
109
|
+
function ii(e, t) {
|
|
107
110
|
e.value = t ?? "";
|
|
108
111
|
}
|
|
109
|
-
function
|
|
112
|
+
function si(e, t, r) {
|
|
110
113
|
e.classList.toggle(t, !!r);
|
|
111
114
|
}
|
|
112
|
-
|
|
115
|
+
class ai {
|
|
116
|
+
/**
|
|
117
|
+
* @private
|
|
118
|
+
* @default false
|
|
119
|
+
*/
|
|
120
|
+
is_svg = !1;
|
|
121
|
+
/** parent for creating node */
|
|
122
|
+
e = void 0;
|
|
123
|
+
/** html tag nodes */
|
|
124
|
+
n = void 0;
|
|
125
|
+
/** target */
|
|
126
|
+
t = void 0;
|
|
127
|
+
/** anchor */
|
|
128
|
+
a = void 0;
|
|
129
|
+
constructor(t = !1) {
|
|
130
|
+
this.is_svg = t, this.e = this.n = null;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* @param {string} html
|
|
134
|
+
* @returns {void}
|
|
135
|
+
*/
|
|
136
|
+
c(t) {
|
|
137
|
+
this.h(t);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* @param {string} html
|
|
141
|
+
* @param {HTMLElement | SVGElement} target
|
|
142
|
+
* @param {HTMLElement | SVGElement} anchor
|
|
143
|
+
* @returns {void}
|
|
144
|
+
*/
|
|
145
|
+
m(t, r, n = null) {
|
|
146
|
+
this.e || (this.is_svg ? this.e = Ft(
|
|
147
|
+
/** @type {keyof SVGElementTagNameMap} */
|
|
148
|
+
r.nodeName
|
|
149
|
+
) : this.e = te(
|
|
150
|
+
/** @type {keyof HTMLElementTagNameMap} */
|
|
151
|
+
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
152
|
+
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
153
|
+
/** @type {HTMLTemplateElement} */
|
|
154
|
+
r.content
|
|
155
|
+
), this.c(t)), this.i(n);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @param {string} html
|
|
159
|
+
* @returns {void}
|
|
160
|
+
*/
|
|
161
|
+
h(t) {
|
|
162
|
+
this.e.innerHTML = t, this.n = Array.from(
|
|
163
|
+
this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* @returns {void} */
|
|
168
|
+
i(t) {
|
|
169
|
+
for (let r = 0; r < this.n.length; r += 1)
|
|
170
|
+
fe(this.t, this.n[r], t);
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* @param {string} html
|
|
174
|
+
* @returns {void}
|
|
175
|
+
*/
|
|
176
|
+
p(t) {
|
|
177
|
+
this.d(), this.h(t), this.i(this.a);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* @returns {void} */
|
|
181
|
+
d() {
|
|
182
|
+
this.n.forEach(ee);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
function kt(e) {
|
|
113
186
|
const t = {};
|
|
114
187
|
return e.childNodes.forEach(
|
|
115
188
|
/** @param {Element} node */
|
|
@@ -122,31 +195,31 @@ let J;
|
|
|
122
195
|
function q(e) {
|
|
123
196
|
J = e;
|
|
124
197
|
}
|
|
125
|
-
function
|
|
198
|
+
function ot() {
|
|
126
199
|
if (!J)
|
|
127
200
|
throw new Error("Function called outside component initialization");
|
|
128
201
|
return J;
|
|
129
202
|
}
|
|
130
|
-
function
|
|
131
|
-
|
|
203
|
+
function Vt(e) {
|
|
204
|
+
ot().$$.on_mount.push(e);
|
|
132
205
|
}
|
|
133
|
-
function
|
|
134
|
-
|
|
206
|
+
function oi(e) {
|
|
207
|
+
ot().$$.on_destroy.push(e);
|
|
135
208
|
}
|
|
136
|
-
const D = [],
|
|
209
|
+
const D = [], Te = [];
|
|
137
210
|
let G = [];
|
|
138
|
-
const
|
|
139
|
-
let
|
|
140
|
-
function
|
|
141
|
-
|
|
211
|
+
const je = [], ut = /* @__PURE__ */ Promise.resolve();
|
|
212
|
+
let Se = !1;
|
|
213
|
+
function ht() {
|
|
214
|
+
Se || (Se = !0, ut.then(H));
|
|
142
215
|
}
|
|
143
|
-
function
|
|
144
|
-
return
|
|
216
|
+
function ui() {
|
|
217
|
+
return ht(), ut;
|
|
145
218
|
}
|
|
146
|
-
function
|
|
219
|
+
function Be(e) {
|
|
147
220
|
G.push(e);
|
|
148
221
|
}
|
|
149
|
-
const
|
|
222
|
+
const pe = /* @__PURE__ */ new Set();
|
|
150
223
|
let $ = 0;
|
|
151
224
|
function H() {
|
|
152
225
|
if ($ !== 0)
|
|
@@ -156,45 +229,45 @@ function H() {
|
|
|
156
229
|
try {
|
|
157
230
|
for (; $ < D.length; ) {
|
|
158
231
|
const t = D[$];
|
|
159
|
-
$++, q(t),
|
|
232
|
+
$++, q(t), Xt(t.$$);
|
|
160
233
|
}
|
|
161
234
|
} catch (t) {
|
|
162
235
|
throw D.length = 0, $ = 0, t;
|
|
163
236
|
}
|
|
164
|
-
for (q(null), D.length = 0, $ = 0;
|
|
165
|
-
|
|
237
|
+
for (q(null), D.length = 0, $ = 0; Te.length; )
|
|
238
|
+
Te.pop()();
|
|
166
239
|
for (let t = 0; t < G.length; t += 1) {
|
|
167
240
|
const r = G[t];
|
|
168
|
-
|
|
241
|
+
pe.has(r) || (pe.add(r), r());
|
|
169
242
|
}
|
|
170
243
|
G.length = 0;
|
|
171
244
|
} while (D.length);
|
|
172
|
-
for (;
|
|
173
|
-
|
|
174
|
-
|
|
245
|
+
for (; je.length; )
|
|
246
|
+
je.pop()();
|
|
247
|
+
Se = !1, pe.clear(), q(e);
|
|
175
248
|
}
|
|
176
|
-
function
|
|
249
|
+
function Xt(e) {
|
|
177
250
|
if (e.fragment !== null) {
|
|
178
251
|
e.update(), X(e.before_update);
|
|
179
252
|
const t = e.dirty;
|
|
180
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
253
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
|
181
254
|
}
|
|
182
255
|
}
|
|
183
|
-
function
|
|
256
|
+
function zt(e) {
|
|
184
257
|
const t = [], r = [];
|
|
185
258
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
186
259
|
}
|
|
187
|
-
const
|
|
188
|
-
function
|
|
189
|
-
e && e.i && (
|
|
260
|
+
const Wt = /* @__PURE__ */ new Set();
|
|
261
|
+
function lt(e, t) {
|
|
262
|
+
e && e.i && (Wt.delete(e), e.i(t));
|
|
190
263
|
}
|
|
191
|
-
function
|
|
264
|
+
function hi(e) {
|
|
192
265
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
193
266
|
}
|
|
194
|
-
function
|
|
267
|
+
function li(e, t) {
|
|
195
268
|
e.d(1), t.delete(e.key);
|
|
196
269
|
}
|
|
197
|
-
function
|
|
270
|
+
function fi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
198
271
|
let f = e.length, b = s.length, y = f;
|
|
199
272
|
const _ = {};
|
|
200
273
|
for (; y--; )
|
|
@@ -206,36 +279,36 @@ function ui(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
206
279
|
L ? S.push(() => L.p(c, t)) : (L = u(I, c), L.c()), w.set(I, T[y] = L), I in _ && A.set(I, Math.abs(y - _[I]));
|
|
207
280
|
}
|
|
208
281
|
const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
209
|
-
function
|
|
210
|
-
|
|
282
|
+
function O(c) {
|
|
283
|
+
lt(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
|
|
211
284
|
}
|
|
212
285
|
for (; f && b; ) {
|
|
213
|
-
const c = T[b - 1], I = e[f - 1], L = c.key,
|
|
214
|
-
c === I ? (h = c.first, f--, b--) : w.has(
|
|
286
|
+
const c = T[b - 1], I = e[f - 1], L = c.key, re = I.key;
|
|
287
|
+
c === I ? (h = c.first, f--, b--) : w.has(re) ? !a.has(L) || P.has(L) ? O(c) : x.has(re) ? f-- : A.get(L) > A.get(re) ? (x.add(L), O(c)) : (P.add(re), f--) : (l(I, a), f--);
|
|
215
288
|
}
|
|
216
289
|
for (; f--; ) {
|
|
217
290
|
const c = e[f];
|
|
218
291
|
w.has(c.key) || l(c, a);
|
|
219
292
|
}
|
|
220
293
|
for (; b; )
|
|
221
|
-
|
|
294
|
+
O(T[b - 1]);
|
|
222
295
|
return X(S), T;
|
|
223
296
|
}
|
|
224
|
-
function
|
|
297
|
+
function Zt(e, t, r) {
|
|
225
298
|
const { fragment: n, after_update: i } = e.$$;
|
|
226
|
-
n && n.m(t, r),
|
|
227
|
-
const s = e.$$.on_mount.map(
|
|
299
|
+
n && n.m(t, r), Be(() => {
|
|
300
|
+
const s = e.$$.on_mount.map(nt).filter(le);
|
|
228
301
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
229
|
-
}), i.forEach(
|
|
302
|
+
}), i.forEach(Be);
|
|
230
303
|
}
|
|
231
|
-
function
|
|
304
|
+
function Qt(e, t) {
|
|
232
305
|
const r = e.$$;
|
|
233
|
-
r.fragment !== null && (
|
|
306
|
+
r.fragment !== null && (zt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
234
307
|
}
|
|
235
|
-
function
|
|
236
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
308
|
+
function qt(e, t) {
|
|
309
|
+
e.$$.dirty[0] === -1 && (D.push(e), ht(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
237
310
|
}
|
|
238
|
-
function
|
|
311
|
+
function Jt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
239
312
|
const l = J;
|
|
240
313
|
q(e);
|
|
241
314
|
const u = e.$$ = {
|
|
@@ -243,9 +316,9 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
243
316
|
ctx: [],
|
|
244
317
|
// state
|
|
245
318
|
props: s,
|
|
246
|
-
update:
|
|
319
|
+
update: N,
|
|
247
320
|
not_equal: i,
|
|
248
|
-
bound:
|
|
321
|
+
bound: Fe(),
|
|
249
322
|
// lifecycle
|
|
250
323
|
on_mount: [],
|
|
251
324
|
on_destroy: [],
|
|
@@ -254,7 +327,7 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
254
327
|
after_update: [],
|
|
255
328
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
256
329
|
// everything else
|
|
257
|
-
callbacks:
|
|
330
|
+
callbacks: Fe(),
|
|
258
331
|
dirty: o,
|
|
259
332
|
skip_bound: !1,
|
|
260
333
|
root: t.target || l.$$.root
|
|
@@ -263,19 +336,19 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
263
336
|
let h = !1;
|
|
264
337
|
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
265
338
|
const y = b.length ? b[0] : f;
|
|
266
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h &&
|
|
339
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && qt(e, m)), f;
|
|
267
340
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
268
341
|
if (t.hydrate) {
|
|
269
|
-
const m =
|
|
270
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
|
342
|
+
const m = jt(t.target);
|
|
343
|
+
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
271
344
|
} else
|
|
272
345
|
u.fragment && u.fragment.c();
|
|
273
|
-
t.intro &&
|
|
346
|
+
t.intro && lt(e.$$.fragment), Zt(e, t.target, t.anchor), H();
|
|
274
347
|
}
|
|
275
348
|
q(l);
|
|
276
349
|
}
|
|
277
|
-
let
|
|
278
|
-
typeof HTMLElement == "function" && (
|
|
350
|
+
let ft;
|
|
351
|
+
typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
279
352
|
/** The Svelte component constructor */
|
|
280
353
|
$$ctor;
|
|
281
354
|
/** Slots */
|
|
@@ -317,29 +390,29 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
|
317
390
|
let s;
|
|
318
391
|
return {
|
|
319
392
|
c: function() {
|
|
320
|
-
s =
|
|
393
|
+
s = te("slot"), i !== "default" && Re(s, "name", i);
|
|
321
394
|
},
|
|
322
395
|
/**
|
|
323
396
|
* @param {HTMLElement} target
|
|
324
397
|
* @param {HTMLElement} [anchor]
|
|
325
398
|
*/
|
|
326
399
|
m: function(l, u) {
|
|
327
|
-
|
|
400
|
+
fe(l, s, u);
|
|
328
401
|
},
|
|
329
402
|
d: function(l) {
|
|
330
|
-
l &&
|
|
403
|
+
l && ee(s);
|
|
331
404
|
}
|
|
332
405
|
};
|
|
333
406
|
};
|
|
334
407
|
};
|
|
335
408
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
336
409
|
return;
|
|
337
|
-
const t = {}, r =
|
|
410
|
+
const t = {}, r = kt(this);
|
|
338
411
|
for (const i of this.$$s)
|
|
339
412
|
i in r && (t[i] = [e(i)]);
|
|
340
413
|
for (const i of this.attributes) {
|
|
341
414
|
const s = this.$$g_p(i.name);
|
|
342
|
-
s in this.$$d || (this.$$d[s] =
|
|
415
|
+
s in this.$$d || (this.$$d[s] = se(s, i.value, this.$$p_d, "toProp"));
|
|
343
416
|
}
|
|
344
417
|
for (const i in this.$$p_d)
|
|
345
418
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -357,7 +430,7 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
|
357
430
|
this.$$r = !0;
|
|
358
431
|
for (const i in this.$$p_d)
|
|
359
432
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
360
|
-
const s =
|
|
433
|
+
const s = se(
|
|
361
434
|
i,
|
|
362
435
|
this.$$d[i],
|
|
363
436
|
this.$$p_d,
|
|
@@ -379,7 +452,7 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
|
379
452
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
380
453
|
// and setting attributes through setAttribute etc, this is helpful
|
|
381
454
|
attributeChangedCallback(e, t, r) {
|
|
382
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
455
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = se(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
383
456
|
}
|
|
384
457
|
disconnectedCallback() {
|
|
385
458
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -392,7 +465,7 @@ typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
|
392
465
|
) || e;
|
|
393
466
|
}
|
|
394
467
|
});
|
|
395
|
-
function
|
|
468
|
+
function se(e, t, r, n) {
|
|
396
469
|
const i = r[e]?.type;
|
|
397
470
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
398
471
|
return t;
|
|
@@ -421,8 +494,8 @@ function ne(e, t, r, n) {
|
|
|
421
494
|
return t;
|
|
422
495
|
}
|
|
423
496
|
}
|
|
424
|
-
function
|
|
425
|
-
let a = class extends
|
|
497
|
+
function Yt(e, t, r, n, i, s) {
|
|
498
|
+
let a = class extends ft {
|
|
426
499
|
constructor() {
|
|
427
500
|
super(e, r, i), this.$$p_d = t;
|
|
428
501
|
}
|
|
@@ -438,7 +511,7 @@ function Qt(e, t, r, n, i, s) {
|
|
|
438
511
|
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
439
512
|
},
|
|
440
513
|
set(l) {
|
|
441
|
-
l =
|
|
514
|
+
l = se(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
|
|
442
515
|
}
|
|
443
516
|
});
|
|
444
517
|
}), n.forEach((o) => {
|
|
@@ -450,7 +523,7 @@ function Qt(e, t, r, n, i, s) {
|
|
|
450
523
|
}), e.element = /** @type {any} */
|
|
451
524
|
a, a;
|
|
452
525
|
}
|
|
453
|
-
class
|
|
526
|
+
class Kt {
|
|
454
527
|
/**
|
|
455
528
|
* ### PRIVATE API
|
|
456
529
|
*
|
|
@@ -469,7 +542,7 @@ class qt {
|
|
|
469
542
|
$$set = void 0;
|
|
470
543
|
/** @returns {void} */
|
|
471
544
|
$destroy() {
|
|
472
|
-
|
|
545
|
+
Qt(this, 1), this.$destroy = N;
|
|
473
546
|
}
|
|
474
547
|
/**
|
|
475
548
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -478,8 +551,8 @@ class qt {
|
|
|
478
551
|
* @returns {() => void}
|
|
479
552
|
*/
|
|
480
553
|
$on(t, r) {
|
|
481
|
-
if (!
|
|
482
|
-
return
|
|
554
|
+
if (!le(r))
|
|
555
|
+
return N;
|
|
483
556
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
484
557
|
return n.push(r), () => {
|
|
485
558
|
const i = n.indexOf(r);
|
|
@@ -491,11 +564,11 @@ class qt {
|
|
|
491
564
|
* @returns {void}
|
|
492
565
|
*/
|
|
493
566
|
$set(t) {
|
|
494
|
-
this.$$set && !
|
|
567
|
+
this.$$set && !Rt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
495
568
|
}
|
|
496
569
|
}
|
|
497
|
-
const
|
|
498
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
570
|
+
const er = "4";
|
|
571
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
|
|
499
572
|
/*! *****************************************************************************
|
|
500
573
|
Copyright (c) Microsoft Corporation.
|
|
501
574
|
|
|
@@ -510,18 +583,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
510
583
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
511
584
|
PERFORMANCE OF THIS SOFTWARE.
|
|
512
585
|
***************************************************************************** */
|
|
513
|
-
var
|
|
514
|
-
return
|
|
586
|
+
var Ae = function(e, t) {
|
|
587
|
+
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
515
588
|
r.__proto__ = n;
|
|
516
589
|
} || function(r, n) {
|
|
517
590
|
for (var i in n)
|
|
518
591
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
519
|
-
},
|
|
592
|
+
}, Ae(e, t);
|
|
520
593
|
};
|
|
521
|
-
function
|
|
594
|
+
function ce(e, t) {
|
|
522
595
|
if (typeof t != "function" && t !== null)
|
|
523
596
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
524
|
-
|
|
597
|
+
Ae(e, t);
|
|
525
598
|
function r() {
|
|
526
599
|
this.constructor = e;
|
|
527
600
|
}
|
|
@@ -537,7 +610,7 @@ var E = function() {
|
|
|
537
610
|
return t;
|
|
538
611
|
}, E.apply(this, arguments);
|
|
539
612
|
};
|
|
540
|
-
function
|
|
613
|
+
function tr(e, t) {
|
|
541
614
|
var r = {};
|
|
542
615
|
for (var n in e)
|
|
543
616
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -546,7 +619,7 @@ function Yt(e, t) {
|
|
|
546
619
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
547
620
|
return r;
|
|
548
621
|
}
|
|
549
|
-
function
|
|
622
|
+
function ci(e) {
|
|
550
623
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
551
624
|
if (r)
|
|
552
625
|
return r.call(e);
|
|
@@ -558,7 +631,7 @@ function hi(e) {
|
|
|
558
631
|
};
|
|
559
632
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
560
633
|
}
|
|
561
|
-
function
|
|
634
|
+
function mi(e, t) {
|
|
562
635
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
563
636
|
if (!r)
|
|
564
637
|
return e;
|
|
@@ -578,23 +651,23 @@ function li(e, t) {
|
|
|
578
651
|
}
|
|
579
652
|
return s;
|
|
580
653
|
}
|
|
581
|
-
function
|
|
654
|
+
function ye(e, t, r) {
|
|
582
655
|
if (r || arguments.length === 2)
|
|
583
656
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
584
657
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
585
658
|
return e.concat(s || t);
|
|
586
659
|
}
|
|
587
660
|
const U = [];
|
|
588
|
-
function
|
|
661
|
+
function rr(e, t) {
|
|
589
662
|
return {
|
|
590
|
-
subscribe:
|
|
663
|
+
subscribe: me(e, t).subscribe
|
|
591
664
|
};
|
|
592
665
|
}
|
|
593
|
-
function
|
|
666
|
+
function me(e, t = N) {
|
|
594
667
|
let r;
|
|
595
668
|
const n = /* @__PURE__ */ new Set();
|
|
596
669
|
function i(o) {
|
|
597
|
-
if (
|
|
670
|
+
if (it(e, o) && (e = o, r)) {
|
|
598
671
|
const l = !U.length;
|
|
599
672
|
for (const u of n)
|
|
600
673
|
u[1](), U.push(u, e);
|
|
@@ -608,9 +681,9 @@ function fe(e, t = O) {
|
|
|
608
681
|
function s(o) {
|
|
609
682
|
i(o(e));
|
|
610
683
|
}
|
|
611
|
-
function a(o, l =
|
|
684
|
+
function a(o, l = N) {
|
|
612
685
|
const u = [o, l];
|
|
613
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
|
686
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || N), o(e), () => {
|
|
614
687
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
615
688
|
};
|
|
616
689
|
}
|
|
@@ -621,18 +694,18 @@ function z(e, t, r) {
|
|
|
621
694
|
if (!i.every(Boolean))
|
|
622
695
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
623
696
|
const s = t.length < 2;
|
|
624
|
-
return
|
|
697
|
+
return rr(r, (a, o) => {
|
|
625
698
|
let l = !1;
|
|
626
699
|
const u = [];
|
|
627
|
-
let h = 0, m =
|
|
700
|
+
let h = 0, m = N;
|
|
628
701
|
const f = () => {
|
|
629
702
|
if (h)
|
|
630
703
|
return;
|
|
631
704
|
m();
|
|
632
705
|
const y = t(n ? u[0] : u, a, o);
|
|
633
|
-
s ? a(y) : m =
|
|
706
|
+
s ? a(y) : m = le(y) ? y : N;
|
|
634
707
|
}, b = i.map(
|
|
635
|
-
(y, _) =>
|
|
708
|
+
(y, _) => st(
|
|
636
709
|
y,
|
|
637
710
|
(T) => {
|
|
638
711
|
u[_] = T, h &= ~(1 << _), l && f();
|
|
@@ -647,70 +720,70 @@ function z(e, t, r) {
|
|
|
647
720
|
};
|
|
648
721
|
});
|
|
649
722
|
}
|
|
650
|
-
function
|
|
723
|
+
function nr(e) {
|
|
651
724
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
652
725
|
}
|
|
653
|
-
var
|
|
654
|
-
return
|
|
726
|
+
var ir = function(t) {
|
|
727
|
+
return sr(t) && !ar(t);
|
|
655
728
|
};
|
|
656
|
-
function
|
|
729
|
+
function sr(e) {
|
|
657
730
|
return !!e && typeof e == "object";
|
|
658
731
|
}
|
|
659
|
-
function
|
|
732
|
+
function ar(e) {
|
|
660
733
|
var t = Object.prototype.toString.call(e);
|
|
661
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
734
|
+
return t === "[object RegExp]" || t === "[object Date]" || hr(e);
|
|
662
735
|
}
|
|
663
|
-
var
|
|
664
|
-
function
|
|
665
|
-
return e.$$typeof ===
|
|
736
|
+
var or = typeof Symbol == "function" && Symbol.for, ur = or ? Symbol.for("react.element") : 60103;
|
|
737
|
+
function hr(e) {
|
|
738
|
+
return e.$$typeof === ur;
|
|
666
739
|
}
|
|
667
|
-
function
|
|
740
|
+
function lr(e) {
|
|
668
741
|
return Array.isArray(e) ? [] : {};
|
|
669
742
|
}
|
|
670
743
|
function Y(e, t) {
|
|
671
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
744
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(lr(e), e, t) : e;
|
|
672
745
|
}
|
|
673
|
-
function
|
|
746
|
+
function fr(e, t, r) {
|
|
674
747
|
return e.concat(t).map(function(n) {
|
|
675
748
|
return Y(n, r);
|
|
676
749
|
});
|
|
677
750
|
}
|
|
678
|
-
function
|
|
751
|
+
function cr(e, t) {
|
|
679
752
|
if (!t.customMerge)
|
|
680
753
|
return F;
|
|
681
754
|
var r = t.customMerge(e);
|
|
682
755
|
return typeof r == "function" ? r : F;
|
|
683
756
|
}
|
|
684
|
-
function
|
|
757
|
+
function mr(e) {
|
|
685
758
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
686
759
|
return Object.propertyIsEnumerable.call(e, t);
|
|
687
760
|
}) : [];
|
|
688
761
|
}
|
|
689
|
-
function
|
|
690
|
-
return Object.keys(e).concat(
|
|
762
|
+
function ke(e) {
|
|
763
|
+
return Object.keys(e).concat(mr(e));
|
|
691
764
|
}
|
|
692
|
-
function
|
|
765
|
+
function ct(e, t) {
|
|
693
766
|
try {
|
|
694
767
|
return t in e;
|
|
695
768
|
} catch {
|
|
696
769
|
return !1;
|
|
697
770
|
}
|
|
698
771
|
}
|
|
699
|
-
function
|
|
700
|
-
return
|
|
772
|
+
function gr(e, t) {
|
|
773
|
+
return ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
701
774
|
}
|
|
702
|
-
function
|
|
775
|
+
function dr(e, t, r) {
|
|
703
776
|
var n = {};
|
|
704
|
-
return r.isMergeableObject(e) &&
|
|
777
|
+
return r.isMergeableObject(e) && ke(e).forEach(function(i) {
|
|
705
778
|
n[i] = Y(e[i], r);
|
|
706
|
-
}),
|
|
707
|
-
|
|
779
|
+
}), ke(t).forEach(function(i) {
|
|
780
|
+
gr(e, i) || (ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = cr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
708
781
|
}), n;
|
|
709
782
|
}
|
|
710
783
|
function F(e, t, r) {
|
|
711
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
784
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || fr, r.isMergeableObject = r.isMergeableObject || ir, r.cloneUnlessOtherwiseSpecified = Y;
|
|
712
785
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
713
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
786
|
+
return s ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) : Y(t, r);
|
|
714
787
|
}
|
|
715
788
|
F.all = function(t, r) {
|
|
716
789
|
if (!Array.isArray(t))
|
|
@@ -719,56 +792,58 @@ F.all = function(t, r) {
|
|
|
719
792
|
return F(n, i, r);
|
|
720
793
|
}, {});
|
|
721
794
|
};
|
|
722
|
-
var
|
|
723
|
-
const
|
|
724
|
-
function
|
|
725
|
-
var r = t && t.cache ? t.cache :
|
|
795
|
+
var br = F, pr = br;
|
|
796
|
+
const yr = /* @__PURE__ */ nr(pr);
|
|
797
|
+
function Ee(e, t) {
|
|
798
|
+
var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : Hr, i = t && t.strategy ? t.strategy : vr;
|
|
726
799
|
return i(e, {
|
|
727
800
|
cache: r,
|
|
728
801
|
serializer: n
|
|
729
802
|
});
|
|
730
803
|
}
|
|
731
|
-
function
|
|
804
|
+
function Er(e) {
|
|
732
805
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
733
806
|
}
|
|
734
|
-
function
|
|
735
|
-
var i =
|
|
807
|
+
function mt(e, t, r, n) {
|
|
808
|
+
var i = Er(n) ? n : r(n), s = t.get(i);
|
|
736
809
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
737
810
|
}
|
|
738
|
-
function
|
|
811
|
+
function gt(e, t, r) {
|
|
739
812
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
740
813
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
741
814
|
}
|
|
742
|
-
function
|
|
815
|
+
function $e(e, t, r, n, i) {
|
|
743
816
|
return r.bind(t, e, n, i);
|
|
744
817
|
}
|
|
745
|
-
function
|
|
746
|
-
var r = e.length === 1 ?
|
|
747
|
-
return
|
|
818
|
+
function vr(e, t) {
|
|
819
|
+
var r = e.length === 1 ? mt : gt;
|
|
820
|
+
return $e(e, this, r, t.cache.create(), t.serializer);
|
|
821
|
+
}
|
|
822
|
+
function _r(e, t) {
|
|
823
|
+
return $e(e, this, gt, t.cache.create(), t.serializer);
|
|
748
824
|
}
|
|
749
|
-
function
|
|
750
|
-
return
|
|
825
|
+
function xr(e, t) {
|
|
826
|
+
return $e(e, this, mt, t.cache.create(), t.serializer);
|
|
751
827
|
}
|
|
752
|
-
var
|
|
828
|
+
var Hr = function() {
|
|
753
829
|
return JSON.stringify(arguments);
|
|
754
|
-
}
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
}()
|
|
766
|
-
), xr = {
|
|
830
|
+
};
|
|
831
|
+
function Ue() {
|
|
832
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
833
|
+
}
|
|
834
|
+
Ue.prototype.get = function(e) {
|
|
835
|
+
return this.cache[e];
|
|
836
|
+
};
|
|
837
|
+
Ue.prototype.set = function(e, t) {
|
|
838
|
+
this.cache[e] = t;
|
|
839
|
+
};
|
|
840
|
+
var Tr = {
|
|
767
841
|
create: function() {
|
|
768
|
-
return new
|
|
842
|
+
return new Ue();
|
|
769
843
|
}
|
|
770
|
-
},
|
|
771
|
-
variadic:
|
|
844
|
+
}, ve = {
|
|
845
|
+
variadic: _r,
|
|
846
|
+
monadic: xr
|
|
772
847
|
}, d;
|
|
773
848
|
(function(e) {
|
|
774
849
|
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";
|
|
@@ -781,43 +856,43 @@ var j;
|
|
|
781
856
|
(function(e) {
|
|
782
857
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
783
858
|
})(j || (j = {}));
|
|
784
|
-
function
|
|
859
|
+
function Ve(e) {
|
|
785
860
|
return e.type === v.literal;
|
|
786
861
|
}
|
|
787
|
-
function
|
|
862
|
+
function Sr(e) {
|
|
788
863
|
return e.type === v.argument;
|
|
789
864
|
}
|
|
790
|
-
function
|
|
865
|
+
function dt(e) {
|
|
791
866
|
return e.type === v.number;
|
|
792
867
|
}
|
|
793
|
-
function
|
|
868
|
+
function bt(e) {
|
|
794
869
|
return e.type === v.date;
|
|
795
870
|
}
|
|
796
|
-
function
|
|
871
|
+
function pt(e) {
|
|
797
872
|
return e.type === v.time;
|
|
798
873
|
}
|
|
799
|
-
function
|
|
874
|
+
function yt(e) {
|
|
800
875
|
return e.type === v.select;
|
|
801
876
|
}
|
|
802
|
-
function
|
|
877
|
+
function Et(e) {
|
|
803
878
|
return e.type === v.plural;
|
|
804
879
|
}
|
|
805
|
-
function
|
|
880
|
+
function Br(e) {
|
|
806
881
|
return e.type === v.pound;
|
|
807
882
|
}
|
|
808
|
-
function
|
|
883
|
+
function vt(e) {
|
|
809
884
|
return e.type === v.tag;
|
|
810
885
|
}
|
|
811
|
-
function
|
|
886
|
+
function _t(e) {
|
|
812
887
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
813
888
|
}
|
|
814
|
-
function
|
|
889
|
+
function we(e) {
|
|
815
890
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
816
891
|
}
|
|
817
|
-
var
|
|
818
|
-
function
|
|
892
|
+
var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ar = /(?:[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;
|
|
893
|
+
function wr(e) {
|
|
819
894
|
var t = {};
|
|
820
|
-
return e.replace(
|
|
895
|
+
return e.replace(Ar, function(r) {
|
|
821
896
|
var n = r.length;
|
|
822
897
|
switch (r[0]) {
|
|
823
898
|
case "G":
|
|
@@ -906,11 +981,11 @@ function Br(e) {
|
|
|
906
981
|
return "";
|
|
907
982
|
}), t;
|
|
908
983
|
}
|
|
909
|
-
var
|
|
910
|
-
function
|
|
984
|
+
var Pr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
985
|
+
function Nr(e) {
|
|
911
986
|
if (e.length === 0)
|
|
912
987
|
throw new Error("Number skeleton cannot be empty");
|
|
913
|
-
for (var t = e.split(
|
|
988
|
+
for (var t = e.split(Pr).filter(function(f) {
|
|
914
989
|
return f.length > 0;
|
|
915
990
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
916
991
|
var s = i[n], a = s.split("/");
|
|
@@ -925,17 +1000,17 @@ function wr(e) {
|
|
|
925
1000
|
}
|
|
926
1001
|
return r;
|
|
927
1002
|
}
|
|
928
|
-
function
|
|
1003
|
+
function Or(e) {
|
|
929
1004
|
return e.replace(/^(.*?)-/, "");
|
|
930
1005
|
}
|
|
931
|
-
var
|
|
932
|
-
function
|
|
1006
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ht = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, Tt = /^(0+)$/;
|
|
1007
|
+
function ze(e) {
|
|
933
1008
|
var t = {};
|
|
934
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1009
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ht, function(r, n, i) {
|
|
935
1010
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
936
1011
|
}), t;
|
|
937
1012
|
}
|
|
938
|
-
function
|
|
1013
|
+
function St(e) {
|
|
939
1014
|
switch (e) {
|
|
940
1015
|
case "sign-auto":
|
|
941
1016
|
return {
|
|
@@ -975,7 +1050,7 @@ function Ht(e) {
|
|
|
975
1050
|
};
|
|
976
1051
|
}
|
|
977
1052
|
}
|
|
978
|
-
function
|
|
1053
|
+
function Lr(e) {
|
|
979
1054
|
var t;
|
|
980
1055
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
981
1056
|
notation: "engineering"
|
|
@@ -983,17 +1058,17 @@ function Nr(e) {
|
|
|
983
1058
|
notation: "scientific"
|
|
984
1059
|
}, e = e.slice(1)), t) {
|
|
985
1060
|
var r = e.slice(0, 2);
|
|
986
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1061
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tt.test(e))
|
|
987
1062
|
throw new Error("Malformed concise eng/scientific notation");
|
|
988
1063
|
t.minimumIntegerDigits = e.length;
|
|
989
1064
|
}
|
|
990
1065
|
return t;
|
|
991
1066
|
}
|
|
992
|
-
function
|
|
993
|
-
var t = {}, r =
|
|
1067
|
+
function We(e) {
|
|
1068
|
+
var t = {}, r = St(e);
|
|
994
1069
|
return r || t;
|
|
995
1070
|
}
|
|
996
|
-
function
|
|
1071
|
+
function Cr(e) {
|
|
997
1072
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
998
1073
|
var i = n[r];
|
|
999
1074
|
switch (i.stem) {
|
|
@@ -1017,7 +1092,7 @@ function Ir(e) {
|
|
|
1017
1092
|
continue;
|
|
1018
1093
|
case "measure-unit":
|
|
1019
1094
|
case "unit":
|
|
1020
|
-
t.style = "unit", t.unit =
|
|
1095
|
+
t.style = "unit", t.unit = Or(i.options[0]);
|
|
1021
1096
|
continue;
|
|
1022
1097
|
case "compact-short":
|
|
1023
1098
|
case "K":
|
|
@@ -1029,12 +1104,12 @@ function Ir(e) {
|
|
|
1029
1104
|
continue;
|
|
1030
1105
|
case "scientific":
|
|
1031
1106
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1032
|
-
return E(E({}, l),
|
|
1107
|
+
return E(E({}, l), We(u));
|
|
1033
1108
|
}, {}));
|
|
1034
1109
|
continue;
|
|
1035
1110
|
case "engineering":
|
|
1036
1111
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1037
|
-
return E(E({}, l),
|
|
1112
|
+
return E(E({}, l), We(u));
|
|
1038
1113
|
}, {}));
|
|
1039
1114
|
continue;
|
|
1040
1115
|
case "notation-simple":
|
|
@@ -1079,7 +1154,7 @@ function Ir(e) {
|
|
|
1079
1154
|
case "integer-width":
|
|
1080
1155
|
if (i.options.length > 1)
|
|
1081
1156
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1082
|
-
i.options[0].replace(
|
|
1157
|
+
i.options[0].replace(Ir, function(l, u, h, m, f, b) {
|
|
1083
1158
|
if (u)
|
|
1084
1159
|
t.minimumIntegerDigits = h.length;
|
|
1085
1160
|
else {
|
|
@@ -1092,32 +1167,32 @@ function Ir(e) {
|
|
|
1092
1167
|
});
|
|
1093
1168
|
continue;
|
|
1094
1169
|
}
|
|
1095
|
-
if (
|
|
1170
|
+
if (Tt.test(i.stem)) {
|
|
1096
1171
|
t.minimumIntegerDigits = i.stem.length;
|
|
1097
1172
|
continue;
|
|
1098
1173
|
}
|
|
1099
|
-
if (
|
|
1174
|
+
if (Xe.test(i.stem)) {
|
|
1100
1175
|
if (i.options.length > 1)
|
|
1101
1176
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1102
|
-
i.stem.replace(
|
|
1177
|
+
i.stem.replace(Xe, function(l, u, h, m, f, b) {
|
|
1103
1178
|
return h === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1104
1179
|
});
|
|
1105
1180
|
var s = i.options[0];
|
|
1106
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1181
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ze(s)));
|
|
1107
1182
|
continue;
|
|
1108
1183
|
}
|
|
1109
|
-
if (
|
|
1110
|
-
t = E(E({}, t),
|
|
1184
|
+
if (Ht.test(i.stem)) {
|
|
1185
|
+
t = E(E({}, t), ze(i.stem));
|
|
1111
1186
|
continue;
|
|
1112
1187
|
}
|
|
1113
|
-
var a =
|
|
1188
|
+
var a = St(i.stem);
|
|
1114
1189
|
a && (t = E(E({}, t), a));
|
|
1115
|
-
var o =
|
|
1190
|
+
var o = Lr(i.stem);
|
|
1116
1191
|
o && (t = E(E({}, t), o));
|
|
1117
1192
|
}
|
|
1118
1193
|
return t;
|
|
1119
1194
|
}
|
|
1120
|
-
var
|
|
1195
|
+
var ie = {
|
|
1121
1196
|
"001": [
|
|
1122
1197
|
"H",
|
|
1123
1198
|
"h"
|
|
@@ -2532,13 +2607,13 @@ var re = {
|
|
|
2532
2607
|
"h"
|
|
2533
2608
|
]
|
|
2534
2609
|
};
|
|
2535
|
-
function
|
|
2610
|
+
function Mr(e, t) {
|
|
2536
2611
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2537
2612
|
var i = e.charAt(n);
|
|
2538
2613
|
if (i === "j") {
|
|
2539
2614
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2540
2615
|
s++, n++;
|
|
2541
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2616
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Rr(t);
|
|
2542
2617
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2543
2618
|
r += l;
|
|
2544
2619
|
for (; a-- > 0; )
|
|
@@ -2548,7 +2623,7 @@ function Lr(e, t) {
|
|
|
2548
2623
|
}
|
|
2549
2624
|
return r;
|
|
2550
2625
|
}
|
|
2551
|
-
function
|
|
2626
|
+
function Rr(e) {
|
|
2552
2627
|
var t = e.hourCycle;
|
|
2553
2628
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2554
2629
|
e.hourCycles && // @ts-ignore
|
|
@@ -2567,23 +2642,23 @@ function Cr(e) {
|
|
|
2567
2642
|
}
|
|
2568
2643
|
var r = e.language, n;
|
|
2569
2644
|
r !== "root" && (n = e.maximize().region);
|
|
2570
|
-
var i =
|
|
2645
|
+
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
|
2571
2646
|
return i[0];
|
|
2572
2647
|
}
|
|
2573
|
-
var
|
|
2648
|
+
var _e, $r = new RegExp("^".concat(xt.source, "*")), Ur = new RegExp("".concat(xt.source, "*$"));
|
|
2574
2649
|
function p(e, t) {
|
|
2575
2650
|
return { start: e, end: t };
|
|
2576
2651
|
}
|
|
2577
|
-
var
|
|
2652
|
+
var Dr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gr = !!String.fromCodePoint, Fr = !!Object.fromEntries, jr = !!String.prototype.codePointAt, kr = !!String.prototype.trimStart, Vr = !!String.prototype.trimEnd, Xr = !!Number.isSafeInteger, zr = Xr ? Number.isSafeInteger : function(e) {
|
|
2578
2653
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2579
|
-
},
|
|
2654
|
+
}, Pe = !0;
|
|
2580
2655
|
try {
|
|
2581
|
-
var
|
|
2582
|
-
|
|
2656
|
+
var Wr = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2657
|
+
Pe = ((_e = Wr.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
|
|
2583
2658
|
} catch {
|
|
2584
|
-
|
|
2659
|
+
Pe = !1;
|
|
2585
2660
|
}
|
|
2586
|
-
var
|
|
2661
|
+
var Ze = Dr ? (
|
|
2587
2662
|
// Native
|
|
2588
2663
|
function(t, r, n) {
|
|
2589
2664
|
return t.startsWith(r, n);
|
|
@@ -2593,7 +2668,7 @@ var ze = $r ? (
|
|
|
2593
2668
|
function(t, r, n) {
|
|
2594
2669
|
return t.slice(n, n + r.length) === r;
|
|
2595
2670
|
}
|
|
2596
|
-
),
|
|
2671
|
+
), Ne = Gr ? String.fromCodePoint : (
|
|
2597
2672
|
// IE11
|
|
2598
2673
|
function() {
|
|
2599
2674
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2605,9 +2680,9 @@ var ze = $r ? (
|
|
|
2605
2680
|
}
|
|
2606
2681
|
return n;
|
|
2607
2682
|
}
|
|
2608
|
-
),
|
|
2683
|
+
), Qe = (
|
|
2609
2684
|
// native
|
|
2610
|
-
|
|
2685
|
+
Fr ? Object.fromEntries : (
|
|
2611
2686
|
// Ponyfill
|
|
2612
2687
|
function(t) {
|
|
2613
2688
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2617,7 +2692,7 @@ var ze = $r ? (
|
|
|
2617
2692
|
return r;
|
|
2618
2693
|
}
|
|
2619
2694
|
)
|
|
2620
|
-
),
|
|
2695
|
+
), Bt = jr ? (
|
|
2621
2696
|
// Native
|
|
2622
2697
|
function(t, r) {
|
|
2623
2698
|
return t.codePointAt(r);
|
|
@@ -2631,7 +2706,7 @@ var ze = $r ? (
|
|
|
2631
2706
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2632
2707
|
}
|
|
2633
2708
|
}
|
|
2634
|
-
),
|
|
2709
|
+
), Zr = kr ? (
|
|
2635
2710
|
// Native
|
|
2636
2711
|
function(t) {
|
|
2637
2712
|
return t.trimStart();
|
|
@@ -2639,9 +2714,9 @@ var ze = $r ? (
|
|
|
2639
2714
|
) : (
|
|
2640
2715
|
// Ponyfill
|
|
2641
2716
|
function(t) {
|
|
2642
|
-
return t.replace(
|
|
2717
|
+
return t.replace($r, "");
|
|
2643
2718
|
}
|
|
2644
|
-
),
|
|
2719
|
+
), Qr = Vr ? (
|
|
2645
2720
|
// Native
|
|
2646
2721
|
function(t) {
|
|
2647
2722
|
return t.trimEnd();
|
|
@@ -2649,32 +2724,32 @@ var ze = $r ? (
|
|
|
2649
2724
|
) : (
|
|
2650
2725
|
// Ponyfill
|
|
2651
2726
|
function(t) {
|
|
2652
|
-
return t.replace(
|
|
2727
|
+
return t.replace(Ur, "");
|
|
2653
2728
|
}
|
|
2654
2729
|
);
|
|
2655
|
-
function
|
|
2730
|
+
function At(e, t) {
|
|
2656
2731
|
return new RegExp(e, t);
|
|
2657
2732
|
}
|
|
2658
|
-
var
|
|
2659
|
-
if (
|
|
2660
|
-
var
|
|
2661
|
-
|
|
2733
|
+
var Oe;
|
|
2734
|
+
if (Pe) {
|
|
2735
|
+
var qe = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2736
|
+
Oe = function(t, r) {
|
|
2662
2737
|
var n;
|
|
2663
|
-
|
|
2664
|
-
var i =
|
|
2738
|
+
qe.lastIndex = r;
|
|
2739
|
+
var i = qe.exec(t);
|
|
2665
2740
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2666
2741
|
};
|
|
2667
2742
|
} else
|
|
2668
|
-
|
|
2743
|
+
Oe = function(t, r) {
|
|
2669
2744
|
for (var n = []; ; ) {
|
|
2670
|
-
var i =
|
|
2671
|
-
if (i === void 0 ||
|
|
2745
|
+
var i = Bt(t, r);
|
|
2746
|
+
if (i === void 0 || wt(i) || Kr(i))
|
|
2672
2747
|
break;
|
|
2673
2748
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2674
2749
|
}
|
|
2675
|
-
return
|
|
2750
|
+
return Ne.apply(void 0, n);
|
|
2676
2751
|
};
|
|
2677
|
-
var
|
|
2752
|
+
var qr = (
|
|
2678
2753
|
/** @class */
|
|
2679
2754
|
function() {
|
|
2680
2755
|
function e(t, r) {
|
|
@@ -2705,7 +2780,7 @@ var Zr = (
|
|
|
2705
2780
|
if (n)
|
|
2706
2781
|
break;
|
|
2707
2782
|
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2708
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2783
|
+
} else if (s === 60 && !this.ignoreTag && Ie(this.peek() || 0)) {
|
|
2709
2784
|
var a = this.parseTag(t, r);
|
|
2710
2785
|
if (a.err)
|
|
2711
2786
|
return a;
|
|
@@ -2738,7 +2813,7 @@ var Zr = (
|
|
|
2738
2813
|
return s;
|
|
2739
2814
|
var a = s.val, o = this.clonePosition();
|
|
2740
2815
|
if (this.bumpIf("</")) {
|
|
2741
|
-
if (this.isEOF() || !
|
|
2816
|
+
if (this.isEOF() || !Ie(this.char()))
|
|
2742
2817
|
return this.error(d.INVALID_TAG, p(o, this.clonePosition()));
|
|
2743
2818
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2744
2819
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -2756,7 +2831,7 @@ var Zr = (
|
|
|
2756
2831
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2757
2832
|
}, e.prototype.parseTagName = function() {
|
|
2758
2833
|
var t = this.offset();
|
|
2759
|
-
for (this.bump(); !this.isEOF() &&
|
|
2834
|
+
for (this.bump(); !this.isEOF() && Yr(this.char()); )
|
|
2760
2835
|
this.bump();
|
|
2761
2836
|
return this.message.slice(t, this.offset());
|
|
2762
2837
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2785,7 +2860,7 @@ var Zr = (
|
|
|
2785
2860
|
};
|
|
2786
2861
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2787
2862
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2788
|
-
!
|
|
2863
|
+
!Jr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2789
2864
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2790
2865
|
if (this.isEOF() || this.char() !== 39)
|
|
2791
2866
|
return null;
|
|
@@ -2819,12 +2894,12 @@ var Zr = (
|
|
|
2819
2894
|
r.push(n);
|
|
2820
2895
|
this.bump();
|
|
2821
2896
|
}
|
|
2822
|
-
return
|
|
2897
|
+
return Ne.apply(void 0, r);
|
|
2823
2898
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2824
2899
|
if (this.isEOF())
|
|
2825
2900
|
return null;
|
|
2826
2901
|
var n = this.char();
|
|
2827
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2902
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ne(n));
|
|
2828
2903
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2829
2904
|
var n = this.clonePosition();
|
|
2830
2905
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2853,7 +2928,7 @@ var Zr = (
|
|
|
2853
2928
|
return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
|
|
2854
2929
|
}
|
|
2855
2930
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2856
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2931
|
+
var t = this.clonePosition(), r = this.offset(), n = Oe(this.message, r), i = r + n.length;
|
|
2857
2932
|
this.bumpTo(i);
|
|
2858
2933
|
var s = this.clonePosition(), a = p(t, s);
|
|
2859
2934
|
return { value: n, location: a };
|
|
@@ -2872,7 +2947,7 @@ var Zr = (
|
|
|
2872
2947
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2873
2948
|
if (m.err)
|
|
2874
2949
|
return m;
|
|
2875
|
-
var f =
|
|
2950
|
+
var f = Qr(m.val);
|
|
2876
2951
|
if (f.length === 0)
|
|
2877
2952
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2878
2953
|
var b = p(h, this.clonePosition());
|
|
@@ -2882,8 +2957,8 @@ var Zr = (
|
|
|
2882
2957
|
if (y.err)
|
|
2883
2958
|
return y;
|
|
2884
2959
|
var _ = p(i, this.clonePosition());
|
|
2885
|
-
if (u &&
|
|
2886
|
-
var T =
|
|
2960
|
+
if (u && Ze(u?.style, "::", 0)) {
|
|
2961
|
+
var T = Zr(u.style.slice(2));
|
|
2887
2962
|
if (o === "number") {
|
|
2888
2963
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2889
2964
|
return m.err ? m : {
|
|
@@ -2894,12 +2969,12 @@ var Zr = (
|
|
|
2894
2969
|
if (T.length === 0)
|
|
2895
2970
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2896
2971
|
var w = T;
|
|
2897
|
-
this.locale && (w =
|
|
2972
|
+
this.locale && (w = Mr(T, this.locale));
|
|
2898
2973
|
var f = {
|
|
2899
2974
|
type: j.dateTime,
|
|
2900
2975
|
pattern: w,
|
|
2901
2976
|
location: u.styleLocation,
|
|
2902
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2977
|
+
parsedOptions: this.shouldParseSkeletons ? wr(w) : {}
|
|
2903
2978
|
}, A = o === "date" ? v.date : v.time;
|
|
2904
2979
|
return {
|
|
2905
2980
|
val: { type: A, value: n, location: _, style: f },
|
|
@@ -2934,9 +3009,9 @@ var Zr = (
|
|
|
2934
3009
|
return m;
|
|
2935
3010
|
this.bumpSpace(), P = this.parseIdentifierIfPossible(), x = m.val;
|
|
2936
3011
|
}
|
|
2937
|
-
var
|
|
2938
|
-
if (
|
|
2939
|
-
return
|
|
3012
|
+
var O = this.tryParsePluralOrSelectOptions(t, o, r, P);
|
|
3013
|
+
if (O.err)
|
|
3014
|
+
return O;
|
|
2940
3015
|
var y = this.tryParseArgumentClose(i);
|
|
2941
3016
|
if (y.err)
|
|
2942
3017
|
return y;
|
|
@@ -2945,7 +3020,7 @@ var Zr = (
|
|
|
2945
3020
|
val: {
|
|
2946
3021
|
type: v.select,
|
|
2947
3022
|
value: n,
|
|
2948
|
-
options:
|
|
3023
|
+
options: Qe(O.val),
|
|
2949
3024
|
location: c
|
|
2950
3025
|
},
|
|
2951
3026
|
err: null
|
|
@@ -2953,7 +3028,7 @@ var Zr = (
|
|
|
2953
3028
|
val: {
|
|
2954
3029
|
type: v.plural,
|
|
2955
3030
|
value: n,
|
|
2956
|
-
options:
|
|
3031
|
+
options: Qe(O.val),
|
|
2957
3032
|
offset: x,
|
|
2958
3033
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2959
3034
|
location: c
|
|
@@ -3004,7 +3079,7 @@ var Zr = (
|
|
|
3004
3079
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3005
3080
|
var n = [];
|
|
3006
3081
|
try {
|
|
3007
|
-
n =
|
|
3082
|
+
n = Nr(t);
|
|
3008
3083
|
} catch {
|
|
3009
3084
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3010
3085
|
}
|
|
@@ -3013,7 +3088,7 @@ var Zr = (
|
|
|
3013
3088
|
type: j.number,
|
|
3014
3089
|
tokens: n,
|
|
3015
3090
|
location: r,
|
|
3016
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3091
|
+
parsedOptions: this.shouldParseSkeletons ? Cr(n) : {}
|
|
3017
3092
|
},
|
|
3018
3093
|
err: null
|
|
3019
3094
|
};
|
|
@@ -3061,7 +3136,7 @@ var Zr = (
|
|
|
3061
3136
|
break;
|
|
3062
3137
|
}
|
|
3063
3138
|
var l = p(i, this.clonePosition());
|
|
3064
|
-
return s ? (a *= n,
|
|
3139
|
+
return s ? (a *= n, zr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3065
3140
|
}, e.prototype.offset = function() {
|
|
3066
3141
|
return this.position.offset;
|
|
3067
3142
|
}, e.prototype.isEOF = function() {
|
|
@@ -3076,7 +3151,7 @@ var Zr = (
|
|
|
3076
3151
|
var t = this.position.offset;
|
|
3077
3152
|
if (t >= this.message.length)
|
|
3078
3153
|
throw Error("out of bound");
|
|
3079
|
-
var r =
|
|
3154
|
+
var r = Bt(this.message, t);
|
|
3080
3155
|
if (r === void 0)
|
|
3081
3156
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3082
3157
|
return r;
|
|
@@ -3095,7 +3170,7 @@ var Zr = (
|
|
|
3095
3170
|
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);
|
|
3096
3171
|
}
|
|
3097
3172
|
}, e.prototype.bumpIf = function(t) {
|
|
3098
|
-
if (
|
|
3173
|
+
if (Ze(this.message, t, this.offset())) {
|
|
3099
3174
|
for (var r = 0; r < t.length; r++)
|
|
3100
3175
|
this.bump();
|
|
3101
3176
|
return !0;
|
|
@@ -3117,7 +3192,7 @@ var Zr = (
|
|
|
3117
3192
|
break;
|
|
3118
3193
|
}
|
|
3119
3194
|
}, e.prototype.bumpSpace = function() {
|
|
3120
|
-
for (; !this.isEOF() &&
|
|
3195
|
+
for (; !this.isEOF() && wt(this.char()); )
|
|
3121
3196
|
this.bump();
|
|
3122
3197
|
}, e.prototype.peek = function() {
|
|
3123
3198
|
if (this.isEOF())
|
|
@@ -3127,47 +3202,47 @@ var Zr = (
|
|
|
3127
3202
|
}, e;
|
|
3128
3203
|
}()
|
|
3129
3204
|
);
|
|
3130
|
-
function
|
|
3205
|
+
function Ie(e) {
|
|
3131
3206
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3132
3207
|
}
|
|
3133
|
-
function
|
|
3134
|
-
return
|
|
3208
|
+
function Jr(e) {
|
|
3209
|
+
return Ie(e) || e === 47;
|
|
3135
3210
|
}
|
|
3136
|
-
function
|
|
3211
|
+
function Yr(e) {
|
|
3137
3212
|
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;
|
|
3138
3213
|
}
|
|
3139
|
-
function
|
|
3214
|
+
function wt(e) {
|
|
3140
3215
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3141
3216
|
}
|
|
3142
|
-
function
|
|
3217
|
+
function Kr(e) {
|
|
3143
3218
|
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;
|
|
3144
3219
|
}
|
|
3145
|
-
function
|
|
3220
|
+
function Le(e) {
|
|
3146
3221
|
e.forEach(function(t) {
|
|
3147
|
-
if (delete t.location,
|
|
3222
|
+
if (delete t.location, yt(t) || Et(t))
|
|
3148
3223
|
for (var r in t.options)
|
|
3149
|
-
delete t.options[r].location,
|
|
3224
|
+
delete t.options[r].location, Le(t.options[r].value);
|
|
3150
3225
|
else
|
|
3151
|
-
|
|
3226
|
+
dt(t) && _t(t.style) || (bt(t) || pt(t)) && we(t.style) ? delete t.style.location : vt(t) && Le(t.children);
|
|
3152
3227
|
});
|
|
3153
3228
|
}
|
|
3154
|
-
function
|
|
3229
|
+
function en(e, t) {
|
|
3155
3230
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3156
|
-
var r = new
|
|
3231
|
+
var r = new qr(e, t).parse();
|
|
3157
3232
|
if (r.err) {
|
|
3158
3233
|
var n = SyntaxError(d[r.err.kind]);
|
|
3159
3234
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3160
3235
|
}
|
|
3161
|
-
return t?.captureLocation ||
|
|
3236
|
+
return t?.captureLocation || Le(r.val), r.val;
|
|
3162
3237
|
}
|
|
3163
3238
|
var k;
|
|
3164
3239
|
(function(e) {
|
|
3165
3240
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3166
3241
|
})(k || (k = {}));
|
|
3167
|
-
var
|
|
3242
|
+
var ge = (
|
|
3168
3243
|
/** @class */
|
|
3169
3244
|
function(e) {
|
|
3170
|
-
|
|
3245
|
+
ce(t, e);
|
|
3171
3246
|
function t(r, n, i) {
|
|
3172
3247
|
var s = e.call(this, r) || this;
|
|
3173
3248
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3176,48 +3251,48 @@ var ce = (
|
|
|
3176
3251
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3177
3252
|
}, t;
|
|
3178
3253
|
}(Error)
|
|
3179
|
-
),
|
|
3254
|
+
), Je = (
|
|
3180
3255
|
/** @class */
|
|
3181
3256
|
function(e) {
|
|
3182
|
-
|
|
3257
|
+
ce(t, e);
|
|
3183
3258
|
function t(r, n, i, s) {
|
|
3184
3259
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
|
|
3185
3260
|
}
|
|
3186
3261
|
return t;
|
|
3187
|
-
}(
|
|
3188
|
-
),
|
|
3262
|
+
}(ge)
|
|
3263
|
+
), tn = (
|
|
3189
3264
|
/** @class */
|
|
3190
3265
|
function(e) {
|
|
3191
|
-
|
|
3266
|
+
ce(t, e);
|
|
3192
3267
|
function t(r, n, i) {
|
|
3193
3268
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
|
|
3194
3269
|
}
|
|
3195
3270
|
return t;
|
|
3196
|
-
}(
|
|
3197
|
-
),
|
|
3271
|
+
}(ge)
|
|
3272
|
+
), rn = (
|
|
3198
3273
|
/** @class */
|
|
3199
3274
|
function(e) {
|
|
3200
|
-
|
|
3275
|
+
ce(t, e);
|
|
3201
3276
|
function t(r, n) {
|
|
3202
3277
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
|
|
3203
3278
|
}
|
|
3204
3279
|
return t;
|
|
3205
|
-
}(
|
|
3280
|
+
}(ge)
|
|
3206
3281
|
), B;
|
|
3207
3282
|
(function(e) {
|
|
3208
3283
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3209
3284
|
})(B || (B = {}));
|
|
3210
|
-
function
|
|
3285
|
+
function nn(e) {
|
|
3211
3286
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3212
3287
|
var n = t[t.length - 1];
|
|
3213
3288
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3214
3289
|
}, []);
|
|
3215
3290
|
}
|
|
3216
|
-
function
|
|
3291
|
+
function sn(e) {
|
|
3217
3292
|
return typeof e == "function";
|
|
3218
3293
|
}
|
|
3219
|
-
function
|
|
3220
|
-
if (e.length === 1 &&
|
|
3294
|
+
function ae(e, t, r, n, i, s, a) {
|
|
3295
|
+
if (e.length === 1 && Ve(e[0]))
|
|
3221
3296
|
return [
|
|
3222
3297
|
{
|
|
3223
3298
|
type: B.literal,
|
|
@@ -3226,14 +3301,14 @@ function ie(e, t, r, n, i, s, a) {
|
|
|
3226
3301
|
];
|
|
3227
3302
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3228
3303
|
var h = u[l];
|
|
3229
|
-
if (
|
|
3304
|
+
if (Ve(h)) {
|
|
3230
3305
|
o.push({
|
|
3231
3306
|
type: B.literal,
|
|
3232
3307
|
value: h.value
|
|
3233
3308
|
});
|
|
3234
3309
|
continue;
|
|
3235
3310
|
}
|
|
3236
|
-
if (
|
|
3311
|
+
if (Br(h)) {
|
|
3237
3312
|
typeof s == "number" && o.push({
|
|
3238
3313
|
type: B.literal,
|
|
3239
3314
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3242,44 +3317,44 @@ function ie(e, t, r, n, i, s, a) {
|
|
|
3242
3317
|
}
|
|
3243
3318
|
var m = h.value;
|
|
3244
3319
|
if (!(i && m in i))
|
|
3245
|
-
throw new
|
|
3320
|
+
throw new rn(m, a);
|
|
3246
3321
|
var f = i[m];
|
|
3247
|
-
if (
|
|
3322
|
+
if (Sr(h)) {
|
|
3248
3323
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3249
3324
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3250
3325
|
value: f
|
|
3251
3326
|
});
|
|
3252
3327
|
continue;
|
|
3253
3328
|
}
|
|
3254
|
-
if (
|
|
3255
|
-
var b = typeof h.style == "string" ? n.date[h.style] :
|
|
3329
|
+
if (bt(h)) {
|
|
3330
|
+
var b = typeof h.style == "string" ? n.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
|
|
3256
3331
|
o.push({
|
|
3257
3332
|
type: B.literal,
|
|
3258
3333
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3259
3334
|
});
|
|
3260
3335
|
continue;
|
|
3261
3336
|
}
|
|
3262
|
-
if (
|
|
3263
|
-
var b = typeof h.style == "string" ? n.time[h.style] :
|
|
3337
|
+
if (pt(h)) {
|
|
3338
|
+
var b = typeof h.style == "string" ? n.time[h.style] : we(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3264
3339
|
o.push({
|
|
3265
3340
|
type: B.literal,
|
|
3266
3341
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3267
3342
|
});
|
|
3268
3343
|
continue;
|
|
3269
3344
|
}
|
|
3270
|
-
if (
|
|
3271
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3345
|
+
if (dt(h)) {
|
|
3346
|
+
var b = typeof h.style == "string" ? n.number[h.style] : _t(h.style) ? h.style.parsedOptions : void 0;
|
|
3272
3347
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3273
3348
|
type: B.literal,
|
|
3274
3349
|
value: r.getNumberFormat(t, b).format(f)
|
|
3275
3350
|
});
|
|
3276
3351
|
continue;
|
|
3277
3352
|
}
|
|
3278
|
-
if (
|
|
3353
|
+
if (vt(h)) {
|
|
3279
3354
|
var y = h.children, _ = h.value, T = i[_];
|
|
3280
|
-
if (!
|
|
3281
|
-
throw new
|
|
3282
|
-
var w =
|
|
3355
|
+
if (!sn(T))
|
|
3356
|
+
throw new tn(_, "function", a);
|
|
3357
|
+
var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3283
3358
|
return x.value;
|
|
3284
3359
|
}));
|
|
3285
3360
|
Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(x) {
|
|
@@ -3289,42 +3364,42 @@ function ie(e, t, r, n, i, s, a) {
|
|
|
3289
3364
|
};
|
|
3290
3365
|
}));
|
|
3291
3366
|
}
|
|
3292
|
-
if (
|
|
3367
|
+
if (yt(h)) {
|
|
3293
3368
|
var S = h.options[f] || h.options.other;
|
|
3294
3369
|
if (!S)
|
|
3295
|
-
throw new
|
|
3296
|
-
o.push.apply(o,
|
|
3370
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3371
|
+
o.push.apply(o, ae(S.value, t, r, n, i));
|
|
3297
3372
|
continue;
|
|
3298
3373
|
}
|
|
3299
|
-
if (
|
|
3374
|
+
if (Et(h)) {
|
|
3300
3375
|
var S = h.options["=".concat(f)];
|
|
3301
3376
|
if (!S) {
|
|
3302
3377
|
if (!Intl.PluralRules)
|
|
3303
|
-
throw new
|
|
3378
|
+
throw new ge(`Intl.PluralRules is not available in this environment.
|
|
3304
3379
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3305
3380
|
`, k.MISSING_INTL_API, a);
|
|
3306
3381
|
var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3307
3382
|
S = h.options[P] || h.options.other;
|
|
3308
3383
|
}
|
|
3309
3384
|
if (!S)
|
|
3310
|
-
throw new
|
|
3311
|
-
o.push.apply(o,
|
|
3385
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3386
|
+
o.push.apply(o, ae(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3312
3387
|
continue;
|
|
3313
3388
|
}
|
|
3314
3389
|
}
|
|
3315
|
-
return
|
|
3390
|
+
return nn(o);
|
|
3316
3391
|
}
|
|
3317
|
-
function
|
|
3392
|
+
function an(e, t) {
|
|
3318
3393
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3319
3394
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3320
3395
|
}, {})) : e;
|
|
3321
3396
|
}
|
|
3322
|
-
function
|
|
3397
|
+
function on(e, t) {
|
|
3323
3398
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3324
|
-
return r[n] =
|
|
3399
|
+
return r[n] = an(e[n], t[n]), r;
|
|
3325
3400
|
}, E({}, e)) : e;
|
|
3326
3401
|
}
|
|
3327
|
-
function
|
|
3402
|
+
function xe(e) {
|
|
3328
3403
|
return {
|
|
3329
3404
|
create: function() {
|
|
3330
3405
|
return {
|
|
@@ -3338,39 +3413,39 @@ function ve(e) {
|
|
|
3338
3413
|
}
|
|
3339
3414
|
};
|
|
3340
3415
|
}
|
|
3341
|
-
function
|
|
3416
|
+
function un(e) {
|
|
3342
3417
|
return e === void 0 && (e = {
|
|
3343
3418
|
number: {},
|
|
3344
3419
|
dateTime: {},
|
|
3345
3420
|
pluralRules: {}
|
|
3346
3421
|
}), {
|
|
3347
|
-
getNumberFormat:
|
|
3422
|
+
getNumberFormat: Ee(function() {
|
|
3348
3423
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3349
3424
|
r[n] = arguments[n];
|
|
3350
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3425
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], r, !1)))();
|
|
3351
3426
|
}, {
|
|
3352
|
-
cache:
|
|
3353
|
-
strategy:
|
|
3427
|
+
cache: xe(e.number),
|
|
3428
|
+
strategy: ve.variadic
|
|
3354
3429
|
}),
|
|
3355
|
-
getDateTimeFormat:
|
|
3430
|
+
getDateTimeFormat: Ee(function() {
|
|
3356
3431
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3357
3432
|
r[n] = arguments[n];
|
|
3358
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3433
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], r, !1)))();
|
|
3359
3434
|
}, {
|
|
3360
|
-
cache:
|
|
3361
|
-
strategy:
|
|
3435
|
+
cache: xe(e.dateTime),
|
|
3436
|
+
strategy: ve.variadic
|
|
3362
3437
|
}),
|
|
3363
|
-
getPluralRules:
|
|
3438
|
+
getPluralRules: Ee(function() {
|
|
3364
3439
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3365
3440
|
r[n] = arguments[n];
|
|
3366
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3441
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], r, !1)))();
|
|
3367
3442
|
}, {
|
|
3368
|
-
cache:
|
|
3369
|
-
strategy:
|
|
3443
|
+
cache: xe(e.pluralRules),
|
|
3444
|
+
strategy: ve.variadic
|
|
3370
3445
|
})
|
|
3371
3446
|
};
|
|
3372
3447
|
}
|
|
3373
|
-
var
|
|
3448
|
+
var hn = (
|
|
3374
3449
|
/** @class */
|
|
3375
3450
|
function() {
|
|
3376
3451
|
function e(t, r, n, i) {
|
|
@@ -3389,7 +3464,7 @@ var on = (
|
|
|
3389
3464
|
}, []);
|
|
3390
3465
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3391
3466
|
}, this.formatToParts = function(l) {
|
|
3392
|
-
return
|
|
3467
|
+
return ae(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3393
3468
|
}, this.resolvedOptions = function() {
|
|
3394
3469
|
var l;
|
|
3395
3470
|
return {
|
|
@@ -3402,13 +3477,13 @@ var on = (
|
|
|
3402
3477
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3403
3478
|
var a = i || {};
|
|
3404
3479
|
a.formatters;
|
|
3405
|
-
var o =
|
|
3480
|
+
var o = tr(a, ["formatters"]);
|
|
3406
3481
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3407
3482
|
} else
|
|
3408
3483
|
this.ast = t;
|
|
3409
3484
|
if (!Array.isArray(this.ast))
|
|
3410
3485
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3411
|
-
this.formats =
|
|
3486
|
+
this.formats = on(e.formats, n), this.formatters = i && i.formatters || un(this.formatterCache);
|
|
3412
3487
|
}
|
|
3413
3488
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3414
3489
|
get: function() {
|
|
@@ -3421,7 +3496,7 @@ var on = (
|
|
|
3421
3496
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3422
3497
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3423
3498
|
}
|
|
3424
|
-
}, e.__parse =
|
|
3499
|
+
}, e.__parse = en, e.formats = {
|
|
3425
3500
|
number: {
|
|
3426
3501
|
integer: {
|
|
3427
3502
|
maximumFractionDigits: 0
|
|
@@ -3482,7 +3557,7 @@ var on = (
|
|
|
3482
3557
|
}, e;
|
|
3483
3558
|
}()
|
|
3484
3559
|
);
|
|
3485
|
-
function
|
|
3560
|
+
function ln(e, t) {
|
|
3486
3561
|
if (t == null)
|
|
3487
3562
|
return;
|
|
3488
3563
|
if (t in e)
|
|
@@ -3503,92 +3578,92 @@ function un(e, t) {
|
|
|
3503
3578
|
n = void 0;
|
|
3504
3579
|
return n;
|
|
3505
3580
|
}
|
|
3506
|
-
const C = {},
|
|
3581
|
+
const C = {}, fn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Pt = (e, t) => {
|
|
3507
3582
|
if (t == null)
|
|
3508
3583
|
return;
|
|
3509
3584
|
if (t in C && e in C[t])
|
|
3510
3585
|
return C[t][e];
|
|
3511
|
-
const r =
|
|
3586
|
+
const r = de(t);
|
|
3512
3587
|
for (let n = 0; n < r.length; n++) {
|
|
3513
|
-
const i = r[n], s =
|
|
3588
|
+
const i = r[n], s = mn(i, e);
|
|
3514
3589
|
if (s)
|
|
3515
|
-
return
|
|
3590
|
+
return fn(e, t, s);
|
|
3516
3591
|
}
|
|
3517
3592
|
};
|
|
3518
|
-
let
|
|
3519
|
-
const W =
|
|
3520
|
-
function
|
|
3521
|
-
return
|
|
3593
|
+
let De;
|
|
3594
|
+
const W = me({});
|
|
3595
|
+
function cn(e) {
|
|
3596
|
+
return De[e] || null;
|
|
3522
3597
|
}
|
|
3523
|
-
function
|
|
3524
|
-
return e in
|
|
3598
|
+
function Nt(e) {
|
|
3599
|
+
return e in De;
|
|
3525
3600
|
}
|
|
3526
|
-
function
|
|
3527
|
-
if (!
|
|
3601
|
+
function mn(e, t) {
|
|
3602
|
+
if (!Nt(e))
|
|
3528
3603
|
return null;
|
|
3529
|
-
const r =
|
|
3530
|
-
return
|
|
3604
|
+
const r = cn(e);
|
|
3605
|
+
return ln(r, t);
|
|
3531
3606
|
}
|
|
3532
|
-
function
|
|
3607
|
+
function gn(e) {
|
|
3533
3608
|
if (e == null)
|
|
3534
3609
|
return;
|
|
3535
|
-
const t =
|
|
3610
|
+
const t = de(e);
|
|
3536
3611
|
for (let r = 0; r < t.length; r++) {
|
|
3537
3612
|
const n = t[r];
|
|
3538
|
-
if (
|
|
3613
|
+
if (Nt(n))
|
|
3539
3614
|
return n;
|
|
3540
3615
|
}
|
|
3541
3616
|
}
|
|
3542
|
-
function
|
|
3543
|
-
delete C[e], W.update((r) => (r[e] =
|
|
3617
|
+
function dn(e, ...t) {
|
|
3618
|
+
delete C[e], W.update((r) => (r[e] = yr.all([r[e] || {}, ...t]), r));
|
|
3544
3619
|
}
|
|
3545
3620
|
z(
|
|
3546
3621
|
[W],
|
|
3547
3622
|
([e]) => Object.keys(e)
|
|
3548
3623
|
);
|
|
3549
|
-
W.subscribe((e) =>
|
|
3550
|
-
const
|
|
3551
|
-
function
|
|
3552
|
-
|
|
3624
|
+
W.subscribe((e) => De = e);
|
|
3625
|
+
const oe = {};
|
|
3626
|
+
function bn(e, t) {
|
|
3627
|
+
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3553
3628
|
}
|
|
3554
|
-
function
|
|
3555
|
-
return
|
|
3629
|
+
function Ot(e) {
|
|
3630
|
+
return oe[e];
|
|
3556
3631
|
}
|
|
3557
|
-
function
|
|
3558
|
-
return
|
|
3559
|
-
const r =
|
|
3632
|
+
function pn(e) {
|
|
3633
|
+
return de(e).map((t) => {
|
|
3634
|
+
const r = Ot(t);
|
|
3560
3635
|
return [t, r ? [...r] : []];
|
|
3561
3636
|
}).filter(([, t]) => t.length > 0);
|
|
3562
3637
|
}
|
|
3563
|
-
function
|
|
3564
|
-
return e == null ? !1 :
|
|
3638
|
+
function Ce(e) {
|
|
3639
|
+
return e == null ? !1 : de(e).some(
|
|
3565
3640
|
(t) => {
|
|
3566
3641
|
var r;
|
|
3567
|
-
return (r =
|
|
3642
|
+
return (r = Ot(t)) == null ? void 0 : r.size;
|
|
3568
3643
|
}
|
|
3569
3644
|
);
|
|
3570
3645
|
}
|
|
3571
|
-
function
|
|
3646
|
+
function yn(e, t) {
|
|
3572
3647
|
return Promise.all(
|
|
3573
|
-
t.map((n) => (
|
|
3574
|
-
).then((n) =>
|
|
3648
|
+
t.map((n) => (bn(e, n), n().then((i) => i.default || i)))
|
|
3649
|
+
).then((n) => dn(e, ...n));
|
|
3575
3650
|
}
|
|
3576
3651
|
const Q = {};
|
|
3577
|
-
function
|
|
3578
|
-
if (!
|
|
3652
|
+
function It(e) {
|
|
3653
|
+
if (!Ce(e))
|
|
3579
3654
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3580
|
-
const t =
|
|
3655
|
+
const t = pn(e);
|
|
3581
3656
|
return Q[e] = Promise.all(
|
|
3582
3657
|
t.map(
|
|
3583
|
-
([r, n]) =>
|
|
3658
|
+
([r, n]) => yn(r, n)
|
|
3584
3659
|
)
|
|
3585
3660
|
).then(() => {
|
|
3586
|
-
if (
|
|
3587
|
-
return
|
|
3661
|
+
if (Ce(e))
|
|
3662
|
+
return It(e);
|
|
3588
3663
|
delete Q[e];
|
|
3589
3664
|
}), Q[e];
|
|
3590
3665
|
}
|
|
3591
|
-
const
|
|
3666
|
+
const En = {
|
|
3592
3667
|
number: {
|
|
3593
3668
|
scientific: { notation: "scientific" },
|
|
3594
3669
|
engineering: { notation: "engineering" },
|
|
@@ -3617,78 +3692,78 @@ const pn = {
|
|
|
3617
3692
|
timeZoneName: "short"
|
|
3618
3693
|
}
|
|
3619
3694
|
}
|
|
3620
|
-
},
|
|
3695
|
+
}, vn = {
|
|
3621
3696
|
fallbackLocale: null,
|
|
3622
3697
|
loadingDelay: 200,
|
|
3623
|
-
formats:
|
|
3698
|
+
formats: En,
|
|
3624
3699
|
warnOnMissingMessages: !0,
|
|
3625
3700
|
handleMissingMessage: void 0,
|
|
3626
3701
|
ignoreTag: !0
|
|
3627
|
-
},
|
|
3702
|
+
}, _n = vn;
|
|
3628
3703
|
function V() {
|
|
3629
|
-
return
|
|
3704
|
+
return _n;
|
|
3630
3705
|
}
|
|
3631
|
-
const
|
|
3632
|
-
var
|
|
3706
|
+
const He = me(!1);
|
|
3707
|
+
var xn = Object.defineProperty, Hn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
|
|
3633
3708
|
for (var r in t || (t = {}))
|
|
3634
|
-
|
|
3635
|
-
if (
|
|
3636
|
-
for (var r of
|
|
3637
|
-
|
|
3709
|
+
Sn.call(t, r) && Ke(e, r, t[r]);
|
|
3710
|
+
if (Ye)
|
|
3711
|
+
for (var r of Ye(t))
|
|
3712
|
+
Bn.call(t, r) && Ke(e, r, t[r]);
|
|
3638
3713
|
return e;
|
|
3639
|
-
},
|
|
3640
|
-
let
|
|
3641
|
-
const
|
|
3642
|
-
function
|
|
3714
|
+
}, wn = (e, t) => Hn(e, Tn(t));
|
|
3715
|
+
let Me;
|
|
3716
|
+
const ue = me(null);
|
|
3717
|
+
function et(e) {
|
|
3643
3718
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3644
3719
|
}
|
|
3645
|
-
function
|
|
3646
|
-
const r =
|
|
3647
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3720
|
+
function de(e, t = V().fallbackLocale) {
|
|
3721
|
+
const r = et(e);
|
|
3722
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
|
|
3648
3723
|
}
|
|
3649
3724
|
function R() {
|
|
3650
|
-
return
|
|
3725
|
+
return Me ?? void 0;
|
|
3651
3726
|
}
|
|
3652
|
-
|
|
3653
|
-
|
|
3727
|
+
ue.subscribe((e) => {
|
|
3728
|
+
Me = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3654
3729
|
});
|
|
3655
|
-
const
|
|
3656
|
-
if (e &&
|
|
3730
|
+
const Pn = (e) => {
|
|
3731
|
+
if (e && gn(e) && Ce(e)) {
|
|
3657
3732
|
const { loadingDelay: t } = V();
|
|
3658
3733
|
let r;
|
|
3659
3734
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
3660
|
-
() =>
|
|
3735
|
+
() => He.set(!0),
|
|
3661
3736
|
t
|
|
3662
|
-
) :
|
|
3663
|
-
|
|
3737
|
+
) : He.set(!0), It(e).then(() => {
|
|
3738
|
+
ue.set(e);
|
|
3664
3739
|
}).finally(() => {
|
|
3665
|
-
clearTimeout(r),
|
|
3740
|
+
clearTimeout(r), He.set(!1);
|
|
3666
3741
|
});
|
|
3667
3742
|
}
|
|
3668
|
-
return
|
|
3669
|
-
}, M =
|
|
3670
|
-
set:
|
|
3671
|
-
}),
|
|
3743
|
+
return ue.set(e);
|
|
3744
|
+
}, M = wn(An({}, ue), {
|
|
3745
|
+
set: Pn
|
|
3746
|
+
}), be = (e) => {
|
|
3672
3747
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3673
3748
|
return (n) => {
|
|
3674
3749
|
const i = JSON.stringify(n);
|
|
3675
3750
|
return i in t ? t[i] : t[i] = e(n);
|
|
3676
3751
|
};
|
|
3677
3752
|
};
|
|
3678
|
-
var
|
|
3753
|
+
var Nn = Object.defineProperty, he = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
|
3679
3754
|
for (var r in t || (t = {}))
|
|
3680
|
-
|
|
3681
|
-
if (
|
|
3682
|
-
for (var r of
|
|
3683
|
-
|
|
3755
|
+
Lt.call(t, r) && tt(e, r, t[r]);
|
|
3756
|
+
if (he)
|
|
3757
|
+
for (var r of he(t))
|
|
3758
|
+
Ct.call(t, r) && tt(e, r, t[r]);
|
|
3684
3759
|
return e;
|
|
3685
3760
|
}, Z = (e, t) => {
|
|
3686
3761
|
var r = {};
|
|
3687
3762
|
for (var n in e)
|
|
3688
|
-
|
|
3689
|
-
if (e != null &&
|
|
3690
|
-
for (var n of
|
|
3691
|
-
t.indexOf(n) < 0 &&
|
|
3763
|
+
Lt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3764
|
+
if (e != null && he)
|
|
3765
|
+
for (var n of he(e))
|
|
3766
|
+
t.indexOf(n) < 0 && Ct.call(e, n) && (r[n] = e[n]);
|
|
3692
3767
|
return r;
|
|
3693
3768
|
};
|
|
3694
3769
|
const K = (e, t) => {
|
|
@@ -3696,21 +3771,21 @@ const K = (e, t) => {
|
|
|
3696
3771
|
if (e in r && t in r[e])
|
|
3697
3772
|
return r[e][t];
|
|
3698
3773
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3699
|
-
},
|
|
3774
|
+
}, On = be(
|
|
3700
3775
|
(e) => {
|
|
3701
3776
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3702
3777
|
if (r == null)
|
|
3703
3778
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3704
3779
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3705
3780
|
}
|
|
3706
|
-
),
|
|
3781
|
+
), In = be(
|
|
3707
3782
|
(e) => {
|
|
3708
3783
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3709
3784
|
if (r == null)
|
|
3710
3785
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3711
3786
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3712
3787
|
}
|
|
3713
|
-
),
|
|
3788
|
+
), Ln = be(
|
|
3714
3789
|
(e) => {
|
|
3715
3790
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3716
3791
|
if (r == null)
|
|
@@ -3719,33 +3794,33 @@ const K = (e, t) => {
|
|
|
3719
3794
|
);
|
|
3720
3795
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3721
3796
|
}
|
|
3722
|
-
),
|
|
3797
|
+
), Cn = (e = {}) => {
|
|
3723
3798
|
var t = e, {
|
|
3724
3799
|
locale: r = R()
|
|
3725
3800
|
} = t, n = Z(t, [
|
|
3726
3801
|
"locale"
|
|
3727
3802
|
]);
|
|
3728
|
-
return
|
|
3729
|
-
},
|
|
3803
|
+
return On(Ge({ locale: r }, n));
|
|
3804
|
+
}, Mn = (e = {}) => {
|
|
3730
3805
|
var t = e, {
|
|
3731
3806
|
locale: r = R()
|
|
3732
3807
|
} = t, n = Z(t, [
|
|
3733
3808
|
"locale"
|
|
3734
3809
|
]);
|
|
3735
|
-
return
|
|
3736
|
-
},
|
|
3810
|
+
return In(Ge({ locale: r }, n));
|
|
3811
|
+
}, Rn = (e = {}) => {
|
|
3737
3812
|
var t = e, {
|
|
3738
3813
|
locale: r = R()
|
|
3739
3814
|
} = t, n = Z(t, [
|
|
3740
3815
|
"locale"
|
|
3741
3816
|
]);
|
|
3742
|
-
return
|
|
3743
|
-
},
|
|
3817
|
+
return Ln(Ge({ locale: r }, n));
|
|
3818
|
+
}, $n = be(
|
|
3744
3819
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3745
|
-
(e, t = R()) => new
|
|
3820
|
+
(e, t = R()) => new hn(e, t, V().formats, {
|
|
3746
3821
|
ignoreTag: V().ignoreTag
|
|
3747
3822
|
})
|
|
3748
|
-
),
|
|
3823
|
+
), Un = (e, t = {}) => {
|
|
3749
3824
|
var r, n, i, s;
|
|
3750
3825
|
let a = t;
|
|
3751
3826
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3758,7 +3833,7 @@ const K = (e, t) => {
|
|
|
3758
3833
|
throw new Error(
|
|
3759
3834
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3760
3835
|
);
|
|
3761
|
-
let h =
|
|
3836
|
+
let h = Pt(e, l);
|
|
3762
3837
|
if (!h)
|
|
3763
3838
|
h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3764
3839
|
else if (typeof h != "string")
|
|
@@ -3769,7 +3844,7 @@ const K = (e, t) => {
|
|
|
3769
3844
|
return h;
|
|
3770
3845
|
let m = h;
|
|
3771
3846
|
try {
|
|
3772
|
-
m =
|
|
3847
|
+
m = $n(h, l).format(o);
|
|
3773
3848
|
} catch (f) {
|
|
3774
3849
|
f instanceof Error && console.warn(
|
|
3775
3850
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3777,18 +3852,18 @@ const K = (e, t) => {
|
|
|
3777
3852
|
);
|
|
3778
3853
|
}
|
|
3779
3854
|
return m;
|
|
3780
|
-
},
|
|
3781
|
-
z([M], () => $n);
|
|
3782
|
-
z([M], () => Un);
|
|
3855
|
+
}, Dn = (e, t) => Rn(t).format(e), Gn = (e, t) => Mn(t).format(e), Fn = (e, t) => Cn(t).format(e), jn = (e, t = R()) => Pt(e, t), gi = z([M, W], () => Un);
|
|
3783
3856
|
z([M], () => Dn);
|
|
3784
|
-
z([M
|
|
3785
|
-
|
|
3857
|
+
z([M], () => Gn);
|
|
3858
|
+
z([M], () => Fn);
|
|
3859
|
+
z([M, W], () => jn);
|
|
3860
|
+
function kn(e, t) {
|
|
3786
3861
|
if (e) {
|
|
3787
3862
|
const r = document.createElement("style");
|
|
3788
3863
|
r.innerHTML = t, e.appendChild(r);
|
|
3789
3864
|
}
|
|
3790
3865
|
}
|
|
3791
|
-
function
|
|
3866
|
+
function Vn(e, t) {
|
|
3792
3867
|
const r = new URL(t);
|
|
3793
3868
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3794
3869
|
const i = document.createElement("style");
|
|
@@ -3797,7 +3872,7 @@ function jn(e, t) {
|
|
|
3797
3872
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3798
3873
|
});
|
|
3799
3874
|
}
|
|
3800
|
-
function
|
|
3875
|
+
function Xn(e, t, r) {
|
|
3801
3876
|
if (window.emMessageBus) {
|
|
3802
3877
|
const n = document.createElement("style");
|
|
3803
3878
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3805,7 +3880,7 @@ function kn(e, t, r) {
|
|
|
3805
3880
|
});
|
|
3806
3881
|
}
|
|
3807
3882
|
}
|
|
3808
|
-
function
|
|
3883
|
+
function zn({ withLocale: e, translations: t }) {
|
|
3809
3884
|
M.subscribe((r) => {
|
|
3810
3885
|
r == null && (W.set(t), M.set(e));
|
|
3811
3886
|
});
|
|
@@ -3822,18 +3897,18 @@ if (typeof window < "u") {
|
|
|
3822
3897
|
}
|
|
3823
3898
|
};
|
|
3824
3899
|
};
|
|
3825
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3900
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-CXH0zWBq.js").then(({ default: t }) => {
|
|
3826
3901
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3827
3902
|
});
|
|
3828
3903
|
}
|
|
3829
|
-
function
|
|
3830
|
-
|
|
3904
|
+
function Wn(e) {
|
|
3905
|
+
Ut(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))}");
|
|
3831
3906
|
}
|
|
3832
|
-
function
|
|
3907
|
+
function rt(e) {
|
|
3833
3908
|
let t;
|
|
3834
3909
|
return {
|
|
3835
3910
|
c() {
|
|
3836
|
-
t =
|
|
3911
|
+
t = te("casino-games-category-section"), g(
|
|
3837
3912
|
t,
|
|
3838
3913
|
"session",
|
|
3839
3914
|
/*session*/
|
|
@@ -3926,7 +4001,7 @@ function et(e) {
|
|
|
3926
4001
|
);
|
|
3927
4002
|
},
|
|
3928
4003
|
m(r, n) {
|
|
3929
|
-
|
|
4004
|
+
fe(r, t, n);
|
|
3930
4005
|
},
|
|
3931
4006
|
p(r, n) {
|
|
3932
4007
|
n & /*session*/
|
|
@@ -4040,39 +4115,39 @@ function et(e) {
|
|
|
4040
4115
|
);
|
|
4041
4116
|
},
|
|
4042
4117
|
d(r) {
|
|
4043
|
-
r &&
|
|
4118
|
+
r && ee(t);
|
|
4044
4119
|
}
|
|
4045
4120
|
};
|
|
4046
4121
|
}
|
|
4047
|
-
function
|
|
4122
|
+
function Zn(e) {
|
|
4048
4123
|
let t, r = (
|
|
4049
4124
|
/*session*/
|
|
4050
|
-
e[4] &&
|
|
4125
|
+
e[4] && rt(e)
|
|
4051
4126
|
);
|
|
4052
4127
|
return {
|
|
4053
4128
|
c() {
|
|
4054
|
-
t =
|
|
4129
|
+
t = te("div"), r && r.c(), Re(t, "class", "CasinoFavoritesSectionContainer");
|
|
4055
4130
|
},
|
|
4056
4131
|
m(n, i) {
|
|
4057
|
-
|
|
4132
|
+
fe(n, t, i), r && r.m(t, null), e[19](t);
|
|
4058
4133
|
},
|
|
4059
4134
|
p(n, [i]) {
|
|
4060
4135
|
/*session*/
|
|
4061
|
-
n[4] ? r ? r.p(n, i) : (r =
|
|
4136
|
+
n[4] ? r ? r.p(n, i) : (r = rt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4062
4137
|
},
|
|
4063
|
-
i:
|
|
4064
|
-
o:
|
|
4138
|
+
i: N,
|
|
4139
|
+
o: N,
|
|
4065
4140
|
d(n) {
|
|
4066
|
-
n &&
|
|
4141
|
+
n && ee(t), r && r.d(), e[19](null);
|
|
4067
4142
|
}
|
|
4068
4143
|
};
|
|
4069
4144
|
}
|
|
4070
|
-
function
|
|
4145
|
+
function Qn(e, t, r) {
|
|
4071
4146
|
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: m = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: T = "" } = t, { favorites: w = "" } = t, { casinomygames: A = "false" } = t, { fetchviaevent: S = "true" } = t, { mbsource: P } = t, x;
|
|
4072
|
-
|
|
4147
|
+
zn({ withLocale: "en", translations: {} }), Vt(() => () => {
|
|
4073
4148
|
});
|
|
4074
|
-
function
|
|
4075
|
-
|
|
4149
|
+
function O(c) {
|
|
4150
|
+
Te[c ? "unshift" : "push"](() => {
|
|
4076
4151
|
x = c, r(18, x);
|
|
4077
4152
|
});
|
|
4078
4153
|
}
|
|
@@ -4080,9 +4155,9 @@ function Wn(e, t, r) {
|
|
|
4080
4155
|
"endpoint" in c && r(0, n = c.endpoint), "datasource" in c && r(1, i = c.datasource), "currency" in c && r(2, s = c.currency), "lang" in c && r(3, a = c.lang), "session" in c && r(4, o = c.session), "userid" in c && r(5, l = c.userid), "clientstyling" in c && r(6, u = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "livecasino" in c && r(8, m = c.livecasino), "integratedgameframemobile" in c && r(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(10, b = c.integratedgameframedesktop), "showgamename" in c && r(11, y = c.showgamename), "gamepagemodalurl" in c && r(12, _ = c.gamepagemodalurl), "visiblegames" in c && r(13, T = c.visiblegames), "favorites" in c && r(14, w = c.favorites), "casinomygames" in c && r(15, A = c.casinomygames), "fetchviaevent" in c && r(16, S = c.fetchviaevent), "mbsource" in c && r(17, P = c.mbsource);
|
|
4081
4156
|
}, e.$$.update = () => {
|
|
4082
4157
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4083
|
-
262208 && u && x &&
|
|
4084
|
-
262272 && h && x &&
|
|
4085
|
-
393216 && x &&
|
|
4158
|
+
262208 && u && x && kn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4159
|
+
262272 && h && x && Vn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4160
|
+
393216 && x && Xn(x, `${P}.Style`);
|
|
4086
4161
|
}, [
|
|
4087
4162
|
n,
|
|
4088
4163
|
i,
|
|
@@ -4103,17 +4178,17 @@ function Wn(e, t, r) {
|
|
|
4103
4178
|
S,
|
|
4104
4179
|
P,
|
|
4105
4180
|
x,
|
|
4106
|
-
|
|
4181
|
+
O
|
|
4107
4182
|
];
|
|
4108
4183
|
}
|
|
4109
|
-
class
|
|
4184
|
+
class Mt extends Kt {
|
|
4110
4185
|
constructor(t) {
|
|
4111
|
-
super(),
|
|
4186
|
+
super(), Jt(
|
|
4112
4187
|
this,
|
|
4113
4188
|
t,
|
|
4114
|
-
|
|
4115
|
-
|
|
4116
|
-
|
|
4189
|
+
Qn,
|
|
4190
|
+
Zn,
|
|
4191
|
+
it,
|
|
4117
4192
|
{
|
|
4118
4193
|
endpoint: 0,
|
|
4119
4194
|
datasource: 1,
|
|
@@ -4134,7 +4209,7 @@ class Lt extends qt {
|
|
|
4134
4209
|
fetchviaevent: 16,
|
|
4135
4210
|
mbsource: 17
|
|
4136
4211
|
},
|
|
4137
|
-
|
|
4212
|
+
Wn
|
|
4138
4213
|
);
|
|
4139
4214
|
}
|
|
4140
4215
|
get endpoint() {
|
|
@@ -4246,54 +4321,56 @@ class Lt extends qt {
|
|
|
4246
4321
|
this.$$set({ mbsource: t }), H();
|
|
4247
4322
|
}
|
|
4248
4323
|
}
|
|
4249
|
-
|
|
4250
|
-
const
|
|
4324
|
+
Yt(Mt, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4325
|
+
const di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4251
4326
|
__proto__: null,
|
|
4252
|
-
default:
|
|
4327
|
+
default: Mt
|
|
4253
4328
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4254
4329
|
export {
|
|
4255
4330
|
M as $,
|
|
4256
4331
|
ri as A,
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4332
|
+
ni as B,
|
|
4333
|
+
Kn as C,
|
|
4334
|
+
X as D,
|
|
4335
|
+
ii as E,
|
|
4336
|
+
gi as F,
|
|
4337
|
+
qn as G,
|
|
4338
|
+
g as H,
|
|
4339
|
+
si as I,
|
|
4340
|
+
Yn as J,
|
|
4341
|
+
ti as K,
|
|
4342
|
+
ai as L,
|
|
4268
4343
|
ui as M,
|
|
4269
4344
|
oi as N,
|
|
4270
|
-
|
|
4271
|
-
|
|
4272
|
-
|
|
4273
|
-
|
|
4274
|
-
|
|
4275
|
-
|
|
4345
|
+
fi as O,
|
|
4346
|
+
li as P,
|
|
4347
|
+
di as Q,
|
|
4348
|
+
Kt as S,
|
|
4349
|
+
ci as _,
|
|
4350
|
+
ye as a,
|
|
4351
|
+
mi as b,
|
|
4352
|
+
ce as c,
|
|
4276
4353
|
W as d,
|
|
4277
|
-
|
|
4354
|
+
dn as e,
|
|
4278
4355
|
H as f,
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4356
|
+
Yt as g,
|
|
4357
|
+
Ut as h,
|
|
4358
|
+
Jt as i,
|
|
4359
|
+
te as j,
|
|
4360
|
+
fe as k,
|
|
4361
|
+
ee as l,
|
|
4362
|
+
Jn as m,
|
|
4363
|
+
N as n,
|
|
4364
|
+
Vt as o,
|
|
4365
|
+
Vn as p,
|
|
4366
|
+
Te as q,
|
|
4367
|
+
kn as r,
|
|
4368
|
+
it as s,
|
|
4369
|
+
Xn as t,
|
|
4370
|
+
hi as u,
|
|
4371
|
+
Ft as v,
|
|
4372
|
+
ei as w,
|
|
4373
|
+
at as x,
|
|
4374
|
+
Re as y,
|
|
4375
|
+
$t as z
|
|
4299
4376
|
};
|