@everymatrix/general-player-sms-verification-form 1.74.1 → 1.74.3

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,24 +1,24 @@
1
1
  function U() {
2
2
  }
3
- function vt(e) {
3
+ function gt(e) {
4
4
  return e();
5
5
  }
6
- function qe() {
6
+ function Qe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function ie(e) {
10
- e.forEach(vt);
9
+ function ne(e) {
10
+ e.forEach(gt);
11
11
  }
12
- function Ze(e) {
12
+ function ze(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function yt(e, t) {
15
+ function vt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- function zt(e) {
18
+ function Xt(e) {
19
19
  return Object.keys(e).length === 0;
20
20
  }
21
- function Et(e, ...t) {
21
+ function yt(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
@@ -27,20 +27,20 @@ function Et(e, ...t) {
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
29
  }
30
- function Wt(e, t, r) {
31
- e.$$.on_destroy.push(Et(t, r));
30
+ function zt(e, t, r) {
31
+ e.$$.on_destroy.push(yt(t, r));
32
32
  }
33
- function y(e, t) {
33
+ function E(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
- function Zt(e, t, r) {
37
- const n = Jt(e);
36
+ function Wt(e, t, r) {
37
+ const n = Zt(e);
38
38
  if (!n.getElementById(t)) {
39
- const i = N("style");
40
- i.id = t, i.textContent = r, Qt(n, i);
39
+ const i = O("style");
40
+ i.id = t, i.textContent = r, Jt(n, i);
41
41
  }
42
42
  }
43
- function Jt(e) {
43
+ function Zt(e) {
44
44
  if (!e)
45
45
  return document;
46
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -50,45 +50,45 @@ function Jt(e) {
50
50
  t
51
51
  ) : e.ownerDocument;
52
52
  }
53
- function Qt(e, t) {
54
- return y(
53
+ function Jt(e, t) {
54
+ return E(
55
55
  /** @type {Document} */
56
56
  e.head || e,
57
57
  t
58
58
  ), t.sheet;
59
59
  }
60
- function Z(e, t, r) {
60
+ function W(e, t, r) {
61
61
  e.insertBefore(t, r || null);
62
62
  }
63
- function j(e) {
63
+ function k(e) {
64
64
  e.parentNode && e.parentNode.removeChild(e);
65
65
  }
66
- function N(e) {
66
+ function O(e) {
67
67
  return document.createElement(e);
68
68
  }
69
69
  function M(e) {
70
70
  return document.createTextNode(e);
71
71
  }
72
- function z() {
72
+ function X() {
73
73
  return M(" ");
74
74
  }
75
- function be(e, t, r, n) {
75
+ function pe(e, t, r, n) {
76
76
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
77
77
  }
78
- function A(e, t, r) {
78
+ function B(e, t, r) {
79
79
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
80
80
  }
81
- function qt(e) {
81
+ function Qt(e) {
82
82
  return Array.from(e.childNodes);
83
83
  }
84
- function G(e, t) {
84
+ function F(e, t) {
85
85
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
86
86
  t);
87
87
  }
88
- function Ye(e, t) {
88
+ function qe(e, t) {
89
89
  e.value = t ?? "";
90
90
  }
91
- function Yt(e) {
91
+ function qt(e) {
92
92
  const t = {};
93
93
  return e.childNodes.forEach(
94
94
  /** @param {Element} node */
@@ -97,87 +97,87 @@ function Yt(e) {
97
97
  }
98
98
  ), t;
99
99
  }
100
- let de;
101
- function fe(e) {
102
- de = e;
100
+ let fe;
101
+ function ce(e) {
102
+ fe = e;
103
103
  }
104
- function Kt() {
105
- if (!de)
104
+ function Yt() {
105
+ if (!fe)
106
106
  throw new Error("Function called outside component initialization");
107
- return de;
107
+ return fe;
108
108
  }
109
- function er(e) {
110
- Kt().$$.on_mount.push(e);
109
+ function Kt(e) {
110
+ Yt().$$.on_mount.push(e);
111
111
  }
112
- const Y = [], Re = [];
113
- let K = [];
114
- const Ke = [], tr = /* @__PURE__ */ Promise.resolve();
115
- let $e = !1;
116
- function rr() {
117
- $e || ($e = !0, tr.then($));
112
+ const q = [], Me = [];
113
+ let Y = [];
114
+ const Ye = [], er = /* @__PURE__ */ Promise.resolve();
115
+ let Le = !1;
116
+ function tr() {
117
+ Le || (Le = !0, er.then($));
118
118
  }
119
- function Ue(e) {
120
- K.push(e);
119
+ function Re(e) {
120
+ Y.push(e);
121
121
  }
122
- const Pe = /* @__PURE__ */ new Set();
123
- let Q = 0;
122
+ const Ae = /* @__PURE__ */ new Set();
123
+ let J = 0;
124
124
  function $() {
125
- if (Q !== 0)
125
+ if (J !== 0)
126
126
  return;
127
- const e = de;
127
+ const e = fe;
128
128
  do {
129
129
  try {
130
- for (; Q < Y.length; ) {
131
- const t = Y[Q];
132
- Q++, fe(t), nr(t.$$);
130
+ for (; J < q.length; ) {
131
+ const t = q[J];
132
+ J++, ce(t), rr(t.$$);
133
133
  }
134
134
  } catch (t) {
135
- throw Y.length = 0, Q = 0, t;
135
+ throw q.length = 0, J = 0, t;
136
136
  }
137
- for (fe(null), Y.length = 0, Q = 0; Re.length; )
138
- Re.pop()();
139
- for (let t = 0; t < K.length; t += 1) {
140
- const r = K[t];
141
- Pe.has(r) || (Pe.add(r), r());
137
+ for (ce(null), q.length = 0, J = 0; Me.length; )
138
+ Me.pop()();
139
+ for (let t = 0; t < Y.length; t += 1) {
140
+ const r = Y[t];
141
+ Ae.has(r) || (Ae.add(r), r());
142
142
  }
143
- K.length = 0;
144
- } while (Y.length);
145
- for (; Ke.length; )
146
- Ke.pop()();
147
- $e = !1, Pe.clear(), fe(e);
143
+ Y.length = 0;
144
+ } while (q.length);
145
+ for (; Ye.length; )
146
+ Ye.pop()();
147
+ Le = !1, Ae.clear(), ce(e);
148
148
  }
149
- function nr(e) {
149
+ function rr(e) {
150
150
  if (e.fragment !== null) {
151
- e.update(), ie(e.before_update);
151
+ e.update(), ne(e.before_update);
152
152
  const t = e.dirty;
153
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
153
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
154
154
  }
155
155
  }
156
- function ir(e) {
156
+ function nr(e) {
157
157
  const t = [], r = [];
158
- K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
158
+ Y.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Y = t;
159
159
  }
160
- const or = /* @__PURE__ */ new Set();
161
- function sr(e, t) {
162
- e && e.i && (or.delete(e), e.i(t));
160
+ const ir = /* @__PURE__ */ new Set();
161
+ function or(e, t) {
162
+ e && e.i && (ir.delete(e), e.i(t));
163
163
  }
164
- function ar(e, t, r) {
164
+ function sr(e, t, r) {
165
165
  const { fragment: n, after_update: i } = e.$$;
166
- n && n.m(t, r), Ue(() => {
167
- const o = e.$$.on_mount.map(vt).filter(Ze);
168
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
169
- }), i.forEach(Ue);
166
+ n && n.m(t, r), Re(() => {
167
+ const o = e.$$.on_mount.map(gt).filter(ze);
168
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
169
+ }), i.forEach(Re);
170
170
  }
171
- function ur(e, t) {
171
+ function ar(e, t) {
172
172
  const r = e.$$;
173
- r.fragment !== null && (ir(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
173
+ r.fragment !== null && (nr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
174
174
  }
175
- function lr(e, t) {
176
- e.$$.dirty[0] === -1 && (Y.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
175
+ function ur(e, t) {
176
+ e.$$.dirty[0] === -1 && (q.push(e), tr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
177
177
  }
178
- function hr(e, t, r, n, i, o, a = null, s = [-1]) {
179
- const h = de;
180
- fe(e);
178
+ function lr(e, t, r, n, i, o, a = null, s = [-1]) {
179
+ const h = fe;
180
+ ce(e);
181
181
  const u = e.$$ = {
182
182
  fragment: null,
183
183
  ctx: [],
@@ -185,7 +185,7 @@ function hr(e, t, r, n, i, o, a = null, s = [-1]) {
185
185
  props: o,
186
186
  update: U,
187
187
  not_equal: i,
188
- bound: qe(),
188
+ bound: Qe(),
189
189
  // lifecycle
190
190
  on_mount: [],
191
191
  on_destroy: [],
@@ -194,28 +194,28 @@ function hr(e, t, r, n, i, o, a = null, s = [-1]) {
194
194
  after_update: [],
195
195
  context: new Map(t.context || (h ? h.$$.context : [])),
196
196
  // everything else
197
- callbacks: qe(),
197
+ callbacks: Qe(),
198
198
  dirty: s,
199
199
  skip_bound: !1,
200
200
  root: t.target || h.$$.root
201
201
  };
202
202
  a && a(u.root);
203
203
  let l = !1;
204
- if (u.ctx = r ? r(e, t.props || {}, (c, d, ...g) => {
205
- const v = g.length ? g[0] : d;
206
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && lr(e, c)), d;
207
- }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
204
+ if (u.ctx = r(e, t.props || {}, (c, d, ...g) => {
205
+ const y = g.length ? g[0] : d;
206
+ return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && ur(e, c)), d;
207
+ }), u.update(), l = !0, ne(u.before_update), u.fragment = n(u.ctx), t.target) {
208
208
  if (t.hydrate) {
209
- const c = qt(t.target);
210
- u.fragment && u.fragment.l(c), c.forEach(j);
209
+ const c = Qt(t.target);
210
+ u.fragment && u.fragment.l(c), c.forEach(k);
211
211
  } else
212
212
  u.fragment && u.fragment.c();
213
- t.intro && sr(e.$$.fragment), ar(e, t.target, t.anchor), $();
213
+ t.intro && or(e.$$.fragment), sr(e, t.target, t.anchor), $();
214
214
  }
215
- fe(h);
215
+ ce(h);
216
216
  }
217
- let _t;
218
- typeof HTMLElement == "function" && (_t = class extends HTMLElement {
217
+ let Et;
218
+ typeof HTMLElement == "function" && (Et = class extends HTMLElement {
219
219
  /** The Svelte component constructor */
220
220
  $$ctor;
221
221
  /** Slots */
@@ -257,29 +257,29 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
257
257
  let o;
258
258
  return {
259
259
  c: function() {
260
- o = N("slot"), i !== "default" && A(o, "name", i);
260
+ o = O("slot"), i !== "default" && B(o, "name", i);
261
261
  },
262
262
  /**
263
263
  * @param {HTMLElement} target
264
264
  * @param {HTMLElement} [anchor]
265
265
  */
266
266
  m: function(h, u) {
267
- Z(h, o, u);
267
+ W(h, o, u);
268
268
  },
269
269
  d: function(h) {
270
- h && j(o);
270
+ h && k(o);
271
271
  }
272
272
  };
273
273
  };
274
274
  };
275
275
  if (await Promise.resolve(), !this.$$cn || this.$$c)
276
276
  return;
277
- const t = {}, r = Yt(this);
277
+ const t = {}, r = qt(this);
278
278
  for (const i of this.$$s)
279
279
  i in r && (t[i] = [e(i)]);
280
280
  for (const i of this.attributes) {
281
281
  const o = this.$$g_p(i.name);
282
- o in this.$$d || (this.$$d[o] = ve(o, i.value, this.$$p_d, "toProp"));
282
+ o in this.$$d || (this.$$d[o] = ge(o, i.value, this.$$p_d, "toProp"));
283
283
  }
284
284
  for (const i in this.$$p_d)
285
285
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -297,7 +297,7 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
297
297
  this.$$r = !0;
298
298
  for (const i in this.$$p_d)
299
299
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
300
- const o = ve(
300
+ const o = ge(
301
301
  i,
302
302
  this.$$d[i],
303
303
  this.$$p_d,
@@ -319,7 +319,7 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
319
319
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
320
320
  // and setting attributes through setAttribute etc, this is helpful
321
321
  attributeChangedCallback(e, t, r) {
322
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
322
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
323
323
  }
324
324
  disconnectedCallback() {
325
325
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (_t = class extends HTMLElement {
332
332
  ) || e;
333
333
  }
334
334
  });
335
- function ve(e, t, r, n) {
335
+ function ge(e, t, r, n) {
336
336
  const i = r[e]?.type;
337
337
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
338
338
  return t;
@@ -361,8 +361,8 @@ function ve(e, t, r, n) {
361
361
  return t;
362
362
  }
363
363
  }
364
- function cr(e, t, r, n, i, o) {
365
- let a = class extends _t {
364
+ function hr(e, t, r, n, i, o) {
365
+ let a = class extends Et {
366
366
  constructor() {
367
367
  super(e, r, i), this.$$p_d = t;
368
368
  }
@@ -378,7 +378,7 @@ function cr(e, t, r, n, i, o) {
378
378
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
379
379
  },
380
380
  set(h) {
381
- h = ve(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
381
+ h = ge(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
382
382
  }
383
383
  });
384
384
  }), n.forEach((s) => {
@@ -390,7 +390,7 @@ function cr(e, t, r, n, i, o) {
390
390
  }), e.element = /** @type {any} */
391
391
  a, a;
392
392
  }
393
- class fr {
393
+ class cr {
394
394
  /**
395
395
  * ### PRIVATE API
396
396
  *
@@ -409,7 +409,7 @@ class fr {
409
409
  $$set = void 0;
410
410
  /** @returns {void} */
411
411
  $destroy() {
412
- ur(this, 1), this.$destroy = U;
412
+ ar(this, 1), this.$destroy = U;
413
413
  }
414
414
  /**
415
415
  * @template {Extract<keyof Events, string>} K
@@ -418,7 +418,7 @@ class fr {
418
418
  * @returns {() => void}
419
419
  */
420
420
  $on(t, r) {
421
- if (!Ze(r))
421
+ if (!ze(r))
422
422
  return U;
423
423
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
424
424
  return n.push(r), () => {
@@ -431,29 +431,29 @@ class fr {
431
431
  * @returns {void}
432
432
  */
433
433
  $set(t) {
434
- this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
434
+ this.$$set && !Xt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
435
435
  }
436
436
  }
437
- const dr = "4";
438
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dr);
439
- const q = [];
440
- function mr(e, t) {
437
+ const fr = "4";
438
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fr);
439
+ const Q = [];
440
+ function dr(e, t) {
441
441
  return {
442
- subscribe: Te(e, t).subscribe
442
+ subscribe: _e(e, t).subscribe
443
443
  };
444
444
  }
445
- function Te(e, t = U) {
445
+ function _e(e, t = U) {
446
446
  let r;
447
447
  const n = /* @__PURE__ */ new Set();
448
448
  function i(s) {
449
- if (yt(e, s) && (e = s, r)) {
450
- const h = !q.length;
449
+ if (vt(e, s) && (e = s, r)) {
450
+ const h = !Q.length;
451
451
  for (const u of n)
452
- u[1](), q.push(u, e);
452
+ u[1](), Q.push(u, e);
453
453
  if (h) {
454
- for (let u = 0; u < q.length; u += 2)
455
- q[u][0](q[u + 1]);
456
- q.length = 0;
454
+ for (let u = 0; u < Q.length; u += 2)
455
+ Q[u][0](Q[u + 1]);
456
+ Q.length = 0;
457
457
  }
458
458
  }
459
459
  }
@@ -468,12 +468,12 @@ function Te(e, t = U) {
468
468
  }
469
469
  return { set: i, update: o, subscribe: a };
470
470
  }
471
- function oe(e, t, r) {
471
+ function ie(e, t, r) {
472
472
  const n = !Array.isArray(e), i = n ? [e] : e;
473
473
  if (!i.every(Boolean))
474
474
  throw new Error("derived() expects stores as input, got a falsy value");
475
475
  const o = t.length < 2;
476
- return mr(r, (a, s) => {
476
+ return dr(r, (a, s) => {
477
477
  let h = !1;
478
478
  const u = [];
479
479
  let l = 0, c = U;
@@ -481,11 +481,11 @@ function oe(e, t, r) {
481
481
  if (l)
482
482
  return;
483
483
  c();
484
- const v = t(n ? u[0] : u, a, s);
485
- o ? a(v) : c = Ze(v) ? v : U;
484
+ const y = t(n ? u[0] : u, a, s);
485
+ o ? a(y) : c = ze(y) ? y : U;
486
486
  }, g = i.map(
487
- (v, _) => Et(
488
- v,
487
+ (y, _) => yt(
488
+ y,
489
489
  (T) => {
490
490
  u[_] = T, l &= ~(1 << _), h && d();
491
491
  },
@@ -495,51 +495,51 @@ function oe(e, t, r) {
495
495
  )
496
496
  );
497
497
  return h = !0, d(), function() {
498
- ie(g), c(), h = !1;
498
+ ne(g), c(), h = !1;
499
499
  };
500
500
  });
501
501
  }
502
- function pr(e) {
503
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
502
+ function mr(e) {
503
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
504
504
  }
505
- var br = function(t) {
506
- return gr(t) && !vr(t);
505
+ var pr = function(t) {
506
+ return br(t) && !gr(t);
507
507
  };
508
- function gr(e) {
508
+ function br(e) {
509
509
  return !!e && typeof e == "object";
510
510
  }
511
- function vr(e) {
511
+ function gr(e) {
512
512
  var t = Object.prototype.toString.call(e);
513
- return t === "[object RegExp]" || t === "[object Date]" || _r(e);
513
+ return t === "[object RegExp]" || t === "[object Date]" || Er(e);
514
514
  }
515
- var yr = typeof Symbol == "function" && Symbol.for, Er = yr ? Symbol.for("react.element") : 60103;
516
- function _r(e) {
517
- return e.$$typeof === Er;
515
+ var vr = typeof Symbol == "function" && Symbol.for, yr = vr ? Symbol.for("react.element") : 60103;
516
+ function Er(e) {
517
+ return e.$$typeof === yr;
518
518
  }
519
519
  function xr(e) {
520
520
  return Array.isArray(e) ? [] : {};
521
521
  }
522
- function me(e, t) {
523
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(xr(e), e, t) : e;
522
+ function de(e, t) {
523
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(xr(e), e, t) : e;
524
524
  }
525
- function Sr(e, t, r) {
525
+ function _r(e, t, r) {
526
526
  return e.concat(t).map(function(n) {
527
- return me(n, r);
527
+ return de(n, r);
528
528
  });
529
529
  }
530
- function Tr(e, t) {
530
+ function Sr(e, t) {
531
531
  if (!t.customMerge)
532
- return ee;
532
+ return K;
533
533
  var r = t.customMerge(e);
534
- return typeof r == "function" ? r : ee;
534
+ return typeof r == "function" ? r : K;
535
535
  }
536
- function Hr(e) {
536
+ function Tr(e) {
537
537
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
538
538
  return Object.propertyIsEnumerable.call(e, t);
539
539
  }) : [];
540
540
  }
541
- function et(e) {
542
- return Object.keys(e).concat(Hr(e));
541
+ function Ke(e) {
542
+ return Object.keys(e).concat(Tr(e));
543
543
  }
544
544
  function xt(e, t) {
545
545
  try {
@@ -548,59 +548,73 @@ function xt(e, t) {
548
548
  return !1;
549
549
  }
550
550
  }
551
- function Ar(e, t) {
551
+ function Hr(e, t) {
552
552
  return xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
553
553
  }
554
554
  function Br(e, t, r) {
555
555
  var n = {};
556
- return r.isMergeableObject(e) && et(e).forEach(function(i) {
557
- n[i] = me(e[i], r);
558
- }), et(t).forEach(function(i) {
559
- Ar(e, i) || (xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
556
+ return r.isMergeableObject(e) && Ke(e).forEach(function(i) {
557
+ n[i] = de(e[i], r);
558
+ }), Ke(t).forEach(function(i) {
559
+ Hr(e, i) || (xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sr(i, r)(e[i], t[i], r) : n[i] = de(t[i], r));
560
560
  }), n;
561
561
  }
562
- function ee(e, t, r) {
563
- r = r || {}, r.arrayMerge = r.arrayMerge || Sr, r.isMergeableObject = r.isMergeableObject || br, r.cloneUnlessOtherwiseSpecified = me;
562
+ function K(e, t, r) {
563
+ r = r || {}, r.arrayMerge = r.arrayMerge || _r, r.isMergeableObject = r.isMergeableObject || pr, r.cloneUnlessOtherwiseSpecified = de;
564
564
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
565
- return o ? n ? r.arrayMerge(e, t, r) : Br(e, t, r) : me(t, r);
565
+ return o ? n ? r.arrayMerge(e, t, r) : Br(e, t, r) : de(t, r);
566
566
  }
567
- ee.all = function(t, r) {
567
+ K.all = function(t, r) {
568
568
  if (!Array.isArray(t))
569
569
  throw new Error("first argument should be an array");
570
570
  return t.reduce(function(n, i) {
571
- return ee(n, i, r);
571
+ return K(n, i, r);
572
572
  }, {});
573
573
  };
574
- var wr = ee, Pr = wr;
575
- const Cr = /* @__PURE__ */ pr(Pr);
576
- var De = function(e, t) {
577
- return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
574
+ var Ar = K, wr = Ar;
575
+ const Pr = /* @__PURE__ */ mr(wr);
576
+ /*! *****************************************************************************
577
+ Copyright (c) Microsoft Corporation.
578
+
579
+ Permission to use, copy, modify, and/or distribute this software for any
580
+ purpose with or without fee is hereby granted.
581
+
582
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
583
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
584
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
585
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
586
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
587
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
588
+ PERFORMANCE OF THIS SOFTWARE.
589
+ ***************************************************************************** */
590
+ var $e = function(e, t) {
591
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
578
592
  r.__proto__ = n;
579
593
  } || function(r, n) {
580
594
  for (var i in n)
581
595
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
582
- }, De(e, t);
596
+ }, $e(e, t);
583
597
  };
584
- function He(e, t) {
598
+ function Se(e, t) {
585
599
  if (typeof t != "function" && t !== null)
586
600
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
587
- De(e, t);
601
+ $e(e, t);
588
602
  function r() {
589
603
  this.constructor = e;
590
604
  }
591
605
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
592
606
  }
593
- var F = function() {
594
- return F = Object.assign || function(t) {
607
+ var v = function() {
608
+ return v = Object.assign || function(t) {
595
609
  for (var r, n = 1, i = arguments.length; n < i; n++) {
596
610
  r = arguments[n];
597
611
  for (var o in r)
598
612
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
599
613
  }
600
614
  return t;
601
- }, F.apply(this, arguments);
615
+ }, v.apply(this, arguments);
602
616
  };
603
- function Ir(e, t) {
617
+ function Cr(e, t) {
604
618
  var r = {};
605
619
  for (var n in e)
606
620
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -609,43 +623,46 @@ function Ir(e, t) {
609
623
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
610
624
  return r;
611
625
  }
612
- function Ce(e, t, r) {
613
- if (r || arguments.length === 2)
626
+ function we(e, t, r) {
627
+ if (arguments.length === 2)
614
628
  for (var n = 0, i = t.length, o; n < i; n++)
615
629
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
616
- return e.concat(o || Array.prototype.slice.call(t));
630
+ return e.concat(o || t);
617
631
  }
618
- function Ie(e, t) {
619
- var r = t && t.cache ? t.cache : Ur, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : Mr;
632
+ function Pe(e, t) {
633
+ var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Lr, i = t && t.strategy ? t.strategy : Nr;
620
634
  return i(e, {
621
635
  cache: r,
622
636
  serializer: n
623
637
  });
624
638
  }
625
- function Or(e) {
639
+ function Ir(e) {
626
640
  return e == null || typeof e == "number" || typeof e == "boolean";
627
641
  }
628
- function Nr(e, t, r, n) {
629
- var i = Or(n) ? n : r(n), o = t.get(i);
642
+ function _t(e, t, r, n) {
643
+ var i = Ir(n) ? n : r(n), o = t.get(i);
630
644
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
631
645
  }
632
646
  function St(e, t, r) {
633
647
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
634
648
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
635
649
  }
636
- function Tt(e, t, r, n, i) {
650
+ function We(e, t, r, n, i) {
637
651
  return r.bind(t, e, n, i);
638
652
  }
639
- function Mr(e, t) {
640
- var r = e.length === 1 ? Nr : St;
641
- return Tt(e, this, r, t.cache.create(), t.serializer);
653
+ function Nr(e, t) {
654
+ var r = e.length === 1 ? _t : St;
655
+ return We(e, this, r, t.cache.create(), t.serializer);
642
656
  }
643
- function Lr(e, t) {
644
- return Tt(e, this, St, t.cache.create(), t.serializer);
657
+ function Or(e, t) {
658
+ return We(e, this, St, t.cache.create(), t.serializer);
659
+ }
660
+ function Mr(e, t) {
661
+ return We(e, this, _t, t.cache.create(), t.serializer);
645
662
  }
646
- var Rr = function() {
663
+ var Lr = function() {
647
664
  return JSON.stringify(arguments);
648
- }, $r = (
665
+ }, Rr = (
649
666
  /** @class */
650
667
  function() {
651
668
  function e() {
@@ -657,71 +674,62 @@ var Rr = function() {
657
674
  this.cache[t] = r;
658
675
  }, e;
659
676
  }()
660
- ), Ur = {
677
+ ), $r = {
661
678
  create: function() {
662
- return new $r();
679
+ return new Rr();
663
680
  }
664
- }, Oe = {
665
- variadic: Lr
666
- }, _e = function() {
667
- return _e = Object.assign || function(t) {
668
- for (var r, n = 1, i = arguments.length; n < i; n++) {
669
- r = arguments[n];
670
- for (var o in r)
671
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
672
- }
673
- return t;
674
- }, _e.apply(this, arguments);
675
- };
676
- var m;
681
+ }, Ce = {
682
+ variadic: Or,
683
+ monadic: Mr
684
+ }, m;
677
685
  (function(e) {
678
686
  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";
679
687
  })(m || (m = {}));
680
- var E;
688
+ var x;
681
689
  (function(e) {
682
690
  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";
683
- })(E || (E = {}));
684
- var te;
691
+ })(x || (x = {}));
692
+ var ee;
685
693
  (function(e) {
686
694
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
687
- })(te || (te = {}));
688
- function tt(e) {
689
- return e.type === E.literal;
695
+ })(ee || (ee = {}));
696
+ function et(e) {
697
+ return e.type === x.literal;
690
698
  }
691
- function Dr(e) {
692
- return e.type === E.argument;
699
+ function Ur(e) {
700
+ return e.type === x.argument;
693
701
  }
694
- function Ht(e) {
695
- return e.type === E.number;
702
+ function Tt(e) {
703
+ return e.type === x.number;
696
704
  }
697
- function At(e) {
698
- return e.type === E.date;
705
+ function Ht(e) {
706
+ return e.type === x.date;
699
707
  }
700
708
  function Bt(e) {
701
- return e.type === E.time;
709
+ return e.type === x.time;
710
+ }
711
+ function At(e) {
712
+ return e.type === x.select;
702
713
  }
703
714
  function wt(e) {
704
- return e.type === E.select;
715
+ return e.type === x.plural;
705
716
  }
706
- function Pt(e) {
707
- return e.type === E.plural;
717
+ function Dr(e) {
718
+ return e.type === x.pound;
708
719
  }
709
- function Fr(e) {
710
- return e.type === E.pound;
720
+ function Pt(e) {
721
+ return e.type === x.tag;
711
722
  }
712
723
  function Ct(e) {
713
- return e.type === E.tag;
724
+ return !!(e && typeof e == "object" && e.type === ee.number);
714
725
  }
715
- function It(e) {
716
- return !!(e && typeof e == "object" && e.type === te.number);
717
- }
718
- function Fe(e) {
719
- return !!(e && typeof e == "object" && e.type === te.dateTime);
726
+ function Ue(e) {
727
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
720
728
  }
721
- var Ot = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gr = /(?:[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;
722
- function kr(e) {
729
+ var It = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fr = /(?:[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;
730
+ function Gr(e) {
723
731
  var t = {};
724
- return e.replace(Gr, function(r) {
732
+ return e.replace(Fr, function(r) {
725
733
  var n = r.length;
726
734
  switch (r[0]) {
727
735
  case "G":
@@ -810,21 +818,11 @@ function kr(e) {
810
818
  return "";
811
819
  }), t;
812
820
  }
813
- var S = function() {
814
- return S = Object.assign || function(t) {
815
- for (var r, n = 1, i = arguments.length; n < i; n++) {
816
- r = arguments[n];
817
- for (var o in r)
818
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
819
- }
820
- return t;
821
- }, S.apply(this, arguments);
822
- };
823
- var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
824
- function Vr(e) {
821
+ var kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
822
+ function jr(e) {
825
823
  if (e.length === 0)
826
824
  throw new Error("Number skeleton cannot be empty");
827
- for (var t = e.split(jr).filter(function(d) {
825
+ for (var t = e.split(kr).filter(function(d) {
828
826
  return d.length > 0;
829
827
  }), r = [], n = 0, i = t; n < i.length; n++) {
830
828
  var o = i[n], a = o.split("/");
@@ -839,17 +837,17 @@ function Vr(e) {
839
837
  }
840
838
  return r;
841
839
  }
842
- function Xr(e) {
840
+ function Vr(e) {
843
841
  return e.replace(/^(.*?)-/, "");
844
842
  }
845
- var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, Mt = /^(0+)$/;
846
- function nt(e) {
843
+ var tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, Xr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ot = /^(0+)$/;
844
+ function rt(e) {
847
845
  var t = {};
848
846
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
849
847
  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)), "";
850
848
  }), t;
851
849
  }
852
- function Lt(e) {
850
+ function Mt(e) {
853
851
  switch (e) {
854
852
  case "sign-auto":
855
853
  return {
@@ -889,7 +887,7 @@ function Lt(e) {
889
887
  };
890
888
  }
891
889
  }
892
- function Wr(e) {
890
+ function zr(e) {
893
891
  var t;
894
892
  if (e[0] === "E" && e[1] === "E" ? (t = {
895
893
  notation: "engineering"
@@ -897,17 +895,17 @@ function Wr(e) {
897
895
  notation: "scientific"
898
896
  }, e = e.slice(1)), t) {
899
897
  var r = e.slice(0, 2);
900
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Mt.test(e))
898
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ot.test(e))
901
899
  throw new Error("Malformed concise eng/scientific notation");
902
900
  t.minimumIntegerDigits = e.length;
903
901
  }
904
902
  return t;
905
903
  }
906
- function it(e) {
907
- var t = {}, r = Lt(e);
904
+ function nt(e) {
905
+ var t = {}, r = Mt(e);
908
906
  return r || t;
909
907
  }
910
- function Zr(e) {
908
+ function Wr(e) {
911
909
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
912
910
  var i = n[r];
913
911
  switch (i.stem) {
@@ -931,7 +929,7 @@ function Zr(e) {
931
929
  continue;
932
930
  case "measure-unit":
933
931
  case "unit":
934
- t.style = "unit", t.unit = Xr(i.options[0]);
932
+ t.style = "unit", t.unit = Vr(i.options[0]);
935
933
  continue;
936
934
  case "compact-short":
937
935
  case "K":
@@ -942,13 +940,13 @@ function Zr(e) {
942
940
  t.notation = "compact", t.compactDisplay = "long";
943
941
  continue;
944
942
  case "scientific":
945
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
946
- return S(S({}, h), it(u));
943
+ t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
944
+ return v(v({}, h), nt(u));
947
945
  }, {}));
948
946
  continue;
949
947
  case "engineering":
950
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
951
- return S(S({}, h), it(u));
948
+ t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
949
+ return v(v({}, h), nt(u));
952
950
  }, {}));
953
951
  continue;
954
952
  case "notation-simple":
@@ -993,7 +991,7 @@ function Zr(e) {
993
991
  case "integer-width":
994
992
  if (i.options.length > 1)
995
993
  throw new RangeError("integer-width stems only accept a single optional option");
996
- i.options[0].replace(zr, function(h, u, l, c, d, g) {
994
+ i.options[0].replace(Xr, function(h, u, l, c, d, g) {
997
995
  if (u)
998
996
  t.minimumIntegerDigits = l.length;
999
997
  else {
@@ -1006,32 +1004,32 @@ function Zr(e) {
1006
1004
  });
1007
1005
  continue;
1008
1006
  }
1009
- if (Mt.test(i.stem)) {
1007
+ if (Ot.test(i.stem)) {
1010
1008
  t.minimumIntegerDigits = i.stem.length;
1011
1009
  continue;
1012
1010
  }
1013
- if (rt.test(i.stem)) {
1011
+ if (tt.test(i.stem)) {
1014
1012
  if (i.options.length > 1)
1015
1013
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1016
- i.stem.replace(rt, function(h, u, l, c, d, g) {
1014
+ i.stem.replace(tt, function(h, u, l, c, d, g) {
1017
1015
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : d && g ? (t.minimumFractionDigits = d.length, t.maximumFractionDigits = d.length + g.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1018
1016
  });
1019
1017
  var o = i.options[0];
1020
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), nt(o)));
1018
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), rt(o)));
1021
1019
  continue;
1022
1020
  }
1023
1021
  if (Nt.test(i.stem)) {
1024
- t = S(S({}, t), nt(i.stem));
1022
+ t = v(v({}, t), rt(i.stem));
1025
1023
  continue;
1026
1024
  }
1027
- var a = Lt(i.stem);
1028
- a && (t = S(S({}, t), a));
1029
- var s = Wr(i.stem);
1030
- s && (t = S(S({}, t), s));
1025
+ var a = Mt(i.stem);
1026
+ a && (t = v(v({}, t), a));
1027
+ var s = zr(i.stem);
1028
+ s && (t = v(v({}, t), s));
1031
1029
  }
1032
1030
  return t;
1033
1031
  }
1034
- var ge = {
1032
+ var be = {
1035
1033
  "001": [
1036
1034
  "H",
1037
1035
  "h"
@@ -2446,13 +2444,13 @@ var ge = {
2446
2444
  "h"
2447
2445
  ]
2448
2446
  };
2449
- function Jr(e, t) {
2447
+ function Zr(e, t) {
2450
2448
  for (var r = "", n = 0; n < e.length; n++) {
2451
2449
  var i = e.charAt(n);
2452
2450
  if (i === "j") {
2453
2451
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2454
2452
  o++, n++;
2455
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Qr(t);
2453
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Jr(t);
2456
2454
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2457
2455
  r += h;
2458
2456
  for (; a-- > 0; )
@@ -2462,7 +2460,7 @@ function Jr(e, t) {
2462
2460
  }
2463
2461
  return r;
2464
2462
  }
2465
- function Qr(e) {
2463
+ function Jr(e) {
2466
2464
  var t = e.hourCycle;
2467
2465
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2468
2466
  e.hourCycles && // @ts-ignore
@@ -2481,23 +2479,23 @@ function Qr(e) {
2481
2479
  }
2482
2480
  var r = e.language, n;
2483
2481
  r !== "root" && (n = e.maximize().region);
2484
- var i = ge[n || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
2482
+ var i = be[n || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
2485
2483
  return i[0];
2486
2484
  }
2487
- var Ne, qr = new RegExp("^".concat(Ot.source, "*")), Yr = new RegExp("".concat(Ot.source, "*$"));
2485
+ var Ie, Qr = new RegExp("^".concat(It.source, "*")), qr = new RegExp("".concat(It.source, "*$"));
2488
2486
  function b(e, t) {
2489
2487
  return { start: e, end: t };
2490
2488
  }
2491
- var Kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), en = !!String.fromCodePoint, tn = !!Object.fromEntries, rn = !!String.prototype.codePointAt, nn = !!String.prototype.trimStart, on = !!String.prototype.trimEnd, sn = !!Number.isSafeInteger, an = sn ? Number.isSafeInteger : function(e) {
2489
+ var Yr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kr = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, on = !!Number.isSafeInteger, sn = on ? Number.isSafeInteger : function(e) {
2492
2490
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2493
- }, Ge = !0;
2491
+ }, De = !0;
2494
2492
  try {
2495
- var un = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2496
- Ge = ((Ne = un.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
2493
+ var an = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2494
+ De = ((Ie = an.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
2497
2495
  } catch {
2498
- Ge = !1;
2496
+ De = !1;
2499
2497
  }
2500
- var ot = Kr ? (
2498
+ var it = Yr ? (
2501
2499
  // Native
2502
2500
  function(t, r, n) {
2503
2501
  return t.startsWith(r, n);
@@ -2507,7 +2505,7 @@ var ot = Kr ? (
2507
2505
  function(t, r, n) {
2508
2506
  return t.slice(n, n + r.length) === r;
2509
2507
  }
2510
- ), ke = en ? String.fromCodePoint : (
2508
+ ), Fe = Kr ? String.fromCodePoint : (
2511
2509
  // IE11
2512
2510
  function() {
2513
2511
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2519,9 +2517,9 @@ var ot = Kr ? (
2519
2517
  }
2520
2518
  return n;
2521
2519
  }
2522
- ), st = (
2520
+ ), ot = (
2523
2521
  // native
2524
- tn ? Object.fromEntries : (
2522
+ en ? Object.fromEntries : (
2525
2523
  // Ponyfill
2526
2524
  function(t) {
2527
2525
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2531,7 +2529,7 @@ var ot = Kr ? (
2531
2529
  return r;
2532
2530
  }
2533
2531
  )
2534
- ), Rt = rn ? (
2532
+ ), Lt = tn ? (
2535
2533
  // Native
2536
2534
  function(t, r) {
2537
2535
  return t.codePointAt(r);
@@ -2545,7 +2543,7 @@ var ot = Kr ? (
2545
2543
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2546
2544
  }
2547
2545
  }
2548
- ), ln = nn ? (
2546
+ ), un = rn ? (
2549
2547
  // Native
2550
2548
  function(t) {
2551
2549
  return t.trimStart();
@@ -2553,9 +2551,9 @@ var ot = Kr ? (
2553
2551
  ) : (
2554
2552
  // Ponyfill
2555
2553
  function(t) {
2556
- return t.replace(qr, "");
2554
+ return t.replace(Qr, "");
2557
2555
  }
2558
- ), hn = on ? (
2556
+ ), ln = nn ? (
2559
2557
  // Native
2560
2558
  function(t) {
2561
2559
  return t.trimEnd();
@@ -2563,32 +2561,32 @@ var ot = Kr ? (
2563
2561
  ) : (
2564
2562
  // Ponyfill
2565
2563
  function(t) {
2566
- return t.replace(Yr, "");
2564
+ return t.replace(qr, "");
2567
2565
  }
2568
2566
  );
2569
- function $t(e, t) {
2567
+ function Rt(e, t) {
2570
2568
  return new RegExp(e, t);
2571
2569
  }
2572
- var je;
2573
- if (Ge) {
2574
- var at = $t("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2575
- je = function(t, r) {
2570
+ var Ge;
2571
+ if (De) {
2572
+ var st = Rt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2573
+ Ge = function(t, r) {
2576
2574
  var n;
2577
- at.lastIndex = r;
2578
- var i = at.exec(t);
2575
+ st.lastIndex = r;
2576
+ var i = st.exec(t);
2579
2577
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2580
2578
  };
2581
2579
  } else
2582
- je = function(t, r) {
2580
+ Ge = function(t, r) {
2583
2581
  for (var n = []; ; ) {
2584
- var i = Rt(t, r);
2585
- if (i === void 0 || Ut(i) || mn(i))
2582
+ var i = Lt(t, r);
2583
+ if (i === void 0 || $t(i) || dn(i))
2586
2584
  break;
2587
2585
  n.push(i), r += i >= 65536 ? 2 : 1;
2588
2586
  }
2589
- return ke.apply(void 0, n);
2587
+ return Fe.apply(void 0, n);
2590
2588
  };
2591
- var cn = (
2589
+ var hn = (
2592
2590
  /** @class */
2593
2591
  function() {
2594
2592
  function e(t, r) {
@@ -2612,14 +2610,14 @@ var cn = (
2612
2610
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2613
2611
  var s = this.clonePosition();
2614
2612
  this.bump(), i.push({
2615
- type: E.pound,
2613
+ type: x.pound,
2616
2614
  location: b(s, this.clonePosition())
2617
2615
  });
2618
2616
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2619
2617
  if (n)
2620
2618
  break;
2621
2619
  return this.error(m.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2622
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
2620
+ } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
2623
2621
  var a = this.parseTag(t, r);
2624
2622
  if (a.err)
2625
2623
  return a;
@@ -2640,7 +2638,7 @@ var cn = (
2640
2638
  if (this.bumpSpace(), this.bumpIf("/>"))
2641
2639
  return {
2642
2640
  val: {
2643
- type: E.literal,
2641
+ type: x.literal,
2644
2642
  value: "<".concat(i, "/>"),
2645
2643
  location: b(n, this.clonePosition())
2646
2644
  },
@@ -2652,12 +2650,12 @@ var cn = (
2652
2650
  return o;
2653
2651
  var a = o.val, s = this.clonePosition();
2654
2652
  if (this.bumpIf("</")) {
2655
- if (this.isEOF() || !Ve(this.char()))
2653
+ if (this.isEOF() || !ke(this.char()))
2656
2654
  return this.error(m.INVALID_TAG, b(s, this.clonePosition()));
2657
2655
  var h = this.clonePosition(), u = this.parseTagName();
2658
2656
  return i !== u ? this.error(m.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2659
2657
  val: {
2660
- type: E.tag,
2658
+ type: x.tag,
2661
2659
  value: i,
2662
2660
  children: a,
2663
2661
  location: b(n, this.clonePosition())
@@ -2670,7 +2668,7 @@ var cn = (
2670
2668
  return this.error(m.INVALID_TAG, b(n, this.clonePosition()));
2671
2669
  }, e.prototype.parseTagName = function() {
2672
2670
  var t = this.offset();
2673
- for (this.bump(); !this.isEOF() && dn(this.char()); )
2671
+ for (this.bump(); !this.isEOF() && fn(this.char()); )
2674
2672
  this.bump();
2675
2673
  return this.message.slice(t, this.offset());
2676
2674
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2694,12 +2692,12 @@ var cn = (
2694
2692
  }
2695
2693
  var h = b(n, this.clonePosition());
2696
2694
  return {
2697
- val: { type: E.literal, value: i, location: h },
2695
+ val: { type: x.literal, value: i, location: h },
2698
2696
  err: null
2699
2697
  };
2700
2698
  }, e.prototype.tryParseLeftAngleBracket = function() {
2701
2699
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2702
- !fn(this.peek() || 0)) ? (this.bump(), "<") : null;
2700
+ !cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2703
2701
  }, e.prototype.tryParseQuote = function(t) {
2704
2702
  if (this.isEOF() || this.char() !== 39)
2705
2703
  return null;
@@ -2733,12 +2731,12 @@ var cn = (
2733
2731
  r.push(n);
2734
2732
  this.bump();
2735
2733
  }
2736
- return ke.apply(void 0, r);
2734
+ return Fe.apply(void 0, r);
2737
2735
  }, e.prototype.tryParseUnquoted = function(t, r) {
2738
2736
  if (this.isEOF())
2739
2737
  return null;
2740
2738
  var n = this.char();
2741
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
2739
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
2742
2740
  }, e.prototype.parseArgument = function(t, r) {
2743
2741
  var n = this.clonePosition();
2744
2742
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2754,7 +2752,7 @@ var cn = (
2754
2752
  case 125:
2755
2753
  return this.bump(), {
2756
2754
  val: {
2757
- type: E.argument,
2755
+ type: x.argument,
2758
2756
  // value does not include the opening and closing braces.
2759
2757
  value: i,
2760
2758
  location: b(n, this.clonePosition())
@@ -2767,7 +2765,7 @@ var cn = (
2767
2765
  return this.error(m.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2768
2766
  }
2769
2767
  }, e.prototype.parseIdentifierIfPossible = function() {
2770
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2768
+ var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2771
2769
  this.bumpTo(i);
2772
2770
  var o = this.clonePosition(), a = b(t, o);
2773
2771
  return { value: n, location: a };
@@ -2786,35 +2784,35 @@ var cn = (
2786
2784
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2787
2785
  if (c.err)
2788
2786
  return c;
2789
- var d = hn(c.val);
2787
+ var d = ln(c.val);
2790
2788
  if (d.length === 0)
2791
2789
  return this.error(m.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2792
2790
  var g = b(l, this.clonePosition());
2793
2791
  u = { style: d, styleLocation: g };
2794
2792
  }
2795
- var v = this.tryParseArgumentClose(i);
2796
- if (v.err)
2797
- return v;
2793
+ var y = this.tryParseArgumentClose(i);
2794
+ if (y.err)
2795
+ return y;
2798
2796
  var _ = b(i, this.clonePosition());
2799
- if (u && ot(u?.style, "::", 0)) {
2800
- var T = ln(u.style.slice(2));
2797
+ if (u && it(u?.style, "::", 0)) {
2798
+ var T = un(u.style.slice(2));
2801
2799
  if (s === "number") {
2802
2800
  var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
2803
2801
  return c.err ? c : {
2804
- val: { type: E.number, value: n, location: _, style: c.val },
2802
+ val: { type: x.number, value: n, location: _, style: c.val },
2805
2803
  err: null
2806
2804
  };
2807
2805
  } else {
2808
2806
  if (T.length === 0)
2809
2807
  return this.error(m.EXPECT_DATE_TIME_SKELETON, _);
2810
2808
  var H = T;
2811
- this.locale && (H = Jr(T, this.locale));
2809
+ this.locale && (H = Zr(T, this.locale));
2812
2810
  var d = {
2813
- type: te.dateTime,
2811
+ type: ee.dateTime,
2814
2812
  pattern: H,
2815
2813
  location: u.styleLocation,
2816
- parsedOptions: this.shouldParseSkeletons ? kr(H) : {}
2817
- }, L = s === "date" ? E.date : E.time;
2814
+ parsedOptions: this.shouldParseSkeletons ? Gr(H) : {}
2815
+ }, L = s === "date" ? x.date : x.time;
2818
2816
  return {
2819
2817
  val: { type: L, value: n, location: _, style: d },
2820
2818
  err: null
@@ -2823,7 +2821,7 @@ var cn = (
2823
2821
  }
2824
2822
  return {
2825
2823
  val: {
2826
- type: s === "number" ? E.number : s === "date" ? E.date : E.time,
2824
+ type: s === "number" ? x.number : s === "date" ? x.date : x.time,
2827
2825
  value: n,
2828
2826
  location: _,
2829
2827
  style: (o = u?.style) !== null && o !== void 0 ? o : null
@@ -2834,43 +2832,43 @@ var cn = (
2834
2832
  case "plural":
2835
2833
  case "selectordinal":
2836
2834
  case "select": {
2837
- var B = this.clonePosition();
2835
+ var A = this.clonePosition();
2838
2836
  if (this.bumpSpace(), !this.bumpIf(","))
2839
- return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(B, _e({}, B)));
2837
+ return this.error(m.EXPECT_SELECT_ARGUMENT_OPTIONS, b(A, v({}, A)));
2840
2838
  this.bumpSpace();
2841
- var x = this.parseIdentifierIfPossible(), O = 0;
2842
- if (s !== "select" && x.value === "offset") {
2839
+ var S = this.parseIdentifierIfPossible(), N = 0;
2840
+ if (s !== "select" && S.value === "offset") {
2843
2841
  if (!this.bumpIf(":"))
2844
2842
  return this.error(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2845
2843
  this.bumpSpace();
2846
2844
  var c = this.tryParseDecimalInteger(m.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2847
2845
  if (c.err)
2848
2846
  return c;
2849
- this.bumpSpace(), x = this.parseIdentifierIfPossible(), O = c.val;
2847
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), N = c.val;
2850
2848
  }
2851
- var D = this.tryParsePluralOrSelectOptions(t, s, r, x);
2849
+ var D = this.tryParsePluralOrSelectOptions(t, s, r, S);
2852
2850
  if (D.err)
2853
2851
  return D;
2854
- var v = this.tryParseArgumentClose(i);
2855
- if (v.err)
2856
- return v;
2857
- var V = b(i, this.clonePosition());
2852
+ var y = this.tryParseArgumentClose(i);
2853
+ if (y.err)
2854
+ return y;
2855
+ var j = b(i, this.clonePosition());
2858
2856
  return s === "select" ? {
2859
2857
  val: {
2860
- type: E.select,
2858
+ type: x.select,
2861
2859
  value: n,
2862
- options: st(D.val),
2863
- location: V
2860
+ options: ot(D.val),
2861
+ location: j
2864
2862
  },
2865
2863
  err: null
2866
2864
  } : {
2867
2865
  val: {
2868
- type: E.plural,
2866
+ type: x.plural,
2869
2867
  value: n,
2870
- options: st(D.val),
2871
- offset: O,
2868
+ options: ot(D.val),
2869
+ offset: N,
2872
2870
  pluralType: s === "plural" ? "cardinal" : "ordinal",
2873
- location: V
2871
+ location: j
2874
2872
  },
2875
2873
  err: null
2876
2874
  };
@@ -2918,16 +2916,16 @@ var cn = (
2918
2916
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2919
2917
  var n = [];
2920
2918
  try {
2921
- n = Vr(t);
2919
+ n = jr(t);
2922
2920
  } catch {
2923
2921
  return this.error(m.INVALID_NUMBER_SKELETON, r);
2924
2922
  }
2925
2923
  return {
2926
2924
  val: {
2927
- type: te.number,
2925
+ type: ee.number,
2928
2926
  tokens: n,
2929
2927
  location: r,
2930
- parsedOptions: this.shouldParseSkeletons ? Zr(n) : {}
2928
+ parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
2931
2929
  },
2932
2930
  err: null
2933
2931
  };
@@ -2949,16 +2947,16 @@ var cn = (
2949
2947
  var g = this.clonePosition();
2950
2948
  if (!this.bumpIf("{"))
2951
2949
  return this.error(r === "select" ? m.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : m.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
2952
- var v = this.parseMessage(t + 1, r, n);
2953
- if (v.err)
2954
- return v;
2950
+ var y = this.parseMessage(t + 1, r, n);
2951
+ if (y.err)
2952
+ return y;
2955
2953
  var _ = this.tryParseArgumentClose(g);
2956
2954
  if (_.err)
2957
2955
  return _;
2958
2956
  s.push([
2959
2957
  u,
2960
2958
  {
2961
- value: v.val,
2959
+ value: y.val,
2962
2960
  location: b(g, this.clonePosition())
2963
2961
  }
2964
2962
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
@@ -2975,7 +2973,7 @@ var cn = (
2975
2973
  break;
2976
2974
  }
2977
2975
  var h = b(i, this.clonePosition());
2978
- return o ? (a *= n, an(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2976
+ return o ? (a *= n, sn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
2979
2977
  }, e.prototype.offset = function() {
2980
2978
  return this.position.offset;
2981
2979
  }, e.prototype.isEOF = function() {
@@ -2990,7 +2988,7 @@ var cn = (
2990
2988
  var t = this.position.offset;
2991
2989
  if (t >= this.message.length)
2992
2990
  throw Error("out of bound");
2993
- var r = Rt(this.message, t);
2991
+ var r = Lt(this.message, t);
2994
2992
  if (r === void 0)
2995
2993
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
2996
2994
  return r;
@@ -3009,7 +3007,7 @@ var cn = (
3009
3007
  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);
3010
3008
  }
3011
3009
  }, e.prototype.bumpIf = function(t) {
3012
- if (ot(this.message, t, this.offset())) {
3010
+ if (it(this.message, t, this.offset())) {
3013
3011
  for (var r = 0; r < t.length; r++)
3014
3012
  this.bump();
3015
3013
  return !0;
@@ -3031,7 +3029,7 @@ var cn = (
3031
3029
  break;
3032
3030
  }
3033
3031
  }, e.prototype.bumpSpace = function() {
3034
- for (; !this.isEOF() && Ut(this.char()); )
3032
+ for (; !this.isEOF() && $t(this.char()); )
3035
3033
  this.bump();
3036
3034
  }, e.prototype.peek = function() {
3037
3035
  if (this.isEOF())
@@ -3041,47 +3039,47 @@ var cn = (
3041
3039
  }, e;
3042
3040
  }()
3043
3041
  );
3044
- function Ve(e) {
3042
+ function ke(e) {
3045
3043
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3046
3044
  }
3047
- function fn(e) {
3048
- return Ve(e) || e === 47;
3045
+ function cn(e) {
3046
+ return ke(e) || e === 47;
3049
3047
  }
3050
- function dn(e) {
3048
+ function fn(e) {
3051
3049
  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;
3052
3050
  }
3053
- function Ut(e) {
3051
+ function $t(e) {
3054
3052
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3055
3053
  }
3056
- function mn(e) {
3054
+ function dn(e) {
3057
3055
  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;
3058
3056
  }
3059
- function Xe(e) {
3057
+ function je(e) {
3060
3058
  e.forEach(function(t) {
3061
- if (delete t.location, wt(t) || Pt(t))
3059
+ if (delete t.location, At(t) || wt(t))
3062
3060
  for (var r in t.options)
3063
- delete t.options[r].location, Xe(t.options[r].value);
3061
+ delete t.options[r].location, je(t.options[r].value);
3064
3062
  else
3065
- Ht(t) && It(t.style) || (At(t) || Bt(t)) && Fe(t.style) ? delete t.style.location : Ct(t) && Xe(t.children);
3063
+ Tt(t) && Ct(t.style) || (Ht(t) || Bt(t)) && Ue(t.style) ? delete t.style.location : Pt(t) && je(t.children);
3066
3064
  });
3067
3065
  }
3068
- function pn(e, t) {
3069
- t === void 0 && (t = {}), t = _e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3070
- var r = new cn(e, t).parse();
3066
+ function mn(e, t) {
3067
+ t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3068
+ var r = new hn(e, t).parse();
3071
3069
  if (r.err) {
3072
3070
  var n = SyntaxError(m[r.err.kind]);
3073
3071
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3074
3072
  }
3075
- return t?.captureLocation || Xe(r.val), r.val;
3073
+ return t?.captureLocation || je(r.val), r.val;
3076
3074
  }
3077
- var re;
3075
+ var te;
3078
3076
  (function(e) {
3079
3077
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3080
- })(re || (re = {}));
3081
- var Ae = (
3078
+ })(te || (te = {}));
3079
+ var Te = (
3082
3080
  /** @class */
3083
3081
  function(e) {
3084
- He(t, e);
3082
+ Se(t, e);
3085
3083
  function t(r, n, i) {
3086
3084
  var o = e.call(this, r) || this;
3087
3085
  return o.code = n, o.originalMessage = i, o;
@@ -3090,48 +3088,48 @@ var Ae = (
3090
3088
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3091
3089
  }, t;
3092
3090
  }(Error)
3093
- ), ut = (
3091
+ ), at = (
3094
3092
  /** @class */
3095
3093
  function(e) {
3096
- He(t, e);
3094
+ Se(t, e);
3097
3095
  function t(r, n, i, o) {
3098
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), re.INVALID_VALUE, o) || this;
3096
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3099
3097
  }
3100
3098
  return t;
3101
- }(Ae)
3102
- ), bn = (
3099
+ }(Te)
3100
+ ), pn = (
3103
3101
  /** @class */
3104
3102
  function(e) {
3105
- He(t, e);
3103
+ Se(t, e);
3106
3104
  function t(r, n, i) {
3107
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), re.INVALID_VALUE, i) || this;
3105
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
3108
3106
  }
3109
3107
  return t;
3110
- }(Ae)
3111
- ), gn = (
3108
+ }(Te)
3109
+ ), bn = (
3112
3110
  /** @class */
3113
3111
  function(e) {
3114
- He(t, e);
3112
+ Se(t, e);
3115
3113
  function t(r, n) {
3116
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), re.MISSING_VALUE, n) || this;
3114
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
3117
3115
  }
3118
3116
  return t;
3119
- }(Ae)
3117
+ }(Te)
3120
3118
  ), I;
3121
3119
  (function(e) {
3122
3120
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3123
3121
  })(I || (I = {}));
3124
- function vn(e) {
3122
+ function gn(e) {
3125
3123
  return e.length < 2 ? e : e.reduce(function(t, r) {
3126
3124
  var n = t[t.length - 1];
3127
3125
  return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3128
3126
  }, []);
3129
3127
  }
3130
- function yn(e) {
3128
+ function vn(e) {
3131
3129
  return typeof e == "function";
3132
3130
  }
3133
- function ye(e, t, r, n, i, o, a) {
3134
- if (e.length === 1 && tt(e[0]))
3131
+ function ve(e, t, r, n, i, o, a) {
3132
+ if (e.length === 1 && et(e[0]))
3135
3133
  return [
3136
3134
  {
3137
3135
  type: I.literal,
@@ -3140,14 +3138,14 @@ function ye(e, t, r, n, i, o, a) {
3140
3138
  ];
3141
3139
  for (var s = [], h = 0, u = e; h < u.length; h++) {
3142
3140
  var l = u[h];
3143
- if (tt(l)) {
3141
+ if (et(l)) {
3144
3142
  s.push({
3145
3143
  type: I.literal,
3146
3144
  value: l.value
3147
3145
  });
3148
3146
  continue;
3149
3147
  }
3150
- if (Fr(l)) {
3148
+ if (Dr(l)) {
3151
3149
  typeof o == "number" && s.push({
3152
3150
  type: I.literal,
3153
3151
  value: r.getNumberFormat(t).format(o)
@@ -3156,17 +3154,17 @@ function ye(e, t, r, n, i, o, a) {
3156
3154
  }
3157
3155
  var c = l.value;
3158
3156
  if (!(i && c in i))
3159
- throw new gn(c, a);
3157
+ throw new bn(c, a);
3160
3158
  var d = i[c];
3161
- if (Dr(l)) {
3159
+ if (Ur(l)) {
3162
3160
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), s.push({
3163
3161
  type: typeof d == "string" ? I.literal : I.object,
3164
3162
  value: d
3165
3163
  });
3166
3164
  continue;
3167
3165
  }
3168
- if (At(l)) {
3169
- var g = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3166
+ if (Ht(l)) {
3167
+ var g = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
3170
3168
  s.push({
3171
3169
  type: I.literal,
3172
3170
  value: r.getDateTimeFormat(t, g).format(d)
@@ -3174,71 +3172,71 @@ function ye(e, t, r, n, i, o, a) {
3174
3172
  continue;
3175
3173
  }
3176
3174
  if (Bt(l)) {
3177
- var g = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3175
+ var g = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
3178
3176
  s.push({
3179
3177
  type: I.literal,
3180
3178
  value: r.getDateTimeFormat(t, g).format(d)
3181
3179
  });
3182
3180
  continue;
3183
3181
  }
3184
- if (Ht(l)) {
3185
- var g = typeof l.style == "string" ? n.number[l.style] : It(l.style) ? l.style.parsedOptions : void 0;
3182
+ if (Tt(l)) {
3183
+ var g = typeof l.style == "string" ? n.number[l.style] : Ct(l.style) ? l.style.parsedOptions : void 0;
3186
3184
  g && g.scale && (d = d * (g.scale || 1)), s.push({
3187
3185
  type: I.literal,
3188
3186
  value: r.getNumberFormat(t, g).format(d)
3189
3187
  });
3190
3188
  continue;
3191
3189
  }
3192
- if (Ct(l)) {
3193
- var v = l.children, _ = l.value, T = i[_];
3194
- if (!yn(T))
3195
- throw new bn(_, "function", a);
3196
- var H = ye(v, t, r, n, i, o), L = T(H.map(function(O) {
3197
- return O.value;
3190
+ if (Pt(l)) {
3191
+ var y = l.children, _ = l.value, T = i[_];
3192
+ if (!vn(T))
3193
+ throw new pn(_, "function", a);
3194
+ var H = ve(y, t, r, n, i, o), L = T(H.map(function(N) {
3195
+ return N.value;
3198
3196
  }));
3199
- Array.isArray(L) || (L = [L]), s.push.apply(s, L.map(function(O) {
3197
+ Array.isArray(L) || (L = [L]), s.push.apply(s, L.map(function(N) {
3200
3198
  return {
3201
- type: typeof O == "string" ? I.literal : I.object,
3202
- value: O
3199
+ type: typeof N == "string" ? I.literal : I.object,
3200
+ value: N
3203
3201
  };
3204
3202
  }));
3205
3203
  }
3206
- if (wt(l)) {
3207
- var B = l.options[d] || l.options.other;
3208
- if (!B)
3209
- throw new ut(l.value, d, Object.keys(l.options), a);
3210
- s.push.apply(s, ye(B.value, t, r, n, i));
3204
+ if (At(l)) {
3205
+ var A = l.options[d] || l.options.other;
3206
+ if (!A)
3207
+ throw new at(l.value, d, Object.keys(l.options), a);
3208
+ s.push.apply(s, ve(A.value, t, r, n, i));
3211
3209
  continue;
3212
3210
  }
3213
- if (Pt(l)) {
3214
- var B = l.options["=".concat(d)];
3215
- if (!B) {
3211
+ if (wt(l)) {
3212
+ var A = l.options["=".concat(d)];
3213
+ if (!A) {
3216
3214
  if (!Intl.PluralRules)
3217
- throw new Ae(`Intl.PluralRules is not available in this environment.
3215
+ throw new Te(`Intl.PluralRules is not available in this environment.
3218
3216
  Try polyfilling it using "@formatjs/intl-pluralrules"
3219
- `, re.MISSING_INTL_API, a);
3220
- var x = r.getPluralRules(t, { type: l.pluralType }).select(d - (l.offset || 0));
3221
- B = l.options[x] || l.options.other;
3217
+ `, te.MISSING_INTL_API, a);
3218
+ var S = r.getPluralRules(t, { type: l.pluralType }).select(d - (l.offset || 0));
3219
+ A = l.options[S] || l.options.other;
3222
3220
  }
3223
- if (!B)
3224
- throw new ut(l.value, d, Object.keys(l.options), a);
3225
- s.push.apply(s, ye(B.value, t, r, n, i, d - (l.offset || 0)));
3221
+ if (!A)
3222
+ throw new at(l.value, d, Object.keys(l.options), a);
3223
+ s.push.apply(s, ve(A.value, t, r, n, i, d - (l.offset || 0)));
3226
3224
  continue;
3227
3225
  }
3228
3226
  }
3229
- return vn(s);
3227
+ return gn(s);
3230
3228
  }
3231
- function En(e, t) {
3232
- return t ? F(F(F({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3233
- return r[n] = F(F({}, e[n]), t[n] || {}), r;
3229
+ function yn(e, t) {
3230
+ return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3231
+ return r[n] = v(v({}, e[n]), t[n] || {}), r;
3234
3232
  }, {})) : e;
3235
3233
  }
3236
- function _n(e, t) {
3234
+ function En(e, t) {
3237
3235
  return t ? Object.keys(e).reduce(function(r, n) {
3238
- return r[n] = En(e[n], t[n]), r;
3239
- }, F({}, e)) : e;
3236
+ return r[n] = yn(e[n], t[n]), r;
3237
+ }, v({}, e)) : e;
3240
3238
  }
3241
- function Me(e) {
3239
+ function Ne(e) {
3242
3240
  return {
3243
3241
  create: function() {
3244
3242
  return {
@@ -3258,33 +3256,33 @@ function xn(e) {
3258
3256
  dateTime: {},
3259
3257
  pluralRules: {}
3260
3258
  }), {
3261
- getNumberFormat: Ie(function() {
3259
+ getNumberFormat: Pe(function() {
3262
3260
  for (var t, r = [], n = 0; n < arguments.length; n++)
3263
3261
  r[n] = arguments[n];
3264
- return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3262
+ return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
3265
3263
  }, {
3266
- cache: Me(e.number),
3267
- strategy: Oe.variadic
3264
+ cache: Ne(e.number),
3265
+ strategy: Ce.variadic
3268
3266
  }),
3269
- getDateTimeFormat: Ie(function() {
3267
+ getDateTimeFormat: Pe(function() {
3270
3268
  for (var t, r = [], n = 0; n < arguments.length; n++)
3271
3269
  r[n] = arguments[n];
3272
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3270
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
3273
3271
  }, {
3274
- cache: Me(e.dateTime),
3275
- strategy: Oe.variadic
3272
+ cache: Ne(e.dateTime),
3273
+ strategy: Ce.variadic
3276
3274
  }),
3277
- getPluralRules: Ie(function() {
3275
+ getPluralRules: Pe(function() {
3278
3276
  for (var t, r = [], n = 0; n < arguments.length; n++)
3279
3277
  r[n] = arguments[n];
3280
- return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3278
+ return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
3281
3279
  }, {
3282
- cache: Me(e.pluralRules),
3283
- strategy: Oe.variadic
3280
+ cache: Ne(e.pluralRules),
3281
+ strategy: Ce.variadic
3284
3282
  })
3285
3283
  };
3286
3284
  }
3287
- var Sn = (
3285
+ var _n = (
3288
3286
  /** @class */
3289
3287
  function() {
3290
3288
  function e(t, r, n, i) {
@@ -3303,7 +3301,7 @@ var Sn = (
3303
3301
  }, []);
3304
3302
  return l.length <= 1 ? l[0] || "" : l;
3305
3303
  }, this.formatToParts = function(h) {
3306
- return ye(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3304
+ return ve(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3307
3305
  }, this.resolvedOptions = function() {
3308
3306
  var h;
3309
3307
  return {
@@ -3316,13 +3314,13 @@ var Sn = (
3316
3314
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3317
3315
  var a = i || {};
3318
3316
  a.formatters;
3319
- var s = Ir(a, ["formatters"]);
3320
- this.ast = e.__parse(t, F(F({}, s), { locale: this.resolvedLocale }));
3317
+ var s = Cr(a, ["formatters"]);
3318
+ this.ast = e.__parse(t, v(v({}, s), { locale: this.resolvedLocale }));
3321
3319
  } else
3322
3320
  this.ast = t;
3323
3321
  if (!Array.isArray(this.ast))
3324
3322
  throw new TypeError("A message must be provided as a String or AST.");
3325
- this.formats = _n(e.formats, n), this.formatters = i && i.formatters || xn(this.formatterCache);
3323
+ this.formats = En(e.formats, n), this.formatters = i && i.formatters || xn(this.formatterCache);
3326
3324
  }
3327
3325
  return Object.defineProperty(e, "defaultLocale", {
3328
3326
  get: function() {
@@ -3335,7 +3333,7 @@ var Sn = (
3335
3333
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3336
3334
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3337
3335
  }
3338
- }, e.__parse = pn, e.formats = {
3336
+ }, e.__parse = mn, e.formats = {
3339
3337
  number: {
3340
3338
  integer: {
3341
3339
  maximumFractionDigits: 0
@@ -3396,7 +3394,7 @@ var Sn = (
3396
3394
  }, e;
3397
3395
  }()
3398
3396
  );
3399
- function Tn(e, t) {
3397
+ function Sn(e, t) {
3400
3398
  if (t == null)
3401
3399
  return;
3402
3400
  if (t in e)
@@ -3417,92 +3415,92 @@ function Tn(e, t) {
3417
3415
  n = void 0;
3418
3416
  return n;
3419
3417
  }
3420
- const k = {}, Hn = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), Dt = (e, t) => {
3418
+ const G = {}, Tn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Ut = (e, t) => {
3421
3419
  if (t == null)
3422
3420
  return;
3423
- if (t in k && e in k[t])
3424
- return k[t][e];
3425
- const r = Be(t);
3421
+ if (t in G && e in G[t])
3422
+ return G[t][e];
3423
+ const r = He(t);
3426
3424
  for (let n = 0; n < r.length; n++) {
3427
3425
  const i = r[n], o = Bn(i, e);
3428
3426
  if (o)
3429
- return Hn(e, t, o);
3427
+ return Tn(e, t, o);
3430
3428
  }
3431
3429
  };
3432
- let Je;
3433
- const se = Te({});
3434
- function An(e) {
3435
- return Je[e] || null;
3430
+ let Ze;
3431
+ const oe = _e({});
3432
+ function Hn(e) {
3433
+ return Ze[e] || null;
3436
3434
  }
3437
- function Ft(e) {
3438
- return e in Je;
3435
+ function Dt(e) {
3436
+ return e in Ze;
3439
3437
  }
3440
3438
  function Bn(e, t) {
3441
- if (!Ft(e))
3439
+ if (!Dt(e))
3442
3440
  return null;
3443
- const r = An(e);
3444
- return Tn(r, t);
3441
+ const r = Hn(e);
3442
+ return Sn(r, t);
3445
3443
  }
3446
- function wn(e) {
3444
+ function An(e) {
3447
3445
  if (e == null)
3448
3446
  return;
3449
- const t = Be(e);
3447
+ const t = He(e);
3450
3448
  for (let r = 0; r < t.length; r++) {
3451
3449
  const n = t[r];
3452
- if (Ft(n))
3450
+ if (Dt(n))
3453
3451
  return n;
3454
3452
  }
3455
3453
  }
3456
- function Gt(e, ...t) {
3457
- delete k[e], se.update((r) => (r[e] = Cr.all([r[e] || {}, ...t]), r));
3454
+ function Ft(e, ...t) {
3455
+ delete G[e], oe.update((r) => (r[e] = Pr.all([r[e] || {}, ...t]), r));
3458
3456
  }
3459
- oe(
3460
- [se],
3457
+ ie(
3458
+ [oe],
3461
3459
  ([e]) => Object.keys(e)
3462
3460
  );
3463
- se.subscribe((e) => Je = e);
3464
- const Ee = {};
3465
- function Pn(e, t) {
3466
- Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3461
+ oe.subscribe((e) => Ze = e);
3462
+ const ye = {};
3463
+ function wn(e, t) {
3464
+ ye[e].delete(t), ye[e].size === 0 && delete ye[e];
3467
3465
  }
3468
- function kt(e) {
3469
- return Ee[e];
3466
+ function Gt(e) {
3467
+ return ye[e];
3470
3468
  }
3471
- function Cn(e) {
3472
- return Be(e).map((t) => {
3473
- const r = kt(t);
3469
+ function Pn(e) {
3470
+ return He(e).map((t) => {
3471
+ const r = Gt(t);
3474
3472
  return [t, r ? [...r] : []];
3475
3473
  }).filter(([, t]) => t.length > 0);
3476
3474
  }
3477
- function ze(e) {
3478
- return e == null ? !1 : Be(e).some(
3475
+ function Ve(e) {
3476
+ return e == null ? !1 : He(e).some(
3479
3477
  (t) => {
3480
3478
  var r;
3481
- return (r = kt(t)) == null ? void 0 : r.size;
3479
+ return (r = Gt(t)) == null ? void 0 : r.size;
3482
3480
  }
3483
3481
  );
3484
3482
  }
3485
- function In(e, t) {
3483
+ function Cn(e, t) {
3486
3484
  return Promise.all(
3487
- t.map((n) => (Pn(e, n), n().then((i) => i.default || i)))
3488
- ).then((n) => Gt(e, ...n));
3489
- }
3490
- const ce = {};
3491
- function jt(e) {
3492
- if (!ze(e))
3493
- return e in ce ? ce[e] : Promise.resolve();
3494
- const t = Cn(e);
3495
- return ce[e] = Promise.all(
3485
+ t.map((n) => (wn(e, n), n().then((i) => i.default || i)))
3486
+ ).then((n) => Ft(e, ...n));
3487
+ }
3488
+ const he = {};
3489
+ function kt(e) {
3490
+ if (!Ve(e))
3491
+ return e in he ? he[e] : Promise.resolve();
3492
+ const t = Pn(e);
3493
+ return he[e] = Promise.all(
3496
3494
  t.map(
3497
- ([r, n]) => In(r, n)
3495
+ ([r, n]) => Cn(r, n)
3498
3496
  )
3499
3497
  ).then(() => {
3500
- if (ze(e))
3501
- return jt(e);
3502
- delete ce[e];
3503
- }), ce[e];
3498
+ if (Ve(e))
3499
+ return kt(e);
3500
+ delete he[e];
3501
+ }), he[e];
3504
3502
  }
3505
- const On = {
3503
+ const In = {
3506
3504
  number: {
3507
3505
  scientific: { notation: "scientific" },
3508
3506
  engineering: { notation: "engineering" },
@@ -3534,147 +3532,147 @@ const On = {
3534
3532
  }, Nn = {
3535
3533
  fallbackLocale: null,
3536
3534
  loadingDelay: 200,
3537
- formats: On,
3535
+ formats: In,
3538
3536
  warnOnMissingMessages: !0,
3539
3537
  handleMissingMessage: void 0,
3540
3538
  ignoreTag: !0
3541
- }, Mn = Nn;
3542
- function ne() {
3543
- return Mn;
3544
- }
3545
- const Le = Te(!1);
3546
- var Ln = Object.defineProperty, Rn = Object.defineProperties, $n = Object.getOwnPropertyDescriptors, lt = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fn = (e, t) => {
3547
- for (var r in t || (t = {}))
3548
- Un.call(t, r) && ht(e, r, t[r]);
3549
- if (lt)
3550
- for (var r of lt(t))
3551
- Dn.call(t, r) && ht(e, r, t[r]);
3539
+ }, On = Nn;
3540
+ function re() {
3541
+ return On;
3542
+ }
3543
+ const Oe = _e(!1);
3544
+ var Mn = Object.defineProperty, Ln = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
3545
+ for (var r in t)
3546
+ $n.call(t, r) && lt(e, r, t[r]);
3547
+ if (ut)
3548
+ for (var r of ut(t))
3549
+ Un.call(t, r) && lt(e, r, t[r]);
3552
3550
  return e;
3553
- }, Gn = (e, t) => Rn(e, $n(t));
3554
- let We;
3555
- const xe = Te(null);
3556
- function ct(e) {
3551
+ }, Fn = (e, t) => Ln(e, Rn(t));
3552
+ let Xe;
3553
+ const Ee = _e(null);
3554
+ function ht(e) {
3557
3555
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3558
3556
  }
3559
- function Be(e, t = ne().fallbackLocale) {
3560
- const r = ct(e);
3561
- return t ? [.../* @__PURE__ */ new Set([...r, ...ct(t)])] : r;
3557
+ function He(e, t = re().fallbackLocale) {
3558
+ const r = ht(e);
3559
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3562
3560
  }
3563
- function J() {
3564
- return We ?? void 0;
3561
+ function Z() {
3562
+ return Xe ?? void 0;
3565
3563
  }
3566
- xe.subscribe((e) => {
3567
- We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3564
+ Ee.subscribe((e) => {
3565
+ Xe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3568
3566
  });
3569
- const kn = (e) => {
3570
- if (e && wn(e) && ze(e)) {
3571
- const { loadingDelay: t } = ne();
3567
+ const Gn = (e) => {
3568
+ if (e && An(e) && Ve(e)) {
3569
+ const { loadingDelay: t } = re();
3572
3570
  let r;
3573
- return typeof window < "u" && J() != null && t ? r = window.setTimeout(
3574
- () => Le.set(!0),
3571
+ return typeof window < "u" && Z() != null && t ? r = window.setTimeout(
3572
+ () => Oe.set(!0),
3575
3573
  t
3576
- ) : Le.set(!0), jt(e).then(() => {
3577
- xe.set(e);
3574
+ ) : Oe.set(!0), kt(e).then(() => {
3575
+ Ee.set(e);
3578
3576
  }).finally(() => {
3579
- clearTimeout(r), Le.set(!1);
3577
+ clearTimeout(r), Oe.set(!1);
3580
3578
  });
3581
3579
  }
3582
- return xe.set(e);
3583
- }, W = Gn(Fn({}, xe), {
3584
- set: kn
3585
- }), we = (e) => {
3580
+ return Ee.set(e);
3581
+ }, z = Fn(Dn({}, Ee), {
3582
+ set: Gn
3583
+ }), Be = (e) => {
3586
3584
  const t = /* @__PURE__ */ Object.create(null);
3587
3585
  return (n) => {
3588
3586
  const i = JSON.stringify(n);
3589
3587
  return i in t ? t[i] : t[i] = e(n);
3590
3588
  };
3591
3589
  };
3592
- var jn = Object.defineProperty, Se = Object.getOwnPropertySymbols, Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3590
+ var kn = Object.defineProperty, xe = Object.getOwnPropertySymbols, jt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3593
3591
  for (var r in t || (t = {}))
3594
- Vt.call(t, r) && ft(e, r, t[r]);
3595
- if (Se)
3596
- for (var r of Se(t))
3597
- Xt.call(t, r) && ft(e, r, t[r]);
3592
+ jt.call(t, r) && ct(e, r, t[r]);
3593
+ if (xe)
3594
+ for (var r of xe(t))
3595
+ Vt.call(t, r) && ct(e, r, t[r]);
3598
3596
  return e;
3599
- }, ae = (e, t) => {
3597
+ }, se = (e, t) => {
3600
3598
  var r = {};
3601
3599
  for (var n in e)
3602
- Vt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3603
- if (e != null && Se)
3604
- for (var n of Se(e))
3605
- t.indexOf(n) < 0 && Xt.call(e, n) && (r[n] = e[n]);
3600
+ jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3601
+ if (e != null && xe)
3602
+ for (var n of xe(e))
3603
+ t.indexOf(n) < 0 && Vt.call(e, n) && (r[n] = e[n]);
3606
3604
  return r;
3607
3605
  };
3608
- const pe = (e, t) => {
3609
- const { formats: r } = ne();
3606
+ const me = (e, t) => {
3607
+ const { formats: r } = re();
3610
3608
  if (e in r && t in r[e])
3611
3609
  return r[e][t];
3612
3610
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3613
- }, Vn = we(
3611
+ }, jn = Be(
3614
3612
  (e) => {
3615
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3613
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3616
3614
  if (r == null)
3617
3615
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3618
- return n && (i = pe("number", n)), new Intl.NumberFormat(r, i);
3616
+ return n && (i = me("number", n)), new Intl.NumberFormat(r, i);
3619
3617
  }
3620
- ), Xn = we(
3618
+ ), Vn = Be(
3621
3619
  (e) => {
3622
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3620
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3623
3621
  if (r == null)
3624
3622
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3625
- return n ? i = pe("date", n) : Object.keys(i).length === 0 && (i = pe("date", "short")), new Intl.DateTimeFormat(r, i);
3623
+ return n ? i = me("date", n) : Object.keys(i).length === 0 && (i = me("date", "short")), new Intl.DateTimeFormat(r, i);
3626
3624
  }
3627
- ), zn = we(
3625
+ ), Xn = Be(
3628
3626
  (e) => {
3629
- var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
3627
+ var t = e, { locale: r, format: n } = t, i = se(t, ["locale", "format"]);
3630
3628
  if (r == null)
3631
3629
  throw new Error(
3632
3630
  '[svelte-i18n] A "locale" must be set to format time values'
3633
3631
  );
3634
- return n ? i = pe("time", n) : Object.keys(i).length === 0 && (i = pe("time", "short")), new Intl.DateTimeFormat(r, i);
3632
+ return n ? i = me("time", n) : Object.keys(i).length === 0 && (i = me("time", "short")), new Intl.DateTimeFormat(r, i);
3635
3633
  }
3636
- ), Wn = (e = {}) => {
3634
+ ), zn = (e = {}) => {
3637
3635
  var t = e, {
3638
- locale: r = J()
3639
- } = t, n = ae(t, [
3636
+ locale: r = Z()
3637
+ } = t, n = se(t, [
3640
3638
  "locale"
3641
3639
  ]);
3642
- return Vn(Qe({ locale: r }, n));
3643
- }, Zn = (e = {}) => {
3640
+ return jn(Je({ locale: r }, n));
3641
+ }, Wn = (e = {}) => {
3644
3642
  var t = e, {
3645
- locale: r = J()
3646
- } = t, n = ae(t, [
3643
+ locale: r = Z()
3644
+ } = t, n = se(t, [
3647
3645
  "locale"
3648
3646
  ]);
3649
- return Xn(Qe({ locale: r }, n));
3650
- }, Jn = (e = {}) => {
3647
+ return Vn(Je({ locale: r }, n));
3648
+ }, Zn = (e = {}) => {
3651
3649
  var t = e, {
3652
- locale: r = J()
3653
- } = t, n = ae(t, [
3650
+ locale: r = Z()
3651
+ } = t, n = se(t, [
3654
3652
  "locale"
3655
3653
  ]);
3656
- return zn(Qe({ locale: r }, n));
3657
- }, Qn = we(
3654
+ return Xn(Je({ locale: r }, n));
3655
+ }, Jn = Be(
3658
3656
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3659
- (e, t = J()) => new Sn(e, t, ne().formats, {
3660
- ignoreTag: ne().ignoreTag
3657
+ (e, t = Z()) => new _n(e, t, re().formats, {
3658
+ ignoreTag: re().ignoreTag
3661
3659
  })
3662
- ), qn = (e, t = {}) => {
3660
+ ), Qn = (e, t = {}) => {
3663
3661
  var r, n, i, o;
3664
3662
  let a = t;
3665
3663
  typeof e == "object" && (a = e, e = a.id);
3666
3664
  const {
3667
3665
  values: s,
3668
- locale: h = J(),
3666
+ locale: h = Z(),
3669
3667
  default: u
3670
3668
  } = a;
3671
3669
  if (h == null)
3672
3670
  throw new Error(
3673
3671
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3674
3672
  );
3675
- let l = Dt(e, h);
3673
+ let l = Ut(e, h);
3676
3674
  if (!l)
3677
- l = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3675
+ l = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3678
3676
  else if (typeof l != "string")
3679
3677
  return console.warn(
3680
3678
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3683,7 +3681,7 @@ const pe = (e, t) => {
3683
3681
  return l;
3684
3682
  let c = l;
3685
3683
  try {
3686
- c = Qn(l, h).format(s);
3684
+ c = Jn(l, h).format(s);
3687
3685
  } catch (d) {
3688
3686
  d instanceof Error && console.warn(
3689
3687
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3691,20 +3689,20 @@ const pe = (e, t) => {
3691
3689
  );
3692
3690
  }
3693
3691
  return c;
3694
- }, Yn = (e, t) => Jn(t).format(e), Kn = (e, t) => Zn(t).format(e), ei = (e, t) => Wn(t).format(e), ti = (e, t = J()) => Dt(e, t), ri = oe([W, se], () => qn);
3695
- oe([W], () => Yn);
3696
- oe([W], () => Kn);
3697
- oe([W], () => ei);
3698
- oe([W, se], () => ti);
3699
- function ni({ withLocale: e, translations: t }) {
3700
- W.subscribe((r) => {
3701
- r == null && (se.set(t), W.set(e));
3692
+ }, qn = (e, t) => Zn(t).format(e), Yn = (e, t) => Wn(t).format(e), Kn = (e, t) => zn(t).format(e), ei = (e, t = Z()) => Ut(e, t), ti = ie([z, oe], () => Qn);
3693
+ ie([z], () => qn);
3694
+ ie([z], () => Yn);
3695
+ ie([z], () => Kn);
3696
+ ie([z, oe], () => ei);
3697
+ function ri({ withLocale: e, translations: t }) {
3698
+ z.subscribe((r) => {
3699
+ r == null && (oe.set(t), z.set(e));
3702
3700
  });
3703
3701
  }
3704
- function dt(e, t) {
3705
- Gt(e, t);
3702
+ function ft(e, t) {
3703
+ Ft(e, t);
3706
3704
  }
3707
- const mt = {
3705
+ const dt = {
3708
3706
  en: {
3709
3707
  title: "Please enter the verification code you received on your number",
3710
3708
  errorTitle: "Your code was invalid, you can resend the code and try again",
@@ -3811,13 +3809,13 @@ const mt = {
3811
3809
  loginSMSHint: "A new verification code has been sent to your phone number"
3812
3810
  }
3813
3811
  };
3814
- function ii(e, t) {
3812
+ function ni(e, t) {
3815
3813
  if (e) {
3816
3814
  const r = document.createElement("style");
3817
3815
  r.innerHTML = t, e.appendChild(r);
3818
3816
  }
3819
3817
  }
3820
- function oi(e, t) {
3818
+ function ii(e, t) {
3821
3819
  const r = new URL(t);
3822
3820
  fetch(r.href).then((n) => n.text()).then((n) => {
3823
3821
  const i = document.createElement("style");
@@ -3826,7 +3824,7 @@ function oi(e, t) {
3826
3824
  console.error("There was an error while trying to load client styling from URL", n);
3827
3825
  });
3828
3826
  }
3829
- function si(e, t, r) {
3827
+ function oi(e, t, r) {
3830
3828
  if (window.emMessageBus) {
3831
3829
  const n = document.createElement("style");
3832
3830
  window.emMessageBus.subscribe(t, (i) => {
@@ -3834,10 +3832,10 @@ function si(e, t, r) {
3834
3832
  });
3835
3833
  }
3836
3834
  }
3837
- function ai(e) {
3838
- Zt(e, "svelte-c25n4u", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input,.Field select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.Field.Hidden{display:none}.LoginSMSHint{margin-top:20px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.Button{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A))}");
3835
+ function si(e) {
3836
+ Wt(e, "svelte-c25n4u", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.Title{font-size:14px;margin:0;padding-bottom:20px}.Field{color:var(--emw--registration-contrast, var(--emw--color-gray-300, #58586B));display:flex;flex-direction:column;padding-bottom:30px;position:relative}.Field label{font-size:14px;font-weight:300;padding-bottom:5px}.Field input,.Field select{width:100%;height:44px;border:1px solid var(--emw--color-gray-100, #E6E6E6);border-radius:5px;box-sizing:border-box;padding:5px 15px;font-size:16px;line-height:18px}.Field.InvalidField input{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));background:var(--emw--color-pale, #FBECF4);color:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E))}.Field.Hidden{display:none}.LoginSMSHint{margin-top:20px}.InvalidInput{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:10px;line-height:10px}.ErrorMessage{margin:0 0 15px 0;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.Button{color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22B04E));border-radius:5px;width:100%;height:60px;padding:0;text-transform:uppercase;font-size:18px;cursor:pointer;margin-top:24px}.Button[disabled]{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-100, #E6E6E6);cursor:not-allowed}.Button.SmsVerificationResend{background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #F9F8F8));color:var(--emw--registration-typography, var(--emw--color-contrast, #07072A))}");
3839
3837
  }
3840
- function ui(e) {
3838
+ function ai(e) {
3841
3839
  let t = (
3842
3840
  /*$_*/
3843
3841
  e[5]("errorTitle") + ""
@@ -3847,19 +3845,19 @@ function ui(e) {
3847
3845
  r = M(t);
3848
3846
  },
3849
3847
  m(n, i) {
3850
- Z(n, r, i);
3848
+ W(n, r, i);
3851
3849
  },
3852
3850
  p(n, i) {
3853
3851
  i & /*$_*/
3854
3852
  32 && t !== (t = /*$_*/
3855
- n[5]("errorTitle") + "") && G(r, t);
3853
+ n[5]("errorTitle") + "") && F(r, t);
3856
3854
  },
3857
3855
  d(n) {
3858
- n && j(r);
3856
+ n && k(r);
3859
3857
  }
3860
3858
  };
3861
3859
  }
3862
- function li(e) {
3860
+ function ui(e) {
3863
3861
  let t = (
3864
3862
  /*$_*/
3865
3863
  e[5]("title") + ""
@@ -3869,203 +3867,203 @@ function li(e) {
3869
3867
  r = M(t);
3870
3868
  },
3871
3869
  m(n, i) {
3872
- Z(n, r, i);
3870
+ W(n, r, i);
3873
3871
  },
3874
3872
  p(n, i) {
3875
3873
  i & /*$_*/
3876
3874
  32 && t !== (t = /*$_*/
3877
- n[5]("title") + "") && G(r, t);
3875
+ n[5]("title") + "") && F(r, t);
3878
3876
  },
3879
3877
  d(n) {
3880
- n && j(r);
3878
+ n && k(r);
3881
3879
  }
3882
3880
  };
3883
3881
  }
3884
- function pt(e) {
3882
+ function mt(e) {
3885
3883
  let t, r = (
3886
3884
  /*$_*/
3887
3885
  e[5]("smsCodeError") + ""
3888
3886
  ), n;
3889
3887
  return {
3890
3888
  c() {
3891
- t = N("p"), n = M(r), A(t, "class", "InvalidInput");
3889
+ t = O("p"), n = M(r), B(t, "class", "InvalidInput");
3892
3890
  },
3893
3891
  m(i, o) {
3894
- Z(i, t, o), y(t, n);
3892
+ W(i, t, o), E(t, n);
3895
3893
  },
3896
3894
  p(i, o) {
3897
3895
  o & /*$_*/
3898
3896
  32 && r !== (r = /*$_*/
3899
- i[5]("smsCodeError") + "") && G(n, r);
3897
+ i[5]("smsCodeError") + "") && F(n, r);
3900
3898
  },
3901
3899
  d(i) {
3902
- i && j(t);
3900
+ i && k(t);
3903
3901
  }
3904
3902
  };
3905
3903
  }
3906
- function bt(e) {
3904
+ function pt(e) {
3907
3905
  let t, r = (
3908
3906
  /*$_*/
3909
3907
  e[5]("resendMessage") + ""
3910
3908
  ), n;
3911
3909
  return {
3912
3910
  c() {
3913
- t = N("p"), n = M(r), A(t, "class", "SmsVerificationResendMessage");
3911
+ t = O("p"), n = M(r), B(t, "class", "SmsVerificationResendMessage");
3914
3912
  },
3915
3913
  m(i, o) {
3916
- Z(i, t, o), y(t, n);
3914
+ W(i, t, o), E(t, n);
3917
3915
  },
3918
3916
  p(i, o) {
3919
3917
  o & /*$_*/
3920
3918
  32 && r !== (r = /*$_*/
3921
- i[5]("resendMessage") + "") && G(n, r);
3919
+ i[5]("resendMessage") + "") && F(n, r);
3922
3920
  },
3923
3921
  d(i) {
3924
- i && j(t);
3922
+ i && k(t);
3925
3923
  }
3926
3924
  };
3927
3925
  }
3928
- function gt(e) {
3926
+ function bt(e) {
3929
3927
  let t, r, n = (
3930
3928
  /*secondsLeft*/
3931
3929
  e[4] < 10 ? "0" : ""
3932
3930
  ), i, o, a;
3933
3931
  return {
3934
3932
  c() {
3935
- t = N("span"), r = M("(0:"), i = M(n), o = M(
3933
+ t = O("span"), r = M("(0:"), i = M(n), o = M(
3936
3934
  /*secondsLeft*/
3937
3935
  e[4]
3938
- ), a = M(")"), A(t, "class", "SmsVerificationResendTimer");
3936
+ ), a = M(")"), B(t, "class", "SmsVerificationResendTimer");
3939
3937
  },
3940
3938
  m(s, h) {
3941
- Z(s, t, h), y(t, r), y(t, i), y(t, o), y(t, a);
3939
+ W(s, t, h), E(t, r), E(t, i), E(t, o), E(t, a);
3942
3940
  },
3943
3941
  p(s, h) {
3944
3942
  h & /*secondsLeft*/
3945
3943
  16 && n !== (n = /*secondsLeft*/
3946
- s[4] < 10 ? "0" : "") && G(i, n), h & /*secondsLeft*/
3947
- 16 && G(
3944
+ s[4] < 10 ? "0" : "") && F(i, n), h & /*secondsLeft*/
3945
+ 16 && F(
3948
3946
  o,
3949
3947
  /*secondsLeft*/
3950
3948
  s[4]
3951
3949
  );
3952
3950
  },
3953
3951
  d(s) {
3954
- s && j(t);
3952
+ s && k(t);
3955
3953
  }
3956
3954
  };
3957
3955
  }
3958
- function hi(e) {
3956
+ function li(e) {
3959
3957
  let t, r, n, i, o, a = (
3960
3958
  /*$_*/
3961
3959
  e[5]("code") + ""
3962
- ), s, h, u, l, c, d, g, v, _, T, H = (
3960
+ ), s, h, u, l, c, d, g, y, _, T, H = (
3963
3961
  /*$_*/
3964
3962
  e[5]("activate") + ""
3965
- ), L, B, x, O = (
3963
+ ), L, A, S, N = (
3966
3964
  /*$_*/
3967
3965
  e[5]("resend") + ""
3968
- ), D, V, ue, le;
3969
- function he(p, C) {
3966
+ ), D, j, ae, ue;
3967
+ function le(p, C) {
3970
3968
  return (
3971
3969
  /*isSmsValid*/
3972
- p[2] ? li : ui
3970
+ p[2] ? ui : ai
3973
3971
  );
3974
3972
  }
3975
- let X = he(e), R = X(e), w = !/*isSmsValid*/
3976
- e[2] && pt(e), P = (
3973
+ let V = le(e), R = V(e), w = !/*isSmsValid*/
3974
+ e[2] && mt(e), P = (
3977
3975
  /*timer*/
3978
- e[3] && bt(e)
3976
+ e[3] && pt(e)
3979
3977
  ), f = (
3980
3978
  /*timer*/
3981
- e[3] && gt(e)
3979
+ e[3] && bt(e)
3982
3980
  );
3983
3981
  return {
3984
3982
  c() {
3985
- t = N("div"), r = N("h3"), R.c(), n = z(), i = N("div"), o = N("label"), s = M(a), h = M(":"), u = N("span"), u.textContent = "*", l = z(), c = N("input"), d = z(), w && w.c(), v = z(), P && P.c(), _ = z(), T = N("button"), L = M(H), B = z(), x = N("button"), D = M(O), V = z(), f && f.c(), A(r, "class", "Title"), A(u, "class", "FormRequired"), A(o, "for", "SmsCode"), A(c, "type", "text"), A(c, "id", "SmsCode"), A(c, "inputmode", "numeric"), A(c, "pattern", "[0-9]*"), A(c, "maxlength", "6"), A(i, "class", g = "Field SmsVerificationField " + (/*isSmsValid*/
3986
- e[2] ? "" : "InvalidField")), A(T, "class", "Button SmsVerificationValidate"), A(x, "class", "Button SmsVerificationResend"), x.disabled = /*timer*/
3987
- e[3], A(t, "class", "Container SmsVerificationContainer");
3983
+ t = O("div"), r = O("h3"), R.c(), n = X(), i = O("div"), o = O("label"), s = M(a), h = M(":"), u = O("span"), u.textContent = "*", l = X(), c = O("input"), d = X(), w && w.c(), y = X(), P && P.c(), _ = X(), T = O("button"), L = M(H), A = X(), S = O("button"), D = M(N), j = X(), f && f.c(), B(r, "class", "Title"), B(u, "class", "FormRequired"), B(o, "for", "SmsCode"), B(c, "type", "text"), B(c, "id", "SmsCode"), B(c, "inputmode", "numeric"), B(c, "pattern", "[0-9]*"), B(c, "maxlength", "6"), B(i, "class", g = "Field SmsVerificationField " + (/*isSmsValid*/
3984
+ e[2] ? "" : "InvalidField")), B(T, "class", "Button SmsVerificationValidate"), B(S, "class", "Button SmsVerificationResend"), S.disabled = /*timer*/
3985
+ e[3], B(t, "class", "Container SmsVerificationContainer");
3988
3986
  },
3989
3987
  m(p, C) {
3990
- Z(p, t, C), y(t, r), R.m(r, null), y(t, n), y(t, i), y(i, o), y(o, s), y(o, h), y(o, u), y(i, l), y(i, c), Ye(
3988
+ W(p, t, C), E(t, r), R.m(r, null), E(t, n), E(t, i), E(i, o), E(o, s), E(o, h), E(o, u), E(i, l), E(i, c), qe(
3991
3989
  c,
3992
3990
  /*smsCode*/
3993
3991
  e[1]
3994
- ), y(i, d), w && w.m(i, null), y(t, v), P && P.m(t, null), y(t, _), y(t, T), y(T, L), y(t, B), y(t, x), y(x, D), y(x, V), f && f.m(x, null), e[20](t), ue || (le = [
3995
- be(
3992
+ ), E(i, d), w && w.m(i, null), E(t, y), P && P.m(t, null), E(t, _), E(t, T), E(T, L), E(t, A), E(t, S), E(S, D), E(S, j), f && f.m(S, null), e[20](t), ae || (ue = [
3993
+ pe(
3996
3994
  c,
3997
3995
  "input",
3998
3996
  /*input_input_handler*/
3999
3997
  e[18]
4000
3998
  ),
4001
- be(
3999
+ pe(
4002
4000
  c,
4003
4001
  "keydown",
4004
4002
  /*keydown_handler*/
4005
4003
  e[19]
4006
4004
  ),
4007
- be(
4005
+ pe(
4008
4006
  T,
4009
4007
  "click",
4010
4008
  /*activateUser*/
4011
4009
  e[6]
4012
4010
  ),
4013
- be(
4014
- x,
4011
+ pe(
4012
+ S,
4015
4013
  "click",
4016
4014
  /*resendCode*/
4017
4015
  e[7]
4018
4016
  )
4019
- ], ue = !0);
4017
+ ], ae = !0);
4020
4018
  },
4021
4019
  p(p, [C]) {
4022
- X === (X = he(p)) && R ? R.p(p, C) : (R.d(1), R = X(p), R && (R.c(), R.m(r, null))), C & /*$_*/
4020
+ V === (V = le(p)) && R ? R.p(p, C) : (R.d(1), R = V(p), R && (R.c(), R.m(r, null))), C & /*$_*/
4023
4021
  32 && a !== (a = /*$_*/
4024
- p[5]("code") + "") && G(s, a), C & /*smsCode*/
4022
+ p[5]("code") + "") && F(s, a), C & /*smsCode*/
4025
4023
  2 && c.value !== /*smsCode*/
4026
- p[1] && Ye(
4024
+ p[1] && qe(
4027
4025
  c,
4028
4026
  /*smsCode*/
4029
4027
  p[1]
4030
4028
  ), /*isSmsValid*/
4031
- p[2] ? w && (w.d(1), w = null) : w ? w.p(p, C) : (w = pt(p), w.c(), w.m(i, null)), C & /*isSmsValid*/
4029
+ p[2] ? w && (w.d(1), w = null) : w ? w.p(p, C) : (w = mt(p), w.c(), w.m(i, null)), C & /*isSmsValid*/
4032
4030
  4 && g !== (g = "Field SmsVerificationField " + (/*isSmsValid*/
4033
- p[2] ? "" : "InvalidField")) && A(i, "class", g), /*timer*/
4034
- p[3] ? P ? P.p(p, C) : (P = bt(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), C & /*$_*/
4031
+ p[2] ? "" : "InvalidField")) && B(i, "class", g), /*timer*/
4032
+ p[3] ? P ? P.p(p, C) : (P = pt(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), C & /*$_*/
4035
4033
  32 && H !== (H = /*$_*/
4036
- p[5]("activate") + "") && G(L, H), C & /*$_*/
4037
- 32 && O !== (O = /*$_*/
4038
- p[5]("resend") + "") && G(D, O), /*timer*/
4039
- p[3] ? f ? f.p(p, C) : (f = gt(p), f.c(), f.m(x, null)) : f && (f.d(1), f = null), C & /*timer*/
4040
- 8 && (x.disabled = /*timer*/
4034
+ p[5]("activate") + "") && F(L, H), C & /*$_*/
4035
+ 32 && N !== (N = /*$_*/
4036
+ p[5]("resend") + "") && F(D, N), /*timer*/
4037
+ p[3] ? f ? f.p(p, C) : (f = bt(p), f.c(), f.m(S, null)) : f && (f.d(1), f = null), C & /*timer*/
4038
+ 8 && (S.disabled = /*timer*/
4041
4039
  p[3]);
4042
4040
  },
4043
4041
  i: U,
4044
4042
  o: U,
4045
4043
  d(p) {
4046
- p && j(t), R.d(), w && w.d(), P && P.d(), f && f.d(), e[20](null), ue = !1, ie(le);
4044
+ p && k(t), R.d(), w && w.d(), P && P.d(), f && f.d(), e[20](null), ae = !1, ne(ue);
4047
4045
  }
4048
4046
  };
4049
4047
  }
4050
- function ci(e, t, r) {
4048
+ function hi(e, t, r) {
4051
4049
  let n;
4052
- Wt(e, ri, (f) => r(5, n = f));
4053
- let { endpoint: i = "" } = t, { tokenid: o = "" } = t, { playerid: a = "" } = t, { smstemplate: s = "Please use this code {0} to activate your accout" } = t, { number: h = "" } = t, { mbsource: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: d = "" } = t, g, v = !0, _ = !1, T, H, L = +localStorage.getItem("smsTimer") || 0, B = Date.now() / 1e3 - L, x = 60 - Math.floor(B);
4054
- const O = { numeric: /^[0-9]{0,6}$/ };
4055
- ni({ withLocale: "en", translations: {} });
4050
+ zt(e, ti, (f) => r(5, n = f));
4051
+ let { endpoint: i = "" } = t, { tokenid: o = "" } = t, { playerid: a = "" } = t, { smstemplate: s = "Please use this code {0} to activate your accout" } = t, { number: h = "" } = t, { mbsource: u } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: d = "" } = t, g, y = !0, _ = !1, T, H, L = +localStorage.getItem("smsTimer") || 0, A = Date.now() / 1e3 - L, S = 60 - Math.floor(A);
4052
+ const N = { numeric: /^[0-9]{0,6}$/ };
4053
+ ri({ withLocale: "en", translations: {} });
4056
4054
  const D = () => {
4057
4055
  fetch(d).then((p) => p.json()).then((p) => {
4058
4056
  Object.keys(p).forEach((C) => {
4059
- dt(C, p[C]);
4057
+ ft(C, p[C]);
4060
4058
  });
4061
4059
  }).catch((p) => {
4062
4060
  console.log(p);
4063
4061
  });
4064
4062
  };
4065
- Object.keys(mt).forEach((f) => {
4066
- dt(f, mt[f]);
4063
+ Object.keys(dt).forEach((f) => {
4064
+ ft(f, dt[f]);
4067
4065
  });
4068
- const V = async () => {
4066
+ const j = async () => {
4069
4067
  try {
4070
4068
  if ((await fetch(`${i}/v1/player/${a}/activateSMS?tokenId=${o}&validationCode=${g}`, {
4071
4069
  headers: {
@@ -4073,7 +4071,7 @@ function ci(e, t, r) {
4073
4071
  accept: "application/json"
4074
4072
  }
4075
4073
  })).ok)
4076
- r(2, v = !0), window.postMessage({ type: "SmsHasBeenValidated" }, window.location.href);
4074
+ r(2, y = !0), window.postMessage({ type: "SmsHasBeenValidated" }, window.location.href);
4077
4075
  else
4078
4076
  throw window.postMessage(
4079
4077
  {
@@ -4084,12 +4082,12 @@ function ci(e, t, r) {
4084
4082
  }
4085
4083
  },
4086
4084
  window.location.href
4087
- ), r(2, v = !1), new Error("Could not activate user");
4085
+ ), r(2, y = !1), new Error("Could not activate user");
4088
4086
  } catch (f) {
4089
4087
  console.log(f);
4090
4088
  }
4091
- }, ue = async () => {
4092
- localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3))), he();
4089
+ }, ae = async () => {
4090
+ localStorage.setItem("smsTimer", JSON.stringify(Math.floor(Date.now() / 1e3))), le();
4093
4091
  try {
4094
4092
  const f = await fetch(`${i}/v1/player/sms/token`, {
4095
4093
  method: "POST",
@@ -4104,38 +4102,38 @@ function ci(e, t, r) {
4104
4102
  })
4105
4103
  }), p = await f.json();
4106
4104
  if (f.ok)
4107
- r(9, o = p.id), _ = !1, le();
4105
+ r(9, o = p.id), _ = !1, ue();
4108
4106
  else
4109
4107
  throw _ = !0, new Error("Failed to fetch");
4110
4108
  } catch (f) {
4111
4109
  _ = !0, console.error(f);
4112
4110
  }
4111
+ }, ue = () => {
4112
+ S > 0 ? r(4, S--, S) : (clearInterval(T), r(3, T = !1), r(4, S = 60));
4113
4113
  }, le = () => {
4114
- x > 0 ? r(4, x--, x) : (clearInterval(T), r(3, T = !1), r(4, x = 60));
4115
- }, he = () => {
4116
- B < 60 && r(3, T = setInterval(
4114
+ A < 60 && r(3, T = setInterval(
4117
4115
  () => {
4118
- le();
4116
+ ue();
4119
4117
  },
4120
4118
  1e3
4121
4119
  ));
4122
- }, X = (f) => {
4123
- !O.numeric.test(f.key) && f.keyCode !== 8 && f.keyCode !== 9 && f.keyCode !== 46 && f.preventDefault();
4120
+ }, V = (f) => {
4121
+ !N.numeric.test(f.key) && f.keyCode !== 8 && f.keyCode !== 9 && f.keyCode !== 46 && f.preventDefault();
4124
4122
  };
4125
- er(() => {
4123
+ Kt(() => {
4126
4124
  if (!a || !h) {
4127
4125
  let f = JSON.parse(localStorage.getItem("playerData"));
4128
4126
  r(10, a = f.playerid), r(11, h = f.number);
4129
4127
  }
4130
- return he(), () => {
4128
+ return le(), () => {
4131
4129
  };
4132
4130
  });
4133
4131
  function R() {
4134
4132
  g = this.value, r(1, g);
4135
4133
  }
4136
- const w = (f) => X(f);
4134
+ const w = (f) => V(f);
4137
4135
  function P(f) {
4138
- Re[f ? "unshift" : "push"](() => {
4136
+ Me[f ? "unshift" : "push"](() => {
4139
4137
  H = f, r(0, H);
4140
4138
  });
4141
4139
  }
@@ -4144,20 +4142,20 @@ function ci(e, t, r) {
4144
4142
  }, e.$$.update = () => {
4145
4143
  e.$$.dirty & /*tokenid, playerid, endpoint*/
4146
4144
  5632, e.$$.dirty & /*clientstyling, customStylingContainer*/
4147
- 32769 && l && H && ii(H, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4148
- 65537 && c && H && oi(H, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4149
- 16385 && u && H && si(H, `${u}.Style`), e.$$.dirty & /*translationurl*/
4145
+ 32769 && l && H && ni(H, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4146
+ 65537 && c && H && ii(H, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4147
+ 16385 && u && H && oi(H, `${u}.Style`), e.$$.dirty & /*translationurl*/
4150
4148
  131072 && d && D();
4151
4149
  }, [
4152
4150
  H,
4153
4151
  g,
4154
- v,
4152
+ y,
4155
4153
  T,
4156
- x,
4154
+ S,
4157
4155
  n,
4156
+ j,
4157
+ ae,
4158
4158
  V,
4159
- ue,
4160
- X,
4161
4159
  o,
4162
4160
  a,
4163
4161
  h,
@@ -4172,14 +4170,14 @@ function ci(e, t, r) {
4172
4170
  P
4173
4171
  ];
4174
4172
  }
4175
- class fi extends fr {
4173
+ class ci extends cr {
4176
4174
  constructor(t) {
4177
- super(), hr(
4175
+ super(), lr(
4178
4176
  this,
4179
4177
  t,
4180
- ci,
4181
4178
  hi,
4182
- yt,
4179
+ li,
4180
+ vt,
4183
4181
  {
4184
4182
  endpoint: 12,
4185
4183
  tokenid: 9,
@@ -4191,7 +4189,7 @@ class fi extends fr {
4191
4189
  clientstylingurl: 16,
4192
4190
  translationurl: 17
4193
4191
  },
4194
- ai
4192
+ si
4195
4193
  );
4196
4194
  }
4197
4195
  get endpoint() {
@@ -4249,7 +4247,7 @@ class fi extends fr {
4249
4247
  this.$$set({ translationurl: t }), $();
4250
4248
  }
4251
4249
  }
4252
- cr(fi, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4250
+ hr(ci, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4253
4251
  export {
4254
- fi as G
4252
+ ci as G
4255
4253
  };