@everymatrix/player-account-gaming-limits-history-2 1.44.0 → 1.45.2

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