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