@everymatrix/cashier-receipt-page-nd 1.69.100

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