@everymatrix/casino-slider 1.44.0 → 1.45.2

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.
@@ -0,0 +1,5037 @@
1
+ var an = Object.defineProperty, un = Object.defineProperties;
2
+ var ln = Object.getOwnPropertyDescriptors;
3
+ var xt = Object.getOwnPropertySymbols;
4
+ var hn = Object.prototype.hasOwnProperty, cn = Object.prototype.propertyIsEnumerable;
5
+ var $e = (e, t, r) => t in e ? an(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ hn.call(t, r) && $e(e, r, t[r]);
8
+ if (xt)
9
+ for (var r of xt(t))
10
+ cn.call(t, r) && $e(e, r, t[r]);
11
+ return e;
12
+ }, Ct = (e, t) => un(e, ln(t));
13
+ var D = (e, t, r) => $e(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var St = (e, t, r) => new Promise((n, i) => {
15
+ var o = (u) => {
16
+ try {
17
+ a(r.next(u));
18
+ } catch (l) {
19
+ i(l);
20
+ }
21
+ }, s = (u) => {
22
+ try {
23
+ a(r.throw(u));
24
+ } catch (l) {
25
+ i(l);
26
+ }
27
+ }, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
28
+ a((r = r.apply(e, t)).next());
29
+ });
30
+ function G() {
31
+ }
32
+ function ar(e) {
33
+ return e();
34
+ }
35
+ function Ht() {
36
+ return /* @__PURE__ */ Object.create(null);
37
+ }
38
+ function K(e) {
39
+ e.forEach(ar);
40
+ }
41
+ function ft(e) {
42
+ return typeof e == "function";
43
+ }
44
+ function ur(e, t) {
45
+ return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
+ }
47
+ let He;
48
+ function Tt(e, t) {
49
+ return e === t ? !0 : (He || (He = document.createElement("a")), He.href = t, e === He.href);
50
+ }
51
+ function fn(e) {
52
+ return Object.keys(e).length === 0;
53
+ }
54
+ function dn(e, ...t) {
55
+ if (e == null) {
56
+ for (const n of t)
57
+ n(void 0);
58
+ return G;
59
+ }
60
+ const r = e.subscribe(...t);
61
+ return r.unsubscribe ? () => r.unsubscribe() : r;
62
+ }
63
+ function I(e, t) {
64
+ e.appendChild(t);
65
+ }
66
+ function pn(e, t, r) {
67
+ const n = mn(e);
68
+ if (!n.getElementById(t)) {
69
+ const i = P("style");
70
+ i.id = t, i.textContent = r, bn(n, i);
71
+ }
72
+ }
73
+ function mn(e) {
74
+ if (!e) return document;
75
+ const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
76
+ return t && /** @type {ShadowRoot} */
77
+ t.host ? (
78
+ /** @type {ShadowRoot} */
79
+ t
80
+ ) : e.ownerDocument;
81
+ }
82
+ function bn(e, t) {
83
+ return I(
84
+ /** @type {Document} */
85
+ e.head || e,
86
+ t
87
+ ), t.sheet;
88
+ }
89
+ function U(e, t, r) {
90
+ e.insertBefore(t, r || null);
91
+ }
92
+ function R(e) {
93
+ e.parentNode && e.parentNode.removeChild(e);
94
+ }
95
+ function gn(e, t) {
96
+ for (let r = 0; r < e.length; r += 1)
97
+ e[r] && e[r].d(t);
98
+ }
99
+ function P(e) {
100
+ return document.createElement(e);
101
+ }
102
+ function xe(e) {
103
+ return document.createTextNode(e);
104
+ }
105
+ function J() {
106
+ return xe(" ");
107
+ }
108
+ function ye() {
109
+ return xe("");
110
+ }
111
+ function Oe(e, t, r, n) {
112
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
+ }
114
+ function H(e, t, r) {
115
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
+ }
117
+ function yn(e) {
118
+ return Array.from(e.childNodes);
119
+ }
120
+ function dt(e, t) {
121
+ t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
+ t);
123
+ }
124
+ function vn(e) {
125
+ const t = {};
126
+ return e.childNodes.forEach(
127
+ /** @param {Element} node */
128
+ (r) => {
129
+ t[r.slot || "default"] = !0;
130
+ }
131
+ ), t;
132
+ }
133
+ let ve;
134
+ function be(e) {
135
+ ve = e;
136
+ }
137
+ function _n() {
138
+ if (!ve) throw new Error("Function called outside component initialization");
139
+ return ve;
140
+ }
141
+ function En(e) {
142
+ _n().$$.on_mount.push(e);
143
+ }
144
+ const ne = [], ge = [];
145
+ let ie = [];
146
+ const At = [], xn = /* @__PURE__ */ Promise.resolve();
147
+ let qe = !1;
148
+ function wn() {
149
+ qe || (qe = !0, xn.then(A));
150
+ }
151
+ function Je(e) {
152
+ ie.push(e);
153
+ }
154
+ const je = /* @__PURE__ */ new Set();
155
+ let te = 0;
156
+ function A() {
157
+ if (te !== 0)
158
+ return;
159
+ const e = ve;
160
+ do {
161
+ try {
162
+ for (; te < ne.length; ) {
163
+ const t = ne[te];
164
+ te++, be(t), Cn(t.$$);
165
+ }
166
+ } catch (t) {
167
+ throw ne.length = 0, te = 0, t;
168
+ }
169
+ for (be(null), ne.length = 0, te = 0; ge.length; ) ge.pop()();
170
+ for (let t = 0; t < ie.length; t += 1) {
171
+ const r = ie[t];
172
+ je.has(r) || (je.add(r), r());
173
+ }
174
+ ie.length = 0;
175
+ } while (ne.length);
176
+ for (; At.length; )
177
+ At.pop()();
178
+ qe = !1, je.clear(), be(e);
179
+ }
180
+ function Cn(e) {
181
+ if (e.fragment !== null) {
182
+ e.update(), K(e.before_update);
183
+ const t = e.dirty;
184
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
185
+ }
186
+ }
187
+ function Sn(e) {
188
+ const t = [], r = [];
189
+ ie.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ie = t;
190
+ }
191
+ const Hn = /* @__PURE__ */ new Set();
192
+ function lr(e, t) {
193
+ e && e.i && (Hn.delete(e), e.i(t));
194
+ }
195
+ function se(e) {
196
+ return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
197
+ }
198
+ function hr(e, t) {
199
+ e.d(1), t.delete(e.key);
200
+ }
201
+ function cr(e, t, r, n, i, o, s, a, u, l, h, d) {
202
+ let f = e.length, p = o.length, g = f;
203
+ const m = {};
204
+ for (; g--; ) m[e[g].key] = g;
205
+ const b = [], S = /* @__PURE__ */ new Map(), _ = /* @__PURE__ */ new Map(), w = [];
206
+ for (g = p; g--; ) {
207
+ const C = d(i, o, g), M = r(C);
208
+ let O = s.get(M);
209
+ O ? w.push(() => O.p(C, t)) : (O = l(M, C), O.c()), S.set(M, b[g] = O), M in m && _.set(M, Math.abs(g - m[M]));
210
+ }
211
+ const L = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
212
+ function k(C) {
213
+ lr(C, 1), C.m(a, h), s.set(C.key, C), h = C.first, p--;
214
+ }
215
+ for (; f && p; ) {
216
+ const C = b[p - 1], M = e[f - 1], O = C.key, X = M.key;
217
+ C === M ? (h = C.first, f--, p--) : S.has(X) ? !s.has(O) || L.has(O) ? k(C) : N.has(X) ? f-- : _.get(O) > _.get(X) ? (N.add(O), k(C)) : (L.add(X), f--) : (u(M, s), f--);
218
+ }
219
+ for (; f--; ) {
220
+ const C = e[f];
221
+ S.has(C.key) || u(C, s);
222
+ }
223
+ for (; p; ) k(b[p - 1]);
224
+ return K(w), b;
225
+ }
226
+ function Tn(e, t, r) {
227
+ const { fragment: n, after_update: i } = e.$$;
228
+ n && n.m(t, r), Je(() => {
229
+ const o = e.$$.on_mount.map(ar).filter(ft);
230
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
231
+ }), i.forEach(Je);
232
+ }
233
+ function An(e, t) {
234
+ const r = e.$$;
235
+ r.fragment !== null && (Sn(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
236
+ }
237
+ function In(e, t) {
238
+ e.$$.dirty[0] === -1 && (ne.push(e), wn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
239
+ }
240
+ function Bn(e, t, r, n, i, o, s = null, a = [-1]) {
241
+ const u = ve;
242
+ be(e);
243
+ const l = e.$$ = {
244
+ fragment: null,
245
+ ctx: [],
246
+ // state
247
+ props: o,
248
+ update: G,
249
+ not_equal: i,
250
+ bound: Ht(),
251
+ // lifecycle
252
+ on_mount: [],
253
+ on_destroy: [],
254
+ on_disconnect: [],
255
+ before_update: [],
256
+ after_update: [],
257
+ context: new Map(t.context || (u ? u.$$.context : [])),
258
+ // everything else
259
+ callbacks: Ht(),
260
+ dirty: a,
261
+ skip_bound: !1,
262
+ root: t.target || u.$$.root
263
+ };
264
+ s && s(l.root);
265
+ let h = !1;
266
+ if (l.ctx = r ? r(e, t.props || {}, (d, f, ...p) => {
267
+ const g = p.length ? p[0] : f;
268
+ return l.ctx && i(l.ctx[d], l.ctx[d] = g) && (!l.skip_bound && l.bound[d] && l.bound[d](g), h && In(e, d)), f;
269
+ }) : [], l.update(), h = !0, K(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
270
+ if (t.hydrate) {
271
+ const d = yn(t.target);
272
+ l.fragment && l.fragment.l(d), d.forEach(R);
273
+ } else
274
+ l.fragment && l.fragment.c();
275
+ t.intro && lr(e.$$.fragment), Tn(e, t.target, t.anchor), A();
276
+ }
277
+ be(u);
278
+ }
279
+ let fr;
280
+ typeof HTMLElement == "function" && (fr = class extends HTMLElement {
281
+ constructor(t, r, n) {
282
+ super();
283
+ /** The Svelte component constructor */
284
+ D(this, "$$ctor");
285
+ /** Slots */
286
+ D(this, "$$s");
287
+ /** The Svelte component instance */
288
+ D(this, "$$c");
289
+ /** Whether or not the custom element is connected */
290
+ D(this, "$$cn", !1);
291
+ /** Component props data */
292
+ D(this, "$$d", {});
293
+ /** `true` if currently in the process of reflecting component props back to attributes */
294
+ D(this, "$$r", !1);
295
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
296
+ D(this, "$$p_d", {});
297
+ /** @type {Record<string, Function[]>} Event listeners */
298
+ D(this, "$$l", {});
299
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
300
+ D(this, "$$l_u", /* @__PURE__ */ new Map());
301
+ this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
302
+ }
303
+ addEventListener(t, r, n) {
304
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
305
+ const i = this.$$c.$on(t, r);
306
+ this.$$l_u.set(r, i);
307
+ }
308
+ super.addEventListener(t, r, n);
309
+ }
310
+ removeEventListener(t, r, n) {
311
+ if (super.removeEventListener(t, r, n), this.$$c) {
312
+ const i = this.$$l_u.get(r);
313
+ i && (i(), this.$$l_u.delete(r));
314
+ }
315
+ }
316
+ connectedCallback() {
317
+ return St(this, null, function* () {
318
+ if (this.$$cn = !0, !this.$$c) {
319
+ let t = function(o) {
320
+ return () => {
321
+ let s;
322
+ return {
323
+ c: function() {
324
+ s = P("slot"), o !== "default" && H(s, "name", o);
325
+ },
326
+ /**
327
+ * @param {HTMLElement} target
328
+ * @param {HTMLElement} [anchor]
329
+ */
330
+ m: function(l, h) {
331
+ U(l, s, h);
332
+ },
333
+ d: function(l) {
334
+ l && R(s);
335
+ }
336
+ };
337
+ };
338
+ };
339
+ if (yield Promise.resolve(), !this.$$cn || this.$$c)
340
+ return;
341
+ const r = {}, n = vn(this);
342
+ for (const o of this.$$s)
343
+ o in n && (r[o] = [t(o)]);
344
+ for (const o of this.attributes) {
345
+ const s = this.$$g_p(o.name);
346
+ s in this.$$d || (this.$$d[s] = Ie(s, o.value, this.$$p_d, "toProp"));
347
+ }
348
+ for (const o in this.$$p_d)
349
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
350
+ this.$$c = new this.$$ctor({
351
+ target: this.shadowRoot || this,
352
+ props: Ct(wt({}, this.$$d), {
353
+ $$slots: r,
354
+ $$scope: {
355
+ ctx: []
356
+ }
357
+ })
358
+ });
359
+ const i = () => {
360
+ this.$$r = !0;
361
+ for (const o in this.$$p_d)
362
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
363
+ const s = Ie(
364
+ o,
365
+ this.$$d[o],
366
+ this.$$p_d,
367
+ "toAttribute"
368
+ );
369
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
370
+ }
371
+ this.$$r = !1;
372
+ };
373
+ this.$$c.$$.after_update.push(i), i();
374
+ for (const o in this.$$l)
375
+ for (const s of this.$$l[o]) {
376
+ const a = this.$$c.$on(o, s);
377
+ this.$$l_u.set(s, a);
378
+ }
379
+ this.$$l = {};
380
+ }
381
+ });
382
+ }
383
+ // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
384
+ // and setting attributes through setAttribute etc, this is helpful
385
+ attributeChangedCallback(t, r, n) {
386
+ var i;
387
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ie(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
388
+ }
389
+ disconnectedCallback() {
390
+ this.$$cn = !1, Promise.resolve().then(() => {
391
+ !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
392
+ });
393
+ }
394
+ $$g_p(t) {
395
+ return Object.keys(this.$$p_d).find(
396
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
397
+ ) || t;
398
+ }
399
+ });
400
+ function Ie(e, t, r, n) {
401
+ var o;
402
+ const i = (o = r[e]) == null ? void 0 : o.type;
403
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
404
+ return t;
405
+ if (n === "toAttribute")
406
+ switch (i) {
407
+ case "Object":
408
+ case "Array":
409
+ return t == null ? null : JSON.stringify(t);
410
+ case "Boolean":
411
+ return t ? "" : null;
412
+ case "Number":
413
+ return t == null ? null : t;
414
+ default:
415
+ return t;
416
+ }
417
+ else
418
+ switch (i) {
419
+ case "Object":
420
+ case "Array":
421
+ return t && JSON.parse(t);
422
+ case "Boolean":
423
+ return t;
424
+ case "Number":
425
+ return t != null ? +t : t;
426
+ default:
427
+ return t;
428
+ }
429
+ }
430
+ function Pn(e, t, r, n, i, o) {
431
+ let s = class extends fr {
432
+ constructor() {
433
+ super(e, r, i), this.$$p_d = t;
434
+ }
435
+ static get observedAttributes() {
436
+ return Object.keys(t).map(
437
+ (a) => (t[a].attribute || a).toLowerCase()
438
+ );
439
+ }
440
+ };
441
+ return Object.keys(t).forEach((a) => {
442
+ Object.defineProperty(s.prototype, a, {
443
+ get() {
444
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
445
+ },
446
+ set(u) {
447
+ var l;
448
+ u = Ie(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
449
+ }
450
+ });
451
+ }), n.forEach((a) => {
452
+ Object.defineProperty(s.prototype, a, {
453
+ get() {
454
+ var u;
455
+ return (u = this.$$c) == null ? void 0 : u[a];
456
+ }
457
+ });
458
+ }), e.element = /** @type {any} */
459
+ s, s;
460
+ }
461
+ class Mn {
462
+ constructor() {
463
+ /**
464
+ * ### PRIVATE API
465
+ *
466
+ * Do not use, may change at any time
467
+ *
468
+ * @type {any}
469
+ */
470
+ D(this, "$$");
471
+ /**
472
+ * ### PRIVATE API
473
+ *
474
+ * Do not use, may change at any time
475
+ *
476
+ * @type {any}
477
+ */
478
+ D(this, "$$set");
479
+ }
480
+ /** @returns {void} */
481
+ $destroy() {
482
+ An(this, 1), this.$destroy = G;
483
+ }
484
+ /**
485
+ * @template {Extract<keyof Events, string>} K
486
+ * @param {K} type
487
+ * @param {((e: Events[K]) => void) | null | undefined} callback
488
+ * @returns {() => void}
489
+ */
490
+ $on(t, r) {
491
+ if (!ft(r))
492
+ return G;
493
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
494
+ return n.push(r), () => {
495
+ const i = n.indexOf(r);
496
+ i !== -1 && n.splice(i, 1);
497
+ };
498
+ }
499
+ /**
500
+ * @param {Partial<Props>} props
501
+ * @returns {void}
502
+ */
503
+ $set(t) {
504
+ this.$$set && !fn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
505
+ }
506
+ }
507
+ const On = "4";
508
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(On);
509
+ var Ke = function(e, t) {
510
+ return Ke = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
511
+ r.__proto__ = n;
512
+ } || function(r, n) {
513
+ for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
514
+ }, Ke(e, t);
515
+ };
516
+ function V(e, t) {
517
+ if (typeof t != "function" && t !== null)
518
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
519
+ Ke(e, t);
520
+ function r() {
521
+ this.constructor = e;
522
+ }
523
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
524
+ }
525
+ var E = function() {
526
+ return E = Object.assign || function(t) {
527
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
528
+ r = arguments[n];
529
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
530
+ }
531
+ return t;
532
+ }, E.apply(this, arguments);
533
+ };
534
+ function Ln(e, t) {
535
+ var r = {};
536
+ for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
537
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
538
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
539
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
540
+ return r;
541
+ }
542
+ function et(e) {
543
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
544
+ if (r) return r.call(e);
545
+ if (e && typeof e.length == "number") return {
546
+ next: function() {
547
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
548
+ }
549
+ };
550
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
551
+ }
552
+ function tt(e, t) {
553
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
554
+ if (!r) return e;
555
+ var n = r.call(e), i, o = [], s;
556
+ try {
557
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
558
+ } catch (a) {
559
+ s = { error: a };
560
+ } finally {
561
+ try {
562
+ i && !i.done && (r = n.return) && r.call(n);
563
+ } finally {
564
+ if (s) throw s.error;
565
+ }
566
+ }
567
+ return o;
568
+ }
569
+ function oe(e, t, r) {
570
+ if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
571
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
572
+ return e.concat(o || Array.prototype.slice.call(t));
573
+ }
574
+ function j(e) {
575
+ return typeof e == "function";
576
+ }
577
+ function dr(e) {
578
+ var t = function(n) {
579
+ Error.call(n), n.stack = new Error().stack;
580
+ }, r = e(t);
581
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
582
+ }
583
+ var Ve = dr(function(e) {
584
+ return function(r) {
585
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
586
+ ` + r.map(function(n, i) {
587
+ return i + 1 + ") " + n.toString();
588
+ }).join(`
589
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
590
+ };
591
+ });
592
+ function rt(e, t) {
593
+ if (e) {
594
+ var r = e.indexOf(t);
595
+ 0 <= r && e.splice(r, 1);
596
+ }
597
+ }
598
+ var Fe = function() {
599
+ function e(t) {
600
+ this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
601
+ }
602
+ return e.prototype.unsubscribe = function() {
603
+ var t, r, n, i, o;
604
+ if (!this.closed) {
605
+ this.closed = !0;
606
+ var s = this._parentage;
607
+ if (s)
608
+ if (this._parentage = null, Array.isArray(s))
609
+ try {
610
+ for (var a = et(s), u = a.next(); !u.done; u = a.next()) {
611
+ var l = u.value;
612
+ l.remove(this);
613
+ }
614
+ } catch (m) {
615
+ t = { error: m };
616
+ } finally {
617
+ try {
618
+ u && !u.done && (r = a.return) && r.call(a);
619
+ } finally {
620
+ if (t) throw t.error;
621
+ }
622
+ }
623
+ else
624
+ s.remove(this);
625
+ var h = this.initialTeardown;
626
+ if (j(h))
627
+ try {
628
+ h();
629
+ } catch (m) {
630
+ o = m instanceof Ve ? m.errors : [m];
631
+ }
632
+ var d = this._finalizers;
633
+ if (d) {
634
+ this._finalizers = null;
635
+ try {
636
+ for (var f = et(d), p = f.next(); !p.done; p = f.next()) {
637
+ var g = p.value;
638
+ try {
639
+ It(g);
640
+ } catch (m) {
641
+ o = o != null ? o : [], m instanceof Ve ? o = oe(oe([], tt(o)), tt(m.errors)) : o.push(m);
642
+ }
643
+ }
644
+ } catch (m) {
645
+ n = { error: m };
646
+ } finally {
647
+ try {
648
+ p && !p.done && (i = f.return) && i.call(f);
649
+ } finally {
650
+ if (n) throw n.error;
651
+ }
652
+ }
653
+ }
654
+ if (o)
655
+ throw new Ve(o);
656
+ }
657
+ }, e.prototype.add = function(t) {
658
+ var r;
659
+ if (t && t !== this)
660
+ if (this.closed)
661
+ It(t);
662
+ else {
663
+ if (t instanceof e) {
664
+ if (t.closed || t._hasParent(this))
665
+ return;
666
+ t._addParent(this);
667
+ }
668
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
669
+ }
670
+ }, e.prototype._hasParent = function(t) {
671
+ var r = this._parentage;
672
+ return r === t || Array.isArray(r) && r.includes(t);
673
+ }, e.prototype._addParent = function(t) {
674
+ var r = this._parentage;
675
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
676
+ }, e.prototype._removeParent = function(t) {
677
+ var r = this._parentage;
678
+ r === t ? this._parentage = null : Array.isArray(r) && rt(r, t);
679
+ }, e.prototype.remove = function(t) {
680
+ var r = this._finalizers;
681
+ r && rt(r, t), t instanceof e && t._removeParent(this);
682
+ }, e.EMPTY = function() {
683
+ var t = new e();
684
+ return t.closed = !0, t;
685
+ }(), e;
686
+ }(), pr = Fe.EMPTY;
687
+ function mr(e) {
688
+ return e instanceof Fe || e && "closed" in e && j(e.remove) && j(e.add) && j(e.unsubscribe);
689
+ }
690
+ function It(e) {
691
+ j(e) ? e() : e.unsubscribe();
692
+ }
693
+ var br = {
694
+ onUnhandledError: null,
695
+ onStoppedNotification: null,
696
+ Promise: void 0,
697
+ useDeprecatedSynchronousErrorHandling: !1,
698
+ useDeprecatedNextContext: !1
699
+ }, gr = {
700
+ setTimeout: function(e, t) {
701
+ for (var r = [], n = 2; n < arguments.length; n++)
702
+ r[n - 2] = arguments[n];
703
+ return setTimeout.apply(void 0, oe([e, t], tt(r)));
704
+ },
705
+ clearTimeout: function(e) {
706
+ var t = gr.delegate;
707
+ return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
708
+ },
709
+ delegate: void 0
710
+ };
711
+ function Nn(e) {
712
+ gr.setTimeout(function() {
713
+ throw e;
714
+ });
715
+ }
716
+ function Bt() {
717
+ }
718
+ function Be(e) {
719
+ e();
720
+ }
721
+ var yr = function(e) {
722
+ V(t, e);
723
+ function t(r) {
724
+ var n = e.call(this) || this;
725
+ return n.isStopped = !1, r ? (n.destination = r, mr(r) && r.add(n)) : n.destination = Un, n;
726
+ }
727
+ return t.create = function(r, n, i) {
728
+ return new nt(r, n, i);
729
+ }, t.prototype.next = function(r) {
730
+ this.isStopped || this._next(r);
731
+ }, t.prototype.error = function(r) {
732
+ this.isStopped || (this.isStopped = !0, this._error(r));
733
+ }, t.prototype.complete = function() {
734
+ this.isStopped || (this.isStopped = !0, this._complete());
735
+ }, t.prototype.unsubscribe = function() {
736
+ this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
737
+ }, t.prototype._next = function(r) {
738
+ this.destination.next(r);
739
+ }, t.prototype._error = function(r) {
740
+ try {
741
+ this.destination.error(r);
742
+ } finally {
743
+ this.unsubscribe();
744
+ }
745
+ }, t.prototype._complete = function() {
746
+ try {
747
+ this.destination.complete();
748
+ } finally {
749
+ this.unsubscribe();
750
+ }
751
+ }, t;
752
+ }(Fe), Fn = Function.prototype.bind;
753
+ function Xe(e, t) {
754
+ return Fn.call(e, t);
755
+ }
756
+ var Rn = function() {
757
+ function e(t) {
758
+ this.partialObserver = t;
759
+ }
760
+ return e.prototype.next = function(t) {
761
+ var r = this.partialObserver;
762
+ if (r.next)
763
+ try {
764
+ r.next(t);
765
+ } catch (n) {
766
+ Te(n);
767
+ }
768
+ }, e.prototype.error = function(t) {
769
+ var r = this.partialObserver;
770
+ if (r.error)
771
+ try {
772
+ r.error(t);
773
+ } catch (n) {
774
+ Te(n);
775
+ }
776
+ else
777
+ Te(t);
778
+ }, e.prototype.complete = function() {
779
+ var t = this.partialObserver;
780
+ if (t.complete)
781
+ try {
782
+ t.complete();
783
+ } catch (r) {
784
+ Te(r);
785
+ }
786
+ }, e;
787
+ }(), nt = function(e) {
788
+ V(t, e);
789
+ function t(r, n, i) {
790
+ var o = e.call(this) || this, s;
791
+ if (j(r) || !r)
792
+ s = {
793
+ next: r != null ? r : void 0,
794
+ error: n != null ? n : void 0,
795
+ complete: i != null ? i : void 0
796
+ };
797
+ else {
798
+ var a;
799
+ o && br.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
800
+ return o.unsubscribe();
801
+ }, s = {
802
+ next: r.next && Xe(r.next, a),
803
+ error: r.error && Xe(r.error, a),
804
+ complete: r.complete && Xe(r.complete, a)
805
+ }) : s = r;
806
+ }
807
+ return o.destination = new Rn(s), o;
808
+ }
809
+ return t;
810
+ }(yr);
811
+ function Te(e) {
812
+ Nn(e);
813
+ }
814
+ function Dn(e) {
815
+ throw e;
816
+ }
817
+ var Un = {
818
+ closed: !0,
819
+ next: Bt,
820
+ error: Dn,
821
+ complete: Bt
822
+ }, Gn = function() {
823
+ return typeof Symbol == "function" && Symbol.observable || "@@observable";
824
+ }();
825
+ function kn(e) {
826
+ return e;
827
+ }
828
+ function $n(e) {
829
+ return e.length === 0 ? kn : e.length === 1 ? e[0] : function(r) {
830
+ return e.reduce(function(n, i) {
831
+ return i(n);
832
+ }, r);
833
+ };
834
+ }
835
+ var Pt = function() {
836
+ function e(t) {
837
+ t && (this._subscribe = t);
838
+ }
839
+ return e.prototype.lift = function(t) {
840
+ var r = new e();
841
+ return r.source = this, r.operator = t, r;
842
+ }, e.prototype.subscribe = function(t, r, n) {
843
+ var i = this, o = Vn(t) ? t : new nt(t, r, n);
844
+ return Be(function() {
845
+ var s = i, a = s.operator, u = s.source;
846
+ o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
847
+ }), o;
848
+ }, e.prototype._trySubscribe = function(t) {
849
+ try {
850
+ return this._subscribe(t);
851
+ } catch (r) {
852
+ t.error(r);
853
+ }
854
+ }, e.prototype.forEach = function(t, r) {
855
+ var n = this;
856
+ return r = Mt(r), new r(function(i, o) {
857
+ var s = new nt({
858
+ next: function(a) {
859
+ try {
860
+ t(a);
861
+ } catch (u) {
862
+ o(u), s.unsubscribe();
863
+ }
864
+ },
865
+ error: o,
866
+ complete: i
867
+ });
868
+ n.subscribe(s);
869
+ });
870
+ }, e.prototype._subscribe = function(t) {
871
+ var r;
872
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
873
+ }, e.prototype[Gn] = function() {
874
+ return this;
875
+ }, e.prototype.pipe = function() {
876
+ for (var t = [], r = 0; r < arguments.length; r++)
877
+ t[r] = arguments[r];
878
+ return $n(t)(this);
879
+ }, e.prototype.toPromise = function(t) {
880
+ var r = this;
881
+ return t = Mt(t), new t(function(n, i) {
882
+ var o;
883
+ r.subscribe(function(s) {
884
+ return o = s;
885
+ }, function(s) {
886
+ return i(s);
887
+ }, function() {
888
+ return n(o);
889
+ });
890
+ });
891
+ }, e.create = function(t) {
892
+ return new e(t);
893
+ }, e;
894
+ }();
895
+ function Mt(e) {
896
+ var t;
897
+ return (t = e != null ? e : br.Promise) !== null && t !== void 0 ? t : Promise;
898
+ }
899
+ function jn(e) {
900
+ return e && j(e.next) && j(e.error) && j(e.complete);
901
+ }
902
+ function Vn(e) {
903
+ return e && e instanceof yr || jn(e) && mr(e);
904
+ }
905
+ var Xn = dr(function(e) {
906
+ return function() {
907
+ e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
908
+ };
909
+ }), vr = function(e) {
910
+ V(t, e);
911
+ function t() {
912
+ var r = e.call(this) || this;
913
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
914
+ }
915
+ return t.prototype.lift = function(r) {
916
+ var n = new Ot(this, this);
917
+ return n.operator = r, n;
918
+ }, t.prototype._throwIfClosed = function() {
919
+ if (this.closed)
920
+ throw new Xn();
921
+ }, t.prototype.next = function(r) {
922
+ var n = this;
923
+ Be(function() {
924
+ var i, o;
925
+ if (n._throwIfClosed(), !n.isStopped) {
926
+ n.currentObservers || (n.currentObservers = Array.from(n.observers));
927
+ try {
928
+ for (var s = et(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
929
+ var u = a.value;
930
+ u.next(r);
931
+ }
932
+ } catch (l) {
933
+ i = { error: l };
934
+ } finally {
935
+ try {
936
+ a && !a.done && (o = s.return) && o.call(s);
937
+ } finally {
938
+ if (i) throw i.error;
939
+ }
940
+ }
941
+ }
942
+ });
943
+ }, t.prototype.error = function(r) {
944
+ var n = this;
945
+ Be(function() {
946
+ if (n._throwIfClosed(), !n.isStopped) {
947
+ n.hasError = n.isStopped = !0, n.thrownError = r;
948
+ for (var i = n.observers; i.length; )
949
+ i.shift().error(r);
950
+ }
951
+ });
952
+ }, t.prototype.complete = function() {
953
+ var r = this;
954
+ Be(function() {
955
+ if (r._throwIfClosed(), !r.isStopped) {
956
+ r.isStopped = !0;
957
+ for (var n = r.observers; n.length; )
958
+ n.shift().complete();
959
+ }
960
+ });
961
+ }, t.prototype.unsubscribe = function() {
962
+ this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
963
+ }, Object.defineProperty(t.prototype, "observed", {
964
+ get: function() {
965
+ var r;
966
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
967
+ },
968
+ enumerable: !1,
969
+ configurable: !0
970
+ }), t.prototype._trySubscribe = function(r) {
971
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
972
+ }, t.prototype._subscribe = function(r) {
973
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
974
+ }, t.prototype._innerSubscribe = function(r) {
975
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
976
+ return o || s ? pr : (this.currentObservers = null, a.push(r), new Fe(function() {
977
+ n.currentObservers = null, rt(a, r);
978
+ }));
979
+ }, t.prototype._checkFinalizedStatuses = function(r) {
980
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
981
+ i ? r.error(o) : s && r.complete();
982
+ }, t.prototype.asObservable = function() {
983
+ var r = new Pt();
984
+ return r.source = this, r;
985
+ }, t.create = function(r, n) {
986
+ return new Ot(r, n);
987
+ }, t;
988
+ }(Pt), Ot = function(e) {
989
+ V(t, e);
990
+ function t(r, n) {
991
+ var i = e.call(this) || this;
992
+ return i.destination = r, i.source = n, i;
993
+ }
994
+ return t.prototype.next = function(r) {
995
+ var n, i;
996
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
997
+ }, t.prototype.error = function(r) {
998
+ var n, i;
999
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1000
+ }, t.prototype.complete = function() {
1001
+ var r, n;
1002
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1003
+ }, t.prototype._subscribe = function(r) {
1004
+ var n, i;
1005
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : pr;
1006
+ }, t;
1007
+ }(vr), _r = {
1008
+ now: function() {
1009
+ return (_r.delegate || Date).now();
1010
+ },
1011
+ delegate: void 0
1012
+ }, Wn = function(e) {
1013
+ V(t, e);
1014
+ function t(r, n, i) {
1015
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = _r);
1016
+ var o = e.call(this) || this;
1017
+ return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1018
+ }
1019
+ return t.prototype.next = function(r) {
1020
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, u = n._windowTime;
1021
+ i || (o.push(r), !s && o.push(a.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1022
+ }, t.prototype._subscribe = function(r) {
1023
+ this._throwIfClosed(), this._trimBuffer();
1024
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), u = 0; u < a.length && !r.closed; u += o ? 1 : 2)
1025
+ r.next(a[u]);
1026
+ return this._checkFinalizedStatuses(r), n;
1027
+ }, t.prototype._trimBuffer = function() {
1028
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1029
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1030
+ for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
1031
+ l = h;
1032
+ l && o.splice(0, l + 1);
1033
+ }
1034
+ }, t;
1035
+ }(vr);
1036
+ const Lt = [], Nt = {}, zn = (e, t = 0) => {
1037
+ if (Lt.indexOf(e) == -1) {
1038
+ const r = new Wn(t);
1039
+ Nt[e] = r, Lt.push(e);
1040
+ }
1041
+ return Nt[e];
1042
+ }, re = [];
1043
+ function Zn(e, t) {
1044
+ return {
1045
+ subscribe: Re(e, t).subscribe
1046
+ };
1047
+ }
1048
+ function Re(e, t = G) {
1049
+ let r;
1050
+ const n = /* @__PURE__ */ new Set();
1051
+ function i(a) {
1052
+ if (ur(e, a) && (e = a, r)) {
1053
+ const u = !re.length;
1054
+ for (const l of n)
1055
+ l[1](), re.push(l, e);
1056
+ if (u) {
1057
+ for (let l = 0; l < re.length; l += 2)
1058
+ re[l][0](re[l + 1]);
1059
+ re.length = 0;
1060
+ }
1061
+ }
1062
+ }
1063
+ function o(a) {
1064
+ i(a(e));
1065
+ }
1066
+ function s(a, u = G) {
1067
+ const l = [a, u];
1068
+ return n.add(l), n.size === 1 && (r = t(i, o) || G), a(e), () => {
1069
+ n.delete(l), n.size === 0 && r && (r(), r = null);
1070
+ };
1071
+ }
1072
+ return { set: i, update: o, subscribe: s };
1073
+ }
1074
+ function ce(e, t, r) {
1075
+ const n = !Array.isArray(e), i = n ? [e] : e;
1076
+ if (!i.every(Boolean))
1077
+ throw new Error("derived() expects stores as input, got a falsy value");
1078
+ const o = t.length < 2;
1079
+ return Zn(r, (s, a) => {
1080
+ let u = !1;
1081
+ const l = [];
1082
+ let h = 0, d = G;
1083
+ const f = () => {
1084
+ if (h)
1085
+ return;
1086
+ d();
1087
+ const g = t(n ? l[0] : l, s, a);
1088
+ o ? s(g) : d = ft(g) ? g : G;
1089
+ }, p = i.map(
1090
+ (g, m) => dn(
1091
+ g,
1092
+ (b) => {
1093
+ l[m] = b, h &= ~(1 << m), u && f();
1094
+ },
1095
+ () => {
1096
+ h |= 1 << m;
1097
+ }
1098
+ )
1099
+ );
1100
+ return u = !0, f(), function() {
1101
+ K(p), d(), u = !1;
1102
+ };
1103
+ });
1104
+ }
1105
+ function Yn(e) {
1106
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1107
+ }
1108
+ var Qn = function(t) {
1109
+ return qn(t) && !Jn(t);
1110
+ };
1111
+ function qn(e) {
1112
+ return !!e && typeof e == "object";
1113
+ }
1114
+ function Jn(e) {
1115
+ var t = Object.prototype.toString.call(e);
1116
+ return t === "[object RegExp]" || t === "[object Date]" || ti(e);
1117
+ }
1118
+ var Kn = typeof Symbol == "function" && Symbol.for, ei = Kn ? Symbol.for("react.element") : 60103;
1119
+ function ti(e) {
1120
+ return e.$$typeof === ei;
1121
+ }
1122
+ function ri(e) {
1123
+ return Array.isArray(e) ? [] : {};
1124
+ }
1125
+ function _e(e, t) {
1126
+ return t.clone !== !1 && t.isMergeableObject(e) ? ae(ri(e), e, t) : e;
1127
+ }
1128
+ function ni(e, t, r) {
1129
+ return e.concat(t).map(function(n) {
1130
+ return _e(n, r);
1131
+ });
1132
+ }
1133
+ function ii(e, t) {
1134
+ if (!t.customMerge)
1135
+ return ae;
1136
+ var r = t.customMerge(e);
1137
+ return typeof r == "function" ? r : ae;
1138
+ }
1139
+ function oi(e) {
1140
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1141
+ return Object.propertyIsEnumerable.call(e, t);
1142
+ }) : [];
1143
+ }
1144
+ function Ft(e) {
1145
+ return Object.keys(e).concat(oi(e));
1146
+ }
1147
+ function Er(e, t) {
1148
+ try {
1149
+ return t in e;
1150
+ } catch (r) {
1151
+ return !1;
1152
+ }
1153
+ }
1154
+ function si(e, t) {
1155
+ return Er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1156
+ }
1157
+ function ai(e, t, r) {
1158
+ var n = {};
1159
+ return r.isMergeableObject(e) && Ft(e).forEach(function(i) {
1160
+ n[i] = _e(e[i], r);
1161
+ }), Ft(t).forEach(function(i) {
1162
+ si(e, i) || (Er(e, i) && r.isMergeableObject(t[i]) ? n[i] = ii(i, r)(e[i], t[i], r) : n[i] = _e(t[i], r));
1163
+ }), n;
1164
+ }
1165
+ function ae(e, t, r) {
1166
+ r = r || {}, r.arrayMerge = r.arrayMerge || ni, r.isMergeableObject = r.isMergeableObject || Qn, r.cloneUnlessOtherwiseSpecified = _e;
1167
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1168
+ return o ? n ? r.arrayMerge(e, t, r) : ai(e, t, r) : _e(t, r);
1169
+ }
1170
+ ae.all = function(t, r) {
1171
+ if (!Array.isArray(t))
1172
+ throw new Error("first argument should be an array");
1173
+ return t.reduce(function(n, i) {
1174
+ return ae(n, i, r);
1175
+ }, {});
1176
+ };
1177
+ var ui = ae, li = ui;
1178
+ const hi = /* @__PURE__ */ Yn(li);
1179
+ var y;
1180
+ (function(e) {
1181
+ 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";
1182
+ })(y || (y = {}));
1183
+ var T;
1184
+ (function(e) {
1185
+ e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1186
+ })(T || (T = {}));
1187
+ var ue;
1188
+ (function(e) {
1189
+ e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1190
+ })(ue || (ue = {}));
1191
+ function Rt(e) {
1192
+ return e.type === T.literal;
1193
+ }
1194
+ function ci(e) {
1195
+ return e.type === T.argument;
1196
+ }
1197
+ function xr(e) {
1198
+ return e.type === T.number;
1199
+ }
1200
+ function wr(e) {
1201
+ return e.type === T.date;
1202
+ }
1203
+ function Cr(e) {
1204
+ return e.type === T.time;
1205
+ }
1206
+ function Sr(e) {
1207
+ return e.type === T.select;
1208
+ }
1209
+ function Hr(e) {
1210
+ return e.type === T.plural;
1211
+ }
1212
+ function fi(e) {
1213
+ return e.type === T.pound;
1214
+ }
1215
+ function Tr(e) {
1216
+ return e.type === T.tag;
1217
+ }
1218
+ function Ar(e) {
1219
+ return !!(e && typeof e == "object" && e.type === ue.number);
1220
+ }
1221
+ function it(e) {
1222
+ return !!(e && typeof e == "object" && e.type === ue.dateTime);
1223
+ }
1224
+ var Ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, di = /(?:[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;
1225
+ function pi(e) {
1226
+ var t = {};
1227
+ return e.replace(di, function(r) {
1228
+ var n = r.length;
1229
+ switch (r[0]) {
1230
+ case "G":
1231
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1232
+ break;
1233
+ case "y":
1234
+ t.year = n === 2 ? "2-digit" : "numeric";
1235
+ break;
1236
+ case "Y":
1237
+ case "u":
1238
+ case "U":
1239
+ case "r":
1240
+ throw new RangeError("`Y/u/U/r` (year) patterns are not supported, use `y` instead");
1241
+ case "q":
1242
+ case "Q":
1243
+ throw new RangeError("`q/Q` (quarter) patterns are not supported");
1244
+ case "M":
1245
+ case "L":
1246
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1247
+ break;
1248
+ case "w":
1249
+ case "W":
1250
+ throw new RangeError("`w/W` (week) patterns are not supported");
1251
+ case "d":
1252
+ t.day = ["numeric", "2-digit"][n - 1];
1253
+ break;
1254
+ case "D":
1255
+ case "F":
1256
+ case "g":
1257
+ throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1258
+ case "E":
1259
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1260
+ break;
1261
+ case "e":
1262
+ if (n < 4)
1263
+ throw new RangeError("`e..eee` (weekday) patterns are not supported");
1264
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1265
+ break;
1266
+ case "c":
1267
+ if (n < 4)
1268
+ throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1269
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1270
+ break;
1271
+ case "a":
1272
+ t.hour12 = !0;
1273
+ break;
1274
+ case "b":
1275
+ case "B":
1276
+ throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1277
+ case "h":
1278
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1279
+ break;
1280
+ case "H":
1281
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1282
+ break;
1283
+ case "K":
1284
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1285
+ break;
1286
+ case "k":
1287
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1288
+ break;
1289
+ case "j":
1290
+ case "J":
1291
+ case "C":
1292
+ throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1293
+ case "m":
1294
+ t.minute = ["numeric", "2-digit"][n - 1];
1295
+ break;
1296
+ case "s":
1297
+ t.second = ["numeric", "2-digit"][n - 1];
1298
+ break;
1299
+ case "S":
1300
+ case "A":
1301
+ throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1302
+ case "z":
1303
+ t.timeZoneName = n < 4 ? "short" : "long";
1304
+ break;
1305
+ case "Z":
1306
+ case "O":
1307
+ case "v":
1308
+ case "V":
1309
+ case "X":
1310
+ case "x":
1311
+ throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
1312
+ }
1313
+ return "";
1314
+ }), t;
1315
+ }
1316
+ var mi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1317
+ function bi(e) {
1318
+ if (e.length === 0)
1319
+ throw new Error("Number skeleton cannot be empty");
1320
+ for (var t = e.split(mi).filter(function(f) {
1321
+ return f.length > 0;
1322
+ }), r = [], n = 0, i = t; n < i.length; n++) {
1323
+ var o = i[n], s = o.split("/");
1324
+ if (s.length === 0)
1325
+ throw new Error("Invalid number skeleton");
1326
+ for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
1327
+ var d = h[l];
1328
+ if (d.length === 0)
1329
+ throw new Error("Invalid number skeleton");
1330
+ }
1331
+ r.push({ stem: a, options: u });
1332
+ }
1333
+ return r;
1334
+ }
1335
+ function gi(e) {
1336
+ return e.replace(/^(.*?)-/, "");
1337
+ }
1338
+ var Dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Br = /^(@+)?(\+|#+)?[rs]?$/g, yi = /(\*)(0+)|(#+)(0+)|(0+)/g, Pr = /^(0+)$/;
1339
+ function Ut(e) {
1340
+ var t = {};
1341
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Br, function(r, n, i) {
1342
+ 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)), "";
1343
+ }), t;
1344
+ }
1345
+ function Mr(e) {
1346
+ switch (e) {
1347
+ case "sign-auto":
1348
+ return {
1349
+ signDisplay: "auto"
1350
+ };
1351
+ case "sign-accounting":
1352
+ case "()":
1353
+ return {
1354
+ currencySign: "accounting"
1355
+ };
1356
+ case "sign-always":
1357
+ case "+!":
1358
+ return {
1359
+ signDisplay: "always"
1360
+ };
1361
+ case "sign-accounting-always":
1362
+ case "()!":
1363
+ return {
1364
+ signDisplay: "always",
1365
+ currencySign: "accounting"
1366
+ };
1367
+ case "sign-except-zero":
1368
+ case "+?":
1369
+ return {
1370
+ signDisplay: "exceptZero"
1371
+ };
1372
+ case "sign-accounting-except-zero":
1373
+ case "()?":
1374
+ return {
1375
+ signDisplay: "exceptZero",
1376
+ currencySign: "accounting"
1377
+ };
1378
+ case "sign-never":
1379
+ case "+_":
1380
+ return {
1381
+ signDisplay: "never"
1382
+ };
1383
+ }
1384
+ }
1385
+ function vi(e) {
1386
+ var t;
1387
+ if (e[0] === "E" && e[1] === "E" ? (t = {
1388
+ notation: "engineering"
1389
+ }, e = e.slice(2)) : e[0] === "E" && (t = {
1390
+ notation: "scientific"
1391
+ }, e = e.slice(1)), t) {
1392
+ var r = e.slice(0, 2);
1393
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Pr.test(e))
1394
+ throw new Error("Malformed concise eng/scientific notation");
1395
+ t.minimumIntegerDigits = e.length;
1396
+ }
1397
+ return t;
1398
+ }
1399
+ function Gt(e) {
1400
+ var t = {}, r = Mr(e);
1401
+ return r || t;
1402
+ }
1403
+ function _i(e) {
1404
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
1405
+ var i = n[r];
1406
+ switch (i.stem) {
1407
+ case "percent":
1408
+ case "%":
1409
+ t.style = "percent";
1410
+ continue;
1411
+ case "%x100":
1412
+ t.style = "percent", t.scale = 100;
1413
+ continue;
1414
+ case "currency":
1415
+ t.style = "currency", t.currency = i.options[0];
1416
+ continue;
1417
+ case "group-off":
1418
+ case ",_":
1419
+ t.useGrouping = !1;
1420
+ continue;
1421
+ case "precision-integer":
1422
+ case ".":
1423
+ t.maximumFractionDigits = 0;
1424
+ continue;
1425
+ case "measure-unit":
1426
+ case "unit":
1427
+ t.style = "unit", t.unit = gi(i.options[0]);
1428
+ continue;
1429
+ case "compact-short":
1430
+ case "K":
1431
+ t.notation = "compact", t.compactDisplay = "short";
1432
+ continue;
1433
+ case "compact-long":
1434
+ case "KK":
1435
+ t.notation = "compact", t.compactDisplay = "long";
1436
+ continue;
1437
+ case "scientific":
1438
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1439
+ return E(E({}, u), Gt(l));
1440
+ }, {}));
1441
+ continue;
1442
+ case "engineering":
1443
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1444
+ return E(E({}, u), Gt(l));
1445
+ }, {}));
1446
+ continue;
1447
+ case "notation-simple":
1448
+ t.notation = "standard";
1449
+ continue;
1450
+ case "unit-width-narrow":
1451
+ t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
1452
+ continue;
1453
+ case "unit-width-short":
1454
+ t.currencyDisplay = "code", t.unitDisplay = "short";
1455
+ continue;
1456
+ case "unit-width-full-name":
1457
+ t.currencyDisplay = "name", t.unitDisplay = "long";
1458
+ continue;
1459
+ case "unit-width-iso-code":
1460
+ t.currencyDisplay = "symbol";
1461
+ continue;
1462
+ case "scale":
1463
+ t.scale = parseFloat(i.options[0]);
1464
+ continue;
1465
+ case "rounding-mode-floor":
1466
+ t.roundingMode = "floor";
1467
+ continue;
1468
+ case "rounding-mode-ceiling":
1469
+ t.roundingMode = "ceil";
1470
+ continue;
1471
+ case "rounding-mode-down":
1472
+ t.roundingMode = "trunc";
1473
+ continue;
1474
+ case "rounding-mode-up":
1475
+ t.roundingMode = "expand";
1476
+ continue;
1477
+ case "rounding-mode-half-even":
1478
+ t.roundingMode = "halfEven";
1479
+ continue;
1480
+ case "rounding-mode-half-down":
1481
+ t.roundingMode = "halfTrunc";
1482
+ continue;
1483
+ case "rounding-mode-half-up":
1484
+ t.roundingMode = "halfExpand";
1485
+ continue;
1486
+ case "integer-width":
1487
+ if (i.options.length > 1)
1488
+ throw new RangeError("integer-width stems only accept a single optional option");
1489
+ i.options[0].replace(yi, function(u, l, h, d, f, p) {
1490
+ if (l)
1491
+ t.minimumIntegerDigits = h.length;
1492
+ else {
1493
+ if (d && f)
1494
+ throw new Error("We currently do not support maximum integer digits");
1495
+ if (p)
1496
+ throw new Error("We currently do not support exact integer digits");
1497
+ }
1498
+ return "";
1499
+ });
1500
+ continue;
1501
+ }
1502
+ if (Pr.test(i.stem)) {
1503
+ t.minimumIntegerDigits = i.stem.length;
1504
+ continue;
1505
+ }
1506
+ if (Dt.test(i.stem)) {
1507
+ if (i.options.length > 1)
1508
+ throw new RangeError("Fraction-precision stems only accept a single optional option");
1509
+ i.stem.replace(Dt, function(u, l, h, d, f, p) {
1510
+ return h === "*" ? t.minimumFractionDigits = l.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1511
+ });
1512
+ var o = i.options[0];
1513
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Ut(o)));
1514
+ continue;
1515
+ }
1516
+ if (Br.test(i.stem)) {
1517
+ t = E(E({}, t), Ut(i.stem));
1518
+ continue;
1519
+ }
1520
+ var s = Mr(i.stem);
1521
+ s && (t = E(E({}, t), s));
1522
+ var a = vi(i.stem);
1523
+ a && (t = E(E({}, t), a));
1524
+ }
1525
+ return t;
1526
+ }
1527
+ var Ae = {
1528
+ "001": [
1529
+ "H",
1530
+ "h"
1531
+ ],
1532
+ AC: [
1533
+ "H",
1534
+ "h",
1535
+ "hb",
1536
+ "hB"
1537
+ ],
1538
+ AD: [
1539
+ "H",
1540
+ "hB"
1541
+ ],
1542
+ AE: [
1543
+ "h",
1544
+ "hB",
1545
+ "hb",
1546
+ "H"
1547
+ ],
1548
+ AF: [
1549
+ "H",
1550
+ "hb",
1551
+ "hB",
1552
+ "h"
1553
+ ],
1554
+ AG: [
1555
+ "h",
1556
+ "hb",
1557
+ "H",
1558
+ "hB"
1559
+ ],
1560
+ AI: [
1561
+ "H",
1562
+ "h",
1563
+ "hb",
1564
+ "hB"
1565
+ ],
1566
+ AL: [
1567
+ "h",
1568
+ "H",
1569
+ "hB"
1570
+ ],
1571
+ AM: [
1572
+ "H",
1573
+ "hB"
1574
+ ],
1575
+ AO: [
1576
+ "H",
1577
+ "hB"
1578
+ ],
1579
+ AR: [
1580
+ "H",
1581
+ "h",
1582
+ "hB",
1583
+ "hb"
1584
+ ],
1585
+ AS: [
1586
+ "h",
1587
+ "H"
1588
+ ],
1589
+ AT: [
1590
+ "H",
1591
+ "hB"
1592
+ ],
1593
+ AU: [
1594
+ "h",
1595
+ "hb",
1596
+ "H",
1597
+ "hB"
1598
+ ],
1599
+ AW: [
1600
+ "H",
1601
+ "hB"
1602
+ ],
1603
+ AX: [
1604
+ "H"
1605
+ ],
1606
+ AZ: [
1607
+ "H",
1608
+ "hB",
1609
+ "h"
1610
+ ],
1611
+ BA: [
1612
+ "H",
1613
+ "hB",
1614
+ "h"
1615
+ ],
1616
+ BB: [
1617
+ "h",
1618
+ "hb",
1619
+ "H",
1620
+ "hB"
1621
+ ],
1622
+ BD: [
1623
+ "h",
1624
+ "hB",
1625
+ "H"
1626
+ ],
1627
+ BE: [
1628
+ "H",
1629
+ "hB"
1630
+ ],
1631
+ BF: [
1632
+ "H",
1633
+ "hB"
1634
+ ],
1635
+ BG: [
1636
+ "H",
1637
+ "hB",
1638
+ "h"
1639
+ ],
1640
+ BH: [
1641
+ "h",
1642
+ "hB",
1643
+ "hb",
1644
+ "H"
1645
+ ],
1646
+ BI: [
1647
+ "H",
1648
+ "h"
1649
+ ],
1650
+ BJ: [
1651
+ "H",
1652
+ "hB"
1653
+ ],
1654
+ BL: [
1655
+ "H",
1656
+ "hB"
1657
+ ],
1658
+ BM: [
1659
+ "h",
1660
+ "hb",
1661
+ "H",
1662
+ "hB"
1663
+ ],
1664
+ BN: [
1665
+ "hb",
1666
+ "hB",
1667
+ "h",
1668
+ "H"
1669
+ ],
1670
+ BO: [
1671
+ "H",
1672
+ "hB",
1673
+ "h",
1674
+ "hb"
1675
+ ],
1676
+ BQ: [
1677
+ "H"
1678
+ ],
1679
+ BR: [
1680
+ "H",
1681
+ "hB"
1682
+ ],
1683
+ BS: [
1684
+ "h",
1685
+ "hb",
1686
+ "H",
1687
+ "hB"
1688
+ ],
1689
+ BT: [
1690
+ "h",
1691
+ "H"
1692
+ ],
1693
+ BW: [
1694
+ "H",
1695
+ "h",
1696
+ "hb",
1697
+ "hB"
1698
+ ],
1699
+ BY: [
1700
+ "H",
1701
+ "h"
1702
+ ],
1703
+ BZ: [
1704
+ "H",
1705
+ "h",
1706
+ "hb",
1707
+ "hB"
1708
+ ],
1709
+ CA: [
1710
+ "h",
1711
+ "hb",
1712
+ "H",
1713
+ "hB"
1714
+ ],
1715
+ CC: [
1716
+ "H",
1717
+ "h",
1718
+ "hb",
1719
+ "hB"
1720
+ ],
1721
+ CD: [
1722
+ "hB",
1723
+ "H"
1724
+ ],
1725
+ CF: [
1726
+ "H",
1727
+ "h",
1728
+ "hB"
1729
+ ],
1730
+ CG: [
1731
+ "H",
1732
+ "hB"
1733
+ ],
1734
+ CH: [
1735
+ "H",
1736
+ "hB",
1737
+ "h"
1738
+ ],
1739
+ CI: [
1740
+ "H",
1741
+ "hB"
1742
+ ],
1743
+ CK: [
1744
+ "H",
1745
+ "h",
1746
+ "hb",
1747
+ "hB"
1748
+ ],
1749
+ CL: [
1750
+ "H",
1751
+ "h",
1752
+ "hB",
1753
+ "hb"
1754
+ ],
1755
+ CM: [
1756
+ "H",
1757
+ "h",
1758
+ "hB"
1759
+ ],
1760
+ CN: [
1761
+ "H",
1762
+ "hB",
1763
+ "hb",
1764
+ "h"
1765
+ ],
1766
+ CO: [
1767
+ "h",
1768
+ "H",
1769
+ "hB",
1770
+ "hb"
1771
+ ],
1772
+ CP: [
1773
+ "H"
1774
+ ],
1775
+ CR: [
1776
+ "H",
1777
+ "h",
1778
+ "hB",
1779
+ "hb"
1780
+ ],
1781
+ CU: [
1782
+ "H",
1783
+ "h",
1784
+ "hB",
1785
+ "hb"
1786
+ ],
1787
+ CV: [
1788
+ "H",
1789
+ "hB"
1790
+ ],
1791
+ CW: [
1792
+ "H",
1793
+ "hB"
1794
+ ],
1795
+ CX: [
1796
+ "H",
1797
+ "h",
1798
+ "hb",
1799
+ "hB"
1800
+ ],
1801
+ CY: [
1802
+ "h",
1803
+ "H",
1804
+ "hb",
1805
+ "hB"
1806
+ ],
1807
+ CZ: [
1808
+ "H"
1809
+ ],
1810
+ DE: [
1811
+ "H",
1812
+ "hB"
1813
+ ],
1814
+ DG: [
1815
+ "H",
1816
+ "h",
1817
+ "hb",
1818
+ "hB"
1819
+ ],
1820
+ DJ: [
1821
+ "h",
1822
+ "H"
1823
+ ],
1824
+ DK: [
1825
+ "H"
1826
+ ],
1827
+ DM: [
1828
+ "h",
1829
+ "hb",
1830
+ "H",
1831
+ "hB"
1832
+ ],
1833
+ DO: [
1834
+ "h",
1835
+ "H",
1836
+ "hB",
1837
+ "hb"
1838
+ ],
1839
+ DZ: [
1840
+ "h",
1841
+ "hB",
1842
+ "hb",
1843
+ "H"
1844
+ ],
1845
+ EA: [
1846
+ "H",
1847
+ "h",
1848
+ "hB",
1849
+ "hb"
1850
+ ],
1851
+ EC: [
1852
+ "H",
1853
+ "hB",
1854
+ "h",
1855
+ "hb"
1856
+ ],
1857
+ EE: [
1858
+ "H",
1859
+ "hB"
1860
+ ],
1861
+ EG: [
1862
+ "h",
1863
+ "hB",
1864
+ "hb",
1865
+ "H"
1866
+ ],
1867
+ EH: [
1868
+ "h",
1869
+ "hB",
1870
+ "hb",
1871
+ "H"
1872
+ ],
1873
+ ER: [
1874
+ "h",
1875
+ "H"
1876
+ ],
1877
+ ES: [
1878
+ "H",
1879
+ "hB",
1880
+ "h",
1881
+ "hb"
1882
+ ],
1883
+ ET: [
1884
+ "hB",
1885
+ "hb",
1886
+ "h",
1887
+ "H"
1888
+ ],
1889
+ FI: [
1890
+ "H"
1891
+ ],
1892
+ FJ: [
1893
+ "h",
1894
+ "hb",
1895
+ "H",
1896
+ "hB"
1897
+ ],
1898
+ FK: [
1899
+ "H",
1900
+ "h",
1901
+ "hb",
1902
+ "hB"
1903
+ ],
1904
+ FM: [
1905
+ "h",
1906
+ "hb",
1907
+ "H",
1908
+ "hB"
1909
+ ],
1910
+ FO: [
1911
+ "H",
1912
+ "h"
1913
+ ],
1914
+ FR: [
1915
+ "H",
1916
+ "hB"
1917
+ ],
1918
+ GA: [
1919
+ "H",
1920
+ "hB"
1921
+ ],
1922
+ GB: [
1923
+ "H",
1924
+ "h",
1925
+ "hb",
1926
+ "hB"
1927
+ ],
1928
+ GD: [
1929
+ "h",
1930
+ "hb",
1931
+ "H",
1932
+ "hB"
1933
+ ],
1934
+ GE: [
1935
+ "H",
1936
+ "hB",
1937
+ "h"
1938
+ ],
1939
+ GF: [
1940
+ "H",
1941
+ "hB"
1942
+ ],
1943
+ GG: [
1944
+ "H",
1945
+ "h",
1946
+ "hb",
1947
+ "hB"
1948
+ ],
1949
+ GH: [
1950
+ "h",
1951
+ "H"
1952
+ ],
1953
+ GI: [
1954
+ "H",
1955
+ "h",
1956
+ "hb",
1957
+ "hB"
1958
+ ],
1959
+ GL: [
1960
+ "H",
1961
+ "h"
1962
+ ],
1963
+ GM: [
1964
+ "h",
1965
+ "hb",
1966
+ "H",
1967
+ "hB"
1968
+ ],
1969
+ GN: [
1970
+ "H",
1971
+ "hB"
1972
+ ],
1973
+ GP: [
1974
+ "H",
1975
+ "hB"
1976
+ ],
1977
+ GQ: [
1978
+ "H",
1979
+ "hB",
1980
+ "h",
1981
+ "hb"
1982
+ ],
1983
+ GR: [
1984
+ "h",
1985
+ "H",
1986
+ "hb",
1987
+ "hB"
1988
+ ],
1989
+ GT: [
1990
+ "H",
1991
+ "h",
1992
+ "hB",
1993
+ "hb"
1994
+ ],
1995
+ GU: [
1996
+ "h",
1997
+ "hb",
1998
+ "H",
1999
+ "hB"
2000
+ ],
2001
+ GW: [
2002
+ "H",
2003
+ "hB"
2004
+ ],
2005
+ GY: [
2006
+ "h",
2007
+ "hb",
2008
+ "H",
2009
+ "hB"
2010
+ ],
2011
+ HK: [
2012
+ "h",
2013
+ "hB",
2014
+ "hb",
2015
+ "H"
2016
+ ],
2017
+ HN: [
2018
+ "H",
2019
+ "h",
2020
+ "hB",
2021
+ "hb"
2022
+ ],
2023
+ HR: [
2024
+ "H",
2025
+ "hB"
2026
+ ],
2027
+ HU: [
2028
+ "H",
2029
+ "h"
2030
+ ],
2031
+ IC: [
2032
+ "H",
2033
+ "h",
2034
+ "hB",
2035
+ "hb"
2036
+ ],
2037
+ ID: [
2038
+ "H"
2039
+ ],
2040
+ IE: [
2041
+ "H",
2042
+ "h",
2043
+ "hb",
2044
+ "hB"
2045
+ ],
2046
+ IL: [
2047
+ "H",
2048
+ "hB"
2049
+ ],
2050
+ IM: [
2051
+ "H",
2052
+ "h",
2053
+ "hb",
2054
+ "hB"
2055
+ ],
2056
+ IN: [
2057
+ "h",
2058
+ "H"
2059
+ ],
2060
+ IO: [
2061
+ "H",
2062
+ "h",
2063
+ "hb",
2064
+ "hB"
2065
+ ],
2066
+ IQ: [
2067
+ "h",
2068
+ "hB",
2069
+ "hb",
2070
+ "H"
2071
+ ],
2072
+ IR: [
2073
+ "hB",
2074
+ "H"
2075
+ ],
2076
+ IS: [
2077
+ "H"
2078
+ ],
2079
+ IT: [
2080
+ "H",
2081
+ "hB"
2082
+ ],
2083
+ JE: [
2084
+ "H",
2085
+ "h",
2086
+ "hb",
2087
+ "hB"
2088
+ ],
2089
+ JM: [
2090
+ "h",
2091
+ "hb",
2092
+ "H",
2093
+ "hB"
2094
+ ],
2095
+ JO: [
2096
+ "h",
2097
+ "hB",
2098
+ "hb",
2099
+ "H"
2100
+ ],
2101
+ JP: [
2102
+ "H",
2103
+ "K",
2104
+ "h"
2105
+ ],
2106
+ KE: [
2107
+ "hB",
2108
+ "hb",
2109
+ "H",
2110
+ "h"
2111
+ ],
2112
+ KG: [
2113
+ "H",
2114
+ "h",
2115
+ "hB",
2116
+ "hb"
2117
+ ],
2118
+ KH: [
2119
+ "hB",
2120
+ "h",
2121
+ "H",
2122
+ "hb"
2123
+ ],
2124
+ KI: [
2125
+ "h",
2126
+ "hb",
2127
+ "H",
2128
+ "hB"
2129
+ ],
2130
+ KM: [
2131
+ "H",
2132
+ "h",
2133
+ "hB",
2134
+ "hb"
2135
+ ],
2136
+ KN: [
2137
+ "h",
2138
+ "hb",
2139
+ "H",
2140
+ "hB"
2141
+ ],
2142
+ KP: [
2143
+ "h",
2144
+ "H",
2145
+ "hB",
2146
+ "hb"
2147
+ ],
2148
+ KR: [
2149
+ "h",
2150
+ "H",
2151
+ "hB",
2152
+ "hb"
2153
+ ],
2154
+ KW: [
2155
+ "h",
2156
+ "hB",
2157
+ "hb",
2158
+ "H"
2159
+ ],
2160
+ KY: [
2161
+ "h",
2162
+ "hb",
2163
+ "H",
2164
+ "hB"
2165
+ ],
2166
+ KZ: [
2167
+ "H",
2168
+ "hB"
2169
+ ],
2170
+ LA: [
2171
+ "H",
2172
+ "hb",
2173
+ "hB",
2174
+ "h"
2175
+ ],
2176
+ LB: [
2177
+ "h",
2178
+ "hB",
2179
+ "hb",
2180
+ "H"
2181
+ ],
2182
+ LC: [
2183
+ "h",
2184
+ "hb",
2185
+ "H",
2186
+ "hB"
2187
+ ],
2188
+ LI: [
2189
+ "H",
2190
+ "hB",
2191
+ "h"
2192
+ ],
2193
+ LK: [
2194
+ "H",
2195
+ "h",
2196
+ "hB",
2197
+ "hb"
2198
+ ],
2199
+ LR: [
2200
+ "h",
2201
+ "hb",
2202
+ "H",
2203
+ "hB"
2204
+ ],
2205
+ LS: [
2206
+ "h",
2207
+ "H"
2208
+ ],
2209
+ LT: [
2210
+ "H",
2211
+ "h",
2212
+ "hb",
2213
+ "hB"
2214
+ ],
2215
+ LU: [
2216
+ "H",
2217
+ "h",
2218
+ "hB"
2219
+ ],
2220
+ LV: [
2221
+ "H",
2222
+ "hB",
2223
+ "hb",
2224
+ "h"
2225
+ ],
2226
+ LY: [
2227
+ "h",
2228
+ "hB",
2229
+ "hb",
2230
+ "H"
2231
+ ],
2232
+ MA: [
2233
+ "H",
2234
+ "h",
2235
+ "hB",
2236
+ "hb"
2237
+ ],
2238
+ MC: [
2239
+ "H",
2240
+ "hB"
2241
+ ],
2242
+ MD: [
2243
+ "H",
2244
+ "hB"
2245
+ ],
2246
+ ME: [
2247
+ "H",
2248
+ "hB",
2249
+ "h"
2250
+ ],
2251
+ MF: [
2252
+ "H",
2253
+ "hB"
2254
+ ],
2255
+ MG: [
2256
+ "H",
2257
+ "h"
2258
+ ],
2259
+ MH: [
2260
+ "h",
2261
+ "hb",
2262
+ "H",
2263
+ "hB"
2264
+ ],
2265
+ MK: [
2266
+ "H",
2267
+ "h",
2268
+ "hb",
2269
+ "hB"
2270
+ ],
2271
+ ML: [
2272
+ "H"
2273
+ ],
2274
+ MM: [
2275
+ "hB",
2276
+ "hb",
2277
+ "H",
2278
+ "h"
2279
+ ],
2280
+ MN: [
2281
+ "H",
2282
+ "h",
2283
+ "hb",
2284
+ "hB"
2285
+ ],
2286
+ MO: [
2287
+ "h",
2288
+ "hB",
2289
+ "hb",
2290
+ "H"
2291
+ ],
2292
+ MP: [
2293
+ "h",
2294
+ "hb",
2295
+ "H",
2296
+ "hB"
2297
+ ],
2298
+ MQ: [
2299
+ "H",
2300
+ "hB"
2301
+ ],
2302
+ MR: [
2303
+ "h",
2304
+ "hB",
2305
+ "hb",
2306
+ "H"
2307
+ ],
2308
+ MS: [
2309
+ "H",
2310
+ "h",
2311
+ "hb",
2312
+ "hB"
2313
+ ],
2314
+ MT: [
2315
+ "H",
2316
+ "h"
2317
+ ],
2318
+ MU: [
2319
+ "H",
2320
+ "h"
2321
+ ],
2322
+ MV: [
2323
+ "H",
2324
+ "h"
2325
+ ],
2326
+ MW: [
2327
+ "h",
2328
+ "hb",
2329
+ "H",
2330
+ "hB"
2331
+ ],
2332
+ MX: [
2333
+ "H",
2334
+ "h",
2335
+ "hB",
2336
+ "hb"
2337
+ ],
2338
+ MY: [
2339
+ "hb",
2340
+ "hB",
2341
+ "h",
2342
+ "H"
2343
+ ],
2344
+ MZ: [
2345
+ "H",
2346
+ "hB"
2347
+ ],
2348
+ NA: [
2349
+ "h",
2350
+ "H",
2351
+ "hB",
2352
+ "hb"
2353
+ ],
2354
+ NC: [
2355
+ "H",
2356
+ "hB"
2357
+ ],
2358
+ NE: [
2359
+ "H"
2360
+ ],
2361
+ NF: [
2362
+ "H",
2363
+ "h",
2364
+ "hb",
2365
+ "hB"
2366
+ ],
2367
+ NG: [
2368
+ "H",
2369
+ "h",
2370
+ "hb",
2371
+ "hB"
2372
+ ],
2373
+ NI: [
2374
+ "H",
2375
+ "h",
2376
+ "hB",
2377
+ "hb"
2378
+ ],
2379
+ NL: [
2380
+ "H",
2381
+ "hB"
2382
+ ],
2383
+ NO: [
2384
+ "H",
2385
+ "h"
2386
+ ],
2387
+ NP: [
2388
+ "H",
2389
+ "h",
2390
+ "hB"
2391
+ ],
2392
+ NR: [
2393
+ "H",
2394
+ "h",
2395
+ "hb",
2396
+ "hB"
2397
+ ],
2398
+ NU: [
2399
+ "H",
2400
+ "h",
2401
+ "hb",
2402
+ "hB"
2403
+ ],
2404
+ NZ: [
2405
+ "h",
2406
+ "hb",
2407
+ "H",
2408
+ "hB"
2409
+ ],
2410
+ OM: [
2411
+ "h",
2412
+ "hB",
2413
+ "hb",
2414
+ "H"
2415
+ ],
2416
+ PA: [
2417
+ "h",
2418
+ "H",
2419
+ "hB",
2420
+ "hb"
2421
+ ],
2422
+ PE: [
2423
+ "H",
2424
+ "hB",
2425
+ "h",
2426
+ "hb"
2427
+ ],
2428
+ PF: [
2429
+ "H",
2430
+ "h",
2431
+ "hB"
2432
+ ],
2433
+ PG: [
2434
+ "h",
2435
+ "H"
2436
+ ],
2437
+ PH: [
2438
+ "h",
2439
+ "hB",
2440
+ "hb",
2441
+ "H"
2442
+ ],
2443
+ PK: [
2444
+ "h",
2445
+ "hB",
2446
+ "H"
2447
+ ],
2448
+ PL: [
2449
+ "H",
2450
+ "h"
2451
+ ],
2452
+ PM: [
2453
+ "H",
2454
+ "hB"
2455
+ ],
2456
+ PN: [
2457
+ "H",
2458
+ "h",
2459
+ "hb",
2460
+ "hB"
2461
+ ],
2462
+ PR: [
2463
+ "h",
2464
+ "H",
2465
+ "hB",
2466
+ "hb"
2467
+ ],
2468
+ PS: [
2469
+ "h",
2470
+ "hB",
2471
+ "hb",
2472
+ "H"
2473
+ ],
2474
+ PT: [
2475
+ "H",
2476
+ "hB"
2477
+ ],
2478
+ PW: [
2479
+ "h",
2480
+ "H"
2481
+ ],
2482
+ PY: [
2483
+ "H",
2484
+ "h",
2485
+ "hB",
2486
+ "hb"
2487
+ ],
2488
+ QA: [
2489
+ "h",
2490
+ "hB",
2491
+ "hb",
2492
+ "H"
2493
+ ],
2494
+ RE: [
2495
+ "H",
2496
+ "hB"
2497
+ ],
2498
+ RO: [
2499
+ "H",
2500
+ "hB"
2501
+ ],
2502
+ RS: [
2503
+ "H",
2504
+ "hB",
2505
+ "h"
2506
+ ],
2507
+ RU: [
2508
+ "H"
2509
+ ],
2510
+ RW: [
2511
+ "H",
2512
+ "h"
2513
+ ],
2514
+ SA: [
2515
+ "h",
2516
+ "hB",
2517
+ "hb",
2518
+ "H"
2519
+ ],
2520
+ SB: [
2521
+ "h",
2522
+ "hb",
2523
+ "H",
2524
+ "hB"
2525
+ ],
2526
+ SC: [
2527
+ "H",
2528
+ "h",
2529
+ "hB"
2530
+ ],
2531
+ SD: [
2532
+ "h",
2533
+ "hB",
2534
+ "hb",
2535
+ "H"
2536
+ ],
2537
+ SE: [
2538
+ "H"
2539
+ ],
2540
+ SG: [
2541
+ "h",
2542
+ "hb",
2543
+ "H",
2544
+ "hB"
2545
+ ],
2546
+ SH: [
2547
+ "H",
2548
+ "h",
2549
+ "hb",
2550
+ "hB"
2551
+ ],
2552
+ SI: [
2553
+ "H",
2554
+ "hB"
2555
+ ],
2556
+ SJ: [
2557
+ "H"
2558
+ ],
2559
+ SK: [
2560
+ "H"
2561
+ ],
2562
+ SL: [
2563
+ "h",
2564
+ "hb",
2565
+ "H",
2566
+ "hB"
2567
+ ],
2568
+ SM: [
2569
+ "H",
2570
+ "h",
2571
+ "hB"
2572
+ ],
2573
+ SN: [
2574
+ "H",
2575
+ "h",
2576
+ "hB"
2577
+ ],
2578
+ SO: [
2579
+ "h",
2580
+ "H"
2581
+ ],
2582
+ SR: [
2583
+ "H",
2584
+ "hB"
2585
+ ],
2586
+ SS: [
2587
+ "h",
2588
+ "hb",
2589
+ "H",
2590
+ "hB"
2591
+ ],
2592
+ ST: [
2593
+ "H",
2594
+ "hB"
2595
+ ],
2596
+ SV: [
2597
+ "H",
2598
+ "h",
2599
+ "hB",
2600
+ "hb"
2601
+ ],
2602
+ SX: [
2603
+ "H",
2604
+ "h",
2605
+ "hb",
2606
+ "hB"
2607
+ ],
2608
+ SY: [
2609
+ "h",
2610
+ "hB",
2611
+ "hb",
2612
+ "H"
2613
+ ],
2614
+ SZ: [
2615
+ "h",
2616
+ "hb",
2617
+ "H",
2618
+ "hB"
2619
+ ],
2620
+ TA: [
2621
+ "H",
2622
+ "h",
2623
+ "hb",
2624
+ "hB"
2625
+ ],
2626
+ TC: [
2627
+ "h",
2628
+ "hb",
2629
+ "H",
2630
+ "hB"
2631
+ ],
2632
+ TD: [
2633
+ "h",
2634
+ "H",
2635
+ "hB"
2636
+ ],
2637
+ TF: [
2638
+ "H",
2639
+ "h",
2640
+ "hB"
2641
+ ],
2642
+ TG: [
2643
+ "H",
2644
+ "hB"
2645
+ ],
2646
+ TH: [
2647
+ "H",
2648
+ "h"
2649
+ ],
2650
+ TJ: [
2651
+ "H",
2652
+ "h"
2653
+ ],
2654
+ TL: [
2655
+ "H",
2656
+ "hB",
2657
+ "hb",
2658
+ "h"
2659
+ ],
2660
+ TM: [
2661
+ "H",
2662
+ "h"
2663
+ ],
2664
+ TN: [
2665
+ "h",
2666
+ "hB",
2667
+ "hb",
2668
+ "H"
2669
+ ],
2670
+ TO: [
2671
+ "h",
2672
+ "H"
2673
+ ],
2674
+ TR: [
2675
+ "H",
2676
+ "hB"
2677
+ ],
2678
+ TT: [
2679
+ "h",
2680
+ "hb",
2681
+ "H",
2682
+ "hB"
2683
+ ],
2684
+ TW: [
2685
+ "hB",
2686
+ "hb",
2687
+ "h",
2688
+ "H"
2689
+ ],
2690
+ TZ: [
2691
+ "hB",
2692
+ "hb",
2693
+ "H",
2694
+ "h"
2695
+ ],
2696
+ UA: [
2697
+ "H",
2698
+ "hB",
2699
+ "h"
2700
+ ],
2701
+ UG: [
2702
+ "hB",
2703
+ "hb",
2704
+ "H",
2705
+ "h"
2706
+ ],
2707
+ UM: [
2708
+ "h",
2709
+ "hb",
2710
+ "H",
2711
+ "hB"
2712
+ ],
2713
+ US: [
2714
+ "h",
2715
+ "hb",
2716
+ "H",
2717
+ "hB"
2718
+ ],
2719
+ UY: [
2720
+ "H",
2721
+ "h",
2722
+ "hB",
2723
+ "hb"
2724
+ ],
2725
+ UZ: [
2726
+ "H",
2727
+ "hB",
2728
+ "h"
2729
+ ],
2730
+ VA: [
2731
+ "H",
2732
+ "h",
2733
+ "hB"
2734
+ ],
2735
+ VC: [
2736
+ "h",
2737
+ "hb",
2738
+ "H",
2739
+ "hB"
2740
+ ],
2741
+ VE: [
2742
+ "h",
2743
+ "H",
2744
+ "hB",
2745
+ "hb"
2746
+ ],
2747
+ VG: [
2748
+ "h",
2749
+ "hb",
2750
+ "H",
2751
+ "hB"
2752
+ ],
2753
+ VI: [
2754
+ "h",
2755
+ "hb",
2756
+ "H",
2757
+ "hB"
2758
+ ],
2759
+ VN: [
2760
+ "H",
2761
+ "h"
2762
+ ],
2763
+ VU: [
2764
+ "h",
2765
+ "H"
2766
+ ],
2767
+ WF: [
2768
+ "H",
2769
+ "hB"
2770
+ ],
2771
+ WS: [
2772
+ "h",
2773
+ "H"
2774
+ ],
2775
+ XK: [
2776
+ "H",
2777
+ "hB",
2778
+ "h"
2779
+ ],
2780
+ YE: [
2781
+ "h",
2782
+ "hB",
2783
+ "hb",
2784
+ "H"
2785
+ ],
2786
+ YT: [
2787
+ "H",
2788
+ "hB"
2789
+ ],
2790
+ ZA: [
2791
+ "H",
2792
+ "h",
2793
+ "hb",
2794
+ "hB"
2795
+ ],
2796
+ ZM: [
2797
+ "h",
2798
+ "hb",
2799
+ "H",
2800
+ "hB"
2801
+ ],
2802
+ ZW: [
2803
+ "H",
2804
+ "h"
2805
+ ],
2806
+ "af-ZA": [
2807
+ "H",
2808
+ "h",
2809
+ "hB",
2810
+ "hb"
2811
+ ],
2812
+ "ar-001": [
2813
+ "h",
2814
+ "hB",
2815
+ "hb",
2816
+ "H"
2817
+ ],
2818
+ "ca-ES": [
2819
+ "H",
2820
+ "h",
2821
+ "hB"
2822
+ ],
2823
+ "en-001": [
2824
+ "h",
2825
+ "hb",
2826
+ "H",
2827
+ "hB"
2828
+ ],
2829
+ "es-BO": [
2830
+ "H",
2831
+ "h",
2832
+ "hB",
2833
+ "hb"
2834
+ ],
2835
+ "es-BR": [
2836
+ "H",
2837
+ "h",
2838
+ "hB",
2839
+ "hb"
2840
+ ],
2841
+ "es-EC": [
2842
+ "H",
2843
+ "h",
2844
+ "hB",
2845
+ "hb"
2846
+ ],
2847
+ "es-ES": [
2848
+ "H",
2849
+ "h",
2850
+ "hB",
2851
+ "hb"
2852
+ ],
2853
+ "es-GQ": [
2854
+ "H",
2855
+ "h",
2856
+ "hB",
2857
+ "hb"
2858
+ ],
2859
+ "es-PE": [
2860
+ "H",
2861
+ "h",
2862
+ "hB",
2863
+ "hb"
2864
+ ],
2865
+ "fr-CA": [
2866
+ "H",
2867
+ "h",
2868
+ "hB"
2869
+ ],
2870
+ "gl-ES": [
2871
+ "H",
2872
+ "h",
2873
+ "hB"
2874
+ ],
2875
+ "gu-IN": [
2876
+ "hB",
2877
+ "hb",
2878
+ "h",
2879
+ "H"
2880
+ ],
2881
+ "hi-IN": [
2882
+ "hB",
2883
+ "h",
2884
+ "H"
2885
+ ],
2886
+ "it-CH": [
2887
+ "H",
2888
+ "h",
2889
+ "hB"
2890
+ ],
2891
+ "it-IT": [
2892
+ "H",
2893
+ "h",
2894
+ "hB"
2895
+ ],
2896
+ "kn-IN": [
2897
+ "hB",
2898
+ "h",
2899
+ "H"
2900
+ ],
2901
+ "ml-IN": [
2902
+ "hB",
2903
+ "h",
2904
+ "H"
2905
+ ],
2906
+ "mr-IN": [
2907
+ "hB",
2908
+ "hb",
2909
+ "h",
2910
+ "H"
2911
+ ],
2912
+ "pa-IN": [
2913
+ "hB",
2914
+ "hb",
2915
+ "h",
2916
+ "H"
2917
+ ],
2918
+ "ta-IN": [
2919
+ "hB",
2920
+ "h",
2921
+ "hb",
2922
+ "H"
2923
+ ],
2924
+ "te-IN": [
2925
+ "hB",
2926
+ "h",
2927
+ "H"
2928
+ ],
2929
+ "zu-ZA": [
2930
+ "H",
2931
+ "hB",
2932
+ "hb",
2933
+ "h"
2934
+ ]
2935
+ };
2936
+ function Ei(e, t) {
2937
+ for (var r = "", n = 0; n < e.length; n++) {
2938
+ var i = e.charAt(n);
2939
+ if (i === "j") {
2940
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2941
+ o++, n++;
2942
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = xi(t);
2943
+ for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2944
+ r += u;
2945
+ for (; s-- > 0; )
2946
+ r = l + r;
2947
+ } else i === "J" ? r += "H" : r += i;
2948
+ }
2949
+ return r;
2950
+ }
2951
+ function xi(e) {
2952
+ var t = e.hourCycle;
2953
+ if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2954
+ e.hourCycles && // @ts-ignore
2955
+ e.hourCycles.length && (t = e.hourCycles[0]), t)
2956
+ switch (t) {
2957
+ case "h24":
2958
+ return "k";
2959
+ case "h23":
2960
+ return "H";
2961
+ case "h12":
2962
+ return "h";
2963
+ case "h11":
2964
+ return "K";
2965
+ default:
2966
+ throw new Error("Invalid hourCycle");
2967
+ }
2968
+ var r = e.language, n;
2969
+ r !== "root" && (n = e.maximize().region);
2970
+ var i = Ae[n || ""] || Ae[r || ""] || Ae["".concat(r, "-001")] || Ae["001"];
2971
+ return i[0];
2972
+ }
2973
+ var We, wi = new RegExp("^".concat(Ir.source, "*")), Ci = new RegExp("".concat(Ir.source, "*$"));
2974
+ function v(e, t) {
2975
+ return { start: e, end: t };
2976
+ }
2977
+ var Si = !!String.prototype.startsWith && "_a".startsWith("a", 1), Hi = !!String.fromCodePoint, Ti = !!Object.fromEntries, Ai = !!String.prototype.codePointAt, Ii = !!String.prototype.trimStart, Bi = !!String.prototype.trimEnd, Pi = !!Number.isSafeInteger, Mi = Pi ? Number.isSafeInteger : function(e) {
2978
+ return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2979
+ }, ot = !0;
2980
+ try {
2981
+ var Oi = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2982
+ ot = ((We = Oi.exec("a")) === null || We === void 0 ? void 0 : We[0]) === "a";
2983
+ } catch (e) {
2984
+ ot = !1;
2985
+ }
2986
+ var kt = Si ? (
2987
+ // Native
2988
+ function(t, r, n) {
2989
+ return t.startsWith(r, n);
2990
+ }
2991
+ ) : (
2992
+ // For IE11
2993
+ function(t, r, n) {
2994
+ return t.slice(n, n + r.length) === r;
2995
+ }
2996
+ ), st = Hi ? String.fromCodePoint : (
2997
+ // IE11
2998
+ function() {
2999
+ for (var t = [], r = 0; r < arguments.length; r++)
3000
+ t[r] = arguments[r];
3001
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
3002
+ if (s = t[o++], s > 1114111)
3003
+ throw RangeError(s + " is not a valid code point");
3004
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3005
+ }
3006
+ return n;
3007
+ }
3008
+ ), $t = (
3009
+ // native
3010
+ Ti ? Object.fromEntries : (
3011
+ // Ponyfill
3012
+ function(t) {
3013
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
3014
+ var o = i[n], s = o[0], a = o[1];
3015
+ r[s] = a;
3016
+ }
3017
+ return r;
3018
+ }
3019
+ )
3020
+ ), Or = Ai ? (
3021
+ // Native
3022
+ function(t, r) {
3023
+ return t.codePointAt(r);
3024
+ }
3025
+ ) : (
3026
+ // IE 11
3027
+ function(t, r) {
3028
+ var n = t.length;
3029
+ if (!(r < 0 || r >= n)) {
3030
+ var i = t.charCodeAt(r), o;
3031
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3032
+ }
3033
+ }
3034
+ ), Li = Ii ? (
3035
+ // Native
3036
+ function(t) {
3037
+ return t.trimStart();
3038
+ }
3039
+ ) : (
3040
+ // Ponyfill
3041
+ function(t) {
3042
+ return t.replace(wi, "");
3043
+ }
3044
+ ), Ni = Bi ? (
3045
+ // Native
3046
+ function(t) {
3047
+ return t.trimEnd();
3048
+ }
3049
+ ) : (
3050
+ // Ponyfill
3051
+ function(t) {
3052
+ return t.replace(Ci, "");
3053
+ }
3054
+ );
3055
+ function Lr(e, t) {
3056
+ return new RegExp(e, t);
3057
+ }
3058
+ var at;
3059
+ if (ot) {
3060
+ var jt = Lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3061
+ at = function(t, r) {
3062
+ var n;
3063
+ jt.lastIndex = r;
3064
+ var i = jt.exec(t);
3065
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
3066
+ };
3067
+ } else
3068
+ at = function(t, r) {
3069
+ for (var n = []; ; ) {
3070
+ var i = Or(t, r);
3071
+ if (i === void 0 || Nr(i) || Ui(i))
3072
+ break;
3073
+ n.push(i), r += i >= 65536 ? 2 : 1;
3074
+ }
3075
+ return st.apply(void 0, n);
3076
+ };
3077
+ var Fi = (
3078
+ /** @class */
3079
+ function() {
3080
+ function e(t, r) {
3081
+ r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3082
+ }
3083
+ return e.prototype.parse = function() {
3084
+ if (this.offset() !== 0)
3085
+ throw Error("parser can only be used once");
3086
+ return this.parseMessage(0, "", !1);
3087
+ }, e.prototype.parseMessage = function(t, r, n) {
3088
+ for (var i = []; !this.isEOF(); ) {
3089
+ var o = this.char();
3090
+ if (o === 123) {
3091
+ var s = this.parseArgument(t, n);
3092
+ if (s.err)
3093
+ return s;
3094
+ i.push(s.val);
3095
+ } else {
3096
+ if (o === 125 && t > 0)
3097
+ break;
3098
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3099
+ var a = this.clonePosition();
3100
+ this.bump(), i.push({
3101
+ type: T.pound,
3102
+ location: v(a, this.clonePosition())
3103
+ });
3104
+ } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3105
+ if (n)
3106
+ break;
3107
+ return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3108
+ } else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
3109
+ var s = this.parseTag(t, r);
3110
+ if (s.err)
3111
+ return s;
3112
+ i.push(s.val);
3113
+ } else {
3114
+ var s = this.parseLiteral(t, r);
3115
+ if (s.err)
3116
+ return s;
3117
+ i.push(s.val);
3118
+ }
3119
+ }
3120
+ }
3121
+ return { val: i, err: null };
3122
+ }, e.prototype.parseTag = function(t, r) {
3123
+ var n = this.clonePosition();
3124
+ this.bump();
3125
+ var i = this.parseTagName();
3126
+ if (this.bumpSpace(), this.bumpIf("/>"))
3127
+ return {
3128
+ val: {
3129
+ type: T.literal,
3130
+ value: "<".concat(i, "/>"),
3131
+ location: v(n, this.clonePosition())
3132
+ },
3133
+ err: null
3134
+ };
3135
+ if (this.bumpIf(">")) {
3136
+ var o = this.parseMessage(t + 1, r, !0);
3137
+ if (o.err)
3138
+ return o;
3139
+ var s = o.val, a = this.clonePosition();
3140
+ if (this.bumpIf("</")) {
3141
+ if (this.isEOF() || !ut(this.char()))
3142
+ return this.error(y.INVALID_TAG, v(a, this.clonePosition()));
3143
+ var u = this.clonePosition(), l = this.parseTagName();
3144
+ return i !== l ? this.error(y.UNMATCHED_CLOSING_TAG, v(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3145
+ val: {
3146
+ type: T.tag,
3147
+ value: i,
3148
+ children: s,
3149
+ location: v(n, this.clonePosition())
3150
+ },
3151
+ err: null
3152
+ } : this.error(y.INVALID_TAG, v(a, this.clonePosition())));
3153
+ } else
3154
+ return this.error(y.UNCLOSED_TAG, v(n, this.clonePosition()));
3155
+ } else
3156
+ return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
3157
+ }, e.prototype.parseTagName = function() {
3158
+ var t = this.offset();
3159
+ for (this.bump(); !this.isEOF() && Di(this.char()); )
3160
+ this.bump();
3161
+ return this.message.slice(t, this.offset());
3162
+ }, e.prototype.parseLiteral = function(t, r) {
3163
+ for (var n = this.clonePosition(), i = ""; ; ) {
3164
+ var o = this.tryParseQuote(r);
3165
+ if (o) {
3166
+ i += o;
3167
+ continue;
3168
+ }
3169
+ var s = this.tryParseUnquoted(t, r);
3170
+ if (s) {
3171
+ i += s;
3172
+ continue;
3173
+ }
3174
+ var a = this.tryParseLeftAngleBracket();
3175
+ if (a) {
3176
+ i += a;
3177
+ continue;
3178
+ }
3179
+ break;
3180
+ }
3181
+ var u = v(n, this.clonePosition());
3182
+ return {
3183
+ val: { type: T.literal, value: i, location: u },
3184
+ err: null
3185
+ };
3186
+ }, e.prototype.tryParseLeftAngleBracket = function() {
3187
+ return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3188
+ !Ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3189
+ }, e.prototype.tryParseQuote = function(t) {
3190
+ if (this.isEOF() || this.char() !== 39)
3191
+ return null;
3192
+ switch (this.peek()) {
3193
+ case 39:
3194
+ return this.bump(), this.bump(), "'";
3195
+ case 123:
3196
+ case 60:
3197
+ case 62:
3198
+ case 125:
3199
+ break;
3200
+ case 35:
3201
+ if (t === "plural" || t === "selectordinal")
3202
+ break;
3203
+ return null;
3204
+ default:
3205
+ return null;
3206
+ }
3207
+ this.bump();
3208
+ var r = [this.char()];
3209
+ for (this.bump(); !this.isEOF(); ) {
3210
+ var n = this.char();
3211
+ if (n === 39)
3212
+ if (this.peek() === 39)
3213
+ r.push(39), this.bump();
3214
+ else {
3215
+ this.bump();
3216
+ break;
3217
+ }
3218
+ else
3219
+ r.push(n);
3220
+ this.bump();
3221
+ }
3222
+ return st.apply(void 0, r);
3223
+ }, e.prototype.tryParseUnquoted = function(t, r) {
3224
+ if (this.isEOF())
3225
+ return null;
3226
+ var n = this.char();
3227
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), st(n));
3228
+ }, e.prototype.parseArgument = function(t, r) {
3229
+ var n = this.clonePosition();
3230
+ if (this.bump(), this.bumpSpace(), this.isEOF())
3231
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3232
+ if (this.char() === 125)
3233
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3234
+ var i = this.parseIdentifierIfPossible().value;
3235
+ if (!i)
3236
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3237
+ if (this.bumpSpace(), this.isEOF())
3238
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3239
+ switch (this.char()) {
3240
+ case 125:
3241
+ return this.bump(), {
3242
+ val: {
3243
+ type: T.argument,
3244
+ // value does not include the opening and closing braces.
3245
+ value: i,
3246
+ location: v(n, this.clonePosition())
3247
+ },
3248
+ err: null
3249
+ };
3250
+ case 44:
3251
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3252
+ default:
3253
+ return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3254
+ }
3255
+ }, e.prototype.parseIdentifierIfPossible = function() {
3256
+ var t = this.clonePosition(), r = this.offset(), n = at(this.message, r), i = r + n.length;
3257
+ this.bumpTo(i);
3258
+ var o = this.clonePosition(), s = v(t, o);
3259
+ return { value: n, location: s };
3260
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3261
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3262
+ switch (a) {
3263
+ case "":
3264
+ return this.error(y.EXPECT_ARGUMENT_TYPE, v(s, u));
3265
+ case "number":
3266
+ case "date":
3267
+ case "time": {
3268
+ this.bumpSpace();
3269
+ var l = null;
3270
+ if (this.bumpIf(",")) {
3271
+ this.bumpSpace();
3272
+ var h = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
3273
+ if (d.err)
3274
+ return d;
3275
+ var f = Ni(d.val);
3276
+ if (f.length === 0)
3277
+ return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3278
+ var p = v(h, this.clonePosition());
3279
+ l = { style: f, styleLocation: p };
3280
+ }
3281
+ var g = this.tryParseArgumentClose(i);
3282
+ if (g.err)
3283
+ return g;
3284
+ var m = v(i, this.clonePosition());
3285
+ if (l && kt(l == null ? void 0 : l.style, "::", 0)) {
3286
+ var b = Li(l.style.slice(2));
3287
+ if (a === "number") {
3288
+ var d = this.parseNumberSkeletonFromString(b, l.styleLocation);
3289
+ return d.err ? d : {
3290
+ val: { type: T.number, value: n, location: m, style: d.val },
3291
+ err: null
3292
+ };
3293
+ } else {
3294
+ if (b.length === 0)
3295
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, m);
3296
+ var S = b;
3297
+ this.locale && (S = Ei(b, this.locale));
3298
+ var f = {
3299
+ type: ue.dateTime,
3300
+ pattern: S,
3301
+ location: l.styleLocation,
3302
+ parsedOptions: this.shouldParseSkeletons ? pi(S) : {}
3303
+ }, _ = a === "date" ? T.date : T.time;
3304
+ return {
3305
+ val: { type: _, value: n, location: m, style: f },
3306
+ err: null
3307
+ };
3308
+ }
3309
+ }
3310
+ return {
3311
+ val: {
3312
+ type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3313
+ value: n,
3314
+ location: m,
3315
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3316
+ },
3317
+ err: null
3318
+ };
3319
+ }
3320
+ case "plural":
3321
+ case "selectordinal":
3322
+ case "select": {
3323
+ var w = this.clonePosition();
3324
+ if (this.bumpSpace(), !this.bumpIf(","))
3325
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, E({}, w)));
3326
+ this.bumpSpace();
3327
+ var L = this.parseIdentifierIfPossible(), N = 0;
3328
+ if (a !== "select" && L.value === "offset") {
3329
+ if (!this.bumpIf(":"))
3330
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3331
+ this.bumpSpace();
3332
+ var d = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3333
+ if (d.err)
3334
+ return d;
3335
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), N = d.val;
3336
+ }
3337
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, L);
3338
+ if (k.err)
3339
+ return k;
3340
+ var g = this.tryParseArgumentClose(i);
3341
+ if (g.err)
3342
+ return g;
3343
+ var C = v(i, this.clonePosition());
3344
+ return a === "select" ? {
3345
+ val: {
3346
+ type: T.select,
3347
+ value: n,
3348
+ options: $t(k.val),
3349
+ location: C
3350
+ },
3351
+ err: null
3352
+ } : {
3353
+ val: {
3354
+ type: T.plural,
3355
+ value: n,
3356
+ options: $t(k.val),
3357
+ offset: N,
3358
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3359
+ location: C
3360
+ },
3361
+ err: null
3362
+ };
3363
+ }
3364
+ default:
3365
+ return this.error(y.INVALID_ARGUMENT_TYPE, v(s, u));
3366
+ }
3367
+ }, e.prototype.tryParseArgumentClose = function(t) {
3368
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3369
+ }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3370
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3371
+ var n = this.char();
3372
+ switch (n) {
3373
+ case 39: {
3374
+ this.bump();
3375
+ var i = this.clonePosition();
3376
+ if (!this.bumpUntil("'"))
3377
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3378
+ this.bump();
3379
+ break;
3380
+ }
3381
+ case 123: {
3382
+ t += 1, this.bump();
3383
+ break;
3384
+ }
3385
+ case 125: {
3386
+ if (t > 0)
3387
+ t -= 1;
3388
+ else
3389
+ return {
3390
+ val: this.message.slice(r.offset, this.offset()),
3391
+ err: null
3392
+ };
3393
+ break;
3394
+ }
3395
+ default:
3396
+ this.bump();
3397
+ break;
3398
+ }
3399
+ }
3400
+ return {
3401
+ val: this.message.slice(r.offset, this.offset()),
3402
+ err: null
3403
+ };
3404
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3405
+ var n = [];
3406
+ try {
3407
+ n = bi(t);
3408
+ } catch (i) {
3409
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3410
+ }
3411
+ return {
3412
+ val: {
3413
+ type: ue.number,
3414
+ tokens: n,
3415
+ location: r,
3416
+ parsedOptions: this.shouldParseSkeletons ? _i(n) : {}
3417
+ },
3418
+ err: null
3419
+ };
3420
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3421
+ for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3422
+ if (l.length === 0) {
3423
+ var d = this.clonePosition();
3424
+ if (r !== "select" && this.bumpIf("=")) {
3425
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3426
+ if (f.err)
3427
+ return f;
3428
+ h = v(d, this.clonePosition()), l = this.message.slice(d.offset, this.offset());
3429
+ } else
3430
+ break;
3431
+ }
3432
+ if (u.has(l))
3433
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3434
+ l === "other" && (s = !0), this.bumpSpace();
3435
+ var p = this.clonePosition();
3436
+ if (!this.bumpIf("{"))
3437
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3438
+ var g = this.parseMessage(t + 1, r, n);
3439
+ if (g.err)
3440
+ return g;
3441
+ var m = this.tryParseArgumentClose(p);
3442
+ if (m.err)
3443
+ return m;
3444
+ a.push([
3445
+ l,
3446
+ {
3447
+ value: g.val,
3448
+ location: v(p, this.clonePosition())
3449
+ }
3450
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3451
+ }
3452
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3453
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3454
+ var n = 1, i = this.clonePosition();
3455
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3456
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3457
+ var a = this.char();
3458
+ if (a >= 48 && a <= 57)
3459
+ o = !0, s = s * 10 + (a - 48), this.bump();
3460
+ else
3461
+ break;
3462
+ }
3463
+ var u = v(i, this.clonePosition());
3464
+ return o ? (s *= n, Mi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3465
+ }, e.prototype.offset = function() {
3466
+ return this.position.offset;
3467
+ }, e.prototype.isEOF = function() {
3468
+ return this.offset() === this.message.length;
3469
+ }, e.prototype.clonePosition = function() {
3470
+ return {
3471
+ offset: this.position.offset,
3472
+ line: this.position.line,
3473
+ column: this.position.column
3474
+ };
3475
+ }, e.prototype.char = function() {
3476
+ var t = this.position.offset;
3477
+ if (t >= this.message.length)
3478
+ throw Error("out of bound");
3479
+ var r = Or(this.message, t);
3480
+ if (r === void 0)
3481
+ throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3482
+ return r;
3483
+ }, e.prototype.error = function(t, r) {
3484
+ return {
3485
+ val: null,
3486
+ err: {
3487
+ kind: t,
3488
+ message: this.message,
3489
+ location: r
3490
+ }
3491
+ };
3492
+ }, e.prototype.bump = function() {
3493
+ if (!this.isEOF()) {
3494
+ var t = this.char();
3495
+ 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);
3496
+ }
3497
+ }, e.prototype.bumpIf = function(t) {
3498
+ if (kt(this.message, t, this.offset())) {
3499
+ for (var r = 0; r < t.length; r++)
3500
+ this.bump();
3501
+ return !0;
3502
+ }
3503
+ return !1;
3504
+ }, e.prototype.bumpUntil = function(t) {
3505
+ var r = this.offset(), n = this.message.indexOf(t, r);
3506
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3507
+ }, e.prototype.bumpTo = function(t) {
3508
+ if (this.offset() > t)
3509
+ throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3510
+ for (t = Math.min(t, this.message.length); ; ) {
3511
+ var r = this.offset();
3512
+ if (r === t)
3513
+ break;
3514
+ if (r > t)
3515
+ throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3516
+ if (this.bump(), this.isEOF())
3517
+ break;
3518
+ }
3519
+ }, e.prototype.bumpSpace = function() {
3520
+ for (; !this.isEOF() && Nr(this.char()); )
3521
+ this.bump();
3522
+ }, e.prototype.peek = function() {
3523
+ if (this.isEOF())
3524
+ return null;
3525
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3526
+ return n != null ? n : null;
3527
+ }, e;
3528
+ }()
3529
+ );
3530
+ function ut(e) {
3531
+ return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3532
+ }
3533
+ function Ri(e) {
3534
+ return ut(e) || e === 47;
3535
+ }
3536
+ function Di(e) {
3537
+ 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;
3538
+ }
3539
+ function Nr(e) {
3540
+ return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3541
+ }
3542
+ function Ui(e) {
3543
+ 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;
3544
+ }
3545
+ function lt(e) {
3546
+ e.forEach(function(t) {
3547
+ if (delete t.location, Sr(t) || Hr(t))
3548
+ for (var r in t.options)
3549
+ delete t.options[r].location, lt(t.options[r].value);
3550
+ else xr(t) && Ar(t.style) || (wr(t) || Cr(t)) && it(t.style) ? delete t.style.location : Tr(t) && lt(t.children);
3551
+ });
3552
+ }
3553
+ function Gi(e, t) {
3554
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3555
+ var r = new Fi(e, t).parse();
3556
+ if (r.err) {
3557
+ var n = SyntaxError(y[r.err.kind]);
3558
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3559
+ }
3560
+ return t != null && t.captureLocation || lt(r.val), r.val;
3561
+ }
3562
+ function ze(e, t) {
3563
+ var r = t && t.cache ? t.cache : Wi, n = t && t.serializer ? t.serializer : Xi, i = t && t.strategy ? t.strategy : $i;
3564
+ return i(e, {
3565
+ cache: r,
3566
+ serializer: n
3567
+ });
3568
+ }
3569
+ function ki(e) {
3570
+ return e == null || typeof e == "number" || typeof e == "boolean";
3571
+ }
3572
+ function Fr(e, t, r, n) {
3573
+ var i = ki(n) ? n : r(n), o = t.get(i);
3574
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
3575
+ }
3576
+ function Rr(e, t, r) {
3577
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
3578
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
3579
+ }
3580
+ function pt(e, t, r, n, i) {
3581
+ return r.bind(t, e, n, i);
3582
+ }
3583
+ function $i(e, t) {
3584
+ var r = e.length === 1 ? Fr : Rr;
3585
+ return pt(e, this, r, t.cache.create(), t.serializer);
3586
+ }
3587
+ function ji(e, t) {
3588
+ return pt(e, this, Rr, t.cache.create(), t.serializer);
3589
+ }
3590
+ function Vi(e, t) {
3591
+ return pt(e, this, Fr, t.cache.create(), t.serializer);
3592
+ }
3593
+ var Xi = function() {
3594
+ return JSON.stringify(arguments);
3595
+ };
3596
+ function mt() {
3597
+ this.cache = /* @__PURE__ */ Object.create(null);
3598
+ }
3599
+ mt.prototype.get = function(e) {
3600
+ return this.cache[e];
3601
+ };
3602
+ mt.prototype.set = function(e, t) {
3603
+ this.cache[e] = t;
3604
+ };
3605
+ var Wi = {
3606
+ create: function() {
3607
+ return new mt();
3608
+ }
3609
+ }, Ze = {
3610
+ variadic: ji,
3611
+ monadic: Vi
3612
+ }, le;
3613
+ (function(e) {
3614
+ e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3615
+ })(le || (le = {}));
3616
+ var De = (
3617
+ /** @class */
3618
+ function(e) {
3619
+ V(t, e);
3620
+ function t(r, n, i) {
3621
+ var o = e.call(this, r) || this;
3622
+ return o.code = n, o.originalMessage = i, o;
3623
+ }
3624
+ return t.prototype.toString = function() {
3625
+ return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3626
+ }, t;
3627
+ }(Error)
3628
+ ), Vt = (
3629
+ /** @class */
3630
+ function(e) {
3631
+ V(t, e);
3632
+ function t(r, n, i, o) {
3633
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), le.INVALID_VALUE, o) || this;
3634
+ }
3635
+ return t;
3636
+ }(De)
3637
+ ), zi = (
3638
+ /** @class */
3639
+ function(e) {
3640
+ V(t, e);
3641
+ function t(r, n, i) {
3642
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), le.INVALID_VALUE, i) || this;
3643
+ }
3644
+ return t;
3645
+ }(De)
3646
+ ), Zi = (
3647
+ /** @class */
3648
+ function(e) {
3649
+ V(t, e);
3650
+ function t(r, n) {
3651
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), le.MISSING_VALUE, n) || this;
3652
+ }
3653
+ return t;
3654
+ }(De)
3655
+ ), F;
3656
+ (function(e) {
3657
+ e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3658
+ })(F || (F = {}));
3659
+ function Yi(e) {
3660
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3661
+ var n = t[t.length - 1];
3662
+ return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3663
+ }, []);
3664
+ }
3665
+ function Qi(e) {
3666
+ return typeof e == "function";
3667
+ }
3668
+ function Pe(e, t, r, n, i, o, s) {
3669
+ if (e.length === 1 && Rt(e[0]))
3670
+ return [
3671
+ {
3672
+ type: F.literal,
3673
+ value: e[0].value
3674
+ }
3675
+ ];
3676
+ for (var a = [], u = 0, l = e; u < l.length; u++) {
3677
+ var h = l[u];
3678
+ if (Rt(h)) {
3679
+ a.push({
3680
+ type: F.literal,
3681
+ value: h.value
3682
+ });
3683
+ continue;
3684
+ }
3685
+ if (fi(h)) {
3686
+ typeof o == "number" && a.push({
3687
+ type: F.literal,
3688
+ value: r.getNumberFormat(t).format(o)
3689
+ });
3690
+ continue;
3691
+ }
3692
+ var d = h.value;
3693
+ if (!(i && d in i))
3694
+ throw new Zi(d, s);
3695
+ var f = i[d];
3696
+ if (ci(h)) {
3697
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3698
+ type: typeof f == "string" ? F.literal : F.object,
3699
+ value: f
3700
+ });
3701
+ continue;
3702
+ }
3703
+ if (wr(h)) {
3704
+ var p = typeof h.style == "string" ? n.date[h.style] : it(h.style) ? h.style.parsedOptions : void 0;
3705
+ a.push({
3706
+ type: F.literal,
3707
+ value: r.getDateTimeFormat(t, p).format(f)
3708
+ });
3709
+ continue;
3710
+ }
3711
+ if (Cr(h)) {
3712
+ var p = typeof h.style == "string" ? n.time[h.style] : it(h.style) ? h.style.parsedOptions : n.time.medium;
3713
+ a.push({
3714
+ type: F.literal,
3715
+ value: r.getDateTimeFormat(t, p).format(f)
3716
+ });
3717
+ continue;
3718
+ }
3719
+ if (xr(h)) {
3720
+ var p = typeof h.style == "string" ? n.number[h.style] : Ar(h.style) ? h.style.parsedOptions : void 0;
3721
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3722
+ type: F.literal,
3723
+ value: r.getNumberFormat(t, p).format(f)
3724
+ });
3725
+ continue;
3726
+ }
3727
+ if (Tr(h)) {
3728
+ var g = h.children, m = h.value, b = i[m];
3729
+ if (!Qi(b))
3730
+ throw new zi(m, "function", s);
3731
+ var S = Pe(g, t, r, n, i, o), _ = b(S.map(function(N) {
3732
+ return N.value;
3733
+ }));
3734
+ Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(N) {
3735
+ return {
3736
+ type: typeof N == "string" ? F.literal : F.object,
3737
+ value: N
3738
+ };
3739
+ }));
3740
+ }
3741
+ if (Sr(h)) {
3742
+ var w = h.options[f] || h.options.other;
3743
+ if (!w)
3744
+ throw new Vt(h.value, f, Object.keys(h.options), s);
3745
+ a.push.apply(a, Pe(w.value, t, r, n, i));
3746
+ continue;
3747
+ }
3748
+ if (Hr(h)) {
3749
+ var w = h.options["=".concat(f)];
3750
+ if (!w) {
3751
+ if (!Intl.PluralRules)
3752
+ throw new De(`Intl.PluralRules is not available in this environment.
3753
+ Try polyfilling it using "@formatjs/intl-pluralrules"
3754
+ `, le.MISSING_INTL_API, s);
3755
+ var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3756
+ w = h.options[L] || h.options.other;
3757
+ }
3758
+ if (!w)
3759
+ throw new Vt(h.value, f, Object.keys(h.options), s);
3760
+ a.push.apply(a, Pe(w.value, t, r, n, i, f - (h.offset || 0)));
3761
+ continue;
3762
+ }
3763
+ }
3764
+ return Yi(a);
3765
+ }
3766
+ function qi(e, t) {
3767
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3768
+ return r[n] = E(E({}, e[n]), t[n] || {}), r;
3769
+ }, {})) : e;
3770
+ }
3771
+ function Ji(e, t) {
3772
+ return t ? Object.keys(e).reduce(function(r, n) {
3773
+ return r[n] = qi(e[n], t[n]), r;
3774
+ }, E({}, e)) : e;
3775
+ }
3776
+ function Ye(e) {
3777
+ return {
3778
+ create: function() {
3779
+ return {
3780
+ get: function(t) {
3781
+ return e[t];
3782
+ },
3783
+ set: function(t, r) {
3784
+ e[t] = r;
3785
+ }
3786
+ };
3787
+ }
3788
+ };
3789
+ }
3790
+ function Ki(e) {
3791
+ return e === void 0 && (e = {
3792
+ number: {},
3793
+ dateTime: {},
3794
+ pluralRules: {}
3795
+ }), {
3796
+ getNumberFormat: ze(function() {
3797
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3798
+ r[n] = arguments[n];
3799
+ return new ((t = Intl.NumberFormat).bind.apply(t, oe([void 0], r, !1)))();
3800
+ }, {
3801
+ cache: Ye(e.number),
3802
+ strategy: Ze.variadic
3803
+ }),
3804
+ getDateTimeFormat: ze(function() {
3805
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3806
+ r[n] = arguments[n];
3807
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, oe([void 0], r, !1)))();
3808
+ }, {
3809
+ cache: Ye(e.dateTime),
3810
+ strategy: Ze.variadic
3811
+ }),
3812
+ getPluralRules: ze(function() {
3813
+ for (var t, r = [], n = 0; n < arguments.length; n++)
3814
+ r[n] = arguments[n];
3815
+ return new ((t = Intl.PluralRules).bind.apply(t, oe([void 0], r, !1)))();
3816
+ }, {
3817
+ cache: Ye(e.pluralRules),
3818
+ strategy: Ze.variadic
3819
+ })
3820
+ };
3821
+ }
3822
+ var eo = (
3823
+ /** @class */
3824
+ function() {
3825
+ function e(t, r, n, i) {
3826
+ var o = this;
3827
+ if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
3828
+ number: {},
3829
+ dateTime: {},
3830
+ pluralRules: {}
3831
+ }, this.format = function(u) {
3832
+ var l = o.formatToParts(u);
3833
+ if (l.length === 1)
3834
+ return l[0].value;
3835
+ var h = l.reduce(function(d, f) {
3836
+ return !d.length || f.type !== F.literal || typeof d[d.length - 1] != "string" ? d.push(f.value) : d[d.length - 1] += f.value, d;
3837
+ }, []);
3838
+ return h.length <= 1 ? h[0] || "" : h;
3839
+ }, this.formatToParts = function(u) {
3840
+ return Pe(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3841
+ }, this.resolvedOptions = function() {
3842
+ var u;
3843
+ return {
3844
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3845
+ };
3846
+ }, this.getAst = function() {
3847
+ return o.ast;
3848
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3849
+ if (this.message = t, !e.__parse)
3850
+ throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3851
+ var s = i || {};
3852
+ s.formatters;
3853
+ var a = Ln(s, ["formatters"]);
3854
+ this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3855
+ } else
3856
+ this.ast = t;
3857
+ if (!Array.isArray(this.ast))
3858
+ throw new TypeError("A message must be provided as a String or AST.");
3859
+ this.formats = Ji(e.formats, n), this.formatters = i && i.formatters || Ki(this.formatterCache);
3860
+ }
3861
+ return Object.defineProperty(e, "defaultLocale", {
3862
+ get: function() {
3863
+ return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
3864
+ },
3865
+ enumerable: !1,
3866
+ configurable: !0
3867
+ }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3868
+ if (typeof Intl.Locale != "undefined") {
3869
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
3870
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3871
+ }
3872
+ }, e.__parse = Gi, e.formats = {
3873
+ number: {
3874
+ integer: {
3875
+ maximumFractionDigits: 0
3876
+ },
3877
+ currency: {
3878
+ style: "currency"
3879
+ },
3880
+ percent: {
3881
+ style: "percent"
3882
+ }
3883
+ },
3884
+ date: {
3885
+ short: {
3886
+ month: "numeric",
3887
+ day: "numeric",
3888
+ year: "2-digit"
3889
+ },
3890
+ medium: {
3891
+ month: "short",
3892
+ day: "numeric",
3893
+ year: "numeric"
3894
+ },
3895
+ long: {
3896
+ month: "long",
3897
+ day: "numeric",
3898
+ year: "numeric"
3899
+ },
3900
+ full: {
3901
+ weekday: "long",
3902
+ month: "long",
3903
+ day: "numeric",
3904
+ year: "numeric"
3905
+ }
3906
+ },
3907
+ time: {
3908
+ short: {
3909
+ hour: "numeric",
3910
+ minute: "numeric"
3911
+ },
3912
+ medium: {
3913
+ hour: "numeric",
3914
+ minute: "numeric",
3915
+ second: "numeric"
3916
+ },
3917
+ long: {
3918
+ hour: "numeric",
3919
+ minute: "numeric",
3920
+ second: "numeric",
3921
+ timeZoneName: "short"
3922
+ },
3923
+ full: {
3924
+ hour: "numeric",
3925
+ minute: "numeric",
3926
+ second: "numeric",
3927
+ timeZoneName: "short"
3928
+ }
3929
+ }
3930
+ }, e;
3931
+ }()
3932
+ );
3933
+ function to(e, t) {
3934
+ if (t == null)
3935
+ return;
3936
+ if (t in e)
3937
+ return e[t];
3938
+ const r = t.split(".");
3939
+ let n = e;
3940
+ for (let i = 0; i < r.length; i++)
3941
+ if (typeof n == "object") {
3942
+ if (i > 0) {
3943
+ const o = r.slice(i, r.length).join(".");
3944
+ if (o in n) {
3945
+ n = n[o];
3946
+ break;
3947
+ }
3948
+ }
3949
+ n = n[r[i]];
3950
+ } else
3951
+ n = void 0;
3952
+ return n;
3953
+ }
3954
+ const z = {}, ro = (e, t, r) => r && (t in z || (z[t] = {}), e in z[t] || (z[t][e] = r), r), Dr = (e, t) => {
3955
+ if (t == null)
3956
+ return;
3957
+ if (t in z && e in z[t])
3958
+ return z[t][e];
3959
+ const r = Ue(t);
3960
+ for (let n = 0; n < r.length; n++) {
3961
+ const i = r[n], o = io(i, e);
3962
+ if (o)
3963
+ return ro(e, t, o);
3964
+ }
3965
+ };
3966
+ let bt;
3967
+ const fe = Re({});
3968
+ function no(e) {
3969
+ return bt[e] || null;
3970
+ }
3971
+ function Ur(e) {
3972
+ return e in bt;
3973
+ }
3974
+ function io(e, t) {
3975
+ if (!Ur(e))
3976
+ return null;
3977
+ const r = no(e);
3978
+ return to(r, t);
3979
+ }
3980
+ function oo(e) {
3981
+ if (e == null)
3982
+ return;
3983
+ const t = Ue(e);
3984
+ for (let r = 0; r < t.length; r++) {
3985
+ const n = t[r];
3986
+ if (Ur(n))
3987
+ return n;
3988
+ }
3989
+ }
3990
+ function Gr(e, ...t) {
3991
+ delete z[e], fe.update((r) => (r[e] = hi.all([r[e] || {}, ...t]), r));
3992
+ }
3993
+ ce(
3994
+ [fe],
3995
+ ([e]) => Object.keys(e)
3996
+ );
3997
+ fe.subscribe((e) => bt = e);
3998
+ const Me = {};
3999
+ function so(e, t) {
4000
+ Me[e].delete(t), Me[e].size === 0 && delete Me[e];
4001
+ }
4002
+ function kr(e) {
4003
+ return Me[e];
4004
+ }
4005
+ function ao(e) {
4006
+ return Ue(e).map((t) => {
4007
+ const r = kr(t);
4008
+ return [t, r ? [...r] : []];
4009
+ }).filter(([, t]) => t.length > 0);
4010
+ }
4011
+ function ht(e) {
4012
+ return e == null ? !1 : Ue(e).some(
4013
+ (t) => {
4014
+ var r;
4015
+ return (r = kr(t)) == null ? void 0 : r.size;
4016
+ }
4017
+ );
4018
+ }
4019
+ function uo(e, t) {
4020
+ return Promise.all(
4021
+ t.map((n) => (so(e, n), n().then((i) => i.default || i)))
4022
+ ).then((n) => Gr(e, ...n));
4023
+ }
4024
+ const me = {};
4025
+ function $r(e) {
4026
+ if (!ht(e))
4027
+ return e in me ? me[e] : Promise.resolve();
4028
+ const t = ao(e);
4029
+ return me[e] = Promise.all(
4030
+ t.map(
4031
+ ([r, n]) => uo(r, n)
4032
+ )
4033
+ ).then(() => {
4034
+ if (ht(e))
4035
+ return $r(e);
4036
+ delete me[e];
4037
+ }), me[e];
4038
+ }
4039
+ const lo = {
4040
+ number: {
4041
+ scientific: { notation: "scientific" },
4042
+ engineering: { notation: "engineering" },
4043
+ compactLong: { notation: "compact", compactDisplay: "long" },
4044
+ compactShort: { notation: "compact", compactDisplay: "short" }
4045
+ },
4046
+ date: {
4047
+ short: { month: "numeric", day: "numeric", year: "2-digit" },
4048
+ medium: { month: "short", day: "numeric", year: "numeric" },
4049
+ long: { month: "long", day: "numeric", year: "numeric" },
4050
+ full: { weekday: "long", month: "long", day: "numeric", year: "numeric" }
4051
+ },
4052
+ time: {
4053
+ short: { hour: "numeric", minute: "numeric" },
4054
+ medium: { hour: "numeric", minute: "numeric", second: "numeric" },
4055
+ long: {
4056
+ hour: "numeric",
4057
+ minute: "numeric",
4058
+ second: "numeric",
4059
+ timeZoneName: "short"
4060
+ },
4061
+ full: {
4062
+ hour: "numeric",
4063
+ minute: "numeric",
4064
+ second: "numeric",
4065
+ timeZoneName: "short"
4066
+ }
4067
+ }
4068
+ }, ho = {
4069
+ fallbackLocale: null,
4070
+ loadingDelay: 200,
4071
+ formats: lo,
4072
+ warnOnMissingMessages: !0,
4073
+ handleMissingMessage: void 0,
4074
+ ignoreTag: !0
4075
+ }, co = ho;
4076
+ function he() {
4077
+ return co;
4078
+ }
4079
+ const Qe = Re(!1);
4080
+ var fo = Object.defineProperty, po = Object.defineProperties, mo = Object.getOwnPropertyDescriptors, Xt = Object.getOwnPropertySymbols, bo = Object.prototype.hasOwnProperty, go = Object.prototype.propertyIsEnumerable, Wt = (e, t, r) => t in e ? fo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yo = (e, t) => {
4081
+ for (var r in t || (t = {}))
4082
+ bo.call(t, r) && Wt(e, r, t[r]);
4083
+ if (Xt)
4084
+ for (var r of Xt(t))
4085
+ go.call(t, r) && Wt(e, r, t[r]);
4086
+ return e;
4087
+ }, vo = (e, t) => po(e, mo(t));
4088
+ let ct;
4089
+ const Le = Re(null);
4090
+ function zt(e) {
4091
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4092
+ }
4093
+ function Ue(e, t = he().fallbackLocale) {
4094
+ const r = zt(e);
4095
+ return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
4096
+ }
4097
+ function ee() {
4098
+ return ct != null ? ct : void 0;
4099
+ }
4100
+ Le.subscribe((e) => {
4101
+ ct = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4102
+ });
4103
+ const _o = (e) => {
4104
+ if (e && oo(e) && ht(e)) {
4105
+ const { loadingDelay: t } = he();
4106
+ let r;
4107
+ return typeof window != "undefined" && ee() != null && t ? r = window.setTimeout(
4108
+ () => Qe.set(!0),
4109
+ t
4110
+ ) : Qe.set(!0), $r(e).then(() => {
4111
+ Le.set(e);
4112
+ }).finally(() => {
4113
+ clearTimeout(r), Qe.set(!1);
4114
+ });
4115
+ }
4116
+ return Le.set(e);
4117
+ }, Z = vo(yo({}, Le), {
4118
+ set: _o
4119
+ }), Ge = (e) => {
4120
+ const t = /* @__PURE__ */ Object.create(null);
4121
+ return (n) => {
4122
+ const i = JSON.stringify(n);
4123
+ return i in t ? t[i] : t[i] = e(n);
4124
+ };
4125
+ };
4126
+ var Eo = Object.defineProperty, Ne = Object.getOwnPropertySymbols, jr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable, Zt = (e, t, r) => t in e ? Eo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gt = (e, t) => {
4127
+ for (var r in t || (t = {}))
4128
+ jr.call(t, r) && Zt(e, r, t[r]);
4129
+ if (Ne)
4130
+ for (var r of Ne(t))
4131
+ Vr.call(t, r) && Zt(e, r, t[r]);
4132
+ return e;
4133
+ }, de = (e, t) => {
4134
+ var r = {};
4135
+ for (var n in e)
4136
+ jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4137
+ if (e != null && Ne)
4138
+ for (var n of Ne(e))
4139
+ t.indexOf(n) < 0 && Vr.call(e, n) && (r[n] = e[n]);
4140
+ return r;
4141
+ };
4142
+ const Ee = (e, t) => {
4143
+ const { formats: r } = he();
4144
+ if (e in r && t in r[e])
4145
+ return r[e][t];
4146
+ throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4147
+ }, xo = Ge(
4148
+ (e) => {
4149
+ var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
4150
+ if (r == null)
4151
+ throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4152
+ return n && (i = Ee("number", n)), new Intl.NumberFormat(r, i);
4153
+ }
4154
+ ), wo = Ge(
4155
+ (e) => {
4156
+ var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
4157
+ if (r == null)
4158
+ throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4159
+ return n ? i = Ee("date", n) : Object.keys(i).length === 0 && (i = Ee("date", "short")), new Intl.DateTimeFormat(r, i);
4160
+ }
4161
+ ), Co = Ge(
4162
+ (e) => {
4163
+ var t = e, { locale: r, format: n } = t, i = de(t, ["locale", "format"]);
4164
+ if (r == null)
4165
+ throw new Error(
4166
+ '[svelte-i18n] A "locale" must be set to format time values'
4167
+ );
4168
+ return n ? i = Ee("time", n) : Object.keys(i).length === 0 && (i = Ee("time", "short")), new Intl.DateTimeFormat(r, i);
4169
+ }
4170
+ ), So = (e = {}) => {
4171
+ var t = e, {
4172
+ locale: r = ee()
4173
+ } = t, n = de(t, [
4174
+ "locale"
4175
+ ]);
4176
+ return xo(gt({ locale: r }, n));
4177
+ }, Ho = (e = {}) => {
4178
+ var t = e, {
4179
+ locale: r = ee()
4180
+ } = t, n = de(t, [
4181
+ "locale"
4182
+ ]);
4183
+ return wo(gt({ locale: r }, n));
4184
+ }, To = (e = {}) => {
4185
+ var t = e, {
4186
+ locale: r = ee()
4187
+ } = t, n = de(t, [
4188
+ "locale"
4189
+ ]);
4190
+ return Co(gt({ locale: r }, n));
4191
+ }, Ao = Ge(
4192
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4193
+ (e, t = ee()) => new eo(e, t, he().formats, {
4194
+ ignoreTag: he().ignoreTag
4195
+ })
4196
+ ), Io = (e, t = {}) => {
4197
+ var r, n, i, o;
4198
+ let s = t;
4199
+ typeof e == "object" && (s = e, e = s.id);
4200
+ const {
4201
+ values: a,
4202
+ locale: u = ee(),
4203
+ default: l
4204
+ } = s;
4205
+ if (u == null)
4206
+ throw new Error(
4207
+ "[svelte-i18n] Cannot format a message without first setting the initial locale."
4208
+ );
4209
+ let h = Dr(e, u);
4210
+ if (!h)
4211
+ h = (o = (i = (n = (r = he()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4212
+ else if (typeof h != "string")
4213
+ return console.warn(
4214
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4215
+ ), h;
4216
+ if (!a)
4217
+ return h;
4218
+ let d = h;
4219
+ try {
4220
+ d = Ao(h, u).format(a);
4221
+ } catch (f) {
4222
+ f instanceof Error && console.warn(
4223
+ `[svelte-i18n] Message "${e}" has syntax error:`,
4224
+ f.message
4225
+ );
4226
+ }
4227
+ return d;
4228
+ }, Bo = (e, t) => To(t).format(e), Po = (e, t) => Ho(t).format(e), Mo = (e, t) => So(t).format(e), Oo = (e, t = ee()) => Dr(e, t);
4229
+ ce([Z, fe], () => Io);
4230
+ ce([Z], () => Bo);
4231
+ ce([Z], () => Po);
4232
+ ce([Z], () => Mo);
4233
+ ce([Z, fe], () => Oo);
4234
+ window.emWidgets = { topic: zn };
4235
+ const Lo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4236
+ function No({ withLocale: e, translations: t }) {
4237
+ Z.subscribe((r) => {
4238
+ r == null && (fe.set(t), Z.set(e));
4239
+ });
4240
+ }
4241
+ function Yt(e, t) {
4242
+ Gr(e, t);
4243
+ }
4244
+ function Fo(e) {
4245
+ Z.set(e);
4246
+ }
4247
+ const Qt = {
4248
+ en: {
4249
+ login: "Login",
4250
+ register: "Register",
4251
+ deposit: "Deposit"
4252
+ },
4253
+ "zh-hk": {
4254
+ login: "登錄",
4255
+ register: "登記",
4256
+ deposit: "訂金"
4257
+ },
4258
+ fr: {
4259
+ login: "Connexion",
4260
+ register: "Registre",
4261
+ deposit: "Dépôt"
4262
+ },
4263
+ tr: {
4264
+ login: "Giriş",
4265
+ register: "Kayıt",
4266
+ deposit: "Para Yatır"
4267
+ },
4268
+ ro: {
4269
+ login: "Autentificare",
4270
+ register: "Inregistrare",
4271
+ deposit: "Depozit"
4272
+ },
4273
+ es: {
4274
+ login: "Iniciar sesión",
4275
+ register: "Regístrate",
4276
+ deposit: "Deposita"
4277
+ },
4278
+ pt: {
4279
+ login: "Entrar",
4280
+ register: "Registro",
4281
+ deposit: "Depósito"
4282
+ },
4283
+ hr: {
4284
+ login: "Prijava",
4285
+ register: "Registracija",
4286
+ deposit: "Uplata"
4287
+ },
4288
+ "pt-br": {
4289
+ login: "Entrem",
4290
+ register: "Registro",
4291
+ deposit: "Depósito"
4292
+ },
4293
+ "es-mx": {
4294
+ login: "Entrar",
4295
+ register: "Registro",
4296
+ deposit: "Depósito"
4297
+ }
4298
+ };
4299
+ function Ro(e) {
4300
+ pn(e, "svelte-h8mrzf", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.CarouselWrapper{background:-webkit-linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(to left, var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselWrapper.CarouselWrapperHeaderMain{background:transparent}.CarouselContainer{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-between;width:100%;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));margin:0 auto;max-width:1300px}.CarouselContainer.CarouselContainerMobile{padding:0}.CarouselContainer ul{align-items:center}.CarouselContainer ul::-webkit-scrollbar{display:none}.CarouselContainer ul li{height:100%;align-items:center;font-size:15px;font-weight:500;line-height:26px;white-space:nowrap;display:inline-block;text-align:left;word-spacing:normal}.CarouselContainer ul li>a{position:relative}.CarouselContainer ul li.SecondaryMenu:hover,.CarouselContainer ul li.SecondaryMenu.active,.CarouselContainer ul li.SecondaryMenu:focus,.CarouselContainer ul li.SecondaryMenu:focus-within{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));cursor:pointer}.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;background:var(--emfe-w-categories-arrows-bg, var(--emfe-w-color-gray-transparency-30, rgba(255, 255, 255, 0.3)))}.CarouselContainer .CarouselLeftArrow svg,.CarouselContainer .CarouselRightArrow svg{width:100%;max-width:39px;stroke:var(--emfe-w-categories-arrows, var(--emfe-w-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}.CarouselContainer .CarouselItems li{display:inline-block;text-align:left;padding:7px 10px}.CarouselContainer .CarouselItems li>a{position:relative}.CarouselContainer .CarouselItems li li{display:block}.CarouselContainer .CarouselItems button{background:none;border:none;color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none;white-space:nowrap;position:relative}.CarouselContainer .CarouselItems a{display:block;color:var(--emfe-w-categories-typography, var(--emfe-w-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(--emfe-w-categories-contrast, var(--emfe-w-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:var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839));background:-webkit-linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)));background:linear-gradient(var(--emfe-w-categories-color-secondary, var(--emfe-w-color-secondary, #FD2839)), var(--emfe-w-categories-color-primary, var(--emfe-w-color-primary, #D0046C)))}.CarouselContainer .CarouselItems .TouchOnly{display:none;left:-10px}.CarouselContainer .touch-device .CarouselItems .TouchOnly{display:inline-block}.CarouselContainer .touch-device .CarouselItems .TouchOnly a{background:var(--emfe-w-categories-contrast, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainer .isScrolling .CarouselItems ul.DropDown{left:-999em;opacity:0}.CarouselContainer .SubDropDown:hover,.CarouselContainer .SubDropDown.active{color:var(--emfe-w-categories-contrast, var(--emfe-w-color-contrast, #07072A));background:var(--emfe-w-categories-typography, var(--emfe-w-color-white, #FFFFFF))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem:hover a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem.active a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus a,.CarouselContainerHeaderMain .CarouselItems .CarouselItem:focus-within a{border-bottom:1px solid var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C))}.CarouselContainerHeaderMain .CarouselItems .CarouselItem span{border-top:1px solid transparent;padding-top:5px;transition-duration:0.3s}.CarouselContainerHeaderMain{background:transparent;margin:0;padding:0}.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{background:transparent;width:unset;display:none}.CarouselContainerHeaderMain .CarouselItem a{color:var(--emfe-w-header-typography, var(--emfe-w-color-white, #FFFFFF));text-decoration:none}.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(--emfe-w-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(--emfe-w-color-white, #FFFFFF);border-bottom:none;margin-top:-3px}.CarouselItems li:hover a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems li:focus-within a:first-child:not(:last-child):after{border-left-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:hover>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}.CarouselItems>li:focus-within>a:first-child:not(:last-child):after{border-left-color:transparent;border-top-color:var(--emfe-w-color-white, #FFFFFF)}@media only screen and (max-width: 1024px){.CarouselContainerHeaderMain .CarouselLeftArrow,.CarouselContainerHeaderMain .CarouselRightArrow{display:flex}}.CategoryIconImg{height:20px;margin:0 auto;display:block}.DisplayNone{display:none}');
4301
+ }
4302
+ function qt(e, t, r) {
4303
+ const n = e.slice();
4304
+ return n[50] = t[r], n[52] = r, n;
4305
+ }
4306
+ function Jt(e, t, r) {
4307
+ const n = e.slice();
4308
+ return n[53] = t[r], n;
4309
+ }
4310
+ function Kt(e, t, r) {
4311
+ const n = e.slice();
4312
+ return n[56] = t[r], n[58] = r, n;
4313
+ }
4314
+ function er(e) {
4315
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = se(
4316
+ /*sliderdata*/
4317
+ e[9]
4318
+ );
4319
+ const o = (s) => (
4320
+ /*category*/
4321
+ s[50].id
4322
+ );
4323
+ for (let s = 0; s < i.length; s += 1) {
4324
+ let a = qt(e, i, s), u = o(a);
4325
+ r.set(u, t[s] = sr(u, a));
4326
+ }
4327
+ return {
4328
+ c() {
4329
+ for (let s = 0; s < t.length; s += 1)
4330
+ t[s].c();
4331
+ n = ye();
4332
+ },
4333
+ m(s, a) {
4334
+ for (let u = 0; u < t.length; u += 1)
4335
+ t[u] && t[u].m(s, a);
4336
+ U(s, n, a);
4337
+ },
4338
+ p(s, a) {
4339
+ a[0] & /*activeindex, sliderdata, location, handleClick, subGroupsData, activeIndex, activeSubIndex, prevSubIndex, showsubgroups, itemsActive, categoriesicon, handleSrc*/
4340
+ 77775 && (i = se(
4341
+ /*sliderdata*/
4342
+ s[9]
4343
+ ), t = cr(t, a, o, 1, s, i, r, n.parentNode, hr, sr, n, qt));
4344
+ },
4345
+ d(s) {
4346
+ s && R(n);
4347
+ for (let a = 0; a < t.length; a += 1)
4348
+ t[a].d(s);
4349
+ }
4350
+ };
4351
+ }
4352
+ function Do(e) {
4353
+ let t, r = (
4354
+ /*category*/
4355
+ e[50].name + ""
4356
+ ), n;
4357
+ return {
4358
+ c() {
4359
+ t = P("button"), n = xe(r), H(t, "class", "CategoryButton");
4360
+ },
4361
+ m(i, o) {
4362
+ U(i, t, o), I(t, n);
4363
+ },
4364
+ p(i, o) {
4365
+ o[0] & /*sliderdata*/
4366
+ 512 && r !== (r = /*category*/
4367
+ i[50].name + "") && dt(n, r);
4368
+ },
4369
+ d(i) {
4370
+ i && R(t);
4371
+ }
4372
+ };
4373
+ }
4374
+ function Uo(e) {
4375
+ let t, r = (
4376
+ /*category*/
4377
+ e[50].label + ""
4378
+ ), n, i;
4379
+ return {
4380
+ c() {
4381
+ t = P("a"), n = xe(r), H(t, "href", i = /*category*/
4382
+ e[50].path);
4383
+ },
4384
+ m(o, s) {
4385
+ U(o, t, s), I(t, n);
4386
+ },
4387
+ p(o, s) {
4388
+ s[0] & /*sliderdata*/
4389
+ 512 && r !== (r = /*category*/
4390
+ o[50].label + "") && dt(n, r), s[0] & /*sliderdata*/
4391
+ 512 && i !== (i = /*category*/
4392
+ o[50].path) && H(t, "href", i);
4393
+ },
4394
+ d(o) {
4395
+ o && R(t);
4396
+ }
4397
+ };
4398
+ }
4399
+ function tr(e) {
4400
+ let t, r = (
4401
+ /*subGroupsData*/
4402
+ e[10].length > 0 && /*showsubgroups*/
4403
+ e[2] == "true" && rr(e)
4404
+ );
4405
+ return {
4406
+ c() {
4407
+ r && r.c(), t = ye();
4408
+ },
4409
+ m(n, i) {
4410
+ r && r.m(n, i), U(n, t, i);
4411
+ },
4412
+ p(n, i) {
4413
+ /*subGroupsData*/
4414
+ n[10].length > 0 && /*showsubgroups*/
4415
+ n[2] == "true" ? r ? r.p(n, i) : (r = rr(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4416
+ },
4417
+ d(n) {
4418
+ n && R(t), r && r.d(n);
4419
+ }
4420
+ };
4421
+ }
4422
+ function rr(e) {
4423
+ let t, r = se(
4424
+ /*subGroupsData*/
4425
+ e[10]
4426
+ ), n = [];
4427
+ for (let i = 0; i < r.length; i += 1)
4428
+ n[i] = or(Jt(e, r, i));
4429
+ return {
4430
+ c() {
4431
+ t = P("ul");
4432
+ for (let i = 0; i < n.length; i += 1)
4433
+ n[i].c();
4434
+ H(t, "class", "DropDown");
4435
+ },
4436
+ m(i, o) {
4437
+ U(i, t, o);
4438
+ for (let s = 0; s < n.length; s += 1)
4439
+ n[s] && n[s].m(t, null);
4440
+ },
4441
+ p(i, o) {
4442
+ if (o[0] & /*subGroupsData, handleClick, sliderdata, activeIndex, activeSubIndex, prevSubIndex*/
4443
+ 10176) {
4444
+ r = se(
4445
+ /*subGroupsData*/
4446
+ i[10]
4447
+ );
4448
+ let s;
4449
+ for (s = 0; s < r.length; s += 1) {
4450
+ const a = Jt(i, r, s);
4451
+ n[s] ? n[s].p(a, o) : (n[s] = or(a), n[s].c(), n[s].m(t, null));
4452
+ }
4453
+ for (; s < n.length; s += 1)
4454
+ n[s].d(1);
4455
+ n.length = r.length;
4456
+ }
4457
+ },
4458
+ d(i) {
4459
+ i && R(t), gn(n, i);
4460
+ }
4461
+ };
4462
+ }
4463
+ function nr(e) {
4464
+ var h;
4465
+ let t, r, n = (
4466
+ /*subGroupItem*/
4467
+ ((h = e[56]) == null ? void 0 : h.name) + ""
4468
+ ), i, o, s, a, u;
4469
+ function l(...d) {
4470
+ return (
4471
+ /*click_handler_1*/
4472
+ e[32](
4473
+ /*category*/
4474
+ e[50],
4475
+ /*index*/
4476
+ e[52],
4477
+ /*subGroupItem*/
4478
+ e[56],
4479
+ /*subindex*/
4480
+ e[58],
4481
+ ...d
4482
+ )
4483
+ );
4484
+ }
4485
+ return {
4486
+ c() {
4487
+ t = P("li"), r = P("a"), i = xe(n), s = J(), H(r, "class", o = "SubDropDown " + /*index*/
4488
+ (e[52] == /*activeIndex*/
4489
+ e[6] && /*activeSubIndex*/
4490
+ (e[7] == /*subindex*/
4491
+ e[58] || /*prevSubIndex*/
4492
+ e[8] == /*subindex*/
4493
+ e[58]) ? "active" : ""));
4494
+ },
4495
+ m(d, f) {
4496
+ U(d, t, f), I(t, r), I(r, i), I(t, s), a || (u = Oe(t, "click", l), a = !0);
4497
+ },
4498
+ p(d, f) {
4499
+ var p;
4500
+ e = d, f[0] & /*subGroupsData*/
4501
+ 1024 && n !== (n = /*subGroupItem*/
4502
+ ((p = e[56]) == null ? void 0 : p.name) + "") && dt(i, n), f[0] & /*sliderdata, activeIndex, activeSubIndex, subGroupsData, prevSubIndex*/
4503
+ 1984 && o !== (o = "SubDropDown " + /*index*/
4504
+ (e[52] == /*activeIndex*/
4505
+ e[6] && /*activeSubIndex*/
4506
+ (e[7] == /*subindex*/
4507
+ e[58] || /*prevSubIndex*/
4508
+ e[8] == /*subindex*/
4509
+ e[58]) ? "active" : "")) && H(r, "class", o);
4510
+ },
4511
+ d(d) {
4512
+ d && R(t), a = !1, u();
4513
+ }
4514
+ };
4515
+ }
4516
+ function ir(e, t) {
4517
+ let r, n, i = (
4518
+ /*index*/
4519
+ t[52] == /*subGroup*/
4520
+ t[53].index && nr(t)
4521
+ );
4522
+ return {
4523
+ key: e,
4524
+ first: null,
4525
+ c() {
4526
+ r = ye(), i && i.c(), n = ye(), this.first = r;
4527
+ },
4528
+ m(o, s) {
4529
+ U(o, r, s), i && i.m(o, s), U(o, n, s);
4530
+ },
4531
+ p(o, s) {
4532
+ t = o, /*index*/
4533
+ t[52] == /*subGroup*/
4534
+ t[53].index ? i ? i.p(t, s) : (i = nr(t), i.c(), i.m(n.parentNode, n)) : i && (i.d(1), i = null);
4535
+ },
4536
+ d(o) {
4537
+ o && (R(r), R(n)), i && i.d(o);
4538
+ }
4539
+ };
4540
+ }
4541
+ function or(e) {
4542
+ let t = [], r = /* @__PURE__ */ new Map(), n, i = se(
4543
+ /*subGroup*/
4544
+ e[53].items
4545
+ );
4546
+ const o = (s) => (
4547
+ /*subGroupItem*/
4548
+ s[56].id
4549
+ );
4550
+ for (let s = 0; s < i.length; s += 1) {
4551
+ let a = Kt(e, i, s), u = o(a);
4552
+ r.set(u, t[s] = ir(u, a));
4553
+ }
4554
+ return {
4555
+ c() {
4556
+ for (let s = 0; s < t.length; s += 1)
4557
+ t[s].c();
4558
+ n = ye();
4559
+ },
4560
+ m(s, a) {
4561
+ for (let u = 0; u < t.length; u += 1)
4562
+ t[u] && t[u].m(s, a);
4563
+ U(s, n, a);
4564
+ },
4565
+ p(s, a) {
4566
+ a[0] & /*handleClick, sliderdata, subGroupsData, activeIndex, activeSubIndex, prevSubIndex*/
4567
+ 10176 && (i = se(
4568
+ /*subGroup*/
4569
+ s[53].items
4570
+ ), t = cr(t, a, o, 1, s, i, r, n.parentNode, hr, ir, n, Kt));
4571
+ },
4572
+ d(s) {
4573
+ s && R(n);
4574
+ for (let a = 0; a < t.length; a += 1)
4575
+ t[a].d(s);
4576
+ }
4577
+ };
4578
+ }
4579
+ function sr(e, t) {
4580
+ let r, n, i, o, s, a, u, l, h, d, f;
4581
+ function p(_, w) {
4582
+ return (
4583
+ /*location*/
4584
+ _[0] === "headerMain" ? Uo : Do
4585
+ );
4586
+ }
4587
+ let g = p(t), m = g(t), b = (
4588
+ /*itemsActive*/
4589
+ t[11][
4590
+ /*index*/
4591
+ t[52]
4592
+ ] == !0 && tr(t)
4593
+ );
4594
+ function S(..._) {
4595
+ return (
4596
+ /*click_handler_2*/
4597
+ t[33](
4598
+ /*category*/
4599
+ t[50],
4600
+ /*index*/
4601
+ t[52],
4602
+ ..._
4603
+ )
4604
+ );
4605
+ }
4606
+ return {
4607
+ key: e,
4608
+ first: null,
4609
+ c() {
4610
+ var _, w;
4611
+ r = P("li"), n = P("div"), i = P("img"), a = J(), m.c(), u = J(), b && b.c(), l = J(), H(i, "class", o = "CategoryIconImg " + /*categoriesicon*/
4612
+ (t[3] === "true" ? "" : "DisplayNone")), Tt(i.src, s = /*handleSrc*/
4613
+ t[16](
4614
+ /*category*/
4615
+ t[50]
4616
+ )) || H(i, "src", s), H(n, "class", "CategoryIcon"), H(r, "class", h = "CarouselItem " + /*activeindex*/
4617
+ (((_ = t[1]) == null ? void 0 : _.toString().indexOf("$")) > -1 ? (
4618
+ /*activeindex*/
4619
+ ((w = t[1]) == null ? void 0 : w.split("$").pop()) == /*category*/
4620
+ t[50].id.split("$").pop() ? "active" : ""
4621
+ ) : (
4622
+ /*activeindex*/
4623
+ t[1] == /*category*/
4624
+ t[50].id ? "active" : ""
4625
+ )) + " " + /*location*/
4626
+ (t[0] == "headerMain" ? "" : "SecondaryMenu")), H(r, "part", "CarouselItem"), this.first = r;
4627
+ },
4628
+ m(_, w) {
4629
+ U(_, r, w), I(r, n), I(n, i), I(r, a), m.m(r, null), I(r, u), b && b.m(r, null), I(r, l), d || (f = Oe(r, "click", S), d = !0);
4630
+ },
4631
+ p(_, w) {
4632
+ var L, N;
4633
+ t = _, w[0] & /*categoriesicon*/
4634
+ 8 && o !== (o = "CategoryIconImg " + /*categoriesicon*/
4635
+ (t[3] === "true" ? "" : "DisplayNone")) && H(i, "class", o), w[0] & /*sliderdata*/
4636
+ 512 && !Tt(i.src, s = /*handleSrc*/
4637
+ t[16](
4638
+ /*category*/
4639
+ t[50]
4640
+ )) && H(i, "src", s), g === (g = p(t)) && m ? m.p(t, w) : (m.d(1), m = g(t), m && (m.c(), m.m(r, u))), /*itemsActive*/
4641
+ t[11][
4642
+ /*index*/
4643
+ t[52]
4644
+ ] == !0 ? b ? b.p(t, w) : (b = tr(t), b.c(), b.m(r, l)) : b && (b.d(1), b = null), w[0] & /*activeindex, sliderdata, location*/
4645
+ 515 && h !== (h = "CarouselItem " + /*activeindex*/
4646
+ (((L = t[1]) == null ? void 0 : L.toString().indexOf("$")) > -1 ? (
4647
+ /*activeindex*/
4648
+ ((N = t[1]) == null ? void 0 : N.split("$").pop()) == /*category*/
4649
+ t[50].id.split("$").pop() ? "active" : ""
4650
+ ) : (
4651
+ /*activeindex*/
4652
+ t[1] == /*category*/
4653
+ t[50].id ? "active" : ""
4654
+ )) + " " + /*location*/
4655
+ (t[0] == "headerMain" ? "" : "SecondaryMenu")) && H(r, "class", h);
4656
+ },
4657
+ d(_) {
4658
+ _ && R(r), m.d(), b && b.d(), d = !1, f();
4659
+ }
4660
+ };
4661
+ }
4662
+ function Go(e) {
4663
+ let t, r, n, i, o, s, a, u, l, h, d, f, p, g, m, b = (
4664
+ /*sliderdata*/
4665
+ e[9].length > 0 && er(e)
4666
+ );
4667
+ return {
4668
+ c() {
4669
+ t = P("div"), r = P("div"), n = P("div"), n.innerHTML = '<svg fill="none" stroke="var(--emfe-w-categories-arrows, var( --emfe-w-color-white, #FFFFFF));" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 19l-7-7 7-7"></path></svg>', i = J(), o = P("div"), s = P("ul"), a = P("li"), a.innerHTML = '<a href="#CarouselNav">Close Subs</a>', u = J(), b && b.c(), l = J(), h = P("div"), h.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="2" d="M9 5l7 7-7 7"></path></svg>', H(n, "class", "CarouselLeftArrow"), H(a, "class", "TouchOnly"), H(s, "id", "CarouselNav"), H(s, "class", "CarouselItems"), H(o, "class", "CarouselNavWrap"), H(h, "class", "CarouselRightArrow"), H(r, "class", d = `CarouselContainer CarouselContainerMobile ${/*location*/
4670
+ e[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`), H(r, "style", f = /*location*/
4671
+ e[0] === "headerMain" ? "max-width: auto" : void 0), H(t, "class", p = "CarouselWrapper " + /*location*/
4672
+ (e[0] === "headerMain" ? "CarouselWrapperHeaderMain" : ""));
4673
+ },
4674
+ m(S, _) {
4675
+ U(S, t, _), I(t, r), I(r, n), I(r, i), I(r, o), I(o, s), I(s, a), I(s, u), b && b.m(s, null), e[34](s), e[35](o), I(r, l), I(r, h), e[37](t), g || (m = [
4676
+ Oe(
4677
+ n,
4678
+ "click",
4679
+ /*click_handler*/
4680
+ e[31]
4681
+ ),
4682
+ Oe(
4683
+ h,
4684
+ "click",
4685
+ /*click_handler_3*/
4686
+ e[36]
4687
+ )
4688
+ ], g = !0);
4689
+ },
4690
+ p(S, _) {
4691
+ /*sliderdata*/
4692
+ S[9].length > 0 ? b ? b.p(S, _) : (b = er(S), b.c(), b.m(s, null)) : b && (b.d(1), b = null), _[0] & /*location*/
4693
+ 1 && d !== (d = `CarouselContainer CarouselContainerMobile ${/*location*/
4694
+ S[0] === "headerMain" ? "CarouselContainerHeaderMain" : ""}`) && H(r, "class", d), _[0] & /*location*/
4695
+ 1 && f !== (f = /*location*/
4696
+ S[0] === "headerMain" ? "max-width: auto" : void 0) && H(r, "style", f), _[0] & /*location*/
4697
+ 1 && p !== (p = "CarouselWrapper " + /*location*/
4698
+ (S[0] === "headerMain" ? "CarouselWrapperHeaderMain" : "")) && H(t, "class", p);
4699
+ },
4700
+ i: G,
4701
+ o: G,
4702
+ d(S) {
4703
+ S && R(t), b && b.d(), e[34](null), e[35](null), e[37](null), g = !1, K(m);
4704
+ }
4705
+ };
4706
+ }
4707
+ function ko(e, t, r) {
4708
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { onclickeventname: o = "defaultEvent" } = t, { actionevent: s = "defaultEvent" } = t, { favoritesnumber: a = "0" } = t, { location: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { identity: d = "" } = t, { translationurl: f = "" } = t, { isprimarymenu: p = !1 } = t, { issecondarymenu: g = !1 } = t, { lang: m = "" } = t, { activeindex: b = "0" } = t, { showsubgroups: S = "false" } = t, { categoriesicon: _ = "false" } = t, { lobbyiconimage: w = "" } = t, { mygamesiconimage: L = "" } = t;
4709
+ No({ withLocale: "en", translations: {} });
4710
+ const N = () => {
4711
+ fetch(f).then((x) => x.json()).then((x) => {
4712
+ Object.keys(x).forEach((B) => {
4713
+ Yt(B, x[B]);
4714
+ });
4715
+ }).catch((x) => {
4716
+ console.log(x);
4717
+ });
4718
+ };
4719
+ Object.keys(Qt).forEach((c) => {
4720
+ Yt(c, Qt[c]);
4721
+ });
4722
+ let k = window.navigator.userAgent;
4723
+ Lo(k);
4724
+ let C, M, O, X, Y, pe = [], we = [], Ce = [], $, ke = (c, x, B, Q, W) => {
4725
+ var q;
4726
+ if (!(c.subGroups && Q === null)) {
4727
+ if (Se(), r(6, M = x), r(6, M), W != "secondary") {
4728
+ window.postMessage(
4729
+ {
4730
+ type: s == "CategoryChange" ? "CategoryChange" : "NavigateTo",
4731
+ buzz: "1",
4732
+ itemId: c.id,
4733
+ index: x,
4734
+ item: c,
4735
+ path: c.path,
4736
+ externalLink: c.externalLink || !1,
4737
+ target: ((q = c.attrs) == null ? void 0 : q.target) || null
4738
+ },
4739
+ window.location.href
4740
+ ), r(7, O = null), r(8, X = null);
4741
+ return;
4742
+ }
4743
+ r(7, O = Q), r(7, O), r(8, X = O), window.postMessage(
4744
+ {
4745
+ type: s,
4746
+ itemId: B.id,
4747
+ subIndex: Q,
4748
+ subItem: B
4749
+ },
4750
+ window.location.href
4751
+ );
4752
+ }
4753
+ }, yt = () => {
4754
+ $.scrollBy({ left: -250, behavior: "smooth" });
4755
+ }, vt = () => {
4756
+ $.scrollBy({ left: 250, behavior: "smooth" });
4757
+ };
4758
+ const _t = (c) => {
4759
+ c.data.type == "SliderData" && c.data.identity == d && (r(9, pe = c.data.data), r(11, Ce = new Array(pe.length).fill(!1)), S == "true" && zr()), c.data.type == "GoToHomepage" && pe.forEach((x, B) => {
4760
+ x.path.endsWith("/casino") && (r(6, M = B), r(6, M));
4761
+ });
4762
+ }, Xr = () => {
4763
+ Fo(m);
4764
+ }, Wr = (c, x, B) => {
4765
+ if (u == "secondaryMenu" && n && i && m && c.id) {
4766
+ let Q = new URL(`${n}/v1/casino/groups/${i}/${c.id}/subGroups?language=${m}`);
4767
+ fetch(Q.href).then((W) => W.json()).then((W) => {
4768
+ W.index = x, r(10, we = we.concat(W)), S == "false" && window.postMessage(
4769
+ {
4770
+ type: s,
4771
+ itemId: c.id,
4772
+ index: x,
4773
+ item: c
4774
+ },
4775
+ window.location.href
4776
+ );
4777
+ const q = [];
4778
+ we.map((on) => (on.items.forEach((Et) => {
4779
+ q.find((sn) => Et.id == sn) || q.push(Et.id);
4780
+ }), q.flat())), window.postMessage({ type: "SubgroupsIds", subGroupsIds: q }, window.location.href);
4781
+ }).then(() => {
4782
+ C.querySelectorAll(".DropDown") && Se();
4783
+ });
4784
+ }
4785
+ u == "headerMain" && window.postMessage({ type: s, item: c }, window.location.href);
4786
+ }, Se = () => {
4787
+ const c = C.querySelectorAll(".DropDown");
4788
+ document.activeElement.blur(), $.classList.add("isScrolling");
4789
+ for (let x = 0; x < c.length; x++)
4790
+ c[x].style.transform = "translateX(-" + $.scrollLeft + "px)";
4791
+ $.classList.remove("isScrolling");
4792
+ }, zr = () => {
4793
+ pe.forEach((c, x) => {
4794
+ var B;
4795
+ ((B = c == null ? void 0 : c.subGroups) == null ? void 0 : B.count) > 0 && (r(11, Ce[x] = !0, Ce), Wr(c, x));
4796
+ });
4797
+ }, Zr = () => {
4798
+ let c = document.createElement("style");
4799
+ c.innerHTML = l, Y.appendChild(c);
4800
+ }, Yr = () => {
4801
+ let c = document.createElement("style"), x = new URL(h);
4802
+ fetch(x.href).then((B) => B.text()).then((B) => {
4803
+ c.innerHTML = B, setTimeout(
4804
+ () => {
4805
+ Y.appendChild(c);
4806
+ },
4807
+ 1
4808
+ );
4809
+ });
4810
+ }, Qr = (c) => {
4811
+ let x = "";
4812
+ return c.id === "LOBBY" ? x = w : c.id === "MYGAMES" && (x = L), c.icon || x;
4813
+ };
4814
+ En(() => ("ontouchstart" in document.documentElement && (document.documentElement.className += " touch-device"), window.addEventListener("message", _t, !1), setTimeout(
4815
+ () => {
4816
+ $.addEventListener("scroll", Se);
4817
+ },
4818
+ 500
4819
+ ), () => {
4820
+ window.removeEventListener("message", _t), C.removeEventListener("scroll", Se);
4821
+ }));
4822
+ const qr = () => yt(), Jr = (c, x, B, Q, W) => {
4823
+ ke(c, x, B, Q, "secondary"), W.stopPropagation();
4824
+ }, Kr = (c, x, B) => {
4825
+ ke(c, x, null, null, "main"), B.preventDefault();
4826
+ };
4827
+ function en(c) {
4828
+ ge[c ? "unshift" : "push"](() => {
4829
+ C = c, r(5, C);
4830
+ });
4831
+ }
4832
+ function tn(c) {
4833
+ ge[c ? "unshift" : "push"](() => {
4834
+ $ = c, r(12, $);
4835
+ });
4836
+ }
4837
+ const rn = () => vt();
4838
+ function nn(c) {
4839
+ ge[c ? "unshift" : "push"](() => {
4840
+ Y = c, r(4, Y);
4841
+ });
4842
+ }
4843
+ return e.$$set = (c) => {
4844
+ "endpoint" in c && r(17, n = c.endpoint), "datasource" in c && r(18, i = c.datasource), "onclickeventname" in c && r(19, o = c.onclickeventname), "actionevent" in c && r(20, s = c.actionevent), "favoritesnumber" in c && r(21, a = c.favoritesnumber), "location" in c && r(0, u = c.location), "clientstyling" in c && r(22, l = c.clientstyling), "clientstylingurl" in c && r(23, h = c.clientstylingurl), "identity" in c && r(24, d = c.identity), "translationurl" in c && r(25, f = c.translationurl), "isprimarymenu" in c && r(26, p = c.isprimarymenu), "issecondarymenu" in c && r(27, g = c.issecondarymenu), "lang" in c && r(28, m = c.lang), "activeindex" in c && r(1, b = c.activeindex), "showsubgroups" in c && r(2, S = c.showsubgroups), "categoriesicon" in c && r(3, _ = c.categoriesicon), "lobbyiconimage" in c && r(29, w = c.lobbyiconimage), "mygamesiconimage" in c && r(30, L = c.mygamesiconimage);
4845
+ }, e.$$.update = () => {
4846
+ e.$$.dirty[0] & /*activeindex*/
4847
+ 2, e.$$.dirty[0] & /*translationurl*/
4848
+ 33554432 && f && N(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4849
+ 4194320 && l && Y && Zr(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4850
+ 8388624 && h && Y && Yr(), e.$$.dirty[0] & /*lang*/
4851
+ 268435456 && m && Xr();
4852
+ }, [
4853
+ u,
4854
+ b,
4855
+ S,
4856
+ _,
4857
+ Y,
4858
+ C,
4859
+ M,
4860
+ O,
4861
+ X,
4862
+ pe,
4863
+ we,
4864
+ Ce,
4865
+ $,
4866
+ ke,
4867
+ yt,
4868
+ vt,
4869
+ Qr,
4870
+ n,
4871
+ i,
4872
+ o,
4873
+ s,
4874
+ a,
4875
+ l,
4876
+ h,
4877
+ d,
4878
+ f,
4879
+ p,
4880
+ g,
4881
+ m,
4882
+ w,
4883
+ L,
4884
+ qr,
4885
+ Jr,
4886
+ Kr,
4887
+ en,
4888
+ tn,
4889
+ rn,
4890
+ nn
4891
+ ];
4892
+ }
4893
+ class $o extends Mn {
4894
+ constructor(t) {
4895
+ super(), Bn(
4896
+ this,
4897
+ t,
4898
+ ko,
4899
+ Go,
4900
+ ur,
4901
+ {
4902
+ endpoint: 17,
4903
+ datasource: 18,
4904
+ onclickeventname: 19,
4905
+ actionevent: 20,
4906
+ favoritesnumber: 21,
4907
+ location: 0,
4908
+ clientstyling: 22,
4909
+ clientstylingurl: 23,
4910
+ identity: 24,
4911
+ translationurl: 25,
4912
+ isprimarymenu: 26,
4913
+ issecondarymenu: 27,
4914
+ lang: 28,
4915
+ activeindex: 1,
4916
+ showsubgroups: 2,
4917
+ categoriesicon: 3,
4918
+ lobbyiconimage: 29,
4919
+ mygamesiconimage: 30
4920
+ },
4921
+ Ro,
4922
+ [-1, -1]
4923
+ );
4924
+ }
4925
+ get endpoint() {
4926
+ return this.$$.ctx[17];
4927
+ }
4928
+ set endpoint(t) {
4929
+ this.$$set({ endpoint: t }), A();
4930
+ }
4931
+ get datasource() {
4932
+ return this.$$.ctx[18];
4933
+ }
4934
+ set datasource(t) {
4935
+ this.$$set({ datasource: t }), A();
4936
+ }
4937
+ get onclickeventname() {
4938
+ return this.$$.ctx[19];
4939
+ }
4940
+ set onclickeventname(t) {
4941
+ this.$$set({ onclickeventname: t }), A();
4942
+ }
4943
+ get actionevent() {
4944
+ return this.$$.ctx[20];
4945
+ }
4946
+ set actionevent(t) {
4947
+ this.$$set({ actionevent: t }), A();
4948
+ }
4949
+ get favoritesnumber() {
4950
+ return this.$$.ctx[21];
4951
+ }
4952
+ set favoritesnumber(t) {
4953
+ this.$$set({ favoritesnumber: t }), A();
4954
+ }
4955
+ get location() {
4956
+ return this.$$.ctx[0];
4957
+ }
4958
+ set location(t) {
4959
+ this.$$set({ location: t }), A();
4960
+ }
4961
+ get clientstyling() {
4962
+ return this.$$.ctx[22];
4963
+ }
4964
+ set clientstyling(t) {
4965
+ this.$$set({ clientstyling: t }), A();
4966
+ }
4967
+ get clientstylingurl() {
4968
+ return this.$$.ctx[23];
4969
+ }
4970
+ set clientstylingurl(t) {
4971
+ this.$$set({ clientstylingurl: t }), A();
4972
+ }
4973
+ get identity() {
4974
+ return this.$$.ctx[24];
4975
+ }
4976
+ set identity(t) {
4977
+ this.$$set({ identity: t }), A();
4978
+ }
4979
+ get translationurl() {
4980
+ return this.$$.ctx[25];
4981
+ }
4982
+ set translationurl(t) {
4983
+ this.$$set({ translationurl: t }), A();
4984
+ }
4985
+ get isprimarymenu() {
4986
+ return this.$$.ctx[26];
4987
+ }
4988
+ set isprimarymenu(t) {
4989
+ this.$$set({ isprimarymenu: t }), A();
4990
+ }
4991
+ get issecondarymenu() {
4992
+ return this.$$.ctx[27];
4993
+ }
4994
+ set issecondarymenu(t) {
4995
+ this.$$set({ issecondarymenu: t }), A();
4996
+ }
4997
+ get lang() {
4998
+ return this.$$.ctx[28];
4999
+ }
5000
+ set lang(t) {
5001
+ this.$$set({ lang: t }), A();
5002
+ }
5003
+ get activeindex() {
5004
+ return this.$$.ctx[1];
5005
+ }
5006
+ set activeindex(t) {
5007
+ this.$$set({ activeindex: t }), A();
5008
+ }
5009
+ get showsubgroups() {
5010
+ return this.$$.ctx[2];
5011
+ }
5012
+ set showsubgroups(t) {
5013
+ this.$$set({ showsubgroups: t }), A();
5014
+ }
5015
+ get categoriesicon() {
5016
+ return this.$$.ctx[3];
5017
+ }
5018
+ set categoriesicon(t) {
5019
+ this.$$set({ categoriesicon: t }), A();
5020
+ }
5021
+ get lobbyiconimage() {
5022
+ return this.$$.ctx[29];
5023
+ }
5024
+ set lobbyiconimage(t) {
5025
+ this.$$set({ lobbyiconimage: t }), A();
5026
+ }
5027
+ get mygamesiconimage() {
5028
+ return this.$$.ctx[30];
5029
+ }
5030
+ set mygamesiconimage(t) {
5031
+ this.$$set({ mygamesiconimage: t }), A();
5032
+ }
5033
+ }
5034
+ Pn($o, { endpoint: {}, datasource: {}, onclickeventname: {}, actionevent: {}, favoritesnumber: {}, location: {}, clientstyling: {}, clientstylingurl: {}, identity: {}, translationurl: {}, isprimarymenu: { type: "Boolean" }, issecondarymenu: { type: "Boolean" }, lang: {}, activeindex: {}, showsubgroups: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {} }, [], [], !0);
5035
+ export {
5036
+ $o as default
5037
+ };