@everymatrix/player-account-general-confirmation-modal 1.65.0 → 1.65.2

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,4 +1,4 @@
1
- function N() {
1
+ function L() {
2
2
  }
3
3
  function dr(e, t) {
4
4
  for (const r in t)
@@ -8,46 +8,46 @@ function dr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Ct(e) {
11
+ function Ot(e) {
12
12
  return e();
13
13
  }
14
- function tt() {
14
+ function nt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function Q(e) {
18
- e.forEach(Ct);
17
+ function Z(e) {
18
+ e.forEach(Ot);
19
19
  }
20
- function Qe(e) {
20
+ function Ke(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function Pt(e, t) {
23
+ function It(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function pr(e) {
26
+ function br(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function Ot(e, ...t) {
29
+ function Nt(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const n of t)
32
32
  n(void 0);
33
- return N;
33
+ return L;
34
34
  }
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function br(e, t, r) {
39
- e.$$.on_destroy.push(Ot(t, r));
38
+ function gr(e, t, r) {
39
+ e.$$.on_destroy.push(Nt(t, r));
40
40
  }
41
- function gr(e, t, r, n) {
41
+ function vr(e, t, r, n) {
42
42
  if (e) {
43
- const i = It(e, t, r, n);
43
+ const i = Mt(e, t, r, n);
44
44
  return e[0](i);
45
45
  }
46
46
  }
47
- function It(e, t, r, n) {
47
+ function Mt(e, t, r, n) {
48
48
  return e[1] && n ? dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
49
  }
50
- function vr(e, t, r, n) {
50
+ function yr(e, t, r, n) {
51
51
  if (e[2] && n) {
52
52
  const i = e[2](n(r));
53
53
  if (t.dirty === void 0)
@@ -62,9 +62,9 @@ function vr(e, t, r, n) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function yr(e, t, r, n, i, o) {
65
+ function _r(e, t, r, n, i, o) {
66
66
  if (i) {
67
- const s = It(t, r, n, o);
67
+ const s = Mt(t, r, n, o);
68
68
  e.p(s, i);
69
69
  }
70
70
  }
@@ -80,14 +80,14 @@ function xr(e) {
80
80
  function B(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function _r(e, t, r) {
84
- const n = Er(e);
83
+ function Er(e, t, r) {
84
+ const n = Sr(e);
85
85
  if (!n.getElementById(t)) {
86
- const i = M("style");
87
- i.id = t, i.textContent = r, Sr(n, i);
86
+ const i = N("style");
87
+ i.id = t, i.textContent = r, wr(n, i);
88
88
  }
89
89
  }
90
- function Er(e) {
90
+ function Sr(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,45 +97,45 @@ function Er(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function Sr(e, t) {
100
+ function wr(e, t) {
101
101
  return B(
102
102
  /** @type {Document} */
103
103
  e.head || e,
104
104
  t
105
105
  ), t.sheet;
106
106
  }
107
- function se(e, t, r) {
107
+ function oe(e, t, r) {
108
108
  e.insertBefore(t, r || null);
109
109
  }
110
- function J(e) {
110
+ function Q(e) {
111
111
  e.parentNode && e.parentNode.removeChild(e);
112
112
  }
113
- function M(e) {
113
+ function N(e) {
114
114
  return document.createElement(e);
115
115
  }
116
- function rt(e) {
116
+ function it(e) {
117
117
  return document.createElementNS("http://www.w3.org/2000/svg", e);
118
118
  }
119
- function re(e) {
119
+ function te(e) {
120
120
  return document.createTextNode(e);
121
121
  }
122
122
  function ue() {
123
- return re(" ");
123
+ return te(" ");
124
124
  }
125
- function Ie(e, t, r, n) {
125
+ function Me(e, t, r, n) {
126
126
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
127
127
  }
128
128
  function H(e, t, r) {
129
129
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
130
130
  }
131
- function wr(e) {
131
+ function Tr(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
134
  function be(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function Tr(e) {
138
+ function Hr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -144,105 +144,105 @@ function Tr(e) {
144
144
  }
145
145
  ), t;
146
146
  }
147
- let ne;
148
- function te(e) {
149
- ne = e;
147
+ let re;
148
+ function ee(e) {
149
+ re = e;
150
150
  }
151
- function Hr() {
152
- if (!ne)
151
+ function Br() {
152
+ if (!re)
153
153
  throw new Error("Function called outside component initialization");
154
- return ne;
154
+ return re;
155
155
  }
156
- function Br(e) {
157
- Hr().$$.on_mount.push(e);
156
+ function Ar(e) {
157
+ Br().$$.on_mount.push(e);
158
158
  }
159
- const j = [], Me = [];
159
+ const j = [], Le = [];
160
160
  let k = [];
161
- const nt = [], Ar = /* @__PURE__ */ Promise.resolve();
162
- let Ne = !1;
163
- function Cr() {
164
- Ne || (Ne = !0, Ar.then(O));
161
+ const ot = [], Cr = /* @__PURE__ */ Promise.resolve();
162
+ let Re = !1;
163
+ function Pr() {
164
+ Re || (Re = !0, Cr.then(O));
165
165
  }
166
- function Le(e) {
166
+ function $e(e) {
167
167
  k.push(e);
168
168
  }
169
- const we = /* @__PURE__ */ new Set();
169
+ const He = /* @__PURE__ */ new Set();
170
170
  let D = 0;
171
171
  function O() {
172
172
  if (D !== 0)
173
173
  return;
174
- const e = ne;
174
+ const e = re;
175
175
  do {
176
176
  try {
177
177
  for (; D < j.length; ) {
178
178
  const t = j[D];
179
- D++, te(t), Pr(t.$$);
179
+ D++, ee(t), Or(t.$$);
180
180
  }
181
181
  } catch (t) {
182
182
  throw j.length = 0, D = 0, t;
183
183
  }
184
- for (te(null), j.length = 0, D = 0; Me.length; )
185
- Me.pop()();
184
+ for (ee(null), j.length = 0, D = 0; Le.length; )
185
+ Le.pop()();
186
186
  for (let t = 0; t < k.length; t += 1) {
187
187
  const r = k[t];
188
- we.has(r) || (we.add(r), r());
188
+ He.has(r) || (He.add(r), r());
189
189
  }
190
190
  k.length = 0;
191
191
  } while (j.length);
192
- for (; nt.length; )
193
- nt.pop()();
194
- Ne = !1, we.clear(), te(e);
192
+ for (; ot.length; )
193
+ ot.pop()();
194
+ Re = !1, He.clear(), ee(e);
195
195
  }
196
- function Pr(e) {
196
+ function Or(e) {
197
197
  if (e.fragment !== null) {
198
- e.update(), Q(e.before_update);
198
+ e.update(), Z(e.before_update);
199
199
  const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
200
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
201
201
  }
202
202
  }
203
- function Or(e) {
203
+ function Ir(e) {
204
204
  const t = [], r = [];
205
205
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
206
206
  }
207
207
  const ce = /* @__PURE__ */ new Set();
208
- let Ir;
209
- function Mt(e, t) {
208
+ let Nr;
209
+ function Lt(e, t) {
210
210
  e && e.i && (ce.delete(e), e.i(t));
211
211
  }
212
212
  function Mr(e, t, r, n) {
213
213
  if (e && e.o) {
214
214
  if (ce.has(e))
215
215
  return;
216
- ce.add(e), Ir.c.push(() => {
216
+ ce.add(e), Nr.c.push(() => {
217
217
  ce.delete(e);
218
218
  }), e.o(t);
219
219
  }
220
220
  }
221
- function Nr(e, t, r) {
221
+ function Lr(e, t, r) {
222
222
  const { fragment: n, after_update: i } = e.$$;
223
- n && n.m(t, r), Le(() => {
224
- const o = e.$$.on_mount.map(Ct).filter(Qe);
225
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Q(o), e.$$.on_mount = [];
226
- }), i.forEach(Le);
223
+ n && n.m(t, r), $e(() => {
224
+ const o = e.$$.on_mount.map(Ot).filter(Ke);
225
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
226
+ }), i.forEach($e);
227
227
  }
228
- function Lr(e, t) {
228
+ function Rr(e, t) {
229
229
  const r = e.$$;
230
- r.fragment !== null && (Or(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
230
+ r.fragment !== null && (Ir(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
231
231
  }
232
- function Rr(e, t) {
233
- e.$$.dirty[0] === -1 && (j.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
232
+ function $r(e, t) {
233
+ e.$$.dirty[0] === -1 && (j.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
234
234
  }
235
- function $r(e, t, r, n, i, o, s = null, a = [-1]) {
236
- const l = ne;
237
- te(e);
235
+ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
236
+ const l = re;
237
+ ee(e);
238
238
  const u = e.$$ = {
239
239
  fragment: null,
240
240
  ctx: [],
241
241
  // state
242
242
  props: o,
243
- update: N,
243
+ update: L,
244
244
  not_equal: i,
245
- bound: tt(),
245
+ bound: nt(),
246
246
  // lifecycle
247
247
  on_mount: [],
248
248
  on_destroy: [],
@@ -251,7 +251,7 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
251
251
  after_update: [],
252
252
  context: new Map(t.context || (l ? l.$$.context : [])),
253
253
  // everything else
254
- callbacks: tt(),
254
+ callbacks: nt(),
255
255
  dirty: a,
256
256
  skip_bound: !1,
257
257
  root: t.target || l.$$.root
@@ -259,20 +259,20 @@ function $r(e, t, r, n, i, o, s = null, a = [-1]) {
259
259
  s && s(u.root);
260
260
  let h = !1;
261
261
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
262
- const d = m.length ? m[0] : f;
263
- return u.ctx && i(u.ctx[c], u.ctx[c] = d) && (!u.skip_bound && u.bound[c] && u.bound[c](d), h && Rr(e, c)), f;
264
- }) : [], u.update(), h = !0, Q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
262
+ const p = m.length ? m[0] : f;
263
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && $r(e, c)), f;
264
+ }) : [], u.update(), h = !0, Z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
265
265
  if (t.hydrate) {
266
- const c = wr(t.target);
267
- u.fragment && u.fragment.l(c), c.forEach(J);
266
+ const c = Tr(t.target);
267
+ u.fragment && u.fragment.l(c), c.forEach(Q);
268
268
  } else
269
269
  u.fragment && u.fragment.c();
270
- t.intro && Mt(e.$$.fragment), Nr(e, t.target, t.anchor), O();
270
+ t.intro && Lt(e.$$.fragment), Lr(e, t.target, t.anchor), O();
271
271
  }
272
- te(l);
272
+ ee(l);
273
273
  }
274
- let Nt;
275
- typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
274
+ let Rt;
275
+ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
276
276
  /** The Svelte component constructor */
277
277
  $$ctor;
278
278
  /** Slots */
@@ -314,24 +314,24 @@ typeof HTMLElement == "function" && (Nt = class extends HTMLElement {
314
314
  let o;
315
315
  return {
316
316
  c: function() {
317
- o = M("slot"), i !== "default" && H(o, "name", i);
317
+ o = N("slot"), i !== "default" && H(o, "name", i);
318
318
  },
319
319
  /**
320
320
  * @param {HTMLElement} target
321
321
  * @param {HTMLElement} [anchor]
322
322
  */
323
323
  m: function(l, u) {
324
- se(l, o, u);
324
+ oe(l, o, u);
325
325
  },
326
326
  d: function(l) {
327
- l && J(o);
327
+ l && Q(o);
328
328
  }
329
329
  };
330
330
  };
331
331
  };
332
332
  if (await Promise.resolve(), !this.$$cn || this.$$c)
333
333
  return;
334
- const t = {}, r = Tr(this);
334
+ const t = {}, r = Hr(this);
335
335
  for (const i of this.$$s)
336
336
  i in r && (t[i] = [e(i)]);
337
337
  for (const i of this.attributes) {
@@ -418,8 +418,8 @@ function fe(e, t, r, n) {
418
418
  return t;
419
419
  }
420
420
  }
421
- function Gr(e, t, r, n, i, o) {
422
- let s = class extends Nt {
421
+ function Ur(e, t, r, n, i, o) {
422
+ let s = class extends Rt {
423
423
  constructor() {
424
424
  super(e, r, i), this.$$p_d = t;
425
425
  }
@@ -447,7 +447,7 @@ function Gr(e, t, r, n, i, o) {
447
447
  }), e.element = /** @type {any} */
448
448
  s, s;
449
449
  }
450
- class Ur {
450
+ class Dr {
451
451
  /**
452
452
  * ### PRIVATE API
453
453
  *
@@ -466,7 +466,7 @@ class Ur {
466
466
  $$set = void 0;
467
467
  /** @returns {void} */
468
468
  $destroy() {
469
- Lr(this, 1), this.$destroy = N;
469
+ Rr(this, 1), this.$destroy = L;
470
470
  }
471
471
  /**
472
472
  * @template {Extract<keyof Events, string>} K
@@ -475,8 +475,8 @@ class Ur {
475
475
  * @returns {() => void}
476
476
  */
477
477
  $on(t, r) {
478
- if (!Qe(r))
479
- return N;
478
+ if (!Ke(r))
479
+ return L;
480
480
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
481
481
  return n.push(r), () => {
482
482
  const i = n.indexOf(r);
@@ -488,11 +488,11 @@ class Ur {
488
488
  * @returns {void}
489
489
  */
490
490
  $set(t) {
491
- this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
491
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
492
492
  }
493
493
  }
494
- const Dr = "4";
495
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Dr);
494
+ const Fr = "4";
495
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
496
496
  /*! *****************************************************************************
497
497
  Copyright (c) Microsoft Corporation.
498
498
 
@@ -507,43 +507,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
507
507
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
508
508
  PERFORMANCE OF THIS SOFTWARE.
509
509
  ***************************************************************************** */
510
- var Re = function(e, t) {
511
- return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
510
+ var Ge = function(e, t) {
511
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
512
512
  r.__proto__ = n;
513
513
  } || function(r, n) {
514
514
  for (var i in n)
515
515
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
516
- }, Re(e, t);
516
+ }, Ge(e, t);
517
517
  };
518
- function R(e, t) {
518
+ function se(e, t) {
519
519
  if (typeof t != "function" && t !== null)
520
520
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
521
- Re(e, t);
521
+ Ge(e, t);
522
522
  function r() {
523
523
  this.constructor = e;
524
524
  }
525
525
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
526
526
  }
527
- var y = function() {
528
- return y = Object.assign || function(t) {
529
- for (var r, n = 1, i = arguments.length; n < i; n++) {
530
- r = arguments[n];
531
- for (var o in r)
532
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
533
- }
534
- return t;
535
- }, y.apply(this, arguments);
536
- };
537
- function Fr(e, t) {
538
- var r = {};
539
- for (var n in e)
540
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
541
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
542
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
543
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
544
- return r;
545
- }
546
- function $e(e) {
527
+ function Ue(e) {
547
528
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
548
529
  if (r)
549
530
  return r.call(e);
@@ -555,7 +536,7 @@ function $e(e) {
555
536
  };
556
537
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
557
538
  }
558
- function Ge(e, t) {
539
+ function De(e, t) {
559
540
  var r = typeof Symbol == "function" && e[Symbol.iterator];
560
541
  if (!r)
561
542
  return e;
@@ -575,22 +556,22 @@ function Ge(e, t) {
575
556
  }
576
557
  return o;
577
558
  }
578
- function V(e, t, r) {
579
- if (r || arguments.length === 2)
559
+ function Fe(e, t, r) {
560
+ if (arguments.length === 2)
580
561
  for (var n = 0, i = t.length, o; n < i; n++)
581
562
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
582
563
  return e.concat(o || t);
583
564
  }
584
- function L(e) {
565
+ function R(e) {
585
566
  return typeof e == "function";
586
567
  }
587
- function Lt(e) {
568
+ function $t(e) {
588
569
  var t = function(n) {
589
570
  Error.call(n), n.stack = new Error().stack;
590
571
  }, r = e(t);
591
572
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
592
573
  }
593
- var Te = Lt(function(e) {
574
+ var Be = $t(function(e) {
594
575
  return function(r) {
595
576
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
596
577
  ` + r.map(function(n, i) {
@@ -599,13 +580,13 @@ var Te = Lt(function(e) {
599
580
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
600
581
  };
601
582
  });
602
- function Ue(e, t) {
583
+ function je(e, t) {
603
584
  if (e) {
604
585
  var r = e.indexOf(t);
605
586
  0 <= r && e.splice(r, 1);
606
587
  }
607
588
  }
608
- var ye = function() {
589
+ var _e = function() {
609
590
  function e(t) {
610
591
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
611
592
  }
@@ -617,12 +598,12 @@ var ye = function() {
617
598
  if (s)
618
599
  if (this._parentage = null, Array.isArray(s))
619
600
  try {
620
- for (var a = $e(s), l = a.next(); !l.done; l = a.next()) {
601
+ for (var a = Ue(s), l = a.next(); !l.done; l = a.next()) {
621
602
  var u = l.value;
622
603
  u.remove(this);
623
604
  }
624
- } catch (p) {
625
- t = { error: p };
605
+ } catch (d) {
606
+ t = { error: d };
626
607
  } finally {
627
608
  try {
628
609
  l && !l.done && (r = a.return) && r.call(a);
@@ -634,26 +615,26 @@ var ye = function() {
634
615
  else
635
616
  s.remove(this);
636
617
  var h = this.initialTeardown;
637
- if (L(h))
618
+ if (R(h))
638
619
  try {
639
620
  h();
640
- } catch (p) {
641
- o = p instanceof Te ? p.errors : [p];
621
+ } catch (d) {
622
+ o = d instanceof Be ? d.errors : [d];
642
623
  }
643
624
  var c = this._finalizers;
644
625
  if (c) {
645
626
  this._finalizers = null;
646
627
  try {
647
- for (var f = $e(c), m = f.next(); !m.done; m = f.next()) {
648
- var d = m.value;
628
+ for (var f = Ue(c), m = f.next(); !m.done; m = f.next()) {
629
+ var p = m.value;
649
630
  try {
650
- it(d);
651
- } catch (p) {
652
- o = o ?? [], p instanceof Te ? o = V(V([], Ge(o)), Ge(p.errors)) : o.push(p);
631
+ st(p);
632
+ } catch (d) {
633
+ o = o ?? [], d instanceof Be ? o = Fe(Fe([], De(o)), De(d.errors)) : o.push(d);
653
634
  }
654
635
  }
655
- } catch (p) {
656
- n = { error: p };
636
+ } catch (d) {
637
+ n = { error: d };
657
638
  } finally {
658
639
  try {
659
640
  m && !m.done && (i = f.return) && i.call(f);
@@ -664,13 +645,13 @@ var ye = function() {
664
645
  }
665
646
  }
666
647
  if (o)
667
- throw new Te(o);
648
+ throw new Be(o);
668
649
  }
669
650
  }, e.prototype.add = function(t) {
670
651
  var r;
671
652
  if (t && t !== this)
672
653
  if (this.closed)
673
- it(t);
654
+ st(t);
674
655
  else {
675
656
  if (t instanceof e) {
676
657
  if (t.closed || t._hasParent(this))
@@ -687,56 +668,52 @@ var ye = function() {
687
668
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
688
669
  }, e.prototype._removeParent = function(t) {
689
670
  var r = this._parentage;
690
- r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
671
+ r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
691
672
  }, e.prototype.remove = function(t) {
692
673
  var r = this._finalizers;
693
- r && Ue(r, t), t instanceof e && t._removeParent(this);
674
+ r && je(r, t), t instanceof e && t._removeParent(this);
694
675
  }, e.EMPTY = function() {
695
676
  var t = new e();
696
677
  return t.closed = !0, t;
697
678
  }(), e;
698
- }(), Rt = ye.EMPTY;
699
- function $t(e) {
700
- return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
679
+ }(), Gt = _e.EMPTY;
680
+ function Ut(e) {
681
+ return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
701
682
  }
702
- function it(e) {
703
- L(e) ? e() : e.unsubscribe();
704
- }
705
- var Gt = {
706
- onUnhandledError: null,
707
- onStoppedNotification: null,
708
- Promise: void 0,
709
- useDeprecatedSynchronousErrorHandling: !1,
710
- useDeprecatedNextContext: !1
711
- }, jr = {
683
+ function st(e) {
684
+ R(e) ? e() : e.unsubscribe();
685
+ }
686
+ var jr = {
687
+ Promise: void 0
688
+ }, kr = {
712
689
  setTimeout: function(e, t) {
713
690
  for (var r = [], n = 2; n < arguments.length; n++)
714
691
  r[n - 2] = arguments[n];
715
- return setTimeout.apply(void 0, V([e, t], Ge(r)));
692
+ return setTimeout.apply(void 0, Fe([e, t], De(r)));
716
693
  },
717
694
  clearTimeout: function(e) {
718
695
  return clearTimeout(e);
719
696
  },
720
697
  delegate: void 0
721
698
  };
722
- function kr(e) {
723
- jr.setTimeout(function() {
699
+ function Vr(e) {
700
+ kr.setTimeout(function() {
724
701
  throw e;
725
702
  });
726
703
  }
727
- function ot() {
704
+ function at() {
728
705
  }
729
706
  function me(e) {
730
707
  e();
731
708
  }
732
- var Ut = function(e) {
733
- R(t, e);
709
+ var Dt = function(e) {
710
+ se(t, e);
734
711
  function t(r) {
735
712
  var n = e.call(this) || this;
736
- return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Wr, n;
713
+ return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = zr, n;
737
714
  }
738
715
  return t.create = function(r, n, i) {
739
- return new De(r, n, i);
716
+ return new ke(r, n, i);
740
717
  }, t.prototype.next = function(r) {
741
718
  this.isStopped || this._next(r);
742
719
  }, t.prototype.error = function(r) {
@@ -760,11 +737,7 @@ var Ut = function(e) {
760
737
  this.unsubscribe();
761
738
  }
762
739
  }, t;
763
- }(ye), Vr = Function.prototype.bind;
764
- function He(e, t) {
765
- return Vr.call(e, t);
766
- }
767
- var Xr = function() {
740
+ }(_e), Xr = function() {
768
741
  function e(t) {
769
742
  this.partialObserver = t;
770
743
  }
@@ -795,41 +768,29 @@ var Xr = function() {
795
768
  le(r);
796
769
  }
797
770
  }, e;
798
- }(), De = function(e) {
799
- R(t, e);
771
+ }(), ke = function(e) {
772
+ se(t, e);
800
773
  function t(r, n, i) {
801
774
  var o = e.call(this) || this, s;
802
- if (L(r) || !r)
803
- s = {
804
- next: r ?? void 0,
805
- error: n ?? void 0,
806
- complete: i ?? void 0
807
- };
808
- else {
809
- var a;
810
- o && Gt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
811
- return o.unsubscribe();
812
- }, s = {
813
- next: r.next && He(r.next, a),
814
- error: r.error && He(r.error, a),
815
- complete: r.complete && He(r.complete, a)
816
- }) : s = r;
817
- }
818
- return o.destination = new Xr(s), o;
775
+ return R(r) || !r ? s = {
776
+ next: r ?? void 0,
777
+ error: n ?? void 0,
778
+ complete: i ?? void 0
779
+ } : s = r, o.destination = new Xr(s), o;
819
780
  }
820
781
  return t;
821
- }(Ut);
782
+ }(Dt);
822
783
  function le(e) {
823
- kr(e);
784
+ Vr(e);
824
785
  }
825
- function zr(e) {
786
+ function Wr(e) {
826
787
  throw e;
827
788
  }
828
- var Wr = {
789
+ var zr = {
829
790
  closed: !0,
830
- next: ot,
831
- error: zr,
832
- complete: ot
791
+ next: at,
792
+ error: Wr,
793
+ complete: at
833
794
  }, Zr = function() {
834
795
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
835
796
  }();
@@ -843,7 +804,7 @@ function Jr(e) {
843
804
  }, r);
844
805
  };
845
806
  }
846
- var st = function() {
807
+ var ut = function() {
847
808
  function e(t) {
848
809
  t && (this._subscribe = t);
849
810
  }
@@ -851,7 +812,7 @@ var st = function() {
851
812
  var r = new e();
852
813
  return r.source = this, r.operator = t, r;
853
814
  }, e.prototype.subscribe = function(t, r, n) {
854
- var i = this, o = qr(t) ? t : new De(t, r, n);
815
+ var i = this, o = qr(t) ? t : new ke(t, r, n);
855
816
  return me(function() {
856
817
  var s = i, a = s.operator, l = s.source;
857
818
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -864,8 +825,8 @@ var st = function() {
864
825
  }
865
826
  }, e.prototype.forEach = function(t, r) {
866
827
  var n = this;
867
- return r = at(r), new r(function(i, o) {
868
- var s = new De({
828
+ return r = lt(r), new r(function(i, o) {
829
+ var s = new ke({
869
830
  next: function(a) {
870
831
  try {
871
832
  t(a);
@@ -889,7 +850,7 @@ var st = function() {
889
850
  return Jr(t)(this);
890
851
  }, e.prototype.toPromise = function(t) {
891
852
  var r = this;
892
- return t = at(t), new t(function(n, i) {
853
+ return t = lt(t), new t(function(n, i) {
893
854
  var o;
894
855
  r.subscribe(function(s) {
895
856
  return o = s;
@@ -903,28 +864,28 @@ var st = function() {
903
864
  return new e(t);
904
865
  }, e;
905
866
  }();
906
- function at(e) {
867
+ function lt(e) {
907
868
  var t;
908
- return (t = e ?? Gt.Promise) !== null && t !== void 0 ? t : Promise;
869
+ return (t = e ?? jr.Promise) !== null && t !== void 0 ? t : Promise;
909
870
  }
910
871
  function Yr(e) {
911
- return e && L(e.next) && L(e.error) && L(e.complete);
872
+ return e && R(e.next) && R(e.error) && R(e.complete);
912
873
  }
913
874
  function qr(e) {
914
- return e && e instanceof Ut || Yr(e) && $t(e);
875
+ return e && e instanceof Dt || Yr(e) && Ut(e);
915
876
  }
916
- var Kr = Lt(function(e) {
877
+ var Kr = $t(function(e) {
917
878
  return function() {
918
879
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
919
880
  };
920
- }), Dt = function(e) {
921
- R(t, e);
881
+ }), Ft = function(e) {
882
+ se(t, e);
922
883
  function t() {
923
884
  var r = e.call(this) || this;
924
885
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
925
886
  }
926
887
  return t.prototype.lift = function(r) {
927
- var n = new ut(this, this);
888
+ var n = new ht(this, this);
928
889
  return n.operator = r, n;
929
890
  }, t.prototype._throwIfClosed = function() {
930
891
  if (this.closed)
@@ -936,7 +897,7 @@ var Kr = Lt(function(e) {
936
897
  if (n._throwIfClosed(), !n.isStopped) {
937
898
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
938
899
  try {
939
- for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
900
+ for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
940
901
  var l = a.value;
941
902
  l.next(r);
942
903
  }
@@ -985,20 +946,20 @@ var Kr = Lt(function(e) {
985
946
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
986
947
  }, t.prototype._innerSubscribe = function(r) {
987
948
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
988
- return o || s ? Rt : (this.currentObservers = null, a.push(r), new ye(function() {
989
- n.currentObservers = null, Ue(a, r);
949
+ return o || s ? Gt : (this.currentObservers = null, a.push(r), new _e(function() {
950
+ n.currentObservers = null, je(a, r);
990
951
  }));
991
952
  }, t.prototype._checkFinalizedStatuses = function(r) {
992
953
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
993
954
  i ? r.error(o) : s && r.complete();
994
955
  }, t.prototype.asObservable = function() {
995
- var r = new st();
956
+ var r = new ut();
996
957
  return r.source = this, r;
997
958
  }, t.create = function(r, n) {
998
- return new ut(r, n);
959
+ return new ht(r, n);
999
960
  }, t;
1000
- }(st), ut = function(e) {
1001
- R(t, e);
961
+ }(ut), ht = function(e) {
962
+ se(t, e);
1002
963
  function t(r, n) {
1003
964
  var i = e.call(this) || this;
1004
965
  return i.destination = r, i.source = n, i;
@@ -1014,17 +975,17 @@ var Kr = Lt(function(e) {
1014
975
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1015
976
  }, t.prototype._subscribe = function(r) {
1016
977
  var n, i;
1017
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Rt;
978
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
1018
979
  }, t;
1019
- }(Dt), Ft = {
980
+ }(Ft), jt = {
1020
981
  now: function() {
1021
- return (Ft.delegate || Date).now();
982
+ return (jt.delegate || Date).now();
1022
983
  },
1023
984
  delegate: void 0
1024
985
  }, en = function(e) {
1025
- R(t, e);
986
+ se(t, e);
1026
987
  function t(r, n, i) {
1027
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
988
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1028
989
  var o = e.call(this) || this;
1029
990
  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;
1030
991
  }
@@ -1044,24 +1005,24 @@ var Kr = Lt(function(e) {
1044
1005
  u && o.splice(0, u + 1);
1045
1006
  }
1046
1007
  }, t;
1047
- }(Dt);
1048
- const lt = [], ht = {}, tn = (e, t = 0) => {
1049
- if (lt.indexOf(e) == -1) {
1008
+ }(Ft);
1009
+ const ct = [], ft = {}, tn = (e, t = 0) => {
1010
+ if (ct.indexOf(e) == -1) {
1050
1011
  const r = new en(t);
1051
- ht[e] = r, lt.push(e);
1012
+ ft[e] = r, ct.push(e);
1052
1013
  }
1053
- return ht[e];
1014
+ return ft[e];
1054
1015
  }, F = [];
1055
1016
  function rn(e, t) {
1056
1017
  return {
1057
1018
  subscribe: xe(e, t).subscribe
1058
1019
  };
1059
1020
  }
1060
- function xe(e, t = N) {
1021
+ function xe(e, t = L) {
1061
1022
  let r;
1062
1023
  const n = /* @__PURE__ */ new Set();
1063
1024
  function i(a) {
1064
- if (Pt(e, a) && (e = a, r)) {
1025
+ if (It(e, a) && (e = a, r)) {
1065
1026
  const l = !F.length;
1066
1027
  for (const u of n)
1067
1028
  u[1](), F.push(u, e);
@@ -1075,15 +1036,15 @@ function xe(e, t = N) {
1075
1036
  function o(a) {
1076
1037
  i(a(e));
1077
1038
  }
1078
- function s(a, l = N) {
1039
+ function s(a, l = L) {
1079
1040
  const u = [a, l];
1080
- return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
1041
+ return n.add(u), n.size === 1 && (r = t(i, o) || L), a(e), () => {
1081
1042
  n.delete(u), n.size === 0 && r && (r(), r = null);
1082
1043
  };
1083
1044
  }
1084
1045
  return { set: i, update: o, subscribe: s };
1085
1046
  }
1086
- function Y(e, t, r) {
1047
+ function J(e, t, r) {
1087
1048
  const n = !Array.isArray(e), i = n ? [e] : e;
1088
1049
  if (!i.every(Boolean))
1089
1050
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1091,26 +1052,26 @@ function Y(e, t, r) {
1091
1052
  return rn(r, (s, a) => {
1092
1053
  let l = !1;
1093
1054
  const u = [];
1094
- let h = 0, c = N;
1055
+ let h = 0, c = L;
1095
1056
  const f = () => {
1096
1057
  if (h)
1097
1058
  return;
1098
1059
  c();
1099
- const d = t(n ? u[0] : u, s, a);
1100
- o ? s(d) : c = Qe(d) ? d : N;
1060
+ const p = t(n ? u[0] : u, s, a);
1061
+ o ? s(p) : c = Ke(p) ? p : L;
1101
1062
  }, m = i.map(
1102
- (d, p) => Ot(
1103
- d,
1104
- (w) => {
1105
- u[p] = w, h &= ~(1 << p), l && f();
1063
+ (p, d) => Nt(
1064
+ p,
1065
+ (S) => {
1066
+ u[d] = S, h &= ~(1 << d), l && f();
1106
1067
  },
1107
1068
  () => {
1108
- h |= 1 << p;
1069
+ h |= 1 << d;
1109
1070
  }
1110
1071
  )
1111
1072
  );
1112
1073
  return l = !0, f(), function() {
1113
- Q(m), c(), l = !1;
1074
+ Z(m), c(), l = !1;
1114
1075
  };
1115
1076
  });
1116
1077
  }
@@ -1134,62 +1095,104 @@ function hn(e) {
1134
1095
  function cn(e) {
1135
1096
  return Array.isArray(e) ? [] : {};
1136
1097
  }
1137
- function ie(e, t) {
1138
- return t.clone !== !1 && t.isMergeableObject(e) ? X(cn(e), e, t) : e;
1098
+ function ne(e, t) {
1099
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(cn(e), e, t) : e;
1139
1100
  }
1140
1101
  function fn(e, t, r) {
1141
1102
  return e.concat(t).map(function(n) {
1142
- return ie(n, r);
1103
+ return ne(n, r);
1143
1104
  });
1144
1105
  }
1145
1106
  function mn(e, t) {
1146
1107
  if (!t.customMerge)
1147
- return X;
1108
+ return V;
1148
1109
  var r = t.customMerge(e);
1149
- return typeof r == "function" ? r : X;
1110
+ return typeof r == "function" ? r : V;
1150
1111
  }
1151
- function dn(e) {
1112
+ function pn(e) {
1152
1113
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1153
1114
  return Object.propertyIsEnumerable.call(e, t);
1154
1115
  }) : [];
1155
1116
  }
1156
- function ct(e) {
1157
- return Object.keys(e).concat(dn(e));
1117
+ function mt(e) {
1118
+ return Object.keys(e).concat(pn(e));
1158
1119
  }
1159
- function jt(e, t) {
1120
+ function kt(e, t) {
1160
1121
  try {
1161
1122
  return t in e;
1162
1123
  } catch {
1163
1124
  return !1;
1164
1125
  }
1165
1126
  }
1166
- function pn(e, t) {
1167
- return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1127
+ function dn(e, t) {
1128
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1168
1129
  }
1169
1130
  function bn(e, t, r) {
1170
1131
  var n = {};
1171
- return r.isMergeableObject(e) && ct(e).forEach(function(i) {
1172
- n[i] = ie(e[i], r);
1173
- }), ct(t).forEach(function(i) {
1174
- pn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1132
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1133
+ n[i] = ne(e[i], r);
1134
+ }), mt(t).forEach(function(i) {
1135
+ dn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = mn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1175
1136
  }), n;
1176
1137
  }
1177
- function X(e, t, r) {
1178
- r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = ie;
1138
+ function V(e, t, r) {
1139
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = ne;
1179
1140
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1180
- return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : ie(t, r);
1141
+ return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : ne(t, r);
1181
1142
  }
1182
- X.all = function(t, r) {
1143
+ V.all = function(t, r) {
1183
1144
  if (!Array.isArray(t))
1184
1145
  throw new Error("first argument should be an array");
1185
1146
  return t.reduce(function(n, i) {
1186
- return X(n, i, r);
1147
+ return V(n, i, r);
1187
1148
  }, {});
1188
1149
  };
1189
- var gn = X, vn = gn;
1150
+ var gn = V, vn = gn;
1190
1151
  const yn = /* @__PURE__ */ nn(vn);
1191
- function Be(e, t) {
1192
- var r = t && t.cache ? t.cache : Tn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : _n;
1152
+ var Ve = function(e, t) {
1153
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1154
+ r.__proto__ = n;
1155
+ } || function(r, n) {
1156
+ for (var i in n)
1157
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1158
+ }, Ve(e, t);
1159
+ };
1160
+ function Ee(e, t) {
1161
+ if (typeof t != "function" && t !== null)
1162
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1163
+ Ve(e, t);
1164
+ function r() {
1165
+ this.constructor = e;
1166
+ }
1167
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1168
+ }
1169
+ var M = function() {
1170
+ return M = Object.assign || function(t) {
1171
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1172
+ r = arguments[n];
1173
+ for (var o in r)
1174
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1175
+ }
1176
+ return t;
1177
+ }, M.apply(this, arguments);
1178
+ };
1179
+ function _n(e, t) {
1180
+ var r = {};
1181
+ for (var n in e)
1182
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1183
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1184
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1185
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1186
+ return r;
1187
+ }
1188
+ function Ae(e, t, r) {
1189
+ if (r || arguments.length === 2)
1190
+ for (var n = 0, i = t.length, o; n < i; n++)
1191
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1192
+ return e.concat(o || Array.prototype.slice.call(t));
1193
+ }
1194
+ function Ce(e, t) {
1195
+ var r = t && t.cache ? t.cache : Bn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : Sn;
1193
1196
  return i(e, {
1194
1197
  cache: r,
1195
1198
  serializer: n
@@ -1198,7 +1201,7 @@ function Be(e, t) {
1198
1201
  function xn(e) {
1199
1202
  return e == null || typeof e == "number" || typeof e == "boolean";
1200
1203
  }
1201
- function kt(e, t, r, n) {
1204
+ function En(e, t, r, n) {
1202
1205
  var i = xn(n) ? n : r(n), o = t.get(i);
1203
1206
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1204
1207
  }
@@ -1206,87 +1209,95 @@ function Vt(e, t, r) {
1206
1209
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1207
1210
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1208
1211
  }
1209
- function Je(e, t, r, n, i) {
1212
+ function Xt(e, t, r, n, i) {
1210
1213
  return r.bind(t, e, n, i);
1211
1214
  }
1212
- function _n(e, t) {
1213
- var r = e.length === 1 ? kt : Vt;
1214
- return Je(e, this, r, t.cache.create(), t.serializer);
1215
- }
1216
- function En(e, t) {
1217
- return Je(e, this, Vt, t.cache.create(), t.serializer);
1218
- }
1219
1215
  function Sn(e, t) {
1220
- return Je(e, this, kt, t.cache.create(), t.serializer);
1216
+ var r = e.length === 1 ? En : Vt;
1217
+ return Xt(e, this, r, t.cache.create(), t.serializer);
1221
1218
  }
1222
- var wn = function() {
1223
- return JSON.stringify(arguments);
1224
- };
1225
- function Ye() {
1226
- this.cache = /* @__PURE__ */ Object.create(null);
1219
+ function wn(e, t) {
1220
+ return Xt(e, this, Vt, t.cache.create(), t.serializer);
1227
1221
  }
1228
- Ye.prototype.get = function(e) {
1229
- return this.cache[e];
1230
- };
1231
- Ye.prototype.set = function(e, t) {
1232
- this.cache[e] = t;
1233
- };
1234
- var Tn = {
1222
+ var Tn = function() {
1223
+ return JSON.stringify(arguments);
1224
+ }, Hn = (
1225
+ /** @class */
1226
+ function() {
1227
+ function e() {
1228
+ this.cache = /* @__PURE__ */ Object.create(null);
1229
+ }
1230
+ return e.prototype.get = function(t) {
1231
+ return this.cache[t];
1232
+ }, e.prototype.set = function(t, r) {
1233
+ this.cache[t] = r;
1234
+ }, e;
1235
+ }()
1236
+ ), Bn = {
1235
1237
  create: function() {
1236
- return new Ye();
1238
+ return new Hn();
1237
1239
  }
1238
- }, Ae = {
1239
- variadic: En,
1240
- monadic: Sn
1241
- }, b;
1240
+ }, Pe = {
1241
+ variadic: wn
1242
+ }, ge = function() {
1243
+ return ge = Object.assign || function(t) {
1244
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1245
+ r = arguments[n];
1246
+ for (var o in r)
1247
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1248
+ }
1249
+ return t;
1250
+ }, ge.apply(this, arguments);
1251
+ };
1252
+ var b;
1242
1253
  (function(e) {
1243
1254
  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";
1244
1255
  })(b || (b = {}));
1245
- var S;
1256
+ var E;
1246
1257
  (function(e) {
1247
1258
  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";
1248
- })(S || (S = {}));
1249
- var z;
1259
+ })(E || (E = {}));
1260
+ var X;
1250
1261
  (function(e) {
1251
1262
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1252
- })(z || (z = {}));
1253
- function ft(e) {
1254
- return e.type === S.literal;
1263
+ })(X || (X = {}));
1264
+ function pt(e) {
1265
+ return e.type === E.literal;
1255
1266
  }
1256
- function Hn(e) {
1257
- return e.type === S.argument;
1267
+ function An(e) {
1268
+ return e.type === E.argument;
1258
1269
  }
1259
- function Xt(e) {
1260
- return e.type === S.number;
1270
+ function Wt(e) {
1271
+ return e.type === E.number;
1261
1272
  }
1262
1273
  function zt(e) {
1263
- return e.type === S.date;
1264
- }
1265
- function Wt(e) {
1266
- return e.type === S.time;
1274
+ return e.type === E.date;
1267
1275
  }
1268
1276
  function Zt(e) {
1269
- return e.type === S.select;
1277
+ return e.type === E.time;
1270
1278
  }
1271
1279
  function Qt(e) {
1272
- return e.type === S.plural;
1273
- }
1274
- function Bn(e) {
1275
- return e.type === S.pound;
1280
+ return e.type === E.select;
1276
1281
  }
1277
1282
  function Jt(e) {
1278
- return e.type === S.tag;
1283
+ return e.type === E.plural;
1284
+ }
1285
+ function Cn(e) {
1286
+ return e.type === E.pound;
1279
1287
  }
1280
1288
  function Yt(e) {
1281
- return !!(e && typeof e == "object" && e.type === z.number);
1289
+ return e.type === E.tag;
1282
1290
  }
1283
- function Fe(e) {
1284
- return !!(e && typeof e == "object" && e.type === z.dateTime);
1291
+ function qt(e) {
1292
+ return !!(e && typeof e == "object" && e.type === X.number);
1285
1293
  }
1286
- var qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
1287
- function Cn(e) {
1294
+ function Xe(e) {
1295
+ return !!(e && typeof e == "object" && e.type === X.dateTime);
1296
+ }
1297
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
1298
+ function On(e) {
1288
1299
  var t = {};
1289
- return e.replace(An, function(r) {
1300
+ return e.replace(Pn, function(r) {
1290
1301
  var n = r.length;
1291
1302
  switch (r[0]) {
1292
1303
  case "G":
@@ -1375,11 +1386,21 @@ function Cn(e) {
1375
1386
  return "";
1376
1387
  }), t;
1377
1388
  }
1378
- var Pn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1379
- function On(e) {
1389
+ var T = function() {
1390
+ return T = Object.assign || function(t) {
1391
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1392
+ r = arguments[n];
1393
+ for (var o in r)
1394
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1395
+ }
1396
+ return t;
1397
+ }, T.apply(this, arguments);
1398
+ };
1399
+ var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1400
+ function Nn(e) {
1380
1401
  if (e.length === 0)
1381
1402
  throw new Error("Number skeleton cannot be empty");
1382
- for (var t = e.split(Pn).filter(function(f) {
1403
+ for (var t = e.split(In).filter(function(f) {
1383
1404
  return f.length > 0;
1384
1405
  }), r = [], n = 0, i = t; n < i.length; n++) {
1385
1406
  var o = i[n], s = o.split("/");
@@ -1394,17 +1415,17 @@ function On(e) {
1394
1415
  }
1395
1416
  return r;
1396
1417
  }
1397
- function In(e) {
1418
+ function Mn(e) {
1398
1419
  return e.replace(/^(.*?)-/, "");
1399
1420
  }
1400
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1401
- function dt(e) {
1421
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Ln = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1422
+ function bt(e) {
1402
1423
  var t = {};
1403
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1424
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1404
1425
  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)), "";
1405
1426
  }), t;
1406
1427
  }
1407
- function tr(e) {
1428
+ function rr(e) {
1408
1429
  switch (e) {
1409
1430
  case "sign-auto":
1410
1431
  return {
@@ -1444,7 +1465,7 @@ function tr(e) {
1444
1465
  };
1445
1466
  }
1446
1467
  }
1447
- function Nn(e) {
1468
+ function Rn(e) {
1448
1469
  var t;
1449
1470
  if (e[0] === "E" && e[1] === "E" ? (t = {
1450
1471
  notation: "engineering"
@@ -1452,17 +1473,17 @@ function Nn(e) {
1452
1473
  notation: "scientific"
1453
1474
  }, e = e.slice(1)), t) {
1454
1475
  var r = e.slice(0, 2);
1455
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1476
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1456
1477
  throw new Error("Malformed concise eng/scientific notation");
1457
1478
  t.minimumIntegerDigits = e.length;
1458
1479
  }
1459
1480
  return t;
1460
1481
  }
1461
- function pt(e) {
1462
- var t = {}, r = tr(e);
1482
+ function gt(e) {
1483
+ var t = {}, r = rr(e);
1463
1484
  return r || t;
1464
1485
  }
1465
- function Ln(e) {
1486
+ function $n(e) {
1466
1487
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1467
1488
  var i = n[r];
1468
1489
  switch (i.stem) {
@@ -1486,7 +1507,7 @@ function Ln(e) {
1486
1507
  continue;
1487
1508
  case "measure-unit":
1488
1509
  case "unit":
1489
- t.style = "unit", t.unit = In(i.options[0]);
1510
+ t.style = "unit", t.unit = Mn(i.options[0]);
1490
1511
  continue;
1491
1512
  case "compact-short":
1492
1513
  case "K":
@@ -1497,13 +1518,13 @@ function Ln(e) {
1497
1518
  t.notation = "compact", t.compactDisplay = "long";
1498
1519
  continue;
1499
1520
  case "scientific":
1500
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1501
- return y(y({}, l), pt(u));
1521
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1522
+ return T(T({}, l), gt(u));
1502
1523
  }, {}));
1503
1524
  continue;
1504
1525
  case "engineering":
1505
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1506
- return y(y({}, l), pt(u));
1526
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1527
+ return T(T({}, l), gt(u));
1507
1528
  }, {}));
1508
1529
  continue;
1509
1530
  case "notation-simple":
@@ -1548,7 +1569,7 @@ function Ln(e) {
1548
1569
  case "integer-width":
1549
1570
  if (i.options.length > 1)
1550
1571
  throw new RangeError("integer-width stems only accept a single optional option");
1551
- i.options[0].replace(Mn, function(l, u, h, c, f, m) {
1572
+ i.options[0].replace(Ln, function(l, u, h, c, f, m) {
1552
1573
  if (u)
1553
1574
  t.minimumIntegerDigits = h.length;
1554
1575
  else {
@@ -1561,28 +1582,28 @@ function Ln(e) {
1561
1582
  });
1562
1583
  continue;
1563
1584
  }
1564
- if (er.test(i.stem)) {
1585
+ if (tr.test(i.stem)) {
1565
1586
  t.minimumIntegerDigits = i.stem.length;
1566
1587
  continue;
1567
1588
  }
1568
- if (mt.test(i.stem)) {
1589
+ if (dt.test(i.stem)) {
1569
1590
  if (i.options.length > 1)
1570
1591
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1571
- i.stem.replace(mt, function(l, u, h, c, f, m) {
1592
+ i.stem.replace(dt, function(l, u, h, c, f, m) {
1572
1593
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1573
1594
  });
1574
1595
  var o = i.options[0];
1575
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), dt(o)));
1596
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), bt(o)));
1576
1597
  continue;
1577
1598
  }
1578
- if (Kt.test(i.stem)) {
1579
- t = y(y({}, t), dt(i.stem));
1599
+ if (er.test(i.stem)) {
1600
+ t = T(T({}, t), bt(i.stem));
1580
1601
  continue;
1581
1602
  }
1582
- var s = tr(i.stem);
1583
- s && (t = y(y({}, t), s));
1584
- var a = Nn(i.stem);
1585
- a && (t = y(y({}, t), a));
1603
+ var s = rr(i.stem);
1604
+ s && (t = T(T({}, t), s));
1605
+ var a = Rn(i.stem);
1606
+ a && (t = T(T({}, t), a));
1586
1607
  }
1587
1608
  return t;
1588
1609
  }
@@ -3001,13 +3022,13 @@ var he = {
3001
3022
  "h"
3002
3023
  ]
3003
3024
  };
3004
- function Rn(e, t) {
3025
+ function Gn(e, t) {
3005
3026
  for (var r = "", n = 0; n < e.length; n++) {
3006
3027
  var i = e.charAt(n);
3007
3028
  if (i === "j") {
3008
3029
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3009
3030
  o++, n++;
3010
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = $n(t);
3031
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Un(t);
3011
3032
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3012
3033
  r += l;
3013
3034
  for (; s-- > 0; )
@@ -3017,7 +3038,7 @@ function Rn(e, t) {
3017
3038
  }
3018
3039
  return r;
3019
3040
  }
3020
- function $n(e) {
3041
+ function Un(e) {
3021
3042
  var t = e.hourCycle;
3022
3043
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3023
3044
  e.hourCycles && // @ts-ignore
@@ -3039,20 +3060,20 @@ function $n(e) {
3039
3060
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3040
3061
  return i[0];
3041
3062
  }
3042
- var Ce, Gn = new RegExp("^".concat(qt.source, "*")), Un = new RegExp("".concat(qt.source, "*$"));
3063
+ var Oe, Dn = new RegExp("^".concat(Kt.source, "*")), Fn = new RegExp("".concat(Kt.source, "*$"));
3043
3064
  function v(e, t) {
3044
3065
  return { start: e, end: t };
3045
3066
  }
3046
- var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Wn = zn ? Number.isSafeInteger : function(e) {
3067
+ var jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), kn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Xn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, zn = !!String.prototype.trimEnd, Zn = !!Number.isSafeInteger, Qn = Zn ? Number.isSafeInteger : function(e) {
3047
3068
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3048
- }, je = !0;
3069
+ }, We = !0;
3049
3070
  try {
3050
- var Zn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3051
- je = ((Ce = Zn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
3071
+ var Jn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3072
+ We = ((Oe = Jn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3052
3073
  } catch {
3053
- je = !1;
3074
+ We = !1;
3054
3075
  }
3055
- var bt = Dn ? (
3076
+ var vt = jn ? (
3056
3077
  // Native
3057
3078
  function(t, r, n) {
3058
3079
  return t.startsWith(r, n);
@@ -3062,7 +3083,7 @@ var bt = Dn ? (
3062
3083
  function(t, r, n) {
3063
3084
  return t.slice(n, n + r.length) === r;
3064
3085
  }
3065
- ), ke = Fn ? String.fromCodePoint : (
3086
+ ), ze = kn ? String.fromCodePoint : (
3066
3087
  // IE11
3067
3088
  function() {
3068
3089
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3074,9 +3095,9 @@ var bt = Dn ? (
3074
3095
  }
3075
3096
  return n;
3076
3097
  }
3077
- ), gt = (
3098
+ ), yt = (
3078
3099
  // native
3079
- jn ? Object.fromEntries : (
3100
+ Vn ? Object.fromEntries : (
3080
3101
  // Ponyfill
3081
3102
  function(t) {
3082
3103
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3086,7 +3107,7 @@ var bt = Dn ? (
3086
3107
  return r;
3087
3108
  }
3088
3109
  )
3089
- ), rr = kn ? (
3110
+ ), nr = Xn ? (
3090
3111
  // Native
3091
3112
  function(t, r) {
3092
3113
  return t.codePointAt(r);
@@ -3100,7 +3121,7 @@ var bt = Dn ? (
3100
3121
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3101
3122
  }
3102
3123
  }
3103
- ), Qn = Vn ? (
3124
+ ), Yn = Wn ? (
3104
3125
  // Native
3105
3126
  function(t) {
3106
3127
  return t.trimStart();
@@ -3108,9 +3129,9 @@ var bt = Dn ? (
3108
3129
  ) : (
3109
3130
  // Ponyfill
3110
3131
  function(t) {
3111
- return t.replace(Gn, "");
3132
+ return t.replace(Dn, "");
3112
3133
  }
3113
- ), Jn = Xn ? (
3134
+ ), qn = zn ? (
3114
3135
  // Native
3115
3136
  function(t) {
3116
3137
  return t.trimEnd();
@@ -3118,32 +3139,32 @@ var bt = Dn ? (
3118
3139
  ) : (
3119
3140
  // Ponyfill
3120
3141
  function(t) {
3121
- return t.replace(Un, "");
3142
+ return t.replace(Fn, "");
3122
3143
  }
3123
3144
  );
3124
- function nr(e, t) {
3145
+ function ir(e, t) {
3125
3146
  return new RegExp(e, t);
3126
3147
  }
3127
- var Ve;
3128
- if (je) {
3129
- var vt = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3130
- Ve = function(t, r) {
3148
+ var Ze;
3149
+ if (We) {
3150
+ var _t = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3151
+ Ze = function(t, r) {
3131
3152
  var n;
3132
- vt.lastIndex = r;
3133
- var i = vt.exec(t);
3153
+ _t.lastIndex = r;
3154
+ var i = _t.exec(t);
3134
3155
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3135
3156
  };
3136
3157
  } else
3137
- Ve = function(t, r) {
3158
+ Ze = function(t, r) {
3138
3159
  for (var n = []; ; ) {
3139
- var i = rr(t, r);
3140
- if (i === void 0 || ir(i) || ei(i))
3160
+ var i = nr(t, r);
3161
+ if (i === void 0 || or(i) || ri(i))
3141
3162
  break;
3142
3163
  n.push(i), r += i >= 65536 ? 2 : 1;
3143
3164
  }
3144
- return ke.apply(void 0, n);
3165
+ return ze.apply(void 0, n);
3145
3166
  };
3146
- var Yn = (
3167
+ var Kn = (
3147
3168
  /** @class */
3148
3169
  function() {
3149
3170
  function e(t, r) {
@@ -3167,14 +3188,14 @@ var Yn = (
3167
3188
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3168
3189
  var a = this.clonePosition();
3169
3190
  this.bump(), i.push({
3170
- type: S.pound,
3191
+ type: E.pound,
3171
3192
  location: v(a, this.clonePosition())
3172
3193
  });
3173
3194
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3174
3195
  if (n)
3175
3196
  break;
3176
3197
  return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3177
- } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3198
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3178
3199
  var s = this.parseTag(t, r);
3179
3200
  if (s.err)
3180
3201
  return s;
@@ -3195,7 +3216,7 @@ var Yn = (
3195
3216
  if (this.bumpSpace(), this.bumpIf("/>"))
3196
3217
  return {
3197
3218
  val: {
3198
- type: S.literal,
3219
+ type: E.literal,
3199
3220
  value: "<".concat(i, "/>"),
3200
3221
  location: v(n, this.clonePosition())
3201
3222
  },
@@ -3207,12 +3228,12 @@ var Yn = (
3207
3228
  return o;
3208
3229
  var s = o.val, a = this.clonePosition();
3209
3230
  if (this.bumpIf("</")) {
3210
- if (this.isEOF() || !Xe(this.char()))
3231
+ if (this.isEOF() || !Qe(this.char()))
3211
3232
  return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
3212
3233
  var l = this.clonePosition(), u = this.parseTagName();
3213
3234
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3214
3235
  val: {
3215
- type: S.tag,
3236
+ type: E.tag,
3216
3237
  value: i,
3217
3238
  children: s,
3218
3239
  location: v(n, this.clonePosition())
@@ -3225,7 +3246,7 @@ var Yn = (
3225
3246
  return this.error(b.INVALID_TAG, v(n, this.clonePosition()));
3226
3247
  }, e.prototype.parseTagName = function() {
3227
3248
  var t = this.offset();
3228
- for (this.bump(); !this.isEOF() && Kn(this.char()); )
3249
+ for (this.bump(); !this.isEOF() && ti(this.char()); )
3229
3250
  this.bump();
3230
3251
  return this.message.slice(t, this.offset());
3231
3252
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3249,12 +3270,12 @@ var Yn = (
3249
3270
  }
3250
3271
  var l = v(n, this.clonePosition());
3251
3272
  return {
3252
- val: { type: S.literal, value: i, location: l },
3273
+ val: { type: E.literal, value: i, location: l },
3253
3274
  err: null
3254
3275
  };
3255
3276
  }, e.prototype.tryParseLeftAngleBracket = function() {
3256
3277
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3257
- !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3278
+ !ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3258
3279
  }, e.prototype.tryParseQuote = function(t) {
3259
3280
  if (this.isEOF() || this.char() !== 39)
3260
3281
  return null;
@@ -3288,12 +3309,12 @@ var Yn = (
3288
3309
  r.push(n);
3289
3310
  this.bump();
3290
3311
  }
3291
- return ke.apply(void 0, r);
3312
+ return ze.apply(void 0, r);
3292
3313
  }, e.prototype.tryParseUnquoted = function(t, r) {
3293
3314
  if (this.isEOF())
3294
3315
  return null;
3295
3316
  var n = this.char();
3296
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3317
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
3297
3318
  }, e.prototype.parseArgument = function(t, r) {
3298
3319
  var n = this.clonePosition();
3299
3320
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3309,7 +3330,7 @@ var Yn = (
3309
3330
  case 125:
3310
3331
  return this.bump(), {
3311
3332
  val: {
3312
- type: S.argument,
3333
+ type: E.argument,
3313
3334
  // value does not include the opening and closing braces.
3314
3335
  value: i,
3315
3336
  location: v(n, this.clonePosition())
@@ -3322,7 +3343,7 @@ var Yn = (
3322
3343
  return this.error(b.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3323
3344
  }
3324
3345
  }, e.prototype.parseIdentifierIfPossible = function() {
3325
- var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3346
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3326
3347
  this.bumpTo(i);
3327
3348
  var o = this.clonePosition(), s = v(t, o);
3328
3349
  return { value: n, location: s };
@@ -3341,46 +3362,46 @@ var Yn = (
3341
3362
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3342
3363
  if (c.err)
3343
3364
  return c;
3344
- var f = Jn(c.val);
3365
+ var f = qn(c.val);
3345
3366
  if (f.length === 0)
3346
3367
  return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3347
3368
  var m = v(h, this.clonePosition());
3348
3369
  u = { style: f, styleLocation: m };
3349
3370
  }
3350
- var d = this.tryParseArgumentClose(i);
3351
- if (d.err)
3352
- return d;
3353
- var p = v(i, this.clonePosition());
3354
- if (u && bt(u?.style, "::", 0)) {
3355
- var w = Qn(u.style.slice(2));
3371
+ var p = this.tryParseArgumentClose(i);
3372
+ if (p.err)
3373
+ return p;
3374
+ var d = v(i, this.clonePosition());
3375
+ if (u && vt(u?.style, "::", 0)) {
3376
+ var S = Yn(u.style.slice(2));
3356
3377
  if (a === "number") {
3357
- var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3378
+ var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3358
3379
  return c.err ? c : {
3359
- val: { type: S.number, value: n, location: p, style: c.val },
3380
+ val: { type: E.number, value: n, location: d, style: c.val },
3360
3381
  err: null
3361
3382
  };
3362
3383
  } else {
3363
- if (w.length === 0)
3364
- return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3365
- var I = w;
3366
- this.locale && (I = Rn(w, this.locale));
3384
+ if (S.length === 0)
3385
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3386
+ var I = S;
3387
+ this.locale && (I = Gn(S, this.locale));
3367
3388
  var f = {
3368
- type: z.dateTime,
3389
+ type: X.dateTime,
3369
3390
  pattern: I,
3370
3391
  location: u.styleLocation,
3371
- parsedOptions: this.shouldParseSkeletons ? Cn(I) : {}
3372
- }, C = a === "date" ? S.date : S.time;
3392
+ parsedOptions: this.shouldParseSkeletons ? On(I) : {}
3393
+ }, C = a === "date" ? E.date : E.time;
3373
3394
  return {
3374
- val: { type: C, value: n, location: p, style: f },
3395
+ val: { type: C, value: n, location: d, style: f },
3375
3396
  err: null
3376
3397
  };
3377
3398
  }
3378
3399
  }
3379
3400
  return {
3380
3401
  val: {
3381
- type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3402
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3382
3403
  value: n,
3383
- location: p,
3404
+ location: d,
3384
3405
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3385
3406
  },
3386
3407
  err: null
@@ -3389,11 +3410,11 @@ var Yn = (
3389
3410
  case "plural":
3390
3411
  case "selectordinal":
3391
3412
  case "select": {
3392
- var T = this.clonePosition();
3413
+ var w = this.clonePosition();
3393
3414
  if (this.bumpSpace(), !this.bumpIf(","))
3394
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(T, y({}, T)));
3415
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, ge({}, w)));
3395
3416
  this.bumpSpace();
3396
- var _ = this.parseIdentifierIfPossible(), E = 0;
3417
+ var _ = this.parseIdentifierIfPossible(), x = 0;
3397
3418
  if (a !== "select" && _.value === "offset") {
3398
3419
  if (!this.bumpIf(":"))
3399
3420
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
@@ -3401,29 +3422,29 @@ var Yn = (
3401
3422
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3402
3423
  if (c.err)
3403
3424
  return c;
3404
- this.bumpSpace(), _ = this.parseIdentifierIfPossible(), E = c.val;
3425
+ this.bumpSpace(), _ = this.parseIdentifierIfPossible(), x = c.val;
3405
3426
  }
3406
- var x = this.tryParsePluralOrSelectOptions(t, a, r, _);
3407
- if (x.err)
3408
- return x;
3409
- var d = this.tryParseArgumentClose(i);
3410
- if (d.err)
3411
- return d;
3427
+ var y = this.tryParsePluralOrSelectOptions(t, a, r, _);
3428
+ if (y.err)
3429
+ return y;
3430
+ var p = this.tryParseArgumentClose(i);
3431
+ if (p.err)
3432
+ return p;
3412
3433
  var P = v(i, this.clonePosition());
3413
3434
  return a === "select" ? {
3414
3435
  val: {
3415
- type: S.select,
3436
+ type: E.select,
3416
3437
  value: n,
3417
- options: gt(x.val),
3438
+ options: yt(y.val),
3418
3439
  location: P
3419
3440
  },
3420
3441
  err: null
3421
3442
  } : {
3422
3443
  val: {
3423
- type: S.plural,
3444
+ type: E.plural,
3424
3445
  value: n,
3425
- options: gt(x.val),
3426
- offset: E,
3446
+ options: yt(y.val),
3447
+ offset: x,
3427
3448
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3428
3449
  location: P
3429
3450
  },
@@ -3473,16 +3494,16 @@ var Yn = (
3473
3494
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3474
3495
  var n = [];
3475
3496
  try {
3476
- n = On(t);
3497
+ n = Nn(t);
3477
3498
  } catch {
3478
3499
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3479
3500
  }
3480
3501
  return {
3481
3502
  val: {
3482
- type: z.number,
3503
+ type: X.number,
3483
3504
  tokens: n,
3484
3505
  location: r,
3485
- parsedOptions: this.shouldParseSkeletons ? Ln(n) : {}
3506
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3486
3507
  },
3487
3508
  err: null
3488
3509
  };
@@ -3504,16 +3525,16 @@ var Yn = (
3504
3525
  var m = this.clonePosition();
3505
3526
  if (!this.bumpIf("{"))
3506
3527
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3507
- var d = this.parseMessage(t + 1, r, n);
3508
- if (d.err)
3509
- return d;
3510
- var p = this.tryParseArgumentClose(m);
3528
+ var p = this.parseMessage(t + 1, r, n);
3511
3529
  if (p.err)
3512
3530
  return p;
3531
+ var d = this.tryParseArgumentClose(m);
3532
+ if (d.err)
3533
+ return d;
3513
3534
  a.push([
3514
3535
  u,
3515
3536
  {
3516
- value: d.val,
3537
+ value: p.val,
3517
3538
  location: v(m, this.clonePosition())
3518
3539
  }
3519
3540
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
@@ -3530,7 +3551,7 @@ var Yn = (
3530
3551
  break;
3531
3552
  }
3532
3553
  var l = v(i, this.clonePosition());
3533
- return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3554
+ return o ? (s *= n, Qn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3534
3555
  }, e.prototype.offset = function() {
3535
3556
  return this.position.offset;
3536
3557
  }, e.prototype.isEOF = function() {
@@ -3545,7 +3566,7 @@ var Yn = (
3545
3566
  var t = this.position.offset;
3546
3567
  if (t >= this.message.length)
3547
3568
  throw Error("out of bound");
3548
- var r = rr(this.message, t);
3569
+ var r = nr(this.message, t);
3549
3570
  if (r === void 0)
3550
3571
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3551
3572
  return r;
@@ -3564,7 +3585,7 @@ var Yn = (
3564
3585
  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);
3565
3586
  }
3566
3587
  }, e.prototype.bumpIf = function(t) {
3567
- if (bt(this.message, t, this.offset())) {
3588
+ if (vt(this.message, t, this.offset())) {
3568
3589
  for (var r = 0; r < t.length; r++)
3569
3590
  this.bump();
3570
3591
  return !0;
@@ -3586,7 +3607,7 @@ var Yn = (
3586
3607
  break;
3587
3608
  }
3588
3609
  }, e.prototype.bumpSpace = function() {
3589
- for (; !this.isEOF() && ir(this.char()); )
3610
+ for (; !this.isEOF() && or(this.char()); )
3590
3611
  this.bump();
3591
3612
  }, e.prototype.peek = function() {
3592
3613
  if (this.isEOF())
@@ -3596,47 +3617,47 @@ var Yn = (
3596
3617
  }, e;
3597
3618
  }()
3598
3619
  );
3599
- function Xe(e) {
3620
+ function Qe(e) {
3600
3621
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3601
3622
  }
3602
- function qn(e) {
3603
- return Xe(e) || e === 47;
3623
+ function ei(e) {
3624
+ return Qe(e) || e === 47;
3604
3625
  }
3605
- function Kn(e) {
3626
+ function ti(e) {
3606
3627
  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;
3607
3628
  }
3608
- function ir(e) {
3629
+ function or(e) {
3609
3630
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3610
3631
  }
3611
- function ei(e) {
3632
+ function ri(e) {
3612
3633
  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;
3613
3634
  }
3614
- function ze(e) {
3635
+ function Je(e) {
3615
3636
  e.forEach(function(t) {
3616
- if (delete t.location, Zt(t) || Qt(t))
3637
+ if (delete t.location, Qt(t) || Jt(t))
3617
3638
  for (var r in t.options)
3618
- delete t.options[r].location, ze(t.options[r].value);
3639
+ delete t.options[r].location, Je(t.options[r].value);
3619
3640
  else
3620
- Xt(t) && Yt(t.style) || (zt(t) || Wt(t)) && Fe(t.style) ? delete t.style.location : Jt(t) && ze(t.children);
3641
+ Wt(t) && qt(t.style) || (zt(t) || Zt(t)) && Xe(t.style) ? delete t.style.location : Yt(t) && Je(t.children);
3621
3642
  });
3622
3643
  }
3623
- function ti(e, t) {
3624
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3625
- var r = new Yn(e, t).parse();
3644
+ function ni(e, t) {
3645
+ t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3646
+ var r = new Kn(e, t).parse();
3626
3647
  if (r.err) {
3627
3648
  var n = SyntaxError(b[r.err.kind]);
3628
3649
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3629
3650
  }
3630
- return t?.captureLocation || ze(r.val), r.val;
3651
+ return t?.captureLocation || Je(r.val), r.val;
3631
3652
  }
3632
3653
  var W;
3633
3654
  (function(e) {
3634
3655
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3635
3656
  })(W || (W = {}));
3636
- var _e = (
3657
+ var Se = (
3637
3658
  /** @class */
3638
3659
  function(e) {
3639
- R(t, e);
3660
+ Ee(t, e);
3640
3661
  function t(r, n, i) {
3641
3662
  var o = e.call(this, r) || this;
3642
3663
  return o.code = n, o.originalMessage = i, o;
@@ -3645,48 +3666,48 @@ var _e = (
3645
3666
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3646
3667
  }, t;
3647
3668
  }(Error)
3648
- ), yt = (
3669
+ ), xt = (
3649
3670
  /** @class */
3650
3671
  function(e) {
3651
- R(t, e);
3672
+ Ee(t, e);
3652
3673
  function t(r, n, i, o) {
3653
3674
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
3654
3675
  }
3655
3676
  return t;
3656
- }(_e)
3657
- ), ri = (
3677
+ }(Se)
3678
+ ), ii = (
3658
3679
  /** @class */
3659
3680
  function(e) {
3660
- R(t, e);
3681
+ Ee(t, e);
3661
3682
  function t(r, n, i) {
3662
3683
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3663
3684
  }
3664
3685
  return t;
3665
- }(_e)
3666
- ), ni = (
3686
+ }(Se)
3687
+ ), oi = (
3667
3688
  /** @class */
3668
3689
  function(e) {
3669
- R(t, e);
3690
+ Ee(t, e);
3670
3691
  function t(r, n) {
3671
3692
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3672
3693
  }
3673
3694
  return t;
3674
- }(_e)
3695
+ }(Se)
3675
3696
  ), A;
3676
3697
  (function(e) {
3677
3698
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3678
3699
  })(A || (A = {}));
3679
- function ii(e) {
3700
+ function si(e) {
3680
3701
  return e.length < 2 ? e : e.reduce(function(t, r) {
3681
3702
  var n = t[t.length - 1];
3682
3703
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3683
3704
  }, []);
3684
3705
  }
3685
- function oi(e) {
3706
+ function ai(e) {
3686
3707
  return typeof e == "function";
3687
3708
  }
3688
- function de(e, t, r, n, i, o, s) {
3689
- if (e.length === 1 && ft(e[0]))
3709
+ function pe(e, t, r, n, i, o, s) {
3710
+ if (e.length === 1 && pt(e[0]))
3690
3711
  return [
3691
3712
  {
3692
3713
  type: A.literal,
@@ -3695,14 +3716,14 @@ function de(e, t, r, n, i, o, s) {
3695
3716
  ];
3696
3717
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3697
3718
  var h = u[l];
3698
- if (ft(h)) {
3719
+ if (pt(h)) {
3699
3720
  a.push({
3700
3721
  type: A.literal,
3701
3722
  value: h.value
3702
3723
  });
3703
3724
  continue;
3704
3725
  }
3705
- if (Bn(h)) {
3726
+ if (Cn(h)) {
3706
3727
  typeof o == "number" && a.push({
3707
3728
  type: A.literal,
3708
3729
  value: r.getNumberFormat(t).format(o)
@@ -3711,9 +3732,9 @@ function de(e, t, r, n, i, o, s) {
3711
3732
  }
3712
3733
  var c = h.value;
3713
3734
  if (!(i && c in i))
3714
- throw new ni(c, s);
3735
+ throw new oi(c, s);
3715
3736
  var f = i[c];
3716
- if (Hn(h)) {
3737
+ if (An(h)) {
3717
3738
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3718
3739
  type: typeof f == "string" ? A.literal : A.object,
3719
3740
  value: f
@@ -3721,79 +3742,79 @@ function de(e, t, r, n, i, o, s) {
3721
3742
  continue;
3722
3743
  }
3723
3744
  if (zt(h)) {
3724
- var m = typeof h.style == "string" ? n.date[h.style] : Fe(h.style) ? h.style.parsedOptions : void 0;
3745
+ var m = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3725
3746
  a.push({
3726
3747
  type: A.literal,
3727
3748
  value: r.getDateTimeFormat(t, m).format(f)
3728
3749
  });
3729
3750
  continue;
3730
3751
  }
3731
- if (Wt(h)) {
3732
- var m = typeof h.style == "string" ? n.time[h.style] : Fe(h.style) ? h.style.parsedOptions : n.time.medium;
3752
+ if (Zt(h)) {
3753
+ var m = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3733
3754
  a.push({
3734
3755
  type: A.literal,
3735
3756
  value: r.getDateTimeFormat(t, m).format(f)
3736
3757
  });
3737
3758
  continue;
3738
3759
  }
3739
- if (Xt(h)) {
3740
- var m = typeof h.style == "string" ? n.number[h.style] : Yt(h.style) ? h.style.parsedOptions : void 0;
3760
+ if (Wt(h)) {
3761
+ var m = typeof h.style == "string" ? n.number[h.style] : qt(h.style) ? h.style.parsedOptions : void 0;
3741
3762
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3742
3763
  type: A.literal,
3743
3764
  value: r.getNumberFormat(t, m).format(f)
3744
3765
  });
3745
3766
  continue;
3746
3767
  }
3747
- if (Jt(h)) {
3748
- var d = h.children, p = h.value, w = i[p];
3749
- if (!oi(w))
3750
- throw new ri(p, "function", s);
3751
- var I = de(d, t, r, n, i, o), C = w(I.map(function(E) {
3752
- return E.value;
3768
+ if (Yt(h)) {
3769
+ var p = h.children, d = h.value, S = i[d];
3770
+ if (!ai(S))
3771
+ throw new ii(d, "function", s);
3772
+ var I = pe(p, t, r, n, i, o), C = S(I.map(function(x) {
3773
+ return x.value;
3753
3774
  }));
3754
- Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(E) {
3775
+ Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(x) {
3755
3776
  return {
3756
- type: typeof E == "string" ? A.literal : A.object,
3757
- value: E
3777
+ type: typeof x == "string" ? A.literal : A.object,
3778
+ value: x
3758
3779
  };
3759
3780
  }));
3760
3781
  }
3761
- if (Zt(h)) {
3762
- var T = h.options[f] || h.options.other;
3763
- if (!T)
3764
- throw new yt(h.value, f, Object.keys(h.options), s);
3765
- a.push.apply(a, de(T.value, t, r, n, i));
3782
+ if (Qt(h)) {
3783
+ var w = h.options[f] || h.options.other;
3784
+ if (!w)
3785
+ throw new xt(h.value, f, Object.keys(h.options), s);
3786
+ a.push.apply(a, pe(w.value, t, r, n, i));
3766
3787
  continue;
3767
3788
  }
3768
- if (Qt(h)) {
3769
- var T = h.options["=".concat(f)];
3770
- if (!T) {
3789
+ if (Jt(h)) {
3790
+ var w = h.options["=".concat(f)];
3791
+ if (!w) {
3771
3792
  if (!Intl.PluralRules)
3772
- throw new _e(`Intl.PluralRules is not available in this environment.
3793
+ throw new Se(`Intl.PluralRules is not available in this environment.
3773
3794
  Try polyfilling it using "@formatjs/intl-pluralrules"
3774
3795
  `, W.MISSING_INTL_API, s);
3775
3796
  var _ = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3776
- T = h.options[_] || h.options.other;
3797
+ w = h.options[_] || h.options.other;
3777
3798
  }
3778
- if (!T)
3779
- throw new yt(h.value, f, Object.keys(h.options), s);
3780
- a.push.apply(a, de(T.value, t, r, n, i, f - (h.offset || 0)));
3799
+ if (!w)
3800
+ throw new xt(h.value, f, Object.keys(h.options), s);
3801
+ a.push.apply(a, pe(w.value, t, r, n, i, f - (h.offset || 0)));
3781
3802
  continue;
3782
3803
  }
3783
3804
  }
3784
- return ii(a);
3805
+ return si(a);
3785
3806
  }
3786
- function si(e, t) {
3787
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3788
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3807
+ function ui(e, t) {
3808
+ return t ? M(M(M({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3809
+ return r[n] = M(M({}, e[n]), t[n] || {}), r;
3789
3810
  }, {})) : e;
3790
3811
  }
3791
- function ai(e, t) {
3812
+ function li(e, t) {
3792
3813
  return t ? Object.keys(e).reduce(function(r, n) {
3793
- return r[n] = si(e[n], t[n]), r;
3794
- }, y({}, e)) : e;
3814
+ return r[n] = ui(e[n], t[n]), r;
3815
+ }, M({}, e)) : e;
3795
3816
  }
3796
- function Pe(e) {
3817
+ function Ie(e) {
3797
3818
  return {
3798
3819
  create: function() {
3799
3820
  return {
@@ -3807,39 +3828,39 @@ function Pe(e) {
3807
3828
  }
3808
3829
  };
3809
3830
  }
3810
- function ui(e) {
3831
+ function hi(e) {
3811
3832
  return e === void 0 && (e = {
3812
3833
  number: {},
3813
3834
  dateTime: {},
3814
3835
  pluralRules: {}
3815
3836
  }), {
3816
- getNumberFormat: Be(function() {
3837
+ getNumberFormat: Ce(function() {
3817
3838
  for (var t, r = [], n = 0; n < arguments.length; n++)
3818
3839
  r[n] = arguments[n];
3819
- return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3840
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3820
3841
  }, {
3821
- cache: Pe(e.number),
3822
- strategy: Ae.variadic
3842
+ cache: Ie(e.number),
3843
+ strategy: Pe.variadic
3823
3844
  }),
3824
- getDateTimeFormat: Be(function() {
3845
+ getDateTimeFormat: Ce(function() {
3825
3846
  for (var t, r = [], n = 0; n < arguments.length; n++)
3826
3847
  r[n] = arguments[n];
3827
- return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3848
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3828
3849
  }, {
3829
- cache: Pe(e.dateTime),
3830
- strategy: Ae.variadic
3850
+ cache: Ie(e.dateTime),
3851
+ strategy: Pe.variadic
3831
3852
  }),
3832
- getPluralRules: Be(function() {
3853
+ getPluralRules: Ce(function() {
3833
3854
  for (var t, r = [], n = 0; n < arguments.length; n++)
3834
3855
  r[n] = arguments[n];
3835
- return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3856
+ return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3836
3857
  }, {
3837
- cache: Pe(e.pluralRules),
3838
- strategy: Ae.variadic
3858
+ cache: Ie(e.pluralRules),
3859
+ strategy: Pe.variadic
3839
3860
  })
3840
3861
  };
3841
3862
  }
3842
- var li = (
3863
+ var ci = (
3843
3864
  /** @class */
3844
3865
  function() {
3845
3866
  function e(t, r, n, i) {
@@ -3858,7 +3879,7 @@ var li = (
3858
3879
  }, []);
3859
3880
  return h.length <= 1 ? h[0] || "" : h;
3860
3881
  }, this.formatToParts = function(l) {
3861
- return de(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3882
+ return pe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3862
3883
  }, this.resolvedOptions = function() {
3863
3884
  var l;
3864
3885
  return {
@@ -3871,13 +3892,13 @@ var li = (
3871
3892
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3872
3893
  var s = i || {};
3873
3894
  s.formatters;
3874
- var a = Fr(s, ["formatters"]);
3875
- this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3895
+ var a = _n(s, ["formatters"]);
3896
+ this.ast = e.__parse(t, M(M({}, a), { locale: this.resolvedLocale }));
3876
3897
  } else
3877
3898
  this.ast = t;
3878
3899
  if (!Array.isArray(this.ast))
3879
3900
  throw new TypeError("A message must be provided as a String or AST.");
3880
- this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3901
+ this.formats = li(e.formats, n), this.formatters = i && i.formatters || hi(this.formatterCache);
3881
3902
  }
3882
3903
  return Object.defineProperty(e, "defaultLocale", {
3883
3904
  get: function() {
@@ -3890,7 +3911,7 @@ var li = (
3890
3911
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3891
3912
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3892
3913
  }
3893
- }, e.__parse = ti, e.formats = {
3914
+ }, e.__parse = ni, e.formats = {
3894
3915
  number: {
3895
3916
  integer: {
3896
3917
  maximumFractionDigits: 0
@@ -3951,7 +3972,7 @@ var li = (
3951
3972
  }, e;
3952
3973
  }()
3953
3974
  );
3954
- function hi(e, t) {
3975
+ function fi(e, t) {
3955
3976
  if (t == null)
3956
3977
  return;
3957
3978
  if (t in e)
@@ -3972,92 +3993,92 @@ function hi(e, t) {
3972
3993
  n = void 0;
3973
3994
  return n;
3974
3995
  }
3975
- const $ = {}, ci = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), or = (e, t) => {
3996
+ const $ = {}, mi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), sr = (e, t) => {
3976
3997
  if (t == null)
3977
3998
  return;
3978
3999
  if (t in $ && e in $[t])
3979
4000
  return $[t][e];
3980
- const r = Ee(t);
4001
+ const r = we(t);
3981
4002
  for (let n = 0; n < r.length; n++) {
3982
- const i = r[n], o = mi(i, e);
4003
+ const i = r[n], o = di(i, e);
3983
4004
  if (o)
3984
- return ci(e, t, o);
4005
+ return mi(e, t, o);
3985
4006
  }
3986
4007
  };
3987
- let qe;
4008
+ let et;
3988
4009
  const ae = xe({});
3989
- function fi(e) {
3990
- return qe[e] || null;
4010
+ function pi(e) {
4011
+ return et[e] || null;
3991
4012
  }
3992
- function sr(e) {
3993
- return e in qe;
4013
+ function ar(e) {
4014
+ return e in et;
3994
4015
  }
3995
- function mi(e, t) {
3996
- if (!sr(e))
4016
+ function di(e, t) {
4017
+ if (!ar(e))
3997
4018
  return null;
3998
- const r = fi(e);
3999
- return hi(r, t);
4019
+ const r = pi(e);
4020
+ return fi(r, t);
4000
4021
  }
4001
- function di(e) {
4022
+ function bi(e) {
4002
4023
  if (e == null)
4003
4024
  return;
4004
- const t = Ee(e);
4025
+ const t = we(e);
4005
4026
  for (let r = 0; r < t.length; r++) {
4006
4027
  const n = t[r];
4007
- if (sr(n))
4028
+ if (ar(n))
4008
4029
  return n;
4009
4030
  }
4010
4031
  }
4011
- function ar(e, ...t) {
4032
+ function ur(e, ...t) {
4012
4033
  delete $[e], ae.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
4013
4034
  }
4014
- Y(
4035
+ J(
4015
4036
  [ae],
4016
4037
  ([e]) => Object.keys(e)
4017
4038
  );
4018
- ae.subscribe((e) => qe = e);
4019
- const pe = {};
4020
- function pi(e, t) {
4021
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4039
+ ae.subscribe((e) => et = e);
4040
+ const de = {};
4041
+ function gi(e, t) {
4042
+ de[e].delete(t), de[e].size === 0 && delete de[e];
4022
4043
  }
4023
- function ur(e) {
4024
- return pe[e];
4044
+ function lr(e) {
4045
+ return de[e];
4025
4046
  }
4026
- function bi(e) {
4027
- return Ee(e).map((t) => {
4028
- const r = ur(t);
4047
+ function vi(e) {
4048
+ return we(e).map((t) => {
4049
+ const r = lr(t);
4029
4050
  return [t, r ? [...r] : []];
4030
4051
  }).filter(([, t]) => t.length > 0);
4031
4052
  }
4032
- function We(e) {
4033
- return e == null ? !1 : Ee(e).some(
4053
+ function Ye(e) {
4054
+ return e == null ? !1 : we(e).some(
4034
4055
  (t) => {
4035
4056
  var r;
4036
- return (r = ur(t)) == null ? void 0 : r.size;
4057
+ return (r = lr(t)) == null ? void 0 : r.size;
4037
4058
  }
4038
4059
  );
4039
4060
  }
4040
- function gi(e, t) {
4061
+ function yi(e, t) {
4041
4062
  return Promise.all(
4042
- t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
4043
- ).then((n) => ar(e, ...n));
4044
- }
4045
- const ee = {};
4046
- function lr(e) {
4047
- if (!We(e))
4048
- return e in ee ? ee[e] : Promise.resolve();
4049
- const t = bi(e);
4050
- return ee[e] = Promise.all(
4063
+ t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4064
+ ).then((n) => ur(e, ...n));
4065
+ }
4066
+ const K = {};
4067
+ function hr(e) {
4068
+ if (!Ye(e))
4069
+ return e in K ? K[e] : Promise.resolve();
4070
+ const t = vi(e);
4071
+ return K[e] = Promise.all(
4051
4072
  t.map(
4052
- ([r, n]) => gi(r, n)
4073
+ ([r, n]) => yi(r, n)
4053
4074
  )
4054
4075
  ).then(() => {
4055
- if (We(e))
4056
- return lr(e);
4057
- delete ee[e];
4058
- }), ee[e];
4076
+ if (Ye(e))
4077
+ return hr(e);
4078
+ delete K[e];
4079
+ }), K[e];
4059
4080
  }
4060
- const vi = {
4081
+ const _i = {
4061
4082
  number: {
4062
4083
  scientific: { notation: "scientific" },
4063
4084
  engineering: { notation: "engineering" },
@@ -4086,135 +4107,135 @@ const vi = {
4086
4107
  timeZoneName: "short"
4087
4108
  }
4088
4109
  }
4089
- }, yi = {
4110
+ }, xi = {
4090
4111
  fallbackLocale: null,
4091
4112
  loadingDelay: 200,
4092
- formats: vi,
4113
+ formats: _i,
4093
4114
  warnOnMissingMessages: !0,
4094
4115
  handleMissingMessage: void 0,
4095
4116
  ignoreTag: !0
4096
- }, xi = yi;
4097
- function Z() {
4098
- return xi;
4117
+ }, Ei = xi;
4118
+ function z() {
4119
+ return Ei;
4099
4120
  }
4100
- const Oe = xe(!1);
4101
- var _i = Object.defineProperty, Ei = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Ti = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? _i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Hi = (e, t) => {
4121
+ const Ne = xe(!1);
4122
+ var Si = Object.defineProperty, wi = Object.defineProperties, Ti = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Hi = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ai = (e, t) => {
4102
4123
  for (var r in t || (t = {}))
4103
- wi.call(t, r) && _t(e, r, t[r]);
4104
- if (xt)
4105
- for (var r of xt(t))
4106
- Ti.call(t, r) && _t(e, r, t[r]);
4124
+ Hi.call(t, r) && St(e, r, t[r]);
4125
+ if (Et)
4126
+ for (var r of Et(t))
4127
+ Bi.call(t, r) && St(e, r, t[r]);
4107
4128
  return e;
4108
- }, Bi = (e, t) => Ei(e, Si(t));
4109
- let Ze;
4110
- const ge = xe(null);
4111
- function Et(e) {
4129
+ }, Ci = (e, t) => wi(e, Ti(t));
4130
+ let qe;
4131
+ const ve = xe(null);
4132
+ function wt(e) {
4112
4133
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4113
4134
  }
4114
- function Ee(e, t = Z().fallbackLocale) {
4115
- const r = Et(e);
4116
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4135
+ function we(e, t = z().fallbackLocale) {
4136
+ const r = wt(e);
4137
+ return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
4117
4138
  }
4118
4139
  function G() {
4119
- return Ze ?? void 0;
4140
+ return qe ?? void 0;
4120
4141
  }
4121
- ge.subscribe((e) => {
4122
- Ze = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4142
+ ve.subscribe((e) => {
4143
+ qe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4123
4144
  });
4124
- const Ai = (e) => {
4125
- if (e && di(e) && We(e)) {
4126
- const { loadingDelay: t } = Z();
4145
+ const Pi = (e) => {
4146
+ if (e && bi(e) && Ye(e)) {
4147
+ const { loadingDelay: t } = z();
4127
4148
  let r;
4128
4149
  return typeof window < "u" && G() != null && t ? r = window.setTimeout(
4129
- () => Oe.set(!0),
4150
+ () => Ne.set(!0),
4130
4151
  t
4131
- ) : Oe.set(!0), lr(e).then(() => {
4132
- ge.set(e);
4152
+ ) : Ne.set(!0), hr(e).then(() => {
4153
+ ve.set(e);
4133
4154
  }).finally(() => {
4134
- clearTimeout(r), Oe.set(!1);
4155
+ clearTimeout(r), Ne.set(!1);
4135
4156
  });
4136
4157
  }
4137
- return ge.set(e);
4138
- }, q = Bi(Hi({}, ge), {
4139
- set: Ai
4140
- }), Se = (e) => {
4158
+ return ve.set(e);
4159
+ }, Y = Ci(Ai({}, ve), {
4160
+ set: Pi
4161
+ }), Te = (e) => {
4141
4162
  const t = /* @__PURE__ */ Object.create(null);
4142
4163
  return (n) => {
4143
4164
  const i = JSON.stringify(n);
4144
4165
  return i in t ? t[i] : t[i] = e(n);
4145
4166
  };
4146
4167
  };
4147
- var Ci = Object.defineProperty, ve = Object.getOwnPropertySymbols, hr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4168
+ var Oi = Object.defineProperty, ye = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4148
4169
  for (var r in t || (t = {}))
4149
- hr.call(t, r) && St(e, r, t[r]);
4150
- if (ve)
4151
- for (var r of ve(t))
4152
- cr.call(t, r) && St(e, r, t[r]);
4170
+ cr.call(t, r) && Tt(e, r, t[r]);
4171
+ if (ye)
4172
+ for (var r of ye(t))
4173
+ fr.call(t, r) && Tt(e, r, t[r]);
4153
4174
  return e;
4154
- }, K = (e, t) => {
4175
+ }, q = (e, t) => {
4155
4176
  var r = {};
4156
4177
  for (var n in e)
4157
- hr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4158
- if (e != null && ve)
4159
- for (var n of ve(e))
4160
- t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4178
+ cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4179
+ if (e != null && ye)
4180
+ for (var n of ye(e))
4181
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4161
4182
  return r;
4162
4183
  };
4163
- const oe = (e, t) => {
4164
- const { formats: r } = Z();
4184
+ const ie = (e, t) => {
4185
+ const { formats: r } = z();
4165
4186
  if (e in r && t in r[e])
4166
4187
  return r[e][t];
4167
4188
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4168
- }, Pi = Se(
4189
+ }, Ii = Te(
4169
4190
  (e) => {
4170
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4191
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4171
4192
  if (r == null)
4172
4193
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4173
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4194
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4174
4195
  }
4175
- ), Oi = Se(
4196
+ ), Ni = Te(
4176
4197
  (e) => {
4177
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4198
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4178
4199
  if (r == null)
4179
4200
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4180
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4201
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4181
4202
  }
4182
- ), Ii = Se(
4203
+ ), Mi = Te(
4183
4204
  (e) => {
4184
- var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4205
+ var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4185
4206
  if (r == null)
4186
4207
  throw new Error(
4187
4208
  '[svelte-i18n] A "locale" must be set to format time values'
4188
4209
  );
4189
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4210
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4190
4211
  }
4191
- ), Mi = (e = {}) => {
4212
+ ), Li = (e = {}) => {
4192
4213
  var t = e, {
4193
4214
  locale: r = G()
4194
- } = t, n = K(t, [
4215
+ } = t, n = q(t, [
4195
4216
  "locale"
4196
4217
  ]);
4197
- return Pi(Ke({ locale: r }, n));
4198
- }, Ni = (e = {}) => {
4218
+ return Ii(tt({ locale: r }, n));
4219
+ }, Ri = (e = {}) => {
4199
4220
  var t = e, {
4200
4221
  locale: r = G()
4201
- } = t, n = K(t, [
4222
+ } = t, n = q(t, [
4202
4223
  "locale"
4203
4224
  ]);
4204
- return Oi(Ke({ locale: r }, n));
4205
- }, Li = (e = {}) => {
4225
+ return Ni(tt({ locale: r }, n));
4226
+ }, $i = (e = {}) => {
4206
4227
  var t = e, {
4207
4228
  locale: r = G()
4208
- } = t, n = K(t, [
4229
+ } = t, n = q(t, [
4209
4230
  "locale"
4210
4231
  ]);
4211
- return Ii(Ke({ locale: r }, n));
4212
- }, Ri = Se(
4232
+ return Mi(tt({ locale: r }, n));
4233
+ }, Gi = Te(
4213
4234
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4214
- (e, t = G()) => new li(e, t, Z().formats, {
4215
- ignoreTag: Z().ignoreTag
4235
+ (e, t = G()) => new ci(e, t, z().formats, {
4236
+ ignoreTag: z().ignoreTag
4216
4237
  })
4217
- ), $i = (e, t = {}) => {
4238
+ ), Ui = (e, t = {}) => {
4218
4239
  var r, n, i, o;
4219
4240
  let s = t;
4220
4241
  typeof e == "object" && (s = e, e = s.id);
@@ -4227,9 +4248,9 @@ const oe = (e, t) => {
4227
4248
  throw new Error(
4228
4249
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4229
4250
  );
4230
- let h = or(e, l);
4251
+ let h = sr(e, l);
4231
4252
  if (!h)
4232
- h = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4253
+ h = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4233
4254
  else if (typeof h != "string")
4234
4255
  return console.warn(
4235
4256
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4238,7 +4259,7 @@ const oe = (e, t) => {
4238
4259
  return h;
4239
4260
  let c = h;
4240
4261
  try {
4241
- c = Ri(h, l).format(a);
4262
+ c = Gi(h, l).format(a);
4242
4263
  } catch (f) {
4243
4264
  f instanceof Error && console.warn(
4244
4265
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4246,20 +4267,20 @@ const oe = (e, t) => {
4246
4267
  );
4247
4268
  }
4248
4269
  return c;
4249
- }, Gi = (e, t) => Li(t).format(e), Ui = (e, t) => Ni(t).format(e), Di = (e, t) => Mi(t).format(e), Fi = (e, t = G()) => or(e, t), ji = Y([q, ae], () => $i);
4250
- Y([q], () => Gi);
4251
- Y([q], () => Ui);
4252
- Y([q], () => Di);
4253
- Y([q, ae], () => Fi);
4270
+ }, Di = (e, t) => $i(t).format(e), Fi = (e, t) => Ri(t).format(e), ji = (e, t) => Li(t).format(e), ki = (e, t = G()) => sr(e, t), Vi = J([Y, ae], () => Ui);
4271
+ J([Y], () => Di);
4272
+ J([Y], () => Fi);
4273
+ J([Y], () => ji);
4274
+ J([Y, ae], () => ki);
4254
4275
  window.emWidgets = { topic: tn };
4255
- const ki = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4256
- function wt(e, t) {
4257
- ar(e, t);
4276
+ const Xi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4277
+ function Ht(e, t) {
4278
+ ur(e, t);
4258
4279
  }
4259
- function Vi(e) {
4260
- q.set(e);
4280
+ function Wi(e) {
4281
+ Y.set(e);
4261
4282
  }
4262
- const Tt = {
4283
+ const Bt = {
4263
4284
  en: {
4264
4285
  cancel: "Cancel",
4265
4286
  confirm: "Confirm"
@@ -4305,13 +4326,13 @@ const Tt = {
4305
4326
  confirm: "Confirm"
4306
4327
  }
4307
4328
  };
4308
- function Xi(e, t) {
4329
+ function zi(e, t) {
4309
4330
  if (e) {
4310
4331
  const r = document.createElement("style");
4311
4332
  r.innerHTML = t, e.appendChild(r);
4312
4333
  }
4313
4334
  }
4314
- function zi(e, t) {
4335
+ function Zi(e, t) {
4315
4336
  const r = new URL(t);
4316
4337
  fetch(r.href).then((n) => n.text()).then((n) => {
4317
4338
  const i = document.createElement("style");
@@ -4320,7 +4341,7 @@ function zi(e, t) {
4320
4341
  console.error("There was an error while trying to load client styling from URL", n);
4321
4342
  });
4322
4343
  }
4323
- function Wi(e, t, r) {
4344
+ function Qi(e, t, r) {
4324
4345
  if (window.emMessageBus) {
4325
4346
  const n = document.createElement("style");
4326
4347
  window.emMessageBus.subscribe(t, (i) => {
@@ -4328,36 +4349,36 @@ function Wi(e, t, r) {
4328
4349
  });
4329
4350
  }
4330
4351
  }
4331
- function Zi(e) {
4332
- _r(e, "svelte-s0xip8", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4333
- }
4334
- const Qi = (e) => ({}), Ht = (e) => ({});
4335
4352
  function Ji(e) {
4353
+ Er(e, "svelte-s0xip8", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4354
+ }
4355
+ const Yi = (e) => ({}), At = (e) => ({});
4356
+ function qi(e) {
4336
4357
  let t, r;
4337
4358
  return {
4338
4359
  c() {
4339
- t = rt("svg"), r = rt("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4360
+ t = it("svg"), r = it("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4340
4361
  },
4341
4362
  m(n, i) {
4342
- se(n, t, i), B(t, r);
4363
+ oe(n, t, i), B(t, r);
4343
4364
  },
4344
- p: N,
4365
+ p: L,
4345
4366
  d(n) {
4346
- n && J(t);
4367
+ n && Q(t);
4347
4368
  }
4348
4369
  };
4349
4370
  }
4350
- function Bt(e) {
4371
+ function Ct(e) {
4351
4372
  let t, r, n;
4352
4373
  return {
4353
4374
  c() {
4354
- t = M("div"), r = M("h2"), n = re(
4375
+ t = N("div"), r = N("h2"), n = te(
4355
4376
  /*modaltitle*/
4356
4377
  e[1]
4357
4378
  ), H(t, "class", "GeneralConfirmationTitle");
4358
4379
  },
4359
4380
  m(i, o) {
4360
- se(i, t, o), B(t, r), B(r, n);
4381
+ oe(i, t, o), B(t, r), B(r, n);
4361
4382
  },
4362
4383
  p(i, o) {
4363
4384
  o & /*modaltitle*/
@@ -4368,21 +4389,21 @@ function Bt(e) {
4368
4389
  );
4369
4390
  },
4370
4391
  d(i) {
4371
- i && J(t);
4392
+ i && Q(t);
4372
4393
  }
4373
4394
  };
4374
4395
  }
4375
- function At(e) {
4396
+ function Pt(e) {
4376
4397
  let t, r = (
4377
4398
  /*$_*/
4378
4399
  e[4]("cancel") + ""
4379
4400
  ), n, i, o;
4380
4401
  return {
4381
4402
  c() {
4382
- t = M("button"), n = re(r), H(t, "class", "GeneralCancelButton");
4403
+ t = N("button"), n = te(r), H(t, "class", "GeneralCancelButton");
4383
4404
  },
4384
4405
  m(s, a) {
4385
- se(s, t, a), B(t, n), i || (o = Ie(
4406
+ oe(s, t, a), B(t, n), i || (o = Me(
4386
4407
  t,
4387
4408
  "click",
4388
4409
  /*click_handler*/
@@ -4395,170 +4416,170 @@ function At(e) {
4395
4416
  s[4]("cancel") + "") && be(n, r);
4396
4417
  },
4397
4418
  d(s) {
4398
- s && J(t), i = !1, o();
4419
+ s && Q(t), i = !1, o();
4399
4420
  }
4400
4421
  };
4401
4422
  }
4402
- function Yi(e) {
4423
+ function Ki(e) {
4403
4424
  let t, r, n, i, o, s, a, l, u, h, c, f = (
4404
4425
  /*$_*/
4405
4426
  e[4]("confirm") + ""
4406
- ), m, d, p, w;
4427
+ ), m, p, d, S;
4407
4428
  const I = (
4408
4429
  /*#slots*/
4409
4430
  e[16].close
4410
- ), C = gr(
4431
+ ), C = vr(
4411
4432
  I,
4412
4433
  e,
4413
4434
  /*$$scope*/
4414
4435
  e[15],
4415
- Ht
4416
- ), T = C || Ji();
4436
+ At
4437
+ ), w = C || qi();
4417
4438
  let _ = (
4418
4439
  /*modaltitle*/
4419
- e[1] && Bt(e)
4420
- ), E = (
4440
+ e[1] && Ct(e)
4441
+ ), x = (
4421
4442
  /*hascancelbutton*/
4422
- e[2] && At(e)
4443
+ e[2] && Pt(e)
4423
4444
  );
4424
4445
  return {
4425
4446
  c() {
4426
- t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = ue(), _ && _.c(), o = ue(), s = M("div"), a = re(
4447
+ t = N("div"), r = N("div"), n = N("span"), w && w.c(), i = ue(), _ && _.c(), o = ue(), s = N("div"), a = te(
4427
4448
  /*modaltext*/
4428
4449
  e[0]
4429
- ), l = ue(), u = M("div"), E && E.c(), h = ue(), c = M("button"), m = re(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4450
+ ), l = ue(), u = N("div"), x && x.c(), h = ue(), c = N("button"), m = te(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4430
4451
  (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4431
4452
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4432
4453
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4433
4454
  },
4434
- m(x, P) {
4435
- se(x, t, P), B(t, r), B(r, n), T && T.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), B(s, a), B(r, l), B(r, u), E && E.m(u, null), B(u, h), B(u, c), B(c, m), e[19](t), d = !0, p || (w = [
4436
- Ie(
4455
+ m(y, P) {
4456
+ oe(y, t, P), B(t, r), B(r, n), w && w.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), B(s, a), B(r, l), B(r, u), x && x.m(u, null), B(u, h), B(u, c), B(c, m), e[19](t), p = !0, d || (S = [
4457
+ Me(
4437
4458
  n,
4438
4459
  "click",
4439
4460
  /*close*/
4440
4461
  e[6]
4441
4462
  ),
4442
- Ie(
4463
+ Me(
4443
4464
  c,
4444
4465
  "click",
4445
4466
  /*click_handler_1*/
4446
4467
  e[18]
4447
4468
  )
4448
- ], p = !0);
4469
+ ], d = !0);
4449
4470
  },
4450
- p(x, [P]) {
4451
- C && C.p && (!d || P & /*$$scope*/
4452
- 32768) && yr(
4471
+ p(y, [P]) {
4472
+ C && C.p && (!p || P & /*$$scope*/
4473
+ 32768) && _r(
4453
4474
  C,
4454
4475
  I,
4455
- x,
4476
+ y,
4456
4477
  /*$$scope*/
4457
- x[15],
4458
- d ? vr(
4478
+ y[15],
4479
+ p ? yr(
4459
4480
  I,
4460
4481
  /*$$scope*/
4461
- x[15],
4482
+ y[15],
4462
4483
  P,
4463
- Qi
4484
+ Yi
4464
4485
  ) : xr(
4465
4486
  /*$$scope*/
4466
- x[15]
4487
+ y[15]
4467
4488
  ),
4468
- Ht
4489
+ At
4469
4490
  ), /*modaltitle*/
4470
- x[1] ? _ ? _.p(x, P) : (_ = Bt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!d || P & /*modaltext*/
4491
+ y[1] ? _ ? _.p(y, P) : (_ = Ct(y), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!p || P & /*modaltext*/
4471
4492
  1) && be(
4472
4493
  a,
4473
4494
  /*modaltext*/
4474
- x[0]
4495
+ y[0]
4475
4496
  ), /*hascancelbutton*/
4476
- x[2] ? E ? E.p(x, P) : (E = At(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!d || P & /*$_*/
4497
+ y[2] ? x ? x.p(y, P) : (x = Pt(y), x.c(), x.m(u, h)) : x && (x.d(1), x = null), (!p || P & /*$_*/
4477
4498
  16) && f !== (f = /*$_*/
4478
- x[4]("confirm") + "") && be(m, f);
4499
+ y[4]("confirm") + "") && be(m, f);
4479
4500
  },
4480
- i(x) {
4481
- d || (Mt(T, x), d = !0);
4501
+ i(y) {
4502
+ p || (Lt(w, y), p = !0);
4482
4503
  },
4483
- o(x) {
4484
- Mr(T, x), d = !1;
4504
+ o(y) {
4505
+ Mr(w, y), p = !1;
4485
4506
  },
4486
- d(x) {
4487
- x && J(t), T && T.d(x), _ && _.d(), E && E.d(), e[19](null), p = !1, Q(w);
4507
+ d(y) {
4508
+ y && Q(t), w && w.d(y), _ && _.d(), x && x.d(), e[19](null), d = !1, Z(S);
4488
4509
  }
4489
4510
  };
4490
4511
  }
4491
- function qi(e, t, r) {
4512
+ function eo(e, t, r) {
4492
4513
  let n;
4493
- br(e, ji, (g) => r(4, n = g));
4494
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: d = "" } = t, { mbsource: p } = t, w, I = window.navigator.userAgent, C = ki(I) !== "PC";
4495
- const T = () => {
4514
+ gr(e, Vi, (g) => r(4, n = g));
4515
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: m = "" } = t, { translationurl: p = "" } = t, { mbsource: d } = t, S, I = window.navigator.userAgent, C = Xi(I) !== "PC";
4516
+ const w = () => {
4496
4517
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4497
4518
  }, _ = (g) => {
4498
- g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), T();
4499
- }, E = () => {
4500
- fetch(d).then((U) => U.json()).then((U) => {
4501
- Object.keys(U).forEach((et) => {
4502
- wt(et, U[et]);
4519
+ g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), w();
4520
+ }, x = () => {
4521
+ fetch(p).then((U) => U.json()).then((U) => {
4522
+ Object.keys(U).forEach((rt) => {
4523
+ Ht(rt, U[rt]);
4503
4524
  });
4504
4525
  }).catch((U) => {
4505
4526
  console.log(U);
4506
4527
  });
4507
4528
  };
4508
- Object.keys(Tt).forEach((g) => {
4509
- wt(g, Tt[g]);
4529
+ Object.keys(Bt).forEach((g) => {
4530
+ Ht(g, Bt[g]);
4510
4531
  });
4511
- const x = () => {
4512
- Vi(c);
4532
+ const y = () => {
4533
+ Wi(c);
4513
4534
  };
4514
- Br(() => () => {
4535
+ Ar(() => () => {
4515
4536
  });
4516
- const P = () => _("cancel"), fr = () => _("confirm");
4517
- function mr(g) {
4518
- Me[g ? "unshift" : "push"](() => {
4519
- w = g, r(3, w);
4537
+ const P = () => _("cancel"), mr = () => _("confirm");
4538
+ function pr(g) {
4539
+ Le[g ? "unshift" : "push"](() => {
4540
+ S = g, r(3, S);
4520
4541
  });
4521
4542
  }
4522
4543
  return e.$$set = (g) => {
4523
- "modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "lang" in g && r(10, c = g.lang), "clientstyling" in g && r(11, f = g.clientstyling), "clientstylingurl" in g && r(12, m = g.clientstylingurl), "translationurl" in g && r(13, d = g.translationurl), "mbsource" in g && r(14, p = g.mbsource), "$$scope" in g && r(15, o = g.$$scope);
4544
+ "modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "lang" in g && r(10, c = g.lang), "clientstyling" in g && r(11, f = g.clientstyling), "clientstylingurl" in g && r(12, m = g.clientstylingurl), "translationurl" in g && r(13, p = g.translationurl), "mbsource" in g && r(14, d = g.mbsource), "$$scope" in g && r(15, o = g.$$scope);
4524
4545
  }, e.$$.update = () => {
4525
4546
  e.$$.dirty & /*modaltext, lang*/
4526
- 1025 && s && c && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4527
- 2056 && f && w && Xi(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4528
- 4104 && m && w && zi(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4529
- 16392 && p && w && Wi(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4530
- 8192 && d && E();
4547
+ 1025 && s && c && y(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4548
+ 2056 && f && S && zi(S, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4549
+ 4104 && m && S && Zi(S, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4550
+ 16392 && d && S && Qi(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
4551
+ 8192 && p && x();
4531
4552
  }, [
4532
4553
  s,
4533
4554
  a,
4534
4555
  l,
4535
- w,
4556
+ S,
4536
4557
  n,
4537
4558
  C,
4538
- T,
4559
+ w,
4539
4560
  _,
4540
4561
  u,
4541
4562
  h,
4542
4563
  c,
4543
4564
  f,
4544
4565
  m,
4545
- d,
4546
4566
  p,
4567
+ d,
4547
4568
  o,
4548
4569
  i,
4549
4570
  P,
4550
- fr,
4551
- mr
4571
+ mr,
4572
+ pr
4552
4573
  ];
4553
4574
  }
4554
- class Ki extends Ur {
4575
+ class to extends Dr {
4555
4576
  constructor(t) {
4556
- super(), $r(
4577
+ super(), Gr(
4557
4578
  this,
4558
4579
  t,
4559
- qi,
4560
- Yi,
4561
- Pt,
4580
+ eo,
4581
+ Ki,
4582
+ It,
4562
4583
  {
4563
4584
  modaltext: 0,
4564
4585
  modaltitle: 1,
@@ -4571,7 +4592,7 @@ class Ki extends Ur {
4571
4592
  translationurl: 13,
4572
4593
  mbsource: 14
4573
4594
  },
4574
- Zi
4595
+ Ji
4575
4596
  );
4576
4597
  }
4577
4598
  get modaltext() {
@@ -4635,7 +4656,7 @@ class Ki extends Ur {
4635
4656
  this.$$set({ mbsource: t }), O();
4636
4657
  }
4637
4658
  }
4638
- Gr(Ki, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4659
+ Ur(to, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4639
4660
  export {
4640
- Ki as P
4661
+ to as P
4641
4662
  };