@everymatrix/casino-favorites-section 1.43.4 → 1.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,4288 @@
1
+ var Dt = Object.defineProperty, Gt = Object.defineProperties;
2
+ var Ft = Object.getOwnPropertyDescriptors;
3
+ var je = Object.getOwnPropertySymbols;
4
+ var jt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable;
5
+ var de = (e, t, r) => t in e ? Dt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ jt.call(t, r) && de(e, r, t[r]);
8
+ if (je)
9
+ for (var r of je(t))
10
+ Vt.call(t, r) && de(e, r, t[r]);
11
+ return e;
12
+ }, ke = (e, t) => Gt(e, Ft(t));
13
+ var H = (e, t, r) => de(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var Xe = (e, t, r) => new Promise((n, i) => {
15
+ var s = (l) => {
16
+ try {
17
+ u(r.next(l));
18
+ } catch (o) {
19
+ i(o);
20
+ }
21
+ }, a = (l) => {
22
+ try {
23
+ u(r.throw(l));
24
+ } catch (o) {
25
+ i(o);
26
+ }
27
+ }, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
28
+ u((r = r.apply(e, t)).next());
29
+ });
30
+ function P() {
31
+ }
32
+ function ot(e) {
33
+ return e();
34
+ }
35
+ function ze() {
36
+ return /* @__PURE__ */ Object.create(null);
37
+ }
38
+ function K(e) {
39
+ e.forEach(ot);
40
+ }
41
+ function Me(e) {
42
+ return typeof e == "function";
43
+ }
44
+ function ut(e, t) {
45
+ return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
+ }
47
+ let te;
48
+ function ri(e, t) {
49
+ return e === t ? !0 : (te || (te = document.createElement("a")), te.href = t, e === te.href);
50
+ }
51
+ function kt(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 P;
59
+ }
60
+ const r = e.subscribe(...t);
61
+ return r.unsubscribe ? () => r.unsubscribe() : r;
62
+ }
63
+ function ni(e, t, r) {
64
+ e.$$.on_destroy.push(ht(t, r));
65
+ }
66
+ function ii(e) {
67
+ return e == null ? "" : e;
68
+ }
69
+ function lt(e, t) {
70
+ e.appendChild(t);
71
+ }
72
+ function Xt(e, t, r) {
73
+ const n = zt(e);
74
+ if (!n.getElementById(t)) {
75
+ const i = Q("style");
76
+ i.id = t, i.textContent = r, Wt(n, i);
77
+ }
78
+ }
79
+ function zt(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 Wt(e, t) {
89
+ return lt(
90
+ /** @type {Document} */
91
+ e.head || e,
92
+ t
93
+ ), t.sheet;
94
+ }
95
+ function Re(e, t, r) {
96
+ e.insertBefore(t, r || null);
97
+ }
98
+ function ue(e) {
99
+ e.parentNode && e.parentNode.removeChild(e);
100
+ }
101
+ function si(e, t) {
102
+ for (let r = 0; r < e.length; r += 1)
103
+ e[r] && e[r].d(t);
104
+ }
105
+ function Q(e) {
106
+ return document.createElement(e);
107
+ }
108
+ function Zt(e) {
109
+ return document.createElementNS("http://www.w3.org/2000/svg", e);
110
+ }
111
+ function ft(e) {
112
+ return document.createTextNode(e);
113
+ }
114
+ function ai() {
115
+ return ft(" ");
116
+ }
117
+ function oi() {
118
+ return ft("");
119
+ }
120
+ function ui(e, t, r, n) {
121
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
122
+ }
123
+ function $e(e, t, r) {
124
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
125
+ }
126
+ function g(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 : $e(e, t, r);
129
+ }
130
+ function Qt(e) {
131
+ return Array.from(e.childNodes);
132
+ }
133
+ function hi(e, t) {
134
+ t = "" + t, e.data !== t && (e.data = /** @type {string} */
135
+ t);
136
+ }
137
+ function li(e, t) {
138
+ e.value = t == null ? "" : t;
139
+ }
140
+ function fi(e, t, r) {
141
+ e.classList.toggle(t, !!r);
142
+ }
143
+ class ci {
144
+ constructor(t = !1) {
145
+ /**
146
+ * @private
147
+ * @default false
148
+ */
149
+ H(this, "is_svg", !1);
150
+ /** parent for creating node */
151
+ H(this, "e");
152
+ /** html tag nodes */
153
+ H(this, "n");
154
+ /** target */
155
+ H(this, "t");
156
+ /** anchor */
157
+ H(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 = Zt(
175
+ /** @type {keyof SVGElementTagNameMap} */
176
+ r.nodeName
177
+ ) : this.e = Q(
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
+ Re(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(ue);
211
+ }
212
+ }
213
+ function Jt(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 J;
223
+ function Z(e) {
224
+ J = e;
225
+ }
226
+ function qt() {
227
+ if (!J) throw new Error("Function called outside component initialization");
228
+ return J;
229
+ }
230
+ function mi(e) {
231
+ qt().$$.on_mount.push(e);
232
+ }
233
+ const U = [], He = [];
234
+ let D = [];
235
+ const We = [], ct = /* @__PURE__ */ Promise.resolve();
236
+ let Te = !1;
237
+ function mt() {
238
+ Te || (Te = !0, ct.then(x));
239
+ }
240
+ function gi() {
241
+ return mt(), ct;
242
+ }
243
+ function Se(e) {
244
+ D.push(e);
245
+ }
246
+ const be = /* @__PURE__ */ new Set();
247
+ let R = 0;
248
+ function x() {
249
+ if (R !== 0)
250
+ return;
251
+ const e = J;
252
+ do {
253
+ try {
254
+ for (; R < U.length; ) {
255
+ const t = U[R];
256
+ R++, Z(t), Yt(t.$$);
257
+ }
258
+ } catch (t) {
259
+ throw U.length = 0, R = 0, t;
260
+ }
261
+ for (Z(null), U.length = 0, R = 0; He.length; ) He.pop()();
262
+ for (let t = 0; t < D.length; t += 1) {
263
+ const r = D[t];
264
+ be.has(r) || (be.add(r), r());
265
+ }
266
+ D.length = 0;
267
+ } while (U.length);
268
+ for (; We.length; )
269
+ We.pop()();
270
+ Te = !1, be.clear(), Z(e);
271
+ }
272
+ function Yt(e) {
273
+ if (e.fragment !== null) {
274
+ e.update(), K(e.before_update);
275
+ const t = e.dirty;
276
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
277
+ }
278
+ }
279
+ function Kt(e) {
280
+ const t = [], r = [];
281
+ D.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), D = t;
282
+ }
283
+ const er = /* @__PURE__ */ new Set();
284
+ function tr(e, t) {
285
+ e && e.i && (er.delete(e), e.i(t));
286
+ }
287
+ function di(e) {
288
+ return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
289
+ }
290
+ function rr(e, t, r) {
291
+ const { fragment: n, after_update: i } = e.$$;
292
+ n && n.m(t, r), Se(() => {
293
+ const s = e.$$.on_mount.map(ot).filter(Me);
294
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : K(s), e.$$.on_mount = [];
295
+ }), i.forEach(Se);
296
+ }
297
+ function nr(e, t) {
298
+ const r = e.$$;
299
+ r.fragment !== null && (Kt(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
300
+ }
301
+ function ir(e, t) {
302
+ e.$$.dirty[0] === -1 && (U.push(e), mt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
303
+ }
304
+ function sr(e, t, r, n, i, s, a = null, u = [-1]) {
305
+ const l = J;
306
+ Z(e);
307
+ const o = e.$$ = {
308
+ fragment: null,
309
+ ctx: [],
310
+ // state
311
+ props: s,
312
+ update: P,
313
+ not_equal: i,
314
+ bound: ze(),
315
+ // lifecycle
316
+ on_mount: [],
317
+ on_destroy: [],
318
+ on_disconnect: [],
319
+ before_update: [],
320
+ after_update: [],
321
+ context: new Map(t.context || (l ? l.$$.context : [])),
322
+ // everything else
323
+ callbacks: ze(),
324
+ dirty: u,
325
+ skip_bound: !1,
326
+ root: t.target || l.$$.root
327
+ };
328
+ a && a(o.root);
329
+ let h = !1;
330
+ if (o.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
331
+ const E = y.length ? y[0] : c;
332
+ return o.ctx && i(o.ctx[f], o.ctx[f] = E) && (!o.skip_bound && o.bound[f] && o.bound[f](E), h && ir(e, f)), c;
333
+ }) : [], o.update(), h = !0, K(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
334
+ if (t.hydrate) {
335
+ const f = Qt(t.target);
336
+ o.fragment && o.fragment.l(f), f.forEach(ue);
337
+ } else
338
+ o.fragment && o.fragment.c();
339
+ t.intro && tr(e.$$.fragment), rr(e, t.target, t.anchor), x();
340
+ }
341
+ Z(l);
342
+ }
343
+ let gt;
344
+ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
345
+ constructor(t, r, n) {
346
+ super();
347
+ /** The Svelte component constructor */
348
+ H(this, "$$ctor");
349
+ /** Slots */
350
+ H(this, "$$s");
351
+ /** The Svelte component instance */
352
+ H(this, "$$c");
353
+ /** Whether or not the custom element is connected */
354
+ H(this, "$$cn", !1);
355
+ /** Component props data */
356
+ H(this, "$$d", {});
357
+ /** `true` if currently in the process of reflecting component props back to attributes */
358
+ H(this, "$$r", !1);
359
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
360
+ H(this, "$$p_d", {});
361
+ /** @type {Record<string, Function[]>} Event listeners */
362
+ H(this, "$$l", {});
363
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
364
+ H(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 Xe(this, null, function* () {
382
+ if (this.$$cn = !0, !this.$$c) {
383
+ let t = function(s) {
384
+ return () => {
385
+ let a;
386
+ return {
387
+ c: function() {
388
+ a = Q("slot"), s !== "default" && $e(a, "name", s);
389
+ },
390
+ /**
391
+ * @param {HTMLElement} target
392
+ * @param {HTMLElement} [anchor]
393
+ */
394
+ m: function(o, h) {
395
+ Re(o, a, h);
396
+ },
397
+ d: function(o) {
398
+ o && ue(a);
399
+ }
400
+ };
401
+ };
402
+ };
403
+ if (yield Promise.resolve(), !this.$$cn || this.$$c)
404
+ return;
405
+ const r = {}, n = Jt(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 a = this.$$g_p(s.name);
410
+ a in this.$$d || (this.$$d[a] = ne(a, 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(Ve({}, 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 a = ne(
428
+ s,
429
+ this.$$d[s],
430
+ this.$$p_d,
431
+ "toAttribute"
432
+ );
433
+ a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
434
+ }
435
+ this.$$r = !1;
436
+ };
437
+ this.$$c.$$.after_update.push(i), i();
438
+ for (const s in this.$$l)
439
+ for (const a of this.$$l[s]) {
440
+ const u = this.$$c.$on(s, a);
441
+ this.$$l_u.set(a, 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] = ne(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 ne(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 a = class extends gt {
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(a.prototype, u, {
507
+ get() {
508
+ return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
509
+ },
510
+ set(l) {
511
+ var o;
512
+ l = ne(u, l, t), this.$$d[u] = l, (o = this.$$c) == null || o.$set({ [u]: l });
513
+ }
514
+ });
515
+ }), n.forEach((u) => {
516
+ Object.defineProperty(a.prototype, u, {
517
+ get() {
518
+ var l;
519
+ return (l = this.$$c) == null ? void 0 : l[u];
520
+ }
521
+ });
522
+ }), e.element = /** @type {any} */
523
+ a, a;
524
+ }
525
+ class or {
526
+ constructor() {
527
+ /**
528
+ * ### PRIVATE API
529
+ *
530
+ * Do not use, may change at any time
531
+ *
532
+ * @type {any}
533
+ */
534
+ H(this, "$$");
535
+ /**
536
+ * ### PRIVATE API
537
+ *
538
+ * Do not use, may change at any time
539
+ *
540
+ * @type {any}
541
+ */
542
+ H(this, "$$set");
543
+ }
544
+ /** @returns {void} */
545
+ $destroy() {
546
+ nr(this, 1), this.$destroy = P;
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 (!Me(r))
556
+ return P;
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 && !kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
569
+ }
570
+ }
571
+ const ur = "4";
572
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ur);
573
+ const $ = [];
574
+ function hr(e, t) {
575
+ return {
576
+ subscribe: he(e, t).subscribe
577
+ };
578
+ }
579
+ function he(e, t = P) {
580
+ let r;
581
+ const n = /* @__PURE__ */ new Set();
582
+ function i(u) {
583
+ if (ut(e, u) && (e = u, r)) {
584
+ const l = !$.length;
585
+ for (const o of n)
586
+ o[1](), $.push(o, e);
587
+ if (l) {
588
+ for (let o = 0; o < $.length; o += 2)
589
+ $[o][0]($[o + 1]);
590
+ $.length = 0;
591
+ }
592
+ }
593
+ }
594
+ function s(u) {
595
+ i(u(e));
596
+ }
597
+ function a(u, l = P) {
598
+ const o = [u, l];
599
+ return n.add(o), n.size === 1 && (r = t(i, s) || P), u(e), () => {
600
+ n.delete(o), n.size === 0 && r && (r(), r = null);
601
+ };
602
+ }
603
+ return { set: i, update: s, subscribe: a };
604
+ }
605
+ function k(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 hr(r, (a, u) => {
611
+ let l = !1;
612
+ const o = [];
613
+ let h = 0, f = P;
614
+ const c = () => {
615
+ if (h)
616
+ return;
617
+ f();
618
+ const E = t(n ? o[0] : o, a, u);
619
+ s ? a(E) : f = Me(E) ? E : P;
620
+ }, y = i.map(
621
+ (E, _) => ht(
622
+ E,
623
+ (A) => {
624
+ o[_] = A, h &= ~(1 << _), l && c();
625
+ },
626
+ () => {
627
+ h |= 1 << _;
628
+ }
629
+ )
630
+ );
631
+ return l = !0, c(), function() {
632
+ K(y), f(), l = !1;
633
+ };
634
+ });
635
+ }
636
+ function lr(e) {
637
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
638
+ }
639
+ var fr = function(t) {
640
+ return cr(t) && !mr(t);
641
+ };
642
+ function cr(e) {
643
+ return !!e && typeof e == "object";
644
+ }
645
+ function mr(e) {
646
+ var t = Object.prototype.toString.call(e);
647
+ return t === "[object RegExp]" || t === "[object Date]" || br(e);
648
+ }
649
+ var gr = typeof Symbol == "function" && Symbol.for, dr = gr ? Symbol.for("react.element") : 60103;
650
+ function br(e) {
651
+ return e.$$typeof === dr;
652
+ }
653
+ function pr(e) {
654
+ return Array.isArray(e) ? [] : {};
655
+ }
656
+ function q(e, t) {
657
+ return t.clone !== !1 && t.isMergeableObject(e) ? G(pr(e), e, t) : e;
658
+ }
659
+ function yr(e, t, r) {
660
+ return e.concat(t).map(function(n) {
661
+ return q(n, r);
662
+ });
663
+ }
664
+ function Er(e, t) {
665
+ if (!t.customMerge)
666
+ return G;
667
+ var r = t.customMerge(e);
668
+ return typeof r == "function" ? r : G;
669
+ }
670
+ function vr(e) {
671
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
672
+ return Object.propertyIsEnumerable.call(e, t);
673
+ }) : [];
674
+ }
675
+ function Ze(e) {
676
+ return Object.keys(e).concat(vr(e));
677
+ }
678
+ function dt(e, t) {
679
+ try {
680
+ return t in e;
681
+ } catch (r) {
682
+ return !1;
683
+ }
684
+ }
685
+ function xr(e, t) {
686
+ return dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
687
+ }
688
+ function _r(e, t, r) {
689
+ var n = {};
690
+ return r.isMergeableObject(e) && Ze(e).forEach(function(i) {
691
+ n[i] = q(e[i], r);
692
+ }), Ze(t).forEach(function(i) {
693
+ xr(e, i) || (dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Er(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
694
+ }), n;
695
+ }
696
+ function G(e, t, r) {
697
+ r = r || {}, r.arrayMerge = r.arrayMerge || yr, r.isMergeableObject = r.isMergeableObject || fr, r.cloneUnlessOtherwiseSpecified = q;
698
+ var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
699
+ return s ? n ? r.arrayMerge(e, t, r) : _r(e, t, r) : q(t, r);
700
+ }
701
+ G.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 G(n, i, r);
706
+ }, {});
707
+ };
708
+ var Hr = G, Tr = Hr;
709
+ const Sr = /* @__PURE__ */ lr(Tr);
710
+ var Be = function(e, t) {
711
+ return Be = 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
+ }, Be(e, t);
716
+ };
717
+ function le(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
+ Be(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 p = function() {
727
+ return p = 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
+ }, p.apply(this, arguments);
734
+ };
735
+ function Br(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 bi(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 pi(e, t) {
754
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
755
+ if (!r) return e;
756
+ var n = r.call(e), i, s = [], a;
757
+ try {
758
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) s.push(i.value);
759
+ } catch (u) {
760
+ a = { error: u };
761
+ } finally {
762
+ try {
763
+ i && !i.done && (r = n.return) && r.call(n);
764
+ } finally {
765
+ if (a) throw a.error;
766
+ }
767
+ }
768
+ return s;
769
+ }
770
+ function pe(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 d;
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
+ })(d || (d = {}));
779
+ var v;
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
+ })(v || (v = {}));
783
+ var F;
784
+ (function(e) {
785
+ e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
786
+ })(F || (F = {}));
787
+ function Qe(e) {
788
+ return e.type === v.literal;
789
+ }
790
+ function Ar(e) {
791
+ return e.type === v.argument;
792
+ }
793
+ function bt(e) {
794
+ return e.type === v.number;
795
+ }
796
+ function pt(e) {
797
+ return e.type === v.date;
798
+ }
799
+ function yt(e) {
800
+ return e.type === v.time;
801
+ }
802
+ function Et(e) {
803
+ return e.type === v.select;
804
+ }
805
+ function vt(e) {
806
+ return e.type === v.plural;
807
+ }
808
+ function Pr(e) {
809
+ return e.type === v.pound;
810
+ }
811
+ function xt(e) {
812
+ return e.type === v.tag;
813
+ }
814
+ function _t(e) {
815
+ return !!(e && typeof e == "object" && e.type === F.number);
816
+ }
817
+ function Ae(e) {
818
+ return !!(e && typeof e == "object" && e.type === F.dateTime);
819
+ }
820
+ var Ht = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Nr = /(?:[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 wr(e) {
822
+ var t = {};
823
+ return e.replace(Nr, 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 Or = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
913
+ function Ir(e) {
914
+ if (e.length === 0)
915
+ throw new Error("Number skeleton cannot be empty");
916
+ for (var t = e.split(Or).filter(function(c) {
917
+ return c.length > 0;
918
+ }), r = [], n = 0, i = t; n < i.length; n++) {
919
+ var s = i[n], a = s.split("/");
920
+ if (a.length === 0)
921
+ throw new Error("Invalid number skeleton");
922
+ for (var u = a[0], l = a.slice(1), o = 0, h = l; o < h.length; o++) {
923
+ var f = h[o];
924
+ if (f.length === 0)
925
+ throw new Error("Invalid number skeleton");
926
+ }
927
+ r.push({ stem: u, options: l });
928
+ }
929
+ return r;
930
+ }
931
+ function Lr(e) {
932
+ return e.replace(/^(.*?)-/, "");
933
+ }
934
+ var Je = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Tt = /^(@+)?(\+|#+)?[rs]?$/g, Cr = /(\*)(0+)|(#+)(0+)|(0+)/g, St = /^(0+)$/;
935
+ function qe(e) {
936
+ var t = {};
937
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Tt, 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 Bt(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 Mr(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)), !St.test(e))
990
+ throw new Error("Malformed concise eng/scientific notation");
991
+ t.minimumIntegerDigits = e.length;
992
+ }
993
+ return t;
994
+ }
995
+ function Ye(e) {
996
+ var t = {}, r = Bt(e);
997
+ return r || t;
998
+ }
999
+ function Rr(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 = Lr(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 = p(p(p({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
1035
+ return p(p({}, l), Ye(o));
1036
+ }, {}));
1037
+ continue;
1038
+ case "engineering":
1039
+ t = p(p(p({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
1040
+ return p(p({}, l), Ye(o));
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(Cr, function(l, o, h, f, c, y) {
1086
+ if (o)
1087
+ t.minimumIntegerDigits = h.length;
1088
+ else {
1089
+ if (f && c)
1090
+ throw new Error("We currently do not support maximum integer digits");
1091
+ if (y)
1092
+ throw new Error("We currently do not support exact integer digits");
1093
+ }
1094
+ return "";
1095
+ });
1096
+ continue;
1097
+ }
1098
+ if (St.test(i.stem)) {
1099
+ t.minimumIntegerDigits = i.stem.length;
1100
+ continue;
1101
+ }
1102
+ if (Je.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(Je, function(l, o, h, f, c, y) {
1106
+ return h === "*" ? t.minimumFractionDigits = o.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
1107
+ });
1108
+ var s = i.options[0];
1109
+ s === "w" ? t = p(p({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = p(p({}, t), qe(s)));
1110
+ continue;
1111
+ }
1112
+ if (Tt.test(i.stem)) {
1113
+ t = p(p({}, t), qe(i.stem));
1114
+ continue;
1115
+ }
1116
+ var a = Bt(i.stem);
1117
+ a && (t = p(p({}, t), a));
1118
+ var u = Mr(i.stem);
1119
+ u && (t = p(p({}, t), u));
1120
+ }
1121
+ return t;
1122
+ }
1123
+ var re = {
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 $r(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 a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Ur(t);
2539
+ for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
2540
+ r += l;
2541
+ for (; a-- > 0; )
2542
+ r = o + r;
2543
+ } else i === "J" ? r += "H" : r += i;
2544
+ }
2545
+ return r;
2546
+ }
2547
+ function Ur(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 = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
2567
+ return i[0];
2568
+ }
2569
+ var ye, Dr = new RegExp("^".concat(Ht.source, "*")), Gr = new RegExp("".concat(Ht.source, "*$"));
2570
+ function b(e, t) {
2571
+ return { start: e, end: t };
2572
+ }
2573
+ var Fr = !!String.prototype.startsWith && "_a".startsWith("a", 1), jr = !!String.fromCodePoint, Vr = !!Object.fromEntries, kr = !!String.prototype.codePointAt, Xr = !!String.prototype.trimStart, zr = !!String.prototype.trimEnd, Wr = !!Number.isSafeInteger, Zr = Wr ? Number.isSafeInteger : function(e) {
2574
+ return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2575
+ }, Pe = !0;
2576
+ try {
2577
+ var Qr = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2578
+ Pe = ((ye = Qr.exec("a")) === null || ye === void 0 ? void 0 : ye[0]) === "a";
2579
+ } catch (e) {
2580
+ Pe = !1;
2581
+ }
2582
+ var Ke = Fr ? (
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
+ ), Ne = jr ? 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, a; i > s; ) {
2598
+ if (a = t[s++], a > 1114111)
2599
+ throw RangeError(a + " is not a valid code point");
2600
+ n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2601
+ }
2602
+ return n;
2603
+ }
2604
+ ), et = (
2605
+ // native
2606
+ Vr ? Object.fromEntries : (
2607
+ // Ponyfill
2608
+ function(t) {
2609
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
2610
+ var s = i[n], a = s[0], u = s[1];
2611
+ r[a] = u;
2612
+ }
2613
+ return r;
2614
+ }
2615
+ )
2616
+ ), At = kr ? (
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
+ ), Jr = Xr ? (
2631
+ // Native
2632
+ function(t) {
2633
+ return t.trimStart();
2634
+ }
2635
+ ) : (
2636
+ // Ponyfill
2637
+ function(t) {
2638
+ return t.replace(Dr, "");
2639
+ }
2640
+ ), qr = zr ? (
2641
+ // Native
2642
+ function(t) {
2643
+ return t.trimEnd();
2644
+ }
2645
+ ) : (
2646
+ // Ponyfill
2647
+ function(t) {
2648
+ return t.replace(Gr, "");
2649
+ }
2650
+ );
2651
+ function Pt(e, t) {
2652
+ return new RegExp(e, t);
2653
+ }
2654
+ var we;
2655
+ if (Pe) {
2656
+ var tt = Pt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2657
+ we = function(t, r) {
2658
+ var n;
2659
+ tt.lastIndex = r;
2660
+ var i = tt.exec(t);
2661
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
2662
+ };
2663
+ } else
2664
+ we = function(t, r) {
2665
+ for (var n = []; ; ) {
2666
+ var i = At(t, r);
2667
+ if (i === void 0 || Nt(i) || tn(i))
2668
+ break;
2669
+ n.push(i), r += i >= 65536 ? 2 : 1;
2670
+ }
2671
+ return Ne.apply(void 0, n);
2672
+ };
2673
+ var Yr = (
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 a = this.parseArgument(t, n);
2688
+ if (a.err)
2689
+ return a;
2690
+ i.push(a.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: v.pound,
2698
+ location: b(u, this.clonePosition())
2699
+ });
2700
+ } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2701
+ if (n)
2702
+ break;
2703
+ return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2704
+ } else if (s === 60 && !this.ignoreTag && Oe(this.peek() || 0)) {
2705
+ var a = this.parseTag(t, r);
2706
+ if (a.err)
2707
+ return a;
2708
+ i.push(a.val);
2709
+ } else {
2710
+ var a = this.parseLiteral(t, r);
2711
+ if (a.err)
2712
+ return a;
2713
+ i.push(a.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: v.literal,
2726
+ value: "<".concat(i, "/>"),
2727
+ location: b(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 a = s.val, u = this.clonePosition();
2736
+ if (this.bumpIf("</")) {
2737
+ if (this.isEOF() || !Oe(this.char()))
2738
+ return this.error(d.INVALID_TAG, b(u, this.clonePosition()));
2739
+ var l = this.clonePosition(), o = this.parseTagName();
2740
+ return i !== o ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2741
+ val: {
2742
+ type: v.tag,
2743
+ value: i,
2744
+ children: a,
2745
+ location: b(n, this.clonePosition())
2746
+ },
2747
+ err: null
2748
+ } : this.error(d.INVALID_TAG, b(u, this.clonePosition())));
2749
+ } else
2750
+ return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
2751
+ } else
2752
+ return this.error(d.INVALID_TAG, b(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 a = this.tryParseUnquoted(t, r);
2766
+ if (a) {
2767
+ i += a;
2768
+ continue;
2769
+ }
2770
+ var u = this.tryParseLeftAngleBracket();
2771
+ if (u) {
2772
+ i += u;
2773
+ continue;
2774
+ }
2775
+ break;
2776
+ }
2777
+ var l = b(n, this.clonePosition());
2778
+ return {
2779
+ val: { type: v.literal, value: i, location: l },
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
+ !Kr(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 Ne.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(), Ne(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(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2828
+ if (this.char() === 125)
2829
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2830
+ var i = this.parseIdentifierIfPossible().value;
2831
+ if (!i)
2832
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2833
+ if (this.bumpSpace(), this.isEOF())
2834
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2835
+ switch (this.char()) {
2836
+ case 125:
2837
+ return this.bump(), {
2838
+ val: {
2839
+ type: v.argument,
2840
+ // value does not include the opening and closing braces.
2841
+ value: i,
2842
+ location: b(n, this.clonePosition())
2843
+ },
2844
+ err: null
2845
+ };
2846
+ case 44:
2847
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2848
+ default:
2849
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2850
+ }
2851
+ }, e.prototype.parseIdentifierIfPossible = function() {
2852
+ var t = this.clonePosition(), r = this.offset(), n = we(this.message, r), i = r + n.length;
2853
+ this.bumpTo(i);
2854
+ var s = this.clonePosition(), a = b(t, s);
2855
+ return { value: n, location: a };
2856
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2857
+ var s, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2858
+ switch (u) {
2859
+ case "":
2860
+ return this.error(d.EXPECT_ARGUMENT_TYPE, b(a, l));
2861
+ case "number":
2862
+ case "date":
2863
+ case "time": {
2864
+ this.bumpSpace();
2865
+ var o = null;
2866
+ if (this.bumpIf(",")) {
2867
+ this.bumpSpace();
2868
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2869
+ if (f.err)
2870
+ return f;
2871
+ var c = qr(f.val);
2872
+ if (c.length === 0)
2873
+ return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2874
+ var y = b(h, this.clonePosition());
2875
+ o = { style: c, styleLocation: y };
2876
+ }
2877
+ var E = this.tryParseArgumentClose(i);
2878
+ if (E.err)
2879
+ return E;
2880
+ var _ = b(i, this.clonePosition());
2881
+ if (o && Ke(o == null ? void 0 : o.style, "::", 0)) {
2882
+ var A = Jr(o.style.slice(2));
2883
+ if (u === "number") {
2884
+ var f = this.parseNumberSkeletonFromString(A, o.styleLocation);
2885
+ return f.err ? f : {
2886
+ val: { type: v.number, value: n, location: _, style: f.val },
2887
+ err: null
2888
+ };
2889
+ } else {
2890
+ if (A.length === 0)
2891
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
2892
+ var O = A;
2893
+ this.locale && (O = $r(A, this.locale));
2894
+ var c = {
2895
+ type: F.dateTime,
2896
+ pattern: O,
2897
+ location: o.styleLocation,
2898
+ parsedOptions: this.shouldParseSkeletons ? wr(O) : {}
2899
+ }, N = u === "date" ? v.date : v.time;
2900
+ return {
2901
+ val: { type: N, value: n, location: _, style: c },
2902
+ err: null
2903
+ };
2904
+ }
2905
+ }
2906
+ return {
2907
+ val: {
2908
+ type: u === "number" ? v.number : u === "date" ? v.date : v.time,
2909
+ value: n,
2910
+ location: _,
2911
+ style: (s = o == null ? void 0 : o.style) !== null && s !== void 0 ? s : null
2912
+ },
2913
+ err: null
2914
+ };
2915
+ }
2916
+ case "plural":
2917
+ case "selectordinal":
2918
+ case "select": {
2919
+ var S = this.clonePosition();
2920
+ if (this.bumpSpace(), !this.bumpIf(","))
2921
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, p({}, S)));
2922
+ this.bumpSpace();
2923
+ var B = this.parseIdentifierIfPossible(), w = 0;
2924
+ if (u !== "select" && B.value === "offset") {
2925
+ if (!this.bumpIf(":"))
2926
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2927
+ this.bumpSpace();
2928
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2929
+ if (f.err)
2930
+ return f;
2931
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), w = f.val;
2932
+ }
2933
+ var M = this.tryParsePluralOrSelectOptions(t, u, r, B);
2934
+ if (M.err)
2935
+ return M;
2936
+ var E = this.tryParseArgumentClose(i);
2937
+ if (E.err)
2938
+ return E;
2939
+ var ee = b(i, this.clonePosition());
2940
+ return u === "select" ? {
2941
+ val: {
2942
+ type: v.select,
2943
+ value: n,
2944
+ options: et(M.val),
2945
+ location: ee
2946
+ },
2947
+ err: null
2948
+ } : {
2949
+ val: {
2950
+ type: v.plural,
2951
+ value: n,
2952
+ options: et(M.val),
2953
+ offset: w,
2954
+ pluralType: u === "plural" ? "cardinal" : "ordinal",
2955
+ location: ee
2956
+ },
2957
+ err: null
2958
+ };
2959
+ }
2960
+ default:
2961
+ return this.error(d.INVALID_ARGUMENT_TYPE, b(a, l));
2962
+ }
2963
+ }, e.prototype.tryParseArgumentClose = function(t) {
2964
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(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(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(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 = Ir(t);
3004
+ } catch (i) {
3005
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3006
+ }
3007
+ return {
3008
+ val: {
3009
+ type: F.number,
3010
+ tokens: n,
3011
+ location: r,
3012
+ parsedOptions: this.shouldParseSkeletons ? Rr(n) : {}
3013
+ },
3014
+ err: null
3015
+ };
3016
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3017
+ for (var s, a = !1, u = [], l = /* @__PURE__ */ new Set(), o = i.value, h = i.location; ; ) {
3018
+ if (o.length === 0) {
3019
+ var f = this.clonePosition();
3020
+ if (r !== "select" && this.bumpIf("=")) {
3021
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3022
+ if (c.err)
3023
+ return c;
3024
+ h = b(f, this.clonePosition()), o = this.message.slice(f.offset, this.offset());
3025
+ } else
3026
+ break;
3027
+ }
3028
+ if (l.has(o))
3029
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3030
+ o === "other" && (a = !0), this.bumpSpace();
3031
+ var y = this.clonePosition();
3032
+ if (!this.bumpIf("{"))
3033
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3034
+ var E = this.parseMessage(t + 1, r, n);
3035
+ if (E.err)
3036
+ return E;
3037
+ var _ = this.tryParseArgumentClose(y);
3038
+ if (_.err)
3039
+ return _;
3040
+ u.push([
3041
+ o,
3042
+ {
3043
+ value: E.val,
3044
+ location: b(y, this.clonePosition())
3045
+ }
3046
+ ]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
3047
+ }
3048
+ return u.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, b(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, a = 0; !this.isEOF(); ) {
3053
+ var u = this.char();
3054
+ if (u >= 48 && u <= 57)
3055
+ s = !0, a = a * 10 + (u - 48), this.bump();
3056
+ else
3057
+ break;
3058
+ }
3059
+ var l = b(i, this.clonePosition());
3060
+ return s ? (a *= n, Zr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
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 = At(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 (Ke(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() && Nt(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 Oe(e) {
3127
+ return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3128
+ }
3129
+ function Kr(e) {
3130
+ return Oe(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 Nt(e) {
3136
+ return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3137
+ }
3138
+ function tn(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 Ie(e) {
3142
+ e.forEach(function(t) {
3143
+ if (delete t.location, Et(t) || vt(t))
3144
+ for (var r in t.options)
3145
+ delete t.options[r].location, Ie(t.options[r].value);
3146
+ else bt(t) && _t(t.style) || (pt(t) || yt(t)) && Ae(t.style) ? delete t.style.location : xt(t) && Ie(t.children);
3147
+ });
3148
+ }
3149
+ function rn(e, t) {
3150
+ t === void 0 && (t = {}), t = p({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3151
+ var r = new Yr(e, t).parse();
3152
+ if (r.err) {
3153
+ var n = SyntaxError(d[r.err.kind]);
3154
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3155
+ }
3156
+ return t != null && t.captureLocation || Ie(r.val), r.val;
3157
+ }
3158
+ function Ee(e, t) {
3159
+ var r = t && t.cache ? t.cache : hn, n = t && t.serializer ? t.serializer : un, i = t && t.strategy ? t.strategy : sn;
3160
+ return i(e, {
3161
+ cache: r,
3162
+ serializer: n
3163
+ });
3164
+ }
3165
+ function nn(e) {
3166
+ return e == null || typeof e == "number" || typeof e == "boolean";
3167
+ }
3168
+ function wt(e, t, r, n) {
3169
+ var i = nn(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 Ot(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 Ue(e, t, r, n, i) {
3177
+ return r.bind(t, e, n, i);
3178
+ }
3179
+ function sn(e, t) {
3180
+ var r = e.length === 1 ? wt : Ot;
3181
+ return Ue(e, this, r, t.cache.create(), t.serializer);
3182
+ }
3183
+ function an(e, t) {
3184
+ return Ue(e, this, Ot, t.cache.create(), t.serializer);
3185
+ }
3186
+ function on(e, t) {
3187
+ return Ue(e, this, wt, t.cache.create(), t.serializer);
3188
+ }
3189
+ var un = function() {
3190
+ return JSON.stringify(arguments);
3191
+ };
3192
+ function De() {
3193
+ this.cache = /* @__PURE__ */ Object.create(null);
3194
+ }
3195
+ De.prototype.get = function(e) {
3196
+ return this.cache[e];
3197
+ };
3198
+ De.prototype.set = function(e, t) {
3199
+ this.cache[e] = t;
3200
+ };
3201
+ var hn = {
3202
+ create: function() {
3203
+ return new De();
3204
+ }
3205
+ }, ve = {
3206
+ variadic: an,
3207
+ monadic: on
3208
+ }, j;
3209
+ (function(e) {
3210
+ e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3211
+ })(j || (j = {}));
3212
+ var fe = (
3213
+ /** @class */
3214
+ function(e) {
3215
+ le(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
+ ), rt = (
3225
+ /** @class */
3226
+ function(e) {
3227
+ le(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('", "'), '"'), j.INVALID_VALUE, s) || this;
3230
+ }
3231
+ return t;
3232
+ }(fe)
3233
+ ), ln = (
3234
+ /** @class */
3235
+ function(e) {
3236
+ le(t, e);
3237
+ function t(r, n, i) {
3238
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
3239
+ }
3240
+ return t;
3241
+ }(fe)
3242
+ ), fn = (
3243
+ /** @class */
3244
+ function(e) {
3245
+ le(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, '"'), j.MISSING_VALUE, n) || this;
3248
+ }
3249
+ return t;
3250
+ }(fe)
3251
+ ), T;
3252
+ (function(e) {
3253
+ e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3254
+ })(T || (T = {}));
3255
+ function cn(e) {
3256
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3257
+ var n = t[t.length - 1];
3258
+ return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3259
+ }, []);
3260
+ }
3261
+ function mn(e) {
3262
+ return typeof e == "function";
3263
+ }
3264
+ function ie(e, t, r, n, i, s, a) {
3265
+ if (e.length === 1 && Qe(e[0]))
3266
+ return [
3267
+ {
3268
+ type: T.literal,
3269
+ value: e[0].value
3270
+ }
3271
+ ];
3272
+ for (var u = [], l = 0, o = e; l < o.length; l++) {
3273
+ var h = o[l];
3274
+ if (Qe(h)) {
3275
+ u.push({
3276
+ type: T.literal,
3277
+ value: h.value
3278
+ });
3279
+ continue;
3280
+ }
3281
+ if (Pr(h)) {
3282
+ typeof s == "number" && u.push({
3283
+ type: T.literal,
3284
+ value: r.getNumberFormat(t).format(s)
3285
+ });
3286
+ continue;
3287
+ }
3288
+ var f = h.value;
3289
+ if (!(i && f in i))
3290
+ throw new fn(f, a);
3291
+ var c = i[f];
3292
+ if (Ar(h)) {
3293
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3294
+ type: typeof c == "string" ? T.literal : T.object,
3295
+ value: c
3296
+ });
3297
+ continue;
3298
+ }
3299
+ if (pt(h)) {
3300
+ var y = typeof h.style == "string" ? n.date[h.style] : Ae(h.style) ? h.style.parsedOptions : void 0;
3301
+ u.push({
3302
+ type: T.literal,
3303
+ value: r.getDateTimeFormat(t, y).format(c)
3304
+ });
3305
+ continue;
3306
+ }
3307
+ if (yt(h)) {
3308
+ var y = typeof h.style == "string" ? n.time[h.style] : Ae(h.style) ? h.style.parsedOptions : n.time.medium;
3309
+ u.push({
3310
+ type: T.literal,
3311
+ value: r.getDateTimeFormat(t, y).format(c)
3312
+ });
3313
+ continue;
3314
+ }
3315
+ if (bt(h)) {
3316
+ var y = typeof h.style == "string" ? n.number[h.style] : _t(h.style) ? h.style.parsedOptions : void 0;
3317
+ y && y.scale && (c = c * (y.scale || 1)), u.push({
3318
+ type: T.literal,
3319
+ value: r.getNumberFormat(t, y).format(c)
3320
+ });
3321
+ continue;
3322
+ }
3323
+ if (xt(h)) {
3324
+ var E = h.children, _ = h.value, A = i[_];
3325
+ if (!mn(A))
3326
+ throw new ln(_, "function", a);
3327
+ var O = ie(E, t, r, n, i, s), N = A(O.map(function(w) {
3328
+ return w.value;
3329
+ }));
3330
+ Array.isArray(N) || (N = [N]), u.push.apply(u, N.map(function(w) {
3331
+ return {
3332
+ type: typeof w == "string" ? T.literal : T.object,
3333
+ value: w
3334
+ };
3335
+ }));
3336
+ }
3337
+ if (Et(h)) {
3338
+ var S = h.options[c] || h.options.other;
3339
+ if (!S)
3340
+ throw new rt(h.value, c, Object.keys(h.options), a);
3341
+ u.push.apply(u, ie(S.value, t, r, n, i));
3342
+ continue;
3343
+ }
3344
+ if (vt(h)) {
3345
+ var S = h.options["=".concat(c)];
3346
+ if (!S) {
3347
+ if (!Intl.PluralRules)
3348
+ throw new fe(`Intl.PluralRules is not available in this environment.
3349
+ Try polyfilling it using "@formatjs/intl-pluralrules"
3350
+ `, j.MISSING_INTL_API, a);
3351
+ var B = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3352
+ S = h.options[B] || h.options.other;
3353
+ }
3354
+ if (!S)
3355
+ throw new rt(h.value, c, Object.keys(h.options), a);
3356
+ u.push.apply(u, ie(S.value, t, r, n, i, c - (h.offset || 0)));
3357
+ continue;
3358
+ }
3359
+ }
3360
+ return cn(u);
3361
+ }
3362
+ function gn(e, t) {
3363
+ return t ? p(p(p({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3364
+ return r[n] = p(p({}, e[n]), t[n] || {}), r;
3365
+ }, {})) : e;
3366
+ }
3367
+ function dn(e, t) {
3368
+ return t ? Object.keys(e).reduce(function(r, n) {
3369
+ return r[n] = gn(e[n], t[n]), r;
3370
+ }, p({}, e)) : e;
3371
+ }
3372
+ function xe(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 bn(e) {
3387
+ return e === void 0 && (e = {
3388
+ number: {},
3389
+ dateTime: {},
3390
+ pluralRules: {}
3391
+ }), {
3392
+ getNumberFormat: Ee(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, pe([void 0], r, !1)))();
3396
+ }, {
3397
+ cache: xe(e.number),
3398
+ strategy: ve.variadic
3399
+ }),
3400
+ getDateTimeFormat: Ee(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, pe([void 0], r, !1)))();
3404
+ }, {
3405
+ cache: xe(e.dateTime),
3406
+ strategy: ve.variadic
3407
+ }),
3408
+ getPluralRules: Ee(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, pe([void 0], r, !1)))();
3412
+ }, {
3413
+ cache: xe(e.pluralRules),
3414
+ strategy: ve.variadic
3415
+ })
3416
+ };
3417
+ }
3418
+ var pn = (
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(l) {
3428
+ var o = s.formatToParts(l);
3429
+ if (o.length === 1)
3430
+ return o[0].value;
3431
+ var h = o.reduce(function(f, c) {
3432
+ return !f.length || c.type !== T.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3433
+ }, []);
3434
+ return h.length <= 1 ? h[0] || "" : h;
3435
+ }, this.formatToParts = function(l) {
3436
+ return ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3437
+ }, this.resolvedOptions = function() {
3438
+ var l;
3439
+ return {
3440
+ locale: ((l = s.resolvedLocale) === null || l === void 0 ? void 0 : l.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 a = i || {};
3448
+ a.formatters;
3449
+ var u = Br(a, ["formatters"]);
3450
+ this.ast = e.__parse(t, p(p({}, 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 = dn(e.formats, n), this.formatters = i && i.formatters || bn(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 = rn, 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 yn(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 I = {}, En = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), It = (e, t) => {
3551
+ if (t == null)
3552
+ return;
3553
+ if (t in I && e in I[t])
3554
+ return I[t][e];
3555
+ const r = ce(t);
3556
+ for (let n = 0; n < r.length; n++) {
3557
+ const i = r[n], s = xn(i, e);
3558
+ if (s)
3559
+ return En(e, t, s);
3560
+ }
3561
+ };
3562
+ let Ge;
3563
+ const X = he({});
3564
+ function vn(e) {
3565
+ return Ge[e] || null;
3566
+ }
3567
+ function Lt(e) {
3568
+ return e in Ge;
3569
+ }
3570
+ function xn(e, t) {
3571
+ if (!Lt(e))
3572
+ return null;
3573
+ const r = vn(e);
3574
+ return yn(r, t);
3575
+ }
3576
+ function _n(e) {
3577
+ if (e == null)
3578
+ return;
3579
+ const t = ce(e);
3580
+ for (let r = 0; r < t.length; r++) {
3581
+ const n = t[r];
3582
+ if (Lt(n))
3583
+ return n;
3584
+ }
3585
+ }
3586
+ function Hn(e, ...t) {
3587
+ delete I[e], X.update((r) => (r[e] = Sr.all([r[e] || {}, ...t]), r));
3588
+ }
3589
+ k(
3590
+ [X],
3591
+ ([e]) => Object.keys(e)
3592
+ );
3593
+ X.subscribe((e) => Ge = e);
3594
+ const se = {};
3595
+ function Tn(e, t) {
3596
+ se[e].delete(t), se[e].size === 0 && delete se[e];
3597
+ }
3598
+ function Ct(e) {
3599
+ return se[e];
3600
+ }
3601
+ function Sn(e) {
3602
+ return ce(e).map((t) => {
3603
+ const r = Ct(t);
3604
+ return [t, r ? [...r] : []];
3605
+ }).filter(([, t]) => t.length > 0);
3606
+ }
3607
+ function Le(e) {
3608
+ return e == null ? !1 : ce(e).some(
3609
+ (t) => {
3610
+ var r;
3611
+ return (r = Ct(t)) == null ? void 0 : r.size;
3612
+ }
3613
+ );
3614
+ }
3615
+ function Bn(e, t) {
3616
+ return Promise.all(
3617
+ t.map((n) => (Tn(e, n), n().then((i) => i.default || i)))
3618
+ ).then((n) => Hn(e, ...n));
3619
+ }
3620
+ const W = {};
3621
+ function Mt(e) {
3622
+ if (!Le(e))
3623
+ return e in W ? W[e] : Promise.resolve();
3624
+ const t = Sn(e);
3625
+ return W[e] = Promise.all(
3626
+ t.map(
3627
+ ([r, n]) => Bn(r, n)
3628
+ )
3629
+ ).then(() => {
3630
+ if (Le(e))
3631
+ return Mt(e);
3632
+ delete W[e];
3633
+ }), W[e];
3634
+ }
3635
+ const An = {
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
+ }, Pn = {
3665
+ fallbackLocale: null,
3666
+ loadingDelay: 200,
3667
+ formats: An,
3668
+ warnOnMissingMessages: !0,
3669
+ handleMissingMessage: void 0,
3670
+ ignoreTag: !0
3671
+ }, Nn = Pn;
3672
+ function V() {
3673
+ return Nn;
3674
+ }
3675
+ const _e = he(!1);
3676
+ var wn = Object.defineProperty, On = Object.defineProperties, In = Object.getOwnPropertyDescriptors, nt = Object.getOwnPropertySymbols, Ln = Object.prototype.hasOwnProperty, Cn = Object.prototype.propertyIsEnumerable, it = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mn = (e, t) => {
3677
+ for (var r in t || (t = {}))
3678
+ Ln.call(t, r) && it(e, r, t[r]);
3679
+ if (nt)
3680
+ for (var r of nt(t))
3681
+ Cn.call(t, r) && it(e, r, t[r]);
3682
+ return e;
3683
+ }, Rn = (e, t) => On(e, In(t));
3684
+ let Ce;
3685
+ const ae = he(null);
3686
+ function st(e) {
3687
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3688
+ }
3689
+ function ce(e, t = V().fallbackLocale) {
3690
+ const r = st(e);
3691
+ return t ? [.../* @__PURE__ */ new Set([...r, ...st(t)])] : r;
3692
+ }
3693
+ function C() {
3694
+ return Ce != null ? Ce : void 0;
3695
+ }
3696
+ ae.subscribe((e) => {
3697
+ Ce = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3698
+ });
3699
+ const $n = (e) => {
3700
+ if (e && _n(e) && Le(e)) {
3701
+ const { loadingDelay: t } = V();
3702
+ let r;
3703
+ return typeof window != "undefined" && C() != null && t ? r = window.setTimeout(
3704
+ () => _e.set(!0),
3705
+ t
3706
+ ) : _e.set(!0), Mt(e).then(() => {
3707
+ ae.set(e);
3708
+ }).finally(() => {
3709
+ clearTimeout(r), _e.set(!1);
3710
+ });
3711
+ }
3712
+ return ae.set(e);
3713
+ }, L = Rn(Mn({}, ae), {
3714
+ set: $n
3715
+ }), me = (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 Un = Object.defineProperty, oe = Object.getOwnPropertySymbols, Rt = Object.prototype.hasOwnProperty, $t = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fe = (e, t) => {
3723
+ for (var r in t || (t = {}))
3724
+ Rt.call(t, r) && at(e, r, t[r]);
3725
+ if (oe)
3726
+ for (var r of oe(t))
3727
+ $t.call(t, r) && at(e, r, t[r]);
3728
+ return e;
3729
+ }, z = (e, t) => {
3730
+ var r = {};
3731
+ for (var n in e)
3732
+ Rt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3733
+ if (e != null && oe)
3734
+ for (var n of oe(e))
3735
+ t.indexOf(n) < 0 && $t.call(e, n) && (r[n] = e[n]);
3736
+ return r;
3737
+ };
3738
+ const Y = (e, t) => {
3739
+ const { formats: r } = V();
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
+ }, Dn = me(
3744
+ (e) => {
3745
+ var t = e, { locale: r, format: n } = t, i = z(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 = Y("number", n)), new Intl.NumberFormat(r, i);
3749
+ }
3750
+ ), Gn = me(
3751
+ (e) => {
3752
+ var t = e, { locale: r, format: n } = t, i = z(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 = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
3756
+ }
3757
+ ), Fn = me(
3758
+ (e) => {
3759
+ var t = e, { locale: r, format: n } = t, i = z(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 = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
3765
+ }
3766
+ ), jn = (e = {}) => {
3767
+ var t = e, {
3768
+ locale: r = C()
3769
+ } = t, n = z(t, [
3770
+ "locale"
3771
+ ]);
3772
+ return Dn(Fe({ locale: r }, n));
3773
+ }, Vn = (e = {}) => {
3774
+ var t = e, {
3775
+ locale: r = C()
3776
+ } = t, n = z(t, [
3777
+ "locale"
3778
+ ]);
3779
+ return Gn(Fe({ locale: r }, n));
3780
+ }, kn = (e = {}) => {
3781
+ var t = e, {
3782
+ locale: r = C()
3783
+ } = t, n = z(t, [
3784
+ "locale"
3785
+ ]);
3786
+ return Fn(Fe({ locale: r }, n));
3787
+ }, Xn = me(
3788
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3789
+ (e, t = C()) => new pn(e, t, V().formats, {
3790
+ ignoreTag: V().ignoreTag
3791
+ })
3792
+ ), zn = (e, t = {}) => {
3793
+ var r, n, i, s;
3794
+ let a = t;
3795
+ typeof e == "object" && (a = e, e = a.id);
3796
+ const {
3797
+ values: u,
3798
+ locale: l = C(),
3799
+ default: o
3800
+ } = a;
3801
+ if (l == null)
3802
+ throw new Error(
3803
+ "[svelte-i18n] Cannot format a message without first setting the initial locale."
3804
+ );
3805
+ let h = It(e, l);
3806
+ if (!h)
3807
+ h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3808
+ else if (typeof h != "string")
3809
+ return console.warn(
3810
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3811
+ ), h;
3812
+ if (!u)
3813
+ return h;
3814
+ let f = h;
3815
+ try {
3816
+ f = Xn(h, l).format(u);
3817
+ } catch (c) {
3818
+ c instanceof Error && console.warn(
3819
+ `[svelte-i18n] Message "${e}" has syntax error:`,
3820
+ c.message
3821
+ );
3822
+ }
3823
+ return f;
3824
+ }, Wn = (e, t) => kn(t).format(e), Zn = (e, t) => Vn(t).format(e), Qn = (e, t) => jn(t).format(e), Jn = (e, t = C()) => It(e, t), yi = k([L, X], () => zn);
3825
+ k([L], () => Wn);
3826
+ k([L], () => Zn);
3827
+ k([L], () => Qn);
3828
+ k([L, X], () => Jn);
3829
+ function qn({ withLocale: e, translations: t }) {
3830
+ L.subscribe((r) => {
3831
+ r == null && (X.set(t), L.set(e));
3832
+ });
3833
+ }
3834
+ if (typeof window != "undefined") {
3835
+ let e = function(t) {
3836
+ return function(...r) {
3837
+ try {
3838
+ return t.apply(this, r);
3839
+ } catch (n) {
3840
+ if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
3841
+ return !1;
3842
+ throw n;
3843
+ }
3844
+ };
3845
+ };
3846
+ customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-D4hCD_7G.js").then(({ default: t }) => {
3847
+ !customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
3848
+ });
3849
+ }
3850
+ function Yn(e) {
3851
+ Xt(e, "svelte-g88cii", ".CasinoFavoritesSectionContainer.svelte-g88cii{background:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}");
3852
+ }
3853
+ function Kn(e) {
3854
+ let t, r;
3855
+ return {
3856
+ c() {
3857
+ t = Q("div"), r = Q("casino-games-category-section"), g(
3858
+ r,
3859
+ "session",
3860
+ /*session*/
3861
+ e[4]
3862
+ ), g(
3863
+ r,
3864
+ "userid",
3865
+ /*userid*/
3866
+ e[5]
3867
+ ), g(
3868
+ r,
3869
+ "endpoint",
3870
+ /*endpoint*/
3871
+ e[0]
3872
+ ), g(
3873
+ r,
3874
+ "datasource",
3875
+ /*datasource*/
3876
+ e[1]
3877
+ ), g(
3878
+ r,
3879
+ "lang",
3880
+ /*lang*/
3881
+ e[3]
3882
+ ), g(
3883
+ r,
3884
+ "currency",
3885
+ /*currency*/
3886
+ e[2]
3887
+ ), g(
3888
+ r,
3889
+ "favorites",
3890
+ /*favorites*/
3891
+ e[14]
3892
+ ), g(
3893
+ r,
3894
+ "fetchviaevent",
3895
+ /*fetchviaevent*/
3896
+ e[16]
3897
+ ), g(r, "categoryid", "FAVORITES"), g(r, "class", "CategoryContainer"), g(
3898
+ r,
3899
+ "showgamename",
3900
+ /*showgamename*/
3901
+ e[11]
3902
+ ), g(
3903
+ r,
3904
+ "clientstyling",
3905
+ /*clientstyling*/
3906
+ e[6]
3907
+ ), g(
3908
+ r,
3909
+ "clientstylingurl",
3910
+ /*clientstylingurl*/
3911
+ e[7]
3912
+ ), g(
3913
+ r,
3914
+ "livecasino",
3915
+ /*livecasino*/
3916
+ e[8]
3917
+ ), g(
3918
+ r,
3919
+ "visiblegames",
3920
+ /*visiblegames*/
3921
+ e[13]
3922
+ ), g(
3923
+ r,
3924
+ "gamepagemodalurl",
3925
+ /*gamepagemodalurl*/
3926
+ e[12]
3927
+ ), g(
3928
+ r,
3929
+ "integratedgameframedesktop",
3930
+ /*integratedgameframedesktop*/
3931
+ e[10]
3932
+ ), g(
3933
+ r,
3934
+ "integratedgameframemobile",
3935
+ /*integratedgameframemobile*/
3936
+ e[9]
3937
+ ), g(
3938
+ r,
3939
+ "casinomygames",
3940
+ /*casinomygames*/
3941
+ e[15]
3942
+ ), $e(t, "class", "CasinoFavoritesSectionContainer svelte-g88cii");
3943
+ },
3944
+ m(n, i) {
3945
+ Re(n, t, i), lt(t, r), e[18](t);
3946
+ },
3947
+ p(n, [i]) {
3948
+ i & /*session*/
3949
+ 16 && g(
3950
+ r,
3951
+ "session",
3952
+ /*session*/
3953
+ n[4]
3954
+ ), i & /*userid*/
3955
+ 32 && g(
3956
+ r,
3957
+ "userid",
3958
+ /*userid*/
3959
+ n[5]
3960
+ ), i & /*endpoint*/
3961
+ 1 && g(
3962
+ r,
3963
+ "endpoint",
3964
+ /*endpoint*/
3965
+ n[0]
3966
+ ), i & /*datasource*/
3967
+ 2 && g(
3968
+ r,
3969
+ "datasource",
3970
+ /*datasource*/
3971
+ n[1]
3972
+ ), i & /*lang*/
3973
+ 8 && g(
3974
+ r,
3975
+ "lang",
3976
+ /*lang*/
3977
+ n[3]
3978
+ ), i & /*currency*/
3979
+ 4 && g(
3980
+ r,
3981
+ "currency",
3982
+ /*currency*/
3983
+ n[2]
3984
+ ), i & /*favorites*/
3985
+ 16384 && g(
3986
+ r,
3987
+ "favorites",
3988
+ /*favorites*/
3989
+ n[14]
3990
+ ), i & /*fetchviaevent*/
3991
+ 65536 && g(
3992
+ r,
3993
+ "fetchviaevent",
3994
+ /*fetchviaevent*/
3995
+ n[16]
3996
+ ), i & /*showgamename*/
3997
+ 2048 && g(
3998
+ r,
3999
+ "showgamename",
4000
+ /*showgamename*/
4001
+ n[11]
4002
+ ), i & /*clientstyling*/
4003
+ 64 && g(
4004
+ r,
4005
+ "clientstyling",
4006
+ /*clientstyling*/
4007
+ n[6]
4008
+ ), i & /*clientstylingurl*/
4009
+ 128 && g(
4010
+ r,
4011
+ "clientstylingurl",
4012
+ /*clientstylingurl*/
4013
+ n[7]
4014
+ ), i & /*livecasino*/
4015
+ 256 && g(
4016
+ r,
4017
+ "livecasino",
4018
+ /*livecasino*/
4019
+ n[8]
4020
+ ), i & /*visiblegames*/
4021
+ 8192 && g(
4022
+ r,
4023
+ "visiblegames",
4024
+ /*visiblegames*/
4025
+ n[13]
4026
+ ), i & /*gamepagemodalurl*/
4027
+ 4096 && g(
4028
+ r,
4029
+ "gamepagemodalurl",
4030
+ /*gamepagemodalurl*/
4031
+ n[12]
4032
+ ), i & /*integratedgameframedesktop*/
4033
+ 1024 && g(
4034
+ r,
4035
+ "integratedgameframedesktop",
4036
+ /*integratedgameframedesktop*/
4037
+ n[10]
4038
+ ), i & /*integratedgameframemobile*/
4039
+ 512 && g(
4040
+ r,
4041
+ "integratedgameframemobile",
4042
+ /*integratedgameframemobile*/
4043
+ n[9]
4044
+ ), i & /*casinomygames*/
4045
+ 32768 && g(
4046
+ r,
4047
+ "casinomygames",
4048
+ /*casinomygames*/
4049
+ n[15]
4050
+ );
4051
+ },
4052
+ i: P,
4053
+ o: P,
4054
+ d(n) {
4055
+ n && ue(t), e[18](null);
4056
+ }
4057
+ };
4058
+ }
4059
+ function ei(e, t, r) {
4060
+ let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: f = "false" } = t, { integratedgameframemobile: c = "false" } = t, { integratedgameframedesktop: y = "false" } = t, { showgamename: E = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: A = "" } = t, { favorites: O = "" } = t, { casinomygames: N = "false" } = t, { fetchviaevent: S = "true" } = t, B;
4061
+ qn({ withLocale: "en", translations: {} });
4062
+ const w = () => {
4063
+ let m = document.createElement("style");
4064
+ m.innerHTML = o, B.appendChild(m);
4065
+ }, M = () => {
4066
+ let m = document.createElement("style");
4067
+ fetch(new URL(h)).then((ge) => ge.text()).then((ge) => {
4068
+ m.innerHTML = ge, setTimeout(
4069
+ () => {
4070
+ B.appendChild(m);
4071
+ },
4072
+ 1
4073
+ );
4074
+ });
4075
+ };
4076
+ function ee(m) {
4077
+ He[m ? "unshift" : "push"](() => {
4078
+ B = m, r(17, B);
4079
+ });
4080
+ }
4081
+ return e.$$set = (m) => {
4082
+ "endpoint" in m && r(0, n = m.endpoint), "datasource" in m && r(1, i = m.datasource), "currency" in m && r(2, s = m.currency), "lang" in m && r(3, a = m.lang), "session" in m && r(4, u = m.session), "userid" in m && r(5, l = m.userid), "clientstyling" in m && r(6, o = m.clientstyling), "clientstylingurl" in m && r(7, h = m.clientstylingurl), "livecasino" in m && r(8, f = m.livecasino), "integratedgameframemobile" in m && r(9, c = m.integratedgameframemobile), "integratedgameframedesktop" in m && r(10, y = m.integratedgameframedesktop), "showgamename" in m && r(11, E = m.showgamename), "gamepagemodalurl" in m && r(12, _ = m.gamepagemodalurl), "visiblegames" in m && r(13, A = m.visiblegames), "favorites" in m && r(14, O = m.favorites), "casinomygames" in m && r(15, N = m.casinomygames), "fetchviaevent" in m && r(16, S = m.fetchviaevent);
4083
+ }, e.$$.update = () => {
4084
+ e.$$.dirty & /*clientstyling, customStylingContainer*/
4085
+ 131136 && o && B && w(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4086
+ 131200 && h && B && M();
4087
+ }, [
4088
+ n,
4089
+ i,
4090
+ s,
4091
+ a,
4092
+ u,
4093
+ l,
4094
+ o,
4095
+ h,
4096
+ f,
4097
+ c,
4098
+ y,
4099
+ E,
4100
+ _,
4101
+ A,
4102
+ O,
4103
+ N,
4104
+ S,
4105
+ B,
4106
+ ee
4107
+ ];
4108
+ }
4109
+ class Ut extends or {
4110
+ constructor(t) {
4111
+ super(), sr(
4112
+ this,
4113
+ t,
4114
+ ei,
4115
+ Kn,
4116
+ ut,
4117
+ {
4118
+ endpoint: 0,
4119
+ datasource: 1,
4120
+ currency: 2,
4121
+ lang: 3,
4122
+ session: 4,
4123
+ userid: 5,
4124
+ clientstyling: 6,
4125
+ clientstylingurl: 7,
4126
+ livecasino: 8,
4127
+ integratedgameframemobile: 9,
4128
+ integratedgameframedesktop: 10,
4129
+ showgamename: 11,
4130
+ gamepagemodalurl: 12,
4131
+ visiblegames: 13,
4132
+ favorites: 14,
4133
+ casinomygames: 15,
4134
+ fetchviaevent: 16
4135
+ },
4136
+ Yn
4137
+ );
4138
+ }
4139
+ get endpoint() {
4140
+ return this.$$.ctx[0];
4141
+ }
4142
+ set endpoint(t) {
4143
+ this.$$set({ endpoint: t }), x();
4144
+ }
4145
+ get datasource() {
4146
+ return this.$$.ctx[1];
4147
+ }
4148
+ set datasource(t) {
4149
+ this.$$set({ datasource: t }), x();
4150
+ }
4151
+ get currency() {
4152
+ return this.$$.ctx[2];
4153
+ }
4154
+ set currency(t) {
4155
+ this.$$set({ currency: t }), x();
4156
+ }
4157
+ get lang() {
4158
+ return this.$$.ctx[3];
4159
+ }
4160
+ set lang(t) {
4161
+ this.$$set({ lang: t }), x();
4162
+ }
4163
+ get session() {
4164
+ return this.$$.ctx[4];
4165
+ }
4166
+ set session(t) {
4167
+ this.$$set({ session: t }), x();
4168
+ }
4169
+ get userid() {
4170
+ return this.$$.ctx[5];
4171
+ }
4172
+ set userid(t) {
4173
+ this.$$set({ userid: t }), x();
4174
+ }
4175
+ get clientstyling() {
4176
+ return this.$$.ctx[6];
4177
+ }
4178
+ set clientstyling(t) {
4179
+ this.$$set({ clientstyling: t }), x();
4180
+ }
4181
+ get clientstylingurl() {
4182
+ return this.$$.ctx[7];
4183
+ }
4184
+ set clientstylingurl(t) {
4185
+ this.$$set({ clientstylingurl: t }), x();
4186
+ }
4187
+ get livecasino() {
4188
+ return this.$$.ctx[8];
4189
+ }
4190
+ set livecasino(t) {
4191
+ this.$$set({ livecasino: t }), x();
4192
+ }
4193
+ get integratedgameframemobile() {
4194
+ return this.$$.ctx[9];
4195
+ }
4196
+ set integratedgameframemobile(t) {
4197
+ this.$$set({ integratedgameframemobile: t }), x();
4198
+ }
4199
+ get integratedgameframedesktop() {
4200
+ return this.$$.ctx[10];
4201
+ }
4202
+ set integratedgameframedesktop(t) {
4203
+ this.$$set({ integratedgameframedesktop: t }), x();
4204
+ }
4205
+ get showgamename() {
4206
+ return this.$$.ctx[11];
4207
+ }
4208
+ set showgamename(t) {
4209
+ this.$$set({ showgamename: t }), x();
4210
+ }
4211
+ get gamepagemodalurl() {
4212
+ return this.$$.ctx[12];
4213
+ }
4214
+ set gamepagemodalurl(t) {
4215
+ this.$$set({ gamepagemodalurl: t }), x();
4216
+ }
4217
+ get visiblegames() {
4218
+ return this.$$.ctx[13];
4219
+ }
4220
+ set visiblegames(t) {
4221
+ this.$$set({ visiblegames: t }), x();
4222
+ }
4223
+ get favorites() {
4224
+ return this.$$.ctx[14];
4225
+ }
4226
+ set favorites(t) {
4227
+ this.$$set({ favorites: t }), x();
4228
+ }
4229
+ get casinomygames() {
4230
+ return this.$$.ctx[15];
4231
+ }
4232
+ set casinomygames(t) {
4233
+ this.$$set({ casinomygames: t }), x();
4234
+ }
4235
+ get fetchviaevent() {
4236
+ return this.$$.ctx[16];
4237
+ }
4238
+ set fetchviaevent(t) {
4239
+ this.$$set({ fetchviaevent: t }), x();
4240
+ }
4241
+ }
4242
+ ar(Ut, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {} }, [], [], !0);
4243
+ const Ei = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4244
+ __proto__: null,
4245
+ default: Ut
4246
+ }, Symbol.toStringTag, { value: "Module" }));
4247
+ export {
4248
+ L as $,
4249
+ K as A,
4250
+ li as B,
4251
+ yi as C,
4252
+ ri as D,
4253
+ ii as E,
4254
+ fi as F,
4255
+ oi as G,
4256
+ ci as H,
4257
+ gi as I,
4258
+ g as J,
4259
+ Ei as K,
4260
+ or as S,
4261
+ bi as _,
4262
+ pe as a,
4263
+ pi as b,
4264
+ le as c,
4265
+ X as d,
4266
+ Hn as e,
4267
+ x as f,
4268
+ ar as g,
4269
+ Xt as h,
4270
+ sr as i,
4271
+ Q as j,
4272
+ Re as k,
4273
+ ue as l,
4274
+ ni as m,
4275
+ P as n,
4276
+ mi as o,
4277
+ He as p,
4278
+ di as q,
4279
+ Zt as r,
4280
+ ut as s,
4281
+ ai as t,
4282
+ ft as u,
4283
+ $e as v,
4284
+ lt as w,
4285
+ ui as x,
4286
+ hi as y,
4287
+ si as z
4288
+ };