@everymatrix/casino-categories-vendor-bar 1.49.2 → 1.50.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCategoriesVendorBar-D_GwqBrr.js → CasinoCategoriesVendorBar-CjPGYZMR.js} +939 -868
- package/components/CasinoCategoriesVendorBar-D0PeIUm_.cjs +5 -0
- package/es2015/casino-categories-vendor-bar.cjs +1 -1
- package/es2015/casino-categories-vendor-bar.js +1 -1
- package/package.json +1 -1
- package/components/CasinoCategoriesVendorBar-CTFiysIE.cjs +0 -5
package/components/{CasinoCategoriesVendorBar-D_GwqBrr.js → CasinoCategoriesVendorBar-CjPGYZMR.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Fr = Object.defineProperty, jr = Object.defineProperties;
|
|
2
|
+
var Vr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var ft = Object.getOwnPropertySymbols;
|
|
4
|
+
var Wr = Object.prototype.hasOwnProperty, Xr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Le = (e, t, r) => t in e ? Fr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Wr.call(t, r) && Le(e, r, t[r]);
|
|
8
|
+
if (ft)
|
|
9
|
+
for (var r of ft(t))
|
|
10
|
+
Xr.call(t, r) && Le(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
14
|
-
var
|
|
12
|
+
}, pt = (e, t) => jr(e, Vr(t));
|
|
13
|
+
var G = (e, t, r) => Le(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
+
var mt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(l));
|
|
@@ -29,29 +29,29 @@ var dt = (e, t, r) => new Promise((n, i) => {
|
|
|
29
29
|
});
|
|
30
30
|
function D() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function Qt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function bt() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
38
|
function z(e) {
|
|
39
|
-
e.forEach(
|
|
39
|
+
e.forEach(Qt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Te(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Yt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let be;
|
|
48
|
-
function
|
|
48
|
+
function Ce(e, t) {
|
|
49
49
|
return e === t ? !0 : (be || (be = document.createElement("a")), be.href = t, e === be.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function zr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Zr(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
@@ -60,17 +60,17 @@ function zr(e, ...t) {
|
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
63
|
+
function H(e, t) {
|
|
64
64
|
e.appendChild(t);
|
|
65
65
|
}
|
|
66
|
-
function
|
|
67
|
-
const n =
|
|
66
|
+
function Qr(e, t, r) {
|
|
67
|
+
const n = Yr(e);
|
|
68
68
|
if (!n.getElementById(t)) {
|
|
69
|
-
const i =
|
|
69
|
+
const i = S("style");
|
|
70
70
|
i.id = t, i.textContent = r, qr(n, i);
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
function
|
|
73
|
+
function Yr(e) {
|
|
74
74
|
if (!e) return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
76
76
|
return t && /** @type {ShadowRoot} */
|
|
@@ -80,28 +80,28 @@ function Qr(e) {
|
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
82
|
function qr(e, t) {
|
|
83
|
-
return
|
|
83
|
+
return H(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function L(e, t, r) {
|
|
90
90
|
e.insertBefore(t, r || null);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function P(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
|
-
function
|
|
95
|
+
function S(e) {
|
|
96
96
|
return document.createElement(e);
|
|
97
97
|
}
|
|
98
98
|
function me(e) {
|
|
99
99
|
return document.createTextNode(e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
101
|
+
function F() {
|
|
102
102
|
return me(" ");
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function it() {
|
|
105
105
|
return me("");
|
|
106
106
|
}
|
|
107
107
|
function K(e, t, r, n) {
|
|
@@ -113,11 +113,11 @@ function x(e, t, r) {
|
|
|
113
113
|
function Jr(e) {
|
|
114
114
|
return Array.from(e.childNodes);
|
|
115
115
|
}
|
|
116
|
-
function
|
|
116
|
+
function ot(e, t) {
|
|
117
117
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
118
118
|
t);
|
|
119
119
|
}
|
|
120
|
-
function
|
|
120
|
+
function Kr(e) {
|
|
121
121
|
const t = {};
|
|
122
122
|
return e.childNodes.forEach(
|
|
123
123
|
/** @param {Element} node */
|
|
@@ -126,116 +126,116 @@ function Yr(e) {
|
|
|
126
126
|
}
|
|
127
127
|
), t;
|
|
128
128
|
}
|
|
129
|
-
let
|
|
130
|
-
function
|
|
131
|
-
|
|
129
|
+
let fe;
|
|
130
|
+
function ce(e) {
|
|
131
|
+
fe = e;
|
|
132
132
|
}
|
|
133
|
-
function
|
|
134
|
-
if (!
|
|
135
|
-
return
|
|
133
|
+
function en() {
|
|
134
|
+
if (!fe) throw new Error("Function called outside component initialization");
|
|
135
|
+
return fe;
|
|
136
136
|
}
|
|
137
|
-
function
|
|
138
|
-
|
|
137
|
+
function tn(e) {
|
|
138
|
+
en().$$.on_mount.push(e);
|
|
139
139
|
}
|
|
140
|
-
const
|
|
140
|
+
const J = [], ee = [];
|
|
141
141
|
let te = [];
|
|
142
|
-
const
|
|
143
|
-
let
|
|
144
|
-
function
|
|
145
|
-
|
|
142
|
+
const gt = [], rn = /* @__PURE__ */ Promise.resolve();
|
|
143
|
+
let je = !1;
|
|
144
|
+
function nn() {
|
|
145
|
+
je || (je = !0, rn.then(U));
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function Ve(e) {
|
|
148
148
|
te.push(e);
|
|
149
149
|
}
|
|
150
|
-
const
|
|
151
|
-
let
|
|
150
|
+
const Ne = /* @__PURE__ */ new Set();
|
|
151
|
+
let Y = 0;
|
|
152
152
|
function U() {
|
|
153
|
-
if (
|
|
153
|
+
if (Y !== 0)
|
|
154
154
|
return;
|
|
155
|
-
const e =
|
|
155
|
+
const e = fe;
|
|
156
156
|
do {
|
|
157
157
|
try {
|
|
158
|
-
for (;
|
|
159
|
-
const t = Y
|
|
160
|
-
|
|
158
|
+
for (; Y < J.length; ) {
|
|
159
|
+
const t = J[Y];
|
|
160
|
+
Y++, ce(t), on(t.$$);
|
|
161
161
|
}
|
|
162
162
|
} catch (t) {
|
|
163
|
-
throw
|
|
163
|
+
throw J.length = 0, Y = 0, t;
|
|
164
164
|
}
|
|
165
|
-
for (
|
|
165
|
+
for (ce(null), J.length = 0, Y = 0; ee.length; ) ee.pop()();
|
|
166
166
|
for (let t = 0; t < te.length; t += 1) {
|
|
167
167
|
const r = te[t];
|
|
168
|
-
|
|
168
|
+
Ne.has(r) || (Ne.add(r), r());
|
|
169
169
|
}
|
|
170
170
|
te.length = 0;
|
|
171
|
-
} while (
|
|
172
|
-
for (;
|
|
173
|
-
|
|
174
|
-
|
|
171
|
+
} while (J.length);
|
|
172
|
+
for (; gt.length; )
|
|
173
|
+
gt.pop()();
|
|
174
|
+
je = !1, Ne.clear(), ce(e);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
176
|
+
function on(e) {
|
|
177
177
|
if (e.fragment !== null) {
|
|
178
178
|
e.update(), z(e.before_update);
|
|
179
179
|
const t = e.dirty;
|
|
180
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
180
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ve);
|
|
181
181
|
}
|
|
182
182
|
}
|
|
183
|
-
function
|
|
183
|
+
function sn(e) {
|
|
184
184
|
const t = [], r = [];
|
|
185
185
|
te.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), te = t;
|
|
186
186
|
}
|
|
187
|
-
const
|
|
187
|
+
const an = /* @__PURE__ */ new Set();
|
|
188
188
|
function qt(e, t) {
|
|
189
|
-
e && e.i && (
|
|
189
|
+
e && e.i && (an.delete(e), e.i(t));
|
|
190
190
|
}
|
|
191
|
-
function
|
|
191
|
+
function vt(e) {
|
|
192
192
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
193
193
|
}
|
|
194
|
-
function
|
|
194
|
+
function ln(e, t) {
|
|
195
195
|
e.d(1), t.delete(e.key);
|
|
196
196
|
}
|
|
197
|
-
function un(e, t, r, n, i, o, s, a, l, u, h,
|
|
198
|
-
let
|
|
197
|
+
function un(e, t, r, n, i, o, s, a, l, u, h, c) {
|
|
198
|
+
let f = e.length, b = o.length, p = f;
|
|
199
199
|
const m = {};
|
|
200
200
|
for (; p--; ) m[e[p].key] = p;
|
|
201
|
-
const _ = [],
|
|
201
|
+
const _ = [], M = /* @__PURE__ */ new Map(), I = /* @__PURE__ */ new Map(), T = [];
|
|
202
202
|
for (p = b; p--; ) {
|
|
203
|
-
const w =
|
|
204
|
-
let
|
|
205
|
-
|
|
203
|
+
const w = c(i, o, p), $ = r(w);
|
|
204
|
+
let k = s.get($);
|
|
205
|
+
k ? T.push(() => k.p(w, t)) : (k = u($, w), k.c()), M.set($, _[p] = k), $ in m && I.set($, Math.abs(p - m[$]));
|
|
206
206
|
}
|
|
207
|
-
const
|
|
208
|
-
function
|
|
207
|
+
const B = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
|
|
208
|
+
function A(w) {
|
|
209
209
|
qt(w, 1), w.m(a, h), s.set(w.key, w), h = w.first, b--;
|
|
210
210
|
}
|
|
211
|
-
for (;
|
|
212
|
-
const w = _[b - 1], $ = e[
|
|
213
|
-
w === $ ? (h = w.first,
|
|
211
|
+
for (; f && b; ) {
|
|
212
|
+
const w = _[b - 1], $ = e[f - 1], k = w.key, Q = $.key;
|
|
213
|
+
w === $ ? (h = w.first, f--, b--) : M.has(Q) ? !s.has(k) || B.has(k) ? A(w) : N.has(Q) ? f-- : I.get(k) > I.get(Q) ? (N.add(k), A(w)) : (B.add(Q), f--) : (l($, s), f--);
|
|
214
214
|
}
|
|
215
|
-
for (;
|
|
216
|
-
const w = e[
|
|
217
|
-
|
|
215
|
+
for (; f--; ) {
|
|
216
|
+
const w = e[f];
|
|
217
|
+
M.has(w.key) || l(w, s);
|
|
218
218
|
}
|
|
219
|
-
for (; b; )
|
|
220
|
-
return z(
|
|
219
|
+
for (; b; ) A(_[b - 1]);
|
|
220
|
+
return z(T), _;
|
|
221
221
|
}
|
|
222
|
-
function
|
|
222
|
+
function hn(e, t, r) {
|
|
223
223
|
const { fragment: n, after_update: i } = e.$$;
|
|
224
|
-
n && n.m(t, r),
|
|
225
|
-
const o = e.$$.on_mount.map(
|
|
224
|
+
n && n.m(t, r), Ve(() => {
|
|
225
|
+
const o = e.$$.on_mount.map(Qt).filter(Te);
|
|
226
226
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : z(o), e.$$.on_mount = [];
|
|
227
|
-
}), i.forEach(
|
|
227
|
+
}), i.forEach(Ve);
|
|
228
228
|
}
|
|
229
|
-
function
|
|
229
|
+
function cn(e, t) {
|
|
230
230
|
const r = e.$$;
|
|
231
|
-
r.fragment !== null && (
|
|
231
|
+
r.fragment !== null && (sn(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
232
232
|
}
|
|
233
233
|
function fn(e, t) {
|
|
234
|
-
e.$$.dirty[0] === -1 && (
|
|
234
|
+
e.$$.dirty[0] === -1 && (J.push(e), nn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
235
235
|
}
|
|
236
|
-
function
|
|
237
|
-
const l =
|
|
238
|
-
|
|
236
|
+
function dn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
237
|
+
const l = fe;
|
|
238
|
+
ce(e);
|
|
239
239
|
const u = e.$$ = {
|
|
240
240
|
fragment: null,
|
|
241
241
|
ctx: [],
|
|
@@ -243,7 +243,7 @@ function cn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
243
243
|
props: o,
|
|
244
244
|
update: D,
|
|
245
245
|
not_equal: i,
|
|
246
|
-
bound:
|
|
246
|
+
bound: bt(),
|
|
247
247
|
// lifecycle
|
|
248
248
|
on_mount: [],
|
|
249
249
|
on_destroy: [],
|
|
@@ -252,48 +252,48 @@ function cn(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
252
252
|
after_update: [],
|
|
253
253
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
254
254
|
// everything else
|
|
255
|
-
callbacks:
|
|
255
|
+
callbacks: bt(),
|
|
256
256
|
dirty: a,
|
|
257
257
|
skip_bound: !1,
|
|
258
258
|
root: t.target || l.$$.root
|
|
259
259
|
};
|
|
260
260
|
s && s(u.root);
|
|
261
261
|
let h = !1;
|
|
262
|
-
if (u.ctx = r ? r(e, t.props || {}, (
|
|
263
|
-
const p = b.length ? b[0] :
|
|
264
|
-
return u.ctx && i(u.ctx[
|
|
262
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
|
|
263
|
+
const p = b.length ? b[0] : f;
|
|
264
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && fn(e, c)), f;
|
|
265
265
|
}) : [], u.update(), h = !0, z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
266
266
|
if (t.hydrate) {
|
|
267
|
-
const
|
|
268
|
-
u.fragment && u.fragment.l(
|
|
267
|
+
const c = Jr(t.target);
|
|
268
|
+
u.fragment && u.fragment.l(c), c.forEach(P);
|
|
269
269
|
} else
|
|
270
270
|
u.fragment && u.fragment.c();
|
|
271
|
-
t.intro && qt(e.$$.fragment),
|
|
271
|
+
t.intro && qt(e.$$.fragment), hn(e, t.target, t.anchor), U();
|
|
272
272
|
}
|
|
273
|
-
|
|
273
|
+
ce(l);
|
|
274
274
|
}
|
|
275
275
|
let Jt;
|
|
276
276
|
typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
277
277
|
constructor(t, r, n) {
|
|
278
278
|
super();
|
|
279
279
|
/** The Svelte component constructor */
|
|
280
|
-
|
|
280
|
+
G(this, "$$ctor");
|
|
281
281
|
/** Slots */
|
|
282
|
-
|
|
282
|
+
G(this, "$$s");
|
|
283
283
|
/** The Svelte component instance */
|
|
284
|
-
|
|
284
|
+
G(this, "$$c");
|
|
285
285
|
/** Whether or not the custom element is connected */
|
|
286
|
-
|
|
286
|
+
G(this, "$$cn", !1);
|
|
287
287
|
/** Component props data */
|
|
288
|
-
|
|
288
|
+
G(this, "$$d", {});
|
|
289
289
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
290
|
-
|
|
290
|
+
G(this, "$$r", !1);
|
|
291
291
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
292
|
-
|
|
292
|
+
G(this, "$$p_d", {});
|
|
293
293
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
294
|
-
|
|
294
|
+
G(this, "$$l", {});
|
|
295
295
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
296
|
-
|
|
296
|
+
G(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
297
297
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
298
298
|
}
|
|
299
299
|
addEventListener(t, r, n) {
|
|
@@ -310,31 +310,31 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
|
310
310
|
}
|
|
311
311
|
}
|
|
312
312
|
connectedCallback() {
|
|
313
|
-
return
|
|
313
|
+
return mt(this, null, function* () {
|
|
314
314
|
if (this.$$cn = !0, !this.$$c) {
|
|
315
315
|
let t = function(o) {
|
|
316
316
|
return () => {
|
|
317
317
|
let s;
|
|
318
318
|
return {
|
|
319
319
|
c: function() {
|
|
320
|
-
s =
|
|
320
|
+
s = S("slot"), o !== "default" && x(s, "name", o);
|
|
321
321
|
},
|
|
322
322
|
/**
|
|
323
323
|
* @param {HTMLElement} target
|
|
324
324
|
* @param {HTMLElement} [anchor]
|
|
325
325
|
*/
|
|
326
326
|
m: function(u, h) {
|
|
327
|
-
|
|
327
|
+
L(u, s, h);
|
|
328
328
|
},
|
|
329
329
|
d: function(u) {
|
|
330
|
-
u &&
|
|
330
|
+
u && P(s);
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
333
|
};
|
|
334
334
|
};
|
|
335
335
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
336
336
|
return;
|
|
337
|
-
const r = {}, n =
|
|
337
|
+
const r = {}, n = Kr(this);
|
|
338
338
|
for (const o of this.$$s)
|
|
339
339
|
o in n && (r[o] = [t(o)]);
|
|
340
340
|
for (const o of this.attributes) {
|
|
@@ -345,7 +345,7 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
|
|
|
345
345
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
346
346
|
this.$$c = new this.$$ctor({
|
|
347
347
|
target: this.shadowRoot || this,
|
|
348
|
-
props:
|
|
348
|
+
props: pt(dt({}, this.$$d), {
|
|
349
349
|
$$slots: r,
|
|
350
350
|
$$scope: {
|
|
351
351
|
ctx: []
|
|
@@ -423,7 +423,7 @@ function ye(e, t, r, n) {
|
|
|
423
423
|
return t;
|
|
424
424
|
}
|
|
425
425
|
}
|
|
426
|
-
function
|
|
426
|
+
function pn(e, t, r, n, i, o) {
|
|
427
427
|
let s = class extends Jt {
|
|
428
428
|
constructor() {
|
|
429
429
|
super(e, r, i), this.$$p_d = t;
|
|
@@ -454,7 +454,7 @@ function dn(e, t, r, n, i, o) {
|
|
|
454
454
|
}), e.element = /** @type {any} */
|
|
455
455
|
s, s;
|
|
456
456
|
}
|
|
457
|
-
class
|
|
457
|
+
class mn {
|
|
458
458
|
constructor() {
|
|
459
459
|
/**
|
|
460
460
|
* ### PRIVATE API
|
|
@@ -463,7 +463,7 @@ class pn {
|
|
|
463
463
|
*
|
|
464
464
|
* @type {any}
|
|
465
465
|
*/
|
|
466
|
-
|
|
466
|
+
G(this, "$$");
|
|
467
467
|
/**
|
|
468
468
|
* ### PRIVATE API
|
|
469
469
|
*
|
|
@@ -471,11 +471,11 @@ class pn {
|
|
|
471
471
|
*
|
|
472
472
|
* @type {any}
|
|
473
473
|
*/
|
|
474
|
-
|
|
474
|
+
G(this, "$$set");
|
|
475
475
|
}
|
|
476
476
|
/** @returns {void} */
|
|
477
477
|
$destroy() {
|
|
478
|
-
|
|
478
|
+
cn(this, 1), this.$destroy = D;
|
|
479
479
|
}
|
|
480
480
|
/**
|
|
481
481
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -484,7 +484,7 @@ class pn {
|
|
|
484
484
|
* @returns {() => void}
|
|
485
485
|
*/
|
|
486
486
|
$on(t, r) {
|
|
487
|
-
if (!
|
|
487
|
+
if (!Te(r))
|
|
488
488
|
return D;
|
|
489
489
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
490
490
|
return n.push(r), () => {
|
|
@@ -497,22 +497,22 @@ class pn {
|
|
|
497
497
|
* @returns {void}
|
|
498
498
|
*/
|
|
499
499
|
$set(t) {
|
|
500
|
-
this.$$set && !
|
|
500
|
+
this.$$set && !zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
501
501
|
}
|
|
502
502
|
}
|
|
503
|
-
const
|
|
504
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
505
|
-
var
|
|
506
|
-
return
|
|
503
|
+
const bn = "4";
|
|
504
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(bn);
|
|
505
|
+
var We = function(e, t) {
|
|
506
|
+
return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
507
507
|
r.__proto__ = n;
|
|
508
508
|
} || function(r, n) {
|
|
509
509
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
510
|
-
},
|
|
510
|
+
}, We(e, t);
|
|
511
511
|
};
|
|
512
|
-
function
|
|
512
|
+
function V(e, t) {
|
|
513
513
|
if (typeof t != "function" && t !== null)
|
|
514
514
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
515
|
-
|
|
515
|
+
We(e, t);
|
|
516
516
|
function r() {
|
|
517
517
|
this.constructor = e;
|
|
518
518
|
}
|
|
@@ -527,7 +527,7 @@ var y = function() {
|
|
|
527
527
|
return t;
|
|
528
528
|
}, y.apply(this, arguments);
|
|
529
529
|
};
|
|
530
|
-
function
|
|
530
|
+
function gn(e, t) {
|
|
531
531
|
var r = {};
|
|
532
532
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
533
533
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -535,7 +535,7 @@ function bn(e, t) {
|
|
|
535
535
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
536
536
|
return r;
|
|
537
537
|
}
|
|
538
|
-
function
|
|
538
|
+
function Xe(e) {
|
|
539
539
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
540
540
|
if (r) return r.call(e);
|
|
541
541
|
if (e && typeof e.length == "number") return {
|
|
@@ -545,7 +545,7 @@ function We(e) {
|
|
|
545
545
|
};
|
|
546
546
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
547
547
|
}
|
|
548
|
-
function
|
|
548
|
+
function ze(e, t) {
|
|
549
549
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
550
550
|
if (!r) return e;
|
|
551
551
|
var n = r.call(e), i, o = [], s;
|
|
@@ -567,16 +567,16 @@ function re(e, t, r) {
|
|
|
567
567
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
568
568
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function j(e) {
|
|
571
571
|
return typeof e == "function";
|
|
572
572
|
}
|
|
573
|
-
function
|
|
573
|
+
function Kt(e) {
|
|
574
574
|
var t = function(n) {
|
|
575
575
|
Error.call(n), n.stack = new Error().stack;
|
|
576
576
|
}, r = e(t);
|
|
577
577
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
578
578
|
}
|
|
579
|
-
var
|
|
579
|
+
var Re = Kt(function(e) {
|
|
580
580
|
return function(r) {
|
|
581
581
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
582
582
|
` + r.map(function(n, i) {
|
|
@@ -585,13 +585,13 @@ var Ne = Yt(function(e) {
|
|
|
585
585
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
586
586
|
};
|
|
587
587
|
});
|
|
588
|
-
function
|
|
588
|
+
function Ze(e, t) {
|
|
589
589
|
if (e) {
|
|
590
590
|
var r = e.indexOf(t);
|
|
591
591
|
0 <= r && e.splice(r, 1);
|
|
592
592
|
}
|
|
593
593
|
}
|
|
594
|
-
var
|
|
594
|
+
var He = function() {
|
|
595
595
|
function e(t) {
|
|
596
596
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
597
597
|
}
|
|
@@ -603,7 +603,7 @@ var Te = function() {
|
|
|
603
603
|
if (s)
|
|
604
604
|
if (this._parentage = null, Array.isArray(s))
|
|
605
605
|
try {
|
|
606
|
-
for (var a =
|
|
606
|
+
for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
|
|
607
607
|
var u = l.value;
|
|
608
608
|
u.remove(this);
|
|
609
609
|
}
|
|
@@ -619,42 +619,42 @@ var Te = function() {
|
|
|
619
619
|
else
|
|
620
620
|
s.remove(this);
|
|
621
621
|
var h = this.initialTeardown;
|
|
622
|
-
if (
|
|
622
|
+
if (j(h))
|
|
623
623
|
try {
|
|
624
624
|
h();
|
|
625
625
|
} catch (m) {
|
|
626
|
-
o = m instanceof
|
|
626
|
+
o = m instanceof Re ? m.errors : [m];
|
|
627
627
|
}
|
|
628
|
-
var
|
|
629
|
-
if (
|
|
628
|
+
var c = this._finalizers;
|
|
629
|
+
if (c) {
|
|
630
630
|
this._finalizers = null;
|
|
631
631
|
try {
|
|
632
|
-
for (var
|
|
632
|
+
for (var f = Xe(c), b = f.next(); !b.done; b = f.next()) {
|
|
633
633
|
var p = b.value;
|
|
634
634
|
try {
|
|
635
|
-
|
|
635
|
+
yt(p);
|
|
636
636
|
} catch (m) {
|
|
637
|
-
o = o != null ? o : [], m instanceof
|
|
637
|
+
o = o != null ? o : [], m instanceof Re ? o = re(re([], ze(o)), ze(m.errors)) : o.push(m);
|
|
638
638
|
}
|
|
639
639
|
}
|
|
640
640
|
} catch (m) {
|
|
641
641
|
n = { error: m };
|
|
642
642
|
} finally {
|
|
643
643
|
try {
|
|
644
|
-
b && !b.done && (i =
|
|
644
|
+
b && !b.done && (i = f.return) && i.call(f);
|
|
645
645
|
} finally {
|
|
646
646
|
if (n) throw n.error;
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
649
|
}
|
|
650
650
|
if (o)
|
|
651
|
-
throw new
|
|
651
|
+
throw new Re(o);
|
|
652
652
|
}
|
|
653
653
|
}, e.prototype.add = function(t) {
|
|
654
654
|
var r;
|
|
655
655
|
if (t && t !== this)
|
|
656
656
|
if (this.closed)
|
|
657
|
-
|
|
657
|
+
yt(t);
|
|
658
658
|
else {
|
|
659
659
|
if (t instanceof e) {
|
|
660
660
|
if (t.closed || t._hasParent(this))
|
|
@@ -671,57 +671,56 @@ var Te = function() {
|
|
|
671
671
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
672
672
|
}, e.prototype._removeParent = function(t) {
|
|
673
673
|
var r = this._parentage;
|
|
674
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
674
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
|
|
675
675
|
}, e.prototype.remove = function(t) {
|
|
676
676
|
var r = this._finalizers;
|
|
677
|
-
r &&
|
|
677
|
+
r && Ze(r, t), t instanceof e && t._removeParent(this);
|
|
678
678
|
}, e.EMPTY = function() {
|
|
679
679
|
var t = new e();
|
|
680
680
|
return t.closed = !0, t;
|
|
681
681
|
}(), e;
|
|
682
|
-
}(),
|
|
683
|
-
function
|
|
684
|
-
return e instanceof
|
|
682
|
+
}(), er = He.EMPTY;
|
|
683
|
+
function tr(e) {
|
|
684
|
+
return e instanceof He || e && "closed" in e && j(e.remove) && j(e.add) && j(e.unsubscribe);
|
|
685
685
|
}
|
|
686
|
-
function
|
|
687
|
-
|
|
686
|
+
function yt(e) {
|
|
687
|
+
j(e) ? e() : e.unsubscribe();
|
|
688
688
|
}
|
|
689
|
-
var
|
|
689
|
+
var rr = {
|
|
690
690
|
onUnhandledError: null,
|
|
691
691
|
onStoppedNotification: null,
|
|
692
692
|
Promise: void 0,
|
|
693
693
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
694
694
|
useDeprecatedNextContext: !1
|
|
695
|
-
},
|
|
695
|
+
}, vn = {
|
|
696
696
|
setTimeout: function(e, t) {
|
|
697
697
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
698
698
|
r[n - 2] = arguments[n];
|
|
699
|
-
return setTimeout.apply(void 0, re([e, t],
|
|
699
|
+
return setTimeout.apply(void 0, re([e, t], ze(r)));
|
|
700
700
|
},
|
|
701
701
|
clearTimeout: function(e) {
|
|
702
|
-
|
|
703
|
-
return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
|
|
702
|
+
return clearTimeout(e);
|
|
704
703
|
},
|
|
705
704
|
delegate: void 0
|
|
706
705
|
};
|
|
707
|
-
function
|
|
708
|
-
|
|
706
|
+
function yn(e) {
|
|
707
|
+
vn.setTimeout(function() {
|
|
709
708
|
throw e;
|
|
710
709
|
});
|
|
711
710
|
}
|
|
712
|
-
function
|
|
711
|
+
function _t() {
|
|
713
712
|
}
|
|
714
713
|
function _e(e) {
|
|
715
714
|
e();
|
|
716
715
|
}
|
|
717
716
|
var nr = function(e) {
|
|
718
|
-
|
|
717
|
+
V(t, e);
|
|
719
718
|
function t(r) {
|
|
720
719
|
var n = e.call(this) || this;
|
|
721
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
720
|
+
return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = Cn, n;
|
|
722
721
|
}
|
|
723
722
|
return t.create = function(r, n, i) {
|
|
724
|
-
return new
|
|
723
|
+
return new Qe(r, n, i);
|
|
725
724
|
}, t.prototype.next = function(r) {
|
|
726
725
|
this.isStopped || this._next(r);
|
|
727
726
|
}, t.prototype.error = function(r) {
|
|
@@ -745,11 +744,11 @@ var nr = function(e) {
|
|
|
745
744
|
this.unsubscribe();
|
|
746
745
|
}
|
|
747
746
|
}, t;
|
|
748
|
-
}(
|
|
749
|
-
function
|
|
750
|
-
return
|
|
747
|
+
}(He), _n = Function.prototype.bind;
|
|
748
|
+
function Ue(e, t) {
|
|
749
|
+
return _n.call(e, t);
|
|
751
750
|
}
|
|
752
|
-
var
|
|
751
|
+
var xn = function() {
|
|
753
752
|
function e(t) {
|
|
754
753
|
this.partialObserver = t;
|
|
755
754
|
}
|
|
@@ -780,11 +779,11 @@ var yn = function() {
|
|
|
780
779
|
ge(r);
|
|
781
780
|
}
|
|
782
781
|
}, e;
|
|
783
|
-
}(),
|
|
784
|
-
|
|
782
|
+
}(), Qe = function(e) {
|
|
783
|
+
V(t, e);
|
|
785
784
|
function t(r, n, i) {
|
|
786
785
|
var o = e.call(this) || this, s;
|
|
787
|
-
if (
|
|
786
|
+
if (j(r) || !r)
|
|
788
787
|
s = {
|
|
789
788
|
next: r != null ? r : void 0,
|
|
790
789
|
error: n != null ? n : void 0,
|
|
@@ -792,43 +791,43 @@ var yn = function() {
|
|
|
792
791
|
};
|
|
793
792
|
else {
|
|
794
793
|
var a;
|
|
795
|
-
o &&
|
|
794
|
+
o && rr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
796
795
|
return o.unsubscribe();
|
|
797
796
|
}, s = {
|
|
798
|
-
next: r.next &&
|
|
799
|
-
error: r.error &&
|
|
800
|
-
complete: r.complete &&
|
|
797
|
+
next: r.next && Ue(r.next, a),
|
|
798
|
+
error: r.error && Ue(r.error, a),
|
|
799
|
+
complete: r.complete && Ue(r.complete, a)
|
|
801
800
|
}) : s = r;
|
|
802
801
|
}
|
|
803
|
-
return o.destination = new
|
|
802
|
+
return o.destination = new xn(s), o;
|
|
804
803
|
}
|
|
805
804
|
return t;
|
|
806
805
|
}(nr);
|
|
807
806
|
function ge(e) {
|
|
808
|
-
|
|
807
|
+
yn(e);
|
|
809
808
|
}
|
|
810
|
-
function
|
|
809
|
+
function En(e) {
|
|
811
810
|
throw e;
|
|
812
811
|
}
|
|
813
|
-
var
|
|
812
|
+
var Cn = {
|
|
814
813
|
closed: !0,
|
|
815
|
-
next:
|
|
816
|
-
error:
|
|
817
|
-
complete:
|
|
818
|
-
},
|
|
814
|
+
next: _t,
|
|
815
|
+
error: En,
|
|
816
|
+
complete: _t
|
|
817
|
+
}, wn = function() {
|
|
819
818
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
820
819
|
}();
|
|
821
|
-
function
|
|
820
|
+
function Sn(e) {
|
|
822
821
|
return e;
|
|
823
822
|
}
|
|
824
|
-
function
|
|
825
|
-
return e.length === 0 ?
|
|
823
|
+
function Tn(e) {
|
|
824
|
+
return e.length === 0 ? Sn : e.length === 1 ? e[0] : function(r) {
|
|
826
825
|
return e.reduce(function(n, i) {
|
|
827
826
|
return i(n);
|
|
828
827
|
}, r);
|
|
829
828
|
};
|
|
830
829
|
}
|
|
831
|
-
var
|
|
830
|
+
var xt = function() {
|
|
832
831
|
function e(t) {
|
|
833
832
|
t && (this._subscribe = t);
|
|
834
833
|
}
|
|
@@ -836,7 +835,7 @@ var _t = function() {
|
|
|
836
835
|
var r = new e();
|
|
837
836
|
return r.source = this, r.operator = t, r;
|
|
838
837
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
839
|
-
var i = this, o =
|
|
838
|
+
var i = this, o = An(t) ? t : new Qe(t, r, n);
|
|
840
839
|
return _e(function() {
|
|
841
840
|
var s = i, a = s.operator, l = s.source;
|
|
842
841
|
o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
@@ -850,7 +849,7 @@ var _t = function() {
|
|
|
850
849
|
}, e.prototype.forEach = function(t, r) {
|
|
851
850
|
var n = this;
|
|
852
851
|
return r = Et(r), new r(function(i, o) {
|
|
853
|
-
var s = new
|
|
852
|
+
var s = new Qe({
|
|
854
853
|
next: function(a) {
|
|
855
854
|
try {
|
|
856
855
|
t(a);
|
|
@@ -866,12 +865,12 @@ var _t = function() {
|
|
|
866
865
|
}, e.prototype._subscribe = function(t) {
|
|
867
866
|
var r;
|
|
868
867
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
869
|
-
}, e.prototype[
|
|
868
|
+
}, e.prototype[wn] = function() {
|
|
870
869
|
return this;
|
|
871
870
|
}, e.prototype.pipe = function() {
|
|
872
871
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
873
872
|
t[r] = arguments[r];
|
|
874
|
-
return
|
|
873
|
+
return Tn(t)(this);
|
|
875
874
|
}, e.prototype.toPromise = function(t) {
|
|
876
875
|
var r = this;
|
|
877
876
|
return t = Et(t), new t(function(n, i) {
|
|
@@ -890,30 +889,30 @@ var _t = function() {
|
|
|
890
889
|
}();
|
|
891
890
|
function Et(e) {
|
|
892
891
|
var t;
|
|
893
|
-
return (t = e != null ? e :
|
|
892
|
+
return (t = e != null ? e : rr.Promise) !== null && t !== void 0 ? t : Promise;
|
|
894
893
|
}
|
|
895
|
-
function
|
|
896
|
-
return e &&
|
|
894
|
+
function Hn(e) {
|
|
895
|
+
return e && j(e.next) && j(e.error) && j(e.complete);
|
|
897
896
|
}
|
|
898
|
-
function
|
|
899
|
-
return e && e instanceof nr ||
|
|
897
|
+
function An(e) {
|
|
898
|
+
return e && e instanceof nr || Hn(e) && tr(e);
|
|
900
899
|
}
|
|
901
|
-
var
|
|
900
|
+
var In = Kt(function(e) {
|
|
902
901
|
return function() {
|
|
903
902
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
904
903
|
};
|
|
905
904
|
}), ir = function(e) {
|
|
906
|
-
|
|
905
|
+
V(t, e);
|
|
907
906
|
function t() {
|
|
908
907
|
var r = e.call(this) || this;
|
|
909
908
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
910
909
|
}
|
|
911
910
|
return t.prototype.lift = function(r) {
|
|
912
|
-
var n = new
|
|
911
|
+
var n = new Ct(this, this);
|
|
913
912
|
return n.operator = r, n;
|
|
914
913
|
}, t.prototype._throwIfClosed = function() {
|
|
915
914
|
if (this.closed)
|
|
916
|
-
throw new
|
|
915
|
+
throw new In();
|
|
917
916
|
}, t.prototype.next = function(r) {
|
|
918
917
|
var n = this;
|
|
919
918
|
_e(function() {
|
|
@@ -921,7 +920,7 @@ var Hn = Yt(function(e) {
|
|
|
921
920
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
922
921
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
923
922
|
try {
|
|
924
|
-
for (var s =
|
|
923
|
+
for (var s = Xe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
925
924
|
var l = a.value;
|
|
926
925
|
l.next(r);
|
|
927
926
|
}
|
|
@@ -969,20 +968,20 @@ var Hn = Yt(function(e) {
|
|
|
969
968
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
970
969
|
}, t.prototype._innerSubscribe = function(r) {
|
|
971
970
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
972
|
-
return o || s ?
|
|
973
|
-
n.currentObservers = null,
|
|
971
|
+
return o || s ? er : (this.currentObservers = null, a.push(r), new He(function() {
|
|
972
|
+
n.currentObservers = null, Ze(a, r);
|
|
974
973
|
}));
|
|
975
974
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
976
975
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
977
976
|
i ? r.error(o) : s && r.complete();
|
|
978
977
|
}, t.prototype.asObservable = function() {
|
|
979
|
-
var r = new
|
|
978
|
+
var r = new xt();
|
|
980
979
|
return r.source = this, r;
|
|
981
980
|
}, t.create = function(r, n) {
|
|
982
|
-
return new
|
|
981
|
+
return new Ct(r, n);
|
|
983
982
|
}, t;
|
|
984
|
-
}(
|
|
985
|
-
|
|
983
|
+
}(xt), Ct = function(e) {
|
|
984
|
+
V(t, e);
|
|
986
985
|
function t(r, n) {
|
|
987
986
|
var i = e.call(this) || this;
|
|
988
987
|
return i.destination = r, i.source = n, i;
|
|
@@ -998,15 +997,15 @@ var Hn = Yt(function(e) {
|
|
|
998
997
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
999
998
|
}, t.prototype._subscribe = function(r) {
|
|
1000
999
|
var n, i;
|
|
1001
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1000
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
|
|
1002
1001
|
}, t;
|
|
1003
1002
|
}(ir), or = {
|
|
1004
1003
|
now: function() {
|
|
1005
1004
|
return (or.delegate || Date).now();
|
|
1006
1005
|
},
|
|
1007
1006
|
delegate: void 0
|
|
1008
|
-
},
|
|
1009
|
-
|
|
1007
|
+
}, Bn = function(e) {
|
|
1008
|
+
V(t, e);
|
|
1010
1009
|
function t(r, n, i) {
|
|
1011
1010
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = or);
|
|
1012
1011
|
var o = e.call(this) || this;
|
|
@@ -1029,30 +1028,30 @@ var Hn = Yt(function(e) {
|
|
|
1029
1028
|
}
|
|
1030
1029
|
}, t;
|
|
1031
1030
|
}(ir);
|
|
1032
|
-
const
|
|
1033
|
-
if (
|
|
1034
|
-
const r = new
|
|
1035
|
-
|
|
1031
|
+
const wt = [], St = {}, Pn = (e, t = 0) => {
|
|
1032
|
+
if (wt.indexOf(e) == -1) {
|
|
1033
|
+
const r = new Bn(t);
|
|
1034
|
+
St[e] = r, wt.push(e);
|
|
1036
1035
|
}
|
|
1037
|
-
return
|
|
1038
|
-
},
|
|
1039
|
-
function
|
|
1036
|
+
return St[e];
|
|
1037
|
+
}, q = [];
|
|
1038
|
+
function Mn(e, t) {
|
|
1040
1039
|
return {
|
|
1041
|
-
subscribe:
|
|
1040
|
+
subscribe: Ae(e, t).subscribe
|
|
1042
1041
|
};
|
|
1043
1042
|
}
|
|
1044
|
-
function
|
|
1043
|
+
function Ae(e, t = D) {
|
|
1045
1044
|
let r;
|
|
1046
1045
|
const n = /* @__PURE__ */ new Set();
|
|
1047
1046
|
function i(a) {
|
|
1048
|
-
if (
|
|
1049
|
-
const l = !
|
|
1047
|
+
if (Yt(e, a) && (e = a, r)) {
|
|
1048
|
+
const l = !q.length;
|
|
1050
1049
|
for (const u of n)
|
|
1051
|
-
u[1](),
|
|
1050
|
+
u[1](), q.push(u, e);
|
|
1052
1051
|
if (l) {
|
|
1053
|
-
for (let u = 0; u <
|
|
1054
|
-
|
|
1055
|
-
|
|
1052
|
+
for (let u = 0; u < q.length; u += 2)
|
|
1053
|
+
q[u][0](q[u + 1]);
|
|
1054
|
+
q.length = 0;
|
|
1056
1055
|
}
|
|
1057
1056
|
}
|
|
1058
1057
|
}
|
|
@@ -1072,73 +1071,73 @@ function ae(e, t, r) {
|
|
|
1072
1071
|
if (!i.every(Boolean))
|
|
1073
1072
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1074
1073
|
const o = t.length < 2;
|
|
1075
|
-
return
|
|
1074
|
+
return Mn(r, (s, a) => {
|
|
1076
1075
|
let l = !1;
|
|
1077
1076
|
const u = [];
|
|
1078
|
-
let h = 0,
|
|
1079
|
-
const
|
|
1077
|
+
let h = 0, c = D;
|
|
1078
|
+
const f = () => {
|
|
1080
1079
|
if (h)
|
|
1081
1080
|
return;
|
|
1082
|
-
|
|
1081
|
+
c();
|
|
1083
1082
|
const p = t(n ? u[0] : u, s, a);
|
|
1084
|
-
o ? s(p) :
|
|
1083
|
+
o ? s(p) : c = Te(p) ? p : D;
|
|
1085
1084
|
}, b = i.map(
|
|
1086
|
-
(p, m) =>
|
|
1085
|
+
(p, m) => Zr(
|
|
1087
1086
|
p,
|
|
1088
1087
|
(_) => {
|
|
1089
|
-
u[m] = _, h &= ~(1 << m), l &&
|
|
1088
|
+
u[m] = _, h &= ~(1 << m), l && f();
|
|
1090
1089
|
},
|
|
1091
1090
|
() => {
|
|
1092
1091
|
h |= 1 << m;
|
|
1093
1092
|
}
|
|
1094
1093
|
)
|
|
1095
1094
|
);
|
|
1096
|
-
return l = !0,
|
|
1097
|
-
z(b),
|
|
1095
|
+
return l = !0, f(), function() {
|
|
1096
|
+
z(b), c(), l = !1;
|
|
1098
1097
|
};
|
|
1099
1098
|
});
|
|
1100
1099
|
}
|
|
1101
|
-
function
|
|
1100
|
+
function On(e) {
|
|
1102
1101
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1103
1102
|
}
|
|
1104
|
-
var
|
|
1105
|
-
return
|
|
1103
|
+
var Ln = function(t) {
|
|
1104
|
+
return Nn(t) && !Rn(t);
|
|
1106
1105
|
};
|
|
1107
|
-
function
|
|
1106
|
+
function Nn(e) {
|
|
1108
1107
|
return !!e && typeof e == "object";
|
|
1109
1108
|
}
|
|
1110
|
-
function
|
|
1109
|
+
function Rn(e) {
|
|
1111
1110
|
var t = Object.prototype.toString.call(e);
|
|
1112
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1111
|
+
return t === "[object RegExp]" || t === "[object Date]" || $n(e);
|
|
1113
1112
|
}
|
|
1114
|
-
var
|
|
1115
|
-
function
|
|
1116
|
-
return e.$$typeof ===
|
|
1113
|
+
var Un = typeof Symbol == "function" && Symbol.for, Dn = Un ? Symbol.for("react.element") : 60103;
|
|
1114
|
+
function $n(e) {
|
|
1115
|
+
return e.$$typeof === Dn;
|
|
1117
1116
|
}
|
|
1118
|
-
function
|
|
1117
|
+
function kn(e) {
|
|
1119
1118
|
return Array.isArray(e) ? [] : {};
|
|
1120
1119
|
}
|
|
1121
1120
|
function de(e, t) {
|
|
1122
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? ne(
|
|
1121
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? ne(kn(e), e, t) : e;
|
|
1123
1122
|
}
|
|
1124
|
-
function
|
|
1123
|
+
function Gn(e, t, r) {
|
|
1125
1124
|
return e.concat(t).map(function(n) {
|
|
1126
1125
|
return de(n, r);
|
|
1127
1126
|
});
|
|
1128
1127
|
}
|
|
1129
|
-
function
|
|
1128
|
+
function Fn(e, t) {
|
|
1130
1129
|
if (!t.customMerge)
|
|
1131
1130
|
return ne;
|
|
1132
1131
|
var r = t.customMerge(e);
|
|
1133
1132
|
return typeof r == "function" ? r : ne;
|
|
1134
1133
|
}
|
|
1135
|
-
function
|
|
1134
|
+
function jn(e) {
|
|
1136
1135
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1137
1136
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1138
1137
|
}) : [];
|
|
1139
1138
|
}
|
|
1140
|
-
function
|
|
1141
|
-
return Object.keys(e).concat(
|
|
1139
|
+
function Tt(e) {
|
|
1140
|
+
return Object.keys(e).concat(jn(e));
|
|
1142
1141
|
}
|
|
1143
1142
|
function sr(e, t) {
|
|
1144
1143
|
try {
|
|
@@ -1147,21 +1146,21 @@ function sr(e, t) {
|
|
|
1147
1146
|
return !1;
|
|
1148
1147
|
}
|
|
1149
1148
|
}
|
|
1150
|
-
function
|
|
1149
|
+
function Vn(e, t) {
|
|
1151
1150
|
return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1152
1151
|
}
|
|
1153
|
-
function
|
|
1152
|
+
function Wn(e, t, r) {
|
|
1154
1153
|
var n = {};
|
|
1155
|
-
return r.isMergeableObject(e) &&
|
|
1154
|
+
return r.isMergeableObject(e) && Tt(e).forEach(function(i) {
|
|
1156
1155
|
n[i] = de(e[i], r);
|
|
1157
|
-
}),
|
|
1158
|
-
|
|
1156
|
+
}), Tt(t).forEach(function(i) {
|
|
1157
|
+
Vn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Fn(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
|
|
1159
1158
|
}), n;
|
|
1160
1159
|
}
|
|
1161
1160
|
function ne(e, t, r) {
|
|
1162
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1161
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject || Ln, r.cloneUnlessOtherwiseSpecified = de;
|
|
1163
1162
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1164
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1163
|
+
return o ? n ? r.arrayMerge(e, t, r) : Wn(e, t, r) : de(t, r);
|
|
1165
1164
|
}
|
|
1166
1165
|
ne.all = function(t, r) {
|
|
1167
1166
|
if (!Array.isArray(t))
|
|
@@ -1170,9 +1169,59 @@ ne.all = function(t, r) {
|
|
|
1170
1169
|
return ne(n, i, r);
|
|
1171
1170
|
}, {});
|
|
1172
1171
|
};
|
|
1173
|
-
var
|
|
1174
|
-
const
|
|
1175
|
-
|
|
1172
|
+
var Xn = ne, zn = Xn;
|
|
1173
|
+
const Zn = /* @__PURE__ */ On(zn);
|
|
1174
|
+
function De(e, t) {
|
|
1175
|
+
var r = t && t.cache ? t.cache : ei, n = t && t.serializer ? t.serializer : Kn, i = t && t.strategy ? t.strategy : Yn;
|
|
1176
|
+
return i(e, {
|
|
1177
|
+
cache: r,
|
|
1178
|
+
serializer: n
|
|
1179
|
+
});
|
|
1180
|
+
}
|
|
1181
|
+
function Qn(e) {
|
|
1182
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1183
|
+
}
|
|
1184
|
+
function ar(e, t, r, n) {
|
|
1185
|
+
var i = Qn(n) ? n : r(n), o = t.get(i);
|
|
1186
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1187
|
+
}
|
|
1188
|
+
function lr(e, t, r) {
|
|
1189
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1190
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1191
|
+
}
|
|
1192
|
+
function st(e, t, r, n, i) {
|
|
1193
|
+
return r.bind(t, e, n, i);
|
|
1194
|
+
}
|
|
1195
|
+
function Yn(e, t) {
|
|
1196
|
+
var r = e.length === 1 ? ar : lr;
|
|
1197
|
+
return st(e, this, r, t.cache.create(), t.serializer);
|
|
1198
|
+
}
|
|
1199
|
+
function qn(e, t) {
|
|
1200
|
+
return st(e, this, lr, t.cache.create(), t.serializer);
|
|
1201
|
+
}
|
|
1202
|
+
function Jn(e, t) {
|
|
1203
|
+
return st(e, this, ar, t.cache.create(), t.serializer);
|
|
1204
|
+
}
|
|
1205
|
+
var Kn = function() {
|
|
1206
|
+
return JSON.stringify(arguments);
|
|
1207
|
+
};
|
|
1208
|
+
function at() {
|
|
1209
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1210
|
+
}
|
|
1211
|
+
at.prototype.get = function(e) {
|
|
1212
|
+
return this.cache[e];
|
|
1213
|
+
};
|
|
1214
|
+
at.prototype.set = function(e, t) {
|
|
1215
|
+
this.cache[e] = t;
|
|
1216
|
+
};
|
|
1217
|
+
var ei = {
|
|
1218
|
+
create: function() {
|
|
1219
|
+
return new at();
|
|
1220
|
+
}
|
|
1221
|
+
}, $e = {
|
|
1222
|
+
variadic: qn,
|
|
1223
|
+
monadic: Jn
|
|
1224
|
+
}, g;
|
|
1176
1225
|
(function(e) {
|
|
1177
1226
|
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";
|
|
1178
1227
|
})(g || (g = {}));
|
|
@@ -1184,43 +1233,43 @@ var ie;
|
|
|
1184
1233
|
(function(e) {
|
|
1185
1234
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1186
1235
|
})(ie || (ie = {}));
|
|
1187
|
-
function
|
|
1236
|
+
function Ht(e) {
|
|
1188
1237
|
return e.type === C.literal;
|
|
1189
1238
|
}
|
|
1190
|
-
function
|
|
1239
|
+
function ti(e) {
|
|
1191
1240
|
return e.type === C.argument;
|
|
1192
1241
|
}
|
|
1193
|
-
function
|
|
1242
|
+
function ur(e) {
|
|
1194
1243
|
return e.type === C.number;
|
|
1195
1244
|
}
|
|
1196
|
-
function
|
|
1245
|
+
function hr(e) {
|
|
1197
1246
|
return e.type === C.date;
|
|
1198
1247
|
}
|
|
1199
|
-
function
|
|
1248
|
+
function cr(e) {
|
|
1200
1249
|
return e.type === C.time;
|
|
1201
1250
|
}
|
|
1202
|
-
function
|
|
1251
|
+
function fr(e) {
|
|
1203
1252
|
return e.type === C.select;
|
|
1204
1253
|
}
|
|
1205
|
-
function
|
|
1254
|
+
function dr(e) {
|
|
1206
1255
|
return e.type === C.plural;
|
|
1207
1256
|
}
|
|
1208
|
-
function
|
|
1257
|
+
function ri(e) {
|
|
1209
1258
|
return e.type === C.pound;
|
|
1210
1259
|
}
|
|
1211
|
-
function
|
|
1260
|
+
function pr(e) {
|
|
1212
1261
|
return e.type === C.tag;
|
|
1213
1262
|
}
|
|
1214
|
-
function
|
|
1263
|
+
function mr(e) {
|
|
1215
1264
|
return !!(e && typeof e == "object" && e.type === ie.number);
|
|
1216
1265
|
}
|
|
1217
|
-
function
|
|
1266
|
+
function Ye(e) {
|
|
1218
1267
|
return !!(e && typeof e == "object" && e.type === ie.dateTime);
|
|
1219
1268
|
}
|
|
1220
|
-
var
|
|
1221
|
-
function
|
|
1269
|
+
var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ni = /(?:[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;
|
|
1270
|
+
function ii(e) {
|
|
1222
1271
|
var t = {};
|
|
1223
|
-
return e.replace(
|
|
1272
|
+
return e.replace(ni, function(r) {
|
|
1224
1273
|
var n = r.length;
|
|
1225
1274
|
switch (r[0]) {
|
|
1226
1275
|
case "G":
|
|
@@ -1309,36 +1358,36 @@ function qn(e) {
|
|
|
1309
1358
|
return "";
|
|
1310
1359
|
}), t;
|
|
1311
1360
|
}
|
|
1312
|
-
var
|
|
1313
|
-
function
|
|
1361
|
+
var oi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1362
|
+
function si(e) {
|
|
1314
1363
|
if (e.length === 0)
|
|
1315
1364
|
throw new Error("Number skeleton cannot be empty");
|
|
1316
|
-
for (var t = e.split(
|
|
1317
|
-
return
|
|
1365
|
+
for (var t = e.split(oi).filter(function(f) {
|
|
1366
|
+
return f.length > 0;
|
|
1318
1367
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1319
1368
|
var o = i[n], s = o.split("/");
|
|
1320
1369
|
if (s.length === 0)
|
|
1321
1370
|
throw new Error("Invalid number skeleton");
|
|
1322
1371
|
for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
|
|
1323
|
-
var
|
|
1324
|
-
if (
|
|
1372
|
+
var c = h[u];
|
|
1373
|
+
if (c.length === 0)
|
|
1325
1374
|
throw new Error("Invalid number skeleton");
|
|
1326
1375
|
}
|
|
1327
1376
|
r.push({ stem: a, options: l });
|
|
1328
1377
|
}
|
|
1329
1378
|
return r;
|
|
1330
1379
|
}
|
|
1331
|
-
function
|
|
1380
|
+
function ai(e) {
|
|
1332
1381
|
return e.replace(/^(.*?)-/, "");
|
|
1333
1382
|
}
|
|
1334
|
-
var
|
|
1383
|
+
var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, li = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
|
|
1335
1384
|
function It(e) {
|
|
1336
1385
|
var t = {};
|
|
1337
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1386
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
|
|
1338
1387
|
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)), "";
|
|
1339
1388
|
}), t;
|
|
1340
1389
|
}
|
|
1341
|
-
function
|
|
1390
|
+
function yr(e) {
|
|
1342
1391
|
switch (e) {
|
|
1343
1392
|
case "sign-auto":
|
|
1344
1393
|
return {
|
|
@@ -1378,7 +1427,7 @@ function gr(e) {
|
|
|
1378
1427
|
};
|
|
1379
1428
|
}
|
|
1380
1429
|
}
|
|
1381
|
-
function
|
|
1430
|
+
function ui(e) {
|
|
1382
1431
|
var t;
|
|
1383
1432
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1384
1433
|
notation: "engineering"
|
|
@@ -1386,17 +1435,17 @@ function ti(e) {
|
|
|
1386
1435
|
notation: "scientific"
|
|
1387
1436
|
}, e = e.slice(1)), t) {
|
|
1388
1437
|
var r = e.slice(0, 2);
|
|
1389
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1438
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
|
|
1390
1439
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1391
1440
|
t.minimumIntegerDigits = e.length;
|
|
1392
1441
|
}
|
|
1393
1442
|
return t;
|
|
1394
1443
|
}
|
|
1395
|
-
function
|
|
1396
|
-
var t = {}, r =
|
|
1444
|
+
function Bt(e) {
|
|
1445
|
+
var t = {}, r = yr(e);
|
|
1397
1446
|
return r || t;
|
|
1398
1447
|
}
|
|
1399
|
-
function
|
|
1448
|
+
function hi(e) {
|
|
1400
1449
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1401
1450
|
var i = n[r];
|
|
1402
1451
|
switch (i.stem) {
|
|
@@ -1420,7 +1469,7 @@ function ri(e) {
|
|
|
1420
1469
|
continue;
|
|
1421
1470
|
case "measure-unit":
|
|
1422
1471
|
case "unit":
|
|
1423
|
-
t.style = "unit", t.unit =
|
|
1472
|
+
t.style = "unit", t.unit = ai(i.options[0]);
|
|
1424
1473
|
continue;
|
|
1425
1474
|
case "compact-short":
|
|
1426
1475
|
case "K":
|
|
@@ -1432,12 +1481,12 @@ function ri(e) {
|
|
|
1432
1481
|
continue;
|
|
1433
1482
|
case "scientific":
|
|
1434
1483
|
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1435
|
-
return y(y({}, l),
|
|
1484
|
+
return y(y({}, l), Bt(u));
|
|
1436
1485
|
}, {}));
|
|
1437
1486
|
continue;
|
|
1438
1487
|
case "engineering":
|
|
1439
1488
|
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1440
|
-
return y(y({}, l),
|
|
1489
|
+
return y(y({}, l), Bt(u));
|
|
1441
1490
|
}, {}));
|
|
1442
1491
|
continue;
|
|
1443
1492
|
case "notation-simple":
|
|
@@ -1482,11 +1531,11 @@ function ri(e) {
|
|
|
1482
1531
|
case "integer-width":
|
|
1483
1532
|
if (i.options.length > 1)
|
|
1484
1533
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1485
|
-
i.options[0].replace(
|
|
1534
|
+
i.options[0].replace(li, function(l, u, h, c, f, b) {
|
|
1486
1535
|
if (u)
|
|
1487
1536
|
t.minimumIntegerDigits = h.length;
|
|
1488
1537
|
else {
|
|
1489
|
-
if (
|
|
1538
|
+
if (c && f)
|
|
1490
1539
|
throw new Error("We currently do not support maximum integer digits");
|
|
1491
1540
|
if (b)
|
|
1492
1541
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1495,27 +1544,27 @@ function ri(e) {
|
|
|
1495
1544
|
});
|
|
1496
1545
|
continue;
|
|
1497
1546
|
}
|
|
1498
|
-
if (
|
|
1547
|
+
if (vr.test(i.stem)) {
|
|
1499
1548
|
t.minimumIntegerDigits = i.stem.length;
|
|
1500
1549
|
continue;
|
|
1501
1550
|
}
|
|
1502
|
-
if (
|
|
1551
|
+
if (At.test(i.stem)) {
|
|
1503
1552
|
if (i.options.length > 1)
|
|
1504
1553
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1505
|
-
i.stem.replace(
|
|
1506
|
-
return h === "*" ? t.minimumFractionDigits = u.length :
|
|
1554
|
+
i.stem.replace(At, function(l, u, h, c, f, b) {
|
|
1555
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1507
1556
|
});
|
|
1508
1557
|
var o = i.options[0];
|
|
1509
1558
|
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), It(o)));
|
|
1510
1559
|
continue;
|
|
1511
1560
|
}
|
|
1512
|
-
if (
|
|
1561
|
+
if (gr.test(i.stem)) {
|
|
1513
1562
|
t = y(y({}, t), It(i.stem));
|
|
1514
1563
|
continue;
|
|
1515
1564
|
}
|
|
1516
|
-
var s =
|
|
1565
|
+
var s = yr(i.stem);
|
|
1517
1566
|
s && (t = y(y({}, t), s));
|
|
1518
|
-
var a =
|
|
1567
|
+
var a = ui(i.stem);
|
|
1519
1568
|
a && (t = y(y({}, t), a));
|
|
1520
1569
|
}
|
|
1521
1570
|
return t;
|
|
@@ -1525,6 +1574,12 @@ var ve = {
|
|
|
1525
1574
|
"H",
|
|
1526
1575
|
"h"
|
|
1527
1576
|
],
|
|
1577
|
+
419: [
|
|
1578
|
+
"h",
|
|
1579
|
+
"H",
|
|
1580
|
+
"hB",
|
|
1581
|
+
"hb"
|
|
1582
|
+
],
|
|
1528
1583
|
AC: [
|
|
1529
1584
|
"H",
|
|
1530
1585
|
"h",
|
|
@@ -1573,8 +1628,8 @@ var ve = {
|
|
|
1573
1628
|
"hB"
|
|
1574
1629
|
],
|
|
1575
1630
|
AR: [
|
|
1576
|
-
"H",
|
|
1577
1631
|
"h",
|
|
1632
|
+
"H",
|
|
1578
1633
|
"hB",
|
|
1579
1634
|
"hb"
|
|
1580
1635
|
],
|
|
@@ -1664,9 +1719,9 @@ var ve = {
|
|
|
1664
1719
|
"H"
|
|
1665
1720
|
],
|
|
1666
1721
|
BO: [
|
|
1722
|
+
"h",
|
|
1667
1723
|
"H",
|
|
1668
1724
|
"hB",
|
|
1669
|
-
"h",
|
|
1670
1725
|
"hb"
|
|
1671
1726
|
],
|
|
1672
1727
|
BQ: [
|
|
@@ -1743,8 +1798,8 @@ var ve = {
|
|
|
1743
1798
|
"hB"
|
|
1744
1799
|
],
|
|
1745
1800
|
CL: [
|
|
1746
|
-
"H",
|
|
1747
1801
|
"h",
|
|
1802
|
+
"H",
|
|
1748
1803
|
"hB",
|
|
1749
1804
|
"hb"
|
|
1750
1805
|
],
|
|
@@ -1769,14 +1824,14 @@ var ve = {
|
|
|
1769
1824
|
"H"
|
|
1770
1825
|
],
|
|
1771
1826
|
CR: [
|
|
1772
|
-
"H",
|
|
1773
1827
|
"h",
|
|
1828
|
+
"H",
|
|
1774
1829
|
"hB",
|
|
1775
1830
|
"hb"
|
|
1776
1831
|
],
|
|
1777
1832
|
CU: [
|
|
1778
|
-
"H",
|
|
1779
1833
|
"h",
|
|
1834
|
+
"H",
|
|
1780
1835
|
"hB",
|
|
1781
1836
|
"hb"
|
|
1782
1837
|
],
|
|
@@ -1845,9 +1900,9 @@ var ve = {
|
|
|
1845
1900
|
"hb"
|
|
1846
1901
|
],
|
|
1847
1902
|
EC: [
|
|
1903
|
+
"h",
|
|
1848
1904
|
"H",
|
|
1849
1905
|
"hB",
|
|
1850
|
-
"h",
|
|
1851
1906
|
"hb"
|
|
1852
1907
|
],
|
|
1853
1908
|
EE: [
|
|
@@ -1983,8 +2038,8 @@ var ve = {
|
|
|
1983
2038
|
"hB"
|
|
1984
2039
|
],
|
|
1985
2040
|
GT: [
|
|
1986
|
-
"H",
|
|
1987
2041
|
"h",
|
|
2042
|
+
"H",
|
|
1988
2043
|
"hB",
|
|
1989
2044
|
"hb"
|
|
1990
2045
|
],
|
|
@@ -2011,8 +2066,8 @@ var ve = {
|
|
|
2011
2066
|
"H"
|
|
2012
2067
|
],
|
|
2013
2068
|
HN: [
|
|
2014
|
-
"H",
|
|
2015
2069
|
"h",
|
|
2070
|
+
"H",
|
|
2016
2071
|
"hB",
|
|
2017
2072
|
"hb"
|
|
2018
2073
|
],
|
|
@@ -2326,8 +2381,8 @@ var ve = {
|
|
|
2326
2381
|
"hB"
|
|
2327
2382
|
],
|
|
2328
2383
|
MX: [
|
|
2329
|
-
"H",
|
|
2330
2384
|
"h",
|
|
2385
|
+
"H",
|
|
2331
2386
|
"hB",
|
|
2332
2387
|
"hb"
|
|
2333
2388
|
],
|
|
@@ -2367,8 +2422,8 @@ var ve = {
|
|
|
2367
2422
|
"hB"
|
|
2368
2423
|
],
|
|
2369
2424
|
NI: [
|
|
2370
|
-
"H",
|
|
2371
2425
|
"h",
|
|
2426
|
+
"H",
|
|
2372
2427
|
"hB",
|
|
2373
2428
|
"hb"
|
|
2374
2429
|
],
|
|
@@ -2416,9 +2471,9 @@ var ve = {
|
|
|
2416
2471
|
"hb"
|
|
2417
2472
|
],
|
|
2418
2473
|
PE: [
|
|
2474
|
+
"h",
|
|
2419
2475
|
"H",
|
|
2420
2476
|
"hB",
|
|
2421
|
-
"h",
|
|
2422
2477
|
"hb"
|
|
2423
2478
|
],
|
|
2424
2479
|
PF: [
|
|
@@ -2476,8 +2531,8 @@ var ve = {
|
|
|
2476
2531
|
"H"
|
|
2477
2532
|
],
|
|
2478
2533
|
PY: [
|
|
2479
|
-
"H",
|
|
2480
2534
|
"h",
|
|
2535
|
+
"H",
|
|
2481
2536
|
"hB",
|
|
2482
2537
|
"hb"
|
|
2483
2538
|
],
|
|
@@ -2590,8 +2645,8 @@ var ve = {
|
|
|
2590
2645
|
"hB"
|
|
2591
2646
|
],
|
|
2592
2647
|
SV: [
|
|
2593
|
-
"H",
|
|
2594
2648
|
"h",
|
|
2649
|
+
"H",
|
|
2595
2650
|
"hB",
|
|
2596
2651
|
"hb"
|
|
2597
2652
|
],
|
|
@@ -2713,8 +2768,8 @@ var ve = {
|
|
|
2713
2768
|
"hB"
|
|
2714
2769
|
],
|
|
2715
2770
|
UY: [
|
|
2716
|
-
"H",
|
|
2717
2771
|
"h",
|
|
2772
|
+
"H",
|
|
2718
2773
|
"hB",
|
|
2719
2774
|
"hb"
|
|
2720
2775
|
],
|
|
@@ -2822,37 +2877,37 @@ var ve = {
|
|
|
2822
2877
|
"H",
|
|
2823
2878
|
"hB"
|
|
2824
2879
|
],
|
|
2825
|
-
"
|
|
2826
|
-
"H",
|
|
2880
|
+
"en-HK": [
|
|
2827
2881
|
"h",
|
|
2828
|
-
"
|
|
2829
|
-
"
|
|
2882
|
+
"hb",
|
|
2883
|
+
"H",
|
|
2884
|
+
"hB"
|
|
2830
2885
|
],
|
|
2831
|
-
"
|
|
2886
|
+
"en-IL": [
|
|
2832
2887
|
"H",
|
|
2833
2888
|
"h",
|
|
2834
|
-
"
|
|
2835
|
-
"
|
|
2889
|
+
"hb",
|
|
2890
|
+
"hB"
|
|
2836
2891
|
],
|
|
2837
|
-
"
|
|
2838
|
-
"H",
|
|
2892
|
+
"en-MY": [
|
|
2839
2893
|
"h",
|
|
2840
|
-
"
|
|
2841
|
-
"
|
|
2894
|
+
"hb",
|
|
2895
|
+
"H",
|
|
2896
|
+
"hB"
|
|
2842
2897
|
],
|
|
2843
|
-
"es-
|
|
2898
|
+
"es-BR": [
|
|
2844
2899
|
"H",
|
|
2845
2900
|
"h",
|
|
2846
2901
|
"hB",
|
|
2847
2902
|
"hb"
|
|
2848
2903
|
],
|
|
2849
|
-
"es-
|
|
2904
|
+
"es-ES": [
|
|
2850
2905
|
"H",
|
|
2851
2906
|
"h",
|
|
2852
2907
|
"hB",
|
|
2853
2908
|
"hb"
|
|
2854
2909
|
],
|
|
2855
|
-
"es-
|
|
2910
|
+
"es-GQ": [
|
|
2856
2911
|
"H",
|
|
2857
2912
|
"h",
|
|
2858
2913
|
"hB",
|
|
@@ -2929,13 +2984,13 @@ var ve = {
|
|
|
2929
2984
|
"h"
|
|
2930
2985
|
]
|
|
2931
2986
|
};
|
|
2932
|
-
function
|
|
2987
|
+
function ci(e, t) {
|
|
2933
2988
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2934
2989
|
var i = e.charAt(n);
|
|
2935
2990
|
if (i === "j") {
|
|
2936
2991
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2937
2992
|
o++, n++;
|
|
2938
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
2993
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = fi(t);
|
|
2939
2994
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2940
2995
|
r += l;
|
|
2941
2996
|
for (; s-- > 0; )
|
|
@@ -2944,7 +2999,7 @@ function ni(e, t) {
|
|
|
2944
2999
|
}
|
|
2945
3000
|
return r;
|
|
2946
3001
|
}
|
|
2947
|
-
function
|
|
3002
|
+
function fi(e) {
|
|
2948
3003
|
var t = e.hourCycle;
|
|
2949
3004
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2950
3005
|
e.hourCycles && // @ts-ignore
|
|
@@ -2966,20 +3021,20 @@ function ii(e) {
|
|
|
2966
3021
|
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
2967
3022
|
return i[0];
|
|
2968
3023
|
}
|
|
2969
|
-
var
|
|
3024
|
+
var ke, di = new RegExp("^".concat(br.source, "*")), pi = new RegExp("".concat(br.source, "*$"));
|
|
2970
3025
|
function v(e, t) {
|
|
2971
3026
|
return { start: e, end: t };
|
|
2972
3027
|
}
|
|
2973
|
-
var
|
|
3028
|
+
var mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), bi = !!String.fromCodePoint, gi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, _i = !!String.prototype.trimEnd, xi = !!Number.isSafeInteger, Ei = xi ? Number.isSafeInteger : function(e) {
|
|
2974
3029
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2975
3030
|
}, qe = !0;
|
|
2976
3031
|
try {
|
|
2977
|
-
var
|
|
2978
|
-
qe = ((
|
|
3032
|
+
var Ci = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3033
|
+
qe = ((ke = Ci.exec("a")) === null || ke === void 0 ? void 0 : ke[0]) === "a";
|
|
2979
3034
|
} catch (e) {
|
|
2980
3035
|
qe = !1;
|
|
2981
3036
|
}
|
|
2982
|
-
var
|
|
3037
|
+
var Pt = mi ? (
|
|
2983
3038
|
// Native
|
|
2984
3039
|
function(t, r, n) {
|
|
2985
3040
|
return t.startsWith(r, n);
|
|
@@ -2989,7 +3044,7 @@ var Bt = ai ? (
|
|
|
2989
3044
|
function(t, r, n) {
|
|
2990
3045
|
return t.slice(n, n + r.length) === r;
|
|
2991
3046
|
}
|
|
2992
|
-
), Je =
|
|
3047
|
+
), Je = bi ? String.fromCodePoint : (
|
|
2993
3048
|
// IE11
|
|
2994
3049
|
function() {
|
|
2995
3050
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3001,9 +3056,9 @@ var Bt = ai ? (
|
|
|
3001
3056
|
}
|
|
3002
3057
|
return n;
|
|
3003
3058
|
}
|
|
3004
|
-
),
|
|
3059
|
+
), Mt = (
|
|
3005
3060
|
// native
|
|
3006
|
-
|
|
3061
|
+
gi ? Object.fromEntries : (
|
|
3007
3062
|
// Ponyfill
|
|
3008
3063
|
function(t) {
|
|
3009
3064
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3013,7 +3068,7 @@ var Bt = ai ? (
|
|
|
3013
3068
|
return r;
|
|
3014
3069
|
}
|
|
3015
3070
|
)
|
|
3016
|
-
),
|
|
3071
|
+
), _r = vi ? (
|
|
3017
3072
|
// Native
|
|
3018
3073
|
function(t, r) {
|
|
3019
3074
|
return t.codePointAt(r);
|
|
@@ -3027,7 +3082,7 @@ var Bt = ai ? (
|
|
|
3027
3082
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3028
3083
|
}
|
|
3029
3084
|
}
|
|
3030
|
-
),
|
|
3085
|
+
), wi = yi ? (
|
|
3031
3086
|
// Native
|
|
3032
3087
|
function(t) {
|
|
3033
3088
|
return t.trimStart();
|
|
@@ -3035,9 +3090,9 @@ var Bt = ai ? (
|
|
|
3035
3090
|
) : (
|
|
3036
3091
|
// Ponyfill
|
|
3037
3092
|
function(t) {
|
|
3038
|
-
return t.replace(
|
|
3093
|
+
return t.replace(di, "");
|
|
3039
3094
|
}
|
|
3040
|
-
),
|
|
3095
|
+
), Si = _i ? (
|
|
3041
3096
|
// Native
|
|
3042
3097
|
function(t) {
|
|
3043
3098
|
return t.trimEnd();
|
|
@@ -3045,32 +3100,32 @@ var Bt = ai ? (
|
|
|
3045
3100
|
) : (
|
|
3046
3101
|
// Ponyfill
|
|
3047
3102
|
function(t) {
|
|
3048
|
-
return t.replace(
|
|
3103
|
+
return t.replace(pi, "");
|
|
3049
3104
|
}
|
|
3050
3105
|
);
|
|
3051
|
-
function
|
|
3106
|
+
function xr(e, t) {
|
|
3052
3107
|
return new RegExp(e, t);
|
|
3053
3108
|
}
|
|
3054
|
-
var
|
|
3109
|
+
var Ke;
|
|
3055
3110
|
if (qe) {
|
|
3056
|
-
var Ot =
|
|
3057
|
-
|
|
3111
|
+
var Ot = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3112
|
+
Ke = function(t, r) {
|
|
3058
3113
|
var n;
|
|
3059
3114
|
Ot.lastIndex = r;
|
|
3060
3115
|
var i = Ot.exec(t);
|
|
3061
3116
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3062
3117
|
};
|
|
3063
3118
|
} else
|
|
3064
|
-
|
|
3119
|
+
Ke = function(t, r) {
|
|
3065
3120
|
for (var n = []; ; ) {
|
|
3066
|
-
var i =
|
|
3067
|
-
if (i === void 0 ||
|
|
3121
|
+
var i = _r(t, r);
|
|
3122
|
+
if (i === void 0 || Er(i) || Ii(i))
|
|
3068
3123
|
break;
|
|
3069
3124
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3070
3125
|
}
|
|
3071
3126
|
return Je.apply(void 0, n);
|
|
3072
3127
|
};
|
|
3073
|
-
var
|
|
3128
|
+
var Ti = (
|
|
3074
3129
|
/** @class */
|
|
3075
3130
|
function() {
|
|
3076
3131
|
function e(t, r) {
|
|
@@ -3101,7 +3156,7 @@ var vi = (
|
|
|
3101
3156
|
if (n)
|
|
3102
3157
|
break;
|
|
3103
3158
|
return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3104
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3159
|
+
} else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
|
|
3105
3160
|
var s = this.parseTag(t, r);
|
|
3106
3161
|
if (s.err)
|
|
3107
3162
|
return s;
|
|
@@ -3134,7 +3189,7 @@ var vi = (
|
|
|
3134
3189
|
return o;
|
|
3135
3190
|
var s = o.val, a = this.clonePosition();
|
|
3136
3191
|
if (this.bumpIf("</")) {
|
|
3137
|
-
if (this.isEOF() || !
|
|
3192
|
+
if (this.isEOF() || !et(this.char()))
|
|
3138
3193
|
return this.error(g.INVALID_TAG, v(a, this.clonePosition()));
|
|
3139
3194
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3140
3195
|
return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3152,7 +3207,7 @@ var vi = (
|
|
|
3152
3207
|
return this.error(g.INVALID_TAG, v(n, this.clonePosition()));
|
|
3153
3208
|
}, e.prototype.parseTagName = function() {
|
|
3154
3209
|
var t = this.offset();
|
|
3155
|
-
for (this.bump(); !this.isEOF() &&
|
|
3210
|
+
for (this.bump(); !this.isEOF() && Ai(this.char()); )
|
|
3156
3211
|
this.bump();
|
|
3157
3212
|
return this.message.slice(t, this.offset());
|
|
3158
3213
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3181,7 +3236,7 @@ var vi = (
|
|
|
3181
3236
|
};
|
|
3182
3237
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3183
3238
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3184
|
-
!
|
|
3239
|
+
!Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3185
3240
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3186
3241
|
if (this.isEOF() || this.char() !== 39)
|
|
3187
3242
|
return null;
|
|
@@ -3249,7 +3304,7 @@ var vi = (
|
|
|
3249
3304
|
return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3250
3305
|
}
|
|
3251
3306
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3252
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3307
|
+
var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
|
|
3253
3308
|
this.bumpTo(i);
|
|
3254
3309
|
var o = this.clonePosition(), s = v(t, o);
|
|
3255
3310
|
return { value: n, location: s };
|
|
@@ -3265,40 +3320,40 @@ var vi = (
|
|
|
3265
3320
|
var u = null;
|
|
3266
3321
|
if (this.bumpIf(",")) {
|
|
3267
3322
|
this.bumpSpace();
|
|
3268
|
-
var h = this.clonePosition(),
|
|
3269
|
-
if (
|
|
3270
|
-
return
|
|
3271
|
-
var
|
|
3272
|
-
if (
|
|
3323
|
+
var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
|
|
3324
|
+
if (c.err)
|
|
3325
|
+
return c;
|
|
3326
|
+
var f = Si(c.val);
|
|
3327
|
+
if (f.length === 0)
|
|
3273
3328
|
return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3274
3329
|
var b = v(h, this.clonePosition());
|
|
3275
|
-
u = { style:
|
|
3330
|
+
u = { style: f, styleLocation: b };
|
|
3276
3331
|
}
|
|
3277
3332
|
var p = this.tryParseArgumentClose(i);
|
|
3278
3333
|
if (p.err)
|
|
3279
3334
|
return p;
|
|
3280
3335
|
var m = v(i, this.clonePosition());
|
|
3281
|
-
if (u &&
|
|
3282
|
-
var _ =
|
|
3336
|
+
if (u && Pt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3337
|
+
var _ = wi(u.style.slice(2));
|
|
3283
3338
|
if (a === "number") {
|
|
3284
|
-
var
|
|
3285
|
-
return
|
|
3286
|
-
val: { type: C.number, value: n, location: m, style:
|
|
3339
|
+
var c = this.parseNumberSkeletonFromString(_, u.styleLocation);
|
|
3340
|
+
return c.err ? c : {
|
|
3341
|
+
val: { type: C.number, value: n, location: m, style: c.val },
|
|
3287
3342
|
err: null
|
|
3288
3343
|
};
|
|
3289
3344
|
} else {
|
|
3290
3345
|
if (_.length === 0)
|
|
3291
3346
|
return this.error(g.EXPECT_DATE_TIME_SKELETON, m);
|
|
3292
|
-
var
|
|
3293
|
-
this.locale && (
|
|
3294
|
-
var
|
|
3347
|
+
var M = _;
|
|
3348
|
+
this.locale && (M = ci(_, this.locale));
|
|
3349
|
+
var f = {
|
|
3295
3350
|
type: ie.dateTime,
|
|
3296
|
-
pattern:
|
|
3351
|
+
pattern: M,
|
|
3297
3352
|
location: u.styleLocation,
|
|
3298
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3353
|
+
parsedOptions: this.shouldParseSkeletons ? ii(M) : {}
|
|
3299
3354
|
}, I = a === "date" ? C.date : C.time;
|
|
3300
3355
|
return {
|
|
3301
|
-
val: { type: I, value: n, location: m, style:
|
|
3356
|
+
val: { type: I, value: n, location: m, style: f },
|
|
3302
3357
|
err: null
|
|
3303
3358
|
};
|
|
3304
3359
|
}
|
|
@@ -3316,23 +3371,23 @@ var vi = (
|
|
|
3316
3371
|
case "plural":
|
|
3317
3372
|
case "selectordinal":
|
|
3318
3373
|
case "select": {
|
|
3319
|
-
var
|
|
3374
|
+
var T = this.clonePosition();
|
|
3320
3375
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3321
|
-
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
|
3376
|
+
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, v(T, y({}, T)));
|
|
3322
3377
|
this.bumpSpace();
|
|
3323
|
-
var
|
|
3324
|
-
if (a !== "select" &&
|
|
3378
|
+
var B = this.parseIdentifierIfPossible(), N = 0;
|
|
3379
|
+
if (a !== "select" && B.value === "offset") {
|
|
3325
3380
|
if (!this.bumpIf(":"))
|
|
3326
3381
|
return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3327
3382
|
this.bumpSpace();
|
|
3328
|
-
var
|
|
3329
|
-
if (
|
|
3330
|
-
return
|
|
3331
|
-
this.bumpSpace(),
|
|
3383
|
+
var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3384
|
+
if (c.err)
|
|
3385
|
+
return c;
|
|
3386
|
+
this.bumpSpace(), B = this.parseIdentifierIfPossible(), N = c.val;
|
|
3332
3387
|
}
|
|
3333
|
-
var
|
|
3334
|
-
if (
|
|
3335
|
-
return
|
|
3388
|
+
var A = this.tryParsePluralOrSelectOptions(t, a, r, B);
|
|
3389
|
+
if (A.err)
|
|
3390
|
+
return A;
|
|
3336
3391
|
var p = this.tryParseArgumentClose(i);
|
|
3337
3392
|
if (p.err)
|
|
3338
3393
|
return p;
|
|
@@ -3341,7 +3396,7 @@ var vi = (
|
|
|
3341
3396
|
val: {
|
|
3342
3397
|
type: C.select,
|
|
3343
3398
|
value: n,
|
|
3344
|
-
options:
|
|
3399
|
+
options: Mt(A.val),
|
|
3345
3400
|
location: w
|
|
3346
3401
|
},
|
|
3347
3402
|
err: null
|
|
@@ -3349,8 +3404,8 @@ var vi = (
|
|
|
3349
3404
|
val: {
|
|
3350
3405
|
type: C.plural,
|
|
3351
3406
|
value: n,
|
|
3352
|
-
options:
|
|
3353
|
-
offset:
|
|
3407
|
+
options: Mt(A.val),
|
|
3408
|
+
offset: N,
|
|
3354
3409
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3355
3410
|
location: w
|
|
3356
3411
|
},
|
|
@@ -3400,7 +3455,7 @@ var vi = (
|
|
|
3400
3455
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3401
3456
|
var n = [];
|
|
3402
3457
|
try {
|
|
3403
|
-
n =
|
|
3458
|
+
n = si(t);
|
|
3404
3459
|
} catch (i) {
|
|
3405
3460
|
return this.error(g.INVALID_NUMBER_SKELETON, r);
|
|
3406
3461
|
}
|
|
@@ -3409,19 +3464,19 @@ var vi = (
|
|
|
3409
3464
|
type: ie.number,
|
|
3410
3465
|
tokens: n,
|
|
3411
3466
|
location: r,
|
|
3412
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3467
|
+
parsedOptions: this.shouldParseSkeletons ? hi(n) : {}
|
|
3413
3468
|
},
|
|
3414
3469
|
err: null
|
|
3415
3470
|
};
|
|
3416
3471
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3417
3472
|
for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3418
3473
|
if (u.length === 0) {
|
|
3419
|
-
var
|
|
3474
|
+
var c = this.clonePosition();
|
|
3420
3475
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3421
|
-
var
|
|
3422
|
-
if (
|
|
3423
|
-
return
|
|
3424
|
-
h = v(
|
|
3476
|
+
var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3477
|
+
if (f.err)
|
|
3478
|
+
return f;
|
|
3479
|
+
h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
|
|
3425
3480
|
} else
|
|
3426
3481
|
break;
|
|
3427
3482
|
}
|
|
@@ -3457,7 +3512,7 @@ var vi = (
|
|
|
3457
3512
|
break;
|
|
3458
3513
|
}
|
|
3459
3514
|
var l = v(i, this.clonePosition());
|
|
3460
|
-
return o ? (s *= n,
|
|
3515
|
+
return o ? (s *= n, Ei(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3461
3516
|
}, e.prototype.offset = function() {
|
|
3462
3517
|
return this.position.offset;
|
|
3463
3518
|
}, e.prototype.isEOF = function() {
|
|
@@ -3472,7 +3527,7 @@ var vi = (
|
|
|
3472
3527
|
var t = this.position.offset;
|
|
3473
3528
|
if (t >= this.message.length)
|
|
3474
3529
|
throw Error("out of bound");
|
|
3475
|
-
var r =
|
|
3530
|
+
var r = _r(this.message, t);
|
|
3476
3531
|
if (r === void 0)
|
|
3477
3532
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3478
3533
|
return r;
|
|
@@ -3491,7 +3546,7 @@ var vi = (
|
|
|
3491
3546
|
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);
|
|
3492
3547
|
}
|
|
3493
3548
|
}, e.prototype.bumpIf = function(t) {
|
|
3494
|
-
if (
|
|
3549
|
+
if (Pt(this.message, t, this.offset())) {
|
|
3495
3550
|
for (var r = 0; r < t.length; r++)
|
|
3496
3551
|
this.bump();
|
|
3497
3552
|
return !0;
|
|
@@ -3513,7 +3568,7 @@ var vi = (
|
|
|
3513
3568
|
break;
|
|
3514
3569
|
}
|
|
3515
3570
|
}, e.prototype.bumpSpace = function() {
|
|
3516
|
-
for (; !this.isEOF() &&
|
|
3571
|
+
for (; !this.isEOF() && Er(this.char()); )
|
|
3517
3572
|
this.bump();
|
|
3518
3573
|
}, e.prototype.peek = function() {
|
|
3519
3574
|
if (this.isEOF())
|
|
@@ -3523,96 +3578,46 @@ var vi = (
|
|
|
3523
3578
|
}, e;
|
|
3524
3579
|
}()
|
|
3525
3580
|
);
|
|
3526
|
-
function
|
|
3581
|
+
function et(e) {
|
|
3527
3582
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3528
3583
|
}
|
|
3529
|
-
function
|
|
3530
|
-
return
|
|
3584
|
+
function Hi(e) {
|
|
3585
|
+
return et(e) || e === 47;
|
|
3531
3586
|
}
|
|
3532
|
-
function
|
|
3587
|
+
function Ai(e) {
|
|
3533
3588
|
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;
|
|
3534
3589
|
}
|
|
3535
|
-
function
|
|
3590
|
+
function Er(e) {
|
|
3536
3591
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3537
3592
|
}
|
|
3538
|
-
function
|
|
3593
|
+
function Ii(e) {
|
|
3539
3594
|
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;
|
|
3540
3595
|
}
|
|
3541
|
-
function
|
|
3596
|
+
function tt(e) {
|
|
3542
3597
|
e.forEach(function(t) {
|
|
3543
|
-
if (delete t.location,
|
|
3598
|
+
if (delete t.location, fr(t) || dr(t))
|
|
3544
3599
|
for (var r in t.options)
|
|
3545
|
-
delete t.options[r].location,
|
|
3546
|
-
else
|
|
3600
|
+
delete t.options[r].location, tt(t.options[r].value);
|
|
3601
|
+
else ur(t) && mr(t.style) || (hr(t) || cr(t)) && Ye(t.style) ? delete t.style.location : pr(t) && tt(t.children);
|
|
3547
3602
|
});
|
|
3548
3603
|
}
|
|
3549
|
-
function
|
|
3604
|
+
function Bi(e, t) {
|
|
3550
3605
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3551
|
-
var r = new
|
|
3606
|
+
var r = new Ti(e, t).parse();
|
|
3552
3607
|
if (r.err) {
|
|
3553
3608
|
var n = SyntaxError(g[r.err.kind]);
|
|
3554
3609
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3555
3610
|
}
|
|
3556
|
-
return t != null && t.captureLocation ||
|
|
3557
|
-
}
|
|
3558
|
-
function De(e, t) {
|
|
3559
|
-
var r = t && t.cache ? t.cache : Ii, n = t && t.serializer ? t.serializer : Hi, i = t && t.strategy ? t.strategy : wi;
|
|
3560
|
-
return i(e, {
|
|
3561
|
-
cache: r,
|
|
3562
|
-
serializer: n
|
|
3563
|
-
});
|
|
3564
|
-
}
|
|
3565
|
-
function Ci(e) {
|
|
3566
|
-
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
3567
|
-
}
|
|
3568
|
-
function Er(e, t, r, n) {
|
|
3569
|
-
var i = Ci(n) ? n : r(n), o = t.get(i);
|
|
3570
|
-
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
3571
|
-
}
|
|
3572
|
-
function xr(e, t, r) {
|
|
3573
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
3574
|
-
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
3575
|
-
}
|
|
3576
|
-
function it(e, t, r, n, i) {
|
|
3577
|
-
return r.bind(t, e, n, i);
|
|
3578
|
-
}
|
|
3579
|
-
function wi(e, t) {
|
|
3580
|
-
var r = e.length === 1 ? Er : xr;
|
|
3581
|
-
return it(e, this, r, t.cache.create(), t.serializer);
|
|
3582
|
-
}
|
|
3583
|
-
function Si(e, t) {
|
|
3584
|
-
return it(e, this, xr, t.cache.create(), t.serializer);
|
|
3611
|
+
return t != null && t.captureLocation || tt(r.val), r.val;
|
|
3585
3612
|
}
|
|
3586
|
-
|
|
3587
|
-
return it(e, this, Er, t.cache.create(), t.serializer);
|
|
3588
|
-
}
|
|
3589
|
-
var Hi = function() {
|
|
3590
|
-
return JSON.stringify(arguments);
|
|
3591
|
-
};
|
|
3592
|
-
function ot() {
|
|
3593
|
-
this.cache = /* @__PURE__ */ Object.create(null);
|
|
3594
|
-
}
|
|
3595
|
-
ot.prototype.get = function(e) {
|
|
3596
|
-
return this.cache[e];
|
|
3597
|
-
};
|
|
3598
|
-
ot.prototype.set = function(e, t) {
|
|
3599
|
-
this.cache[e] = t;
|
|
3600
|
-
};
|
|
3601
|
-
var Ii = {
|
|
3602
|
-
create: function() {
|
|
3603
|
-
return new ot();
|
|
3604
|
-
}
|
|
3605
|
-
}, $e = {
|
|
3606
|
-
variadic: Si,
|
|
3607
|
-
monadic: Ti
|
|
3608
|
-
}, oe;
|
|
3613
|
+
var oe;
|
|
3609
3614
|
(function(e) {
|
|
3610
3615
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3611
3616
|
})(oe || (oe = {}));
|
|
3612
3617
|
var Ie = (
|
|
3613
3618
|
/** @class */
|
|
3614
3619
|
function(e) {
|
|
3615
|
-
|
|
3620
|
+
V(t, e);
|
|
3616
3621
|
function t(r, n, i) {
|
|
3617
3622
|
var o = e.call(this, r) || this;
|
|
3618
3623
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3621,152 +3626,152 @@ var Ie = (
|
|
|
3621
3626
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3622
3627
|
}, t;
|
|
3623
3628
|
}(Error)
|
|
3624
|
-
),
|
|
3629
|
+
), Lt = (
|
|
3625
3630
|
/** @class */
|
|
3626
3631
|
function(e) {
|
|
3627
|
-
|
|
3632
|
+
V(t, e);
|
|
3628
3633
|
function t(r, n, i, o) {
|
|
3629
3634
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), oe.INVALID_VALUE, o) || this;
|
|
3630
3635
|
}
|
|
3631
3636
|
return t;
|
|
3632
3637
|
}(Ie)
|
|
3633
|
-
),
|
|
3638
|
+
), Pi = (
|
|
3634
3639
|
/** @class */
|
|
3635
3640
|
function(e) {
|
|
3636
|
-
|
|
3641
|
+
V(t, e);
|
|
3637
3642
|
function t(r, n, i) {
|
|
3638
3643
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), oe.INVALID_VALUE, i) || this;
|
|
3639
3644
|
}
|
|
3640
3645
|
return t;
|
|
3641
3646
|
}(Ie)
|
|
3642
|
-
),
|
|
3647
|
+
), Mi = (
|
|
3643
3648
|
/** @class */
|
|
3644
3649
|
function(e) {
|
|
3645
|
-
|
|
3650
|
+
V(t, e);
|
|
3646
3651
|
function t(r, n) {
|
|
3647
3652
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), oe.MISSING_VALUE, n) || this;
|
|
3648
3653
|
}
|
|
3649
3654
|
return t;
|
|
3650
3655
|
}(Ie)
|
|
3651
|
-
),
|
|
3656
|
+
), R;
|
|
3652
3657
|
(function(e) {
|
|
3653
3658
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3654
|
-
})(
|
|
3655
|
-
function
|
|
3659
|
+
})(R || (R = {}));
|
|
3660
|
+
function Oi(e) {
|
|
3656
3661
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3657
3662
|
var n = t[t.length - 1];
|
|
3658
|
-
return !n || n.type !==
|
|
3663
|
+
return !n || n.type !== R.literal || r.type !== R.literal ? t.push(r) : n.value += r.value, t;
|
|
3659
3664
|
}, []);
|
|
3660
3665
|
}
|
|
3661
|
-
function
|
|
3666
|
+
function Li(e) {
|
|
3662
3667
|
return typeof e == "function";
|
|
3663
3668
|
}
|
|
3664
|
-
function
|
|
3665
|
-
if (e.length === 1 &&
|
|
3669
|
+
function xe(e, t, r, n, i, o, s) {
|
|
3670
|
+
if (e.length === 1 && Ht(e[0]))
|
|
3666
3671
|
return [
|
|
3667
3672
|
{
|
|
3668
|
-
type:
|
|
3673
|
+
type: R.literal,
|
|
3669
3674
|
value: e[0].value
|
|
3670
3675
|
}
|
|
3671
3676
|
];
|
|
3672
3677
|
for (var a = [], l = 0, u = e; l < u.length; l++) {
|
|
3673
3678
|
var h = u[l];
|
|
3674
|
-
if (
|
|
3679
|
+
if (Ht(h)) {
|
|
3675
3680
|
a.push({
|
|
3676
|
-
type:
|
|
3681
|
+
type: R.literal,
|
|
3677
3682
|
value: h.value
|
|
3678
3683
|
});
|
|
3679
3684
|
continue;
|
|
3680
3685
|
}
|
|
3681
|
-
if (
|
|
3686
|
+
if (ri(h)) {
|
|
3682
3687
|
typeof o == "number" && a.push({
|
|
3683
|
-
type:
|
|
3688
|
+
type: R.literal,
|
|
3684
3689
|
value: r.getNumberFormat(t).format(o)
|
|
3685
3690
|
});
|
|
3686
3691
|
continue;
|
|
3687
3692
|
}
|
|
3688
|
-
var
|
|
3689
|
-
if (!(i &&
|
|
3690
|
-
throw new
|
|
3691
|
-
var
|
|
3692
|
-
if (
|
|
3693
|
-
(!
|
|
3694
|
-
type: typeof
|
|
3695
|
-
value:
|
|
3693
|
+
var c = h.value;
|
|
3694
|
+
if (!(i && c in i))
|
|
3695
|
+
throw new Mi(c, s);
|
|
3696
|
+
var f = i[c];
|
|
3697
|
+
if (ti(h)) {
|
|
3698
|
+
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
|
|
3699
|
+
type: typeof f == "string" ? R.literal : R.object,
|
|
3700
|
+
value: f
|
|
3696
3701
|
});
|
|
3697
3702
|
continue;
|
|
3698
3703
|
}
|
|
3699
|
-
if (
|
|
3700
|
-
var b = typeof h.style == "string" ? n.date[h.style] :
|
|
3704
|
+
if (hr(h)) {
|
|
3705
|
+
var b = typeof h.style == "string" ? n.date[h.style] : Ye(h.style) ? h.style.parsedOptions : void 0;
|
|
3701
3706
|
a.push({
|
|
3702
|
-
type:
|
|
3703
|
-
value: r.getDateTimeFormat(t, b).format(
|
|
3707
|
+
type: R.literal,
|
|
3708
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3704
3709
|
});
|
|
3705
3710
|
continue;
|
|
3706
3711
|
}
|
|
3707
|
-
if (
|
|
3708
|
-
var b = typeof h.style == "string" ? n.time[h.style] :
|
|
3712
|
+
if (cr(h)) {
|
|
3713
|
+
var b = typeof h.style == "string" ? n.time[h.style] : Ye(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3709
3714
|
a.push({
|
|
3710
|
-
type:
|
|
3711
|
-
value: r.getDateTimeFormat(t, b).format(
|
|
3715
|
+
type: R.literal,
|
|
3716
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3712
3717
|
});
|
|
3713
3718
|
continue;
|
|
3714
3719
|
}
|
|
3715
|
-
if (
|
|
3716
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3717
|
-
b && b.scale && (
|
|
3718
|
-
type:
|
|
3719
|
-
value: r.getNumberFormat(t, b).format(
|
|
3720
|
+
if (ur(h)) {
|
|
3721
|
+
var b = typeof h.style == "string" ? n.number[h.style] : mr(h.style) ? h.style.parsedOptions : void 0;
|
|
3722
|
+
b && b.scale && (f = f * (b.scale || 1)), a.push({
|
|
3723
|
+
type: R.literal,
|
|
3724
|
+
value: r.getNumberFormat(t, b).format(f)
|
|
3720
3725
|
});
|
|
3721
3726
|
continue;
|
|
3722
3727
|
}
|
|
3723
|
-
if (
|
|
3728
|
+
if (pr(h)) {
|
|
3724
3729
|
var p = h.children, m = h.value, _ = i[m];
|
|
3725
|
-
if (!
|
|
3726
|
-
throw new
|
|
3727
|
-
var
|
|
3728
|
-
return
|
|
3730
|
+
if (!Li(_))
|
|
3731
|
+
throw new Pi(m, "function", s);
|
|
3732
|
+
var M = xe(p, t, r, n, i, o), I = _(M.map(function(N) {
|
|
3733
|
+
return N.value;
|
|
3729
3734
|
}));
|
|
3730
|
-
Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(
|
|
3735
|
+
Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(N) {
|
|
3731
3736
|
return {
|
|
3732
|
-
type: typeof
|
|
3733
|
-
value:
|
|
3737
|
+
type: typeof N == "string" ? R.literal : R.object,
|
|
3738
|
+
value: N
|
|
3734
3739
|
};
|
|
3735
3740
|
}));
|
|
3736
3741
|
}
|
|
3737
|
-
if (
|
|
3738
|
-
var
|
|
3739
|
-
if (!
|
|
3740
|
-
throw new
|
|
3741
|
-
a.push.apply(a,
|
|
3742
|
+
if (fr(h)) {
|
|
3743
|
+
var T = h.options[f] || h.options.other;
|
|
3744
|
+
if (!T)
|
|
3745
|
+
throw new Lt(h.value, f, Object.keys(h.options), s);
|
|
3746
|
+
a.push.apply(a, xe(T.value, t, r, n, i));
|
|
3742
3747
|
continue;
|
|
3743
3748
|
}
|
|
3744
|
-
if (
|
|
3745
|
-
var
|
|
3746
|
-
if (!
|
|
3749
|
+
if (dr(h)) {
|
|
3750
|
+
var T = h.options["=".concat(f)];
|
|
3751
|
+
if (!T) {
|
|
3747
3752
|
if (!Intl.PluralRules)
|
|
3748
3753
|
throw new Ie(`Intl.PluralRules is not available in this environment.
|
|
3749
3754
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3750
3755
|
`, oe.MISSING_INTL_API, s);
|
|
3751
|
-
var
|
|
3752
|
-
|
|
3756
|
+
var B = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3757
|
+
T = h.options[B] || h.options.other;
|
|
3753
3758
|
}
|
|
3754
|
-
if (!
|
|
3755
|
-
throw new
|
|
3756
|
-
a.push.apply(a,
|
|
3759
|
+
if (!T)
|
|
3760
|
+
throw new Lt(h.value, f, Object.keys(h.options), s);
|
|
3761
|
+
a.push.apply(a, xe(T.value, t, r, n, i, f - (h.offset || 0)));
|
|
3757
3762
|
continue;
|
|
3758
3763
|
}
|
|
3759
3764
|
}
|
|
3760
|
-
return
|
|
3765
|
+
return Oi(a);
|
|
3761
3766
|
}
|
|
3762
|
-
function
|
|
3767
|
+
function Ni(e, t) {
|
|
3763
3768
|
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3764
3769
|
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3765
3770
|
}, {})) : e;
|
|
3766
3771
|
}
|
|
3767
|
-
function
|
|
3772
|
+
function Ri(e, t) {
|
|
3768
3773
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3769
|
-
return r[n] =
|
|
3774
|
+
return r[n] = Ni(e[n], t[n]), r;
|
|
3770
3775
|
}, y({}, e)) : e;
|
|
3771
3776
|
}
|
|
3772
3777
|
function Ge(e) {
|
|
@@ -3783,7 +3788,7 @@ function Ge(e) {
|
|
|
3783
3788
|
}
|
|
3784
3789
|
};
|
|
3785
3790
|
}
|
|
3786
|
-
function
|
|
3791
|
+
function Ui(e) {
|
|
3787
3792
|
return e === void 0 && (e = {
|
|
3788
3793
|
number: {},
|
|
3789
3794
|
dateTime: {},
|
|
@@ -3815,12 +3820,13 @@ function Ni(e) {
|
|
|
3815
3820
|
})
|
|
3816
3821
|
};
|
|
3817
3822
|
}
|
|
3818
|
-
var
|
|
3823
|
+
var Di = (
|
|
3819
3824
|
/** @class */
|
|
3820
3825
|
function() {
|
|
3821
3826
|
function e(t, r, n, i) {
|
|
3827
|
+
r === void 0 && (r = e.defaultLocale);
|
|
3822
3828
|
var o = this;
|
|
3823
|
-
if (
|
|
3829
|
+
if (this.formatterCache = {
|
|
3824
3830
|
number: {},
|
|
3825
3831
|
dateTime: {},
|
|
3826
3832
|
pluralRules: {}
|
|
@@ -3828,12 +3834,12 @@ var Ri = (
|
|
|
3828
3834
|
var u = o.formatToParts(l);
|
|
3829
3835
|
if (u.length === 1)
|
|
3830
3836
|
return u[0].value;
|
|
3831
|
-
var h = u.reduce(function(
|
|
3832
|
-
return !
|
|
3837
|
+
var h = u.reduce(function(c, f) {
|
|
3838
|
+
return !c.length || f.type !== R.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
3833
3839
|
}, []);
|
|
3834
3840
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3835
3841
|
}, this.formatToParts = function(l) {
|
|
3836
|
-
return
|
|
3842
|
+
return xe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3837
3843
|
}, this.resolvedOptions = function() {
|
|
3838
3844
|
var l;
|
|
3839
3845
|
return {
|
|
@@ -3846,13 +3852,13 @@ var Ri = (
|
|
|
3846
3852
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3847
3853
|
var s = i || {};
|
|
3848
3854
|
s.formatters;
|
|
3849
|
-
var a =
|
|
3855
|
+
var a = gn(s, ["formatters"]);
|
|
3850
3856
|
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3851
3857
|
} else
|
|
3852
3858
|
this.ast = t;
|
|
3853
3859
|
if (!Array.isArray(this.ast))
|
|
3854
3860
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3855
|
-
this.formats =
|
|
3861
|
+
this.formats = Ri(e.formats, n), this.formatters = i && i.formatters || Ui(this.formatterCache);
|
|
3856
3862
|
}
|
|
3857
3863
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3858
3864
|
get: function() {
|
|
@@ -3865,7 +3871,7 @@ var Ri = (
|
|
|
3865
3871
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3866
3872
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3867
3873
|
}
|
|
3868
|
-
}, e.__parse =
|
|
3874
|
+
}, e.__parse = Bi, e.formats = {
|
|
3869
3875
|
number: {
|
|
3870
3876
|
integer: {
|
|
3871
3877
|
maximumFractionDigits: 0
|
|
@@ -3926,7 +3932,7 @@ var Ri = (
|
|
|
3926
3932
|
}, e;
|
|
3927
3933
|
}()
|
|
3928
3934
|
);
|
|
3929
|
-
function
|
|
3935
|
+
function $i(e, t) {
|
|
3930
3936
|
if (t == null)
|
|
3931
3937
|
return;
|
|
3932
3938
|
if (t in e)
|
|
@@ -3947,36 +3953,36 @@ function Ui(e, t) {
|
|
|
3947
3953
|
n = void 0;
|
|
3948
3954
|
return n;
|
|
3949
3955
|
}
|
|
3950
|
-
const
|
|
3956
|
+
const W = {}, ki = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Cr = (e, t) => {
|
|
3951
3957
|
if (t == null)
|
|
3952
3958
|
return;
|
|
3953
|
-
if (t in
|
|
3954
|
-
return
|
|
3955
|
-
const r =
|
|
3959
|
+
if (t in W && e in W[t])
|
|
3960
|
+
return W[t][e];
|
|
3961
|
+
const r = Be(t);
|
|
3956
3962
|
for (let n = 0; n < r.length; n++) {
|
|
3957
|
-
const i = r[n], o =
|
|
3963
|
+
const i = r[n], o = Fi(i, e);
|
|
3958
3964
|
if (o)
|
|
3959
|
-
return
|
|
3965
|
+
return ki(e, t, o);
|
|
3960
3966
|
}
|
|
3961
3967
|
};
|
|
3962
|
-
let
|
|
3963
|
-
const
|
|
3964
|
-
function
|
|
3965
|
-
return
|
|
3968
|
+
let lt;
|
|
3969
|
+
const le = Ae({});
|
|
3970
|
+
function Gi(e) {
|
|
3971
|
+
return lt[e] || null;
|
|
3966
3972
|
}
|
|
3967
3973
|
function wr(e) {
|
|
3968
|
-
return e in
|
|
3974
|
+
return e in lt;
|
|
3969
3975
|
}
|
|
3970
|
-
function
|
|
3976
|
+
function Fi(e, t) {
|
|
3971
3977
|
if (!wr(e))
|
|
3972
3978
|
return null;
|
|
3973
|
-
const r =
|
|
3974
|
-
return
|
|
3979
|
+
const r = Gi(e);
|
|
3980
|
+
return $i(r, t);
|
|
3975
3981
|
}
|
|
3976
|
-
function
|
|
3982
|
+
function ji(e) {
|
|
3977
3983
|
if (e == null)
|
|
3978
3984
|
return;
|
|
3979
|
-
const t =
|
|
3985
|
+
const t = Be(e);
|
|
3980
3986
|
for (let r = 0; r < t.length; r++) {
|
|
3981
3987
|
const n = t[r];
|
|
3982
3988
|
if (wr(n))
|
|
@@ -3984,55 +3990,55 @@ function ki(e) {
|
|
|
3984
3990
|
}
|
|
3985
3991
|
}
|
|
3986
3992
|
function Sr(e, ...t) {
|
|
3987
|
-
delete
|
|
3993
|
+
delete W[e], le.update((r) => (r[e] = Zn.all([r[e] || {}, ...t]), r));
|
|
3988
3994
|
}
|
|
3989
3995
|
ae(
|
|
3990
|
-
[
|
|
3996
|
+
[le],
|
|
3991
3997
|
([e]) => Object.keys(e)
|
|
3992
3998
|
);
|
|
3993
|
-
|
|
3994
|
-
const
|
|
3995
|
-
function
|
|
3996
|
-
|
|
3999
|
+
le.subscribe((e) => lt = e);
|
|
4000
|
+
const Ee = {};
|
|
4001
|
+
function Vi(e, t) {
|
|
4002
|
+
Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
|
|
3997
4003
|
}
|
|
3998
4004
|
function Tr(e) {
|
|
3999
|
-
return
|
|
4005
|
+
return Ee[e];
|
|
4000
4006
|
}
|
|
4001
|
-
function
|
|
4002
|
-
return
|
|
4007
|
+
function Wi(e) {
|
|
4008
|
+
return Be(e).map((t) => {
|
|
4003
4009
|
const r = Tr(t);
|
|
4004
4010
|
return [t, r ? [...r] : []];
|
|
4005
4011
|
}).filter(([, t]) => t.length > 0);
|
|
4006
4012
|
}
|
|
4007
|
-
function
|
|
4008
|
-
return e == null ? !1 :
|
|
4013
|
+
function rt(e) {
|
|
4014
|
+
return e == null ? !1 : Be(e).some(
|
|
4009
4015
|
(t) => {
|
|
4010
4016
|
var r;
|
|
4011
4017
|
return (r = Tr(t)) == null ? void 0 : r.size;
|
|
4012
4018
|
}
|
|
4013
4019
|
);
|
|
4014
4020
|
}
|
|
4015
|
-
function
|
|
4021
|
+
function Xi(e, t) {
|
|
4016
4022
|
return Promise.all(
|
|
4017
|
-
t.map((n) => (
|
|
4023
|
+
t.map((n) => (Vi(e, n), n().then((i) => i.default || i)))
|
|
4018
4024
|
).then((n) => Sr(e, ...n));
|
|
4019
4025
|
}
|
|
4020
4026
|
const he = {};
|
|
4021
4027
|
function Hr(e) {
|
|
4022
|
-
if (!
|
|
4028
|
+
if (!rt(e))
|
|
4023
4029
|
return e in he ? he[e] : Promise.resolve();
|
|
4024
|
-
const t =
|
|
4030
|
+
const t = Wi(e);
|
|
4025
4031
|
return he[e] = Promise.all(
|
|
4026
4032
|
t.map(
|
|
4027
|
-
([r, n]) =>
|
|
4033
|
+
([r, n]) => Xi(r, n)
|
|
4028
4034
|
)
|
|
4029
4035
|
).then(() => {
|
|
4030
|
-
if (
|
|
4036
|
+
if (rt(e))
|
|
4031
4037
|
return Hr(e);
|
|
4032
4038
|
delete he[e];
|
|
4033
4039
|
}), he[e];
|
|
4034
4040
|
}
|
|
4035
|
-
const
|
|
4041
|
+
const zi = {
|
|
4036
4042
|
number: {
|
|
4037
4043
|
scientific: { notation: "scientific" },
|
|
4038
4044
|
engineering: { notation: "engineering" },
|
|
@@ -4061,78 +4067,78 @@ const Wi = {
|
|
|
4061
4067
|
timeZoneName: "short"
|
|
4062
4068
|
}
|
|
4063
4069
|
}
|
|
4064
|
-
},
|
|
4070
|
+
}, Zi = {
|
|
4065
4071
|
fallbackLocale: null,
|
|
4066
4072
|
loadingDelay: 200,
|
|
4067
|
-
formats:
|
|
4073
|
+
formats: zi,
|
|
4068
4074
|
warnOnMissingMessages: !0,
|
|
4069
4075
|
handleMissingMessage: void 0,
|
|
4070
4076
|
ignoreTag: !0
|
|
4071
|
-
},
|
|
4077
|
+
}, Qi = Zi;
|
|
4072
4078
|
function se() {
|
|
4073
|
-
return
|
|
4079
|
+
return Qi;
|
|
4074
4080
|
}
|
|
4075
|
-
const
|
|
4076
|
-
var
|
|
4081
|
+
const Fe = Ae(!1);
|
|
4082
|
+
var Yi = Object.defineProperty, qi = Object.defineProperties, Ji = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Ki = Object.prototype.hasOwnProperty, eo = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, to = (e, t) => {
|
|
4077
4083
|
for (var r in t || (t = {}))
|
|
4078
|
-
|
|
4079
|
-
if (
|
|
4080
|
-
for (var r of
|
|
4081
|
-
|
|
4084
|
+
Ki.call(t, r) && Rt(e, r, t[r]);
|
|
4085
|
+
if (Nt)
|
|
4086
|
+
for (var r of Nt(t))
|
|
4087
|
+
eo.call(t, r) && Rt(e, r, t[r]);
|
|
4082
4088
|
return e;
|
|
4083
|
-
},
|
|
4084
|
-
let
|
|
4085
|
-
const
|
|
4086
|
-
function
|
|
4089
|
+
}, ro = (e, t) => qi(e, Ji(t));
|
|
4090
|
+
let nt;
|
|
4091
|
+
const we = Ae(null);
|
|
4092
|
+
function Ut(e) {
|
|
4087
4093
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4088
4094
|
}
|
|
4089
|
-
function
|
|
4090
|
-
const r =
|
|
4091
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4095
|
+
function Be(e, t = se().fallbackLocale) {
|
|
4096
|
+
const r = Ut(e);
|
|
4097
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
|
4092
4098
|
}
|
|
4093
4099
|
function Z() {
|
|
4094
|
-
return
|
|
4100
|
+
return nt != null ? nt : void 0;
|
|
4095
4101
|
}
|
|
4096
|
-
|
|
4097
|
-
|
|
4102
|
+
we.subscribe((e) => {
|
|
4103
|
+
nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4098
4104
|
});
|
|
4099
|
-
const
|
|
4100
|
-
if (e &&
|
|
4105
|
+
const no = (e) => {
|
|
4106
|
+
if (e && ji(e) && rt(e)) {
|
|
4101
4107
|
const { loadingDelay: t } = se();
|
|
4102
4108
|
let r;
|
|
4103
4109
|
return typeof window != "undefined" && Z() != null && t ? r = window.setTimeout(
|
|
4104
|
-
() =>
|
|
4110
|
+
() => Fe.set(!0),
|
|
4105
4111
|
t
|
|
4106
|
-
) :
|
|
4107
|
-
|
|
4112
|
+
) : Fe.set(!0), Hr(e).then(() => {
|
|
4113
|
+
we.set(e);
|
|
4108
4114
|
}).finally(() => {
|
|
4109
|
-
clearTimeout(r),
|
|
4115
|
+
clearTimeout(r), Fe.set(!1);
|
|
4110
4116
|
});
|
|
4111
4117
|
}
|
|
4112
|
-
return
|
|
4113
|
-
}, X =
|
|
4114
|
-
set:
|
|
4115
|
-
}),
|
|
4118
|
+
return we.set(e);
|
|
4119
|
+
}, X = ro(to({}, we), {
|
|
4120
|
+
set: no
|
|
4121
|
+
}), Pe = (e) => {
|
|
4116
4122
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4117
4123
|
return (n) => {
|
|
4118
4124
|
const i = JSON.stringify(n);
|
|
4119
4125
|
return i in t ? t[i] : t[i] = e(n);
|
|
4120
4126
|
};
|
|
4121
4127
|
};
|
|
4122
|
-
var
|
|
4128
|
+
var io = Object.defineProperty, Se = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, Ir = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
|
|
4123
4129
|
for (var r in t || (t = {}))
|
|
4124
|
-
|
|
4125
|
-
if (
|
|
4126
|
-
for (var r of
|
|
4127
|
-
|
|
4130
|
+
Ar.call(t, r) && Dt(e, r, t[r]);
|
|
4131
|
+
if (Se)
|
|
4132
|
+
for (var r of Se(t))
|
|
4133
|
+
Ir.call(t, r) && Dt(e, r, t[r]);
|
|
4128
4134
|
return e;
|
|
4129
|
-
},
|
|
4135
|
+
}, ue = (e, t) => {
|
|
4130
4136
|
var r = {};
|
|
4131
4137
|
for (var n in e)
|
|
4132
|
-
|
|
4133
|
-
if (e != null &&
|
|
4134
|
-
for (var n of
|
|
4135
|
-
t.indexOf(n) < 0 &&
|
|
4138
|
+
Ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4139
|
+
if (e != null && Se)
|
|
4140
|
+
for (var n of Se(e))
|
|
4141
|
+
t.indexOf(n) < 0 && Ir.call(e, n) && (r[n] = e[n]);
|
|
4136
4142
|
return r;
|
|
4137
4143
|
};
|
|
4138
4144
|
const pe = (e, t) => {
|
|
@@ -4140,56 +4146,56 @@ const pe = (e, t) => {
|
|
|
4140
4146
|
if (e in r && t in r[e])
|
|
4141
4147
|
return r[e][t];
|
|
4142
4148
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4143
|
-
},
|
|
4149
|
+
}, oo = Pe(
|
|
4144
4150
|
(e) => {
|
|
4145
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4151
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4146
4152
|
if (r == null)
|
|
4147
4153
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4148
4154
|
return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
|
|
4149
4155
|
}
|
|
4150
|
-
),
|
|
4156
|
+
), so = Pe(
|
|
4151
4157
|
(e) => {
|
|
4152
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4158
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4153
4159
|
if (r == null)
|
|
4154
4160
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4155
4161
|
return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4156
4162
|
}
|
|
4157
|
-
),
|
|
4163
|
+
), ao = Pe(
|
|
4158
4164
|
(e) => {
|
|
4159
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4165
|
+
var t = e, { locale: r, format: n } = t, i = ue(t, ["locale", "format"]);
|
|
4160
4166
|
if (r == null)
|
|
4161
4167
|
throw new Error(
|
|
4162
4168
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4163
4169
|
);
|
|
4164
4170
|
return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4165
4171
|
}
|
|
4166
|
-
),
|
|
4172
|
+
), lo = (e = {}) => {
|
|
4167
4173
|
var t = e, {
|
|
4168
4174
|
locale: r = Z()
|
|
4169
|
-
} = t, n =
|
|
4175
|
+
} = t, n = ue(t, [
|
|
4170
4176
|
"locale"
|
|
4171
4177
|
]);
|
|
4172
|
-
return
|
|
4173
|
-
},
|
|
4178
|
+
return oo(ut({ locale: r }, n));
|
|
4179
|
+
}, uo = (e = {}) => {
|
|
4174
4180
|
var t = e, {
|
|
4175
4181
|
locale: r = Z()
|
|
4176
|
-
} = t, n =
|
|
4182
|
+
} = t, n = ue(t, [
|
|
4177
4183
|
"locale"
|
|
4178
4184
|
]);
|
|
4179
|
-
return
|
|
4180
|
-
},
|
|
4185
|
+
return so(ut({ locale: r }, n));
|
|
4186
|
+
}, ho = (e = {}) => {
|
|
4181
4187
|
var t = e, {
|
|
4182
4188
|
locale: r = Z()
|
|
4183
|
-
} = t, n =
|
|
4189
|
+
} = t, n = ue(t, [
|
|
4184
4190
|
"locale"
|
|
4185
4191
|
]);
|
|
4186
|
-
return
|
|
4187
|
-
},
|
|
4192
|
+
return ao(ut({ locale: r }, n));
|
|
4193
|
+
}, co = Pe(
|
|
4188
4194
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4189
|
-
(e, t = Z()) => new
|
|
4195
|
+
(e, t = Z()) => new Di(e, t, se().formats, {
|
|
4190
4196
|
ignoreTag: se().ignoreTag
|
|
4191
4197
|
})
|
|
4192
|
-
),
|
|
4198
|
+
), fo = (e, t = {}) => {
|
|
4193
4199
|
var r, n, i, o;
|
|
4194
4200
|
let s = t;
|
|
4195
4201
|
typeof e == "object" && (s = e, e = s.id);
|
|
@@ -4211,54 +4217,54 @@ const pe = (e, t) => {
|
|
|
4211
4217
|
), h;
|
|
4212
4218
|
if (!a)
|
|
4213
4219
|
return h;
|
|
4214
|
-
let
|
|
4220
|
+
let c = h;
|
|
4215
4221
|
try {
|
|
4216
|
-
|
|
4217
|
-
} catch (
|
|
4218
|
-
|
|
4222
|
+
c = co(h, l).format(a);
|
|
4223
|
+
} catch (f) {
|
|
4224
|
+
f instanceof Error && console.warn(
|
|
4219
4225
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4220
|
-
|
|
4226
|
+
f.message
|
|
4221
4227
|
);
|
|
4222
4228
|
}
|
|
4223
|
-
return
|
|
4224
|
-
},
|
|
4225
|
-
ae([X,
|
|
4226
|
-
ae([X], () => fo);
|
|
4227
|
-
ae([X], () => co);
|
|
4229
|
+
return c;
|
|
4230
|
+
}, po = (e, t) => ho(t).format(e), mo = (e, t) => uo(t).format(e), bo = (e, t) => lo(t).format(e), go = (e, t = Z()) => Cr(e, t);
|
|
4231
|
+
ae([X, le], () => fo);
|
|
4228
4232
|
ae([X], () => po);
|
|
4229
|
-
ae([X
|
|
4230
|
-
|
|
4231
|
-
|
|
4232
|
-
|
|
4233
|
+
ae([X], () => mo);
|
|
4234
|
+
ae([X], () => bo);
|
|
4235
|
+
ae([X, le], () => go);
|
|
4236
|
+
window.emWidgets = { topic: Pn };
|
|
4237
|
+
const $t = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4238
|
+
function vo({ withLocale: e, translations: t }) {
|
|
4233
4239
|
X.subscribe((r) => {
|
|
4234
|
-
r == null && (
|
|
4240
|
+
r == null && (le.set(t), X.set(e));
|
|
4235
4241
|
});
|
|
4236
4242
|
}
|
|
4237
|
-
function
|
|
4243
|
+
function yo(e, t) {
|
|
4238
4244
|
Sr(e, t);
|
|
4239
4245
|
}
|
|
4240
|
-
function
|
|
4246
|
+
function _o(e) {
|
|
4241
4247
|
X.set(e);
|
|
4242
4248
|
}
|
|
4243
|
-
function
|
|
4244
|
-
|
|
4249
|
+
function xo(e) {
|
|
4250
|
+
Qr(e, "svelte-vb8vtr", '.CasinoVendorsLoading{height:52px}p{color:var(--emw--categories-typography, var(--emw--color-white) #ffffff);text-align:center}.CasinoVendorsContainer{background:transparent;border-radius:var(--emw--border-radius-medium, 20px)}*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{min-height:72px;max-height:75px;background:var(--emw--color-primary, #194127);background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));border-radius:var(--emw--border-radius-medium, 20px);max-width:1300px;margin:0 auto}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emw--categories-typography, var(--emw--color-white, #ffffff));margin:0 auto;max-width:1300px;min-height:72px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer .CarouselItems{overflow-x:auto;overflow-y:hidden;scroll-snap-align:center}.CarouselContainer ul{align-items:center;list-style:none;padding:0;margin:0}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{align-items:center;font-size:var(--emw--font-size-medium, 15px);font-weight:500;line-height:34px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal;position:relative}.CarouselContainer ul li>a{position:relative;border-bottom:2px solid transparent}.CarouselContainer ul li.SecondaryMenu button,.CarouselContainer ul li.SecondaryMenu .ActiveImg{border-bottom:2px solid transparent;position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{cursor:pointer}.CarouselContainer ul li.SecondaryMenu:hover button,.CarouselContainer ul li.SecondaryMenu:hover .ActiveImg,.CarouselContainer ul li.SecondaryMenu.active button,.CarouselContainer ul li.SecondaryMenu.active .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus button,.CarouselContainer ul li.SecondaryMenu:focus .ActiveImg,.CarouselContainer ul li.SecondaryMenu:focus-within button,.CarouselContainer ul li.SecondaryMenu:focus-within .ActiveImg{border-bottom:2px solid var(--emw--color-green, #23b04e);position:relative}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li:hover,.CarouselContainer ul>li>a:hover,.CarouselContainer ul li:focus,.CarouselContainer ul>li>a:focus{z-index:105}.CarouselContainer .CarouselItems li:hover>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear}.CarouselContainer .CarouselItems li:focus-within>ul{left:auto;top:auto;opacity:1;transition:opacity 0.5s linear, top 0.5s}.CarouselContainer .CarouselItems ul ul{transition:opacity 0.4s, left 0s 0.4s, margin 0s 0.4s;z-index:103}.CarouselContainer .CarouselItems li li:hover ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselItems li li:focus-within ul{top:auto;margin-left:100%;transform:translateY(-2.2rem);opacity:1;transition:opacity 0.5s linear, margin 0.5s}.CarouselContainer .CarouselLeftArrow,.CarouselContainer .CarouselRightArrow{display:flex;align-items:center;justify-content:center;width:50%;max-width:64px}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:22px;stroke:var(--emw--categories-arrows, var(--emw--color-white, #ffffff))}.CarouselContainer h1{text-align:center}.CarouselContainer ul{margin:0;padding:0;list-style:none}.CarouselContainer .CarouselNavWrap{overflow-y:scroll;white-space:nowrap;list-style-type:none;-ms-overflow-style:none;scrollbar-width:none}.CarouselContainer .CarouselNavWrap::-webkit-scrollbar{display:none}.CarouselContainer .CarouselItems{display:table;width:100%;text-align:center;height:100%}.CarouselContainer .CarouselItems li{text-align:left;padding:18px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems li svg,.CarouselContainer .CarouselItems li img{margin-right:5px;position:relative;top:5px;max-height:25px;line-height:25px;font-size:var(--emw--font-size-2x-small, 11px);overflow:auto}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emw--categories-typography, var(--emw--color-white, #ffffff));text-decoration:none;white-space:nowrap;position:relative;padding-bottom:5px}.CarouselContainer .CarouselItems span{position:absolute;bottom:15px;right:-15px;background:var(--emw--pam-color-primary, var(--emw--color-primary, #23b04e));border-radius:50%;padding:3px;min-width:20px;max-width:30px;min-height:20px;text-align:center;display:flex;align-items:center;justify-content:center;font-size:var(--emw--font-size-2x-small, 11px)}.CarouselContainer .CarouselItems .categoryImgButtonCount{top:15px;right:8px}.CarouselContainer .CarouselItems a{display:block;color:var(--emw--categories-typography, var(--emw--color-white, #ffffff));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems.SecondaryMenu li:hover>a,.CarouselContainer .CarouselItems.SecondaryMenu a:hover,.CarouselContainer .CarouselItems.SecondaryMenu li:focus>a,.CarouselContainer .CarouselItems.SecondaryMenu a:focus{background:var(--emw--categories-contrast, var(--emw--color-background, #07072a))}.CarouselContainer .CarouselItems ul{position:absolute;z-index:104;left:-999em;top:0;opacity:0;transition:opacity 0.1s, left 0s 0.1s, top 0.1s;background:-webkit-linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d));background:linear-gradient(to left, var(--emw--categories-color-secondary, #194127), var(--emw--categories-color-primary, #003d5d))}.CarouselContainer .CarouselItems .TouchOnly{display:none}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emw--categories-contrast, var(--emw--color-background, #07072a));color:var(--emw--categories-typography, var(--emw--color-white, #ffffff))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselItems li a:first-child:not(:last-child){padding-right:20px}.CarouselItems li a:first-child:not(:last-child):after{content:"";position:absolute;right:3px;top:50%;margin-top:-6px;width:0;height:0;border-top:6px solid transparent;border-bottom:6px solid transparent;border-left:6px solid var(--emw--color-white, #ffffff)}.CarouselItems>li>a:first-child:not(:last-child):after{border-left:6px solid transparent;border-right:6px solid transparent;border-top:6px solid var(--emw--color-white, #ffffff);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #ffffff)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emw--color-white, #ffffff)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #ffffff)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emw--color-white, #ffffff)}.CategoryIconImg{height:20px;margin:0 auto;display:block}.CarouselWrapperMobile{margin:0 10px;border-radius:20px;max-height:75px}.CarouselWrapperMobile .MobileCategoryButton{margin-top:5px}.CarouselWrapperMobile .CarouselLeftArrow,.CarouselWrapperMobile .CarouselRightArrow{display:flex;max-height:75px}.CarouselWrapperMobile .CarouselLeftArrow svg,.CarouselWrapperMobile .CarouselRightArrow svg{max-width:15px}.CarouselWrapperMobile .CarouselItems li{display:inline-flex;flex-direction:column;justify-content:center;height:inherit;gap:5px;padding:15px 25px}.CarouselWrapperMobile .CarouselItems li svg{position:unset;top:unset}.CarouselWrapperMobile .CategoryIconContainer{position:relative;height:25px}.CarouselWrapperMobile .CategoryIconContainer span{top:-5px;right:-10px}.CarouselWrapperMobile .ImageContainer{display:block;height:25px}.CarouselWrapperMobile .CarouselContainer .CarouselItems li svg,.CarouselWrapperMobile .CarouselContainer .CarouselItems li img{margin:0;top:unset;position:static;overflow:auto}');
|
|
4245
4251
|
}
|
|
4246
|
-
function
|
|
4252
|
+
function kt(e, t, r) {
|
|
4247
4253
|
const n = e.slice();
|
|
4248
|
-
return n[
|
|
4254
|
+
return n[42] = t[r], n[44] = r, n;
|
|
4249
4255
|
}
|
|
4250
|
-
function
|
|
4251
|
-
let t, r, n, i, o, s, a, l, u, h,
|
|
4256
|
+
function Eo(e) {
|
|
4257
|
+
let t, r, n, i, o, s, a, l, u, h, c, f, b, p = (
|
|
4252
4258
|
/*vendors*/
|
|
4253
4259
|
e[6].length > 0 && Gt(e)
|
|
4254
4260
|
);
|
|
4255
4261
|
return {
|
|
4256
4262
|
c() {
|
|
4257
|
-
t =
|
|
4263
|
+
t = S("div"), r = S("div"), n = S("div"), i = S("div"), i.innerHTML = '<svg fill="none" stroke="var(--emw--categories-arrows, var( --emw--color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M15 19l-7-7 7-7"></path></svg>', o = F(), s = S("div"), a = S("ul"), l = S("li"), l.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = F(), p && p.c(), h = F(), c = S("div"), c.innerHTML = '<svg fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M9 5l7 7-7 7"></path></svg>', x(i, "class", "CarouselLeftArrow"), x(l, "class", "TouchOnly"), x(a, "id", "CarouselNav"), x(a, "class", "CarouselItems"), x(s, "class", "CarouselNavWrap"), x(c, "class", "CarouselRightArrow"), x(n, "class", "CarouselContainer CarouselContainerMobile"), x(r, "class", "CarouselWrapper " + /*isMobile*/
|
|
4258
4264
|
(e[10] ? "CarouselWrapperMobile" : "")), x(t, "class", "CasinoVendorsContainer"), x(t, "part", "CasinoVendorsContainer");
|
|
4259
4265
|
},
|
|
4260
4266
|
m(m, _) {
|
|
4261
|
-
|
|
4267
|
+
L(m, t, _), H(t, r), H(r, n), H(n, i), H(n, o), H(n, s), H(s, a), H(a, l), H(a, u), p && p.m(a, null), e[26](a), e[27](s), H(n, h), H(n, c), e[28](r), f || (b = [
|
|
4262
4268
|
K(
|
|
4263
4269
|
i,
|
|
4264
4270
|
"click",
|
|
@@ -4272,247 +4278,311 @@ function _o(e) {
|
|
|
4272
4278
|
e[15]
|
|
4273
4279
|
),
|
|
4274
4280
|
K(
|
|
4275
|
-
|
|
4281
|
+
c,
|
|
4276
4282
|
"click",
|
|
4277
4283
|
/*scrollRight*/
|
|
4278
4284
|
e[13]
|
|
4279
4285
|
),
|
|
4280
4286
|
K(
|
|
4281
|
-
|
|
4287
|
+
c,
|
|
4282
4288
|
"keydown",
|
|
4283
4289
|
/*onScrollRightKeydown*/
|
|
4284
4290
|
e[14]
|
|
4285
4291
|
)
|
|
4286
|
-
],
|
|
4292
|
+
], f = !0);
|
|
4287
4293
|
},
|
|
4288
4294
|
p(m, _) {
|
|
4289
4295
|
/*vendors*/
|
|
4290
4296
|
m[6].length > 0 ? p ? p.p(m, _) : (p = Gt(m), p.c(), p.m(a, null)) : p && (p.d(1), p = null);
|
|
4291
4297
|
},
|
|
4292
4298
|
d(m) {
|
|
4293
|
-
m &&
|
|
4299
|
+
m && P(t), p && p.d(), e[26](null), e[27](null), e[28](null), f = !1, z(b);
|
|
4294
4300
|
}
|
|
4295
4301
|
};
|
|
4296
4302
|
}
|
|
4297
|
-
function
|
|
4303
|
+
function Co(e) {
|
|
4298
4304
|
let t;
|
|
4299
4305
|
return {
|
|
4300
4306
|
c() {
|
|
4301
|
-
t =
|
|
4307
|
+
t = S("p"), t.textContent = "500 Error - Internal Server Error.", x(t, "class", "SearchLoading");
|
|
4302
4308
|
},
|
|
4303
4309
|
m(r, n) {
|
|
4304
|
-
|
|
4310
|
+
L(r, t, n);
|
|
4305
4311
|
},
|
|
4306
4312
|
p: D,
|
|
4307
4313
|
d(r) {
|
|
4308
|
-
r &&
|
|
4314
|
+
r && P(t);
|
|
4309
4315
|
}
|
|
4310
4316
|
};
|
|
4311
4317
|
}
|
|
4312
|
-
function
|
|
4318
|
+
function wo(e) {
|
|
4313
4319
|
let t;
|
|
4314
4320
|
return {
|
|
4315
4321
|
c() {
|
|
4316
|
-
t =
|
|
4322
|
+
t = S("div"), x(t, "class", "CasinoVendorsLoading");
|
|
4317
4323
|
},
|
|
4318
4324
|
m(r, n) {
|
|
4319
|
-
|
|
4325
|
+
L(r, t, n);
|
|
4320
4326
|
},
|
|
4321
4327
|
p: D,
|
|
4322
4328
|
d(r) {
|
|
4323
|
-
r &&
|
|
4329
|
+
r && P(t);
|
|
4324
4330
|
}
|
|
4325
4331
|
};
|
|
4326
4332
|
}
|
|
4327
4333
|
function Gt(e) {
|
|
4328
|
-
let t = [], r = /* @__PURE__ */ new Map(), n, i =
|
|
4334
|
+
let t = [], r = /* @__PURE__ */ new Map(), n, i = vt(
|
|
4329
4335
|
/*vendors*/
|
|
4330
4336
|
e[6]
|
|
4331
4337
|
);
|
|
4332
4338
|
const o = (s) => (
|
|
4333
4339
|
/*vendor*/
|
|
4334
|
-
s[
|
|
4340
|
+
s[42].id
|
|
4335
4341
|
);
|
|
4336
4342
|
for (let s = 0; s < i.length; s += 1) {
|
|
4337
|
-
let a =
|
|
4338
|
-
r.set(l, t[s] =
|
|
4343
|
+
let a = kt(e, i, s), l = o(a);
|
|
4344
|
+
r.set(l, t[s] = Zt(l, a));
|
|
4339
4345
|
}
|
|
4340
4346
|
return {
|
|
4341
4347
|
c() {
|
|
4342
4348
|
for (let s = 0; s < t.length; s += 1)
|
|
4343
4349
|
t[s].c();
|
|
4344
|
-
n =
|
|
4350
|
+
n = it();
|
|
4345
4351
|
},
|
|
4346
4352
|
m(s, a) {
|
|
4347
4353
|
for (let l = 0; l < t.length; l += 1)
|
|
4348
4354
|
t[l] && t[l].m(s, a);
|
|
4349
|
-
|
|
4355
|
+
L(s, n, a);
|
|
4350
4356
|
},
|
|
4351
4357
|
p(s, a) {
|
|
4352
|
-
a[0] & /*activevendor, vendors, handleClick, onCarouselItemKeydown, showvendorgames, isMobile, showvendorname, showvendoricon*/
|
|
4353
|
-
|
|
4358
|
+
a[0] & /*activevendor, vendors, handleClick, onCarouselItemKeydown, getButtonClasses, showvendorgames, isMobile, showvendorname, showvendoricon*/
|
|
4359
|
+
199759 && (i = vt(
|
|
4354
4360
|
/*vendors*/
|
|
4355
4361
|
s[6]
|
|
4356
|
-
), t = un(t, a, o, 1, s, i, r, n.parentNode,
|
|
4362
|
+
), t = un(t, a, o, 1, s, i, r, n.parentNode, ln, Zt, n, kt));
|
|
4357
4363
|
},
|
|
4358
4364
|
d(s) {
|
|
4359
|
-
s &&
|
|
4365
|
+
s && P(n);
|
|
4360
4366
|
for (let a = 0; a < t.length; a += 1)
|
|
4361
4367
|
t[a].d(s);
|
|
4362
4368
|
}
|
|
4363
4369
|
};
|
|
4364
4370
|
}
|
|
4365
|
-
function
|
|
4366
|
-
let t
|
|
4371
|
+
function Ft(e) {
|
|
4372
|
+
let t;
|
|
4373
|
+
function r(o, s) {
|
|
4374
|
+
return (
|
|
4375
|
+
/*isMobile*/
|
|
4376
|
+
o[10] ? To : So
|
|
4377
|
+
);
|
|
4378
|
+
}
|
|
4379
|
+
let i = r(e)(e);
|
|
4380
|
+
return {
|
|
4381
|
+
c() {
|
|
4382
|
+
i.c(), t = it();
|
|
4383
|
+
},
|
|
4384
|
+
m(o, s) {
|
|
4385
|
+
i.m(o, s), L(o, t, s);
|
|
4386
|
+
},
|
|
4387
|
+
p(o, s) {
|
|
4388
|
+
i.p(o, s);
|
|
4389
|
+
},
|
|
4390
|
+
d(o) {
|
|
4391
|
+
o && P(t), i.d(o);
|
|
4392
|
+
}
|
|
4393
|
+
};
|
|
4394
|
+
}
|
|
4395
|
+
function So(e) {
|
|
4396
|
+
let t, r, n, i, o, s = (
|
|
4367
4397
|
/*showvendorname*/
|
|
4368
|
-
e[
|
|
4398
|
+
e[2] === "false" && jt()
|
|
4369
4399
|
);
|
|
4370
4400
|
return {
|
|
4371
4401
|
c() {
|
|
4372
|
-
t =
|
|
4373
|
-
|
|
4374
|
-
e[
|
|
4375
|
-
e[41].displayName);
|
|
4402
|
+
t = S("img"), i = F(), s && s.c(), o = it(), Ce(t.src, r = /*vendor*/
|
|
4403
|
+
e[42].logo) || x(t, "src", r), x(t, "alt", n = /*vendor*/
|
|
4404
|
+
e[42].displayName);
|
|
4376
4405
|
},
|
|
4377
|
-
m(
|
|
4378
|
-
|
|
4406
|
+
m(a, l) {
|
|
4407
|
+
L(a, t, l), L(a, i, l), s && s.m(a, l), L(a, o, l);
|
|
4379
4408
|
},
|
|
4380
|
-
p(
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
|
|
4384
|
-
64 &&
|
|
4385
|
-
|
|
4409
|
+
p(a, l) {
|
|
4410
|
+
l[0] & /*vendors*/
|
|
4411
|
+
64 && !Ce(t.src, r = /*vendor*/
|
|
4412
|
+
a[42].logo) && x(t, "src", r), l[0] & /*vendors*/
|
|
4413
|
+
64 && n !== (n = /*vendor*/
|
|
4414
|
+
a[42].displayName) && x(t, "alt", n), /*showvendorname*/
|
|
4415
|
+
a[2] === "false" ? s || (s = jt(), s.c(), s.m(o.parentNode, o)) : s && (s.d(1), s = null);
|
|
4416
|
+
},
|
|
4417
|
+
d(a) {
|
|
4418
|
+
a && (P(t), P(i), P(o)), s && s.d(a);
|
|
4419
|
+
}
|
|
4420
|
+
};
|
|
4421
|
+
}
|
|
4422
|
+
function To(e) {
|
|
4423
|
+
let t, r, n, i, o, s = (
|
|
4424
|
+
/*showvendorname*/
|
|
4425
|
+
e[2] === "false" && Vt()
|
|
4426
|
+
);
|
|
4427
|
+
return {
|
|
4428
|
+
c() {
|
|
4429
|
+
t = S("div"), r = S("img"), o = F(), s && s.c(), Ce(r.src, n = /*vendor*/
|
|
4430
|
+
e[42].logo) || x(r, "src", n), x(r, "alt", i = /*vendor*/
|
|
4431
|
+
e[42].displayName), x(t, "class", "ImageContainer");
|
|
4432
|
+
},
|
|
4433
|
+
m(a, l) {
|
|
4434
|
+
L(a, t, l), H(t, r), H(t, o), s && s.m(t, null);
|
|
4435
|
+
},
|
|
4436
|
+
p(a, l) {
|
|
4437
|
+
l[0] & /*vendors*/
|
|
4438
|
+
64 && !Ce(r.src, n = /*vendor*/
|
|
4439
|
+
a[42].logo) && x(r, "src", n), l[0] & /*vendors*/
|
|
4386
4440
|
64 && i !== (i = /*vendor*/
|
|
4387
|
-
|
|
4388
|
-
|
|
4441
|
+
a[42].displayName) && x(r, "alt", i), /*showvendorname*/
|
|
4442
|
+
a[2] === "false" ? s || (s = Vt(), s.c(), s.m(t, null)) : s && (s.d(1), s = null);
|
|
4389
4443
|
},
|
|
4390
|
-
d(
|
|
4391
|
-
|
|
4444
|
+
d(a) {
|
|
4445
|
+
a && P(t), s && s.d();
|
|
4392
4446
|
}
|
|
4393
4447
|
};
|
|
4394
4448
|
}
|
|
4395
|
-
function
|
|
4449
|
+
function jt(e) {
|
|
4396
4450
|
let t;
|
|
4397
4451
|
return {
|
|
4398
4452
|
c() {
|
|
4399
|
-
t =
|
|
4453
|
+
t = S("div"), x(t, "class", "ActiveImg");
|
|
4400
4454
|
},
|
|
4401
4455
|
m(r, n) {
|
|
4402
|
-
|
|
4456
|
+
L(r, t, n);
|
|
4403
4457
|
},
|
|
4404
4458
|
d(r) {
|
|
4405
|
-
r &&
|
|
4459
|
+
r && P(t);
|
|
4406
4460
|
}
|
|
4407
4461
|
};
|
|
4408
4462
|
}
|
|
4409
|
-
function
|
|
4463
|
+
function Vt(e) {
|
|
4464
|
+
let t;
|
|
4465
|
+
return {
|
|
4466
|
+
c() {
|
|
4467
|
+
t = S("div"), x(t, "class", "ActiveImg");
|
|
4468
|
+
},
|
|
4469
|
+
m(r, n) {
|
|
4470
|
+
L(r, t, n);
|
|
4471
|
+
},
|
|
4472
|
+
d(r) {
|
|
4473
|
+
r && P(t);
|
|
4474
|
+
}
|
|
4475
|
+
};
|
|
4476
|
+
}
|
|
4477
|
+
function Wt(e) {
|
|
4410
4478
|
var i;
|
|
4411
4479
|
let t, r = (
|
|
4412
4480
|
/*vendor*/
|
|
4413
|
-
((i = e[
|
|
4481
|
+
((i = e[42]) == null ? void 0 : i.games.total) + ""
|
|
4414
4482
|
), n;
|
|
4415
4483
|
return {
|
|
4416
4484
|
c() {
|
|
4417
|
-
t =
|
|
4485
|
+
t = S("span"), n = me(r), x(t, "class", "categoryImgButtonCount");
|
|
4418
4486
|
},
|
|
4419
4487
|
m(o, s) {
|
|
4420
|
-
|
|
4488
|
+
L(o, t, s), H(t, n);
|
|
4421
4489
|
},
|
|
4422
4490
|
p(o, s) {
|
|
4423
4491
|
var a;
|
|
4424
4492
|
s[0] & /*vendors*/
|
|
4425
4493
|
64 && r !== (r = /*vendor*/
|
|
4426
|
-
((a = o[
|
|
4494
|
+
((a = o[42]) == null ? void 0 : a.games.total) + "") && ot(n, r);
|
|
4427
4495
|
},
|
|
4428
4496
|
d(o) {
|
|
4429
|
-
o &&
|
|
4497
|
+
o && P(t);
|
|
4430
4498
|
}
|
|
4431
4499
|
};
|
|
4432
4500
|
}
|
|
4433
|
-
function
|
|
4501
|
+
function Xt(e) {
|
|
4434
4502
|
var s;
|
|
4435
4503
|
let t, r = (
|
|
4436
4504
|
/*vendor*/
|
|
4437
|
-
e[
|
|
4505
|
+
e[42].displayName + ""
|
|
4438
4506
|
), n, i, o = (
|
|
4439
4507
|
/*showvendorgames*/
|
|
4440
|
-
e[
|
|
4441
|
-
((s = e[
|
|
4442
|
-
e[10] &&
|
|
4508
|
+
e[3] !== "false" && /*vendor*/
|
|
4509
|
+
((s = e[42]) == null ? void 0 : s.games.total) && !/*isMobile*/
|
|
4510
|
+
e[10] && zt(e)
|
|
4443
4511
|
);
|
|
4444
4512
|
return {
|
|
4445
4513
|
c() {
|
|
4446
|
-
t =
|
|
4514
|
+
t = S("button"), n = me(r), i = F(), o && o.c(), x(
|
|
4515
|
+
t,
|
|
4516
|
+
"class",
|
|
4517
|
+
/*getButtonClasses*/
|
|
4518
|
+
e[17]()
|
|
4519
|
+
);
|
|
4447
4520
|
},
|
|
4448
4521
|
m(a, l) {
|
|
4449
|
-
|
|
4522
|
+
L(a, t, l), H(t, n), H(t, i), o && o.m(t, null);
|
|
4450
4523
|
},
|
|
4451
4524
|
p(a, l) {
|
|
4452
4525
|
var u;
|
|
4453
4526
|
l[0] & /*vendors*/
|
|
4454
4527
|
64 && r !== (r = /*vendor*/
|
|
4455
|
-
a[
|
|
4456
|
-
a[
|
|
4457
|
-
((u = a[
|
|
4458
|
-
a[10] ? o ? o.p(a, l) : (o =
|
|
4528
|
+
a[42].displayName + "") && ot(n, r), /*showvendorgames*/
|
|
4529
|
+
a[3] !== "false" && /*vendor*/
|
|
4530
|
+
((u = a[42]) != null && u.games.total) && !/*isMobile*/
|
|
4531
|
+
a[10] ? o ? o.p(a, l) : (o = zt(a), o.c(), o.m(t, null)) : o && (o.d(1), o = null);
|
|
4459
4532
|
},
|
|
4460
4533
|
d(a) {
|
|
4461
|
-
a &&
|
|
4534
|
+
a && P(t), o && o.d();
|
|
4462
4535
|
}
|
|
4463
4536
|
};
|
|
4464
4537
|
}
|
|
4465
|
-
function
|
|
4538
|
+
function zt(e) {
|
|
4466
4539
|
var i;
|
|
4467
4540
|
let t, r = (
|
|
4468
4541
|
/*vendor*/
|
|
4469
|
-
((i = e[
|
|
4542
|
+
((i = e[42]) == null ? void 0 : i.games.total) + ""
|
|
4470
4543
|
), n;
|
|
4471
4544
|
return {
|
|
4472
4545
|
c() {
|
|
4473
|
-
t =
|
|
4546
|
+
t = S("span"), n = me(r), x(t, "class", "CategoryButtonCount");
|
|
4474
4547
|
},
|
|
4475
4548
|
m(o, s) {
|
|
4476
|
-
|
|
4549
|
+
L(o, t, s), H(t, n);
|
|
4477
4550
|
},
|
|
4478
4551
|
p(o, s) {
|
|
4479
4552
|
var a;
|
|
4480
4553
|
s[0] & /*vendors*/
|
|
4481
4554
|
64 && r !== (r = /*vendor*/
|
|
4482
|
-
((a = o[
|
|
4555
|
+
((a = o[42]) == null ? void 0 : a.games.total) + "") && ot(n, r);
|
|
4483
4556
|
},
|
|
4484
4557
|
d(o) {
|
|
4485
|
-
o &&
|
|
4558
|
+
o && P(t);
|
|
4486
4559
|
}
|
|
4487
4560
|
};
|
|
4488
4561
|
}
|
|
4489
|
-
function
|
|
4562
|
+
function Zt(e, t) {
|
|
4490
4563
|
var b, p;
|
|
4491
4564
|
let r, n, i, o, s, a, l, u = (
|
|
4492
|
-
/*
|
|
4493
|
-
t[
|
|
4494
|
-
t[0] !== "false" && kt(t)
|
|
4565
|
+
/*showvendoricon*/
|
|
4566
|
+
t[1] !== "false" && Ft(t)
|
|
4495
4567
|
), h = (
|
|
4496
|
-
/*
|
|
4497
|
-
t[
|
|
4498
|
-
t[
|
|
4499
|
-
t[2]
|
|
4500
|
-
t[
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
t[41].logo && /*showvendorname*/
|
|
4506
|
-
t[1] !== "false" && Vt(t)
|
|
4568
|
+
/*showvendoricon*/
|
|
4569
|
+
t[1] == "true" && /*showvendorgames*/
|
|
4570
|
+
t[3] !== "false" && /*showvendorname*/
|
|
4571
|
+
t[2] == "false" && /*vendor*/
|
|
4572
|
+
((p = (b = t[42]) == null ? void 0 : b.games) == null ? void 0 : p.total) && !/*isMobile*/
|
|
4573
|
+
t[10] && Wt(t)
|
|
4574
|
+
), c = (
|
|
4575
|
+
/*showvendorname*/
|
|
4576
|
+
t[2] !== "false" && Xt(t)
|
|
4507
4577
|
);
|
|
4508
|
-
function
|
|
4578
|
+
function f(...m) {
|
|
4509
4579
|
return (
|
|
4510
4580
|
/*click_handler*/
|
|
4511
|
-
t[
|
|
4581
|
+
t[25](
|
|
4512
4582
|
/*vendor*/
|
|
4513
|
-
t[
|
|
4583
|
+
t[42],
|
|
4514
4584
|
/*index*/
|
|
4515
|
-
t[
|
|
4585
|
+
t[44],
|
|
4516
4586
|
...m
|
|
4517
4587
|
)
|
|
4518
4588
|
);
|
|
@@ -4521,79 +4591,76 @@ function Xt(e, t) {
|
|
|
4521
4591
|
key: e,
|
|
4522
4592
|
first: null,
|
|
4523
4593
|
c() {
|
|
4524
|
-
r =
|
|
4594
|
+
r = S("li"), u && u.c(), n = F(), h && h.c(), i = F(), c && c.c(), o = F(), x(r, "class", s = "CarouselItem " + (String(
|
|
4525
4595
|
/*activevendor*/
|
|
4526
|
-
t[
|
|
4596
|
+
t[0]
|
|
4527
4597
|
) == String(
|
|
4528
4598
|
/*vendor*/
|
|
4529
|
-
t[
|
|
4599
|
+
t[42].id
|
|
4530
4600
|
) ? "active" : "") + " SecondaryMenu"), this.first = r;
|
|
4531
4601
|
},
|
|
4532
4602
|
m(m, _) {
|
|
4533
|
-
|
|
4534
|
-
K(r, "click",
|
|
4603
|
+
L(m, r, _), u && u.m(r, null), H(r, n), h && h.m(r, null), H(r, i), c && c.m(r, null), H(r, o), a || (l = [
|
|
4604
|
+
K(r, "click", f),
|
|
4535
4605
|
K(r, "keydown", function() {
|
|
4536
|
-
|
|
4606
|
+
Te(
|
|
4537
4607
|
/*onCarouselItemKeydown*/
|
|
4538
4608
|
t[16](
|
|
4539
4609
|
/*vendor*/
|
|
4540
|
-
t[
|
|
4610
|
+
t[42],
|
|
4541
4611
|
/*index*/
|
|
4542
|
-
t[
|
|
4612
|
+
t[44]
|
|
4543
4613
|
)
|
|
4544
4614
|
) && t[16](
|
|
4545
4615
|
/*vendor*/
|
|
4546
|
-
t[
|
|
4616
|
+
t[42],
|
|
4547
4617
|
/*index*/
|
|
4548
|
-
t[
|
|
4618
|
+
t[44]
|
|
4549
4619
|
).apply(this, arguments);
|
|
4550
4620
|
})
|
|
4551
4621
|
], a = !0);
|
|
4552
4622
|
},
|
|
4553
4623
|
p(m, _) {
|
|
4554
|
-
var
|
|
4555
|
-
t = m, /*
|
|
4556
|
-
t[
|
|
4557
|
-
t[
|
|
4558
|
-
t[
|
|
4559
|
-
t[
|
|
4560
|
-
t[
|
|
4561
|
-
t[
|
|
4562
|
-
(
|
|
4563
|
-
|
|
4564
|
-
t[41].logo && /*showvendorname*/
|
|
4565
|
-
t[1] !== "false" ? f ? f.p(t, _) : (f = Vt(t), f.c(), f.m(r, o)) : f && (f.d(1), f = null), _[0] & /*activevendor, vendors*/
|
|
4566
|
-
72 && s !== (s = "CarouselItem " + (String(
|
|
4624
|
+
var M, I;
|
|
4625
|
+
t = m, /*showvendoricon*/
|
|
4626
|
+
t[1] !== "false" ? u ? u.p(t, _) : (u = Ft(t), u.c(), u.m(r, n)) : u && (u.d(1), u = null), /*showvendoricon*/
|
|
4627
|
+
t[1] == "true" && /*showvendorgames*/
|
|
4628
|
+
t[3] !== "false" && /*showvendorname*/
|
|
4629
|
+
t[2] == "false" && /*vendor*/
|
|
4630
|
+
((I = (M = t[42]) == null ? void 0 : M.games) != null && I.total) && !/*isMobile*/
|
|
4631
|
+
t[10] ? h ? h.p(t, _) : (h = Wt(t), h.c(), h.m(r, i)) : h && (h.d(1), h = null), /*showvendorname*/
|
|
4632
|
+
t[2] !== "false" ? c ? c.p(t, _) : (c = Xt(t), c.c(), c.m(r, o)) : c && (c.d(1), c = null), _[0] & /*activevendor, vendors*/
|
|
4633
|
+
65 && s !== (s = "CarouselItem " + (String(
|
|
4567
4634
|
/*activevendor*/
|
|
4568
|
-
t[
|
|
4635
|
+
t[0]
|
|
4569
4636
|
) == String(
|
|
4570
4637
|
/*vendor*/
|
|
4571
|
-
t[
|
|
4638
|
+
t[42].id
|
|
4572
4639
|
) ? "active" : "") + " SecondaryMenu") && x(r, "class", s);
|
|
4573
4640
|
},
|
|
4574
4641
|
d(m) {
|
|
4575
|
-
m &&
|
|
4642
|
+
m && P(r), u && u.d(), h && h.d(), c && c.d(), a = !1, z(l);
|
|
4576
4643
|
}
|
|
4577
4644
|
};
|
|
4578
4645
|
}
|
|
4579
|
-
function
|
|
4646
|
+
function Ho(e) {
|
|
4580
4647
|
let t;
|
|
4581
4648
|
function r(o, s) {
|
|
4582
4649
|
return (
|
|
4583
4650
|
/*isLoading*/
|
|
4584
|
-
o[5] ?
|
|
4651
|
+
o[5] ? wo : (
|
|
4585
4652
|
/*hasErrors*/
|
|
4586
|
-
o[7] ?
|
|
4653
|
+
o[7] ? Co : Eo
|
|
4587
4654
|
)
|
|
4588
4655
|
);
|
|
4589
4656
|
}
|
|
4590
4657
|
let n = r(e), i = n(e);
|
|
4591
4658
|
return {
|
|
4592
4659
|
c() {
|
|
4593
|
-
t =
|
|
4660
|
+
t = S("div"), i.c();
|
|
4594
4661
|
},
|
|
4595
4662
|
m(o, s) {
|
|
4596
|
-
|
|
4663
|
+
L(o, t, s), i.m(t, null), e[29](t);
|
|
4597
4664
|
},
|
|
4598
4665
|
p(o, s) {
|
|
4599
4666
|
n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
|
|
@@ -4601,63 +4668,63 @@ function Co(e) {
|
|
|
4601
4668
|
i: D,
|
|
4602
4669
|
o: D,
|
|
4603
4670
|
d(o) {
|
|
4604
|
-
o &&
|
|
4671
|
+
o && P(t), i.d(), e[29](null);
|
|
4605
4672
|
}
|
|
4606
4673
|
};
|
|
4607
4674
|
}
|
|
4608
|
-
function
|
|
4609
|
-
|
|
4610
|
-
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { lang: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { actionevent: l = "defaultevent" } = t, { translationurl: u = "" } = t, { showvendoricon: h = "true" } = t, { showvendorname:
|
|
4675
|
+
function Ao(e, t, r) {
|
|
4676
|
+
vo({ withLocale: "en", translations: {} });
|
|
4677
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { lang: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { actionevent: l = "defaultevent" } = t, { translationurl: u = "" } = t, { showvendoricon: h = "true" } = t, { showvendorname: c = "false" } = t, { showvendorgames: f = "false" } = t, { activevendor: b = "0" } = t, p = window.navigator.userAgent, m = $t(p) !== "PC", _ = !0, M, I = [], T = !1, B, N, A;
|
|
4611
4678
|
const w = () => {
|
|
4612
4679
|
fetch(u).then((E) => E.json()).then((E) => {
|
|
4613
4680
|
Object.keys(E).forEach((O) => {
|
|
4614
|
-
|
|
4681
|
+
yo(O, E[O]);
|
|
4615
4682
|
});
|
|
4616
4683
|
}).catch((E) => {
|
|
4617
4684
|
console.log(E);
|
|
4618
4685
|
});
|
|
4619
4686
|
}, $ = () => {
|
|
4620
4687
|
let d = document.createElement("style");
|
|
4621
|
-
d.innerHTML = s,
|
|
4622
|
-
},
|
|
4688
|
+
d.innerHTML = s, B.appendChild(d);
|
|
4689
|
+
}, k = () => {
|
|
4623
4690
|
let d = document.createElement("style"), E = new URL(a);
|
|
4624
4691
|
fetch(E.href).then((O) => O.text()).then((O) => {
|
|
4625
4692
|
d.innerHTML = O, setTimeout(
|
|
4626
4693
|
() => {
|
|
4627
|
-
|
|
4694
|
+
B.appendChild(d);
|
|
4628
4695
|
},
|
|
4629
4696
|
1
|
|
4630
4697
|
);
|
|
4631
4698
|
});
|
|
4632
4699
|
}, Q = () => {
|
|
4633
|
-
|
|
4634
|
-
}, Br = () => (n || (
|
|
4700
|
+
_o(o);
|
|
4701
|
+
}, Br = () => (n || (M = "Endpoint is missing! Please provide a valid endpointURL.", r(7, T = !0), r(5, _ = !1), console.error(M)), (!o || o.length < 2) && (M = "Language is missing! Please provide a valid language (alpha2code)", r(7, T = !0), r(5, _ = !1), console.error(M)), T), Pr = () => {
|
|
4635
4702
|
if (!Br()) {
|
|
4636
4703
|
let d = new URL(`${n}/v1/casino/vendors`);
|
|
4637
|
-
d.searchParams.append("datasource", i), d.searchParams.append("language", o), d.searchParams.append("platform",
|
|
4704
|
+
d.searchParams.append("datasource", i), d.searchParams.append("language", o), d.searchParams.append("platform", $t(p)), fetch(d).then((E) => E.json()).then(
|
|
4638
4705
|
(E) => {
|
|
4639
4706
|
let O = E.items.filter((Gr) => Gr.games.total > 0);
|
|
4640
4707
|
r(6, I = []), r(6, I = I.concat(O)), r(5, _ = !1);
|
|
4641
4708
|
},
|
|
4642
4709
|
(E) => {
|
|
4643
|
-
r(7,
|
|
4710
|
+
r(7, T = !0), console.error("There was an error while fetching the vendors", E);
|
|
4644
4711
|
}
|
|
4645
4712
|
).catch((E) => {
|
|
4646
|
-
r(7,
|
|
4713
|
+
r(7, T = !0), console.error("There was an error while fetching the vendors", E);
|
|
4647
4714
|
});
|
|
4648
4715
|
}
|
|
4649
4716
|
};
|
|
4650
|
-
|
|
4717
|
+
tn(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), setTimeout(
|
|
4651
4718
|
() => {
|
|
4652
|
-
|
|
4719
|
+
A && A.addEventListener("scroll", Oe);
|
|
4653
4720
|
},
|
|
4654
4721
|
500
|
|
4655
4722
|
), () => {
|
|
4656
|
-
|
|
4723
|
+
N.removeEventListener("scroll", Oe);
|
|
4657
4724
|
}));
|
|
4658
|
-
let
|
|
4725
|
+
let Me = (d, E) => {
|
|
4659
4726
|
var O;
|
|
4660
|
-
Oe(), window.postMessage(
|
|
4727
|
+
Oe(), r(0, b = d.id), window.postMessage(
|
|
4661
4728
|
{
|
|
4662
4729
|
type: l,
|
|
4663
4730
|
itemId: d.id,
|
|
@@ -4669,74 +4736,78 @@ function wo(e, t, r) {
|
|
|
4669
4736
|
},
|
|
4670
4737
|
window.location.href
|
|
4671
4738
|
);
|
|
4672
|
-
},
|
|
4673
|
-
|
|
4674
|
-
},
|
|
4675
|
-
|
|
4739
|
+
}, ht = () => {
|
|
4740
|
+
A.scrollBy({ left: -250, behavior: "smooth" });
|
|
4741
|
+
}, ct = () => {
|
|
4742
|
+
A.scrollBy({ left: 250, behavior: "smooth" });
|
|
4676
4743
|
};
|
|
4677
4744
|
const Oe = () => {
|
|
4678
|
-
const d =
|
|
4679
|
-
document.activeElement.blur(),
|
|
4745
|
+
const d = N.querySelectorAll(".DropDown");
|
|
4746
|
+
document.activeElement.blur(), A.classList.add("isScrolling");
|
|
4680
4747
|
for (let E = 0; E < d.length; E++)
|
|
4681
|
-
d[E].style.transform = "translateX(-" +
|
|
4682
|
-
|
|
4683
|
-
}, Or = (d) => {
|
|
4684
|
-
(d.key === "Enter" || d.key === " ") && (lt(), d.preventDefault());
|
|
4748
|
+
d[E].style.transform = "translateX(-" + A.scrollLeft + "px)";
|
|
4749
|
+
A.classList.remove("isScrolling");
|
|
4685
4750
|
}, Mr = (d) => {
|
|
4686
|
-
(d.key === "Enter" || d.key === " ") && (
|
|
4751
|
+
(d.key === "Enter" || d.key === " ") && (ct(), d.preventDefault());
|
|
4752
|
+
}, Or = (d) => {
|
|
4753
|
+
(d.key === "Enter" || d.key === " ") && (ht(), d.preventDefault());
|
|
4687
4754
|
}, Lr = (d, E) => (O) => {
|
|
4688
|
-
(O.key === "Enter" || O.key === " ") && (
|
|
4689
|
-
}, Nr = (
|
|
4690
|
-
|
|
4755
|
+
(O.key === "Enter" || O.key === " ") && (Me(d, E), O.preventDefault());
|
|
4756
|
+
}, Nr = () => {
|
|
4757
|
+
if (m && c === "true" && h === "false")
|
|
4758
|
+
return "MobileCategoryButton";
|
|
4759
|
+
}, Rr = (d, E, O) => {
|
|
4760
|
+
Me(d, E), O.preventDefault();
|
|
4691
4761
|
};
|
|
4692
|
-
function Rr(d) {
|
|
4693
|
-
ee[d ? "unshift" : "push"](() => {
|
|
4694
|
-
M = d, r(8, M);
|
|
4695
|
-
});
|
|
4696
|
-
}
|
|
4697
4762
|
function Ur(d) {
|
|
4698
4763
|
ee[d ? "unshift" : "push"](() => {
|
|
4699
|
-
|
|
4764
|
+
N = d, r(8, N);
|
|
4700
4765
|
});
|
|
4701
4766
|
}
|
|
4702
4767
|
function Dr(d) {
|
|
4703
4768
|
ee[d ? "unshift" : "push"](() => {
|
|
4704
|
-
A = d, r(
|
|
4769
|
+
A = d, r(9, A);
|
|
4705
4770
|
});
|
|
4706
4771
|
}
|
|
4707
4772
|
function $r(d) {
|
|
4708
4773
|
ee[d ? "unshift" : "push"](() => {
|
|
4709
|
-
|
|
4774
|
+
B = d, r(4, B);
|
|
4775
|
+
});
|
|
4776
|
+
}
|
|
4777
|
+
function kr(d) {
|
|
4778
|
+
ee[d ? "unshift" : "push"](() => {
|
|
4779
|
+
B = d, r(4, B);
|
|
4710
4780
|
});
|
|
4711
4781
|
}
|
|
4712
4782
|
return e.$$set = (d) => {
|
|
4713
|
-
"endpoint" in d && r(
|
|
4783
|
+
"endpoint" in d && r(18, n = d.endpoint), "datasource" in d && r(19, i = d.datasource), "lang" in d && r(20, o = d.lang), "clientstyling" in d && r(21, s = d.clientstyling), "clientstylingurl" in d && r(22, a = d.clientstylingurl), "actionevent" in d && r(23, l = d.actionevent), "translationurl" in d && r(24, u = d.translationurl), "showvendoricon" in d && r(1, h = d.showvendoricon), "showvendorname" in d && r(2, c = d.showvendorname), "showvendorgames" in d && r(3, f = d.showvendorgames), "activevendor" in d && r(0, b = d.activevendor);
|
|
4714
4784
|
}, e.$$.update = () => {
|
|
4715
4785
|
e.$$.dirty[0] & /*endpoint, lang*/
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4786
|
+
1310720 && n && o && Pr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4787
|
+
2097168 && s && B && $(), e.$$.dirty[0] & /*translationurl*/
|
|
4788
|
+
16777216 && u && w(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4789
|
+
4194320 && a && B && k(), e.$$.dirty[0] & /*activevendor*/
|
|
4790
|
+
1, e.$$.dirty[0] & /*lang*/
|
|
4791
|
+
1048576 && o && Q();
|
|
4722
4792
|
}, [
|
|
4793
|
+
b,
|
|
4723
4794
|
h,
|
|
4724
|
-
f,
|
|
4725
4795
|
c,
|
|
4726
|
-
|
|
4727
|
-
|
|
4796
|
+
f,
|
|
4797
|
+
B,
|
|
4728
4798
|
_,
|
|
4729
4799
|
I,
|
|
4730
|
-
S,
|
|
4731
|
-
M,
|
|
4732
4800
|
T,
|
|
4801
|
+
N,
|
|
4802
|
+
A,
|
|
4733
4803
|
m,
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
Or,
|
|
4804
|
+
Me,
|
|
4805
|
+
ht,
|
|
4806
|
+
ct,
|
|
4738
4807
|
Mr,
|
|
4808
|
+
Or,
|
|
4739
4809
|
Lr,
|
|
4810
|
+
Nr,
|
|
4740
4811
|
n,
|
|
4741
4812
|
i,
|
|
4742
4813
|
o,
|
|
@@ -4744,106 +4815,106 @@ function wo(e, t, r) {
|
|
|
4744
4815
|
a,
|
|
4745
4816
|
l,
|
|
4746
4817
|
u,
|
|
4747
|
-
Nr,
|
|
4748
4818
|
Rr,
|
|
4749
4819
|
Ur,
|
|
4750
4820
|
Dr,
|
|
4751
|
-
$r
|
|
4821
|
+
$r,
|
|
4822
|
+
kr
|
|
4752
4823
|
];
|
|
4753
4824
|
}
|
|
4754
|
-
class
|
|
4825
|
+
class Io extends mn {
|
|
4755
4826
|
constructor(t) {
|
|
4756
|
-
super(),
|
|
4827
|
+
super(), dn(
|
|
4757
4828
|
this,
|
|
4758
4829
|
t,
|
|
4759
|
-
|
|
4760
|
-
|
|
4761
|
-
|
|
4830
|
+
Ao,
|
|
4831
|
+
Ho,
|
|
4832
|
+
Yt,
|
|
4762
4833
|
{
|
|
4763
|
-
endpoint:
|
|
4764
|
-
datasource:
|
|
4765
|
-
lang:
|
|
4766
|
-
clientstyling:
|
|
4767
|
-
clientstylingurl:
|
|
4768
|
-
actionevent:
|
|
4769
|
-
translationurl:
|
|
4770
|
-
showvendoricon:
|
|
4771
|
-
showvendorname:
|
|
4772
|
-
showvendorgames:
|
|
4773
|
-
activevendor:
|
|
4834
|
+
endpoint: 18,
|
|
4835
|
+
datasource: 19,
|
|
4836
|
+
lang: 20,
|
|
4837
|
+
clientstyling: 21,
|
|
4838
|
+
clientstylingurl: 22,
|
|
4839
|
+
actionevent: 23,
|
|
4840
|
+
translationurl: 24,
|
|
4841
|
+
showvendoricon: 1,
|
|
4842
|
+
showvendorname: 2,
|
|
4843
|
+
showvendorgames: 3,
|
|
4844
|
+
activevendor: 0
|
|
4774
4845
|
},
|
|
4775
|
-
|
|
4846
|
+
xo,
|
|
4776
4847
|
[-1, -1]
|
|
4777
4848
|
);
|
|
4778
4849
|
}
|
|
4779
4850
|
get endpoint() {
|
|
4780
|
-
return this.$$.ctx[
|
|
4851
|
+
return this.$$.ctx[18];
|
|
4781
4852
|
}
|
|
4782
4853
|
set endpoint(t) {
|
|
4783
4854
|
this.$$set({ endpoint: t }), U();
|
|
4784
4855
|
}
|
|
4785
4856
|
get datasource() {
|
|
4786
|
-
return this.$$.ctx[
|
|
4857
|
+
return this.$$.ctx[19];
|
|
4787
4858
|
}
|
|
4788
4859
|
set datasource(t) {
|
|
4789
4860
|
this.$$set({ datasource: t }), U();
|
|
4790
4861
|
}
|
|
4791
4862
|
get lang() {
|
|
4792
|
-
return this.$$.ctx[
|
|
4863
|
+
return this.$$.ctx[20];
|
|
4793
4864
|
}
|
|
4794
4865
|
set lang(t) {
|
|
4795
4866
|
this.$$set({ lang: t }), U();
|
|
4796
4867
|
}
|
|
4797
4868
|
get clientstyling() {
|
|
4798
|
-
return this.$$.ctx[
|
|
4869
|
+
return this.$$.ctx[21];
|
|
4799
4870
|
}
|
|
4800
4871
|
set clientstyling(t) {
|
|
4801
4872
|
this.$$set({ clientstyling: t }), U();
|
|
4802
4873
|
}
|
|
4803
4874
|
get clientstylingurl() {
|
|
4804
|
-
return this.$$.ctx[
|
|
4875
|
+
return this.$$.ctx[22];
|
|
4805
4876
|
}
|
|
4806
4877
|
set clientstylingurl(t) {
|
|
4807
4878
|
this.$$set({ clientstylingurl: t }), U();
|
|
4808
4879
|
}
|
|
4809
4880
|
get actionevent() {
|
|
4810
|
-
return this.$$.ctx[
|
|
4881
|
+
return this.$$.ctx[23];
|
|
4811
4882
|
}
|
|
4812
4883
|
set actionevent(t) {
|
|
4813
4884
|
this.$$set({ actionevent: t }), U();
|
|
4814
4885
|
}
|
|
4815
4886
|
get translationurl() {
|
|
4816
|
-
return this.$$.ctx[
|
|
4887
|
+
return this.$$.ctx[24];
|
|
4817
4888
|
}
|
|
4818
4889
|
set translationurl(t) {
|
|
4819
4890
|
this.$$set({ translationurl: t }), U();
|
|
4820
4891
|
}
|
|
4821
4892
|
get showvendoricon() {
|
|
4822
|
-
return this.$$.ctx[
|
|
4893
|
+
return this.$$.ctx[1];
|
|
4823
4894
|
}
|
|
4824
4895
|
set showvendoricon(t) {
|
|
4825
4896
|
this.$$set({ showvendoricon: t }), U();
|
|
4826
4897
|
}
|
|
4827
4898
|
get showvendorname() {
|
|
4828
|
-
return this.$$.ctx[
|
|
4899
|
+
return this.$$.ctx[2];
|
|
4829
4900
|
}
|
|
4830
4901
|
set showvendorname(t) {
|
|
4831
4902
|
this.$$set({ showvendorname: t }), U();
|
|
4832
4903
|
}
|
|
4833
4904
|
get showvendorgames() {
|
|
4834
|
-
return this.$$.ctx[
|
|
4905
|
+
return this.$$.ctx[3];
|
|
4835
4906
|
}
|
|
4836
4907
|
set showvendorgames(t) {
|
|
4837
4908
|
this.$$set({ showvendorgames: t }), U();
|
|
4838
4909
|
}
|
|
4839
4910
|
get activevendor() {
|
|
4840
|
-
return this.$$.ctx[
|
|
4911
|
+
return this.$$.ctx[0];
|
|
4841
4912
|
}
|
|
4842
4913
|
set activevendor(t) {
|
|
4843
4914
|
this.$$set({ activevendor: t }), U();
|
|
4844
4915
|
}
|
|
4845
4916
|
}
|
|
4846
|
-
|
|
4917
|
+
pn(Io, { endpoint: {}, datasource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, actionevent: {}, translationurl: {}, showvendoricon: {}, showvendorname: {}, showvendorgames: {}, activevendor: {} }, [], [], !0);
|
|
4847
4918
|
export {
|
|
4848
|
-
|
|
4919
|
+
Io as default
|
|
4849
4920
|
};
|