@everymatrix/casino-last-played-section 1.61.1 → 1.62.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFilter-Cly4JoGf.js → CasinoFilter-4haQXmN1.js} +1150 -1039
- package/components/{CasinoFilter-Ci7a-f1T.js → CasinoFilter-BUe-x-2X.js} +1119 -1008
- package/components/CasinoFilter-BWxK-kth.cjs +18 -0
- package/components/CasinoGameThumbnail-B6XGNttS.js +4390 -0
- package/components/CasinoGameThumbnail-Cn0iV9XZ.js +4406 -0
- package/components/CasinoGameThumbnail-D86LuKmv.cjs +47 -0
- package/components/{CasinoGamesCategorySection-D1m7vSTg.js → CasinoGamesCategorySection-DK_xX1de.js} +1035 -1022
- package/components/{CasinoGamesCategorySection-W8r3v1IL.js → CasinoGamesCategorySection-WMdAKy-_.js} +761 -747
- package/components/CasinoGamesCategorySection-omF6FUNy.cjs +1 -0
- package/components/{CasinoLastPlayedSection-COofH38d.js → CasinoLastPlayedSection-B4VKiHPn.js} +30 -30
- package/components/{CasinoLastPlayedSection-pKFWKcNL.js → CasinoLastPlayedSection-CwPE0uEV.js} +37 -37
- package/components/{CasinoLastPlayedSection-Ca69J8mm.cjs → CasinoLastPlayedSection-DGEtoB5L.cjs} +1 -1
- package/components/{CasinoSort-CIIHBeHM.cjs → CasinoSort-C2cjUMXH.cjs} +1 -1
- package/components/{CasinoSort-CBlvt30N.js → CasinoSort-CHu5emCn.js} +99 -100
- package/components/{CasinoSort-CMgXH1Wc.js → CasinoSort-CfnhZRah.js} +109 -108
- package/es2015/casino-last-played-section.cjs +1 -1
- package/es2015/casino-last-played-section.js +1 -1
- package/esnext/casino-last-played-section.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-CbGN-1Xz.cjs +1 -0
- package/stencil/index-b2193545-CbUHNmek.js +503 -0
- package/stencil/index-b2193545-DFFkPUVU.js +519 -0
- package/stencil/index-b7bbd57e-5H13jtcn.cjs +1 -0
- package/stencil/index-b7bbd57e-D2mZ7-kv.js +534 -0
- package/stencil/index-b7bbd57e-VSGyGiy1.js +550 -0
- package/stencil/{ui-image-38c3c15f-DHu3p_Um.cjs → ui-image-38c3c15f-3U8WBsCg.cjs} +1 -1
- package/stencil/{ui-image-38c3c15f-D8q8WO62.js → ui-image-38c3c15f-Cix0ZMEZ.js} +1 -1
- package/stencil/{ui-image-38c3c15f-DNKzX83k.js → ui-image-38c3c15f-jaErZeBj.js} +1 -1
- package/stencil/{ui-image-BWdEHrqs.js → ui-image-6OX7DHzp.js} +2 -2
- package/stencil/{ui-image-Cq69wjLL.js → ui-image-DvmqpXjR.js} +2 -2
- package/stencil/{ui-image-hWt-DWaG.cjs → ui-image-sdP0Y0JV.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-CKWpp1By.js → ui-skeleton-6d1c12ae-BpEpsLuu.js} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-DXSQpIKe.cjs → ui-skeleton-6d1c12ae-CZrIANSq.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-Cy_R_9Cz.js → ui-skeleton-6d1c12ae-koE69yYD.js} +1 -1
- package/stencil/{ui-skeleton-BMWABShx.js → ui-skeleton-BOseIl79.js} +2 -2
- package/stencil/{ui-skeleton-CkUGY95J.js → ui-skeleton-BVyEf4P7.js} +2 -2
- package/stencil/{ui-skeleton-DXc0L06e.cjs → ui-skeleton-C2O4H76Q.cjs} +1 -1
- package/components/CasinoFilter-C_SogR0R.cjs +0 -18
- package/components/CasinoGameThumbnail-CIM-1O-X.js +0 -3607
- package/components/CasinoGameThumbnail-D4iTX4um.js +0 -3591
- package/components/CasinoGameThumbnail-WTBmzrpR.cjs +0 -39
- package/components/CasinoGamesCategorySection-CWmY-M2p.cjs +0 -1
- package/stencil/index-b2193545-B5BzVbnP.cjs +0 -1
- package/stencil/index-b2193545-BranxwW4.js +0 -519
- package/stencil/index-b2193545-D-GB6w--.js +0 -503
- package/stencil/index-b7bbd57e-CQ75dRCG.js +0 -550
- package/stencil/index-b7bbd57e-Cacu08c5.js +0 -534
- package/stencil/index-b7bbd57e-DF6DA3M_.cjs +0 -1
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var
|
1
|
+
var Xr = Object.defineProperty, Wr = Object.defineProperties;
|
2
|
+
var zr = Object.getOwnPropertyDescriptors;
|
3
|
+
var Tt = Object.getOwnPropertySymbols;
|
4
|
+
var Zr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Ze = (e, t, r) => t in e ? Xr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
Zr.call(t, r) && Ze(e, r, t[r]);
|
8
|
+
if (Tt)
|
9
|
+
for (var r of Tt(t))
|
10
|
+
Jr.call(t, r) && Ze(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var
|
14
|
-
var
|
12
|
+
}, At = (e, t) => Wr(e, zr(t));
|
13
|
+
var R = (e, t, r) => (Ze(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var Pt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (u) => {
|
16
16
|
try {
|
17
17
|
a(r.next(u));
|
@@ -27,32 +27,32 @@ var wt = (e, t, r) => new Promise((n, i) => {
|
|
27
27
|
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
|
28
28
|
a((r = r.apply(e, t)).next());
|
29
29
|
});
|
30
|
-
import "../stencil/ui-image-
|
30
|
+
import "../stencil/ui-image-DvmqpXjR.js";
|
31
31
|
function j() {
|
32
32
|
}
|
33
|
-
function
|
33
|
+
function ir(e) {
|
34
34
|
return e();
|
35
35
|
}
|
36
|
-
function
|
36
|
+
function Ct() {
|
37
37
|
return /* @__PURE__ */ Object.create(null);
|
38
38
|
}
|
39
|
-
function
|
40
|
-
e.forEach(
|
39
|
+
function ee(e) {
|
40
|
+
e.forEach(ir);
|
41
41
|
}
|
42
|
-
function
|
42
|
+
function Ge(e) {
|
43
43
|
return typeof e == "function";
|
44
44
|
}
|
45
|
-
function
|
45
|
+
function or(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 Be;
|
49
|
+
function Ft(e, t) {
|
50
|
+
return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
|
51
51
|
}
|
52
|
-
function
|
52
|
+
function Qr(e) {
|
53
53
|
return Object.keys(e).length === 0;
|
54
54
|
}
|
55
|
-
function
|
55
|
+
function sr(e, ...t) {
|
56
56
|
if (e == null) {
|
57
57
|
for (const n of t)
|
58
58
|
n(void 0);
|
@@ -61,20 +61,23 @@ function tr(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 qr(e, t, r) {
|
65
|
+
e.$$.on_destroy.push(sr(t, r));
|
66
|
+
}
|
67
|
+
function No(e) {
|
68
|
+
return e && Ge(e.destroy) ? e.destroy : j;
|
66
69
|
}
|
67
|
-
function
|
70
|
+
function v(e, t) {
|
68
71
|
e.appendChild(t);
|
69
72
|
}
|
70
|
-
function
|
71
|
-
const n =
|
73
|
+
function Yr(e, t, r) {
|
74
|
+
const n = Kr(e);
|
72
75
|
if (!n.getElementById(t)) {
|
73
76
|
const i = C("style");
|
74
|
-
i.id = t, i.textContent = r,
|
77
|
+
i.id = t, i.textContent = r, en(n, i);
|
75
78
|
}
|
76
79
|
}
|
77
|
-
function
|
80
|
+
function Kr(e) {
|
78
81
|
if (!e)
|
79
82
|
return document;
|
80
83
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -84,62 +87,132 @@ function Wr(e) {
|
|
84
87
|
t
|
85
88
|
) : e.ownerDocument;
|
86
89
|
}
|
87
|
-
function
|
88
|
-
return
|
90
|
+
function en(e, t) {
|
91
|
+
return v(
|
89
92
|
/** @type {Document} */
|
90
93
|
e.head || e,
|
91
94
|
t
|
92
95
|
), t.sheet;
|
93
96
|
}
|
94
|
-
function
|
97
|
+
function z(e, t, r) {
|
95
98
|
e.insertBefore(t, r || null);
|
96
99
|
}
|
97
|
-
function
|
100
|
+
function V(e) {
|
98
101
|
e.parentNode && e.parentNode.removeChild(e);
|
99
102
|
}
|
100
|
-
function
|
103
|
+
function tn(e, t) {
|
101
104
|
for (let r = 0; r < e.length; r += 1)
|
102
105
|
e[r] && e[r].d(t);
|
103
106
|
}
|
104
107
|
function C(e) {
|
105
108
|
return document.createElement(e);
|
106
109
|
}
|
107
|
-
function
|
110
|
+
function Se(e) {
|
108
111
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
109
112
|
}
|
110
113
|
function k(e) {
|
111
114
|
return document.createTextNode(e);
|
112
115
|
}
|
113
|
-
function
|
116
|
+
function W() {
|
114
117
|
return k(" ");
|
115
118
|
}
|
116
|
-
function
|
119
|
+
function Mo() {
|
117
120
|
return k("");
|
118
121
|
}
|
119
|
-
function
|
122
|
+
function De(e, t, r, n) {
|
120
123
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
121
124
|
}
|
122
|
-
function
|
125
|
+
function y(e, t, r) {
|
123
126
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
124
127
|
}
|
125
|
-
function
|
128
|
+
function Je(e, t, r) {
|
126
129
|
const n = t.toLowerCase();
|
127
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
130
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : y(e, t, r);
|
128
131
|
}
|
129
|
-
function
|
132
|
+
function rn(e) {
|
130
133
|
return Array.from(e.childNodes);
|
131
134
|
}
|
132
|
-
function
|
135
|
+
function K(e, t) {
|
133
136
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
134
137
|
t);
|
135
138
|
}
|
136
|
-
function
|
139
|
+
function Bt(e, t) {
|
137
140
|
e.value = t == null ? "" : t;
|
138
141
|
}
|
139
|
-
function
|
142
|
+
function Ro(e, t, r) {
|
140
143
|
e.classList.toggle(t, !!r);
|
141
144
|
}
|
142
|
-
|
145
|
+
class Do {
|
146
|
+
constructor(t = !1) {
|
147
|
+
/**
|
148
|
+
* @private
|
149
|
+
* @default false
|
150
|
+
*/
|
151
|
+
R(this, "is_svg", !1);
|
152
|
+
/** parent for creating node */
|
153
|
+
R(this, "e");
|
154
|
+
/** html tag nodes */
|
155
|
+
R(this, "n");
|
156
|
+
/** target */
|
157
|
+
R(this, "t");
|
158
|
+
/** anchor */
|
159
|
+
R(this, "a");
|
160
|
+
this.is_svg = t, this.e = this.n = null;
|
161
|
+
}
|
162
|
+
/**
|
163
|
+
* @param {string} html
|
164
|
+
* @returns {void}
|
165
|
+
*/
|
166
|
+
c(t) {
|
167
|
+
this.h(t);
|
168
|
+
}
|
169
|
+
/**
|
170
|
+
* @param {string} html
|
171
|
+
* @param {HTMLElement | SVGElement} target
|
172
|
+
* @param {HTMLElement | SVGElement} anchor
|
173
|
+
* @returns {void}
|
174
|
+
*/
|
175
|
+
m(t, r, n = null) {
|
176
|
+
this.e || (this.is_svg ? this.e = Se(
|
177
|
+
/** @type {keyof SVGElementTagNameMap} */
|
178
|
+
r.nodeName
|
179
|
+
) : this.e = C(
|
180
|
+
/** @type {keyof HTMLElementTagNameMap} */
|
181
|
+
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
182
|
+
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
183
|
+
/** @type {HTMLTemplateElement} */
|
184
|
+
r.content
|
185
|
+
), this.c(t)), this.i(n);
|
186
|
+
}
|
187
|
+
/**
|
188
|
+
* @param {string} html
|
189
|
+
* @returns {void}
|
190
|
+
*/
|
191
|
+
h(t) {
|
192
|
+
this.e.innerHTML = t, this.n = Array.from(
|
193
|
+
this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
|
194
|
+
);
|
195
|
+
}
|
196
|
+
/**
|
197
|
+
* @returns {void} */
|
198
|
+
i(t) {
|
199
|
+
for (let r = 0; r < this.n.length; r += 1)
|
200
|
+
z(this.t, this.n[r], t);
|
201
|
+
}
|
202
|
+
/**
|
203
|
+
* @param {string} html
|
204
|
+
* @returns {void}
|
205
|
+
*/
|
206
|
+
p(t) {
|
207
|
+
this.d(), this.h(t), this.i(this.a);
|
208
|
+
}
|
209
|
+
/**
|
210
|
+
* @returns {void} */
|
211
|
+
d() {
|
212
|
+
this.n.forEach(V);
|
213
|
+
}
|
214
|
+
}
|
215
|
+
function nn(e) {
|
143
216
|
const t = {};
|
144
217
|
return e.childNodes.forEach(
|
145
218
|
/** @param {Element} node */
|
@@ -148,126 +221,126 @@ function Qr(e) {
|
|
148
221
|
}
|
149
222
|
), t;
|
150
223
|
}
|
151
|
-
let
|
152
|
-
function
|
153
|
-
|
224
|
+
let He;
|
225
|
+
function Te(e) {
|
226
|
+
He = e;
|
154
227
|
}
|
155
|
-
function
|
156
|
-
if (!
|
228
|
+
function ar() {
|
229
|
+
if (!He)
|
157
230
|
throw new Error("Function called outside component initialization");
|
158
|
-
return
|
231
|
+
return He;
|
159
232
|
}
|
160
|
-
function
|
161
|
-
|
233
|
+
function on(e) {
|
234
|
+
ar().$$.on_mount.push(e);
|
162
235
|
}
|
163
|
-
function
|
164
|
-
|
236
|
+
function Uo(e) {
|
237
|
+
ar().$$.on_destroy.push(e);
|
165
238
|
}
|
166
|
-
const
|
167
|
-
let
|
168
|
-
const
|
169
|
-
let
|
170
|
-
function
|
171
|
-
|
239
|
+
const fe = [], it = [];
|
240
|
+
let de = [];
|
241
|
+
const It = [], lr = /* @__PURE__ */ Promise.resolve();
|
242
|
+
let ot = !1;
|
243
|
+
function ur() {
|
244
|
+
ot || (ot = !0, lr.then($));
|
172
245
|
}
|
173
|
-
function
|
174
|
-
return
|
246
|
+
function $o() {
|
247
|
+
return ur(), lr;
|
175
248
|
}
|
176
|
-
function
|
177
|
-
|
249
|
+
function st(e) {
|
250
|
+
de.push(e);
|
178
251
|
}
|
179
|
-
const
|
180
|
-
let
|
252
|
+
const Qe = /* @__PURE__ */ new Set();
|
253
|
+
let he = 0;
|
181
254
|
function $() {
|
182
|
-
if (
|
255
|
+
if (he !== 0)
|
183
256
|
return;
|
184
|
-
const e =
|
257
|
+
const e = He;
|
185
258
|
do {
|
186
259
|
try {
|
187
|
-
for (;
|
188
|
-
const t =
|
189
|
-
|
260
|
+
for (; he < fe.length; ) {
|
261
|
+
const t = fe[he];
|
262
|
+
he++, Te(t), sn(t.$$);
|
190
263
|
}
|
191
264
|
} catch (t) {
|
192
|
-
throw
|
265
|
+
throw fe.length = 0, he = 0, t;
|
193
266
|
}
|
194
|
-
for (
|
195
|
-
|
196
|
-
for (let t = 0; t <
|
197
|
-
const r =
|
198
|
-
|
267
|
+
for (Te(null), fe.length = 0, he = 0; it.length; )
|
268
|
+
it.pop()();
|
269
|
+
for (let t = 0; t < de.length; t += 1) {
|
270
|
+
const r = de[t];
|
271
|
+
Qe.has(r) || (Qe.add(r), r());
|
199
272
|
}
|
200
|
-
|
201
|
-
} while (
|
202
|
-
for (;
|
203
|
-
|
204
|
-
|
273
|
+
de.length = 0;
|
274
|
+
} while (fe.length);
|
275
|
+
for (; It.length; )
|
276
|
+
It.pop()();
|
277
|
+
ot = !1, Qe.clear(), Te(e);
|
205
278
|
}
|
206
|
-
function
|
279
|
+
function sn(e) {
|
207
280
|
if (e.fragment !== null) {
|
208
|
-
e.update(),
|
281
|
+
e.update(), ee(e.before_update);
|
209
282
|
const t = e.dirty;
|
210
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
283
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(st);
|
211
284
|
}
|
212
285
|
}
|
213
|
-
function
|
286
|
+
function an(e) {
|
214
287
|
const t = [], r = [];
|
215
|
-
|
288
|
+
de.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), de = t;
|
216
289
|
}
|
217
|
-
const
|
218
|
-
function
|
219
|
-
e && e.i && (
|
290
|
+
const ln = /* @__PURE__ */ new Set();
|
291
|
+
function hr(e, t) {
|
292
|
+
e && e.i && (ln.delete(e), e.i(t));
|
220
293
|
}
|
221
|
-
function
|
294
|
+
function Ot(e) {
|
222
295
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
223
296
|
}
|
224
|
-
function
|
297
|
+
function Go(e, t) {
|
225
298
|
e.d(1), t.delete(e.key);
|
226
299
|
}
|
227
|
-
function
|
228
|
-
let
|
300
|
+
function ko(e, t, r, n, i, o, s, a, u, l, h, d) {
|
301
|
+
let f = e.length, p = o.length, g = f;
|
229
302
|
const b = {};
|
230
303
|
for (; g--; )
|
231
304
|
b[e[g].key] = g;
|
232
|
-
const
|
233
|
-
for (g =
|
234
|
-
const
|
235
|
-
let
|
236
|
-
|
305
|
+
const S = [], H = /* @__PURE__ */ new Map(), E = /* @__PURE__ */ new Map(), m = [];
|
306
|
+
for (g = p; g--; ) {
|
307
|
+
const A = d(i, o, g), P = r(A);
|
308
|
+
let N = s.get(P);
|
309
|
+
N ? m.push(() => N.p(A, t)) : (N = l(P, A), N.c()), H.set(P, S[g] = N), P in b && E.set(P, Math.abs(g - b[P]));
|
237
310
|
}
|
238
|
-
const
|
239
|
-
function
|
240
|
-
|
311
|
+
const O = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
312
|
+
function D(A) {
|
313
|
+
hr(A, 1), A.m(a, h), s.set(A.key, A), h = A.first, p--;
|
241
314
|
}
|
242
|
-
for (;
|
243
|
-
const
|
244
|
-
|
315
|
+
for (; f && p; ) {
|
316
|
+
const A = S[p - 1], P = e[f - 1], N = A.key, X = P.key;
|
317
|
+
A === P ? (h = A.first, f--, p--) : H.has(X) ? !s.has(N) || O.has(N) ? D(A) : L.has(X) ? f-- : E.get(N) > E.get(X) ? (L.add(N), D(A)) : (O.add(X), f--) : (u(P, s), f--);
|
245
318
|
}
|
246
|
-
for (;
|
247
|
-
const
|
248
|
-
|
319
|
+
for (; f--; ) {
|
320
|
+
const A = e[f];
|
321
|
+
H.has(A.key) || u(A, s);
|
249
322
|
}
|
250
|
-
for (;
|
251
|
-
|
252
|
-
return
|
323
|
+
for (; p; )
|
324
|
+
D(S[p - 1]);
|
325
|
+
return ee(m), S;
|
253
326
|
}
|
254
|
-
function
|
327
|
+
function un(e, t, r) {
|
255
328
|
const { fragment: n, after_update: i } = e.$$;
|
256
|
-
n && n.m(t, r),
|
257
|
-
const o = e.$$.on_mount.map(
|
258
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
259
|
-
}), i.forEach(
|
329
|
+
n && n.m(t, r), st(() => {
|
330
|
+
const o = e.$$.on_mount.map(ir).filter(Ge);
|
331
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
|
332
|
+
}), i.forEach(st);
|
260
333
|
}
|
261
|
-
function
|
334
|
+
function hn(e, t) {
|
262
335
|
const r = e.$$;
|
263
|
-
r.fragment !== null && (
|
336
|
+
r.fragment !== null && (an(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
264
337
|
}
|
265
|
-
function
|
266
|
-
e.$$.dirty[0] === -1 && (
|
338
|
+
function cn(e, t) {
|
339
|
+
e.$$.dirty[0] === -1 && (fe.push(e), ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
267
340
|
}
|
268
|
-
function
|
269
|
-
const u =
|
270
|
-
|
341
|
+
function fn(e, t, r, n, i, o, s = null, a = [-1]) {
|
342
|
+
const u = He;
|
343
|
+
Te(e);
|
271
344
|
const l = e.$$ = {
|
272
345
|
fragment: null,
|
273
346
|
ctx: [],
|
@@ -275,7 +348,7 @@ function on(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
275
348
|
props: o,
|
276
349
|
update: j,
|
277
350
|
not_equal: i,
|
278
|
-
bound:
|
351
|
+
bound: Ct(),
|
279
352
|
// lifecycle
|
280
353
|
on_mount: [],
|
281
354
|
on_destroy: [],
|
@@ -284,48 +357,48 @@ function on(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
284
357
|
after_update: [],
|
285
358
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
286
359
|
// everything else
|
287
|
-
callbacks:
|
360
|
+
callbacks: Ct(),
|
288
361
|
dirty: a,
|
289
362
|
skip_bound: !1,
|
290
363
|
root: t.target || u.$$.root
|
291
364
|
};
|
292
365
|
s && s(l.root);
|
293
366
|
let h = !1;
|
294
|
-
if (l.ctx = r ? r(e, t.props || {}, (
|
295
|
-
const g =
|
296
|
-
return l.ctx && i(l.ctx[
|
297
|
-
}) : [], l.update(), h = !0,
|
367
|
+
if (l.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
|
368
|
+
const g = p.length ? p[0] : f;
|
369
|
+
return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), h && cn(e, d)), f;
|
370
|
+
}) : [], l.update(), h = !0, ee(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
298
371
|
if (t.hydrate) {
|
299
|
-
const
|
300
|
-
l.fragment && l.fragment.l(
|
372
|
+
const d = rn(t.target);
|
373
|
+
l.fragment && l.fragment.l(d), d.forEach(V);
|
301
374
|
} else
|
302
375
|
l.fragment && l.fragment.c();
|
303
|
-
t.intro &&
|
376
|
+
t.intro && hr(e.$$.fragment), un(e, t.target, t.anchor), $();
|
304
377
|
}
|
305
|
-
|
378
|
+
Te(u);
|
306
379
|
}
|
307
|
-
let
|
308
|
-
typeof HTMLElement == "function" && (
|
380
|
+
let cr;
|
381
|
+
typeof HTMLElement == "function" && (cr = class extends HTMLElement {
|
309
382
|
constructor(t, r, n) {
|
310
383
|
super();
|
311
384
|
/** The Svelte component constructor */
|
312
|
-
|
385
|
+
R(this, "$$ctor");
|
313
386
|
/** Slots */
|
314
|
-
|
387
|
+
R(this, "$$s");
|
315
388
|
/** The Svelte component instance */
|
316
|
-
|
389
|
+
R(this, "$$c");
|
317
390
|
/** Whether or not the custom element is connected */
|
318
|
-
|
391
|
+
R(this, "$$cn", !1);
|
319
392
|
/** Component props data */
|
320
|
-
|
393
|
+
R(this, "$$d", {});
|
321
394
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
322
|
-
|
395
|
+
R(this, "$$r", !1);
|
323
396
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
324
|
-
|
397
|
+
R(this, "$$p_d", {});
|
325
398
|
/** @type {Record<string, Function[]>} Event listeners */
|
326
|
-
|
399
|
+
R(this, "$$l", {});
|
327
400
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
328
|
-
|
401
|
+
R(this, "$$l_u", /* @__PURE__ */ new Map());
|
329
402
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
330
403
|
}
|
331
404
|
addEventListener(t, r, n) {
|
@@ -342,42 +415,42 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
342
415
|
}
|
343
416
|
}
|
344
417
|
connectedCallback() {
|
345
|
-
return
|
418
|
+
return Pt(this, null, function* () {
|
346
419
|
if (this.$$cn = !0, !this.$$c) {
|
347
420
|
let t = function(o) {
|
348
421
|
return () => {
|
349
422
|
let s;
|
350
423
|
return {
|
351
424
|
c: function() {
|
352
|
-
s = C("slot"), o !== "default" &&
|
425
|
+
s = C("slot"), o !== "default" && y(s, "name", o);
|
353
426
|
},
|
354
427
|
/**
|
355
428
|
* @param {HTMLElement} target
|
356
429
|
* @param {HTMLElement} [anchor]
|
357
430
|
*/
|
358
431
|
m: function(l, h) {
|
359
|
-
|
432
|
+
z(l, s, h);
|
360
433
|
},
|
361
434
|
d: function(l) {
|
362
|
-
l &&
|
435
|
+
l && V(s);
|
363
436
|
}
|
364
437
|
};
|
365
438
|
};
|
366
439
|
};
|
367
440
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
368
441
|
return;
|
369
|
-
const r = {}, n =
|
442
|
+
const r = {}, n = nn(this);
|
370
443
|
for (const o of this.$$s)
|
371
444
|
o in n && (r[o] = [t(o)]);
|
372
445
|
for (const o of this.attributes) {
|
373
446
|
const s = this.$$g_p(o.name);
|
374
|
-
s in this.$$d || (this.$$d[s] =
|
447
|
+
s in this.$$d || (this.$$d[s] = Le(s, o.value, this.$$p_d, "toProp"));
|
375
448
|
}
|
376
449
|
for (const o in this.$$p_d)
|
377
450
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
378
451
|
this.$$c = new this.$$ctor({
|
379
452
|
target: this.shadowRoot || this,
|
380
|
-
props:
|
453
|
+
props: At(Ht({}, this.$$d), {
|
381
454
|
$$slots: r,
|
382
455
|
$$scope: {
|
383
456
|
ctx: []
|
@@ -388,7 +461,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
388
461
|
this.$$r = !0;
|
389
462
|
for (const o in this.$$p_d)
|
390
463
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
391
|
-
const s =
|
464
|
+
const s = Le(
|
392
465
|
o,
|
393
466
|
this.$$d[o],
|
394
467
|
this.$$p_d,
|
@@ -412,7 +485,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
412
485
|
// and setting attributes through setAttribute etc, this is helpful
|
413
486
|
attributeChangedCallback(t, r, n) {
|
414
487
|
var i;
|
415
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
488
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
416
489
|
}
|
417
490
|
disconnectedCallback() {
|
418
491
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -425,7 +498,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
425
498
|
) || t;
|
426
499
|
}
|
427
500
|
});
|
428
|
-
function
|
501
|
+
function Le(e, t, r, n) {
|
429
502
|
var o;
|
430
503
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
431
504
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
@@ -455,8 +528,8 @@ function Ie(e, t, r, n) {
|
|
455
528
|
return t;
|
456
529
|
}
|
457
530
|
}
|
458
|
-
function
|
459
|
-
let s = class extends
|
531
|
+
function dn(e, t, r, n, i, o) {
|
532
|
+
let s = class extends cr {
|
460
533
|
constructor() {
|
461
534
|
super(e, r, i), this.$$p_d = t;
|
462
535
|
}
|
@@ -473,7 +546,7 @@ function sn(e, t, r, n, i, o) {
|
|
473
546
|
},
|
474
547
|
set(u) {
|
475
548
|
var l;
|
476
|
-
u =
|
549
|
+
u = Le(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
477
550
|
}
|
478
551
|
});
|
479
552
|
}), n.forEach((a) => {
|
@@ -486,7 +559,7 @@ function sn(e, t, r, n, i, o) {
|
|
486
559
|
}), e.element = /** @type {any} */
|
487
560
|
s, s;
|
488
561
|
}
|
489
|
-
class
|
562
|
+
class pn {
|
490
563
|
constructor() {
|
491
564
|
/**
|
492
565
|
* ### PRIVATE API
|
@@ -495,7 +568,7 @@ class an {
|
|
495
568
|
*
|
496
569
|
* @type {any}
|
497
570
|
*/
|
498
|
-
|
571
|
+
R(this, "$$");
|
499
572
|
/**
|
500
573
|
* ### PRIVATE API
|
501
574
|
*
|
@@ -503,11 +576,11 @@ class an {
|
|
503
576
|
*
|
504
577
|
* @type {any}
|
505
578
|
*/
|
506
|
-
|
579
|
+
R(this, "$$set");
|
507
580
|
}
|
508
581
|
/** @returns {void} */
|
509
582
|
$destroy() {
|
510
|
-
|
583
|
+
hn(this, 1), this.$destroy = j;
|
511
584
|
}
|
512
585
|
/**
|
513
586
|
* @template {Extract<keyof Events, string>} K
|
@@ -516,7 +589,7 @@ class an {
|
|
516
589
|
* @returns {() => void}
|
517
590
|
*/
|
518
591
|
$on(t, r) {
|
519
|
-
if (!
|
592
|
+
if (!Ge(r))
|
520
593
|
return j;
|
521
594
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
522
595
|
return n.push(r), () => {
|
@@ -529,11 +602,11 @@ class an {
|
|
529
602
|
* @returns {void}
|
530
603
|
*/
|
531
604
|
$set(t) {
|
532
|
-
this.$$set && !
|
605
|
+
this.$$set && !Qr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
533
606
|
}
|
534
607
|
}
|
535
|
-
const
|
536
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
608
|
+
const mn = "4";
|
609
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mn);
|
537
610
|
/*! *****************************************************************************
|
538
611
|
Copyright (c) Microsoft Corporation.
|
539
612
|
|
@@ -548,34 +621,34 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
548
621
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
549
622
|
PERFORMANCE OF THIS SOFTWARE.
|
550
623
|
***************************************************************************** */
|
551
|
-
var
|
552
|
-
return
|
624
|
+
var at = function(e, t) {
|
625
|
+
return at = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
553
626
|
r.__proto__ = n;
|
554
627
|
} || function(r, n) {
|
555
628
|
for (var i in n)
|
556
629
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
557
|
-
},
|
630
|
+
}, at(e, t);
|
558
631
|
};
|
559
632
|
function Q(e, t) {
|
560
633
|
if (typeof t != "function" && t !== null)
|
561
634
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
562
|
-
|
635
|
+
at(e, t);
|
563
636
|
function r() {
|
564
637
|
this.constructor = e;
|
565
638
|
}
|
566
639
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
567
640
|
}
|
568
|
-
var
|
569
|
-
return
|
641
|
+
var w = function() {
|
642
|
+
return w = Object.assign || function(t) {
|
570
643
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
571
644
|
r = arguments[n];
|
572
645
|
for (var o in r)
|
573
646
|
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
574
647
|
}
|
575
648
|
return t;
|
576
|
-
},
|
649
|
+
}, w.apply(this, arguments);
|
577
650
|
};
|
578
|
-
function
|
651
|
+
function bn(e, t) {
|
579
652
|
var r = {};
|
580
653
|
for (var n in e)
|
581
654
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
@@ -584,7 +657,7 @@ function un(e, t) {
|
|
584
657
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
585
658
|
return r;
|
586
659
|
}
|
587
|
-
function
|
660
|
+
function lt(e) {
|
588
661
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
589
662
|
if (r)
|
590
663
|
return r.call(e);
|
@@ -596,7 +669,7 @@ function it(e) {
|
|
596
669
|
};
|
597
670
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
598
671
|
}
|
599
|
-
function
|
672
|
+
function ut(e, t) {
|
600
673
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
601
674
|
if (!r)
|
602
675
|
return e;
|
@@ -622,16 +695,16 @@ function pe(e, t, r) {
|
|
622
695
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
623
696
|
return e.concat(o || t);
|
624
697
|
}
|
625
|
-
function
|
698
|
+
function J(e) {
|
626
699
|
return typeof e == "function";
|
627
700
|
}
|
628
|
-
function
|
701
|
+
function fr(e) {
|
629
702
|
var t = function(n) {
|
630
703
|
Error.call(n), n.stack = new Error().stack;
|
631
704
|
}, r = e(t);
|
632
705
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
633
706
|
}
|
634
|
-
var
|
707
|
+
var qe = fr(function(e) {
|
635
708
|
return function(r) {
|
636
709
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
637
710
|
` + r.map(function(n, i) {
|
@@ -640,13 +713,13 @@ var Ze = ar(function(e) {
|
|
640
713
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
641
714
|
};
|
642
715
|
});
|
643
|
-
function
|
716
|
+
function ht(e, t) {
|
644
717
|
if (e) {
|
645
718
|
var r = e.indexOf(t);
|
646
719
|
0 <= r && e.splice(r, 1);
|
647
720
|
}
|
648
721
|
}
|
649
|
-
var
|
722
|
+
var ke = function() {
|
650
723
|
function e(t) {
|
651
724
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
652
725
|
}
|
@@ -658,7 +731,7 @@ var Ue = function() {
|
|
658
731
|
if (s)
|
659
732
|
if (this._parentage = null, Array.isArray(s))
|
660
733
|
try {
|
661
|
-
for (var a =
|
734
|
+
for (var a = lt(s), u = a.next(); !u.done; u = a.next()) {
|
662
735
|
var l = u.value;
|
663
736
|
l.remove(this);
|
664
737
|
}
|
@@ -675,29 +748,29 @@ var Ue = function() {
|
|
675
748
|
else
|
676
749
|
s.remove(this);
|
677
750
|
var h = this.initialTeardown;
|
678
|
-
if (
|
751
|
+
if (J(h))
|
679
752
|
try {
|
680
753
|
h();
|
681
754
|
} catch (b) {
|
682
|
-
o = b instanceof
|
755
|
+
o = b instanceof qe ? b.errors : [b];
|
683
756
|
}
|
684
|
-
var
|
685
|
-
if (
|
757
|
+
var d = this._finalizers;
|
758
|
+
if (d) {
|
686
759
|
this._finalizers = null;
|
687
760
|
try {
|
688
|
-
for (var
|
689
|
-
var g =
|
761
|
+
for (var f = lt(d), p = f.next(); !p.done; p = f.next()) {
|
762
|
+
var g = p.value;
|
690
763
|
try {
|
691
|
-
|
764
|
+
Lt(g);
|
692
765
|
} catch (b) {
|
693
|
-
o = o != null ? o : [], b instanceof
|
766
|
+
o = o != null ? o : [], b instanceof qe ? o = pe(pe([], ut(o)), ut(b.errors)) : o.push(b);
|
694
767
|
}
|
695
768
|
}
|
696
769
|
} catch (b) {
|
697
770
|
n = { error: b };
|
698
771
|
} finally {
|
699
772
|
try {
|
700
|
-
|
773
|
+
p && !p.done && (i = f.return) && i.call(f);
|
701
774
|
} finally {
|
702
775
|
if (n)
|
703
776
|
throw n.error;
|
@@ -705,13 +778,13 @@ var Ue = function() {
|
|
705
778
|
}
|
706
779
|
}
|
707
780
|
if (o)
|
708
|
-
throw new
|
781
|
+
throw new qe(o);
|
709
782
|
}
|
710
783
|
}, e.prototype.add = function(t) {
|
711
784
|
var r;
|
712
785
|
if (t && t !== this)
|
713
786
|
if (this.closed)
|
714
|
-
|
787
|
+
Lt(t);
|
715
788
|
else {
|
716
789
|
if (t instanceof e) {
|
717
790
|
if (t.closed || t._hasParent(this))
|
@@ -728,52 +801,56 @@ var Ue = function() {
|
|
728
801
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
729
802
|
}, e.prototype._removeParent = function(t) {
|
730
803
|
var r = this._parentage;
|
731
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
804
|
+
r === t ? this._parentage = null : Array.isArray(r) && ht(r, t);
|
732
805
|
}, e.prototype.remove = function(t) {
|
733
806
|
var r = this._finalizers;
|
734
|
-
r &&
|
807
|
+
r && ht(r, t), t instanceof e && t._removeParent(this);
|
735
808
|
}, e.EMPTY = function() {
|
736
809
|
var t = new e();
|
737
810
|
return t.closed = !0, t;
|
738
811
|
}(), e;
|
739
|
-
}(),
|
740
|
-
function
|
741
|
-
return e instanceof
|
742
|
-
}
|
743
|
-
function
|
744
|
-
|
745
|
-
}
|
746
|
-
var
|
747
|
-
|
748
|
-
|
812
|
+
}(), dr = ke.EMPTY;
|
813
|
+
function pr(e) {
|
814
|
+
return e instanceof ke || e && "closed" in e && J(e.remove) && J(e.add) && J(e.unsubscribe);
|
815
|
+
}
|
816
|
+
function Lt(e) {
|
817
|
+
J(e) ? e() : e.unsubscribe();
|
818
|
+
}
|
819
|
+
var mr = {
|
820
|
+
onUnhandledError: null,
|
821
|
+
onStoppedNotification: null,
|
822
|
+
Promise: void 0,
|
823
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
824
|
+
useDeprecatedNextContext: !1
|
825
|
+
}, gn = {
|
749
826
|
setTimeout: function(e, t) {
|
750
827
|
for (var r = [], n = 2; n < arguments.length; n++)
|
751
828
|
r[n - 2] = arguments[n];
|
752
|
-
return setTimeout.apply(void 0, pe([e, t],
|
829
|
+
return setTimeout.apply(void 0, pe([e, t], ut(r)));
|
753
830
|
},
|
754
831
|
clearTimeout: function(e) {
|
755
832
|
return clearTimeout(e);
|
756
833
|
},
|
757
834
|
delegate: void 0
|
758
835
|
};
|
759
|
-
function
|
760
|
-
|
836
|
+
function yn(e) {
|
837
|
+
gn.setTimeout(function() {
|
761
838
|
throw e;
|
762
839
|
});
|
763
840
|
}
|
764
|
-
function
|
841
|
+
function Nt() {
|
765
842
|
}
|
766
|
-
function
|
843
|
+
function Ne(e) {
|
767
844
|
e();
|
768
845
|
}
|
769
|
-
var
|
846
|
+
var br = function(e) {
|
770
847
|
Q(t, e);
|
771
848
|
function t(r) {
|
772
849
|
var n = e.call(this) || this;
|
773
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
850
|
+
return n.isStopped = !1, r ? (n.destination = r, pr(r) && r.add(n)) : n.destination = En, n;
|
774
851
|
}
|
775
852
|
return t.create = function(r, n, i) {
|
776
|
-
return new
|
853
|
+
return new ct(r, n, i);
|
777
854
|
}, t.prototype.next = function(r) {
|
778
855
|
this.isStopped || this._next(r);
|
779
856
|
}, t.prototype.error = function(r) {
|
@@ -797,7 +874,11 @@ var hr = function(e) {
|
|
797
874
|
this.unsubscribe();
|
798
875
|
}
|
799
876
|
}, t;
|
800
|
-
}(
|
877
|
+
}(ke), vn = Function.prototype.bind;
|
878
|
+
function Ye(e, t) {
|
879
|
+
return vn.call(e, t);
|
880
|
+
}
|
881
|
+
var _n = function() {
|
801
882
|
function e(t) {
|
802
883
|
this.partialObserver = t;
|
803
884
|
}
|
@@ -807,7 +888,7 @@ var hr = function(e) {
|
|
807
888
|
try {
|
808
889
|
r.next(t);
|
809
890
|
} catch (n) {
|
810
|
-
|
891
|
+
Ie(n);
|
811
892
|
}
|
812
893
|
}, e.prototype.error = function(t) {
|
813
894
|
var r = this.partialObserver;
|
@@ -815,56 +896,68 @@ var hr = function(e) {
|
|
815
896
|
try {
|
816
897
|
r.error(t);
|
817
898
|
} catch (n) {
|
818
|
-
|
899
|
+
Ie(n);
|
819
900
|
}
|
820
901
|
else
|
821
|
-
|
902
|
+
Ie(t);
|
822
903
|
}, e.prototype.complete = function() {
|
823
904
|
var t = this.partialObserver;
|
824
905
|
if (t.complete)
|
825
906
|
try {
|
826
907
|
t.complete();
|
827
908
|
} catch (r) {
|
828
|
-
|
909
|
+
Ie(r);
|
829
910
|
}
|
830
911
|
}, e;
|
831
|
-
}(),
|
912
|
+
}(), ct = function(e) {
|
832
913
|
Q(t, e);
|
833
914
|
function t(r, n, i) {
|
834
915
|
var o = e.call(this) || this, s;
|
835
|
-
|
836
|
-
|
837
|
-
|
838
|
-
|
839
|
-
|
916
|
+
if (J(r) || !r)
|
917
|
+
s = {
|
918
|
+
next: r != null ? r : void 0,
|
919
|
+
error: n != null ? n : void 0,
|
920
|
+
complete: i != null ? i : void 0
|
921
|
+
};
|
922
|
+
else {
|
923
|
+
var a;
|
924
|
+
o && mr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
925
|
+
return o.unsubscribe();
|
926
|
+
}, s = {
|
927
|
+
next: r.next && Ye(r.next, a),
|
928
|
+
error: r.error && Ye(r.error, a),
|
929
|
+
complete: r.complete && Ye(r.complete, a)
|
930
|
+
}) : s = r;
|
931
|
+
}
|
932
|
+
return o.destination = new _n(s), o;
|
840
933
|
}
|
841
934
|
return t;
|
842
|
-
}(
|
843
|
-
function
|
844
|
-
|
935
|
+
}(br);
|
936
|
+
function Ie(e) {
|
937
|
+
yn(e);
|
845
938
|
}
|
846
|
-
function
|
939
|
+
function xn(e) {
|
847
940
|
throw e;
|
848
941
|
}
|
849
|
-
var
|
942
|
+
var En = {
|
850
943
|
closed: !0,
|
851
|
-
next:
|
852
|
-
error:
|
853
|
-
complete:
|
854
|
-
},
|
944
|
+
next: Nt,
|
945
|
+
error: xn,
|
946
|
+
complete: Nt
|
947
|
+
}, wn = function() {
|
855
948
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
856
949
|
}();
|
857
|
-
function
|
950
|
+
function Sn(e) {
|
858
951
|
return e;
|
859
952
|
}
|
860
|
-
function
|
861
|
-
return e.length === 0 ?
|
953
|
+
function Tn(e) {
|
954
|
+
return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
|
862
955
|
return e.reduce(function(n, i) {
|
863
956
|
return i(n);
|
864
957
|
}, r);
|
865
958
|
};
|
866
959
|
}
|
867
|
-
var
|
960
|
+
var Mt = function() {
|
868
961
|
function e(t) {
|
869
962
|
t && (this._subscribe = t);
|
870
963
|
}
|
@@ -872,8 +965,8 @@ var Bt = function() {
|
|
872
965
|
var r = new e();
|
873
966
|
return r.source = this, r.operator = t, r;
|
874
967
|
}, e.prototype.subscribe = function(t, r, n) {
|
875
|
-
var i = this, o =
|
876
|
-
return
|
968
|
+
var i = this, o = An(t) ? t : new ct(t, r, n);
|
969
|
+
return Ne(function() {
|
877
970
|
var s = i, a = s.operator, u = s.source;
|
878
971
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
879
972
|
}), o;
|
@@ -885,8 +978,8 @@ var Bt = function() {
|
|
885
978
|
}
|
886
979
|
}, e.prototype.forEach = function(t, r) {
|
887
980
|
var n = this;
|
888
|
-
return r =
|
889
|
-
var s = new
|
981
|
+
return r = Rt(r), new r(function(i, o) {
|
982
|
+
var s = new ct({
|
890
983
|
next: function(a) {
|
891
984
|
try {
|
892
985
|
t(a);
|
@@ -902,15 +995,15 @@ var Bt = function() {
|
|
902
995
|
}, e.prototype._subscribe = function(t) {
|
903
996
|
var r;
|
904
997
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
905
|
-
}, e.prototype[
|
998
|
+
}, e.prototype[wn] = function() {
|
906
999
|
return this;
|
907
1000
|
}, e.prototype.pipe = function() {
|
908
1001
|
for (var t = [], r = 0; r < arguments.length; r++)
|
909
1002
|
t[r] = arguments[r];
|
910
|
-
return
|
1003
|
+
return Tn(t)(this);
|
911
1004
|
}, e.prototype.toPromise = function(t) {
|
912
1005
|
var r = this;
|
913
|
-
return t =
|
1006
|
+
return t = Rt(t), new t(function(n, i) {
|
914
1007
|
var o;
|
915
1008
|
r.subscribe(function(s) {
|
916
1009
|
return o = s;
|
@@ -924,40 +1017,40 @@ var Bt = function() {
|
|
924
1017
|
return new e(t);
|
925
1018
|
}, e;
|
926
1019
|
}();
|
927
|
-
function
|
1020
|
+
function Rt(e) {
|
928
1021
|
var t;
|
929
|
-
return (t = e != null ? e :
|
1022
|
+
return (t = e != null ? e : mr.Promise) !== null && t !== void 0 ? t : Promise;
|
930
1023
|
}
|
931
|
-
function
|
932
|
-
return e &&
|
1024
|
+
function Hn(e) {
|
1025
|
+
return e && J(e.next) && J(e.error) && J(e.complete);
|
933
1026
|
}
|
934
|
-
function
|
935
|
-
return e && e instanceof
|
1027
|
+
function An(e) {
|
1028
|
+
return e && e instanceof br || Hn(e) && pr(e);
|
936
1029
|
}
|
937
|
-
var
|
1030
|
+
var Pn = fr(function(e) {
|
938
1031
|
return function() {
|
939
1032
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
940
1033
|
};
|
941
|
-
}),
|
1034
|
+
}), gr = function(e) {
|
942
1035
|
Q(t, e);
|
943
1036
|
function t() {
|
944
1037
|
var r = e.call(this) || this;
|
945
1038
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
946
1039
|
}
|
947
1040
|
return t.prototype.lift = function(r) {
|
948
|
-
var n = new
|
1041
|
+
var n = new Dt(this, this);
|
949
1042
|
return n.operator = r, n;
|
950
1043
|
}, t.prototype._throwIfClosed = function() {
|
951
1044
|
if (this.closed)
|
952
|
-
throw new
|
1045
|
+
throw new Pn();
|
953
1046
|
}, t.prototype.next = function(r) {
|
954
1047
|
var n = this;
|
955
|
-
|
1048
|
+
Ne(function() {
|
956
1049
|
var i, o;
|
957
1050
|
if (n._throwIfClosed(), !n.isStopped) {
|
958
1051
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
959
1052
|
try {
|
960
|
-
for (var s =
|
1053
|
+
for (var s = lt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
961
1054
|
var u = a.value;
|
962
1055
|
u.next(r);
|
963
1056
|
}
|
@@ -975,7 +1068,7 @@ var xn = ar(function(e) {
|
|
975
1068
|
});
|
976
1069
|
}, t.prototype.error = function(r) {
|
977
1070
|
var n = this;
|
978
|
-
|
1071
|
+
Ne(function() {
|
979
1072
|
if (n._throwIfClosed(), !n.isStopped) {
|
980
1073
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
981
1074
|
for (var i = n.observers; i.length; )
|
@@ -984,7 +1077,7 @@ var xn = ar(function(e) {
|
|
984
1077
|
});
|
985
1078
|
}, t.prototype.complete = function() {
|
986
1079
|
var r = this;
|
987
|
-
|
1080
|
+
Ne(function() {
|
988
1081
|
if (r._throwIfClosed(), !r.isStopped) {
|
989
1082
|
r.isStopped = !0;
|
990
1083
|
for (var n = r.observers; n.length; )
|
@@ -1006,19 +1099,19 @@ var xn = ar(function(e) {
|
|
1006
1099
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
1007
1100
|
}, t.prototype._innerSubscribe = function(r) {
|
1008
1101
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
1009
|
-
return o || s ?
|
1010
|
-
n.currentObservers = null,
|
1102
|
+
return o || s ? dr : (this.currentObservers = null, a.push(r), new ke(function() {
|
1103
|
+
n.currentObservers = null, ht(a, r);
|
1011
1104
|
}));
|
1012
1105
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
1013
1106
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
1014
1107
|
i ? r.error(o) : s && r.complete();
|
1015
1108
|
}, t.prototype.asObservable = function() {
|
1016
|
-
var r = new
|
1109
|
+
var r = new Mt();
|
1017
1110
|
return r.source = this, r;
|
1018
1111
|
}, t.create = function(r, n) {
|
1019
|
-
return new
|
1112
|
+
return new Dt(r, n);
|
1020
1113
|
}, t;
|
1021
|
-
}(
|
1114
|
+
}(Mt), Dt = function(e) {
|
1022
1115
|
Q(t, e);
|
1023
1116
|
function t(r, n) {
|
1024
1117
|
var i = e.call(this) || this;
|
@@ -1035,17 +1128,17 @@ var xn = ar(function(e) {
|
|
1035
1128
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
1036
1129
|
}, t.prototype._subscribe = function(r) {
|
1037
1130
|
var n, i;
|
1038
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
1131
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : dr;
|
1039
1132
|
}, t;
|
1040
|
-
}(
|
1133
|
+
}(gr), yr = {
|
1041
1134
|
now: function() {
|
1042
|
-
return (
|
1135
|
+
return (yr.delegate || Date).now();
|
1043
1136
|
},
|
1044
1137
|
delegate: void 0
|
1045
|
-
},
|
1138
|
+
}, Cn = function(e) {
|
1046
1139
|
Q(t, e);
|
1047
1140
|
function t(r, n, i) {
|
1048
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
1141
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = yr);
|
1049
1142
|
var o = e.call(this) || this;
|
1050
1143
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
1051
1144
|
}
|
@@ -1065,31 +1158,31 @@ var xn = ar(function(e) {
|
|
1065
1158
|
l && o.splice(0, l + 1);
|
1066
1159
|
}
|
1067
1160
|
}, t;
|
1068
|
-
}(
|
1069
|
-
const
|
1070
|
-
if (
|
1071
|
-
const r = new
|
1072
|
-
|
1161
|
+
}(gr);
|
1162
|
+
const Ut = [], $t = {}, Fn = (e, t = 0) => {
|
1163
|
+
if (Ut.indexOf(e) == -1) {
|
1164
|
+
const r = new Cn(t);
|
1165
|
+
$t[e] = r, Ut.push(e);
|
1073
1166
|
}
|
1074
|
-
return
|
1075
|
-
},
|
1076
|
-
function
|
1167
|
+
return $t[e];
|
1168
|
+
}, ce = [];
|
1169
|
+
function Bn(e, t) {
|
1077
1170
|
return {
|
1078
|
-
subscribe:
|
1171
|
+
subscribe: je(e, t).subscribe
|
1079
1172
|
};
|
1080
1173
|
}
|
1081
|
-
function
|
1174
|
+
function je(e, t = j) {
|
1082
1175
|
let r;
|
1083
1176
|
const n = /* @__PURE__ */ new Set();
|
1084
1177
|
function i(a) {
|
1085
|
-
if (
|
1086
|
-
const u = !
|
1178
|
+
if (or(e, a) && (e = a, r)) {
|
1179
|
+
const u = !ce.length;
|
1087
1180
|
for (const l of n)
|
1088
|
-
l[1](),
|
1181
|
+
l[1](), ce.push(l, e);
|
1089
1182
|
if (u) {
|
1090
|
-
for (let l = 0; l <
|
1091
|
-
|
1092
|
-
|
1183
|
+
for (let l = 0; l < ce.length; l += 2)
|
1184
|
+
ce[l][0](ce[l + 1]);
|
1185
|
+
ce.length = 0;
|
1093
1186
|
}
|
1094
1187
|
}
|
1095
1188
|
}
|
@@ -1109,203 +1202,205 @@ function ve(e, t, r) {
|
|
1109
1202
|
if (!i.every(Boolean))
|
1110
1203
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1111
1204
|
const o = t.length < 2;
|
1112
|
-
return
|
1205
|
+
return Bn(r, (s, a) => {
|
1113
1206
|
let u = !1;
|
1114
1207
|
const l = [];
|
1115
|
-
let h = 0,
|
1116
|
-
const
|
1208
|
+
let h = 0, d = j;
|
1209
|
+
const f = () => {
|
1117
1210
|
if (h)
|
1118
1211
|
return;
|
1119
|
-
|
1212
|
+
d();
|
1120
1213
|
const g = t(n ? l[0] : l, s, a);
|
1121
|
-
o ? s(g) :
|
1122
|
-
},
|
1123
|
-
(g, b) =>
|
1214
|
+
o ? s(g) : d = Ge(g) ? g : j;
|
1215
|
+
}, p = i.map(
|
1216
|
+
(g, b) => sr(
|
1124
1217
|
g,
|
1125
|
-
(
|
1126
|
-
l[b] =
|
1218
|
+
(S) => {
|
1219
|
+
l[b] = S, h &= ~(1 << b), u && f();
|
1127
1220
|
},
|
1128
1221
|
() => {
|
1129
1222
|
h |= 1 << b;
|
1130
1223
|
}
|
1131
1224
|
)
|
1132
1225
|
);
|
1133
|
-
return u = !0,
|
1134
|
-
|
1226
|
+
return u = !0, f(), function() {
|
1227
|
+
ee(p), d(), u = !1;
|
1135
1228
|
};
|
1136
1229
|
});
|
1137
1230
|
}
|
1138
|
-
function
|
1231
|
+
function In(e) {
|
1139
1232
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1140
1233
|
}
|
1141
|
-
var
|
1142
|
-
return
|
1234
|
+
var On = function(t) {
|
1235
|
+
return Ln(t) && !Nn(t);
|
1143
1236
|
};
|
1144
|
-
function
|
1237
|
+
function Ln(e) {
|
1145
1238
|
return !!e && typeof e == "object";
|
1146
1239
|
}
|
1147
|
-
function
|
1240
|
+
function Nn(e) {
|
1148
1241
|
var t = Object.prototype.toString.call(e);
|
1149
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1242
|
+
return t === "[object RegExp]" || t === "[object Date]" || Dn(e);
|
1150
1243
|
}
|
1151
|
-
var
|
1152
|
-
function
|
1153
|
-
return e.$$typeof ===
|
1244
|
+
var Mn = typeof Symbol == "function" && Symbol.for, Rn = Mn ? Symbol.for("react.element") : 60103;
|
1245
|
+
function Dn(e) {
|
1246
|
+
return e.$$typeof === Rn;
|
1154
1247
|
}
|
1155
|
-
function
|
1248
|
+
function Un(e) {
|
1156
1249
|
return Array.isArray(e) ? [] : {};
|
1157
1250
|
}
|
1158
|
-
function
|
1159
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
1251
|
+
function Ae(e, t) {
|
1252
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? me(Un(e), e, t) : e;
|
1160
1253
|
}
|
1161
|
-
function
|
1254
|
+
function $n(e, t, r) {
|
1162
1255
|
return e.concat(t).map(function(n) {
|
1163
|
-
return
|
1256
|
+
return Ae(n, r);
|
1164
1257
|
});
|
1165
1258
|
}
|
1166
|
-
function
|
1259
|
+
function Gn(e, t) {
|
1167
1260
|
if (!t.customMerge)
|
1168
|
-
return
|
1261
|
+
return me;
|
1169
1262
|
var r = t.customMerge(e);
|
1170
|
-
return typeof r == "function" ? r :
|
1263
|
+
return typeof r == "function" ? r : me;
|
1171
1264
|
}
|
1172
|
-
function
|
1265
|
+
function kn(e) {
|
1173
1266
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1174
1267
|
return Object.propertyIsEnumerable.call(e, t);
|
1175
1268
|
}) : [];
|
1176
1269
|
}
|
1177
|
-
function
|
1178
|
-
return Object.keys(e).concat(
|
1270
|
+
function Gt(e) {
|
1271
|
+
return Object.keys(e).concat(kn(e));
|
1179
1272
|
}
|
1180
|
-
function
|
1273
|
+
function vr(e, t) {
|
1181
1274
|
try {
|
1182
1275
|
return t in e;
|
1183
1276
|
} catch (r) {
|
1184
1277
|
return !1;
|
1185
1278
|
}
|
1186
1279
|
}
|
1187
|
-
function
|
1188
|
-
return
|
1280
|
+
function jn(e, t) {
|
1281
|
+
return vr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1189
1282
|
}
|
1190
|
-
function
|
1283
|
+
function Vn(e, t, r) {
|
1191
1284
|
var n = {};
|
1192
|
-
return r.isMergeableObject(e) &&
|
1193
|
-
n[i] =
|
1194
|
-
}),
|
1195
|
-
|
1285
|
+
return r.isMergeableObject(e) && Gt(e).forEach(function(i) {
|
1286
|
+
n[i] = Ae(e[i], r);
|
1287
|
+
}), Gt(t).forEach(function(i) {
|
1288
|
+
jn(e, i) || (vr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gn(i, r)(e[i], t[i], r) : n[i] = Ae(t[i], r));
|
1196
1289
|
}), n;
|
1197
1290
|
}
|
1198
|
-
function
|
1199
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1291
|
+
function me(e, t, r) {
|
1292
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || $n, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = Ae;
|
1200
1293
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
1201
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
1294
|
+
return o ? n ? r.arrayMerge(e, t, r) : Vn(e, t, r) : Ae(t, r);
|
1202
1295
|
}
|
1203
|
-
|
1296
|
+
me.all = function(t, r) {
|
1204
1297
|
if (!Array.isArray(t))
|
1205
1298
|
throw new Error("first argument should be an array");
|
1206
1299
|
return t.reduce(function(n, i) {
|
1207
|
-
return
|
1300
|
+
return me(n, i, r);
|
1208
1301
|
}, {});
|
1209
1302
|
};
|
1210
|
-
var
|
1211
|
-
const
|
1212
|
-
function
|
1213
|
-
var r = t && t.cache ? t.cache :
|
1303
|
+
var Xn = me, Wn = Xn;
|
1304
|
+
const zn = /* @__PURE__ */ In(Wn);
|
1305
|
+
function Ke(e, t) {
|
1306
|
+
var r = t && t.cache ? t.cache : Kn, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Jn;
|
1214
1307
|
return i(e, {
|
1215
1308
|
cache: r,
|
1216
1309
|
serializer: n
|
1217
1310
|
});
|
1218
1311
|
}
|
1219
|
-
function
|
1312
|
+
function Zn(e) {
|
1220
1313
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1221
1314
|
}
|
1222
|
-
function
|
1223
|
-
var i =
|
1315
|
+
function _r(e, t, r, n) {
|
1316
|
+
var i = Zn(n) ? n : r(n), o = t.get(i);
|
1224
1317
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
1225
1318
|
}
|
1226
|
-
function
|
1319
|
+
function xr(e, t, r) {
|
1227
1320
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
1228
1321
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
1229
1322
|
}
|
1230
|
-
function
|
1323
|
+
function _t(e, t, r, n, i) {
|
1231
1324
|
return r.bind(t, e, n, i);
|
1232
1325
|
}
|
1233
|
-
function
|
1234
|
-
var r = e.length === 1 ?
|
1235
|
-
return
|
1326
|
+
function Jn(e, t) {
|
1327
|
+
var r = e.length === 1 ? _r : xr;
|
1328
|
+
return _t(e, this, r, t.cache.create(), t.serializer);
|
1236
1329
|
}
|
1237
|
-
function
|
1238
|
-
return
|
1330
|
+
function Qn(e, t) {
|
1331
|
+
return _t(e, this, xr, t.cache.create(), t.serializer);
|
1239
1332
|
}
|
1240
|
-
|
1333
|
+
function qn(e, t) {
|
1334
|
+
return _t(e, this, _r, t.cache.create(), t.serializer);
|
1335
|
+
}
|
1336
|
+
var Yn = function() {
|
1241
1337
|
return JSON.stringify(arguments);
|
1242
|
-
}
|
1243
|
-
|
1244
|
-
|
1245
|
-
|
1246
|
-
|
1247
|
-
|
1248
|
-
|
1249
|
-
|
1250
|
-
|
1251
|
-
|
1252
|
-
|
1253
|
-
}()
|
1254
|
-
), zn = {
|
1338
|
+
};
|
1339
|
+
function xt() {
|
1340
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
1341
|
+
}
|
1342
|
+
xt.prototype.get = function(e) {
|
1343
|
+
return this.cache[e];
|
1344
|
+
};
|
1345
|
+
xt.prototype.set = function(e, t) {
|
1346
|
+
this.cache[e] = t;
|
1347
|
+
};
|
1348
|
+
var Kn = {
|
1255
1349
|
create: function() {
|
1256
|
-
return new
|
1350
|
+
return new xt();
|
1257
1351
|
}
|
1258
|
-
},
|
1259
|
-
variadic:
|
1260
|
-
|
1352
|
+
}, et = {
|
1353
|
+
variadic: Qn,
|
1354
|
+
monadic: qn
|
1355
|
+
}, _;
|
1261
1356
|
(function(e) {
|
1262
1357
|
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";
|
1263
|
-
})(
|
1358
|
+
})(_ || (_ = {}));
|
1264
1359
|
var B;
|
1265
1360
|
(function(e) {
|
1266
1361
|
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";
|
1267
1362
|
})(B || (B = {}));
|
1268
|
-
var
|
1363
|
+
var be;
|
1269
1364
|
(function(e) {
|
1270
1365
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1271
|
-
})(
|
1272
|
-
function
|
1366
|
+
})(be || (be = {}));
|
1367
|
+
function kt(e) {
|
1273
1368
|
return e.type === B.literal;
|
1274
1369
|
}
|
1275
|
-
function
|
1370
|
+
function ei(e) {
|
1276
1371
|
return e.type === B.argument;
|
1277
1372
|
}
|
1278
|
-
function
|
1373
|
+
function Er(e) {
|
1279
1374
|
return e.type === B.number;
|
1280
1375
|
}
|
1281
|
-
function
|
1376
|
+
function wr(e) {
|
1282
1377
|
return e.type === B.date;
|
1283
1378
|
}
|
1284
|
-
function
|
1379
|
+
function Sr(e) {
|
1285
1380
|
return e.type === B.time;
|
1286
1381
|
}
|
1287
|
-
function
|
1382
|
+
function Tr(e) {
|
1288
1383
|
return e.type === B.select;
|
1289
1384
|
}
|
1290
|
-
function
|
1385
|
+
function Hr(e) {
|
1291
1386
|
return e.type === B.plural;
|
1292
1387
|
}
|
1293
|
-
function
|
1388
|
+
function ti(e) {
|
1294
1389
|
return e.type === B.pound;
|
1295
1390
|
}
|
1296
|
-
function
|
1391
|
+
function Ar(e) {
|
1297
1392
|
return e.type === B.tag;
|
1298
1393
|
}
|
1299
|
-
function
|
1300
|
-
return !!(e && typeof e == "object" && e.type ===
|
1394
|
+
function Pr(e) {
|
1395
|
+
return !!(e && typeof e == "object" && e.type === be.number);
|
1301
1396
|
}
|
1302
|
-
function
|
1303
|
-
return !!(e && typeof e == "object" && e.type ===
|
1397
|
+
function ft(e) {
|
1398
|
+
return !!(e && typeof e == "object" && e.type === be.dateTime);
|
1304
1399
|
}
|
1305
|
-
var
|
1306
|
-
function
|
1400
|
+
var Cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ri = /(?:[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;
|
1401
|
+
function ni(e) {
|
1307
1402
|
var t = {};
|
1308
|
-
return e.replace(
|
1403
|
+
return e.replace(ri, function(r) {
|
1309
1404
|
var n = r.length;
|
1310
1405
|
switch (r[0]) {
|
1311
1406
|
case "G":
|
@@ -1394,36 +1489,36 @@ function qn(e) {
|
|
1394
1489
|
return "";
|
1395
1490
|
}), t;
|
1396
1491
|
}
|
1397
|
-
var
|
1398
|
-
function
|
1492
|
+
var ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1493
|
+
function oi(e) {
|
1399
1494
|
if (e.length === 0)
|
1400
1495
|
throw new Error("Number skeleton cannot be empty");
|
1401
|
-
for (var t = e.split(
|
1402
|
-
return
|
1496
|
+
for (var t = e.split(ii).filter(function(f) {
|
1497
|
+
return f.length > 0;
|
1403
1498
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1404
1499
|
var o = i[n], s = o.split("/");
|
1405
1500
|
if (s.length === 0)
|
1406
1501
|
throw new Error("Invalid number skeleton");
|
1407
1502
|
for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
|
1408
|
-
var
|
1409
|
-
if (
|
1503
|
+
var d = h[l];
|
1504
|
+
if (d.length === 0)
|
1410
1505
|
throw new Error("Invalid number skeleton");
|
1411
1506
|
}
|
1412
1507
|
r.push({ stem: a, options: u });
|
1413
1508
|
}
|
1414
1509
|
return r;
|
1415
1510
|
}
|
1416
|
-
function
|
1511
|
+
function si(e) {
|
1417
1512
|
return e.replace(/^(.*?)-/, "");
|
1418
1513
|
}
|
1419
|
-
var
|
1420
|
-
function
|
1514
|
+
var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Fr = /^(@+)?(\+|#+)?[rs]?$/g, ai = /(\*)(0+)|(#+)(0+)|(0+)/g, Br = /^(0+)$/;
|
1515
|
+
function Vt(e) {
|
1421
1516
|
var t = {};
|
1422
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
1517
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Fr, function(r, n, i) {
|
1423
1518
|
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)), "";
|
1424
1519
|
}), t;
|
1425
1520
|
}
|
1426
|
-
function
|
1521
|
+
function Ir(e) {
|
1427
1522
|
switch (e) {
|
1428
1523
|
case "sign-auto":
|
1429
1524
|
return {
|
@@ -1463,7 +1558,7 @@ function Hr(e) {
|
|
1463
1558
|
};
|
1464
1559
|
}
|
1465
1560
|
}
|
1466
|
-
function
|
1561
|
+
function li(e) {
|
1467
1562
|
var t;
|
1468
1563
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1469
1564
|
notation: "engineering"
|
@@ -1471,17 +1566,17 @@ function ri(e) {
|
|
1471
1566
|
notation: "scientific"
|
1472
1567
|
}, e = e.slice(1)), t) {
|
1473
1568
|
var r = e.slice(0, 2);
|
1474
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1569
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Br.test(e))
|
1475
1570
|
throw new Error("Malformed concise eng/scientific notation");
|
1476
1571
|
t.minimumIntegerDigits = e.length;
|
1477
1572
|
}
|
1478
1573
|
return t;
|
1479
1574
|
}
|
1480
|
-
function
|
1481
|
-
var t = {}, r =
|
1575
|
+
function Xt(e) {
|
1576
|
+
var t = {}, r = Ir(e);
|
1482
1577
|
return r || t;
|
1483
1578
|
}
|
1484
|
-
function
|
1579
|
+
function ui(e) {
|
1485
1580
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1486
1581
|
var i = n[r];
|
1487
1582
|
switch (i.stem) {
|
@@ -1505,7 +1600,7 @@ function ni(e) {
|
|
1505
1600
|
continue;
|
1506
1601
|
case "measure-unit":
|
1507
1602
|
case "unit":
|
1508
|
-
t.style = "unit", t.unit =
|
1603
|
+
t.style = "unit", t.unit = si(i.options[0]);
|
1509
1604
|
continue;
|
1510
1605
|
case "compact-short":
|
1511
1606
|
case "K":
|
@@ -1516,13 +1611,13 @@ function ni(e) {
|
|
1516
1611
|
t.notation = "compact", t.compactDisplay = "long";
|
1517
1612
|
continue;
|
1518
1613
|
case "scientific":
|
1519
|
-
t =
|
1520
|
-
return
|
1614
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
1615
|
+
return w(w({}, u), Xt(l));
|
1521
1616
|
}, {}));
|
1522
1617
|
continue;
|
1523
1618
|
case "engineering":
|
1524
|
-
t =
|
1525
|
-
return
|
1619
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
1620
|
+
return w(w({}, u), Xt(l));
|
1526
1621
|
}, {}));
|
1527
1622
|
continue;
|
1528
1623
|
case "notation-simple":
|
@@ -1567,41 +1662,41 @@ function ni(e) {
|
|
1567
1662
|
case "integer-width":
|
1568
1663
|
if (i.options.length > 1)
|
1569
1664
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1570
|
-
i.options[0].replace(
|
1665
|
+
i.options[0].replace(ai, function(u, l, h, d, f, p) {
|
1571
1666
|
if (l)
|
1572
1667
|
t.minimumIntegerDigits = h.length;
|
1573
1668
|
else {
|
1574
|
-
if (
|
1669
|
+
if (d && f)
|
1575
1670
|
throw new Error("We currently do not support maximum integer digits");
|
1576
|
-
if (
|
1671
|
+
if (p)
|
1577
1672
|
throw new Error("We currently do not support exact integer digits");
|
1578
1673
|
}
|
1579
1674
|
return "";
|
1580
1675
|
});
|
1581
1676
|
continue;
|
1582
1677
|
}
|
1583
|
-
if (
|
1678
|
+
if (Br.test(i.stem)) {
|
1584
1679
|
t.minimumIntegerDigits = i.stem.length;
|
1585
1680
|
continue;
|
1586
1681
|
}
|
1587
|
-
if (
|
1682
|
+
if (jt.test(i.stem)) {
|
1588
1683
|
if (i.options.length > 1)
|
1589
1684
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1590
|
-
i.stem.replace(
|
1591
|
-
return h === "*" ? t.minimumFractionDigits = l.length :
|
1685
|
+
i.stem.replace(jt, function(u, l, h, d, f, p) {
|
1686
|
+
return h === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1592
1687
|
});
|
1593
1688
|
var o = i.options[0];
|
1594
|
-
o === "w" ? t =
|
1689
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Vt(o)));
|
1595
1690
|
continue;
|
1596
1691
|
}
|
1597
|
-
if (
|
1598
|
-
t =
|
1692
|
+
if (Fr.test(i.stem)) {
|
1693
|
+
t = w(w({}, t), Vt(i.stem));
|
1599
1694
|
continue;
|
1600
1695
|
}
|
1601
|
-
var s =
|
1602
|
-
s && (t =
|
1603
|
-
var a =
|
1604
|
-
a && (t =
|
1696
|
+
var s = Ir(i.stem);
|
1697
|
+
s && (t = w(w({}, t), s));
|
1698
|
+
var a = li(i.stem);
|
1699
|
+
a && (t = w(w({}, t), a));
|
1605
1700
|
}
|
1606
1701
|
return t;
|
1607
1702
|
}
|
@@ -3020,13 +3115,13 @@ var Oe = {
|
|
3020
3115
|
"h"
|
3021
3116
|
]
|
3022
3117
|
};
|
3023
|
-
function
|
3118
|
+
function hi(e, t) {
|
3024
3119
|
for (var r = "", n = 0; n < e.length; n++) {
|
3025
3120
|
var i = e.charAt(n);
|
3026
3121
|
if (i === "j") {
|
3027
3122
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3028
3123
|
o++, n++;
|
3029
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
3124
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ci(t);
|
3030
3125
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
3031
3126
|
r += u;
|
3032
3127
|
for (; s-- > 0; )
|
@@ -3036,7 +3131,7 @@ function ii(e, t) {
|
|
3036
3131
|
}
|
3037
3132
|
return r;
|
3038
3133
|
}
|
3039
|
-
function
|
3134
|
+
function ci(e) {
|
3040
3135
|
var t = e.hourCycle;
|
3041
3136
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3042
3137
|
e.hourCycles && // @ts-ignore
|
@@ -3058,20 +3153,20 @@ function oi(e) {
|
|
3058
3153
|
var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
|
3059
3154
|
return i[0];
|
3060
3155
|
}
|
3061
|
-
var
|
3062
|
-
function
|
3156
|
+
var tt, fi = new RegExp("^".concat(Cr.source, "*")), di = new RegExp("".concat(Cr.source, "*$"));
|
3157
|
+
function x(e, t) {
|
3063
3158
|
return { start: e, end: t };
|
3064
3159
|
}
|
3065
|
-
var
|
3160
|
+
var pi = !!String.prototype.startsWith && "_a".startsWith("a", 1), mi = !!String.fromCodePoint, bi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, vi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, xi = _i ? Number.isSafeInteger : function(e) {
|
3066
3161
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3067
|
-
},
|
3162
|
+
}, dt = !0;
|
3068
3163
|
try {
|
3069
|
-
var
|
3070
|
-
|
3164
|
+
var Ei = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3165
|
+
dt = ((tt = Ei.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
|
3071
3166
|
} catch (e) {
|
3072
|
-
|
3167
|
+
dt = !1;
|
3073
3168
|
}
|
3074
|
-
var
|
3169
|
+
var Wt = pi ? (
|
3075
3170
|
// Native
|
3076
3171
|
function(t, r, n) {
|
3077
3172
|
return t.startsWith(r, n);
|
@@ -3081,7 +3176,7 @@ var Gt = li ? (
|
|
3081
3176
|
function(t, r, n) {
|
3082
3177
|
return t.slice(n, n + r.length) === r;
|
3083
3178
|
}
|
3084
|
-
),
|
3179
|
+
), pt = mi ? String.fromCodePoint : (
|
3085
3180
|
// IE11
|
3086
3181
|
function() {
|
3087
3182
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3093,9 +3188,9 @@ var Gt = li ? (
|
|
3093
3188
|
}
|
3094
3189
|
return n;
|
3095
3190
|
}
|
3096
|
-
),
|
3191
|
+
), zt = (
|
3097
3192
|
// native
|
3098
|
-
|
3193
|
+
bi ? Object.fromEntries : (
|
3099
3194
|
// Ponyfill
|
3100
3195
|
function(t) {
|
3101
3196
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3105,7 +3200,7 @@ var Gt = li ? (
|
|
3105
3200
|
return r;
|
3106
3201
|
}
|
3107
3202
|
)
|
3108
|
-
),
|
3203
|
+
), Or = gi ? (
|
3109
3204
|
// Native
|
3110
3205
|
function(t, r) {
|
3111
3206
|
return t.codePointAt(r);
|
@@ -3119,7 +3214,7 @@ var Gt = li ? (
|
|
3119
3214
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
3120
3215
|
}
|
3121
3216
|
}
|
3122
|
-
),
|
3217
|
+
), wi = yi ? (
|
3123
3218
|
// Native
|
3124
3219
|
function(t) {
|
3125
3220
|
return t.trimStart();
|
@@ -3127,9 +3222,9 @@ var Gt = li ? (
|
|
3127
3222
|
) : (
|
3128
3223
|
// Ponyfill
|
3129
3224
|
function(t) {
|
3130
|
-
return t.replace(
|
3225
|
+
return t.replace(fi, "");
|
3131
3226
|
}
|
3132
|
-
),
|
3227
|
+
), Si = vi ? (
|
3133
3228
|
// Native
|
3134
3229
|
function(t) {
|
3135
3230
|
return t.trimEnd();
|
@@ -3137,32 +3232,32 @@ var Gt = li ? (
|
|
3137
3232
|
) : (
|
3138
3233
|
// Ponyfill
|
3139
3234
|
function(t) {
|
3140
|
-
return t.replace(
|
3235
|
+
return t.replace(di, "");
|
3141
3236
|
}
|
3142
3237
|
);
|
3143
|
-
function
|
3238
|
+
function Lr(e, t) {
|
3144
3239
|
return new RegExp(e, t);
|
3145
3240
|
}
|
3146
|
-
var
|
3147
|
-
if (
|
3148
|
-
var
|
3149
|
-
|
3241
|
+
var mt;
|
3242
|
+
if (dt) {
|
3243
|
+
var Zt = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3244
|
+
mt = function(t, r) {
|
3150
3245
|
var n;
|
3151
|
-
|
3152
|
-
var i =
|
3246
|
+
Zt.lastIndex = r;
|
3247
|
+
var i = Zt.exec(t);
|
3153
3248
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3154
3249
|
};
|
3155
3250
|
} else
|
3156
|
-
|
3251
|
+
mt = function(t, r) {
|
3157
3252
|
for (var n = []; ; ) {
|
3158
|
-
var i =
|
3159
|
-
if (i === void 0 ||
|
3253
|
+
var i = Or(t, r);
|
3254
|
+
if (i === void 0 || Nr(i) || Pi(i))
|
3160
3255
|
break;
|
3161
3256
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3162
3257
|
}
|
3163
|
-
return
|
3258
|
+
return pt.apply(void 0, n);
|
3164
3259
|
};
|
3165
|
-
var
|
3260
|
+
var Ti = (
|
3166
3261
|
/** @class */
|
3167
3262
|
function() {
|
3168
3263
|
function e(t, r) {
|
@@ -3187,13 +3282,13 @@ var yi = (
|
|
3187
3282
|
var a = this.clonePosition();
|
3188
3283
|
this.bump(), i.push({
|
3189
3284
|
type: B.pound,
|
3190
|
-
location:
|
3285
|
+
location: x(a, this.clonePosition())
|
3191
3286
|
});
|
3192
3287
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
3193
3288
|
if (n)
|
3194
3289
|
break;
|
3195
|
-
return this.error(
|
3196
|
-
} else if (o === 60 && !this.ignoreTag &&
|
3290
|
+
return this.error(_.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
|
3291
|
+
} else if (o === 60 && !this.ignoreTag && bt(this.peek() || 0)) {
|
3197
3292
|
var s = this.parseTag(t, r);
|
3198
3293
|
if (s.err)
|
3199
3294
|
return s;
|
@@ -3216,7 +3311,7 @@ var yi = (
|
|
3216
3311
|
val: {
|
3217
3312
|
type: B.literal,
|
3218
3313
|
value: "<".concat(i, "/>"),
|
3219
|
-
location:
|
3314
|
+
location: x(n, this.clonePosition())
|
3220
3315
|
},
|
3221
3316
|
err: null
|
3222
3317
|
};
|
@@ -3226,25 +3321,25 @@ var yi = (
|
|
3226
3321
|
return o;
|
3227
3322
|
var s = o.val, a = this.clonePosition();
|
3228
3323
|
if (this.bumpIf("</")) {
|
3229
|
-
if (this.isEOF() || !
|
3230
|
-
return this.error(
|
3324
|
+
if (this.isEOF() || !bt(this.char()))
|
3325
|
+
return this.error(_.INVALID_TAG, x(a, this.clonePosition()));
|
3231
3326
|
var u = this.clonePosition(), l = this.parseTagName();
|
3232
|
-
return i !== l ? this.error(
|
3327
|
+
return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, x(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
3233
3328
|
val: {
|
3234
3329
|
type: B.tag,
|
3235
3330
|
value: i,
|
3236
3331
|
children: s,
|
3237
|
-
location:
|
3332
|
+
location: x(n, this.clonePosition())
|
3238
3333
|
},
|
3239
3334
|
err: null
|
3240
|
-
} : this.error(
|
3335
|
+
} : this.error(_.INVALID_TAG, x(a, this.clonePosition())));
|
3241
3336
|
} else
|
3242
|
-
return this.error(
|
3337
|
+
return this.error(_.UNCLOSED_TAG, x(n, this.clonePosition()));
|
3243
3338
|
} else
|
3244
|
-
return this.error(
|
3339
|
+
return this.error(_.INVALID_TAG, x(n, this.clonePosition()));
|
3245
3340
|
}, e.prototype.parseTagName = function() {
|
3246
3341
|
var t = this.offset();
|
3247
|
-
for (this.bump(); !this.isEOF() &&
|
3342
|
+
for (this.bump(); !this.isEOF() && Ai(this.char()); )
|
3248
3343
|
this.bump();
|
3249
3344
|
return this.message.slice(t, this.offset());
|
3250
3345
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3266,14 +3361,14 @@ var yi = (
|
|
3266
3361
|
}
|
3267
3362
|
break;
|
3268
3363
|
}
|
3269
|
-
var u =
|
3364
|
+
var u = x(n, this.clonePosition());
|
3270
3365
|
return {
|
3271
3366
|
val: { type: B.literal, value: i, location: u },
|
3272
3367
|
err: null
|
3273
3368
|
};
|
3274
3369
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3275
3370
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3276
|
-
!
|
3371
|
+
!Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3277
3372
|
}, e.prototype.tryParseQuote = function(t) {
|
3278
3373
|
if (this.isEOF() || this.char() !== 39)
|
3279
3374
|
return null;
|
@@ -3307,23 +3402,23 @@ var yi = (
|
|
3307
3402
|
r.push(n);
|
3308
3403
|
this.bump();
|
3309
3404
|
}
|
3310
|
-
return
|
3405
|
+
return pt.apply(void 0, r);
|
3311
3406
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3312
3407
|
if (this.isEOF())
|
3313
3408
|
return null;
|
3314
3409
|
var n = this.char();
|
3315
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3410
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
|
3316
3411
|
}, e.prototype.parseArgument = function(t, r) {
|
3317
3412
|
var n = this.clonePosition();
|
3318
3413
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
3319
|
-
return this.error(
|
3414
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
|
3320
3415
|
if (this.char() === 125)
|
3321
|
-
return this.bump(), this.error(
|
3416
|
+
return this.bump(), this.error(_.EMPTY_ARGUMENT, x(n, this.clonePosition()));
|
3322
3417
|
var i = this.parseIdentifierIfPossible().value;
|
3323
3418
|
if (!i)
|
3324
|
-
return this.error(
|
3419
|
+
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
3325
3420
|
if (this.bumpSpace(), this.isEOF())
|
3326
|
-
return this.error(
|
3421
|
+
return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition()));
|
3327
3422
|
switch (this.char()) {
|
3328
3423
|
case 125:
|
3329
3424
|
return this.bump(), {
|
@@ -3331,25 +3426,25 @@ var yi = (
|
|
3331
3426
|
type: B.argument,
|
3332
3427
|
// value does not include the opening and closing braces.
|
3333
3428
|
value: i,
|
3334
|
-
location:
|
3429
|
+
location: x(n, this.clonePosition())
|
3335
3430
|
},
|
3336
3431
|
err: null
|
3337
3432
|
};
|
3338
3433
|
case 44:
|
3339
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(
|
3434
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
3340
3435
|
default:
|
3341
|
-
return this.error(
|
3436
|
+
return this.error(_.MALFORMED_ARGUMENT, x(n, this.clonePosition()));
|
3342
3437
|
}
|
3343
3438
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3344
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3439
|
+
var t = this.clonePosition(), r = this.offset(), n = mt(this.message, r), i = r + n.length;
|
3345
3440
|
this.bumpTo(i);
|
3346
|
-
var o = this.clonePosition(), s =
|
3441
|
+
var o = this.clonePosition(), s = x(t, o);
|
3347
3442
|
return { value: n, location: s };
|
3348
3443
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
3349
3444
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
3350
3445
|
switch (a) {
|
3351
3446
|
case "":
|
3352
|
-
return this.error(
|
3447
|
+
return this.error(_.EXPECT_ARGUMENT_TYPE, x(s, u));
|
3353
3448
|
case "number":
|
3354
3449
|
case "date":
|
3355
3450
|
case "time": {
|
@@ -3357,40 +3452,40 @@ var yi = (
|
|
3357
3452
|
var l = null;
|
3358
3453
|
if (this.bumpIf(",")) {
|
3359
3454
|
this.bumpSpace();
|
3360
|
-
var h = this.clonePosition(),
|
3361
|
-
if (
|
3362
|
-
return
|
3363
|
-
var
|
3364
|
-
if (
|
3365
|
-
return this.error(
|
3366
|
-
var
|
3367
|
-
l = { style:
|
3455
|
+
var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
|
3456
|
+
if (d.err)
|
3457
|
+
return d;
|
3458
|
+
var f = Si(d.val);
|
3459
|
+
if (f.length === 0)
|
3460
|
+
return this.error(_.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
|
3461
|
+
var p = x(h, this.clonePosition());
|
3462
|
+
l = { style: f, styleLocation: p };
|
3368
3463
|
}
|
3369
3464
|
var g = this.tryParseArgumentClose(i);
|
3370
3465
|
if (g.err)
|
3371
3466
|
return g;
|
3372
|
-
var b =
|
3373
|
-
if (l &&
|
3374
|
-
var
|
3467
|
+
var b = x(i, this.clonePosition());
|
3468
|
+
if (l && Wt(l == null ? void 0 : l.style, "::", 0)) {
|
3469
|
+
var S = wi(l.style.slice(2));
|
3375
3470
|
if (a === "number") {
|
3376
|
-
var
|
3377
|
-
return
|
3378
|
-
val: { type: B.number, value: n, location: b, style:
|
3471
|
+
var d = this.parseNumberSkeletonFromString(S, l.styleLocation);
|
3472
|
+
return d.err ? d : {
|
3473
|
+
val: { type: B.number, value: n, location: b, style: d.val },
|
3379
3474
|
err: null
|
3380
3475
|
};
|
3381
3476
|
} else {
|
3382
|
-
if (
|
3383
|
-
return this.error(
|
3384
|
-
var
|
3385
|
-
this.locale && (
|
3386
|
-
var
|
3387
|
-
type:
|
3388
|
-
pattern:
|
3477
|
+
if (S.length === 0)
|
3478
|
+
return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
|
3479
|
+
var H = S;
|
3480
|
+
this.locale && (H = hi(S, this.locale));
|
3481
|
+
var f = {
|
3482
|
+
type: be.dateTime,
|
3483
|
+
pattern: H,
|
3389
3484
|
location: l.styleLocation,
|
3390
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3391
|
-
},
|
3485
|
+
parsedOptions: this.shouldParseSkeletons ? ni(H) : {}
|
3486
|
+
}, E = a === "date" ? B.date : B.time;
|
3392
3487
|
return {
|
3393
|
-
val: { type:
|
3488
|
+
val: { type: E, value: n, location: b, style: f },
|
3394
3489
|
err: null
|
3395
3490
|
};
|
3396
3491
|
}
|
@@ -3408,52 +3503,52 @@ var yi = (
|
|
3408
3503
|
case "plural":
|
3409
3504
|
case "selectordinal":
|
3410
3505
|
case "select": {
|
3411
|
-
var
|
3506
|
+
var m = this.clonePosition();
|
3412
3507
|
if (this.bumpSpace(), !this.bumpIf(","))
|
3413
|
-
return this.error(
|
3508
|
+
return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, x(m, w({}, m)));
|
3414
3509
|
this.bumpSpace();
|
3415
|
-
var
|
3416
|
-
if (a !== "select" &&
|
3510
|
+
var O = this.parseIdentifierIfPossible(), L = 0;
|
3511
|
+
if (a !== "select" && O.value === "offset") {
|
3417
3512
|
if (!this.bumpIf(":"))
|
3418
|
-
return this.error(
|
3513
|
+
return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
|
3419
3514
|
this.bumpSpace();
|
3420
|
-
var
|
3421
|
-
if (
|
3422
|
-
return
|
3423
|
-
this.bumpSpace(),
|
3515
|
+
var d = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3516
|
+
if (d.err)
|
3517
|
+
return d;
|
3518
|
+
this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = d.val;
|
3424
3519
|
}
|
3425
|
-
var
|
3426
|
-
if (
|
3427
|
-
return
|
3520
|
+
var D = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
3521
|
+
if (D.err)
|
3522
|
+
return D;
|
3428
3523
|
var g = this.tryParseArgumentClose(i);
|
3429
3524
|
if (g.err)
|
3430
3525
|
return g;
|
3431
|
-
var
|
3526
|
+
var A = x(i, this.clonePosition());
|
3432
3527
|
return a === "select" ? {
|
3433
3528
|
val: {
|
3434
3529
|
type: B.select,
|
3435
3530
|
value: n,
|
3436
|
-
options:
|
3437
|
-
location:
|
3531
|
+
options: zt(D.val),
|
3532
|
+
location: A
|
3438
3533
|
},
|
3439
3534
|
err: null
|
3440
3535
|
} : {
|
3441
3536
|
val: {
|
3442
3537
|
type: B.plural,
|
3443
3538
|
value: n,
|
3444
|
-
options:
|
3445
|
-
offset:
|
3539
|
+
options: zt(D.val),
|
3540
|
+
offset: L,
|
3446
3541
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3447
|
-
location:
|
3542
|
+
location: A
|
3448
3543
|
},
|
3449
3544
|
err: null
|
3450
3545
|
};
|
3451
3546
|
}
|
3452
3547
|
default:
|
3453
|
-
return this.error(
|
3548
|
+
return this.error(_.INVALID_ARGUMENT_TYPE, x(s, u));
|
3454
3549
|
}
|
3455
3550
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
3456
|
-
return this.isEOF() || this.char() !== 125 ? this.error(
|
3551
|
+
return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
3457
3552
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
3458
3553
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
3459
3554
|
var n = this.char();
|
@@ -3462,7 +3557,7 @@ var yi = (
|
|
3462
3557
|
this.bump();
|
3463
3558
|
var i = this.clonePosition();
|
3464
3559
|
if (!this.bumpUntil("'"))
|
3465
|
-
return this.error(
|
3560
|
+
return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(i, this.clonePosition()));
|
3466
3561
|
this.bump();
|
3467
3562
|
break;
|
3468
3563
|
}
|
@@ -3492,52 +3587,52 @@ var yi = (
|
|
3492
3587
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3493
3588
|
var n = [];
|
3494
3589
|
try {
|
3495
|
-
n =
|
3590
|
+
n = oi(t);
|
3496
3591
|
} catch (i) {
|
3497
|
-
return this.error(
|
3592
|
+
return this.error(_.INVALID_NUMBER_SKELETON, r);
|
3498
3593
|
}
|
3499
3594
|
return {
|
3500
3595
|
val: {
|
3501
|
-
type:
|
3596
|
+
type: be.number,
|
3502
3597
|
tokens: n,
|
3503
3598
|
location: r,
|
3504
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3599
|
+
parsedOptions: this.shouldParseSkeletons ? ui(n) : {}
|
3505
3600
|
},
|
3506
3601
|
err: null
|
3507
3602
|
};
|
3508
3603
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
3509
3604
|
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
|
3510
3605
|
if (l.length === 0) {
|
3511
|
-
var
|
3606
|
+
var d = this.clonePosition();
|
3512
3607
|
if (r !== "select" && this.bumpIf("=")) {
|
3513
|
-
var
|
3514
|
-
if (
|
3515
|
-
return
|
3516
|
-
h =
|
3608
|
+
var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3609
|
+
if (f.err)
|
3610
|
+
return f;
|
3611
|
+
h = x(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
|
3517
3612
|
} else
|
3518
3613
|
break;
|
3519
3614
|
}
|
3520
3615
|
if (u.has(l))
|
3521
|
-
return this.error(r === "select" ?
|
3616
|
+
return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
3522
3617
|
l === "other" && (s = !0), this.bumpSpace();
|
3523
|
-
var
|
3618
|
+
var p = this.clonePosition();
|
3524
3619
|
if (!this.bumpIf("{"))
|
3525
|
-
return this.error(r === "select" ?
|
3620
|
+
return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
|
3526
3621
|
var g = this.parseMessage(t + 1, r, n);
|
3527
3622
|
if (g.err)
|
3528
3623
|
return g;
|
3529
|
-
var b = this.tryParseArgumentClose(
|
3624
|
+
var b = this.tryParseArgumentClose(p);
|
3530
3625
|
if (b.err)
|
3531
3626
|
return b;
|
3532
3627
|
a.push([
|
3533
3628
|
l,
|
3534
3629
|
{
|
3535
3630
|
value: g.val,
|
3536
|
-
location:
|
3631
|
+
location: x(p, this.clonePosition())
|
3537
3632
|
}
|
3538
3633
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
|
3539
3634
|
}
|
3540
|
-
return a.length === 0 ? this.error(r === "select" ?
|
3635
|
+
return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(_.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
3541
3636
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3542
3637
|
var n = 1, i = this.clonePosition();
|
3543
3638
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
@@ -3548,8 +3643,8 @@ var yi = (
|
|
3548
3643
|
else
|
3549
3644
|
break;
|
3550
3645
|
}
|
3551
|
-
var u =
|
3552
|
-
return o ? (s *= n,
|
3646
|
+
var u = x(i, this.clonePosition());
|
3647
|
+
return o ? (s *= n, xi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
3553
3648
|
}, e.prototype.offset = function() {
|
3554
3649
|
return this.position.offset;
|
3555
3650
|
}, e.prototype.isEOF = function() {
|
@@ -3564,7 +3659,7 @@ var yi = (
|
|
3564
3659
|
var t = this.position.offset;
|
3565
3660
|
if (t >= this.message.length)
|
3566
3661
|
throw Error("out of bound");
|
3567
|
-
var r =
|
3662
|
+
var r = Or(this.message, t);
|
3568
3663
|
if (r === void 0)
|
3569
3664
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3570
3665
|
return r;
|
@@ -3583,7 +3678,7 @@ var yi = (
|
|
3583
3678
|
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);
|
3584
3679
|
}
|
3585
3680
|
}, e.prototype.bumpIf = function(t) {
|
3586
|
-
if (
|
3681
|
+
if (Wt(this.message, t, this.offset())) {
|
3587
3682
|
for (var r = 0; r < t.length; r++)
|
3588
3683
|
this.bump();
|
3589
3684
|
return !0;
|
@@ -3605,7 +3700,7 @@ var yi = (
|
|
3605
3700
|
break;
|
3606
3701
|
}
|
3607
3702
|
}, e.prototype.bumpSpace = function() {
|
3608
|
-
for (; !this.isEOF() &&
|
3703
|
+
for (; !this.isEOF() && Nr(this.char()); )
|
3609
3704
|
this.bump();
|
3610
3705
|
}, e.prototype.peek = function() {
|
3611
3706
|
if (this.isEOF())
|
@@ -3615,44 +3710,44 @@ var yi = (
|
|
3615
3710
|
}, e;
|
3616
3711
|
}()
|
3617
3712
|
);
|
3618
|
-
function
|
3713
|
+
function bt(e) {
|
3619
3714
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3620
3715
|
}
|
3621
|
-
function
|
3622
|
-
return
|
3716
|
+
function Hi(e) {
|
3717
|
+
return bt(e) || e === 47;
|
3623
3718
|
}
|
3624
|
-
function
|
3719
|
+
function Ai(e) {
|
3625
3720
|
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;
|
3626
3721
|
}
|
3627
|
-
function
|
3722
|
+
function Nr(e) {
|
3628
3723
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3629
3724
|
}
|
3630
|
-
function
|
3725
|
+
function Pi(e) {
|
3631
3726
|
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;
|
3632
3727
|
}
|
3633
|
-
function
|
3728
|
+
function gt(e) {
|
3634
3729
|
e.forEach(function(t) {
|
3635
|
-
if (delete t.location,
|
3730
|
+
if (delete t.location, Tr(t) || Hr(t))
|
3636
3731
|
for (var r in t.options)
|
3637
|
-
delete t.options[r].location,
|
3732
|
+
delete t.options[r].location, gt(t.options[r].value);
|
3638
3733
|
else
|
3639
|
-
|
3734
|
+
Er(t) && Pr(t.style) || (wr(t) || Sr(t)) && ft(t.style) ? delete t.style.location : Ar(t) && gt(t.children);
|
3640
3735
|
});
|
3641
3736
|
}
|
3642
|
-
function
|
3643
|
-
t === void 0 && (t = {}), t =
|
3644
|
-
var r = new
|
3737
|
+
function Ci(e, t) {
|
3738
|
+
t === void 0 && (t = {}), t = w({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3739
|
+
var r = new Ti(e, t).parse();
|
3645
3740
|
if (r.err) {
|
3646
|
-
var n = SyntaxError(
|
3741
|
+
var n = SyntaxError(_[r.err.kind]);
|
3647
3742
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3648
3743
|
}
|
3649
|
-
return t != null && t.captureLocation ||
|
3744
|
+
return t != null && t.captureLocation || gt(r.val), r.val;
|
3650
3745
|
}
|
3651
|
-
var
|
3746
|
+
var ge;
|
3652
3747
|
(function(e) {
|
3653
3748
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3654
|
-
})(
|
3655
|
-
var
|
3749
|
+
})(ge || (ge = {}));
|
3750
|
+
var Ve = (
|
3656
3751
|
/** @class */
|
3657
3752
|
function(e) {
|
3658
3753
|
Q(t, e);
|
@@ -3664,155 +3759,155 @@ var ke = (
|
|
3664
3759
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3665
3760
|
}, t;
|
3666
3761
|
}(Error)
|
3667
|
-
),
|
3762
|
+
), Jt = (
|
3668
3763
|
/** @class */
|
3669
3764
|
function(e) {
|
3670
3765
|
Q(t, e);
|
3671
3766
|
function t(r, n, i, o) {
|
3672
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
3767
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ge.INVALID_VALUE, o) || this;
|
3673
3768
|
}
|
3674
3769
|
return t;
|
3675
|
-
}(
|
3676
|
-
),
|
3770
|
+
}(Ve)
|
3771
|
+
), Fi = (
|
3677
3772
|
/** @class */
|
3678
3773
|
function(e) {
|
3679
3774
|
Q(t, e);
|
3680
3775
|
function t(r, n, i) {
|
3681
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
3776
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ge.INVALID_VALUE, i) || this;
|
3682
3777
|
}
|
3683
3778
|
return t;
|
3684
|
-
}(
|
3685
|
-
),
|
3779
|
+
}(Ve)
|
3780
|
+
), Bi = (
|
3686
3781
|
/** @class */
|
3687
3782
|
function(e) {
|
3688
3783
|
Q(t, e);
|
3689
3784
|
function t(r, n) {
|
3690
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
3785
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ge.MISSING_VALUE, n) || this;
|
3691
3786
|
}
|
3692
3787
|
return t;
|
3693
|
-
}(
|
3694
|
-
),
|
3788
|
+
}(Ve)
|
3789
|
+
), U;
|
3695
3790
|
(function(e) {
|
3696
3791
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3697
|
-
})(
|
3698
|
-
function
|
3792
|
+
})(U || (U = {}));
|
3793
|
+
function Ii(e) {
|
3699
3794
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3700
3795
|
var n = t[t.length - 1];
|
3701
|
-
return !n || n.type !==
|
3796
|
+
return !n || n.type !== U.literal || r.type !== U.literal ? t.push(r) : n.value += r.value, t;
|
3702
3797
|
}, []);
|
3703
3798
|
}
|
3704
|
-
function
|
3799
|
+
function Oi(e) {
|
3705
3800
|
return typeof e == "function";
|
3706
3801
|
}
|
3707
|
-
function
|
3708
|
-
if (e.length === 1 &&
|
3802
|
+
function Me(e, t, r, n, i, o, s) {
|
3803
|
+
if (e.length === 1 && kt(e[0]))
|
3709
3804
|
return [
|
3710
3805
|
{
|
3711
|
-
type:
|
3806
|
+
type: U.literal,
|
3712
3807
|
value: e[0].value
|
3713
3808
|
}
|
3714
3809
|
];
|
3715
3810
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
3716
3811
|
var h = l[u];
|
3717
|
-
if (
|
3812
|
+
if (kt(h)) {
|
3718
3813
|
a.push({
|
3719
|
-
type:
|
3814
|
+
type: U.literal,
|
3720
3815
|
value: h.value
|
3721
3816
|
});
|
3722
3817
|
continue;
|
3723
3818
|
}
|
3724
|
-
if (
|
3819
|
+
if (ti(h)) {
|
3725
3820
|
typeof o == "number" && a.push({
|
3726
|
-
type:
|
3821
|
+
type: U.literal,
|
3727
3822
|
value: r.getNumberFormat(t).format(o)
|
3728
3823
|
});
|
3729
3824
|
continue;
|
3730
3825
|
}
|
3731
|
-
var
|
3732
|
-
if (!(i &&
|
3733
|
-
throw new
|
3734
|
-
var
|
3735
|
-
if (
|
3736
|
-
(!
|
3737
|
-
type: typeof
|
3738
|
-
value:
|
3826
|
+
var d = h.value;
|
3827
|
+
if (!(i && d in i))
|
3828
|
+
throw new Bi(d, s);
|
3829
|
+
var f = i[d];
|
3830
|
+
if (ei(h)) {
|
3831
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
3832
|
+
type: typeof f == "string" ? U.literal : U.object,
|
3833
|
+
value: f
|
3739
3834
|
});
|
3740
3835
|
continue;
|
3741
3836
|
}
|
3742
|
-
if (
|
3743
|
-
var
|
3837
|
+
if (wr(h)) {
|
3838
|
+
var p = typeof h.style == "string" ? n.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
|
3744
3839
|
a.push({
|
3745
|
-
type:
|
3746
|
-
value: r.getDateTimeFormat(t,
|
3840
|
+
type: U.literal,
|
3841
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
3747
3842
|
});
|
3748
3843
|
continue;
|
3749
3844
|
}
|
3750
|
-
if (
|
3751
|
-
var
|
3845
|
+
if (Sr(h)) {
|
3846
|
+
var p = typeof h.style == "string" ? n.time[h.style] : ft(h.style) ? h.style.parsedOptions : n.time.medium;
|
3752
3847
|
a.push({
|
3753
|
-
type:
|
3754
|
-
value: r.getDateTimeFormat(t,
|
3848
|
+
type: U.literal,
|
3849
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
3755
3850
|
});
|
3756
3851
|
continue;
|
3757
3852
|
}
|
3758
|
-
if (
|
3759
|
-
var
|
3760
|
-
|
3761
|
-
type:
|
3762
|
-
value: r.getNumberFormat(t,
|
3853
|
+
if (Er(h)) {
|
3854
|
+
var p = typeof h.style == "string" ? n.number[h.style] : Pr(h.style) ? h.style.parsedOptions : void 0;
|
3855
|
+
p && p.scale && (f = f * (p.scale || 1)), a.push({
|
3856
|
+
type: U.literal,
|
3857
|
+
value: r.getNumberFormat(t, p).format(f)
|
3763
3858
|
});
|
3764
3859
|
continue;
|
3765
3860
|
}
|
3766
|
-
if (
|
3767
|
-
var g = h.children, b = h.value,
|
3768
|
-
if (!
|
3769
|
-
throw new
|
3770
|
-
var
|
3771
|
-
return
|
3861
|
+
if (Ar(h)) {
|
3862
|
+
var g = h.children, b = h.value, S = i[b];
|
3863
|
+
if (!Oi(S))
|
3864
|
+
throw new Fi(b, "function", s);
|
3865
|
+
var H = Me(g, t, r, n, i, o), E = S(H.map(function(L) {
|
3866
|
+
return L.value;
|
3772
3867
|
}));
|
3773
|
-
Array.isArray(
|
3868
|
+
Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(L) {
|
3774
3869
|
return {
|
3775
|
-
type: typeof
|
3776
|
-
value:
|
3870
|
+
type: typeof L == "string" ? U.literal : U.object,
|
3871
|
+
value: L
|
3777
3872
|
};
|
3778
3873
|
}));
|
3779
3874
|
}
|
3780
|
-
if (
|
3781
|
-
var
|
3782
|
-
if (!
|
3783
|
-
throw new
|
3784
|
-
a.push.apply(a,
|
3875
|
+
if (Tr(h)) {
|
3876
|
+
var m = h.options[f] || h.options.other;
|
3877
|
+
if (!m)
|
3878
|
+
throw new Jt(h.value, f, Object.keys(h.options), s);
|
3879
|
+
a.push.apply(a, Me(m.value, t, r, n, i));
|
3785
3880
|
continue;
|
3786
3881
|
}
|
3787
|
-
if (
|
3788
|
-
var
|
3789
|
-
if (!
|
3882
|
+
if (Hr(h)) {
|
3883
|
+
var m = h.options["=".concat(f)];
|
3884
|
+
if (!m) {
|
3790
3885
|
if (!Intl.PluralRules)
|
3791
|
-
throw new
|
3886
|
+
throw new Ve(`Intl.PluralRules is not available in this environment.
|
3792
3887
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3793
|
-
`,
|
3794
|
-
var
|
3795
|
-
|
3888
|
+
`, ge.MISSING_INTL_API, s);
|
3889
|
+
var O = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
3890
|
+
m = h.options[O] || h.options.other;
|
3796
3891
|
}
|
3797
|
-
if (!
|
3798
|
-
throw new
|
3799
|
-
a.push.apply(a,
|
3892
|
+
if (!m)
|
3893
|
+
throw new Jt(h.value, f, Object.keys(h.options), s);
|
3894
|
+
a.push.apply(a, Me(m.value, t, r, n, i, f - (h.offset || 0)));
|
3800
3895
|
continue;
|
3801
3896
|
}
|
3802
3897
|
}
|
3803
|
-
return
|
3898
|
+
return Ii(a);
|
3804
3899
|
}
|
3805
|
-
function
|
3806
|
-
return t ?
|
3807
|
-
return r[n] =
|
3900
|
+
function Li(e, t) {
|
3901
|
+
return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3902
|
+
return r[n] = w(w({}, e[n]), t[n] || {}), r;
|
3808
3903
|
}, {})) : e;
|
3809
3904
|
}
|
3810
|
-
function
|
3905
|
+
function Ni(e, t) {
|
3811
3906
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3812
|
-
return r[n] =
|
3813
|
-
},
|
3907
|
+
return r[n] = Li(e[n], t[n]), r;
|
3908
|
+
}, w({}, e)) : e;
|
3814
3909
|
}
|
3815
|
-
function
|
3910
|
+
function rt(e) {
|
3816
3911
|
return {
|
3817
3912
|
create: function() {
|
3818
3913
|
return {
|
@@ -3826,39 +3921,39 @@ function Ye(e) {
|
|
3826
3921
|
}
|
3827
3922
|
};
|
3828
3923
|
}
|
3829
|
-
function
|
3924
|
+
function Mi(e) {
|
3830
3925
|
return e === void 0 && (e = {
|
3831
3926
|
number: {},
|
3832
3927
|
dateTime: {},
|
3833
3928
|
pluralRules: {}
|
3834
3929
|
}), {
|
3835
|
-
getNumberFormat:
|
3930
|
+
getNumberFormat: Ke(function() {
|
3836
3931
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3837
3932
|
r[n] = arguments[n];
|
3838
3933
|
return new ((t = Intl.NumberFormat).bind.apply(t, pe([void 0], r, !1)))();
|
3839
3934
|
}, {
|
3840
|
-
cache:
|
3841
|
-
strategy:
|
3935
|
+
cache: rt(e.number),
|
3936
|
+
strategy: et.variadic
|
3842
3937
|
}),
|
3843
|
-
getDateTimeFormat:
|
3938
|
+
getDateTimeFormat: Ke(function() {
|
3844
3939
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3845
3940
|
r[n] = arguments[n];
|
3846
3941
|
return new ((t = Intl.DateTimeFormat).bind.apply(t, pe([void 0], r, !1)))();
|
3847
3942
|
}, {
|
3848
|
-
cache:
|
3849
|
-
strategy:
|
3943
|
+
cache: rt(e.dateTime),
|
3944
|
+
strategy: et.variadic
|
3850
3945
|
}),
|
3851
|
-
getPluralRules:
|
3946
|
+
getPluralRules: Ke(function() {
|
3852
3947
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3853
3948
|
r[n] = arguments[n];
|
3854
3949
|
return new ((t = Intl.PluralRules).bind.apply(t, pe([void 0], r, !1)))();
|
3855
3950
|
}, {
|
3856
|
-
cache:
|
3857
|
-
strategy:
|
3951
|
+
cache: rt(e.pluralRules),
|
3952
|
+
strategy: et.variadic
|
3858
3953
|
})
|
3859
3954
|
};
|
3860
3955
|
}
|
3861
|
-
var
|
3956
|
+
var Ri = (
|
3862
3957
|
/** @class */
|
3863
3958
|
function() {
|
3864
3959
|
function e(t, r, n, i) {
|
@@ -3872,12 +3967,12 @@ var Bi = (
|
|
3872
3967
|
var l = o.formatToParts(u);
|
3873
3968
|
if (l.length === 1)
|
3874
3969
|
return l[0].value;
|
3875
|
-
var h = l.reduce(function(
|
3876
|
-
return !
|
3970
|
+
var h = l.reduce(function(d, f) {
|
3971
|
+
return !d.length || f.type !== U.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
|
3877
3972
|
}, []);
|
3878
3973
|
return h.length <= 1 ? h[0] || "" : h;
|
3879
3974
|
}, this.formatToParts = function(u) {
|
3880
|
-
return
|
3975
|
+
return Me(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
3881
3976
|
}, this.resolvedOptions = function() {
|
3882
3977
|
var u;
|
3883
3978
|
return {
|
@@ -3890,13 +3985,13 @@ var Bi = (
|
|
3890
3985
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3891
3986
|
var s = i || {};
|
3892
3987
|
s.formatters;
|
3893
|
-
var a =
|
3894
|
-
this.ast = e.__parse(t,
|
3988
|
+
var a = bn(s, ["formatters"]);
|
3989
|
+
this.ast = e.__parse(t, w(w({}, a), { locale: this.resolvedLocale }));
|
3895
3990
|
} else
|
3896
3991
|
this.ast = t;
|
3897
3992
|
if (!Array.isArray(this.ast))
|
3898
3993
|
throw new TypeError("A message must be provided as a String or AST.");
|
3899
|
-
this.formats =
|
3994
|
+
this.formats = Ni(e.formats, n), this.formatters = i && i.formatters || Mi(this.formatterCache);
|
3900
3995
|
}
|
3901
3996
|
return Object.defineProperty(e, "defaultLocale", {
|
3902
3997
|
get: function() {
|
@@ -3909,7 +4004,7 @@ var Bi = (
|
|
3909
4004
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3910
4005
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3911
4006
|
}
|
3912
|
-
}, e.__parse =
|
4007
|
+
}, e.__parse = Ci, e.formats = {
|
3913
4008
|
number: {
|
3914
4009
|
integer: {
|
3915
4010
|
maximumFractionDigits: 0
|
@@ -3970,7 +4065,7 @@ var Bi = (
|
|
3970
4065
|
}, e;
|
3971
4066
|
}()
|
3972
4067
|
);
|
3973
|
-
function
|
4068
|
+
function Di(e, t) {
|
3974
4069
|
if (t == null)
|
3975
4070
|
return;
|
3976
4071
|
if (t in e)
|
@@ -3991,92 +4086,92 @@ function Oi(e, t) {
|
|
3991
4086
|
n = void 0;
|
3992
4087
|
return n;
|
3993
4088
|
}
|
3994
|
-
const
|
4089
|
+
const Y = {}, Ui = (e, t, r) => r && (t in Y || (Y[t] = {}), e in Y[t] || (Y[t][e] = r), r), Mr = (e, t) => {
|
3995
4090
|
if (t == null)
|
3996
4091
|
return;
|
3997
|
-
if (t in
|
3998
|
-
return
|
3999
|
-
const r =
|
4092
|
+
if (t in Y && e in Y[t])
|
4093
|
+
return Y[t][e];
|
4094
|
+
const r = Xe(t);
|
4000
4095
|
for (let n = 0; n < r.length; n++) {
|
4001
|
-
const i = r[n], o =
|
4096
|
+
const i = r[n], o = Gi(i, e);
|
4002
4097
|
if (o)
|
4003
|
-
return
|
4098
|
+
return Ui(e, t, o);
|
4004
4099
|
}
|
4005
4100
|
};
|
4006
|
-
let
|
4007
|
-
const
|
4008
|
-
function
|
4009
|
-
return
|
4101
|
+
let Et;
|
4102
|
+
const _e = je({});
|
4103
|
+
function $i(e) {
|
4104
|
+
return Et[e] || null;
|
4010
4105
|
}
|
4011
|
-
function
|
4012
|
-
return e in
|
4106
|
+
function Rr(e) {
|
4107
|
+
return e in Et;
|
4013
4108
|
}
|
4014
|
-
function
|
4015
|
-
if (!
|
4109
|
+
function Gi(e, t) {
|
4110
|
+
if (!Rr(e))
|
4016
4111
|
return null;
|
4017
|
-
const r =
|
4018
|
-
return
|
4112
|
+
const r = $i(e);
|
4113
|
+
return Di(r, t);
|
4019
4114
|
}
|
4020
|
-
function
|
4115
|
+
function ki(e) {
|
4021
4116
|
if (e == null)
|
4022
4117
|
return;
|
4023
|
-
const t =
|
4118
|
+
const t = Xe(e);
|
4024
4119
|
for (let r = 0; r < t.length; r++) {
|
4025
4120
|
const n = t[r];
|
4026
|
-
if (
|
4121
|
+
if (Rr(n))
|
4027
4122
|
return n;
|
4028
4123
|
}
|
4029
4124
|
}
|
4030
|
-
function
|
4031
|
-
delete
|
4125
|
+
function Dr(e, ...t) {
|
4126
|
+
delete Y[e], _e.update((r) => (r[e] = zn.all([r[e] || {}, ...t]), r));
|
4032
4127
|
}
|
4033
4128
|
ve(
|
4034
|
-
[
|
4129
|
+
[_e],
|
4035
4130
|
([e]) => Object.keys(e)
|
4036
4131
|
);
|
4037
|
-
|
4038
|
-
const
|
4039
|
-
function
|
4040
|
-
|
4132
|
+
_e.subscribe((e) => Et = e);
|
4133
|
+
const Re = {};
|
4134
|
+
function ji(e, t) {
|
4135
|
+
Re[e].delete(t), Re[e].size === 0 && delete Re[e];
|
4041
4136
|
}
|
4042
|
-
function
|
4043
|
-
return
|
4137
|
+
function Ur(e) {
|
4138
|
+
return Re[e];
|
4044
4139
|
}
|
4045
|
-
function
|
4046
|
-
return
|
4047
|
-
const r =
|
4140
|
+
function Vi(e) {
|
4141
|
+
return Xe(e).map((t) => {
|
4142
|
+
const r = Ur(t);
|
4048
4143
|
return [t, r ? [...r] : []];
|
4049
4144
|
}).filter(([, t]) => t.length > 0);
|
4050
4145
|
}
|
4051
|
-
function
|
4052
|
-
return e == null ? !1 :
|
4146
|
+
function yt(e) {
|
4147
|
+
return e == null ? !1 : Xe(e).some(
|
4053
4148
|
(t) => {
|
4054
4149
|
var r;
|
4055
|
-
return (r =
|
4150
|
+
return (r = Ur(t)) == null ? void 0 : r.size;
|
4056
4151
|
}
|
4057
4152
|
);
|
4058
4153
|
}
|
4059
|
-
function
|
4154
|
+
function Xi(e, t) {
|
4060
4155
|
return Promise.all(
|
4061
|
-
t.map((n) => (
|
4062
|
-
).then((n) =>
|
4063
|
-
}
|
4064
|
-
const
|
4065
|
-
function
|
4066
|
-
if (!
|
4067
|
-
return e in
|
4068
|
-
const t =
|
4069
|
-
return
|
4156
|
+
t.map((n) => (ji(e, n), n().then((i) => i.default || i)))
|
4157
|
+
).then((n) => Dr(e, ...n));
|
4158
|
+
}
|
4159
|
+
const we = {};
|
4160
|
+
function $r(e) {
|
4161
|
+
if (!yt(e))
|
4162
|
+
return e in we ? we[e] : Promise.resolve();
|
4163
|
+
const t = Vi(e);
|
4164
|
+
return we[e] = Promise.all(
|
4070
4165
|
t.map(
|
4071
|
-
([r, n]) =>
|
4166
|
+
([r, n]) => Xi(r, n)
|
4072
4167
|
)
|
4073
4168
|
).then(() => {
|
4074
|
-
if (
|
4075
|
-
return
|
4076
|
-
delete
|
4077
|
-
}),
|
4169
|
+
if (yt(e))
|
4170
|
+
return $r(e);
|
4171
|
+
delete we[e];
|
4172
|
+
}), we[e];
|
4078
4173
|
}
|
4079
|
-
const
|
4174
|
+
const Wi = {
|
4080
4175
|
number: {
|
4081
4176
|
scientific: { notation: "scientific" },
|
4082
4177
|
engineering: { notation: "engineering" },
|
@@ -4105,135 +4200,135 @@ const Ui = {
|
|
4105
4200
|
timeZoneName: "short"
|
4106
4201
|
}
|
4107
4202
|
}
|
4108
|
-
},
|
4203
|
+
}, zi = {
|
4109
4204
|
fallbackLocale: null,
|
4110
4205
|
loadingDelay: 200,
|
4111
|
-
formats:
|
4206
|
+
formats: Wi,
|
4112
4207
|
warnOnMissingMessages: !0,
|
4113
4208
|
handleMissingMessage: void 0,
|
4114
4209
|
ignoreTag: !0
|
4115
|
-
},
|
4116
|
-
function
|
4117
|
-
return
|
4210
|
+
}, Zi = zi;
|
4211
|
+
function ye() {
|
4212
|
+
return Zi;
|
4118
4213
|
}
|
4119
|
-
const
|
4120
|
-
var
|
4214
|
+
const nt = je(!1);
|
4215
|
+
var Ji = Object.defineProperty, Qi = Object.defineProperties, qi = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, Yi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, eo = (e, t) => {
|
4121
4216
|
for (var r in t || (t = {}))
|
4122
|
-
|
4123
|
-
if (
|
4124
|
-
for (var r of
|
4125
|
-
|
4217
|
+
Yi.call(t, r) && qt(e, r, t[r]);
|
4218
|
+
if (Qt)
|
4219
|
+
for (var r of Qt(t))
|
4220
|
+
Ki.call(t, r) && qt(e, r, t[r]);
|
4126
4221
|
return e;
|
4127
|
-
},
|
4128
|
-
let
|
4129
|
-
const
|
4130
|
-
function
|
4222
|
+
}, to = (e, t) => Qi(e, qi(t));
|
4223
|
+
let vt;
|
4224
|
+
const Ue = je(null);
|
4225
|
+
function Yt(e) {
|
4131
4226
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4132
4227
|
}
|
4133
|
-
function
|
4134
|
-
const r =
|
4135
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
4228
|
+
function Xe(e, t = ye().fallbackLocale) {
|
4229
|
+
const r = Yt(e);
|
4230
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Yt(t)])] : r;
|
4136
4231
|
}
|
4137
4232
|
function oe() {
|
4138
|
-
return
|
4233
|
+
return vt != null ? vt : void 0;
|
4139
4234
|
}
|
4140
|
-
|
4141
|
-
|
4235
|
+
Ue.subscribe((e) => {
|
4236
|
+
vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
4142
4237
|
});
|
4143
|
-
const
|
4144
|
-
if (e &&
|
4145
|
-
const { loadingDelay: t } =
|
4238
|
+
const ro = (e) => {
|
4239
|
+
if (e && ki(e) && yt(e)) {
|
4240
|
+
const { loadingDelay: t } = ye();
|
4146
4241
|
let r;
|
4147
4242
|
return typeof window != "undefined" && oe() != null && t ? r = window.setTimeout(
|
4148
|
-
() =>
|
4243
|
+
() => nt.set(!0),
|
4149
4244
|
t
|
4150
|
-
) :
|
4151
|
-
|
4245
|
+
) : nt.set(!0), $r(e).then(() => {
|
4246
|
+
Ue.set(e);
|
4152
4247
|
}).finally(() => {
|
4153
|
-
clearTimeout(r),
|
4248
|
+
clearTimeout(r), nt.set(!1);
|
4154
4249
|
});
|
4155
4250
|
}
|
4156
|
-
return
|
4157
|
-
}, ie =
|
4158
|
-
set:
|
4159
|
-
}),
|
4251
|
+
return Ue.set(e);
|
4252
|
+
}, ie = to(eo({}, Ue), {
|
4253
|
+
set: ro
|
4254
|
+
}), We = (e) => {
|
4160
4255
|
const t = /* @__PURE__ */ Object.create(null);
|
4161
4256
|
return (n) => {
|
4162
4257
|
const i = JSON.stringify(n);
|
4163
4258
|
return i in t ? t[i] : t[i] = e(n);
|
4164
4259
|
};
|
4165
4260
|
};
|
4166
|
-
var
|
4261
|
+
var no = Object.defineProperty, $e = Object.getOwnPropertySymbols, Gr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable, Kt = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
|
4167
4262
|
for (var r in t || (t = {}))
|
4168
|
-
|
4263
|
+
Gr.call(t, r) && Kt(e, r, t[r]);
|
4169
4264
|
if ($e)
|
4170
4265
|
for (var r of $e(t))
|
4171
|
-
|
4266
|
+
kr.call(t, r) && Kt(e, r, t[r]);
|
4172
4267
|
return e;
|
4173
|
-
},
|
4268
|
+
}, xe = (e, t) => {
|
4174
4269
|
var r = {};
|
4175
4270
|
for (var n in e)
|
4176
|
-
|
4271
|
+
Gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4177
4272
|
if (e != null && $e)
|
4178
4273
|
for (var n of $e(e))
|
4179
|
-
t.indexOf(n) < 0 &&
|
4274
|
+
t.indexOf(n) < 0 && kr.call(e, n) && (r[n] = e[n]);
|
4180
4275
|
return r;
|
4181
4276
|
};
|
4182
|
-
const
|
4183
|
-
const { formats: r } =
|
4277
|
+
const Pe = (e, t) => {
|
4278
|
+
const { formats: r } = ye();
|
4184
4279
|
if (e in r && t in r[e])
|
4185
4280
|
return r[e][t];
|
4186
4281
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4187
|
-
},
|
4282
|
+
}, io = We(
|
4188
4283
|
(e) => {
|
4189
|
-
var t = e, { locale: r, format: n } = t, i =
|
4284
|
+
var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
|
4190
4285
|
if (r == null)
|
4191
4286
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4192
|
-
return n && (i =
|
4287
|
+
return n && (i = Pe("number", n)), new Intl.NumberFormat(r, i);
|
4193
4288
|
}
|
4194
|
-
),
|
4289
|
+
), oo = We(
|
4195
4290
|
(e) => {
|
4196
|
-
var t = e, { locale: r, format: n } = t, i =
|
4291
|
+
var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
|
4197
4292
|
if (r == null)
|
4198
4293
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4199
|
-
return n ? i =
|
4294
|
+
return n ? i = Pe("date", n) : Object.keys(i).length === 0 && (i = Pe("date", "short")), new Intl.DateTimeFormat(r, i);
|
4200
4295
|
}
|
4201
|
-
),
|
4296
|
+
), so = We(
|
4202
4297
|
(e) => {
|
4203
|
-
var t = e, { locale: r, format: n } = t, i =
|
4298
|
+
var t = e, { locale: r, format: n } = t, i = xe(t, ["locale", "format"]);
|
4204
4299
|
if (r == null)
|
4205
4300
|
throw new Error(
|
4206
4301
|
'[svelte-i18n] A "locale" must be set to format time values'
|
4207
4302
|
);
|
4208
|
-
return n ? i =
|
4303
|
+
return n ? i = Pe("time", n) : Object.keys(i).length === 0 && (i = Pe("time", "short")), new Intl.DateTimeFormat(r, i);
|
4209
4304
|
}
|
4210
|
-
),
|
4305
|
+
), ao = (e = {}) => {
|
4211
4306
|
var t = e, {
|
4212
4307
|
locale: r = oe()
|
4213
|
-
} = t, n =
|
4308
|
+
} = t, n = xe(t, [
|
4214
4309
|
"locale"
|
4215
4310
|
]);
|
4216
|
-
return
|
4217
|
-
},
|
4311
|
+
return io(wt({ locale: r }, n));
|
4312
|
+
}, lo = (e = {}) => {
|
4218
4313
|
var t = e, {
|
4219
4314
|
locale: r = oe()
|
4220
|
-
} = t, n =
|
4315
|
+
} = t, n = xe(t, [
|
4221
4316
|
"locale"
|
4222
4317
|
]);
|
4223
|
-
return
|
4224
|
-
},
|
4318
|
+
return oo(wt({ locale: r }, n));
|
4319
|
+
}, uo = (e = {}) => {
|
4225
4320
|
var t = e, {
|
4226
4321
|
locale: r = oe()
|
4227
|
-
} = t, n =
|
4322
|
+
} = t, n = xe(t, [
|
4228
4323
|
"locale"
|
4229
4324
|
]);
|
4230
|
-
return
|
4231
|
-
},
|
4325
|
+
return so(wt({ locale: r }, n));
|
4326
|
+
}, ho = We(
|
4232
4327
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4233
|
-
(e, t = oe()) => new
|
4234
|
-
ignoreTag:
|
4328
|
+
(e, t = oe()) => new Ri(e, t, ye().formats, {
|
4329
|
+
ignoreTag: ye().ignoreTag
|
4235
4330
|
})
|
4236
|
-
),
|
4331
|
+
), co = (e, t = {}) => {
|
4237
4332
|
var r, n, i, o;
|
4238
4333
|
let s = t;
|
4239
4334
|
typeof e == "object" && (s = e, e = s.id);
|
@@ -4246,35 +4341,35 @@ const He = (e, t) => {
|
|
4246
4341
|
throw new Error(
|
4247
4342
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4248
4343
|
);
|
4249
|
-
let h =
|
4344
|
+
let h = Mr(e, u);
|
4250
4345
|
if (!h)
|
4251
|
-
h = (o = (i = (n = (r =
|
4346
|
+
h = (o = (i = (n = (r = ye()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
4252
4347
|
else if (typeof h != "string")
|
4253
4348
|
return console.warn(
|
4254
4349
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
4255
4350
|
), h;
|
4256
4351
|
if (!a)
|
4257
4352
|
return h;
|
4258
|
-
let
|
4353
|
+
let d = h;
|
4259
4354
|
try {
|
4260
|
-
|
4261
|
-
} catch (
|
4262
|
-
|
4355
|
+
d = ho(h, u).format(a);
|
4356
|
+
} catch (f) {
|
4357
|
+
f instanceof Error && console.warn(
|
4263
4358
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
4264
|
-
|
4359
|
+
f.message
|
4265
4360
|
);
|
4266
4361
|
}
|
4267
|
-
return
|
4268
|
-
},
|
4269
|
-
ve([ie], () =>
|
4270
|
-
ve([ie], () =>
|
4271
|
-
ve([ie], () =>
|
4272
|
-
ve([ie,
|
4273
|
-
window.emWidgets = { topic:
|
4274
|
-
const
|
4275
|
-
function
|
4362
|
+
return d;
|
4363
|
+
}, fo = (e, t) => uo(t).format(e), po = (e, t) => lo(t).format(e), mo = (e, t) => ao(t).format(e), bo = (e, t = oe()) => Mr(e, t), go = ve([ie, _e], () => co);
|
4364
|
+
ve([ie], () => fo);
|
4365
|
+
ve([ie], () => po);
|
4366
|
+
ve([ie], () => mo);
|
4367
|
+
ve([ie, _e], () => bo);
|
4368
|
+
window.emWidgets = { topic: Fn };
|
4369
|
+
const yo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), vo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4370
|
+
function jo(e, t) {
|
4276
4371
|
const r = window.navigator.userAgent;
|
4277
|
-
return
|
4372
|
+
return yo(r) ? t = e.filter((n) => {
|
4278
4373
|
if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
|
4279
4374
|
return n;
|
4280
4375
|
}) : t = e.filter((n) => {
|
@@ -4282,13 +4377,13 @@ function No(e, t) {
|
|
4282
4377
|
return n;
|
4283
4378
|
}), t;
|
4284
4379
|
}
|
4285
|
-
function
|
4380
|
+
function _o(e, t) {
|
4286
4381
|
if (e) {
|
4287
4382
|
const r = document.createElement("style");
|
4288
4383
|
r.innerHTML = t, e.appendChild(r);
|
4289
4384
|
}
|
4290
4385
|
}
|
4291
|
-
function
|
4386
|
+
function xo(e, t) {
|
4292
4387
|
const r = new URL(t);
|
4293
4388
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4294
4389
|
const i = document.createElement("style");
|
@@ -4297,7 +4392,7 @@ function mo(e, t) {
|
|
4297
4392
|
console.error("There was an error while trying to load client styling from URL", n);
|
4298
4393
|
});
|
4299
4394
|
}
|
4300
|
-
function
|
4395
|
+
function Eo(e, t, r) {
|
4301
4396
|
if (window.emMessageBus) {
|
4302
4397
|
const n = document.createElement("style");
|
4303
4398
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4305,15 +4400,15 @@ function bo(e, t, r) {
|
|
4305
4400
|
});
|
4306
4401
|
}
|
4307
4402
|
}
|
4308
|
-
function
|
4403
|
+
function wo({ withLocale: e, translations: t }) {
|
4309
4404
|
ie.subscribe((r) => {
|
4310
|
-
r == null && (
|
4405
|
+
r == null && (_e.set(t), ie.set(e));
|
4311
4406
|
});
|
4312
4407
|
}
|
4313
|
-
function
|
4314
|
-
|
4408
|
+
function er(e, t) {
|
4409
|
+
Dr(e, t);
|
4315
4410
|
}
|
4316
|
-
const
|
4411
|
+
const tr = {
|
4317
4412
|
en: {
|
4318
4413
|
providers: "Providers:",
|
4319
4414
|
filterby: "Filter by:",
|
@@ -4423,302 +4518,302 @@ const Qt = {
|
|
4423
4518
|
clear: "Clear all"
|
4424
4519
|
}
|
4425
4520
|
};
|
4426
|
-
function
|
4427
|
-
|
4521
|
+
function So(e) {
|
4522
|
+
Yr(e, "svelte-1o2ogwk", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label ui-image img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
|
4428
4523
|
}
|
4429
|
-
function
|
4524
|
+
function rr(e, t, r) {
|
4430
4525
|
const n = e.slice();
|
4431
|
-
return n[
|
4526
|
+
return n[37] = t[r], n[38] = t, n[39] = r, n;
|
4432
4527
|
}
|
4433
|
-
function
|
4528
|
+
function To(e) {
|
4434
4529
|
let t, r, n, i, o, s, a, u, l = (
|
4435
4530
|
/*$_*/
|
4436
4531
|
e[11]("filterby") + ""
|
4437
|
-
), h,
|
4532
|
+
), h, d, f, p, g = (
|
4438
4533
|
/*$_*/
|
4439
4534
|
e[11]("providers") + ""
|
4440
|
-
), b,
|
4535
|
+
), b, S, H, E, m, O, L, D, A, P, N, X, Z, te = (
|
4441
4536
|
/*$_*/
|
4442
4537
|
e[11]("clear") + ""
|
4443
|
-
), se,
|
4444
|
-
function
|
4538
|
+
), se, re, ne, ae, le, Ee;
|
4539
|
+
function Ce(c, T) {
|
4445
4540
|
return (
|
4446
4541
|
/*fullSelection*/
|
4447
|
-
|
4542
|
+
c[7] ? Po : Ao
|
4448
4543
|
);
|
4449
4544
|
}
|
4450
|
-
let
|
4545
|
+
let ue = Ce(e), G = ue(e), q = Ot(
|
4451
4546
|
/*vendorArray*/
|
4452
4547
|
e[5]
|
4453
|
-
),
|
4454
|
-
for (let
|
4455
|
-
|
4548
|
+
), M = [];
|
4549
|
+
for (let c = 0; c < q.length; c += 1)
|
4550
|
+
M[c] = nr(rr(e, q, c));
|
4456
4551
|
return {
|
4457
4552
|
c() {
|
4458
|
-
t = C("div"), r = C("div"), n = C("div"), i =
|
4459
|
-
for (let
|
4460
|
-
|
4461
|
-
|
4462
|
-
(e[4] ? "TriangleActive" : "")),
|
4463
|
-
(e[4] ? "FilterSelectorOpen" : "")),
|
4553
|
+
t = C("div"), r = C("div"), n = C("div"), i = Se("svg"), o = Se("path"), s = W(), a = C("div"), u = C("span"), h = k(l), d = W(), f = C("div"), p = C("span"), b = k(g), S = W(), G.c(), H = W(), E = C("span"), m = Se("svg"), O = Se("path"), A = W(), P = C("div"), N = C("ul");
|
4554
|
+
for (let c = 0; c < M.length; c += 1)
|
4555
|
+
M[c].c();
|
4556
|
+
X = W(), Z = C("button"), se = k(te), y(o, "id", "noun_filter_736223"), y(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), y(o, "transform", "translate(-5 -6.2)"), y(o, "fill", "#fff"), y(i, "xmlns", "http://www.w3.org/2000/svg"), y(i, "width", "16"), y(i, "height", "16"), y(i, "viewBox", "0 0 16 16"), y(u, "class", "FilterName"), y(f, "class", "FilterValueContainer"), y(a, "class", "FilterTextContainer"), y(n, "class", "FilterMainArea"), y(O, "id", "arrow"), y(O, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), y(O, "transform", "translate(-274.511 -441.088)"), y(O, "fill", "#d1d1d1"), y(m, "xmlns", "http://www.w3.org/2000/svg"), y(m, "width", "14"), y(m, "height", "6.835"), y(m, "viewBox", "0 0 14 6.835"), y(E, "class", L = "TriangleInactive " + /*isFilterActive*/
|
4557
|
+
(e[4] ? "TriangleActive" : "")), y(r, "class", D = "FilterSelector " + /*isFilterActive*/
|
4558
|
+
(e[4] ? "FilterSelectorOpen" : "")), y(N, "class", "FilterDropdown"), y(Z, "class", "ClearFilters"), Z.disabled = re = /*fullSelection*/
|
4464
4559
|
e[7] && /*selectedVendorArray*/
|
4465
4560
|
e[6].length != /*vendorArray*/
|
4466
|
-
e[5].length,
|
4467
|
-
(e[4] ? "FilterOpen" : "")),
|
4561
|
+
e[5].length, y(P, "class", ne = "FilterDropdownContainer " + /*isFilterActive*/
|
4562
|
+
(e[4] ? "FilterOpen" : "")), y(t, "class", ae = "FilterContainer " + /*addfilterselector*/
|
4468
4563
|
(e[0] == "true" && /*addsortingselector*/
|
4469
4564
|
e[1] == "true" ? "FilerContainerSplit" : ""));
|
4470
4565
|
},
|
4471
|
-
m(
|
4472
|
-
|
4473
|
-
for (let
|
4474
|
-
|
4475
|
-
|
4476
|
-
|
4566
|
+
m(c, T) {
|
4567
|
+
z(c, t, T), v(t, r), v(r, n), v(n, i), v(i, o), v(n, s), v(n, a), v(a, u), v(u, h), v(a, d), v(a, f), v(f, p), v(p, b), v(f, S), G.m(f, null), v(r, H), v(r, E), v(E, m), v(m, O), v(t, A), v(t, P), v(P, N);
|
4568
|
+
for (let F = 0; F < M.length; F += 1)
|
4569
|
+
M[F] && M[F].m(N, null);
|
4570
|
+
v(P, X), v(P, Z), v(Z, se), le || (Ee = [
|
4571
|
+
De(
|
4477
4572
|
r,
|
4478
4573
|
"click",
|
4479
4574
|
/*click_handler*/
|
4480
|
-
e[
|
4575
|
+
e[24]
|
4481
4576
|
),
|
4482
|
-
|
4483
|
-
|
4577
|
+
De(
|
4578
|
+
Z,
|
4484
4579
|
"click",
|
4485
4580
|
/*click_handler_2*/
|
4486
|
-
e[
|
4581
|
+
e[27]
|
4487
4582
|
)
|
4488
|
-
],
|
4583
|
+
], le = !0);
|
4489
4584
|
},
|
4490
|
-
p(
|
4491
|
-
if (
|
4585
|
+
p(c, T) {
|
4586
|
+
if (T[0] & /*$_*/
|
4492
4587
|
2048 && l !== (l = /*$_*/
|
4493
|
-
|
4588
|
+
c[11]("filterby") + "") && K(h, l), T[0] & /*$_*/
|
4494
4589
|
2048 && g !== (g = /*$_*/
|
4495
|
-
|
4496
|
-
16 &&
|
4497
|
-
(
|
4498
|
-
16 &&
|
4499
|
-
(
|
4590
|
+
c[11]("providers") + "") && K(b, g), ue === (ue = Ce(c)) && G ? G.p(c, T) : (G.d(1), G = ue(c), G && (G.c(), G.m(f, null))), T[0] & /*isFilterActive*/
|
4591
|
+
16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
|
4592
|
+
(c[4] ? "TriangleActive" : "")) && y(E, "class", L), T[0] & /*isFilterActive*/
|
4593
|
+
16 && D !== (D = "FilterSelector " + /*isFilterActive*/
|
4594
|
+
(c[4] ? "FilterSelectorOpen" : "")) && y(r, "class", D), T[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
4500
4595
|
8228) {
|
4501
|
-
|
4596
|
+
q = Ot(
|
4502
4597
|
/*vendorArray*/
|
4503
|
-
|
4598
|
+
c[5]
|
4504
4599
|
);
|
4505
|
-
let
|
4506
|
-
for (
|
4507
|
-
const
|
4508
|
-
|
4600
|
+
let F;
|
4601
|
+
for (F = 0; F < q.length; F += 1) {
|
4602
|
+
const I = rr(c, q, F);
|
4603
|
+
M[F] ? M[F].p(I, T) : (M[F] = nr(I), M[F].c(), M[F].m(N, null));
|
4509
4604
|
}
|
4510
|
-
for (;
|
4511
|
-
|
4512
|
-
|
4605
|
+
for (; F < M.length; F += 1)
|
4606
|
+
M[F].d(1);
|
4607
|
+
M.length = q.length;
|
4513
4608
|
}
|
4514
|
-
|
4515
|
-
2048 &&
|
4516
|
-
|
4517
|
-
224 &&
|
4518
|
-
|
4519
|
-
|
4520
|
-
|
4521
|
-
16 &&
|
4522
|
-
(
|
4523
|
-
3 &&
|
4524
|
-
(
|
4525
|
-
|
4609
|
+
T[0] & /*$_*/
|
4610
|
+
2048 && te !== (te = /*$_*/
|
4611
|
+
c[11]("clear") + "") && K(se, te), T[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
4612
|
+
224 && re !== (re = /*fullSelection*/
|
4613
|
+
c[7] && /*selectedVendorArray*/
|
4614
|
+
c[6].length != /*vendorArray*/
|
4615
|
+
c[5].length) && (Z.disabled = re), T[0] & /*isFilterActive*/
|
4616
|
+
16 && ne !== (ne = "FilterDropdownContainer " + /*isFilterActive*/
|
4617
|
+
(c[4] ? "FilterOpen" : "")) && y(P, "class", ne), T[0] & /*addfilterselector, addsortingselector*/
|
4618
|
+
3 && ae !== (ae = "FilterContainer " + /*addfilterselector*/
|
4619
|
+
(c[0] == "true" && /*addsortingselector*/
|
4620
|
+
c[1] == "true" ? "FilerContainerSplit" : "")) && y(t, "class", ae);
|
4526
4621
|
},
|
4527
|
-
d(
|
4528
|
-
|
4622
|
+
d(c) {
|
4623
|
+
c && V(t), G.d(), tn(M, c), le = !1, ee(Ee);
|
4529
4624
|
}
|
4530
4625
|
};
|
4531
4626
|
}
|
4532
|
-
function
|
4627
|
+
function Ho(e) {
|
4533
4628
|
let t, r = (
|
4534
4629
|
/*$_*/
|
4535
4630
|
e[11]("500") + ""
|
4536
4631
|
), n;
|
4537
4632
|
return {
|
4538
4633
|
c() {
|
4539
|
-
t = C("p"), n = k(r),
|
4634
|
+
t = C("p"), n = k(r), y(t, "class", "SearchLoading");
|
4540
4635
|
},
|
4541
4636
|
m(i, o) {
|
4542
|
-
|
4637
|
+
z(i, t, o), v(t, n);
|
4543
4638
|
},
|
4544
4639
|
p(i, o) {
|
4545
4640
|
o[0] & /*$_*/
|
4546
4641
|
2048 && r !== (r = /*$_*/
|
4547
|
-
i[11]("500") + "") &&
|
4642
|
+
i[11]("500") + "") && K(n, r);
|
4548
4643
|
},
|
4549
4644
|
d(i) {
|
4550
|
-
i &&
|
4645
|
+
i && V(t);
|
4551
4646
|
}
|
4552
4647
|
};
|
4553
4648
|
}
|
4554
|
-
function
|
4649
|
+
function Ao(e) {
|
4555
4650
|
let t, r;
|
4556
4651
|
return {
|
4557
4652
|
c() {
|
4558
4653
|
t = C("span"), r = k(
|
4559
4654
|
/*selectionNumber*/
|
4560
4655
|
e[8]
|
4561
|
-
),
|
4656
|
+
), y(t, "class", "FilterCounter");
|
4562
4657
|
},
|
4563
4658
|
m(n, i) {
|
4564
|
-
|
4659
|
+
z(n, t, i), v(t, r);
|
4565
4660
|
},
|
4566
4661
|
p(n, i) {
|
4567
4662
|
i[0] & /*selectionNumber*/
|
4568
|
-
256 &&
|
4663
|
+
256 && K(
|
4569
4664
|
r,
|
4570
4665
|
/*selectionNumber*/
|
4571
4666
|
n[8]
|
4572
4667
|
);
|
4573
4668
|
},
|
4574
4669
|
d(n) {
|
4575
|
-
n &&
|
4670
|
+
n && V(t);
|
4576
4671
|
}
|
4577
4672
|
};
|
4578
4673
|
}
|
4579
|
-
function
|
4674
|
+
function Po(e) {
|
4580
4675
|
let t, r = (
|
4581
4676
|
/*$_*/
|
4582
4677
|
e[11]("all") + ""
|
4583
4678
|
), n;
|
4584
4679
|
return {
|
4585
4680
|
c() {
|
4586
|
-
t = C("span"), n = k(r),
|
4681
|
+
t = C("span"), n = k(r), y(t, "class", "FilterCounter");
|
4587
4682
|
},
|
4588
4683
|
m(i, o) {
|
4589
|
-
|
4684
|
+
z(i, t, o), v(t, n);
|
4590
4685
|
},
|
4591
4686
|
p(i, o) {
|
4592
4687
|
o[0] & /*$_*/
|
4593
4688
|
2048 && r !== (r = /*$_*/
|
4594
|
-
i[11]("all") + "") &&
|
4689
|
+
i[11]("all") + "") && K(n, r);
|
4595
4690
|
},
|
4596
4691
|
d(i) {
|
4597
|
-
i &&
|
4692
|
+
i && V(t);
|
4598
4693
|
}
|
4599
4694
|
};
|
4600
4695
|
}
|
4601
|
-
function
|
4696
|
+
function Co(e) {
|
4602
4697
|
let t, r;
|
4603
4698
|
return {
|
4604
4699
|
c() {
|
4605
|
-
t = C("ui-image"),
|
4606
|
-
e[
|
4700
|
+
t = C("ui-image"), Ft(t.src, r = /*vendor*/
|
4701
|
+
e[37].logo) || Je(t, "src", r), Je(t, "alt", "vendor logo");
|
4607
4702
|
},
|
4608
4703
|
m(n, i) {
|
4609
|
-
|
4704
|
+
z(n, t, i);
|
4610
4705
|
},
|
4611
4706
|
p(n, i) {
|
4612
4707
|
i[0] & /*vendorArray*/
|
4613
|
-
32 && !
|
4614
|
-
n[
|
4708
|
+
32 && !Ft(t.src, r = /*vendor*/
|
4709
|
+
n[37].logo) && Je(t, "src", r);
|
4615
4710
|
},
|
4616
4711
|
d(n) {
|
4617
|
-
n &&
|
4712
|
+
n && V(t);
|
4618
4713
|
}
|
4619
4714
|
};
|
4620
4715
|
}
|
4621
|
-
function
|
4716
|
+
function Fo(e) {
|
4622
4717
|
let t, r, n = (
|
4623
4718
|
/*vendor*/
|
4624
|
-
e[
|
4719
|
+
e[37].name + ""
|
4625
4720
|
), i, o, s, a, u = (
|
4626
4721
|
/*vendor*/
|
4627
|
-
e[
|
4722
|
+
e[37].games.total + ""
|
4628
4723
|
), l, h;
|
4629
4724
|
return {
|
4630
4725
|
c() {
|
4631
|
-
t = C("div"), r = C("span"), i = k(n), o =
|
4726
|
+
t = C("div"), r = C("span"), i = k(n), o = W(), s = C("span"), a = k("("), l = k(u), h = k(")"), y(r, "class", "VendorName"), y(t, "class", "FilterItemLabel");
|
4632
4727
|
},
|
4633
|
-
m(
|
4634
|
-
|
4728
|
+
m(d, f) {
|
4729
|
+
z(d, t, f), v(t, r), v(r, i), v(t, o), v(t, s), v(s, a), v(s, l), v(s, h);
|
4635
4730
|
},
|
4636
|
-
p(
|
4637
|
-
|
4731
|
+
p(d, f) {
|
4732
|
+
f[0] & /*vendorArray*/
|
4638
4733
|
32 && n !== (n = /*vendor*/
|
4639
|
-
|
4734
|
+
d[37].name + "") && K(i, n), f[0] & /*vendorArray*/
|
4640
4735
|
32 && u !== (u = /*vendor*/
|
4641
|
-
|
4736
|
+
d[37].games.total + "") && K(l, u);
|
4642
4737
|
},
|
4643
|
-
d(
|
4644
|
-
|
4738
|
+
d(d) {
|
4739
|
+
d && V(t);
|
4645
4740
|
}
|
4646
4741
|
};
|
4647
4742
|
}
|
4648
|
-
function
|
4649
|
-
let t, r, n, i, o, s, a, u, l, h,
|
4650
|
-
function
|
4651
|
-
e[
|
4743
|
+
function nr(e) {
|
4744
|
+
let t, r, n, i, o, s, a, u, l, h, d, f;
|
4745
|
+
function p() {
|
4746
|
+
e[25].call(
|
4652
4747
|
n,
|
4653
4748
|
/*each_value*/
|
4654
|
-
e[
|
4749
|
+
e[38],
|
4655
4750
|
/*vendor_index*/
|
4656
|
-
e[
|
4751
|
+
e[39]
|
4657
4752
|
);
|
4658
4753
|
}
|
4659
4754
|
function g() {
|
4660
4755
|
return (
|
4661
4756
|
/*click_handler_1*/
|
4662
|
-
e[
|
4757
|
+
e[26](
|
4663
4758
|
/*vendor*/
|
4664
|
-
e[
|
4759
|
+
e[37]
|
4665
4760
|
)
|
4666
4761
|
);
|
4667
4762
|
}
|
4668
|
-
function b(
|
4763
|
+
function b(E, m) {
|
4669
4764
|
if (
|
4670
4765
|
/*filterbylogo*/
|
4671
|
-
|
4766
|
+
E[2] === "false"
|
4672
4767
|
)
|
4673
|
-
return
|
4768
|
+
return Fo;
|
4674
4769
|
if (
|
4675
4770
|
/*filterbylogo*/
|
4676
|
-
|
4771
|
+
E[2] === "true"
|
4677
4772
|
)
|
4678
|
-
return
|
4773
|
+
return Co;
|
4679
4774
|
}
|
4680
|
-
let
|
4775
|
+
let S = b(e), H = S && S(e);
|
4681
4776
|
return {
|
4682
4777
|
c() {
|
4683
|
-
t = C("li"), r = C("label"), n = C("input"), o =
|
4684
|
-
e[
|
4778
|
+
t = C("li"), r = C("label"), n = C("input"), o = W(), s = C("span"), a = W(), H && H.c(), u = W(), y(n, "type", "checkbox"), y(n, "name", "checkbox"), n.__value = i = /*vendor*/
|
4779
|
+
e[37].name, Bt(n, n.__value), y(s, "class", "FiltersCheckmark"), y(r, "class", "FilterLabel"), y(t, "class", l = "FilterItem " + /*filterbylogo*/
|
4685
4780
|
(e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
|
4686
|
-
e[
|
4781
|
+
e[37].name;
|
4687
4782
|
},
|
4688
|
-
m(
|
4689
|
-
|
4690
|
-
e[
|
4691
|
-
|
4692
|
-
|
4693
|
-
],
|
4783
|
+
m(E, m) {
|
4784
|
+
z(E, t, m), v(t, r), v(r, n), n.checked = /*vendor*/
|
4785
|
+
e[37].isFilterSelected, v(r, o), v(r, s), v(r, a), H && H.m(r, null), v(t, u), d || (f = [
|
4786
|
+
De(n, "change", p),
|
4787
|
+
De(n, "click", g)
|
4788
|
+
], d = !0);
|
4694
4789
|
},
|
4695
|
-
p(
|
4696
|
-
e =
|
4790
|
+
p(E, m) {
|
4791
|
+
e = E, m[0] & /*vendorArray*/
|
4697
4792
|
32 && i !== (i = /*vendor*/
|
4698
|
-
e[
|
4793
|
+
e[37].name) && (n.__value = i, Bt(n, n.__value)), m[0] & /*vendorArray*/
|
4699
4794
|
32 && (n.checked = /*vendor*/
|
4700
|
-
e[
|
4795
|
+
e[37].isFilterSelected), S === (S = b(e)) && H ? H.p(e, m) : (H && H.d(1), H = S && S(e), H && (H.c(), H.m(r, null))), m[0] & /*filterbylogo*/
|
4701
4796
|
4 && l !== (l = "FilterItem " + /*filterbylogo*/
|
4702
|
-
(e[2] === "true" ? "FilterItemWithLogos" : "")) &&
|
4797
|
+
(e[2] === "true" ? "FilterItemWithLogos" : "")) && y(t, "class", l), m[0] & /*vendorArray*/
|
4703
4798
|
32 && h !== (h = /*vendor*/
|
4704
|
-
e[
|
4799
|
+
e[37].name) && (t.value = h);
|
4705
4800
|
},
|
4706
|
-
d(
|
4707
|
-
|
4801
|
+
d(E) {
|
4802
|
+
E && V(t), H && H.d(), d = !1, ee(f);
|
4708
4803
|
}
|
4709
4804
|
};
|
4710
4805
|
}
|
4711
|
-
function
|
4806
|
+
function Bo(e) {
|
4712
4807
|
let t;
|
4713
4808
|
function r(o, s) {
|
4714
4809
|
if (
|
4715
4810
|
/*hasErrors*/
|
4716
4811
|
o[10]
|
4717
4812
|
)
|
4718
|
-
return
|
4813
|
+
return Ho;
|
4719
4814
|
if (!/*isLoading*/
|
4720
4815
|
o[9])
|
4721
|
-
return
|
4816
|
+
return To;
|
4722
4817
|
}
|
4723
4818
|
let n = r(e), i = n && n(e);
|
4724
4819
|
return {
|
@@ -4726,7 +4821,7 @@ function To(e) {
|
|
4726
4821
|
t = C("div"), i && i.c();
|
4727
4822
|
},
|
4728
4823
|
m(o, s) {
|
4729
|
-
|
4824
|
+
z(o, t, s), i && i.m(t, null), e[28](t);
|
4730
4825
|
},
|
4731
4826
|
p(o, s) {
|
4732
4827
|
n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
|
@@ -4734,97 +4829,102 @@ function To(e) {
|
|
4734
4829
|
i: j,
|
4735
4830
|
o: j,
|
4736
4831
|
d(o) {
|
4737
|
-
o &&
|
4832
|
+
o && V(t), i && i.d(), e[28](null);
|
4738
4833
|
}
|
4739
4834
|
};
|
4740
4835
|
}
|
4741
|
-
function
|
4836
|
+
function Io(e, t, r) {
|
4742
4837
|
let n;
|
4743
|
-
|
4744
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector:
|
4745
|
-
|
4746
|
-
const
|
4747
|
-
fetch(a).then((
|
4748
|
-
Object.keys(
|
4749
|
-
|
4838
|
+
qr(e, go, (c) => r(11, n = c));
|
4839
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector: d = "false" } = t, { addsortingselector: f = "false" } = t, { filterbylogo: p = "false" } = t, { mbsource: g } = t, { usesinglevendorfilter: b = "false" } = t, S = !1, H = window.navigator.userAgent, E = [], m = [], O = {}, L = !1, D = 0, A = !0, P, N = !1, X;
|
4840
|
+
wo({ withLocale: "en", translations: {} });
|
4841
|
+
const Z = () => {
|
4842
|
+
fetch(a).then((T) => T.json()).then((T) => {
|
4843
|
+
Object.keys(T).forEach((F) => {
|
4844
|
+
er(F, T[F]);
|
4750
4845
|
});
|
4751
|
-
}).catch((
|
4752
|
-
console.log(
|
4846
|
+
}).catch((T) => {
|
4847
|
+
console.log(T);
|
4753
4848
|
});
|
4754
4849
|
};
|
4755
|
-
Object.keys(
|
4756
|
-
|
4757
|
-
}),
|
4758
|
-
const
|
4759
|
-
r(4,
|
4760
|
-
},
|
4761
|
-
fetch(
|
4762
|
-
|
4763
|
-
let
|
4764
|
-
|
4765
|
-
|
4766
|
-
|
4767
|
-
|
4768
|
-
|
4769
|
-
|
4850
|
+
Object.keys(tr).forEach((c) => {
|
4851
|
+
er(c, tr[c]);
|
4852
|
+
}), O[h] && (O = { [h]: [] });
|
4853
|
+
const te = () => {
|
4854
|
+
r(4, S = !S), window.postMessage({ type: "FilterOpened" }, window.location.href);
|
4855
|
+
}, se = (c) => (r(9, A = !0), new Promise((T, F) => {
|
4856
|
+
fetch(c).then((I) => I.json()).then((I) => {
|
4857
|
+
I = I.items, T(I.items), r(6, m = []);
|
4858
|
+
let ze = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
|
4859
|
+
const Vr = b === "true" ? "*" : h;
|
4860
|
+
I.forEach((Fe) => {
|
4861
|
+
var St;
|
4862
|
+
ze || (ze = { currentCategoryId: [] }), ((St = ze[Vr]) == null ? void 0 : St.indexOf(Fe.id)) >= 0 ? (Fe.isFilterSelected = !0, m.push(Fe)) : Fe.isFilterSelected = !1;
|
4863
|
+
}), r(5, E = I), ne();
|
4864
|
+
}).catch((I) => {
|
4865
|
+
console.error(I), r(10, N = !0), F(I);
|
4770
4866
|
}).finally(() => {
|
4771
|
-
r(9,
|
4867
|
+
r(9, A = !1);
|
4772
4868
|
});
|
4773
|
-
})),
|
4774
|
-
let
|
4775
|
-
|
4776
|
-
|
4777
|
-
|
4778
|
-
|
4779
|
-
|
4869
|
+
})), re = (c) => {
|
4870
|
+
let T = localStorage.getItem("vendorFiltersByCategory");
|
4871
|
+
c.isFilterSelected = !c.isFilterSelected, !m.length || m.filter((I) => I.name === c.name).length == 0 ? m.push(c) : r(6, m = m.filter((I) => I.name !== c.name));
|
4872
|
+
const F = b === "true" ? "*" : h;
|
4873
|
+
T == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(O = {
|
4874
|
+
[F]: m.map((I) => I.id)
|
4875
|
+
})) : (T = JSON.parse(T), T[F] = m.map((I) => I.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(T))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), ne();
|
4876
|
+
}, ne = () => {
|
4877
|
+
r(7, L = m.length === E.length || m.length == 0), r(8, D = m.length);
|
4780
4878
|
}, ae = () => {
|
4781
|
-
|
4782
|
-
|
4783
|
-
|
4784
|
-
r(
|
4785
|
-
|
4786
|
-
|
4787
|
-
|
4788
|
-
|
4879
|
+
if (E.length && b === "true")
|
4880
|
+
return;
|
4881
|
+
const c = new URL(`${i}/v1/casino/vendors`);
|
4882
|
+
r(4, S = !1), c.searchParams.append("fields", "id,name,logo,subVendors,games"), c.searchParams.append("language", s), c.searchParams.append("datasource", o), c.searchParams.append("platform", vo(H)), b === "true" || ((h.match(/\$/g) || []).length > 1 ? (c.searchParams.append("filter", `games(subGroups=${h})`), c.searchParams.append("subVendors", `games(subGroups=${h})`)) : c.searchParams.append("filter", `games(groups=${h})`)), se(c);
|
4883
|
+
}, le = () => {
|
4884
|
+
r(6, m = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(O = {
|
4885
|
+
[b === "true" ? "*" : h]: m.map((c) => c.id)
|
4886
|
+
})), E.forEach((c) => c.isFilterSelected = !1), r(5, E), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, S = !1);
|
4887
|
+
}, Ee = (c) => {
|
4888
|
+
c.data.type == "SortingOpened" && r(4, S = !1);
|
4789
4889
|
};
|
4790
|
-
|
4791
|
-
window.removeEventListener("message",
|
4890
|
+
on(() => (window.addEventListener("message", Ee, !1), () => {
|
4891
|
+
window.emMessageBus != null && X && X.unsubscribe(), window.removeEventListener("message", Ee);
|
4792
4892
|
}));
|
4793
|
-
const
|
4794
|
-
function
|
4795
|
-
|
4893
|
+
const Ce = () => te();
|
4894
|
+
function ue(c, T) {
|
4895
|
+
c[T].isFilterSelected = this.checked, r(5, E);
|
4796
4896
|
}
|
4797
|
-
const
|
4798
|
-
function
|
4799
|
-
|
4800
|
-
|
4897
|
+
const G = (c) => re(c), q = () => le();
|
4898
|
+
function M(c) {
|
4899
|
+
it[c ? "unshift" : "push"](() => {
|
4900
|
+
P = c, r(3, P);
|
4801
4901
|
});
|
4802
4902
|
}
|
4803
|
-
return e.$$set = (
|
4804
|
-
"endpoint" in
|
4903
|
+
return e.$$set = (c) => {
|
4904
|
+
"endpoint" in c && r(15, i = c.endpoint), "datasource" in c && r(16, o = c.datasource), "lang" in c && r(17, s = c.lang), "translationurl" in c && r(18, a = c.translationurl), "clientstyling" in c && r(19, u = c.clientstyling), "clientstylingurl" in c && r(20, l = c.clientstylingurl), "categoryid" in c && r(21, h = c.categoryid), "addfilterselector" in c && r(0, d = c.addfilterselector), "addsortingselector" in c && r(1, f = c.addsortingselector), "filterbylogo" in c && r(2, p = c.filterbylogo), "mbsource" in c && r(22, g = c.mbsource), "usesinglevendorfilter" in c && r(23, b = c.usesinglevendorfilter);
|
4805
4905
|
}, e.$$.update = () => {
|
4806
4906
|
e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
|
4807
|
-
2195460 && i && o && h &&
|
4808
|
-
524296 && u &&
|
4809
|
-
1048584 && l &&
|
4810
|
-
4194312 &&
|
4811
|
-
262144 && a &&
|
4907
|
+
2195460 && i && o && h && p && ae(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4908
|
+
524296 && u && P && _o(P, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4909
|
+
1048584 && l && P && xo(P, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4910
|
+
4194312 && P && Eo(P, `${g}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4911
|
+
262144 && a && Z();
|
4812
4912
|
}, [
|
4813
|
-
f,
|
4814
|
-
c,
|
4815
4913
|
d,
|
4914
|
+
f,
|
4915
|
+
p,
|
4916
|
+
P,
|
4816
4917
|
S,
|
4817
|
-
|
4818
|
-
|
4819
|
-
y,
|
4918
|
+
E,
|
4919
|
+
m,
|
4820
4920
|
L,
|
4921
|
+
D,
|
4922
|
+
A,
|
4821
4923
|
N,
|
4822
|
-
R,
|
4823
|
-
O,
|
4824
4924
|
n,
|
4825
|
-
V,
|
4826
|
-
ee,
|
4827
4925
|
te,
|
4926
|
+
re,
|
4927
|
+
le,
|
4828
4928
|
i,
|
4829
4929
|
o,
|
4830
4930
|
s,
|
@@ -4833,21 +4933,22 @@ function Ho(e, t, r) {
|
|
4833
4933
|
l,
|
4834
4934
|
h,
|
4835
4935
|
g,
|
4836
|
-
|
4837
|
-
|
4838
|
-
|
4839
|
-
|
4840
|
-
|
4936
|
+
b,
|
4937
|
+
Ce,
|
4938
|
+
ue,
|
4939
|
+
G,
|
4940
|
+
q,
|
4941
|
+
M
|
4841
4942
|
];
|
4842
4943
|
}
|
4843
|
-
class
|
4944
|
+
class jr extends pn {
|
4844
4945
|
constructor(t) {
|
4845
|
-
super(),
|
4946
|
+
super(), fn(
|
4846
4947
|
this,
|
4847
4948
|
t,
|
4848
|
-
|
4849
|
-
|
4850
|
-
|
4949
|
+
Io,
|
4950
|
+
Bo,
|
4951
|
+
or,
|
4851
4952
|
{
|
4852
4953
|
endpoint: 15,
|
4853
4954
|
datasource: 16,
|
@@ -4859,9 +4960,10 @@ class Rr extends an {
|
|
4859
4960
|
addfilterselector: 0,
|
4860
4961
|
addsortingselector: 1,
|
4861
4962
|
filterbylogo: 2,
|
4862
|
-
mbsource: 22
|
4963
|
+
mbsource: 22,
|
4964
|
+
usesinglevendorfilter: 23
|
4863
4965
|
},
|
4864
|
-
|
4966
|
+
So,
|
4865
4967
|
[-1, -1]
|
4866
4968
|
);
|
4867
4969
|
}
|
@@ -4931,51 +5033,60 @@ class Rr extends an {
|
|
4931
5033
|
set mbsource(t) {
|
4932
5034
|
this.$$set({ mbsource: t }), $();
|
4933
5035
|
}
|
5036
|
+
get usesinglevendorfilter() {
|
5037
|
+
return this.$$.ctx[23];
|
5038
|
+
}
|
5039
|
+
set usesinglevendorfilter(t) {
|
5040
|
+
this.$$set({ usesinglevendorfilter: t }), $();
|
5041
|
+
}
|
4934
5042
|
}
|
4935
|
-
|
4936
|
-
const
|
5043
|
+
dn(jr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
|
5044
|
+
const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4937
5045
|
__proto__: null,
|
4938
|
-
default:
|
5046
|
+
default: jr
|
4939
5047
|
}, Symbol.toStringTag, { value: "Module" }));
|
4940
5048
|
export {
|
4941
5049
|
ie as $,
|
4942
|
-
|
4943
|
-
|
4944
|
-
|
4945
|
-
|
4946
|
-
|
4947
|
-
|
4948
|
-
|
4949
|
-
|
4950
|
-
|
4951
|
-
|
4952
|
-
|
4953
|
-
|
4954
|
-
|
4955
|
-
|
4956
|
-
|
4957
|
-
|
5050
|
+
it as A,
|
5051
|
+
_o as B,
|
5052
|
+
Eo as C,
|
5053
|
+
Ot as D,
|
5054
|
+
tn as E,
|
5055
|
+
go as F,
|
5056
|
+
$o as G,
|
5057
|
+
Do as H,
|
5058
|
+
Se as I,
|
5059
|
+
Uo as J,
|
5060
|
+
jo as K,
|
5061
|
+
ko as L,
|
5062
|
+
Go as M,
|
5063
|
+
_e as N,
|
5064
|
+
Vo as O,
|
5065
|
+
pn as S,
|
5066
|
+
Dr as a,
|
5067
|
+
Yr as b,
|
5068
|
+
dn as c,
|
4958
5069
|
W as d,
|
4959
|
-
|
5070
|
+
C as e,
|
4960
5071
|
$ as f,
|
4961
|
-
|
4962
|
-
|
4963
|
-
|
4964
|
-
|
4965
|
-
|
4966
|
-
|
4967
|
-
|
4968
|
-
|
4969
|
-
|
4970
|
-
|
4971
|
-
|
4972
|
-
|
4973
|
-
|
4974
|
-
|
4975
|
-
|
4976
|
-
|
4977
|
-
|
4978
|
-
|
4979
|
-
|
4980
|
-
|
5072
|
+
Ft as g,
|
5073
|
+
Je as h,
|
5074
|
+
fn as i,
|
5075
|
+
y as j,
|
5076
|
+
Ro as k,
|
5077
|
+
z as l,
|
5078
|
+
v as m,
|
5079
|
+
No as n,
|
5080
|
+
K as o,
|
5081
|
+
j as p,
|
5082
|
+
V as q,
|
5083
|
+
qr as r,
|
5084
|
+
or as s,
|
5085
|
+
k as t,
|
5086
|
+
on as u,
|
5087
|
+
xo as v,
|
5088
|
+
De as w,
|
5089
|
+
Mo as x,
|
5090
|
+
yo as y,
|
5091
|
+
vo as z
|
4981
5092
|
};
|