@everymatrix/cashier-step-up 0.5.17 → 0.5.18

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