@everymatrix/casino-navigation-search 1.0.69 → 1.0.71

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