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