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