@everymatrix/general-icon-progress-bar 1.54.4 → 1.54.8

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