@everymatrix/general-player-forgot-password-sms-form 1.85.5 → 1.85.6

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,16 +1,16 @@
1
- var Nn = Object.defineProperty, In = Object.defineProperties;
2
- var Bn = Object.getOwnPropertyDescriptors;
3
- var nr = Object.getOwnPropertySymbols;
4
- var Mn = Object.prototype.hasOwnProperty, On = Object.prototype.propertyIsEnumerable;
5
- var Rt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ir = (e, t) => {
1
+ var In = Object.defineProperty, Bn = Object.defineProperties;
2
+ var Mn = Object.getOwnPropertyDescriptors;
3
+ var ir = Object.getOwnPropertySymbols;
4
+ var On = Object.prototype.hasOwnProperty, kn = Object.prototype.propertyIsEnumerable;
5
+ var Lt = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, or = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Mn.call(t, r) && Rt(e, r, t[r]);
8
- if (nr)
9
- for (var r of nr(t))
10
- On.call(t, r) && Rt(e, r, t[r]);
7
+ On.call(t, r) && Lt(e, r, t[r]);
8
+ if (ir)
9
+ for (var r of ir(t))
10
+ kn.call(t, r) && Lt(e, r, t[r]);
11
11
  return e;
12
- }, or = (e, t) => In(e, Bn(t));
13
- var ce = (e, t, r) => (Rt(e, typeof t != "symbol" ? t + "" : t, r), r);
12
+ }, sr = (e, t) => Bn(e, Mn(t));
13
+ var ce = (e, t, r) => (Lt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var me = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (d) => {
16
16
  try {
@@ -30,25 +30,25 @@ var me = (e, t, r) => new Promise((n, i) => {
30
30
  function ue() {
31
31
  }
32
32
  const Pt = (e) => e;
33
- function Dr(e) {
33
+ function Fr(e) {
34
34
  return e();
35
35
  }
36
- function sr() {
36
+ function ar() {
37
37
  return /* @__PURE__ */ Object.create(null);
38
38
  }
39
39
  function be(e) {
40
- e.forEach(Dr);
40
+ e.forEach(Fr);
41
41
  }
42
42
  function qe(e) {
43
43
  return typeof e == "function";
44
44
  }
45
- function Fr(e, t) {
45
+ function jr(e, t) {
46
46
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
47
47
  }
48
- function kn(e) {
48
+ function Un(e) {
49
49
  return Object.keys(e).length === 0;
50
50
  }
51
- function jr(e, ...t) {
51
+ function zr(e, ...t) {
52
52
  if (e == null) {
53
53
  for (const n of t)
54
54
  n(void 0);
@@ -57,10 +57,10 @@ function jr(e, ...t) {
57
57
  const r = e.subscribe(...t);
58
58
  return r.unsubscribe ? () => r.unsubscribe() : r;
59
59
  }
60
- function Un(e, t, r) {
61
- e.$$.on_destroy.push(jr(t, r));
60
+ function Dn(e, t, r) {
61
+ e.$$.on_destroy.push(zr(t, r));
62
62
  }
63
- function Dn(e) {
63
+ function Fn(e) {
64
64
  const t = typeof e == "string" && e.match(/^\s*(-?[\d.]+)([^\s]*)\s*$/);
65
65
  return t ? [parseFloat(t[1]), t[2] || "px"] : [
66
66
  /** @type {number} */
@@ -68,17 +68,17 @@ function Dn(e) {
68
68
  "px"
69
69
  ];
70
70
  }
71
- const zr = typeof window != "undefined";
72
- let Xt = zr ? () => window.performance.now() : () => Date.now(), Wt = zr ? (e) => requestAnimationFrame(e) : ue;
71
+ const Gr = typeof window != "undefined";
72
+ let Wt = Gr ? () => window.performance.now() : () => Date.now(), Zt = Gr ? (e) => requestAnimationFrame(e) : ue;
73
73
  const De = /* @__PURE__ */ new Set();
74
- function Gr(e) {
74
+ function $r(e) {
75
75
  De.forEach((t) => {
76
76
  t.c(e) || (De.delete(t), t.f());
77
- }), De.size !== 0 && Wt(Gr);
77
+ }), De.size !== 0 && Zt($r);
78
78
  }
79
- function Zt(e) {
79
+ function Yt(e) {
80
80
  let t;
81
- return De.size === 0 && Wt(Gr), {
81
+ return De.size === 0 && Zt($r), {
82
82
  promise: new Promise((r) => {
83
83
  De.add(t = { c: e, f: r });
84
84
  }),
@@ -90,14 +90,14 @@ function Zt(e) {
90
90
  function m(e, t) {
91
91
  e.appendChild(t);
92
92
  }
93
- function Fn(e, t, r) {
94
- const n = Yt(e);
93
+ function jn(e, t, r) {
94
+ const n = Qt(e);
95
95
  if (!n.getElementById(t)) {
96
96
  const i = x("style");
97
- i.id = t, i.textContent = r, $r(n, i);
97
+ i.id = t, i.textContent = r, Vr(n, i);
98
98
  }
99
99
  }
100
- function Yt(e) {
100
+ function Qt(e) {
101
101
  if (!e)
102
102
  return document;
103
103
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -107,11 +107,11 @@ function Yt(e) {
107
107
  t
108
108
  ) : e.ownerDocument;
109
109
  }
110
- function jn(e) {
110
+ function zn(e) {
111
111
  const t = x("style");
112
- return t.textContent = "/* empty */", $r(Yt(e), t), t.sheet;
112
+ return t.textContent = "/* empty */", Vr(Qt(e), t), t.sheet;
113
113
  }
114
- function $r(e, t) {
114
+ function Vr(e, t) {
115
115
  return m(
116
116
  /** @type {Document} */
117
117
  e.head || e,
@@ -121,10 +121,10 @@ function $r(e, t) {
121
121
  function te(e, t, r) {
122
122
  e.insertBefore(t, r || null);
123
123
  }
124
- function Z(e) {
124
+ function Y(e) {
125
125
  e.parentNode && e.parentNode.removeChild(e);
126
126
  }
127
- function zn(e, t) {
127
+ function Gn(e, t) {
128
128
  for (let r = 0; r < e.length; r += 1)
129
129
  e[r] && e[r].d(t);
130
130
  }
@@ -147,10 +147,10 @@ function Ne(e, t, r) {
147
147
  const n = t.toLowerCase();
148
148
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : p(e, t, r);
149
149
  }
150
- function Gn(e) {
150
+ function $n(e) {
151
151
  return Array.from(e.childNodes);
152
152
  }
153
- function X(e, t) {
153
+ function W(e, t) {
154
154
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
155
155
  t);
156
156
  }
@@ -160,10 +160,10 @@ function ht(e, t) {
160
160
  function at(e, t, r) {
161
161
  e.classList.toggle(t, !!r);
162
162
  }
163
- function $n(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
163
+ function Vn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
164
164
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
165
165
  }
166
- function Vn(e) {
166
+ function qn(e) {
167
167
  const t = {};
168
168
  return e.childNodes.forEach(
169
169
  /** @param {Element} node */
@@ -174,14 +174,14 @@ function Vn(e) {
174
174
  }
175
175
  const pt = /* @__PURE__ */ new Map();
176
176
  let mt = 0;
177
- function qn(e) {
177
+ function Xn(e) {
178
178
  let t = 5381, r = e.length;
179
179
  for (; r--; )
180
180
  t = (t << 5) - t ^ e.charCodeAt(r);
181
181
  return t >>> 0;
182
182
  }
183
- function Xn(e, t) {
184
- const r = { stylesheet: jn(t), rules: {} };
183
+ function Wn(e, t) {
184
+ const r = { stylesheet: zn(t), rules: {} };
185
185
  return pt.set(e, r), r;
186
186
  }
187
187
  function bt(e, t, r, n, i, o, s, a = 0) {
@@ -194,7 +194,7 @@ function bt(e, t, r, n, i, o, s, a = 0) {
194
194
  `;
195
195
  }
196
196
  const u = l + `100% {${s(r, 1 - r)}}
197
- }`, c = `__svelte_${qn(u)}_${a}`, h = Yt(e), { stylesheet: g, rules: b } = pt.get(h) || Xn(h, e);
197
+ }`, c = `__svelte_${Xn(u)}_${a}`, h = Qt(e), { stylesheet: g, rules: b } = pt.get(h) || Wn(h, e);
198
198
  b[c] || (b[c] = !0, g.insertRule(`@keyframes ${c} ${u}`, g.cssRules.length));
199
199
  const w = e.style.animation || "";
200
200
  return e.style.animation = `${w ? `${w}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, mt += 1, c;
@@ -204,13 +204,13 @@ function gt(e, t) {
204
204
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
205
205
  // remove all Svelte animations
206
206
  ), i = r.length - n.length;
207
- i && (e.style.animation = n.join(", "), mt -= i, mt || Wn());
207
+ i && (e.style.animation = n.join(", "), mt -= i, mt || Zn());
208
208
  }
209
- function Wn() {
210
- Wt(() => {
209
+ function Zn() {
210
+ Zt(() => {
211
211
  mt || (pt.forEach((e) => {
212
212
  const { ownerNode: t } = e.stylesheet;
213
- t && Z(t);
213
+ t && Y(t);
214
214
  }), pt.clear());
215
215
  });
216
216
  }
@@ -218,25 +218,25 @@ let tt;
218
218
  function et(e) {
219
219
  tt = e;
220
220
  }
221
- function Zn() {
221
+ function Yn() {
222
222
  if (!tt)
223
223
  throw new Error("Function called outside component initialization");
224
224
  return tt;
225
225
  }
226
- function Yn(e) {
227
- Zn().$$.on_mount.push(e);
226
+ function Qn(e) {
227
+ Yn().$$.on_mount.push(e);
228
228
  }
229
229
  const Ue = [], vt = [];
230
230
  let Fe = [];
231
- const ar = [], Qn = /* @__PURE__ */ Promise.resolve();
232
- let kt = !1;
233
- function Jn() {
234
- kt || (kt = !0, Qn.then(se));
231
+ const lr = [], Jn = /* @__PURE__ */ Promise.resolve();
232
+ let Ut = !1;
233
+ function Kn() {
234
+ Ut || (Ut = !0, Jn.then(se));
235
235
  }
236
236
  function he(e) {
237
237
  Fe.push(e);
238
238
  }
239
- const Lt = /* @__PURE__ */ new Set();
239
+ const Ht = /* @__PURE__ */ new Set();
240
240
  let Oe = 0;
241
241
  function se() {
242
242
  if (Oe !== 0)
@@ -246,7 +246,7 @@ function se() {
246
246
  try {
247
247
  for (; Oe < Ue.length; ) {
248
248
  const t = Ue[Oe];
249
- Oe++, et(t), Kn(t.$$);
249
+ Oe++, et(t), ei(t.$$);
250
250
  }
251
251
  } catch (t) {
252
252
  throw Ue.length = 0, Oe = 0, t;
@@ -255,33 +255,33 @@ function se() {
255
255
  vt.pop()();
256
256
  for (let t = 0; t < Fe.length; t += 1) {
257
257
  const r = Fe[t];
258
- Lt.has(r) || (Lt.add(r), r());
258
+ Ht.has(r) || (Ht.add(r), r());
259
259
  }
260
260
  Fe.length = 0;
261
261
  } while (Ue.length);
262
- for (; ar.length; )
263
- ar.pop()();
264
- kt = !1, Lt.clear(), et(e);
262
+ for (; lr.length; )
263
+ lr.pop()();
264
+ Ut = !1, Ht.clear(), et(e);
265
265
  }
266
- function Kn(e) {
266
+ function ei(e) {
267
267
  if (e.fragment !== null) {
268
268
  e.update(), be(e.before_update);
269
269
  const t = e.dirty;
270
270
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(he);
271
271
  }
272
272
  }
273
- function ei(e) {
273
+ function ti(e) {
274
274
  const t = [], r = [];
275
275
  Fe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Fe = t;
276
276
  }
277
277
  let Je;
278
- function Qt() {
278
+ function Jt() {
279
279
  return Je || (Je = Promise.resolve(), Je.then(() => {
280
280
  Je = null;
281
281
  })), Je;
282
282
  }
283
283
  function Ie(e, t, r) {
284
- e.dispatchEvent($n(`${t ? "intro" : "outro"}${r}`));
284
+ e.dispatchEvent(Vn(`${t ? "intro" : "outro"}${r}`));
285
285
  }
286
286
  const ut = /* @__PURE__ */ new Set();
287
287
  let Pe;
@@ -309,8 +309,8 @@ function je(e, t, r, n) {
309
309
  } else
310
310
  n && n();
311
311
  }
312
- const Jt = { duration: 0 };
313
- function ti(e, t, r) {
312
+ const Kt = { duration: 0 };
313
+ function ri(e, t, r) {
314
314
  const n = { direction: "in" };
315
315
  let i = t(e, r, n), o = !1, s, a, d = 0;
316
316
  function l() {
@@ -323,10 +323,10 @@ function ti(e, t, r) {
323
323
  easing: b = Pt,
324
324
  tick: w = ue,
325
325
  css: P
326
- } = i || Jt;
326
+ } = i || Kt;
327
327
  P && (s = bt(e, 0, 1, g, h, b, P, d++)), w(0, 1);
328
- const S = Xt() + h, E = S + g;
329
- a && a.abort(), o = !0, he(() => Ie(e, !0, "start")), a = Zt((_) => {
328
+ const S = Wt() + h, E = S + g;
329
+ a && a.abort(), o = !0, he(() => Ie(e, !0, "start")), a = Yt((_) => {
330
330
  if (o) {
331
331
  if (_ >= E)
332
332
  return w(1, 0), Ie(e, !0, "end"), l(), o = !1;
@@ -341,7 +341,7 @@ function ti(e, t, r) {
341
341
  let c = !1;
342
342
  return {
343
343
  start() {
344
- c || (c = !0, gt(e), qe(i) ? (i = i(n), Qt().then(u)) : u());
344
+ c || (c = !0, gt(e), qe(i) ? (i = i(n), Jt().then(u)) : u());
345
345
  },
346
346
  invalidate() {
347
347
  c = !1;
@@ -351,7 +351,7 @@ function ti(e, t, r) {
351
351
  }
352
352
  };
353
353
  }
354
- function ri(e, t, r) {
354
+ function ni(e, t, r) {
355
355
  const n = { direction: "out" };
356
356
  let i = t(e, r, n), o = !0, s;
357
357
  const a = Pe;
@@ -364,11 +364,11 @@ function ri(e, t, r) {
364
364
  easing: h = Pt,
365
365
  tick: g = ue,
366
366
  css: b
367
- } = i || Jt;
367
+ } = i || Kt;
368
368
  b && (s = bt(e, 1, 0, c, u, h, b));
369
- const w = Xt() + u, P = w + c;
369
+ const w = Wt() + u, P = w + c;
370
370
  he(() => Ie(e, !1, "start")), "inert" in e && (d = /** @type {HTMLElement} */
371
- e.inert, e.inert = !0), Zt((S) => {
371
+ e.inert, e.inert = !0), Yt((S) => {
372
372
  if (o) {
373
373
  if (S >= P)
374
374
  return g(0, 1), Ie(e, !1, "end"), --a.r || be(a.c), !1;
@@ -380,7 +380,7 @@ function ri(e, t, r) {
380
380
  return o;
381
381
  });
382
382
  }
383
- return qe(i) ? Qt().then(() => {
383
+ return qe(i) ? Jt().then(() => {
384
384
  i = i(n), l();
385
385
  }) : l(), {
386
386
  end(u) {
@@ -415,12 +415,12 @@ function xe(e, t, r, n) {
415
415
  easing: S = Pt,
416
416
  tick: E = ue,
417
417
  css: _
418
- } = o || Jt, H = {
419
- start: Xt() + w,
418
+ } = o || Kt, H = {
419
+ start: Wt() + w,
420
420
  b
421
421
  };
422
422
  b || (H.group = Pe, Pe.r += 1), "inert" in e && (b ? u !== void 0 && (e.inert = u) : (u = /** @type {HTMLElement} */
423
- e.inert, e.inert = !0)), a || d ? d = H : (_ && (c(), l = bt(e, s, b, P, w, S, _)), b && E(0, 1), a = h(H, P), he(() => Ie(e, b, "start")), Zt((T) => {
423
+ e.inert, e.inert = !0)), a || d ? d = H : (_ && (c(), l = bt(e, s, b, P, w, S, _)), b && E(0, 1), a = h(H, P), he(() => Ie(e, b, "start")), Yt((T) => {
424
424
  if (d && T > d.start && (a = h(d, P), d = null, Ie(e, a.b, "start"), _ && (c(), l = bt(
425
425
  e,
426
426
  s,
@@ -433,8 +433,8 @@ function xe(e, t, r, n) {
433
433
  if (T >= a.end)
434
434
  E(s = a.b, 1 - s), Ie(e, a.b, "end"), d || (a.b ? c() : --a.group.r || be(a.group.c)), a = null;
435
435
  else if (T >= a.start) {
436
- const D = T - a.start;
437
- s = a.a + a.d * S(D / a.duration), E(s, 1 - s);
436
+ const F = T - a.start;
437
+ s = a.a + a.d * S(F / a.duration), E(s, 1 - s);
438
438
  }
439
439
  }
440
440
  return !!(a || d);
@@ -442,7 +442,7 @@ function xe(e, t, r, n) {
442
442
  }
443
443
  return {
444
444
  run(b) {
445
- qe(o) ? Qt().then(() => {
445
+ qe(o) ? Jt().then(() => {
446
446
  o = o({ direction: b ? "in" : "out" }), g(b);
447
447
  }) : g(b);
448
448
  },
@@ -451,24 +451,24 @@ function xe(e, t, r, n) {
451
451
  }
452
452
  };
453
453
  }
454
- function lr(e) {
454
+ function ur(e) {
455
455
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
456
456
  }
457
- function ni(e, t, r) {
457
+ function ii(e, t, r) {
458
458
  const { fragment: n, after_update: i } = e.$$;
459
459
  n && n.m(t, r), he(() => {
460
- const o = e.$$.on_mount.map(Dr).filter(qe);
460
+ const o = e.$$.on_mount.map(Fr).filter(qe);
461
461
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : be(o), e.$$.on_mount = [];
462
462
  }), i.forEach(he);
463
463
  }
464
- function ii(e, t) {
464
+ function oi(e, t) {
465
465
  const r = e.$$;
466
- r.fragment !== null && (ei(r.after_update), be(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
466
+ r.fragment !== null && (ti(r.after_update), be(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
467
467
  }
468
- function oi(e, t) {
469
- e.$$.dirty[0] === -1 && (Ue.push(e), Jn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
468
+ function si(e, t) {
469
+ e.$$.dirty[0] === -1 && (Ue.push(e), Kn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
470
470
  }
471
- function si(e, t, r, n, i, o, s = null, a = [-1]) {
471
+ function ai(e, t, r, n, i, o, s = null, a = [-1]) {
472
472
  const d = tt;
473
473
  et(e);
474
474
  const l = e.$$ = {
@@ -478,7 +478,7 @@ function si(e, t, r, n, i, o, s = null, a = [-1]) {
478
478
  props: o,
479
479
  update: ue,
480
480
  not_equal: i,
481
- bound: sr(),
481
+ bound: ar(),
482
482
  // lifecycle
483
483
  on_mount: [],
484
484
  on_destroy: [],
@@ -487,7 +487,7 @@ function si(e, t, r, n, i, o, s = null, a = [-1]) {
487
487
  after_update: [],
488
488
  context: new Map(t.context || (d ? d.$$.context : [])),
489
489
  // everything else
490
- callbacks: sr(),
490
+ callbacks: ar(),
491
491
  dirty: a,
492
492
  skip_bound: !1,
493
493
  root: t.target || d.$$.root
@@ -496,19 +496,19 @@ function si(e, t, r, n, i, o, s = null, a = [-1]) {
496
496
  let u = !1;
497
497
  if (l.ctx = r ? r(e, t.props || {}, (c, h, ...g) => {
498
498
  const b = g.length ? g[0] : h;
499
- return l.ctx && i(l.ctx[c], l.ctx[c] = b) && (!l.skip_bound && l.bound[c] && l.bound[c](b), u && oi(e, c)), h;
499
+ return l.ctx && i(l.ctx[c], l.ctx[c] = b) && (!l.skip_bound && l.bound[c] && l.bound[c](b), u && si(e, c)), h;
500
500
  }) : [], l.update(), u = !0, be(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
501
501
  if (t.hydrate) {
502
- const c = Gn(t.target);
503
- l.fragment && l.fragment.l(c), c.forEach(Z);
502
+ const c = $n(t.target);
503
+ l.fragment && l.fragment.l(c), c.forEach(Y);
504
504
  } else
505
505
  l.fragment && l.fragment.c();
506
- t.intro && fe(e.$$.fragment), ni(e, t.target, t.anchor), se();
506
+ t.intro && fe(e.$$.fragment), ii(e, t.target, t.anchor), se();
507
507
  }
508
508
  et(d);
509
509
  }
510
- let Vr;
511
- typeof HTMLElement == "function" && (Vr = class extends HTMLElement {
510
+ let qr;
511
+ typeof HTMLElement == "function" && (qr = class extends HTMLElement {
512
512
  constructor(t, r, n) {
513
513
  super();
514
514
  /** The Svelte component constructor */
@@ -562,14 +562,14 @@ typeof HTMLElement == "function" && (Vr = class extends HTMLElement {
562
562
  te(l, s, u);
563
563
  },
564
564
  d: function(l) {
565
- l && Z(s);
565
+ l && Y(s);
566
566
  }
567
567
  };
568
568
  };
569
569
  };
570
570
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
571
571
  return;
572
- const r = {}, n = Vn(this);
572
+ const r = {}, n = qn(this);
573
573
  for (const o of this.$$s)
574
574
  o in n && (r[o] = [t(o)]);
575
575
  for (const o of this.attributes) {
@@ -580,7 +580,7 @@ typeof HTMLElement == "function" && (Vr = class extends HTMLElement {
580
580
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
581
581
  this.$$c = new this.$$ctor({
582
582
  target: this.shadowRoot || this,
583
- props: or(ir({}, this.$$d), {
583
+ props: sr(or({}, this.$$d), {
584
584
  $$slots: r,
585
585
  $$scope: {
586
586
  ctx: []
@@ -658,8 +658,8 @@ function dt(e, t, r, n) {
658
658
  return t;
659
659
  }
660
660
  }
661
- function ai(e, t, r, n, i, o) {
662
- let s = class extends Vr {
661
+ function li(e, t, r, n, i, o) {
662
+ let s = class extends qr {
663
663
  constructor() {
664
664
  super(e, r, i), this.$$p_d = t;
665
665
  }
@@ -689,7 +689,7 @@ function ai(e, t, r, n, i, o) {
689
689
  }), e.element = /** @type {any} */
690
690
  s, s;
691
691
  }
692
- class li {
692
+ class ui {
693
693
  constructor() {
694
694
  /**
695
695
  * ### PRIVATE API
@@ -710,7 +710,7 @@ class li {
710
710
  }
711
711
  /** @returns {void} */
712
712
  $destroy() {
713
- ii(this, 1), this.$destroy = ue;
713
+ oi(this, 1), this.$destroy = ue;
714
714
  }
715
715
  /**
716
716
  * @template {Extract<keyof Events, string>} K
@@ -732,23 +732,23 @@ class li {
732
732
  * @returns {void}
733
733
  */
734
734
  $set(t) {
735
- this.$$set && !kn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
735
+ this.$$set && !Un(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
736
736
  }
737
737
  }
738
- const ui = "4";
739
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ui);
740
- function di(e) {
738
+ const di = "4";
739
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(di);
740
+ function ci(e) {
741
741
  return e < 0.5 ? 4 * e * e * e : 0.5 * Math.pow(2 * e - 2, 3) + 1;
742
742
  }
743
- function ci(e) {
743
+ function fi(e) {
744
744
  const t = e - 1;
745
745
  return t * t * t + 1;
746
746
  }
747
- function Ht(e) {
747
+ function At(e) {
748
748
  return --e * e * e * e * e + 1;
749
749
  }
750
- function Re(e, { delay: t = 0, duration: r = 400, easing: n = di, amount: i = 5, opacity: o = 0 } = {}) {
751
- const s = getComputedStyle(e), a = +s.opacity, d = s.filter === "none" ? "" : s.filter, l = a * (1 - o), [u, c] = Dn(i);
750
+ function Re(e, { delay: t = 0, duration: r = 400, easing: n = ci, amount: i = 5, opacity: o = 0 } = {}) {
751
+ const s = getComputedStyle(e), a = +s.opacity, d = s.filter === "none" ? "" : s.filter, l = a * (1 - o), [u, c] = Fn(i);
752
752
  return {
753
753
  delay: t,
754
754
  duration: r,
@@ -756,7 +756,7 @@ function Re(e, { delay: t = 0, duration: r = 400, easing: n = di, amount: i = 5,
756
756
  css: (h, g) => `opacity: ${a - l * g}; filter: ${d} blur(${g * u}${c});`
757
757
  };
758
758
  }
759
- function ur(e, { delay: t = 0, duration: r = 400, easing: n = Pt } = {}) {
759
+ function dr(e, { delay: t = 0, duration: r = 400, easing: n = Pt } = {}) {
760
760
  const i = +getComputedStyle(e).opacity;
761
761
  return {
762
762
  delay: t,
@@ -765,7 +765,7 @@ function ur(e, { delay: t = 0, duration: r = 400, easing: n = Pt } = {}) {
765
765
  css: (o) => `opacity: ${o * i}`
766
766
  };
767
767
  }
768
- function dr(e, { delay: t = 0, duration: r = 400, easing: n = ci, start: i = 0, opacity: o = 0 } = {}) {
768
+ function cr(e, { delay: t = 0, duration: r = 400, easing: n = fi, start: i = 0, opacity: o = 0 } = {}) {
769
769
  const s = getComputedStyle(e), a = +s.opacity, d = s.transform === "none" ? "" : s.transform, l = 1 - i, u = a * (1 - o);
770
770
  return {
771
771
  delay: t,
@@ -778,7 +778,7 @@ function dr(e, { delay: t = 0, duration: r = 400, easing: n = ci, start: i = 0,
778
778
  };
779
779
  }
780
780
  const ke = [];
781
- function fi(e, t) {
781
+ function hi(e, t) {
782
782
  return {
783
783
  subscribe: xt(e, t).subscribe
784
784
  };
@@ -787,7 +787,7 @@ function xt(e, t = ue) {
787
787
  let r;
788
788
  const n = /* @__PURE__ */ new Set();
789
789
  function i(a) {
790
- if (Fr(e, a) && (e = a, r)) {
790
+ if (jr(e, a) && (e = a, r)) {
791
791
  const d = !ke.length;
792
792
  for (const l of n)
793
793
  l[1](), ke.push(l, e);
@@ -814,7 +814,7 @@ function Xe(e, t, r) {
814
814
  if (!i.every(Boolean))
815
815
  throw new Error("derived() expects stores as input, got a falsy value");
816
816
  const o = t.length < 2;
817
- return fi(r, (s, a) => {
817
+ return hi(r, (s, a) => {
818
818
  let d = !1;
819
819
  const l = [];
820
820
  let u = 0, c = ue;
@@ -825,7 +825,7 @@ function Xe(e, t, r) {
825
825
  const b = t(n ? l[0] : l, s, a);
826
826
  o ? s(b) : c = qe(b) ? b : ue;
827
827
  }, g = i.map(
828
- (b, w) => jr(
828
+ (b, w) => zr(
829
829
  b,
830
830
  (P) => {
831
831
  l[w] = P, u &= ~(1 << w), d && h();
@@ -840,70 +840,70 @@ function Xe(e, t, r) {
840
840
  };
841
841
  });
842
842
  }
843
- function hi(e) {
843
+ function pi(e) {
844
844
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
845
845
  }
846
- var pi = function(t) {
847
- return mi(t) && !bi(t);
846
+ var mi = function(t) {
847
+ return bi(t) && !gi(t);
848
848
  };
849
- function mi(e) {
849
+ function bi(e) {
850
850
  return !!e && typeof e == "object";
851
851
  }
852
- function bi(e) {
852
+ function gi(e) {
853
853
  var t = Object.prototype.toString.call(e);
854
- return t === "[object RegExp]" || t === "[object Date]" || yi(e);
855
- }
856
- var gi = typeof Symbol == "function" && Symbol.for, vi = gi ? Symbol.for("react.element") : 60103;
857
- function yi(e) {
858
- return e.$$typeof === vi;
854
+ return t === "[object RegExp]" || t === "[object Date]" || wi(e);
859
855
  }
856
+ var vi = typeof Symbol == "function" && Symbol.for, yi = vi ? Symbol.for("react.element") : 60103;
860
857
  function wi(e) {
858
+ return e.$$typeof === yi;
859
+ }
860
+ function _i(e) {
861
861
  return Array.isArray(e) ? [] : {};
862
862
  }
863
863
  function it(e, t) {
864
- return t.clone !== !1 && t.isMergeableObject(e) ? ze(wi(e), e, t) : e;
864
+ return t.clone !== !1 && t.isMergeableObject(e) ? ze(_i(e), e, t) : e;
865
865
  }
866
- function _i(e, t, r) {
866
+ function Pi(e, t, r) {
867
867
  return e.concat(t).map(function(n) {
868
868
  return it(n, r);
869
869
  });
870
870
  }
871
- function Pi(e, t) {
871
+ function xi(e, t) {
872
872
  if (!t.customMerge)
873
873
  return ze;
874
874
  var r = t.customMerge(e);
875
875
  return typeof r == "function" ? r : ze;
876
876
  }
877
- function xi(e) {
877
+ function Ei(e) {
878
878
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
879
879
  return Object.propertyIsEnumerable.call(e, t);
880
880
  }) : [];
881
881
  }
882
- function cr(e) {
883
- return Object.keys(e).concat(xi(e));
882
+ function fr(e) {
883
+ return Object.keys(e).concat(Ei(e));
884
884
  }
885
- function qr(e, t) {
885
+ function Xr(e, t) {
886
886
  try {
887
887
  return t in e;
888
888
  } catch (r) {
889
889
  return !1;
890
890
  }
891
891
  }
892
- function Ei(e, t) {
893
- return qr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
892
+ function Si(e, t) {
893
+ return Xr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
894
894
  }
895
- function Si(e, t, r) {
895
+ function Ti(e, t, r) {
896
896
  var n = {};
897
- return r.isMergeableObject(e) && cr(e).forEach(function(i) {
897
+ return r.isMergeableObject(e) && fr(e).forEach(function(i) {
898
898
  n[i] = it(e[i], r);
899
- }), cr(t).forEach(function(i) {
900
- Ei(e, i) || (qr(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pi(i, r)(e[i], t[i], r) : n[i] = it(t[i], r));
899
+ }), fr(t).forEach(function(i) {
900
+ Si(e, i) || (Xr(e, i) && r.isMergeableObject(t[i]) ? n[i] = xi(i, r)(e[i], t[i], r) : n[i] = it(t[i], r));
901
901
  }), n;
902
902
  }
903
903
  function ze(e, t, r) {
904
- r = r || {}, r.arrayMerge = r.arrayMerge || _i, r.isMergeableObject = r.isMergeableObject || pi, r.cloneUnlessOtherwiseSpecified = it;
904
+ r = r || {}, r.arrayMerge = r.arrayMerge || Pi, r.isMergeableObject = r.isMergeableObject || mi, r.cloneUnlessOtherwiseSpecified = it;
905
905
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
906
- return o ? n ? r.arrayMerge(e, t, r) : Si(e, t, r) : it(t, r);
906
+ return o ? n ? r.arrayMerge(e, t, r) : Ti(e, t, r) : it(t, r);
907
907
  }
908
908
  ze.all = function(t, r) {
909
909
  if (!Array.isArray(t))
@@ -912,20 +912,20 @@ ze.all = function(t, r) {
912
912
  return ze(n, i, r);
913
913
  }, {});
914
914
  };
915
- var Ti = ze, Ci = Ti;
916
- const Ri = /* @__PURE__ */ hi(Ci);
917
- var Ut = function(e, t) {
918
- return Ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
915
+ var Ci = ze, Ri = Ci;
916
+ const Li = /* @__PURE__ */ pi(Ri);
917
+ var Dt = function(e, t) {
918
+ return Dt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
919
919
  r.__proto__ = n;
920
920
  } || function(r, n) {
921
921
  for (var i in n)
922
922
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
923
- }, Ut(e, t);
923
+ }, Dt(e, t);
924
924
  };
925
925
  function Et(e, t) {
926
926
  if (typeof t != "function" && t !== null)
927
927
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
928
- Ut(e, t);
928
+ Dt(e, t);
929
929
  function r() {
930
930
  this.constructor = e;
931
931
  }
@@ -941,7 +941,7 @@ var _e = function() {
941
941
  return t;
942
942
  }, _e.apply(this, arguments);
943
943
  };
944
- function Li(e, t) {
944
+ function Hi(e, t) {
945
945
  var r = {};
946
946
  for (var n in e)
947
947
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -950,43 +950,43 @@ function Li(e, t) {
950
950
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
951
951
  return r;
952
952
  }
953
- function At(e, t, r) {
953
+ function Nt(e, t, r) {
954
954
  if (r || arguments.length === 2)
955
955
  for (var n = 0, i = t.length, o; n < i; n++)
956
956
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
957
957
  return e.concat(o || Array.prototype.slice.call(t));
958
958
  }
959
- function Nt(e, t) {
960
- var r = t && t.cache ? t.cache : Oi, n = t && t.serializer ? t.serializer : Bi, i = t && t.strategy ? t.strategy : Ni;
959
+ function It(e, t) {
960
+ var r = t && t.cache ? t.cache : ki, n = t && t.serializer ? t.serializer : Mi, i = t && t.strategy ? t.strategy : Ii;
961
961
  return i(e, {
962
962
  cache: r,
963
963
  serializer: n
964
964
  });
965
965
  }
966
- function Hi(e) {
966
+ function Ai(e) {
967
967
  return e == null || typeof e == "number" || typeof e == "boolean";
968
968
  }
969
- function Ai(e, t, r, n) {
970
- var i = Hi(n) ? n : r(n), o = t.get(i);
969
+ function Ni(e, t, r, n) {
970
+ var i = Ai(n) ? n : r(n), o = t.get(i);
971
971
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
972
972
  }
973
- function Xr(e, t, r) {
973
+ function Wr(e, t, r) {
974
974
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
975
975
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
976
976
  }
977
- function Wr(e, t, r, n, i) {
977
+ function Zr(e, t, r, n, i) {
978
978
  return r.bind(t, e, n, i);
979
979
  }
980
- function Ni(e, t) {
981
- var r = e.length === 1 ? Ai : Xr;
982
- return Wr(e, this, r, t.cache.create(), t.serializer);
983
- }
984
980
  function Ii(e, t) {
985
- return Wr(e, this, Xr, t.cache.create(), t.serializer);
981
+ var r = e.length === 1 ? Ni : Wr;
982
+ return Zr(e, this, r, t.cache.create(), t.serializer);
986
983
  }
987
- var Bi = function() {
984
+ function Bi(e, t) {
985
+ return Zr(e, this, Wr, t.cache.create(), t.serializer);
986
+ }
987
+ var Mi = function() {
988
988
  return JSON.stringify(arguments);
989
- }, Mi = (
989
+ }, Oi = (
990
990
  /** @class */
991
991
  function() {
992
992
  function e() {
@@ -998,12 +998,12 @@ var Bi = function() {
998
998
  this.cache[t] = r;
999
999
  }, e;
1000
1000
  }()
1001
- ), Oi = {
1001
+ ), ki = {
1002
1002
  create: function() {
1003
- return new Mi();
1003
+ return new Oi();
1004
1004
  }
1005
- }, It = {
1006
- variadic: Ii
1005
+ }, Bt = {
1006
+ variadic: Bi
1007
1007
  }, yt = function() {
1008
1008
  return yt = Object.assign || function(t) {
1009
1009
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -1018,51 +1018,51 @@ var A;
1018
1018
  (function(e) {
1019
1019
  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";
1020
1020
  })(A || (A = {}));
1021
- var F;
1021
+ var j;
1022
1022
  (function(e) {
1023
1023
  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";
1024
- })(F || (F = {}));
1024
+ })(j || (j = {}));
1025
1025
  var Ge;
1026
1026
  (function(e) {
1027
1027
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1028
1028
  })(Ge || (Ge = {}));
1029
- function fr(e) {
1030
- return e.type === F.literal;
1029
+ function hr(e) {
1030
+ return e.type === j.literal;
1031
1031
  }
1032
- function ki(e) {
1033
- return e.type === F.argument;
1034
- }
1035
- function Zr(e) {
1036
- return e.type === F.number;
1032
+ function Ui(e) {
1033
+ return e.type === j.argument;
1037
1034
  }
1038
1035
  function Yr(e) {
1039
- return e.type === F.date;
1036
+ return e.type === j.number;
1040
1037
  }
1041
1038
  function Qr(e) {
1042
- return e.type === F.time;
1039
+ return e.type === j.date;
1043
1040
  }
1044
1041
  function Jr(e) {
1045
- return e.type === F.select;
1042
+ return e.type === j.time;
1046
1043
  }
1047
1044
  function Kr(e) {
1048
- return e.type === F.plural;
1049
- }
1050
- function Ui(e) {
1051
- return e.type === F.pound;
1045
+ return e.type === j.select;
1052
1046
  }
1053
1047
  function en(e) {
1054
- return e.type === F.tag;
1048
+ return e.type === j.plural;
1049
+ }
1050
+ function Di(e) {
1051
+ return e.type === j.pound;
1055
1052
  }
1056
1053
  function tn(e) {
1054
+ return e.type === j.tag;
1055
+ }
1056
+ function rn(e) {
1057
1057
  return !!(e && typeof e == "object" && e.type === Ge.number);
1058
1058
  }
1059
- function Dt(e) {
1059
+ function Ft(e) {
1060
1060
  return !!(e && typeof e == "object" && e.type === Ge.dateTime);
1061
1061
  }
1062
- var rn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Di = /(?:[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;
1063
- function Fi(e) {
1062
+ var nn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Fi = /(?:[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;
1063
+ function ji(e) {
1064
1064
  var t = {};
1065
- return e.replace(Di, function(r) {
1065
+ return e.replace(Fi, function(r) {
1066
1066
  var n = r.length;
1067
1067
  switch (r[0]) {
1068
1068
  case "G":
@@ -1161,11 +1161,11 @@ var $ = function() {
1161
1161
  return t;
1162
1162
  }, $.apply(this, arguments);
1163
1163
  };
1164
- var ji = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1165
- function zi(e) {
1164
+ var zi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1165
+ function Gi(e) {
1166
1166
  if (e.length === 0)
1167
1167
  throw new Error("Number skeleton cannot be empty");
1168
- for (var t = e.split(ji).filter(function(h) {
1168
+ for (var t = e.split(zi).filter(function(h) {
1169
1169
  return h.length > 0;
1170
1170
  }), r = [], n = 0, i = t; n < i.length; n++) {
1171
1171
  var o = i[n], s = o.split("/");
@@ -1180,17 +1180,17 @@ function zi(e) {
1180
1180
  }
1181
1181
  return r;
1182
1182
  }
1183
- function Gi(e) {
1183
+ function $i(e) {
1184
1184
  return e.replace(/^(.*?)-/, "");
1185
1185
  }
1186
- var hr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nn = /^(@+)?(\+|#+)?[rs]?$/g, $i = /(\*)(0+)|(#+)(0+)|(0+)/g, on = /^(0+)$/;
1187
- function pr(e) {
1186
+ var pr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, on = /^(@+)?(\+|#+)?[rs]?$/g, Vi = /(\*)(0+)|(#+)(0+)|(0+)/g, sn = /^(0+)$/;
1187
+ function mr(e) {
1188
1188
  var t = {};
1189
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nn, function(r, n, i) {
1189
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(on, function(r, n, i) {
1190
1190
  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)), "";
1191
1191
  }), t;
1192
1192
  }
1193
- function sn(e) {
1193
+ function an(e) {
1194
1194
  switch (e) {
1195
1195
  case "sign-auto":
1196
1196
  return {
@@ -1230,7 +1230,7 @@ function sn(e) {
1230
1230
  };
1231
1231
  }
1232
1232
  }
1233
- function Vi(e) {
1233
+ function qi(e) {
1234
1234
  var t;
1235
1235
  if (e[0] === "E" && e[1] === "E" ? (t = {
1236
1236
  notation: "engineering"
@@ -1238,17 +1238,17 @@ function Vi(e) {
1238
1238
  notation: "scientific"
1239
1239
  }, e = e.slice(1)), t) {
1240
1240
  var r = e.slice(0, 2);
1241
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !on.test(e))
1241
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sn.test(e))
1242
1242
  throw new Error("Malformed concise eng/scientific notation");
1243
1243
  t.minimumIntegerDigits = e.length;
1244
1244
  }
1245
1245
  return t;
1246
1246
  }
1247
- function mr(e) {
1248
- var t = {}, r = sn(e);
1247
+ function br(e) {
1248
+ var t = {}, r = an(e);
1249
1249
  return r || t;
1250
1250
  }
1251
- function qi(e) {
1251
+ function Xi(e) {
1252
1252
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1253
1253
  var i = n[r];
1254
1254
  switch (i.stem) {
@@ -1272,7 +1272,7 @@ function qi(e) {
1272
1272
  continue;
1273
1273
  case "measure-unit":
1274
1274
  case "unit":
1275
- t.style = "unit", t.unit = Gi(i.options[0]);
1275
+ t.style = "unit", t.unit = $i(i.options[0]);
1276
1276
  continue;
1277
1277
  case "compact-short":
1278
1278
  case "K":
@@ -1284,12 +1284,12 @@ function qi(e) {
1284
1284
  continue;
1285
1285
  case "scientific":
1286
1286
  t = $($($({}, t), { notation: "scientific" }), i.options.reduce(function(d, l) {
1287
- return $($({}, d), mr(l));
1287
+ return $($({}, d), br(l));
1288
1288
  }, {}));
1289
1289
  continue;
1290
1290
  case "engineering":
1291
1291
  t = $($($({}, t), { notation: "engineering" }), i.options.reduce(function(d, l) {
1292
- return $($({}, d), mr(l));
1292
+ return $($({}, d), br(l));
1293
1293
  }, {}));
1294
1294
  continue;
1295
1295
  case "notation-simple":
@@ -1334,7 +1334,7 @@ function qi(e) {
1334
1334
  case "integer-width":
1335
1335
  if (i.options.length > 1)
1336
1336
  throw new RangeError("integer-width stems only accept a single optional option");
1337
- i.options[0].replace($i, function(d, l, u, c, h, g) {
1337
+ i.options[0].replace(Vi, function(d, l, u, c, h, g) {
1338
1338
  if (l)
1339
1339
  t.minimumIntegerDigits = u.length;
1340
1340
  else {
@@ -1347,27 +1347,27 @@ function qi(e) {
1347
1347
  });
1348
1348
  continue;
1349
1349
  }
1350
- if (on.test(i.stem)) {
1350
+ if (sn.test(i.stem)) {
1351
1351
  t.minimumIntegerDigits = i.stem.length;
1352
1352
  continue;
1353
1353
  }
1354
- if (hr.test(i.stem)) {
1354
+ if (pr.test(i.stem)) {
1355
1355
  if (i.options.length > 1)
1356
1356
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1357
- i.stem.replace(hr, function(d, l, u, c, h, g) {
1357
+ i.stem.replace(pr, function(d, l, u, c, h, g) {
1358
1358
  return u === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : h && g ? (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length + g.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1359
1359
  });
1360
1360
  var o = i.options[0];
1361
- o === "w" ? t = $($({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = $($({}, t), pr(o)));
1361
+ o === "w" ? t = $($({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = $($({}, t), mr(o)));
1362
1362
  continue;
1363
1363
  }
1364
- if (nn.test(i.stem)) {
1365
- t = $($({}, t), pr(i.stem));
1364
+ if (on.test(i.stem)) {
1365
+ t = $($({}, t), mr(i.stem));
1366
1366
  continue;
1367
1367
  }
1368
- var s = sn(i.stem);
1368
+ var s = an(i.stem);
1369
1369
  s && (t = $($({}, t), s));
1370
- var a = Vi(i.stem);
1370
+ var a = qi(i.stem);
1371
1371
  a && (t = $($({}, t), a));
1372
1372
  }
1373
1373
  return t;
@@ -2787,13 +2787,13 @@ var lt = {
2787
2787
  "h"
2788
2788
  ]
2789
2789
  };
2790
- function Xi(e, t) {
2790
+ function Wi(e, t) {
2791
2791
  for (var r = "", n = 0; n < e.length; n++) {
2792
2792
  var i = e.charAt(n);
2793
2793
  if (i === "j") {
2794
2794
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2795
2795
  o++, n++;
2796
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), d = "a", l = Wi(t);
2796
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), d = "a", l = Zi(t);
2797
2797
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2798
2798
  r += d;
2799
2799
  for (; s-- > 0; )
@@ -2803,7 +2803,7 @@ function Xi(e, t) {
2803
2803
  }
2804
2804
  return r;
2805
2805
  }
2806
- function Wi(e) {
2806
+ function Zi(e) {
2807
2807
  var t = e.hourCycle;
2808
2808
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2809
2809
  e.hourCycles && // @ts-ignore
@@ -2825,20 +2825,20 @@ function Wi(e) {
2825
2825
  var i = lt[n || ""] || lt[r || ""] || lt["".concat(r, "-001")] || lt["001"];
2826
2826
  return i[0];
2827
2827
  }
2828
- var Bt, Zi = new RegExp("^".concat(rn.source, "*")), Yi = new RegExp("".concat(rn.source, "*$"));
2828
+ var Mt, Yi = new RegExp("^".concat(nn.source, "*")), Qi = new RegExp("".concat(nn.source, "*$"));
2829
2829
  function N(e, t) {
2830
2830
  return { start: e, end: t };
2831
2831
  }
2832
- var Qi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ji = !!String.fromCodePoint, Ki = !!Object.fromEntries, eo = !!String.prototype.codePointAt, to = !!String.prototype.trimStart, ro = !!String.prototype.trimEnd, no = !!Number.isSafeInteger, io = no ? Number.isSafeInteger : function(e) {
2832
+ var Ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ki = !!String.fromCodePoint, eo = !!Object.fromEntries, to = !!String.prototype.codePointAt, ro = !!String.prototype.trimStart, no = !!String.prototype.trimEnd, io = !!Number.isSafeInteger, oo = io ? Number.isSafeInteger : function(e) {
2833
2833
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2834
- }, Ft = !0;
2834
+ }, jt = !0;
2835
2835
  try {
2836
- var oo = ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2837
- Ft = ((Bt = oo.exec("a")) === null || Bt === void 0 ? void 0 : Bt[0]) === "a";
2836
+ var so = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2837
+ jt = ((Mt = so.exec("a")) === null || Mt === void 0 ? void 0 : Mt[0]) === "a";
2838
2838
  } catch (e) {
2839
- Ft = !1;
2839
+ jt = !1;
2840
2840
  }
2841
- var br = Qi ? (
2841
+ var gr = Ji ? (
2842
2842
  // Native
2843
2843
  function(t, r, n) {
2844
2844
  return t.startsWith(r, n);
@@ -2848,7 +2848,7 @@ var br = Qi ? (
2848
2848
  function(t, r, n) {
2849
2849
  return t.slice(n, n + r.length) === r;
2850
2850
  }
2851
- ), jt = Ji ? String.fromCodePoint : (
2851
+ ), zt = Ki ? String.fromCodePoint : (
2852
2852
  // IE11
2853
2853
  function() {
2854
2854
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2860,9 +2860,9 @@ var br = Qi ? (
2860
2860
  }
2861
2861
  return n;
2862
2862
  }
2863
- ), gr = (
2863
+ ), vr = (
2864
2864
  // native
2865
- Ki ? Object.fromEntries : (
2865
+ eo ? Object.fromEntries : (
2866
2866
  // Ponyfill
2867
2867
  function(t) {
2868
2868
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2872,7 +2872,7 @@ var br = Qi ? (
2872
2872
  return r;
2873
2873
  }
2874
2874
  )
2875
- ), an = eo ? (
2875
+ ), ln = to ? (
2876
2876
  // Native
2877
2877
  function(t, r) {
2878
2878
  return t.codePointAt(r);
@@ -2886,7 +2886,7 @@ var br = Qi ? (
2886
2886
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2887
2887
  }
2888
2888
  }
2889
- ), so = to ? (
2889
+ ), ao = ro ? (
2890
2890
  // Native
2891
2891
  function(t) {
2892
2892
  return t.trimStart();
@@ -2894,9 +2894,9 @@ var br = Qi ? (
2894
2894
  ) : (
2895
2895
  // Ponyfill
2896
2896
  function(t) {
2897
- return t.replace(Zi, "");
2897
+ return t.replace(Yi, "");
2898
2898
  }
2899
- ), ao = ro ? (
2899
+ ), lo = no ? (
2900
2900
  // Native
2901
2901
  function(t) {
2902
2902
  return t.trimEnd();
@@ -2904,32 +2904,32 @@ var br = Qi ? (
2904
2904
  ) : (
2905
2905
  // Ponyfill
2906
2906
  function(t) {
2907
- return t.replace(Yi, "");
2907
+ return t.replace(Qi, "");
2908
2908
  }
2909
2909
  );
2910
- function ln(e, t) {
2910
+ function un(e, t) {
2911
2911
  return new RegExp(e, t);
2912
2912
  }
2913
- var zt;
2914
- if (Ft) {
2915
- var vr = ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2916
- zt = function(t, r) {
2913
+ var Gt;
2914
+ if (jt) {
2915
+ var yr = un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2916
+ Gt = function(t, r) {
2917
2917
  var n;
2918
- vr.lastIndex = r;
2919
- var i = vr.exec(t);
2918
+ yr.lastIndex = r;
2919
+ var i = yr.exec(t);
2920
2920
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2921
2921
  };
2922
2922
  } else
2923
- zt = function(t, r) {
2923
+ Gt = function(t, r) {
2924
2924
  for (var n = []; ; ) {
2925
- var i = an(t, r);
2926
- if (i === void 0 || un(i) || fo(i))
2925
+ var i = ln(t, r);
2926
+ if (i === void 0 || dn(i) || ho(i))
2927
2927
  break;
2928
2928
  n.push(i), r += i >= 65536 ? 2 : 1;
2929
2929
  }
2930
- return jt.apply(void 0, n);
2930
+ return zt.apply(void 0, n);
2931
2931
  };
2932
- var lo = (
2932
+ var uo = (
2933
2933
  /** @class */
2934
2934
  function() {
2935
2935
  function e(t, r) {
@@ -2953,14 +2953,14 @@ var lo = (
2953
2953
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2954
2954
  var a = this.clonePosition();
2955
2955
  this.bump(), i.push({
2956
- type: F.pound,
2956
+ type: j.pound,
2957
2957
  location: N(a, this.clonePosition())
2958
2958
  });
2959
2959
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2960
2960
  if (n)
2961
2961
  break;
2962
2962
  return this.error(A.UNMATCHED_CLOSING_TAG, N(this.clonePosition(), this.clonePosition()));
2963
- } else if (o === 60 && !this.ignoreTag && Gt(this.peek() || 0)) {
2963
+ } else if (o === 60 && !this.ignoreTag && $t(this.peek() || 0)) {
2964
2964
  var s = this.parseTag(t, r);
2965
2965
  if (s.err)
2966
2966
  return s;
@@ -2981,7 +2981,7 @@ var lo = (
2981
2981
  if (this.bumpSpace(), this.bumpIf("/>"))
2982
2982
  return {
2983
2983
  val: {
2984
- type: F.literal,
2984
+ type: j.literal,
2985
2985
  value: "<".concat(i, "/>"),
2986
2986
  location: N(n, this.clonePosition())
2987
2987
  },
@@ -2993,12 +2993,12 @@ var lo = (
2993
2993
  return o;
2994
2994
  var s = o.val, a = this.clonePosition();
2995
2995
  if (this.bumpIf("</")) {
2996
- if (this.isEOF() || !Gt(this.char()))
2996
+ if (this.isEOF() || !$t(this.char()))
2997
2997
  return this.error(A.INVALID_TAG, N(a, this.clonePosition()));
2998
2998
  var d = this.clonePosition(), l = this.parseTagName();
2999
2999
  return i !== l ? this.error(A.UNMATCHED_CLOSING_TAG, N(d, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3000
3000
  val: {
3001
- type: F.tag,
3001
+ type: j.tag,
3002
3002
  value: i,
3003
3003
  children: s,
3004
3004
  location: N(n, this.clonePosition())
@@ -3011,7 +3011,7 @@ var lo = (
3011
3011
  return this.error(A.INVALID_TAG, N(n, this.clonePosition()));
3012
3012
  }, e.prototype.parseTagName = function() {
3013
3013
  var t = this.offset();
3014
- for (this.bump(); !this.isEOF() && co(this.char()); )
3014
+ for (this.bump(); !this.isEOF() && fo(this.char()); )
3015
3015
  this.bump();
3016
3016
  return this.message.slice(t, this.offset());
3017
3017
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3035,12 +3035,12 @@ var lo = (
3035
3035
  }
3036
3036
  var d = N(n, this.clonePosition());
3037
3037
  return {
3038
- val: { type: F.literal, value: i, location: d },
3038
+ val: { type: j.literal, value: i, location: d },
3039
3039
  err: null
3040
3040
  };
3041
3041
  }, e.prototype.tryParseLeftAngleBracket = function() {
3042
3042
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3043
- !uo(this.peek() || 0)) ? (this.bump(), "<") : null;
3043
+ !co(this.peek() || 0)) ? (this.bump(), "<") : null;
3044
3044
  }, e.prototype.tryParseQuote = function(t) {
3045
3045
  if (this.isEOF() || this.char() !== 39)
3046
3046
  return null;
@@ -3074,12 +3074,12 @@ var lo = (
3074
3074
  r.push(n);
3075
3075
  this.bump();
3076
3076
  }
3077
- return jt.apply(void 0, r);
3077
+ return zt.apply(void 0, r);
3078
3078
  }, e.prototype.tryParseUnquoted = function(t, r) {
3079
3079
  if (this.isEOF())
3080
3080
  return null;
3081
3081
  var n = this.char();
3082
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), jt(n));
3082
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), zt(n));
3083
3083
  }, e.prototype.parseArgument = function(t, r) {
3084
3084
  var n = this.clonePosition();
3085
3085
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3095,7 +3095,7 @@ var lo = (
3095
3095
  case 125:
3096
3096
  return this.bump(), {
3097
3097
  val: {
3098
- type: F.argument,
3098
+ type: j.argument,
3099
3099
  // value does not include the opening and closing braces.
3100
3100
  value: i,
3101
3101
  location: N(n, this.clonePosition())
@@ -3108,7 +3108,7 @@ var lo = (
3108
3108
  return this.error(A.MALFORMED_ARGUMENT, N(n, this.clonePosition()));
3109
3109
  }
3110
3110
  }, e.prototype.parseIdentifierIfPossible = function() {
3111
- var t = this.clonePosition(), r = this.offset(), n = zt(this.message, r), i = r + n.length;
3111
+ var t = this.clonePosition(), r = this.offset(), n = Gt(this.message, r), i = r + n.length;
3112
3112
  this.bumpTo(i);
3113
3113
  var o = this.clonePosition(), s = N(t, o);
3114
3114
  return { value: n, location: s };
@@ -3127,7 +3127,7 @@ var lo = (
3127
3127
  var u = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3128
3128
  if (c.err)
3129
3129
  return c;
3130
- var h = ao(c.val);
3130
+ var h = lo(c.val);
3131
3131
  if (h.length === 0)
3132
3132
  return this.error(A.EXPECT_ARGUMENT_STYLE, N(this.clonePosition(), this.clonePosition()));
3133
3133
  var g = N(u, this.clonePosition());
@@ -3137,25 +3137,25 @@ var lo = (
3137
3137
  if (b.err)
3138
3138
  return b;
3139
3139
  var w = N(i, this.clonePosition());
3140
- if (l && br(l == null ? void 0 : l.style, "::", 0)) {
3141
- var P = so(l.style.slice(2));
3140
+ if (l && gr(l == null ? void 0 : l.style, "::", 0)) {
3141
+ var P = ao(l.style.slice(2));
3142
3142
  if (a === "number") {
3143
3143
  var c = this.parseNumberSkeletonFromString(P, l.styleLocation);
3144
3144
  return c.err ? c : {
3145
- val: { type: F.number, value: n, location: w, style: c.val },
3145
+ val: { type: j.number, value: n, location: w, style: c.val },
3146
3146
  err: null
3147
3147
  };
3148
3148
  } else {
3149
3149
  if (P.length === 0)
3150
3150
  return this.error(A.EXPECT_DATE_TIME_SKELETON, w);
3151
3151
  var S = P;
3152
- this.locale && (S = Xi(P, this.locale));
3152
+ this.locale && (S = Wi(P, this.locale));
3153
3153
  var h = {
3154
3154
  type: Ge.dateTime,
3155
3155
  pattern: S,
3156
3156
  location: l.styleLocation,
3157
- parsedOptions: this.shouldParseSkeletons ? Fi(S) : {}
3158
- }, E = a === "date" ? F.date : F.time;
3157
+ parsedOptions: this.shouldParseSkeletons ? ji(S) : {}
3158
+ }, E = a === "date" ? j.date : j.time;
3159
3159
  return {
3160
3160
  val: { type: E, value: n, location: w, style: h },
3161
3161
  err: null
@@ -3164,7 +3164,7 @@ var lo = (
3164
3164
  }
3165
3165
  return {
3166
3166
  val: {
3167
- type: a === "number" ? F.number : a === "date" ? F.date : F.time,
3167
+ type: a === "number" ? j.number : a === "date" ? j.date : j.time,
3168
3168
  value: n,
3169
3169
  location: w,
3170
3170
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
@@ -3189,26 +3189,26 @@ var lo = (
3189
3189
  return c;
3190
3190
  this.bumpSpace(), H = this.parseIdentifierIfPossible(), T = c.val;
3191
3191
  }
3192
- var D = this.tryParsePluralOrSelectOptions(t, a, r, H);
3193
- if (D.err)
3194
- return D;
3192
+ var F = this.tryParsePluralOrSelectOptions(t, a, r, H);
3193
+ if (F.err)
3194
+ return F;
3195
3195
  var b = this.tryParseArgumentClose(i);
3196
3196
  if (b.err)
3197
3197
  return b;
3198
3198
  var C = N(i, this.clonePosition());
3199
3199
  return a === "select" ? {
3200
3200
  val: {
3201
- type: F.select,
3201
+ type: j.select,
3202
3202
  value: n,
3203
- options: gr(D.val),
3203
+ options: vr(F.val),
3204
3204
  location: C
3205
3205
  },
3206
3206
  err: null
3207
3207
  } : {
3208
3208
  val: {
3209
- type: F.plural,
3209
+ type: j.plural,
3210
3210
  value: n,
3211
- options: gr(D.val),
3211
+ options: vr(F.val),
3212
3212
  offset: T,
3213
3213
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3214
3214
  location: C
@@ -3259,7 +3259,7 @@ var lo = (
3259
3259
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3260
3260
  var n = [];
3261
3261
  try {
3262
- n = zi(t);
3262
+ n = Gi(t);
3263
3263
  } catch (i) {
3264
3264
  return this.error(A.INVALID_NUMBER_SKELETON, r);
3265
3265
  }
@@ -3268,7 +3268,7 @@ var lo = (
3268
3268
  type: Ge.number,
3269
3269
  tokens: n,
3270
3270
  location: r,
3271
- parsedOptions: this.shouldParseSkeletons ? qi(n) : {}
3271
+ parsedOptions: this.shouldParseSkeletons ? Xi(n) : {}
3272
3272
  },
3273
3273
  err: null
3274
3274
  };
@@ -3316,7 +3316,7 @@ var lo = (
3316
3316
  break;
3317
3317
  }
3318
3318
  var d = N(i, this.clonePosition());
3319
- return o ? (s *= n, io(s) ? { val: s, err: null } : this.error(r, d)) : this.error(t, d);
3319
+ return o ? (s *= n, oo(s) ? { val: s, err: null } : this.error(r, d)) : this.error(t, d);
3320
3320
  }, e.prototype.offset = function() {
3321
3321
  return this.position.offset;
3322
3322
  }, e.prototype.isEOF = function() {
@@ -3331,7 +3331,7 @@ var lo = (
3331
3331
  var t = this.position.offset;
3332
3332
  if (t >= this.message.length)
3333
3333
  throw Error("out of bound");
3334
- var r = an(this.message, t);
3334
+ var r = ln(this.message, t);
3335
3335
  if (r === void 0)
3336
3336
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3337
3337
  return r;
@@ -3350,7 +3350,7 @@ var lo = (
3350
3350
  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);
3351
3351
  }
3352
3352
  }, e.prototype.bumpIf = function(t) {
3353
- if (br(this.message, t, this.offset())) {
3353
+ if (gr(this.message, t, this.offset())) {
3354
3354
  for (var r = 0; r < t.length; r++)
3355
3355
  this.bump();
3356
3356
  return !0;
@@ -3372,7 +3372,7 @@ var lo = (
3372
3372
  break;
3373
3373
  }
3374
3374
  }, e.prototype.bumpSpace = function() {
3375
- for (; !this.isEOF() && un(this.char()); )
3375
+ for (; !this.isEOF() && dn(this.char()); )
3376
3376
  this.bump();
3377
3377
  }, e.prototype.peek = function() {
3378
3378
  if (this.isEOF())
@@ -3382,38 +3382,38 @@ var lo = (
3382
3382
  }, e;
3383
3383
  }()
3384
3384
  );
3385
- function Gt(e) {
3385
+ function $t(e) {
3386
3386
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3387
3387
  }
3388
- function uo(e) {
3389
- return Gt(e) || e === 47;
3390
- }
3391
3388
  function co(e) {
3389
+ return $t(e) || e === 47;
3390
+ }
3391
+ function fo(e) {
3392
3392
  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;
3393
3393
  }
3394
- function un(e) {
3394
+ function dn(e) {
3395
3395
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3396
3396
  }
3397
- function fo(e) {
3397
+ function ho(e) {
3398
3398
  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;
3399
3399
  }
3400
- function $t(e) {
3400
+ function Vt(e) {
3401
3401
  e.forEach(function(t) {
3402
- if (delete t.location, Jr(t) || Kr(t))
3402
+ if (delete t.location, Kr(t) || en(t))
3403
3403
  for (var r in t.options)
3404
- delete t.options[r].location, $t(t.options[r].value);
3404
+ delete t.options[r].location, Vt(t.options[r].value);
3405
3405
  else
3406
- Zr(t) && tn(t.style) || (Yr(t) || Qr(t)) && Dt(t.style) ? delete t.style.location : en(t) && $t(t.children);
3406
+ Yr(t) && rn(t.style) || (Qr(t) || Jr(t)) && Ft(t.style) ? delete t.style.location : tn(t) && Vt(t.children);
3407
3407
  });
3408
3408
  }
3409
- function ho(e, t) {
3409
+ function po(e, t) {
3410
3410
  t === void 0 && (t = {}), t = yt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3411
- var r = new lo(e, t).parse();
3411
+ var r = new uo(e, t).parse();
3412
3412
  if (r.err) {
3413
3413
  var n = SyntaxError(A[r.err.kind]);
3414
3414
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3415
3415
  }
3416
- return t != null && t.captureLocation || $t(r.val), r.val;
3416
+ return t != null && t.captureLocation || Vt(r.val), r.val;
3417
3417
  }
3418
3418
  var $e;
3419
3419
  (function(e) {
@@ -3431,7 +3431,7 @@ var St = (
3431
3431
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3432
3432
  }, t;
3433
3433
  }(Error)
3434
- ), yr = (
3434
+ ), wr = (
3435
3435
  /** @class */
3436
3436
  function(e) {
3437
3437
  Et(t, e);
@@ -3440,7 +3440,7 @@ var St = (
3440
3440
  }
3441
3441
  return t;
3442
3442
  }(St)
3443
- ), po = (
3443
+ ), mo = (
3444
3444
  /** @class */
3445
3445
  function(e) {
3446
3446
  Et(t, e);
@@ -3449,7 +3449,7 @@ var St = (
3449
3449
  }
3450
3450
  return t;
3451
3451
  }(St)
3452
- ), mo = (
3452
+ ), bo = (
3453
3453
  /** @class */
3454
3454
  function(e) {
3455
3455
  Et(t, e);
@@ -3462,17 +3462,17 @@ var St = (
3462
3462
  (function(e) {
3463
3463
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3464
3464
  })(ie || (ie = {}));
3465
- function bo(e) {
3465
+ function go(e) {
3466
3466
  return e.length < 2 ? e : e.reduce(function(t, r) {
3467
3467
  var n = t[t.length - 1];
3468
3468
  return !n || n.type !== ie.literal || r.type !== ie.literal ? t.push(r) : n.value += r.value, t;
3469
3469
  }, []);
3470
3470
  }
3471
- function go(e) {
3471
+ function vo(e) {
3472
3472
  return typeof e == "function";
3473
3473
  }
3474
3474
  function ct(e, t, r, n, i, o, s) {
3475
- if (e.length === 1 && fr(e[0]))
3475
+ if (e.length === 1 && hr(e[0]))
3476
3476
  return [
3477
3477
  {
3478
3478
  type: ie.literal,
@@ -3481,14 +3481,14 @@ function ct(e, t, r, n, i, o, s) {
3481
3481
  ];
3482
3482
  for (var a = [], d = 0, l = e; d < l.length; d++) {
3483
3483
  var u = l[d];
3484
- if (fr(u)) {
3484
+ if (hr(u)) {
3485
3485
  a.push({
3486
3486
  type: ie.literal,
3487
3487
  value: u.value
3488
3488
  });
3489
3489
  continue;
3490
3490
  }
3491
- if (Ui(u)) {
3491
+ if (Di(u)) {
3492
3492
  typeof o == "number" && a.push({
3493
3493
  type: ie.literal,
3494
3494
  value: r.getNumberFormat(t).format(o)
@@ -3497,43 +3497,43 @@ function ct(e, t, r, n, i, o, s) {
3497
3497
  }
3498
3498
  var c = u.value;
3499
3499
  if (!(i && c in i))
3500
- throw new mo(c, s);
3500
+ throw new bo(c, s);
3501
3501
  var h = i[c];
3502
- if (ki(u)) {
3502
+ if (Ui(u)) {
3503
3503
  (!h || typeof h == "string" || typeof h == "number") && (h = typeof h == "string" || typeof h == "number" ? String(h) : ""), a.push({
3504
3504
  type: typeof h == "string" ? ie.literal : ie.object,
3505
3505
  value: h
3506
3506
  });
3507
3507
  continue;
3508
3508
  }
3509
- if (Yr(u)) {
3510
- var g = typeof u.style == "string" ? n.date[u.style] : Dt(u.style) ? u.style.parsedOptions : void 0;
3509
+ if (Qr(u)) {
3510
+ var g = typeof u.style == "string" ? n.date[u.style] : Ft(u.style) ? u.style.parsedOptions : void 0;
3511
3511
  a.push({
3512
3512
  type: ie.literal,
3513
3513
  value: r.getDateTimeFormat(t, g).format(h)
3514
3514
  });
3515
3515
  continue;
3516
3516
  }
3517
- if (Qr(u)) {
3518
- var g = typeof u.style == "string" ? n.time[u.style] : Dt(u.style) ? u.style.parsedOptions : n.time.medium;
3517
+ if (Jr(u)) {
3518
+ var g = typeof u.style == "string" ? n.time[u.style] : Ft(u.style) ? u.style.parsedOptions : n.time.medium;
3519
3519
  a.push({
3520
3520
  type: ie.literal,
3521
3521
  value: r.getDateTimeFormat(t, g).format(h)
3522
3522
  });
3523
3523
  continue;
3524
3524
  }
3525
- if (Zr(u)) {
3526
- var g = typeof u.style == "string" ? n.number[u.style] : tn(u.style) ? u.style.parsedOptions : void 0;
3525
+ if (Yr(u)) {
3526
+ var g = typeof u.style == "string" ? n.number[u.style] : rn(u.style) ? u.style.parsedOptions : void 0;
3527
3527
  g && g.scale && (h = h * (g.scale || 1)), a.push({
3528
3528
  type: ie.literal,
3529
3529
  value: r.getNumberFormat(t, g).format(h)
3530
3530
  });
3531
3531
  continue;
3532
3532
  }
3533
- if (en(u)) {
3533
+ if (tn(u)) {
3534
3534
  var b = u.children, w = u.value, P = i[w];
3535
- if (!go(P))
3536
- throw new po(w, "function", s);
3535
+ if (!vo(P))
3536
+ throw new mo(w, "function", s);
3537
3537
  var S = ct(b, t, r, n, i, o), E = P(S.map(function(T) {
3538
3538
  return T.value;
3539
3539
  }));
@@ -3544,14 +3544,14 @@ function ct(e, t, r, n, i, o, s) {
3544
3544
  };
3545
3545
  }));
3546
3546
  }
3547
- if (Jr(u)) {
3547
+ if (Kr(u)) {
3548
3548
  var _ = u.options[h] || u.options.other;
3549
3549
  if (!_)
3550
- throw new yr(u.value, h, Object.keys(u.options), s);
3550
+ throw new wr(u.value, h, Object.keys(u.options), s);
3551
3551
  a.push.apply(a, ct(_.value, t, r, n, i));
3552
3552
  continue;
3553
3553
  }
3554
- if (Kr(u)) {
3554
+ if (en(u)) {
3555
3555
  var _ = u.options["=".concat(h)];
3556
3556
  if (!_) {
3557
3557
  if (!Intl.PluralRules)
@@ -3562,24 +3562,24 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3562
3562
  _ = u.options[H] || u.options.other;
3563
3563
  }
3564
3564
  if (!_)
3565
- throw new yr(u.value, h, Object.keys(u.options), s);
3565
+ throw new wr(u.value, h, Object.keys(u.options), s);
3566
3566
  a.push.apply(a, ct(_.value, t, r, n, i, h - (u.offset || 0)));
3567
3567
  continue;
3568
3568
  }
3569
3569
  }
3570
- return bo(a);
3570
+ return go(a);
3571
3571
  }
3572
- function vo(e, t) {
3572
+ function yo(e, t) {
3573
3573
  return t ? _e(_e(_e({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3574
3574
  return r[n] = _e(_e({}, e[n]), t[n] || {}), r;
3575
3575
  }, {})) : e;
3576
3576
  }
3577
- function yo(e, t) {
3577
+ function wo(e, t) {
3578
3578
  return t ? Object.keys(e).reduce(function(r, n) {
3579
- return r[n] = vo(e[n], t[n]), r;
3579
+ return r[n] = yo(e[n], t[n]), r;
3580
3580
  }, _e({}, e)) : e;
3581
3581
  }
3582
- function Mt(e) {
3582
+ function Ot(e) {
3583
3583
  return {
3584
3584
  create: function() {
3585
3585
  return {
@@ -3593,39 +3593,39 @@ function Mt(e) {
3593
3593
  }
3594
3594
  };
3595
3595
  }
3596
- function wo(e) {
3596
+ function _o(e) {
3597
3597
  return e === void 0 && (e = {
3598
3598
  number: {},
3599
3599
  dateTime: {},
3600
3600
  pluralRules: {}
3601
3601
  }), {
3602
- getNumberFormat: Nt(function() {
3602
+ getNumberFormat: It(function() {
3603
3603
  for (var t, r = [], n = 0; n < arguments.length; n++)
3604
3604
  r[n] = arguments[n];
3605
- return new ((t = Intl.NumberFormat).bind.apply(t, At([void 0], r, !1)))();
3605
+ return new ((t = Intl.NumberFormat).bind.apply(t, Nt([void 0], r, !1)))();
3606
3606
  }, {
3607
- cache: Mt(e.number),
3608
- strategy: It.variadic
3607
+ cache: Ot(e.number),
3608
+ strategy: Bt.variadic
3609
3609
  }),
3610
- getDateTimeFormat: Nt(function() {
3610
+ getDateTimeFormat: It(function() {
3611
3611
  for (var t, r = [], n = 0; n < arguments.length; n++)
3612
3612
  r[n] = arguments[n];
3613
- return new ((t = Intl.DateTimeFormat).bind.apply(t, At([void 0], r, !1)))();
3613
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Nt([void 0], r, !1)))();
3614
3614
  }, {
3615
- cache: Mt(e.dateTime),
3616
- strategy: It.variadic
3615
+ cache: Ot(e.dateTime),
3616
+ strategy: Bt.variadic
3617
3617
  }),
3618
- getPluralRules: Nt(function() {
3618
+ getPluralRules: It(function() {
3619
3619
  for (var t, r = [], n = 0; n < arguments.length; n++)
3620
3620
  r[n] = arguments[n];
3621
- return new ((t = Intl.PluralRules).bind.apply(t, At([void 0], r, !1)))();
3621
+ return new ((t = Intl.PluralRules).bind.apply(t, Nt([void 0], r, !1)))();
3622
3622
  }, {
3623
- cache: Mt(e.pluralRules),
3624
- strategy: It.variadic
3623
+ cache: Ot(e.pluralRules),
3624
+ strategy: Bt.variadic
3625
3625
  })
3626
3626
  };
3627
3627
  }
3628
- var _o = (
3628
+ var Po = (
3629
3629
  /** @class */
3630
3630
  function() {
3631
3631
  function e(t, r, n, i) {
@@ -3657,13 +3657,13 @@ var _o = (
3657
3657
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3658
3658
  var s = i || {};
3659
3659
  s.formatters;
3660
- var a = Li(s, ["formatters"]);
3660
+ var a = Hi(s, ["formatters"]);
3661
3661
  this.ast = e.__parse(t, _e(_e({}, a), { locale: this.resolvedLocale }));
3662
3662
  } else
3663
3663
  this.ast = t;
3664
3664
  if (!Array.isArray(this.ast))
3665
3665
  throw new TypeError("A message must be provided as a String or AST.");
3666
- this.formats = yo(e.formats, n), this.formatters = i && i.formatters || wo(this.formatterCache);
3666
+ this.formats = wo(e.formats, n), this.formatters = i && i.formatters || _o(this.formatterCache);
3667
3667
  }
3668
3668
  return Object.defineProperty(e, "defaultLocale", {
3669
3669
  get: function() {
@@ -3676,7 +3676,7 @@ var _o = (
3676
3676
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3677
3677
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3678
3678
  }
3679
- }, e.__parse = ho, e.formats = {
3679
+ }, e.__parse = po, e.formats = {
3680
3680
  number: {
3681
3681
  integer: {
3682
3682
  maximumFractionDigits: 0
@@ -3737,7 +3737,7 @@ var _o = (
3737
3737
  }, e;
3738
3738
  }()
3739
3739
  );
3740
- function Po(e, t) {
3740
+ function xo(e, t) {
3741
3741
  if (t == null)
3742
3742
  return;
3743
3743
  if (t in e)
@@ -3758,92 +3758,92 @@ function Po(e, t) {
3758
3758
  n = void 0;
3759
3759
  return n;
3760
3760
  }
3761
- const Te = {}, xo = (e, t, r) => r && (t in Te || (Te[t] = {}), e in Te[t] || (Te[t][e] = r), r), dn = (e, t) => {
3761
+ const Te = {}, Eo = (e, t, r) => r && (t in Te || (Te[t] = {}), e in Te[t] || (Te[t][e] = r), r), cn = (e, t) => {
3762
3762
  if (t == null)
3763
3763
  return;
3764
3764
  if (t in Te && e in Te[t])
3765
3765
  return Te[t][e];
3766
3766
  const r = Tt(t);
3767
3767
  for (let n = 0; n < r.length; n++) {
3768
- const i = r[n], o = So(i, e);
3768
+ const i = r[n], o = To(i, e);
3769
3769
  if (o)
3770
- return xo(e, t, o);
3770
+ return Eo(e, t, o);
3771
3771
  }
3772
3772
  };
3773
- let Kt;
3773
+ let er;
3774
3774
  const We = xt({});
3775
- function Eo(e) {
3776
- return Kt[e] || null;
3775
+ function So(e) {
3776
+ return er[e] || null;
3777
3777
  }
3778
- function cn(e) {
3779
- return e in Kt;
3778
+ function fn(e) {
3779
+ return e in er;
3780
3780
  }
3781
- function So(e, t) {
3782
- if (!cn(e))
3781
+ function To(e, t) {
3782
+ if (!fn(e))
3783
3783
  return null;
3784
- const r = Eo(e);
3785
- return Po(r, t);
3784
+ const r = So(e);
3785
+ return xo(r, t);
3786
3786
  }
3787
- function To(e) {
3787
+ function Co(e) {
3788
3788
  if (e == null)
3789
3789
  return;
3790
3790
  const t = Tt(e);
3791
3791
  for (let r = 0; r < t.length; r++) {
3792
3792
  const n = t[r];
3793
- if (cn(n))
3793
+ if (fn(n))
3794
3794
  return n;
3795
3795
  }
3796
3796
  }
3797
- function fn(e, ...t) {
3798
- delete Te[e], We.update((r) => (r[e] = Ri.all([r[e] || {}, ...t]), r));
3797
+ function hn(e, ...t) {
3798
+ delete Te[e], We.update((r) => (r[e] = Li.all([r[e] || {}, ...t]), r));
3799
3799
  }
3800
3800
  Xe(
3801
3801
  [We],
3802
3802
  ([e]) => Object.keys(e)
3803
3803
  );
3804
- We.subscribe((e) => Kt = e);
3804
+ We.subscribe((e) => er = e);
3805
3805
  const ft = {};
3806
- function Co(e, t) {
3806
+ function Ro(e, t) {
3807
3807
  ft[e].delete(t), ft[e].size === 0 && delete ft[e];
3808
3808
  }
3809
- function hn(e) {
3809
+ function pn(e) {
3810
3810
  return ft[e];
3811
3811
  }
3812
- function Ro(e) {
3812
+ function Lo(e) {
3813
3813
  return Tt(e).map((t) => {
3814
- const r = hn(t);
3814
+ const r = pn(t);
3815
3815
  return [t, r ? [...r] : []];
3816
3816
  }).filter(([, t]) => t.length > 0);
3817
3817
  }
3818
- function Vt(e) {
3818
+ function qt(e) {
3819
3819
  return e == null ? !1 : Tt(e).some(
3820
3820
  (t) => {
3821
3821
  var r;
3822
- return (r = hn(t)) == null ? void 0 : r.size;
3822
+ return (r = pn(t)) == null ? void 0 : r.size;
3823
3823
  }
3824
3824
  );
3825
3825
  }
3826
- function Lo(e, t) {
3826
+ function Ho(e, t) {
3827
3827
  return Promise.all(
3828
- t.map((n) => (Co(e, n), n().then((i) => i.default || i)))
3829
- ).then((n) => fn(e, ...n));
3828
+ t.map((n) => (Ro(e, n), n().then((i) => i.default || i)))
3829
+ ).then((n) => hn(e, ...n));
3830
3830
  }
3831
3831
  const Ke = {};
3832
- function pn(e) {
3833
- if (!Vt(e))
3832
+ function mn(e) {
3833
+ if (!qt(e))
3834
3834
  return e in Ke ? Ke[e] : Promise.resolve();
3835
- const t = Ro(e);
3835
+ const t = Lo(e);
3836
3836
  return Ke[e] = Promise.all(
3837
3837
  t.map(
3838
- ([r, n]) => Lo(r, n)
3838
+ ([r, n]) => Ho(r, n)
3839
3839
  )
3840
3840
  ).then(() => {
3841
- if (Vt(e))
3842
- return pn(e);
3841
+ if (qt(e))
3842
+ return mn(e);
3843
3843
  delete Ke[e];
3844
3844
  }), Ke[e];
3845
3845
  }
3846
- const Ho = {
3846
+ const Ao = {
3847
3847
  number: {
3848
3848
  scientific: { notation: "scientific" },
3849
3849
  engineering: { notation: "engineering" },
@@ -3872,57 +3872,57 @@ const Ho = {
3872
3872
  timeZoneName: "short"
3873
3873
  }
3874
3874
  }
3875
- }, Ao = {
3875
+ }, No = {
3876
3876
  fallbackLocale: null,
3877
3877
  loadingDelay: 200,
3878
- formats: Ho,
3878
+ formats: Ao,
3879
3879
  warnOnMissingMessages: !0,
3880
3880
  handleMissingMessage: void 0,
3881
3881
  ignoreTag: !0
3882
- }, No = Ao;
3882
+ }, Io = No;
3883
3883
  function Ve() {
3884
- return No;
3884
+ return Io;
3885
3885
  }
3886
- const Ot = xt(!1);
3887
- var Io = Object.defineProperty, Bo = Object.defineProperties, Mo = Object.getOwnPropertyDescriptors, wr = Object.getOwnPropertySymbols, Oo = Object.prototype.hasOwnProperty, ko = Object.prototype.propertyIsEnumerable, _r = (e, t, r) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Uo = (e, t) => {
3886
+ const kt = xt(!1);
3887
+ var Bo = Object.defineProperty, Mo = Object.defineProperties, Oo = Object.getOwnPropertyDescriptors, _r = Object.getOwnPropertySymbols, ko = Object.prototype.hasOwnProperty, Uo = Object.prototype.propertyIsEnumerable, Pr = (e, t, r) => t in e ? Bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Do = (e, t) => {
3888
3888
  for (var r in t || (t = {}))
3889
- Oo.call(t, r) && _r(e, r, t[r]);
3890
- if (wr)
3891
- for (var r of wr(t))
3892
- ko.call(t, r) && _r(e, r, t[r]);
3889
+ ko.call(t, r) && Pr(e, r, t[r]);
3890
+ if (_r)
3891
+ for (var r of _r(t))
3892
+ Uo.call(t, r) && Pr(e, r, t[r]);
3893
3893
  return e;
3894
- }, Do = (e, t) => Bo(e, Mo(t));
3895
- let qt;
3894
+ }, Fo = (e, t) => Mo(e, Oo(t));
3895
+ let Xt;
3896
3896
  const wt = xt(null);
3897
- function Pr(e) {
3897
+ function xr(e) {
3898
3898
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3899
3899
  }
3900
3900
  function Tt(e, t = Ve().fallbackLocale) {
3901
- const r = Pr(e);
3902
- return t ? [.../* @__PURE__ */ new Set([...r, ...Pr(t)])] : r;
3901
+ const r = xr(e);
3902
+ return t ? [.../* @__PURE__ */ new Set([...r, ...xr(t)])] : r;
3903
3903
  }
3904
3904
  function Be() {
3905
- return qt != null ? qt : void 0;
3905
+ return Xt != null ? Xt : void 0;
3906
3906
  }
3907
3907
  wt.subscribe((e) => {
3908
- qt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3908
+ Xt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3909
3909
  });
3910
- const Fo = (e) => {
3911
- if (e && To(e) && Vt(e)) {
3910
+ const jo = (e) => {
3911
+ if (e && Co(e) && qt(e)) {
3912
3912
  const { loadingDelay: t } = Ve();
3913
3913
  let r;
3914
3914
  return typeof window != "undefined" && Be() != null && t ? r = window.setTimeout(
3915
- () => Ot.set(!0),
3915
+ () => kt.set(!0),
3916
3916
  t
3917
- ) : Ot.set(!0), pn(e).then(() => {
3917
+ ) : kt.set(!0), mn(e).then(() => {
3918
3918
  wt.set(e);
3919
3919
  }).finally(() => {
3920
- clearTimeout(r), Ot.set(!1);
3920
+ clearTimeout(r), kt.set(!1);
3921
3921
  });
3922
3922
  }
3923
3923
  return wt.set(e);
3924
- }, Le = Do(Uo({}, wt), {
3925
- set: Fo
3924
+ }, Le = Fo(Do({}, wt), {
3925
+ set: jo
3926
3926
  }), Ct = (e) => {
3927
3927
  const t = /* @__PURE__ */ Object.create(null);
3928
3928
  return (n) => {
@@ -3930,20 +3930,20 @@ const Fo = (e) => {
3930
3930
  return i in t ? t[i] : t[i] = e(n);
3931
3931
  };
3932
3932
  };
3933
- var jo = Object.defineProperty, _t = Object.getOwnPropertySymbols, mn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, xr = (e, t, r) => t in e ? jo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, er = (e, t) => {
3933
+ var zo = Object.defineProperty, _t = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable, Er = (e, t, r) => t in e ? zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tr = (e, t) => {
3934
3934
  for (var r in t || (t = {}))
3935
- mn.call(t, r) && xr(e, r, t[r]);
3935
+ bn.call(t, r) && Er(e, r, t[r]);
3936
3936
  if (_t)
3937
3937
  for (var r of _t(t))
3938
- bn.call(t, r) && xr(e, r, t[r]);
3938
+ gn.call(t, r) && Er(e, r, t[r]);
3939
3939
  return e;
3940
3940
  }, Ze = (e, t) => {
3941
3941
  var r = {};
3942
3942
  for (var n in e)
3943
- mn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3943
+ bn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3944
3944
  if (e != null && _t)
3945
3945
  for (var n of _t(e))
3946
- t.indexOf(n) < 0 && bn.call(e, n) && (r[n] = e[n]);
3946
+ t.indexOf(n) < 0 && gn.call(e, n) && (r[n] = e[n]);
3947
3947
  return r;
3948
3948
  };
3949
3949
  const ot = (e, t) => {
@@ -3951,21 +3951,21 @@ const ot = (e, t) => {
3951
3951
  if (e in r && t in r[e])
3952
3952
  return r[e][t];
3953
3953
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3954
- }, zo = Ct(
3954
+ }, Go = Ct(
3955
3955
  (e) => {
3956
3956
  var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
3957
3957
  if (r == null)
3958
3958
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3959
3959
  return n && (i = ot("number", n)), new Intl.NumberFormat(r, i);
3960
3960
  }
3961
- ), Go = Ct(
3961
+ ), $o = Ct(
3962
3962
  (e) => {
3963
3963
  var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
3964
3964
  if (r == null)
3965
3965
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3966
3966
  return n ? i = ot("date", n) : Object.keys(i).length === 0 && (i = ot("date", "short")), new Intl.DateTimeFormat(r, i);
3967
3967
  }
3968
- ), $o = Ct(
3968
+ ), Vo = Ct(
3969
3969
  (e) => {
3970
3970
  var t = e, { locale: r, format: n } = t, i = Ze(t, ["locale", "format"]);
3971
3971
  if (r == null)
@@ -3974,33 +3974,33 @@ const ot = (e, t) => {
3974
3974
  );
3975
3975
  return n ? i = ot("time", n) : Object.keys(i).length === 0 && (i = ot("time", "short")), new Intl.DateTimeFormat(r, i);
3976
3976
  }
3977
- ), Vo = (e = {}) => {
3977
+ ), qo = (e = {}) => {
3978
3978
  var t = e, {
3979
3979
  locale: r = Be()
3980
3980
  } = t, n = Ze(t, [
3981
3981
  "locale"
3982
3982
  ]);
3983
- return zo(er({ locale: r }, n));
3984
- }, qo = (e = {}) => {
3983
+ return Go(tr({ locale: r }, n));
3984
+ }, Xo = (e = {}) => {
3985
3985
  var t = e, {
3986
3986
  locale: r = Be()
3987
3987
  } = t, n = Ze(t, [
3988
3988
  "locale"
3989
3989
  ]);
3990
- return Go(er({ locale: r }, n));
3991
- }, Xo = (e = {}) => {
3990
+ return $o(tr({ locale: r }, n));
3991
+ }, Wo = (e = {}) => {
3992
3992
  var t = e, {
3993
3993
  locale: r = Be()
3994
3994
  } = t, n = Ze(t, [
3995
3995
  "locale"
3996
3996
  ]);
3997
- return $o(er({ locale: r }, n));
3998
- }, Wo = Ct(
3997
+ return Vo(tr({ locale: r }, n));
3998
+ }, Zo = Ct(
3999
3999
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4000
- (e, t = Be()) => new _o(e, t, Ve().formats, {
4000
+ (e, t = Be()) => new Po(e, t, Ve().formats, {
4001
4001
  ignoreTag: Ve().ignoreTag
4002
4002
  })
4003
- ), Zo = (e, t = {}) => {
4003
+ ), Yo = (e, t = {}) => {
4004
4004
  var r, n, i, o;
4005
4005
  let s = t;
4006
4006
  typeof e == "object" && (s = e, e = s.id);
@@ -4013,7 +4013,7 @@ const ot = (e, t) => {
4013
4013
  throw new Error(
4014
4014
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4015
4015
  );
4016
- let u = dn(e, d);
4016
+ let u = cn(e, d);
4017
4017
  if (!u)
4018
4018
  u = (o = (i = (n = (r = Ve()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: d, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4019
4019
  else if (typeof u != "string")
@@ -4024,7 +4024,7 @@ const ot = (e, t) => {
4024
4024
  return u;
4025
4025
  let c = u;
4026
4026
  try {
4027
- c = Wo(u, d).format(a);
4027
+ c = Zo(u, d).format(a);
4028
4028
  } catch (h) {
4029
4029
  h instanceof Error && console.warn(
4030
4030
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4032,29 +4032,29 @@ const ot = (e, t) => {
4032
4032
  );
4033
4033
  }
4034
4034
  return c;
4035
- }, Yo = (e, t) => Xo(t).format(e), Qo = (e, t) => qo(t).format(e), Jo = (e, t) => Vo(t).format(e), Ko = (e, t = Be()) => dn(e, t), es = Xe([Le, We], () => Zo);
4036
- Xe([Le], () => Yo);
4035
+ }, Qo = (e, t) => Wo(t).format(e), Jo = (e, t) => Xo(t).format(e), Ko = (e, t) => qo(t).format(e), es = (e, t = Be()) => cn(e, t), ts = Xe([Le, We], () => Yo);
4037
4036
  Xe([Le], () => Qo);
4038
4037
  Xe([Le], () => Jo);
4039
- Xe([Le, We], () => Ko);
4040
- function ts({ withLocale: e, translations: t }) {
4038
+ Xe([Le], () => Ko);
4039
+ Xe([Le, We], () => es);
4040
+ function rs({ withLocale: e, translations: t }) {
4041
4041
  Le.subscribe((r) => {
4042
4042
  r == null && (We.set(t), Le.set(e));
4043
4043
  });
4044
4044
  }
4045
- function Er(e, t) {
4046
- fn(e, t);
4045
+ function Sr(e, t) {
4046
+ hn(e, t);
4047
4047
  }
4048
- function rs(e) {
4048
+ function ns(e) {
4049
4049
  Le.set(e);
4050
4050
  }
4051
- function ns(e, t) {
4051
+ function is(e, t) {
4052
4052
  if (e) {
4053
4053
  const r = document.createElement("style");
4054
4054
  r.innerHTML = t, e.appendChild(r);
4055
4055
  }
4056
4056
  }
4057
- function is(e, t) {
4057
+ function os(e, t) {
4058
4058
  const r = new URL(t);
4059
4059
  fetch(r.href).then((n) => n.text()).then((n) => {
4060
4060
  const i = document.createElement("style");
@@ -4063,7 +4063,7 @@ function is(e, t) {
4063
4063
  console.error("There was an error while trying to load client styling from URL", n);
4064
4064
  });
4065
4065
  }
4066
- function os(e, t, r) {
4066
+ function ss(e, t, r) {
4067
4067
  if (window.emMessageBus) {
4068
4068
  const n = document.createElement("style");
4069
4069
  window.emMessageBus.subscribe(t, (i) => {
@@ -4071,7 +4071,7 @@ function os(e, t, r) {
4071
4071
  });
4072
4072
  }
4073
4073
  }
4074
- const Sr = {
4074
+ const Tr = {
4075
4075
  en: {
4076
4076
  resetTitle: "Reset your password",
4077
4077
  resetSubtitle: "Follow the steps below to securely reset your password.",
@@ -4478,54 +4478,54 @@ const Sr = {
4478
4478
  couldNotUpdatePassword: "Could not update password. Please try again."
4479
4479
  }
4480
4480
  };
4481
- class Tr extends Error {
4481
+ class Cr extends Error {
4482
4482
  constructor(t, r, n) {
4483
4483
  super(r), this.status = t, this.payload = n;
4484
4484
  }
4485
4485
  }
4486
- function tr(e) {
4486
+ function rr(e) {
4487
4487
  return `reset_attempts_${e}`;
4488
4488
  }
4489
- function Cr(e, t) {
4489
+ function Rr(e, t) {
4490
4490
  try {
4491
- localStorage.setItem(tr(e), String(t));
4491
+ localStorage.setItem(rr(e), String(t));
4492
4492
  } catch (r) {
4493
4493
  }
4494
4494
  }
4495
- function ss(e) {
4495
+ function as(e) {
4496
4496
  try {
4497
- const t = localStorage.getItem(tr(e));
4497
+ const t = localStorage.getItem(rr(e));
4498
4498
  return t != null ? Math.max(0, parseInt(t, 10)) : null;
4499
4499
  } catch (t) {
4500
4500
  return null;
4501
4501
  }
4502
4502
  }
4503
- function as(e) {
4503
+ function ls(e) {
4504
4504
  try {
4505
- localStorage.removeItem(tr(e));
4505
+ localStorage.removeItem(rr(e));
4506
4506
  } catch (t) {
4507
4507
  }
4508
4508
  }
4509
- function ls(e) {
4510
- Fn(e, "svelte-1nua6jd", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.ResetPwdOverlay{position:fixed;inset:0;background:rgba(17, 24, 39, 0.6);display:grid;place-items:center;z-index:100}.ResetPwdCard{position:relative;width:min(92vw, 520px);background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #f9f8f8));color:var(--emw--color-typography-contrast);border-radius:var(--emw--border-radius-large, 16px);padding:20px;box-shadow:0 10px 30px rgba(0, 0, 0, 0.2)}.ResetPwdClose{position:absolute;top:10px;right:10px;width:20px;height:20px;border:none;background:transparent;color:inherit;font-size:20px;line-height:1;cursor:pointer;transition:background 120ms ease-in-out, filter 120ms ease-in-out}.ResetPwdClose:hover{background:rgba(0, 0, 0, 0.04);filter:brightness(1.02)}.ResetPwdClose:active{filter:brightness(0.98)}.ResetPwdTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-semi-bold, 600);padding:0;margin:0 0 10px 0}.ResetPwdSub{color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));font-weight:var(--emw--font-weight-light, 300);font-size:var(--emw--font-size-medium, 16px);padding:0;margin-bottom:10px}.ResetPwdStepTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));font-size:var(--emw--font-size-medium, 1rem);font-weight:var(--emw--font-weight-semi-bold, 700);padding:0;margin:0 0 5px 0}.ResetPwdHelp{font-size:var(--emw--font-size-medium, 14px);color:#4b5563;margin-bottom:20px}.ResetPwdRow{display:flex;gap:12px;align-items:flex-end;margin-bottom:8px;flex-wrap:wrap}.ResetPwdField{display:flex;flex-direction:column;min-width:0;position:relative}.ResetPwdFieldPrefix{flex:0 1 100px}.ResetPwdFieldPhone{flex:1 1 160px}vaadin-combo-box{width:100%;border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));border-radius:var(--emw--border-radius-small, 6px);font-size:var(--emw--font-size-medium, 16px);background:transparent;color:inherit}vaadin-combo-box input{width:100%;border-radius:var(--emw--border-radius-small, 6px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));padding:5px;font-size:var(--emw--font-size-small, 14px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}vaadin-combo-box-overlay{z-index:101}.ResetPwdFieldCode{flex:1 1 100%}.ResetPwdFieldMeta{flex:1 1 auto;min-width:200px}.ResetPwdMetaRow{display:flex;gap:12px;justify-content:space-between;margin-bottom:4px;flex-wrap:wrap}.ResetPwdMeta{font-size:var(--emw--font-size-xtra-small, 10px);color:#4b5563}.ResetPwdLabel{display:block;font-size:var(--emw--font-size-small, 12px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.ResetPwdInput{width:100%;background:transparent;color:inherit;border-radius:var(--emw--border-radius-small, 6px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));padding:6px 12px;box-sizing:border-box;font-size:var(--emw--font-size-medium, 14px);line-height:18px}.ResetPwdInput::placeholder{color:#4b5563}.ResetPwdInput:focus{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22b04e));outline:none}.ResetPwdInput[aria-invalid=true]{box-shadow:0 0 0 2px rgba(185, 28, 28, 0.08);border:1px solid var(--emw--color-error, #fecaca);background:var(--emw--color-pale, #fbecf4);color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444))}.ResetPwdCodeGroup{display:flex;gap:12px}.ResetPwdCodeInput{width:32px;height:32px;text-align:center;font-size:var(--emw--font-size-medium, 16px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));border-radius:var(--emw--border-radius-medium, 10px);background:transparent;color:inherit}.ResetPwdCodeInput:focus{outline:none;border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 2px rgba(17, 24, 39, 0.08)}.ResetPwdCodeInput[aria-invalid=true]{box-shadow:0 0 0 2px rgba(185, 28, 28, 0.08);border:1px solid var(--emw--color-error, #fecaca);background:var(--emw--color-pale, #fbecf4);color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444))}.ResetPwdErrors{margin-top:8px;margin-bottom:8px}.ResetPwdError{color:var(--emw--color-error, #b91c1c);font-size:var(--emw--font-size-xtra-small, 9px)}.ResetPwdError+.ResetPwdError{margin-top:4px}.ResetPwdHint{color:#92400e;background:#fef3c7;border:1px solid #fde68a;padding:8px 12px;border-radius:var(--emw--border-radius-medium, 10px);font-size:var(--emw--font-size-xtra-small, 9px);margin-top:4px}.ResetPwdButton{width:100%;margin-top:20px;font-family:var(--emw--button-typography, inherit);background:var(--emw--color-primary, #000000);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));border:none;border-radius:var(--emw--button-border-radius, 6px);padding:10px;font-size:var(--emw--font-size-small, 14px);cursor:pointer;transition:filter 120ms ease-in-out}.ResetPwdButton:hover{filter:brightness(1.02)}.ResetPwdButton:active{filter:brightness(0.98)}.ResetPwdButton:disabled{opacity:0.6;cursor:not-allowed}.ResetPwdLink{color:var(--emw--color-typography-contrast);cursor:pointer;background:transparent;text-decoration:underline;border:none;padding:8px 0;font-size:var(--emw--font-size-xtra-small, 10px)}.ResetPwdLink[disabled],.ResetPwdLink[aria-disabled=true]{opacity:0.6;cursor:not-allowed;text-decoration:none}@media(min-width: 768px){.ResetPwdFieldPrefix{flex:0 1 140px}.ResetPwdFieldPhone{flex:1 1 200px}.ResetPwdCodeInput{width:48px;height:48px}}@media(prefers-reduced-motion: reduce){.ResetPwdOverlay,.ResetPwdCard{transition:none !important;animation:none !important}}");
4509
+ function us(e) {
4510
+ jn(e, "svelte-1nua6jd", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.ResetPwdOverlay{position:fixed;inset:0;background:rgba(17, 24, 39, 0.6);display:grid;place-items:center;z-index:100}.ResetPwdCard{position:relative;width:min(92vw, 520px);background:var(--emw--registration-color-bg, var(--emw--color-gray-50, #f9f8f8));color:var(--emw--color-typography-contrast);border-radius:var(--emw--border-radius-large, 16px);padding:20px;box-shadow:0 10px 30px rgba(0, 0, 0, 0.2)}.ResetPwdClose{position:absolute;top:10px;right:10px;width:20px;height:20px;border:none;background:transparent;color:inherit;font-size:20px;line-height:1;cursor:pointer;transition:background 120ms ease-in-out, filter 120ms ease-in-out}.ResetPwdClose:hover{background:rgba(0, 0, 0, 0.04);filter:brightness(1.02)}.ResetPwdClose:active{filter:brightness(0.98)}.ResetPwdTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));font-size:var(--emw--font-size-large, 20px);font-weight:var(--emw--font-weight-semi-bold, 600);padding:0;margin:0 0 10px 0}.ResetPwdSub{color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));font-weight:var(--emw--font-weight-light, 300);font-size:var(--emw--font-size-medium, 16px);padding:0;margin-bottom:10px}.ResetPwdStepTitle{color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));font-size:var(--emw--font-size-medium, 1rem);font-weight:var(--emw--font-weight-semi-bold, 700);padding:0;margin:0 0 5px 0}.ResetPwdHelp{font-size:var(--emw--font-size-medium, 14px);color:#4b5563;margin-bottom:20px}.ResetPwdRow{display:flex;gap:12px;align-items:flex-end;margin-bottom:8px;flex-wrap:wrap}.ResetPwdField{display:flex;flex-direction:column;min-width:0;position:relative}.ResetPwdFieldPrefix{flex:0 1 100px}.ResetPwdFieldPhone{flex:1 1 160px}vaadin-combo-box{width:100%;border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));border-radius:var(--emw--border-radius-small, 6px);font-size:var(--emw--font-size-medium, 16px);background:transparent;color:inherit}vaadin-combo-box input{width:100%;border-radius:var(--emw--border-radius-small, 6px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));padding:5px;font-size:var(--emw--font-size-small, 14px);box-sizing:border-box;padding:5px 15px;font-size:var(--emw--font-size-medium, 16px);line-height:18px}vaadin-combo-box-overlay{z-index:101}.ResetPwdFieldCode{flex:1 1 100%}.ResetPwdFieldMeta{flex:1 1 auto;min-width:200px}.ResetPwdMetaRow{display:flex;gap:12px;justify-content:space-between;margin-bottom:4px;flex-wrap:wrap}.ResetPwdMeta{font-size:var(--emw--font-size-xtra-small, 10px);color:#4b5563}.ResetPwdLabel{display:block;font-size:var(--emw--font-size-small, 12px);font-weight:var(--emw--font-weight-light, 300);padding-bottom:5px}.ResetPwdInput{width:100%;background:transparent;color:inherit;border-radius:var(--emw--border-radius-small, 6px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));padding:6px 12px;box-sizing:border-box;font-size:var(--emw--font-size-medium, 14px);line-height:18px}.ResetPwdInput::placeholder{color:#4b5563}.ResetPwdInput:focus{border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22b04e));outline:none}.ResetPwdInput[aria-invalid=true]{box-shadow:0 0 0 2px rgba(185, 28, 28, 0.08);border:1px solid var(--emw--color-error, #fecaca);background:var(--emw--color-pale, #fbecf4);color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444))}.ResetPwdCodeGroup{display:flex;gap:12px}.ResetPwdCodeInput{width:32px;height:32px;text-align:center;font-size:var(--emw--font-size-medium, 16px);border:1px solid var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444));border-radius:var(--emw--border-radius-medium, 10px);background:transparent;color:inherit}.ResetPwdCodeInput:focus{outline:none;border:1px solid var(--emw--registration-color-primary, var(--emw--color-primary, #22b04e));box-shadow:0 0 0 2px rgba(17, 24, 39, 0.08)}.ResetPwdCodeInput[aria-invalid=true]{box-shadow:0 0 0 2px rgba(185, 28, 28, 0.08);border:1px solid var(--emw--color-error, #fecaca);background:var(--emw--color-pale, #fbecf4);color:var(--emw--registration-contrast, var(--emw--color-typography-contrast, #444444))}.ResetPwdErrors{margin-top:8px;margin-bottom:8px}.ResetPwdError{color:var(--emw--color-error, #b91c1c);font-size:var(--emw--font-size-xtra-small, 9px)}.ResetPwdError+.ResetPwdError{margin-top:4px}.ResetPwdHint{color:#92400e;background:#fef3c7;border:1px solid #fde68a;padding:8px 12px;border-radius:var(--emw--border-radius-medium, 10px);font-size:var(--emw--font-size-xtra-small, 9px);margin-top:4px}.ResetPwdButton{width:100%;margin-top:20px;font-family:var(--emw--button-typography, inherit);background:var(--emw--color-primary, #000000);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff));border:none;border-radius:var(--emw--button-border-radius, 6px);padding:10px;font-size:var(--emw--font-size-small, 14px);cursor:pointer;transition:filter 120ms ease-in-out}.ResetPwdButton:hover{filter:brightness(1.02)}.ResetPwdButton:active{filter:brightness(0.98)}.ResetPwdButton:disabled{opacity:0.6;cursor:not-allowed}.ResetPwdLink{color:var(--emw--color-typography-contrast);cursor:pointer;background:transparent;text-decoration:underline;border:none;padding:8px 0;font-size:var(--emw--font-size-xtra-small, 10px)}.ResetPwdLink[disabled],.ResetPwdLink[aria-disabled=true]{opacity:0.6;cursor:not-allowed;text-decoration:none}@media(min-width: 768px){.ResetPwdFieldPrefix{flex:0 1 140px}.ResetPwdFieldPhone{flex:1 1 200px}.ResetPwdCodeInput{width:48px;height:48px}}@media(prefers-reduced-motion: reduce){.ResetPwdOverlay,.ResetPwdCard{transition:none !important;animation:none !important}}");
4511
4511
  }
4512
- function Rr(e, t, r) {
4512
+ function Lr(e, t, r) {
4513
4513
  const n = e.slice();
4514
- return n[71] = t[r], n[72] = t, n[73] = r, n;
4514
+ return n[72] = t[r], n[73] = t, n[74] = r, n;
4515
4515
  }
4516
- function Lr(e) {
4516
+ function Hr(e) {
4517
4517
  let t, r, n, i, o, s, a, d, l = (
4518
4518
  /*$_*/
4519
4519
  e[10]("resetTitle") + ""
4520
4520
  ), u, c, h, g = (
4521
4521
  /*$_*/
4522
4522
  e[10]("resetSubtitle") + ""
4523
- ), b, w, P, S, E, _, H, T, D, C = (
4523
+ ), b, w, P, S, E, _, H, T, F, C = (
4524
4524
  /*step*/
4525
- e[2] === "phone" && Hr(e)
4525
+ e[2] === "phone" && Ar(e)
4526
4526
  ), L = (
4527
4527
  /*step*/
4528
- e[2] === "code" && Ir(e)
4528
+ e[2] === "code" && Br(e)
4529
4529
  );
4530
4530
  return {
4531
4531
  c() {
@@ -4533,39 +4533,39 @@ function Lr(e) {
4533
4533
  e[10]("close")), p(n, "title", s = /*$_*/
4534
4534
  e[10]("close")), p(d, "id", "ResetPwdTitle"), p(d, "class", "ResetPwdTitle"), p(h, "class", "ResetPwdSub"), p(r, "class", "ResetPwdCard"), p(t, "class", "ResetPwdOverlay"), p(t, "role", "dialog"), p(t, "aria-modal", "true"), p(t, "aria-labelledby", "ResetPwdTitle");
4535
4535
  },
4536
- m(B, W) {
4537
- te(B, t, W), m(t, r), m(r, n), m(n, i), m(r, a), m(r, d), m(d, u), m(r, c), m(r, h), m(h, b), m(r, w), C && C.m(r, null), m(r, P), L && L.m(r, null), H = !0, T || (D = Ce(
4536
+ m(B, Z) {
4537
+ te(B, t, Z), m(t, r), m(r, n), m(n, i), m(r, a), m(r, d), m(d, u), m(r, c), m(r, h), m(h, b), m(r, w), C && C.m(r, null), m(r, P), L && L.m(r, null), H = !0, T || (F = Ce(
4538
4538
  n,
4539
4539
  "click",
4540
4540
  /*closeModal*/
4541
4541
  e[25]
4542
4542
  ), T = !0);
4543
4543
  },
4544
- p(B, W) {
4545
- e = B, (!H || W[0] & /*$_*/
4544
+ p(B, Z) {
4545
+ e = B, (!H || Z[0] & /*$_*/
4546
4546
  1024 && o !== (o = /*$_*/
4547
- e[10]("close"))) && p(n, "aria-label", o), (!H || W[0] & /*$_*/
4547
+ e[10]("close"))) && p(n, "aria-label", o), (!H || Z[0] & /*$_*/
4548
4548
  1024 && s !== (s = /*$_*/
4549
- e[10]("close"))) && p(n, "title", s), (!H || W[0] & /*$_*/
4549
+ e[10]("close"))) && p(n, "title", s), (!H || Z[0] & /*$_*/
4550
4550
  1024) && l !== (l = /*$_*/
4551
- e[10]("resetTitle") + "") && X(u, l), (!H || W[0] & /*$_*/
4551
+ e[10]("resetTitle") + "") && W(u, l), (!H || Z[0] & /*$_*/
4552
4552
  1024) && g !== (g = /*$_*/
4553
- e[10]("resetSubtitle") + "") && X(b, g), /*step*/
4554
- e[2] === "phone" ? C ? C.p(e, W) : (C = Hr(e), C.c(), C.m(r, P)) : C && (C.d(1), C = null), /*step*/
4555
- e[2] === "code" ? L ? L.p(e, W) : (L = Ir(e), L.c(), L.m(r, null)) : L && (L.d(1), L = null);
4553
+ e[10]("resetSubtitle") + "") && W(b, g), /*step*/
4554
+ e[2] === "phone" ? C ? C.p(e, Z) : (C = Ar(e), C.c(), C.m(r, P)) : C && (C.d(1), C = null), /*step*/
4555
+ e[2] === "code" ? L ? L.p(e, Z) : (L = Br(e), L.c(), L.m(r, null)) : L && (L.d(1), L = null);
4556
4556
  },
4557
4557
  i(B) {
4558
4558
  H || (B && he(() => {
4559
- H && (E && E.end(1), S = ti(
4559
+ H && (E && E.end(1), S = ri(
4560
4560
  r,
4561
- dr,
4561
+ cr,
4562
4562
  /*cardIn*/
4563
4563
  e[23]
4564
4564
  ), S.start());
4565
4565
  }), B && he(() => {
4566
4566
  H && (_ || (_ = xe(
4567
4567
  t,
4568
- ur,
4568
+ dr,
4569
4569
  /*overlayFade*/
4570
4570
  e[22],
4571
4571
  !0
@@ -4573,25 +4573,25 @@ function Lr(e) {
4573
4573
  }), H = !0);
4574
4574
  },
4575
4575
  o(B) {
4576
- S && S.invalidate(), B && (E = ri(
4576
+ S && S.invalidate(), B && (E = ni(
4577
4577
  r,
4578
- dr,
4578
+ cr,
4579
4579
  /*cardOut*/
4580
4580
  e[24]
4581
4581
  )), B && (_ || (_ = xe(
4582
4582
  t,
4583
- ur,
4583
+ dr,
4584
4584
  /*overlayFade*/
4585
4585
  e[22],
4586
4586
  !1
4587
4587
  )), _.run(0)), H = !1;
4588
4588
  },
4589
4589
  d(B) {
4590
- B && Z(t), C && C.d(), L && L.d(), B && E && E.end(), B && _ && _.end(), T = !1, D();
4590
+ B && Y(t), C && C.d(), L && L.d(), B && E && E.end(), B && _ && _.end(), T = !1, F();
4591
4591
  }
4592
4592
  };
4593
4593
  }
4594
- function Hr(e) {
4594
+ function Ar(e) {
4595
4595
  let t, r, n = (
4596
4596
  /*$_*/
4597
4597
  e[10]("enterPhoneHelp") + ""
@@ -4601,7 +4601,7 @@ function Hr(e) {
4601
4601
  ), u, c, h, g, b, w = (
4602
4602
  /*$_*/
4603
4603
  e[10]("phoneLabel") + ""
4604
- ), P, S, E, _, H, T, D, C, L, B = (
4604
+ ), P, S, E, _, H, T, F, C, L, B = (
4605
4605
  /*loading*/
4606
4606
  (e[11] ? (
4607
4607
  /*$_*/
@@ -4610,23 +4610,23 @@ function Hr(e) {
4610
4610
  /*$_*/
4611
4611
  e[10]("requestCode")
4612
4612
  )) + ""
4613
- ), W, ge, Ee;
4613
+ ), Z, ge, Ee;
4614
4614
  function He(I, R) {
4615
4615
  return (
4616
4616
  /*phoneprefixeditable*/
4617
- I[0] === "true" ? ds : us
4617
+ I[0] === "true" ? cs : ds
4618
4618
  );
4619
4619
  }
4620
- let ae = He(e), j = ae(e), M = (
4620
+ let ae = He(e), z = ae(e), M = (
4621
4621
  /*phoneError*/
4622
- e[15] && Ar(e)
4622
+ e[15] && Nr(e)
4623
4623
  ), U = (
4624
4624
  /*phoneInfo*/
4625
- e[16] && Nr(e)
4625
+ e[16] && Ir(e)
4626
4626
  );
4627
4627
  return {
4628
4628
  c() {
4629
- t = x("section"), r = x("p"), i = O(n), o = V(), s = x("div"), a = x("div"), d = x("label"), u = O(l), c = V(), j.c(), h = V(), g = x("div"), b = x("label"), P = O(w), S = V(), E = x("input"), H = V(), T = x("div"), M && M.c(), D = V(), U && U.c(), C = V(), L = x("button"), W = O(B), p(r, "class", "ResetPwdHelp"), p(d, "class", "ResetPwdLabel"), p(d, "for", "ResetPwdPrefix"), p(a, "class", "ResetPwdField ResetPwdFieldPrefix"), at(
4629
+ t = x("section"), r = x("p"), i = O(n), o = V(), s = x("div"), a = x("div"), d = x("label"), u = O(l), c = V(), z.c(), h = V(), g = x("div"), b = x("label"), P = O(w), S = V(), E = x("input"), H = V(), T = x("div"), M && M.c(), F = V(), U && U.c(), C = V(), L = x("button"), Z = O(B), p(r, "class", "ResetPwdHelp"), p(d, "class", "ResetPwdLabel"), p(d, "for", "ResetPwdPrefix"), p(a, "class", "ResetPwdField ResetPwdFieldPrefix"), at(
4630
4630
  a,
4631
4631
  "ResetPwdFieldFilled",
4632
4632
  /*mobilePrefix*/
@@ -4641,11 +4641,11 @@ function Hr(e) {
4641
4641
  e[11], p(t, "class", "ResetPwdSection ResetPwdSectionPhone");
4642
4642
  },
4643
4643
  m(I, R) {
4644
- te(I, t, R), m(t, r), m(r, i), m(t, o), m(t, s), m(s, a), m(a, d), m(d, u), m(a, c), j.m(a, null), m(s, h), m(s, g), m(g, b), m(b, P), m(g, S), m(g, E), ht(
4644
+ te(I, t, R), m(t, r), m(r, i), m(t, o), m(t, s), m(s, a), m(a, d), m(d, u), m(a, c), z.m(a, null), m(s, h), m(s, g), m(g, b), m(b, P), m(g, S), m(g, E), ht(
4645
4645
  E,
4646
4646
  /*phone*/
4647
4647
  e[3]
4648
- ), m(t, H), m(t, T), M && M.m(T, null), m(T, D), U && U.m(T, null), m(t, C), m(t, L), m(L, W), ge || (Ee = [
4648
+ ), m(t, H), m(t, T), M && M.m(T, null), m(T, F), U && U.m(T, null), m(t, C), m(t, L), m(L, Z), ge || (Ee = [
4649
4649
  Ce(
4650
4650
  E,
4651
4651
  "input",
@@ -4663,9 +4663,9 @@ function Hr(e) {
4663
4663
  p(I, R) {
4664
4664
  R[0] & /*$_*/
4665
4665
  1024 && n !== (n = /*$_*/
4666
- I[10]("enterPhoneHelp") + "") && X(i, n), R[0] & /*$_*/
4666
+ I[10]("enterPhoneHelp") + "") && W(i, n), R[0] & /*$_*/
4667
4667
  1024 && l !== (l = /*$_*/
4668
- I[10]("countryCodeLabel") + "") && X(u, l), ae === (ae = He(I)) && j ? j.p(I, R) : (j.d(1), j = ae(I), j && (j.c(), j.m(a, null))), R[0] & /*mobilePrefix*/
4668
+ I[10]("countryCodeLabel") + "") && W(u, l), ae === (ae = He(I)) && z ? z.p(I, R) : (z.d(1), z = ae(I), z && (z.c(), z.m(a, null))), R[0] & /*mobilePrefix*/
4669
4669
  16384 && at(
4670
4670
  a,
4671
4671
  "ResetPwdFieldFilled",
@@ -4673,7 +4673,7 @@ function Hr(e) {
4673
4673
  I[14]
4674
4674
  ), R[0] & /*$_*/
4675
4675
  1024 && w !== (w = /*$_*/
4676
- I[10]("phoneLabel") + "") && X(P, w), R[0] & /*phoneError*/
4676
+ I[10]("phoneLabel") + "") && W(P, w), R[0] & /*phoneError*/
4677
4677
  32768 && _ !== (_ = /*phoneError*/
4678
4678
  I[15] ? "true" : "false") && p(E, "aria-invalid", _), R[0] & /*phone*/
4679
4679
  8 && ht(
@@ -4688,11 +4688,11 @@ function Hr(e) {
4688
4688
  I[3]
4689
4689
  ), /*phoneError*/
4690
4690
  I[15] ? M ? (M.p(I, R), R[0] & /*phoneError*/
4691
- 32768 && fe(M, 1)) : (M = Ar(I), M.c(), fe(M, 1), M.m(T, D)) : M && (rt(), je(M, 1, 1, () => {
4691
+ 32768 && fe(M, 1)) : (M = Nr(I), M.c(), fe(M, 1), M.m(T, F)) : M && (rt(), je(M, 1, 1, () => {
4692
4692
  M = null;
4693
4693
  }), nt()), /*phoneInfo*/
4694
4694
  I[16] ? U ? (U.p(I, R), R[0] & /*phoneInfo*/
4695
- 65536 && fe(U, 1)) : (U = Nr(I), U.c(), fe(U, 1), U.m(T, null)) : U && (rt(), je(U, 1, 1, () => {
4695
+ 65536 && fe(U, 1)) : (U = Ir(I), U.c(), fe(U, 1), U.m(T, null)) : U && (rt(), je(U, 1, 1, () => {
4696
4696
  U = null;
4697
4697
  }), nt()), R[0] & /*loading, $_*/
4698
4698
  3072 && B !== (B = /*loading*/
@@ -4702,16 +4702,16 @@ function Hr(e) {
4702
4702
  ) : (
4703
4703
  /*$_*/
4704
4704
  I[10]("requestCode")
4705
- )) + "") && X(W, B), R[0] & /*loading*/
4705
+ )) + "") && W(Z, B), R[0] & /*loading*/
4706
4706
  2048 && (L.disabled = /*loading*/
4707
4707
  I[11]);
4708
4708
  },
4709
4709
  d(I) {
4710
- I && Z(t), j.d(), M && M.d(), U && U.d(), ge = !1, be(Ee);
4710
+ I && Y(t), z.d(), M && M.d(), U && U.d(), ge = !1, be(Ee);
4711
4711
  }
4712
4712
  };
4713
4713
  }
4714
- function us(e) {
4714
+ function ds(e) {
4715
4715
  let t, r, n, i;
4716
4716
  return {
4717
4717
  c() {
@@ -4742,11 +4742,11 @@ function us(e) {
4742
4742
  );
4743
4743
  },
4744
4744
  d(o) {
4745
- o && Z(t), n = !1, i();
4745
+ o && Y(t), n = !1, i();
4746
4746
  }
4747
4747
  };
4748
4748
  }
4749
- function ds(e) {
4749
+ function cs(e) {
4750
4750
  let t, r;
4751
4751
  return {
4752
4752
  c() {
@@ -4789,11 +4789,11 @@ function ds(e) {
4789
4789
  n[10]("invalidPrefix")) && Ne(t, "errorMessage", r);
4790
4790
  },
4791
4791
  d(n) {
4792
- n && Z(t);
4792
+ n && Y(t);
4793
4793
  }
4794
4794
  };
4795
4795
  }
4796
- function Ar(e) {
4796
+ function Nr(e) {
4797
4797
  let t, r, n, i;
4798
4798
  return {
4799
4799
  c() {
@@ -4807,7 +4807,7 @@ function Ar(e) {
4807
4807
  },
4808
4808
  p(o, s) {
4809
4809
  (!i || s[0] & /*phoneError*/
4810
- 32768) && X(
4810
+ 32768) && W(
4811
4811
  r,
4812
4812
  /*phoneError*/
4813
4813
  o[15]
@@ -4822,11 +4822,11 @@ function Ar(e) {
4822
4822
  o && (n || (n = xe(t, Re, { amount: 5 }, !1)), n.run(0)), i = !1;
4823
4823
  },
4824
4824
  d(o) {
4825
- o && Z(t), o && n && n.end();
4825
+ o && Y(t), o && n && n.end();
4826
4826
  }
4827
4827
  };
4828
4828
  }
4829
- function Nr(e) {
4829
+ function Ir(e) {
4830
4830
  let t, r, n, i;
4831
4831
  return {
4832
4832
  c() {
@@ -4840,7 +4840,7 @@ function Nr(e) {
4840
4840
  },
4841
4841
  p(o, s) {
4842
4842
  (!i || s[0] & /*phoneInfo*/
4843
- 65536) && X(
4843
+ 65536) && W(
4844
4844
  r,
4845
4845
  /*phoneInfo*/
4846
4846
  o[16]
@@ -4855,11 +4855,11 @@ function Nr(e) {
4855
4855
  o && (n || (n = xe(t, Re, { amount: 5 }, !1)), n.run(0)), i = !1;
4856
4856
  },
4857
4857
  d(o) {
4858
- o && Z(t), o && n && n.end();
4858
+ o && Y(t), o && n && n.end();
4859
4859
  }
4860
4860
  };
4861
4861
  }
4862
- function Ir(e) {
4862
+ function Br(e) {
4863
4863
  let t, r, n = (
4864
4864
  /*$_*/
4865
4865
  e[10]("enterCodeTitle") + ""
@@ -4872,10 +4872,10 @@ function Ir(e) {
4872
4872
  ), d, l, u, c, h, g = (
4873
4873
  /*$_*/
4874
4874
  e[10]("verificationCodeLabel") + ""
4875
- ), b, w, P, S, E, _, H, T, D, C, L, B, W, ge = (
4875
+ ), b, w, P, S, E, _, H, T, F, C, L, B, Z, ge = (
4876
4876
  /*$_*/
4877
4877
  e[10]("attemptsLeft") + ""
4878
- ), Ee, He, ae, j, M, U, I, R, ne, ee, pe, ve, Me = (
4878
+ ), Ee, He, ae, z, M, U, I, R, ne, q, pe, ve, Me = (
4879
4879
  /*loading*/
4880
4880
  (e[11] ? (
4881
4881
  /*$_*/
@@ -4884,58 +4884,58 @@ function Ir(e) {
4884
4884
  /*$_*/
4885
4885
  e[10]("submitCode")
4886
4886
  )) + ""
4887
- ), ye, Se, we, Ye, de = lr(Array(
4887
+ ), ye, Se, we, Ye, de = ur(Array(
4888
4888
  /*codeLength*/
4889
4889
  e[26]
4890
4890
  )), re = [];
4891
4891
  for (let v = 0; v < de.length; v += 1)
4892
- re[v] = Br(Rr(e, de, v));
4893
- let Y = (
4892
+ re[v] = Mr(Lr(e, de, v));
4893
+ let Q = (
4894
4894
  /*codeError*/
4895
- e[17] && Mr(e)
4895
+ e[17] && Or(e)
4896
4896
  ), k = (
4897
4897
  /*codeExpiredHint*/
4898
4898
  e[18] && /*remainingSeconds*/
4899
- e[9] === 0 && Or(e)
4900
- ), q = (
4899
+ e[9] === 0 && kr(e)
4900
+ ), X = (
4901
4901
  /*expiresAt*/
4902
- e[5] && kr(e)
4902
+ e[5] && Ur(e)
4903
4903
  );
4904
- function Q(v, z) {
4904
+ function J(v, G) {
4905
4905
  return (
4906
4906
  /*canResendAt*/
4907
4907
  v[6] && /*now*/
4908
4908
  v[7] < /*canResendAt*/
4909
- v[6] ? fs : cs
4909
+ v[6] ? hs : fs
4910
4910
  );
4911
4911
  }
4912
- let Ae = Q(e), le = Ae(e);
4912
+ let Ae = J(e), le = Ae(e);
4913
4913
  return {
4914
4914
  c() {
4915
4915
  t = x("section"), r = x("h3"), i = O(n), o = V(), s = x("p"), d = O(a), l = V(), u = x("div"), c = x("div"), h = x("label"), b = O(g), w = V(), P = x("div");
4916
4916
  for (let v = 0; v < re.length; v += 1)
4917
4917
  re[v].c();
4918
- E = V(), _ = x("div"), Y && Y.c(), H = V(), k && k.c(), T = V(), D = x("div"), C = x("div"), L = x("div"), B = x("span"), W = x("strong"), Ee = O(ge), He = O(":"), ae = V(), j = x("span"), M = O(
4918
+ E = V(), _ = x("div"), Q && Q.c(), H = V(), k && k.c(), T = V(), F = x("div"), C = x("div"), L = x("div"), B = x("span"), Z = x("strong"), Ee = O(ge), He = O(":"), ae = V(), z = x("span"), M = O(
4919
4919
  /*attemptsRemaining*/
4920
4920
  e[4]
4921
- ), U = V(), q && q.c(), I = V(), R = x("button"), le.c(), pe = V(), ve = x("button"), ye = O(Me), p(r, "id", "ResetPwdCodeTitle"), p(r, "class", "ResetPwdStepTitle"), p(s, "class", "ResetPwdHelp"), p(h, "class", "ResetPwdLabel"), p(h, "for", "ResetPwdCode"), p(P, "class", "ResetPwdCodeGroup"), p(P, "role", "group"), p(P, "aria-label", S = /*$_*/
4922
- e[10]("verificationCodeLabel")), p(c, "class", "ResetPwdField ResetPwdFieldCode"), p(u, "class", "ResetPwdRow"), p(u, "aria-describedby", "ResetPwdRowErrorsCode"), p(_, "id", "ResetPwdRowErrorsCode"), p(_, "class", "ResetPwdErrors"), p(_, "role", "alert"), p(_, "aria-live", "assertive"), p(j, "class", "ResetPwdAttempts"), p(B, "class", "ResetPwdMeta"), p(L, "class", "ResetPwdMetaRow"), p(R, "class", "ResetPwdLink"), p(R, "type", "button"), R.disabled = ne = /*loading*/
4921
+ ), U = V(), X && X.c(), I = V(), R = x("button"), le.c(), pe = V(), ve = x("button"), ye = O(Me), p(r, "id", "ResetPwdCodeTitle"), p(r, "class", "ResetPwdStepTitle"), p(s, "class", "ResetPwdHelp"), p(h, "class", "ResetPwdLabel"), p(h, "for", "ResetPwdCode"), p(P, "class", "ResetPwdCodeGroup"), p(P, "role", "group"), p(P, "aria-label", S = /*$_*/
4922
+ e[10]("verificationCodeLabel")), p(c, "class", "ResetPwdField ResetPwdFieldCode"), p(u, "class", "ResetPwdRow"), p(u, "aria-describedby", "ResetPwdRowErrorsCode"), p(_, "id", "ResetPwdRowErrorsCode"), p(_, "class", "ResetPwdErrors"), p(_, "role", "alert"), p(_, "aria-live", "assertive"), p(z, "class", "ResetPwdAttempts"), p(B, "class", "ResetPwdMeta"), p(L, "class", "ResetPwdMetaRow"), p(R, "class", "ResetPwdLink"), p(R, "type", "button"), R.disabled = ne = /*loading*/
4923
4923
  e[11] || /*canResendAt*/
4924
4924
  e[6] && /*now*/
4925
4925
  e[7] < /*canResendAt*/
4926
- e[6], p(R, "aria-disabled", ee = /*loading*/
4926
+ e[6], p(R, "aria-disabled", q = /*loading*/
4927
4927
  e[11] || /*canResendAt*/
4928
4928
  e[6] && /*now*/
4929
4929
  e[7] < /*canResendAt*/
4930
- e[6]), p(C, "class", "ResetPwdField ResetPwdFieldMeta"), p(D, "class", "ResetPwdRow"), p(D, "aria-describedby", "ResetPwdRowErrorsCode"), p(ve, "class", "ResetPwdButton"), p(ve, "type", "button"), ve.disabled = Se = /*loading*/
4930
+ e[6]), p(C, "class", "ResetPwdField ResetPwdFieldMeta"), p(F, "class", "ResetPwdRow"), p(F, "aria-describedby", "ResetPwdRowErrorsCode"), p(ve, "class", "ResetPwdButton"), p(ve, "type", "button"), ve.disabled = Se = /*loading*/
4931
4931
  e[11] || /*disableSubmitCode*/
4932
4932
  e[20], p(t, "class", "ResetPwdSection ResetPwdSectionCode"), p(t, "aria-labelledby", "ResetPwdCodeTitle");
4933
4933
  },
4934
- m(v, z) {
4935
- te(v, t, z), m(t, r), m(r, i), m(t, o), m(t, s), m(s, d), m(t, l), m(t, u), m(u, c), m(c, h), m(h, b), m(c, w), m(c, P);
4936
- for (let J = 0; J < re.length; J += 1)
4937
- re[J] && re[J].m(P, null);
4938
- m(t, E), m(t, _), Y && Y.m(_, null), m(_, H), k && k.m(_, null), m(t, T), m(t, D), m(D, C), m(C, L), m(L, B), m(B, W), m(W, Ee), m(W, He), m(B, ae), m(B, j), m(j, M), m(L, U), q && q.m(L, null), m(C, I), m(C, R), le.m(R, null), m(t, pe), m(t, ve), m(ve, ye), we || (Ye = [
4934
+ m(v, G) {
4935
+ te(v, t, G), m(t, r), m(r, i), m(t, o), m(t, s), m(s, d), m(t, l), m(t, u), m(u, c), m(c, h), m(h, b), m(c, w), m(c, P);
4936
+ for (let K = 0; K < re.length; K += 1)
4937
+ re[K] && re[K].m(P, null);
4938
+ m(t, E), m(t, _), Q && Q.m(_, null), m(_, H), k && k.m(_, null), m(t, T), m(t, F), m(F, C), m(C, L), m(L, B), m(B, Z), m(Z, Ee), m(Z, He), m(B, ae), m(B, z), m(z, M), m(L, U), X && X.m(L, null), m(C, I), m(C, R), le.m(R, null), m(t, pe), m(t, ve), m(ve, ye), we || (Ye = [
4939
4939
  Ce(
4940
4940
  R,
4941
4941
  "click",
@@ -4950,61 +4950,61 @@ function Ir(e) {
4950
4950
  )
4951
4951
  ], we = !0);
4952
4952
  },
4953
- p(v, z) {
4954
- if (z[0] & /*$_*/
4953
+ p(v, G) {
4954
+ if (G[0] & /*$_*/
4955
4955
  1024 && n !== (n = /*$_*/
4956
- v[10]("enterCodeTitle") + "") && X(i, n), z[0] & /*$_*/
4956
+ v[10]("enterCodeTitle") + "") && W(i, n), G[0] & /*$_*/
4957
4957
  1024 && a !== (a = /*$_*/
4958
4958
  v[10]("codeSubtitle").replace("{n}", String(
4959
4959
  /*codeLength*/
4960
4960
  v[26]
4961
- )) + "") && X(d, a), z[0] & /*$_*/
4961
+ )) + "") && W(d, a), G[0] & /*$_*/
4962
4962
  1024 && g !== (g = /*$_*/
4963
- v[10]("verificationCodeLabel") + "") && X(b, g), z[0] & /*codeDigits, codeError, codeInputs, handleCodeInput, handleCodeKeyDown*/
4963
+ v[10]("verificationCodeLabel") + "") && W(b, g), G[0] & /*codeDigits, codeError, codeInputs, handleCodeInput, handleCodeKeyDown*/
4964
4964
  403308800) {
4965
- de = lr(Array(
4965
+ de = ur(Array(
4966
4966
  /*codeLength*/
4967
4967
  v[26]
4968
4968
  ));
4969
- let J;
4970
- for (J = 0; J < de.length; J += 1) {
4971
- const Qe = Rr(v, de, J);
4972
- re[J] ? re[J].p(Qe, z) : (re[J] = Br(Qe), re[J].c(), re[J].m(P, null));
4969
+ let K;
4970
+ for (K = 0; K < de.length; K += 1) {
4971
+ const Qe = Lr(v, de, K);
4972
+ re[K] ? re[K].p(Qe, G) : (re[K] = Mr(Qe), re[K].c(), re[K].m(P, null));
4973
4973
  }
4974
- for (; J < re.length; J += 1)
4975
- re[J].d(1);
4974
+ for (; K < re.length; K += 1)
4975
+ re[K].d(1);
4976
4976
  re.length = de.length;
4977
4977
  }
4978
- z[0] & /*$_*/
4978
+ G[0] & /*$_*/
4979
4979
  1024 && S !== (S = /*$_*/
4980
4980
  v[10]("verificationCodeLabel")) && p(P, "aria-label", S), /*codeError*/
4981
- v[17] ? Y ? (Y.p(v, z), z[0] & /*codeError*/
4982
- 131072 && fe(Y, 1)) : (Y = Mr(v), Y.c(), fe(Y, 1), Y.m(_, H)) : Y && (rt(), je(Y, 1, 1, () => {
4983
- Y = null;
4981
+ v[17] ? Q ? (Q.p(v, G), G[0] & /*codeError*/
4982
+ 131072 && fe(Q, 1)) : (Q = Or(v), Q.c(), fe(Q, 1), Q.m(_, H)) : Q && (rt(), je(Q, 1, 1, () => {
4983
+ Q = null;
4984
4984
  }), nt()), /*codeExpiredHint*/
4985
4985
  v[18] && /*remainingSeconds*/
4986
- v[9] === 0 ? k ? (k.p(v, z), z[0] & /*codeExpiredHint, remainingSeconds*/
4987
- 262656 && fe(k, 1)) : (k = Or(v), k.c(), fe(k, 1), k.m(_, null)) : k && (rt(), je(k, 1, 1, () => {
4986
+ v[9] === 0 ? k ? (k.p(v, G), G[0] & /*codeExpiredHint, remainingSeconds*/
4987
+ 262656 && fe(k, 1)) : (k = kr(v), k.c(), fe(k, 1), k.m(_, null)) : k && (rt(), je(k, 1, 1, () => {
4988
4988
  k = null;
4989
- }), nt()), z[0] & /*$_*/
4989
+ }), nt()), G[0] & /*$_*/
4990
4990
  1024 && ge !== (ge = /*$_*/
4991
- v[10]("attemptsLeft") + "") && X(Ee, ge), z[0] & /*attemptsRemaining*/
4992
- 16 && X(
4991
+ v[10]("attemptsLeft") + "") && W(Ee, ge), G[0] & /*attemptsRemaining*/
4992
+ 16 && W(
4993
4993
  M,
4994
4994
  /*attemptsRemaining*/
4995
4995
  v[4]
4996
4996
  ), /*expiresAt*/
4997
- v[5] ? q ? q.p(v, z) : (q = kr(v), q.c(), q.m(L, null)) : q && (q.d(1), q = null), Ae === (Ae = Q(v)) && le ? le.p(v, z) : (le.d(1), le = Ae(v), le && (le.c(), le.m(R, null))), z[0] & /*loading, canResendAt, now*/
4997
+ v[5] ? X ? X.p(v, G) : (X = Ur(v), X.c(), X.m(L, null)) : X && (X.d(1), X = null), Ae === (Ae = J(v)) && le ? le.p(v, G) : (le.d(1), le = Ae(v), le && (le.c(), le.m(R, null))), G[0] & /*loading, canResendAt, now*/
4998
4998
  2240 && ne !== (ne = /*loading*/
4999
4999
  v[11] || /*canResendAt*/
5000
5000
  v[6] && /*now*/
5001
5001
  v[7] < /*canResendAt*/
5002
- v[6]) && (R.disabled = ne), z[0] & /*loading, canResendAt, now*/
5003
- 2240 && ee !== (ee = /*loading*/
5002
+ v[6]) && (R.disabled = ne), G[0] & /*loading, canResendAt, now*/
5003
+ 2240 && q !== (q = /*loading*/
5004
5004
  v[11] || /*canResendAt*/
5005
5005
  v[6] && /*now*/
5006
5006
  v[7] < /*canResendAt*/
5007
- v[6]) && p(R, "aria-disabled", ee), z[0] & /*loading, $_*/
5007
+ v[6]) && p(R, "aria-disabled", q), G[0] & /*loading, $_*/
5008
5008
  3072 && Me !== (Me = /*loading*/
5009
5009
  (v[11] ? (
5010
5010
  /*$_*/
@@ -5012,20 +5012,20 @@ function Ir(e) {
5012
5012
  ) : (
5013
5013
  /*$_*/
5014
5014
  v[10]("submitCode")
5015
- )) + "") && X(ye, Me), z[0] & /*loading, disableSubmitCode*/
5015
+ )) + "") && W(ye, Me), G[0] & /*loading, disableSubmitCode*/
5016
5016
  1050624 && Se !== (Se = /*loading*/
5017
5017
  v[11] || /*disableSubmitCode*/
5018
5018
  v[20]) && (ve.disabled = Se);
5019
5019
  },
5020
5020
  d(v) {
5021
- v && Z(t), zn(re, v), Y && Y.d(), k && k.d(), q && q.d(), le.d(), we = !1, be(Ye);
5021
+ v && Y(t), Gn(re, v), Q && Q.d(), k && k.d(), X && X.d(), le.d(), we = !1, be(Ye);
5022
5022
  }
5023
5023
  };
5024
5024
  }
5025
- function Br(e) {
5025
+ function Mr(e) {
5026
5026
  let t, r, n, i = (
5027
5027
  /*index*/
5028
- e[73]
5028
+ e[74]
5029
5029
  ), o, s;
5030
5030
  const a = () => (
5031
5031
  /*input_binding*/
@@ -5039,7 +5039,7 @@ function Br(e) {
5039
5039
  /*input_handler*/
5040
5040
  e[51](
5041
5041
  /*index*/
5042
- e[73],
5042
+ e[74],
5043
5043
  ...c
5044
5044
  )
5045
5045
  );
@@ -5049,7 +5049,7 @@ function Br(e) {
5049
5049
  /*keydown_handler*/
5050
5050
  e[52](
5051
5051
  /*index*/
5052
- e[73],
5052
+ e[74],
5053
5053
  ...c
5054
5054
  )
5055
5055
  );
@@ -5059,7 +5059,7 @@ function Br(e) {
5059
5059
  t = x("input"), p(t, "class", "ResetPwdCodeInput"), p(t, "type", "text"), p(t, "maxlength", "1"), t.value = r = /*codeDigits*/
5060
5060
  e[8][
5061
5061
  /*index*/
5062
- e[73]
5062
+ e[74]
5063
5063
  ], p(t, "inputmode", "numeric"), p(t, "pattern", "\\d*"), p(t, "autocomplete", "one-time-code"), p(t, "placeholder", "•"), p(t, "aria-invalid", n = /*codeError*/
5064
5064
  e[17] ? "true" : "false");
5065
5065
  },
@@ -5074,19 +5074,19 @@ function Br(e) {
5074
5074
  256 && r !== (r = /*codeDigits*/
5075
5075
  e[8][
5076
5076
  /*index*/
5077
- e[73]
5077
+ e[74]
5078
5078
  ]) && t.value !== r && (t.value = r), h[0] & /*codeError*/
5079
5079
  131072 && n !== (n = /*codeError*/
5080
5080
  e[17] ? "true" : "false") && p(t, "aria-invalid", n), i !== /*index*/
5081
- e[73] && (d(), i = /*index*/
5082
- e[73], a());
5081
+ e[74] && (d(), i = /*index*/
5082
+ e[74], a());
5083
5083
  },
5084
5084
  d(c) {
5085
- c && Z(t), d(), o = !1, be(s);
5085
+ c && Y(t), d(), o = !1, be(s);
5086
5086
  }
5087
5087
  };
5088
5088
  }
5089
- function Mr(e) {
5089
+ function Or(e) {
5090
5090
  let t, r, n, i;
5091
5091
  return {
5092
5092
  c() {
@@ -5100,7 +5100,7 @@ function Mr(e) {
5100
5100
  },
5101
5101
  p(o, s) {
5102
5102
  (!i || s[0] & /*codeError*/
5103
- 131072) && X(
5103
+ 131072) && W(
5104
5104
  r,
5105
5105
  /*codeError*/
5106
5106
  o[17]
@@ -5115,11 +5115,11 @@ function Mr(e) {
5115
5115
  o && (n || (n = xe(t, Re, { amount: 5 }, !1)), n.run(0)), i = !1;
5116
5116
  },
5117
5117
  d(o) {
5118
- o && Z(t), o && n && n.end();
5118
+ o && Y(t), o && n && n.end();
5119
5119
  }
5120
5120
  };
5121
5121
  }
5122
- function Or(e) {
5122
+ function kr(e) {
5123
5123
  let t, r, n, i;
5124
5124
  return {
5125
5125
  c() {
@@ -5133,7 +5133,7 @@ function Or(e) {
5133
5133
  },
5134
5134
  p(o, s) {
5135
5135
  (!i || s[0] & /*codeExpiredHint*/
5136
- 262144) && X(
5136
+ 262144) && W(
5137
5137
  r,
5138
5138
  /*codeExpiredHint*/
5139
5139
  o[18]
@@ -5148,11 +5148,11 @@ function Or(e) {
5148
5148
  o && (n || (n = xe(t, Re, { amount: 5 }, !1)), n.run(0)), i = !1;
5149
5149
  },
5150
5150
  d(o) {
5151
- o && Z(t), o && n && n.end();
5151
+ o && Y(t), o && n && n.end();
5152
5152
  }
5153
5153
  };
5154
5154
  }
5155
- function kr(e) {
5155
+ function Ur(e) {
5156
5156
  let t, r, n = (
5157
5157
  /*$_*/
5158
5158
  e[10]("expiresIn") + ""
@@ -5170,19 +5170,19 @@ function kr(e) {
5170
5170
  p(u, c) {
5171
5171
  c[0] & /*$_*/
5172
5172
  1024 && n !== (n = /*$_*/
5173
- u[10]("expiresIn") + "") && X(i, n), c[0] & /*remainingSeconds*/
5174
- 512 && X(
5173
+ u[10]("expiresIn") + "") && W(i, n), c[0] & /*remainingSeconds*/
5174
+ 512 && W(
5175
5175
  d,
5176
5176
  /*remainingSeconds*/
5177
5177
  u[9]
5178
5178
  );
5179
5179
  },
5180
5180
  d(u) {
5181
- u && Z(t);
5181
+ u && Y(t);
5182
5182
  }
5183
5183
  };
5184
5184
  }
5185
- function cs(e) {
5185
+ function fs(e) {
5186
5186
  let t = (
5187
5187
  /*$_*/
5188
5188
  e[10]("resendCode") + ""
@@ -5197,14 +5197,14 @@ function cs(e) {
5197
5197
  p(n, i) {
5198
5198
  i[0] & /*$_*/
5199
5199
  1024 && t !== (t = /*$_*/
5200
- n[10]("resendCode") + "") && X(r, t);
5200
+ n[10]("resendCode") + "") && W(r, t);
5201
5201
  },
5202
5202
  d(n) {
5203
- n && Z(r);
5203
+ n && Y(r);
5204
5204
  }
5205
5205
  };
5206
5206
  }
5207
- function fs(e) {
5207
+ function hs(e) {
5208
5208
  let t = (
5209
5209
  /*$_*/
5210
5210
  e[10]("resendCode") + ""
@@ -5222,22 +5222,22 @@ function fs(e) {
5222
5222
  p(d, l) {
5223
5223
  l[0] & /*$_*/
5224
5224
  1024 && t !== (t = /*$_*/
5225
- d[10]("resendCode") + "") && X(r, t), l[0] & /*resendSeconds*/
5226
- 2097152 && X(
5225
+ d[10]("resendCode") + "") && W(r, t), l[0] & /*resendSeconds*/
5226
+ 2097152 && W(
5227
5227
  o,
5228
5228
  /*resendSeconds*/
5229
5229
  d[21]
5230
5230
  );
5231
5231
  },
5232
5232
  d(d) {
5233
- d && (Z(r), Z(n), Z(i), Z(a));
5233
+ d && (Y(r), Y(n), Y(i), Y(a));
5234
5234
  }
5235
5235
  };
5236
5236
  }
5237
- function hs(e) {
5237
+ function ps(e) {
5238
5238
  let t, r = (
5239
5239
  /*isModalOpen*/
5240
- e[12] && Lr(e)
5240
+ e[12] && Hr(e)
5241
5241
  );
5242
5242
  return {
5243
5243
  c() {
@@ -5249,7 +5249,7 @@ function hs(e) {
5249
5249
  p(n, i) {
5250
5250
  /*isModalOpen*/
5251
5251
  n[12] ? r ? (r.p(n, i), i[0] & /*isModalOpen*/
5252
- 4096 && fe(r, 1)) : (r = Lr(n), r.c(), fe(r, 1), r.m(t, null)) : r && (rt(), je(r, 1, 1, () => {
5252
+ 4096 && fe(r, 1)) : (r = Hr(n), r.c(), fe(r, 1), r.m(t, null)) : r && (rt(), je(r, 1, 1, () => {
5253
5253
  r = null;
5254
5254
  }), nt());
5255
5255
  },
@@ -5260,18 +5260,18 @@ function hs(e) {
5260
5260
  je(r);
5261
5261
  },
5262
5262
  d(n) {
5263
- n && Z(t), r && r.d(), e[53](null);
5263
+ n && Y(t), r && r.d(), e[53](null);
5264
5264
  }
5265
5265
  };
5266
5266
  }
5267
- function ps(e) {
5267
+ function ms(e) {
5268
5268
  try {
5269
5269
  return JSON.parse(e);
5270
5270
  } catch (t) {
5271
5271
  return;
5272
5272
  }
5273
5273
  }
5274
- function Ur(e, t = "error") {
5274
+ function Dr(e, t = "error") {
5275
5275
  window.postMessage(
5276
5276
  {
5277
5277
  type: "WidgetNotification",
@@ -5280,20 +5280,20 @@ function Ur(e, t = "error") {
5280
5280
  window.location.href
5281
5281
  );
5282
5282
  }
5283
- function ms(e, t, r) {
5283
+ function bs(e, t, r) {
5284
5284
  let n, i, o, s, a, d, l, u;
5285
- Un(e, es, (f) => r(10, u = f));
5286
- let { clientstyling: c = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: g = "" } = t, { mbsource: b } = t, { phoneregex: w = "" } = t, { phoneprefixeditable: P = "true" } = t, { smscodelength: S = "6" } = t, { smscodemaxattempts: E = "5" } = t, { smscodettl: _ = "5" } = t, { resenddelay: H = "1" } = t, { endpoint: T = "" } = t, { lang: D = "en" } = t, C, L = "phone", B = !1, W = !0;
5287
- const ge = { duration: 140, easing: Ht }, Ee = {
5285
+ Dn(e, ts, (f) => r(10, u = f));
5286
+ let { clientstyling: c = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: g = "" } = t, { mbsource: b } = t, { phoneregex: w = "" } = t, { phoneprefixeditable: P = "true" } = t, { smscodelength: S = "6" } = t, { smscodemaxattempts: E = "5" } = t, { smscodettl: _ = "5" } = t, { resenddelay: H = "1" } = t, { endpoint: T = "" } = t, { lang: F = "en" } = t, C, L = "phone", B = !1, Z = !0;
5287
+ const ge = { duration: 140, easing: At }, Ee = {
5288
5288
  duration: 220,
5289
5289
  start: 0.96,
5290
- easing: Ht
5290
+ easing: At
5291
5291
  }, He = {
5292
5292
  duration: 140,
5293
5293
  start: 1,
5294
- easing: Ht
5294
+ easing: At
5295
5295
  };
5296
- let ae = [], j = "", M = "", U = "", I = "", R = null, ne = "", ee = "", pe = /^[\d\.]+$/.test(E) ? Number(E) : 5, ve = Number(/^[\d\.]+$/.test(_) ? _ : 5) * 60 * 1e3, Me = Number(/^[\d\.]+$/.test(H) ? H : 1) * 60 * 1e3, ye = null, Se = "", we = null, Ye = null, de = Date.now();
5296
+ let ae = [], z = "", M = "", U = "", I = "", R = null, ne = "", q = "", pe = /^[\d\.]+$/.test(E) ? Number(E) : 5, ve = Number(/^[\d\.]+$/.test(_) ? _ : 5) * 60 * 1e3, Me = Number(/^[\d\.]+$/.test(H) ? H : 1) * 60 * 1e3, ye = null, Se = "", we = null, Ye = null, de = Date.now();
5297
5297
  setInterval(
5298
5298
  () => {
5299
5299
  r(7, de = Date.now());
@@ -5311,120 +5311,123 @@ function ms(e, t, r) {
5311
5311
  );
5312
5312
  } catch (f) {
5313
5313
  }
5314
- r(12, W = !1);
5314
+ r(12, Z = !1);
5315
5315
  }
5316
- function Y(f) {
5316
+ function Q(f) {
5317
5317
  return w ? (typeof w == "string" ? new RegExp(w) : w).test(f.trim()) : !1;
5318
5318
  }
5319
- let k = Number(S), q = [], Q = Array(Number(k)).fill("");
5319
+ let k = Number(S), X = [], J = Array(Number(k)).fill("");
5320
5320
  function Ae(f, y) {
5321
- const G = f.target.value.replace(/\D/g, "");
5322
- if (G.length === 1)
5323
- r(8, Q[y] = G, Q), v(y);
5324
- else if (G.length > 1) {
5325
- const oe = G.split("").slice(0, k - y);
5326
- oe.forEach((st, An) => {
5327
- r(8, Q[y + An] = st, Q);
5328
- }), J(y + oe.length - 1);
5321
+ const D = f.target.value.replace(/\D/g, "");
5322
+ if (D.length === 1)
5323
+ r(8, J[y] = D, J), v(y);
5324
+ else if (D.length > 1) {
5325
+ const oe = D.split("").slice(0, k - y);
5326
+ oe.forEach((st, Nn) => {
5327
+ r(8, J[y + Nn] = st, J);
5328
+ }), K(y + oe.length - 1);
5329
5329
  }
5330
- ne = Q.join("");
5330
+ ne = J.join("");
5331
5331
  }
5332
5332
  function le(f, y) {
5333
- f.key === "Backspace" ? Q[y] ? r(8, Q[y] = "", Q) : y > 0 && (z(y), r(8, Q[y - 1] = "", Q)) : !/\d/.test(f.key) && f.key !== "Tab" && f.key.length === 1 && f.preventDefault();
5333
+ f.key === "Backspace" ? J[y] ? r(8, J[y] = "", J) : y > 0 && (G(y), r(8, J[y - 1] = "", J)) : !/\d/.test(f.key) && f.key !== "Tab" && f.key.length === 1 && f.preventDefault();
5334
5334
  }
5335
5335
  function v(f) {
5336
5336
  var y;
5337
- f < k - 1 && ((y = q[f + 1]) == null || y.focus());
5337
+ f < k - 1 && ((y = X[f + 1]) == null || y.focus());
5338
5338
  }
5339
- function z(f) {
5339
+ function G(f) {
5340
5340
  var y;
5341
- f > 0 && ((y = q[f - 1]) == null || y.focus());
5341
+ f > 0 && ((y = X[f - 1]) == null || y.focus());
5342
5342
  }
5343
- function J(f) {
5343
+ function K(f) {
5344
5344
  var y;
5345
- f >= 0 && f < k && ((y = q[f]) == null || y.focus());
5345
+ f >= 0 && f < k && ((y = X[f]) == null || y.focus());
5346
5346
  }
5347
5347
  function Qe(f, y) {
5348
5348
  return me(this, null, function* () {
5349
5349
  var st;
5350
- const K = yield fetch(f, {
5350
+ const ee = yield fetch(f, {
5351
5351
  method: "POST",
5352
5352
  headers: { "Content-Type": "application/json" },
5353
5353
  body: void 0
5354
- }), G = yield K.text(), oe = G ? ps(G) : void 0;
5355
- if (!K.ok)
5356
- throw new Tr(K.status, (st = oe == null ? void 0 : oe.error) != null ? st : K.statusText, oe);
5354
+ }), D = yield ee.text(), oe = D ? ms(D) : void 0;
5355
+ if (!ee.ok)
5356
+ throw new Cr(ee.status, (st = oe == null ? void 0 : oe.error) != null ? st : ee.statusText, oe);
5357
5357
  return oe != null ? oe : {};
5358
5358
  });
5359
5359
  }
5360
- function gn(f) {
5360
+ function vn(f) {
5361
5361
  return me(this, null, function* () {
5362
- const { mobileNumber: y, mobilePrefix: K } = f, G = new URLSearchParams({ mobileNumber: y });
5363
- K && G.set("mobilePrefix", K);
5364
- const oe = `${T}/v1/player/resetPasswordByMobilePhone?${G.toString()}`;
5362
+ const { mobileNumber: y, mobilePrefix: ee } = f, D = new URLSearchParams({ mobileNumber: y });
5363
+ ee && D.set("mobilePrefix", ee);
5364
+ const oe = `${T}/v1/player/resetPasswordByMobilePhone?${D.toString()}`;
5365
5365
  return yield Qe(oe);
5366
5366
  });
5367
5367
  }
5368
- function vn(f) {
5368
+ function yn(f) {
5369
5369
  return me(this, null, function* () {
5370
- const { tokenId: y, validationCode: K } = f, G = new URLSearchParams({ tokenId: y, validationCode: K }), oe = `${T}/v1/player/resetPasswordByMobilePhone/validate?${G.toString()}`;
5370
+ const { tokenId: y, validationCode: ee } = f, D = new URLSearchParams({ tokenId: y, validationCode: ee }), oe = `${T}/v1/player/resetPasswordByMobilePhone/validate?${D.toString()}`;
5371
5371
  return yield Qe(oe);
5372
5372
  });
5373
5373
  }
5374
- function yn() {
5374
+ function wn() {
5375
5375
  return me(this, null, function* () {
5376
5376
  const f = new URL(`${T}/v1/player/operatorSupportedPhoneCodes`), y = yield fetch(f.href);
5377
5377
  try {
5378
- return (yield y.json()).phoneCodes.map((G) => ({ label: G, value: G }));
5379
- } catch (K) {
5378
+ return (yield y.json()).phoneCodes.map((D) => ({ label: D, value: D }));
5379
+ } catch (ee) {
5380
5380
  return [];
5381
5381
  }
5382
5382
  });
5383
5383
  }
5384
- function wn(f) {
5384
+ function _n(f) {
5385
5385
  const y = f.target.value;
5386
5386
  r(14, M = y);
5387
5387
  }
5388
- function rr() {
5388
+ function nr() {
5389
5389
  return me(this, null, function* () {
5390
- r(15, U = ""), r(16, I = ""), r(17, ee = ""), r(11, B = !0);
5390
+ r(15, U = ""), r(16, I = ""), r(17, q = ""), r(11, B = !0);
5391
5391
  try {
5392
- if (!Y(j)) {
5392
+ if (!Q(z)) {
5393
5393
  r(15, U = u("invalidPhone"));
5394
5394
  return;
5395
5395
  }
5396
- const f = yield gn({
5397
- mobileNumber: j.trim(),
5396
+ const f = yield vn({
5397
+ mobileNumber: z.trim(),
5398
5398
  mobilePrefix: (M == null ? void 0 : M.trim()) || void 0
5399
5399
  });
5400
5400
  if (f != null && f.tokenId) {
5401
- R = f.tokenId, r(5, ye = Date.now() + ve), r(6, we = Date.now() + Me), r(18, Se = ""), ne = "", r(8, Q = Array.from({ length: k }, () => ""));
5402
- const y = ss(R);
5403
- r(4, pe = y != null ? y : Number(E)), Cr(R, pe), r(2, L = "code");
5401
+ R = f.tokenId, r(5, ye = Date.now() + ve), r(6, we = Date.now() + Me), r(18, Se = ""), ne = "", r(8, J = Array.from({ length: k }, () => ""));
5402
+ const y = as(R);
5403
+ r(4, pe = y != null ? y : Number(E)), Rr(R, pe), r(2, L = "code");
5404
5404
  } else
5405
5405
  r(16, I = u("genericIfRegistered"));
5406
5406
  } catch (f) {
5407
- const { message: y, thirdPartyResponse: { message: K } = {} } = f;
5408
- r(15, U = K || y), Ur(U);
5407
+ const { message: y, thirdPartyResponse: { message: ee } = {} } = f;
5408
+ r(15, U = ee || y), Dr(U);
5409
5409
  } finally {
5410
5410
  r(11, B = !1);
5411
5411
  }
5412
5412
  });
5413
5413
  }
5414
- function _n() {
5414
+ function Rt() {
5415
+ r(4, pe = Math.max(0, pe - 1)), Rr(R, pe);
5416
+ }
5417
+ function Pn() {
5415
5418
  return me(this, null, function* () {
5416
- r(17, ee = ""), r(11, B = !0);
5419
+ r(17, q = ""), r(11, B = !0);
5417
5420
  try {
5418
5421
  if (!ne || ne.trim().length !== k || !/^\d+$/.test(ne.trim())) {
5419
- r(17, ee = u("enterDigitsCode").replace("{n}", String(k)));
5422
+ r(17, q = u("enterDigitsCode").replace("{n}", String(k)));
5420
5423
  return;
5421
5424
  }
5422
5425
  if (!R) {
5423
- r(17, ee = u("invalidRequest"));
5426
+ r(17, q = u("invalidRequest"));
5424
5427
  return;
5425
5428
  }
5426
- const f = yield vn({ tokenId: R, validationCode: ne.trim() });
5427
- Ye = f.hashKey.charAt(0) === "/" ? f.hashKey.slice(1) : f.hashKey, r(2, L = "password"), as(R), window.postMessage(
5429
+ const f = yield yn({ tokenId: R, validationCode: ne.trim() });
5430
+ Ye = f.hashKey.charAt(0) === "/" ? f.hashKey.slice(1) : f.hashKey, r(2, L = "password"), ls(R), window.postMessage(
5428
5431
  {
5429
5432
  type: "SwitchToResetPasswordScreen",
5430
5433
  key: Ye
@@ -5432,118 +5435,122 @@ function ms(e, t, r) {
5432
5435
  window.location.href
5433
5436
  );
5434
5437
  } catch (f) {
5435
- if (r(17, ee = u("unableToVerify")), f instanceof Tr) {
5436
- const y = f.payload, K = f.status, G = ((y == null ? void 0 : y.error) || "").toLowerCase();
5437
- switch (K) {
5438
+ if (r(17, q = u("unableToVerify")), f instanceof Cr) {
5439
+ const y = f.payload, ee = f.status, D = ((y == null ? void 0 : y.error) || "").toLowerCase();
5440
+ switch (ee) {
5438
5441
  case 400: {
5439
- G.includes("invalid validation code") ? (r(4, pe = Math.max(0, pe - 1)), Cr(R, pe), r(17, ee = pe > 0 ? u("incorrectCode") : u("tooManyAttempts"))) : G.includes("expired") ? (r(17, ee = u("codeExpired")), r(18, Se = u("codeExpired")), r(5, ye = null)) : G.includes("not valid") || G.includes("invalid token") ? r(17, ee = u("invalidRequest")) : r(17, ee = u("unableToVerify"));
5442
+ D.includes("invalid validation code") ? (Rt(), r(17, q = pe > 0 ? u("incorrectCode") : u("tooManyAttempts"))) : D.includes("expired") ? (r(17, q = u("codeExpired")), r(18, Se = u("codeExpired")), r(5, ye = null)) : D.includes("not valid") || D.includes("invalid token") ? r(17, q = u("invalidRequest")) : r(17, q = u("unableToVerify"));
5443
+ break;
5444
+ }
5445
+ case 424: {
5446
+ D.includes("input is not match") ? (Rt(), r(17, q = u("incorrectCode"))) : D.includes("validation max attempts exceeded") ? (Rt(), r(17, q = u("tooManyAttempts"))) : r(17, q = u("unableToVerify"));
5440
5447
  break;
5441
5448
  }
5442
5449
  case 404: {
5443
- r(17, ee = u("sessionNotFound"));
5450
+ r(17, q = u("sessionNotFound"));
5444
5451
  break;
5445
5452
  }
5446
5453
  default: {
5447
- r(17, ee = u("unableToVerify"));
5454
+ r(17, q = u("unableToVerify"));
5448
5455
  break;
5449
5456
  }
5450
5457
  }
5451
- Ur(ee);
5458
+ Dr(q);
5452
5459
  }
5453
5460
  } finally {
5454
5461
  r(11, B = !1);
5455
5462
  }
5456
5463
  });
5457
5464
  }
5458
- function Pn() {
5465
+ function xn() {
5459
5466
  return me(this, null, function* () {
5460
- B || we && de < we || (yield rr());
5467
+ B || we && de < we || (yield nr());
5461
5468
  });
5462
5469
  }
5463
- ts({ withLocale: "en", translations: {} });
5464
- const xn = (f) => me(this, null, function* () {
5470
+ rs({ withLocale: "en", translations: {} });
5471
+ const En = (f) => me(this, null, function* () {
5465
5472
  try {
5466
5473
  const y = yield fetch(f);
5467
5474
  if (!y.ok)
5468
5475
  throw new Error(`Fetch failed with status ${y.status}`);
5469
- const K = yield y.json();
5470
- for (const G in K)
5471
- Er(G, K[G]);
5476
+ const ee = yield y.json();
5477
+ for (const D in ee)
5478
+ Sr(D, ee[D]);
5472
5479
  } catch (y) {
5473
5480
  console.error("Error fetching translation", y);
5474
5481
  }
5475
5482
  });
5476
- Object.keys(Sr).forEach((f) => {
5477
- Er(f, Sr[f]);
5483
+ Object.keys(Tr).forEach((f) => {
5484
+ Sr(f, Tr[f]);
5478
5485
  });
5479
- const En = () => {
5480
- rs(D);
5486
+ const Sn = () => {
5487
+ ns(F);
5481
5488
  };
5482
- Yn(() => me(this, null, function* () {
5489
+ Qn(() => me(this, null, function* () {
5483
5490
  var f;
5484
- return r(13, ae = yield yn()), r(14, M = (f = ae == null ? void 0 : ae[0]) == null ? void 0 : f.value), ne && ne.length === k && r(8, Q = ne.split("")), () => {
5491
+ return r(13, ae = yield wn()), r(14, M = (f = ae == null ? void 0 : ae[0]) == null ? void 0 : f.value), ne && ne.length === k && r(8, J = ne.split("")), () => {
5485
5492
  };
5486
5493
  }));
5487
- function Sn() {
5494
+ function Tn() {
5488
5495
  M = this.value, r(14, M);
5489
5496
  }
5490
- function Tn() {
5491
- j = this.value, r(3, j);
5497
+ function Cn() {
5498
+ z = this.value, r(3, z);
5492
5499
  }
5493
- function Cn(f, y) {
5500
+ function Rn(f, y) {
5494
5501
  vt[f ? "unshift" : "push"](() => {
5495
- q[y] = f, r(19, q);
5502
+ X[y] = f, r(19, X);
5496
5503
  });
5497
5504
  }
5498
- const Rn = (f, y) => Ae(y, f), Ln = (f, y) => le(y, f);
5499
- function Hn(f) {
5505
+ const Ln = (f, y) => Ae(y, f), Hn = (f, y) => le(y, f);
5506
+ function An(f) {
5500
5507
  vt[f ? "unshift" : "push"](() => {
5501
5508
  C = f, r(1, C);
5502
5509
  });
5503
5510
  }
5504
5511
  return e.$$set = (f) => {
5505
- "clientstyling" in f && r(33, c = f.clientstyling), "clientstylingurl" in f && r(34, h = f.clientstylingurl), "translationurl" in f && r(35, g = f.translationurl), "mbsource" in f && r(36, b = f.mbsource), "phoneregex" in f && r(37, w = f.phoneregex), "phoneprefixeditable" in f && r(0, P = f.phoneprefixeditable), "smscodelength" in f && r(38, S = f.smscodelength), "smscodemaxattempts" in f && r(39, E = f.smscodemaxattempts), "smscodettl" in f && r(40, _ = f.smscodettl), "resenddelay" in f && r(41, H = f.resenddelay), "endpoint" in f && r(42, T = f.endpoint), "lang" in f && r(43, D = f.lang);
5512
+ "clientstyling" in f && r(33, c = f.clientstyling), "clientstylingurl" in f && r(34, h = f.clientstylingurl), "translationurl" in f && r(35, g = f.translationurl), "mbsource" in f && r(36, b = f.mbsource), "phoneregex" in f && r(37, w = f.phoneregex), "phoneprefixeditable" in f && r(0, P = f.phoneprefixeditable), "smscodelength" in f && r(38, S = f.smscodelength), "smscodemaxattempts" in f && r(39, E = f.smscodemaxattempts), "smscodettl" in f && r(40, _ = f.smscodettl), "resenddelay" in f && r(41, H = f.resenddelay), "endpoint" in f && r(42, T = f.endpoint), "lang" in f && r(43, F = f.lang);
5506
5513
  }, e.$$.update = () => {
5507
5514
  e.$$.dirty[0] & /*customStylingContainer*/
5508
5515
  2 | e.$$.dirty[1] & /*clientstyling*/
5509
- 4 && c && C && ns(C, c), e.$$.dirty[0] & /*customStylingContainer*/
5516
+ 4 && c && C && is(C, c), e.$$.dirty[0] & /*customStylingContainer*/
5510
5517
  2 | e.$$.dirty[1] & /*clientstylingurl*/
5511
- 8 && h && C && is(C, h), e.$$.dirty[0] & /*customStylingContainer*/
5518
+ 8 && h && C && os(C, h), e.$$.dirty[0] & /*customStylingContainer*/
5512
5519
  2 | e.$$.dirty[1] & /*mbsource*/
5513
- 32 && b && C && os(C, `${b}.Style`), e.$$.dirty[1] & /*lang*/
5514
- 4096 && D && En(), e.$$.dirty[1] & /*translationurl*/
5515
- 16 && g && xn(g), e.$$.dirty[0] & /*expiresAt, now*/
5520
+ 32 && b && C && ss(C, `${b}.Style`), e.$$.dirty[1] & /*lang*/
5521
+ 4096 && F && Sn(), e.$$.dirty[1] & /*translationurl*/
5522
+ 16 && g && En(g), e.$$.dirty[0] & /*expiresAt, now*/
5516
5523
  160 && r(9, n = ye ? Math.max(0, Math.ceil((ye - de) / 1e3)) : 0), e.$$.dirty[0] & /*canResendAt, now*/
5517
5524
  192 && r(21, i = we ? Math.max(0, Math.ceil((we - de) / 1e3)) : 0), e.$$.dirty[0] & /*expiresAt, remainingSeconds*/
5518
5525
  544 && r(44, o = !!ye && n === 0), e.$$.dirty[0] & /*step, phone, $_*/
5519
- 1036 && r(15, U = L === "phone" && j ? Y(j) ? "" : u("invalidPhone") : ""), e.$$.dirty[0] & /*codeDigits*/
5520
- 256 && r(46, s = Q.join("")), e.$$.dirty[0] & /*codeDigits*/
5521
- 256 && r(47, a = Q.every((f) => /^\d$/.test(f))), e.$$.dirty[1] & /*isCodeFilled, codeCombined*/
5526
+ 1036 && r(15, U = L === "phone" && z ? Q(z) ? "" : u("invalidPhone") : ""), e.$$.dirty[0] & /*codeDigits*/
5527
+ 256 && r(46, s = J.join("")), e.$$.dirty[0] & /*codeDigits*/
5528
+ 256 && r(47, a = J.every((f) => /^\d$/.test(f))), e.$$.dirty[1] & /*isCodeFilled, codeCombined*/
5522
5529
  98304 && r(45, d = a && s.length === k), e.$$.dirty[0] & /*codeDigits*/
5523
- 256 && (ne = Q.join("")), e.$$.dirty[0] & /*attemptsRemaining*/
5530
+ 256 && (ne = J.join("")), e.$$.dirty[0] & /*attemptsRemaining*/
5524
5531
  16 | e.$$.dirty[1] & /*isCodeValid, isTokenExpired*/
5525
5532
  24576 && r(20, l = !d || o || pe <= 0);
5526
5533
  }, [
5527
5534
  P,
5528
5535
  C,
5529
5536
  L,
5530
- j,
5537
+ z,
5531
5538
  pe,
5532
5539
  ye,
5533
5540
  we,
5534
5541
  de,
5535
- Q,
5542
+ J,
5536
5543
  n,
5537
5544
  u,
5538
5545
  B,
5539
- W,
5546
+ Z,
5540
5547
  ae,
5541
5548
  M,
5542
5549
  U,
5543
5550
  I,
5544
- ee,
5545
- Se,
5546
5551
  q,
5552
+ Se,
5553
+ X,
5547
5554
  l,
5548
5555
  i,
5549
5556
  ge,
@@ -5553,10 +5560,10 @@ function ms(e, t, r) {
5553
5560
  k,
5554
5561
  Ae,
5555
5562
  le,
5556
- wn,
5557
- rr,
5558
5563
  _n,
5564
+ nr,
5559
5565
  Pn,
5566
+ xn,
5560
5567
  c,
5561
5568
  h,
5562
5569
  g,
@@ -5567,27 +5574,27 @@ function ms(e, t, r) {
5567
5574
  _,
5568
5575
  H,
5569
5576
  T,
5570
- D,
5577
+ F,
5571
5578
  o,
5572
5579
  d,
5573
5580
  s,
5574
5581
  a,
5575
- Sn,
5576
5582
  Tn,
5577
5583
  Cn,
5578
5584
  Rn,
5579
5585
  Ln,
5580
- Hn
5586
+ Hn,
5587
+ An
5581
5588
  ];
5582
5589
  }
5583
- class bs extends li {
5590
+ class gs extends ui {
5584
5591
  constructor(t) {
5585
- super(), si(
5592
+ super(), ai(
5586
5593
  this,
5587
5594
  t,
5588
- ms,
5589
- hs,
5590
- Fr,
5595
+ bs,
5596
+ ps,
5597
+ jr,
5591
5598
  {
5592
5599
  clientstyling: 33,
5593
5600
  clientstylingurl: 34,
@@ -5602,7 +5609,7 @@ class bs extends li {
5602
5609
  endpoint: 42,
5603
5610
  lang: 43
5604
5611
  },
5605
- ls,
5612
+ us,
5606
5613
  [-1, -1, -1]
5607
5614
  );
5608
5615
  }
@@ -5679,7 +5686,7 @@ class bs extends li {
5679
5686
  this.$$set({ lang: t }), se();
5680
5687
  }
5681
5688
  }
5682
- ai(bs, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, phoneregex: {}, phoneprefixeditable: {}, smscodelength: {}, smscodemaxattempts: {}, smscodettl: {}, resenddelay: {}, endpoint: {}, lang: {} }, [], [], !0);
5689
+ li(gs, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {}, phoneregex: {}, phoneprefixeditable: {}, smscodelength: {}, smscodemaxattempts: {}, smscodettl: {}, resenddelay: {}, endpoint: {}, lang: {} }, [], [], !0);
5683
5690
  export {
5684
- bs as default
5691
+ gs as default
5685
5692
  };