@everymatrix/casino-betslip-indicator 1.45.5 → 1.45.6

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