@everymatrix/general-logout 1.43.4 → 1.45.0

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