@everymatrix/player-account-general-confirmation-modal 1.54.4 → 1.54.8

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