@everymatrix/player-limit-notification 0.7.25 → 0.7.27

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