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