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

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,15 +1,15 @@
1
- var qt = Object.defineProperty, Yt = Object.defineProperties;
2
- var Kt = Object.getOwnPropertyDescriptors;
3
- var Ke = Object.getOwnPropertySymbols;
4
- var er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable;
5
- var Pe = (e, t, r) => t in e ? qt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, et = (e, t) => {
1
+ var Yt = Object.defineProperty, Kt = Object.defineProperties;
2
+ var er = Object.getOwnPropertyDescriptors;
3
+ var et = Object.getOwnPropertySymbols;
4
+ var tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable;
5
+ var Pe = (e, t, r) => t in e ? Yt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- er.call(t, r) && Pe(e, r, t[r]);
8
- if (Ke)
9
- for (var r of Ke(t))
10
- tr.call(t, r) && Pe(e, r, t[r]);
7
+ tr.call(t, r) && Pe(e, r, t[r]);
8
+ if (et)
9
+ for (var r of et(t))
10
+ rr.call(t, r) && Pe(e, r, t[r]);
11
11
  return e;
12
- }, tt = (e, t) => Yt(e, Kt(t));
12
+ }, rt = (e, t) => Kt(e, er(t));
13
13
  var $ = (e, t, r) => (Pe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var be = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
@@ -29,25 +29,25 @@ var be = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function D() {
31
31
  }
32
- function St(e) {
32
+ function Tt(e) {
33
33
  return e();
34
34
  }
35
- function rt() {
35
+ function nt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ie(e) {
39
- e.forEach(St);
39
+ e.forEach(Tt);
40
40
  }
41
41
  function Je(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Tt(e, t) {
44
+ function Ht(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function rr(e) {
47
+ function nr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Ht(e, ...t) {
50
+ function Bt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function Ht(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function nr(e, t, r) {
60
- e.$$.on_destroy.push(Ht(t, r));
59
+ function ir(e, t, r) {
60
+ e.$$.on_destroy.push(Bt(t, r));
61
61
  }
62
62
  function E(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function ir(e, t, r) {
66
- const n = or(e);
65
+ function or(e, t, r) {
66
+ const n = sr(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = O("style");
69
- i.id = t, i.textContent = r, sr(n, i);
68
+ const i = M("style");
69
+ i.id = t, i.textContent = r, ar(n, i);
70
70
  }
71
71
  }
72
- function or(e) {
72
+ function sr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,7 +79,7 @@ function or(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function sr(e, t) {
82
+ function ar(e, t) {
83
83
  return E(
84
84
  /** @type {Document} */
85
85
  e.head || e,
@@ -92,14 +92,14 @@ function Z(e, t, r) {
92
92
  function j(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function O(e) {
95
+ function M(e) {
96
96
  return document.createElement(e);
97
97
  }
98
- function M(e) {
98
+ function O(e) {
99
99
  return document.createTextNode(e);
100
100
  }
101
101
  function z() {
102
- return M(" ");
102
+ return O(" ");
103
103
  }
104
104
  function ge(e, t, r, n) {
105
105
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -107,17 +107,17 @@ function ge(e, t, r, n) {
107
107
  function B(e, t, r) {
108
108
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
109
109
  }
110
- function ar(e) {
110
+ function ur(e) {
111
111
  return Array.from(e.childNodes);
112
112
  }
113
113
  function G(e, t) {
114
114
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
115
115
  t);
116
116
  }
117
- function nt(e, t) {
117
+ function it(e, t) {
118
118
  e.value = t == null ? "" : t;
119
119
  }
120
- function ur(e) {
120
+ function lr(e) {
121
121
  const t = {};
122
122
  return e.childNodes.forEach(
123
123
  /** @param {Element} node */
@@ -130,25 +130,25 @@ let de;
130
130
  function fe(e) {
131
131
  de = e;
132
132
  }
133
- function lr() {
133
+ function hr() {
134
134
  if (!de)
135
135
  throw new Error("Function called outside component initialization");
136
136
  return de;
137
137
  }
138
- function hr(e) {
139
- lr().$$.on_mount.push(e);
138
+ function cr(e) {
139
+ hr().$$.on_mount.push(e);
140
140
  }
141
141
  const Y = [], $e = [];
142
142
  let K = [];
143
- const it = [], cr = /* @__PURE__ */ Promise.resolve();
143
+ const ot = [], fr = /* @__PURE__ */ Promise.resolve();
144
144
  let Ue = !1;
145
- function fr() {
146
- Ue || (Ue = !0, cr.then(U));
145
+ function dr() {
146
+ Ue || (Ue = !0, fr.then(U));
147
147
  }
148
148
  function De(e) {
149
149
  K.push(e);
150
150
  }
151
- const Ce = /* @__PURE__ */ new Set();
151
+ const Ie = /* @__PURE__ */ new Set();
152
152
  let Q = 0;
153
153
  function U() {
154
154
  if (Q !== 0)
@@ -158,7 +158,7 @@ function U() {
158
158
  try {
159
159
  for (; Q < Y.length; ) {
160
160
  const t = Y[Q];
161
- Q++, fe(t), dr(t.$$);
161
+ Q++, fe(t), mr(t.$$);
162
162
  }
163
163
  } catch (t) {
164
164
  throw Y.length = 0, Q = 0, t;
@@ -167,44 +167,44 @@ function U() {
167
167
  $e.pop()();
168
168
  for (let t = 0; t < K.length; t += 1) {
169
169
  const r = K[t];
170
- Ce.has(r) || (Ce.add(r), r());
170
+ Ie.has(r) || (Ie.add(r), r());
171
171
  }
172
172
  K.length = 0;
173
173
  } while (Y.length);
174
- for (; it.length; )
175
- it.pop()();
176
- Ue = !1, Ce.clear(), fe(e);
174
+ for (; ot.length; )
175
+ ot.pop()();
176
+ Ue = !1, Ie.clear(), fe(e);
177
177
  }
178
- function dr(e) {
178
+ function mr(e) {
179
179
  if (e.fragment !== null) {
180
180
  e.update(), ie(e.before_update);
181
181
  const t = e.dirty;
182
182
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
183
183
  }
184
184
  }
185
- function mr(e) {
185
+ function pr(e) {
186
186
  const t = [], r = [];
187
187
  K.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), K = t;
188
188
  }
189
- const pr = /* @__PURE__ */ new Set();
190
- function br(e, t) {
191
- e && e.i && (pr.delete(e), e.i(t));
189
+ const br = /* @__PURE__ */ new Set();
190
+ function gr(e, t) {
191
+ e && e.i && (br.delete(e), e.i(t));
192
192
  }
193
- function gr(e, t, r) {
193
+ function vr(e, t, r) {
194
194
  const { fragment: n, after_update: i } = e.$$;
195
195
  n && n.m(t, r), De(() => {
196
- const o = e.$$.on_mount.map(St).filter(Je);
196
+ const o = e.$$.on_mount.map(Tt).filter(Je);
197
197
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
198
198
  }), i.forEach(De);
199
199
  }
200
- function vr(e, t) {
200
+ function yr(e, t) {
201
201
  const r = e.$$;
202
- r.fragment !== null && (mr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (pr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
203
  }
204
- function yr(e, t) {
205
- e.$$.dirty[0] === -1 && (Y.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function Er(e, t) {
205
+ e.$$.dirty[0] === -1 && (Y.push(e), dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
206
206
  }
207
- function Er(e, t, r, n, i, o, s = null, a = [-1]) {
207
+ function xr(e, t, r, n, i, o, s = null, a = [-1]) {
208
208
  const l = de;
209
209
  fe(e);
210
210
  const u = e.$$ = {
@@ -214,7 +214,7 @@ function Er(e, t, r, n, i, o, s = null, a = [-1]) {
214
214
  props: o,
215
215
  update: D,
216
216
  not_equal: i,
217
- bound: rt(),
217
+ bound: nt(),
218
218
  // lifecycle
219
219
  on_mount: [],
220
220
  on_destroy: [],
@@ -223,28 +223,28 @@ function Er(e, t, r, n, i, o, s = null, a = [-1]) {
223
223
  after_update: [],
224
224
  context: new Map(t.context || (l ? l.$$.context : [])),
225
225
  // everything else
226
- callbacks: rt(),
226
+ callbacks: nt(),
227
227
  dirty: a,
228
228
  skip_bound: !1,
229
229
  root: t.target || l.$$.root
230
230
  };
231
231
  s && s(u.root);
232
232
  let h = !1;
233
- if (u.ctx = r(e, t.props || {}, (c, d, ...g) => {
233
+ if (u.ctx = r ? r(e, t.props || {}, (c, d, ...g) => {
234
234
  const y = g.length ? g[0] : d;
235
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && yr(e, c)), d;
236
- }), u.update(), h = !0, ie(u.before_update), u.fragment = n(u.ctx), t.target) {
235
+ return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && Er(e, c)), d;
236
+ }) : [], u.update(), h = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
237
237
  if (t.hydrate) {
238
- const c = ar(t.target);
238
+ const c = ur(t.target);
239
239
  u.fragment && u.fragment.l(c), c.forEach(j);
240
240
  } else
241
241
  u.fragment && u.fragment.c();
242
- t.intro && br(e.$$.fragment), gr(e, t.target, t.anchor), U();
242
+ t.intro && gr(e.$$.fragment), vr(e, t.target, t.anchor), U();
243
243
  }
244
244
  fe(l);
245
245
  }
246
- let Bt;
247
- typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
246
+ let At;
247
+ typeof HTMLElement == "function" && (At = class extends HTMLElement {
248
248
  constructor(t, r, n) {
249
249
  super();
250
250
  /** The Svelte component constructor */
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
288
288
  let s;
289
289
  return {
290
290
  c: function() {
291
- s = O("slot"), o !== "default" && B(s, "name", o);
291
+ s = M("slot"), o !== "default" && B(s, "name", o);
292
292
  },
293
293
  /**
294
294
  * @param {HTMLElement} target
@@ -305,7 +305,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
305
305
  };
306
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
307
307
  return;
308
- const r = {}, n = ur(this);
308
+ const r = {}, n = lr(this);
309
309
  for (const o of this.$$s)
310
310
  o in n && (r[o] = [t(o)]);
311
311
  for (const o of this.attributes) {
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
316
316
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
317
317
  this.$$c = new this.$$ctor({
318
318
  target: this.shadowRoot || this,
319
- props: tt(et({}, this.$$d), {
319
+ props: rt(tt({}, this.$$d), {
320
320
  $$slots: r,
321
321
  $$scope: {
322
322
  ctx: []
@@ -394,8 +394,8 @@ function ye(e, t, r, n) {
394
394
  return t;
395
395
  }
396
396
  }
397
- function xr(e, t, r, n, i, o) {
398
- let s = class extends Bt {
397
+ function _r(e, t, r, n, i, o) {
398
+ let s = class extends At {
399
399
  constructor() {
400
400
  super(e, r, i), this.$$p_d = t;
401
401
  }
@@ -425,7 +425,7 @@ function xr(e, t, r, n, i, o) {
425
425
  }), e.element = /** @type {any} */
426
426
  s, s;
427
427
  }
428
- class _r {
428
+ class Sr {
429
429
  constructor() {
430
430
  /**
431
431
  * ### PRIVATE API
@@ -446,7 +446,7 @@ class _r {
446
446
  }
447
447
  /** @returns {void} */
448
448
  $destroy() {
449
- vr(this, 1), this.$destroy = D;
449
+ yr(this, 1), this.$destroy = D;
450
450
  }
451
451
  /**
452
452
  * @template {Extract<keyof Events, string>} K
@@ -468,13 +468,13 @@ class _r {
468
468
  * @returns {void}
469
469
  */
470
470
  $set(t) {
471
- this.$$set && !rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !nr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
472
  }
473
473
  }
474
- const Sr = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Sr);
474
+ const Tr = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Tr);
476
476
  const q = [];
477
- function Tr(e, t) {
477
+ function Hr(e, t) {
478
478
  return {
479
479
  subscribe: Te(e, t).subscribe
480
480
  };
@@ -483,7 +483,7 @@ function Te(e, t = D) {
483
483
  let r;
484
484
  const n = /* @__PURE__ */ new Set();
485
485
  function i(a) {
486
- if (Tt(e, a) && (e = a, r)) {
486
+ if (Ht(e, a) && (e = a, r)) {
487
487
  const l = !q.length;
488
488
  for (const u of n)
489
489
  u[1](), q.push(u, e);
@@ -510,7 +510,7 @@ function oe(e, t, r) {
510
510
  if (!i.every(Boolean))
511
511
  throw new Error("derived() expects stores as input, got a falsy value");
512
512
  const o = t.length < 2;
513
- return Tr(r, (s, a) => {
513
+ return Hr(r, (s, a) => {
514
514
  let l = !1;
515
515
  const u = [];
516
516
  let h = 0, c = D;
@@ -521,7 +521,7 @@ function oe(e, t, r) {
521
521
  const y = t(n ? u[0] : u, s, a);
522
522
  o ? s(y) : c = Je(y) ? y : D;
523
523
  }, g = i.map(
524
- (y, _) => Ht(
524
+ (y, _) => Bt(
525
525
  y,
526
526
  (T) => {
527
527
  u[_] = T, h &= ~(1 << _), l && d();
@@ -536,70 +536,70 @@ function oe(e, t, r) {
536
536
  };
537
537
  });
538
538
  }
539
- function Hr(e) {
540
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
539
+ function Br(e) {
540
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
541
541
  }
542
- var Br = function(t) {
543
- return Ar(t) && !wr(t);
542
+ var Ar = function(t) {
543
+ return wr(t) && !Pr(t);
544
544
  };
545
- function Ar(e) {
545
+ function wr(e) {
546
546
  return !!e && typeof e == "object";
547
547
  }
548
- function wr(e) {
548
+ function Pr(e) {
549
549
  var t = Object.prototype.toString.call(e);
550
- return t === "[object RegExp]" || t === "[object Date]" || Ir(e);
550
+ return t === "[object RegExp]" || t === "[object Date]" || Nr(e);
551
551
  }
552
- var Pr = typeof Symbol == "function" && Symbol.for, Cr = Pr ? Symbol.for("react.element") : 60103;
553
- function Ir(e) {
552
+ var Ir = typeof Symbol == "function" && Symbol.for, Cr = Ir ? Symbol.for("react.element") : 60103;
553
+ function Nr(e) {
554
554
  return e.$$typeof === Cr;
555
555
  }
556
- function Nr(e) {
556
+ function Mr(e) {
557
557
  return Array.isArray(e) ? [] : {};
558
558
  }
559
559
  function me(e, t) {
560
- return t.clone !== !1 && t.isMergeableObject(e) ? ee(Nr(e), e, t) : e;
560
+ return t.clone !== !1 && t.isMergeableObject(e) ? ee(Mr(e), e, t) : e;
561
561
  }
562
562
  function Or(e, t, r) {
563
563
  return e.concat(t).map(function(n) {
564
564
  return me(n, r);
565
565
  });
566
566
  }
567
- function Mr(e, t) {
567
+ function Lr(e, t) {
568
568
  if (!t.customMerge)
569
569
  return ee;
570
570
  var r = t.customMerge(e);
571
571
  return typeof r == "function" ? r : ee;
572
572
  }
573
- function Lr(e) {
573
+ function Rr(e) {
574
574
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
575
575
  return Object.propertyIsEnumerable.call(e, t);
576
576
  }) : [];
577
577
  }
578
- function ot(e) {
579
- return Object.keys(e).concat(Lr(e));
578
+ function st(e) {
579
+ return Object.keys(e).concat(Rr(e));
580
580
  }
581
- function At(e, t) {
581
+ function wt(e, t) {
582
582
  try {
583
583
  return t in e;
584
584
  } catch (r) {
585
585
  return !1;
586
586
  }
587
587
  }
588
- function Rr(e, t) {
589
- return At(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
588
+ function $r(e, t) {
589
+ return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
590
590
  }
591
- function $r(e, t, r) {
591
+ function Ur(e, t, r) {
592
592
  var n = {};
593
- return r.isMergeableObject(e) && ot(e).forEach(function(i) {
593
+ return r.isMergeableObject(e) && st(e).forEach(function(i) {
594
594
  n[i] = me(e[i], r);
595
- }), ot(t).forEach(function(i) {
596
- Rr(e, i) || (At(e, i) && r.isMergeableObject(t[i]) ? n[i] = Mr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
595
+ }), st(t).forEach(function(i) {
596
+ $r(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Lr(i, r)(e[i], t[i], r) : n[i] = me(t[i], r));
597
597
  }), n;
598
598
  }
599
599
  function ee(e, t, r) {
600
- r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = me;
600
+ r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || Ar, r.cloneUnlessOtherwiseSpecified = me;
601
601
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
602
- return o ? n ? r.arrayMerge(e, t, r) : $r(e, t, r) : me(t, r);
602
+ return o ? n ? r.arrayMerge(e, t, r) : Ur(e, t, r) : me(t, r);
603
603
  }
604
604
  ee.all = function(t, r) {
605
605
  if (!Array.isArray(t))
@@ -608,8 +608,8 @@ ee.all = function(t, r) {
608
608
  return ee(n, i, r);
609
609
  }, {});
610
610
  };
611
- var Ur = ee, Dr = Ur;
612
- const Fr = /* @__PURE__ */ Hr(Dr);
611
+ var Dr = ee, Fr = Dr;
612
+ const Gr = /* @__PURE__ */ Br(Fr);
613
613
  /*! *****************************************************************************
614
614
  Copyright (c) Microsoft Corporation.
615
615
 
@@ -651,7 +651,7 @@ var v = function() {
651
651
  return t;
652
652
  }, v.apply(this, arguments);
653
653
  };
654
- function Gr(e, t) {
654
+ function kr(e, t) {
655
655
  var r = {};
656
656
  for (var n in e)
657
657
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -660,64 +660,62 @@ function Gr(e, t) {
660
660
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
661
661
  return r;
662
662
  }
663
- function Ie(e, t, r) {
663
+ function Ce(e, t, r) {
664
664
  if (arguments.length === 2)
665
665
  for (var n = 0, i = t.length, o; n < i; n++)
666
666
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
667
667
  return e.concat(o || t);
668
668
  }
669
669
  function Ne(e, t) {
670
- var r = t && t.cache ? t.cache : Zr, n = t && t.serializer ? t.serializer : zr, i = t && t.strategy ? t.strategy : jr;
670
+ var r = t && t.cache ? t.cache : Zr, n = t && t.serializer ? t.serializer : Wr, i = t && t.strategy ? t.strategy : Vr;
671
671
  return i(e, {
672
672
  cache: r,
673
673
  serializer: n
674
674
  });
675
675
  }
676
- function kr(e) {
676
+ function jr(e) {
677
677
  return e == null || typeof e == "number" || typeof e == "boolean";
678
678
  }
679
- function wt(e, t, r, n) {
680
- var i = kr(n) ? n : r(n), o = t.get(i);
679
+ function Pt(e, t, r, n) {
680
+ var i = jr(n) ? n : r(n), o = t.get(i);
681
681
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
682
682
  }
683
- function Pt(e, t, r) {
683
+ function It(e, t, r) {
684
684
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
685
685
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
686
686
  }
687
687
  function Qe(e, t, r, n, i) {
688
688
  return r.bind(t, e, n, i);
689
689
  }
690
- function jr(e, t) {
691
- var r = e.length === 1 ? wt : Pt;
692
- return Qe(e, this, r, t.cache.create(), t.serializer);
693
- }
694
690
  function Vr(e, t) {
695
- return Qe(e, this, Pt, t.cache.create(), t.serializer);
691
+ var r = e.length === 1 ? Pt : It;
692
+ return Qe(e, this, r, t.cache.create(), t.serializer);
696
693
  }
697
694
  function Xr(e, t) {
698
- return Qe(e, this, wt, t.cache.create(), t.serializer);
695
+ return Qe(e, this, It, t.cache.create(), t.serializer);
696
+ }
697
+ function zr(e, t) {
698
+ return Qe(e, this, Pt, t.cache.create(), t.serializer);
699
699
  }
700
- var zr = function() {
700
+ var Wr = function() {
701
701
  return JSON.stringify(arguments);
702
- }, Wr = (
703
- /** @class */
704
- function() {
705
- function e() {
706
- this.cache = /* @__PURE__ */ Object.create(null);
707
- }
708
- return e.prototype.get = function(t) {
709
- return this.cache[t];
710
- }, e.prototype.set = function(t, r) {
711
- this.cache[t] = r;
712
- }, e;
713
- }()
714
- ), Zr = {
702
+ };
703
+ function qe() {
704
+ this.cache = /* @__PURE__ */ Object.create(null);
705
+ }
706
+ qe.prototype.get = function(e) {
707
+ return this.cache[e];
708
+ };
709
+ qe.prototype.set = function(e, t) {
710
+ this.cache[e] = t;
711
+ };
712
+ var Zr = {
715
713
  create: function() {
716
- return new Wr();
714
+ return new qe();
717
715
  }
718
- }, Oe = {
719
- variadic: Vr,
720
- monadic: Xr
716
+ }, Me = {
717
+ variadic: Xr,
718
+ monadic: zr
721
719
  }, m;
722
720
  (function(e) {
723
721
  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";
@@ -730,7 +728,7 @@ var te;
730
728
  (function(e) {
731
729
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
732
730
  })(te || (te = {}));
733
- function st(e) {
731
+ function at(e) {
734
732
  return e.type === x.literal;
735
733
  }
736
734
  function Jr(e) {
@@ -739,31 +737,31 @@ function Jr(e) {
739
737
  function Ct(e) {
740
738
  return e.type === x.number;
741
739
  }
742
- function It(e) {
740
+ function Nt(e) {
743
741
  return e.type === x.date;
744
742
  }
745
- function Nt(e) {
743
+ function Mt(e) {
746
744
  return e.type === x.time;
747
745
  }
748
746
  function Ot(e) {
749
747
  return e.type === x.select;
750
748
  }
751
- function Mt(e) {
749
+ function Lt(e) {
752
750
  return e.type === x.plural;
753
751
  }
754
752
  function Qr(e) {
755
753
  return e.type === x.pound;
756
754
  }
757
- function Lt(e) {
755
+ function Rt(e) {
758
756
  return e.type === x.tag;
759
757
  }
760
- function Rt(e) {
758
+ function $t(e) {
761
759
  return !!(e && typeof e == "object" && e.type === te.number);
762
760
  }
763
761
  function Ge(e) {
764
762
  return !!(e && typeof e == "object" && e.type === te.dateTime);
765
763
  }
766
- var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qr = /(?:[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;
764
+ var Ut = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qr = /(?:[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;
767
765
  function Yr(e) {
768
766
  var t = {};
769
767
  return e.replace(qr, function(r) {
@@ -877,14 +875,14 @@ function en(e) {
877
875
  function tn(e) {
878
876
  return e.replace(/^(.*?)-/, "");
879
877
  }
880
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, rn = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
881
- function ut(e) {
878
+ var ut = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dt = /^(@+)?(\+|#+)?[rs]?$/g, rn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
879
+ function lt(e) {
882
880
  var t = {};
883
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
881
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dt, function(r, n, i) {
884
882
  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)), "";
885
883
  }), t;
886
884
  }
887
- function Ft(e) {
885
+ function Gt(e) {
888
886
  switch (e) {
889
887
  case "sign-auto":
890
888
  return {
@@ -932,14 +930,14 @@ function nn(e) {
932
930
  notation: "scientific"
933
931
  }, e = e.slice(1)), t) {
934
932
  var r = e.slice(0, 2);
935
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dt.test(e))
933
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ft.test(e))
936
934
  throw new Error("Malformed concise eng/scientific notation");
937
935
  t.minimumIntegerDigits = e.length;
938
936
  }
939
937
  return t;
940
938
  }
941
- function lt(e) {
942
- var t = {}, r = Ft(e);
939
+ function ht(e) {
940
+ var t = {}, r = Gt(e);
943
941
  return r || t;
944
942
  }
945
943
  function on(e) {
@@ -978,12 +976,12 @@ function on(e) {
978
976
  continue;
979
977
  case "scientific":
980
978
  t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
981
- return v(v({}, l), lt(u));
979
+ return v(v({}, l), ht(u));
982
980
  }, {}));
983
981
  continue;
984
982
  case "engineering":
985
983
  t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
986
- return v(v({}, l), lt(u));
984
+ return v(v({}, l), ht(u));
987
985
  }, {}));
988
986
  continue;
989
987
  case "notation-simple":
@@ -1041,25 +1039,25 @@ function on(e) {
1041
1039
  });
1042
1040
  continue;
1043
1041
  }
1044
- if (Dt.test(i.stem)) {
1042
+ if (Ft.test(i.stem)) {
1045
1043
  t.minimumIntegerDigits = i.stem.length;
1046
1044
  continue;
1047
1045
  }
1048
- if (at.test(i.stem)) {
1046
+ if (ut.test(i.stem)) {
1049
1047
  if (i.options.length > 1)
1050
1048
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1051
- i.stem.replace(at, function(l, u, h, c, d, g) {
1049
+ i.stem.replace(ut, function(l, u, h, c, d, g) {
1052
1050
  return h === "*" ? 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), "";
1053
1051
  });
1054
1052
  var o = i.options[0];
1055
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ut(o)));
1053
+ o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), lt(o)));
1056
1054
  continue;
1057
1055
  }
1058
- if (Ut.test(i.stem)) {
1059
- t = v(v({}, t), ut(i.stem));
1056
+ if (Dt.test(i.stem)) {
1057
+ t = v(v({}, t), lt(i.stem));
1060
1058
  continue;
1061
1059
  }
1062
- var s = Ft(i.stem);
1060
+ var s = Gt(i.stem);
1063
1061
  s && (t = v(v({}, t), s));
1064
1062
  var a = nn(i.stem);
1065
1063
  a && (t = v(v({}, t), a));
@@ -2519,7 +2517,7 @@ function an(e) {
2519
2517
  var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
2520
2518
  return i[0];
2521
2519
  }
2522
- var Me, un = new RegExp("^".concat($t.source, "*")), ln = new RegExp("".concat($t.source, "*$"));
2520
+ var Oe, un = new RegExp("^".concat(Ut.source, "*")), ln = new RegExp("".concat(Ut.source, "*$"));
2523
2521
  function b(e, t) {
2524
2522
  return { start: e, end: t };
2525
2523
  }
@@ -2527,12 +2525,12 @@ var hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), cn = !!String
2527
2525
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2528
2526
  }, ke = !0;
2529
2527
  try {
2530
- var vn = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2531
- ke = ((Me = vn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
2528
+ var vn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2529
+ ke = ((Oe = vn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2532
2530
  } catch (e) {
2533
2531
  ke = !1;
2534
2532
  }
2535
- var ht = hn ? (
2533
+ var ct = hn ? (
2536
2534
  // Native
2537
2535
  function(t, r, n) {
2538
2536
  return t.startsWith(r, n);
@@ -2554,7 +2552,7 @@ var ht = hn ? (
2554
2552
  }
2555
2553
  return n;
2556
2554
  }
2557
- ), ct = (
2555
+ ), ft = (
2558
2556
  // native
2559
2557
  fn ? Object.fromEntries : (
2560
2558
  // Ponyfill
@@ -2566,7 +2564,7 @@ var ht = hn ? (
2566
2564
  return r;
2567
2565
  }
2568
2566
  )
2569
- ), Gt = dn ? (
2567
+ ), kt = dn ? (
2570
2568
  // Native
2571
2569
  function(t, r) {
2572
2570
  return t.codePointAt(r);
@@ -2601,23 +2599,23 @@ var ht = hn ? (
2601
2599
  return t.replace(ln, "");
2602
2600
  }
2603
2601
  );
2604
- function kt(e, t) {
2602
+ function jt(e, t) {
2605
2603
  return new RegExp(e, t);
2606
2604
  }
2607
2605
  var Ve;
2608
2606
  if (ke) {
2609
- var ft = kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2607
+ var dt = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2610
2608
  Ve = function(t, r) {
2611
2609
  var n;
2612
- ft.lastIndex = r;
2613
- var i = ft.exec(t);
2610
+ dt.lastIndex = r;
2611
+ var i = dt.exec(t);
2614
2612
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2615
2613
  };
2616
2614
  } else
2617
2615
  Ve = function(t, r) {
2618
2616
  for (var n = []; ; ) {
2619
- var i = Gt(t, r);
2620
- if (i === void 0 || jt(i) || Tn(i))
2617
+ var i = kt(t, r);
2618
+ if (i === void 0 || Vt(i) || Tn(i))
2621
2619
  break;
2622
2620
  n.push(i), r += i >= 65536 ? 2 : 1;
2623
2621
  }
@@ -2831,7 +2829,7 @@ var xn = (
2831
2829
  if (y.err)
2832
2830
  return y;
2833
2831
  var _ = b(i, this.clonePosition());
2834
- if (u && ht(u == null ? void 0 : u.style, "::", 0)) {
2832
+ if (u && ct(u == null ? void 0 : u.style, "::", 0)) {
2835
2833
  var T = yn(u.style.slice(2));
2836
2834
  if (a === "number") {
2837
2835
  var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
@@ -2894,7 +2892,7 @@ var xn = (
2894
2892
  val: {
2895
2893
  type: x.select,
2896
2894
  value: n,
2897
- options: ct(F.val),
2895
+ options: ft(F.val),
2898
2896
  location: V
2899
2897
  },
2900
2898
  err: null
@@ -2902,7 +2900,7 @@ var xn = (
2902
2900
  val: {
2903
2901
  type: x.plural,
2904
2902
  value: n,
2905
- options: ct(F.val),
2903
+ options: ft(F.val),
2906
2904
  offset: N,
2907
2905
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2908
2906
  location: V
@@ -3025,7 +3023,7 @@ var xn = (
3025
3023
  var t = this.position.offset;
3026
3024
  if (t >= this.message.length)
3027
3025
  throw Error("out of bound");
3028
- var r = Gt(this.message, t);
3026
+ var r = kt(this.message, t);
3029
3027
  if (r === void 0)
3030
3028
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3031
3029
  return r;
@@ -3044,7 +3042,7 @@ var xn = (
3044
3042
  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);
3045
3043
  }
3046
3044
  }, e.prototype.bumpIf = function(t) {
3047
- if (ht(this.message, t, this.offset())) {
3045
+ if (ct(this.message, t, this.offset())) {
3048
3046
  for (var r = 0; r < t.length; r++)
3049
3047
  this.bump();
3050
3048
  return !0;
@@ -3066,7 +3064,7 @@ var xn = (
3066
3064
  break;
3067
3065
  }
3068
3066
  }, e.prototype.bumpSpace = function() {
3069
- for (; !this.isEOF() && jt(this.char()); )
3067
+ for (; !this.isEOF() && Vt(this.char()); )
3070
3068
  this.bump();
3071
3069
  }, e.prototype.peek = function() {
3072
3070
  if (this.isEOF())
@@ -3085,7 +3083,7 @@ function _n(e) {
3085
3083
  function Sn(e) {
3086
3084
  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;
3087
3085
  }
3088
- function jt(e) {
3086
+ function Vt(e) {
3089
3087
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3090
3088
  }
3091
3089
  function Tn(e) {
@@ -3093,11 +3091,11 @@ function Tn(e) {
3093
3091
  }
3094
3092
  function ze(e) {
3095
3093
  e.forEach(function(t) {
3096
- if (delete t.location, Ot(t) || Mt(t))
3094
+ if (delete t.location, Ot(t) || Lt(t))
3097
3095
  for (var r in t.options)
3098
3096
  delete t.options[r].location, ze(t.options[r].value);
3099
3097
  else
3100
- Ct(t) && Rt(t.style) || (It(t) || Nt(t)) && Ge(t.style) ? delete t.style.location : Lt(t) && ze(t.children);
3098
+ Ct(t) && $t(t.style) || (Nt(t) || Mt(t)) && Ge(t.style) ? delete t.style.location : Rt(t) && ze(t.children);
3101
3099
  });
3102
3100
  }
3103
3101
  function Hn(e, t) {
@@ -3125,7 +3123,7 @@ var Be = (
3125
3123
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3126
3124
  }, t;
3127
3125
  }(Error)
3128
- ), dt = (
3126
+ ), mt = (
3129
3127
  /** @class */
3130
3128
  function(e) {
3131
3129
  He(t, e);
@@ -3152,39 +3150,39 @@ var Be = (
3152
3150
  }
3153
3151
  return t;
3154
3152
  }(Be)
3155
- ), I;
3153
+ ), C;
3156
3154
  (function(e) {
3157
3155
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3158
- })(I || (I = {}));
3156
+ })(C || (C = {}));
3159
3157
  function wn(e) {
3160
3158
  return e.length < 2 ? e : e.reduce(function(t, r) {
3161
3159
  var n = t[t.length - 1];
3162
- return !n || n.type !== I.literal || r.type !== I.literal ? t.push(r) : n.value += r.value, t;
3160
+ return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3163
3161
  }, []);
3164
3162
  }
3165
3163
  function Pn(e) {
3166
3164
  return typeof e == "function";
3167
3165
  }
3168
3166
  function Ee(e, t, r, n, i, o, s) {
3169
- if (e.length === 1 && st(e[0]))
3167
+ if (e.length === 1 && at(e[0]))
3170
3168
  return [
3171
3169
  {
3172
- type: I.literal,
3170
+ type: C.literal,
3173
3171
  value: e[0].value
3174
3172
  }
3175
3173
  ];
3176
3174
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3177
3175
  var h = u[l];
3178
- if (st(h)) {
3176
+ if (at(h)) {
3179
3177
  a.push({
3180
- type: I.literal,
3178
+ type: C.literal,
3181
3179
  value: h.value
3182
3180
  });
3183
3181
  continue;
3184
3182
  }
3185
3183
  if (Qr(h)) {
3186
3184
  typeof o == "number" && a.push({
3187
- type: I.literal,
3185
+ type: C.literal,
3188
3186
  value: r.getNumberFormat(t).format(o)
3189
3187
  });
3190
3188
  continue;
@@ -3195,36 +3193,36 @@ function Ee(e, t, r, n, i, o, s) {
3195
3193
  var d = i[c];
3196
3194
  if (Jr(h)) {
3197
3195
  (!d || typeof d == "string" || typeof d == "number") && (d = typeof d == "string" || typeof d == "number" ? String(d) : ""), a.push({
3198
- type: typeof d == "string" ? I.literal : I.object,
3196
+ type: typeof d == "string" ? C.literal : C.object,
3199
3197
  value: d
3200
3198
  });
3201
3199
  continue;
3202
3200
  }
3203
- if (It(h)) {
3201
+ if (Nt(h)) {
3204
3202
  var g = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3205
3203
  a.push({
3206
- type: I.literal,
3204
+ type: C.literal,
3207
3205
  value: r.getDateTimeFormat(t, g).format(d)
3208
3206
  });
3209
3207
  continue;
3210
3208
  }
3211
- if (Nt(h)) {
3209
+ if (Mt(h)) {
3212
3210
  var g = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3213
3211
  a.push({
3214
- type: I.literal,
3212
+ type: C.literal,
3215
3213
  value: r.getDateTimeFormat(t, g).format(d)
3216
3214
  });
3217
3215
  continue;
3218
3216
  }
3219
3217
  if (Ct(h)) {
3220
- var g = typeof h.style == "string" ? n.number[h.style] : Rt(h.style) ? h.style.parsedOptions : void 0;
3218
+ var g = typeof h.style == "string" ? n.number[h.style] : $t(h.style) ? h.style.parsedOptions : void 0;
3221
3219
  g && g.scale && (d = d * (g.scale || 1)), a.push({
3222
- type: I.literal,
3220
+ type: C.literal,
3223
3221
  value: r.getNumberFormat(t, g).format(d)
3224
3222
  });
3225
3223
  continue;
3226
3224
  }
3227
- if (Lt(h)) {
3225
+ if (Rt(h)) {
3228
3226
  var y = h.children, _ = h.value, T = i[_];
3229
3227
  if (!Pn(T))
3230
3228
  throw new Bn(_, "function", s);
@@ -3233,7 +3231,7 @@ function Ee(e, t, r, n, i, o, s) {
3233
3231
  }));
3234
3232
  Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(N) {
3235
3233
  return {
3236
- type: typeof N == "string" ? I.literal : I.object,
3234
+ type: typeof N == "string" ? C.literal : C.object,
3237
3235
  value: N
3238
3236
  };
3239
3237
  }));
@@ -3241,11 +3239,11 @@ function Ee(e, t, r, n, i, o, s) {
3241
3239
  if (Ot(h)) {
3242
3240
  var A = h.options[d] || h.options.other;
3243
3241
  if (!A)
3244
- throw new dt(h.value, d, Object.keys(h.options), s);
3242
+ throw new mt(h.value, d, Object.keys(h.options), s);
3245
3243
  a.push.apply(a, Ee(A.value, t, r, n, i));
3246
3244
  continue;
3247
3245
  }
3248
- if (Mt(h)) {
3246
+ if (Lt(h)) {
3249
3247
  var A = h.options["=".concat(d)];
3250
3248
  if (!A) {
3251
3249
  if (!Intl.PluralRules)
@@ -3256,21 +3254,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3256
3254
  A = h.options[S] || h.options.other;
3257
3255
  }
3258
3256
  if (!A)
3259
- throw new dt(h.value, d, Object.keys(h.options), s);
3257
+ throw new mt(h.value, d, Object.keys(h.options), s);
3260
3258
  a.push.apply(a, Ee(A.value, t, r, n, i, d - (h.offset || 0)));
3261
3259
  continue;
3262
3260
  }
3263
3261
  }
3264
3262
  return wn(a);
3265
3263
  }
3266
- function Cn(e, t) {
3264
+ function In(e, t) {
3267
3265
  return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3268
3266
  return r[n] = v(v({}, e[n]), t[n] || {}), r;
3269
3267
  }, {})) : e;
3270
3268
  }
3271
- function In(e, t) {
3269
+ function Cn(e, t) {
3272
3270
  return t ? Object.keys(e).reduce(function(r, n) {
3273
- return r[n] = Cn(e[n], t[n]), r;
3271
+ return r[n] = In(e[n], t[n]), r;
3274
3272
  }, v({}, e)) : e;
3275
3273
  }
3276
3274
  function Le(e) {
@@ -3296,30 +3294,30 @@ function Nn(e) {
3296
3294
  getNumberFormat: Ne(function() {
3297
3295
  for (var t, r = [], n = 0; n < arguments.length; n++)
3298
3296
  r[n] = arguments[n];
3299
- return new ((t = Intl.NumberFormat).bind.apply(t, Ie([void 0], r, !1)))();
3297
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3300
3298
  }, {
3301
3299
  cache: Le(e.number),
3302
- strategy: Oe.variadic
3300
+ strategy: Me.variadic
3303
3301
  }),
3304
3302
  getDateTimeFormat: Ne(function() {
3305
3303
  for (var t, r = [], n = 0; n < arguments.length; n++)
3306
3304
  r[n] = arguments[n];
3307
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ie([void 0], r, !1)))();
3305
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3308
3306
  }, {
3309
3307
  cache: Le(e.dateTime),
3310
- strategy: Oe.variadic
3308
+ strategy: Me.variadic
3311
3309
  }),
3312
3310
  getPluralRules: Ne(function() {
3313
3311
  for (var t, r = [], n = 0; n < arguments.length; n++)
3314
3312
  r[n] = arguments[n];
3315
- return new ((t = Intl.PluralRules).bind.apply(t, Ie([void 0], r, !1)))();
3313
+ return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3316
3314
  }, {
3317
3315
  cache: Le(e.pluralRules),
3318
- strategy: Oe.variadic
3316
+ strategy: Me.variadic
3319
3317
  })
3320
3318
  };
3321
3319
  }
3322
- var On = (
3320
+ var Mn = (
3323
3321
  /** @class */
3324
3322
  function() {
3325
3323
  function e(t, r, n, i) {
@@ -3334,7 +3332,7 @@ var On = (
3334
3332
  if (u.length === 1)
3335
3333
  return u[0].value;
3336
3334
  var h = u.reduce(function(c, d) {
3337
- return !c.length || d.type !== I.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
3335
+ return !c.length || d.type !== C.literal || typeof c[c.length - 1] != "string" ? c.push(d.value) : c[c.length - 1] += d.value, c;
3338
3336
  }, []);
3339
3337
  return h.length <= 1 ? h[0] || "" : h;
3340
3338
  }, this.formatToParts = function(l) {
@@ -3351,13 +3349,13 @@ var On = (
3351
3349
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3352
3350
  var s = i || {};
3353
3351
  s.formatters;
3354
- var a = Gr(s, ["formatters"]);
3352
+ var a = kr(s, ["formatters"]);
3355
3353
  this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3356
3354
  } else
3357
3355
  this.ast = t;
3358
3356
  if (!Array.isArray(this.ast))
3359
3357
  throw new TypeError("A message must be provided as a String or AST.");
3360
- this.formats = In(e.formats, n), this.formatters = i && i.formatters || Nn(this.formatterCache);
3358
+ this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || Nn(this.formatterCache);
3361
3359
  }
3362
3360
  return Object.defineProperty(e, "defaultLocale", {
3363
3361
  get: function() {
@@ -3431,7 +3429,7 @@ var On = (
3431
3429
  }, e;
3432
3430
  }()
3433
3431
  );
3434
- function Mn(e, t) {
3432
+ function On(e, t) {
3435
3433
  if (t == null)
3436
3434
  return;
3437
3435
  if (t in e)
@@ -3452,7 +3450,7 @@ function Mn(e, t) {
3452
3450
  n = void 0;
3453
3451
  return n;
3454
3452
  }
3455
- const k = {}, Ln = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), Vt = (e, t) => {
3453
+ const k = {}, Ln = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][e] = r), r), Xt = (e, t) => {
3456
3454
  if (t == null)
3457
3455
  return;
3458
3456
  if (t in k && e in k[t])
@@ -3464,19 +3462,19 @@ const k = {}, Ln = (e, t, r) => r && (t in k || (k[t] = {}), e in k[t] || (k[t][
3464
3462
  return Ln(e, t, o);
3465
3463
  }
3466
3464
  };
3467
- let qe;
3465
+ let Ye;
3468
3466
  const se = Te({});
3469
3467
  function Rn(e) {
3470
- return qe[e] || null;
3468
+ return Ye[e] || null;
3471
3469
  }
3472
- function Xt(e) {
3473
- return e in qe;
3470
+ function zt(e) {
3471
+ return e in Ye;
3474
3472
  }
3475
3473
  function $n(e, t) {
3476
- if (!Xt(e))
3474
+ if (!zt(e))
3477
3475
  return null;
3478
3476
  const r = Rn(e);
3479
- return Mn(r, t);
3477
+ return On(r, t);
3480
3478
  }
3481
3479
  function Un(e) {
3482
3480
  if (e == null)
@@ -3484,28 +3482,28 @@ function Un(e) {
3484
3482
  const t = Ae(e);
3485
3483
  for (let r = 0; r < t.length; r++) {
3486
3484
  const n = t[r];
3487
- if (Xt(n))
3485
+ if (zt(n))
3488
3486
  return n;
3489
3487
  }
3490
3488
  }
3491
- function zt(e, ...t) {
3492
- delete k[e], se.update((r) => (r[e] = Fr.all([r[e] || {}, ...t]), r));
3489
+ function Wt(e, ...t) {
3490
+ delete k[e], se.update((r) => (r[e] = Gr.all([r[e] || {}, ...t]), r));
3493
3491
  }
3494
3492
  oe(
3495
3493
  [se],
3496
3494
  ([e]) => Object.keys(e)
3497
3495
  );
3498
- se.subscribe((e) => qe = e);
3496
+ se.subscribe((e) => Ye = e);
3499
3497
  const xe = {};
3500
3498
  function Dn(e, t) {
3501
3499
  xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3502
3500
  }
3503
- function Wt(e) {
3501
+ function Zt(e) {
3504
3502
  return xe[e];
3505
3503
  }
3506
3504
  function Fn(e) {
3507
3505
  return Ae(e).map((t) => {
3508
- const r = Wt(t);
3506
+ const r = Zt(t);
3509
3507
  return [t, r ? [...r] : []];
3510
3508
  }).filter(([, t]) => t.length > 0);
3511
3509
  }
@@ -3513,17 +3511,17 @@ function We(e) {
3513
3511
  return e == null ? !1 : Ae(e).some(
3514
3512
  (t) => {
3515
3513
  var r;
3516
- return (r = Wt(t)) == null ? void 0 : r.size;
3514
+ return (r = Zt(t)) == null ? void 0 : r.size;
3517
3515
  }
3518
3516
  );
3519
3517
  }
3520
3518
  function Gn(e, t) {
3521
3519
  return Promise.all(
3522
3520
  t.map((n) => (Dn(e, n), n().then((i) => i.default || i)))
3523
- ).then((n) => zt(e, ...n));
3521
+ ).then((n) => Wt(e, ...n));
3524
3522
  }
3525
3523
  const ce = {};
3526
- function Zt(e) {
3524
+ function Jt(e) {
3527
3525
  if (!We(e))
3528
3526
  return e in ce ? ce[e] : Promise.resolve();
3529
3527
  const t = Fn(e);
@@ -3533,7 +3531,7 @@ function Zt(e) {
3533
3531
  )
3534
3532
  ).then(() => {
3535
3533
  if (We(e))
3536
- return Zt(e);
3534
+ return Jt(e);
3537
3535
  delete ce[e];
3538
3536
  }), ce[e];
3539
3537
  }
@@ -3578,22 +3576,22 @@ function ne() {
3578
3576
  return Vn;
3579
3577
  }
3580
3578
  const Re = Te(!1);
3581
- var Xn = Object.defineProperty, zn = Object.defineProperties, Wn = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qn = (e, t) => {
3582
- for (var r in t)
3583
- Zn.call(t, r) && pt(e, r, t[r]);
3584
- if (mt)
3585
- for (var r of mt(t))
3586
- Jn.call(t, r) && pt(e, r, t[r]);
3579
+ var Xn = Object.defineProperty, zn = Object.defineProperties, Wn = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qn = (e, t) => {
3580
+ for (var r in t || (t = {}))
3581
+ Zn.call(t, r) && bt(e, r, t[r]);
3582
+ if (pt)
3583
+ for (var r of pt(t))
3584
+ Jn.call(t, r) && bt(e, r, t[r]);
3587
3585
  return e;
3588
3586
  }, qn = (e, t) => zn(e, Wn(t));
3589
3587
  let Ze;
3590
3588
  const _e = Te(null);
3591
- function bt(e) {
3589
+ function gt(e) {
3592
3590
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3593
3591
  }
3594
3592
  function Ae(e, t = ne().fallbackLocale) {
3595
- const r = bt(e);
3596
- return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
3593
+ const r = gt(e);
3594
+ return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3597
3595
  }
3598
3596
  function J() {
3599
3597
  return Ze != null ? Ze : void 0;
@@ -3608,7 +3606,7 @@ const Yn = (e) => {
3608
3606
  return typeof window != "undefined" && J() != null && t ? r = window.setTimeout(
3609
3607
  () => Re.set(!0),
3610
3608
  t
3611
- ) : Re.set(!0), Zt(e).then(() => {
3609
+ ) : Re.set(!0), Jt(e).then(() => {
3612
3610
  _e.set(e);
3613
3611
  }).finally(() => {
3614
3612
  clearTimeout(r), Re.set(!1);
@@ -3624,20 +3622,20 @@ const Yn = (e) => {
3624
3622
  return i in t ? t[i] : t[i] = e(n);
3625
3623
  };
3626
3624
  };
3627
- var Kn = Object.defineProperty, Se = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
3625
+ var Kn = Object.defineProperty, Se = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
3628
3626
  for (var r in t || (t = {}))
3629
- Jt.call(t, r) && gt(e, r, t[r]);
3627
+ Qt.call(t, r) && vt(e, r, t[r]);
3630
3628
  if (Se)
3631
3629
  for (var r of Se(t))
3632
- Qt.call(t, r) && gt(e, r, t[r]);
3630
+ qt.call(t, r) && vt(e, r, t[r]);
3633
3631
  return e;
3634
3632
  }, ae = (e, t) => {
3635
3633
  var r = {};
3636
3634
  for (var n in e)
3637
- Jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3635
+ Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3638
3636
  if (e != null && Se)
3639
3637
  for (var n of Se(e))
3640
- t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3638
+ t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
3641
3639
  return r;
3642
3640
  };
3643
3641
  const pe = (e, t) => {
@@ -3674,24 +3672,24 @@ const pe = (e, t) => {
3674
3672
  } = t, n = ae(t, [
3675
3673
  "locale"
3676
3674
  ]);
3677
- return ei(Ye({ locale: r }, n));
3675
+ return ei(Ke({ locale: r }, n));
3678
3676
  }, ii = (e = {}) => {
3679
3677
  var t = e, {
3680
3678
  locale: r = J()
3681
3679
  } = t, n = ae(t, [
3682
3680
  "locale"
3683
3681
  ]);
3684
- return ti(Ye({ locale: r }, n));
3682
+ return ti(Ke({ locale: r }, n));
3685
3683
  }, oi = (e = {}) => {
3686
3684
  var t = e, {
3687
3685
  locale: r = J()
3688
3686
  } = t, n = ae(t, [
3689
3687
  "locale"
3690
3688
  ]);
3691
- return ri(Ye({ locale: r }, n));
3689
+ return ri(Ke({ locale: r }, n));
3692
3690
  }, si = we(
3693
3691
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3694
- (e, t = J()) => new On(e, t, ne().formats, {
3692
+ (e, t = J()) => new Mn(e, t, ne().formats, {
3695
3693
  ignoreTag: ne().ignoreTag
3696
3694
  })
3697
3695
  ), ai = (e, t = {}) => {
@@ -3707,7 +3705,7 @@ const pe = (e, t) => {
3707
3705
  throw new Error(
3708
3706
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3709
3707
  );
3710
- let h = Vt(e, l);
3708
+ let h = Xt(e, l);
3711
3709
  if (!h)
3712
3710
  h = (o = (i = (n = (r = ne()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3713
3711
  else if (typeof h != "string")
@@ -3726,7 +3724,7 @@ const pe = (e, t) => {
3726
3724
  );
3727
3725
  }
3728
3726
  return c;
3729
- }, ui = (e, t) => oi(t).format(e), li = (e, t) => ii(t).format(e), hi = (e, t) => ni(t).format(e), ci = (e, t = J()) => Vt(e, t), fi = oe([W, se], () => ai);
3727
+ }, ui = (e, t) => oi(t).format(e), li = (e, t) => ii(t).format(e), hi = (e, t) => ni(t).format(e), ci = (e, t = J()) => Xt(e, t), fi = oe([W, se], () => ai);
3730
3728
  oe([W], () => ui);
3731
3729
  oe([W], () => li);
3732
3730
  oe([W], () => hi);
@@ -3736,10 +3734,10 @@ function di({ withLocale: e, translations: t }) {
3736
3734
  r == null && (se.set(t), W.set(e));
3737
3735
  });
3738
3736
  }
3739
- function vt(e, t) {
3740
- zt(e, t);
3737
+ function yt(e, t) {
3738
+ Wt(e, t);
3741
3739
  }
3742
- const yt = {
3740
+ const Et = {
3743
3741
  en: {
3744
3742
  title: "Please enter the verification code you received on your number",
3745
3743
  errorTitle: "Your code was invalid, you can resend the code and try again",
@@ -3870,7 +3868,7 @@ function bi(e, t, r) {
3870
3868
  }
3871
3869
  }
3872
3870
  function gi(e) {
3873
- ir(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))}");
3871
+ or(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))}");
3874
3872
  }
3875
3873
  function vi(e) {
3876
3874
  let t = (
@@ -3879,7 +3877,7 @@ function vi(e) {
3879
3877
  ), r;
3880
3878
  return {
3881
3879
  c() {
3882
- r = M(t);
3880
+ r = O(t);
3883
3881
  },
3884
3882
  m(n, i) {
3885
3883
  Z(n, r, i);
@@ -3901,7 +3899,7 @@ function yi(e) {
3901
3899
  ), r;
3902
3900
  return {
3903
3901
  c() {
3904
- r = M(t);
3902
+ r = O(t);
3905
3903
  },
3906
3904
  m(n, i) {
3907
3905
  Z(n, r, i);
@@ -3916,14 +3914,14 @@ function yi(e) {
3916
3914
  }
3917
3915
  };
3918
3916
  }
3919
- function Et(e) {
3917
+ function xt(e) {
3920
3918
  let t, r = (
3921
3919
  /*$_*/
3922
3920
  e[5]("smsCodeError") + ""
3923
3921
  ), n;
3924
3922
  return {
3925
3923
  c() {
3926
- t = O("p"), n = M(r), B(t, "class", "InvalidInput");
3924
+ t = M("p"), n = O(r), B(t, "class", "InvalidInput");
3927
3925
  },
3928
3926
  m(i, o) {
3929
3927
  Z(i, t, o), E(t, n);
@@ -3938,14 +3936,14 @@ function Et(e) {
3938
3936
  }
3939
3937
  };
3940
3938
  }
3941
- function xt(e) {
3939
+ function _t(e) {
3942
3940
  let t, r = (
3943
3941
  /*$_*/
3944
3942
  e[5]("resendMessage") + ""
3945
3943
  ), n;
3946
3944
  return {
3947
3945
  c() {
3948
- t = O("p"), n = M(r), B(t, "class", "SmsVerificationResendMessage");
3946
+ t = M("p"), n = O(r), B(t, "class", "SmsVerificationResendMessage");
3949
3947
  },
3950
3948
  m(i, o) {
3951
3949
  Z(i, t, o), E(t, n);
@@ -3960,17 +3958,17 @@ function xt(e) {
3960
3958
  }
3961
3959
  };
3962
3960
  }
3963
- function _t(e) {
3961
+ function St(e) {
3964
3962
  let t, r, n = (
3965
3963
  /*secondsLeft*/
3966
3964
  e[4] < 10 ? "0" : ""
3967
3965
  ), i, o, s;
3968
3966
  return {
3969
3967
  c() {
3970
- t = O("span"), r = M("(0:"), i = M(n), o = M(
3968
+ t = M("span"), r = O("(0:"), i = O(n), o = O(
3971
3969
  /*secondsLeft*/
3972
3970
  e[4]
3973
- ), s = M(")"), B(t, "class", "SmsVerificationResendTimer");
3971
+ ), s = O(")"), B(t, "class", "SmsVerificationResendTimer");
3974
3972
  },
3975
3973
  m(a, l) {
3976
3974
  Z(a, t, l), E(t, r), E(t, i), E(t, o), E(t, s);
@@ -4001,28 +3999,28 @@ function Ei(e) {
4001
3999
  /*$_*/
4002
4000
  e[5]("resend") + ""
4003
4001
  ), F, V, ue, le;
4004
- function he(p, C) {
4002
+ function he(p, I) {
4005
4003
  return (
4006
4004
  /*isSmsValid*/
4007
4005
  p[2] ? yi : vi
4008
4006
  );
4009
4007
  }
4010
4008
  let X = he(e), R = X(e), w = !/*isSmsValid*/
4011
- e[2] && Et(e), P = (
4009
+ e[2] && xt(e), P = (
4012
4010
  /*timer*/
4013
- e[3] && xt(e)
4011
+ e[3] && _t(e)
4014
4012
  ), f = (
4015
4013
  /*timer*/
4016
- e[3] && _t(e)
4014
+ e[3] && St(e)
4017
4015
  );
4018
4016
  return {
4019
4017
  c() {
4020
- t = O("div"), r = O("h3"), R.c(), n = z(), i = O("div"), o = O("label"), a = M(s), l = M(":"), u = O("span"), u.textContent = "*", h = z(), c = O("input"), d = z(), w && w.c(), y = z(), P && P.c(), _ = z(), T = O("button"), L = M(H), A = z(), S = O("button"), F = M(N), V = z(), 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*/
4018
+ t = M("div"), r = M("h3"), R.c(), n = z(), i = M("div"), o = M("label"), a = O(s), l = O(":"), u = M("span"), u.textContent = "*", h = z(), c = M("input"), d = z(), w && w.c(), y = z(), P && P.c(), _ = z(), T = M("button"), L = O(H), A = z(), S = M("button"), F = O(N), V = z(), 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*/
4021
4019
  e[2] ? "" : "InvalidField")), B(T, "class", "Button SmsVerificationValidate"), B(S, "class", "Button SmsVerificationResend"), S.disabled = /*timer*/
4022
4020
  e[3], B(t, "class", "Container SmsVerificationContainer");
4023
4021
  },
4024
- m(p, C) {
4025
- Z(p, t, C), E(t, r), R.m(r, null), E(t, n), E(t, i), E(i, o), E(o, a), E(o, l), E(o, u), E(i, h), E(i, c), nt(
4022
+ m(p, I) {
4023
+ Z(p, t, I), E(t, r), R.m(r, null), E(t, n), E(t, i), E(i, o), E(o, a), E(o, l), E(o, u), E(i, h), E(i, c), it(
4026
4024
  c,
4027
4025
  /*smsCode*/
4028
4026
  e[1]
@@ -4053,25 +4051,25 @@ function Ei(e) {
4053
4051
  )
4054
4052
  ], ue = !0);
4055
4053
  },
4056
- p(p, [C]) {
4057
- X === (X = he(p)) && R ? R.p(p, C) : (R.d(1), R = X(p), R && (R.c(), R.m(r, null))), C & /*$_*/
4054
+ p(p, [I]) {
4055
+ X === (X = he(p)) && R ? R.p(p, I) : (R.d(1), R = X(p), R && (R.c(), R.m(r, null))), I & /*$_*/
4058
4056
  32 && s !== (s = /*$_*/
4059
- p[5]("code") + "") && G(a, s), C & /*smsCode*/
4057
+ p[5]("code") + "") && G(a, s), I & /*smsCode*/
4060
4058
  2 && c.value !== /*smsCode*/
4061
- p[1] && nt(
4059
+ p[1] && it(
4062
4060
  c,
4063
4061
  /*smsCode*/
4064
4062
  p[1]
4065
4063
  ), /*isSmsValid*/
4066
- p[2] ? w && (w.d(1), w = null) : w ? w.p(p, C) : (w = Et(p), w.c(), w.m(i, null)), C & /*isSmsValid*/
4064
+ p[2] ? w && (w.d(1), w = null) : w ? w.p(p, I) : (w = xt(p), w.c(), w.m(i, null)), I & /*isSmsValid*/
4067
4065
  4 && g !== (g = "Field SmsVerificationField " + (/*isSmsValid*/
4068
4066
  p[2] ? "" : "InvalidField")) && B(i, "class", g), /*timer*/
4069
- p[3] ? P ? P.p(p, C) : (P = xt(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), C & /*$_*/
4067
+ p[3] ? P ? P.p(p, I) : (P = _t(p), P.c(), P.m(t, _)) : P && (P.d(1), P = null), I & /*$_*/
4070
4068
  32 && H !== (H = /*$_*/
4071
- p[5]("activate") + "") && G(L, H), C & /*$_*/
4069
+ p[5]("activate") + "") && G(L, H), I & /*$_*/
4072
4070
  32 && N !== (N = /*$_*/
4073
4071
  p[5]("resend") + "") && G(F, N), /*timer*/
4074
- p[3] ? f ? f.p(p, C) : (f = _t(p), f.c(), f.m(S, null)) : f && (f.d(1), f = null), C & /*timer*/
4072
+ p[3] ? f ? f.p(p, I) : (f = St(p), f.c(), f.m(S, null)) : f && (f.d(1), f = null), I & /*timer*/
4075
4073
  8 && (S.disabled = /*timer*/
4076
4074
  p[3]);
4077
4075
  },
@@ -4084,21 +4082,21 @@ function Ei(e) {
4084
4082
  }
4085
4083
  function xi(e, t, r) {
4086
4084
  let n;
4087
- nr(e, fi, (f) => r(5, n = f));
4085
+ ir(e, fi, (f) => r(5, n = f));
4088
4086
  let { endpoint: i = "" } = t, { tokenid: o = "" } = t, { playerid: s = "" } = t, { smstemplate: a = "Please use this code {0} to activate your accout" } = t, { number: l = "" } = t, { mbsource: u } = t, { clientstyling: h = "" } = 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);
4089
4087
  const N = { numeric: /^[0-9]{0,6}$/ };
4090
4088
  di({ withLocale: "en", translations: {} });
4091
4089
  const F = () => {
4092
4090
  fetch(d).then((p) => p.json()).then((p) => {
4093
- Object.keys(p).forEach((C) => {
4094
- vt(C, p[C]);
4091
+ Object.keys(p).forEach((I) => {
4092
+ yt(I, p[I]);
4095
4093
  });
4096
4094
  }).catch((p) => {
4097
4095
  console.log(p);
4098
4096
  });
4099
4097
  };
4100
- Object.keys(yt).forEach((f) => {
4101
- vt(f, yt[f]);
4098
+ Object.keys(Et).forEach((f) => {
4099
+ yt(f, Et[f]);
4102
4100
  });
4103
4101
  const V = () => be(this, null, function* () {
4104
4102
  try {
@@ -4157,7 +4155,7 @@ function xi(e, t, r) {
4157
4155
  }, X = (f) => {
4158
4156
  !N.numeric.test(f.key) && f.keyCode !== 8 && f.keyCode !== 9 && f.keyCode !== 46 && f.preventDefault();
4159
4157
  };
4160
- hr(() => {
4158
+ cr(() => {
4161
4159
  if (!s || !l) {
4162
4160
  let f = JSON.parse(localStorage.getItem("playerData"));
4163
4161
  r(10, s = f.playerid), r(11, l = f.number);
@@ -4207,14 +4205,14 @@ function xi(e, t, r) {
4207
4205
  P
4208
4206
  ];
4209
4207
  }
4210
- class _i extends _r {
4208
+ class _i extends Sr {
4211
4209
  constructor(t) {
4212
- super(), Er(
4210
+ super(), xr(
4213
4211
  this,
4214
4212
  t,
4215
4213
  xi,
4216
4214
  Ei,
4217
- Tt,
4215
+ Ht,
4218
4216
  {
4219
4217
  endpoint: 12,
4220
4218
  tokenid: 9,
@@ -4284,7 +4282,7 @@ class _i extends _r {
4284
4282
  this.$$set({ translationurl: t }), U();
4285
4283
  }
4286
4284
  }
4287
- xr(_i, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4285
+ _r(_i, { endpoint: {}, tokenid: {}, playerid: {}, smstemplate: {}, number: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4288
4286
  export {
4289
4287
  _i as default
4290
4288
  };