@everymatrix/casino-header-bets-button 0.0.1

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