@everymatrix/player-account-betting-history 1.87.26 → 1.87.28

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