@everymatrix/casino-404 1.44.0 → 1.45.2

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