@everymatrix/casino-page-nd 1.0.69 → 1.0.71

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