@everymatrix/player-change-password 1.85.16 → 1.85.18

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.
@@ -489,6 +489,8 @@ function Hn(e, t) {
489
489
  }
490
490
  }
491
491
  function In(e, t) {
492
+ if (!e || !t)
493
+ return;
492
494
  const r = new URL(t);
493
495
  fetch(r.href).then((n) => n.text()).then((n) => {
494
496
  const s = document.createElement("style");
@@ -803,14 +805,14 @@ var kn = {
803
805
  next: Qt,
804
806
  error: Fn,
805
807
  complete: Qt
806
- }, Un = function() {
808
+ }, Dn = function() {
807
809
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
808
810
  }();
809
- function Dn(e) {
811
+ function Un(e) {
810
812
  return e;
811
813
  }
812
814
  function $n(e) {
813
- return e.length === 0 ? Dn : e.length === 1 ? e[0] : function(r) {
815
+ return e.length === 0 ? Un : e.length === 1 ? e[0] : function(r) {
814
816
  return e.reduce(function(n, s) {
815
817
  return s(n);
816
818
  }, r);
@@ -854,7 +856,7 @@ var Jt = function() {
854
856
  }, e.prototype._subscribe = function(t) {
855
857
  var r;
856
858
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
857
- }, e.prototype[Un] = function() {
859
+ }, e.prototype[Dn] = function() {
858
860
  return this;
859
861
  }, e.prototype.pipe = function() {
860
862
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -1297,10 +1299,10 @@ function kr(e) {
1297
1299
  function vs(e) {
1298
1300
  return e.type === L.pound;
1299
1301
  }
1300
- function Ur(e) {
1302
+ function Dr(e) {
1301
1303
  return e.type === L.tag;
1302
1304
  }
1303
- function Dr(e) {
1305
+ function Ur(e) {
1304
1306
  return !!(e && typeof e == "object" && e.type === Ie.number);
1305
1307
  }
1306
1308
  function Nt(e) {
@@ -3076,12 +3078,12 @@ var _t, Hs = new RegExp("^".concat($r.source, "*")), Is = new RegExp("".concat($
3076
3078
  function T(e, t) {
3077
3079
  return { start: e, end: t };
3078
3080
  }
3079
- var Ms = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ns = !!String.fromCodePoint, Os = !!Object.fromEntries, Rs = !!String.prototype.codePointAt, Ls = !!String.prototype.trimStart, Fs = !!String.prototype.trimEnd, ks = !!Number.isSafeInteger, Us = ks ? Number.isSafeInteger : function(e) {
3081
+ var Ms = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ns = !!String.fromCodePoint, Os = !!Object.fromEntries, Rs = !!String.prototype.codePointAt, Ls = !!String.prototype.trimStart, Fs = !!String.prototype.trimEnd, ks = !!Number.isSafeInteger, Ds = ks ? Number.isSafeInteger : function(e) {
3080
3082
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3081
3083
  }, Ot = !0;
3082
3084
  try {
3083
- var Ds = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3084
- Ot = ((_t = Ds.exec("a")) === null || _t === void 0 ? void 0 : _t[0]) === "a";
3085
+ var Us = Wr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3086
+ Ot = ((_t = Us.exec("a")) === null || _t === void 0 ? void 0 : _t[0]) === "a";
3085
3087
  } catch (e) {
3086
3088
  Ot = !1;
3087
3089
  }
@@ -3426,17 +3428,17 @@ var js = (
3426
3428
  if (this.bumpSpace(), !this.bumpIf(","))
3427
3429
  return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, T(R, at({}, R)));
3428
3430
  this.bumpSpace();
3429
- var U = this.parseIdentifierIfPossible(), D = 0;
3430
- if (l !== "select" && U.value === "offset") {
3431
+ var D = this.parseIdentifierIfPossible(), U = 0;
3432
+ if (l !== "select" && D.value === "offset") {
3431
3433
  if (!this.bumpIf(":"))
3432
3434
  return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
3433
3435
  this.bumpSpace();
3434
3436
  var f = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3435
3437
  if (f.err)
3436
3438
  return f;
3437
- this.bumpSpace(), U = this.parseIdentifierIfPossible(), D = f.val;
3439
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), U = f.val;
3438
3440
  }
3439
- var O = this.tryParsePluralOrSelectOptions(t, l, r, U);
3441
+ var O = this.tryParsePluralOrSelectOptions(t, l, r, D);
3440
3442
  if (O.err)
3441
3443
  return O;
3442
3444
  var v = this.tryParseArgumentClose(s);
@@ -3456,7 +3458,7 @@ var js = (
3456
3458
  type: L.plural,
3457
3459
  value: n,
3458
3460
  options: lr(O.val),
3459
- offset: D,
3461
+ offset: U,
3460
3462
  pluralType: l === "plural" ? "cardinal" : "ordinal",
3461
3463
  location: X
3462
3464
  },
@@ -3563,7 +3565,7 @@ var js = (
3563
3565
  break;
3564
3566
  }
3565
3567
  var u = T(s, this.clonePosition());
3566
- return i ? (a *= n, Us(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3568
+ return i ? (a *= n, Ds(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3567
3569
  }, e.prototype.offset = function() {
3568
3570
  return this.position.offset;
3569
3571
  }, e.prototype.isEOF = function() {
@@ -3650,7 +3652,7 @@ function kt(e) {
3650
3652
  for (var r in t.options)
3651
3653
  delete t.options[r].location, kt(t.options[r].value);
3652
3654
  else
3653
- Or(t) && Dr(t.style) || (Rr(t) || Lr(t)) && Nt(t.style) ? delete t.style.location : Ur(t) && kt(t.children);
3655
+ Or(t) && Ur(t.style) || (Rr(t) || Lr(t)) && Nt(t.style) ? delete t.style.location : Dr(t) && kt(t.children);
3654
3656
  });
3655
3657
  }
3656
3658
  function Xs(e, t) {
@@ -3770,24 +3772,24 @@ function st(e, t, r, n, s, i, a) {
3770
3772
  continue;
3771
3773
  }
3772
3774
  if (Or(c)) {
3773
- var m = typeof c.style == "string" ? n.number[c.style] : Dr(c.style) ? c.style.parsedOptions : void 0;
3775
+ var m = typeof c.style == "string" ? n.number[c.style] : Ur(c.style) ? c.style.parsedOptions : void 0;
3774
3776
  m && m.scale && (p = p * (m.scale || 1)), l.push({
3775
3777
  type: W.literal,
3776
3778
  value: r.getNumberFormat(t, m).format(p)
3777
3779
  });
3778
3780
  continue;
3779
3781
  }
3780
- if (Ur(c)) {
3782
+ if (Dr(c)) {
3781
3783
  var v = c.children, w = c.value, C = s[w];
3782
3784
  if (!Js(C))
3783
3785
  throw new Zs(w, "function", a);
3784
- var y = st(v, t, r, n, s, i), S = C(y.map(function(D) {
3785
- return D.value;
3786
+ var y = st(v, t, r, n, s, i), S = C(y.map(function(U) {
3787
+ return U.value;
3786
3788
  }));
3787
- Array.isArray(S) || (S = [S]), l.push.apply(l, S.map(function(D) {
3789
+ Array.isArray(S) || (S = [S]), l.push.apply(l, S.map(function(U) {
3788
3790
  return {
3789
- type: typeof D == "string" ? W.literal : W.object,
3790
- value: D
3791
+ type: typeof U == "string" ? W.literal : W.object,
3792
+ value: U
3791
3793
  };
3792
3794
  }));
3793
3795
  }
@@ -3805,8 +3807,8 @@ function st(e, t, r, n, s, i, a) {
3805
3807
  throw new ft(`Intl.PluralRules is not available in this environment.
3806
3808
  Try polyfilling it using "@formatjs/intl-pluralrules"
3807
3809
  `, Me.MISSING_INTL_API, a);
3808
- var U = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3809
- R = c.options[U] || c.options.other;
3810
+ var D = r.getPluralRules(t, { type: c.pluralType }).select(p - (c.offset || 0));
3811
+ R = c.options[D] || c.options.other;
3810
3812
  }
3811
3813
  if (!R)
3812
3814
  throw new hr(c.value, p, Object.keys(c.options), a);
@@ -4062,7 +4064,7 @@ function li(e) {
4062
4064
  return [t, r ? [...r] : []];
4063
4065
  }).filter(([, t]) => t.length > 0);
4064
4066
  }
4065
- function Ut(e) {
4067
+ function Dt(e) {
4066
4068
  return e == null ? !1 : dt(e).some(
4067
4069
  (t) => {
4068
4070
  var r;
@@ -4077,7 +4079,7 @@ function ui(e, t) {
4077
4079
  }
4078
4080
  const Ge = {};
4079
4081
  function qr(e) {
4080
- if (!Ut(e))
4082
+ if (!Dt(e))
4081
4083
  return e in Ge ? Ge[e] : Promise.resolve();
4082
4084
  const t = li(e);
4083
4085
  return Ge[e] = Promise.all(
@@ -4085,7 +4087,7 @@ function qr(e) {
4085
4087
  ([r, n]) => ui(r, n)
4086
4088
  )
4087
4089
  ).then(() => {
4088
- if (Ut(e))
4090
+ if (Dt(e))
4089
4091
  return qr(e);
4090
4092
  delete Ge[e];
4091
4093
  }), Ge[e];
@@ -4139,7 +4141,7 @@ var di = Object.defineProperty, pi = Object.defineProperties, mi = Object.getOwn
4139
4141
  bi.call(t, r) && fr(e, r, t[r]);
4140
4142
  return e;
4141
4143
  }, vi = (e, t) => pi(e, mi(t));
4142
- let Dt;
4144
+ let Ut;
4143
4145
  const ot = ht(null);
4144
4146
  function dr(e) {
4145
4147
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
@@ -4149,13 +4151,13 @@ function dt(e, t = Ne().fallbackLocale) {
4149
4151
  return t ? [.../* @__PURE__ */ new Set([...r, ...dr(t)])] : r;
4150
4152
  }
4151
4153
  function ge() {
4152
- return Dt != null ? Dt : void 0;
4154
+ return Ut != null ? Ut : void 0;
4153
4155
  }
4154
4156
  ot.subscribe((e) => {
4155
- Dt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4157
+ Ut = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4156
4158
  });
4157
4159
  const yi = (e) => {
4158
- if (e && ai(e) && Ut(e)) {
4160
+ if (e && ai(e) && Dt(e)) {
4159
4161
  const { loadingDelay: t } = Ne();
4160
4162
  let r;
4161
4163
  return typeof window != "undefined" && ge() != null && t ? r = window.setTimeout(
@@ -4286,6 +4288,7 @@ Re([Le], () => Mi);
4286
4288
  Re([Le, Ze], () => Ni);
4287
4289
  window.emWidgets = { topic: Wn };
4288
4290
  const Ri = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4291
+ String(Number.MAX_SAFE_INTEGER).length;
4289
4292
  function mr(e, t) {
4290
4293
  Qr(e, t);
4291
4294
  }
@@ -4484,7 +4487,7 @@ function ki(e) {
4484
4487
  function r(i, a) {
4485
4488
  return (
4486
4489
  /*passwordChanged*/
4487
- i[2] ? Ui : Di
4490
+ i[2] ? Di : Ui
4488
4491
  );
4489
4492
  }
4490
4493
  let n = r(e), s = n(e);
@@ -4504,7 +4507,7 @@ function ki(e) {
4504
4507
  }
4505
4508
  };
4506
4509
  }
4507
- function Ui(e) {
4510
+ function Di(e) {
4508
4511
  let t, r, n, s = (
4509
4512
  /*$_*/
4510
4513
  e[19]("changePasswordText") + ""
@@ -4514,7 +4517,7 @@ function Ui(e) {
4514
4517
  ), v, w, C, y = (
4515
4518
  /*$_*/
4516
4519
  e[19]("passwordResetConfirmation") + ""
4517
- ), S, R, U, D = (
4520
+ ), S, R, D, U = (
4518
4521
  /*$_*/
4519
4522
  e[19]("backButtonText") + ""
4520
4523
  ), O, X, te, G = (
@@ -4523,11 +4526,11 @@ function Ui(e) {
4523
4526
  );
4524
4527
  return {
4525
4528
  c() {
4526
- G && G.c(), t = k(), r = _("div"), n = _("h3"), i = I(s), a = k(), l = _("div"), u = _("div"), h = _("div"), h.innerHTML = '<div class="Checkmark"></div>', c = k(), f = _("div"), p = _("h3"), v = I(m), w = k(), C = _("p"), S = I(y), R = k(), U = _("div"), O = I(D), o(r, "class", "PlayerChangePasswordHeader"), o(h, "class", "IconContainer"), o(f, "class", "TextContainer"), o(u, "class", "SuccessWrapper"), o(U, "class", "PlayerChangePasswordBackButton"), o(l, "class", "ChangedPasswordSuccessfully");
4529
+ G && G.c(), t = k(), r = _("div"), n = _("h3"), i = I(s), a = k(), l = _("div"), u = _("div"), h = _("div"), h.innerHTML = '<div class="Checkmark"></div>', c = k(), f = _("div"), p = _("h3"), v = I(m), w = k(), C = _("p"), S = I(y), R = k(), D = _("div"), O = I(U), o(r, "class", "PlayerChangePasswordHeader"), o(h, "class", "IconContainer"), o(f, "class", "TextContainer"), o(u, "class", "SuccessWrapper"), o(D, "class", "PlayerChangePasswordBackButton"), o(l, "class", "ChangedPasswordSuccessfully");
4527
4530
  },
4528
4531
  m(M, x) {
4529
- G && G.m(M, x), A(M, t, x), A(M, r, x), d(r, n), d(n, i), A(M, a, x), A(M, l, x), d(l, u), d(u, h), d(u, c), d(u, f), d(f, p), d(p, v), d(f, w), d(f, C), d(C, S), d(l, R), d(l, U), d(U, O), X || (te = z(
4530
- U,
4532
+ G && G.m(M, x), A(M, t, x), A(M, r, x), d(r, n), d(n, i), A(M, a, x), A(M, l, x), d(l, u), d(u, h), d(u, c), d(u, f), d(f, p), d(p, v), d(f, w), d(f, C), d(C, S), d(l, R), d(l, D), d(D, O), X || (te = z(
4533
+ D,
4531
4534
  "click",
4532
4535
  /*click_handler_9*/
4533
4536
  e[47]
@@ -4542,15 +4545,15 @@ function Ui(e) {
4542
4545
  M[19]("passwordReset") + "") && $(v, m), x[0] & /*$_*/
4543
4546
  524288 && y !== (y = /*$_*/
4544
4547
  M[19]("passwordResetConfirmation") + "") && $(S, y), x[0] & /*$_*/
4545
- 524288 && D !== (D = /*$_*/
4546
- M[19]("backButtonText") + "") && $(O, D);
4548
+ 524288 && U !== (U = /*$_*/
4549
+ M[19]("backButtonText") + "") && $(O, U);
4547
4550
  },
4548
4551
  d(M) {
4549
4552
  M && (B(t), B(r), B(a), B(l)), G && G.d(M), X = !1, te();
4550
4553
  }
4551
4554
  };
4552
4555
  }
4553
- function Di(e) {
4556
+ function Ui(e) {
4554
4557
  let t, r, n = (
4555
4558
  /*$_*/
4556
4559
  e[19]("titleChangePassword") + ""
@@ -4560,13 +4563,13 @@ function Di(e) {
4560
4563
  ), c, f, p, m, v, w, C, y, S, R = (
4561
4564
  /*$_*/
4562
4565
  e[19]("newPassword") + ""
4563
- ), U, D, O, X, te, G, M, x, Z, fe = (
4566
+ ), D, U, O, X, te, G, M, x, Z, fe = (
4564
4567
  /*$_*/
4565
4568
  e[19]("confirmPassword") + ""
4566
- ), be, ke, Y, ne, Ue, we, le, de, ue, Q, pe = (
4569
+ ), be, ke, Y, ne, De, we, le, de, ue, Q, pe = (
4567
4570
  /*$_*/
4568
4571
  e[19]("submitChangePassword") + ""
4569
- ), De, me, ve, $e, Ye, ie = (
4572
+ ), Ue, me, ve, $e, Ye, ie = (
4570
4573
  /*isMobile*/
4571
4574
  e[20] && Gi(e)
4572
4575
  );
@@ -4615,7 +4618,7 @@ function Di(e) {
4615
4618
  );
4616
4619
  return {
4617
4620
  c() {
4618
- ie && ie.c(), t = k(), r = _("h2"), s = I(n), i = k(), a = _("section"), l = _("div"), u = _("label"), c = I(h), f = k(), p = _("input"), m = k(), J.c(), v = k(), j && j.c(), C = k(), y = _("div"), S = _("label"), U = I(R), D = k(), O = _("input"), X = k(), q.c(), te = k(), V && V.c(), M = k(), x = _("div"), Z = _("label"), be = I(fe), ke = k(), Y = _("input"), ne = k(), K.c(), Ue = k(), b && b.c(), le = k(), N && N.c(), de = k(), ue = _("section"), Q = _("button"), De = I(pe), o(r, "class", "ChangePasswordTitle " + /*isMobile*/
4621
+ ie && ie.c(), t = k(), r = _("h2"), s = I(n), i = k(), a = _("section"), l = _("div"), u = _("label"), c = I(h), f = k(), p = _("input"), m = k(), J.c(), v = k(), j && j.c(), C = k(), y = _("div"), S = _("label"), D = I(R), U = k(), O = _("input"), X = k(), q.c(), te = k(), V && V.c(), M = k(), x = _("div"), Z = _("label"), be = I(fe), ke = k(), Y = _("input"), ne = k(), K.c(), De = k(), b && b.c(), le = k(), N && N.c(), de = k(), ue = _("section"), Q = _("button"), Ue = I(pe), o(r, "class", "ChangePasswordTitle " + /*isMobile*/
4619
4622
  (e[20] ? "ChangePasswordTitleNone" : "")), o(u, "for", "CurrentPassword"), o(p, "id", "CurrentPassword"), o(p, "type", "password"), o(l, "class", w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
4620
4623
  (e[4] ? "InvalidField" : "")), o(S, "for", "NewPassword"), o(O, "id", "NewPassword"), o(O, "autocomplete", "new-password"), o(O, "type", "password"), o(y, "class", G = "PlayerChangePasswordBox " + /*invalidNewPassword*/
4621
4624
  (e[5] ? "InvalidField" : "")), o(Z, "for", "ConfirmPassword"), o(Y, "id", "ConfirmPassword"), o(Y, "type", "password"), o(x, "class", we = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
@@ -4628,7 +4631,7 @@ function Di(e) {
4628
4631
  p,
4629
4632
  /*userCurrentPassword*/
4630
4633
  e[14]
4631
- ), e[34](p), d(l, m), J.m(l, null), d(l, v), j && j.m(l, null), d(a, C), d(a, y), d(y, S), d(S, U), d(y, D), d(y, O), Ee(
4634
+ ), e[34](p), d(l, m), J.m(l, null), d(l, v), j && j.m(l, null), d(a, C), d(a, y), d(y, S), d(S, D), d(y, U), d(y, O), Ee(
4632
4635
  O,
4633
4636
  /*userNewPassword*/
4634
4637
  e[15]
@@ -4636,7 +4639,7 @@ function Di(e) {
4636
4639
  Y,
4637
4640
  /*userConfirmPassword*/
4638
4641
  e[16]
4639
- ), e[42](Y), d(x, ne), K.m(x, null), d(x, Ue), b && b.m(x, null), A(H, le, P), N && N.m(H, P), A(H, de, P), A(H, ue, P), d(ue, Q), d(Q, De), $e || (Ye = [
4642
+ ), e[42](Y), d(x, ne), K.m(x, null), d(x, De), b && b.m(x, null), A(H, le, P), N && N.m(H, P), A(H, de, P), A(H, ue, P), d(ue, Q), d(Q, Ue), $e || (Ye = [
4640
4643
  z(
4641
4644
  p,
4642
4645
  "input",
@@ -4740,7 +4743,7 @@ function Di(e) {
4740
4743
  16 && w !== (w = "PlayerChangePasswordBox " + /*invalidCurrentPassword*/
4741
4744
  (e[4] ? "InvalidField" : "")) && o(l, "class", w), P[0] & /*$_*/
4742
4745
  524288 && R !== (R = /*$_*/
4743
- e[19]("newPassword") + "") && $(U, R), P[0] & /*userNewPassword*/
4746
+ e[19]("newPassword") + "") && $(D, R), P[0] & /*userNewPassword*/
4744
4747
  32768 && O.value !== /*userNewPassword*/
4745
4748
  e[15] && Ee(
4746
4749
  O,
@@ -4756,13 +4759,13 @@ function Di(e) {
4756
4759
  Y,
4757
4760
  /*userConfirmPassword*/
4758
4761
  e[16]
4759
- ), Pe === (Pe = Ke(e)) && K ? K.p(e, P) : (K.d(1), K = Pe(e), K && (K.c(), K.m(x, Ue))), /*invalidConfirmPassword*/
4762
+ ), Pe === (Pe = Ke(e)) && K ? K.p(e, P) : (K.d(1), K = Pe(e), K && (K.c(), K.m(x, De))), /*invalidConfirmPassword*/
4760
4763
  e[6] ? b ? b.p(e, P) : (b = wr(e), b.c(), b.m(x, null)) : b && (b.d(1), b = null), P[0] & /*invalidConfirmPassword*/
4761
4764
  64 && we !== (we = "PlayerChangePasswordBox " + /*invalidConfirmPassword*/
4762
4765
  (e[6] ? "InvalidField" : "")) && o(x, "class", we), /*showErrorPasswordChanged*/
4763
4766
  e[18] ? N ? N.p(e, P) : (N = vr(e), N.c(), N.m(de.parentNode, de)) : N && (N.d(1), N = null), P[0] & /*$_*/
4764
4767
  524288 && pe !== (pe = /*$_*/
4765
- e[19]("submitChangePassword") + "") && $(De, pe), P[0] & /*activateSubmit*/
4768
+ e[19]("submitChangePassword") + "") && $(Ue, pe), P[0] & /*activateSubmit*/
4766
4769
  8 && me !== (me = "PlayerChangePasswordSaveButton " + /*activateSubmit*/
4767
4770
  (e[3] ? "" : "ButtonInactive")) && o(Q, "class", me), P[0] & /*activateSubmit*/
4768
4771
  8 && ve !== (ve = !/*activateSubmit*/
@@ -5227,7 +5230,7 @@ function ra(e, t, r) {
5227
5230
  const w = {
5228
5231
  password: /^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[^\w\s]).{8,20}$/
5229
5232
  };
5230
- let C = !1, y = !1, S = !1, R, U, D, O = !1, X = !1, te = !1, G = !1, M = "", x = "", Z = "", fe = !1, be = "", ke = !1;
5233
+ let C = !1, y = !1, S = !1, R, D, U, O = !1, X = !1, te = !1, G = !1, M = "", x = "", Z = "", fe = !1, be = "", ke = !1;
5231
5234
  const Y = () => {
5232
5235
  fetch(h).then((N) => N.json()).then((N) => {
5233
5236
  Object.keys(N).forEach((H) => {
@@ -5246,13 +5249,13 @@ function ra(e, t, r) {
5246
5249
  r(10, O = !O), r(7, R.type = O ? "text" : "password", R);
5247
5250
  break;
5248
5251
  case "userNewPassword":
5249
- r(11, X = !X), r(8, U.type = X ? "text" : "password", U);
5252
+ r(11, X = !X), r(8, D.type = X ? "text" : "password", D);
5250
5253
  break;
5251
5254
  case "userConfirmPassword":
5252
- r(12, te = !te), r(9, D.type = te ? "text" : "password", D);
5255
+ r(12, te = !te), r(9, U.type = te ? "text" : "password", U);
5253
5256
  break;
5254
5257
  }
5255
- }, Ue = () => {
5258
+ }, De = () => {
5256
5259
  i == "true" && (w.password = /^(?!.* ).{8,20}$/);
5257
5260
  }, we = (b, N, H) => {
5258
5261
  H.id === "CurrentPassword" ? r(4, C = !le(N)) : H.id === "NewPassword" ? (r(5, y = !le(N)), M && r(13, G = M === x), Z && r(6, S = x === Z ? !le(N) : !0)) : r(6, S = x === Z ? !le(N) : !0), de();
@@ -5277,7 +5280,7 @@ function ra(e, t, r) {
5277
5280
  );
5278
5281
  }, pe = () => {
5279
5282
  window.postMessage({ type: "GoToHomepage" }, window.location.href);
5280
- }, De = () => {
5283
+ }, Ue = () => {
5281
5284
  Li(s);
5282
5285
  }, me = (b) => {
5283
5286
  if (b.data)
@@ -5308,7 +5311,7 @@ function ra(e, t, r) {
5308
5311
  }
5309
5312
  function J(b) {
5310
5313
  Se[b ? "unshift" : "push"](() => {
5311
- U = b, r(8, U);
5314
+ D = b, r(8, D);
5312
5315
  });
5313
5316
  }
5314
5317
  const j = () => ne("userNewPassword"), Je = () => ne("userNewPassword");
@@ -5317,7 +5320,7 @@ function ra(e, t, r) {
5317
5320
  }
5318
5321
  function q(b) {
5319
5322
  Se[b ? "unshift" : "push"](() => {
5320
- D = b, r(9, D);
5323
+ U = b, r(9, U);
5321
5324
  });
5322
5325
  }
5323
5326
  const qe = () => ne("userConfirmPassword"), he = () => ne("userConfirmPassword"), V = (b) => ue(b), Ke = () => Q(), Pe = () => pe();
@@ -5330,9 +5333,9 @@ function ra(e, t, r) {
5330
5333
  "lang" in b && r(26, s = b.lang), "simplepasswordvalidation" in b && r(0, i = b.simplepasswordvalidation), "clientstyling" in b && r(27, a = b.clientstyling), "clientstylingurl" in b && r(28, l = b.clientstylingurl), "mbsource" in b && r(29, u = b.mbsource), "translationurl" in b && r(30, h = b.translationurl), "passwordregex" in b && r(31, c = b.passwordregex);
5331
5334
  }, e.$$.update = () => {
5332
5335
  e.$$.dirty[0] & /*simplepasswordvalidation*/
5333
- 1 && i && Ue(), e.$$.dirty[1] & /*passwordregex*/
5336
+ 1 && i && De(), e.$$.dirty[1] & /*passwordregex*/
5334
5337
  1 && c && (w.password = new RegExp(c)), e.$$.dirty[0] & /*lang*/
5335
- 67108864 && s && De(), e.$$.dirty[0] & /*passwordChanged*/
5338
+ 67108864 && s && Ue(), e.$$.dirty[0] & /*passwordChanged*/
5336
5339
  4, e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5337
5340
  134217730 && a && f && Hn(f, a), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5338
5341
  268435458 && l && f && In(f, l), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
@@ -5347,8 +5350,8 @@ function ra(e, t, r) {
5347
5350
  y,
5348
5351
  S,
5349
5352
  R,
5350
- U,
5351
5353
  D,
5354
+ U,
5352
5355
  O,
5353
5356
  X,
5354
5357
  te,