@everymatrix/general-logout 1.54.12 → 1.56.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.
@@ -1,16 +1,16 @@
1
- var hr = Object.defineProperty, lr = Object.defineProperties;
2
- var cr = Object.getOwnPropertyDescriptors;
1
+ var ur = Object.defineProperty, hr = Object.defineProperties;
2
+ var lr = Object.getOwnPropertyDescriptors;
3
3
  var Ye = Object.getOwnPropertySymbols;
4
- var fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
5
- var Se = (e, t, r) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4
+ var cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable;
5
+ var Te = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- fr.call(t, r) && Se(e, r, t[r]);
7
+ cr.call(t, r) && Te(e, r, t[r]);
8
8
  if (Ye)
9
9
  for (var r of Ye(t))
10
- pr.call(t, r) && Se(e, r, t[r]);
10
+ fr.call(t, r) && Te(e, r, t[r]);
11
11
  return e;
12
- }, Ke = (e, t) => lr(e, cr(t));
13
- var T = (e, t, r) => Se(e, typeof t != "symbol" ? t + "" : t, r);
12
+ }, Ke = (e, t) => hr(e, lr(t));
13
+ var T = (e, t, r) => Te(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var et = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
@@ -27,7 +27,7 @@ var et = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function w() {
30
+ function A() {
31
31
  }
32
32
  function Ht(e) {
33
33
  return e();
@@ -38,38 +38,38 @@ function tt() {
38
38
  function oe(e) {
39
39
  e.forEach(Ht);
40
40
  }
41
- function ze(e) {
41
+ function Ze(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function Bt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function dr(e) {
47
+ function pr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
50
  function At(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
54
- return w;
54
+ return A;
55
55
  }
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function mr(e, t, r) {
59
+ function dr(e, t, r) {
60
60
  e.$$.on_destroy.push(At(t, r));
61
61
  }
62
- function E(e, t) {
62
+ function S(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function br(e, t, r) {
66
- const n = gr(e);
65
+ function mr(e, t, r) {
66
+ const n = br(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = L("style");
69
- i.id = t, i.textContent = r, yr(n, i);
68
+ const i = O("style");
69
+ i.id = t, i.textContent = r, gr(n, i);
70
70
  }
71
71
  }
72
- function gr(e) {
72
+ function br(e) {
73
73
  if (!e) return document;
74
74
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
75
75
  return t && /** @type {ShadowRoot} */
@@ -78,8 +78,8 @@ function gr(e) {
78
78
  t
79
79
  ) : e.ownerDocument;
80
80
  }
81
- function yr(e, t) {
82
- return E(
81
+ function gr(e, t) {
82
+ return S(
83
83
  /** @type {Document} */
84
84
  e.head || e,
85
85
  t
@@ -88,19 +88,19 @@ function yr(e, t) {
88
88
  function se(e, t, r) {
89
89
  e.insertBefore(t, r || null);
90
90
  }
91
- function J(e) {
91
+ function Q(e) {
92
92
  e.parentNode && e.parentNode.removeChild(e);
93
93
  }
94
- function L(e) {
94
+ function O(e) {
95
95
  return document.createElement(e);
96
96
  }
97
- function ee(e) {
97
+ function K(e) {
98
98
  return document.createElementNS("http://www.w3.org/2000/svg", e);
99
99
  }
100
100
  function ge(e) {
101
101
  return document.createTextNode(e);
102
102
  }
103
- function vr() {
103
+ function yr() {
104
104
  return ge(" ");
105
105
  }
106
106
  function wt(e, t, r, n) {
@@ -109,7 +109,7 @@ function wt(e, t, r, n) {
109
109
  function H(e, t, r) {
110
110
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
111
111
  }
112
- function xr(e) {
112
+ function vr(e) {
113
113
  return Array.from(e.childNodes);
114
114
  }
115
115
  function Pt(e, t) {
@@ -119,7 +119,7 @@ function Pt(e, t) {
119
119
  function _r(e, t, r, n) {
120
120
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
121
121
  }
122
- function Er(e) {
122
+ function xr(e) {
123
123
  const t = {};
124
124
  return e.childNodes.forEach(
125
125
  /** @param {Element} node */
@@ -128,84 +128,91 @@ function Er(e) {
128
128
  }
129
129
  ), t;
130
130
  }
131
- let Ze;
132
- function re(e) {
133
- Ze = e;
131
+ let re;
132
+ function te(e) {
133
+ re = e;
134
+ }
135
+ function Er() {
136
+ if (!re) throw new Error("Function called outside component initialization");
137
+ return re;
138
+ }
139
+ function Sr(e) {
140
+ Er().$$.on_mount.push(e);
134
141
  }
135
- const k = [], Ie = [];
136
- let V = [];
137
- const rt = [], Sr = /* @__PURE__ */ Promise.resolve();
138
- let Le = !1;
139
- function Tr() {
140
- Le || (Le = !0, Sr.then(I));
142
+ const j = [], Le = [];
143
+ let k = [];
144
+ const rt = [], Tr = /* @__PURE__ */ Promise.resolve();
145
+ let Ne = !1;
146
+ function Hr() {
147
+ Ne || (Ne = !0, Tr.then(w));
141
148
  }
142
- function Ne(e) {
143
- V.push(e);
149
+ function Me(e) {
150
+ k.push(e);
144
151
  }
145
- const Te = /* @__PURE__ */ new Set();
146
- let F = 0;
147
- function I() {
148
- if (F !== 0)
152
+ const He = /* @__PURE__ */ new Set();
153
+ let D = 0;
154
+ function w() {
155
+ if (D !== 0)
149
156
  return;
150
- const e = Ze;
157
+ const e = re;
151
158
  do {
152
159
  try {
153
- for (; F < k.length; ) {
154
- const t = k[F];
155
- F++, re(t), Hr(t.$$);
160
+ for (; D < j.length; ) {
161
+ const t = j[D];
162
+ D++, te(t), Br(t.$$);
156
163
  }
157
164
  } catch (t) {
158
- throw k.length = 0, F = 0, t;
165
+ throw j.length = 0, D = 0, t;
159
166
  }
160
- for (re(null), k.length = 0, F = 0; Ie.length; ) Ie.pop()();
161
- for (let t = 0; t < V.length; t += 1) {
162
- const r = V[t];
163
- Te.has(r) || (Te.add(r), r());
167
+ for (te(null), j.length = 0, D = 0; Le.length; ) Le.pop()();
168
+ for (let t = 0; t < k.length; t += 1) {
169
+ const r = k[t];
170
+ He.has(r) || (He.add(r), r());
164
171
  }
165
- V.length = 0;
166
- } while (k.length);
172
+ k.length = 0;
173
+ } while (j.length);
167
174
  for (; rt.length; )
168
175
  rt.pop()();
169
- Le = !1, Te.clear(), re(e);
176
+ Ne = !1, He.clear(), te(e);
170
177
  }
171
- function Hr(e) {
178
+ function Br(e) {
172
179
  if (e.fragment !== null) {
173
180
  e.update(), oe(e.before_update);
174
181
  const t = e.dirty;
175
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
182
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
176
183
  }
177
184
  }
178
- function Br(e) {
185
+ function Ar(e) {
179
186
  const t = [], r = [];
180
- V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
187
+ k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
181
188
  }
182
- const Ar = /* @__PURE__ */ new Set();
183
- function wr(e, t) {
184
- e && e.i && (Ar.delete(e), e.i(t));
189
+ const wr = /* @__PURE__ */ new Set();
190
+ function Pr(e, t) {
191
+ e && e.i && (wr.delete(e), e.i(t));
185
192
  }
186
- function Pr(e, t, r) {
193
+ function Or(e, t, r) {
187
194
  const { fragment: n, after_update: i } = e.$$;
188
- n && n.m(t, r), Ne(() => {
189
- const o = e.$$.on_mount.map(Ht).filter(ze);
195
+ n && n.m(t, r), Me(() => {
196
+ const o = e.$$.on_mount.map(Ht).filter(Ze);
190
197
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
191
- }), i.forEach(Ne);
198
+ }), i.forEach(Me);
192
199
  }
193
- function Or(e, t) {
200
+ function Ir(e, t) {
194
201
  const r = e.$$;
195
- r.fragment !== null && (Br(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (Ar(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
196
203
  }
197
- function Ir(e, t) {
198
- e.$$.dirty[0] === -1 && (k.push(e), Tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function Lr(e, t) {
205
+ e.$$.dirty[0] === -1 && (j.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
199
206
  }
200
- function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
201
- const h = Ze;
202
- re(e);
207
+ function Nr(e, t, r, n, i, o, s = null, a = [-1]) {
208
+ const h = re;
209
+ te(e);
203
210
  const u = e.$$ = {
204
211
  fragment: null,
205
212
  ctx: [],
206
213
  // state
207
214
  props: o,
208
- update: w,
215
+ update: A,
209
216
  not_equal: i,
210
217
  bound: tt(),
211
218
  // lifecycle
@@ -224,17 +231,17 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
224
231
  s && s(u.root);
225
232
  let l = !1;
226
233
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
227
- const y = p.length ? p[0] : c;
228
- return u.ctx && i(u.ctx[f], u.ctx[f] = y) && (!u.skip_bound && u.bound[f] && u.bound[f](y), l && Ir(e, f)), c;
234
+ const b = p.length ? p[0] : c;
235
+ return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && Lr(e, f)), c;
229
236
  }) : [], u.update(), l = !0, oe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
230
237
  if (t.hydrate) {
231
- const f = xr(t.target);
232
- u.fragment && u.fragment.l(f), f.forEach(J);
238
+ const f = vr(t.target);
239
+ u.fragment && u.fragment.l(f), f.forEach(Q);
233
240
  } else
234
241
  u.fragment && u.fragment.c();
235
- t.intro && wr(e.$$.fragment), Pr(e, t.target, t.anchor), I();
242
+ t.intro && Pr(e.$$.fragment), Or(e, t.target, t.anchor), w();
236
243
  }
237
- re(h);
244
+ te(h);
238
245
  }
239
246
  let Ot;
240
247
  typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
@@ -281,7 +288,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
281
288
  let s;
282
289
  return {
283
290
  c: function() {
284
- s = L("slot"), o !== "default" && H(s, "name", o);
291
+ s = O("slot"), o !== "default" && H(s, "name", o);
285
292
  },
286
293
  /**
287
294
  * @param {HTMLElement} target
@@ -291,14 +298,14 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
291
298
  se(u, s, l);
292
299
  },
293
300
  d: function(u) {
294
- u && J(s);
301
+ u && Q(s);
295
302
  }
296
303
  };
297
304
  };
298
305
  };
299
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
300
307
  return;
301
- const r = {}, n = Er(this);
308
+ const r = {}, n = xr(this);
302
309
  for (const o of this.$$s)
303
310
  o in n && (r[o] = [t(o)]);
304
311
  for (const o of this.attributes) {
@@ -387,7 +394,7 @@ function ce(e, t, r, n) {
387
394
  return t;
388
395
  }
389
396
  }
390
- function Nr(e, t, r, n, i, o) {
397
+ function Mr(e, t, r, n, i, o) {
391
398
  let s = class extends Ot {
392
399
  constructor() {
393
400
  super(e, r, i), this.$$p_d = t;
@@ -418,7 +425,7 @@ function Nr(e, t, r, n, i, o) {
418
425
  }), e.element = /** @type {any} */
419
426
  s, s;
420
427
  }
421
- class Mr {
428
+ class Cr {
422
429
  constructor() {
423
430
  /**
424
431
  * ### PRIVATE API
@@ -439,7 +446,7 @@ class Mr {
439
446
  }
440
447
  /** @returns {void} */
441
448
  $destroy() {
442
- Or(this, 1), this.$destroy = w;
449
+ Ir(this, 1), this.$destroy = A;
443
450
  }
444
451
  /**
445
452
  * @template {Extract<keyof Events, string>} K
@@ -448,8 +455,8 @@ class Mr {
448
455
  * @returns {() => void}
449
456
  */
450
457
  $on(t, r) {
451
- if (!ze(r))
452
- return w;
458
+ if (!Ze(r))
459
+ return A;
453
460
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
454
461
  return n.push(r), () => {
455
462
  const i = n.indexOf(r);
@@ -461,22 +468,22 @@ class Mr {
461
468
  * @returns {void}
462
469
  */
463
470
  $set(t) {
464
- this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
465
472
  }
466
473
  }
467
- const Cr = "4";
468
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
469
- var Me = function(e, t) {
470
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
474
+ const $r = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
476
+ var Ce = function(e, t) {
477
+ return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
471
478
  r.__proto__ = n;
472
479
  } || function(r, n) {
473
480
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
474
- }, Me(e, t);
481
+ }, Ce(e, t);
475
482
  };
476
- function M(e, t) {
483
+ function L(e, t) {
477
484
  if (typeof t != "function" && t !== null)
478
485
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
479
- Me(e, t);
486
+ Ce(e, t);
480
487
  function r() {
481
488
  this.constructor = e;
482
489
  }
@@ -491,7 +498,7 @@ var g = function() {
491
498
  return t;
492
499
  }, g.apply(this, arguments);
493
500
  };
494
- function $r(e, t) {
501
+ function Rr(e, t) {
495
502
  var r = {};
496
503
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
497
504
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -499,7 +506,7 @@ function $r(e, t) {
499
506
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
500
507
  return r;
501
508
  }
502
- function Ce(e) {
509
+ function $e(e) {
503
510
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
504
511
  if (r) return r.call(e);
505
512
  if (e && typeof e.length == "number") return {
@@ -509,7 +516,7 @@ function Ce(e) {
509
516
  };
510
517
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
511
518
  }
512
- function $e(e, t) {
519
+ function Re(e, t) {
513
520
  var r = typeof Symbol == "function" && e[Symbol.iterator];
514
521
  if (!r) return e;
515
522
  var n = r.call(e), i, o = [], s;
@@ -526,12 +533,12 @@ function $e(e, t) {
526
533
  }
527
534
  return o;
528
535
  }
529
- function X(e, t, r) {
536
+ function V(e, t, r) {
530
537
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
531
538
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
532
539
  return e.concat(o || Array.prototype.slice.call(t));
533
540
  }
534
- function N(e) {
541
+ function I(e) {
535
542
  return typeof e == "function";
536
543
  }
537
544
  function It(e) {
@@ -540,7 +547,7 @@ function It(e) {
540
547
  }, r = e(t);
541
548
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
542
549
  }
543
- var He = It(function(e) {
550
+ var Be = It(function(e) {
544
551
  return function(r) {
545
552
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
546
553
  ` + r.map(function(n, i) {
@@ -549,7 +556,7 @@ var He = It(function(e) {
549
556
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
550
557
  };
551
558
  });
552
- function Re(e, t) {
559
+ function Ue(e, t) {
553
560
  if (e) {
554
561
  var r = e.indexOf(t);
555
562
  0 <= r && e.splice(r, 1);
@@ -567,7 +574,7 @@ var ye = function() {
567
574
  if (s)
568
575
  if (this._parentage = null, Array.isArray(s))
569
576
  try {
570
- for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
577
+ for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
571
578
  var u = h.value;
572
579
  u.remove(this);
573
580
  }
@@ -583,22 +590,22 @@ var ye = function() {
583
590
  else
584
591
  s.remove(this);
585
592
  var l = this.initialTeardown;
586
- if (N(l))
593
+ if (I(l))
587
594
  try {
588
595
  l();
589
596
  } catch (v) {
590
- o = v instanceof He ? v.errors : [v];
597
+ o = v instanceof Be ? v.errors : [v];
591
598
  }
592
599
  var f = this._finalizers;
593
600
  if (f) {
594
601
  this._finalizers = null;
595
602
  try {
596
- for (var c = Ce(f), p = c.next(); !p.done; p = c.next()) {
597
- var y = p.value;
603
+ for (var c = $e(f), p = c.next(); !p.done; p = c.next()) {
604
+ var b = p.value;
598
605
  try {
599
- nt(y);
606
+ nt(b);
600
607
  } catch (v) {
601
- o = o != null ? o : [], v instanceof He ? o = X(X([], $e(o)), $e(v.errors)) : o.push(v);
608
+ o = o != null ? o : [], v instanceof Be ? o = V(V([], Re(o)), Re(v.errors)) : o.push(v);
602
609
  }
603
610
  }
604
611
  } catch (v) {
@@ -612,7 +619,7 @@ var ye = function() {
612
619
  }
613
620
  }
614
621
  if (o)
615
- throw new He(o);
622
+ throw new Be(o);
616
623
  }
617
624
  }, e.prototype.add = function(t) {
618
625
  var r;
@@ -635,36 +642,36 @@ var ye = function() {
635
642
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
636
643
  }, e.prototype._removeParent = function(t) {
637
644
  var r = this._parentage;
638
- r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
645
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
639
646
  }, e.prototype.remove = function(t) {
640
647
  var r = this._finalizers;
641
- r && Re(r, t), t instanceof e && t._removeParent(this);
648
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
642
649
  }, e.EMPTY = function() {
643
650
  var t = new e();
644
651
  return t.closed = !0, t;
645
652
  }(), e;
646
653
  }(), Lt = ye.EMPTY;
647
654
  function Nt(e) {
648
- return e instanceof ye || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
655
+ return e instanceof ye || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
649
656
  }
650
657
  function nt(e) {
651
- N(e) ? e() : e.unsubscribe();
658
+ I(e) ? e() : e.unsubscribe();
652
659
  }
653
- var Rr = {
660
+ var Ur = {
654
661
  Promise: void 0
655
- }, Ur = {
662
+ }, Gr = {
656
663
  setTimeout: function(e, t) {
657
664
  for (var r = [], n = 2; n < arguments.length; n++)
658
665
  r[n - 2] = arguments[n];
659
- return setTimeout.apply(void 0, X([e, t], $e(r)));
666
+ return setTimeout.apply(void 0, V([e, t], Re(r)));
660
667
  },
661
668
  clearTimeout: function(e) {
662
669
  return clearTimeout(e);
663
670
  },
664
671
  delegate: void 0
665
672
  };
666
- function Gr(e) {
667
- Ur.setTimeout(function() {
673
+ function Dr(e) {
674
+ Gr.setTimeout(function() {
668
675
  throw e;
669
676
  });
670
677
  }
@@ -674,13 +681,13 @@ function fe(e) {
674
681
  e();
675
682
  }
676
683
  var Mt = function(e) {
677
- M(t, e);
684
+ L(t, e);
678
685
  function t(r) {
679
686
  var n = e.call(this) || this;
680
- return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = jr, n;
687
+ return n.isStopped = !1, r ? (n.destination = r, Nt(r) && r.add(n)) : n.destination = kr, n;
681
688
  }
682
689
  return t.create = function(r, n, i) {
683
- return new Ue(r, n, i);
690
+ return new Ge(r, n, i);
684
691
  }, t.prototype.next = function(r) {
685
692
  this.isStopped || this._next(r);
686
693
  }, t.prototype.error = function(r) {
@@ -704,7 +711,7 @@ var Mt = function(e) {
704
711
  this.unsubscribe();
705
712
  }
706
713
  }, t;
707
- }(ye), Dr = function() {
714
+ }(ye), Fr = function() {
708
715
  function e(t) {
709
716
  this.partialObserver = t;
710
717
  }
@@ -735,37 +742,37 @@ var Mt = function(e) {
735
742
  he(r);
736
743
  }
737
744
  }, e;
738
- }(), Ue = function(e) {
739
- M(t, e);
745
+ }(), Ge = function(e) {
746
+ L(t, e);
740
747
  function t(r, n, i) {
741
748
  var o = e.call(this) || this, s;
742
- return N(r) || !r ? s = {
749
+ return I(r) || !r ? s = {
743
750
  next: r != null ? r : void 0,
744
751
  error: n != null ? n : void 0,
745
752
  complete: i != null ? i : void 0
746
- } : s = r, o.destination = new Dr(s), o;
753
+ } : s = r, o.destination = new Fr(s), o;
747
754
  }
748
755
  return t;
749
756
  }(Mt);
750
757
  function he(e) {
751
- Gr(e);
758
+ Dr(e);
752
759
  }
753
- function Fr(e) {
760
+ function jr(e) {
754
761
  throw e;
755
762
  }
756
- var jr = {
763
+ var kr = {
757
764
  closed: !0,
758
765
  next: it,
759
- error: Fr,
766
+ error: jr,
760
767
  complete: it
761
- }, kr = function() {
768
+ }, Vr = function() {
762
769
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
763
770
  }();
764
- function Vr(e) {
771
+ function Xr(e) {
765
772
  return e;
766
773
  }
767
- function Xr(e) {
768
- return e.length === 0 ? Vr : e.length === 1 ? e[0] : function(r) {
774
+ function Wr(e) {
775
+ return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
769
776
  return e.reduce(function(n, i) {
770
777
  return i(n);
771
778
  }, r);
@@ -779,7 +786,7 @@ var ot = function() {
779
786
  var r = new e();
780
787
  return r.source = this, r.operator = t, r;
781
788
  }, e.prototype.subscribe = function(t, r, n) {
782
- var i = this, o = zr(t) ? t : new Ue(t, r, n);
789
+ var i = this, o = Zr(t) ? t : new Ge(t, r, n);
783
790
  return fe(function() {
784
791
  var s = i, a = s.operator, h = s.source;
785
792
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
@@ -793,7 +800,7 @@ var ot = function() {
793
800
  }, e.prototype.forEach = function(t, r) {
794
801
  var n = this;
795
802
  return r = st(r), new r(function(i, o) {
796
- var s = new Ue({
803
+ var s = new Ge({
797
804
  next: function(a) {
798
805
  try {
799
806
  t(a);
@@ -809,12 +816,12 @@ var ot = function() {
809
816
  }, e.prototype._subscribe = function(t) {
810
817
  var r;
811
818
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
812
- }, e.prototype[kr] = function() {
819
+ }, e.prototype[Vr] = function() {
813
820
  return this;
814
821
  }, e.prototype.pipe = function() {
815
822
  for (var t = [], r = 0; r < arguments.length; r++)
816
823
  t[r] = arguments[r];
817
- return Xr(t)(this);
824
+ return Wr(t)(this);
818
825
  }, e.prototype.toPromise = function(t) {
819
826
  var r = this;
820
827
  return t = st(t), new t(function(n, i) {
@@ -833,20 +840,20 @@ var ot = function() {
833
840
  }();
834
841
  function st(e) {
835
842
  var t;
836
- return (t = e != null ? e : Rr.Promise) !== null && t !== void 0 ? t : Promise;
837
- }
838
- function Wr(e) {
839
- return e && N(e.next) && N(e.error) && N(e.complete);
843
+ return (t = e != null ? e : Ur.Promise) !== null && t !== void 0 ? t : Promise;
840
844
  }
841
845
  function zr(e) {
842
- return e && e instanceof Mt || Wr(e) && Nt(e);
846
+ return e && I(e.next) && I(e.error) && I(e.complete);
847
+ }
848
+ function Zr(e) {
849
+ return e && e instanceof Mt || zr(e) && Nt(e);
843
850
  }
844
- var Zr = It(function(e) {
851
+ var Qr = It(function(e) {
845
852
  return function() {
846
853
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
847
854
  };
848
855
  }), Ct = function(e) {
849
- M(t, e);
856
+ L(t, e);
850
857
  function t() {
851
858
  var r = e.call(this) || this;
852
859
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
@@ -856,7 +863,7 @@ var Zr = It(function(e) {
856
863
  return n.operator = r, n;
857
864
  }, t.prototype._throwIfClosed = function() {
858
865
  if (this.closed)
859
- throw new Zr();
866
+ throw new Qr();
860
867
  }, t.prototype.next = function(r) {
861
868
  var n = this;
862
869
  fe(function() {
@@ -864,7 +871,7 @@ var Zr = It(function(e) {
864
871
  if (n._throwIfClosed(), !n.isStopped) {
865
872
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
866
873
  try {
867
- for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
874
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
868
875
  var h = a.value;
869
876
  h.next(r);
870
877
  }
@@ -913,7 +920,7 @@ var Zr = It(function(e) {
913
920
  }, t.prototype._innerSubscribe = function(r) {
914
921
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
915
922
  return o || s ? Lt : (this.currentObservers = null, a.push(r), new ye(function() {
916
- n.currentObservers = null, Re(a, r);
923
+ n.currentObservers = null, Ue(a, r);
917
924
  }));
918
925
  }, t.prototype._checkFinalizedStatuses = function(r) {
919
926
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
@@ -925,7 +932,7 @@ var Zr = It(function(e) {
925
932
  return new at(r, n);
926
933
  }, t;
927
934
  }(ot), at = function(e) {
928
- M(t, e);
935
+ L(t, e);
929
936
  function t(r, n) {
930
937
  var i = e.call(this) || this;
931
938
  return i.destination = r, i.source = n, i;
@@ -948,8 +955,8 @@ var Zr = It(function(e) {
948
955
  return ($t.delegate || Date).now();
949
956
  },
950
957
  delegate: void 0
951
- }, Qr = function(e) {
952
- M(t, e);
958
+ }, Jr = function(e) {
959
+ L(t, e);
953
960
  function t(r, n, i) {
954
961
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = $t);
955
962
  var o = e.call(this) || this;
@@ -972,62 +979,62 @@ var Zr = It(function(e) {
972
979
  }
973
980
  }, t;
974
981
  }(Ct);
975
- const ut = [], ht = {}, Jr = (e, t = 0) => {
982
+ const ut = [], ht = {}, Yr = (e, t = 0) => {
976
983
  if (ut.indexOf(e) == -1) {
977
- const r = new Qr(t);
984
+ const r = new Jr(t);
978
985
  ht[e] = r, ut.push(e);
979
986
  }
980
987
  return ht[e];
981
- }, j = [];
982
- function Yr(e, t) {
988
+ }, F = [];
989
+ function qr(e, t) {
983
990
  return {
984
991
  subscribe: ve(e, t).subscribe
985
992
  };
986
993
  }
987
- function ve(e, t = w) {
994
+ function ve(e, t = A) {
988
995
  let r;
989
996
  const n = /* @__PURE__ */ new Set();
990
997
  function i(a) {
991
998
  if (Bt(e, a) && (e = a, r)) {
992
- const h = !j.length;
999
+ const h = !F.length;
993
1000
  for (const u of n)
994
- u[1](), j.push(u, e);
1001
+ u[1](), F.push(u, e);
995
1002
  if (h) {
996
- for (let u = 0; u < j.length; u += 2)
997
- j[u][0](j[u + 1]);
998
- j.length = 0;
1003
+ for (let u = 0; u < F.length; u += 2)
1004
+ F[u][0](F[u + 1]);
1005
+ F.length = 0;
999
1006
  }
1000
1007
  }
1001
1008
  }
1002
1009
  function o(a) {
1003
1010
  i(a(e));
1004
1011
  }
1005
- function s(a, h = w) {
1012
+ function s(a, h = A) {
1006
1013
  const u = [a, h];
1007
- return n.add(u), n.size === 1 && (r = t(i, o) || w), a(e), () => {
1014
+ return n.add(u), n.size === 1 && (r = t(i, o) || A), a(e), () => {
1008
1015
  n.delete(u), n.size === 0 && r && (r(), r = null);
1009
1016
  };
1010
1017
  }
1011
1018
  return { set: i, update: o, subscribe: s };
1012
1019
  }
1013
- function Y(e, t, r) {
1020
+ function J(e, t, r) {
1014
1021
  const n = !Array.isArray(e), i = n ? [e] : e;
1015
1022
  if (!i.every(Boolean))
1016
1023
  throw new Error("derived() expects stores as input, got a falsy value");
1017
1024
  const o = t.length < 2;
1018
- return Yr(r, (s, a) => {
1025
+ return qr(r, (s, a) => {
1019
1026
  let h = !1;
1020
1027
  const u = [];
1021
- let l = 0, f = w;
1028
+ let l = 0, f = A;
1022
1029
  const c = () => {
1023
1030
  if (l)
1024
1031
  return;
1025
1032
  f();
1026
- const y = t(n ? u[0] : u, s, a);
1027
- o ? s(y) : f = ze(y) ? y : w;
1033
+ const b = t(n ? u[0] : u, s, a);
1034
+ o ? s(b) : f = Ze(b) ? b : A;
1028
1035
  }, p = i.map(
1029
- (y, v) => At(
1030
- y,
1036
+ (b, v) => At(
1037
+ b,
1031
1038
  (B) => {
1032
1039
  u[v] = B, l &= ~(1 << v), h && c();
1033
1040
  },
@@ -1041,47 +1048,47 @@ function Y(e, t, r) {
1041
1048
  };
1042
1049
  });
1043
1050
  }
1044
- function qr(e) {
1051
+ function Kr(e) {
1045
1052
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1046
1053
  }
1047
- var Kr = function(t) {
1048
- return en(t) && !tn(t);
1054
+ var en = function(t) {
1055
+ return tn(t) && !rn(t);
1049
1056
  };
1050
- function en(e) {
1057
+ function tn(e) {
1051
1058
  return !!e && typeof e == "object";
1052
1059
  }
1053
- function tn(e) {
1060
+ function rn(e) {
1054
1061
  var t = Object.prototype.toString.call(e);
1055
- return t === "[object RegExp]" || t === "[object Date]" || on(e);
1056
- }
1057
- var rn = typeof Symbol == "function" && Symbol.for, nn = rn ? Symbol.for("react.element") : 60103;
1058
- function on(e) {
1059
- return e.$$typeof === nn;
1062
+ return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1060
1063
  }
1064
+ var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
1061
1065
  function sn(e) {
1066
+ return e.$$typeof === on;
1067
+ }
1068
+ function an(e) {
1062
1069
  return Array.isArray(e) ? [] : {};
1063
1070
  }
1064
1071
  function ne(e, t) {
1065
- return t.clone !== !1 && t.isMergeableObject(e) ? W(sn(e), e, t) : e;
1072
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(an(e), e, t) : e;
1066
1073
  }
1067
- function an(e, t, r) {
1074
+ function un(e, t, r) {
1068
1075
  return e.concat(t).map(function(n) {
1069
1076
  return ne(n, r);
1070
1077
  });
1071
1078
  }
1072
- function un(e, t) {
1079
+ function hn(e, t) {
1073
1080
  if (!t.customMerge)
1074
- return W;
1081
+ return X;
1075
1082
  var r = t.customMerge(e);
1076
- return typeof r == "function" ? r : W;
1083
+ return typeof r == "function" ? r : X;
1077
1084
  }
1078
- function hn(e) {
1085
+ function ln(e) {
1079
1086
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1080
1087
  return Object.propertyIsEnumerable.call(e, t);
1081
1088
  }) : [];
1082
1089
  }
1083
1090
  function lt(e) {
1084
- return Object.keys(e).concat(hn(e));
1091
+ return Object.keys(e).concat(ln(e));
1085
1092
  }
1086
1093
  function Rt(e, t) {
1087
1094
  try {
@@ -1090,43 +1097,43 @@ function Rt(e, t) {
1090
1097
  return !1;
1091
1098
  }
1092
1099
  }
1093
- function ln(e, t) {
1100
+ function cn(e, t) {
1094
1101
  return Rt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1095
1102
  }
1096
- function cn(e, t, r) {
1103
+ function fn(e, t, r) {
1097
1104
  var n = {};
1098
1105
  return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1099
1106
  n[i] = ne(e[i], r);
1100
1107
  }), lt(t).forEach(function(i) {
1101
- ln(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = un(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1108
+ cn(e, i) || (Rt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1102
1109
  }), n;
1103
1110
  }
1104
- function W(e, t, r) {
1105
- r = r || {}, r.arrayMerge = r.arrayMerge || an, r.isMergeableObject = r.isMergeableObject || Kr, r.cloneUnlessOtherwiseSpecified = ne;
1111
+ function X(e, t, r) {
1112
+ r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = ne;
1106
1113
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1107
- return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : ne(t, r);
1114
+ return o ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : ne(t, r);
1108
1115
  }
1109
- W.all = function(t, r) {
1116
+ X.all = function(t, r) {
1110
1117
  if (!Array.isArray(t))
1111
1118
  throw new Error("first argument should be an array");
1112
1119
  return t.reduce(function(n, i) {
1113
- return W(n, i, r);
1120
+ return X(n, i, r);
1114
1121
  }, {});
1115
1122
  };
1116
- var fn = W, pn = fn;
1117
- const dn = /* @__PURE__ */ qr(pn);
1118
- function Be(e, t) {
1119
- var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : vn, i = t && t.strategy ? t.strategy : gn;
1123
+ var pn = X, dn = pn;
1124
+ const mn = /* @__PURE__ */ Kr(dn);
1125
+ function Ae(e, t) {
1126
+ var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : _n, i = t && t.strategy ? t.strategy : yn;
1120
1127
  return i(e, {
1121
1128
  cache: r,
1122
1129
  serializer: n
1123
1130
  });
1124
1131
  }
1125
- function mn(e) {
1132
+ function bn(e) {
1126
1133
  return e == null || typeof e == "number" || typeof e == "boolean";
1127
1134
  }
1128
- function bn(e, t, r, n) {
1129
- var i = mn(n) ? n : r(n), o = t.get(i);
1135
+ function gn(e, t, r, n) {
1136
+ var i = bn(n) ? n : r(n), o = t.get(i);
1130
1137
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1131
1138
  }
1132
1139
  function Ut(e, t, r) {
@@ -1136,14 +1143,14 @@ function Ut(e, t, r) {
1136
1143
  function Gt(e, t, r, n, i) {
1137
1144
  return r.bind(t, e, n, i);
1138
1145
  }
1139
- function gn(e, t) {
1140
- var r = e.length === 1 ? bn : Ut;
1146
+ function yn(e, t) {
1147
+ var r = e.length === 1 ? gn : Ut;
1141
1148
  return Gt(e, this, r, t.cache.create(), t.serializer);
1142
1149
  }
1143
- function yn(e, t) {
1150
+ function vn(e, t) {
1144
1151
  return Gt(e, this, Ut, t.cache.create(), t.serializer);
1145
1152
  }
1146
- var vn = function() {
1153
+ var _n = function() {
1147
1154
  return JSON.stringify(arguments);
1148
1155
  }, xn = (
1149
1156
  /** @class */
@@ -1157,61 +1164,61 @@ var vn = function() {
1157
1164
  this.cache[t] = r;
1158
1165
  }, e;
1159
1166
  }()
1160
- ), _n = {
1167
+ ), En = {
1161
1168
  create: function() {
1162
1169
  return new xn();
1163
1170
  }
1164
- }, Ae = {
1165
- variadic: yn
1171
+ }, we = {
1172
+ variadic: vn
1166
1173
  }, d;
1167
1174
  (function(e) {
1168
1175
  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";
1169
1176
  })(d || (d = {}));
1170
- var x;
1177
+ var _;
1171
1178
  (function(e) {
1172
1179
  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";
1173
- })(x || (x = {}));
1174
- var z;
1180
+ })(_ || (_ = {}));
1181
+ var W;
1175
1182
  (function(e) {
1176
1183
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1177
- })(z || (z = {}));
1184
+ })(W || (W = {}));
1178
1185
  function ct(e) {
1179
- return e.type === x.literal;
1186
+ return e.type === _.literal;
1180
1187
  }
1181
- function En(e) {
1182
- return e.type === x.argument;
1188
+ function Sn(e) {
1189
+ return e.type === _.argument;
1183
1190
  }
1184
1191
  function Dt(e) {
1185
- return e.type === x.number;
1192
+ return e.type === _.number;
1186
1193
  }
1187
1194
  function Ft(e) {
1188
- return e.type === x.date;
1195
+ return e.type === _.date;
1189
1196
  }
1190
1197
  function jt(e) {
1191
- return e.type === x.time;
1198
+ return e.type === _.time;
1192
1199
  }
1193
1200
  function kt(e) {
1194
- return e.type === x.select;
1201
+ return e.type === _.select;
1195
1202
  }
1196
1203
  function Vt(e) {
1197
- return e.type === x.plural;
1204
+ return e.type === _.plural;
1198
1205
  }
1199
- function Sn(e) {
1200
- return e.type === x.pound;
1206
+ function Tn(e) {
1207
+ return e.type === _.pound;
1201
1208
  }
1202
1209
  function Xt(e) {
1203
- return e.type === x.tag;
1210
+ return e.type === _.tag;
1204
1211
  }
1205
1212
  function Wt(e) {
1206
- return !!(e && typeof e == "object" && e.type === z.number);
1213
+ return !!(e && typeof e == "object" && e.type === W.number);
1207
1214
  }
1208
- function Ge(e) {
1209
- return !!(e && typeof e == "object" && e.type === z.dateTime);
1215
+ function De(e) {
1216
+ return !!(e && typeof e == "object" && e.type === W.dateTime);
1210
1217
  }
1211
- var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Tn = /(?:[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;
1212
- function Hn(e) {
1218
+ var zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
1219
+ function Bn(e) {
1213
1220
  var t = {};
1214
- return e.replace(Tn, function(r) {
1221
+ return e.replace(Hn, function(r) {
1215
1222
  var n = r.length;
1216
1223
  switch (r[0]) {
1217
1224
  case "G":
@@ -1300,11 +1307,11 @@ function Hn(e) {
1300
1307
  return "";
1301
1308
  }), t;
1302
1309
  }
1303
- var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1304
- function An(e) {
1310
+ var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1311
+ function wn(e) {
1305
1312
  if (e.length === 0)
1306
1313
  throw new Error("Number skeleton cannot be empty");
1307
- for (var t = e.split(Bn).filter(function(c) {
1314
+ for (var t = e.split(An).filter(function(c) {
1308
1315
  return c.length > 0;
1309
1316
  }), r = [], n = 0, i = t; n < i.length; n++) {
1310
1317
  var o = i[n], s = o.split("/");
@@ -1319,10 +1326,10 @@ function An(e) {
1319
1326
  }
1320
1327
  return r;
1321
1328
  }
1322
- function wn(e) {
1329
+ function Pn(e) {
1323
1330
  return e.replace(/^(.*?)-/, "");
1324
1331
  }
1325
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1332
+ var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Zt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Qt = /^(0+)$/;
1326
1333
  function pt(e) {
1327
1334
  var t = {};
1328
1335
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Zt, function(r, n, i) {
@@ -1369,7 +1376,7 @@ function Jt(e) {
1369
1376
  };
1370
1377
  }
1371
1378
  }
1372
- function On(e) {
1379
+ function In(e) {
1373
1380
  var t;
1374
1381
  if (e[0] === "E" && e[1] === "E" ? (t = {
1375
1382
  notation: "engineering"
@@ -1387,7 +1394,7 @@ function dt(e) {
1387
1394
  var t = {}, r = Jt(e);
1388
1395
  return r || t;
1389
1396
  }
1390
- function In(e) {
1397
+ function Ln(e) {
1391
1398
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1392
1399
  var i = n[r];
1393
1400
  switch (i.stem) {
@@ -1411,7 +1418,7 @@ function In(e) {
1411
1418
  continue;
1412
1419
  case "measure-unit":
1413
1420
  case "unit":
1414
- t.style = "unit", t.unit = wn(i.options[0]);
1421
+ t.style = "unit", t.unit = Pn(i.options[0]);
1415
1422
  continue;
1416
1423
  case "compact-short":
1417
1424
  case "K":
@@ -1473,7 +1480,7 @@ function In(e) {
1473
1480
  case "integer-width":
1474
1481
  if (i.options.length > 1)
1475
1482
  throw new RangeError("integer-width stems only accept a single optional option");
1476
- i.options[0].replace(Pn, function(h, u, l, f, c, p) {
1483
+ i.options[0].replace(On, function(h, u, l, f, c, p) {
1477
1484
  if (u)
1478
1485
  t.minimumIntegerDigits = l.length;
1479
1486
  else {
@@ -1506,7 +1513,7 @@ function In(e) {
1506
1513
  }
1507
1514
  var s = Jt(i.stem);
1508
1515
  s && (t = g(g({}, t), s));
1509
- var a = On(i.stem);
1516
+ var a = In(i.stem);
1510
1517
  a && (t = g(g({}, t), a));
1511
1518
  }
1512
1519
  return t;
@@ -2926,13 +2933,13 @@ var le = {
2926
2933
  "h"
2927
2934
  ]
2928
2935
  };
2929
- function Ln(e, t) {
2936
+ function Nn(e, t) {
2930
2937
  for (var r = "", n = 0; n < e.length; n++) {
2931
2938
  var i = e.charAt(n);
2932
2939
  if (i === "j") {
2933
2940
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2934
2941
  o++, n++;
2935
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Nn(t);
2942
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Mn(t);
2936
2943
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2937
2944
  r += h;
2938
2945
  for (; s-- > 0; )
@@ -2941,7 +2948,7 @@ function Ln(e, t) {
2941
2948
  }
2942
2949
  return r;
2943
2950
  }
2944
- function Nn(e) {
2951
+ function Mn(e) {
2945
2952
  var t = e.hourCycle;
2946
2953
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2947
2954
  e.hourCycles && // @ts-ignore
@@ -2963,20 +2970,20 @@ function Nn(e) {
2963
2970
  var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
2964
2971
  return i[0];
2965
2972
  }
2966
- var we, Mn = new RegExp("^".concat(zt.source, "*")), Cn = new RegExp("".concat(zt.source, "*$"));
2973
+ var Pe, Cn = new RegExp("^".concat(zt.source, "*")), $n = new RegExp("".concat(zt.source, "*$"));
2967
2974
  function m(e, t) {
2968
2975
  return { start: e, end: t };
2969
2976
  }
2970
- var $n = !!String.prototype.startsWith && "_a".startsWith("a", 1), Rn = !!String.fromCodePoint, Un = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, Fn = !!String.prototype.trimEnd, jn = !!Number.isSafeInteger, kn = jn ? Number.isSafeInteger : function(e) {
2977
+ var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Gn = !!Object.fromEntries, Dn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
2971
2978
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2972
- }, De = !0;
2979
+ }, Fe = !0;
2973
2980
  try {
2974
- var Vn = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2975
- De = ((we = Vn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2981
+ var Xn = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2982
+ Fe = ((Pe = Xn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2976
2983
  } catch (e) {
2977
- De = !1;
2984
+ Fe = !1;
2978
2985
  }
2979
- var mt = $n ? (
2986
+ var mt = Rn ? (
2980
2987
  // Native
2981
2988
  function(t, r, n) {
2982
2989
  return t.startsWith(r, n);
@@ -2986,7 +2993,7 @@ var mt = $n ? (
2986
2993
  function(t, r, n) {
2987
2994
  return t.slice(n, n + r.length) === r;
2988
2995
  }
2989
- ), Fe = Rn ? String.fromCodePoint : (
2996
+ ), je = Un ? String.fromCodePoint : (
2990
2997
  // IE11
2991
2998
  function() {
2992
2999
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3000,7 +3007,7 @@ var mt = $n ? (
3000
3007
  }
3001
3008
  ), bt = (
3002
3009
  // native
3003
- Un ? Object.fromEntries : (
3010
+ Gn ? Object.fromEntries : (
3004
3011
  // Ponyfill
3005
3012
  function(t) {
3006
3013
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3010,7 +3017,7 @@ var mt = $n ? (
3010
3017
  return r;
3011
3018
  }
3012
3019
  )
3013
- ), Yt = Gn ? (
3020
+ ), Yt = Dn ? (
3014
3021
  // Native
3015
3022
  function(t, r) {
3016
3023
  return t.codePointAt(r);
@@ -3024,7 +3031,7 @@ var mt = $n ? (
3024
3031
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3025
3032
  }
3026
3033
  }
3027
- ), Xn = Dn ? (
3034
+ ), Wn = Fn ? (
3028
3035
  // Native
3029
3036
  function(t) {
3030
3037
  return t.trimStart();
@@ -3032,9 +3039,9 @@ var mt = $n ? (
3032
3039
  ) : (
3033
3040
  // Ponyfill
3034
3041
  function(t) {
3035
- return t.replace(Mn, "");
3042
+ return t.replace(Cn, "");
3036
3043
  }
3037
- ), Wn = Fn ? (
3044
+ ), zn = jn ? (
3038
3045
  // Native
3039
3046
  function(t) {
3040
3047
  return t.trimEnd();
@@ -3042,32 +3049,32 @@ var mt = $n ? (
3042
3049
  ) : (
3043
3050
  // Ponyfill
3044
3051
  function(t) {
3045
- return t.replace(Cn, "");
3052
+ return t.replace($n, "");
3046
3053
  }
3047
3054
  );
3048
3055
  function qt(e, t) {
3049
3056
  return new RegExp(e, t);
3050
3057
  }
3051
- var je;
3052
- if (De) {
3058
+ var ke;
3059
+ if (Fe) {
3053
3060
  var gt = qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3054
- je = function(t, r) {
3061
+ ke = function(t, r) {
3055
3062
  var n;
3056
3063
  gt.lastIndex = r;
3057
3064
  var i = gt.exec(t);
3058
3065
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3059
3066
  };
3060
3067
  } else
3061
- je = function(t, r) {
3068
+ ke = function(t, r) {
3062
3069
  for (var n = []; ; ) {
3063
3070
  var i = Yt(t, r);
3064
- if (i === void 0 || Kt(i) || Jn(i))
3071
+ if (i === void 0 || Kt(i) || Yn(i))
3065
3072
  break;
3066
3073
  n.push(i), r += i >= 65536 ? 2 : 1;
3067
3074
  }
3068
- return Fe.apply(void 0, n);
3075
+ return je.apply(void 0, n);
3069
3076
  };
3070
- var zn = (
3077
+ var Zn = (
3071
3078
  /** @class */
3072
3079
  function() {
3073
3080
  function e(t, r) {
@@ -3091,14 +3098,14 @@ var zn = (
3091
3098
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3092
3099
  var a = this.clonePosition();
3093
3100
  this.bump(), i.push({
3094
- type: x.pound,
3101
+ type: _.pound,
3095
3102
  location: m(a, this.clonePosition())
3096
3103
  });
3097
3104
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3098
3105
  if (n)
3099
3106
  break;
3100
3107
  return this.error(d.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3101
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3108
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3102
3109
  var s = this.parseTag(t, r);
3103
3110
  if (s.err)
3104
3111
  return s;
@@ -3119,7 +3126,7 @@ var zn = (
3119
3126
  if (this.bumpSpace(), this.bumpIf("/>"))
3120
3127
  return {
3121
3128
  val: {
3122
- type: x.literal,
3129
+ type: _.literal,
3123
3130
  value: "<".concat(i, "/>"),
3124
3131
  location: m(n, this.clonePosition())
3125
3132
  },
@@ -3131,12 +3138,12 @@ var zn = (
3131
3138
  return o;
3132
3139
  var s = o.val, a = this.clonePosition();
3133
3140
  if (this.bumpIf("</")) {
3134
- if (this.isEOF() || !ke(this.char()))
3141
+ if (this.isEOF() || !Ve(this.char()))
3135
3142
  return this.error(d.INVALID_TAG, m(a, this.clonePosition()));
3136
3143
  var h = this.clonePosition(), u = this.parseTagName();
3137
3144
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3138
3145
  val: {
3139
- type: x.tag,
3146
+ type: _.tag,
3140
3147
  value: i,
3141
3148
  children: s,
3142
3149
  location: m(n, this.clonePosition())
@@ -3149,7 +3156,7 @@ var zn = (
3149
3156
  return this.error(d.INVALID_TAG, m(n, this.clonePosition()));
3150
3157
  }, e.prototype.parseTagName = function() {
3151
3158
  var t = this.offset();
3152
- for (this.bump(); !this.isEOF() && Qn(this.char()); )
3159
+ for (this.bump(); !this.isEOF() && Jn(this.char()); )
3153
3160
  this.bump();
3154
3161
  return this.message.slice(t, this.offset());
3155
3162
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3173,12 +3180,12 @@ var zn = (
3173
3180
  }
3174
3181
  var h = m(n, this.clonePosition());
3175
3182
  return {
3176
- val: { type: x.literal, value: i, location: h },
3183
+ val: { type: _.literal, value: i, location: h },
3177
3184
  err: null
3178
3185
  };
3179
3186
  }, e.prototype.tryParseLeftAngleBracket = function() {
3180
3187
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3181
- !Zn(this.peek() || 0)) ? (this.bump(), "<") : null;
3188
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3182
3189
  }, e.prototype.tryParseQuote = function(t) {
3183
3190
  if (this.isEOF() || this.char() !== 39)
3184
3191
  return null;
@@ -3212,12 +3219,12 @@ var zn = (
3212
3219
  r.push(n);
3213
3220
  this.bump();
3214
3221
  }
3215
- return Fe.apply(void 0, r);
3222
+ return je.apply(void 0, r);
3216
3223
  }, e.prototype.tryParseUnquoted = function(t, r) {
3217
3224
  if (this.isEOF())
3218
3225
  return null;
3219
3226
  var n = this.char();
3220
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3227
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3221
3228
  }, e.prototype.parseArgument = function(t, r) {
3222
3229
  var n = this.clonePosition();
3223
3230
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3233,7 +3240,7 @@ var zn = (
3233
3240
  case 125:
3234
3241
  return this.bump(), {
3235
3242
  val: {
3236
- type: x.argument,
3243
+ type: _.argument,
3237
3244
  // value does not include the opening and closing braces.
3238
3245
  value: i,
3239
3246
  location: m(n, this.clonePosition())
@@ -3246,7 +3253,7 @@ var zn = (
3246
3253
  return this.error(d.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3247
3254
  }
3248
3255
  }, e.prototype.parseIdentifierIfPossible = function() {
3249
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3256
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3250
3257
  this.bumpTo(i);
3251
3258
  var o = this.clonePosition(), s = m(t, o);
3252
3259
  return { value: n, location: s };
@@ -3265,44 +3272,44 @@ var zn = (
3265
3272
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3266
3273
  if (f.err)
3267
3274
  return f;
3268
- var c = Wn(f.val);
3275
+ var c = zn(f.val);
3269
3276
  if (c.length === 0)
3270
3277
  return this.error(d.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3271
3278
  var p = m(l, this.clonePosition());
3272
3279
  u = { style: c, styleLocation: p };
3273
3280
  }
3274
- var y = this.tryParseArgumentClose(i);
3275
- if (y.err)
3276
- return y;
3281
+ var b = this.tryParseArgumentClose(i);
3282
+ if (b.err)
3283
+ return b;
3277
3284
  var v = m(i, this.clonePosition());
3278
3285
  if (u && mt(u == null ? void 0 : u.style, "::", 0)) {
3279
- var B = Xn(u.style.slice(2));
3286
+ var B = Wn(u.style.slice(2));
3280
3287
  if (a === "number") {
3281
3288
  var f = this.parseNumberSkeletonFromString(B, u.styleLocation);
3282
3289
  return f.err ? f : {
3283
- val: { type: x.number, value: n, location: v, style: f.val },
3290
+ val: { type: _.number, value: n, location: v, style: f.val },
3284
3291
  err: null
3285
3292
  };
3286
3293
  } else {
3287
3294
  if (B.length === 0)
3288
3295
  return this.error(d.EXPECT_DATE_TIME_SKELETON, v);
3289
3296
  var $ = B;
3290
- this.locale && ($ = Ln(B, this.locale));
3297
+ this.locale && ($ = Nn(B, this.locale));
3291
3298
  var c = {
3292
- type: z.dateTime,
3299
+ type: W.dateTime,
3293
3300
  pattern: $,
3294
3301
  location: u.styleLocation,
3295
- parsedOptions: this.shouldParseSkeletons ? Hn($) : {}
3296
- }, P = a === "date" ? x.date : x.time;
3302
+ parsedOptions: this.shouldParseSkeletons ? Bn($) : {}
3303
+ }, N = a === "date" ? _.date : _.time;
3297
3304
  return {
3298
- val: { type: P, value: n, location: v, style: c },
3305
+ val: { type: N, value: n, location: v, style: c },
3299
3306
  err: null
3300
3307
  };
3301
3308
  }
3302
3309
  }
3303
3310
  return {
3304
3311
  val: {
3305
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3312
+ type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3306
3313
  value: n,
3307
3314
  location: v,
3308
3315
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3313,11 +3320,11 @@ var zn = (
3313
3320
  case "plural":
3314
3321
  case "selectordinal":
3315
3322
  case "select": {
3316
- var S = this.clonePosition();
3323
+ var E = this.clonePosition();
3317
3324
  if (this.bumpSpace(), !this.bumpIf(","))
3318
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(S, g({}, S)));
3325
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, m(E, g({}, E)));
3319
3326
  this.bumpSpace();
3320
- var R = this.parseIdentifierIfPossible(), O = 0;
3327
+ var R = this.parseIdentifierIfPossible(), P = 0;
3321
3328
  if (a !== "select" && R.value === "offset") {
3322
3329
  if (!this.bumpIf(":"))
3323
3330
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
@@ -3325,29 +3332,29 @@ var zn = (
3325
3332
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3326
3333
  if (f.err)
3327
3334
  return f;
3328
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), O = f.val;
3335
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), P = f.val;
3329
3336
  }
3330
- var D = this.tryParsePluralOrSelectOptions(t, a, r, R);
3331
- if (D.err)
3332
- return D;
3333
- var y = this.tryParseArgumentClose(i);
3334
- if (y.err)
3335
- return y;
3337
+ var G = this.tryParsePluralOrSelectOptions(t, a, r, R);
3338
+ if (G.err)
3339
+ return G;
3340
+ var b = this.tryParseArgumentClose(i);
3341
+ if (b.err)
3342
+ return b;
3336
3343
  var ue = m(i, this.clonePosition());
3337
3344
  return a === "select" ? {
3338
3345
  val: {
3339
- type: x.select,
3346
+ type: _.select,
3340
3347
  value: n,
3341
- options: bt(D.val),
3348
+ options: bt(G.val),
3342
3349
  location: ue
3343
3350
  },
3344
3351
  err: null
3345
3352
  } : {
3346
3353
  val: {
3347
- type: x.plural,
3354
+ type: _.plural,
3348
3355
  value: n,
3349
- options: bt(D.val),
3350
- offset: O,
3356
+ options: bt(G.val),
3357
+ offset: P,
3351
3358
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3352
3359
  location: ue
3353
3360
  },
@@ -3397,16 +3404,16 @@ var zn = (
3397
3404
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3398
3405
  var n = [];
3399
3406
  try {
3400
- n = An(t);
3407
+ n = wn(t);
3401
3408
  } catch (i) {
3402
3409
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3403
3410
  }
3404
3411
  return {
3405
3412
  val: {
3406
- type: z.number,
3413
+ type: W.number,
3407
3414
  tokens: n,
3408
3415
  location: r,
3409
- parsedOptions: this.shouldParseSkeletons ? In(n) : {}
3416
+ parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3410
3417
  },
3411
3418
  err: null
3412
3419
  };
@@ -3428,16 +3435,16 @@ var zn = (
3428
3435
  var p = this.clonePosition();
3429
3436
  if (!this.bumpIf("{"))
3430
3437
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
3431
- var y = this.parseMessage(t + 1, r, n);
3432
- if (y.err)
3433
- return y;
3438
+ var b = this.parseMessage(t + 1, r, n);
3439
+ if (b.err)
3440
+ return b;
3434
3441
  var v = this.tryParseArgumentClose(p);
3435
3442
  if (v.err)
3436
3443
  return v;
3437
3444
  a.push([
3438
3445
  u,
3439
3446
  {
3440
- value: y.val,
3447
+ value: b.val,
3441
3448
  location: m(p, this.clonePosition())
3442
3449
  }
3443
3450
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
@@ -3454,7 +3461,7 @@ var zn = (
3454
3461
  break;
3455
3462
  }
3456
3463
  var h = m(i, this.clonePosition());
3457
- return o ? (s *= n, kn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3464
+ return o ? (s *= n, Vn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3458
3465
  }, e.prototype.offset = function() {
3459
3466
  return this.position.offset;
3460
3467
  }, e.prototype.isEOF = function() {
@@ -3520,46 +3527,46 @@ var zn = (
3520
3527
  }, e;
3521
3528
  }()
3522
3529
  );
3523
- function ke(e) {
3530
+ function Ve(e) {
3524
3531
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3525
3532
  }
3526
- function Zn(e) {
3527
- return ke(e) || e === 47;
3528
- }
3529
3533
  function Qn(e) {
3534
+ return Ve(e) || e === 47;
3535
+ }
3536
+ function Jn(e) {
3530
3537
  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;
3531
3538
  }
3532
3539
  function Kt(e) {
3533
3540
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3534
3541
  }
3535
- function Jn(e) {
3542
+ function Yn(e) {
3536
3543
  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;
3537
3544
  }
3538
- function Ve(e) {
3545
+ function Xe(e) {
3539
3546
  e.forEach(function(t) {
3540
3547
  if (delete t.location, kt(t) || Vt(t))
3541
3548
  for (var r in t.options)
3542
- delete t.options[r].location, Ve(t.options[r].value);
3543
- else Dt(t) && Wt(t.style) || (Ft(t) || jt(t)) && Ge(t.style) ? delete t.style.location : Xt(t) && Ve(t.children);
3549
+ delete t.options[r].location, Xe(t.options[r].value);
3550
+ else Dt(t) && Wt(t.style) || (Ft(t) || jt(t)) && De(t.style) ? delete t.style.location : Xt(t) && Xe(t.children);
3544
3551
  });
3545
3552
  }
3546
- function Yn(e, t) {
3553
+ function qn(e, t) {
3547
3554
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3548
- var r = new zn(e, t).parse();
3555
+ var r = new Zn(e, t).parse();
3549
3556
  if (r.err) {
3550
3557
  var n = SyntaxError(d[r.err.kind]);
3551
3558
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3552
3559
  }
3553
- return t != null && t.captureLocation || Ve(r.val), r.val;
3560
+ return t != null && t.captureLocation || Xe(r.val), r.val;
3554
3561
  }
3555
- var Z;
3562
+ var z;
3556
3563
  (function(e) {
3557
3564
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3558
- })(Z || (Z = {}));
3559
- var xe = (
3565
+ })(z || (z = {}));
3566
+ var _e = (
3560
3567
  /** @class */
3561
3568
  function(e) {
3562
- M(t, e);
3569
+ L(t, e);
3563
3570
  function t(r, n, i) {
3564
3571
  var o = e.call(this, r) || this;
3565
3572
  return o.code = n, o.originalMessage = i, o;
@@ -3571,48 +3578,48 @@ var xe = (
3571
3578
  ), yt = (
3572
3579
  /** @class */
3573
3580
  function(e) {
3574
- M(t, e);
3581
+ L(t, e);
3575
3582
  function t(r, n, i, o) {
3576
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3583
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3577
3584
  }
3578
3585
  return t;
3579
- }(xe)
3580
- ), qn = (
3586
+ }(_e)
3587
+ ), Kn = (
3581
3588
  /** @class */
3582
3589
  function(e) {
3583
- M(t, e);
3590
+ L(t, e);
3584
3591
  function t(r, n, i) {
3585
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3592
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3586
3593
  }
3587
3594
  return t;
3588
- }(xe)
3589
- ), Kn = (
3595
+ }(_e)
3596
+ ), ei = (
3590
3597
  /** @class */
3591
3598
  function(e) {
3592
- M(t, e);
3599
+ L(t, e);
3593
3600
  function t(r, n) {
3594
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3601
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3595
3602
  }
3596
3603
  return t;
3597
- }(xe)
3598
- ), _;
3604
+ }(_e)
3605
+ ), x;
3599
3606
  (function(e) {
3600
3607
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3601
- })(_ || (_ = {}));
3602
- function ei(e) {
3608
+ })(x || (x = {}));
3609
+ function ti(e) {
3603
3610
  return e.length < 2 ? e : e.reduce(function(t, r) {
3604
3611
  var n = t[t.length - 1];
3605
- return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3612
+ return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3606
3613
  }, []);
3607
3614
  }
3608
- function ti(e) {
3615
+ function ri(e) {
3609
3616
  return typeof e == "function";
3610
3617
  }
3611
3618
  function pe(e, t, r, n, i, o, s) {
3612
3619
  if (e.length === 1 && ct(e[0]))
3613
3620
  return [
3614
3621
  {
3615
- type: _.literal,
3622
+ type: x.literal,
3616
3623
  value: e[0].value
3617
3624
  }
3618
3625
  ];
@@ -3620,41 +3627,41 @@ function pe(e, t, r, n, i, o, s) {
3620
3627
  var l = u[h];
3621
3628
  if (ct(l)) {
3622
3629
  a.push({
3623
- type: _.literal,
3630
+ type: x.literal,
3624
3631
  value: l.value
3625
3632
  });
3626
3633
  continue;
3627
3634
  }
3628
- if (Sn(l)) {
3635
+ if (Tn(l)) {
3629
3636
  typeof o == "number" && a.push({
3630
- type: _.literal,
3637
+ type: x.literal,
3631
3638
  value: r.getNumberFormat(t).format(o)
3632
3639
  });
3633
3640
  continue;
3634
3641
  }
3635
3642
  var f = l.value;
3636
3643
  if (!(i && f in i))
3637
- throw new Kn(f, s);
3644
+ throw new ei(f, s);
3638
3645
  var c = i[f];
3639
- if (En(l)) {
3646
+ if (Sn(l)) {
3640
3647
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3641
- type: typeof c == "string" ? _.literal : _.object,
3648
+ type: typeof c == "string" ? x.literal : x.object,
3642
3649
  value: c
3643
3650
  });
3644
3651
  continue;
3645
3652
  }
3646
3653
  if (Ft(l)) {
3647
- var p = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3654
+ var p = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3648
3655
  a.push({
3649
- type: _.literal,
3656
+ type: x.literal,
3650
3657
  value: r.getDateTimeFormat(t, p).format(c)
3651
3658
  });
3652
3659
  continue;
3653
3660
  }
3654
3661
  if (jt(l)) {
3655
- var p = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3662
+ var p = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3656
3663
  a.push({
3657
- type: _.literal,
3664
+ type: x.literal,
3658
3665
  value: r.getDateTimeFormat(t, p).format(c)
3659
3666
  });
3660
3667
  continue;
@@ -3662,61 +3669,61 @@ function pe(e, t, r, n, i, o, s) {
3662
3669
  if (Dt(l)) {
3663
3670
  var p = typeof l.style == "string" ? n.number[l.style] : Wt(l.style) ? l.style.parsedOptions : void 0;
3664
3671
  p && p.scale && (c = c * (p.scale || 1)), a.push({
3665
- type: _.literal,
3672
+ type: x.literal,
3666
3673
  value: r.getNumberFormat(t, p).format(c)
3667
3674
  });
3668
3675
  continue;
3669
3676
  }
3670
3677
  if (Xt(l)) {
3671
- var y = l.children, v = l.value, B = i[v];
3672
- if (!ti(B))
3673
- throw new qn(v, "function", s);
3674
- var $ = pe(y, t, r, n, i, o), P = B($.map(function(O) {
3675
- return O.value;
3678
+ var b = l.children, v = l.value, B = i[v];
3679
+ if (!ri(B))
3680
+ throw new Kn(v, "function", s);
3681
+ var $ = pe(b, t, r, n, i, o), N = B($.map(function(P) {
3682
+ return P.value;
3676
3683
  }));
3677
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3684
+ Array.isArray(N) || (N = [N]), a.push.apply(a, N.map(function(P) {
3678
3685
  return {
3679
- type: typeof O == "string" ? _.literal : _.object,
3680
- value: O
3686
+ type: typeof P == "string" ? x.literal : x.object,
3687
+ value: P
3681
3688
  };
3682
3689
  }));
3683
3690
  }
3684
3691
  if (kt(l)) {
3685
- var S = l.options[c] || l.options.other;
3686
- if (!S)
3692
+ var E = l.options[c] || l.options.other;
3693
+ if (!E)
3687
3694
  throw new yt(l.value, c, Object.keys(l.options), s);
3688
- a.push.apply(a, pe(S.value, t, r, n, i));
3695
+ a.push.apply(a, pe(E.value, t, r, n, i));
3689
3696
  continue;
3690
3697
  }
3691
3698
  if (Vt(l)) {
3692
- var S = l.options["=".concat(c)];
3693
- if (!S) {
3699
+ var E = l.options["=".concat(c)];
3700
+ if (!E) {
3694
3701
  if (!Intl.PluralRules)
3695
- throw new xe(`Intl.PluralRules is not available in this environment.
3702
+ throw new _e(`Intl.PluralRules is not available in this environment.
3696
3703
  Try polyfilling it using "@formatjs/intl-pluralrules"
3697
- `, Z.MISSING_INTL_API, s);
3704
+ `, z.MISSING_INTL_API, s);
3698
3705
  var R = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3699
- S = l.options[R] || l.options.other;
3706
+ E = l.options[R] || l.options.other;
3700
3707
  }
3701
- if (!S)
3708
+ if (!E)
3702
3709
  throw new yt(l.value, c, Object.keys(l.options), s);
3703
- a.push.apply(a, pe(S.value, t, r, n, i, c - (l.offset || 0)));
3710
+ a.push.apply(a, pe(E.value, t, r, n, i, c - (l.offset || 0)));
3704
3711
  continue;
3705
3712
  }
3706
3713
  }
3707
- return ei(a);
3714
+ return ti(a);
3708
3715
  }
3709
- function ri(e, t) {
3716
+ function ni(e, t) {
3710
3717
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3711
3718
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3712
3719
  }, {})) : e;
3713
3720
  }
3714
- function ni(e, t) {
3721
+ function ii(e, t) {
3715
3722
  return t ? Object.keys(e).reduce(function(r, n) {
3716
- return r[n] = ri(e[n], t[n]), r;
3723
+ return r[n] = ni(e[n], t[n]), r;
3717
3724
  }, g({}, e)) : e;
3718
3725
  }
3719
- function Pe(e) {
3726
+ function Oe(e) {
3720
3727
  return {
3721
3728
  create: function() {
3722
3729
  return {
@@ -3730,39 +3737,39 @@ function Pe(e) {
3730
3737
  }
3731
3738
  };
3732
3739
  }
3733
- function ii(e) {
3740
+ function oi(e) {
3734
3741
  return e === void 0 && (e = {
3735
3742
  number: {},
3736
3743
  dateTime: {},
3737
3744
  pluralRules: {}
3738
3745
  }), {
3739
- getNumberFormat: Be(function() {
3746
+ getNumberFormat: Ae(function() {
3740
3747
  for (var t, r = [], n = 0; n < arguments.length; n++)
3741
3748
  r[n] = arguments[n];
3742
- return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3749
+ return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3743
3750
  }, {
3744
- cache: Pe(e.number),
3745
- strategy: Ae.variadic
3751
+ cache: Oe(e.number),
3752
+ strategy: we.variadic
3746
3753
  }),
3747
- getDateTimeFormat: Be(function() {
3754
+ getDateTimeFormat: Ae(function() {
3748
3755
  for (var t, r = [], n = 0; n < arguments.length; n++)
3749
3756
  r[n] = arguments[n];
3750
- return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3757
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3751
3758
  }, {
3752
- cache: Pe(e.dateTime),
3753
- strategy: Ae.variadic
3759
+ cache: Oe(e.dateTime),
3760
+ strategy: we.variadic
3754
3761
  }),
3755
- getPluralRules: Be(function() {
3762
+ getPluralRules: Ae(function() {
3756
3763
  for (var t, r = [], n = 0; n < arguments.length; n++)
3757
3764
  r[n] = arguments[n];
3758
- return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3765
+ return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3759
3766
  }, {
3760
- cache: Pe(e.pluralRules),
3761
- strategy: Ae.variadic
3767
+ cache: Oe(e.pluralRules),
3768
+ strategy: we.variadic
3762
3769
  })
3763
3770
  };
3764
3771
  }
3765
- var oi = (
3772
+ var si = (
3766
3773
  /** @class */
3767
3774
  function() {
3768
3775
  function e(t, r, n, i) {
@@ -3777,7 +3784,7 @@ var oi = (
3777
3784
  if (u.length === 1)
3778
3785
  return u[0].value;
3779
3786
  var l = u.reduce(function(f, c) {
3780
- return !f.length || c.type !== _.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3787
+ return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3781
3788
  }, []);
3782
3789
  return l.length <= 1 ? l[0] || "" : l;
3783
3790
  }, this.formatToParts = function(h) {
@@ -3794,13 +3801,13 @@ var oi = (
3794
3801
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3795
3802
  var s = i || {};
3796
3803
  s.formatters;
3797
- var a = $r(s, ["formatters"]);
3804
+ var a = Rr(s, ["formatters"]);
3798
3805
  this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3799
3806
  } else
3800
3807
  this.ast = t;
3801
3808
  if (!Array.isArray(this.ast))
3802
3809
  throw new TypeError("A message must be provided as a String or AST.");
3803
- this.formats = ni(e.formats, n), this.formatters = i && i.formatters || ii(this.formatterCache);
3810
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3804
3811
  }
3805
3812
  return Object.defineProperty(e, "defaultLocale", {
3806
3813
  get: function() {
@@ -3813,7 +3820,7 @@ var oi = (
3813
3820
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3814
3821
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3815
3822
  }
3816
- }, e.__parse = Yn, e.formats = {
3823
+ }, e.__parse = qn, e.formats = {
3817
3824
  number: {
3818
3825
  integer: {
3819
3826
  maximumFractionDigits: 0
@@ -3874,7 +3881,7 @@ var oi = (
3874
3881
  }, e;
3875
3882
  }()
3876
3883
  );
3877
- function si(e, t) {
3884
+ function ai(e, t) {
3878
3885
  if (t == null)
3879
3886
  return;
3880
3887
  if (t in e)
@@ -3895,36 +3902,36 @@ function si(e, t) {
3895
3902
  n = void 0;
3896
3903
  return n;
3897
3904
  }
3898
- const C = {}, ai = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), er = (e, t) => {
3905
+ const C = {}, ui = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), er = (e, t) => {
3899
3906
  if (t == null)
3900
3907
  return;
3901
3908
  if (t in C && e in C[t])
3902
3909
  return C[t][e];
3903
- const r = _e(t);
3910
+ const r = xe(t);
3904
3911
  for (let n = 0; n < r.length; n++) {
3905
- const i = r[n], o = hi(i, e);
3912
+ const i = r[n], o = li(i, e);
3906
3913
  if (o)
3907
- return ai(e, t, o);
3914
+ return ui(e, t, o);
3908
3915
  }
3909
3916
  };
3910
3917
  let Qe;
3911
3918
  const ae = ve({});
3912
- function ui(e) {
3919
+ function hi(e) {
3913
3920
  return Qe[e] || null;
3914
3921
  }
3915
3922
  function tr(e) {
3916
3923
  return e in Qe;
3917
3924
  }
3918
- function hi(e, t) {
3925
+ function li(e, t) {
3919
3926
  if (!tr(e))
3920
3927
  return null;
3921
- const r = ui(e);
3922
- return si(r, t);
3928
+ const r = hi(e);
3929
+ return ai(r, t);
3923
3930
  }
3924
- function li(e) {
3931
+ function ci(e) {
3925
3932
  if (e == null)
3926
3933
  return;
3927
- const t = _e(e);
3934
+ const t = xe(e);
3928
3935
  for (let r = 0; r < t.length; r++) {
3929
3936
  const n = t[r];
3930
3937
  if (tr(n))
@@ -3932,55 +3939,55 @@ function li(e) {
3932
3939
  }
3933
3940
  }
3934
3941
  function rr(e, ...t) {
3935
- delete C[e], ae.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
3942
+ delete C[e], ae.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
3936
3943
  }
3937
- Y(
3944
+ J(
3938
3945
  [ae],
3939
3946
  ([e]) => Object.keys(e)
3940
3947
  );
3941
3948
  ae.subscribe((e) => Qe = e);
3942
3949
  const de = {};
3943
- function ci(e, t) {
3950
+ function fi(e, t) {
3944
3951
  de[e].delete(t), de[e].size === 0 && delete de[e];
3945
3952
  }
3946
3953
  function nr(e) {
3947
3954
  return de[e];
3948
3955
  }
3949
- function fi(e) {
3950
- return _e(e).map((t) => {
3956
+ function pi(e) {
3957
+ return xe(e).map((t) => {
3951
3958
  const r = nr(t);
3952
3959
  return [t, r ? [...r] : []];
3953
3960
  }).filter(([, t]) => t.length > 0);
3954
3961
  }
3955
- function Xe(e) {
3956
- return e == null ? !1 : _e(e).some(
3962
+ function We(e) {
3963
+ return e == null ? !1 : xe(e).some(
3957
3964
  (t) => {
3958
3965
  var r;
3959
3966
  return (r = nr(t)) == null ? void 0 : r.size;
3960
3967
  }
3961
3968
  );
3962
3969
  }
3963
- function pi(e, t) {
3970
+ function di(e, t) {
3964
3971
  return Promise.all(
3965
- t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
3972
+ t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
3966
3973
  ).then((n) => rr(e, ...n));
3967
3974
  }
3968
- const te = {};
3975
+ const ee = {};
3969
3976
  function ir(e) {
3970
- if (!Xe(e))
3971
- return e in te ? te[e] : Promise.resolve();
3972
- const t = fi(e);
3973
- return te[e] = Promise.all(
3977
+ if (!We(e))
3978
+ return e in ee ? ee[e] : Promise.resolve();
3979
+ const t = pi(e);
3980
+ return ee[e] = Promise.all(
3974
3981
  t.map(
3975
- ([r, n]) => pi(r, n)
3982
+ ([r, n]) => di(r, n)
3976
3983
  )
3977
3984
  ).then(() => {
3978
- if (Xe(e))
3985
+ if (We(e))
3979
3986
  return ir(e);
3980
- delete te[e];
3981
- }), te[e];
3987
+ delete ee[e];
3988
+ }), ee[e];
3982
3989
  }
3983
- const di = {
3990
+ const mi = {
3984
3991
  number: {
3985
3992
  scientific: { notation: "scientific" },
3986
3993
  engineering: { notation: "engineering" },
@@ -4009,57 +4016,57 @@ const di = {
4009
4016
  timeZoneName: "short"
4010
4017
  }
4011
4018
  }
4012
- }, mi = {
4019
+ }, bi = {
4013
4020
  fallbackLocale: null,
4014
4021
  loadingDelay: 200,
4015
- formats: di,
4022
+ formats: mi,
4016
4023
  warnOnMissingMessages: !0,
4017
4024
  handleMissingMessage: void 0,
4018
4025
  ignoreTag: !0
4019
- }, bi = mi;
4020
- function Q() {
4021
- return bi;
4026
+ }, gi = bi;
4027
+ function Z() {
4028
+ return gi;
4022
4029
  }
4023
- const Oe = ve(!1);
4024
- var gi = Object.defineProperty, yi = Object.defineProperties, vi = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? gi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ei = (e, t) => {
4030
+ const Ie = ve(!1);
4031
+ var yi = Object.defineProperty, vi = Object.defineProperties, _i = Object.getOwnPropertyDescriptors, vt = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
4025
4032
  for (var r in t || (t = {}))
4026
- xi.call(t, r) && xt(e, r, t[r]);
4033
+ xi.call(t, r) && _t(e, r, t[r]);
4027
4034
  if (vt)
4028
4035
  for (var r of vt(t))
4029
- _i.call(t, r) && xt(e, r, t[r]);
4036
+ Ei.call(t, r) && _t(e, r, t[r]);
4030
4037
  return e;
4031
- }, Si = (e, t) => yi(e, vi(t));
4032
- let We;
4038
+ }, Ti = (e, t) => vi(e, _i(t));
4039
+ let ze;
4033
4040
  const me = ve(null);
4034
- function _t(e) {
4041
+ function xt(e) {
4035
4042
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4036
4043
  }
4037
- function _e(e, t = Q().fallbackLocale) {
4038
- const r = _t(e);
4039
- return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
4044
+ function xe(e, t = Z().fallbackLocale) {
4045
+ const r = xt(e);
4046
+ return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4040
4047
  }
4041
- function G() {
4042
- return We != null ? We : void 0;
4048
+ function U() {
4049
+ return ze != null ? ze : void 0;
4043
4050
  }
4044
4051
  me.subscribe((e) => {
4045
- We = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4052
+ ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4046
4053
  });
4047
- const Ti = (e) => {
4048
- if (e && li(e) && Xe(e)) {
4049
- const { loadingDelay: t } = Q();
4054
+ const Hi = (e) => {
4055
+ if (e && ci(e) && We(e)) {
4056
+ const { loadingDelay: t } = Z();
4050
4057
  let r;
4051
- return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
4052
- () => Oe.set(!0),
4058
+ return typeof window != "undefined" && U() != null && t ? r = window.setTimeout(
4059
+ () => Ie.set(!0),
4053
4060
  t
4054
- ) : Oe.set(!0), ir(e).then(() => {
4061
+ ) : Ie.set(!0), ir(e).then(() => {
4055
4062
  me.set(e);
4056
4063
  }).finally(() => {
4057
- clearTimeout(r), Oe.set(!1);
4064
+ clearTimeout(r), Ie.set(!1);
4058
4065
  });
4059
4066
  }
4060
4067
  return me.set(e);
4061
- }, q = Si(Ei({}, me), {
4062
- set: Ti
4068
+ }, Y = Ti(Si({}, me), {
4069
+ set: Hi
4063
4070
  }), Ee = (e) => {
4064
4071
  const t = /* @__PURE__ */ Object.create(null);
4065
4072
  return (n) => {
@@ -4067,14 +4074,14 @@ const Ti = (e) => {
4067
4074
  return i in t ? t[i] : t[i] = e(n);
4068
4075
  };
4069
4076
  };
4070
- var Hi = Object.defineProperty, be = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4077
+ var Bi = Object.defineProperty, be = Object.getOwnPropertySymbols, or = Object.prototype.hasOwnProperty, sr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4071
4078
  for (var r in t || (t = {}))
4072
4079
  or.call(t, r) && Et(e, r, t[r]);
4073
4080
  if (be)
4074
4081
  for (var r of be(t))
4075
4082
  sr.call(t, r) && Et(e, r, t[r]);
4076
4083
  return e;
4077
- }, K = (e, t) => {
4084
+ }, q = (e, t) => {
4078
4085
  var r = {};
4079
4086
  for (var n in e)
4080
4087
  or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -4084,66 +4091,66 @@ var Hi = Object.defineProperty, be = Object.getOwnPropertySymbols, or = Object.p
4084
4091
  return r;
4085
4092
  };
4086
4093
  const ie = (e, t) => {
4087
- const { formats: r } = Q();
4094
+ const { formats: r } = Z();
4088
4095
  if (e in r && t in r[e])
4089
4096
  return r[e][t];
4090
4097
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4091
- }, Bi = Ee(
4098
+ }, Ai = Ee(
4092
4099
  (e) => {
4093
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4100
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4094
4101
  if (r == null)
4095
4102
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4096
4103
  return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4097
4104
  }
4098
- ), Ai = Ee(
4105
+ ), wi = Ee(
4099
4106
  (e) => {
4100
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4107
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4101
4108
  if (r == null)
4102
4109
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4103
4110
  return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4104
4111
  }
4105
- ), wi = Ee(
4112
+ ), Pi = Ee(
4106
4113
  (e) => {
4107
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4114
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4108
4115
  if (r == null)
4109
4116
  throw new Error(
4110
4117
  '[svelte-i18n] A "locale" must be set to format time values'
4111
4118
  );
4112
4119
  return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4113
4120
  }
4114
- ), Pi = (e = {}) => {
4115
- var t = e, {
4116
- locale: r = G()
4117
- } = t, n = K(t, [
4118
- "locale"
4119
- ]);
4120
- return Bi(Je({ locale: r }, n));
4121
- }, Oi = (e = {}) => {
4121
+ ), Oi = (e = {}) => {
4122
4122
  var t = e, {
4123
- locale: r = G()
4124
- } = t, n = K(t, [
4123
+ locale: r = U()
4124
+ } = t, n = q(t, [
4125
4125
  "locale"
4126
4126
  ]);
4127
4127
  return Ai(Je({ locale: r }, n));
4128
4128
  }, Ii = (e = {}) => {
4129
4129
  var t = e, {
4130
- locale: r = G()
4131
- } = t, n = K(t, [
4130
+ locale: r = U()
4131
+ } = t, n = q(t, [
4132
4132
  "locale"
4133
4133
  ]);
4134
4134
  return wi(Je({ locale: r }, n));
4135
- }, Li = Ee(
4135
+ }, Li = (e = {}) => {
4136
+ var t = e, {
4137
+ locale: r = U()
4138
+ } = t, n = q(t, [
4139
+ "locale"
4140
+ ]);
4141
+ return Pi(Je({ locale: r }, n));
4142
+ }, Ni = Ee(
4136
4143
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4137
- (e, t = G()) => new oi(e, t, Q().formats, {
4138
- ignoreTag: Q().ignoreTag
4144
+ (e, t = U()) => new si(e, t, Z().formats, {
4145
+ ignoreTag: Z().ignoreTag
4139
4146
  })
4140
- ), Ni = (e, t = {}) => {
4147
+ ), Mi = (e, t = {}) => {
4141
4148
  var r, n, i, o;
4142
4149
  let s = t;
4143
4150
  typeof e == "object" && (s = e, e = s.id);
4144
4151
  const {
4145
4152
  values: a,
4146
- locale: h = G(),
4153
+ locale: h = U(),
4147
4154
  default: u
4148
4155
  } = s;
4149
4156
  if (h == null)
@@ -4152,7 +4159,7 @@ const ie = (e, t) => {
4152
4159
  );
4153
4160
  let l = er(e, h);
4154
4161
  if (!l)
4155
- 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;
4162
+ l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4156
4163
  else if (typeof l != "string")
4157
4164
  return console.warn(
4158
4165
  `[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.`
@@ -4161,7 +4168,7 @@ const ie = (e, t) => {
4161
4168
  return l;
4162
4169
  let f = l;
4163
4170
  try {
4164
- f = Li(l, h).format(a);
4171
+ f = Ni(l, h).format(a);
4165
4172
  } catch (c) {
4166
4173
  c instanceof Error && console.warn(
4167
4174
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4169,18 +4176,18 @@ const ie = (e, t) => {
4169
4176
  );
4170
4177
  }
4171
4178
  return f;
4172
- }, Mi = (e, t) => Ii(t).format(e), Ci = (e, t) => Oi(t).format(e), $i = (e, t) => Pi(t).format(e), Ri = (e, t = G()) => er(e, t), Ui = Y([q, ae], () => Ni);
4173
- Y([q], () => Mi);
4174
- Y([q], () => Ci);
4175
- Y([q], () => $i);
4176
- Y([q, ae], () => Ri);
4177
- window.emWidgets = { topic: Jr };
4178
- const Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4179
+ }, Ci = (e, t) => Li(t).format(e), $i = (e, t) => Ii(t).format(e), Ri = (e, t) => Oi(t).format(e), Ui = (e, t = U()) => er(e, t), Gi = J([Y, ae], () => Mi);
4180
+ J([Y], () => Ci);
4181
+ J([Y], () => $i);
4182
+ J([Y], () => Ri);
4183
+ J([Y, ae], () => Ui);
4184
+ window.emWidgets = { topic: Yr };
4185
+ const Di = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4179
4186
  function St(e, t) {
4180
4187
  rr(e, t);
4181
4188
  }
4182
- function Di(e) {
4183
- q.set(e);
4189
+ function Fi(e) {
4190
+ Y.set(e);
4184
4191
  }
4185
4192
  const Tt = {
4186
4193
  en: {
@@ -4217,24 +4224,33 @@ const Tt = {
4217
4224
  logoutButton: "Logout"
4218
4225
  }
4219
4226
  };
4220
- function Fi(e) {
4221
- br(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4227
+ function ji(e, t) {
4228
+ const r = new URL(t);
4229
+ fetch(r.href).then((n) => n.text()).then((n) => {
4230
+ const i = document.createElement("style");
4231
+ i.innerHTML = n;
4232
+ }).catch((n) => {
4233
+ console.error("There was an error while trying to load client styling from URL", n);
4234
+ });
4222
4235
  }
4223
- function ji(e) {
4236
+ function ki(e) {
4237
+ mr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4238
+ }
4239
+ function Vi(e) {
4224
4240
  let t, r, n, i = (
4225
4241
  /*$_*/
4226
4242
  e[2]("logoutButton") + ""
4227
4243
  ), o, s, a;
4228
4244
  return {
4229
4245
  c() {
4230
- t = L("div"), r = L("button"), n = L("span"), o = ge(i), H(t, "class", "GeneralLogout");
4246
+ t = O("div"), r = O("button"), n = O("span"), o = ge(i), H(t, "class", "GeneralLogout");
4231
4247
  },
4232
4248
  m(h, u) {
4233
- se(h, t, u), E(t, r), E(r, n), E(n, o), s || (a = wt(
4249
+ se(h, t, u), S(t, r), S(r, n), S(n, o), s || (a = wt(
4234
4250
  r,
4235
4251
  "click",
4236
4252
  /*click_handler_1*/
4237
- e[13]
4253
+ e[14]
4238
4254
  ), s = !0);
4239
4255
  },
4240
4256
  p(h, u) {
@@ -4243,16 +4259,16 @@ function ji(e) {
4243
4259
  h[2]("logoutButton") + "") && Pt(o, i);
4244
4260
  },
4245
4261
  d(h) {
4246
- h && J(t), s = !1, a();
4262
+ h && Q(t), s = !1, a();
4247
4263
  }
4248
4264
  };
4249
4265
  }
4250
- function ki(e) {
4266
+ function Xi(e) {
4251
4267
  let t, r, n, i, o, s, a, h, u, l, f, c = !/*isMobile*/
4252
- e[3] && Vi(e);
4268
+ e[3] && Wi(e);
4253
4269
  return {
4254
4270
  c() {
4255
- t = L("p"), r = L("span"), n = ee("svg"), i = ee("defs"), o = ee("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = ee("path"), h = ee("path"), u = vr(), c && c.c(), H(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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"), H(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), H(n, "data-name", "Layer 1"), H(n, "xmlns", "http://www.w3.org/2000/svg"), H(n, "viewBox", "0 0 150 150"), _r(r, "width", /*isMobile*/
4271
+ t = O("p"), r = O("span"), n = K("svg"), i = K("defs"), o = K("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = yr(), c && c.c(), H(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(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"), H(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), H(n, "data-name", "Layer 1"), H(n, "xmlns", "http://www.w3.org/2000/svg"), H(n, "viewBox", "0 0 150 150"), _r(r, "width", /*isMobile*/
4256
4272
  e[3] ? (
4257
4273
  /*mediaQuery*/
4258
4274
  e[4].matches ? "50px" : "24px"
@@ -4261,34 +4277,34 @@ function ki(e) {
4261
4277
  (e[4].matches && /*isMobile*/
4262
4278
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4263
4279
  },
4264
- m(p, y) {
4265
- se(p, t, y), E(t, r), E(r, n), E(n, i), E(i, o), E(o, s), E(n, a), E(n, h), E(t, u), c && c.m(t, null), l || (f = wt(
4280
+ m(p, b) {
4281
+ se(p, t, b), 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 = wt(
4266
4282
  t,
4267
4283
  "click",
4268
4284
  /*click_handler*/
4269
- e[12]
4285
+ e[13]
4270
4286
  ), l = !0);
4271
4287
  },
4272
- p(p, y) {
4288
+ p(p, b) {
4273
4289
  /*isMobile*/
4274
- p[3] || c.p(p, y);
4290
+ p[3] || c.p(p, b);
4275
4291
  },
4276
4292
  d(p) {
4277
- p && J(t), c && c.d(), l = !1, f();
4293
+ p && Q(t), c && c.d(), l = !1, f();
4278
4294
  }
4279
4295
  };
4280
4296
  }
4281
- function Vi(e) {
4297
+ function Wi(e) {
4282
4298
  let t, r = (
4283
4299
  /*$_*/
4284
4300
  e[2]("logoutButton") + ""
4285
4301
  ), n;
4286
4302
  return {
4287
4303
  c() {
4288
- t = L("span"), n = ge(r), H(t, "class", "PlayerLogoutText");
4304
+ t = O("span"), n = ge(r), H(t, "class", "PlayerLogoutText");
4289
4305
  },
4290
4306
  m(i, o) {
4291
- se(i, t, o), E(t, n);
4307
+ se(i, t, o), S(t, n);
4292
4308
  },
4293
4309
  p(i, o) {
4294
4310
  o & /*$_*/
@@ -4296,175 +4312,169 @@ function Vi(e) {
4296
4312
  i[2]("logoutButton") + "") && Pt(n, r);
4297
4313
  },
4298
4314
  d(i) {
4299
- i && J(t);
4315
+ i && Q(t);
4300
4316
  }
4301
4317
  };
4302
4318
  }
4303
- function Xi(e) {
4319
+ function zi(e) {
4304
4320
  let t;
4305
4321
  function r(o, s) {
4306
4322
  return (
4307
4323
  /*buttonlocation*/
4308
- o[0] === "PlayerAccountMenu" ? ki : ji
4324
+ o[0] === "PlayerAccountMenu" ? Xi : Vi
4309
4325
  );
4310
4326
  }
4311
4327
  let n = r(e), i = n(e);
4312
4328
  return {
4313
4329
  c() {
4314
- t = L("div"), i.c();
4330
+ t = O("div"), i.c();
4315
4331
  },
4316
4332
  m(o, s) {
4317
- se(o, t, s), i.m(t, null), e[14](t);
4333
+ se(o, t, s), i.m(t, null), e[15](t);
4318
4334
  },
4319
4335
  p(o, [s]) {
4320
4336
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4321
4337
  },
4322
- i: w,
4323
- o: w,
4338
+ i: A,
4339
+ o: A,
4324
4340
  d(o) {
4325
- o && J(t), i.d(), e[14](null);
4341
+ o && Q(t), i.d(), e[15](null);
4326
4342
  }
4327
4343
  };
4328
4344
  }
4329
- function Wi(e, t, r) {
4345
+ function Zi(e, t, r) {
4330
4346
  let n;
4331
- mr(e, Ui, (b) => r(2, n = b));
4332
- 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, y = window.navigator.userAgent, v = Gi(y) !== "PC";
4333
- const B = window.matchMedia("(min-width: 768px)"), $ = () => {
4334
- fetch(l).then((A) => A.json()).then((A) => {
4335
- Object.keys(A).forEach((U) => {
4336
- St(U, A[U]);
4347
+ dr(e, Gi, (y) => r(2, n = y));
4348
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { mbsource: h } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, c = "", p = !1, b, v = window.navigator.userAgent, B = Di(v) !== "PC";
4349
+ const $ = window.matchMedia("(min-width: 768px)"), N = () => {
4350
+ fetch(f).then((M) => M.json()).then((M) => {
4351
+ Object.keys(M).forEach((Se) => {
4352
+ St(Se, M[Se]);
4337
4353
  });
4338
- }).catch((A) => {
4339
- console.log(A);
4354
+ }).catch((M) => {
4355
+ console.log(M);
4340
4356
  });
4341
4357
  };
4342
- Object.keys(Tt).forEach((b) => {
4343
- St(b, Tt[b]);
4358
+ Object.keys(Tt).forEach((y) => {
4359
+ St(y, Tt[y]);
4344
4360
  });
4345
- const P = () => {
4346
- let b = new Headers();
4347
- b.append("Content-type", "application/json"), b.append("X-SessionID", o);
4348
- let A = { method: "DELETE", headers: b };
4349
- fetch(`${i}/v1/player/session/player`, A).then((U) => {
4361
+ const E = () => {
4362
+ let y = new Headers();
4363
+ y.append("Content-type", "application/json"), y.append("X-SessionID", o);
4364
+ let M = { method: "DELETE", headers: y };
4365
+ fetch(`${i}/v1/player/session/player`, M).then((Se) => {
4350
4366
  window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4351
4367
  });
4352
- }, S = () => (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 = () => {
4353
- Di(a);
4354
- }, O = () => {
4355
- let b = document.createElement("style");
4356
- b.innerHTML = h, p.appendChild(b);
4357
- }, D = () => {
4358
- let b = new URL(u), A = document.createElement("style");
4359
- fetch(b.href).then((U) => U.text()).then((U) => {
4360
- A.innerHTML = U, setTimeout(
4361
- () => {
4362
- p.appendChild(A);
4363
- },
4364
- 1
4365
- ), setTimeout(
4366
- () => {
4367
- },
4368
- 500
4369
- );
4370
- });
4371
- }, ue = () => P(), ar = () => P();
4372
- function ur(b) {
4373
- Ie[b ? "unshift" : "push"](() => {
4374
- p = b, r(1, p);
4368
+ }, R = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", p = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", p = !0, console.error(c)), p), P = () => {
4369
+ Fi(a);
4370
+ };
4371
+ Sr(() => () => {
4372
+ });
4373
+ const G = () => E(), ue = () => E();
4374
+ function ar(y) {
4375
+ Le[y ? "unshift" : "push"](() => {
4376
+ b = y, r(1, b);
4375
4377
  });
4376
4378
  }
4377
- return e.$$set = (b) => {
4378
- "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);
4379
+ return e.$$set = (y) => {
4380
+ "endpoint" in y && r(6, i = y.endpoint), "session" in y && r(7, o = y.session), "buttonlocation" in y && r(0, s = y.buttonlocation), "lang" in y && r(8, a = y.lang), "mbsource" in y && r(9, h = y.mbsource), "clientstyling" in y && r(10, u = y.clientstyling), "clientstylingurl" in y && r(11, l = y.clientstylingurl), "translationurl" in y && r(12, f = y.translationurl);
4379
4381
  }, e.$$.update = () => {
4380
4382
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4381
- 193 && i && o && s && S(), e.$$.dirty & /*lang*/
4382
- 256 && a && R(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4383
- 514 && h && p && O(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4384
- 1026 && u && p && D(), e.$$.dirty & /*translationurl*/
4385
- 2048 && l && $();
4383
+ 193 && i && o && s && R(), e.$$.dirty & /*lang*/
4384
+ 256 && a && P(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4385
+ 1026, e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4386
+ 2050 && l && b && ji(), e.$$.dirty & /*translationurl*/
4387
+ 4096 && f && N();
4386
4388
  }, [
4387
4389
  s,
4388
- p,
4390
+ b,
4389
4391
  n,
4390
- v,
4391
4392
  B,
4392
- P,
4393
+ $,
4394
+ E,
4393
4395
  i,
4394
4396
  o,
4395
4397
  a,
4396
4398
  h,
4397
4399
  u,
4398
4400
  l,
4401
+ f,
4402
+ G,
4399
4403
  ue,
4400
- ar,
4401
- ur
4404
+ ar
4402
4405
  ];
4403
4406
  }
4404
- class zi extends Mr {
4407
+ class Qi extends Cr {
4405
4408
  constructor(t) {
4406
- super(), Lr(
4409
+ super(), Nr(
4407
4410
  this,
4408
4411
  t,
4409
- Wi,
4410
- Xi,
4412
+ Zi,
4413
+ zi,
4411
4414
  Bt,
4412
4415
  {
4413
4416
  endpoint: 6,
4414
4417
  session: 7,
4415
4418
  buttonlocation: 0,
4416
4419
  lang: 8,
4417
- clientstyling: 9,
4418
- clientstylingurl: 10,
4419
- translationurl: 11
4420
+ mbsource: 9,
4421
+ clientstyling: 10,
4422
+ clientstylingurl: 11,
4423
+ translationurl: 12
4420
4424
  },
4421
- Fi
4425
+ ki
4422
4426
  );
4423
4427
  }
4424
4428
  get endpoint() {
4425
4429
  return this.$$.ctx[6];
4426
4430
  }
4427
4431
  set endpoint(t) {
4428
- this.$$set({ endpoint: t }), I();
4432
+ this.$$set({ endpoint: t }), w();
4429
4433
  }
4430
4434
  get session() {
4431
4435
  return this.$$.ctx[7];
4432
4436
  }
4433
4437
  set session(t) {
4434
- this.$$set({ session: t }), I();
4438
+ this.$$set({ session: t }), w();
4435
4439
  }
4436
4440
  get buttonlocation() {
4437
4441
  return this.$$.ctx[0];
4438
4442
  }
4439
4443
  set buttonlocation(t) {
4440
- this.$$set({ buttonlocation: t }), I();
4444
+ this.$$set({ buttonlocation: t }), w();
4441
4445
  }
4442
4446
  get lang() {
4443
4447
  return this.$$.ctx[8];
4444
4448
  }
4445
4449
  set lang(t) {
4446
- this.$$set({ lang: t }), I();
4450
+ this.$$set({ lang: t }), w();
4447
4451
  }
4448
- get clientstyling() {
4452
+ get mbsource() {
4449
4453
  return this.$$.ctx[9];
4450
4454
  }
4455
+ set mbsource(t) {
4456
+ this.$$set({ mbsource: t }), w();
4457
+ }
4458
+ get clientstyling() {
4459
+ return this.$$.ctx[10];
4460
+ }
4451
4461
  set clientstyling(t) {
4452
- this.$$set({ clientstyling: t }), I();
4462
+ this.$$set({ clientstyling: t }), w();
4453
4463
  }
4454
4464
  get clientstylingurl() {
4455
- return this.$$.ctx[10];
4465
+ return this.$$.ctx[11];
4456
4466
  }
4457
4467
  set clientstylingurl(t) {
4458
- this.$$set({ clientstylingurl: t }), I();
4468
+ this.$$set({ clientstylingurl: t }), w();
4459
4469
  }
4460
4470
  get translationurl() {
4461
- return this.$$.ctx[11];
4471
+ return this.$$.ctx[12];
4462
4472
  }
4463
4473
  set translationurl(t) {
4464
- this.$$set({ translationurl: t }), I();
4474
+ this.$$set({ translationurl: t }), w();
4465
4475
  }
4466
4476
  }
4467
- Nr(zi, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4477
+ Mr(Qi, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4468
4478
  export {
4469
- zi as default
4479
+ Qi as default
4470
4480
  };