@everymatrix/casino-403 1.54.6 → 1.54.9

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