@everymatrix/player-panic-button 1.87.25 → 1.87.27

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,46 +1,46 @@
1
- function w() {
1
+ function B() {
2
2
  }
3
- function St(e) {
3
+ function wt(e) {
4
4
  return e();
5
5
  }
6
- function qe() {
6
+ function Ke() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ee(e) {
10
- e.forEach(St);
9
+ function te(e) {
10
+ e.forEach(wt);
11
11
  }
12
- function We(e) {
12
+ function Ze(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function Bt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function ir(e) {
18
+ function sr(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function wt(e, ...t) {
21
+ function Tt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return w;
25
+ return B;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function or(e, t, r) {
31
- e.$$.on_destroy.push(wt(t, r));
30
+ function ar(e, t, r) {
31
+ e.$$.on_destroy.push(Tt(t, r));
32
32
  }
33
- function ae(e, t) {
33
+ function ue(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function sr(e, t, r) {
37
- const n = ar(e);
36
+ function ur(e, t, r) {
37
+ const n = hr(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = Q("style");
40
- i.id = t, i.textContent = r, ur(n, i);
39
+ const i = J("style");
40
+ i.id = t, i.textContent = r, lr(n, i);
41
41
  }
42
42
  }
43
- function ar(e) {
43
+ function hr(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,39 +50,39 @@ function ar(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function ur(e, t) {
54
- return ae(
53
+ function lr(e, t) {
54
+ return ue(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function Tt(e, t, r) {
60
+ function Ht(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function Ze(e) {
63
+ function Qe(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function Q(e) {
66
+ function J(e) {
67
67
  return document.createElement(e);
68
68
  }
69
- function hr(e) {
69
+ function cr(e) {
70
70
  return document.createTextNode(e);
71
71
  }
72
- function L(e, t, r) {
72
+ function C(e, t, r) {
73
73
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
74
74
  }
75
- function lr(e) {
75
+ function fr(e) {
76
76
  return Array.from(e.childNodes);
77
77
  }
78
- function cr(e, t) {
78
+ function pr(e, t) {
79
79
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
80
80
  t);
81
81
  }
82
- function Ke(e, t, r) {
82
+ function et(e, t, r) {
83
83
  e.classList.toggle(t, !!r);
84
84
  }
85
- function fr(e) {
85
+ function mr(e) {
86
86
  const t = {};
87
87
  return e.childNodes.forEach(
88
88
  /** @param {Element} node */
@@ -91,95 +91,95 @@ function fr(e) {
91
91
  }
92
92
  ), t;
93
93
  }
94
- let Y;
95
- function J(e) {
96
- Y = e;
94
+ let q;
95
+ function Y(e) {
96
+ q = e;
97
97
  }
98
- function pr() {
99
- if (!Y)
98
+ function dr() {
99
+ if (!q)
100
100
  throw new Error("Function called outside component initialization");
101
- return Y;
101
+ return q;
102
102
  }
103
- function mr(e) {
104
- pr().$$.on_mount.push(e);
103
+ function br(e) {
104
+ dr().$$.on_mount.push(e);
105
105
  }
106
- const D = [], fe = [];
107
- let G = [];
108
- const et = [], dr = /* @__PURE__ */ Promise.resolve();
109
- let Oe = !1;
110
- function br() {
111
- Oe || (Oe = !0, dr.then(P));
106
+ const D = [], pe = [];
107
+ let F = [];
108
+ const tt = [], gr = /* @__PURE__ */ Promise.resolve();
109
+ let Ie = !1;
110
+ function yr() {
111
+ Ie || (Ie = !0, gr.then(P));
112
112
  }
113
- function Ie(e) {
114
- G.push(e);
113
+ function Ne(e) {
114
+ F.push(e);
115
115
  }
116
- const xe = /* @__PURE__ */ new Set();
116
+ const Se = /* @__PURE__ */ new Set();
117
117
  let R = 0;
118
118
  function P() {
119
119
  if (R !== 0)
120
120
  return;
121
- const e = Y;
121
+ const e = q;
122
122
  do {
123
123
  try {
124
124
  for (; R < D.length; ) {
125
125
  const t = D[R];
126
- R++, J(t), gr(t.$$);
126
+ R++, Y(t), vr(t.$$);
127
127
  }
128
128
  } catch (t) {
129
129
  throw D.length = 0, R = 0, t;
130
130
  }
131
- for (J(null), D.length = 0, R = 0; fe.length; )
132
- fe.pop()();
133
- for (let t = 0; t < G.length; t += 1) {
134
- const r = G[t];
135
- xe.has(r) || (xe.add(r), r());
131
+ for (Y(null), D.length = 0, R = 0; pe.length; )
132
+ pe.pop()();
133
+ for (let t = 0; t < F.length; t += 1) {
134
+ const r = F[t];
135
+ Se.has(r) || (Se.add(r), r());
136
136
  }
137
- G.length = 0;
137
+ F.length = 0;
138
138
  } while (D.length);
139
- for (; et.length; )
140
- et.pop()();
141
- Oe = !1, xe.clear(), J(e);
139
+ for (; tt.length; )
140
+ tt.pop()();
141
+ Ie = !1, Se.clear(), Y(e);
142
142
  }
143
- function gr(e) {
143
+ function vr(e) {
144
144
  if (e.fragment !== null) {
145
- e.update(), ee(e.before_update);
145
+ e.update(), te(e.before_update);
146
146
  const t = e.dirty;
147
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
147
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
148
148
  }
149
149
  }
150
- function yr(e) {
150
+ function Er(e) {
151
151
  const t = [], r = [];
152
- G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
152
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
153
153
  }
154
- const vr = /* @__PURE__ */ new Set();
155
- function Er(e, t) {
156
- e && e.i && (vr.delete(e), e.i(t));
154
+ const _r = /* @__PURE__ */ new Set();
155
+ function xr(e, t) {
156
+ e && e.i && (_r.delete(e), e.i(t));
157
157
  }
158
- function _r(e, t, r) {
158
+ function Sr(e, t, r) {
159
159
  const { fragment: n, after_update: i } = e.$$;
160
- n && n.m(t, r), Ie(() => {
161
- const o = e.$$.on_mount.map(St).filter(We);
162
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ee(o), e.$$.on_mount = [];
163
- }), i.forEach(Ie);
160
+ n && n.m(t, r), Ne(() => {
161
+ const o = e.$$.on_mount.map(wt).filter(Ze);
162
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
163
+ }), i.forEach(Ne);
164
164
  }
165
- function xr(e, t) {
165
+ function wr(e, t) {
166
166
  const r = e.$$;
167
- r.fragment !== null && (yr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
167
+ r.fragment !== null && (Er(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
168
168
  }
169
- function Sr(e, t) {
170
- e.$$.dirty[0] === -1 && (D.push(e), br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
169
+ function Br(e, t) {
170
+ e.$$.dirty[0] === -1 && (D.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
171
171
  }
172
- function Br(e, t, r, n, i, o, s = null, a = [-1]) {
173
- const u = Y;
174
- J(e);
172
+ function Tr(e, t, r, n, i, o, s = null, a = [-1]) {
173
+ const u = q;
174
+ Y(e);
175
175
  const h = e.$$ = {
176
176
  fragment: null,
177
177
  ctx: [],
178
178
  // state
179
179
  props: o,
180
- update: w,
180
+ update: B,
181
181
  not_equal: i,
182
- bound: qe(),
182
+ bound: Ke(),
183
183
  // lifecycle
184
184
  on_mount: [],
185
185
  on_destroy: [],
@@ -188,28 +188,28 @@ function Br(e, t, r, n, i, o, s = null, a = [-1]) {
188
188
  after_update: [],
189
189
  context: new Map(t.context || (u ? u.$$.context : [])),
190
190
  // everything else
191
- callbacks: qe(),
191
+ callbacks: Ke(),
192
192
  dirty: a,
193
193
  skip_bound: !1,
194
194
  root: t.target || u.$$.root
195
195
  };
196
196
  s && s(h.root);
197
197
  let l = !1;
198
- if (h.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
199
- const g = m.length ? m[0] : f;
200
- return h.ctx && i(h.ctx[c], h.ctx[c] = g) && (!h.skip_bound && h.bound[c] && h.bound[c](g), l && Sr(e, c)), f;
201
- }) : [], h.update(), l = !0, ee(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
198
+ if (h.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
199
+ const g = d.length ? d[0] : f;
200
+ return h.ctx && i(h.ctx[c], h.ctx[c] = g) && (!h.skip_bound && h.bound[c] && h.bound[c](g), l && Br(e, c)), f;
201
+ }) : [], h.update(), l = !0, te(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
202
202
  if (t.hydrate) {
203
- const c = lr(t.target);
204
- h.fragment && h.fragment.l(c), c.forEach(Ze);
203
+ const c = fr(t.target);
204
+ h.fragment && h.fragment.l(c), c.forEach(Qe);
205
205
  } else
206
206
  h.fragment && h.fragment.c();
207
- t.intro && Er(e.$$.fragment), _r(e, t.target, t.anchor), P();
207
+ t.intro && xr(e.$$.fragment), Sr(e, t.target, t.anchor), P();
208
208
  }
209
- J(u);
209
+ Y(u);
210
210
  }
211
- let Ht;
212
- typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
211
+ let Pt;
212
+ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
213
213
  /** The Svelte component constructor */
214
214
  $$ctor;
215
215
  /** Slots */
@@ -251,29 +251,29 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
251
251
  let o;
252
252
  return {
253
253
  c: function() {
254
- o = Q("slot"), i !== "default" && L(o, "name", i);
254
+ o = J("slot"), i !== "default" && C(o, "name", i);
255
255
  },
256
256
  /**
257
257
  * @param {HTMLElement} target
258
258
  * @param {HTMLElement} [anchor]
259
259
  */
260
260
  m: function(u, h) {
261
- Tt(u, o, h);
261
+ Ht(u, o, h);
262
262
  },
263
263
  d: function(u) {
264
- u && Ze(o);
264
+ u && Qe(o);
265
265
  }
266
266
  };
267
267
  };
268
268
  };
269
269
  if (await Promise.resolve(), !this.$$cn || this.$$c)
270
270
  return;
271
- const t = {}, r = fr(this);
271
+ const t = {}, r = mr(this);
272
272
  for (const i of this.$$s)
273
273
  i in r && (t[i] = [e(i)]);
274
274
  for (const i of this.attributes) {
275
275
  const o = this.$$g_p(i.name);
276
- o in this.$$d || (this.$$d[o] = ue(o, i.value, this.$$p_d, "toProp"));
276
+ o in this.$$d || (this.$$d[o] = he(o, i.value, this.$$p_d, "toProp"));
277
277
  }
278
278
  for (const i in this.$$p_d)
279
279
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -291,7 +291,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
291
291
  this.$$r = !0;
292
292
  for (const i in this.$$p_d)
293
293
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
294
- const o = ue(
294
+ const o = he(
295
295
  i,
296
296
  this.$$d[i],
297
297
  this.$$p_d,
@@ -313,7 +313,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
313
313
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
314
314
  // and setting attributes through setAttribute etc, this is helpful
315
315
  attributeChangedCallback(e, t, r) {
316
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ue(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
316
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = he(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
317
317
  }
318
318
  disconnectedCallback() {
319
319
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -326,7 +326,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
326
326
  ) || e;
327
327
  }
328
328
  });
329
- function ue(e, t, r, n) {
329
+ function he(e, t, r, n) {
330
330
  const i = r[e]?.type;
331
331
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
332
332
  return t;
@@ -355,8 +355,8 @@ function ue(e, t, r, n) {
355
355
  return t;
356
356
  }
357
357
  }
358
- function wr(e, t, r, n, i, o) {
359
- let s = class extends Ht {
358
+ function Hr(e, t, r, n, i, o) {
359
+ let s = class extends Pt {
360
360
  constructor() {
361
361
  super(e, r, i), this.$$p_d = t;
362
362
  }
@@ -372,7 +372,7 @@ function wr(e, t, r, n, i, o) {
372
372
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
373
373
  },
374
374
  set(u) {
375
- u = ue(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
375
+ u = he(a, u, t), this.$$d[a] = u, this.$$c?.$set({ [a]: u });
376
376
  }
377
377
  });
378
378
  }), n.forEach((a) => {
@@ -384,7 +384,7 @@ function wr(e, t, r, n, i, o) {
384
384
  }), e.element = /** @type {any} */
385
385
  s, s;
386
386
  }
387
- class Tr {
387
+ class Pr {
388
388
  /**
389
389
  * ### PRIVATE API
390
390
  *
@@ -403,7 +403,7 @@ class Tr {
403
403
  $$set = void 0;
404
404
  /** @returns {void} */
405
405
  $destroy() {
406
- xr(this, 1), this.$destroy = w;
406
+ wr(this, 1), this.$destroy = B;
407
407
  }
408
408
  /**
409
409
  * @template {Extract<keyof Events, string>} K
@@ -412,8 +412,8 @@ class Tr {
412
412
  * @returns {() => void}
413
413
  */
414
414
  $on(t, r) {
415
- if (!We(r))
416
- return w;
415
+ if (!Ze(r))
416
+ return B;
417
417
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
418
418
  return n.push(r), () => {
419
419
  const i = n.indexOf(r);
@@ -425,18 +425,19 @@ class Tr {
425
425
  * @returns {void}
426
426
  */
427
427
  $set(t) {
428
- this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
428
+ this.$$set && !sr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
429
429
  }
430
430
  }
431
- const Hr = "4";
432
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
433
- function Pr(e, t) {
431
+ const Ar = "4";
432
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ar);
433
+ const G = "__WIDGET_GLOBAL_STYLE_CACHE__";
434
+ function Or(e, t) {
434
435
  if (e) {
435
436
  const r = document.createElement("style");
436
437
  r.innerHTML = t, e.appendChild(r);
437
438
  }
438
439
  }
439
- function Ar(e, t) {
440
+ function Ir(e, t) {
440
441
  if (!e || !t)
441
442
  return;
442
443
  const r = new URL(t);
@@ -447,13 +448,40 @@ function Ar(e, t) {
447
448
  console.error("There was an error while trying to load client styling from URL", n);
448
449
  });
449
450
  }
450
- function Or(e, t, r) {
451
- if (window.emMessageBus) {
452
- const n = document.createElement("style");
453
- window.emMessageBus.subscribe(t, (i) => {
454
- n.innerHTML = i, e && e.appendChild(n);
451
+ function Nr(e, t, r, n = !1) {
452
+ if (!window.emMessageBus)
453
+ return;
454
+ if (!("adoptedStyleSheets" in Document.prototype) || !n)
455
+ return r = Lr(e, t), r;
456
+ window[G] || (window[G] = {}), r = Cr(e, t);
457
+ const o = r.unsubscribe.bind(r), s = () => {
458
+ if (window[G][t]) {
459
+ const a = window[G][t];
460
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[G][t];
461
+ }
462
+ o();
463
+ };
464
+ return r.unsubscribe = s, r;
465
+ }
466
+ function Lr(e, t) {
467
+ const r = document.createElement("style");
468
+ return window.emMessageBus.subscribe(t, (n) => {
469
+ e && (r.innerHTML = n, e.appendChild(r));
470
+ });
471
+ }
472
+ function Cr(e, t) {
473
+ return window.emMessageBus.subscribe(t, (r) => {
474
+ if (!e)
475
+ return;
476
+ const n = e.getRootNode(), i = window[G];
477
+ let o = i[t]?.sheet;
478
+ o ? i[t].refCount = i[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), i[t] = {
479
+ sheet: o,
480
+ refCount: 1
455
481
  });
456
- }
482
+ const s = n.adoptedStyleSheets || [];
483
+ s.includes(o) || (n.adoptedStyleSheets = [...s, o]);
484
+ });
457
485
  }
458
486
  /*! *****************************************************************************
459
487
  Copyright (c) Microsoft Corporation.
@@ -469,24 +497,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
469
497
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
470
498
  PERFORMANCE OF THIS SOFTWARE.
471
499
  ***************************************************************************** */
472
- var Ne = function(e, t) {
473
- return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
500
+ var Le = function(e, t) {
501
+ return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
474
502
  r.__proto__ = n;
475
503
  } || function(r, n) {
476
504
  for (var i in n)
477
505
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
478
- }, Ne(e, t);
506
+ }, Le(e, t);
479
507
  };
480
- function te(e, t) {
508
+ function re(e, t) {
481
509
  if (typeof t != "function" && t !== null)
482
510
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
483
- Ne(e, t);
511
+ Le(e, t);
484
512
  function r() {
485
513
  this.constructor = e;
486
514
  }
487
515
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
488
516
  }
489
- function Le(e) {
517
+ function Ce(e) {
490
518
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
491
519
  if (r)
492
520
  return r.call(e);
@@ -498,7 +526,7 @@ function Le(e) {
498
526
  };
499
527
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
500
528
  }
501
- function Ce(e, t) {
529
+ function Me(e, t) {
502
530
  var r = typeof Symbol == "function" && e[Symbol.iterator];
503
531
  if (!r)
504
532
  return e;
@@ -518,7 +546,7 @@ function Ce(e, t) {
518
546
  }
519
547
  return o;
520
548
  }
521
- function Me(e, t, r) {
549
+ function $e(e, t, r) {
522
550
  if (arguments.length === 2)
523
551
  for (var n = 0, i = t.length, o; n < i; n++)
524
552
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
@@ -527,13 +555,13 @@ function Me(e, t, r) {
527
555
  function A(e) {
528
556
  return typeof e == "function";
529
557
  }
530
- function Pt(e) {
558
+ function At(e) {
531
559
  var t = function(n) {
532
560
  Error.call(n), n.stack = new Error().stack;
533
561
  }, r = e(t);
534
562
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
535
563
  }
536
- var Se = Pt(function(e) {
564
+ var we = At(function(e) {
537
565
  return function(r) {
538
566
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
539
567
  ` + r.map(function(n, i) {
@@ -542,13 +570,13 @@ var Se = Pt(function(e) {
542
570
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
543
571
  };
544
572
  });
545
- function $e(e, t) {
573
+ function Re(e, t) {
546
574
  if (e) {
547
575
  var r = e.indexOf(t);
548
576
  0 <= r && e.splice(r, 1);
549
577
  }
550
578
  }
551
- var be = function() {
579
+ var ge = function() {
552
580
  function e(t) {
553
581
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
554
582
  }
@@ -560,7 +588,7 @@ var be = function() {
560
588
  if (s)
561
589
  if (this._parentage = null, Array.isArray(s))
562
590
  try {
563
- for (var a = Le(s), u = a.next(); !u.done; u = a.next()) {
591
+ for (var a = Ce(s), u = a.next(); !u.done; u = a.next()) {
564
592
  var h = u.value;
565
593
  h.remove(this);
566
594
  }
@@ -581,25 +609,25 @@ var be = function() {
581
609
  try {
582
610
  l();
583
611
  } catch (b) {
584
- o = b instanceof Se ? b.errors : [b];
612
+ o = b instanceof we ? b.errors : [b];
585
613
  }
586
614
  var c = this._finalizers;
587
615
  if (c) {
588
616
  this._finalizers = null;
589
617
  try {
590
- for (var f = Le(c), m = f.next(); !m.done; m = f.next()) {
591
- var g = m.value;
618
+ for (var f = Ce(c), d = f.next(); !d.done; d = f.next()) {
619
+ var g = d.value;
592
620
  try {
593
- tt(g);
621
+ rt(g);
594
622
  } catch (b) {
595
- o = o ?? [], b instanceof Se ? o = Me(Me([], Ce(o)), Ce(b.errors)) : o.push(b);
623
+ o = o ?? [], b instanceof we ? o = $e($e([], Me(o)), Me(b.errors)) : o.push(b);
596
624
  }
597
625
  }
598
626
  } catch (b) {
599
627
  n = { error: b };
600
628
  } finally {
601
629
  try {
602
- m && !m.done && (i = f.return) && i.call(f);
630
+ d && !d.done && (i = f.return) && i.call(f);
603
631
  } finally {
604
632
  if (n)
605
633
  throw n.error;
@@ -607,13 +635,13 @@ var be = function() {
607
635
  }
608
636
  }
609
637
  if (o)
610
- throw new Se(o);
638
+ throw new we(o);
611
639
  }
612
640
  }, e.prototype.add = function(t) {
613
641
  var r;
614
642
  if (t && t !== this)
615
643
  if (this.closed)
616
- tt(t);
644
+ rt(t);
617
645
  else {
618
646
  if (t instanceof e) {
619
647
  if (t.closed || t._hasParent(this))
@@ -630,52 +658,52 @@ var be = function() {
630
658
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
631
659
  }, e.prototype._removeParent = function(t) {
632
660
  var r = this._parentage;
633
- r === t ? this._parentage = null : Array.isArray(r) && $e(r, t);
661
+ r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
634
662
  }, e.prototype.remove = function(t) {
635
663
  var r = this._finalizers;
636
- r && $e(r, t), t instanceof e && t._removeParent(this);
664
+ r && Re(r, t), t instanceof e && t._removeParent(this);
637
665
  }, e.EMPTY = function() {
638
666
  var t = new e();
639
667
  return t.closed = !0, t;
640
668
  }(), e;
641
- }(), At = be.EMPTY;
642
- function Ot(e) {
643
- return e instanceof be || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
669
+ }(), Ot = ge.EMPTY;
670
+ function It(e) {
671
+ return e instanceof ge || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
644
672
  }
645
- function tt(e) {
673
+ function rt(e) {
646
674
  A(e) ? e() : e.unsubscribe();
647
675
  }
648
- var Ir = {
676
+ var Mr = {
649
677
  Promise: void 0
650
- }, Nr = {
678
+ }, $r = {
651
679
  setTimeout: function(e, t) {
652
680
  for (var r = [], n = 2; n < arguments.length; n++)
653
681
  r[n - 2] = arguments[n];
654
- return setTimeout.apply(void 0, Me([e, t], Ce(r)));
682
+ return setTimeout.apply(void 0, $e([e, t], Me(r)));
655
683
  },
656
684
  clearTimeout: function(e) {
657
685
  return clearTimeout(e);
658
686
  },
659
687
  delegate: void 0
660
688
  };
661
- function Lr(e) {
662
- Nr.setTimeout(function() {
689
+ function Rr(e) {
690
+ $r.setTimeout(function() {
663
691
  throw e;
664
692
  });
665
693
  }
666
- function rt() {
694
+ function nt() {
667
695
  }
668
- function he(e) {
696
+ function le(e) {
669
697
  e();
670
698
  }
671
- var It = function(e) {
672
- te(t, e);
699
+ var Nt = function(e) {
700
+ re(t, e);
673
701
  function t(r) {
674
702
  var n = e.call(this) || this;
675
- return n.isStopped = !1, r ? (n.destination = r, Ot(r) && r.add(n)) : n.destination = $r, n;
703
+ return n.isStopped = !1, r ? (n.destination = r, It(r) && r.add(n)) : n.destination = Gr, n;
676
704
  }
677
705
  return t.create = function(r, n, i) {
678
- return new Re(r, n, i);
706
+ return new Ue(r, n, i);
679
707
  }, t.prototype.next = function(r) {
680
708
  this.isStopped || this._next(r);
681
709
  }, t.prototype.error = function(r) {
@@ -699,7 +727,7 @@ var It = function(e) {
699
727
  this.unsubscribe();
700
728
  }
701
729
  }, t;
702
- }(be), Cr = function() {
730
+ }(ge), Ur = function() {
703
731
  function e(t) {
704
732
  this.partialObserver = t;
705
733
  }
@@ -709,7 +737,7 @@ var It = function(e) {
709
737
  try {
710
738
  r.next(t);
711
739
  } catch (n) {
712
- ie(n);
740
+ oe(n);
713
741
  }
714
742
  }, e.prototype.error = function(t) {
715
743
  var r = this.partialObserver;
@@ -717,56 +745,56 @@ var It = function(e) {
717
745
  try {
718
746
  r.error(t);
719
747
  } catch (n) {
720
- ie(n);
748
+ oe(n);
721
749
  }
722
750
  else
723
- ie(t);
751
+ oe(t);
724
752
  }, e.prototype.complete = function() {
725
753
  var t = this.partialObserver;
726
754
  if (t.complete)
727
755
  try {
728
756
  t.complete();
729
757
  } catch (r) {
730
- ie(r);
758
+ oe(r);
731
759
  }
732
760
  }, e;
733
- }(), Re = function(e) {
734
- te(t, e);
761
+ }(), Ue = function(e) {
762
+ re(t, e);
735
763
  function t(r, n, i) {
736
764
  var o = e.call(this) || this, s;
737
765
  return A(r) || !r ? s = {
738
766
  next: r ?? void 0,
739
767
  error: n ?? void 0,
740
768
  complete: i ?? void 0
741
- } : s = r, o.destination = new Cr(s), o;
769
+ } : s = r, o.destination = new Ur(s), o;
742
770
  }
743
771
  return t;
744
- }(It);
745
- function ie(e) {
746
- Lr(e);
772
+ }(Nt);
773
+ function oe(e) {
774
+ Rr(e);
747
775
  }
748
- function Mr(e) {
776
+ function Dr(e) {
749
777
  throw e;
750
778
  }
751
- var $r = {
779
+ var Gr = {
752
780
  closed: !0,
753
- next: rt,
754
- error: Mr,
755
- complete: rt
756
- }, Rr = function() {
781
+ next: nt,
782
+ error: Dr,
783
+ complete: nt
784
+ }, Fr = function() {
757
785
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
758
786
  }();
759
- function Ur(e) {
787
+ function jr(e) {
760
788
  return e;
761
789
  }
762
- function Dr(e) {
763
- return e.length === 0 ? Ur : e.length === 1 ? e[0] : function(r) {
790
+ function kr(e) {
791
+ return e.length === 0 ? jr : e.length === 1 ? e[0] : function(r) {
764
792
  return e.reduce(function(n, i) {
765
793
  return i(n);
766
794
  }, r);
767
795
  };
768
796
  }
769
- var nt = function() {
797
+ var it = function() {
770
798
  function e(t) {
771
799
  t && (this._subscribe = t);
772
800
  }
@@ -774,8 +802,8 @@ var nt = function() {
774
802
  var r = new e();
775
803
  return r.source = this, r.operator = t, r;
776
804
  }, e.prototype.subscribe = function(t, r, n) {
777
- var i = this, o = Fr(t) ? t : new Re(t, r, n);
778
- return he(function() {
805
+ var i = this, o = Xr(t) ? t : new Ue(t, r, n);
806
+ return le(function() {
779
807
  var s = i, a = s.operator, u = s.source;
780
808
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
781
809
  }), o;
@@ -787,8 +815,8 @@ var nt = function() {
787
815
  }
788
816
  }, e.prototype.forEach = function(t, r) {
789
817
  var n = this;
790
- return r = it(r), new r(function(i, o) {
791
- var s = new Re({
818
+ return r = ot(r), new r(function(i, o) {
819
+ var s = new Ue({
792
820
  next: function(a) {
793
821
  try {
794
822
  t(a);
@@ -804,15 +832,15 @@ var nt = function() {
804
832
  }, e.prototype._subscribe = function(t) {
805
833
  var r;
806
834
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
807
- }, e.prototype[Rr] = function() {
835
+ }, e.prototype[Fr] = function() {
808
836
  return this;
809
837
  }, e.prototype.pipe = function() {
810
838
  for (var t = [], r = 0; r < arguments.length; r++)
811
839
  t[r] = arguments[r];
812
- return Dr(t)(this);
840
+ return kr(t)(this);
813
841
  }, e.prototype.toPromise = function(t) {
814
842
  var r = this;
815
- return t = it(t), new t(function(n, i) {
843
+ return t = ot(t), new t(function(n, i) {
816
844
  var o;
817
845
  r.subscribe(function(s) {
818
846
  return o = s;
@@ -826,40 +854,40 @@ var nt = function() {
826
854
  return new e(t);
827
855
  }, e;
828
856
  }();
829
- function it(e) {
857
+ function ot(e) {
830
858
  var t;
831
- return (t = e ?? Ir.Promise) !== null && t !== void 0 ? t : Promise;
859
+ return (t = e ?? Mr.Promise) !== null && t !== void 0 ? t : Promise;
832
860
  }
833
- function Gr(e) {
861
+ function Vr(e) {
834
862
  return e && A(e.next) && A(e.error) && A(e.complete);
835
863
  }
836
- function Fr(e) {
837
- return e && e instanceof It || Gr(e) && Ot(e);
864
+ function Xr(e) {
865
+ return e && e instanceof Nt || Vr(e) && It(e);
838
866
  }
839
- var jr = Pt(function(e) {
867
+ var zr = At(function(e) {
840
868
  return function() {
841
869
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
842
870
  };
843
- }), Nt = function(e) {
844
- te(t, e);
871
+ }), Lt = function(e) {
872
+ re(t, e);
845
873
  function t() {
846
874
  var r = e.call(this) || this;
847
875
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
848
876
  }
849
877
  return t.prototype.lift = function(r) {
850
- var n = new ot(this, this);
878
+ var n = new st(this, this);
851
879
  return n.operator = r, n;
852
880
  }, t.prototype._throwIfClosed = function() {
853
881
  if (this.closed)
854
- throw new jr();
882
+ throw new zr();
855
883
  }, t.prototype.next = function(r) {
856
884
  var n = this;
857
- he(function() {
885
+ le(function() {
858
886
  var i, o;
859
887
  if (n._throwIfClosed(), !n.isStopped) {
860
888
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
861
889
  try {
862
- for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
890
+ for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
863
891
  var u = a.value;
864
892
  u.next(r);
865
893
  }
@@ -877,7 +905,7 @@ var jr = Pt(function(e) {
877
905
  });
878
906
  }, t.prototype.error = function(r) {
879
907
  var n = this;
880
- he(function() {
908
+ le(function() {
881
909
  if (n._throwIfClosed(), !n.isStopped) {
882
910
  n.hasError = n.isStopped = !0, n.thrownError = r;
883
911
  for (var i = n.observers; i.length; )
@@ -886,7 +914,7 @@ var jr = Pt(function(e) {
886
914
  });
887
915
  }, t.prototype.complete = function() {
888
916
  var r = this;
889
- he(function() {
917
+ le(function() {
890
918
  if (r._throwIfClosed(), !r.isStopped) {
891
919
  r.isStopped = !0;
892
920
  for (var n = r.observers; n.length; )
@@ -908,20 +936,20 @@ var jr = Pt(function(e) {
908
936
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
909
937
  }, t.prototype._innerSubscribe = function(r) {
910
938
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
911
- return o || s ? At : (this.currentObservers = null, a.push(r), new be(function() {
912
- n.currentObservers = null, $e(a, r);
939
+ return o || s ? Ot : (this.currentObservers = null, a.push(r), new ge(function() {
940
+ n.currentObservers = null, Re(a, r);
913
941
  }));
914
942
  }, t.prototype._checkFinalizedStatuses = function(r) {
915
943
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
916
944
  i ? r.error(o) : s && r.complete();
917
945
  }, t.prototype.asObservable = function() {
918
- var r = new nt();
946
+ var r = new it();
919
947
  return r.source = this, r;
920
948
  }, t.create = function(r, n) {
921
- return new ot(r, n);
949
+ return new st(r, n);
922
950
  }, t;
923
- }(nt), ot = function(e) {
924
- te(t, e);
951
+ }(it), st = function(e) {
952
+ re(t, e);
925
953
  function t(r, n) {
926
954
  var i = e.call(this) || this;
927
955
  return i.destination = r, i.source = n, i;
@@ -937,17 +965,17 @@ var jr = Pt(function(e) {
937
965
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
938
966
  }, t.prototype._subscribe = function(r) {
939
967
  var n, i;
940
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : At;
968
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ot;
941
969
  }, t;
942
- }(Nt), Lt = {
970
+ }(Lt), Ct = {
943
971
  now: function() {
944
- return (Lt.delegate || Date).now();
972
+ return (Ct.delegate || Date).now();
945
973
  },
946
974
  delegate: void 0
947
- }, kr = function(e) {
948
- te(t, e);
975
+ }, Wr = function(e) {
976
+ re(t, e);
949
977
  function t(r, n, i) {
950
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Lt);
978
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ct);
951
979
  var o = e.call(this) || this;
952
980
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
953
981
  }
@@ -967,20 +995,20 @@ var jr = Pt(function(e) {
967
995
  h && o.splice(0, h + 1);
968
996
  }
969
997
  }, t;
970
- }(Nt);
971
- const st = [], at = {}, Vr = (e, t = 0) => {
972
- if (st.indexOf(e) == -1) {
973
- const r = new kr(t);
974
- at[e] = r, st.push(e);
998
+ }(Lt);
999
+ const at = [], ut = {}, Zr = (e, t = 0) => {
1000
+ if (at.indexOf(e) == -1) {
1001
+ const r = new Wr(t);
1002
+ ut[e] = r, at.push(e);
975
1003
  }
976
- return at[e];
1004
+ return ut[e];
977
1005
  }, U = [];
978
- function Xr(e, t) {
1006
+ function Qr(e, t) {
979
1007
  return {
980
- subscribe: ge(e, t).subscribe
1008
+ subscribe: ye(e, t).subscribe
981
1009
  };
982
1010
  }
983
- function ge(e, t = w) {
1011
+ function ye(e, t = B) {
984
1012
  let r;
985
1013
  const n = /* @__PURE__ */ new Set();
986
1014
  function i(a) {
@@ -998,34 +1026,34 @@ function ge(e, t = w) {
998
1026
  function o(a) {
999
1027
  i(a(e));
1000
1028
  }
1001
- function s(a, u = w) {
1029
+ function s(a, u = B) {
1002
1030
  const h = [a, u];
1003
- return n.add(h), n.size === 1 && (r = t(i, o) || w), a(e), () => {
1031
+ return n.add(h), n.size === 1 && (r = t(i, o) || B), a(e), () => {
1004
1032
  n.delete(h), n.size === 0 && r && (r(), r = null);
1005
1033
  };
1006
1034
  }
1007
1035
  return { set: i, update: o, subscribe: s };
1008
1036
  }
1009
- function X(e, t, r) {
1037
+ function z(e, t, r) {
1010
1038
  const n = !Array.isArray(e), i = n ? [e] : e;
1011
1039
  if (!i.every(Boolean))
1012
1040
  throw new Error("derived() expects stores as input, got a falsy value");
1013
1041
  const o = t.length < 2;
1014
- return Xr(r, (s, a) => {
1042
+ return Qr(r, (s, a) => {
1015
1043
  let u = !1;
1016
1044
  const h = [];
1017
- let l = 0, c = w;
1045
+ let l = 0, c = B;
1018
1046
  const f = () => {
1019
1047
  if (l)
1020
1048
  return;
1021
1049
  c();
1022
1050
  const g = t(n ? h[0] : h, s, a);
1023
- o ? s(g) : c = We(g) ? g : w;
1024
- }, m = i.map(
1025
- (g, b) => wt(
1051
+ o ? s(g) : c = Ze(g) ? g : B;
1052
+ }, d = i.map(
1053
+ (g, b) => Tt(
1026
1054
  g,
1027
- (B) => {
1028
- h[b] = B, l &= ~(1 << b), u && f();
1055
+ (x) => {
1056
+ h[b] = x, l &= ~(1 << b), u && f();
1029
1057
  },
1030
1058
  () => {
1031
1059
  l |= 1 << b;
@@ -1033,112 +1061,112 @@ function X(e, t, r) {
1033
1061
  )
1034
1062
  );
1035
1063
  return u = !0, f(), function() {
1036
- ee(m), c(), u = !1;
1064
+ te(d), c(), u = !1;
1037
1065
  };
1038
1066
  });
1039
1067
  }
1040
- function zr(e) {
1068
+ function Jr(e) {
1041
1069
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1042
1070
  }
1043
- var Wr = function(t) {
1044
- return Zr(t) && !Qr(t);
1071
+ var Yr = function(t) {
1072
+ return qr(t) && !Kr(t);
1045
1073
  };
1046
- function Zr(e) {
1074
+ function qr(e) {
1047
1075
  return !!e && typeof e == "object";
1048
1076
  }
1049
- function Qr(e) {
1077
+ function Kr(e) {
1050
1078
  var t = Object.prototype.toString.call(e);
1051
- return t === "[object RegExp]" || t === "[object Date]" || qr(e);
1079
+ return t === "[object RegExp]" || t === "[object Date]" || rn(e);
1052
1080
  }
1053
- var Jr = typeof Symbol == "function" && Symbol.for, Yr = Jr ? Symbol.for("react.element") : 60103;
1054
- function qr(e) {
1055
- return e.$$typeof === Yr;
1081
+ var en = typeof Symbol == "function" && Symbol.for, tn = en ? Symbol.for("react.element") : 60103;
1082
+ function rn(e) {
1083
+ return e.$$typeof === tn;
1056
1084
  }
1057
- function Kr(e) {
1085
+ function nn(e) {
1058
1086
  return Array.isArray(e) ? [] : {};
1059
1087
  }
1060
- function q(e, t) {
1061
- return t.clone !== !1 && t.isMergeableObject(e) ? F(Kr(e), e, t) : e;
1088
+ function K(e, t) {
1089
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(nn(e), e, t) : e;
1062
1090
  }
1063
- function en(e, t, r) {
1091
+ function on(e, t, r) {
1064
1092
  return e.concat(t).map(function(n) {
1065
- return q(n, r);
1093
+ return K(n, r);
1066
1094
  });
1067
1095
  }
1068
- function tn(e, t) {
1096
+ function sn(e, t) {
1069
1097
  if (!t.customMerge)
1070
- return F;
1098
+ return j;
1071
1099
  var r = t.customMerge(e);
1072
- return typeof r == "function" ? r : F;
1100
+ return typeof r == "function" ? r : j;
1073
1101
  }
1074
- function rn(e) {
1102
+ function an(e) {
1075
1103
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1076
1104
  return Object.propertyIsEnumerable.call(e, t);
1077
1105
  }) : [];
1078
1106
  }
1079
- function ut(e) {
1080
- return Object.keys(e).concat(rn(e));
1107
+ function ht(e) {
1108
+ return Object.keys(e).concat(an(e));
1081
1109
  }
1082
- function Ct(e, t) {
1110
+ function Mt(e, t) {
1083
1111
  try {
1084
1112
  return t in e;
1085
1113
  } catch {
1086
1114
  return !1;
1087
1115
  }
1088
1116
  }
1089
- function nn(e, t) {
1090
- return Ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1117
+ function un(e, t) {
1118
+ return Mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1091
1119
  }
1092
- function on(e, t, r) {
1120
+ function hn(e, t, r) {
1093
1121
  var n = {};
1094
- return r.isMergeableObject(e) && ut(e).forEach(function(i) {
1095
- n[i] = q(e[i], r);
1096
- }), ut(t).forEach(function(i) {
1097
- nn(e, i) || (Ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = tn(i, r)(e[i], t[i], r) : n[i] = q(t[i], r));
1122
+ return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1123
+ n[i] = K(e[i], r);
1124
+ }), ht(t).forEach(function(i) {
1125
+ un(e, i) || (Mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = sn(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1098
1126
  }), n;
1099
1127
  }
1100
- function F(e, t, r) {
1101
- r = r || {}, r.arrayMerge = r.arrayMerge || en, r.isMergeableObject = r.isMergeableObject || Wr, r.cloneUnlessOtherwiseSpecified = q;
1128
+ function j(e, t, r) {
1129
+ r = r || {}, r.arrayMerge = r.arrayMerge || on, r.isMergeableObject = r.isMergeableObject || Yr, r.cloneUnlessOtherwiseSpecified = K;
1102
1130
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1103
- return o ? n ? r.arrayMerge(e, t, r) : on(e, t, r) : q(t, r);
1131
+ return o ? n ? r.arrayMerge(e, t, r) : hn(e, t, r) : K(t, r);
1104
1132
  }
1105
- F.all = function(t, r) {
1133
+ j.all = function(t, r) {
1106
1134
  if (!Array.isArray(t))
1107
1135
  throw new Error("first argument should be an array");
1108
1136
  return t.reduce(function(n, i) {
1109
- return F(n, i, r);
1137
+ return j(n, i, r);
1110
1138
  }, {});
1111
1139
  };
1112
- var sn = F, an = sn;
1113
- const un = /* @__PURE__ */ zr(an);
1114
- var Ue = function(e, t) {
1115
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1140
+ var ln = j, cn = ln;
1141
+ const fn = /* @__PURE__ */ Jr(cn);
1142
+ var De = function(e, t) {
1143
+ return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1116
1144
  r.__proto__ = n;
1117
1145
  } || function(r, n) {
1118
1146
  for (var i in n)
1119
1147
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1120
- }, Ue(e, t);
1148
+ }, De(e, t);
1121
1149
  };
1122
- function ye(e, t) {
1150
+ function ve(e, t) {
1123
1151
  if (typeof t != "function" && t !== null)
1124
1152
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1125
- Ue(e, t);
1153
+ De(e, t);
1126
1154
  function r() {
1127
1155
  this.constructor = e;
1128
1156
  }
1129
1157
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1130
1158
  }
1131
- var H = function() {
1132
- return H = Object.assign || function(t) {
1159
+ var T = function() {
1160
+ return T = Object.assign || function(t) {
1133
1161
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1134
1162
  r = arguments[n];
1135
1163
  for (var o in r)
1136
1164
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1137
1165
  }
1138
1166
  return t;
1139
- }, H.apply(this, arguments);
1167
+ }, T.apply(this, arguments);
1140
1168
  };
1141
- function hn(e, t) {
1169
+ function pn(e, t) {
1142
1170
  var r = {};
1143
1171
  for (var n in e)
1144
1172
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -1153,37 +1181,37 @@ function Be(e, t, r) {
1153
1181
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1154
1182
  return e.concat(o || Array.prototype.slice.call(t));
1155
1183
  }
1156
- function we(e, t) {
1157
- var r = t && t.cache ? t.cache : bn, n = t && t.serializer ? t.serializer : mn, i = t && t.strategy ? t.strategy : fn;
1184
+ function Te(e, t) {
1185
+ var r = t && t.cache ? t.cache : En, n = t && t.serializer ? t.serializer : yn, i = t && t.strategy ? t.strategy : bn;
1158
1186
  return i(e, {
1159
1187
  cache: r,
1160
1188
  serializer: n
1161
1189
  });
1162
1190
  }
1163
- function ln(e) {
1191
+ function mn(e) {
1164
1192
  return e == null || typeof e == "number" || typeof e == "boolean";
1165
1193
  }
1166
- function cn(e, t, r, n) {
1167
- var i = ln(n) ? n : r(n), o = t.get(i);
1194
+ function dn(e, t, r, n) {
1195
+ var i = mn(n) ? n : r(n), o = t.get(i);
1168
1196
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1169
1197
  }
1170
- function Mt(e, t, r) {
1198
+ function $t(e, t, r) {
1171
1199
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1172
1200
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1173
1201
  }
1174
- function $t(e, t, r, n, i) {
1202
+ function Rt(e, t, r, n, i) {
1175
1203
  return r.bind(t, e, n, i);
1176
1204
  }
1177
- function fn(e, t) {
1178
- var r = e.length === 1 ? cn : Mt;
1179
- return $t(e, this, r, t.cache.create(), t.serializer);
1205
+ function bn(e, t) {
1206
+ var r = e.length === 1 ? dn : $t;
1207
+ return Rt(e, this, r, t.cache.create(), t.serializer);
1180
1208
  }
1181
- function pn(e, t) {
1182
- return $t(e, this, Mt, t.cache.create(), t.serializer);
1209
+ function gn(e, t) {
1210
+ return Rt(e, this, $t, t.cache.create(), t.serializer);
1183
1211
  }
1184
- var mn = function() {
1212
+ var yn = function() {
1185
1213
  return JSON.stringify(arguments);
1186
- }, dn = (
1214
+ }, vn = (
1187
1215
  /** @class */
1188
1216
  function() {
1189
1217
  function e() {
@@ -1195,21 +1223,21 @@ var mn = function() {
1195
1223
  this.cache[t] = r;
1196
1224
  }, e;
1197
1225
  }()
1198
- ), bn = {
1226
+ ), En = {
1199
1227
  create: function() {
1200
- return new dn();
1228
+ return new vn();
1201
1229
  }
1202
- }, Te = {
1203
- variadic: pn
1204
- }, pe = function() {
1205
- return pe = Object.assign || function(t) {
1230
+ }, He = {
1231
+ variadic: gn
1232
+ }, me = function() {
1233
+ return me = Object.assign || function(t) {
1206
1234
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1207
1235
  r = arguments[n];
1208
1236
  for (var o in r)
1209
1237
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1210
1238
  }
1211
1239
  return t;
1212
- }, pe.apply(this, arguments);
1240
+ }, me.apply(this, arguments);
1213
1241
  };
1214
1242
  var p;
1215
1243
  (function(e) {
@@ -1219,47 +1247,47 @@ var v;
1219
1247
  (function(e) {
1220
1248
  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";
1221
1249
  })(v || (v = {}));
1222
- var j;
1250
+ var k;
1223
1251
  (function(e) {
1224
1252
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1225
- })(j || (j = {}));
1226
- function ht(e) {
1253
+ })(k || (k = {}));
1254
+ function lt(e) {
1227
1255
  return e.type === v.literal;
1228
1256
  }
1229
- function gn(e) {
1257
+ function _n(e) {
1230
1258
  return e.type === v.argument;
1231
1259
  }
1232
- function Rt(e) {
1260
+ function Ut(e) {
1233
1261
  return e.type === v.number;
1234
1262
  }
1235
- function Ut(e) {
1263
+ function Dt(e) {
1236
1264
  return e.type === v.date;
1237
1265
  }
1238
- function Dt(e) {
1266
+ function Gt(e) {
1239
1267
  return e.type === v.time;
1240
1268
  }
1241
- function Gt(e) {
1269
+ function Ft(e) {
1242
1270
  return e.type === v.select;
1243
1271
  }
1244
- function Ft(e) {
1272
+ function jt(e) {
1245
1273
  return e.type === v.plural;
1246
1274
  }
1247
- function yn(e) {
1275
+ function xn(e) {
1248
1276
  return e.type === v.pound;
1249
1277
  }
1250
- function jt(e) {
1278
+ function kt(e) {
1251
1279
  return e.type === v.tag;
1252
1280
  }
1253
- function kt(e) {
1254
- return !!(e && typeof e == "object" && e.type === j.number);
1281
+ function Vt(e) {
1282
+ return !!(e && typeof e == "object" && e.type === k.number);
1255
1283
  }
1256
- function De(e) {
1257
- return !!(e && typeof e == "object" && e.type === j.dateTime);
1284
+ function Ge(e) {
1285
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
1258
1286
  }
1259
- var Vt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, vn = /(?:[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;
1260
- function En(e) {
1287
+ var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
1288
+ function wn(e) {
1261
1289
  var t = {};
1262
- return e.replace(vn, function(r) {
1290
+ return e.replace(Sn, function(r) {
1263
1291
  var n = r.length;
1264
1292
  switch (r[0]) {
1265
1293
  case "G":
@@ -1358,11 +1386,11 @@ var E = function() {
1358
1386
  return t;
1359
1387
  }, E.apply(this, arguments);
1360
1388
  };
1361
- var _n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1362
- function xn(e) {
1389
+ var Bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1390
+ function Tn(e) {
1363
1391
  if (e.length === 0)
1364
1392
  throw new Error("Number skeleton cannot be empty");
1365
- for (var t = e.split(_n).filter(function(f) {
1393
+ for (var t = e.split(Bn).filter(function(f) {
1366
1394
  return f.length > 0;
1367
1395
  }), r = [], n = 0, i = t; n < i.length; n++) {
1368
1396
  var o = i[n], s = o.split("/");
@@ -1377,17 +1405,17 @@ function xn(e) {
1377
1405
  }
1378
1406
  return r;
1379
1407
  }
1380
- function Sn(e) {
1408
+ function Hn(e) {
1381
1409
  return e.replace(/^(.*?)-/, "");
1382
1410
  }
1383
- var lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Xt = /^(@+)?(\+|#+)?[rs]?$/g, Bn = /(\*)(0+)|(#+)(0+)|(0+)/g, zt = /^(0+)$/;
1384
- function ct(e) {
1411
+ var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, Pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Wt = /^(0+)$/;
1412
+ function ft(e) {
1385
1413
  var t = {};
1386
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Xt, function(r, n, i) {
1414
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
1387
1415
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1388
1416
  }), t;
1389
1417
  }
1390
- function Wt(e) {
1418
+ function Zt(e) {
1391
1419
  switch (e) {
1392
1420
  case "sign-auto":
1393
1421
  return {
@@ -1427,7 +1455,7 @@ function Wt(e) {
1427
1455
  };
1428
1456
  }
1429
1457
  }
1430
- function wn(e) {
1458
+ function An(e) {
1431
1459
  var t;
1432
1460
  if (e[0] === "E" && e[1] === "E" ? (t = {
1433
1461
  notation: "engineering"
@@ -1435,17 +1463,17 @@ function wn(e) {
1435
1463
  notation: "scientific"
1436
1464
  }, e = e.slice(1)), t) {
1437
1465
  var r = e.slice(0, 2);
1438
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !zt.test(e))
1466
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wt.test(e))
1439
1467
  throw new Error("Malformed concise eng/scientific notation");
1440
1468
  t.minimumIntegerDigits = e.length;
1441
1469
  }
1442
1470
  return t;
1443
1471
  }
1444
- function ft(e) {
1445
- var t = {}, r = Wt(e);
1472
+ function pt(e) {
1473
+ var t = {}, r = Zt(e);
1446
1474
  return r || t;
1447
1475
  }
1448
- function Tn(e) {
1476
+ function On(e) {
1449
1477
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1450
1478
  var i = n[r];
1451
1479
  switch (i.stem) {
@@ -1469,7 +1497,7 @@ function Tn(e) {
1469
1497
  continue;
1470
1498
  case "measure-unit":
1471
1499
  case "unit":
1472
- t.style = "unit", t.unit = Sn(i.options[0]);
1500
+ t.style = "unit", t.unit = Hn(i.options[0]);
1473
1501
  continue;
1474
1502
  case "compact-short":
1475
1503
  case "K":
@@ -1481,12 +1509,12 @@ function Tn(e) {
1481
1509
  continue;
1482
1510
  case "scientific":
1483
1511
  t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1484
- return E(E({}, u), ft(h));
1512
+ return E(E({}, u), pt(h));
1485
1513
  }, {}));
1486
1514
  continue;
1487
1515
  case "engineering":
1488
1516
  t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1489
- return E(E({}, u), ft(h));
1517
+ return E(E({}, u), pt(h));
1490
1518
  }, {}));
1491
1519
  continue;
1492
1520
  case "notation-simple":
@@ -1531,45 +1559,45 @@ function Tn(e) {
1531
1559
  case "integer-width":
1532
1560
  if (i.options.length > 1)
1533
1561
  throw new RangeError("integer-width stems only accept a single optional option");
1534
- i.options[0].replace(Bn, function(u, h, l, c, f, m) {
1562
+ i.options[0].replace(Pn, function(u, h, l, c, f, d) {
1535
1563
  if (h)
1536
1564
  t.minimumIntegerDigits = l.length;
1537
1565
  else {
1538
1566
  if (c && f)
1539
1567
  throw new Error("We currently do not support maximum integer digits");
1540
- if (m)
1568
+ if (d)
1541
1569
  throw new Error("We currently do not support exact integer digits");
1542
1570
  }
1543
1571
  return "";
1544
1572
  });
1545
1573
  continue;
1546
1574
  }
1547
- if (zt.test(i.stem)) {
1575
+ if (Wt.test(i.stem)) {
1548
1576
  t.minimumIntegerDigits = i.stem.length;
1549
1577
  continue;
1550
1578
  }
1551
- if (lt.test(i.stem)) {
1579
+ if (ct.test(i.stem)) {
1552
1580
  if (i.options.length > 1)
1553
1581
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1554
- i.stem.replace(lt, function(u, h, l, c, f, m) {
1555
- return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1582
+ i.stem.replace(ct, function(u, h, l, c, f, d) {
1583
+ return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1556
1584
  });
1557
1585
  var o = i.options[0];
1558
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), ct(o)));
1586
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), ft(o)));
1559
1587
  continue;
1560
1588
  }
1561
- if (Xt.test(i.stem)) {
1562
- t = E(E({}, t), ct(i.stem));
1589
+ if (zt.test(i.stem)) {
1590
+ t = E(E({}, t), ft(i.stem));
1563
1591
  continue;
1564
1592
  }
1565
- var s = Wt(i.stem);
1593
+ var s = Zt(i.stem);
1566
1594
  s && (t = E(E({}, t), s));
1567
- var a = wn(i.stem);
1595
+ var a = An(i.stem);
1568
1596
  a && (t = E(E({}, t), a));
1569
1597
  }
1570
1598
  return t;
1571
1599
  }
1572
- var oe = {
1600
+ var se = {
1573
1601
  "001": [
1574
1602
  "H",
1575
1603
  "h"
@@ -2984,13 +3012,13 @@ var oe = {
2984
3012
  "h"
2985
3013
  ]
2986
3014
  };
2987
- function Hn(e, t) {
3015
+ function In(e, t) {
2988
3016
  for (var r = "", n = 0; n < e.length; n++) {
2989
3017
  var i = e.charAt(n);
2990
3018
  if (i === "j") {
2991
3019
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2992
3020
  o++, n++;
2993
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Pn(t);
3021
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Nn(t);
2994
3022
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2995
3023
  r += u;
2996
3024
  for (; s-- > 0; )
@@ -3000,7 +3028,7 @@ function Hn(e, t) {
3000
3028
  }
3001
3029
  return r;
3002
3030
  }
3003
- function Pn(e) {
3031
+ function Nn(e) {
3004
3032
  var t = e.hourCycle;
3005
3033
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3006
3034
  e.hourCycles && // @ts-ignore
@@ -3019,23 +3047,23 @@ function Pn(e) {
3019
3047
  }
3020
3048
  var r = e.language, n;
3021
3049
  r !== "root" && (n = e.maximize().region);
3022
- var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
3050
+ var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
3023
3051
  return i[0];
3024
3052
  }
3025
- var He, An = new RegExp("^".concat(Vt.source, "*")), On = new RegExp("".concat(Vt.source, "*$"));
3026
- function d(e, t) {
3053
+ var Pe, Ln = new RegExp("^".concat(Xt.source, "*")), Cn = new RegExp("".concat(Xt.source, "*$"));
3054
+ function m(e, t) {
3027
3055
  return { start: e, end: t };
3028
3056
  }
3029
- var In = !!String.prototype.startsWith && "_a".startsWith("a", 1), Nn = !!String.fromCodePoint, Ln = !!Object.fromEntries, Cn = !!String.prototype.codePointAt, Mn = !!String.prototype.trimStart, $n = !!String.prototype.trimEnd, Rn = !!Number.isSafeInteger, Un = Rn ? Number.isSafeInteger : function(e) {
3057
+ var Mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), $n = !!String.fromCodePoint, Rn = !!Object.fromEntries, Un = !!String.prototype.codePointAt, Dn = !!String.prototype.trimStart, Gn = !!String.prototype.trimEnd, Fn = !!Number.isSafeInteger, jn = Fn ? Number.isSafeInteger : function(e) {
3030
3058
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3031
- }, Ge = !0;
3059
+ }, Fe = !0;
3032
3060
  try {
3033
- var Dn = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3034
- Ge = ((He = Dn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
3061
+ var kn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3062
+ Fe = ((Pe = kn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3035
3063
  } catch {
3036
- Ge = !1;
3064
+ Fe = !1;
3037
3065
  }
3038
- var pt = In ? (
3066
+ var mt = Mn ? (
3039
3067
  // Native
3040
3068
  function(t, r, n) {
3041
3069
  return t.startsWith(r, n);
@@ -3045,7 +3073,7 @@ var pt = In ? (
3045
3073
  function(t, r, n) {
3046
3074
  return t.slice(n, n + r.length) === r;
3047
3075
  }
3048
- ), Fe = Nn ? String.fromCodePoint : (
3076
+ ), je = $n ? String.fromCodePoint : (
3049
3077
  // IE11
3050
3078
  function() {
3051
3079
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3057,9 +3085,9 @@ var pt = In ? (
3057
3085
  }
3058
3086
  return n;
3059
3087
  }
3060
- ), mt = (
3088
+ ), dt = (
3061
3089
  // native
3062
- Ln ? Object.fromEntries : (
3090
+ Rn ? Object.fromEntries : (
3063
3091
  // Ponyfill
3064
3092
  function(t) {
3065
3093
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3069,7 +3097,7 @@ var pt = In ? (
3069
3097
  return r;
3070
3098
  }
3071
3099
  )
3072
- ), Zt = Cn ? (
3100
+ ), Qt = Un ? (
3073
3101
  // Native
3074
3102
  function(t, r) {
3075
3103
  return t.codePointAt(r);
@@ -3083,7 +3111,7 @@ var pt = In ? (
3083
3111
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3084
3112
  }
3085
3113
  }
3086
- ), Gn = Mn ? (
3114
+ ), Vn = Dn ? (
3087
3115
  // Native
3088
3116
  function(t) {
3089
3117
  return t.trimStart();
@@ -3091,9 +3119,9 @@ var pt = In ? (
3091
3119
  ) : (
3092
3120
  // Ponyfill
3093
3121
  function(t) {
3094
- return t.replace(An, "");
3122
+ return t.replace(Ln, "");
3095
3123
  }
3096
- ), Fn = $n ? (
3124
+ ), Xn = Gn ? (
3097
3125
  // Native
3098
3126
  function(t) {
3099
3127
  return t.trimEnd();
@@ -3101,32 +3129,32 @@ var pt = In ? (
3101
3129
  ) : (
3102
3130
  // Ponyfill
3103
3131
  function(t) {
3104
- return t.replace(On, "");
3132
+ return t.replace(Cn, "");
3105
3133
  }
3106
3134
  );
3107
- function Qt(e, t) {
3135
+ function Jt(e, t) {
3108
3136
  return new RegExp(e, t);
3109
3137
  }
3110
- var je;
3111
- if (Ge) {
3112
- var dt = Qt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3113
- je = function(t, r) {
3138
+ var ke;
3139
+ if (Fe) {
3140
+ var bt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3141
+ ke = function(t, r) {
3114
3142
  var n;
3115
- dt.lastIndex = r;
3116
- var i = dt.exec(t);
3143
+ bt.lastIndex = r;
3144
+ var i = bt.exec(t);
3117
3145
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3118
3146
  };
3119
3147
  } else
3120
- je = function(t, r) {
3148
+ ke = function(t, r) {
3121
3149
  for (var n = []; ; ) {
3122
- var i = Zt(t, r);
3123
- if (i === void 0 || Jt(i) || Xn(i))
3150
+ var i = Qt(t, r);
3151
+ if (i === void 0 || Yt(i) || Qn(i))
3124
3152
  break;
3125
3153
  n.push(i), r += i >= 65536 ? 2 : 1;
3126
3154
  }
3127
- return Fe.apply(void 0, n);
3155
+ return je.apply(void 0, n);
3128
3156
  };
3129
- var jn = (
3157
+ var zn = (
3130
3158
  /** @class */
3131
3159
  function() {
3132
3160
  function e(t, r) {
@@ -3151,13 +3179,13 @@ var jn = (
3151
3179
  var a = this.clonePosition();
3152
3180
  this.bump(), i.push({
3153
3181
  type: v.pound,
3154
- location: d(a, this.clonePosition())
3182
+ location: m(a, this.clonePosition())
3155
3183
  });
3156
3184
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3157
3185
  if (n)
3158
3186
  break;
3159
- return this.error(p.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3160
- } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3187
+ return this.error(p.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3188
+ } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3161
3189
  var s = this.parseTag(t, r);
3162
3190
  if (s.err)
3163
3191
  return s;
@@ -3180,7 +3208,7 @@ var jn = (
3180
3208
  val: {
3181
3209
  type: v.literal,
3182
3210
  value: "<".concat(i, "/>"),
3183
- location: d(n, this.clonePosition())
3211
+ location: m(n, this.clonePosition())
3184
3212
  },
3185
3213
  err: null
3186
3214
  };
@@ -3190,25 +3218,25 @@ var jn = (
3190
3218
  return o;
3191
3219
  var s = o.val, a = this.clonePosition();
3192
3220
  if (this.bumpIf("</")) {
3193
- if (this.isEOF() || !ke(this.char()))
3194
- return this.error(p.INVALID_TAG, d(a, this.clonePosition()));
3221
+ if (this.isEOF() || !Ve(this.char()))
3222
+ return this.error(p.INVALID_TAG, m(a, this.clonePosition()));
3195
3223
  var u = this.clonePosition(), h = this.parseTagName();
3196
- return i !== h ? this.error(p.UNMATCHED_CLOSING_TAG, d(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3224
+ return i !== h ? this.error(p.UNMATCHED_CLOSING_TAG, m(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3197
3225
  val: {
3198
3226
  type: v.tag,
3199
3227
  value: i,
3200
3228
  children: s,
3201
- location: d(n, this.clonePosition())
3229
+ location: m(n, this.clonePosition())
3202
3230
  },
3203
3231
  err: null
3204
- } : this.error(p.INVALID_TAG, d(a, this.clonePosition())));
3232
+ } : this.error(p.INVALID_TAG, m(a, this.clonePosition())));
3205
3233
  } else
3206
- return this.error(p.UNCLOSED_TAG, d(n, this.clonePosition()));
3234
+ return this.error(p.UNCLOSED_TAG, m(n, this.clonePosition()));
3207
3235
  } else
3208
- return this.error(p.INVALID_TAG, d(n, this.clonePosition()));
3236
+ return this.error(p.INVALID_TAG, m(n, this.clonePosition()));
3209
3237
  }, e.prototype.parseTagName = function() {
3210
3238
  var t = this.offset();
3211
- for (this.bump(); !this.isEOF() && Vn(this.char()); )
3239
+ for (this.bump(); !this.isEOF() && Zn(this.char()); )
3212
3240
  this.bump();
3213
3241
  return this.message.slice(t, this.offset());
3214
3242
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3230,14 +3258,14 @@ var jn = (
3230
3258
  }
3231
3259
  break;
3232
3260
  }
3233
- var u = d(n, this.clonePosition());
3261
+ var u = m(n, this.clonePosition());
3234
3262
  return {
3235
3263
  val: { type: v.literal, value: i, location: u },
3236
3264
  err: null
3237
3265
  };
3238
3266
  }, e.prototype.tryParseLeftAngleBracket = function() {
3239
3267
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3240
- !kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3268
+ !Wn(this.peek() || 0)) ? (this.bump(), "<") : null;
3241
3269
  }, e.prototype.tryParseQuote = function(t) {
3242
3270
  if (this.isEOF() || this.char() !== 39)
3243
3271
  return null;
@@ -3271,23 +3299,23 @@ var jn = (
3271
3299
  r.push(n);
3272
3300
  this.bump();
3273
3301
  }
3274
- return Fe.apply(void 0, r);
3302
+ return je.apply(void 0, r);
3275
3303
  }, e.prototype.tryParseUnquoted = function(t, r) {
3276
3304
  if (this.isEOF())
3277
3305
  return null;
3278
3306
  var n = this.char();
3279
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3307
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3280
3308
  }, e.prototype.parseArgument = function(t, r) {
3281
3309
  var n = this.clonePosition();
3282
3310
  if (this.bump(), this.bumpSpace(), this.isEOF())
3283
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3311
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
3284
3312
  if (this.char() === 125)
3285
- return this.bump(), this.error(p.EMPTY_ARGUMENT, d(n, this.clonePosition()));
3313
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, m(n, this.clonePosition()));
3286
3314
  var i = this.parseIdentifierIfPossible().value;
3287
3315
  if (!i)
3288
- return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3316
+ return this.error(p.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3289
3317
  if (this.bumpSpace(), this.isEOF())
3290
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition()));
3318
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition()));
3291
3319
  switch (this.char()) {
3292
3320
  case 125:
3293
3321
  return this.bump(), {
@@ -3295,25 +3323,25 @@ var jn = (
3295
3323
  type: v.argument,
3296
3324
  // value does not include the opening and closing braces.
3297
3325
  value: i,
3298
- location: d(n, this.clonePosition())
3326
+ location: m(n, this.clonePosition())
3299
3327
  },
3300
3328
  err: null
3301
3329
  };
3302
3330
  case 44:
3303
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3331
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3304
3332
  default:
3305
- return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3333
+ return this.error(p.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3306
3334
  }
3307
3335
  }, e.prototype.parseIdentifierIfPossible = function() {
3308
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3336
+ var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3309
3337
  this.bumpTo(i);
3310
- var o = this.clonePosition(), s = d(t, o);
3338
+ var o = this.clonePosition(), s = m(t, o);
3311
3339
  return { value: n, location: s };
3312
3340
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3313
3341
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3314
3342
  switch (a) {
3315
3343
  case "":
3316
- return this.error(p.EXPECT_ARGUMENT_TYPE, d(s, u));
3344
+ return this.error(p.EXPECT_ARGUMENT_TYPE, m(s, u));
3317
3345
  case "number":
3318
3346
  case "date":
3319
3347
  case "time": {
@@ -3324,34 +3352,34 @@ var jn = (
3324
3352
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3325
3353
  if (c.err)
3326
3354
  return c;
3327
- var f = Fn(c.val);
3355
+ var f = Xn(c.val);
3328
3356
  if (f.length === 0)
3329
- return this.error(p.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3330
- var m = d(l, this.clonePosition());
3331
- h = { style: f, styleLocation: m };
3357
+ return this.error(p.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3358
+ var d = m(l, this.clonePosition());
3359
+ h = { style: f, styleLocation: d };
3332
3360
  }
3333
3361
  var g = this.tryParseArgumentClose(i);
3334
3362
  if (g.err)
3335
3363
  return g;
3336
- var b = d(i, this.clonePosition());
3337
- if (h && pt(h?.style, "::", 0)) {
3338
- var B = Gn(h.style.slice(2));
3364
+ var b = m(i, this.clonePosition());
3365
+ if (h && mt(h?.style, "::", 0)) {
3366
+ var x = Vn(h.style.slice(2));
3339
3367
  if (a === "number") {
3340
- var c = this.parseNumberSkeletonFromString(B, h.styleLocation);
3368
+ var c = this.parseNumberSkeletonFromString(x, h.styleLocation);
3341
3369
  return c.err ? c : {
3342
3370
  val: { type: v.number, value: n, location: b, style: c.val },
3343
3371
  err: null
3344
3372
  };
3345
3373
  } else {
3346
- if (B.length === 0)
3374
+ if (x.length === 0)
3347
3375
  return this.error(p.EXPECT_DATE_TIME_SKELETON, b);
3348
- var N = B;
3349
- this.locale && (N = Hn(B, this.locale));
3376
+ var N = x;
3377
+ this.locale && (N = In(x, this.locale));
3350
3378
  var f = {
3351
- type: j.dateTime,
3379
+ type: k.dateTime,
3352
3380
  pattern: N,
3353
3381
  location: h.styleLocation,
3354
- parsedOptions: this.shouldParseSkeletons ? En(N) : {}
3382
+ parsedOptions: this.shouldParseSkeletons ? wn(N) : {}
3355
3383
  }, O = a === "date" ? v.date : v.time;
3356
3384
  return {
3357
3385
  val: { type: O, value: n, location: b, style: f },
@@ -3372,52 +3400,52 @@ var jn = (
3372
3400
  case "plural":
3373
3401
  case "selectordinal":
3374
3402
  case "select": {
3375
- var x = this.clonePosition();
3403
+ var S = this.clonePosition();
3376
3404
  if (this.bumpSpace(), !this.bumpIf(","))
3377
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(x, pe({}, x)));
3405
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, m(S, me({}, S)));
3378
3406
  this.bumpSpace();
3379
- var T = this.parseIdentifierIfPossible(), S = 0;
3380
- if (a !== "select" && T.value === "offset") {
3407
+ var L = this.parseIdentifierIfPossible(), w = 0;
3408
+ if (a !== "select" && L.value === "offset") {
3381
3409
  if (!this.bumpIf(":"))
3382
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d(this.clonePosition(), this.clonePosition()));
3410
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
3383
3411
  this.bumpSpace();
3384
3412
  var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3385
3413
  if (c.err)
3386
3414
  return c;
3387
- this.bumpSpace(), T = this.parseIdentifierIfPossible(), S = c.val;
3415
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), w = c.val;
3388
3416
  }
3389
- var M = this.tryParsePluralOrSelectOptions(t, a, r, T);
3390
- if (M.err)
3391
- return M;
3417
+ var H = this.tryParsePluralOrSelectOptions(t, a, r, L);
3418
+ if (H.err)
3419
+ return H;
3392
3420
  var g = this.tryParseArgumentClose(i);
3393
3421
  if (g.err)
3394
3422
  return g;
3395
- var ne = d(i, this.clonePosition());
3423
+ var ie = m(i, this.clonePosition());
3396
3424
  return a === "select" ? {
3397
3425
  val: {
3398
3426
  type: v.select,
3399
3427
  value: n,
3400
- options: mt(M.val),
3401
- location: ne
3428
+ options: dt(H.val),
3429
+ location: ie
3402
3430
  },
3403
3431
  err: null
3404
3432
  } : {
3405
3433
  val: {
3406
3434
  type: v.plural,
3407
3435
  value: n,
3408
- options: mt(M.val),
3409
- offset: S,
3436
+ options: dt(H.val),
3437
+ offset: w,
3410
3438
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3411
- location: ne
3439
+ location: ie
3412
3440
  },
3413
3441
  err: null
3414
3442
  };
3415
3443
  }
3416
3444
  default:
3417
- return this.error(p.INVALID_ARGUMENT_TYPE, d(s, u));
3445
+ return this.error(p.INVALID_ARGUMENT_TYPE, m(s, u));
3418
3446
  }
3419
3447
  }, e.prototype.tryParseArgumentClose = function(t) {
3420
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, d(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3448
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, m(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3421
3449
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3422
3450
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3423
3451
  var n = this.char();
@@ -3426,7 +3454,7 @@ var jn = (
3426
3454
  this.bump();
3427
3455
  var i = this.clonePosition();
3428
3456
  if (!this.bumpUntil("'"))
3429
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, d(i, this.clonePosition()));
3457
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, m(i, this.clonePosition()));
3430
3458
  this.bump();
3431
3459
  break;
3432
3460
  }
@@ -3456,16 +3484,16 @@ var jn = (
3456
3484
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3457
3485
  var n = [];
3458
3486
  try {
3459
- n = xn(t);
3487
+ n = Tn(t);
3460
3488
  } catch {
3461
3489
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3462
3490
  }
3463
3491
  return {
3464
3492
  val: {
3465
- type: j.number,
3493
+ type: k.number,
3466
3494
  tokens: n,
3467
3495
  location: r,
3468
- parsedOptions: this.shouldParseSkeletons ? Tn(n) : {}
3496
+ parsedOptions: this.shouldParseSkeletons ? On(n) : {}
3469
3497
  },
3470
3498
  err: null
3471
3499
  };
@@ -3477,31 +3505,31 @@ var jn = (
3477
3505
  var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3478
3506
  if (f.err)
3479
3507
  return f;
3480
- l = d(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3508
+ l = m(c, this.clonePosition()), h = this.message.slice(c.offset, this.offset());
3481
3509
  } else
3482
3510
  break;
3483
3511
  }
3484
3512
  if (u.has(h))
3485
3513
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3486
3514
  h === "other" && (s = !0), this.bumpSpace();
3487
- var m = this.clonePosition();
3515
+ var d = this.clonePosition();
3488
3516
  if (!this.bumpIf("{"))
3489
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3517
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, m(this.clonePosition(), this.clonePosition()));
3490
3518
  var g = this.parseMessage(t + 1, r, n);
3491
3519
  if (g.err)
3492
3520
  return g;
3493
- var b = this.tryParseArgumentClose(m);
3521
+ var b = this.tryParseArgumentClose(d);
3494
3522
  if (b.err)
3495
3523
  return b;
3496
3524
  a.push([
3497
3525
  h,
3498
3526
  {
3499
3527
  value: g.val,
3500
- location: d(m, this.clonePosition())
3528
+ location: m(d, this.clonePosition())
3501
3529
  }
3502
3530
  ]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
3503
3531
  }
3504
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, d(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, d(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3532
+ return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, m(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, m(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3505
3533
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3506
3534
  var n = 1, i = this.clonePosition();
3507
3535
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3512,8 +3540,8 @@ var jn = (
3512
3540
  else
3513
3541
  break;
3514
3542
  }
3515
- var u = d(i, this.clonePosition());
3516
- return o ? (s *= n, Un(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3543
+ var u = m(i, this.clonePosition());
3544
+ return o ? (s *= n, jn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3517
3545
  }, e.prototype.offset = function() {
3518
3546
  return this.position.offset;
3519
3547
  }, e.prototype.isEOF = function() {
@@ -3528,7 +3556,7 @@ var jn = (
3528
3556
  var t = this.position.offset;
3529
3557
  if (t >= this.message.length)
3530
3558
  throw Error("out of bound");
3531
- var r = Zt(this.message, t);
3559
+ var r = Qt(this.message, t);
3532
3560
  if (r === void 0)
3533
3561
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3534
3562
  return r;
@@ -3547,7 +3575,7 @@ var jn = (
3547
3575
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3548
3576
  }
3549
3577
  }, e.prototype.bumpIf = function(t) {
3550
- if (pt(this.message, t, this.offset())) {
3578
+ if (mt(this.message, t, this.offset())) {
3551
3579
  for (var r = 0; r < t.length; r++)
3552
3580
  this.bump();
3553
3581
  return !0;
@@ -3569,7 +3597,7 @@ var jn = (
3569
3597
  break;
3570
3598
  }
3571
3599
  }, e.prototype.bumpSpace = function() {
3572
- for (; !this.isEOF() && Jt(this.char()); )
3600
+ for (; !this.isEOF() && Yt(this.char()); )
3573
3601
  this.bump();
3574
3602
  }, e.prototype.peek = function() {
3575
3603
  if (this.isEOF())
@@ -3579,47 +3607,47 @@ var jn = (
3579
3607
  }, e;
3580
3608
  }()
3581
3609
  );
3582
- function ke(e) {
3610
+ function Ve(e) {
3583
3611
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3584
3612
  }
3585
- function kn(e) {
3586
- return ke(e) || e === 47;
3613
+ function Wn(e) {
3614
+ return Ve(e) || e === 47;
3587
3615
  }
3588
- function Vn(e) {
3616
+ function Zn(e) {
3589
3617
  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;
3590
3618
  }
3591
- function Jt(e) {
3619
+ function Yt(e) {
3592
3620
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3593
3621
  }
3594
- function Xn(e) {
3622
+ function Qn(e) {
3595
3623
  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;
3596
3624
  }
3597
- function Ve(e) {
3625
+ function Xe(e) {
3598
3626
  e.forEach(function(t) {
3599
- if (delete t.location, Gt(t) || Ft(t))
3627
+ if (delete t.location, Ft(t) || jt(t))
3600
3628
  for (var r in t.options)
3601
- delete t.options[r].location, Ve(t.options[r].value);
3629
+ delete t.options[r].location, Xe(t.options[r].value);
3602
3630
  else
3603
- Rt(t) && kt(t.style) || (Ut(t) || Dt(t)) && De(t.style) ? delete t.style.location : jt(t) && Ve(t.children);
3631
+ Ut(t) && Vt(t.style) || (Dt(t) || Gt(t)) && Ge(t.style) ? delete t.style.location : kt(t) && Xe(t.children);
3604
3632
  });
3605
3633
  }
3606
- function zn(e, t) {
3607
- t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3608
- var r = new jn(e, t).parse();
3634
+ function Jn(e, t) {
3635
+ t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3636
+ var r = new zn(e, t).parse();
3609
3637
  if (r.err) {
3610
3638
  var n = SyntaxError(p[r.err.kind]);
3611
3639
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3612
3640
  }
3613
- return t?.captureLocation || Ve(r.val), r.val;
3641
+ return t?.captureLocation || Xe(r.val), r.val;
3614
3642
  }
3615
- var k;
3643
+ var V;
3616
3644
  (function(e) {
3617
3645
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3618
- })(k || (k = {}));
3619
- var ve = (
3646
+ })(V || (V = {}));
3647
+ var Ee = (
3620
3648
  /** @class */
3621
3649
  function(e) {
3622
- ye(t, e);
3650
+ ve(t, e);
3623
3651
  function t(r, n, i) {
3624
3652
  var o = e.call(this, r) || this;
3625
3653
  return o.code = n, o.originalMessage = i, o;
@@ -3628,48 +3656,48 @@ var ve = (
3628
3656
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3629
3657
  }, t;
3630
3658
  }(Error)
3631
- ), bt = (
3659
+ ), gt = (
3632
3660
  /** @class */
3633
3661
  function(e) {
3634
- ye(t, e);
3662
+ ve(t, e);
3635
3663
  function t(r, n, i, o) {
3636
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, o) || this;
3664
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
3637
3665
  }
3638
3666
  return t;
3639
- }(ve)
3640
- ), Wn = (
3667
+ }(Ee)
3668
+ ), Yn = (
3641
3669
  /** @class */
3642
3670
  function(e) {
3643
- ye(t, e);
3671
+ ve(t, e);
3644
3672
  function t(r, n, i) {
3645
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3673
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3646
3674
  }
3647
3675
  return t;
3648
- }(ve)
3649
- ), Zn = (
3676
+ }(Ee)
3677
+ ), qn = (
3650
3678
  /** @class */
3651
3679
  function(e) {
3652
- ye(t, e);
3680
+ ve(t, e);
3653
3681
  function t(r, n) {
3654
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3682
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3655
3683
  }
3656
3684
  return t;
3657
- }(ve)
3685
+ }(Ee)
3658
3686
  ), _;
3659
3687
  (function(e) {
3660
3688
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3661
3689
  })(_ || (_ = {}));
3662
- function Qn(e) {
3690
+ function Kn(e) {
3663
3691
  return e.length < 2 ? e : e.reduce(function(t, r) {
3664
3692
  var n = t[t.length - 1];
3665
3693
  return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3666
3694
  }, []);
3667
3695
  }
3668
- function Jn(e) {
3696
+ function ei(e) {
3669
3697
  return typeof e == "function";
3670
3698
  }
3671
- function le(e, t, r, n, i, o, s) {
3672
- if (e.length === 1 && ht(e[0]))
3699
+ function ce(e, t, r, n, i, o, s) {
3700
+ if (e.length === 1 && lt(e[0]))
3673
3701
  return [
3674
3702
  {
3675
3703
  type: _.literal,
@@ -3678,14 +3706,14 @@ function le(e, t, r, n, i, o, s) {
3678
3706
  ];
3679
3707
  for (var a = [], u = 0, h = e; u < h.length; u++) {
3680
3708
  var l = h[u];
3681
- if (ht(l)) {
3709
+ if (lt(l)) {
3682
3710
  a.push({
3683
3711
  type: _.literal,
3684
3712
  value: l.value
3685
3713
  });
3686
3714
  continue;
3687
3715
  }
3688
- if (yn(l)) {
3716
+ if (xn(l)) {
3689
3717
  typeof o == "number" && a.push({
3690
3718
  type: _.literal,
3691
3719
  value: r.getNumberFormat(t).format(o)
@@ -3694,89 +3722,89 @@ function le(e, t, r, n, i, o, s) {
3694
3722
  }
3695
3723
  var c = l.value;
3696
3724
  if (!(i && c in i))
3697
- throw new Zn(c, s);
3725
+ throw new qn(c, s);
3698
3726
  var f = i[c];
3699
- if (gn(l)) {
3727
+ if (_n(l)) {
3700
3728
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3701
3729
  type: typeof f == "string" ? _.literal : _.object,
3702
3730
  value: f
3703
3731
  });
3704
3732
  continue;
3705
3733
  }
3706
- if (Ut(l)) {
3707
- var m = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3734
+ if (Dt(l)) {
3735
+ var d = typeof l.style == "string" ? n.date[l.style] : Ge(l.style) ? l.style.parsedOptions : void 0;
3708
3736
  a.push({
3709
3737
  type: _.literal,
3710
- value: r.getDateTimeFormat(t, m).format(f)
3738
+ value: r.getDateTimeFormat(t, d).format(f)
3711
3739
  });
3712
3740
  continue;
3713
3741
  }
3714
- if (Dt(l)) {
3715
- var m = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3742
+ if (Gt(l)) {
3743
+ var d = typeof l.style == "string" ? n.time[l.style] : Ge(l.style) ? l.style.parsedOptions : n.time.medium;
3716
3744
  a.push({
3717
3745
  type: _.literal,
3718
- value: r.getDateTimeFormat(t, m).format(f)
3746
+ value: r.getDateTimeFormat(t, d).format(f)
3719
3747
  });
3720
3748
  continue;
3721
3749
  }
3722
- if (Rt(l)) {
3723
- var m = typeof l.style == "string" ? n.number[l.style] : kt(l.style) ? l.style.parsedOptions : void 0;
3724
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3750
+ if (Ut(l)) {
3751
+ var d = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
3752
+ d && d.scale && (f = f * (d.scale || 1)), a.push({
3725
3753
  type: _.literal,
3726
- value: r.getNumberFormat(t, m).format(f)
3754
+ value: r.getNumberFormat(t, d).format(f)
3727
3755
  });
3728
3756
  continue;
3729
3757
  }
3730
- if (jt(l)) {
3731
- var g = l.children, b = l.value, B = i[b];
3732
- if (!Jn(B))
3733
- throw new Wn(b, "function", s);
3734
- var N = le(g, t, r, n, i, o), O = B(N.map(function(S) {
3735
- return S.value;
3758
+ if (kt(l)) {
3759
+ var g = l.children, b = l.value, x = i[b];
3760
+ if (!ei(x))
3761
+ throw new Yn(b, "function", s);
3762
+ var N = ce(g, t, r, n, i, o), O = x(N.map(function(w) {
3763
+ return w.value;
3736
3764
  }));
3737
- Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(S) {
3765
+ Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(w) {
3738
3766
  return {
3739
- type: typeof S == "string" ? _.literal : _.object,
3740
- value: S
3767
+ type: typeof w == "string" ? _.literal : _.object,
3768
+ value: w
3741
3769
  };
3742
3770
  }));
3743
3771
  }
3744
- if (Gt(l)) {
3745
- var x = l.options[f] || l.options.other;
3746
- if (!x)
3747
- throw new bt(l.value, f, Object.keys(l.options), s);
3748
- a.push.apply(a, le(x.value, t, r, n, i));
3772
+ if (Ft(l)) {
3773
+ var S = l.options[f] || l.options.other;
3774
+ if (!S)
3775
+ throw new gt(l.value, f, Object.keys(l.options), s);
3776
+ a.push.apply(a, ce(S.value, t, r, n, i));
3749
3777
  continue;
3750
3778
  }
3751
- if (Ft(l)) {
3752
- var x = l.options["=".concat(f)];
3753
- if (!x) {
3779
+ if (jt(l)) {
3780
+ var S = l.options["=".concat(f)];
3781
+ if (!S) {
3754
3782
  if (!Intl.PluralRules)
3755
- throw new ve(`Intl.PluralRules is not available in this environment.
3783
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3756
3784
  Try polyfilling it using "@formatjs/intl-pluralrules"
3757
- `, k.MISSING_INTL_API, s);
3758
- var T = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3759
- x = l.options[T] || l.options.other;
3785
+ `, V.MISSING_INTL_API, s);
3786
+ var L = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3787
+ S = l.options[L] || l.options.other;
3760
3788
  }
3761
- if (!x)
3762
- throw new bt(l.value, f, Object.keys(l.options), s);
3763
- a.push.apply(a, le(x.value, t, r, n, i, f - (l.offset || 0)));
3789
+ if (!S)
3790
+ throw new gt(l.value, f, Object.keys(l.options), s);
3791
+ a.push.apply(a, ce(S.value, t, r, n, i, f - (l.offset || 0)));
3764
3792
  continue;
3765
3793
  }
3766
3794
  }
3767
- return Qn(a);
3795
+ return Kn(a);
3768
3796
  }
3769
- function Yn(e, t) {
3770
- return t ? H(H(H({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3771
- return r[n] = H(H({}, e[n]), t[n] || {}), r;
3797
+ function ti(e, t) {
3798
+ return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3799
+ return r[n] = T(T({}, e[n]), t[n] || {}), r;
3772
3800
  }, {})) : e;
3773
3801
  }
3774
- function qn(e, t) {
3802
+ function ri(e, t) {
3775
3803
  return t ? Object.keys(e).reduce(function(r, n) {
3776
- return r[n] = Yn(e[n], t[n]), r;
3777
- }, H({}, e)) : e;
3804
+ return r[n] = ti(e[n], t[n]), r;
3805
+ }, T({}, e)) : e;
3778
3806
  }
3779
- function Pe(e) {
3807
+ function Ae(e) {
3780
3808
  return {
3781
3809
  create: function() {
3782
3810
  return {
@@ -3790,39 +3818,39 @@ function Pe(e) {
3790
3818
  }
3791
3819
  };
3792
3820
  }
3793
- function Kn(e) {
3821
+ function ni(e) {
3794
3822
  return e === void 0 && (e = {
3795
3823
  number: {},
3796
3824
  dateTime: {},
3797
3825
  pluralRules: {}
3798
3826
  }), {
3799
- getNumberFormat: we(function() {
3827
+ getNumberFormat: Te(function() {
3800
3828
  for (var t, r = [], n = 0; n < arguments.length; n++)
3801
3829
  r[n] = arguments[n];
3802
3830
  return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3803
3831
  }, {
3804
- cache: Pe(e.number),
3805
- strategy: Te.variadic
3832
+ cache: Ae(e.number),
3833
+ strategy: He.variadic
3806
3834
  }),
3807
- getDateTimeFormat: we(function() {
3835
+ getDateTimeFormat: Te(function() {
3808
3836
  for (var t, r = [], n = 0; n < arguments.length; n++)
3809
3837
  r[n] = arguments[n];
3810
3838
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3811
3839
  }, {
3812
- cache: Pe(e.dateTime),
3813
- strategy: Te.variadic
3840
+ cache: Ae(e.dateTime),
3841
+ strategy: He.variadic
3814
3842
  }),
3815
- getPluralRules: we(function() {
3843
+ getPluralRules: Te(function() {
3816
3844
  for (var t, r = [], n = 0; n < arguments.length; n++)
3817
3845
  r[n] = arguments[n];
3818
3846
  return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3819
3847
  }, {
3820
- cache: Pe(e.pluralRules),
3821
- strategy: Te.variadic
3848
+ cache: Ae(e.pluralRules),
3849
+ strategy: He.variadic
3822
3850
  })
3823
3851
  };
3824
3852
  }
3825
- var ei = (
3853
+ var ii = (
3826
3854
  /** @class */
3827
3855
  function() {
3828
3856
  function e(t, r, n, i) {
@@ -3841,7 +3869,7 @@ var ei = (
3841
3869
  }, []);
3842
3870
  return l.length <= 1 ? l[0] || "" : l;
3843
3871
  }, this.formatToParts = function(u) {
3844
- return le(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3872
+ return ce(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3845
3873
  }, this.resolvedOptions = function() {
3846
3874
  var u;
3847
3875
  return {
@@ -3854,13 +3882,13 @@ var ei = (
3854
3882
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3855
3883
  var s = i || {};
3856
3884
  s.formatters;
3857
- var a = hn(s, ["formatters"]);
3858
- this.ast = e.__parse(t, H(H({}, a), { locale: this.resolvedLocale }));
3885
+ var a = pn(s, ["formatters"]);
3886
+ this.ast = e.__parse(t, T(T({}, a), { locale: this.resolvedLocale }));
3859
3887
  } else
3860
3888
  this.ast = t;
3861
3889
  if (!Array.isArray(this.ast))
3862
3890
  throw new TypeError("A message must be provided as a String or AST.");
3863
- this.formats = qn(e.formats, n), this.formatters = i && i.formatters || Kn(this.formatterCache);
3891
+ this.formats = ri(e.formats, n), this.formatters = i && i.formatters || ni(this.formatterCache);
3864
3892
  }
3865
3893
  return Object.defineProperty(e, "defaultLocale", {
3866
3894
  get: function() {
@@ -3873,7 +3901,7 @@ var ei = (
3873
3901
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3874
3902
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3875
3903
  }
3876
- }, e.__parse = zn, e.formats = {
3904
+ }, e.__parse = Jn, e.formats = {
3877
3905
  number: {
3878
3906
  integer: {
3879
3907
  maximumFractionDigits: 0
@@ -3934,7 +3962,7 @@ var ei = (
3934
3962
  }, e;
3935
3963
  }()
3936
3964
  );
3937
- function ti(e, t) {
3965
+ function oi(e, t) {
3938
3966
  if (t == null)
3939
3967
  return;
3940
3968
  if (t in e)
@@ -3955,92 +3983,92 @@ function ti(e, t) {
3955
3983
  n = void 0;
3956
3984
  return n;
3957
3985
  }
3958
- const I = {}, ri = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), Yt = (e, t) => {
3986
+ const I = {}, si = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), qt = (e, t) => {
3959
3987
  if (t == null)
3960
3988
  return;
3961
3989
  if (t in I && e in I[t])
3962
3990
  return I[t][e];
3963
- const r = Ee(t);
3991
+ const r = _e(t);
3964
3992
  for (let n = 0; n < r.length; n++) {
3965
- const i = r[n], o = ii(i, e);
3993
+ const i = r[n], o = ui(i, e);
3966
3994
  if (o)
3967
- return ri(e, t, o);
3995
+ return si(e, t, o);
3968
3996
  }
3969
3997
  };
3970
- let Qe;
3971
- const re = ge({});
3972
- function ni(e) {
3973
- return Qe[e] || null;
3998
+ let Je;
3999
+ const ne = ye({});
4000
+ function ai(e) {
4001
+ return Je[e] || null;
3974
4002
  }
3975
- function qt(e) {
3976
- return e in Qe;
4003
+ function Kt(e) {
4004
+ return e in Je;
3977
4005
  }
3978
- function ii(e, t) {
3979
- if (!qt(e))
4006
+ function ui(e, t) {
4007
+ if (!Kt(e))
3980
4008
  return null;
3981
- const r = ni(e);
3982
- return ti(r, t);
4009
+ const r = ai(e);
4010
+ return oi(r, t);
3983
4011
  }
3984
- function oi(e) {
4012
+ function hi(e) {
3985
4013
  if (e == null)
3986
4014
  return;
3987
- const t = Ee(e);
4015
+ const t = _e(e);
3988
4016
  for (let r = 0; r < t.length; r++) {
3989
4017
  const n = t[r];
3990
- if (qt(n))
4018
+ if (Kt(n))
3991
4019
  return n;
3992
4020
  }
3993
4021
  }
3994
- function Kt(e, ...t) {
3995
- delete I[e], re.update((r) => (r[e] = un.all([r[e] || {}, ...t]), r));
4022
+ function er(e, ...t) {
4023
+ delete I[e], ne.update((r) => (r[e] = fn.all([r[e] || {}, ...t]), r));
3996
4024
  }
3997
- X(
3998
- [re],
4025
+ z(
4026
+ [ne],
3999
4027
  ([e]) => Object.keys(e)
4000
4028
  );
4001
- re.subscribe((e) => Qe = e);
4002
- const ce = {};
4003
- function si(e, t) {
4004
- ce[e].delete(t), ce[e].size === 0 && delete ce[e];
4029
+ ne.subscribe((e) => Je = e);
4030
+ const fe = {};
4031
+ function li(e, t) {
4032
+ fe[e].delete(t), fe[e].size === 0 && delete fe[e];
4005
4033
  }
4006
- function er(e) {
4007
- return ce[e];
4034
+ function tr(e) {
4035
+ return fe[e];
4008
4036
  }
4009
- function ai(e) {
4010
- return Ee(e).map((t) => {
4011
- const r = er(t);
4037
+ function ci(e) {
4038
+ return _e(e).map((t) => {
4039
+ const r = tr(t);
4012
4040
  return [t, r ? [...r] : []];
4013
4041
  }).filter(([, t]) => t.length > 0);
4014
4042
  }
4015
- function Xe(e) {
4016
- return e == null ? !1 : Ee(e).some(
4043
+ function ze(e) {
4044
+ return e == null ? !1 : _e(e).some(
4017
4045
  (t) => {
4018
4046
  var r;
4019
- return (r = er(t)) == null ? void 0 : r.size;
4047
+ return (r = tr(t)) == null ? void 0 : r.size;
4020
4048
  }
4021
4049
  );
4022
4050
  }
4023
- function ui(e, t) {
4051
+ function fi(e, t) {
4024
4052
  return Promise.all(
4025
- t.map((n) => (si(e, n), n().then((i) => i.default || i)))
4026
- ).then((n) => Kt(e, ...n));
4027
- }
4028
- const Z = {};
4029
- function tr(e) {
4030
- if (!Xe(e))
4031
- return e in Z ? Z[e] : Promise.resolve();
4032
- const t = ai(e);
4033
- return Z[e] = Promise.all(
4053
+ t.map((n) => (li(e, n), n().then((i) => i.default || i)))
4054
+ ).then((n) => er(e, ...n));
4055
+ }
4056
+ const Q = {};
4057
+ function rr(e) {
4058
+ if (!ze(e))
4059
+ return e in Q ? Q[e] : Promise.resolve();
4060
+ const t = ci(e);
4061
+ return Q[e] = Promise.all(
4034
4062
  t.map(
4035
- ([r, n]) => ui(r, n)
4063
+ ([r, n]) => fi(r, n)
4036
4064
  )
4037
4065
  ).then(() => {
4038
- if (Xe(e))
4039
- return tr(e);
4040
- delete Z[e];
4041
- }), Z[e];
4066
+ if (ze(e))
4067
+ return rr(e);
4068
+ delete Q[e];
4069
+ }), Q[e];
4042
4070
  }
4043
- const hi = {
4071
+ const pi = {
4044
4072
  number: {
4045
4073
  scientific: { notation: "scientific" },
4046
4074
  engineering: { notation: "engineering" },
@@ -4069,150 +4097,150 @@ const hi = {
4069
4097
  timeZoneName: "short"
4070
4098
  }
4071
4099
  }
4072
- }, li = {
4100
+ }, mi = {
4073
4101
  fallbackLocale: null,
4074
4102
  loadingDelay: 200,
4075
- formats: hi,
4103
+ formats: pi,
4076
4104
  warnOnMissingMessages: !0,
4077
4105
  handleMissingMessage: void 0,
4078
4106
  ignoreTag: !0
4079
- }, ci = li;
4080
- function V() {
4081
- return ci;
4107
+ }, di = mi;
4108
+ function X() {
4109
+ return di;
4082
4110
  }
4083
- const Ae = ge(!1);
4084
- var fi = Object.defineProperty, pi = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, gt = Object.getOwnPropertySymbols, di = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, yt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, gi = (e, t) => {
4111
+ const Oe = ye(!1);
4112
+ var bi = Object.defineProperty, gi = Object.defineProperties, yi = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, vi = Object.prototype.hasOwnProperty, Ei = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _i = (e, t) => {
4085
4113
  for (var r in t || (t = {}))
4086
- di.call(t, r) && yt(e, r, t[r]);
4087
- if (gt)
4088
- for (var r of gt(t))
4089
- bi.call(t, r) && yt(e, r, t[r]);
4114
+ vi.call(t, r) && vt(e, r, t[r]);
4115
+ if (yt)
4116
+ for (var r of yt(t))
4117
+ Ei.call(t, r) && vt(e, r, t[r]);
4090
4118
  return e;
4091
- }, yi = (e, t) => pi(e, mi(t));
4092
- let ze;
4093
- const me = ge(null);
4094
- function vt(e) {
4119
+ }, xi = (e, t) => gi(e, yi(t));
4120
+ let We;
4121
+ const de = ye(null);
4122
+ function Et(e) {
4095
4123
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4096
4124
  }
4097
- function Ee(e, t = V().fallbackLocale) {
4098
- const r = vt(e);
4099
- return t ? [.../* @__PURE__ */ new Set([...r, ...vt(t)])] : r;
4125
+ function _e(e, t = X().fallbackLocale) {
4126
+ const r = Et(e);
4127
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4100
4128
  }
4101
- function C() {
4102
- return ze ?? void 0;
4129
+ function M() {
4130
+ return We ?? void 0;
4103
4131
  }
4104
- me.subscribe((e) => {
4105
- ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4132
+ de.subscribe((e) => {
4133
+ We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4106
4134
  });
4107
- const vi = (e) => {
4108
- if (e && oi(e) && Xe(e)) {
4109
- const { loadingDelay: t } = V();
4135
+ const Si = (e) => {
4136
+ if (e && hi(e) && ze(e)) {
4137
+ const { loadingDelay: t } = X();
4110
4138
  let r;
4111
- return typeof window < "u" && C() != null && t ? r = window.setTimeout(
4112
- () => Ae.set(!0),
4139
+ return typeof window < "u" && M() != null && t ? r = window.setTimeout(
4140
+ () => Oe.set(!0),
4113
4141
  t
4114
- ) : Ae.set(!0), tr(e).then(() => {
4115
- me.set(e);
4142
+ ) : Oe.set(!0), rr(e).then(() => {
4143
+ de.set(e);
4116
4144
  }).finally(() => {
4117
- clearTimeout(r), Ae.set(!1);
4145
+ clearTimeout(r), Oe.set(!1);
4118
4146
  });
4119
4147
  }
4120
- return me.set(e);
4121
- }, z = yi(gi({}, me), {
4122
- set: vi
4123
- }), _e = (e) => {
4148
+ return de.set(e);
4149
+ }, W = xi(_i({}, de), {
4150
+ set: Si
4151
+ }), xe = (e) => {
4124
4152
  const t = /* @__PURE__ */ Object.create(null);
4125
4153
  return (n) => {
4126
4154
  const i = JSON.stringify(n);
4127
4155
  return i in t ? t[i] : t[i] = e(n);
4128
4156
  };
4129
4157
  };
4130
- var Ei = Object.defineProperty, de = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? Ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4158
+ var wi = Object.defineProperty, be = Object.getOwnPropertySymbols, nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4131
4159
  for (var r in t || (t = {}))
4132
- rr.call(t, r) && Et(e, r, t[r]);
4133
- if (de)
4134
- for (var r of de(t))
4135
- nr.call(t, r) && Et(e, r, t[r]);
4160
+ nr.call(t, r) && _t(e, r, t[r]);
4161
+ if (be)
4162
+ for (var r of be(t))
4163
+ ir.call(t, r) && _t(e, r, t[r]);
4136
4164
  return e;
4137
- }, W = (e, t) => {
4165
+ }, Z = (e, t) => {
4138
4166
  var r = {};
4139
4167
  for (var n in e)
4140
- rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4141
- if (e != null && de)
4142
- for (var n of de(e))
4143
- t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
4168
+ nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4169
+ if (e != null && be)
4170
+ for (var n of be(e))
4171
+ t.indexOf(n) < 0 && ir.call(e, n) && (r[n] = e[n]);
4144
4172
  return r;
4145
4173
  };
4146
- const K = (e, t) => {
4147
- const { formats: r } = V();
4174
+ const ee = (e, t) => {
4175
+ const { formats: r } = X();
4148
4176
  if (e in r && t in r[e])
4149
4177
  return r[e][t];
4150
4178
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4151
- }, _i = _e(
4179
+ }, Bi = xe(
4152
4180
  (e) => {
4153
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4181
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4154
4182
  if (r == null)
4155
4183
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4156
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
4184
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4157
4185
  }
4158
- ), xi = _e(
4186
+ ), Ti = xe(
4159
4187
  (e) => {
4160
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4188
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4161
4189
  if (r == null)
4162
4190
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4163
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
4191
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4164
4192
  }
4165
- ), Si = _e(
4193
+ ), Hi = xe(
4166
4194
  (e) => {
4167
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
4195
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4168
4196
  if (r == null)
4169
4197
  throw new Error(
4170
4198
  '[svelte-i18n] A "locale" must be set to format time values'
4171
4199
  );
4172
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
4200
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4173
4201
  }
4174
- ), Bi = (e = {}) => {
4202
+ ), Pi = (e = {}) => {
4175
4203
  var t = e, {
4176
- locale: r = C()
4177
- } = t, n = W(t, [
4204
+ locale: r = M()
4205
+ } = t, n = Z(t, [
4178
4206
  "locale"
4179
4207
  ]);
4180
- return _i(Je({ locale: r }, n));
4181
- }, wi = (e = {}) => {
4208
+ return Bi(Ye({ locale: r }, n));
4209
+ }, Ai = (e = {}) => {
4182
4210
  var t = e, {
4183
- locale: r = C()
4184
- } = t, n = W(t, [
4211
+ locale: r = M()
4212
+ } = t, n = Z(t, [
4185
4213
  "locale"
4186
4214
  ]);
4187
- return xi(Je({ locale: r }, n));
4188
- }, Ti = (e = {}) => {
4215
+ return Ti(Ye({ locale: r }, n));
4216
+ }, Oi = (e = {}) => {
4189
4217
  var t = e, {
4190
- locale: r = C()
4191
- } = t, n = W(t, [
4218
+ locale: r = M()
4219
+ } = t, n = Z(t, [
4192
4220
  "locale"
4193
4221
  ]);
4194
- return Si(Je({ locale: r }, n));
4195
- }, Hi = _e(
4222
+ return Hi(Ye({ locale: r }, n));
4223
+ }, Ii = xe(
4196
4224
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4197
- (e, t = C()) => new ei(e, t, V().formats, {
4198
- ignoreTag: V().ignoreTag
4225
+ (e, t = M()) => new ii(e, t, X().formats, {
4226
+ ignoreTag: X().ignoreTag
4199
4227
  })
4200
- ), Pi = (e, t = {}) => {
4228
+ ), Ni = (e, t = {}) => {
4201
4229
  var r, n, i, o;
4202
4230
  let s = t;
4203
4231
  typeof e == "object" && (s = e, e = s.id);
4204
4232
  const {
4205
4233
  values: a,
4206
- locale: u = C(),
4234
+ locale: u = M(),
4207
4235
  default: h
4208
4236
  } = s;
4209
4237
  if (u == null)
4210
4238
  throw new Error(
4211
4239
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4212
4240
  );
4213
- let l = Yt(e, u);
4241
+ let l = qt(e, u);
4214
4242
  if (!l)
4215
- l = (o = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4243
+ l = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4216
4244
  else if (typeof l != "string")
4217
4245
  return console.warn(
4218
4246
  `[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.`
@@ -4221,7 +4249,7 @@ const K = (e, t) => {
4221
4249
  return l;
4222
4250
  let c = l;
4223
4251
  try {
4224
- c = Hi(l, u).format(a);
4252
+ c = Ii(l, u).format(a);
4225
4253
  } catch (f) {
4226
4254
  f instanceof Error && console.warn(
4227
4255
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4229,21 +4257,21 @@ const K = (e, t) => {
4229
4257
  );
4230
4258
  }
4231
4259
  return c;
4232
- }, Ai = (e, t) => Ti(t).format(e), Oi = (e, t) => wi(t).format(e), Ii = (e, t) => Bi(t).format(e), Ni = (e, t = C()) => Yt(e, t), Li = X([z, re], () => Pi);
4233
- X([z], () => Ai);
4234
- X([z], () => Oi);
4235
- X([z], () => Ii);
4236
- X([z, re], () => Ni);
4237
- window.emWidgets = { topic: Vr };
4238
- const se = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4260
+ }, Li = (e, t) => Oi(t).format(e), Ci = (e, t) => Ai(t).format(e), Mi = (e, t) => Pi(t).format(e), $i = (e, t = M()) => qt(e, t), Ri = z([W, ne], () => Ni);
4261
+ z([W], () => Li);
4262
+ z([W], () => Ci);
4263
+ z([W], () => Mi);
4264
+ z([W, ne], () => $i);
4265
+ window.emWidgets = { topic: Zr };
4266
+ const ae = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4239
4267
  String(Number.MAX_SAFE_INTEGER).length;
4240
- function _t(e, t) {
4241
- Kt(e, t);
4268
+ function xt(e, t) {
4269
+ er(e, t);
4242
4270
  }
4243
- function Ci(e) {
4244
- z.set(e);
4271
+ function Ui(e) {
4272
+ W.set(e);
4245
4273
  }
4246
- const xt = {
4274
+ const St = {
4247
4275
  en: {
4248
4276
  panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
4249
4277
  },
@@ -4284,10 +4312,10 @@ const xt = {
4284
4312
  panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
4285
4313
  }
4286
4314
  };
4287
- function Mi(e) {
4288
- sr(e, "svelte-1mifytr", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
4315
+ function Di(e) {
4316
+ ur(e, "svelte-1mifytr", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
4289
4317
  }
4290
- function $i(e) {
4318
+ function Gi(e) {
4291
4319
  let t, r, n, i = (
4292
4320
  /*customtext*/
4293
4321
  (e[0] || /*$_*/
@@ -4295,90 +4323,90 @@ function $i(e) {
4295
4323
  ), o, s;
4296
4324
  return {
4297
4325
  c() {
4298
- t = Q("div"), r = Q("div"), n = Q("button"), o = hr(i), L(n, "class", "PanicButton " + (se(
4326
+ t = J("div"), r = J("div"), n = J("button"), o = cr(i), C(n, "class", "PanicButton " + (ae(
4299
4327
  /*userAgent*/
4300
4328
  e[6]
4301
- ) !== "PC" ? "PanicButtonMobile" : "")), L(n, "part", "PanicButton " + (se(
4329
+ ) !== "PC" ? "PanicButtonMobile" : "")), C(n, "part", "PanicButton " + (ae(
4302
4330
  /*userAgent*/
4303
4331
  e[6]
4304
- ) !== "PC" ? "PanicButtonMobile" : "")), Ke(
4332
+ ) !== "PC" ? "PanicButtonMobile" : "")), et(
4305
4333
  n,
4306
4334
  "PanicButtonAnimation",
4307
4335
  /*panicLoading*/
4308
4336
  e[4]
4309
- ), L(r, "class", "PanicSection " + (se(
4337
+ ), C(r, "class", "PanicSection " + (ae(
4310
4338
  /*userAgent*/
4311
4339
  e[6]
4312
- ) !== "PC" ? "PanicSectionMobile" : "")), L(r, "part", "PanicSection " + (se(
4340
+ ) !== "PC" ? "PanicSectionMobile" : "")), C(r, "part", "PanicSection " + (ae(
4313
4341
  /*userAgent*/
4314
4342
  e[6]
4315
- ) !== "PC" ? "PanicSectionMobile" : "")), L(t, "class", s = /*alternativestyling*/
4343
+ ) !== "PC" ? "PanicSectionMobile" : "")), C(t, "class", s = /*alternativestyling*/
4316
4344
  e[1] == "true" ? "PanicButtonV2" : "");
4317
4345
  },
4318
4346
  m(a, u) {
4319
- Tt(a, t, u), ae(t, r), ae(r, n), ae(n, o), e[12](n), e[13](t);
4347
+ Ht(a, t, u), ue(t, r), ue(r, n), ue(n, o), e[12](n), e[13](t);
4320
4348
  },
4321
4349
  p(a, [u]) {
4322
4350
  u & /*customtext, $_*/
4323
4351
  33 && i !== (i = /*customtext*/
4324
4352
  (a[0] || /*$_*/
4325
- a[5]("panicButtonString")) + "") && cr(o, i), u & /*panicLoading*/
4326
- 16 && Ke(
4353
+ a[5]("panicButtonString")) + "") && pr(o, i), u & /*panicLoading*/
4354
+ 16 && et(
4327
4355
  n,
4328
4356
  "PanicButtonAnimation",
4329
4357
  /*panicLoading*/
4330
4358
  a[4]
4331
4359
  ), u & /*alternativestyling*/
4332
4360
  2 && s !== (s = /*alternativestyling*/
4333
- a[1] == "true" ? "PanicButtonV2" : "") && L(t, "class", s);
4361
+ a[1] == "true" ? "PanicButtonV2" : "") && C(t, "class", s);
4334
4362
  },
4335
- i: w,
4336
- o: w,
4363
+ i: B,
4364
+ o: B,
4337
4365
  d(a) {
4338
- a && Ze(t), e[12](null), e[13](null);
4366
+ a && Qe(t), e[12](null), e[13](null);
4339
4367
  }
4340
4368
  };
4341
4369
  }
4342
- function Ri(e, t, r) {
4370
+ function Fi(e, t, r) {
4343
4371
  let n;
4344
- or(e, Li, (y) => r(5, n = y));
4345
- let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { alternativestyling: h = "" } = t, { translationurl: l = "" } = t, c, f, m = !1, g = 0, b, B = window.navigator.userAgent;
4346
- const N = () => {
4372
+ ar(e, Ri, (y) => r(5, n = y));
4373
+ let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { alternativestyling: h = "" } = t, { translationurl: l = "" } = t, c, f, d, g = !1, b = 0, x, N = window.navigator.userAgent;
4374
+ const O = () => {
4347
4375
  fetch(l).then(($) => $.json()).then(($) => {
4348
- Object.keys($).forEach((Ye) => {
4349
- _t(Ye, $[Ye]);
4376
+ Object.keys($).forEach((qe) => {
4377
+ xt(qe, $[qe]);
4350
4378
  });
4351
4379
  }).catch(($) => {
4352
4380
  console.log($);
4353
4381
  });
4354
4382
  };
4355
- Object.keys(xt).forEach((y) => {
4356
- _t(y, xt[y]);
4383
+ Object.keys(St).forEach((y) => {
4384
+ xt(y, St[y]);
4357
4385
  });
4358
- const O = () => {
4359
- c?.addEventListener("mousedown", T, !1), c?.addEventListener("touchstart", T, !1), c?.addEventListener("mouseup", S, !1), c?.addEventListener("touchend", S, !1);
4360
- }, x = () => {
4361
- r(4, m = !1), c?.removeEventListener("mousedown", T), c?.removeEventListener("touchstart", T), c?.removeEventListener("mouseup", S), c?.removeEventListener("touchend", S);
4362
- }, T = () => {
4363
- g = 0, r(4, m = !0), b = setInterval(
4386
+ const S = () => {
4387
+ c?.addEventListener("mousedown", w, !1), c?.addEventListener("touchstart", w, !1), c?.addEventListener("mouseup", H, !1), c?.addEventListener("touchend", H, !1);
4388
+ }, L = () => {
4389
+ r(4, g = !1), c?.removeEventListener("mousedown", w), c?.removeEventListener("touchstart", w), c?.removeEventListener("mouseup", H), c?.removeEventListener("touchend", H);
4390
+ }, w = () => {
4391
+ b = 0, r(4, g = !0), x = setInterval(
4364
4392
  () => {
4365
- g++, g >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(b), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
4393
+ b++, b >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(x), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
4366
4394
  },
4367
4395
  1e3
4368
4396
  );
4369
- }, S = () => {
4370
- r(4, m = !1), clearInterval(b);
4397
+ }, H = () => {
4398
+ r(4, g = !1), clearInterval(x);
4371
4399
  };
4372
- mr(() => () => {
4373
- x();
4400
+ br(() => () => {
4401
+ L();
4374
4402
  });
4375
- function M(y) {
4376
- fe[y ? "unshift" : "push"](() => {
4403
+ function ie(y) {
4404
+ pe[y ? "unshift" : "push"](() => {
4377
4405
  c = y, r(2, c);
4378
4406
  });
4379
4407
  }
4380
- function ne(y) {
4381
- fe[y ? "unshift" : "push"](() => {
4408
+ function or(y) {
4409
+ pe[y ? "unshift" : "push"](() => {
4382
4410
  f = y, r(3, f);
4383
4411
  });
4384
4412
  }
@@ -4386,36 +4414,36 @@ function Ri(e, t, r) {
4386
4414
  "lang" in y && r(7, i = y.lang), "customtext" in y && r(0, o = y.customtext), "clientstyling" in y && r(8, s = y.clientstyling), "clientstylingurl" in y && r(9, a = y.clientstylingurl), "mbsource" in y && r(10, u = y.mbsource), "alternativestyling" in y && r(1, h = y.alternativestyling), "translationurl" in y && r(11, l = y.translationurl);
4387
4415
  }, e.$$.update = () => {
4388
4416
  e.$$.dirty & /*panicButton*/
4389
- 4 && c && O(), e.$$.dirty & /*lang*/
4390
- 128 && i && Ci(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4391
- 264 && s && f && Pr(f, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4392
- 520 && a && f && Ar(f, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4393
- 1032 && u && f && Or(f, `${u}.Style`), e.$$.dirty & /*translationurl*/
4394
- 2048 && l && N();
4417
+ 4 && c && S(), e.$$.dirty & /*lang*/
4418
+ 128 && i && Ui(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4419
+ 264 && s && f && Or(f, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4420
+ 520 && a && f && Ir(f, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4421
+ 1032 && u && f && Nr(f, `${u}.Style`, d), e.$$.dirty & /*translationurl*/
4422
+ 2048 && l && O();
4395
4423
  }, [
4396
4424
  o,
4397
4425
  h,
4398
4426
  c,
4399
4427
  f,
4400
- m,
4428
+ g,
4401
4429
  n,
4402
- B,
4430
+ N,
4403
4431
  i,
4404
4432
  s,
4405
4433
  a,
4406
4434
  u,
4407
4435
  l,
4408
- M,
4409
- ne
4436
+ ie,
4437
+ or
4410
4438
  ];
4411
4439
  }
4412
- class Ui extends Tr {
4440
+ class ji extends Pr {
4413
4441
  constructor(t) {
4414
- super(), Br(
4442
+ super(), Tr(
4415
4443
  this,
4416
4444
  t,
4417
- Ri,
4418
- $i,
4445
+ Fi,
4446
+ Gi,
4419
4447
  Bt,
4420
4448
  {
4421
4449
  lang: 7,
@@ -4426,7 +4454,7 @@ class Ui extends Tr {
4426
4454
  alternativestyling: 1,
4427
4455
  translationurl: 11
4428
4456
  },
4429
- Mi
4457
+ Di
4430
4458
  );
4431
4459
  }
4432
4460
  get lang() {
@@ -4472,7 +4500,7 @@ class Ui extends Tr {
4472
4500
  this.$$set({ translationurl: t }), P();
4473
4501
  }
4474
4502
  }
4475
- wr(Ui, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4503
+ Hr(ji, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4476
4504
  export {
4477
- Ui as P
4505
+ ji as P
4478
4506
  };