@everymatrix/player-panic-button 1.77.19 → 1.77.20

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