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