@everymatrix/casino-categories-providers 1.60.2 → 1.61.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/{CasinoCategories-GrgaECxI.js → CasinoCategories-43kv7Ixl.js} +724 -723
- package/components/CasinoCategories-Bb_iAxyS.cjs +16 -0
- package/components/{CasinoCategories-Cl1vb7Iw.js → CasinoCategories-C1SbCggG.js} +735 -734
- package/components/{CasinoCategoriesProviders-8HyBL4Bw.cjs → CasinoCategoriesProviders-BRk7QvhE.cjs} +1 -1
- package/components/{CasinoCategoriesProviders-CXpOIgNg.js → CasinoCategoriesProviders-D0zwQEPC.js} +3 -3
- package/components/{CasinoCategoriesProviders-D4jrn9wT.js → CasinoCategoriesProviders-DD8RNcU6.js} +3 -3
- package/components/CasinoProviders-B1fox9dx.cjs +1 -0
- package/components/{CasinoProviders-C4awh8Q2.js → CasinoProviders-BiWUYHVq.js} +140 -139
- package/components/{CasinoProviders-DMLkADjv.js → CasinoProviders-DHsyJul_.js} +140 -139
- package/es2015/casino-categories-providers.cjs +1 -1
- package/es2015/casino-categories-providers.js +1 -1
- package/esnext/casino-categories-providers.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-b7bbd57e-BBUBsGhp.js +550 -0
- package/stencil/index-b7bbd57e-SuDXAV6_.cjs +1 -0
- package/stencil/index-b7bbd57e-wJC_uAuk.js +534 -0
- package/stencil/ui-image-38c3c15f-ByZECnci.js +39 -0
- package/stencil/ui-image-38c3c15f-D_V48h1L.js +39 -0
- package/stencil/ui-image-38c3c15f-VguNkCIq.cjs +1 -0
- package/stencil/ui-image-BNrzgSpe.js +11 -0
- package/stencil/ui-image-CLghOqUz.cjs +1 -0
- package/stencil/ui-image-CPH6BqjQ.js +29 -0
- package/components/CasinoCategories-BLC8WVao.cjs +0 -16
- package/components/CasinoProviders-CHLIrxIw.cjs +0 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var er = Object.defineProperty, tr = Object.defineProperties;
|
|
2
|
+
var rr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var qe = Object.getOwnPropertySymbols;
|
|
4
|
+
var nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, r) => t in e ? er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
nr.call(t, r) && He(e, r, t[r]);
|
|
8
|
+
if (qe)
|
|
9
|
+
for (var r of qe(t))
|
|
10
|
+
ir.call(t, r) && He(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, Ye = (e, t) => tr(e, rr(t));
|
|
13
|
+
var N = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Ke = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
u(r.next(h));
|
|
@@ -27,53 +27,54 @@ var Ye = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
28
|
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
|
|
30
|
+
import "../stencil/ui-image-CPH6BqjQ.js";
|
|
31
|
+
function L() {
|
|
31
32
|
}
|
|
32
|
-
function
|
|
33
|
+
function vt(e) {
|
|
33
34
|
return e();
|
|
34
35
|
}
|
|
35
|
-
function
|
|
36
|
+
function et() {
|
|
36
37
|
return /* @__PURE__ */ Object.create(null);
|
|
37
38
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
39
|
+
function ue(e) {
|
|
40
|
+
e.forEach(vt);
|
|
40
41
|
}
|
|
41
|
-
function
|
|
42
|
+
function Xe(e) {
|
|
42
43
|
return typeof e == "function";
|
|
43
44
|
}
|
|
44
|
-
function
|
|
45
|
+
function Ct(e, t) {
|
|
45
46
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
47
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
48
|
+
let fe;
|
|
49
|
+
function be(e, t) {
|
|
50
|
+
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
|
50
51
|
}
|
|
51
|
-
function
|
|
52
|
+
function sr(e) {
|
|
52
53
|
return Object.keys(e).length === 0;
|
|
53
54
|
}
|
|
54
55
|
function Tt(e, ...t) {
|
|
55
56
|
if (e == null) {
|
|
56
57
|
for (const n of t)
|
|
57
58
|
n(void 0);
|
|
58
|
-
return
|
|
59
|
+
return L;
|
|
59
60
|
}
|
|
60
61
|
const r = e.subscribe(...t);
|
|
61
62
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
63
|
}
|
|
63
|
-
function
|
|
64
|
+
function or(e, t, r) {
|
|
64
65
|
e.$$.on_destroy.push(Tt(t, r));
|
|
65
66
|
}
|
|
66
67
|
function v(e, t) {
|
|
67
68
|
e.appendChild(t);
|
|
68
69
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
70
|
+
function ar(e, t, r) {
|
|
71
|
+
const n = ur(e);
|
|
71
72
|
if (!n.getElementById(t)) {
|
|
72
|
-
const i =
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
const i = S("style");
|
|
74
|
+
i.id = t, i.textContent = r, hr(n, i);
|
|
74
75
|
}
|
|
75
76
|
}
|
|
76
|
-
function
|
|
77
|
+
function ur(e) {
|
|
77
78
|
if (!e)
|
|
78
79
|
return document;
|
|
79
80
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,53 +84,53 @@ function ar(e) {
|
|
|
83
84
|
t
|
|
84
85
|
) : e.ownerDocument;
|
|
85
86
|
}
|
|
86
|
-
function
|
|
87
|
+
function hr(e, t) {
|
|
87
88
|
return v(
|
|
88
89
|
/** @type {Document} */
|
|
89
90
|
e.head || e,
|
|
90
91
|
t
|
|
91
92
|
), t.sheet;
|
|
92
93
|
}
|
|
93
|
-
function
|
|
94
|
+
function K(e, t, r) {
|
|
94
95
|
e.insertBefore(t, r || null);
|
|
95
96
|
}
|
|
96
|
-
function
|
|
97
|
+
function k(e) {
|
|
97
98
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
99
|
}
|
|
99
|
-
function
|
|
100
|
+
function tt(e, t) {
|
|
100
101
|
for (let r = 0; r < e.length; r += 1)
|
|
101
102
|
e[r] && e[r].d(t);
|
|
102
103
|
}
|
|
103
|
-
function
|
|
104
|
+
function S(e) {
|
|
104
105
|
return document.createElement(e);
|
|
105
106
|
}
|
|
106
|
-
function
|
|
107
|
+
function D(e) {
|
|
107
108
|
return document.createTextNode(e);
|
|
108
109
|
}
|
|
109
|
-
function
|
|
110
|
-
return
|
|
110
|
+
function U() {
|
|
111
|
+
return D(" ");
|
|
111
112
|
}
|
|
112
|
-
function
|
|
113
|
-
return
|
|
113
|
+
function Bi() {
|
|
114
|
+
return D("");
|
|
114
115
|
}
|
|
115
|
-
function
|
|
116
|
+
function Ht(e, t, r, n) {
|
|
116
117
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
117
118
|
}
|
|
118
|
-
function
|
|
119
|
+
function I(e, t, r) {
|
|
119
120
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
120
121
|
}
|
|
121
|
-
function
|
|
122
|
+
function R(e, t, r) {
|
|
122
123
|
const n = t.toLowerCase();
|
|
123
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
124
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : I(e, t, r);
|
|
124
125
|
}
|
|
125
|
-
function
|
|
126
|
+
function lr(e) {
|
|
126
127
|
return Array.from(e.childNodes);
|
|
127
128
|
}
|
|
128
|
-
function
|
|
129
|
+
function F(e, t) {
|
|
129
130
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
130
131
|
t);
|
|
131
132
|
}
|
|
132
|
-
function
|
|
133
|
+
function fr(e) {
|
|
133
134
|
const t = {};
|
|
134
135
|
return e.childNodes.forEach(
|
|
135
136
|
/** @param {Element} node */
|
|
@@ -138,98 +139,98 @@ function lr(e) {
|
|
|
138
139
|
}
|
|
139
140
|
), t;
|
|
140
141
|
}
|
|
141
|
-
let
|
|
142
|
-
function
|
|
143
|
-
|
|
142
|
+
let se;
|
|
143
|
+
function ie(e) {
|
|
144
|
+
se = e;
|
|
144
145
|
}
|
|
145
|
-
function
|
|
146
|
-
if (!
|
|
146
|
+
function cr() {
|
|
147
|
+
if (!se)
|
|
147
148
|
throw new Error("Function called outside component initialization");
|
|
148
|
-
return
|
|
149
|
+
return se;
|
|
149
150
|
}
|
|
150
|
-
function
|
|
151
|
-
|
|
151
|
+
function gr(e) {
|
|
152
|
+
cr().$$.on_mount.push(e);
|
|
152
153
|
}
|
|
153
|
-
const
|
|
154
|
-
let
|
|
155
|
-
const
|
|
156
|
-
let
|
|
157
|
-
function
|
|
158
|
-
|
|
154
|
+
const W = [], Le = [];
|
|
155
|
+
let Z = [];
|
|
156
|
+
const rt = [], mr = /* @__PURE__ */ Promise.resolve();
|
|
157
|
+
let Ie = !1;
|
|
158
|
+
function pr() {
|
|
159
|
+
Ie || (Ie = !0, mr.then(M));
|
|
159
160
|
}
|
|
160
|
-
function
|
|
161
|
-
|
|
161
|
+
function Me(e) {
|
|
162
|
+
Z.push(e);
|
|
162
163
|
}
|
|
163
|
-
const
|
|
164
|
-
let
|
|
164
|
+
const Ae = /* @__PURE__ */ new Set();
|
|
165
|
+
let X = 0;
|
|
165
166
|
function M() {
|
|
166
|
-
if (
|
|
167
|
+
if (X !== 0)
|
|
167
168
|
return;
|
|
168
|
-
const e =
|
|
169
|
+
const e = se;
|
|
169
170
|
do {
|
|
170
171
|
try {
|
|
171
|
-
for (;
|
|
172
|
-
const t =
|
|
173
|
-
|
|
172
|
+
for (; X < W.length; ) {
|
|
173
|
+
const t = W[X];
|
|
174
|
+
X++, ie(t), dr(t.$$);
|
|
174
175
|
}
|
|
175
176
|
} catch (t) {
|
|
176
|
-
throw
|
|
177
|
+
throw W.length = 0, X = 0, t;
|
|
177
178
|
}
|
|
178
|
-
for (
|
|
179
|
-
|
|
180
|
-
for (let t = 0; t <
|
|
181
|
-
const r =
|
|
182
|
-
|
|
179
|
+
for (ie(null), W.length = 0, X = 0; Le.length; )
|
|
180
|
+
Le.pop()();
|
|
181
|
+
for (let t = 0; t < Z.length; t += 1) {
|
|
182
|
+
const r = Z[t];
|
|
183
|
+
Ae.has(r) || (Ae.add(r), r());
|
|
183
184
|
}
|
|
184
|
-
|
|
185
|
-
} while (
|
|
186
|
-
for (;
|
|
187
|
-
|
|
188
|
-
|
|
185
|
+
Z.length = 0;
|
|
186
|
+
} while (W.length);
|
|
187
|
+
for (; rt.length; )
|
|
188
|
+
rt.pop()();
|
|
189
|
+
Ie = !1, Ae.clear(), ie(e);
|
|
189
190
|
}
|
|
190
|
-
function
|
|
191
|
+
function dr(e) {
|
|
191
192
|
if (e.fragment !== null) {
|
|
192
|
-
e.update(),
|
|
193
|
+
e.update(), ue(e.before_update);
|
|
193
194
|
const t = e.dirty;
|
|
194
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
195
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
|
|
195
196
|
}
|
|
196
197
|
}
|
|
197
|
-
function
|
|
198
|
+
function br(e) {
|
|
198
199
|
const t = [], r = [];
|
|
199
|
-
|
|
200
|
+
Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
|
|
200
201
|
}
|
|
201
|
-
const
|
|
202
|
-
function
|
|
203
|
-
e && e.i && (
|
|
202
|
+
const yr = /* @__PURE__ */ new Set();
|
|
203
|
+
function _r(e, t) {
|
|
204
|
+
e && e.i && (yr.delete(e), e.i(t));
|
|
204
205
|
}
|
|
205
|
-
function
|
|
206
|
+
function ce(e) {
|
|
206
207
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
207
208
|
}
|
|
208
|
-
function
|
|
209
|
+
function xr(e, t, r) {
|
|
209
210
|
const { fragment: n, after_update: i } = e.$$;
|
|
210
|
-
n && n.m(t, r),
|
|
211
|
-
const s = e.$$.on_mount.map(
|
|
212
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
213
|
-
}), i.forEach(
|
|
211
|
+
n && n.m(t, r), Me(() => {
|
|
212
|
+
const s = e.$$.on_mount.map(vt).filter(Xe);
|
|
213
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ue(s), e.$$.on_mount = [];
|
|
214
|
+
}), i.forEach(Me);
|
|
214
215
|
}
|
|
215
|
-
function
|
|
216
|
+
function Er(e, t) {
|
|
216
217
|
const r = e.$$;
|
|
217
|
-
r.fragment !== null && (
|
|
218
|
+
r.fragment !== null && (br(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
218
219
|
}
|
|
219
|
-
function
|
|
220
|
-
e.$$.dirty[0] === -1 && (
|
|
220
|
+
function vr(e, t) {
|
|
221
|
+
e.$$.dirty[0] === -1 && (W.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
221
222
|
}
|
|
222
|
-
function
|
|
223
|
-
const h =
|
|
224
|
-
|
|
223
|
+
function Cr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
224
|
+
const h = se;
|
|
225
|
+
ie(e);
|
|
225
226
|
const a = e.$$ = {
|
|
226
227
|
fragment: null,
|
|
227
228
|
ctx: [],
|
|
228
229
|
// state
|
|
229
230
|
props: s,
|
|
230
|
-
update:
|
|
231
|
+
update: L,
|
|
231
232
|
not_equal: i,
|
|
232
|
-
bound:
|
|
233
|
+
bound: et(),
|
|
233
234
|
// lifecycle
|
|
234
235
|
on_mount: [],
|
|
235
236
|
on_destroy: [],
|
|
@@ -238,7 +239,7 @@ function vr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
238
239
|
after_update: [],
|
|
239
240
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
240
241
|
// everything else
|
|
241
|
-
callbacks:
|
|
242
|
+
callbacks: et(),
|
|
242
243
|
dirty: u,
|
|
243
244
|
skip_bound: !1,
|
|
244
245
|
root: t.target || h.$$.root
|
|
@@ -247,39 +248,39 @@ function vr(e, t, r, n, i, s, o = null, u = [-1]) {
|
|
|
247
248
|
let l = !1;
|
|
248
249
|
if (a.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
249
250
|
const d = p.length ? p[0] : f;
|
|
250
|
-
return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l &&
|
|
251
|
-
}) : [], a.update(), l = !0,
|
|
251
|
+
return a.ctx && i(a.ctx[c], a.ctx[c] = d) && (!a.skip_bound && a.bound[c] && a.bound[c](d), l && vr(e, c)), f;
|
|
252
|
+
}) : [], a.update(), l = !0, ue(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
|
|
252
253
|
if (t.hydrate) {
|
|
253
|
-
const c =
|
|
254
|
-
a.fragment && a.fragment.l(c), c.forEach(
|
|
254
|
+
const c = lr(t.target);
|
|
255
|
+
a.fragment && a.fragment.l(c), c.forEach(k);
|
|
255
256
|
} else
|
|
256
257
|
a.fragment && a.fragment.c();
|
|
257
|
-
t.intro &&
|
|
258
|
+
t.intro && _r(e.$$.fragment), xr(e, t.target, t.anchor), M();
|
|
258
259
|
}
|
|
259
|
-
|
|
260
|
+
ie(h);
|
|
260
261
|
}
|
|
261
|
-
let
|
|
262
|
-
typeof HTMLElement == "function" && (
|
|
262
|
+
let At;
|
|
263
|
+
typeof HTMLElement == "function" && (At = class extends HTMLElement {
|
|
263
264
|
constructor(t, r, n) {
|
|
264
265
|
super();
|
|
265
266
|
/** The Svelte component constructor */
|
|
266
|
-
|
|
267
|
+
N(this, "$$ctor");
|
|
267
268
|
/** Slots */
|
|
268
|
-
|
|
269
|
+
N(this, "$$s");
|
|
269
270
|
/** The Svelte component instance */
|
|
270
|
-
|
|
271
|
+
N(this, "$$c");
|
|
271
272
|
/** Whether or not the custom element is connected */
|
|
272
|
-
|
|
273
|
+
N(this, "$$cn", !1);
|
|
273
274
|
/** Component props data */
|
|
274
|
-
|
|
275
|
+
N(this, "$$d", {});
|
|
275
276
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
276
|
-
|
|
277
|
+
N(this, "$$r", !1);
|
|
277
278
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
278
|
-
|
|
279
|
+
N(this, "$$p_d", {});
|
|
279
280
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
280
|
-
|
|
281
|
+
N(this, "$$l", {});
|
|
281
282
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
282
|
-
|
|
283
|
+
N(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
283
284
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
284
285
|
}
|
|
285
286
|
addEventListener(t, r, n) {
|
|
@@ -296,42 +297,42 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
|
296
297
|
}
|
|
297
298
|
}
|
|
298
299
|
connectedCallback() {
|
|
299
|
-
return
|
|
300
|
+
return Ke(this, null, function* () {
|
|
300
301
|
if (this.$$cn = !0, !this.$$c) {
|
|
301
302
|
let t = function(s) {
|
|
302
303
|
return () => {
|
|
303
304
|
let o;
|
|
304
305
|
return {
|
|
305
306
|
c: function() {
|
|
306
|
-
o =
|
|
307
|
+
o = S("slot"), s !== "default" && I(o, "name", s);
|
|
307
308
|
},
|
|
308
309
|
/**
|
|
309
310
|
* @param {HTMLElement} target
|
|
310
311
|
* @param {HTMLElement} [anchor]
|
|
311
312
|
*/
|
|
312
313
|
m: function(a, l) {
|
|
313
|
-
|
|
314
|
+
K(a, o, l);
|
|
314
315
|
},
|
|
315
316
|
d: function(a) {
|
|
316
|
-
a &&
|
|
317
|
+
a && k(o);
|
|
317
318
|
}
|
|
318
319
|
};
|
|
319
320
|
};
|
|
320
321
|
};
|
|
321
322
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
322
323
|
return;
|
|
323
|
-
const r = {}, n =
|
|
324
|
+
const r = {}, n = fr(this);
|
|
324
325
|
for (const s of this.$$s)
|
|
325
326
|
s in n && (r[s] = [t(s)]);
|
|
326
327
|
for (const s of this.attributes) {
|
|
327
328
|
const o = this.$$g_p(s.name);
|
|
328
|
-
o in this.$$d || (this.$$d[o] =
|
|
329
|
+
o in this.$$d || (this.$$d[o] = me(o, s.value, this.$$p_d, "toProp"));
|
|
329
330
|
}
|
|
330
331
|
for (const s in this.$$p_d)
|
|
331
332
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
332
333
|
this.$$c = new this.$$ctor({
|
|
333
334
|
target: this.shadowRoot || this,
|
|
334
|
-
props: Je(
|
|
335
|
+
props: Ye(Je({}, this.$$d), {
|
|
335
336
|
$$slots: r,
|
|
336
337
|
$$scope: {
|
|
337
338
|
ctx: []
|
|
@@ -342,7 +343,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
|
342
343
|
this.$$r = !0;
|
|
343
344
|
for (const s in this.$$p_d)
|
|
344
345
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
345
|
-
const o =
|
|
346
|
+
const o = me(
|
|
346
347
|
s,
|
|
347
348
|
this.$$d[s],
|
|
348
349
|
this.$$p_d,
|
|
@@ -366,7 +367,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
|
366
367
|
// and setting attributes through setAttribute etc, this is helpful
|
|
367
368
|
attributeChangedCallback(t, r, n) {
|
|
368
369
|
var i;
|
|
369
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
370
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
370
371
|
}
|
|
371
372
|
disconnectedCallback() {
|
|
372
373
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -379,7 +380,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
|
|
|
379
380
|
) || t;
|
|
380
381
|
}
|
|
381
382
|
});
|
|
382
|
-
function
|
|
383
|
+
function me(e, t, r, n) {
|
|
383
384
|
var s;
|
|
384
385
|
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
385
386
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -410,7 +411,7 @@ function ge(e, t, r, n) {
|
|
|
410
411
|
}
|
|
411
412
|
}
|
|
412
413
|
function Tr(e, t, r, n, i, s) {
|
|
413
|
-
let o = class extends
|
|
414
|
+
let o = class extends At {
|
|
414
415
|
constructor() {
|
|
415
416
|
super(e, r, i), this.$$p_d = t;
|
|
416
417
|
}
|
|
@@ -427,7 +428,7 @@ function Tr(e, t, r, n, i, s) {
|
|
|
427
428
|
},
|
|
428
429
|
set(h) {
|
|
429
430
|
var a;
|
|
430
|
-
h =
|
|
431
|
+
h = me(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
|
|
431
432
|
}
|
|
432
433
|
});
|
|
433
434
|
}), n.forEach((u) => {
|
|
@@ -440,7 +441,7 @@ function Tr(e, t, r, n, i, s) {
|
|
|
440
441
|
}), e.element = /** @type {any} */
|
|
441
442
|
o, o;
|
|
442
443
|
}
|
|
443
|
-
class
|
|
444
|
+
class Hr {
|
|
444
445
|
constructor() {
|
|
445
446
|
/**
|
|
446
447
|
* ### PRIVATE API
|
|
@@ -449,7 +450,7 @@ class Cr {
|
|
|
449
450
|
*
|
|
450
451
|
* @type {any}
|
|
451
452
|
*/
|
|
452
|
-
|
|
453
|
+
N(this, "$$");
|
|
453
454
|
/**
|
|
454
455
|
* ### PRIVATE API
|
|
455
456
|
*
|
|
@@ -457,11 +458,11 @@ class Cr {
|
|
|
457
458
|
*
|
|
458
459
|
* @type {any}
|
|
459
460
|
*/
|
|
460
|
-
|
|
461
|
+
N(this, "$$set");
|
|
461
462
|
}
|
|
462
463
|
/** @returns {void} */
|
|
463
464
|
$destroy() {
|
|
464
|
-
|
|
465
|
+
Er(this, 1), this.$destroy = L;
|
|
465
466
|
}
|
|
466
467
|
/**
|
|
467
468
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -470,8 +471,8 @@ class Cr {
|
|
|
470
471
|
* @returns {() => void}
|
|
471
472
|
*/
|
|
472
473
|
$on(t, r) {
|
|
473
|
-
if (!
|
|
474
|
-
return
|
|
474
|
+
if (!Xe(r))
|
|
475
|
+
return L;
|
|
475
476
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
476
477
|
return n.push(r), () => {
|
|
477
478
|
const i = n.indexOf(r);
|
|
@@ -483,58 +484,58 @@ class Cr {
|
|
|
483
484
|
* @returns {void}
|
|
484
485
|
*/
|
|
485
486
|
$set(t) {
|
|
486
|
-
this.$$set && !
|
|
487
|
+
this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
487
488
|
}
|
|
488
489
|
}
|
|
489
|
-
const
|
|
490
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
491
|
-
const
|
|
492
|
-
function
|
|
490
|
+
const Ar = "4";
|
|
491
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ar);
|
|
492
|
+
const z = [];
|
|
493
|
+
function Br(e, t) {
|
|
493
494
|
return {
|
|
494
|
-
subscribe:
|
|
495
|
+
subscribe: xe(e, t).subscribe
|
|
495
496
|
};
|
|
496
497
|
}
|
|
497
|
-
function
|
|
498
|
+
function xe(e, t = L) {
|
|
498
499
|
let r;
|
|
499
500
|
const n = /* @__PURE__ */ new Set();
|
|
500
501
|
function i(u) {
|
|
501
|
-
if (
|
|
502
|
-
const h = !
|
|
502
|
+
if (Ct(e, u) && (e = u, r)) {
|
|
503
|
+
const h = !z.length;
|
|
503
504
|
for (const a of n)
|
|
504
|
-
a[1](),
|
|
505
|
+
a[1](), z.push(a, e);
|
|
505
506
|
if (h) {
|
|
506
|
-
for (let a = 0; a <
|
|
507
|
-
|
|
508
|
-
|
|
507
|
+
for (let a = 0; a < z.length; a += 2)
|
|
508
|
+
z[a][0](z[a + 1]);
|
|
509
|
+
z.length = 0;
|
|
509
510
|
}
|
|
510
511
|
}
|
|
511
512
|
}
|
|
512
513
|
function s(u) {
|
|
513
514
|
i(u(e));
|
|
514
515
|
}
|
|
515
|
-
function o(u, h =
|
|
516
|
+
function o(u, h = L) {
|
|
516
517
|
const a = [u, h];
|
|
517
|
-
return n.add(a), n.size === 1 && (r = t(i, s) ||
|
|
518
|
+
return n.add(a), n.size === 1 && (r = t(i, s) || L), u(e), () => {
|
|
518
519
|
n.delete(a), n.size === 0 && r && (r(), r = null);
|
|
519
520
|
};
|
|
520
521
|
}
|
|
521
522
|
return { set: i, update: s, subscribe: o };
|
|
522
523
|
}
|
|
523
|
-
function
|
|
524
|
+
function ee(e, t, r) {
|
|
524
525
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
525
526
|
if (!i.every(Boolean))
|
|
526
527
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
527
528
|
const s = t.length < 2;
|
|
528
|
-
return
|
|
529
|
+
return Br(r, (o, u) => {
|
|
529
530
|
let h = !1;
|
|
530
531
|
const a = [];
|
|
531
|
-
let l = 0, c =
|
|
532
|
+
let l = 0, c = L;
|
|
532
533
|
const f = () => {
|
|
533
534
|
if (l)
|
|
534
535
|
return;
|
|
535
536
|
c();
|
|
536
537
|
const d = t(n ? a[0] : a, o, u);
|
|
537
|
-
s ? o(d) : c =
|
|
538
|
+
s ? o(d) : c = Xe(d) ? d : L;
|
|
538
539
|
}, p = i.map(
|
|
539
540
|
(d, g) => Tt(
|
|
540
541
|
d,
|
|
@@ -547,84 +548,84 @@ function K(e, t, r) {
|
|
|
547
548
|
)
|
|
548
549
|
);
|
|
549
550
|
return h = !0, f(), function() {
|
|
550
|
-
|
|
551
|
+
ue(p), c(), h = !1;
|
|
551
552
|
};
|
|
552
553
|
});
|
|
553
554
|
}
|
|
554
|
-
function
|
|
555
|
+
function Sr(e) {
|
|
555
556
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
556
557
|
}
|
|
557
|
-
var
|
|
558
|
-
return
|
|
558
|
+
var Or = function(t) {
|
|
559
|
+
return wr(t) && !Pr(t);
|
|
559
560
|
};
|
|
560
|
-
function
|
|
561
|
+
function wr(e) {
|
|
561
562
|
return !!e && typeof e == "object";
|
|
562
563
|
}
|
|
563
|
-
function
|
|
564
|
+
function Pr(e) {
|
|
564
565
|
var t = Object.prototype.toString.call(e);
|
|
565
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
566
|
-
}
|
|
567
|
-
var Pr = typeof Symbol == "function" && Symbol.for, Nr = Pr ? Symbol.for("react.element") : 60103;
|
|
568
|
-
function Lr(e) {
|
|
569
|
-
return e.$$typeof === Nr;
|
|
566
|
+
return t === "[object RegExp]" || t === "[object Date]" || Ir(e);
|
|
570
567
|
}
|
|
568
|
+
var Nr = typeof Symbol == "function" && Symbol.for, Lr = Nr ? Symbol.for("react.element") : 60103;
|
|
571
569
|
function Ir(e) {
|
|
570
|
+
return e.$$typeof === Lr;
|
|
571
|
+
}
|
|
572
|
+
function Mr(e) {
|
|
572
573
|
return Array.isArray(e) ? [] : {};
|
|
573
574
|
}
|
|
574
|
-
function
|
|
575
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
575
|
+
function oe(e, t) {
|
|
576
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Q(Mr(e), e, t) : e;
|
|
576
577
|
}
|
|
577
|
-
function
|
|
578
|
+
function $r(e, t, r) {
|
|
578
579
|
return e.concat(t).map(function(n) {
|
|
579
|
-
return
|
|
580
|
+
return oe(n, r);
|
|
580
581
|
});
|
|
581
582
|
}
|
|
582
|
-
function
|
|
583
|
+
function Rr(e, t) {
|
|
583
584
|
if (!t.customMerge)
|
|
584
|
-
return
|
|
585
|
+
return Q;
|
|
585
586
|
var r = t.customMerge(e);
|
|
586
|
-
return typeof r == "function" ? r :
|
|
587
|
+
return typeof r == "function" ? r : Q;
|
|
587
588
|
}
|
|
588
|
-
function
|
|
589
|
+
function Ur(e) {
|
|
589
590
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
590
591
|
return Object.propertyIsEnumerable.call(e, t);
|
|
591
592
|
}) : [];
|
|
592
593
|
}
|
|
593
|
-
function
|
|
594
|
-
return Object.keys(e).concat(
|
|
594
|
+
function nt(e) {
|
|
595
|
+
return Object.keys(e).concat(Ur(e));
|
|
595
596
|
}
|
|
596
|
-
function
|
|
597
|
+
function Bt(e, t) {
|
|
597
598
|
try {
|
|
598
599
|
return t in e;
|
|
599
600
|
} catch (r) {
|
|
600
601
|
return !1;
|
|
601
602
|
}
|
|
602
603
|
}
|
|
603
|
-
function
|
|
604
|
-
return
|
|
604
|
+
function Dr(e, t) {
|
|
605
|
+
return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
605
606
|
}
|
|
606
|
-
function
|
|
607
|
+
function Gr(e, t, r) {
|
|
607
608
|
var n = {};
|
|
608
|
-
return r.isMergeableObject(e) &&
|
|
609
|
-
n[i] =
|
|
610
|
-
}),
|
|
611
|
-
|
|
609
|
+
return r.isMergeableObject(e) && nt(e).forEach(function(i) {
|
|
610
|
+
n[i] = oe(e[i], r);
|
|
611
|
+
}), nt(t).forEach(function(i) {
|
|
612
|
+
Dr(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Rr(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
|
|
612
613
|
}), n;
|
|
613
614
|
}
|
|
614
|
-
function
|
|
615
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
615
|
+
function Q(e, t, r) {
|
|
616
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || $r, r.isMergeableObject = r.isMergeableObject || Or, r.cloneUnlessOtherwiseSpecified = oe;
|
|
616
617
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
617
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
618
|
+
return s ? n ? r.arrayMerge(e, t, r) : Gr(e, t, r) : oe(t, r);
|
|
618
619
|
}
|
|
619
|
-
|
|
620
|
+
Q.all = function(t, r) {
|
|
620
621
|
if (!Array.isArray(t))
|
|
621
622
|
throw new Error("first argument should be an array");
|
|
622
623
|
return t.reduce(function(n, i) {
|
|
623
|
-
return
|
|
624
|
+
return Q(n, i, r);
|
|
624
625
|
}, {});
|
|
625
626
|
};
|
|
626
|
-
var
|
|
627
|
-
const
|
|
627
|
+
var Fr = Q, jr = Fr;
|
|
628
|
+
const kr = /* @__PURE__ */ Sr(jr);
|
|
628
629
|
/*! *****************************************************************************
|
|
629
630
|
Copyright (c) Microsoft Corporation.
|
|
630
631
|
|
|
@@ -639,18 +640,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
639
640
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
640
641
|
PERFORMANCE OF THIS SOFTWARE.
|
|
641
642
|
***************************************************************************** */
|
|
642
|
-
var
|
|
643
|
-
return
|
|
643
|
+
var $e = function(e, t) {
|
|
644
|
+
return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
644
645
|
r.__proto__ = n;
|
|
645
646
|
} || function(r, n) {
|
|
646
647
|
for (var i in n)
|
|
647
648
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
648
|
-
},
|
|
649
|
+
}, $e(e, t);
|
|
649
650
|
};
|
|
650
|
-
function
|
|
651
|
+
function Ee(e, t) {
|
|
651
652
|
if (typeof t != "function" && t !== null)
|
|
652
653
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
653
|
-
|
|
654
|
+
$e(e, t);
|
|
654
655
|
function r() {
|
|
655
656
|
this.constructor = e;
|
|
656
657
|
}
|
|
@@ -666,7 +667,7 @@ var x = function() {
|
|
|
666
667
|
return t;
|
|
667
668
|
}, x.apply(this, arguments);
|
|
668
669
|
};
|
|
669
|
-
function
|
|
670
|
+
function Vr(e, t) {
|
|
670
671
|
var r = {};
|
|
671
672
|
for (var n in e)
|
|
672
673
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -675,43 +676,43 @@ function kr(e, t) {
|
|
|
675
676
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
676
677
|
return r;
|
|
677
678
|
}
|
|
678
|
-
function
|
|
679
|
+
function Be(e, t, r) {
|
|
679
680
|
if (arguments.length === 2)
|
|
680
681
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
681
682
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
682
683
|
return e.concat(s || t);
|
|
683
684
|
}
|
|
684
|
-
function
|
|
685
|
-
var r = t && t.cache ? t.cache :
|
|
685
|
+
function Se(e, t) {
|
|
686
|
+
var r = t && t.cache ? t.cache : Jr, n = t && t.serializer ? t.serializer : Qr, i = t && t.strategy ? t.strategy : Wr;
|
|
686
687
|
return i(e, {
|
|
687
688
|
cache: r,
|
|
688
689
|
serializer: n
|
|
689
690
|
});
|
|
690
691
|
}
|
|
691
|
-
function
|
|
692
|
+
function Xr(e) {
|
|
692
693
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
693
694
|
}
|
|
694
|
-
function
|
|
695
|
-
var i =
|
|
695
|
+
function zr(e, t, r, n) {
|
|
696
|
+
var i = Xr(n) ? n : r(n), s = t.get(i);
|
|
696
697
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
697
698
|
}
|
|
698
|
-
function
|
|
699
|
+
function St(e, t, r) {
|
|
699
700
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
700
701
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
701
702
|
}
|
|
702
|
-
function
|
|
703
|
+
function Ot(e, t, r, n, i) {
|
|
703
704
|
return r.bind(t, e, n, i);
|
|
704
705
|
}
|
|
705
|
-
function zr(e, t) {
|
|
706
|
-
var r = e.length === 1 ? Xr : Bt;
|
|
707
|
-
return St(e, this, r, t.cache.create(), t.serializer);
|
|
708
|
-
}
|
|
709
706
|
function Wr(e, t) {
|
|
710
|
-
|
|
707
|
+
var r = e.length === 1 ? zr : St;
|
|
708
|
+
return Ot(e, this, r, t.cache.create(), t.serializer);
|
|
709
|
+
}
|
|
710
|
+
function Zr(e, t) {
|
|
711
|
+
return Ot(e, this, St, t.cache.create(), t.serializer);
|
|
711
712
|
}
|
|
712
|
-
var
|
|
713
|
+
var Qr = function() {
|
|
713
714
|
return JSON.stringify(arguments);
|
|
714
|
-
},
|
|
715
|
+
}, qr = (
|
|
715
716
|
/** @class */
|
|
716
717
|
function() {
|
|
717
718
|
function e() {
|
|
@@ -723,61 +724,61 @@ var Zr = function() {
|
|
|
723
724
|
this.cache[t] = r;
|
|
724
725
|
}, e;
|
|
725
726
|
}()
|
|
726
|
-
),
|
|
727
|
+
), Jr = {
|
|
727
728
|
create: function() {
|
|
728
|
-
return new
|
|
729
|
+
return new qr();
|
|
729
730
|
}
|
|
730
|
-
},
|
|
731
|
-
variadic:
|
|
731
|
+
}, Oe = {
|
|
732
|
+
variadic: Zr
|
|
732
733
|
}, y;
|
|
733
734
|
(function(e) {
|
|
734
735
|
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";
|
|
735
736
|
})(y || (y = {}));
|
|
736
|
-
var
|
|
737
|
+
var C;
|
|
737
738
|
(function(e) {
|
|
738
739
|
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";
|
|
739
|
-
})(
|
|
740
|
-
var
|
|
740
|
+
})(C || (C = {}));
|
|
741
|
+
var q;
|
|
741
742
|
(function(e) {
|
|
742
743
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
743
|
-
})(
|
|
744
|
-
function
|
|
745
|
-
return e.type ===
|
|
746
|
-
}
|
|
747
|
-
function Jr(e) {
|
|
748
|
-
return e.type === T.argument;
|
|
744
|
+
})(q || (q = {}));
|
|
745
|
+
function it(e) {
|
|
746
|
+
return e.type === C.literal;
|
|
749
747
|
}
|
|
750
|
-
function
|
|
751
|
-
return e.type ===
|
|
748
|
+
function Yr(e) {
|
|
749
|
+
return e.type === C.argument;
|
|
752
750
|
}
|
|
753
751
|
function wt(e) {
|
|
754
|
-
return e.type ===
|
|
752
|
+
return e.type === C.number;
|
|
755
753
|
}
|
|
756
754
|
function Pt(e) {
|
|
757
|
-
return e.type ===
|
|
755
|
+
return e.type === C.date;
|
|
758
756
|
}
|
|
759
757
|
function Nt(e) {
|
|
760
|
-
return e.type ===
|
|
758
|
+
return e.type === C.time;
|
|
761
759
|
}
|
|
762
760
|
function Lt(e) {
|
|
763
|
-
return e.type ===
|
|
764
|
-
}
|
|
765
|
-
function Yr(e) {
|
|
766
|
-
return e.type === T.pound;
|
|
761
|
+
return e.type === C.select;
|
|
767
762
|
}
|
|
768
763
|
function It(e) {
|
|
769
|
-
return e.type ===
|
|
764
|
+
return e.type === C.plural;
|
|
765
|
+
}
|
|
766
|
+
function Kr(e) {
|
|
767
|
+
return e.type === C.pound;
|
|
770
768
|
}
|
|
771
769
|
function Mt(e) {
|
|
772
|
-
return
|
|
770
|
+
return e.type === C.tag;
|
|
771
|
+
}
|
|
772
|
+
function $t(e) {
|
|
773
|
+
return !!(e && typeof e == "object" && e.type === q.number);
|
|
773
774
|
}
|
|
774
|
-
function
|
|
775
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
775
|
+
function Re(e) {
|
|
776
|
+
return !!(e && typeof e == "object" && e.type === q.dateTime);
|
|
776
777
|
}
|
|
777
|
-
var
|
|
778
|
-
function
|
|
778
|
+
var Rt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, en = /(?:[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;
|
|
779
|
+
function tn(e) {
|
|
779
780
|
var t = {};
|
|
780
|
-
return e.replace(
|
|
781
|
+
return e.replace(en, function(r) {
|
|
781
782
|
var n = r.length;
|
|
782
783
|
switch (r[0]) {
|
|
783
784
|
case "G":
|
|
@@ -866,11 +867,11 @@ function en(e) {
|
|
|
866
867
|
return "";
|
|
867
868
|
}), t;
|
|
868
869
|
}
|
|
869
|
-
var
|
|
870
|
-
function
|
|
870
|
+
var rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
871
|
+
function nn(e) {
|
|
871
872
|
if (e.length === 0)
|
|
872
873
|
throw new Error("Number skeleton cannot be empty");
|
|
873
|
-
for (var t = e.split(
|
|
874
|
+
for (var t = e.split(rn).filter(function(f) {
|
|
874
875
|
return f.length > 0;
|
|
875
876
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
876
877
|
var s = i[n], o = s.split("/");
|
|
@@ -885,17 +886,17 @@ function rn(e) {
|
|
|
885
886
|
}
|
|
886
887
|
return r;
|
|
887
888
|
}
|
|
888
|
-
function
|
|
889
|
+
function sn(e) {
|
|
889
890
|
return e.replace(/^(.*?)-/, "");
|
|
890
891
|
}
|
|
891
|
-
var
|
|
892
|
-
function
|
|
892
|
+
var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
|
|
893
|
+
function ot(e) {
|
|
893
894
|
var t = {};
|
|
894
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
895
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
|
|
895
896
|
return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
|
|
896
897
|
}), t;
|
|
897
898
|
}
|
|
898
|
-
function
|
|
899
|
+
function Gt(e) {
|
|
899
900
|
switch (e) {
|
|
900
901
|
case "sign-auto":
|
|
901
902
|
return {
|
|
@@ -935,7 +936,7 @@ function Dt(e) {
|
|
|
935
936
|
};
|
|
936
937
|
}
|
|
937
938
|
}
|
|
938
|
-
function
|
|
939
|
+
function an(e) {
|
|
939
940
|
var t;
|
|
940
941
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
941
942
|
notation: "engineering"
|
|
@@ -943,17 +944,17 @@ function on(e) {
|
|
|
943
944
|
notation: "scientific"
|
|
944
945
|
}, e = e.slice(1)), t) {
|
|
945
946
|
var r = e.slice(0, 2);
|
|
946
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
947
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dt.test(e))
|
|
947
948
|
throw new Error("Malformed concise eng/scientific notation");
|
|
948
949
|
t.minimumIntegerDigits = e.length;
|
|
949
950
|
}
|
|
950
951
|
return t;
|
|
951
952
|
}
|
|
952
|
-
function
|
|
953
|
-
var t = {}, r =
|
|
953
|
+
function at(e) {
|
|
954
|
+
var t = {}, r = Gt(e);
|
|
954
955
|
return r || t;
|
|
955
956
|
}
|
|
956
|
-
function
|
|
957
|
+
function un(e) {
|
|
957
958
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
958
959
|
var i = n[r];
|
|
959
960
|
switch (i.stem) {
|
|
@@ -977,7 +978,7 @@ function an(e) {
|
|
|
977
978
|
continue;
|
|
978
979
|
case "measure-unit":
|
|
979
980
|
case "unit":
|
|
980
|
-
t.style = "unit", t.unit =
|
|
981
|
+
t.style = "unit", t.unit = sn(i.options[0]);
|
|
981
982
|
continue;
|
|
982
983
|
case "compact-short":
|
|
983
984
|
case "K":
|
|
@@ -989,12 +990,12 @@ function an(e) {
|
|
|
989
990
|
continue;
|
|
990
991
|
case "scientific":
|
|
991
992
|
t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
|
|
992
|
-
return x(x({}, h),
|
|
993
|
+
return x(x({}, h), at(a));
|
|
993
994
|
}, {}));
|
|
994
995
|
continue;
|
|
995
996
|
case "engineering":
|
|
996
997
|
t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
|
|
997
|
-
return x(x({}, h),
|
|
998
|
+
return x(x({}, h), at(a));
|
|
998
999
|
}, {}));
|
|
999
1000
|
continue;
|
|
1000
1001
|
case "notation-simple":
|
|
@@ -1039,7 +1040,7 @@ function an(e) {
|
|
|
1039
1040
|
case "integer-width":
|
|
1040
1041
|
if (i.options.length > 1)
|
|
1041
1042
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1042
|
-
i.options[0].replace(
|
|
1043
|
+
i.options[0].replace(on, function(h, a, l, c, f, p) {
|
|
1043
1044
|
if (a)
|
|
1044
1045
|
t.minimumIntegerDigits = l.length;
|
|
1045
1046
|
else {
|
|
@@ -1052,32 +1053,32 @@ function an(e) {
|
|
|
1052
1053
|
});
|
|
1053
1054
|
continue;
|
|
1054
1055
|
}
|
|
1055
|
-
if (
|
|
1056
|
+
if (Dt.test(i.stem)) {
|
|
1056
1057
|
t.minimumIntegerDigits = i.stem.length;
|
|
1057
1058
|
continue;
|
|
1058
1059
|
}
|
|
1059
|
-
if (
|
|
1060
|
+
if (st.test(i.stem)) {
|
|
1060
1061
|
if (i.options.length > 1)
|
|
1061
1062
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1062
|
-
i.stem.replace(
|
|
1063
|
+
i.stem.replace(st, function(h, a, l, c, f, p) {
|
|
1063
1064
|
return l === "*" ? t.minimumFractionDigits = a.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
|
|
1064
1065
|
});
|
|
1065
1066
|
var s = i.options[0];
|
|
1066
|
-
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t),
|
|
1067
|
+
s === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = x(x({}, t), ot(s)));
|
|
1067
1068
|
continue;
|
|
1068
1069
|
}
|
|
1069
|
-
if (
|
|
1070
|
-
t = x(x({}, t),
|
|
1070
|
+
if (Ut.test(i.stem)) {
|
|
1071
|
+
t = x(x({}, t), ot(i.stem));
|
|
1071
1072
|
continue;
|
|
1072
1073
|
}
|
|
1073
|
-
var o =
|
|
1074
|
+
var o = Gt(i.stem);
|
|
1074
1075
|
o && (t = x(x({}, t), o));
|
|
1075
|
-
var u =
|
|
1076
|
+
var u = an(i.stem);
|
|
1076
1077
|
u && (t = x(x({}, t), u));
|
|
1077
1078
|
}
|
|
1078
1079
|
return t;
|
|
1079
1080
|
}
|
|
1080
|
-
var
|
|
1081
|
+
var ge = {
|
|
1081
1082
|
"001": [
|
|
1082
1083
|
"H",
|
|
1083
1084
|
"h"
|
|
@@ -2492,13 +2493,13 @@ var ce = {
|
|
|
2492
2493
|
"h"
|
|
2493
2494
|
]
|
|
2494
2495
|
};
|
|
2495
|
-
function
|
|
2496
|
+
function hn(e, t) {
|
|
2496
2497
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2497
2498
|
var i = e.charAt(n);
|
|
2498
2499
|
if (i === "j") {
|
|
2499
2500
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2500
2501
|
s++, n++;
|
|
2501
|
-
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a =
|
|
2502
|
+
var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", a = ln(t);
|
|
2502
2503
|
for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
|
|
2503
2504
|
r += h;
|
|
2504
2505
|
for (; o-- > 0; )
|
|
@@ -2508,7 +2509,7 @@ function un(e, t) {
|
|
|
2508
2509
|
}
|
|
2509
2510
|
return r;
|
|
2510
2511
|
}
|
|
2511
|
-
function
|
|
2512
|
+
function ln(e) {
|
|
2512
2513
|
var t = e.hourCycle;
|
|
2513
2514
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2514
2515
|
e.hourCycles && // @ts-ignore
|
|
@@ -2527,23 +2528,23 @@ function hn(e) {
|
|
|
2527
2528
|
}
|
|
2528
2529
|
var r = e.language, n;
|
|
2529
2530
|
r !== "root" && (n = e.maximize().region);
|
|
2530
|
-
var i =
|
|
2531
|
+
var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
|
|
2531
2532
|
return i[0];
|
|
2532
2533
|
}
|
|
2533
|
-
var
|
|
2534
|
+
var we, fn = new RegExp("^".concat(Rt.source, "*")), cn = new RegExp("".concat(Rt.source, "*$"));
|
|
2534
2535
|
function _(e, t) {
|
|
2535
2536
|
return { start: e, end: t };
|
|
2536
2537
|
}
|
|
2537
|
-
var
|
|
2538
|
+
var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), mn = !!String.fromCodePoint, pn = !!Object.fromEntries, dn = !!String.prototype.codePointAt, bn = !!String.prototype.trimStart, yn = !!String.prototype.trimEnd, _n = !!Number.isSafeInteger, xn = _n ? Number.isSafeInteger : function(e) {
|
|
2538
2539
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2539
|
-
},
|
|
2540
|
+
}, Ue = !0;
|
|
2540
2541
|
try {
|
|
2541
|
-
var
|
|
2542
|
-
|
|
2542
|
+
var En = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2543
|
+
Ue = ((we = En.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
|
|
2543
2544
|
} catch (e) {
|
|
2544
|
-
|
|
2545
|
+
Ue = !1;
|
|
2545
2546
|
}
|
|
2546
|
-
var
|
|
2547
|
+
var ut = gn ? (
|
|
2547
2548
|
// Native
|
|
2548
2549
|
function(t, r, n) {
|
|
2549
2550
|
return t.startsWith(r, n);
|
|
@@ -2553,7 +2554,7 @@ var at = cn ? (
|
|
|
2553
2554
|
function(t, r, n) {
|
|
2554
2555
|
return t.slice(n, n + r.length) === r;
|
|
2555
2556
|
}
|
|
2556
|
-
),
|
|
2557
|
+
), De = mn ? String.fromCodePoint : (
|
|
2557
2558
|
// IE11
|
|
2558
2559
|
function() {
|
|
2559
2560
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2565,9 +2566,9 @@ var at = cn ? (
|
|
|
2565
2566
|
}
|
|
2566
2567
|
return n;
|
|
2567
2568
|
}
|
|
2568
|
-
),
|
|
2569
|
+
), ht = (
|
|
2569
2570
|
// native
|
|
2570
|
-
|
|
2571
|
+
pn ? Object.fromEntries : (
|
|
2571
2572
|
// Ponyfill
|
|
2572
2573
|
function(t) {
|
|
2573
2574
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2577,7 +2578,7 @@ var at = cn ? (
|
|
|
2577
2578
|
return r;
|
|
2578
2579
|
}
|
|
2579
2580
|
)
|
|
2580
|
-
),
|
|
2581
|
+
), Ft = dn ? (
|
|
2581
2582
|
// Native
|
|
2582
2583
|
function(t, r) {
|
|
2583
2584
|
return t.codePointAt(r);
|
|
@@ -2591,7 +2592,7 @@ var at = cn ? (
|
|
|
2591
2592
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2592
2593
|
}
|
|
2593
2594
|
}
|
|
2594
|
-
),
|
|
2595
|
+
), vn = bn ? (
|
|
2595
2596
|
// Native
|
|
2596
2597
|
function(t) {
|
|
2597
2598
|
return t.trimStart();
|
|
@@ -2599,9 +2600,9 @@ var at = cn ? (
|
|
|
2599
2600
|
) : (
|
|
2600
2601
|
// Ponyfill
|
|
2601
2602
|
function(t) {
|
|
2602
|
-
return t.replace(
|
|
2603
|
+
return t.replace(fn, "");
|
|
2603
2604
|
}
|
|
2604
|
-
),
|
|
2605
|
+
), Cn = yn ? (
|
|
2605
2606
|
// Native
|
|
2606
2607
|
function(t) {
|
|
2607
2608
|
return t.trimEnd();
|
|
@@ -2609,30 +2610,30 @@ var at = cn ? (
|
|
|
2609
2610
|
) : (
|
|
2610
2611
|
// Ponyfill
|
|
2611
2612
|
function(t) {
|
|
2612
|
-
return t.replace(
|
|
2613
|
+
return t.replace(cn, "");
|
|
2613
2614
|
}
|
|
2614
2615
|
);
|
|
2615
|
-
function
|
|
2616
|
+
function jt(e, t) {
|
|
2616
2617
|
return new RegExp(e, t);
|
|
2617
2618
|
}
|
|
2618
|
-
var
|
|
2619
|
-
if (
|
|
2620
|
-
var
|
|
2621
|
-
|
|
2619
|
+
var Ge;
|
|
2620
|
+
if (Ue) {
|
|
2621
|
+
var lt = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2622
|
+
Ge = function(t, r) {
|
|
2622
2623
|
var n;
|
|
2623
|
-
|
|
2624
|
-
var i =
|
|
2624
|
+
lt.lastIndex = r;
|
|
2625
|
+
var i = lt.exec(t);
|
|
2625
2626
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2626
2627
|
};
|
|
2627
2628
|
} else
|
|
2628
|
-
|
|
2629
|
+
Ge = function(t, r) {
|
|
2629
2630
|
for (var n = []; ; ) {
|
|
2630
|
-
var i =
|
|
2631
|
-
if (i === void 0 ||
|
|
2631
|
+
var i = Ft(t, r);
|
|
2632
|
+
if (i === void 0 || kt(i) || Bn(i))
|
|
2632
2633
|
break;
|
|
2633
2634
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2634
2635
|
}
|
|
2635
|
-
return
|
|
2636
|
+
return De.apply(void 0, n);
|
|
2636
2637
|
};
|
|
2637
2638
|
var Tn = (
|
|
2638
2639
|
/** @class */
|
|
@@ -2658,14 +2659,14 @@ var Tn = (
|
|
|
2658
2659
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2659
2660
|
var u = this.clonePosition();
|
|
2660
2661
|
this.bump(), i.push({
|
|
2661
|
-
type:
|
|
2662
|
+
type: C.pound,
|
|
2662
2663
|
location: _(u, this.clonePosition())
|
|
2663
2664
|
});
|
|
2664
2665
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2665
2666
|
if (n)
|
|
2666
2667
|
break;
|
|
2667
2668
|
return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
|
|
2668
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2669
|
+
} else if (s === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
|
|
2669
2670
|
var o = this.parseTag(t, r);
|
|
2670
2671
|
if (o.err)
|
|
2671
2672
|
return o;
|
|
@@ -2686,7 +2687,7 @@ var Tn = (
|
|
|
2686
2687
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2687
2688
|
return {
|
|
2688
2689
|
val: {
|
|
2689
|
-
type:
|
|
2690
|
+
type: C.literal,
|
|
2690
2691
|
value: "<".concat(i, "/>"),
|
|
2691
2692
|
location: _(n, this.clonePosition())
|
|
2692
2693
|
},
|
|
@@ -2698,12 +2699,12 @@ var Tn = (
|
|
|
2698
2699
|
return s;
|
|
2699
2700
|
var o = s.val, u = this.clonePosition();
|
|
2700
2701
|
if (this.bumpIf("</")) {
|
|
2701
|
-
if (this.isEOF() || !
|
|
2702
|
+
if (this.isEOF() || !Fe(this.char()))
|
|
2702
2703
|
return this.error(y.INVALID_TAG, _(u, this.clonePosition()));
|
|
2703
2704
|
var h = this.clonePosition(), a = this.parseTagName();
|
|
2704
2705
|
return i !== a ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2705
2706
|
val: {
|
|
2706
|
-
type:
|
|
2707
|
+
type: C.tag,
|
|
2707
2708
|
value: i,
|
|
2708
2709
|
children: o,
|
|
2709
2710
|
location: _(n, this.clonePosition())
|
|
@@ -2716,7 +2717,7 @@ var Tn = (
|
|
|
2716
2717
|
return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
|
|
2717
2718
|
}, e.prototype.parseTagName = function() {
|
|
2718
2719
|
var t = this.offset();
|
|
2719
|
-
for (this.bump(); !this.isEOF() &&
|
|
2720
|
+
for (this.bump(); !this.isEOF() && An(this.char()); )
|
|
2720
2721
|
this.bump();
|
|
2721
2722
|
return this.message.slice(t, this.offset());
|
|
2722
2723
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2740,12 +2741,12 @@ var Tn = (
|
|
|
2740
2741
|
}
|
|
2741
2742
|
var h = _(n, this.clonePosition());
|
|
2742
2743
|
return {
|
|
2743
|
-
val: { type:
|
|
2744
|
+
val: { type: C.literal, value: i, location: h },
|
|
2744
2745
|
err: null
|
|
2745
2746
|
};
|
|
2746
2747
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2747
2748
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2748
|
-
!
|
|
2749
|
+
!Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2749
2750
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2750
2751
|
if (this.isEOF() || this.char() !== 39)
|
|
2751
2752
|
return null;
|
|
@@ -2779,12 +2780,12 @@ var Tn = (
|
|
|
2779
2780
|
r.push(n);
|
|
2780
2781
|
this.bump();
|
|
2781
2782
|
}
|
|
2782
|
-
return
|
|
2783
|
+
return De.apply(void 0, r);
|
|
2783
2784
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2784
2785
|
if (this.isEOF())
|
|
2785
2786
|
return null;
|
|
2786
2787
|
var n = this.char();
|
|
2787
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2788
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
|
|
2788
2789
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2789
2790
|
var n = this.clonePosition();
|
|
2790
2791
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2800,7 +2801,7 @@ var Tn = (
|
|
|
2800
2801
|
case 125:
|
|
2801
2802
|
return this.bump(), {
|
|
2802
2803
|
val: {
|
|
2803
|
-
type:
|
|
2804
|
+
type: C.argument,
|
|
2804
2805
|
// value does not include the opening and closing braces.
|
|
2805
2806
|
value: i,
|
|
2806
2807
|
location: _(n, this.clonePosition())
|
|
@@ -2813,7 +2814,7 @@ var Tn = (
|
|
|
2813
2814
|
return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
|
|
2814
2815
|
}
|
|
2815
2816
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2816
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2817
|
+
var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
|
|
2817
2818
|
this.bumpTo(i);
|
|
2818
2819
|
var s = this.clonePosition(), o = _(t, s);
|
|
2819
2820
|
return { value: n, location: o };
|
|
@@ -2832,7 +2833,7 @@ var Tn = (
|
|
|
2832
2833
|
var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
2833
2834
|
if (c.err)
|
|
2834
2835
|
return c;
|
|
2835
|
-
var f =
|
|
2836
|
+
var f = Cn(c.val);
|
|
2836
2837
|
if (f.length === 0)
|
|
2837
2838
|
return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
|
|
2838
2839
|
var p = _(l, this.clonePosition());
|
|
@@ -2842,34 +2843,34 @@ var Tn = (
|
|
|
2842
2843
|
if (d.err)
|
|
2843
2844
|
return d;
|
|
2844
2845
|
var g = _(i, this.clonePosition());
|
|
2845
|
-
if (a &&
|
|
2846
|
-
var E =
|
|
2846
|
+
if (a && ut(a == null ? void 0 : a.style, "::", 0)) {
|
|
2847
|
+
var E = vn(a.style.slice(2));
|
|
2847
2848
|
if (u === "number") {
|
|
2848
2849
|
var c = this.parseNumberSkeletonFromString(E, a.styleLocation);
|
|
2849
2850
|
return c.err ? c : {
|
|
2850
|
-
val: { type:
|
|
2851
|
+
val: { type: C.number, value: n, location: g, style: c.val },
|
|
2851
2852
|
err: null
|
|
2852
2853
|
};
|
|
2853
2854
|
} else {
|
|
2854
2855
|
if (E.length === 0)
|
|
2855
2856
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
2856
2857
|
var m = E;
|
|
2857
|
-
this.locale && (m =
|
|
2858
|
+
this.locale && (m = hn(E, this.locale));
|
|
2858
2859
|
var f = {
|
|
2859
|
-
type:
|
|
2860
|
+
type: q.dateTime,
|
|
2860
2861
|
pattern: m,
|
|
2861
2862
|
location: a.styleLocation,
|
|
2862
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2863
|
-
},
|
|
2863
|
+
parsedOptions: this.shouldParseSkeletons ? tn(m) : {}
|
|
2864
|
+
}, T = u === "date" ? C.date : C.time;
|
|
2864
2865
|
return {
|
|
2865
|
-
val: { type:
|
|
2866
|
+
val: { type: T, value: n, location: g, style: f },
|
|
2866
2867
|
err: null
|
|
2867
2868
|
};
|
|
2868
2869
|
}
|
|
2869
2870
|
}
|
|
2870
2871
|
return {
|
|
2871
2872
|
val: {
|
|
2872
|
-
type: u === "number" ?
|
|
2873
|
+
type: u === "number" ? C.number : u === "date" ? C.date : C.time,
|
|
2873
2874
|
value: n,
|
|
2874
2875
|
location: g,
|
|
2875
2876
|
style: (s = a == null ? void 0 : a.style) !== null && s !== void 0 ? s : null
|
|
@@ -2880,43 +2881,43 @@ var Tn = (
|
|
|
2880
2881
|
case "plural":
|
|
2881
2882
|
case "selectordinal":
|
|
2882
2883
|
case "select": {
|
|
2883
|
-
var
|
|
2884
|
+
var A = this.clonePosition();
|
|
2884
2885
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2885
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(
|
|
2886
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(A, x({}, A)));
|
|
2886
2887
|
this.bumpSpace();
|
|
2887
|
-
var
|
|
2888
|
-
if (u !== "select" &&
|
|
2888
|
+
var w = this.parseIdentifierIfPossible(), B = 0;
|
|
2889
|
+
if (u !== "select" && w.value === "offset") {
|
|
2889
2890
|
if (!this.bumpIf(":"))
|
|
2890
2891
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
|
|
2891
2892
|
this.bumpSpace();
|
|
2892
2893
|
var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2893
2894
|
if (c.err)
|
|
2894
2895
|
return c;
|
|
2895
|
-
this.bumpSpace(),
|
|
2896
|
+
this.bumpSpace(), w = this.parseIdentifierIfPossible(), B = c.val;
|
|
2896
2897
|
}
|
|
2897
|
-
var
|
|
2898
|
-
if (
|
|
2899
|
-
return
|
|
2898
|
+
var H = this.tryParsePluralOrSelectOptions(t, u, r, w);
|
|
2899
|
+
if (H.err)
|
|
2900
|
+
return H;
|
|
2900
2901
|
var d = this.tryParseArgumentClose(i);
|
|
2901
2902
|
if (d.err)
|
|
2902
2903
|
return d;
|
|
2903
|
-
var
|
|
2904
|
+
var P = _(i, this.clonePosition());
|
|
2904
2905
|
return u === "select" ? {
|
|
2905
2906
|
val: {
|
|
2906
|
-
type:
|
|
2907
|
+
type: C.select,
|
|
2907
2908
|
value: n,
|
|
2908
|
-
options:
|
|
2909
|
-
location:
|
|
2909
|
+
options: ht(H.val),
|
|
2910
|
+
location: P
|
|
2910
2911
|
},
|
|
2911
2912
|
err: null
|
|
2912
2913
|
} : {
|
|
2913
2914
|
val: {
|
|
2914
|
-
type:
|
|
2915
|
+
type: C.plural,
|
|
2915
2916
|
value: n,
|
|
2916
|
-
options:
|
|
2917
|
-
offset:
|
|
2917
|
+
options: ht(H.val),
|
|
2918
|
+
offset: B,
|
|
2918
2919
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2919
|
-
location:
|
|
2920
|
+
location: P
|
|
2920
2921
|
},
|
|
2921
2922
|
err: null
|
|
2922
2923
|
};
|
|
@@ -2964,16 +2965,16 @@ var Tn = (
|
|
|
2964
2965
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2965
2966
|
var n = [];
|
|
2966
2967
|
try {
|
|
2967
|
-
n =
|
|
2968
|
+
n = nn(t);
|
|
2968
2969
|
} catch (i) {
|
|
2969
2970
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
2970
2971
|
}
|
|
2971
2972
|
return {
|
|
2972
2973
|
val: {
|
|
2973
|
-
type:
|
|
2974
|
+
type: q.number,
|
|
2974
2975
|
tokens: n,
|
|
2975
2976
|
location: r,
|
|
2976
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2977
|
+
parsedOptions: this.shouldParseSkeletons ? un(n) : {}
|
|
2977
2978
|
},
|
|
2978
2979
|
err: null
|
|
2979
2980
|
};
|
|
@@ -3021,7 +3022,7 @@ var Tn = (
|
|
|
3021
3022
|
break;
|
|
3022
3023
|
}
|
|
3023
3024
|
var h = _(i, this.clonePosition());
|
|
3024
|
-
return s ? (o *= n,
|
|
3025
|
+
return s ? (o *= n, xn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3025
3026
|
}, e.prototype.offset = function() {
|
|
3026
3027
|
return this.position.offset;
|
|
3027
3028
|
}, e.prototype.isEOF = function() {
|
|
@@ -3036,7 +3037,7 @@ var Tn = (
|
|
|
3036
3037
|
var t = this.position.offset;
|
|
3037
3038
|
if (t >= this.message.length)
|
|
3038
3039
|
throw Error("out of bound");
|
|
3039
|
-
var r =
|
|
3040
|
+
var r = Ft(this.message, t);
|
|
3040
3041
|
if (r === void 0)
|
|
3041
3042
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3042
3043
|
return r;
|
|
@@ -3055,7 +3056,7 @@ var Tn = (
|
|
|
3055
3056
|
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);
|
|
3056
3057
|
}
|
|
3057
3058
|
}, e.prototype.bumpIf = function(t) {
|
|
3058
|
-
if (
|
|
3059
|
+
if (ut(this.message, t, this.offset())) {
|
|
3059
3060
|
for (var r = 0; r < t.length; r++)
|
|
3060
3061
|
this.bump();
|
|
3061
3062
|
return !0;
|
|
@@ -3077,7 +3078,7 @@ var Tn = (
|
|
|
3077
3078
|
break;
|
|
3078
3079
|
}
|
|
3079
3080
|
}, e.prototype.bumpSpace = function() {
|
|
3080
|
-
for (; !this.isEOF() &&
|
|
3081
|
+
for (; !this.isEOF() && kt(this.char()); )
|
|
3081
3082
|
this.bump();
|
|
3082
3083
|
}, e.prototype.peek = function() {
|
|
3083
3084
|
if (this.isEOF())
|
|
@@ -3087,47 +3088,47 @@ var Tn = (
|
|
|
3087
3088
|
}, e;
|
|
3088
3089
|
}()
|
|
3089
3090
|
);
|
|
3090
|
-
function
|
|
3091
|
+
function Fe(e) {
|
|
3091
3092
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3092
3093
|
}
|
|
3093
|
-
function Cn(e) {
|
|
3094
|
-
return Ge(e) || e === 47;
|
|
3095
|
-
}
|
|
3096
3094
|
function Hn(e) {
|
|
3095
|
+
return Fe(e) || e === 47;
|
|
3096
|
+
}
|
|
3097
|
+
function An(e) {
|
|
3097
3098
|
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;
|
|
3098
3099
|
}
|
|
3099
|
-
function
|
|
3100
|
+
function kt(e) {
|
|
3100
3101
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3101
3102
|
}
|
|
3102
|
-
function
|
|
3103
|
+
function Bn(e) {
|
|
3103
3104
|
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;
|
|
3104
3105
|
}
|
|
3105
|
-
function
|
|
3106
|
+
function je(e) {
|
|
3106
3107
|
e.forEach(function(t) {
|
|
3107
|
-
if (delete t.location,
|
|
3108
|
+
if (delete t.location, Lt(t) || It(t))
|
|
3108
3109
|
for (var r in t.options)
|
|
3109
|
-
delete t.options[r].location,
|
|
3110
|
+
delete t.options[r].location, je(t.options[r].value);
|
|
3110
3111
|
else
|
|
3111
|
-
|
|
3112
|
+
wt(t) && $t(t.style) || (Pt(t) || Nt(t)) && Re(t.style) ? delete t.style.location : Mt(t) && je(t.children);
|
|
3112
3113
|
});
|
|
3113
3114
|
}
|
|
3114
|
-
function
|
|
3115
|
+
function Sn(e, t) {
|
|
3115
3116
|
t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3116
3117
|
var r = new Tn(e, t).parse();
|
|
3117
3118
|
if (r.err) {
|
|
3118
3119
|
var n = SyntaxError(y[r.err.kind]);
|
|
3119
3120
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3120
3121
|
}
|
|
3121
|
-
return t != null && t.captureLocation ||
|
|
3122
|
+
return t != null && t.captureLocation || je(r.val), r.val;
|
|
3122
3123
|
}
|
|
3123
|
-
var
|
|
3124
|
+
var J;
|
|
3124
3125
|
(function(e) {
|
|
3125
3126
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3126
|
-
})(
|
|
3127
|
-
var
|
|
3127
|
+
})(J || (J = {}));
|
|
3128
|
+
var ve = (
|
|
3128
3129
|
/** @class */
|
|
3129
3130
|
function(e) {
|
|
3130
|
-
|
|
3131
|
+
Ee(t, e);
|
|
3131
3132
|
function t(r, n, i) {
|
|
3132
3133
|
var s = e.call(this, r) || this;
|
|
3133
3134
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3136,155 +3137,155 @@ var Ee = (
|
|
|
3136
3137
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3137
3138
|
}, t;
|
|
3138
3139
|
}(Error)
|
|
3139
|
-
),
|
|
3140
|
+
), ft = (
|
|
3140
3141
|
/** @class */
|
|
3141
3142
|
function(e) {
|
|
3142
|
-
|
|
3143
|
+
Ee(t, e);
|
|
3143
3144
|
function t(r, n, i, s) {
|
|
3144
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3145
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, s) || this;
|
|
3145
3146
|
}
|
|
3146
3147
|
return t;
|
|
3147
|
-
}(
|
|
3148
|
-
),
|
|
3148
|
+
}(ve)
|
|
3149
|
+
), On = (
|
|
3149
3150
|
/** @class */
|
|
3150
3151
|
function(e) {
|
|
3151
|
-
|
|
3152
|
+
Ee(t, e);
|
|
3152
3153
|
function t(r, n, i) {
|
|
3153
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3154
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3154
3155
|
}
|
|
3155
3156
|
return t;
|
|
3156
|
-
}(
|
|
3157
|
-
),
|
|
3157
|
+
}(ve)
|
|
3158
|
+
), wn = (
|
|
3158
3159
|
/** @class */
|
|
3159
3160
|
function(e) {
|
|
3160
|
-
|
|
3161
|
+
Ee(t, e);
|
|
3161
3162
|
function t(r, n) {
|
|
3162
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3163
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3163
3164
|
}
|
|
3164
3165
|
return t;
|
|
3165
|
-
}(
|
|
3166
|
-
),
|
|
3166
|
+
}(ve)
|
|
3167
|
+
), O;
|
|
3167
3168
|
(function(e) {
|
|
3168
3169
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3169
|
-
})(
|
|
3170
|
-
function
|
|
3170
|
+
})(O || (O = {}));
|
|
3171
|
+
function Pn(e) {
|
|
3171
3172
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3172
3173
|
var n = t[t.length - 1];
|
|
3173
|
-
return !n || n.type !==
|
|
3174
|
+
return !n || n.type !== O.literal || r.type !== O.literal ? t.push(r) : n.value += r.value, t;
|
|
3174
3175
|
}, []);
|
|
3175
3176
|
}
|
|
3176
|
-
function
|
|
3177
|
+
function Nn(e) {
|
|
3177
3178
|
return typeof e == "function";
|
|
3178
3179
|
}
|
|
3179
|
-
function
|
|
3180
|
-
if (e.length === 1 &&
|
|
3180
|
+
function pe(e, t, r, n, i, s, o) {
|
|
3181
|
+
if (e.length === 1 && it(e[0]))
|
|
3181
3182
|
return [
|
|
3182
3183
|
{
|
|
3183
|
-
type:
|
|
3184
|
+
type: O.literal,
|
|
3184
3185
|
value: e[0].value
|
|
3185
3186
|
}
|
|
3186
3187
|
];
|
|
3187
3188
|
for (var u = [], h = 0, a = e; h < a.length; h++) {
|
|
3188
3189
|
var l = a[h];
|
|
3189
|
-
if (
|
|
3190
|
+
if (it(l)) {
|
|
3190
3191
|
u.push({
|
|
3191
|
-
type:
|
|
3192
|
+
type: O.literal,
|
|
3192
3193
|
value: l.value
|
|
3193
3194
|
});
|
|
3194
3195
|
continue;
|
|
3195
3196
|
}
|
|
3196
|
-
if (
|
|
3197
|
+
if (Kr(l)) {
|
|
3197
3198
|
typeof s == "number" && u.push({
|
|
3198
|
-
type:
|
|
3199
|
+
type: O.literal,
|
|
3199
3200
|
value: r.getNumberFormat(t).format(s)
|
|
3200
3201
|
});
|
|
3201
3202
|
continue;
|
|
3202
3203
|
}
|
|
3203
3204
|
var c = l.value;
|
|
3204
3205
|
if (!(i && c in i))
|
|
3205
|
-
throw new
|
|
3206
|
+
throw new wn(c, o);
|
|
3206
3207
|
var f = i[c];
|
|
3207
|
-
if (
|
|
3208
|
+
if (Yr(l)) {
|
|
3208
3209
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3209
|
-
type: typeof f == "string" ?
|
|
3210
|
+
type: typeof f == "string" ? O.literal : O.object,
|
|
3210
3211
|
value: f
|
|
3211
3212
|
});
|
|
3212
3213
|
continue;
|
|
3213
3214
|
}
|
|
3214
|
-
if (
|
|
3215
|
-
var p = typeof l.style == "string" ? n.date[l.style] :
|
|
3215
|
+
if (Pt(l)) {
|
|
3216
|
+
var p = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
|
|
3216
3217
|
u.push({
|
|
3217
|
-
type:
|
|
3218
|
+
type: O.literal,
|
|
3218
3219
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3219
3220
|
});
|
|
3220
3221
|
continue;
|
|
3221
3222
|
}
|
|
3222
|
-
if (
|
|
3223
|
-
var p = typeof l.style == "string" ? n.time[l.style] :
|
|
3223
|
+
if (Nt(l)) {
|
|
3224
|
+
var p = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3224
3225
|
u.push({
|
|
3225
|
-
type:
|
|
3226
|
+
type: O.literal,
|
|
3226
3227
|
value: r.getDateTimeFormat(t, p).format(f)
|
|
3227
3228
|
});
|
|
3228
3229
|
continue;
|
|
3229
3230
|
}
|
|
3230
|
-
if (
|
|
3231
|
-
var p = typeof l.style == "string" ? n.number[l.style] :
|
|
3231
|
+
if (wt(l)) {
|
|
3232
|
+
var p = typeof l.style == "string" ? n.number[l.style] : $t(l.style) ? l.style.parsedOptions : void 0;
|
|
3232
3233
|
p && p.scale && (f = f * (p.scale || 1)), u.push({
|
|
3233
|
-
type:
|
|
3234
|
+
type: O.literal,
|
|
3234
3235
|
value: r.getNumberFormat(t, p).format(f)
|
|
3235
3236
|
});
|
|
3236
3237
|
continue;
|
|
3237
3238
|
}
|
|
3238
|
-
if (
|
|
3239
|
+
if (Mt(l)) {
|
|
3239
3240
|
var d = l.children, g = l.value, E = i[g];
|
|
3240
|
-
if (!
|
|
3241
|
-
throw new
|
|
3242
|
-
var m =
|
|
3243
|
-
return
|
|
3241
|
+
if (!Nn(E))
|
|
3242
|
+
throw new On(g, "function", o);
|
|
3243
|
+
var m = pe(d, t, r, n, i, s), T = E(m.map(function(B) {
|
|
3244
|
+
return B.value;
|
|
3244
3245
|
}));
|
|
3245
|
-
Array.isArray(
|
|
3246
|
+
Array.isArray(T) || (T = [T]), u.push.apply(u, T.map(function(B) {
|
|
3246
3247
|
return {
|
|
3247
|
-
type: typeof
|
|
3248
|
-
value:
|
|
3248
|
+
type: typeof B == "string" ? O.literal : O.object,
|
|
3249
|
+
value: B
|
|
3249
3250
|
};
|
|
3250
3251
|
}));
|
|
3251
3252
|
}
|
|
3252
|
-
if (
|
|
3253
|
-
var
|
|
3254
|
-
if (!
|
|
3255
|
-
throw new
|
|
3256
|
-
u.push.apply(u,
|
|
3253
|
+
if (Lt(l)) {
|
|
3254
|
+
var A = l.options[f] || l.options.other;
|
|
3255
|
+
if (!A)
|
|
3256
|
+
throw new ft(l.value, f, Object.keys(l.options), o);
|
|
3257
|
+
u.push.apply(u, pe(A.value, t, r, n, i));
|
|
3257
3258
|
continue;
|
|
3258
3259
|
}
|
|
3259
|
-
if (
|
|
3260
|
-
var
|
|
3261
|
-
if (!
|
|
3260
|
+
if (It(l)) {
|
|
3261
|
+
var A = l.options["=".concat(f)];
|
|
3262
|
+
if (!A) {
|
|
3262
3263
|
if (!Intl.PluralRules)
|
|
3263
|
-
throw new
|
|
3264
|
+
throw new ve(`Intl.PluralRules is not available in this environment.
|
|
3264
3265
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3265
|
-
`,
|
|
3266
|
-
var
|
|
3267
|
-
|
|
3266
|
+
`, J.MISSING_INTL_API, o);
|
|
3267
|
+
var w = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
|
|
3268
|
+
A = l.options[w] || l.options.other;
|
|
3268
3269
|
}
|
|
3269
|
-
if (!
|
|
3270
|
-
throw new
|
|
3271
|
-
u.push.apply(u,
|
|
3270
|
+
if (!A)
|
|
3271
|
+
throw new ft(l.value, f, Object.keys(l.options), o);
|
|
3272
|
+
u.push.apply(u, pe(A.value, t, r, n, i, f - (l.offset || 0)));
|
|
3272
3273
|
continue;
|
|
3273
3274
|
}
|
|
3274
3275
|
}
|
|
3275
|
-
return
|
|
3276
|
+
return Pn(u);
|
|
3276
3277
|
}
|
|
3277
|
-
function
|
|
3278
|
+
function Ln(e, t) {
|
|
3278
3279
|
return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3279
3280
|
return r[n] = x(x({}, e[n]), t[n] || {}), r;
|
|
3280
3281
|
}, {})) : e;
|
|
3281
3282
|
}
|
|
3282
|
-
function
|
|
3283
|
+
function In(e, t) {
|
|
3283
3284
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3284
|
-
return r[n] =
|
|
3285
|
+
return r[n] = Ln(e[n], t[n]), r;
|
|
3285
3286
|
}, x({}, e)) : e;
|
|
3286
3287
|
}
|
|
3287
|
-
function
|
|
3288
|
+
function Pe(e) {
|
|
3288
3289
|
return {
|
|
3289
3290
|
create: function() {
|
|
3290
3291
|
return {
|
|
@@ -3298,39 +3299,39 @@ function we(e) {
|
|
|
3298
3299
|
}
|
|
3299
3300
|
};
|
|
3300
3301
|
}
|
|
3301
|
-
function
|
|
3302
|
+
function Mn(e) {
|
|
3302
3303
|
return e === void 0 && (e = {
|
|
3303
3304
|
number: {},
|
|
3304
3305
|
dateTime: {},
|
|
3305
3306
|
pluralRules: {}
|
|
3306
3307
|
}), {
|
|
3307
|
-
getNumberFormat:
|
|
3308
|
+
getNumberFormat: Se(function() {
|
|
3308
3309
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3309
3310
|
r[n] = arguments[n];
|
|
3310
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3311
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
3311
3312
|
}, {
|
|
3312
|
-
cache:
|
|
3313
|
-
strategy:
|
|
3313
|
+
cache: Pe(e.number),
|
|
3314
|
+
strategy: Oe.variadic
|
|
3314
3315
|
}),
|
|
3315
|
-
getDateTimeFormat:
|
|
3316
|
+
getDateTimeFormat: Se(function() {
|
|
3316
3317
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3317
3318
|
r[n] = arguments[n];
|
|
3318
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3319
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
|
|
3319
3320
|
}, {
|
|
3320
|
-
cache:
|
|
3321
|
-
strategy:
|
|
3321
|
+
cache: Pe(e.dateTime),
|
|
3322
|
+
strategy: Oe.variadic
|
|
3322
3323
|
}),
|
|
3323
|
-
getPluralRules:
|
|
3324
|
+
getPluralRules: Se(function() {
|
|
3324
3325
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3325
3326
|
r[n] = arguments[n];
|
|
3326
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3327
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
|
|
3327
3328
|
}, {
|
|
3328
|
-
cache:
|
|
3329
|
-
strategy:
|
|
3329
|
+
cache: Pe(e.pluralRules),
|
|
3330
|
+
strategy: Oe.variadic
|
|
3330
3331
|
})
|
|
3331
3332
|
};
|
|
3332
3333
|
}
|
|
3333
|
-
var
|
|
3334
|
+
var $n = (
|
|
3334
3335
|
/** @class */
|
|
3335
3336
|
function() {
|
|
3336
3337
|
function e(t, r, n, i) {
|
|
@@ -3345,11 +3346,11 @@ var Mn = (
|
|
|
3345
3346
|
if (a.length === 1)
|
|
3346
3347
|
return a[0].value;
|
|
3347
3348
|
var l = a.reduce(function(c, f) {
|
|
3348
|
-
return !c.length || f.type !==
|
|
3349
|
+
return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3349
3350
|
}, []);
|
|
3350
3351
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3351
3352
|
}, this.formatToParts = function(h) {
|
|
3352
|
-
return
|
|
3353
|
+
return pe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3353
3354
|
}, this.resolvedOptions = function() {
|
|
3354
3355
|
var h;
|
|
3355
3356
|
return {
|
|
@@ -3362,13 +3363,13 @@ var Mn = (
|
|
|
3362
3363
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3363
3364
|
var o = i || {};
|
|
3364
3365
|
o.formatters;
|
|
3365
|
-
var u =
|
|
3366
|
+
var u = Vr(o, ["formatters"]);
|
|
3366
3367
|
this.ast = e.__parse(t, x(x({}, u), { locale: this.resolvedLocale }));
|
|
3367
3368
|
} else
|
|
3368
3369
|
this.ast = t;
|
|
3369
3370
|
if (!Array.isArray(this.ast))
|
|
3370
3371
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3371
|
-
this.formats =
|
|
3372
|
+
this.formats = In(e.formats, n), this.formatters = i && i.formatters || Mn(this.formatterCache);
|
|
3372
3373
|
}
|
|
3373
3374
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3374
3375
|
get: function() {
|
|
@@ -3381,7 +3382,7 @@ var Mn = (
|
|
|
3381
3382
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3382
3383
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3383
3384
|
}
|
|
3384
|
-
}, e.__parse =
|
|
3385
|
+
}, e.__parse = Sn, e.formats = {
|
|
3385
3386
|
number: {
|
|
3386
3387
|
integer: {
|
|
3387
3388
|
maximumFractionDigits: 0
|
|
@@ -3442,7 +3443,7 @@ var Mn = (
|
|
|
3442
3443
|
}, e;
|
|
3443
3444
|
}()
|
|
3444
3445
|
);
|
|
3445
|
-
function
|
|
3446
|
+
function Rn(e, t) {
|
|
3446
3447
|
if (t == null)
|
|
3447
3448
|
return;
|
|
3448
3449
|
if (t in e)
|
|
@@ -3463,92 +3464,92 @@ function $n(e, t) {
|
|
|
3463
3464
|
n = void 0;
|
|
3464
3465
|
return n;
|
|
3465
3466
|
}
|
|
3466
|
-
const
|
|
3467
|
+
const G = {}, Un = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Vt = (e, t) => {
|
|
3467
3468
|
if (t == null)
|
|
3468
3469
|
return;
|
|
3469
|
-
if (t in
|
|
3470
|
-
return
|
|
3471
|
-
const r =
|
|
3470
|
+
if (t in G && e in G[t])
|
|
3471
|
+
return G[t][e];
|
|
3472
|
+
const r = Ce(t);
|
|
3472
3473
|
for (let n = 0; n < r.length; n++) {
|
|
3473
|
-
const i = r[n], s =
|
|
3474
|
+
const i = r[n], s = Gn(i, e);
|
|
3474
3475
|
if (s)
|
|
3475
|
-
return
|
|
3476
|
+
return Un(e, t, s);
|
|
3476
3477
|
}
|
|
3477
3478
|
};
|
|
3478
|
-
let
|
|
3479
|
-
const
|
|
3480
|
-
function
|
|
3481
|
-
return
|
|
3479
|
+
let ze;
|
|
3480
|
+
const he = xe({});
|
|
3481
|
+
function Dn(e) {
|
|
3482
|
+
return ze[e] || null;
|
|
3482
3483
|
}
|
|
3483
|
-
function
|
|
3484
|
-
return e in
|
|
3484
|
+
function Xt(e) {
|
|
3485
|
+
return e in ze;
|
|
3485
3486
|
}
|
|
3486
|
-
function
|
|
3487
|
-
if (!
|
|
3487
|
+
function Gn(e, t) {
|
|
3488
|
+
if (!Xt(e))
|
|
3488
3489
|
return null;
|
|
3489
|
-
const r =
|
|
3490
|
-
return
|
|
3490
|
+
const r = Dn(e);
|
|
3491
|
+
return Rn(r, t);
|
|
3491
3492
|
}
|
|
3492
|
-
function
|
|
3493
|
+
function Fn(e) {
|
|
3493
3494
|
if (e == null)
|
|
3494
3495
|
return;
|
|
3495
|
-
const t =
|
|
3496
|
+
const t = Ce(e);
|
|
3496
3497
|
for (let r = 0; r < t.length; r++) {
|
|
3497
3498
|
const n = t[r];
|
|
3498
|
-
if (
|
|
3499
|
+
if (Xt(n))
|
|
3499
3500
|
return n;
|
|
3500
3501
|
}
|
|
3501
3502
|
}
|
|
3502
|
-
function
|
|
3503
|
-
delete
|
|
3503
|
+
function zt(e, ...t) {
|
|
3504
|
+
delete G[e], he.update((r) => (r[e] = kr.all([r[e] || {}, ...t]), r));
|
|
3504
3505
|
}
|
|
3505
|
-
|
|
3506
|
-
[
|
|
3506
|
+
ee(
|
|
3507
|
+
[he],
|
|
3507
3508
|
([e]) => Object.keys(e)
|
|
3508
3509
|
);
|
|
3509
|
-
|
|
3510
|
-
const
|
|
3511
|
-
function
|
|
3512
|
-
|
|
3510
|
+
he.subscribe((e) => ze = e);
|
|
3511
|
+
const de = {};
|
|
3512
|
+
function jn(e, t) {
|
|
3513
|
+
de[e].delete(t), de[e].size === 0 && delete de[e];
|
|
3513
3514
|
}
|
|
3514
|
-
function
|
|
3515
|
-
return
|
|
3515
|
+
function Wt(e) {
|
|
3516
|
+
return de[e];
|
|
3516
3517
|
}
|
|
3517
|
-
function
|
|
3518
|
-
return
|
|
3519
|
-
const r =
|
|
3518
|
+
function kn(e) {
|
|
3519
|
+
return Ce(e).map((t) => {
|
|
3520
|
+
const r = Wt(t);
|
|
3520
3521
|
return [t, r ? [...r] : []];
|
|
3521
3522
|
}).filter(([, t]) => t.length > 0);
|
|
3522
3523
|
}
|
|
3523
|
-
function
|
|
3524
|
-
return e == null ? !1 :
|
|
3524
|
+
function ke(e) {
|
|
3525
|
+
return e == null ? !1 : Ce(e).some(
|
|
3525
3526
|
(t) => {
|
|
3526
3527
|
var r;
|
|
3527
|
-
return (r =
|
|
3528
|
+
return (r = Wt(t)) == null ? void 0 : r.size;
|
|
3528
3529
|
}
|
|
3529
3530
|
);
|
|
3530
3531
|
}
|
|
3531
|
-
function
|
|
3532
|
+
function Vn(e, t) {
|
|
3532
3533
|
return Promise.all(
|
|
3533
|
-
t.map((n) => (
|
|
3534
|
-
).then((n) =>
|
|
3535
|
-
}
|
|
3536
|
-
const
|
|
3537
|
-
function
|
|
3538
|
-
if (!
|
|
3539
|
-
return e in
|
|
3540
|
-
const t =
|
|
3541
|
-
return
|
|
3534
|
+
t.map((n) => (jn(e, n), n().then((i) => i.default || i)))
|
|
3535
|
+
).then((n) => zt(e, ...n));
|
|
3536
|
+
}
|
|
3537
|
+
const ne = {};
|
|
3538
|
+
function Zt(e) {
|
|
3539
|
+
if (!ke(e))
|
|
3540
|
+
return e in ne ? ne[e] : Promise.resolve();
|
|
3541
|
+
const t = kn(e);
|
|
3542
|
+
return ne[e] = Promise.all(
|
|
3542
3543
|
t.map(
|
|
3543
|
-
([r, n]) =>
|
|
3544
|
+
([r, n]) => Vn(r, n)
|
|
3544
3545
|
)
|
|
3545
3546
|
).then(() => {
|
|
3546
|
-
if (
|
|
3547
|
-
return
|
|
3548
|
-
delete
|
|
3549
|
-
}),
|
|
3547
|
+
if (ke(e))
|
|
3548
|
+
return Zt(e);
|
|
3549
|
+
delete ne[e];
|
|
3550
|
+
}), ne[e];
|
|
3550
3551
|
}
|
|
3551
|
-
const
|
|
3552
|
+
const Xn = {
|
|
3552
3553
|
number: {
|
|
3553
3554
|
scientific: { notation: "scientific" },
|
|
3554
3555
|
engineering: { notation: "engineering" },
|
|
@@ -3577,57 +3578,57 @@ const Vn = {
|
|
|
3577
3578
|
timeZoneName: "short"
|
|
3578
3579
|
}
|
|
3579
3580
|
}
|
|
3580
|
-
},
|
|
3581
|
+
}, zn = {
|
|
3581
3582
|
fallbackLocale: null,
|
|
3582
3583
|
loadingDelay: 200,
|
|
3583
|
-
formats:
|
|
3584
|
+
formats: Xn,
|
|
3584
3585
|
warnOnMissingMessages: !0,
|
|
3585
3586
|
handleMissingMessage: void 0,
|
|
3586
3587
|
ignoreTag: !0
|
|
3587
|
-
},
|
|
3588
|
-
function
|
|
3589
|
-
return
|
|
3588
|
+
}, Wn = zn;
|
|
3589
|
+
function Y() {
|
|
3590
|
+
return Wn;
|
|
3590
3591
|
}
|
|
3591
|
-
const
|
|
3592
|
-
var
|
|
3592
|
+
const Ne = xe(!1);
|
|
3593
|
+
var Zn = Object.defineProperty, Qn = Object.defineProperties, qn = Object.getOwnPropertyDescriptors, ct = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Kn = (e, t) => {
|
|
3593
3594
|
for (var r in t || (t = {}))
|
|
3594
|
-
|
|
3595
|
-
if (
|
|
3596
|
-
for (var r of
|
|
3597
|
-
|
|
3595
|
+
Jn.call(t, r) && gt(e, r, t[r]);
|
|
3596
|
+
if (ct)
|
|
3597
|
+
for (var r of ct(t))
|
|
3598
|
+
Yn.call(t, r) && gt(e, r, t[r]);
|
|
3598
3599
|
return e;
|
|
3599
|
-
},
|
|
3600
|
-
let
|
|
3601
|
-
const
|
|
3602
|
-
function
|
|
3600
|
+
}, ei = (e, t) => Qn(e, qn(t));
|
|
3601
|
+
let Ve;
|
|
3602
|
+
const ye = xe(null);
|
|
3603
|
+
function mt(e) {
|
|
3603
3604
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3604
3605
|
}
|
|
3605
|
-
function
|
|
3606
|
-
const r =
|
|
3607
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3606
|
+
function Ce(e, t = Y().fallbackLocale) {
|
|
3607
|
+
const r = mt(e);
|
|
3608
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...mt(t)])] : r;
|
|
3608
3609
|
}
|
|
3609
|
-
function
|
|
3610
|
-
return
|
|
3610
|
+
function V() {
|
|
3611
|
+
return Ve != null ? Ve : void 0;
|
|
3611
3612
|
}
|
|
3612
|
-
|
|
3613
|
-
|
|
3613
|
+
ye.subscribe((e) => {
|
|
3614
|
+
Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3614
3615
|
});
|
|
3615
|
-
const
|
|
3616
|
-
if (e &&
|
|
3617
|
-
const { loadingDelay: t } =
|
|
3616
|
+
const ti = (e) => {
|
|
3617
|
+
if (e && Fn(e) && ke(e)) {
|
|
3618
|
+
const { loadingDelay: t } = Y();
|
|
3618
3619
|
let r;
|
|
3619
|
-
return typeof window != "undefined" &&
|
|
3620
|
-
() =>
|
|
3620
|
+
return typeof window != "undefined" && V() != null && t ? r = window.setTimeout(
|
|
3621
|
+
() => Ne.set(!0),
|
|
3621
3622
|
t
|
|
3622
|
-
) :
|
|
3623
|
-
|
|
3623
|
+
) : Ne.set(!0), Zt(e).then(() => {
|
|
3624
|
+
ye.set(e);
|
|
3624
3625
|
}).finally(() => {
|
|
3625
|
-
clearTimeout(r),
|
|
3626
|
+
clearTimeout(r), Ne.set(!1);
|
|
3626
3627
|
});
|
|
3627
3628
|
}
|
|
3628
|
-
return
|
|
3629
|
-
},
|
|
3630
|
-
set:
|
|
3629
|
+
return ye.set(e);
|
|
3630
|
+
}, te = ei(Kn({}, ye), {
|
|
3631
|
+
set: ti
|
|
3631
3632
|
}), Te = (e) => {
|
|
3632
3633
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3633
3634
|
return (n) => {
|
|
@@ -3635,92 +3636,92 @@ const ei = (e) => {
|
|
|
3635
3636
|
return i in t ? t[i] : t[i] = e(n);
|
|
3636
3637
|
};
|
|
3637
3638
|
};
|
|
3638
|
-
var
|
|
3639
|
+
var ri = Object.defineProperty, _e = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
|
|
3639
3640
|
for (var r in t || (t = {}))
|
|
3640
|
-
|
|
3641
|
-
if (
|
|
3642
|
-
for (var r of
|
|
3643
|
-
|
|
3641
|
+
Qt.call(t, r) && pt(e, r, t[r]);
|
|
3642
|
+
if (_e)
|
|
3643
|
+
for (var r of _e(t))
|
|
3644
|
+
qt.call(t, r) && pt(e, r, t[r]);
|
|
3644
3645
|
return e;
|
|
3645
|
-
},
|
|
3646
|
+
}, re = (e, t) => {
|
|
3646
3647
|
var r = {};
|
|
3647
3648
|
for (var n in e)
|
|
3648
|
-
|
|
3649
|
-
if (e != null &&
|
|
3650
|
-
for (var n of
|
|
3651
|
-
t.indexOf(n) < 0 &&
|
|
3649
|
+
Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3650
|
+
if (e != null && _e)
|
|
3651
|
+
for (var n of _e(e))
|
|
3652
|
+
t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
|
|
3652
3653
|
return r;
|
|
3653
3654
|
};
|
|
3654
|
-
const
|
|
3655
|
-
const { formats: r } =
|
|
3655
|
+
const ae = (e, t) => {
|
|
3656
|
+
const { formats: r } = Y();
|
|
3656
3657
|
if (e in r && t in r[e])
|
|
3657
3658
|
return r[e][t];
|
|
3658
3659
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3659
|
-
},
|
|
3660
|
+
}, ni = Te(
|
|
3660
3661
|
(e) => {
|
|
3661
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3662
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3662
3663
|
if (r == null)
|
|
3663
3664
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3664
|
-
return n && (i =
|
|
3665
|
+
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
3665
3666
|
}
|
|
3666
|
-
),
|
|
3667
|
+
), ii = Te(
|
|
3667
3668
|
(e) => {
|
|
3668
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3669
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3669
3670
|
if (r == null)
|
|
3670
3671
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3671
|
-
return n ? i =
|
|
3672
|
+
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3672
3673
|
}
|
|
3673
|
-
),
|
|
3674
|
+
), si = Te(
|
|
3674
3675
|
(e) => {
|
|
3675
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3676
|
+
var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
|
|
3676
3677
|
if (r == null)
|
|
3677
3678
|
throw new Error(
|
|
3678
3679
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3679
3680
|
);
|
|
3680
|
-
return n ? i =
|
|
3681
|
+
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3681
3682
|
}
|
|
3682
|
-
),
|
|
3683
|
+
), oi = (e = {}) => {
|
|
3683
3684
|
var t = e, {
|
|
3684
|
-
locale: r =
|
|
3685
|
-
} = t, n =
|
|
3685
|
+
locale: r = V()
|
|
3686
|
+
} = t, n = re(t, [
|
|
3686
3687
|
"locale"
|
|
3687
3688
|
]);
|
|
3688
|
-
return
|
|
3689
|
-
},
|
|
3689
|
+
return ni(We({ locale: r }, n));
|
|
3690
|
+
}, ai = (e = {}) => {
|
|
3690
3691
|
var t = e, {
|
|
3691
|
-
locale: r =
|
|
3692
|
-
} = t, n =
|
|
3692
|
+
locale: r = V()
|
|
3693
|
+
} = t, n = re(t, [
|
|
3693
3694
|
"locale"
|
|
3694
3695
|
]);
|
|
3695
|
-
return
|
|
3696
|
-
},
|
|
3696
|
+
return ii(We({ locale: r }, n));
|
|
3697
|
+
}, ui = (e = {}) => {
|
|
3697
3698
|
var t = e, {
|
|
3698
|
-
locale: r =
|
|
3699
|
-
} = t, n =
|
|
3699
|
+
locale: r = V()
|
|
3700
|
+
} = t, n = re(t, [
|
|
3700
3701
|
"locale"
|
|
3701
3702
|
]);
|
|
3702
|
-
return
|
|
3703
|
-
},
|
|
3703
|
+
return si(We({ locale: r }, n));
|
|
3704
|
+
}, hi = Te(
|
|
3704
3705
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3705
|
-
(e, t =
|
|
3706
|
-
ignoreTag:
|
|
3706
|
+
(e, t = V()) => new $n(e, t, Y().formats, {
|
|
3707
|
+
ignoreTag: Y().ignoreTag
|
|
3707
3708
|
})
|
|
3708
|
-
),
|
|
3709
|
+
), li = (e, t = {}) => {
|
|
3709
3710
|
var r, n, i, s;
|
|
3710
3711
|
let o = t;
|
|
3711
3712
|
typeof e == "object" && (o = e, e = o.id);
|
|
3712
3713
|
const {
|
|
3713
3714
|
values: u,
|
|
3714
|
-
locale: h =
|
|
3715
|
+
locale: h = V(),
|
|
3715
3716
|
default: a
|
|
3716
3717
|
} = o;
|
|
3717
3718
|
if (h == null)
|
|
3718
3719
|
throw new Error(
|
|
3719
3720
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3720
3721
|
);
|
|
3721
|
-
let l =
|
|
3722
|
+
let l = Vt(e, h);
|
|
3722
3723
|
if (!l)
|
|
3723
|
-
l = (s = (i = (n = (r =
|
|
3724
|
+
l = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
|
|
3724
3725
|
else if (typeof l != "string")
|
|
3725
3726
|
return console.warn(
|
|
3726
3727
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3729,7 +3730,7 @@ const oe = (e, t) => {
|
|
|
3729
3730
|
return l;
|
|
3730
3731
|
let c = l;
|
|
3731
3732
|
try {
|
|
3732
|
-
c =
|
|
3733
|
+
c = hi(l, h).format(u);
|
|
3733
3734
|
} catch (f) {
|
|
3734
3735
|
f instanceof Error && console.warn(
|
|
3735
3736
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3737,18 +3738,18 @@ const oe = (e, t) => {
|
|
|
3737
3738
|
);
|
|
3738
3739
|
}
|
|
3739
3740
|
return c;
|
|
3740
|
-
},
|
|
3741
|
-
|
|
3742
|
-
|
|
3743
|
-
|
|
3744
|
-
|
|
3745
|
-
function
|
|
3741
|
+
}, fi = (e, t) => ui(t).format(e), ci = (e, t) => ai(t).format(e), gi = (e, t) => oi(t).format(e), mi = (e, t = V()) => Vt(e, t), pi = ee([te, he], () => li);
|
|
3742
|
+
ee([te], () => fi);
|
|
3743
|
+
ee([te], () => ci);
|
|
3744
|
+
ee([te], () => gi);
|
|
3745
|
+
ee([te, he], () => mi);
|
|
3746
|
+
function di(e, t) {
|
|
3746
3747
|
if (e) {
|
|
3747
3748
|
const r = document.createElement("style");
|
|
3748
3749
|
r.innerHTML = t, e.appendChild(r);
|
|
3749
3750
|
}
|
|
3750
3751
|
}
|
|
3751
|
-
function
|
|
3752
|
+
function bi(e, t) {
|
|
3752
3753
|
const r = new URL(t);
|
|
3753
3754
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3754
3755
|
const i = document.createElement("style");
|
|
@@ -3757,7 +3758,7 @@ function di(e, t) {
|
|
|
3757
3758
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3758
3759
|
});
|
|
3759
3760
|
}
|
|
3760
|
-
function
|
|
3761
|
+
function yi(e, t, r) {
|
|
3761
3762
|
if (window.emMessageBus) {
|
|
3762
3763
|
const n = document.createElement("style");
|
|
3763
3764
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3765,13 +3766,13 @@ function bi(e, t, r) {
|
|
|
3765
3766
|
});
|
|
3766
3767
|
}
|
|
3767
3768
|
}
|
|
3768
|
-
function
|
|
3769
|
-
|
|
3769
|
+
function dt(e, t) {
|
|
3770
|
+
zt(e, t);
|
|
3770
3771
|
}
|
|
3771
|
-
function
|
|
3772
|
-
|
|
3772
|
+
function _i(e) {
|
|
3773
|
+
te.set(e);
|
|
3773
3774
|
}
|
|
3774
|
-
const
|
|
3775
|
+
const bt = {
|
|
3775
3776
|
en: {
|
|
3776
3777
|
topCategories: "Top Categories",
|
|
3777
3778
|
otherCategories: "Other Categories",
|
|
@@ -3881,48 +3882,48 @@ const dt = {
|
|
|
3881
3882
|
games: "games"
|
|
3882
3883
|
}
|
|
3883
3884
|
};
|
|
3884
|
-
function
|
|
3885
|
-
|
|
3885
|
+
function xi(e) {
|
|
3886
|
+
ar(e, "svelte-2l182v", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}.CasinoCategories{display:flex;flex-direction:column;gap:1rem;padding:10px 60px}.CategoryTitle{font-weight:500;position:relative;right:30px;margin:10px 0;font-size:18px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.Category{border-radius:7px;display:flex;align-items:center;gap:16px;max-width:300px}.Category.Active{box-shadow:15px 15px 30px var(--emw--color-gray-100, #E6E6E6)}.CategoryTextContainer{display:flex;flex-direction:column;justify-content:center;gap:10px;font-size:15px;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:first-child{font-weight:600;color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.CategoryTextContainer p:last-child{color:var(--emw--color-gray-150, #828282);font-weight:300}.CategoryImage{border-radius:4px;object-fit:cover;height:64px;width:64px;font-weight:100}.Message{position:absolute;top:50%;left:50%;transform:translate(-50%, -50%);font-weight:600}");
|
|
3886
3887
|
}
|
|
3887
|
-
function
|
|
3888
|
+
function yt(e, t, r) {
|
|
3888
3889
|
const n = e.slice();
|
|
3889
3890
|
return n[23] = t[r], n;
|
|
3890
3891
|
}
|
|
3891
|
-
function
|
|
3892
|
+
function _t(e, t, r) {
|
|
3892
3893
|
const n = e.slice();
|
|
3893
3894
|
return n[23] = t[r], n;
|
|
3894
3895
|
}
|
|
3895
|
-
function
|
|
3896
|
+
function Ei(e) {
|
|
3896
3897
|
let t, r, n = (
|
|
3897
3898
|
/*$_*/
|
|
3898
3899
|
e[5]("topCategories") + ""
|
|
3899
3900
|
), i, s, o, u, h = (
|
|
3900
3901
|
/*$_*/
|
|
3901
3902
|
e[5]("otherCategories") + ""
|
|
3902
|
-
), a, l, c =
|
|
3903
|
+
), a, l, c = ce(
|
|
3903
3904
|
/*topCategories*/
|
|
3904
3905
|
e[3]
|
|
3905
3906
|
), f = [];
|
|
3906
3907
|
for (let g = 0; g < c.length; g += 1)
|
|
3907
|
-
f[g] = _t(
|
|
3908
|
-
let p =
|
|
3908
|
+
f[g] = xt(_t(e, c, g));
|
|
3909
|
+
let p = ce(
|
|
3909
3910
|
/*otherCategories*/
|
|
3910
3911
|
e[4]
|
|
3911
3912
|
), d = [];
|
|
3912
3913
|
for (let g = 0; g < p.length; g += 1)
|
|
3913
|
-
d[g] =
|
|
3914
|
+
d[g] = Et(yt(e, p, g));
|
|
3914
3915
|
return {
|
|
3915
3916
|
c() {
|
|
3916
|
-
t =
|
|
3917
|
+
t = S("div"), r = S("h4"), i = D(n), s = U();
|
|
3917
3918
|
for (let g = 0; g < f.length; g += 1)
|
|
3918
3919
|
f[g].c();
|
|
3919
|
-
o =
|
|
3920
|
+
o = U(), u = S("h4"), a = D(h), l = U();
|
|
3920
3921
|
for (let g = 0; g < d.length; g += 1)
|
|
3921
3922
|
d[g].c();
|
|
3922
|
-
|
|
3923
|
+
I(r, "class", "CategoryTitle"), I(u, "class", "CategoryTitle"), I(t, "class", "CasinoCategories");
|
|
3923
3924
|
},
|
|
3924
3925
|
m(g, E) {
|
|
3925
|
-
|
|
3926
|
+
K(g, t, E), v(t, r), v(r, i), v(t, s);
|
|
3926
3927
|
for (let m = 0; m < f.length; m += 1)
|
|
3927
3928
|
f[m] && f[m].m(t, null);
|
|
3928
3929
|
v(t, o), v(t, u), v(u, a), v(t, l);
|
|
@@ -3932,16 +3933,16 @@ function xi(e) {
|
|
|
3932
3933
|
p(g, E) {
|
|
3933
3934
|
if (E & /*$_*/
|
|
3934
3935
|
32 && n !== (n = /*$_*/
|
|
3935
|
-
g[5]("topCategories") + "") &&
|
|
3936
|
+
g[5]("topCategories") + "") && F(i, n), E & /*activecategory, topCategories, openGameCategory, $_*/
|
|
3936
3937
|
105) {
|
|
3937
|
-
c =
|
|
3938
|
+
c = ce(
|
|
3938
3939
|
/*topCategories*/
|
|
3939
3940
|
g[3]
|
|
3940
3941
|
);
|
|
3941
3942
|
let m;
|
|
3942
3943
|
for (m = 0; m < c.length; m += 1) {
|
|
3943
|
-
const
|
|
3944
|
-
f[m] ? f[m].p(
|
|
3944
|
+
const T = _t(g, c, m);
|
|
3945
|
+
f[m] ? f[m].p(T, E) : (f[m] = xt(T), f[m].c(), f[m].m(t, o));
|
|
3945
3946
|
}
|
|
3946
3947
|
for (; m < f.length; m += 1)
|
|
3947
3948
|
f[m].d(1);
|
|
@@ -3949,16 +3950,16 @@ function xi(e) {
|
|
|
3949
3950
|
}
|
|
3950
3951
|
if (E & /*$_*/
|
|
3951
3952
|
32 && h !== (h = /*$_*/
|
|
3952
|
-
g[5]("otherCategories") + "") &&
|
|
3953
|
+
g[5]("otherCategories") + "") && F(a, h), E & /*activecategory, otherCategories, openGameCategory, $_*/
|
|
3953
3954
|
113) {
|
|
3954
|
-
p =
|
|
3955
|
+
p = ce(
|
|
3955
3956
|
/*otherCategories*/
|
|
3956
3957
|
g[4]
|
|
3957
3958
|
);
|
|
3958
3959
|
let m;
|
|
3959
3960
|
for (m = 0; m < p.length; m += 1) {
|
|
3960
|
-
const
|
|
3961
|
-
d[m] ? d[m].p(
|
|
3961
|
+
const T = yt(g, p, m);
|
|
3962
|
+
d[m] ? d[m].p(T, E) : (d[m] = Et(T), d[m].c(), d[m].m(t, null));
|
|
3962
3963
|
}
|
|
3963
3964
|
for (; m < d.length; m += 1)
|
|
3964
3965
|
d[m].d(1);
|
|
@@ -3966,26 +3967,26 @@ function xi(e) {
|
|
|
3966
3967
|
}
|
|
3967
3968
|
},
|
|
3968
3969
|
d(g) {
|
|
3969
|
-
g &&
|
|
3970
|
+
g && k(t), tt(f, g), tt(d, g);
|
|
3970
3971
|
}
|
|
3971
3972
|
};
|
|
3972
3973
|
}
|
|
3973
|
-
function
|
|
3974
|
+
function vi(e) {
|
|
3974
3975
|
let t;
|
|
3975
3976
|
return {
|
|
3976
3977
|
c() {
|
|
3977
|
-
t =
|
|
3978
|
+
t = S("p"), t.textContent = "Loading, please wait...", I(t, "class", "Message");
|
|
3978
3979
|
},
|
|
3979
3980
|
m(r, n) {
|
|
3980
|
-
|
|
3981
|
+
K(r, t, n);
|
|
3981
3982
|
},
|
|
3982
|
-
p:
|
|
3983
|
+
p: L,
|
|
3983
3984
|
d(r) {
|
|
3984
|
-
r &&
|
|
3985
|
+
r && k(t);
|
|
3985
3986
|
}
|
|
3986
3987
|
};
|
|
3987
3988
|
}
|
|
3988
|
-
function
|
|
3989
|
+
function xt(e) {
|
|
3989
3990
|
let t, r, n, i, s, o, u, h = (
|
|
3990
3991
|
/*category*/
|
|
3991
3992
|
e[23].name + ""
|
|
@@ -3995,8 +3996,8 @@ function _t(e) {
|
|
|
3995
3996
|
), p, d, g = (
|
|
3996
3997
|
/*$_*/
|
|
3997
3998
|
e[5]("games") + ""
|
|
3998
|
-
), E, m,
|
|
3999
|
-
function
|
|
3999
|
+
), E, m, T, A;
|
|
4000
|
+
function w() {
|
|
4000
4001
|
return (
|
|
4001
4002
|
/*click_handler*/
|
|
4002
4003
|
e[15](
|
|
@@ -4007,37 +4008,37 @@ function _t(e) {
|
|
|
4007
4008
|
}
|
|
4008
4009
|
return {
|
|
4009
4010
|
c() {
|
|
4010
|
-
t =
|
|
4011
|
-
e[23].icon) ||
|
|
4012
|
-
e[23].name),
|
|
4011
|
+
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = D(h), l = U(), c = S("p"), p = D(f), d = U(), E = D(g), be(r.src, n = /*category*/
|
|
4012
|
+
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4013
|
+
e[23].name), R(r, "imgClass", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", m = "Category " + /*activecategory*/
|
|
4013
4014
|
(e[0] === /*category*/
|
|
4014
4015
|
e[23].id ? "Active" : ""));
|
|
4015
4016
|
},
|
|
4016
|
-
m(
|
|
4017
|
-
|
|
4017
|
+
m(B, H) {
|
|
4018
|
+
K(B, t, H), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, p), v(c, d), v(c, E), T || (A = Ht(t, "click", w), T = !0);
|
|
4018
4019
|
},
|
|
4019
|
-
p(
|
|
4020
|
-
e =
|
|
4021
|
-
8 && !
|
|
4022
|
-
e[23].icon) &&
|
|
4020
|
+
p(B, H) {
|
|
4021
|
+
e = B, H & /*topCategories*/
|
|
4022
|
+
8 && !be(r.src, n = /*category*/
|
|
4023
|
+
e[23].icon) && R(r, "src", n), H & /*topCategories*/
|
|
4023
4024
|
8 && i !== (i = /*category*/
|
|
4024
|
-
e[23].name) &&
|
|
4025
|
+
e[23].name) && R(r, "alt", i), H & /*topCategories*/
|
|
4025
4026
|
8 && h !== (h = /*category*/
|
|
4026
|
-
e[23].name + "") &&
|
|
4027
|
+
e[23].name + "") && F(a, h), H & /*topCategories*/
|
|
4027
4028
|
8 && f !== (f = /*category*/
|
|
4028
|
-
e[23].games.count + "") &&
|
|
4029
|
+
e[23].games.count + "") && F(p, f), H & /*$_*/
|
|
4029
4030
|
32 && g !== (g = /*$_*/
|
|
4030
|
-
e[5]("games") + "") &&
|
|
4031
|
+
e[5]("games") + "") && F(E, g), H & /*activecategory, topCategories*/
|
|
4031
4032
|
9 && m !== (m = "Category " + /*activecategory*/
|
|
4032
4033
|
(e[0] === /*category*/
|
|
4033
|
-
e[23].id ? "Active" : "")) &&
|
|
4034
|
+
e[23].id ? "Active" : "")) && I(t, "class", m);
|
|
4034
4035
|
},
|
|
4035
|
-
d(
|
|
4036
|
-
|
|
4036
|
+
d(B) {
|
|
4037
|
+
B && k(t), T = !1, A();
|
|
4037
4038
|
}
|
|
4038
4039
|
};
|
|
4039
4040
|
}
|
|
4040
|
-
function
|
|
4041
|
+
function Et(e) {
|
|
4041
4042
|
let t, r, n, i, s, o, u, h = (
|
|
4042
4043
|
/*category*/
|
|
4043
4044
|
e[23].name + ""
|
|
@@ -4047,8 +4048,8 @@ function xt(e) {
|
|
|
4047
4048
|
), p, d, g = (
|
|
4048
4049
|
/*$_*/
|
|
4049
4050
|
e[5]("games") + ""
|
|
4050
|
-
), E, m,
|
|
4051
|
-
function
|
|
4051
|
+
), E, m, T, A, w;
|
|
4052
|
+
function B() {
|
|
4052
4053
|
return (
|
|
4053
4054
|
/*click_handler_1*/
|
|
4054
4055
|
e[16](
|
|
@@ -4059,102 +4060,102 @@ function xt(e) {
|
|
|
4059
4060
|
}
|
|
4060
4061
|
return {
|
|
4061
4062
|
c() {
|
|
4062
|
-
t =
|
|
4063
|
-
e[23].icon) ||
|
|
4064
|
-
e[23].name),
|
|
4063
|
+
t = S("div"), r = S("ui-image"), s = U(), o = S("div"), u = S("p"), a = D(h), l = U(), c = S("p"), p = D(f), d = U(), E = D(g), m = U(), be(r.src, n = /*category*/
|
|
4064
|
+
e[23].icon) || R(r, "src", n), R(r, "alt", i = /*category*/
|
|
4065
|
+
e[23].name), R(r, "imgClass", "CategoryImage"), I(o, "class", "CategoryTextContainer"), I(t, "class", T = "Category " + /*activecategory*/
|
|
4065
4066
|
(e[0] === /*category*/
|
|
4066
4067
|
e[23].id ? "Active" : ""));
|
|
4067
4068
|
},
|
|
4068
|
-
m(
|
|
4069
|
-
|
|
4069
|
+
m(H, P) {
|
|
4070
|
+
K(H, t, P), v(t, r), v(t, s), v(t, o), v(o, u), v(u, a), v(o, l), v(o, c), v(c, p), v(c, d), v(c, E), v(t, m), A || (w = Ht(t, "click", B), A = !0);
|
|
4070
4071
|
},
|
|
4071
|
-
p(
|
|
4072
|
-
e =
|
|
4073
|
-
16 && !
|
|
4074
|
-
e[23].icon) &&
|
|
4072
|
+
p(H, P) {
|
|
4073
|
+
e = H, P & /*otherCategories*/
|
|
4074
|
+
16 && !be(r.src, n = /*category*/
|
|
4075
|
+
e[23].icon) && R(r, "src", n), P & /*otherCategories*/
|
|
4075
4076
|
16 && i !== (i = /*category*/
|
|
4076
|
-
e[23].name) &&
|
|
4077
|
+
e[23].name) && R(r, "alt", i), P & /*otherCategories*/
|
|
4077
4078
|
16 && h !== (h = /*category*/
|
|
4078
|
-
e[23].name + "") &&
|
|
4079
|
+
e[23].name + "") && F(a, h), P & /*otherCategories*/
|
|
4079
4080
|
16 && f !== (f = /*category*/
|
|
4080
|
-
e[23].games.count + "") &&
|
|
4081
|
+
e[23].games.count + "") && F(p, f), P & /*$_*/
|
|
4081
4082
|
32 && g !== (g = /*$_*/
|
|
4082
|
-
e[5]("games") + "") &&
|
|
4083
|
-
17 &&
|
|
4083
|
+
e[5]("games") + "") && F(E, g), P & /*activecategory, otherCategories*/
|
|
4084
|
+
17 && T !== (T = "Category " + /*activecategory*/
|
|
4084
4085
|
(e[0] === /*category*/
|
|
4085
|
-
e[23].id ? "Active" : "")) &&
|
|
4086
|
+
e[23].id ? "Active" : "")) && I(t, "class", T);
|
|
4086
4087
|
},
|
|
4087
|
-
d(
|
|
4088
|
-
|
|
4088
|
+
d(H) {
|
|
4089
|
+
H && k(t), A = !1, w();
|
|
4089
4090
|
}
|
|
4090
4091
|
};
|
|
4091
4092
|
}
|
|
4092
|
-
function
|
|
4093
|
+
function Ci(e) {
|
|
4093
4094
|
let t;
|
|
4094
4095
|
function r(s, o) {
|
|
4095
4096
|
return (
|
|
4096
4097
|
/*isLoading*/
|
|
4097
|
-
s[2] ?
|
|
4098
|
+
s[2] ? vi : Ei
|
|
4098
4099
|
);
|
|
4099
4100
|
}
|
|
4100
4101
|
let n = r(e), i = n(e);
|
|
4101
4102
|
return {
|
|
4102
4103
|
c() {
|
|
4103
|
-
t =
|
|
4104
|
+
t = S("div"), i.c();
|
|
4104
4105
|
},
|
|
4105
4106
|
m(s, o) {
|
|
4106
|
-
|
|
4107
|
+
K(s, t, o), i.m(t, null), e[17](t);
|
|
4107
4108
|
},
|
|
4108
4109
|
p(s, [o]) {
|
|
4109
4110
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
|
4110
4111
|
},
|
|
4111
|
-
i:
|
|
4112
|
-
o:
|
|
4112
|
+
i: L,
|
|
4113
|
+
o: L,
|
|
4113
4114
|
d(s) {
|
|
4114
|
-
s &&
|
|
4115
|
+
s && k(t), i.d(), e[17](null);
|
|
4115
4116
|
}
|
|
4116
4117
|
};
|
|
4117
4118
|
}
|
|
4118
4119
|
function Ti(e, t, r) {
|
|
4119
4120
|
let n;
|
|
4120
|
-
|
|
4121
|
+
or(e, pi, (b) => r(5, n = b));
|
|
4121
4122
|
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "en" } = t, { activecategory: u = "" } = t, { excludedflags: h = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, p, d = !1;
|
|
4122
4123
|
const g = [];
|
|
4123
4124
|
let E = [], m = [];
|
|
4124
|
-
Object.keys(
|
|
4125
|
-
|
|
4125
|
+
Object.keys(bt).forEach((b) => {
|
|
4126
|
+
dt(b, bt[b]);
|
|
4126
4127
|
});
|
|
4127
|
-
const
|
|
4128
|
+
const T = () => {
|
|
4128
4129
|
fetch(c).then(($) => $.json()).then(($) => {
|
|
4129
|
-
Object.keys($).forEach((
|
|
4130
|
-
|
|
4130
|
+
Object.keys($).forEach((le) => {
|
|
4131
|
+
dt(le, $[le]);
|
|
4131
4132
|
});
|
|
4132
4133
|
}).catch(($) => {
|
|
4133
4134
|
console.log($);
|
|
4134
4135
|
});
|
|
4135
|
-
},
|
|
4136
|
+
}, A = () => {
|
|
4136
4137
|
r(2, d = !0);
|
|
4137
4138
|
const b = new URL(`${i}/v1/casino/groups/${s}`);
|
|
4138
4139
|
b.searchParams.append("language", o), fetch(b).then(($) => $.json()).then(($) => {
|
|
4139
4140
|
r(2, d = !1);
|
|
4140
|
-
const
|
|
4141
|
+
const le = h.split(",").map((j) => j.trim());
|
|
4141
4142
|
g.push(...$.items);
|
|
4142
|
-
const
|
|
4143
|
-
var
|
|
4144
|
-
return ((
|
|
4143
|
+
const Ze = g.filter((j) => !le.some((Kt) => {
|
|
4144
|
+
var Qe;
|
|
4145
|
+
return ((Qe = j.flags) == null ? void 0 : Qe.indexOf(Kt)) >= 0;
|
|
4145
4146
|
}));
|
|
4146
|
-
r(3, E =
|
|
4147
|
+
r(3, E = Ze.filter((j) => j.isTopCategory === !0)), r(4, m = Ze.filter((j) => j.isTopCategory === !1));
|
|
4147
4148
|
});
|
|
4148
|
-
},
|
|
4149
|
+
}, w = (b) => {
|
|
4149
4150
|
window.postMessage({ type: "OpenGameCategory", categoryId: b }, window.location.href);
|
|
4150
|
-
},
|
|
4151
|
-
|
|
4151
|
+
}, B = () => {
|
|
4152
|
+
_i(o);
|
|
4152
4153
|
};
|
|
4153
|
-
|
|
4154
|
+
gr(() => () => {
|
|
4154
4155
|
});
|
|
4155
|
-
const
|
|
4156
|
-
function
|
|
4157
|
-
|
|
4156
|
+
const H = (b) => w(b.id), P = (b) => w(b.id);
|
|
4157
|
+
function Yt(b) {
|
|
4158
|
+
Le[b ? "unshift" : "push"](() => {
|
|
4158
4159
|
p = b, r(1, p);
|
|
4159
4160
|
});
|
|
4160
4161
|
}
|
|
@@ -4162,12 +4163,12 @@ function Ti(e, t, r) {
|
|
|
4162
4163
|
"endpoint" in b && r(7, i = b.endpoint), "datasource" in b && r(8, s = b.datasource), "lang" in b && r(9, o = b.lang), "activecategory" in b && r(0, u = b.activecategory), "excludedflags" in b && r(10, h = b.excludedflags), "clientstyling" in b && r(11, a = b.clientstyling), "clientstylingurl" in b && r(12, l = b.clientstylingurl), "translationurl" in b && r(13, c = b.translationurl), "mbsource" in b && r(14, f = b.mbsource);
|
|
4163
4164
|
}, e.$$.update = () => {
|
|
4164
4165
|
e.$$.dirty & /*endpoint, datasource*/
|
|
4165
|
-
384 && i && s &&
|
|
4166
|
-
8192 && c &&
|
|
4167
|
-
512 && o &&
|
|
4168
|
-
2050 && a && p &&
|
|
4169
|
-
4098 && l && p &&
|
|
4170
|
-
16386 && f && p &&
|
|
4166
|
+
384 && i && s && A(), e.$$.dirty & /*translationurl*/
|
|
4167
|
+
8192 && c && T(), e.$$.dirty & /*lang*/
|
|
4168
|
+
512 && o && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4169
|
+
2050 && a && p && di(p, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4170
|
+
4098 && l && p && bi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4171
|
+
16386 && f && p && yi(p, `${f}.Style`);
|
|
4171
4172
|
}, [
|
|
4172
4173
|
u,
|
|
4173
4174
|
p,
|
|
@@ -4175,7 +4176,7 @@ function Ti(e, t, r) {
|
|
|
4175
4176
|
E,
|
|
4176
4177
|
m,
|
|
4177
4178
|
n,
|
|
4178
|
-
|
|
4179
|
+
w,
|
|
4179
4180
|
i,
|
|
4180
4181
|
s,
|
|
4181
4182
|
o,
|
|
@@ -4184,19 +4185,19 @@ function Ti(e, t, r) {
|
|
|
4184
4185
|
l,
|
|
4185
4186
|
c,
|
|
4186
4187
|
f,
|
|
4187
|
-
|
|
4188
|
-
|
|
4189
|
-
|
|
4188
|
+
H,
|
|
4189
|
+
P,
|
|
4190
|
+
Yt
|
|
4190
4191
|
];
|
|
4191
4192
|
}
|
|
4192
|
-
class
|
|
4193
|
+
class Jt extends Hr {
|
|
4193
4194
|
constructor(t) {
|
|
4194
|
-
super(),
|
|
4195
|
+
super(), Cr(
|
|
4195
4196
|
this,
|
|
4196
4197
|
t,
|
|
4197
4198
|
Ti,
|
|
4198
|
-
|
|
4199
|
-
|
|
4199
|
+
Ci,
|
|
4200
|
+
Ct,
|
|
4200
4201
|
{
|
|
4201
4202
|
endpoint: 7,
|
|
4202
4203
|
datasource: 8,
|
|
@@ -4208,7 +4209,7 @@ class qt extends Cr {
|
|
|
4208
4209
|
translationurl: 13,
|
|
4209
4210
|
mbsource: 14
|
|
4210
4211
|
},
|
|
4211
|
-
|
|
4212
|
+
xi
|
|
4212
4213
|
);
|
|
4213
4214
|
}
|
|
4214
4215
|
get endpoint() {
|
|
@@ -4266,42 +4267,42 @@ class qt extends Cr {
|
|
|
4266
4267
|
this.$$set({ mbsource: t }), M();
|
|
4267
4268
|
}
|
|
4268
4269
|
}
|
|
4269
|
-
Tr(
|
|
4270
|
-
const
|
|
4270
|
+
Tr(Jt, { endpoint: {}, datasource: {}, lang: {}, activecategory: {}, excludedflags: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
4271
|
+
const Si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4271
4272
|
__proto__: null,
|
|
4272
|
-
default:
|
|
4273
|
+
default: Jt
|
|
4273
4274
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4274
4275
|
export {
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4276
|
+
te as $,
|
|
4277
|
+
tt as A,
|
|
4278
|
+
Bi as B,
|
|
4279
|
+
be as C,
|
|
4280
|
+
Si as D,
|
|
4281
|
+
Hr as S,
|
|
4282
|
+
zt as a,
|
|
4283
|
+
ar as b,
|
|
4283
4284
|
Tr as c,
|
|
4284
|
-
|
|
4285
|
-
|
|
4285
|
+
k as d,
|
|
4286
|
+
F as e,
|
|
4286
4287
|
M as f,
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4288
|
+
I as g,
|
|
4289
|
+
R as h,
|
|
4290
|
+
Cr as i,
|
|
4291
|
+
K as j,
|
|
4291
4292
|
v as k,
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4295
|
-
|
|
4296
|
-
|
|
4297
|
-
|
|
4298
|
-
|
|
4299
|
-
|
|
4300
|
-
|
|
4301
|
-
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
|
|
4293
|
+
Ht as l,
|
|
4294
|
+
S as m,
|
|
4295
|
+
L as n,
|
|
4296
|
+
U as o,
|
|
4297
|
+
or as p,
|
|
4298
|
+
gr as q,
|
|
4299
|
+
ue as r,
|
|
4300
|
+
Ct as s,
|
|
4301
|
+
D as t,
|
|
4302
|
+
Le as u,
|
|
4303
|
+
pi as v,
|
|
4304
|
+
di as w,
|
|
4305
|
+
bi as x,
|
|
4306
|
+
yi as y,
|
|
4307
|
+
ce as z
|
|
4307
4308
|
};
|