@everymatrix/player-account-gaming-limits-popup 1.0.69 → 1.0.71

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