@everymatrix/cashier-iframe-redirect 1.54.6 → 1.54.8

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